telnyx 7.16.0 → 7.18.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 +19 -0
- package/client.d.mts +37 -32
- package/client.d.mts.map +1 -1
- package/client.d.ts +37 -32
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +65 -0
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts +65 -0
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.js +73 -1
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +69 -0
- package/core/pagination.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/addresses/addresses.d.mts +6 -3
- package/resources/addresses/addresses.d.mts.map +1 -1
- package/resources/addresses/addresses.d.ts +6 -3
- package/resources/addresses/addresses.d.ts.map +1 -1
- package/resources/addresses/addresses.js +6 -3
- package/resources/addresses/addresses.js.map +1 -1
- package/resources/addresses/addresses.mjs +6 -3
- package/resources/addresses/addresses.mjs.map +1 -1
- package/resources/ai/ai.d.mts +83 -109
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +83 -109
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +23 -7
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +23 -7
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/anthropic/v1.d.mts +4 -3
- package/resources/ai/anthropic/v1.d.mts.map +1 -1
- package/resources/ai/anthropic/v1.d.ts +4 -3
- package/resources/ai/anthropic/v1.d.ts.map +1 -1
- package/resources/ai/anthropic/v1.js +1 -1
- package/resources/ai/anthropic/v1.mjs +1 -1
- package/resources/ai/assistants/assistants.d.mts +600 -382
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +600 -382
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js +45 -10
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs +45 -10
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.mts +15 -1
- package/resources/ai/assistants/canary-deploys.d.mts.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.ts +15 -1
- package/resources/ai/assistants/canary-deploys.d.ts.map +1 -1
- package/resources/ai/assistants/canary-deploys.js +10 -2
- package/resources/ai/assistants/canary-deploys.js.map +1 -1
- package/resources/ai/assistants/canary-deploys.mjs +10 -2
- package/resources/ai/assistants/canary-deploys.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/assistants/scheduled-events.d.mts +36 -15
- package/resources/ai/assistants/scheduled-events.d.mts.map +1 -1
- package/resources/ai/assistants/scheduled-events.d.ts +36 -15
- package/resources/ai/assistants/scheduled-events.d.ts.map +1 -1
- package/resources/ai/assistants/scheduled-events.js +12 -3
- package/resources/ai/assistants/scheduled-events.js.map +1 -1
- package/resources/ai/assistants/scheduled-events.mjs +12 -3
- package/resources/ai/assistants/scheduled-events.mjs.map +1 -1
- package/resources/ai/assistants/tags.d.mts +2 -1
- package/resources/ai/assistants/tags.d.mts.map +1 -1
- package/resources/ai/assistants/tags.d.ts +2 -1
- package/resources/ai/assistants/tags.d.ts.map +1 -1
- package/resources/ai/assistants/tags.js +2 -1
- package/resources/ai/assistants/tags.js.map +1 -1
- package/resources/ai/assistants/tags.mjs +2 -1
- package/resources/ai/assistants/tags.mjs.map +1 -1
- package/resources/ai/assistants/tests/runs.d.mts +15 -4
- package/resources/ai/assistants/tests/runs.d.mts.map +1 -1
- package/resources/ai/assistants/tests/runs.d.ts +15 -4
- package/resources/ai/assistants/tests/runs.d.ts.map +1 -1
- package/resources/ai/assistants/tests/runs.js +11 -2
- package/resources/ai/assistants/tests/runs.js.map +1 -1
- package/resources/ai/assistants/tests/runs.mjs +11 -2
- package/resources/ai/assistants/tests/runs.mjs.map +1 -1
- package/resources/ai/assistants/tests/test-suites/runs.d.mts +15 -4
- package/resources/ai/assistants/tests/test-suites/runs.d.mts.map +1 -1
- package/resources/ai/assistants/tests/test-suites/runs.d.ts +15 -4
- package/resources/ai/assistants/tests/test-suites/runs.d.ts.map +1 -1
- package/resources/ai/assistants/tests/test-suites/runs.js +11 -2
- package/resources/ai/assistants/tests/test-suites/runs.js.map +1 -1
- package/resources/ai/assistants/tests/test-suites/runs.mjs +11 -2
- package/resources/ai/assistants/tests/test-suites/runs.mjs.map +1 -1
- package/resources/ai/assistants/tests/tests.d.mts +28 -17
- package/resources/ai/assistants/tests/tests.d.mts.map +1 -1
- package/resources/ai/assistants/tests/tests.d.ts +28 -17
- package/resources/ai/assistants/tests/tests.d.ts.map +1 -1
- package/resources/ai/assistants/tests/tests.js +10 -2
- package/resources/ai/assistants/tests/tests.js.map +1 -1
- package/resources/ai/assistants/tests/tests.mjs +10 -2
- package/resources/ai/assistants/tests/tests.mjs.map +1 -1
- package/resources/ai/assistants/tools.d.mts +5 -2
- package/resources/ai/assistants/tools.d.mts.map +1 -1
- package/resources/ai/assistants/tools.d.ts +5 -2
- package/resources/ai/assistants/tools.d.ts.map +1 -1
- package/resources/ai/assistants/tools.js +5 -2
- package/resources/ai/assistants/tools.js.map +1 -1
- package/resources/ai/assistants/tools.mjs +5 -2
- package/resources/ai/assistants/tools.mjs.map +1 -1
- package/resources/ai/chat.d.mts +8 -0
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +8 -0
- package/resources/ai/chat.d.ts.map +1 -1
- package/resources/ai/collections/collections.d.mts +1 -123
- package/resources/ai/collections/collections.d.mts.map +1 -1
- package/resources/ai/collections/collections.d.ts +1 -123
- package/resources/ai/collections/collections.d.ts.map +1 -1
- package/resources/ai/collections/collections.js +0 -42
- package/resources/ai/collections/collections.js.map +1 -1
- package/resources/ai/collections/collections.mjs +0 -42
- package/resources/ai/collections/collections.mjs.map +1 -1
- package/resources/ai/collections/index.d.mts +1 -1
- package/resources/ai/collections/index.d.mts.map +1 -1
- package/resources/ai/collections/index.d.ts +1 -1
- package/resources/ai/collections/index.d.ts.map +1 -1
- package/resources/ai/collections/index.js.map +1 -1
- package/resources/ai/collections/index.mjs.map +1 -1
- package/resources/ai/collections/settings.d.mts +4 -1
- package/resources/ai/collections/settings.d.mts.map +1 -1
- package/resources/ai/collections/settings.d.ts +4 -1
- package/resources/ai/collections/settings.d.ts.map +1 -1
- package/resources/ai/collections/sources.d.mts +3 -1
- package/resources/ai/collections/sources.d.mts.map +1 -1
- package/resources/ai/collections/sources.d.ts +3 -1
- package/resources/ai/collections/sources.d.ts.map +1 -1
- package/resources/ai/collections/sources.js +3 -1
- package/resources/ai/collections/sources.js.map +1 -1
- package/resources/ai/collections/sources.mjs +3 -1
- package/resources/ai/collections/sources.mjs.map +1 -1
- package/resources/ai/conversations/conversations.d.mts +55 -5
- package/resources/ai/conversations/conversations.d.mts.map +1 -1
- package/resources/ai/conversations/conversations.d.ts +55 -5
- package/resources/ai/conversations/conversations.d.ts.map +1 -1
- package/resources/ai/conversations/conversations.js +18 -5
- package/resources/ai/conversations/conversations.js.map +1 -1
- package/resources/ai/conversations/conversations.mjs +18 -5
- package/resources/ai/conversations/conversations.mjs.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.d.mts +30 -6
- package/resources/ai/conversations/insight-groups/insight-groups.d.mts.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.d.ts +30 -6
- package/resources/ai/conversations/insight-groups/insight-groups.d.ts.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.js +19 -7
- package/resources/ai/conversations/insight-groups/insight-groups.js.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.mjs +19 -7
- package/resources/ai/conversations/insight-groups/insight-groups.mjs.map +1 -1
- package/resources/ai/conversations/insight-groups/insights.d.mts +3 -2
- package/resources/ai/conversations/insight-groups/insights.d.mts.map +1 -1
- package/resources/ai/conversations/insight-groups/insights.d.ts +3 -2
- package/resources/ai/conversations/insight-groups/insights.d.ts.map +1 -1
- package/resources/ai/conversations/insight-groups/insights.js +3 -2
- package/resources/ai/conversations/insight-groups/insights.js.map +1 -1
- package/resources/ai/conversations/insight-groups/insights.mjs +3 -2
- package/resources/ai/conversations/insight-groups/insights.mjs.map +1 -1
- package/resources/ai/conversations/insights.d.mts +30 -7
- package/resources/ai/conversations/insights.d.mts.map +1 -1
- package/resources/ai/conversations/insights.d.ts +30 -7
- package/resources/ai/conversations/insights.d.ts.map +1 -1
- package/resources/ai/conversations/insights.js +18 -7
- package/resources/ai/conversations/insights.js.map +1 -1
- package/resources/ai/conversations/insights.mjs +18 -7
- package/resources/ai/conversations/insights.mjs.map +1 -1
- package/resources/ai/conversations/messages.d.mts +3 -0
- package/resources/ai/conversations/messages.d.mts.map +1 -1
- package/resources/ai/conversations/messages.d.ts +3 -0
- package/resources/ai/conversations/messages.d.ts.map +1 -1
- package/resources/ai/embeddings/buckets.d.mts +2 -1
- package/resources/ai/embeddings/buckets.d.mts.map +1 -1
- package/resources/ai/embeddings/buckets.d.ts +2 -1
- package/resources/ai/embeddings/buckets.d.ts.map +1 -1
- package/resources/ai/embeddings/buckets.js +2 -1
- package/resources/ai/embeddings/buckets.js.map +1 -1
- package/resources/ai/embeddings/buckets.mjs +2 -1
- package/resources/ai/embeddings/buckets.mjs.map +1 -1
- package/resources/ai/embeddings/embeddings.d.mts +38 -6
- package/resources/ai/embeddings/embeddings.d.mts.map +1 -1
- package/resources/ai/embeddings/embeddings.d.ts +38 -6
- package/resources/ai/embeddings/embeddings.d.ts.map +1 -1
- package/resources/ai/embeddings/embeddings.js +21 -4
- package/resources/ai/embeddings/embeddings.js.map +1 -1
- package/resources/ai/embeddings/embeddings.mjs +21 -4
- package/resources/ai/embeddings/embeddings.mjs.map +1 -1
- package/resources/ai/fine-tuning/jobs.d.mts +5 -3
- package/resources/ai/fine-tuning/jobs.d.mts.map +1 -1
- package/resources/ai/fine-tuning/jobs.d.ts +5 -3
- package/resources/ai/fine-tuning/jobs.d.ts.map +1 -1
- package/resources/ai/fine-tuning/jobs.js +5 -3
- package/resources/ai/fine-tuning/jobs.js.map +1 -1
- package/resources/ai/fine-tuning/jobs.mjs +5 -3
- package/resources/ai/fine-tuning/jobs.mjs.map +1 -1
- package/resources/ai/index.d.mts +4 -3
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +4 -3
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js +7 -5
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +1 -0
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/integrations/connections.d.mts +3 -2
- package/resources/ai/integrations/connections.d.mts.map +1 -1
- package/resources/ai/integrations/connections.d.ts +3 -2
- package/resources/ai/integrations/connections.d.ts.map +1 -1
- package/resources/ai/integrations/connections.js +3 -2
- package/resources/ai/integrations/connections.js.map +1 -1
- package/resources/ai/integrations/connections.mjs +3 -2
- package/resources/ai/integrations/connections.mjs.map +1 -1
- package/resources/ai/integrations/integrations.d.mts +4 -2
- package/resources/ai/integrations/integrations.d.mts.map +1 -1
- package/resources/ai/integrations/integrations.d.ts +4 -2
- package/resources/ai/integrations/integrations.d.ts.map +1 -1
- package/resources/ai/integrations/integrations.js +4 -2
- package/resources/ai/integrations/integrations.js.map +1 -1
- package/resources/ai/integrations/integrations.mjs +4 -2
- package/resources/ai/integrations/integrations.mjs.map +1 -1
- package/resources/ai/knowledge/collections.d.mts +140 -0
- package/resources/ai/knowledge/collections.d.mts.map +1 -0
- package/resources/ai/knowledge/collections.d.ts +140 -0
- package/resources/ai/knowledge/collections.d.ts.map +1 -0
- package/resources/ai/knowledge/collections.js +58 -0
- package/resources/ai/knowledge/collections.js.map +1 -0
- package/resources/ai/knowledge/collections.mjs +54 -0
- package/resources/ai/knowledge/collections.mjs.map +1 -0
- package/resources/ai/knowledge/index.d.mts +3 -0
- package/resources/ai/knowledge/index.d.mts.map +1 -0
- package/resources/ai/knowledge/index.d.ts +3 -0
- package/resources/ai/knowledge/index.d.ts.map +1 -0
- package/resources/ai/knowledge/index.js +9 -0
- package/resources/ai/knowledge/index.js.map +1 -0
- package/resources/ai/knowledge/index.mjs +4 -0
- package/resources/ai/knowledge/index.mjs.map +1 -0
- package/resources/ai/knowledge/knowledge.d.mts +10 -0
- package/resources/ai/knowledge/knowledge.d.mts.map +1 -0
- package/resources/ai/knowledge/knowledge.d.ts +10 -0
- package/resources/ai/knowledge/knowledge.d.ts.map +1 -0
- package/resources/ai/knowledge/knowledge.js +17 -0
- package/resources/ai/knowledge/knowledge.js.map +1 -0
- package/resources/ai/knowledge/knowledge.mjs +12 -0
- package/resources/ai/knowledge/knowledge.mjs.map +1 -0
- package/resources/ai/knowledge.d.mts +2 -0
- package/resources/ai/knowledge.d.mts.map +1 -0
- package/resources/ai/knowledge.d.ts +2 -0
- package/resources/ai/knowledge.d.ts.map +1 -0
- package/resources/ai/knowledge.js +6 -0
- package/resources/ai/knowledge.js.map +1 -0
- package/resources/ai/knowledge.mjs +3 -0
- package/resources/ai/knowledge.mjs.map +1 -0
- package/resources/ai/mcp-servers.d.mts +33 -5
- package/resources/ai/mcp-servers.d.mts.map +1 -1
- package/resources/ai/mcp-servers.d.ts +33 -5
- package/resources/ai/mcp-servers.d.ts.map +1 -1
- package/resources/ai/mcp-servers.js +16 -6
- package/resources/ai/mcp-servers.js.map +1 -1
- package/resources/ai/mcp-servers.mjs +16 -6
- package/resources/ai/mcp-servers.mjs.map +1 -1
- package/resources/ai/missions/knowledge-bases.d.mts +7 -4
- package/resources/ai/missions/knowledge-bases.d.mts.map +1 -1
- package/resources/ai/missions/knowledge-bases.d.ts +7 -4
- package/resources/ai/missions/knowledge-bases.d.ts.map +1 -1
- package/resources/ai/missions/knowledge-bases.js +7 -4
- package/resources/ai/missions/knowledge-bases.js.map +1 -1
- package/resources/ai/missions/knowledge-bases.mjs +7 -4
- package/resources/ai/missions/knowledge-bases.mjs.map +1 -1
- package/resources/ai/missions/mcp-servers.d.mts +9 -5
- package/resources/ai/missions/mcp-servers.d.mts.map +1 -1
- package/resources/ai/missions/mcp-servers.d.ts +9 -5
- package/resources/ai/missions/mcp-servers.d.ts.map +1 -1
- package/resources/ai/missions/mcp-servers.js +9 -5
- package/resources/ai/missions/mcp-servers.js.map +1 -1
- package/resources/ai/missions/mcp-servers.mjs +9 -5
- package/resources/ai/missions/mcp-servers.mjs.map +1 -1
- package/resources/ai/missions/missions.d.mts +14 -6
- package/resources/ai/missions/missions.d.mts.map +1 -1
- package/resources/ai/missions/missions.d.ts +14 -6
- package/resources/ai/missions/missions.d.ts.map +1 -1
- package/resources/ai/missions/missions.js +14 -6
- package/resources/ai/missions/missions.js.map +1 -1
- package/resources/ai/missions/missions.mjs +14 -6
- package/resources/ai/missions/missions.mjs.map +1 -1
- package/resources/ai/missions/runs/events.d.mts +7 -3
- package/resources/ai/missions/runs/events.d.mts.map +1 -1
- package/resources/ai/missions/runs/events.d.ts +7 -3
- package/resources/ai/missions/runs/events.d.ts.map +1 -1
- package/resources/ai/missions/runs/events.js +7 -3
- package/resources/ai/missions/runs/events.js.map +1 -1
- package/resources/ai/missions/runs/events.mjs +7 -3
- package/resources/ai/missions/runs/events.mjs.map +1 -1
- package/resources/ai/missions/runs/plan.d.mts +10 -4
- package/resources/ai/missions/runs/plan.d.mts.map +1 -1
- package/resources/ai/missions/runs/plan.d.ts +10 -4
- package/resources/ai/missions/runs/plan.d.ts.map +1 -1
- package/resources/ai/missions/runs/plan.js +10 -4
- package/resources/ai/missions/runs/plan.js.map +1 -1
- package/resources/ai/missions/runs/plan.mjs +10 -4
- package/resources/ai/missions/runs/plan.mjs.map +1 -1
- package/resources/ai/missions/runs/runs.d.mts +18 -8
- package/resources/ai/missions/runs/runs.d.mts.map +1 -1
- package/resources/ai/missions/runs/runs.d.ts +18 -8
- package/resources/ai/missions/runs/runs.d.ts.map +1 -1
- package/resources/ai/missions/runs/runs.js +18 -8
- package/resources/ai/missions/runs/runs.js.map +1 -1
- package/resources/ai/missions/runs/runs.mjs +18 -8
- package/resources/ai/missions/runs/runs.mjs.map +1 -1
- package/resources/ai/missions/runs/telnyx-agents.d.mts +4 -2
- package/resources/ai/missions/runs/telnyx-agents.d.mts.map +1 -1
- package/resources/ai/missions/runs/telnyx-agents.d.ts +4 -2
- package/resources/ai/missions/runs/telnyx-agents.d.ts.map +1 -1
- package/resources/ai/missions/runs/telnyx-agents.js +4 -2
- package/resources/ai/missions/runs/telnyx-agents.js.map +1 -1
- package/resources/ai/missions/runs/telnyx-agents.mjs +4 -2
- package/resources/ai/missions/runs/telnyx-agents.mjs.map +1 -1
- package/resources/ai/missions/tools.d.mts +8 -5
- package/resources/ai/missions/tools.d.mts.map +1 -1
- package/resources/ai/missions/tools.d.ts +8 -5
- package/resources/ai/missions/tools.d.ts.map +1 -1
- package/resources/ai/missions/tools.js +8 -5
- package/resources/ai/missions/tools.js.map +1 -1
- package/resources/ai/missions/tools.mjs +8 -5
- package/resources/ai/missions/tools.mjs.map +1 -1
- package/resources/ai/openai/chat.d.mts +8 -0
- package/resources/ai/openai/chat.d.mts.map +1 -1
- package/resources/ai/openai/chat.d.ts +8 -0
- package/resources/ai/openai/chat.d.ts.map +1 -1
- package/resources/ai/openai/openai.d.mts +10 -0
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +10 -0
- package/resources/ai/openai/openai.d.ts.map +1 -1
- package/resources/ai/openai/openai.js.map +1 -1
- package/resources/ai/openai/openai.mjs.map +1 -1
- package/resources/ai/tools.d.mts +44 -3
- package/resources/ai/tools.d.mts.map +1 -1
- package/resources/ai/tools.d.ts +44 -3
- package/resources/ai/tools.d.ts.map +1 -1
- package/resources/ai/tools.js +12 -3
- package/resources/ai/tools.js.map +1 -1
- package/resources/ai/tools.mjs +12 -3
- package/resources/ai/tools.mjs.map +1 -1
- package/resources/authentication-providers.d.mts +2 -1
- package/resources/authentication-providers.d.mts.map +1 -1
- package/resources/authentication-providers.d.ts +2 -1
- package/resources/authentication-providers.d.ts.map +1 -1
- package/resources/authentication-providers.js +2 -1
- package/resources/authentication-providers.js.map +1 -1
- package/resources/authentication-providers.mjs +2 -1
- package/resources/authentication-providers.mjs.map +1 -1
- package/resources/bundle-pricing/billing-bundles.d.mts +4 -2
- package/resources/bundle-pricing/billing-bundles.d.mts.map +1 -1
- package/resources/bundle-pricing/billing-bundles.d.ts +4 -2
- package/resources/bundle-pricing/billing-bundles.d.ts.map +1 -1
- package/resources/bundle-pricing/billing-bundles.js +4 -2
- package/resources/bundle-pricing/billing-bundles.js.map +1 -1
- package/resources/bundle-pricing/billing-bundles.mjs +4 -2
- package/resources/bundle-pricing/billing-bundles.mjs.map +1 -1
- package/resources/bundle-pricing/user-bundles.d.mts +5 -3
- package/resources/bundle-pricing/user-bundles.d.mts.map +1 -1
- package/resources/bundle-pricing/user-bundles.d.ts +5 -3
- package/resources/bundle-pricing/user-bundles.d.ts.map +1 -1
- package/resources/bundle-pricing/user-bundles.js +5 -3
- package/resources/bundle-pricing/user-bundles.js.map +1 -1
- package/resources/bundle-pricing/user-bundles.mjs +5 -3
- package/resources/bundle-pricing/user-bundles.mjs.map +1 -1
- package/resources/call-control-applications.d.mts +4 -2
- package/resources/call-control-applications.d.mts.map +1 -1
- package/resources/call-control-applications.d.ts +4 -2
- package/resources/call-control-applications.d.ts.map +1 -1
- package/resources/call-control-applications.js +4 -2
- package/resources/call-control-applications.js.map +1 -1
- package/resources/call-control-applications.mjs +4 -2
- package/resources/call-control-applications.mjs.map +1 -1
- package/resources/calls/actions.d.mts +99 -100
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +99 -100
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/actions.js +11 -5
- package/resources/calls/actions.js.map +1 -1
- package/resources/calls/actions.mjs +11 -5
- package/resources/calls/actions.mjs.map +1 -1
- package/resources/calls/calls.d.mts +10 -4
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +10 -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/conferences/actions.d.mts +8 -7
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +8 -7
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/conferences/actions.js +4 -2
- package/resources/conferences/actions.js.map +1 -1
- package/resources/conferences/actions.mjs +4 -2
- package/resources/conferences/actions.mjs.map +1 -1
- package/resources/conferences/conferences.d.mts +3 -2
- package/resources/conferences/conferences.d.mts.map +1 -1
- package/resources/conferences/conferences.d.ts +3 -2
- package/resources/conferences/conferences.d.ts.map +1 -1
- package/resources/conferences/conferences.js +3 -2
- package/resources/conferences/conferences.js.map +1 -1
- package/resources/conferences/conferences.mjs +3 -2
- package/resources/conferences/conferences.mjs.map +1 -1
- package/resources/country-coverage.d.mts +4 -2
- package/resources/country-coverage.d.mts.map +1 -1
- package/resources/country-coverage.d.ts +4 -2
- package/resources/country-coverage.d.ts.map +1 -1
- package/resources/country-coverage.js +4 -2
- package/resources/country-coverage.js.map +1 -1
- package/resources/country-coverage.mjs +4 -2
- package/resources/country-coverage.mjs.map +1 -1
- package/resources/credential-connections/credential-connections.d.mts +2 -1
- package/resources/credential-connections/credential-connections.d.mts.map +1 -1
- package/resources/credential-connections/credential-connections.d.ts +2 -1
- package/resources/credential-connections/credential-connections.d.ts.map +1 -1
- package/resources/credential-connections/credential-connections.js +2 -1
- package/resources/credential-connections/credential-connections.js.map +1 -1
- package/resources/credential-connections/credential-connections.mjs +2 -1
- package/resources/credential-connections/credential-connections.mjs.map +1 -1
- package/resources/custom-storage-credentials.d.mts +34 -100
- package/resources/custom-storage-credentials.d.mts.map +1 -1
- package/resources/custom-storage-credentials.d.ts +34 -100
- package/resources/custom-storage-credentials.d.ts.map +1 -1
- package/resources/customer-service-records.d.mts +4 -2
- package/resources/customer-service-records.d.mts.map +1 -1
- package/resources/customer-service-records.d.ts +4 -2
- package/resources/customer-service-records.d.ts.map +1 -1
- package/resources/customer-service-records.js +4 -2
- package/resources/customer-service-records.js.map +1 -1
- package/resources/customer-service-records.mjs +4 -2
- package/resources/customer-service-records.mjs.map +1 -1
- package/resources/dialogflow-connections.d.mts +3 -2
- package/resources/dialogflow-connections.d.mts.map +1 -1
- package/resources/dialogflow-connections.d.ts +3 -2
- package/resources/dialogflow-connections.d.ts.map +1 -1
- package/resources/dialogflow-connections.js +3 -2
- package/resources/dialogflow-connections.js.map +1 -1
- package/resources/dialogflow-connections.mjs +3 -2
- package/resources/dialogflow-connections.mjs.map +1 -1
- package/resources/dir/dir.d.mts +2 -2
- package/resources/dir/dir.d.mts.map +1 -1
- package/resources/dir/dir.d.ts +2 -2
- package/resources/dir/dir.d.ts.map +1 -1
- package/resources/dir/dir.js.map +1 -1
- package/resources/dir/dir.mjs +1 -1
- package/resources/dir/dir.mjs.map +1 -1
- package/resources/dir/index.d.mts +1 -1
- package/resources/dir/index.d.mts.map +1 -1
- package/resources/dir/index.d.ts +1 -1
- package/resources/dir/index.d.ts.map +1 -1
- package/resources/dir/index.js.map +1 -1
- package/resources/dir/index.mjs.map +1 -1
- package/resources/dir/verify-email.d.mts +28 -30
- package/resources/dir/verify-email.d.mts.map +1 -1
- package/resources/dir/verify-email.d.ts +28 -30
- package/resources/dir/verify-email.d.ts.map +1 -1
- package/resources/documents.d.mts +4 -7
- package/resources/documents.d.mts.map +1 -1
- package/resources/documents.d.ts +4 -7
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +4 -3
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +4 -3
- package/resources/documents.mjs.map +1 -1
- package/resources/dynamic-emergency-addresses.d.mts +2 -1
- package/resources/dynamic-emergency-addresses.d.mts.map +1 -1
- package/resources/dynamic-emergency-addresses.d.ts +2 -1
- package/resources/dynamic-emergency-addresses.d.ts.map +1 -1
- package/resources/dynamic-emergency-addresses.js +2 -1
- package/resources/dynamic-emergency-addresses.js.map +1 -1
- package/resources/dynamic-emergency-addresses.mjs +2 -1
- package/resources/dynamic-emergency-addresses.mjs.map +1 -1
- package/resources/dynamic-emergency-endpoints.d.mts +2 -1
- package/resources/dynamic-emergency-endpoints.d.mts.map +1 -1
- package/resources/dynamic-emergency-endpoints.d.ts +2 -1
- package/resources/dynamic-emergency-endpoints.d.ts.map +1 -1
- package/resources/dynamic-emergency-endpoints.js +2 -1
- package/resources/dynamic-emergency-endpoints.js.map +1 -1
- package/resources/dynamic-emergency-endpoints.mjs +2 -1
- package/resources/dynamic-emergency-endpoints.mjs.map +1 -1
- package/resources/email-blocks/email-blocks.d.mts +38 -48
- package/resources/email-blocks/email-blocks.d.mts.map +1 -1
- package/resources/email-blocks/email-blocks.d.ts +38 -48
- package/resources/email-blocks/email-blocks.d.ts.map +1 -1
- package/resources/email-blocks/email-blocks.js +10 -7
- package/resources/email-blocks/email-blocks.js.map +1 -1
- package/resources/email-blocks/email-blocks.mjs +10 -7
- package/resources/email-blocks/email-blocks.mjs.map +1 -1
- package/resources/email-blocks/{import.d.mts → imports.d.mts} +61 -63
- package/resources/email-blocks/imports.d.mts.map +1 -0
- package/resources/email-blocks/{import.d.ts → imports.d.ts} +61 -63
- package/resources/email-blocks/imports.d.ts.map +1 -0
- package/resources/email-blocks/{import.js → imports.js} +6 -6
- package/resources/email-blocks/imports.js.map +1 -0
- package/resources/email-blocks/{import.mjs → imports.mjs} +4 -4
- package/resources/email-blocks/imports.mjs.map +1 -0
- package/resources/email-blocks/index.d.mts +2 -2
- package/resources/email-blocks/index.d.mts.map +1 -1
- package/resources/email-blocks/index.d.ts +2 -2
- package/resources/email-blocks/index.d.ts.map +1 -1
- package/resources/email-blocks/index.js +3 -3
- package/resources/email-blocks/index.js.map +1 -1
- package/resources/email-blocks/index.mjs +1 -1
- package/resources/email-blocks/index.mjs.map +1 -1
- package/resources/email-domains/email-domains.d.mts +13 -0
- package/resources/email-domains/email-domains.d.mts.map +1 -1
- package/resources/email-domains/email-domains.d.ts +13 -0
- package/resources/email-domains/email-domains.d.ts.map +1 -1
- package/resources/email-domains/email-domains.js.map +1 -1
- package/resources/email-domains/email-domains.mjs.map +1 -1
- package/resources/email-events.d.mts +27 -48
- package/resources/email-events.d.mts.map +1 -1
- package/resources/email-events.d.ts +27 -48
- 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-inboxes/drafts.d.mts +42 -49
- package/resources/email-inboxes/drafts.d.mts.map +1 -1
- package/resources/email-inboxes/drafts.d.ts +42 -49
- package/resources/email-inboxes/drafts.d.ts.map +1 -1
- package/resources/email-inboxes/drafts.js +7 -3
- package/resources/email-inboxes/drafts.js.map +1 -1
- package/resources/email-inboxes/drafts.mjs +7 -3
- package/resources/email-inboxes/drafts.mjs.map +1 -1
- package/resources/email-inboxes/email-inboxes.d.mts +17 -33
- package/resources/email-inboxes/email-inboxes.d.mts.map +1 -1
- package/resources/email-inboxes/email-inboxes.d.ts +17 -33
- package/resources/email-inboxes/email-inboxes.d.ts.map +1 -1
- package/resources/email-inboxes/email-inboxes.js +9 -2
- package/resources/email-inboxes/email-inboxes.js.map +1 -1
- package/resources/email-inboxes/email-inboxes.mjs +9 -2
- package/resources/email-inboxes/email-inboxes.mjs.map +1 -1
- package/resources/email-inboxes/filters.d.mts +10 -33
- package/resources/email-inboxes/filters.d.mts.map +1 -1
- package/resources/email-inboxes/filters.d.ts +10 -33
- package/resources/email-inboxes/filters.d.ts.map +1 -1
- package/resources/email-inboxes/index.d.mts +5 -5
- package/resources/email-inboxes/index.d.mts.map +1 -1
- package/resources/email-inboxes/index.d.ts +5 -5
- package/resources/email-inboxes/index.d.ts.map +1 -1
- package/resources/email-inboxes/index.js.map +1 -1
- package/resources/email-inboxes/index.mjs.map +1 -1
- package/resources/email-inboxes/messages/actions.d.mts +6 -6
- package/resources/email-inboxes/messages/actions.d.mts.map +1 -1
- package/resources/email-inboxes/messages/actions.d.ts +6 -6
- package/resources/email-inboxes/messages/actions.d.ts.map +1 -1
- package/resources/email-inboxes/messages/index.d.mts +1 -1
- package/resources/email-inboxes/messages/index.d.mts.map +1 -1
- package/resources/email-inboxes/messages/index.d.ts +1 -1
- package/resources/email-inboxes/messages/index.d.ts.map +1 -1
- package/resources/email-inboxes/messages/index.js.map +1 -1
- package/resources/email-inboxes/messages/index.mjs.map +1 -1
- package/resources/email-inboxes/messages/messages.d.mts +19 -23
- package/resources/email-inboxes/messages/messages.d.mts.map +1 -1
- package/resources/email-inboxes/messages/messages.d.ts +19 -23
- package/resources/email-inboxes/messages/messages.d.ts.map +1 -1
- package/resources/email-inboxes/messages/messages.js +7 -3
- package/resources/email-inboxes/messages/messages.js.map +1 -1
- package/resources/email-inboxes/messages/messages.mjs +7 -3
- package/resources/email-inboxes/messages/messages.mjs.map +1 -1
- package/resources/email-inboxes/threads/index.d.mts +1 -1
- package/resources/email-inboxes/threads/index.d.mts.map +1 -1
- package/resources/email-inboxes/threads/index.d.ts +1 -1
- package/resources/email-inboxes/threads/index.d.ts.map +1 -1
- package/resources/email-inboxes/threads/index.js.map +1 -1
- package/resources/email-inboxes/threads/index.mjs.map +1 -1
- package/resources/email-inboxes/threads/threads.d.mts +11 -15
- package/resources/email-inboxes/threads/threads.d.mts.map +1 -1
- package/resources/email-inboxes/threads/threads.d.ts +11 -15
- package/resources/email-inboxes/threads/threads.d.ts.map +1 -1
- package/resources/email-inboxes/threads/threads.js +8 -5
- package/resources/email-inboxes/threads/threads.js.map +1 -1
- package/resources/email-inboxes/threads/threads.mjs +8 -5
- package/resources/email-inboxes/threads/threads.mjs.map +1 -1
- package/resources/email-messages/email-messages.d.mts +40 -39
- package/resources/email-messages/email-messages.d.mts.map +1 -1
- package/resources/email-messages/email-messages.d.ts +40 -39
- package/resources/email-messages/email-messages.d.ts.map +1 -1
- package/resources/email-messages/email-messages.js +15 -5
- package/resources/email-messages/email-messages.js.map +1 -1
- package/resources/email-messages/email-messages.mjs +15 -5
- package/resources/email-messages/email-messages.mjs.map +1 -1
- package/resources/email-messages/index.d.mts +2 -2
- package/resources/email-messages/index.d.mts.map +1 -1
- package/resources/email-messages/index.d.ts +2 -2
- package/resources/email-messages/index.d.ts.map +1 -1
- package/resources/email-messages/recipients.d.mts +11 -29
- package/resources/email-messages/recipients.d.mts.map +1 -1
- package/resources/email-messages/recipients.d.ts +11 -29
- package/resources/email-messages/recipients.d.ts.map +1 -1
- package/resources/email-messages/recipients.js +8 -5
- package/resources/email-messages/recipients.js.map +1 -1
- package/resources/email-messages/recipients.mjs +8 -5
- package/resources/email-messages/recipients.mjs.map +1 -1
- package/resources/email-templates.d.mts +11 -19
- package/resources/email-templates.d.mts.map +1 -1
- package/resources/email-templates.d.ts +11 -19
- package/resources/email-templates.d.ts.map +1 -1
- package/resources/email-templates.js +11 -3
- package/resources/email-templates.js.map +1 -1
- package/resources/email-templates.mjs +11 -3
- package/resources/email-templates.mjs.map +1 -1
- package/resources/email-threads.d.mts +5 -10
- package/resources/email-threads.d.mts.map +1 -1
- package/resources/email-threads.d.ts +5 -10
- package/resources/email-threads.d.ts.map +1 -1
- package/resources/email-threads.js +5 -1
- package/resources/email-threads.js.map +1 -1
- package/resources/email-threads.mjs +5 -1
- package/resources/email-threads.mjs.map +1 -1
- package/resources/email-validations/batch.d.mts +1 -18
- package/resources/email-validations/batch.d.mts.map +1 -1
- package/resources/email-validations/batch.d.ts +1 -18
- package/resources/email-validations/batch.d.ts.map +1 -1
- package/resources/email-validations/email-validations.d.mts +17 -19
- package/resources/email-validations/email-validations.d.mts.map +1 -1
- package/resources/email-validations/email-validations.d.ts +17 -19
- package/resources/email-validations/email-validations.d.ts.map +1 -1
- package/resources/email-validations/email-validations.js.map +1 -1
- package/resources/email-validations/email-validations.mjs.map +1 -1
- package/resources/email-validations/index.d.mts +1 -1
- package/resources/email-validations/index.d.mts.map +1 -1
- package/resources/email-validations/index.d.ts +1 -1
- package/resources/email-validations/index.d.ts.map +1 -1
- package/resources/email-validations/index.js.map +1 -1
- package/resources/email-validations/index.mjs.map +1 -1
- package/resources/enterprises/enterprises.d.mts +4 -18
- package/resources/enterprises/enterprises.d.mts.map +1 -1
- package/resources/enterprises/enterprises.d.ts +4 -18
- 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/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.map +1 -1
- package/resources/enterprises/reputation/index.mjs.map +1 -1
- package/resources/enterprises/reputation/remediation.d.mts +48 -52
- package/resources/enterprises/reputation/remediation.d.mts.map +1 -1
- package/resources/enterprises/reputation/remediation.d.ts +48 -52
- package/resources/enterprises/reputation/remediation.d.ts.map +1 -1
- package/resources/enterprises/reputation/remediation.js.map +1 -1
- package/resources/enterprises/reputation/remediation.mjs.map +1 -1
- package/resources/enterprises/reputation/reputation.d.mts +2 -2
- package/resources/enterprises/reputation/reputation.d.mts.map +1 -1
- package/resources/enterprises/reputation/reputation.d.ts +2 -2
- package/resources/enterprises/reputation/reputation.d.ts.map +1 -1
- package/resources/enterprises/reputation/reputation.js.map +1 -1
- package/resources/enterprises/reputation/reputation.mjs.map +1 -1
- package/resources/faxes/faxes.d.mts +1 -1
- package/resources/faxes/faxes.d.ts +1 -1
- package/resources/faxes/faxes.js +1 -1
- package/resources/faxes/faxes.mjs +1 -1
- package/resources/fqdn-connections/fqdn-connections.d.mts +3 -2
- package/resources/fqdn-connections/fqdn-connections.d.mts.map +1 -1
- package/resources/fqdn-connections/fqdn-connections.d.ts +3 -2
- package/resources/fqdn-connections/fqdn-connections.d.ts.map +1 -1
- package/resources/fqdn-connections/fqdn-connections.js +3 -2
- package/resources/fqdn-connections/fqdn-connections.js.map +1 -1
- package/resources/fqdn-connections/fqdn-connections.mjs +3 -2
- package/resources/fqdn-connections/fqdn-connections.mjs.map +1 -1
- package/resources/fqdns.d.mts +3 -3
- package/resources/fqdns.d.ts +3 -3
- package/resources/fqdns.js +3 -3
- package/resources/fqdns.mjs +3 -3
- package/resources/global-ip-allowed-ports.d.mts +2 -1
- package/resources/global-ip-allowed-ports.d.mts.map +1 -1
- package/resources/global-ip-allowed-ports.d.ts +2 -1
- package/resources/global-ip-allowed-ports.d.ts.map +1 -1
- package/resources/global-ip-allowed-ports.js +2 -1
- package/resources/global-ip-allowed-ports.js.map +1 -1
- package/resources/global-ip-allowed-ports.mjs +2 -1
- package/resources/global-ip-allowed-ports.mjs.map +1 -1
- package/resources/global-ip-assignments.d.mts +11 -5
- package/resources/global-ip-assignments.d.mts.map +1 -1
- package/resources/global-ip-assignments.d.ts +11 -5
- package/resources/global-ip-assignments.d.ts.map +1 -1
- package/resources/global-ip-assignments.js +11 -5
- package/resources/global-ip-assignments.js.map +1 -1
- package/resources/global-ip-assignments.mjs +11 -5
- package/resources/global-ip-assignments.mjs.map +1 -1
- package/resources/global-ip-health-check-types.d.mts +2 -1
- package/resources/global-ip-health-check-types.d.mts.map +1 -1
- package/resources/global-ip-health-check-types.d.ts +2 -1
- package/resources/global-ip-health-check-types.d.ts.map +1 -1
- package/resources/global-ip-health-check-types.js +2 -1
- package/resources/global-ip-health-check-types.js.map +1 -1
- package/resources/global-ip-health-check-types.mjs +2 -1
- package/resources/global-ip-health-check-types.mjs.map +1 -1
- package/resources/global-ip-health-checks.d.mts +9 -4
- package/resources/global-ip-health-checks.d.mts.map +1 -1
- package/resources/global-ip-health-checks.d.ts +9 -4
- package/resources/global-ip-health-checks.d.ts.map +1 -1
- package/resources/global-ip-health-checks.js +9 -4
- package/resources/global-ip-health-checks.js.map +1 -1
- package/resources/global-ip-health-checks.mjs +9 -4
- package/resources/global-ip-health-checks.mjs.map +1 -1
- package/resources/global-ip-protocols.d.mts +2 -1
- package/resources/global-ip-protocols.d.mts.map +1 -1
- package/resources/global-ip-protocols.d.ts +2 -1
- package/resources/global-ip-protocols.d.ts.map +1 -1
- package/resources/global-ip-protocols.js +2 -1
- package/resources/global-ip-protocols.js.map +1 -1
- package/resources/global-ip-protocols.mjs +2 -1
- package/resources/global-ip-protocols.mjs.map +1 -1
- package/resources/global-ips.d.mts +8 -4
- package/resources/global-ips.d.mts.map +1 -1
- package/resources/global-ips.d.ts +8 -4
- package/resources/global-ips.d.ts.map +1 -1
- package/resources/global-ips.js +8 -4
- package/resources/global-ips.js.map +1 -1
- package/resources/global-ips.mjs +8 -4
- package/resources/global-ips.mjs.map +1 -1
- package/resources/index.d.mts +16 -16
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +16 -16
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/invoices.d.mts +1 -1
- package/resources/invoices.d.ts +1 -1
- package/resources/invoices.js +1 -1
- package/resources/invoices.mjs +1 -1
- package/resources/ip-connections.d.mts +5 -3
- package/resources/ip-connections.d.mts.map +1 -1
- package/resources/ip-connections.d.ts +5 -3
- package/resources/ip-connections.d.ts.map +1 -1
- package/resources/ip-connections.js +5 -3
- package/resources/ip-connections.js.map +1 -1
- package/resources/ip-connections.mjs +5 -3
- package/resources/ip-connections.mjs.map +1 -1
- package/resources/ips.d.mts +4 -3
- package/resources/ips.d.mts.map +1 -1
- package/resources/ips.d.ts +4 -3
- package/resources/ips.d.ts.map +1 -1
- package/resources/ips.js +4 -3
- package/resources/ips.js.map +1 -1
- package/resources/ips.mjs +4 -3
- package/resources/ips.mjs.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.d.mts +2 -1
- package/resources/legacy/reporting/usage-reports/messaging.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.d.ts +2 -1
- package/resources/legacy/reporting/usage-reports/messaging.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.js +2 -1
- package/resources/legacy/reporting/usage-reports/messaging.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.mjs +2 -1
- package/resources/legacy/reporting/usage-reports/messaging.mjs.map +1 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.d.mts +2 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.d.ts +2 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.js +2 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.mjs +2 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.mjs.map +1 -1
- package/resources/legacy/reporting/usage-reports/voice.d.mts +2 -1
- package/resources/legacy/reporting/usage-reports/voice.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/voice.d.ts +2 -1
- package/resources/legacy/reporting/usage-reports/voice.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/voice.js +2 -1
- package/resources/legacy/reporting/usage-reports/voice.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/voice.mjs +2 -1
- package/resources/legacy/reporting/usage-reports/voice.mjs.map +1 -1
- package/resources/managed-accounts/managed-accounts.d.mts +2 -1
- package/resources/managed-accounts/managed-accounts.d.mts.map +1 -1
- package/resources/managed-accounts/managed-accounts.d.ts +2 -1
- package/resources/managed-accounts/managed-accounts.d.ts.map +1 -1
- package/resources/managed-accounts/managed-accounts.js +2 -1
- package/resources/managed-accounts/managed-accounts.js.map +1 -1
- package/resources/managed-accounts/managed-accounts.mjs +2 -1
- package/resources/managed-accounts/managed-accounts.mjs.map +1 -1
- package/resources/media.d.mts +5 -4
- package/resources/media.d.mts.map +1 -1
- package/resources/media.d.ts +5 -4
- package/resources/media.d.ts.map +1 -1
- package/resources/media.js +5 -4
- package/resources/media.js.map +1 -1
- package/resources/media.mjs +5 -4
- package/resources/media.mjs.map +1 -1
- package/resources/meeting-sessions/actions.d.mts +1 -1
- package/resources/meeting-sessions/actions.d.mts.map +1 -1
- package/resources/meeting-sessions/actions.d.ts +1 -1
- package/resources/meeting-sessions/actions.d.ts.map +1 -1
- package/resources/messages/index.d.mts +1 -1
- package/resources/messages/index.d.mts.map +1 -1
- package/resources/messages/index.d.ts +1 -1
- package/resources/messages/index.d.ts.map +1 -1
- package/resources/messages/index.js.map +1 -1
- package/resources/messages/index.mjs.map +1 -1
- package/resources/messages/messages.d.mts +214 -214
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +214 -214
- 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-10dlc/brand/brand.d.mts +2 -1
- package/resources/messaging-10dlc/brand/brand.d.mts.map +1 -1
- package/resources/messaging-10dlc/brand/brand.d.ts +2 -1
- package/resources/messaging-10dlc/brand/brand.d.ts.map +1 -1
- package/resources/messaging-10dlc/brand/brand.js +2 -1
- package/resources/messaging-10dlc/brand/brand.js.map +1 -1
- package/resources/messaging-10dlc/brand/brand.mjs +2 -1
- package/resources/messaging-10dlc/brand/brand.mjs.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.d.mts +3 -1
- package/resources/messaging-10dlc/messaging-10dlc.d.mts.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.d.ts +3 -1
- package/resources/messaging-10dlc/messaging-10dlc.d.ts.map +1 -1
- package/resources/messaging-optouts.d.mts +2 -1
- package/resources/messaging-optouts.d.mts.map +1 -1
- package/resources/messaging-optouts.d.ts +2 -1
- package/resources/messaging-optouts.d.ts.map +1 -1
- package/resources/messaging-optouts.js +2 -1
- package/resources/messaging-optouts.js.map +1 -1
- package/resources/messaging-optouts.mjs +2 -1
- package/resources/messaging-optouts.mjs.map +1 -1
- package/resources/mobile-push-credentials.d.mts +4 -2
- package/resources/mobile-push-credentials.d.mts.map +1 -1
- package/resources/mobile-push-credentials.d.ts +4 -2
- package/resources/mobile-push-credentials.d.ts.map +1 -1
- package/resources/mobile-push-credentials.js +4 -2
- package/resources/mobile-push-credentials.js.map +1 -1
- package/resources/mobile-push-credentials.mjs +4 -2
- package/resources/mobile-push-credentials.mjs.map +1 -1
- package/resources/mobile-voice-connections.d.mts +2 -1
- package/resources/mobile-voice-connections.d.mts.map +1 -1
- package/resources/mobile-voice-connections.d.ts +2 -1
- package/resources/mobile-voice-connections.d.ts.map +1 -1
- package/resources/mobile-voice-connections.js +2 -1
- package/resources/mobile-voice-connections.js.map +1 -1
- package/resources/mobile-voice-connections.mjs +2 -1
- package/resources/mobile-voice-connections.mjs.map +1 -1
- package/resources/networks/default-gateway.d.mts +4 -3
- package/resources/networks/default-gateway.d.mts.map +1 -1
- package/resources/networks/default-gateway.d.ts +4 -3
- package/resources/networks/default-gateway.d.ts.map +1 -1
- package/resources/networks/default-gateway.js +4 -3
- package/resources/networks/default-gateway.js.map +1 -1
- package/resources/networks/default-gateway.mjs +4 -3
- package/resources/networks/default-gateway.mjs.map +1 -1
- package/resources/networks/networks.d.mts +9 -6
- package/resources/networks/networks.d.mts.map +1 -1
- package/resources/networks/networks.d.ts +9 -6
- package/resources/networks/networks.d.ts.map +1 -1
- package/resources/networks/networks.js +9 -6
- package/resources/networks/networks.js.map +1 -1
- package/resources/networks/networks.mjs +9 -6
- package/resources/networks/networks.mjs.map +1 -1
- package/resources/notification-channels.d.mts +8 -5
- package/resources/notification-channels.d.mts.map +1 -1
- package/resources/notification-channels.d.ts +8 -5
- package/resources/notification-channels.d.ts.map +1 -1
- package/resources/notification-channels.js +8 -5
- package/resources/notification-channels.js.map +1 -1
- package/resources/notification-channels.mjs +8 -5
- package/resources/notification-channels.mjs.map +1 -1
- package/resources/notification-profiles.d.mts +5 -4
- package/resources/notification-profiles.d.mts.map +1 -1
- package/resources/notification-profiles.d.ts +5 -4
- package/resources/notification-profiles.d.ts.map +1 -1
- package/resources/notification-profiles.js +5 -4
- package/resources/notification-profiles.js.map +1 -1
- package/resources/notification-profiles.mjs +5 -4
- package/resources/notification-profiles.mjs.map +1 -1
- package/resources/notification-settings.d.mts +7 -4
- package/resources/notification-settings.d.mts.map +1 -1
- package/resources/notification-settings.d.ts +7 -4
- package/resources/notification-settings.d.ts.map +1 -1
- package/resources/notification-settings.js +7 -4
- package/resources/notification-settings.js.map +1 -1
- package/resources/notification-settings.mjs +7 -4
- package/resources/notification-settings.mjs.map +1 -1
- package/resources/number-block-orders.d.mts +2 -1
- package/resources/number-block-orders.d.mts.map +1 -1
- package/resources/number-block-orders.d.ts +2 -1
- package/resources/number-block-orders.d.ts.map +1 -1
- package/resources/number-block-orders.js +2 -1
- package/resources/number-block-orders.js.map +1 -1
- package/resources/number-block-orders.mjs +2 -1
- package/resources/number-block-orders.mjs.map +1 -1
- package/resources/number-orders.d.mts +8 -4
- package/resources/number-orders.d.mts.map +1 -1
- package/resources/number-orders.d.ts +8 -4
- package/resources/number-orders.d.ts.map +1 -1
- package/resources/number-orders.js +8 -4
- package/resources/number-orders.js.map +1 -1
- package/resources/number-orders.mjs +8 -4
- package/resources/number-orders.mjs.map +1 -1
- package/resources/number-reservations/number-reservations.d.mts +2 -1
- package/resources/number-reservations/number-reservations.d.mts.map +1 -1
- package/resources/number-reservations/number-reservations.d.ts +2 -1
- package/resources/number-reservations/number-reservations.d.ts.map +1 -1
- package/resources/number-reservations/number-reservations.js +2 -1
- package/resources/number-reservations/number-reservations.js.map +1 -1
- package/resources/number-reservations/number-reservations.mjs +2 -1
- package/resources/number-reservations/number-reservations.mjs.map +1 -1
- package/resources/oauth-clients.d.mts +6 -4
- package/resources/oauth-clients.d.mts.map +1 -1
- package/resources/oauth-clients.d.ts +6 -4
- package/resources/oauth-clients.d.ts.map +1 -1
- package/resources/oauth-clients.js +6 -4
- package/resources/oauth-clients.js.map +1 -1
- package/resources/oauth-clients.mjs +6 -4
- package/resources/oauth-clients.mjs.map +1 -1
- package/resources/oauth-grants.d.mts +3 -2
- package/resources/oauth-grants.d.mts.map +1 -1
- package/resources/oauth-grants.d.ts +3 -2
- package/resources/oauth-grants.d.ts.map +1 -1
- package/resources/oauth-grants.js +3 -2
- package/resources/oauth-grants.js.map +1 -1
- package/resources/oauth-grants.mjs +3 -2
- package/resources/oauth-grants.mjs.map +1 -1
- package/resources/oauth.d.mts +6 -4
- package/resources/oauth.d.mts.map +1 -1
- package/resources/oauth.d.ts +6 -4
- package/resources/oauth.d.ts.map +1 -1
- package/resources/oauth.js +4 -3
- package/resources/oauth.js.map +1 -1
- package/resources/oauth.mjs +4 -3
- package/resources/oauth.mjs.map +1 -1
- package/resources/organizations/users/actions.d.mts +2 -1
- package/resources/organizations/users/actions.d.mts.map +1 -1
- package/resources/organizations/users/actions.d.ts +2 -1
- package/resources/organizations/users/actions.d.ts.map +1 -1
- package/resources/organizations/users/actions.js +2 -1
- package/resources/organizations/users/actions.js.map +1 -1
- package/resources/organizations/users/actions.mjs +2 -1
- package/resources/organizations/users/actions.mjs.map +1 -1
- package/resources/organizations/users/users.d.mts +2 -1
- package/resources/organizations/users/users.d.mts.map +1 -1
- package/resources/organizations/users/users.d.ts +2 -1
- package/resources/organizations/users/users.d.ts.map +1 -1
- package/resources/organizations/users/users.js +2 -1
- package/resources/organizations/users/users.js.map +1 -1
- package/resources/organizations/users/users.mjs +2 -1
- package/resources/organizations/users/users.mjs.map +1 -1
- package/resources/outbound-voice-profiles.d.mts +2 -1
- package/resources/outbound-voice-profiles.d.mts.map +1 -1
- package/resources/outbound-voice-profiles.d.ts +2 -1
- package/resources/outbound-voice-profiles.d.ts.map +1 -1
- package/resources/outbound-voice-profiles.js +2 -1
- package/resources/outbound-voice-profiles.js.map +1 -1
- package/resources/outbound-voice-profiles.mjs +2 -1
- package/resources/outbound-voice-profiles.mjs.map +1 -1
- package/resources/phone-numbers/jobs.d.mts +21 -4
- package/resources/phone-numbers/jobs.d.mts.map +1 -1
- package/resources/phone-numbers/jobs.d.ts +21 -4
- package/resources/phone-numbers/jobs.d.ts.map +1 -1
- package/resources/phone-numbers/jobs.js +4 -2
- package/resources/phone-numbers/jobs.js.map +1 -1
- package/resources/phone-numbers/jobs.mjs +4 -2
- package/resources/phone-numbers/jobs.mjs.map +1 -1
- package/resources/porting/events.d.mts +6 -3
- package/resources/porting/events.d.mts.map +1 -1
- package/resources/porting/events.d.ts +6 -3
- package/resources/porting/events.d.ts.map +1 -1
- package/resources/porting/events.js +6 -3
- package/resources/porting/events.js.map +1 -1
- package/resources/porting/events.mjs +6 -3
- package/resources/porting/events.mjs.map +1 -1
- package/resources/porting/loa-configurations.d.mts +13 -6
- package/resources/porting/loa-configurations.d.mts.map +1 -1
- package/resources/porting/loa-configurations.d.ts +13 -6
- package/resources/porting/loa-configurations.d.ts.map +1 -1
- package/resources/porting/loa-configurations.js +13 -6
- package/resources/porting/loa-configurations.js.map +1 -1
- package/resources/porting/loa-configurations.mjs +13 -6
- package/resources/porting/loa-configurations.mjs.map +1 -1
- package/resources/porting/porting.d.mts +2 -1
- package/resources/porting/porting.d.mts.map +1 -1
- package/resources/porting/porting.d.ts +2 -1
- package/resources/porting/porting.d.ts.map +1 -1
- package/resources/porting/porting.js +2 -1
- package/resources/porting/porting.js.map +1 -1
- package/resources/porting/porting.mjs +2 -1
- package/resources/porting/porting.mjs.map +1 -1
- package/resources/porting/reports.d.mts +2 -1
- package/resources/porting/reports.d.mts.map +1 -1
- package/resources/porting/reports.d.ts +2 -1
- package/resources/porting/reports.d.ts.map +1 -1
- package/resources/porting/reports.js +2 -1
- package/resources/porting/reports.js.map +1 -1
- package/resources/porting/reports.mjs +2 -1
- package/resources/porting/reports.mjs.map +1 -1
- package/resources/porting-orders/actions.d.mts +3 -2
- package/resources/porting-orders/actions.d.mts.map +1 -1
- package/resources/porting-orders/actions.d.ts +3 -2
- package/resources/porting-orders/actions.d.ts.map +1 -1
- package/resources/porting-orders/actions.js +3 -2
- package/resources/porting-orders/actions.js.map +1 -1
- package/resources/porting-orders/actions.mjs +3 -2
- package/resources/porting-orders/actions.mjs.map +1 -1
- package/resources/porting-orders/activation-jobs.d.mts +2 -1
- package/resources/porting-orders/activation-jobs.d.mts.map +1 -1
- package/resources/porting-orders/activation-jobs.d.ts +2 -1
- package/resources/porting-orders/activation-jobs.d.ts.map +1 -1
- package/resources/porting-orders/activation-jobs.js +2 -1
- package/resources/porting-orders/activation-jobs.js.map +1 -1
- package/resources/porting-orders/activation-jobs.mjs +2 -1
- package/resources/porting-orders/activation-jobs.mjs.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.mts +3 -2
- package/resources/porting-orders/phone-number-blocks.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.ts +3 -2
- package/resources/porting-orders/phone-number-blocks.d.ts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.js +3 -2
- package/resources/porting-orders/phone-number-blocks.js.map +1 -1
- package/resources/porting-orders/phone-number-blocks.mjs +3 -2
- package/resources/porting-orders/phone-number-blocks.mjs.map +1 -1
- package/resources/porting-orders/phone-number-extensions.d.mts +3 -2
- package/resources/porting-orders/phone-number-extensions.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-extensions.d.ts +3 -2
- package/resources/porting-orders/phone-number-extensions.d.ts.map +1 -1
- package/resources/porting-orders/phone-number-extensions.js +3 -2
- package/resources/porting-orders/phone-number-extensions.js.map +1 -1
- package/resources/porting-orders/phone-number-extensions.mjs +3 -2
- package/resources/porting-orders/phone-number-extensions.mjs.map +1 -1
- package/resources/porting-orders/porting-orders.d.mts +7 -3
- package/resources/porting-orders/porting-orders.d.mts.map +1 -1
- package/resources/porting-orders/porting-orders.d.ts +7 -3
- package/resources/porting-orders/porting-orders.d.ts.map +1 -1
- package/resources/porting-orders/porting-orders.js +7 -3
- package/resources/porting-orders/porting-orders.js.map +1 -1
- package/resources/porting-orders/porting-orders.mjs +7 -3
- package/resources/porting-orders/porting-orders.mjs.map +1 -1
- package/resources/portouts/comments.d.mts +2 -1
- package/resources/portouts/comments.d.mts.map +1 -1
- package/resources/portouts/comments.d.ts +2 -1
- package/resources/portouts/comments.d.ts.map +1 -1
- package/resources/portouts/comments.js +2 -1
- package/resources/portouts/comments.js.map +1 -1
- package/resources/portouts/comments.mjs +2 -1
- package/resources/portouts/comments.mjs.map +1 -1
- package/resources/portouts/events.d.mts +5 -3
- package/resources/portouts/events.d.mts.map +1 -1
- package/resources/portouts/events.d.ts +5 -3
- package/resources/portouts/events.d.ts.map +1 -1
- package/resources/portouts/events.js +5 -3
- package/resources/portouts/events.js.map +1 -1
- package/resources/portouts/events.mjs +5 -3
- package/resources/portouts/events.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/portouts/reports.d.mts +2 -1
- package/resources/portouts/reports.d.mts.map +1 -1
- package/resources/portouts/reports.d.ts +2 -1
- package/resources/portouts/reports.d.ts.map +1 -1
- package/resources/portouts/reports.js +2 -1
- package/resources/portouts/reports.js.map +1 -1
- package/resources/portouts/reports.mjs +2 -1
- package/resources/portouts/reports.mjs.map +1 -1
- package/resources/pricing/index.d.mts +1 -1
- package/resources/pricing/index.d.mts.map +1 -1
- package/resources/pricing/index.d.ts +1 -1
- package/resources/pricing/index.d.ts.map +1 -1
- package/resources/pricing/index.js.map +1 -1
- package/resources/pricing/index.mjs.map +1 -1
- package/resources/pricing/pricing.d.mts +2 -2
- package/resources/pricing/pricing.d.mts.map +1 -1
- package/resources/pricing/pricing.d.ts +2 -2
- package/resources/pricing/pricing.d.ts.map +1 -1
- package/resources/pricing/pricing.js.map +1 -1
- package/resources/pricing/pricing.mjs.map +1 -1
- package/resources/pricing/products.d.mts +84 -95
- package/resources/pricing/products.d.mts.map +1 -1
- package/resources/pricing/products.d.ts +84 -95
- package/resources/pricing/products.d.ts.map +1 -1
- package/resources/pricing/products.js +1 -1
- package/resources/pricing/products.js.map +1 -1
- package/resources/pricing/products.mjs +1 -1
- package/resources/pricing/products.mjs.map +1 -1
- package/resources/private-wireless-gateways.d.mts +1 -1
- package/resources/private-wireless-gateways.d.ts +1 -1
- package/resources/private-wireless-gateways.js +1 -1
- package/resources/private-wireless-gateways.mjs +1 -1
- package/resources/public-internet-gateways.d.mts +8 -4
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +8 -4
- package/resources/public-internet-gateways.d.ts.map +1 -1
- package/resources/public-internet-gateways.js +8 -4
- package/resources/public-internet-gateways.js.map +1 -1
- package/resources/public-internet-gateways.mjs +8 -4
- package/resources/public-internet-gateways.mjs.map +1 -1
- package/resources/queues/queues.d.mts +5 -3
- package/resources/queues/queues.d.mts.map +1 -1
- package/resources/queues/queues.d.ts +5 -3
- package/resources/queues/queues.d.ts.map +1 -1
- package/resources/queues/queues.js +5 -3
- package/resources/queues/queues.js.map +1 -1
- package/resources/queues/queues.mjs +5 -3
- package/resources/queues/queues.mjs.map +1 -1
- package/resources/rcs/agents/agents.d.mts +4 -4
- package/resources/rcs/agents/agents.d.mts.map +1 -1
- package/resources/rcs/agents/agents.d.ts +4 -4
- package/resources/rcs/agents/agents.d.ts.map +1 -1
- package/resources/rcs/agents/agents.js.map +1 -1
- package/resources/rcs/agents/agents.mjs.map +1 -1
- package/resources/rcs/brands.d.mts +19 -42
- package/resources/rcs/brands.d.mts.map +1 -1
- package/resources/rcs/brands.d.ts +19 -42
- package/resources/rcs/brands.d.ts.map +1 -1
- package/resources/rcs/index.d.mts +1 -1
- package/resources/rcs/index.d.mts.map +1 -1
- package/resources/rcs/index.d.ts +1 -1
- package/resources/rcs/index.d.ts.map +1 -1
- package/resources/rcs/index.js.map +1 -1
- package/resources/rcs/index.mjs.map +1 -1
- package/resources/rcs/rcs.d.mts +2 -2
- package/resources/rcs/rcs.d.mts.map +1 -1
- package/resources/rcs/rcs.d.ts +2 -2
- package/resources/rcs/rcs.d.ts.map +1 -1
- package/resources/rcs/rcs.js.map +1 -1
- package/resources/rcs/rcs.mjs.map +1 -1
- package/resources/recordings/recordings.d.mts +4 -2
- package/resources/recordings/recordings.d.mts.map +1 -1
- package/resources/recordings/recordings.d.ts +4 -2
- package/resources/recordings/recordings.d.ts.map +1 -1
- package/resources/recordings/recordings.js +4 -2
- package/resources/recordings/recordings.js.map +1 -1
- package/resources/recordings/recordings.mjs +4 -2
- package/resources/recordings/recordings.mjs.map +1 -1
- package/resources/reports/mdr-usage-reports.d.mts +1 -1
- package/resources/reports/mdr-usage-reports.d.ts +1 -1
- package/resources/reports/mdr-usage-reports.js +1 -1
- package/resources/reports/mdr-usage-reports.mjs +1 -1
- package/resources/reports/reports.d.mts +4 -2
- package/resources/reports/reports.d.mts.map +1 -1
- package/resources/reports/reports.d.ts +4 -2
- package/resources/reports/reports.d.ts.map +1 -1
- package/resources/reports/reports.js +4 -2
- package/resources/reports/reports.js.map +1 -1
- package/resources/reports/reports.mjs +4 -2
- package/resources/reports/reports.mjs.map +1 -1
- package/resources/requirement-types.d.mts +2 -1
- package/resources/requirement-types.d.mts.map +1 -1
- package/resources/requirement-types.d.ts +2 -1
- package/resources/requirement-types.d.ts.map +1 -1
- package/resources/requirement-types.js +2 -1
- package/resources/requirement-types.js.map +1 -1
- package/resources/requirement-types.mjs +2 -1
- package/resources/requirement-types.mjs.map +1 -1
- package/resources/requirements.d.mts +3 -1
- package/resources/requirements.d.mts.map +1 -1
- package/resources/requirements.d.ts +3 -1
- package/resources/requirements.d.ts.map +1 -1
- package/resources/requirements.js +3 -1
- package/resources/requirements.js.map +1 -1
- package/resources/requirements.mjs +3 -1
- package/resources/requirements.mjs.map +1 -1
- package/resources/room-recordings.d.mts +2 -1
- package/resources/room-recordings.d.mts.map +1 -1
- package/resources/room-recordings.d.ts +2 -1
- package/resources/room-recordings.d.ts.map +1 -1
- package/resources/room-recordings.js +2 -1
- package/resources/room-recordings.js.map +1 -1
- package/resources/room-recordings.mjs +2 -1
- package/resources/room-recordings.mjs.map +1 -1
- package/resources/rooms/rooms.d.mts +4 -2
- package/resources/rooms/rooms.d.mts.map +1 -1
- package/resources/rooms/rooms.d.ts +4 -2
- package/resources/rooms/rooms.d.ts.map +1 -1
- package/resources/rooms/rooms.js +4 -2
- package/resources/rooms/rooms.js.map +1 -1
- package/resources/rooms/rooms.mjs +4 -2
- package/resources/rooms/rooms.mjs.map +1 -1
- package/resources/shared.d.mts +0 -10
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +0 -10
- package/resources/shared.d.ts.map +1 -1
- package/resources/sim-card-groups/actions.d.mts +10 -4
- package/resources/sim-card-groups/actions.d.mts.map +1 -1
- package/resources/sim-card-groups/actions.d.ts +10 -4
- package/resources/sim-card-groups/actions.d.ts.map +1 -1
- package/resources/sim-card-groups/actions.js +6 -4
- package/resources/sim-card-groups/actions.js.map +1 -1
- package/resources/sim-card-groups/actions.mjs +6 -4
- package/resources/sim-card-groups/actions.mjs.map +1 -1
- package/resources/sim-card-groups/sim-card-groups.d.mts +4 -3
- package/resources/sim-card-groups/sim-card-groups.d.mts.map +1 -1
- package/resources/sim-card-groups/sim-card-groups.d.ts +4 -3
- package/resources/sim-card-groups/sim-card-groups.d.ts.map +1 -1
- package/resources/sim-card-groups/sim-card-groups.js +4 -3
- package/resources/sim-card-groups/sim-card-groups.js.map +1 -1
- package/resources/sim-card-groups/sim-card-groups.mjs +4 -3
- package/resources/sim-card-groups/sim-card-groups.mjs.map +1 -1
- package/resources/sim-card-order-preview.d.mts +2 -1
- package/resources/sim-card-order-preview.d.mts.map +1 -1
- package/resources/sim-card-order-preview.d.ts +2 -1
- package/resources/sim-card-order-preview.d.ts.map +1 -1
- package/resources/sim-card-order-preview.js +2 -1
- package/resources/sim-card-order-preview.js.map +1 -1
- package/resources/sim-card-order-preview.mjs +2 -1
- package/resources/sim-card-order-preview.mjs.map +1 -1
- package/resources/sim-card-orders.d.mts +3 -2
- package/resources/sim-card-orders.d.mts.map +1 -1
- package/resources/sim-card-orders.d.ts +3 -2
- package/resources/sim-card-orders.d.ts.map +1 -1
- package/resources/sim-card-orders.js +3 -2
- package/resources/sim-card-orders.js.map +1 -1
- package/resources/sim-card-orders.mjs +3 -2
- package/resources/sim-card-orders.mjs.map +1 -1
- package/resources/sim-cards/sim-cards.d.mts +1 -1
- package/resources/sim-cards/sim-cards.d.ts +1 -1
- package/resources/sim-cards/sim-cards.js +1 -1
- package/resources/sim-cards/sim-cards.mjs +1 -1
- package/resources/siprec-connectors.d.mts +1 -1
- package/resources/siprec-connectors.d.ts +1 -1
- package/resources/siprec-connectors.js +1 -1
- package/resources/siprec-connectors.mjs +1 -1
- package/resources/speech-to-text/index.d.mts +1 -1
- package/resources/speech-to-text/index.d.mts.map +1 -1
- package/resources/speech-to-text/index.d.ts +1 -1
- package/resources/speech-to-text/index.d.ts.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.mts +64 -54
- package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.ts +64 -54
- package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
- package/resources/speech-to-text/speech-to-text.js +4 -6
- package/resources/speech-to-text/speech-to-text.js.map +1 -1
- package/resources/speech-to-text/speech-to-text.mjs +4 -6
- package/resources/speech-to-text/speech-to-text.mjs.map +1 -1
- package/resources/storage/buckets/buckets.d.mts +10 -2
- package/resources/storage/buckets/buckets.d.mts.map +1 -1
- package/resources/storage/buckets/buckets.d.ts +10 -2
- package/resources/storage/buckets/buckets.d.ts.map +1 -1
- package/resources/storage/buckets/buckets.js +2 -2
- package/resources/storage/buckets/buckets.js.map +1 -1
- package/resources/storage/buckets/buckets.mjs +2 -2
- package/resources/storage/buckets/buckets.mjs.map +1 -1
- package/resources/storage/cloudfs/cloudfs.d.mts +125 -172
- package/resources/storage/cloudfs/cloudfs.d.mts.map +1 -1
- package/resources/storage/cloudfs/cloudfs.d.ts +125 -172
- package/resources/storage/cloudfs/cloudfs.d.ts.map +1 -1
- package/resources/storage/cloudfs/cloudfs.js +9 -2
- package/resources/storage/cloudfs/cloudfs.js.map +1 -1
- package/resources/storage/cloudfs/cloudfs.mjs +9 -2
- package/resources/storage/cloudfs/cloudfs.mjs.map +1 -1
- package/resources/storage/cloudfs/index.d.mts +1 -1
- package/resources/storage/cloudfs/index.d.mts.map +1 -1
- package/resources/storage/cloudfs/index.d.ts +1 -1
- package/resources/storage/cloudfs/index.d.ts.map +1 -1
- package/resources/storage/cloudfs/index.js.map +1 -1
- package/resources/storage/cloudfs/index.mjs.map +1 -1
- package/resources/storage/index.d.mts +1 -1
- package/resources/storage/index.d.mts.map +1 -1
- package/resources/storage/index.d.ts +1 -1
- package/resources/storage/index.d.ts.map +1 -1
- package/resources/storage/index.js.map +1 -1
- package/resources/storage/index.mjs.map +1 -1
- package/resources/storage/migrations/actions.d.mts +2 -1
- package/resources/storage/migrations/actions.d.mts.map +1 -1
- package/resources/storage/migrations/actions.d.ts +2 -1
- package/resources/storage/migrations/actions.d.ts.map +1 -1
- package/resources/storage/migrations/actions.js +2 -1
- package/resources/storage/migrations/actions.js.map +1 -1
- package/resources/storage/migrations/actions.mjs +2 -1
- package/resources/storage/migrations/actions.mjs.map +1 -1
- package/resources/storage/storage.d.mts +2 -2
- package/resources/storage/storage.d.mts.map +1 -1
- package/resources/storage/storage.d.ts +2 -2
- package/resources/storage/storage.d.ts.map +1 -1
- package/resources/storage/storage.js.map +1 -1
- package/resources/storage/storage.mjs.map +1 -1
- package/resources/sub-number-orders.d.mts +91 -9
- package/resources/sub-number-orders.d.mts.map +1 -1
- package/resources/sub-number-orders.d.ts +91 -9
- package/resources/sub-number-orders.d.ts.map +1 -1
- package/resources/sub-number-orders.js +3 -2
- package/resources/sub-number-orders.js.map +1 -1
- package/resources/sub-number-orders.mjs +3 -2
- package/resources/sub-number-orders.mjs.map +1 -1
- package/resources/telephony-credentials.d.mts +7 -4
- package/resources/telephony-credentials.d.mts.map +1 -1
- package/resources/telephony-credentials.d.ts +7 -4
- package/resources/telephony-credentials.d.ts.map +1 -1
- package/resources/telephony-credentials.js +7 -4
- package/resources/telephony-credentials.js.map +1 -1
- package/resources/telephony-credentials.mjs +7 -4
- package/resources/telephony-credentials.mjs.map +1 -1
- package/resources/texml/accounts/calls/calls.d.mts +28 -5
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +28 -5
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js +3 -6
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs +3 -6
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/texml/accounts/conferences/conferences.d.mts +6 -4
- package/resources/texml/accounts/conferences/conferences.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/conferences.d.ts +6 -4
- package/resources/texml/accounts/conferences/conferences.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/conferences.js +6 -4
- package/resources/texml/accounts/conferences/conferences.js.map +1 -1
- package/resources/texml/accounts/conferences/conferences.mjs +6 -4
- package/resources/texml/accounts/conferences/conferences.mjs.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.mts +16 -5
- package/resources/texml/accounts/conferences/participants.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.ts +16 -5
- package/resources/texml/accounts/conferences/participants.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/participants.js +9 -5
- package/resources/texml/accounts/conferences/participants.js.map +1 -1
- package/resources/texml/accounts/conferences/participants.mjs +9 -5
- package/resources/texml/accounts/conferences/participants.mjs.map +1 -1
- package/resources/texml/accounts/queues.d.mts +7 -5
- package/resources/texml/accounts/queues.d.mts.map +1 -1
- package/resources/texml/accounts/queues.d.ts +7 -5
- package/resources/texml/accounts/queues.d.ts.map +1 -1
- package/resources/texml/accounts/queues.js +7 -5
- package/resources/texml/accounts/queues.js.map +1 -1
- package/resources/texml/accounts/queues.mjs +7 -5
- package/resources/texml/accounts/queues.mjs.map +1 -1
- package/resources/texml/texml.d.mts +7 -0
- package/resources/texml/texml.d.mts.map +1 -1
- package/resources/texml/texml.d.ts +7 -0
- package/resources/texml/texml.d.ts.map +1 -1
- package/resources/texml/texml.js.map +1 -1
- package/resources/texml/texml.mjs.map +1 -1
- package/resources/texml-applications.d.mts +3 -2
- package/resources/texml-applications.d.mts.map +1 -1
- package/resources/texml-applications.d.ts +3 -2
- package/resources/texml-applications.d.ts.map +1 -1
- package/resources/texml-applications.js +3 -2
- package/resources/texml-applications.js.map +1 -1
- package/resources/texml-applications.mjs +3 -2
- package/resources/texml-applications.mjs.map +1 -1
- package/resources/text-to-speech/index.d.mts +1 -1
- package/resources/text-to-speech/index.d.mts.map +1 -1
- package/resources/text-to-speech/index.d.ts +1 -1
- package/resources/text-to-speech/index.d.ts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.mts +75 -109
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +75 -109
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-speech/text-to-speech.js +6 -12
- package/resources/text-to-speech/text-to-speech.js.map +1 -1
- package/resources/text-to-speech/text-to-speech.mjs +6 -12
- package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
- package/resources/traffic-policy-profiles.d.mts +2 -2
- package/resources/traffic-policy-profiles.d.ts +2 -2
- package/resources/traffic-policy-profiles.js +2 -2
- package/resources/traffic-policy-profiles.mjs +2 -2
- package/resources/uac-connections/uac-connections.d.mts +1 -1
- package/resources/uac-connections/uac-connections.d.ts +1 -1
- package/resources/uac-connections/uac-connections.js +1 -1
- package/resources/uac-connections/uac-connections.mjs +1 -1
- package/resources/user-addresses.d.mts +4 -2
- package/resources/user-addresses.d.mts.map +1 -1
- package/resources/user-addresses.d.ts +4 -2
- package/resources/user-addresses.d.ts.map +1 -1
- package/resources/user-addresses.js +4 -2
- package/resources/user-addresses.js.map +1 -1
- package/resources/user-addresses.mjs +4 -2
- package/resources/user-addresses.mjs.map +1 -1
- package/resources/user-tags.d.mts +2 -1
- package/resources/user-tags.d.mts.map +1 -1
- package/resources/user-tags.d.ts +2 -1
- package/resources/user-tags.d.ts.map +1 -1
- package/resources/user-tags.js +2 -1
- package/resources/user-tags.js.map +1 -1
- package/resources/user-tags.mjs +2 -1
- package/resources/user-tags.mjs.map +1 -1
- package/resources/verify-profiles.d.mts +2 -1
- package/resources/verify-profiles.d.mts.map +1 -1
- package/resources/verify-profiles.d.ts +2 -1
- package/resources/verify-profiles.d.ts.map +1 -1
- package/resources/verify-profiles.js +2 -1
- package/resources/verify-profiles.js.map +1 -1
- package/resources/verify-profiles.mjs +2 -1
- package/resources/verify-profiles.mjs.map +1 -1
- package/resources/virtual-cross-connects.d.mts +4 -3
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts +4 -3
- package/resources/virtual-cross-connects.d.ts.map +1 -1
- package/resources/virtual-cross-connects.js +4 -3
- package/resources/virtual-cross-connects.js.map +1 -1
- package/resources/virtual-cross-connects.mjs +4 -3
- package/resources/virtual-cross-connects.mjs.map +1 -1
- package/resources/voice-sdk-call-reports.d.mts +2 -2
- package/resources/voice-sdk-call-reports.d.mts.map +1 -1
- package/resources/voice-sdk-call-reports.d.ts +2 -2
- package/resources/voice-sdk-call-reports.d.ts.map +1 -1
- package/resources/webhooks.d.mts +28 -470
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +28 -470
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/conversational-components.d.mts +23 -48
- package/resources/whatsapp/phone-numbers/conversational-components.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/conversational-components.d.ts +23 -48
- package/resources/whatsapp/phone-numbers/conversational-components.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/index.js.map +1 -1
- package/resources/whatsapp/phone-numbers/index.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +2 -2
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +2 -2
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/wireguard-interfaces.d.mts +9 -4
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +9 -4
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/resources/wireguard-interfaces.js +4 -3
- package/resources/wireguard-interfaces.js.map +1 -1
- package/resources/wireguard-interfaces.mjs +4 -3
- package/resources/wireguard-interfaces.mjs.map +1 -1
- package/resources/wireguard-peers.d.mts +4 -4
- package/resources/wireguard-peers.d.ts +4 -4
- package/resources/wireguard-peers.js +4 -4
- package/resources/wireguard-peers.mjs +4 -4
- package/resources/wireless/detail-records-reports.d.mts +3 -2
- package/resources/wireless/detail-records-reports.d.mts.map +1 -1
- package/resources/wireless/detail-records-reports.d.ts +3 -2
- package/resources/wireless/detail-records-reports.d.ts.map +1 -1
- package/resources/wireless/detail-records-reports.js +3 -2
- package/resources/wireless/detail-records-reports.js.map +1 -1
- package/resources/wireless/detail-records-reports.mjs +3 -2
- package/resources/wireless/detail-records-reports.mjs.map +1 -1
- package/resources/wireless-blocklist-values.d.mts +6 -19
- package/resources/wireless-blocklist-values.d.mts.map +1 -1
- package/resources/wireless-blocklist-values.d.ts +6 -19
- package/resources/wireless-blocklist-values.d.ts.map +1 -1
- package/resources/wireless-blocklist-values.js +2 -1
- package/resources/wireless-blocklist-values.js.map +1 -1
- package/resources/wireless-blocklist-values.mjs +2 -1
- package/resources/wireless-blocklist-values.mjs.map +1 -1
- package/resources/wireless-blocklists.d.mts +42 -21
- package/resources/wireless-blocklists.d.mts.map +1 -1
- package/resources/wireless-blocklists.d.ts +42 -21
- package/resources/wireless-blocklists.d.ts.map +1 -1
- package/resources/wireless-blocklists.js +14 -8
- package/resources/wireless-blocklists.js.map +1 -1
- package/resources/wireless-blocklists.mjs +14 -8
- package/resources/wireless-blocklists.mjs.map +1 -1
- package/src/client.ts +57 -18
- package/src/core/pagination.ts +180 -0
- package/src/resources/addresses/addresses.ts +6 -3
- package/src/resources/ai/ai.ts +120 -120
- package/src/resources/ai/anthropic/v1.ts +4 -3
- package/src/resources/ai/assistants/assistants.ts +742 -465
- package/src/resources/ai/assistants/canary-deploys.ts +25 -2
- package/src/resources/ai/assistants/index.ts +8 -0
- package/src/resources/ai/assistants/scheduled-events.ts +46 -16
- package/src/resources/ai/assistants/tags.ts +2 -1
- package/src/resources/ai/assistants/tests/runs.ts +26 -5
- package/src/resources/ai/assistants/tests/test-suites/runs.ts +26 -5
- package/src/resources/ai/assistants/tests/tests.ts +38 -18
- package/src/resources/ai/assistants/tools.ts +5 -2
- package/src/resources/ai/chat.ts +9 -0
- package/src/resources/ai/collections/collections.ts +0 -157
- package/src/resources/ai/collections/index.ts +0 -2
- package/src/resources/ai/collections/settings.ts +4 -1
- package/src/resources/ai/collections/sources.ts +3 -1
- package/src/resources/ai/conversations/conversations.ts +71 -7
- package/src/resources/ai/conversations/insight-groups/insight-groups.ts +40 -7
- package/src/resources/ai/conversations/insight-groups/insights.ts +3 -2
- package/src/resources/ai/conversations/insights.ts +40 -8
- package/src/resources/ai/conversations/messages.ts +2 -0
- package/src/resources/ai/embeddings/buckets.ts +2 -1
- package/src/resources/ai/embeddings/embeddings.ts +59 -8
- package/src/resources/ai/fine-tuning/jobs.ts +5 -3
- package/src/resources/ai/index.ts +10 -2
- package/src/resources/ai/integrations/connections.ts +3 -2
- package/src/resources/ai/integrations/integrations.ts +4 -2
- package/src/resources/ai/knowledge/collections.ts +179 -0
- package/src/resources/ai/knowledge/index.ts +8 -0
- package/src/resources/ai/knowledge/knowledge.ts +23 -0
- package/src/resources/ai/knowledge.ts +3 -0
- package/src/resources/ai/mcp-servers.ts +43 -6
- package/src/resources/ai/missions/knowledge-bases.ts +7 -4
- package/src/resources/ai/missions/mcp-servers.ts +9 -5
- package/src/resources/ai/missions/missions.ts +14 -6
- package/src/resources/ai/missions/runs/events.ts +7 -3
- package/src/resources/ai/missions/runs/plan.ts +10 -4
- package/src/resources/ai/missions/runs/runs.ts +18 -8
- package/src/resources/ai/missions/runs/telnyx-agents.ts +4 -2
- package/src/resources/ai/missions/tools.ts +8 -5
- package/src/resources/ai/openai/chat.ts +9 -0
- package/src/resources/ai/openai/openai.ts +12 -0
- package/src/resources/ai/tools.ts +55 -4
- package/src/resources/authentication-providers.ts +2 -1
- package/src/resources/bundle-pricing/billing-bundles.ts +4 -2
- package/src/resources/bundle-pricing/user-bundles.ts +5 -3
- package/src/resources/call-control-applications.ts +4 -2
- package/src/resources/calls/actions.ts +123 -109
- package/src/resources/calls/calls.ts +13 -2
- package/src/resources/calls/index.ts +3 -0
- package/src/resources/conferences/actions.ts +7 -7
- package/src/resources/conferences/conferences.ts +3 -2
- package/src/resources/country-coverage.ts +4 -2
- package/src/resources/credential-connections/credential-connections.ts +2 -1
- package/src/resources/custom-storage-credentials.ts +40 -117
- package/src/resources/customer-service-records.ts +4 -2
- package/src/resources/dialogflow-connections.ts +3 -2
- package/src/resources/dir/dir.ts +7 -1
- package/src/resources/dir/index.ts +1 -0
- package/src/resources/dir/verify-email.ts +30 -31
- package/src/resources/documents.ts +4 -8
- package/src/resources/dynamic-emergency-addresses.ts +2 -1
- package/src/resources/dynamic-emergency-endpoints.ts +2 -1
- package/src/resources/email-blocks/email-blocks.ts +45 -51
- package/src/resources/email-blocks/{import.ts → imports.ts} +72 -73
- package/src/resources/email-blocks/index.ts +7 -1
- package/src/resources/email-domains/email-domains.ts +13 -0
- package/src/resources/email-events.ts +32 -55
- package/src/resources/email-inboxes/drafts.ts +34 -58
- package/src/resources/email-inboxes/email-inboxes.ts +20 -36
- package/src/resources/email-inboxes/filters.ts +13 -44
- package/src/resources/email-inboxes/index.ts +5 -3
- package/src/resources/email-inboxes/messages/actions.ts +6 -6
- package/src/resources/email-inboxes/messages/index.ts +0 -1
- package/src/resources/email-inboxes/messages/messages.ts +24 -28
- package/src/resources/email-inboxes/threads/index.ts +1 -0
- package/src/resources/email-inboxes/threads/threads.ts +21 -17
- package/src/resources/email-messages/email-messages.ts +56 -50
- package/src/resources/email-messages/index.ts +3 -3
- package/src/resources/email-messages/recipients.ts +17 -36
- package/src/resources/email-templates.ts +16 -24
- package/src/resources/email-threads.ts +14 -13
- package/src/resources/email-validations/batch.ts +1 -24
- package/src/resources/email-validations/email-validations.ts +23 -24
- package/src/resources/email-validations/index.ts +1 -0
- package/src/resources/enterprises/enterprises.ts +3 -24
- package/src/resources/enterprises/index.ts +0 -1
- package/src/resources/enterprises/reputation/index.ts +2 -0
- package/src/resources/enterprises/reputation/remediation.ts +55 -57
- package/src/resources/enterprises/reputation/reputation.ts +4 -0
- package/src/resources/faxes/faxes.ts +1 -1
- package/src/resources/fqdn-connections/fqdn-connections.ts +3 -2
- package/src/resources/fqdns.ts +3 -3
- package/src/resources/global-ip-allowed-ports.ts +2 -1
- package/src/resources/global-ip-assignments.ts +11 -5
- package/src/resources/global-ip-health-check-types.ts +2 -1
- package/src/resources/global-ip-health-checks.ts +9 -4
- package/src/resources/global-ip-protocols.ts +2 -1
- package/src/resources/global-ips.ts +8 -4
- package/src/resources/index.ts +19 -10
- package/src/resources/invoices.ts +1 -1
- package/src/resources/ip-connections.ts +5 -3
- package/src/resources/ips.ts +4 -3
- package/src/resources/legacy/reporting/usage-reports/messaging.ts +2 -1
- package/src/resources/legacy/reporting/usage-reports/number-lookup.ts +2 -1
- package/src/resources/legacy/reporting/usage-reports/voice.ts +2 -1
- package/src/resources/managed-accounts/managed-accounts.ts +2 -1
- package/src/resources/media.ts +5 -4
- package/src/resources/meeting-sessions/actions.ts +1 -1
- package/src/resources/messages/index.ts +1 -0
- package/src/resources/messages/messages.ts +279 -280
- package/src/resources/messaging-10dlc/brand/brand.ts +2 -1
- package/src/resources/messaging-10dlc/messaging-10dlc.ts +1 -1
- package/src/resources/messaging-optouts.ts +2 -1
- package/src/resources/mobile-push-credentials.ts +4 -2
- package/src/resources/mobile-voice-connections.ts +2 -1
- package/src/resources/networks/default-gateway.ts +4 -3
- package/src/resources/networks/networks.ts +9 -6
- package/src/resources/notification-channels.ts +8 -5
- package/src/resources/notification-profiles.ts +5 -4
- package/src/resources/notification-settings.ts +7 -4
- package/src/resources/number-block-orders.ts +2 -1
- package/src/resources/number-orders.ts +8 -4
- package/src/resources/number-reservations/number-reservations.ts +2 -1
- package/src/resources/oauth-clients.ts +6 -4
- package/src/resources/oauth-grants.ts +3 -2
- package/src/resources/oauth.ts +8 -4
- package/src/resources/organizations/users/actions.ts +2 -1
- package/src/resources/organizations/users/users.ts +2 -1
- package/src/resources/outbound-voice-profiles.ts +2 -1
- package/src/resources/phone-numbers/jobs.ts +23 -4
- package/src/resources/porting/events.ts +6 -3
- package/src/resources/porting/loa-configurations.ts +13 -6
- package/src/resources/porting/porting.ts +2 -1
- package/src/resources/porting/reports.ts +2 -1
- package/src/resources/porting-orders/actions.ts +3 -2
- package/src/resources/porting-orders/activation-jobs.ts +2 -1
- package/src/resources/porting-orders/phone-number-blocks.ts +3 -2
- package/src/resources/porting-orders/phone-number-extensions.ts +3 -2
- package/src/resources/porting-orders/porting-orders.ts +7 -3
- package/src/resources/portouts/comments.ts +2 -1
- package/src/resources/portouts/events.ts +5 -3
- package/src/resources/portouts/portouts.ts +2 -1
- package/src/resources/portouts/reports.ts +2 -1
- package/src/resources/pricing/index.ts +1 -0
- package/src/resources/pricing/pricing.ts +2 -0
- package/src/resources/pricing/products.ts +104 -113
- package/src/resources/private-wireless-gateways.ts +1 -1
- package/src/resources/public-internet-gateways.ts +8 -4
- package/src/resources/queues/queues.ts +5 -3
- package/src/resources/rcs/agents/agents.ts +7 -4
- package/src/resources/rcs/brands.ts +27 -61
- package/src/resources/rcs/index.ts +2 -0
- package/src/resources/rcs/rcs.ts +4 -0
- package/src/resources/recordings/recordings.ts +4 -2
- package/src/resources/reports/mdr-usage-reports.ts +1 -1
- package/src/resources/reports/reports.ts +4 -2
- package/src/resources/requirement-types.ts +2 -1
- package/src/resources/requirements.ts +3 -1
- package/src/resources/room-recordings.ts +2 -1
- package/src/resources/rooms/rooms.ts +4 -2
- package/src/resources/shared.ts +0 -12
- package/src/resources/sim-card-groups/actions.ts +11 -4
- package/src/resources/sim-card-groups/sim-card-groups.ts +4 -3
- package/src/resources/sim-card-order-preview.ts +2 -1
- package/src/resources/sim-card-orders.ts +3 -2
- package/src/resources/sim-cards/sim-cards.ts +1 -1
- package/src/resources/siprec-connectors.ts +1 -1
- package/src/resources/speech-to-text/index.ts +1 -1
- package/src/resources/speech-to-text/speech-to-text.ts +78 -67
- package/src/resources/storage/buckets/buckets.ts +13 -4
- package/src/resources/storage/cloudfs/cloudfs.ts +159 -204
- package/src/resources/storage/cloudfs/index.ts +3 -0
- package/src/resources/storage/index.ts +3 -0
- package/src/resources/storage/migrations/actions.ts +2 -1
- package/src/resources/storage/storage.ts +6 -0
- package/src/resources/sub-number-orders.ts +122 -8
- package/src/resources/telephony-credentials.ts +7 -4
- package/src/resources/texml/accounts/calls/calls.ts +34 -14
- package/src/resources/texml/accounts/conferences/conferences.ts +6 -4
- package/src/resources/texml/accounts/conferences/participants.ts +17 -5
- package/src/resources/texml/accounts/queues.ts +7 -5
- package/src/resources/texml/texml.ts +8 -0
- package/src/resources/texml-applications.ts +3 -2
- package/src/resources/text-to-speech/index.ts +2 -2
- package/src/resources/text-to-speech/text-to-speech.ts +84 -133
- package/src/resources/traffic-policy-profiles.ts +2 -2
- package/src/resources/uac-connections/uac-connections.ts +1 -1
- package/src/resources/user-addresses.ts +4 -2
- package/src/resources/user-tags.ts +2 -1
- package/src/resources/verify-profiles.ts +2 -1
- package/src/resources/virtual-cross-connects.ts +4 -3
- package/src/resources/voice-sdk-call-reports.ts +2 -2
- package/src/resources/webhooks.ts +67 -607
- package/src/resources/whatsapp/phone-numbers/conversational-components.ts +24 -54
- package/src/resources/whatsapp/phone-numbers/index.ts +1 -0
- package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +2 -0
- package/src/resources/wireguard-interfaces.ts +10 -6
- package/src/resources/wireguard-peers.ts +4 -4
- package/src/resources/wireless/detail-records-reports.ts +3 -2
- package/src/resources/wireless-blocklist-values.ts +6 -23
- package/src/resources/wireless-blocklists.ts +56 -26
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/email-blocks/import.d.mts.map +0 -1
- package/resources/email-blocks/import.d.ts.map +0 -1
- package/resources/email-blocks/import.js.map +0 -1
- package/resources/email-blocks/import.mjs.map +0 -1
|
@@ -40,7 +40,8 @@ export declare class Assistants extends APIResource {
|
|
|
40
40
|
*/
|
|
41
41
|
list(options?: RequestOptions): APIPromise<AssistantsList>;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Creates a new AI assistant from the provided configuration, including its model,
|
|
44
|
+
* instructions, and attached tools, and returns the created assistant.
|
|
44
45
|
*
|
|
45
46
|
* @example
|
|
46
47
|
* ```ts
|
|
@@ -51,7 +52,7 @@ export declare class Assistants extends APIResource {
|
|
|
51
52
|
* });
|
|
52
53
|
* ```
|
|
53
54
|
*/
|
|
54
|
-
create(
|
|
55
|
+
create(params: AssistantCreateParams, options?: RequestOptions): APIPromise<InferenceEmbedding>;
|
|
55
56
|
/**
|
|
56
57
|
* Import assistants from external providers. Any assistant that has already been
|
|
57
58
|
* imported will be overwritten with its latest version from the importing
|
|
@@ -66,7 +67,7 @@ export declare class Assistants extends APIResource {
|
|
|
66
67
|
* });
|
|
67
68
|
* ```
|
|
68
69
|
*/
|
|
69
|
-
imports(
|
|
70
|
+
imports(params: AssistantImportsParams, options?: RequestOptions): APIPromise<AssistantsList>;
|
|
70
71
|
/**
|
|
71
72
|
* Delete an AI Assistant by `assistant_id`.
|
|
72
73
|
*
|
|
@@ -89,7 +90,9 @@ export declare class Assistants extends APIResource {
|
|
|
89
90
|
*/
|
|
90
91
|
retrieve(assistantID: string, query?: AssistantRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<InferenceEmbedding>;
|
|
91
92
|
/**
|
|
92
|
-
*
|
|
93
|
+
* Updates the specified AI assistant's attributes and returns the updated
|
|
94
|
+
* assistant. The request can also control how the change is promoted across
|
|
95
|
+
* assistant versions.
|
|
93
96
|
*
|
|
94
97
|
* @example
|
|
95
98
|
* ```ts
|
|
@@ -130,7 +133,7 @@ export declare class Assistants extends APIResource {
|
|
|
130
133
|
* );
|
|
131
134
|
* ```
|
|
132
135
|
*/
|
|
133
|
-
clone(assistantID: string, options?: RequestOptions): APIPromise<InferenceEmbedding>;
|
|
136
|
+
clone(assistantID: string, params?: AssistantCloneParams | null | undefined, options?: RequestOptions): APIPromise<InferenceEmbedding>;
|
|
134
137
|
/**
|
|
135
138
|
* Get an assistant texml by `assistant_id`.
|
|
136
139
|
*
|
|
@@ -167,7 +170,7 @@ export declare class Assistants extends APIResource {
|
|
|
167
170
|
* );
|
|
168
171
|
* ```
|
|
169
172
|
*/
|
|
170
|
-
sendSMS(assistantID: string,
|
|
173
|
+
sendSMS(assistantID: string, params: AssistantSendSMSParams, options?: RequestOptions): APIPromise<AssistantSendSMSResponse>;
|
|
171
174
|
}
|
|
172
175
|
/**
|
|
173
176
|
* Numeric expression: applies an arithmetic operator to two sub-expressions.
|
|
@@ -383,6 +386,20 @@ export declare namespace AssistantTool {
|
|
|
383
386
|
* existing behavior (audio_url in dial) is preserved.
|
|
384
387
|
*/
|
|
385
388
|
warm_message_delay_ms?: number | null;
|
|
389
|
+
/**
|
|
390
|
+
* Requires the transfer destination to accept the call before the caller is
|
|
391
|
+
* bridged. When enabled, the assistant speaks privately with the destination after
|
|
392
|
+
* they answer — delivering the warm transfer message and asking whether they take
|
|
393
|
+
* the call — while the caller keeps hearing ringback. The assistant then finalizes
|
|
394
|
+
* the transfer with the built-in `complete_transfer` tool: an accept bridges the
|
|
395
|
+
* calls, a decline hangs up the destination and returns the assistant to the
|
|
396
|
+
* caller with the reason the destination gave. Requires either
|
|
397
|
+
* `warm_transfer_instructions` or a `message` on every target, otherwise the
|
|
398
|
+
* assistant fails to save. Only available for calls started with
|
|
399
|
+
* `ai_assistant_start`; single-caller conversations only (a conference or
|
|
400
|
+
* additional invited participants fall back to a regular warm transfer).
|
|
401
|
+
*/
|
|
402
|
+
warm_transfer_acceptance?: Transfer.WarmTransferAcceptance;
|
|
386
403
|
/**
|
|
387
404
|
* Natural language instructions for your agent for how to provide context for the
|
|
388
405
|
* transfer recipient.
|
|
@@ -395,6 +412,12 @@ export declare namespace AssistantTool {
|
|
|
395
412
|
* The destination number or SIP URI of the call.
|
|
396
413
|
*/
|
|
397
414
|
to: string;
|
|
415
|
+
/**
|
|
416
|
+
* The warm transfer message to deliver to this specific target. When set, it takes
|
|
417
|
+
* precedence over the message the assistant composes from
|
|
418
|
+
* `warm_transfer_instructions`.
|
|
419
|
+
*/
|
|
420
|
+
message?: string;
|
|
398
421
|
/**
|
|
399
422
|
* The name of the target.
|
|
400
423
|
*/
|
|
@@ -517,6 +540,33 @@ export declare namespace AssistantTool {
|
|
|
517
540
|
}
|
|
518
541
|
}
|
|
519
542
|
}
|
|
543
|
+
/**
|
|
544
|
+
* Requires the transfer destination to accept the call before the caller is
|
|
545
|
+
* bridged. When enabled, the assistant speaks privately with the destination after
|
|
546
|
+
* they answer — delivering the warm transfer message and asking whether they take
|
|
547
|
+
* the call — while the caller keeps hearing ringback. The assistant then finalizes
|
|
548
|
+
* the transfer with the built-in `complete_transfer` tool: an accept bridges the
|
|
549
|
+
* calls, a decline hangs up the destination and returns the assistant to the
|
|
550
|
+
* caller with the reason the destination gave. Requires either
|
|
551
|
+
* `warm_transfer_instructions` or a `message` on every target, otherwise the
|
|
552
|
+
* assistant fails to save. Only available for calls started with
|
|
553
|
+
* `ai_assistant_start`; single-caller conversations only (a conference or
|
|
554
|
+
* additional invited participants fall back to a regular warm transfer).
|
|
555
|
+
*/
|
|
556
|
+
interface WarmTransferAcceptance {
|
|
557
|
+
/**
|
|
558
|
+
* Whether the destination must accept the transfer before the calls are bridged.
|
|
559
|
+
*/
|
|
560
|
+
enabled?: boolean;
|
|
561
|
+
/**
|
|
562
|
+
* Controls whether the private exchange between the assistant and the transfer
|
|
563
|
+
* destination is kept out of the conversation. With `private` (default) the
|
|
564
|
+
* exchange never reaches the conversation history, AI conversations, webhooks or
|
|
565
|
+
* insights, and the transfer tool result is rewritten with the outcome only. With
|
|
566
|
+
* `shared` the exchange stays in the conversation like any other messages.
|
|
567
|
+
*/
|
|
568
|
+
end_user_target_context_mode?: 'private' | 'shared';
|
|
569
|
+
}
|
|
520
570
|
}
|
|
521
571
|
}
|
|
522
572
|
interface Invite {
|
|
@@ -785,6 +835,23 @@ export interface ComparisonExpression {
|
|
|
785
835
|
right: unknown;
|
|
786
836
|
type: 'comparison';
|
|
787
837
|
}
|
|
838
|
+
/**
|
|
839
|
+
* Conversation flow as returned by the API.
|
|
840
|
+
*/
|
|
841
|
+
export interface ConversationFlow {
|
|
842
|
+
/**
|
|
843
|
+
* All nodes in the flow.
|
|
844
|
+
*/
|
|
845
|
+
nodes: Array<FlowNode | ToolNode | SpeakNode>;
|
|
846
|
+
/**
|
|
847
|
+
* ID of the node where the conversation begins.
|
|
848
|
+
*/
|
|
849
|
+
start_node_id: string;
|
|
850
|
+
/**
|
|
851
|
+
* Directed transitions between nodes.
|
|
852
|
+
*/
|
|
853
|
+
edges?: Array<FlowEdge>;
|
|
854
|
+
}
|
|
788
855
|
/**
|
|
789
856
|
* Conversation flow as supplied by API clients (create / update).
|
|
790
857
|
*
|
|
@@ -797,7 +864,7 @@ export interface ConversationFlowReq {
|
|
|
797
864
|
* All nodes in the flow. Must contain `start_node_id`. Each node is a prompt node
|
|
798
865
|
* (`type: prompt`) or a tool node (`type: tool`).
|
|
799
866
|
*/
|
|
800
|
-
nodes: Array<
|
|
867
|
+
nodes: Array<FlowNodeReq | ToolNodeReq | SpeakNodeReq>;
|
|
801
868
|
/**
|
|
802
869
|
* ID of the node where the conversation begins.
|
|
803
870
|
*/
|
|
@@ -807,161 +874,6 @@ export interface ConversationFlowReq {
|
|
|
807
874
|
*/
|
|
808
875
|
edges?: Array<FlowEdge>;
|
|
809
876
|
}
|
|
810
|
-
export declare namespace ConversationFlowReq {
|
|
811
|
-
/**
|
|
812
|
-
* One step in a conversation flow, as supplied by API clients.
|
|
813
|
-
*
|
|
814
|
-
* Each node carries the prompt, tool scope, and optional overrides for
|
|
815
|
-
* model/voice/transcription. Unset overrides cascade from the assistant.
|
|
816
|
-
*/
|
|
817
|
-
interface FlowNodeReq {
|
|
818
|
-
/**
|
|
819
|
-
* Caller-supplied unique identifier for this node within the flow.
|
|
820
|
-
*/
|
|
821
|
-
id: string;
|
|
822
|
-
/**
|
|
823
|
-
* Prompt that drives the LLM while this node is active. Required.
|
|
824
|
-
*/
|
|
825
|
-
instructions: string;
|
|
826
|
-
/**
|
|
827
|
-
* Override for `Assistant.external_llm` while this node is active. Use this to
|
|
828
|
-
* route a node's turns to a different external LLM (different `model`, `base_url`,
|
|
829
|
-
* credentials). Part of the LLM bundle — see `model` for cascade semantics.
|
|
830
|
-
* Mutually exclusive with `model` on the node (a single LLM identity per node).
|
|
831
|
-
*/
|
|
832
|
-
external_llm?: AssistantsAPI.ExternalLlmReq;
|
|
833
|
-
/**
|
|
834
|
-
* How `instructions` combine with the assistant-level instructions. `replace`
|
|
835
|
-
* (default): the node's instructions are used alone. `append`: the node's
|
|
836
|
-
* instructions are concatenated after the assistant's instructions.
|
|
837
|
-
*/
|
|
838
|
-
instructions_mode?: 'replace' | 'append';
|
|
839
|
-
/**
|
|
840
|
-
* Override for `Assistant.llm_api_key_ref` while this node is active. Part of the
|
|
841
|
-
* LLM bundle — see `model` for cascade semantics.
|
|
842
|
-
*/
|
|
843
|
-
llm_api_key_ref?: string;
|
|
844
|
-
/**
|
|
845
|
-
* Override for `Assistant.model` while this node is active. Part of the LLM bundle
|
|
846
|
-
* (`model` + `llm_api_key_ref` + `external_llm`): when any of the three is set on
|
|
847
|
-
* the node, all three are taken from the node and the assistant-level LLM identity
|
|
848
|
-
* is not consulted. When none of the three is set, the assistant's bundle cascades
|
|
849
|
-
* unchanged.
|
|
850
|
-
*/
|
|
851
|
-
model?: string;
|
|
852
|
-
/**
|
|
853
|
-
* Optional human-readable label, displayed in authoring UIs.
|
|
854
|
-
*/
|
|
855
|
-
name?: string;
|
|
856
|
-
/**
|
|
857
|
-
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
858
|
-
* by the runtime; round-trips so frontends can persist graph layout across
|
|
859
|
-
* reloads.
|
|
860
|
-
*/
|
|
861
|
-
position?: AssistantsAPI.NodePosition;
|
|
862
|
-
/**
|
|
863
|
-
* IDs of shared (org-level) tools available at this node. Knowledge bases are
|
|
864
|
-
* attached the same way — via a shared retrieval tool. Tools not listed here are
|
|
865
|
-
* not callable while this node is active.
|
|
866
|
-
*/
|
|
867
|
-
shared_tool_ids?: Array<string>;
|
|
868
|
-
/**
|
|
869
|
-
* How `shared_tool_ids` combine with the assistant-level tool set. `replace`
|
|
870
|
-
* (default): only the node's tools are callable. `append`: the node's tools are
|
|
871
|
-
* added to the assistant's tools. Ignored when `shared_tool_ids` is null.
|
|
872
|
-
*/
|
|
873
|
-
tools_mode?: 'replace' | 'append';
|
|
874
|
-
/**
|
|
875
|
-
* Per-node transcription override (model/language/region). Unset fields cascade
|
|
876
|
-
* from the assistant-level transcription.
|
|
877
|
-
*/
|
|
878
|
-
transcription?: AssistantsAPI.TranscriptionSettings;
|
|
879
|
-
/**
|
|
880
|
-
* Node kind discriminator. `prompt` (default) is an LLM-driven step; `tool` is a
|
|
881
|
-
* standalone tool execution (see `ToolNodeReq`).
|
|
882
|
-
*/
|
|
883
|
-
type?: 'prompt';
|
|
884
|
-
/**
|
|
885
|
-
* Per-node voice override. Only fields set here override the assistant-level voice
|
|
886
|
-
* settings; unset fields cascade.
|
|
887
|
-
*/
|
|
888
|
-
voice_settings?: AssistantsAPI.VoiceSettings;
|
|
889
|
-
}
|
|
890
|
-
/**
|
|
891
|
-
* A standalone tool step in a conversation flow, as supplied by clients.
|
|
892
|
-
*
|
|
893
|
-
* Unlike a prompt node, a tool node has no instructions or model — it isn't an LLM
|
|
894
|
-
* turn. Reaching it deterministically runs one shared tool (arguments filled from
|
|
895
|
-
* matching dynamic variables by name), then routes on the result via outgoing
|
|
896
|
-
* `tool_result` edges.
|
|
897
|
-
*/
|
|
898
|
-
interface ToolNodeReq {
|
|
899
|
-
/**
|
|
900
|
-
* Caller-supplied unique identifier for this node within the flow.
|
|
901
|
-
*/
|
|
902
|
-
id: string;
|
|
903
|
-
/**
|
|
904
|
-
* ID of the single shared (org-level) tool this node executes. When the flow
|
|
905
|
-
* reaches this node the tool runs as a deliberate step (no LLM turn); its outgoing
|
|
906
|
-
* `tool_result` edges then route on the outcome. Arguments are filled from the
|
|
907
|
-
* conversation's dynamic variables by name — a dynamic variable whose name matches
|
|
908
|
-
* one of the tool's parameters supplies that argument. Cross-validated against the
|
|
909
|
-
* org's shared tools on write.
|
|
910
|
-
*/
|
|
911
|
-
shared_tool_id: string;
|
|
912
|
-
/**
|
|
913
|
-
* Optional human-readable label, displayed in authoring UIs.
|
|
914
|
-
*/
|
|
915
|
-
name?: string;
|
|
916
|
-
/**
|
|
917
|
-
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
918
|
-
* by the runtime; round-trips so frontends can persist graph layout across
|
|
919
|
-
* reloads.
|
|
920
|
-
*/
|
|
921
|
-
position?: AssistantsAPI.NodePosition;
|
|
922
|
-
/**
|
|
923
|
-
* Node kind discriminator. Always `tool` for a tool node.
|
|
924
|
-
*/
|
|
925
|
-
type?: 'tool';
|
|
926
|
-
}
|
|
927
|
-
/**
|
|
928
|
-
* A standalone scripted-message step in a flow, as supplied by clients.
|
|
929
|
-
*
|
|
930
|
-
* Unlike a prompt node, a speak node has no instructions or model — it isn't an
|
|
931
|
-
* LLM turn. Reaching it delivers `message` to the user verbatim (with
|
|
932
|
-
* `{{variable}}` interpolation), then routes via outgoing `llm` / `expression`
|
|
933
|
-
* edges.
|
|
934
|
-
*/
|
|
935
|
-
interface SpeakNodeReq {
|
|
936
|
-
/**
|
|
937
|
-
* Caller-supplied unique identifier for this node within the flow.
|
|
938
|
-
*/
|
|
939
|
-
id: string;
|
|
940
|
-
/**
|
|
941
|
-
* Message delivered to the user verbatim when the flow reaches this node. No LLM
|
|
942
|
-
* turn — the text is spoken/sent exactly as written. `{{variable}}` placeholders
|
|
943
|
-
* are interpolated from the conversation's dynamic variables; an unresolved
|
|
944
|
-
* placeholder renders as an empty string. After delivering, the flow routes via
|
|
945
|
-
* the node's outgoing `llm` / `expression` edges (commonly a single unconditional
|
|
946
|
-
* edge).
|
|
947
|
-
*/
|
|
948
|
-
message: string;
|
|
949
|
-
/**
|
|
950
|
-
* Optional human-readable label, displayed in authoring UIs.
|
|
951
|
-
*/
|
|
952
|
-
name?: string;
|
|
953
|
-
/**
|
|
954
|
-
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
955
|
-
* by the runtime; round-trips so frontends can persist graph layout across
|
|
956
|
-
* reloads.
|
|
957
|
-
*/
|
|
958
|
-
position?: AssistantsAPI.NodePosition;
|
|
959
|
-
/**
|
|
960
|
-
* Node kind discriminator. Always `speak` for a speak node.
|
|
961
|
-
*/
|
|
962
|
-
type?: 'speak';
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
877
|
/**
|
|
966
878
|
* If `telephony` is enabled, the assistant will be able to make and receive calls.
|
|
967
879
|
* If `messaging` is enabled, the assistant will be able to send and receive
|
|
@@ -1239,6 +1151,165 @@ export declare namespace FlowEdge {
|
|
|
1239
1151
|
voice_mode?: 'unified' | 'distinct';
|
|
1240
1152
|
}
|
|
1241
1153
|
}
|
|
1154
|
+
/**
|
|
1155
|
+
* One step in a conversation flow, as returned by the API.
|
|
1156
|
+
*/
|
|
1157
|
+
export interface FlowNode {
|
|
1158
|
+
/**
|
|
1159
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
1160
|
+
*/
|
|
1161
|
+
id: string;
|
|
1162
|
+
/**
|
|
1163
|
+
* Prompt that drives the LLM while this node is active. Required.
|
|
1164
|
+
*/
|
|
1165
|
+
instructions: string;
|
|
1166
|
+
/**
|
|
1167
|
+
* Override for `Assistant.external_llm` while this node is active. Use this to
|
|
1168
|
+
* route a node's turns to a different external LLM (different `model`, `base_url`,
|
|
1169
|
+
* credentials). Part of the LLM bundle — see `model` for cascade semantics.
|
|
1170
|
+
* Mutually exclusive with `model` on the node (a single LLM identity per node).
|
|
1171
|
+
*/
|
|
1172
|
+
external_llm?: ExternalLlm;
|
|
1173
|
+
/**
|
|
1174
|
+
* How `instructions` combine with the assistant-level instructions. `replace`
|
|
1175
|
+
* (default): the node's instructions are used alone. `append`: the node's
|
|
1176
|
+
* instructions are concatenated after the assistant's instructions.
|
|
1177
|
+
*/
|
|
1178
|
+
instructions_mode?: 'replace' | 'append';
|
|
1179
|
+
/**
|
|
1180
|
+
* Override for `Assistant.llm_api_key_ref` while this node is active. Part of the
|
|
1181
|
+
* LLM bundle — see `model` for cascade semantics.
|
|
1182
|
+
*/
|
|
1183
|
+
llm_api_key_ref?: string;
|
|
1184
|
+
/**
|
|
1185
|
+
* Override for `Assistant.model` while this node is active. Part of the LLM bundle
|
|
1186
|
+
* (`model` + `llm_api_key_ref` + `external_llm`): when any of the three is set on
|
|
1187
|
+
* the node, all three are taken from the node and the assistant-level LLM identity
|
|
1188
|
+
* is not consulted. When none of the three is set, the assistant's bundle cascades
|
|
1189
|
+
* unchanged.
|
|
1190
|
+
*/
|
|
1191
|
+
model?: string;
|
|
1192
|
+
/**
|
|
1193
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
1194
|
+
*/
|
|
1195
|
+
name?: string;
|
|
1196
|
+
/**
|
|
1197
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1198
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1199
|
+
* reloads.
|
|
1200
|
+
*/
|
|
1201
|
+
position?: NodePosition;
|
|
1202
|
+
/**
|
|
1203
|
+
* IDs of shared (org-level) tools available at this node. Knowledge bases are
|
|
1204
|
+
* attached the same way — via a shared retrieval tool. Tools not listed here are
|
|
1205
|
+
* not callable while this node is active.
|
|
1206
|
+
*/
|
|
1207
|
+
shared_tool_ids?: Array<string>;
|
|
1208
|
+
/**
|
|
1209
|
+
* Full tool definitions for this node, resolved from `shared_tool_ids`
|
|
1210
|
+
* server-side. Populated on responses so clients can render the flow without a
|
|
1211
|
+
* follow-up fetch per shared tool. Ignored on input — set `shared_tool_ids` to
|
|
1212
|
+
* configure a node's tools.
|
|
1213
|
+
*/
|
|
1214
|
+
tools?: Array<Array<AssistantTool>>;
|
|
1215
|
+
/**
|
|
1216
|
+
* How `shared_tool_ids` combine with the assistant-level tool set. `replace`
|
|
1217
|
+
* (default): only the node's tools are callable. `append`: the node's tools are
|
|
1218
|
+
* added to the assistant's tools. Ignored when `shared_tool_ids` is null.
|
|
1219
|
+
*/
|
|
1220
|
+
tools_mode?: 'replace' | 'append';
|
|
1221
|
+
/**
|
|
1222
|
+
* Per-node transcription override (response form).
|
|
1223
|
+
*/
|
|
1224
|
+
transcription?: TranscriptionSettings;
|
|
1225
|
+
/**
|
|
1226
|
+
* Node kind discriminator. `prompt` is an LLM-driven step.
|
|
1227
|
+
*/
|
|
1228
|
+
type?: 'prompt';
|
|
1229
|
+
/**
|
|
1230
|
+
* Per-node voice override (response form).
|
|
1231
|
+
*/
|
|
1232
|
+
voice_settings?: VoiceSettings;
|
|
1233
|
+
}
|
|
1234
|
+
/**
|
|
1235
|
+
* One step in a conversation flow, as supplied by API clients.
|
|
1236
|
+
*
|
|
1237
|
+
* Each node carries the prompt, tool scope, and optional overrides for
|
|
1238
|
+
* model/voice/transcription. Unset overrides cascade from the assistant.
|
|
1239
|
+
*/
|
|
1240
|
+
export interface FlowNodeReq {
|
|
1241
|
+
/**
|
|
1242
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
1243
|
+
*/
|
|
1244
|
+
id: string;
|
|
1245
|
+
/**
|
|
1246
|
+
* Prompt that drives the LLM while this node is active. Required.
|
|
1247
|
+
*/
|
|
1248
|
+
instructions: string;
|
|
1249
|
+
/**
|
|
1250
|
+
* Override for `Assistant.external_llm` while this node is active. Use this to
|
|
1251
|
+
* route a node's turns to a different external LLM (different `model`, `base_url`,
|
|
1252
|
+
* credentials). Part of the LLM bundle — see `model` for cascade semantics.
|
|
1253
|
+
* Mutually exclusive with `model` on the node (a single LLM identity per node).
|
|
1254
|
+
*/
|
|
1255
|
+
external_llm?: ExternalLlmReq;
|
|
1256
|
+
/**
|
|
1257
|
+
* How `instructions` combine with the assistant-level instructions. `replace`
|
|
1258
|
+
* (default): the node's instructions are used alone. `append`: the node's
|
|
1259
|
+
* instructions are concatenated after the assistant's instructions.
|
|
1260
|
+
*/
|
|
1261
|
+
instructions_mode?: 'replace' | 'append';
|
|
1262
|
+
/**
|
|
1263
|
+
* Override for `Assistant.llm_api_key_ref` while this node is active. Part of the
|
|
1264
|
+
* LLM bundle — see `model` for cascade semantics.
|
|
1265
|
+
*/
|
|
1266
|
+
llm_api_key_ref?: string;
|
|
1267
|
+
/**
|
|
1268
|
+
* Override for `Assistant.model` while this node is active. Part of the LLM bundle
|
|
1269
|
+
* (`model` + `llm_api_key_ref` + `external_llm`): when any of the three is set on
|
|
1270
|
+
* the node, all three are taken from the node and the assistant-level LLM identity
|
|
1271
|
+
* is not consulted. When none of the three is set, the assistant's bundle cascades
|
|
1272
|
+
* unchanged.
|
|
1273
|
+
*/
|
|
1274
|
+
model?: string;
|
|
1275
|
+
/**
|
|
1276
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
1277
|
+
*/
|
|
1278
|
+
name?: string;
|
|
1279
|
+
/**
|
|
1280
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1281
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1282
|
+
* reloads.
|
|
1283
|
+
*/
|
|
1284
|
+
position?: NodePosition;
|
|
1285
|
+
/**
|
|
1286
|
+
* IDs of shared (org-level) tools available at this node. Knowledge bases are
|
|
1287
|
+
* attached the same way — via a shared retrieval tool. Tools not listed here are
|
|
1288
|
+
* not callable while this node is active.
|
|
1289
|
+
*/
|
|
1290
|
+
shared_tool_ids?: Array<string>;
|
|
1291
|
+
/**
|
|
1292
|
+
* How `shared_tool_ids` combine with the assistant-level tool set. `replace`
|
|
1293
|
+
* (default): only the node's tools are callable. `append`: the node's tools are
|
|
1294
|
+
* added to the assistant's tools. Ignored when `shared_tool_ids` is null.
|
|
1295
|
+
*/
|
|
1296
|
+
tools_mode?: 'replace' | 'append';
|
|
1297
|
+
/**
|
|
1298
|
+
* Per-node transcription override (model/language/region). Unset fields cascade
|
|
1299
|
+
* from the assistant-level transcription.
|
|
1300
|
+
*/
|
|
1301
|
+
transcription?: TranscriptionSettings;
|
|
1302
|
+
/**
|
|
1303
|
+
* Node kind discriminator. `prompt` (default) is an LLM-driven step; `tool` is a
|
|
1304
|
+
* standalone tool execution (see `ToolNodeReq`).
|
|
1305
|
+
*/
|
|
1306
|
+
type?: 'prompt';
|
|
1307
|
+
/**
|
|
1308
|
+
* Per-node voice override. Only fields set here override the assistant-level voice
|
|
1309
|
+
* settings; unset fields cascade.
|
|
1310
|
+
*/
|
|
1311
|
+
voice_settings?: VoiceSettings;
|
|
1312
|
+
}
|
|
1242
1313
|
export interface HangupTool {
|
|
1243
1314
|
hangup: HangupToolParams;
|
|
1244
1315
|
type: 'hangup';
|
|
@@ -1279,7 +1350,7 @@ export interface InferenceEmbedding {
|
|
|
1279
1350
|
/**
|
|
1280
1351
|
* Conversation flow as returned by the API.
|
|
1281
1352
|
*/
|
|
1282
|
-
conversation_flow?:
|
|
1353
|
+
conversation_flow?: ConversationFlow;
|
|
1283
1354
|
description?: string;
|
|
1284
1355
|
/**
|
|
1285
1356
|
* Map of dynamic variables and their values
|
|
@@ -1397,177 +1468,6 @@ export interface InferenceEmbedding {
|
|
|
1397
1468
|
*/
|
|
1398
1469
|
widget_settings?: WidgetSettings;
|
|
1399
1470
|
}
|
|
1400
|
-
export declare namespace InferenceEmbedding {
|
|
1401
|
-
/**
|
|
1402
|
-
* Conversation flow as returned by the API.
|
|
1403
|
-
*/
|
|
1404
|
-
interface ConversationFlow {
|
|
1405
|
-
/**
|
|
1406
|
-
* All nodes in the flow.
|
|
1407
|
-
*/
|
|
1408
|
-
nodes: Array<ConversationFlow.FlowNode | ConversationFlow.ToolNode | ConversationFlow.SpeakNode>;
|
|
1409
|
-
/**
|
|
1410
|
-
* ID of the node where the conversation begins.
|
|
1411
|
-
*/
|
|
1412
|
-
start_node_id: string;
|
|
1413
|
-
/**
|
|
1414
|
-
* Directed transitions between nodes.
|
|
1415
|
-
*/
|
|
1416
|
-
edges?: Array<AssistantsAPI.FlowEdge>;
|
|
1417
|
-
}
|
|
1418
|
-
namespace ConversationFlow {
|
|
1419
|
-
/**
|
|
1420
|
-
* One step in a conversation flow, as returned by the API.
|
|
1421
|
-
*/
|
|
1422
|
-
interface FlowNode {
|
|
1423
|
-
/**
|
|
1424
|
-
* Caller-supplied unique identifier for this node within the flow.
|
|
1425
|
-
*/
|
|
1426
|
-
id: string;
|
|
1427
|
-
/**
|
|
1428
|
-
* Prompt that drives the LLM while this node is active. Required.
|
|
1429
|
-
*/
|
|
1430
|
-
instructions: string;
|
|
1431
|
-
/**
|
|
1432
|
-
* Override for `Assistant.external_llm` while this node is active. Use this to
|
|
1433
|
-
* route a node's turns to a different external LLM (different `model`, `base_url`,
|
|
1434
|
-
* credentials). Part of the LLM bundle — see `model` for cascade semantics.
|
|
1435
|
-
* Mutually exclusive with `model` on the node (a single LLM identity per node).
|
|
1436
|
-
*/
|
|
1437
|
-
external_llm?: AssistantsAPI.ExternalLlm;
|
|
1438
|
-
/**
|
|
1439
|
-
* How `instructions` combine with the assistant-level instructions. `replace`
|
|
1440
|
-
* (default): the node's instructions are used alone. `append`: the node's
|
|
1441
|
-
* instructions are concatenated after the assistant's instructions.
|
|
1442
|
-
*/
|
|
1443
|
-
instructions_mode?: 'replace' | 'append';
|
|
1444
|
-
/**
|
|
1445
|
-
* Override for `Assistant.llm_api_key_ref` while this node is active. Part of the
|
|
1446
|
-
* LLM bundle — see `model` for cascade semantics.
|
|
1447
|
-
*/
|
|
1448
|
-
llm_api_key_ref?: string;
|
|
1449
|
-
/**
|
|
1450
|
-
* Override for `Assistant.model` while this node is active. Part of the LLM bundle
|
|
1451
|
-
* (`model` + `llm_api_key_ref` + `external_llm`): when any of the three is set on
|
|
1452
|
-
* the node, all three are taken from the node and the assistant-level LLM identity
|
|
1453
|
-
* is not consulted. When none of the three is set, the assistant's bundle cascades
|
|
1454
|
-
* unchanged.
|
|
1455
|
-
*/
|
|
1456
|
-
model?: string;
|
|
1457
|
-
/**
|
|
1458
|
-
* Optional human-readable label, displayed in authoring UIs.
|
|
1459
|
-
*/
|
|
1460
|
-
name?: string;
|
|
1461
|
-
/**
|
|
1462
|
-
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1463
|
-
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1464
|
-
* reloads.
|
|
1465
|
-
*/
|
|
1466
|
-
position?: AssistantsAPI.NodePosition;
|
|
1467
|
-
/**
|
|
1468
|
-
* IDs of shared (org-level) tools available at this node. Knowledge bases are
|
|
1469
|
-
* attached the same way — via a shared retrieval tool. Tools not listed here are
|
|
1470
|
-
* not callable while this node is active.
|
|
1471
|
-
*/
|
|
1472
|
-
shared_tool_ids?: Array<string>;
|
|
1473
|
-
/**
|
|
1474
|
-
* Full tool definitions for this node, resolved from `shared_tool_ids`
|
|
1475
|
-
* server-side. Populated on responses so clients can render the flow without a
|
|
1476
|
-
* follow-up fetch per shared tool. Ignored on input — set `shared_tool_ids` to
|
|
1477
|
-
* configure a node's tools.
|
|
1478
|
-
*/
|
|
1479
|
-
tools?: Array<Array<AssistantsAPI.AssistantTool>>;
|
|
1480
|
-
/**
|
|
1481
|
-
* How `shared_tool_ids` combine with the assistant-level tool set. `replace`
|
|
1482
|
-
* (default): only the node's tools are callable. `append`: the node's tools are
|
|
1483
|
-
* added to the assistant's tools. Ignored when `shared_tool_ids` is null.
|
|
1484
|
-
*/
|
|
1485
|
-
tools_mode?: 'replace' | 'append';
|
|
1486
|
-
/**
|
|
1487
|
-
* Per-node transcription override (response form).
|
|
1488
|
-
*/
|
|
1489
|
-
transcription?: AssistantsAPI.TranscriptionSettings;
|
|
1490
|
-
/**
|
|
1491
|
-
* Node kind discriminator. `prompt` is an LLM-driven step.
|
|
1492
|
-
*/
|
|
1493
|
-
type?: 'prompt';
|
|
1494
|
-
/**
|
|
1495
|
-
* Per-node voice override (response form).
|
|
1496
|
-
*/
|
|
1497
|
-
voice_settings?: AssistantsAPI.VoiceSettings;
|
|
1498
|
-
}
|
|
1499
|
-
/**
|
|
1500
|
-
* A standalone tool step in a conversation flow, as returned by the API.
|
|
1501
|
-
*/
|
|
1502
|
-
interface ToolNode {
|
|
1503
|
-
/**
|
|
1504
|
-
* Caller-supplied unique identifier for this node within the flow.
|
|
1505
|
-
*/
|
|
1506
|
-
id: string;
|
|
1507
|
-
/**
|
|
1508
|
-
* ID of the single shared (org-level) tool this node executes. When the flow
|
|
1509
|
-
* reaches this node the tool runs as a deliberate step (no LLM turn); its outgoing
|
|
1510
|
-
* `tool_result` edges then route on the outcome. Arguments are filled from the
|
|
1511
|
-
* conversation's dynamic variables by name — a dynamic variable whose name matches
|
|
1512
|
-
* one of the tool's parameters supplies that argument. Cross-validated against the
|
|
1513
|
-
* org's shared tools on write.
|
|
1514
|
-
*/
|
|
1515
|
-
shared_tool_id: string;
|
|
1516
|
-
/**
|
|
1517
|
-
* Optional human-readable label, displayed in authoring UIs.
|
|
1518
|
-
*/
|
|
1519
|
-
name?: string;
|
|
1520
|
-
/**
|
|
1521
|
-
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1522
|
-
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1523
|
-
* reloads.
|
|
1524
|
-
*/
|
|
1525
|
-
position?: AssistantsAPI.NodePosition;
|
|
1526
|
-
/**
|
|
1527
|
-
* Full tool definition resolved from `shared_tool_id` server-side. Populated on
|
|
1528
|
-
* responses so clients can render the node without a follow-up fetch. Ignored on
|
|
1529
|
-
* input — set `shared_tool_id`.
|
|
1530
|
-
*/
|
|
1531
|
-
tool?: Array<AssistantsAPI.AssistantTool>;
|
|
1532
|
-
/**
|
|
1533
|
-
* Node kind discriminator. Always `tool` for a tool node.
|
|
1534
|
-
*/
|
|
1535
|
-
type?: 'tool';
|
|
1536
|
-
}
|
|
1537
|
-
/**
|
|
1538
|
-
* A standalone scripted-message step in a flow, as returned by the API.
|
|
1539
|
-
*/
|
|
1540
|
-
interface SpeakNode {
|
|
1541
|
-
/**
|
|
1542
|
-
* Caller-supplied unique identifier for this node within the flow.
|
|
1543
|
-
*/
|
|
1544
|
-
id: string;
|
|
1545
|
-
/**
|
|
1546
|
-
* Message delivered to the user verbatim when the flow reaches this node. No LLM
|
|
1547
|
-
* turn — the text is spoken/sent exactly as written. `{{variable}}` placeholders
|
|
1548
|
-
* are interpolated from the conversation's dynamic variables; an unresolved
|
|
1549
|
-
* placeholder renders as an empty string. After delivering, the flow routes via
|
|
1550
|
-
* the node's outgoing `llm` / `expression` edges (commonly a single unconditional
|
|
1551
|
-
* edge).
|
|
1552
|
-
*/
|
|
1553
|
-
message: string;
|
|
1554
|
-
/**
|
|
1555
|
-
* Optional human-readable label, displayed in authoring UIs.
|
|
1556
|
-
*/
|
|
1557
|
-
name?: string;
|
|
1558
|
-
/**
|
|
1559
|
-
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1560
|
-
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1561
|
-
* reloads.
|
|
1562
|
-
*/
|
|
1563
|
-
position?: AssistantsAPI.NodePosition;
|
|
1564
|
-
/**
|
|
1565
|
-
* Node kind discriminator. Always `speak` for a speak node.
|
|
1566
|
-
*/
|
|
1567
|
-
type?: 'speak';
|
|
1568
|
-
}
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
1471
|
/**
|
|
1572
1472
|
* Settings for interruptions and how the assistant decides the user has finished
|
|
1573
1473
|
* speaking. These timings are most relevant when using non turn-taking
|
|
@@ -1636,6 +1536,14 @@ export declare namespace InferenceEmbeddingWebhookToolParams {
|
|
|
1636
1536
|
* The headers to be sent to the external tool.
|
|
1637
1537
|
*/
|
|
1638
1538
|
headers?: Array<Webhook.Header>;
|
|
1539
|
+
/**
|
|
1540
|
+
* Filler messages spoken while a synchronous webhook request is in progress.
|
|
1541
|
+
* `request_start` messages are spoken immediately when the request begins.
|
|
1542
|
+
* `request_response_delayed` messages are spoken after `timing_ms` has elapsed
|
|
1543
|
+
* only if the webhook response is still pending. Filler messages are not used for
|
|
1544
|
+
* asynchronous webhooks.
|
|
1545
|
+
*/
|
|
1546
|
+
messages?: Array<Webhook.WebhookToolRequestStartMessage | Webhook.WebhookToolRequestResponseDelayedMessage>;
|
|
1639
1547
|
/**
|
|
1640
1548
|
* The HTTP method to be used when calling the external tool.
|
|
1641
1549
|
*/
|
|
@@ -1648,6 +1556,31 @@ export declare namespace InferenceEmbeddingWebhookToolParams {
|
|
|
1648
1556
|
* documentation about the format
|
|
1649
1557
|
*/
|
|
1650
1558
|
path_parameters?: Webhook.PathParameters;
|
|
1559
|
+
/**
|
|
1560
|
+
* Body fields supplied by the assistant configuration rather than by the model.
|
|
1561
|
+
* They are never advertised in the tool definition, so the LLM can neither see nor
|
|
1562
|
+
* set them, and they take precedence over a `body_parameters` value of the same
|
|
1563
|
+
* name. Values support mustache templating, so they can hold dynamic variables
|
|
1564
|
+
* (`{{customer_id}}`) and integration secrets
|
|
1565
|
+
* (`{{#integration_secret}}my-secret{{/integration_secret}}`). Not sent on `GET`
|
|
1566
|
+
* requests, which carry no body.
|
|
1567
|
+
*/
|
|
1568
|
+
preset_body_fields?: {
|
|
1569
|
+
[key: string]: unknown;
|
|
1570
|
+
};
|
|
1571
|
+
/**
|
|
1572
|
+
* Query string parameters supplied by the assistant configuration rather than by
|
|
1573
|
+
* the model. They are never advertised in the tool definition, so the LLM can
|
|
1574
|
+
* neither see nor set them, and they take precedence over a `query_parameters`
|
|
1575
|
+
* value of the same name. Values support mustache templating, so they can hold
|
|
1576
|
+
* dynamic variables (`{{telnyx_end_user_target}}`) and integration secrets
|
|
1577
|
+
* (`{{#integration_secret}}my-secret{{/integration_secret}}`). Unlike values
|
|
1578
|
+
* templated directly into the `url`, these are percent-encoded, so a value such as
|
|
1579
|
+
* `+15551234567` survives the round trip.
|
|
1580
|
+
*/
|
|
1581
|
+
preset_query_params?: {
|
|
1582
|
+
[key: string]: unknown;
|
|
1583
|
+
};
|
|
1651
1584
|
/**
|
|
1652
1585
|
* The query parameters the webhook tool accepts, described as a JSON Schema
|
|
1653
1586
|
* object. These parameters will be passed to the webhook as the query of the
|
|
@@ -1700,6 +1633,35 @@ export declare namespace InferenceEmbeddingWebhookToolParams {
|
|
|
1700
1633
|
*/
|
|
1701
1634
|
value?: string;
|
|
1702
1635
|
}
|
|
1636
|
+
interface WebhookToolRequestStartMessage {
|
|
1637
|
+
/**
|
|
1638
|
+
* The text the assistant speaks.
|
|
1639
|
+
*/
|
|
1640
|
+
content: string;
|
|
1641
|
+
/**
|
|
1642
|
+
* Speak the filler message immediately when the webhook request begins.
|
|
1643
|
+
*/
|
|
1644
|
+
type: 'request_start';
|
|
1645
|
+
/**
|
|
1646
|
+
* An optional delay value. This value is ignored for `request_start` messages.
|
|
1647
|
+
*/
|
|
1648
|
+
timing_ms?: number;
|
|
1649
|
+
}
|
|
1650
|
+
interface WebhookToolRequestResponseDelayedMessage {
|
|
1651
|
+
/**
|
|
1652
|
+
* The text the assistant speaks.
|
|
1653
|
+
*/
|
|
1654
|
+
content: string;
|
|
1655
|
+
/**
|
|
1656
|
+
* The delay in milliseconds from the start of the webhook request.
|
|
1657
|
+
*/
|
|
1658
|
+
timing_ms: number;
|
|
1659
|
+
/**
|
|
1660
|
+
* Speak the filler message after the configured delay if the webhook response is
|
|
1661
|
+
* still pending.
|
|
1662
|
+
*/
|
|
1663
|
+
type: 'request_response_delayed';
|
|
1664
|
+
}
|
|
1703
1665
|
/**
|
|
1704
1666
|
* The path parameters the webhook tool accepts, described as a JSON Schema object.
|
|
1705
1667
|
* These parameters will be passed to the webhook as the path of the request if the
|
|
@@ -1884,6 +1846,75 @@ export interface RetrievalTool {
|
|
|
1884
1846
|
retrieval: ChatAPI.BucketIDs;
|
|
1885
1847
|
type: 'retrieval';
|
|
1886
1848
|
}
|
|
1849
|
+
/**
|
|
1850
|
+
* A standalone scripted-message step in a flow, as returned by the API.
|
|
1851
|
+
*/
|
|
1852
|
+
export interface SpeakNode {
|
|
1853
|
+
/**
|
|
1854
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
1855
|
+
*/
|
|
1856
|
+
id: string;
|
|
1857
|
+
/**
|
|
1858
|
+
* Message delivered to the user verbatim when the flow reaches this node. No LLM
|
|
1859
|
+
* turn — the text is spoken/sent exactly as written. `{{variable}}` placeholders
|
|
1860
|
+
* are interpolated from the conversation's dynamic variables; an unresolved
|
|
1861
|
+
* placeholder renders as an empty string. After delivering, the flow routes via
|
|
1862
|
+
* the node's outgoing `llm` / `expression` edges (commonly a single unconditional
|
|
1863
|
+
* edge).
|
|
1864
|
+
*/
|
|
1865
|
+
message: string;
|
|
1866
|
+
/**
|
|
1867
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
1868
|
+
*/
|
|
1869
|
+
name?: string;
|
|
1870
|
+
/**
|
|
1871
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1872
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1873
|
+
* reloads.
|
|
1874
|
+
*/
|
|
1875
|
+
position?: NodePosition;
|
|
1876
|
+
/**
|
|
1877
|
+
* Node kind discriminator. Always `speak` for a speak node.
|
|
1878
|
+
*/
|
|
1879
|
+
type?: 'speak';
|
|
1880
|
+
}
|
|
1881
|
+
/**
|
|
1882
|
+
* A standalone scripted-message step in a flow, as supplied by clients.
|
|
1883
|
+
*
|
|
1884
|
+
* Unlike a prompt node, a speak node has no instructions or model — it isn't an
|
|
1885
|
+
* LLM turn. Reaching it delivers `message` to the user verbatim (with
|
|
1886
|
+
* `{{variable}}` interpolation), then routes via outgoing `llm` / `expression`
|
|
1887
|
+
* edges.
|
|
1888
|
+
*/
|
|
1889
|
+
export interface SpeakNodeReq {
|
|
1890
|
+
/**
|
|
1891
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
1892
|
+
*/
|
|
1893
|
+
id: string;
|
|
1894
|
+
/**
|
|
1895
|
+
* Message delivered to the user verbatim when the flow reaches this node. No LLM
|
|
1896
|
+
* turn — the text is spoken/sent exactly as written. `{{variable}}` placeholders
|
|
1897
|
+
* are interpolated from the conversation's dynamic variables; an unresolved
|
|
1898
|
+
* placeholder renders as an empty string. After delivering, the flow routes via
|
|
1899
|
+
* the node's outgoing `llm` / `expression` edges (commonly a single unconditional
|
|
1900
|
+
* edge).
|
|
1901
|
+
*/
|
|
1902
|
+
message: string;
|
|
1903
|
+
/**
|
|
1904
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
1905
|
+
*/
|
|
1906
|
+
name?: string;
|
|
1907
|
+
/**
|
|
1908
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1909
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1910
|
+
* reloads.
|
|
1911
|
+
*/
|
|
1912
|
+
position?: NodePosition;
|
|
1913
|
+
/**
|
|
1914
|
+
* Node kind discriminator. Always `speak` for a speak node.
|
|
1915
|
+
*/
|
|
1916
|
+
type?: 'speak';
|
|
1917
|
+
}
|
|
1887
1918
|
/**
|
|
1888
1919
|
* Controls when the assistant starts speaking after the user stops. These
|
|
1889
1920
|
* thresholds primarily apply to non turn-taking transcription models. For
|
|
@@ -1929,6 +1960,17 @@ export interface TelephonySettings {
|
|
|
1929
1960
|
* Configuration for call recording format and channel settings.
|
|
1930
1961
|
*/
|
|
1931
1962
|
recording_settings?: TelephonySettings.RecordingSettings;
|
|
1963
|
+
/**
|
|
1964
|
+
* Whether the assistant sends a `call.ai_gather.message_history_updated` webhook
|
|
1965
|
+
* with the full message history every time the conversation history changes. Leave
|
|
1966
|
+
* unset to inherit the `send_message_history_updates` value from the
|
|
1967
|
+
* `ai_assistant_start` or `gather_using_ai` command that started the conversation.
|
|
1968
|
+
* Setting it here is authoritative: `true` turns the webhooks on even when the
|
|
1969
|
+
* start command did not request them, and `false` turns them off even when it did.
|
|
1970
|
+
* Messages exchanged during a private warm transfer acceptance phase are never
|
|
1971
|
+
* included.
|
|
1972
|
+
*/
|
|
1973
|
+
send_message_history_updates?: boolean;
|
|
1932
1974
|
/**
|
|
1933
1975
|
* When enabled, allows users to interact with your AI assistant directly from your
|
|
1934
1976
|
* website without requiring authentication. This is required for FE widgets that
|
|
@@ -2058,6 +2100,81 @@ export declare namespace TelephonySettings {
|
|
|
2058
2100
|
}
|
|
2059
2101
|
}
|
|
2060
2102
|
}
|
|
2103
|
+
/**
|
|
2104
|
+
* A standalone tool step in a conversation flow, as returned by the API.
|
|
2105
|
+
*/
|
|
2106
|
+
export interface ToolNode {
|
|
2107
|
+
/**
|
|
2108
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
2109
|
+
*/
|
|
2110
|
+
id: string;
|
|
2111
|
+
/**
|
|
2112
|
+
* ID of the single shared (org-level) tool this node executes. When the flow
|
|
2113
|
+
* reaches this node the tool runs as a deliberate step (no LLM turn); its outgoing
|
|
2114
|
+
* `tool_result` edges then route on the outcome. Arguments are filled from the
|
|
2115
|
+
* conversation's dynamic variables by name — a dynamic variable whose name matches
|
|
2116
|
+
* one of the tool's parameters supplies that argument. Cross-validated against the
|
|
2117
|
+
* org's shared tools on write.
|
|
2118
|
+
*/
|
|
2119
|
+
shared_tool_id: string;
|
|
2120
|
+
/**
|
|
2121
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
2122
|
+
*/
|
|
2123
|
+
name?: string;
|
|
2124
|
+
/**
|
|
2125
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
2126
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
2127
|
+
* reloads.
|
|
2128
|
+
*/
|
|
2129
|
+
position?: NodePosition;
|
|
2130
|
+
/**
|
|
2131
|
+
* Full tool definition resolved from `shared_tool_id` server-side. Populated on
|
|
2132
|
+
* responses so clients can render the node without a follow-up fetch. Ignored on
|
|
2133
|
+
* input — set `shared_tool_id`.
|
|
2134
|
+
*/
|
|
2135
|
+
tool?: Array<AssistantTool>;
|
|
2136
|
+
/**
|
|
2137
|
+
* Node kind discriminator. Always `tool` for a tool node.
|
|
2138
|
+
*/
|
|
2139
|
+
type?: 'tool';
|
|
2140
|
+
}
|
|
2141
|
+
/**
|
|
2142
|
+
* A standalone tool step in a conversation flow, as supplied by clients.
|
|
2143
|
+
*
|
|
2144
|
+
* Unlike a prompt node, a tool node has no instructions or model — it isn't an LLM
|
|
2145
|
+
* turn. Reaching it deterministically runs one shared tool (arguments filled from
|
|
2146
|
+
* matching dynamic variables by name), then routes on the result via outgoing
|
|
2147
|
+
* `tool_result` edges.
|
|
2148
|
+
*/
|
|
2149
|
+
export interface ToolNodeReq {
|
|
2150
|
+
/**
|
|
2151
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
2152
|
+
*/
|
|
2153
|
+
id: string;
|
|
2154
|
+
/**
|
|
2155
|
+
* ID of the single shared (org-level) tool this node executes. When the flow
|
|
2156
|
+
* reaches this node the tool runs as a deliberate step (no LLM turn); its outgoing
|
|
2157
|
+
* `tool_result` edges then route on the outcome. Arguments are filled from the
|
|
2158
|
+
* conversation's dynamic variables by name — a dynamic variable whose name matches
|
|
2159
|
+
* one of the tool's parameters supplies that argument. Cross-validated against the
|
|
2160
|
+
* org's shared tools on write.
|
|
2161
|
+
*/
|
|
2162
|
+
shared_tool_id: string;
|
|
2163
|
+
/**
|
|
2164
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
2165
|
+
*/
|
|
2166
|
+
name?: string;
|
|
2167
|
+
/**
|
|
2168
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
2169
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
2170
|
+
* reloads.
|
|
2171
|
+
*/
|
|
2172
|
+
position?: NodePosition;
|
|
2173
|
+
/**
|
|
2174
|
+
* Node kind discriminator. Always `tool` for a tool node.
|
|
2175
|
+
*/
|
|
2176
|
+
type?: 'tool';
|
|
2177
|
+
}
|
|
2061
2178
|
/**
|
|
2062
2179
|
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
2063
2180
|
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
@@ -2097,7 +2214,9 @@ export interface TranscriptionSettings {
|
|
|
2097
2214
|
* does not fall back to `auto` when `language` is omitted — omitting it applies
|
|
2098
2215
|
* `en` instead. For `reson8/turns`, supported values are `auto` (or unset) for
|
|
2099
2216
|
* automatic language detection, and the language codes `nl`, `en`, `fr`, `fy`,
|
|
2100
|
-
* `de`, `it`, `pl`, `pt`, `es`, and `sv` to fix the transcription language.
|
|
2217
|
+
* `de`, `it`, `pl`, `pt`, `es`, and `sv` to fix the transcription language. For
|
|
2218
|
+
* `cohere/ar-stt`, supported values are `ar` and `en`; unlike other models, this
|
|
2219
|
+
* model does not auto-detect and defaults to `ar` when `language` is omitted.
|
|
2101
2220
|
*/
|
|
2102
2221
|
language?: string;
|
|
2103
2222
|
/**
|
|
@@ -2119,8 +2238,9 @@ export interface TranscriptionSettings {
|
|
|
2119
2238
|
* code-switching support.
|
|
2120
2239
|
* - `reson8/turns` is a turn-based streaming model covering 10 European languages
|
|
2121
2240
|
* with automatic language detection.
|
|
2241
|
+
* - `cohere/ar-stt` is a non-streaming Arabic and English transcription model.
|
|
2122
2242
|
*/
|
|
2123
|
-
model?: 'deepgram/flux' | 'deepgram/nova-3' | 'deepgram/nova-2' | 'azure/fast' | 'assemblyai/universal-streaming' | 'xai/grok-stt' | 'soniox/stt-rt-v4' | 'nvidia/parakeet-v3' | 'humain/realtime' | 'reson8/turns' | 'distil-whisper/distil-large-v2' | 'openai/whisper-large-v3-turbo';
|
|
2243
|
+
model?: 'deepgram/flux' | 'deepgram/nova-3' | 'deepgram/nova-2' | 'azure/fast' | 'assemblyai/universal-streaming' | 'xai/grok-stt' | 'soniox/stt-rt-v4' | 'nvidia/parakeet-v3' | 'humain/realtime' | 'reson8/turns' | 'cohere/ar-stt' | 'distil-whisper/distil-large-v2' | 'openai/whisper-large-v3-turbo';
|
|
2124
2244
|
/**
|
|
2125
2245
|
* Region on third party cloud providers (currently Azure) if using one of their
|
|
2126
2246
|
* models. Some regions require `api_key_ref`.
|
|
@@ -2527,76 +2647,94 @@ export interface AssistantSendSMSResponse {
|
|
|
2527
2647
|
}
|
|
2528
2648
|
export interface AssistantCreateParams {
|
|
2529
2649
|
/**
|
|
2530
|
-
* System instructions for the assistant. These may be templated with
|
|
2650
|
+
* Body param: System instructions for the assistant. These may be templated with
|
|
2531
2651
|
* [dynamic variables](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables)
|
|
2532
2652
|
*/
|
|
2533
2653
|
instructions: string;
|
|
2654
|
+
/**
|
|
2655
|
+
* Body param
|
|
2656
|
+
*/
|
|
2534
2657
|
name: string;
|
|
2535
2658
|
/**
|
|
2536
|
-
* Conversation flow as supplied by API clients (create / update).
|
|
2659
|
+
* Body param: Conversation flow as supplied by API clients (create / update).
|
|
2537
2660
|
*
|
|
2538
2661
|
* A directed graph of `FlowNodeReq` connected by `FlowEdge`s. Validation enforces
|
|
2539
2662
|
* unique node/edge IDs, that `start_node_id` references a real node, and that
|
|
2540
2663
|
* every edge's endpoints reference real nodes.
|
|
2541
2664
|
*/
|
|
2542
2665
|
conversation_flow?: ConversationFlowReq;
|
|
2666
|
+
/**
|
|
2667
|
+
* Body param
|
|
2668
|
+
*/
|
|
2543
2669
|
description?: string;
|
|
2544
2670
|
/**
|
|
2545
|
-
* Map of dynamic variables and their default values
|
|
2671
|
+
* Body param: Map of dynamic variables and their default values
|
|
2546
2672
|
*/
|
|
2547
2673
|
dynamic_variables?: {
|
|
2548
2674
|
[key: string]: unknown;
|
|
2549
2675
|
};
|
|
2550
2676
|
/**
|
|
2551
|
-
* Timeout in milliseconds for the dynamic variables webhook. Must be
|
|
2552
|
-
* 10000 ms. If the webhook does not respond within this timeout, the
|
|
2553
|
-
* with default values. See the
|
|
2677
|
+
* Body param: Timeout in milliseconds for the dynamic variables webhook. Must be
|
|
2678
|
+
* between 1 and 10000 ms. If the webhook does not respond within this timeout, the
|
|
2679
|
+
* call proceeds with default values. See the
|
|
2554
2680
|
* [dynamic variables guide](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables).
|
|
2555
2681
|
*/
|
|
2556
2682
|
dynamic_variables_webhook_timeout_ms?: number;
|
|
2557
2683
|
/**
|
|
2558
|
-
* If `dynamic_variables_webhook_url` is set, Telnyx sends a POST
|
|
2559
|
-
* URL at the start of the conversation to resolve dynamic
|
|
2560
|
-
* the webhook response must wrap variables under a
|
|
2561
|
-
* object, e.g.
|
|
2562
|
-
*
|
|
2563
|
-
* the
|
|
2684
|
+
* Body param: If `dynamic_variables_webhook_url` is set, Telnyx sends a POST
|
|
2685
|
+
* request to this URL at the start of the conversation to resolve dynamic
|
|
2686
|
+
* variables. **Gotcha:** the webhook response must wrap variables under a
|
|
2687
|
+
* top-level `dynamic_variables` object, e.g.
|
|
2688
|
+
* `{"dynamic_variables": {"customer_name": "Jane"}}`. Returning a flat object will
|
|
2689
|
+
* be ignored and variables will fall back to their defaults. See the
|
|
2564
2690
|
* [dynamic variables guide](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables)
|
|
2565
2691
|
* for the full request/response format and timeout behavior.
|
|
2566
2692
|
*/
|
|
2567
2693
|
dynamic_variables_webhook_url?: string;
|
|
2694
|
+
/**
|
|
2695
|
+
* Body param
|
|
2696
|
+
*/
|
|
2568
2697
|
enabled_features?: Array<EnabledFeatures>;
|
|
2698
|
+
/**
|
|
2699
|
+
* Body param
|
|
2700
|
+
*/
|
|
2569
2701
|
external_llm?: ExternalLlmReq;
|
|
2702
|
+
/**
|
|
2703
|
+
* Body param
|
|
2704
|
+
*/
|
|
2570
2705
|
fallback_config?: FallbackConfigReq;
|
|
2571
2706
|
/**
|
|
2572
|
-
* Text that the assistant will use to start the conversation. This may
|
|
2573
|
-
* templated with
|
|
2707
|
+
* Body param: Text that the assistant will use to start the conversation. This may
|
|
2708
|
+
* be templated with
|
|
2574
2709
|
* [dynamic variables](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables).
|
|
2575
2710
|
* Use an empty string to have the assistant wait for the user to speak first. Use
|
|
2576
2711
|
* the special value `<assistant-speaks-first-with-model-generated-message>` to
|
|
2577
2712
|
* have the assistant generate the greeting based on the system instructions.
|
|
2578
2713
|
*/
|
|
2579
2714
|
greeting?: string;
|
|
2715
|
+
/**
|
|
2716
|
+
* Body param
|
|
2717
|
+
*/
|
|
2580
2718
|
insight_settings?: InsightSettings;
|
|
2581
2719
|
/**
|
|
2582
|
-
* Connected integrations attached to the assistant. The catalog of
|
|
2583
|
-
* integrations is at `/ai/integrations`; the user's connected
|
|
2584
|
-
* `/ai/integrations/connections`. Each item references a
|
|
2585
|
-
* `integration_id`.
|
|
2720
|
+
* Body param: Connected integrations attached to the assistant. The catalog of
|
|
2721
|
+
* available integrations is at `/ai/integrations`; the user's connected
|
|
2722
|
+
* integrations are at `/ai/integrations/connections`. Each item references a
|
|
2723
|
+
* catalog integration by `integration_id`.
|
|
2586
2724
|
*/
|
|
2587
2725
|
integrations?: Array<AssistantIntegration>;
|
|
2588
2726
|
/**
|
|
2589
|
-
* Settings for interruptions and how the assistant decides the user
|
|
2590
|
-
* speaking. These timings are most relevant when using non
|
|
2591
|
-
* transcription models. For turn-taking models like `deepgram/flux`,
|
|
2592
|
-
* behavior is controlled by the transcription end-of-turn settings
|
|
2593
|
-
* `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
2727
|
+
* Body param: Settings for interruptions and how the assistant decides the user
|
|
2728
|
+
* has finished speaking. These timings are most relevant when using non
|
|
2729
|
+
* turn-taking transcription models. For turn-taking models like `deepgram/flux`,
|
|
2730
|
+
* end-of-turn behavior is controlled by the transcription end-of-turn settings
|
|
2731
|
+
* under `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
2594
2732
|
* `eager_eot_threshold`).
|
|
2595
2733
|
*/
|
|
2596
2734
|
interruption_settings?: InferenceEmbeddingInterruptionSettings;
|
|
2597
2735
|
/**
|
|
2598
|
-
* This is only needed when using third-party inference providers
|
|
2599
|
-
* `model`. The `identifier` for an integration secret
|
|
2736
|
+
* Body param: This is only needed when using third-party inference providers
|
|
2737
|
+
* selected by `model`. The `identifier` for an integration secret
|
|
2600
2738
|
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
2601
2739
|
* that refers to your LLM provider's API key. For bring-your-own endpoint
|
|
2602
2740
|
* authentication, use `external_llm.llm_api_key_ref` instead. Warning: Free plans
|
|
@@ -2604,70 +2742,111 @@ export interface AssistantCreateParams {
|
|
|
2604
2742
|
*/
|
|
2605
2743
|
llm_api_key_ref?: string;
|
|
2606
2744
|
/**
|
|
2607
|
-
* MCP servers attached to the assistant. Create MCP servers with
|
|
2745
|
+
* Body param: MCP servers attached to the assistant. Create MCP servers with
|
|
2608
2746
|
* `/ai/mcp_servers`, then reference them by `id` here.
|
|
2609
2747
|
*/
|
|
2610
2748
|
mcp_servers?: Array<AssistantMcpServer>;
|
|
2749
|
+
/**
|
|
2750
|
+
* Body param
|
|
2751
|
+
*/
|
|
2611
2752
|
messaging_settings?: MessagingSettings;
|
|
2612
2753
|
/**
|
|
2613
|
-
* ID of the model to use when `external_llm` is not set. You can use
|
|
2754
|
+
* Body param: ID of the model to use when `external_llm` is not set. You can use
|
|
2755
|
+
* the
|
|
2614
2756
|
* [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
|
|
2615
2757
|
* to see available models. If `external_llm` is provided, the assistant uses
|
|
2616
2758
|
* `external_llm` instead of this field. If neither `model` nor `external_llm` is
|
|
2617
2759
|
* provided, Telnyx applies the default model.
|
|
2618
2760
|
*/
|
|
2619
2761
|
model?: string;
|
|
2762
|
+
/**
|
|
2763
|
+
* Body param
|
|
2764
|
+
*/
|
|
2620
2765
|
observability_settings?: ObservabilityReq;
|
|
2621
2766
|
/**
|
|
2622
|
-
* Configuration for post-conversation processing. When enabled, the
|
|
2623
|
-
* receives one additional LLM turn after the conversation ends, allowing
|
|
2624
|
-
* execute tool calls such as logging to a CRM or sending a summary. The
|
|
2625
|
-
* can execute multiple parallel or sequential tools during this phase.
|
|
2767
|
+
* Body param: Configuration for post-conversation processing. When enabled, the
|
|
2768
|
+
* assistant receives one additional LLM turn after the conversation ends, allowing
|
|
2769
|
+
* it to execute tool calls such as logging to a CRM or sending a summary. The
|
|
2770
|
+
* assistant can execute multiple parallel or sequential tools during this phase.
|
|
2626
2771
|
* Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
2627
2772
|
* post-conversation. Beta feature.
|
|
2628
2773
|
*/
|
|
2629
2774
|
post_conversation_settings?: PostConversationSettingsReq;
|
|
2775
|
+
/**
|
|
2776
|
+
* Body param
|
|
2777
|
+
*/
|
|
2630
2778
|
privacy_settings?: PrivacySettings;
|
|
2631
2779
|
/**
|
|
2632
|
-
* Tags associated with the assistant. Tags can also be managed with
|
|
2633
|
-
* tag endpoints.
|
|
2780
|
+
* Body param: Tags associated with the assistant. Tags can also be managed with
|
|
2781
|
+
* the assistant tag endpoints.
|
|
2634
2782
|
*/
|
|
2635
2783
|
tags?: Array<string>;
|
|
2784
|
+
/**
|
|
2785
|
+
* Body param
|
|
2786
|
+
*/
|
|
2636
2787
|
telephony_settings?: TelephonySettings;
|
|
2637
2788
|
/**
|
|
2638
|
-
* IDs of shared tools to attach to the assistant. New integrations
|
|
2639
|
-
* `tool_ids` over inline `tools`.
|
|
2789
|
+
* Body param: IDs of shared tools to attach to the assistant. New integrations
|
|
2790
|
+
* should prefer `tool_ids` over inline `tools`.
|
|
2640
2791
|
*/
|
|
2641
2792
|
tool_ids?: Array<string>;
|
|
2642
2793
|
/**
|
|
2643
|
-
* Deprecated for new integrations. Inline tool definitions available
|
|
2644
|
-
* assistant. Prefer `tool_ids` to attach shared tools created with the AI
|
|
2645
|
-
* endpoints.
|
|
2794
|
+
* Body param: Deprecated for new integrations. Inline tool definitions available
|
|
2795
|
+
* to the assistant. Prefer `tool_ids` to attach shared tools created with the AI
|
|
2796
|
+
* Tools endpoints.
|
|
2646
2797
|
*/
|
|
2647
2798
|
tools?: Array<AssistantTool>;
|
|
2799
|
+
/**
|
|
2800
|
+
* Body param
|
|
2801
|
+
*/
|
|
2648
2802
|
transcription?: TranscriptionSettings;
|
|
2803
|
+
/**
|
|
2804
|
+
* Body param
|
|
2805
|
+
*/
|
|
2649
2806
|
voice_settings?: VoiceSettings;
|
|
2650
2807
|
/**
|
|
2651
|
-
* Configuration settings for the assistant's web widget.
|
|
2808
|
+
* Body param: Configuration settings for the assistant's web widget.
|
|
2652
2809
|
*/
|
|
2653
2810
|
widget_settings?: WidgetSettings;
|
|
2811
|
+
/**
|
|
2812
|
+
* Header param: Optional opaque, unquoted key for safely retrying the same logical
|
|
2813
|
+
* request. Keys must contain 1 to 255 letters, numbers, hyphens, or underscores.
|
|
2814
|
+
* Generate a unique UUID v4 for each operation and reuse it only when retrying
|
|
2815
|
+
* that operation with the same request. Invalid headers—including duplicate,
|
|
2816
|
+
* empty, malformed, or overlong values—return 400 with error code 10015. A request
|
|
2817
|
+
* already in progress with the same key returns 409; reusing the key with a
|
|
2818
|
+
* different request returns 422. Only successful responses are replayed, for up to
|
|
2819
|
+
* 24 hours. Do not include sensitive data in the key.
|
|
2820
|
+
*/
|
|
2821
|
+
'Idempotency-Key'?: string;
|
|
2654
2822
|
}
|
|
2655
2823
|
export interface AssistantImportsParams {
|
|
2656
2824
|
/**
|
|
2657
|
-
* Integration secret pointer that refers to the API key for the
|
|
2658
|
-
* This should be an identifier for an integration secret
|
|
2659
|
-
* /v2/integration_secrets.
|
|
2825
|
+
* Body param: Integration secret pointer that refers to the API key for the
|
|
2826
|
+
* external provider. This should be an identifier for an integration secret
|
|
2827
|
+
* created via /v2/integration_secrets.
|
|
2660
2828
|
*/
|
|
2661
2829
|
api_key_ref: string;
|
|
2662
2830
|
/**
|
|
2663
|
-
* The external provider to import assistants from.
|
|
2831
|
+
* Body param: The external provider to import assistants from.
|
|
2664
2832
|
*/
|
|
2665
2833
|
provider: 'elevenlabs' | 'vapi' | 'retell';
|
|
2666
2834
|
/**
|
|
2667
|
-
* Optional list of assistant IDs to import from the external provider.
|
|
2668
|
-
* provided, all assistants will be imported.
|
|
2835
|
+
* Body param: Optional list of assistant IDs to import from the external provider.
|
|
2836
|
+
* If not provided, all assistants will be imported.
|
|
2669
2837
|
*/
|
|
2670
2838
|
import_ids?: Array<string>;
|
|
2839
|
+
/**
|
|
2840
|
+
* Header param: Optional opaque, unquoted key for safely retrying the same logical
|
|
2841
|
+
* request. Keys must contain 1 to 255 letters, numbers, hyphens, or underscores.
|
|
2842
|
+
* Generate a unique UUID v4 for each operation and reuse it only when retrying
|
|
2843
|
+
* that operation with the same request. Invalid headers—including duplicate,
|
|
2844
|
+
* empty, malformed, or overlong values—return 400 with error code 10015. A request
|
|
2845
|
+
* already in progress with the same key returns 409; reusing the key with a
|
|
2846
|
+
* different request returns 422. Only successful responses are replayed, for up to
|
|
2847
|
+
* 24 hours. Do not include sensitive data in the key.
|
|
2848
|
+
*/
|
|
2849
|
+
'Idempotency-Key'?: string;
|
|
2671
2850
|
}
|
|
2672
2851
|
export interface AssistantRetrieveParams {
|
|
2673
2852
|
/**
|
|
@@ -2845,17 +3024,56 @@ export interface AssistantChatParams {
|
|
|
2845
3024
|
*/
|
|
2846
3025
|
stream?: boolean;
|
|
2847
3026
|
}
|
|
3027
|
+
export interface AssistantCloneParams {
|
|
3028
|
+
/**
|
|
3029
|
+
* Optional opaque, unquoted key for safely retrying the same logical request. Keys
|
|
3030
|
+
* must contain 1 to 255 letters, numbers, hyphens, or underscores. Generate a
|
|
3031
|
+
* unique UUID v4 for each operation and reuse it only when retrying that operation
|
|
3032
|
+
* with the same request. Invalid headers—including duplicate, empty, malformed, or
|
|
3033
|
+
* overlong values—return 400 with error code 10015. A request already in progress
|
|
3034
|
+
* with the same key returns 409; reusing the key with a different request
|
|
3035
|
+
* returns 422. Only successful responses are replayed, for up to 24 hours. Do not
|
|
3036
|
+
* include sensitive data in the key.
|
|
3037
|
+
*/
|
|
3038
|
+
'Idempotency-Key'?: string;
|
|
3039
|
+
}
|
|
2848
3040
|
export interface AssistantSendSMSParams {
|
|
3041
|
+
/**
|
|
3042
|
+
* Body param
|
|
3043
|
+
*/
|
|
2849
3044
|
from: string;
|
|
3045
|
+
/**
|
|
3046
|
+
* Body param
|
|
3047
|
+
*/
|
|
2850
3048
|
to: string;
|
|
3049
|
+
/**
|
|
3050
|
+
* Body param
|
|
3051
|
+
*/
|
|
2851
3052
|
conversation_metadata?: {
|
|
2852
3053
|
[key: string]: string | number | boolean;
|
|
2853
3054
|
};
|
|
3055
|
+
/**
|
|
3056
|
+
* Body param
|
|
3057
|
+
*/
|
|
2854
3058
|
should_create_conversation?: boolean;
|
|
3059
|
+
/**
|
|
3060
|
+
* Body param
|
|
3061
|
+
*/
|
|
2855
3062
|
text?: string;
|
|
3063
|
+
/**
|
|
3064
|
+
* Header param: Optional opaque, unquoted key for safely retrying the same logical
|
|
3065
|
+
* request. Keys must contain 1 to 255 letters, numbers, hyphens, or underscores.
|
|
3066
|
+
* Generate a unique UUID v4 for each operation and reuse it only when retrying
|
|
3067
|
+
* that operation with the same request. Invalid headers—including duplicate,
|
|
3068
|
+
* empty, malformed, or overlong values—return 400 with error code 10015. A request
|
|
3069
|
+
* already in progress with the same key returns 409; reusing the key with a
|
|
3070
|
+
* different request returns 422. Only successful responses are replayed, for up to
|
|
3071
|
+
* 24 hours. Do not include sensitive data in the key.
|
|
3072
|
+
*/
|
|
3073
|
+
'Idempotency-Key'?: string;
|
|
2856
3074
|
}
|
|
2857
3075
|
export declare namespace Assistants {
|
|
2858
|
-
export { type ArithmeticExpression as ArithmeticExpression, type Assistant as Assistant, type AssistantIntegration as AssistantIntegration, type AssistantMcpServer as AssistantMcpServer, type AssistantTool as AssistantTool, type AssistantsList as AssistantsList, type AudioVisualizerConfig as AudioVisualizerConfig, type AuthenticationMethod as AuthenticationMethod, type BooleanOpExpression as BooleanOpExpression, type ComparisonExpression as ComparisonExpression, type ConversationFlowReq as ConversationFlowReq, type EnabledFeatures as EnabledFeatures, type Expression as Expression, type ExternalLlm as ExternalLlm, type ExternalLlmReq as ExternalLlmReq, type FallbackConfig as FallbackConfig, type FallbackConfigReq as FallbackConfigReq, type FlowEdge as FlowEdge, type HangupTool as HangupTool, type HangupToolParams as HangupToolParams, type ImportMetadata as ImportMetadata, type InferenceEmbedding as InferenceEmbedding, type InferenceEmbeddingInterruptionSettings as InferenceEmbeddingInterruptionSettings, type InferenceEmbeddingWebhookToolParams as InferenceEmbeddingWebhookToolParams, type InsightSettings as InsightSettings, type MessagingSettings as MessagingSettings, type NodePosition as NodePosition, type Observability as Observability, type ObservabilityReq as ObservabilityReq, type ObservabilityStatus as ObservabilityStatus, type PostConversationSettings as PostConversationSettings, type PostConversationSettingsReq as PostConversationSettingsReq, type PrivacySettings as PrivacySettings, type PromptSyncStatus as PromptSyncStatus, type RetrievalTool as RetrievalTool, type StartSpeakingPlan as StartSpeakingPlan, type TelephonySettings as TelephonySettings, type TranscriptionEndpointingPlan as TranscriptionEndpointingPlan, type TranscriptionSettings as TranscriptionSettings, type TranscriptionSettingsConfig as TranscriptionSettingsConfig, type TransferTool as TransferTool, type VoiceSettings as VoiceSettings, type WebhookTool as WebhookTool, type WidgetSettings as WidgetSettings, type AssistantDeleteResponse as AssistantDeleteResponse, type AssistantChatResponse as AssistantChatResponse, type AssistantGetTexmlResponse as AssistantGetTexmlResponse, type AssistantSendSMSResponse as AssistantSendSMSResponse, type AssistantCreateParams as AssistantCreateParams, type AssistantImportsParams as AssistantImportsParams, type AssistantRetrieveParams as AssistantRetrieveParams, type AssistantUpdateParams as AssistantUpdateParams, type AssistantChatParams as AssistantChatParams, type AssistantSendSMSParams as AssistantSendSMSParams, };
|
|
3076
|
+
export { type ArithmeticExpression as ArithmeticExpression, type Assistant as Assistant, type AssistantIntegration as AssistantIntegration, type AssistantMcpServer as AssistantMcpServer, type AssistantTool as AssistantTool, type AssistantsList as AssistantsList, type AudioVisualizerConfig as AudioVisualizerConfig, type AuthenticationMethod as AuthenticationMethod, type BooleanOpExpression as BooleanOpExpression, type ComparisonExpression as ComparisonExpression, type ConversationFlow as ConversationFlow, type ConversationFlowReq as ConversationFlowReq, type EnabledFeatures as EnabledFeatures, type Expression as Expression, type ExternalLlm as ExternalLlm, type ExternalLlmReq as ExternalLlmReq, type FallbackConfig as FallbackConfig, type FallbackConfigReq as FallbackConfigReq, type FlowEdge as FlowEdge, type FlowNode as FlowNode, type FlowNodeReq as FlowNodeReq, type HangupTool as HangupTool, type HangupToolParams as HangupToolParams, type ImportMetadata as ImportMetadata, type InferenceEmbedding as InferenceEmbedding, type InferenceEmbeddingInterruptionSettings as InferenceEmbeddingInterruptionSettings, type InferenceEmbeddingWebhookToolParams as InferenceEmbeddingWebhookToolParams, type InsightSettings as InsightSettings, type MessagingSettings as MessagingSettings, type NodePosition as NodePosition, type Observability as Observability, type ObservabilityReq as ObservabilityReq, type ObservabilityStatus as ObservabilityStatus, type PostConversationSettings as PostConversationSettings, type PostConversationSettingsReq as PostConversationSettingsReq, type PrivacySettings as PrivacySettings, type PromptSyncStatus as PromptSyncStatus, type RetrievalTool as RetrievalTool, type SpeakNode as SpeakNode, type SpeakNodeReq as SpeakNodeReq, type StartSpeakingPlan as StartSpeakingPlan, type TelephonySettings as TelephonySettings, type ToolNode as ToolNode, type ToolNodeReq as ToolNodeReq, type TranscriptionEndpointingPlan as TranscriptionEndpointingPlan, type TranscriptionSettings as TranscriptionSettings, type TranscriptionSettingsConfig as TranscriptionSettingsConfig, type TransferTool as TransferTool, type VoiceSettings as VoiceSettings, type WebhookTool as WebhookTool, type WidgetSettings as WidgetSettings, type AssistantDeleteResponse as AssistantDeleteResponse, type AssistantChatResponse as AssistantChatResponse, type AssistantGetTexmlResponse as AssistantGetTexmlResponse, type AssistantSendSMSResponse as AssistantSendSMSResponse, type AssistantCreateParams as AssistantCreateParams, type AssistantImportsParams as AssistantImportsParams, type AssistantRetrieveParams as AssistantRetrieveParams, type AssistantUpdateParams as AssistantUpdateParams, type AssistantChatParams as AssistantChatParams, type AssistantCloneParams as AssistantCloneParams, type AssistantSendSMSParams as AssistantSendSMSParams, };
|
|
2859
3077
|
export { Tests as Tests, type AssistantTest as AssistantTest, type TelnyxConversationChannel as TelnyxConversationChannel, type AssistantTestsDefaultFlatPagination as AssistantTestsDefaultFlatPagination, type TestListParams as TestListParams, type TestCreateParams as TestCreateParams, type TestUpdateParams as TestUpdateParams, };
|
|
2860
3078
|
export { CanaryDeploys as CanaryDeploys, type CanaryDeploy as CanaryDeploy, type CanaryDeployResponse as CanaryDeployResponse, type Clause as Clause, type RolloutSlot as RolloutSlot, type RuleInput as RuleInput, type RuleOutput as RuleOutput, type Serve as Serve, type CanaryDeployCreateParams as CanaryDeployCreateParams, type CanaryDeployUpdateParams as CanaryDeployUpdateParams, };
|
|
2861
3079
|
export { ScheduledEvents as ScheduledEvents, type ConversationChannelType as ConversationChannelType, type EventStatus as EventStatus, type ScheduledCallSettings as ScheduledCallSettings, type ScheduledEventResponse as ScheduledEventResponse, type ScheduledPhoneCallEventResponse as ScheduledPhoneCallEventResponse, type ScheduledSMSEventResponse as ScheduledSMSEventResponse, type ScheduledEventListResponse as ScheduledEventListResponse, type ScheduledEventListResponsesDefaultFlatPagination as ScheduledEventListResponsesDefaultFlatPagination, type ScheduledEventListParams as ScheduledEventListParams, type ScheduledEventCreateParams as ScheduledEventCreateParams, type ScheduledEventDeleteParams as ScheduledEventDeleteParams, type ScheduledEventRetrieveParams as ScheduledEventRetrieveParams, };
|