telnyx 7.13.0 → 7.15.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 +19 -0
- package/client.d.mts +24 -21
- package/client.d.mts.map +1 -1
- package/client.d.ts +24 -21
- package/client.d.ts.map +1 -1
- package/client.js +10 -7
- package/client.js.map +1 -1
- package/client.mjs +10 -7
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/access-ip-address.d.mts +37 -4
- package/resources/access-ip-address.d.mts.map +1 -1
- package/resources/access-ip-address.d.ts +37 -4
- package/resources/access-ip-address.d.ts.map +1 -1
- package/resources/access-ip-address.js +37 -4
- package/resources/access-ip-address.js.map +1 -1
- package/resources/access-ip-address.mjs +37 -4
- package/resources/access-ip-address.mjs.map +1 -1
- package/resources/access-ip-ranges.d.mts +26 -3
- package/resources/access-ip-ranges.d.mts.map +1 -1
- package/resources/access-ip-ranges.d.ts +26 -3
- package/resources/access-ip-ranges.d.ts.map +1 -1
- package/resources/access-ip-ranges.js +26 -3
- package/resources/access-ip-ranges.js.map +1 -1
- package/resources/access-ip-ranges.mjs +26 -3
- package/resources/access-ip-ranges.mjs.map +1 -1
- package/resources/actions/actions.d.mts +2 -2
- package/resources/actions/actions.d.mts.map +1 -1
- package/resources/actions/actions.d.ts +2 -2
- package/resources/actions/actions.d.ts.map +1 -1
- package/resources/actions/actions.js.map +1 -1
- package/resources/actions/actions.mjs.map +1 -1
- package/resources/actions/index.d.mts +1 -1
- package/resources/actions/index.d.mts.map +1 -1
- package/resources/actions/index.d.ts +1 -1
- package/resources/actions/index.d.ts.map +1 -1
- package/resources/actions/index.js.map +1 -1
- package/resources/actions/index.mjs +1 -1
- package/resources/actions/index.mjs.map +1 -1
- package/resources/actions/purchase.d.mts +23 -3
- package/resources/actions/purchase.d.mts.map +1 -1
- package/resources/actions/purchase.d.ts +23 -3
- package/resources/actions/purchase.d.ts.map +1 -1
- package/resources/actions/purchase.js.map +1 -1
- package/resources/actions/purchase.mjs.map +1 -1
- package/resources/actions/register.d.mts +2 -2
- package/resources/actions/register.d.mts.map +1 -1
- package/resources/actions/register.d.ts +2 -2
- package/resources/actions/register.d.ts.map +1 -1
- package/resources/addresses/actions.d.mts +4 -2
- package/resources/addresses/actions.d.mts.map +1 -1
- package/resources/addresses/actions.d.ts +4 -2
- package/resources/addresses/actions.d.ts.map +1 -1
- package/resources/addresses/actions.js +4 -2
- package/resources/addresses/actions.js.map +1 -1
- package/resources/addresses/actions.mjs +4 -2
- package/resources/addresses/actions.mjs.map +1 -1
- package/resources/advanced-orders.d.mts +8 -4
- package/resources/advanced-orders.d.mts.map +1 -1
- package/resources/advanced-orders.d.ts +8 -4
- package/resources/advanced-orders.d.ts.map +1 -1
- package/resources/advanced-orders.js +8 -4
- package/resources/advanced-orders.js.map +1 -1
- package/resources/advanced-orders.mjs +8 -4
- package/resources/advanced-orders.mjs.map +1 -1
- package/resources/ai/ai.d.mts +14 -11
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +14 -11
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +12 -9
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +12 -9
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +28 -3
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +28 -3
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js +7 -2
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs +7 -2
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.mts +38 -0
- package/resources/ai/assistants/canary-deploys.d.mts.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.ts +38 -0
- package/resources/ai/assistants/canary-deploys.d.ts.map +1 -1
- package/resources/ai/assistants/canary-deploys.js +38 -0
- package/resources/ai/assistants/canary-deploys.js.map +1 -1
- package/resources/ai/assistants/canary-deploys.mjs +38 -0
- package/resources/ai/assistants/canary-deploys.mjs.map +1 -1
- package/resources/ai/assistants/instructions.d.mts +4 -0
- package/resources/ai/assistants/instructions.d.mts.map +1 -1
- package/resources/ai/assistants/instructions.d.ts +4 -0
- package/resources/ai/assistants/instructions.d.ts.map +1 -1
- package/resources/ai/assistants/instructions.js +4 -0
- package/resources/ai/assistants/instructions.js.map +1 -1
- package/resources/ai/assistants/instructions.mjs +4 -0
- package/resources/ai/assistants/instructions.mjs.map +1 -1
- package/resources/ai/assistants/tags.d.mts +4 -4
- package/resources/ai/assistants/tags.d.ts +4 -4
- package/resources/ai/assistants/tags.js +4 -4
- package/resources/ai/assistants/tags.mjs +4 -4
- package/resources/ai/assistants/tests/tests.d.mts +10 -1
- package/resources/ai/assistants/tests/tests.d.mts.map +1 -1
- package/resources/ai/assistants/tests/tests.d.ts +10 -1
- package/resources/ai/assistants/tests/tests.d.ts.map +1 -1
- package/resources/ai/assistants/tests/tests.js +10 -1
- package/resources/ai/assistants/tests/tests.js.map +1 -1
- package/resources/ai/assistants/tests/tests.mjs +10 -1
- package/resources/ai/assistants/tests/tests.mjs.map +1 -1
- package/resources/ai/assistants/tools.d.mts +7 -3
- package/resources/ai/assistants/tools.d.mts.map +1 -1
- package/resources/ai/assistants/tools.d.ts +7 -3
- package/resources/ai/assistants/tools.d.ts.map +1 -1
- package/resources/ai/assistants/tools.js +7 -3
- package/resources/ai/assistants/tools.js.map +1 -1
- package/resources/ai/assistants/tools.mjs +7 -3
- package/resources/ai/assistants/tools.mjs.map +1 -1
- package/resources/ai/clusters.d.mts +9 -5
- package/resources/ai/clusters.d.mts.map +1 -1
- package/resources/ai/clusters.d.ts +9 -5
- package/resources/ai/clusters.d.ts.map +1 -1
- package/resources/ai/clusters.js +9 -5
- package/resources/ai/clusters.js.map +1 -1
- package/resources/ai/clusters.mjs +9 -5
- package/resources/ai/clusters.mjs.map +1 -1
- package/resources/ai/collections/collections.d.mts +265 -0
- package/resources/ai/collections/collections.d.mts.map +1 -0
- package/resources/ai/collections/collections.d.ts +265 -0
- package/resources/ai/collections/collections.d.ts.map +1 -0
- package/resources/ai/collections/collections.js +162 -0
- package/resources/ai/collections/collections.js.map +1 -0
- package/resources/ai/collections/collections.mjs +157 -0
- package/resources/ai/collections/collections.mjs.map +1 -0
- package/resources/ai/collections/index.d.mts +4 -0
- package/resources/ai/collections/index.d.mts.map +1 -0
- package/resources/ai/collections/index.d.ts +4 -0
- package/resources/ai/collections/index.d.ts.map +1 -0
- package/resources/ai/collections/index.js +11 -0
- package/resources/ai/collections/index.js.map +1 -0
- package/resources/ai/collections/index.mjs +5 -0
- package/resources/ai/collections/index.mjs.map +1 -0
- package/resources/ai/collections/settings.d.mts +93 -0
- package/resources/ai/collections/settings.d.mts.map +1 -0
- package/resources/ai/collections/settings.d.ts +93 -0
- package/resources/ai/collections/settings.d.ts.map +1 -0
- package/resources/ai/collections/settings.js +55 -0
- package/resources/ai/collections/settings.js.map +1 -0
- package/resources/ai/collections/settings.mjs +51 -0
- package/resources/ai/collections/settings.mjs.map +1 -0
- package/resources/ai/collections/sources.d.mts +148 -0
- package/resources/ai/collections/sources.d.mts.map +1 -0
- package/resources/ai/collections/sources.d.ts +148 -0
- package/resources/ai/collections/sources.d.ts.map +1 -0
- package/resources/ai/collections/sources.js +74 -0
- package/resources/ai/collections/sources.js.map +1 -0
- package/resources/ai/collections/sources.mjs +70 -0
- package/resources/ai/collections/sources.mjs.map +1 -0
- package/resources/ai/collections.d.mts +2 -0
- package/resources/ai/collections.d.mts.map +1 -0
- package/resources/ai/collections.d.ts +2 -0
- package/resources/ai/collections.d.ts.map +1 -0
- package/resources/ai/collections.js +6 -0
- package/resources/ai/collections.js.map +1 -0
- package/resources/ai/collections.mjs +3 -0
- package/resources/ai/collections.mjs.map +1 -0
- package/resources/ai/conversations/conversations.d.mts +12 -2
- package/resources/ai/conversations/conversations.d.mts.map +1 -1
- package/resources/ai/conversations/conversations.d.ts +12 -2
- package/resources/ai/conversations/conversations.d.ts.map +1 -1
- package/resources/ai/conversations/conversations.js +12 -2
- package/resources/ai/conversations/conversations.js.map +1 -1
- package/resources/ai/conversations/conversations.mjs +12 -2
- package/resources/ai/conversations/conversations.mjs.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.d.mts +6 -1
- package/resources/ai/conversations/insight-groups/insight-groups.d.mts.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.d.ts +6 -1
- package/resources/ai/conversations/insight-groups/insight-groups.d.ts.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.js +6 -1
- package/resources/ai/conversations/insight-groups/insight-groups.js.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.mjs +6 -1
- package/resources/ai/conversations/insight-groups/insight-groups.mjs.map +1 -1
- package/resources/ai/conversations/insights.d.mts +9 -2
- package/resources/ai/conversations/insights.d.mts.map +1 -1
- package/resources/ai/conversations/insights.d.ts +9 -2
- package/resources/ai/conversations/insights.d.ts.map +1 -1
- package/resources/ai/conversations/insights.js +9 -2
- package/resources/ai/conversations/insights.js.map +1 -1
- package/resources/ai/conversations/insights.mjs +9 -2
- package/resources/ai/conversations/insights.mjs.map +1 -1
- package/resources/ai/embeddings/embeddings.d.mts +12 -5
- package/resources/ai/embeddings/embeddings.d.mts.map +1 -1
- package/resources/ai/embeddings/embeddings.d.ts +12 -5
- package/resources/ai/embeddings/embeddings.d.ts.map +1 -1
- package/resources/ai/embeddings/embeddings.js +12 -5
- package/resources/ai/embeddings/embeddings.js.map +1 -1
- package/resources/ai/embeddings/embeddings.mjs +12 -5
- package/resources/ai/embeddings/embeddings.mjs.map +1 -1
- package/resources/ai/fine-tuning/jobs.d.mts +4 -2
- package/resources/ai/fine-tuning/jobs.d.mts.map +1 -1
- package/resources/ai/fine-tuning/jobs.d.ts +4 -2
- package/resources/ai/fine-tuning/jobs.d.ts.map +1 -1
- package/resources/ai/fine-tuning/jobs.js +4 -2
- package/resources/ai/fine-tuning/jobs.js.map +1 -1
- package/resources/ai/fine-tuning/jobs.mjs +4 -2
- package/resources/ai/fine-tuning/jobs.mjs.map +1 -1
- package/resources/ai/index.d.mts +2 -1
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +2 -1
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js +15 -13
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +1 -0
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/mcp-servers.d.mts +10 -3
- package/resources/ai/mcp-servers.d.mts.map +1 -1
- package/resources/ai/mcp-servers.d.ts +10 -3
- package/resources/ai/mcp-servers.d.ts.map +1 -1
- package/resources/ai/mcp-servers.js +10 -3
- package/resources/ai/mcp-servers.js.map +1 -1
- package/resources/ai/mcp-servers.mjs +10 -3
- package/resources/ai/mcp-servers.mjs.map +1 -1
- package/resources/ai/missions/missions.d.mts +12 -1
- package/resources/ai/missions/missions.d.mts.map +1 -1
- package/resources/ai/missions/missions.d.ts +12 -1
- package/resources/ai/missions/missions.d.ts.map +1 -1
- package/resources/ai/missions/missions.js +12 -1
- package/resources/ai/missions/missions.js.map +1 -1
- package/resources/ai/missions/missions.mjs +12 -1
- package/resources/ai/missions/missions.mjs.map +1 -1
- package/resources/ai/missions/runs/events.d.mts +4 -1
- package/resources/ai/missions/runs/events.d.mts.map +1 -1
- package/resources/ai/missions/runs/events.d.ts +4 -1
- package/resources/ai/missions/runs/events.d.ts.map +1 -1
- package/resources/ai/missions/runs/events.js +4 -1
- package/resources/ai/missions/runs/events.js.map +1 -1
- package/resources/ai/missions/runs/events.mjs +4 -1
- package/resources/ai/missions/runs/events.mjs.map +1 -1
- package/resources/ai/missions/runs/plan.d.mts +7 -4
- package/resources/ai/missions/runs/plan.d.mts.map +1 -1
- package/resources/ai/missions/runs/plan.d.ts +7 -4
- package/resources/ai/missions/runs/plan.d.ts.map +1 -1
- package/resources/ai/missions/runs/plan.js +7 -4
- package/resources/ai/missions/runs/plan.js.map +1 -1
- package/resources/ai/missions/runs/plan.mjs +7 -4
- package/resources/ai/missions/runs/plan.mjs.map +1 -1
- package/resources/ai/missions/runs/runs.d.mts +13 -1
- package/resources/ai/missions/runs/runs.d.mts.map +1 -1
- package/resources/ai/missions/runs/runs.d.ts +13 -1
- package/resources/ai/missions/runs/runs.d.ts.map +1 -1
- package/resources/ai/missions/runs/runs.js +13 -1
- package/resources/ai/missions/runs/runs.js.map +1 -1
- package/resources/ai/missions/runs/runs.mjs +13 -1
- package/resources/ai/missions/runs/runs.mjs.map +1 -1
- package/resources/ai/missions/runs/telnyx-agents.d.mts +1 -1
- package/resources/ai/missions/runs/telnyx-agents.d.ts +1 -1
- package/resources/ai/missions/runs/telnyx-agents.js +1 -1
- package/resources/ai/missions/runs/telnyx-agents.mjs +1 -1
- package/resources/ai/openai/openai.d.mts +0 -1
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +0 -1
- package/resources/ai/openai/openai.d.ts.map +1 -1
- package/resources/ai/openai/openai.js +0 -1
- package/resources/ai/openai/openai.js.map +1 -1
- package/resources/ai/openai/openai.mjs +0 -1
- package/resources/ai/openai/openai.mjs.map +1 -1
- package/resources/ai/tools.d.mts +54 -6
- package/resources/ai/tools.d.mts.map +1 -1
- package/resources/ai/tools.d.ts +54 -6
- package/resources/ai/tools.d.ts.map +1 -1
- package/resources/ai/tools.js +5 -5
- package/resources/ai/tools.mjs +5 -5
- package/resources/alphanumeric-sender-ids.d.mts +7 -1
- package/resources/alphanumeric-sender-ids.d.mts.map +1 -1
- package/resources/alphanumeric-sender-ids.d.ts +7 -1
- package/resources/alphanumeric-sender-ids.d.ts.map +1 -1
- package/resources/available-phone-number-blocks.d.mts +3 -1
- package/resources/available-phone-number-blocks.d.mts.map +1 -1
- package/resources/available-phone-number-blocks.d.ts +3 -1
- package/resources/available-phone-number-blocks.d.ts.map +1 -1
- package/resources/available-phone-number-blocks.js +3 -1
- package/resources/available-phone-number-blocks.js.map +1 -1
- package/resources/available-phone-number-blocks.mjs +3 -1
- package/resources/available-phone-number-blocks.mjs.map +1 -1
- package/resources/available-phone-numbers.d.mts +4 -1
- package/resources/available-phone-numbers.d.mts.map +1 -1
- package/resources/available-phone-numbers.d.ts +4 -1
- package/resources/available-phone-numbers.d.ts.map +1 -1
- package/resources/available-phone-numbers.js +4 -1
- package/resources/available-phone-numbers.js.map +1 -1
- package/resources/available-phone-numbers.mjs +4 -1
- package/resources/available-phone-numbers.mjs.map +1 -1
- package/resources/balance.d.mts +2 -1
- package/resources/balance.d.mts.map +1 -1
- package/resources/balance.d.ts +2 -1
- package/resources/balance.d.ts.map +1 -1
- package/resources/balance.js +2 -1
- package/resources/balance.js.map +1 -1
- package/resources/balance.mjs +2 -1
- package/resources/balance.mjs.map +1 -1
- package/resources/billing-groups.d.mts +6 -5
- package/resources/billing-groups.d.mts.map +1 -1
- package/resources/billing-groups.d.ts +6 -5
- package/resources/billing-groups.d.ts.map +1 -1
- package/resources/billing-groups.js +6 -5
- package/resources/billing-groups.js.map +1 -1
- package/resources/billing-groups.mjs +6 -5
- package/resources/billing-groups.mjs.map +1 -1
- package/resources/calls/actions.d.mts +14 -10
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +14 -10
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/actions.js +4 -2
- package/resources/calls/actions.js.map +1 -1
- package/resources/calls/actions.mjs +4 -2
- package/resources/calls/actions.mjs.map +1 -1
- package/resources/calls/calls.d.mts +5 -5
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +5 -5
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/channel-zones.d.mts +16 -0
- package/resources/channel-zones.d.mts.map +1 -1
- package/resources/channel-zones.d.ts +16 -0
- package/resources/channel-zones.d.ts.map +1 -1
- package/resources/channel-zones.js +16 -0
- package/resources/channel-zones.js.map +1 -1
- package/resources/channel-zones.mjs +16 -0
- package/resources/channel-zones.mjs.map +1 -1
- package/resources/comments.d.mts +8 -4
- package/resources/comments.d.mts.map +1 -1
- package/resources/comments.d.ts +8 -4
- package/resources/comments.d.ts.map +1 -1
- package/resources/comments.js +8 -4
- package/resources/comments.js.map +1 -1
- package/resources/comments.mjs +8 -4
- package/resources/comments.mjs.map +1 -1
- package/resources/credential-connections/credential-connections.d.mts +12 -0
- package/resources/credential-connections/credential-connections.d.mts.map +1 -1
- package/resources/credential-connections/credential-connections.d.ts +12 -0
- package/resources/credential-connections/credential-connections.d.ts.map +1 -1
- package/resources/credential-connections/credential-connections.js.map +1 -1
- package/resources/credential-connections/credential-connections.mjs.map +1 -1
- package/resources/email-blocks/email-blocks.d.mts +45 -1
- package/resources/email-blocks/email-blocks.d.mts.map +1 -1
- package/resources/email-blocks/email-blocks.d.ts +45 -1
- package/resources/email-blocks/email-blocks.d.ts.map +1 -1
- package/resources/email-blocks/email-blocks.js +45 -1
- package/resources/email-blocks/email-blocks.js.map +1 -1
- package/resources/email-blocks/email-blocks.mjs +45 -1
- package/resources/email-blocks/email-blocks.mjs.map +1 -1
- package/resources/email-blocks/import.d.mts +17 -0
- package/resources/email-blocks/import.d.mts.map +1 -1
- package/resources/email-blocks/import.d.ts +17 -0
- package/resources/email-blocks/import.d.ts.map +1 -1
- package/resources/email-blocks/import.js +17 -0
- package/resources/email-blocks/import.js.map +1 -1
- package/resources/email-blocks/import.mjs +17 -0
- package/resources/email-blocks/import.mjs.map +1 -1
- package/resources/email-domains/email-domains.d.mts +11 -5
- package/resources/email-domains/email-domains.d.mts.map +1 -1
- package/resources/email-domains/email-domains.d.ts +11 -5
- package/resources/email-domains/email-domains.d.ts.map +1 -1
- package/resources/email-domains/email-domains.js +11 -5
- package/resources/email-domains/email-domains.js.map +1 -1
- package/resources/email-domains/email-domains.mjs +11 -5
- package/resources/email-domains/email-domains.mjs.map +1 -1
- package/resources/email-domains/webhooks.d.mts +6 -3
- package/resources/email-domains/webhooks.d.mts.map +1 -1
- package/resources/email-domains/webhooks.d.ts +6 -3
- package/resources/email-domains/webhooks.d.ts.map +1 -1
- package/resources/email-domains/webhooks.js +6 -3
- package/resources/email-domains/webhooks.js.map +1 -1
- package/resources/email-domains/webhooks.mjs +6 -3
- package/resources/email-domains/webhooks.mjs.map +1 -1
- package/resources/email-inboxes/drafts.d.mts +5 -1
- package/resources/email-inboxes/drafts.d.mts.map +1 -1
- package/resources/email-inboxes/drafts.d.ts +5 -1
- package/resources/email-inboxes/drafts.d.ts.map +1 -1
- package/resources/email-inboxes/drafts.js +5 -1
- package/resources/email-inboxes/drafts.js.map +1 -1
- package/resources/email-inboxes/drafts.mjs +5 -1
- package/resources/email-inboxes/drafts.mjs.map +1 -1
- package/resources/email-templates.d.mts +6 -2
- package/resources/email-templates.d.mts.map +1 -1
- package/resources/email-templates.d.ts +6 -2
- package/resources/email-templates.d.ts.map +1 -1
- package/resources/email-templates.js +6 -2
- package/resources/email-templates.js.map +1 -1
- package/resources/email-templates.mjs +6 -2
- package/resources/email-templates.mjs.map +1 -1
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.d.mts +46 -2
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.d.mts.map +1 -1
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.d.ts +46 -2
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.d.ts.map +1 -1
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.js +46 -2
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.js.map +1 -1
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.mjs +46 -2
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.mjs.map +1 -1
- package/resources/email-unsubscribe-groups/suppressions.d.mts +27 -0
- package/resources/email-unsubscribe-groups/suppressions.d.mts.map +1 -1
- package/resources/email-unsubscribe-groups/suppressions.d.ts +27 -0
- package/resources/email-unsubscribe-groups/suppressions.d.ts.map +1 -1
- package/resources/email-unsubscribe-groups/suppressions.js +27 -0
- package/resources/email-unsubscribe-groups/suppressions.js.map +1 -1
- package/resources/email-unsubscribe-groups/suppressions.mjs +27 -0
- package/resources/email-unsubscribe-groups/suppressions.mjs.map +1 -1
- package/resources/external-connections/external-connections.d.mts +3 -2
- package/resources/external-connections/external-connections.d.mts.map +1 -1
- package/resources/external-connections/external-connections.d.ts +3 -2
- package/resources/external-connections/external-connections.d.ts.map +1 -1
- package/resources/external-connections/external-connections.js +3 -2
- package/resources/external-connections/external-connections.js.map +1 -1
- package/resources/external-connections/external-connections.mjs +3 -2
- package/resources/external-connections/external-connections.mjs.map +1 -1
- package/resources/external-connections/phone-numbers.d.mts +4 -1
- package/resources/external-connections/phone-numbers.d.mts.map +1 -1
- package/resources/external-connections/phone-numbers.d.ts +4 -1
- package/resources/external-connections/phone-numbers.d.ts.map +1 -1
- package/resources/external-connections/phone-numbers.js +4 -1
- package/resources/external-connections/phone-numbers.js.map +1 -1
- package/resources/external-connections/phone-numbers.mjs +4 -1
- package/resources/external-connections/phone-numbers.mjs.map +1 -1
- package/resources/faxes/faxes.d.mts +3 -3
- package/resources/faxes/faxes.d.ts +3 -3
- package/resources/faxes/faxes.js +3 -3
- package/resources/faxes/faxes.mjs +3 -3
- package/resources/fqdn-connections/fqdn-authentication.d.mts +135 -0
- package/resources/fqdn-connections/fqdn-authentication.d.mts.map +1 -0
- package/resources/fqdn-connections/fqdn-authentication.d.ts +135 -0
- package/resources/fqdn-connections/fqdn-authentication.d.ts.map +1 -0
- package/resources/fqdn-connections/fqdn-authentication.js +45 -0
- package/resources/fqdn-connections/fqdn-authentication.js.map +1 -0
- package/resources/fqdn-connections/fqdn-authentication.mjs +41 -0
- package/resources/fqdn-connections/fqdn-authentication.mjs.map +1 -0
- package/resources/fqdn-connections/fqdn-connections.d.mts +727 -0
- package/resources/fqdn-connections/fqdn-connections.d.mts.map +1 -0
- package/resources/fqdn-connections/fqdn-connections.d.ts +727 -0
- package/resources/fqdn-connections/fqdn-connections.d.ts.map +1 -0
- package/resources/fqdn-connections/fqdn-connections.js +92 -0
- package/resources/fqdn-connections/fqdn-connections.js.map +1 -0
- package/resources/fqdn-connections/fqdn-connections.mjs +87 -0
- package/resources/fqdn-connections/fqdn-connections.mjs.map +1 -0
- package/resources/fqdn-connections/index.d.mts +3 -0
- package/resources/fqdn-connections/index.d.mts.map +1 -0
- package/resources/fqdn-connections/index.d.ts +3 -0
- package/resources/fqdn-connections/index.d.ts.map +1 -0
- package/resources/fqdn-connections/index.js +9 -0
- package/resources/fqdn-connections/index.js.map +1 -0
- package/resources/fqdn-connections/index.mjs +4 -0
- package/resources/fqdn-connections/index.mjs.map +1 -0
- package/resources/fqdn-connections.d.mts +1 -710
- package/resources/fqdn-connections.d.mts.map +1 -1
- package/resources/fqdn-connections.d.ts +1 -710
- package/resources/fqdn-connections.d.ts.map +1 -1
- package/resources/fqdn-connections.js +2 -80
- package/resources/fqdn-connections.js.map +1 -1
- package/resources/fqdn-connections.mjs +1 -78
- package/resources/fqdn-connections.mjs.map +1 -1
- package/resources/global-ip-assignment-health.d.mts +1 -1
- package/resources/global-ip-assignment-health.d.ts +1 -1
- package/resources/global-ip-assignment-health.js +1 -1
- package/resources/global-ip-assignment-health.mjs +1 -1
- package/resources/global-ip-assignments-usage.d.mts +1 -1
- package/resources/global-ip-assignments-usage.d.ts +1 -1
- package/resources/global-ip-assignments-usage.js +1 -1
- package/resources/global-ip-assignments-usage.mjs +1 -1
- package/resources/global-ip-latency.d.mts +1 -1
- package/resources/global-ip-latency.d.ts +1 -1
- package/resources/global-ip-latency.js +1 -1
- package/resources/global-ip-latency.mjs +1 -1
- package/resources/global-ip-usage.d.mts +1 -1
- package/resources/global-ip-usage.d.ts +1 -1
- package/resources/global-ip-usage.js +1 -1
- package/resources/global-ip-usage.mjs +1 -1
- package/resources/index.d.mts +11 -9
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -9
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +10 -6
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -2
- package/resources/index.mjs.map +1 -1
- package/resources/inexplicit-number-orders.d.mts +32 -0
- package/resources/inexplicit-number-orders.d.mts.map +1 -1
- package/resources/inexplicit-number-orders.d.ts +32 -0
- package/resources/inexplicit-number-orders.d.ts.map +1 -1
- package/resources/inexplicit-number-orders.js +32 -0
- package/resources/inexplicit-number-orders.js.map +1 -1
- package/resources/inexplicit-number-orders.mjs +32 -0
- package/resources/inexplicit-number-orders.mjs.map +1 -1
- package/resources/ip-connections.d.mts +12 -0
- package/resources/ip-connections.d.mts.map +1 -1
- package/resources/ip-connections.d.ts +12 -0
- package/resources/ip-connections.d.ts.map +1 -1
- package/resources/ledger-billing-group-reports.d.mts +4 -2
- package/resources/ledger-billing-group-reports.d.mts.map +1 -1
- package/resources/ledger-billing-group-reports.d.ts +4 -2
- package/resources/ledger-billing-group-reports.d.ts.map +1 -1
- package/resources/ledger-billing-group-reports.js +4 -2
- package/resources/ledger-billing-group-reports.js.map +1 -1
- package/resources/ledger-billing-group-reports.mjs +4 -2
- package/resources/ledger-billing-group-reports.mjs.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/batch-detail-records.d.mts +2 -2
- package/resources/legacy/reporting/batch-detail-records/batch-detail-records.d.mts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/batch-detail-records.d.ts +2 -2
- package/resources/legacy/reporting/batch-detail-records/batch-detail-records.d.ts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/batch-detail-records.js.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/batch-detail-records.mjs.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/index.d.mts +1 -1
- package/resources/legacy/reporting/batch-detail-records/index.d.mts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/index.d.ts +1 -1
- package/resources/legacy/reporting/batch-detail-records/index.d.ts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/index.js.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/index.mjs.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/messaging.d.mts +8 -2
- package/resources/legacy/reporting/batch-detail-records/messaging.d.mts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/messaging.d.ts +8 -2
- package/resources/legacy/reporting/batch-detail-records/messaging.d.ts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.d.mts +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.d.mts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.d.ts +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/index.d.mts +1 -1
- package/resources/legacy/reporting/usage-reports/index.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/index.d.ts +1 -1
- package/resources/legacy/reporting/usage-reports/index.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/index.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/index.mjs.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.d.mts +7 -1
- package/resources/legacy/reporting/usage-reports/messaging.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.d.ts +7 -1
- package/resources/legacy/reporting/usage-reports/messaging.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.d.mts +2 -2
- package/resources/legacy/reporting/usage-reports/usage-reports.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.d.ts +2 -2
- package/resources/legacy/reporting/usage-reports/usage-reports.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.mjs.map +1 -1
- package/resources/meeting-sessions/actions.d.mts +82 -0
- package/resources/meeting-sessions/actions.d.mts.map +1 -0
- package/resources/meeting-sessions/actions.d.ts +82 -0
- package/resources/meeting-sessions/actions.d.ts.map +1 -0
- package/resources/meeting-sessions/actions.js +59 -0
- package/resources/meeting-sessions/actions.js.map +1 -0
- package/resources/meeting-sessions/actions.mjs +55 -0
- package/resources/meeting-sessions/actions.mjs.map +1 -0
- package/resources/meeting-sessions/artifacts.d.mts +92 -0
- package/resources/meeting-sessions/artifacts.d.mts.map +1 -0
- package/resources/meeting-sessions/artifacts.d.ts +92 -0
- package/resources/meeting-sessions/artifacts.d.ts.map +1 -0
- package/resources/meeting-sessions/artifacts.js +62 -0
- package/resources/meeting-sessions/artifacts.js.map +1 -0
- package/resources/meeting-sessions/artifacts.mjs +58 -0
- package/resources/meeting-sessions/artifacts.mjs.map +1 -0
- package/resources/meeting-sessions/index.d.mts +4 -0
- package/resources/meeting-sessions/index.d.mts.map +1 -0
- package/resources/meeting-sessions/index.d.ts +4 -0
- package/resources/meeting-sessions/index.d.ts.map +1 -0
- package/resources/meeting-sessions/index.js +11 -0
- package/resources/meeting-sessions/index.js.map +1 -0
- package/resources/meeting-sessions/index.mjs +5 -0
- package/resources/meeting-sessions/index.mjs.map +1 -0
- package/resources/meeting-sessions/meeting-sessions.d.mts +580 -0
- package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -0
- package/resources/meeting-sessions/meeting-sessions.d.ts +580 -0
- package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -0
- package/resources/meeting-sessions/meeting-sessions.js +175 -0
- package/resources/meeting-sessions/meeting-sessions.js.map +1 -0
- package/resources/meeting-sessions/meeting-sessions.mjs +170 -0
- package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -0
- package/resources/meeting-sessions.d.mts +2 -0
- package/resources/meeting-sessions.d.mts.map +1 -0
- package/resources/meeting-sessions.d.ts +2 -0
- package/resources/meeting-sessions.d.ts.map +1 -0
- package/resources/meeting-sessions.js +6 -0
- package/resources/meeting-sessions.js.map +1 -0
- package/resources/meeting-sessions.mjs +3 -0
- package/resources/meeting-sessions.mjs.map +1 -0
- package/resources/messages/index.d.mts +1 -1
- package/resources/messages/index.d.mts.map +1 -1
- package/resources/messages/index.d.ts +1 -1
- package/resources/messages/index.d.ts.map +1 -1
- package/resources/messages/index.js.map +1 -1
- package/resources/messages/index.mjs.map +1 -1
- package/resources/messages/messages.d.mts +558 -17
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +558 -17
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +26 -7
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +26 -7
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/messages/rcs.d.mts +2 -1
- package/resources/messages/rcs.d.mts.map +1 -1
- package/resources/messages/rcs.d.ts +2 -1
- package/resources/messages/rcs.d.ts.map +1 -1
- package/resources/messages/rcs.js +2 -1
- package/resources/messages/rcs.js.map +1 -1
- package/resources/messages/rcs.mjs +2 -1
- package/resources/messages/rcs.mjs.map +1 -1
- package/resources/messaging/rcs/agents.d.mts +5 -5
- package/resources/messaging/rcs/agents.d.mts.map +1 -1
- package/resources/messaging/rcs/agents.d.ts +5 -5
- package/resources/messaging/rcs/agents.d.ts.map +1 -1
- package/resources/messaging/rcs/agents.js +3 -3
- package/resources/messaging/rcs/agents.mjs +3 -3
- package/resources/messaging/rcs/rcs.d.mts +3 -2
- package/resources/messaging/rcs/rcs.d.mts.map +1 -1
- package/resources/messaging/rcs/rcs.d.ts +3 -2
- package/resources/messaging/rcs/rcs.d.ts.map +1 -1
- package/resources/messaging/rcs/rcs.js +3 -2
- package/resources/messaging/rcs/rcs.js.map +1 -1
- package/resources/messaging/rcs/rcs.mjs +3 -2
- package/resources/messaging/rcs/rcs.mjs.map +1 -1
- package/resources/messaging-10dlc/brand/brand.d.mts +3 -1
- package/resources/messaging-10dlc/brand/brand.d.mts.map +1 -1
- package/resources/messaging-10dlc/brand/brand.d.ts +3 -1
- package/resources/messaging-10dlc/brand/brand.d.ts.map +1 -1
- package/resources/messaging-10dlc/brand/brand.js +3 -1
- package/resources/messaging-10dlc/brand/brand.js.map +1 -1
- package/resources/messaging-10dlc/brand/brand.mjs +3 -1
- package/resources/messaging-10dlc/brand/brand.mjs.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.d.mts +6 -2
- package/resources/messaging-10dlc/brand/external-vetting.d.mts.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.d.ts +6 -2
- package/resources/messaging-10dlc/brand/external-vetting.d.ts.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.js +6 -2
- package/resources/messaging-10dlc/brand/external-vetting.js.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.mjs +6 -2
- package/resources/messaging-10dlc/brand/external-vetting.mjs.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.d.mts +18 -2
- package/resources/messaging-10dlc/campaign/campaign.d.mts.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.d.ts +18 -2
- package/resources/messaging-10dlc/campaign/campaign.d.ts.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.js +18 -2
- package/resources/messaging-10dlc/campaign/campaign.js.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.mjs +18 -2
- package/resources/messaging-10dlc/campaign/campaign.mjs.map +1 -1
- package/resources/messaging-10dlc/campaign/osr.d.mts +3 -1
- package/resources/messaging-10dlc/campaign/osr.d.mts.map +1 -1
- package/resources/messaging-10dlc/campaign/osr.d.ts +3 -1
- package/resources/messaging-10dlc/campaign/osr.d.ts.map +1 -1
- package/resources/messaging-10dlc/campaign/osr.js +3 -1
- package/resources/messaging-10dlc/campaign/osr.js.map +1 -1
- package/resources/messaging-10dlc/campaign/osr.mjs +3 -1
- package/resources/messaging-10dlc/campaign/osr.mjs.map +1 -1
- package/resources/messaging-10dlc/campaign/usecase.d.mts +2 -1
- package/resources/messaging-10dlc/campaign/usecase.d.mts.map +1 -1
- package/resources/messaging-10dlc/campaign/usecase.d.ts +2 -1
- package/resources/messaging-10dlc/campaign/usecase.d.ts.map +1 -1
- package/resources/messaging-10dlc/campaign/usecase.js +2 -1
- package/resources/messaging-10dlc/campaign/usecase.js.map +1 -1
- package/resources/messaging-10dlc/campaign/usecase.mjs +2 -1
- package/resources/messaging-10dlc/campaign/usecase.mjs.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.d.mts +2 -1
- package/resources/messaging-10dlc/messaging-10dlc.d.mts.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.d.ts +2 -1
- package/resources/messaging-10dlc/messaging-10dlc.d.ts.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.js +2 -1
- package/resources/messaging-10dlc/messaging-10dlc.js.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.mjs +2 -1
- package/resources/messaging-10dlc/messaging-10dlc.mjs.map +1 -1
- package/resources/messaging-10dlc/partner-campaigns.d.mts +1 -1
- package/resources/messaging-10dlc/partner-campaigns.d.ts +1 -1
- package/resources/messaging-10dlc/partner-campaigns.js +1 -1
- package/resources/messaging-10dlc/partner-campaigns.mjs +1 -1
- package/resources/messaging-10dlc/phone-number-campaigns.d.mts +5 -3
- package/resources/messaging-10dlc/phone-number-campaigns.d.mts.map +1 -1
- package/resources/messaging-10dlc/phone-number-campaigns.d.ts +5 -3
- package/resources/messaging-10dlc/phone-number-campaigns.d.ts.map +1 -1
- package/resources/messaging-10dlc/phone-number-campaigns.js +5 -3
- package/resources/messaging-10dlc/phone-number-campaigns.js.map +1 -1
- package/resources/messaging-10dlc/phone-number-campaigns.mjs +5 -3
- package/resources/messaging-10dlc/phone-number-campaigns.mjs.map +1 -1
- package/resources/messaging-hosted-number-orders/actions.d.mts +1 -1
- package/resources/messaging-hosted-number-orders/actions.d.ts +1 -1
- package/resources/messaging-hosted-number-orders/actions.js +1 -1
- package/resources/messaging-hosted-number-orders/actions.mjs +1 -1
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.d.mts +9 -5
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.d.mts.map +1 -1
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.d.ts +9 -5
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.d.ts.map +1 -1
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.js +9 -5
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.js.map +1 -1
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.mjs +9 -5
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.mjs.map +1 -1
- package/resources/messaging-hosted-numbers.d.mts +1 -1
- package/resources/messaging-hosted-numbers.d.ts +1 -1
- package/resources/messaging-hosted-numbers.js +1 -1
- package/resources/messaging-hosted-numbers.mjs +1 -1
- package/resources/messaging-numbers-bulk-updates.d.mts +4 -2
- package/resources/messaging-numbers-bulk-updates.d.mts.map +1 -1
- package/resources/messaging-numbers-bulk-updates.d.ts +4 -2
- package/resources/messaging-numbers-bulk-updates.d.ts.map +1 -1
- package/resources/messaging-numbers-bulk-updates.js +4 -2
- package/resources/messaging-numbers-bulk-updates.js.map +1 -1
- package/resources/messaging-numbers-bulk-updates.mjs +4 -2
- package/resources/messaging-numbers-bulk-updates.mjs.map +1 -1
- package/resources/messaging-profile-metrics.d.mts +2 -2
- package/resources/messaging-profile-metrics.d.mts.map +1 -1
- package/resources/messaging-profile-metrics.d.ts +2 -2
- package/resources/messaging-profile-metrics.d.ts.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.d.mts +9 -7
- package/resources/messaging-profiles/autoresp-configs.d.mts.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.d.ts +9 -7
- package/resources/messaging-profiles/autoresp-configs.d.ts.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.js +7 -5
- package/resources/messaging-profiles/autoresp-configs.js.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.mjs +7 -5
- package/resources/messaging-profiles/autoresp-configs.mjs.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.mts +14 -7
- package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.ts +14 -7
- package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.js +14 -7
- package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.mjs +14 -7
- package/resources/messaging-profiles/messaging-profiles.mjs.map +1 -1
- package/resources/messaging-tollfree/verification/index.d.mts +1 -1
- package/resources/messaging-tollfree/verification/index.d.mts.map +1 -1
- package/resources/messaging-tollfree/verification/index.d.ts +1 -1
- package/resources/messaging-tollfree/verification/index.d.ts.map +1 -1
- package/resources/messaging-tollfree/verification/index.js.map +1 -1
- package/resources/messaging-tollfree/verification/index.mjs.map +1 -1
- package/resources/messaging-tollfree/verification/requests.d.mts +278 -9
- package/resources/messaging-tollfree/verification/requests.d.mts.map +1 -1
- package/resources/messaging-tollfree/verification/requests.d.ts +278 -9
- package/resources/messaging-tollfree/verification/requests.d.ts.map +1 -1
- package/resources/messaging-tollfree/verification/requests.js +3 -3
- package/resources/messaging-tollfree/verification/requests.js.map +1 -1
- package/resources/messaging-tollfree/verification/requests.mjs +3 -3
- package/resources/messaging-tollfree/verification/requests.mjs.map +1 -1
- package/resources/messaging-tollfree/verification/verification.d.mts +2 -2
- package/resources/messaging-tollfree/verification/verification.d.mts.map +1 -1
- package/resources/messaging-tollfree/verification/verification.d.ts +2 -2
- package/resources/messaging-tollfree/verification/verification.d.ts.map +1 -1
- package/resources/messaging-tollfree/verification/verification.js.map +1 -1
- package/resources/messaging-tollfree/verification/verification.mjs.map +1 -1
- package/resources/messaging-url-domains.d.mts +2 -1
- package/resources/messaging-url-domains.d.mts.map +1 -1
- package/resources/messaging-url-domains.d.ts +2 -1
- package/resources/messaging-url-domains.d.ts.map +1 -1
- package/resources/messaging-url-domains.js +2 -1
- package/resources/messaging-url-domains.js.map +1 -1
- package/resources/messaging-url-domains.mjs +2 -1
- package/resources/messaging-url-domains.mjs.map +1 -1
- package/resources/mobile-phone-numbers/messaging.d.mts +16 -2
- package/resources/mobile-phone-numbers/messaging.d.mts.map +1 -1
- package/resources/mobile-phone-numbers/messaging.d.ts +16 -2
- package/resources/mobile-phone-numbers/messaging.d.ts.map +1 -1
- package/resources/mobile-phone-numbers/messaging.js +16 -2
- package/resources/mobile-phone-numbers/messaging.js.map +1 -1
- package/resources/mobile-phone-numbers/messaging.mjs +16 -2
- package/resources/mobile-phone-numbers/messaging.mjs.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.mts +36 -3
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.mts.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.ts +36 -3
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.ts.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.js +36 -3
- package/resources/mobile-phone-numbers/mobile-phone-numbers.js.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.mjs +36 -3
- package/resources/mobile-phone-numbers/mobile-phone-numbers.mjs.map +1 -1
- package/resources/mobile-voice-connections.d.mts +56 -5
- package/resources/mobile-voice-connections.d.mts.map +1 -1
- package/resources/mobile-voice-connections.d.ts +56 -5
- package/resources/mobile-voice-connections.d.ts.map +1 -1
- package/resources/mobile-voice-connections.js +56 -5
- package/resources/mobile-voice-connections.js.map +1 -1
- package/resources/mobile-voice-connections.mjs +56 -5
- package/resources/mobile-voice-connections.mjs.map +1 -1
- package/resources/network-coverage.d.mts +24 -3
- package/resources/network-coverage.d.mts.map +1 -1
- package/resources/network-coverage.d.ts +24 -3
- package/resources/network-coverage.d.ts.map +1 -1
- package/resources/network-coverage.js.map +1 -1
- package/resources/network-coverage.mjs.map +1 -1
- package/resources/number-order-phone-numbers.d.mts +36 -1
- package/resources/number-order-phone-numbers.d.mts.map +1 -1
- package/resources/number-order-phone-numbers.d.ts +36 -1
- package/resources/number-order-phone-numbers.d.ts.map +1 -1
- package/resources/number-order-phone-numbers.js +36 -1
- package/resources/number-order-phone-numbers.js.map +1 -1
- package/resources/number-order-phone-numbers.mjs +36 -1
- package/resources/number-order-phone-numbers.mjs.map +1 -1
- package/resources/numbers-features.d.mts +7 -0
- package/resources/numbers-features.d.mts.map +1 -1
- package/resources/numbers-features.d.ts +7 -0
- package/resources/numbers-features.d.ts.map +1 -1
- package/resources/numbers-features.js +7 -0
- package/resources/numbers-features.js.map +1 -1
- package/resources/numbers-features.mjs +7 -0
- package/resources/numbers-features.mjs.map +1 -1
- package/resources/oauth-clients.d.mts +19 -1
- package/resources/oauth-clients.d.mts.map +1 -1
- package/resources/oauth-clients.d.ts +19 -1
- package/resources/oauth-clients.d.ts.map +1 -1
- package/resources/oauth.d.mts +3 -3
- package/resources/oauth.d.ts +3 -3
- package/resources/oauth.js +3 -3
- package/resources/oauth.mjs +3 -3
- package/resources/ota-updates.d.mts +2 -1
- package/resources/ota-updates.d.mts.map +1 -1
- package/resources/ota-updates.d.ts +2 -1
- package/resources/ota-updates.d.ts.map +1 -1
- package/resources/ota-updates.js +2 -1
- package/resources/ota-updates.js.map +1 -1
- package/resources/ota-updates.mjs +2 -1
- package/resources/ota-updates.mjs.map +1 -1
- package/resources/payment/payment.d.mts +1 -1
- package/resources/payment/payment.d.ts +1 -1
- package/resources/payment/payment.js +1 -1
- package/resources/payment/payment.mjs +1 -1
- package/resources/phone-number-blocks/jobs.d.mts +5 -2
- package/resources/phone-number-blocks/jobs.d.mts.map +1 -1
- package/resources/phone-number-blocks/jobs.d.ts +5 -2
- package/resources/phone-number-blocks/jobs.d.ts.map +1 -1
- package/resources/phone-number-blocks/jobs.js +5 -2
- package/resources/phone-number-blocks/jobs.js.map +1 -1
- package/resources/phone-number-blocks/jobs.mjs +5 -2
- package/resources/phone-number-blocks/jobs.mjs.map +1 -1
- package/resources/phone-numbers/actions.d.mts +6 -3
- package/resources/phone-numbers/actions.d.mts.map +1 -1
- package/resources/phone-numbers/actions.d.ts +6 -3
- package/resources/phone-numbers/actions.d.ts.map +1 -1
- package/resources/phone-numbers/actions.js +6 -3
- package/resources/phone-numbers/actions.js.map +1 -1
- package/resources/phone-numbers/actions.mjs +6 -3
- package/resources/phone-numbers/actions.mjs.map +1 -1
- package/resources/phone-numbers/csv-downloads.d.mts +7 -3
- package/resources/phone-numbers/csv-downloads.d.mts.map +1 -1
- package/resources/phone-numbers/csv-downloads.d.ts +7 -3
- package/resources/phone-numbers/csv-downloads.d.ts.map +1 -1
- package/resources/phone-numbers/csv-downloads.js +7 -3
- package/resources/phone-numbers/csv-downloads.js.map +1 -1
- package/resources/phone-numbers/csv-downloads.mjs +7 -3
- package/resources/phone-numbers/csv-downloads.mjs.map +1 -1
- package/resources/phone-numbers/index.d.mts +1 -1
- package/resources/phone-numbers/index.d.mts.map +1 -1
- package/resources/phone-numbers/index.d.ts +1 -1
- package/resources/phone-numbers/index.d.ts.map +1 -1
- package/resources/phone-numbers/index.js.map +1 -1
- package/resources/phone-numbers/index.mjs.map +1 -1
- package/resources/phone-numbers/jobs.d.mts +4 -2
- package/resources/phone-numbers/jobs.d.mts.map +1 -1
- package/resources/phone-numbers/jobs.d.ts +4 -2
- package/resources/phone-numbers/jobs.d.ts.map +1 -1
- package/resources/phone-numbers/jobs.js +4 -2
- package/resources/phone-numbers/jobs.js.map +1 -1
- package/resources/phone-numbers/jobs.mjs +4 -2
- package/resources/phone-numbers/jobs.mjs.map +1 -1
- package/resources/phone-numbers/messaging.d.mts +6 -3
- package/resources/phone-numbers/messaging.d.mts.map +1 -1
- package/resources/phone-numbers/messaging.d.ts +6 -3
- package/resources/phone-numbers/messaging.d.ts.map +1 -1
- package/resources/phone-numbers/messaging.js +6 -3
- package/resources/phone-numbers/messaging.js.map +1 -1
- package/resources/phone-numbers/messaging.mjs +6 -3
- package/resources/phone-numbers/messaging.mjs.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.mts +156 -10
- package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.ts +156 -10
- package/resources/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/phone-numbers/phone-numbers.js +10 -5
- package/resources/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/phone-numbers/phone-numbers.mjs +10 -5
- package/resources/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/phone-numbers/voice.d.mts +7 -3
- package/resources/phone-numbers/voice.d.mts.map +1 -1
- package/resources/phone-numbers/voice.d.ts +7 -3
- package/resources/phone-numbers/voice.d.ts.map +1 -1
- package/resources/phone-numbers/voice.js +7 -3
- package/resources/phone-numbers/voice.js.map +1 -1
- package/resources/phone-numbers/voice.mjs +7 -3
- package/resources/phone-numbers/voice.mjs.map +1 -1
- package/resources/phone-numbers/voicemail.d.mts +132 -2
- package/resources/phone-numbers/voicemail.d.mts.map +1 -1
- package/resources/phone-numbers/voicemail.d.ts +132 -2
- package/resources/phone-numbers/voicemail.d.ts.map +1 -1
- package/resources/phone-numbers/voicemail.js +8 -2
- package/resources/phone-numbers/voicemail.js.map +1 -1
- package/resources/phone-numbers/voicemail.mjs +8 -2
- package/resources/phone-numbers/voicemail.mjs.map +1 -1
- package/resources/phone-numbers-regulatory-requirements.d.mts +3 -1
- package/resources/phone-numbers-regulatory-requirements.d.mts.map +1 -1
- package/resources/phone-numbers-regulatory-requirements.d.ts +3 -1
- package/resources/phone-numbers-regulatory-requirements.d.ts.map +1 -1
- package/resources/phone-numbers-regulatory-requirements.js +3 -1
- package/resources/phone-numbers-regulatory-requirements.js.map +1 -1
- package/resources/phone-numbers-regulatory-requirements.mjs +3 -1
- package/resources/phone-numbers-regulatory-requirements.mjs.map +1 -1
- package/resources/portouts/comments.d.mts +1 -0
- package/resources/portouts/comments.d.mts.map +1 -1
- package/resources/portouts/comments.d.ts +1 -0
- package/resources/portouts/comments.d.ts.map +1 -1
- package/resources/portouts/comments.js +1 -0
- package/resources/portouts/comments.js.map +1 -1
- package/resources/portouts/comments.mjs +1 -0
- package/resources/portouts/comments.mjs.map +1 -1
- package/resources/pricing/index.d.mts +1 -1
- package/resources/pricing/index.d.mts.map +1 -1
- package/resources/pricing/index.d.ts +1 -1
- package/resources/pricing/index.d.ts.map +1 -1
- package/resources/pricing/pricing.d.mts +2 -2
- package/resources/pricing/pricing.d.mts.map +1 -1
- package/resources/pricing/pricing.d.ts +2 -2
- package/resources/pricing/pricing.d.ts.map +1 -1
- package/resources/pricing/products.d.mts +8 -7
- package/resources/pricing/products.d.mts.map +1 -1
- package/resources/pricing/products.d.ts +8 -7
- package/resources/pricing/products.d.ts.map +1 -1
- package/resources/pricing/products.js +4 -1
- package/resources/pricing/products.js.map +1 -1
- package/resources/pricing/products.mjs +5 -2
- package/resources/pricing/products.mjs.map +1 -1
- package/resources/private-wireless-gateways.d.mts +1 -1
- package/resources/private-wireless-gateways.d.ts +1 -1
- package/resources/rcs/agents/agents.d.mts +381 -0
- package/resources/rcs/agents/agents.d.mts.map +1 -0
- package/resources/rcs/agents/agents.d.ts +381 -0
- package/resources/rcs/agents/agents.d.ts.map +1 -0
- package/resources/rcs/agents/agents.js +155 -0
- package/resources/rcs/agents/agents.js.map +1 -0
- package/resources/rcs/agents/agents.mjs +150 -0
- package/resources/rcs/agents/agents.mjs.map +1 -0
- package/resources/rcs/agents/index.d.mts +3 -0
- package/resources/rcs/agents/index.d.mts.map +1 -0
- package/resources/rcs/agents/index.d.ts +3 -0
- package/resources/rcs/agents/index.d.ts.map +1 -0
- package/resources/rcs/agents/index.js +9 -0
- package/resources/rcs/agents/index.js.map +1 -0
- package/resources/rcs/agents/index.mjs +4 -0
- package/resources/rcs/agents/index.mjs.map +1 -0
- package/resources/rcs/agents/test-devices.d.mts +66 -0
- package/resources/rcs/agents/test-devices.d.mts.map +1 -0
- package/resources/rcs/agents/test-devices.d.ts +66 -0
- package/resources/rcs/agents/test-devices.d.ts.map +1 -0
- package/resources/rcs/agents/test-devices.js +63 -0
- package/resources/rcs/agents/test-devices.js.map +1 -0
- package/resources/rcs/agents/test-devices.mjs +59 -0
- package/resources/rcs/agents/test-devices.mjs.map +1 -0
- package/resources/rcs/agents.d.mts +2 -0
- package/resources/rcs/agents.d.mts.map +1 -0
- package/resources/rcs/agents.d.ts +2 -0
- package/resources/rcs/agents.d.ts.map +1 -0
- package/resources/rcs/agents.js +6 -0
- package/resources/rcs/agents.js.map +1 -0
- package/resources/rcs/agents.mjs +3 -0
- package/resources/rcs/agents.mjs.map +1 -0
- package/resources/rcs/brands.d.mts +266 -0
- package/resources/rcs/brands.d.mts.map +1 -0
- package/resources/rcs/brands.d.ts +266 -0
- package/resources/rcs/brands.d.ts.map +1 -0
- package/resources/rcs/brands.js +105 -0
- package/resources/rcs/brands.js.map +1 -0
- package/resources/rcs/brands.mjs +101 -0
- package/resources/rcs/brands.mjs.map +1 -0
- package/resources/rcs/index.d.mts +4 -0
- package/resources/rcs/index.d.mts.map +1 -0
- package/resources/rcs/index.d.ts +4 -0
- package/resources/rcs/index.d.ts.map +1 -0
- package/resources/rcs/index.js +11 -0
- package/resources/rcs/index.js.map +1 -0
- package/resources/rcs/index.mjs +5 -0
- package/resources/rcs/index.mjs.map +1 -0
- package/resources/rcs/rcs.d.mts +14 -0
- package/resources/rcs/rcs.d.mts.map +1 -0
- package/resources/rcs/rcs.d.ts +14 -0
- package/resources/rcs/rcs.d.ts.map +1 -0
- package/resources/rcs/rcs.js +21 -0
- package/resources/rcs/rcs.js.map +1 -0
- package/resources/rcs/rcs.mjs +16 -0
- package/resources/rcs/rcs.mjs.map +1 -0
- package/resources/rcs.d.mts +2 -0
- package/resources/rcs.d.mts.map +1 -0
- package/resources/rcs.d.ts +2 -0
- package/resources/rcs.d.ts.map +1 -0
- package/resources/rcs.js +6 -0
- package/resources/rcs.js.map +1 -0
- package/resources/rcs.mjs +3 -0
- package/resources/rcs.mjs.map +1 -0
- package/resources/regulatory-requirements.d.mts +3 -1
- package/resources/regulatory-requirements.d.mts.map +1 -1
- package/resources/regulatory-requirements.d.ts +3 -1
- package/resources/regulatory-requirements.d.ts.map +1 -1
- package/resources/regulatory-requirements.js +3 -1
- package/resources/regulatory-requirements.js.map +1 -1
- package/resources/regulatory-requirements.mjs +3 -1
- package/resources/regulatory-requirements.mjs.map +1 -1
- package/resources/reports/index.d.mts +1 -1
- package/resources/reports/index.d.mts.map +1 -1
- package/resources/reports/index.d.ts +1 -1
- package/resources/reports/index.d.ts.map +1 -1
- package/resources/reports/index.js.map +1 -1
- package/resources/reports/index.mjs.map +1 -1
- package/resources/reports/mdr-usage-reports.d.mts +7 -1
- package/resources/reports/mdr-usage-reports.d.mts.map +1 -1
- package/resources/reports/mdr-usage-reports.d.ts +7 -1
- package/resources/reports/mdr-usage-reports.d.ts.map +1 -1
- package/resources/reports/reports.d.mts +3 -3
- package/resources/reports/reports.d.mts.map +1 -1
- package/resources/reports/reports.d.ts +3 -3
- package/resources/reports/reports.d.ts.map +1 -1
- package/resources/reports/reports.js.map +1 -1
- package/resources/reports/reports.mjs.map +1 -1
- package/resources/requirement-groups.d.mts +13 -6
- package/resources/requirement-groups.d.mts.map +1 -1
- package/resources/requirement-groups.d.ts +13 -6
- package/resources/requirement-groups.d.ts.map +1 -1
- package/resources/requirement-groups.js +13 -6
- package/resources/requirement-groups.js.map +1 -1
- package/resources/requirement-groups.mjs +13 -6
- package/resources/requirement-groups.mjs.map +1 -1
- package/resources/room-compositions.d.mts +5 -2
- package/resources/room-compositions.d.mts.map +1 -1
- package/resources/room-compositions.d.ts +5 -2
- package/resources/room-compositions.d.ts.map +1 -1
- package/resources/room-compositions.js +5 -2
- package/resources/room-compositions.js.map +1 -1
- package/resources/room-compositions.mjs +5 -2
- package/resources/room-compositions.mjs.map +1 -1
- package/resources/room-participants.d.mts +4 -2
- package/resources/room-participants.d.mts.map +1 -1
- package/resources/room-participants.d.ts +4 -2
- package/resources/room-participants.d.ts.map +1 -1
- package/resources/room-participants.js +4 -2
- package/resources/room-participants.js.map +1 -1
- package/resources/room-participants.mjs +4 -2
- package/resources/room-participants.mjs.map +1 -1
- package/resources/room-recordings.d.mts +8 -3
- package/resources/room-recordings.d.mts.map +1 -1
- package/resources/room-recordings.d.ts +8 -3
- package/resources/room-recordings.d.ts.map +1 -1
- package/resources/room-recordings.js +8 -3
- package/resources/room-recordings.js.map +1 -1
- package/resources/room-recordings.mjs +8 -3
- package/resources/room-recordings.mjs.map +1 -1
- package/resources/rooms/rooms.d.mts +5 -2
- package/resources/rooms/rooms.d.mts.map +1 -1
- package/resources/rooms/rooms.d.ts +5 -2
- package/resources/rooms/rooms.d.ts.map +1 -1
- package/resources/rooms/rooms.js +5 -2
- package/resources/rooms/rooms.js.map +1 -1
- package/resources/rooms/rooms.mjs +5 -2
- package/resources/rooms/rooms.mjs.map +1 -1
- package/resources/rooms/sessions/actions.d.mts +9 -3
- package/resources/rooms/sessions/actions.d.mts.map +1 -1
- package/resources/rooms/sessions/actions.d.ts +9 -3
- package/resources/rooms/sessions/actions.d.ts.map +1 -1
- package/resources/rooms/sessions/actions.js +9 -3
- package/resources/rooms/sessions/actions.js.map +1 -1
- package/resources/rooms/sessions/actions.mjs +9 -3
- package/resources/rooms/sessions/actions.mjs.map +1 -1
- package/resources/rooms/sessions/sessions.d.mts +11 -4
- package/resources/rooms/sessions/sessions.d.mts.map +1 -1
- package/resources/rooms/sessions/sessions.d.ts +11 -4
- package/resources/rooms/sessions/sessions.d.ts.map +1 -1
- package/resources/rooms/sessions/sessions.js +11 -4
- package/resources/rooms/sessions/sessions.js.map +1 -1
- package/resources/rooms/sessions/sessions.mjs +11 -4
- package/resources/rooms/sessions/sessions.mjs.map +1 -1
- package/resources/short-codes.d.mts +4 -2
- package/resources/short-codes.d.mts.map +1 -1
- package/resources/short-codes.d.ts +4 -2
- package/resources/short-codes.d.ts.map +1 -1
- package/resources/short-codes.js +4 -2
- package/resources/short-codes.js.map +1 -1
- package/resources/short-codes.mjs +4 -2
- package/resources/short-codes.mjs.map +1 -1
- package/resources/sim-cards/actions.d.mts +133 -11
- package/resources/sim-cards/actions.d.mts.map +1 -1
- package/resources/sim-cards/actions.d.ts +133 -11
- package/resources/sim-cards/actions.d.ts.map +1 -1
- package/resources/sim-cards/actions.js +39 -1
- package/resources/sim-cards/actions.js.map +1 -1
- package/resources/sim-cards/actions.mjs +39 -1
- package/resources/sim-cards/actions.mjs.map +1 -1
- package/resources/sim-cards/index.d.mts +1 -1
- package/resources/sim-cards/index.d.mts.map +1 -1
- package/resources/sim-cards/index.d.ts +1 -1
- package/resources/sim-cards/index.d.ts.map +1 -1
- package/resources/sim-cards/index.js.map +1 -1
- package/resources/sim-cards/index.mjs.map +1 -1
- package/resources/sim-cards/sim-cards.d.mts +2 -2
- package/resources/sim-cards/sim-cards.d.mts.map +1 -1
- package/resources/sim-cards/sim-cards.d.ts +2 -2
- package/resources/sim-cards/sim-cards.d.ts.map +1 -1
- package/resources/sim-cards/sim-cards.js.map +1 -1
- package/resources/sim-cards/sim-cards.mjs.map +1 -1
- package/resources/sip-registration-status.d.mts +44 -24
- package/resources/sip-registration-status.d.mts.map +1 -1
- package/resources/sip-registration-status.d.ts +44 -24
- package/resources/sip-registration-status.d.ts.map +1 -1
- package/resources/sip-registration-status.js +15 -3
- package/resources/sip-registration-status.js.map +1 -1
- package/resources/sip-registration-status.mjs +15 -3
- package/resources/sip-registration-status.mjs.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.mts +5 -0
- package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.ts +5 -0
- package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
- package/resources/storage/buckets/ssl-certificate.d.mts +4 -1
- package/resources/storage/buckets/ssl-certificate.d.mts.map +1 -1
- package/resources/storage/buckets/ssl-certificate.d.ts +4 -1
- package/resources/storage/buckets/ssl-certificate.d.ts.map +1 -1
- package/resources/storage/buckets/ssl-certificate.js +4 -1
- package/resources/storage/buckets/ssl-certificate.js.map +1 -1
- package/resources/storage/buckets/ssl-certificate.mjs +4 -1
- package/resources/storage/buckets/ssl-certificate.mjs.map +1 -1
- package/resources/storage/index.d.mts +2 -1
- package/resources/storage/index.d.mts.map +1 -1
- package/resources/storage/index.d.ts +2 -1
- package/resources/storage/index.d.ts.map +1 -1
- package/resources/storage/index.js +3 -1
- package/resources/storage/index.js.map +1 -1
- package/resources/storage/index.mjs +1 -0
- package/resources/storage/index.mjs.map +1 -1
- package/resources/storage/kvs/index.d.mts +1 -1
- package/resources/storage/kvs/index.d.mts.map +1 -1
- package/resources/storage/kvs/index.d.ts +1 -1
- package/resources/storage/kvs/index.d.ts.map +1 -1
- package/resources/storage/kvs/index.js.map +1 -1
- package/resources/storage/kvs/index.mjs.map +1 -1
- package/resources/storage/kvs/kvs.d.mts +7 -1
- package/resources/storage/kvs/kvs.d.mts.map +1 -1
- package/resources/storage/kvs/kvs.d.ts +7 -1
- package/resources/storage/kvs/kvs.d.ts.map +1 -1
- package/resources/storage/kvs/kvs.js.map +1 -1
- package/resources/storage/kvs/kvs.mjs.map +1 -1
- package/resources/storage/migration-sources.d.mts +11 -5
- package/resources/storage/migration-sources.d.mts.map +1 -1
- package/resources/storage/migration-sources.d.ts +11 -5
- package/resources/storage/migration-sources.d.ts.map +1 -1
- package/resources/storage/migration-sources.js +11 -5
- package/resources/storage/migration-sources.js.map +1 -1
- package/resources/storage/migration-sources.mjs +11 -5
- package/resources/storage/migration-sources.mjs.map +1 -1
- package/resources/storage/migrations/actions.d.mts +1 -1
- package/resources/storage/migrations/actions.d.ts +1 -1
- package/resources/storage/migrations/actions.js +1 -1
- package/resources/storage/migrations/actions.mjs +1 -1
- package/resources/storage/migrations/migrations.d.mts +2 -2
- package/resources/storage/migrations/migrations.d.ts +2 -2
- package/resources/storage/migrations/migrations.js +2 -2
- package/resources/storage/migrations/migrations.mjs +2 -2
- package/resources/storage/sqldbs/actions.d.mts +84 -0
- package/resources/storage/sqldbs/actions.d.mts.map +1 -0
- package/resources/storage/sqldbs/actions.d.ts +84 -0
- package/resources/storage/sqldbs/actions.d.ts.map +1 -0
- package/resources/storage/sqldbs/actions.js +29 -0
- package/resources/storage/sqldbs/actions.js.map +1 -0
- package/resources/storage/sqldbs/actions.mjs +25 -0
- package/resources/storage/sqldbs/actions.mjs.map +1 -0
- package/resources/storage/sqldbs/index.d.mts +3 -0
- package/resources/storage/sqldbs/index.d.mts.map +1 -0
- package/resources/storage/sqldbs/index.d.ts +3 -0
- package/resources/storage/sqldbs/index.d.ts.map +1 -0
- package/resources/storage/sqldbs/index.js +9 -0
- package/resources/storage/sqldbs/index.js.map +1 -0
- package/resources/storage/sqldbs/index.mjs +4 -0
- package/resources/storage/sqldbs/index.mjs.map +1 -0
- package/resources/storage/sqldbs/sqldbs.d.mts +116 -0
- package/resources/storage/sqldbs/sqldbs.d.mts.map +1 -0
- package/resources/storage/sqldbs/sqldbs.d.ts +116 -0
- package/resources/storage/sqldbs/sqldbs.d.ts.map +1 -0
- package/resources/storage/sqldbs/sqldbs.js +94 -0
- package/resources/storage/sqldbs/sqldbs.js.map +1 -0
- package/resources/storage/sqldbs/sqldbs.mjs +89 -0
- package/resources/storage/sqldbs/sqldbs.mjs.map +1 -0
- package/resources/storage/sqldbs.d.mts +2 -0
- package/resources/storage/sqldbs.d.mts.map +1 -0
- package/resources/storage/sqldbs.d.ts +2 -0
- package/resources/storage/sqldbs.d.ts.map +1 -0
- package/resources/storage/sqldbs.js +6 -0
- package/resources/storage/sqldbs.js.map +1 -0
- package/resources/storage/sqldbs.mjs +3 -0
- package/resources/storage/sqldbs.mjs.map +1 -0
- package/resources/storage/storage.d.mts +7 -3
- package/resources/storage/storage.d.mts.map +1 -1
- package/resources/storage/storage.d.ts +7 -3
- package/resources/storage/storage.d.ts.map +1 -1
- package/resources/storage/storage.js +5 -1
- package/resources/storage/storage.js.map +1 -1
- package/resources/storage/storage.mjs +5 -1
- package/resources/storage/storage.mjs.map +1 -1
- package/resources/sub-number-orders.d.mts +3 -1
- package/resources/sub-number-orders.d.mts.map +1 -1
- package/resources/sub-number-orders.d.ts +3 -1
- package/resources/sub-number-orders.d.ts.map +1 -1
- package/resources/sub-number-orders.js +3 -1
- package/resources/sub-number-orders.js.map +1 -1
- package/resources/sub-number-orders.mjs +3 -1
- package/resources/sub-number-orders.mjs.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.mts +78 -0
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +78 -0
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-speech/text-to-speech.js +73 -0
- package/resources/text-to-speech/text-to-speech.js.map +1 -1
- package/resources/text-to-speech/text-to-speech.mjs +73 -0
- package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
- package/resources/user-addresses.d.mts +81 -6
- package/resources/user-addresses.d.mts.map +1 -1
- package/resources/user-addresses.d.ts +81 -6
- package/resources/user-addresses.d.ts.map +1 -1
- package/resources/user-addresses.js +1 -1
- package/resources/user-addresses.js.map +1 -1
- package/resources/user-addresses.mjs +1 -1
- package/resources/user-addresses.mjs.map +1 -1
- package/resources/verifications/actions.d.mts +3 -1
- package/resources/verifications/actions.d.mts.map +1 -1
- package/resources/verifications/actions.d.ts +3 -1
- package/resources/verifications/actions.d.ts.map +1 -1
- package/resources/verifications/actions.js +3 -1
- package/resources/verifications/actions.js.map +1 -1
- package/resources/verifications/actions.mjs +3 -1
- package/resources/verifications/actions.mjs.map +1 -1
- package/resources/verifications/by-phone-number/actions.d.mts +2 -1
- package/resources/verifications/by-phone-number/actions.d.mts.map +1 -1
- package/resources/verifications/by-phone-number/actions.d.ts +2 -1
- package/resources/verifications/by-phone-number/actions.d.ts.map +1 -1
- package/resources/verifications/by-phone-number/actions.js +2 -1
- package/resources/verifications/by-phone-number/actions.js.map +1 -1
- package/resources/verifications/by-phone-number/actions.mjs +2 -1
- package/resources/verifications/by-phone-number/actions.mjs.map +1 -1
- package/resources/verifications/by-phone-number/by-phone-number.d.mts +2 -1
- package/resources/verifications/by-phone-number/by-phone-number.d.mts.map +1 -1
- package/resources/verifications/by-phone-number/by-phone-number.d.ts +2 -1
- package/resources/verifications/by-phone-number/by-phone-number.d.ts.map +1 -1
- package/resources/verifications/by-phone-number/by-phone-number.js +2 -1
- package/resources/verifications/by-phone-number/by-phone-number.js.map +1 -1
- package/resources/verifications/by-phone-number/by-phone-number.mjs +2 -1
- package/resources/verifications/by-phone-number/by-phone-number.mjs.map +1 -1
- package/resources/verifications/verifications.d.mts +13 -5
- package/resources/verifications/verifications.d.mts.map +1 -1
- package/resources/verifications/verifications.d.ts +13 -5
- package/resources/verifications/verifications.d.ts.map +1 -1
- package/resources/verifications/verifications.js +13 -5
- package/resources/verifications/verifications.js.map +1 -1
- package/resources/verifications/verifications.mjs +13 -5
- package/resources/verifications/verifications.mjs.map +1 -1
- package/resources/verified-numbers/actions.d.mts +2 -1
- package/resources/verified-numbers/actions.d.mts.map +1 -1
- package/resources/verified-numbers/actions.d.ts +2 -1
- package/resources/verified-numbers/actions.d.ts.map +1 -1
- package/resources/verified-numbers/actions.js +2 -1
- package/resources/verified-numbers/actions.js.map +1 -1
- package/resources/verified-numbers/actions.mjs +2 -1
- package/resources/verified-numbers/actions.mjs.map +1 -1
- package/resources/verified-numbers/verified-numbers.d.mts +2 -2
- package/resources/verified-numbers/verified-numbers.d.ts +2 -2
- package/resources/verified-numbers/verified-numbers.js +2 -2
- package/resources/verified-numbers/verified-numbers.mjs +2 -2
- package/resources/verify-profiles.d.mts +3 -2
- package/resources/verify-profiles.d.mts.map +1 -1
- package/resources/verify-profiles.d.ts +3 -2
- package/resources/verify-profiles.d.ts.map +1 -1
- package/resources/verify-profiles.js +3 -2
- package/resources/verify-profiles.js.map +1 -1
- package/resources/verify-profiles.mjs +3 -2
- package/resources/verify-profiles.mjs.map +1 -1
- package/resources/virtual-cross-connects-coverage.d.mts +2 -2
- package/resources/virtual-cross-connects-coverage.d.mts.map +1 -1
- package/resources/virtual-cross-connects-coverage.d.ts +2 -2
- package/resources/virtual-cross-connects-coverage.d.ts.map +1 -1
- package/resources/voice-clones.d.mts +2 -2
- package/resources/voice-clones.d.ts +2 -2
- package/resources/voice-clones.js +2 -2
- package/resources/voice-clones.mjs +2 -2
- package/resources/web-search/index.d.mts +3 -0
- package/resources/web-search/index.d.mts.map +1 -0
- package/resources/web-search/index.d.ts +3 -0
- package/resources/web-search/index.d.ts.map +1 -0
- package/resources/web-search/index.js +9 -0
- package/resources/web-search/index.js.map +1 -0
- package/resources/web-search/index.mjs +4 -0
- package/resources/web-search/index.mjs.map +1 -0
- package/resources/web-search/research.d.mts +148 -0
- package/resources/web-search/research.d.mts.map +1 -0
- package/resources/web-search/research.d.ts +148 -0
- package/resources/web-search/research.d.ts.map +1 -0
- package/resources/web-search/research.js +57 -0
- package/resources/web-search/research.js.map +1 -0
- package/resources/web-search/research.mjs +53 -0
- package/resources/web-search/research.mjs.map +1 -0
- package/resources/web-search/web-search.d.mts +204 -0
- package/resources/web-search/web-search.d.mts.map +1 -0
- package/resources/web-search/web-search.d.ts +204 -0
- package/resources/web-search/web-search.d.ts.map +1 -0
- package/resources/web-search/web-search.js +59 -0
- package/resources/web-search/web-search.js.map +1 -0
- package/resources/web-search/web-search.mjs +54 -0
- package/resources/web-search/web-search.mjs.map +1 -0
- package/resources/web-search.d.mts +2 -0
- package/resources/web-search.d.mts.map +1 -0
- package/resources/web-search.d.ts +2 -0
- package/resources/web-search.d.ts.map +1 -0
- package/resources/web-search.js +6 -0
- package/resources/web-search.js.map +1 -0
- package/resources/web-search.mjs +3 -0
- package/resources/web-search.mjs.map +1 -0
- package/resources/webhooks.d.mts +1308 -133
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +1308 -133
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.d.mts +4 -3
- package/resources/whatsapp/business-accounts/business-accounts.d.mts.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.d.ts +4 -3
- package/resources/whatsapp/business-accounts/business-accounts.d.ts.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.js +4 -3
- package/resources/whatsapp/business-accounts/business-accounts.js.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.mjs +4 -3
- package/resources/whatsapp/business-accounts/business-accounts.mjs.map +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.d.mts +7 -4
- package/resources/whatsapp/business-accounts/phone-numbers.d.mts.map +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.d.ts +7 -4
- package/resources/whatsapp/business-accounts/phone-numbers.d.ts.map +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.js +7 -4
- package/resources/whatsapp/business-accounts/phone-numbers.js.map +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.mjs +7 -4
- package/resources/whatsapp/business-accounts/phone-numbers.mjs.map +1 -1
- package/resources/whatsapp/business-accounts/settings.d.mts +3 -2
- package/resources/whatsapp/business-accounts/settings.d.mts.map +1 -1
- package/resources/whatsapp/business-accounts/settings.d.ts +3 -2
- package/resources/whatsapp/business-accounts/settings.d.ts.map +1 -1
- package/resources/whatsapp/business-accounts/settings.js +3 -2
- package/resources/whatsapp/business-accounts/settings.js.map +1 -1
- package/resources/whatsapp/business-accounts/settings.mjs +3 -2
- package/resources/whatsapp/business-accounts/settings.mjs.map +1 -1
- package/resources/whatsapp/index.d.mts +1 -1
- package/resources/whatsapp/index.d.mts.map +1 -1
- package/resources/whatsapp/index.d.ts +1 -1
- package/resources/whatsapp/index.d.ts.map +1 -1
- package/resources/whatsapp/index.js.map +1 -1
- package/resources/whatsapp/index.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/calling-settings.d.mts +3 -3
- package/resources/whatsapp/phone-numbers/calling-settings.d.ts +3 -3
- package/resources/whatsapp/phone-numbers/calling-settings.js +3 -3
- package/resources/whatsapp/phone-numbers/calling-settings.mjs +3 -3
- package/resources/whatsapp/phone-numbers/conversational-components.d.mts +10 -2
- package/resources/whatsapp/phone-numbers/conversational-components.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/conversational-components.d.ts +10 -2
- package/resources/whatsapp/phone-numbers/conversational-components.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/conversational-components.js +10 -2
- package/resources/whatsapp/phone-numbers/conversational-components.js.map +1 -1
- package/resources/whatsapp/phone-numbers/conversational-components.mjs +10 -2
- package/resources/whatsapp/phone-numbers/conversational-components.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/index.d.mts +1 -1
- package/resources/whatsapp/phone-numbers/index.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/index.d.ts +1 -1
- package/resources/whatsapp/phone-numbers/index.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/index.js.map +1 -1
- package/resources/whatsapp/phone-numbers/index.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +56 -6
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +56 -6
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.js +18 -5
- package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs +18 -5
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/photo.d.mts +5 -3
- package/resources/whatsapp/phone-numbers/profile/photo.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/photo.d.ts +5 -3
- package/resources/whatsapp/phone-numbers/profile/photo.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/photo.js +5 -3
- package/resources/whatsapp/phone-numbers/profile/photo.js.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/photo.mjs +5 -3
- package/resources/whatsapp/phone-numbers/profile/photo.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/profile.d.mts +13 -2
- package/resources/whatsapp/phone-numbers/profile/profile.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/profile.d.ts +13 -2
- package/resources/whatsapp/phone-numbers/profile/profile.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/profile.js +13 -2
- package/resources/whatsapp/phone-numbers/profile/profile.js.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/profile.mjs +13 -2
- package/resources/whatsapp/phone-numbers/profile/profile.mjs.map +1 -1
- package/resources/whatsapp/templates.d.mts +4 -2
- package/resources/whatsapp/templates.d.mts.map +1 -1
- package/resources/whatsapp/templates.d.ts +4 -2
- package/resources/whatsapp/templates.d.ts.map +1 -1
- package/resources/whatsapp/templates.js +4 -2
- package/resources/whatsapp/templates.js.map +1 -1
- package/resources/whatsapp/templates.mjs +4 -2
- package/resources/whatsapp/templates.mjs.map +1 -1
- package/resources/whatsapp/user-data.d.mts +8 -3
- package/resources/whatsapp/user-data.d.mts.map +1 -1
- package/resources/whatsapp/user-data.d.ts +8 -3
- package/resources/whatsapp/user-data.d.ts.map +1 -1
- package/resources/whatsapp/user-data.js +8 -3
- package/resources/whatsapp/user-data.js.map +1 -1
- package/resources/whatsapp/user-data.mjs +8 -3
- package/resources/whatsapp/user-data.mjs.map +1 -1
- package/resources/whatsapp/whatsapp.d.mts +2 -2
- package/resources/whatsapp/whatsapp.d.mts.map +1 -1
- package/resources/whatsapp/whatsapp.d.ts +2 -2
- package/resources/whatsapp/whatsapp.d.ts.map +1 -1
- package/resources/whatsapp/whatsapp.js.map +1 -1
- package/resources/whatsapp/whatsapp.mjs.map +1 -1
- package/resources/whatsapp-message-templates.d.mts +4 -3
- package/resources/whatsapp-message-templates.d.mts.map +1 -1
- package/resources/whatsapp-message-templates.d.ts +4 -3
- package/resources/whatsapp-message-templates.d.ts.map +1 -1
- package/resources/whatsapp-message-templates.js +4 -3
- package/resources/whatsapp-message-templates.js.map +1 -1
- package/resources/whatsapp-message-templates.mjs +4 -3
- package/resources/whatsapp-message-templates.mjs.map +1 -1
- package/src/client.ts +106 -27
- package/src/resources/access-ip-address.ts +37 -4
- package/src/resources/access-ip-ranges.ts +26 -3
- package/src/resources/actions/actions.ts +2 -1
- package/src/resources/actions/index.ts +6 -1
- package/src/resources/actions/purchase.ts +28 -2
- package/src/resources/actions/register.ts +2 -2
- package/src/resources/addresses/actions.ts +4 -2
- package/src/resources/advanced-orders.ts +8 -4
- package/src/resources/ai/ai.ts +36 -9
- package/src/resources/ai/assistants/assistants.ts +32 -3
- package/src/resources/ai/assistants/canary-deploys.ts +38 -0
- package/src/resources/ai/assistants/instructions.ts +4 -0
- package/src/resources/ai/assistants/tags.ts +4 -4
- package/src/resources/ai/assistants/tests/tests.ts +10 -1
- package/src/resources/ai/assistants/tools.ts +7 -3
- package/src/resources/ai/clusters.ts +9 -5
- package/src/resources/ai/collections/collections.ts +409 -0
- package/src/resources/ai/collections/index.ts +34 -0
- package/src/resources/ai/collections/settings.ts +124 -0
- package/src/resources/ai/collections/sources.ts +202 -0
- package/src/resources/ai/collections.ts +3 -0
- package/src/resources/ai/conversations/conversations.ts +12 -2
- package/src/resources/ai/conversations/insight-groups/insight-groups.ts +6 -1
- package/src/resources/ai/conversations/insights.ts +9 -2
- package/src/resources/ai/embeddings/embeddings.ts +12 -5
- package/src/resources/ai/fine-tuning/jobs.ts +4 -2
- package/src/resources/ai/index.ts +12 -0
- package/src/resources/ai/mcp-servers.ts +10 -3
- package/src/resources/ai/missions/missions.ts +12 -1
- package/src/resources/ai/missions/runs/events.ts +4 -1
- package/src/resources/ai/missions/runs/plan.ts +7 -4
- package/src/resources/ai/missions/runs/runs.ts +13 -1
- package/src/resources/ai/missions/runs/telnyx-agents.ts +1 -1
- package/src/resources/ai/openai/openai.ts +0 -1
- package/src/resources/ai/tools.ts +62 -5
- package/src/resources/alphanumeric-sender-ids.ts +11 -0
- package/src/resources/available-phone-number-blocks.ts +3 -1
- package/src/resources/available-phone-numbers.ts +4 -1
- package/src/resources/balance.ts +2 -1
- package/src/resources/billing-groups.ts +6 -5
- package/src/resources/calls/actions.ts +14 -10
- package/src/resources/calls/calls.ts +5 -5
- package/src/resources/channel-zones.ts +16 -0
- package/src/resources/comments.ts +8 -4
- package/src/resources/credential-connections/credential-connections.ts +14 -0
- package/src/resources/email-blocks/email-blocks.ts +45 -1
- package/src/resources/email-blocks/import.ts +17 -0
- package/src/resources/email-domains/email-domains.ts +11 -5
- package/src/resources/email-domains/webhooks.ts +6 -3
- package/src/resources/email-inboxes/drafts.ts +5 -1
- package/src/resources/email-templates.ts +6 -2
- package/src/resources/email-unsubscribe-groups/email-unsubscribe-groups.ts +46 -2
- package/src/resources/email-unsubscribe-groups/suppressions.ts +27 -0
- package/src/resources/external-connections/external-connections.ts +3 -2
- package/src/resources/external-connections/phone-numbers.ts +4 -1
- package/src/resources/faxes/faxes.ts +3 -3
- package/src/resources/fqdn-connections/fqdn-authentication.ts +180 -0
- package/src/resources/fqdn-connections/fqdn-connections.ts +930 -0
- package/src/resources/fqdn-connections/index.ts +25 -0
- package/src/resources/fqdn-connections.ts +1 -893
- package/src/resources/global-ip-assignment-health.ts +1 -1
- package/src/resources/global-ip-assignments-usage.ts +1 -1
- package/src/resources/global-ip-latency.ts +1 -1
- package/src/resources/global-ip-usage.ts +1 -1
- package/src/resources/index.ts +42 -9
- package/src/resources/inexplicit-number-orders.ts +32 -0
- package/src/resources/ip-connections.ts +14 -0
- package/src/resources/ledger-billing-group-reports.ts +4 -2
- package/src/resources/legacy/reporting/batch-detail-records/batch-detail-records.ts +2 -0
- package/src/resources/legacy/reporting/batch-detail-records/index.ts +1 -0
- package/src/resources/legacy/reporting/batch-detail-records/messaging.ts +12 -1
- package/src/resources/legacy/reporting/batch-detail-records/voice.ts +1 -1
- package/src/resources/legacy/reporting/usage-reports/index.ts +1 -0
- package/src/resources/legacy/reporting/usage-reports/messaging.ts +11 -0
- package/src/resources/legacy/reporting/usage-reports/usage-reports.ts +2 -0
- package/src/resources/meeting-sessions/actions.ts +108 -0
- package/src/resources/meeting-sessions/artifacts.ts +135 -0
- package/src/resources/meeting-sessions/index.ts +31 -0
- package/src/resources/meeting-sessions/meeting-sessions.ts +771 -0
- package/src/resources/meeting-sessions.ts +3 -0
- package/src/resources/messages/index.ts +4 -0
- package/src/resources/messages/messages.ts +729 -16
- package/src/resources/messages/rcs.ts +2 -1
- package/src/resources/messaging/rcs/agents.ts +5 -5
- package/src/resources/messaging/rcs/rcs.ts +3 -2
- package/src/resources/messaging-10dlc/brand/brand.ts +3 -1
- package/src/resources/messaging-10dlc/brand/external-vetting.ts +6 -2
- package/src/resources/messaging-10dlc/campaign/campaign.ts +18 -2
- package/src/resources/messaging-10dlc/campaign/osr.ts +3 -1
- package/src/resources/messaging-10dlc/campaign/usecase.ts +2 -1
- package/src/resources/messaging-10dlc/messaging-10dlc.ts +2 -1
- package/src/resources/messaging-10dlc/partner-campaigns.ts +1 -1
- package/src/resources/messaging-10dlc/phone-number-campaigns.ts +5 -3
- package/src/resources/messaging-hosted-number-orders/actions.ts +1 -1
- package/src/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.ts +9 -5
- package/src/resources/messaging-hosted-numbers.ts +1 -1
- package/src/resources/messaging-numbers-bulk-updates.ts +4 -2
- package/src/resources/messaging-profile-metrics.ts +2 -2
- package/src/resources/messaging-profiles/autoresp-configs.ts +9 -7
- package/src/resources/messaging-profiles/messaging-profiles.ts +14 -7
- package/src/resources/messaging-tollfree/verification/index.ts +4 -0
- package/src/resources/messaging-tollfree/verification/requests.ts +397 -8
- package/src/resources/messaging-tollfree/verification/verification.ts +8 -0
- package/src/resources/messaging-url-domains.ts +2 -1
- package/src/resources/mobile-phone-numbers/messaging.ts +16 -2
- package/src/resources/mobile-phone-numbers/mobile-phone-numbers.ts +36 -3
- package/src/resources/mobile-voice-connections.ts +56 -5
- package/src/resources/network-coverage.ts +29 -2
- package/src/resources/number-order-phone-numbers.ts +36 -1
- package/src/resources/numbers-features.ts +7 -0
- package/src/resources/oauth-clients.ts +23 -0
- package/src/resources/oauth.ts +3 -3
- package/src/resources/ota-updates.ts +2 -1
- package/src/resources/payment/payment.ts +1 -1
- package/src/resources/phone-number-blocks/jobs.ts +5 -2
- package/src/resources/phone-numbers/actions.ts +6 -3
- package/src/resources/phone-numbers/csv-downloads.ts +7 -3
- package/src/resources/phone-numbers/index.ts +2 -1
- package/src/resources/phone-numbers/jobs.ts +4 -2
- package/src/resources/phone-numbers/messaging.ts +6 -3
- package/src/resources/phone-numbers/phone-numbers.ts +211 -11
- package/src/resources/phone-numbers/voice.ts +7 -3
- package/src/resources/phone-numbers/voicemail.ts +144 -2
- package/src/resources/phone-numbers-regulatory-requirements.ts +3 -1
- package/src/resources/portouts/comments.ts +1 -0
- package/src/resources/pricing/index.ts +1 -1
- package/src/resources/pricing/pricing.ts +2 -2
- package/src/resources/pricing/products.ts +13 -17
- package/src/resources/private-wireless-gateways.ts +1 -1
- package/src/resources/rcs/agents/agents.ts +595 -0
- package/src/resources/rcs/agents/index.ts +34 -0
- package/src/resources/rcs/agents/test-devices.ts +94 -0
- package/src/resources/rcs/agents.ts +3 -0
- package/src/resources/rcs/brands.ts +385 -0
- package/src/resources/rcs/index.ts +40 -0
- package/src/resources/rcs/rcs.ts +89 -0
- package/src/resources/rcs.ts +3 -0
- package/src/resources/regulatory-requirements.ts +3 -1
- package/src/resources/reports/index.ts +1 -0
- package/src/resources/reports/mdr-usage-reports.ts +11 -0
- package/src/resources/reports/reports.ts +3 -1
- package/src/resources/requirement-groups.ts +13 -6
- package/src/resources/room-compositions.ts +5 -2
- package/src/resources/room-participants.ts +4 -2
- package/src/resources/room-recordings.ts +8 -3
- package/src/resources/rooms/rooms.ts +5 -2
- package/src/resources/rooms/sessions/actions.ts +9 -3
- package/src/resources/rooms/sessions/sessions.ts +11 -4
- package/src/resources/short-codes.ts +4 -2
- package/src/resources/sim-cards/actions.ts +168 -12
- package/src/resources/sim-cards/index.ts +5 -1
- package/src/resources/sim-cards/sim-cards.ts +10 -2
- package/src/resources/sip-registration-status.ts +44 -25
- package/src/resources/speech-to-text/speech-to-text.ts +6 -0
- package/src/resources/storage/buckets/ssl-certificate.ts +4 -1
- package/src/resources/storage/index.ts +10 -0
- package/src/resources/storage/kvs/index.ts +1 -0
- package/src/resources/storage/kvs/kvs.ts +11 -0
- package/src/resources/storage/migration-sources.ts +11 -5
- package/src/resources/storage/migrations/actions.ts +1 -1
- package/src/resources/storage/migrations/migrations.ts +2 -2
- package/src/resources/storage/sqldbs/actions.ts +101 -0
- package/src/resources/storage/sqldbs/index.ts +12 -0
- package/src/resources/storage/sqldbs/sqldbs.ts +179 -0
- package/src/resources/storage/sqldbs.ts +3 -0
- package/src/resources/storage/storage.ts +25 -1
- package/src/resources/sub-number-orders.ts +3 -1
- package/src/resources/text-to-speech/text-to-speech.ts +79 -0
- package/src/resources/user-addresses.ts +100 -7
- package/src/resources/verifications/actions.ts +3 -1
- package/src/resources/verifications/by-phone-number/actions.ts +2 -1
- package/src/resources/verifications/by-phone-number/by-phone-number.ts +2 -1
- package/src/resources/verifications/verifications.ts +13 -5
- package/src/resources/verified-numbers/actions.ts +2 -1
- package/src/resources/verified-numbers/verified-numbers.ts +2 -2
- package/src/resources/verify-profiles.ts +3 -2
- package/src/resources/virtual-cross-connects-coverage.ts +2 -2
- package/src/resources/voice-clones.ts +2 -2
- package/src/resources/web-search/index.ts +17 -0
- package/src/resources/web-search/research.ts +180 -0
- package/src/resources/web-search/web-search.ts +266 -0
- package/src/resources/web-search.ts +3 -0
- package/src/resources/webhooks.ts +2178 -673
- package/src/resources/whatsapp/business-accounts/business-accounts.ts +4 -3
- package/src/resources/whatsapp/business-accounts/phone-numbers.ts +7 -4
- package/src/resources/whatsapp/business-accounts/settings.ts +3 -2
- package/src/resources/whatsapp/index.ts +2 -0
- package/src/resources/whatsapp/phone-numbers/calling-settings.ts +3 -3
- package/src/resources/whatsapp/phone-numbers/conversational-components.ts +10 -2
- package/src/resources/whatsapp/phone-numbers/index.ts +2 -0
- package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +78 -5
- package/src/resources/whatsapp/phone-numbers/profile/photo.ts +5 -3
- package/src/resources/whatsapp/phone-numbers/profile/profile.ts +13 -2
- package/src/resources/whatsapp/templates.ts +4 -2
- package/src/resources/whatsapp/user-data.ts +8 -3
- package/src/resources/whatsapp/whatsapp.ts +4 -0
- package/src/resources/whatsapp-message-templates.ts +4 -3
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/rcs-agents.d.mts +0 -50
- package/resources/rcs-agents.d.mts.map +0 -1
- package/resources/rcs-agents.d.ts +0 -50
- package/resources/rcs-agents.d.ts.map +0 -1
- package/resources/rcs-agents.js +0 -9
- package/resources/rcs-agents.js.map +0 -1
- package/resources/rcs-agents.mjs +0 -5
- package/resources/rcs-agents.mjs.map +0 -1
- package/src/resources/rcs-agents.ts +0 -63
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-templates.js","sourceRoot":"","sources":["../src/resources/email-templates.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;;;;;OAOG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,MAAiC,EAAE,OAAwB;QAChE,MAAM,EAAE,iBAAiB,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE;YAC3C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACnF,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"email-templates.js","sourceRoot":"","sources":["../src/resources/email-templates.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;;;;;OAOG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,MAAiC,EAAE,OAAwB;QAChE,MAAM,EAAE,iBAAiB,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE;YAC3C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACnF,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,oBAAoB,EAAE,EAAE,EAAE;YACvD,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;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,OAAO,CACL,EAAU,EACV,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,EAAU,EACV,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,oBAAoB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,EAAU,EACV,OAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,oBAAoB,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;CACF;AAxID,wCAwIC"}
|
|
@@ -43,7 +43,8 @@ export class EmailTemplates extends APIResource {
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Deletes the account-owned template. The operation returns `204` with no body and
|
|
47
|
+
* prevents future sends or renders from using the deleted template ID.
|
|
47
48
|
*
|
|
48
49
|
* @example
|
|
49
50
|
* ```ts
|
|
@@ -59,7 +60,8 @@ export class EmailTemplates extends APIResource {
|
|
|
59
60
|
});
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
|
-
*
|
|
63
|
+
* Returns the account-owned template identified by ID, including its Liquid
|
|
64
|
+
* subject and bodies, declared variables, and timestamps.
|
|
63
65
|
*
|
|
64
66
|
* @example
|
|
65
67
|
* ```ts
|
|
@@ -81,6 +83,7 @@ export class EmailTemplates extends APIResource {
|
|
|
81
83
|
* const emailTemplateResponse =
|
|
82
84
|
* await client.emailTemplates.replace(
|
|
83
85
|
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
86
|
+
* { subject: 'Welcome aboard, {{first_name}}!' },
|
|
84
87
|
* );
|
|
85
88
|
* ```
|
|
86
89
|
*/
|
|
@@ -95,6 +98,7 @@ export class EmailTemplates extends APIResource {
|
|
|
95
98
|
* const emailTemplateResponse =
|
|
96
99
|
* await client.emailTemplates.update(
|
|
97
100
|
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
101
|
+
* { subject: 'Welcome aboard, {{first_name}}!' },
|
|
98
102
|
* );
|
|
99
103
|
* ```
|
|
100
104
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-templates.mjs","sourceRoot":"","sources":["../src/resources/email-templates.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;;;OAOG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,MAAiC,EAAE,OAAwB;QAChE,MAAM,EAAE,iBAAiB,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE;YAC3C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACnF,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"email-templates.mjs","sourceRoot":"","sources":["../src/resources/email-templates.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;;;OAOG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,MAAiC,EAAE,OAAwB;QAChE,MAAM,EAAE,iBAAiB,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE;YAC3C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACnF,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,oBAAoB,EAAE,EAAE,EAAE;YACvD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,OAAO,CACL,EAAU,EACV,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,EAAU,EACV,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,oBAAoB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,EAAU,EACV,OAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,oBAAoB,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;CACF"}
|
|
@@ -15,10 +15,28 @@ export declare class EmailUnsubscribeGroups extends APIResource {
|
|
|
15
15
|
* Uses the shared `QueryParser.parse_offset/1` — a malformed `page` (e.g. flat
|
|
16
16
|
* `?page=1` instead of `?page[number]=1`) returns `400` (code `10015`), consistent
|
|
17
17
|
* with `GET /v2/email_blocks`. `meta` includes `total_pages`.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* // Automatically fetches more pages as needed.
|
|
22
|
+
* for await (const unsubscribeGroup of client.emailUnsubscribeGroups.list()) {
|
|
23
|
+
* // ...
|
|
24
|
+
* }
|
|
25
|
+
* ```
|
|
18
26
|
*/
|
|
19
27
|
list(query?: EmailUnsubscribeGroupListParams | null | undefined, options?: RequestOptions): PagePromise<UnsubscribeGroupsDefaultFlatPagination, UnsubscribeGroup>;
|
|
20
28
|
/**
|
|
21
|
-
*
|
|
29
|
+
* Creates an account-owned unsubscribe group for associating email categories with
|
|
30
|
+
* separate recipient suppression lists.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const unsubscribeGroupResponse =
|
|
35
|
+
* await client.emailUnsubscribeGroups.create({
|
|
36
|
+
* name: 'Marketing Newsletter',
|
|
37
|
+
* description: 'Weekly product updates and promotions',
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
22
40
|
*/
|
|
23
41
|
create(body: EmailUnsubscribeGroupCreateParams, options?: RequestOptions): APIPromise<UnsubscribeGroupResponse>;
|
|
24
42
|
/**
|
|
@@ -28,14 +46,40 @@ export declare class EmailUnsubscribeGroups extends APIResource {
|
|
|
28
46
|
* hard-deletes the group. Without `force` and active suppressions present → `409`.
|
|
29
47
|
* Audit trail is preserved. `force` only accepts the string `"true"` or boolean
|
|
30
48
|
* `true`; all other values are false.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* await client.emailUnsubscribeGroups.delete(
|
|
53
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
54
|
+
* );
|
|
55
|
+
* ```
|
|
31
56
|
*/
|
|
32
57
|
delete(id: string, params?: EmailUnsubscribeGroupDeleteParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
33
58
|
/**
|
|
34
|
-
*
|
|
59
|
+
* Returns the account-owned unsubscribe group identified by ID.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```ts
|
|
63
|
+
* const unsubscribeGroupResponse =
|
|
64
|
+
* await client.emailUnsubscribeGroups.retrieve(
|
|
65
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
66
|
+
* );
|
|
67
|
+
* ```
|
|
35
68
|
*/
|
|
36
69
|
retrieve(id: string, options?: RequestOptions): APIPromise<UnsubscribeGroupResponse>;
|
|
37
70
|
/**
|
|
38
71
|
* Partial update (only `name` / `description`). `PUT` is not routed.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```ts
|
|
75
|
+
* const unsubscribeGroupResponse =
|
|
76
|
+
* await client.emailUnsubscribeGroups.update(
|
|
77
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
78
|
+
* {
|
|
79
|
+
* description: 'Weekly product updates and promotions',
|
|
80
|
+
* },
|
|
81
|
+
* );
|
|
82
|
+
* ```
|
|
39
83
|
*/
|
|
40
84
|
update(id: string, body: EmailUnsubscribeGroupUpdateParams, options?: RequestOptions): APIPromise<UnsubscribeGroupResponse>;
|
|
41
85
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-unsubscribe-groups.d.mts","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/email-unsubscribe-groups.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,YAAY,EACb,2BAAuB;AACxB,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,kCAA8B;AAE7G,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,WAAW;IACrD,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAE5F
|
|
1
|
+
{"version":3,"file":"email-unsubscribe-groups.d.mts","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/email-unsubscribe-groups.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,YAAY,EACb,2BAAuB;AACxB,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,kCAA8B;AAE7G,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,WAAW;IACrD,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAE5F;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,KAAK,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EAC9D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,sCAAsC,EAAE,gBAAgB,CAAC;IAOxE;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAI,EAAE,iCAAiC,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,iCAAiC,GAAG,IAAI,GAAG,SAAc,EACjE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IASnB;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpF;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,iCAAiC,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;CAGxC;AAED,MAAM,MAAM,sCAAsC,GAAG,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;AAE7F;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,WAAW,EAAE,MAAM,CAAC;IAEpB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IAEX,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,EAAE,yBAAyB,CAAC;IAEvC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,gBAAgB,CAAC;CACxB;AAED,MAAM,WAAW,+BAAgC,SAAQ,2BAA2B;CAAG;AAEvF,MAAM,WAAW,iCAAiC;IAChD,IAAI,EAAE,MAAM,CAAC;IAEb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,iCAAiC;IAChD;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;CACpC;AAED,MAAM,WAAW,iCAAiC;IAChD,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAID,MAAM,CAAC,OAAO,WAAW,sBAAsB,CAAC;IAC9C,OAAO,EACL,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,iCAAiC,IAAI,iCAAiC,GAC5E,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -15,10 +15,28 @@ export declare class EmailUnsubscribeGroups extends APIResource {
|
|
|
15
15
|
* Uses the shared `QueryParser.parse_offset/1` — a malformed `page` (e.g. flat
|
|
16
16
|
* `?page=1` instead of `?page[number]=1`) returns `400` (code `10015`), consistent
|
|
17
17
|
* with `GET /v2/email_blocks`. `meta` includes `total_pages`.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* // Automatically fetches more pages as needed.
|
|
22
|
+
* for await (const unsubscribeGroup of client.emailUnsubscribeGroups.list()) {
|
|
23
|
+
* // ...
|
|
24
|
+
* }
|
|
25
|
+
* ```
|
|
18
26
|
*/
|
|
19
27
|
list(query?: EmailUnsubscribeGroupListParams | null | undefined, options?: RequestOptions): PagePromise<UnsubscribeGroupsDefaultFlatPagination, UnsubscribeGroup>;
|
|
20
28
|
/**
|
|
21
|
-
*
|
|
29
|
+
* Creates an account-owned unsubscribe group for associating email categories with
|
|
30
|
+
* separate recipient suppression lists.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const unsubscribeGroupResponse =
|
|
35
|
+
* await client.emailUnsubscribeGroups.create({
|
|
36
|
+
* name: 'Marketing Newsletter',
|
|
37
|
+
* description: 'Weekly product updates and promotions',
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
22
40
|
*/
|
|
23
41
|
create(body: EmailUnsubscribeGroupCreateParams, options?: RequestOptions): APIPromise<UnsubscribeGroupResponse>;
|
|
24
42
|
/**
|
|
@@ -28,14 +46,40 @@ export declare class EmailUnsubscribeGroups extends APIResource {
|
|
|
28
46
|
* hard-deletes the group. Without `force` and active suppressions present → `409`.
|
|
29
47
|
* Audit trail is preserved. `force` only accepts the string `"true"` or boolean
|
|
30
48
|
* `true`; all other values are false.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* await client.emailUnsubscribeGroups.delete(
|
|
53
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
54
|
+
* );
|
|
55
|
+
* ```
|
|
31
56
|
*/
|
|
32
57
|
delete(id: string, params?: EmailUnsubscribeGroupDeleteParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
33
58
|
/**
|
|
34
|
-
*
|
|
59
|
+
* Returns the account-owned unsubscribe group identified by ID.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```ts
|
|
63
|
+
* const unsubscribeGroupResponse =
|
|
64
|
+
* await client.emailUnsubscribeGroups.retrieve(
|
|
65
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
66
|
+
* );
|
|
67
|
+
* ```
|
|
35
68
|
*/
|
|
36
69
|
retrieve(id: string, options?: RequestOptions): APIPromise<UnsubscribeGroupResponse>;
|
|
37
70
|
/**
|
|
38
71
|
* Partial update (only `name` / `description`). `PUT` is not routed.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```ts
|
|
75
|
+
* const unsubscribeGroupResponse =
|
|
76
|
+
* await client.emailUnsubscribeGroups.update(
|
|
77
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
78
|
+
* {
|
|
79
|
+
* description: 'Weekly product updates and promotions',
|
|
80
|
+
* },
|
|
81
|
+
* );
|
|
82
|
+
* ```
|
|
39
83
|
*/
|
|
40
84
|
update(id: string, body: EmailUnsubscribeGroupUpdateParams, options?: RequestOptions): APIPromise<UnsubscribeGroupResponse>;
|
|
41
85
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-unsubscribe-groups.d.ts","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/email-unsubscribe-groups.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,eAAe,0BAAuB;AAClD,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,YAAY,EACb,0BAAuB;AACxB,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,iCAA8B;AAE7G,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,WAAW;IACrD,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAE5F
|
|
1
|
+
{"version":3,"file":"email-unsubscribe-groups.d.ts","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/email-unsubscribe-groups.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,eAAe,0BAAuB;AAClD,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,YAAY,EACb,0BAAuB;AACxB,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,iCAA8B;AAE7G,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,WAAW;IACrD,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAE5F;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,KAAK,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EAC9D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,sCAAsC,EAAE,gBAAgB,CAAC;IAOxE;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAI,EAAE,iCAAiC,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,iCAAiC,GAAG,IAAI,GAAG,SAAc,EACjE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IASnB;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpF;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,iCAAiC,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;CAGxC;AAED,MAAM,MAAM,sCAAsC,GAAG,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;AAE7F;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,WAAW,EAAE,MAAM,CAAC;IAEpB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IAEX,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,EAAE,yBAAyB,CAAC;IAEvC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,gBAAgB,CAAC;CACxB;AAED,MAAM,WAAW,+BAAgC,SAAQ,2BAA2B;CAAG;AAEvF,MAAM,WAAW,iCAAiC;IAChD,IAAI,EAAE,MAAM,CAAC;IAEb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,iCAAiC;IAChD;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;CACpC;AAED,MAAM,WAAW,iCAAiC;IAChD,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAID,MAAM,CAAC,OAAO,WAAW,sBAAsB,CAAC;IAC9C,OAAO,EACL,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,iCAAiC,IAAI,iCAAiC,GAC5E,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -23,6 +23,14 @@ class EmailUnsubscribeGroups extends resource_1.APIResource {
|
|
|
23
23
|
* Uses the shared `QueryParser.parse_offset/1` — a malformed `page` (e.g. flat
|
|
24
24
|
* `?page=1` instead of `?page[number]=1`) returns `400` (code `10015`), consistent
|
|
25
25
|
* with `GET /v2/email_blocks`. `meta` includes `total_pages`.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* // Automatically fetches more pages as needed.
|
|
30
|
+
* for await (const unsubscribeGroup of client.emailUnsubscribeGroups.list()) {
|
|
31
|
+
* // ...
|
|
32
|
+
* }
|
|
33
|
+
* ```
|
|
26
34
|
*/
|
|
27
35
|
list(query = {}, options) {
|
|
28
36
|
return this._client.getAPIList('/email_unsubscribe_groups', (pagination_1.DefaultFlatPagination), {
|
|
@@ -31,7 +39,17 @@ class EmailUnsubscribeGroups extends resource_1.APIResource {
|
|
|
31
39
|
});
|
|
32
40
|
}
|
|
33
41
|
/**
|
|
34
|
-
*
|
|
42
|
+
* Creates an account-owned unsubscribe group for associating email categories with
|
|
43
|
+
* separate recipient suppression lists.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* const unsubscribeGroupResponse =
|
|
48
|
+
* await client.emailUnsubscribeGroups.create({
|
|
49
|
+
* name: 'Marketing Newsletter',
|
|
50
|
+
* description: 'Weekly product updates and promotions',
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
35
53
|
*/
|
|
36
54
|
create(body, options) {
|
|
37
55
|
return this._client.post('/email_unsubscribe_groups', { body, ...options });
|
|
@@ -43,6 +61,13 @@ class EmailUnsubscribeGroups extends resource_1.APIResource {
|
|
|
43
61
|
* hard-deletes the group. Without `force` and active suppressions present → `409`.
|
|
44
62
|
* Audit trail is preserved. `force` only accepts the string `"true"` or boolean
|
|
45
63
|
* `true`; all other values are false.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* ```ts
|
|
67
|
+
* await client.emailUnsubscribeGroups.delete(
|
|
68
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
69
|
+
* );
|
|
70
|
+
* ```
|
|
46
71
|
*/
|
|
47
72
|
delete(id, params = {}, options) {
|
|
48
73
|
const { force } = params ?? {};
|
|
@@ -53,13 +78,32 @@ class EmailUnsubscribeGroups extends resource_1.APIResource {
|
|
|
53
78
|
});
|
|
54
79
|
}
|
|
55
80
|
/**
|
|
56
|
-
*
|
|
81
|
+
* Returns the account-owned unsubscribe group identified by ID.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```ts
|
|
85
|
+
* const unsubscribeGroupResponse =
|
|
86
|
+
* await client.emailUnsubscribeGroups.retrieve(
|
|
87
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
88
|
+
* );
|
|
89
|
+
* ```
|
|
57
90
|
*/
|
|
58
91
|
retrieve(id, options) {
|
|
59
92
|
return this._client.get((0, path_1.path) `/email_unsubscribe_groups/${id}`, options);
|
|
60
93
|
}
|
|
61
94
|
/**
|
|
62
95
|
* Partial update (only `name` / `description`). `PUT` is not routed.
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* ```ts
|
|
99
|
+
* const unsubscribeGroupResponse =
|
|
100
|
+
* await client.emailUnsubscribeGroups.update(
|
|
101
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
102
|
+
* {
|
|
103
|
+
* description: 'Weekly product updates and promotions',
|
|
104
|
+
* },
|
|
105
|
+
* );
|
|
106
|
+
* ```
|
|
63
107
|
*/
|
|
64
108
|
update(id, body, options) {
|
|
65
109
|
return this._client.patch((0, path_1.path) `/email_unsubscribe_groups/${id}`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-unsubscribe-groups.js","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/email-unsubscribe-groups.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,2EAAkD;AAClD,oDAKwB;AAExB,yDAA6G;AAC7G,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,sBAAuB,SAAQ,sBAAW;IAAvD;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"email-unsubscribe-groups.js","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/email-unsubscribe-groups.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,2EAAkD;AAClD,oDAKwB;AAExB,yDAA6G;AAC7G,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,sBAAuB,SAAQ,sBAAW;IAAvD;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA+G9F,CAAC;IA7GC;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,2BAA2B,EAAE,CAAA,kCAAuC,CAAA,EAAE;YACnG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,EAAU,EACV,SAA+D,EAAE,EACjE,OAAwB;QAExB,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,EAAE,EAAE;YAChE,KAAK,EAAE,EAAE,KAAK,EAAE;YAChB,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;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAU,EACV,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF;AAhHD,wDAgHC;AA+DD,sBAAsB,CAAC,YAAY,GAAG,2BAAY,CAAC"}
|
|
@@ -19,6 +19,14 @@ export class EmailUnsubscribeGroups extends APIResource {
|
|
|
19
19
|
* Uses the shared `QueryParser.parse_offset/1` — a malformed `page` (e.g. flat
|
|
20
20
|
* `?page=1` instead of `?page[number]=1`) returns `400` (code `10015`), consistent
|
|
21
21
|
* with `GET /v2/email_blocks`. `meta` includes `total_pages`.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* // Automatically fetches more pages as needed.
|
|
26
|
+
* for await (const unsubscribeGroup of client.emailUnsubscribeGroups.list()) {
|
|
27
|
+
* // ...
|
|
28
|
+
* }
|
|
29
|
+
* ```
|
|
22
30
|
*/
|
|
23
31
|
list(query = {}, options) {
|
|
24
32
|
return this._client.getAPIList('/email_unsubscribe_groups', (DefaultFlatPagination), {
|
|
@@ -27,7 +35,17 @@ export class EmailUnsubscribeGroups extends APIResource {
|
|
|
27
35
|
});
|
|
28
36
|
}
|
|
29
37
|
/**
|
|
30
|
-
*
|
|
38
|
+
* Creates an account-owned unsubscribe group for associating email categories with
|
|
39
|
+
* separate recipient suppression lists.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const unsubscribeGroupResponse =
|
|
44
|
+
* await client.emailUnsubscribeGroups.create({
|
|
45
|
+
* name: 'Marketing Newsletter',
|
|
46
|
+
* description: 'Weekly product updates and promotions',
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
31
49
|
*/
|
|
32
50
|
create(body, options) {
|
|
33
51
|
return this._client.post('/email_unsubscribe_groups', { body, ...options });
|
|
@@ -39,6 +57,13 @@ export class EmailUnsubscribeGroups extends APIResource {
|
|
|
39
57
|
* hard-deletes the group. Without `force` and active suppressions present → `409`.
|
|
40
58
|
* Audit trail is preserved. `force` only accepts the string `"true"` or boolean
|
|
41
59
|
* `true`; all other values are false.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```ts
|
|
63
|
+
* await client.emailUnsubscribeGroups.delete(
|
|
64
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
65
|
+
* );
|
|
66
|
+
* ```
|
|
42
67
|
*/
|
|
43
68
|
delete(id, params = {}, options) {
|
|
44
69
|
const { force } = params ?? {};
|
|
@@ -49,13 +74,32 @@ export class EmailUnsubscribeGroups extends APIResource {
|
|
|
49
74
|
});
|
|
50
75
|
}
|
|
51
76
|
/**
|
|
52
|
-
*
|
|
77
|
+
* Returns the account-owned unsubscribe group identified by ID.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```ts
|
|
81
|
+
* const unsubscribeGroupResponse =
|
|
82
|
+
* await client.emailUnsubscribeGroups.retrieve(
|
|
83
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
84
|
+
* );
|
|
85
|
+
* ```
|
|
53
86
|
*/
|
|
54
87
|
retrieve(id, options) {
|
|
55
88
|
return this._client.get(path `/email_unsubscribe_groups/${id}`, options);
|
|
56
89
|
}
|
|
57
90
|
/**
|
|
58
91
|
* Partial update (only `name` / `description`). `PUT` is not routed.
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* ```ts
|
|
95
|
+
* const unsubscribeGroupResponse =
|
|
96
|
+
* await client.emailUnsubscribeGroups.update(
|
|
97
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
98
|
+
* {
|
|
99
|
+
* description: 'Weekly product updates and promotions',
|
|
100
|
+
* },
|
|
101
|
+
* );
|
|
102
|
+
* ```
|
|
59
103
|
*/
|
|
60
104
|
update(id, body, options) {
|
|
61
105
|
return this._client.patch(path `/email_unsubscribe_groups/${id}`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-unsubscribe-groups.mjs","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/email-unsubscribe-groups.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,EAIL,YAAY,GACb,2BAAuB;AAExB,OAAO,EAAE,qBAAqB,EAAiD,kCAA8B;AAC7G,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,sBAAuB,SAAQ,WAAW;IAAvD;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"email-unsubscribe-groups.mjs","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/email-unsubscribe-groups.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,EAIL,YAAY,GACb,2BAAuB;AAExB,OAAO,EAAE,qBAAqB,EAAiD,kCAA8B;AAC7G,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,sBAAuB,SAAQ,WAAW;IAAvD;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA+G9F,CAAC;IA7GC;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,2BAA2B,EAAE,CAAA,qBAAuC,CAAA,EAAE;YACnG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,EAAU,EACV,SAA+D,EAAE,EACjE,OAAwB;QAExB,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,6BAA6B,EAAE,EAAE,EAAE;YAChE,KAAK,EAAE,EAAE,KAAK,EAAE;YAChB,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,6BAA6B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAU,EACV,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,6BAA6B,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF;AA+DD,sBAAsB,CAAC,YAAY,GAAG,YAAY,CAAC"}
|
|
@@ -15,12 +15,31 @@ export declare class Suppressions extends APIResource {
|
|
|
15
15
|
* malformed `page` returns `400` (code `10015`), consistent with
|
|
16
16
|
* `GET /v2/email_blocks`. `meta` includes `total_pages`. Rows reuse the standard
|
|
17
17
|
* suppression shape (`group_id` set to this group).
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* // Automatically fetches more pages as needed.
|
|
22
|
+
* for await (const emailBlock of client.emailUnsubscribeGroups.suppressions.list(
|
|
23
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
24
|
+
* )) {
|
|
25
|
+
* // ...
|
|
26
|
+
* }
|
|
27
|
+
* ```
|
|
18
28
|
*/
|
|
19
29
|
list(id: string, query?: SuppressionListParams | null | undefined, options?: RequestOptions): PagePromise<EmailBlocksDefaultFlatPagination, EmailBlocksAPI.EmailBlock>;
|
|
20
30
|
/**
|
|
21
31
|
* Creates a suppression with `reason: unsubscribe`, `source: manual`,
|
|
22
32
|
* `group_id: <this group>`. All other body fields are ignored; only `to` is read.
|
|
23
33
|
* Idempotent (same dedupe key → `200`, no new event).
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```ts
|
|
37
|
+
* const emailBlockResponse =
|
|
38
|
+
* await client.emailUnsubscribeGroups.suppressions.create(
|
|
39
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
40
|
+
* { to: 'user@example.com' },
|
|
41
|
+
* );
|
|
42
|
+
* ```
|
|
24
43
|
*/
|
|
25
44
|
create(id: string, body: SuppressionCreateParams, options?: RequestOptions): APIPromise<EmailBlocksAPI.EmailBlockResponse>;
|
|
26
45
|
/**
|
|
@@ -33,6 +52,14 @@ export declare class Suppressions extends APIResource {
|
|
|
33
52
|
* `10001 "The requested unsubscribe group was not found"`; a group that exists but
|
|
34
53
|
* has **no active suppression** for that email returns
|
|
35
54
|
* `10001 "The requested group suppression was not found"`.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* await client.emailUnsubscribeGroups.suppressions.delete(
|
|
59
|
+
* 'email',
|
|
60
|
+
* { id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
|
|
61
|
+
* );
|
|
62
|
+
* ```
|
|
36
63
|
*/
|
|
37
64
|
delete(email: string, params: SuppressionDeleteParams, options?: RequestOptions): APIPromise<void>;
|
|
38
65
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suppressions.d.mts","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/suppressions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,cAAc,yCAAqC;AAC/D,OAAO,EAAE,gCAAgC,EAAE,yCAAqC;AAChF,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAyB,KAAK,2BAA2B,EAAE,WAAW,EAAE,kCAA8B;AAE7G,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"suppressions.d.mts","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/suppressions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,cAAc,yCAAqC;AAC/D,OAAO,EAAE,gCAAgC,EAAE,yCAAqC;AAChF,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAyB,KAAK,2BAA2B,EAAE,WAAW,EAAE,kCAA8B;AAE7G,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CACF,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,gCAAgC,EAAE,cAAc,CAAC,UAAU,CAAC;IAQ3E;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,cAAc,CAAC,kBAAkB,CAAC;IAIhD;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOnG;AAED,MAAM,WAAW,qBAAsB,SAAQ,2BAA2B;CAAG;AAE7E,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH;AAED,OAAO,EAAE,KAAK,gCAAgC,EAAE,CAAC"}
|
|
@@ -15,12 +15,31 @@ export declare class Suppressions extends APIResource {
|
|
|
15
15
|
* malformed `page` returns `400` (code `10015`), consistent with
|
|
16
16
|
* `GET /v2/email_blocks`. `meta` includes `total_pages`. Rows reuse the standard
|
|
17
17
|
* suppression shape (`group_id` set to this group).
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* // Automatically fetches more pages as needed.
|
|
22
|
+
* for await (const emailBlock of client.emailUnsubscribeGroups.suppressions.list(
|
|
23
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
24
|
+
* )) {
|
|
25
|
+
* // ...
|
|
26
|
+
* }
|
|
27
|
+
* ```
|
|
18
28
|
*/
|
|
19
29
|
list(id: string, query?: SuppressionListParams | null | undefined, options?: RequestOptions): PagePromise<EmailBlocksDefaultFlatPagination, EmailBlocksAPI.EmailBlock>;
|
|
20
30
|
/**
|
|
21
31
|
* Creates a suppression with `reason: unsubscribe`, `source: manual`,
|
|
22
32
|
* `group_id: <this group>`. All other body fields are ignored; only `to` is read.
|
|
23
33
|
* Idempotent (same dedupe key → `200`, no new event).
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```ts
|
|
37
|
+
* const emailBlockResponse =
|
|
38
|
+
* await client.emailUnsubscribeGroups.suppressions.create(
|
|
39
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
40
|
+
* { to: 'user@example.com' },
|
|
41
|
+
* );
|
|
42
|
+
* ```
|
|
24
43
|
*/
|
|
25
44
|
create(id: string, body: SuppressionCreateParams, options?: RequestOptions): APIPromise<EmailBlocksAPI.EmailBlockResponse>;
|
|
26
45
|
/**
|
|
@@ -33,6 +52,14 @@ export declare class Suppressions extends APIResource {
|
|
|
33
52
|
* `10001 "The requested unsubscribe group was not found"`; a group that exists but
|
|
34
53
|
* has **no active suppression** for that email returns
|
|
35
54
|
* `10001 "The requested group suppression was not found"`.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* await client.emailUnsubscribeGroups.suppressions.delete(
|
|
59
|
+
* 'email',
|
|
60
|
+
* { id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
|
|
61
|
+
* );
|
|
62
|
+
* ```
|
|
36
63
|
*/
|
|
37
64
|
delete(email: string, params: SuppressionDeleteParams, options?: RequestOptions): APIPromise<void>;
|
|
38
65
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suppressions.d.ts","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/suppressions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,cAAc,wCAAqC;AAC/D,OAAO,EAAE,gCAAgC,EAAE,wCAAqC;AAChF,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAyB,KAAK,2BAA2B,EAAE,WAAW,EAAE,iCAA8B;AAE7G,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"suppressions.d.ts","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/suppressions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,cAAc,wCAAqC;AAC/D,OAAO,EAAE,gCAAgC,EAAE,wCAAqC;AAChF,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAyB,KAAK,2BAA2B,EAAE,WAAW,EAAE,iCAA8B;AAE7G,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CACF,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,gCAAgC,EAAE,cAAc,CAAC,UAAU,CAAC;IAQ3E;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,cAAc,CAAC,kBAAkB,CAAC;IAIhD;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOnG;AAED,MAAM,WAAW,qBAAsB,SAAQ,2BAA2B;CAAG;AAE7E,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH;AAED,OAAO,EAAE,KAAK,gCAAgC,EAAE,CAAC"}
|
|
@@ -17,6 +17,16 @@ class Suppressions extends resource_1.APIResource {
|
|
|
17
17
|
* malformed `page` returns `400` (code `10015`), consistent with
|
|
18
18
|
* `GET /v2/email_blocks`. `meta` includes `total_pages`. Rows reuse the standard
|
|
19
19
|
* suppression shape (`group_id` set to this group).
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* // Automatically fetches more pages as needed.
|
|
24
|
+
* for await (const emailBlock of client.emailUnsubscribeGroups.suppressions.list(
|
|
25
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
26
|
+
* )) {
|
|
27
|
+
* // ...
|
|
28
|
+
* }
|
|
29
|
+
* ```
|
|
20
30
|
*/
|
|
21
31
|
list(id, query = {}, options) {
|
|
22
32
|
return this._client.getAPIList((0, path_1.path) `/email_unsubscribe_groups/${id}/suppressions`, (pagination_1.DefaultFlatPagination), { query, ...options });
|
|
@@ -25,6 +35,15 @@ class Suppressions extends resource_1.APIResource {
|
|
|
25
35
|
* Creates a suppression with `reason: unsubscribe`, `source: manual`,
|
|
26
36
|
* `group_id: <this group>`. All other body fields are ignored; only `to` is read.
|
|
27
37
|
* Idempotent (same dedupe key → `200`, no new event).
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const emailBlockResponse =
|
|
42
|
+
* await client.emailUnsubscribeGroups.suppressions.create(
|
|
43
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
44
|
+
* { to: 'user@example.com' },
|
|
45
|
+
* );
|
|
46
|
+
* ```
|
|
28
47
|
*/
|
|
29
48
|
create(id, body, options) {
|
|
30
49
|
return this._client.post((0, path_1.path) `/email_unsubscribe_groups/${id}/suppressions`, { body, ...options });
|
|
@@ -39,6 +58,14 @@ class Suppressions extends resource_1.APIResource {
|
|
|
39
58
|
* `10001 "The requested unsubscribe group was not found"`; a group that exists but
|
|
40
59
|
* has **no active suppression** for that email returns
|
|
41
60
|
* `10001 "The requested group suppression was not found"`.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```ts
|
|
64
|
+
* await client.emailUnsubscribeGroups.suppressions.delete(
|
|
65
|
+
* 'email',
|
|
66
|
+
* { id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
|
|
67
|
+
* );
|
|
68
|
+
* ```
|
|
42
69
|
*/
|
|
43
70
|
delete(email, params, options) {
|
|
44
71
|
const { id } = params;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suppressions.js","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/suppressions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,yDAA6G;AAC7G,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"suppressions.js","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/suppressions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,yDAA6G;AAC7G,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CACF,EAAU,EACV,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,6BAA6B,EAAE,eAAe,EAClD,CAAA,kCAAgD,CAAA,EAChD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAU,EACV,IAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CAAC,KAAa,EAAE,MAA+B,EAAE,OAAwB;QAC7E,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,iBAAiB,KAAK,EAAE,EAAE;YACtF,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;AA/ED,oCA+EC"}
|
|
@@ -14,6 +14,16 @@ export class Suppressions extends APIResource {
|
|
|
14
14
|
* malformed `page` returns `400` (code `10015`), consistent with
|
|
15
15
|
* `GET /v2/email_blocks`. `meta` includes `total_pages`. Rows reuse the standard
|
|
16
16
|
* suppression shape (`group_id` set to this group).
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* // Automatically fetches more pages as needed.
|
|
21
|
+
* for await (const emailBlock of client.emailUnsubscribeGroups.suppressions.list(
|
|
22
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
23
|
+
* )) {
|
|
24
|
+
* // ...
|
|
25
|
+
* }
|
|
26
|
+
* ```
|
|
17
27
|
*/
|
|
18
28
|
list(id, query = {}, options) {
|
|
19
29
|
return this._client.getAPIList(path `/email_unsubscribe_groups/${id}/suppressions`, (DefaultFlatPagination), { query, ...options });
|
|
@@ -22,6 +32,15 @@ export class Suppressions extends APIResource {
|
|
|
22
32
|
* Creates a suppression with `reason: unsubscribe`, `source: manual`,
|
|
23
33
|
* `group_id: <this group>`. All other body fields are ignored; only `to` is read.
|
|
24
34
|
* Idempotent (same dedupe key → `200`, no new event).
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const emailBlockResponse =
|
|
39
|
+
* await client.emailUnsubscribeGroups.suppressions.create(
|
|
40
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
41
|
+
* { to: 'user@example.com' },
|
|
42
|
+
* );
|
|
43
|
+
* ```
|
|
25
44
|
*/
|
|
26
45
|
create(id, body, options) {
|
|
27
46
|
return this._client.post(path `/email_unsubscribe_groups/${id}/suppressions`, { body, ...options });
|
|
@@ -36,6 +55,14 @@ export class Suppressions extends APIResource {
|
|
|
36
55
|
* `10001 "The requested unsubscribe group was not found"`; a group that exists but
|
|
37
56
|
* has **no active suppression** for that email returns
|
|
38
57
|
* `10001 "The requested group suppression was not found"`.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* await client.emailUnsubscribeGroups.suppressions.delete(
|
|
62
|
+
* 'email',
|
|
63
|
+
* { id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
|
|
64
|
+
* );
|
|
65
|
+
* ```
|
|
39
66
|
*/
|
|
40
67
|
delete(email, params, options) {
|
|
41
68
|
const { id } = params;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suppressions.mjs","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/suppressions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,qBAAqB,EAAiD,kCAA8B;AAC7G,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"suppressions.mjs","sourceRoot":"","sources":["../../src/resources/email-unsubscribe-groups/suppressions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,qBAAqB,EAAiD,kCAA8B;AAC7G,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CACF,EAAU,EACV,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,6BAA6B,EAAE,eAAe,EAClD,CAAA,qBAAgD,CAAA,EAChD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAU,EACV,IAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,6BAA6B,EAAE,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CAAC,KAAa,EAAE,MAA+B,EAAE,OAAwB;QAC7E,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,6BAA6B,EAAE,iBAAiB,KAAK,EAAE,EAAE;YACtF,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"}
|