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
package/src/resources/shared.ts
CHANGED
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* UAC connection operations
|
|
9
|
+
*/
|
|
10
|
+
export class SipRegistrationStatus extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Returns the live SIP registration status for a Telnyx endpoint: whether it is
|
|
13
|
+
* currently registered, when the current registration expires, and the last
|
|
14
|
+
* response Telnyx received from the registrar.
|
|
15
|
+
*
|
|
16
|
+
* The endpoint supports three credential types, selected with the
|
|
17
|
+
* `credential_type` query parameter. Each type is keyed by a different identifier:
|
|
18
|
+
*
|
|
19
|
+
* | `credential_type` | Keyed by | Use case |
|
|
20
|
+
* | --------------------------- | --------------- | -------------------------------------------------------------------------- |
|
|
21
|
+
* | `uac_external_credential` | `connection_id` | A UAC (SIP attach) connection that registers to an external PBX. |
|
|
22
|
+
* | `telephony_credential` | `username` | An ephemeral, one-time-use telephony credential. |
|
|
23
|
+
* | `sip_credential_connection` | `username` | A traditional SIP credential connection that registers directly to Telnyx. |
|
|
24
|
+
*
|
|
25
|
+
* The authenticated account is taken from your API key; you can only read the
|
|
26
|
+
* registration status of connections and credentials your account owns.
|
|
27
|
+
*/
|
|
28
|
+
list(
|
|
29
|
+
query: SipRegistrationStatusListParams,
|
|
30
|
+
options?: RequestOptions,
|
|
31
|
+
): APIPromise<SipRegistrationStatusListResponse> {
|
|
32
|
+
return this._client.get('/sip_registration_status', { query, ...options });
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface SipRegistrationStatusListResponse {
|
|
37
|
+
/**
|
|
38
|
+
* Identifier of the connection associated with the credential.
|
|
39
|
+
*/
|
|
40
|
+
connection_id?: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Human-readable connection name.
|
|
44
|
+
*/
|
|
45
|
+
connection_name?: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* The credential type that was looked up.
|
|
49
|
+
*/
|
|
50
|
+
credential_type?: 'uac_external_credential' | 'telephony_credential' | 'sip_credential_connection';
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* SIP username used for the registration.
|
|
54
|
+
*/
|
|
55
|
+
credential_username?: string;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* SIP response from the last registration attempt.
|
|
59
|
+
*/
|
|
60
|
+
last_registration_response?: string | null;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* True if the endpoint is currently registered.
|
|
64
|
+
*/
|
|
65
|
+
registered?: boolean;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Detailed registration information reported by the registrar. The populated
|
|
69
|
+
* fields depend on `credential_type`: UAC external credentials report
|
|
70
|
+
* `auth_retries`, `uptime`, `next_action_at`, `failures`, and `sip_uri_user_host`;
|
|
71
|
+
* telephony credentials and SIP credential connections report `ua_ip`, `ua_port`,
|
|
72
|
+
* `transport`, and `last_modified`. All types report `expires`, but its unit
|
|
73
|
+
* differs by `credential_type` — see that field.
|
|
74
|
+
*/
|
|
75
|
+
sip_registration_details?: SipRegistrationStatusListResponse.SipRegistrationDetails;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Human-readable registration status derived from the registrar state.
|
|
79
|
+
*/
|
|
80
|
+
sip_registration_status?:
|
|
81
|
+
| 'unregistering'
|
|
82
|
+
| 'connection_disabled'
|
|
83
|
+
| 'standby'
|
|
84
|
+
| 'failed'
|
|
85
|
+
| 'trying'
|
|
86
|
+
| 'registered'
|
|
87
|
+
| 'unknown';
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export namespace SipRegistrationStatusListResponse {
|
|
91
|
+
/**
|
|
92
|
+
* Detailed registration information reported by the registrar. The populated
|
|
93
|
+
* fields depend on `credential_type`: UAC external credentials report
|
|
94
|
+
* `auth_retries`, `uptime`, `next_action_at`, `failures`, and `sip_uri_user_host`;
|
|
95
|
+
* telephony credentials and SIP credential connections report `ua_ip`, `ua_port`,
|
|
96
|
+
* `transport`, and `last_modified`. All types report `expires`, but its unit
|
|
97
|
+
* differs by `credential_type` — see that field.
|
|
98
|
+
*/
|
|
99
|
+
export interface SipRegistrationDetails {
|
|
100
|
+
/**
|
|
101
|
+
* Number of authentication retries on the last attempt (uac_external_credential).
|
|
102
|
+
*/
|
|
103
|
+
auth_retries?: number;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* When the current registration expires. The unit depends on `credential_type`:
|
|
107
|
+
* for `uac_external_credential` this is a Unix timestamp (seconds since epoch) of
|
|
108
|
+
* the next scheduled re-registration; for `telephony_credential` and
|
|
109
|
+
* `sip_credential_connection` this is the registration lifetime in seconds as
|
|
110
|
+
* negotiated with the registrar (the `Expires` value, defaulting to 3600 when the
|
|
111
|
+
* endpoint sends none).
|
|
112
|
+
*/
|
|
113
|
+
expires?: number;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Count of consecutive registration failures (uac_external_credential).
|
|
117
|
+
*/
|
|
118
|
+
failures?: number;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Timestamp when the registration was last modified (telephony_credential and
|
|
122
|
+
* sip_credential_connection).
|
|
123
|
+
*/
|
|
124
|
+
last_modified?: string;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Unix timestamp of the next scheduled registration action
|
|
128
|
+
* (uac_external_credential).
|
|
129
|
+
*/
|
|
130
|
+
next_action_at?: number;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* SIP URI user@host of the registered contact (uac_external_credential).
|
|
134
|
+
*/
|
|
135
|
+
sip_uri_user_host?: string;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Transport used for the registration, e.g. UDP/TCP/TLS (telephony_credential and
|
|
139
|
+
* sip_credential_connection).
|
|
140
|
+
*/
|
|
141
|
+
transport?: string;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* IP address of the registered user agent (telephony_credential and
|
|
145
|
+
* sip_credential_connection).
|
|
146
|
+
*/
|
|
147
|
+
ua_ip?: string;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Port of the registered user agent (telephony_credential and
|
|
151
|
+
* sip_credential_connection).
|
|
152
|
+
*/
|
|
153
|
+
ua_port?: number;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Registration uptime reported by the registrar (uac_external_credential).
|
|
157
|
+
*/
|
|
158
|
+
uptime?: number;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export interface SipRegistrationStatusListParams {
|
|
163
|
+
/**
|
|
164
|
+
* The kind of credential to look up. `uac_external_credential` is keyed by
|
|
165
|
+
* `connection_id`; `telephony_credential` and `sip_credential_connection` are
|
|
166
|
+
* keyed by `username`.
|
|
167
|
+
*/
|
|
168
|
+
credential_type: 'uac_external_credential' | 'telephony_credential' | 'sip_credential_connection';
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Identifier of the UAC connection to look up. Required when `credential_type` is
|
|
172
|
+
* `uac_external_credential`.
|
|
173
|
+
*/
|
|
174
|
+
connection_id?: string;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* SIP username to look up. Required when `credential_type` is
|
|
178
|
+
* `telephony_credential` or `sip_credential_connection`.
|
|
179
|
+
*/
|
|
180
|
+
username?: string;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export declare namespace SipRegistrationStatus {
|
|
184
|
+
export {
|
|
185
|
+
type SipRegistrationStatusListResponse as SipRegistrationStatusListResponse,
|
|
186
|
+
type SipRegistrationStatusListParams as SipRegistrationStatusListParams,
|
|
187
|
+
};
|
|
188
|
+
}
|
|
@@ -263,9 +263,10 @@ export interface SpeechToTextRetrieveTranscriptionParams {
|
|
|
263
263
|
/**
|
|
264
264
|
* Silence duration (in milliseconds) that triggers end-of-speech detection. When
|
|
265
265
|
* set, the engine uses this value to determine when a speaker has stopped talking.
|
|
266
|
-
* Supported by `xAI`, `Deepgram`, `Google`, `Speechmatics
|
|
267
|
-
*
|
|
268
|
-
*
|
|
266
|
+
* Supported by `xAI`, `Deepgram`, `Google`, `Speechmatics`
|
|
267
|
+
* (`speechmatics/standard` only; `speechmatics/linden-1` uses fixed service-side
|
|
268
|
+
* voice activity detection and ignores it), and `Soniox`. `Soniox` accepts values
|
|
269
|
+
* between 500 and 3000. Other engines may not support this parameter.
|
|
269
270
|
*/
|
|
270
271
|
endpointing?: number;
|
|
271
272
|
|
|
@@ -289,7 +290,12 @@ export interface SpeechToTextRetrieveTranscriptionParams {
|
|
|
289
290
|
/**
|
|
290
291
|
* The language spoken in the audio stream. For `cohere/ar-stt`, this must be `ar`
|
|
291
292
|
* or `en` — unlike other engines, Cohere does not auto-detect the language, and
|
|
292
|
-
* rejects unsupported values including `auto`; omitting it defaults to `ar`.
|
|
293
|
+
* rejects unsupported values including `auto`; omitting it defaults to `ar`. For
|
|
294
|
+
* `speechmatics/linden-1`, omitting it defaults to `en`; `auto`, `auto_beta`,
|
|
295
|
+
* `multi`, or a language outside its supported list is rejected when the
|
|
296
|
+
* connection is established. `speechmatics/linden-1` also accepts `en-US`,
|
|
297
|
+
* `en-GB`, `en-AU`, `cmn-Hans`, and `cmn-Hant`, which select the spelling or
|
|
298
|
+
* script variant (`en` alone uses the default spelling).
|
|
293
299
|
*/
|
|
294
300
|
language?: string;
|
|
295
301
|
|
|
@@ -312,6 +318,7 @@ export interface SpeechToTextRetrieveTranscriptionParams {
|
|
|
312
318
|
| 'openai/whisper-large-v3-turbo'
|
|
313
319
|
| 'xai/grok-stt'
|
|
314
320
|
| 'speechmatics/standard'
|
|
321
|
+
| 'speechmatics/linden-1'
|
|
315
322
|
| 'soniox/stt-rt-v4'
|
|
316
323
|
| 'nvidia/parakeet-v3'
|
|
317
324
|
| 'omi-health/omi-med-stt-v1'
|
|
@@ -329,6 +336,7 @@ export interface SpeechToTextRetrieveTranscriptionParams {
|
|
|
329
336
|
* Audio sample rate in Hz. Required when `input_format` is a raw encoding
|
|
330
337
|
* (`linear16`, `linear32`) — those formats carry no header metadata. Ignored for
|
|
331
338
|
* container formats (`mp3`, `wav`), which self-describe their rate.
|
|
339
|
+
* `speechmatics/linden-1` accepts only `16000`.
|
|
332
340
|
*/
|
|
333
341
|
sample_rate?: number;
|
|
334
342
|
}
|
|
@@ -102,10 +102,21 @@ export class TelephonyCredentials extends APIResource {
|
|
|
102
102
|
* await client.telephonyCredentials.createToken('id');
|
|
103
103
|
* ```
|
|
104
104
|
*/
|
|
105
|
-
createToken(
|
|
105
|
+
createToken(
|
|
106
|
+
id: string,
|
|
107
|
+
params: TelephonyCredentialCreateTokenParams | null | undefined = {},
|
|
108
|
+
options?: RequestOptions,
|
|
109
|
+
): APIPromise<string> {
|
|
110
|
+
const { 'Idempotency-Key': idempotencyKey } = params ?? {};
|
|
106
111
|
return this._client.post(path`/telephony_credentials/${id}/token`, {
|
|
107
112
|
...options,
|
|
108
|
-
headers: buildHeaders([
|
|
113
|
+
headers: buildHeaders([
|
|
114
|
+
{
|
|
115
|
+
Accept: 'text/plain',
|
|
116
|
+
...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined),
|
|
117
|
+
},
|
|
118
|
+
options?.headers,
|
|
119
|
+
]),
|
|
109
120
|
});
|
|
110
121
|
}
|
|
111
122
|
}
|
|
@@ -263,6 +274,16 @@ export interface TelephonyCredentialUpdateParams {
|
|
|
263
274
|
tag?: string;
|
|
264
275
|
}
|
|
265
276
|
|
|
277
|
+
export interface TelephonyCredentialCreateTokenParams {
|
|
278
|
+
/**
|
|
279
|
+
* Unique key for safely retrying the same logical request. Generate a UUID v4 for
|
|
280
|
+
* each operation and reuse it only when retrying that operation with the same
|
|
281
|
+
* request body. Valid characters: A-Z, a-z, 0-9, -, and \_. Length: 1-255
|
|
282
|
+
* characters. Do not include sensitive data in the key.
|
|
283
|
+
*/
|
|
284
|
+
'Idempotency-Key'?: string;
|
|
285
|
+
}
|
|
286
|
+
|
|
266
287
|
export declare namespace TelephonyCredentials {
|
|
267
288
|
export {
|
|
268
289
|
type TelephonyCredential as TelephonyCredential,
|
|
@@ -275,5 +296,6 @@ export declare namespace TelephonyCredentials {
|
|
|
275
296
|
type TelephonyCredentialListParams as TelephonyCredentialListParams,
|
|
276
297
|
type TelephonyCredentialCreateParams as TelephonyCredentialCreateParams,
|
|
277
298
|
type TelephonyCredentialUpdateParams as TelephonyCredentialUpdateParams,
|
|
299
|
+
type TelephonyCredentialCreateTokenParams as TelephonyCredentialCreateTokenParams,
|
|
278
300
|
};
|
|
279
301
|
}
|
|
@@ -67,7 +67,7 @@ export class Accounts extends APIResource {
|
|
|
67
67
|
* ```ts
|
|
68
68
|
* const texmlGetCallRecordingsResponseBody =
|
|
69
69
|
* await client.texml.accounts.retrieveRecordingsJson(
|
|
70
|
-
* '
|
|
70
|
+
* 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
71
71
|
* );
|
|
72
72
|
* ```
|
|
73
73
|
*/
|
|
@@ -86,7 +86,7 @@ export class Accounts extends APIResource {
|
|
|
86
86
|
* ```ts
|
|
87
87
|
* const response =
|
|
88
88
|
* await client.texml.accounts.retrieveTranscriptionsJson(
|
|
89
|
-
* '
|
|
89
|
+
* 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
90
90
|
* );
|
|
91
91
|
* ```
|
|
92
92
|
*/
|
|
@@ -39,7 +39,7 @@ export class Calls extends APIResource {
|
|
|
39
39
|
* ```ts
|
|
40
40
|
* const response =
|
|
41
41
|
* await client.texml.accounts.calls.retrieveCalls(
|
|
42
|
-
* '
|
|
42
|
+
* 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
43
43
|
* );
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
@@ -63,12 +63,12 @@ export class Calls extends APIResource {
|
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* Initiate an outbound TeXML call. Telnyx will request TeXML from the XML Request
|
|
66
|
-
* URL configured for the
|
|
66
|
+
* URL configured for the TeXML Application in the Mission Control Portal.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* ```ts
|
|
70
70
|
* const response = await client.texml.accounts.calls.calls(
|
|
71
|
-
* '
|
|
71
|
+
* 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
72
72
|
* { body: { Url: 'https://www.example.com/texml.xml' } },
|
|
73
73
|
* );
|
|
74
74
|
* ```
|
|
@@ -90,7 +90,7 @@ export class Calls extends APIResource {
|
|
|
90
90
|
* ```ts
|
|
91
91
|
* const callResource =
|
|
92
92
|
* await client.texml.accounts.calls.retrieve('call_sid', {
|
|
93
|
-
* account_sid: '
|
|
93
|
+
* account_sid: 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
94
94
|
* });
|
|
95
95
|
* ```
|
|
96
96
|
*/
|
|
@@ -107,7 +107,7 @@ export class Calls extends APIResource {
|
|
|
107
107
|
* ```ts
|
|
108
108
|
* const callResource =
|
|
109
109
|
* await client.texml.accounts.calls.update('call_sid', {
|
|
110
|
-
* account_sid: '
|
|
110
|
+
* account_sid: 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
111
111
|
* });
|
|
112
112
|
* ```
|
|
113
113
|
*/
|
|
@@ -128,7 +128,7 @@ export class Calls extends APIResource {
|
|
|
128
128
|
* ```ts
|
|
129
129
|
* const response =
|
|
130
130
|
* await client.texml.accounts.calls.siprecJson('call_sid', {
|
|
131
|
-
* account_sid: '
|
|
131
|
+
* account_sid: 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
132
132
|
* });
|
|
133
133
|
* ```
|
|
134
134
|
*/
|
|
@@ -153,7 +153,7 @@ export class Calls extends APIResource {
|
|
|
153
153
|
* const response =
|
|
154
154
|
* await client.texml.accounts.calls.streamsJson(
|
|
155
155
|
* 'call_sid',
|
|
156
|
-
* { account_sid: '
|
|
156
|
+
* { account_sid: 'f5586561-8ff0-4291-a51b-c7dfe4139ff9' },
|
|
157
157
|
* );
|
|
158
158
|
* ```
|
|
159
159
|
*/
|
|
@@ -512,7 +512,12 @@ export namespace CallCallsParams {
|
|
|
512
512
|
Url: string;
|
|
513
513
|
|
|
514
514
|
/**
|
|
515
|
-
* The ID of the TeXML Application
|
|
515
|
+
* The ID of the TeXML Application that will handle the call, for example
|
|
516
|
+
* `1293384261075731499`. The `ApplicationSid` name is kept for Twilio API
|
|
517
|
+
* compatibility, but the value is the numeric ID of one of your TeXML Applications
|
|
518
|
+
* (see the TeXML Applications API or the Mission Control Portal), not a Twilio
|
|
519
|
+
* `AP...` SID. If `Url` and `Texml` are omitted, Telnyx fetches instructions from
|
|
520
|
+
* the XML Request URL configured on this application.
|
|
516
521
|
*/
|
|
517
522
|
ApplicationSid?: string;
|
|
518
523
|
|
|
@@ -842,7 +847,12 @@ export namespace CallCallsParams {
|
|
|
842
847
|
Texml: string;
|
|
843
848
|
|
|
844
849
|
/**
|
|
845
|
-
* The ID of the TeXML Application
|
|
850
|
+
* The ID of the TeXML Application that will handle the call, for example
|
|
851
|
+
* `1293384261075731499`. The `ApplicationSid` name is kept for Twilio API
|
|
852
|
+
* compatibility, but the value is the numeric ID of one of your TeXML Applications
|
|
853
|
+
* (see the TeXML Applications API or the Mission Control Portal), not a Twilio
|
|
854
|
+
* `AP...` SID. If `Url` and `Texml` are omitted, Telnyx fetches instructions from
|
|
855
|
+
* the XML Request URL configured on this application.
|
|
846
856
|
*/
|
|
847
857
|
ApplicationSid?: string;
|
|
848
858
|
|
|
@@ -1166,7 +1176,12 @@ export namespace CallCallsParams {
|
|
|
1166
1176
|
|
|
1167
1177
|
export interface ApplicationDefault {
|
|
1168
1178
|
/**
|
|
1169
|
-
* The ID of the TeXML Application
|
|
1179
|
+
* The ID of the TeXML Application that will handle the call, for example
|
|
1180
|
+
* `1293384261075731499`. The `ApplicationSid` name is kept for Twilio API
|
|
1181
|
+
* compatibility, but the value is the numeric ID of one of your TeXML Applications
|
|
1182
|
+
* (see the TeXML Applications API or the Mission Control Portal), not a Twilio
|
|
1183
|
+
* `AP...` SID. If `Url` and `Texml` are omitted, Telnyx fetches instructions from
|
|
1184
|
+
* the XML Request URL configured on this application.
|
|
1170
1185
|
*/
|
|
1171
1186
|
ApplicationSid?: string;
|
|
1172
1187
|
|
|
@@ -1493,14 +1508,24 @@ export namespace CallCallsParams {
|
|
|
1493
1508
|
|
|
1494
1509
|
export interface CallRetrieveParams {
|
|
1495
1510
|
/**
|
|
1496
|
-
* The
|
|
1511
|
+
* The UUID of the Telnyx account that owns the resource, for example
|
|
1512
|
+
* `f5586561-8ff0-4291-a51b-c7dfe4139ff9`. The `account_sid` path segment is kept
|
|
1513
|
+
* for Twilio API compatibility, but the value is a Telnyx account UUID, not a
|
|
1514
|
+
* Twilio `AC...` SID. It must match the account that owns the API key used to
|
|
1515
|
+
* authenticate the request, otherwise the endpoint returns `404`. The same value
|
|
1516
|
+
* is sent as `AccountSid` in TeXML webhooks.
|
|
1497
1517
|
*/
|
|
1498
1518
|
account_sid: string;
|
|
1499
1519
|
}
|
|
1500
1520
|
|
|
1501
1521
|
export interface CallUpdateParams {
|
|
1502
1522
|
/**
|
|
1503
|
-
* Path param: The
|
|
1523
|
+
* Path param: The UUID of the Telnyx account that owns the resource, for example
|
|
1524
|
+
* `f5586561-8ff0-4291-a51b-c7dfe4139ff9`. The `account_sid` path segment is kept
|
|
1525
|
+
* for Twilio API compatibility, but the value is a Telnyx account UUID, not a
|
|
1526
|
+
* Twilio `AC...` SID. It must match the account that owns the API key used to
|
|
1527
|
+
* authenticate the request, otherwise the endpoint returns `404`. The same value
|
|
1528
|
+
* is sent as `AccountSid` in TeXML webhooks.
|
|
1504
1529
|
*/
|
|
1505
1530
|
account_sid: string;
|
|
1506
1531
|
|
|
@@ -1551,7 +1576,12 @@ export interface CallUpdateParams {
|
|
|
1551
1576
|
|
|
1552
1577
|
export interface CallSiprecJsonParams {
|
|
1553
1578
|
/**
|
|
1554
|
-
* Path param: The
|
|
1579
|
+
* Path param: The UUID of the Telnyx account that owns the resource, for example
|
|
1580
|
+
* `f5586561-8ff0-4291-a51b-c7dfe4139ff9`. The `account_sid` path segment is kept
|
|
1581
|
+
* for Twilio API compatibility, but the value is a Telnyx account UUID, not a
|
|
1582
|
+
* Twilio `AC...` SID. It must match the account that owns the API key used to
|
|
1583
|
+
* authenticate the request, otherwise the endpoint returns `404`. The same value
|
|
1584
|
+
* is sent as `AccountSid` in TeXML webhooks.
|
|
1555
1585
|
*/
|
|
1556
1586
|
account_sid: string;
|
|
1557
1587
|
|
|
@@ -1611,7 +1641,12 @@ export interface CallSiprecJsonParams {
|
|
|
1611
1641
|
|
|
1612
1642
|
export interface CallStreamsJsonParams {
|
|
1613
1643
|
/**
|
|
1614
|
-
* Path param: The
|
|
1644
|
+
* Path param: The UUID of the Telnyx account that owns the resource, for example
|
|
1645
|
+
* `f5586561-8ff0-4291-a51b-c7dfe4139ff9`. The `account_sid` path segment is kept
|
|
1646
|
+
* for Twilio API compatibility, but the value is a Telnyx account UUID, not a
|
|
1647
|
+
* Twilio `AC...` SID. It must match the account that owns the API key used to
|
|
1648
|
+
* authenticate the request, otherwise the endpoint returns `404`. The same value
|
|
1649
|
+
* is sent as `AccountSid` in TeXML webhooks.
|
|
1615
1650
|
*/
|
|
1616
1651
|
account_sid: string;
|
|
1617
1652
|
|
|
@@ -19,7 +19,7 @@ export class RecordingsJson extends APIResource {
|
|
|
19
19
|
* const texmlGetCallRecordingsResponseBody =
|
|
20
20
|
* await client.texml.accounts.calls.recordingsJson.retrieveRecordingsJson(
|
|
21
21
|
* 'call_sid',
|
|
22
|
-
* { account_sid: '
|
|
22
|
+
* { account_sid: 'f5586561-8ff0-4291-a51b-c7dfe4139ff9' },
|
|
23
23
|
* );
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
@@ -40,7 +40,7 @@ export class RecordingsJson extends APIResource {
|
|
|
40
40
|
* const texmlCreateCallRecordingResponseBody =
|
|
41
41
|
* await client.texml.accounts.calls.recordingsJson.recordingsJson(
|
|
42
42
|
* 'call_sid',
|
|
43
|
-
* { account_sid: '
|
|
43
|
+
* { account_sid: 'f5586561-8ff0-4291-a51b-c7dfe4139ff9' },
|
|
44
44
|
* );
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
@@ -171,14 +171,24 @@ export type TwimlRecordingChannels = 1 | 2;
|
|
|
171
171
|
|
|
172
172
|
export interface RecordingsJsonRetrieveRecordingsJsonParams {
|
|
173
173
|
/**
|
|
174
|
-
* The
|
|
174
|
+
* The UUID of the Telnyx account that owns the resource, for example
|
|
175
|
+
* `f5586561-8ff0-4291-a51b-c7dfe4139ff9`. The `account_sid` path segment is kept
|
|
176
|
+
* for Twilio API compatibility, but the value is a Telnyx account UUID, not a
|
|
177
|
+
* Twilio `AC...` SID. It must match the account that owns the API key used to
|
|
178
|
+
* authenticate the request, otherwise the endpoint returns `404`. The same value
|
|
179
|
+
* is sent as `AccountSid` in TeXML webhooks.
|
|
175
180
|
*/
|
|
176
181
|
account_sid: string;
|
|
177
182
|
}
|
|
178
183
|
|
|
179
184
|
export interface RecordingsJsonRecordingsJsonParams {
|
|
180
185
|
/**
|
|
181
|
-
* Path param: The
|
|
186
|
+
* Path param: The UUID of the Telnyx account that owns the resource, for example
|
|
187
|
+
* `f5586561-8ff0-4291-a51b-c7dfe4139ff9`. The `account_sid` path segment is kept
|
|
188
|
+
* for Twilio API compatibility, but the value is a Telnyx account UUID, not a
|
|
189
|
+
* Twilio `AC...` SID. It must match the account that owns the API key used to
|
|
190
|
+
* authenticate the request, otherwise the endpoint returns `404`. The same value
|
|
191
|
+
* is sent as `AccountSid` in TeXML webhooks.
|
|
182
192
|
*/
|
|
183
193
|
account_sid: string;
|
|
184
194
|
|
|
@@ -19,7 +19,10 @@ export class Recordings extends APIResource {
|
|
|
19
19
|
* const texmlCreateCallRecordingResponseBody =
|
|
20
20
|
* await client.texml.accounts.calls.recordings.recordingSidJson(
|
|
21
21
|
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
22
|
-
* {
|
|
22
|
+
* {
|
|
23
|
+
* account_sid: 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
24
|
+
* call_sid: 'call_sid',
|
|
25
|
+
* },
|
|
23
26
|
* );
|
|
24
27
|
* ```
|
|
25
28
|
*/
|
|
@@ -42,7 +45,12 @@ export class Recordings extends APIResource {
|
|
|
42
45
|
|
|
43
46
|
export interface RecordingRecordingSidJsonParams {
|
|
44
47
|
/**
|
|
45
|
-
* Path param: The
|
|
48
|
+
* Path param: The UUID of the Telnyx account that owns the resource, for example
|
|
49
|
+
* `f5586561-8ff0-4291-a51b-c7dfe4139ff9`. The `account_sid` path segment is kept
|
|
50
|
+
* for Twilio API compatibility, but the value is a Telnyx account UUID, not a
|
|
51
|
+
* Twilio `AC...` SID. It must match the account that owns the API key used to
|
|
52
|
+
* authenticate the request, otherwise the endpoint returns `404`. The same value
|
|
53
|
+
* is sent as `AccountSid` in TeXML webhooks.
|
|
46
54
|
*/
|
|
47
55
|
account_sid: string;
|
|
48
56
|
|
|
@@ -18,7 +18,10 @@ export class Siprec extends APIResource {
|
|
|
18
18
|
* const response =
|
|
19
19
|
* await client.texml.accounts.calls.siprec.siprecSidJson(
|
|
20
20
|
* 'siprec_sid',
|
|
21
|
-
* {
|
|
21
|
+
* {
|
|
22
|
+
* account_sid: 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
23
|
+
* call_sid: 'call_sid',
|
|
24
|
+
* },
|
|
22
25
|
* );
|
|
23
26
|
* ```
|
|
24
27
|
*/
|
|
@@ -78,7 +81,12 @@ export interface SiprecSiprecSidJsonResponse {
|
|
|
78
81
|
|
|
79
82
|
export interface SiprecSiprecSidJsonParams {
|
|
80
83
|
/**
|
|
81
|
-
* Path param: The
|
|
84
|
+
* Path param: The UUID of the Telnyx account that owns the resource, for example
|
|
85
|
+
* `f5586561-8ff0-4291-a51b-c7dfe4139ff9`. The `account_sid` path segment is kept
|
|
86
|
+
* for Twilio API compatibility, but the value is a Telnyx account UUID, not a
|
|
87
|
+
* Twilio `AC...` SID. It must match the account that owns the API key used to
|
|
88
|
+
* authenticate the request, otherwise the endpoint returns `404`. The same value
|
|
89
|
+
* is sent as `AccountSid` in TeXML webhooks.
|
|
82
90
|
*/
|
|
83
91
|
account_sid: string;
|
|
84
92
|
|
|
@@ -18,7 +18,10 @@ export class Streams extends APIResource {
|
|
|
18
18
|
* const response =
|
|
19
19
|
* await client.texml.accounts.calls.streams.streamingSidJson(
|
|
20
20
|
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
21
|
-
* {
|
|
21
|
+
* {
|
|
22
|
+
* account_sid: 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
23
|
+
* call_sid: 'call_sid',
|
|
24
|
+
* },
|
|
22
25
|
* );
|
|
23
26
|
* ```
|
|
24
27
|
*/
|
|
@@ -64,7 +67,12 @@ export interface StreamStreamingSidJsonResponse {
|
|
|
64
67
|
|
|
65
68
|
export interface StreamStreamingSidJsonParams {
|
|
66
69
|
/**
|
|
67
|
-
* Path param: The
|
|
70
|
+
* Path param: The UUID of the Telnyx account that owns the resource, for example
|
|
71
|
+
* `f5586561-8ff0-4291-a51b-c7dfe4139ff9`. The `account_sid` path segment is kept
|
|
72
|
+
* for Twilio API compatibility, but the value is a Telnyx account UUID, not a
|
|
73
|
+
* Twilio `AC...` SID. It must match the account that owns the API key used to
|
|
74
|
+
* authenticate the request, otherwise the endpoint returns `404`. The same value
|
|
75
|
+
* is sent as `AccountSid` in TeXML webhooks.
|
|
68
76
|
*/
|
|
69
77
|
account_sid: string;
|
|
70
78
|
|