telnyx 7.30.0-beta.0 → 7.30.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 +7 -0
- package/client.d.mts +8 -9
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -9
- package/client.d.ts.map +1 -1
- package/client.js +0 -3
- package/client.js.map +1 -1
- package/client.mjs +0 -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/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 +191 -109
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +191 -109
- 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 +1 -1
- package/resources/ai/memory/namespaces/index.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/index.d.ts +1 -1
- package/resources/ai/memory/namespaces/index.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/index.js.map +1 -1
- package/resources/ai/memory/namespaces/index.mjs +1 -1
- package/resources/ai/memory/namespaces/index.mjs.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.d.mts +2 -2
- package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.d.ts +2 -2
- package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.js.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.mjs +1 -1
- package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts +3 -3
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts +3 -3
- 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/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/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 +3 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +0 -1
- package/resources/index.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/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 +10 -20
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +10 -20
- 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 +13 -6
- package/src/core/pagination.ts +58 -0
- package/src/lib/login-token.ts +8 -4
- package/src/resources/ai/ai.ts +12 -0
- package/src/resources/ai/assistants/assistants.ts +227 -144
- 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 +7 -1
- package/src/resources/ai/memory/namespaces/namespaces.ts +9 -1
- package/src/resources/ai/memory/namespaces/profiles/profiles.ts +5 -3
- 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/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/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 +4 -1
- 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/voice-clones.ts +4 -4
- package/src/resources/webhooks.ts +10 -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 +0 -6
- 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/src/resources/tts-integrations.ts +0 -3
|
@@ -57,41 +57,37 @@ export class Settings extends APIResource {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
/**
|
|
61
|
+
* A namespace's settings, grouped by what they affect.
|
|
62
|
+
*/
|
|
63
|
+
export interface NamespaceSettings {
|
|
61
64
|
/**
|
|
62
|
-
*
|
|
65
|
+
* Settings that shape this namespace's summaries.
|
|
63
66
|
*/
|
|
64
|
-
|
|
67
|
+
summary?: SummarySettings;
|
|
65
68
|
}
|
|
66
69
|
|
|
67
|
-
export
|
|
70
|
+
export interface NamespaceSettingsResponse {
|
|
68
71
|
/**
|
|
69
72
|
* A namespace's settings, grouped by what they affect.
|
|
70
73
|
*/
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
* Settings that shape this namespace's summaries.
|
|
74
|
-
*/
|
|
75
|
-
summary?: Data.Summary;
|
|
76
|
-
}
|
|
74
|
+
data: NamespaceSettings;
|
|
75
|
+
}
|
|
77
76
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
instructions?: string | null;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
77
|
+
/**
|
|
78
|
+
* A namespace's summary settings, shared by every profile in it.
|
|
79
|
+
*/
|
|
80
|
+
export interface SummarySettings {
|
|
81
|
+
/**
|
|
82
|
+
* Free-form instructions that influence how this namespace's summaries are
|
|
83
|
+
* written, shared by every profile in the namespace. How you use them is up to you
|
|
84
|
+
* -- they steer the outcome, so try a phrasing and see how the summary comes out.
|
|
85
|
+
* Advisory: they steer the summary but never override or deny a profile's own
|
|
86
|
+
* facts, and they do not affect recall. Null or empty means none are set, and
|
|
87
|
+
* summaries use the neutral default. A change reaches each summary the next time
|
|
88
|
+
* it is regenerated.
|
|
89
|
+
*/
|
|
90
|
+
instructions?: string | null;
|
|
95
91
|
}
|
|
96
92
|
|
|
97
93
|
export interface SettingPatchAllParams {
|
|
@@ -123,7 +119,9 @@ export namespace SettingPatchAllParams {
|
|
|
123
119
|
|
|
124
120
|
export declare namespace Settings {
|
|
125
121
|
export {
|
|
122
|
+
type NamespaceSettings as NamespaceSettings,
|
|
126
123
|
type NamespaceSettingsResponse as NamespaceSettingsResponse,
|
|
124
|
+
type SummarySettings as SummarySettings,
|
|
127
125
|
type SettingPatchAllParams as SettingPatchAllParams,
|
|
128
126
|
};
|
|
129
127
|
}
|
|
@@ -105,14 +105,12 @@ export interface ChatCreateCompletionParams {
|
|
|
105
105
|
* /v2/ai/openai/models). An omitted limit on an excluded model remains unset even
|
|
106
106
|
* when metadata declares a ceiling. Input and output together must fit the model's
|
|
107
107
|
* context window. Set an explicit limit when a bounded generation budget is
|
|
108
|
-
* required. For
|
|
109
|
-
*
|
|
110
|
-
* `deepseek-ai/DeepSeek-V4.1-Flash`. The hosted exclusions are
|
|
108
|
+
* required. For example, omitted or null limits default to 8192 for
|
|
109
|
+
* `zai-org/GLM-5.3` and `zai-org/GLM-5.3-Flash`. Hosted exclusions include
|
|
111
110
|
* `moonshotai/Kimi-K3`, `moonshotai/Kimi-K2.6`, `moonshotai/Kimi-K2.5`,
|
|
112
111
|
* `zai-org/GLM-5.2`, `zai-org/GLM-5.1-FP8`, `MiniMaxAI/MiniMax-M3-MXFP8`,
|
|
113
112
|
* `MiniMaxAI/MiniMax-M2.7`, `Qwen/Qwen3.8-27B`, `Qwen/Qwen3-235B-A22B`,
|
|
114
|
-
* `
|
|
115
|
-
* `meta-llama/Meta-Llama-3.1-70B-Instruct`,
|
|
113
|
+
* `meta-llama/Llama-3.3-70B-Instruct`, `meta-llama/Meta-Llama-3.1-70B-Instruct`,
|
|
116
114
|
* `meta-llama/Meta-Llama-3.1-8B-Instruct` and `google/gemma-2b-it`. Legacy
|
|
117
115
|
* external and fine-tuned model IDs can also bypass the default; model discovery
|
|
118
116
|
* reports completion ceilings, not whether this default applies. Set an explicit
|
|
@@ -121,7 +121,7 @@ export namespace V1RetrievePersonalitiesResponse {
|
|
|
121
121
|
*/
|
|
122
122
|
forked_from?: number | null;
|
|
123
123
|
|
|
124
|
-
generation_config?: unknown | null;
|
|
124
|
+
generation_config?: { [key: string]: unknown } | null;
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* How aggressively the personality interrupts the assistant.
|
|
@@ -131,9 +131,9 @@ export namespace V1RetrievePersonalitiesResponse {
|
|
|
131
131
|
/**
|
|
132
132
|
* Idle-timeout plan for messages during a call.
|
|
133
133
|
*/
|
|
134
|
-
message_plan?: unknown | null;
|
|
134
|
+
message_plan?: { [key: string]: unknown } | null;
|
|
135
135
|
|
|
136
|
-
network_simulation?: unknown | null;
|
|
136
|
+
network_simulation?: { [key: string]: unknown } | null;
|
|
137
137
|
|
|
138
138
|
organization?: number | null;
|
|
139
139
|
|
|
@@ -141,9 +141,9 @@ export namespace V1RetrievePersonalitiesResponse {
|
|
|
141
141
|
|
|
142
142
|
speed?: number | string | null;
|
|
143
143
|
|
|
144
|
-
start_speaking_plan?: number | unknown | null;
|
|
144
|
+
start_speaking_plan?: number | { [key: string]: unknown } | null;
|
|
145
145
|
|
|
146
|
-
stop_speaking_plan?: unknown | null;
|
|
146
|
+
stop_speaking_plan?: { [key: string]: unknown } | null;
|
|
147
147
|
|
|
148
148
|
voice_volume?: number | null;
|
|
149
149
|
}
|
|
@@ -127,11 +127,55 @@ export interface PayToolParams {
|
|
|
127
127
|
*/
|
|
128
128
|
description?: string | null;
|
|
129
129
|
|
|
130
|
+
/**
|
|
131
|
+
* Time in milliseconds to wait between consecutive DTMF digits. Omitted means the
|
|
132
|
+
* platform default (5000) applies.
|
|
133
|
+
*/
|
|
134
|
+
inter_digit_timeout_millis?: number;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Maximum number of attempts for each payment collection step. Omitted means the
|
|
138
|
+
* platform default (3) applies.
|
|
139
|
+
*/
|
|
140
|
+
max_attempts?: number;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Minimum number of digits the caller must enter when collecting a credit-card
|
|
144
|
+
* billing postal code. Applies only when `postal_code` prompts the caller. Omitted
|
|
145
|
+
* means the platform default (1) applies. The maximum number of digits collected
|
|
146
|
+
* is the greater of 10 and this value. This does not validate the length of a
|
|
147
|
+
* postal code supplied directly in `postal_code`.
|
|
148
|
+
*/
|
|
149
|
+
min_postal_code_length?: number;
|
|
150
|
+
|
|
130
151
|
/**
|
|
131
152
|
* Default payment method for payments processed by this tool.
|
|
132
153
|
*/
|
|
133
154
|
payment_method?: string;
|
|
134
155
|
|
|
156
|
+
/**
|
|
157
|
+
* Controls billing postal code collection for credit-card payments. Set to `false`
|
|
158
|
+
* to skip the postal code prompt without supplying a postal code to the payment
|
|
159
|
+
* connector (non-US cards, e.g. Irish Eircodes). Set to `true` to prompt the
|
|
160
|
+
* caller. Supply a non-empty string, such as `"90210"`, to use that postal code
|
|
161
|
+
* without prompting. This option does not affect ACH debit payments or payments
|
|
162
|
+
* using an existing token.
|
|
163
|
+
*/
|
|
164
|
+
postal_code?: string | boolean;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Custom text-to-speech prompts keyed by payment collection step. The AI assistant
|
|
168
|
+
* merges its own card-number prompt into this map, matching on the same step keys.
|
|
169
|
+
*/
|
|
170
|
+
prompts?: PayToolParams.Prompts;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Time in milliseconds to wait for DTMF input for each collection step. Omitted
|
|
174
|
+
* means the platform default (5000) applies. Increase this for slower entry, e.g.
|
|
175
|
+
* a 16-digit card number.
|
|
176
|
+
*/
|
|
177
|
+
timeout_millis?: number;
|
|
178
|
+
|
|
135
179
|
/**
|
|
136
180
|
* Restricts accepted card numbers to the listed card types. When the caller enters
|
|
137
181
|
* a card number that does not match one of the listed types, Pay treats the input
|
|
@@ -142,6 +186,328 @@ export interface PayToolParams {
|
|
|
142
186
|
>;
|
|
143
187
|
}
|
|
144
188
|
|
|
189
|
+
export namespace PayToolParams {
|
|
190
|
+
/**
|
|
191
|
+
* Custom text-to-speech prompts keyed by payment collection step. The AI assistant
|
|
192
|
+
* merges its own card-number prompt into this map, matching on the same step keys.
|
|
193
|
+
*/
|
|
194
|
+
export interface Prompts {
|
|
195
|
+
/**
|
|
196
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
197
|
+
*/
|
|
198
|
+
'bank-account-number'?: string | Array<Prompts.PayToolPromptList>;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
202
|
+
*/
|
|
203
|
+
'bank-routing-number'?: string | Array<Prompts.PayToolPromptList>;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
207
|
+
*/
|
|
208
|
+
'expiration-date'?: string | Array<Prompts.PayToolPromptList>;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
212
|
+
*/
|
|
213
|
+
'payment-card-number'?: string | Array<Prompts.PayToolPromptList>;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
217
|
+
*/
|
|
218
|
+
'postal-code'?: string | Array<Prompts.PayToolPromptList>;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* A default prompt string or an ordered list of qualified prompts.
|
|
222
|
+
*/
|
|
223
|
+
'security-code'?: string | Array<Prompts.PayToolPromptList>;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export namespace Prompts {
|
|
227
|
+
/**
|
|
228
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
229
|
+
* API PayPrompt schema.
|
|
230
|
+
*/
|
|
231
|
+
export interface PayToolPromptList {
|
|
232
|
+
/**
|
|
233
|
+
* Text spoken for the payment collection step.
|
|
234
|
+
*/
|
|
235
|
+
text: string;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
239
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
240
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
241
|
+
* never play.
|
|
242
|
+
*/
|
|
243
|
+
attempt?: string;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
247
|
+
*/
|
|
248
|
+
card_type?:
|
|
249
|
+
| 'visa'
|
|
250
|
+
| 'mastercard'
|
|
251
|
+
| 'amex'
|
|
252
|
+
| 'optima'
|
|
253
|
+
| 'discover'
|
|
254
|
+
| 'diners-club'
|
|
255
|
+
| 'jcb'
|
|
256
|
+
| 'maestro'
|
|
257
|
+
| 'enroute';
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Step error for which this prompt applies.
|
|
261
|
+
*/
|
|
262
|
+
error_type?:
|
|
263
|
+
| 'timeout'
|
|
264
|
+
| 'invalid-card-number'
|
|
265
|
+
| 'invalid-card-type'
|
|
266
|
+
| 'invalid-date'
|
|
267
|
+
| 'invalid-security-code'
|
|
268
|
+
| 'invalid-postal-code'
|
|
269
|
+
| 'invalid-bank-routing-number'
|
|
270
|
+
| 'invalid-bank-account-number'
|
|
271
|
+
| 'input-matching-failed';
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
276
|
+
* API PayPrompt schema.
|
|
277
|
+
*/
|
|
278
|
+
export interface PayToolPromptList {
|
|
279
|
+
/**
|
|
280
|
+
* Text spoken for the payment collection step.
|
|
281
|
+
*/
|
|
282
|
+
text: string;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
286
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
287
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
288
|
+
* never play.
|
|
289
|
+
*/
|
|
290
|
+
attempt?: string;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
294
|
+
*/
|
|
295
|
+
card_type?:
|
|
296
|
+
| 'visa'
|
|
297
|
+
| 'mastercard'
|
|
298
|
+
| 'amex'
|
|
299
|
+
| 'optima'
|
|
300
|
+
| 'discover'
|
|
301
|
+
| 'diners-club'
|
|
302
|
+
| 'jcb'
|
|
303
|
+
| 'maestro'
|
|
304
|
+
| 'enroute';
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Step error for which this prompt applies.
|
|
308
|
+
*/
|
|
309
|
+
error_type?:
|
|
310
|
+
| 'timeout'
|
|
311
|
+
| 'invalid-card-number'
|
|
312
|
+
| 'invalid-card-type'
|
|
313
|
+
| 'invalid-date'
|
|
314
|
+
| 'invalid-security-code'
|
|
315
|
+
| 'invalid-postal-code'
|
|
316
|
+
| 'invalid-bank-routing-number'
|
|
317
|
+
| 'invalid-bank-account-number'
|
|
318
|
+
| 'input-matching-failed';
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
323
|
+
* API PayPrompt schema.
|
|
324
|
+
*/
|
|
325
|
+
export interface PayToolPromptList {
|
|
326
|
+
/**
|
|
327
|
+
* Text spoken for the payment collection step.
|
|
328
|
+
*/
|
|
329
|
+
text: string;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
333
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
334
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
335
|
+
* never play.
|
|
336
|
+
*/
|
|
337
|
+
attempt?: string;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
341
|
+
*/
|
|
342
|
+
card_type?:
|
|
343
|
+
| 'visa'
|
|
344
|
+
| 'mastercard'
|
|
345
|
+
| 'amex'
|
|
346
|
+
| 'optima'
|
|
347
|
+
| 'discover'
|
|
348
|
+
| 'diners-club'
|
|
349
|
+
| 'jcb'
|
|
350
|
+
| 'maestro'
|
|
351
|
+
| 'enroute';
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Step error for which this prompt applies.
|
|
355
|
+
*/
|
|
356
|
+
error_type?:
|
|
357
|
+
| 'timeout'
|
|
358
|
+
| 'invalid-card-number'
|
|
359
|
+
| 'invalid-card-type'
|
|
360
|
+
| 'invalid-date'
|
|
361
|
+
| 'invalid-security-code'
|
|
362
|
+
| 'invalid-postal-code'
|
|
363
|
+
| 'invalid-bank-routing-number'
|
|
364
|
+
| 'invalid-bank-account-number'
|
|
365
|
+
| 'input-matching-failed';
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
370
|
+
* API PayPrompt schema.
|
|
371
|
+
*/
|
|
372
|
+
export interface PayToolPromptList {
|
|
373
|
+
/**
|
|
374
|
+
* Text spoken for the payment collection step.
|
|
375
|
+
*/
|
|
376
|
+
text: string;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
380
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
381
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
382
|
+
* never play.
|
|
383
|
+
*/
|
|
384
|
+
attempt?: string;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
388
|
+
*/
|
|
389
|
+
card_type?:
|
|
390
|
+
| 'visa'
|
|
391
|
+
| 'mastercard'
|
|
392
|
+
| 'amex'
|
|
393
|
+
| 'optima'
|
|
394
|
+
| 'discover'
|
|
395
|
+
| 'diners-club'
|
|
396
|
+
| 'jcb'
|
|
397
|
+
| 'maestro'
|
|
398
|
+
| 'enroute';
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Step error for which this prompt applies.
|
|
402
|
+
*/
|
|
403
|
+
error_type?:
|
|
404
|
+
| 'timeout'
|
|
405
|
+
| 'invalid-card-number'
|
|
406
|
+
| 'invalid-card-type'
|
|
407
|
+
| 'invalid-date'
|
|
408
|
+
| 'invalid-security-code'
|
|
409
|
+
| 'invalid-postal-code'
|
|
410
|
+
| 'invalid-bank-routing-number'
|
|
411
|
+
| 'invalid-bank-account-number'
|
|
412
|
+
| 'input-matching-failed';
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
417
|
+
* API PayPrompt schema.
|
|
418
|
+
*/
|
|
419
|
+
export interface PayToolPromptList {
|
|
420
|
+
/**
|
|
421
|
+
* Text spoken for the payment collection step.
|
|
422
|
+
*/
|
|
423
|
+
text: string;
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
427
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
428
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
429
|
+
* never play.
|
|
430
|
+
*/
|
|
431
|
+
attempt?: string;
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
435
|
+
*/
|
|
436
|
+
card_type?:
|
|
437
|
+
| 'visa'
|
|
438
|
+
| 'mastercard'
|
|
439
|
+
| 'amex'
|
|
440
|
+
| 'optima'
|
|
441
|
+
| 'discover'
|
|
442
|
+
| 'diners-club'
|
|
443
|
+
| 'jcb'
|
|
444
|
+
| 'maestro'
|
|
445
|
+
| 'enroute';
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* Step error for which this prompt applies.
|
|
449
|
+
*/
|
|
450
|
+
error_type?:
|
|
451
|
+
| 'timeout'
|
|
452
|
+
| 'invalid-card-number'
|
|
453
|
+
| 'invalid-card-type'
|
|
454
|
+
| 'invalid-date'
|
|
455
|
+
| 'invalid-security-code'
|
|
456
|
+
| 'invalid-postal-code'
|
|
457
|
+
| 'invalid-bank-routing-number'
|
|
458
|
+
| 'invalid-bank-account-number'
|
|
459
|
+
| 'input-matching-failed';
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* A text-to-speech prompt with optional matching qualifiers, mirroring the Voice
|
|
464
|
+
* API PayPrompt schema.
|
|
465
|
+
*/
|
|
466
|
+
export interface PayToolPromptList {
|
|
467
|
+
/**
|
|
468
|
+
* Text spoken for the payment collection step.
|
|
469
|
+
*/
|
|
470
|
+
text: string;
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* Space-separated 1-based attempt numbers (1-9 followed by digits only, e.g.
|
|
474
|
+
* `"2 3"`) for which this prompt applies. A prompt qualified with an attempt
|
|
475
|
+
* number above `max_attempts` (default 3) is rejected at write time — it could
|
|
476
|
+
* never play.
|
|
477
|
+
*/
|
|
478
|
+
attempt?: string;
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* Lowercase, case-sensitive detected card type for which this prompt applies.
|
|
482
|
+
*/
|
|
483
|
+
card_type?:
|
|
484
|
+
| 'visa'
|
|
485
|
+
| 'mastercard'
|
|
486
|
+
| 'amex'
|
|
487
|
+
| 'optima'
|
|
488
|
+
| 'discover'
|
|
489
|
+
| 'diners-club'
|
|
490
|
+
| 'jcb'
|
|
491
|
+
| 'maestro'
|
|
492
|
+
| 'enroute';
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Step error for which this prompt applies.
|
|
496
|
+
*/
|
|
497
|
+
error_type?:
|
|
498
|
+
| 'timeout'
|
|
499
|
+
| 'invalid-card-number'
|
|
500
|
+
| 'invalid-card-type'
|
|
501
|
+
| 'invalid-date'
|
|
502
|
+
| 'invalid-security-code'
|
|
503
|
+
| 'invalid-postal-code'
|
|
504
|
+
| 'invalid-bank-routing-number'
|
|
505
|
+
| 'invalid-bank-account-number'
|
|
506
|
+
| 'input-matching-failed';
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
|
|
145
511
|
export interface SharedToolResponse {
|
|
146
512
|
id: string;
|
|
147
513
|
|
|
@@ -80,7 +80,7 @@ export interface ActionResponse {
|
|
|
80
80
|
* Normalized request metadata; defaults may be materialized and fill values are
|
|
81
81
|
* redacted as {redacted: true, length: number}, including inside batch actions.
|
|
82
82
|
*/
|
|
83
|
-
request: unknown;
|
|
83
|
+
request: { [key: string]: unknown };
|
|
84
84
|
|
|
85
85
|
result: ActionResponse.Result | null;
|
|
86
86
|
|
|
@@ -131,7 +131,7 @@ export namespace ActionResponse {
|
|
|
131
131
|
/**
|
|
132
132
|
* Present only for batch actions.
|
|
133
133
|
*/
|
|
134
|
-
results?: Array<unknown>;
|
|
134
|
+
results?: Array<{ [key: string]: unknown }>;
|
|
135
135
|
|
|
136
136
|
title?: string;
|
|
137
137
|
|
|
@@ -162,7 +162,7 @@ export namespace ActionResponse {
|
|
|
162
162
|
*/
|
|
163
163
|
ref_count?: number;
|
|
164
164
|
|
|
165
|
-
refs?: unknown;
|
|
165
|
+
refs?: { [key: string]: unknown };
|
|
166
166
|
|
|
167
167
|
title?: string;
|
|
168
168
|
|
|
@@ -313,7 +313,7 @@ export interface WaitForAction {
|
|
|
313
313
|
| WaitForAction.UnionMember0
|
|
314
314
|
| WaitForAction.UnionMember1
|
|
315
315
|
| WaitForAction.UnionMember2
|
|
316
|
-
| WaitForAction.
|
|
316
|
+
| WaitForAction.UnionMember3;
|
|
317
317
|
|
|
318
318
|
type: 'wait_for';
|
|
319
319
|
|
|
@@ -345,7 +345,7 @@ export namespace WaitForAction {
|
|
|
345
345
|
text: string;
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
export interface
|
|
348
|
+
export interface UnionMember3 {
|
|
349
349
|
kind: 'dom_stable';
|
|
350
350
|
}
|
|
351
351
|
}
|
|
@@ -658,7 +658,7 @@ export declare namespace ActionCreateParams {
|
|
|
658
658
|
| WaitForAction.UnionMember0
|
|
659
659
|
| WaitForAction.UnionMember1
|
|
660
660
|
| WaitForAction.UnionMember2
|
|
661
|
-
| WaitForAction.
|
|
661
|
+
| WaitForAction.UnionMember3;
|
|
662
662
|
|
|
663
663
|
/**
|
|
664
664
|
* Body param
|
|
@@ -709,7 +709,7 @@ export declare namespace ActionCreateParams {
|
|
|
709
709
|
text: string;
|
|
710
710
|
}
|
|
711
711
|
|
|
712
|
-
export interface
|
|
712
|
+
export interface UnionMember3 {
|
|
713
713
|
kind: 'dom_stable';
|
|
714
714
|
}
|
|
715
715
|
}
|
|
@@ -126,7 +126,7 @@ export interface Session {
|
|
|
126
126
|
|
|
127
127
|
limits: Session.Limits;
|
|
128
128
|
|
|
129
|
-
metadata: unknown;
|
|
129
|
+
metadata: { [key: string]: unknown };
|
|
130
130
|
|
|
131
131
|
policy: Session.Policy;
|
|
132
132
|
|
|
@@ -218,7 +218,7 @@ export interface BrowserSessionCreateParams {
|
|
|
218
218
|
/**
|
|
219
219
|
* Arbitrary key-value metadata.
|
|
220
220
|
*/
|
|
221
|
-
metadata?: unknown;
|
|
221
|
+
metadata?: { [key: string]: unknown };
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
export namespace BrowserSessionCreateParams {
|
|
@@ -75,56 +75,54 @@ export class Export extends APIResource {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
/**
|
|
79
|
+
* Metadata-only view of a function's log export destination. Header values are
|
|
80
|
+
* write-only (encrypted server-side) and never appear in any response.
|
|
81
|
+
*/
|
|
82
|
+
export interface FuncLogExportConfig {
|
|
79
83
|
/**
|
|
80
|
-
*
|
|
81
|
-
* write-only (encrypted server-side) and never appear in any response.
|
|
84
|
+
* Configuration record ID
|
|
82
85
|
*/
|
|
83
|
-
|
|
86
|
+
id?: string;
|
|
87
|
+
|
|
88
|
+
created_at?: string;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Whether export is enabled for this function
|
|
92
|
+
*/
|
|
93
|
+
enabled?: boolean;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* HTTPS OTLP endpoint URL logs are pushed to
|
|
97
|
+
*/
|
|
98
|
+
endpoint?: string;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Function ID this configuration belongs to
|
|
102
|
+
*/
|
|
103
|
+
func_id?: string;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Whether invocation records (one per HTTP request) are exported
|
|
107
|
+
*/
|
|
108
|
+
invocation_export_enabled?: boolean;
|
|
109
|
+
|
|
110
|
+
record_type?: 'compute_func_log_export_config';
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Whether runtime logs (function stdout/stderr) are exported
|
|
114
|
+
*/
|
|
115
|
+
runtime_export_enabled?: boolean;
|
|
116
|
+
|
|
117
|
+
updated_at?: string;
|
|
84
118
|
}
|
|
85
119
|
|
|
86
|
-
export
|
|
120
|
+
export interface FuncLogExportConfigResponse {
|
|
87
121
|
/**
|
|
88
122
|
* Metadata-only view of a function's log export destination. Header values are
|
|
89
123
|
* write-only (encrypted server-side) and never appear in any response.
|
|
90
124
|
*/
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Configuration record ID
|
|
94
|
-
*/
|
|
95
|
-
id?: string;
|
|
96
|
-
|
|
97
|
-
created_at?: string;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Whether export is enabled for this function
|
|
101
|
-
*/
|
|
102
|
-
enabled?: boolean;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* HTTPS OTLP endpoint URL logs are pushed to
|
|
106
|
-
*/
|
|
107
|
-
endpoint?: string;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Function ID this configuration belongs to
|
|
111
|
-
*/
|
|
112
|
-
func_id?: string;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Whether invocation records (one per HTTP request) are exported
|
|
116
|
-
*/
|
|
117
|
-
invocation_export_enabled?: boolean;
|
|
118
|
-
|
|
119
|
-
record_type?: 'compute_func_log_export_config';
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* Whether runtime logs (function stdout/stderr) are exported
|
|
123
|
-
*/
|
|
124
|
-
runtime_export_enabled?: boolean;
|
|
125
|
-
|
|
126
|
-
updated_at?: string;
|
|
127
|
-
}
|
|
125
|
+
data?: FuncLogExportConfig;
|
|
128
126
|
}
|
|
129
127
|
|
|
130
128
|
export interface ExportCreateParams {
|
|
@@ -153,6 +151,7 @@ export interface ExportCreateParams {
|
|
|
153
151
|
|
|
154
152
|
export declare namespace Export {
|
|
155
153
|
export {
|
|
154
|
+
type FuncLogExportConfig as FuncLogExportConfig,
|
|
156
155
|
type FuncLogExportConfigResponse as FuncLogExportConfigResponse,
|
|
157
156
|
type ExportCreateParams as ExportCreateParams,
|
|
158
157
|
};
|