telnyx 7.3.0 → 7.6.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 +21 -0
- package/README.md +9 -0
- package/client.d.mts +85 -83
- package/client.d.mts.map +1 -1
- package/client.d.ts +85 -83
- package/client.d.ts.map +1 -1
- package/client.js +9 -1
- package/client.js.map +1 -1
- package/client.mjs +9 -1
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +21 -0
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts +21 -0
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.js +25 -1
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +23 -0
- package/core/pagination.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/access-ip-address.d.mts +13 -13
- package/resources/access-ip-address.d.mts.map +1 -1
- package/resources/access-ip-address.d.ts +13 -13
- package/resources/access-ip-address.d.ts.map +1 -1
- package/resources/access-ip-address.js +12 -12
- package/resources/access-ip-address.js.map +1 -1
- package/resources/access-ip-address.mjs +12 -12
- package/resources/access-ip-address.mjs.map +1 -1
- package/resources/access-ip-ranges.d.mts +9 -9
- package/resources/access-ip-ranges.d.mts.map +1 -1
- package/resources/access-ip-ranges.d.ts +9 -9
- package/resources/access-ip-ranges.d.ts.map +1 -1
- package/resources/access-ip-ranges.js +6 -6
- package/resources/access-ip-ranges.js.map +1 -1
- package/resources/access-ip-ranges.mjs +6 -6
- package/resources/access-ip-ranges.mjs.map +1 -1
- package/resources/addresses/actions.d.mts +20 -20
- package/resources/addresses/actions.d.mts.map +1 -1
- package/resources/addresses/actions.d.ts +20 -20
- package/resources/addresses/actions.d.ts.map +1 -1
- package/resources/addresses/actions.js +15 -15
- package/resources/addresses/actions.js.map +1 -1
- package/resources/addresses/actions.mjs +15 -15
- package/resources/addresses/actions.mjs.map +1 -1
- package/resources/addresses/addresses.d.mts +96 -96
- package/resources/addresses/addresses.d.mts.map +1 -1
- package/resources/addresses/addresses.d.ts +96 -96
- package/resources/addresses/addresses.d.ts.map +1 -1
- package/resources/addresses/addresses.js +22 -22
- package/resources/addresses/addresses.js.map +1 -1
- package/resources/addresses/addresses.mjs +22 -22
- package/resources/addresses/addresses.mjs.map +1 -1
- package/resources/addresses/index.d.mts +2 -2
- package/resources/addresses/index.d.mts.map +1 -1
- package/resources/addresses/index.d.ts +2 -2
- package/resources/addresses/index.d.ts.map +1 -1
- package/resources/advanced-orders.d.mts +9 -9
- package/resources/advanced-orders.d.mts.map +1 -1
- package/resources/advanced-orders.d.ts +9 -9
- package/resources/advanced-orders.d.ts.map +1 -1
- package/resources/advanced-orders.js +11 -11
- package/resources/advanced-orders.js.map +1 -1
- package/resources/advanced-orders.mjs +11 -11
- package/resources/advanced-orders.mjs.map +1 -1
- package/resources/ai/ai.d.mts +58 -58
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +58 -58
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +40 -40
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +40 -40
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +52 -52
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +52 -52
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js +36 -36
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs +36 -36
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.mts +20 -20
- package/resources/ai/assistants/canary-deploys.d.mts.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.ts +20 -20
- package/resources/ai/assistants/canary-deploys.d.ts.map +1 -1
- package/resources/ai/assistants/canary-deploys.js +26 -26
- package/resources/ai/assistants/canary-deploys.js.map +1 -1
- package/resources/ai/assistants/canary-deploys.mjs +26 -26
- package/resources/ai/assistants/canary-deploys.mjs.map +1 -1
- package/resources/ai/assistants/index.d.mts +5 -5
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +5 -5
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/scheduled-events.d.mts +44 -44
- package/resources/ai/assistants/scheduled-events.d.mts.map +1 -1
- package/resources/ai/assistants/scheduled-events.d.ts +44 -44
- package/resources/ai/assistants/scheduled-events.d.ts.map +1 -1
- package/resources/ai/assistants/scheduled-events.js +32 -32
- package/resources/ai/assistants/scheduled-events.js.map +1 -1
- package/resources/ai/assistants/scheduled-events.mjs +32 -32
- package/resources/ai/assistants/scheduled-events.mjs.map +1 -1
- package/resources/ai/assistants/tests/index.d.mts +2 -2
- package/resources/ai/assistants/tests/index.d.mts.map +1 -1
- package/resources/ai/assistants/tests/index.d.ts +2 -2
- package/resources/ai/assistants/tests/index.d.ts.map +1 -1
- package/resources/ai/assistants/tests/runs.d.mts +19 -19
- package/resources/ai/assistants/tests/runs.d.mts.map +1 -1
- package/resources/ai/assistants/tests/runs.d.ts +19 -19
- package/resources/ai/assistants/tests/runs.d.ts.map +1 -1
- package/resources/ai/assistants/tests/runs.js +15 -15
- package/resources/ai/assistants/tests/runs.js.map +1 -1
- package/resources/ai/assistants/tests/runs.mjs +15 -15
- package/resources/ai/assistants/tests/runs.mjs.map +1 -1
- package/resources/ai/assistants/tests/tests.d.mts +38 -38
- package/resources/ai/assistants/tests/tests.d.mts.map +1 -1
- package/resources/ai/assistants/tests/tests.d.ts +38 -38
- package/resources/ai/assistants/tests/tests.d.ts.map +1 -1
- package/resources/ai/assistants/tests/tests.js +32 -32
- package/resources/ai/assistants/tests/tests.js.map +1 -1
- package/resources/ai/assistants/tests/tests.mjs +32 -32
- package/resources/ai/assistants/tests/tests.mjs.map +1 -1
- package/resources/ai/assistants/tools.d.mts +19 -19
- package/resources/ai/assistants/tools.d.mts.map +1 -1
- package/resources/ai/assistants/tools.d.ts +19 -19
- package/resources/ai/assistants/tools.d.ts.map +1 -1
- package/resources/ai/assistants/tools.js +10 -10
- package/resources/ai/assistants/tools.js.map +1 -1
- package/resources/ai/assistants/tools.mjs +10 -10
- package/resources/ai/assistants/tools.mjs.map +1 -1
- package/resources/ai/assistants/versions.d.mts +30 -30
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +30 -30
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/assistants/versions.js +31 -31
- package/resources/ai/assistants/versions.js.map +1 -1
- package/resources/ai/assistants/versions.mjs +31 -31
- package/resources/ai/assistants/versions.mjs.map +1 -1
- package/resources/ai/clusters.d.mts +30 -30
- package/resources/ai/clusters.d.mts.map +1 -1
- package/resources/ai/clusters.d.ts +30 -30
- package/resources/ai/clusters.d.ts.map +1 -1
- package/resources/ai/clusters.js +21 -21
- package/resources/ai/clusters.js.map +1 -1
- package/resources/ai/clusters.mjs +21 -21
- package/resources/ai/clusters.mjs.map +1 -1
- package/resources/ai/conversations/conversations.d.mts +51 -51
- package/resources/ai/conversations/conversations.d.mts.map +1 -1
- package/resources/ai/conversations/conversations.d.ts +51 -51
- package/resources/ai/conversations/conversations.d.ts.map +1 -1
- package/resources/ai/conversations/conversations.js +36 -36
- package/resources/ai/conversations/conversations.js.map +1 -1
- package/resources/ai/conversations/conversations.mjs +36 -36
- package/resources/ai/conversations/conversations.mjs.map +1 -1
- package/resources/ai/conversations/index.d.mts +3 -3
- package/resources/ai/conversations/index.d.mts.map +1 -1
- package/resources/ai/conversations/index.d.ts +3 -3
- package/resources/ai/conversations/index.d.ts.map +1 -1
- package/resources/ai/conversations/insight-groups/index.d.mts +1 -1
- package/resources/ai/conversations/insight-groups/index.d.mts.map +1 -1
- package/resources/ai/conversations/insight-groups/index.d.ts +1 -1
- package/resources/ai/conversations/insight-groups/index.d.ts.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.d.mts +26 -26
- package/resources/ai/conversations/insight-groups/insight-groups.d.mts.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.d.ts +26 -26
- package/resources/ai/conversations/insight-groups/insight-groups.d.ts.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.js +24 -24
- package/resources/ai/conversations/insight-groups/insight-groups.js.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.mjs +24 -24
- package/resources/ai/conversations/insight-groups/insight-groups.mjs.map +1 -1
- package/resources/ai/conversations/insights.d.mts +26 -26
- package/resources/ai/conversations/insights.d.mts.map +1 -1
- package/resources/ai/conversations/insights.d.ts +26 -26
- package/resources/ai/conversations/insights.d.ts.map +1 -1
- package/resources/ai/conversations/insights.js +33 -33
- package/resources/ai/conversations/insights.js.map +1 -1
- package/resources/ai/conversations/insights.mjs +33 -33
- package/resources/ai/conversations/insights.mjs.map +1 -1
- package/resources/ai/embeddings/buckets.d.mts +12 -12
- package/resources/ai/embeddings/buckets.d.mts.map +1 -1
- package/resources/ai/embeddings/buckets.d.ts +12 -12
- package/resources/ai/embeddings/buckets.d.ts.map +1 -1
- package/resources/ai/embeddings/buckets.js +14 -14
- package/resources/ai/embeddings/buckets.js.map +1 -1
- package/resources/ai/embeddings/buckets.mjs +14 -14
- package/resources/ai/embeddings/buckets.mjs.map +1 -1
- package/resources/ai/embeddings/embeddings.d.mts +36 -36
- package/resources/ai/embeddings/embeddings.d.mts.map +1 -1
- package/resources/ai/embeddings/embeddings.d.ts +36 -36
- package/resources/ai/embeddings/embeddings.d.ts.map +1 -1
- package/resources/ai/embeddings/embeddings.js +33 -33
- package/resources/ai/embeddings/embeddings.js.map +1 -1
- package/resources/ai/embeddings/embeddings.mjs +33 -33
- package/resources/ai/embeddings/embeddings.mjs.map +1 -1
- package/resources/ai/embeddings/index.d.mts +1 -1
- package/resources/ai/embeddings/index.d.mts.map +1 -1
- package/resources/ai/embeddings/index.d.ts +1 -1
- package/resources/ai/embeddings/index.d.ts.map +1 -1
- package/resources/ai/fine-tuning/jobs.d.mts +9 -9
- package/resources/ai/fine-tuning/jobs.d.mts.map +1 -1
- package/resources/ai/fine-tuning/jobs.d.ts +9 -9
- package/resources/ai/fine-tuning/jobs.d.ts.map +1 -1
- package/resources/ai/fine-tuning/jobs.js +11 -11
- package/resources/ai/fine-tuning/jobs.js.map +1 -1
- package/resources/ai/fine-tuning/jobs.mjs +11 -11
- package/resources/ai/fine-tuning/jobs.mjs.map +1 -1
- package/resources/ai/index.d.mts +8 -8
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +8 -8
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/integrations/connections.d.mts +12 -12
- package/resources/ai/integrations/connections.d.mts.map +1 -1
- package/resources/ai/integrations/connections.d.ts +12 -12
- package/resources/ai/integrations/connections.d.ts.map +1 -1
- package/resources/ai/integrations/connections.js +14 -14
- package/resources/ai/integrations/connections.js.map +1 -1
- package/resources/ai/integrations/connections.mjs +14 -14
- package/resources/ai/integrations/connections.mjs.map +1 -1
- package/resources/ai/integrations/integrations.d.mts +8 -8
- package/resources/ai/integrations/integrations.d.mts.map +1 -1
- package/resources/ai/integrations/integrations.d.ts +8 -8
- package/resources/ai/integrations/integrations.d.ts.map +1 -1
- package/resources/ai/integrations/integrations.js +10 -10
- package/resources/ai/integrations/integrations.js.map +1 -1
- package/resources/ai/integrations/integrations.mjs +10 -10
- package/resources/ai/integrations/integrations.mjs.map +1 -1
- package/resources/ai/mcp-servers.d.mts +32 -32
- package/resources/ai/mcp-servers.d.mts.map +1 -1
- package/resources/ai/mcp-servers.d.ts +32 -32
- package/resources/ai/mcp-servers.d.ts.map +1 -1
- package/resources/ai/mcp-servers.js +31 -31
- package/resources/ai/mcp-servers.js.map +1 -1
- package/resources/ai/mcp-servers.mjs +31 -31
- package/resources/ai/mcp-servers.mjs.map +1 -1
- package/resources/ai/missions/index.d.mts +2 -2
- package/resources/ai/missions/index.d.mts.map +1 -1
- package/resources/ai/missions/index.d.ts +2 -2
- package/resources/ai/missions/index.d.ts.map +1 -1
- package/resources/ai/missions/knowledge-bases.d.mts +12 -12
- package/resources/ai/missions/knowledge-bases.d.mts.map +1 -1
- package/resources/ai/missions/knowledge-bases.d.ts +12 -12
- package/resources/ai/missions/knowledge-bases.d.ts.map +1 -1
- package/resources/ai/missions/knowledge-bases.js +14 -14
- package/resources/ai/missions/knowledge-bases.js.map +1 -1
- package/resources/ai/missions/knowledge-bases.mjs +14 -14
- package/resources/ai/missions/knowledge-bases.mjs.map +1 -1
- package/resources/ai/missions/mcp-servers.d.mts +12 -12
- package/resources/ai/missions/mcp-servers.d.mts.map +1 -1
- package/resources/ai/missions/mcp-servers.d.ts +12 -12
- package/resources/ai/missions/mcp-servers.d.ts.map +1 -1
- package/resources/ai/missions/mcp-servers.js +14 -14
- package/resources/ai/missions/mcp-servers.js.map +1 -1
- package/resources/ai/missions/mcp-servers.mjs +14 -14
- package/resources/ai/missions/mcp-servers.mjs.map +1 -1
- package/resources/ai/missions/missions.d.mts +30 -30
- package/resources/ai/missions/missions.d.mts.map +1 -1
- package/resources/ai/missions/missions.d.ts +30 -30
- package/resources/ai/missions/missions.d.ts.map +1 -1
- package/resources/ai/missions/missions.js +34 -34
- package/resources/ai/missions/missions.js.map +1 -1
- package/resources/ai/missions/missions.mjs +34 -34
- package/resources/ai/missions/missions.mjs.map +1 -1
- package/resources/ai/missions/runs/events.d.mts +22 -22
- package/resources/ai/missions/runs/events.d.mts.map +1 -1
- package/resources/ai/missions/runs/events.d.ts +22 -22
- package/resources/ai/missions/runs/events.d.ts.map +1 -1
- package/resources/ai/missions/runs/events.js +15 -15
- package/resources/ai/missions/runs/events.js.map +1 -1
- package/resources/ai/missions/runs/events.mjs +15 -15
- package/resources/ai/missions/runs/events.mjs.map +1 -1
- package/resources/ai/missions/runs/index.d.mts +3 -3
- package/resources/ai/missions/runs/index.d.mts.map +1 -1
- package/resources/ai/missions/runs/index.d.ts +3 -3
- package/resources/ai/missions/runs/index.d.ts.map +1 -1
- package/resources/ai/missions/runs/plan.d.mts +41 -41
- package/resources/ai/missions/runs/plan.d.mts.map +1 -1
- package/resources/ai/missions/runs/plan.d.ts +41 -41
- package/resources/ai/missions/runs/plan.d.ts.map +1 -1
- package/resources/ai/missions/runs/plan.js +27 -27
- package/resources/ai/missions/runs/plan.js.map +1 -1
- package/resources/ai/missions/runs/plan.mjs +27 -27
- package/resources/ai/missions/runs/plan.mjs.map +1 -1
- package/resources/ai/missions/runs/runs.d.mts +27 -27
- package/resources/ai/missions/runs/runs.d.mts.map +1 -1
- package/resources/ai/missions/runs/runs.d.ts +27 -27
- package/resources/ai/missions/runs/runs.d.ts.map +1 -1
- package/resources/ai/missions/runs/runs.js +23 -23
- package/resources/ai/missions/runs/runs.js.map +1 -1
- package/resources/ai/missions/runs/runs.mjs +23 -23
- package/resources/ai/missions/runs/runs.mjs.map +1 -1
- package/resources/ai/missions/tools.d.mts +11 -11
- package/resources/ai/missions/tools.d.mts.map +1 -1
- package/resources/ai/missions/tools.d.ts +11 -11
- package/resources/ai/missions/tools.d.ts.map +1 -1
- package/resources/ai/missions/tools.js +13 -13
- package/resources/ai/missions/tools.js.map +1 -1
- package/resources/ai/missions/tools.mjs +13 -13
- package/resources/ai/missions/tools.mjs.map +1 -1
- package/resources/ai/openai/openai.d.mts +23 -23
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +23 -23
- package/resources/ai/openai/openai.d.ts.map +1 -1
- package/resources/ai/openai/openai.js +25 -25
- package/resources/ai/openai/openai.js.map +1 -1
- package/resources/ai/openai/openai.mjs +25 -25
- package/resources/ai/openai/openai.mjs.map +1 -1
- package/resources/ai/tools.d.mts +32 -32
- package/resources/ai/tools.d.mts.map +1 -1
- package/resources/ai/tools.d.ts +32 -32
- package/resources/ai/tools.d.ts.map +1 -1
- package/resources/ai/tools.js +28 -28
- package/resources/ai/tools.js.map +1 -1
- package/resources/ai/tools.mjs +28 -28
- package/resources/ai/tools.mjs.map +1 -1
- package/resources/alphanumeric-sender-ids.d.mts +25 -25
- package/resources/alphanumeric-sender-ids.d.mts.map +1 -1
- package/resources/alphanumeric-sender-ids.d.ts +25 -25
- package/resources/alphanumeric-sender-ids.d.ts.map +1 -1
- package/resources/alphanumeric-sender-ids.js +25 -25
- package/resources/alphanumeric-sender-ids.js.map +1 -1
- package/resources/alphanumeric-sender-ids.mjs +25 -25
- package/resources/alphanumeric-sender-ids.mjs.map +1 -1
- package/resources/authentication-providers.d.mts +41 -41
- package/resources/authentication-providers.d.mts.map +1 -1
- package/resources/authentication-providers.d.ts +41 -41
- package/resources/authentication-providers.d.ts.map +1 -1
- package/resources/authentication-providers.js +26 -26
- package/resources/authentication-providers.js.map +1 -1
- package/resources/authentication-providers.mjs +26 -26
- package/resources/authentication-providers.mjs.map +1 -1
- package/resources/billing-groups.d.mts +25 -25
- package/resources/billing-groups.d.mts.map +1 -1
- package/resources/billing-groups.d.ts +25 -25
- package/resources/billing-groups.d.ts.map +1 -1
- package/resources/billing-groups.js +30 -30
- package/resources/billing-groups.js.map +1 -1
- package/resources/billing-groups.mjs +30 -30
- package/resources/billing-groups.mjs.map +1 -1
- package/resources/bulk-sim-card-actions.d.mts +4 -4
- package/resources/bulk-sim-card-actions.d.mts.map +1 -1
- package/resources/bulk-sim-card-actions.d.ts +4 -4
- package/resources/bulk-sim-card-actions.d.ts.map +1 -1
- package/resources/bulk-sim-card-actions.js +6 -6
- package/resources/bulk-sim-card-actions.js.map +1 -1
- package/resources/bulk-sim-card-actions.mjs +6 -6
- package/resources/bulk-sim-card-actions.mjs.map +1 -1
- package/resources/bundle-pricing/billing-bundles.d.mts +19 -19
- package/resources/bundle-pricing/billing-bundles.d.mts.map +1 -1
- package/resources/bundle-pricing/billing-bundles.d.ts +19 -19
- package/resources/bundle-pricing/billing-bundles.d.ts.map +1 -1
- package/resources/bundle-pricing/billing-bundles.js +17 -17
- package/resources/bundle-pricing/billing-bundles.js.map +1 -1
- package/resources/bundle-pricing/billing-bundles.mjs +17 -17
- package/resources/bundle-pricing/billing-bundles.mjs.map +1 -1
- package/resources/bundle-pricing/bundle-pricing.d.mts +2 -2
- package/resources/bundle-pricing/bundle-pricing.d.mts.map +1 -1
- package/resources/bundle-pricing/bundle-pricing.d.ts +2 -2
- package/resources/bundle-pricing/bundle-pricing.d.ts.map +1 -1
- package/resources/bundle-pricing/index.d.mts +2 -2
- package/resources/bundle-pricing/index.d.mts.map +1 -1
- package/resources/bundle-pricing/index.d.ts +2 -2
- package/resources/bundle-pricing/index.d.ts.map +1 -1
- package/resources/bundle-pricing/user-bundles.d.mts +58 -58
- package/resources/bundle-pricing/user-bundles.d.mts.map +1 -1
- package/resources/bundle-pricing/user-bundles.d.ts +58 -58
- package/resources/bundle-pricing/user-bundles.d.ts.map +1 -1
- package/resources/bundle-pricing/user-bundles.js +32 -32
- package/resources/bundle-pricing/user-bundles.js.map +1 -1
- package/resources/bundle-pricing/user-bundles.mjs +32 -32
- package/resources/bundle-pricing/user-bundles.mjs.map +1 -1
- package/resources/call-control-applications.d.mts +151 -151
- package/resources/call-control-applications.d.mts.map +1 -1
- package/resources/call-control-applications.d.ts +151 -151
- package/resources/call-control-applications.d.ts.map +1 -1
- package/resources/call-control-applications.js +28 -28
- package/resources/call-control-applications.js.map +1 -1
- package/resources/call-control-applications.mjs +28 -28
- package/resources/call-control-applications.mjs.map +1 -1
- package/resources/calls/actions.d.mts +1062 -1062
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +1062 -1062
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/actions.js +307 -307
- package/resources/calls/actions.js.map +1 -1
- package/resources/calls/actions.mjs +307 -307
- package/resources/calls/actions.mjs.map +1 -1
- package/resources/calls/calls.d.mts +1 -1
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +1 -1
- package/resources/calls/calls.d.ts.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/channel-zones.d.mts +10 -10
- package/resources/channel-zones.d.mts.map +1 -1
- package/resources/channel-zones.d.ts +10 -10
- package/resources/channel-zones.d.ts.map +1 -1
- package/resources/channel-zones.js +9 -9
- package/resources/channel-zones.js.map +1 -1
- package/resources/channel-zones.mjs +9 -9
- package/resources/channel-zones.mjs.map +1 -1
- package/resources/comments.d.mts +15 -15
- package/resources/comments.d.mts.map +1 -1
- package/resources/comments.d.ts +15 -15
- package/resources/comments.d.ts.map +1 -1
- package/resources/comments.js +11 -11
- package/resources/comments.js.map +1 -1
- package/resources/comments.mjs +11 -11
- package/resources/comments.mjs.map +1 -1
- package/resources/conferences/actions.d.mts +187 -187
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +187 -187
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/conferences/actions.js +64 -64
- package/resources/conferences/actions.js.map +1 -1
- package/resources/conferences/actions.mjs +64 -64
- package/resources/conferences/actions.mjs.map +1 -1
- package/resources/conferences/conferences.d.mts +97 -97
- package/resources/conferences/conferences.d.mts.map +1 -1
- package/resources/conferences/conferences.d.ts +97 -97
- package/resources/conferences/conferences.d.ts.map +1 -1
- package/resources/conferences/conferences.js +27 -27
- package/resources/conferences/conferences.js.map +1 -1
- package/resources/conferences/conferences.mjs +27 -27
- package/resources/conferences/conferences.mjs.map +1 -1
- package/resources/conferences/index.d.mts +2 -2
- package/resources/conferences/index.d.mts.map +1 -1
- package/resources/conferences/index.d.ts +2 -2
- package/resources/conferences/index.d.ts.map +1 -1
- package/resources/connections.d.mts +5 -5
- package/resources/connections.d.mts.map +1 -1
- package/resources/connections.d.ts +5 -5
- package/resources/connections.d.ts.map +1 -1
- package/resources/connections.js +7 -7
- package/resources/connections.js.map +1 -1
- package/resources/connections.mjs +7 -7
- package/resources/connections.mjs.map +1 -1
- package/resources/credential-connections/credential-connections.d.mts +82 -82
- package/resources/credential-connections/credential-connections.d.mts.map +1 -1
- package/resources/credential-connections/credential-connections.d.ts +82 -82
- package/resources/credential-connections/credential-connections.d.ts.map +1 -1
- package/resources/credential-connections/credential-connections.js +29 -29
- package/resources/credential-connections/credential-connections.js.map +1 -1
- package/resources/credential-connections/credential-connections.mjs +29 -29
- package/resources/credential-connections/credential-connections.mjs.map +1 -1
- package/resources/credential-connections/index.d.mts +1 -1
- package/resources/credential-connections/index.d.mts.map +1 -1
- package/resources/credential-connections/index.d.ts +1 -1
- package/resources/credential-connections/index.d.ts.map +1 -1
- package/resources/custom-storage-credentials.d.mts +18 -18
- package/resources/custom-storage-credentials.d.mts.map +1 -1
- package/resources/custom-storage-credentials.d.ts +18 -18
- package/resources/custom-storage-credentials.d.ts.map +1 -1
- package/resources/custom-storage-credentials.js +24 -24
- package/resources/custom-storage-credentials.js.map +1 -1
- package/resources/custom-storage-credentials.mjs +24 -24
- package/resources/custom-storage-credentials.mjs.map +1 -1
- package/resources/customer-service-records.d.mts +78 -78
- package/resources/customer-service-records.d.mts.map +1 -1
- package/resources/customer-service-records.d.ts +78 -78
- package/resources/customer-service-records.d.ts.map +1 -1
- package/resources/customer-service-records.js +26 -26
- package/resources/customer-service-records.js.map +1 -1
- package/resources/customer-service-records.mjs +26 -26
- package/resources/customer-service-records.mjs.map +1 -1
- package/resources/dialogflow-connections.d.mts +22 -22
- package/resources/dialogflow-connections.d.mts.map +1 -1
- package/resources/dialogflow-connections.d.ts +22 -22
- package/resources/dialogflow-connections.d.ts.map +1 -1
- package/resources/dialogflow-connections.js +29 -29
- package/resources/dialogflow-connections.js.map +1 -1
- package/resources/dialogflow-connections.mjs +29 -29
- package/resources/dialogflow-connections.mjs.map +1 -1
- package/resources/dir/comments.d.mts +23 -23
- package/resources/dir/comments.d.mts.map +1 -1
- package/resources/dir/comments.d.ts +23 -23
- package/resources/dir/comments.d.ts.map +1 -1
- package/resources/dir/comments.js +20 -20
- package/resources/dir/comments.js.map +1 -1
- package/resources/dir/comments.mjs +20 -20
- package/resources/dir/comments.mjs.map +1 -1
- package/resources/dir/dir.d.mts +134 -133
- package/resources/dir/dir.d.mts.map +1 -1
- package/resources/dir/dir.d.ts +134 -133
- package/resources/dir/dir.d.ts.map +1 -1
- package/resources/dir/dir.js +92 -92
- package/resources/dir/dir.js.map +1 -1
- package/resources/dir/dir.mjs +92 -92
- package/resources/dir/dir.mjs.map +1 -1
- package/resources/dir/index.d.mts +4 -4
- package/resources/dir/index.d.mts.map +1 -1
- package/resources/dir/index.d.ts +4 -4
- package/resources/dir/index.d.ts.map +1 -1
- package/resources/dir/phone-number-batches.d.mts +21 -21
- package/resources/dir/phone-number-batches.d.mts.map +1 -1
- package/resources/dir/phone-number-batches.d.ts +21 -21
- package/resources/dir/phone-number-batches.d.ts.map +1 -1
- package/resources/dir/phone-number-batches.js +17 -17
- package/resources/dir/phone-number-batches.js.map +1 -1
- package/resources/dir/phone-number-batches.mjs +17 -17
- package/resources/dir/phone-number-batches.mjs.map +1 -1
- package/resources/dir/phone-numbers.d.mts +17 -17
- package/resources/dir/phone-numbers.d.mts.map +1 -1
- package/resources/dir/phone-numbers.d.ts +17 -17
- package/resources/dir/phone-numbers.d.ts.map +1 -1
- package/resources/dir/phone-numbers.js +15 -15
- package/resources/dir/phone-numbers.js.map +1 -1
- package/resources/dir/phone-numbers.mjs +15 -15
- package/resources/dir/phone-numbers.mjs.map +1 -1
- package/resources/dir/references.d.mts +16 -16
- package/resources/dir/references.d.mts.map +1 -1
- package/resources/dir/references.d.ts +16 -16
- package/resources/dir/references.d.ts.map +1 -1
- package/resources/dir/references.js +18 -18
- package/resources/dir/references.js.map +1 -1
- package/resources/dir/references.mjs +18 -18
- package/resources/dir/references.mjs.map +1 -1
- package/resources/dir/verify-email.d.mts +11 -11
- package/resources/dir/verify-email.d.mts.map +1 -1
- package/resources/dir/verify-email.d.ts +11 -11
- package/resources/dir/verify-email.d.ts.map +1 -1
- package/resources/dir/verify-email.js +13 -13
- package/resources/dir/verify-email.js.map +1 -1
- package/resources/dir/verify-email.mjs +13 -13
- package/resources/dir/verify-email.mjs.map +1 -1
- package/resources/documents.d.mts +51 -51
- package/resources/documents.d.mts.map +1 -1
- package/resources/documents.d.ts +51 -51
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +52 -52
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +52 -52
- package/resources/documents.mjs.map +1 -1
- package/resources/dynamic-emergency-addresses.d.mts +32 -32
- package/resources/dynamic-emergency-addresses.d.mts.map +1 -1
- package/resources/dynamic-emergency-addresses.d.ts +32 -32
- package/resources/dynamic-emergency-addresses.d.ts.map +1 -1
- package/resources/dynamic-emergency-addresses.js +22 -22
- package/resources/dynamic-emergency-addresses.js.map +1 -1
- package/resources/dynamic-emergency-addresses.mjs +22 -22
- package/resources/dynamic-emergency-addresses.mjs.map +1 -1
- package/resources/dynamic-emergency-endpoints.d.mts +27 -27
- package/resources/dynamic-emergency-endpoints.d.mts.map +1 -1
- package/resources/dynamic-emergency-endpoints.d.ts +27 -27
- package/resources/dynamic-emergency-endpoints.d.ts.map +1 -1
- package/resources/dynamic-emergency-endpoints.js +22 -22
- package/resources/dynamic-emergency-endpoints.js.map +1 -1
- package/resources/dynamic-emergency-endpoints.mjs +22 -22
- package/resources/dynamic-emergency-endpoints.mjs.map +1 -1
- package/resources/enterprises/dir.d.mts +65 -65
- package/resources/enterprises/dir.d.mts.map +1 -1
- package/resources/enterprises/dir.d.ts +65 -65
- package/resources/enterprises/dir.d.ts.map +1 -1
- package/resources/enterprises/dir.js +28 -28
- package/resources/enterprises/dir.js.map +1 -1
- package/resources/enterprises/dir.mjs +28 -28
- package/resources/enterprises/dir.mjs.map +1 -1
- package/resources/enterprises/enterprises.d.mts +45 -45
- package/resources/enterprises/enterprises.d.mts.map +1 -1
- package/resources/enterprises/enterprises.d.ts +45 -45
- package/resources/enterprises/enterprises.d.ts.map +1 -1
- package/resources/enterprises/enterprises.js +43 -43
- package/resources/enterprises/enterprises.js.map +1 -1
- package/resources/enterprises/enterprises.mjs +43 -43
- package/resources/enterprises/enterprises.mjs.map +1 -1
- package/resources/enterprises/index.d.mts +2 -2
- package/resources/enterprises/index.d.mts.map +1 -1
- package/resources/enterprises/index.d.ts +2 -2
- package/resources/enterprises/index.d.ts.map +1 -1
- package/resources/enterprises/reputation/index.d.mts +2 -2
- package/resources/enterprises/reputation/index.d.mts.map +1 -1
- package/resources/enterprises/reputation/index.d.ts +2 -2
- package/resources/enterprises/reputation/index.d.ts.map +1 -1
- package/resources/enterprises/reputation/numbers.d.mts +29 -29
- package/resources/enterprises/reputation/numbers.d.mts.map +1 -1
- package/resources/enterprises/reputation/numbers.d.ts +29 -29
- package/resources/enterprises/reputation/numbers.d.ts.map +1 -1
- package/resources/enterprises/reputation/numbers.js +23 -23
- package/resources/enterprises/reputation/numbers.js.map +1 -1
- package/resources/enterprises/reputation/numbers.mjs +23 -23
- package/resources/enterprises/reputation/numbers.mjs.map +1 -1
- package/resources/enterprises/reputation/remediation.d.mts +32 -32
- package/resources/enterprises/reputation/remediation.d.mts.map +1 -1
- package/resources/enterprises/reputation/remediation.d.ts +32 -32
- package/resources/enterprises/reputation/remediation.d.ts.map +1 -1
- package/resources/enterprises/reputation/remediation.js +19 -19
- package/resources/enterprises/reputation/remediation.js.map +1 -1
- package/resources/enterprises/reputation/remediation.mjs +19 -19
- package/resources/enterprises/reputation/remediation.mjs.map +1 -1
- package/resources/enterprises/reputation/reputation.d.mts +15 -15
- package/resources/enterprises/reputation/reputation.d.mts.map +1 -1
- package/resources/enterprises/reputation/reputation.d.ts +15 -15
- package/resources/enterprises/reputation/reputation.d.ts.map +1 -1
- package/resources/enterprises/reputation/reputation.js +18 -18
- package/resources/enterprises/reputation/reputation.js.map +1 -1
- package/resources/enterprises/reputation/reputation.mjs +18 -18
- package/resources/enterprises/reputation/reputation.mjs.map +1 -1
- package/resources/external-connections/civic-addresses.d.mts +19 -19
- package/resources/external-connections/civic-addresses.d.mts.map +1 -1
- package/resources/external-connections/civic-addresses.d.ts +19 -19
- package/resources/external-connections/civic-addresses.d.ts.map +1 -1
- package/resources/external-connections/civic-addresses.js +14 -14
- package/resources/external-connections/civic-addresses.js.map +1 -1
- package/resources/external-connections/civic-addresses.mjs +14 -14
- package/resources/external-connections/civic-addresses.mjs.map +1 -1
- package/resources/external-connections/external-connections.d.mts +92 -92
- package/resources/external-connections/external-connections.d.mts.map +1 -1
- package/resources/external-connections/external-connections.d.ts +92 -92
- package/resources/external-connections/external-connections.d.ts.map +1 -1
- package/resources/external-connections/external-connections.js +37 -37
- package/resources/external-connections/external-connections.js.map +1 -1
- package/resources/external-connections/external-connections.mjs +37 -37
- package/resources/external-connections/external-connections.mjs.map +1 -1
- package/resources/external-connections/index.d.mts +5 -5
- package/resources/external-connections/index.d.mts.map +1 -1
- package/resources/external-connections/index.d.ts +5 -5
- package/resources/external-connections/index.d.ts.map +1 -1
- package/resources/external-connections/log-messages.d.mts +12 -12
- package/resources/external-connections/log-messages.d.mts.map +1 -1
- package/resources/external-connections/log-messages.d.ts +12 -12
- package/resources/external-connections/log-messages.d.ts.map +1 -1
- package/resources/external-connections/log-messages.js +14 -14
- package/resources/external-connections/log-messages.js.map +1 -1
- package/resources/external-connections/log-messages.mjs +14 -14
- package/resources/external-connections/log-messages.mjs.map +1 -1
- package/resources/external-connections/phone-numbers.d.mts +32 -32
- package/resources/external-connections/phone-numbers.d.mts.map +1 -1
- package/resources/external-connections/phone-numbers.d.ts +32 -32
- package/resources/external-connections/phone-numbers.d.ts.map +1 -1
- package/resources/external-connections/phone-numbers.js +17 -17
- package/resources/external-connections/phone-numbers.js.map +1 -1
- package/resources/external-connections/phone-numbers.mjs +17 -17
- package/resources/external-connections/phone-numbers.mjs.map +1 -1
- package/resources/external-connections/releases.d.mts +20 -20
- package/resources/external-connections/releases.d.mts.map +1 -1
- package/resources/external-connections/releases.d.ts +20 -20
- package/resources/external-connections/releases.d.ts.map +1 -1
- package/resources/external-connections/releases.js +16 -16
- package/resources/external-connections/releases.js.map +1 -1
- package/resources/external-connections/releases.mjs +16 -16
- package/resources/external-connections/releases.mjs.map +1 -1
- package/resources/external-connections/uploads.d.mts +50 -50
- package/resources/external-connections/uploads.d.mts.map +1 -1
- package/resources/external-connections/uploads.d.ts +50 -50
- package/resources/external-connections/uploads.d.ts.map +1 -1
- package/resources/external-connections/uploads.js +34 -34
- package/resources/external-connections/uploads.js.map +1 -1
- package/resources/external-connections/uploads.mjs +34 -34
- package/resources/external-connections/uploads.mjs.map +1 -1
- package/resources/fax-applications.d.mts +81 -81
- package/resources/fax-applications.d.mts.map +1 -1
- package/resources/fax-applications.d.ts +81 -81
- package/resources/fax-applications.d.ts.map +1 -1
- package/resources/fax-applications.js +34 -34
- package/resources/fax-applications.js.map +1 -1
- package/resources/fax-applications.mjs +34 -34
- package/resources/fax-applications.mjs.map +1 -1
- package/resources/faxes/faxes.d.mts +96 -96
- package/resources/faxes/faxes.d.mts.map +1 -1
- package/resources/faxes/faxes.d.ts +96 -96
- package/resources/faxes/faxes.d.ts.map +1 -1
- package/resources/faxes/faxes.js +25 -25
- package/resources/faxes/faxes.js.map +1 -1
- package/resources/faxes/faxes.mjs +25 -25
- package/resources/faxes/faxes.mjs.map +1 -1
- package/resources/faxes/index.d.mts +1 -1
- package/resources/faxes/index.d.mts.map +1 -1
- package/resources/faxes/index.d.ts +1 -1
- package/resources/faxes/index.d.ts.map +1 -1
- package/resources/fqdn-connections.d.mts +84 -84
- package/resources/fqdn-connections.d.mts.map +1 -1
- package/resources/fqdn-connections.d.ts +84 -84
- package/resources/fqdn-connections.d.ts.map +1 -1
- package/resources/fqdn-connections.js +30 -30
- package/resources/fqdn-connections.js.map +1 -1
- package/resources/fqdn-connections.mjs +30 -30
- package/resources/fqdn-connections.mjs.map +1 -1
- package/resources/fqdns.d.mts +53 -53
- package/resources/fqdns.d.mts.map +1 -1
- package/resources/fqdns.d.ts +53 -53
- package/resources/fqdns.d.ts.map +1 -1
- package/resources/fqdns.js +26 -26
- package/resources/fqdns.js.map +1 -1
- package/resources/fqdns.mjs +26 -26
- package/resources/fqdns.mjs.map +1 -1
- package/resources/global-ip-assignments.d.mts +11 -11
- package/resources/global-ip-assignments.d.mts.map +1 -1
- package/resources/global-ip-assignments.d.ts +11 -11
- package/resources/global-ip-assignments.d.ts.map +1 -1
- package/resources/global-ip-assignments.js +15 -15
- package/resources/global-ip-assignments.js.map +1 -1
- package/resources/global-ip-assignments.mjs +15 -15
- package/resources/global-ip-assignments.mjs.map +1 -1
- package/resources/global-ip-health-checks.d.mts +21 -21
- package/resources/global-ip-health-checks.d.mts.map +1 -1
- package/resources/global-ip-health-checks.d.ts +21 -21
- package/resources/global-ip-health-checks.d.ts.map +1 -1
- package/resources/global-ip-health-checks.js +25 -25
- package/resources/global-ip-health-checks.js.map +1 -1
- package/resources/global-ip-health-checks.mjs +25 -25
- package/resources/global-ip-health-checks.mjs.map +1 -1
- package/resources/global-ips.d.mts +20 -20
- package/resources/global-ips.d.mts.map +1 -1
- package/resources/global-ips.d.ts +20 -20
- package/resources/global-ips.d.ts.map +1 -1
- package/resources/global-ips.js +21 -21
- package/resources/global-ips.js.map +1 -1
- package/resources/global-ips.mjs +21 -21
- package/resources/global-ips.mjs.map +1 -1
- package/resources/inbound-channels.d.mts +13 -13
- package/resources/inbound-channels.d.mts.map +1 -1
- package/resources/inbound-channels.d.ts +13 -13
- package/resources/inbound-channels.d.ts.map +1 -1
- package/resources/inbound-channels.js +15 -15
- package/resources/inbound-channels.js.map +1 -1
- package/resources/inbound-channels.mjs +15 -15
- package/resources/inbound-channels.mjs.map +1 -1
- package/resources/index.d.mts +82 -82
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +82 -82
- package/resources/index.d.ts.map +1 -1
- package/resources/inexplicit-number-orders.d.mts +7 -7
- package/resources/inexplicit-number-orders.d.mts.map +1 -1
- package/resources/inexplicit-number-orders.d.ts +7 -7
- package/resources/inexplicit-number-orders.d.ts.map +1 -1
- package/resources/inexplicit-number-orders.js +6 -6
- package/resources/inexplicit-number-orders.js.map +1 -1
- package/resources/inexplicit-number-orders.mjs +6 -6
- package/resources/inexplicit-number-orders.mjs.map +1 -1
- package/resources/integration-secrets.d.mts +27 -27
- package/resources/integration-secrets.d.mts.map +1 -1
- package/resources/integration-secrets.d.ts +27 -27
- package/resources/integration-secrets.d.ts.map +1 -1
- package/resources/integration-secrets.js +17 -17
- package/resources/integration-secrets.js.map +1 -1
- package/resources/integration-secrets.mjs +17 -17
- package/resources/integration-secrets.mjs.map +1 -1
- package/resources/invoices.d.mts +11 -11
- package/resources/invoices.d.mts.map +1 -1
- package/resources/invoices.d.ts +11 -11
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js +6 -6
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs +6 -6
- package/resources/invoices.mjs.map +1 -1
- package/resources/ip-connections.d.mts +81 -81
- package/resources/ip-connections.d.mts.map +1 -1
- package/resources/ip-connections.d.ts +81 -81
- package/resources/ip-connections.d.ts.map +1 -1
- package/resources/ip-connections.js +28 -28
- package/resources/ip-connections.js.map +1 -1
- package/resources/ip-connections.mjs +28 -28
- package/resources/ip-connections.mjs.map +1 -1
- package/resources/ips.d.mts +50 -50
- package/resources/ips.d.mts.map +1 -1
- package/resources/ips.d.ts +50 -50
- package/resources/ips.d.ts.map +1 -1
- package/resources/ips.js +27 -27
- package/resources/ips.js.map +1 -1
- package/resources/ips.mjs +27 -27
- package/resources/ips.mjs.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/messaging.d.mts +16 -16
- package/resources/legacy/reporting/batch-detail-records/messaging.d.mts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/messaging.d.ts +16 -16
- package/resources/legacy/reporting/batch-detail-records/messaging.d.ts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/messaging.js +20 -20
- package/resources/legacy/reporting/batch-detail-records/messaging.js.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/messaging.mjs +20 -20
- package/resources/legacy/reporting/batch-detail-records/messaging.mjs.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.mts +16 -16
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.mts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.ts +16 -16
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.ts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.js +20 -20
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.js.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.mjs +20 -20
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.mjs.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.d.mts +20 -20
- package/resources/legacy/reporting/batch-detail-records/voice.d.mts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.d.ts +20 -20
- package/resources/legacy/reporting/batch-detail-records/voice.d.ts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.js +24 -24
- package/resources/legacy/reporting/batch-detail-records/voice.js.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.mjs +24 -24
- package/resources/legacy/reporting/batch-detail-records/voice.mjs.map +1 -1
- package/resources/legacy/reporting/usage-reports/index.d.mts +2 -2
- package/resources/legacy/reporting/usage-reports/index.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/index.d.ts +2 -2
- package/resources/legacy/reporting/usage-reports/index.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.d.mts +21 -21
- package/resources/legacy/reporting/usage-reports/messaging.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.d.ts +21 -21
- package/resources/legacy/reporting/usage-reports/messaging.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.js +22 -22
- package/resources/legacy/reporting/usage-reports/messaging.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.mjs +22 -22
- package/resources/legacy/reporting/usage-reports/messaging.mjs.map +1 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.d.mts +18 -18
- package/resources/legacy/reporting/usage-reports/number-lookup.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.d.ts +18 -18
- package/resources/legacy/reporting/usage-reports/number-lookup.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.js +26 -26
- package/resources/legacy/reporting/usage-reports/number-lookup.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.mjs +26 -26
- package/resources/legacy/reporting/usage-reports/number-lookup.mjs.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/voice.d.mts +21 -21
- package/resources/legacy/reporting/usage-reports/voice.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/voice.d.ts +21 -21
- package/resources/legacy/reporting/usage-reports/voice.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/voice.js +22 -22
- package/resources/legacy/reporting/usage-reports/voice.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/voice.mjs +22 -22
- package/resources/legacy/reporting/usage-reports/voice.mjs.map +1 -1
- package/resources/managed-accounts/index.d.mts +1 -1
- package/resources/managed-accounts/index.d.mts.map +1 -1
- package/resources/managed-accounts/index.d.ts +1 -1
- package/resources/managed-accounts/index.d.ts.map +1 -1
- package/resources/managed-accounts/managed-accounts.d.mts +68 -68
- package/resources/managed-accounts/managed-accounts.d.mts.map +1 -1
- package/resources/managed-accounts/managed-accounts.d.ts +68 -68
- package/resources/managed-accounts/managed-accounts.d.ts.map +1 -1
- package/resources/managed-accounts/managed-accounts.js +31 -31
- package/resources/managed-accounts/managed-accounts.js.map +1 -1
- package/resources/managed-accounts/managed-accounts.mjs +31 -31
- package/resources/managed-accounts/managed-accounts.mjs.map +1 -1
- package/resources/media.d.mts +36 -36
- package/resources/media.d.mts.map +1 -1
- package/resources/media.d.ts +36 -36
- package/resources/media.d.ts.map +1 -1
- package/resources/media.js +32 -32
- package/resources/media.js.map +1 -1
- package/resources/media.mjs +32 -32
- package/resources/media.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/messages.d.mts +152 -152
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +152 -152
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +76 -76
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +76 -76
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/messaging/index.d.mts +1 -1
- package/resources/messaging/index.d.mts.map +1 -1
- package/resources/messaging/index.d.ts +1 -1
- package/resources/messaging/index.d.ts.map +1 -1
- package/resources/messaging/messaging.d.mts +1 -1
- package/resources/messaging/messaging.d.mts.map +1 -1
- package/resources/messaging/messaging.d.ts +1 -1
- package/resources/messaging/messaging.d.ts.map +1 -1
- package/resources/messaging/rcs/agents.d.mts +15 -15
- package/resources/messaging/rcs/agents.d.mts.map +1 -1
- package/resources/messaging/rcs/agents.d.ts +15 -15
- package/resources/messaging/rcs/agents.d.ts.map +1 -1
- package/resources/messaging/rcs/agents.js +17 -17
- package/resources/messaging/rcs/agents.js.map +1 -1
- package/resources/messaging/rcs/agents.mjs +17 -17
- package/resources/messaging/rcs/agents.mjs.map +1 -1
- package/resources/messaging/rcs/index.d.mts +2 -2
- package/resources/messaging/rcs/index.d.mts.map +1 -1
- package/resources/messaging/rcs/index.d.ts +2 -2
- package/resources/messaging/rcs/index.d.ts.map +1 -1
- package/resources/messaging/rcs/rcs.d.mts +21 -21
- package/resources/messaging/rcs/rcs.d.mts.map +1 -1
- package/resources/messaging/rcs/rcs.d.ts +21 -21
- package/resources/messaging/rcs/rcs.d.ts.map +1 -1
- package/resources/messaging/rcs/rcs.js +16 -16
- package/resources/messaging/rcs/rcs.js.map +1 -1
- package/resources/messaging/rcs/rcs.mjs +16 -16
- package/resources/messaging/rcs/rcs.mjs.map +1 -1
- package/resources/messaging-10dlc/brand/brand.d.mts +116 -116
- package/resources/messaging-10dlc/brand/brand.d.mts.map +1 -1
- package/resources/messaging-10dlc/brand/brand.d.ts +116 -116
- package/resources/messaging-10dlc/brand/brand.d.ts.map +1 -1
- package/resources/messaging-10dlc/brand/brand.js +89 -89
- package/resources/messaging-10dlc/brand/brand.js.map +1 -1
- package/resources/messaging-10dlc/brand/brand.mjs +89 -89
- package/resources/messaging-10dlc/brand/brand.mjs.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.d.mts +26 -26
- package/resources/messaging-10dlc/brand/external-vetting.d.mts.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.d.ts +26 -26
- package/resources/messaging-10dlc/brand/external-vetting.d.ts.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.js +17 -17
- package/resources/messaging-10dlc/brand/external-vetting.js.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.mjs +17 -17
- package/resources/messaging-10dlc/brand/external-vetting.mjs.map +1 -1
- package/resources/messaging-10dlc/brand/index.d.mts +2 -2
- package/resources/messaging-10dlc/brand/index.d.mts.map +1 -1
- package/resources/messaging-10dlc/brand/index.d.ts +2 -2
- package/resources/messaging-10dlc/brand/index.d.ts.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.d.mts +54 -54
- package/resources/messaging-10dlc/campaign/campaign.d.mts.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.d.ts +54 -54
- package/resources/messaging-10dlc/campaign/campaign.d.ts.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.js +48 -48
- package/resources/messaging-10dlc/campaign/campaign.js.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.mjs +48 -48
- package/resources/messaging-10dlc/campaign/campaign.mjs.map +1 -1
- package/resources/messaging-10dlc/campaign/index.d.mts +1 -1
- package/resources/messaging-10dlc/campaign/index.d.mts.map +1 -1
- package/resources/messaging-10dlc/campaign/index.d.ts +1 -1
- package/resources/messaging-10dlc/campaign/index.d.ts.map +1 -1
- package/resources/messaging-10dlc/index.d.mts +5 -5
- package/resources/messaging-10dlc/index.d.mts.map +1 -1
- package/resources/messaging-10dlc/index.d.ts +5 -5
- package/resources/messaging-10dlc/index.d.ts.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.d.mts +5 -5
- package/resources/messaging-10dlc/messaging-10dlc.d.mts.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.d.ts +5 -5
- package/resources/messaging-10dlc/messaging-10dlc.d.ts.map +1 -1
- package/resources/messaging-10dlc/partner-campaigns.d.mts +36 -36
- package/resources/messaging-10dlc/partner-campaigns.d.mts.map +1 -1
- package/resources/messaging-10dlc/partner-campaigns.d.ts +36 -36
- package/resources/messaging-10dlc/partner-campaigns.d.ts.map +1 -1
- package/resources/messaging-10dlc/partner-campaigns.js +29 -29
- package/resources/messaging-10dlc/partner-campaigns.js.map +1 -1
- package/resources/messaging-10dlc/partner-campaigns.mjs +29 -29
- package/resources/messaging-10dlc/partner-campaigns.mjs.map +1 -1
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.mts +11 -11
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.mts.map +1 -1
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.ts +11 -11
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.ts.map +1 -1
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.js +13 -13
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.js.map +1 -1
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.mjs +13 -13
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.mjs.map +1 -1
- package/resources/messaging-10dlc/phone-number-campaigns.d.mts +46 -46
- package/resources/messaging-10dlc/phone-number-campaigns.d.mts.map +1 -1
- package/resources/messaging-10dlc/phone-number-campaigns.d.ts +46 -46
- package/resources/messaging-10dlc/phone-number-campaigns.d.ts.map +1 -1
- package/resources/messaging-10dlc/phone-number-campaigns.js +29 -29
- package/resources/messaging-10dlc/phone-number-campaigns.js.map +1 -1
- package/resources/messaging-10dlc/phone-number-campaigns.mjs +29 -29
- package/resources/messaging-10dlc/phone-number-campaigns.mjs.map +1 -1
- package/resources/messaging-hosted-number-orders/index.d.mts +1 -1
- package/resources/messaging-hosted-number-orders/index.d.mts.map +1 -1
- package/resources/messaging-hosted-number-orders/index.d.ts +1 -1
- package/resources/messaging-hosted-number-orders/index.d.ts.map +1 -1
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.d.mts +39 -39
- 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 +39 -39
- 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 +41 -41
- 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 +41 -41
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.mjs.map +1 -1
- package/resources/messaging-hosted-numbers.d.mts +35 -35
- package/resources/messaging-hosted-numbers.d.mts.map +1 -1
- package/resources/messaging-hosted-numbers.d.ts +35 -35
- package/resources/messaging-hosted-numbers.d.ts.map +1 -1
- package/resources/messaging-hosted-numbers.js +20 -20
- package/resources/messaging-hosted-numbers.js.map +1 -1
- package/resources/messaging-hosted-numbers.mjs +20 -20
- package/resources/messaging-hosted-numbers.mjs.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.d.mts +60 -60
- package/resources/messaging-profiles/autoresp-configs.d.mts.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.d.ts +60 -60
- package/resources/messaging-profiles/autoresp-configs.d.ts.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.js +30 -30
- package/resources/messaging-profiles/autoresp-configs.js.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.mjs +30 -30
- package/resources/messaging-profiles/autoresp-configs.mjs.map +1 -1
- package/resources/messaging-profiles/index.d.mts +2 -2
- package/resources/messaging-profiles/index.d.mts.map +1 -1
- package/resources/messaging-profiles/index.d.ts +2 -2
- package/resources/messaging-profiles/index.d.ts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.mts +60 -60
- package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.ts +60 -60
- package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.js +41 -41
- package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.mjs +41 -41
- 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/requests.d.mts +54 -54
- package/resources/messaging-tollfree/verification/requests.d.mts.map +1 -1
- package/resources/messaging-tollfree/verification/requests.d.ts +54 -54
- package/resources/messaging-tollfree/verification/requests.d.ts.map +1 -1
- package/resources/messaging-tollfree/verification/requests.js +38 -38
- package/resources/messaging-tollfree/verification/requests.js.map +1 -1
- package/resources/messaging-tollfree/verification/requests.mjs +38 -38
- package/resources/messaging-tollfree/verification/requests.mjs.map +1 -1
- package/resources/messaging-tollfree/verification/verification.d.mts +1 -1
- package/resources/messaging-tollfree/verification/verification.d.mts.map +1 -1
- package/resources/messaging-tollfree/verification/verification.d.ts +1 -1
- package/resources/messaging-tollfree/verification/verification.d.ts.map +1 -1
- package/resources/mobile-phone-numbers/index.d.mts +1 -1
- package/resources/mobile-phone-numbers/index.d.mts.map +1 -1
- package/resources/mobile-phone-numbers/index.d.ts +1 -1
- package/resources/mobile-phone-numbers/index.d.ts.map +1 -1
- package/resources/mobile-phone-numbers/messaging.d.mts +4 -4
- package/resources/mobile-phone-numbers/messaging.d.mts.map +1 -1
- package/resources/mobile-phone-numbers/messaging.d.ts +4 -4
- package/resources/mobile-phone-numbers/messaging.d.ts.map +1 -1
- package/resources/mobile-phone-numbers/messaging.js +6 -6
- package/resources/mobile-phone-numbers/messaging.js.map +1 -1
- package/resources/mobile-phone-numbers/messaging.mjs +6 -6
- package/resources/mobile-phone-numbers/messaging.mjs.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.mts +7 -7
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.mts.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.ts +7 -7
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.ts.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.js +9 -9
- package/resources/mobile-phone-numbers/mobile-phone-numbers.js.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.mjs +9 -9
- package/resources/mobile-phone-numbers/mobile-phone-numbers.mjs.map +1 -1
- package/resources/mobile-push-credentials.d.mts +32 -32
- package/resources/mobile-push-credentials.d.mts.map +1 -1
- package/resources/mobile-push-credentials.d.ts +32 -32
- package/resources/mobile-push-credentials.d.ts.map +1 -1
- package/resources/mobile-push-credentials.js +15 -15
- package/resources/mobile-push-credentials.js.map +1 -1
- package/resources/mobile-push-credentials.mjs +15 -15
- package/resources/mobile-push-credentials.mjs.map +1 -1
- package/resources/mobile-voice-connections.d.mts +20 -20
- package/resources/mobile-voice-connections.d.mts.map +1 -1
- package/resources/mobile-voice-connections.d.ts +20 -20
- package/resources/mobile-voice-connections.d.ts.map +1 -1
- package/resources/mobile-voice-connections.js +12 -12
- package/resources/mobile-voice-connections.js.map +1 -1
- package/resources/mobile-voice-connections.mjs +12 -12
- package/resources/mobile-voice-connections.mjs.map +1 -1
- package/resources/networks/default-gateway.d.mts +6 -6
- package/resources/networks/default-gateway.d.mts.map +1 -1
- package/resources/networks/default-gateway.d.ts +6 -6
- package/resources/networks/default-gateway.d.ts.map +1 -1
- package/resources/networks/default-gateway.js +8 -8
- package/resources/networks/default-gateway.js.map +1 -1
- package/resources/networks/default-gateway.mjs +8 -8
- package/resources/networks/default-gateway.mjs.map +1 -1
- package/resources/networks/index.d.mts +1 -1
- package/resources/networks/index.d.mts.map +1 -1
- package/resources/networks/index.d.ts +1 -1
- package/resources/networks/index.d.ts.map +1 -1
- package/resources/networks/networks.d.mts +29 -29
- package/resources/networks/networks.d.mts.map +1 -1
- package/resources/networks/networks.d.ts +29 -29
- package/resources/networks/networks.d.ts.map +1 -1
- package/resources/networks/networks.js +27 -27
- package/resources/networks/networks.js.map +1 -1
- package/resources/networks/networks.mjs +27 -27
- package/resources/networks/networks.mjs.map +1 -1
- package/resources/notification-channels.d.mts +50 -50
- package/resources/notification-channels.d.mts.map +1 -1
- package/resources/notification-channels.d.ts +50 -50
- package/resources/notification-channels.d.ts.map +1 -1
- package/resources/notification-channels.js +29 -29
- package/resources/notification-channels.js.map +1 -1
- package/resources/notification-channels.mjs +29 -29
- package/resources/notification-channels.mjs.map +1 -1
- package/resources/notification-profiles.d.mts +11 -11
- package/resources/notification-profiles.d.mts.map +1 -1
- package/resources/notification-profiles.d.ts +11 -11
- package/resources/notification-profiles.d.ts.map +1 -1
- package/resources/notification-profiles.js +15 -15
- package/resources/notification-profiles.js.map +1 -1
- package/resources/notification-profiles.mjs +15 -15
- package/resources/notification-profiles.mjs.map +1 -1
- package/resources/notification-settings.d.mts +40 -40
- package/resources/notification-settings.d.mts.map +1 -1
- package/resources/notification-settings.d.ts +40 -40
- package/resources/notification-settings.d.ts.map +1 -1
- package/resources/notification-settings.js +25 -25
- package/resources/notification-settings.js.map +1 -1
- package/resources/notification-settings.mjs +25 -25
- package/resources/notification-settings.mjs.map +1 -1
- package/resources/number-block-orders.d.mts +35 -35
- package/resources/number-block-orders.d.mts.map +1 -1
- package/resources/number-block-orders.d.ts +35 -35
- package/resources/number-block-orders.d.ts.map +1 -1
- package/resources/number-block-orders.js +17 -17
- package/resources/number-block-orders.js.map +1 -1
- package/resources/number-block-orders.mjs +17 -17
- package/resources/number-block-orders.mjs.map +1 -1
- package/resources/number-order-phone-numbers.d.mts +4 -4
- package/resources/number-order-phone-numbers.d.mts.map +1 -1
- package/resources/number-order-phone-numbers.d.ts +4 -4
- package/resources/number-order-phone-numbers.d.ts.map +1 -1
- package/resources/number-order-phone-numbers.js +6 -6
- package/resources/number-order-phone-numbers.js.map +1 -1
- package/resources/number-order-phone-numbers.mjs +6 -6
- package/resources/number-order-phone-numbers.mjs.map +1 -1
- package/resources/number-orders.d.mts +55 -55
- package/resources/number-orders.d.mts.map +1 -1
- package/resources/number-orders.d.ts +55 -55
- package/resources/number-orders.d.ts.map +1 -1
- package/resources/number-orders.js +17 -17
- package/resources/number-orders.js.map +1 -1
- package/resources/number-orders.mjs +17 -17
- package/resources/number-orders.mjs.map +1 -1
- package/resources/number-reservations/index.d.mts +1 -1
- package/resources/number-reservations/index.d.mts.map +1 -1
- package/resources/number-reservations/index.d.ts +1 -1
- package/resources/number-reservations/index.d.ts.map +1 -1
- package/resources/number-reservations/number-reservations.d.mts +20 -20
- package/resources/number-reservations/number-reservations.d.mts.map +1 -1
- package/resources/number-reservations/number-reservations.d.ts +20 -20
- package/resources/number-reservations/number-reservations.d.ts.map +1 -1
- package/resources/number-reservations/number-reservations.js +17 -17
- package/resources/number-reservations/number-reservations.js.map +1 -1
- package/resources/number-reservations/number-reservations.mjs +17 -17
- package/resources/number-reservations/number-reservations.mjs.map +1 -1
- package/resources/oauth-clients.d.mts +48 -48
- package/resources/oauth-clients.d.mts.map +1 -1
- package/resources/oauth-clients.d.ts +48 -48
- package/resources/oauth-clients.d.ts.map +1 -1
- package/resources/oauth-clients.js +32 -32
- package/resources/oauth-clients.js.map +1 -1
- package/resources/oauth-clients.mjs +32 -32
- package/resources/oauth-clients.mjs.map +1 -1
- package/resources/oauth-grants.d.mts +4 -4
- package/resources/oauth-grants.d.mts.map +1 -1
- package/resources/oauth-grants.d.ts +4 -4
- package/resources/oauth-grants.d.ts.map +1 -1
- package/resources/oauth-grants.js +6 -6
- package/resources/oauth-grants.js.map +1 -1
- package/resources/oauth-grants.mjs +6 -6
- package/resources/oauth-grants.mjs.map +1 -1
- package/resources/oauth.d.mts +50 -50
- package/resources/oauth.d.mts.map +1 -1
- package/resources/oauth.d.ts +50 -50
- package/resources/oauth.d.ts.map +1 -1
- package/resources/oauth.js +27 -27
- package/resources/oauth.js.map +1 -1
- package/resources/oauth.mjs +27 -27
- package/resources/oauth.mjs.map +1 -1
- package/resources/organizations/index.d.mts +1 -1
- package/resources/organizations/index.d.mts.map +1 -1
- package/resources/organizations/index.d.ts +1 -1
- package/resources/organizations/index.d.ts.map +1 -1
- package/resources/organizations/organizations.d.mts +1 -1
- package/resources/organizations/organizations.d.mts.map +1 -1
- package/resources/organizations/organizations.d.ts +1 -1
- package/resources/organizations/organizations.d.ts.map +1 -1
- package/resources/organizations/users/index.d.mts +1 -1
- package/resources/organizations/users/index.d.mts.map +1 -1
- package/resources/organizations/users/index.d.ts +1 -1
- package/resources/organizations/users/index.d.ts.map +1 -1
- package/resources/organizations/users/users.d.mts +13 -13
- package/resources/organizations/users/users.d.mts.map +1 -1
- package/resources/organizations/users/users.d.ts +13 -13
- package/resources/organizations/users/users.d.ts.map +1 -1
- package/resources/organizations/users/users.js +6 -6
- package/resources/organizations/users/users.js.map +1 -1
- package/resources/organizations/users/users.mjs +6 -6
- package/resources/organizations/users/users.mjs.map +1 -1
- package/resources/ota-updates.d.mts +4 -4
- package/resources/ota-updates.d.mts.map +1 -1
- package/resources/ota-updates.d.ts +4 -4
- package/resources/ota-updates.d.ts.map +1 -1
- package/resources/ota-updates.js +6 -6
- package/resources/ota-updates.js.map +1 -1
- package/resources/ota-updates.mjs +6 -6
- package/resources/ota-updates.mjs.map +1 -1
- package/resources/outbound-voice-profiles.d.mts +71 -71
- package/resources/outbound-voice-profiles.d.mts.map +1 -1
- package/resources/outbound-voice-profiles.d.ts +71 -71
- package/resources/outbound-voice-profiles.d.ts.map +1 -1
- package/resources/outbound-voice-profiles.js +31 -31
- package/resources/outbound-voice-profiles.js.map +1 -1
- package/resources/outbound-voice-profiles.mjs +31 -31
- package/resources/outbound-voice-profiles.mjs.map +1 -1
- package/resources/payment/auto-recharge-prefs.d.mts +8 -8
- package/resources/payment/auto-recharge-prefs.d.mts.map +1 -1
- package/resources/payment/auto-recharge-prefs.d.ts +8 -8
- package/resources/payment/auto-recharge-prefs.d.ts.map +1 -1
- package/resources/payment/auto-recharge-prefs.js +10 -10
- package/resources/payment/auto-recharge-prefs.js.map +1 -1
- package/resources/payment/auto-recharge-prefs.mjs +10 -10
- package/resources/payment/auto-recharge-prefs.mjs.map +1 -1
- package/resources/phone-number-blocks/jobs.d.mts +11 -11
- package/resources/phone-number-blocks/jobs.d.mts.map +1 -1
- package/resources/phone-number-blocks/jobs.d.ts +11 -11
- package/resources/phone-number-blocks/jobs.d.ts.map +1 -1
- package/resources/phone-number-blocks/jobs.js +13 -13
- package/resources/phone-number-blocks/jobs.js.map +1 -1
- package/resources/phone-number-blocks/jobs.mjs +13 -13
- package/resources/phone-number-blocks/jobs.mjs.map +1 -1
- package/resources/phone-numbers/actions.d.mts +20 -20
- package/resources/phone-numbers/actions.d.mts.map +1 -1
- package/resources/phone-numbers/actions.d.ts +20 -20
- package/resources/phone-numbers/actions.d.ts.map +1 -1
- package/resources/phone-numbers/actions.js +15 -15
- package/resources/phone-numbers/actions.js.map +1 -1
- package/resources/phone-numbers/actions.mjs +15 -15
- package/resources/phone-numbers/actions.mjs.map +1 -1
- package/resources/phone-numbers/csv-downloads.d.mts +15 -15
- package/resources/phone-numbers/csv-downloads.d.mts.map +1 -1
- package/resources/phone-numbers/csv-downloads.d.ts +15 -15
- package/resources/phone-numbers/csv-downloads.d.ts.map +1 -1
- package/resources/phone-numbers/csv-downloads.js +17 -17
- package/resources/phone-numbers/csv-downloads.js.map +1 -1
- package/resources/phone-numbers/csv-downloads.mjs +17 -17
- package/resources/phone-numbers/csv-downloads.mjs.map +1 -1
- package/resources/phone-numbers/index.d.mts +7 -7
- package/resources/phone-numbers/index.d.mts.map +1 -1
- package/resources/phone-numbers/index.d.ts +7 -7
- package/resources/phone-numbers/index.d.ts.map +1 -1
- package/resources/phone-numbers/jobs.d.mts +37 -37
- package/resources/phone-numbers/jobs.d.mts.map +1 -1
- package/resources/phone-numbers/jobs.d.ts +37 -37
- package/resources/phone-numbers/jobs.d.ts.map +1 -1
- package/resources/phone-numbers/jobs.js +26 -26
- package/resources/phone-numbers/jobs.js.map +1 -1
- package/resources/phone-numbers/jobs.mjs +26 -26
- package/resources/phone-numbers/jobs.mjs.map +1 -1
- package/resources/phone-numbers/messaging.d.mts +35 -35
- package/resources/phone-numbers/messaging.d.mts.map +1 -1
- package/resources/phone-numbers/messaging.d.ts +35 -35
- package/resources/phone-numbers/messaging.d.ts.map +1 -1
- package/resources/phone-numbers/messaging.js +14 -14
- package/resources/phone-numbers/messaging.js.map +1 -1
- package/resources/phone-numbers/messaging.mjs +14 -14
- package/resources/phone-numbers/messaging.mjs.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.mts +66 -66
- package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.ts +66 -66
- package/resources/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/phone-numbers/phone-numbers.js +34 -34
- package/resources/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/phone-numbers/phone-numbers.mjs +34 -34
- package/resources/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/phone-numbers/voice.d.mts +56 -56
- package/resources/phone-numbers/voice.d.mts.map +1 -1
- package/resources/phone-numbers/voice.d.ts +56 -56
- package/resources/phone-numbers/voice.d.ts.map +1 -1
- package/resources/phone-numbers/voice.js +14 -14
- package/resources/phone-numbers/voice.js.map +1 -1
- package/resources/phone-numbers/voice.mjs +14 -14
- package/resources/phone-numbers/voice.mjs.map +1 -1
- package/resources/phone-numbers/voicemail.d.mts +12 -12
- package/resources/phone-numbers/voicemail.d.mts.map +1 -1
- package/resources/phone-numbers/voicemail.d.ts +12 -12
- package/resources/phone-numbers/voicemail.d.ts.map +1 -1
- package/resources/phone-numbers/voicemail.js +12 -12
- package/resources/phone-numbers/voicemail.js.map +1 -1
- package/resources/phone-numbers/voicemail.mjs +12 -12
- package/resources/phone-numbers/voicemail.mjs.map +1 -1
- package/resources/porting/events.d.mts +11 -11
- package/resources/porting/events.d.mts.map +1 -1
- package/resources/porting/events.d.ts +11 -11
- package/resources/porting/events.d.ts.map +1 -1
- package/resources/porting/events.js +13 -13
- package/resources/porting/events.js.map +1 -1
- package/resources/porting/events.mjs +13 -13
- package/resources/porting/events.mjs.map +1 -1
- package/resources/porting/index.d.mts +2 -2
- package/resources/porting/index.d.mts.map +1 -1
- package/resources/porting/index.d.ts +2 -2
- package/resources/porting/index.d.ts.map +1 -1
- package/resources/porting/loa-configurations.d.mts +92 -92
- package/resources/porting/loa-configurations.d.mts.map +1 -1
- package/resources/porting/loa-configurations.d.ts +92 -92
- package/resources/porting/loa-configurations.d.ts.map +1 -1
- package/resources/porting/loa-configurations.js +89 -89
- package/resources/porting/loa-configurations.js.map +1 -1
- package/resources/porting/loa-configurations.mjs +89 -89
- package/resources/porting/loa-configurations.mjs.map +1 -1
- package/resources/porting/porting.d.mts +2 -2
- package/resources/porting/porting.d.mts.map +1 -1
- package/resources/porting/porting.d.ts +2 -2
- package/resources/porting/porting.d.ts.map +1 -1
- package/resources/porting/reports.d.mts +23 -23
- package/resources/porting/reports.d.mts.map +1 -1
- package/resources/porting/reports.d.ts +23 -23
- package/resources/porting/reports.d.ts.map +1 -1
- package/resources/porting/reports.js +17 -17
- package/resources/porting/reports.js.map +1 -1
- package/resources/porting/reports.mjs +17 -17
- package/resources/porting/reports.mjs.map +1 -1
- package/resources/porting-orders/activation-jobs.d.mts +17 -17
- package/resources/porting-orders/activation-jobs.d.mts.map +1 -1
- package/resources/porting-orders/activation-jobs.d.ts +17 -17
- package/resources/porting-orders/activation-jobs.d.ts.map +1 -1
- package/resources/porting-orders/activation-jobs.js +16 -16
- package/resources/porting-orders/activation-jobs.js.map +1 -1
- package/resources/porting-orders/activation-jobs.mjs +16 -16
- package/resources/porting-orders/activation-jobs.mjs.map +1 -1
- package/resources/porting-orders/additional-documents.d.mts +28 -28
- package/resources/porting-orders/additional-documents.d.mts.map +1 -1
- package/resources/porting-orders/additional-documents.d.ts +28 -28
- package/resources/porting-orders/additional-documents.d.ts.map +1 -1
- package/resources/porting-orders/additional-documents.js +14 -14
- package/resources/porting-orders/additional-documents.js.map +1 -1
- package/resources/porting-orders/additional-documents.mjs +14 -14
- package/resources/porting-orders/additional-documents.mjs.map +1 -1
- package/resources/porting-orders/associated-phone-numbers.d.mts +36 -36
- package/resources/porting-orders/associated-phone-numbers.d.mts.map +1 -1
- package/resources/porting-orders/associated-phone-numbers.d.ts +36 -36
- package/resources/porting-orders/associated-phone-numbers.d.ts.map +1 -1
- package/resources/porting-orders/associated-phone-numbers.js +18 -18
- package/resources/porting-orders/associated-phone-numbers.js.map +1 -1
- package/resources/porting-orders/associated-phone-numbers.mjs +18 -18
- package/resources/porting-orders/associated-phone-numbers.mjs.map +1 -1
- package/resources/porting-orders/comments.d.mts +14 -14
- package/resources/porting-orders/comments.d.mts.map +1 -1
- package/resources/porting-orders/comments.d.ts +14 -14
- package/resources/porting-orders/comments.d.ts.map +1 -1
- package/resources/porting-orders/comments.js +13 -13
- package/resources/porting-orders/comments.js.map +1 -1
- package/resources/porting-orders/comments.mjs +13 -13
- package/resources/porting-orders/comments.mjs.map +1 -1
- package/resources/porting-orders/index.d.mts +8 -8
- package/resources/porting-orders/index.d.mts.map +1 -1
- package/resources/porting-orders/index.d.ts +8 -8
- package/resources/porting-orders/index.d.ts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.mts +49 -49
- package/resources/porting-orders/phone-number-blocks.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.ts +49 -49
- package/resources/porting-orders/phone-number-blocks.d.ts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.js +16 -16
- package/resources/porting-orders/phone-number-blocks.js.map +1 -1
- package/resources/porting-orders/phone-number-blocks.mjs +16 -16
- package/resources/porting-orders/phone-number-blocks.mjs.map +1 -1
- package/resources/porting-orders/phone-number-configurations.d.mts +26 -26
- package/resources/porting-orders/phone-number-configurations.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-configurations.d.ts +26 -26
- package/resources/porting-orders/phone-number-configurations.d.ts.map +1 -1
- package/resources/porting-orders/phone-number-configurations.js +12 -12
- package/resources/porting-orders/phone-number-configurations.js.map +1 -1
- package/resources/porting-orders/phone-number-configurations.mjs +12 -12
- package/resources/porting-orders/phone-number-configurations.mjs.map +1 -1
- package/resources/porting-orders/phone-number-extensions.d.mts +48 -48
- package/resources/porting-orders/phone-number-extensions.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-extensions.d.ts +48 -48
- package/resources/porting-orders/phone-number-extensions.d.ts.map +1 -1
- package/resources/porting-orders/phone-number-extensions.js +16 -16
- package/resources/porting-orders/phone-number-extensions.js.map +1 -1
- package/resources/porting-orders/phone-number-extensions.mjs +16 -16
- package/resources/porting-orders/phone-number-extensions.mjs.map +1 -1
- package/resources/porting-orders/porting-orders.d.mts +119 -119
- package/resources/porting-orders/porting-orders.d.mts.map +1 -1
- package/resources/porting-orders/porting-orders.d.ts +119 -119
- package/resources/porting-orders/porting-orders.d.ts.map +1 -1
- package/resources/porting-orders/porting-orders.js +46 -46
- package/resources/porting-orders/porting-orders.js.map +1 -1
- package/resources/porting-orders/porting-orders.mjs +46 -46
- package/resources/porting-orders/porting-orders.mjs.map +1 -1
- package/resources/portouts/comments.d.mts +6 -6
- package/resources/portouts/comments.d.mts.map +1 -1
- package/resources/portouts/comments.d.ts +6 -6
- package/resources/portouts/comments.d.ts.map +1 -1
- package/resources/portouts/comments.js +8 -8
- package/resources/portouts/comments.js.map +1 -1
- package/resources/portouts/comments.mjs +8 -8
- package/resources/portouts/comments.mjs.map +1 -1
- package/resources/portouts/events.d.mts +11 -11
- package/resources/portouts/events.d.mts.map +1 -1
- package/resources/portouts/events.d.ts +11 -11
- package/resources/portouts/events.d.ts.map +1 -1
- package/resources/portouts/events.js +13 -13
- package/resources/portouts/events.js.map +1 -1
- package/resources/portouts/events.mjs +13 -13
- package/resources/portouts/events.mjs.map +1 -1
- package/resources/portouts/index.d.mts +1 -1
- package/resources/portouts/index.d.mts.map +1 -1
- package/resources/portouts/index.d.ts +1 -1
- package/resources/portouts/index.d.ts.map +1 -1
- package/resources/portouts/portouts.d.mts +12 -12
- package/resources/portouts/portouts.d.mts.map +1 -1
- package/resources/portouts/portouts.d.ts +12 -12
- package/resources/portouts/portouts.d.ts.map +1 -1
- package/resources/portouts/portouts.js +13 -13
- package/resources/portouts/portouts.js.map +1 -1
- package/resources/portouts/portouts.mjs +13 -13
- package/resources/portouts/portouts.mjs.map +1 -1
- package/resources/portouts/reports.d.mts +23 -23
- package/resources/portouts/reports.d.mts.map +1 -1
- package/resources/portouts/reports.d.ts +23 -23
- package/resources/portouts/reports.d.ts.map +1 -1
- package/resources/portouts/reports.js +17 -17
- package/resources/portouts/reports.js.map +1 -1
- package/resources/portouts/reports.mjs +17 -17
- package/resources/portouts/reports.mjs.map +1 -1
- package/resources/portouts/supporting-documents.d.mts +8 -8
- package/resources/portouts/supporting-documents.d.mts.map +1 -1
- package/resources/portouts/supporting-documents.d.ts +8 -8
- package/resources/portouts/supporting-documents.d.ts.map +1 -1
- package/resources/portouts/supporting-documents.js +10 -10
- package/resources/portouts/supporting-documents.js.map +1 -1
- package/resources/portouts/supporting-documents.mjs +10 -10
- package/resources/portouts/supporting-documents.mjs.map +1 -1
- package/resources/private-wireless-gateways.d.mts +34 -34
- package/resources/private-wireless-gateways.d.mts.map +1 -1
- package/resources/private-wireless-gateways.d.ts +34 -34
- package/resources/private-wireless-gateways.d.ts.map +1 -1
- package/resources/private-wireless-gateways.js +22 -22
- package/resources/private-wireless-gateways.js.map +1 -1
- package/resources/private-wireless-gateways.mjs +22 -22
- package/resources/private-wireless-gateways.mjs.map +1 -1
- package/resources/pronunciation-dicts.d.mts +27 -27
- package/resources/pronunciation-dicts.d.mts.map +1 -1
- package/resources/pronunciation-dicts.d.ts +27 -27
- package/resources/pronunciation-dicts.d.ts.map +1 -1
- package/resources/pronunciation-dicts.js +34 -34
- package/resources/pronunciation-dicts.js.map +1 -1
- package/resources/pronunciation-dicts.mjs +34 -34
- package/resources/pronunciation-dicts.mjs.map +1 -1
- package/resources/public-internet-gateways.d.mts +16 -16
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +16 -16
- package/resources/public-internet-gateways.d.ts.map +1 -1
- package/resources/public-internet-gateways.js +12 -12
- package/resources/public-internet-gateways.js.map +1 -1
- package/resources/public-internet-gateways.mjs +12 -12
- package/resources/public-internet-gateways.mjs.map +1 -1
- package/resources/queues/calls.d.mts +30 -30
- package/resources/queues/calls.d.mts.map +1 -1
- package/resources/queues/calls.d.ts +30 -30
- package/resources/queues/calls.d.ts.map +1 -1
- package/resources/queues/calls.js +31 -31
- package/resources/queues/calls.js.map +1 -1
- package/resources/queues/calls.mjs +31 -31
- package/resources/queues/calls.mjs.map +1 -1
- package/resources/queues/index.d.mts +2 -2
- package/resources/queues/index.d.mts.map +1 -1
- package/resources/queues/index.d.ts +2 -2
- package/resources/queues/index.d.ts.map +1 -1
- package/resources/queues/queues.d.mts +25 -25
- package/resources/queues/queues.d.mts.map +1 -1
- package/resources/queues/queues.d.ts +25 -25
- package/resources/queues/queues.d.ts.map +1 -1
- package/resources/queues/queues.js +26 -26
- package/resources/queues/queues.js.map +1 -1
- package/resources/queues/queues.mjs +26 -26
- package/resources/queues/queues.mjs.map +1 -1
- package/resources/recording-transcriptions.d.mts +4 -4
- package/resources/recording-transcriptions.d.mts.map +1 -1
- package/resources/recording-transcriptions.d.ts +4 -4
- package/resources/recording-transcriptions.d.ts.map +1 -1
- package/resources/recording-transcriptions.js +6 -6
- package/resources/recording-transcriptions.js.map +1 -1
- package/resources/recording-transcriptions.mjs +6 -6
- package/resources/recording-transcriptions.mjs.map +1 -1
- package/resources/recordings/recordings.d.mts +11 -11
- package/resources/recordings/recordings.d.mts.map +1 -1
- package/resources/recordings/recordings.d.ts +11 -11
- package/resources/recordings/recordings.d.ts.map +1 -1
- package/resources/recordings/recordings.js +13 -13
- package/resources/recordings/recordings.js.map +1 -1
- package/resources/recordings/recordings.mjs +13 -13
- package/resources/recordings/recordings.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/mdr-usage-reports.d.mts +30 -30
- package/resources/reports/mdr-usage-reports.d.mts.map +1 -1
- package/resources/reports/mdr-usage-reports.d.ts +30 -30
- package/resources/reports/mdr-usage-reports.d.ts.map +1 -1
- package/resources/reports/mdr-usage-reports.js +34 -34
- package/resources/reports/mdr-usage-reports.js.map +1 -1
- package/resources/reports/mdr-usage-reports.mjs +34 -34
- package/resources/reports/mdr-usage-reports.mjs.map +1 -1
- package/resources/reports/reports.d.mts +1 -1
- package/resources/reports/reports.d.mts.map +1 -1
- package/resources/reports/reports.d.ts +1 -1
- package/resources/reports/reports.d.ts.map +1 -1
- package/resources/reputation/index.d.mts +1 -1
- package/resources/reputation/index.d.mts.map +1 -1
- package/resources/reputation/index.d.ts +1 -1
- package/resources/reputation/index.d.ts.map +1 -1
- package/resources/reputation/numbers.d.mts +11 -11
- package/resources/reputation/numbers.d.mts.map +1 -1
- package/resources/reputation/numbers.d.ts +11 -11
- package/resources/reputation/numbers.d.ts.map +1 -1
- package/resources/reputation/numbers.js +7 -7
- package/resources/reputation/numbers.js.map +1 -1
- package/resources/reputation/numbers.mjs +7 -7
- package/resources/reputation/numbers.mjs.map +1 -1
- package/resources/reputation/reputation.d.mts +1 -1
- package/resources/reputation/reputation.d.mts.map +1 -1
- package/resources/reputation/reputation.d.ts +1 -1
- package/resources/reputation/reputation.d.ts.map +1 -1
- package/resources/requirement-groups.d.mts +55 -55
- package/resources/requirement-groups.d.mts.map +1 -1
- package/resources/requirement-groups.d.ts +55 -55
- package/resources/requirement-groups.d.ts.map +1 -1
- package/resources/requirement-groups.js +24 -24
- package/resources/requirement-groups.js.map +1 -1
- package/resources/requirement-groups.mjs +24 -24
- package/resources/requirement-groups.mjs.map +1 -1
- package/resources/requirement-types.d.mts +10 -10
- package/resources/requirement-types.d.mts.map +1 -1
- package/resources/requirement-types.d.ts +10 -10
- package/resources/requirement-types.d.ts.map +1 -1
- package/resources/requirement-types.js +12 -12
- package/resources/requirement-types.js.map +1 -1
- package/resources/requirement-types.mjs +12 -12
- package/resources/requirement-types.mjs.map +1 -1
- package/resources/requirements.d.mts +11 -11
- package/resources/requirements.d.mts.map +1 -1
- package/resources/requirements.d.ts +11 -11
- package/resources/requirements.d.ts.map +1 -1
- package/resources/requirements.js +13 -13
- package/resources/requirements.js.map +1 -1
- package/resources/requirements.mjs +13 -13
- package/resources/requirements.mjs.map +1 -1
- package/resources/room-compositions.d.mts +57 -57
- package/resources/room-compositions.d.mts.map +1 -1
- package/resources/room-compositions.d.ts +57 -57
- package/resources/room-compositions.d.ts.map +1 -1
- package/resources/room-compositions.js +26 -26
- package/resources/room-compositions.js.map +1 -1
- package/resources/room-compositions.mjs +26 -26
- package/resources/room-compositions.mjs.map +1 -1
- package/resources/room-participants.d.mts +4 -4
- package/resources/room-participants.d.mts.map +1 -1
- package/resources/room-participants.d.ts +4 -4
- package/resources/room-participants.d.ts.map +1 -1
- package/resources/room-participants.js +6 -6
- package/resources/room-participants.js.map +1 -1
- package/resources/room-participants.mjs +6 -6
- package/resources/room-participants.mjs.map +1 -1
- package/resources/room-recordings.d.mts +13 -13
- package/resources/room-recordings.d.mts.map +1 -1
- package/resources/room-recordings.d.ts +13 -13
- package/resources/room-recordings.d.ts.map +1 -1
- package/resources/room-recordings.js +10 -10
- package/resources/room-recordings.js.map +1 -1
- package/resources/room-recordings.mjs +10 -10
- package/resources/room-recordings.mjs.map +1 -1
- package/resources/rooms/index.d.mts +2 -2
- package/resources/rooms/index.d.mts.map +1 -1
- package/resources/rooms/index.d.ts +2 -2
- package/resources/rooms/index.d.ts.map +1 -1
- package/resources/rooms/rooms.d.mts +83 -83
- package/resources/rooms/rooms.d.mts.map +1 -1
- package/resources/rooms/rooms.d.ts +83 -83
- package/resources/rooms/rooms.d.ts.map +1 -1
- package/resources/rooms/rooms.js +30 -30
- package/resources/rooms/rooms.js.map +1 -1
- package/resources/rooms/rooms.mjs +30 -30
- package/resources/rooms/rooms.mjs.map +1 -1
- package/resources/rooms/sessions/index.d.mts +1 -1
- package/resources/rooms/sessions/index.d.mts.map +1 -1
- package/resources/rooms/sessions/index.d.ts +1 -1
- package/resources/rooms/sessions/index.d.ts.map +1 -1
- package/resources/rooms/sessions/sessions.d.mts +18 -18
- package/resources/rooms/sessions/sessions.d.mts.map +1 -1
- package/resources/rooms/sessions/sessions.d.ts +18 -18
- package/resources/rooms/sessions/sessions.d.ts.map +1 -1
- package/resources/rooms/sessions/sessions.js +13 -13
- package/resources/rooms/sessions/sessions.js.map +1 -1
- package/resources/rooms/sessions/sessions.mjs +13 -13
- package/resources/rooms/sessions/sessions.mjs.map +1 -1
- package/resources/short-codes.d.mts +20 -20
- package/resources/short-codes.d.mts.map +1 -1
- package/resources/short-codes.d.ts +20 -20
- package/resources/short-codes.d.ts.map +1 -1
- package/resources/short-codes.js +17 -17
- package/resources/short-codes.js.map +1 -1
- package/resources/short-codes.mjs +17 -17
- package/resources/short-codes.mjs.map +1 -1
- package/resources/sim-card-data-usage-notifications.d.mts +29 -29
- package/resources/sim-card-data-usage-notifications.d.mts.map +1 -1
- package/resources/sim-card-data-usage-notifications.d.ts +29 -29
- package/resources/sim-card-data-usage-notifications.d.ts.map +1 -1
- package/resources/sim-card-data-usage-notifications.js +29 -29
- package/resources/sim-card-data-usage-notifications.js.map +1 -1
- package/resources/sim-card-data-usage-notifications.mjs +29 -29
- package/resources/sim-card-data-usage-notifications.mjs.map +1 -1
- package/resources/sim-card-groups/actions.d.mts +12 -12
- package/resources/sim-card-groups/actions.d.mts.map +1 -1
- package/resources/sim-card-groups/actions.d.ts +12 -12
- package/resources/sim-card-groups/actions.d.ts.map +1 -1
- package/resources/sim-card-groups/actions.js +14 -14
- package/resources/sim-card-groups/actions.js.map +1 -1
- package/resources/sim-card-groups/actions.mjs +14 -14
- package/resources/sim-card-groups/actions.mjs.map +1 -1
- package/resources/sim-card-groups/index.d.mts +1 -1
- package/resources/sim-card-groups/index.d.mts.map +1 -1
- package/resources/sim-card-groups/index.d.ts +1 -1
- package/resources/sim-card-groups/index.d.ts.map +1 -1
- package/resources/sim-card-groups/sim-card-groups.d.mts +36 -36
- package/resources/sim-card-groups/sim-card-groups.d.mts.map +1 -1
- package/resources/sim-card-groups/sim-card-groups.d.ts +36 -36
- package/resources/sim-card-groups/sim-card-groups.d.ts.map +1 -1
- package/resources/sim-card-groups/sim-card-groups.js +29 -29
- package/resources/sim-card-groups/sim-card-groups.js.map +1 -1
- package/resources/sim-card-groups/sim-card-groups.mjs +29 -29
- package/resources/sim-card-groups/sim-card-groups.mjs.map +1 -1
- package/resources/sim-card-orders.d.mts +23 -23
- package/resources/sim-card-orders.d.mts.map +1 -1
- package/resources/sim-card-orders.d.ts +23 -23
- package/resources/sim-card-orders.d.ts.map +1 -1
- package/resources/sim-card-orders.js +17 -17
- package/resources/sim-card-orders.js.map +1 -1
- package/resources/sim-card-orders.mjs +17 -17
- package/resources/sim-card-orders.mjs.map +1 -1
- package/resources/sim-cards/actions.d.mts +61 -61
- package/resources/sim-cards/actions.d.mts.map +1 -1
- package/resources/sim-cards/actions.d.ts +61 -61
- package/resources/sim-cards/actions.d.ts.map +1 -1
- package/resources/sim-cards/actions.js +58 -58
- package/resources/sim-cards/actions.js.map +1 -1
- package/resources/sim-cards/actions.mjs +58 -58
- package/resources/sim-cards/actions.mjs.map +1 -1
- package/resources/sim-cards/index.d.mts +2 -2
- package/resources/sim-cards/index.d.mts.map +1 -1
- package/resources/sim-cards/index.d.ts +2 -2
- package/resources/sim-cards/index.d.ts.map +1 -1
- package/resources/sim-cards/sim-cards.d.mts +65 -65
- package/resources/sim-cards/sim-cards.d.mts.map +1 -1
- package/resources/sim-cards/sim-cards.d.ts +65 -65
- package/resources/sim-cards/sim-cards.d.ts.map +1 -1
- package/resources/sim-cards/sim-cards.js +26 -26
- package/resources/sim-cards/sim-cards.js.map +1 -1
- package/resources/sim-cards/sim-cards.mjs +26 -26
- package/resources/sim-cards/sim-cards.mjs.map +1 -1
- package/resources/siprec-connectors.d.mts +9 -9
- package/resources/siprec-connectors.d.mts.map +1 -1
- package/resources/siprec-connectors.d.ts +9 -9
- package/resources/siprec-connectors.d.ts.map +1 -1
- package/resources/siprec-connectors.js +14 -14
- package/resources/siprec-connectors.js.map +1 -1
- package/resources/siprec-connectors.mjs +14 -14
- package/resources/siprec-connectors.mjs.map +1 -1
- package/resources/storage/buckets/ssl-certificate.d.mts +7 -7
- package/resources/storage/buckets/ssl-certificate.d.mts.map +1 -1
- package/resources/storage/buckets/ssl-certificate.d.ts +7 -7
- package/resources/storage/buckets/ssl-certificate.d.ts.map +1 -1
- package/resources/storage/buckets/ssl-certificate.js +9 -9
- package/resources/storage/buckets/ssl-certificate.js.map +1 -1
- package/resources/storage/buckets/ssl-certificate.mjs +9 -9
- package/resources/storage/buckets/ssl-certificate.mjs.map +1 -1
- package/resources/storage/index.d.mts +1 -0
- package/resources/storage/index.d.mts.map +1 -1
- package/resources/storage/index.d.ts +1 -0
- package/resources/storage/index.d.ts.map +1 -1
- package/resources/storage/index.js +5 -3
- package/resources/storage/index.js.map +1 -1
- package/resources/storage/index.mjs +1 -0
- package/resources/storage/index.mjs.map +1 -1
- package/resources/storage/kvs/index.d.mts +3 -0
- package/resources/storage/kvs/index.d.mts.map +1 -0
- package/resources/storage/kvs/index.d.ts +3 -0
- package/resources/storage/kvs/index.d.ts.map +1 -0
- package/resources/storage/kvs/index.js +9 -0
- package/resources/storage/kvs/index.js.map +1 -0
- package/resources/storage/kvs/index.mjs +4 -0
- package/resources/storage/kvs/index.mjs.map +1 -0
- package/resources/storage/kvs/keys.d.mts +111 -0
- package/resources/storage/kvs/keys.d.mts.map +1 -0
- package/resources/storage/kvs/keys.d.ts +111 -0
- package/resources/storage/kvs/keys.d.ts.map +1 -0
- package/resources/storage/kvs/keys.js +103 -0
- package/resources/storage/kvs/keys.js.map +1 -0
- package/resources/storage/kvs/keys.mjs +99 -0
- package/resources/storage/kvs/keys.mjs.map +1 -0
- package/resources/storage/kvs/kvs.d.mts +92 -0
- package/resources/storage/kvs/kvs.d.mts.map +1 -0
- package/resources/storage/kvs/kvs.d.ts +92 -0
- package/resources/storage/kvs/kvs.d.ts.map +1 -0
- package/resources/storage/kvs/kvs.js +81 -0
- package/resources/storage/kvs/kvs.js.map +1 -0
- package/resources/storage/kvs/kvs.mjs +76 -0
- package/resources/storage/kvs/kvs.mjs.map +1 -0
- package/resources/storage/kvs.d.mts +2 -0
- package/resources/storage/kvs.d.mts.map +1 -0
- package/resources/storage/kvs.d.ts +2 -0
- package/resources/storage/kvs.d.ts.map +1 -0
- package/resources/storage/kvs.js +6 -0
- package/resources/storage/kvs.js.map +1 -0
- package/resources/storage/kvs.mjs +3 -0
- package/resources/storage/kvs.mjs.map +1 -0
- package/resources/storage/migration-sources.d.mts +16 -16
- package/resources/storage/migration-sources.d.mts.map +1 -1
- package/resources/storage/migration-sources.d.ts +16 -16
- package/resources/storage/migration-sources.d.ts.map +1 -1
- package/resources/storage/migration-sources.js +20 -20
- package/resources/storage/migration-sources.js.map +1 -1
- package/resources/storage/migration-sources.mjs +20 -20
- package/resources/storage/migration-sources.mjs.map +1 -1
- package/resources/storage/migrations/migrations.d.mts +9 -9
- package/resources/storage/migrations/migrations.d.mts.map +1 -1
- package/resources/storage/migrations/migrations.d.ts +9 -9
- package/resources/storage/migrations/migrations.d.ts.map +1 -1
- package/resources/storage/migrations/migrations.js +11 -11
- package/resources/storage/migrations/migrations.js.map +1 -1
- package/resources/storage/migrations/migrations.mjs +11 -11
- package/resources/storage/migrations/migrations.mjs.map +1 -1
- package/resources/storage/storage.d.mts +4 -0
- package/resources/storage/storage.d.mts.map +1 -1
- package/resources/storage/storage.d.ts +4 -0
- package/resources/storage/storage.d.ts.map +1 -1
- package/resources/storage/storage.js +4 -0
- package/resources/storage/storage.js.map +1 -1
- package/resources/storage/storage.mjs +4 -0
- package/resources/storage/storage.mjs.map +1 -1
- package/resources/sub-number-orders.d.mts +48 -48
- package/resources/sub-number-orders.d.mts.map +1 -1
- package/resources/sub-number-orders.d.ts +48 -48
- package/resources/sub-number-orders.d.ts.map +1 -1
- package/resources/sub-number-orders.js +29 -29
- package/resources/sub-number-orders.js.map +1 -1
- package/resources/sub-number-orders.mjs +29 -29
- package/resources/sub-number-orders.mjs.map +1 -1
- package/resources/telephony-credentials.d.mts +52 -52
- package/resources/telephony-credentials.d.mts.map +1 -1
- package/resources/telephony-credentials.d.ts +52 -52
- package/resources/telephony-credentials.d.ts.map +1 -1
- package/resources/telephony-credentials.js +29 -29
- package/resources/telephony-credentials.js.map +1 -1
- package/resources/telephony-credentials.mjs +29 -29
- package/resources/telephony-credentials.mjs.map +1 -1
- package/resources/terms-of-service/agreements.d.mts +5 -5
- package/resources/terms-of-service/agreements.d.mts.map +1 -1
- package/resources/terms-of-service/agreements.d.ts +5 -5
- package/resources/terms-of-service/agreements.d.ts.map +1 -1
- package/resources/terms-of-service/agreements.js +7 -7
- package/resources/terms-of-service/agreements.js.map +1 -1
- package/resources/terms-of-service/agreements.mjs +7 -7
- package/resources/terms-of-service/agreements.mjs.map +1 -1
- package/resources/terms-of-service/index.d.mts +1 -1
- package/resources/terms-of-service/index.d.mts.map +1 -1
- package/resources/terms-of-service/index.d.ts +1 -1
- package/resources/terms-of-service/index.d.ts.map +1 -1
- package/resources/terms-of-service/terms-of-service.d.mts +11 -11
- package/resources/terms-of-service/terms-of-service.d.mts.map +1 -1
- package/resources/terms-of-service/terms-of-service.d.ts +11 -11
- package/resources/terms-of-service/terms-of-service.d.ts.map +1 -1
- package/resources/terms-of-service/terms-of-service.js +8 -8
- package/resources/terms-of-service/terms-of-service.js.map +1 -1
- package/resources/terms-of-service/terms-of-service.mjs +8 -8
- package/resources/terms-of-service/terms-of-service.mjs.map +1 -1
- package/resources/texml/accounts/accounts.d.mts +3 -3
- package/resources/texml/accounts/accounts.d.mts.map +1 -1
- package/resources/texml/accounts/accounts.d.ts +3 -3
- package/resources/texml/accounts/accounts.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.mts +85 -85
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +85 -85
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js +34 -34
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs +34 -34
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/texml/accounts/calls/index.d.mts +2 -2
- package/resources/texml/accounts/calls/index.d.mts.map +1 -1
- package/resources/texml/accounts/calls/index.d.ts +2 -2
- package/resources/texml/accounts/calls/index.d.ts.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.d.mts +15 -15
- package/resources/texml/accounts/calls/recordings-json.d.mts.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.d.ts +15 -15
- package/resources/texml/accounts/calls/recordings-json.d.ts.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.js +16 -16
- package/resources/texml/accounts/calls/recordings-json.js.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.mjs +16 -16
- package/resources/texml/accounts/calls/recordings-json.mjs.map +1 -1
- package/resources/texml/accounts/conferences/conferences.d.mts +41 -41
- package/resources/texml/accounts/conferences/conferences.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/conferences.d.ts +41 -41
- package/resources/texml/accounts/conferences/conferences.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/conferences.js +14 -14
- package/resources/texml/accounts/conferences/conferences.js.map +1 -1
- package/resources/texml/accounts/conferences/conferences.mjs +14 -14
- package/resources/texml/accounts/conferences/conferences.mjs.map +1 -1
- package/resources/texml/accounts/conferences/index.d.mts +2 -2
- package/resources/texml/accounts/conferences/index.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/index.d.ts +2 -2
- package/resources/texml/accounts/conferences/index.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.mts +111 -111
- package/resources/texml/accounts/conferences/participants.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.ts +111 -111
- package/resources/texml/accounts/conferences/participants.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/participants.js +43 -43
- package/resources/texml/accounts/conferences/participants.js.map +1 -1
- package/resources/texml/accounts/conferences/participants.mjs +43 -43
- package/resources/texml/accounts/conferences/participants.mjs.map +1 -1
- package/resources/texml/accounts/index.d.mts +3 -3
- package/resources/texml/accounts/index.d.mts.map +1 -1
- package/resources/texml/accounts/index.d.ts +3 -3
- package/resources/texml/accounts/index.d.ts.map +1 -1
- package/resources/texml/accounts/queues.d.mts +18 -18
- package/resources/texml/accounts/queues.d.mts.map +1 -1
- package/resources/texml/accounts/queues.d.ts +18 -18
- package/resources/texml/accounts/queues.d.ts.map +1 -1
- package/resources/texml/accounts/queues.js +17 -17
- package/resources/texml/accounts/queues.js.map +1 -1
- package/resources/texml/accounts/queues.mjs +17 -17
- package/resources/texml/accounts/queues.mjs.map +1 -1
- package/resources/texml/index.d.mts +1 -1
- package/resources/texml/index.d.mts.map +1 -1
- package/resources/texml/index.d.ts +1 -1
- package/resources/texml/index.d.ts.map +1 -1
- package/resources/texml/texml.d.mts +28 -28
- package/resources/texml/texml.d.mts.map +1 -1
- package/resources/texml/texml.d.ts +28 -28
- package/resources/texml/texml.d.ts.map +1 -1
- package/resources/texml/texml.js +18 -18
- package/resources/texml/texml.js.map +1 -1
- package/resources/texml/texml.mjs +18 -18
- package/resources/texml/texml.mjs.map +1 -1
- package/resources/texml-applications.d.mts +67 -67
- package/resources/texml-applications.d.mts.map +1 -1
- package/resources/texml-applications.d.ts +67 -67
- package/resources/texml-applications.d.ts.map +1 -1
- package/resources/texml-applications.js +31 -31
- package/resources/texml-applications.js.map +1 -1
- package/resources/texml-applications.mjs +31 -31
- package/resources/texml-applications.mjs.map +1 -1
- package/resources/text-to-speech/index.d.mts +1 -1
- package/resources/text-to-speech/index.d.mts.map +1 -1
- package/resources/text-to-speech/index.d.ts +1 -1
- package/resources/text-to-speech/index.d.ts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.mts +19 -19
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +19 -19
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-speech/text-to-speech.js +10 -10
- package/resources/text-to-speech/text-to-speech.js.map +1 -1
- package/resources/text-to-speech/text-to-speech.mjs +10 -10
- package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
- package/resources/traffic-policy-profiles.d.mts +57 -57
- package/resources/traffic-policy-profiles.d.mts.map +1 -1
- package/resources/traffic-policy-profiles.d.ts +57 -57
- package/resources/traffic-policy-profiles.d.ts.map +1 -1
- package/resources/traffic-policy-profiles.js +40 -40
- package/resources/traffic-policy-profiles.js.map +1 -1
- package/resources/traffic-policy-profiles.mjs +40 -40
- package/resources/traffic-policy-profiles.mjs.map +1 -1
- package/resources/uac-connections/index.d.mts +1 -1
- package/resources/uac-connections/index.d.mts.map +1 -1
- package/resources/uac-connections/index.d.ts +1 -1
- package/resources/uac-connections/index.d.ts.map +1 -1
- package/resources/uac-connections/uac-connections.d.mts +95 -85
- package/resources/uac-connections/uac-connections.d.mts.map +1 -1
- package/resources/uac-connections/uac-connections.d.ts +95 -85
- package/resources/uac-connections/uac-connections.d.ts.map +1 -1
- package/resources/uac-connections/uac-connections.js +32 -32
- package/resources/uac-connections/uac-connections.js.map +1 -1
- package/resources/uac-connections/uac-connections.mjs +32 -32
- package/resources/uac-connections/uac-connections.mjs.map +1 -1
- package/resources/user-addresses.d.mts +86 -86
- package/resources/user-addresses.d.mts.map +1 -1
- package/resources/user-addresses.d.ts +86 -86
- package/resources/user-addresses.d.ts.map +1 -1
- package/resources/user-addresses.js +17 -17
- package/resources/user-addresses.js.map +1 -1
- package/resources/user-addresses.mjs +17 -17
- package/resources/user-addresses.mjs.map +1 -1
- package/resources/verifications/verifications.d.mts +11 -11
- package/resources/verifications/verifications.d.mts.map +1 -1
- package/resources/verifications/verifications.d.ts +11 -11
- package/resources/verifications/verifications.d.ts.map +1 -1
- package/resources/verifications/verifications.js +13 -13
- package/resources/verifications/verifications.js.map +1 -1
- package/resources/verifications/verifications.mjs +13 -13
- package/resources/verifications/verifications.mjs.map +1 -1
- package/resources/verified-numbers/index.d.mts +1 -1
- package/resources/verified-numbers/index.d.mts.map +1 -1
- package/resources/verified-numbers/index.d.ts +1 -1
- package/resources/verified-numbers/index.d.ts.map +1 -1
- package/resources/verified-numbers/verified-numbers.d.mts +21 -21
- package/resources/verified-numbers/verified-numbers.d.mts.map +1 -1
- package/resources/verified-numbers/verified-numbers.d.ts +21 -21
- package/resources/verified-numbers/verified-numbers.d.ts.map +1 -1
- package/resources/verified-numbers/verified-numbers.js +25 -25
- package/resources/verified-numbers/verified-numbers.js.map +1 -1
- package/resources/verified-numbers/verified-numbers.mjs +25 -25
- package/resources/verified-numbers/verified-numbers.mjs.map +1 -1
- package/resources/verify-profiles.d.mts +46 -46
- package/resources/verify-profiles.d.mts.map +1 -1
- package/resources/verify-profiles.d.ts +46 -46
- package/resources/verify-profiles.d.ts.map +1 -1
- package/resources/verify-profiles.js +37 -37
- package/resources/verify-profiles.js.map +1 -1
- package/resources/verify-profiles.mjs +37 -37
- package/resources/verify-profiles.mjs.map +1 -1
- package/resources/virtual-cross-connects.d.mts +42 -42
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts +42 -42
- package/resources/virtual-cross-connects.d.ts.map +1 -1
- package/resources/virtual-cross-connects.js +28 -28
- package/resources/virtual-cross-connects.js.map +1 -1
- package/resources/virtual-cross-connects.mjs +28 -28
- package/resources/virtual-cross-connects.mjs.map +1 -1
- package/resources/voice-clones.d.mts +61 -61
- package/resources/voice-clones.d.mts.map +1 -1
- package/resources/voice-clones.d.ts +61 -61
- package/resources/voice-clones.d.ts.map +1 -1
- package/resources/voice-clones.js +40 -40
- package/resources/voice-clones.js.map +1 -1
- package/resources/voice-clones.mjs +40 -40
- package/resources/voice-clones.mjs.map +1 -1
- package/resources/voice-designs.d.mts +49 -49
- package/resources/voice-designs.d.mts.map +1 -1
- package/resources/voice-designs.d.ts +49 -49
- package/resources/voice-designs.d.ts.map +1 -1
- package/resources/voice-designs.js +46 -46
- package/resources/voice-designs.js.map +1 -1
- package/resources/voice-designs.mjs +46 -46
- package/resources/voice-designs.mjs.map +1 -1
- package/resources/voice-sdk-call-reports.d.mts +6 -6
- package/resources/voice-sdk-call-reports.d.mts.map +1 -1
- package/resources/voice-sdk-call-reports.d.ts +6 -6
- package/resources/voice-sdk-call-reports.d.ts.map +1 -1
- package/resources/voice-sdk-call-reports.js +8 -8
- package/resources/voice-sdk-call-reports.js.map +1 -1
- package/resources/voice-sdk-call-reports.mjs +8 -8
- package/resources/voice-sdk-call-reports.mjs.map +1 -1
- package/resources/webhook-deliveries.d.mts +4 -4
- package/resources/webhook-deliveries.d.mts.map +1 -1
- package/resources/webhook-deliveries.d.ts +4 -4
- package/resources/webhook-deliveries.d.ts.map +1 -1
- package/resources/webhook-deliveries.js +7 -7
- package/resources/webhook-deliveries.js.map +1 -1
- package/resources/webhook-deliveries.mjs +7 -7
- package/resources/webhook-deliveries.mjs.map +1 -1
- package/resources/webhooks.d.mts +1 -1
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +1 -1
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +3 -3
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +3 -3
- package/resources/webhooks.mjs.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.d.mts +10 -10
- package/resources/whatsapp/business-accounts/business-accounts.d.mts.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.d.ts +10 -10
- package/resources/whatsapp/business-accounts/business-accounts.d.ts.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.js +12 -12
- package/resources/whatsapp/business-accounts/business-accounts.js.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.mjs +12 -12
- package/resources/whatsapp/business-accounts/business-accounts.mjs.map +1 -1
- package/resources/whatsapp/index.d.mts +2 -2
- package/resources/whatsapp/index.d.mts.map +1 -1
- package/resources/whatsapp/index.d.ts +2 -2
- package/resources/whatsapp/index.d.ts.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/phone-numbers.d.mts +15 -15
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +15 -15
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.js +17 -17
- package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs +17 -17
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/photo.d.mts +12 -12
- package/resources/whatsapp/phone-numbers/profile/photo.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/photo.d.ts +12 -12
- package/resources/whatsapp/phone-numbers/profile/photo.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/photo.js +14 -14
- package/resources/whatsapp/phone-numbers/profile/photo.js.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/photo.mjs +14 -14
- package/resources/whatsapp/phone-numbers/profile/photo.mjs.map +1 -1
- package/resources/whatsapp/templates.d.mts +31 -31
- package/resources/whatsapp/templates.d.mts.map +1 -1
- package/resources/whatsapp/templates.d.ts +31 -31
- package/resources/whatsapp/templates.d.ts.map +1 -1
- package/resources/whatsapp/templates.js +14 -14
- package/resources/whatsapp/templates.js.map +1 -1
- package/resources/whatsapp/templates.mjs +14 -14
- package/resources/whatsapp/templates.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-message-templates.d.mts +4 -4
- package/resources/whatsapp-message-templates.d.mts.map +1 -1
- package/resources/whatsapp-message-templates.d.ts +4 -4
- package/resources/whatsapp-message-templates.d.ts.map +1 -1
- package/resources/whatsapp-message-templates.js +9 -9
- package/resources/whatsapp-message-templates.js.map +1 -1
- package/resources/whatsapp-message-templates.mjs +9 -9
- package/resources/whatsapp-message-templates.mjs.map +1 -1
- package/resources/wireguard-interfaces.d.mts +16 -16
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +16 -16
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/resources/wireguard-interfaces.js +14 -14
- package/resources/wireguard-interfaces.js.map +1 -1
- package/resources/wireguard-interfaces.mjs +14 -14
- package/resources/wireguard-interfaces.mjs.map +1 -1
- package/resources/wireguard-peers.d.mts +36 -36
- package/resources/wireguard-peers.d.mts.map +1 -1
- package/resources/wireguard-peers.d.ts +36 -36
- package/resources/wireguard-peers.d.ts.map +1 -1
- package/resources/wireguard-peers.js +29 -29
- package/resources/wireguard-peers.js.map +1 -1
- package/resources/wireguard-peers.mjs +29 -29
- package/resources/wireguard-peers.mjs.map +1 -1
- package/resources/wireless/detail-records-reports.d.mts +27 -27
- package/resources/wireless/detail-records-reports.d.mts.map +1 -1
- package/resources/wireless/detail-records-reports.d.ts +27 -27
- package/resources/wireless/detail-records-reports.d.ts.map +1 -1
- package/resources/wireless/detail-records-reports.js +20 -20
- package/resources/wireless/detail-records-reports.js.map +1 -1
- package/resources/wireless/detail-records-reports.mjs +20 -20
- package/resources/wireless/detail-records-reports.mjs.map +1 -1
- package/resources/wireless/index.d.mts +1 -1
- package/resources/wireless/index.d.mts.map +1 -1
- package/resources/wireless/index.d.ts +1 -1
- package/resources/wireless/index.d.ts.map +1 -1
- package/resources/wireless/wireless.d.mts +1 -1
- package/resources/wireless/wireless.d.mts.map +1 -1
- package/resources/wireless/wireless.d.ts +1 -1
- package/resources/wireless/wireless.d.ts.map +1 -1
- package/resources/wireless-blocklists.d.mts +38 -38
- package/resources/wireless-blocklists.d.mts.map +1 -1
- package/resources/wireless-blocklists.d.ts +38 -38
- package/resources/wireless-blocklists.d.ts.map +1 -1
- package/resources/wireless-blocklists.js +33 -33
- package/resources/wireless-blocklists.js.map +1 -1
- package/resources/wireless-blocklists.mjs +33 -33
- package/resources/wireless-blocklists.mjs.map +1 -1
- package/resources/x402/credit-account.d.mts +21 -21
- package/resources/x402/credit-account.d.mts.map +1 -1
- package/resources/x402/credit-account.d.ts +21 -21
- package/resources/x402/credit-account.d.ts.map +1 -1
- package/resources/x402/credit-account.js +16 -16
- package/resources/x402/credit-account.js.map +1 -1
- package/resources/x402/credit-account.mjs +16 -16
- package/resources/x402/credit-account.mjs.map +1 -1
- package/resources/x402/index.d.mts +1 -1
- package/resources/x402/index.d.mts.map +1 -1
- package/resources/x402/index.d.ts +1 -1
- package/resources/x402/index.d.ts.map +1 -1
- package/resources/x402/x402.d.mts +1 -1
- package/resources/x402/x402.d.mts.map +1 -1
- package/resources/x402/x402.d.ts +1 -1
- package/resources/x402/x402.d.ts.map +1 -1
- package/src/client.ts +111 -95
- package/src/core/pagination.ts +60 -0
- package/src/resources/access-ip-address.ts +21 -21
- package/src/resources/access-ip-ranges.ts +14 -14
- package/src/resources/addresses/actions.ts +24 -24
- package/src/resources/addresses/addresses.ts +115 -115
- package/src/resources/addresses/index.ts +2 -2
- package/src/resources/advanced-orders.ts +12 -12
- package/src/resources/ai/ai.ts +67 -67
- package/src/resources/ai/assistants/assistants.ts +70 -70
- package/src/resources/ai/assistants/canary-deploys.ts +31 -31
- package/src/resources/ai/assistants/index.ts +7 -7
- package/src/resources/ai/assistants/scheduled-events.ts +66 -66
- package/src/resources/ai/assistants/tests/index.ts +2 -2
- package/src/resources/ai/assistants/tests/runs.ts +24 -24
- package/src/resources/ai/assistants/tests/tests.ts +56 -56
- package/src/resources/ai/assistants/tools.ts +26 -26
- package/src/resources/ai/assistants/versions.ts +41 -41
- package/src/resources/ai/clusters.ts +40 -40
- package/src/resources/ai/conversations/conversations.ts +66 -66
- package/src/resources/ai/conversations/index.ts +4 -4
- package/src/resources/ai/conversations/insight-groups/index.ts +2 -2
- package/src/resources/ai/conversations/insight-groups/insight-groups.ts +45 -45
- package/src/resources/ai/conversations/insights.ts +41 -41
- package/src/resources/ai/embeddings/buckets.ts +15 -15
- package/src/resources/ai/embeddings/embeddings.ts +46 -46
- package/src/resources/ai/embeddings/index.ts +1 -1
- package/src/resources/ai/fine-tuning/jobs.ts +12 -12
- package/src/resources/ai/index.ts +8 -8
- package/src/resources/ai/integrations/connections.ts +15 -15
- package/src/resources/ai/integrations/integrations.ts +10 -10
- package/src/resources/ai/mcp-servers.ts +49 -49
- package/src/resources/ai/missions/index.ts +3 -3
- package/src/resources/ai/missions/knowledge-bases.ts +15 -15
- package/src/resources/ai/missions/mcp-servers.ts +15 -15
- package/src/resources/ai/missions/missions.ts +46 -46
- package/src/resources/ai/missions/runs/events.ts +32 -32
- package/src/resources/ai/missions/runs/index.ts +5 -5
- package/src/resources/ai/missions/runs/plan.ts +60 -60
- package/src/resources/ai/missions/runs/runs.ts +46 -46
- package/src/resources/ai/missions/tools.ts +14 -14
- package/src/resources/ai/openai/openai.ts +26 -26
- package/src/resources/ai/tools.ts +46 -46
- package/src/resources/alphanumeric-sender-ids.ts +37 -37
- package/src/resources/authentication-providers.ts +65 -65
- package/src/resources/billing-groups.ts +38 -38
- package/src/resources/bulk-sim-card-actions.ts +8 -8
- package/src/resources/bundle-pricing/billing-bundles.ts +34 -34
- package/src/resources/bundle-pricing/bundle-pricing.ts +4 -4
- package/src/resources/bundle-pricing/index.ts +4 -4
- package/src/resources/bundle-pricing/user-bundles.ts +84 -84
- package/src/resources/call-control-applications.ts +189 -189
- package/src/resources/calls/actions.ts +1636 -1636
- package/src/resources/calls/calls.ts +21 -21
- package/src/resources/calls/index.ts +21 -21
- package/src/resources/channel-zones.ts +17 -17
- package/src/resources/comments.ts +24 -24
- package/src/resources/conferences/actions.ts +240 -240
- package/src/resources/conferences/conferences.ts +128 -128
- package/src/resources/conferences/index.ts +6 -6
- package/src/resources/connections.ts +8 -8
- package/src/resources/credential-connections/credential-connections.ts +101 -101
- package/src/resources/credential-connections/index.ts +1 -1
- package/src/resources/custom-storage-credentials.ts +29 -29
- package/src/resources/customer-service-records.ts +105 -105
- package/src/resources/dialogflow-connections.ts +31 -31
- package/src/resources/dir/comments.ts +34 -34
- package/src/resources/dir/dir.ts +173 -172
- package/src/resources/dir/index.ts +5 -5
- package/src/resources/dir/phone-number-batches.ts +29 -29
- package/src/resources/dir/phone-numbers.ts +25 -25
- package/src/resources/dir/references.ts +19 -19
- package/src/resources/dir/verify-email.ts +13 -13
- package/src/resources/documents.ts +76 -76
- package/src/resources/dynamic-emergency-addresses.ts +55 -55
- package/src/resources/dynamic-emergency-endpoints.ts +42 -42
- package/src/resources/enterprises/dir.ts +95 -95
- package/src/resources/enterprises/enterprises.ts +62 -62
- package/src/resources/enterprises/index.ts +2 -2
- package/src/resources/enterprises/reputation/index.ts +2 -2
- package/src/resources/enterprises/reputation/numbers.ts +42 -42
- package/src/resources/enterprises/reputation/remediation.ts +46 -46
- package/src/resources/enterprises/reputation/reputation.ts +21 -21
- package/src/resources/external-connections/civic-addresses.ts +27 -27
- package/src/resources/external-connections/external-connections.ts +112 -112
- package/src/resources/external-connections/index.ts +5 -5
- package/src/resources/external-connections/log-messages.ts +15 -15
- package/src/resources/external-connections/phone-numbers.ts +46 -46
- package/src/resources/external-connections/releases.ts +29 -29
- package/src/resources/external-connections/uploads.ts +73 -73
- package/src/resources/fax-applications.ts +98 -98
- package/src/resources/faxes/faxes.ts +122 -122
- package/src/resources/faxes/index.ts +1 -1
- package/src/resources/fqdn-connections.ts +102 -102
- package/src/resources/fqdns.ts +69 -69
- package/src/resources/global-ip-assignments.ts +23 -23
- package/src/resources/global-ip-health-checks.ts +32 -32
- package/src/resources/global-ips.ts +27 -27
- package/src/resources/inbound-channels.ts +16 -16
- package/src/resources/index.ts +94 -94
- package/src/resources/inexplicit-number-orders.ts +21 -21
- package/src/resources/integration-secrets.ts +38 -38
- package/src/resources/invoices.ts +18 -18
- package/src/resources/ip-connections.ts +102 -102
- package/src/resources/ips.ts +63 -63
- package/src/resources/legacy/reporting/batch-detail-records/messaging.ts +21 -21
- package/src/resources/legacy/reporting/batch-detail-records/speech-to-text.ts +21 -21
- package/src/resources/legacy/reporting/batch-detail-records/voice.ts +25 -25
- package/src/resources/legacy/reporting/usage-reports/index.ts +2 -2
- package/src/resources/legacy/reporting/usage-reports/messaging.ts +33 -33
- package/src/resources/legacy/reporting/usage-reports/number-lookup.ts +28 -28
- package/src/resources/legacy/reporting/usage-reports/usage-reports.ts +2 -2
- package/src/resources/legacy/reporting/usage-reports/voice.ts +33 -33
- package/src/resources/managed-accounts/index.ts +1 -1
- package/src/resources/managed-accounts/managed-accounts.ts +88 -88
- package/src/resources/media.ts +58 -58
- package/src/resources/messages/index.ts +2 -2
- package/src/resources/messages/messages.ts +186 -186
- package/src/resources/messaging/index.ts +1 -1
- package/src/resources/messaging/messaging.ts +1 -1
- package/src/resources/messaging/rcs/agents.ts +24 -24
- package/src/resources/messaging/rcs/index.ts +2 -2
- package/src/resources/messaging/rcs/rcs.ts +30 -30
- package/src/resources/messaging-10dlc/brand/brand.ts +161 -161
- package/src/resources/messaging-10dlc/brand/external-vetting.ts +32 -32
- package/src/resources/messaging-10dlc/brand/index.ts +3 -3
- package/src/resources/messaging-10dlc/campaign/campaign.ts +83 -83
- package/src/resources/messaging-10dlc/campaign/index.ts +1 -1
- package/src/resources/messaging-10dlc/index.ts +8 -8
- package/src/resources/messaging-10dlc/messaging-10dlc.ts +8 -8
- package/src/resources/messaging-10dlc/partner-campaigns.ts +59 -59
- package/src/resources/messaging-10dlc/phone-number-assignment-by-profile.ts +19 -19
- package/src/resources/messaging-10dlc/phone-number-campaigns.ts +63 -63
- package/src/resources/messaging-hosted-number-orders/index.ts +2 -2
- package/src/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.ts +62 -62
- package/src/resources/messaging-hosted-numbers.ts +48 -48
- package/src/resources/messaging-profiles/autoresp-configs.ts +89 -89
- package/src/resources/messaging-profiles/index.ts +4 -4
- package/src/resources/messaging-profiles/messaging-profiles.ts +97 -97
- package/src/resources/messaging-tollfree/verification/index.ts +1 -1
- package/src/resources/messaging-tollfree/verification/requests.ts +78 -78
- package/src/resources/messaging-tollfree/verification/verification.ts +1 -1
- package/src/resources/mobile-phone-numbers/index.ts +1 -1
- package/src/resources/mobile-phone-numbers/messaging.ts +7 -7
- package/src/resources/mobile-phone-numbers/mobile-phone-numbers.ts +16 -16
- package/src/resources/mobile-push-credentials.ts +47 -47
- package/src/resources/mobile-voice-connections.ts +35 -35
- package/src/resources/networks/default-gateway.ts +12 -12
- package/src/resources/networks/index.ts +1 -1
- package/src/resources/networks/networks.ts +41 -41
- package/src/resources/notification-channels.ts +71 -71
- package/src/resources/notification-profiles.ts +23 -23
- package/src/resources/notification-settings.ts +57 -57
- package/src/resources/number-block-orders.ts +49 -49
- package/src/resources/number-order-phone-numbers.ts +10 -10
- package/src/resources/number-orders.ts +74 -74
- package/src/resources/number-reservations/index.ts +1 -1
- package/src/resources/number-reservations/number-reservations.ts +31 -31
- package/src/resources/oauth-clients.ts +71 -71
- package/src/resources/oauth-grants.ts +7 -7
- package/src/resources/oauth.ts +66 -66
- package/src/resources/organizations/index.ts +1 -1
- package/src/resources/organizations/organizations.ts +1 -1
- package/src/resources/organizations/users/index.ts +1 -1
- package/src/resources/organizations/users/users.ts +21 -21
- package/src/resources/ota-updates.ts +7 -7
- package/src/resources/outbound-voice-profiles.ts +101 -101
- package/src/resources/payment/auto-recharge-prefs.ts +13 -13
- package/src/resources/phone-number-blocks/jobs.ts +14 -14
- package/src/resources/phone-numbers/actions.ts +27 -27
- package/src/resources/phone-numbers/csv-downloads.ts +24 -24
- package/src/resources/phone-numbers/index.ts +7 -7
- package/src/resources/phone-numbers/jobs.ts +47 -47
- package/src/resources/phone-numbers/messaging.ts +51 -51
- package/src/resources/phone-numbers/phone-numbers.ts +93 -93
- package/src/resources/phone-numbers/voice.ts +75 -75
- package/src/resources/phone-numbers/voicemail.ts +21 -21
- package/src/resources/porting/events.ts +14 -14
- package/src/resources/porting/index.ts +3 -3
- package/src/resources/porting/loa-configurations.ts +124 -124
- package/src/resources/porting/porting.ts +3 -3
- package/src/resources/porting/reports.ts +34 -34
- package/src/resources/porting-orders/activation-jobs.ts +31 -31
- package/src/resources/porting-orders/additional-documents.ts +38 -38
- package/src/resources/porting-orders/associated-phone-numbers.ts +51 -51
- package/src/resources/porting-orders/comments.ts +17 -17
- package/src/resources/porting-orders/index.ts +8 -8
- package/src/resources/porting-orders/phone-number-blocks.ts +66 -66
- package/src/resources/porting-orders/phone-number-configurations.ts +35 -35
- package/src/resources/porting-orders/phone-number-extensions.ts +63 -63
- package/src/resources/porting-orders/porting-orders.ts +157 -157
- package/src/resources/portouts/comments.ts +8 -8
- package/src/resources/portouts/events.ts +14 -14
- package/src/resources/portouts/index.ts +1 -1
- package/src/resources/portouts/portouts.ts +15 -15
- package/src/resources/portouts/reports.ts +34 -34
- package/src/resources/portouts/supporting-documents.ts +14 -14
- package/src/resources/private-wireless-gateways.ts +49 -49
- package/src/resources/pronunciation-dicts.ts +42 -42
- package/src/resources/public-internet-gateways.ts +27 -27
- package/src/resources/queues/calls.ts +47 -47
- package/src/resources/queues/index.ts +3 -3
- package/src/resources/queues/queues.ts +37 -37
- package/src/resources/recording-transcriptions.ts +10 -10
- package/src/resources/recordings/recordings.ts +14 -14
- package/src/resources/reports/index.ts +1 -1
- package/src/resources/reports/mdr-usage-reports.ts +43 -43
- package/src/resources/reports/reports.ts +1 -1
- package/src/resources/reputation/index.ts +1 -1
- package/src/resources/reputation/numbers.ts +18 -18
- package/src/resources/reputation/reputation.ts +1 -1
- package/src/resources/requirement-groups.ts +73 -73
- package/src/resources/requirement-types.ts +15 -15
- package/src/resources/requirements.ts +14 -14
- package/src/resources/room-compositions.ts +73 -73
- package/src/resources/room-participants.ts +7 -7
- package/src/resources/room-recordings.ts +24 -24
- package/src/resources/rooms/index.ts +2 -2
- package/src/resources/rooms/rooms.ts +108 -108
- package/src/resources/rooms/sessions/index.ts +1 -1
- package/src/resources/rooms/sessions/sessions.ts +26 -26
- package/src/resources/short-codes.ts +31 -31
- package/src/resources/sim-card-data-usage-notifications.ts +46 -46
- package/src/resources/sim-card-groups/actions.ts +15 -15
- package/src/resources/sim-card-groups/index.ts +1 -1
- package/src/resources/sim-card-groups/sim-card-groups.ts +53 -53
- package/src/resources/sim-card-orders.ts +34 -34
- package/src/resources/sim-cards/actions.ts +81 -81
- package/src/resources/sim-cards/index.ts +5 -5
- package/src/resources/sim-cards/sim-cards.ts +91 -91
- package/src/resources/siprec-connectors.ts +15 -15
- package/src/resources/storage/buckets/ssl-certificate.ts +16 -16
- package/src/resources/storage/index.ts +8 -0
- package/src/resources/storage/kvs/index.ts +19 -0
- package/src/resources/storage/kvs/keys.ts +173 -0
- package/src/resources/storage/kvs/kvs.ts +149 -0
- package/src/resources/storage/kvs.ts +3 -0
- package/src/resources/storage/migration-sources.ts +21 -21
- package/src/resources/storage/migrations/migrations.ts +12 -12
- package/src/resources/storage/storage.ts +20 -0
- package/src/resources/sub-number-orders.ts +65 -65
- package/src/resources/telephony-credentials.ts +73 -73
- package/src/resources/terms-of-service/agreements.ts +8 -8
- package/src/resources/terms-of-service/index.ts +1 -1
- package/src/resources/terms-of-service/terms-of-service.ts +17 -17
- package/src/resources/texml/accounts/accounts.ts +4 -4
- package/src/resources/texml/accounts/calls/calls.ts +104 -104
- package/src/resources/texml/accounts/calls/index.ts +3 -3
- package/src/resources/texml/accounts/calls/recordings-json.ts +28 -28
- package/src/resources/texml/accounts/conferences/conferences.ts +55 -55
- package/src/resources/texml/accounts/conferences/index.ts +4 -4
- package/src/resources/texml/accounts/conferences/participants.ts +162 -162
- package/src/resources/texml/accounts/index.ts +4 -4
- package/src/resources/texml/accounts/queues.ts +26 -26
- package/src/resources/texml/index.ts +1 -1
- package/src/resources/texml/texml.ts +33 -33
- package/src/resources/texml-applications.ts +83 -83
- package/src/resources/text-to-speech/index.ts +1 -1
- package/src/resources/text-to-speech/text-to-speech.ts +27 -27
- package/src/resources/traffic-policy-profiles.ts +89 -89
- package/src/resources/uac-connections/index.ts +1 -1
- package/src/resources/uac-connections/uac-connections.ts +117 -105
- package/src/resources/user-addresses.ts +103 -103
- package/src/resources/verifications/verifications.ts +14 -14
- package/src/resources/verified-numbers/index.ts +1 -1
- package/src/resources/verified-numbers/verified-numbers.ts +32 -32
- package/src/resources/verify-profiles.ts +65 -65
- package/src/resources/virtual-cross-connects.ts +57 -57
- package/src/resources/voice-clones.ts +82 -82
- package/src/resources/voice-designs.ts +79 -79
- package/src/resources/voice-sdk-call-reports.ts +9 -9
- package/src/resources/webhook-deliveries.ts +8 -8
- package/src/resources/webhooks.ts +4 -4
- package/src/resources/whatsapp/business-accounts/business-accounts.ts +13 -13
- package/src/resources/whatsapp/index.ts +2 -2
- package/src/resources/whatsapp/phone-numbers/index.ts +1 -1
- package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +23 -23
- package/src/resources/whatsapp/phone-numbers/profile/photo.ts +15 -15
- package/src/resources/whatsapp/templates.ts +41 -41
- package/src/resources/whatsapp/whatsapp.ts +2 -2
- package/src/resources/whatsapp-message-templates.ts +10 -10
- package/src/resources/wireguard-interfaces.ts +30 -30
- package/src/resources/wireguard-peers.ts +52 -52
- package/src/resources/wireless/detail-records-reports.ts +35 -35
- package/src/resources/wireless/index.ts +1 -1
- package/src/resources/wireless/wireless.ts +1 -1
- package/src/resources/wireless-blocklists.ts +52 -52
- package/src/resources/x402/credit-account.ts +28 -28
- package/src/resources/x402/index.ts +1 -1
- package/src/resources/x402/x402.ts +1 -1
- 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
|
@@ -14,25 +14,45 @@ import { path } from '../../internal/utils/path';
|
|
|
14
14
|
*/
|
|
15
15
|
export class Actions extends APIResource {
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Start an AI assistant on the call.
|
|
18
|
+
*
|
|
19
|
+
* **Expected Webhooks:**
|
|
20
|
+
*
|
|
21
|
+
* - `call.conversation.ended`
|
|
22
|
+
* - `call.conversation_insights.generated`
|
|
18
23
|
*
|
|
19
24
|
* @example
|
|
20
25
|
* ```ts
|
|
21
26
|
* const response =
|
|
22
|
-
* await client.calls.actions.
|
|
27
|
+
* await client.calls.actions.startAIAssistant(
|
|
23
28
|
* 'call_control_id',
|
|
24
29
|
* );
|
|
25
30
|
* ```
|
|
26
31
|
*/
|
|
27
|
-
|
|
32
|
+
startAIAssistant(
|
|
28
33
|
callControlID: string,
|
|
29
|
-
body:
|
|
34
|
+
body: ActionStartAIAssistantParams,
|
|
30
35
|
options?: RequestOptions,
|
|
31
|
-
): APIPromise<
|
|
32
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
): APIPromise<ActionStartAIAssistantResponse> {
|
|
37
|
+
return this._client.post(path`/calls/${callControlID}/actions/ai_assistant_start`, { body, ...options });
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Stop an AI assistant on the call.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const response = await client.calls.actions.stopAIAssistant(
|
|
46
|
+
* 'call_control_id',
|
|
47
|
+
* );
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
stopAIAssistant(
|
|
51
|
+
callControlID: string,
|
|
52
|
+
body: ActionStopAIAssistantParams,
|
|
53
|
+
options?: RequestOptions,
|
|
54
|
+
): APIPromise<ActionStopAIAssistantResponse> {
|
|
55
|
+
return this._client.post(path`/calls/${callControlID}/actions/ai_assistant_stop`, { body, ...options });
|
|
36
56
|
}
|
|
37
57
|
|
|
38
58
|
/**
|
|
@@ -98,6 +118,26 @@ export class Actions extends APIResource {
|
|
|
98
118
|
});
|
|
99
119
|
}
|
|
100
120
|
|
|
121
|
+
/**
|
|
122
|
+
* Updates client state
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* ```ts
|
|
126
|
+
* const response =
|
|
127
|
+
* await client.calls.actions.updateClientState(
|
|
128
|
+
* 'call_control_id',
|
|
129
|
+
* { client_state: 'aGF2ZSBhIG5pY2UgZGF5ID1d' },
|
|
130
|
+
* );
|
|
131
|
+
* ```
|
|
132
|
+
*/
|
|
133
|
+
updateClientState(
|
|
134
|
+
callControlID: string,
|
|
135
|
+
body: ActionUpdateClientStateParams,
|
|
136
|
+
options?: RequestOptions,
|
|
137
|
+
): APIPromise<ActionUpdateClientStateResponse> {
|
|
138
|
+
return this._client.put(path`/calls/${callControlID}/actions/client_state_update`, { body, ...options });
|
|
139
|
+
}
|
|
140
|
+
|
|
101
141
|
/**
|
|
102
142
|
* Put the call in a queue.
|
|
103
143
|
*
|
|
@@ -117,6 +157,55 @@ export class Actions extends APIResource {
|
|
|
117
157
|
return this._client.post(path`/calls/${callControlID}/actions/enqueue`, { body, ...options });
|
|
118
158
|
}
|
|
119
159
|
|
|
160
|
+
/**
|
|
161
|
+
* Call forking allows you to stream the media from a call to a specific target in
|
|
162
|
+
* realtime. This stream can be used to enable realtime audio analysis to support a
|
|
163
|
+
* variety of use cases, including fraud detection, or the creation of AI-generated
|
|
164
|
+
* audio responses. Requests must specify either the `target` attribute or the `rx`
|
|
165
|
+
* and `tx` attributes.
|
|
166
|
+
*
|
|
167
|
+
* **Expected Webhooks:**
|
|
168
|
+
*
|
|
169
|
+
* - `call.fork.started`
|
|
170
|
+
* - `call.fork.stopped`
|
|
171
|
+
*
|
|
172
|
+
* @example
|
|
173
|
+
* ```ts
|
|
174
|
+
* const response = await client.calls.actions.startForking(
|
|
175
|
+
* 'call_control_id',
|
|
176
|
+
* );
|
|
177
|
+
* ```
|
|
178
|
+
*/
|
|
179
|
+
startForking(
|
|
180
|
+
callControlID: string,
|
|
181
|
+
body: ActionStartForkingParams,
|
|
182
|
+
options?: RequestOptions,
|
|
183
|
+
): APIPromise<ActionStartForkingResponse> {
|
|
184
|
+
return this._client.post(path`/calls/${callControlID}/actions/fork_start`, { body, ...options });
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Stop forking a call.
|
|
189
|
+
*
|
|
190
|
+
* **Expected Webhooks:**
|
|
191
|
+
*
|
|
192
|
+
* - `call.fork.stopped`
|
|
193
|
+
*
|
|
194
|
+
* @example
|
|
195
|
+
* ```ts
|
|
196
|
+
* const response = await client.calls.actions.stopForking(
|
|
197
|
+
* 'call_control_id',
|
|
198
|
+
* );
|
|
199
|
+
* ```
|
|
200
|
+
*/
|
|
201
|
+
stopForking(
|
|
202
|
+
callControlID: string,
|
|
203
|
+
body: ActionStopForkingParams,
|
|
204
|
+
options?: RequestOptions,
|
|
205
|
+
): APIPromise<ActionStopForkingResponse> {
|
|
206
|
+
return this._client.post(path`/calls/${callControlID}/actions/fork_stop`, { body, ...options });
|
|
207
|
+
}
|
|
208
|
+
|
|
120
209
|
/**
|
|
121
210
|
* Gather DTMF signals to build interactive menus.
|
|
122
211
|
*
|
|
@@ -143,6 +232,28 @@ export class Actions extends APIResource {
|
|
|
143
232
|
return this._client.post(path`/calls/${callControlID}/actions/gather`, { body, ...options });
|
|
144
233
|
}
|
|
145
234
|
|
|
235
|
+
/**
|
|
236
|
+
* Stop current gather.
|
|
237
|
+
*
|
|
238
|
+
* **Expected Webhooks:**
|
|
239
|
+
*
|
|
240
|
+
* - `call.gather.ended`
|
|
241
|
+
*
|
|
242
|
+
* @example
|
|
243
|
+
* ```ts
|
|
244
|
+
* const response = await client.calls.actions.stopGather(
|
|
245
|
+
* 'call_control_id',
|
|
246
|
+
* );
|
|
247
|
+
* ```
|
|
248
|
+
*/
|
|
249
|
+
stopGather(
|
|
250
|
+
callControlID: string,
|
|
251
|
+
body: ActionStopGatherParams,
|
|
252
|
+
options?: RequestOptions,
|
|
253
|
+
): APIPromise<ActionStopGatherResponse> {
|
|
254
|
+
return this._client.post(path`/calls/${callControlID}/actions/gather_stop`, { body, ...options });
|
|
255
|
+
}
|
|
256
|
+
|
|
146
257
|
/**
|
|
147
258
|
* Gather parameters defined in the request payload using a voice assistant.
|
|
148
259
|
*
|
|
@@ -265,29 +376,6 @@ export class Actions extends APIResource {
|
|
|
265
376
|
return this._client.post(path`/calls/${callControlID}/actions/hangup`, { body, ...options });
|
|
266
377
|
}
|
|
267
378
|
|
|
268
|
-
/**
|
|
269
|
-
* Add a participant to an existing AI assistant conversation. Use this command to
|
|
270
|
-
* bring an additional call leg into a running AI conversation.
|
|
271
|
-
*
|
|
272
|
-
* @example
|
|
273
|
-
* ```ts
|
|
274
|
-
* const response = await client.calls.actions.joinAIAssistant(
|
|
275
|
-
* 'call_control_id',
|
|
276
|
-
* {
|
|
277
|
-
* conversation_id: 'v3:abc123',
|
|
278
|
-
* participant: { id: 'v3:abc123def456', role: 'user' },
|
|
279
|
-
* },
|
|
280
|
-
* );
|
|
281
|
-
* ```
|
|
282
|
-
*/
|
|
283
|
-
joinAIAssistant(
|
|
284
|
-
callControlID: string,
|
|
285
|
-
body: ActionJoinAIAssistantParams,
|
|
286
|
-
options?: RequestOptions,
|
|
287
|
-
): APIPromise<ActionJoinAIAssistantResponse> {
|
|
288
|
-
return this._client.post(path`/calls/${callControlID}/actions/ai_assistant_join`, { body, ...options });
|
|
289
|
-
}
|
|
290
|
-
|
|
291
379
|
/**
|
|
292
380
|
* Removes the call from a queue.
|
|
293
381
|
*
|
|
@@ -307,76 +395,77 @@ export class Actions extends APIResource {
|
|
|
307
395
|
}
|
|
308
396
|
|
|
309
397
|
/**
|
|
310
|
-
*
|
|
398
|
+
* Play an audio file on the call. If multiple play audio commands are issued
|
|
399
|
+
* consecutively, the audio files will be placed in a queue awaiting playback.
|
|
400
|
+
*
|
|
401
|
+
* _Notes:_
|
|
402
|
+
*
|
|
403
|
+
* - When `overlay` is enabled, `target_legs` is limited to `self`.
|
|
404
|
+
* - A customer cannot Play Audio with `overlay=true` unless there is a Play Audio
|
|
405
|
+
* with `overlay=false` actively playing.
|
|
311
406
|
*
|
|
312
407
|
* **Expected Webhooks:**
|
|
313
408
|
*
|
|
314
|
-
*
|
|
409
|
+
* - `call.playback.started`
|
|
410
|
+
* - `call.playback.ended`
|
|
315
411
|
*
|
|
316
412
|
* @example
|
|
317
413
|
* ```ts
|
|
318
|
-
* const response = await client.calls.actions.
|
|
414
|
+
* const response = await client.calls.actions.startPlayback(
|
|
319
415
|
* 'call_control_id',
|
|
320
416
|
* );
|
|
321
417
|
* ```
|
|
322
418
|
*/
|
|
323
|
-
|
|
419
|
+
startPlayback(
|
|
324
420
|
callControlID: string,
|
|
325
|
-
body:
|
|
421
|
+
body: ActionStartPlaybackParams,
|
|
326
422
|
options?: RequestOptions,
|
|
327
|
-
): APIPromise<
|
|
328
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
423
|
+
): APIPromise<ActionStartPlaybackResponse> {
|
|
424
|
+
return this._client.post(path`/calls/${callControlID}/actions/playback_start`, { body, ...options });
|
|
329
425
|
}
|
|
330
426
|
|
|
331
427
|
/**
|
|
332
|
-
*
|
|
333
|
-
* point in the duration of a call.
|
|
428
|
+
* Stop audio being played on the call.
|
|
334
429
|
*
|
|
335
430
|
* **Expected Webhooks:**
|
|
336
431
|
*
|
|
337
|
-
* - `call.
|
|
338
|
-
* - `call.refer.completed`
|
|
339
|
-
* - `call.refer.failed`
|
|
432
|
+
* - `call.playback.ended` or `call.speak.ended`
|
|
340
433
|
*
|
|
341
434
|
* @example
|
|
342
435
|
* ```ts
|
|
343
|
-
* const response = await client.calls.actions.
|
|
436
|
+
* const response = await client.calls.actions.stopPlayback(
|
|
344
437
|
* 'call_control_id',
|
|
345
|
-
* {
|
|
346
|
-
* sip_address: 'sip:username@sip.non-telnyx-address.com',
|
|
347
|
-
* },
|
|
348
438
|
* );
|
|
349
439
|
* ```
|
|
350
440
|
*/
|
|
351
|
-
|
|
441
|
+
stopPlayback(
|
|
352
442
|
callControlID: string,
|
|
353
|
-
body:
|
|
443
|
+
body: ActionStopPlaybackParams,
|
|
354
444
|
options?: RequestOptions,
|
|
355
|
-
): APIPromise<
|
|
356
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
445
|
+
): APIPromise<ActionStopPlaybackResponse> {
|
|
446
|
+
return this._client.post(path`/calls/${callControlID}/actions/playback_stop`, { body, ...options });
|
|
357
447
|
}
|
|
358
448
|
|
|
359
449
|
/**
|
|
360
|
-
*
|
|
450
|
+
* Pause recording the call. Recording can be resumed via Resume recording command.
|
|
361
451
|
*
|
|
362
452
|
* **Expected Webhooks:**
|
|
363
453
|
*
|
|
364
|
-
*
|
|
454
|
+
* There are no webhooks associated with this command.
|
|
365
455
|
*
|
|
366
456
|
* @example
|
|
367
457
|
* ```ts
|
|
368
|
-
* const response = await client.calls.actions.
|
|
458
|
+
* const response = await client.calls.actions.pauseRecording(
|
|
369
459
|
* 'call_control_id',
|
|
370
|
-
* { cause: 'USER_BUSY' },
|
|
371
460
|
* );
|
|
372
461
|
* ```
|
|
373
462
|
*/
|
|
374
|
-
|
|
463
|
+
pauseRecording(
|
|
375
464
|
callControlID: string,
|
|
376
|
-
body:
|
|
465
|
+
body: ActionPauseRecordingParams,
|
|
377
466
|
options?: RequestOptions,
|
|
378
|
-
): APIPromise<
|
|
379
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
467
|
+
): APIPromise<ActionPauseRecordingResponse> {
|
|
468
|
+
return this._client.post(path`/calls/${callControlID}/actions/record_pause`, { body, ...options });
|
|
380
469
|
}
|
|
381
470
|
|
|
382
471
|
/**
|
|
@@ -402,261 +491,224 @@ export class Actions extends APIResource {
|
|
|
402
491
|
}
|
|
403
492
|
|
|
404
493
|
/**
|
|
405
|
-
*
|
|
406
|
-
*
|
|
494
|
+
* Start recording the call. Recording will stop on call hang-up, or can be
|
|
495
|
+
* initiated via the Stop Recording command.
|
|
407
496
|
*
|
|
408
497
|
* **Expected Webhooks:**
|
|
409
498
|
*
|
|
410
|
-
*
|
|
499
|
+
* - `call.recording.saved`
|
|
500
|
+
* - `call.recording.transcription.saved`
|
|
501
|
+
* - `call.recording.error`
|
|
411
502
|
*
|
|
412
503
|
* @example
|
|
413
504
|
* ```ts
|
|
414
|
-
* const response = await client.calls.actions.
|
|
505
|
+
* const response = await client.calls.actions.startRecording(
|
|
415
506
|
* 'call_control_id',
|
|
416
|
-
* {
|
|
507
|
+
* { channels: 'single', format: 'wav' },
|
|
417
508
|
* );
|
|
418
509
|
* ```
|
|
419
510
|
*/
|
|
420
|
-
|
|
511
|
+
startRecording(
|
|
421
512
|
callControlID: string,
|
|
422
|
-
body:
|
|
513
|
+
body: ActionStartRecordingParams,
|
|
423
514
|
options?: RequestOptions,
|
|
424
|
-
): APIPromise<
|
|
425
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
515
|
+
): APIPromise<ActionStartRecordingResponse> {
|
|
516
|
+
return this._client.post(path`/calls/${callControlID}/actions/record_start`, { body, ...options });
|
|
426
517
|
}
|
|
427
518
|
|
|
428
519
|
/**
|
|
429
|
-
*
|
|
520
|
+
* Stop recording the call.
|
|
430
521
|
*
|
|
431
522
|
* **Expected Webhooks:**
|
|
432
523
|
*
|
|
433
|
-
* - `call.
|
|
524
|
+
* - `call.recording.saved`
|
|
434
525
|
*
|
|
435
526
|
* @example
|
|
436
527
|
* ```ts
|
|
437
|
-
* const response = await client.calls.actions.
|
|
528
|
+
* const response = await client.calls.actions.stopRecording(
|
|
438
529
|
* 'call_control_id',
|
|
439
|
-
* {
|
|
440
|
-
* body: '{"key": "value", "numValue": 100}',
|
|
441
|
-
* content_type: 'application/json',
|
|
442
|
-
* },
|
|
443
530
|
* );
|
|
444
531
|
* ```
|
|
445
532
|
*/
|
|
446
|
-
|
|
533
|
+
stopRecording(
|
|
447
534
|
callControlID: string,
|
|
448
|
-
body:
|
|
535
|
+
body: ActionStopRecordingParams,
|
|
449
536
|
options?: RequestOptions,
|
|
450
|
-
): APIPromise<
|
|
451
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
537
|
+
): APIPromise<ActionStopRecordingResponse> {
|
|
538
|
+
return this._client.post(path`/calls/${callControlID}/actions/record_stop`, { body, ...options });
|
|
452
539
|
}
|
|
453
540
|
|
|
454
541
|
/**
|
|
455
|
-
*
|
|
456
|
-
*
|
|
457
|
-
* awaiting playback.
|
|
542
|
+
* Initiate a SIP Refer on a Call Control call. You can initiate a SIP Refer at any
|
|
543
|
+
* point in the duration of a call.
|
|
458
544
|
*
|
|
459
545
|
* **Expected Webhooks:**
|
|
460
546
|
*
|
|
461
|
-
* - `call.
|
|
462
|
-
* - `call.
|
|
463
|
-
*
|
|
464
|
-
*
|
|
547
|
+
* - `call.refer.started`
|
|
548
|
+
* - `call.refer.completed`
|
|
549
|
+
* - `call.refer.failed`
|
|
550
|
+
*
|
|
551
|
+
* @example
|
|
465
552
|
* ```ts
|
|
466
|
-
* const response = await client.calls.actions.
|
|
553
|
+
* const response = await client.calls.actions.refer(
|
|
467
554
|
* 'call_control_id',
|
|
468
|
-
* {
|
|
555
|
+
* {
|
|
556
|
+
* sip_address: 'sip:username@sip.non-telnyx-address.com',
|
|
557
|
+
* },
|
|
469
558
|
* );
|
|
470
559
|
* ```
|
|
471
560
|
*/
|
|
472
|
-
|
|
561
|
+
refer(
|
|
473
562
|
callControlID: string,
|
|
474
|
-
body:
|
|
563
|
+
body: ActionReferParams,
|
|
475
564
|
options?: RequestOptions,
|
|
476
|
-
): APIPromise<
|
|
477
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
565
|
+
): APIPromise<ActionReferResponse> {
|
|
566
|
+
return this._client.post(path`/calls/${callControlID}/actions/refer`, { body, ...options });
|
|
478
567
|
}
|
|
479
568
|
|
|
480
569
|
/**
|
|
481
|
-
*
|
|
570
|
+
* Reject an incoming call.
|
|
482
571
|
*
|
|
483
572
|
* **Expected Webhooks:**
|
|
484
573
|
*
|
|
485
|
-
* - `call.
|
|
486
|
-
* - `call.conversation_insights.generated`
|
|
574
|
+
* - `call.hangup`
|
|
487
575
|
*
|
|
488
576
|
* @example
|
|
489
577
|
* ```ts
|
|
490
|
-
* const response =
|
|
491
|
-
*
|
|
492
|
-
*
|
|
493
|
-
*
|
|
578
|
+
* const response = await client.calls.actions.reject(
|
|
579
|
+
* 'call_control_id',
|
|
580
|
+
* { cause: 'USER_BUSY' },
|
|
581
|
+
* );
|
|
494
582
|
* ```
|
|
495
583
|
*/
|
|
496
|
-
|
|
584
|
+
reject(
|
|
497
585
|
callControlID: string,
|
|
498
|
-
body:
|
|
586
|
+
body: ActionRejectParams,
|
|
499
587
|
options?: RequestOptions,
|
|
500
|
-
): APIPromise<
|
|
501
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
588
|
+
): APIPromise<ActionRejectResponse> {
|
|
589
|
+
return this._client.post(path`/calls/${callControlID}/actions/reject`, { body, ...options });
|
|
502
590
|
}
|
|
503
591
|
|
|
504
592
|
/**
|
|
505
|
-
*
|
|
506
|
-
*
|
|
507
|
-
* realtime messages with the caller while Telnyx handles speech recognition and
|
|
508
|
-
* text-to-speech. Only one AI Assistant or Conversation Relay session can be
|
|
509
|
-
* active on a call at a time.
|
|
593
|
+
* Sends DTMF tones from this leg. DTMF tones will be heard by the other end of the
|
|
594
|
+
* call.
|
|
510
595
|
*
|
|
511
596
|
* **Expected Webhooks:**
|
|
512
597
|
*
|
|
513
|
-
*
|
|
514
|
-
* the customer WebSocket disconnects, the webhook payload `reason` is
|
|
515
|
-
* `customer_disconnect`.
|
|
598
|
+
* There are no webhooks associated with this command.
|
|
516
599
|
*
|
|
517
600
|
* @example
|
|
518
601
|
* ```ts
|
|
519
|
-
* const response =
|
|
520
|
-
*
|
|
521
|
-
*
|
|
522
|
-
*
|
|
602
|
+
* const response = await client.calls.actions.sendDtmf(
|
|
603
|
+
* 'call_control_id',
|
|
604
|
+
* { digits: '1www2WABCDw9' },
|
|
605
|
+
* );
|
|
523
606
|
* ```
|
|
524
607
|
*/
|
|
525
|
-
|
|
608
|
+
sendDtmf(
|
|
526
609
|
callControlID: string,
|
|
527
|
-
body:
|
|
610
|
+
body: ActionSendDtmfParams,
|
|
528
611
|
options?: RequestOptions,
|
|
529
|
-
): APIPromise<
|
|
530
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
531
|
-
body,
|
|
532
|
-
...options,
|
|
533
|
-
});
|
|
612
|
+
): APIPromise<ActionSendDtmfResponse> {
|
|
613
|
+
return this._client.post(path`/calls/${callControlID}/actions/send_dtmf`, { body, ...options });
|
|
534
614
|
}
|
|
535
615
|
|
|
536
616
|
/**
|
|
537
|
-
*
|
|
538
|
-
* realtime. This stream can be used to enable realtime audio analysis to support a
|
|
539
|
-
* variety of use cases, including fraud detection, or the creation of AI-generated
|
|
540
|
-
* audio responses. Requests must specify either the `target` attribute or the `rx`
|
|
541
|
-
* and `tx` attributes.
|
|
617
|
+
* Sends SIP info from this leg.
|
|
542
618
|
*
|
|
543
619
|
* **Expected Webhooks:**
|
|
544
620
|
*
|
|
545
|
-
* - `call.
|
|
546
|
-
* - `call.fork.stopped`
|
|
621
|
+
* - `call.sip_info.received` (to be received on the target call leg)
|
|
547
622
|
*
|
|
548
623
|
* @example
|
|
549
624
|
* ```ts
|
|
550
|
-
* const response = await client.calls.actions.
|
|
625
|
+
* const response = await client.calls.actions.sendSipInfo(
|
|
551
626
|
* 'call_control_id',
|
|
627
|
+
* {
|
|
628
|
+
* body: '{"key": "value", "numValue": 100}',
|
|
629
|
+
* content_type: 'application/json',
|
|
630
|
+
* },
|
|
552
631
|
* );
|
|
553
632
|
* ```
|
|
554
633
|
*/
|
|
555
|
-
|
|
556
|
-
callControlID: string,
|
|
557
|
-
body: ActionStartForkingParams,
|
|
558
|
-
options?: RequestOptions,
|
|
559
|
-
): APIPromise<ActionStartForkingResponse> {
|
|
560
|
-
return this._client.post(path`/calls/${callControlID}/actions/fork_start`, { body, ...options });
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
/**
|
|
564
|
-
* Noise Suppression Start (BETA)
|
|
565
|
-
*
|
|
566
|
-
* @example
|
|
567
|
-
* ```ts
|
|
568
|
-
* const response =
|
|
569
|
-
* await client.calls.actions.startNoiseSuppression(
|
|
570
|
-
* 'call_control_id',
|
|
571
|
-
* );
|
|
572
|
-
* ```
|
|
573
|
-
*/
|
|
574
|
-
startNoiseSuppression(
|
|
634
|
+
sendSipInfo(
|
|
575
635
|
callControlID: string,
|
|
576
|
-
body:
|
|
636
|
+
body: ActionSendSipInfoParams,
|
|
577
637
|
options?: RequestOptions,
|
|
578
|
-
): APIPromise<
|
|
579
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
638
|
+
): APIPromise<ActionSendSipInfoResponse> {
|
|
639
|
+
return this._client.post(path`/calls/${callControlID}/actions/send_sip_info`, { body, ...options });
|
|
580
640
|
}
|
|
581
641
|
|
|
582
642
|
/**
|
|
583
|
-
*
|
|
584
|
-
* consecutively, the audio files will be placed in a queue awaiting playback.
|
|
585
|
-
*
|
|
586
|
-
* _Notes:_
|
|
587
|
-
*
|
|
588
|
-
* - When `overlay` is enabled, `target_legs` is limited to `self`.
|
|
589
|
-
* - A customer cannot Play Audio with `overlay=true` unless there is a Play Audio
|
|
590
|
-
* with `overlay=false` actively playing.
|
|
643
|
+
* Start siprec session to configured in SIPREC connector SRS.
|
|
591
644
|
*
|
|
592
645
|
* **Expected Webhooks:**
|
|
593
646
|
*
|
|
594
|
-
* - `
|
|
595
|
-
* - `
|
|
647
|
+
* - `siprec.started`
|
|
648
|
+
* - `siprec.stopped`
|
|
649
|
+
* - `siprec.failed`
|
|
596
650
|
*
|
|
597
651
|
* @example
|
|
598
652
|
* ```ts
|
|
599
|
-
* const response = await client.calls.actions.
|
|
653
|
+
* const response = await client.calls.actions.startSiprec(
|
|
600
654
|
* 'call_control_id',
|
|
601
655
|
* );
|
|
602
656
|
* ```
|
|
603
657
|
*/
|
|
604
|
-
|
|
658
|
+
startSiprec(
|
|
605
659
|
callControlID: string,
|
|
606
|
-
body:
|
|
660
|
+
body: ActionStartSiprecParams,
|
|
607
661
|
options?: RequestOptions,
|
|
608
|
-
): APIPromise<
|
|
609
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
662
|
+
): APIPromise<ActionStartSiprecResponse> {
|
|
663
|
+
return this._client.post(path`/calls/${callControlID}/actions/siprec_start`, { body, ...options });
|
|
610
664
|
}
|
|
611
665
|
|
|
612
666
|
/**
|
|
613
|
-
*
|
|
614
|
-
* initiated via the Stop Recording command.
|
|
667
|
+
* Stop SIPREC session.
|
|
615
668
|
*
|
|
616
669
|
* **Expected Webhooks:**
|
|
617
670
|
*
|
|
618
|
-
* - `
|
|
619
|
-
* - `call.recording.transcription.saved`
|
|
620
|
-
* - `call.recording.error`
|
|
671
|
+
* - `siprec.stopped`
|
|
621
672
|
*
|
|
622
673
|
* @example
|
|
623
674
|
* ```ts
|
|
624
|
-
* const response = await client.calls.actions.
|
|
675
|
+
* const response = await client.calls.actions.stopSiprec(
|
|
625
676
|
* 'call_control_id',
|
|
626
|
-
* { channels: 'single', format: 'wav' },
|
|
627
677
|
* );
|
|
628
678
|
* ```
|
|
629
679
|
*/
|
|
630
|
-
|
|
680
|
+
stopSiprec(
|
|
631
681
|
callControlID: string,
|
|
632
|
-
body:
|
|
682
|
+
body: ActionStopSiprecParams,
|
|
633
683
|
options?: RequestOptions,
|
|
634
|
-
): APIPromise<
|
|
635
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
684
|
+
): APIPromise<ActionStopSiprecResponse> {
|
|
685
|
+
return this._client.post(path`/calls/${callControlID}/actions/siprec_stop`, { body, ...options });
|
|
636
686
|
}
|
|
637
687
|
|
|
638
688
|
/**
|
|
639
|
-
*
|
|
689
|
+
* Convert text to speech and play it back on the call. If multiple speak text
|
|
690
|
+
* commands are issued consecutively, the audio files will be placed in a queue
|
|
691
|
+
* awaiting playback.
|
|
640
692
|
*
|
|
641
693
|
* **Expected Webhooks:**
|
|
642
694
|
*
|
|
643
|
-
* - `
|
|
644
|
-
* - `
|
|
645
|
-
* - `siprec.failed`
|
|
695
|
+
* - `call.speak.started`
|
|
696
|
+
* - `call.speak.ended`
|
|
646
697
|
*
|
|
647
698
|
* @example
|
|
648
699
|
* ```ts
|
|
649
|
-
* const response = await client.calls.actions.
|
|
700
|
+
* const response = await client.calls.actions.speak(
|
|
650
701
|
* 'call_control_id',
|
|
702
|
+
* { payload: 'Say this on the call', voice: 'female' },
|
|
651
703
|
* );
|
|
652
704
|
* ```
|
|
653
705
|
*/
|
|
654
|
-
|
|
706
|
+
speak(
|
|
655
707
|
callControlID: string,
|
|
656
|
-
body:
|
|
708
|
+
body: ActionSpeakParams,
|
|
657
709
|
options?: RequestOptions,
|
|
658
|
-
): APIPromise<
|
|
659
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
710
|
+
): APIPromise<ActionSpeakResponse> {
|
|
711
|
+
return this._client.post(path`/calls/${callControlID}/actions/speak`, { body, ...options });
|
|
660
712
|
}
|
|
661
713
|
|
|
662
714
|
/**
|
|
@@ -683,319 +735,267 @@ export class Actions extends APIResource {
|
|
|
683
735
|
}
|
|
684
736
|
|
|
685
737
|
/**
|
|
686
|
-
*
|
|
687
|
-
* be initiated via the Transcription stop command.
|
|
738
|
+
* Stop streaming a call to a WebSocket.
|
|
688
739
|
*
|
|
689
740
|
* **Expected Webhooks:**
|
|
690
741
|
*
|
|
691
|
-
* - `
|
|
742
|
+
* - `streaming.stopped`
|
|
743
|
+
*
|
|
744
|
+
* @example
|
|
745
|
+
* ```ts
|
|
746
|
+
* const response = await client.calls.actions.stopStreaming(
|
|
747
|
+
* 'call_control_id',
|
|
748
|
+
* );
|
|
749
|
+
* ```
|
|
750
|
+
*/
|
|
751
|
+
stopStreaming(
|
|
752
|
+
callControlID: string,
|
|
753
|
+
body: ActionStopStreamingParams,
|
|
754
|
+
options?: RequestOptions,
|
|
755
|
+
): APIPromise<ActionStopStreamingResponse> {
|
|
756
|
+
return this._client.post(path`/calls/${callControlID}/actions/streaming_stop`, { body, ...options });
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* Noise Suppression Start (BETA)
|
|
692
761
|
*
|
|
693
762
|
* @example
|
|
694
763
|
* ```ts
|
|
695
764
|
* const response =
|
|
696
|
-
* await client.calls.actions.
|
|
765
|
+
* await client.calls.actions.startNoiseSuppression(
|
|
697
766
|
* 'call_control_id',
|
|
698
767
|
* );
|
|
699
768
|
* ```
|
|
700
769
|
*/
|
|
701
|
-
|
|
770
|
+
startNoiseSuppression(
|
|
702
771
|
callControlID: string,
|
|
703
|
-
body:
|
|
772
|
+
body: ActionStartNoiseSuppressionParams,
|
|
704
773
|
options?: RequestOptions,
|
|
705
|
-
): APIPromise<
|
|
706
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
774
|
+
): APIPromise<ActionStartNoiseSuppressionResponse> {
|
|
775
|
+
return this._client.post(path`/calls/${callControlID}/actions/suppression_start`, { body, ...options });
|
|
707
776
|
}
|
|
708
777
|
|
|
709
778
|
/**
|
|
710
|
-
*
|
|
779
|
+
* Noise Suppression Stop (BETA)
|
|
711
780
|
*
|
|
712
781
|
* @example
|
|
713
782
|
* ```ts
|
|
714
|
-
* const response =
|
|
715
|
-
*
|
|
716
|
-
*
|
|
783
|
+
* const response =
|
|
784
|
+
* await client.calls.actions.stopNoiseSuppression(
|
|
785
|
+
* 'call_control_id',
|
|
786
|
+
* );
|
|
717
787
|
* ```
|
|
718
788
|
*/
|
|
719
|
-
|
|
789
|
+
stopNoiseSuppression(
|
|
720
790
|
callControlID: string,
|
|
721
|
-
body:
|
|
791
|
+
body: ActionStopNoiseSuppressionParams,
|
|
722
792
|
options?: RequestOptions,
|
|
723
|
-
): APIPromise<
|
|
724
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
793
|
+
): APIPromise<ActionStopNoiseSuppressionResponse> {
|
|
794
|
+
return this._client.post(path`/calls/${callControlID}/actions/suppression_stop`, { body, ...options });
|
|
725
795
|
}
|
|
726
796
|
|
|
727
797
|
/**
|
|
728
|
-
*
|
|
798
|
+
* Switch the supervisor role for a bridged call. This allows switching between
|
|
799
|
+
* different supervisor modes during an active call
|
|
729
800
|
*
|
|
730
801
|
* @example
|
|
731
802
|
* ```ts
|
|
732
803
|
* const response =
|
|
733
|
-
* await client.calls.actions.
|
|
804
|
+
* await client.calls.actions.switchSupervisorRole(
|
|
734
805
|
* 'call_control_id',
|
|
806
|
+
* { role: 'barge' },
|
|
735
807
|
* );
|
|
736
808
|
* ```
|
|
737
809
|
*/
|
|
738
|
-
|
|
810
|
+
switchSupervisorRole(
|
|
739
811
|
callControlID: string,
|
|
740
|
-
body:
|
|
812
|
+
body: ActionSwitchSupervisorRoleParams,
|
|
741
813
|
options?: RequestOptions,
|
|
742
|
-
): APIPromise<
|
|
743
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
814
|
+
): APIPromise<ActionSwitchSupervisorRoleResponse> {
|
|
815
|
+
return this._client.post(path`/calls/${callControlID}/actions/switch_supervisor_role`, {
|
|
744
816
|
body,
|
|
745
817
|
...options,
|
|
746
818
|
});
|
|
747
819
|
}
|
|
748
820
|
|
|
749
821
|
/**
|
|
750
|
-
*
|
|
822
|
+
* Start real-time transcription. Transcription will stop on call hang-up, or can
|
|
823
|
+
* be initiated via the Transcription stop command.
|
|
751
824
|
*
|
|
752
825
|
* **Expected Webhooks:**
|
|
753
826
|
*
|
|
754
|
-
* - `call.
|
|
827
|
+
* - `call.transcription`
|
|
755
828
|
*
|
|
756
829
|
* @example
|
|
757
830
|
* ```ts
|
|
758
|
-
* const response =
|
|
759
|
-
*
|
|
760
|
-
*
|
|
831
|
+
* const response =
|
|
832
|
+
* await client.calls.actions.startTranscription(
|
|
833
|
+
* 'call_control_id',
|
|
834
|
+
* );
|
|
761
835
|
* ```
|
|
762
836
|
*/
|
|
763
|
-
|
|
837
|
+
startTranscription(
|
|
764
838
|
callControlID: string,
|
|
765
|
-
body:
|
|
839
|
+
body: ActionStartTranscriptionParams,
|
|
766
840
|
options?: RequestOptions,
|
|
767
|
-
): APIPromise<
|
|
768
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
/**
|
|
772
|
-
* Stop current gather.
|
|
773
|
-
*
|
|
774
|
-
* **Expected Webhooks:**
|
|
775
|
-
*
|
|
776
|
-
* - `call.gather.ended`
|
|
777
|
-
*
|
|
778
|
-
* @example
|
|
779
|
-
* ```ts
|
|
780
|
-
* const response = await client.calls.actions.stopGather(
|
|
781
|
-
* 'call_control_id',
|
|
782
|
-
* );
|
|
783
|
-
* ```
|
|
784
|
-
*/
|
|
785
|
-
stopGather(
|
|
786
|
-
callControlID: string,
|
|
787
|
-
body: ActionStopGatherParams,
|
|
788
|
-
options?: RequestOptions,
|
|
789
|
-
): APIPromise<ActionStopGatherResponse> {
|
|
790
|
-
return this._client.post(path`/calls/${callControlID}/actions/gather_stop`, { body, ...options });
|
|
841
|
+
): APIPromise<ActionStartTranscriptionResponse> {
|
|
842
|
+
return this._client.post(path`/calls/${callControlID}/actions/transcription_start`, { body, ...options });
|
|
791
843
|
}
|
|
792
844
|
|
|
793
845
|
/**
|
|
794
|
-
*
|
|
846
|
+
* Stop real-time transcription.
|
|
795
847
|
*
|
|
796
848
|
* @example
|
|
797
849
|
* ```ts
|
|
798
850
|
* const response =
|
|
799
|
-
* await client.calls.actions.
|
|
851
|
+
* await client.calls.actions.stopTranscription(
|
|
800
852
|
* 'call_control_id',
|
|
801
853
|
* );
|
|
802
854
|
* ```
|
|
803
855
|
*/
|
|
804
|
-
|
|
856
|
+
stopTranscription(
|
|
805
857
|
callControlID: string,
|
|
806
|
-
body:
|
|
858
|
+
body: ActionStopTranscriptionParams,
|
|
807
859
|
options?: RequestOptions,
|
|
808
|
-
): APIPromise<
|
|
809
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
860
|
+
): APIPromise<ActionStopTranscriptionResponse> {
|
|
861
|
+
return this._client.post(path`/calls/${callControlID}/actions/transcription_stop`, { body, ...options });
|
|
810
862
|
}
|
|
811
863
|
|
|
812
864
|
/**
|
|
813
|
-
*
|
|
865
|
+
* Transfer a call to a new destination. If the transfer is unsuccessful, a
|
|
866
|
+
* `call.hangup` webhook for the other call (Leg B) will be sent indicating that
|
|
867
|
+
* the transfer could not be completed. The original call will remain active and
|
|
868
|
+
* may be issued additional commands, potentially transfering the call to an
|
|
869
|
+
* alternate destination.
|
|
814
870
|
*
|
|
815
871
|
* **Expected Webhooks:**
|
|
816
872
|
*
|
|
817
|
-
* - `call.
|
|
873
|
+
* - `call.initiated`
|
|
874
|
+
* - `call.bridged` to Leg B
|
|
875
|
+
* - `call.answered` or `call.hangup`
|
|
876
|
+
* - `call.machine.detection.ended` if `answering_machine_detection` was requested
|
|
877
|
+
* - `call.machine.greeting.ended` if `answering_machine_detection` was requested
|
|
878
|
+
* to detect the end of machine greeting
|
|
879
|
+
* - `call.machine.premium.detection.ended` if
|
|
880
|
+
* `answering_machine_detection=premium` was requested
|
|
881
|
+
* - `call.machine.premium.greeting.ended` if `answering_machine_detection=premium`
|
|
882
|
+
* was requested and a beep was detected
|
|
818
883
|
*
|
|
819
884
|
* @example
|
|
820
885
|
* ```ts
|
|
821
|
-
* const response = await client.calls.actions.
|
|
886
|
+
* const response = await client.calls.actions.transfer(
|
|
822
887
|
* 'call_control_id',
|
|
888
|
+
* {
|
|
889
|
+
* to: '+18005550100 or sip:username@sip.telnyx.com;secure=srtp',
|
|
890
|
+
* },
|
|
823
891
|
* );
|
|
824
892
|
* ```
|
|
825
893
|
*/
|
|
826
|
-
|
|
894
|
+
transfer(
|
|
827
895
|
callControlID: string,
|
|
828
|
-
body:
|
|
896
|
+
body: ActionTransferParams,
|
|
829
897
|
options?: RequestOptions,
|
|
830
|
-
): APIPromise<
|
|
831
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
898
|
+
): APIPromise<ActionTransferResponse> {
|
|
899
|
+
return this._client.post(path`/calls/${callControlID}/actions/transfer`, { body, ...options });
|
|
832
900
|
}
|
|
833
901
|
|
|
834
902
|
/**
|
|
835
|
-
*
|
|
836
|
-
*
|
|
837
|
-
* **Expected Webhooks:**
|
|
838
|
-
*
|
|
839
|
-
* - `call.recording.saved`
|
|
903
|
+
* Add messages to the conversation started by an AI assistant on the call.
|
|
840
904
|
*
|
|
841
905
|
* @example
|
|
842
906
|
* ```ts
|
|
843
|
-
* const response =
|
|
844
|
-
*
|
|
845
|
-
*
|
|
907
|
+
* const response =
|
|
908
|
+
* await client.calls.actions.addAIAssistantMessages(
|
|
909
|
+
* 'call_control_id',
|
|
910
|
+
* );
|
|
846
911
|
* ```
|
|
847
912
|
*/
|
|
848
|
-
|
|
913
|
+
addAIAssistantMessages(
|
|
849
914
|
callControlID: string,
|
|
850
|
-
body:
|
|
915
|
+
body: ActionAddAIAssistantMessagesParams,
|
|
851
916
|
options?: RequestOptions,
|
|
852
|
-
): APIPromise<
|
|
853
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
917
|
+
): APIPromise<ActionAddAIAssistantMessagesResponse> {
|
|
918
|
+
return this._client.post(path`/calls/${callControlID}/actions/ai_assistant_add_messages`, {
|
|
919
|
+
body,
|
|
920
|
+
...options,
|
|
921
|
+
});
|
|
854
922
|
}
|
|
855
923
|
|
|
856
924
|
/**
|
|
857
|
-
*
|
|
858
|
-
*
|
|
859
|
-
* **Expected Webhooks:**
|
|
860
|
-
*
|
|
861
|
-
* - `siprec.stopped`
|
|
925
|
+
* Add a participant to an existing AI assistant conversation. Use this command to
|
|
926
|
+
* bring an additional call leg into a running AI conversation.
|
|
862
927
|
*
|
|
863
928
|
* @example
|
|
864
929
|
* ```ts
|
|
865
|
-
* const response = await client.calls.actions.
|
|
930
|
+
* const response = await client.calls.actions.joinAIAssistant(
|
|
866
931
|
* 'call_control_id',
|
|
932
|
+
* {
|
|
933
|
+
* conversation_id: 'v3:abc123',
|
|
934
|
+
* participant: { id: 'v3:abc123def456', role: 'user' },
|
|
935
|
+
* },
|
|
867
936
|
* );
|
|
868
937
|
* ```
|
|
869
938
|
*/
|
|
870
|
-
|
|
939
|
+
joinAIAssistant(
|
|
871
940
|
callControlID: string,
|
|
872
|
-
body:
|
|
941
|
+
body: ActionJoinAIAssistantParams,
|
|
873
942
|
options?: RequestOptions,
|
|
874
|
-
): APIPromise<
|
|
875
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
943
|
+
): APIPromise<ActionJoinAIAssistantResponse> {
|
|
944
|
+
return this._client.post(path`/calls/${callControlID}/actions/ai_assistant_join`, { body, ...options });
|
|
876
945
|
}
|
|
877
946
|
|
|
878
947
|
/**
|
|
879
|
-
*
|
|
948
|
+
* Start a Conversation Relay session on an active call. Conversation Relay
|
|
949
|
+
* connects the call audio to your WebSocket so your application can exchange
|
|
950
|
+
* realtime messages with the caller while Telnyx handles speech recognition and
|
|
951
|
+
* text-to-speech. Only one AI Assistant or Conversation Relay session can be
|
|
952
|
+
* active on a call at a time.
|
|
880
953
|
*
|
|
881
954
|
* **Expected Webhooks:**
|
|
882
955
|
*
|
|
883
|
-
* - `
|
|
884
|
-
*
|
|
885
|
-
*
|
|
886
|
-
* ```ts
|
|
887
|
-
* const response = await client.calls.actions.stopStreaming(
|
|
888
|
-
* 'call_control_id',
|
|
889
|
-
* );
|
|
890
|
-
* ```
|
|
891
|
-
*/
|
|
892
|
-
stopStreaming(
|
|
893
|
-
callControlID: string,
|
|
894
|
-
body: ActionStopStreamingParams,
|
|
895
|
-
options?: RequestOptions,
|
|
896
|
-
): APIPromise<ActionStopStreamingResponse> {
|
|
897
|
-
return this._client.post(path`/calls/${callControlID}/actions/streaming_stop`, { body, ...options });
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
/**
|
|
901
|
-
* Stop real-time transcription.
|
|
902
|
-
*
|
|
903
|
-
* @example
|
|
904
|
-
* ```ts
|
|
905
|
-
* const response =
|
|
906
|
-
* await client.calls.actions.stopTranscription(
|
|
907
|
-
* 'call_control_id',
|
|
908
|
-
* );
|
|
909
|
-
* ```
|
|
910
|
-
*/
|
|
911
|
-
stopTranscription(
|
|
912
|
-
callControlID: string,
|
|
913
|
-
body: ActionStopTranscriptionParams,
|
|
914
|
-
options?: RequestOptions,
|
|
915
|
-
): APIPromise<ActionStopTranscriptionResponse> {
|
|
916
|
-
return this._client.post(path`/calls/${callControlID}/actions/transcription_stop`, { body, ...options });
|
|
917
|
-
}
|
|
918
|
-
|
|
919
|
-
/**
|
|
920
|
-
* Switch the supervisor role for a bridged call. This allows switching between
|
|
921
|
-
* different supervisor modes during an active call
|
|
956
|
+
* - `call.conversation.ended` - Sent when the Conversation Relay session ends. If
|
|
957
|
+
* the customer WebSocket disconnects, the webhook payload `reason` is
|
|
958
|
+
* `customer_disconnect`.
|
|
922
959
|
*
|
|
923
960
|
* @example
|
|
924
961
|
* ```ts
|
|
925
962
|
* const response =
|
|
926
|
-
* await client.calls.actions.
|
|
963
|
+
* await client.calls.actions.startConversationRelay(
|
|
927
964
|
* 'call_control_id',
|
|
928
|
-
* { role: 'barge' },
|
|
929
965
|
* );
|
|
930
966
|
* ```
|
|
931
967
|
*/
|
|
932
|
-
|
|
968
|
+
startConversationRelay(
|
|
933
969
|
callControlID: string,
|
|
934
|
-
body:
|
|
970
|
+
body: ActionStartConversationRelayParams,
|
|
935
971
|
options?: RequestOptions,
|
|
936
|
-
): APIPromise<
|
|
937
|
-
return this._client.post(path`/calls/${callControlID}/actions/
|
|
972
|
+
): APIPromise<ActionStartConversationRelayResponse> {
|
|
973
|
+
return this._client.post(path`/calls/${callControlID}/actions/conversation_relay_start`, {
|
|
938
974
|
body,
|
|
939
975
|
...options,
|
|
940
976
|
});
|
|
941
977
|
}
|
|
942
978
|
|
|
943
979
|
/**
|
|
944
|
-
*
|
|
945
|
-
* `call.hangup` webhook for the other call (Leg B) will be sent indicating that
|
|
946
|
-
* the transfer could not be completed. The original call will remain active and
|
|
947
|
-
* may be issued additional commands, potentially transfering the call to an
|
|
948
|
-
* alternate destination.
|
|
949
|
-
*
|
|
950
|
-
* **Expected Webhooks:**
|
|
951
|
-
*
|
|
952
|
-
* - `call.initiated`
|
|
953
|
-
* - `call.bridged` to Leg B
|
|
954
|
-
* - `call.answered` or `call.hangup`
|
|
955
|
-
* - `call.machine.detection.ended` if `answering_machine_detection` was requested
|
|
956
|
-
* - `call.machine.greeting.ended` if `answering_machine_detection` was requested
|
|
957
|
-
* to detect the end of machine greeting
|
|
958
|
-
* - `call.machine.premium.detection.ended` if
|
|
959
|
-
* `answering_machine_detection=premium` was requested
|
|
960
|
-
* - `call.machine.premium.greeting.ended` if `answering_machine_detection=premium`
|
|
961
|
-
* was requested and a beep was detected
|
|
962
|
-
*
|
|
963
|
-
* @example
|
|
964
|
-
* ```ts
|
|
965
|
-
* const response = await client.calls.actions.transfer(
|
|
966
|
-
* 'call_control_id',
|
|
967
|
-
* {
|
|
968
|
-
* to: '+18005550100 or sip:username@sip.telnyx.com;secure=srtp',
|
|
969
|
-
* },
|
|
970
|
-
* );
|
|
971
|
-
* ```
|
|
972
|
-
*/
|
|
973
|
-
transfer(
|
|
974
|
-
callControlID: string,
|
|
975
|
-
body: ActionTransferParams,
|
|
976
|
-
options?: RequestOptions,
|
|
977
|
-
): APIPromise<ActionTransferResponse> {
|
|
978
|
-
return this._client.post(path`/calls/${callControlID}/actions/transfer`, { body, ...options });
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
/**
|
|
982
|
-
* Updates client state
|
|
980
|
+
* Stop the active Conversation Relay session on a call.
|
|
983
981
|
*
|
|
984
982
|
* @example
|
|
985
983
|
* ```ts
|
|
986
984
|
* const response =
|
|
987
|
-
* await client.calls.actions.
|
|
985
|
+
* await client.calls.actions.stopConversationRelay(
|
|
988
986
|
* 'call_control_id',
|
|
989
|
-
* { client_state: 'aGF2ZSBhIG5pY2UgZGF5ID1d' },
|
|
990
987
|
* );
|
|
991
988
|
* ```
|
|
992
989
|
*/
|
|
993
|
-
|
|
990
|
+
stopConversationRelay(
|
|
994
991
|
callControlID: string,
|
|
995
|
-
body:
|
|
992
|
+
body: ActionStopConversationRelayParams,
|
|
996
993
|
options?: RequestOptions,
|
|
997
|
-
): APIPromise<
|
|
998
|
-
return this._client.
|
|
994
|
+
): APIPromise<ActionStopConversationRelayResponse> {
|
|
995
|
+
return this._client.post(path`/calls/${callControlID}/actions/conversation_relay_stop`, {
|
|
996
|
+
body,
|
|
997
|
+
...options,
|
|
998
|
+
});
|
|
999
999
|
}
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
@@ -2334,7 +2334,14 @@ export interface ActionUpdateClientStateResponse {
|
|
|
2334
2334
|
data?: CallControlCommandResult;
|
|
2335
2335
|
}
|
|
2336
2336
|
|
|
2337
|
-
export interface
|
|
2337
|
+
export interface ActionStartAIAssistantParams {
|
|
2338
|
+
/**
|
|
2339
|
+
* AI Assistant configuration. All fields except `id` are optional — the
|
|
2340
|
+
* assistant's stored configuration will be used as fallback for any omitted
|
|
2341
|
+
* fields.
|
|
2342
|
+
*/
|
|
2343
|
+
assistant?: CallsAPI.CallAssistantRequest;
|
|
2344
|
+
|
|
2338
2345
|
/**
|
|
2339
2346
|
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
2340
2347
|
* Base-64 encoded string.
|
|
@@ -2348,28 +2355,117 @@ export interface ActionAddAIAssistantMessagesParams {
|
|
|
2348
2355
|
command_id?: string;
|
|
2349
2356
|
|
|
2350
2357
|
/**
|
|
2351
|
-
*
|
|
2358
|
+
* Text that will be played when the assistant starts, if none then nothing will be
|
|
2359
|
+
* played when the assistant starts. The greeting can be text for any voice or SSML
|
|
2360
|
+
* for `AWS.Polly.<voice_id>` voices. There is a 3,000 character limit.
|
|
2352
2361
|
*/
|
|
2353
|
-
|
|
2354
|
-
}
|
|
2362
|
+
greeting?: string;
|
|
2355
2363
|
|
|
2356
|
-
export interface ActionAnswerParams {
|
|
2357
2364
|
/**
|
|
2358
|
-
*
|
|
2359
|
-
* assistant's stored configuration will be used as fallback for any omitted
|
|
2360
|
-
* fields.
|
|
2365
|
+
* Settings for handling user interruptions during assistant speech
|
|
2361
2366
|
*/
|
|
2362
|
-
|
|
2367
|
+
interruption_settings?: InterruptionSettings;
|
|
2363
2368
|
|
|
2364
2369
|
/**
|
|
2365
|
-
*
|
|
2366
|
-
*
|
|
2370
|
+
* A list of messages to seed the conversation history before the assistant starts.
|
|
2371
|
+
* Follows the same message format as the `ai_assistant_add_messages` command.
|
|
2367
2372
|
*/
|
|
2368
|
-
|
|
2373
|
+
message_history?: Array<UserMessage | AssistantMessage | ToolMessage | SystemMessage | DeveloperMessage>;
|
|
2369
2374
|
|
|
2370
2375
|
/**
|
|
2371
|
-
*
|
|
2372
|
-
|
|
2376
|
+
* A list of participants to add to the conversation when it starts.
|
|
2377
|
+
*/
|
|
2378
|
+
participants?: Array<AIAssistantJoinParticipant>;
|
|
2379
|
+
|
|
2380
|
+
/**
|
|
2381
|
+
* When `true`, a webhook is sent each time the conversation message history is
|
|
2382
|
+
* updated.
|
|
2383
|
+
*/
|
|
2384
|
+
send_message_history_updates?: boolean;
|
|
2385
|
+
|
|
2386
|
+
/**
|
|
2387
|
+
* The settings associated with speech to text for the voice assistant. This is
|
|
2388
|
+
* only relevant if the assistant uses a text-to-text language model. Any assistant
|
|
2389
|
+
* using a model with native audio support (e.g. `fixie-ai/ultravox-v0_4`) will
|
|
2390
|
+
* ignore this field.
|
|
2391
|
+
*/
|
|
2392
|
+
transcription?: TranscriptionConfig;
|
|
2393
|
+
|
|
2394
|
+
/**
|
|
2395
|
+
* The voice to be used by the voice assistant. Currently we support ElevenLabs,
|
|
2396
|
+
* Telnyx and AWS voices.
|
|
2397
|
+
*
|
|
2398
|
+
* **Supported Providers:**
|
|
2399
|
+
*
|
|
2400
|
+
* - **AWS:** Use `AWS.Polly.<VoiceId>` (e.g., `AWS.Polly.Joanna`). For neural
|
|
2401
|
+
* voices, which provide more realistic, human-like speech, append `-Neural` to
|
|
2402
|
+
* the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
|
|
2403
|
+
* [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
|
|
2404
|
+
* for compatibility.
|
|
2405
|
+
* - **Azure:** Use `Azure.<VoiceId>. (e.g. Azure.en-CA-ClaraNeural,
|
|
2406
|
+
* Azure.en-CA-LiamNeural, Azure.en-US-BrianMultilingualNeural,
|
|
2407
|
+
* Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to
|
|
2408
|
+
* [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).)
|
|
2409
|
+
* - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
|
|
2410
|
+
* `ElevenLabs.BaseModel.John`). The `ModelId` part is optional. To use
|
|
2411
|
+
* ElevenLabs, you must provide your ElevenLabs API key as an integration secret
|
|
2412
|
+
* under `"voice_settings": {"api_key_ref": "<secret_id>"}`. See
|
|
2413
|
+
* [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
|
|
2414
|
+
* for details. Check
|
|
2415
|
+
* [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
|
|
2416
|
+
* - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
2417
|
+
* - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
2418
|
+
* `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
|
|
2419
|
+
* `Max`, `TTS2`.
|
|
2420
|
+
* - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
2421
|
+
* `ara`, `rex`, `sal`, `leo`.
|
|
2422
|
+
*/
|
|
2423
|
+
voice?: string;
|
|
2424
|
+
|
|
2425
|
+
/**
|
|
2426
|
+
* The settings associated with the voice selected
|
|
2427
|
+
*/
|
|
2428
|
+
voice_settings?:
|
|
2429
|
+
| ElevenLabsVoiceSettings
|
|
2430
|
+
| TelnyxVoiceSettings
|
|
2431
|
+
| AwsVoiceSettings
|
|
2432
|
+
| Shared.AzureVoiceSettings
|
|
2433
|
+
| Shared.RimeVoiceSettings
|
|
2434
|
+
| Shared.ResembleVoiceSettings
|
|
2435
|
+
| Shared.XaiVoiceSettings;
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2438
|
+
export interface ActionStopAIAssistantParams {
|
|
2439
|
+
/**
|
|
2440
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
2441
|
+
* Base-64 encoded string.
|
|
2442
|
+
*/
|
|
2443
|
+
client_state?: string;
|
|
2444
|
+
|
|
2445
|
+
/**
|
|
2446
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
2447
|
+
* the same `command_id` for the same `call_control_id`.
|
|
2448
|
+
*/
|
|
2449
|
+
command_id?: string;
|
|
2450
|
+
}
|
|
2451
|
+
|
|
2452
|
+
export interface ActionAnswerParams {
|
|
2453
|
+
/**
|
|
2454
|
+
* AI Assistant configuration. All fields except `id` are optional — the
|
|
2455
|
+
* assistant's stored configuration will be used as fallback for any omitted
|
|
2456
|
+
* fields.
|
|
2457
|
+
*/
|
|
2458
|
+
assistant?: CallsAPI.CallAssistantRequest;
|
|
2459
|
+
|
|
2460
|
+
/**
|
|
2461
|
+
* Use this field to set the Billing Group ID for the call. Must be a valid and
|
|
2462
|
+
* existing Billing Group ID.
|
|
2463
|
+
*/
|
|
2464
|
+
billing_group_id?: string;
|
|
2465
|
+
|
|
2466
|
+
/**
|
|
2467
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
2468
|
+
* Base-64 encoded string.
|
|
2373
2469
|
*/
|
|
2374
2470
|
client_state?: string;
|
|
2375
2471
|
|
|
@@ -2750,6 +2846,14 @@ export interface ActionBridgeParams {
|
|
|
2750
2846
|
video_room_id?: string;
|
|
2751
2847
|
}
|
|
2752
2848
|
|
|
2849
|
+
export interface ActionUpdateClientStateParams {
|
|
2850
|
+
/**
|
|
2851
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
2852
|
+
* Base-64 encoded string.
|
|
2853
|
+
*/
|
|
2854
|
+
client_state: string;
|
|
2855
|
+
}
|
|
2856
|
+
|
|
2753
2857
|
export interface ActionEnqueueParams {
|
|
2754
2858
|
/**
|
|
2755
2859
|
* The name of the queue the call should be put in. If a queue with a given name
|
|
@@ -2788,6 +2892,59 @@ export interface ActionEnqueueParams {
|
|
|
2788
2892
|
max_wait_time_secs?: number;
|
|
2789
2893
|
}
|
|
2790
2894
|
|
|
2895
|
+
export interface ActionStartForkingParams {
|
|
2896
|
+
/**
|
|
2897
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
2898
|
+
* Base-64 encoded string.
|
|
2899
|
+
*/
|
|
2900
|
+
client_state?: string;
|
|
2901
|
+
|
|
2902
|
+
/**
|
|
2903
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
2904
|
+
* the same `command_id` for the same `call_control_id`.
|
|
2905
|
+
*/
|
|
2906
|
+
command_id?: string;
|
|
2907
|
+
|
|
2908
|
+
/**
|
|
2909
|
+
* The network target, <udp:ip_address:port>, where the call's incoming RTP media
|
|
2910
|
+
* packets should be forwarded.
|
|
2911
|
+
*/
|
|
2912
|
+
rx?: string;
|
|
2913
|
+
|
|
2914
|
+
/**
|
|
2915
|
+
* Optionally specify a media type to stream. If `decrypted` selected, Telnyx will
|
|
2916
|
+
* decrypt incoming SIP media before forking to the target. `rx` and `tx` are
|
|
2917
|
+
* required fields if `decrypted` selected.
|
|
2918
|
+
*/
|
|
2919
|
+
stream_type?: 'decrypted';
|
|
2920
|
+
|
|
2921
|
+
/**
|
|
2922
|
+
* The network target, <udp:ip_address:port>, where the call's outgoing RTP media
|
|
2923
|
+
* packets should be forwarded.
|
|
2924
|
+
*/
|
|
2925
|
+
tx?: string;
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
export interface ActionStopForkingParams {
|
|
2929
|
+
/**
|
|
2930
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
2931
|
+
* Base-64 encoded string.
|
|
2932
|
+
*/
|
|
2933
|
+
client_state?: string;
|
|
2934
|
+
|
|
2935
|
+
/**
|
|
2936
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
2937
|
+
* the same `command_id` for the same `call_control_id`.
|
|
2938
|
+
*/
|
|
2939
|
+
command_id?: string;
|
|
2940
|
+
|
|
2941
|
+
/**
|
|
2942
|
+
* Optionally specify a `stream_type`. This should match the `stream_type` that was
|
|
2943
|
+
* used in `fork_start` command to properly stop the fork.
|
|
2944
|
+
*/
|
|
2945
|
+
stream_type?: 'raw' | 'decrypted';
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2791
2948
|
export interface ActionGatherParams {
|
|
2792
2949
|
/**
|
|
2793
2950
|
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
@@ -2845,6 +3002,20 @@ export interface ActionGatherParams {
|
|
|
2845
3002
|
valid_digits?: string;
|
|
2846
3003
|
}
|
|
2847
3004
|
|
|
3005
|
+
export interface ActionStopGatherParams {
|
|
3006
|
+
/**
|
|
3007
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
3008
|
+
* Base-64 encoded string.
|
|
3009
|
+
*/
|
|
3010
|
+
client_state?: string;
|
|
3011
|
+
|
|
3012
|
+
/**
|
|
3013
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
3014
|
+
* the same `command_id` for the same `call_control_id`.
|
|
3015
|
+
*/
|
|
3016
|
+
command_id?: string;
|
|
3017
|
+
}
|
|
3018
|
+
|
|
2848
3019
|
export interface ActionGatherUsingAIParams {
|
|
2849
3020
|
/**
|
|
2850
3021
|
* The parameters described as a JSON Schema object that needs to be gathered by
|
|
@@ -3266,14 +3437,7 @@ export interface ActionHangupParams {
|
|
|
3266
3437
|
custom_headers?: Array<CallsAPI.CustomSipHeader>;
|
|
3267
3438
|
}
|
|
3268
3439
|
|
|
3269
|
-
export interface
|
|
3270
|
-
/**
|
|
3271
|
-
* The ID of the AI assistant conversation to join.
|
|
3272
|
-
*/
|
|
3273
|
-
conversation_id: string;
|
|
3274
|
-
|
|
3275
|
-
participant: AIAssistantJoinParticipant;
|
|
3276
|
-
|
|
3440
|
+
export interface ActionLeaveQueueParams {
|
|
3277
3441
|
/**
|
|
3278
3442
|
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
3279
3443
|
* Base-64 encoded string.
|
|
@@ -3287,21 +3451,25 @@ export interface ActionJoinAIAssistantParams {
|
|
|
3287
3451
|
command_id?: string;
|
|
3288
3452
|
}
|
|
3289
3453
|
|
|
3290
|
-
export interface
|
|
3454
|
+
export interface ActionStartPlaybackParams {
|
|
3291
3455
|
/**
|
|
3292
|
-
*
|
|
3293
|
-
* Base-64 encoded string.
|
|
3456
|
+
* Specifies the type of audio provided in `audio_url` or `playback_content`.
|
|
3294
3457
|
*/
|
|
3295
|
-
|
|
3458
|
+
audio_type?: 'mp3' | 'wav';
|
|
3296
3459
|
|
|
3297
3460
|
/**
|
|
3298
|
-
*
|
|
3299
|
-
*
|
|
3461
|
+
* The URL of a file to be played back on the call. The URL can point to either a
|
|
3462
|
+
* WAV or MP3 file. media_name and audio_url cannot be used together in one
|
|
3463
|
+
* request.
|
|
3300
3464
|
*/
|
|
3301
|
-
|
|
3302
|
-
|
|
3465
|
+
audio_url?: string;
|
|
3466
|
+
|
|
3467
|
+
/**
|
|
3468
|
+
* Caches the audio file. Useful when playing the same audio file multiple times
|
|
3469
|
+
* during the call.
|
|
3470
|
+
*/
|
|
3471
|
+
cache_audio?: boolean;
|
|
3303
3472
|
|
|
3304
|
-
export interface ActionPauseRecordingParams {
|
|
3305
3473
|
/**
|
|
3306
3474
|
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
3307
3475
|
* Base-64 encoded string.
|
|
@@ -3315,72 +3483,74 @@ export interface ActionPauseRecordingParams {
|
|
|
3315
3483
|
command_id?: string;
|
|
3316
3484
|
|
|
3317
3485
|
/**
|
|
3318
|
-
*
|
|
3486
|
+
* The number of times the audio file should be played. If supplied, the value must
|
|
3487
|
+
* be an integer between 1 and 100, or the special string `infinity` for an endless
|
|
3488
|
+
* loop.
|
|
3319
3489
|
*/
|
|
3320
|
-
|
|
3321
|
-
}
|
|
3490
|
+
loop?: Loopcount;
|
|
3322
3491
|
|
|
3323
|
-
export interface ActionReferParams {
|
|
3324
3492
|
/**
|
|
3325
|
-
* The
|
|
3493
|
+
* The media_name of a file to be played back on the call. The media_name must
|
|
3494
|
+
* point to a file previously uploaded to api.telnyx.com/v2/media by the same
|
|
3495
|
+
* user/organization. The file must either be a WAV or MP3 file.
|
|
3326
3496
|
*/
|
|
3327
|
-
|
|
3497
|
+
media_name?: string;
|
|
3328
3498
|
|
|
3329
3499
|
/**
|
|
3330
|
-
*
|
|
3331
|
-
*
|
|
3500
|
+
* When enabled, audio will be mixed on top of any other audio that is actively
|
|
3501
|
+
* being played back. Note that `overlay: true` will only work if there is another
|
|
3502
|
+
* audio file already being played on the call.
|
|
3332
3503
|
*/
|
|
3333
|
-
|
|
3504
|
+
overlay?: boolean;
|
|
3334
3505
|
|
|
3335
3506
|
/**
|
|
3336
|
-
*
|
|
3337
|
-
*
|
|
3338
|
-
*
|
|
3507
|
+
* Allows a user to provide base64 encoded mp3 or wav. Note: when using this
|
|
3508
|
+
* parameter, `media_url` and `media_name` in the `playback_started` and
|
|
3509
|
+
* `playback_ended` webhooks will be empty
|
|
3339
3510
|
*/
|
|
3340
|
-
|
|
3511
|
+
playback_content?: string;
|
|
3341
3512
|
|
|
3342
3513
|
/**
|
|
3343
|
-
*
|
|
3514
|
+
* When specified, it stops the current audio being played. Specify `current` to
|
|
3515
|
+
* stop the current audio being played, and to play the next file in the queue.
|
|
3516
|
+
* Specify `all` to stop the current audio file being played and to also clear all
|
|
3517
|
+
* audio files from the queue.
|
|
3344
3518
|
*/
|
|
3345
|
-
|
|
3519
|
+
stop?: string;
|
|
3346
3520
|
|
|
3347
3521
|
/**
|
|
3348
|
-
*
|
|
3522
|
+
* Specifies the leg or legs on which audio will be played. If supplied, the value
|
|
3523
|
+
* must be either `self`, `opposite` or `both`.
|
|
3349
3524
|
*/
|
|
3350
|
-
|
|
3525
|
+
target_legs?: string;
|
|
3526
|
+
}
|
|
3351
3527
|
|
|
3528
|
+
export interface ActionStopPlaybackParams {
|
|
3352
3529
|
/**
|
|
3353
|
-
*
|
|
3530
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
3531
|
+
* Base-64 encoded string.
|
|
3354
3532
|
*/
|
|
3355
|
-
|
|
3533
|
+
client_state?: string;
|
|
3356
3534
|
|
|
3357
3535
|
/**
|
|
3358
|
-
*
|
|
3359
|
-
*
|
|
3536
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
3537
|
+
* the same `command_id` for the same `call_control_id`.
|
|
3360
3538
|
*/
|
|
3361
|
-
|
|
3362
|
-
}
|
|
3539
|
+
command_id?: string;
|
|
3363
3540
|
|
|
3364
|
-
export interface ActionRejectParams {
|
|
3365
3541
|
/**
|
|
3366
|
-
*
|
|
3542
|
+
* When enabled, it stops the audio being played in the overlay queue.
|
|
3367
3543
|
*/
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
/**
|
|
3371
|
-
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
3372
|
-
* Base-64 encoded string.
|
|
3373
|
-
*/
|
|
3374
|
-
client_state?: string;
|
|
3544
|
+
overlay?: boolean;
|
|
3375
3545
|
|
|
3376
3546
|
/**
|
|
3377
|
-
* Use
|
|
3378
|
-
*
|
|
3547
|
+
* Use `current` to stop the current audio being played. Use `all` to stop the
|
|
3548
|
+
* current audio file being played and clear all audio files from the queue.
|
|
3379
3549
|
*/
|
|
3380
|
-
|
|
3550
|
+
stop?: string;
|
|
3381
3551
|
}
|
|
3382
3552
|
|
|
3383
|
-
export interface
|
|
3553
|
+
export interface ActionPauseRecordingParams {
|
|
3384
3554
|
/**
|
|
3385
3555
|
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
3386
3556
|
* Base-64 encoded string.
|
|
@@ -3399,13 +3569,7 @@ export interface ActionResumeRecordingParams {
|
|
|
3399
3569
|
recording_id?: string;
|
|
3400
3570
|
}
|
|
3401
3571
|
|
|
3402
|
-
export interface
|
|
3403
|
-
/**
|
|
3404
|
-
* DTMF digits to send. Valid digits are 0-9, A-D, \*, and #. Pauses can be added
|
|
3405
|
-
* using w (0.5s) and W (1s).
|
|
3406
|
-
*/
|
|
3407
|
-
digits: string;
|
|
3408
|
-
|
|
3572
|
+
export interface ActionResumeRecordingParams {
|
|
3409
3573
|
/**
|
|
3410
3574
|
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
3411
3575
|
* Base-64 encoded string.
|
|
@@ -3419,23 +3583,23 @@ export interface ActionSendDtmfParams {
|
|
|
3419
3583
|
command_id?: string;
|
|
3420
3584
|
|
|
3421
3585
|
/**
|
|
3422
|
-
*
|
|
3423
|
-
* stream. Ranges from 100 to 500ms
|
|
3586
|
+
* Uniquely identifies the resource.
|
|
3424
3587
|
*/
|
|
3425
|
-
|
|
3588
|
+
recording_id?: string;
|
|
3426
3589
|
}
|
|
3427
3590
|
|
|
3428
|
-
export interface
|
|
3591
|
+
export interface ActionStartRecordingParams {
|
|
3429
3592
|
/**
|
|
3430
|
-
*
|
|
3593
|
+
* When `dual`, final audio file will be stereo recorded with the first leg on
|
|
3594
|
+
* channel A, and the rest on channel B.
|
|
3431
3595
|
*/
|
|
3432
|
-
|
|
3596
|
+
channels: 'single' | 'dual';
|
|
3433
3597
|
|
|
3434
3598
|
/**
|
|
3435
|
-
*
|
|
3436
|
-
*
|
|
3599
|
+
* The audio file format used when storing the call recording. Can be either `mp3`
|
|
3600
|
+
* or `wav`.
|
|
3437
3601
|
*/
|
|
3438
|
-
|
|
3602
|
+
format: 'wav' | 'mp3';
|
|
3439
3603
|
|
|
3440
3604
|
/**
|
|
3441
3605
|
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
@@ -3448,165 +3612,333 @@ export interface ActionSendSipInfoParams {
|
|
|
3448
3612
|
* the same `command_id` for the same `call_control_id`.
|
|
3449
3613
|
*/
|
|
3450
3614
|
command_id?: string;
|
|
3451
|
-
}
|
|
3452
3615
|
|
|
3453
|
-
export interface ActionSpeakParams {
|
|
3454
3616
|
/**
|
|
3455
|
-
* The
|
|
3617
|
+
* The custom recording file name to be used instead of the default `call_leg_id`.
|
|
3618
|
+
* Telnyx will still add a Unix timestamp suffix.
|
|
3456
3619
|
*/
|
|
3457
|
-
|
|
3620
|
+
custom_file_name?: string;
|
|
3458
3621
|
|
|
3459
3622
|
/**
|
|
3460
|
-
*
|
|
3461
|
-
*
|
|
3462
|
-
* - Define voices using the format `<Provider>.<Model>.<VoiceId>`. Specifying only
|
|
3463
|
-
* the provider will give default values for voice_id and model_id.
|
|
3464
|
-
*
|
|
3465
|
-
* **Supported Providers:**
|
|
3466
|
-
*
|
|
3467
|
-
* - **AWS:** Use `AWS.Polly.<VoiceId>` (e.g., `AWS.Polly.Joanna`). For neural
|
|
3468
|
-
* voices, which provide more realistic, human-like speech, append `-Neural` to
|
|
3469
|
-
* the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
|
|
3470
|
-
* [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
|
|
3471
|
-
* for compatibility.
|
|
3472
|
-
* - **Azure:** Use `Azure.<VoiceId>` (e.g., `Azure.en-CA-ClaraNeural`,
|
|
3473
|
-
* `Azure.en-US-BrianMultilingualNeural`,
|
|
3474
|
-
* `Azure.en-US-Ava:DragonHDLatestNeural`). For a complete list of voices, go to
|
|
3475
|
-
* [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery). Use
|
|
3476
|
-
* `voice_settings` to configure custom deployments, regions, or API keys.
|
|
3477
|
-
* - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
|
|
3478
|
-
* `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
|
|
3479
|
-
* is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
|
|
3480
|
-
* integration identifier secret in
|
|
3481
|
-
* `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. See
|
|
3482
|
-
* [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
|
|
3483
|
-
* for details. Check
|
|
3484
|
-
* [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
|
|
3485
|
-
* - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>` (e.g., `Telnyx.KokoroTTS.af`).
|
|
3486
|
-
* Use `voice_settings` to configure voice_speed and other synthesis parameters.
|
|
3487
|
-
* - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
|
|
3488
|
-
* `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
|
|
3489
|
-
* `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Use `voice_settings`
|
|
3490
|
-
* to configure speed, volume, pitch, and language_boost.
|
|
3491
|
-
* - **Rime:** Use `Rime.<model_id>.<voice_id>` (e.g., `Rime.Arcana.cove`).
|
|
3492
|
-
* Supported model_ids: `Arcana`, `Mist`, `ArcanaV3`, `Coda`. Use
|
|
3493
|
-
* `voice_settings` to configure voice_speed.
|
|
3494
|
-
* - **Resemble:** Use `Resemble.Turbo.<voice_id>` (e.g.,
|
|
3495
|
-
* `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
|
|
3496
|
-
* `voice_settings` to configure precision, sample_rate, and format.
|
|
3497
|
-
* - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
3498
|
-
* `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
|
|
3499
|
-
* `Max`, `TTS2`. Use `voice_settings` to configure `delivery_mode` (`STABLE`,
|
|
3500
|
-
* `BALANCED`, `CREATIVE`), supported by `TTS2` only.
|
|
3501
|
-
* - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
3502
|
-
* `ara`, `rex`, `sal`, `leo`.
|
|
3503
|
-
*
|
|
3504
|
-
* For service_level basic, you may define the gender of the speaker (male or
|
|
3505
|
-
* female).
|
|
3623
|
+
* Defines the maximum length for the recording in seconds. The minimum value is 0.
|
|
3624
|
+
* The maximum value is 14400. The default value is 0 (infinite)
|
|
3506
3625
|
*/
|
|
3507
|
-
|
|
3626
|
+
max_length?: number;
|
|
3508
3627
|
|
|
3509
3628
|
/**
|
|
3510
|
-
*
|
|
3511
|
-
* Base-64 encoded string.
|
|
3629
|
+
* If enabled, a beep sound will be played at the start of a recording.
|
|
3512
3630
|
*/
|
|
3513
|
-
|
|
3631
|
+
play_beep?: boolean;
|
|
3514
3632
|
|
|
3515
3633
|
/**
|
|
3516
|
-
*
|
|
3517
|
-
*
|
|
3634
|
+
* The audio track to be recorded. Can be either `both`, `inbound` or `outbound`.
|
|
3635
|
+
* If only single track is specified (`inbound`, `outbound`), `channels`
|
|
3636
|
+
* configuration is ignored and it will be recorded as mono (single channel).
|
|
3518
3637
|
*/
|
|
3519
|
-
|
|
3638
|
+
recording_track?: 'both' | 'inbound' | 'outbound';
|
|
3520
3639
|
|
|
3521
3640
|
/**
|
|
3522
|
-
* The
|
|
3523
|
-
* is
|
|
3641
|
+
* The number of seconds that Telnyx will wait for the recording to be stopped if
|
|
3642
|
+
* silence is detected. The timer only starts when the speech is detected. Please
|
|
3643
|
+
* note that call transcription is used to detect silence and the related charge
|
|
3644
|
+
* will be applied. The minimum value is 0. The default value is 0 (infinite)
|
|
3524
3645
|
*/
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3646
|
+
timeout_secs?: number;
|
|
3647
|
+
|
|
3648
|
+
/**
|
|
3649
|
+
* Enable post recording transcription. The default value is false.
|
|
3650
|
+
*/
|
|
3651
|
+
transcription?: boolean;
|
|
3652
|
+
|
|
3653
|
+
/**
|
|
3654
|
+
* Engine to use for speech recognition. `A` - `Google`, `B` - `Telnyx`,
|
|
3655
|
+
* `deepgram/nova-3` - `Deepgram Nova-3`. Note: `deepgram/nova-3` supports only
|
|
3656
|
+
* `en` and `en-{Region}` languages.
|
|
3657
|
+
*/
|
|
3658
|
+
transcription_engine?: 'A' | 'B' | 'deepgram/nova-3';
|
|
3659
|
+
|
|
3660
|
+
/**
|
|
3661
|
+
* Language code for transcription. Note: Not all languages are supported by all
|
|
3662
|
+
* transcription engines (google, telnyx, deepgram). See engine-specific
|
|
3663
|
+
* documentation for supported values.
|
|
3664
|
+
*/
|
|
3665
|
+
transcription_language?:
|
|
3666
|
+
| 'af'
|
|
3667
|
+
| 'af-ZA'
|
|
3668
|
+
| 'am'
|
|
3669
|
+
| 'am-ET'
|
|
3670
|
+
| 'ar'
|
|
3671
|
+
| 'ar-AE'
|
|
3672
|
+
| 'ar-BH'
|
|
3673
|
+
| 'ar-DZ'
|
|
3674
|
+
| 'ar-EG'
|
|
3675
|
+
| 'ar-IL'
|
|
3676
|
+
| 'ar-IQ'
|
|
3677
|
+
| 'ar-JO'
|
|
3678
|
+
| 'ar-KW'
|
|
3679
|
+
| 'ar-LB'
|
|
3680
|
+
| 'ar-MA'
|
|
3681
|
+
| 'ar-MR'
|
|
3682
|
+
| 'ar-OM'
|
|
3683
|
+
| 'ar-PS'
|
|
3684
|
+
| 'ar-QA'
|
|
3685
|
+
| 'ar-SA'
|
|
3686
|
+
| 'ar-TN'
|
|
3687
|
+
| 'ar-YE'
|
|
3688
|
+
| 'as'
|
|
3689
|
+
| 'auto_detect'
|
|
3690
|
+
| 'az'
|
|
3691
|
+
| 'az-AZ'
|
|
3692
|
+
| 'ba'
|
|
3693
|
+
| 'be'
|
|
3694
|
+
| 'bg'
|
|
3695
|
+
| 'bg-BG'
|
|
3696
|
+
| 'bn'
|
|
3697
|
+
| 'bn-BD'
|
|
3698
|
+
| 'bn-IN'
|
|
3699
|
+
| 'bo'
|
|
3700
|
+
| 'br'
|
|
3701
|
+
| 'bs'
|
|
3702
|
+
| 'bs-BA'
|
|
3703
|
+
| 'ca'
|
|
3704
|
+
| 'ca-ES'
|
|
3705
|
+
| 'cs'
|
|
3706
|
+
| 'cs-CZ'
|
|
3707
|
+
| 'cy'
|
|
3708
|
+
| 'da'
|
|
3529
3709
|
| 'da-DK'
|
|
3710
|
+
| 'de'
|
|
3711
|
+
| 'de-AT'
|
|
3712
|
+
| 'de-CH'
|
|
3530
3713
|
| 'de-DE'
|
|
3714
|
+
| 'el'
|
|
3715
|
+
| 'el-GR'
|
|
3716
|
+
| 'en'
|
|
3531
3717
|
| 'en-AU'
|
|
3718
|
+
| 'en-CA'
|
|
3532
3719
|
| 'en-GB'
|
|
3533
|
-
| 'en-
|
|
3720
|
+
| 'en-GH'
|
|
3721
|
+
| 'en-HK'
|
|
3722
|
+
| 'en-IE'
|
|
3534
3723
|
| 'en-IN'
|
|
3724
|
+
| 'en-KE'
|
|
3725
|
+
| 'en-NG'
|
|
3726
|
+
| 'en-NZ'
|
|
3727
|
+
| 'en-PH'
|
|
3728
|
+
| 'en-PK'
|
|
3729
|
+
| 'en-SG'
|
|
3730
|
+
| 'en-TZ'
|
|
3535
3731
|
| 'en-US'
|
|
3732
|
+
| 'en-ZA'
|
|
3733
|
+
| 'es'
|
|
3734
|
+
| 'es-419'
|
|
3735
|
+
| 'es-AR'
|
|
3736
|
+
| 'es-BO'
|
|
3737
|
+
| 'es-CL'
|
|
3738
|
+
| 'es-CO'
|
|
3739
|
+
| 'es-CR'
|
|
3740
|
+
| 'es-DO'
|
|
3741
|
+
| 'es-EC'
|
|
3536
3742
|
| 'es-ES'
|
|
3743
|
+
| 'es-GT'
|
|
3744
|
+
| 'es-HN'
|
|
3537
3745
|
| 'es-MX'
|
|
3746
|
+
| 'es-NI'
|
|
3747
|
+
| 'es-PA'
|
|
3748
|
+
| 'es-PE'
|
|
3749
|
+
| 'es-PR'
|
|
3750
|
+
| 'es-PY'
|
|
3751
|
+
| 'es-SV'
|
|
3538
3752
|
| 'es-US'
|
|
3753
|
+
| 'es-UY'
|
|
3754
|
+
| 'es-VE'
|
|
3755
|
+
| 'et'
|
|
3756
|
+
| 'et-EE'
|
|
3757
|
+
| 'eu'
|
|
3758
|
+
| 'eu-ES'
|
|
3759
|
+
| 'fa'
|
|
3760
|
+
| 'fa-IR'
|
|
3761
|
+
| 'fi'
|
|
3762
|
+
| 'fi-FI'
|
|
3763
|
+
| 'fil-PH'
|
|
3764
|
+
| 'fo'
|
|
3765
|
+
| 'fr'
|
|
3766
|
+
| 'fr-BE'
|
|
3539
3767
|
| 'fr-CA'
|
|
3768
|
+
| 'fr-CH'
|
|
3540
3769
|
| 'fr-FR'
|
|
3770
|
+
| 'gl'
|
|
3771
|
+
| 'gl-ES'
|
|
3772
|
+
| 'gu'
|
|
3773
|
+
| 'gu-IN'
|
|
3774
|
+
| 'ha'
|
|
3775
|
+
| 'haw'
|
|
3776
|
+
| 'he'
|
|
3777
|
+
| 'hi'
|
|
3541
3778
|
| 'hi-IN'
|
|
3779
|
+
| 'hr'
|
|
3780
|
+
| 'hr-HR'
|
|
3781
|
+
| 'ht'
|
|
3782
|
+
| 'hu'
|
|
3783
|
+
| 'hu-HU'
|
|
3784
|
+
| 'hy'
|
|
3785
|
+
| 'hy-AM'
|
|
3786
|
+
| 'id'
|
|
3787
|
+
| 'id-ID'
|
|
3788
|
+
| 'is'
|
|
3542
3789
|
| 'is-IS'
|
|
3790
|
+
| 'it'
|
|
3791
|
+
| 'it-CH'
|
|
3543
3792
|
| 'it-IT'
|
|
3544
|
-
| '
|
|
3793
|
+
| 'iw-IL'
|
|
3794
|
+
| 'ja'
|
|
3795
|
+
| 'ja-JP'
|
|
3796
|
+
| 'jv-ID'
|
|
3797
|
+
| 'jw'
|
|
3798
|
+
| 'ka'
|
|
3799
|
+
| 'ka-GE'
|
|
3800
|
+
| 'kk'
|
|
3801
|
+
| 'kk-KZ'
|
|
3802
|
+
| 'km'
|
|
3803
|
+
| 'km-KH'
|
|
3804
|
+
| 'kn'
|
|
3805
|
+
| 'kn-IN'
|
|
3806
|
+
| 'ko'
|
|
3545
3807
|
| 'ko-KR'
|
|
3546
|
-
| '
|
|
3808
|
+
| 'la'
|
|
3809
|
+
| 'lb'
|
|
3810
|
+
| 'ln'
|
|
3811
|
+
| 'lo'
|
|
3812
|
+
| 'lo-LA'
|
|
3813
|
+
| 'lt'
|
|
3814
|
+
| 'lt-LT'
|
|
3815
|
+
| 'lv'
|
|
3816
|
+
| 'lv-LV'
|
|
3817
|
+
| 'mg'
|
|
3818
|
+
| 'mi'
|
|
3819
|
+
| 'mk'
|
|
3820
|
+
| 'mk-MK'
|
|
3821
|
+
| 'ml'
|
|
3822
|
+
| 'ml-IN'
|
|
3823
|
+
| 'mn'
|
|
3824
|
+
| 'mn-MN'
|
|
3825
|
+
| 'mr'
|
|
3826
|
+
| 'mr-IN'
|
|
3827
|
+
| 'ms'
|
|
3828
|
+
| 'ms-MY'
|
|
3829
|
+
| 'mt'
|
|
3830
|
+
| 'my'
|
|
3831
|
+
| 'my-MM'
|
|
3832
|
+
| 'ne'
|
|
3833
|
+
| 'ne-NP'
|
|
3834
|
+
| 'nl'
|
|
3835
|
+
| 'nl-BE'
|
|
3547
3836
|
| 'nl-NL'
|
|
3837
|
+
| 'nn'
|
|
3838
|
+
| 'no'
|
|
3839
|
+
| 'no-NO'
|
|
3840
|
+
| 'oc'
|
|
3841
|
+
| 'pa'
|
|
3842
|
+
| 'pa-Guru-IN'
|
|
3843
|
+
| 'pl'
|
|
3548
3844
|
| 'pl-PL'
|
|
3845
|
+
| 'ps'
|
|
3846
|
+
| 'pt'
|
|
3549
3847
|
| 'pt-BR'
|
|
3550
3848
|
| 'pt-PT'
|
|
3849
|
+
| 'ro'
|
|
3551
3850
|
| 'ro-RO'
|
|
3851
|
+
| 'ru'
|
|
3552
3852
|
| 'ru-RU'
|
|
3853
|
+
| 'rw-RW'
|
|
3854
|
+
| 'sa'
|
|
3855
|
+
| 'sd'
|
|
3856
|
+
| 'si'
|
|
3857
|
+
| 'si-LK'
|
|
3858
|
+
| 'sk'
|
|
3859
|
+
| 'sk-SK'
|
|
3860
|
+
| 'sl'
|
|
3861
|
+
| 'sl-SI'
|
|
3862
|
+
| 'sn'
|
|
3863
|
+
| 'so'
|
|
3864
|
+
| 'sq'
|
|
3865
|
+
| 'sq-AL'
|
|
3866
|
+
| 'sr'
|
|
3867
|
+
| 'sr-RS'
|
|
3868
|
+
| 'ss-latn-za'
|
|
3869
|
+
| 'st-ZA'
|
|
3870
|
+
| 'su'
|
|
3871
|
+
| 'su-ID'
|
|
3872
|
+
| 'sv'
|
|
3553
3873
|
| 'sv-SE'
|
|
3554
|
-
| '
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3874
|
+
| 'sw'
|
|
3875
|
+
| 'sw-KE'
|
|
3876
|
+
| 'sw-TZ'
|
|
3877
|
+
| 'ta'
|
|
3878
|
+
| 'ta-IN'
|
|
3879
|
+
| 'ta-LK'
|
|
3880
|
+
| 'ta-MY'
|
|
3881
|
+
| 'ta-SG'
|
|
3882
|
+
| 'te'
|
|
3883
|
+
| 'te-IN'
|
|
3884
|
+
| 'tg'
|
|
3885
|
+
| 'th'
|
|
3886
|
+
| 'th-TH'
|
|
3887
|
+
| 'tk'
|
|
3888
|
+
| 'tl'
|
|
3889
|
+
| 'tn-latn-za'
|
|
3890
|
+
| 'tr'
|
|
3891
|
+
| 'tr-TR'
|
|
3892
|
+
| 'ts-ZA'
|
|
3893
|
+
| 'tt'
|
|
3894
|
+
| 'uk'
|
|
3895
|
+
| 'uk-UA'
|
|
3896
|
+
| 'ur'
|
|
3897
|
+
| 'ur-IN'
|
|
3898
|
+
| 'ur-PK'
|
|
3899
|
+
| 'uz'
|
|
3900
|
+
| 'uz-UZ'
|
|
3901
|
+
| 've-ZA'
|
|
3902
|
+
| 'vi'
|
|
3903
|
+
| 'vi-VN'
|
|
3904
|
+
| 'xh-ZA'
|
|
3905
|
+
| 'yi'
|
|
3906
|
+
| 'yo'
|
|
3907
|
+
| 'yue-Hant-HK'
|
|
3908
|
+
| 'zh'
|
|
3909
|
+
| 'zh-TW'
|
|
3910
|
+
| 'zu-ZA';
|
|
3561
3911
|
|
|
3562
3912
|
/**
|
|
3563
|
-
*
|
|
3564
|
-
*
|
|
3913
|
+
* Defines maximum number of speakers in the conversation. Applies to `google`
|
|
3914
|
+
* engine only.
|
|
3565
3915
|
*/
|
|
3566
|
-
|
|
3916
|
+
transcription_max_speaker_count?: number;
|
|
3567
3917
|
|
|
3568
3918
|
/**
|
|
3569
|
-
*
|
|
3570
|
-
*
|
|
3919
|
+
* Defines minimum number of speakers in the conversation. Applies to `google`
|
|
3920
|
+
* engine only.
|
|
3571
3921
|
*/
|
|
3572
|
-
|
|
3922
|
+
transcription_min_speaker_count?: number;
|
|
3573
3923
|
|
|
3574
3924
|
/**
|
|
3575
|
-
*
|
|
3576
|
-
* stop the current audio being played, and to play the next file in the queue.
|
|
3577
|
-
* Specify `all` to stop the current audio file being played and to also clear all
|
|
3578
|
-
* audio files from the queue.
|
|
3925
|
+
* Enables profanity_filter. Applies to `google` engine only.
|
|
3579
3926
|
*/
|
|
3580
|
-
|
|
3927
|
+
transcription_profanity_filter?: boolean;
|
|
3581
3928
|
|
|
3582
3929
|
/**
|
|
3583
|
-
*
|
|
3930
|
+
* Enables speaker diarization. Applies to `google` engine only.
|
|
3584
3931
|
*/
|
|
3585
|
-
|
|
3932
|
+
transcription_speaker_diarization?: boolean;
|
|
3586
3933
|
|
|
3587
3934
|
/**
|
|
3588
|
-
*
|
|
3935
|
+
* When set to `trim-silence`, silence will be removed from the beginning and end
|
|
3936
|
+
* of the recording.
|
|
3589
3937
|
*/
|
|
3590
|
-
|
|
3591
|
-
| ElevenLabsVoiceSettings
|
|
3592
|
-
| TelnyxVoiceSettings
|
|
3593
|
-
| AwsVoiceSettings
|
|
3594
|
-
| Shared.MinimaxVoiceSettings
|
|
3595
|
-
| Shared.AzureVoiceSettings
|
|
3596
|
-
| Shared.RimeVoiceSettings
|
|
3597
|
-
| Shared.ResembleVoiceSettings
|
|
3598
|
-
| Shared.InworldVoiceSettings
|
|
3599
|
-
| Shared.XaiVoiceSettings;
|
|
3938
|
+
trim?: 'trim-silence';
|
|
3600
3939
|
}
|
|
3601
3940
|
|
|
3602
|
-
export interface
|
|
3603
|
-
/**
|
|
3604
|
-
* AI Assistant configuration. All fields except `id` are optional — the
|
|
3605
|
-
* assistant's stored configuration will be used as fallback for any omitted
|
|
3606
|
-
* fields.
|
|
3607
|
-
*/
|
|
3608
|
-
assistant?: CallsAPI.CallAssistantRequest;
|
|
3609
|
-
|
|
3941
|
+
export interface ActionStopRecordingParams {
|
|
3610
3942
|
/**
|
|
3611
3943
|
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
3612
3944
|
* Base-64 encoded string.
|
|
@@ -3620,96 +3952,61 @@ export interface ActionStartAIAssistantParams {
|
|
|
3620
3952
|
command_id?: string;
|
|
3621
3953
|
|
|
3622
3954
|
/**
|
|
3623
|
-
*
|
|
3624
|
-
* played when the assistant starts. The greeting can be text for any voice or SSML
|
|
3625
|
-
* for `AWS.Polly.<voice_id>` voices. There is a 3,000 character limit.
|
|
3955
|
+
* Uniquely identifies the resource.
|
|
3626
3956
|
*/
|
|
3627
|
-
|
|
3957
|
+
recording_id?: string;
|
|
3958
|
+
}
|
|
3628
3959
|
|
|
3960
|
+
export interface ActionReferParams {
|
|
3629
3961
|
/**
|
|
3630
|
-
*
|
|
3962
|
+
* The SIP URI to which the call will be referred to.
|
|
3631
3963
|
*/
|
|
3632
|
-
|
|
3964
|
+
sip_address: string;
|
|
3633
3965
|
|
|
3634
3966
|
/**
|
|
3635
|
-
*
|
|
3636
|
-
*
|
|
3967
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
3968
|
+
* Base-64 encoded string.
|
|
3637
3969
|
*/
|
|
3638
|
-
|
|
3970
|
+
client_state?: string;
|
|
3639
3971
|
|
|
3640
3972
|
/**
|
|
3641
|
-
*
|
|
3973
|
+
* Use this field to avoid execution of duplicate commands. Telnyx will ignore
|
|
3974
|
+
* subsequent commands with the same `command_id` as one that has already been
|
|
3975
|
+
* executed.
|
|
3642
3976
|
*/
|
|
3643
|
-
|
|
3977
|
+
command_id?: string;
|
|
3644
3978
|
|
|
3645
3979
|
/**
|
|
3646
|
-
*
|
|
3647
|
-
* updated.
|
|
3980
|
+
* Custom headers to be added to the SIP INVITE.
|
|
3648
3981
|
*/
|
|
3649
|
-
|
|
3982
|
+
custom_headers?: Array<CallsAPI.CustomSipHeader>;
|
|
3650
3983
|
|
|
3651
3984
|
/**
|
|
3652
|
-
*
|
|
3653
|
-
* only relevant if the assistant uses a text-to-text language model. Any assistant
|
|
3654
|
-
* using a model with native audio support (e.g. `fixie-ai/ultravox-v0_4`) will
|
|
3655
|
-
* ignore this field.
|
|
3985
|
+
* SIP Authentication password used for SIP challenges.
|
|
3656
3986
|
*/
|
|
3657
|
-
|
|
3987
|
+
sip_auth_password?: string;
|
|
3658
3988
|
|
|
3659
3989
|
/**
|
|
3660
|
-
*
|
|
3661
|
-
* Telnyx and AWS voices.
|
|
3662
|
-
*
|
|
3663
|
-
* **Supported Providers:**
|
|
3664
|
-
*
|
|
3665
|
-
* - **AWS:** Use `AWS.Polly.<VoiceId>` (e.g., `AWS.Polly.Joanna`). For neural
|
|
3666
|
-
* voices, which provide more realistic, human-like speech, append `-Neural` to
|
|
3667
|
-
* the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
|
|
3668
|
-
* [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
|
|
3669
|
-
* for compatibility.
|
|
3670
|
-
* - **Azure:** Use `Azure.<VoiceId>. (e.g. Azure.en-CA-ClaraNeural,
|
|
3671
|
-
* Azure.en-CA-LiamNeural, Azure.en-US-BrianMultilingualNeural,
|
|
3672
|
-
* Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to
|
|
3673
|
-
* [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).)
|
|
3674
|
-
* - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
|
|
3675
|
-
* `ElevenLabs.BaseModel.John`). The `ModelId` part is optional. To use
|
|
3676
|
-
* ElevenLabs, you must provide your ElevenLabs API key as an integration secret
|
|
3677
|
-
* under `"voice_settings": {"api_key_ref": "<secret_id>"}`. See
|
|
3678
|
-
* [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
|
|
3679
|
-
* for details. Check
|
|
3680
|
-
* [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
|
|
3681
|
-
* - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
3682
|
-
* - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
3683
|
-
* `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
|
|
3684
|
-
* `Max`, `TTS2`.
|
|
3685
|
-
* - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
3686
|
-
* `ara`, `rex`, `sal`, `leo`.
|
|
3990
|
+
* SIP Authentication username used for SIP challenges.
|
|
3687
3991
|
*/
|
|
3688
|
-
|
|
3992
|
+
sip_auth_username?: string;
|
|
3689
3993
|
|
|
3690
3994
|
/**
|
|
3691
|
-
*
|
|
3995
|
+
* SIP headers to be added to the request. Currently only User-to-User header is
|
|
3996
|
+
* supported.
|
|
3692
3997
|
*/
|
|
3693
|
-
|
|
3694
|
-
| ElevenLabsVoiceSettings
|
|
3695
|
-
| TelnyxVoiceSettings
|
|
3696
|
-
| AwsVoiceSettings
|
|
3697
|
-
| Shared.AzureVoiceSettings
|
|
3698
|
-
| Shared.RimeVoiceSettings
|
|
3699
|
-
| Shared.ResembleVoiceSettings
|
|
3700
|
-
| Shared.XaiVoiceSettings;
|
|
3998
|
+
sip_headers?: Array<CallsAPI.SipHeader>;
|
|
3701
3999
|
}
|
|
3702
4000
|
|
|
3703
|
-
export interface
|
|
4001
|
+
export interface ActionRejectParams {
|
|
3704
4002
|
/**
|
|
3705
|
-
*
|
|
3706
|
-
* `assistant.dynamic_variables` to make it available to the relay session.
|
|
4003
|
+
* Cause for call rejection.
|
|
3707
4004
|
*/
|
|
3708
|
-
|
|
4005
|
+
cause: 'CALL_REJECTED' | 'USER_BUSY';
|
|
3709
4006
|
|
|
3710
4007
|
/**
|
|
3711
|
-
* Use this field to add state to subsequent
|
|
3712
|
-
* encoded string.
|
|
4008
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4009
|
+
* Base-64 encoded string.
|
|
3713
4010
|
*/
|
|
3714
4011
|
client_state?: string;
|
|
3715
4012
|
|
|
@@ -3718,159 +4015,249 @@ export interface ActionStartConversationRelayParams {
|
|
|
3718
4015
|
* the same `command_id` for the same `call_control_id`.
|
|
3719
4016
|
*/
|
|
3720
4017
|
command_id?: string;
|
|
4018
|
+
}
|
|
3721
4019
|
|
|
4020
|
+
export interface ActionSendDtmfParams {
|
|
3722
4021
|
/**
|
|
3723
|
-
*
|
|
4022
|
+
* DTMF digits to send. Valid digits are 0-9, A-D, \*, and #. Pauses can be added
|
|
4023
|
+
* using w (0.5s) and W (1s).
|
|
3724
4024
|
*/
|
|
3725
|
-
|
|
4025
|
+
digits: string;
|
|
3726
4026
|
|
|
3727
4027
|
/**
|
|
3728
|
-
*
|
|
3729
|
-
*
|
|
3730
|
-
* Top-level aliases override nested values when both are present.
|
|
4028
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4029
|
+
* Base-64 encoded string.
|
|
3731
4030
|
*/
|
|
3732
|
-
|
|
4031
|
+
client_state?: string;
|
|
3733
4032
|
|
|
3734
4033
|
/**
|
|
3735
|
-
*
|
|
3736
|
-
* `
|
|
4034
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
4035
|
+
* the same `command_id` for the same `call_control_id`.
|
|
3737
4036
|
*/
|
|
3738
|
-
|
|
4037
|
+
command_id?: string;
|
|
3739
4038
|
|
|
3740
4039
|
/**
|
|
3741
|
-
*
|
|
3742
|
-
*
|
|
3743
|
-
* these values are merged in.
|
|
4040
|
+
* Specifies for how many milliseconds each digit will be played in the audio
|
|
4041
|
+
* stream. Ranges from 100 to 500ms
|
|
3744
4042
|
*/
|
|
3745
|
-
|
|
4043
|
+
duration_millis?: number;
|
|
4044
|
+
}
|
|
3746
4045
|
|
|
4046
|
+
export interface ActionSendSipInfoParams {
|
|
3747
4047
|
/**
|
|
3748
|
-
*
|
|
3749
|
-
* value wins.
|
|
4048
|
+
* Content of the SIP INFO
|
|
3750
4049
|
*/
|
|
3751
|
-
|
|
4050
|
+
body: string;
|
|
3752
4051
|
|
|
3753
4052
|
/**
|
|
3754
|
-
*
|
|
4053
|
+
* Content type of the INFO body. Must be MIME type compliant. There is a 1,400
|
|
4054
|
+
* bytes limit
|
|
3755
4055
|
*/
|
|
3756
|
-
|
|
4056
|
+
content_type: string;
|
|
3757
4057
|
|
|
3758
4058
|
/**
|
|
3759
|
-
*
|
|
3760
|
-
*
|
|
3761
|
-
* only; `dtmf` allows DTMF only.
|
|
4059
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4060
|
+
* Base-64 encoded string.
|
|
3762
4061
|
*/
|
|
3763
|
-
|
|
4062
|
+
client_state?: string;
|
|
3764
4063
|
|
|
3765
4064
|
/**
|
|
3766
|
-
*
|
|
3767
|
-
*
|
|
3768
|
-
* only; `dtmf` allows DTMF only.
|
|
4065
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
4066
|
+
* the same `command_id` for the same `call_control_id`.
|
|
3769
4067
|
*/
|
|
3770
|
-
|
|
4068
|
+
command_id?: string;
|
|
4069
|
+
}
|
|
3771
4070
|
|
|
4071
|
+
export interface ActionStartSiprecParams {
|
|
3772
4072
|
/**
|
|
3773
|
-
*
|
|
4073
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4074
|
+
* Base-64 encoded string.
|
|
3774
4075
|
*/
|
|
3775
|
-
|
|
4076
|
+
client_state?: string;
|
|
3776
4077
|
|
|
3777
4078
|
/**
|
|
3778
|
-
*
|
|
3779
|
-
* text-to-speech and speech recognition.
|
|
4079
|
+
* Name of configured SIPREC connector to be used.
|
|
3780
4080
|
*/
|
|
3781
|
-
|
|
4081
|
+
connector_name?: string;
|
|
3782
4082
|
|
|
3783
4083
|
/**
|
|
3784
|
-
*
|
|
4084
|
+
* When set, custom parameters will be added as metadata
|
|
4085
|
+
* (recording.session.ExtensionParameters). Otherwise, they’ll be added to sip
|
|
4086
|
+
* headers.
|
|
3785
4087
|
*/
|
|
3786
|
-
|
|
4088
|
+
include_metadata_custom_headers?: true | false;
|
|
3787
4089
|
|
|
3788
4090
|
/**
|
|
3789
|
-
*
|
|
4091
|
+
* Controls whether to encrypt media sent to your SRS using SRTP and TLS. When set
|
|
4092
|
+
* you need to configure SRS port in your connector to 5061.
|
|
3790
4093
|
*/
|
|
3791
|
-
|
|
4094
|
+
secure?: true | false;
|
|
3792
4095
|
|
|
3793
4096
|
/**
|
|
3794
|
-
*
|
|
3795
|
-
*
|
|
3796
|
-
*
|
|
4097
|
+
* Sets `Session-Expires` header to the INVITE. A reinvite is sent every half the
|
|
4098
|
+
* value set. Usefull for session keep alive. Minimum value is 90, set to 0 to
|
|
4099
|
+
* disable.
|
|
3797
4100
|
*/
|
|
3798
|
-
|
|
4101
|
+
session_timeout_secs?: number;
|
|
3799
4102
|
|
|
3800
4103
|
/**
|
|
3801
|
-
*
|
|
3802
|
-
* `transcription_engine` and `transcription_engine_config` instead.
|
|
4104
|
+
* Specifies SIP transport protocol.
|
|
3803
4105
|
*/
|
|
3804
|
-
|
|
4106
|
+
sip_transport?: 'udp' | 'tcp' | 'tls';
|
|
3805
4107
|
|
|
3806
4108
|
/**
|
|
3807
|
-
*
|
|
3808
|
-
* `Telnyx` are supported for backward compatibility. For Conversation Relay, use
|
|
3809
|
-
* this field with `transcription_engine_config`; the `transcription` object is not
|
|
3810
|
-
* supported.
|
|
4109
|
+
* Specifies which track should be sent on siprec session.
|
|
3811
4110
|
*/
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
| 'Telnyx'
|
|
3815
|
-
| 'Deepgram'
|
|
3816
|
-
| 'Azure'
|
|
3817
|
-
| 'xAI'
|
|
3818
|
-
| 'AssemblyAI'
|
|
3819
|
-
| 'Speechmatics'
|
|
3820
|
-
| 'Soniox'
|
|
3821
|
-
| 'A'
|
|
3822
|
-
| 'B';
|
|
4111
|
+
siprec_track?: 'inbound_track' | 'outbound_track' | 'both_tracks';
|
|
4112
|
+
}
|
|
3823
4113
|
|
|
4114
|
+
export interface ActionStopSiprecParams {
|
|
3824
4115
|
/**
|
|
3825
|
-
*
|
|
3826
|
-
*
|
|
3827
|
-
* such as `transcription_model`, without requiring the engine discriminator to be
|
|
3828
|
-
* repeated inside this object.
|
|
4116
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4117
|
+
* Base-64 encoded string.
|
|
3829
4118
|
*/
|
|
3830
|
-
|
|
4119
|
+
client_state?: string;
|
|
3831
4120
|
|
|
3832
4121
|
/**
|
|
3833
|
-
*
|
|
3834
|
-
* `
|
|
4122
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
4123
|
+
* the same `command_id` for the same `call_control_id`.
|
|
3835
4124
|
*/
|
|
3836
|
-
|
|
4125
|
+
command_id?: string;
|
|
4126
|
+
}
|
|
3837
4127
|
|
|
4128
|
+
export interface ActionSpeakParams {
|
|
3838
4129
|
/**
|
|
3839
|
-
*
|
|
3840
|
-
* If both are present, this value wins.
|
|
4130
|
+
* The text or SSML to be converted into speech. There is a 3,000 character limit.
|
|
3841
4131
|
*/
|
|
3842
|
-
|
|
4132
|
+
payload: string;
|
|
3843
4133
|
|
|
3844
4134
|
/**
|
|
3845
|
-
*
|
|
3846
|
-
* Telnyx and AWS voices.
|
|
4135
|
+
* Specifies the voice used in speech synthesis.
|
|
3847
4136
|
*
|
|
3848
|
-
*
|
|
4137
|
+
* - Define voices using the format `<Provider>.<Model>.<VoiceId>`. Specifying only
|
|
4138
|
+
* the provider will give default values for voice_id and model_id.
|
|
4139
|
+
*
|
|
4140
|
+
* **Supported Providers:**
|
|
3849
4141
|
*
|
|
3850
4142
|
* - **AWS:** Use `AWS.Polly.<VoiceId>` (e.g., `AWS.Polly.Joanna`). For neural
|
|
3851
4143
|
* voices, which provide more realistic, human-like speech, append `-Neural` to
|
|
3852
4144
|
* the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
|
|
3853
4145
|
* [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
|
|
3854
4146
|
* for compatibility.
|
|
3855
|
-
* - **Azure:** Use `Azure.<VoiceId
|
|
3856
|
-
* Azure.en-
|
|
3857
|
-
* Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to
|
|
3858
|
-
* [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).
|
|
4147
|
+
* - **Azure:** Use `Azure.<VoiceId>` (e.g., `Azure.en-CA-ClaraNeural`,
|
|
4148
|
+
* `Azure.en-US-BrianMultilingualNeural`,
|
|
4149
|
+
* `Azure.en-US-Ava:DragonHDLatestNeural`). For a complete list of voices, go to
|
|
4150
|
+
* [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery). Use
|
|
4151
|
+
* `voice_settings` to configure custom deployments, regions, or API keys.
|
|
3859
4152
|
* - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
|
|
3860
|
-
* `ElevenLabs.
|
|
3861
|
-
* ElevenLabs, you must provide your ElevenLabs API key as an
|
|
3862
|
-
*
|
|
4153
|
+
* `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
|
|
4154
|
+
* is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
|
|
4155
|
+
* integration identifier secret in
|
|
4156
|
+
* `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. See
|
|
3863
4157
|
* [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
|
|
3864
4158
|
* for details. Check
|
|
3865
4159
|
* [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
|
|
3866
|
-
* - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
4160
|
+
* - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>` (e.g., `Telnyx.KokoroTTS.af`).
|
|
4161
|
+
* Use `voice_settings` to configure voice_speed and other synthesis parameters.
|
|
4162
|
+
* - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
|
|
4163
|
+
* `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
|
|
4164
|
+
* `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Use `voice_settings`
|
|
4165
|
+
* to configure speed, volume, pitch, and language_boost.
|
|
4166
|
+
* - **Rime:** Use `Rime.<model_id>.<voice_id>` (e.g., `Rime.Arcana.cove`).
|
|
4167
|
+
* Supported model_ids: `Arcana`, `Mist`, `ArcanaV3`, `Coda`. Use
|
|
4168
|
+
* `voice_settings` to configure voice_speed.
|
|
4169
|
+
* - **Resemble:** Use `Resemble.Turbo.<voice_id>` (e.g.,
|
|
4170
|
+
* `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
|
|
4171
|
+
* `voice_settings` to configure precision, sample_rate, and format.
|
|
3867
4172
|
* - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
3868
4173
|
* `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
|
|
3869
|
-
* `Max`, `TTS2`.
|
|
4174
|
+
* `Max`, `TTS2`. Use `voice_settings` to configure `delivery_mode` (`STABLE`,
|
|
4175
|
+
* `BALANCED`, `CREATIVE`), supported by `TTS2` only.
|
|
3870
4176
|
* - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
3871
4177
|
* `ara`, `rex`, `sal`, `leo`.
|
|
4178
|
+
*
|
|
4179
|
+
* For service_level basic, you may define the gender of the speaker (male or
|
|
4180
|
+
* female).
|
|
3872
4181
|
*/
|
|
3873
|
-
voice
|
|
4182
|
+
voice: string;
|
|
4183
|
+
|
|
4184
|
+
/**
|
|
4185
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4186
|
+
* Base-64 encoded string.
|
|
4187
|
+
*/
|
|
4188
|
+
client_state?: string;
|
|
4189
|
+
|
|
4190
|
+
/**
|
|
4191
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
4192
|
+
* the same `command_id` for the same `call_control_id`.
|
|
4193
|
+
*/
|
|
4194
|
+
command_id?: string;
|
|
4195
|
+
|
|
4196
|
+
/**
|
|
4197
|
+
* The language you want spoken. This parameter is ignored when a `Polly.*` voice
|
|
4198
|
+
* is specified.
|
|
4199
|
+
*/
|
|
4200
|
+
language?:
|
|
4201
|
+
| 'arb'
|
|
4202
|
+
| 'cmn-CN'
|
|
4203
|
+
| 'cy-GB'
|
|
4204
|
+
| 'da-DK'
|
|
4205
|
+
| 'de-DE'
|
|
4206
|
+
| 'en-AU'
|
|
4207
|
+
| 'en-GB'
|
|
4208
|
+
| 'en-GB-WLS'
|
|
4209
|
+
| 'en-IN'
|
|
4210
|
+
| 'en-US'
|
|
4211
|
+
| 'es-ES'
|
|
4212
|
+
| 'es-MX'
|
|
4213
|
+
| 'es-US'
|
|
4214
|
+
| 'fr-CA'
|
|
4215
|
+
| 'fr-FR'
|
|
4216
|
+
| 'hi-IN'
|
|
4217
|
+
| 'is-IS'
|
|
4218
|
+
| 'it-IT'
|
|
4219
|
+
| 'ja-JP'
|
|
4220
|
+
| 'ko-KR'
|
|
4221
|
+
| 'nb-NO'
|
|
4222
|
+
| 'nl-NL'
|
|
4223
|
+
| 'pl-PL'
|
|
4224
|
+
| 'pt-BR'
|
|
4225
|
+
| 'pt-PT'
|
|
4226
|
+
| 'ro-RO'
|
|
4227
|
+
| 'ru-RU'
|
|
4228
|
+
| 'sv-SE'
|
|
4229
|
+
| 'tr-TR';
|
|
4230
|
+
|
|
4231
|
+
/**
|
|
4232
|
+
* The number of times to play the audio file. Use `infinity` to loop indefinitely.
|
|
4233
|
+
* Defaults to 1.
|
|
4234
|
+
*/
|
|
4235
|
+
loop?: Loopcount;
|
|
4236
|
+
|
|
4237
|
+
/**
|
|
4238
|
+
* The type of the provided payload. The payload can either be plain text, or
|
|
4239
|
+
* Speech Synthesis Markup Language (SSML).
|
|
4240
|
+
*/
|
|
4241
|
+
payload_type?: 'text' | 'ssml';
|
|
4242
|
+
|
|
4243
|
+
/**
|
|
4244
|
+
* This parameter impacts speech quality, language options and payload types. When
|
|
4245
|
+
* using `basic`, only the `en-US` language and payload type `text` are allowed.
|
|
4246
|
+
*/
|
|
4247
|
+
service_level?: 'basic' | 'premium';
|
|
4248
|
+
|
|
4249
|
+
/**
|
|
4250
|
+
* When specified, it stops the current audio being played. Specify `current` to
|
|
4251
|
+
* stop the current audio being played, and to play the next file in the queue.
|
|
4252
|
+
* Specify `all` to stop the current audio file being played and to also clear all
|
|
4253
|
+
* audio files from the queue.
|
|
4254
|
+
*/
|
|
4255
|
+
stop?: string;
|
|
4256
|
+
|
|
4257
|
+
/**
|
|
4258
|
+
* Specifies which legs of the call should receive the spoken audio.
|
|
4259
|
+
*/
|
|
4260
|
+
target_legs?: 'self' | 'opposite' | 'both';
|
|
3874
4261
|
|
|
3875
4262
|
/**
|
|
3876
4263
|
* The settings associated with the voice selected
|
|
@@ -3887,59 +4274,90 @@ export interface ActionStartConversationRelayParams {
|
|
|
3887
4274
|
| Shared.XaiVoiceSettings;
|
|
3888
4275
|
}
|
|
3889
4276
|
|
|
3890
|
-
export
|
|
4277
|
+
export interface ActionStartStreamingParams {
|
|
3891
4278
|
/**
|
|
3892
|
-
*
|
|
3893
|
-
*
|
|
4279
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4280
|
+
* Base-64 encoded string.
|
|
3894
4281
|
*/
|
|
3895
|
-
|
|
3896
|
-
/**
|
|
3897
|
-
* Custom key-value parameters forwarded to the Conversation Relay session.
|
|
3898
|
-
*/
|
|
3899
|
-
dynamic_variables?: { [key: string]: string };
|
|
4282
|
+
client_state?: string;
|
|
3900
4283
|
|
|
3901
|
-
|
|
3902
|
-
|
|
4284
|
+
/**
|
|
4285
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
4286
|
+
* the same `command_id` for the same `call_control_id`.
|
|
4287
|
+
*/
|
|
4288
|
+
command_id?: string;
|
|
3903
4289
|
|
|
3904
4290
|
/**
|
|
3905
|
-
*
|
|
3906
|
-
* `dtmf_detection`, `interruptible`, `interruptible_greeting`, and `languages`.
|
|
3907
|
-
* Top-level aliases override nested values when both are present.
|
|
4291
|
+
* Custom parameters to be sent as part of the WebSocket connection.
|
|
3908
4292
|
*/
|
|
3909
|
-
|
|
3910
|
-
/**
|
|
3911
|
-
* WebSocket URL for your Conversation Relay server. Must start with `ws://` or
|
|
3912
|
-
* `wss://`.
|
|
3913
|
-
*/
|
|
3914
|
-
url: string;
|
|
4293
|
+
custom_parameters?: Array<ActionStartStreamingParams.CustomParameter>;
|
|
3915
4294
|
|
|
3916
|
-
|
|
3917
|
-
* Whether to enable DTMF detection during the relay session.
|
|
3918
|
-
*/
|
|
3919
|
-
dtmf_detection?: boolean;
|
|
4295
|
+
dialogflow_config?: CallsAPI.DialogflowConfig;
|
|
3920
4296
|
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
4297
|
+
/**
|
|
4298
|
+
* Enables Dialogflow for the current call. The default value is false.
|
|
4299
|
+
*/
|
|
4300
|
+
enable_dialogflow?: boolean;
|
|
4301
|
+
|
|
4302
|
+
/**
|
|
4303
|
+
* An authentication token to be sent as part of the WebSocket connection. Maximum
|
|
4304
|
+
* length is 4000 characters.
|
|
4305
|
+
*/
|
|
4306
|
+
stream_auth_token?: string;
|
|
4307
|
+
|
|
4308
|
+
/**
|
|
4309
|
+
* Indicates codec for bidirectional streaming RTP payloads. Used only with
|
|
4310
|
+
* stream_bidirectional_mode=rtp. Case sensitive.
|
|
4311
|
+
*/
|
|
4312
|
+
stream_bidirectional_codec?: CallsAPI.StreamBidirectionalCodec;
|
|
4313
|
+
|
|
4314
|
+
/**
|
|
4315
|
+
* Configures method of bidirectional streaming (mp3, rtp).
|
|
4316
|
+
*/
|
|
4317
|
+
stream_bidirectional_mode?: CallsAPI.StreamBidirectionalMode;
|
|
4318
|
+
|
|
4319
|
+
/**
|
|
4320
|
+
* Audio sampling rate.
|
|
4321
|
+
*/
|
|
4322
|
+
stream_bidirectional_sampling_rate?: CallsAPI.StreamBidirectionalSamplingRate;
|
|
4323
|
+
|
|
4324
|
+
/**
|
|
4325
|
+
* Specifies which call legs should receive the bidirectional stream audio.
|
|
4326
|
+
*/
|
|
4327
|
+
stream_bidirectional_target_legs?: CallsAPI.StreamBidirectionalTargetLegs;
|
|
4328
|
+
|
|
4329
|
+
/**
|
|
4330
|
+
* Specifies the codec to be used for the streamed audio. When set to 'default' or
|
|
4331
|
+
* when transcoding is not possible, the codec from the call will be used.
|
|
4332
|
+
*/
|
|
4333
|
+
stream_codec?: CallsAPI.StreamCodec;
|
|
4334
|
+
|
|
4335
|
+
/**
|
|
4336
|
+
* Specifies which track should be streamed.
|
|
4337
|
+
*/
|
|
4338
|
+
stream_track?: 'inbound_track' | 'outbound_track' | 'both_tracks';
|
|
4339
|
+
|
|
4340
|
+
/**
|
|
4341
|
+
* The destination WebSocket address where the stream is going to be delivered.
|
|
4342
|
+
*/
|
|
4343
|
+
stream_url?: string;
|
|
4344
|
+
}
|
|
3927
4345
|
|
|
4346
|
+
export namespace ActionStartStreamingParams {
|
|
4347
|
+
export interface CustomParameter {
|
|
3928
4348
|
/**
|
|
3929
|
-
*
|
|
3930
|
-
* or DTMF interruptions; `none` disables interruptions; `speech` allows speech
|
|
3931
|
-
* only; `dtmf` allows DTMF only.
|
|
4349
|
+
* The name of the custom parameter.
|
|
3932
4350
|
*/
|
|
3933
|
-
|
|
4351
|
+
name?: string;
|
|
3934
4352
|
|
|
3935
4353
|
/**
|
|
3936
|
-
*
|
|
4354
|
+
* The value of the custom parameter.
|
|
3937
4355
|
*/
|
|
3938
|
-
|
|
4356
|
+
value?: string;
|
|
3939
4357
|
}
|
|
3940
4358
|
}
|
|
3941
4359
|
|
|
3942
|
-
export interface
|
|
4360
|
+
export interface ActionStopStreamingParams {
|
|
3943
4361
|
/**
|
|
3944
4362
|
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
3945
4363
|
* Base-64 encoded string.
|
|
@@ -3953,23 +4371,10 @@ export interface ActionStartForkingParams {
|
|
|
3953
4371
|
command_id?: string;
|
|
3954
4372
|
|
|
3955
4373
|
/**
|
|
3956
|
-
*
|
|
3957
|
-
*
|
|
3958
|
-
*/
|
|
3959
|
-
rx?: string;
|
|
3960
|
-
|
|
3961
|
-
/**
|
|
3962
|
-
* Optionally specify a media type to stream. If `decrypted` selected, Telnyx will
|
|
3963
|
-
* decrypt incoming SIP media before forking to the target. `rx` and `tx` are
|
|
3964
|
-
* required fields if `decrypted` selected.
|
|
3965
|
-
*/
|
|
3966
|
-
stream_type?: 'decrypted';
|
|
3967
|
-
|
|
3968
|
-
/**
|
|
3969
|
-
* The network target, <udp:ip_address:port>, where the call's outgoing RTP media
|
|
3970
|
-
* packets should be forwarded.
|
|
4374
|
+
* Identifies the stream. If the `stream_id` is not provided the command stops all
|
|
4375
|
+
* streams associated with a given `call_control_id`.
|
|
3971
4376
|
*/
|
|
3972
|
-
|
|
4377
|
+
stream_id?: string;
|
|
3973
4378
|
}
|
|
3974
4379
|
|
|
3975
4380
|
export interface ActionStartNoiseSuppressionParams {
|
|
@@ -4070,25 +4475,29 @@ export namespace ActionStartNoiseSuppressionParams {
|
|
|
4070
4475
|
}
|
|
4071
4476
|
}
|
|
4072
4477
|
|
|
4073
|
-
export interface
|
|
4478
|
+
export interface ActionStopNoiseSuppressionParams {
|
|
4074
4479
|
/**
|
|
4075
|
-
*
|
|
4480
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4481
|
+
* Base-64 encoded string.
|
|
4076
4482
|
*/
|
|
4077
|
-
|
|
4483
|
+
client_state?: string;
|
|
4078
4484
|
|
|
4079
4485
|
/**
|
|
4080
|
-
*
|
|
4081
|
-
*
|
|
4082
|
-
* request.
|
|
4486
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
4487
|
+
* the same `command_id` for the same `call_control_id`.
|
|
4083
4488
|
*/
|
|
4084
|
-
|
|
4489
|
+
command_id?: string;
|
|
4490
|
+
}
|
|
4085
4491
|
|
|
4492
|
+
export interface ActionSwitchSupervisorRoleParams {
|
|
4086
4493
|
/**
|
|
4087
|
-
*
|
|
4088
|
-
*
|
|
4494
|
+
* The supervisor role to switch to. 'barge' allows speaking to both parties,
|
|
4495
|
+
* 'whisper' allows speaking to caller only, 'monitor' allows listening only.
|
|
4089
4496
|
*/
|
|
4090
|
-
|
|
4497
|
+
role: 'barge' | 'whisper' | 'monitor';
|
|
4498
|
+
}
|
|
4091
4499
|
|
|
4500
|
+
export interface ActionStartTranscriptionParams {
|
|
4092
4501
|
/**
|
|
4093
4502
|
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4094
4503
|
* Base-64 encoded string.
|
|
@@ -4102,60 +4511,103 @@ export interface ActionStartPlaybackParams {
|
|
|
4102
4511
|
command_id?: string;
|
|
4103
4512
|
|
|
4104
4513
|
/**
|
|
4105
|
-
*
|
|
4106
|
-
*
|
|
4107
|
-
* loop.
|
|
4514
|
+
* Engine to use for speech recognition. Legacy values `A` - `Google`, `B` -
|
|
4515
|
+
* `Telnyx` are supported for backward compatibility.
|
|
4108
4516
|
*/
|
|
4109
|
-
|
|
4517
|
+
transcription_engine?:
|
|
4518
|
+
| 'Google'
|
|
4519
|
+
| 'Telnyx'
|
|
4520
|
+
| 'Deepgram'
|
|
4521
|
+
| 'Azure'
|
|
4522
|
+
| 'xAI'
|
|
4523
|
+
| 'AssemblyAI'
|
|
4524
|
+
| 'Speechmatics'
|
|
4525
|
+
| 'Soniox'
|
|
4526
|
+
| 'Parakeet'
|
|
4527
|
+
| 'A'
|
|
4528
|
+
| 'B';
|
|
4529
|
+
|
|
4530
|
+
transcription_engine_config?:
|
|
4531
|
+
| TranscriptionEngineGoogleConfig
|
|
4532
|
+
| TranscriptionEngineTelnyxConfig
|
|
4533
|
+
| TranscriptionEngineAzureConfig
|
|
4534
|
+
| TranscriptionEngineXaiConfig
|
|
4535
|
+
| TranscriptionEngineAssemblyaiConfig
|
|
4536
|
+
| TranscriptionEngineSpeechmaticsConfig
|
|
4537
|
+
| TranscriptionEngineSonioxConfig
|
|
4538
|
+
| TranscriptionEngineParakeetConfig
|
|
4539
|
+
| TranscriptionEngineAConfig
|
|
4540
|
+
| TranscriptionEngineBConfig
|
|
4541
|
+
| DeepgramNova2Config
|
|
4542
|
+
| DeepgramNova3Config;
|
|
4110
4543
|
|
|
4111
4544
|
/**
|
|
4112
|
-
*
|
|
4113
|
-
*
|
|
4114
|
-
*
|
|
4545
|
+
* Indicates which leg of the call will be transcribed. Use `inbound` for the leg
|
|
4546
|
+
* that requested the transcription, `outbound` for the other leg, and `both` for
|
|
4547
|
+
* both legs of the call. Will default to `inbound`.
|
|
4115
4548
|
*/
|
|
4116
|
-
|
|
4549
|
+
transcription_tracks?: string;
|
|
4550
|
+
}
|
|
4117
4551
|
|
|
4552
|
+
export interface ActionStopTranscriptionParams {
|
|
4118
4553
|
/**
|
|
4119
|
-
*
|
|
4120
|
-
*
|
|
4121
|
-
* audio file already being played on the call.
|
|
4554
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4555
|
+
* Base-64 encoded string.
|
|
4122
4556
|
*/
|
|
4123
|
-
|
|
4557
|
+
client_state?: string;
|
|
4124
4558
|
|
|
4125
4559
|
/**
|
|
4126
|
-
*
|
|
4127
|
-
*
|
|
4128
|
-
* `playback_ended` webhooks will be empty
|
|
4560
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
4561
|
+
* the same `command_id` for the same `call_control_id`.
|
|
4129
4562
|
*/
|
|
4130
|
-
|
|
4563
|
+
command_id?: string;
|
|
4564
|
+
}
|
|
4131
4565
|
|
|
4566
|
+
export interface ActionTransferParams {
|
|
4132
4567
|
/**
|
|
4133
|
-
*
|
|
4134
|
-
*
|
|
4135
|
-
*
|
|
4136
|
-
*
|
|
4568
|
+
* The DID or SIP URI to dial out to. For SIP URI destinations, append
|
|
4569
|
+
* `;secure=true` or `;secure=srtp` to enable SRTP media encryption for that
|
|
4570
|
+
* endpoint, or `;secure=dtls` to enable DTLS media encryption for that endpoint.
|
|
4571
|
+
* If `media_encryption` is set to `SRTP` or `DTLS`, it takes precedence over any
|
|
4572
|
+
* per-endpoint `secure` URI parameter. You may also append a comma followed by
|
|
4573
|
+
* DTMF digits (e.g. `+18004247767,200`) to play those digits as DTMF once the
|
|
4574
|
+
* transfer destination answers — equivalent to setting `send_digits_on_answer`
|
|
4575
|
+
* separately. If both are present, the explicit `send_digits_on_answer` parameter
|
|
4576
|
+
* takes precedence.
|
|
4137
4577
|
*/
|
|
4138
|
-
|
|
4578
|
+
to: string;
|
|
4139
4579
|
|
|
4140
4580
|
/**
|
|
4141
|
-
*
|
|
4142
|
-
*
|
|
4581
|
+
* Enables Answering Machine Detection. When a call is answered, Telnyx runs
|
|
4582
|
+
* real-time detection to determine if it was picked up by a human or a machine and
|
|
4583
|
+
* sends an `call.machine.detection.ended` webhook with the analysis result. If
|
|
4584
|
+
* 'greeting_end' or 'detect_words' is used and a 'machine' is detected, you will
|
|
4585
|
+
* receive another 'call.machine.greeting.ended' webhook when the answering machine
|
|
4586
|
+
* greeting ends with a beep or silence. If `detect_beep` is used, you will only
|
|
4587
|
+
* receive 'call.machine.greeting.ended' if a beep is detected.
|
|
4143
4588
|
*/
|
|
4144
|
-
|
|
4145
|
-
|
|
4589
|
+
answering_machine_detection?:
|
|
4590
|
+
| 'premium'
|
|
4591
|
+
| 'detect'
|
|
4592
|
+
| 'detect_beep'
|
|
4593
|
+
| 'detect_words'
|
|
4594
|
+
| 'greeting_end'
|
|
4595
|
+
| 'disabled';
|
|
4146
4596
|
|
|
4147
|
-
export interface ActionStartRecordingParams {
|
|
4148
4597
|
/**
|
|
4149
|
-
*
|
|
4150
|
-
*
|
|
4598
|
+
* Optional configuration parameters to modify 'answering_machine_detection'
|
|
4599
|
+
* performance. Only `total_analysis_time_millis` and `greeting_duration_millis`
|
|
4600
|
+
* parameters are applicable when `premium` is selected as
|
|
4601
|
+
* answering_machine_detection.
|
|
4151
4602
|
*/
|
|
4152
|
-
|
|
4603
|
+
answering_machine_detection_config?: ActionTransferParams.AnsweringMachineDetectionConfig;
|
|
4153
4604
|
|
|
4154
4605
|
/**
|
|
4155
|
-
* The
|
|
4156
|
-
* or
|
|
4606
|
+
* The URL of a file to be played back when the transfer destination answers before
|
|
4607
|
+
* bridging the call. The URL can point to either a WAV or MP3 file. media_name and
|
|
4608
|
+
* audio_url cannot be used together in one request.
|
|
4157
4609
|
*/
|
|
4158
|
-
|
|
4610
|
+
audio_url?: string;
|
|
4159
4611
|
|
|
4160
4612
|
/**
|
|
4161
4613
|
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
@@ -4170,1039 +4622,587 @@ export interface ActionStartRecordingParams {
|
|
|
4170
4622
|
command_id?: string;
|
|
4171
4623
|
|
|
4172
4624
|
/**
|
|
4173
|
-
*
|
|
4174
|
-
* Telnyx will still add a Unix timestamp suffix.
|
|
4625
|
+
* Custom headers to be added to the SIP INVITE.
|
|
4175
4626
|
*/
|
|
4176
|
-
|
|
4627
|
+
custom_headers?: Array<CallsAPI.CustomSipHeader>;
|
|
4177
4628
|
|
|
4178
4629
|
/**
|
|
4179
|
-
*
|
|
4180
|
-
* The maximum value is 14400. The default value is 0 (infinite)
|
|
4630
|
+
* If set to false, early media will not be passed to the originating leg.
|
|
4181
4631
|
*/
|
|
4182
|
-
|
|
4632
|
+
early_media?: boolean;
|
|
4183
4633
|
|
|
4184
4634
|
/**
|
|
4185
|
-
*
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
/**
|
|
4190
|
-
* The audio track to be recorded. Can be either `both`, `inbound` or `outbound`.
|
|
4191
|
-
* If only single track is specified (`inbound`, `outbound`), `channels`
|
|
4192
|
-
* configuration is ignored and it will be recorded as mono (single channel).
|
|
4193
|
-
*/
|
|
4194
|
-
recording_track?: 'both' | 'inbound' | 'outbound';
|
|
4195
|
-
|
|
4196
|
-
/**
|
|
4197
|
-
* The number of seconds that Telnyx will wait for the recording to be stopped if
|
|
4198
|
-
* silence is detected. The timer only starts when the speech is detected. Please
|
|
4199
|
-
* note that call transcription is used to detect silence and the related charge
|
|
4200
|
-
* will be applied. The minimum value is 0. The default value is 0 (infinite)
|
|
4201
|
-
*/
|
|
4202
|
-
timeout_secs?: number;
|
|
4203
|
-
|
|
4204
|
-
/**
|
|
4205
|
-
* Enable post recording transcription. The default value is false.
|
|
4206
|
-
*/
|
|
4207
|
-
transcription?: boolean;
|
|
4208
|
-
|
|
4209
|
-
/**
|
|
4210
|
-
* Engine to use for speech recognition. `A` - `Google`, `B` - `Telnyx`,
|
|
4211
|
-
* `deepgram/nova-3` - `Deepgram Nova-3`. Note: `deepgram/nova-3` supports only
|
|
4212
|
-
* `en` and `en-{Region}` languages.
|
|
4213
|
-
*/
|
|
4214
|
-
transcription_engine?: 'A' | 'B' | 'deepgram/nova-3';
|
|
4215
|
-
|
|
4216
|
-
/**
|
|
4217
|
-
* Language code for transcription. Note: Not all languages are supported by all
|
|
4218
|
-
* transcription engines (google, telnyx, deepgram). See engine-specific
|
|
4219
|
-
* documentation for supported values.
|
|
4220
|
-
*/
|
|
4221
|
-
transcription_language?:
|
|
4222
|
-
| 'af'
|
|
4223
|
-
| 'af-ZA'
|
|
4224
|
-
| 'am'
|
|
4225
|
-
| 'am-ET'
|
|
4226
|
-
| 'ar'
|
|
4227
|
-
| 'ar-AE'
|
|
4228
|
-
| 'ar-BH'
|
|
4229
|
-
| 'ar-DZ'
|
|
4230
|
-
| 'ar-EG'
|
|
4231
|
-
| 'ar-IL'
|
|
4232
|
-
| 'ar-IQ'
|
|
4233
|
-
| 'ar-JO'
|
|
4234
|
-
| 'ar-KW'
|
|
4235
|
-
| 'ar-LB'
|
|
4236
|
-
| 'ar-MA'
|
|
4237
|
-
| 'ar-MR'
|
|
4238
|
-
| 'ar-OM'
|
|
4239
|
-
| 'ar-PS'
|
|
4240
|
-
| 'ar-QA'
|
|
4241
|
-
| 'ar-SA'
|
|
4242
|
-
| 'ar-TN'
|
|
4243
|
-
| 'ar-YE'
|
|
4244
|
-
| 'as'
|
|
4245
|
-
| 'auto_detect'
|
|
4246
|
-
| 'az'
|
|
4247
|
-
| 'az-AZ'
|
|
4248
|
-
| 'ba'
|
|
4249
|
-
| 'be'
|
|
4250
|
-
| 'bg'
|
|
4251
|
-
| 'bg-BG'
|
|
4252
|
-
| 'bn'
|
|
4253
|
-
| 'bn-BD'
|
|
4254
|
-
| 'bn-IN'
|
|
4255
|
-
| 'bo'
|
|
4256
|
-
| 'br'
|
|
4257
|
-
| 'bs'
|
|
4258
|
-
| 'bs-BA'
|
|
4259
|
-
| 'ca'
|
|
4260
|
-
| 'ca-ES'
|
|
4261
|
-
| 'cs'
|
|
4262
|
-
| 'cs-CZ'
|
|
4263
|
-
| 'cy'
|
|
4264
|
-
| 'da'
|
|
4265
|
-
| 'da-DK'
|
|
4266
|
-
| 'de'
|
|
4267
|
-
| 'de-AT'
|
|
4268
|
-
| 'de-CH'
|
|
4269
|
-
| 'de-DE'
|
|
4270
|
-
| 'el'
|
|
4271
|
-
| 'el-GR'
|
|
4272
|
-
| 'en'
|
|
4273
|
-
| 'en-AU'
|
|
4274
|
-
| 'en-CA'
|
|
4275
|
-
| 'en-GB'
|
|
4276
|
-
| 'en-GH'
|
|
4277
|
-
| 'en-HK'
|
|
4278
|
-
| 'en-IE'
|
|
4279
|
-
| 'en-IN'
|
|
4280
|
-
| 'en-KE'
|
|
4281
|
-
| 'en-NG'
|
|
4282
|
-
| 'en-NZ'
|
|
4283
|
-
| 'en-PH'
|
|
4284
|
-
| 'en-PK'
|
|
4285
|
-
| 'en-SG'
|
|
4286
|
-
| 'en-TZ'
|
|
4287
|
-
| 'en-US'
|
|
4288
|
-
| 'en-ZA'
|
|
4289
|
-
| 'es'
|
|
4290
|
-
| 'es-419'
|
|
4291
|
-
| 'es-AR'
|
|
4292
|
-
| 'es-BO'
|
|
4293
|
-
| 'es-CL'
|
|
4294
|
-
| 'es-CO'
|
|
4295
|
-
| 'es-CR'
|
|
4296
|
-
| 'es-DO'
|
|
4297
|
-
| 'es-EC'
|
|
4298
|
-
| 'es-ES'
|
|
4299
|
-
| 'es-GT'
|
|
4300
|
-
| 'es-HN'
|
|
4301
|
-
| 'es-MX'
|
|
4302
|
-
| 'es-NI'
|
|
4303
|
-
| 'es-PA'
|
|
4304
|
-
| 'es-PE'
|
|
4305
|
-
| 'es-PR'
|
|
4306
|
-
| 'es-PY'
|
|
4307
|
-
| 'es-SV'
|
|
4308
|
-
| 'es-US'
|
|
4309
|
-
| 'es-UY'
|
|
4310
|
-
| 'es-VE'
|
|
4311
|
-
| 'et'
|
|
4312
|
-
| 'et-EE'
|
|
4313
|
-
| 'eu'
|
|
4314
|
-
| 'eu-ES'
|
|
4315
|
-
| 'fa'
|
|
4316
|
-
| 'fa-IR'
|
|
4317
|
-
| 'fi'
|
|
4318
|
-
| 'fi-FI'
|
|
4319
|
-
| 'fil-PH'
|
|
4320
|
-
| 'fo'
|
|
4321
|
-
| 'fr'
|
|
4322
|
-
| 'fr-BE'
|
|
4323
|
-
| 'fr-CA'
|
|
4324
|
-
| 'fr-CH'
|
|
4325
|
-
| 'fr-FR'
|
|
4326
|
-
| 'gl'
|
|
4327
|
-
| 'gl-ES'
|
|
4328
|
-
| 'gu'
|
|
4329
|
-
| 'gu-IN'
|
|
4330
|
-
| 'ha'
|
|
4331
|
-
| 'haw'
|
|
4332
|
-
| 'he'
|
|
4333
|
-
| 'hi'
|
|
4334
|
-
| 'hi-IN'
|
|
4335
|
-
| 'hr'
|
|
4336
|
-
| 'hr-HR'
|
|
4337
|
-
| 'ht'
|
|
4338
|
-
| 'hu'
|
|
4339
|
-
| 'hu-HU'
|
|
4340
|
-
| 'hy'
|
|
4341
|
-
| 'hy-AM'
|
|
4342
|
-
| 'id'
|
|
4343
|
-
| 'id-ID'
|
|
4344
|
-
| 'is'
|
|
4345
|
-
| 'is-IS'
|
|
4346
|
-
| 'it'
|
|
4347
|
-
| 'it-CH'
|
|
4348
|
-
| 'it-IT'
|
|
4349
|
-
| 'iw-IL'
|
|
4350
|
-
| 'ja'
|
|
4351
|
-
| 'ja-JP'
|
|
4352
|
-
| 'jv-ID'
|
|
4353
|
-
| 'jw'
|
|
4354
|
-
| 'ka'
|
|
4355
|
-
| 'ka-GE'
|
|
4356
|
-
| 'kk'
|
|
4357
|
-
| 'kk-KZ'
|
|
4358
|
-
| 'km'
|
|
4359
|
-
| 'km-KH'
|
|
4360
|
-
| 'kn'
|
|
4361
|
-
| 'kn-IN'
|
|
4362
|
-
| 'ko'
|
|
4363
|
-
| 'ko-KR'
|
|
4364
|
-
| 'la'
|
|
4365
|
-
| 'lb'
|
|
4366
|
-
| 'ln'
|
|
4367
|
-
| 'lo'
|
|
4368
|
-
| 'lo-LA'
|
|
4369
|
-
| 'lt'
|
|
4370
|
-
| 'lt-LT'
|
|
4371
|
-
| 'lv'
|
|
4372
|
-
| 'lv-LV'
|
|
4373
|
-
| 'mg'
|
|
4374
|
-
| 'mi'
|
|
4375
|
-
| 'mk'
|
|
4376
|
-
| 'mk-MK'
|
|
4377
|
-
| 'ml'
|
|
4378
|
-
| 'ml-IN'
|
|
4379
|
-
| 'mn'
|
|
4380
|
-
| 'mn-MN'
|
|
4381
|
-
| 'mr'
|
|
4382
|
-
| 'mr-IN'
|
|
4383
|
-
| 'ms'
|
|
4384
|
-
| 'ms-MY'
|
|
4385
|
-
| 'mt'
|
|
4386
|
-
| 'my'
|
|
4387
|
-
| 'my-MM'
|
|
4388
|
-
| 'ne'
|
|
4389
|
-
| 'ne-NP'
|
|
4390
|
-
| 'nl'
|
|
4391
|
-
| 'nl-BE'
|
|
4392
|
-
| 'nl-NL'
|
|
4393
|
-
| 'nn'
|
|
4394
|
-
| 'no'
|
|
4395
|
-
| 'no-NO'
|
|
4396
|
-
| 'oc'
|
|
4397
|
-
| 'pa'
|
|
4398
|
-
| 'pa-Guru-IN'
|
|
4399
|
-
| 'pl'
|
|
4400
|
-
| 'pl-PL'
|
|
4401
|
-
| 'ps'
|
|
4402
|
-
| 'pt'
|
|
4403
|
-
| 'pt-BR'
|
|
4404
|
-
| 'pt-PT'
|
|
4405
|
-
| 'ro'
|
|
4406
|
-
| 'ro-RO'
|
|
4407
|
-
| 'ru'
|
|
4408
|
-
| 'ru-RU'
|
|
4409
|
-
| 'rw-RW'
|
|
4410
|
-
| 'sa'
|
|
4411
|
-
| 'sd'
|
|
4412
|
-
| 'si'
|
|
4413
|
-
| 'si-LK'
|
|
4414
|
-
| 'sk'
|
|
4415
|
-
| 'sk-SK'
|
|
4416
|
-
| 'sl'
|
|
4417
|
-
| 'sl-SI'
|
|
4418
|
-
| 'sn'
|
|
4419
|
-
| 'so'
|
|
4420
|
-
| 'sq'
|
|
4421
|
-
| 'sq-AL'
|
|
4422
|
-
| 'sr'
|
|
4423
|
-
| 'sr-RS'
|
|
4424
|
-
| 'ss-latn-za'
|
|
4425
|
-
| 'st-ZA'
|
|
4426
|
-
| 'su'
|
|
4427
|
-
| 'su-ID'
|
|
4428
|
-
| 'sv'
|
|
4429
|
-
| 'sv-SE'
|
|
4430
|
-
| 'sw'
|
|
4431
|
-
| 'sw-KE'
|
|
4432
|
-
| 'sw-TZ'
|
|
4433
|
-
| 'ta'
|
|
4434
|
-
| 'ta-IN'
|
|
4435
|
-
| 'ta-LK'
|
|
4436
|
-
| 'ta-MY'
|
|
4437
|
-
| 'ta-SG'
|
|
4438
|
-
| 'te'
|
|
4439
|
-
| 'te-IN'
|
|
4440
|
-
| 'tg'
|
|
4441
|
-
| 'th'
|
|
4442
|
-
| 'th-TH'
|
|
4443
|
-
| 'tk'
|
|
4444
|
-
| 'tl'
|
|
4445
|
-
| 'tn-latn-za'
|
|
4446
|
-
| 'tr'
|
|
4447
|
-
| 'tr-TR'
|
|
4448
|
-
| 'ts-ZA'
|
|
4449
|
-
| 'tt'
|
|
4450
|
-
| 'uk'
|
|
4451
|
-
| 'uk-UA'
|
|
4452
|
-
| 'ur'
|
|
4453
|
-
| 'ur-IN'
|
|
4454
|
-
| 'ur-PK'
|
|
4455
|
-
| 'uz'
|
|
4456
|
-
| 'uz-UZ'
|
|
4457
|
-
| 've-ZA'
|
|
4458
|
-
| 'vi'
|
|
4459
|
-
| 'vi-VN'
|
|
4460
|
-
| 'xh-ZA'
|
|
4461
|
-
| 'yi'
|
|
4462
|
-
| 'yo'
|
|
4463
|
-
| 'yue-Hant-HK'
|
|
4464
|
-
| 'zh'
|
|
4465
|
-
| 'zh-TW'
|
|
4466
|
-
| 'zu-ZA';
|
|
4467
|
-
|
|
4468
|
-
/**
|
|
4469
|
-
* Defines maximum number of speakers in the conversation. Applies to `google`
|
|
4470
|
-
* engine only.
|
|
4471
|
-
*/
|
|
4472
|
-
transcription_max_speaker_count?: number;
|
|
4473
|
-
|
|
4474
|
-
/**
|
|
4475
|
-
* Defines minimum number of speakers in the conversation. Applies to `google`
|
|
4476
|
-
* engine only.
|
|
4477
|
-
*/
|
|
4478
|
-
transcription_min_speaker_count?: number;
|
|
4479
|
-
|
|
4480
|
-
/**
|
|
4481
|
-
* Enables profanity_filter. Applies to `google` engine only.
|
|
4482
|
-
*/
|
|
4483
|
-
transcription_profanity_filter?: boolean;
|
|
4484
|
-
|
|
4485
|
-
/**
|
|
4486
|
-
* Enables speaker diarization. Applies to `google` engine only.
|
|
4487
|
-
*/
|
|
4488
|
-
transcription_speaker_diarization?: boolean;
|
|
4489
|
-
|
|
4490
|
-
/**
|
|
4491
|
-
* When set to `trim-silence`, silence will be removed from the beginning and end
|
|
4492
|
-
* of the recording.
|
|
4493
|
-
*/
|
|
4494
|
-
trim?: 'trim-silence';
|
|
4495
|
-
}
|
|
4496
|
-
|
|
4497
|
-
export interface ActionStartSiprecParams {
|
|
4498
|
-
/**
|
|
4499
|
-
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4500
|
-
* Base-64 encoded string.
|
|
4501
|
-
*/
|
|
4502
|
-
client_state?: string;
|
|
4503
|
-
|
|
4504
|
-
/**
|
|
4505
|
-
* Name of configured SIPREC connector to be used.
|
|
4506
|
-
*/
|
|
4507
|
-
connector_name?: string;
|
|
4508
|
-
|
|
4509
|
-
/**
|
|
4510
|
-
* When set, custom parameters will be added as metadata
|
|
4511
|
-
* (recording.session.ExtensionParameters). Otherwise, they’ll be added to sip
|
|
4512
|
-
* headers.
|
|
4513
|
-
*/
|
|
4514
|
-
include_metadata_custom_headers?: true | false;
|
|
4515
|
-
|
|
4516
|
-
/**
|
|
4517
|
-
* Controls whether to encrypt media sent to your SRS using SRTP and TLS. When set
|
|
4518
|
-
* you need to configure SRS port in your connector to 5061.
|
|
4519
|
-
*/
|
|
4520
|
-
secure?: true | false;
|
|
4521
|
-
|
|
4522
|
-
/**
|
|
4523
|
-
* Sets `Session-Expires` header to the INVITE. A reinvite is sent every half the
|
|
4524
|
-
* value set. Usefull for session keep alive. Minimum value is 90, set to 0 to
|
|
4525
|
-
* disable.
|
|
4526
|
-
*/
|
|
4527
|
-
session_timeout_secs?: number;
|
|
4528
|
-
|
|
4529
|
-
/**
|
|
4530
|
-
* Specifies SIP transport protocol.
|
|
4531
|
-
*/
|
|
4532
|
-
sip_transport?: 'udp' | 'tcp' | 'tls';
|
|
4533
|
-
|
|
4534
|
-
/**
|
|
4535
|
-
* Specifies which track should be sent on siprec session.
|
|
4536
|
-
*/
|
|
4537
|
-
siprec_track?: 'inbound_track' | 'outbound_track' | 'both_tracks';
|
|
4538
|
-
}
|
|
4539
|
-
|
|
4540
|
-
export interface ActionStartStreamingParams {
|
|
4541
|
-
/**
|
|
4542
|
-
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4543
|
-
* Base-64 encoded string.
|
|
4544
|
-
*/
|
|
4545
|
-
client_state?: string;
|
|
4546
|
-
|
|
4547
|
-
/**
|
|
4548
|
-
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
4549
|
-
* the same `command_id` for the same `call_control_id`.
|
|
4550
|
-
*/
|
|
4551
|
-
command_id?: string;
|
|
4552
|
-
|
|
4553
|
-
/**
|
|
4554
|
-
* Custom parameters to be sent as part of the WebSocket connection.
|
|
4555
|
-
*/
|
|
4556
|
-
custom_parameters?: Array<ActionStartStreamingParams.CustomParameter>;
|
|
4557
|
-
|
|
4558
|
-
dialogflow_config?: CallsAPI.DialogflowConfig;
|
|
4559
|
-
|
|
4560
|
-
/**
|
|
4561
|
-
* Enables Dialogflow for the current call. The default value is false.
|
|
4562
|
-
*/
|
|
4563
|
-
enable_dialogflow?: boolean;
|
|
4564
|
-
|
|
4565
|
-
/**
|
|
4566
|
-
* An authentication token to be sent as part of the WebSocket connection. Maximum
|
|
4567
|
-
* length is 4000 characters.
|
|
4568
|
-
*/
|
|
4569
|
-
stream_auth_token?: string;
|
|
4570
|
-
|
|
4571
|
-
/**
|
|
4572
|
-
* Indicates codec for bidirectional streaming RTP payloads. Used only with
|
|
4573
|
-
* stream_bidirectional_mode=rtp. Case sensitive.
|
|
4574
|
-
*/
|
|
4575
|
-
stream_bidirectional_codec?: CallsAPI.StreamBidirectionalCodec;
|
|
4576
|
-
|
|
4577
|
-
/**
|
|
4578
|
-
* Configures method of bidirectional streaming (mp3, rtp).
|
|
4579
|
-
*/
|
|
4580
|
-
stream_bidirectional_mode?: CallsAPI.StreamBidirectionalMode;
|
|
4581
|
-
|
|
4582
|
-
/**
|
|
4583
|
-
* Audio sampling rate.
|
|
4584
|
-
*/
|
|
4585
|
-
stream_bidirectional_sampling_rate?: CallsAPI.StreamBidirectionalSamplingRate;
|
|
4586
|
-
|
|
4587
|
-
/**
|
|
4588
|
-
* Specifies which call legs should receive the bidirectional stream audio.
|
|
4589
|
-
*/
|
|
4590
|
-
stream_bidirectional_target_legs?: CallsAPI.StreamBidirectionalTargetLegs;
|
|
4591
|
-
|
|
4592
|
-
/**
|
|
4593
|
-
* Specifies the codec to be used for the streamed audio. When set to 'default' or
|
|
4594
|
-
* when transcoding is not possible, the codec from the call will be used.
|
|
4595
|
-
*/
|
|
4596
|
-
stream_codec?: CallsAPI.StreamCodec;
|
|
4597
|
-
|
|
4598
|
-
/**
|
|
4599
|
-
* Specifies which track should be streamed.
|
|
4600
|
-
*/
|
|
4601
|
-
stream_track?: 'inbound_track' | 'outbound_track' | 'both_tracks';
|
|
4602
|
-
|
|
4603
|
-
/**
|
|
4604
|
-
* The destination WebSocket address where the stream is going to be delivered.
|
|
4605
|
-
*/
|
|
4606
|
-
stream_url?: string;
|
|
4607
|
-
}
|
|
4608
|
-
|
|
4609
|
-
export namespace ActionStartStreamingParams {
|
|
4610
|
-
export interface CustomParameter {
|
|
4611
|
-
/**
|
|
4612
|
-
* The name of the custom parameter.
|
|
4613
|
-
*/
|
|
4614
|
-
name?: string;
|
|
4615
|
-
|
|
4616
|
-
/**
|
|
4617
|
-
* The value of the custom parameter.
|
|
4618
|
-
*/
|
|
4619
|
-
value?: string;
|
|
4620
|
-
}
|
|
4621
|
-
}
|
|
4622
|
-
|
|
4623
|
-
export interface ActionStartTranscriptionParams {
|
|
4624
|
-
/**
|
|
4625
|
-
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4626
|
-
* Base-64 encoded string.
|
|
4627
|
-
*/
|
|
4628
|
-
client_state?: string;
|
|
4629
|
-
|
|
4630
|
-
/**
|
|
4631
|
-
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
4632
|
-
* the same `command_id` for the same `call_control_id`.
|
|
4633
|
-
*/
|
|
4634
|
-
command_id?: string;
|
|
4635
|
-
|
|
4636
|
-
/**
|
|
4637
|
-
* Engine to use for speech recognition. Legacy values `A` - `Google`, `B` -
|
|
4638
|
-
* `Telnyx` are supported for backward compatibility.
|
|
4639
|
-
*/
|
|
4640
|
-
transcription_engine?:
|
|
4641
|
-
| 'Google'
|
|
4642
|
-
| 'Telnyx'
|
|
4643
|
-
| 'Deepgram'
|
|
4644
|
-
| 'Azure'
|
|
4645
|
-
| 'xAI'
|
|
4646
|
-
| 'AssemblyAI'
|
|
4647
|
-
| 'Speechmatics'
|
|
4648
|
-
| 'Soniox'
|
|
4649
|
-
| 'Parakeet'
|
|
4650
|
-
| 'A'
|
|
4651
|
-
| 'B';
|
|
4652
|
-
|
|
4653
|
-
transcription_engine_config?:
|
|
4654
|
-
| TranscriptionEngineGoogleConfig
|
|
4655
|
-
| TranscriptionEngineTelnyxConfig
|
|
4656
|
-
| TranscriptionEngineAzureConfig
|
|
4657
|
-
| TranscriptionEngineXaiConfig
|
|
4658
|
-
| TranscriptionEngineAssemblyaiConfig
|
|
4659
|
-
| TranscriptionEngineSpeechmaticsConfig
|
|
4660
|
-
| TranscriptionEngineSonioxConfig
|
|
4661
|
-
| TranscriptionEngineParakeetConfig
|
|
4662
|
-
| TranscriptionEngineAConfig
|
|
4663
|
-
| TranscriptionEngineBConfig
|
|
4664
|
-
| DeepgramNova2Config
|
|
4665
|
-
| DeepgramNova3Config;
|
|
4666
|
-
|
|
4667
|
-
/**
|
|
4668
|
-
* Indicates which leg of the call will be transcribed. Use `inbound` for the leg
|
|
4669
|
-
* that requested the transcription, `outbound` for the other leg, and `both` for
|
|
4670
|
-
* both legs of the call. Will default to `inbound`.
|
|
4671
|
-
*/
|
|
4672
|
-
transcription_tracks?: string;
|
|
4673
|
-
}
|
|
4674
|
-
|
|
4675
|
-
export interface ActionStopAIAssistantParams {
|
|
4676
|
-
/**
|
|
4677
|
-
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4678
|
-
* Base-64 encoded string.
|
|
4679
|
-
*/
|
|
4680
|
-
client_state?: string;
|
|
4681
|
-
|
|
4682
|
-
/**
|
|
4683
|
-
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
4684
|
-
* the same `command_id` for the same `call_control_id`.
|
|
4685
|
-
*/
|
|
4686
|
-
command_id?: string;
|
|
4687
|
-
}
|
|
4688
|
-
|
|
4689
|
-
export interface ActionStopConversationRelayParams {
|
|
4690
|
-
/**
|
|
4691
|
-
* Use this field to add state to subsequent webhooks. It must be a valid Base-64
|
|
4692
|
-
* encoded string.
|
|
4693
|
-
*/
|
|
4694
|
-
client_state?: string;
|
|
4695
|
-
|
|
4696
|
-
/**
|
|
4697
|
-
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
4698
|
-
* the same `command_id` for the same `call_control_id`.
|
|
4699
|
-
*/
|
|
4700
|
-
command_id?: string;
|
|
4701
|
-
}
|
|
4702
|
-
|
|
4703
|
-
export interface ActionStopForkingParams {
|
|
4704
|
-
/**
|
|
4705
|
-
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4706
|
-
* Base-64 encoded string.
|
|
4707
|
-
*/
|
|
4708
|
-
client_state?: string;
|
|
4709
|
-
|
|
4710
|
-
/**
|
|
4711
|
-
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
4712
|
-
* the same `command_id` for the same `call_control_id`.
|
|
4635
|
+
* The `from` number to be used as the caller id presented to the destination (`to`
|
|
4636
|
+
* number). The number should be in +E164 format. This attribute will default to
|
|
4637
|
+
* the `to` number of the original call if omitted.
|
|
4713
4638
|
*/
|
|
4714
|
-
|
|
4639
|
+
from?: string;
|
|
4715
4640
|
|
|
4716
4641
|
/**
|
|
4717
|
-
*
|
|
4718
|
-
*
|
|
4642
|
+
* The `from_display_name` string to be used as the caller id name (SIP From
|
|
4643
|
+
* Display Name) presented to the destination (`to` number). The string should have
|
|
4644
|
+
* a maximum of 128 characters, containing only letters, numbers, spaces, and
|
|
4645
|
+
* -\_~!.+ special characters. If ommited, the display name will be the same as the
|
|
4646
|
+
* number in the `from` field.
|
|
4719
4647
|
*/
|
|
4720
|
-
|
|
4721
|
-
}
|
|
4648
|
+
from_display_name?: string;
|
|
4722
4649
|
|
|
4723
|
-
export interface ActionStopGatherParams {
|
|
4724
4650
|
/**
|
|
4725
|
-
*
|
|
4726
|
-
*
|
|
4651
|
+
* Defines whether media should be encrypted on the new call leg. For SIP URI
|
|
4652
|
+
* destinations, media encryption can also be requested per endpoint with the
|
|
4653
|
+
* `secure` URI parameter: `;secure=true` or `;secure=srtp` enables SRTP, and
|
|
4654
|
+
* `;secure=dtls` enables DTLS. This parameter, when set to `SRTP` or `DTLS`, takes
|
|
4655
|
+
* precedence over the per-endpoint `secure` value.
|
|
4727
4656
|
*/
|
|
4728
|
-
|
|
4657
|
+
media_encryption?: 'disabled' | 'SRTP' | 'DTLS';
|
|
4729
4658
|
|
|
4730
4659
|
/**
|
|
4731
|
-
*
|
|
4732
|
-
* the
|
|
4660
|
+
* The media_name of a file to be played back when the transfer destination answers
|
|
4661
|
+
* before bridging the call. The media_name must point to a file previously
|
|
4662
|
+
* uploaded to api.telnyx.com/v2/media by the same user/organization. The file must
|
|
4663
|
+
* either be a WAV or MP3 file.
|
|
4733
4664
|
*/
|
|
4734
|
-
|
|
4735
|
-
}
|
|
4665
|
+
media_name?: string;
|
|
4736
4666
|
|
|
4737
|
-
export interface ActionStopNoiseSuppressionParams {
|
|
4738
4667
|
/**
|
|
4739
|
-
*
|
|
4740
|
-
*
|
|
4668
|
+
* When enabled, DTMF tones are not passed to the call participant. The webhooks
|
|
4669
|
+
* containing the DTMF information will be sent.
|
|
4741
4670
|
*/
|
|
4742
|
-
|
|
4671
|
+
mute_dtmf?: 'none' | 'both' | 'self' | 'opposite';
|
|
4743
4672
|
|
|
4744
4673
|
/**
|
|
4745
|
-
*
|
|
4746
|
-
* the
|
|
4674
|
+
* Specifies behavior after the bridge ends (i.e. the opposite leg either hangs up
|
|
4675
|
+
* or is transferred). If supplied with the value `self`, the current leg will be
|
|
4676
|
+
* parked after unbridge. If not set, the default behavior is to hang up the leg.
|
|
4747
4677
|
*/
|
|
4748
|
-
|
|
4749
|
-
}
|
|
4678
|
+
park_after_unbridge?: string;
|
|
4750
4679
|
|
|
4751
|
-
export interface ActionStopPlaybackParams {
|
|
4752
4680
|
/**
|
|
4753
|
-
*
|
|
4754
|
-
*
|
|
4681
|
+
* The list of comma-separated codecs in order of preference to be used during the
|
|
4682
|
+
* call. The codecs supported are `G722`, `PCMU`, `PCMA`, `G729`, `OPUS`, `VP8`,
|
|
4683
|
+
* `H264`, `AMR-WB`.
|
|
4755
4684
|
*/
|
|
4756
|
-
|
|
4685
|
+
preferred_codecs?: string;
|
|
4757
4686
|
|
|
4758
4687
|
/**
|
|
4759
|
-
*
|
|
4760
|
-
*
|
|
4688
|
+
* Indicates the privacy level to be used for the call. When set to `id`, caller ID
|
|
4689
|
+
* information (name and number) will be hidden from the called party. When set to
|
|
4690
|
+
* `none` or omitted, caller ID will be shown normally.
|
|
4761
4691
|
*/
|
|
4762
|
-
|
|
4692
|
+
privacy?: 'id' | 'none';
|
|
4763
4693
|
|
|
4764
4694
|
/**
|
|
4765
|
-
*
|
|
4695
|
+
* Start recording automatically after an event. Disabled by default.
|
|
4766
4696
|
*/
|
|
4767
|
-
|
|
4697
|
+
record?: 'record-from-answer';
|
|
4768
4698
|
|
|
4769
4699
|
/**
|
|
4770
|
-
*
|
|
4771
|
-
*
|
|
4700
|
+
* Defines which channel should be recorded ('single' or 'dual') when `record` is
|
|
4701
|
+
* specified.
|
|
4772
4702
|
*/
|
|
4773
|
-
|
|
4774
|
-
}
|
|
4703
|
+
record_channels?: 'single' | 'dual';
|
|
4775
4704
|
|
|
4776
|
-
export interface ActionStopRecordingParams {
|
|
4777
4705
|
/**
|
|
4778
|
-
*
|
|
4779
|
-
*
|
|
4706
|
+
* The custom recording file name to be used instead of the default `call_leg_id`.
|
|
4707
|
+
* Telnyx will still add a Unix timestamp suffix.
|
|
4780
4708
|
*/
|
|
4781
|
-
|
|
4709
|
+
record_custom_file_name?: string;
|
|
4782
4710
|
|
|
4783
4711
|
/**
|
|
4784
|
-
*
|
|
4785
|
-
* the same `command_id` for the same `call_control_id`.
|
|
4712
|
+
* Defines the format of the recording ('wav' or 'mp3') when `record` is specified.
|
|
4786
4713
|
*/
|
|
4787
|
-
|
|
4714
|
+
record_format?: 'wav' | 'mp3';
|
|
4788
4715
|
|
|
4789
4716
|
/**
|
|
4790
|
-
*
|
|
4717
|
+
* Defines the maximum length for the recording in seconds when `record` is
|
|
4718
|
+
* specified. The minimum value is 0. The maximum value is 43200. The default value
|
|
4719
|
+
* is 0 (infinite).
|
|
4791
4720
|
*/
|
|
4792
|
-
|
|
4793
|
-
}
|
|
4721
|
+
record_max_length?: number;
|
|
4794
4722
|
|
|
4795
|
-
export interface ActionStopSiprecParams {
|
|
4796
4723
|
/**
|
|
4797
|
-
*
|
|
4798
|
-
*
|
|
4724
|
+
* The number of seconds that Telnyx will wait for the recording to be stopped if
|
|
4725
|
+
* silence is detected when `record` is specified. The timer only starts when the
|
|
4726
|
+
* speech is detected. Please note that call transcription is used to detect
|
|
4727
|
+
* silence and the related charge will be applied. The minimum value is 0. The
|
|
4728
|
+
* default value is 0 (infinite).
|
|
4799
4729
|
*/
|
|
4800
|
-
|
|
4730
|
+
record_timeout_secs?: number;
|
|
4801
4731
|
|
|
4802
4732
|
/**
|
|
4803
|
-
*
|
|
4804
|
-
*
|
|
4733
|
+
* The audio track to be recorded. Can be either `both`, `inbound` or `outbound`.
|
|
4734
|
+
* If only single track is specified (`inbound`, `outbound`), `channels`
|
|
4735
|
+
* configuration is ignored and it will be recorded as mono (single channel).
|
|
4805
4736
|
*/
|
|
4806
|
-
|
|
4807
|
-
}
|
|
4737
|
+
record_track?: 'both' | 'inbound' | 'outbound';
|
|
4808
4738
|
|
|
4809
|
-
export interface ActionStopStreamingParams {
|
|
4810
4739
|
/**
|
|
4811
|
-
*
|
|
4812
|
-
*
|
|
4740
|
+
* When set to `trim-silence`, silence will be removed from the beginning and end
|
|
4741
|
+
* of the recording.
|
|
4813
4742
|
*/
|
|
4814
|
-
|
|
4743
|
+
record_trim?: 'trim-silence';
|
|
4815
4744
|
|
|
4816
4745
|
/**
|
|
4817
|
-
*
|
|
4818
|
-
*
|
|
4746
|
+
* DTMF digits to send automatically after the transfer destination answers. Useful
|
|
4747
|
+
* for reaching an extension behind an IVR (e.g. `"200"` to dial extension 200 once
|
|
4748
|
+
* the called party picks up). Allowed characters: `0-9`, `A-D`, `w` (0.5s pause),
|
|
4749
|
+
* `W` (1s pause), `*`, `#`. Maximum 64 characters. When omitted, no automatic DTMF
|
|
4750
|
+
* is sent. May also be supplied inline by appending `,<digits>` to `to` (e.g.
|
|
4751
|
+
* `to=+18004247767,200`); if both forms are present, this explicit field takes
|
|
4752
|
+
* precedence.
|
|
4819
4753
|
*/
|
|
4820
|
-
|
|
4754
|
+
send_digits_on_answer?: string;
|
|
4821
4755
|
|
|
4822
4756
|
/**
|
|
4823
|
-
*
|
|
4824
|
-
* streams associated with a given `call_control_id`.
|
|
4757
|
+
* SIP Authentication password used for SIP challenges.
|
|
4825
4758
|
*/
|
|
4826
|
-
|
|
4827
|
-
}
|
|
4759
|
+
sip_auth_password?: string;
|
|
4828
4760
|
|
|
4829
|
-
export interface ActionStopTranscriptionParams {
|
|
4830
4761
|
/**
|
|
4831
|
-
*
|
|
4832
|
-
* Base-64 encoded string.
|
|
4762
|
+
* SIP Authentication username used for SIP challenges.
|
|
4833
4763
|
*/
|
|
4834
|
-
|
|
4764
|
+
sip_auth_username?: string;
|
|
4835
4765
|
|
|
4836
4766
|
/**
|
|
4837
|
-
*
|
|
4838
|
-
*
|
|
4767
|
+
* SIP headers to be added to the SIP INVITE. Currently only User-to-User header is
|
|
4768
|
+
* supported.
|
|
4839
4769
|
*/
|
|
4840
|
-
|
|
4841
|
-
}
|
|
4770
|
+
sip_headers?: Array<CallsAPI.SipHeader>;
|
|
4842
4771
|
|
|
4843
|
-
export interface ActionSwitchSupervisorRoleParams {
|
|
4844
4772
|
/**
|
|
4845
|
-
*
|
|
4846
|
-
* 'whisper' allows speaking to caller only, 'monitor' allows listening only.
|
|
4773
|
+
* Defines the SIP region to be used for the call.
|
|
4847
4774
|
*/
|
|
4848
|
-
|
|
4849
|
-
}
|
|
4775
|
+
sip_region?: 'US' | 'Europe' | 'Canada' | 'Australia' | 'Middle East';
|
|
4850
4776
|
|
|
4851
|
-
export interface ActionTransferParams {
|
|
4852
4777
|
/**
|
|
4853
|
-
*
|
|
4854
|
-
* `;secure=true` or `;secure=srtp` to enable SRTP media encryption for that
|
|
4855
|
-
* endpoint, or `;secure=dtls` to enable DTLS media encryption for that endpoint.
|
|
4856
|
-
* If `media_encryption` is set to `SRTP` or `DTLS`, it takes precedence over any
|
|
4857
|
-
* per-endpoint `secure` URI parameter. You may also append a comma followed by
|
|
4858
|
-
* DTMF digits (e.g. `+18004247767,200`) to play those digits as DTMF once the
|
|
4859
|
-
* transfer destination answers — equivalent to setting `send_digits_on_answer`
|
|
4860
|
-
* separately. If both are present, the explicit `send_digits_on_answer` parameter
|
|
4861
|
-
* takes precedence.
|
|
4778
|
+
* Defines SIP transport protocol to be used on the call.
|
|
4862
4779
|
*/
|
|
4863
|
-
|
|
4780
|
+
sip_transport_protocol?: 'UDP' | 'TCP' | 'TLS';
|
|
4864
4781
|
|
|
4865
4782
|
/**
|
|
4866
|
-
*
|
|
4867
|
-
* real-time detection to determine if it was picked up by a human or a machine and
|
|
4868
|
-
* sends an `call.machine.detection.ended` webhook with the analysis result. If
|
|
4869
|
-
* 'greeting_end' or 'detect_words' is used and a 'machine' is detected, you will
|
|
4870
|
-
* receive another 'call.machine.greeting.ended' webhook when the answering machine
|
|
4871
|
-
* greeting ends with a beep or silence. If `detect_beep` is used, you will only
|
|
4872
|
-
* receive 'call.machine.greeting.ended' if a beep is detected.
|
|
4783
|
+
* Use this field to modify sound effects, for example adjust the pitch.
|
|
4873
4784
|
*/
|
|
4874
|
-
|
|
4875
|
-
| 'premium'
|
|
4876
|
-
| 'detect'
|
|
4877
|
-
| 'detect_beep'
|
|
4878
|
-
| 'detect_words'
|
|
4879
|
-
| 'greeting_end'
|
|
4880
|
-
| 'disabled';
|
|
4785
|
+
sound_modifications?: CallsAPI.SoundModifications;
|
|
4881
4786
|
|
|
4882
4787
|
/**
|
|
4883
|
-
*
|
|
4884
|
-
*
|
|
4885
|
-
* parameters are applicable when `premium` is selected as
|
|
4886
|
-
* answering_machine_detection.
|
|
4788
|
+
* Use this field to add state to every subsequent webhook for the new leg. It must
|
|
4789
|
+
* be a valid Base-64 encoded string.
|
|
4887
4790
|
*/
|
|
4888
|
-
|
|
4791
|
+
target_leg_client_state?: string;
|
|
4889
4792
|
|
|
4890
4793
|
/**
|
|
4891
|
-
*
|
|
4892
|
-
*
|
|
4893
|
-
*
|
|
4794
|
+
* Sets the maximum duration of a Call Control Leg in seconds. If the time limit is
|
|
4795
|
+
* reached, the call will hangup and a `call.hangup` webhook with a `hangup_cause`
|
|
4796
|
+
* of `time_limit` will be sent. For example, by setting a time limit of 120
|
|
4797
|
+
* seconds, a Call Leg will be automatically terminated two minutes after being
|
|
4798
|
+
* answered. The default time limit is 14400 seconds or 4 hours and this is also
|
|
4799
|
+
* the maximum allowed call length.
|
|
4894
4800
|
*/
|
|
4895
|
-
|
|
4801
|
+
time_limit_secs?: number;
|
|
4896
4802
|
|
|
4897
4803
|
/**
|
|
4898
|
-
*
|
|
4899
|
-
*
|
|
4804
|
+
* The number of seconds that Telnyx will wait for the call to be answered by the
|
|
4805
|
+
* destination to which it is being transferred. If the timeout is reached before
|
|
4806
|
+
* an answer is received, the call will hangup and a `call.hangup` webhook with a
|
|
4807
|
+
* `hangup_cause` of `timeout` will be sent. Minimum value is 5 seconds. Maximum
|
|
4808
|
+
* value is 600 seconds.
|
|
4900
4809
|
*/
|
|
4901
|
-
|
|
4810
|
+
timeout_secs?: number;
|
|
4902
4811
|
|
|
4903
4812
|
/**
|
|
4904
|
-
*
|
|
4905
|
-
*
|
|
4813
|
+
* A map of event types to retry policies. Each retry policy contains an array of
|
|
4814
|
+
* `retries_ms` specifying the delays between retry attempts in milliseconds.
|
|
4815
|
+
* Maximum 5 retries, total delay cannot exceed 60 seconds.
|
|
4906
4816
|
*/
|
|
4907
|
-
|
|
4817
|
+
webhook_retries_policies?: { [key: string]: ActionTransferParams.WebhookRetriesPolicies };
|
|
4908
4818
|
|
|
4909
4819
|
/**
|
|
4910
|
-
*
|
|
4820
|
+
* Use this field to override the URL for which Telnyx will send subsequent
|
|
4821
|
+
* webhooks to for this call.
|
|
4911
4822
|
*/
|
|
4912
|
-
|
|
4823
|
+
webhook_url?: string;
|
|
4913
4824
|
|
|
4914
4825
|
/**
|
|
4915
|
-
*
|
|
4826
|
+
* HTTP request type used for `webhook_url`.
|
|
4916
4827
|
*/
|
|
4917
|
-
|
|
4828
|
+
webhook_url_method?: 'POST' | 'GET';
|
|
4918
4829
|
|
|
4919
4830
|
/**
|
|
4920
|
-
*
|
|
4921
|
-
*
|
|
4922
|
-
*
|
|
4831
|
+
* A map of event types to webhook URLs. When an event of the specified type
|
|
4832
|
+
* occurs, the webhook URL associated with that event type will be called instead
|
|
4833
|
+
* of `webhook_url`. Events not mapped here will use the default `webhook_url`.
|
|
4923
4834
|
*/
|
|
4924
|
-
|
|
4835
|
+
webhook_urls?: { [key: string]: string };
|
|
4925
4836
|
|
|
4926
4837
|
/**
|
|
4927
|
-
*
|
|
4928
|
-
* Display Name) presented to the destination (`to` number). The string should have
|
|
4929
|
-
* a maximum of 128 characters, containing only letters, numbers, spaces, and
|
|
4930
|
-
* -\_~!.+ special characters. If ommited, the display name will be the same as the
|
|
4931
|
-
* number in the `from` field.
|
|
4838
|
+
* HTTP request method to invoke `webhook_urls`.
|
|
4932
4839
|
*/
|
|
4933
|
-
|
|
4840
|
+
webhook_urls_method?: 'POST' | 'GET';
|
|
4841
|
+
}
|
|
4934
4842
|
|
|
4843
|
+
export namespace ActionTransferParams {
|
|
4935
4844
|
/**
|
|
4936
|
-
*
|
|
4937
|
-
*
|
|
4938
|
-
*
|
|
4939
|
-
*
|
|
4940
|
-
* precedence over the per-endpoint `secure` value.
|
|
4845
|
+
* Optional configuration parameters to modify 'answering_machine_detection'
|
|
4846
|
+
* performance. Only `total_analysis_time_millis` and `greeting_duration_millis`
|
|
4847
|
+
* parameters are applicable when `premium` is selected as
|
|
4848
|
+
* answering_machine_detection.
|
|
4941
4849
|
*/
|
|
4942
|
-
|
|
4850
|
+
export interface AnsweringMachineDetectionConfig {
|
|
4851
|
+
/**
|
|
4852
|
+
* Silence duration threshold after a greeting message or voice for it be
|
|
4853
|
+
* considered human.
|
|
4854
|
+
*/
|
|
4855
|
+
after_greeting_silence_millis?: number;
|
|
4856
|
+
|
|
4857
|
+
/**
|
|
4858
|
+
* Maximum threshold for silence between words.
|
|
4859
|
+
*/
|
|
4860
|
+
between_words_silence_millis?: number;
|
|
4861
|
+
|
|
4862
|
+
/**
|
|
4863
|
+
* Maximum threshold of a human greeting. If greeting longer than this value,
|
|
4864
|
+
* considered machine.
|
|
4865
|
+
*/
|
|
4866
|
+
greeting_duration_millis?: number;
|
|
4867
|
+
|
|
4868
|
+
/**
|
|
4869
|
+
* If machine already detected, maximum threshold for silence between words. If
|
|
4870
|
+
* exceeded, the greeting is considered ended.
|
|
4871
|
+
*/
|
|
4872
|
+
greeting_silence_duration_millis?: number;
|
|
4873
|
+
|
|
4874
|
+
/**
|
|
4875
|
+
* If machine already detected, maximum timeout threshold to determine the end of
|
|
4876
|
+
* the machine greeting.
|
|
4877
|
+
*/
|
|
4878
|
+
greeting_total_analysis_time_millis?: number;
|
|
4879
|
+
|
|
4880
|
+
/**
|
|
4881
|
+
* If initial silence duration is greater than this value, consider it a machine.
|
|
4882
|
+
*/
|
|
4883
|
+
initial_silence_millis?: number;
|
|
4884
|
+
|
|
4885
|
+
/**
|
|
4886
|
+
* If number of detected words is greater than this value, consder it a machine.
|
|
4887
|
+
*/
|
|
4888
|
+
maximum_number_of_words?: number;
|
|
4889
|
+
|
|
4890
|
+
/**
|
|
4891
|
+
* If a single word lasts longer than this threshold, consider it a machine.
|
|
4892
|
+
*/
|
|
4893
|
+
maximum_word_length_millis?: number;
|
|
4894
|
+
|
|
4895
|
+
/**
|
|
4896
|
+
* Minimum noise threshold for any analysis.
|
|
4897
|
+
*/
|
|
4898
|
+
silence_threshold?: number;
|
|
4899
|
+
|
|
4900
|
+
/**
|
|
4901
|
+
* Maximum timeout threshold for overall detection.
|
|
4902
|
+
*/
|
|
4903
|
+
total_analysis_time_millis?: number;
|
|
4904
|
+
}
|
|
4943
4905
|
|
|
4906
|
+
export interface WebhookRetriesPolicies {
|
|
4907
|
+
/**
|
|
4908
|
+
* Array of delays in milliseconds between retry attempts. Total sum cannot exceed
|
|
4909
|
+
* 60000ms.
|
|
4910
|
+
*/
|
|
4911
|
+
retries_ms?: Array<number>;
|
|
4912
|
+
}
|
|
4913
|
+
}
|
|
4914
|
+
|
|
4915
|
+
export interface ActionAddAIAssistantMessagesParams {
|
|
4944
4916
|
/**
|
|
4945
|
-
*
|
|
4946
|
-
*
|
|
4947
|
-
* uploaded to api.telnyx.com/v2/media by the same user/organization. The file must
|
|
4948
|
-
* either be a WAV or MP3 file.
|
|
4917
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4918
|
+
* Base-64 encoded string.
|
|
4949
4919
|
*/
|
|
4950
|
-
|
|
4920
|
+
client_state?: string;
|
|
4951
4921
|
|
|
4952
4922
|
/**
|
|
4953
|
-
*
|
|
4954
|
-
*
|
|
4923
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
4924
|
+
* the same `command_id` for the same `call_control_id`.
|
|
4955
4925
|
*/
|
|
4956
|
-
|
|
4926
|
+
command_id?: string;
|
|
4957
4927
|
|
|
4958
4928
|
/**
|
|
4959
|
-
*
|
|
4960
|
-
* or is transferred). If supplied with the value `self`, the current leg will be
|
|
4961
|
-
* parked after unbridge. If not set, the default behavior is to hang up the leg.
|
|
4929
|
+
* The messages to add to the conversation.
|
|
4962
4930
|
*/
|
|
4963
|
-
|
|
4931
|
+
messages?: Array<UserMessage | AssistantMessage | ToolMessage | SystemMessage | DeveloperMessage>;
|
|
4932
|
+
}
|
|
4964
4933
|
|
|
4934
|
+
export interface ActionJoinAIAssistantParams {
|
|
4965
4935
|
/**
|
|
4966
|
-
* The
|
|
4967
|
-
* call. The codecs supported are `G722`, `PCMU`, `PCMA`, `G729`, `OPUS`, `VP8`,
|
|
4968
|
-
* `H264`, `AMR-WB`.
|
|
4936
|
+
* The ID of the AI assistant conversation to join.
|
|
4969
4937
|
*/
|
|
4970
|
-
|
|
4938
|
+
conversation_id: string;
|
|
4939
|
+
|
|
4940
|
+
participant: AIAssistantJoinParticipant;
|
|
4971
4941
|
|
|
4972
4942
|
/**
|
|
4973
|
-
*
|
|
4974
|
-
*
|
|
4975
|
-
* `none` or omitted, caller ID will be shown normally.
|
|
4943
|
+
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
4944
|
+
* Base-64 encoded string.
|
|
4976
4945
|
*/
|
|
4977
|
-
|
|
4946
|
+
client_state?: string;
|
|
4978
4947
|
|
|
4979
4948
|
/**
|
|
4980
|
-
*
|
|
4949
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
4950
|
+
* the same `command_id` for the same `call_control_id`.
|
|
4981
4951
|
*/
|
|
4982
|
-
|
|
4952
|
+
command_id?: string;
|
|
4953
|
+
}
|
|
4983
4954
|
|
|
4955
|
+
export interface ActionStartConversationRelayParams {
|
|
4984
4956
|
/**
|
|
4985
|
-
*
|
|
4986
|
-
*
|
|
4957
|
+
* Custom parameters for the Conversation Relay session. Pass key-value data as
|
|
4958
|
+
* `assistant.dynamic_variables` to make it available to the relay session.
|
|
4987
4959
|
*/
|
|
4988
|
-
|
|
4960
|
+
assistant?: ActionStartConversationRelayParams.Assistant;
|
|
4989
4961
|
|
|
4990
4962
|
/**
|
|
4991
|
-
*
|
|
4992
|
-
*
|
|
4963
|
+
* Use this field to add state to subsequent webhooks. It must be a valid Base-64
|
|
4964
|
+
* encoded string.
|
|
4993
4965
|
*/
|
|
4994
|
-
|
|
4966
|
+
client_state?: string;
|
|
4995
4967
|
|
|
4996
4968
|
/**
|
|
4997
|
-
*
|
|
4969
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
4970
|
+
* the same `command_id` for the same `call_control_id`.
|
|
4998
4971
|
*/
|
|
4999
|
-
|
|
4972
|
+
command_id?: string;
|
|
5000
4973
|
|
|
5001
4974
|
/**
|
|
5002
|
-
*
|
|
5003
|
-
* specified. The minimum value is 0. The maximum value is 43200. The default value
|
|
5004
|
-
* is 0 (infinite).
|
|
4975
|
+
* Enable DTMF detection for the relay session.
|
|
5005
4976
|
*/
|
|
5006
|
-
|
|
4977
|
+
conversation_relay_dtmf_detection?: boolean;
|
|
5007
4978
|
|
|
5008
4979
|
/**
|
|
5009
|
-
*
|
|
5010
|
-
*
|
|
5011
|
-
*
|
|
5012
|
-
* silence and the related charge will be applied. The minimum value is 0. The
|
|
5013
|
-
* default value is 0 (infinite).
|
|
4980
|
+
* Conversation Relay connection settings. This object can provide `url`,
|
|
4981
|
+
* `dtmf_detection`, `interruptible`, `interruptible_greeting`, and `languages`.
|
|
4982
|
+
* Top-level aliases override nested values when both are present.
|
|
5014
4983
|
*/
|
|
5015
|
-
|
|
4984
|
+
conversation_relay_settings?: ActionStartConversationRelayParams.ConversationRelaySettings;
|
|
5016
4985
|
|
|
5017
4986
|
/**
|
|
5018
|
-
*
|
|
5019
|
-
*
|
|
5020
|
-
* configuration is ignored and it will be recorded as mono (single channel).
|
|
4987
|
+
* WebSocket URL for your Conversation Relay server. Must start with `ws://` or
|
|
4988
|
+
* `wss://`.
|
|
5021
4989
|
*/
|
|
5022
|
-
|
|
4990
|
+
conversation_relay_url?: string;
|
|
5023
4991
|
|
|
5024
4992
|
/**
|
|
5025
|
-
*
|
|
5026
|
-
*
|
|
4993
|
+
* Custom key-value parameters forwarded to the relay session as
|
|
4994
|
+
* `assistant.dynamic_variables`. If `assistant.dynamic_variables` is also present,
|
|
4995
|
+
* these values are merged in.
|
|
5027
4996
|
*/
|
|
5028
|
-
|
|
4997
|
+
custom_parameters?: { [key: string]: unknown };
|
|
5029
4998
|
|
|
5030
4999
|
/**
|
|
5031
|
-
*
|
|
5032
|
-
*
|
|
5033
|
-
* the called party picks up). Allowed characters: `0-9`, `A-D`, `w` (0.5s pause),
|
|
5034
|
-
* `W` (1s pause), `*`, `#`. Maximum 64 characters. When omitted, no automatic DTMF
|
|
5035
|
-
* is sent. May also be supplied inline by appending `,<digits>` to `to` (e.g.
|
|
5036
|
-
* `to=+18004247767,200`); if both forms are present, this explicit field takes
|
|
5037
|
-
* precedence.
|
|
5000
|
+
* Public alias for `conversation_relay_dtmf_detection`. If both are present, this
|
|
5001
|
+
* value wins.
|
|
5038
5002
|
*/
|
|
5039
|
-
|
|
5003
|
+
dtmf_detection?: boolean;
|
|
5040
5004
|
|
|
5041
5005
|
/**
|
|
5042
|
-
*
|
|
5006
|
+
* Text played when the relay session starts.
|
|
5043
5007
|
*/
|
|
5044
|
-
|
|
5008
|
+
greeting?: string;
|
|
5045
5009
|
|
|
5046
5010
|
/**
|
|
5047
|
-
*
|
|
5011
|
+
* Controls when caller input can interrupt assistant speech. `any` allows speech
|
|
5012
|
+
* or DTMF interruptions; `none` disables interruptions; `speech` allows speech
|
|
5013
|
+
* only; `dtmf` allows DTMF only.
|
|
5048
5014
|
*/
|
|
5049
|
-
|
|
5015
|
+
interruptible?: ConversationRelayInterruptible;
|
|
5016
|
+
|
|
5017
|
+
/**
|
|
5018
|
+
* Controls when caller input can interrupt assistant speech. `any` allows speech
|
|
5019
|
+
* or DTMF interruptions; `none` disables interruptions; `speech` allows speech
|
|
5020
|
+
* only; `dtmf` allows DTMF only.
|
|
5021
|
+
*/
|
|
5022
|
+
interruptible_greeting?: ConversationRelayInterruptible;
|
|
5050
5023
|
|
|
5051
5024
|
/**
|
|
5052
|
-
*
|
|
5053
|
-
* supported.
|
|
5025
|
+
* Settings for handling caller interruptions during Conversation Relay speech.
|
|
5054
5026
|
*/
|
|
5055
|
-
|
|
5027
|
+
interruption_settings?: CallsAPI.ConversationRelayInterruptionSettings;
|
|
5056
5028
|
|
|
5057
5029
|
/**
|
|
5058
|
-
*
|
|
5030
|
+
* Default language for the relay session. This value is used for both
|
|
5031
|
+
* text-to-speech and speech recognition.
|
|
5059
5032
|
*/
|
|
5060
|
-
|
|
5033
|
+
language?: string;
|
|
5061
5034
|
|
|
5062
5035
|
/**
|
|
5063
|
-
*
|
|
5036
|
+
* Per-language TTS and transcription settings.
|
|
5064
5037
|
*/
|
|
5065
|
-
|
|
5038
|
+
languages?: Array<CallsAPI.ConversationRelayLanguage>;
|
|
5066
5039
|
|
|
5067
5040
|
/**
|
|
5068
|
-
*
|
|
5041
|
+
* Structured voice provider. Must be supplied together with `structured_provider`.
|
|
5069
5042
|
*/
|
|
5070
|
-
|
|
5043
|
+
provider?: string;
|
|
5071
5044
|
|
|
5072
5045
|
/**
|
|
5073
|
-
*
|
|
5074
|
-
*
|
|
5046
|
+
* Provider-specific structured voice settings. Must be supplied together with
|
|
5047
|
+
* `provider`; Telnyx sends the value as the nested provider configuration for
|
|
5048
|
+
* Conversation Relay.
|
|
5075
5049
|
*/
|
|
5076
|
-
|
|
5050
|
+
structured_provider?: { [key: string]: unknown };
|
|
5077
5051
|
|
|
5078
5052
|
/**
|
|
5079
|
-
*
|
|
5080
|
-
*
|
|
5081
|
-
* of `time_limit` will be sent. For example, by setting a time limit of 120
|
|
5082
|
-
* seconds, a Call Leg will be automatically terminated two minutes after being
|
|
5083
|
-
* answered. The default time limit is 14400 seconds or 4 hours and this is also
|
|
5084
|
-
* the maximum allowed call length.
|
|
5053
|
+
* @deprecated Not supported for Conversation Relay start requests. Use
|
|
5054
|
+
* `transcription_engine` and `transcription_engine_config` instead.
|
|
5085
5055
|
*/
|
|
5086
|
-
|
|
5056
|
+
transcription?: { [key: string]: unknown };
|
|
5087
5057
|
|
|
5088
5058
|
/**
|
|
5089
|
-
*
|
|
5090
|
-
*
|
|
5091
|
-
*
|
|
5092
|
-
*
|
|
5093
|
-
* value is 600 seconds.
|
|
5059
|
+
* Engine to use for speech recognition. Legacy values `A` - `Google`, `B` -
|
|
5060
|
+
* `Telnyx` are supported for backward compatibility. For Conversation Relay, use
|
|
5061
|
+
* this field with `transcription_engine_config`; the `transcription` object is not
|
|
5062
|
+
* supported.
|
|
5094
5063
|
*/
|
|
5095
|
-
|
|
5064
|
+
transcription_engine?:
|
|
5065
|
+
| 'Google'
|
|
5066
|
+
| 'Telnyx'
|
|
5067
|
+
| 'Deepgram'
|
|
5068
|
+
| 'Azure'
|
|
5069
|
+
| 'xAI'
|
|
5070
|
+
| 'AssemblyAI'
|
|
5071
|
+
| 'Speechmatics'
|
|
5072
|
+
| 'Soniox'
|
|
5073
|
+
| 'A'
|
|
5074
|
+
| 'B';
|
|
5096
5075
|
|
|
5097
5076
|
/**
|
|
5098
|
-
*
|
|
5099
|
-
*
|
|
5100
|
-
*
|
|
5077
|
+
* Engine-specific transcription settings for Conversation Relay. This accepts the
|
|
5078
|
+
* same provider-specific options used by the Call Transcription Start command,
|
|
5079
|
+
* such as `transcription_model`, without requiring the engine discriminator to be
|
|
5080
|
+
* repeated inside this object.
|
|
5101
5081
|
*/
|
|
5102
|
-
|
|
5082
|
+
transcription_engine_config?: { [key: string]: unknown };
|
|
5103
5083
|
|
|
5104
5084
|
/**
|
|
5105
|
-
*
|
|
5106
|
-
*
|
|
5085
|
+
* Text-to-speech provider. If omitted, Telnyx derives it from `voice` or
|
|
5086
|
+
* `provider`.
|
|
5107
5087
|
*/
|
|
5108
|
-
|
|
5088
|
+
tts_provider?: string;
|
|
5109
5089
|
|
|
5110
5090
|
/**
|
|
5111
|
-
*
|
|
5091
|
+
* Public alias for `conversation_relay_url`. Must start with `ws://` or `wss://`.
|
|
5092
|
+
* If both are present, this value wins.
|
|
5112
5093
|
*/
|
|
5113
|
-
|
|
5094
|
+
url?: string;
|
|
5114
5095
|
|
|
5115
5096
|
/**
|
|
5116
|
-
*
|
|
5117
|
-
*
|
|
5118
|
-
*
|
|
5097
|
+
* The voice to be used by the voice assistant. Currently we support ElevenLabs,
|
|
5098
|
+
* Telnyx and AWS voices.
|
|
5099
|
+
*
|
|
5100
|
+
* **Supported Providers:**
|
|
5101
|
+
*
|
|
5102
|
+
* - **AWS:** Use `AWS.Polly.<VoiceId>` (e.g., `AWS.Polly.Joanna`). For neural
|
|
5103
|
+
* voices, which provide more realistic, human-like speech, append `-Neural` to
|
|
5104
|
+
* the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
|
|
5105
|
+
* [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
|
|
5106
|
+
* for compatibility.
|
|
5107
|
+
* - **Azure:** Use `Azure.<VoiceId>. (e.g. Azure.en-CA-ClaraNeural,
|
|
5108
|
+
* Azure.en-CA-LiamNeural, Azure.en-US-BrianMultilingualNeural,
|
|
5109
|
+
* Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to
|
|
5110
|
+
* [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).)
|
|
5111
|
+
* - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
|
|
5112
|
+
* `ElevenLabs.BaseModel.John`). The `ModelId` part is optional. To use
|
|
5113
|
+
* ElevenLabs, you must provide your ElevenLabs API key as an integration secret
|
|
5114
|
+
* under `"voice_settings": {"api_key_ref": "<secret_id>"}`. See
|
|
5115
|
+
* [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
|
|
5116
|
+
* for details. Check
|
|
5117
|
+
* [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
|
|
5118
|
+
* - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
5119
|
+
* - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
5120
|
+
* `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
|
|
5121
|
+
* `Max`, `TTS2`.
|
|
5122
|
+
* - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
5123
|
+
* `ara`, `rex`, `sal`, `leo`.
|
|
5119
5124
|
*/
|
|
5120
|
-
|
|
5125
|
+
voice?: string;
|
|
5121
5126
|
|
|
5122
5127
|
/**
|
|
5123
|
-
*
|
|
5128
|
+
* The settings associated with the voice selected
|
|
5124
5129
|
*/
|
|
5125
|
-
|
|
5130
|
+
voice_settings?:
|
|
5131
|
+
| ElevenLabsVoiceSettings
|
|
5132
|
+
| TelnyxVoiceSettings
|
|
5133
|
+
| AwsVoiceSettings
|
|
5134
|
+
| Shared.MinimaxVoiceSettings
|
|
5135
|
+
| Shared.AzureVoiceSettings
|
|
5136
|
+
| Shared.RimeVoiceSettings
|
|
5137
|
+
| Shared.ResembleVoiceSettings
|
|
5138
|
+
| Shared.InworldVoiceSettings
|
|
5139
|
+
| Shared.XaiVoiceSettings;
|
|
5126
5140
|
}
|
|
5127
5141
|
|
|
5128
|
-
export namespace
|
|
5142
|
+
export namespace ActionStartConversationRelayParams {
|
|
5129
5143
|
/**
|
|
5130
|
-
*
|
|
5131
|
-
*
|
|
5132
|
-
* parameters are applicable when `premium` is selected as
|
|
5133
|
-
* answering_machine_detection.
|
|
5144
|
+
* Custom parameters for the Conversation Relay session. Pass key-value data as
|
|
5145
|
+
* `assistant.dynamic_variables` to make it available to the relay session.
|
|
5134
5146
|
*/
|
|
5135
|
-
export interface
|
|
5136
|
-
/**
|
|
5137
|
-
* Silence duration threshold after a greeting message or voice for it be
|
|
5138
|
-
* considered human.
|
|
5139
|
-
*/
|
|
5140
|
-
after_greeting_silence_millis?: number;
|
|
5141
|
-
|
|
5142
|
-
/**
|
|
5143
|
-
* Maximum threshold for silence between words.
|
|
5144
|
-
*/
|
|
5145
|
-
between_words_silence_millis?: number;
|
|
5146
|
-
|
|
5147
|
-
/**
|
|
5148
|
-
* Maximum threshold of a human greeting. If greeting longer than this value,
|
|
5149
|
-
* considered machine.
|
|
5150
|
-
*/
|
|
5151
|
-
greeting_duration_millis?: number;
|
|
5152
|
-
|
|
5153
|
-
/**
|
|
5154
|
-
* If machine already detected, maximum threshold for silence between words. If
|
|
5155
|
-
* exceeded, the greeting is considered ended.
|
|
5156
|
-
*/
|
|
5157
|
-
greeting_silence_duration_millis?: number;
|
|
5158
|
-
|
|
5147
|
+
export interface Assistant {
|
|
5159
5148
|
/**
|
|
5160
|
-
*
|
|
5161
|
-
* the machine greeting.
|
|
5149
|
+
* Custom key-value parameters forwarded to the Conversation Relay session.
|
|
5162
5150
|
*/
|
|
5163
|
-
|
|
5151
|
+
dynamic_variables?: { [key: string]: string };
|
|
5164
5152
|
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
*/
|
|
5168
|
-
initial_silence_millis?: number;
|
|
5153
|
+
[k: string]: unknown;
|
|
5154
|
+
}
|
|
5169
5155
|
|
|
5156
|
+
/**
|
|
5157
|
+
* Conversation Relay connection settings. This object can provide `url`,
|
|
5158
|
+
* `dtmf_detection`, `interruptible`, `interruptible_greeting`, and `languages`.
|
|
5159
|
+
* Top-level aliases override nested values when both are present.
|
|
5160
|
+
*/
|
|
5161
|
+
export interface ConversationRelaySettings {
|
|
5170
5162
|
/**
|
|
5171
|
-
*
|
|
5163
|
+
* WebSocket URL for your Conversation Relay server. Must start with `ws://` or
|
|
5164
|
+
* `wss://`.
|
|
5172
5165
|
*/
|
|
5173
|
-
|
|
5166
|
+
url: string;
|
|
5174
5167
|
|
|
5175
5168
|
/**
|
|
5176
|
-
*
|
|
5169
|
+
* Whether to enable DTMF detection during the relay session.
|
|
5177
5170
|
*/
|
|
5178
|
-
|
|
5171
|
+
dtmf_detection?: boolean;
|
|
5179
5172
|
|
|
5180
5173
|
/**
|
|
5181
|
-
*
|
|
5174
|
+
* Controls when caller input can interrupt assistant speech. `any` allows speech
|
|
5175
|
+
* or DTMF interruptions; `none` disables interruptions; `speech` allows speech
|
|
5176
|
+
* only; `dtmf` allows DTMF only.
|
|
5182
5177
|
*/
|
|
5183
|
-
|
|
5178
|
+
interruptible?: ActionsAPI.ConversationRelayInterruptible;
|
|
5184
5179
|
|
|
5185
5180
|
/**
|
|
5186
|
-
*
|
|
5181
|
+
* Controls when caller input can interrupt assistant speech. `any` allows speech
|
|
5182
|
+
* or DTMF interruptions; `none` disables interruptions; `speech` allows speech
|
|
5183
|
+
* only; `dtmf` allows DTMF only.
|
|
5187
5184
|
*/
|
|
5188
|
-
|
|
5189
|
-
}
|
|
5185
|
+
interruptible_greeting?: ActionsAPI.ConversationRelayInterruptible;
|
|
5190
5186
|
|
|
5191
|
-
export interface WebhookRetriesPolicies {
|
|
5192
5187
|
/**
|
|
5193
|
-
*
|
|
5194
|
-
* 60000ms.
|
|
5188
|
+
* Language-specific TTS and transcription settings.
|
|
5195
5189
|
*/
|
|
5196
|
-
|
|
5190
|
+
languages?: Array<CallsAPI.ConversationRelayLanguage>;
|
|
5197
5191
|
}
|
|
5198
5192
|
}
|
|
5199
5193
|
|
|
5200
|
-
export interface
|
|
5194
|
+
export interface ActionStopConversationRelayParams {
|
|
5201
5195
|
/**
|
|
5202
|
-
* Use this field to add state to
|
|
5203
|
-
*
|
|
5196
|
+
* Use this field to add state to subsequent webhooks. It must be a valid Base-64
|
|
5197
|
+
* encoded string.
|
|
5204
5198
|
*/
|
|
5205
|
-
client_state
|
|
5199
|
+
client_state?: string;
|
|
5200
|
+
|
|
5201
|
+
/**
|
|
5202
|
+
* Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
5203
|
+
* the same `command_id` for the same `call_control_id`.
|
|
5204
|
+
*/
|
|
5205
|
+
command_id?: string;
|
|
5206
5206
|
}
|
|
5207
5207
|
|
|
5208
5208
|
export declare namespace Actions {
|
|
@@ -5279,45 +5279,45 @@ export declare namespace Actions {
|
|
|
5279
5279
|
type ActionSwitchSupervisorRoleResponse as ActionSwitchSupervisorRoleResponse,
|
|
5280
5280
|
type ActionTransferResponse as ActionTransferResponse,
|
|
5281
5281
|
type ActionUpdateClientStateResponse as ActionUpdateClientStateResponse,
|
|
5282
|
-
type
|
|
5282
|
+
type ActionStartAIAssistantParams as ActionStartAIAssistantParams,
|
|
5283
|
+
type ActionStopAIAssistantParams as ActionStopAIAssistantParams,
|
|
5283
5284
|
type ActionAnswerParams as ActionAnswerParams,
|
|
5284
5285
|
type ActionBridgeParams as ActionBridgeParams,
|
|
5286
|
+
type ActionUpdateClientStateParams as ActionUpdateClientStateParams,
|
|
5285
5287
|
type ActionEnqueueParams as ActionEnqueueParams,
|
|
5288
|
+
type ActionStartForkingParams as ActionStartForkingParams,
|
|
5289
|
+
type ActionStopForkingParams as ActionStopForkingParams,
|
|
5286
5290
|
type ActionGatherParams as ActionGatherParams,
|
|
5291
|
+
type ActionStopGatherParams as ActionStopGatherParams,
|
|
5287
5292
|
type ActionGatherUsingAIParams as ActionGatherUsingAIParams,
|
|
5288
5293
|
type ActionGatherUsingAudioParams as ActionGatherUsingAudioParams,
|
|
5289
5294
|
type ActionGatherUsingSpeakParams as ActionGatherUsingSpeakParams,
|
|
5290
5295
|
type ActionHangupParams as ActionHangupParams,
|
|
5291
|
-
type ActionJoinAIAssistantParams as ActionJoinAIAssistantParams,
|
|
5292
5296
|
type ActionLeaveQueueParams as ActionLeaveQueueParams,
|
|
5297
|
+
type ActionStartPlaybackParams as ActionStartPlaybackParams,
|
|
5298
|
+
type ActionStopPlaybackParams as ActionStopPlaybackParams,
|
|
5293
5299
|
type ActionPauseRecordingParams as ActionPauseRecordingParams,
|
|
5300
|
+
type ActionResumeRecordingParams as ActionResumeRecordingParams,
|
|
5301
|
+
type ActionStartRecordingParams as ActionStartRecordingParams,
|
|
5302
|
+
type ActionStopRecordingParams as ActionStopRecordingParams,
|
|
5294
5303
|
type ActionReferParams as ActionReferParams,
|
|
5295
5304
|
type ActionRejectParams as ActionRejectParams,
|
|
5296
|
-
type ActionResumeRecordingParams as ActionResumeRecordingParams,
|
|
5297
5305
|
type ActionSendDtmfParams as ActionSendDtmfParams,
|
|
5298
5306
|
type ActionSendSipInfoParams as ActionSendSipInfoParams,
|
|
5299
|
-
type ActionSpeakParams as ActionSpeakParams,
|
|
5300
|
-
type ActionStartAIAssistantParams as ActionStartAIAssistantParams,
|
|
5301
|
-
type ActionStartConversationRelayParams as ActionStartConversationRelayParams,
|
|
5302
|
-
type ActionStartForkingParams as ActionStartForkingParams,
|
|
5303
|
-
type ActionStartNoiseSuppressionParams as ActionStartNoiseSuppressionParams,
|
|
5304
|
-
type ActionStartPlaybackParams as ActionStartPlaybackParams,
|
|
5305
|
-
type ActionStartRecordingParams as ActionStartRecordingParams,
|
|
5306
5307
|
type ActionStartSiprecParams as ActionStartSiprecParams,
|
|
5307
|
-
type ActionStartStreamingParams as ActionStartStreamingParams,
|
|
5308
|
-
type ActionStartTranscriptionParams as ActionStartTranscriptionParams,
|
|
5309
|
-
type ActionStopAIAssistantParams as ActionStopAIAssistantParams,
|
|
5310
|
-
type ActionStopConversationRelayParams as ActionStopConversationRelayParams,
|
|
5311
|
-
type ActionStopForkingParams as ActionStopForkingParams,
|
|
5312
|
-
type ActionStopGatherParams as ActionStopGatherParams,
|
|
5313
|
-
type ActionStopNoiseSuppressionParams as ActionStopNoiseSuppressionParams,
|
|
5314
|
-
type ActionStopPlaybackParams as ActionStopPlaybackParams,
|
|
5315
|
-
type ActionStopRecordingParams as ActionStopRecordingParams,
|
|
5316
5308
|
type ActionStopSiprecParams as ActionStopSiprecParams,
|
|
5309
|
+
type ActionSpeakParams as ActionSpeakParams,
|
|
5310
|
+
type ActionStartStreamingParams as ActionStartStreamingParams,
|
|
5317
5311
|
type ActionStopStreamingParams as ActionStopStreamingParams,
|
|
5318
|
-
type
|
|
5312
|
+
type ActionStartNoiseSuppressionParams as ActionStartNoiseSuppressionParams,
|
|
5313
|
+
type ActionStopNoiseSuppressionParams as ActionStopNoiseSuppressionParams,
|
|
5319
5314
|
type ActionSwitchSupervisorRoleParams as ActionSwitchSupervisorRoleParams,
|
|
5315
|
+
type ActionStartTranscriptionParams as ActionStartTranscriptionParams,
|
|
5316
|
+
type ActionStopTranscriptionParams as ActionStopTranscriptionParams,
|
|
5320
5317
|
type ActionTransferParams as ActionTransferParams,
|
|
5321
|
-
type
|
|
5318
|
+
type ActionAddAIAssistantMessagesParams as ActionAddAIAssistantMessagesParams,
|
|
5319
|
+
type ActionJoinAIAssistantParams as ActionJoinAIAssistantParams,
|
|
5320
|
+
type ActionStartConversationRelayParams as ActionStartConversationRelayParams,
|
|
5321
|
+
type ActionStopConversationRelayParams as ActionStopConversationRelayParams,
|
|
5322
5322
|
};
|
|
5323
5323
|
}
|