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
|
@@ -68,6 +68,7 @@ import {
|
|
|
68
68
|
Tests,
|
|
69
69
|
} from './tests/tests';
|
|
70
70
|
import { APIPromise } from '../../../core/api-promise';
|
|
71
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
71
72
|
import { RequestOptions } from '../../../internal/request-options';
|
|
72
73
|
import { path } from '../../../internal/utils/path';
|
|
73
74
|
|
|
@@ -96,7 +97,8 @@ export class Assistants extends APIResource {
|
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
/**
|
|
99
|
-
*
|
|
100
|
+
* Creates a new AI assistant from the provided configuration, including its model,
|
|
101
|
+
* instructions, and attached tools, and returns the created assistant.
|
|
100
102
|
*
|
|
101
103
|
* @example
|
|
102
104
|
* ```ts
|
|
@@ -107,8 +109,16 @@ export class Assistants extends APIResource {
|
|
|
107
109
|
* });
|
|
108
110
|
* ```
|
|
109
111
|
*/
|
|
110
|
-
create(
|
|
111
|
-
|
|
112
|
+
create(params: AssistantCreateParams, options?: RequestOptions): APIPromise<InferenceEmbedding> {
|
|
113
|
+
const { 'Idempotency-Key': idempotencyKey, ...body } = params;
|
|
114
|
+
return this._client.post('/ai/assistants', {
|
|
115
|
+
body,
|
|
116
|
+
...options,
|
|
117
|
+
headers: buildHeaders([
|
|
118
|
+
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
119
|
+
options?.headers,
|
|
120
|
+
]),
|
|
121
|
+
});
|
|
112
122
|
}
|
|
113
123
|
|
|
114
124
|
/**
|
|
@@ -125,8 +135,16 @@ export class Assistants extends APIResource {
|
|
|
125
135
|
* });
|
|
126
136
|
* ```
|
|
127
137
|
*/
|
|
128
|
-
imports(
|
|
129
|
-
|
|
138
|
+
imports(params: AssistantImportsParams, options?: RequestOptions): APIPromise<AssistantsList> {
|
|
139
|
+
const { 'Idempotency-Key': idempotencyKey, ...body } = params;
|
|
140
|
+
return this._client.post('/ai/assistants/import', {
|
|
141
|
+
body,
|
|
142
|
+
...options,
|
|
143
|
+
headers: buildHeaders([
|
|
144
|
+
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
145
|
+
options?.headers,
|
|
146
|
+
]),
|
|
147
|
+
});
|
|
130
148
|
}
|
|
131
149
|
|
|
132
150
|
/**
|
|
@@ -161,7 +179,9 @@ export class Assistants extends APIResource {
|
|
|
161
179
|
}
|
|
162
180
|
|
|
163
181
|
/**
|
|
164
|
-
*
|
|
182
|
+
* Updates the specified AI assistant's attributes and returns the updated
|
|
183
|
+
* assistant. The request can also control how the change is promoted across
|
|
184
|
+
* assistant versions.
|
|
165
185
|
*
|
|
166
186
|
* @example
|
|
167
187
|
* ```ts
|
|
@@ -216,8 +236,19 @@ export class Assistants extends APIResource {
|
|
|
216
236
|
* );
|
|
217
237
|
* ```
|
|
218
238
|
*/
|
|
219
|
-
clone(
|
|
220
|
-
|
|
239
|
+
clone(
|
|
240
|
+
assistantID: string,
|
|
241
|
+
params: AssistantCloneParams | null | undefined = {},
|
|
242
|
+
options?: RequestOptions,
|
|
243
|
+
): APIPromise<InferenceEmbedding> {
|
|
244
|
+
const { 'Idempotency-Key': idempotencyKey } = params ?? {};
|
|
245
|
+
return this._client.post(path`/ai/assistants/${assistantID}/clone`, {
|
|
246
|
+
...options,
|
|
247
|
+
headers: buildHeaders([
|
|
248
|
+
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
249
|
+
options?.headers,
|
|
250
|
+
]),
|
|
251
|
+
});
|
|
221
252
|
}
|
|
222
253
|
|
|
223
254
|
/**
|
|
@@ -261,10 +292,18 @@ export class Assistants extends APIResource {
|
|
|
261
292
|
*/
|
|
262
293
|
sendSMS(
|
|
263
294
|
assistantID: string,
|
|
264
|
-
|
|
295
|
+
params: AssistantSendSMSParams,
|
|
265
296
|
options?: RequestOptions,
|
|
266
297
|
): APIPromise<AssistantSendSMSResponse> {
|
|
267
|
-
|
|
298
|
+
const { 'Idempotency-Key': idempotencyKey, ...body } = params;
|
|
299
|
+
return this._client.post(path`/ai/assistants/${assistantID}/chat/sms`, {
|
|
300
|
+
body,
|
|
301
|
+
...options,
|
|
302
|
+
headers: buildHeaders([
|
|
303
|
+
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
304
|
+
options?.headers,
|
|
305
|
+
]),
|
|
306
|
+
});
|
|
268
307
|
}
|
|
269
308
|
}
|
|
270
309
|
|
|
@@ -535,6 +574,21 @@ export namespace AssistantTool {
|
|
|
535
574
|
*/
|
|
536
575
|
warm_message_delay_ms?: number | null;
|
|
537
576
|
|
|
577
|
+
/**
|
|
578
|
+
* Requires the transfer destination to accept the call before the caller is
|
|
579
|
+
* bridged. When enabled, the assistant speaks privately with the destination after
|
|
580
|
+
* they answer — delivering the warm transfer message and asking whether they take
|
|
581
|
+
* the call — while the caller keeps hearing ringback. The assistant then finalizes
|
|
582
|
+
* the transfer with the built-in `complete_transfer` tool: an accept bridges the
|
|
583
|
+
* calls, a decline hangs up the destination and returns the assistant to the
|
|
584
|
+
* caller with the reason the destination gave. Requires either
|
|
585
|
+
* `warm_transfer_instructions` or a `message` on every target, otherwise the
|
|
586
|
+
* assistant fails to save. Only available for calls started with
|
|
587
|
+
* `ai_assistant_start`; single-caller conversations only (a conference or
|
|
588
|
+
* additional invited participants fall back to a regular warm transfer).
|
|
589
|
+
*/
|
|
590
|
+
warm_transfer_acceptance?: Transfer.WarmTransferAcceptance;
|
|
591
|
+
|
|
538
592
|
/**
|
|
539
593
|
* Natural language instructions for your agent for how to provide context for the
|
|
540
594
|
* transfer recipient.
|
|
@@ -549,6 +603,13 @@ export namespace AssistantTool {
|
|
|
549
603
|
*/
|
|
550
604
|
to: string;
|
|
551
605
|
|
|
606
|
+
/**
|
|
607
|
+
* The warm transfer message to deliver to this specific target. When set, it takes
|
|
608
|
+
* precedence over the message the assistant composes from
|
|
609
|
+
* `warm_transfer_instructions`.
|
|
610
|
+
*/
|
|
611
|
+
message?: string;
|
|
612
|
+
|
|
552
613
|
/**
|
|
553
614
|
* The name of the target.
|
|
554
615
|
*/
|
|
@@ -691,6 +752,35 @@ export namespace AssistantTool {
|
|
|
691
752
|
}
|
|
692
753
|
}
|
|
693
754
|
}
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* Requires the transfer destination to accept the call before the caller is
|
|
758
|
+
* bridged. When enabled, the assistant speaks privately with the destination after
|
|
759
|
+
* they answer — delivering the warm transfer message and asking whether they take
|
|
760
|
+
* the call — while the caller keeps hearing ringback. The assistant then finalizes
|
|
761
|
+
* the transfer with the built-in `complete_transfer` tool: an accept bridges the
|
|
762
|
+
* calls, a decline hangs up the destination and returns the assistant to the
|
|
763
|
+
* caller with the reason the destination gave. Requires either
|
|
764
|
+
* `warm_transfer_instructions` or a `message` on every target, otherwise the
|
|
765
|
+
* assistant fails to save. Only available for calls started with
|
|
766
|
+
* `ai_assistant_start`; single-caller conversations only (a conference or
|
|
767
|
+
* additional invited participants fall back to a regular warm transfer).
|
|
768
|
+
*/
|
|
769
|
+
export interface WarmTransferAcceptance {
|
|
770
|
+
/**
|
|
771
|
+
* Whether the destination must accept the transfer before the calls are bridged.
|
|
772
|
+
*/
|
|
773
|
+
enabled?: boolean;
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* Controls whether the private exchange between the assistant and the transfer
|
|
777
|
+
* destination is kept out of the conversation. With `private` (default) the
|
|
778
|
+
* exchange never reaches the conversation history, AI conversations, webhooks or
|
|
779
|
+
* insights, and the transfer tool result is rewritten with the outcome only. With
|
|
780
|
+
* `shared` the exchange stays in the conversation like any other messages.
|
|
781
|
+
*/
|
|
782
|
+
end_user_target_context_mode?: 'private' | 'shared';
|
|
783
|
+
}
|
|
694
784
|
}
|
|
695
785
|
}
|
|
696
786
|
|
|
@@ -1009,20 +1099,13 @@ export interface ComparisonExpression {
|
|
|
1009
1099
|
}
|
|
1010
1100
|
|
|
1011
1101
|
/**
|
|
1012
|
-
* Conversation flow as
|
|
1013
|
-
*
|
|
1014
|
-
* A directed graph of `FlowNodeReq` connected by `FlowEdge`s. Validation enforces
|
|
1015
|
-
* unique node/edge IDs, that `start_node_id` references a real node, and that
|
|
1016
|
-
* every edge's endpoints reference real nodes.
|
|
1102
|
+
* Conversation flow as returned by the API.
|
|
1017
1103
|
*/
|
|
1018
|
-
export interface
|
|
1104
|
+
export interface ConversationFlow {
|
|
1019
1105
|
/**
|
|
1020
|
-
* All nodes in the flow.
|
|
1021
|
-
* (`type: prompt`) or a tool node (`type: tool`).
|
|
1106
|
+
* All nodes in the flow.
|
|
1022
1107
|
*/
|
|
1023
|
-
nodes: Array<
|
|
1024
|
-
ConversationFlowReq.FlowNodeReq | ConversationFlowReq.ToolNodeReq | ConversationFlowReq.SpeakNodeReq
|
|
1025
|
-
>;
|
|
1108
|
+
nodes: Array<FlowNode | ToolNode | SpeakNode>;
|
|
1026
1109
|
|
|
1027
1110
|
/**
|
|
1028
1111
|
* ID of the node where the conversation begins.
|
|
@@ -1030,187 +1113,34 @@ export interface ConversationFlowReq {
|
|
|
1030
1113
|
start_node_id: string;
|
|
1031
1114
|
|
|
1032
1115
|
/**
|
|
1033
|
-
* Directed transitions between nodes.
|
|
1116
|
+
* Directed transitions between nodes.
|
|
1034
1117
|
*/
|
|
1035
1118
|
edges?: Array<FlowEdge>;
|
|
1036
1119
|
}
|
|
1037
1120
|
|
|
1038
|
-
|
|
1121
|
+
/**
|
|
1122
|
+
* Conversation flow as supplied by API clients (create / update).
|
|
1123
|
+
*
|
|
1124
|
+
* A directed graph of `FlowNodeReq` connected by `FlowEdge`s. Validation enforces
|
|
1125
|
+
* unique node/edge IDs, that `start_node_id` references a real node, and that
|
|
1126
|
+
* every edge's endpoints reference real nodes.
|
|
1127
|
+
*/
|
|
1128
|
+
export interface ConversationFlowReq {
|
|
1039
1129
|
/**
|
|
1040
|
-
*
|
|
1041
|
-
*
|
|
1042
|
-
* Each node carries the prompt, tool scope, and optional overrides for
|
|
1043
|
-
* model/voice/transcription. Unset overrides cascade from the assistant.
|
|
1130
|
+
* All nodes in the flow. Must contain `start_node_id`. Each node is a prompt node
|
|
1131
|
+
* (`type: prompt`) or a tool node (`type: tool`).
|
|
1044
1132
|
*/
|
|
1045
|
-
|
|
1046
|
-
/**
|
|
1047
|
-
* Caller-supplied unique identifier for this node within the flow.
|
|
1048
|
-
*/
|
|
1049
|
-
id: string;
|
|
1050
|
-
|
|
1051
|
-
/**
|
|
1052
|
-
* Prompt that drives the LLM while this node is active. Required.
|
|
1053
|
-
*/
|
|
1054
|
-
instructions: string;
|
|
1055
|
-
|
|
1056
|
-
/**
|
|
1057
|
-
* Override for `Assistant.external_llm` while this node is active. Use this to
|
|
1058
|
-
* route a node's turns to a different external LLM (different `model`, `base_url`,
|
|
1059
|
-
* credentials). Part of the LLM bundle — see `model` for cascade semantics.
|
|
1060
|
-
* Mutually exclusive with `model` on the node (a single LLM identity per node).
|
|
1061
|
-
*/
|
|
1062
|
-
external_llm?: AssistantsAPI.ExternalLlmReq;
|
|
1063
|
-
|
|
1064
|
-
/**
|
|
1065
|
-
* How `instructions` combine with the assistant-level instructions. `replace`
|
|
1066
|
-
* (default): the node's instructions are used alone. `append`: the node's
|
|
1067
|
-
* instructions are concatenated after the assistant's instructions.
|
|
1068
|
-
*/
|
|
1069
|
-
instructions_mode?: 'replace' | 'append';
|
|
1070
|
-
|
|
1071
|
-
/**
|
|
1072
|
-
* Override for `Assistant.llm_api_key_ref` while this node is active. Part of the
|
|
1073
|
-
* LLM bundle — see `model` for cascade semantics.
|
|
1074
|
-
*/
|
|
1075
|
-
llm_api_key_ref?: string;
|
|
1076
|
-
|
|
1077
|
-
/**
|
|
1078
|
-
* Override for `Assistant.model` while this node is active. Part of the LLM bundle
|
|
1079
|
-
* (`model` + `llm_api_key_ref` + `external_llm`): when any of the three is set on
|
|
1080
|
-
* the node, all three are taken from the node and the assistant-level LLM identity
|
|
1081
|
-
* is not consulted. When none of the three is set, the assistant's bundle cascades
|
|
1082
|
-
* unchanged.
|
|
1083
|
-
*/
|
|
1084
|
-
model?: string;
|
|
1085
|
-
|
|
1086
|
-
/**
|
|
1087
|
-
* Optional human-readable label, displayed in authoring UIs.
|
|
1088
|
-
*/
|
|
1089
|
-
name?: string;
|
|
1090
|
-
|
|
1091
|
-
/**
|
|
1092
|
-
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1093
|
-
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1094
|
-
* reloads.
|
|
1095
|
-
*/
|
|
1096
|
-
position?: AssistantsAPI.NodePosition;
|
|
1097
|
-
|
|
1098
|
-
/**
|
|
1099
|
-
* IDs of shared (org-level) tools available at this node. Knowledge bases are
|
|
1100
|
-
* attached the same way — via a shared retrieval tool. Tools not listed here are
|
|
1101
|
-
* not callable while this node is active.
|
|
1102
|
-
*/
|
|
1103
|
-
shared_tool_ids?: Array<string>;
|
|
1104
|
-
|
|
1105
|
-
/**
|
|
1106
|
-
* How `shared_tool_ids` combine with the assistant-level tool set. `replace`
|
|
1107
|
-
* (default): only the node's tools are callable. `append`: the node's tools are
|
|
1108
|
-
* added to the assistant's tools. Ignored when `shared_tool_ids` is null.
|
|
1109
|
-
*/
|
|
1110
|
-
tools_mode?: 'replace' | 'append';
|
|
1111
|
-
|
|
1112
|
-
/**
|
|
1113
|
-
* Per-node transcription override (model/language/region). Unset fields cascade
|
|
1114
|
-
* from the assistant-level transcription.
|
|
1115
|
-
*/
|
|
1116
|
-
transcription?: AssistantsAPI.TranscriptionSettings;
|
|
1117
|
-
|
|
1118
|
-
/**
|
|
1119
|
-
* Node kind discriminator. `prompt` (default) is an LLM-driven step; `tool` is a
|
|
1120
|
-
* standalone tool execution (see `ToolNodeReq`).
|
|
1121
|
-
*/
|
|
1122
|
-
type?: 'prompt';
|
|
1123
|
-
|
|
1124
|
-
/**
|
|
1125
|
-
* Per-node voice override. Only fields set here override the assistant-level voice
|
|
1126
|
-
* settings; unset fields cascade.
|
|
1127
|
-
*/
|
|
1128
|
-
voice_settings?: AssistantsAPI.VoiceSettings;
|
|
1129
|
-
}
|
|
1133
|
+
nodes: Array<FlowNodeReq | ToolNodeReq | SpeakNodeReq>;
|
|
1130
1134
|
|
|
1131
1135
|
/**
|
|
1132
|
-
*
|
|
1133
|
-
*
|
|
1134
|
-
* Unlike a prompt node, a tool node has no instructions or model — it isn't an LLM
|
|
1135
|
-
* turn. Reaching it deterministically runs one shared tool (arguments filled from
|
|
1136
|
-
* matching dynamic variables by name), then routes on the result via outgoing
|
|
1137
|
-
* `tool_result` edges.
|
|
1136
|
+
* ID of the node where the conversation begins.
|
|
1138
1137
|
*/
|
|
1139
|
-
|
|
1140
|
-
/**
|
|
1141
|
-
* Caller-supplied unique identifier for this node within the flow.
|
|
1142
|
-
*/
|
|
1143
|
-
id: string;
|
|
1144
|
-
|
|
1145
|
-
/**
|
|
1146
|
-
* ID of the single shared (org-level) tool this node executes. When the flow
|
|
1147
|
-
* reaches this node the tool runs as a deliberate step (no LLM turn); its outgoing
|
|
1148
|
-
* `tool_result` edges then route on the outcome. Arguments are filled from the
|
|
1149
|
-
* conversation's dynamic variables by name — a dynamic variable whose name matches
|
|
1150
|
-
* one of the tool's parameters supplies that argument. Cross-validated against the
|
|
1151
|
-
* org's shared tools on write.
|
|
1152
|
-
*/
|
|
1153
|
-
shared_tool_id: string;
|
|
1154
|
-
|
|
1155
|
-
/**
|
|
1156
|
-
* Optional human-readable label, displayed in authoring UIs.
|
|
1157
|
-
*/
|
|
1158
|
-
name?: string;
|
|
1159
|
-
|
|
1160
|
-
/**
|
|
1161
|
-
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1162
|
-
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1163
|
-
* reloads.
|
|
1164
|
-
*/
|
|
1165
|
-
position?: AssistantsAPI.NodePosition;
|
|
1166
|
-
|
|
1167
|
-
/**
|
|
1168
|
-
* Node kind discriminator. Always `tool` for a tool node.
|
|
1169
|
-
*/
|
|
1170
|
-
type?: 'tool';
|
|
1171
|
-
}
|
|
1138
|
+
start_node_id: string;
|
|
1172
1139
|
|
|
1173
1140
|
/**
|
|
1174
|
-
*
|
|
1175
|
-
*
|
|
1176
|
-
* Unlike a prompt node, a speak node has no instructions or model — it isn't an
|
|
1177
|
-
* LLM turn. Reaching it delivers `message` to the user verbatim (with
|
|
1178
|
-
* `{{variable}}` interpolation), then routes via outgoing `llm` / `expression`
|
|
1179
|
-
* edges.
|
|
1141
|
+
* Directed transitions between nodes. May be empty for a single-node flow.
|
|
1180
1142
|
*/
|
|
1181
|
-
|
|
1182
|
-
/**
|
|
1183
|
-
* Caller-supplied unique identifier for this node within the flow.
|
|
1184
|
-
*/
|
|
1185
|
-
id: string;
|
|
1186
|
-
|
|
1187
|
-
/**
|
|
1188
|
-
* Message delivered to the user verbatim when the flow reaches this node. No LLM
|
|
1189
|
-
* turn — the text is spoken/sent exactly as written. `{{variable}}` placeholders
|
|
1190
|
-
* are interpolated from the conversation's dynamic variables; an unresolved
|
|
1191
|
-
* placeholder renders as an empty string. After delivering, the flow routes via
|
|
1192
|
-
* the node's outgoing `llm` / `expression` edges (commonly a single unconditional
|
|
1193
|
-
* edge).
|
|
1194
|
-
*/
|
|
1195
|
-
message: string;
|
|
1196
|
-
|
|
1197
|
-
/**
|
|
1198
|
-
* Optional human-readable label, displayed in authoring UIs.
|
|
1199
|
-
*/
|
|
1200
|
-
name?: string;
|
|
1201
|
-
|
|
1202
|
-
/**
|
|
1203
|
-
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1204
|
-
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1205
|
-
* reloads.
|
|
1206
|
-
*/
|
|
1207
|
-
position?: AssistantsAPI.NodePosition;
|
|
1208
|
-
|
|
1209
|
-
/**
|
|
1210
|
-
* Node kind discriminator. Always `speak` for a speak node.
|
|
1211
|
-
*/
|
|
1212
|
-
type?: 'speak';
|
|
1213
|
-
}
|
|
1143
|
+
edges?: Array<FlowEdge>;
|
|
1214
1144
|
}
|
|
1215
1145
|
|
|
1216
1146
|
/**
|
|
@@ -1542,6 +1472,192 @@ export namespace FlowEdge {
|
|
|
1542
1472
|
}
|
|
1543
1473
|
}
|
|
1544
1474
|
|
|
1475
|
+
/**
|
|
1476
|
+
* One step in a conversation flow, as returned by the API.
|
|
1477
|
+
*/
|
|
1478
|
+
export interface FlowNode {
|
|
1479
|
+
/**
|
|
1480
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
1481
|
+
*/
|
|
1482
|
+
id: string;
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* Prompt that drives the LLM while this node is active. Required.
|
|
1486
|
+
*/
|
|
1487
|
+
instructions: string;
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* Override for `Assistant.external_llm` while this node is active. Use this to
|
|
1491
|
+
* route a node's turns to a different external LLM (different `model`, `base_url`,
|
|
1492
|
+
* credentials). Part of the LLM bundle — see `model` for cascade semantics.
|
|
1493
|
+
* Mutually exclusive with `model` on the node (a single LLM identity per node).
|
|
1494
|
+
*/
|
|
1495
|
+
external_llm?: ExternalLlm;
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* How `instructions` combine with the assistant-level instructions. `replace`
|
|
1499
|
+
* (default): the node's instructions are used alone. `append`: the node's
|
|
1500
|
+
* instructions are concatenated after the assistant's instructions.
|
|
1501
|
+
*/
|
|
1502
|
+
instructions_mode?: 'replace' | 'append';
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* Override for `Assistant.llm_api_key_ref` while this node is active. Part of the
|
|
1506
|
+
* LLM bundle — see `model` for cascade semantics.
|
|
1507
|
+
*/
|
|
1508
|
+
llm_api_key_ref?: string;
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* Override for `Assistant.model` while this node is active. Part of the LLM bundle
|
|
1512
|
+
* (`model` + `llm_api_key_ref` + `external_llm`): when any of the three is set on
|
|
1513
|
+
* the node, all three are taken from the node and the assistant-level LLM identity
|
|
1514
|
+
* is not consulted. When none of the three is set, the assistant's bundle cascades
|
|
1515
|
+
* unchanged.
|
|
1516
|
+
*/
|
|
1517
|
+
model?: string;
|
|
1518
|
+
|
|
1519
|
+
/**
|
|
1520
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
1521
|
+
*/
|
|
1522
|
+
name?: string;
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1526
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1527
|
+
* reloads.
|
|
1528
|
+
*/
|
|
1529
|
+
position?: NodePosition;
|
|
1530
|
+
|
|
1531
|
+
/**
|
|
1532
|
+
* IDs of shared (org-level) tools available at this node. Knowledge bases are
|
|
1533
|
+
* attached the same way — via a shared retrieval tool. Tools not listed here are
|
|
1534
|
+
* not callable while this node is active.
|
|
1535
|
+
*/
|
|
1536
|
+
shared_tool_ids?: Array<string>;
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* Full tool definitions for this node, resolved from `shared_tool_ids`
|
|
1540
|
+
* server-side. Populated on responses so clients can render the flow without a
|
|
1541
|
+
* follow-up fetch per shared tool. Ignored on input — set `shared_tool_ids` to
|
|
1542
|
+
* configure a node's tools.
|
|
1543
|
+
*/
|
|
1544
|
+
tools?: Array<Array<AssistantTool>>;
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* How `shared_tool_ids` combine with the assistant-level tool set. `replace`
|
|
1548
|
+
* (default): only the node's tools are callable. `append`: the node's tools are
|
|
1549
|
+
* added to the assistant's tools. Ignored when `shared_tool_ids` is null.
|
|
1550
|
+
*/
|
|
1551
|
+
tools_mode?: 'replace' | 'append';
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* Per-node transcription override (response form).
|
|
1555
|
+
*/
|
|
1556
|
+
transcription?: TranscriptionSettings;
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* Node kind discriminator. `prompt` is an LLM-driven step.
|
|
1560
|
+
*/
|
|
1561
|
+
type?: 'prompt';
|
|
1562
|
+
|
|
1563
|
+
/**
|
|
1564
|
+
* Per-node voice override (response form).
|
|
1565
|
+
*/
|
|
1566
|
+
voice_settings?: VoiceSettings;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* One step in a conversation flow, as supplied by API clients.
|
|
1571
|
+
*
|
|
1572
|
+
* Each node carries the prompt, tool scope, and optional overrides for
|
|
1573
|
+
* model/voice/transcription. Unset overrides cascade from the assistant.
|
|
1574
|
+
*/
|
|
1575
|
+
export interface FlowNodeReq {
|
|
1576
|
+
/**
|
|
1577
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
1578
|
+
*/
|
|
1579
|
+
id: string;
|
|
1580
|
+
|
|
1581
|
+
/**
|
|
1582
|
+
* Prompt that drives the LLM while this node is active. Required.
|
|
1583
|
+
*/
|
|
1584
|
+
instructions: string;
|
|
1585
|
+
|
|
1586
|
+
/**
|
|
1587
|
+
* Override for `Assistant.external_llm` while this node is active. Use this to
|
|
1588
|
+
* route a node's turns to a different external LLM (different `model`, `base_url`,
|
|
1589
|
+
* credentials). Part of the LLM bundle — see `model` for cascade semantics.
|
|
1590
|
+
* Mutually exclusive with `model` on the node (a single LLM identity per node).
|
|
1591
|
+
*/
|
|
1592
|
+
external_llm?: ExternalLlmReq;
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* How `instructions` combine with the assistant-level instructions. `replace`
|
|
1596
|
+
* (default): the node's instructions are used alone. `append`: the node's
|
|
1597
|
+
* instructions are concatenated after the assistant's instructions.
|
|
1598
|
+
*/
|
|
1599
|
+
instructions_mode?: 'replace' | 'append';
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* Override for `Assistant.llm_api_key_ref` while this node is active. Part of the
|
|
1603
|
+
* LLM bundle — see `model` for cascade semantics.
|
|
1604
|
+
*/
|
|
1605
|
+
llm_api_key_ref?: string;
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* Override for `Assistant.model` while this node is active. Part of the LLM bundle
|
|
1609
|
+
* (`model` + `llm_api_key_ref` + `external_llm`): when any of the three is set on
|
|
1610
|
+
* the node, all three are taken from the node and the assistant-level LLM identity
|
|
1611
|
+
* is not consulted. When none of the three is set, the assistant's bundle cascades
|
|
1612
|
+
* unchanged.
|
|
1613
|
+
*/
|
|
1614
|
+
model?: string;
|
|
1615
|
+
|
|
1616
|
+
/**
|
|
1617
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
1618
|
+
*/
|
|
1619
|
+
name?: string;
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1623
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1624
|
+
* reloads.
|
|
1625
|
+
*/
|
|
1626
|
+
position?: NodePosition;
|
|
1627
|
+
|
|
1628
|
+
/**
|
|
1629
|
+
* IDs of shared (org-level) tools available at this node. Knowledge bases are
|
|
1630
|
+
* attached the same way — via a shared retrieval tool. Tools not listed here are
|
|
1631
|
+
* not callable while this node is active.
|
|
1632
|
+
*/
|
|
1633
|
+
shared_tool_ids?: Array<string>;
|
|
1634
|
+
|
|
1635
|
+
/**
|
|
1636
|
+
* How `shared_tool_ids` combine with the assistant-level tool set. `replace`
|
|
1637
|
+
* (default): only the node's tools are callable. `append`: the node's tools are
|
|
1638
|
+
* added to the assistant's tools. Ignored when `shared_tool_ids` is null.
|
|
1639
|
+
*/
|
|
1640
|
+
tools_mode?: 'replace' | 'append';
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
* Per-node transcription override (model/language/region). Unset fields cascade
|
|
1644
|
+
* from the assistant-level transcription.
|
|
1645
|
+
*/
|
|
1646
|
+
transcription?: TranscriptionSettings;
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* Node kind discriminator. `prompt` (default) is an LLM-driven step; `tool` is a
|
|
1650
|
+
* standalone tool execution (see `ToolNodeReq`).
|
|
1651
|
+
*/
|
|
1652
|
+
type?: 'prompt';
|
|
1653
|
+
|
|
1654
|
+
/**
|
|
1655
|
+
* Per-node voice override. Only fields set here override the assistant-level voice
|
|
1656
|
+
* settings; unset fields cascade.
|
|
1657
|
+
*/
|
|
1658
|
+
voice_settings?: VoiceSettings;
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1545
1661
|
export interface HangupTool {
|
|
1546
1662
|
hangup: HangupToolParams;
|
|
1547
1663
|
|
|
@@ -1592,7 +1708,7 @@ export interface InferenceEmbedding {
|
|
|
1592
1708
|
/**
|
|
1593
1709
|
* Conversation flow as returned by the API.
|
|
1594
1710
|
*/
|
|
1595
|
-
conversation_flow?:
|
|
1711
|
+
conversation_flow?: ConversationFlow;
|
|
1596
1712
|
|
|
1597
1713
|
description?: string;
|
|
1598
1714
|
|
|
@@ -1698,242 +1814,43 @@ export interface InferenceEmbedding {
|
|
|
1698
1814
|
|
|
1699
1815
|
/**
|
|
1700
1816
|
* Tags associated with the assistant. Tags can also be managed with the assistant
|
|
1701
|
-
* tag endpoints.
|
|
1702
|
-
*/
|
|
1703
|
-
tags?: Array<string>;
|
|
1704
|
-
|
|
1705
|
-
telephony_settings?: TelephonySettings;
|
|
1706
|
-
|
|
1707
|
-
/**
|
|
1708
|
-
* Deprecated for new integrations. Inline tool definitions available to the
|
|
1709
|
-
* assistant. Prefer `tool_ids` to attach shared tools created with the AI Tools
|
|
1710
|
-
* endpoints.
|
|
1711
|
-
*/
|
|
1712
|
-
tools?: Array<AssistantTool>;
|
|
1713
|
-
|
|
1714
|
-
transcription?: TranscriptionSettings;
|
|
1715
|
-
|
|
1716
|
-
/**
|
|
1717
|
-
* Timestamp when this assistant version was created.
|
|
1718
|
-
*/
|
|
1719
|
-
version_created_at?: string;
|
|
1720
|
-
|
|
1721
|
-
/**
|
|
1722
|
-
* Identifier for the assistant version returned by version-aware assistant
|
|
1723
|
-
* endpoints.
|
|
1724
|
-
*/
|
|
1725
|
-
version_id?: string;
|
|
1726
|
-
|
|
1727
|
-
/**
|
|
1728
|
-
* Human-readable name for the assistant version.
|
|
1729
|
-
*/
|
|
1730
|
-
version_name?: string;
|
|
1731
|
-
|
|
1732
|
-
voice_settings?: VoiceSettings;
|
|
1733
|
-
|
|
1734
|
-
/**
|
|
1735
|
-
* Configuration settings for the assistant's web widget.
|
|
1736
|
-
*/
|
|
1737
|
-
widget_settings?: WidgetSettings;
|
|
1738
|
-
}
|
|
1739
|
-
|
|
1740
|
-
export namespace InferenceEmbedding {
|
|
1741
|
-
/**
|
|
1742
|
-
* Conversation flow as returned by the API.
|
|
1743
|
-
*/
|
|
1744
|
-
export interface ConversationFlow {
|
|
1745
|
-
/**
|
|
1746
|
-
* All nodes in the flow.
|
|
1747
|
-
*/
|
|
1748
|
-
nodes: Array<ConversationFlow.FlowNode | ConversationFlow.ToolNode | ConversationFlow.SpeakNode>;
|
|
1749
|
-
|
|
1750
|
-
/**
|
|
1751
|
-
* ID of the node where the conversation begins.
|
|
1752
|
-
*/
|
|
1753
|
-
start_node_id: string;
|
|
1754
|
-
|
|
1755
|
-
/**
|
|
1756
|
-
* Directed transitions between nodes.
|
|
1757
|
-
*/
|
|
1758
|
-
edges?: Array<AssistantsAPI.FlowEdge>;
|
|
1759
|
-
}
|
|
1760
|
-
|
|
1761
|
-
export namespace ConversationFlow {
|
|
1762
|
-
/**
|
|
1763
|
-
* One step in a conversation flow, as returned by the API.
|
|
1764
|
-
*/
|
|
1765
|
-
export interface FlowNode {
|
|
1766
|
-
/**
|
|
1767
|
-
* Caller-supplied unique identifier for this node within the flow.
|
|
1768
|
-
*/
|
|
1769
|
-
id: string;
|
|
1770
|
-
|
|
1771
|
-
/**
|
|
1772
|
-
* Prompt that drives the LLM while this node is active. Required.
|
|
1773
|
-
*/
|
|
1774
|
-
instructions: string;
|
|
1775
|
-
|
|
1776
|
-
/**
|
|
1777
|
-
* Override for `Assistant.external_llm` while this node is active. Use this to
|
|
1778
|
-
* route a node's turns to a different external LLM (different `model`, `base_url`,
|
|
1779
|
-
* credentials). Part of the LLM bundle — see `model` for cascade semantics.
|
|
1780
|
-
* Mutually exclusive with `model` on the node (a single LLM identity per node).
|
|
1781
|
-
*/
|
|
1782
|
-
external_llm?: AssistantsAPI.ExternalLlm;
|
|
1783
|
-
|
|
1784
|
-
/**
|
|
1785
|
-
* How `instructions` combine with the assistant-level instructions. `replace`
|
|
1786
|
-
* (default): the node's instructions are used alone. `append`: the node's
|
|
1787
|
-
* instructions are concatenated after the assistant's instructions.
|
|
1788
|
-
*/
|
|
1789
|
-
instructions_mode?: 'replace' | 'append';
|
|
1790
|
-
|
|
1791
|
-
/**
|
|
1792
|
-
* Override for `Assistant.llm_api_key_ref` while this node is active. Part of the
|
|
1793
|
-
* LLM bundle — see `model` for cascade semantics.
|
|
1794
|
-
*/
|
|
1795
|
-
llm_api_key_ref?: string;
|
|
1796
|
-
|
|
1797
|
-
/**
|
|
1798
|
-
* Override for `Assistant.model` while this node is active. Part of the LLM bundle
|
|
1799
|
-
* (`model` + `llm_api_key_ref` + `external_llm`): when any of the three is set on
|
|
1800
|
-
* the node, all three are taken from the node and the assistant-level LLM identity
|
|
1801
|
-
* is not consulted. When none of the three is set, the assistant's bundle cascades
|
|
1802
|
-
* unchanged.
|
|
1803
|
-
*/
|
|
1804
|
-
model?: string;
|
|
1805
|
-
|
|
1806
|
-
/**
|
|
1807
|
-
* Optional human-readable label, displayed in authoring UIs.
|
|
1808
|
-
*/
|
|
1809
|
-
name?: string;
|
|
1810
|
-
|
|
1811
|
-
/**
|
|
1812
|
-
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1813
|
-
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1814
|
-
* reloads.
|
|
1815
|
-
*/
|
|
1816
|
-
position?: AssistantsAPI.NodePosition;
|
|
1817
|
-
|
|
1818
|
-
/**
|
|
1819
|
-
* IDs of shared (org-level) tools available at this node. Knowledge bases are
|
|
1820
|
-
* attached the same way — via a shared retrieval tool. Tools not listed here are
|
|
1821
|
-
* not callable while this node is active.
|
|
1822
|
-
*/
|
|
1823
|
-
shared_tool_ids?: Array<string>;
|
|
1824
|
-
|
|
1825
|
-
/**
|
|
1826
|
-
* Full tool definitions for this node, resolved from `shared_tool_ids`
|
|
1827
|
-
* server-side. Populated on responses so clients can render the flow without a
|
|
1828
|
-
* follow-up fetch per shared tool. Ignored on input — set `shared_tool_ids` to
|
|
1829
|
-
* configure a node's tools.
|
|
1830
|
-
*/
|
|
1831
|
-
tools?: Array<Array<AssistantsAPI.AssistantTool>>;
|
|
1832
|
-
|
|
1833
|
-
/**
|
|
1834
|
-
* How `shared_tool_ids` combine with the assistant-level tool set. `replace`
|
|
1835
|
-
* (default): only the node's tools are callable. `append`: the node's tools are
|
|
1836
|
-
* added to the assistant's tools. Ignored when `shared_tool_ids` is null.
|
|
1837
|
-
*/
|
|
1838
|
-
tools_mode?: 'replace' | 'append';
|
|
1839
|
-
|
|
1840
|
-
/**
|
|
1841
|
-
* Per-node transcription override (response form).
|
|
1842
|
-
*/
|
|
1843
|
-
transcription?: AssistantsAPI.TranscriptionSettings;
|
|
1844
|
-
|
|
1845
|
-
/**
|
|
1846
|
-
* Node kind discriminator. `prompt` is an LLM-driven step.
|
|
1847
|
-
*/
|
|
1848
|
-
type?: 'prompt';
|
|
1849
|
-
|
|
1850
|
-
/**
|
|
1851
|
-
* Per-node voice override (response form).
|
|
1852
|
-
*/
|
|
1853
|
-
voice_settings?: AssistantsAPI.VoiceSettings;
|
|
1854
|
-
}
|
|
1855
|
-
|
|
1856
|
-
/**
|
|
1857
|
-
* A standalone tool step in a conversation flow, as returned by the API.
|
|
1858
|
-
*/
|
|
1859
|
-
export interface ToolNode {
|
|
1860
|
-
/**
|
|
1861
|
-
* Caller-supplied unique identifier for this node within the flow.
|
|
1862
|
-
*/
|
|
1863
|
-
id: string;
|
|
1864
|
-
|
|
1865
|
-
/**
|
|
1866
|
-
* ID of the single shared (org-level) tool this node executes. When the flow
|
|
1867
|
-
* reaches this node the tool runs as a deliberate step (no LLM turn); its outgoing
|
|
1868
|
-
* `tool_result` edges then route on the outcome. Arguments are filled from the
|
|
1869
|
-
* conversation's dynamic variables by name — a dynamic variable whose name matches
|
|
1870
|
-
* one of the tool's parameters supplies that argument. Cross-validated against the
|
|
1871
|
-
* org's shared tools on write.
|
|
1872
|
-
*/
|
|
1873
|
-
shared_tool_id: string;
|
|
1874
|
-
|
|
1875
|
-
/**
|
|
1876
|
-
* Optional human-readable label, displayed in authoring UIs.
|
|
1877
|
-
*/
|
|
1878
|
-
name?: string;
|
|
1817
|
+
* tag endpoints.
|
|
1818
|
+
*/
|
|
1819
|
+
tags?: Array<string>;
|
|
1879
1820
|
|
|
1880
|
-
|
|
1881
|
-
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1882
|
-
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1883
|
-
* reloads.
|
|
1884
|
-
*/
|
|
1885
|
-
position?: AssistantsAPI.NodePosition;
|
|
1821
|
+
telephony_settings?: TelephonySettings;
|
|
1886
1822
|
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1823
|
+
/**
|
|
1824
|
+
* Deprecated for new integrations. Inline tool definitions available to the
|
|
1825
|
+
* assistant. Prefer `tool_ids` to attach shared tools created with the AI Tools
|
|
1826
|
+
* endpoints.
|
|
1827
|
+
*/
|
|
1828
|
+
tools?: Array<AssistantTool>;
|
|
1893
1829
|
|
|
1894
|
-
|
|
1895
|
-
* Node kind discriminator. Always `tool` for a tool node.
|
|
1896
|
-
*/
|
|
1897
|
-
type?: 'tool';
|
|
1898
|
-
}
|
|
1830
|
+
transcription?: TranscriptionSettings;
|
|
1899
1831
|
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
/**
|
|
1905
|
-
* Caller-supplied unique identifier for this node within the flow.
|
|
1906
|
-
*/
|
|
1907
|
-
id: string;
|
|
1832
|
+
/**
|
|
1833
|
+
* Timestamp when this assistant version was created.
|
|
1834
|
+
*/
|
|
1835
|
+
version_created_at?: string;
|
|
1908
1836
|
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
* the node's outgoing `llm` / `expression` edges (commonly a single unconditional
|
|
1915
|
-
* edge).
|
|
1916
|
-
*/
|
|
1917
|
-
message: string;
|
|
1837
|
+
/**
|
|
1838
|
+
* Identifier for the assistant version returned by version-aware assistant
|
|
1839
|
+
* endpoints.
|
|
1840
|
+
*/
|
|
1841
|
+
version_id?: string;
|
|
1918
1842
|
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1843
|
+
/**
|
|
1844
|
+
* Human-readable name for the assistant version.
|
|
1845
|
+
*/
|
|
1846
|
+
version_name?: string;
|
|
1923
1847
|
|
|
1924
|
-
|
|
1925
|
-
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1926
|
-
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1927
|
-
* reloads.
|
|
1928
|
-
*/
|
|
1929
|
-
position?: AssistantsAPI.NodePosition;
|
|
1848
|
+
voice_settings?: VoiceSettings;
|
|
1930
1849
|
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
}
|
|
1936
|
-
}
|
|
1850
|
+
/**
|
|
1851
|
+
* Configuration settings for the assistant's web widget.
|
|
1852
|
+
*/
|
|
1853
|
+
widget_settings?: WidgetSettings;
|
|
1937
1854
|
}
|
|
1938
1855
|
|
|
1939
1856
|
/**
|
|
@@ -2016,6 +1933,17 @@ export namespace InferenceEmbeddingWebhookToolParams {
|
|
|
2016
1933
|
*/
|
|
2017
1934
|
headers?: Array<Webhook.Header>;
|
|
2018
1935
|
|
|
1936
|
+
/**
|
|
1937
|
+
* Filler messages spoken while a synchronous webhook request is in progress.
|
|
1938
|
+
* `request_start` messages are spoken immediately when the request begins.
|
|
1939
|
+
* `request_response_delayed` messages are spoken after `timing_ms` has elapsed
|
|
1940
|
+
* only if the webhook response is still pending. Filler messages are not used for
|
|
1941
|
+
* asynchronous webhooks.
|
|
1942
|
+
*/
|
|
1943
|
+
messages?: Array<
|
|
1944
|
+
Webhook.WebhookToolRequestStartMessage | Webhook.WebhookToolRequestResponseDelayedMessage
|
|
1945
|
+
>;
|
|
1946
|
+
|
|
2019
1947
|
/**
|
|
2020
1948
|
* The HTTP method to be used when calling the external tool.
|
|
2021
1949
|
*/
|
|
@@ -2030,6 +1958,29 @@ export namespace InferenceEmbeddingWebhookToolParams {
|
|
|
2030
1958
|
*/
|
|
2031
1959
|
path_parameters?: Webhook.PathParameters;
|
|
2032
1960
|
|
|
1961
|
+
/**
|
|
1962
|
+
* Body fields supplied by the assistant configuration rather than by the model.
|
|
1963
|
+
* They are never advertised in the tool definition, so the LLM can neither see nor
|
|
1964
|
+
* set them, and they take precedence over a `body_parameters` value of the same
|
|
1965
|
+
* name. Values support mustache templating, so they can hold dynamic variables
|
|
1966
|
+
* (`{{customer_id}}`) and integration secrets
|
|
1967
|
+
* (`{{#integration_secret}}my-secret{{/integration_secret}}`). Not sent on `GET`
|
|
1968
|
+
* requests, which carry no body.
|
|
1969
|
+
*/
|
|
1970
|
+
preset_body_fields?: { [key: string]: unknown };
|
|
1971
|
+
|
|
1972
|
+
/**
|
|
1973
|
+
* Query string parameters supplied by the assistant configuration rather than by
|
|
1974
|
+
* the model. They are never advertised in the tool definition, so the LLM can
|
|
1975
|
+
* neither see nor set them, and they take precedence over a `query_parameters`
|
|
1976
|
+
* value of the same name. Values support mustache templating, so they can hold
|
|
1977
|
+
* dynamic variables (`{{telnyx_end_user_target}}`) and integration secrets
|
|
1978
|
+
* (`{{#integration_secret}}my-secret{{/integration_secret}}`). Unlike values
|
|
1979
|
+
* templated directly into the `url`, these are percent-encoded, so a value such as
|
|
1980
|
+
* `+15551234567` survives the round trip.
|
|
1981
|
+
*/
|
|
1982
|
+
preset_query_params?: { [key: string]: unknown };
|
|
1983
|
+
|
|
2033
1984
|
/**
|
|
2034
1985
|
* The query parameters the webhook tool accepts, described as a JSON Schema
|
|
2035
1986
|
* object. These parameters will be passed to the webhook as the query of the
|
|
@@ -2088,6 +2039,41 @@ export namespace InferenceEmbeddingWebhookToolParams {
|
|
|
2088
2039
|
value?: string;
|
|
2089
2040
|
}
|
|
2090
2041
|
|
|
2042
|
+
export interface WebhookToolRequestStartMessage {
|
|
2043
|
+
/**
|
|
2044
|
+
* The text the assistant speaks.
|
|
2045
|
+
*/
|
|
2046
|
+
content: string;
|
|
2047
|
+
|
|
2048
|
+
/**
|
|
2049
|
+
* Speak the filler message immediately when the webhook request begins.
|
|
2050
|
+
*/
|
|
2051
|
+
type: 'request_start';
|
|
2052
|
+
|
|
2053
|
+
/**
|
|
2054
|
+
* An optional delay value. This value is ignored for `request_start` messages.
|
|
2055
|
+
*/
|
|
2056
|
+
timing_ms?: number;
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
export interface WebhookToolRequestResponseDelayedMessage {
|
|
2060
|
+
/**
|
|
2061
|
+
* The text the assistant speaks.
|
|
2062
|
+
*/
|
|
2063
|
+
content: string;
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* The delay in milliseconds from the start of the webhook request.
|
|
2067
|
+
*/
|
|
2068
|
+
timing_ms: number;
|
|
2069
|
+
|
|
2070
|
+
/**
|
|
2071
|
+
* Speak the filler message after the configured delay if the webhook response is
|
|
2072
|
+
* still pending.
|
|
2073
|
+
*/
|
|
2074
|
+
type: 'request_response_delayed';
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2091
2077
|
/**
|
|
2092
2078
|
* The path parameters the webhook tool accepts, described as a JSON Schema object.
|
|
2093
2079
|
* These parameters will be passed to the webhook as the path of the request if the
|
|
@@ -2305,6 +2291,85 @@ export interface RetrievalTool {
|
|
|
2305
2291
|
type: 'retrieval';
|
|
2306
2292
|
}
|
|
2307
2293
|
|
|
2294
|
+
/**
|
|
2295
|
+
* A standalone scripted-message step in a flow, as returned by the API.
|
|
2296
|
+
*/
|
|
2297
|
+
export interface SpeakNode {
|
|
2298
|
+
/**
|
|
2299
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
2300
|
+
*/
|
|
2301
|
+
id: string;
|
|
2302
|
+
|
|
2303
|
+
/**
|
|
2304
|
+
* Message delivered to the user verbatim when the flow reaches this node. No LLM
|
|
2305
|
+
* turn — the text is spoken/sent exactly as written. `{{variable}}` placeholders
|
|
2306
|
+
* are interpolated from the conversation's dynamic variables; an unresolved
|
|
2307
|
+
* placeholder renders as an empty string. After delivering, the flow routes via
|
|
2308
|
+
* the node's outgoing `llm` / `expression` edges (commonly a single unconditional
|
|
2309
|
+
* edge).
|
|
2310
|
+
*/
|
|
2311
|
+
message: string;
|
|
2312
|
+
|
|
2313
|
+
/**
|
|
2314
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
2315
|
+
*/
|
|
2316
|
+
name?: string;
|
|
2317
|
+
|
|
2318
|
+
/**
|
|
2319
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
2320
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
2321
|
+
* reloads.
|
|
2322
|
+
*/
|
|
2323
|
+
position?: NodePosition;
|
|
2324
|
+
|
|
2325
|
+
/**
|
|
2326
|
+
* Node kind discriminator. Always `speak` for a speak node.
|
|
2327
|
+
*/
|
|
2328
|
+
type?: 'speak';
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2331
|
+
/**
|
|
2332
|
+
* A standalone scripted-message step in a flow, as supplied by clients.
|
|
2333
|
+
*
|
|
2334
|
+
* Unlike a prompt node, a speak node has no instructions or model — it isn't an
|
|
2335
|
+
* LLM turn. Reaching it delivers `message` to the user verbatim (with
|
|
2336
|
+
* `{{variable}}` interpolation), then routes via outgoing `llm` / `expression`
|
|
2337
|
+
* edges.
|
|
2338
|
+
*/
|
|
2339
|
+
export interface SpeakNodeReq {
|
|
2340
|
+
/**
|
|
2341
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
2342
|
+
*/
|
|
2343
|
+
id: string;
|
|
2344
|
+
|
|
2345
|
+
/**
|
|
2346
|
+
* Message delivered to the user verbatim when the flow reaches this node. No LLM
|
|
2347
|
+
* turn — the text is spoken/sent exactly as written. `{{variable}}` placeholders
|
|
2348
|
+
* are interpolated from the conversation's dynamic variables; an unresolved
|
|
2349
|
+
* placeholder renders as an empty string. After delivering, the flow routes via
|
|
2350
|
+
* the node's outgoing `llm` / `expression` edges (commonly a single unconditional
|
|
2351
|
+
* edge).
|
|
2352
|
+
*/
|
|
2353
|
+
message: string;
|
|
2354
|
+
|
|
2355
|
+
/**
|
|
2356
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
2357
|
+
*/
|
|
2358
|
+
name?: string;
|
|
2359
|
+
|
|
2360
|
+
/**
|
|
2361
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
2362
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
2363
|
+
* reloads.
|
|
2364
|
+
*/
|
|
2365
|
+
position?: NodePosition;
|
|
2366
|
+
|
|
2367
|
+
/**
|
|
2368
|
+
* Node kind discriminator. Always `speak` for a speak node.
|
|
2369
|
+
*/
|
|
2370
|
+
type?: 'speak';
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2308
2373
|
/**
|
|
2309
2374
|
* Controls when the assistant starts speaking after the user stops. These
|
|
2310
2375
|
* thresholds primarily apply to non turn-taking transcription models. For
|
|
@@ -2357,6 +2422,18 @@ export interface TelephonySettings {
|
|
|
2357
2422
|
*/
|
|
2358
2423
|
recording_settings?: TelephonySettings.RecordingSettings;
|
|
2359
2424
|
|
|
2425
|
+
/**
|
|
2426
|
+
* Whether the assistant sends a `call.ai_gather.message_history_updated` webhook
|
|
2427
|
+
* with the full message history every time the conversation history changes. Leave
|
|
2428
|
+
* unset to inherit the `send_message_history_updates` value from the
|
|
2429
|
+
* `ai_assistant_start` or `gather_using_ai` command that started the conversation.
|
|
2430
|
+
* Setting it here is authoritative: `true` turns the webhooks on even when the
|
|
2431
|
+
* start command did not request them, and `false` turns them off even when it did.
|
|
2432
|
+
* Messages exchanged during a private warm transfer acceptance phase are never
|
|
2433
|
+
* included.
|
|
2434
|
+
*/
|
|
2435
|
+
send_message_history_updates?: boolean;
|
|
2436
|
+
|
|
2360
2437
|
/**
|
|
2361
2438
|
* When enabled, allows users to interact with your AI assistant directly from your
|
|
2362
2439
|
* website without requiring authentication. This is required for FE widgets that
|
|
@@ -2503,6 +2580,92 @@ export namespace TelephonySettings {
|
|
|
2503
2580
|
}
|
|
2504
2581
|
}
|
|
2505
2582
|
|
|
2583
|
+
/**
|
|
2584
|
+
* A standalone tool step in a conversation flow, as returned by the API.
|
|
2585
|
+
*/
|
|
2586
|
+
export interface ToolNode {
|
|
2587
|
+
/**
|
|
2588
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
2589
|
+
*/
|
|
2590
|
+
id: string;
|
|
2591
|
+
|
|
2592
|
+
/**
|
|
2593
|
+
* ID of the single shared (org-level) tool this node executes. When the flow
|
|
2594
|
+
* reaches this node the tool runs as a deliberate step (no LLM turn); its outgoing
|
|
2595
|
+
* `tool_result` edges then route on the outcome. Arguments are filled from the
|
|
2596
|
+
* conversation's dynamic variables by name — a dynamic variable whose name matches
|
|
2597
|
+
* one of the tool's parameters supplies that argument. Cross-validated against the
|
|
2598
|
+
* org's shared tools on write.
|
|
2599
|
+
*/
|
|
2600
|
+
shared_tool_id: string;
|
|
2601
|
+
|
|
2602
|
+
/**
|
|
2603
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
2604
|
+
*/
|
|
2605
|
+
name?: string;
|
|
2606
|
+
|
|
2607
|
+
/**
|
|
2608
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
2609
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
2610
|
+
* reloads.
|
|
2611
|
+
*/
|
|
2612
|
+
position?: NodePosition;
|
|
2613
|
+
|
|
2614
|
+
/**
|
|
2615
|
+
* Full tool definition resolved from `shared_tool_id` server-side. Populated on
|
|
2616
|
+
* responses so clients can render the node without a follow-up fetch. Ignored on
|
|
2617
|
+
* input — set `shared_tool_id`.
|
|
2618
|
+
*/
|
|
2619
|
+
tool?: Array<AssistantTool>;
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* Node kind discriminator. Always `tool` for a tool node.
|
|
2623
|
+
*/
|
|
2624
|
+
type?: 'tool';
|
|
2625
|
+
}
|
|
2626
|
+
|
|
2627
|
+
/**
|
|
2628
|
+
* A standalone tool step in a conversation flow, as supplied by clients.
|
|
2629
|
+
*
|
|
2630
|
+
* Unlike a prompt node, a tool node has no instructions or model — it isn't an LLM
|
|
2631
|
+
* turn. Reaching it deterministically runs one shared tool (arguments filled from
|
|
2632
|
+
* matching dynamic variables by name), then routes on the result via outgoing
|
|
2633
|
+
* `tool_result` edges.
|
|
2634
|
+
*/
|
|
2635
|
+
export interface ToolNodeReq {
|
|
2636
|
+
/**
|
|
2637
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
2638
|
+
*/
|
|
2639
|
+
id: string;
|
|
2640
|
+
|
|
2641
|
+
/**
|
|
2642
|
+
* ID of the single shared (org-level) tool this node executes. When the flow
|
|
2643
|
+
* reaches this node the tool runs as a deliberate step (no LLM turn); its outgoing
|
|
2644
|
+
* `tool_result` edges then route on the outcome. Arguments are filled from the
|
|
2645
|
+
* conversation's dynamic variables by name — a dynamic variable whose name matches
|
|
2646
|
+
* one of the tool's parameters supplies that argument. Cross-validated against the
|
|
2647
|
+
* org's shared tools on write.
|
|
2648
|
+
*/
|
|
2649
|
+
shared_tool_id: string;
|
|
2650
|
+
|
|
2651
|
+
/**
|
|
2652
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
2653
|
+
*/
|
|
2654
|
+
name?: string;
|
|
2655
|
+
|
|
2656
|
+
/**
|
|
2657
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
2658
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
2659
|
+
* reloads.
|
|
2660
|
+
*/
|
|
2661
|
+
position?: NodePosition;
|
|
2662
|
+
|
|
2663
|
+
/**
|
|
2664
|
+
* Node kind discriminator. Always `tool` for a tool node.
|
|
2665
|
+
*/
|
|
2666
|
+
type?: 'tool';
|
|
2667
|
+
}
|
|
2668
|
+
|
|
2506
2669
|
/**
|
|
2507
2670
|
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
2508
2671
|
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
@@ -2546,7 +2709,9 @@ export interface TranscriptionSettings {
|
|
|
2546
2709
|
* does not fall back to `auto` when `language` is omitted — omitting it applies
|
|
2547
2710
|
* `en` instead. For `reson8/turns`, supported values are `auto` (or unset) for
|
|
2548
2711
|
* automatic language detection, and the language codes `nl`, `en`, `fr`, `fy`,
|
|
2549
|
-
* `de`, `it`, `pl`, `pt`, `es`, and `sv` to fix the transcription language.
|
|
2712
|
+
* `de`, `it`, `pl`, `pt`, `es`, and `sv` to fix the transcription language. For
|
|
2713
|
+
* `cohere/ar-stt`, supported values are `ar` and `en`; unlike other models, this
|
|
2714
|
+
* model does not auto-detect and defaults to `ar` when `language` is omitted.
|
|
2550
2715
|
*/
|
|
2551
2716
|
language?: string;
|
|
2552
2717
|
|
|
@@ -2569,6 +2734,7 @@ export interface TranscriptionSettings {
|
|
|
2569
2734
|
* code-switching support.
|
|
2570
2735
|
* - `reson8/turns` is a turn-based streaming model covering 10 European languages
|
|
2571
2736
|
* with automatic language detection.
|
|
2737
|
+
* - `cohere/ar-stt` is a non-streaming Arabic and English transcription model.
|
|
2572
2738
|
*/
|
|
2573
2739
|
model?:
|
|
2574
2740
|
| 'deepgram/flux'
|
|
@@ -2581,6 +2747,7 @@ export interface TranscriptionSettings {
|
|
|
2581
2747
|
| 'nvidia/parakeet-v3'
|
|
2582
2748
|
| 'humain/realtime'
|
|
2583
2749
|
| 'reson8/turns'
|
|
2750
|
+
| 'cohere/ar-stt'
|
|
2584
2751
|
| 'distil-whisper/distil-large-v2'
|
|
2585
2752
|
| 'openai/whisper-large-v3-turbo';
|
|
2586
2753
|
|
|
@@ -3102,15 +3269,18 @@ export interface AssistantSendSMSResponse {
|
|
|
3102
3269
|
|
|
3103
3270
|
export interface AssistantCreateParams {
|
|
3104
3271
|
/**
|
|
3105
|
-
* System instructions for the assistant. These may be templated with
|
|
3272
|
+
* Body param: System instructions for the assistant. These may be templated with
|
|
3106
3273
|
* [dynamic variables](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables)
|
|
3107
3274
|
*/
|
|
3108
3275
|
instructions: string;
|
|
3109
3276
|
|
|
3277
|
+
/**
|
|
3278
|
+
* Body param
|
|
3279
|
+
*/
|
|
3110
3280
|
name: string;
|
|
3111
3281
|
|
|
3112
3282
|
/**
|
|
3113
|
-
* Conversation flow as supplied by API clients (create / update).
|
|
3283
|
+
* Body param: Conversation flow as supplied by API clients (create / update).
|
|
3114
3284
|
*
|
|
3115
3285
|
* A directed graph of `FlowNodeReq` connected by `FlowEdge`s. Validation enforces
|
|
3116
3286
|
* unique node/edge IDs, that `start_node_id` references a real node, and that
|
|
@@ -3118,42 +3288,54 @@ export interface AssistantCreateParams {
|
|
|
3118
3288
|
*/
|
|
3119
3289
|
conversation_flow?: ConversationFlowReq;
|
|
3120
3290
|
|
|
3291
|
+
/**
|
|
3292
|
+
* Body param
|
|
3293
|
+
*/
|
|
3121
3294
|
description?: string;
|
|
3122
3295
|
|
|
3123
3296
|
/**
|
|
3124
|
-
* Map of dynamic variables and their default values
|
|
3297
|
+
* Body param: Map of dynamic variables and their default values
|
|
3125
3298
|
*/
|
|
3126
3299
|
dynamic_variables?: { [key: string]: unknown };
|
|
3127
3300
|
|
|
3128
3301
|
/**
|
|
3129
|
-
* Timeout in milliseconds for the dynamic variables webhook. Must be
|
|
3130
|
-
* 10000 ms. If the webhook does not respond within this timeout, the
|
|
3131
|
-
* with default values. See the
|
|
3302
|
+
* Body param: Timeout in milliseconds for the dynamic variables webhook. Must be
|
|
3303
|
+
* between 1 and 10000 ms. If the webhook does not respond within this timeout, the
|
|
3304
|
+
* call proceeds with default values. See the
|
|
3132
3305
|
* [dynamic variables guide](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables).
|
|
3133
3306
|
*/
|
|
3134
3307
|
dynamic_variables_webhook_timeout_ms?: number;
|
|
3135
3308
|
|
|
3136
3309
|
/**
|
|
3137
|
-
* If `dynamic_variables_webhook_url` is set, Telnyx sends a POST
|
|
3138
|
-
* URL at the start of the conversation to resolve dynamic
|
|
3139
|
-
* the webhook response must wrap variables under a
|
|
3140
|
-
* object, e.g.
|
|
3141
|
-
*
|
|
3142
|
-
* the
|
|
3310
|
+
* Body param: If `dynamic_variables_webhook_url` is set, Telnyx sends a POST
|
|
3311
|
+
* request to this URL at the start of the conversation to resolve dynamic
|
|
3312
|
+
* variables. **Gotcha:** the webhook response must wrap variables under a
|
|
3313
|
+
* top-level `dynamic_variables` object, e.g.
|
|
3314
|
+
* `{"dynamic_variables": {"customer_name": "Jane"}}`. Returning a flat object will
|
|
3315
|
+
* be ignored and variables will fall back to their defaults. See the
|
|
3143
3316
|
* [dynamic variables guide](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables)
|
|
3144
3317
|
* for the full request/response format and timeout behavior.
|
|
3145
3318
|
*/
|
|
3146
3319
|
dynamic_variables_webhook_url?: string;
|
|
3147
3320
|
|
|
3321
|
+
/**
|
|
3322
|
+
* Body param
|
|
3323
|
+
*/
|
|
3148
3324
|
enabled_features?: Array<EnabledFeatures>;
|
|
3149
3325
|
|
|
3326
|
+
/**
|
|
3327
|
+
* Body param
|
|
3328
|
+
*/
|
|
3150
3329
|
external_llm?: ExternalLlmReq;
|
|
3151
3330
|
|
|
3331
|
+
/**
|
|
3332
|
+
* Body param
|
|
3333
|
+
*/
|
|
3152
3334
|
fallback_config?: FallbackConfigReq;
|
|
3153
3335
|
|
|
3154
3336
|
/**
|
|
3155
|
-
* Text that the assistant will use to start the conversation. This may
|
|
3156
|
-
* templated with
|
|
3337
|
+
* Body param: Text that the assistant will use to start the conversation. This may
|
|
3338
|
+
* be templated with
|
|
3157
3339
|
* [dynamic variables](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables).
|
|
3158
3340
|
* Use an empty string to have the assistant wait for the user to speak first. Use
|
|
3159
3341
|
* the special value `<assistant-speaks-first-with-model-generated-message>` to
|
|
@@ -3161,29 +3343,32 @@ export interface AssistantCreateParams {
|
|
|
3161
3343
|
*/
|
|
3162
3344
|
greeting?: string;
|
|
3163
3345
|
|
|
3346
|
+
/**
|
|
3347
|
+
* Body param
|
|
3348
|
+
*/
|
|
3164
3349
|
insight_settings?: InsightSettings;
|
|
3165
3350
|
|
|
3166
3351
|
/**
|
|
3167
|
-
* Connected integrations attached to the assistant. The catalog of
|
|
3168
|
-
* integrations is at `/ai/integrations`; the user's connected
|
|
3169
|
-
* `/ai/integrations/connections`. Each item references a
|
|
3170
|
-
* `integration_id`.
|
|
3352
|
+
* Body param: Connected integrations attached to the assistant. The catalog of
|
|
3353
|
+
* available integrations is at `/ai/integrations`; the user's connected
|
|
3354
|
+
* integrations are at `/ai/integrations/connections`. Each item references a
|
|
3355
|
+
* catalog integration by `integration_id`.
|
|
3171
3356
|
*/
|
|
3172
3357
|
integrations?: Array<AssistantIntegration>;
|
|
3173
3358
|
|
|
3174
3359
|
/**
|
|
3175
|
-
* Settings for interruptions and how the assistant decides the user
|
|
3176
|
-
* speaking. These timings are most relevant when using non
|
|
3177
|
-
* transcription models. For turn-taking models like `deepgram/flux`,
|
|
3178
|
-
* behavior is controlled by the transcription end-of-turn settings
|
|
3179
|
-
* `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
3360
|
+
* Body param: Settings for interruptions and how the assistant decides the user
|
|
3361
|
+
* has finished speaking. These timings are most relevant when using non
|
|
3362
|
+
* turn-taking transcription models. For turn-taking models like `deepgram/flux`,
|
|
3363
|
+
* end-of-turn behavior is controlled by the transcription end-of-turn settings
|
|
3364
|
+
* under `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
3180
3365
|
* `eager_eot_threshold`).
|
|
3181
3366
|
*/
|
|
3182
3367
|
interruption_settings?: InferenceEmbeddingInterruptionSettings;
|
|
3183
3368
|
|
|
3184
3369
|
/**
|
|
3185
|
-
* This is only needed when using third-party inference providers
|
|
3186
|
-
* `model`. The `identifier` for an integration secret
|
|
3370
|
+
* Body param: This is only needed when using third-party inference providers
|
|
3371
|
+
* selected by `model`. The `identifier` for an integration secret
|
|
3187
3372
|
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
3188
3373
|
* that refers to your LLM provider's API key. For bring-your-own endpoint
|
|
3189
3374
|
* authentication, use `external_llm.llm_api_key_ref` instead. Warning: Free plans
|
|
@@ -3192,15 +3377,19 @@ export interface AssistantCreateParams {
|
|
|
3192
3377
|
llm_api_key_ref?: string;
|
|
3193
3378
|
|
|
3194
3379
|
/**
|
|
3195
|
-
* MCP servers attached to the assistant. Create MCP servers with
|
|
3380
|
+
* Body param: MCP servers attached to the assistant. Create MCP servers with
|
|
3196
3381
|
* `/ai/mcp_servers`, then reference them by `id` here.
|
|
3197
3382
|
*/
|
|
3198
3383
|
mcp_servers?: Array<AssistantMcpServer>;
|
|
3199
3384
|
|
|
3385
|
+
/**
|
|
3386
|
+
* Body param
|
|
3387
|
+
*/
|
|
3200
3388
|
messaging_settings?: MessagingSettings;
|
|
3201
3389
|
|
|
3202
3390
|
/**
|
|
3203
|
-
* ID of the model to use when `external_llm` is not set. You can use
|
|
3391
|
+
* Body param: ID of the model to use when `external_llm` is not set. You can use
|
|
3392
|
+
* the
|
|
3204
3393
|
* [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
|
|
3205
3394
|
* to see available models. If `external_llm` is provided, the assistant uses
|
|
3206
3395
|
* `external_llm` instead of this field. If neither `model` nor `external_llm` is
|
|
@@ -3208,69 +3397,108 @@ export interface AssistantCreateParams {
|
|
|
3208
3397
|
*/
|
|
3209
3398
|
model?: string;
|
|
3210
3399
|
|
|
3400
|
+
/**
|
|
3401
|
+
* Body param
|
|
3402
|
+
*/
|
|
3211
3403
|
observability_settings?: ObservabilityReq;
|
|
3212
3404
|
|
|
3213
3405
|
/**
|
|
3214
|
-
* Configuration for post-conversation processing. When enabled, the
|
|
3215
|
-
* receives one additional LLM turn after the conversation ends, allowing
|
|
3216
|
-
* execute tool calls such as logging to a CRM or sending a summary. The
|
|
3217
|
-
* can execute multiple parallel or sequential tools during this phase.
|
|
3406
|
+
* Body param: Configuration for post-conversation processing. When enabled, the
|
|
3407
|
+
* assistant receives one additional LLM turn after the conversation ends, allowing
|
|
3408
|
+
* it to execute tool calls such as logging to a CRM or sending a summary. The
|
|
3409
|
+
* assistant can execute multiple parallel or sequential tools during this phase.
|
|
3218
3410
|
* Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
3219
3411
|
* post-conversation. Beta feature.
|
|
3220
3412
|
*/
|
|
3221
3413
|
post_conversation_settings?: PostConversationSettingsReq;
|
|
3222
3414
|
|
|
3415
|
+
/**
|
|
3416
|
+
* Body param
|
|
3417
|
+
*/
|
|
3223
3418
|
privacy_settings?: PrivacySettings;
|
|
3224
3419
|
|
|
3225
3420
|
/**
|
|
3226
|
-
* Tags associated with the assistant. Tags can also be managed with
|
|
3227
|
-
* tag endpoints.
|
|
3421
|
+
* Body param: Tags associated with the assistant. Tags can also be managed with
|
|
3422
|
+
* the assistant tag endpoints.
|
|
3228
3423
|
*/
|
|
3229
3424
|
tags?: Array<string>;
|
|
3230
3425
|
|
|
3426
|
+
/**
|
|
3427
|
+
* Body param
|
|
3428
|
+
*/
|
|
3231
3429
|
telephony_settings?: TelephonySettings;
|
|
3232
3430
|
|
|
3233
3431
|
/**
|
|
3234
|
-
* IDs of shared tools to attach to the assistant. New integrations
|
|
3235
|
-
* `tool_ids` over inline `tools`.
|
|
3432
|
+
* Body param: IDs of shared tools to attach to the assistant. New integrations
|
|
3433
|
+
* should prefer `tool_ids` over inline `tools`.
|
|
3236
3434
|
*/
|
|
3237
3435
|
tool_ids?: Array<string>;
|
|
3238
3436
|
|
|
3239
3437
|
/**
|
|
3240
|
-
* Deprecated for new integrations. Inline tool definitions available
|
|
3241
|
-
* assistant. Prefer `tool_ids` to attach shared tools created with the AI
|
|
3242
|
-
* endpoints.
|
|
3438
|
+
* Body param: Deprecated for new integrations. Inline tool definitions available
|
|
3439
|
+
* to the assistant. Prefer `tool_ids` to attach shared tools created with the AI
|
|
3440
|
+
* Tools endpoints.
|
|
3243
3441
|
*/
|
|
3244
3442
|
tools?: Array<AssistantTool>;
|
|
3245
3443
|
|
|
3444
|
+
/**
|
|
3445
|
+
* Body param
|
|
3446
|
+
*/
|
|
3246
3447
|
transcription?: TranscriptionSettings;
|
|
3247
3448
|
|
|
3449
|
+
/**
|
|
3450
|
+
* Body param
|
|
3451
|
+
*/
|
|
3248
3452
|
voice_settings?: VoiceSettings;
|
|
3249
3453
|
|
|
3250
3454
|
/**
|
|
3251
|
-
* Configuration settings for the assistant's web widget.
|
|
3455
|
+
* Body param: Configuration settings for the assistant's web widget.
|
|
3252
3456
|
*/
|
|
3253
3457
|
widget_settings?: WidgetSettings;
|
|
3458
|
+
|
|
3459
|
+
/**
|
|
3460
|
+
* Header param: Optional opaque, unquoted key for safely retrying the same logical
|
|
3461
|
+
* request. Keys must contain 1 to 255 letters, numbers, hyphens, or underscores.
|
|
3462
|
+
* Generate a unique UUID v4 for each operation and reuse it only when retrying
|
|
3463
|
+
* that operation with the same request. Invalid headers—including duplicate,
|
|
3464
|
+
* empty, malformed, or overlong values—return 400 with error code 10015. A request
|
|
3465
|
+
* already in progress with the same key returns 409; reusing the key with a
|
|
3466
|
+
* different request returns 422. Only successful responses are replayed, for up to
|
|
3467
|
+
* 24 hours. Do not include sensitive data in the key.
|
|
3468
|
+
*/
|
|
3469
|
+
'Idempotency-Key'?: string;
|
|
3254
3470
|
}
|
|
3255
3471
|
|
|
3256
3472
|
export interface AssistantImportsParams {
|
|
3257
3473
|
/**
|
|
3258
|
-
* Integration secret pointer that refers to the API key for the
|
|
3259
|
-
* This should be an identifier for an integration secret
|
|
3260
|
-
* /v2/integration_secrets.
|
|
3474
|
+
* Body param: Integration secret pointer that refers to the API key for the
|
|
3475
|
+
* external provider. This should be an identifier for an integration secret
|
|
3476
|
+
* created via /v2/integration_secrets.
|
|
3261
3477
|
*/
|
|
3262
3478
|
api_key_ref: string;
|
|
3263
3479
|
|
|
3264
3480
|
/**
|
|
3265
|
-
* The external provider to import assistants from.
|
|
3481
|
+
* Body param: The external provider to import assistants from.
|
|
3266
3482
|
*/
|
|
3267
3483
|
provider: 'elevenlabs' | 'vapi' | 'retell';
|
|
3268
3484
|
|
|
3269
3485
|
/**
|
|
3270
|
-
* Optional list of assistant IDs to import from the external provider.
|
|
3271
|
-
* provided, all assistants will be imported.
|
|
3486
|
+
* Body param: Optional list of assistant IDs to import from the external provider.
|
|
3487
|
+
* If not provided, all assistants will be imported.
|
|
3272
3488
|
*/
|
|
3273
3489
|
import_ids?: Array<string>;
|
|
3490
|
+
|
|
3491
|
+
/**
|
|
3492
|
+
* Header param: Optional opaque, unquoted key for safely retrying the same logical
|
|
3493
|
+
* request. Keys must contain 1 to 255 letters, numbers, hyphens, or underscores.
|
|
3494
|
+
* Generate a unique UUID v4 for each operation and reuse it only when retrying
|
|
3495
|
+
* that operation with the same request. Invalid headers—including duplicate,
|
|
3496
|
+
* empty, malformed, or overlong values—return 400 with error code 10015. A request
|
|
3497
|
+
* already in progress with the same key returns 409; reusing the key with a
|
|
3498
|
+
* different request returns 422. Only successful responses are replayed, for up to
|
|
3499
|
+
* 24 hours. Do not include sensitive data in the key.
|
|
3500
|
+
*/
|
|
3501
|
+
'Idempotency-Key'?: string;
|
|
3274
3502
|
}
|
|
3275
3503
|
|
|
3276
3504
|
export interface AssistantRetrieveParams {
|
|
@@ -3485,16 +3713,57 @@ export interface AssistantChatParams {
|
|
|
3485
3713
|
stream?: boolean;
|
|
3486
3714
|
}
|
|
3487
3715
|
|
|
3716
|
+
export interface AssistantCloneParams {
|
|
3717
|
+
/**
|
|
3718
|
+
* Optional opaque, unquoted key for safely retrying the same logical request. Keys
|
|
3719
|
+
* must contain 1 to 255 letters, numbers, hyphens, or underscores. Generate a
|
|
3720
|
+
* unique UUID v4 for each operation and reuse it only when retrying that operation
|
|
3721
|
+
* with the same request. Invalid headers—including duplicate, empty, malformed, or
|
|
3722
|
+
* overlong values—return 400 with error code 10015. A request already in progress
|
|
3723
|
+
* with the same key returns 409; reusing the key with a different request
|
|
3724
|
+
* returns 422. Only successful responses are replayed, for up to 24 hours. Do not
|
|
3725
|
+
* include sensitive data in the key.
|
|
3726
|
+
*/
|
|
3727
|
+
'Idempotency-Key'?: string;
|
|
3728
|
+
}
|
|
3729
|
+
|
|
3488
3730
|
export interface AssistantSendSMSParams {
|
|
3731
|
+
/**
|
|
3732
|
+
* Body param
|
|
3733
|
+
*/
|
|
3489
3734
|
from: string;
|
|
3490
3735
|
|
|
3736
|
+
/**
|
|
3737
|
+
* Body param
|
|
3738
|
+
*/
|
|
3491
3739
|
to: string;
|
|
3492
3740
|
|
|
3741
|
+
/**
|
|
3742
|
+
* Body param
|
|
3743
|
+
*/
|
|
3493
3744
|
conversation_metadata?: { [key: string]: string | number | boolean };
|
|
3494
3745
|
|
|
3746
|
+
/**
|
|
3747
|
+
* Body param
|
|
3748
|
+
*/
|
|
3495
3749
|
should_create_conversation?: boolean;
|
|
3496
3750
|
|
|
3751
|
+
/**
|
|
3752
|
+
* Body param
|
|
3753
|
+
*/
|
|
3497
3754
|
text?: string;
|
|
3755
|
+
|
|
3756
|
+
/**
|
|
3757
|
+
* Header param: Optional opaque, unquoted key for safely retrying the same logical
|
|
3758
|
+
* request. Keys must contain 1 to 255 letters, numbers, hyphens, or underscores.
|
|
3759
|
+
* Generate a unique UUID v4 for each operation and reuse it only when retrying
|
|
3760
|
+
* that operation with the same request. Invalid headers—including duplicate,
|
|
3761
|
+
* empty, malformed, or overlong values—return 400 with error code 10015. A request
|
|
3762
|
+
* already in progress with the same key returns 409; reusing the key with a
|
|
3763
|
+
* different request returns 422. Only successful responses are replayed, for up to
|
|
3764
|
+
* 24 hours. Do not include sensitive data in the key.
|
|
3765
|
+
*/
|
|
3766
|
+
'Idempotency-Key'?: string;
|
|
3498
3767
|
}
|
|
3499
3768
|
|
|
3500
3769
|
Assistants.Tests = Tests;
|
|
@@ -3517,6 +3786,7 @@ export declare namespace Assistants {
|
|
|
3517
3786
|
type AuthenticationMethod as AuthenticationMethod,
|
|
3518
3787
|
type BooleanOpExpression as BooleanOpExpression,
|
|
3519
3788
|
type ComparisonExpression as ComparisonExpression,
|
|
3789
|
+
type ConversationFlow as ConversationFlow,
|
|
3520
3790
|
type ConversationFlowReq as ConversationFlowReq,
|
|
3521
3791
|
type EnabledFeatures as EnabledFeatures,
|
|
3522
3792
|
type Expression as Expression,
|
|
@@ -3525,6 +3795,8 @@ export declare namespace Assistants {
|
|
|
3525
3795
|
type FallbackConfig as FallbackConfig,
|
|
3526
3796
|
type FallbackConfigReq as FallbackConfigReq,
|
|
3527
3797
|
type FlowEdge as FlowEdge,
|
|
3798
|
+
type FlowNode as FlowNode,
|
|
3799
|
+
type FlowNodeReq as FlowNodeReq,
|
|
3528
3800
|
type HangupTool as HangupTool,
|
|
3529
3801
|
type HangupToolParams as HangupToolParams,
|
|
3530
3802
|
type ImportMetadata as ImportMetadata,
|
|
@@ -3542,8 +3814,12 @@ export declare namespace Assistants {
|
|
|
3542
3814
|
type PrivacySettings as PrivacySettings,
|
|
3543
3815
|
type PromptSyncStatus as PromptSyncStatus,
|
|
3544
3816
|
type RetrievalTool as RetrievalTool,
|
|
3817
|
+
type SpeakNode as SpeakNode,
|
|
3818
|
+
type SpeakNodeReq as SpeakNodeReq,
|
|
3545
3819
|
type StartSpeakingPlan as StartSpeakingPlan,
|
|
3546
3820
|
type TelephonySettings as TelephonySettings,
|
|
3821
|
+
type ToolNode as ToolNode,
|
|
3822
|
+
type ToolNodeReq as ToolNodeReq,
|
|
3547
3823
|
type TranscriptionEndpointingPlan as TranscriptionEndpointingPlan,
|
|
3548
3824
|
type TranscriptionSettings as TranscriptionSettings,
|
|
3549
3825
|
type TranscriptionSettingsConfig as TranscriptionSettingsConfig,
|
|
@@ -3560,6 +3836,7 @@ export declare namespace Assistants {
|
|
|
3560
3836
|
type AssistantRetrieveParams as AssistantRetrieveParams,
|
|
3561
3837
|
type AssistantUpdateParams as AssistantUpdateParams,
|
|
3562
3838
|
type AssistantChatParams as AssistantChatParams,
|
|
3839
|
+
type AssistantCloneParams as AssistantCloneParams,
|
|
3563
3840
|
type AssistantSendSMSParams as AssistantSendSMSParams,
|
|
3564
3841
|
};
|
|
3565
3842
|
|