telnyx 7.30.0-beta.0 → 7.31.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 +30 -13
- package/client.d.mts.map +1 -1
- package/client.d.ts +30 -13
- package/client.d.ts.map +1 -1
- package/client.js +18 -3
- package/client.js.map +1 -1
- package/client.mjs +18 -3
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +20 -0
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts +20 -0
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.js +25 -1
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +23 -0
- package/core/pagination.mjs.map +1 -1
- package/lib/login-token.d.mts +7 -3
- package/lib/login-token.d.mts.map +1 -1
- package/lib/login-token.d.ts +7 -3
- package/lib/login-token.d.ts.map +1 -1
- package/lib/login-token.js.map +1 -1
- package/lib/login-token.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent-gateways/agent-gateways.d.mts +360 -0
- package/resources/agent-gateways/agent-gateways.d.mts.map +1 -0
- package/resources/agent-gateways/agent-gateways.d.ts +360 -0
- package/resources/agent-gateways/agent-gateways.d.ts.map +1 -0
- package/resources/agent-gateways/agent-gateways.js +140 -0
- package/resources/agent-gateways/agent-gateways.js.map +1 -0
- package/resources/agent-gateways/agent-gateways.mjs +135 -0
- package/resources/agent-gateways/agent-gateways.mjs.map +1 -0
- package/resources/agent-gateways/apis.d.mts +300 -0
- package/resources/agent-gateways/apis.d.mts.map +1 -0
- package/resources/agent-gateways/apis.d.ts +300 -0
- package/resources/agent-gateways/apis.d.ts.map +1 -0
- package/resources/agent-gateways/apis.js +89 -0
- package/resources/agent-gateways/apis.js.map +1 -0
- package/resources/agent-gateways/apis.mjs +85 -0
- package/resources/agent-gateways/apis.mjs.map +1 -0
- package/resources/agent-gateways/guardrails.d.mts +210 -0
- package/resources/agent-gateways/guardrails.d.mts.map +1 -0
- package/resources/agent-gateways/guardrails.d.ts +210 -0
- package/resources/agent-gateways/guardrails.d.ts.map +1 -0
- package/resources/agent-gateways/guardrails.js +96 -0
- package/resources/agent-gateways/guardrails.js.map +1 -0
- package/resources/agent-gateways/guardrails.mjs +92 -0
- package/resources/agent-gateways/guardrails.mjs.map +1 -0
- package/resources/agent-gateways/index.d.mts +9 -0
- package/resources/agent-gateways/index.d.mts.map +1 -0
- package/resources/agent-gateways/index.d.ts +9 -0
- package/resources/agent-gateways/index.d.ts.map +1 -0
- package/resources/agent-gateways/index.js +21 -0
- package/resources/agent-gateways/index.js.map +1 -0
- package/resources/agent-gateways/index.mjs +10 -0
- package/resources/agent-gateways/index.mjs.map +1 -0
- package/resources/agent-gateways/keys/index.d.mts +3 -0
- package/resources/agent-gateways/keys/index.d.mts.map +1 -0
- package/resources/agent-gateways/keys/index.d.ts +3 -0
- package/resources/agent-gateways/keys/index.d.ts.map +1 -0
- package/resources/agent-gateways/keys/index.js +9 -0
- package/resources/agent-gateways/keys/index.js.map +1 -0
- package/resources/agent-gateways/keys/index.mjs +4 -0
- package/resources/agent-gateways/keys/index.mjs.map +1 -0
- package/resources/agent-gateways/keys/keys.d.mts +329 -0
- package/resources/agent-gateways/keys/keys.d.mts.map +1 -0
- package/resources/agent-gateways/keys/keys.d.ts +329 -0
- package/resources/agent-gateways/keys/keys.d.ts.map +1 -0
- package/resources/agent-gateways/keys/keys.js +99 -0
- package/resources/agent-gateways/keys/keys.js.map +1 -0
- package/resources/agent-gateways/keys/keys.mjs +94 -0
- package/resources/agent-gateways/keys/keys.mjs.map +1 -0
- package/resources/agent-gateways/keys/tool-permissions.d.mts +103 -0
- package/resources/agent-gateways/keys/tool-permissions.d.mts.map +1 -0
- package/resources/agent-gateways/keys/tool-permissions.d.ts +103 -0
- package/resources/agent-gateways/keys/tool-permissions.d.ts.map +1 -0
- package/resources/agent-gateways/keys/tool-permissions.js +62 -0
- package/resources/agent-gateways/keys/tool-permissions.js.map +1 -0
- package/resources/agent-gateways/keys/tool-permissions.mjs +58 -0
- package/resources/agent-gateways/keys/tool-permissions.mjs.map +1 -0
- package/resources/agent-gateways/keys.d.mts +2 -0
- package/resources/agent-gateways/keys.d.mts.map +1 -0
- package/resources/agent-gateways/keys.d.ts +2 -0
- package/resources/agent-gateways/keys.d.ts.map +1 -0
- package/resources/agent-gateways/keys.js +6 -0
- package/resources/agent-gateways/keys.js.map +1 -0
- package/resources/agent-gateways/keys.mjs +3 -0
- package/resources/agent-gateways/keys.mjs.map +1 -0
- package/resources/agent-gateways/mcp-servers.d.mts +246 -0
- package/resources/agent-gateways/mcp-servers.d.mts.map +1 -0
- package/resources/agent-gateways/mcp-servers.d.ts +246 -0
- package/resources/agent-gateways/mcp-servers.d.ts.map +1 -0
- package/resources/agent-gateways/mcp-servers.js +97 -0
- package/resources/agent-gateways/mcp-servers.js.map +1 -0
- package/resources/agent-gateways/mcp-servers.mjs +93 -0
- package/resources/agent-gateways/mcp-servers.mjs.map +1 -0
- package/resources/agent-gateways/policies.d.mts +266 -0
- package/resources/agent-gateways/policies.d.mts.map +1 -0
- package/resources/agent-gateways/policies.d.ts +266 -0
- package/resources/agent-gateways/policies.d.ts.map +1 -0
- package/resources/agent-gateways/policies.js +97 -0
- package/resources/agent-gateways/policies.js.map +1 -0
- package/resources/agent-gateways/policies.mjs +93 -0
- package/resources/agent-gateways/policies.mjs.map +1 -0
- package/resources/agent-gateways/policy-attachments.d.mts +123 -0
- package/resources/agent-gateways/policy-attachments.d.mts.map +1 -0
- package/resources/agent-gateways/policy-attachments.d.ts +123 -0
- package/resources/agent-gateways/policy-attachments.d.ts.map +1 -0
- package/resources/agent-gateways/policy-attachments.js +63 -0
- package/resources/agent-gateways/policy-attachments.js.map +1 -0
- package/resources/agent-gateways/policy-attachments.mjs +59 -0
- package/resources/agent-gateways/policy-attachments.mjs.map +1 -0
- package/resources/agent-gateways/teams/index.d.mts +3 -0
- package/resources/agent-gateways/teams/index.d.mts.map +1 -0
- package/resources/agent-gateways/teams/index.d.ts +3 -0
- package/resources/agent-gateways/teams/index.d.ts.map +1 -0
- package/resources/agent-gateways/teams/index.js +9 -0
- package/resources/agent-gateways/teams/index.js.map +1 -0
- package/resources/agent-gateways/teams/index.mjs +4 -0
- package/resources/agent-gateways/teams/index.mjs.map +1 -0
- package/resources/agent-gateways/teams/teams.d.mts +210 -0
- package/resources/agent-gateways/teams/teams.d.mts.map +1 -0
- package/resources/agent-gateways/teams/teams.d.ts +210 -0
- package/resources/agent-gateways/teams/teams.d.ts.map +1 -0
- package/resources/agent-gateways/teams/teams.js +98 -0
- package/resources/agent-gateways/teams/teams.js.map +1 -0
- package/resources/agent-gateways/teams/teams.mjs +93 -0
- package/resources/agent-gateways/teams/teams.mjs.map +1 -0
- package/resources/agent-gateways/teams/tool-permissions.d.mts +82 -0
- package/resources/agent-gateways/teams/tool-permissions.d.mts.map +1 -0
- package/resources/agent-gateways/teams/tool-permissions.d.ts +82 -0
- package/resources/agent-gateways/teams/tool-permissions.d.ts.map +1 -0
- package/resources/agent-gateways/teams/tool-permissions.js +62 -0
- package/resources/agent-gateways/teams/tool-permissions.js.map +1 -0
- package/resources/agent-gateways/teams/tool-permissions.mjs +58 -0
- package/resources/agent-gateways/teams/tool-permissions.mjs.map +1 -0
- package/resources/agent-gateways/teams.d.mts +2 -0
- package/resources/agent-gateways/teams.d.mts.map +1 -0
- package/resources/agent-gateways/teams.d.ts +2 -0
- package/resources/agent-gateways/teams.d.ts.map +1 -0
- package/resources/agent-gateways/teams.js +6 -0
- package/resources/agent-gateways/teams.js.map +1 -0
- package/resources/agent-gateways/teams.mjs +3 -0
- package/resources/agent-gateways/teams.mjs.map +1 -0
- package/resources/agent-gateways.d.mts +2 -0
- package/resources/agent-gateways.d.mts.map +1 -0
- package/resources/agent-gateways.d.ts +2 -0
- package/resources/agent-gateways.d.ts.map +1 -0
- package/resources/{tts-integrations.js → agent-gateways.js} +2 -2
- package/resources/agent-gateways.js.map +1 -0
- package/resources/agent-gateways.mjs +3 -0
- package/resources/agent-gateways.mjs.map +1 -0
- package/resources/ai/ai.d.mts +9 -4
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +9 -4
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +204 -108
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +204 -108
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js.map +1 -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/chat.d.mts +3 -5
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +3 -5
- package/resources/ai/chat.d.ts.map +1 -1
- package/resources/ai/conversations/conversations.d.mts +27 -2
- package/resources/ai/conversations/conversations.d.mts.map +1 -1
- package/resources/ai/conversations/conversations.d.ts +27 -2
- package/resources/ai/conversations/conversations.d.ts.map +1 -1
- package/resources/ai/conversations/conversations.js +23 -1
- package/resources/ai/conversations/conversations.js.map +1 -1
- package/resources/ai/conversations/conversations.mjs +23 -1
- package/resources/ai/conversations/conversations.mjs.map +1 -1
- package/resources/ai/conversations/index.d.mts +1 -1
- package/resources/ai/conversations/index.d.mts.map +1 -1
- package/resources/ai/conversations/index.d.ts +1 -1
- package/resources/ai/conversations/index.d.ts.map +1 -1
- package/resources/ai/conversations/index.js.map +1 -1
- package/resources/ai/conversations/index.mjs.map +1 -1
- package/resources/ai/index.d.mts +2 -2
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +2 -2
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/memory/namespaces/index.d.mts +2 -2
- package/resources/ai/memory/namespaces/index.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/index.d.ts +2 -2
- 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 +1 -1
- package/resources/ai/memory/namespaces/index.mjs.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.d.mts +4 -4
- package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.d.ts +4 -4
- 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 +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 +23 -5
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts +23 -5
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -1
- package/resources/ai/memory/namespaces/settings.d.mts +23 -27
- package/resources/ai/memory/namespaces/settings.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/settings.d.ts +23 -27
- package/resources/ai/memory/namespaces/settings.d.ts.map +1 -1
- package/resources/ai/openai/chat.d.mts +3 -5
- package/resources/ai/openai/chat.d.mts.map +1 -1
- package/resources/ai/openai/chat.d.ts +3 -5
- package/resources/ai/openai/chat.d.ts.map +1 -1
- package/resources/ai/tests/test-framework/v1/v1.d.mts +15 -5
- package/resources/ai/tests/test-framework/v1/v1.d.mts.map +1 -1
- package/resources/ai/tests/test-framework/v1/v1.d.ts +15 -5
- package/resources/ai/tests/test-framework/v1/v1.d.ts.map +1 -1
- package/resources/ai/tools.d.mts +222 -0
- package/resources/ai/tools.d.mts.map +1 -1
- package/resources/ai/tools.d.ts +222 -0
- package/resources/ai/tools.d.ts.map +1 -1
- package/resources/browser-sessions/actions.d.mts +13 -7
- package/resources/browser-sessions/actions.d.mts.map +1 -1
- package/resources/browser-sessions/actions.d.ts +13 -7
- package/resources/browser-sessions/actions.d.ts.map +1 -1
- package/resources/browser-sessions/browser-sessions.d.mts +6 -2
- package/resources/browser-sessions/browser-sessions.d.mts.map +1 -1
- package/resources/browser-sessions/browser-sessions.d.ts +6 -2
- package/resources/browser-sessions/browser-sessions.d.ts.map +1 -1
- package/resources/calendar-connections/calendar-connections.d.mts +380 -0
- package/resources/calendar-connections/calendar-connections.d.mts.map +1 -0
- package/resources/calendar-connections/calendar-connections.d.ts +380 -0
- package/resources/calendar-connections/calendar-connections.d.ts.map +1 -0
- package/resources/calendar-connections/calendar-connections.js +102 -0
- package/resources/calendar-connections/calendar-connections.js.map +1 -0
- package/resources/calendar-connections/calendar-connections.mjs +97 -0
- package/resources/calendar-connections/calendar-connections.mjs.map +1 -0
- package/resources/calendar-connections/index.d.mts +3 -0
- package/resources/calendar-connections/index.d.mts.map +1 -0
- package/resources/calendar-connections/index.d.ts +3 -0
- package/resources/calendar-connections/index.d.ts.map +1 -0
- package/resources/calendar-connections/index.js +9 -0
- package/resources/calendar-connections/index.js.map +1 -0
- package/resources/calendar-connections/index.mjs +4 -0
- package/resources/calendar-connections/index.mjs.map +1 -0
- package/resources/calendar-connections/meetings.d.mts +149 -0
- package/resources/calendar-connections/meetings.d.mts.map +1 -0
- package/resources/calendar-connections/meetings.d.ts +149 -0
- package/resources/calendar-connections/meetings.d.ts.map +1 -0
- package/resources/calendar-connections/meetings.js +47 -0
- package/resources/calendar-connections/meetings.js.map +1 -0
- package/resources/calendar-connections/meetings.mjs +43 -0
- package/resources/calendar-connections/meetings.mjs.map +1 -0
- package/resources/calendar-connections.d.mts +2 -0
- package/resources/calendar-connections.d.mts.map +1 -0
- package/resources/calendar-connections.d.ts +2 -0
- package/resources/calendar-connections.d.ts.map +1 -0
- package/resources/calendar-connections.js +6 -0
- package/resources/calendar-connections.js.map +1 -0
- package/resources/calendar-connections.mjs +3 -0
- package/resources/calendar-connections.mjs.map +1 -0
- package/resources/calls/actions.d.mts +11 -5
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +11 -5
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +4 -4
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +4 -4
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +1 -1
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +1 -1
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/compute/funcs/export.d.mts +33 -35
- package/resources/compute/funcs/export.d.mts.map +1 -1
- package/resources/compute/funcs/export.d.ts +33 -35
- package/resources/compute/funcs/export.d.ts.map +1 -1
- package/resources/compute/funcs/funcs.d.mts +2 -2
- package/resources/compute/funcs/funcs.d.mts.map +1 -1
- package/resources/compute/funcs/funcs.d.ts +2 -2
- package/resources/compute/funcs/funcs.d.ts.map +1 -1
- package/resources/compute/funcs/funcs.js.map +1 -1
- package/resources/compute/funcs/funcs.mjs.map +1 -1
- package/resources/compute/funcs/index.d.mts +1 -1
- package/resources/compute/funcs/index.d.mts.map +1 -1
- package/resources/compute/funcs/index.d.ts +1 -1
- package/resources/compute/funcs/index.d.ts.map +1 -1
- package/resources/compute/funcs/index.js.map +1 -1
- package/resources/compute/funcs/index.mjs +1 -1
- package/resources/compute/funcs/index.mjs.map +1 -1
- package/resources/conferences/actions.d.mts +1 -1
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +1 -1
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/email/dedicated-ips/dedicated-ips.d.mts.map +1 -1
- package/resources/email/dedicated-ips/dedicated-ips.d.ts.map +1 -1
- package/resources/email/dedicated-ips/dedicated-ips.js +2 -2
- package/resources/email/dedicated-ips/dedicated-ips.js.map +1 -1
- package/resources/email/dedicated-ips/dedicated-ips.mjs +2 -2
- package/resources/email/dedicated-ips/dedicated-ips.mjs.map +1 -1
- package/resources/email-events.d.mts +84 -106
- package/resources/email-events.d.mts.map +1 -1
- package/resources/email-events.d.ts +84 -106
- package/resources/email-events.d.ts.map +1 -1
- package/resources/email-events.js +5 -1
- package/resources/email-events.js.map +1 -1
- package/resources/email-events.mjs +5 -1
- package/resources/email-events.mjs.map +1 -1
- package/resources/email-messages/email-messages.d.mts +1 -7
- package/resources/email-messages/email-messages.d.mts.map +1 -1
- package/resources/email-messages/email-messages.d.ts +1 -7
- package/resources/email-messages/email-messages.d.ts.map +1 -1
- package/resources/email-messages/email-messages.js.map +1 -1
- package/resources/email-messages/email-messages.mjs.map +1 -1
- package/resources/email-templates.d.mts +16 -70
- package/resources/email-templates.d.mts.map +1 -1
- package/resources/email-templates.d.ts +16 -70
- package/resources/email-templates.d.ts.map +1 -1
- package/resources/enterprises/enterprises.d.mts +2 -2
- package/resources/enterprises/enterprises.d.mts.map +1 -1
- package/resources/enterprises/enterprises.d.ts +2 -2
- package/resources/enterprises/enterprises.d.ts.map +1 -1
- package/resources/enterprises/enterprises.js.map +1 -1
- 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 +26 -29
- package/resources/enterprises/reputation/external-verification.d.mts.map +1 -1
- package/resources/enterprises/reputation/external-verification.d.ts +26 -29
- package/resources/enterprises/reputation/external-verification.d.ts.map +1 -1
- package/resources/enterprises/reputation/external-verification.js +3 -3
- package/resources/enterprises/reputation/external-verification.js.map +1 -1
- package/resources/enterprises/reputation/external-verification.mjs +1 -1
- package/resources/enterprises/reputation/external-verification.mjs.map +1 -1
- package/resources/enterprises/reputation/index.d.mts +1 -1
- package/resources/enterprises/reputation/index.d.mts.map +1 -1
- package/resources/enterprises/reputation/index.d.ts +1 -1
- package/resources/enterprises/reputation/index.d.ts.map +1 -1
- package/resources/enterprises/reputation/index.js +2 -2
- package/resources/enterprises/reputation/index.js.map +1 -1
- package/resources/enterprises/reputation/index.mjs +1 -1
- package/resources/enterprises/reputation/index.mjs.map +1 -1
- package/resources/enterprises/reputation/reputation.d.mts +3 -3
- package/resources/enterprises/reputation/reputation.d.mts.map +1 -1
- package/resources/enterprises/reputation/reputation.d.ts +3 -3
- package/resources/enterprises/reputation/reputation.d.ts.map +1 -1
- package/resources/enterprises/reputation/reputation.js +2 -2
- package/resources/enterprises/reputation/reputation.js.map +1 -1
- package/resources/enterprises/reputation/reputation.mjs +3 -3
- package/resources/enterprises/reputation/reputation.mjs.map +1 -1
- package/resources/enterprises/verify-email.d.mts +27 -29
- package/resources/enterprises/verify-email.d.mts.map +1 -1
- package/resources/enterprises/verify-email.d.ts +27 -29
- package/resources/enterprises/verify-email.d.ts.map +1 -1
- package/resources/index.d.mts +9 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +13 -6
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -1
- package/resources/index.mjs.map +1 -1
- package/resources/meeting-bot/calendar.d.mts +34 -0
- package/resources/meeting-bot/calendar.d.mts.map +1 -0
- package/resources/meeting-bot/calendar.d.ts +34 -0
- package/resources/meeting-bot/calendar.d.ts.map +1 -0
- package/resources/meeting-bot/calendar.js +26 -0
- package/resources/meeting-bot/calendar.js.map +1 -0
- package/resources/meeting-bot/calendar.mjs +22 -0
- package/resources/meeting-bot/calendar.mjs.map +1 -0
- package/resources/meeting-bot/index.d.mts +3 -0
- package/resources/meeting-bot/index.d.mts.map +1 -0
- package/resources/meeting-bot/index.d.ts +3 -0
- package/resources/meeting-bot/index.d.ts.map +1 -0
- package/resources/meeting-bot/index.js +9 -0
- package/resources/meeting-bot/index.js.map +1 -0
- package/resources/meeting-bot/index.mjs +4 -0
- package/resources/meeting-bot/index.mjs.map +1 -0
- package/resources/meeting-bot/meeting-bot.d.mts +10 -0
- package/resources/meeting-bot/meeting-bot.d.mts.map +1 -0
- package/resources/meeting-bot/meeting-bot.d.ts +10 -0
- package/resources/meeting-bot/meeting-bot.d.ts.map +1 -0
- package/resources/meeting-bot/meeting-bot.js +17 -0
- package/resources/meeting-bot/meeting-bot.js.map +1 -0
- package/resources/meeting-bot/meeting-bot.mjs +12 -0
- package/resources/meeting-bot/meeting-bot.mjs.map +1 -0
- package/resources/meeting-bot.d.mts +2 -0
- package/resources/meeting-bot.d.mts.map +1 -0
- package/resources/meeting-bot.d.ts +2 -0
- package/resources/meeting-bot.d.ts.map +1 -0
- package/resources/meeting-bot.js +6 -0
- package/resources/meeting-bot.js.map +1 -0
- package/resources/meeting-bot.mjs +3 -0
- package/resources/meeting-bot.mjs.map +1 -0
- package/resources/meeting-sessions/actions.d.mts +17 -11
- package/resources/meeting-sessions/actions.d.mts.map +1 -1
- package/resources/meeting-sessions/actions.d.ts +17 -11
- package/resources/meeting-sessions/actions.d.ts.map +1 -1
- package/resources/meeting-sessions/actions.js +14 -10
- package/resources/meeting-sessions/actions.js.map +1 -1
- package/resources/meeting-sessions/actions.mjs +14 -10
- package/resources/meeting-sessions/actions.mjs.map +1 -1
- package/resources/meeting-sessions/artifacts.d.mts +8 -7
- package/resources/meeting-sessions/artifacts.d.mts.map +1 -1
- package/resources/meeting-sessions/artifacts.d.ts +8 -7
- package/resources/meeting-sessions/artifacts.d.ts.map +1 -1
- package/resources/meeting-sessions/artifacts.js +8 -7
- package/resources/meeting-sessions/artifacts.js.map +1 -1
- package/resources/meeting-sessions/artifacts.mjs +8 -7
- package/resources/meeting-sessions/artifacts.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 +281 -103
- package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.ts +281 -103
- package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.js +53 -21
- package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.mjs +53 -21
- package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
- package/resources/messages/messages.d.mts +32 -2
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +32 -2
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.mts +11 -0
- package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.ts +11 -0
- package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.mjs.map +1 -1
- package/resources/number-lookup.d.mts +5 -0
- package/resources/number-lookup.d.mts.map +1 -1
- package/resources/number-lookup.d.ts +5 -0
- package/resources/number-lookup.d.ts.map +1 -1
- package/resources/pay-connectors.d.mts +7 -7
- package/resources/pay-connectors.d.mts.map +1 -1
- package/resources/pay-connectors.d.ts +7 -7
- package/resources/pay-connectors.d.ts.map +1 -1
- package/resources/phone-numbers/index.d.mts +1 -1
- package/resources/phone-numbers/index.d.mts.map +1 -1
- package/resources/phone-numbers/index.d.ts +1 -1
- package/resources/phone-numbers/index.d.ts.map +1 -1
- package/resources/phone-numbers/index.js.map +1 -1
- package/resources/phone-numbers/index.mjs.map +1 -1
- package/resources/phone-numbers/jobs.d.mts +21 -57
- package/resources/phone-numbers/jobs.d.mts.map +1 -1
- package/resources/phone-numbers/jobs.d.ts +21 -57
- package/resources/phone-numbers/jobs.d.ts.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.mts +2 -2
- package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.ts +2 -2
- 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/portouts/portouts.d.mts +2 -1
- package/resources/portouts/portouts.d.mts.map +1 -1
- package/resources/portouts/portouts.d.ts +2 -1
- package/resources/portouts/portouts.d.ts.map +1 -1
- package/resources/portouts/portouts.js +2 -1
- package/resources/portouts/portouts.js.map +1 -1
- package/resources/portouts/portouts.mjs +2 -1
- package/resources/portouts/portouts.mjs.map +1 -1
- package/resources/telephony-credentials.d.mts +54 -24
- package/resources/telephony-credentials.d.mts.map +1 -1
- package/resources/telephony-credentials.d.ts +54 -24
- package/resources/telephony-credentials.d.ts.map +1 -1
- package/resources/telephony-credentials.js +31 -27
- package/resources/telephony-credentials.js.map +1 -1
- package/resources/telephony-credentials.mjs +31 -27
- package/resources/telephony-credentials.mjs.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.mts +45 -5
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +45 -5
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-speech/text-to-speech.js +8 -2
- package/resources/text-to-speech/text-to-speech.js.map +1 -1
- package/resources/text-to-speech/text-to-speech.mjs +8 -2
- package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
- package/resources/user-profile.d.mts +284 -0
- package/resources/user-profile.d.mts.map +1 -0
- package/resources/user-profile.d.ts +284 -0
- package/resources/user-profile.d.ts.map +1 -0
- package/resources/user-profile.js +42 -0
- package/resources/user-profile.js.map +1 -0
- package/resources/user-profile.mjs +38 -0
- package/resources/user-profile.mjs.map +1 -0
- package/resources/voice-clones.d.mts +4 -4
- package/resources/voice-clones.d.mts.map +1 -1
- package/resources/voice-clones.d.ts +4 -4
- package/resources/voice-clones.d.ts.map +1 -1
- package/resources/webhooks.d.mts +139 -23
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +139 -23
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.d.mts +2 -2
- package/resources/whatsapp/business-accounts/business-accounts.d.mts.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.d.ts +2 -2
- package/resources/whatsapp/business-accounts/business-accounts.d.ts.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.js.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.mjs.map +1 -1
- package/resources/whatsapp/business-accounts/index.d.mts +1 -1
- package/resources/whatsapp/business-accounts/index.d.mts.map +1 -1
- package/resources/whatsapp/business-accounts/index.d.ts +1 -1
- package/resources/whatsapp/business-accounts/index.d.ts.map +1 -1
- package/resources/whatsapp/business-accounts/index.js.map +1 -1
- package/resources/whatsapp/business-accounts/index.mjs.map +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.d.mts +7 -66
- package/resources/whatsapp/business-accounts/phone-numbers.d.mts.map +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.d.ts +7 -66
- package/resources/whatsapp/business-accounts/phone-numbers.d.ts.map +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.js +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.js.map +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.mjs +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.mjs.map +1 -1
- package/resources/whatsapp/hosted-signups.d.mts +11 -73
- package/resources/whatsapp/hosted-signups.d.mts.map +1 -1
- package/resources/whatsapp/hosted-signups.d.ts +11 -73
- package/resources/whatsapp/hosted-signups.d.ts.map +1 -1
- package/resources/whatsapp/hosted-signups.js +5 -2
- package/resources/whatsapp/hosted-signups.js.map +1 -1
- package/resources/whatsapp/hosted-signups.mjs +5 -2
- package/resources/whatsapp/hosted-signups.mjs.map +1 -1
- package/resources/whatsapp/index.d.mts +2 -2
- package/resources/whatsapp/index.d.mts.map +1 -1
- package/resources/whatsapp/index.d.ts +2 -2
- package/resources/whatsapp/index.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/index.d.mts +1 -1
- package/resources/whatsapp/phone-numbers/index.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/index.d.ts +1 -1
- package/resources/whatsapp/phone-numbers/index.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +9 -135
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +9 -135
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.js +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/whatsapp/whatsapp.d.mts +4 -4
- package/resources/whatsapp/whatsapp.d.mts.map +1 -1
- package/resources/whatsapp/whatsapp.d.ts +4 -4
- package/resources/whatsapp/whatsapp.d.ts.map +1 -1
- package/resources/whatsapp/whatsapp.mjs.map +1 -1
- package/src/client.ts +103 -6
- package/src/core/pagination.ts +58 -0
- package/src/lib/login-token.ts +8 -4
- package/src/resources/agent-gateways/agent-gateways.ts +605 -0
- package/src/resources/agent-gateways/apis.ts +388 -0
- package/src/resources/agent-gateways/guardrails.ts +304 -0
- package/src/resources/agent-gateways/index.ts +87 -0
- package/src/resources/agent-gateways/keys/index.ts +20 -0
- package/src/resources/agent-gateways/keys/keys.ts +437 -0
- package/src/resources/agent-gateways/keys/tool-permissions.ts +139 -0
- package/src/resources/agent-gateways/keys.ts +3 -0
- package/src/resources/agent-gateways/mcp-servers.ts +328 -0
- package/src/resources/agent-gateways/policies.ts +348 -0
- package/src/resources/agent-gateways/policy-attachments.ts +167 -0
- package/src/resources/agent-gateways/teams/index.ts +16 -0
- package/src/resources/agent-gateways/teams/teams.ts +282 -0
- package/src/resources/agent-gateways/teams/tool-permissions.ts +112 -0
- package/src/resources/agent-gateways/teams.ts +3 -0
- package/src/resources/{tts-integrations.ts → agent-gateways.ts} +1 -1
- package/src/resources/ai/ai.ts +12 -0
- package/src/resources/ai/assistants/assistants.ts +241 -143
- package/src/resources/ai/assistants/index.ts +2 -0
- package/src/resources/ai/chat.ts +3 -5
- package/src/resources/ai/conversations/conversations.ts +39 -1
- package/src/resources/ai/conversations/index.ts +1 -0
- package/src/resources/ai/index.ts +3 -0
- package/src/resources/ai/memory/namespaces/index.ts +8 -1
- package/src/resources/ai/memory/namespaces/namespaces.ts +11 -1
- package/src/resources/ai/memory/namespaces/profiles/index.ts +1 -0
- package/src/resources/ai/memory/namespaces/profiles/profiles.ts +29 -4
- package/src/resources/ai/memory/namespaces/settings.ts +25 -27
- package/src/resources/ai/openai/chat.ts +3 -5
- package/src/resources/ai/tests/test-framework/v1/v1.ts +5 -5
- package/src/resources/ai/tools.ts +366 -0
- package/src/resources/browser-sessions/actions.ts +7 -7
- package/src/resources/browser-sessions/browser-sessions.ts +2 -2
- package/src/resources/calendar-connections/calendar-connections.ts +486 -0
- package/src/resources/calendar-connections/index.ts +21 -0
- package/src/resources/calendar-connections/meetings.ts +205 -0
- package/src/resources/calendar-connections.ts +3 -0
- package/src/resources/calls/actions.ts +16 -4
- package/src/resources/calls/calls.ts +6 -2
- package/src/resources/calls/index.ts +1 -0
- package/src/resources/compute/funcs/export.ts +41 -42
- package/src/resources/compute/funcs/funcs.ts +2 -1
- package/src/resources/compute/funcs/index.ts +6 -1
- package/src/resources/conferences/actions.ts +2 -1
- package/src/resources/email/dedicated-ips/dedicated-ips.ts +3 -2
- package/src/resources/email-events.ts +128 -147
- package/src/resources/email-messages/email-messages.ts +1 -7
- package/src/resources/email-templates.ts +17 -78
- package/src/resources/enterprises/enterprises.ts +2 -0
- package/src/resources/enterprises/index.ts +1 -0
- package/src/resources/enterprises/reputation/external-verification.ts +32 -34
- package/src/resources/enterprises/reputation/index.ts +2 -1
- package/src/resources/enterprises/reputation/reputation.ts +6 -4
- package/src/resources/enterprises/verify-email.ts +29 -30
- package/src/resources/index.ts +40 -1
- package/src/resources/meeting-bot/calendar.ts +54 -0
- package/src/resources/meeting-bot/index.ts +8 -0
- package/src/resources/meeting-bot/meeting-bot.ts +23 -0
- package/src/resources/meeting-bot.ts +3 -0
- package/src/resources/meeting-sessions/actions.ts +17 -11
- package/src/resources/meeting-sessions/artifacts.ts +8 -7
- package/src/resources/meeting-sessions/index.ts +4 -0
- package/src/resources/meeting-sessions/meeting-sessions.ts +321 -102
- package/src/resources/messages/messages.ts +32 -2
- package/src/resources/messaging-profiles/messaging-profiles.ts +12 -0
- package/src/resources/number-lookup.ts +6 -0
- package/src/resources/pay-connectors.ts +7 -7
- package/src/resources/phone-numbers/index.ts +2 -0
- package/src/resources/phone-numbers/jobs.ts +22 -60
- package/src/resources/phone-numbers/phone-numbers.ts +4 -0
- package/src/resources/portouts/portouts.ts +2 -1
- package/src/resources/telephony-credentials.ts +74 -41
- package/src/resources/text-to-speech/text-to-speech.ts +81 -5
- package/src/resources/user-profile.ts +357 -0
- package/src/resources/voice-clones.ts +4 -4
- package/src/resources/webhooks.ts +226 -20
- package/src/resources/whatsapp/business-accounts/business-accounts.ts +0 -4
- package/src/resources/whatsapp/business-accounts/index.ts +0 -2
- package/src/resources/whatsapp/business-accounts/phone-numbers.ts +7 -98
- package/src/resources/whatsapp/hosted-signups.ts +18 -97
- package/src/resources/whatsapp/index.ts +4 -4
- package/src/resources/whatsapp/phone-numbers/index.ts +2 -2
- package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +11 -197
- package/src/resources/whatsapp/whatsapp.ts +8 -8
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/tts-integrations/actions.d.mts +0 -4
- package/resources/tts-integrations/actions.d.mts.map +0 -1
- package/resources/tts-integrations/actions.d.ts +0 -4
- package/resources/tts-integrations/actions.d.ts.map +0 -1
- package/resources/tts-integrations/actions.js +0 -9
- package/resources/tts-integrations/actions.js.map +0 -1
- package/resources/tts-integrations/actions.mjs +0 -5
- package/resources/tts-integrations/actions.mjs.map +0 -1
- package/resources/tts-integrations/index.d.mts +0 -3
- package/resources/tts-integrations/index.d.mts.map +0 -1
- package/resources/tts-integrations/index.d.ts +0 -3
- package/resources/tts-integrations/index.d.ts.map +0 -1
- package/resources/tts-integrations/index.js +0 -9
- package/resources/tts-integrations/index.js.map +0 -1
- package/resources/tts-integrations/index.mjs +0 -4
- package/resources/tts-integrations/index.mjs.map +0 -1
- package/resources/tts-integrations/tts-integrations.d.mts +0 -10
- package/resources/tts-integrations/tts-integrations.d.mts.map +0 -1
- package/resources/tts-integrations/tts-integrations.d.ts +0 -10
- package/resources/tts-integrations/tts-integrations.d.ts.map +0 -1
- package/resources/tts-integrations/tts-integrations.js +0 -17
- package/resources/tts-integrations/tts-integrations.js.map +0 -1
- package/resources/tts-integrations/tts-integrations.mjs +0 -12
- package/resources/tts-integrations/tts-integrations.mjs.map +0 -1
- package/resources/tts-integrations.d.mts +0 -2
- package/resources/tts-integrations.d.mts.map +0 -1
- package/resources/tts-integrations.d.ts +0 -2
- package/resources/tts-integrations.d.ts.map +0 -1
- package/resources/tts-integrations.js.map +0 -1
- package/resources/tts-integrations.mjs +0 -3
- package/resources/tts-integrations.mjs.map +0 -1
- package/src/resources/tts-integrations/actions.ts +0 -5
- package/src/resources/tts-integrations/index.ts +0 -4
- package/src/resources/tts-integrations/tts-integrations.ts +0 -15
|
@@ -1813,6 +1813,22 @@ export interface ExternalLlm {
|
|
|
1813
1813
|
*/
|
|
1814
1814
|
certificate_ref?: string;
|
|
1815
1815
|
|
|
1816
|
+
/**
|
|
1817
|
+
* Custom HTTP headers Telnyx sets on every request to the external LLM endpoint,
|
|
1818
|
+
* in addition to the authentication header. Keys are header names, values are
|
|
1819
|
+
* static strings. At most 32 headers. Reserved names are rejected:
|
|
1820
|
+
* accept-encoding, authorization, connection, content-encoding, content-length,
|
|
1821
|
+
* content-type, cookie, expect, host, keep-alive, proxy-authenticate,
|
|
1822
|
+
* proxy-authorization, proxy-connection, set-cookie, te, trailer,
|
|
1823
|
+
* transfer-encoding, upgrade, x-host-rewrite, x-request-id, x-trace-id, and any
|
|
1824
|
+
* x-telnyx-_ or x-stainless-_ header; '\_' counts as '-' when names are compared.
|
|
1825
|
+
* Names must be valid HTTP header names (RFC 7230 token, at most 128 characters)
|
|
1826
|
+
* and must not repeat (case-insensitive). Values must be printable ASCII, at most
|
|
1827
|
+
* 4096 characters, with no leading or trailing whitespace. Values are stored as
|
|
1828
|
+
* plain text and returned when the assistant is retrieved.
|
|
1829
|
+
*/
|
|
1830
|
+
extra_headers?: { [key: string]: string } | null;
|
|
1831
|
+
|
|
1816
1832
|
/**
|
|
1817
1833
|
* When `true`, Telnyx forwards the assistant's dynamic variables to the external
|
|
1818
1834
|
* LLM endpoint as a top-level `extra_metadata` object on the chat completion
|
|
@@ -1857,6 +1873,22 @@ export interface ExternalLlmReq {
|
|
|
1857
1873
|
*/
|
|
1858
1874
|
certificate_ref?: string;
|
|
1859
1875
|
|
|
1876
|
+
/**
|
|
1877
|
+
* Custom HTTP headers Telnyx sets on every request to the external LLM endpoint,
|
|
1878
|
+
* in addition to the authentication header. Keys are header names, values are
|
|
1879
|
+
* static strings. At most 32 headers. Reserved names are rejected:
|
|
1880
|
+
* accept-encoding, authorization, connection, content-encoding, content-length,
|
|
1881
|
+
* content-type, cookie, expect, host, keep-alive, proxy-authenticate,
|
|
1882
|
+
* proxy-authorization, proxy-connection, set-cookie, te, trailer,
|
|
1883
|
+
* transfer-encoding, upgrade, x-host-rewrite, x-request-id, x-trace-id, and any
|
|
1884
|
+
* x-telnyx-_ or x-stainless-_ header; '\_' counts as '-' when names are compared.
|
|
1885
|
+
* Names must be valid HTTP header names (RFC 7230 token, at most 128 characters)
|
|
1886
|
+
* and must not repeat (case-insensitive). Values must be printable ASCII, at most
|
|
1887
|
+
* 4096 characters, with no leading or trailing whitespace. Values are stored as
|
|
1888
|
+
* plain text and returned when the assistant is retrieved.
|
|
1889
|
+
*/
|
|
1890
|
+
extra_headers?: { [key: string]: string } | null;
|
|
1891
|
+
|
|
1860
1892
|
/**
|
|
1861
1893
|
* When `true`, Telnyx forwards the assistant's dynamic variables to the external
|
|
1862
1894
|
* LLM endpoint as a top-level `extra_metadata` object on the chat completion
|
|
@@ -2513,8 +2545,20 @@ export interface InferenceEmbeddingInterruptionSettings {
|
|
|
2513
2545
|
* thresholds primarily apply to non turn-taking transcription models. For
|
|
2514
2546
|
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
2515
2547
|
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
2516
|
-
|
|
2517
|
-
|
|
2548
|
+
*
|
|
2549
|
+
* Sending any `start_speaking_plan` object — an empty `{}` included (the stored
|
|
2550
|
+
* config fills in field defaults) — engages per-turn transcript matching: on each
|
|
2551
|
+
* turn the transcript tail is evaluated against the configured
|
|
2552
|
+
* `transcription_endpointing_plan` tiers, and the wait is set to the matching
|
|
2553
|
+
* tier's seconds. When the transcript ends without terminal punctuation or a
|
|
2554
|
+
* number and `transcription_endpointing_plan` is set, its
|
|
2555
|
+
* `on_no_punctuation_seconds` tier applies. Only when no tier matches
|
|
2556
|
+
* (`transcription_endpointing_plan` unset or null) does the wait stay on
|
|
2557
|
+
* `wait_seconds`. Setting `start_speaking_plan` to `null` (or omitting it) turns
|
|
2558
|
+
* per-turn matching off entirely, and the assistant starts speaking as soon as
|
|
2559
|
+
* silence is detected.
|
|
2560
|
+
*/
|
|
2561
|
+
start_speaking_plan?: StartSpeakingPlan | null;
|
|
2518
2562
|
}
|
|
2519
2563
|
|
|
2520
2564
|
export interface InferenceEmbeddingVoiceSettings {
|
|
@@ -2560,6 +2604,15 @@ export interface InferenceEmbeddingVoiceSettings {
|
|
|
2560
2604
|
*/
|
|
2561
2605
|
expressive_mode?: boolean;
|
|
2562
2606
|
|
|
2607
|
+
/**
|
|
2608
|
+
* Two-letter ISO 639-1 code of the language the voice speaks, for example `es`.
|
|
2609
|
+
* Only applicable to Soniox and AssemblyAI voices, which speak every language of
|
|
2610
|
+
* their model. AssemblyAI accepts `en`, `es`, `de`, `fr`, `it`, and `pt`, as a
|
|
2611
|
+
* literal code: a dynamic variable is rejected. When unset, the voice speaks
|
|
2612
|
+
* English.
|
|
2613
|
+
*/
|
|
2614
|
+
language?: string | null;
|
|
2615
|
+
|
|
2563
2616
|
/**
|
|
2564
2617
|
* Enhances recognition for specific languages and dialects during MiniMax TTS
|
|
2565
2618
|
* synthesis. Default is null (no boost). Set to 'auto' for automatic language
|
|
@@ -3157,18 +3210,32 @@ export interface PrivacySettings {
|
|
|
3157
3210
|
data_retention?: boolean;
|
|
3158
3211
|
|
|
3159
3212
|
/**
|
|
3160
|
-
* Requires
|
|
3161
|
-
*
|
|
3162
|
-
*
|
|
3163
|
-
*
|
|
3164
|
-
*
|
|
3165
|
-
*
|
|
3166
|
-
*
|
|
3167
|
-
*
|
|
3168
|
-
*
|
|
3169
|
-
*
|
|
3213
|
+
* Requires this assistant's conversations to be processed inside your
|
|
3214
|
+
* organization's data-locality region, rather than only stored there, on every
|
|
3215
|
+
* channel: for web chat, every model call of a turn; for voice, the call's model
|
|
3216
|
+
* calls and the Telnyx-hosted speech services it uses; for SMS and WhatsApp, the
|
|
3217
|
+
* model calls of each turn (how messages travel through carriers is not covered).
|
|
3218
|
+
* Covered processing that cannot be handled in region fails rather than being
|
|
3219
|
+
* served elsewhere. Enabling it requires a data-locality region with in-region
|
|
3220
|
+
* inference (USA, EU, AUS, UAE; see
|
|
3221
|
+
* [Inference regions](https://developers.telnyx.com/docs/inference/models/regions)),
|
|
3222
|
+
* models for the assistant, its fallback, and any conversation-flow node that
|
|
3223
|
+
* overrides the model that are either Telnyx-hosted or a customer-provided
|
|
3224
|
+
* `external_llm` endpoint (third-party model providers are refused), and, when
|
|
3225
|
+
* `insight_settings.model` is set, an insight model available in that region; the
|
|
3226
|
+
* request is rejected otherwise. A voice call fails when it starts if its STT
|
|
3227
|
+
* model or TTS voice is not self-hosted by Telnyx, if the assistant uses a
|
|
3228
|
+
* speech-to-speech model, or if the call's media is anchored outside the region.
|
|
3229
|
+
* URLs Telnyx is configured to call — an `external_llm` endpoint, webhook tools,
|
|
3230
|
+
* Voice API callbacks, or a recording storage destination — are followed as-is:
|
|
3231
|
+
* Telnyx cannot verify where a customer-supplied URL processes requests, and
|
|
3232
|
+
* keeping those steps in your region is your responsibility. Once enabled, send
|
|
3233
|
+
* web chat requests and WebSocket or WebRTC conversations to your region's API
|
|
3234
|
+
* hostname: one entering the platform in another region is refused rather than
|
|
3170
3235
|
* forwarded, because forwarding it would already have moved the content across the
|
|
3171
|
-
* border.
|
|
3236
|
+
* border. See
|
|
3237
|
+
* [Data residency](https://developers.telnyx.com/docs/inference/data-residency#in-region-processing-for-ai-assistants).
|
|
3238
|
+
* Defaults to false.
|
|
3172
3239
|
*/
|
|
3173
3240
|
in_transit_data_locality?: boolean;
|
|
3174
3241
|
|
|
@@ -3311,18 +3378,37 @@ export interface SpeakNodeReq {
|
|
|
3311
3378
|
* thresholds primarily apply to non turn-taking transcription models. For
|
|
3312
3379
|
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
3313
3380
|
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
3381
|
+
*
|
|
3382
|
+
* Sending any `start_speaking_plan` object — an empty `{}` included (the stored
|
|
3383
|
+
* config fills in field defaults) — engages per-turn transcript matching: on each
|
|
3384
|
+
* turn the transcript tail is evaluated against the configured
|
|
3385
|
+
* `transcription_endpointing_plan` tiers, and the wait is set to the matching
|
|
3386
|
+
* tier's seconds. When the transcript ends without terminal punctuation or a
|
|
3387
|
+
* number and `transcription_endpointing_plan` is set, its
|
|
3388
|
+
* `on_no_punctuation_seconds` tier applies. Only when no tier matches
|
|
3389
|
+
* (`transcription_endpointing_plan` unset or null) does the wait stay on
|
|
3390
|
+
* `wait_seconds`. Setting `start_speaking_plan` to `null` (or omitting it) turns
|
|
3391
|
+
* per-turn matching off entirely, and the assistant starts speaking as soon as
|
|
3392
|
+
* silence is detected.
|
|
3314
3393
|
*/
|
|
3315
3394
|
export interface StartSpeakingPlan {
|
|
3316
3395
|
/**
|
|
3317
3396
|
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
3318
3397
|
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
3319
3398
|
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
3320
|
-
* `eager_eot_threshold`.
|
|
3399
|
+
* `eager_eot_threshold`. Evaluated per turn, on each caller transcript, only while
|
|
3400
|
+
* `start_speaking_plan` is present: the tier whose suffix matches the transcript
|
|
3401
|
+
* tail is applied (a transcript with no terminal punctuation or number falls
|
|
3402
|
+
* through to `on_no_punctuation_seconds`); with no tiers configured (or a null
|
|
3403
|
+
* nested plan), the per-turn wait stays on `start_speaking_plan.wait_seconds`.
|
|
3321
3404
|
*/
|
|
3322
|
-
transcription_endpointing_plan?: TranscriptionEndpointingPlan;
|
|
3405
|
+
transcription_endpointing_plan?: TranscriptionEndpointingPlan | null;
|
|
3323
3406
|
|
|
3324
3407
|
/**
|
|
3325
|
-
*
|
|
3408
|
+
* Wait used when per-turn endpointing does not select a tier. While the plan is
|
|
3409
|
+
* present this applies on every turn without a matching tier (including when
|
|
3410
|
+
* `transcription_endpointing_plan` is unset); a matching tier replaces it for that
|
|
3411
|
+
* turn, and a tier may be shorter or longer than this value.
|
|
3326
3412
|
*/
|
|
3327
3413
|
wait_seconds?: number;
|
|
3328
3414
|
}
|
|
@@ -3362,6 +3448,15 @@ export interface TelephonySettings {
|
|
|
3362
3448
|
*/
|
|
3363
3449
|
fallback_destination?: string;
|
|
3364
3450
|
|
|
3451
|
+
/**
|
|
3452
|
+
* Milliseconds to wait after an inbound call is answered before the assistant
|
|
3453
|
+
* starts and speaks its greeting. Increase it if the beginning of the greeting is
|
|
3454
|
+
* cut off on some connections (for example, WebRTC calls). When unset (`null`),
|
|
3455
|
+
* the platform default of 250 ms is used. Set to `0` to start without a delay.
|
|
3456
|
+
* Maximum 2000.
|
|
3457
|
+
*/
|
|
3458
|
+
greeting_delay_ms?: number | null;
|
|
3459
|
+
|
|
3365
3460
|
/**
|
|
3366
3461
|
* The noise suppression engine to use. 'aicoustics' is STT-optimized and
|
|
3367
3462
|
* recommended for AI assistants (configure through noise_suppression_config). Use
|
|
@@ -3716,11 +3811,91 @@ export interface ToolNodeReq {
|
|
|
3716
3811
|
type?: 'tool';
|
|
3717
3812
|
}
|
|
3718
3813
|
|
|
3814
|
+
/**
|
|
3815
|
+
* A second speech-to-text model that transcribes alongside `transcription.model`,
|
|
3816
|
+
* and the rule that decides which transcript the assistant uses.
|
|
3817
|
+
*/
|
|
3818
|
+
export interface TranscriptionChallenger {
|
|
3819
|
+
/**
|
|
3820
|
+
* The language booster's model. It must be the same kind of model as
|
|
3821
|
+
* `transcription.model`: both streaming (`deepgram/flux`, `deepgram/nova-3`,
|
|
3822
|
+
* `deepgram/nova-2`, `assemblyai/universal-3-6-pro` or its legacy aliases
|
|
3823
|
+
* `assemblyai/universal-3-5-pro` and `assemblyai/universal-streaming`,
|
|
3824
|
+
* `xai/grok-stt`, `soniox/stt-rt-v4`, `soniox/stt-rt-v5`, `humain/realtime`,
|
|
3825
|
+
* `reson8/turns`) or both non-streaming (`azure/fast`, `nvidia/parakeet-v3`,
|
|
3826
|
+
* `omi-health/omi-med-stt-v1`, `cohere/ar-stt`, `distil-whisper/distil-large-v2`,
|
|
3827
|
+
* `openai/whisper-large-v3-turbo`, `telnyx/basira`). It can be the same model as
|
|
3828
|
+
* `transcription.model` on a different `language`.
|
|
3829
|
+
*/
|
|
3830
|
+
model:
|
|
3831
|
+
| 'deepgram/flux'
|
|
3832
|
+
| 'deepgram/nova-3'
|
|
3833
|
+
| 'deepgram/nova-2'
|
|
3834
|
+
| 'azure/fast'
|
|
3835
|
+
| 'assemblyai/universal-3-6-pro'
|
|
3836
|
+
| 'assemblyai/universal-3-5-pro'
|
|
3837
|
+
| 'assemblyai/universal-streaming'
|
|
3838
|
+
| 'xai/grok-stt'
|
|
3839
|
+
| 'soniox/stt-rt-v4'
|
|
3840
|
+
| 'soniox/stt-rt-v5'
|
|
3841
|
+
| 'nvidia/parakeet-v3'
|
|
3842
|
+
| 'omi-health/omi-med-stt-v1'
|
|
3843
|
+
| 'humain/realtime'
|
|
3844
|
+
| 'reson8/turns'
|
|
3845
|
+
| 'cohere/ar-stt'
|
|
3846
|
+
| 'telnyx/basira'
|
|
3847
|
+
| 'distil-whisper/distil-large-v2'
|
|
3848
|
+
| 'openai/whisper-large-v3-turbo';
|
|
3849
|
+
|
|
3850
|
+
/**
|
|
3851
|
+
* The language this model transcribes. Omit it or set it to `null` to use the
|
|
3852
|
+
* language of `transcription.model`. The request is rejected when this model
|
|
3853
|
+
* doesn't support the language it would run. It is also rejected when it would run
|
|
3854
|
+
* the same model on the same language as `transcription.model`.
|
|
3855
|
+
*/
|
|
3856
|
+
language?: string | null;
|
|
3857
|
+
|
|
3858
|
+
/**
|
|
3859
|
+
* How the assistant picks the transcript it uses. The models are compared on how
|
|
3860
|
+
* complete and confident their transcripts are, not on language, so the rules work
|
|
3861
|
+
* best when both models understand the callers' language.
|
|
3862
|
+
*
|
|
3863
|
+
* - `best_turn` (default): both models transcribe the whole call. Each turn uses
|
|
3864
|
+
* the language booster's transcript only when it scores higher than the
|
|
3865
|
+
* transcript of `transcription.model` (clearly higher with non-streaming
|
|
3866
|
+
* models). With streaming models, `transcription.model` also decides when each
|
|
3867
|
+
* turn ends. Available for every pair.
|
|
3868
|
+
* - `best_engine`: both models transcribe the first turns, then the call continues
|
|
3869
|
+
* alone on the model whose transcripts scored higher. If neither clearly leads,
|
|
3870
|
+
* `transcription.model` continues. Streaming models only.
|
|
3871
|
+
* - `merge_words`: both models transcribe each utterance and their words are
|
|
3872
|
+
* merged, keeping Arabic and English spoken in the same sentence. Available only
|
|
3873
|
+
* for `telnyx/basira` with `cohere/ar-stt`, in either order. The pair runs on
|
|
3874
|
+
* the language that applies to `telnyx/basira` (its own, or that of
|
|
3875
|
+
* `transcription.model`), which must be Arabic (`ar` or an `ar-` locale),
|
|
3876
|
+
* `multi`, or `auto`.
|
|
3877
|
+
*/
|
|
3878
|
+
rule?: 'best_turn' | 'best_engine' | 'merge_words';
|
|
3879
|
+
|
|
3880
|
+
/**
|
|
3881
|
+
* Settings for the language booster, with the same fields and limits as
|
|
3882
|
+
* `transcription.settings`. Fields that don't apply to this model's provider are
|
|
3883
|
+
* dropped, and the provider's defaults fill in the rest. Omit it or set it to
|
|
3884
|
+
* `null` to use the settings of `transcription.model` where they apply to this
|
|
3885
|
+
* model.
|
|
3886
|
+
*/
|
|
3887
|
+
settings?: TranscriptionSettingsConfig | null;
|
|
3888
|
+
}
|
|
3889
|
+
|
|
3719
3890
|
/**
|
|
3720
3891
|
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
3721
3892
|
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
3722
3893
|
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
3723
|
-
* `eager_eot_threshold`.
|
|
3894
|
+
* `eager_eot_threshold`. Evaluated per turn, on each caller transcript, only while
|
|
3895
|
+
* `start_speaking_plan` is present: the tier whose suffix matches the transcript
|
|
3896
|
+
* tail is applied (a transcript with no terminal punctuation or number falls
|
|
3897
|
+
* through to `on_no_punctuation_seconds`); with no tiers configured (or a null
|
|
3898
|
+
* nested plan), the per-turn wait stays on `start_speaking_plan.wait_seconds`.
|
|
3724
3899
|
*/
|
|
3725
3900
|
export interface TranscriptionEndpointingPlan {
|
|
3726
3901
|
/**
|
|
@@ -3739,6 +3914,49 @@ export interface TranscriptionEndpointingPlan {
|
|
|
3739
3914
|
on_punctuation_seconds?: number;
|
|
3740
3915
|
}
|
|
3741
3916
|
|
|
3917
|
+
/**
|
|
3918
|
+
* A streaming speech-to-text model that takes over transcription when the model in
|
|
3919
|
+
* use fails.
|
|
3920
|
+
*/
|
|
3921
|
+
export interface TranscriptionFallbackModel {
|
|
3922
|
+
/**
|
|
3923
|
+
* The fallback model. It must be a streaming model other than
|
|
3924
|
+
* `transcription.model` and the other fallbacks: `deepgram/flux`,
|
|
3925
|
+
* `deepgram/nova-3`, `deepgram/nova-2`, `assemblyai/universal-3-6-pro` (or its
|
|
3926
|
+
* legacy aliases `assemblyai/universal-3-5-pro` and
|
|
3927
|
+
* `assemblyai/universal-streaming`), `xai/grok-stt`, `soniox/stt-rt-v4`,
|
|
3928
|
+
* `soniox/stt-rt-v5`, `humain/realtime`, or `reson8/turns`.
|
|
3929
|
+
*/
|
|
3930
|
+
model:
|
|
3931
|
+
| 'deepgram/flux'
|
|
3932
|
+
| 'deepgram/nova-3'
|
|
3933
|
+
| 'deepgram/nova-2'
|
|
3934
|
+
| 'assemblyai/universal-3-6-pro'
|
|
3935
|
+
| 'assemblyai/universal-3-5-pro'
|
|
3936
|
+
| 'assemblyai/universal-streaming'
|
|
3937
|
+
| 'xai/grok-stt'
|
|
3938
|
+
| 'soniox/stt-rt-v4'
|
|
3939
|
+
| 'soniox/stt-rt-v5'
|
|
3940
|
+
| 'humain/realtime'
|
|
3941
|
+
| 'reson8/turns';
|
|
3942
|
+
|
|
3943
|
+
/**
|
|
3944
|
+
* The language the fallback transcribes. Omit it or set it to `null` to use the
|
|
3945
|
+
* language of `transcription.model`. The request is rejected when the fallback
|
|
3946
|
+
* model doesn't support the language it would run.
|
|
3947
|
+
*/
|
|
3948
|
+
language?: string | null;
|
|
3949
|
+
|
|
3950
|
+
/**
|
|
3951
|
+
* Settings for the fallback, with the same fields and limits as
|
|
3952
|
+
* `transcription.settings`. Fields that don't apply to this model's provider are
|
|
3953
|
+
* dropped, and the provider's defaults fill in the rest. Omit it or set it to
|
|
3954
|
+
* `null` to use the settings of `transcription.model` where they apply to this
|
|
3955
|
+
* model.
|
|
3956
|
+
*/
|
|
3957
|
+
settings?: TranscriptionSettingsConfig | null;
|
|
3958
|
+
}
|
|
3959
|
+
|
|
3742
3960
|
export interface TranscriptionSettings {
|
|
3743
3961
|
/**
|
|
3744
3962
|
* Integration secret identifier for the transcription provider API key. Currently
|
|
@@ -3750,7 +3968,7 @@ export interface TranscriptionSettings {
|
|
|
3750
3968
|
* A second speech-to-text model that transcribes alongside `transcription.model`,
|
|
3751
3969
|
* and the rule that decides which transcript the assistant uses.
|
|
3752
3970
|
*/
|
|
3753
|
-
challenger?:
|
|
3971
|
+
challenger?: TranscriptionChallenger | null;
|
|
3754
3972
|
|
|
3755
3973
|
/**
|
|
3756
3974
|
* Up to 3 streaming models that take over transcription, in this order, when the
|
|
@@ -3762,7 +3980,7 @@ export interface TranscriptionSettings {
|
|
|
3762
3980
|
* Can't be combined with `challenger`, the language booster; to replace a stored
|
|
3763
3981
|
* language booster, send `challenger: null` in the same request.
|
|
3764
3982
|
*/
|
|
3765
|
-
fallback_models?: Array<
|
|
3983
|
+
fallback_models?: Array<TranscriptionFallbackModel> | null;
|
|
3766
3984
|
|
|
3767
3985
|
/**
|
|
3768
3986
|
* The language of the audio to be transcribed. If not set, or if set to `auto`,
|
|
@@ -3854,127 +4072,6 @@ export interface TranscriptionSettings {
|
|
|
3854
4072
|
settings?: TranscriptionSettingsConfig;
|
|
3855
4073
|
}
|
|
3856
4074
|
|
|
3857
|
-
export namespace TranscriptionSettings {
|
|
3858
|
-
/**
|
|
3859
|
-
* A second speech-to-text model that transcribes alongside `transcription.model`,
|
|
3860
|
-
* and the rule that decides which transcript the assistant uses.
|
|
3861
|
-
*/
|
|
3862
|
-
export interface Challenger {
|
|
3863
|
-
/**
|
|
3864
|
-
* The language booster's model. It must be the same kind of model as
|
|
3865
|
-
* `transcription.model`: both streaming (`deepgram/flux`, `deepgram/nova-3`,
|
|
3866
|
-
* `deepgram/nova-2`, `assemblyai/universal-3-6-pro` or its legacy aliases
|
|
3867
|
-
* `assemblyai/universal-3-5-pro` and `assemblyai/universal-streaming`,
|
|
3868
|
-
* `xai/grok-stt`, `soniox/stt-rt-v4`, `soniox/stt-rt-v5`, `humain/realtime`,
|
|
3869
|
-
* `reson8/turns`) or both non-streaming (`azure/fast`, `nvidia/parakeet-v3`,
|
|
3870
|
-
* `omi-health/omi-med-stt-v1`, `cohere/ar-stt`, `distil-whisper/distil-large-v2`,
|
|
3871
|
-
* `openai/whisper-large-v3-turbo`, `telnyx/basira`). It can be the same model as
|
|
3872
|
-
* `transcription.model` on a different `language`.
|
|
3873
|
-
*/
|
|
3874
|
-
model:
|
|
3875
|
-
| 'deepgram/flux'
|
|
3876
|
-
| 'deepgram/nova-3'
|
|
3877
|
-
| 'deepgram/nova-2'
|
|
3878
|
-
| 'azure/fast'
|
|
3879
|
-
| 'assemblyai/universal-3-6-pro'
|
|
3880
|
-
| 'assemblyai/universal-3-5-pro'
|
|
3881
|
-
| 'assemblyai/universal-streaming'
|
|
3882
|
-
| 'xai/grok-stt'
|
|
3883
|
-
| 'soniox/stt-rt-v4'
|
|
3884
|
-
| 'soniox/stt-rt-v5'
|
|
3885
|
-
| 'nvidia/parakeet-v3'
|
|
3886
|
-
| 'omi-health/omi-med-stt-v1'
|
|
3887
|
-
| 'humain/realtime'
|
|
3888
|
-
| 'reson8/turns'
|
|
3889
|
-
| 'cohere/ar-stt'
|
|
3890
|
-
| 'telnyx/basira'
|
|
3891
|
-
| 'distil-whisper/distil-large-v2'
|
|
3892
|
-
| 'openai/whisper-large-v3-turbo';
|
|
3893
|
-
|
|
3894
|
-
/**
|
|
3895
|
-
* The language this model transcribes. Omit it or set it to `null` to use the
|
|
3896
|
-
* language of `transcription.model`. The request is rejected when this model
|
|
3897
|
-
* doesn't support the language it would run. It is also rejected when it would run
|
|
3898
|
-
* the same model on the same language as `transcription.model`.
|
|
3899
|
-
*/
|
|
3900
|
-
language?: string | null;
|
|
3901
|
-
|
|
3902
|
-
/**
|
|
3903
|
-
* How the assistant picks the transcript it uses. The models are compared on how
|
|
3904
|
-
* complete and confident their transcripts are, not on language, so the rules work
|
|
3905
|
-
* best when both models understand the callers' language.
|
|
3906
|
-
*
|
|
3907
|
-
* - `best_turn` (default): both models transcribe the whole call. Each turn uses
|
|
3908
|
-
* the language booster's transcript only when it scores higher than the
|
|
3909
|
-
* transcript of `transcription.model` (clearly higher with non-streaming
|
|
3910
|
-
* models). With streaming models, `transcription.model` also decides when each
|
|
3911
|
-
* turn ends. Available for every pair.
|
|
3912
|
-
* - `best_engine`: both models transcribe the first turns, then the call continues
|
|
3913
|
-
* alone on the model whose transcripts scored higher. If neither clearly leads,
|
|
3914
|
-
* `transcription.model` continues. Streaming models only.
|
|
3915
|
-
* - `merge_words`: both models transcribe each utterance and their words are
|
|
3916
|
-
* merged, keeping Arabic and English spoken in the same sentence. Available only
|
|
3917
|
-
* for `telnyx/basira` with `cohere/ar-stt`, in either order. The pair runs on
|
|
3918
|
-
* the language that applies to `telnyx/basira` (its own, or that of
|
|
3919
|
-
* `transcription.model`), which must be Arabic (`ar` or an `ar-` locale),
|
|
3920
|
-
* `multi`, or `auto`.
|
|
3921
|
-
*/
|
|
3922
|
-
rule?: 'best_turn' | 'best_engine' | 'merge_words';
|
|
3923
|
-
|
|
3924
|
-
/**
|
|
3925
|
-
* Settings for the language booster, with the same fields and limits as
|
|
3926
|
-
* `transcription.settings`. Fields that don't apply to this model's provider are
|
|
3927
|
-
* dropped, and the provider's defaults fill in the rest. Omit it or set it to
|
|
3928
|
-
* `null` to use the settings of `transcription.model` where they apply to this
|
|
3929
|
-
* model.
|
|
3930
|
-
*/
|
|
3931
|
-
settings?: AssistantsAPI.TranscriptionSettingsConfig | null;
|
|
3932
|
-
}
|
|
3933
|
-
|
|
3934
|
-
/**
|
|
3935
|
-
* A streaming speech-to-text model that takes over transcription when the model in
|
|
3936
|
-
* use fails.
|
|
3937
|
-
*/
|
|
3938
|
-
export interface FallbackModel {
|
|
3939
|
-
/**
|
|
3940
|
-
* The fallback model. It must be a streaming model other than
|
|
3941
|
-
* `transcription.model` and the other fallbacks: `deepgram/flux`,
|
|
3942
|
-
* `deepgram/nova-3`, `deepgram/nova-2`, `assemblyai/universal-3-6-pro` (or its
|
|
3943
|
-
* legacy aliases `assemblyai/universal-3-5-pro` and
|
|
3944
|
-
* `assemblyai/universal-streaming`), `xai/grok-stt`, `soniox/stt-rt-v4`,
|
|
3945
|
-
* `soniox/stt-rt-v5`, `humain/realtime`, or `reson8/turns`.
|
|
3946
|
-
*/
|
|
3947
|
-
model:
|
|
3948
|
-
| 'deepgram/flux'
|
|
3949
|
-
| 'deepgram/nova-3'
|
|
3950
|
-
| 'deepgram/nova-2'
|
|
3951
|
-
| 'assemblyai/universal-3-6-pro'
|
|
3952
|
-
| 'assemblyai/universal-3-5-pro'
|
|
3953
|
-
| 'assemblyai/universal-streaming'
|
|
3954
|
-
| 'xai/grok-stt'
|
|
3955
|
-
| 'soniox/stt-rt-v4'
|
|
3956
|
-
| 'soniox/stt-rt-v5'
|
|
3957
|
-
| 'humain/realtime'
|
|
3958
|
-
| 'reson8/turns';
|
|
3959
|
-
|
|
3960
|
-
/**
|
|
3961
|
-
* The language the fallback transcribes. Omit it or set it to `null` to use the
|
|
3962
|
-
* language of `transcription.model`. The request is rejected when the fallback
|
|
3963
|
-
* model doesn't support the language it would run.
|
|
3964
|
-
*/
|
|
3965
|
-
language?: string | null;
|
|
3966
|
-
|
|
3967
|
-
/**
|
|
3968
|
-
* Settings for the fallback, with the same fields and limits as
|
|
3969
|
-
* `transcription.settings`. Fields that don't apply to this model's provider are
|
|
3970
|
-
* dropped, and the provider's defaults fill in the rest. Omit it or set it to
|
|
3971
|
-
* `null` to use the settings of `transcription.model` where they apply to this
|
|
3972
|
-
* model.
|
|
3973
|
-
*/
|
|
3974
|
-
settings?: AssistantsAPI.TranscriptionSettingsConfig | null;
|
|
3975
|
-
}
|
|
3976
|
-
}
|
|
3977
|
-
|
|
3978
4075
|
export interface TranscriptionSettingsConfig {
|
|
3979
4076
|
/**
|
|
3980
4077
|
* Available only for soniox/stt-rt-v4 and soniox/stt-rt-v5. A comma-separated list
|
|
@@ -4002,9 +4099,8 @@ export interface TranscriptionSettingsConfig {
|
|
|
4002
4099
|
enable_endpoint_detection?: boolean;
|
|
4003
4100
|
|
|
4004
4101
|
/**
|
|
4005
|
-
* @deprecated
|
|
4006
|
-
*
|
|
4007
|
-
* max_turn_silence.
|
|
4102
|
+
* @deprecated Ignored. Configure AssemblyAI turn detection with min_turn_silence
|
|
4103
|
+
* and max_turn_silence instead.
|
|
4008
4104
|
*/
|
|
4009
4105
|
end_of_turn_confidence_threshold?: number;
|
|
4010
4106
|
|
|
@@ -5271,7 +5367,9 @@ export declare namespace Assistants {
|
|
|
5271
5367
|
type TelnyxAvatarSettings as TelnyxAvatarSettings,
|
|
5272
5368
|
type ToolNode as ToolNode,
|
|
5273
5369
|
type ToolNodeReq as ToolNodeReq,
|
|
5370
|
+
type TranscriptionChallenger as TranscriptionChallenger,
|
|
5274
5371
|
type TranscriptionEndpointingPlan as TranscriptionEndpointingPlan,
|
|
5372
|
+
type TranscriptionFallbackModel as TranscriptionFallbackModel,
|
|
5275
5373
|
type TranscriptionSettings as TranscriptionSettings,
|
|
5276
5374
|
type TranscriptionSettingsConfig as TranscriptionSettingsConfig,
|
|
5277
5375
|
type TransferTool as TransferTool,
|
|
@@ -51,7 +51,9 @@ export {
|
|
|
51
51
|
type TelnyxAvatarSettings,
|
|
52
52
|
type ToolNode,
|
|
53
53
|
type ToolNodeReq,
|
|
54
|
+
type TranscriptionChallenger,
|
|
54
55
|
type TranscriptionEndpointingPlan,
|
|
56
|
+
type TranscriptionFallbackModel,
|
|
55
57
|
type TranscriptionSettings,
|
|
56
58
|
type TranscriptionSettingsConfig,
|
|
57
59
|
type TransferTool,
|
package/src/resources/ai/chat.ts
CHANGED
|
@@ -80,14 +80,12 @@ export interface ChatCompletionRequest {
|
|
|
80
80
|
* /v2/ai/openai/models). An omitted limit on an excluded model remains unset even
|
|
81
81
|
* when metadata declares a ceiling. Input and output together must fit the model's
|
|
82
82
|
* context window. Set an explicit limit when a bounded generation budget is
|
|
83
|
-
* required. For
|
|
84
|
-
*
|
|
85
|
-
* `deepseek-ai/DeepSeek-V4.1-Flash`. The hosted exclusions are
|
|
83
|
+
* required. For example, omitted or null limits default to 8192 for
|
|
84
|
+
* `zai-org/GLM-5.3` and `zai-org/GLM-5.3-Flash`. Hosted exclusions include
|
|
86
85
|
* `moonshotai/Kimi-K3`, `moonshotai/Kimi-K2.6`, `moonshotai/Kimi-K2.5`,
|
|
87
86
|
* `zai-org/GLM-5.2`, `zai-org/GLM-5.1-FP8`, `MiniMaxAI/MiniMax-M3-MXFP8`,
|
|
88
87
|
* `MiniMaxAI/MiniMax-M2.7`, `Qwen/Qwen3.8-27B`, `Qwen/Qwen3-235B-A22B`,
|
|
89
|
-
* `
|
|
90
|
-
* `meta-llama/Meta-Llama-3.1-70B-Instruct`,
|
|
88
|
+
* `meta-llama/Llama-3.3-70B-Instruct`, `meta-llama/Meta-Llama-3.1-70B-Instruct`,
|
|
91
89
|
* `meta-llama/Meta-Llama-3.1-8B-Instruct` and `google/gemma-2b-it`. Legacy
|
|
92
90
|
* external and fine-tuned model IDs can also bypass the default; model discovery
|
|
93
91
|
* reports completion ceilings, not whether this default applies. Set an explicit
|
|
@@ -93,7 +93,11 @@ export class Conversations extends APIResource {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
|
-
* Delete a specific conversation by its ID.
|
|
96
|
+
* Delete a specific conversation by its ID. Permanently deletes the conversation
|
|
97
|
+
* and its associated data: the conversation's messages, its insight generation
|
|
98
|
+
* results, any conversation memories, and its webhook request logs. Recordings are
|
|
99
|
+
* not deleted — recordings are managed separately through the /v2/recordings
|
|
100
|
+
* endpoints. This action cannot be undone.
|
|
97
101
|
*
|
|
98
102
|
* @example
|
|
99
103
|
* ```ts
|
|
@@ -192,6 +196,32 @@ export class Conversations extends APIResource {
|
|
|
192
196
|
]),
|
|
193
197
|
});
|
|
194
198
|
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Delete one insight generation request for a conversation. Generation results are
|
|
202
|
+
* stored per conversation and per insight template; deleting a request permanently
|
|
203
|
+
* removes the stored result but does not stop insight generation from running
|
|
204
|
+
* again. To remove every insight result for the conversation, delete the
|
|
205
|
+
* conversation itself. A successful delete returns an empty response.
|
|
206
|
+
*
|
|
207
|
+
* @example
|
|
208
|
+
* ```ts
|
|
209
|
+
* await client.ai.conversations.deleteDelete('insight_id', {
|
|
210
|
+
* conversation_id: 'conversation_id',
|
|
211
|
+
* });
|
|
212
|
+
* ```
|
|
213
|
+
*/
|
|
214
|
+
deleteDelete(
|
|
215
|
+
insightID: string,
|
|
216
|
+
params: ConversationDeleteDeleteParams,
|
|
217
|
+
options?: RequestOptions,
|
|
218
|
+
): APIPromise<void> {
|
|
219
|
+
const { conversation_id } = params;
|
|
220
|
+
return this._client.delete(
|
|
221
|
+
path`/ai/conversations/${conversation_id}/conversations-insights/${insightID}`,
|
|
222
|
+
{ ...options, headers: buildHeaders([{ Accept: '*/*' }, options?.headers]) },
|
|
223
|
+
);
|
|
224
|
+
}
|
|
195
225
|
}
|
|
196
226
|
|
|
197
227
|
export interface Conversation {
|
|
@@ -442,6 +472,13 @@ export interface ConversationAddMessageParams {
|
|
|
442
472
|
'Idempotency-Key'?: string;
|
|
443
473
|
}
|
|
444
474
|
|
|
475
|
+
export interface ConversationDeleteDeleteParams {
|
|
476
|
+
/**
|
|
477
|
+
* Unique identifier of the conversation.
|
|
478
|
+
*/
|
|
479
|
+
conversation_id: string;
|
|
480
|
+
}
|
|
481
|
+
|
|
445
482
|
Conversations.InsightGroups = InsightGroups;
|
|
446
483
|
Conversations.Insights = Insights;
|
|
447
484
|
Conversations.Messages = Messages;
|
|
@@ -458,6 +495,7 @@ export declare namespace Conversations {
|
|
|
458
495
|
type ConversationCreateParams as ConversationCreateParams,
|
|
459
496
|
type ConversationUpdateParams as ConversationUpdateParams,
|
|
460
497
|
type ConversationAddMessageParams as ConversationAddMessageParams,
|
|
498
|
+
type ConversationDeleteDeleteParams as ConversationDeleteDeleteParams,
|
|
461
499
|
};
|
|
462
500
|
|
|
463
501
|
export {
|
|
@@ -62,7 +62,9 @@ export {
|
|
|
62
62
|
type TelnyxAvatarSettings,
|
|
63
63
|
type ToolNode,
|
|
64
64
|
type ToolNodeReq,
|
|
65
|
+
type TranscriptionChallenger,
|
|
65
66
|
type TranscriptionEndpointingPlan,
|
|
67
|
+
type TranscriptionFallbackModel,
|
|
66
68
|
type TranscriptionSettings,
|
|
67
69
|
type TranscriptionSettingsConfig,
|
|
68
70
|
type TransferTool,
|
|
@@ -135,6 +137,7 @@ export {
|
|
|
135
137
|
type ConversationCreateParams,
|
|
136
138
|
type ConversationUpdateParams,
|
|
137
139
|
type ConversationAddMessageParams,
|
|
140
|
+
type ConversationDeleteDeleteParams,
|
|
138
141
|
} from './conversations/index';
|
|
139
142
|
export {
|
|
140
143
|
Embeddings,
|
|
@@ -11,6 +11,7 @@ export {
|
|
|
11
11
|
} from './namespaces';
|
|
12
12
|
export {
|
|
13
13
|
Profiles,
|
|
14
|
+
type AgentMemoryPageMeta,
|
|
14
15
|
type PageMeta,
|
|
15
16
|
type ProfileListResponse,
|
|
16
17
|
type ProfileDeleteResponse,
|
|
@@ -28,4 +29,10 @@ export {
|
|
|
28
29
|
type ProfilePreviewParams,
|
|
29
30
|
type ProfileListResponsesDefaultFlatPagination,
|
|
30
31
|
} from './profiles/index';
|
|
31
|
-
export {
|
|
32
|
+
export {
|
|
33
|
+
Settings,
|
|
34
|
+
type NamespaceSettings,
|
|
35
|
+
type NamespaceSettingsResponse,
|
|
36
|
+
type SummarySettings,
|
|
37
|
+
type SettingPatchAllParams,
|
|
38
|
+
} from './settings';
|