@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 @@
|
|
|
1
|
+
{"version":3,"file":"functions.mjs","sourceRoot":"","sources":["../../src/resources/functions/functions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAKL,OAAO,GACR,sBAAkB;AAGnB,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,SAAU,SAAQ,WAAW;IAA1C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAmIrE,CAAC;IAjIC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,CAAC,IAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,UAAkB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iBAAiB,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,UAAkB,EAClB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,iBAAiB,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,UAAkB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,iBAAiB,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,UAAkB,EAClB,OAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,iBAAiB,UAAU,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;;;;;OASG;IACH,aAAa,CAAC,YAAoB,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,6BAA6B,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,UAAkB,EAClB,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iBAAiB,UAAU,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF;AAsYD,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Functions, type FunctionCreateResponse, type FunctionRetrieveResponse, type FunctionUpdateResponse, type FunctionDeleteResponse, type FunctionDeployResponse, type FunctionGetDeploymentResponse, type FunctionTailLogsResponse, type FunctionCreateParams, type FunctionUpdateParams, type FunctionDeployParams, type FunctionTailLogsParams, } from "./functions.mjs";
|
|
2
|
+
export { Secrets, type SecretListResponse, type SecretSetResponse, type SecretSetParams, type SecretUnsetParams, } from "./secrets.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/functions/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B,wBAAoB;AACrB,OAAO,EACL,OAAO,EACP,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACvB,sBAAkB"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Functions, type FunctionCreateResponse, type FunctionRetrieveResponse, type FunctionUpdateResponse, type FunctionDeleteResponse, type FunctionDeployResponse, type FunctionGetDeploymentResponse, type FunctionTailLogsResponse, type FunctionCreateParams, type FunctionUpdateParams, type FunctionDeployParams, type FunctionTailLogsParams, } from "./functions.js";
|
|
2
|
+
export { Secrets, type SecretListResponse, type SecretSetResponse, type SecretSetParams, type SecretUnsetParams, } from "./secrets.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/functions/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B,uBAAoB;AACrB,OAAO,EACL,OAAO,EACP,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACvB,qBAAkB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Secrets = exports.Functions = void 0;
|
|
5
|
+
var functions_1 = require("./functions.js");
|
|
6
|
+
Object.defineProperty(exports, "Functions", { enumerable: true, get: function () { return functions_1.Functions; } });
|
|
7
|
+
var secrets_1 = require("./secrets.js");
|
|
8
|
+
Object.defineProperty(exports, "Secrets", { enumerable: true, get: function () { return secrets_1.Secrets; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/functions/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAaqB;AAZnB,sGAAA,SAAS,OAAA;AAaX,wCAMmB;AALjB,kGAAA,OAAO,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/functions/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,SAAS,GAYV,wBAAoB;AACrB,OAAO,EACL,OAAO,GAKR,sBAAkB"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
+
export declare class Secrets extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Lists every secret key set on the function. Plaintext is NEVER returned — only
|
|
7
|
+
* the last 4 characters of each value, for visual confirmation.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const secrets = await client.functions.secrets.list(
|
|
12
|
+
* 'functionId',
|
|
13
|
+
* );
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
list(functionID: string, options?: RequestOptions): APIPromise<SecretListResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Create or update a secret on a function. Marks the function out-of-sync; the
|
|
19
|
+
* next `POST /deploy` re-publishes the Lambda with the new env. Keys must match
|
|
20
|
+
* `[A-Z_][A-Z0-9_]*` (uppercase env-var style) and cannot start with reserved
|
|
21
|
+
* prefixes (AWS*, LAMBDA*, etc).
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* const response = await client.functions.secrets.set('key', {
|
|
26
|
+
* functionId: 'functionId',
|
|
27
|
+
* value: 'value',
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
set(key: string, params: SecretSetParams, options?: RequestOptions): APIPromise<unknown>;
|
|
32
|
+
/**
|
|
33
|
+
* Remove a secret from a function. Doesn't take effect on the running Lambda until
|
|
34
|
+
* the next deploy.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* await client.functions.secrets.unset('key', {
|
|
39
|
+
* functionId: 'functionId',
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
unset(key: string, params: SecretUnsetParams, options?: RequestOptions): APIPromise<void>;
|
|
44
|
+
}
|
|
45
|
+
export interface SecretListResponse {
|
|
46
|
+
secrets: Array<SecretListResponse.Secret>;
|
|
47
|
+
}
|
|
48
|
+
export declare namespace SecretListResponse {
|
|
49
|
+
interface Secret {
|
|
50
|
+
id: string;
|
|
51
|
+
key: string;
|
|
52
|
+
valueLast4: string;
|
|
53
|
+
createdAt?: number;
|
|
54
|
+
syncedToAws?: boolean;
|
|
55
|
+
updatedAt?: number;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export type SecretSetResponse = unknown;
|
|
59
|
+
export interface SecretSetParams {
|
|
60
|
+
/**
|
|
61
|
+
* Path param: Zavu Function ID.
|
|
62
|
+
*/
|
|
63
|
+
functionId: string;
|
|
64
|
+
/**
|
|
65
|
+
* Body param
|
|
66
|
+
*/
|
|
67
|
+
value: string;
|
|
68
|
+
}
|
|
69
|
+
export interface SecretUnsetParams {
|
|
70
|
+
/**
|
|
71
|
+
* Zavu Function ID.
|
|
72
|
+
*/
|
|
73
|
+
functionId: string;
|
|
74
|
+
}
|
|
75
|
+
export declare namespace Secrets {
|
|
76
|
+
export { type SecretListResponse as SecretListResponse, type SecretSetResponse as SecretSetResponse, type SecretSetParams as SecretSetParams, type SecretUnsetParams as SecretUnsetParams, };
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=secrets.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secrets.d.mts","sourceRoot":"","sources":["../../src/resources/functions/secrets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIlF;;;;;;;;;;;;;OAaG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAKxF;;;;;;;;;;OAUG;IACH,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAO1F;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,KAAK,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;CAC3C;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,MAAM;QACrB,EAAE,EAAE,MAAM,CAAC;QAEX,GAAG,EAAE,MAAM,CAAC;QAEZ,UAAU,EAAE,MAAM,CAAC;QAEnB,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,WAAW,CAAC,EAAE,OAAO,CAAC;QAEtB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB;CACF;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC;AAExC,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
+
export declare class Secrets extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Lists every secret key set on the function. Plaintext is NEVER returned — only
|
|
7
|
+
* the last 4 characters of each value, for visual confirmation.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const secrets = await client.functions.secrets.list(
|
|
12
|
+
* 'functionId',
|
|
13
|
+
* );
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
list(functionID: string, options?: RequestOptions): APIPromise<SecretListResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Create or update a secret on a function. Marks the function out-of-sync; the
|
|
19
|
+
* next `POST /deploy` re-publishes the Lambda with the new env. Keys must match
|
|
20
|
+
* `[A-Z_][A-Z0-9_]*` (uppercase env-var style) and cannot start with reserved
|
|
21
|
+
* prefixes (AWS*, LAMBDA*, etc).
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* const response = await client.functions.secrets.set('key', {
|
|
26
|
+
* functionId: 'functionId',
|
|
27
|
+
* value: 'value',
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
set(key: string, params: SecretSetParams, options?: RequestOptions): APIPromise<unknown>;
|
|
32
|
+
/**
|
|
33
|
+
* Remove a secret from a function. Doesn't take effect on the running Lambda until
|
|
34
|
+
* the next deploy.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* await client.functions.secrets.unset('key', {
|
|
39
|
+
* functionId: 'functionId',
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
unset(key: string, params: SecretUnsetParams, options?: RequestOptions): APIPromise<void>;
|
|
44
|
+
}
|
|
45
|
+
export interface SecretListResponse {
|
|
46
|
+
secrets: Array<SecretListResponse.Secret>;
|
|
47
|
+
}
|
|
48
|
+
export declare namespace SecretListResponse {
|
|
49
|
+
interface Secret {
|
|
50
|
+
id: string;
|
|
51
|
+
key: string;
|
|
52
|
+
valueLast4: string;
|
|
53
|
+
createdAt?: number;
|
|
54
|
+
syncedToAws?: boolean;
|
|
55
|
+
updatedAt?: number;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export type SecretSetResponse = unknown;
|
|
59
|
+
export interface SecretSetParams {
|
|
60
|
+
/**
|
|
61
|
+
* Path param: Zavu Function ID.
|
|
62
|
+
*/
|
|
63
|
+
functionId: string;
|
|
64
|
+
/**
|
|
65
|
+
* Body param
|
|
66
|
+
*/
|
|
67
|
+
value: string;
|
|
68
|
+
}
|
|
69
|
+
export interface SecretUnsetParams {
|
|
70
|
+
/**
|
|
71
|
+
* Zavu Function ID.
|
|
72
|
+
*/
|
|
73
|
+
functionId: string;
|
|
74
|
+
}
|
|
75
|
+
export declare namespace Secrets {
|
|
76
|
+
export { type SecretListResponse as SecretListResponse, type SecretSetResponse as SecretSetResponse, type SecretSetParams as SecretSetParams, type SecretUnsetParams as SecretUnsetParams, };
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=secrets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../../src/resources/functions/secrets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIlF;;;;;;;;;;;;;OAaG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAKxF;;;;;;;;;;OAUG;IACH,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAO1F;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,KAAK,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;CAC3C;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,MAAM;QACrB,EAAE,EAAE,MAAM,CAAC;QAEX,GAAG,EAAE,MAAM,CAAC;QAEZ,UAAU,EAAE,MAAM,CAAC;QAEnB,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,WAAW,CAAC,EAAE,OAAO,CAAC;QAEtB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB;CACF;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC;AAExC,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Secrets = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const headers_1 = require("../../internal/headers.js");
|
|
7
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
8
|
+
class Secrets extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Lists every secret key set on the function. Plaintext is NEVER returned — only
|
|
11
|
+
* the last 4 characters of each value, for visual confirmation.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const secrets = await client.functions.secrets.list(
|
|
16
|
+
* 'functionId',
|
|
17
|
+
* );
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
list(functionID, options) {
|
|
21
|
+
return this._client.get((0, path_1.path) `/v1/functions/${functionID}/secrets`, options);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Create or update a secret on a function. Marks the function out-of-sync; the
|
|
25
|
+
* next `POST /deploy` re-publishes the Lambda with the new env. Keys must match
|
|
26
|
+
* `[A-Z_][A-Z0-9_]*` (uppercase env-var style) and cannot start with reserved
|
|
27
|
+
* prefixes (AWS*, LAMBDA*, etc).
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const response = await client.functions.secrets.set('key', {
|
|
32
|
+
* functionId: 'functionId',
|
|
33
|
+
* value: 'value',
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
set(key, params, options) {
|
|
38
|
+
const { functionId, ...body } = params;
|
|
39
|
+
return this._client.put((0, path_1.path) `/v1/functions/${functionId}/secrets/${key}`, { body, ...options });
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Remove a secret from a function. Doesn't take effect on the running Lambda until
|
|
43
|
+
* the next deploy.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* await client.functions.secrets.unset('key', {
|
|
48
|
+
* functionId: 'functionId',
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
unset(key, params, options) {
|
|
53
|
+
const { functionId } = params;
|
|
54
|
+
return this._client.delete((0, path_1.path) `/v1/functions/${functionId}/secrets/${key}`, {
|
|
55
|
+
...options,
|
|
56
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.Secrets = Secrets;
|
|
61
|
+
//# sourceMappingURL=secrets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secrets.js","sourceRoot":"","sources":["../../src/resources/functions/secrets.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CAAC,UAAkB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,iBAAiB,UAAU,UAAU,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,GAAG,CAAC,GAAW,EAAE,MAAuB,EAAE,OAAwB;QAChE,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,iBAAiB,UAAU,YAAY,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClG,CAAC;IAED;;;;;;;;;;OAUG;IACH,KAAK,CAAC,GAAW,EAAE,MAAyB,EAAE,OAAwB;QACpE,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,iBAAiB,UAAU,YAAY,GAAG,EAAE,EAAE;YAC3E,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AArDD,0BAqDC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../../internal/headers.mjs";
|
|
4
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
5
|
+
export class Secrets extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Lists every secret key set on the function. Plaintext is NEVER returned — only
|
|
8
|
+
* the last 4 characters of each value, for visual confirmation.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const secrets = await client.functions.secrets.list(
|
|
13
|
+
* 'functionId',
|
|
14
|
+
* );
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
list(functionID, options) {
|
|
18
|
+
return this._client.get(path `/v1/functions/${functionID}/secrets`, options);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Create or update a secret on a function. Marks the function out-of-sync; the
|
|
22
|
+
* next `POST /deploy` re-publishes the Lambda with the new env. Keys must match
|
|
23
|
+
* `[A-Z_][A-Z0-9_]*` (uppercase env-var style) and cannot start with reserved
|
|
24
|
+
* prefixes (AWS*, LAMBDA*, etc).
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const response = await client.functions.secrets.set('key', {
|
|
29
|
+
* functionId: 'functionId',
|
|
30
|
+
* value: 'value',
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
set(key, params, options) {
|
|
35
|
+
const { functionId, ...body } = params;
|
|
36
|
+
return this._client.put(path `/v1/functions/${functionId}/secrets/${key}`, { body, ...options });
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Remove a secret from a function. Doesn't take effect on the running Lambda until
|
|
40
|
+
* the next deploy.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* await client.functions.secrets.unset('key', {
|
|
45
|
+
* functionId: 'functionId',
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
unset(key, params, options) {
|
|
50
|
+
const { functionId } = params;
|
|
51
|
+
return this._client.delete(path `/v1/functions/${functionId}/secrets/${key}`, {
|
|
52
|
+
...options,
|
|
53
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=secrets.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secrets.mjs","sourceRoot":"","sources":["../../src/resources/functions/secrets.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CAAC,UAAkB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iBAAiB,UAAU,UAAU,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,GAAG,CAAC,GAAW,EAAE,MAAuB,EAAE,OAAwB;QAChE,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iBAAiB,UAAU,YAAY,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClG,CAAC;IAED;;;;;;;;;;OAUG;IACH,KAAK,CAAC,GAAW,EAAE,MAAyB,EAAE,OAAwB;QACpE,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,iBAAiB,UAAU,YAAY,GAAG,EAAE,EAAE;YAC3E,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"functions.d.mts","sourceRoot":"","sources":["../src/resources/functions.ts"],"names":[],"mappings":"AAEA,sCAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../src/resources/functions.ts"],"names":[],"mappings":"AAEA,qCAAkC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./functions/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=functions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../src/resources/functions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,+DAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"functions.mjs","sourceRoot":"","sources":["../src/resources/functions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,sCAAkC"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
export { Addresses, type Address, type AddressStatus, type AddressCreateResponse, type AddressRetrieveResponse, type AddressCreateParams, type AddressListParams, type AddressesCursor, } from "./addresses.mjs";
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
2
|
+
export { Balance, type BalanceRetrieveResponse } from "./balance.mjs";
|
|
3
|
+
export { Broadcasts, type Broadcast, type BroadcastChannel, type BroadcastContact, type BroadcastContactStatus, type BroadcastContent, type BroadcastMessageType, type BroadcastProgress, type BroadcastStatus, type BroadcastCreateResponse, type BroadcastRetrieveResponse, type BroadcastUpdateResponse, type BroadcastCancelResponse, type BroadcastEscalateReviewResponse, type BroadcastRescheduleResponse, type BroadcastRetryReviewResponse, type BroadcastSendResponse, type BroadcastCreateParams, type BroadcastUpdateParams, type BroadcastListParams, type BroadcastRescheduleParams, type BroadcastSendParams, type BroadcastContactsCursor, type BroadcastsCursor, } from "./broadcasts/broadcasts.mjs";
|
|
4
|
+
export { Contacts, type Contact, type ContactChannel, type ContactCreateParams, type ContactUpdateParams, type ContactListParams, type ContactMergeParams, type ContactsCursor, } from "./contacts/contacts.mjs";
|
|
5
|
+
export { Exports, type DataExport, type ExportCreateResponse, type ExportRetrieveResponse, type ExportCreateParams, type ExportListParams, type DataExportsCursor, } from "./exports.mjs";
|
|
6
|
+
export { Functions, type FunctionCreateResponse, type FunctionRetrieveResponse, type FunctionUpdateResponse, type FunctionDeleteResponse, type FunctionDeployResponse, type FunctionGetDeploymentResponse, type FunctionTailLogsResponse, type FunctionCreateParams, type FunctionUpdateParams, type FunctionDeployParams, type FunctionTailLogsParams, } from "./functions/functions.mjs";
|
|
4
7
|
export { Introspect, type LineType, type IntrospectValidatePhoneResponse, type IntrospectValidatePhoneParams, } from "./introspect.mjs";
|
|
5
|
-
export {
|
|
8
|
+
export { Invitations, type Invitation, type InvitationCreateResponse, type InvitationRetrieveResponse, type InvitationCancelResponse, type InvitationCreateParams, type InvitationListParams, type InvitationsCursor, } from "./invitations.mjs";
|
|
9
|
+
export { Me, type MeRetrieveResponse } from "./me.mjs";
|
|
10
|
+
export { Messages, type Channel, type Message, type MessageContent, type MessageResponse, type MessageStatus, type MessageType, type MessageShowTypingResponse, type MessageListParams, type MessageReactParams, type MessageSendParams, type MessageShowTypingParams, type MessagesCursor, } from "./messages.mjs";
|
|
11
|
+
export { Number10dlc } from "./number-10dlc/number-10dlc.mjs";
|
|
6
12
|
export { PhoneNumbers, type AvailablePhoneNumber, type OwnedPhoneNumber, type OwnedPhoneNumberPricing, type PhoneNumberCapabilities, type PhoneNumberPricing, type PhoneNumberStatus, type PhoneNumberType, type Requirement, type RequirementAcceptanceCriteria, type RequirementFieldType, type RequirementType, type PhoneNumberRetrieveResponse, type PhoneNumberUpdateResponse, type PhoneNumberPurchaseResponse, type PhoneNumberRequirementsResponse, type PhoneNumberSearchAvailableResponse, type PhoneNumberUpdateParams, type PhoneNumberListParams, type PhoneNumberPurchaseParams, type PhoneNumberRequirementsParams, type PhoneNumberSearchAvailableParams, type OwnedPhoneNumbersCursor, } from "./phone-numbers.mjs";
|
|
13
|
+
export { Plan, type PlanRetrieveResponse } from "./plan.mjs";
|
|
7
14
|
export { RegulatoryDocuments, type RegulatoryDocument, type RegulatoryDocumentCreateResponse, type RegulatoryDocumentRetrieveResponse, type RegulatoryDocumentUploadURLResponse, type RegulatoryDocumentCreateParams, type RegulatoryDocumentListParams, type RegulatoryDocumentsCursor, } from "./regulatory-documents.mjs";
|
|
8
15
|
export { Senders, type Sender, type SenderWebhook, type WebhookEvent, type WebhookSecretResponse, type WhatsappBusinessProfile, type WhatsappBusinessProfileResponse, type WhatsappBusinessProfileVertical, type SenderUpdateProfileResponse, type SenderUploadProfilePictureResponse, type SenderCreateParams, type SenderUpdateParams, type SenderListParams, type SenderUpdateProfileParams, type SenderUploadProfilePictureParams, type SendersCursor, } from "./senders/senders.mjs";
|
|
16
|
+
export { SubAccounts, type SubAccount, type SubAccountCreateResponse, type SubAccountRetrieveResponse, type SubAccountUpdateResponse, type SubAccountDeactivateResponse, type SubAccountGetBalanceResponse, type SubAccountCreateParams, type SubAccountUpdateParams, type SubAccountListParams, type SubAccountsCursor, } from "./sub-accounts/sub-accounts.mjs";
|
|
9
17
|
export { Templates, type Template, type WhatsappCategory, type TemplateCreateParams, type TemplateListParams, type TemplateSubmitParams, type TemplatesCursor, } from "./templates.mjs";
|
|
18
|
+
export { URLs, type VerifiedURL, type URLRetrieveDetailsResponse, type URLSubmitForVerificationResponse, type URLListVerifiedParams, type URLSubmitForVerificationParams, type VerifiedURLsCursor, } from "./urls.mjs";
|
|
19
|
+
export { Usage, type UsageRetrieveResponse } from "./usage.mjs";
|
|
10
20
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,O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-1,10 +1,20 @@
|
|
|
1
1
|
export { Addresses, type Address, type AddressStatus, type AddressCreateResponse, type AddressRetrieveResponse, type AddressCreateParams, type AddressListParams, type AddressesCursor, } from "./addresses.js";
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
2
|
+
export { Balance, type BalanceRetrieveResponse } from "./balance.js";
|
|
3
|
+
export { Broadcasts, type Broadcast, type BroadcastChannel, type BroadcastContact, type BroadcastContactStatus, type BroadcastContent, type BroadcastMessageType, type BroadcastProgress, type BroadcastStatus, type BroadcastCreateResponse, type BroadcastRetrieveResponse, type BroadcastUpdateResponse, type BroadcastCancelResponse, type BroadcastEscalateReviewResponse, type BroadcastRescheduleResponse, type BroadcastRetryReviewResponse, type BroadcastSendResponse, type BroadcastCreateParams, type BroadcastUpdateParams, type BroadcastListParams, type BroadcastRescheduleParams, type BroadcastSendParams, type BroadcastContactsCursor, type BroadcastsCursor, } from "./broadcasts/broadcasts.js";
|
|
4
|
+
export { Contacts, type Contact, type ContactChannel, type ContactCreateParams, type ContactUpdateParams, type ContactListParams, type ContactMergeParams, type ContactsCursor, } from "./contacts/contacts.js";
|
|
5
|
+
export { Exports, type DataExport, type ExportCreateResponse, type ExportRetrieveResponse, type ExportCreateParams, type ExportListParams, type DataExportsCursor, } from "./exports.js";
|
|
6
|
+
export { Functions, type FunctionCreateResponse, type FunctionRetrieveResponse, type FunctionUpdateResponse, type FunctionDeleteResponse, type FunctionDeployResponse, type FunctionGetDeploymentResponse, type FunctionTailLogsResponse, type FunctionCreateParams, type FunctionUpdateParams, type FunctionDeployParams, type FunctionTailLogsParams, } from "./functions/functions.js";
|
|
4
7
|
export { Introspect, type LineType, type IntrospectValidatePhoneResponse, type IntrospectValidatePhoneParams, } from "./introspect.js";
|
|
5
|
-
export {
|
|
8
|
+
export { Invitations, type Invitation, type InvitationCreateResponse, type InvitationRetrieveResponse, type InvitationCancelResponse, type InvitationCreateParams, type InvitationListParams, type InvitationsCursor, } from "./invitations.js";
|
|
9
|
+
export { Me, type MeRetrieveResponse } from "./me.js";
|
|
10
|
+
export { Messages, type Channel, type Message, type MessageContent, type MessageResponse, type MessageStatus, type MessageType, type MessageShowTypingResponse, type MessageListParams, type MessageReactParams, type MessageSendParams, type MessageShowTypingParams, type MessagesCursor, } from "./messages.js";
|
|
11
|
+
export { Number10dlc } from "./number-10dlc/number-10dlc.js";
|
|
6
12
|
export { PhoneNumbers, type AvailablePhoneNumber, type OwnedPhoneNumber, type OwnedPhoneNumberPricing, type PhoneNumberCapabilities, type PhoneNumberPricing, type PhoneNumberStatus, type PhoneNumberType, type Requirement, type RequirementAcceptanceCriteria, type RequirementFieldType, type RequirementType, type PhoneNumberRetrieveResponse, type PhoneNumberUpdateResponse, type PhoneNumberPurchaseResponse, type PhoneNumberRequirementsResponse, type PhoneNumberSearchAvailableResponse, type PhoneNumberUpdateParams, type PhoneNumberListParams, type PhoneNumberPurchaseParams, type PhoneNumberRequirementsParams, type PhoneNumberSearchAvailableParams, type OwnedPhoneNumbersCursor, } from "./phone-numbers.js";
|
|
13
|
+
export { Plan, type PlanRetrieveResponse } from "./plan.js";
|
|
7
14
|
export { RegulatoryDocuments, type RegulatoryDocument, type RegulatoryDocumentCreateResponse, type RegulatoryDocumentRetrieveResponse, type RegulatoryDocumentUploadURLResponse, type RegulatoryDocumentCreateParams, type RegulatoryDocumentListParams, type RegulatoryDocumentsCursor, } from "./regulatory-documents.js";
|
|
8
15
|
export { Senders, type Sender, type SenderWebhook, type WebhookEvent, type WebhookSecretResponse, type WhatsappBusinessProfile, type WhatsappBusinessProfileResponse, type WhatsappBusinessProfileVertical, type SenderUpdateProfileResponse, type SenderUploadProfilePictureResponse, type SenderCreateParams, type SenderUpdateParams, type SenderListParams, type SenderUpdateProfileParams, type SenderUploadProfilePictureParams, type SendersCursor, } from "./senders/senders.js";
|
|
16
|
+
export { SubAccounts, type SubAccount, type SubAccountCreateResponse, type SubAccountRetrieveResponse, type SubAccountUpdateResponse, type SubAccountDeactivateResponse, type SubAccountGetBalanceResponse, type SubAccountCreateParams, type SubAccountUpdateParams, type SubAccountListParams, type SubAccountsCursor, } from "./sub-accounts/sub-accounts.js";
|
|
9
17
|
export { Templates, type Template, type WhatsappCategory, type TemplateCreateParams, type TemplateListParams, type TemplateSubmitParams, type TemplatesCursor, } from "./templates.js";
|
|
18
|
+
export { URLs, type VerifiedURL, type URLRetrieveDetailsResponse, type URLSubmitForVerificationResponse, type URLListVerifiedParams, type URLSubmitForVerificationParams, type VerifiedURLsCursor, } from "./urls.js";
|
|
19
|
+
export { Usage, type UsageRetrieveResponse } from "./usage.js";
|
|
10
20
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB,uBAAoB;AACrB,OAAO,EAAE,OAAO,EAAE,KAAK,uBAAuB,EAAE,qBAAkB;AAClE,OAAO,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1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,EACf,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,GACvB,uCAAoC;AACrC,OAAO,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,eAAe,GACrB,uBAAoB;AACrB,OAAO,EACL,IAAI,EACJ,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,KAAK,kBAAkB,GACxB,kBAAe;AAChB,OAAO,EAAE,KAAK,EAAE,KAAK,qBAAqB,EAAE,mBAAgB"}
|
package/resources/index.js
CHANGED
|
@@ -1,23 +1,43 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Templates = exports.Senders = exports.RegulatoryDocuments = exports.PhoneNumbers = exports.Messages = exports.Introspect = exports.Contacts = exports.Broadcasts = exports.Addresses = void 0;
|
|
4
|
+
exports.Usage = exports.URLs = exports.Templates = exports.SubAccounts = exports.Senders = exports.RegulatoryDocuments = exports.Plan = exports.PhoneNumbers = exports.Number10dlc = exports.Messages = exports.Me = exports.Invitations = exports.Introspect = exports.Functions = exports.Exports = exports.Contacts = exports.Broadcasts = exports.Balance = exports.Addresses = void 0;
|
|
5
5
|
var addresses_1 = require("./addresses.js");
|
|
6
6
|
Object.defineProperty(exports, "Addresses", { enumerable: true, get: function () { return addresses_1.Addresses; } });
|
|
7
|
+
var balance_1 = require("./balance.js");
|
|
8
|
+
Object.defineProperty(exports, "Balance", { enumerable: true, get: function () { return balance_1.Balance; } });
|
|
7
9
|
var broadcasts_1 = require("./broadcasts/broadcasts.js");
|
|
8
10
|
Object.defineProperty(exports, "Broadcasts", { enumerable: true, get: function () { return broadcasts_1.Broadcasts; } });
|
|
9
|
-
var contacts_1 = require("./contacts.js");
|
|
11
|
+
var contacts_1 = require("./contacts/contacts.js");
|
|
10
12
|
Object.defineProperty(exports, "Contacts", { enumerable: true, get: function () { return contacts_1.Contacts; } });
|
|
13
|
+
var exports_1 = require("./exports.js");
|
|
14
|
+
Object.defineProperty(exports, "Exports", { enumerable: true, get: function () { return exports_1.Exports; } });
|
|
15
|
+
var functions_1 = require("./functions/functions.js");
|
|
16
|
+
Object.defineProperty(exports, "Functions", { enumerable: true, get: function () { return functions_1.Functions; } });
|
|
11
17
|
var introspect_1 = require("./introspect.js");
|
|
12
18
|
Object.defineProperty(exports, "Introspect", { enumerable: true, get: function () { return introspect_1.Introspect; } });
|
|
19
|
+
var invitations_1 = require("./invitations.js");
|
|
20
|
+
Object.defineProperty(exports, "Invitations", { enumerable: true, get: function () { return invitations_1.Invitations; } });
|
|
21
|
+
var me_1 = require("./me.js");
|
|
22
|
+
Object.defineProperty(exports, "Me", { enumerable: true, get: function () { return me_1.Me; } });
|
|
13
23
|
var messages_1 = require("./messages.js");
|
|
14
24
|
Object.defineProperty(exports, "Messages", { enumerable: true, get: function () { return messages_1.Messages; } });
|
|
25
|
+
var number_10dlc_1 = require("./number-10dlc/number-10dlc.js");
|
|
26
|
+
Object.defineProperty(exports, "Number10dlc", { enumerable: true, get: function () { return number_10dlc_1.Number10dlc; } });
|
|
15
27
|
var phone_numbers_1 = require("./phone-numbers.js");
|
|
16
28
|
Object.defineProperty(exports, "PhoneNumbers", { enumerable: true, get: function () { return phone_numbers_1.PhoneNumbers; } });
|
|
29
|
+
var plan_1 = require("./plan.js");
|
|
30
|
+
Object.defineProperty(exports, "Plan", { enumerable: true, get: function () { return plan_1.Plan; } });
|
|
17
31
|
var regulatory_documents_1 = require("./regulatory-documents.js");
|
|
18
32
|
Object.defineProperty(exports, "RegulatoryDocuments", { enumerable: true, get: function () { return regulatory_documents_1.RegulatoryDocuments; } });
|
|
19
33
|
var senders_1 = require("./senders/senders.js");
|
|
20
34
|
Object.defineProperty(exports, "Senders", { enumerable: true, get: function () { return senders_1.Senders; } });
|
|
35
|
+
var sub_accounts_1 = require("./sub-accounts/sub-accounts.js");
|
|
36
|
+
Object.defineProperty(exports, "SubAccounts", { enumerable: true, get: function () { return sub_accounts_1.SubAccounts; } });
|
|
21
37
|
var templates_1 = require("./templates.js");
|
|
22
38
|
Object.defineProperty(exports, "Templates", { enumerable: true, get: function () { return templates_1.Templates; } });
|
|
39
|
+
var urls_1 = require("./urls.js");
|
|
40
|
+
Object.defineProperty(exports, "URLs", { enumerable: true, get: function () { return urls_1.URLs; } });
|
|
41
|
+
var usage_1 = require("./usage.js");
|
|
42
|
+
Object.defineProperty(exports, "Usage", { enumerable: true, get: function () { return usage_1.Usage; } });
|
|
23
43
|
//# sourceMappingURL=index.js.map
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CASqB;AARnB,sGAAA,SAAS,OAAA;AASX,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CASqB;AARnB,sGAAA,SAAS,OAAA;AASX,wCAAkE;AAAzD,kGAAA,OAAO,OAAA;AAChB,yDAyBiC;AAxB/B,wGAAA,UAAU,OAAA;AAyBZ,mDAS6B;AAR3B,oGAAA,QAAQ,OAAA;AASV,wCAQmB;AAPjB,kGAAA,OAAO,OAAA;AAQT,sDAa+B;AAZ7B,sGAAA,SAAS,OAAA;AAaX,8CAKsB;AAJpB,wGAAA,UAAU,OAAA;AAKZ,gDASuB;AARrB,0GAAA,WAAW,OAAA;AASb,8BAAmD;AAA1C,wFAAA,EAAE,OAAA;AACX,0CAcoB;AAblB,oGAAA,QAAQ,OAAA;AAcV,+DAA0D;AAAjD,2GAAA,WAAW,OAAA;AACpB,oDAwByB;AAvBvB,6GAAA,YAAY,OAAA;AAwBd,kCAAyD;AAAhD,4FAAA,IAAI,OAAA;AACb,kEASgC;AAR9B,2HAAA,mBAAmB,OAAA;AASrB,gDAiB2B;AAhBzB,kGAAA,OAAO,OAAA;AAiBT,+DAYqC;AAXnC,2GAAA,WAAW,OAAA;AAYb,4CAQqB;AAPnB,sGAAA,SAAS,OAAA;AAQX,kCAQgB;AAPd,4FAAA,IAAI,OAAA;AAQN,oCAA4D;AAAnD,8FAAA,KAAK,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export { Addresses, } from "./addresses.mjs";
|
|
3
|
+
export { Balance } from "./balance.mjs";
|
|
3
4
|
export { Broadcasts, } from "./broadcasts/broadcasts.mjs";
|
|
4
|
-
export { Contacts, } from "./contacts.mjs";
|
|
5
|
+
export { Contacts, } from "./contacts/contacts.mjs";
|
|
6
|
+
export { Exports, } from "./exports.mjs";
|
|
7
|
+
export { Functions, } from "./functions/functions.mjs";
|
|
5
8
|
export { Introspect, } from "./introspect.mjs";
|
|
9
|
+
export { Invitations, } from "./invitations.mjs";
|
|
10
|
+
export { Me } from "./me.mjs";
|
|
6
11
|
export { Messages, } from "./messages.mjs";
|
|
12
|
+
export { Number10dlc } from "./number-10dlc/number-10dlc.mjs";
|
|
7
13
|
export { PhoneNumbers, } from "./phone-numbers.mjs";
|
|
14
|
+
export { Plan } from "./plan.mjs";
|
|
8
15
|
export { RegulatoryDocuments, } from "./regulatory-documents.mjs";
|
|
9
16
|
export { Senders, } from "./senders/senders.mjs";
|
|
17
|
+
export { SubAccounts, } from "./sub-accounts/sub-accounts.mjs";
|
|
10
18
|
export { Templates, } from "./templates.mjs";
|
|
19
|
+
export { URLs, } from "./urls.mjs";
|
|
20
|
+
export { Usage } from "./usage.mjs";
|
|
11
21
|
//# sourceMappingURL=index.mjs.map
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,SAAS,GAQV,wBAAoB;AACrB,OAAO,EAAE,OAAO,EAAgC,sBAAkB;AAClE,OAAO,EACL,UAAU,GAwBX,oCAAgC;AACjC,OAAO,EACL,QAAQ,GAQT,gCAA4B;AAC7B,OAAO,EACL,OAAO,GAOR,sBAAkB;AACnB,OAAO,EACL,SAAS,GAYV,kCAA8B;AAC/B,OAAO,EACL,UAAU,GAIX,yBAAqB;AACtB,OAAO,EACL,WAAW,GAQZ,0BAAsB;AACvB,OAAO,EAAE,EAAE,EAA2B,iBAAa;AACnD,OAAO,EACL,QAAQ,GAaT,uBAAmB;AACpB,OAAO,EAAE,WAAW,EAAE,wCAAoC;AAC1D,OAAO,EACL,YAAY,GAuBb,4BAAwB;AACzB,OAAO,EAAE,IAAI,EAA6B,mBAAe;AACzD,OAAO,EACL,mBAAmB,GAQpB,mCAA+B;AAChC,OAAO,EACL,OAAO,GAgBR,8BAA0B;AAC3B,OAAO,EACL,WAAW,GAWZ,wCAAoC;AACrC,OAAO,EACL,SAAS,GAOV,wBAAoB;AACrB,OAAO,EACL,IAAI,GAOL,mBAAe;AAChB,OAAO,EAAE,KAAK,EAA8B,oBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"introspect.d.mts","sourceRoot":"","sources":["../src/resources/introspect.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"introspect.d.mts","s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,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"introspect.d.ts","sourceRoot":"","sources":["../src/resources/introspect.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"introspect.d.ts","sourceRoot":"","sources":["../src/resources/introspect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,aAAa,wBAAqB;AAC9C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;OASG;IACH,aAAa,CACX,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;CAG/C;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,GAAG,SAAS,CAAC;AAEhF,MAAM,WAAW,+BAA+B;IAC9C,WAAW,EAAE,MAAM,CAAC;IAEpB,WAAW,EAAE,MAAM,CAAC;IAEpB,WAAW,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAElC;;OAEG;IACH,OAAO,CAAC,EAAE,+BAA+B,CAAC,OAAO,CAAC;IAElD;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,yBAAiB,+BAA+B,CAAC;IAC/C;;OAEG;IACH,UAAiB,OAAO;QACtB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAErB;;WAEG;QACH,IAAI,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC;KAC/B;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"introspect.mjs","sourceRoot":"","sources":["../src/resources/introspect.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"introspect.mjs","sourceRoot":"","sources":["../src/resources/introspect.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAK/C,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;OASG;IACH,aAAa,CACX,IAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;CACF"}
|