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
|
@@ -5002,7 +5002,7 @@ export namespace CallAnalyzedWebhookEvent {
|
|
|
5002
5002
|
* retries, this field carries the placeholder string `No cost data available.`
|
|
5003
5003
|
* instead of an object.
|
|
5004
5004
|
*/
|
|
5005
|
-
cost?: Payload.
|
|
5005
|
+
cost?: Payload.CallCostBreakdown | string;
|
|
5006
5006
|
|
|
5007
5007
|
/**
|
|
5008
5008
|
* Duration of the conversation in seconds.
|
|
@@ -5084,18 +5084,13 @@ export namespace CallAnalyzedWebhookEvent {
|
|
|
5084
5084
|
}
|
|
5085
5085
|
|
|
5086
5086
|
/**
|
|
5087
|
-
* The
|
|
5088
|
-
* billed on the call: the AI Voice Assistant engine minutes
|
|
5089
|
-
* (`ai-voice-assistant`), LLM inference tokens (`inference`), and call-control,
|
|
5090
|
-
* SIP trunking, and recording lines. If cost data could not be retrieved after
|
|
5091
|
-
* retries, this field carries the placeholder string `No cost data available.`
|
|
5092
|
-
* instead of an object.
|
|
5087
|
+
* The itemized cost of the call.
|
|
5093
5088
|
*/
|
|
5094
|
-
export interface
|
|
5089
|
+
export interface CallCostBreakdown {
|
|
5095
5090
|
/**
|
|
5096
5091
|
* Cost lines grouped by product.
|
|
5097
5092
|
*/
|
|
5098
|
-
breakdown?: Array<
|
|
5093
|
+
breakdown?: Array<CallCostBreakdown.Breakdown>;
|
|
5099
5094
|
|
|
5100
5095
|
/**
|
|
5101
5096
|
* The currency of the cost amounts.
|
|
@@ -5108,7 +5103,7 @@ export namespace CallAnalyzedWebhookEvent {
|
|
|
5108
5103
|
total?: string;
|
|
5109
5104
|
}
|
|
5110
5105
|
|
|
5111
|
-
export namespace
|
|
5106
|
+
export namespace CallCostBreakdown {
|
|
5112
5107
|
export interface Breakdown {
|
|
5113
5108
|
/**
|
|
5114
5109
|
* Total cost for this product across the call, in the currency given by
|
|
@@ -6951,6 +6946,98 @@ export namespace NumberReputationNumberRemovedWebhookEvent {
|
|
|
6951
6946
|
}
|
|
6952
6947
|
}
|
|
6953
6948
|
|
|
6949
|
+
export interface RecordingExportFailedWebhookEvent {
|
|
6950
|
+
/**
|
|
6951
|
+
* Unique event id; deduplicate deliveries on it.
|
|
6952
|
+
*/
|
|
6953
|
+
id: string;
|
|
6954
|
+
|
|
6955
|
+
data: RecordingExportFailedWebhookEvent.Data;
|
|
6956
|
+
|
|
6957
|
+
/**
|
|
6958
|
+
* Event type.
|
|
6959
|
+
*/
|
|
6960
|
+
event: 'recording.export_failed';
|
|
6961
|
+
|
|
6962
|
+
/**
|
|
6963
|
+
* When the event occurred.
|
|
6964
|
+
*/
|
|
6965
|
+
occurred_at: string;
|
|
6966
|
+
|
|
6967
|
+
/**
|
|
6968
|
+
* Envelope version.
|
|
6969
|
+
*/
|
|
6970
|
+
version: string;
|
|
6971
|
+
}
|
|
6972
|
+
|
|
6973
|
+
export namespace RecordingExportFailedWebhookEvent {
|
|
6974
|
+
export interface Data {
|
|
6975
|
+
bucket: string;
|
|
6976
|
+
|
|
6977
|
+
key: string;
|
|
6978
|
+
|
|
6979
|
+
reason:
|
|
6980
|
+
| 'invalid_target'
|
|
6981
|
+
| 'invalid_media'
|
|
6982
|
+
| 'source_changed'
|
|
6983
|
+
| 'source_unavailable'
|
|
6984
|
+
| 'too_large'
|
|
6985
|
+
| 'storage_unavailable'
|
|
6986
|
+
| 'object_conflict'
|
|
6987
|
+
| 'verification_failed'
|
|
6988
|
+
| 'worker_lost'
|
|
6989
|
+
| 'internal_error';
|
|
6990
|
+
|
|
6991
|
+
region: string;
|
|
6992
|
+
|
|
6993
|
+
session_id: string;
|
|
6994
|
+
|
|
6995
|
+
type: 'video';
|
|
6996
|
+
}
|
|
6997
|
+
}
|
|
6998
|
+
|
|
6999
|
+
export interface RecordingExportedWebhookEvent {
|
|
7000
|
+
/**
|
|
7001
|
+
* Unique event id; deduplicate deliveries on it.
|
|
7002
|
+
*/
|
|
7003
|
+
id: string;
|
|
7004
|
+
|
|
7005
|
+
data: RecordingExportedWebhookEvent.Data;
|
|
7006
|
+
|
|
7007
|
+
/**
|
|
7008
|
+
* Event type.
|
|
7009
|
+
*/
|
|
7010
|
+
event: 'recording.exported';
|
|
7011
|
+
|
|
7012
|
+
/**
|
|
7013
|
+
* When the event occurred.
|
|
7014
|
+
*/
|
|
7015
|
+
occurred_at: string;
|
|
7016
|
+
|
|
7017
|
+
/**
|
|
7018
|
+
* Envelope version.
|
|
7019
|
+
*/
|
|
7020
|
+
version: string;
|
|
7021
|
+
}
|
|
7022
|
+
|
|
7023
|
+
export namespace RecordingExportedWebhookEvent {
|
|
7024
|
+
export interface Data {
|
|
7025
|
+
bucket: string;
|
|
7026
|
+
|
|
7027
|
+
bytes: number;
|
|
7028
|
+
|
|
7029
|
+
key: string;
|
|
7030
|
+
|
|
7031
|
+
region: string;
|
|
7032
|
+
|
|
7033
|
+
session_id: string;
|
|
7034
|
+
|
|
7035
|
+
sha256: string;
|
|
7036
|
+
|
|
7037
|
+
type: 'video';
|
|
7038
|
+
}
|
|
7039
|
+
}
|
|
7040
|
+
|
|
6954
7041
|
export interface ReplacedLinkClickWebhookEvent {
|
|
6955
7042
|
data?: ReplacedLinkClick;
|
|
6956
7043
|
}
|
|
@@ -7006,6 +7093,19 @@ export namespace SessionStatusChangedWebhookEvent {
|
|
|
7006
7093
|
* Additional detail about the status (for example `cancelled`), or null.
|
|
7007
7094
|
*/
|
|
7008
7095
|
status_detail: string | null;
|
|
7096
|
+
|
|
7097
|
+
/**
|
|
7098
|
+
* Previous lifecycle status, when supplied.
|
|
7099
|
+
*/
|
|
7100
|
+
previous_status?:
|
|
7101
|
+
| 'scheduled'
|
|
7102
|
+
| 'joining'
|
|
7103
|
+
| 'waiting_for_admission'
|
|
7104
|
+
| 'active'
|
|
7105
|
+
| 'leaving'
|
|
7106
|
+
| 'ended'
|
|
7107
|
+
| 'failed'
|
|
7108
|
+
| 'admission_denied';
|
|
7009
7109
|
}
|
|
7010
7110
|
}
|
|
7011
7111
|
|
|
@@ -7346,7 +7446,7 @@ export namespace CallAnalyzedWebhookEvent {
|
|
|
7346
7446
|
* retries, this field carries the placeholder string `No cost data available.`
|
|
7347
7447
|
* instead of an object.
|
|
7348
7448
|
*/
|
|
7349
|
-
cost?: Payload.
|
|
7449
|
+
cost?: Payload.CallCostBreakdown | string;
|
|
7350
7450
|
|
|
7351
7451
|
/**
|
|
7352
7452
|
* Duration of the conversation in seconds.
|
|
@@ -7428,18 +7528,13 @@ export namespace CallAnalyzedWebhookEvent {
|
|
|
7428
7528
|
}
|
|
7429
7529
|
|
|
7430
7530
|
/**
|
|
7431
|
-
* The
|
|
7432
|
-
* billed on the call: the AI Voice Assistant engine minutes
|
|
7433
|
-
* (`ai-voice-assistant`), LLM inference tokens (`inference`), and call-control,
|
|
7434
|
-
* SIP trunking, and recording lines. If cost data could not be retrieved after
|
|
7435
|
-
* retries, this field carries the placeholder string `No cost data available.`
|
|
7436
|
-
* instead of an object.
|
|
7531
|
+
* The itemized cost of the call.
|
|
7437
7532
|
*/
|
|
7438
|
-
export interface
|
|
7533
|
+
export interface CallCostBreakdown {
|
|
7439
7534
|
/**
|
|
7440
7535
|
* Cost lines grouped by product.
|
|
7441
7536
|
*/
|
|
7442
|
-
breakdown?: Array<
|
|
7537
|
+
breakdown?: Array<CallCostBreakdown.Breakdown>;
|
|
7443
7538
|
|
|
7444
7539
|
/**
|
|
7445
7540
|
* The currency of the cost amounts.
|
|
@@ -7452,7 +7547,7 @@ export namespace CallAnalyzedWebhookEvent {
|
|
|
7452
7547
|
total?: string;
|
|
7453
7548
|
}
|
|
7454
7549
|
|
|
7455
|
-
export namespace
|
|
7550
|
+
export namespace CallCostBreakdown {
|
|
7456
7551
|
export interface Breakdown {
|
|
7457
7552
|
/**
|
|
7458
7553
|
* Total cost for this product across the call, in the currency given by
|
|
@@ -9295,6 +9390,98 @@ export namespace NumberReputationNumberRemovedWebhookEvent {
|
|
|
9295
9390
|
}
|
|
9296
9391
|
}
|
|
9297
9392
|
|
|
9393
|
+
export interface RecordingExportFailedWebhookEvent {
|
|
9394
|
+
/**
|
|
9395
|
+
* Unique event id; deduplicate deliveries on it.
|
|
9396
|
+
*/
|
|
9397
|
+
id: string;
|
|
9398
|
+
|
|
9399
|
+
data: RecordingExportFailedWebhookEvent.Data;
|
|
9400
|
+
|
|
9401
|
+
/**
|
|
9402
|
+
* Event type.
|
|
9403
|
+
*/
|
|
9404
|
+
event: 'recording.export_failed';
|
|
9405
|
+
|
|
9406
|
+
/**
|
|
9407
|
+
* When the event occurred.
|
|
9408
|
+
*/
|
|
9409
|
+
occurred_at: string;
|
|
9410
|
+
|
|
9411
|
+
/**
|
|
9412
|
+
* Envelope version.
|
|
9413
|
+
*/
|
|
9414
|
+
version: string;
|
|
9415
|
+
}
|
|
9416
|
+
|
|
9417
|
+
export namespace RecordingExportFailedWebhookEvent {
|
|
9418
|
+
export interface Data {
|
|
9419
|
+
bucket: string;
|
|
9420
|
+
|
|
9421
|
+
key: string;
|
|
9422
|
+
|
|
9423
|
+
reason:
|
|
9424
|
+
| 'invalid_target'
|
|
9425
|
+
| 'invalid_media'
|
|
9426
|
+
| 'source_changed'
|
|
9427
|
+
| 'source_unavailable'
|
|
9428
|
+
| 'too_large'
|
|
9429
|
+
| 'storage_unavailable'
|
|
9430
|
+
| 'object_conflict'
|
|
9431
|
+
| 'verification_failed'
|
|
9432
|
+
| 'worker_lost'
|
|
9433
|
+
| 'internal_error';
|
|
9434
|
+
|
|
9435
|
+
region: string;
|
|
9436
|
+
|
|
9437
|
+
session_id: string;
|
|
9438
|
+
|
|
9439
|
+
type: 'video';
|
|
9440
|
+
}
|
|
9441
|
+
}
|
|
9442
|
+
|
|
9443
|
+
export interface RecordingExportedWebhookEvent {
|
|
9444
|
+
/**
|
|
9445
|
+
* Unique event id; deduplicate deliveries on it.
|
|
9446
|
+
*/
|
|
9447
|
+
id: string;
|
|
9448
|
+
|
|
9449
|
+
data: RecordingExportedWebhookEvent.Data;
|
|
9450
|
+
|
|
9451
|
+
/**
|
|
9452
|
+
* Event type.
|
|
9453
|
+
*/
|
|
9454
|
+
event: 'recording.exported';
|
|
9455
|
+
|
|
9456
|
+
/**
|
|
9457
|
+
* When the event occurred.
|
|
9458
|
+
*/
|
|
9459
|
+
occurred_at: string;
|
|
9460
|
+
|
|
9461
|
+
/**
|
|
9462
|
+
* Envelope version.
|
|
9463
|
+
*/
|
|
9464
|
+
version: string;
|
|
9465
|
+
}
|
|
9466
|
+
|
|
9467
|
+
export namespace RecordingExportedWebhookEvent {
|
|
9468
|
+
export interface Data {
|
|
9469
|
+
bucket: string;
|
|
9470
|
+
|
|
9471
|
+
bytes: number;
|
|
9472
|
+
|
|
9473
|
+
key: string;
|
|
9474
|
+
|
|
9475
|
+
region: string;
|
|
9476
|
+
|
|
9477
|
+
session_id: string;
|
|
9478
|
+
|
|
9479
|
+
sha256: string;
|
|
9480
|
+
|
|
9481
|
+
type: 'video';
|
|
9482
|
+
}
|
|
9483
|
+
}
|
|
9484
|
+
|
|
9298
9485
|
export interface ReplacedLinkClickWebhookEvent {
|
|
9299
9486
|
data?: ReplacedLinkClick;
|
|
9300
9487
|
}
|
|
@@ -9350,6 +9537,19 @@ export namespace SessionStatusChangedWebhookEvent {
|
|
|
9350
9537
|
* Additional detail about the status (for example `cancelled`), or null.
|
|
9351
9538
|
*/
|
|
9352
9539
|
status_detail: string | null;
|
|
9540
|
+
|
|
9541
|
+
/**
|
|
9542
|
+
* Previous lifecycle status, when supplied.
|
|
9543
|
+
*/
|
|
9544
|
+
previous_status?:
|
|
9545
|
+
| 'scheduled'
|
|
9546
|
+
| 'joining'
|
|
9547
|
+
| 'waiting_for_admission'
|
|
9548
|
+
| 'active'
|
|
9549
|
+
| 'leaving'
|
|
9550
|
+
| 'ended'
|
|
9551
|
+
| 'failed'
|
|
9552
|
+
| 'admission_denied';
|
|
9353
9553
|
}
|
|
9354
9554
|
}
|
|
9355
9555
|
|
|
@@ -9538,6 +9738,8 @@ export type UnsafeUnwrapWebhookEvent =
|
|
|
9538
9738
|
| NumberReputationExternalVerificationStatusChangedWebhookEvent
|
|
9539
9739
|
| NumberReputationNumberFlaggedWebhookEvent
|
|
9540
9740
|
| NumberReputationNumberRemovedWebhookEvent
|
|
9741
|
+
| RecordingExportFailedWebhookEvent
|
|
9742
|
+
| RecordingExportedWebhookEvent
|
|
9541
9743
|
| ReplacedLinkClickWebhookEvent
|
|
9542
9744
|
| SessionStatusChangedWebhookEvent
|
|
9543
9745
|
| TranscriptCompletedWebhookEvent
|
|
@@ -9623,6 +9825,8 @@ export type UnwrapWebhookEvent =
|
|
|
9623
9825
|
| NumberReputationExternalVerificationStatusChangedWebhookEvent
|
|
9624
9826
|
| NumberReputationNumberFlaggedWebhookEvent
|
|
9625
9827
|
| NumberReputationNumberRemovedWebhookEvent
|
|
9828
|
+
| RecordingExportFailedWebhookEvent
|
|
9829
|
+
| RecordingExportedWebhookEvent
|
|
9626
9830
|
| ReplacedLinkClickWebhookEvent
|
|
9627
9831
|
| SessionStatusChangedWebhookEvent
|
|
9628
9832
|
| TranscriptCompletedWebhookEvent
|
|
@@ -9766,6 +9970,8 @@ export declare namespace Webhooks {
|
|
|
9766
9970
|
type NumberReputationExternalVerificationStatusChangedWebhookEvent as NumberReputationExternalVerificationStatusChangedWebhookEvent,
|
|
9767
9971
|
type NumberReputationNumberFlaggedWebhookEvent as NumberReputationNumberFlaggedWebhookEvent,
|
|
9768
9972
|
type NumberReputationNumberRemovedWebhookEvent as NumberReputationNumberRemovedWebhookEvent,
|
|
9973
|
+
type RecordingExportFailedWebhookEvent as RecordingExportFailedWebhookEvent,
|
|
9974
|
+
type RecordingExportedWebhookEvent as RecordingExportedWebhookEvent,
|
|
9769
9975
|
type ReplacedLinkClickWebhookEvent as ReplacedLinkClickWebhookEvent,
|
|
9770
9976
|
type SessionStatusChangedWebhookEvent as SessionStatusChangedWebhookEvent,
|
|
9771
9977
|
type TranscriptCompletedWebhookEvent as TranscriptCompletedWebhookEvent,
|
|
@@ -5,8 +5,6 @@ import * as PhoneNumbersAPI from './phone-numbers';
|
|
|
5
5
|
import {
|
|
6
6
|
PhoneNumberInitializeVerificationParams,
|
|
7
7
|
PhoneNumberListParams,
|
|
8
|
-
PhoneNumberListResponse,
|
|
9
|
-
PhoneNumberListResponsesDefaultFlatPagination,
|
|
10
8
|
PhoneNumbers,
|
|
11
9
|
} from './phone-numbers';
|
|
12
10
|
import * as SettingsAPI from './settings';
|
|
@@ -202,8 +200,6 @@ export declare namespace BusinessAccounts {
|
|
|
202
200
|
|
|
203
201
|
export {
|
|
204
202
|
PhoneNumbers as PhoneNumbers,
|
|
205
|
-
type PhoneNumberListResponse as PhoneNumberListResponse,
|
|
206
|
-
type PhoneNumberListResponsesDefaultFlatPagination as PhoneNumberListResponsesDefaultFlatPagination,
|
|
207
203
|
type PhoneNumberListParams as PhoneNumberListParams,
|
|
208
204
|
type PhoneNumberInitializeVerificationParams as PhoneNumberInitializeVerificationParams,
|
|
209
205
|
};
|
|
@@ -9,10 +9,8 @@ export {
|
|
|
9
9
|
} from './business-accounts';
|
|
10
10
|
export {
|
|
11
11
|
PhoneNumbers,
|
|
12
|
-
type PhoneNumberListResponse,
|
|
13
12
|
type PhoneNumberListParams,
|
|
14
13
|
type PhoneNumberInitializeVerificationParams,
|
|
15
|
-
type PhoneNumberListResponsesDefaultFlatPagination,
|
|
16
14
|
} from './phone-numbers';
|
|
17
15
|
export {
|
|
18
16
|
Settings,
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as WhatsappPhoneNumbersAPI from '../phone-numbers/phone-numbers';
|
|
5
|
+
import { WhatsappPhoneResponsesDefaultFlatPagination } from '../phone-numbers/phone-numbers';
|
|
4
6
|
import { APIPromise } from '../../../core/api-promise';
|
|
5
7
|
import {
|
|
6
8
|
DefaultFlatPagination,
|
|
@@ -18,7 +20,7 @@ export class PhoneNumbers extends APIResource {
|
|
|
18
20
|
* @example
|
|
19
21
|
* ```ts
|
|
20
22
|
* // Automatically fetches more pages as needed.
|
|
21
|
-
* for await (const
|
|
23
|
+
* for await (const whatsappPhoneResponse of client.whatsapp.businessAccounts.phoneNumbers.list(
|
|
22
24
|
* 'id',
|
|
23
25
|
* )) {
|
|
24
26
|
* // ...
|
|
@@ -29,10 +31,10 @@ export class PhoneNumbers extends APIResource {
|
|
|
29
31
|
id: string,
|
|
30
32
|
query: PhoneNumberListParams | null | undefined = {},
|
|
31
33
|
options?: RequestOptions,
|
|
32
|
-
): PagePromise<
|
|
34
|
+
): PagePromise<WhatsappPhoneResponsesDefaultFlatPagination, WhatsappPhoneNumbersAPI.WhatsappPhoneResponse> {
|
|
33
35
|
return this._client.getAPIList(
|
|
34
36
|
path`/v2/whatsapp/business_accounts/${id}/phone_numbers`,
|
|
35
|
-
DefaultFlatPagination<
|
|
37
|
+
DefaultFlatPagination<WhatsappPhoneNumbersAPI.WhatsappPhoneResponse>,
|
|
36
38
|
{ query, ...options },
|
|
37
39
|
);
|
|
38
40
|
}
|
|
@@ -67,99 +69,6 @@ export class PhoneNumbers extends APIResource {
|
|
|
67
69
|
}
|
|
68
70
|
}
|
|
69
71
|
|
|
70
|
-
export type PhoneNumberListResponsesDefaultFlatPagination = DefaultFlatPagination<PhoneNumberListResponse>;
|
|
71
|
-
|
|
72
|
-
export interface PhoneNumberListResponse {
|
|
73
|
-
calling_enabled?: boolean;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Current lifecycle state for a coexistence number. This is null for a standard
|
|
77
|
-
* Cloud API number.
|
|
78
|
-
*/
|
|
79
|
-
coexistence_state?:
|
|
80
|
-
| 'pending_onboarding'
|
|
81
|
-
| 'sync_pending'
|
|
82
|
-
| 'syncing'
|
|
83
|
-
| 'sync_complete'
|
|
84
|
-
| 'active'
|
|
85
|
-
| 'history_declined'
|
|
86
|
-
| 'sync_deadline_expired'
|
|
87
|
-
| 'offboarded'
|
|
88
|
-
| 'disconnected'
|
|
89
|
-
| null;
|
|
90
|
-
|
|
91
|
-
created_at?: string;
|
|
92
|
-
|
|
93
|
-
display_name?: string;
|
|
94
|
-
|
|
95
|
-
enabled?: boolean;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Indicates whether the number is connected to both the WhatsApp Business app and
|
|
99
|
-
* Cloud API through WhatsApp Coexistence.
|
|
100
|
-
*/
|
|
101
|
-
is_on_biz_app?: boolean;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Phone number in E164 format
|
|
105
|
-
*/
|
|
106
|
-
phone_number?: string;
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Whatsapp phone number ID
|
|
110
|
-
*/
|
|
111
|
-
phone_number_id?: string;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Whatsapp quality rating
|
|
115
|
-
*/
|
|
116
|
-
quality_rating?: string;
|
|
117
|
-
|
|
118
|
-
record_type?: string;
|
|
119
|
-
|
|
120
|
-
status?: string;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Deadline for initiating the current coexistence synchronization cycle. This is
|
|
124
|
-
* null when no deadline applies.
|
|
125
|
-
*/
|
|
126
|
-
sync_deadline?: string | null;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Synchronization progress. This object is returned only while a coexistence
|
|
130
|
-
* number is synchronizing.
|
|
131
|
-
*/
|
|
132
|
-
sync_progress?: PhoneNumberListResponse.SyncProgress | null;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* User ID
|
|
136
|
-
*/
|
|
137
|
-
user_id?: string;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* WABA ID of Whatsapp business account
|
|
141
|
-
*/
|
|
142
|
-
waba_id?: string;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
export namespace PhoneNumberListResponse {
|
|
146
|
-
/**
|
|
147
|
-
* Synchronization progress. This object is returned only while a coexistence
|
|
148
|
-
* number is synchronizing.
|
|
149
|
-
*/
|
|
150
|
-
export interface SyncProgress {
|
|
151
|
-
contacts_status?: string;
|
|
152
|
-
|
|
153
|
-
history_chunk_order?: number | null;
|
|
154
|
-
|
|
155
|
-
history_phase?: number | null;
|
|
156
|
-
|
|
157
|
-
history_progress?: number | null;
|
|
158
|
-
|
|
159
|
-
history_status?: string;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
72
|
export interface PhoneNumberListParams extends DefaultFlatPaginationParams {}
|
|
164
73
|
|
|
165
74
|
export interface PhoneNumberInitializeVerificationParams {
|
|
@@ -174,9 +83,9 @@ export interface PhoneNumberInitializeVerificationParams {
|
|
|
174
83
|
|
|
175
84
|
export declare namespace PhoneNumbers {
|
|
176
85
|
export {
|
|
177
|
-
type PhoneNumberListResponse as PhoneNumberListResponse,
|
|
178
|
-
type PhoneNumberListResponsesDefaultFlatPagination as PhoneNumberListResponsesDefaultFlatPagination,
|
|
179
86
|
type PhoneNumberListParams as PhoneNumberListParams,
|
|
180
87
|
type PhoneNumberInitializeVerificationParams as PhoneNumberInitializeVerificationParams,
|
|
181
88
|
};
|
|
182
89
|
}
|
|
90
|
+
|
|
91
|
+
export { type WhatsappPhoneResponsesDefaultFlatPagination };
|
|
@@ -14,7 +14,7 @@ export class HostedSignups extends APIResource {
|
|
|
14
14
|
* @example
|
|
15
15
|
* ```ts
|
|
16
16
|
* // Automatically fetches more pages as needed.
|
|
17
|
-
* for await (const
|
|
17
|
+
* for await (const whatsappHostedSignup of client.whatsapp.hostedSignups.list()) {
|
|
18
18
|
* // ...
|
|
19
19
|
* }
|
|
20
20
|
* ```
|
|
@@ -22,12 +22,11 @@ export class HostedSignups extends APIResource {
|
|
|
22
22
|
list(
|
|
23
23
|
query: HostedSignupListParams | null | undefined = {},
|
|
24
24
|
options?: RequestOptions,
|
|
25
|
-
): PagePromise<
|
|
26
|
-
return this._client.getAPIList(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
);
|
|
25
|
+
): PagePromise<WhatsappHostedSignupsDefaultFlatPagination, WhatsappHostedSignup> {
|
|
26
|
+
return this._client.getAPIList('/whatsapp/hosted_signups', DefaultFlatPagination<WhatsappHostedSignup>, {
|
|
27
|
+
query,
|
|
28
|
+
...options,
|
|
29
|
+
});
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
/**
|
|
@@ -63,95 +62,9 @@ export class HostedSignups extends APIResource {
|
|
|
63
62
|
}
|
|
64
63
|
}
|
|
65
64
|
|
|
66
|
-
export type
|
|
65
|
+
export type WhatsappHostedSignupsDefaultFlatPagination = DefaultFlatPagination<WhatsappHostedSignup>;
|
|
67
66
|
|
|
68
|
-
export interface
|
|
69
|
-
data?: HostedSignupCreateResponse.Data;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export namespace HostedSignupCreateResponse {
|
|
73
|
-
export interface Data {
|
|
74
|
-
/**
|
|
75
|
-
* Hosted signup ID
|
|
76
|
-
*/
|
|
77
|
-
id?: string;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Meta App ID the hosted signup onboards customers into
|
|
81
|
-
*/
|
|
82
|
-
app_id?: string;
|
|
83
|
-
|
|
84
|
-
created_at?: string;
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* When the onboarding URL stops working
|
|
88
|
-
*/
|
|
89
|
-
expires_at?: string;
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Signed token embedded in `url`
|
|
93
|
-
*/
|
|
94
|
-
jwt?: string;
|
|
95
|
-
|
|
96
|
-
record_type?: 'whatsapp_jwt';
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Meta Partner Solution ID linked to the app. Returned only when creating a hosted
|
|
100
|
-
* signup.
|
|
101
|
-
*/
|
|
102
|
-
solution_id?: string;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* Hosted onboarding URL to share with the end customer
|
|
106
|
-
*/
|
|
107
|
-
url?: string;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export interface HostedSignupRetrieveResponse {
|
|
112
|
-
data?: HostedSignupRetrieveResponse.Data;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export namespace HostedSignupRetrieveResponse {
|
|
116
|
-
export interface Data {
|
|
117
|
-
/**
|
|
118
|
-
* Hosted signup ID
|
|
119
|
-
*/
|
|
120
|
-
id?: string;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Meta App ID the hosted signup onboards customers into
|
|
124
|
-
*/
|
|
125
|
-
app_id?: string;
|
|
126
|
-
|
|
127
|
-
created_at?: string;
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* When the onboarding URL stops working
|
|
131
|
-
*/
|
|
132
|
-
expires_at?: string;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* Signed token embedded in `url`
|
|
136
|
-
*/
|
|
137
|
-
jwt?: string;
|
|
138
|
-
|
|
139
|
-
record_type?: 'whatsapp_jwt';
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* Meta Partner Solution ID linked to the app. Returned only when creating a hosted
|
|
143
|
-
* signup.
|
|
144
|
-
*/
|
|
145
|
-
solution_id?: string;
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* Hosted onboarding URL to share with the end customer
|
|
149
|
-
*/
|
|
150
|
-
url?: string;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
export interface HostedSignupListResponse {
|
|
67
|
+
export interface WhatsappHostedSignup {
|
|
155
68
|
/**
|
|
156
69
|
* Hosted signup ID
|
|
157
70
|
*/
|
|
@@ -188,6 +101,14 @@ export interface HostedSignupListResponse {
|
|
|
188
101
|
url?: string;
|
|
189
102
|
}
|
|
190
103
|
|
|
104
|
+
export interface HostedSignupCreateResponse {
|
|
105
|
+
data?: WhatsappHostedSignup;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export interface HostedSignupRetrieveResponse {
|
|
109
|
+
data?: WhatsappHostedSignup;
|
|
110
|
+
}
|
|
111
|
+
|
|
191
112
|
export interface HostedSignupListParams extends DefaultFlatPaginationParams {}
|
|
192
113
|
|
|
193
114
|
export interface HostedSignupCreateParams {
|
|
@@ -212,10 +133,10 @@ export interface HostedSignupCreateParams {
|
|
|
212
133
|
|
|
213
134
|
export declare namespace HostedSignups {
|
|
214
135
|
export {
|
|
136
|
+
type WhatsappHostedSignup as WhatsappHostedSignup,
|
|
215
137
|
type HostedSignupCreateResponse as HostedSignupCreateResponse,
|
|
216
138
|
type HostedSignupRetrieveResponse as HostedSignupRetrieveResponse,
|
|
217
|
-
type
|
|
218
|
-
type HostedSignupListResponsesDefaultFlatPagination as HostedSignupListResponsesDefaultFlatPagination,
|
|
139
|
+
type WhatsappHostedSignupsDefaultFlatPagination as WhatsappHostedSignupsDefaultFlatPagination,
|
|
219
140
|
type HostedSignupListParams as HostedSignupListParams,
|
|
220
141
|
type HostedSignupCreateParams as HostedSignupCreateParams,
|
|
221
142
|
};
|
|
@@ -9,16 +9,16 @@ export {
|
|
|
9
9
|
} from './business-accounts/index';
|
|
10
10
|
export {
|
|
11
11
|
HostedSignups,
|
|
12
|
+
type WhatsappHostedSignup,
|
|
12
13
|
type HostedSignupCreateResponse,
|
|
13
14
|
type HostedSignupRetrieveResponse,
|
|
14
|
-
type HostedSignupListResponse,
|
|
15
15
|
type HostedSignupListParams,
|
|
16
16
|
type HostedSignupCreateParams,
|
|
17
|
-
type
|
|
17
|
+
type WhatsappHostedSignupsDefaultFlatPagination,
|
|
18
18
|
} from './hosted-signups';
|
|
19
19
|
export {
|
|
20
20
|
PhoneNumbers,
|
|
21
|
-
type
|
|
21
|
+
type WhatsappPhoneResponse,
|
|
22
22
|
type PhoneNumberGetResponse,
|
|
23
23
|
type PhoneNumberRetrieveConversationWindowResponse,
|
|
24
24
|
type PhoneNumberRetrievePhoneNumberResponse,
|
|
@@ -27,7 +27,7 @@ export {
|
|
|
27
27
|
type PhoneNumberVerifyParams,
|
|
28
28
|
type PhoneNumberRetrieveConversationWindowParams,
|
|
29
29
|
type PhoneNumberGetParams,
|
|
30
|
-
type
|
|
30
|
+
type WhatsappPhoneResponsesDefaultFlatPagination,
|
|
31
31
|
} from './phone-numbers/index';
|
|
32
32
|
export {
|
|
33
33
|
Signup,
|
|
@@ -23,7 +23,7 @@ export {
|
|
|
23
23
|
} from './conversational-components';
|
|
24
24
|
export {
|
|
25
25
|
PhoneNumbers,
|
|
26
|
-
type
|
|
26
|
+
type WhatsappPhoneResponse,
|
|
27
27
|
type PhoneNumberGetResponse,
|
|
28
28
|
type PhoneNumberRetrieveConversationWindowResponse,
|
|
29
29
|
type PhoneNumberRetrievePhoneNumberResponse,
|
|
@@ -32,7 +32,7 @@ export {
|
|
|
32
32
|
type PhoneNumberVerifyParams,
|
|
33
33
|
type PhoneNumberRetrieveConversationWindowParams,
|
|
34
34
|
type PhoneNumberGetParams,
|
|
35
|
-
type
|
|
35
|
+
type WhatsappPhoneResponsesDefaultFlatPagination,
|
|
36
36
|
} from './phone-numbers';
|
|
37
37
|
export {
|
|
38
38
|
Profile,
|