telnyx 7.25.0 → 7.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/client.d.mts +25 -10
- package/client.d.mts.map +1 -1
- package/client.d.ts +25 -10
- package/client.d.ts.map +1 -1
- package/client.js +15 -0
- package/client.js.map +1 -1
- package/client.mjs +15 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/addresses/addresses.d.mts +22 -2
- package/resources/addresses/addresses.d.mts.map +1 -1
- package/resources/addresses/addresses.d.ts +22 -2
- package/resources/addresses/addresses.d.ts.map +1 -1
- package/resources/addresses/addresses.js +12 -0
- package/resources/addresses/addresses.js.map +1 -1
- package/resources/addresses/addresses.mjs +12 -0
- package/resources/addresses/addresses.mjs.map +1 -1
- package/resources/ai/ai.d.mts +16 -7
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +16 -7
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +4 -0
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +4 -0
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +383 -22
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +383 -22
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js +4 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs +4 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/index.d.mts +1 -1
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +1 -1
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/index.js.map +1 -1
- package/resources/ai/assistants/index.mjs.map +1 -1
- package/resources/ai/assistants/versions.d.mts +18 -1
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +18 -1
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/assistants/versions.js +4 -1
- package/resources/ai/assistants/versions.js.map +1 -1
- package/resources/ai/assistants/versions.mjs +4 -1
- package/resources/ai/assistants/versions.mjs.map +1 -1
- package/resources/ai/audio.d.mts +17 -5
- package/resources/ai/audio.d.mts.map +1 -1
- package/resources/ai/audio.d.ts +17 -5
- package/resources/ai/audio.d.ts.map +1 -1
- package/resources/ai/avatars.d.mts +200 -0
- package/resources/ai/avatars.d.mts.map +1 -0
- package/resources/ai/avatars.d.ts +200 -0
- package/resources/ai/avatars.d.ts.map +1 -0
- package/resources/ai/avatars.js +95 -0
- package/resources/ai/avatars.js.map +1 -0
- package/resources/ai/avatars.mjs +91 -0
- package/resources/ai/avatars.mjs.map +1 -0
- package/resources/ai/chat.d.mts +20 -6
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +20 -6
- package/resources/ai/chat.d.ts.map +1 -1
- package/resources/ai/conversations/conversations.d.mts +8 -0
- package/resources/ai/conversations/conversations.d.mts.map +1 -1
- package/resources/ai/conversations/conversations.d.ts +8 -0
- package/resources/ai/conversations/conversations.d.ts.map +1 -1
- package/resources/ai/conversations/conversations.js.map +1 -1
- package/resources/ai/conversations/conversations.mjs.map +1 -1
- package/resources/ai/index.d.mts +3 -2
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +3 -2
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js +3 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +1 -0
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/memory/namespaces/index.d.mts +1 -1
- package/resources/ai/memory/namespaces/index.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/index.d.ts +1 -1
- package/resources/ai/memory/namespaces/index.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/index.js.map +1 -1
- package/resources/ai/memory/namespaces/index.mjs.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.d.mts +2 -2
- package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.d.ts +2 -2
- package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.js.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -1
- package/resources/ai/memory/namespaces/profiles/index.d.mts +1 -1
- package/resources/ai/memory/namespaces/profiles/index.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/profiles/index.d.ts +1 -1
- package/resources/ai/memory/namespaces/profiles/index.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/profiles/index.js.map +1 -1
- package/resources/ai/memory/namespaces/profiles/index.mjs.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts +54 -1
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts +54 -1
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.js +31 -0
- package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.mjs +31 -0
- package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -1
- package/resources/ai/openai/chat.d.mts +20 -6
- package/resources/ai/openai/chat.d.mts.map +1 -1
- package/resources/ai/openai/chat.d.ts +20 -6
- package/resources/ai/openai/chat.d.ts.map +1 -1
- package/resources/ai/tools.d.mts +30 -2
- package/resources/ai/tools.d.mts.map +1 -1
- package/resources/ai/tools.d.ts +30 -2
- package/resources/ai/tools.d.ts.map +1 -1
- package/resources/calls/actions.d.mts +260 -25
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +260 -25
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +24 -14
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +24 -14
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js +8 -0
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs +8 -0
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +1 -1
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +1 -1
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/credential-connections/credential-connections.d.mts +38 -8
- package/resources/credential-connections/credential-connections.d.mts.map +1 -1
- package/resources/credential-connections/credential-connections.d.ts +38 -8
- package/resources/credential-connections/credential-connections.d.ts.map +1 -1
- package/resources/credential-connections/credential-connections.js.map +1 -1
- package/resources/credential-connections/credential-connections.mjs.map +1 -1
- package/resources/dial-metrics.d.mts +151 -0
- package/resources/dial-metrics.d.mts.map +1 -0
- package/resources/dial-metrics.d.ts +151 -0
- package/resources/dial-metrics.d.ts.map +1 -0
- package/resources/dial-metrics.js +44 -0
- package/resources/dial-metrics.js.map +1 -0
- package/resources/dial-metrics.mjs +40 -0
- package/resources/dial-metrics.mjs.map +1 -0
- package/resources/dir/dir.d.mts +11 -9
- package/resources/dir/dir.d.mts.map +1 -1
- package/resources/dir/dir.d.ts +11 -9
- package/resources/dir/dir.d.ts.map +1 -1
- package/resources/dir/dir.js +1 -2
- package/resources/dir/dir.js.map +1 -1
- package/resources/dir/dir.mjs +1 -2
- package/resources/dir/dir.mjs.map +1 -1
- package/resources/dir/phone-numbers.d.mts +0 -4
- package/resources/dir/phone-numbers.d.mts.map +1 -1
- package/resources/dir/phone-numbers.d.ts +0 -4
- package/resources/dir/phone-numbers.d.ts.map +1 -1
- package/resources/dir/references.d.mts +15 -9
- package/resources/dir/references.d.mts.map +1 -1
- package/resources/dir/references.d.ts +15 -9
- package/resources/dir/references.d.ts.map +1 -1
- package/resources/dir/references.js +15 -9
- package/resources/dir/references.js.map +1 -1
- package/resources/dir/references.mjs +15 -9
- package/resources/dir/references.mjs.map +1 -1
- package/resources/dir/verify-email.d.mts +17 -5
- package/resources/dir/verify-email.d.mts.map +1 -1
- package/resources/dir/verify-email.d.ts +17 -5
- package/resources/dir/verify-email.d.ts.map +1 -1
- package/resources/dir/verify-email.js +17 -5
- package/resources/dir/verify-email.js.map +1 -1
- package/resources/dir/verify-email.mjs +17 -5
- package/resources/dir/verify-email.mjs.map +1 -1
- package/resources/email-domains/email-domains.d.mts +1 -1
- package/resources/email-domains/email-domains.d.mts.map +1 -1
- package/resources/email-domains/email-domains.d.ts +1 -1
- package/resources/email-domains/email-domains.d.ts.map +1 -1
- package/resources/email-templates.d.mts +109 -18
- package/resources/email-templates.d.mts.map +1 -1
- package/resources/email-templates.d.ts +109 -18
- package/resources/email-templates.d.ts.map +1 -1
- package/resources/email-templates.js +5 -1
- package/resources/email-templates.js.map +1 -1
- package/resources/email-templates.mjs +5 -1
- package/resources/email-templates.mjs.map +1 -1
- package/resources/enterprises/dir.d.mts +8 -2
- package/resources/enterprises/dir.d.mts.map +1 -1
- package/resources/enterprises/dir.d.ts +8 -2
- package/resources/enterprises/dir.d.ts.map +1 -1
- package/resources/enterprises/dir.js +8 -2
- package/resources/enterprises/dir.js.map +1 -1
- package/resources/enterprises/dir.mjs +8 -2
- package/resources/enterprises/dir.mjs.map +1 -1
- package/resources/enterprises/enterprises.d.mts +7 -5
- package/resources/enterprises/enterprises.d.mts.map +1 -1
- package/resources/enterprises/enterprises.d.ts +7 -5
- package/resources/enterprises/enterprises.d.ts.map +1 -1
- package/resources/enterprises/enterprises.js +5 -3
- package/resources/enterprises/enterprises.js.map +1 -1
- package/resources/enterprises/enterprises.mjs +5 -3
- package/resources/enterprises/enterprises.mjs.map +1 -1
- package/resources/enterprises/index.d.mts +1 -1
- package/resources/enterprises/index.d.mts.map +1 -1
- package/resources/enterprises/index.d.ts +1 -1
- package/resources/enterprises/index.d.ts.map +1 -1
- package/resources/enterprises/index.js.map +1 -1
- package/resources/enterprises/index.mjs.map +1 -1
- package/resources/enterprises/reputation/external-verification.d.mts +94 -0
- package/resources/enterprises/reputation/external-verification.d.mts.map +1 -0
- package/resources/enterprises/reputation/external-verification.d.ts +94 -0
- package/resources/enterprises/reputation/external-verification.d.ts.map +1 -0
- package/resources/enterprises/reputation/external-verification.js +54 -0
- package/resources/enterprises/reputation/external-verification.js.map +1 -0
- package/resources/enterprises/reputation/external-verification.mjs +50 -0
- package/resources/enterprises/reputation/external-verification.mjs.map +1 -0
- package/resources/enterprises/reputation/index.d.mts +3 -2
- package/resources/enterprises/reputation/index.d.mts.map +1 -1
- package/resources/enterprises/reputation/index.d.ts +3 -2
- package/resources/enterprises/reputation/index.d.ts.map +1 -1
- package/resources/enterprises/reputation/index.js +3 -1
- package/resources/enterprises/reputation/index.js.map +1 -1
- package/resources/enterprises/reputation/index.mjs +1 -0
- package/resources/enterprises/reputation/index.mjs.map +1 -1
- package/resources/enterprises/reputation/loa.d.mts +3 -2
- package/resources/enterprises/reputation/loa.d.mts.map +1 -1
- package/resources/enterprises/reputation/loa.d.ts +3 -2
- package/resources/enterprises/reputation/loa.d.ts.map +1 -1
- package/resources/enterprises/reputation/numbers.d.mts +197 -4
- package/resources/enterprises/reputation/numbers.d.mts.map +1 -1
- package/resources/enterprises/reputation/numbers.d.ts +197 -4
- package/resources/enterprises/reputation/numbers.d.ts.map +1 -1
- package/resources/enterprises/reputation/numbers.js +58 -2
- package/resources/enterprises/reputation/numbers.js.map +1 -1
- package/resources/enterprises/reputation/numbers.mjs +58 -2
- package/resources/enterprises/reputation/numbers.mjs.map +1 -1
- package/resources/enterprises/reputation/remediation.d.mts +3 -2
- package/resources/enterprises/reputation/remediation.d.mts.map +1 -1
- package/resources/enterprises/reputation/remediation.d.ts +3 -2
- package/resources/enterprises/reputation/remediation.d.ts.map +1 -1
- package/resources/enterprises/reputation/reputation.d.mts +39 -3
- package/resources/enterprises/reputation/reputation.d.mts.map +1 -1
- package/resources/enterprises/reputation/reputation.d.ts +39 -3
- package/resources/enterprises/reputation/reputation.d.ts.map +1 -1
- package/resources/enterprises/reputation/reputation.js +22 -0
- package/resources/enterprises/reputation/reputation.js.map +1 -1
- package/resources/enterprises/reputation/reputation.mjs +22 -0
- package/resources/enterprises/reputation/reputation.mjs.map +1 -1
- package/resources/enterprises/verify-email.d.mts +1 -1
- package/resources/enterprises/verify-email.d.ts +1 -1
- package/resources/enterprises/verify-email.js +1 -1
- package/resources/enterprises/verify-email.mjs +1 -1
- package/resources/fqdn-connections/fqdn-connections.d.mts +38 -8
- package/resources/fqdn-connections/fqdn-connections.d.mts.map +1 -1
- package/resources/fqdn-connections/fqdn-connections.d.ts +38 -8
- package/resources/fqdn-connections/fqdn-connections.d.ts.map +1 -1
- package/resources/fqdn-connections/fqdn-connections.js.map +1 -1
- package/resources/fqdn-connections/fqdn-connections.mjs.map +1 -1
- package/resources/global-ip-assignment-health.d.mts +4 -4
- package/resources/global-ip-assignment-health.d.mts.map +1 -1
- package/resources/global-ip-assignment-health.d.ts +4 -4
- package/resources/global-ip-assignment-health.d.ts.map +1 -1
- package/resources/global-ip-assignments-usage.d.mts +4 -4
- package/resources/global-ip-assignments-usage.d.mts.map +1 -1
- package/resources/global-ip-assignments-usage.d.ts +4 -4
- package/resources/global-ip-assignments-usage.d.ts.map +1 -1
- package/resources/index.d.mts +8 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +10 -4
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/ip-connections.d.mts +36 -6
- package/resources/ip-connections.d.mts.map +1 -1
- package/resources/ip-connections.d.ts +36 -6
- package/resources/ip-connections.d.ts.map +1 -1
- package/resources/llm-token-gateway/index.d.mts +4 -1
- package/resources/llm-token-gateway/index.d.mts.map +1 -1
- package/resources/llm-token-gateway/index.d.ts +4 -1
- package/resources/llm-token-gateway/index.d.ts.map +1 -1
- package/resources/llm-token-gateway/index.js +7 -1
- package/resources/llm-token-gateway/index.js.map +1 -1
- package/resources/llm-token-gateway/index.mjs +4 -1
- package/resources/llm-token-gateway/index.mjs.map +1 -1
- package/resources/llm-token-gateway/llm-token-gateway.d.mts +14 -2
- package/resources/llm-token-gateway/llm-token-gateway.d.mts.map +1 -1
- package/resources/llm-token-gateway/llm-token-gateway.d.ts +14 -2
- package/resources/llm-token-gateway/llm-token-gateway.d.ts.map +1 -1
- package/resources/llm-token-gateway/llm-token-gateway.js +12 -0
- package/resources/llm-token-gateway/llm-token-gateway.js.map +1 -1
- package/resources/llm-token-gateway/llm-token-gateway.mjs +13 -1
- package/resources/llm-token-gateway/llm-token-gateway.mjs.map +1 -1
- package/resources/llm-token-gateway/spend.d.mts +223 -0
- package/resources/llm-token-gateway/spend.d.mts.map +1 -0
- package/resources/llm-token-gateway/spend.d.ts +223 -0
- package/resources/llm-token-gateway/spend.d.ts.map +1 -0
- package/resources/llm-token-gateway/spend.js +56 -0
- package/resources/llm-token-gateway/spend.js.map +1 -0
- package/resources/llm-token-gateway/spend.mjs +52 -0
- package/resources/llm-token-gateway/spend.mjs.map +1 -0
- package/resources/llm-token-gateway/token-groups.d.mts +577 -0
- package/resources/llm-token-gateway/token-groups.d.mts.map +1 -0
- package/resources/llm-token-gateway/token-groups.d.ts +577 -0
- package/resources/llm-token-gateway/token-groups.d.ts.map +1 -0
- package/resources/llm-token-gateway/token-groups.js +139 -0
- package/resources/llm-token-gateway/token-groups.js.map +1 -0
- package/resources/llm-token-gateway/token-groups.mjs +135 -0
- package/resources/llm-token-gateway/token-groups.mjs.map +1 -0
- package/resources/llm-token-gateway/token-keys.d.mts +318 -0
- package/resources/llm-token-gateway/token-keys.d.mts.map +1 -0
- package/resources/llm-token-gateway/token-keys.d.ts +318 -0
- package/resources/llm-token-gateway/token-keys.d.ts.map +1 -0
- package/resources/llm-token-gateway/token-keys.js +127 -0
- package/resources/llm-token-gateway/token-keys.js.map +1 -0
- package/resources/llm-token-gateway/token-keys.mjs +123 -0
- package/resources/llm-token-gateway/token-keys.mjs.map +1 -0
- package/resources/llm-token-gateway/usage.d.mts +205 -146
- package/resources/llm-token-gateway/usage.d.mts.map +1 -1
- package/resources/llm-token-gateway/usage.d.ts +205 -146
- package/resources/llm-token-gateway/usage.d.ts.map +1 -1
- package/resources/llm-token-gateway/usage.js +47 -15
- package/resources/llm-token-gateway/usage.js.map +1 -1
- package/resources/llm-token-gateway/usage.mjs +47 -15
- package/resources/llm-token-gateway/usage.mjs.map +1 -1
- package/resources/meeting-sessions/actions.d.mts +13 -7
- package/resources/meeting-sessions/actions.d.mts.map +1 -1
- package/resources/meeting-sessions/actions.d.ts +13 -7
- package/resources/meeting-sessions/actions.d.ts.map +1 -1
- package/resources/meeting-sessions/actions.js +13 -7
- package/resources/meeting-sessions/actions.js.map +1 -1
- package/resources/meeting-sessions/actions.mjs +13 -7
- package/resources/meeting-sessions/actions.mjs.map +1 -1
- package/resources/meeting-sessions/index.d.mts +1 -1
- package/resources/meeting-sessions/index.d.mts.map +1 -1
- package/resources/meeting-sessions/index.d.ts +1 -1
- package/resources/meeting-sessions/index.d.ts.map +1 -1
- package/resources/meeting-sessions/index.js.map +1 -1
- package/resources/meeting-sessions/index.mjs.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.mts +46 -65
- package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.ts +46 -65
- package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.js +14 -23
- package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.mjs +14 -23
- package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
- package/resources/messages/messages.d.mts +581 -118
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +581 -118
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +71 -14
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +71 -14
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/messages/rcs.d.mts +26 -6
- package/resources/messages/rcs.d.mts.map +1 -1
- package/resources/messages/rcs.d.ts +26 -6
- package/resources/messages/rcs.d.ts.map +1 -1
- package/resources/messages/rcs.js +11 -2
- package/resources/messages/rcs.js.map +1 -1
- package/resources/messages/rcs.mjs +11 -2
- package/resources/messages/rcs.mjs.map +1 -1
- package/resources/phone-numbers/csv-downloads.d.mts +9 -0
- package/resources/phone-numbers/csv-downloads.d.mts.map +1 -1
- package/resources/phone-numbers/csv-downloads.d.ts +9 -0
- package/resources/phone-numbers/csv-downloads.d.ts.map +1 -1
- package/resources/phone-numbers/csv-downloads.js +5 -2
- package/resources/phone-numbers/csv-downloads.js.map +1 -1
- package/resources/phone-numbers/csv-downloads.mjs +5 -2
- package/resources/phone-numbers/csv-downloads.mjs.map +1 -1
- package/resources/phone-numbers/index.d.mts +2 -2
- package/resources/phone-numbers/index.d.mts.map +1 -1
- package/resources/phone-numbers/index.d.ts +2 -2
- package/resources/phone-numbers/index.d.ts.map +1 -1
- package/resources/phone-numbers/index.js.map +1 -1
- package/resources/phone-numbers/index.mjs.map +1 -1
- package/resources/phone-numbers/jobs.d.mts +277 -14
- package/resources/phone-numbers/jobs.d.mts.map +1 -1
- package/resources/phone-numbers/jobs.d.ts +277 -14
- package/resources/phone-numbers/jobs.d.ts.map +1 -1
- package/resources/phone-numbers/jobs.js +5 -4
- package/resources/phone-numbers/jobs.js.map +1 -1
- package/resources/phone-numbers/jobs.mjs +5 -4
- package/resources/phone-numbers/jobs.mjs.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.mts +28 -3
- package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.ts +28 -3
- package/resources/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.mts +1 -1
- package/resources/porting-orders/phone-number-blocks.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.ts +1 -1
- package/resources/porting-orders/phone-number-blocks.d.ts.map +1 -1
- package/resources/porting-orders/porting-orders.d.mts +1 -1
- package/resources/porting-orders/porting-orders.d.mts.map +1 -1
- package/resources/porting-orders/porting-orders.d.ts +1 -1
- package/resources/porting-orders/porting-orders.d.ts.map +1 -1
- package/resources/porting-orders/porting-orders.js.map +1 -1
- package/resources/porting-orders/porting-orders.mjs.map +1 -1
- package/resources/porting-phone-numbers.d.mts +1 -1
- package/resources/porting-phone-numbers.d.mts.map +1 -1
- package/resources/porting-phone-numbers.d.ts +1 -1
- package/resources/porting-phone-numbers.d.ts.map +1 -1
- package/resources/reputation/numbers.d.mts +10 -0
- package/resources/reputation/numbers.d.mts.map +1 -1
- package/resources/reputation/numbers.d.ts +10 -0
- package/resources/reputation/numbers.d.ts.map +1 -1
- package/resources/shared.d.mts +4 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +4 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/sip-registration-status.d.mts +149 -0
- package/resources/sip-registration-status.d.mts.map +1 -0
- package/resources/sip-registration-status.d.ts +149 -0
- package/resources/sip-registration-status.d.ts.map +1 -0
- package/resources/sip-registration-status.js +32 -0
- package/resources/sip-registration-status.js.map +1 -0
- package/resources/sip-registration-status.mjs +28 -0
- package/resources/sip-registration-status.mjs.map +1 -0
- package/resources/speech-to-text/speech-to-text.d.mts +12 -5
- package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.ts +12 -5
- package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
- package/resources/telephony-credentials.d.mts +11 -2
- package/resources/telephony-credentials.d.mts.map +1 -1
- package/resources/telephony-credentials.d.ts +11 -2
- package/resources/telephony-credentials.d.ts.map +1 -1
- package/resources/telephony-credentials.js +9 -2
- package/resources/telephony-credentials.js.map +1 -1
- package/resources/telephony-credentials.mjs +9 -2
- package/resources/telephony-credentials.mjs.map +1 -1
- package/resources/texml/accounts/accounts.d.mts +2 -2
- package/resources/texml/accounts/accounts.d.ts +2 -2
- package/resources/texml/accounts/accounts.js +2 -2
- package/resources/texml/accounts/accounts.mjs +2 -2
- package/resources/texml/accounts/calls/calls.d.mts +49 -14
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +49 -14
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js +7 -7
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs +7 -7
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.d.mts +14 -4
- package/resources/texml/accounts/calls/recordings-json.d.mts.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.d.ts +14 -4
- package/resources/texml/accounts/calls/recordings-json.d.ts.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.js +2 -2
- package/resources/texml/accounts/calls/recordings-json.mjs +2 -2
- package/resources/texml/accounts/calls/recordings.d.mts +10 -2
- package/resources/texml/accounts/calls/recordings.d.mts.map +1 -1
- package/resources/texml/accounts/calls/recordings.d.ts +10 -2
- package/resources/texml/accounts/calls/recordings.d.ts.map +1 -1
- package/resources/texml/accounts/calls/recordings.js +4 -1
- package/resources/texml/accounts/calls/recordings.js.map +1 -1
- package/resources/texml/accounts/calls/recordings.mjs +4 -1
- package/resources/texml/accounts/calls/recordings.mjs.map +1 -1
- package/resources/texml/accounts/calls/siprec.d.mts +10 -2
- package/resources/texml/accounts/calls/siprec.d.mts.map +1 -1
- package/resources/texml/accounts/calls/siprec.d.ts +10 -2
- package/resources/texml/accounts/calls/siprec.d.ts.map +1 -1
- package/resources/texml/accounts/calls/siprec.js +4 -1
- package/resources/texml/accounts/calls/siprec.js.map +1 -1
- package/resources/texml/accounts/calls/siprec.mjs +4 -1
- package/resources/texml/accounts/calls/siprec.mjs.map +1 -1
- package/resources/texml/accounts/calls/streams.d.mts +10 -2
- package/resources/texml/accounts/calls/streams.d.mts.map +1 -1
- package/resources/texml/accounts/calls/streams.d.ts +10 -2
- package/resources/texml/accounts/calls/streams.d.ts.map +1 -1
- package/resources/texml/accounts/calls/streams.js +4 -1
- package/resources/texml/accounts/calls/streams.js.map +1 -1
- package/resources/texml/accounts/calls/streams.mjs +4 -1
- package/resources/texml/accounts/calls/streams.mjs.map +1 -1
- package/resources/texml/accounts/conferences/conferences.d.mts +29 -9
- package/resources/texml/accounts/conferences/conferences.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/conferences.d.ts +29 -9
- package/resources/texml/accounts/conferences/conferences.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/conferences.js +5 -5
- package/resources/texml/accounts/conferences/conferences.js.map +1 -1
- package/resources/texml/accounts/conferences/conferences.mjs +5 -5
- package/resources/texml/accounts/conferences/conferences.mjs.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.mts +35 -10
- package/resources/texml/accounts/conferences/participants.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.ts +35 -10
- package/resources/texml/accounts/conferences/participants.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/participants.js +5 -5
- package/resources/texml/accounts/conferences/participants.mjs +5 -5
- package/resources/texml/accounts/queues.d.mts +25 -8
- package/resources/texml/accounts/queues.d.mts.map +1 -1
- package/resources/texml/accounts/queues.d.ts +25 -8
- package/resources/texml/accounts/queues.d.ts.map +1 -1
- package/resources/texml/accounts/queues.js +7 -5
- package/resources/texml/accounts/queues.js.map +1 -1
- package/resources/texml/accounts/queues.mjs +7 -5
- package/resources/texml/accounts/queues.mjs.map +1 -1
- package/resources/texml/accounts/recordings/json.d.mts +14 -4
- package/resources/texml/accounts/recordings/json.d.mts.map +1 -1
- package/resources/texml/accounts/recordings/json.d.ts +14 -4
- package/resources/texml/accounts/recordings/json.d.ts.map +1 -1
- package/resources/texml/accounts/recordings/json.js +2 -2
- package/resources/texml/accounts/recordings/json.mjs +2 -2
- package/resources/texml/accounts/transcriptions/json.d.mts +14 -4
- package/resources/texml/accounts/transcriptions/json.d.mts.map +1 -1
- package/resources/texml/accounts/transcriptions/json.d.ts +14 -4
- package/resources/texml/accounts/transcriptions/json.d.ts.map +1 -1
- package/resources/texml/accounts/transcriptions/json.js +2 -2
- package/resources/texml/accounts/transcriptions/json.mjs +2 -2
- package/resources/texml/texml.d.mts +7 -3
- package/resources/texml/texml.d.mts.map +1 -1
- package/resources/texml/texml.d.ts +7 -3
- package/resources/texml/texml.d.ts.map +1 -1
- package/resources/texml/texml.js +4 -2
- package/resources/texml/texml.js.map +1 -1
- package/resources/texml/texml.mjs +4 -2
- package/resources/texml/texml.mjs.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.mts +15 -6
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +15 -6
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/tts-integrations/actions.d.mts +4 -0
- package/resources/tts-integrations/actions.d.mts.map +1 -0
- package/resources/tts-integrations/actions.d.ts +4 -0
- package/resources/tts-integrations/actions.d.ts.map +1 -0
- package/resources/tts-integrations/actions.js +9 -0
- package/resources/tts-integrations/actions.js.map +1 -0
- package/resources/tts-integrations/actions.mjs +5 -0
- package/resources/tts-integrations/actions.mjs.map +1 -0
- package/resources/tts-integrations/index.d.mts +3 -0
- package/resources/tts-integrations/index.d.mts.map +1 -0
- package/resources/tts-integrations/index.d.ts +3 -0
- package/resources/tts-integrations/index.d.ts.map +1 -0
- package/resources/tts-integrations/index.js +9 -0
- package/resources/tts-integrations/index.js.map +1 -0
- package/resources/tts-integrations/index.mjs +4 -0
- package/resources/tts-integrations/index.mjs.map +1 -0
- package/resources/tts-integrations/tts-integrations.d.mts +10 -0
- package/resources/tts-integrations/tts-integrations.d.mts.map +1 -0
- package/resources/tts-integrations/tts-integrations.d.ts +10 -0
- package/resources/tts-integrations/tts-integrations.d.ts.map +1 -0
- package/resources/tts-integrations/tts-integrations.js +17 -0
- package/resources/tts-integrations/tts-integrations.js.map +1 -0
- package/resources/tts-integrations/tts-integrations.mjs +12 -0
- package/resources/tts-integrations/tts-integrations.mjs.map +1 -0
- package/resources/tts-integrations.d.mts +2 -0
- package/resources/tts-integrations.d.mts.map +1 -0
- package/resources/tts-integrations.d.ts +2 -0
- package/resources/tts-integrations.d.ts.map +1 -0
- package/resources/tts-integrations.js +6 -0
- package/resources/tts-integrations.js.map +1 -0
- package/resources/tts-integrations.mjs +3 -0
- package/resources/tts-integrations.mjs.map +1 -0
- package/resources/uac-connections/uac-connections.d.mts +36 -6
- package/resources/uac-connections/uac-connections.d.mts.map +1 -1
- package/resources/uac-connections/uac-connections.d.ts +36 -6
- package/resources/uac-connections/uac-connections.d.ts.map +1 -1
- package/resources/uac-connections/uac-connections.js.map +1 -1
- package/resources/uac-connections/uac-connections.mjs.map +1 -1
- package/resources/voice-clones.d.mts +57 -10
- package/resources/voice-clones.d.mts.map +1 -1
- package/resources/voice-clones.d.ts +57 -10
- package/resources/voice-clones.d.ts.map +1 -1
- package/resources/voice-clones.js +6 -4
- package/resources/voice-clones.js.map +1 -1
- package/resources/voice-clones.mjs +6 -4
- package/resources/voice-clones.mjs.map +1 -1
- package/resources/webhooks.d.mts +986 -71
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +986 -71
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/whatsapp/hosted-signups.d.mts +165 -0
- package/resources/whatsapp/hosted-signups.d.mts.map +1 -0
- package/resources/whatsapp/hosted-signups.d.ts +165 -0
- package/resources/whatsapp/hosted-signups.d.ts.map +1 -0
- package/resources/whatsapp/hosted-signups.js +56 -0
- package/resources/whatsapp/hosted-signups.js.map +1 -0
- package/resources/whatsapp/hosted-signups.mjs +52 -0
- package/resources/whatsapp/hosted-signups.mjs.map +1 -0
- package/resources/whatsapp/index.d.mts +2 -0
- package/resources/whatsapp/index.d.mts.map +1 -1
- package/resources/whatsapp/index.d.ts +2 -0
- package/resources/whatsapp/index.d.ts.map +1 -1
- package/resources/whatsapp/index.js +5 -1
- package/resources/whatsapp/index.js.map +1 -1
- package/resources/whatsapp/index.mjs +2 -0
- package/resources/whatsapp/index.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/calling-routing.d.mts +6 -5
- package/resources/whatsapp/phone-numbers/calling-routing.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/calling-routing.d.ts +6 -5
- package/resources/whatsapp/phone-numbers/calling-routing.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/calling-routing.js +6 -5
- package/resources/whatsapp/phone-numbers/calling-routing.js.map +1 -1
- package/resources/whatsapp/phone-numbers/calling-routing.mjs +6 -5
- package/resources/whatsapp/phone-numbers/calling-routing.mjs.map +1 -1
- package/resources/whatsapp/signup.d.mts +128 -0
- package/resources/whatsapp/signup.d.mts.map +1 -0
- package/resources/whatsapp/signup.d.ts +128 -0
- package/resources/whatsapp/signup.d.ts.map +1 -0
- package/resources/whatsapp/signup.js +42 -0
- package/resources/whatsapp/signup.js.map +1 -0
- package/resources/whatsapp/signup.mjs +38 -0
- package/resources/whatsapp/signup.mjs.map +1 -0
- package/resources/whatsapp/whatsapp.d.mts +8 -0
- package/resources/whatsapp/whatsapp.d.mts.map +1 -1
- package/resources/whatsapp/whatsapp.d.ts +8 -0
- package/resources/whatsapp/whatsapp.d.ts.map +1 -1
- package/resources/whatsapp/whatsapp.js +8 -0
- package/resources/whatsapp/whatsapp.js.map +1 -1
- package/resources/whatsapp/whatsapp.mjs +8 -0
- package/resources/whatsapp/whatsapp.mjs.map +1 -1
- package/src/client.ts +57 -4
- package/src/resources/addresses/addresses.ts +22 -2
- package/src/resources/ai/ai.ts +40 -3
- package/src/resources/ai/assistants/assistants.ts +455 -20
- package/src/resources/ai/assistants/index.ts +2 -0
- package/src/resources/ai/assistants/versions.ts +20 -1
- package/src/resources/ai/audio.ts +18 -5
- package/src/resources/ai/avatars.ts +252 -0
- package/src/resources/ai/chat.ts +20 -6
- package/src/resources/ai/conversations/conversations.ts +9 -0
- package/src/resources/ai/index.ts +14 -0
- package/src/resources/ai/memory/namespaces/index.ts +2 -0
- package/src/resources/ai/memory/namespaces/namespaces.ts +4 -0
- package/src/resources/ai/memory/namespaces/profiles/index.ts +2 -0
- package/src/resources/ai/memory/namespaces/profiles/profiles.ts +71 -0
- package/src/resources/ai/openai/chat.ts +20 -6
- package/src/resources/ai/tools.ts +35 -1
- package/src/resources/calls/actions.ts +346 -20
- package/src/resources/calls/calls.ts +26 -8
- package/src/resources/calls/index.ts +2 -0
- package/src/resources/credential-connections/credential-connections.ts +41 -8
- package/src/resources/dial-metrics.ts +185 -0
- package/src/resources/dir/dir.ts +13 -8
- package/src/resources/dir/phone-numbers.ts +1 -6
- package/src/resources/dir/references.ts +15 -9
- package/src/resources/dir/verify-email.ts +17 -5
- package/src/resources/email-domains/email-domains.ts +1 -1
- package/src/resources/email-templates.ts +121 -19
- package/src/resources/enterprises/dir.ts +8 -2
- package/src/resources/enterprises/enterprises.ts +7 -3
- package/src/resources/enterprises/index.ts +1 -0
- package/src/resources/enterprises/reputation/external-verification.ts +125 -0
- package/src/resources/enterprises/reputation/index.ts +12 -0
- package/src/resources/enterprises/reputation/loa.ts +3 -2
- package/src/resources/enterprises/reputation/numbers.ts +256 -3
- package/src/resources/enterprises/reputation/remediation.ts +3 -2
- package/src/resources/enterprises/reputation/reputation.ts +70 -0
- package/src/resources/enterprises/verify-email.ts +1 -1
- package/src/resources/fqdn-connections/fqdn-connections.ts +41 -8
- package/src/resources/global-ip-assignment-health.ts +4 -4
- package/src/resources/global-ip-assignments-usage.ts +4 -4
- package/src/resources/index.ts +21 -2
- package/src/resources/ip-connections.ts +39 -6
- package/src/resources/llm-token-gateway/index.ts +38 -1
- package/src/resources/llm-token-gateway/llm-token-gateway.ts +83 -1
- package/src/resources/llm-token-gateway/spend.ts +309 -0
- package/src/resources/llm-token-gateway/token-groups.ts +724 -0
- package/src/resources/llm-token-gateway/token-keys.ts +422 -0
- package/src/resources/llm-token-gateway/usage.ts +273 -149
- package/src/resources/meeting-sessions/actions.ts +13 -7
- package/src/resources/meeting-sessions/index.ts +0 -1
- package/src/resources/meeting-sessions/meeting-sessions.ts +48 -79
- package/src/resources/messages/messages.ts +786 -125
- package/src/resources/messages/rcs.ts +37 -7
- package/src/resources/phone-numbers/csv-downloads.ts +15 -2
- package/src/resources/phone-numbers/index.ts +3 -1
- package/src/resources/phone-numbers/jobs.ts +332 -15
- package/src/resources/phone-numbers/phone-numbers.ts +38 -2
- package/src/resources/porting-orders/phone-number-blocks.ts +1 -0
- package/src/resources/porting-orders/porting-orders.ts +1 -0
- package/src/resources/porting-phone-numbers.ts +1 -0
- package/src/resources/reputation/numbers.ts +12 -0
- package/src/resources/shared.ts +5 -0
- package/src/resources/sip-registration-status.ts +188 -0
- package/src/resources/speech-to-text/speech-to-text.ts +12 -4
- package/src/resources/telephony-credentials.ts +24 -2
- package/src/resources/texml/accounts/accounts.ts +2 -2
- package/src/resources/texml/accounts/calls/calls.ts +49 -14
- package/src/resources/texml/accounts/calls/recordings-json.ts +14 -4
- package/src/resources/texml/accounts/calls/recordings.ts +10 -2
- package/src/resources/texml/accounts/calls/siprec.ts +10 -2
- package/src/resources/texml/accounts/calls/streams.ts +10 -2
- package/src/resources/texml/accounts/conferences/conferences.ts +29 -9
- package/src/resources/texml/accounts/conferences/participants.ts +35 -10
- package/src/resources/texml/accounts/queues.ts +25 -8
- package/src/resources/texml/accounts/recordings/json.ts +14 -4
- package/src/resources/texml/accounts/transcriptions/json.ts +14 -4
- package/src/resources/texml/texml.ts +7 -3
- package/src/resources/text-to-speech/text-to-speech.ts +15 -6
- package/src/resources/tts-integrations/actions.ts +5 -0
- package/src/resources/tts-integrations/index.ts +4 -0
- package/src/resources/tts-integrations/tts-integrations.ts +15 -0
- package/src/resources/tts-integrations.ts +3 -0
- package/src/resources/uac-connections/uac-connections.ts +39 -6
- package/src/resources/voice-clones.ts +65 -9
- package/src/resources/webhooks.ts +1257 -96
- package/src/resources/whatsapp/hosted-signups.ts +221 -0
- package/src/resources/whatsapp/index.ts +16 -0
- package/src/resources/whatsapp/phone-numbers/calling-routing.ts +6 -5
- package/src/resources/whatsapp/signup.ts +188 -0
- package/src/resources/whatsapp/whatsapp.ts +40 -0
- 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
|
@@ -108,13 +108,22 @@ export interface PayToolParams {
|
|
|
108
108
|
*/
|
|
109
109
|
connector_name: string;
|
|
110
110
|
|
|
111
|
+
/**
|
|
112
|
+
* Custom key/value parameters forwarded to the pay connector as `parameters` in
|
|
113
|
+
* the processor request. String values may use `{{dynamic_variable}}` templating,
|
|
114
|
+
* resolved per call.
|
|
115
|
+
*/
|
|
116
|
+
connector_parameters?: { [key: string]: unknown };
|
|
117
|
+
|
|
111
118
|
/**
|
|
112
119
|
* Default currency for payments processed by this tool.
|
|
113
120
|
*/
|
|
114
121
|
currency?: string;
|
|
115
122
|
|
|
116
123
|
/**
|
|
117
|
-
*
|
|
124
|
+
* Description of the pay tool shown to the assistant so it knows when to call the
|
|
125
|
+
* tool. Not sent to the payment connector — the per-call `description` argument
|
|
126
|
+
* the assistant passes is what reaches the processor.
|
|
118
127
|
*/
|
|
119
128
|
description?: string | null;
|
|
120
129
|
|
|
@@ -122,6 +131,15 @@ export interface PayToolParams {
|
|
|
122
131
|
* Default payment method for payments processed by this tool.
|
|
123
132
|
*/
|
|
124
133
|
payment_method?: string;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Restricts accepted card numbers to the listed card types. When the caller enters
|
|
137
|
+
* a card number that does not match one of the listed types, Pay treats the input
|
|
138
|
+
* as invalid and re-prompts for the card number.
|
|
139
|
+
*/
|
|
140
|
+
valid_card_types?: Array<
|
|
141
|
+
'visa' | 'mastercard' | 'amex' | 'maestro' | 'discover' | 'optima' | 'jcb' | 'diners-club' | 'enroute'
|
|
142
|
+
>;
|
|
125
143
|
}
|
|
126
144
|
|
|
127
145
|
export interface SharedToolResponse {
|
|
@@ -184,6 +202,14 @@ export namespace UpdateDynamicVariablesToolParams {
|
|
|
184
202
|
}
|
|
185
203
|
}
|
|
186
204
|
|
|
205
|
+
export interface VisionToolParams {
|
|
206
|
+
/**
|
|
207
|
+
* Frames received longer ago than this many seconds are not shown to the
|
|
208
|
+
* assistant, so it never describes a frozen or disconnected camera as live.
|
|
209
|
+
*/
|
|
210
|
+
max_frame_age_secs?: number;
|
|
211
|
+
}
|
|
212
|
+
|
|
187
213
|
export interface ToolListParams extends DefaultFlatPaginationParams {
|
|
188
214
|
/**
|
|
189
215
|
* Filter results by filter name.
|
|
@@ -247,6 +273,11 @@ export interface ToolCreateParams {
|
|
|
247
273
|
*/
|
|
248
274
|
update_dynamic_variables?: UpdateDynamicVariablesToolParams;
|
|
249
275
|
|
|
276
|
+
/**
|
|
277
|
+
* Body param
|
|
278
|
+
*/
|
|
279
|
+
vision?: VisionToolParams;
|
|
280
|
+
|
|
250
281
|
/**
|
|
251
282
|
* Body param
|
|
252
283
|
*/
|
|
@@ -291,6 +322,8 @@ export interface ToolUpdateParams {
|
|
|
291
322
|
*/
|
|
292
323
|
update_dynamic_variables?: UpdateDynamicVariablesToolParams;
|
|
293
324
|
|
|
325
|
+
vision?: VisionToolParams;
|
|
326
|
+
|
|
294
327
|
webhook?: { [key: string]: unknown };
|
|
295
328
|
|
|
296
329
|
[k: string]: unknown;
|
|
@@ -301,6 +334,7 @@ export declare namespace Tools {
|
|
|
301
334
|
type PayToolParams as PayToolParams,
|
|
302
335
|
type SharedToolResponse as SharedToolResponse,
|
|
303
336
|
type UpdateDynamicVariablesToolParams as UpdateDynamicVariablesToolParams,
|
|
337
|
+
type VisionToolParams as VisionToolParams,
|
|
304
338
|
type SharedToolResponsesDefaultFlatPagination as SharedToolResponsesDefaultFlatPagination,
|
|
305
339
|
type ToolListParams as ToolListParams,
|
|
306
340
|
type ToolCreateParams as ToolCreateParams,
|
|
@@ -1180,6 +1180,42 @@ export interface CallControlCommandResultWithConversationID {
|
|
|
1180
1180
|
*/
|
|
1181
1181
|
export type ConversationRelayInterruptible = 'none' | 'any' | 'speech' | 'dtmf';
|
|
1182
1182
|
|
|
1183
|
+
/**
|
|
1184
|
+
* Engine-specific transcription settings for Conversation Relay. This accepts the
|
|
1185
|
+
* same provider-specific options used by the Call Transcription Start command,
|
|
1186
|
+
* such as `transcription_model`, without requiring the engine discriminator to be
|
|
1187
|
+
* repeated inside this object. With Deepgram Flux (`deepgram/flux`),
|
|
1188
|
+
* `interim_results`, `eot_threshold` and `eager_eot_threshold` control the interim
|
|
1189
|
+
* prompts and the `eagerEndOfTurn` and `turnResumed` frames sent to your WebSocket
|
|
1190
|
+
* server.
|
|
1191
|
+
*/
|
|
1192
|
+
export interface ConversationRelayTranscriptionEngineConfig {
|
|
1193
|
+
/**
|
|
1194
|
+
* Deepgram Flux: confidence at which an `eagerEndOfTurn` frame is sent before the
|
|
1195
|
+
* final prompt, followed by `turnResumed` if the caller keeps talking. When
|
|
1196
|
+
* omitted, these frames are not sent.
|
|
1197
|
+
*/
|
|
1198
|
+
eager_eot_threshold?: number;
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* Deepgram Flux: confidence required to end the caller's turn.
|
|
1202
|
+
*/
|
|
1203
|
+
eot_threshold?: number;
|
|
1204
|
+
|
|
1205
|
+
/**
|
|
1206
|
+
* Deepgram Flux: send interim transcripts as `prompt` frames with `last: false`.
|
|
1207
|
+
*/
|
|
1208
|
+
interim_results?: boolean;
|
|
1209
|
+
|
|
1210
|
+
[k: string]: unknown;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* Language to transcribe. Deepgram's medical and phonecall models support English
|
|
1215
|
+
* only.
|
|
1216
|
+
*/
|
|
1217
|
+
export type DeepgramEnglishTranscriptionLanguage = 'en' | 'en-US' | 'en-AU' | 'en-GB' | 'en-IN' | 'en-NZ';
|
|
1218
|
+
|
|
1183
1219
|
export interface DeepgramNova2Config {
|
|
1184
1220
|
transcription_engine: 'deepgram/nova-2';
|
|
1185
1221
|
|
|
@@ -1187,8 +1223,9 @@ export interface DeepgramNova2Config {
|
|
|
1187
1223
|
|
|
1188
1224
|
/**
|
|
1189
1225
|
* Nova-2 keyword biasing without intensifiers. Up to 100 terms to bias recognition
|
|
1190
|
-
* toward. For weighted biasing, use `keywords_boosting` instead.
|
|
1191
|
-
*
|
|
1226
|
+
* toward. For weighted biasing, use `keywords_boosting` instead. Supported on
|
|
1227
|
+
* Nova-2 models only (`deepgram/nova-2`, `deepgram/nova-2-medical`,
|
|
1228
|
+
* `deepgram/nova-2-phonecall`); use `keyterms` on Nova-3 and Flux.
|
|
1192
1229
|
*/
|
|
1193
1230
|
hints?: Array<string>;
|
|
1194
1231
|
|
|
@@ -1282,8 +1319,10 @@ export interface DeepgramNova3Config {
|
|
|
1282
1319
|
interim_results?: boolean;
|
|
1283
1320
|
|
|
1284
1321
|
/**
|
|
1285
|
-
*
|
|
1286
|
-
* recognition toward. Nova-3
|
|
1322
|
+
* Keyterm prompting. Up to 100 domain-specific terms or brand names to bias
|
|
1323
|
+
* recognition toward. Supported on Nova-3 and Flux models (`deepgram/nova-3`,
|
|
1324
|
+
* `deepgram/nova-3-medical`, `deepgram/flux`, `deepgram/flux-multi`); use `hints`
|
|
1325
|
+
* on Nova-2.
|
|
1287
1326
|
*/
|
|
1288
1327
|
keyterms?: Array<string>;
|
|
1289
1328
|
|
|
@@ -1741,7 +1780,11 @@ export interface TranscriptionConfig {
|
|
|
1741
1780
|
* detection, and the language codes `nl`, `en`, `fr`, `fy`, `de`, `it`, `pl`,
|
|
1742
1781
|
* `pt`, `es`, and `sv` to fix the transcription language. For `cohere/ar-stt`,
|
|
1743
1782
|
* supported values are `ar` and `en`; unlike other models, this model does not
|
|
1744
|
-
* auto-detect and defaults to `ar` when `language` is omitted.
|
|
1783
|
+
* auto-detect and defaults to `ar` when `language` is omitted. For
|
|
1784
|
+
* `speechmatics/linden-1`, there is no auto-detect; set a code from Speechmatics'
|
|
1785
|
+
* Realtime language list (see `SpeechmaticsTranscriptionLanguage`); unset defaults
|
|
1786
|
+
* to `en`, while an explicit `auto`, `auto_beta`, or `multi` is rejected (unlike
|
|
1787
|
+
* `speechmatics/standard`, which defaults to `en`).
|
|
1745
1788
|
*/
|
|
1746
1789
|
language?: string;
|
|
1747
1790
|
|
|
@@ -1753,6 +1796,9 @@ export interface TranscriptionConfig {
|
|
|
1753
1796
|
* - `deepgram/nova-3` and `deepgram/nova-2` for live streaming transcription.
|
|
1754
1797
|
* - `speechmatics/standard` and `speechmatics/enhanced` for live streaming
|
|
1755
1798
|
* transcription.
|
|
1799
|
+
* - `speechmatics/linden-1` (preview, vendor-hosted) for live streaming
|
|
1800
|
+
* transcription; no auto-detect, so set `language` from Speechmatics' Realtime
|
|
1801
|
+
* language list (defaults to `en`).
|
|
1756
1802
|
* - `assemblyai/universal-3-5-pro` for live streaming transcription. The legacy
|
|
1757
1803
|
* alias `assemblyai/universal-streaming` is still accepted and resolves to the
|
|
1758
1804
|
* same model.
|
|
@@ -1783,6 +1829,7 @@ export interface TranscriptionConfig {
|
|
|
1783
1829
|
| 'deepgram/nova-2'
|
|
1784
1830
|
| 'speechmatics/standard'
|
|
1785
1831
|
| 'speechmatics/enhanced'
|
|
1832
|
+
| 'speechmatics/linden-1'
|
|
1786
1833
|
| 'assemblyai/universal-3-5-pro'
|
|
1787
1834
|
| 'assemblyai/universal-streaming'
|
|
1788
1835
|
| 'xai/grok-stt'
|
|
@@ -2030,7 +2077,183 @@ export interface TranscriptionEngineCohereConfig {
|
|
|
2030
2077
|
transcription_model?: 'cohere/ar-stt';
|
|
2031
2078
|
}
|
|
2032
2079
|
|
|
2033
|
-
|
|
2080
|
+
/**
|
|
2081
|
+
* Deepgram Nova-2 specialty models: `deepgram/nova-2-medical` (medical vocabulary)
|
|
2082
|
+
* and `deepgram/nova-2-phonecall` (low-bandwidth phone audio). English only.
|
|
2083
|
+
*/
|
|
2084
|
+
export type TranscriptionEngineDeepgramConfig =
|
|
2085
|
+
| DeepgramNova2Config
|
|
2086
|
+
| TranscriptionEngineDeepgramConfig.DeepgramNova2SpecialtyConfig
|
|
2087
|
+
| DeepgramNova3Config
|
|
2088
|
+
| TranscriptionEngineDeepgramConfig.DeepgramNova3MedicalConfig
|
|
2089
|
+
| TranscriptionEngineDeepgramConfig.DeepgramFluxConfig
|
|
2090
|
+
| TranscriptionEngineDeepgramConfig.DeepgramFluxMultiConfig;
|
|
2091
|
+
|
|
2092
|
+
export namespace TranscriptionEngineDeepgramConfig {
|
|
2093
|
+
/**
|
|
2094
|
+
* Deepgram Nova-2 specialty models: `deepgram/nova-2-medical` (medical vocabulary)
|
|
2095
|
+
* and `deepgram/nova-2-phonecall` (low-bandwidth phone audio). English only.
|
|
2096
|
+
*/
|
|
2097
|
+
export interface DeepgramNova2SpecialtyConfig {
|
|
2098
|
+
transcription_engine: 'Deepgram';
|
|
2099
|
+
|
|
2100
|
+
transcription_model: 'deepgram/nova-2-medical' | 'deepgram/nova-2-phonecall';
|
|
2101
|
+
|
|
2102
|
+
/**
|
|
2103
|
+
* Nova-2 keyword biasing without intensifiers. Up to 100 terms to bias recognition
|
|
2104
|
+
* toward. For weighted biasing, use `keywords_boosting` instead. Supported on
|
|
2105
|
+
* Nova-2 models only (`deepgram/nova-2`, `deepgram/nova-2-medical`,
|
|
2106
|
+
* `deepgram/nova-2-phonecall`); use `keyterms` on Nova-3 and Flux.
|
|
2107
|
+
*/
|
|
2108
|
+
hints?: Array<string>;
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* Whether to send also interim results. If set to false, only final results will
|
|
2112
|
+
* be sent.
|
|
2113
|
+
*/
|
|
2114
|
+
interim_results?: boolean;
|
|
2115
|
+
|
|
2116
|
+
/**
|
|
2117
|
+
* Keywords and their respective intensifiers (boosting values) to improve
|
|
2118
|
+
* transcription accuracy for specific words or phrases. The intensifier should be
|
|
2119
|
+
* a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.
|
|
2120
|
+
*/
|
|
2121
|
+
keywords_boosting?: { [key: string]: number };
|
|
2122
|
+
|
|
2123
|
+
/**
|
|
2124
|
+
* Language to transcribe. Deepgram's medical and phonecall models support English
|
|
2125
|
+
* only.
|
|
2126
|
+
*/
|
|
2127
|
+
language?: ActionsAPI.DeepgramEnglishTranscriptionLanguage;
|
|
2128
|
+
|
|
2129
|
+
/**
|
|
2130
|
+
* Enable Deepgram's smart formatting (capitalization, punctuation, and digit
|
|
2131
|
+
* normalization). Note: Telnyx defaults this to `true`, overriding Deepgram's
|
|
2132
|
+
* underlying default of `false` — omit the field to get a smart-formatted
|
|
2133
|
+
* transcript, or set it to `false` to receive the raw lowercase transcript without
|
|
2134
|
+
* punctuation.
|
|
2135
|
+
*/
|
|
2136
|
+
smart_format?: boolean;
|
|
2137
|
+
|
|
2138
|
+
/**
|
|
2139
|
+
* Number of milliseconds of silence to consider an utterance ended. Ranges from 0
|
|
2140
|
+
* to 5000 ms.
|
|
2141
|
+
*/
|
|
2142
|
+
utterance_end_ms?: number;
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
/**
|
|
2146
|
+
* Deepgram Nova-3 medical model, tuned for medical vocabulary. English only.
|
|
2147
|
+
*/
|
|
2148
|
+
export interface DeepgramNova3MedicalConfig {
|
|
2149
|
+
transcription_engine: 'Deepgram';
|
|
2150
|
+
|
|
2151
|
+
transcription_model: 'deepgram/nova-3-medical';
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* Whether to send also interim results. If set to false, only final results will
|
|
2155
|
+
* be sent.
|
|
2156
|
+
*/
|
|
2157
|
+
interim_results?: boolean;
|
|
2158
|
+
|
|
2159
|
+
/**
|
|
2160
|
+
* Keyterm prompting. Up to 100 domain-specific terms or brand names to bias
|
|
2161
|
+
* recognition toward. Supported on Nova-3 and Flux models (`deepgram/nova-3`,
|
|
2162
|
+
* `deepgram/nova-3-medical`, `deepgram/flux`, `deepgram/flux-multi`); use `hints`
|
|
2163
|
+
* on Nova-2.
|
|
2164
|
+
*/
|
|
2165
|
+
keyterms?: Array<string>;
|
|
2166
|
+
|
|
2167
|
+
/**
|
|
2168
|
+
* Keywords and their respective intensifiers (boosting values) to improve
|
|
2169
|
+
* transcription accuracy for specific words or phrases. The intensifier should be
|
|
2170
|
+
* a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.
|
|
2171
|
+
*/
|
|
2172
|
+
keywords_boosting?: { [key: string]: number };
|
|
2173
|
+
|
|
2174
|
+
/**
|
|
2175
|
+
* Language to transcribe. Deepgram's medical and phonecall models support English
|
|
2176
|
+
* only.
|
|
2177
|
+
*/
|
|
2178
|
+
language?: ActionsAPI.DeepgramEnglishTranscriptionLanguage;
|
|
2179
|
+
|
|
2180
|
+
/**
|
|
2181
|
+
* Enable Deepgram's smart formatting (capitalization, punctuation, and digit
|
|
2182
|
+
* normalization). Note: Telnyx defaults this to `true`, overriding Deepgram's
|
|
2183
|
+
* underlying default of `false` — omit the field to get a smart-formatted
|
|
2184
|
+
* transcript, or set it to `false` to receive the raw lowercase transcript without
|
|
2185
|
+
* punctuation.
|
|
2186
|
+
*/
|
|
2187
|
+
smart_format?: boolean;
|
|
2188
|
+
|
|
2189
|
+
/**
|
|
2190
|
+
* Number of milliseconds of silence to consider an utterance ended. Ranges from 0
|
|
2191
|
+
* to 5000 ms.
|
|
2192
|
+
*/
|
|
2193
|
+
utterance_end_ms?: number;
|
|
2194
|
+
}
|
|
2195
|
+
|
|
2196
|
+
/**
|
|
2197
|
+
* Deepgram Flux (English), a conversational speech recognition model with built-in
|
|
2198
|
+
* end-of-turn detection. `smart_format`, `utterance_end_ms`, `hints` and
|
|
2199
|
+
* `keywords_boosting` do not apply to Flux.
|
|
2200
|
+
*/
|
|
2201
|
+
export interface DeepgramFluxConfig {
|
|
2202
|
+
transcription_engine: 'Deepgram';
|
|
2203
|
+
|
|
2204
|
+
transcription_model: 'deepgram/flux';
|
|
2205
|
+
|
|
2206
|
+
/**
|
|
2207
|
+
* Whether to send also interim results. If set to false, only final results will
|
|
2208
|
+
* be sent.
|
|
2209
|
+
*/
|
|
2210
|
+
interim_results?: boolean;
|
|
2211
|
+
|
|
2212
|
+
/**
|
|
2213
|
+
* Keyterm prompting. Up to 100 domain-specific terms or brand names to bias
|
|
2214
|
+
* recognition toward. Supported on Nova-3 and Flux models (`deepgram/nova-3`,
|
|
2215
|
+
* `deepgram/nova-3-medical`, `deepgram/flux`, `deepgram/flux-multi`); use `hints`
|
|
2216
|
+
* on Nova-2.
|
|
2217
|
+
*/
|
|
2218
|
+
keyterms?: Array<string>;
|
|
2219
|
+
|
|
2220
|
+
/**
|
|
2221
|
+
* Language to transcribe. `deepgram/flux` supports English only.
|
|
2222
|
+
*/
|
|
2223
|
+
language?: 'en';
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
/**
|
|
2227
|
+
* Deepgram Flux multilingual, a conversational speech recognition model with
|
|
2228
|
+
* built-in end-of-turn detection. `smart_format`, `utterance_end_ms`, `hints` and
|
|
2229
|
+
* `keywords_boosting` do not apply to Flux.
|
|
2230
|
+
*/
|
|
2231
|
+
export interface DeepgramFluxMultiConfig {
|
|
2232
|
+
transcription_engine: 'Deepgram';
|
|
2233
|
+
|
|
2234
|
+
transcription_model: 'deepgram/flux-multi';
|
|
2235
|
+
|
|
2236
|
+
/**
|
|
2237
|
+
* Whether to send also interim results. If set to false, only final results will
|
|
2238
|
+
* be sent.
|
|
2239
|
+
*/
|
|
2240
|
+
interim_results?: boolean;
|
|
2241
|
+
|
|
2242
|
+
/**
|
|
2243
|
+
* Keyterm prompting. Up to 100 domain-specific terms or brand names to bias
|
|
2244
|
+
* recognition toward. Supported on Nova-3 and Flux models (`deepgram/nova-3`,
|
|
2245
|
+
* `deepgram/nova-3-medical`, `deepgram/flux`, `deepgram/flux-multi`); use `hints`
|
|
2246
|
+
* on Nova-2.
|
|
2247
|
+
*/
|
|
2248
|
+
keyterms?: Array<string>;
|
|
2249
|
+
|
|
2250
|
+
/**
|
|
2251
|
+
* Language to transcribe. Flux-multi uses the language as a hint; `auto` lets Flux
|
|
2252
|
+
* detect the language.
|
|
2253
|
+
*/
|
|
2254
|
+
language?: 'en' | 'es' | 'fr' | 'de' | 'hi' | 'ru' | 'pt' | 'ja' | 'it' | 'nl' | 'auto';
|
|
2255
|
+
}
|
|
2256
|
+
}
|
|
2034
2257
|
|
|
2035
2258
|
export interface TranscriptionEngineGoogleConfig {
|
|
2036
2259
|
/**
|
|
@@ -2207,7 +2430,21 @@ export interface TranscriptionEngineSpeechmaticsConfig {
|
|
|
2207
2430
|
interim_results?: boolean;
|
|
2208
2431
|
|
|
2209
2432
|
/**
|
|
2210
|
-
* Language to use for speech recognition
|
|
2433
|
+
* Language to use for speech recognition. Accepted values depend on the selected
|
|
2434
|
+
* `transcription_model`. `speechmatics/standard` supports: `en`, `ba`, `eu`, `gl`,
|
|
2435
|
+
* `ga`, `mt`, `mn`, `sw`, `ug`, `cy`, `ar_en`, `cmn_en`, `en_ms`, `en_ta`, `tl`,
|
|
2436
|
+
* `es-bilingual-en`, `cmn_en_ms_ta`. `speechmatics/linden-1` (preview) supports
|
|
2437
|
+
* the same languages as Speechmatics Realtime: `ar`, `ar_en`, `ba`, `be`, `bg`,
|
|
2438
|
+
* `bn`, `ca`, `cmn`, `cmn_en`, `cmn_en_ms_ta`, `cs`, `cy`, `da`, `de`, `el`, `en`,
|
|
2439
|
+
* `en_ms`, `en_ta`, `eo`, `es`, `es-bilingual-en`, `et`, `eu`, `fa`, `fi`, `fr`,
|
|
2440
|
+
* `ga`, `gl`, `he`, `hi`, `hr`, `hu`, `ia`, `id`, `it`, `ja`, `ko`, `lt`, `lv`,
|
|
2441
|
+
* `mn`, `mr`, `ms`, `mt`, `nl`, `no`, `pl`, `pt`, `ro`, `ru`, `sk`, `sl`, `sv`,
|
|
2442
|
+
* `sw`, `ta`, `th`, `tl`, `tr`, `ug`, `uk`, `ur`, `vi`, `yue`, plus the spelling
|
|
2443
|
+
* and script variants `en-US`, `en-GB`, `en-AU`, `cmn-Hans`, and `cmn-Hant` (`en`
|
|
2444
|
+
* alone uses the default spelling). A value outside the selected model's list is
|
|
2445
|
+
* rejected. For `speechmatics/standard`, unset, blank, `auto`, `auto_beta`, or
|
|
2446
|
+
* `multi` defaults to `en`; for `speechmatics/linden-1`, only an unset language
|
|
2447
|
+
* defaults to `en`, and `auto`, `auto_beta`, or `multi` is rejected.
|
|
2211
2448
|
*/
|
|
2212
2449
|
language?:
|
|
2213
2450
|
| 'en'
|
|
@@ -2226,7 +2463,57 @@ export interface TranscriptionEngineSpeechmaticsConfig {
|
|
|
2226
2463
|
| 'en_ta'
|
|
2227
2464
|
| 'tl'
|
|
2228
2465
|
| 'es-bilingual-en'
|
|
2229
|
-
| 'cmn_en_ms_ta'
|
|
2466
|
+
| 'cmn_en_ms_ta'
|
|
2467
|
+
| 'ar'
|
|
2468
|
+
| 'be'
|
|
2469
|
+
| 'bg'
|
|
2470
|
+
| 'bn'
|
|
2471
|
+
| 'ca'
|
|
2472
|
+
| 'cmn'
|
|
2473
|
+
| 'cs'
|
|
2474
|
+
| 'da'
|
|
2475
|
+
| 'de'
|
|
2476
|
+
| 'el'
|
|
2477
|
+
| 'eo'
|
|
2478
|
+
| 'es'
|
|
2479
|
+
| 'et'
|
|
2480
|
+
| 'fa'
|
|
2481
|
+
| 'fi'
|
|
2482
|
+
| 'fr'
|
|
2483
|
+
| 'he'
|
|
2484
|
+
| 'hi'
|
|
2485
|
+
| 'hr'
|
|
2486
|
+
| 'hu'
|
|
2487
|
+
| 'ia'
|
|
2488
|
+
| 'id'
|
|
2489
|
+
| 'it'
|
|
2490
|
+
| 'ja'
|
|
2491
|
+
| 'ko'
|
|
2492
|
+
| 'lt'
|
|
2493
|
+
| 'lv'
|
|
2494
|
+
| 'mr'
|
|
2495
|
+
| 'ms'
|
|
2496
|
+
| 'nl'
|
|
2497
|
+
| 'no'
|
|
2498
|
+
| 'pl'
|
|
2499
|
+
| 'pt'
|
|
2500
|
+
| 'ro'
|
|
2501
|
+
| 'ru'
|
|
2502
|
+
| 'sk'
|
|
2503
|
+
| 'sl'
|
|
2504
|
+
| 'sv'
|
|
2505
|
+
| 'ta'
|
|
2506
|
+
| 'th'
|
|
2507
|
+
| 'tr'
|
|
2508
|
+
| 'uk'
|
|
2509
|
+
| 'ur'
|
|
2510
|
+
| 'vi'
|
|
2511
|
+
| 'yue'
|
|
2512
|
+
| 'en-US'
|
|
2513
|
+
| 'en-GB'
|
|
2514
|
+
| 'en-AU'
|
|
2515
|
+
| 'cmn-Hans'
|
|
2516
|
+
| 'cmn-Hant';
|
|
2230
2517
|
|
|
2231
2518
|
/**
|
|
2232
2519
|
* Engine identifier for Speechmatics transcription service
|
|
@@ -2234,9 +2521,10 @@ export interface TranscriptionEngineSpeechmaticsConfig {
|
|
|
2234
2521
|
transcription_engine?: 'Speechmatics';
|
|
2235
2522
|
|
|
2236
2523
|
/**
|
|
2237
|
-
* The model to use for transcription.
|
|
2524
|
+
* The model to use for transcription. `speechmatics/linden-1` is a preview,
|
|
2525
|
+
* vendor-hosted model with its own language support (see `language`).
|
|
2238
2526
|
*/
|
|
2239
|
-
transcription_model?: 'speechmatics/standard';
|
|
2527
|
+
transcription_model?: 'speechmatics/standard' | 'speechmatics/linden-1';
|
|
2240
2528
|
}
|
|
2241
2529
|
|
|
2242
2530
|
export interface TranscriptionEngineTelnyxConfig {
|
|
@@ -3313,10 +3601,10 @@ export interface ActionGatherUsingAIParams {
|
|
|
3313
3601
|
* the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
|
|
3314
3602
|
* [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
|
|
3315
3603
|
* for compatibility.
|
|
3316
|
-
* - **Azure:** Use `Azure.<VoiceId
|
|
3317
|
-
* Azure.en-CA-LiamNeural
|
|
3318
|
-
* Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to
|
|
3319
|
-
* [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).
|
|
3604
|
+
* - **Azure:** Use `Azure.<VoiceId>` (e.g., `Azure.en-CA-ClaraNeural`,
|
|
3605
|
+
* `Azure.en-CA-LiamNeural`, `Azure.en-US-BrianMultilingualNeural`,
|
|
3606
|
+
* `Azure.en-US-Ava:DragonHDLatestNeural`). For a complete list of voices, go to
|
|
3607
|
+
* [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).
|
|
3320
3608
|
* - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
|
|
3321
3609
|
* `ElevenLabs.BaseModel.John`). The `ModelId` part is optional. To use
|
|
3322
3610
|
* ElevenLabs, you must provide your ElevenLabs API key as an integration secret
|
|
@@ -3665,6 +3953,18 @@ export interface ActionHangupParams {
|
|
|
3665
3953
|
* Custom headers to be added to the SIP BYE message.
|
|
3666
3954
|
*/
|
|
3667
3955
|
custom_headers?: Array<CallsAPI.CustomSipHeader>;
|
|
3956
|
+
|
|
3957
|
+
/**
|
|
3958
|
+
* Text for the SIP `Reason` header (RFC 3326) sent when cancelling an unanswered
|
|
3959
|
+
* outbound leg. The SIP CANCEL carries `Reason: SIP;cause=200;text="<reason>"`;
|
|
3960
|
+
* phones such as Poly and Yealink use it to suppress the missed-call entry for a
|
|
3961
|
+
* call answered elsewhere. Has no effect on an answered leg or an inbound leg. A
|
|
3962
|
+
* hangup sent before the leg's `call.initiated` webhook still hangs up the leg,
|
|
3963
|
+
* but without the `Reason` header. Must not contain `"`, `\`, control characters,
|
|
3964
|
+
* or characters outside the Basic Multilingual Plane (such as emoji); invalid
|
|
3965
|
+
* values are rejected with a 422.
|
|
3966
|
+
*/
|
|
3967
|
+
reason?: string;
|
|
3668
3968
|
}
|
|
3669
3969
|
|
|
3670
3970
|
export interface ActionLeaveQueueParams {
|
|
@@ -5429,9 +5729,12 @@ export interface ActionStartConversationRelayParams {
|
|
|
5429
5729
|
* Engine-specific transcription settings for Conversation Relay. This accepts the
|
|
5430
5730
|
* same provider-specific options used by the Call Transcription Start command,
|
|
5431
5731
|
* such as `transcription_model`, without requiring the engine discriminator to be
|
|
5432
|
-
* repeated inside this object.
|
|
5732
|
+
* repeated inside this object. With Deepgram Flux (`deepgram/flux`),
|
|
5733
|
+
* `interim_results`, `eot_threshold` and `eager_eot_threshold` control the interim
|
|
5734
|
+
* prompts and the `eagerEndOfTurn` and `turnResumed` frames sent to your WebSocket
|
|
5735
|
+
* server.
|
|
5433
5736
|
*/
|
|
5434
|
-
transcription_engine_config?:
|
|
5737
|
+
transcription_engine_config?: ConversationRelayTranscriptionEngineConfig;
|
|
5435
5738
|
|
|
5436
5739
|
/**
|
|
5437
5740
|
* Text-to-speech provider. If omitted, Telnyx derives it from `voice` or
|
|
@@ -5456,10 +5759,10 @@ export interface ActionStartConversationRelayParams {
|
|
|
5456
5759
|
* the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
|
|
5457
5760
|
* [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
|
|
5458
5761
|
* for compatibility.
|
|
5459
|
-
* - **Azure:** Use `Azure.<VoiceId
|
|
5460
|
-
* Azure.en-CA-LiamNeural
|
|
5461
|
-
* Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to
|
|
5462
|
-
* [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).
|
|
5762
|
+
* - **Azure:** Use `Azure.<VoiceId>` (e.g., `Azure.en-CA-ClaraNeural`,
|
|
5763
|
+
* `Azure.en-CA-LiamNeural`, `Azure.en-US-BrianMultilingualNeural`,
|
|
5764
|
+
* `Azure.en-US-Ava:DragonHDLatestNeural`). For a complete list of voices, go to
|
|
5765
|
+
* [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).
|
|
5463
5766
|
* - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
|
|
5464
5767
|
* `ElevenLabs.BaseModel.John`). The `ModelId` part is optional. To use
|
|
5465
5768
|
* ElevenLabs, you must provide your ElevenLabs API key as an integration secret
|
|
@@ -5622,6 +5925,15 @@ export interface ActionPayParams {
|
|
|
5622
5925
|
*/
|
|
5623
5926
|
metadata?: { [key: string]: unknown };
|
|
5624
5927
|
|
|
5928
|
+
/**
|
|
5929
|
+
* Minimum number of digits the caller must enter when collecting a credit-card
|
|
5930
|
+
* billing postal code. Applies only when `postal_code` is `true` or `"true"` and
|
|
5931
|
+
* no `payment_token` is supplied. The default is 1. The maximum number of digits
|
|
5932
|
+
* collected is the greater of 10 and this value. This does not validate the length
|
|
5933
|
+
* of a postal code supplied directly in `postal_code`.
|
|
5934
|
+
*/
|
|
5935
|
+
min_postal_code_length?: number;
|
|
5936
|
+
|
|
5625
5937
|
/**
|
|
5626
5938
|
* Additional parameters forwarded to the Pay connector.
|
|
5627
5939
|
*/
|
|
@@ -5637,6 +5949,18 @@ export interface ActionPayParams {
|
|
|
5637
5949
|
*/
|
|
5638
5950
|
payment_token?: string;
|
|
5639
5951
|
|
|
5952
|
+
/**
|
|
5953
|
+
* Controls billing postal code collection for credit-card payments when no
|
|
5954
|
+
* `payment_token` is supplied. Set to `true` or the string `"true"` (the default)
|
|
5955
|
+
* to prompt the caller for a postal code. Set to `false` or the string `"false"`
|
|
5956
|
+
* to skip the postal code prompt without supplying a postal code to the payment
|
|
5957
|
+
* connector. Supply any other non-empty string, such as `"90210"`, to use that
|
|
5958
|
+
* postal code without prompting. Empty or whitespace-only strings are rejected.
|
|
5959
|
+
* This option does not affect ACH debit payments or payments using an existing
|
|
5960
|
+
* token.
|
|
5961
|
+
*/
|
|
5962
|
+
postal_code?: string | boolean;
|
|
5963
|
+
|
|
5640
5964
|
/**
|
|
5641
5965
|
* Custom text-to-speech prompts keyed by payment collection step.
|
|
5642
5966
|
*/
|
|
@@ -5722,6 +6046,8 @@ export declare namespace Actions {
|
|
|
5722
6046
|
type CallControlCommandResult as CallControlCommandResult,
|
|
5723
6047
|
type CallControlCommandResultWithConversationID as CallControlCommandResultWithConversationID,
|
|
5724
6048
|
type ConversationRelayInterruptible as ConversationRelayInterruptible,
|
|
6049
|
+
type ConversationRelayTranscriptionEngineConfig as ConversationRelayTranscriptionEngineConfig,
|
|
6050
|
+
type DeepgramEnglishTranscriptionLanguage as DeepgramEnglishTranscriptionLanguage,
|
|
5725
6051
|
type DeepgramNova2Config as DeepgramNova2Config,
|
|
5726
6052
|
type DeepgramNova3Config as DeepgramNova3Config,
|
|
5727
6053
|
type DeveloperMessage as DeveloperMessage,
|
|
@@ -93,6 +93,8 @@ import {
|
|
|
93
93
|
CallControlCommandResult,
|
|
94
94
|
CallControlCommandResultWithConversationID,
|
|
95
95
|
ConversationRelayInterruptible,
|
|
96
|
+
ConversationRelayTranscriptionEngineConfig,
|
|
97
|
+
DeepgramEnglishTranscriptionLanguage,
|
|
96
98
|
DeepgramNova2Config,
|
|
97
99
|
DeepgramNova3Config,
|
|
98
100
|
DeveloperMessage,
|
|
@@ -138,10 +140,18 @@ export class Calls extends APIResource {
|
|
|
138
140
|
* include a `call_leg_id` which can be used to correlate the command with
|
|
139
141
|
* subsequent webhooks.
|
|
140
142
|
*
|
|
143
|
+
* To place the call with an AI assistant from the start, include `assistant.id`
|
|
144
|
+
* and any per-call overrides in the `assistant` object; Telnyx attempts to warm up
|
|
145
|
+
* the assistant before placing the call and starts it automatically when the
|
|
146
|
+
* called party answers.
|
|
147
|
+
*
|
|
141
148
|
* **Expected Webhooks:**
|
|
142
149
|
*
|
|
143
150
|
* - `call.initiated`
|
|
144
151
|
* - `call.answered` or `call.hangup`
|
|
152
|
+
* - `call.conversation.created` when the requested assistant conversation is
|
|
153
|
+
* created, or `call.conversation.start_failed` when it could not be started
|
|
154
|
+
* after the called party answered
|
|
145
155
|
* - `call.hold` and `call.unhold` if the call is held/unheld
|
|
146
156
|
* - `call.machine.detection.ended` if `answering_machine_detection` was requested
|
|
147
157
|
* - `call.machine.greeting.ended` if `answering_machine_detection` was requested
|
|
@@ -516,9 +526,12 @@ export interface ConversationRelayEmbeddedConfig {
|
|
|
516
526
|
* Engine-specific transcription settings for Conversation Relay. This accepts the
|
|
517
527
|
* same provider-specific options used by the Call Transcription Start command,
|
|
518
528
|
* such as `transcription_model`, without requiring the engine discriminator to be
|
|
519
|
-
* repeated inside this object.
|
|
529
|
+
* repeated inside this object. With Deepgram Flux (`deepgram/flux`),
|
|
530
|
+
* `interim_results`, `eot_threshold` and `eager_eot_threshold` control the interim
|
|
531
|
+
* prompts and the `eagerEndOfTurn` and `turnResumed` frames sent to your WebSocket
|
|
532
|
+
* server.
|
|
520
533
|
*/
|
|
521
|
-
transcription_engine_config?:
|
|
534
|
+
transcription_engine_config?: ActionsAPI.ConversationRelayTranscriptionEngineConfig;
|
|
522
535
|
|
|
523
536
|
/**
|
|
524
537
|
* Text-to-speech provider. If omitted, Telnyx derives it from `voice` or
|
|
@@ -537,10 +550,10 @@ export interface ConversationRelayEmbeddedConfig {
|
|
|
537
550
|
* the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
|
|
538
551
|
* [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
|
|
539
552
|
* for compatibility.
|
|
540
|
-
* - **Azure:** Use `Azure.<VoiceId
|
|
541
|
-
* Azure.en-CA-LiamNeural
|
|
542
|
-
* Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to
|
|
543
|
-
* [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).
|
|
553
|
+
* - **Azure:** Use `Azure.<VoiceId>` (e.g., `Azure.en-CA-ClaraNeural`,
|
|
554
|
+
* `Azure.en-CA-LiamNeural`, `Azure.en-US-BrianMultilingualNeural`,
|
|
555
|
+
* `Azure.en-US-Ava:DragonHDLatestNeural`). For a complete list of voices, go to
|
|
556
|
+
* [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).
|
|
544
557
|
* - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
|
|
545
558
|
* `ElevenLabs.BaseModel.John`). The `ModelId` part is optional. To use
|
|
546
559
|
* ElevenLabs, you must provide your ElevenLabs API key as an integration secret
|
|
@@ -655,9 +668,12 @@ export interface ConversationRelayLanguage {
|
|
|
655
668
|
* Engine-specific transcription settings for Conversation Relay. This accepts the
|
|
656
669
|
* same provider-specific options used by the Call Transcription Start command,
|
|
657
670
|
* such as `transcription_model`, without requiring the engine discriminator to be
|
|
658
|
-
* repeated inside this object.
|
|
671
|
+
* repeated inside this object. With Deepgram Flux (`deepgram/flux`),
|
|
672
|
+
* `interim_results`, `eot_threshold` and `eager_eot_threshold` control the interim
|
|
673
|
+
* prompts and the `eagerEndOfTurn` and `turnResumed` frames sent to your WebSocket
|
|
674
|
+
* server.
|
|
659
675
|
*/
|
|
660
|
-
transcription_engine_config?:
|
|
676
|
+
transcription_engine_config?: ActionsAPI.ConversationRelayTranscriptionEngineConfig;
|
|
661
677
|
|
|
662
678
|
/**
|
|
663
679
|
* Conversation Relay transcription provider name. Prefer `transcription_engine`
|
|
@@ -1643,6 +1659,8 @@ export declare namespace Calls {
|
|
|
1643
1659
|
type CallControlCommandResult as CallControlCommandResult,
|
|
1644
1660
|
type CallControlCommandResultWithConversationID as CallControlCommandResultWithConversationID,
|
|
1645
1661
|
type ConversationRelayInterruptible as ConversationRelayInterruptible,
|
|
1662
|
+
type ConversationRelayTranscriptionEngineConfig as ConversationRelayTranscriptionEngineConfig,
|
|
1663
|
+
type DeepgramEnglishTranscriptionLanguage as DeepgramEnglishTranscriptionLanguage,
|
|
1646
1664
|
type DeepgramNova2Config as DeepgramNova2Config,
|
|
1647
1665
|
type DeepgramNova3Config as DeepgramNova3Config,
|
|
1648
1666
|
type DeveloperMessage as DeveloperMessage,
|
|
@@ -8,6 +8,8 @@ export {
|
|
|
8
8
|
type CallControlCommandResult,
|
|
9
9
|
type CallControlCommandResultWithConversationID,
|
|
10
10
|
type ConversationRelayInterruptible,
|
|
11
|
+
type ConversationRelayTranscriptionEngineConfig,
|
|
12
|
+
type DeepgramEnglishTranscriptionLanguage,
|
|
11
13
|
type DeepgramNova2Config,
|
|
12
14
|
type DeepgramNova3Config,
|
|
13
15
|
type DeveloperMessage,
|