@botozap/sdk 0.25.0 → 0.26.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 +14 -0
- package/README.md +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -3
- package/dist/index.d.ts +10 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @botozap/sdk
|
|
2
2
|
|
|
3
|
+
## 0.26.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e131e97: Declaração do dono em follow-up de Marketing.
|
|
8
|
+
|
|
9
|
+
- `AiFlowSettings.marketing_consent` (`required` | `declared`, só em
|
|
10
|
+
`marketing`): com `declared`, quem publica declara que os contatos do fluxo
|
|
11
|
+
autorizaram marketing. No envio, contato sem registro ganha `granted` com a
|
|
12
|
+
origem nova `owner_declaration`; `revoked` sempre bloqueia. O MCP aceita o
|
|
13
|
+
campo nas configurações do fluxo.
|
|
14
|
+
- `ConsentOrigin` ganha `owner_declaration`, e as descrições do MCP e os READMEs
|
|
15
|
+
citam a origem.
|
|
16
|
+
|
|
3
17
|
## 0.25.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -480,7 +480,8 @@ Cada contato tem um consentimento por canal (`whatsapp` ou `instagram`) e
|
|
|
480
480
|
finalidade (`marketing` ou `utility`), com a origem de cada registro: `manual`,
|
|
481
481
|
`import`, `api`, `keyword` (Palavra de saída), `conversation_button` (botão do
|
|
482
482
|
pedido de consentimento), `contact_keyword` (Palavra de volta), `template_button`
|
|
483
|
-
(botão de saída do template)
|
|
483
|
+
(botão de saída do template), `meta_opt_out` (recusa informada pela Meta) e
|
|
484
|
+
`owner_declaration` (declaração do dono num follow-up de Marketing). Só o
|
|
484
485
|
próprio contato volta a aceitar depois de recusar.
|
|
485
486
|
|
|
486
487
|
```ts
|