telnyx 7.12.0 → 7.14.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 +14 -0
- package/client.d.mts +72 -21
- package/client.d.mts.map +1 -1
- package/client.d.ts +72 -21
- package/client.d.ts.map +1 -1
- package/client.js +58 -7
- package/client.js.map +1 -1
- package/client.mjs +58 -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 +20 -11
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +20 -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/anthropic/v1.d.mts +3 -1
- package/resources/ai/anthropic/v1.d.mts.map +1 -1
- package/resources/ai/anthropic/v1.d.ts +3 -1
- package/resources/ai/anthropic/v1.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +34 -5
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +34 -5
- 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/chat.d.mts +6 -0
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +6 -0
- package/resources/ai/chat.d.ts.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/chat.d.mts +6 -0
- package/resources/ai/openai/chat.d.mts.map +1 -1
- package/resources/ai/openai/chat.d.ts +6 -0
- package/resources/ai/openai/chat.d.ts.map +1 -1
- package/resources/ai/openai/openai.d.mts +6 -1
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +6 -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 +227 -50
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +227 -50
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/actions.js +35 -2
- package/resources/calls/actions.js.map +1 -1
- package/resources/calls/actions.mjs +35 -2
- package/resources/calls/actions.mjs.map +1 -1
- package/resources/calls/calls.d.mts +3 -2
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +3 -2
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +1 -1
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +1 -1
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.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/custom-storage-credentials.d.mts +110 -14
- package/resources/custom-storage-credentials.d.mts.map +1 -1
- package/resources/custom-storage-credentials.d.ts +110 -14
- package/resources/custom-storage-credentials.d.ts.map +1 -1
- package/resources/dir/dir.d.mts +3 -2
- package/resources/dir/dir.d.mts.map +1 -1
- package/resources/dir/dir.d.ts +3 -2
- package/resources/dir/dir.d.ts.map +1 -1
- package/resources/dir/dir.js +3 -2
- package/resources/dir/dir.js.map +1 -1
- package/resources/dir/dir.mjs +3 -2
- package/resources/dir/dir.mjs.map +1 -1
- package/resources/dir/references.d.mts +41 -11
- package/resources/dir/references.d.mts.map +1 -1
- package/resources/dir/references.d.ts +41 -11
- package/resources/dir/references.d.ts.map +1 -1
- package/resources/dir/references.js +30 -8
- package/resources/dir/references.js.map +1 -1
- package/resources/dir/references.mjs +30 -8
- package/resources/dir/references.mjs.map +1 -1
- package/resources/dir/verify-email.d.mts +10 -0
- package/resources/dir/verify-email.d.mts.map +1 -1
- package/resources/dir/verify-email.d.ts +10 -0
- package/resources/dir/verify-email.d.ts.map +1 -1
- package/resources/email-blocks/email-blocks.d.mts +299 -0
- package/resources/email-blocks/email-blocks.d.mts.map +1 -0
- package/resources/email-blocks/email-blocks.d.ts +299 -0
- package/resources/email-blocks/email-blocks.d.ts.map +1 -0
- package/resources/email-blocks/email-blocks.js +143 -0
- package/resources/email-blocks/email-blocks.js.map +1 -0
- package/resources/email-blocks/email-blocks.mjs +138 -0
- package/resources/email-blocks/email-blocks.mjs.map +1 -0
- package/resources/email-blocks/import.d.mts +128 -0
- package/resources/email-blocks/import.d.mts.map +1 -0
- package/resources/email-blocks/import.d.ts +128 -0
- package/resources/email-blocks/import.d.ts.map +1 -0
- package/resources/email-blocks/import.js +57 -0
- package/resources/email-blocks/import.js.map +1 -0
- package/resources/email-blocks/import.mjs +53 -0
- package/resources/email-blocks/import.mjs.map +1 -0
- package/resources/email-blocks/index.d.mts +3 -0
- package/resources/email-blocks/index.d.mts.map +1 -0
- package/resources/email-blocks/index.d.ts +3 -0
- package/resources/email-blocks/index.d.ts.map +1 -0
- package/resources/email-blocks/index.js +9 -0
- package/resources/email-blocks/index.js.map +1 -0
- package/resources/email-blocks/index.mjs +4 -0
- package/resources/email-blocks/index.mjs.map +1 -0
- package/resources/email-blocks.d.mts +2 -0
- package/resources/email-blocks.d.mts.map +1 -0
- package/resources/email-blocks.d.ts +2 -0
- package/resources/email-blocks.d.ts.map +1 -0
- package/resources/email-blocks.js +6 -0
- package/resources/email-blocks.js.map +1 -0
- package/resources/email-blocks.mjs +3 -0
- package/resources/email-blocks.mjs.map +1 -0
- package/resources/email-domains/email-domains.d.mts +350 -0
- package/resources/email-domains/email-domains.d.mts.map +1 -0
- package/resources/email-domains/email-domains.d.ts +350 -0
- package/resources/email-domains/email-domains.d.ts.map +1 -0
- package/resources/email-domains/email-domains.js +152 -0
- package/resources/email-domains/email-domains.js.map +1 -0
- package/resources/email-domains/email-domains.mjs +147 -0
- package/resources/email-domains/email-domains.mjs.map +1 -0
- package/resources/email-domains/index.d.mts +3 -0
- package/resources/email-domains/index.d.mts.map +1 -0
- package/resources/email-domains/index.d.ts +3 -0
- package/resources/email-domains/index.d.ts.map +1 -0
- package/resources/email-domains/index.js +9 -0
- package/resources/email-domains/index.js.map +1 -0
- package/resources/email-domains/index.mjs +4 -0
- package/resources/email-domains/index.mjs.map +1 -0
- package/resources/email-domains/webhooks.d.mts +173 -0
- package/resources/email-domains/webhooks.d.mts.map +1 -0
- package/resources/email-domains/webhooks.d.ts +173 -0
- package/resources/email-domains/webhooks.d.ts.map +1 -0
- package/resources/email-domains/webhooks.js +113 -0
- package/resources/email-domains/webhooks.js.map +1 -0
- package/resources/email-domains/webhooks.mjs +109 -0
- package/resources/email-domains/webhooks.mjs.map +1 -0
- package/resources/email-domains.d.mts +2 -0
- package/resources/email-domains.d.mts.map +1 -0
- package/resources/email-domains.d.ts +2 -0
- package/resources/email-domains.d.ts.map +1 -0
- package/resources/email-domains.js +6 -0
- package/resources/email-domains.js.map +1 -0
- package/resources/email-domains.mjs +3 -0
- package/resources/email-domains.mjs.map +1 -0
- package/resources/email-events.d.mts +186 -0
- package/resources/email-events.d.mts.map +1 -0
- package/resources/email-events.d.ts +186 -0
- package/resources/email-events.d.ts.map +1 -0
- package/resources/email-events.js +26 -0
- package/resources/email-events.js.map +1 -0
- package/resources/email-events.mjs +22 -0
- package/resources/email-events.mjs.map +1 -0
- package/resources/email-inboxes/drafts.d.mts +553 -0
- package/resources/email-inboxes/drafts.d.mts.map +1 -0
- package/resources/email-inboxes/drafts.d.ts +553 -0
- package/resources/email-inboxes/drafts.d.ts.map +1 -0
- package/resources/email-inboxes/drafts.js +165 -0
- package/resources/email-inboxes/drafts.js.map +1 -0
- package/resources/email-inboxes/drafts.mjs +161 -0
- package/resources/email-inboxes/drafts.mjs.map +1 -0
- package/resources/email-inboxes/email-inboxes.d.mts +131 -0
- package/resources/email-inboxes/email-inboxes.d.mts.map +1 -0
- package/resources/email-inboxes/email-inboxes.d.ts +131 -0
- package/resources/email-inboxes/email-inboxes.d.ts.map +1 -0
- package/resources/email-inboxes/email-inboxes.js +93 -0
- package/resources/email-inboxes/email-inboxes.js.map +1 -0
- package/resources/email-inboxes/email-inboxes.mjs +88 -0
- package/resources/email-inboxes/email-inboxes.mjs.map +1 -0
- package/resources/email-inboxes/filters.d.mts +137 -0
- package/resources/email-inboxes/filters.d.mts.map +1 -0
- package/resources/email-inboxes/filters.d.ts +137 -0
- package/resources/email-inboxes/filters.d.ts.map +1 -0
- package/resources/email-inboxes/filters.js +81 -0
- package/resources/email-inboxes/filters.js.map +1 -0
- package/resources/email-inboxes/filters.mjs +77 -0
- package/resources/email-inboxes/filters.mjs.map +1 -0
- package/resources/email-inboxes/index.d.mts +6 -0
- package/resources/email-inboxes/index.d.mts.map +1 -0
- package/resources/email-inboxes/index.d.ts +6 -0
- package/resources/email-inboxes/index.d.ts.map +1 -0
- package/resources/email-inboxes/index.js +15 -0
- package/resources/email-inboxes/index.js.map +1 -0
- package/resources/email-inboxes/index.mjs +7 -0
- package/resources/email-inboxes/index.mjs.map +1 -0
- package/resources/email-inboxes/messages/actions.d.mts +190 -0
- package/resources/email-inboxes/messages/actions.d.mts.map +1 -0
- package/resources/email-inboxes/messages/actions.d.ts +190 -0
- package/resources/email-inboxes/messages/actions.d.ts.map +1 -0
- package/resources/email-inboxes/messages/actions.js +106 -0
- package/resources/email-inboxes/messages/actions.js.map +1 -0
- package/resources/email-inboxes/messages/actions.mjs +102 -0
- package/resources/email-inboxes/messages/actions.mjs.map +1 -0
- package/resources/email-inboxes/messages/index.d.mts +4 -0
- package/resources/email-inboxes/messages/index.d.mts.map +1 -0
- package/resources/email-inboxes/messages/index.d.ts +4 -0
- package/resources/email-inboxes/messages/index.d.ts.map +1 -0
- package/resources/email-inboxes/messages/index.js +11 -0
- package/resources/email-inboxes/messages/index.js.map +1 -0
- package/resources/email-inboxes/messages/index.mjs +5 -0
- package/resources/email-inboxes/messages/index.mjs.map +1 -0
- package/resources/email-inboxes/messages/labels.d.mts +101 -0
- package/resources/email-inboxes/messages/labels.d.mts.map +1 -0
- package/resources/email-inboxes/messages/labels.d.ts +101 -0
- package/resources/email-inboxes/messages/labels.d.ts.map +1 -0
- package/resources/email-inboxes/messages/labels.js +69 -0
- package/resources/email-inboxes/messages/labels.js.map +1 -0
- package/resources/email-inboxes/messages/labels.mjs +65 -0
- package/resources/email-inboxes/messages/labels.mjs.map +1 -0
- package/resources/email-inboxes/messages/messages.d.mts +212 -0
- package/resources/email-inboxes/messages/messages.d.mts.map +1 -0
- package/resources/email-inboxes/messages/messages.d.ts +212 -0
- package/resources/email-inboxes/messages/messages.d.ts.map +1 -0
- package/resources/email-inboxes/messages/messages.js +89 -0
- package/resources/email-inboxes/messages/messages.js.map +1 -0
- package/resources/email-inboxes/messages/messages.mjs +84 -0
- package/resources/email-inboxes/messages/messages.mjs.map +1 -0
- package/resources/email-inboxes/messages.d.mts +2 -0
- package/resources/email-inboxes/messages.d.mts.map +1 -0
- package/resources/email-inboxes/messages.d.ts +2 -0
- package/resources/email-inboxes/messages.d.ts.map +1 -0
- package/resources/email-inboxes/messages.js +6 -0
- package/resources/email-inboxes/messages.js.map +1 -0
- package/resources/email-inboxes/messages.mjs +3 -0
- package/resources/email-inboxes/messages.mjs.map +1 -0
- package/resources/email-inboxes/threads/index.d.mts +3 -0
- package/resources/email-inboxes/threads/index.d.mts.map +1 -0
- package/resources/email-inboxes/threads/index.d.ts +3 -0
- package/resources/email-inboxes/threads/index.d.ts.map +1 -0
- package/resources/email-inboxes/threads/index.js +9 -0
- package/resources/email-inboxes/threads/index.js.map +1 -0
- package/resources/email-inboxes/threads/index.mjs +4 -0
- package/resources/email-inboxes/threads/index.mjs.map +1 -0
- package/resources/email-inboxes/threads/labels.d.mts +99 -0
- package/resources/email-inboxes/threads/labels.d.mts.map +1 -0
- package/resources/email-inboxes/threads/labels.d.ts +99 -0
- package/resources/email-inboxes/threads/labels.d.ts.map +1 -0
- package/resources/email-inboxes/threads/labels.js +64 -0
- package/resources/email-inboxes/threads/labels.js.map +1 -0
- package/resources/email-inboxes/threads/labels.mjs +60 -0
- package/resources/email-inboxes/threads/labels.mjs.map +1 -0
- package/resources/email-inboxes/threads/threads.d.mts +199 -0
- package/resources/email-inboxes/threads/threads.d.mts.map +1 -0
- package/resources/email-inboxes/threads/threads.d.ts +199 -0
- package/resources/email-inboxes/threads/threads.d.ts.map +1 -0
- package/resources/email-inboxes/threads/threads.js +51 -0
- package/resources/email-inboxes/threads/threads.js.map +1 -0
- package/resources/email-inboxes/threads/threads.mjs +46 -0
- package/resources/email-inboxes/threads/threads.mjs.map +1 -0
- package/resources/email-inboxes/threads.d.mts +2 -0
- package/resources/email-inboxes/threads.d.mts.map +1 -0
- package/resources/email-inboxes/threads.d.ts +2 -0
- package/resources/email-inboxes/threads.d.ts.map +1 -0
- package/resources/email-inboxes/threads.js +6 -0
- package/resources/email-inboxes/threads.js.map +1 -0
- package/resources/email-inboxes/threads.mjs +3 -0
- package/resources/email-inboxes/threads.mjs.map +1 -0
- package/resources/email-inboxes.d.mts +2 -0
- package/resources/email-inboxes.d.mts.map +1 -0
- package/resources/email-inboxes.d.ts +2 -0
- package/resources/email-inboxes.d.ts.map +1 -0
- package/resources/email-inboxes.js +6 -0
- package/resources/email-inboxes.js.map +1 -0
- package/resources/email-inboxes.mjs +3 -0
- package/resources/email-inboxes.mjs.map +1 -0
- package/resources/email-messages/email-messages.d.mts +543 -0
- package/resources/email-messages/email-messages.d.mts.map +1 -0
- package/resources/email-messages/email-messages.d.ts +543 -0
- package/resources/email-messages/email-messages.d.ts.map +1 -0
- package/resources/email-messages/email-messages.js +186 -0
- package/resources/email-messages/email-messages.js.map +1 -0
- package/resources/email-messages/email-messages.mjs +181 -0
- package/resources/email-messages/email-messages.mjs.map +1 -0
- package/resources/email-messages/index.d.mts +3 -0
- package/resources/email-messages/index.d.mts.map +1 -0
- package/resources/email-messages/index.d.ts +3 -0
- package/resources/email-messages/index.d.ts.map +1 -0
- package/resources/email-messages/index.js +9 -0
- package/resources/email-messages/index.js.map +1 -0
- package/resources/email-messages/index.mjs +4 -0
- package/resources/email-messages/index.mjs.map +1 -0
- package/resources/email-messages/recipients.d.mts +118 -0
- package/resources/email-messages/recipients.d.mts.map +1 -0
- package/resources/email-messages/recipients.d.ts +118 -0
- package/resources/email-messages/recipients.d.ts.map +1 -0
- package/resources/email-messages/recipients.js +48 -0
- package/resources/email-messages/recipients.js.map +1 -0
- package/resources/email-messages/recipients.mjs +44 -0
- package/resources/email-messages/recipients.mjs.map +1 -0
- package/resources/email-messages.d.mts +2 -0
- package/resources/email-messages.d.mts.map +1 -0
- package/resources/email-messages.d.ts +2 -0
- package/resources/email-messages.d.ts.map +1 -0
- package/resources/email-messages.js +6 -0
- package/resources/email-messages.js.map +1 -0
- package/resources/email-messages.mjs +3 -0
- package/resources/email-messages.mjs.map +1 -0
- package/resources/email-templates.d.mts +240 -0
- package/resources/email-templates.d.mts.map +1 -0
- package/resources/email-templates.d.ts +240 -0
- package/resources/email-templates.d.ts.map +1 -0
- package/resources/email-templates.js +128 -0
- package/resources/email-templates.js.map +1 -0
- package/resources/email-templates.mjs +124 -0
- package/resources/email-templates.mjs.map +1 -0
- package/resources/email-threads.d.mts +71 -0
- package/resources/email-threads.d.mts.map +1 -0
- package/resources/email-threads.d.ts +71 -0
- package/resources/email-threads.d.ts.map +1 -0
- package/resources/email-threads.js +34 -0
- package/resources/email-threads.js.map +1 -0
- package/resources/email-threads.mjs +30 -0
- package/resources/email-threads.mjs.map +1 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.d.mts +134 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.d.mts.map +1 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.d.ts +134 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.d.ts.map +1 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.js +114 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.js.map +1 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.mjs +109 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.mjs.map +1 -0
- package/resources/email-unsubscribe-groups/index.d.mts +3 -0
- package/resources/email-unsubscribe-groups/index.d.mts.map +1 -0
- package/resources/email-unsubscribe-groups/index.d.ts +3 -0
- package/resources/email-unsubscribe-groups/index.d.ts.map +1 -0
- package/resources/email-unsubscribe-groups/index.js +9 -0
- package/resources/email-unsubscribe-groups/index.js.map +1 -0
- package/resources/email-unsubscribe-groups/index.mjs +4 -0
- package/resources/email-unsubscribe-groups/index.mjs.map +1 -0
- package/resources/email-unsubscribe-groups/suppressions.d.mts +81 -0
- package/resources/email-unsubscribe-groups/suppressions.d.mts.map +1 -0
- package/resources/email-unsubscribe-groups/suppressions.d.ts +81 -0
- package/resources/email-unsubscribe-groups/suppressions.d.ts.map +1 -0
- package/resources/email-unsubscribe-groups/suppressions.js +79 -0
- package/resources/email-unsubscribe-groups/suppressions.js.map +1 -0
- package/resources/email-unsubscribe-groups/suppressions.mjs +75 -0
- package/resources/email-unsubscribe-groups/suppressions.mjs.map +1 -0
- package/resources/email-unsubscribe-groups.d.mts +2 -0
- package/resources/email-unsubscribe-groups.d.mts.map +1 -0
- package/resources/email-unsubscribe-groups.d.ts +2 -0
- package/resources/email-unsubscribe-groups.d.ts.map +1 -0
- package/resources/email-unsubscribe-groups.js +6 -0
- package/resources/email-unsubscribe-groups.js.map +1 -0
- package/resources/email-unsubscribe-groups.mjs +3 -0
- package/resources/email-unsubscribe-groups.mjs.map +1 -0
- package/resources/email-validations/batch.d.mts +136 -0
- package/resources/email-validations/batch.d.mts.map +1 -0
- package/resources/email-validations/batch.d.ts +136 -0
- package/resources/email-validations/batch.d.ts.map +1 -0
- package/resources/email-validations/batch.js +51 -0
- package/resources/email-validations/batch.js.map +1 -0
- package/resources/email-validations/batch.mjs +47 -0
- package/resources/email-validations/batch.mjs.map +1 -0
- package/resources/email-validations/email-validations.d.mts +87 -0
- package/resources/email-validations/email-validations.d.mts.map +1 -0
- package/resources/email-validations/email-validations.d.ts +87 -0
- package/resources/email-validations/email-validations.d.ts.map +1 -0
- package/resources/email-validations/email-validations.js +43 -0
- package/resources/email-validations/email-validations.js.map +1 -0
- package/resources/email-validations/email-validations.mjs +38 -0
- package/resources/email-validations/email-validations.mjs.map +1 -0
- package/resources/email-validations/index.d.mts +3 -0
- package/resources/email-validations/index.d.mts.map +1 -0
- package/resources/email-validations/index.d.ts +3 -0
- package/resources/email-validations/index.d.ts.map +1 -0
- package/resources/email-validations/index.js +9 -0
- package/resources/email-validations/index.js.map +1 -0
- package/resources/email-validations/index.mjs +4 -0
- package/resources/email-validations/index.mjs.map +1 -0
- package/resources/email-validations.d.mts +2 -0
- package/resources/email-validations.d.mts.map +1 -0
- package/resources/email-validations.d.ts +2 -0
- package/resources/email-validations.d.ts.map +1 -0
- package/resources/email-validations.js +6 -0
- package/resources/email-validations.js.map +1 -0
- package/resources/email-validations.mjs +3 -0
- package/resources/email-validations.mjs.map +1 -0
- 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 +19 -9
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +19 -9
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +27 -7
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +12 -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/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-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 +3 -0
- package/resources/pricing/index.d.mts.map +1 -0
- package/resources/pricing/index.d.ts +3 -0
- package/resources/pricing/index.d.ts.map +1 -0
- package/resources/pricing/index.js +9 -0
- package/resources/pricing/index.js.map +1 -0
- package/resources/pricing/index.mjs +4 -0
- package/resources/pricing/index.mjs.map +1 -0
- package/resources/pricing/pricing.d.mts +10 -0
- package/resources/pricing/pricing.d.mts.map +1 -0
- package/resources/pricing/pricing.d.ts +10 -0
- package/resources/pricing/pricing.d.ts.map +1 -0
- package/resources/pricing/pricing.js +17 -0
- package/resources/pricing/pricing.js.map +1 -0
- package/resources/pricing/pricing.mjs +12 -0
- package/resources/pricing/pricing.mjs.map +1 -0
- package/resources/pricing/products.d.mts +162 -0
- package/resources/pricing/products.d.mts.map +1 -0
- package/resources/pricing/products.d.ts +162 -0
- package/resources/pricing/products.d.ts.map +1 -0
- package/resources/pricing/products.js +35 -0
- package/resources/pricing/products.js.map +1 -0
- package/resources/pricing/products.mjs +31 -0
- package/resources/pricing/products.mjs.map +1 -0
- package/resources/pricing.d.mts +2 -0
- package/resources/pricing.d.mts.map +1 -0
- package/resources/pricing.d.ts +2 -0
- package/resources/pricing.d.ts.map +1 -0
- package/resources/pricing.js +6 -0
- package/resources/pricing.js.map +1 -0
- package/resources/pricing.mjs +3 -0
- package/resources/pricing.mjs.map +1 -0
- 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 +66 -10
- package/resources/sim-cards/actions.d.mts.map +1 -1
- package/resources/sim-cards/actions.d.ts +66 -10
- package/resources/sim-cards/actions.d.ts.map +1 -1
- package/resources/sim-cards/actions.js +1 -1
- package/resources/sim-cards/actions.js.map +1 -1
- package/resources/sim-cards/actions.mjs +1 -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 +9 -4
- package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.ts +9 -4
- package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
- package/resources/speech-to-text/speech-to-text.js +1 -1
- package/resources/speech-to-text/speech-to-text.mjs +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/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/storage.d.mts +1 -1
- package/resources/storage/storage.d.ts +1 -1
- package/resources/storage/storage.js +1 -1
- package/resources/storage/storage.mjs +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/uac-connections/uac-connections.d.mts +5 -0
- package/resources/uac-connections/uac-connections.d.mts.map +1 -1
- package/resources/uac-connections/uac-connections.d.ts +5 -0
- package/resources/uac-connections/uac-connections.d.ts.map +1 -1
- package/resources/uac-connections/uac-connections.js.map +1 -1
- package/resources/uac-connections/uac-connections.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/webhooks.d.mts +1338 -237
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +1338 -237
- package/resources/webhooks.d.ts.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 +304 -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 +43 -9
- package/src/resources/ai/anthropic/v1.ts +3 -1
- package/src/resources/ai/assistants/assistants.ts +38 -4
- 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/chat.ts +7 -0
- 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/chat.ts +7 -0
- package/src/resources/ai/openai/openai.ts +7 -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 +273 -53
- package/src/resources/calls/calls.ts +8 -0
- package/src/resources/calls/index.ts +3 -0
- 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/custom-storage-credentials.ts +140 -14
- package/src/resources/dir/dir.ts +3 -2
- package/src/resources/dir/references.ts +41 -11
- package/src/resources/dir/verify-email.ts +12 -0
- package/src/resources/email-blocks/email-blocks.ts +402 -0
- package/src/resources/email-blocks/import.ts +160 -0
- package/src/resources/email-blocks/index.ts +16 -0
- package/src/resources/email-blocks.ts +3 -0
- package/src/resources/email-domains/email-domains.ts +516 -0
- package/src/resources/email-domains/index.ts +33 -0
- package/src/resources/email-domains/webhooks.ts +270 -0
- package/src/resources/email-domains.ts +3 -0
- package/src/resources/email-events.ts +269 -0
- package/src/resources/email-inboxes/drafts.ts +750 -0
- package/src/resources/email-inboxes/email-inboxes.ts +276 -0
- package/src/resources/email-inboxes/filters.ts +193 -0
- package/src/resources/email-inboxes/index.ts +58 -0
- package/src/resources/email-inboxes/messages/actions.ts +258 -0
- package/src/resources/email-inboxes/messages/index.ts +27 -0
- package/src/resources/email-inboxes/messages/labels.ts +139 -0
- package/src/resources/email-inboxes/messages/messages.ts +313 -0
- package/src/resources/email-inboxes/messages.ts +3 -0
- package/src/resources/email-inboxes/threads/index.ts +21 -0
- package/src/resources/email-inboxes/threads/labels.ts +143 -0
- package/src/resources/email-inboxes/threads/threads.ts +292 -0
- package/src/resources/email-inboxes/threads.ts +3 -0
- package/src/resources/email-inboxes.ts +3 -0
- package/src/resources/email-messages/email-messages.ts +713 -0
- package/src/resources/email-messages/index.ts +26 -0
- package/src/resources/email-messages/recipients.ts +182 -0
- package/src/resources/email-messages.ts +3 -0
- package/src/resources/email-templates.ts +337 -0
- package/src/resources/email-threads.ts +100 -0
- package/src/resources/email-unsubscribe-groups/email-unsubscribe-groups.ts +215 -0
- package/src/resources/email-unsubscribe-groups/index.ts +19 -0
- package/src/resources/email-unsubscribe-groups/suppressions.ts +117 -0
- package/src/resources/email-unsubscribe-groups.ts +3 -0
- package/src/resources/email-validations/batch.ts +187 -0
- package/src/resources/email-validations/email-validations.ts +141 -0
- package/src/resources/email-validations/index.ts +15 -0
- package/src/resources/email-validations.ts +3 -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 +117 -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/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-regulatory-requirements.ts +3 -1
- package/src/resources/portouts/comments.ts +1 -0
- package/src/resources/pricing/index.ts +13 -0
- package/src/resources/pricing/pricing.ts +33 -0
- package/src/resources/pricing/products.ts +222 -0
- package/src/resources/pricing.ts +3 -0
- 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 +76 -11
- package/src/resources/sim-cards/index.ts +2 -1
- package/src/resources/sim-cards/sim-cards.ts +4 -2
- package/src/resources/sip-registration-status.ts +44 -25
- package/src/resources/speech-to-text/speech-to-text.ts +12 -3
- package/src/resources/storage/buckets/ssl-certificate.ts +4 -1
- 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/storage.ts +1 -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/uac-connections/uac-connections.ts +6 -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/webhooks.ts +2222 -770
- 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
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
4
|
import * as NumberOrdersAPI from './number-orders';
|
|
5
|
-
import * as Shared from './shared';
|
|
6
5
|
import * as CallsAPI from './calls/calls';
|
|
7
6
|
import * as MessagesAPI from './messages/messages';
|
|
7
|
+
import * as ThreadsAPI from './email-inboxes/threads/threads';
|
|
8
8
|
import { Webhook } from 'standardwebhooks';
|
|
9
9
|
|
|
10
10
|
export class Webhooks extends APIResource {
|
|
@@ -4344,117 +4344,10 @@ export namespace FaxSendingStarted {
|
|
|
4344
4344
|
}
|
|
4345
4345
|
}
|
|
4346
4346
|
|
|
4347
|
-
export interface InboundMessage {
|
|
4348
|
-
|
|
4347
|
+
export interface InboundMessage extends Omit<ThreadsAPI.ThreadMessage, 'direction' | 'status'> {
|
|
4348
|
+
direction?: 'inbound';
|
|
4349
4349
|
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
bcc: Array<InboundMessage.Bcc>;
|
|
4353
|
-
|
|
4354
|
-
cc: Array<InboundMessage.Cc>;
|
|
4355
|
-
|
|
4356
|
-
created_at: string;
|
|
4357
|
-
|
|
4358
|
-
direction: 'inbound';
|
|
4359
|
-
|
|
4360
|
-
from: InboundMessage.From;
|
|
4361
|
-
|
|
4362
|
-
/**
|
|
4363
|
-
* Whether conservative plain-text extraction detected a quoted tail. False does
|
|
4364
|
-
* not prove that the source contains no quoted content.
|
|
4365
|
-
*/
|
|
4366
|
-
has_quoted_text: boolean;
|
|
4367
|
-
|
|
4368
|
-
headers: { [key: string]: unknown };
|
|
4369
|
-
|
|
4370
|
-
/**
|
|
4371
|
-
* URL for an offloaded HTML body. Null means the body is not offloaded to a URL;
|
|
4372
|
-
* an inline HTML body may still exist but is not returned on list reads.
|
|
4373
|
-
* `reply_text` and `has_quoted_text` are computed from the inline plain-text body
|
|
4374
|
-
* when present.
|
|
4375
|
-
*/
|
|
4376
|
-
html_body_url: string | null;
|
|
4377
|
-
|
|
4378
|
-
in_reply_to: string | null;
|
|
4379
|
-
|
|
4380
|
-
inbox_id: string;
|
|
4381
|
-
|
|
4382
|
-
inline_files: Array<{ [key: string]: unknown }>;
|
|
4383
|
-
|
|
4384
|
-
/**
|
|
4385
|
-
* RFC Message-ID header.
|
|
4386
|
-
*/
|
|
4387
|
-
message_id: string;
|
|
4388
|
-
|
|
4389
|
-
read_at: string | null;
|
|
4390
|
-
|
|
4391
|
-
received_at: string;
|
|
4392
|
-
|
|
4393
|
-
record_type: 'email_message';
|
|
4394
|
-
|
|
4395
|
-
/**
|
|
4396
|
-
* Ordered RFC Message-ID values from the References header.
|
|
4397
|
-
*/
|
|
4398
|
-
references: Array<string>;
|
|
4399
|
-
|
|
4400
|
-
/**
|
|
4401
|
-
* Conservatively extracted new-reply content from the available plain-text body.
|
|
4402
|
-
* Null means no plain-text body was available because it was absent or offloaded;
|
|
4403
|
-
* HTML bodies are not parsed.
|
|
4404
|
-
*/
|
|
4405
|
-
reply_text: string | null;
|
|
4406
|
-
|
|
4407
|
-
reply_to: Array<InboundMessage.ReplyTo>;
|
|
4408
|
-
|
|
4409
|
-
status: 'received';
|
|
4410
|
-
|
|
4411
|
-
subject: string | null;
|
|
4412
|
-
|
|
4413
|
-
/**
|
|
4414
|
-
* URL for an offloaded plain-text body. Null means the body is not offloaded to a
|
|
4415
|
-
* URL; an inline plain-text body may still exist but is not returned on list
|
|
4416
|
-
* reads. `reply_text` and `has_quoted_text` are computed from the inline
|
|
4417
|
-
* plain-text body when present.
|
|
4418
|
-
*/
|
|
4419
|
-
text_body_url: string | null;
|
|
4420
|
-
|
|
4421
|
-
thread_id: string;
|
|
4422
|
-
|
|
4423
|
-
to: Array<InboundMessage.To>;
|
|
4424
|
-
|
|
4425
|
-
updated_at: string;
|
|
4426
|
-
}
|
|
4427
|
-
|
|
4428
|
-
export namespace InboundMessage {
|
|
4429
|
-
export interface Bcc {
|
|
4430
|
-
email: string;
|
|
4431
|
-
|
|
4432
|
-
name?: string;
|
|
4433
|
-
}
|
|
4434
|
-
|
|
4435
|
-
export interface Cc {
|
|
4436
|
-
email: string;
|
|
4437
|
-
|
|
4438
|
-
name?: string;
|
|
4439
|
-
}
|
|
4440
|
-
|
|
4441
|
-
export interface From {
|
|
4442
|
-
email: string;
|
|
4443
|
-
|
|
4444
|
-
name?: string;
|
|
4445
|
-
}
|
|
4446
|
-
|
|
4447
|
-
export interface ReplyTo {
|
|
4448
|
-
email: string;
|
|
4449
|
-
|
|
4450
|
-
name?: string;
|
|
4451
|
-
}
|
|
4452
|
-
|
|
4453
|
-
export interface To {
|
|
4454
|
-
email: string;
|
|
4455
|
-
|
|
4456
|
-
name?: string;
|
|
4457
|
-
}
|
|
4350
|
+
status?: 'received';
|
|
4458
4351
|
}
|
|
4459
4352
|
|
|
4460
4353
|
export interface NumberOrderStatusUpdate {
|
|
@@ -5054,88 +4947,24 @@ export interface CallMachinePremiumGreetingEndedWebhookEvent {
|
|
|
5054
4947
|
data?: CallMachinePremiumGreetingEnded;
|
|
5055
4948
|
}
|
|
5056
4949
|
|
|
5057
|
-
export interface
|
|
5058
|
-
data?:
|
|
5059
|
-
}
|
|
5060
|
-
|
|
5061
|
-
export interface CallPlaybackStartedWebhookEvent {
|
|
5062
|
-
data?: CallPlaybackStarted;
|
|
5063
|
-
}
|
|
5064
|
-
|
|
5065
|
-
export interface CallRecordingErrorWebhookEvent {
|
|
5066
|
-
data?: CallRecordingError;
|
|
5067
|
-
}
|
|
5068
|
-
|
|
5069
|
-
export interface CallRecordingSavedWebhookEvent {
|
|
5070
|
-
data?: CallRecordingSaved;
|
|
5071
|
-
}
|
|
5072
|
-
|
|
5073
|
-
export interface CallRecordingTranscriptionSavedWebhookEvent {
|
|
5074
|
-
data?: CallRecordingTranscriptionSaved;
|
|
5075
|
-
}
|
|
5076
|
-
|
|
5077
|
-
export interface CallReferCompletedWebhookEvent {
|
|
5078
|
-
data?: CallReferCompleted;
|
|
5079
|
-
}
|
|
5080
|
-
|
|
5081
|
-
export interface CallReferFailedWebhookEvent {
|
|
5082
|
-
data?: CallReferFailed;
|
|
5083
|
-
}
|
|
5084
|
-
|
|
5085
|
-
export interface CallReferStartedWebhookEvent {
|
|
5086
|
-
data?: CallReferStarted;
|
|
5087
|
-
}
|
|
5088
|
-
|
|
5089
|
-
export interface CallSiprecFailedWebhookEvent {
|
|
5090
|
-
data?: CallSiprecFailed;
|
|
5091
|
-
}
|
|
5092
|
-
|
|
5093
|
-
export interface CallSiprecStartedWebhookEvent {
|
|
5094
|
-
data?: CallSiprecStarted;
|
|
5095
|
-
}
|
|
5096
|
-
|
|
5097
|
-
export interface CallSiprecStoppedWebhookEvent {
|
|
5098
|
-
data?: CallSiprecStopped;
|
|
5099
|
-
}
|
|
5100
|
-
|
|
5101
|
-
export interface CallSpeakEndedWebhookEvent {
|
|
5102
|
-
data?: CallSpeakEnded;
|
|
5103
|
-
}
|
|
5104
|
-
|
|
5105
|
-
export interface CallSpeakStartedWebhookEvent {
|
|
5106
|
-
data?: CallSpeakStarted;
|
|
5107
|
-
}
|
|
5108
|
-
|
|
5109
|
-
export interface CallStreamingFailedWebhookEvent {
|
|
5110
|
-
data?: CallStreamingFailed;
|
|
5111
|
-
}
|
|
5112
|
-
|
|
5113
|
-
export interface CallStreamingStartedWebhookEvent {
|
|
5114
|
-
data?: CallStreamingStarted;
|
|
5115
|
-
}
|
|
5116
|
-
|
|
5117
|
-
export interface CallStreamingStoppedWebhookEvent {
|
|
5118
|
-
data?: CallStreamingStopped;
|
|
5119
|
-
}
|
|
5120
|
-
|
|
5121
|
-
export interface CallUnholdWebhookEvent {
|
|
5122
|
-
data?: CallUnholdWebhookEvent.Data;
|
|
4950
|
+
export interface CallPaymentCompletedWebhookEvent {
|
|
4951
|
+
data?: CallPaymentCompletedWebhookEvent.Data;
|
|
5123
4952
|
}
|
|
5124
4953
|
|
|
5125
|
-
export namespace
|
|
4954
|
+
export namespace CallPaymentCompletedWebhookEvent {
|
|
5126
4955
|
export interface Data {
|
|
5127
4956
|
/**
|
|
5128
|
-
*
|
|
4957
|
+
* Unique identifier for the event.
|
|
5129
4958
|
*/
|
|
5130
4959
|
id?: string;
|
|
5131
4960
|
|
|
5132
4961
|
/**
|
|
5133
4962
|
* The type of event being delivered.
|
|
5134
4963
|
*/
|
|
5135
|
-
event_type?: 'call.
|
|
4964
|
+
event_type?: 'call.payment.completed';
|
|
5136
4965
|
|
|
5137
4966
|
/**
|
|
5138
|
-
* ISO 8601 datetime
|
|
4967
|
+
* ISO 8601 datetime when the event occurred.
|
|
5139
4968
|
*/
|
|
5140
4969
|
occurred_at?: string;
|
|
5141
4970
|
|
|
@@ -5149,123 +4978,139 @@ export namespace CallUnholdWebhookEvent {
|
|
|
5149
4978
|
|
|
5150
4979
|
export namespace Data {
|
|
5151
4980
|
export interface Payload {
|
|
4981
|
+
/**
|
|
4982
|
+
* Masked bank account number with only the last two digits visible.
|
|
4983
|
+
*/
|
|
4984
|
+
bank_account_number?: string;
|
|
4985
|
+
|
|
4986
|
+
/**
|
|
4987
|
+
* Bank account type, when available.
|
|
4988
|
+
*/
|
|
4989
|
+
bank_account_type?: string;
|
|
4990
|
+
|
|
4991
|
+
/**
|
|
4992
|
+
* Bank routing number collected from the caller.
|
|
4993
|
+
*/
|
|
4994
|
+
bank_routing_number?: string;
|
|
4995
|
+
|
|
5152
4996
|
/**
|
|
5153
4997
|
* Call ID used to issue commands via Call Control API.
|
|
5154
4998
|
*/
|
|
5155
4999
|
call_control_id?: string;
|
|
5156
5000
|
|
|
5157
5001
|
/**
|
|
5158
|
-
* ID
|
|
5002
|
+
* ID unique to the call leg.
|
|
5159
5003
|
*/
|
|
5160
5004
|
call_leg_id?: string;
|
|
5161
5005
|
|
|
5162
5006
|
/**
|
|
5163
|
-
* ID
|
|
5164
|
-
* events. Call session is a group of related call legs that logically belong to
|
|
5165
|
-
* the same phone call, e.g. an inbound and outbound leg of a transferred call.
|
|
5007
|
+
* ID shared by related call legs in the same call session.
|
|
5166
5008
|
*/
|
|
5167
5009
|
call_session_id?: string;
|
|
5168
5010
|
|
|
5169
5011
|
/**
|
|
5170
|
-
*
|
|
5012
|
+
* Charge identifier returned for a successful charge transaction.
|
|
5013
|
+
*/
|
|
5014
|
+
charge_id?: string;
|
|
5015
|
+
|
|
5016
|
+
/**
|
|
5017
|
+
* Base64-encoded state received from the command.
|
|
5171
5018
|
*/
|
|
5172
5019
|
client_state?: string;
|
|
5173
5020
|
|
|
5174
5021
|
/**
|
|
5175
|
-
* Call Control App ID
|
|
5022
|
+
* Call Control App ID used in the call.
|
|
5176
5023
|
*/
|
|
5177
5024
|
connection_id?: string;
|
|
5178
5025
|
|
|
5179
5026
|
/**
|
|
5180
|
-
*
|
|
5027
|
+
* Additional connector error information, when supplied by the processor.
|
|
5181
5028
|
*/
|
|
5182
|
-
|
|
5029
|
+
connector_error?: string | { [key: string]: unknown };
|
|
5183
5030
|
|
|
5184
5031
|
/**
|
|
5185
|
-
*
|
|
5032
|
+
* Card expiration date in MMYY format.
|
|
5186
5033
|
*/
|
|
5187
|
-
|
|
5188
|
-
}
|
|
5189
|
-
}
|
|
5190
|
-
}
|
|
5191
|
-
|
|
5192
|
-
export interface ConferenceCreatedWebhookEvent {
|
|
5193
|
-
data?: ConferenceCreated;
|
|
5194
|
-
}
|
|
5195
|
-
|
|
5196
|
-
export interface ConferenceEndedWebhookEvent {
|
|
5197
|
-
data?: ConferenceEnded;
|
|
5198
|
-
}
|
|
5199
|
-
|
|
5200
|
-
export interface ConferenceParticipantJoinedWebhookEvent {
|
|
5201
|
-
data?: ConferenceParticipantJoined;
|
|
5202
|
-
}
|
|
5034
|
+
expiration_date?: string;
|
|
5203
5035
|
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
export interface ConferenceParticipantPlaybackEndedWebhookEvent {
|
|
5209
|
-
data?: ConferenceParticipantPlaybackEnded;
|
|
5210
|
-
}
|
|
5036
|
+
/**
|
|
5037
|
+
* Number or SIP URI placing the call.
|
|
5038
|
+
*/
|
|
5039
|
+
from?: string;
|
|
5211
5040
|
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5041
|
+
/**
|
|
5042
|
+
* Error code returned by the payment connector or processor.
|
|
5043
|
+
*/
|
|
5044
|
+
pay_error_code?: string;
|
|
5215
5045
|
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5046
|
+
/**
|
|
5047
|
+
* Masked card number with only the last four digits visible.
|
|
5048
|
+
*/
|
|
5049
|
+
payment_card_number?: string;
|
|
5219
5050
|
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5051
|
+
/**
|
|
5052
|
+
* Billing postal code collected from the caller.
|
|
5053
|
+
*/
|
|
5054
|
+
payment_card_postal_code?: string;
|
|
5223
5055
|
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5056
|
+
/**
|
|
5057
|
+
* Detected card type. Present only for the recognized card brands listed below.
|
|
5058
|
+
*/
|
|
5059
|
+
payment_card_type?: 'visa' | 'mastercard' | 'amex' | 'discover' | 'diners-club' | 'jcb';
|
|
5227
5060
|
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5061
|
+
/**
|
|
5062
|
+
* Payment confirmation code returned by the processor, when available.
|
|
5063
|
+
*/
|
|
5064
|
+
payment_confirmation_code?: string;
|
|
5231
5065
|
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5066
|
+
/**
|
|
5067
|
+
* Name of the Pay connector used.
|
|
5068
|
+
*/
|
|
5069
|
+
payment_connector?: string;
|
|
5235
5070
|
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5071
|
+
/**
|
|
5072
|
+
* Step-level or processor error associated with the final result.
|
|
5073
|
+
*/
|
|
5074
|
+
payment_error?: string;
|
|
5239
5075
|
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5076
|
+
/**
|
|
5077
|
+
* Payment method being collected.
|
|
5078
|
+
*/
|
|
5079
|
+
payment_method?: 'credit-card' | 'ach-debit';
|
|
5243
5080
|
|
|
5244
|
-
|
|
5245
|
-
|
|
5081
|
+
/**
|
|
5082
|
+
* Final Pay session result.
|
|
5083
|
+
*/
|
|
5084
|
+
result?:
|
|
5085
|
+
| 'success'
|
|
5086
|
+
| 'payment-connector-error'
|
|
5087
|
+
| 'internal-error'
|
|
5088
|
+
| 'too-many-failed-attempts'
|
|
5089
|
+
| 'cancelled';
|
|
5246
5090
|
|
|
5247
|
-
|
|
5248
|
-
|
|
5091
|
+
/**
|
|
5092
|
+
* Fully masked card security code.
|
|
5093
|
+
*/
|
|
5094
|
+
security_code?: string;
|
|
5249
5095
|
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
*/
|
|
5255
|
-
attempt?: number;
|
|
5096
|
+
/**
|
|
5097
|
+
* Destination number or SIP URI of the call.
|
|
5098
|
+
*/
|
|
5099
|
+
to?: string;
|
|
5256
5100
|
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5101
|
+
/**
|
|
5102
|
+
* Token identifier returned for a successful tokenize transaction.
|
|
5103
|
+
*/
|
|
5104
|
+
token_id?: string;
|
|
5105
|
+
}
|
|
5261
5106
|
}
|
|
5262
5107
|
}
|
|
5263
5108
|
|
|
5264
|
-
export interface
|
|
5265
|
-
data?:
|
|
5109
|
+
export interface CallPaymentProgressWebhookEvent {
|
|
5110
|
+
data?: CallPaymentProgressWebhookEvent.Data;
|
|
5266
5111
|
}
|
|
5267
5112
|
|
|
5268
|
-
export namespace
|
|
5113
|
+
export namespace CallPaymentProgressWebhookEvent {
|
|
5269
5114
|
export interface Data {
|
|
5270
5115
|
/**
|
|
5271
5116
|
* Unique identifier for the event.
|
|
@@ -5273,31 +5118,17 @@ export namespace HostedNumberOrderEventWebhookEvent {
|
|
|
5273
5118
|
id?: string;
|
|
5274
5119
|
|
|
5275
5120
|
/**
|
|
5276
|
-
* The type of event being delivered.
|
|
5277
|
-
* orders where the numbers are already active on another Telnyx account.
|
|
5121
|
+
* The type of event being delivered.
|
|
5278
5122
|
*/
|
|
5279
|
-
event_type?:
|
|
5280
|
-
| 'messaging_hosted_numbers_orders.created'
|
|
5281
|
-
| 'messaging_hosted_numbers_orders.updated'
|
|
5282
|
-
| 'messaging_hosted_numbers_orders.deleted'
|
|
5283
|
-
| 'messaging_hosted_numbers_orders.internal_transfer_detected'
|
|
5284
|
-
| 'messaging_hosted_numbers_orders.internal_transfer_approval_requested'
|
|
5285
|
-
| 'messaging_hosted_numbers_orders.internal_transfer_approved'
|
|
5286
|
-
| 'messaging_hosted_numbers_orders.internal_transfer_rejected'
|
|
5287
|
-
| 'messaging_hosted_numbers_orders.internal_transfer_auto_approved';
|
|
5123
|
+
event_type?: 'call.payment.progress';
|
|
5288
5124
|
|
|
5289
5125
|
/**
|
|
5290
|
-
* ISO 8601
|
|
5126
|
+
* ISO 8601 datetime when the event occurred.
|
|
5291
5127
|
*/
|
|
5292
5128
|
occurred_at?: string;
|
|
5293
5129
|
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
* `approval_deadline` and `decision` are meaningful only for
|
|
5297
|
-
* `internal_transfer*\*` events.
|
|
5298
|
-
*/
|
|
5299
|
-
payload?: Data.Payload;
|
|
5300
|
-
|
|
5130
|
+
payload?: Data.Payload;
|
|
5131
|
+
|
|
5301
5132
|
/**
|
|
5302
5133
|
* Identifies the type of the resource.
|
|
5303
5134
|
*/
|
|
@@ -5305,170 +5136,209 @@ export namespace HostedNumberOrderEventWebhookEvent {
|
|
|
5305
5136
|
}
|
|
5306
5137
|
|
|
5307
5138
|
export namespace Data {
|
|
5308
|
-
/**
|
|
5309
|
-
* Payload delivered with every messaging*hosted_numbers_orders.\* event.
|
|
5310
|
-
* `approval_deadline` and `decision` are meaningful only for
|
|
5311
|
-
* `internal_transfer*\*` events.
|
|
5312
|
-
*/
|
|
5313
5139
|
export interface Payload {
|
|
5314
5140
|
/**
|
|
5315
|
-
*
|
|
5316
|
-
* auto-approval. Populated on internal-transfer events once an approval window has
|
|
5317
|
-
* been issued.
|
|
5141
|
+
* Current 1-based attempt number for the step.
|
|
5318
5142
|
*/
|
|
5319
|
-
|
|
5143
|
+
attempt?: number;
|
|
5320
5144
|
|
|
5321
5145
|
/**
|
|
5322
|
-
*
|
|
5323
|
-
* non-internal-transfer events.
|
|
5146
|
+
* Masked bank account number with only the last two digits visible.
|
|
5324
5147
|
*/
|
|
5325
|
-
|
|
5148
|
+
bank_account_number?: string;
|
|
5326
5149
|
|
|
5327
|
-
|
|
5150
|
+
/**
|
|
5151
|
+
* Bank account type, when available.
|
|
5152
|
+
*/
|
|
5153
|
+
bank_account_type?: string;
|
|
5328
5154
|
|
|
5329
5155
|
/**
|
|
5330
|
-
*
|
|
5156
|
+
* Bank routing number collected from the caller.
|
|
5331
5157
|
*/
|
|
5332
|
-
|
|
5158
|
+
bank_routing_number?: string;
|
|
5333
5159
|
|
|
5334
5160
|
/**
|
|
5335
|
-
*
|
|
5161
|
+
* Call ID used to issue commands via Call Control API.
|
|
5336
5162
|
*/
|
|
5337
|
-
|
|
5338
|
-
| 'pending'
|
|
5339
|
-
| 'provisioning'
|
|
5340
|
-
| 'successful'
|
|
5341
|
-
| 'failed'
|
|
5342
|
-
| 'deleted'
|
|
5343
|
-
| 'carrier_rejected'
|
|
5344
|
-
| 'compliance_review_failed'
|
|
5345
|
-
| 'incomplete_documentation'
|
|
5346
|
-
| 'incorrect_billing_information'
|
|
5347
|
-
| 'ineligible_carrier'
|
|
5348
|
-
| 'loa_file_invalid'
|
|
5349
|
-
| 'loa_file_successful';
|
|
5163
|
+
call_control_id?: string;
|
|
5350
5164
|
|
|
5351
5165
|
/**
|
|
5352
|
-
*
|
|
5166
|
+
* ID unique to the call leg.
|
|
5353
5167
|
*/
|
|
5354
|
-
|
|
5168
|
+
call_leg_id?: string;
|
|
5355
5169
|
|
|
5356
5170
|
/**
|
|
5357
|
-
*
|
|
5171
|
+
* ID shared by related call legs in the same call session.
|
|
5358
5172
|
*/
|
|
5359
|
-
|
|
5360
|
-
}
|
|
5173
|
+
call_session_id?: string;
|
|
5361
5174
|
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
*/
|
|
5367
|
-
status?:
|
|
5368
|
-
| 'deleted'
|
|
5369
|
-
| 'failed'
|
|
5370
|
-
| 'failed_activation'
|
|
5371
|
-
| 'failed_carrier_rejected'
|
|
5372
|
-
| 'failed_ineligible_carrier'
|
|
5373
|
-
| 'failed_number_already_hosted'
|
|
5374
|
-
| 'failed_number_not_found'
|
|
5375
|
-
| 'failed_ownership_verification'
|
|
5376
|
-
| 'failed_timeout'
|
|
5377
|
-
| 'ownership_successful'
|
|
5378
|
-
| 'pending'
|
|
5379
|
-
| 'provisioning'
|
|
5380
|
-
| 'successful';
|
|
5175
|
+
/**
|
|
5176
|
+
* Base64-encoded state received from the command.
|
|
5177
|
+
*/
|
|
5178
|
+
client_state?: string;
|
|
5381
5179
|
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5180
|
+
/**
|
|
5181
|
+
* Call Control App ID used in the call.
|
|
5182
|
+
*/
|
|
5183
|
+
connection_id?: string;
|
|
5184
|
+
|
|
5185
|
+
/**
|
|
5186
|
+
* Step-level error when payment collection fails.
|
|
5187
|
+
*/
|
|
5188
|
+
error_type?:
|
|
5189
|
+
| 'timeout'
|
|
5190
|
+
| 'invalid-card-number'
|
|
5191
|
+
| 'invalid-date'
|
|
5192
|
+
| 'invalid-security-code'
|
|
5193
|
+
| 'invalid-postal-code'
|
|
5194
|
+
| 'invalid-bank-routing-number'
|
|
5195
|
+
| 'invalid-bank-account-number'
|
|
5196
|
+
| 'input-matching-failed';
|
|
5197
|
+
|
|
5198
|
+
/**
|
|
5199
|
+
* Card expiration date in MMYY format.
|
|
5200
|
+
*/
|
|
5201
|
+
expiration_date?: string;
|
|
5202
|
+
|
|
5203
|
+
/**
|
|
5204
|
+
* Number or SIP URI placing the call.
|
|
5205
|
+
*/
|
|
5206
|
+
from?: string;
|
|
5207
|
+
|
|
5208
|
+
/**
|
|
5209
|
+
* Masked card number with only the last four digits visible.
|
|
5210
|
+
*/
|
|
5211
|
+
payment_card_number?: string;
|
|
5212
|
+
|
|
5213
|
+
/**
|
|
5214
|
+
* Billing postal code collected from the caller.
|
|
5215
|
+
*/
|
|
5216
|
+
payment_card_postal_code?: string;
|
|
5217
|
+
|
|
5218
|
+
/**
|
|
5219
|
+
* Detected card type. Present only for the recognized card brands listed below.
|
|
5220
|
+
*/
|
|
5221
|
+
payment_card_type?: 'visa' | 'mastercard' | 'amex' | 'discover' | 'diners-club' | 'jcb';
|
|
5222
|
+
|
|
5223
|
+
/**
|
|
5224
|
+
* Name of the Pay connector used.
|
|
5225
|
+
*/
|
|
5226
|
+
payment_connector?: string;
|
|
5227
|
+
|
|
5228
|
+
/**
|
|
5229
|
+
* Payment method being collected.
|
|
5230
|
+
*/
|
|
5231
|
+
payment_method?: 'credit-card' | 'ach-debit';
|
|
5232
|
+
|
|
5233
|
+
/**
|
|
5234
|
+
* Status of the current payment step.
|
|
5235
|
+
*/
|
|
5236
|
+
payment_status?: 'completed' | 'failed' | 'processing';
|
|
5237
|
+
|
|
5238
|
+
/**
|
|
5239
|
+
* Current payment collection or processing step.
|
|
5240
|
+
*/
|
|
5241
|
+
payment_step?:
|
|
5242
|
+
| 'payment-card-number'
|
|
5243
|
+
| 'expiration-date'
|
|
5244
|
+
| 'postal-code'
|
|
5245
|
+
| 'security-code'
|
|
5246
|
+
| 'bank-routing-number'
|
|
5247
|
+
| 'bank-account-number'
|
|
5248
|
+
| 'payment-processing';
|
|
5249
|
+
|
|
5250
|
+
/**
|
|
5251
|
+
* Fully masked card security code.
|
|
5252
|
+
*/
|
|
5253
|
+
security_code?: string;
|
|
5254
|
+
|
|
5255
|
+
/**
|
|
5256
|
+
* Destination number or SIP URI of the call.
|
|
5257
|
+
*/
|
|
5258
|
+
to?: string;
|
|
5387
5259
|
}
|
|
5388
5260
|
}
|
|
5389
5261
|
}
|
|
5390
5262
|
|
|
5391
|
-
export interface
|
|
5392
|
-
data?:
|
|
5263
|
+
export interface CallPlaybackEndedWebhookEvent {
|
|
5264
|
+
data?: CallPlaybackEnded;
|
|
5393
5265
|
}
|
|
5394
5266
|
|
|
5395
|
-
export
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
* Identifies the type of resource.
|
|
5399
|
-
*/
|
|
5400
|
-
id?: string;
|
|
5267
|
+
export interface CallPlaybackStartedWebhookEvent {
|
|
5268
|
+
data?: CallPlaybackStarted;
|
|
5269
|
+
}
|
|
5401
5270
|
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
event_type?: 'message.received';
|
|
5271
|
+
export interface CallRecordingErrorWebhookEvent {
|
|
5272
|
+
data?: CallRecordingError;
|
|
5273
|
+
}
|
|
5406
5274
|
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
occurred_at?: string;
|
|
5275
|
+
export interface CallRecordingSavedWebhookEvent {
|
|
5276
|
+
data?: CallRecordingSaved;
|
|
5277
|
+
}
|
|
5411
5278
|
|
|
5412
|
-
|
|
5279
|
+
export interface CallRecordingTranscriptionSavedWebhookEvent {
|
|
5280
|
+
data?: CallRecordingTranscriptionSaved;
|
|
5281
|
+
}
|
|
5413
5282
|
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
*/
|
|
5417
|
-
record_type?: 'event';
|
|
5418
|
-
}
|
|
5283
|
+
export interface CallReferCompletedWebhookEvent {
|
|
5284
|
+
data?: CallReferCompleted;
|
|
5419
5285
|
}
|
|
5420
5286
|
|
|
5421
|
-
export interface
|
|
5422
|
-
data?:
|
|
5287
|
+
export interface CallReferFailedWebhookEvent {
|
|
5288
|
+
data?: CallReferFailed;
|
|
5423
5289
|
}
|
|
5424
5290
|
|
|
5425
|
-
export interface
|
|
5426
|
-
data?:
|
|
5291
|
+
export interface CallReferStartedWebhookEvent {
|
|
5292
|
+
data?: CallReferStarted;
|
|
5427
5293
|
}
|
|
5428
5294
|
|
|
5429
|
-
export interface
|
|
5430
|
-
data?:
|
|
5295
|
+
export interface CallSiprecFailedWebhookEvent {
|
|
5296
|
+
data?: CallSiprecFailed;
|
|
5431
5297
|
}
|
|
5432
5298
|
|
|
5433
|
-
export interface
|
|
5434
|
-
data?:
|
|
5299
|
+
export interface CallSiprecStartedWebhookEvent {
|
|
5300
|
+
data?: CallSiprecStarted;
|
|
5435
5301
|
}
|
|
5436
5302
|
|
|
5437
|
-
export interface
|
|
5438
|
-
data?:
|
|
5303
|
+
export interface CallSiprecStoppedWebhookEvent {
|
|
5304
|
+
data?: CallSiprecStopped;
|
|
5439
5305
|
}
|
|
5440
5306
|
|
|
5441
|
-
export interface
|
|
5442
|
-
data?:
|
|
5307
|
+
export interface CallSpeakEndedWebhookEvent {
|
|
5308
|
+
data?: CallSpeakEnded;
|
|
5443
5309
|
}
|
|
5444
5310
|
|
|
5445
|
-
export interface
|
|
5446
|
-
data?:
|
|
5311
|
+
export interface CallSpeakStartedWebhookEvent {
|
|
5312
|
+
data?: CallSpeakStarted;
|
|
5447
5313
|
}
|
|
5448
5314
|
|
|
5449
|
-
export interface
|
|
5450
|
-
data?:
|
|
5315
|
+
export interface CallStreamingFailedWebhookEvent {
|
|
5316
|
+
data?: CallStreamingFailed;
|
|
5451
5317
|
}
|
|
5452
5318
|
|
|
5453
|
-
export interface
|
|
5454
|
-
data?:
|
|
5319
|
+
export interface CallStreamingStartedWebhookEvent {
|
|
5320
|
+
data?: CallStreamingStarted;
|
|
5455
5321
|
}
|
|
5456
5322
|
|
|
5457
|
-
export interface
|
|
5458
|
-
data?:
|
|
5323
|
+
export interface CallStreamingStoppedWebhookEvent {
|
|
5324
|
+
data?: CallStreamingStopped;
|
|
5459
5325
|
}
|
|
5460
5326
|
|
|
5461
|
-
export
|
|
5327
|
+
export interface CallUnholdWebhookEvent {
|
|
5328
|
+
data?: CallUnholdWebhookEvent.Data;
|
|
5329
|
+
}
|
|
5330
|
+
|
|
5331
|
+
export namespace CallUnholdWebhookEvent {
|
|
5462
5332
|
export interface Data {
|
|
5463
5333
|
/**
|
|
5464
|
-
*
|
|
5334
|
+
* Identifies the type of resource.
|
|
5465
5335
|
*/
|
|
5466
5336
|
id?: string;
|
|
5467
5337
|
|
|
5468
5338
|
/**
|
|
5469
5339
|
* The type of event being delivered.
|
|
5470
5340
|
*/
|
|
5471
|
-
event_type?: 'call.
|
|
5341
|
+
event_type?: 'call.unhold';
|
|
5472
5342
|
|
|
5473
5343
|
/**
|
|
5474
5344
|
* ISO 8601 datetime of when the event occurred.
|
|
@@ -5485,16 +5355,6 @@ export namespace CallCostWebhookEvent {
|
|
|
5485
5355
|
|
|
5486
5356
|
export namespace Data {
|
|
5487
5357
|
export interface Payload {
|
|
5488
|
-
/**
|
|
5489
|
-
* The longest billed duration across all cost parts, in seconds.
|
|
5490
|
-
*/
|
|
5491
|
-
billed_duration_secs?: number | null;
|
|
5492
|
-
|
|
5493
|
-
/**
|
|
5494
|
-
* Identifies the billing group associated with the call.
|
|
5495
|
-
*/
|
|
5496
|
-
billing_group_id?: string | null;
|
|
5497
|
-
|
|
5498
5358
|
/**
|
|
5499
5359
|
* Call ID used to issue commands via Call Control API.
|
|
5500
5360
|
*/
|
|
@@ -5513,7 +5373,7 @@ export namespace CallCostWebhookEvent {
|
|
|
5513
5373
|
call_session_id?: string;
|
|
5514
5374
|
|
|
5515
5375
|
/**
|
|
5516
|
-
* State received from a command.
|
|
5376
|
+
* State received from a command.
|
|
5517
5377
|
*/
|
|
5518
5378
|
client_state?: string;
|
|
5519
5379
|
|
|
@@ -5523,80 +5383,125 @@ export namespace CallCostWebhookEvent {
|
|
|
5523
5383
|
connection_id?: string;
|
|
5524
5384
|
|
|
5525
5385
|
/**
|
|
5526
|
-
*
|
|
5527
|
-
*/
|
|
5528
|
-
cost_parts?: Array<Payload.CostPart>;
|
|
5529
|
-
|
|
5530
|
-
/**
|
|
5531
|
-
* ISO 8601 datetime of when the event occurred.
|
|
5532
|
-
*/
|
|
5533
|
-
occurred_at?: string;
|
|
5534
|
-
|
|
5535
|
-
/**
|
|
5536
|
-
* The status of the cost calculation (`success` or `error`).
|
|
5386
|
+
* Number or SIP URI placing the call.
|
|
5537
5387
|
*/
|
|
5538
|
-
|
|
5388
|
+
from?: string;
|
|
5539
5389
|
|
|
5540
5390
|
/**
|
|
5541
|
-
*
|
|
5391
|
+
* Destination number or SIP URI of the call.
|
|
5542
5392
|
*/
|
|
5543
|
-
|
|
5393
|
+
to?: string;
|
|
5544
5394
|
}
|
|
5395
|
+
}
|
|
5396
|
+
}
|
|
5545
5397
|
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
* The billed duration in seconds for this part of the call.
|
|
5550
|
-
*/
|
|
5551
|
-
billed_duration_secs?: number;
|
|
5398
|
+
export interface ConferenceCreatedWebhookEvent {
|
|
5399
|
+
data?: ConferenceCreated;
|
|
5400
|
+
}
|
|
5552
5401
|
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
* values may appear as products evolve.
|
|
5557
|
-
*/
|
|
5558
|
-
call_part?: string;
|
|
5402
|
+
export interface ConferenceEndedWebhookEvent {
|
|
5403
|
+
data?: ConferenceEnded;
|
|
5404
|
+
}
|
|
5559
5405
|
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
cost?: string;
|
|
5406
|
+
export interface ConferenceParticipantJoinedWebhookEvent {
|
|
5407
|
+
data?: ConferenceParticipantJoined;
|
|
5408
|
+
}
|
|
5564
5409
|
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
currency?: string;
|
|
5410
|
+
export interface ConferenceParticipantLeftWebhookEvent {
|
|
5411
|
+
data?: ConferenceParticipantLeft;
|
|
5412
|
+
}
|
|
5569
5413
|
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5414
|
+
export interface ConferenceParticipantPlaybackEndedWebhookEvent {
|
|
5415
|
+
data?: ConferenceParticipantPlaybackEnded;
|
|
5416
|
+
}
|
|
5417
|
+
|
|
5418
|
+
export interface ConferenceParticipantPlaybackStartedWebhookEvent {
|
|
5419
|
+
data?: ConferenceParticipantPlaybackStarted;
|
|
5420
|
+
}
|
|
5421
|
+
|
|
5422
|
+
export interface ConferenceParticipantSpeakEndedWebhookEvent {
|
|
5423
|
+
data?: ConferenceParticipantSpeakEnded;
|
|
5424
|
+
}
|
|
5425
|
+
|
|
5426
|
+
export interface ConferenceParticipantSpeakStartedWebhookEvent {
|
|
5427
|
+
data?: ConferenceParticipantSpeakStarted;
|
|
5428
|
+
}
|
|
5429
|
+
|
|
5430
|
+
export interface ConferencePlaybackEndedWebhookEvent {
|
|
5431
|
+
data?: ConferencePlaybackEnded;
|
|
5432
|
+
}
|
|
5433
|
+
|
|
5434
|
+
export interface ConferencePlaybackStartedWebhookEvent {
|
|
5435
|
+
data?: ConferencePlaybackStarted;
|
|
5436
|
+
}
|
|
5437
|
+
|
|
5438
|
+
export interface ConferenceRecordingSavedWebhookEvent {
|
|
5439
|
+
data?: ConferenceRecordingSaved;
|
|
5440
|
+
}
|
|
5441
|
+
|
|
5442
|
+
export interface ConferenceSpeakEndedWebhookEvent {
|
|
5443
|
+
data?: ConferenceSpeakEnded;
|
|
5444
|
+
}
|
|
5445
|
+
|
|
5446
|
+
export interface ConferenceSpeakStartedWebhookEvent {
|
|
5447
|
+
data?: ConferenceSpeakStarted;
|
|
5448
|
+
}
|
|
5449
|
+
|
|
5450
|
+
export interface DeliveryUpdateWebhookEvent {
|
|
5451
|
+
data?: OutboundMessage;
|
|
5452
|
+
|
|
5453
|
+
meta?: DeliveryUpdateWebhookEvent.Meta;
|
|
5454
|
+
}
|
|
5455
|
+
|
|
5456
|
+
export namespace DeliveryUpdateWebhookEvent {
|
|
5457
|
+
export interface Meta {
|
|
5458
|
+
/**
|
|
5459
|
+
* Number of attempts to deliver the webhook event.
|
|
5460
|
+
*/
|
|
5461
|
+
attempt?: number;
|
|
5462
|
+
|
|
5463
|
+
/**
|
|
5464
|
+
* The webhook URL the event was delivered to.
|
|
5465
|
+
*/
|
|
5466
|
+
delivered_to?: string;
|
|
5576
5467
|
}
|
|
5577
5468
|
}
|
|
5578
5469
|
|
|
5579
|
-
export interface
|
|
5580
|
-
data?:
|
|
5470
|
+
export interface HostedNumberOrderEventWebhookEvent {
|
|
5471
|
+
data?: HostedNumberOrderEventWebhookEvent.Data;
|
|
5581
5472
|
}
|
|
5582
5473
|
|
|
5583
|
-
export namespace
|
|
5474
|
+
export namespace HostedNumberOrderEventWebhookEvent {
|
|
5584
5475
|
export interface Data {
|
|
5585
5476
|
/**
|
|
5586
|
-
*
|
|
5477
|
+
* Unique identifier for the event.
|
|
5587
5478
|
*/
|
|
5588
5479
|
id?: string;
|
|
5589
5480
|
|
|
5590
5481
|
/**
|
|
5591
|
-
* The type of event being delivered.
|
|
5482
|
+
* The type of event being delivered. Internal transfer events are only emitted for
|
|
5483
|
+
* orders where the numbers are already active on another Telnyx account.
|
|
5592
5484
|
*/
|
|
5593
|
-
event_type?:
|
|
5485
|
+
event_type?:
|
|
5486
|
+
| 'messaging_hosted_numbers_orders.created'
|
|
5487
|
+
| 'messaging_hosted_numbers_orders.updated'
|
|
5488
|
+
| 'messaging_hosted_numbers_orders.deleted'
|
|
5489
|
+
| 'messaging_hosted_numbers_orders.internal_transfer_detected'
|
|
5490
|
+
| 'messaging_hosted_numbers_orders.internal_transfer_approval_requested'
|
|
5491
|
+
| 'messaging_hosted_numbers_orders.internal_transfer_approved'
|
|
5492
|
+
| 'messaging_hosted_numbers_orders.internal_transfer_rejected'
|
|
5493
|
+
| 'messaging_hosted_numbers_orders.internal_transfer_auto_approved';
|
|
5594
5494
|
|
|
5595
5495
|
/**
|
|
5596
|
-
* ISO 8601
|
|
5496
|
+
* ISO 8601 formatted date indicating when the event was generated.
|
|
5597
5497
|
*/
|
|
5598
5498
|
occurred_at?: string;
|
|
5599
5499
|
|
|
5500
|
+
/**
|
|
5501
|
+
* Payload delivered with every messaging*hosted_numbers_orders.\* event.
|
|
5502
|
+
* `approval_deadline` and `decision` are meaningful only for
|
|
5503
|
+
* `internal_transfer*\*` events.
|
|
5504
|
+
*/
|
|
5600
5505
|
payload?: Data.Payload;
|
|
5601
5506
|
|
|
5602
5507
|
/**
|
|
@@ -5606,49 +5511,94 @@ export namespace CallDeepfakeDetectionErrorWebhookEvent {
|
|
|
5606
5511
|
}
|
|
5607
5512
|
|
|
5608
5513
|
export namespace Data {
|
|
5514
|
+
/**
|
|
5515
|
+
* Payload delivered with every messaging*hosted_numbers_orders.\* event.
|
|
5516
|
+
* `approval_deadline` and `decision` are meaningful only for
|
|
5517
|
+
* `internal_transfer*\*` events.
|
|
5518
|
+
*/
|
|
5609
5519
|
export interface Payload {
|
|
5610
5520
|
/**
|
|
5611
|
-
*
|
|
5521
|
+
* Unix timestamp (seconds) by which the losing organization must respond before
|
|
5522
|
+
* auto-approval. Populated on internal-transfer events once an approval window has
|
|
5523
|
+
* been issued.
|
|
5612
5524
|
*/
|
|
5613
|
-
|
|
5525
|
+
approval_deadline?: number | null;
|
|
5614
5526
|
|
|
5615
5527
|
/**
|
|
5616
|
-
*
|
|
5528
|
+
* Approval decision for the internal transfer. Defaults to `pending` for
|
|
5529
|
+
* non-internal-transfer events.
|
|
5617
5530
|
*/
|
|
5618
|
-
|
|
5531
|
+
decision?: 'pending' | 'approved' | 'rejected';
|
|
5532
|
+
|
|
5533
|
+
numbers?: Array<Payload.Number>;
|
|
5619
5534
|
|
|
5620
5535
|
/**
|
|
5621
|
-
* ID
|
|
5622
|
-
* events. Call session is a group of related call legs that logically belong to
|
|
5623
|
-
* the same phone call, e.g. an inbound and outbound leg of a transferred call.
|
|
5536
|
+
* The ID of the hosted number order.
|
|
5624
5537
|
*/
|
|
5625
|
-
|
|
5538
|
+
order_id?: string;
|
|
5626
5539
|
|
|
5627
5540
|
/**
|
|
5628
|
-
*
|
|
5541
|
+
* Current status of the order.
|
|
5629
5542
|
*/
|
|
5630
|
-
|
|
5543
|
+
order_status?:
|
|
5544
|
+
| 'pending'
|
|
5545
|
+
| 'provisioning'
|
|
5546
|
+
| 'successful'
|
|
5547
|
+
| 'failed'
|
|
5548
|
+
| 'deleted'
|
|
5549
|
+
| 'carrier_rejected'
|
|
5550
|
+
| 'compliance_review_failed'
|
|
5551
|
+
| 'incomplete_documentation'
|
|
5552
|
+
| 'incorrect_billing_information'
|
|
5553
|
+
| 'ineligible_carrier'
|
|
5554
|
+
| 'loa_file_invalid'
|
|
5555
|
+
| 'loa_file_successful';
|
|
5631
5556
|
|
|
5632
5557
|
/**
|
|
5633
|
-
*
|
|
5558
|
+
* The messaging profile associated with the order.
|
|
5634
5559
|
*/
|
|
5635
|
-
|
|
5560
|
+
profile_id?: string;
|
|
5636
5561
|
|
|
5637
5562
|
/**
|
|
5638
|
-
* The
|
|
5639
|
-
* 'rtp_timeout' = no RTP audio received, 'dfd_connection_error'/'dfd_stream_error'
|
|
5640
|
-
* = service connectivity issues.
|
|
5563
|
+
* The organization that owns the order.
|
|
5641
5564
|
*/
|
|
5642
|
-
|
|
5565
|
+
user_id?: string;
|
|
5566
|
+
}
|
|
5567
|
+
|
|
5568
|
+
export namespace Payload {
|
|
5569
|
+
export interface Number {
|
|
5570
|
+
/**
|
|
5571
|
+
* Current status of this phone number within the order.
|
|
5572
|
+
*/
|
|
5573
|
+
status?:
|
|
5574
|
+
| 'deleted'
|
|
5575
|
+
| 'failed'
|
|
5576
|
+
| 'failed_activation'
|
|
5577
|
+
| 'failed_carrier_rejected'
|
|
5578
|
+
| 'failed_ineligible_carrier'
|
|
5579
|
+
| 'failed_number_already_hosted'
|
|
5580
|
+
| 'failed_number_not_found'
|
|
5581
|
+
| 'failed_ownership_verification'
|
|
5582
|
+
| 'failed_timeout'
|
|
5583
|
+
| 'ownership_successful'
|
|
5584
|
+
| 'pending'
|
|
5585
|
+
| 'provisioning'
|
|
5586
|
+
| 'successful';
|
|
5587
|
+
|
|
5588
|
+
/**
|
|
5589
|
+
* Phone number in +E.164 format.
|
|
5590
|
+
*/
|
|
5591
|
+
value?: string;
|
|
5592
|
+
}
|
|
5643
5593
|
}
|
|
5644
5594
|
}
|
|
5645
5595
|
}
|
|
5646
5596
|
|
|
5647
|
-
export interface
|
|
5648
|
-
data?:
|
|
5597
|
+
export interface InboundMessageWebhookEvent {
|
|
5598
|
+
data?: InboundMessageWebhookEvent.Data;
|
|
5649
5599
|
}
|
|
5650
5600
|
|
|
5651
|
-
export namespace
|
|
5601
|
+
export namespace InboundMessageWebhookEvent {
|
|
5652
5602
|
export interface Data {
|
|
5653
5603
|
/**
|
|
5654
5604
|
* Identifies the type of resource.
|
|
@@ -5658,10 +5608,10 @@ export namespace CallDeepfakeDetectionResultWebhookEvent {
|
|
|
5658
5608
|
/**
|
|
5659
5609
|
* The type of event being delivered.
|
|
5660
5610
|
*/
|
|
5661
|
-
event_type?: '
|
|
5611
|
+
event_type?: 'message.received';
|
|
5662
5612
|
|
|
5663
5613
|
/**
|
|
5664
|
-
* ISO 8601
|
|
5614
|
+
* ISO 8601 formatted date indicating when the resource was created.
|
|
5665
5615
|
*/
|
|
5666
5616
|
occurred_at?: string;
|
|
5667
5617
|
|
|
@@ -5676,416 +5626,524 @@ export namespace CallDeepfakeDetectionResultWebhookEvent {
|
|
|
5676
5626
|
export namespace Data {
|
|
5677
5627
|
export interface Payload {
|
|
5678
5628
|
/**
|
|
5679
|
-
*
|
|
5629
|
+
* Identifies the type of resource.
|
|
5680
5630
|
*/
|
|
5681
|
-
|
|
5631
|
+
id?: string;
|
|
5632
|
+
|
|
5633
|
+
cc?: Array<Payload.Cc>;
|
|
5682
5634
|
|
|
5683
5635
|
/**
|
|
5684
|
-
*
|
|
5636
|
+
* Not used for inbound messages.
|
|
5685
5637
|
*/
|
|
5686
|
-
|
|
5638
|
+
completed_at?: string | null;
|
|
5639
|
+
|
|
5640
|
+
cost?: Payload.Cost | null;
|
|
5687
5641
|
|
|
5688
5642
|
/**
|
|
5689
|
-
*
|
|
5690
|
-
* events. Call session is a group of related call legs that logically belong to
|
|
5691
|
-
* the same phone call, e.g. an inbound and outbound leg of a transferred call.
|
|
5643
|
+
* Detailed breakdown of the message cost components.
|
|
5692
5644
|
*/
|
|
5693
|
-
|
|
5645
|
+
cost_breakdown?: Payload.CostBreakdown | null;
|
|
5694
5646
|
|
|
5695
5647
|
/**
|
|
5696
|
-
*
|
|
5648
|
+
* The direction of the message. Inbound messages are sent to you whereas outbound
|
|
5649
|
+
* messages are sent from you.
|
|
5697
5650
|
*/
|
|
5698
|
-
|
|
5651
|
+
direction?: 'inbound';
|
|
5699
5652
|
|
|
5700
5653
|
/**
|
|
5701
|
-
*
|
|
5654
|
+
* Encoding scheme used for the message body.
|
|
5702
5655
|
*/
|
|
5703
|
-
|
|
5656
|
+
encoding?: string;
|
|
5704
5657
|
|
|
5705
5658
|
/**
|
|
5706
|
-
*
|
|
5707
|
-
*
|
|
5708
|
-
* throughout; low consistency suggests mixed signals. Null for silence_timeout.
|
|
5659
|
+
* These errors may point at addressees when referring to unsuccessful/unconfirmed
|
|
5660
|
+
* delivery statuses.
|
|
5709
5661
|
*/
|
|
5710
|
-
|
|
5662
|
+
errors?: Array<MessagesAPI.MessagingError0b38e7044b>;
|
|
5663
|
+
|
|
5664
|
+
from?: Payload.From;
|
|
5665
|
+
|
|
5666
|
+
media?: Array<Payload.Media>;
|
|
5711
5667
|
|
|
5712
5668
|
/**
|
|
5713
|
-
*
|
|
5714
|
-
* 'silence_timeout' = no analyzable speech detected before timeout.
|
|
5669
|
+
* Unique identifier for a messaging profile.
|
|
5715
5670
|
*/
|
|
5716
|
-
|
|
5671
|
+
messaging_profile_id?: string;
|
|
5717
5672
|
|
|
5718
5673
|
/**
|
|
5719
|
-
*
|
|
5720
|
-
* (likely deepfake). Based on the model's aggregated confidence across analyzed
|
|
5721
|
-
* audio frames. Null for silence_timeout.
|
|
5674
|
+
* The number of characters in the message text
|
|
5722
5675
|
*/
|
|
5723
|
-
|
|
5724
|
-
}
|
|
5725
|
-
}
|
|
5726
|
-
}
|
|
5727
|
-
|
|
5728
|
-
export interface CallDtmfReceivedWebhookEvent {
|
|
5729
|
-
data?: CallDtmfReceived;
|
|
5730
|
-
}
|
|
5676
|
+
num_chars?: number;
|
|
5731
5677
|
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5678
|
+
/**
|
|
5679
|
+
* Unique identifier for a messaging profile.
|
|
5680
|
+
*/
|
|
5681
|
+
organization_id?: string;
|
|
5735
5682
|
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5683
|
+
/**
|
|
5684
|
+
* Number of parts into which the message's body must be split.
|
|
5685
|
+
*/
|
|
5686
|
+
parts?: number;
|
|
5739
5687
|
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5688
|
+
/**
|
|
5689
|
+
* ISO 8601 formatted date indicating when the message request was received.
|
|
5690
|
+
*/
|
|
5691
|
+
received_at?: string;
|
|
5743
5692
|
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5693
|
+
/**
|
|
5694
|
+
* Identifies the type of the resource.
|
|
5695
|
+
*/
|
|
5696
|
+
record_type?: 'message';
|
|
5747
5697
|
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5698
|
+
/**
|
|
5699
|
+
* Not used for inbound messages.
|
|
5700
|
+
*/
|
|
5701
|
+
sent_at?: string | null;
|
|
5751
5702
|
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5703
|
+
/**
|
|
5704
|
+
* Message subject.
|
|
5705
|
+
*/
|
|
5706
|
+
subject?: string | null;
|
|
5755
5707
|
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
*/
|
|
5761
|
-
id?: string;
|
|
5708
|
+
/**
|
|
5709
|
+
* Tags associated with the resource.
|
|
5710
|
+
*/
|
|
5711
|
+
tags?: Array<string>;
|
|
5762
5712
|
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
/**
|
|
5769
|
-
* ISO 8601 datetime of when the event occurred.
|
|
5770
|
-
*/
|
|
5771
|
-
occurred_at?: string;
|
|
5772
|
-
|
|
5773
|
-
payload?: Data.Payload;
|
|
5774
|
-
|
|
5775
|
-
/**
|
|
5776
|
-
* Identifies the type of the resource.
|
|
5777
|
-
*/
|
|
5778
|
-
record_type?: 'event';
|
|
5779
|
-
}
|
|
5713
|
+
/**
|
|
5714
|
+
* Indicates whether the TCR campaign is billable.
|
|
5715
|
+
*/
|
|
5716
|
+
tcr_campaign_billable?: boolean;
|
|
5780
5717
|
|
|
5781
|
-
export namespace Data {
|
|
5782
|
-
export interface Payload {
|
|
5783
5718
|
/**
|
|
5784
|
-
*
|
|
5719
|
+
* The Campaign Registry (TCR) campaign ID associated with the message.
|
|
5785
5720
|
*/
|
|
5786
|
-
|
|
5721
|
+
tcr_campaign_id?: string | null;
|
|
5787
5722
|
|
|
5788
5723
|
/**
|
|
5789
|
-
*
|
|
5724
|
+
* The registration status of the TCR campaign.
|
|
5790
5725
|
*/
|
|
5791
|
-
|
|
5726
|
+
tcr_campaign_registered?: string | null;
|
|
5792
5727
|
|
|
5793
5728
|
/**
|
|
5794
|
-
*
|
|
5795
|
-
*
|
|
5796
|
-
*
|
|
5729
|
+
* Message body (i.e., content) as a non-empty string.
|
|
5730
|
+
*
|
|
5731
|
+
* **Required for SMS**
|
|
5797
5732
|
*/
|
|
5798
|
-
|
|
5733
|
+
text?: string;
|
|
5734
|
+
|
|
5735
|
+
to?: Array<Payload.To>;
|
|
5799
5736
|
|
|
5800
5737
|
/**
|
|
5801
|
-
*
|
|
5738
|
+
* The type of message. This value can be either 'sms' or 'mms'.
|
|
5802
5739
|
*/
|
|
5803
|
-
|
|
5740
|
+
type?: 'SMS' | 'MMS';
|
|
5804
5741
|
|
|
5805
5742
|
/**
|
|
5806
|
-
*
|
|
5743
|
+
* Not used for inbound messages.
|
|
5807
5744
|
*/
|
|
5808
|
-
|
|
5745
|
+
valid_until?: string | null;
|
|
5809
5746
|
|
|
5810
5747
|
/**
|
|
5811
|
-
*
|
|
5748
|
+
* The failover URL where webhooks related to this message will be sent if sending
|
|
5749
|
+
* to the primary URL fails.
|
|
5812
5750
|
*/
|
|
5813
|
-
|
|
5751
|
+
webhook_failover_url?: string | null;
|
|
5814
5752
|
|
|
5815
5753
|
/**
|
|
5816
|
-
*
|
|
5754
|
+
* The URL where webhooks related to this message will be sent.
|
|
5817
5755
|
*/
|
|
5818
|
-
|
|
5756
|
+
webhook_url?: string | null;
|
|
5819
5757
|
}
|
|
5820
|
-
}
|
|
5821
|
-
}
|
|
5822
5758
|
|
|
5823
|
-
export
|
|
5824
|
-
|
|
5825
|
-
|
|
5759
|
+
export namespace Payload {
|
|
5760
|
+
export interface Cc {
|
|
5761
|
+
/**
|
|
5762
|
+
* The carrier of the receiver.
|
|
5763
|
+
*/
|
|
5764
|
+
carrier?: string;
|
|
5826
5765
|
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5766
|
+
/**
|
|
5767
|
+
* The line-type of the receiver.
|
|
5768
|
+
*/
|
|
5769
|
+
line_type?: 'Wireline' | 'Wireless' | 'VoWiFi' | 'VoIP' | 'Pre-Paid Wireless' | '';
|
|
5830
5770
|
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5771
|
+
/**
|
|
5772
|
+
* Receiving address (+E.164 formatted phone number or short code).
|
|
5773
|
+
*/
|
|
5774
|
+
phone_number?: string;
|
|
5834
5775
|
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5776
|
+
status?:
|
|
5777
|
+
| 'queued'
|
|
5778
|
+
| 'sending'
|
|
5779
|
+
| 'sent'
|
|
5780
|
+
| 'delivered'
|
|
5781
|
+
| 'sending_failed'
|
|
5782
|
+
| 'delivery_failed'
|
|
5783
|
+
| 'delivery_unconfirmed';
|
|
5784
|
+
}
|
|
5838
5785
|
|
|
5839
|
-
export interface
|
|
5840
|
-
|
|
5841
|
-
|
|
5786
|
+
export interface Cost {
|
|
5787
|
+
/**
|
|
5788
|
+
* The amount deducted from your account.
|
|
5789
|
+
*/
|
|
5790
|
+
amount?: string;
|
|
5842
5791
|
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5792
|
+
/**
|
|
5793
|
+
* The ISO 4217 currency identifier.
|
|
5794
|
+
*/
|
|
5795
|
+
currency?: string;
|
|
5796
|
+
}
|
|
5846
5797
|
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5798
|
+
/**
|
|
5799
|
+
* Detailed breakdown of the message cost components.
|
|
5800
|
+
*/
|
|
5801
|
+
export interface CostBreakdown {
|
|
5802
|
+
carrier_fee?: CostBreakdown.CarrierFee;
|
|
5850
5803
|
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
}
|
|
5804
|
+
rate?: CostBreakdown.Rate;
|
|
5805
|
+
}
|
|
5854
5806
|
|
|
5855
|
-
export
|
|
5856
|
-
|
|
5857
|
-
|
|
5807
|
+
export namespace CostBreakdown {
|
|
5808
|
+
export interface CarrierFee {
|
|
5809
|
+
/**
|
|
5810
|
+
* The carrier fee amount.
|
|
5811
|
+
*/
|
|
5812
|
+
amount?: string;
|
|
5813
|
+
|
|
5814
|
+
/**
|
|
5815
|
+
* The ISO 4217 currency identifier.
|
|
5816
|
+
*/
|
|
5817
|
+
currency?: string;
|
|
5818
|
+
}
|
|
5819
|
+
|
|
5820
|
+
export interface Rate {
|
|
5821
|
+
/**
|
|
5822
|
+
* The rate amount applied.
|
|
5823
|
+
*/
|
|
5824
|
+
amount?: string;
|
|
5825
|
+
|
|
5826
|
+
/**
|
|
5827
|
+
* The ISO 4217 currency identifier.
|
|
5828
|
+
*/
|
|
5829
|
+
currency?: string;
|
|
5830
|
+
}
|
|
5831
|
+
}
|
|
5858
5832
|
|
|
5859
|
-
export interface
|
|
5860
|
-
|
|
5861
|
-
|
|
5833
|
+
export interface From {
|
|
5834
|
+
/**
|
|
5835
|
+
* The carrier of the sender.
|
|
5836
|
+
*/
|
|
5837
|
+
carrier?: string;
|
|
5862
5838
|
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5839
|
+
/**
|
|
5840
|
+
* The line-type of the sender.
|
|
5841
|
+
*/
|
|
5842
|
+
line_type?: 'Wireline' | 'Wireless' | 'VoWiFi' | 'VoIP' | 'Pre-Paid Wireless' | '';
|
|
5866
5843
|
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5844
|
+
/**
|
|
5845
|
+
* Sending address (+E.164 formatted phone number, alphanumeric sender ID, or short
|
|
5846
|
+
* code).
|
|
5847
|
+
*/
|
|
5848
|
+
phone_number?: string;
|
|
5870
5849
|
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
}
|
|
5850
|
+
status?: 'received' | 'delivered';
|
|
5851
|
+
}
|
|
5874
5852
|
|
|
5875
|
-
export interface
|
|
5876
|
-
|
|
5877
|
-
|
|
5853
|
+
export interface Media {
|
|
5854
|
+
/**
|
|
5855
|
+
* The MIME type of the requested media.
|
|
5856
|
+
*/
|
|
5857
|
+
content_type?: string;
|
|
5878
5858
|
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
|
|
5859
|
+
/**
|
|
5860
|
+
* The SHA256 hash of the requested media.
|
|
5861
|
+
*/
|
|
5862
|
+
hash_sha256?: string;
|
|
5882
5863
|
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5864
|
+
/**
|
|
5865
|
+
* The size of the requested media.
|
|
5866
|
+
*/
|
|
5867
|
+
size?: number;
|
|
5886
5868
|
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
|
|
5869
|
+
/**
|
|
5870
|
+
* The url of the media requested to be sent.
|
|
5871
|
+
*/
|
|
5872
|
+
url?: string;
|
|
5873
|
+
}
|
|
5890
5874
|
|
|
5891
|
-
export interface
|
|
5892
|
-
|
|
5893
|
-
|
|
5875
|
+
export interface To {
|
|
5876
|
+
/**
|
|
5877
|
+
* The carrier of the receiver.
|
|
5878
|
+
*/
|
|
5879
|
+
carrier?: string;
|
|
5894
5880
|
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5881
|
+
/**
|
|
5882
|
+
* The line-type of the receiver.
|
|
5883
|
+
*/
|
|
5884
|
+
line_type?: 'Wireline' | 'Wireless' | 'VoWiFi' | 'VoIP' | 'Pre-Paid Wireless' | '';
|
|
5898
5885
|
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
|
|
5886
|
+
/**
|
|
5887
|
+
* Receiving address (+E.164 formatted phone number or short code).
|
|
5888
|
+
*/
|
|
5889
|
+
phone_number?: string;
|
|
5902
5890
|
|
|
5903
|
-
|
|
5904
|
-
|
|
5891
|
+
status?:
|
|
5892
|
+
| 'queued'
|
|
5893
|
+
| 'sending'
|
|
5894
|
+
| 'sent'
|
|
5895
|
+
| 'delivered'
|
|
5896
|
+
| 'sending_failed'
|
|
5897
|
+
| 'delivery_failed'
|
|
5898
|
+
| 'delivery_unconfirmed'
|
|
5899
|
+
| 'webhook_delivered';
|
|
5900
|
+
}
|
|
5901
|
+
}
|
|
5902
|
+
}
|
|
5905
5903
|
}
|
|
5906
5904
|
|
|
5907
|
-
export interface
|
|
5908
|
-
data
|
|
5909
|
-
}
|
|
5905
|
+
export interface NumberOrderStatusUpdateWebhookEvent {
|
|
5906
|
+
data: NumberOrderStatusUpdateWebhookEvent.Data;
|
|
5910
5907
|
|
|
5911
|
-
|
|
5912
|
-
data?: CallUnholdWebhookEvent.Data;
|
|
5908
|
+
meta: NumberOrderStatusUpdateWebhookEvent.Meta;
|
|
5913
5909
|
}
|
|
5914
5910
|
|
|
5915
|
-
export namespace
|
|
5911
|
+
export namespace NumberOrderStatusUpdateWebhookEvent {
|
|
5916
5912
|
export interface Data {
|
|
5917
5913
|
/**
|
|
5918
|
-
*
|
|
5914
|
+
* Unique identifier for the event
|
|
5919
5915
|
*/
|
|
5920
|
-
id
|
|
5916
|
+
id: string;
|
|
5921
5917
|
|
|
5922
5918
|
/**
|
|
5923
|
-
* The type of event being
|
|
5919
|
+
* The type of event being sent
|
|
5924
5920
|
*/
|
|
5925
|
-
event_type
|
|
5921
|
+
event_type: string;
|
|
5926
5922
|
|
|
5927
5923
|
/**
|
|
5928
|
-
* ISO 8601
|
|
5924
|
+
* ISO 8601 timestamp of when the event occurred
|
|
5929
5925
|
*/
|
|
5930
|
-
occurred_at
|
|
5926
|
+
occurred_at: string;
|
|
5931
5927
|
|
|
5932
|
-
|
|
5928
|
+
/**
|
|
5929
|
+
* Number order data delivered in a webhook. Server-generated fields are valid in
|
|
5930
|
+
* this outbound webhook request.
|
|
5931
|
+
*/
|
|
5932
|
+
payload: Data.Payload;
|
|
5933
5933
|
|
|
5934
5934
|
/**
|
|
5935
|
-
*
|
|
5935
|
+
* Type of record
|
|
5936
5936
|
*/
|
|
5937
|
-
record_type
|
|
5937
|
+
record_type: string;
|
|
5938
5938
|
}
|
|
5939
5939
|
|
|
5940
5940
|
export namespace Data {
|
|
5941
|
+
/**
|
|
5942
|
+
* Number order data delivered in a webhook. Server-generated fields are valid in
|
|
5943
|
+
* this outbound webhook request.
|
|
5944
|
+
*/
|
|
5941
5945
|
export interface Payload {
|
|
5946
|
+
id?: string;
|
|
5947
|
+
|
|
5942
5948
|
/**
|
|
5943
|
-
*
|
|
5949
|
+
* Identifies the messaging profile associated with the phone number.
|
|
5944
5950
|
*/
|
|
5945
|
-
|
|
5951
|
+
billing_group_id?: string;
|
|
5946
5952
|
|
|
5947
5953
|
/**
|
|
5948
|
-
*
|
|
5954
|
+
* Identifies the connection associated with this phone number.
|
|
5949
5955
|
*/
|
|
5950
|
-
|
|
5956
|
+
connection_id?: string;
|
|
5951
5957
|
|
|
5952
5958
|
/**
|
|
5953
|
-
*
|
|
5954
|
-
* events. Call session is a group of related call legs that logically belong to
|
|
5955
|
-
* the same phone call, e.g. an inbound and outbound leg of a transferred call.
|
|
5959
|
+
* An ISO 8901 datetime string denoting when the number order was created.
|
|
5956
5960
|
*/
|
|
5957
|
-
|
|
5961
|
+
created_at?: string;
|
|
5958
5962
|
|
|
5959
5963
|
/**
|
|
5960
|
-
*
|
|
5964
|
+
* A customer reference string for customer look ups.
|
|
5961
5965
|
*/
|
|
5962
|
-
|
|
5966
|
+
customer_reference?: string;
|
|
5963
5967
|
|
|
5964
5968
|
/**
|
|
5965
|
-
*
|
|
5969
|
+
* Identifies the messaging profile associated with the phone number.
|
|
5966
5970
|
*/
|
|
5967
|
-
|
|
5971
|
+
messaging_profile_id?: string;
|
|
5972
|
+
|
|
5973
|
+
phone_numbers?: Array<Payload.PhoneNumber>;
|
|
5968
5974
|
|
|
5969
5975
|
/**
|
|
5970
|
-
*
|
|
5976
|
+
* The count of phone numbers in the number order.
|
|
5971
5977
|
*/
|
|
5972
|
-
|
|
5978
|
+
phone_numbers_count?: number;
|
|
5979
|
+
|
|
5980
|
+
record_type?: string;
|
|
5973
5981
|
|
|
5974
5982
|
/**
|
|
5975
|
-
*
|
|
5983
|
+
* True if all requirements are met for every phone number, false otherwise.
|
|
5976
5984
|
*/
|
|
5977
|
-
|
|
5978
|
-
}
|
|
5979
|
-
}
|
|
5980
|
-
}
|
|
5985
|
+
requirements_met?: boolean;
|
|
5981
5986
|
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5987
|
+
/**
|
|
5988
|
+
* The status of the order.
|
|
5989
|
+
*/
|
|
5990
|
+
status?: 'pending' | 'success' | 'failure';
|
|
5985
5991
|
|
|
5986
|
-
|
|
5987
|
-
data?: ConferenceEnded;
|
|
5988
|
-
}
|
|
5992
|
+
sub_number_orders_ids?: Array<string>;
|
|
5989
5993
|
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5994
|
+
/**
|
|
5995
|
+
* An ISO 8901 datetime string for when the number order was updated.
|
|
5996
|
+
*/
|
|
5997
|
+
updated_at?: string;
|
|
5998
|
+
}
|
|
5993
5999
|
|
|
5994
|
-
export
|
|
5995
|
-
|
|
5996
|
-
|
|
6000
|
+
export namespace Payload {
|
|
6001
|
+
/**
|
|
6002
|
+
* The unique phone numbers given as arguments in the job creation.
|
|
6003
|
+
*/
|
|
6004
|
+
export interface PhoneNumber {
|
|
6005
|
+
id?: string;
|
|
5997
6006
|
|
|
5998
|
-
|
|
5999
|
-
data?: ConferenceParticipantPlaybackEnded;
|
|
6000
|
-
}
|
|
6007
|
+
bundle_id?: string;
|
|
6001
6008
|
|
|
6002
|
-
|
|
6003
|
-
|
|
6004
|
-
|
|
6009
|
+
/**
|
|
6010
|
+
* Country code of the phone number
|
|
6011
|
+
*/
|
|
6012
|
+
country_code?: string;
|
|
6005
6013
|
|
|
6006
|
-
|
|
6007
|
-
|
|
6008
|
-
|
|
6014
|
+
/**
|
|
6015
|
+
* The ISO 3166-1 alpha-2 country code of the phone number.
|
|
6016
|
+
*/
|
|
6017
|
+
country_iso_alpha2?: string;
|
|
6009
6018
|
|
|
6010
|
-
|
|
6011
|
-
data?: ConferenceParticipantSpeakStarted;
|
|
6012
|
-
}
|
|
6019
|
+
phone_number?: string;
|
|
6013
6020
|
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
|
|
6021
|
+
/**
|
|
6022
|
+
* Phone number type
|
|
6023
|
+
*/
|
|
6024
|
+
phone_number_type?: 'local' | 'mobile' | 'national' | 'shared_cost' | 'toll_free';
|
|
6017
6025
|
|
|
6018
|
-
|
|
6019
|
-
data?: ConferencePlaybackStarted;
|
|
6020
|
-
}
|
|
6026
|
+
record_type?: string;
|
|
6021
6027
|
|
|
6022
|
-
|
|
6023
|
-
data?: ConferenceRecordingSaved;
|
|
6024
|
-
}
|
|
6028
|
+
regulatory_requirements?: Array<PhoneNumber.RegulatoryRequirement>;
|
|
6025
6029
|
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
|
-
|
|
6030
|
+
/**
|
|
6031
|
+
* True if all requirements are met for a phone number, false otherwise.
|
|
6032
|
+
*/
|
|
6033
|
+
requirements_met?: boolean;
|
|
6029
6034
|
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6035
|
+
/**
|
|
6036
|
+
* Status of document requirements (if applicable)
|
|
6037
|
+
*/
|
|
6038
|
+
requirements_status?:
|
|
6039
|
+
| 'pending'
|
|
6040
|
+
| 'approved'
|
|
6041
|
+
| 'cancelled'
|
|
6042
|
+
| 'deleted'
|
|
6043
|
+
| 'requirement-info-exception'
|
|
6044
|
+
| 'requirement-info-pending'
|
|
6045
|
+
| 'requirement-info-under-review';
|
|
6033
6046
|
|
|
6034
|
-
|
|
6035
|
-
|
|
6047
|
+
/**
|
|
6048
|
+
* The status of the phone number in the order.
|
|
6049
|
+
*/
|
|
6050
|
+
status?: 'pending' | 'success' | 'failure';
|
|
6051
|
+
}
|
|
6036
6052
|
|
|
6037
|
-
|
|
6038
|
-
|
|
6053
|
+
export namespace PhoneNumber {
|
|
6054
|
+
/**
|
|
6055
|
+
* Regulatory requirement data delivered in a number order webhook.
|
|
6056
|
+
*/
|
|
6057
|
+
export interface RegulatoryRequirement {
|
|
6058
|
+
field_type?: 'textual' | 'datetime' | 'address' | 'document';
|
|
6059
|
+
|
|
6060
|
+
/**
|
|
6061
|
+
* The value of the requirement, this could be an id to a resource or a string
|
|
6062
|
+
* value.
|
|
6063
|
+
*/
|
|
6064
|
+
field_value?: string;
|
|
6065
|
+
|
|
6066
|
+
record_type?: string;
|
|
6067
|
+
|
|
6068
|
+
/**
|
|
6069
|
+
* Unique id for a requirement.
|
|
6070
|
+
*/
|
|
6071
|
+
requirement_id?: string;
|
|
6072
|
+
}
|
|
6073
|
+
}
|
|
6074
|
+
}
|
|
6075
|
+
}
|
|
6039
6076
|
|
|
6040
|
-
export namespace DeliveryUpdateWebhookEvent {
|
|
6041
6077
|
export interface Meta {
|
|
6042
6078
|
/**
|
|
6043
|
-
*
|
|
6079
|
+
* Webhook delivery attempt number
|
|
6044
6080
|
*/
|
|
6045
|
-
attempt
|
|
6081
|
+
attempt: number;
|
|
6046
6082
|
|
|
6047
6083
|
/**
|
|
6048
|
-
*
|
|
6084
|
+
* URL where the webhook was delivered
|
|
6049
6085
|
*/
|
|
6050
|
-
delivered_to
|
|
6086
|
+
delivered_to: string;
|
|
6051
6087
|
}
|
|
6052
6088
|
}
|
|
6053
6089
|
|
|
6054
|
-
export interface
|
|
6055
|
-
data?:
|
|
6090
|
+
export interface ReplacedLinkClickWebhookEvent {
|
|
6091
|
+
data?: ReplacedLinkClick;
|
|
6056
6092
|
}
|
|
6057
6093
|
|
|
6058
|
-
export
|
|
6094
|
+
export interface TranscriptionWebhookEvent {
|
|
6095
|
+
data?: Transcription;
|
|
6096
|
+
}
|
|
6097
|
+
|
|
6098
|
+
export interface CallAIGatherEndedWebhookEvent {
|
|
6099
|
+
data?: CallAIGatherEnded;
|
|
6100
|
+
}
|
|
6101
|
+
|
|
6102
|
+
export interface CallAIGatherMessageHistoryUpdatedWebhookEvent {
|
|
6103
|
+
data?: CallAIGatherMessageHistoryUpdated;
|
|
6104
|
+
}
|
|
6105
|
+
|
|
6106
|
+
export interface CallAIGatherPartialResultsWebhookEvent {
|
|
6107
|
+
data?: CallAIGatherPartialResults;
|
|
6108
|
+
}
|
|
6109
|
+
|
|
6110
|
+
export interface CallAnsweredWebhookEvent {
|
|
6111
|
+
data?: CallAnswered;
|
|
6112
|
+
}
|
|
6113
|
+
|
|
6114
|
+
export interface CallBridgedWebhookEvent {
|
|
6115
|
+
data?: CallBridged;
|
|
6116
|
+
}
|
|
6117
|
+
|
|
6118
|
+
export interface CallConversationEndedWebhookEvent {
|
|
6119
|
+
data?: CallConversationEnded;
|
|
6120
|
+
}
|
|
6121
|
+
|
|
6122
|
+
export interface CallConversationInsightsGeneratedWebhookEvent {
|
|
6123
|
+
data?: CallConversationInsightsGenerated;
|
|
6124
|
+
}
|
|
6125
|
+
|
|
6126
|
+
export interface CallCostWebhookEvent {
|
|
6127
|
+
data?: CallCostWebhookEvent.Data;
|
|
6128
|
+
}
|
|
6129
|
+
|
|
6130
|
+
export namespace CallCostWebhookEvent {
|
|
6059
6131
|
export interface Data {
|
|
6060
6132
|
/**
|
|
6061
|
-
* Unique identifier
|
|
6133
|
+
* Unique identifier of the event.
|
|
6062
6134
|
*/
|
|
6063
6135
|
id?: string;
|
|
6064
6136
|
|
|
6065
6137
|
/**
|
|
6066
|
-
* The type of event being delivered.
|
|
6067
|
-
* orders where the numbers are already active on another Telnyx account.
|
|
6138
|
+
* The type of event being delivered.
|
|
6068
6139
|
*/
|
|
6069
|
-
event_type?:
|
|
6070
|
-
| 'messaging_hosted_numbers_orders.created'
|
|
6071
|
-
| 'messaging_hosted_numbers_orders.updated'
|
|
6072
|
-
| 'messaging_hosted_numbers_orders.deleted'
|
|
6073
|
-
| 'messaging_hosted_numbers_orders.internal_transfer_detected'
|
|
6074
|
-
| 'messaging_hosted_numbers_orders.internal_transfer_approval_requested'
|
|
6075
|
-
| 'messaging_hosted_numbers_orders.internal_transfer_approved'
|
|
6076
|
-
| 'messaging_hosted_numbers_orders.internal_transfer_rejected'
|
|
6077
|
-
| 'messaging_hosted_numbers_orders.internal_transfer_auto_approved';
|
|
6140
|
+
event_type?: 'call.cost';
|
|
6078
6141
|
|
|
6079
6142
|
/**
|
|
6080
|
-
* ISO 8601
|
|
6143
|
+
* ISO 8601 datetime of when the event occurred.
|
|
6081
6144
|
*/
|
|
6082
6145
|
occurred_at?: string;
|
|
6083
6146
|
|
|
6084
|
-
/**
|
|
6085
|
-
* Payload delivered with every messaging*hosted_numbers_orders.\* event.
|
|
6086
|
-
* `approval_deadline` and `decision` are meaningful only for
|
|
6087
|
-
* `internal_transfer*\*` events.
|
|
6088
|
-
*/
|
|
6089
6147
|
payload?: Data.Payload;
|
|
6090
6148
|
|
|
6091
6149
|
/**
|
|
@@ -6095,94 +6153,103 @@ export namespace HostedNumberOrderEventWebhookEvent {
|
|
|
6095
6153
|
}
|
|
6096
6154
|
|
|
6097
6155
|
export namespace Data {
|
|
6098
|
-
/**
|
|
6099
|
-
* Payload delivered with every messaging*hosted_numbers_orders.\* event.
|
|
6100
|
-
* `approval_deadline` and `decision` are meaningful only for
|
|
6101
|
-
* `internal_transfer*\*` events.
|
|
6102
|
-
*/
|
|
6103
6156
|
export interface Payload {
|
|
6104
6157
|
/**
|
|
6105
|
-
*
|
|
6106
|
-
* auto-approval. Populated on internal-transfer events once an approval window has
|
|
6107
|
-
* been issued.
|
|
6158
|
+
* The longest billed duration across all cost parts, in seconds.
|
|
6108
6159
|
*/
|
|
6109
|
-
|
|
6160
|
+
billed_duration_secs?: number | null;
|
|
6110
6161
|
|
|
6111
6162
|
/**
|
|
6112
|
-
*
|
|
6113
|
-
* non-internal-transfer events.
|
|
6163
|
+
* Identifies the billing group associated with the call.
|
|
6114
6164
|
*/
|
|
6115
|
-
|
|
6165
|
+
billing_group_id?: string | null;
|
|
6116
6166
|
|
|
6117
|
-
|
|
6167
|
+
/**
|
|
6168
|
+
* Call ID used to issue commands via Call Control API.
|
|
6169
|
+
*/
|
|
6170
|
+
call_control_id?: string;
|
|
6118
6171
|
|
|
6119
6172
|
/**
|
|
6120
|
-
*
|
|
6173
|
+
* ID that is unique to the call and can be used to correlate webhook events.
|
|
6121
6174
|
*/
|
|
6122
|
-
|
|
6175
|
+
call_leg_id?: string;
|
|
6123
6176
|
|
|
6124
6177
|
/**
|
|
6125
|
-
*
|
|
6178
|
+
* ID that is unique to the call session and can be used to correlate webhook
|
|
6179
|
+
* events. Call session is a group of related call legs that logically belong to
|
|
6180
|
+
* the same phone call, e.g. an inbound and outbound leg of a transferred call.
|
|
6126
6181
|
*/
|
|
6127
|
-
|
|
6128
|
-
| 'pending'
|
|
6129
|
-
| 'provisioning'
|
|
6130
|
-
| 'successful'
|
|
6131
|
-
| 'failed'
|
|
6132
|
-
| 'deleted'
|
|
6133
|
-
| 'carrier_rejected'
|
|
6134
|
-
| 'compliance_review_failed'
|
|
6135
|
-
| 'incomplete_documentation'
|
|
6136
|
-
| 'incorrect_billing_information'
|
|
6137
|
-
| 'ineligible_carrier'
|
|
6138
|
-
| 'loa_file_invalid'
|
|
6139
|
-
| 'loa_file_successful';
|
|
6182
|
+
call_session_id?: string;
|
|
6140
6183
|
|
|
6141
6184
|
/**
|
|
6142
|
-
*
|
|
6185
|
+
* State received from a command. Base64-encoded.
|
|
6143
6186
|
*/
|
|
6144
|
-
|
|
6187
|
+
client_state?: string;
|
|
6145
6188
|
|
|
6146
6189
|
/**
|
|
6147
|
-
*
|
|
6190
|
+
* Call Control App ID (formerly Telnyx connection ID) used in the call.
|
|
6148
6191
|
*/
|
|
6149
|
-
|
|
6192
|
+
connection_id?: string;
|
|
6193
|
+
|
|
6194
|
+
/**
|
|
6195
|
+
* Breakdown of costs by call part.
|
|
6196
|
+
*/
|
|
6197
|
+
cost_parts?: Array<Payload.CostPart>;
|
|
6198
|
+
|
|
6199
|
+
/**
|
|
6200
|
+
* ISO 8601 datetime of when the event occurred.
|
|
6201
|
+
*/
|
|
6202
|
+
occurred_at?: string;
|
|
6203
|
+
|
|
6204
|
+
/**
|
|
6205
|
+
* The status of the cost calculation (`success` or `error`).
|
|
6206
|
+
*/
|
|
6207
|
+
status?: 'success' | 'error';
|
|
6208
|
+
|
|
6209
|
+
/**
|
|
6210
|
+
* The total cost of the call.
|
|
6211
|
+
*/
|
|
6212
|
+
total_cost?: string | null;
|
|
6150
6213
|
}
|
|
6151
6214
|
|
|
6152
6215
|
export namespace Payload {
|
|
6153
|
-
export interface
|
|
6216
|
+
export interface CostPart {
|
|
6154
6217
|
/**
|
|
6155
|
-
*
|
|
6218
|
+
* The billed duration in seconds for this part of the call.
|
|
6156
6219
|
*/
|
|
6157
|
-
|
|
6158
|
-
| 'deleted'
|
|
6159
|
-
| 'failed'
|
|
6160
|
-
| 'failed_activation'
|
|
6161
|
-
| 'failed_carrier_rejected'
|
|
6162
|
-
| 'failed_ineligible_carrier'
|
|
6163
|
-
| 'failed_number_already_hosted'
|
|
6164
|
-
| 'failed_number_not_found'
|
|
6165
|
-
| 'failed_ownership_verification'
|
|
6166
|
-
| 'failed_timeout'
|
|
6167
|
-
| 'ownership_successful'
|
|
6168
|
-
| 'pending'
|
|
6169
|
-
| 'provisioning'
|
|
6170
|
-
| 'successful';
|
|
6220
|
+
billed_duration_secs?: number;
|
|
6171
6221
|
|
|
6172
6222
|
/**
|
|
6173
|
-
*
|
|
6223
|
+
* The product component this cost applies to. Values are determined by the billing
|
|
6224
|
+
* system (e.g. sip-trunking, call-control, call-recording). Not a fixed set — new
|
|
6225
|
+
* values may appear as products evolve.
|
|
6174
6226
|
*/
|
|
6175
|
-
|
|
6227
|
+
call_part?: string;
|
|
6228
|
+
|
|
6229
|
+
/**
|
|
6230
|
+
* The cost for this part of the call.
|
|
6231
|
+
*/
|
|
6232
|
+
cost?: string;
|
|
6233
|
+
|
|
6234
|
+
/**
|
|
6235
|
+
* The currency of the cost.
|
|
6236
|
+
*/
|
|
6237
|
+
currency?: string;
|
|
6238
|
+
|
|
6239
|
+
/**
|
|
6240
|
+
* The per-minute rate applied.
|
|
6241
|
+
*/
|
|
6242
|
+
rate?: string;
|
|
6176
6243
|
}
|
|
6177
6244
|
}
|
|
6178
6245
|
}
|
|
6179
6246
|
}
|
|
6180
6247
|
|
|
6181
|
-
export interface
|
|
6182
|
-
data?:
|
|
6248
|
+
export interface CallDeepfakeDetectionErrorWebhookEvent {
|
|
6249
|
+
data?: CallDeepfakeDetectionErrorWebhookEvent.Data;
|
|
6183
6250
|
}
|
|
6184
6251
|
|
|
6185
|
-
export namespace
|
|
6252
|
+
export namespace CallDeepfakeDetectionErrorWebhookEvent {
|
|
6186
6253
|
export interface Data {
|
|
6187
6254
|
/**
|
|
6188
6255
|
* Identifies the type of resource.
|
|
@@ -6192,20 +6259,1398 @@ export namespace InboundMessageWebhookEvent {
|
|
|
6192
6259
|
/**
|
|
6193
6260
|
* The type of event being delivered.
|
|
6194
6261
|
*/
|
|
6195
|
-
event_type?: '
|
|
6262
|
+
event_type?: 'call.deepfake_detection.error';
|
|
6196
6263
|
|
|
6197
6264
|
/**
|
|
6198
|
-
* ISO 8601
|
|
6265
|
+
* ISO 8601 datetime of when the event occurred.
|
|
6199
6266
|
*/
|
|
6200
6267
|
occurred_at?: string;
|
|
6201
6268
|
|
|
6202
|
-
payload?:
|
|
6269
|
+
payload?: Data.Payload;
|
|
6203
6270
|
|
|
6204
6271
|
/**
|
|
6205
6272
|
* Identifies the type of the resource.
|
|
6206
6273
|
*/
|
|
6207
6274
|
record_type?: 'event';
|
|
6208
6275
|
}
|
|
6276
|
+
|
|
6277
|
+
export namespace Data {
|
|
6278
|
+
export interface Payload {
|
|
6279
|
+
/**
|
|
6280
|
+
* Call ID used to issue commands via Call Control API.
|
|
6281
|
+
*/
|
|
6282
|
+
call_control_id?: string;
|
|
6283
|
+
|
|
6284
|
+
/**
|
|
6285
|
+
* ID that is unique to the call and can be used to correlate webhook events.
|
|
6286
|
+
*/
|
|
6287
|
+
call_leg_id?: string;
|
|
6288
|
+
|
|
6289
|
+
/**
|
|
6290
|
+
* ID that is unique to the call session and can be used to correlate webhook
|
|
6291
|
+
* events. Call session is a group of related call legs that logically belong to
|
|
6292
|
+
* the same phone call, e.g. an inbound and outbound leg of a transferred call.
|
|
6293
|
+
*/
|
|
6294
|
+
call_session_id?: string;
|
|
6295
|
+
|
|
6296
|
+
/**
|
|
6297
|
+
* State received from a command.
|
|
6298
|
+
*/
|
|
6299
|
+
client_state?: string | null;
|
|
6300
|
+
|
|
6301
|
+
/**
|
|
6302
|
+
* Call Control App ID (formerly Telnyx connection ID) used in the call.
|
|
6303
|
+
*/
|
|
6304
|
+
connection_id?: string;
|
|
6305
|
+
|
|
6306
|
+
/**
|
|
6307
|
+
* The error that occurred. 'detection_timeout' = no DFD response received,
|
|
6308
|
+
* 'rtp_timeout' = no RTP audio received, 'dfd_connection_error'/'dfd_stream_error'
|
|
6309
|
+
* = service connectivity issues.
|
|
6310
|
+
*/
|
|
6311
|
+
error_message?: 'detection_timeout' | 'rtp_timeout' | 'dfd_connection_error' | 'dfd_stream_error';
|
|
6312
|
+
}
|
|
6313
|
+
}
|
|
6314
|
+
}
|
|
6315
|
+
|
|
6316
|
+
export interface CallDeepfakeDetectionResultWebhookEvent {
|
|
6317
|
+
data?: CallDeepfakeDetectionResultWebhookEvent.Data;
|
|
6318
|
+
}
|
|
6319
|
+
|
|
6320
|
+
export namespace CallDeepfakeDetectionResultWebhookEvent {
|
|
6321
|
+
export interface Data {
|
|
6322
|
+
/**
|
|
6323
|
+
* Identifies the type of resource.
|
|
6324
|
+
*/
|
|
6325
|
+
id?: string;
|
|
6326
|
+
|
|
6327
|
+
/**
|
|
6328
|
+
* The type of event being delivered.
|
|
6329
|
+
*/
|
|
6330
|
+
event_type?: 'call.deepfake_detection.result';
|
|
6331
|
+
|
|
6332
|
+
/**
|
|
6333
|
+
* ISO 8601 datetime of when the event occurred.
|
|
6334
|
+
*/
|
|
6335
|
+
occurred_at?: string;
|
|
6336
|
+
|
|
6337
|
+
payload?: Data.Payload;
|
|
6338
|
+
|
|
6339
|
+
/**
|
|
6340
|
+
* Identifies the type of the resource.
|
|
6341
|
+
*/
|
|
6342
|
+
record_type?: 'event';
|
|
6343
|
+
}
|
|
6344
|
+
|
|
6345
|
+
export namespace Data {
|
|
6346
|
+
export interface Payload {
|
|
6347
|
+
/**
|
|
6348
|
+
* Call ID used to issue commands via Call Control API.
|
|
6349
|
+
*/
|
|
6350
|
+
call_control_id?: string;
|
|
6351
|
+
|
|
6352
|
+
/**
|
|
6353
|
+
* ID that is unique to the call and can be used to correlate webhook events.
|
|
6354
|
+
*/
|
|
6355
|
+
call_leg_id?: string;
|
|
6356
|
+
|
|
6357
|
+
/**
|
|
6358
|
+
* ID that is unique to the call session and can be used to correlate webhook
|
|
6359
|
+
* events. Call session is a group of related call legs that logically belong to
|
|
6360
|
+
* the same phone call, e.g. an inbound and outbound leg of a transferred call.
|
|
6361
|
+
*/
|
|
6362
|
+
call_session_id?: string;
|
|
6363
|
+
|
|
6364
|
+
/**
|
|
6365
|
+
* State received from a command.
|
|
6366
|
+
*/
|
|
6367
|
+
client_state?: string | null;
|
|
6368
|
+
|
|
6369
|
+
/**
|
|
6370
|
+
* Call Control App ID (formerly Telnyx connection ID) used in the call.
|
|
6371
|
+
*/
|
|
6372
|
+
connection_id?: string;
|
|
6373
|
+
|
|
6374
|
+
/**
|
|
6375
|
+
* Percentage (0-100) indicating how consistently the model classified the audio
|
|
6376
|
+
* across frames. High consistency (>90%) means confident classification
|
|
6377
|
+
* throughout; low consistency suggests mixed signals. Null for silence_timeout.
|
|
6378
|
+
*/
|
|
6379
|
+
consistency?: number | null;
|
|
6380
|
+
|
|
6381
|
+
/**
|
|
6382
|
+
* Detection outcome. 'real' = human voice, 'fake' = AI-generated voice,
|
|
6383
|
+
* 'silence_timeout' = no analyzable speech detected before timeout.
|
|
6384
|
+
*/
|
|
6385
|
+
result?: 'real' | 'fake' | 'silence_timeout';
|
|
6386
|
+
|
|
6387
|
+
/**
|
|
6388
|
+
* Probability that the audio is AI-generated, from 0.0 (likely real) to 1.0
|
|
6389
|
+
* (likely deepfake). Based on the model's aggregated confidence across analyzed
|
|
6390
|
+
* audio frames. Null for silence_timeout.
|
|
6391
|
+
*/
|
|
6392
|
+
score?: number | null;
|
|
6393
|
+
}
|
|
6394
|
+
}
|
|
6395
|
+
}
|
|
6396
|
+
|
|
6397
|
+
export interface CallDtmfReceivedWebhookEvent {
|
|
6398
|
+
data?: CallDtmfReceived;
|
|
6399
|
+
}
|
|
6400
|
+
|
|
6401
|
+
export interface CallEnqueuedWebhookEvent {
|
|
6402
|
+
data?: CallEnqueued;
|
|
6403
|
+
}
|
|
6404
|
+
|
|
6405
|
+
export interface CallForkStartedWebhookEvent {
|
|
6406
|
+
data?: CallForkStarted;
|
|
6407
|
+
}
|
|
6408
|
+
|
|
6409
|
+
export interface CallForkStoppedWebhookEvent {
|
|
6410
|
+
data?: CallForkStopped;
|
|
6411
|
+
}
|
|
6412
|
+
|
|
6413
|
+
export interface CallGatherEndedWebhookEvent {
|
|
6414
|
+
data?: CallGatherEnded;
|
|
6415
|
+
}
|
|
6416
|
+
|
|
6417
|
+
export interface CallHangupWebhookEvent {
|
|
6418
|
+
data?: CallHangup;
|
|
6419
|
+
}
|
|
6420
|
+
|
|
6421
|
+
export interface CallHoldWebhookEvent {
|
|
6422
|
+
data?: CallHoldWebhookEvent.Data;
|
|
6423
|
+
}
|
|
6424
|
+
|
|
6425
|
+
export namespace CallHoldWebhookEvent {
|
|
6426
|
+
export interface Data {
|
|
6427
|
+
/**
|
|
6428
|
+
* Identifies the type of resource.
|
|
6429
|
+
*/
|
|
6430
|
+
id?: string;
|
|
6431
|
+
|
|
6432
|
+
/**
|
|
6433
|
+
* The type of event being delivered.
|
|
6434
|
+
*/
|
|
6435
|
+
event_type?: 'call.hold';
|
|
6436
|
+
|
|
6437
|
+
/**
|
|
6438
|
+
* ISO 8601 datetime of when the event occurred.
|
|
6439
|
+
*/
|
|
6440
|
+
occurred_at?: string;
|
|
6441
|
+
|
|
6442
|
+
payload?: Data.Payload;
|
|
6443
|
+
|
|
6444
|
+
/**
|
|
6445
|
+
* Identifies the type of the resource.
|
|
6446
|
+
*/
|
|
6447
|
+
record_type?: 'event';
|
|
6448
|
+
}
|
|
6449
|
+
|
|
6450
|
+
export namespace Data {
|
|
6451
|
+
export interface Payload {
|
|
6452
|
+
/**
|
|
6453
|
+
* Call ID used to issue commands via Call Control API.
|
|
6454
|
+
*/
|
|
6455
|
+
call_control_id?: string;
|
|
6456
|
+
|
|
6457
|
+
/**
|
|
6458
|
+
* ID that is unique to the call and can be used to correlate webhook events.
|
|
6459
|
+
*/
|
|
6460
|
+
call_leg_id?: string;
|
|
6461
|
+
|
|
6462
|
+
/**
|
|
6463
|
+
* ID that is unique to the call session and can be used to correlate webhook
|
|
6464
|
+
* events. Call session is a group of related call legs that logically belong to
|
|
6465
|
+
* the same phone call, e.g. an inbound and outbound leg of a transferred call.
|
|
6466
|
+
*/
|
|
6467
|
+
call_session_id?: string;
|
|
6468
|
+
|
|
6469
|
+
/**
|
|
6470
|
+
* State received from a command.
|
|
6471
|
+
*/
|
|
6472
|
+
client_state?: string;
|
|
6473
|
+
|
|
6474
|
+
/**
|
|
6475
|
+
* Call Control App ID (formerly Telnyx connection ID) used in the call.
|
|
6476
|
+
*/
|
|
6477
|
+
connection_id?: string;
|
|
6478
|
+
|
|
6479
|
+
/**
|
|
6480
|
+
* Number or SIP URI placing the call.
|
|
6481
|
+
*/
|
|
6482
|
+
from?: string;
|
|
6483
|
+
|
|
6484
|
+
/**
|
|
6485
|
+
* Destination number or SIP URI of the call.
|
|
6486
|
+
*/
|
|
6487
|
+
to?: string;
|
|
6488
|
+
}
|
|
6489
|
+
}
|
|
6490
|
+
}
|
|
6491
|
+
|
|
6492
|
+
export interface CallInitiatedWebhookEvent {
|
|
6493
|
+
data?: CallInitiated;
|
|
6494
|
+
}
|
|
6495
|
+
|
|
6496
|
+
export interface CallLeftQueueWebhookEvent {
|
|
6497
|
+
data?: CallLeftQueue;
|
|
6498
|
+
}
|
|
6499
|
+
|
|
6500
|
+
export interface CallMachineDetectionEndedWebhookEvent {
|
|
6501
|
+
data?: CallMachineDetectionEnded;
|
|
6502
|
+
}
|
|
6503
|
+
|
|
6504
|
+
export interface CallMachineGreetingEndedWebhookEvent {
|
|
6505
|
+
data?: CallMachineGreetingEnded;
|
|
6506
|
+
}
|
|
6507
|
+
|
|
6508
|
+
export interface CallMachinePremiumDetectionEndedWebhookEvent {
|
|
6509
|
+
data?: CallMachinePremiumDetectionEnded;
|
|
6510
|
+
}
|
|
6511
|
+
|
|
6512
|
+
export interface CallMachinePremiumGreetingEndedWebhookEvent {
|
|
6513
|
+
data?: CallMachinePremiumGreetingEnded;
|
|
6514
|
+
}
|
|
6515
|
+
|
|
6516
|
+
export interface CallPaymentCompletedWebhookEvent {
|
|
6517
|
+
data?: CallPaymentCompletedWebhookEvent.Data;
|
|
6518
|
+
}
|
|
6519
|
+
|
|
6520
|
+
export namespace CallPaymentCompletedWebhookEvent {
|
|
6521
|
+
export interface Data {
|
|
6522
|
+
/**
|
|
6523
|
+
* Unique identifier for the event.
|
|
6524
|
+
*/
|
|
6525
|
+
id?: string;
|
|
6526
|
+
|
|
6527
|
+
/**
|
|
6528
|
+
* The type of event being delivered.
|
|
6529
|
+
*/
|
|
6530
|
+
event_type?: 'call.payment.completed';
|
|
6531
|
+
|
|
6532
|
+
/**
|
|
6533
|
+
* ISO 8601 datetime when the event occurred.
|
|
6534
|
+
*/
|
|
6535
|
+
occurred_at?: string;
|
|
6536
|
+
|
|
6537
|
+
payload?: Data.Payload;
|
|
6538
|
+
|
|
6539
|
+
/**
|
|
6540
|
+
* Identifies the type of the resource.
|
|
6541
|
+
*/
|
|
6542
|
+
record_type?: 'event';
|
|
6543
|
+
}
|
|
6544
|
+
|
|
6545
|
+
export namespace Data {
|
|
6546
|
+
export interface Payload {
|
|
6547
|
+
/**
|
|
6548
|
+
* Masked bank account number with only the last two digits visible.
|
|
6549
|
+
*/
|
|
6550
|
+
bank_account_number?: string;
|
|
6551
|
+
|
|
6552
|
+
/**
|
|
6553
|
+
* Bank account type, when available.
|
|
6554
|
+
*/
|
|
6555
|
+
bank_account_type?: string;
|
|
6556
|
+
|
|
6557
|
+
/**
|
|
6558
|
+
* Bank routing number collected from the caller.
|
|
6559
|
+
*/
|
|
6560
|
+
bank_routing_number?: string;
|
|
6561
|
+
|
|
6562
|
+
/**
|
|
6563
|
+
* Call ID used to issue commands via Call Control API.
|
|
6564
|
+
*/
|
|
6565
|
+
call_control_id?: string;
|
|
6566
|
+
|
|
6567
|
+
/**
|
|
6568
|
+
* ID unique to the call leg.
|
|
6569
|
+
*/
|
|
6570
|
+
call_leg_id?: string;
|
|
6571
|
+
|
|
6572
|
+
/**
|
|
6573
|
+
* ID shared by related call legs in the same call session.
|
|
6574
|
+
*/
|
|
6575
|
+
call_session_id?: string;
|
|
6576
|
+
|
|
6577
|
+
/**
|
|
6578
|
+
* Charge identifier returned for a successful charge transaction.
|
|
6579
|
+
*/
|
|
6580
|
+
charge_id?: string;
|
|
6581
|
+
|
|
6582
|
+
/**
|
|
6583
|
+
* Base64-encoded state received from the command.
|
|
6584
|
+
*/
|
|
6585
|
+
client_state?: string;
|
|
6586
|
+
|
|
6587
|
+
/**
|
|
6588
|
+
* Call Control App ID used in the call.
|
|
6589
|
+
*/
|
|
6590
|
+
connection_id?: string;
|
|
6591
|
+
|
|
6592
|
+
/**
|
|
6593
|
+
* Additional connector error information, when supplied by the processor.
|
|
6594
|
+
*/
|
|
6595
|
+
connector_error?: string | { [key: string]: unknown };
|
|
6596
|
+
|
|
6597
|
+
/**
|
|
6598
|
+
* Card expiration date in MMYY format.
|
|
6599
|
+
*/
|
|
6600
|
+
expiration_date?: string;
|
|
6601
|
+
|
|
6602
|
+
/**
|
|
6603
|
+
* Number or SIP URI placing the call.
|
|
6604
|
+
*/
|
|
6605
|
+
from?: string;
|
|
6606
|
+
|
|
6607
|
+
/**
|
|
6608
|
+
* Error code returned by the payment connector or processor.
|
|
6609
|
+
*/
|
|
6610
|
+
pay_error_code?: string;
|
|
6611
|
+
|
|
6612
|
+
/**
|
|
6613
|
+
* Masked card number with only the last four digits visible.
|
|
6614
|
+
*/
|
|
6615
|
+
payment_card_number?: string;
|
|
6616
|
+
|
|
6617
|
+
/**
|
|
6618
|
+
* Billing postal code collected from the caller.
|
|
6619
|
+
*/
|
|
6620
|
+
payment_card_postal_code?: string;
|
|
6621
|
+
|
|
6622
|
+
/**
|
|
6623
|
+
* Detected card type. Present only for the recognized card brands listed below.
|
|
6624
|
+
*/
|
|
6625
|
+
payment_card_type?: 'visa' | 'mastercard' | 'amex' | 'discover' | 'diners-club' | 'jcb';
|
|
6626
|
+
|
|
6627
|
+
/**
|
|
6628
|
+
* Payment confirmation code returned by the processor, when available.
|
|
6629
|
+
*/
|
|
6630
|
+
payment_confirmation_code?: string;
|
|
6631
|
+
|
|
6632
|
+
/**
|
|
6633
|
+
* Name of the Pay connector used.
|
|
6634
|
+
*/
|
|
6635
|
+
payment_connector?: string;
|
|
6636
|
+
|
|
6637
|
+
/**
|
|
6638
|
+
* Step-level or processor error associated with the final result.
|
|
6639
|
+
*/
|
|
6640
|
+
payment_error?: string;
|
|
6641
|
+
|
|
6642
|
+
/**
|
|
6643
|
+
* Payment method being collected.
|
|
6644
|
+
*/
|
|
6645
|
+
payment_method?: 'credit-card' | 'ach-debit';
|
|
6646
|
+
|
|
6647
|
+
/**
|
|
6648
|
+
* Final Pay session result.
|
|
6649
|
+
*/
|
|
6650
|
+
result?:
|
|
6651
|
+
| 'success'
|
|
6652
|
+
| 'payment-connector-error'
|
|
6653
|
+
| 'internal-error'
|
|
6654
|
+
| 'too-many-failed-attempts'
|
|
6655
|
+
| 'cancelled';
|
|
6656
|
+
|
|
6657
|
+
/**
|
|
6658
|
+
* Fully masked card security code.
|
|
6659
|
+
*/
|
|
6660
|
+
security_code?: string;
|
|
6661
|
+
|
|
6662
|
+
/**
|
|
6663
|
+
* Destination number or SIP URI of the call.
|
|
6664
|
+
*/
|
|
6665
|
+
to?: string;
|
|
6666
|
+
|
|
6667
|
+
/**
|
|
6668
|
+
* Token identifier returned for a successful tokenize transaction.
|
|
6669
|
+
*/
|
|
6670
|
+
token_id?: string;
|
|
6671
|
+
}
|
|
6672
|
+
}
|
|
6673
|
+
}
|
|
6674
|
+
|
|
6675
|
+
export interface CallPaymentProgressWebhookEvent {
|
|
6676
|
+
data?: CallPaymentProgressWebhookEvent.Data;
|
|
6677
|
+
}
|
|
6678
|
+
|
|
6679
|
+
export namespace CallPaymentProgressWebhookEvent {
|
|
6680
|
+
export interface Data {
|
|
6681
|
+
/**
|
|
6682
|
+
* Unique identifier for the event.
|
|
6683
|
+
*/
|
|
6684
|
+
id?: string;
|
|
6685
|
+
|
|
6686
|
+
/**
|
|
6687
|
+
* The type of event being delivered.
|
|
6688
|
+
*/
|
|
6689
|
+
event_type?: 'call.payment.progress';
|
|
6690
|
+
|
|
6691
|
+
/**
|
|
6692
|
+
* ISO 8601 datetime when the event occurred.
|
|
6693
|
+
*/
|
|
6694
|
+
occurred_at?: string;
|
|
6695
|
+
|
|
6696
|
+
payload?: Data.Payload;
|
|
6697
|
+
|
|
6698
|
+
/**
|
|
6699
|
+
* Identifies the type of the resource.
|
|
6700
|
+
*/
|
|
6701
|
+
record_type?: 'event';
|
|
6702
|
+
}
|
|
6703
|
+
|
|
6704
|
+
export namespace Data {
|
|
6705
|
+
export interface Payload {
|
|
6706
|
+
/**
|
|
6707
|
+
* Current 1-based attempt number for the step.
|
|
6708
|
+
*/
|
|
6709
|
+
attempt?: number;
|
|
6710
|
+
|
|
6711
|
+
/**
|
|
6712
|
+
* Masked bank account number with only the last two digits visible.
|
|
6713
|
+
*/
|
|
6714
|
+
bank_account_number?: string;
|
|
6715
|
+
|
|
6716
|
+
/**
|
|
6717
|
+
* Bank account type, when available.
|
|
6718
|
+
*/
|
|
6719
|
+
bank_account_type?: string;
|
|
6720
|
+
|
|
6721
|
+
/**
|
|
6722
|
+
* Bank routing number collected from the caller.
|
|
6723
|
+
*/
|
|
6724
|
+
bank_routing_number?: string;
|
|
6725
|
+
|
|
6726
|
+
/**
|
|
6727
|
+
* Call ID used to issue commands via Call Control API.
|
|
6728
|
+
*/
|
|
6729
|
+
call_control_id?: string;
|
|
6730
|
+
|
|
6731
|
+
/**
|
|
6732
|
+
* ID unique to the call leg.
|
|
6733
|
+
*/
|
|
6734
|
+
call_leg_id?: string;
|
|
6735
|
+
|
|
6736
|
+
/**
|
|
6737
|
+
* ID shared by related call legs in the same call session.
|
|
6738
|
+
*/
|
|
6739
|
+
call_session_id?: string;
|
|
6740
|
+
|
|
6741
|
+
/**
|
|
6742
|
+
* Base64-encoded state received from the command.
|
|
6743
|
+
*/
|
|
6744
|
+
client_state?: string;
|
|
6745
|
+
|
|
6746
|
+
/**
|
|
6747
|
+
* Call Control App ID used in the call.
|
|
6748
|
+
*/
|
|
6749
|
+
connection_id?: string;
|
|
6750
|
+
|
|
6751
|
+
/**
|
|
6752
|
+
* Step-level error when payment collection fails.
|
|
6753
|
+
*/
|
|
6754
|
+
error_type?:
|
|
6755
|
+
| 'timeout'
|
|
6756
|
+
| 'invalid-card-number'
|
|
6757
|
+
| 'invalid-date'
|
|
6758
|
+
| 'invalid-security-code'
|
|
6759
|
+
| 'invalid-postal-code'
|
|
6760
|
+
| 'invalid-bank-routing-number'
|
|
6761
|
+
| 'invalid-bank-account-number'
|
|
6762
|
+
| 'input-matching-failed';
|
|
6763
|
+
|
|
6764
|
+
/**
|
|
6765
|
+
* Card expiration date in MMYY format.
|
|
6766
|
+
*/
|
|
6767
|
+
expiration_date?: string;
|
|
6768
|
+
|
|
6769
|
+
/**
|
|
6770
|
+
* Number or SIP URI placing the call.
|
|
6771
|
+
*/
|
|
6772
|
+
from?: string;
|
|
6773
|
+
|
|
6774
|
+
/**
|
|
6775
|
+
* Masked card number with only the last four digits visible.
|
|
6776
|
+
*/
|
|
6777
|
+
payment_card_number?: string;
|
|
6778
|
+
|
|
6779
|
+
/**
|
|
6780
|
+
* Billing postal code collected from the caller.
|
|
6781
|
+
*/
|
|
6782
|
+
payment_card_postal_code?: string;
|
|
6783
|
+
|
|
6784
|
+
/**
|
|
6785
|
+
* Detected card type. Present only for the recognized card brands listed below.
|
|
6786
|
+
*/
|
|
6787
|
+
payment_card_type?: 'visa' | 'mastercard' | 'amex' | 'discover' | 'diners-club' | 'jcb';
|
|
6788
|
+
|
|
6789
|
+
/**
|
|
6790
|
+
* Name of the Pay connector used.
|
|
6791
|
+
*/
|
|
6792
|
+
payment_connector?: string;
|
|
6793
|
+
|
|
6794
|
+
/**
|
|
6795
|
+
* Payment method being collected.
|
|
6796
|
+
*/
|
|
6797
|
+
payment_method?: 'credit-card' | 'ach-debit';
|
|
6798
|
+
|
|
6799
|
+
/**
|
|
6800
|
+
* Status of the current payment step.
|
|
6801
|
+
*/
|
|
6802
|
+
payment_status?: 'completed' | 'failed' | 'processing';
|
|
6803
|
+
|
|
6804
|
+
/**
|
|
6805
|
+
* Current payment collection or processing step.
|
|
6806
|
+
*/
|
|
6807
|
+
payment_step?:
|
|
6808
|
+
| 'payment-card-number'
|
|
6809
|
+
| 'expiration-date'
|
|
6810
|
+
| 'postal-code'
|
|
6811
|
+
| 'security-code'
|
|
6812
|
+
| 'bank-routing-number'
|
|
6813
|
+
| 'bank-account-number'
|
|
6814
|
+
| 'payment-processing';
|
|
6815
|
+
|
|
6816
|
+
/**
|
|
6817
|
+
* Fully masked card security code.
|
|
6818
|
+
*/
|
|
6819
|
+
security_code?: string;
|
|
6820
|
+
|
|
6821
|
+
/**
|
|
6822
|
+
* Destination number or SIP URI of the call.
|
|
6823
|
+
*/
|
|
6824
|
+
to?: string;
|
|
6825
|
+
}
|
|
6826
|
+
}
|
|
6827
|
+
}
|
|
6828
|
+
|
|
6829
|
+
export interface CallPlaybackEndedWebhookEvent {
|
|
6830
|
+
data?: CallPlaybackEnded;
|
|
6831
|
+
}
|
|
6832
|
+
|
|
6833
|
+
export interface CallPlaybackStartedWebhookEvent {
|
|
6834
|
+
data?: CallPlaybackStarted;
|
|
6835
|
+
}
|
|
6836
|
+
|
|
6837
|
+
export interface CallRecordingErrorWebhookEvent {
|
|
6838
|
+
data?: CallRecordingError;
|
|
6839
|
+
}
|
|
6840
|
+
|
|
6841
|
+
export interface CallRecordingSavedWebhookEvent {
|
|
6842
|
+
data?: CallRecordingSaved;
|
|
6843
|
+
}
|
|
6844
|
+
|
|
6845
|
+
export interface CallRecordingTranscriptionSavedWebhookEvent {
|
|
6846
|
+
data?: CallRecordingTranscriptionSaved;
|
|
6847
|
+
}
|
|
6848
|
+
|
|
6849
|
+
export interface CallReferCompletedWebhookEvent {
|
|
6850
|
+
data?: CallReferCompleted;
|
|
6851
|
+
}
|
|
6852
|
+
|
|
6853
|
+
export interface CallReferFailedWebhookEvent {
|
|
6854
|
+
data?: CallReferFailed;
|
|
6855
|
+
}
|
|
6856
|
+
|
|
6857
|
+
export interface CallReferStartedWebhookEvent {
|
|
6858
|
+
data?: CallReferStarted;
|
|
6859
|
+
}
|
|
6860
|
+
|
|
6861
|
+
export interface CallSiprecFailedWebhookEvent {
|
|
6862
|
+
data?: CallSiprecFailed;
|
|
6863
|
+
}
|
|
6864
|
+
|
|
6865
|
+
export interface CallSiprecStartedWebhookEvent {
|
|
6866
|
+
data?: CallSiprecStarted;
|
|
6867
|
+
}
|
|
6868
|
+
|
|
6869
|
+
export interface CallSiprecStoppedWebhookEvent {
|
|
6870
|
+
data?: CallSiprecStopped;
|
|
6871
|
+
}
|
|
6872
|
+
|
|
6873
|
+
export interface CallSpeakEndedWebhookEvent {
|
|
6874
|
+
data?: CallSpeakEnded;
|
|
6875
|
+
}
|
|
6876
|
+
|
|
6877
|
+
export interface CallSpeakStartedWebhookEvent {
|
|
6878
|
+
data?: CallSpeakStarted;
|
|
6879
|
+
}
|
|
6880
|
+
|
|
6881
|
+
export interface CallStreamingFailedWebhookEvent {
|
|
6882
|
+
data?: CallStreamingFailed;
|
|
6883
|
+
}
|
|
6884
|
+
|
|
6885
|
+
export interface CallStreamingStartedWebhookEvent {
|
|
6886
|
+
data?: CallStreamingStarted;
|
|
6887
|
+
}
|
|
6888
|
+
|
|
6889
|
+
export interface CallStreamingStoppedWebhookEvent {
|
|
6890
|
+
data?: CallStreamingStopped;
|
|
6891
|
+
}
|
|
6892
|
+
|
|
6893
|
+
export interface CallUnholdWebhookEvent {
|
|
6894
|
+
data?: CallUnholdWebhookEvent.Data;
|
|
6895
|
+
}
|
|
6896
|
+
|
|
6897
|
+
export namespace CallUnholdWebhookEvent {
|
|
6898
|
+
export interface Data {
|
|
6899
|
+
/**
|
|
6900
|
+
* Identifies the type of resource.
|
|
6901
|
+
*/
|
|
6902
|
+
id?: string;
|
|
6903
|
+
|
|
6904
|
+
/**
|
|
6905
|
+
* The type of event being delivered.
|
|
6906
|
+
*/
|
|
6907
|
+
event_type?: 'call.unhold';
|
|
6908
|
+
|
|
6909
|
+
/**
|
|
6910
|
+
* ISO 8601 datetime of when the event occurred.
|
|
6911
|
+
*/
|
|
6912
|
+
occurred_at?: string;
|
|
6913
|
+
|
|
6914
|
+
payload?: Data.Payload;
|
|
6915
|
+
|
|
6916
|
+
/**
|
|
6917
|
+
* Identifies the type of the resource.
|
|
6918
|
+
*/
|
|
6919
|
+
record_type?: 'event';
|
|
6920
|
+
}
|
|
6921
|
+
|
|
6922
|
+
export namespace Data {
|
|
6923
|
+
export interface Payload {
|
|
6924
|
+
/**
|
|
6925
|
+
* Call ID used to issue commands via Call Control API.
|
|
6926
|
+
*/
|
|
6927
|
+
call_control_id?: string;
|
|
6928
|
+
|
|
6929
|
+
/**
|
|
6930
|
+
* ID that is unique to the call and can be used to correlate webhook events.
|
|
6931
|
+
*/
|
|
6932
|
+
call_leg_id?: string;
|
|
6933
|
+
|
|
6934
|
+
/**
|
|
6935
|
+
* ID that is unique to the call session and can be used to correlate webhook
|
|
6936
|
+
* events. Call session is a group of related call legs that logically belong to
|
|
6937
|
+
* the same phone call, e.g. an inbound and outbound leg of a transferred call.
|
|
6938
|
+
*/
|
|
6939
|
+
call_session_id?: string;
|
|
6940
|
+
|
|
6941
|
+
/**
|
|
6942
|
+
* State received from a command.
|
|
6943
|
+
*/
|
|
6944
|
+
client_state?: string;
|
|
6945
|
+
|
|
6946
|
+
/**
|
|
6947
|
+
* Call Control App ID (formerly Telnyx connection ID) used in the call.
|
|
6948
|
+
*/
|
|
6949
|
+
connection_id?: string;
|
|
6950
|
+
|
|
6951
|
+
/**
|
|
6952
|
+
* Number or SIP URI placing the call.
|
|
6953
|
+
*/
|
|
6954
|
+
from?: string;
|
|
6955
|
+
|
|
6956
|
+
/**
|
|
6957
|
+
* Destination number or SIP URI of the call.
|
|
6958
|
+
*/
|
|
6959
|
+
to?: string;
|
|
6960
|
+
}
|
|
6961
|
+
}
|
|
6962
|
+
}
|
|
6963
|
+
|
|
6964
|
+
export interface ConferenceCreatedWebhookEvent {
|
|
6965
|
+
data?: ConferenceCreated;
|
|
6966
|
+
}
|
|
6967
|
+
|
|
6968
|
+
export interface ConferenceEndedWebhookEvent {
|
|
6969
|
+
data?: ConferenceEnded;
|
|
6970
|
+
}
|
|
6971
|
+
|
|
6972
|
+
export interface ConferenceParticipantJoinedWebhookEvent {
|
|
6973
|
+
data?: ConferenceParticipantJoined;
|
|
6974
|
+
}
|
|
6975
|
+
|
|
6976
|
+
export interface ConferenceParticipantLeftWebhookEvent {
|
|
6977
|
+
data?: ConferenceParticipantLeft;
|
|
6978
|
+
}
|
|
6979
|
+
|
|
6980
|
+
export interface ConferenceParticipantPlaybackEndedWebhookEvent {
|
|
6981
|
+
data?: ConferenceParticipantPlaybackEnded;
|
|
6982
|
+
}
|
|
6983
|
+
|
|
6984
|
+
export interface ConferenceParticipantPlaybackStartedWebhookEvent {
|
|
6985
|
+
data?: ConferenceParticipantPlaybackStarted;
|
|
6986
|
+
}
|
|
6987
|
+
|
|
6988
|
+
export interface ConferenceParticipantSpeakEndedWebhookEvent {
|
|
6989
|
+
data?: ConferenceParticipantSpeakEnded;
|
|
6990
|
+
}
|
|
6991
|
+
|
|
6992
|
+
export interface ConferenceParticipantSpeakStartedWebhookEvent {
|
|
6993
|
+
data?: ConferenceParticipantSpeakStarted;
|
|
6994
|
+
}
|
|
6995
|
+
|
|
6996
|
+
export interface ConferencePlaybackEndedWebhookEvent {
|
|
6997
|
+
data?: ConferencePlaybackEnded;
|
|
6998
|
+
}
|
|
6999
|
+
|
|
7000
|
+
export interface ConferencePlaybackStartedWebhookEvent {
|
|
7001
|
+
data?: ConferencePlaybackStarted;
|
|
7002
|
+
}
|
|
7003
|
+
|
|
7004
|
+
export interface ConferenceRecordingSavedWebhookEvent {
|
|
7005
|
+
data?: ConferenceRecordingSaved;
|
|
7006
|
+
}
|
|
7007
|
+
|
|
7008
|
+
export interface ConferenceSpeakEndedWebhookEvent {
|
|
7009
|
+
data?: ConferenceSpeakEnded;
|
|
7010
|
+
}
|
|
7011
|
+
|
|
7012
|
+
export interface ConferenceSpeakStartedWebhookEvent {
|
|
7013
|
+
data?: ConferenceSpeakStarted;
|
|
7014
|
+
}
|
|
7015
|
+
|
|
7016
|
+
export interface DeliveryUpdateWebhookEvent {
|
|
7017
|
+
data?: OutboundMessage;
|
|
7018
|
+
|
|
7019
|
+
meta?: DeliveryUpdateWebhookEvent.Meta;
|
|
7020
|
+
}
|
|
7021
|
+
|
|
7022
|
+
export namespace DeliveryUpdateWebhookEvent {
|
|
7023
|
+
export interface Meta {
|
|
7024
|
+
/**
|
|
7025
|
+
* Number of attempts to deliver the webhook event.
|
|
7026
|
+
*/
|
|
7027
|
+
attempt?: number;
|
|
7028
|
+
|
|
7029
|
+
/**
|
|
7030
|
+
* The webhook URL the event was delivered to.
|
|
7031
|
+
*/
|
|
7032
|
+
delivered_to?: string;
|
|
7033
|
+
}
|
|
7034
|
+
}
|
|
7035
|
+
|
|
7036
|
+
export interface HostedNumberOrderEventWebhookEvent {
|
|
7037
|
+
data?: HostedNumberOrderEventWebhookEvent.Data;
|
|
7038
|
+
}
|
|
7039
|
+
|
|
7040
|
+
export namespace HostedNumberOrderEventWebhookEvent {
|
|
7041
|
+
export interface Data {
|
|
7042
|
+
/**
|
|
7043
|
+
* Unique identifier for the event.
|
|
7044
|
+
*/
|
|
7045
|
+
id?: string;
|
|
7046
|
+
|
|
7047
|
+
/**
|
|
7048
|
+
* The type of event being delivered. Internal transfer events are only emitted for
|
|
7049
|
+
* orders where the numbers are already active on another Telnyx account.
|
|
7050
|
+
*/
|
|
7051
|
+
event_type?:
|
|
7052
|
+
| 'messaging_hosted_numbers_orders.created'
|
|
7053
|
+
| 'messaging_hosted_numbers_orders.updated'
|
|
7054
|
+
| 'messaging_hosted_numbers_orders.deleted'
|
|
7055
|
+
| 'messaging_hosted_numbers_orders.internal_transfer_detected'
|
|
7056
|
+
| 'messaging_hosted_numbers_orders.internal_transfer_approval_requested'
|
|
7057
|
+
| 'messaging_hosted_numbers_orders.internal_transfer_approved'
|
|
7058
|
+
| 'messaging_hosted_numbers_orders.internal_transfer_rejected'
|
|
7059
|
+
| 'messaging_hosted_numbers_orders.internal_transfer_auto_approved';
|
|
7060
|
+
|
|
7061
|
+
/**
|
|
7062
|
+
* ISO 8601 formatted date indicating when the event was generated.
|
|
7063
|
+
*/
|
|
7064
|
+
occurred_at?: string;
|
|
7065
|
+
|
|
7066
|
+
/**
|
|
7067
|
+
* Payload delivered with every messaging*hosted_numbers_orders.\* event.
|
|
7068
|
+
* `approval_deadline` and `decision` are meaningful only for
|
|
7069
|
+
* `internal_transfer*\*` events.
|
|
7070
|
+
*/
|
|
7071
|
+
payload?: Data.Payload;
|
|
7072
|
+
|
|
7073
|
+
/**
|
|
7074
|
+
* Identifies the type of the resource.
|
|
7075
|
+
*/
|
|
7076
|
+
record_type?: 'event';
|
|
7077
|
+
}
|
|
7078
|
+
|
|
7079
|
+
export namespace Data {
|
|
7080
|
+
/**
|
|
7081
|
+
* Payload delivered with every messaging*hosted_numbers_orders.\* event.
|
|
7082
|
+
* `approval_deadline` and `decision` are meaningful only for
|
|
7083
|
+
* `internal_transfer*\*` events.
|
|
7084
|
+
*/
|
|
7085
|
+
export interface Payload {
|
|
7086
|
+
/**
|
|
7087
|
+
* Unix timestamp (seconds) by which the losing organization must respond before
|
|
7088
|
+
* auto-approval. Populated on internal-transfer events once an approval window has
|
|
7089
|
+
* been issued.
|
|
7090
|
+
*/
|
|
7091
|
+
approval_deadline?: number | null;
|
|
7092
|
+
|
|
7093
|
+
/**
|
|
7094
|
+
* Approval decision for the internal transfer. Defaults to `pending` for
|
|
7095
|
+
* non-internal-transfer events.
|
|
7096
|
+
*/
|
|
7097
|
+
decision?: 'pending' | 'approved' | 'rejected';
|
|
7098
|
+
|
|
7099
|
+
numbers?: Array<Payload.Number>;
|
|
7100
|
+
|
|
7101
|
+
/**
|
|
7102
|
+
* The ID of the hosted number order.
|
|
7103
|
+
*/
|
|
7104
|
+
order_id?: string;
|
|
7105
|
+
|
|
7106
|
+
/**
|
|
7107
|
+
* Current status of the order.
|
|
7108
|
+
*/
|
|
7109
|
+
order_status?:
|
|
7110
|
+
| 'pending'
|
|
7111
|
+
| 'provisioning'
|
|
7112
|
+
| 'successful'
|
|
7113
|
+
| 'failed'
|
|
7114
|
+
| 'deleted'
|
|
7115
|
+
| 'carrier_rejected'
|
|
7116
|
+
| 'compliance_review_failed'
|
|
7117
|
+
| 'incomplete_documentation'
|
|
7118
|
+
| 'incorrect_billing_information'
|
|
7119
|
+
| 'ineligible_carrier'
|
|
7120
|
+
| 'loa_file_invalid'
|
|
7121
|
+
| 'loa_file_successful';
|
|
7122
|
+
|
|
7123
|
+
/**
|
|
7124
|
+
* The messaging profile associated with the order.
|
|
7125
|
+
*/
|
|
7126
|
+
profile_id?: string;
|
|
7127
|
+
|
|
7128
|
+
/**
|
|
7129
|
+
* The organization that owns the order.
|
|
7130
|
+
*/
|
|
7131
|
+
user_id?: string;
|
|
7132
|
+
}
|
|
7133
|
+
|
|
7134
|
+
export namespace Payload {
|
|
7135
|
+
export interface Number {
|
|
7136
|
+
/**
|
|
7137
|
+
* Current status of this phone number within the order.
|
|
7138
|
+
*/
|
|
7139
|
+
status?:
|
|
7140
|
+
| 'deleted'
|
|
7141
|
+
| 'failed'
|
|
7142
|
+
| 'failed_activation'
|
|
7143
|
+
| 'failed_carrier_rejected'
|
|
7144
|
+
| 'failed_ineligible_carrier'
|
|
7145
|
+
| 'failed_number_already_hosted'
|
|
7146
|
+
| 'failed_number_not_found'
|
|
7147
|
+
| 'failed_ownership_verification'
|
|
7148
|
+
| 'failed_timeout'
|
|
7149
|
+
| 'ownership_successful'
|
|
7150
|
+
| 'pending'
|
|
7151
|
+
| 'provisioning'
|
|
7152
|
+
| 'successful';
|
|
7153
|
+
|
|
7154
|
+
/**
|
|
7155
|
+
* Phone number in +E.164 format.
|
|
7156
|
+
*/
|
|
7157
|
+
value?: string;
|
|
7158
|
+
}
|
|
7159
|
+
}
|
|
7160
|
+
}
|
|
7161
|
+
}
|
|
7162
|
+
|
|
7163
|
+
export interface InboundMessageWebhookEvent {
|
|
7164
|
+
data?: InboundMessageWebhookEvent.Data;
|
|
7165
|
+
}
|
|
7166
|
+
|
|
7167
|
+
export namespace InboundMessageWebhookEvent {
|
|
7168
|
+
export interface Data {
|
|
7169
|
+
/**
|
|
7170
|
+
* Identifies the type of resource.
|
|
7171
|
+
*/
|
|
7172
|
+
id?: string;
|
|
7173
|
+
|
|
7174
|
+
/**
|
|
7175
|
+
* The type of event being delivered.
|
|
7176
|
+
*/
|
|
7177
|
+
event_type?: 'message.received';
|
|
7178
|
+
|
|
7179
|
+
/**
|
|
7180
|
+
* ISO 8601 formatted date indicating when the resource was created.
|
|
7181
|
+
*/
|
|
7182
|
+
occurred_at?: string;
|
|
7183
|
+
|
|
7184
|
+
payload?: Data.Payload;
|
|
7185
|
+
|
|
7186
|
+
/**
|
|
7187
|
+
* Identifies the type of the resource.
|
|
7188
|
+
*/
|
|
7189
|
+
record_type?: 'event';
|
|
7190
|
+
}
|
|
7191
|
+
|
|
7192
|
+
export namespace Data {
|
|
7193
|
+
export interface Payload {
|
|
7194
|
+
/**
|
|
7195
|
+
* Identifies the type of resource.
|
|
7196
|
+
*/
|
|
7197
|
+
id?: string;
|
|
7198
|
+
|
|
7199
|
+
cc?: Array<Payload.Cc>;
|
|
7200
|
+
|
|
7201
|
+
/**
|
|
7202
|
+
* Not used for inbound messages.
|
|
7203
|
+
*/
|
|
7204
|
+
completed_at?: string | null;
|
|
7205
|
+
|
|
7206
|
+
cost?: Payload.Cost | null;
|
|
7207
|
+
|
|
7208
|
+
/**
|
|
7209
|
+
* Detailed breakdown of the message cost components.
|
|
7210
|
+
*/
|
|
7211
|
+
cost_breakdown?: Payload.CostBreakdown | null;
|
|
7212
|
+
|
|
7213
|
+
/**
|
|
7214
|
+
* The direction of the message. Inbound messages are sent to you whereas outbound
|
|
7215
|
+
* messages are sent from you.
|
|
7216
|
+
*/
|
|
7217
|
+
direction?: 'inbound';
|
|
7218
|
+
|
|
7219
|
+
/**
|
|
7220
|
+
* Encoding scheme used for the message body.
|
|
7221
|
+
*/
|
|
7222
|
+
encoding?: string;
|
|
7223
|
+
|
|
7224
|
+
/**
|
|
7225
|
+
* These errors may point at addressees when referring to unsuccessful/unconfirmed
|
|
7226
|
+
* delivery statuses.
|
|
7227
|
+
*/
|
|
7228
|
+
errors?: Array<MessagesAPI.MessagingError0b38e7044b>;
|
|
7229
|
+
|
|
7230
|
+
from?: Payload.From;
|
|
7231
|
+
|
|
7232
|
+
media?: Array<Payload.Media>;
|
|
7233
|
+
|
|
7234
|
+
/**
|
|
7235
|
+
* Unique identifier for a messaging profile.
|
|
7236
|
+
*/
|
|
7237
|
+
messaging_profile_id?: string;
|
|
7238
|
+
|
|
7239
|
+
/**
|
|
7240
|
+
* The number of characters in the message text
|
|
7241
|
+
*/
|
|
7242
|
+
num_chars?: number;
|
|
7243
|
+
|
|
7244
|
+
/**
|
|
7245
|
+
* Unique identifier for a messaging profile.
|
|
7246
|
+
*/
|
|
7247
|
+
organization_id?: string;
|
|
7248
|
+
|
|
7249
|
+
/**
|
|
7250
|
+
* Number of parts into which the message's body must be split.
|
|
7251
|
+
*/
|
|
7252
|
+
parts?: number;
|
|
7253
|
+
|
|
7254
|
+
/**
|
|
7255
|
+
* ISO 8601 formatted date indicating when the message request was received.
|
|
7256
|
+
*/
|
|
7257
|
+
received_at?: string;
|
|
7258
|
+
|
|
7259
|
+
/**
|
|
7260
|
+
* Identifies the type of the resource.
|
|
7261
|
+
*/
|
|
7262
|
+
record_type?: 'message';
|
|
7263
|
+
|
|
7264
|
+
/**
|
|
7265
|
+
* Not used for inbound messages.
|
|
7266
|
+
*/
|
|
7267
|
+
sent_at?: string | null;
|
|
7268
|
+
|
|
7269
|
+
/**
|
|
7270
|
+
* Message subject.
|
|
7271
|
+
*/
|
|
7272
|
+
subject?: string | null;
|
|
7273
|
+
|
|
7274
|
+
/**
|
|
7275
|
+
* Tags associated with the resource.
|
|
7276
|
+
*/
|
|
7277
|
+
tags?: Array<string>;
|
|
7278
|
+
|
|
7279
|
+
/**
|
|
7280
|
+
* Indicates whether the TCR campaign is billable.
|
|
7281
|
+
*/
|
|
7282
|
+
tcr_campaign_billable?: boolean;
|
|
7283
|
+
|
|
7284
|
+
/**
|
|
7285
|
+
* The Campaign Registry (TCR) campaign ID associated with the message.
|
|
7286
|
+
*/
|
|
7287
|
+
tcr_campaign_id?: string | null;
|
|
7288
|
+
|
|
7289
|
+
/**
|
|
7290
|
+
* The registration status of the TCR campaign.
|
|
7291
|
+
*/
|
|
7292
|
+
tcr_campaign_registered?: string | null;
|
|
7293
|
+
|
|
7294
|
+
/**
|
|
7295
|
+
* Message body (i.e., content) as a non-empty string.
|
|
7296
|
+
*
|
|
7297
|
+
* **Required for SMS**
|
|
7298
|
+
*/
|
|
7299
|
+
text?: string;
|
|
7300
|
+
|
|
7301
|
+
to?: Array<Payload.To>;
|
|
7302
|
+
|
|
7303
|
+
/**
|
|
7304
|
+
* The type of message. This value can be either 'sms' or 'mms'.
|
|
7305
|
+
*/
|
|
7306
|
+
type?: 'SMS' | 'MMS';
|
|
7307
|
+
|
|
7308
|
+
/**
|
|
7309
|
+
* Not used for inbound messages.
|
|
7310
|
+
*/
|
|
7311
|
+
valid_until?: string | null;
|
|
7312
|
+
|
|
7313
|
+
/**
|
|
7314
|
+
* The failover URL where webhooks related to this message will be sent if sending
|
|
7315
|
+
* to the primary URL fails.
|
|
7316
|
+
*/
|
|
7317
|
+
webhook_failover_url?: string | null;
|
|
7318
|
+
|
|
7319
|
+
/**
|
|
7320
|
+
* The URL where webhooks related to this message will be sent.
|
|
7321
|
+
*/
|
|
7322
|
+
webhook_url?: string | null;
|
|
7323
|
+
}
|
|
7324
|
+
|
|
7325
|
+
export namespace Payload {
|
|
7326
|
+
export interface Cc {
|
|
7327
|
+
/**
|
|
7328
|
+
* The carrier of the receiver.
|
|
7329
|
+
*/
|
|
7330
|
+
carrier?: string;
|
|
7331
|
+
|
|
7332
|
+
/**
|
|
7333
|
+
* The line-type of the receiver.
|
|
7334
|
+
*/
|
|
7335
|
+
line_type?: 'Wireline' | 'Wireless' | 'VoWiFi' | 'VoIP' | 'Pre-Paid Wireless' | '';
|
|
7336
|
+
|
|
7337
|
+
/**
|
|
7338
|
+
* Receiving address (+E.164 formatted phone number or short code).
|
|
7339
|
+
*/
|
|
7340
|
+
phone_number?: string;
|
|
7341
|
+
|
|
7342
|
+
status?:
|
|
7343
|
+
| 'queued'
|
|
7344
|
+
| 'sending'
|
|
7345
|
+
| 'sent'
|
|
7346
|
+
| 'delivered'
|
|
7347
|
+
| 'sending_failed'
|
|
7348
|
+
| 'delivery_failed'
|
|
7349
|
+
| 'delivery_unconfirmed';
|
|
7350
|
+
}
|
|
7351
|
+
|
|
7352
|
+
export interface Cost {
|
|
7353
|
+
/**
|
|
7354
|
+
* The amount deducted from your account.
|
|
7355
|
+
*/
|
|
7356
|
+
amount?: string;
|
|
7357
|
+
|
|
7358
|
+
/**
|
|
7359
|
+
* The ISO 4217 currency identifier.
|
|
7360
|
+
*/
|
|
7361
|
+
currency?: string;
|
|
7362
|
+
}
|
|
7363
|
+
|
|
7364
|
+
/**
|
|
7365
|
+
* Detailed breakdown of the message cost components.
|
|
7366
|
+
*/
|
|
7367
|
+
export interface CostBreakdown {
|
|
7368
|
+
carrier_fee?: CostBreakdown.CarrierFee;
|
|
7369
|
+
|
|
7370
|
+
rate?: CostBreakdown.Rate;
|
|
7371
|
+
}
|
|
7372
|
+
|
|
7373
|
+
export namespace CostBreakdown {
|
|
7374
|
+
export interface CarrierFee {
|
|
7375
|
+
/**
|
|
7376
|
+
* The carrier fee amount.
|
|
7377
|
+
*/
|
|
7378
|
+
amount?: string;
|
|
7379
|
+
|
|
7380
|
+
/**
|
|
7381
|
+
* The ISO 4217 currency identifier.
|
|
7382
|
+
*/
|
|
7383
|
+
currency?: string;
|
|
7384
|
+
}
|
|
7385
|
+
|
|
7386
|
+
export interface Rate {
|
|
7387
|
+
/**
|
|
7388
|
+
* The rate amount applied.
|
|
7389
|
+
*/
|
|
7390
|
+
amount?: string;
|
|
7391
|
+
|
|
7392
|
+
/**
|
|
7393
|
+
* The ISO 4217 currency identifier.
|
|
7394
|
+
*/
|
|
7395
|
+
currency?: string;
|
|
7396
|
+
}
|
|
7397
|
+
}
|
|
7398
|
+
|
|
7399
|
+
export interface From {
|
|
7400
|
+
/**
|
|
7401
|
+
* The carrier of the sender.
|
|
7402
|
+
*/
|
|
7403
|
+
carrier?: string;
|
|
7404
|
+
|
|
7405
|
+
/**
|
|
7406
|
+
* The line-type of the sender.
|
|
7407
|
+
*/
|
|
7408
|
+
line_type?: 'Wireline' | 'Wireless' | 'VoWiFi' | 'VoIP' | 'Pre-Paid Wireless' | '';
|
|
7409
|
+
|
|
7410
|
+
/**
|
|
7411
|
+
* Sending address (+E.164 formatted phone number, alphanumeric sender ID, or short
|
|
7412
|
+
* code).
|
|
7413
|
+
*/
|
|
7414
|
+
phone_number?: string;
|
|
7415
|
+
|
|
7416
|
+
status?: 'received' | 'delivered';
|
|
7417
|
+
}
|
|
7418
|
+
|
|
7419
|
+
export interface Media {
|
|
7420
|
+
/**
|
|
7421
|
+
* The MIME type of the requested media.
|
|
7422
|
+
*/
|
|
7423
|
+
content_type?: string;
|
|
7424
|
+
|
|
7425
|
+
/**
|
|
7426
|
+
* The SHA256 hash of the requested media.
|
|
7427
|
+
*/
|
|
7428
|
+
hash_sha256?: string;
|
|
7429
|
+
|
|
7430
|
+
/**
|
|
7431
|
+
* The size of the requested media.
|
|
7432
|
+
*/
|
|
7433
|
+
size?: number;
|
|
7434
|
+
|
|
7435
|
+
/**
|
|
7436
|
+
* The url of the media requested to be sent.
|
|
7437
|
+
*/
|
|
7438
|
+
url?: string;
|
|
7439
|
+
}
|
|
7440
|
+
|
|
7441
|
+
export interface To {
|
|
7442
|
+
/**
|
|
7443
|
+
* The carrier of the receiver.
|
|
7444
|
+
*/
|
|
7445
|
+
carrier?: string;
|
|
7446
|
+
|
|
7447
|
+
/**
|
|
7448
|
+
* The line-type of the receiver.
|
|
7449
|
+
*/
|
|
7450
|
+
line_type?: 'Wireline' | 'Wireless' | 'VoWiFi' | 'VoIP' | 'Pre-Paid Wireless' | '';
|
|
7451
|
+
|
|
7452
|
+
/**
|
|
7453
|
+
* Receiving address (+E.164 formatted phone number or short code).
|
|
7454
|
+
*/
|
|
7455
|
+
phone_number?: string;
|
|
7456
|
+
|
|
7457
|
+
status?:
|
|
7458
|
+
| 'queued'
|
|
7459
|
+
| 'sending'
|
|
7460
|
+
| 'sent'
|
|
7461
|
+
| 'delivered'
|
|
7462
|
+
| 'sending_failed'
|
|
7463
|
+
| 'delivery_failed'
|
|
7464
|
+
| 'delivery_unconfirmed'
|
|
7465
|
+
| 'webhook_delivered';
|
|
7466
|
+
}
|
|
7467
|
+
}
|
|
7468
|
+
}
|
|
7469
|
+
}
|
|
7470
|
+
|
|
7471
|
+
export interface NumberOrderStatusUpdateWebhookEvent {
|
|
7472
|
+
data: NumberOrderStatusUpdateWebhookEvent.Data;
|
|
7473
|
+
|
|
7474
|
+
meta: NumberOrderStatusUpdateWebhookEvent.Meta;
|
|
7475
|
+
}
|
|
7476
|
+
|
|
7477
|
+
export namespace NumberOrderStatusUpdateWebhookEvent {
|
|
7478
|
+
export interface Data {
|
|
7479
|
+
/**
|
|
7480
|
+
* Unique identifier for the event
|
|
7481
|
+
*/
|
|
7482
|
+
id: string;
|
|
7483
|
+
|
|
7484
|
+
/**
|
|
7485
|
+
* The type of event being sent
|
|
7486
|
+
*/
|
|
7487
|
+
event_type: string;
|
|
7488
|
+
|
|
7489
|
+
/**
|
|
7490
|
+
* ISO 8601 timestamp of when the event occurred
|
|
7491
|
+
*/
|
|
7492
|
+
occurred_at: string;
|
|
7493
|
+
|
|
7494
|
+
/**
|
|
7495
|
+
* Number order data delivered in a webhook. Server-generated fields are valid in
|
|
7496
|
+
* this outbound webhook request.
|
|
7497
|
+
*/
|
|
7498
|
+
payload: Data.Payload;
|
|
7499
|
+
|
|
7500
|
+
/**
|
|
7501
|
+
* Type of record
|
|
7502
|
+
*/
|
|
7503
|
+
record_type: string;
|
|
7504
|
+
}
|
|
7505
|
+
|
|
7506
|
+
export namespace Data {
|
|
7507
|
+
/**
|
|
7508
|
+
* Number order data delivered in a webhook. Server-generated fields are valid in
|
|
7509
|
+
* this outbound webhook request.
|
|
7510
|
+
*/
|
|
7511
|
+
export interface Payload {
|
|
7512
|
+
id?: string;
|
|
7513
|
+
|
|
7514
|
+
/**
|
|
7515
|
+
* Identifies the messaging profile associated with the phone number.
|
|
7516
|
+
*/
|
|
7517
|
+
billing_group_id?: string;
|
|
7518
|
+
|
|
7519
|
+
/**
|
|
7520
|
+
* Identifies the connection associated with this phone number.
|
|
7521
|
+
*/
|
|
7522
|
+
connection_id?: string;
|
|
7523
|
+
|
|
7524
|
+
/**
|
|
7525
|
+
* An ISO 8901 datetime string denoting when the number order was created.
|
|
7526
|
+
*/
|
|
7527
|
+
created_at?: string;
|
|
7528
|
+
|
|
7529
|
+
/**
|
|
7530
|
+
* A customer reference string for customer look ups.
|
|
7531
|
+
*/
|
|
7532
|
+
customer_reference?: string;
|
|
7533
|
+
|
|
7534
|
+
/**
|
|
7535
|
+
* Identifies the messaging profile associated with the phone number.
|
|
7536
|
+
*/
|
|
7537
|
+
messaging_profile_id?: string;
|
|
7538
|
+
|
|
7539
|
+
phone_numbers?: Array<Payload.PhoneNumber>;
|
|
7540
|
+
|
|
7541
|
+
/**
|
|
7542
|
+
* The count of phone numbers in the number order.
|
|
7543
|
+
*/
|
|
7544
|
+
phone_numbers_count?: number;
|
|
7545
|
+
|
|
7546
|
+
record_type?: string;
|
|
7547
|
+
|
|
7548
|
+
/**
|
|
7549
|
+
* True if all requirements are met for every phone number, false otherwise.
|
|
7550
|
+
*/
|
|
7551
|
+
requirements_met?: boolean;
|
|
7552
|
+
|
|
7553
|
+
/**
|
|
7554
|
+
* The status of the order.
|
|
7555
|
+
*/
|
|
7556
|
+
status?: 'pending' | 'success' | 'failure';
|
|
7557
|
+
|
|
7558
|
+
sub_number_orders_ids?: Array<string>;
|
|
7559
|
+
|
|
7560
|
+
/**
|
|
7561
|
+
* An ISO 8901 datetime string for when the number order was updated.
|
|
7562
|
+
*/
|
|
7563
|
+
updated_at?: string;
|
|
7564
|
+
}
|
|
7565
|
+
|
|
7566
|
+
export namespace Payload {
|
|
7567
|
+
/**
|
|
7568
|
+
* The unique phone numbers given as arguments in the job creation.
|
|
7569
|
+
*/
|
|
7570
|
+
export interface PhoneNumber {
|
|
7571
|
+
id?: string;
|
|
7572
|
+
|
|
7573
|
+
bundle_id?: string;
|
|
7574
|
+
|
|
7575
|
+
/**
|
|
7576
|
+
* Country code of the phone number
|
|
7577
|
+
*/
|
|
7578
|
+
country_code?: string;
|
|
7579
|
+
|
|
7580
|
+
/**
|
|
7581
|
+
* The ISO 3166-1 alpha-2 country code of the phone number.
|
|
7582
|
+
*/
|
|
7583
|
+
country_iso_alpha2?: string;
|
|
7584
|
+
|
|
7585
|
+
phone_number?: string;
|
|
7586
|
+
|
|
7587
|
+
/**
|
|
7588
|
+
* Phone number type
|
|
7589
|
+
*/
|
|
7590
|
+
phone_number_type?: 'local' | 'mobile' | 'national' | 'shared_cost' | 'toll_free';
|
|
7591
|
+
|
|
7592
|
+
record_type?: string;
|
|
7593
|
+
|
|
7594
|
+
regulatory_requirements?: Array<PhoneNumber.RegulatoryRequirement>;
|
|
7595
|
+
|
|
7596
|
+
/**
|
|
7597
|
+
* True if all requirements are met for a phone number, false otherwise.
|
|
7598
|
+
*/
|
|
7599
|
+
requirements_met?: boolean;
|
|
7600
|
+
|
|
7601
|
+
/**
|
|
7602
|
+
* Status of document requirements (if applicable)
|
|
7603
|
+
*/
|
|
7604
|
+
requirements_status?:
|
|
7605
|
+
| 'pending'
|
|
7606
|
+
| 'approved'
|
|
7607
|
+
| 'cancelled'
|
|
7608
|
+
| 'deleted'
|
|
7609
|
+
| 'requirement-info-exception'
|
|
7610
|
+
| 'requirement-info-pending'
|
|
7611
|
+
| 'requirement-info-under-review';
|
|
7612
|
+
|
|
7613
|
+
/**
|
|
7614
|
+
* The status of the phone number in the order.
|
|
7615
|
+
*/
|
|
7616
|
+
status?: 'pending' | 'success' | 'failure';
|
|
7617
|
+
}
|
|
7618
|
+
|
|
7619
|
+
export namespace PhoneNumber {
|
|
7620
|
+
/**
|
|
7621
|
+
* Regulatory requirement data delivered in a number order webhook.
|
|
7622
|
+
*/
|
|
7623
|
+
export interface RegulatoryRequirement {
|
|
7624
|
+
field_type?: 'textual' | 'datetime' | 'address' | 'document';
|
|
7625
|
+
|
|
7626
|
+
/**
|
|
7627
|
+
* The value of the requirement, this could be an id to a resource or a string
|
|
7628
|
+
* value.
|
|
7629
|
+
*/
|
|
7630
|
+
field_value?: string;
|
|
7631
|
+
|
|
7632
|
+
record_type?: string;
|
|
7633
|
+
|
|
7634
|
+
/**
|
|
7635
|
+
* Unique id for a requirement.
|
|
7636
|
+
*/
|
|
7637
|
+
requirement_id?: string;
|
|
7638
|
+
}
|
|
7639
|
+
}
|
|
7640
|
+
}
|
|
7641
|
+
}
|
|
7642
|
+
|
|
7643
|
+
export interface Meta {
|
|
7644
|
+
/**
|
|
7645
|
+
* Webhook delivery attempt number
|
|
7646
|
+
*/
|
|
7647
|
+
attempt: number;
|
|
7648
|
+
|
|
7649
|
+
/**
|
|
7650
|
+
* URL where the webhook was delivered
|
|
7651
|
+
*/
|
|
7652
|
+
delivered_to: string;
|
|
7653
|
+
}
|
|
6209
7654
|
}
|
|
6210
7655
|
|
|
6211
7656
|
export interface ReplacedLinkClickWebhookEvent {
|
|
@@ -6240,6 +7685,8 @@ export type UnsafeUnwrapWebhookEvent =
|
|
|
6240
7685
|
| CallMachineGreetingEndedWebhookEvent
|
|
6241
7686
|
| CallMachinePremiumDetectionEndedWebhookEvent
|
|
6242
7687
|
| CallMachinePremiumGreetingEndedWebhookEvent
|
|
7688
|
+
| CallPaymentCompletedWebhookEvent
|
|
7689
|
+
| CallPaymentProgressWebhookEvent
|
|
6243
7690
|
| CallPlaybackEndedWebhookEvent
|
|
6244
7691
|
| CallPlaybackStartedWebhookEvent
|
|
6245
7692
|
| CallRecordingErrorWebhookEvent
|
|
@@ -6280,7 +7727,7 @@ export type UnsafeUnwrapWebhookEvent =
|
|
|
6280
7727
|
| FaxSendingStarted
|
|
6281
7728
|
| HostedNumberOrderEventWebhookEvent
|
|
6282
7729
|
| InboundMessageWebhookEvent
|
|
6283
|
-
|
|
|
7730
|
+
| NumberOrderStatusUpdateWebhookEvent
|
|
6284
7731
|
| ReplacedLinkClickWebhookEvent
|
|
6285
7732
|
| TranscriptionWebhookEvent;
|
|
6286
7733
|
|
|
@@ -6308,6 +7755,8 @@ export type UnwrapWebhookEvent =
|
|
|
6308
7755
|
| CallMachineGreetingEndedWebhookEvent
|
|
6309
7756
|
| CallMachinePremiumDetectionEndedWebhookEvent
|
|
6310
7757
|
| CallMachinePremiumGreetingEndedWebhookEvent
|
|
7758
|
+
| CallPaymentCompletedWebhookEvent
|
|
7759
|
+
| CallPaymentProgressWebhookEvent
|
|
6311
7760
|
| CallPlaybackEndedWebhookEvent
|
|
6312
7761
|
| CallPlaybackStartedWebhookEvent
|
|
6313
7762
|
| CallRecordingErrorWebhookEvent
|
|
@@ -6348,7 +7797,7 @@ export type UnwrapWebhookEvent =
|
|
|
6348
7797
|
| FaxSendingStarted
|
|
6349
7798
|
| HostedNumberOrderEventWebhookEvent
|
|
6350
7799
|
| InboundMessageWebhookEvent
|
|
6351
|
-
|
|
|
7800
|
+
| NumberOrderStatusUpdateWebhookEvent
|
|
6352
7801
|
| ReplacedLinkClickWebhookEvent
|
|
6353
7802
|
| TranscriptionWebhookEvent;
|
|
6354
7803
|
|
|
@@ -6437,6 +7886,8 @@ export declare namespace Webhooks {
|
|
|
6437
7886
|
type CallMachineGreetingEndedWebhookEvent as CallMachineGreetingEndedWebhookEvent,
|
|
6438
7887
|
type CallMachinePremiumDetectionEndedWebhookEvent as CallMachinePremiumDetectionEndedWebhookEvent,
|
|
6439
7888
|
type CallMachinePremiumGreetingEndedWebhookEvent as CallMachinePremiumGreetingEndedWebhookEvent,
|
|
7889
|
+
type CallPaymentCompletedWebhookEvent as CallPaymentCompletedWebhookEvent,
|
|
7890
|
+
type CallPaymentProgressWebhookEvent as CallPaymentProgressWebhookEvent,
|
|
6440
7891
|
type CallPlaybackEndedWebhookEvent as CallPlaybackEndedWebhookEvent,
|
|
6441
7892
|
type CallPlaybackStartedWebhookEvent as CallPlaybackStartedWebhookEvent,
|
|
6442
7893
|
type CallRecordingErrorWebhookEvent as CallRecordingErrorWebhookEvent,
|
|
@@ -6470,6 +7921,7 @@ export declare namespace Webhooks {
|
|
|
6470
7921
|
type DeliveryUpdateWebhookEvent as DeliveryUpdateWebhookEvent,
|
|
6471
7922
|
type HostedNumberOrderEventWebhookEvent as HostedNumberOrderEventWebhookEvent,
|
|
6472
7923
|
type InboundMessageWebhookEvent as InboundMessageWebhookEvent,
|
|
7924
|
+
type NumberOrderStatusUpdateWebhookEvent as NumberOrderStatusUpdateWebhookEvent,
|
|
6473
7925
|
type ReplacedLinkClickWebhookEvent as ReplacedLinkClickWebhookEvent,
|
|
6474
7926
|
type TranscriptionWebhookEvent as TranscriptionWebhookEvent,
|
|
6475
7927
|
type UnsafeUnwrapWebhookEvent as UnsafeUnwrapWebhookEvent,
|