{"id":47018766,"url":"https://github.com/chetodb/ts-business-central","last_synced_at":"2026-03-11T22:01:03.660Z","repository":{"id":341687462,"uuid":"1155412148","full_name":"chetodb/ts-business-central","owner":"chetodb","description":"Modern, resilient, and type-safe TypeScript SDK for Microsoft Dynamics 365 Business Central. Includes OData fluent builder, automatic key rotation, and NestJS integration.","archived":false,"fork":false,"pushed_at":"2026-03-10T22:44:09.000Z","size":161,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-11T03:57:41.363Z","etag":null,"topics":["api-client-typescript","business-central","dynamics-365","microsoft-dynamics-365","monorepo","nestjs-library","odata","pnpm-workspace","resilience","rest-api","sdk-typescript","type-safety","typescript","typescript-library"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chetodb.png","metadata":{"files":{"readme":"README.es.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-11T13:40:23.000Z","updated_at":"2026-03-10T22:39:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/chetodb/ts-business-central","commit_stats":null,"previous_names":["chetodb/ts-business-central"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/chetodb/ts-business-central","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chetodb%2Fts-business-central","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chetodb%2Fts-business-central/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chetodb%2Fts-business-central/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chetodb%2Fts-business-central/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chetodb","download_url":"https://codeload.github.com/chetodb/ts-business-central/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chetodb%2Fts-business-central/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30404046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T21:51:19.558Z","status":"ssl_error","status_checked_at":"2026-03-11T21:50:57.892Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client-typescript","business-central","dynamics-365","microsoft-dynamics-365","monorepo","nestjs-library","odata","pnpm-workspace","resilience","rest-api","sdk-typescript","type-safety","typescript","typescript-library"],"created_at":"2026-03-11T22:00:26.849Z","updated_at":"2026-03-11T22:01:03.653Z","avatar_url":"https://github.com/chetodb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TS Business Central (Español)\n\n[![code style: biome](https://img.shields.io/badge/code_style-biome-FFBD2D.svg)](https://biomejs.dev)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Node.js Version](https://img.shields.io/badge/node-%3E%3D20.0.0-brightgreen.svg)](https://nodejs.org)\n\n**El toolkit de TypeScript para integraciones con Microsoft Dynamics 365 Business Central.**\n\n[English (README.md)](./README.md)\n\n---\n\n## 🌟 Visión General\n\n`ts-business-central` es un monorepo profesional que contiene un conjunto de librerías diseñadas para que las integraciones con Business Central sean fiables, seguras (type-safe) y fáciles de mantener.\n\n### 📦 Paquetes Incluidos\n\n| Paquete | Versión | Descripción |\n| --- | --- | --- |\n| [**`@chetodb/business-central`**](./packages/core) | ![NPM](https://img.shields.io/npm/v/@chetodb/business-central?color=blue) | **Core SDK**: Resiliencia, Rotación de Claves y CRUD OData. |\n| [**`@chetodb/nestjs-business-central`**](./packages/nestjs) | ![NPM](https://img.shields.io/npm/v/@chetodb/nestjs-business-central?color=green) | **Módulo NestJS**: Integración nativa con el framework. |\n\n---\n\n## 🚀 Empezando\n\nPuedes elegir instalar el Core SDK independiente o el módulo nativo de NestJS dependiendo de tu arquitectura.\n\n### � Opción 2: Core SDK (Independiente)\n\n```bash\npnpm add @chetodb/business-central\n```\n\nPerfecto para Vanilla Node.js, Express, o cualquier entorno TypeScript.\n\n```ts\nimport { BusinessCentralClient } from '@chetodb/business-central';\n\nconst client = new BusinessCentralClient({\n  tenantId: 'tu-tenant-id',\n  companyName: 'CRONUS',\n  azureKeys: [{ name: 'principal', clientId: '...', clientSecret: '...' }]\n});\n\nconst customers = await client.get('customers', { top: 5 });\n```\n\n### 🔌 Opción 1: Módulo NestJS\n\n```bash\npnpm add @chetodb/nestjs-business-central\n```\n\nSimplemente importa el `BusinessCentralModule` en tu `AppModule` e inyecta el cliente nativamente en tus servicios.\n\n```ts\nimport { BusinessCentralModule } from '@chetodb/nestjs-business-central';\n\n@Module({\n  imports: [\n    BusinessCentralModule.forRoot({\n      isGlobal: true,\n      tenantId: 'tu-tenant-id',\n      companyName: 'CRONUS',\n      azureKeys: [{ name: 'primary', clientId: '...', clientSecret: '...' }]\n    }),\n  ]\n})\nexport class AppModule {}\n```\n\n\u003e 👉 [Ver documentación completa de NestJS aquí](./packages/nestjs/README.es.md)\n\n---\n\n## 🧪 Desarrollo y Monorepo\n\nEste proyecto utiliza workspaces de `pnpm` para una gestión eficiente.\n\n```bash\n# Instalar todas las dependencias\npnpm install\n\n# Construir todos los paquetes\npnpm build\n\n# Ejecutar tests en todo el monorepo\npnpm test\n```\n\n---\n\n## 🤝 Contribución y Gobernanza\n\n¡Las contribuciones son bienvenidas! Consulta nuestra [Guía de Contribución](./CONTRIBUTING.md) para más detalles sobre nuestro código de conducta y el proceso para enviar pull requests.\n\n- **Licencia**: [MIT](./LICENSE) © 2026 David Cheto (ChetoDB)\n- **Estado**: Desarrollo activo 🏗️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchetodb%2Fts-business-central","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchetodb%2Fts-business-central","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchetodb%2Fts-business-central/lists"}