portal-aiatende-api 0.4.0 → 0.5.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 +9 -0
- package/dist/index.d.ts +9 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -379,6 +379,13 @@ interface MessagingConversation {
|
|
|
379
379
|
aiCareStatusSetByName: string | null;
|
|
380
380
|
/** Só presente na resposta do GET de detalhe (não na listagem). */
|
|
381
381
|
aiResumeMode?: AiResumeMode | null;
|
|
382
|
+
/**
|
|
383
|
+
* Lead da Kommo dono desse mesmo número de telefone — hoje toda a movimentação/tools da IA
|
|
384
|
+
* (agendamento, mover pipeline, etc.) opera em cima de um lead_id da Kommo; este canal não tem
|
|
385
|
+
* CRM próprio. `null` = ainda não buscado ou nenhum lead correspondente encontrado. Escrito
|
|
386
|
+
* pelo atende360-assistant após buscar por telefone (ver canal aiatendeWa).
|
|
387
|
+
*/
|
|
388
|
+
kommoLeadId?: number | null;
|
|
382
389
|
[key: string]: unknown;
|
|
383
390
|
}
|
|
384
391
|
interface MessagingConversationsListResponse {
|
|
@@ -438,6 +445,8 @@ interface PatchConversationPayload {
|
|
|
438
445
|
aiCareStatus?: AiCareStatus;
|
|
439
446
|
/** Só tem efeito quando `aiCareStatus` é 'ACTIVE' — em qualquer outro status o Portal força `null`. */
|
|
440
447
|
aiResumeMode?: AiResumeMode | null;
|
|
448
|
+
/** Só aceito de chamadores com papel de sistema/staff (ex.: atende360-assistant via APP_API_KEY) — o Portal rejeita se vier de um OWNER/MEMBER comum. */
|
|
449
|
+
kommoLeadId?: number | null;
|
|
441
450
|
}
|
|
442
451
|
/**
|
|
443
452
|
* `actor` só é respeitado pelo Portal quando o chamador é um papel de sistema/staff (ex.: o
|
package/dist/index.d.ts
CHANGED
|
@@ -379,6 +379,13 @@ interface MessagingConversation {
|
|
|
379
379
|
aiCareStatusSetByName: string | null;
|
|
380
380
|
/** Só presente na resposta do GET de detalhe (não na listagem). */
|
|
381
381
|
aiResumeMode?: AiResumeMode | null;
|
|
382
|
+
/**
|
|
383
|
+
* Lead da Kommo dono desse mesmo número de telefone — hoje toda a movimentação/tools da IA
|
|
384
|
+
* (agendamento, mover pipeline, etc.) opera em cima de um lead_id da Kommo; este canal não tem
|
|
385
|
+
* CRM próprio. `null` = ainda não buscado ou nenhum lead correspondente encontrado. Escrito
|
|
386
|
+
* pelo atende360-assistant após buscar por telefone (ver canal aiatendeWa).
|
|
387
|
+
*/
|
|
388
|
+
kommoLeadId?: number | null;
|
|
382
389
|
[key: string]: unknown;
|
|
383
390
|
}
|
|
384
391
|
interface MessagingConversationsListResponse {
|
|
@@ -438,6 +445,8 @@ interface PatchConversationPayload {
|
|
|
438
445
|
aiCareStatus?: AiCareStatus;
|
|
439
446
|
/** Só tem efeito quando `aiCareStatus` é 'ACTIVE' — em qualquer outro status o Portal força `null`. */
|
|
440
447
|
aiResumeMode?: AiResumeMode | null;
|
|
448
|
+
/** Só aceito de chamadores com papel de sistema/staff (ex.: atende360-assistant via APP_API_KEY) — o Portal rejeita se vier de um OWNER/MEMBER comum. */
|
|
449
|
+
kommoLeadId?: number | null;
|
|
441
450
|
}
|
|
442
451
|
/**
|
|
443
452
|
* `actor` só é respeitado pelo Portal quando o chamador é um papel de sistema/staff (ex.: o
|