@zavudev/sdk 0.31.0 → 0.43.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 +197 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +36 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +36 -6
- package/client.d.ts.map +1 -1
- package/client.js +42 -1
- package/client.js.map +1 -1
- package/client.mjs +42 -1
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +10 -10
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +10 -10
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/addresses.d.mts.map +1 -1
- package/resources/addresses.d.ts.map +1 -1
- package/resources/addresses.mjs.map +1 -1
- package/resources/balance.d.mts +33 -0
- package/resources/balance.d.mts.map +1 -0
- package/resources/balance.d.ts +33 -0
- package/resources/balance.d.ts.map +1 -0
- package/resources/balance.js +16 -0
- package/resources/balance.js.map +1 -0
- package/resources/balance.mjs +12 -0
- package/resources/balance.mjs.map +1 -0
- package/resources/broadcasts/broadcasts.d.mts +43 -2
- package/resources/broadcasts/broadcasts.d.mts.map +1 -1
- package/resources/broadcasts/broadcasts.d.ts +43 -2
- package/resources/broadcasts/broadcasts.d.ts.map +1 -1
- package/resources/broadcasts/broadcasts.js +28 -0
- package/resources/broadcasts/broadcasts.js.map +1 -1
- package/resources/broadcasts/broadcasts.mjs +28 -0
- package/resources/broadcasts/broadcasts.mjs.map +1 -1
- package/resources/broadcasts/contacts.d.mts +9 -1
- package/resources/broadcasts/contacts.d.mts.map +1 -1
- package/resources/broadcasts/contacts.d.ts +9 -1
- package/resources/broadcasts/contacts.d.ts.map +1 -1
- package/resources/broadcasts/contacts.mjs.map +1 -1
- package/resources/broadcasts/index.d.mts +1 -1
- package/resources/broadcasts/index.d.mts.map +1 -1
- package/resources/broadcasts/index.d.ts +1 -1
- package/resources/broadcasts/index.d.ts.map +1 -1
- package/resources/broadcasts/index.js.map +1 -1
- package/resources/broadcasts/index.mjs.map +1 -1
- package/resources/broadcasts.d.mts.map +1 -1
- package/resources/broadcasts.d.ts.map +1 -1
- package/resources/broadcasts.mjs.map +1 -1
- package/resources/contacts/channels.d.mts +127 -0
- package/resources/contacts/channels.d.mts.map +1 -0
- package/resources/contacts/channels.d.ts +127 -0
- package/resources/contacts/channels.d.ts.map +1 -0
- package/resources/contacts/channels.js +76 -0
- package/resources/contacts/channels.js.map +1 -0
- package/resources/contacts/channels.mjs +72 -0
- package/resources/contacts/channels.mjs.map +1 -0
- package/resources/contacts/contacts.d.mts +276 -0
- package/resources/contacts/contacts.d.mts.map +1 -0
- package/resources/contacts/contacts.d.ts +276 -0
- package/resources/contacts/contacts.d.ts.map +1 -0
- package/resources/contacts/contacts.js +137 -0
- package/resources/contacts/contacts.js.map +1 -0
- package/resources/contacts/contacts.mjs +132 -0
- package/resources/contacts/contacts.mjs.map +1 -0
- package/resources/contacts/index.d.mts +3 -0
- package/resources/contacts/index.d.mts.map +1 -0
- package/resources/contacts/index.d.ts +3 -0
- package/resources/contacts/index.d.ts.map +1 -0
- package/resources/contacts/index.js +9 -0
- package/resources/contacts/index.js.map +1 -0
- package/resources/contacts/index.mjs +4 -0
- package/resources/contacts/index.mjs.map +1 -0
- package/resources/contacts.d.mts +1 -144
- package/resources/contacts.d.mts.map +1 -1
- package/resources/contacts.d.ts +1 -144
- package/resources/contacts.d.ts.map +1 -1
- package/resources/contacts.js +2 -31
- package/resources/contacts.js.map +1 -1
- package/resources/contacts.mjs +1 -29
- package/resources/contacts.mjs.map +1 -1
- package/resources/exports.d.mts +101 -0
- package/resources/exports.d.mts.map +1 -0
- package/resources/exports.d.ts +101 -0
- package/resources/exports.d.ts.map +1 -0
- package/resources/exports.js +53 -0
- package/resources/exports.js.map +1 -0
- package/resources/exports.mjs +49 -0
- package/resources/exports.mjs.map +1 -0
- package/resources/functions/functions.d.mts +420 -0
- package/resources/functions/functions.d.mts.map +1 -0
- package/resources/functions/functions.d.ts +420 -0
- package/resources/functions/functions.d.ts.map +1 -0
- package/resources/functions/functions.js +129 -0
- package/resources/functions/functions.js.map +1 -0
- package/resources/functions/functions.mjs +124 -0
- package/resources/functions/functions.mjs.map +1 -0
- package/resources/functions/index.d.mts +3 -0
- package/resources/functions/index.d.mts.map +1 -0
- package/resources/functions/index.d.ts +3 -0
- package/resources/functions/index.d.ts.map +1 -0
- package/resources/functions/index.js +9 -0
- package/resources/functions/index.js.map +1 -0
- package/resources/functions/index.mjs +4 -0
- package/resources/functions/index.mjs.map +1 -0
- package/resources/functions/secrets.d.mts +78 -0
- package/resources/functions/secrets.d.mts.map +1 -0
- package/resources/functions/secrets.d.ts +78 -0
- package/resources/functions/secrets.d.ts.map +1 -0
- package/resources/functions/secrets.js +61 -0
- package/resources/functions/secrets.js.map +1 -0
- package/resources/functions/secrets.mjs +57 -0
- package/resources/functions/secrets.mjs.map +1 -0
- package/resources/functions.d.mts +2 -0
- package/resources/functions.d.mts.map +1 -0
- package/resources/functions.d.ts +2 -0
- package/resources/functions.d.ts.map +1 -0
- package/resources/functions.js +6 -0
- package/resources/functions.js.map +1 -0
- package/resources/functions.mjs +3 -0
- package/resources/functions.mjs.map +1 -0
- package/resources/index.d.mts +13 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +13 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +22 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +11 -1
- package/resources/index.mjs.map +1 -1
- package/resources/introspect.d.mts.map +1 -1
- package/resources/introspect.d.ts.map +1 -1
- package/resources/introspect.mjs.map +1 -1
- package/resources/invitations.d.mts +133 -0
- package/resources/invitations.d.mts.map +1 -0
- package/resources/invitations.d.ts +133 -0
- package/resources/invitations.d.ts.map +1 -0
- package/resources/invitations.js +67 -0
- package/resources/invitations.js.map +1 -0
- package/resources/invitations.mjs +63 -0
- package/resources/invitations.mjs.map +1 -0
- package/resources/me.d.mts +34 -0
- package/resources/me.d.mts.map +1 -0
- package/resources/me.d.ts +34 -0
- package/resources/me.d.ts.map +1 -0
- package/resources/me.js +16 -0
- package/resources/me.js.map +1 -0
- package/resources/me.mjs +12 -0
- package/resources/me.mjs.map +1 -0
- package/resources/messages.d.mts +112 -7
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +112 -7
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +24 -0
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +24 -0
- package/resources/messages.mjs.map +1 -1
- package/resources/number-10dlc/brands.d.mts +258 -0
- package/resources/number-10dlc/brands.d.mts.map +1 -0
- package/resources/number-10dlc/brands.d.ts +258 -0
- package/resources/number-10dlc/brands.d.ts.map +1 -0
- package/resources/number-10dlc/brands.js +132 -0
- package/resources/number-10dlc/brands.js.map +1 -0
- package/resources/number-10dlc/brands.mjs +128 -0
- package/resources/number-10dlc/brands.mjs.map +1 -0
- package/resources/number-10dlc/campaigns/campaigns.d.mts +223 -0
- package/resources/number-10dlc/campaigns/campaigns.d.mts.map +1 -0
- package/resources/number-10dlc/campaigns/campaigns.d.ts +223 -0
- package/resources/number-10dlc/campaigns/campaigns.d.ts.map +1 -0
- package/resources/number-10dlc/campaigns/campaigns.js +133 -0
- package/resources/number-10dlc/campaigns/campaigns.js.map +1 -0
- package/resources/number-10dlc/campaigns/campaigns.mjs +128 -0
- package/resources/number-10dlc/campaigns/campaigns.mjs.map +1 -0
- package/resources/number-10dlc/campaigns/index.d.mts +3 -0
- package/resources/number-10dlc/campaigns/index.d.mts.map +1 -0
- package/resources/number-10dlc/campaigns/index.d.ts +3 -0
- package/resources/number-10dlc/campaigns/index.d.ts.map +1 -0
- package/resources/number-10dlc/campaigns/index.js +9 -0
- package/resources/number-10dlc/campaigns/index.js.map +1 -0
- package/resources/number-10dlc/campaigns/index.mjs +4 -0
- package/resources/number-10dlc/campaigns/index.mjs.map +1 -0
- package/resources/number-10dlc/campaigns/phone-numbers.d.mts +79 -0
- package/resources/number-10dlc/campaigns/phone-numbers.d.mts.map +1 -0
- package/resources/number-10dlc/campaigns/phone-numbers.d.ts +79 -0
- package/resources/number-10dlc/campaigns/phone-numbers.d.ts.map +1 -0
- package/resources/number-10dlc/campaigns/phone-numbers.js +59 -0
- package/resources/number-10dlc/campaigns/phone-numbers.js.map +1 -0
- package/resources/number-10dlc/campaigns/phone-numbers.mjs +55 -0
- package/resources/number-10dlc/campaigns/phone-numbers.mjs.map +1 -0
- package/resources/number-10dlc/campaigns.d.mts +2 -0
- package/resources/number-10dlc/campaigns.d.mts.map +1 -0
- package/resources/number-10dlc/campaigns.d.ts +2 -0
- package/resources/number-10dlc/campaigns.d.ts.map +1 -0
- package/resources/number-10dlc/campaigns.js +6 -0
- package/resources/number-10dlc/campaigns.js.map +1 -0
- package/resources/number-10dlc/campaigns.mjs +3 -0
- package/resources/number-10dlc/campaigns.mjs.map +1 -0
- package/resources/number-10dlc/index.d.mts +4 -0
- package/resources/number-10dlc/index.d.mts.map +1 -0
- package/resources/number-10dlc/index.d.ts +4 -0
- package/resources/number-10dlc/index.d.ts.map +1 -0
- package/resources/number-10dlc/index.js +11 -0
- package/resources/number-10dlc/index.js.map +1 -0
- package/resources/number-10dlc/index.mjs +5 -0
- package/resources/number-10dlc/index.mjs.map +1 -0
- package/resources/number-10dlc/number-10dlc.d.mts +14 -0
- package/resources/number-10dlc/number-10dlc.d.mts.map +1 -0
- package/resources/number-10dlc/number-10dlc.d.ts +14 -0
- package/resources/number-10dlc/number-10dlc.d.ts.map +1 -0
- package/resources/number-10dlc/number-10dlc.js +21 -0
- package/resources/number-10dlc/number-10dlc.js.map +1 -0
- package/resources/number-10dlc/number-10dlc.mjs +16 -0
- package/resources/number-10dlc/number-10dlc.mjs.map +1 -0
- package/resources/number-10dlc.d.mts +2 -0
- package/resources/number-10dlc.d.mts.map +1 -0
- package/resources/number-10dlc.d.ts +2 -0
- package/resources/number-10dlc.d.ts.map +1 -0
- package/resources/number-10dlc.js +6 -0
- package/resources/number-10dlc.js.map +1 -0
- package/resources/number-10dlc.mjs +3 -0
- package/resources/number-10dlc.mjs.map +1 -0
- package/resources/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers.d.ts.map +1 -1
- package/resources/phone-numbers.mjs.map +1 -1
- package/resources/plan.d.mts +43 -0
- package/resources/plan.d.mts.map +1 -0
- package/resources/plan.d.ts +43 -0
- package/resources/plan.d.ts.map +1 -0
- package/resources/plan.js +16 -0
- package/resources/plan.js.map +1 -0
- package/resources/plan.mjs +12 -0
- package/resources/plan.mjs.map +1 -0
- package/resources/regulatory-documents.d.mts.map +1 -1
- package/resources/regulatory-documents.d.ts.map +1 -1
- package/resources/regulatory-documents.mjs.map +1 -1
- package/resources/senders/agent/agent.d.mts +6 -6
- package/resources/senders/agent/agent.d.mts.map +1 -1
- package/resources/senders/agent/agent.d.ts +6 -6
- package/resources/senders/agent/agent.d.ts.map +1 -1
- package/resources/senders/agent/agent.js.map +1 -1
- package/resources/senders/agent/agent.mjs +1 -1
- package/resources/senders/agent/agent.mjs.map +1 -1
- package/resources/senders/agent/executions.d.mts +22 -1
- package/resources/senders/agent/executions.d.mts.map +1 -1
- package/resources/senders/agent/executions.d.ts +22 -1
- package/resources/senders/agent/executions.d.ts.map +1 -1
- package/resources/senders/agent/executions.js +17 -0
- package/resources/senders/agent/executions.js.map +1 -1
- package/resources/senders/agent/executions.mjs +17 -0
- package/resources/senders/agent/executions.mjs.map +1 -1
- package/resources/senders/agent/flows.d.mts +40 -114
- package/resources/senders/agent/flows.d.mts.map +1 -1
- package/resources/senders/agent/flows.d.ts +40 -114
- package/resources/senders/agent/flows.d.ts.map +1 -1
- package/resources/senders/agent/flows.mjs.map +1 -1
- package/resources/senders/agent/index.d.mts +3 -3
- package/resources/senders/agent/index.d.mts.map +1 -1
- package/resources/senders/agent/index.d.ts +3 -3
- package/resources/senders/agent/index.d.ts.map +1 -1
- package/resources/senders/agent/index.js.map +1 -1
- package/resources/senders/agent/index.mjs +1 -1
- package/resources/senders/agent/index.mjs.map +1 -1
- package/resources/senders/agent/knowledge-bases/documents.d.mts.map +1 -1
- package/resources/senders/agent/knowledge-bases/documents.d.ts.map +1 -1
- package/resources/senders/agent/knowledge-bases/documents.mjs.map +1 -1
- package/resources/senders/agent/knowledge-bases/index.d.mts.map +1 -1
- package/resources/senders/agent/knowledge-bases/index.d.ts.map +1 -1
- package/resources/senders/agent/knowledge-bases/index.mjs.map +1 -1
- package/resources/senders/agent/knowledge-bases/knowledge-bases.d.mts.map +1 -1
- package/resources/senders/agent/knowledge-bases/knowledge-bases.d.ts.map +1 -1
- package/resources/senders/agent/knowledge-bases/knowledge-bases.mjs.map +1 -1
- package/resources/senders/agent/knowledge-bases.d.mts.map +1 -1
- package/resources/senders/agent/knowledge-bases.d.ts.map +1 -1
- package/resources/senders/agent/knowledge-bases.mjs.map +1 -1
- package/resources/senders/agent/tools.d.mts +15 -47
- package/resources/senders/agent/tools.d.mts.map +1 -1
- package/resources/senders/agent/tools.d.ts +15 -47
- package/resources/senders/agent/tools.d.ts.map +1 -1
- package/resources/senders/agent/tools.mjs.map +1 -1
- package/resources/senders/agent.d.mts.map +1 -1
- package/resources/senders/agent.d.ts.map +1 -1
- package/resources/senders/agent.mjs.map +1 -1
- package/resources/senders/index.d.mts +1 -0
- package/resources/senders/index.d.mts.map +1 -1
- package/resources/senders/index.d.ts +1 -0
- package/resources/senders/index.d.ts.map +1 -1
- package/resources/senders/index.js +3 -1
- package/resources/senders/index.js.map +1 -1
- package/resources/senders/index.mjs +1 -0
- package/resources/senders/index.mjs.map +1 -1
- package/resources/senders/senders.d.mts +24 -1
- package/resources/senders/senders.d.mts.map +1 -1
- package/resources/senders/senders.d.ts +24 -1
- package/resources/senders/senders.d.ts.map +1 -1
- package/resources/senders/senders.js +4 -0
- package/resources/senders/senders.js.map +1 -1
- package/resources/senders/senders.mjs +4 -0
- package/resources/senders/senders.mjs.map +1 -1
- package/resources/senders/whatsapp-sync.d.mts +134 -0
- package/resources/senders/whatsapp-sync.d.mts.map +1 -0
- package/resources/senders/whatsapp-sync.d.ts +134 -0
- package/resources/senders/whatsapp-sync.d.ts.map +1 -0
- package/resources/senders/whatsapp-sync.js +56 -0
- package/resources/senders/whatsapp-sync.js.map +1 -0
- package/resources/senders/whatsapp-sync.mjs +52 -0
- package/resources/senders/whatsapp-sync.mjs.map +1 -0
- package/resources/senders.d.mts.map +1 -1
- package/resources/senders.d.ts.map +1 -1
- package/resources/senders.mjs.map +1 -1
- package/resources/sub-accounts/api-keys.d.mts +88 -0
- package/resources/sub-accounts/api-keys.d.mts.map +1 -0
- package/resources/sub-accounts/api-keys.d.ts +88 -0
- package/resources/sub-accounts/api-keys.d.ts.map +1 -0
- package/resources/sub-accounts/api-keys.js +56 -0
- package/resources/sub-accounts/api-keys.js.map +1 -0
- package/resources/sub-accounts/api-keys.mjs +52 -0
- package/resources/sub-accounts/api-keys.mjs.map +1 -0
- package/resources/sub-accounts/index.d.mts +3 -0
- package/resources/sub-accounts/index.d.mts.map +1 -0
- package/resources/sub-accounts/index.d.ts +3 -0
- package/resources/sub-accounts/index.d.ts.map +1 -0
- package/resources/sub-accounts/index.js +9 -0
- package/resources/sub-accounts/index.js.map +1 -0
- package/resources/sub-accounts/index.mjs +4 -0
- package/resources/sub-accounts/index.mjs.map +1 -0
- package/resources/sub-accounts/sub-accounts.d.mts +174 -0
- package/resources/sub-accounts/sub-accounts.d.mts.map +1 -0
- package/resources/sub-accounts/sub-accounts.d.ts +174 -0
- package/resources/sub-accounts/sub-accounts.d.ts.map +1 -0
- package/resources/sub-accounts/sub-accounts.js +100 -0
- package/resources/sub-accounts/sub-accounts.js.map +1 -0
- package/resources/sub-accounts/sub-accounts.mjs +95 -0
- package/resources/sub-accounts/sub-accounts.mjs.map +1 -0
- package/resources/sub-accounts.d.mts +2 -0
- package/resources/sub-accounts.d.mts.map +1 -0
- package/resources/sub-accounts.d.ts +2 -0
- package/resources/sub-accounts.d.ts.map +1 -0
- package/resources/sub-accounts.js +6 -0
- package/resources/sub-accounts.js.map +1 -0
- package/resources/sub-accounts.mjs +3 -0
- package/resources/sub-accounts.mjs.map +1 -0
- package/resources/templates.d.mts +58 -2
- package/resources/templates.d.mts.map +1 -1
- package/resources/templates.d.ts +58 -2
- package/resources/templates.d.ts.map +1 -1
- package/resources/templates.mjs.map +1 -1
- package/resources/urls.d.mts +88 -0
- package/resources/urls.d.mts.map +1 -0
- package/resources/urls.d.ts +88 -0
- package/resources/urls.d.ts.map +1 -0
- package/resources/urls.js +55 -0
- package/resources/urls.js.map +1 -0
- package/resources/urls.mjs +51 -0
- package/resources/urls.mjs.map +1 -0
- package/resources/usage.d.mts +36 -0
- package/resources/usage.d.mts.map +1 -0
- package/resources/usage.d.ts +36 -0
- package/resources/usage.d.ts.map +1 -0
- package/resources/usage.js +16 -0
- package/resources/usage.js.map +1 -0
- package/resources/usage.mjs +12 -0
- package/resources/usage.mjs.map +1 -0
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +182 -6
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/env.ts +2 -2
- package/src/internal/utils/log.ts +2 -0
- package/src/resources/balance.ts +43 -0
- package/src/resources/broadcasts/broadcasts.ts +50 -1
- package/src/resources/broadcasts/contacts.ts +8 -1
- package/src/resources/broadcasts/index.ts +2 -0
- package/src/resources/contacts/channels.ts +177 -0
- package/src/resources/contacts/contacts.ts +380 -0
- package/src/resources/contacts/index.ts +22 -0
- package/src/resources/contacts.ts +1 -196
- package/src/resources/exports.ts +141 -0
- package/src/resources/functions/functions.ts +562 -0
- package/src/resources/functions/index.ts +23 -0
- package/src/resources/functions/secrets.ts +112 -0
- package/src/resources/functions.ts +3 -0
- package/src/resources/index.ts +68 -1
- package/src/resources/invitations.ts +188 -0
- package/src/resources/me.ts +49 -0
- package/src/resources/messages.ts +140 -4
- package/src/resources/number-10dlc/brands.ts +377 -0
- package/src/resources/number-10dlc/campaigns/campaigns.ts +349 -0
- package/src/resources/number-10dlc/campaigns/index.ts +23 -0
- package/src/resources/number-10dlc/campaigns/phone-numbers.ts +123 -0
- package/src/resources/number-10dlc/campaigns.ts +3 -0
- package/src/resources/number-10dlc/index.ts +30 -0
- package/src/resources/number-10dlc/number-10dlc.ts +71 -0
- package/src/resources/number-10dlc.ts +3 -0
- package/src/resources/plan.ts +62 -0
- package/src/resources/senders/agent/agent.ts +18 -2
- package/src/resources/senders/agent/executions.ts +36 -1
- package/src/resources/senders/agent/flows.ts +44 -126
- package/src/resources/senders/agent/index.ts +9 -1
- package/src/resources/senders/agent/tools.ts +13 -50
- package/src/resources/senders/index.ts +9 -0
- package/src/resources/senders/senders.ts +47 -1
- package/src/resources/senders/whatsapp-sync.ts +175 -0
- package/src/resources/sub-accounts/api-keys.ts +129 -0
- package/src/resources/sub-accounts/index.ts +22 -0
- package/src/resources/sub-accounts/sub-accounts.ts +252 -0
- package/src/resources/sub-accounts.ts +3 -0
- package/src/resources/templates.ts +69 -2
- package/src/resources/urls.ts +125 -0
- package/src/resources/usage.ts +48 -0
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as SecretsAPI from "./secrets.mjs";
|
|
3
|
+
import { SecretListResponse, SecretSetParams, SecretSetResponse, SecretUnsetParams, Secrets } from "./secrets.mjs";
|
|
4
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
5
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
6
|
+
export declare class Functions extends APIResource {
|
|
7
|
+
secrets: SecretsAPI.Secrets;
|
|
8
|
+
/**
|
|
9
|
+
* Create a new Zavu Function. The function starts in `draft` status. A dedicated
|
|
10
|
+
* API key is auto-provisioned and injected as the `ZAVU_API_KEY` secret so the
|
|
11
|
+
* function can call back into the Zavu API without manual setup.
|
|
12
|
+
*
|
|
13
|
+
* Provide `sourceCode` to seed the draft. Call
|
|
14
|
+
* `POST /v1/functions/{functionId}/deploy` afterwards to publish.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* const _function = await client.functions.create({
|
|
19
|
+
* name: 'Order Bot',
|
|
20
|
+
* slug: 'order-bot',
|
|
21
|
+
* dependencies: { openai: '^4.20.0' },
|
|
22
|
+
* description:
|
|
23
|
+
* 'Replies to order status questions on WhatsApp.',
|
|
24
|
+
* sourceCode:
|
|
25
|
+
* "import { defineFunction } from '@zavu/functions';\n\nexport default defineFunction(async (event, ctx) => {\n ctx.log('received', event.type);\n});\n",
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
create(body: FunctionCreateParams, options?: RequestOptions): APIPromise<FunctionCreateResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* Get function
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const _function = await client.functions.retrieve(
|
|
36
|
+
* 'functionId',
|
|
37
|
+
* );
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
retrieve(functionID: string, options?: RequestOptions): APIPromise<FunctionRetrieveResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Update the draft source code and/or dependency map without triggering a build.
|
|
43
|
+
* Visible in the dashboard immediately, but the live (deployed) function does not
|
|
44
|
+
* change until `POST /v1/functions/{functionId}/deploy` runs.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* const _function = await client.functions.update(
|
|
49
|
+
* 'functionId',
|
|
50
|
+
* );
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
update(functionID: string, body: FunctionUpdateParams, options?: RequestOptions): APIPromise<FunctionUpdateResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Permanently delete a function and cascade: triggers, secrets, deployment
|
|
56
|
+
* history, managed agents+tools, and revoke the auto-provisioned API key. The AWS
|
|
57
|
+
* Lambda + log group are torn down asynchronously.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* const _function = await client.functions.delete(
|
|
62
|
+
* 'functionId',
|
|
63
|
+
* );
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
delete(functionID: string, options?: RequestOptions): APIPromise<FunctionDeleteResponse>;
|
|
67
|
+
/**
|
|
68
|
+
* Publish the function. If `sourceCode` or `dependencies` are provided in the
|
|
69
|
+
* body, they replace the current draft before deployment. Returns immediately with
|
|
70
|
+
* a deployment ID — poll `GET /v1/functions/deployments/{deploymentId}` until
|
|
71
|
+
* status is `active` or `failed`.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```ts
|
|
75
|
+
* const response = await client.functions.deploy(
|
|
76
|
+
* 'functionId',
|
|
77
|
+
* );
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
deploy(functionID: string, body?: FunctionDeployParams | null | undefined, options?: RequestOptions): APIPromise<FunctionDeployResponse>;
|
|
81
|
+
/**
|
|
82
|
+
* Fetch a deployment to poll its status during a deploy.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ```ts
|
|
86
|
+
* const response = await client.functions.getDeployment(
|
|
87
|
+
* 'deploymentId',
|
|
88
|
+
* );
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
getDeployment(deploymentID: string, options?: RequestOptions): APIPromise<FunctionGetDeploymentResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* Fetch invocation logs for a function. Logs are paginated via `nextToken`. Pass
|
|
94
|
+
* `startTime` / `endTime` (Unix epoch milliseconds) to bound the window, or
|
|
95
|
+
* `filterPattern` to filter messages.
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* ```ts
|
|
99
|
+
* const response = await client.functions.tailLogs(
|
|
100
|
+
* 'functionId',
|
|
101
|
+
* );
|
|
102
|
+
* ```
|
|
103
|
+
*/
|
|
104
|
+
tailLogs(functionID: string, query?: FunctionTailLogsParams | null | undefined, options?: RequestOptions): APIPromise<FunctionTailLogsResponse>;
|
|
105
|
+
}
|
|
106
|
+
export interface FunctionCreateResponse {
|
|
107
|
+
/**
|
|
108
|
+
* A Zavu Function — user-supplied TypeScript that runs in Zavu Cloud and reacts to
|
|
109
|
+
* messaging events or HTTP requests.
|
|
110
|
+
*/
|
|
111
|
+
function: FunctionCreateResponse.Function;
|
|
112
|
+
}
|
|
113
|
+
export declare namespace FunctionCreateResponse {
|
|
114
|
+
/**
|
|
115
|
+
* A Zavu Function — user-supplied TypeScript that runs in Zavu Cloud and reacts to
|
|
116
|
+
* messaging events or HTTP requests.
|
|
117
|
+
*/
|
|
118
|
+
interface Function {
|
|
119
|
+
id: string;
|
|
120
|
+
createdAt: string;
|
|
121
|
+
/**
|
|
122
|
+
* npm dependencies installed in the function bundle. Keys are package names,
|
|
123
|
+
* values are semver ranges.
|
|
124
|
+
*/
|
|
125
|
+
dependencies: {
|
|
126
|
+
[key: string]: string;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Whether the function can be invoked over HTTPS via its public URL.
|
|
130
|
+
*/
|
|
131
|
+
httpEnabled: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Memory allocation in MB.
|
|
134
|
+
*/
|
|
135
|
+
memoryMb: number;
|
|
136
|
+
name: string;
|
|
137
|
+
/**
|
|
138
|
+
* Runtime the function is deployed on.
|
|
139
|
+
*/
|
|
140
|
+
runtime: 'nodejs24';
|
|
141
|
+
/**
|
|
142
|
+
* URL-safe identifier, unique per project.
|
|
143
|
+
*/
|
|
144
|
+
slug: string;
|
|
145
|
+
/**
|
|
146
|
+
* Lifecycle status of a Zavu Function.
|
|
147
|
+
*/
|
|
148
|
+
status: 'draft' | 'bundling' | 'deploying' | 'active' | 'failed' | 'disabled';
|
|
149
|
+
/**
|
|
150
|
+
* Per-invocation timeout in seconds.
|
|
151
|
+
*/
|
|
152
|
+
timeoutSec: number;
|
|
153
|
+
updatedAt: string;
|
|
154
|
+
/**
|
|
155
|
+
* ID of the deployment currently serving traffic.
|
|
156
|
+
*/
|
|
157
|
+
activeDeploymentId?: string | null;
|
|
158
|
+
description?: string | null;
|
|
159
|
+
/**
|
|
160
|
+
* HTTPS endpoint when httpEnabled is true.
|
|
161
|
+
*/
|
|
162
|
+
publicUrl?: string | null;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
export interface FunctionRetrieveResponse {
|
|
166
|
+
/**
|
|
167
|
+
* A Zavu Function — user-supplied TypeScript that runs in Zavu Cloud and reacts to
|
|
168
|
+
* messaging events or HTTP requests.
|
|
169
|
+
*/
|
|
170
|
+
function: FunctionRetrieveResponse.Function;
|
|
171
|
+
}
|
|
172
|
+
export declare namespace FunctionRetrieveResponse {
|
|
173
|
+
/**
|
|
174
|
+
* A Zavu Function — user-supplied TypeScript that runs in Zavu Cloud and reacts to
|
|
175
|
+
* messaging events or HTTP requests.
|
|
176
|
+
*/
|
|
177
|
+
interface Function {
|
|
178
|
+
id: string;
|
|
179
|
+
createdAt: string;
|
|
180
|
+
/**
|
|
181
|
+
* npm dependencies installed in the function bundle. Keys are package names,
|
|
182
|
+
* values are semver ranges.
|
|
183
|
+
*/
|
|
184
|
+
dependencies: {
|
|
185
|
+
[key: string]: string;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* Whether the function can be invoked over HTTPS via its public URL.
|
|
189
|
+
*/
|
|
190
|
+
httpEnabled: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* Memory allocation in MB.
|
|
193
|
+
*/
|
|
194
|
+
memoryMb: number;
|
|
195
|
+
name: string;
|
|
196
|
+
/**
|
|
197
|
+
* Runtime the function is deployed on.
|
|
198
|
+
*/
|
|
199
|
+
runtime: 'nodejs24';
|
|
200
|
+
/**
|
|
201
|
+
* URL-safe identifier, unique per project.
|
|
202
|
+
*/
|
|
203
|
+
slug: string;
|
|
204
|
+
/**
|
|
205
|
+
* Lifecycle status of a Zavu Function.
|
|
206
|
+
*/
|
|
207
|
+
status: 'draft' | 'bundling' | 'deploying' | 'active' | 'failed' | 'disabled';
|
|
208
|
+
/**
|
|
209
|
+
* Per-invocation timeout in seconds.
|
|
210
|
+
*/
|
|
211
|
+
timeoutSec: number;
|
|
212
|
+
updatedAt: string;
|
|
213
|
+
/**
|
|
214
|
+
* ID of the deployment currently serving traffic.
|
|
215
|
+
*/
|
|
216
|
+
activeDeploymentId?: string | null;
|
|
217
|
+
description?: string | null;
|
|
218
|
+
/**
|
|
219
|
+
* HTTPS endpoint when httpEnabled is true.
|
|
220
|
+
*/
|
|
221
|
+
publicUrl?: string | null;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
export interface FunctionUpdateResponse {
|
|
225
|
+
/**
|
|
226
|
+
* A Zavu Function — user-supplied TypeScript that runs in Zavu Cloud and reacts to
|
|
227
|
+
* messaging events or HTTP requests.
|
|
228
|
+
*/
|
|
229
|
+
function: FunctionUpdateResponse.Function;
|
|
230
|
+
}
|
|
231
|
+
export declare namespace FunctionUpdateResponse {
|
|
232
|
+
/**
|
|
233
|
+
* A Zavu Function — user-supplied TypeScript that runs in Zavu Cloud and reacts to
|
|
234
|
+
* messaging events or HTTP requests.
|
|
235
|
+
*/
|
|
236
|
+
interface Function {
|
|
237
|
+
id: string;
|
|
238
|
+
createdAt: string;
|
|
239
|
+
/**
|
|
240
|
+
* npm dependencies installed in the function bundle. Keys are package names,
|
|
241
|
+
* values are semver ranges.
|
|
242
|
+
*/
|
|
243
|
+
dependencies: {
|
|
244
|
+
[key: string]: string;
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* Whether the function can be invoked over HTTPS via its public URL.
|
|
248
|
+
*/
|
|
249
|
+
httpEnabled: boolean;
|
|
250
|
+
/**
|
|
251
|
+
* Memory allocation in MB.
|
|
252
|
+
*/
|
|
253
|
+
memoryMb: number;
|
|
254
|
+
name: string;
|
|
255
|
+
/**
|
|
256
|
+
* Runtime the function is deployed on.
|
|
257
|
+
*/
|
|
258
|
+
runtime: 'nodejs24';
|
|
259
|
+
/**
|
|
260
|
+
* URL-safe identifier, unique per project.
|
|
261
|
+
*/
|
|
262
|
+
slug: string;
|
|
263
|
+
/**
|
|
264
|
+
* Lifecycle status of a Zavu Function.
|
|
265
|
+
*/
|
|
266
|
+
status: 'draft' | 'bundling' | 'deploying' | 'active' | 'failed' | 'disabled';
|
|
267
|
+
/**
|
|
268
|
+
* Per-invocation timeout in seconds.
|
|
269
|
+
*/
|
|
270
|
+
timeoutSec: number;
|
|
271
|
+
updatedAt: string;
|
|
272
|
+
/**
|
|
273
|
+
* ID of the deployment currently serving traffic.
|
|
274
|
+
*/
|
|
275
|
+
activeDeploymentId?: string | null;
|
|
276
|
+
description?: string | null;
|
|
277
|
+
/**
|
|
278
|
+
* HTTPS endpoint when httpEnabled is true.
|
|
279
|
+
*/
|
|
280
|
+
publicUrl?: string | null;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
export interface FunctionDeleteResponse {
|
|
284
|
+
deleted: boolean;
|
|
285
|
+
name?: string;
|
|
286
|
+
slug?: string;
|
|
287
|
+
}
|
|
288
|
+
export interface FunctionDeployResponse {
|
|
289
|
+
deployment: FunctionDeployResponse.Deployment;
|
|
290
|
+
}
|
|
291
|
+
export declare namespace FunctionDeployResponse {
|
|
292
|
+
interface Deployment {
|
|
293
|
+
id: string;
|
|
294
|
+
createdAt: string;
|
|
295
|
+
functionId: string;
|
|
296
|
+
/**
|
|
297
|
+
* Stage of a function deployment.
|
|
298
|
+
*/
|
|
299
|
+
status: 'pending' | 'bundling' | 'uploading' | 'publishing' | 'active' | 'failed' | 'superseded';
|
|
300
|
+
/**
|
|
301
|
+
* Monotonically increasing deployment version, starting at 1.
|
|
302
|
+
*/
|
|
303
|
+
version: number;
|
|
304
|
+
bundleBytes?: number | null;
|
|
305
|
+
deployedAt?: string | null;
|
|
306
|
+
/**
|
|
307
|
+
* Failure reason when status is 'failed'.
|
|
308
|
+
*/
|
|
309
|
+
errorMessage?: string | null;
|
|
310
|
+
sourceCodeBytes?: number | null;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
export interface FunctionGetDeploymentResponse {
|
|
314
|
+
deployment: FunctionGetDeploymentResponse.Deployment;
|
|
315
|
+
}
|
|
316
|
+
export declare namespace FunctionGetDeploymentResponse {
|
|
317
|
+
interface Deployment {
|
|
318
|
+
id: string;
|
|
319
|
+
createdAt: string;
|
|
320
|
+
functionId: string;
|
|
321
|
+
/**
|
|
322
|
+
* Stage of a function deployment.
|
|
323
|
+
*/
|
|
324
|
+
status: 'pending' | 'bundling' | 'uploading' | 'publishing' | 'active' | 'failed' | 'superseded';
|
|
325
|
+
/**
|
|
326
|
+
* Monotonically increasing deployment version, starting at 1.
|
|
327
|
+
*/
|
|
328
|
+
version: number;
|
|
329
|
+
bundleBytes?: number | null;
|
|
330
|
+
deployedAt?: string | null;
|
|
331
|
+
/**
|
|
332
|
+
* Failure reason when status is 'failed'.
|
|
333
|
+
*/
|
|
334
|
+
errorMessage?: string | null;
|
|
335
|
+
sourceCodeBytes?: number | null;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
export interface FunctionTailLogsResponse {
|
|
339
|
+
events: Array<FunctionTailLogsResponse.Event>;
|
|
340
|
+
/**
|
|
341
|
+
* Pass to the next request to fetch the following page of logs.
|
|
342
|
+
*/
|
|
343
|
+
nextToken?: string | null;
|
|
344
|
+
}
|
|
345
|
+
export declare namespace FunctionTailLogsResponse {
|
|
346
|
+
interface Event {
|
|
347
|
+
message: string;
|
|
348
|
+
timestamp: string;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
export interface FunctionCreateParams {
|
|
352
|
+
name: string;
|
|
353
|
+
/**
|
|
354
|
+
* URL-safe identifier (lowercase, digits, hyphens). Must be unique per project.
|
|
355
|
+
*/
|
|
356
|
+
slug: string;
|
|
357
|
+
/**
|
|
358
|
+
* npm dependencies. Keys are package names, values are semver ranges.
|
|
359
|
+
*/
|
|
360
|
+
dependencies?: {
|
|
361
|
+
[key: string]: string;
|
|
362
|
+
};
|
|
363
|
+
description?: string;
|
|
364
|
+
/**
|
|
365
|
+
* Whether to expose a public HTTPS URL for this function.
|
|
366
|
+
*/
|
|
367
|
+
httpEnabled?: boolean;
|
|
368
|
+
memoryMb?: 128 | 256 | 512 | 1024;
|
|
369
|
+
/**
|
|
370
|
+
* Runtime the function is deployed on.
|
|
371
|
+
*/
|
|
372
|
+
runtime?: 'nodejs24';
|
|
373
|
+
/**
|
|
374
|
+
* TypeScript source code for the function entry point (max ~900KB).
|
|
375
|
+
*/
|
|
376
|
+
sourceCode?: string;
|
|
377
|
+
timeoutSec?: number;
|
|
378
|
+
}
|
|
379
|
+
export interface FunctionUpdateParams {
|
|
380
|
+
/**
|
|
381
|
+
* New dependency map (replaces existing dependencies).
|
|
382
|
+
*/
|
|
383
|
+
dependencies?: {
|
|
384
|
+
[key: string]: string;
|
|
385
|
+
};
|
|
386
|
+
/**
|
|
387
|
+
* New source code to publish (replaces the draft).
|
|
388
|
+
*/
|
|
389
|
+
sourceCode?: string;
|
|
390
|
+
}
|
|
391
|
+
export interface FunctionDeployParams {
|
|
392
|
+
/**
|
|
393
|
+
* New dependency map (replaces existing dependencies).
|
|
394
|
+
*/
|
|
395
|
+
dependencies?: {
|
|
396
|
+
[key: string]: string;
|
|
397
|
+
};
|
|
398
|
+
/**
|
|
399
|
+
* New source code to publish (replaces the draft).
|
|
400
|
+
*/
|
|
401
|
+
sourceCode?: string;
|
|
402
|
+
}
|
|
403
|
+
export interface FunctionTailLogsParams {
|
|
404
|
+
/**
|
|
405
|
+
* End of the log window in Unix epoch milliseconds.
|
|
406
|
+
*/
|
|
407
|
+
endTime?: number;
|
|
408
|
+
filterPattern?: string;
|
|
409
|
+
limit?: number;
|
|
410
|
+
nextToken?: string;
|
|
411
|
+
/**
|
|
412
|
+
* Start of the log window in Unix epoch milliseconds.
|
|
413
|
+
*/
|
|
414
|
+
startTime?: number;
|
|
415
|
+
}
|
|
416
|
+
export declare namespace Functions {
|
|
417
|
+
export { type FunctionCreateResponse as FunctionCreateResponse, type FunctionRetrieveResponse as FunctionRetrieveResponse, type FunctionUpdateResponse as FunctionUpdateResponse, type FunctionDeleteResponse as FunctionDeleteResponse, type FunctionDeployResponse as FunctionDeployResponse, type FunctionGetDeploymentResponse as FunctionGetDeploymentResponse, type FunctionTailLogsResponse as FunctionTailLogsResponse, type FunctionCreateParams as FunctionCreateParams, type FunctionUpdateParams as FunctionUpdateParams, type FunctionDeployParams as FunctionDeployParams, type FunctionTailLogsParams as FunctionTailLogsParams, };
|
|
418
|
+
export { Secrets as Secrets, type SecretListResponse as SecretListResponse, type SecretSetResponse as SecretSetResponse, type SecretSetParams as SecretSetParams, type SecretUnsetParams as SecretUnsetParams, };
|
|
419
|
+
}
|
|
420
|
+
//# sourceMappingURL=functions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":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