@zavudev/sdk 0.57.0 → 0.58.1
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 +49 -0
- package/README.md +3 -3
- package/client.d.mts +39 -36
- package/client.d.mts.map +1 -1
- package/client.d.ts +39 -36
- package/client.d.ts.map +1 -1
- package/client.js +43 -40
- package/client.js.map +1 -1
- package/client.mjs +43 -40
- 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.js +0 -1
- package/core/api-promise.js.map +1 -1
- package/core/api-promise.mjs +0 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts.map +1 -1
- package/core/error.js +0 -1
- package/core/error.js.map +1 -1
- package/core/error.mjs +0 -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.js +0 -1
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +0 -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/resource.js +0 -1
- package/core/resource.js.map +1 -1
- package/core/resource.mjs +0 -1
- package/core/resource.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +0 -1
- package/index.js.map +1 -1
- package/index.mjs +0 -1
- package/index.mjs.map +1 -1
- package/internal/builtin-types.d.mts.map +1 -1
- package/internal/builtin-types.d.ts.map +1 -1
- package/internal/builtin-types.js +0 -1
- package/internal/builtin-types.js.map +1 -1
- package/internal/builtin-types.mjs +0 -1
- package/internal/builtin-types.mjs.map +1 -1
- package/internal/detect-platform.d.mts.map +1 -1
- package/internal/detect-platform.d.ts.map +1 -1
- package/internal/detect-platform.js +0 -1
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +0 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/errors.d.mts.map +1 -1
- package/internal/errors.d.ts.map +1 -1
- package/internal/errors.js +0 -1
- package/internal/errors.js.map +1 -1
- package/internal/errors.mjs +0 -1
- package/internal/errors.mjs.map +1 -1
- package/internal/headers.d.mts.map +1 -1
- package/internal/headers.d.ts.map +1 -1
- package/internal/headers.js +0 -1
- package/internal/headers.js.map +1 -1
- package/internal/headers.mjs +0 -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.js +0 -1
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +0 -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/request-options.js +0 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs +0 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/shim-types.d.mts.map +1 -1
- package/internal/shim-types.d.ts.map +1 -1
- package/internal/shim-types.js +6 -1
- package/internal/shim-types.js.map +1 -1
- package/internal/shim-types.mjs +6 -1
- package/internal/shim-types.mjs.map +1 -1
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts.map +1 -1
- package/internal/shims.js +6 -1
- package/internal/shims.js.map +1 -1
- package/internal/shims.mjs +6 -1
- package/internal/shims.mjs.map +1 -1
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts.map +1 -1
- package/internal/types.js +0 -1
- package/internal/types.js.map +1 -1
- package/internal/types.mjs +0 -1
- package/internal/types.mjs.map +1 -1
- package/internal/utils/base64.d.mts.map +1 -1
- package/internal/utils/base64.d.ts.map +1 -1
- package/internal/utils/base64.js +0 -1
- package/internal/utils/base64.js.map +1 -1
- package/internal/utils/base64.mjs +0 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/env.d.mts.map +1 -1
- package/internal/utils/env.d.ts.map +1 -1
- package/internal/utils/env.js +0 -1
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +0 -1
- 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 +0 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +0 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/query.d.mts.map +1 -1
- package/internal/utils/query.d.ts.map +1 -1
- package/internal/utils/query.js +1 -2
- package/internal/utils/query.js.map +1 -1
- package/internal/utils/query.mjs +1 -2
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/sleep.d.mts.map +1 -1
- package/internal/utils/sleep.d.ts.map +1 -1
- package/internal/utils/sleep.js +0 -1
- package/internal/utils/sleep.js.map +1 -1
- package/internal/utils/sleep.mjs +0 -1
- package/internal/utils/sleep.mjs.map +1 -1
- package/internal/utils/uuid.d.mts.map +1 -1
- package/internal/utils/uuid.d.ts.map +1 -1
- package/internal/utils/uuid.js +0 -1
- package/internal/utils/uuid.js.map +1 -1
- package/internal/utils/uuid.mjs +0 -1
- package/internal/utils/uuid.mjs.map +1 -1
- package/internal/utils/values.d.mts.map +1 -1
- package/internal/utils/values.d.ts.map +1 -1
- package/internal/utils/values.js +0 -1
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +0 -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.js +0 -1
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +0 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +29 -10
- package/resources/addresses.d.mts +27 -77
- package/resources/addresses.d.mts.map +1 -1
- package/resources/addresses.d.ts +27 -77
- package/resources/addresses.d.ts.map +1 -1
- package/resources/addresses.js +19 -32
- package/resources/addresses.js.map +1 -1
- package/resources/addresses.mjs +19 -32
- package/resources/addresses.mjs.map +1 -1
- package/resources/agent-templates.d.mts +17 -71
- package/resources/agent-templates.d.mts.map +1 -1
- package/resources/agent-templates.d.ts +17 -71
- package/resources/agent-templates.d.ts.map +1 -1
- package/resources/agent-templates.js +11 -15
- package/resources/agent-templates.js.map +1 -1
- package/resources/agent-templates.mjs +11 -15
- package/resources/agent-templates.mjs.map +1 -1
- package/resources/agents/agents.d.mts +53 -395
- package/resources/agents/agents.d.mts.map +1 -1
- package/resources/agents/agents.d.ts +53 -395
- package/resources/agents/agents.d.ts.map +1 -1
- package/resources/agents/agents.js +33 -48
- package/resources/agents/agents.js.map +1 -1
- package/resources/agents/agents.mjs +33 -48
- package/resources/agents/agents.mjs.map +1 -1
- package/resources/agents/index.js +1 -1
- package/resources/agents/index.js.map +1 -1
- package/resources/agents/index.mjs +1 -1
- package/resources/agents/index.mjs.map +1 -1
- package/resources/agents/senders.d.mts +10 -32
- package/resources/agents/senders.d.mts.map +1 -1
- package/resources/agents/senders.d.ts +10 -32
- package/resources/agents/senders.d.ts.map +1 -1
- package/resources/agents/senders.js +7 -14
- package/resources/agents/senders.js.map +1 -1
- package/resources/agents/senders.mjs +7 -14
- package/resources/agents/senders.mjs.map +1 -1
- package/resources/agents.js +1 -1
- package/resources/agents.js.map +1 -1
- package/resources/agents.mjs +1 -1
- package/resources/agents.mjs.map +1 -1
- package/resources/balance.d.mts +6 -19
- package/resources/balance.d.mts.map +1 -1
- package/resources/balance.d.ts +6 -19
- package/resources/balance.d.ts.map +1 -1
- package/resources/balance.js +5 -1
- package/resources/balance.js.map +1 -1
- package/resources/balance.mjs +5 -1
- package/resources/balance.mjs.map +1 -1
- package/resources/broadcasts/broadcasts.d.mts +87 -413
- package/resources/broadcasts/broadcasts.d.mts.map +1 -1
- package/resources/broadcasts/broadcasts.d.ts +87 -413
- package/resources/broadcasts/broadcasts.d.ts.map +1 -1
- package/resources/broadcasts/broadcasts.js +59 -87
- package/resources/broadcasts/broadcasts.js.map +1 -1
- package/resources/broadcasts/broadcasts.mjs +59 -87
- package/resources/broadcasts/broadcasts.mjs.map +1 -1
- package/resources/broadcasts/contacts.d.mts +19 -109
- package/resources/broadcasts/contacts.d.mts.map +1 -1
- package/resources/broadcasts/contacts.d.ts +19 -109
- package/resources/broadcasts/contacts.d.ts.map +1 -1
- package/resources/broadcasts/contacts.js +10 -40
- package/resources/broadcasts/contacts.js.map +1 -1
- package/resources/broadcasts/contacts.mjs +10 -40
- package/resources/broadcasts/contacts.mjs.map +1 -1
- package/resources/broadcasts/index.js +1 -1
- package/resources/broadcasts/index.js.map +1 -1
- package/resources/broadcasts/index.mjs +1 -1
- package/resources/broadcasts/index.mjs.map +1 -1
- package/resources/broadcasts.js +1 -1
- package/resources/broadcasts.js.map +1 -1
- package/resources/broadcasts.mjs +1 -1
- package/resources/broadcasts.mjs.map +1 -1
- package/resources/calls.d.mts +40 -484
- package/resources/calls.d.mts.map +1 -1
- package/resources/calls.d.ts +40 -484
- package/resources/calls.d.ts.map +1 -1
- package/resources/calls.js +25 -35
- package/resources/calls.js.map +1 -1
- package/resources/calls.mjs +25 -35
- package/resources/calls.mjs.map +1 -1
- package/resources/contacts/channels.d.mts +20 -98
- package/resources/contacts/channels.d.mts.map +1 -1
- package/resources/contacts/channels.d.ts +20 -98
- package/resources/contacts/channels.d.ts.map +1 -1
- package/resources/contacts/channels.js +13 -32
- package/resources/contacts/channels.js.map +1 -1
- package/resources/contacts/channels.mjs +13 -32
- package/resources/contacts/channels.mjs.map +1 -1
- package/resources/contacts/contacts.d.mts +33 -244
- package/resources/contacts/contacts.d.mts.map +1 -1
- package/resources/contacts/contacts.d.ts +33 -244
- package/resources/contacts/contacts.d.ts.map +1 -1
- package/resources/contacts/contacts.js +21 -52
- package/resources/contacts/contacts.js.map +1 -1
- package/resources/contacts/contacts.mjs +21 -52
- package/resources/contacts/contacts.mjs.map +1 -1
- package/resources/contacts/index.js +1 -1
- package/resources/contacts/index.js.map +1 -1
- package/resources/contacts/index.mjs +1 -1
- package/resources/contacts/index.mjs.map +1 -1
- package/resources/contacts.js +1 -1
- package/resources/contacts.js.map +1 -1
- package/resources/contacts.mjs +1 -1
- package/resources/contacts.mjs.map +1 -1
- package/resources/conversations.d.mts +32 -316
- package/resources/conversations.d.mts.map +1 -1
- package/resources/conversations.d.ts +32 -316
- package/resources/conversations.d.ts.map +1 -1
- package/resources/conversations.js +15 -1
- package/resources/conversations.js.map +1 -1
- package/resources/conversations.mjs +15 -1
- package/resources/conversations.mjs.map +1 -1
- package/resources/email-domains.d.mts +25 -208
- package/resources/email-domains.d.mts.map +1 -1
- package/resources/email-domains.d.ts +25 -208
- package/resources/email-domains.d.ts.map +1 -1
- package/resources/email-domains.js +12 -27
- package/resources/email-domains.js.map +1 -1
- package/resources/email-domains.mjs +12 -27
- package/resources/email-domains.mjs.map +1 -1
- package/resources/functions/functions.d.mts +67 -553
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +67 -553
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js +39 -82
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs +39 -82
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/functions/git-link.d.mts +25 -240
- package/resources/functions/git-link.d.mts.map +1 -1
- package/resources/functions/git-link.d.ts +25 -240
- package/resources/functions/git-link.d.ts.map +1 -1
- package/resources/functions/git-link.js +16 -34
- package/resources/functions/git-link.js.map +1 -1
- package/resources/functions/git-link.mjs +16 -34
- package/resources/functions/git-link.mjs.map +1 -1
- package/resources/functions/index.js +1 -1
- package/resources/functions/index.js.map +1 -1
- package/resources/functions/index.mjs +1 -1
- package/resources/functions/index.mjs.map +1 -1
- package/resources/functions/secrets.d.mts +15 -47
- package/resources/functions/secrets.d.mts.map +1 -1
- package/resources/functions/secrets.d.ts +15 -47
- package/resources/functions/secrets.d.ts.map +1 -1
- package/resources/functions/secrets.js +11 -21
- package/resources/functions/secrets.js.map +1 -1
- package/resources/functions/secrets.mjs +11 -21
- package/resources/functions/secrets.mjs.map +1 -1
- package/resources/functions/triggers.d.mts +14 -123
- package/resources/functions/triggers.d.mts.map +1 -1
- package/resources/functions/triggers.d.ts +14 -123
- package/resources/functions/triggers.d.ts.map +1 -1
- package/resources/functions/triggers.js +7 -25
- package/resources/functions/triggers.js.map +1 -1
- package/resources/functions/triggers.mjs +7 -25
- package/resources/functions/triggers.mjs.map +1 -1
- package/resources/functions.js +1 -1
- package/resources/functions.js.map +1 -1
- package/resources/functions.mjs +1 -1
- package/resources/functions.mjs.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -1
- package/resources/index.mjs.map +1 -1
- package/resources/introspect.d.mts +15 -105
- package/resources/introspect.d.mts.map +1 -1
- package/resources/introspect.d.ts +15 -105
- package/resources/introspect.d.ts.map +1 -1
- package/resources/introspect.js +7 -13
- package/resources/introspect.js.map +1 -1
- package/resources/introspect.mjs +7 -13
- package/resources/introspect.mjs.map +1 -1
- package/resources/invitations/webhook.d.mts +57 -0
- package/resources/invitations/webhook.d.mts.map +1 -0
- package/resources/invitations/webhook.d.ts +57 -0
- package/resources/invitations/webhook.d.ts.map +1 -0
- package/resources/invitations/webhook.js +61 -0
- package/resources/invitations/webhook.js.map +1 -0
- package/resources/invitations/webhook.mjs +57 -0
- package/resources/invitations/webhook.mjs.map +1 -0
- package/resources/invitations.d.mts +27 -174
- package/resources/invitations.d.mts.map +1 -1
- package/resources/invitations.d.ts +27 -174
- package/resources/invitations.d.ts.map +1 -1
- package/resources/invitations.js +20 -30
- package/resources/invitations.js.map +1 -1
- package/resources/invitations.mjs +19 -30
- package/resources/invitations.mjs.map +1 -1
- package/resources/me.d.mts +9 -18
- package/resources/me.d.mts.map +1 -1
- package/resources/me.d.ts +9 -18
- package/resources/me.d.ts.map +1 -1
- package/resources/me.js +5 -1
- package/resources/me.js.map +1 -1
- package/resources/me.mjs +5 -1
- package/resources/me.mjs.map +1 -1
- package/resources/memory/collections/collections.d.mts +75 -0
- package/resources/memory/collections/collections.d.mts.map +1 -0
- package/resources/memory/collections/collections.d.ts +75 -0
- package/resources/memory/collections/collections.d.ts.map +1 -0
- package/resources/memory/collections/collections.js +79 -0
- package/resources/memory/collections/collections.js.map +1 -0
- package/resources/memory/collections/collections.mjs +74 -0
- package/resources/memory/collections/collections.mjs.map +1 -0
- package/resources/memory/collections/index.d.mts +3 -0
- package/resources/memory/collections/index.d.mts.map +1 -0
- package/resources/memory/collections/index.d.ts +3 -0
- package/resources/memory/collections/index.d.ts.map +1 -0
- package/resources/memory/collections/index.js +9 -0
- package/resources/memory/collections/index.js.map +1 -0
- package/resources/memory/collections/index.mjs +4 -0
- package/resources/memory/collections/index.mjs.map +1 -0
- package/resources/memory/collections/items.d.mts +88 -0
- package/resources/memory/collections/items.d.mts.map +1 -0
- package/resources/memory/collections/items.d.ts +88 -0
- package/resources/memory/collections/items.d.ts.map +1 -0
- package/resources/memory/collections/items.js +120 -0
- package/resources/memory/collections/items.js.map +1 -0
- package/resources/memory/collections/items.mjs +116 -0
- package/resources/memory/collections/items.mjs.map +1 -0
- package/resources/memory/collections.d.mts +2 -0
- package/resources/memory/collections.d.mts.map +1 -0
- package/resources/memory/collections.d.ts +2 -0
- package/resources/memory/collections.d.ts.map +1 -0
- package/resources/memory/collections.js +6 -0
- package/resources/memory/collections.js.map +1 -0
- package/resources/memory/collections.mjs +3 -0
- package/resources/memory/collections.mjs.map +1 -0
- package/resources/memory/index.d.mts +3 -0
- package/resources/memory/index.d.mts.map +1 -0
- package/resources/memory/index.d.ts +3 -0
- package/resources/memory/index.d.ts.map +1 -0
- package/resources/memory/index.js +9 -0
- package/resources/memory/index.js.map +1 -0
- package/resources/memory/index.mjs +4 -0
- package/resources/memory/index.mjs.map +1 -0
- package/resources/memory/memory.d.mts +111 -0
- package/resources/memory/memory.d.mts.map +1 -0
- package/resources/memory/memory.d.ts +111 -0
- package/resources/memory/memory.d.ts.map +1 -0
- package/resources/memory/memory.js +116 -0
- package/resources/memory/memory.js.map +1 -0
- package/resources/memory/memory.mjs +111 -0
- package/resources/memory/memory.mjs.map +1 -0
- package/resources/memory.d.mts +2 -0
- package/resources/memory.d.mts.map +1 -0
- package/resources/memory.d.ts +2 -0
- package/resources/memory.d.ts.map +1 -0
- package/resources/memory.js +6 -0
- package/resources/memory.js.map +1 -0
- package/resources/memory.mjs +3 -0
- package/resources/memory.mjs.map +1 -0
- package/resources/messages.d.mts +106 -583
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +106 -583
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +85 -75
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +85 -75
- package/resources/messages.mjs.map +1 -1
- package/resources/number-10dlc/brands.d.mts +34 -204
- package/resources/number-10dlc/brands.d.mts.map +1 -1
- package/resources/number-10dlc/brands.d.ts +34 -204
- package/resources/number-10dlc/brands.d.ts.map +1 -1
- package/resources/number-10dlc/brands.js +21 -59
- package/resources/number-10dlc/brands.js.map +1 -1
- package/resources/number-10dlc/brands.mjs +21 -59
- package/resources/number-10dlc/brands.mjs.map +1 -1
- package/resources/number-10dlc/campaigns/campaigns.d.mts +32 -176
- package/resources/number-10dlc/campaigns/campaigns.d.mts.map +1 -1
- package/resources/number-10dlc/campaigns/campaigns.d.ts +32 -176
- package/resources/number-10dlc/campaigns/campaigns.d.ts.map +1 -1
- package/resources/number-10dlc/campaigns/campaigns.js +19 -62
- package/resources/number-10dlc/campaigns/campaigns.js.map +1 -1
- package/resources/number-10dlc/campaigns/campaigns.mjs +19 -62
- package/resources/number-10dlc/campaigns/campaigns.mjs.map +1 -1
- package/resources/number-10dlc/campaigns/index.js +1 -1
- package/resources/number-10dlc/campaigns/index.js.map +1 -1
- package/resources/number-10dlc/campaigns/index.mjs +1 -1
- package/resources/number-10dlc/campaigns/index.mjs.map +1 -1
- package/resources/number-10dlc/campaigns/phone-numbers.d.mts +21 -56
- package/resources/number-10dlc/campaigns/phone-numbers.d.mts.map +1 -1
- package/resources/number-10dlc/campaigns/phone-numbers.d.ts +21 -56
- package/resources/number-10dlc/campaigns/phone-numbers.d.ts.map +1 -1
- package/resources/number-10dlc/campaigns/phone-numbers.js +15 -26
- package/resources/number-10dlc/campaigns/phone-numbers.js.map +1 -1
- package/resources/number-10dlc/campaigns/phone-numbers.mjs +15 -26
- package/resources/number-10dlc/campaigns/phone-numbers.mjs.map +1 -1
- package/resources/number-10dlc/campaigns.js +1 -1
- package/resources/number-10dlc/campaigns.js.map +1 -1
- package/resources/number-10dlc/campaigns.mjs +1 -1
- package/resources/number-10dlc/campaigns.mjs.map +1 -1
- package/resources/number-10dlc/index.js +1 -1
- package/resources/number-10dlc/index.js.map +1 -1
- package/resources/number-10dlc/index.mjs +1 -1
- package/resources/number-10dlc/index.mjs.map +1 -1
- package/resources/number-10dlc/number-10dlc.d.mts +3 -4
- package/resources/number-10dlc/number-10dlc.d.mts.map +1 -1
- package/resources/number-10dlc/number-10dlc.d.ts +3 -4
- package/resources/number-10dlc/number-10dlc.d.ts.map +1 -1
- package/resources/number-10dlc/number-10dlc.js +1 -5
- package/resources/number-10dlc/number-10dlc.js.map +1 -1
- package/resources/number-10dlc/number-10dlc.mjs +1 -5
- package/resources/number-10dlc/number-10dlc.mjs.map +1 -1
- package/resources/number-10dlc.js +1 -1
- package/resources/number-10dlc.js.map +1 -1
- package/resources/number-10dlc.mjs +1 -1
- package/resources/number-10dlc.mjs.map +1 -1
- package/resources/phone-numbers.d.mts +95 -239
- package/resources/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers.d.ts +95 -239
- package/resources/phone-numbers.d.ts.map +1 -1
- package/resources/phone-numbers.js +74 -54
- package/resources/phone-numbers.js.map +1 -1
- package/resources/phone-numbers.mjs +74 -54
- package/resources/phone-numbers.mjs.map +1 -1
- package/resources/regulatory-documents.d.mts +24 -78
- package/resources/regulatory-documents.d.mts.map +1 -1
- package/resources/regulatory-documents.d.ts +24 -78
- package/resources/regulatory-documents.d.ts.map +1 -1
- package/resources/regulatory-documents.js +16 -33
- package/resources/regulatory-documents.js.map +1 -1
- package/resources/regulatory-documents.mjs +16 -33
- package/resources/regulatory-documents.mjs.map +1 -1
- package/resources/senders/agent/agent.d.mts +44 -496
- package/resources/senders/agent/agent.d.mts.map +1 -1
- package/resources/senders/agent/agent.d.ts +44 -496
- package/resources/senders/agent/agent.d.ts.map +1 -1
- package/resources/senders/agent/agent.js +24 -49
- package/resources/senders/agent/agent.js.map +1 -1
- package/resources/senders/agent/agent.mjs +24 -49
- package/resources/senders/agent/agent.mjs.map +1 -1
- package/resources/senders/agent/executions.d.mts +13 -33
- package/resources/senders/agent/executions.d.mts.map +1 -1
- package/resources/senders/agent/executions.d.ts +13 -33
- package/resources/senders/agent/executions.d.ts.map +1 -1
- package/resources/senders/agent/executions.js +7 -18
- package/resources/senders/agent/executions.js.map +1 -1
- package/resources/senders/agent/executions.mjs +7 -18
- package/resources/senders/agent/executions.mjs.map +1 -1
- package/resources/senders/agent/flows.d.mts +34 -188
- package/resources/senders/agent/flows.d.mts.map +1 -1
- package/resources/senders/agent/flows.d.ts +34 -188
- package/resources/senders/agent/flows.d.ts.map +1 -1
- package/resources/senders/agent/flows.js +19 -69
- package/resources/senders/agent/flows.js.map +1 -1
- package/resources/senders/agent/flows.mjs +19 -69
- package/resources/senders/agent/flows.mjs.map +1 -1
- package/resources/senders/agent/index.js +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 +27 -105
- package/resources/senders/agent/knowledge-bases/documents.d.mts.map +1 -1
- package/resources/senders/agent/knowledge-bases/documents.d.ts +27 -105
- package/resources/senders/agent/knowledge-bases/documents.d.ts.map +1 -1
- package/resources/senders/agent/knowledge-bases/documents.js +16 -47
- package/resources/senders/agent/knowledge-bases/documents.js.map +1 -1
- package/resources/senders/agent/knowledge-bases/documents.mjs +16 -47
- package/resources/senders/agent/knowledge-bases/documents.mjs.map +1 -1
- package/resources/senders/agent/knowledge-bases/index.js +1 -1
- package/resources/senders/agent/knowledge-bases/index.js.map +1 -1
- package/resources/senders/agent/knowledge-bases/index.mjs +1 -1
- package/resources/senders/agent/knowledge-bases/index.mjs.map +1 -1
- package/resources/senders/agent/knowledge-bases/knowledge-bases.d.mts +32 -113
- package/resources/senders/agent/knowledge-bases/knowledge-bases.d.mts.map +1 -1
- package/resources/senders/agent/knowledge-bases/knowledge-bases.d.ts +32 -113
- package/resources/senders/agent/knowledge-bases/knowledge-bases.d.ts.map +1 -1
- package/resources/senders/agent/knowledge-bases/knowledge-bases.js +17 -46
- package/resources/senders/agent/knowledge-bases/knowledge-bases.js.map +1 -1
- package/resources/senders/agent/knowledge-bases/knowledge-bases.mjs +17 -46
- package/resources/senders/agent/knowledge-bases/knowledge-bases.mjs.map +1 -1
- package/resources/senders/agent/knowledge-bases.js +1 -1
- package/resources/senders/agent/knowledge-bases.js.map +1 -1
- package/resources/senders/agent/knowledge-bases.mjs +1 -1
- package/resources/senders/agent/knowledge-bases.mjs.map +1 -1
- package/resources/senders/agent/tools/index.js +1 -1
- package/resources/senders/agent/tools/index.js.map +1 -1
- package/resources/senders/agent/tools/index.mjs +1 -1
- package/resources/senders/agent/tools/index.mjs.map +1 -1
- package/resources/senders/agent/tools/tools.d.mts +47 -280
- package/resources/senders/agent/tools/tools.d.mts.map +1 -1
- package/resources/senders/agent/tools/tools.d.ts +47 -280
- package/resources/senders/agent/tools/tools.d.ts.map +1 -1
- package/resources/senders/agent/tools/tools.js +25 -75
- package/resources/senders/agent/tools/tools.js.map +1 -1
- package/resources/senders/agent/tools/tools.mjs +25 -75
- package/resources/senders/agent/tools/tools.mjs.map +1 -1
- package/resources/senders/agent/tools/webhook.d.mts +6 -12
- package/resources/senders/agent/tools/webhook.d.mts.map +1 -1
- package/resources/senders/agent/tools/webhook.d.ts +6 -12
- package/resources/senders/agent/tools/webhook.d.ts.map +1 -1
- package/resources/senders/agent/tools/webhook.js +4 -9
- package/resources/senders/agent/tools/webhook.js.map +1 -1
- package/resources/senders/agent/tools/webhook.mjs +4 -9
- package/resources/senders/agent/tools/webhook.mjs.map +1 -1
- package/resources/senders/agent/tools.js +1 -1
- package/resources/senders/agent/tools.js.map +1 -1
- package/resources/senders/agent/tools.mjs +1 -1
- package/resources/senders/agent/tools.mjs.map +1 -1
- package/resources/senders/agent.js +1 -1
- package/resources/senders/agent.js.map +1 -1
- package/resources/senders/agent.mjs +1 -1
- package/resources/senders/agent.mjs.map +1 -1
- package/resources/senders/channels.d.mts +61 -0
- package/resources/senders/channels.d.mts.map +1 -0
- package/resources/senders/channels.d.ts +61 -0
- package/resources/senders/channels.d.ts.map +1 -0
- package/resources/senders/channels.js +60 -0
- package/resources/senders/channels.js.map +1 -0
- package/resources/senders/channels.mjs +56 -0
- package/resources/senders/channels.mjs.map +1 -0
- 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 +4 -2
- package/resources/senders/index.js.map +1 -1
- package/resources/senders/index.mjs +2 -1
- package/resources/senders/index.mjs.map +1 -1
- package/resources/senders/senders.d.mts +53 -514
- package/resources/senders/senders.d.mts.map +1 -1
- package/resources/senders/senders.d.ts +53 -514
- package/resources/senders/senders.d.ts.map +1 -1
- package/resources/senders/senders.js +30 -70
- package/resources/senders/senders.js.map +1 -1
- package/resources/senders/senders.mjs +30 -70
- package/resources/senders/senders.mjs.map +1 -1
- package/resources/senders/telegram.d.mts +10 -25
- package/resources/senders/telegram.d.mts.map +1 -1
- package/resources/senders/telegram.d.ts +10 -25
- package/resources/senders/telegram.d.ts.map +1 -1
- package/resources/senders/telegram.js +7 -12
- package/resources/senders/telegram.js.map +1 -1
- package/resources/senders/telegram.mjs +7 -12
- package/resources/senders/telegram.mjs.map +1 -1
- package/resources/senders/whatsapp-sync.d.mts +16 -104
- package/resources/senders/whatsapp-sync.d.mts.map +1 -1
- package/resources/senders/whatsapp-sync.d.ts +16 -104
- package/resources/senders/whatsapp-sync.d.ts.map +1 -1
- package/resources/senders/whatsapp-sync.js +10 -20
- package/resources/senders/whatsapp-sync.js.map +1 -1
- package/resources/senders/whatsapp-sync.mjs +10 -20
- package/resources/senders/whatsapp-sync.mjs.map +1 -1
- package/resources/senders.js +1 -1
- package/resources/senders.js.map +1 -1
- package/resources/senders.mjs +1 -1
- package/resources/senders.mjs.map +1 -1
- package/resources/sub-accounts/api-keys.d.mts +16 -57
- package/resources/sub-accounts/api-keys.d.mts.map +1 -1
- package/resources/sub-accounts/api-keys.d.ts +16 -57
- package/resources/sub-accounts/api-keys.d.ts.map +1 -1
- package/resources/sub-accounts/api-keys.js +10 -18
- package/resources/sub-accounts/api-keys.js.map +1 -1
- package/resources/sub-accounts/api-keys.mjs +10 -18
- package/resources/sub-accounts/api-keys.mjs.map +1 -1
- package/resources/sub-accounts/index.js +1 -1
- package/resources/sub-accounts/index.js.map +1 -1
- package/resources/sub-accounts/index.mjs +1 -1
- package/resources/sub-accounts/index.mjs.map +1 -1
- package/resources/sub-accounts/sub-accounts.d.mts +33 -125
- package/resources/sub-accounts/sub-accounts.d.mts.map +1 -1
- package/resources/sub-accounts/sub-accounts.d.ts +33 -125
- package/resources/sub-accounts/sub-accounts.d.ts.map +1 -1
- package/resources/sub-accounts/sub-accounts.js +20 -33
- package/resources/sub-accounts/sub-accounts.js.map +1 -1
- package/resources/sub-accounts/sub-accounts.mjs +20 -33
- package/resources/sub-accounts/sub-accounts.mjs.map +1 -1
- package/resources/sub-accounts.js +1 -1
- package/resources/sub-accounts.js.map +1 -1
- package/resources/sub-accounts.mjs +1 -1
- package/resources/sub-accounts.mjs.map +1 -1
- package/resources/templates.d.mts +46 -302
- package/resources/templates.d.mts.map +1 -1
- package/resources/templates.d.ts +46 -302
- package/resources/templates.d.ts.map +1 -1
- package/resources/templates.js +34 -51
- package/resources/templates.js.map +1 -1
- package/resources/templates.mjs +34 -51
- package/resources/templates.mjs.map +1 -1
- package/resources/urls.d.mts +27 -78
- package/resources/urls.d.mts.map +1 -1
- package/resources/urls.d.ts +27 -78
- package/resources/urls.d.ts.map +1 -1
- package/resources/urls.js +18 -28
- package/resources/urls.js.map +1 -1
- package/resources/urls.mjs +18 -28
- package/resources/urls.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.js +1 -0
- package/resources.js.map +1 -1
- package/resources.mjs +1 -0
- package/resources.mjs.map +1 -1
- package/src/client.ts +273 -230
- package/src/core/api-promise.ts +0 -2
- package/src/core/error.ts +0 -2
- package/src/core/pagination.ts +0 -2
- package/src/core/resource.ts +0 -2
- package/src/index.ts +0 -2
- package/src/internal/builtin-types.ts +0 -2
- package/src/internal/detect-platform.ts +0 -2
- package/src/internal/errors.ts +0 -2
- package/src/internal/headers.ts +0 -2
- package/src/internal/parse.ts +0 -2
- package/src/internal/request-options.ts +0 -2
- package/src/internal/shim-types.ts +0 -2
- package/src/internal/shims.ts +0 -2
- package/src/internal/types.ts +0 -2
- package/src/internal/utils/base64.ts +0 -2
- package/src/internal/utils/env.ts +0 -2
- package/src/internal/utils/log.ts +0 -2
- package/src/internal/utils/query.ts +1 -3
- package/src/internal/utils/sleep.ts +0 -2
- package/src/internal/utils/uuid.ts +0 -2
- package/src/internal/utils/values.ts +0 -2
- package/src/internal/utils.ts +0 -2
- package/src/resources/addresses.ts +28 -97
- package/src/resources/agent-templates.ts +18 -89
- package/src/resources/agents/agents.ts +58 -472
- package/src/resources/agents/index.ts +1 -1
- package/src/resources/agents/senders.ts +11 -33
- package/src/resources/agents.ts +1 -1
- package/src/resources/balance.ts +7 -24
- package/src/resources/broadcasts/broadcasts.ts +92 -492
- package/src/resources/broadcasts/contacts.ts +20 -114
- package/src/resources/broadcasts/index.ts +1 -1
- package/src/resources/broadcasts.ts +1 -1
- package/src/resources/calls.ts +41 -560
- package/src/resources/contacts/channels.ts +21 -104
- package/src/resources/contacts/contacts.ts +42 -289
- package/src/resources/contacts/index.ts +1 -1
- package/src/resources/contacts.ts +1 -1
- package/src/resources/conversations.ts +33 -387
- package/src/resources/email-domains.ts +26 -253
- package/src/resources/functions/functions.ts +83 -669
- package/src/resources/functions/git-link.ts +26 -301
- package/src/resources/functions/index.ts +1 -1
- package/src/resources/functions/secrets.ts +16 -55
- package/src/resources/functions/triggers.ts +15 -149
- package/src/resources/functions.ts +1 -1
- package/src/resources/index.ts +21 -1
- package/src/resources/introspect.ts +16 -136
- package/src/resources/invitations/webhook.ts +93 -0
- package/src/resources/invitations.ts +45 -201
- package/src/resources/me.ts +10 -28
- package/src/resources/memory/collections/collections.ts +149 -0
- package/src/resources/memory/collections/index.ts +30 -0
- package/src/resources/memory/collections/items.ts +185 -0
- package/src/resources/memory/collections.ts +3 -0
- package/src/resources/memory/index.ts +34 -0
- package/src/resources/memory/memory.ts +211 -0
- package/src/resources/memory.ts +3 -0
- package/src/resources/messages.ts +106 -701
- package/src/resources/number-10dlc/brands.ts +35 -263
- package/src/resources/number-10dlc/campaigns/campaigns.ts +39 -239
- package/src/resources/number-10dlc/campaigns/index.ts +1 -1
- package/src/resources/number-10dlc/campaigns/phone-numbers.ts +31 -64
- package/src/resources/number-10dlc/campaigns.ts +1 -1
- package/src/resources/number-10dlc/index.ts +1 -1
- package/src/resources/number-10dlc/number-10dlc.ts +23 -29
- package/src/resources/number-10dlc.ts +1 -1
- package/src/resources/phone-numbers.ts +96 -280
- package/src/resources/regulatory-documents.ts +25 -106
- package/src/resources/senders/agent/agent.ts +91 -662
- package/src/resources/senders/agent/executions.ts +14 -35
- package/src/resources/senders/agent/flows.ts +35 -213
- package/src/resources/senders/agent/index.ts +1 -1
- package/src/resources/senders/agent/knowledge-bases/documents.ts +28 -114
- package/src/resources/senders/agent/knowledge-bases/index.ts +1 -1
- package/src/resources/senders/agent/knowledge-bases/knowledge-bases.ts +42 -143
- package/src/resources/senders/agent/knowledge-bases.ts +1 -1
- package/src/resources/senders/agent/tools/index.ts +1 -1
- package/src/resources/senders/agent/tools/tools.ts +48 -318
- package/src/resources/senders/agent/tools/webhook.ts +7 -13
- package/src/resources/senders/agent/tools.ts +1 -1
- package/src/resources/senders/agent.ts +1 -1
- package/src/resources/senders/channels.ts +95 -0
- package/src/resources/senders/index.ts +11 -1
- package/src/resources/senders/senders.ts +86 -634
- package/src/resources/senders/telegram.ts +11 -29
- package/src/resources/senders/whatsapp-sync.ts +17 -115
- package/src/resources/senders.ts +1 -1
- package/src/resources/sub-accounts/api-keys.ts +17 -73
- package/src/resources/sub-accounts/index.ts +1 -1
- package/src/resources/sub-accounts/sub-accounts.ts +38 -147
- package/src/resources/sub-accounts.ts +1 -1
- package/src/resources/templates.ts +47 -358
- package/src/resources/urls.ts +28 -86
- package/src/resources.ts +2 -0
- package/src/types.ts +5468 -0
- package/src/version.ts +3 -1
- package/types.d.mts +4905 -0
- package/types.d.mts.map +1 -0
- package/types.d.ts +4905 -0
- package/types.d.ts.map +1 -0
- package/types.js +4 -0
- package/types.js.map +1 -0
- package/types.mjs +3 -0
- package/types.mjs.map +1 -0
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +2 -1
- package/version.js.map +1 -1
- package/version.mjs +2 -1
- package/version.mjs.map +1 -1
- package/src/lib/.keep +0 -4
|
@@ -1,86 +1,57 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
-
import { Cursor,
|
|
3
|
+
import { Cursor, PagePromise } from "../../core/pagination.mjs";
|
|
4
4
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
5
|
+
import type * as T from "../../types.mjs";
|
|
5
6
|
export declare class Brands extends APIResource {
|
|
6
7
|
/**
|
|
8
|
+
* Create 10DLC brand
|
|
9
|
+
*
|
|
7
10
|
* Create a 10DLC brand registration. The brand starts in draft status. Submit it
|
|
8
11
|
* for review using the submit endpoint.
|
|
9
12
|
*
|
|
10
|
-
*
|
|
11
|
-
* ```ts
|
|
12
|
-
* const brand = await client.number10dlc.brands.create({
|
|
13
|
-
* city: 'San Francisco',
|
|
14
|
-
* country: 'US',
|
|
15
|
-
* displayName: 'Acme Corp',
|
|
16
|
-
* email: 'compliance@acme.com',
|
|
17
|
-
* entityType: 'PRIVATE_PROFIT',
|
|
18
|
-
* phone: '+14155551234',
|
|
19
|
-
* postalCode: '94102',
|
|
20
|
-
* state: 'CA',
|
|
21
|
-
* street: '123 Main St',
|
|
22
|
-
* vertical: 'Technology',
|
|
23
|
-
* companyName: 'Acme Corporation',
|
|
24
|
-
* ein: '12-3456789',
|
|
25
|
-
* website: 'https://acme.com',
|
|
26
|
-
* });
|
|
27
|
-
* ```
|
|
13
|
+
* `POST /v1/10dlc/brands`
|
|
28
14
|
*/
|
|
29
15
|
create(body: BrandCreateParams, options?: RequestOptions): APIPromise<BrandCreateResponse>;
|
|
30
16
|
/**
|
|
31
17
|
* Get 10DLC brand
|
|
32
18
|
*
|
|
33
|
-
*
|
|
34
|
-
* ```ts
|
|
35
|
-
* const brand = await client.number10dlc.brands.retrieve(
|
|
36
|
-
* 'brandId',
|
|
37
|
-
* );
|
|
38
|
-
* ```
|
|
19
|
+
* `GET /v1/10dlc/brands/{brandId}`
|
|
39
20
|
*/
|
|
40
21
|
retrieve(brandID: string, options?: RequestOptions): APIPromise<BrandRetrieveResponse>;
|
|
41
22
|
/**
|
|
23
|
+
* Update 10DLC brand
|
|
24
|
+
*
|
|
42
25
|
* Update a 10DLC brand in draft status. Cannot update after submission.
|
|
43
26
|
*
|
|
44
|
-
*
|
|
45
|
-
* ```ts
|
|
46
|
-
* const brand = await client.number10dlc.brands.update(
|
|
47
|
-
* 'brandId',
|
|
48
|
-
* );
|
|
49
|
-
* ```
|
|
27
|
+
* `PATCH /v1/10dlc/brands/{brandId}`
|
|
50
28
|
*/
|
|
51
29
|
update(brandID: string, body: BrandUpdateParams, options?: RequestOptions): APIPromise<BrandUpdateResponse>;
|
|
52
30
|
/**
|
|
31
|
+
* List 10DLC brands
|
|
32
|
+
*
|
|
53
33
|
* List 10DLC brand registrations for this project.
|
|
54
34
|
*
|
|
55
|
-
*
|
|
56
|
-
* ```ts
|
|
57
|
-
* // Automatically fetches more pages as needed.
|
|
58
|
-
* for await (const tenDlcBrand of client.number10dlc.brands.list()) {
|
|
59
|
-
* // ...
|
|
60
|
-
* }
|
|
61
|
-
* ```
|
|
35
|
+
* `GET /v1/10dlc/brands`
|
|
62
36
|
*/
|
|
63
37
|
list(query?: BrandListParams | null | undefined, options?: RequestOptions): PagePromise<TenDlcBrandsCursor, TenDlcBrand>;
|
|
64
38
|
/**
|
|
65
39
|
* Delete 10DLC brand
|
|
66
40
|
*
|
|
67
|
-
*
|
|
68
|
-
* ```ts
|
|
69
|
-
* await client.number10dlc.brands.delete('brandId');
|
|
70
|
-
* ```
|
|
41
|
+
* `DELETE /v1/10dlc/brands/{brandId}`
|
|
71
42
|
*/
|
|
72
43
|
delete(brandID: string, options?: RequestOptions): APIPromise<void>;
|
|
73
44
|
/**
|
|
45
|
+
* List 10DLC use cases
|
|
46
|
+
*
|
|
74
47
|
* List available use cases for 10DLC campaign registration.
|
|
75
48
|
*
|
|
76
|
-
*
|
|
77
|
-
* ```ts
|
|
78
|
-
* const response =
|
|
79
|
-
* await client.number10dlc.brands.listUseCases();
|
|
80
|
-
* ```
|
|
49
|
+
* `GET /v1/10dlc/brands/use-cases`
|
|
81
50
|
*/
|
|
82
51
|
listUseCases(options?: RequestOptions): APIPromise<BrandListUseCasesResponse>;
|
|
83
52
|
/**
|
|
53
|
+
* Submit 10DLC brand for review
|
|
54
|
+
*
|
|
84
55
|
* Submit a draft brand to The Campaign Registry (TCR) for vetting. The brand must
|
|
85
56
|
* be in draft status, and the team must have an approved Business Verification
|
|
86
57
|
* (KYB) — carriers register a brand against a vetted legal entity, so submitting
|
|
@@ -93,174 +64,33 @@ export declare class Brands extends APIResource {
|
|
|
93
64
|
* charged twice. Campaign registration is billed separately when a campaign is
|
|
94
65
|
* submitted.
|
|
95
66
|
*
|
|
96
|
-
*
|
|
97
|
-
* ```ts
|
|
98
|
-
* const response = await client.number10dlc.brands.submit(
|
|
99
|
-
* 'brandId',
|
|
100
|
-
* );
|
|
101
|
-
* ```
|
|
67
|
+
* `POST /v1/10dlc/brands/{brandId}/submit`
|
|
102
68
|
*/
|
|
103
69
|
submit(brandID: string, options?: RequestOptions): APIPromise<BrandSubmitResponse>;
|
|
104
70
|
/**
|
|
71
|
+
* Sync 10DLC brand status
|
|
72
|
+
*
|
|
105
73
|
* Sync the brand status with the registration provider. Use this to check for
|
|
106
74
|
* approval updates after submission.
|
|
107
75
|
*
|
|
108
|
-
*
|
|
109
|
-
* ```ts
|
|
110
|
-
* const response = await client.number10dlc.brands.syncStatus(
|
|
111
|
-
* 'brandId',
|
|
112
|
-
* );
|
|
113
|
-
* ```
|
|
76
|
+
* `POST /v1/10dlc/brands/{brandId}/sync`
|
|
114
77
|
*/
|
|
115
78
|
syncStatus(brandID: string, options?: RequestOptions): APIPromise<BrandSyncStatusResponse>;
|
|
116
79
|
}
|
|
117
|
-
export type TenDlcBrandsCursor = Cursor<TenDlcBrand>;
|
|
118
|
-
export
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
*/
|
|
124
|
-
country: string;
|
|
125
|
-
createdAt: string;
|
|
126
|
-
/**
|
|
127
|
-
* Display name of the brand.
|
|
128
|
-
*/
|
|
129
|
-
displayName: string;
|
|
130
|
-
email: string;
|
|
131
|
-
/**
|
|
132
|
-
* Business entity type for 10DLC brand registration.
|
|
133
|
-
*/
|
|
134
|
-
entityType: 'PRIVATE_PROFIT' | 'PUBLIC_PROFIT' | 'NON_PROFIT' | 'GOVERNMENT' | 'SOLE_PROPRIETOR';
|
|
135
|
-
/**
|
|
136
|
-
* Contact phone number in E.164 format.
|
|
137
|
-
*/
|
|
138
|
-
phone: string;
|
|
139
|
-
postalCode: string;
|
|
140
|
-
state: string;
|
|
141
|
-
/**
|
|
142
|
-
* Status of a 10DLC brand registration.
|
|
143
|
-
*/
|
|
144
|
-
status: 'draft' | 'pending' | 'verified' | 'rejected';
|
|
145
|
-
street: string;
|
|
146
|
-
updatedAt: string;
|
|
147
|
-
/**
|
|
148
|
-
* Industry vertical.
|
|
149
|
-
*/
|
|
150
|
-
vertical: string;
|
|
151
|
-
brandRelationship?: string | null;
|
|
152
|
-
/**
|
|
153
|
-
* Trust score assigned by TCR after vetting.
|
|
154
|
-
*/
|
|
155
|
-
brandScore?: number | null;
|
|
156
|
-
/**
|
|
157
|
-
* Legal company name.
|
|
158
|
-
*/
|
|
159
|
-
companyName?: string | null;
|
|
160
|
-
/**
|
|
161
|
-
* Employer Identification Number (EIN).
|
|
162
|
-
*/
|
|
163
|
-
ein?: string | null;
|
|
164
|
-
/**
|
|
165
|
-
* Reason for rejection, if applicable.
|
|
166
|
-
*/
|
|
167
|
-
failureReason?: string | null;
|
|
168
|
-
firstName?: string | null;
|
|
169
|
-
lastName?: string | null;
|
|
170
|
-
stockExchange?: string | null;
|
|
171
|
-
stockSymbol?: string | null;
|
|
172
|
-
submittedAt?: string | null;
|
|
173
|
-
verifiedAt?: string | null;
|
|
174
|
-
website?: string | null;
|
|
175
|
-
}
|
|
176
|
-
export interface BrandCreateResponse {
|
|
177
|
-
brand: TenDlcBrand;
|
|
178
|
-
}
|
|
179
|
-
export interface BrandRetrieveResponse {
|
|
180
|
-
brand: TenDlcBrand;
|
|
181
|
-
}
|
|
182
|
-
export interface BrandUpdateResponse {
|
|
183
|
-
brand: TenDlcBrand;
|
|
184
|
-
}
|
|
185
|
-
export interface BrandListUseCasesResponse {
|
|
186
|
-
useCases: Array<BrandListUseCasesResponse.UseCase>;
|
|
187
|
-
}
|
|
80
|
+
export type TenDlcBrandsCursor = Cursor<T.TenDlcBrand>;
|
|
81
|
+
export type TenDlcBrand = T.TenDlcBrand;
|
|
82
|
+
export type BrandCreateResponse = T.TenDlcBrandResponse;
|
|
83
|
+
export type BrandRetrieveResponse = T.TenDlcBrandResponse;
|
|
84
|
+
export type BrandUpdateResponse = T.TenDlcBrandResponse;
|
|
85
|
+
export type BrandListUseCasesResponse = T.ListTenDlcUseCasesResponse;
|
|
188
86
|
export declare namespace BrandListUseCasesResponse {
|
|
189
|
-
|
|
190
|
-
description?: string;
|
|
191
|
-
name?: string;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
export interface BrandSubmitResponse {
|
|
195
|
-
brand: TenDlcBrand;
|
|
196
|
-
}
|
|
197
|
-
export interface BrandSyncStatusResponse {
|
|
198
|
-
brand: TenDlcBrand;
|
|
199
|
-
}
|
|
200
|
-
export interface BrandCreateParams {
|
|
201
|
-
city: string;
|
|
202
|
-
/**
|
|
203
|
-
* Two-letter ISO country code.
|
|
204
|
-
*/
|
|
205
|
-
country: string;
|
|
206
|
-
/**
|
|
207
|
-
* Display name of the brand.
|
|
208
|
-
*/
|
|
209
|
-
displayName: string;
|
|
210
|
-
email: string;
|
|
211
|
-
/**
|
|
212
|
-
* Business entity type for 10DLC brand registration.
|
|
213
|
-
*/
|
|
214
|
-
entityType: 'PRIVATE_PROFIT' | 'PUBLIC_PROFIT' | 'NON_PROFIT' | 'GOVERNMENT' | 'SOLE_PROPRIETOR';
|
|
215
|
-
/**
|
|
216
|
-
* Contact phone in E.164 format.
|
|
217
|
-
*/
|
|
218
|
-
phone: string;
|
|
219
|
-
postalCode: string;
|
|
220
|
-
state: string;
|
|
221
|
-
street: string;
|
|
222
|
-
/**
|
|
223
|
-
* Industry vertical.
|
|
224
|
-
*/
|
|
225
|
-
vertical: string;
|
|
226
|
-
/**
|
|
227
|
-
* Legal company name.
|
|
228
|
-
*/
|
|
229
|
-
companyName?: string;
|
|
230
|
-
/**
|
|
231
|
-
* Employer Identification Number (format: XX-XXXXXXX).
|
|
232
|
-
*/
|
|
233
|
-
ein?: string;
|
|
234
|
-
firstName?: string;
|
|
235
|
-
lastName?: string;
|
|
236
|
-
stockExchange?: string;
|
|
237
|
-
stockSymbol?: string;
|
|
238
|
-
website?: string;
|
|
239
|
-
}
|
|
240
|
-
export interface BrandUpdateParams {
|
|
241
|
-
city?: string;
|
|
242
|
-
companyName?: string;
|
|
243
|
-
country?: string;
|
|
244
|
-
displayName?: string;
|
|
245
|
-
ein?: string;
|
|
246
|
-
email?: string;
|
|
247
|
-
/**
|
|
248
|
-
* Business entity type for 10DLC brand registration.
|
|
249
|
-
*/
|
|
250
|
-
entityType?: 'PRIVATE_PROFIT' | 'PUBLIC_PROFIT' | 'NON_PROFIT' | 'GOVERNMENT' | 'SOLE_PROPRIETOR';
|
|
251
|
-
firstName?: string;
|
|
252
|
-
lastName?: string;
|
|
253
|
-
phone?: string;
|
|
254
|
-
postalCode?: string;
|
|
255
|
-
state?: string;
|
|
256
|
-
stockExchange?: string;
|
|
257
|
-
stockSymbol?: string;
|
|
258
|
-
street?: string;
|
|
259
|
-
vertical?: string;
|
|
260
|
-
website?: string;
|
|
261
|
-
}
|
|
262
|
-
export interface BrandListParams extends CursorParams {
|
|
87
|
+
type UseCase = T.ListTenDlcUseCasesResponseUseCasesItem;
|
|
263
88
|
}
|
|
89
|
+
export type BrandSubmitResponse = T.TenDlcBrandResponse;
|
|
90
|
+
export type BrandSyncStatusResponse = T.TenDlcBrandResponse;
|
|
91
|
+
export type BrandCreateParams = T.Number10dlcBrandsCreateParams;
|
|
92
|
+
export type BrandUpdateParams = T.Number10dlcBrandsUpdateParams;
|
|
93
|
+
export type BrandListParams = T.Number10dlcBrandsListParams;
|
|
264
94
|
export declare namespace Brands {
|
|
265
95
|
export { type TenDlcBrand as TenDlcBrand, type BrandCreateResponse as BrandCreateResponse, type BrandRetrieveResponse as BrandRetrieveResponse, type BrandUpdateResponse as BrandUpdateResponse, type BrandListUseCasesResponse as BrandListUseCasesResponse, type BrandSubmitResponse as BrandSubmitResponse, type BrandSyncStatusResponse as BrandSyncStatusResponse, type TenDlcBrandsCursor as TenDlcBrandsCursor, type BrandCreateParams as BrandCreateParams, type BrandUpdateParams as BrandUpdateParams, type BrandListParams as BrandListParams, };
|
|
266
96
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brands.d.mts","sourceRoot":"","sources":["../../src/resources/number-10dlc/brands.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"brands.d.mts","sourceRoot":"","sources":["../../src/resources/number-10dlc/brands.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,86 +1,57 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
-
import { Cursor,
|
|
3
|
+
import { Cursor, PagePromise } from "../../core/pagination.js";
|
|
4
4
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
5
|
+
import type * as T from "../../types.js";
|
|
5
6
|
export declare class Brands extends APIResource {
|
|
6
7
|
/**
|
|
8
|
+
* Create 10DLC brand
|
|
9
|
+
*
|
|
7
10
|
* Create a 10DLC brand registration. The brand starts in draft status. Submit it
|
|
8
11
|
* for review using the submit endpoint.
|
|
9
12
|
*
|
|
10
|
-
*
|
|
11
|
-
* ```ts
|
|
12
|
-
* const brand = await client.number10dlc.brands.create({
|
|
13
|
-
* city: 'San Francisco',
|
|
14
|
-
* country: 'US',
|
|
15
|
-
* displayName: 'Acme Corp',
|
|
16
|
-
* email: 'compliance@acme.com',
|
|
17
|
-
* entityType: 'PRIVATE_PROFIT',
|
|
18
|
-
* phone: '+14155551234',
|
|
19
|
-
* postalCode: '94102',
|
|
20
|
-
* state: 'CA',
|
|
21
|
-
* street: '123 Main St',
|
|
22
|
-
* vertical: 'Technology',
|
|
23
|
-
* companyName: 'Acme Corporation',
|
|
24
|
-
* ein: '12-3456789',
|
|
25
|
-
* website: 'https://acme.com',
|
|
26
|
-
* });
|
|
27
|
-
* ```
|
|
13
|
+
* `POST /v1/10dlc/brands`
|
|
28
14
|
*/
|
|
29
15
|
create(body: BrandCreateParams, options?: RequestOptions): APIPromise<BrandCreateResponse>;
|
|
30
16
|
/**
|
|
31
17
|
* Get 10DLC brand
|
|
32
18
|
*
|
|
33
|
-
*
|
|
34
|
-
* ```ts
|
|
35
|
-
* const brand = await client.number10dlc.brands.retrieve(
|
|
36
|
-
* 'brandId',
|
|
37
|
-
* );
|
|
38
|
-
* ```
|
|
19
|
+
* `GET /v1/10dlc/brands/{brandId}`
|
|
39
20
|
*/
|
|
40
21
|
retrieve(brandID: string, options?: RequestOptions): APIPromise<BrandRetrieveResponse>;
|
|
41
22
|
/**
|
|
23
|
+
* Update 10DLC brand
|
|
24
|
+
*
|
|
42
25
|
* Update a 10DLC brand in draft status. Cannot update after submission.
|
|
43
26
|
*
|
|
44
|
-
*
|
|
45
|
-
* ```ts
|
|
46
|
-
* const brand = await client.number10dlc.brands.update(
|
|
47
|
-
* 'brandId',
|
|
48
|
-
* );
|
|
49
|
-
* ```
|
|
27
|
+
* `PATCH /v1/10dlc/brands/{brandId}`
|
|
50
28
|
*/
|
|
51
29
|
update(brandID: string, body: BrandUpdateParams, options?: RequestOptions): APIPromise<BrandUpdateResponse>;
|
|
52
30
|
/**
|
|
31
|
+
* List 10DLC brands
|
|
32
|
+
*
|
|
53
33
|
* List 10DLC brand registrations for this project.
|
|
54
34
|
*
|
|
55
|
-
*
|
|
56
|
-
* ```ts
|
|
57
|
-
* // Automatically fetches more pages as needed.
|
|
58
|
-
* for await (const tenDlcBrand of client.number10dlc.brands.list()) {
|
|
59
|
-
* // ...
|
|
60
|
-
* }
|
|
61
|
-
* ```
|
|
35
|
+
* `GET /v1/10dlc/brands`
|
|
62
36
|
*/
|
|
63
37
|
list(query?: BrandListParams | null | undefined, options?: RequestOptions): PagePromise<TenDlcBrandsCursor, TenDlcBrand>;
|
|
64
38
|
/**
|
|
65
39
|
* Delete 10DLC brand
|
|
66
40
|
*
|
|
67
|
-
*
|
|
68
|
-
* ```ts
|
|
69
|
-
* await client.number10dlc.brands.delete('brandId');
|
|
70
|
-
* ```
|
|
41
|
+
* `DELETE /v1/10dlc/brands/{brandId}`
|
|
71
42
|
*/
|
|
72
43
|
delete(brandID: string, options?: RequestOptions): APIPromise<void>;
|
|
73
44
|
/**
|
|
45
|
+
* List 10DLC use cases
|
|
46
|
+
*
|
|
74
47
|
* List available use cases for 10DLC campaign registration.
|
|
75
48
|
*
|
|
76
|
-
*
|
|
77
|
-
* ```ts
|
|
78
|
-
* const response =
|
|
79
|
-
* await client.number10dlc.brands.listUseCases();
|
|
80
|
-
* ```
|
|
49
|
+
* `GET /v1/10dlc/brands/use-cases`
|
|
81
50
|
*/
|
|
82
51
|
listUseCases(options?: RequestOptions): APIPromise<BrandListUseCasesResponse>;
|
|
83
52
|
/**
|
|
53
|
+
* Submit 10DLC brand for review
|
|
54
|
+
*
|
|
84
55
|
* Submit a draft brand to The Campaign Registry (TCR) for vetting. The brand must
|
|
85
56
|
* be in draft status, and the team must have an approved Business Verification
|
|
86
57
|
* (KYB) — carriers register a brand against a vetted legal entity, so submitting
|
|
@@ -93,174 +64,33 @@ export declare class Brands extends APIResource {
|
|
|
93
64
|
* charged twice. Campaign registration is billed separately when a campaign is
|
|
94
65
|
* submitted.
|
|
95
66
|
*
|
|
96
|
-
*
|
|
97
|
-
* ```ts
|
|
98
|
-
* const response = await client.number10dlc.brands.submit(
|
|
99
|
-
* 'brandId',
|
|
100
|
-
* );
|
|
101
|
-
* ```
|
|
67
|
+
* `POST /v1/10dlc/brands/{brandId}/submit`
|
|
102
68
|
*/
|
|
103
69
|
submit(brandID: string, options?: RequestOptions): APIPromise<BrandSubmitResponse>;
|
|
104
70
|
/**
|
|
71
|
+
* Sync 10DLC brand status
|
|
72
|
+
*
|
|
105
73
|
* Sync the brand status with the registration provider. Use this to check for
|
|
106
74
|
* approval updates after submission.
|
|
107
75
|
*
|
|
108
|
-
*
|
|
109
|
-
* ```ts
|
|
110
|
-
* const response = await client.number10dlc.brands.syncStatus(
|
|
111
|
-
* 'brandId',
|
|
112
|
-
* );
|
|
113
|
-
* ```
|
|
76
|
+
* `POST /v1/10dlc/brands/{brandId}/sync`
|
|
114
77
|
*/
|
|
115
78
|
syncStatus(brandID: string, options?: RequestOptions): APIPromise<BrandSyncStatusResponse>;
|
|
116
79
|
}
|
|
117
|
-
export type TenDlcBrandsCursor = Cursor<TenDlcBrand>;
|
|
118
|
-
export
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
*/
|
|
124
|
-
country: string;
|
|
125
|
-
createdAt: string;
|
|
126
|
-
/**
|
|
127
|
-
* Display name of the brand.
|
|
128
|
-
*/
|
|
129
|
-
displayName: string;
|
|
130
|
-
email: string;
|
|
131
|
-
/**
|
|
132
|
-
* Business entity type for 10DLC brand registration.
|
|
133
|
-
*/
|
|
134
|
-
entityType: 'PRIVATE_PROFIT' | 'PUBLIC_PROFIT' | 'NON_PROFIT' | 'GOVERNMENT' | 'SOLE_PROPRIETOR';
|
|
135
|
-
/**
|
|
136
|
-
* Contact phone number in E.164 format.
|
|
137
|
-
*/
|
|
138
|
-
phone: string;
|
|
139
|
-
postalCode: string;
|
|
140
|
-
state: string;
|
|
141
|
-
/**
|
|
142
|
-
* Status of a 10DLC brand registration.
|
|
143
|
-
*/
|
|
144
|
-
status: 'draft' | 'pending' | 'verified' | 'rejected';
|
|
145
|
-
street: string;
|
|
146
|
-
updatedAt: string;
|
|
147
|
-
/**
|
|
148
|
-
* Industry vertical.
|
|
149
|
-
*/
|
|
150
|
-
vertical: string;
|
|
151
|
-
brandRelationship?: string | null;
|
|
152
|
-
/**
|
|
153
|
-
* Trust score assigned by TCR after vetting.
|
|
154
|
-
*/
|
|
155
|
-
brandScore?: number | null;
|
|
156
|
-
/**
|
|
157
|
-
* Legal company name.
|
|
158
|
-
*/
|
|
159
|
-
companyName?: string | null;
|
|
160
|
-
/**
|
|
161
|
-
* Employer Identification Number (EIN).
|
|
162
|
-
*/
|
|
163
|
-
ein?: string | null;
|
|
164
|
-
/**
|
|
165
|
-
* Reason for rejection, if applicable.
|
|
166
|
-
*/
|
|
167
|
-
failureReason?: string | null;
|
|
168
|
-
firstName?: string | null;
|
|
169
|
-
lastName?: string | null;
|
|
170
|
-
stockExchange?: string | null;
|
|
171
|
-
stockSymbol?: string | null;
|
|
172
|
-
submittedAt?: string | null;
|
|
173
|
-
verifiedAt?: string | null;
|
|
174
|
-
website?: string | null;
|
|
175
|
-
}
|
|
176
|
-
export interface BrandCreateResponse {
|
|
177
|
-
brand: TenDlcBrand;
|
|
178
|
-
}
|
|
179
|
-
export interface BrandRetrieveResponse {
|
|
180
|
-
brand: TenDlcBrand;
|
|
181
|
-
}
|
|
182
|
-
export interface BrandUpdateResponse {
|
|
183
|
-
brand: TenDlcBrand;
|
|
184
|
-
}
|
|
185
|
-
export interface BrandListUseCasesResponse {
|
|
186
|
-
useCases: Array<BrandListUseCasesResponse.UseCase>;
|
|
187
|
-
}
|
|
80
|
+
export type TenDlcBrandsCursor = Cursor<T.TenDlcBrand>;
|
|
81
|
+
export type TenDlcBrand = T.TenDlcBrand;
|
|
82
|
+
export type BrandCreateResponse = T.TenDlcBrandResponse;
|
|
83
|
+
export type BrandRetrieveResponse = T.TenDlcBrandResponse;
|
|
84
|
+
export type BrandUpdateResponse = T.TenDlcBrandResponse;
|
|
85
|
+
export type BrandListUseCasesResponse = T.ListTenDlcUseCasesResponse;
|
|
188
86
|
export declare namespace BrandListUseCasesResponse {
|
|
189
|
-
|
|
190
|
-
description?: string;
|
|
191
|
-
name?: string;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
export interface BrandSubmitResponse {
|
|
195
|
-
brand: TenDlcBrand;
|
|
196
|
-
}
|
|
197
|
-
export interface BrandSyncStatusResponse {
|
|
198
|
-
brand: TenDlcBrand;
|
|
199
|
-
}
|
|
200
|
-
export interface BrandCreateParams {
|
|
201
|
-
city: string;
|
|
202
|
-
/**
|
|
203
|
-
* Two-letter ISO country code.
|
|
204
|
-
*/
|
|
205
|
-
country: string;
|
|
206
|
-
/**
|
|
207
|
-
* Display name of the brand.
|
|
208
|
-
*/
|
|
209
|
-
displayName: string;
|
|
210
|
-
email: string;
|
|
211
|
-
/**
|
|
212
|
-
* Business entity type for 10DLC brand registration.
|
|
213
|
-
*/
|
|
214
|
-
entityType: 'PRIVATE_PROFIT' | 'PUBLIC_PROFIT' | 'NON_PROFIT' | 'GOVERNMENT' | 'SOLE_PROPRIETOR';
|
|
215
|
-
/**
|
|
216
|
-
* Contact phone in E.164 format.
|
|
217
|
-
*/
|
|
218
|
-
phone: string;
|
|
219
|
-
postalCode: string;
|
|
220
|
-
state: string;
|
|
221
|
-
street: string;
|
|
222
|
-
/**
|
|
223
|
-
* Industry vertical.
|
|
224
|
-
*/
|
|
225
|
-
vertical: string;
|
|
226
|
-
/**
|
|
227
|
-
* Legal company name.
|
|
228
|
-
*/
|
|
229
|
-
companyName?: string;
|
|
230
|
-
/**
|
|
231
|
-
* Employer Identification Number (format: XX-XXXXXXX).
|
|
232
|
-
*/
|
|
233
|
-
ein?: string;
|
|
234
|
-
firstName?: string;
|
|
235
|
-
lastName?: string;
|
|
236
|
-
stockExchange?: string;
|
|
237
|
-
stockSymbol?: string;
|
|
238
|
-
website?: string;
|
|
239
|
-
}
|
|
240
|
-
export interface BrandUpdateParams {
|
|
241
|
-
city?: string;
|
|
242
|
-
companyName?: string;
|
|
243
|
-
country?: string;
|
|
244
|
-
displayName?: string;
|
|
245
|
-
ein?: string;
|
|
246
|
-
email?: string;
|
|
247
|
-
/**
|
|
248
|
-
* Business entity type for 10DLC brand registration.
|
|
249
|
-
*/
|
|
250
|
-
entityType?: 'PRIVATE_PROFIT' | 'PUBLIC_PROFIT' | 'NON_PROFIT' | 'GOVERNMENT' | 'SOLE_PROPRIETOR';
|
|
251
|
-
firstName?: string;
|
|
252
|
-
lastName?: string;
|
|
253
|
-
phone?: string;
|
|
254
|
-
postalCode?: string;
|
|
255
|
-
state?: string;
|
|
256
|
-
stockExchange?: string;
|
|
257
|
-
stockSymbol?: string;
|
|
258
|
-
street?: string;
|
|
259
|
-
vertical?: string;
|
|
260
|
-
website?: string;
|
|
261
|
-
}
|
|
262
|
-
export interface BrandListParams extends CursorParams {
|
|
87
|
+
type UseCase = T.ListTenDlcUseCasesResponseUseCasesItem;
|
|
263
88
|
}
|
|
89
|
+
export type BrandSubmitResponse = T.TenDlcBrandResponse;
|
|
90
|
+
export type BrandSyncStatusResponse = T.TenDlcBrandResponse;
|
|
91
|
+
export type BrandCreateParams = T.Number10dlcBrandsCreateParams;
|
|
92
|
+
export type BrandUpdateParams = T.Number10dlcBrandsUpdateParams;
|
|
93
|
+
export type BrandListParams = T.Number10dlcBrandsListParams;
|
|
264
94
|
export declare namespace Brands {
|
|
265
95
|
export { type TenDlcBrand as TenDlcBrand, type BrandCreateResponse as BrandCreateResponse, type BrandRetrieveResponse as BrandRetrieveResponse, type BrandUpdateResponse as BrandUpdateResponse, type BrandListUseCasesResponse as BrandListUseCasesResponse, type BrandSubmitResponse as BrandSubmitResponse, type BrandSyncStatusResponse as BrandSyncStatusResponse, type TenDlcBrandsCursor as TenDlcBrandsCursor, type BrandCreateParams as BrandCreateParams, type BrandUpdateParams as BrandUpdateParams, type BrandListParams as BrandListParams, };
|
|
266
96
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brands.d.ts","sourceRoot":"","sources":["../../src/resources/number-10dlc/brands.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"brands.d.ts","sourceRoot":"","sources":["../../src/resources/number-10dlc/brands.ts"],"names":[],"mappings":"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"}
|