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
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as MeetingSessionsAPI from './meeting-sessions';
|
|
5
|
+
import * as CalendarConnectionsAPI from '../calendar-connections/calendar-connections';
|
|
4
6
|
import * as ActionsAPI from './actions';
|
|
5
7
|
import { ActionAcceptedResponse, ActionSendChatParams, ActionSpeakParams, Actions } from './actions';
|
|
6
8
|
import * as ArtifactsAPI from './artifacts';
|
|
@@ -21,7 +23,9 @@ export class MeetingSessions extends APIResource {
|
|
|
21
23
|
artifacts: ArtifactsAPI.Artifacts = new ArtifactsAPI.Artifacts(this._client);
|
|
22
24
|
|
|
23
25
|
/**
|
|
24
|
-
* Returns a list of meeting sessions, optionally filtered by status.
|
|
26
|
+
* Returns a list of meeting sessions, optionally filtered by status. List items
|
|
27
|
+
* omit assistant.dynamic_variables and recording_export. Some items include
|
|
28
|
+
* remote_state_observed_at; retrieve the individual session for current state.
|
|
25
29
|
*
|
|
26
30
|
* @example
|
|
27
31
|
* ```ts
|
|
@@ -36,19 +40,18 @@ export class MeetingSessions extends APIResource {
|
|
|
36
40
|
}
|
|
37
41
|
|
|
38
42
|
/**
|
|
39
|
-
* Creates a
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* 400 `invalid_request` (message prefix `assistant_avatar_not_configured:`), an
|
|
43
|
+
* Creates a meeting session and returns 201, or 200 for a replay. Use a unique
|
|
44
|
+
* `idempotency_key` per intended join and reuse the same key and request on
|
|
45
|
+
* retries. Reusing a key with a different join configuration or meeting URL can
|
|
46
|
+
* return 409 invalid_state. Always retry with the original request. The session
|
|
47
|
+
* can pass through joining and waiting_for_admission before active. Optional
|
|
48
|
+
* `camera_image` input is write-only and applies when no assistant avatar takes
|
|
49
|
+
* precedence. An ignored URL is not fetched. An effective URL source is resolved
|
|
50
|
+
* before bot creation; the source URL and image bytes are not returned in the
|
|
51
|
+
* session response. Treat signed URLs as credentials. With
|
|
52
|
+
* `assistant.avatar: true`, the assistant is read before the bot is created: an
|
|
53
|
+
* assistant without a Telnyx avatar configured is rejected with 400
|
|
54
|
+
* `invalid_request` (message prefix `assistant_avatar_not_configured:`), an
|
|
52
55
|
* unknown assistant with 400 `invalid_request` (prefix `assistant_not_found:`),
|
|
53
56
|
* and a failed lookup with 503 `assistant_lookup_unavailable`; no bot is created
|
|
54
57
|
* in any of these cases.
|
|
@@ -68,7 +71,9 @@ export class MeetingSessions extends APIResource {
|
|
|
68
71
|
/**
|
|
69
72
|
* Stops a meeting session without deleting its persisted record. Scheduled bots
|
|
70
73
|
* are cancelled, while bots that are joining or active are asked to leave. The
|
|
71
|
-
* persisted meeting session record remains available.
|
|
74
|
+
* persisted meeting session record remains available. A successful response can
|
|
75
|
+
* report leaving while departure is pending. Poll until ended, failed, or
|
|
76
|
+
* admission_denied. Exported Storage objects are unaffected.
|
|
72
77
|
*
|
|
73
78
|
* @example
|
|
74
79
|
* ```ts
|
|
@@ -102,7 +107,10 @@ export class MeetingSessions extends APIResource {
|
|
|
102
107
|
* Updates mutable properties of a meeting session. Only sessions in the scheduled
|
|
103
108
|
* state can be updated; any other state returns 409 with the invalid_state error
|
|
104
109
|
* code. All request fields are optional, and an empty object is a valid no-op
|
|
105
|
-
* update.
|
|
110
|
+
* update. Calendar-controlled Google Meet and Teams sessions return 409
|
|
111
|
+
* calendar_managed; change the event instead. A conflicting pending edit returns
|
|
112
|
+
* 409 edit_in_progress. On a timeout or 503, read the session and retry the same
|
|
113
|
+
* changes.
|
|
106
114
|
*
|
|
107
115
|
* @example
|
|
108
116
|
* ```ts
|
|
@@ -149,7 +157,10 @@ export class MeetingSessions extends APIResource {
|
|
|
149
157
|
* events, artifacts, and usage records. It is separate from
|
|
150
158
|
* `DELETE /meeting_sessions/{id}`, which stops or cancels participation without
|
|
151
159
|
* deleting the persisted session. A missing/foreign session returns 404; a
|
|
152
|
-
* deletion request whose outcome is unknown returns 502.
|
|
160
|
+
* deletion request whose outcome is unknown returns 502. Customer Storage exports
|
|
161
|
+
* do not support this operation (422 unsupported_capability); delete the exported
|
|
162
|
+
* object through Storage instead. Stopping a session does not delete an exported
|
|
163
|
+
* object.
|
|
153
164
|
*
|
|
154
165
|
* @example
|
|
155
166
|
* ```ts
|
|
@@ -167,10 +178,11 @@ export class MeetingSessions extends APIResource {
|
|
|
167
178
|
}
|
|
168
179
|
|
|
169
180
|
/**
|
|
170
|
-
* Returns transcript segments ordered by ascending
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
* supplied
|
|
181
|
+
* Returns transcript segments ordered by ascending seq. Default limit is 100,
|
|
182
|
+
* maximum 1000. Continue with after=meta.next_after. On an empty page,
|
|
183
|
+
* meta.next_after preserves a positive supplied after cursor, or is null when no
|
|
184
|
+
* positive cursor was supplied. wait_seconds holds an empty read for up to 25
|
|
185
|
+
* seconds; a timeout still returns 200.
|
|
174
186
|
*
|
|
175
187
|
* @example
|
|
176
188
|
* ```ts
|
|
@@ -187,12 +199,38 @@ export class MeetingSessions extends APIResource {
|
|
|
187
199
|
): APIPromise<MeetingSessionRetrieveTranscriptResponse> {
|
|
188
200
|
return this._client.get(path`/meeting_sessions/${id}/transcript`, { query, ...options });
|
|
189
201
|
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Retrieve recording export status. Customer Storage exports include
|
|
205
|
+
* recording_export with the bucket, region, key and pending/exported/failed
|
|
206
|
+
* status, or null when no reference is available. The data array is empty for
|
|
207
|
+
* these exports. Download or share the object using the Storage API once its
|
|
208
|
+
* status is exported. Zoom recordings and existing Google Meet or Teams recordings
|
|
209
|
+
* held by the Meeting service continue returning temporary download links in data
|
|
210
|
+
* through this same endpoint and session ID. Those recordings do not require
|
|
211
|
+
* Storage setup or migration. Refresh this endpoint when a link expires. Select
|
|
212
|
+
* the download method from the returned fields, not the platform alone.
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* ```ts
|
|
216
|
+
* const response =
|
|
217
|
+
* await client.meetingSessions.retrieveRecordings(
|
|
218
|
+
* 'mtgsess_a1b2c3d4-e5f6-7890-abcd-ef1234567890',
|
|
219
|
+
* );
|
|
220
|
+
* ```
|
|
221
|
+
*/
|
|
222
|
+
retrieveRecordings(
|
|
223
|
+
id: string,
|
|
224
|
+
options?: RequestOptions,
|
|
225
|
+
): APIPromise<MeetingSessionRetrieveRecordingsResponse> {
|
|
226
|
+
return this._client.get(path`/meeting_sessions/${id}/recordings`, options);
|
|
227
|
+
}
|
|
190
228
|
}
|
|
191
229
|
|
|
192
230
|
/**
|
|
193
|
-
* Represents a meeting session.
|
|
194
|
-
*
|
|
195
|
-
* routing, key, or internal fields are exposed.
|
|
231
|
+
* Represents a meeting session. Core serializer fields are required;
|
|
232
|
+
* platform-specific fields are optional. Nullable fields use null when absent. No
|
|
233
|
+
* actor, provider-bot, idempotency, routing, key, or internal fields are exposed.
|
|
196
234
|
*/
|
|
197
235
|
export interface MeetingSession {
|
|
198
236
|
/**
|
|
@@ -208,7 +246,7 @@ export interface MeetingSession {
|
|
|
208
246
|
/**
|
|
209
247
|
* Assistant configuration if an assistant is attached, otherwise null.
|
|
210
248
|
*/
|
|
211
|
-
assistant:
|
|
249
|
+
assistant: CalendarConnectionsAPI.MeetingSessionAssistant | null;
|
|
212
250
|
|
|
213
251
|
/**
|
|
214
252
|
* Current state of the assistant, or null if no assistant is attached.
|
|
@@ -257,7 +295,14 @@ export interface MeetingSession {
|
|
|
257
295
|
ended_at: string | null;
|
|
258
296
|
|
|
259
297
|
/**
|
|
260
|
-
*
|
|
298
|
+
* A machine-readable lifecycle reason, or null. Values include left_on_request,
|
|
299
|
+
* meeting_ended, everyone_left, no_one_joined, silence_timeout,
|
|
300
|
+
* max_duration_reached, admission_timeout, admission_denied, removed_from_meeting,
|
|
301
|
+
* recording_permission_denied, meeting_not_found, meeting_not_started,
|
|
302
|
+
* meeting_access_denied, meeting_full, cancelled, cancelled_calendar_disconnected,
|
|
303
|
+
* cancelled_calendar_event_deleted, cancelled_calendar_superseded,
|
|
304
|
+
* cancelled_policy, internal_error, and other. Treat this vocabulary as
|
|
305
|
+
* extensible.
|
|
261
306
|
*/
|
|
262
307
|
failure_reason: string | null;
|
|
263
308
|
|
|
@@ -288,9 +333,9 @@ export interface MeetingSession {
|
|
|
288
333
|
platform: 'zoom' | 'google_meet' | 'teams' | 'webex' | 'unknown';
|
|
289
334
|
|
|
290
335
|
/**
|
|
291
|
-
*
|
|
336
|
+
* Always telnyx.
|
|
292
337
|
*/
|
|
293
|
-
provider:
|
|
338
|
+
provider: 'telnyx';
|
|
294
339
|
|
|
295
340
|
/**
|
|
296
341
|
* Whether the session is being recorded.
|
|
@@ -316,7 +361,14 @@ export interface MeetingSession {
|
|
|
316
361
|
| 'admission_denied';
|
|
317
362
|
|
|
318
363
|
/**
|
|
319
|
-
*
|
|
364
|
+
* A machine-readable lifecycle reason, or null. Values include left_on_request,
|
|
365
|
+
* meeting_ended, everyone_left, no_one_joined, silence_timeout,
|
|
366
|
+
* max_duration_reached, admission_timeout, admission_denied, removed_from_meeting,
|
|
367
|
+
* recording_permission_denied, meeting_not_found, meeting_not_started,
|
|
368
|
+
* meeting_access_denied, meeting_full, cancelled, cancelled_calendar_disconnected,
|
|
369
|
+
* cancelled_calendar_event_deleted, cancelled_calendar_superseded,
|
|
370
|
+
* cancelled_policy, internal_error, and other. Treat this vocabulary as
|
|
371
|
+
* extensible.
|
|
320
372
|
*/
|
|
321
373
|
status_detail: string | null;
|
|
322
374
|
|
|
@@ -329,35 +381,22 @@ export interface MeetingSession {
|
|
|
329
381
|
* Webhook endpoint for session lifecycle callbacks, or null if not configured.
|
|
330
382
|
*/
|
|
331
383
|
webhook_url: string | null;
|
|
332
|
-
}
|
|
333
384
|
|
|
334
|
-
export namespace MeetingSession {
|
|
335
385
|
/**
|
|
336
|
-
*
|
|
386
|
+
* Customer Storage recording reference. Pending is not downloadable; exported
|
|
387
|
+
* means upload was verified; failed is terminal. Download with ordinary Storage
|
|
388
|
+
* authorization. No presigned URL is returned.
|
|
337
389
|
*/
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* Identifier of the assistant.
|
|
341
|
-
*/
|
|
342
|
-
id: string;
|
|
390
|
+
recording_export?: MeetingSessionRecordingExport | null;
|
|
343
391
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
* The dynamic variables in force for this session, or null when none were
|
|
351
|
-
* supplied.
|
|
352
|
-
*/
|
|
353
|
-
dynamic_variables: { [key: string]: string } | null;
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* Whether the bot leaves when the Assistant's conversation ends or fails.
|
|
357
|
-
*/
|
|
358
|
-
leave_on_end: boolean;
|
|
359
|
-
}
|
|
392
|
+
/**
|
|
393
|
+
* Optional observation time on session list items. Retrieve the individual session
|
|
394
|
+
* when current state is required.
|
|
395
|
+
*/
|
|
396
|
+
remote_state_observed_at?: string;
|
|
397
|
+
}
|
|
360
398
|
|
|
399
|
+
export namespace MeetingSession {
|
|
361
400
|
/**
|
|
362
401
|
* The assistant's avatar, captured from its `avatar_settings` when the session was
|
|
363
402
|
* created. For display only; later changes to the assistant do not update it.
|
|
@@ -397,6 +436,11 @@ export namespace MeetingSession {
|
|
|
397
436
|
*/
|
|
398
437
|
chat_on_enter: string | null;
|
|
399
438
|
|
|
439
|
+
/**
|
|
440
|
+
* Detection settings. Enabling audio or video detection is currently unsupported.
|
|
441
|
+
*/
|
|
442
|
+
deepfake_detection: Config.DeepfakeDetection;
|
|
443
|
+
|
|
400
444
|
/**
|
|
401
445
|
* Text spoken on meeting entry, or null if not set.
|
|
402
446
|
*/
|
|
@@ -411,14 +455,129 @@ export namespace MeetingSession {
|
|
|
411
455
|
* Configured voice identifier, or null if not set.
|
|
412
456
|
*/
|
|
413
457
|
voice: string | null;
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Automatic departure settings for Google Meet and Teams. Omitted fields use the
|
|
461
|
+
* default behavior. Set at creation; cannot be changed later. Zoom ignores this
|
|
462
|
+
* policy.
|
|
463
|
+
*/
|
|
464
|
+
leave_policy?: MeetingSessionsAPI.MeetingSessionLeavePolicy;
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* Recording intent set at creation for Google Meet and Teams. Distinct from the
|
|
468
|
+
* top-level recording field, which reports current activity.
|
|
469
|
+
*/
|
|
470
|
+
recording?: boolean;
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* Non-default recording layout. Omitted for the default speaker_view layout.
|
|
474
|
+
*/
|
|
475
|
+
recording_view?: 'gallery_view' | 'speaker_view_no_sidebar';
|
|
414
476
|
}
|
|
477
|
+
|
|
478
|
+
export namespace Config {
|
|
479
|
+
/**
|
|
480
|
+
* Detection settings. Enabling audio or video detection is currently unsupported.
|
|
481
|
+
*/
|
|
482
|
+
export interface DeepfakeDetection {
|
|
483
|
+
audio: boolean;
|
|
484
|
+
|
|
485
|
+
video: boolean;
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* Automatic departure settings for Google Meet and Teams. Omitted fields use the
|
|
492
|
+
* default behavior. Set at creation; cannot be changed later. Zoom ignores this
|
|
493
|
+
* policy.
|
|
494
|
+
*/
|
|
495
|
+
export interface MeetingSessionLeavePolicy {
|
|
496
|
+
/**
|
|
497
|
+
* Seconds alone after another participant has attended and left. Does not start
|
|
498
|
+
* just because the bot arrives first.
|
|
499
|
+
*/
|
|
500
|
+
alone_seconds?: number;
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* Case-insensitive names or phrases identifying other bots to exclude when
|
|
504
|
+
* deciding whether this bot is alone. Matching splits names on spaces, hyphens and
|
|
505
|
+
* underscores. Null or an empty array disables filtering.
|
|
506
|
+
*/
|
|
507
|
+
bot_name_keywords?: Array<string> | null;
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* Seconds to wait for the host to start the meeting.
|
|
511
|
+
*/
|
|
512
|
+
host_wait_seconds?: number;
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* Seconds to wait for lobby admission.
|
|
516
|
+
*/
|
|
517
|
+
lobby_wait_seconds?: number;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Maximum seconds after joining. Null means no per-join duration limit; service
|
|
521
|
+
* safety limits still apply.
|
|
522
|
+
*/
|
|
523
|
+
max_duration_seconds?: number | null;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Seconds after joining before silence detection starts a fresh inactivity timer.
|
|
527
|
+
*/
|
|
528
|
+
silence_grace_seconds?: number;
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Continuous audio inactivity before departure after the silence grace period.
|
|
532
|
+
*/
|
|
533
|
+
silence_seconds?: number;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Customer-owned Telnyx Storage destination for recording exports. Uses the
|
|
538
|
+
* authenticated organization and user; do not supply credentials, region,
|
|
539
|
+
* organization ID or object key.
|
|
540
|
+
*/
|
|
541
|
+
export interface MeetingSessionRecordingDestination {
|
|
542
|
+
/**
|
|
543
|
+
* Existing accessible bucket. Consecutive dots and IPv4-address names are
|
|
544
|
+
* rejected.
|
|
545
|
+
*/
|
|
546
|
+
bucket: string;
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* Optional object-key prefix. One trailing slash is normalized. Empty path
|
|
550
|
+
* segments, . and .. segments are rejected.
|
|
551
|
+
*/
|
|
552
|
+
prefix?: string;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* Customer Storage recording reference. Pending is not downloadable; exported
|
|
557
|
+
* means upload was verified; failed is terminal. Download with ordinary Storage
|
|
558
|
+
* authorization. No presigned URL is returned.
|
|
559
|
+
*/
|
|
560
|
+
export interface MeetingSessionRecordingExport {
|
|
561
|
+
bucket: string;
|
|
562
|
+
|
|
563
|
+
bytes: number | null;
|
|
564
|
+
|
|
565
|
+
exported_at: string | null;
|
|
566
|
+
|
|
567
|
+
key: string;
|
|
568
|
+
|
|
569
|
+
region: string;
|
|
570
|
+
|
|
571
|
+
status: 'pending' | 'exported' | 'failed';
|
|
572
|
+
|
|
573
|
+
type: 'video';
|
|
415
574
|
}
|
|
416
575
|
|
|
417
576
|
export interface MeetingSessionResponse {
|
|
418
577
|
/**
|
|
419
|
-
* Represents a meeting session.
|
|
420
|
-
*
|
|
421
|
-
* routing, key, or internal fields are exposed.
|
|
578
|
+
* Represents a meeting session. Core serializer fields are required;
|
|
579
|
+
* platform-specific fields are optional. Nullable fields use null when absent. No
|
|
580
|
+
* actor, provider-bot, idempotency, routing, key, or internal fields are exposed.
|
|
422
581
|
*/
|
|
423
582
|
data: MeetingSession;
|
|
424
583
|
}
|
|
@@ -462,6 +621,33 @@ export namespace MeetingSessionRetrieveEventsResponse {
|
|
|
462
621
|
}
|
|
463
622
|
}
|
|
464
623
|
|
|
624
|
+
export interface MeetingSessionRetrieveRecordingsResponse {
|
|
625
|
+
/**
|
|
626
|
+
* Temporary download URLs for recordings held by the Meeting service, including
|
|
627
|
+
* Zoom and existing Google Meet and Teams recordings. Empty for customer Storage
|
|
628
|
+
* exports; use recording_export instead. Choose the download method from these
|
|
629
|
+
* fields rather than the platform alone.
|
|
630
|
+
*/
|
|
631
|
+
data: Array<MeetingSessionRetrieveRecordingsResponse.Data>;
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* Customer Storage recording reference. Pending is not downloadable; exported
|
|
635
|
+
* means upload was verified; failed is terminal. Download with ordinary Storage
|
|
636
|
+
* authorization. No presigned URL is returned.
|
|
637
|
+
*/
|
|
638
|
+
recording_export?: MeetingSessionRecordingExport | null;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
export namespace MeetingSessionRetrieveRecordingsResponse {
|
|
642
|
+
export interface Data {
|
|
643
|
+
expires_at: string | null;
|
|
644
|
+
|
|
645
|
+
type: string;
|
|
646
|
+
|
|
647
|
+
url: string;
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
|
|
465
651
|
export interface MeetingSessionRetrieveTranscriptResponse {
|
|
466
652
|
data: Array<MeetingSessionRetrieveTranscriptResponse.Data>;
|
|
467
653
|
|
|
@@ -476,8 +662,17 @@ export namespace MeetingSessionRetrieveTranscriptResponse {
|
|
|
476
662
|
|
|
477
663
|
relative_ts: number | null;
|
|
478
664
|
|
|
665
|
+
/**
|
|
666
|
+
* Monotonic transcript append cursor. This is separate from the event-history
|
|
667
|
+
* cursor and does not establish conversational turn order.
|
|
668
|
+
*/
|
|
479
669
|
seq: number;
|
|
480
670
|
|
|
671
|
+
/**
|
|
672
|
+
* Recorded participant or bot label, or null when unavailable. Labels are
|
|
673
|
+
* attribution, not verified identity. Segments from concurrent speakers can
|
|
674
|
+
* finalize in a different order from the conversation.
|
|
675
|
+
*/
|
|
481
676
|
speaker_label: string | null;
|
|
482
677
|
|
|
483
678
|
text: string;
|
|
@@ -514,10 +709,8 @@ export interface MeetingSessionCreateParams {
|
|
|
514
709
|
meeting_url: string;
|
|
515
710
|
|
|
516
711
|
/**
|
|
517
|
-
* Attach a Telnyx AI Assistant
|
|
518
|
-
*
|
|
519
|
-
* connection, caller ID and loopback SIP URI previously required here have been
|
|
520
|
-
* removed and are now rejected as unknown fields.
|
|
712
|
+
* Attach a Telnyx AI Assistant owned by the authenticated account. Supply its ID
|
|
713
|
+
* and optional conversation settings. Unknown fields are rejected.
|
|
521
714
|
*/
|
|
522
715
|
assistant?: MeetingSessionCreateParams.Assistant;
|
|
523
716
|
|
|
@@ -534,12 +727,13 @@ export interface MeetingSessionCreateParams {
|
|
|
534
727
|
bot_name?: string;
|
|
535
728
|
|
|
536
729
|
/**
|
|
537
|
-
*
|
|
730
|
+
* Not supported for Google Meet and Teams joins (422 unsupported_capability).
|
|
731
|
+
* Write-only static camera-tile image for this session, not an account or
|
|
538
732
|
* participant profile photo. Supply exactly one JPEG source. When effective, the
|
|
539
733
|
* image is used as the bot's static camera/video output; presentation varies by
|
|
540
734
|
* meeting platform and recording configuration and is not guaranteed in
|
|
541
|
-
* recordings. An
|
|
542
|
-
*
|
|
735
|
+
* recordings. An attached assistant or avatar takes precedence, so this input is
|
|
736
|
+
* ignored and a URL source is not fetched.
|
|
543
737
|
*/
|
|
544
738
|
camera_image?:
|
|
545
739
|
| MeetingSessionCreateParams.MeetingSessionCameraImageBase64Source
|
|
@@ -550,23 +744,34 @@ export interface MeetingSessionCreateParams {
|
|
|
550
744
|
* typically a recording disclosure. Delivered at most once. Independent of
|
|
551
745
|
* `speak_on_enter`: both may be set, and the chat message posts first because it
|
|
552
746
|
* does not wait for text-to-speech or avatar startup. Rejected with 422
|
|
553
|
-
* `unsupported_capability` on platforms without meeting chat.
|
|
747
|
+
* `unsupported_capability` on platforms without meeting chat. For Google Meet and
|
|
748
|
+
* Teams, text must be nonblank, at most 4096 UTF-8 bytes, with no control
|
|
749
|
+
* characters except tabs and line breaks. Counts toward the 1000-chat-request
|
|
750
|
+
* session limit.
|
|
554
751
|
*/
|
|
555
752
|
chat_on_enter?: string;
|
|
556
753
|
|
|
557
754
|
/**
|
|
558
|
-
*
|
|
559
|
-
*
|
|
560
|
-
*
|
|
755
|
+
* Use a unique key per intended join and reuse the same key and request on
|
|
756
|
+
* retries. Reusing a key with a different join configuration or meeting URL can
|
|
757
|
+
* return 409 invalid_state. Always retry with the original request.
|
|
561
758
|
*/
|
|
562
759
|
idempotency_key?: string;
|
|
563
760
|
|
|
564
761
|
/**
|
|
565
|
-
* ISO-8601 timestamp
|
|
566
|
-
*
|
|
762
|
+
* Future ISO-8601 join timestamp including timezone. Google Meet and Teams accept
|
|
763
|
+
* dates at most three years ahead. Omit for an immediate join. Assistant sessions
|
|
764
|
+
* created through this endpoint must join immediately.
|
|
567
765
|
*/
|
|
568
766
|
join_at?: string;
|
|
569
767
|
|
|
768
|
+
/**
|
|
769
|
+
* Automatic departure settings for Google Meet and Teams. Omitted fields use the
|
|
770
|
+
* default behavior. Set at creation; cannot be changed later. Zoom ignores this
|
|
771
|
+
* policy.
|
|
772
|
+
*/
|
|
773
|
+
leave_policy?: MeetingSessionLeavePolicy;
|
|
774
|
+
|
|
570
775
|
/**
|
|
571
776
|
* Arbitrary key-value metadata attached to the session. The serialized JSON
|
|
572
777
|
* representation must not exceed 16384 characters at runtime.
|
|
@@ -574,11 +779,31 @@ export interface MeetingSessionCreateParams {
|
|
|
574
779
|
metadata?: { [key: string]: unknown };
|
|
575
780
|
|
|
576
781
|
/**
|
|
577
|
-
*
|
|
578
|
-
*
|
|
579
|
-
*
|
|
580
|
-
*
|
|
581
|
-
*
|
|
782
|
+
* Google Meet and Teams only. Defaults to true when recording_export is supplied
|
|
783
|
+
* and false otherwise. True requires recording_export.bucket; false cannot be
|
|
784
|
+
* combined with recording_export. Fixed at creation, with no pause/resume action.
|
|
785
|
+
* Zoom rejects recording, recording_view, and recording_export with 422
|
|
786
|
+
* unsupported_capability; omit these fields for Zoom.
|
|
787
|
+
*/
|
|
788
|
+
recording?: boolean;
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* Customer-owned Telnyx Storage destination for recording exports. Uses the
|
|
792
|
+
* authenticated organization and user; do not supply credentials, region,
|
|
793
|
+
* organization ID or object key.
|
|
794
|
+
*/
|
|
795
|
+
recording_export?: MeetingSessionRecordingDestination;
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* Recording layout for Google Meet and Teams. Defaults to speaker_view. Accepted
|
|
799
|
+
* at creation only; does not enable recording by itself.
|
|
800
|
+
*/
|
|
801
|
+
recording_view?: 'speaker_view' | 'gallery_view' | 'speaker_view_no_sidebar';
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* Text the bot speaks after joining. Available for sessions without a digital
|
|
805
|
+
* avatar. With an AI Assistant, the greeting waits until the assistant is
|
|
806
|
+
* connected. Rejected with 400 invalid_request when assistant.avatar is true.
|
|
582
807
|
*/
|
|
583
808
|
speak_on_enter?: string;
|
|
584
809
|
|
|
@@ -590,7 +815,8 @@ export interface MeetingSessionCreateParams {
|
|
|
590
815
|
/**
|
|
591
816
|
* Session-default voice identifier used for `speak_on_enter` and ordinary speak
|
|
592
817
|
* actions. A voice supplied on an individual speak action overrides this default
|
|
593
|
-
* for that utterance.
|
|
818
|
+
* for that utterance. With an assistant attached, its conversational voice remains
|
|
819
|
+
* configured on the assistant.
|
|
594
820
|
*/
|
|
595
821
|
voice?: string;
|
|
596
822
|
|
|
@@ -604,10 +830,8 @@ export interface MeetingSessionCreateParams {
|
|
|
604
830
|
|
|
605
831
|
export namespace MeetingSessionCreateParams {
|
|
606
832
|
/**
|
|
607
|
-
* Attach a Telnyx AI Assistant
|
|
608
|
-
*
|
|
609
|
-
* connection, caller ID and loopback SIP URI previously required here have been
|
|
610
|
-
* removed and are now rejected as unknown fields.
|
|
833
|
+
* Attach a Telnyx AI Assistant owned by the authenticated account. Supply its ID
|
|
834
|
+
* and optional conversation settings. Unknown fields are rejected.
|
|
611
835
|
*/
|
|
612
836
|
export interface Assistant {
|
|
613
837
|
/**
|
|
@@ -616,12 +840,9 @@ export namespace MeetingSessionCreateParams {
|
|
|
616
840
|
id: string;
|
|
617
841
|
|
|
618
842
|
/**
|
|
619
|
-
*
|
|
620
|
-
*
|
|
621
|
-
*
|
|
622
|
-
* `full_duplex` sends a separate stream per participant, which allows barge-in and
|
|
623
|
-
* removes self-hearing, and COSTS SIGNIFICANTLY MORE: per-participant streams
|
|
624
|
-
* multiply the per-minute cost by the number of participants.
|
|
843
|
+
* Use half_duplex (default) to pause listening while the assistant speaks, or
|
|
844
|
+
* full_duplex to allow participants to interrupt. Full-duplex pricing depends on
|
|
845
|
+
* participant audio usage; see the Meeting pricing guide.
|
|
625
846
|
*/
|
|
626
847
|
audio_gate?: 'half_duplex' | 'full_duplex';
|
|
627
848
|
|
|
@@ -630,12 +851,11 @@ export namespace MeetingSessionCreateParams {
|
|
|
630
851
|
* [AI Assistant avatars](/docs/inference/ai-assistants/avatars)) as the bot's
|
|
631
852
|
* camera, lip-synced to the assistant's own speech. The request carries no avatar
|
|
632
853
|
* ID or key: the assistant is read at creation and the request is rejected with
|
|
633
|
-
* 400 `invalid_request` if it has no Telnyx avatar configured.
|
|
634
|
-
* Meet, Zoom,
|
|
635
|
-
* `
|
|
636
|
-
*
|
|
637
|
-
*
|
|
638
|
-
* `degraded`.
|
|
854
|
+
* 400 `invalid_request` if it has no Telnyx avatar configured. Available for
|
|
855
|
+
* Google Meet, Zoom, and Teams sessions. REST-only. Not echoed back on
|
|
856
|
+
* `assistant`; the session's top-level `avatar` and `avatar_state` fields report
|
|
857
|
+
* it instead. If the avatar fails, the session continues voice-only and
|
|
858
|
+
* `avatar_state` becomes `degraded`.
|
|
639
859
|
*/
|
|
640
860
|
avatar?: boolean;
|
|
641
861
|
|
|
@@ -647,18 +867,13 @@ export namespace MeetingSessionCreateParams {
|
|
|
647
867
|
* conversation. At most 63 entries; keys 1-128 characters; values must be strings.
|
|
648
868
|
* The map is budgeted in aggregate at 1,047,552 bytes (1023 KiB) rather than
|
|
649
869
|
* capped per value. `streaming_audio`, `ai_assistant_streaming_audio` and
|
|
650
|
-
* `meeting_session_id` are reserved and rejected with `400 invalid_request
|
|
651
|
-
* they toggle provider infrastructure or are set by the service rather than fill a
|
|
652
|
-
* prompt template.
|
|
870
|
+
* `meeting_session_id` are reserved and rejected with `400 invalid_request`.
|
|
653
871
|
*/
|
|
654
872
|
dynamic_variables?: { [key: string]: string };
|
|
655
873
|
|
|
656
874
|
/**
|
|
657
|
-
* Leave
|
|
658
|
-
*
|
|
659
|
-
* after the Assistant stops. Fires once: a second terminal transition does not
|
|
660
|
-
* leave twice, and a leave the provider refuses is logged without changing how the
|
|
661
|
-
* session settles.
|
|
875
|
+
* Leave when the assistant conversation ends or fails. Defaults to false. Other
|
|
876
|
+
* leave-policy rules and explicit leave requests still apply.
|
|
662
877
|
*/
|
|
663
878
|
leave_on_end?: boolean;
|
|
664
879
|
}
|
|
@@ -669,7 +884,7 @@ export namespace MeetingSessionCreateParams {
|
|
|
669
884
|
* and the URL-safe alphabet are rejected. The encoded value is limited to
|
|
670
885
|
* 1,835,008 characters and the decoded JPEG to 1,363,148 bytes. The JPEG is
|
|
671
886
|
* limited to 4,096 pixels per dimension, 4 megapixels, and 128 MB of decoder
|
|
672
|
-
* memory. The image bytes are not
|
|
887
|
+
* memory. The image bytes are not returned in the session response.
|
|
673
888
|
*/
|
|
674
889
|
base64_data: string;
|
|
675
890
|
|
|
@@ -692,8 +907,8 @@ export namespace MeetingSessionCreateParams {
|
|
|
692
907
|
* Fetching is limited to public network destinations, a five-second timeout, no
|
|
693
908
|
* redirects, a 2xx image/jpeg response with identity or no content encoding, and a
|
|
694
909
|
* 1,363,148-byte limit enforced against both declared and streamed content. The
|
|
695
|
-
* service resolves the URL before bot creation and does not
|
|
696
|
-
*
|
|
910
|
+
* service resolves the URL before bot creation and does not return the URL or
|
|
911
|
+
* image bytes in the session response.
|
|
697
912
|
*/
|
|
698
913
|
url: string;
|
|
699
914
|
}
|
|
@@ -748,10 +963,14 @@ MeetingSessions.Artifacts = Artifacts;
|
|
|
748
963
|
export declare namespace MeetingSessions {
|
|
749
964
|
export {
|
|
750
965
|
type MeetingSession as MeetingSession,
|
|
966
|
+
type MeetingSessionLeavePolicy as MeetingSessionLeavePolicy,
|
|
967
|
+
type MeetingSessionRecordingDestination as MeetingSessionRecordingDestination,
|
|
968
|
+
type MeetingSessionRecordingExport as MeetingSessionRecordingExport,
|
|
751
969
|
type MeetingSessionResponse as MeetingSessionResponse,
|
|
752
970
|
type MeetingSessionListResponse as MeetingSessionListResponse,
|
|
753
971
|
type MeetingSessionDeleteRecordingMediaResponse as MeetingSessionDeleteRecordingMediaResponse,
|
|
754
972
|
type MeetingSessionRetrieveEventsResponse as MeetingSessionRetrieveEventsResponse,
|
|
973
|
+
type MeetingSessionRetrieveRecordingsResponse as MeetingSessionRetrieveRecordingsResponse,
|
|
755
974
|
type MeetingSessionRetrieveTranscriptResponse as MeetingSessionRetrieveTranscriptResponse,
|
|
756
975
|
type MeetingSessionListParams as MeetingSessionListParams,
|
|
757
976
|
type MeetingSessionCreateParams as MeetingSessionCreateParams,
|