portal-aiatende-api 0.15.0 → 0.15.2

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
@@ -43,6 +43,11 @@ interface Client {
43
43
  predictedDeliveryDate: Date;
44
44
  kommoConfig: KommoConfig;
45
45
  aiConfig: AiConfig;
46
+ /** CRM do cliente: `ATENDEOS` grava no CRM do AtendeOS; sem registro, é o Kommo. */
47
+ crmConfig?: {
48
+ provedor: 'KOMMO' | 'ATENDEOS';
49
+ ativo: boolean;
50
+ } | null;
46
51
  createdAt: Date;
47
52
  updatedAt: Date;
48
53
  [key: string]: any;
@@ -384,6 +389,8 @@ interface MessagingContact {
384
389
  displayName: string | null;
385
390
  displayNameSetByName: string | null;
386
391
  displayNameSetAt: Date | string | null;
392
+ /** Grupo já existente do WhatsApp (só WhatsApp Lite). `false` quando o Contact não foi resolvido. */
393
+ isGroup?: boolean;
387
394
  }
388
395
  interface MessagingPhoneNumber {
389
396
  id: string;
package/dist/index.d.ts CHANGED
@@ -43,6 +43,11 @@ interface Client {
43
43
  predictedDeliveryDate: Date;
44
44
  kommoConfig: KommoConfig;
45
45
  aiConfig: AiConfig;
46
+ /** CRM do cliente: `ATENDEOS` grava no CRM do AtendeOS; sem registro, é o Kommo. */
47
+ crmConfig?: {
48
+ provedor: 'KOMMO' | 'ATENDEOS';
49
+ ativo: boolean;
50
+ } | null;
46
51
  createdAt: Date;
47
52
  updatedAt: Date;
48
53
  [key: string]: any;
@@ -384,6 +389,8 @@ interface MessagingContact {
384
389
  displayName: string | null;
385
390
  displayNameSetByName: string | null;
386
391
  displayNameSetAt: Date | string | null;
392
+ /** Grupo já existente do WhatsApp (só WhatsApp Lite). `false` quando o Contact não foi resolvido. */
393
+ isGroup?: boolean;
387
394
  }
388
395
  interface MessagingPhoneNumber {
389
396
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "portal-aiatende-api",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
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",