@botozap/sdk 0.29.0 → 0.31.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/CHANGELOG.md +33 -0
- package/README.md +7 -0
- package/dist/index.cjs +185 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +207 -15
- package/dist/index.d.ts +207 -15
- package/dist/index.js +184 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -758,7 +758,9 @@ type AiWindow = {
|
|
|
758
758
|
};
|
|
759
759
|
type AiToolId = "contacts.read" | "contacts.update" | "conversations.read" | "conversations.note" | "crm.opportunities.read" | "crm.opportunities.write" | "crm.demands.read" | "crm.demands.write" | "crm.stages.read" | "crm.stages.write" | "agenda.availability" | "agenda.propose" | "agenda.appointments.read" | "agenda.appointments.reschedule" | "agenda.appointments.cancel" | "knowledge.search" | "memory.read" | "memory.propose" | "skills.read" | "followups.enroll" | "followups.pause" | "followups.cancel" | "cases.open" | "cases.update" | "followups.schedule" | "followups.list" | "handoff" | "alerts.create" | "contacts.search" | "contacts.get" | "contacts.propose_update" | "conversations.list" | "conversations.get" | "conversations.history" | "conversations.assign" | "team.members.read" | "inbox.queue.read" | "tags.read" | "tags.manage" | "saved_replies.read" | "saved_replies.render" | "automations.read" | "automations.runs.read" | "radar.read" | "radar.propose_reactivation" | "catalog.products.search" | "privacy.consent.read" | "knowledge.sources.read" | "proposals.read" | "cases.read" | "crm.search" | "agenda.schedule.read" | "agenda.appointments.confirm" | "cases.note" | "cases.close"
|
|
760
760
|
/** Opções para o contato tocar (botões ou lista), anexadas à resposta final do turno. Só o agente; o operador é recusado. */
|
|
761
|
-
| "conversations.reply_options"
|
|
761
|
+
| "conversations.reply_options"
|
|
762
|
+
/** Anexa à resposta final fotos, vídeos e PDFs da biblioteca escolhidos em `file_ids` (#1447). Só o agente. */
|
|
763
|
+
| "conversations.attach_files";
|
|
762
764
|
/**
|
|
763
765
|
* Configuração do agente na ENTRADA (`ai.agents.create` e `saveDraft`): o
|
|
764
766
|
* provedor só pode ser `openai` ou `anthropic`. A leitura devolve
|
|
@@ -769,7 +771,16 @@ interface AiAgentConfig {
|
|
|
769
771
|
provider?: AiEnabledProvider;
|
|
770
772
|
model?: string;
|
|
771
773
|
credential_id?: string | null;
|
|
774
|
+
/**
|
|
775
|
+
* Primeiro canal da versão. Valor fora da lista manda nela (a lista vira esse canal); valor que está
|
|
776
|
+
* na lista fora do primeiro lugar é recusado com 422 `invalid`.
|
|
777
|
+
*/
|
|
772
778
|
channel_account_id?: string | null;
|
|
779
|
+
/**
|
|
780
|
+
* Canais em que o mesmo agente atende (Número do WhatsApp e conta do Instagram do Cliente), até 10,
|
|
781
|
+
* sem repetir. Com dois ou mais, `channel_account_id` é o primeiro; com um, a lista não é gravada.
|
|
782
|
+
*/
|
|
783
|
+
channel_account_ids?: string[];
|
|
773
784
|
tool_ids?: AiToolId[];
|
|
774
785
|
operator?: {
|
|
775
786
|
enabled?: boolean;
|
|
@@ -801,6 +812,8 @@ interface AiAgentConfig {
|
|
|
801
812
|
allowed_stage_ids?: string[];
|
|
802
813
|
knowledge_source_ids?: string[];
|
|
803
814
|
skill_ids?: string[];
|
|
815
|
+
/** Arquivos da biblioteca (`ai.files`) que o agente pode mandar, até 40; com `conversations.attach_files` em `tool_ids` (#1447). */
|
|
816
|
+
file_ids?: string[];
|
|
804
817
|
/** Opt-in platform skills composed at runtime; Customer copies override them. */
|
|
805
818
|
platform_skills?: "none" | "all";
|
|
806
819
|
memory_enabled?: boolean;
|
|
@@ -822,6 +835,11 @@ interface AiAgentConfig {
|
|
|
822
835
|
enabled?: boolean;
|
|
823
836
|
flow_ids?: string[];
|
|
824
837
|
send_window?: AiWindow | null;
|
|
838
|
+
/** Template aprovado que o retorno agendado pelo agente envia com a janela de 24h fechada (só WhatsApp); null = alertar a equipe. */
|
|
839
|
+
return_template?: {
|
|
840
|
+
template_id: string;
|
|
841
|
+
variable_map?: Record<string, string>;
|
|
842
|
+
} | null;
|
|
825
843
|
};
|
|
826
844
|
safety?: {
|
|
827
845
|
disclose_ai?: boolean;
|
|
@@ -870,12 +888,41 @@ type AiAgent = {
|
|
|
870
888
|
updated_at: string;
|
|
871
889
|
/** Estado do ciclo de vida. Presente em `ai.agents.list` e `ai.agents.get`. */
|
|
872
890
|
lifecycle?: "draft" | "published" | "active" | "paused" | "archived";
|
|
873
|
-
/** `true`
|
|
891
|
+
/** `true` quando o agente está de fato respondendo em pelo menos um canal da versão publicada. Presente em list/get. */
|
|
874
892
|
serving?: boolean;
|
|
875
|
-
/** Como o agente atende: vínculo direto ou membro de roteador ativo; `null` quando não atende. */
|
|
893
|
+
/** Como o agente atende no primeiro canal em que responde: vínculo direto ou membro de roteador ativo; `null` quando não atende. */
|
|
876
894
|
serving_via?: "direct" | "router" | null;
|
|
877
|
-
/**
|
|
895
|
+
/** Primeira conta de canal da versão publicada; `null` sem versão publicada. */
|
|
878
896
|
channel_account_id?: string | null;
|
|
897
|
+
/**
|
|
898
|
+
* Um item por canal da versão publicada; mostra o canal que ficou de fora ao ativar. Canal fora da
|
|
899
|
+
* versão que ainda tem vínculo não entra aqui (o diagnóstico avisa com `channel_outside`). Presente em list/get.
|
|
900
|
+
*/
|
|
901
|
+
channels?: AiAgentChannelServing[];
|
|
902
|
+
};
|
|
903
|
+
/** Situação do agente num canal da versão publicada. */
|
|
904
|
+
type AiAgentChannelServing = {
|
|
905
|
+
channel_account_id: string;
|
|
906
|
+
serving: boolean;
|
|
907
|
+
serving_via: "direct" | "router" | null;
|
|
908
|
+
};
|
|
909
|
+
/** Canal que ficou de fora ao ativar (`ai.agents.operation`): com outro agente, com roteador ativo ou que não é mais do Cliente. */
|
|
910
|
+
type AiAgentSkippedChannel = {
|
|
911
|
+
channel_account_id: string;
|
|
912
|
+
reason: "agent" | "router" | "missing";
|
|
913
|
+
};
|
|
914
|
+
/**
|
|
915
|
+
* O que a publicação fez com os canais do agente em operação: nada a mudar, religou (com os canais
|
|
916
|
+
* que ficaram de fora) ou não ligou nenhum (a versão continua publicada e `code` explica).
|
|
917
|
+
*/
|
|
918
|
+
type AiAgentChannelSync = {
|
|
919
|
+
status: "unchanged";
|
|
920
|
+
} | {
|
|
921
|
+
status: "synced";
|
|
922
|
+
skipped: AiAgentSkippedChannel[];
|
|
923
|
+
} | {
|
|
924
|
+
status: "failed";
|
|
925
|
+
code: string;
|
|
879
926
|
};
|
|
880
927
|
type AiAgentVersion = {
|
|
881
928
|
id: string;
|
|
@@ -1031,6 +1078,8 @@ type AiRouterConfig = {
|
|
|
1031
1078
|
intent_description: string;
|
|
1032
1079
|
examples?: string[];
|
|
1033
1080
|
position?: number;
|
|
1081
|
+
/** Agente fixo: escolhido, fica com a conversa até ela ser fechada (padrão false). */
|
|
1082
|
+
keep_until_closed?: boolean;
|
|
1034
1083
|
}[];
|
|
1035
1084
|
};
|
|
1036
1085
|
type AiRouter = Omit<AiRouterConfig, "classifier"> & {
|
|
@@ -1158,7 +1207,7 @@ type AiCase = {
|
|
|
1158
1207
|
contact_name?: string | null;
|
|
1159
1208
|
};
|
|
1160
1209
|
type AiCaseKind = "agendamento" | "duvida" | "problema" | "financeiro" | "acesso" | "outro";
|
|
1161
|
-
type AiCaseSource = "agent" | "guardrail" | "human" | "operator";
|
|
1210
|
+
type AiCaseSource = "agent" | "guardrail" | "human" | "operator" | "followup";
|
|
1162
1211
|
type AiCaseEvent = {
|
|
1163
1212
|
id: string;
|
|
1164
1213
|
case_id: string;
|
|
@@ -1207,7 +1256,7 @@ type AiAlertBulkFilters = {
|
|
|
1207
1256
|
severity?: AiAlert["severity"];
|
|
1208
1257
|
status?: "open" | "acknowledged";
|
|
1209
1258
|
};
|
|
1210
|
-
type AiNoticeField = "case_title" | "case_summary" | "case_url" | "contact_name" | "agent_name";
|
|
1259
|
+
type AiNoticeField = "case_title" | "case_summary" | "case_url" | "contact_name" | "contact_phone" | "contact_name_and_phone" | "agent_name";
|
|
1211
1260
|
type AiNoticeSettings = {
|
|
1212
1261
|
enabled: boolean;
|
|
1213
1262
|
contact_id: string | null;
|
|
@@ -1222,7 +1271,10 @@ type AiNoticeJob = {
|
|
|
1222
1271
|
case_id: string | null;
|
|
1223
1272
|
kind: "case" | "test";
|
|
1224
1273
|
status: "pending" | "claimed" | "sent" | "failed" | "unknown" | "cancelled";
|
|
1274
|
+
/** `pending` com motivo: adiado por recusa passageira (`account_locked`, `capacity_unavailable`). `meta_failed`: a Meta aceitou e recusou depois, pelo status da mensagem. */
|
|
1225
1275
|
last_error: string | null;
|
|
1276
|
+
/** O código da Meta quando ela recusou o aviso: na hora (`meta_rejected`) ou depois (`meta_failed`); nos outros casos, `null`. */
|
|
1277
|
+
meta_error_code: number | null;
|
|
1226
1278
|
created_at: string;
|
|
1227
1279
|
finished_at: string | null;
|
|
1228
1280
|
external_id: string | null;
|
|
@@ -1538,15 +1590,56 @@ type AiPlatformSkill = {
|
|
|
1538
1590
|
installed_version_id: string | null;
|
|
1539
1591
|
};
|
|
1540
1592
|
type AiArtifactUploadInput = AiScope & {
|
|
1541
|
-
kind: "knowledge" | "skill";
|
|
1593
|
+
kind: "knowledge" | "skill" | "file";
|
|
1542
1594
|
file_name: string;
|
|
1543
1595
|
mime_type: string;
|
|
1544
1596
|
byte_size: number;
|
|
1545
1597
|
sha256: string;
|
|
1546
1598
|
name?: string;
|
|
1599
|
+
/** kind=file: quando o agente deve mandar o arquivo (obrigatório, até 500). */
|
|
1600
|
+
description?: string;
|
|
1601
|
+
/** kind=file: legenda opcional (até 1.024 caracteres e 1.000 bytes). */
|
|
1602
|
+
caption?: string | null;
|
|
1547
1603
|
skill_id?: string;
|
|
1548
1604
|
expected_revision?: string;
|
|
1549
1605
|
};
|
|
1606
|
+
/** Arquivo da biblioteca do agente (#1447): foto, vídeo ou PDF que o agente pode mandar na conversa. */
|
|
1607
|
+
interface AiAgentFile {
|
|
1608
|
+
id: string;
|
|
1609
|
+
customer_id: string;
|
|
1610
|
+
name: string;
|
|
1611
|
+
/** Quando o agente deve mandar (o agente lê). */
|
|
1612
|
+
description: string;
|
|
1613
|
+
caption: string | null;
|
|
1614
|
+
media_type: "image" | "video" | "document";
|
|
1615
|
+
mime_type: string;
|
|
1616
|
+
file_name: string;
|
|
1617
|
+
byte_size: number;
|
|
1618
|
+
/** processing enquanto converte; failed com o motivo em last_error. */
|
|
1619
|
+
status: "processing" | "ready" | "failed";
|
|
1620
|
+
last_error: string | null;
|
|
1621
|
+
active: boolean;
|
|
1622
|
+
revision: string;
|
|
1623
|
+
created_at: string;
|
|
1624
|
+
updated_at: string;
|
|
1625
|
+
}
|
|
1626
|
+
interface AiAgentFileDetail extends AiAgentFile {
|
|
1627
|
+
usages: {
|
|
1628
|
+
agent_id: string;
|
|
1629
|
+
name: string;
|
|
1630
|
+
version_number: number;
|
|
1631
|
+
published: boolean;
|
|
1632
|
+
}[];
|
|
1633
|
+
/** Link curto para ver o arquivo; null sem armazenamento. Não guarde nem registre. */
|
|
1634
|
+
preview_url: string | null;
|
|
1635
|
+
preview_expires_at: string | null;
|
|
1636
|
+
}
|
|
1637
|
+
type AiAgentFilePatch = {
|
|
1638
|
+
name?: string;
|
|
1639
|
+
description?: string;
|
|
1640
|
+
caption?: string | null;
|
|
1641
|
+
active?: boolean;
|
|
1642
|
+
};
|
|
1550
1643
|
interface AiPreparedUpload {
|
|
1551
1644
|
upload_id: string;
|
|
1552
1645
|
upload_url: string;
|
|
@@ -2309,6 +2402,7 @@ declare class AiAgentsResource {
|
|
|
2309
2402
|
}): Promise<{
|
|
2310
2403
|
version_id: string;
|
|
2311
2404
|
number: number;
|
|
2405
|
+
channel_sync?: AiAgentChannelSync;
|
|
2312
2406
|
}>;
|
|
2313
2407
|
/** Restaura versão para edição; não ativa atendimento. */
|
|
2314
2408
|
restore(input: AiScope & {
|
|
@@ -2333,6 +2427,8 @@ declare class AiAgentsResource {
|
|
|
2333
2427
|
revision: string;
|
|
2334
2428
|
paused: boolean;
|
|
2335
2429
|
mode: "automatic" | "assisted";
|
|
2430
|
+
/** Canais que ficaram de fora ao ativar; os outros foram ligados. */
|
|
2431
|
+
skipped?: AiAgentSkippedChannel[];
|
|
2336
2432
|
}>;
|
|
2337
2433
|
/** POST /ai/agents/:id/archive */
|
|
2338
2434
|
archive(input: AiRevision & {
|
|
@@ -2873,6 +2969,8 @@ declare class AiRoutersResource {
|
|
|
2873
2969
|
request_key: string;
|
|
2874
2970
|
sticky_agent_id?: string | null;
|
|
2875
2971
|
sticky_intent?: string | null;
|
|
2972
|
+
/** Última mensagem enviada ao contato, que o classificador lê como contexto. */
|
|
2973
|
+
last_sent_message?: string | null;
|
|
2876
2974
|
}): Promise<AiRouterTest>;
|
|
2877
2975
|
/** Ativa membro sem criar vínculo direto com canal. */
|
|
2878
2976
|
activateMember(input: AiScope & {
|
|
@@ -3058,7 +3156,7 @@ declare class AiUploadsResource {
|
|
|
3058
3156
|
prepare(input: AiArtifactUploadInput): Promise<AiPreparedUpload>;
|
|
3059
3157
|
complete(input: AiScope & {
|
|
3060
3158
|
id: string;
|
|
3061
|
-
}): Promise<AiKnowledgeSource | AiSkill>;
|
|
3159
|
+
}): Promise<AiKnowledgeSource | AiSkill | AiAgentFile>;
|
|
3062
3160
|
}
|
|
3063
3161
|
declare class AiCommercialProposalsResource {
|
|
3064
3162
|
private readonly client;
|
|
@@ -3177,9 +3275,42 @@ declare class AiStyleAdjustmentsResource {
|
|
|
3177
3275
|
enabled: boolean;
|
|
3178
3276
|
}): Promise<AiStyleAdjustment>;
|
|
3179
3277
|
}
|
|
3278
|
+
/** Biblioteca de fotos, vídeos e PDFs que o agente manda na conversa (#1447). */
|
|
3279
|
+
declare class AiFilesResource {
|
|
3280
|
+
private readonly client;
|
|
3281
|
+
constructor(client: BotoZap);
|
|
3282
|
+
/** GET /ai/files */
|
|
3283
|
+
list(input: AiScope): Promise<AiAgentFile[]>;
|
|
3284
|
+
/** GET /ai/files/:id — com quem usa e o link curto de prévia. */
|
|
3285
|
+
get(input: AiScope & {
|
|
3286
|
+
id: string;
|
|
3287
|
+
}): Promise<AiAgentFileDetail>;
|
|
3288
|
+
/** PATCH /ai/files/:id — vale na hora para os agentes publicados que usam o arquivo. */
|
|
3289
|
+
update(input: AiRevision & {
|
|
3290
|
+
id: string;
|
|
3291
|
+
} & AiAgentFilePatch): Promise<AiAgentFile>;
|
|
3292
|
+
/** DELETE /ai/files/:id — 409 in_use se o arquivo está numa versão publicada. */
|
|
3293
|
+
remove(input: AiRevision & {
|
|
3294
|
+
id: string;
|
|
3295
|
+
}): Promise<void>;
|
|
3296
|
+
/**
|
|
3297
|
+
* Sobe foto (JPG/PNG), vídeo (MP4/MOV) ou PDF de até 25 MiB pelo upload direto (prepare, PUT na URL
|
|
3298
|
+
* assinada, complete). Repetir com os mesmos bytes e dados reaproveita o envio. Vídeo do iPhone e foto
|
|
3299
|
+
* grande voltam `processing` e ficam `ready` depois da conversão.
|
|
3300
|
+
*/
|
|
3301
|
+
upload(input: AiScope & {
|
|
3302
|
+
file: Blob;
|
|
3303
|
+
file_name: string;
|
|
3304
|
+
name: string;
|
|
3305
|
+
description: string;
|
|
3306
|
+
caption?: string | null;
|
|
3307
|
+
onUploadPrepared?: AiUploadReceiptCallback;
|
|
3308
|
+
}): Promise<AiAgentFile>;
|
|
3309
|
+
}
|
|
3180
3310
|
declare class Ai {
|
|
3181
3311
|
private readonly client;
|
|
3182
3312
|
readonly uploads: AiUploadsResource;
|
|
3313
|
+
readonly files: AiFilesResource;
|
|
3183
3314
|
readonly agents: AiAgentsResource;
|
|
3184
3315
|
readonly credentials: AiCredentialsResource;
|
|
3185
3316
|
readonly providers: AiProvidersResource;
|
|
@@ -3426,10 +3557,16 @@ declare class Calendar {
|
|
|
3426
3557
|
type StageColor = "zinc" | "green" | "amber" | "pink";
|
|
3427
3558
|
interface ContactStage {
|
|
3428
3559
|
id: string;
|
|
3429
|
-
|
|
3560
|
+
/** Só as quatro etapas padrão têm chave fixa; a criada pelo cliente vem `null`. */
|
|
3561
|
+
key: string | null;
|
|
3430
3562
|
label: string;
|
|
3431
3563
|
color: StageColor;
|
|
3432
3564
|
position: number;
|
|
3565
|
+
/**
|
|
3566
|
+
* Regra da etapa: para onde o contato vai quando manda mensagem estando nela.
|
|
3567
|
+
* `null` não move. Só outra etapa do mesmo Cliente.
|
|
3568
|
+
*/
|
|
3569
|
+
on_reply_stage_id: string | null;
|
|
3433
3570
|
}
|
|
3434
3571
|
interface ContactField {
|
|
3435
3572
|
id: string;
|
|
@@ -3455,6 +3592,8 @@ declare class ContactStages {
|
|
|
3455
3592
|
label?: string;
|
|
3456
3593
|
color?: StageColor;
|
|
3457
3594
|
position?: number;
|
|
3595
|
+
/** Etapa para onde o contato vai quando manda mensagem; `null` desliga. */
|
|
3596
|
+
on_reply_stage_id?: string | null;
|
|
3458
3597
|
}): Promise<ContactStage>;
|
|
3459
3598
|
delete(id: string, params?: {
|
|
3460
3599
|
customer_id?: string;
|
|
@@ -4001,7 +4140,13 @@ interface SendTemplateParams {
|
|
|
4001
4140
|
interface SendImageParams {
|
|
4002
4141
|
to: string;
|
|
4003
4142
|
type: "image";
|
|
4004
|
-
|
|
4143
|
+
/** URL https pública do arquivo; ou `file_id` no lugar dele (um dos dois). */
|
|
4144
|
+
link?: string;
|
|
4145
|
+
/**
|
|
4146
|
+
* Arquivo pronto da biblioteca do agente (`GET /ai/files`) no lugar do `link` (#1447): sai por um link
|
|
4147
|
+
* curto assinado do armazenamento; a legenda da biblioteca não entra sozinha. Chave sandbox: 403.
|
|
4148
|
+
*/
|
|
4149
|
+
file_id?: string;
|
|
4005
4150
|
caption?: string;
|
|
4006
4151
|
from?: string;
|
|
4007
4152
|
/**
|
|
@@ -4035,7 +4180,13 @@ interface SendAudioParams {
|
|
|
4035
4180
|
interface SendVideoParams {
|
|
4036
4181
|
to: string;
|
|
4037
4182
|
type: "video";
|
|
4038
|
-
|
|
4183
|
+
/** URL https pública do arquivo; ou `file_id` no lugar dele (um dos dois). */
|
|
4184
|
+
link?: string;
|
|
4185
|
+
/**
|
|
4186
|
+
* Arquivo pronto da biblioteca do agente (`GET /ai/files`) no lugar do `link` (#1447): sai por um link
|
|
4187
|
+
* curto assinado do armazenamento; a legenda da biblioteca não entra sozinha. Chave sandbox: 403.
|
|
4188
|
+
*/
|
|
4189
|
+
file_id?: string;
|
|
4039
4190
|
caption?: string;
|
|
4040
4191
|
from?: string;
|
|
4041
4192
|
/**
|
|
@@ -4049,7 +4200,13 @@ interface SendVideoParams {
|
|
|
4049
4200
|
interface SendDocumentParams {
|
|
4050
4201
|
to: string;
|
|
4051
4202
|
type: "document";
|
|
4052
|
-
|
|
4203
|
+
/** URL https pública do arquivo; ou `file_id` no lugar dele (um dos dois). */
|
|
4204
|
+
link?: string;
|
|
4205
|
+
/**
|
|
4206
|
+
* Arquivo pronto da biblioteca do agente (`GET /ai/files`) no lugar do `link` (#1447): sai por um link
|
|
4207
|
+
* curto assinado do armazenamento; a legenda da biblioteca não entra sozinha. Chave sandbox: 403.
|
|
4208
|
+
*/
|
|
4209
|
+
file_id?: string;
|
|
4053
4210
|
caption?: string;
|
|
4054
4211
|
filename?: string;
|
|
4055
4212
|
from?: string;
|
|
@@ -4758,6 +4915,25 @@ interface ConversationReadResult {
|
|
|
4758
4915
|
/** Momento da leitura gravado (ISO 8601). */
|
|
4759
4916
|
last_read_at: string;
|
|
4760
4917
|
}
|
|
4918
|
+
/**
|
|
4919
|
+
* Envio manual do WhatsApp (API ou painel) que a Meta não confirmou (timeout ou erro de rede) em
|
|
4920
|
+
* cerca de 5 minutos, em `conversations.listPendingSends`. Antes desse prazo a confirmação ainda
|
|
4921
|
+
* pode chegar, e o envio não aparece.
|
|
4922
|
+
*/
|
|
4923
|
+
interface PendingSend {
|
|
4924
|
+
id: string;
|
|
4925
|
+
status: "unconfirmed";
|
|
4926
|
+
/** Tipo da mensagem guardada no envio (`text`, `template`, `image`...), quando há. */
|
|
4927
|
+
kind: string | null;
|
|
4928
|
+
/** O texto que identifica o envio (corpo, legenda ou nome do template), quando há. */
|
|
4929
|
+
preview: string | null;
|
|
4930
|
+
created_at: string;
|
|
4931
|
+
}
|
|
4932
|
+
/** Resposta de `conversations.markPendingSend` (200). */
|
|
4933
|
+
interface PendingSendMarkResult {
|
|
4934
|
+
id: string;
|
|
4935
|
+
status: "sent" | "not_sent";
|
|
4936
|
+
}
|
|
4761
4937
|
/** Conversas (read + status) e atribuições a membros. */
|
|
4762
4938
|
declare class Conversations {
|
|
4763
4939
|
private readonly client;
|
|
@@ -4821,6 +4997,19 @@ declare class Conversations {
|
|
|
4821
4997
|
* (grava a leitura sem avisar a Meta).
|
|
4822
4998
|
*/
|
|
4823
4999
|
markRead(id: string): Promise<ConversationReadResult>;
|
|
5000
|
+
/**
|
|
5001
|
+
* Envios manuais do WhatsApp da conversa que a Meta não confirmou em cerca de 5 minutos, como o
|
|
5002
|
+
* aviso na conversa no painel. Quando a Meta confirma, a mensagem entra no histórico sozinha.
|
|
5003
|
+
* Envios da IA, respostas automáticas, transmissões, réguas e Instagram têm conciliação própria
|
|
5004
|
+
* e não aparecem. Conversa de outra Conta: 404. Scope `conversations:read`.
|
|
5005
|
+
*/
|
|
5006
|
+
listPendingSends(id: string): Promise<PendingSend[]>;
|
|
5007
|
+
/**
|
|
5008
|
+
* Diz se o envio sem confirmação chegou ao contato, como "Saiu" e "Não saiu" no painel:
|
|
5009
|
+
* `sent` põe a mensagem no histórico (sem o id da Meta); `not_sent` libera para enviar de novo.
|
|
5010
|
+
* Nada é reenviado. Envio já resolvido: 409 `send_not_pending`. Scope `messages:send`.
|
|
5011
|
+
*/
|
|
5012
|
+
markPendingSend(id: string, sendId: string, outcome: "sent" | "not_sent"): Promise<PendingSendMarkResult>;
|
|
4824
5013
|
/**
|
|
4825
5014
|
* Exclui a conversa, com efeito imediato e sem volta: mensagens, notas,
|
|
4826
5015
|
* atribuições, vínculos com oportunidades e demandas e o que a IA guardou
|
|
@@ -5225,8 +5414,11 @@ declare class PhoneNumbers {
|
|
|
5225
5414
|
/**
|
|
5226
5415
|
* Inscreve o BotoZap de novo para receber as mensagens do número, com a
|
|
5227
5416
|
* autorização já guardada, sem refazer a conexão. Resolve a prontidão
|
|
5228
|
-
* `webhooks_lost
|
|
5229
|
-
*
|
|
5417
|
+
* `webhooks_lost` quando o app saiu da conta do WhatsApp. Se a conta mudou de
|
|
5418
|
+
* portfólio na Meta, devolve `missing`, e autorização recusada pela Meta
|
|
5419
|
+
* responde 409 `reconnect_required`: nos dois casos, só o link de setup
|
|
5420
|
+
* resolve. `unknown` = a Meta não confirmou agora; confira com `health` em
|
|
5421
|
+
* instantes. Scope `numbers:write`.
|
|
5230
5422
|
*/
|
|
5231
5423
|
resubscribeWebhooks(id: string): Promise<WebhookSubscription>;
|
|
5232
5424
|
}
|
|
@@ -6399,4 +6591,4 @@ declare function isConsentRevoked(error: unknown): error is BotoZapError;
|
|
|
6399
6591
|
*/
|
|
6400
6592
|
declare function isNotConnected(error: unknown): error is BotoZapError;
|
|
6401
6593
|
|
|
6402
|
-
export { AI_CONFIGURABLE_PURPOSES, AI_CREDENTIAL_PROVIDERS, AI_OPERATIONS, AI_PURPOSES, type AccountExport, type AddRecipientsError, type AddRecipientsResult, AgendaConfiguration, AgendaExceptions, type AgendaRecord, Ai, type AiAgent, type AiAgentConfig, type AiAgentConfigRead, type AiAgentCoverage, type AiAgentDiagnostic, type AiAgentInput, type AiAgentVersion, AiAgentsResource, type AiAlert, type AiAlertBulkFilters, type AiAlertListItem, AiAlertsResource, type AiArtifactUploadInput, type AiAudioPricing, type AiBinding, type AiBindingTarget, type AiBindingTargetRead, type AiBudget, type AiBudgetInput, type AiCapabilitySignal, type AiCapabilityUsage, type AiCapabilityUsageList, type AiCase, type AiCaseChat, type AiCaseEvent, type AiCaseKind, type AiCaseReply, type AiCaseReplyInput, type AiCaseSource, AiCasesResource, type AiCatalogItems, type AiCatalogModel, type AiCatalogProduct, type AiCatalogSyncInput, type AiCatalogSyncResult, type AiChannelGate, type AiCommercialDecision, type AiCommercialEffect, type AiCommercialJob, type AiCommercialProposal, AiCommercialProposalsResource, type AiCommercialRequest, type AiCommercialSettings, type AiConfigurablePurpose, type AiContactAuthorization, type AiConversationCheckpoint, type AiCredential, AiCredentialsResource, type AiDiagnosticCheck, type AiDiagnosticStatus, type AiDraftResult, type AiEligibilityOverview, AiEligibilityResource, type AiEligibilitySettings, type AiEnabledProvider, type AiEnrollment, type AiEvolution, AiEvolutionResource, type AiEvolutionSource, type AiExecution, type AiExecutionCitations, type AiExecutionSecurity, AiExecutionsResource, type AiField, type AiFlow, type AiFlowGraph, type AiFlowInput, type AiFlowSettings, type AiFlowVersion, type AiFollowupEffect, type AiFollowupEvent, AiFollowupFlowsResource, type AiFollowupPromise, type AiFollowupPromiseDetail, type AiFollowupPromiseStatus, type AiFollowupQueueFilters, type AiFollowupQueuePage, type AiFollowupQueueRow, AiFollowupsResource, type AiGateMode, type AiInference, type AiInferenceOrigin, type AiInferenceOutcome, type AiInferenceSummary, AiInferencesResource, type AiKnowledgeChunk, type AiKnowledgeCitation, type AiKnowledgeConversation, type AiKnowledgeHit, type AiKnowledgeImport, type AiKnowledgePreview, AiKnowledgeResource, type AiKnowledgeSearchDiagnostics, type AiKnowledgeSource, type AiMemory, type AiMemoryEntry, type AiMemoryEntryEvent, AiMemoryResource, type AiModelCatalogSnapshot, type AiModelCatalogSync, type AiNoticeCheck, type AiNoticeEffect, type AiNoticeField, type AiNoticeJob, type AiNoticeSettings, AiNoticesResource, type AiOperation, type AiOperatorMetrics, AiOperatorResource, type AiPage, type AiPlatformSkill, type AiPlatformSkillComposition, type AiPreparedUpload, type AiProposal, AiProposalsResource, type AiProvider, type AiProviderInfo, type AiProviderModel, AiProvidersResource, type AiPurpose, type AiRate, type AiRateInput, type AiRecord, type AiRevision, type AiRouter, type AiRouterConfig, type AiRouterTest, AiRoutersResource, type AiScope, type AiSkill, type AiSkillInput, type AiSkillNearMiss, type AiSkillVersion, AiSkillsResource, type AiSourceKind, type AiStyleAdjustment, type AiStyleAdjustmentId, AiStyleAdjustmentsResource, type AiToolId, type AiTurnPromise, type AiUploadReceiptCallback, AiUploadsResource, AiUsageResource, type AiUsageSummary, type AiUsageTokens, type AiWindow, type ApiLog, type Appointment, type AppointmentAvailability, type AppointmentExceptionInput, type AppointmentFields, type AppointmentHistory, type AppointmentQuery, type AppointmentScheduleInput, type AppointmentServiceInput, type AppointmentStatus, Appointments, type Assignment, type AvailabilityQuery, type Billing, type BillingGuarantee, type BillingPlan, type BlockUserParams, type BlockUserResult, type BlockedUser, BotoZap, BotoZapError, type BotoZapErrorCode, type BotoZapEvent, type BotoZapOptions, type Broadcast, type BroadcastRecipient, type BroadcastRecipientInput, type BusinessSlot, Calendar, type CalendarConnection, type CalendarJob, type CalendarSelection, type ChannelAccount, type ChannelAccountRef, ChannelAccounts, type CommentAiDeliveryStatus, type CommentRule, type CommentRuleCounters, type CommentRuleMetrics, type CommentRuleMetricsParams, type CommentRuleStatus, type ConnectionBilling, type ConnectionBillingOutcome, type ConnectionBillingRefusal, type Consent, type ConsentChannel, type ConsentOrigin, type ConsentPurpose, type ConsentRequestResult, type ConsentState, type Contact, type ContactConsents, type ContactField, ContactFields, type ContactStage, ContactStages, type ContactWarning, type Conversation, type ConversationEntryPoint, type ConversationNote, type ConversationReadResult, type ConversationReferral, type ConversationReminder, type ConversationTypingResult, type ConversationalAutomation, type ConversationalCommand, type CreateAppointment, type CreateAssignmentParams, type CreateBroadcastParams, type CreateBusinessSlotOptions, type CreateCommentRuleParams, type CreateContactParams, type CreateCustomerParams, type CreateDemand, type CreateExportParams, type CreateMessageRuleParams, type CreateOpportunity, type CreateQrCodeParams, type CreateSetupLinkParams, type CreateTemplateParams, type CreateWebhookParams, type CrmActivity, type CrmConversation, type CrmFields, type CrmMetadata, type CrmQuery, type CrmRecord, CrmResource, type CursorList, type CursorPaging, type CursorParams, type Customer, type CustomerBusinessSlot, type DeleteCommentRuleResult, type DeleteMessageRuleResult, type DeletedTemplate, type Demand, type DemandFields, type EnableJourneyModelParams, type EventList, type EventPaging, type ExportDownload, type ExportFormat, type ExportScope, type ExportStatus, type FixedRuleMessage, type HistoryImport, type HistoryImportStatus, type HistoryImportWindowDays, Inbox, type InboxMutation, type InboxMutationResult, type InboxState, type InboxTools, type InitialConsent, type InstagramCommentAi, type InstagramCommentAiAutomation, type InstagramCommentAiRepliedEvent, type InstagramCommentAiRun, type InstagramConnection, type InstagramGenericElement, type InstagramIceBreaker, type InstagramInteractiveButton, type InstagramInteractiveButtonPayload, type InstagramInteractiveGenericPayload, type InstagramInteractivePayload, type InstagramPersistentMenuItem, type InstagramTokenStatus, type InteractiveButtonPayload, type InteractiveCtaUrlPayload, type InteractiveHeader, type InteractiveListPayload, type InteractivePayload, type Journey, type JourneyCatalogItem, type JourneyCatalogSegment, type JourneyCatalogTrigger, type JourneyConfig, type JourneyEnrollment, type JourneyModelEnableResult, type JourneyQuery, type JourneyRun, type JourneyStep, Journeys, type ListApiLogsParams, type ListBroadcastsParams, type ListChannelAccountsParams, type ListContactsParams, type ListConversationsParams, type ListEventsParams, type ListMessagesParams, type ListPhoneNumbersParams, type ListRecipientsParams, type ListTeamEventsParams, type ListTemplatesParams, type ListWebhookDeliveriesParams, type Me, type MediaAsset, type MediaUploadResult, type Message, type MessageChannel, type MessageContent, type MessageEdit, type MessageReplyTo, type MessageRule, type MessageRuleAction, type MessageRuleQrParams, type MessageRuleTrigger, type MessageSort, type MessageSource, type MessageStatus, type MessengerProfile, type MessengerProfileConfig, type MetaCostCategory, type MetaCostDay, type MetaCostEstimate, type MetaCostGroup, type MetaCostReport, type MetaCostSource, type MetaCostSync, type MetaCostUnavailableReason, type MetaCostsParams, type OffsetList, type OffsetMeta, type OffsetParams, type Opportunity, type OpportunityFields, PLAN_ERROR_CODES, type PhoneNumber, PhoneNumberBlockedUsers, PhoneNumberQrCodes, type QrImageFormat, type QuickReply, Radar, type RadarEntry, type RadarPage, type RadarQuery, type RecordConsentParams, type ReplyConversationParams, type ReplyToParam, type RequestConsentParams, type RequestOptions, SavedReplies, type SavedReply, type SavedReplyInput, type SavedReplyQuery, type ScheduleBroadcastParams, type SendAudioParams, type SendDocumentParams, type SendFailureDetails, type SendImageParams, type SendInteractiveParams, type SendLocationParams, type SendMediaParams, type SendOptions, type SendReactionParams, type SendReactionResult, type SendResult, type SendTemplateParams, type SendTextParams, type SendVideoParams, type SetHistoryImportParams, type SetupLink, type StageColor, type StageRule, type StageRuleInput, type SyncTemplatesParams, type TeamEvent, type TeamEventActor, type TeamEventTarget, type Template, type TemplatePayload, type TemplateSyncResult, type UnblockUserResult, type UpdateAppointment, type UpdateBroadcastParams, type UpdateCommentAiParams, type UpdateCommentRuleParams, type UpdateContactParams, type UpdateConversationalAutomationParams, type UpdateCustomerParams, type UpdateMessageRuleParams, type UpdateMessengerProfileParams, type UpdatePhoneNumberParams, type UpdateSetupLinkParams, type UpdateTemplateParams, type UpdateWebhookParams, type UpdateWhatsAppProfileParams, type UploadMediaParams, type UploadProfilePhotoParams, type User, WEBHOOK_CATEGORIES, type Webhook, type WebhookAuthorizationHeaders, type WebhookCategory, type WebhookChannelHealth, type WebhookChannelHealthStatus, type WebhookDelivery, type WebhookDeliveryReplay, type WebhookDeliveryStatus, type WebhookSubscription, type WebhookSubscriptionState, type WhatsAppBusinessProfile, type WhatsAppBusinessVertical, type WhatsAppQrCode, isBusinessPaymentRequired, isConsentOptedOut, isConsentRevoked, isFreeCap, isFreeNumberCap, isNotConnected, isPlanError };
|
|
6594
|
+
export { AI_CONFIGURABLE_PURPOSES, AI_CREDENTIAL_PROVIDERS, AI_OPERATIONS, AI_PURPOSES, type AccountExport, type AddRecipientsError, type AddRecipientsResult, AgendaConfiguration, AgendaExceptions, type AgendaRecord, Ai, type AiAgent, type AiAgentChannelServing, type AiAgentChannelSync, type AiAgentConfig, type AiAgentConfigRead, type AiAgentCoverage, type AiAgentDiagnostic, type AiAgentFile, type AiAgentFileDetail, type AiAgentFilePatch, type AiAgentInput, type AiAgentSkippedChannel, type AiAgentVersion, AiAgentsResource, type AiAlert, type AiAlertBulkFilters, type AiAlertListItem, AiAlertsResource, type AiArtifactUploadInput, type AiAudioPricing, type AiBinding, type AiBindingTarget, type AiBindingTargetRead, type AiBudget, type AiBudgetInput, type AiCapabilitySignal, type AiCapabilityUsage, type AiCapabilityUsageList, type AiCase, type AiCaseChat, type AiCaseEvent, type AiCaseKind, type AiCaseReply, type AiCaseReplyInput, type AiCaseSource, AiCasesResource, type AiCatalogItems, type AiCatalogModel, type AiCatalogProduct, type AiCatalogSyncInput, type AiCatalogSyncResult, type AiChannelGate, type AiCommercialDecision, type AiCommercialEffect, type AiCommercialJob, type AiCommercialProposal, AiCommercialProposalsResource, type AiCommercialRequest, type AiCommercialSettings, type AiConfigurablePurpose, type AiContactAuthorization, type AiConversationCheckpoint, type AiCredential, AiCredentialsResource, type AiDiagnosticCheck, type AiDiagnosticStatus, type AiDraftResult, type AiEligibilityOverview, AiEligibilityResource, type AiEligibilitySettings, type AiEnabledProvider, type AiEnrollment, type AiEvolution, AiEvolutionResource, type AiEvolutionSource, type AiExecution, type AiExecutionCitations, type AiExecutionSecurity, AiExecutionsResource, type AiField, AiFilesResource, type AiFlow, type AiFlowGraph, type AiFlowInput, type AiFlowSettings, type AiFlowVersion, type AiFollowupEffect, type AiFollowupEvent, AiFollowupFlowsResource, type AiFollowupPromise, type AiFollowupPromiseDetail, type AiFollowupPromiseStatus, type AiFollowupQueueFilters, type AiFollowupQueuePage, type AiFollowupQueueRow, AiFollowupsResource, type AiGateMode, type AiInference, type AiInferenceOrigin, type AiInferenceOutcome, type AiInferenceSummary, AiInferencesResource, type AiKnowledgeChunk, type AiKnowledgeCitation, type AiKnowledgeConversation, type AiKnowledgeHit, type AiKnowledgeImport, type AiKnowledgePreview, AiKnowledgeResource, type AiKnowledgeSearchDiagnostics, type AiKnowledgeSource, type AiMemory, type AiMemoryEntry, type AiMemoryEntryEvent, AiMemoryResource, type AiModelCatalogSnapshot, type AiModelCatalogSync, type AiNoticeCheck, type AiNoticeEffect, type AiNoticeField, type AiNoticeJob, type AiNoticeSettings, AiNoticesResource, type AiOperation, type AiOperatorMetrics, AiOperatorResource, type AiPage, type AiPlatformSkill, type AiPlatformSkillComposition, type AiPreparedUpload, type AiProposal, AiProposalsResource, type AiProvider, type AiProviderInfo, type AiProviderModel, AiProvidersResource, type AiPurpose, type AiRate, type AiRateInput, type AiRecord, type AiRevision, type AiRouter, type AiRouterConfig, type AiRouterTest, AiRoutersResource, type AiScope, type AiSkill, type AiSkillInput, type AiSkillNearMiss, type AiSkillVersion, AiSkillsResource, type AiSourceKind, type AiStyleAdjustment, type AiStyleAdjustmentId, AiStyleAdjustmentsResource, type AiToolId, type AiTurnPromise, type AiUploadReceiptCallback, AiUploadsResource, AiUsageResource, type AiUsageSummary, type AiUsageTokens, type AiWindow, type ApiLog, type Appointment, type AppointmentAvailability, type AppointmentExceptionInput, type AppointmentFields, type AppointmentHistory, type AppointmentQuery, type AppointmentScheduleInput, type AppointmentServiceInput, type AppointmentStatus, Appointments, type Assignment, type AvailabilityQuery, type Billing, type BillingGuarantee, type BillingPlan, type BlockUserParams, type BlockUserResult, type BlockedUser, BotoZap, BotoZapError, type BotoZapErrorCode, type BotoZapEvent, type BotoZapOptions, type Broadcast, type BroadcastRecipient, type BroadcastRecipientInput, type BusinessSlot, Calendar, type CalendarConnection, type CalendarJob, type CalendarSelection, type ChannelAccount, type ChannelAccountRef, ChannelAccounts, type CommentAiDeliveryStatus, type CommentRule, type CommentRuleCounters, type CommentRuleMetrics, type CommentRuleMetricsParams, type CommentRuleStatus, type ConnectionBilling, type ConnectionBillingOutcome, type ConnectionBillingRefusal, type Consent, type ConsentChannel, type ConsentOrigin, type ConsentPurpose, type ConsentRequestResult, type ConsentState, type Contact, type ContactConsents, type ContactField, ContactFields, type ContactStage, ContactStages, type ContactWarning, type Conversation, type ConversationEntryPoint, type ConversationNote, type ConversationReadResult, type ConversationReferral, type ConversationReminder, type ConversationTypingResult, type ConversationalAutomation, type ConversationalCommand, type CreateAppointment, type CreateAssignmentParams, type CreateBroadcastParams, type CreateBusinessSlotOptions, type CreateCommentRuleParams, type CreateContactParams, type CreateCustomerParams, type CreateDemand, type CreateExportParams, type CreateMessageRuleParams, type CreateOpportunity, type CreateQrCodeParams, type CreateSetupLinkParams, type CreateTemplateParams, type CreateWebhookParams, type CrmActivity, type CrmConversation, type CrmFields, type CrmMetadata, type CrmQuery, type CrmRecord, CrmResource, type CursorList, type CursorPaging, type CursorParams, type Customer, type CustomerBusinessSlot, type DeleteCommentRuleResult, type DeleteMessageRuleResult, type DeletedTemplate, type Demand, type DemandFields, type EnableJourneyModelParams, type EventList, type EventPaging, type ExportDownload, type ExportFormat, type ExportScope, type ExportStatus, type FixedRuleMessage, type HistoryImport, type HistoryImportStatus, type HistoryImportWindowDays, Inbox, type InboxMutation, type InboxMutationResult, type InboxState, type InboxTools, type InitialConsent, type InstagramCommentAi, type InstagramCommentAiAutomation, type InstagramCommentAiRepliedEvent, type InstagramCommentAiRun, type InstagramConnection, type InstagramGenericElement, type InstagramIceBreaker, type InstagramInteractiveButton, type InstagramInteractiveButtonPayload, type InstagramInteractiveGenericPayload, type InstagramInteractivePayload, type InstagramPersistentMenuItem, type InstagramTokenStatus, type InteractiveButtonPayload, type InteractiveCtaUrlPayload, type InteractiveHeader, type InteractiveListPayload, type InteractivePayload, type Journey, type JourneyCatalogItem, type JourneyCatalogSegment, type JourneyCatalogTrigger, type JourneyConfig, type JourneyEnrollment, type JourneyModelEnableResult, type JourneyQuery, type JourneyRun, type JourneyStep, Journeys, type ListApiLogsParams, type ListBroadcastsParams, type ListChannelAccountsParams, type ListContactsParams, type ListConversationsParams, type ListEventsParams, type ListMessagesParams, type ListPhoneNumbersParams, type ListRecipientsParams, type ListTeamEventsParams, type ListTemplatesParams, type ListWebhookDeliveriesParams, type Me, type MediaAsset, type MediaUploadResult, type Message, type MessageChannel, type MessageContent, type MessageEdit, type MessageReplyTo, type MessageRule, type MessageRuleAction, type MessageRuleQrParams, type MessageRuleTrigger, type MessageSort, type MessageSource, type MessageStatus, type MessengerProfile, type MessengerProfileConfig, type MetaCostCategory, type MetaCostDay, type MetaCostEstimate, type MetaCostGroup, type MetaCostReport, type MetaCostSource, type MetaCostSync, type MetaCostUnavailableReason, type MetaCostsParams, type OffsetList, type OffsetMeta, type OffsetParams, type Opportunity, type OpportunityFields, PLAN_ERROR_CODES, type PhoneNumber, PhoneNumberBlockedUsers, PhoneNumberQrCodes, type QrImageFormat, type QuickReply, Radar, type RadarEntry, type RadarPage, type RadarQuery, type RecordConsentParams, type ReplyConversationParams, type ReplyToParam, type RequestConsentParams, type RequestOptions, SavedReplies, type SavedReply, type SavedReplyInput, type SavedReplyQuery, type ScheduleBroadcastParams, type SendAudioParams, type SendDocumentParams, type SendFailureDetails, type SendImageParams, type SendInteractiveParams, type SendLocationParams, type SendMediaParams, type SendOptions, type SendReactionParams, type SendReactionResult, type SendResult, type SendTemplateParams, type SendTextParams, type SendVideoParams, type SetHistoryImportParams, type SetupLink, type StageColor, type StageRule, type StageRuleInput, type SyncTemplatesParams, type TeamEvent, type TeamEventActor, type TeamEventTarget, type Template, type TemplatePayload, type TemplateSyncResult, type UnblockUserResult, type UpdateAppointment, type UpdateBroadcastParams, type UpdateCommentAiParams, type UpdateCommentRuleParams, type UpdateContactParams, type UpdateConversationalAutomationParams, type UpdateCustomerParams, type UpdateMessageRuleParams, type UpdateMessengerProfileParams, type UpdatePhoneNumberParams, type UpdateSetupLinkParams, type UpdateTemplateParams, type UpdateWebhookParams, type UpdateWhatsAppProfileParams, type UploadMediaParams, type UploadProfilePhotoParams, type User, WEBHOOK_CATEGORIES, type Webhook, type WebhookAuthorizationHeaders, type WebhookCategory, type WebhookChannelHealth, type WebhookChannelHealthStatus, type WebhookDelivery, type WebhookDeliveryReplay, type WebhookDeliveryStatus, type WebhookSubscription, type WebhookSubscriptionState, type WhatsAppBusinessProfile, type WhatsAppBusinessVertical, type WhatsAppQrCode, isBusinessPaymentRequired, isConsentOptedOut, isConsentRevoked, isFreeCap, isFreeNumberCap, isNotConnected, isPlanError };
|