@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,276 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as ChannelsAPI from "./channels.mjs";
|
|
3
|
+
import { ChannelAddParams, ChannelAddResponse, ChannelRemoveParams, ChannelSetPrimaryParams, ChannelSetPrimaryResponse, ChannelUpdateParams, ChannelUpdateResponse, Channels } from "./channels.mjs";
|
|
4
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
5
|
+
import { Cursor, type CursorParams, PagePromise } from "../../core/pagination.mjs";
|
|
6
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
7
|
+
export declare class Contacts extends APIResource {
|
|
8
|
+
channels: ChannelsAPI.Channels;
|
|
9
|
+
/**
|
|
10
|
+
* Create a new contact with one or more communication channels.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const contact = await client.contacts.create({
|
|
15
|
+
* channels: [
|
|
16
|
+
* {
|
|
17
|
+
* channel: 'sms',
|
|
18
|
+
* identifier: '+14155551234',
|
|
19
|
+
* isPrimary: true,
|
|
20
|
+
* },
|
|
21
|
+
* ],
|
|
22
|
+
* displayName: 'John Doe',
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
create(body: ContactCreateParams, options?: RequestOptions): APIPromise<Contact>;
|
|
27
|
+
/**
|
|
28
|
+
* Get contact
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const contact = await client.contacts.retrieve('contactId');
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
retrieve(contactID: string, options?: RequestOptions): APIPromise<Contact>;
|
|
36
|
+
/**
|
|
37
|
+
* Update contact
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const contact = await client.contacts.update('contactId');
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
update(contactID: string, body: ContactUpdateParams, options?: RequestOptions): APIPromise<Contact>;
|
|
45
|
+
/**
|
|
46
|
+
* List contacts with their communication channels.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* // Automatically fetches more pages as needed.
|
|
51
|
+
* for await (const contact of client.contacts.list()) {
|
|
52
|
+
* // ...
|
|
53
|
+
* }
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
list(query?: ContactListParams | null | undefined, options?: RequestOptions): PagePromise<ContactsCursor, Contact>;
|
|
57
|
+
/**
|
|
58
|
+
* Permanently delete a contact and its communication channels. Implements
|
|
59
|
+
* right-to-erasure obligations under GDPR Art. 17, Ley 19.628 (Chile) Art. 12,
|
|
60
|
+
* CCPA § 1798.105, and LGPD Art. 18.VI. The contact, its channels, and any
|
|
61
|
+
* associated agent flow sessions and conversation threads are removed. Past
|
|
62
|
+
* message records and broadcast delivery logs are retained for billing/audit but
|
|
63
|
+
* no longer reference the deleted contact.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* ```ts
|
|
67
|
+
* await client.contacts.delete('contactId');
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
delete(contactID: string, options?: RequestOptions): APIPromise<void>;
|
|
71
|
+
/**
|
|
72
|
+
* Dismiss the merge suggestion for a contact.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* ```ts
|
|
76
|
+
* await client.contacts.dismissMergeSuggestion('contactId');
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
dismissMergeSuggestion(contactID: string, options?: RequestOptions): APIPromise<void>;
|
|
80
|
+
/**
|
|
81
|
+
* Merge a source contact into this contact. All channels from the source contact
|
|
82
|
+
* will be moved to the target contact, and the source contact will be marked as
|
|
83
|
+
* merged.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* ```ts
|
|
87
|
+
* const contact = await client.contacts.merge('contactId', {
|
|
88
|
+
* sourceContactId: 'jx7xyz789',
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
merge(contactID: string, body: ContactMergeParams, options?: RequestOptions): APIPromise<Contact>;
|
|
93
|
+
/**
|
|
94
|
+
* Get contact by phone number
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* ```ts
|
|
98
|
+
* const contact = await client.contacts.retrieveByPhone(
|
|
99
|
+
* 'phoneNumber',
|
|
100
|
+
* );
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
retrieveByPhone(phoneNumber: string, options?: RequestOptions): APIPromise<Contact>;
|
|
104
|
+
}
|
|
105
|
+
export type ContactsCursor = Cursor<Contact>;
|
|
106
|
+
export interface Contact {
|
|
107
|
+
id: string;
|
|
108
|
+
/**
|
|
109
|
+
* List of available messaging channels for this contact.
|
|
110
|
+
*/
|
|
111
|
+
availableChannels: Array<string>;
|
|
112
|
+
createdAt: string;
|
|
113
|
+
metadata: {
|
|
114
|
+
[key: string]: string;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Whether this contact has been verified.
|
|
118
|
+
*/
|
|
119
|
+
verified: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* All communication channels for this contact.
|
|
122
|
+
*/
|
|
123
|
+
channels?: Array<ContactChannel>;
|
|
124
|
+
countryCode?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Preferred channel for this contact.
|
|
127
|
+
*/
|
|
128
|
+
defaultChannel?: 'sms' | 'whatsapp' | 'telegram' | 'email' | 'instagram' | 'voice';
|
|
129
|
+
/**
|
|
130
|
+
* Display name for the contact.
|
|
131
|
+
*/
|
|
132
|
+
displayName?: string;
|
|
133
|
+
/**
|
|
134
|
+
* DEPRECATED: Use primaryPhone instead. Primary phone number in E.164 format.
|
|
135
|
+
*/
|
|
136
|
+
phoneNumber?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Primary email address.
|
|
139
|
+
*/
|
|
140
|
+
primaryEmail?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Primary phone number in E.164 format.
|
|
143
|
+
*/
|
|
144
|
+
primaryPhone?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Contact's WhatsApp profile name. Only available for WhatsApp contacts.
|
|
147
|
+
*/
|
|
148
|
+
profileName?: string | null;
|
|
149
|
+
/**
|
|
150
|
+
* ID of a contact suggested for merging.
|
|
151
|
+
*/
|
|
152
|
+
suggestedMergeWith?: string;
|
|
153
|
+
updatedAt?: string;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* A communication channel for a contact.
|
|
157
|
+
*/
|
|
158
|
+
export interface ContactChannel {
|
|
159
|
+
id: string;
|
|
160
|
+
/**
|
|
161
|
+
* Channel type.
|
|
162
|
+
*/
|
|
163
|
+
channel: 'sms' | 'whatsapp' | 'email' | 'telegram' | 'voice';
|
|
164
|
+
createdAt: string;
|
|
165
|
+
/**
|
|
166
|
+
* Channel identifier (phone number or email address).
|
|
167
|
+
*/
|
|
168
|
+
identifier: string;
|
|
169
|
+
/**
|
|
170
|
+
* Whether this is the primary channel for its type.
|
|
171
|
+
*/
|
|
172
|
+
isPrimary: boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Whether this channel has been verified.
|
|
175
|
+
*/
|
|
176
|
+
verified: boolean;
|
|
177
|
+
/**
|
|
178
|
+
* ISO country code for phone numbers.
|
|
179
|
+
*/
|
|
180
|
+
countryCode?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Optional label for the channel.
|
|
183
|
+
*/
|
|
184
|
+
label?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Last time a message was received on this channel.
|
|
187
|
+
*/
|
|
188
|
+
lastInboundAt?: string;
|
|
189
|
+
metadata?: {
|
|
190
|
+
[key: string]: string;
|
|
191
|
+
};
|
|
192
|
+
/**
|
|
193
|
+
* Delivery metrics for this channel.
|
|
194
|
+
*/
|
|
195
|
+
metrics?: ContactChannel.Metrics;
|
|
196
|
+
updatedAt?: string;
|
|
197
|
+
}
|
|
198
|
+
export declare namespace ContactChannel {
|
|
199
|
+
/**
|
|
200
|
+
* Delivery metrics for this channel.
|
|
201
|
+
*/
|
|
202
|
+
interface Metrics {
|
|
203
|
+
avgDeliveryTimeMs?: number;
|
|
204
|
+
failureCount?: number;
|
|
205
|
+
lastSuccessAt?: string;
|
|
206
|
+
successCount?: number;
|
|
207
|
+
totalAttempts?: number;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
export interface ContactCreateParams {
|
|
211
|
+
/**
|
|
212
|
+
* Communication channels for the contact.
|
|
213
|
+
*/
|
|
214
|
+
channels: Array<ContactCreateParams.Channel>;
|
|
215
|
+
/**
|
|
216
|
+
* Display name for the contact.
|
|
217
|
+
*/
|
|
218
|
+
displayName?: string;
|
|
219
|
+
/**
|
|
220
|
+
* Arbitrary metadata to associate with the contact.
|
|
221
|
+
*/
|
|
222
|
+
metadata?: {
|
|
223
|
+
[key: string]: string;
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
export declare namespace ContactCreateParams {
|
|
227
|
+
/**
|
|
228
|
+
* Input for creating a contact channel.
|
|
229
|
+
*/
|
|
230
|
+
interface Channel {
|
|
231
|
+
/**
|
|
232
|
+
* Channel type.
|
|
233
|
+
*/
|
|
234
|
+
channel: 'sms' | 'whatsapp' | 'email' | 'telegram' | 'voice';
|
|
235
|
+
/**
|
|
236
|
+
* Channel identifier (phone number in E.164 format or email address).
|
|
237
|
+
*/
|
|
238
|
+
identifier: string;
|
|
239
|
+
/**
|
|
240
|
+
* ISO country code for phone numbers.
|
|
241
|
+
*/
|
|
242
|
+
countryCode?: string;
|
|
243
|
+
/**
|
|
244
|
+
* Whether this should be the primary channel for its type.
|
|
245
|
+
*/
|
|
246
|
+
isPrimary?: boolean;
|
|
247
|
+
/**
|
|
248
|
+
* Optional label for the channel.
|
|
249
|
+
*/
|
|
250
|
+
label?: string;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
export interface ContactUpdateParams {
|
|
254
|
+
/**
|
|
255
|
+
* Preferred channel for this contact. Set to null to clear.
|
|
256
|
+
*/
|
|
257
|
+
defaultChannel?: 'sms' | 'whatsapp' | 'telegram' | 'email' | 'instagram' | 'voice' | null;
|
|
258
|
+
metadata?: {
|
|
259
|
+
[key: string]: string;
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
export interface ContactListParams extends CursorParams {
|
|
263
|
+
phoneNumber?: string;
|
|
264
|
+
}
|
|
265
|
+
export interface ContactMergeParams {
|
|
266
|
+
/**
|
|
267
|
+
* ID of the contact to merge into the target contact. The source contact will be
|
|
268
|
+
* marked as merged.
|
|
269
|
+
*/
|
|
270
|
+
sourceContactId: string;
|
|
271
|
+
}
|
|
272
|
+
export declare namespace Contacts {
|
|
273
|
+
export { type Contact as Contact, type ContactChannel as ContactChannel, type ContactsCursor as ContactsCursor, type ContactCreateParams as ContactCreateParams, type ContactUpdateParams as ContactUpdateParams, type ContactListParams as ContactListParams, type ContactMergeParams as ContactMergeParams, };
|
|
274
|
+
export { Channels as Channels, type ChannelUpdateResponse as ChannelUpdateResponse, type ChannelAddResponse as ChannelAddResponse, type ChannelSetPrimaryResponse as ChannelSetPrimaryResponse, type ChannelUpdateParams as ChannelUpdateParams, type ChannelAddParams as ChannelAddParams, type ChannelRemoveParams as ChannelRemoveParams, type ChannelSetPrimaryParams as ChannelSetPrimaryParams, };
|
|
275
|
+
}
|
|
276
|
+
//# sourceMappingURL=contacts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contacts.d.mts","sourceRoot":"","sources":["../../src/resources/contacts/contacts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,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AE,OAAO,CAAC;QAEpB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,WAAW,GAAG,OAAO,GAAG,IAAI,CAAC;IAE1F,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACtC;AAED,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAID,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as ChannelsAPI from "./channels.js";
|
|
3
|
+
import { ChannelAddParams, ChannelAddResponse, ChannelRemoveParams, ChannelSetPrimaryParams, ChannelSetPrimaryResponse, ChannelUpdateParams, ChannelUpdateResponse, Channels } from "./channels.js";
|
|
4
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
5
|
+
import { Cursor, type CursorParams, PagePromise } from "../../core/pagination.js";
|
|
6
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
7
|
+
export declare class Contacts extends APIResource {
|
|
8
|
+
channels: ChannelsAPI.Channels;
|
|
9
|
+
/**
|
|
10
|
+
* Create a new contact with one or more communication channels.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const contact = await client.contacts.create({
|
|
15
|
+
* channels: [
|
|
16
|
+
* {
|
|
17
|
+
* channel: 'sms',
|
|
18
|
+
* identifier: '+14155551234',
|
|
19
|
+
* isPrimary: true,
|
|
20
|
+
* },
|
|
21
|
+
* ],
|
|
22
|
+
* displayName: 'John Doe',
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
create(body: ContactCreateParams, options?: RequestOptions): APIPromise<Contact>;
|
|
27
|
+
/**
|
|
28
|
+
* Get contact
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const contact = await client.contacts.retrieve('contactId');
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
retrieve(contactID: string, options?: RequestOptions): APIPromise<Contact>;
|
|
36
|
+
/**
|
|
37
|
+
* Update contact
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const contact = await client.contacts.update('contactId');
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
update(contactID: string, body: ContactUpdateParams, options?: RequestOptions): APIPromise<Contact>;
|
|
45
|
+
/**
|
|
46
|
+
* List contacts with their communication channels.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* // Automatically fetches more pages as needed.
|
|
51
|
+
* for await (const contact of client.contacts.list()) {
|
|
52
|
+
* // ...
|
|
53
|
+
* }
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
list(query?: ContactListParams | null | undefined, options?: RequestOptions): PagePromise<ContactsCursor, Contact>;
|
|
57
|
+
/**
|
|
58
|
+
* Permanently delete a contact and its communication channels. Implements
|
|
59
|
+
* right-to-erasure obligations under GDPR Art. 17, Ley 19.628 (Chile) Art. 12,
|
|
60
|
+
* CCPA § 1798.105, and LGPD Art. 18.VI. The contact, its channels, and any
|
|
61
|
+
* associated agent flow sessions and conversation threads are removed. Past
|
|
62
|
+
* message records and broadcast delivery logs are retained for billing/audit but
|
|
63
|
+
* no longer reference the deleted contact.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* ```ts
|
|
67
|
+
* await client.contacts.delete('contactId');
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
delete(contactID: string, options?: RequestOptions): APIPromise<void>;
|
|
71
|
+
/**
|
|
72
|
+
* Dismiss the merge suggestion for a contact.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* ```ts
|
|
76
|
+
* await client.contacts.dismissMergeSuggestion('contactId');
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
dismissMergeSuggestion(contactID: string, options?: RequestOptions): APIPromise<void>;
|
|
80
|
+
/**
|
|
81
|
+
* Merge a source contact into this contact. All channels from the source contact
|
|
82
|
+
* will be moved to the target contact, and the source contact will be marked as
|
|
83
|
+
* merged.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* ```ts
|
|
87
|
+
* const contact = await client.contacts.merge('contactId', {
|
|
88
|
+
* sourceContactId: 'jx7xyz789',
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
merge(contactID: string, body: ContactMergeParams, options?: RequestOptions): APIPromise<Contact>;
|
|
93
|
+
/**
|
|
94
|
+
* Get contact by phone number
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* ```ts
|
|
98
|
+
* const contact = await client.contacts.retrieveByPhone(
|
|
99
|
+
* 'phoneNumber',
|
|
100
|
+
* );
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
retrieveByPhone(phoneNumber: string, options?: RequestOptions): APIPromise<Contact>;
|
|
104
|
+
}
|
|
105
|
+
export type ContactsCursor = Cursor<Contact>;
|
|
106
|
+
export interface Contact {
|
|
107
|
+
id: string;
|
|
108
|
+
/**
|
|
109
|
+
* List of available messaging channels for this contact.
|
|
110
|
+
*/
|
|
111
|
+
availableChannels: Array<string>;
|
|
112
|
+
createdAt: string;
|
|
113
|
+
metadata: {
|
|
114
|
+
[key: string]: string;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Whether this contact has been verified.
|
|
118
|
+
*/
|
|
119
|
+
verified: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* All communication channels for this contact.
|
|
122
|
+
*/
|
|
123
|
+
channels?: Array<ContactChannel>;
|
|
124
|
+
countryCode?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Preferred channel for this contact.
|
|
127
|
+
*/
|
|
128
|
+
defaultChannel?: 'sms' | 'whatsapp' | 'telegram' | 'email' | 'instagram' | 'voice';
|
|
129
|
+
/**
|
|
130
|
+
* Display name for the contact.
|
|
131
|
+
*/
|
|
132
|
+
displayName?: string;
|
|
133
|
+
/**
|
|
134
|
+
* DEPRECATED: Use primaryPhone instead. Primary phone number in E.164 format.
|
|
135
|
+
*/
|
|
136
|
+
phoneNumber?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Primary email address.
|
|
139
|
+
*/
|
|
140
|
+
primaryEmail?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Primary phone number in E.164 format.
|
|
143
|
+
*/
|
|
144
|
+
primaryPhone?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Contact's WhatsApp profile name. Only available for WhatsApp contacts.
|
|
147
|
+
*/
|
|
148
|
+
profileName?: string | null;
|
|
149
|
+
/**
|
|
150
|
+
* ID of a contact suggested for merging.
|
|
151
|
+
*/
|
|
152
|
+
suggestedMergeWith?: string;
|
|
153
|
+
updatedAt?: string;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* A communication channel for a contact.
|
|
157
|
+
*/
|
|
158
|
+
export interface ContactChannel {
|
|
159
|
+
id: string;
|
|
160
|
+
/**
|
|
161
|
+
* Channel type.
|
|
162
|
+
*/
|
|
163
|
+
channel: 'sms' | 'whatsapp' | 'email' | 'telegram' | 'voice';
|
|
164
|
+
createdAt: string;
|
|
165
|
+
/**
|
|
166
|
+
* Channel identifier (phone number or email address).
|
|
167
|
+
*/
|
|
168
|
+
identifier: string;
|
|
169
|
+
/**
|
|
170
|
+
* Whether this is the primary channel for its type.
|
|
171
|
+
*/
|
|
172
|
+
isPrimary: boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Whether this channel has been verified.
|
|
175
|
+
*/
|
|
176
|
+
verified: boolean;
|
|
177
|
+
/**
|
|
178
|
+
* ISO country code for phone numbers.
|
|
179
|
+
*/
|
|
180
|
+
countryCode?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Optional label for the channel.
|
|
183
|
+
*/
|
|
184
|
+
label?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Last time a message was received on this channel.
|
|
187
|
+
*/
|
|
188
|
+
lastInboundAt?: string;
|
|
189
|
+
metadata?: {
|
|
190
|
+
[key: string]: string;
|
|
191
|
+
};
|
|
192
|
+
/**
|
|
193
|
+
* Delivery metrics for this channel.
|
|
194
|
+
*/
|
|
195
|
+
metrics?: ContactChannel.Metrics;
|
|
196
|
+
updatedAt?: string;
|
|
197
|
+
}
|
|
198
|
+
export declare namespace ContactChannel {
|
|
199
|
+
/**
|
|
200
|
+
* Delivery metrics for this channel.
|
|
201
|
+
*/
|
|
202
|
+
interface Metrics {
|
|
203
|
+
avgDeliveryTimeMs?: number;
|
|
204
|
+
failureCount?: number;
|
|
205
|
+
lastSuccessAt?: string;
|
|
206
|
+
successCount?: number;
|
|
207
|
+
totalAttempts?: number;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
export interface ContactCreateParams {
|
|
211
|
+
/**
|
|
212
|
+
* Communication channels for the contact.
|
|
213
|
+
*/
|
|
214
|
+
channels: Array<ContactCreateParams.Channel>;
|
|
215
|
+
/**
|
|
216
|
+
* Display name for the contact.
|
|
217
|
+
*/
|
|
218
|
+
displayName?: string;
|
|
219
|
+
/**
|
|
220
|
+
* Arbitrary metadata to associate with the contact.
|
|
221
|
+
*/
|
|
222
|
+
metadata?: {
|
|
223
|
+
[key: string]: string;
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
export declare namespace ContactCreateParams {
|
|
227
|
+
/**
|
|
228
|
+
* Input for creating a contact channel.
|
|
229
|
+
*/
|
|
230
|
+
interface Channel {
|
|
231
|
+
/**
|
|
232
|
+
* Channel type.
|
|
233
|
+
*/
|
|
234
|
+
channel: 'sms' | 'whatsapp' | 'email' | 'telegram' | 'voice';
|
|
235
|
+
/**
|
|
236
|
+
* Channel identifier (phone number in E.164 format or email address).
|
|
237
|
+
*/
|
|
238
|
+
identifier: string;
|
|
239
|
+
/**
|
|
240
|
+
* ISO country code for phone numbers.
|
|
241
|
+
*/
|
|
242
|
+
countryCode?: string;
|
|
243
|
+
/**
|
|
244
|
+
* Whether this should be the primary channel for its type.
|
|
245
|
+
*/
|
|
246
|
+
isPrimary?: boolean;
|
|
247
|
+
/**
|
|
248
|
+
* Optional label for the channel.
|
|
249
|
+
*/
|
|
250
|
+
label?: string;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
export interface ContactUpdateParams {
|
|
254
|
+
/**
|
|
255
|
+
* Preferred channel for this contact. Set to null to clear.
|
|
256
|
+
*/
|
|
257
|
+
defaultChannel?: 'sms' | 'whatsapp' | 'telegram' | 'email' | 'instagram' | 'voice' | null;
|
|
258
|
+
metadata?: {
|
|
259
|
+
[key: string]: string;
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
export interface ContactListParams extends CursorParams {
|
|
263
|
+
phoneNumber?: string;
|
|
264
|
+
}
|
|
265
|
+
export interface ContactMergeParams {
|
|
266
|
+
/**
|
|
267
|
+
* ID of the contact to merge into the target contact. The source contact will be
|
|
268
|
+
* marked as merged.
|
|
269
|
+
*/
|
|
270
|
+
sourceContactId: string;
|
|
271
|
+
}
|
|
272
|
+
export declare namespace Contacts {
|
|
273
|
+
export { type Contact as Contact, type ContactChannel as ContactChannel, type ContactsCursor as ContactsCursor, type ContactCreateParams as ContactCreateParams, type ContactUpdateParams as ContactUpdateParams, type ContactListParams as ContactListParams, type ContactMergeParams as ContactMergeParams, };
|
|
274
|
+
export { Channels as Channels, type ChannelUpdateResponse as ChannelUpdateResponse, type ChannelAddResponse as ChannelAddResponse, type ChannelSetPrimaryResponse as ChannelSetPrimaryResponse, type ChannelUpdateParams as ChannelUpdateParams, type ChannelAddParams as ChannelAddParams, type ChannelRemoveParams as ChannelRemoveParams, type ChannelSetPrimaryParams as ChannelSetPrimaryParams, };
|
|
275
|
+
}
|
|
276
|
+
//# sourceMappingURL=contacts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contacts.d.ts","sourceRoot":"","sources":["../../src/resources/contacts/contacts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACvB,yBAAyB,EACzB,mBAAmB,EACnB,qBAAqB,EACrB,QAAQ,EACT,sBAAmB;AACpB,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,iCAA8B;AAE/E,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,QAAS,SAAQ,WAAW;IACvC,Q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