portal-aiatende-api 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -655,6 +655,11 @@ interface UpdateContactPayload {
655
655
  * chaves sem definição são preservadas sem validação.
656
656
  */
657
657
  customFields?: Record<string, unknown>;
658
+ /**
659
+ * Vínculo com o lead da Kommo — fonte única de verdade (ver Contact.kommoLeadId no Portal).
660
+ * `null` limpa o vínculo (ex.: self-healing após 404 da Kommo).
661
+ */
662
+ kommoLeadId?: number | null;
658
663
  }
659
664
 
660
665
  /**
package/dist/index.d.ts CHANGED
@@ -655,6 +655,11 @@ interface UpdateContactPayload {
655
655
  * chaves sem definição são preservadas sem validação.
656
656
  */
657
657
  customFields?: Record<string, unknown>;
658
+ /**
659
+ * Vínculo com o lead da Kommo — fonte única de verdade (ver Contact.kommoLeadId no Portal).
660
+ * `null` limpa o vínculo (ex.: self-healing após 404 da Kommo).
661
+ */
662
+ kommoLeadId?: number | null;
658
663
  }
659
664
 
660
665
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "portal-aiatende-api",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Cliente TypeScript tipado para a API interna do Portal AI Atende.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",