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
package/resources/ai/tools.d.mts
CHANGED
|
@@ -87,10 +87,48 @@ export interface PayToolParams {
|
|
|
87
87
|
* the assistant passes is what reaches the processor.
|
|
88
88
|
*/
|
|
89
89
|
description?: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Time in milliseconds to wait between consecutive DTMF digits. Omitted means the
|
|
92
|
+
* platform default (5000) applies.
|
|
93
|
+
*/
|
|
94
|
+
inter_digit_timeout_millis?: number;
|
|
95
|
+
/**
|
|
96
|
+
* Maximum number of attempts for each payment collection step. Omitted means the
|
|
97
|
+
* platform default (3) applies.
|
|
98
|
+
*/
|
|
99
|
+
max_attempts?: number;
|
|
100
|
+
/**
|
|
101
|
+
* Minimum number of digits the caller must enter when collecting a credit-card
|
|
102
|
+
* billing postal code. Applies only when `postal_code` prompts the caller. Omitted
|
|
103
|
+
* means the platform default (1) applies. The maximum number of digits collected
|
|
104
|
+
* is the greater of 10 and this value. This does not validate the length of a
|
|
105
|
+
* postal code supplied directly in `postal_code`.
|
|
106
|
+
*/
|
|
107
|
+
min_postal_code_length?: number;
|
|
90
108
|
/**
|
|
91
109
|
* Default payment method for payments processed by this tool.
|
|
92
110
|
*/
|
|
93
111
|
payment_method?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Controls billing postal code collection for credit-card payments. Set to `false`
|
|
114
|
+
* to skip the postal code prompt without supplying a postal code to the payment
|
|
115
|
+
* connector (non-US cards, e.g. Irish Eircodes). Set to `true` to prompt the
|
|
116
|
+
* caller. Supply a non-empty string, such as `"90210"`, to use that postal code
|
|
117
|
+
* without prompting. This option does not affect ACH debit payments or payments
|
|
118
|
+
* using an existing token.
|
|
119
|
+
*/
|
|
120
|
+
postal_code?: string | boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Custom text-to-speech prompts keyed by payment collection step. The AI assistant
|
|
123
|
+
* merges its own card-number prompt into this map, matching on the same step keys.
|
|
124
|
+
*/
|
|
125
|
+
prompts?: PayToolParams.Prompts;
|
|
126
|
+
/**
|
|
127
|
+
* Time in milliseconds to wait for DTMF input for each collection step. Omitted
|
|
128
|
+
* means the platform default (5000) applies. Increase this for slower entry, e.g.
|
|
129
|
+
* a 16-digit card number.
|
|
130
|
+
*/
|
|
131
|
+
timeout_millis?: number;
|
|
94
132
|
/**
|
|
95
133
|
* Restricts accepted card numbers to the listed card types. When the caller enters
|
|
96
134
|
* a card number that does not match one of the listed types, Pay treats the input
|
|
@@ -98,6 +136,190 @@ export interface PayToolParams {
|
|
|
98
136
|
*/
|
|
99
137
|
valid_card_types?: Array<'visa' | 'mastercard' | 'amex' | 'maestro' | 'discover' | 'optima' | 'jcb' | 'diners-club' | 'enroute'>;
|
|
100
138
|
}
|
|
139
|
+
export declare namespace PayToolParams {
|
|
140
|
+
/**
|
|
141
|
+
* Custom text-to-speech prompts keyed by payment collection step. The AI assistant
|
|
142
|
+
* merges its own card-number prompt into this map, matching on the same step keys.
|
|
143
|
+
*/
|
|
144
|
+
interface Prompts {
|
|
145
|
+
/**
|
|
146
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
147
|
+
*/
|
|
148
|
+
'bank-account-number'?: string | Array<Prompts.PayToolPromptList>;
|
|
149
|
+
/**
|
|
150
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
151
|
+
*/
|
|
152
|
+
'bank-routing-number'?: string | Array<Prompts.PayToolPromptList>;
|
|
153
|
+
/**
|
|
154
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
155
|
+
*/
|
|
156
|
+
'expiration-date'?: string | Array<Prompts.PayToolPromptList>;
|
|
157
|
+
/**
|
|
158
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
159
|
+
*/
|
|
160
|
+
'payment-card-number'?: string | Array<Prompts.PayToolPromptList>;
|
|
161
|
+
/**
|
|
162
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
163
|
+
*/
|
|
164
|
+
'postal-code'?: string | Array<Prompts.PayToolPromptList>;
|
|
165
|
+
/**
|
|
166
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
167
|
+
*/
|
|
168
|
+
'security-code'?: string | Array<Prompts.PayToolPromptList>;
|
|
169
|
+
}
|
|
170
|
+
namespace Prompts {
|
|
171
|
+
/**
|
|
172
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
173
|
+
* API PayPrompt schema.
|
|
174
|
+
*/
|
|
175
|
+
interface PayToolPromptList {
|
|
176
|
+
/**
|
|
177
|
+
* Text spoken for the payment collection step.
|
|
178
|
+
*/
|
|
179
|
+
text: string;
|
|
180
|
+
/**
|
|
181
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
182
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
183
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
184
|
+
* never play.
|
|
185
|
+
*/
|
|
186
|
+
attempt?: string;
|
|
187
|
+
/**
|
|
188
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
189
|
+
*/
|
|
190
|
+
card_type?: 'visa' | 'mastercard' | 'amex' | 'optima' | 'discover' | 'diners-club' | 'jcb' | 'maestro' | 'enroute';
|
|
191
|
+
/**
|
|
192
|
+
* Step error for which this prompt applies.
|
|
193
|
+
*/
|
|
194
|
+
error_type?: 'timeout' | 'invalid-card-number' | 'invalid-card-type' | 'invalid-date' | 'invalid-security-code' | 'invalid-postal-code' | 'invalid-bank-routing-number' | 'invalid-bank-account-number' | 'input-matching-failed';
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
198
|
+
* API PayPrompt schema.
|
|
199
|
+
*/
|
|
200
|
+
interface PayToolPromptList {
|
|
201
|
+
/**
|
|
202
|
+
* Text spoken for the payment collection step.
|
|
203
|
+
*/
|
|
204
|
+
text: string;
|
|
205
|
+
/**
|
|
206
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
207
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
208
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
209
|
+
* never play.
|
|
210
|
+
*/
|
|
211
|
+
attempt?: string;
|
|
212
|
+
/**
|
|
213
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
214
|
+
*/
|
|
215
|
+
card_type?: 'visa' | 'mastercard' | 'amex' | 'optima' | 'discover' | 'diners-club' | 'jcb' | 'maestro' | 'enroute';
|
|
216
|
+
/**
|
|
217
|
+
* Step error for which this prompt applies.
|
|
218
|
+
*/
|
|
219
|
+
error_type?: 'timeout' | 'invalid-card-number' | 'invalid-card-type' | 'invalid-date' | 'invalid-security-code' | 'invalid-postal-code' | 'invalid-bank-routing-number' | 'invalid-bank-account-number' | 'input-matching-failed';
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
223
|
+
* API PayPrompt schema.
|
|
224
|
+
*/
|
|
225
|
+
interface PayToolPromptList {
|
|
226
|
+
/**
|
|
227
|
+
* Text spoken for the payment collection step.
|
|
228
|
+
*/
|
|
229
|
+
text: string;
|
|
230
|
+
/**
|
|
231
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
232
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
233
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
234
|
+
* never play.
|
|
235
|
+
*/
|
|
236
|
+
attempt?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
239
|
+
*/
|
|
240
|
+
card_type?: 'visa' | 'mastercard' | 'amex' | 'optima' | 'discover' | 'diners-club' | 'jcb' | 'maestro' | 'enroute';
|
|
241
|
+
/**
|
|
242
|
+
* Step error for which this prompt applies.
|
|
243
|
+
*/
|
|
244
|
+
error_type?: 'timeout' | 'invalid-card-number' | 'invalid-card-type' | 'invalid-date' | 'invalid-security-code' | 'invalid-postal-code' | 'invalid-bank-routing-number' | 'invalid-bank-account-number' | 'input-matching-failed';
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
248
|
+
* API PayPrompt schema.
|
|
249
|
+
*/
|
|
250
|
+
interface PayToolPromptList {
|
|
251
|
+
/**
|
|
252
|
+
* Text spoken for the payment collection step.
|
|
253
|
+
*/
|
|
254
|
+
text: string;
|
|
255
|
+
/**
|
|
256
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
257
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
258
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
259
|
+
* never play.
|
|
260
|
+
*/
|
|
261
|
+
attempt?: string;
|
|
262
|
+
/**
|
|
263
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
264
|
+
*/
|
|
265
|
+
card_type?: 'visa' | 'mastercard' | 'amex' | 'optima' | 'discover' | 'diners-club' | 'jcb' | 'maestro' | 'enroute';
|
|
266
|
+
/**
|
|
267
|
+
* Step error for which this prompt applies.
|
|
268
|
+
*/
|
|
269
|
+
error_type?: 'timeout' | 'invalid-card-number' | 'invalid-card-type' | 'invalid-date' | 'invalid-security-code' | 'invalid-postal-code' | 'invalid-bank-routing-number' | 'invalid-bank-account-number' | 'input-matching-failed';
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
273
|
+
* API PayPrompt schema.
|
|
274
|
+
*/
|
|
275
|
+
interface PayToolPromptList {
|
|
276
|
+
/**
|
|
277
|
+
* Text spoken for the payment collection step.
|
|
278
|
+
*/
|
|
279
|
+
text: string;
|
|
280
|
+
/**
|
|
281
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
282
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
283
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
284
|
+
* never play.
|
|
285
|
+
*/
|
|
286
|
+
attempt?: string;
|
|
287
|
+
/**
|
|
288
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
289
|
+
*/
|
|
290
|
+
card_type?: 'visa' | 'mastercard' | 'amex' | 'optima' | 'discover' | 'diners-club' | 'jcb' | 'maestro' | 'enroute';
|
|
291
|
+
/**
|
|
292
|
+
* Step error for which this prompt applies.
|
|
293
|
+
*/
|
|
294
|
+
error_type?: 'timeout' | 'invalid-card-number' | 'invalid-card-type' | 'invalid-date' | 'invalid-security-code' | 'invalid-postal-code' | 'invalid-bank-routing-number' | 'invalid-bank-account-number' | 'input-matching-failed';
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
298
|
+
* API PayPrompt schema.
|
|
299
|
+
*/
|
|
300
|
+
interface PayToolPromptList {
|
|
301
|
+
/**
|
|
302
|
+
* Text spoken for the payment collection step.
|
|
303
|
+
*/
|
|
304
|
+
text: string;
|
|
305
|
+
/**
|
|
306
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
307
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
308
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
309
|
+
* never play.
|
|
310
|
+
*/
|
|
311
|
+
attempt?: string;
|
|
312
|
+
/**
|
|
313
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
314
|
+
*/
|
|
315
|
+
card_type?: 'visa' | 'mastercard' | 'amex' | 'optima' | 'discover' | 'diners-club' | 'jcb' | 'maestro' | 'enroute';
|
|
316
|
+
/**
|
|
317
|
+
* Step error for which this prompt applies.
|
|
318
|
+
*/
|
|
319
|
+
error_type?: 'timeout' | 'invalid-card-number' | 'invalid-card-type' | 'invalid-date' | 'invalid-security-code' | 'invalid-postal-code' | 'invalid-bank-routing-number' | 'invalid-bank-account-number' | 'input-matching-failed';
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
101
323
|
export interface SharedToolResponse {
|
|
102
324
|
id: string;
|
|
103
325
|
tool_definition: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.mts","sourceRoot":"","sources":["../../src/resources/ai/tools.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,kCAA8B;AAE7G,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,wCAAwC,EAAE,kBAAkB,CAAC;IAO5E;;;;;;;;;;OAUG;IACH,MAAM,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAA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C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
package/resources/ai/tools.d.ts
CHANGED
|
@@ -87,10 +87,48 @@ export interface PayToolParams {
|
|
|
87
87
|
* the assistant passes is what reaches the processor.
|
|
88
88
|
*/
|
|
89
89
|
description?: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Time in milliseconds to wait between consecutive DTMF digits. Omitted means the
|
|
92
|
+
* platform default (5000) applies.
|
|
93
|
+
*/
|
|
94
|
+
inter_digit_timeout_millis?: number;
|
|
95
|
+
/**
|
|
96
|
+
* Maximum number of attempts for each payment collection step. Omitted means the
|
|
97
|
+
* platform default (3) applies.
|
|
98
|
+
*/
|
|
99
|
+
max_attempts?: number;
|
|
100
|
+
/**
|
|
101
|
+
* Minimum number of digits the caller must enter when collecting a credit-card
|
|
102
|
+
* billing postal code. Applies only when `postal_code` prompts the caller. Omitted
|
|
103
|
+
* means the platform default (1) applies. The maximum number of digits collected
|
|
104
|
+
* is the greater of 10 and this value. This does not validate the length of a
|
|
105
|
+
* postal code supplied directly in `postal_code`.
|
|
106
|
+
*/
|
|
107
|
+
min_postal_code_length?: number;
|
|
90
108
|
/**
|
|
91
109
|
* Default payment method for payments processed by this tool.
|
|
92
110
|
*/
|
|
93
111
|
payment_method?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Controls billing postal code collection for credit-card payments. Set to `false`
|
|
114
|
+
* to skip the postal code prompt without supplying a postal code to the payment
|
|
115
|
+
* connector (non-US cards, e.g. Irish Eircodes). Set to `true` to prompt the
|
|
116
|
+
* caller. Supply a non-empty string, such as `"90210"`, to use that postal code
|
|
117
|
+
* without prompting. This option does not affect ACH debit payments or payments
|
|
118
|
+
* using an existing token.
|
|
119
|
+
*/
|
|
120
|
+
postal_code?: string | boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Custom text-to-speech prompts keyed by payment collection step. The AI assistant
|
|
123
|
+
* merges its own card-number prompt into this map, matching on the same step keys.
|
|
124
|
+
*/
|
|
125
|
+
prompts?: PayToolParams.Prompts;
|
|
126
|
+
/**
|
|
127
|
+
* Time in milliseconds to wait for DTMF input for each collection step. Omitted
|
|
128
|
+
* means the platform default (5000) applies. Increase this for slower entry, e.g.
|
|
129
|
+
* a 16-digit card number.
|
|
130
|
+
*/
|
|
131
|
+
timeout_millis?: number;
|
|
94
132
|
/**
|
|
95
133
|
* Restricts accepted card numbers to the listed card types. When the caller enters
|
|
96
134
|
* a card number that does not match one of the listed types, Pay treats the input
|
|
@@ -98,6 +136,190 @@ export interface PayToolParams {
|
|
|
98
136
|
*/
|
|
99
137
|
valid_card_types?: Array<'visa' | 'mastercard' | 'amex' | 'maestro' | 'discover' | 'optima' | 'jcb' | 'diners-club' | 'enroute'>;
|
|
100
138
|
}
|
|
139
|
+
export declare namespace PayToolParams {
|
|
140
|
+
/**
|
|
141
|
+
* Custom text-to-speech prompts keyed by payment collection step. The AI assistant
|
|
142
|
+
* merges its own card-number prompt into this map, matching on the same step keys.
|
|
143
|
+
*/
|
|
144
|
+
interface Prompts {
|
|
145
|
+
/**
|
|
146
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
147
|
+
*/
|
|
148
|
+
'bank-account-number'?: string | Array<Prompts.PayToolPromptList>;
|
|
149
|
+
/**
|
|
150
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
151
|
+
*/
|
|
152
|
+
'bank-routing-number'?: string | Array<Prompts.PayToolPromptList>;
|
|
153
|
+
/**
|
|
154
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
155
|
+
*/
|
|
156
|
+
'expiration-date'?: string | Array<Prompts.PayToolPromptList>;
|
|
157
|
+
/**
|
|
158
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
159
|
+
*/
|
|
160
|
+
'payment-card-number'?: string | Array<Prompts.PayToolPromptList>;
|
|
161
|
+
/**
|
|
162
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
163
|
+
*/
|
|
164
|
+
'postal-code'?: string | Array<Prompts.PayToolPromptList>;
|
|
165
|
+
/**
|
|
166
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
167
|
+
*/
|
|
168
|
+
'security-code'?: string | Array<Prompts.PayToolPromptList>;
|
|
169
|
+
}
|
|
170
|
+
namespace Prompts {
|
|
171
|
+
/**
|
|
172
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
173
|
+
* API PayPrompt schema.
|
|
174
|
+
*/
|
|
175
|
+
interface PayToolPromptList {
|
|
176
|
+
/**
|
|
177
|
+
* Text spoken for the payment collection step.
|
|
178
|
+
*/
|
|
179
|
+
text: string;
|
|
180
|
+
/**
|
|
181
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
182
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
183
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
184
|
+
* never play.
|
|
185
|
+
*/
|
|
186
|
+
attempt?: string;
|
|
187
|
+
/**
|
|
188
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
189
|
+
*/
|
|
190
|
+
card_type?: 'visa' | 'mastercard' | 'amex' | 'optima' | 'discover' | 'diners-club' | 'jcb' | 'maestro' | 'enroute';
|
|
191
|
+
/**
|
|
192
|
+
* Step error for which this prompt applies.
|
|
193
|
+
*/
|
|
194
|
+
error_type?: 'timeout' | 'invalid-card-number' | 'invalid-card-type' | 'invalid-date' | 'invalid-security-code' | 'invalid-postal-code' | 'invalid-bank-routing-number' | 'invalid-bank-account-number' | 'input-matching-failed';
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
198
|
+
* API PayPrompt schema.
|
|
199
|
+
*/
|
|
200
|
+
interface PayToolPromptList {
|
|
201
|
+
/**
|
|
202
|
+
* Text spoken for the payment collection step.
|
|
203
|
+
*/
|
|
204
|
+
text: string;
|
|
205
|
+
/**
|
|
206
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
207
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
208
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
209
|
+
* never play.
|
|
210
|
+
*/
|
|
211
|
+
attempt?: string;
|
|
212
|
+
/**
|
|
213
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
214
|
+
*/
|
|
215
|
+
card_type?: 'visa' | 'mastercard' | 'amex' | 'optima' | 'discover' | 'diners-club' | 'jcb' | 'maestro' | 'enroute';
|
|
216
|
+
/**
|
|
217
|
+
* Step error for which this prompt applies.
|
|
218
|
+
*/
|
|
219
|
+
error_type?: 'timeout' | 'invalid-card-number' | 'invalid-card-type' | 'invalid-date' | 'invalid-security-code' | 'invalid-postal-code' | 'invalid-bank-routing-number' | 'invalid-bank-account-number' | 'input-matching-failed';
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
223
|
+
* API PayPrompt schema.
|
|
224
|
+
*/
|
|
225
|
+
interface PayToolPromptList {
|
|
226
|
+
/**
|
|
227
|
+
* Text spoken for the payment collection step.
|
|
228
|
+
*/
|
|
229
|
+
text: string;
|
|
230
|
+
/**
|
|
231
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
232
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
233
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
234
|
+
* never play.
|
|
235
|
+
*/
|
|
236
|
+
attempt?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
239
|
+
*/
|
|
240
|
+
card_type?: 'visa' | 'mastercard' | 'amex' | 'optima' | 'discover' | 'diners-club' | 'jcb' | 'maestro' | 'enroute';
|
|
241
|
+
/**
|
|
242
|
+
* Step error for which this prompt applies.
|
|
243
|
+
*/
|
|
244
|
+
error_type?: 'timeout' | 'invalid-card-number' | 'invalid-card-type' | 'invalid-date' | 'invalid-security-code' | 'invalid-postal-code' | 'invalid-bank-routing-number' | 'invalid-bank-account-number' | 'input-matching-failed';
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
248
|
+
* API PayPrompt schema.
|
|
249
|
+
*/
|
|
250
|
+
interface PayToolPromptList {
|
|
251
|
+
/**
|
|
252
|
+
* Text spoken for the payment collection step.
|
|
253
|
+
*/
|
|
254
|
+
text: string;
|
|
255
|
+
/**
|
|
256
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
257
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
258
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
259
|
+
* never play.
|
|
260
|
+
*/
|
|
261
|
+
attempt?: string;
|
|
262
|
+
/**
|
|
263
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
264
|
+
*/
|
|
265
|
+
card_type?: 'visa' | 'mastercard' | 'amex' | 'optima' | 'discover' | 'diners-club' | 'jcb' | 'maestro' | 'enroute';
|
|
266
|
+
/**
|
|
267
|
+
* Step error for which this prompt applies.
|
|
268
|
+
*/
|
|
269
|
+
error_type?: 'timeout' | 'invalid-card-number' | 'invalid-card-type' | 'invalid-date' | 'invalid-security-code' | 'invalid-postal-code' | 'invalid-bank-routing-number' | 'invalid-bank-account-number' | 'input-matching-failed';
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
273
|
+
* API PayPrompt schema.
|
|
274
|
+
*/
|
|
275
|
+
interface PayToolPromptList {
|
|
276
|
+
/**
|
|
277
|
+
* Text spoken for the payment collection step.
|
|
278
|
+
*/
|
|
279
|
+
text: string;
|
|
280
|
+
/**
|
|
281
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
282
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
283
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
284
|
+
* never play.
|
|
285
|
+
*/
|
|
286
|
+
attempt?: string;
|
|
287
|
+
/**
|
|
288
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
289
|
+
*/
|
|
290
|
+
card_type?: 'visa' | 'mastercard' | 'amex' | 'optima' | 'discover' | 'diners-club' | 'jcb' | 'maestro' | 'enroute';
|
|
291
|
+
/**
|
|
292
|
+
* Step error for which this prompt applies.
|
|
293
|
+
*/
|
|
294
|
+
error_type?: 'timeout' | 'invalid-card-number' | 'invalid-card-type' | 'invalid-date' | 'invalid-security-code' | 'invalid-postal-code' | 'invalid-bank-routing-number' | 'invalid-bank-account-number' | 'input-matching-failed';
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
298
|
+
* API PayPrompt schema.
|
|
299
|
+
*/
|
|
300
|
+
interface PayToolPromptList {
|
|
301
|
+
/**
|
|
302
|
+
* Text spoken for the payment collection step.
|
|
303
|
+
*/
|
|
304
|
+
text: string;
|
|
305
|
+
/**
|
|
306
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
307
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
308
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
309
|
+
* never play.
|
|
310
|
+
*/
|
|
311
|
+
attempt?: string;
|
|
312
|
+
/**
|
|
313
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
314
|
+
*/
|
|
315
|
+
card_type?: 'visa' | 'mastercard' | 'amex' | 'optima' | 'discover' | 'diners-club' | 'jcb' | 'maestro' | 'enroute';
|
|
316
|
+
/**
|
|
317
|
+
* Step error for which this prompt applies.
|
|
318
|
+
*/
|
|
319
|
+
error_type?: 'timeout' | 'invalid-card-number' | 'invalid-card-type' | 'invalid-date' | 'invalid-security-code' | 'invalid-postal-code' | 'invalid-bank-routing-number' | 'invalid-bank-account-number' | 'input-matching-failed';
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
101
323
|
export interface SharedToolResponse {
|
|
102
324
|
id: string;
|
|
103
325
|
tool_definition: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/resources/ai/tools.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,iCAA8B;AAE7G,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,wCAAwC,EAAE,kBAAkB,CAAC;IAO5E;;;;;;;;;;OAUG;IACH,MAAM,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAY1F;;;;;;;OAOG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOlE;;;;;;;;;OASG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIlF;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;CAGzG;A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OAAO,CAAA;KAAE,CAAC;IAErC,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAEpC,GAAG,CAAC,EAAE,aAAa,CAAC;IAEpB,SAAS,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAEvC,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,wBAAwB,CAAC,EAAE,gCAAgC,CAAC;IAE5D,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAE1B,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAErC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -56,7 +56,9 @@ export interface ActionResponse {
|
|
|
56
56
|
* Normalized request metadata; defaults may be materialized and fill values are
|
|
57
57
|
* redacted as {redacted: true, length: number}, including inside batch actions.
|
|
58
58
|
*/
|
|
59
|
-
request:
|
|
59
|
+
request: {
|
|
60
|
+
[key: string]: unknown;
|
|
61
|
+
};
|
|
60
62
|
result: ActionResponse.Result | null;
|
|
61
63
|
seq: number;
|
|
62
64
|
session_id: string;
|
|
@@ -96,7 +98,9 @@ export declare namespace ActionResponse {
|
|
|
96
98
|
/**
|
|
97
99
|
* Present only for batch actions.
|
|
98
100
|
*/
|
|
99
|
-
results?: Array<
|
|
101
|
+
results?: Array<{
|
|
102
|
+
[key: string]: unknown;
|
|
103
|
+
}>;
|
|
100
104
|
title?: string;
|
|
101
105
|
url?: string;
|
|
102
106
|
}
|
|
@@ -119,7 +123,9 @@ export declare namespace ActionResponse {
|
|
|
119
123
|
* metadata.
|
|
120
124
|
*/
|
|
121
125
|
ref_count?: number;
|
|
122
|
-
refs?:
|
|
126
|
+
refs?: {
|
|
127
|
+
[key: string]: unknown;
|
|
128
|
+
};
|
|
123
129
|
title?: string;
|
|
124
130
|
tree?: string;
|
|
125
131
|
truncated?: boolean;
|
|
@@ -210,7 +216,7 @@ export interface SelectAction {
|
|
|
210
216
|
* Wait for a condition before continuing.
|
|
211
217
|
*/
|
|
212
218
|
export interface WaitForAction {
|
|
213
|
-
condition: WaitForAction.UnionMember0 | WaitForAction.UnionMember1 | WaitForAction.UnionMember2 | WaitForAction.
|
|
219
|
+
condition: WaitForAction.UnionMember0 | WaitForAction.UnionMember1 | WaitForAction.UnionMember2 | WaitForAction.UnionMember3;
|
|
214
220
|
type: 'wait_for';
|
|
215
221
|
idempotency_key?: string;
|
|
216
222
|
include_observation?: boolean;
|
|
@@ -230,7 +236,7 @@ export declare namespace WaitForAction {
|
|
|
230
236
|
kind: 'text';
|
|
231
237
|
text: string;
|
|
232
238
|
}
|
|
233
|
-
interface
|
|
239
|
+
interface UnionMember3 {
|
|
234
240
|
kind: 'dom_stable';
|
|
235
241
|
}
|
|
236
242
|
}
|
|
@@ -466,7 +472,7 @@ export declare namespace ActionCreateParams {
|
|
|
466
472
|
/**
|
|
467
473
|
* Body param
|
|
468
474
|
*/
|
|
469
|
-
condition: WaitForAction.UnionMember0 | WaitForAction.UnionMember1 | WaitForAction.UnionMember2 | WaitForAction.
|
|
475
|
+
condition: WaitForAction.UnionMember0 | WaitForAction.UnionMember1 | WaitForAction.UnionMember2 | WaitForAction.UnionMember3;
|
|
470
476
|
/**
|
|
471
477
|
* Body param
|
|
472
478
|
*/
|
|
@@ -504,7 +510,7 @@ export declare namespace ActionCreateParams {
|
|
|
504
510
|
kind: 'text';
|
|
505
511
|
text: string;
|
|
506
512
|
}
|
|
507
|
-
interface
|
|
513
|
+
interface UnionMember3 {
|
|
508
514
|
kind: 'dom_stable';
|
|
509
515
|
}
|
|
510
516
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../src/resources/browser-sessions/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAS1G;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CACN,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAItC;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IAEX,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;;;;OAQG;IACH,KAAK,EAAE,cAAc,CAAC,KAAK,GAAG,IAAI,CAAC;IAEnC;;;OAGG;IACH,OAAO,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../src/resources/browser-sessions/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD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