telnyx 6.83.0 → 7.2.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 +345 -3
- package/README.md +1 -49
- package/client.d.mts +96 -85
- package/client.d.mts.map +1 -1
- package/client.d.ts +96 -85
- package/client.d.ts.map +1 -1
- package/client.js +19 -7
- package/client.js.map +1 -1
- package/client.mjs +20 -8
- package/client.mjs.map +1 -1
- package/index.d.mts +0 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts +0 -1
- package/index.d.ts.map +1 -1
- package/index.js +1 -4
- package/index.js.map +1 -1
- package/index.mjs +0 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -2
- package/resources/advanced-orders.d.mts +9 -59
- package/resources/advanced-orders.d.mts.map +1 -1
- package/resources/advanced-orders.d.ts +9 -59
- package/resources/advanced-orders.d.ts.map +1 -1
- package/resources/advanced-orders.js +1 -1
- package/resources/advanced-orders.mjs +1 -1
- package/resources/ai/ai.d.mts +266 -26
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +266 -26
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +68 -6
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +71 -9
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +675 -11
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +675 -11
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js +4 -0
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs +5 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/index.d.mts +4 -3
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +4 -3
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/index.js +3 -1
- package/resources/ai/assistants/index.js.map +1 -1
- package/resources/ai/assistants/index.mjs +2 -1
- package/resources/ai/assistants/index.mjs.map +1 -1
- package/resources/ai/assistants/instructions.d.mts +53 -0
- package/resources/ai/assistants/instructions.d.mts.map +1 -0
- package/resources/ai/assistants/instructions.d.ts +53 -0
- package/resources/ai/assistants/instructions.d.ts.map +1 -0
- package/resources/ai/assistants/instructions.js +47 -0
- package/resources/ai/assistants/instructions.js.map +1 -0
- package/resources/ai/assistants/instructions.mjs +43 -0
- package/resources/ai/assistants/instructions.mjs.map +1 -0
- package/resources/ai/assistants/scheduled-events.d.mts +41 -1
- package/resources/ai/assistants/scheduled-events.d.mts.map +1 -1
- package/resources/ai/assistants/scheduled-events.d.ts +41 -1
- package/resources/ai/assistants/scheduled-events.d.ts.map +1 -1
- package/resources/ai/assistants/tags.d.mts +14 -16
- package/resources/ai/assistants/tags.d.mts.map +1 -1
- package/resources/ai/assistants/tags.d.ts +14 -16
- package/resources/ai/assistants/tags.d.ts.map +1 -1
- package/resources/ai/assistants/tags.js +6 -5
- package/resources/ai/assistants/tags.js.map +1 -1
- package/resources/ai/assistants/tags.mjs +6 -5
- package/resources/ai/assistants/tags.mjs.map +1 -1
- package/resources/ai/assistants/tests/runs.d.mts +3 -0
- package/resources/ai/assistants/tests/runs.d.mts.map +1 -1
- package/resources/ai/assistants/tests/runs.d.ts +3 -0
- package/resources/ai/assistants/tests/runs.d.ts.map +1 -1
- package/resources/ai/assistants/tools.d.mts +7 -1
- package/resources/ai/assistants/tools.d.mts.map +1 -1
- package/resources/ai/assistants/tools.d.ts +7 -1
- package/resources/ai/assistants/tools.d.ts.map +1 -1
- package/resources/ai/assistants/versions.d.mts +25 -3
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +25 -3
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/chat.d.mts +171 -1
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +171 -1
- package/resources/ai/chat.d.ts.map +1 -1
- package/resources/ai/clusters.d.mts +3 -0
- package/resources/ai/clusters.d.mts.map +1 -1
- package/resources/ai/clusters.d.ts +3 -0
- package/resources/ai/clusters.d.ts.map +1 -1
- package/resources/ai/index.d.mts +8 -8
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +8 -8
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +2 -2
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/integrations/index.d.mts +1 -1
- package/resources/ai/integrations/index.d.mts.map +1 -1
- package/resources/ai/integrations/index.d.ts +1 -1
- package/resources/ai/integrations/index.d.ts.map +1 -1
- package/resources/ai/integrations/index.js.map +1 -1
- package/resources/ai/integrations/index.mjs.map +1 -1
- package/resources/ai/integrations/integrations.d.mts +4 -15
- package/resources/ai/integrations/integrations.d.mts.map +1 -1
- package/resources/ai/integrations/integrations.d.ts +4 -15
- package/resources/ai/integrations/integrations.d.ts.map +1 -1
- package/resources/ai/integrations/integrations.js.map +1 -1
- package/resources/ai/integrations/integrations.mjs.map +1 -1
- package/resources/ai/mcp-servers.d.mts +14 -35
- package/resources/ai/mcp-servers.d.mts.map +1 -1
- package/resources/ai/mcp-servers.d.ts +14 -35
- package/resources/ai/mcp-servers.d.ts.map +1 -1
- package/resources/ai/mcp-servers.js +5 -2
- package/resources/ai/mcp-servers.js.map +1 -1
- package/resources/ai/mcp-servers.mjs +5 -2
- package/resources/ai/mcp-servers.mjs.map +1 -1
- package/resources/ai/missions/index.d.mts +2 -2
- package/resources/ai/missions/index.d.mts.map +1 -1
- package/resources/ai/missions/index.d.ts +2 -2
- package/resources/ai/missions/index.d.ts.map +1 -1
- package/resources/ai/missions/index.js.map +1 -1
- package/resources/ai/missions/index.mjs.map +1 -1
- package/resources/ai/missions/knowledge-bases.d.mts +9 -0
- package/resources/ai/missions/knowledge-bases.d.mts.map +1 -1
- package/resources/ai/missions/knowledge-bases.d.ts +9 -0
- package/resources/ai/missions/knowledge-bases.d.ts.map +1 -1
- package/resources/ai/missions/mcp-servers.d.mts +9 -0
- package/resources/ai/missions/mcp-servers.d.mts.map +1 -1
- package/resources/ai/missions/mcp-servers.d.ts +9 -0
- package/resources/ai/missions/mcp-servers.d.ts.map +1 -1
- package/resources/ai/missions/missions.d.mts +25 -21
- package/resources/ai/missions/missions.d.mts.map +1 -1
- package/resources/ai/missions/missions.d.ts +25 -21
- package/resources/ai/missions/missions.d.ts.map +1 -1
- package/resources/ai/missions/missions.js +6 -5
- package/resources/ai/missions/missions.js.map +1 -1
- package/resources/ai/missions/missions.mjs +6 -5
- package/resources/ai/missions/missions.mjs.map +1 -1
- package/resources/ai/missions/runs/events.d.mts +28 -23
- package/resources/ai/missions/runs/events.d.mts.map +1 -1
- package/resources/ai/missions/runs/events.d.ts +28 -23
- package/resources/ai/missions/runs/events.d.ts.map +1 -1
- package/resources/ai/missions/runs/events.js +10 -9
- package/resources/ai/missions/runs/events.js.map +1 -1
- package/resources/ai/missions/runs/events.mjs +10 -9
- package/resources/ai/missions/runs/events.mjs.map +1 -1
- package/resources/ai/missions/runs/index.d.mts +3 -3
- package/resources/ai/missions/runs/index.d.mts.map +1 -1
- package/resources/ai/missions/runs/index.d.ts +3 -3
- package/resources/ai/missions/runs/index.d.ts.map +1 -1
- package/resources/ai/missions/runs/index.js.map +1 -1
- package/resources/ai/missions/runs/index.mjs.map +1 -1
- package/resources/ai/missions/runs/plan.d.mts +53 -61
- package/resources/ai/missions/runs/plan.d.mts.map +1 -1
- package/resources/ai/missions/runs/plan.d.ts +53 -61
- package/resources/ai/missions/runs/plan.d.ts.map +1 -1
- package/resources/ai/missions/runs/plan.js +17 -16
- package/resources/ai/missions/runs/plan.js.map +1 -1
- package/resources/ai/missions/runs/plan.mjs +17 -16
- package/resources/ai/missions/runs/plan.mjs.map +1 -1
- package/resources/ai/missions/runs/runs.d.mts +67 -52
- package/resources/ai/missions/runs/runs.d.mts.map +1 -1
- package/resources/ai/missions/runs/runs.d.ts +67 -52
- package/resources/ai/missions/runs/runs.d.ts.map +1 -1
- package/resources/ai/missions/runs/runs.js +29 -23
- package/resources/ai/missions/runs/runs.js.map +1 -1
- package/resources/ai/missions/runs/runs.mjs +29 -23
- package/resources/ai/missions/runs/runs.mjs.map +1 -1
- package/resources/ai/missions/runs/telnyx-agents.d.mts +10 -1
- package/resources/ai/missions/runs/telnyx-agents.d.mts.map +1 -1
- package/resources/ai/missions/runs/telnyx-agents.d.ts +10 -1
- package/resources/ai/missions/runs/telnyx-agents.d.ts.map +1 -1
- package/resources/ai/missions/tools.d.mts +9 -0
- package/resources/ai/missions/tools.d.mts.map +1 -1
- package/resources/ai/missions/tools.d.ts +9 -0
- package/resources/ai/missions/tools.d.ts.map +1 -1
- package/resources/ai/openai/index.d.mts +1 -1
- package/resources/ai/openai/index.d.mts.map +1 -1
- package/resources/ai/openai/index.d.ts +1 -1
- package/resources/ai/openai/index.d.ts.map +1 -1
- package/resources/ai/openai/index.js.map +1 -1
- package/resources/ai/openai/index.mjs +1 -1
- package/resources/ai/openai/index.mjs.map +1 -1
- package/resources/ai/openai/openai.d.mts +9 -11
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +9 -11
- package/resources/ai/openai/openai.d.ts.map +1 -1
- package/resources/ai/openai/openai.js +4 -4
- package/resources/ai/openai/openai.js.map +1 -1
- package/resources/ai/openai/openai.mjs +4 -4
- package/resources/ai/openai/openai.mjs.map +1 -1
- package/resources/ai/tools.d.mts +21 -41
- package/resources/ai/tools.d.mts.map +1 -1
- package/resources/ai/tools.d.ts +21 -41
- package/resources/ai/tools.d.ts.map +1 -1
- package/resources/ai/tools.js +8 -4
- package/resources/ai/tools.js.map +1 -1
- package/resources/ai/tools.mjs +8 -4
- package/resources/ai/tools.mjs.map +1 -1
- package/resources/bulk-sim-card-actions.d.mts +11 -46
- package/resources/bulk-sim-card-actions.d.mts.map +1 -1
- package/resources/bulk-sim-card-actions.d.ts +11 -46
- package/resources/bulk-sim-card-actions.d.ts.map +1 -1
- package/resources/bulk-sim-card-actions.js.map +1 -1
- package/resources/bulk-sim-card-actions.mjs.map +1 -1
- package/resources/call-reasons.d.mts +111 -0
- package/resources/call-reasons.d.mts.map +1 -0
- package/resources/call-reasons.d.ts +111 -0
- package/resources/call-reasons.d.ts.map +1 -0
- package/resources/call-reasons.js +51 -0
- package/resources/call-reasons.js.map +1 -0
- package/resources/call-reasons.mjs +47 -0
- package/resources/call-reasons.mjs.map +1 -0
- package/resources/calls/actions.d.mts +198 -446
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +198 -446
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +128 -128
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +128 -128
- 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 +2 -2
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +2 -2
- 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/channel-zones.d.mts +5 -24
- package/resources/channel-zones.d.mts.map +1 -1
- package/resources/channel-zones.d.ts +5 -24
- package/resources/channel-zones.d.ts.map +1 -1
- package/resources/channel-zones.js.map +1 -1
- package/resources/channel-zones.mjs.map +1 -1
- package/resources/conferences/actions.d.mts +24 -17
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +24 -17
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/conferences/conferences.d.mts +14 -16
- package/resources/conferences/conferences.d.mts.map +1 -1
- package/resources/conferences/conferences.d.ts +14 -16
- package/resources/conferences/conferences.d.ts.map +1 -1
- package/resources/conferences/conferences.js +6 -5
- package/resources/conferences/conferences.js.map +1 -1
- package/resources/conferences/conferences.mjs +6 -5
- package/resources/conferences/conferences.mjs.map +1 -1
- package/resources/conferences/index.d.mts +2 -2
- package/resources/conferences/index.d.mts.map +1 -1
- package/resources/conferences/index.d.ts +2 -2
- package/resources/conferences/index.d.ts.map +1 -1
- package/resources/conferences/index.js.map +1 -1
- package/resources/conferences/index.mjs.map +1 -1
- package/resources/connections.d.mts +7 -59
- package/resources/connections.d.mts.map +1 -1
- package/resources/connections.d.ts +7 -59
- package/resources/connections.d.ts.map +1 -1
- package/resources/connections.js +1 -4
- package/resources/connections.js.map +1 -1
- package/resources/connections.mjs +1 -4
- package/resources/connections.mjs.map +1 -1
- package/resources/credential-connections/credential-connections.d.mts +11 -4
- package/resources/credential-connections/credential-connections.d.mts.map +1 -1
- package/resources/credential-connections/credential-connections.d.ts +11 -4
- package/resources/credential-connections/credential-connections.d.ts.map +1 -1
- package/resources/credential-connections/credential-connections.js.map +1 -1
- package/resources/credential-connections/credential-connections.mjs.map +1 -1
- package/resources/credential-connections/index.d.mts +1 -1
- package/resources/credential-connections/index.d.mts.map +1 -1
- package/resources/credential-connections/index.d.ts +1 -1
- package/resources/credential-connections/index.d.ts.map +1 -1
- package/resources/credential-connections/index.js.map +1 -1
- package/resources/credential-connections/index.mjs.map +1 -1
- package/resources/custom-storage-credentials.d.mts +19 -43
- package/resources/custom-storage-credentials.d.mts.map +1 -1
- package/resources/custom-storage-credentials.d.ts +19 -43
- package/resources/custom-storage-credentials.d.ts.map +1 -1
- package/resources/custom-storage-credentials.js +3 -3
- package/resources/custom-storage-credentials.js.map +1 -1
- package/resources/custom-storage-credentials.mjs +3 -3
- package/resources/custom-storage-credentials.mjs.map +1 -1
- package/resources/dialogflow-connections.d.mts +10 -60
- package/resources/dialogflow-connections.d.mts.map +1 -1
- package/resources/dialogflow-connections.d.ts +10 -60
- package/resources/dialogflow-connections.d.ts.map +1 -1
- package/resources/dialogflow-connections.js +3 -3
- package/resources/dialogflow-connections.mjs +3 -3
- package/resources/dir/comments.d.mts +100 -0
- package/resources/dir/comments.d.mts.map +1 -0
- package/resources/dir/comments.d.ts +100 -0
- package/resources/dir/comments.d.ts.map +1 -0
- package/resources/dir/comments.js +54 -0
- package/resources/dir/comments.js.map +1 -0
- package/resources/dir/comments.mjs +50 -0
- package/resources/dir/comments.mjs.map +1 -0
- package/resources/dir/dir.d.mts +466 -0
- package/resources/dir/dir.d.mts.map +1 -0
- package/resources/dir/dir.d.ts +466 -0
- package/resources/dir/dir.d.ts.map +1 -0
- package/resources/dir/dir.js +224 -0
- package/resources/dir/dir.js.map +1 -0
- package/resources/dir/dir.mjs +219 -0
- package/resources/dir/dir.mjs.map +1 -0
- package/resources/dir/index.d.mts +5 -0
- package/resources/dir/index.d.mts.map +1 -0
- package/resources/dir/index.d.ts +5 -0
- package/resources/dir/index.d.ts.map +1 -0
- package/resources/dir/index.js +13 -0
- package/resources/dir/index.js.map +1 -0
- package/resources/dir/index.mjs +6 -0
- package/resources/dir/index.mjs.map +1 -0
- package/resources/dir/phone-number-batches.d.mts +120 -0
- package/resources/dir/phone-number-batches.d.mts.map +1 -0
- package/resources/dir/phone-number-batches.d.ts +120 -0
- package/resources/dir/phone-number-batches.d.ts.map +1 -0
- package/resources/dir/phone-number-batches.js +48 -0
- package/resources/dir/phone-number-batches.js.map +1 -0
- package/resources/dir/phone-number-batches.mjs +44 -0
- package/resources/dir/phone-number-batches.mjs.map +1 -0
- package/resources/dir/phone-numbers.d.mts +202 -0
- package/resources/dir/phone-numbers.d.mts.map +1 -0
- package/resources/dir/phone-numbers.d.ts +202 -0
- package/resources/dir/phone-numbers.d.ts.map +1 -0
- package/resources/dir/phone-numbers.js +78 -0
- package/resources/dir/phone-numbers.js.map +1 -0
- package/resources/dir/phone-numbers.mjs +74 -0
- package/resources/dir/phone-numbers.mjs.map +1 -0
- package/resources/dir.d.mts +2 -0
- package/resources/dir.d.mts.map +1 -0
- package/resources/dir.d.ts +2 -0
- package/resources/dir.d.ts.map +1 -0
- package/resources/dir.js +6 -0
- package/resources/dir.js.map +1 -0
- package/resources/dir.mjs +3 -0
- package/resources/dir.mjs.map +1 -0
- package/resources/document-links.d.mts +2 -13
- package/resources/document-links.d.mts.map +1 -1
- package/resources/document-links.d.ts +2 -13
- package/resources/document-links.d.ts.map +1 -1
- package/resources/document-links.js.map +1 -1
- package/resources/document-links.mjs.map +1 -1
- package/resources/documents.d.mts +20 -14
- package/resources/documents.d.mts.map +1 -1
- package/resources/documents.d.ts +20 -14
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +1 -1
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +1 -1
- package/resources/documents.mjs.map +1 -1
- package/resources/enterprises/dir.d.mts +167 -0
- package/resources/enterprises/dir.d.mts.map +1 -0
- package/resources/enterprises/dir.d.ts +167 -0
- package/resources/enterprises/dir.d.ts.map +1 -0
- package/resources/enterprises/dir.js +87 -0
- package/resources/enterprises/dir.js.map +1 -0
- package/resources/enterprises/dir.mjs +83 -0
- package/resources/enterprises/dir.mjs.map +1 -0
- package/resources/enterprises/enterprises.d.mts +239 -239
- package/resources/enterprises/enterprises.d.mts.map +1 -1
- package/resources/enterprises/enterprises.d.ts +239 -239
- package/resources/enterprises/enterprises.d.ts.map +1 -1
- package/resources/enterprises/enterprises.js +135 -40
- package/resources/enterprises/enterprises.js.map +1 -1
- package/resources/enterprises/enterprises.mjs +135 -40
- package/resources/enterprises/enterprises.mjs.map +1 -1
- package/resources/enterprises/index.d.mts +3 -2
- package/resources/enterprises/index.d.mts.map +1 -1
- package/resources/enterprises/index.d.ts +3 -2
- package/resources/enterprises/index.d.ts.map +1 -1
- package/resources/enterprises/index.js +3 -1
- package/resources/enterprises/index.js.map +1 -1
- package/resources/enterprises/index.mjs +1 -0
- package/resources/enterprises/index.mjs.map +1 -1
- package/resources/enterprises/reputation/index.d.mts +4 -2
- package/resources/enterprises/reputation/index.d.mts.map +1 -1
- package/resources/enterprises/reputation/index.d.ts +4 -2
- package/resources/enterprises/reputation/index.d.ts.map +1 -1
- package/resources/enterprises/reputation/index.js +5 -1
- package/resources/enterprises/reputation/index.js.map +1 -1
- package/resources/enterprises/reputation/index.mjs +2 -0
- package/resources/enterprises/reputation/index.mjs.map +1 -1
- package/resources/enterprises/reputation/loa.d.mts +103 -0
- package/resources/enterprises/reputation/loa.d.mts.map +1 -0
- package/resources/enterprises/reputation/loa.d.ts +103 -0
- package/resources/enterprises/reputation/loa.d.ts.map +1 -0
- package/resources/enterprises/reputation/loa.js +62 -0
- package/resources/enterprises/reputation/loa.js.map +1 -0
- package/resources/enterprises/reputation/loa.mjs +58 -0
- package/resources/enterprises/reputation/loa.mjs.map +1 -0
- package/resources/enterprises/reputation/numbers.d.mts +127 -88
- package/resources/enterprises/reputation/numbers.d.mts.map +1 -1
- package/resources/enterprises/reputation/numbers.d.ts +127 -88
- package/resources/enterprises/reputation/numbers.d.ts.map +1 -1
- package/resources/enterprises/reputation/numbers.js +50 -51
- package/resources/enterprises/reputation/numbers.js.map +1 -1
- package/resources/enterprises/reputation/numbers.mjs +50 -51
- package/resources/enterprises/reputation/numbers.mjs.map +1 -1
- package/resources/enterprises/reputation/remediation.d.mts +192 -0
- package/resources/enterprises/reputation/remediation.d.mts.map +1 -0
- package/resources/enterprises/reputation/remediation.d.ts +192 -0
- package/resources/enterprises/reputation/remediation.d.ts.map +1 -0
- package/resources/enterprises/reputation/remediation.js +81 -0
- package/resources/enterprises/reputation/remediation.js.map +1 -0
- package/resources/enterprises/reputation/remediation.mjs +77 -0
- package/resources/enterprises/reputation/remediation.mjs.map +1 -0
- package/resources/enterprises/reputation/reputation.d.mts +83 -92
- package/resources/enterprises/reputation/reputation.d.mts.map +1 -1
- package/resources/enterprises/reputation/reputation.d.ts +83 -92
- package/resources/enterprises/reputation/reputation.d.ts.map +1 -1
- package/resources/enterprises/reputation/reputation.js +50 -58
- package/resources/enterprises/reputation/reputation.js.map +1 -1
- package/resources/enterprises/reputation/reputation.mjs +50 -58
- package/resources/enterprises/reputation/reputation.mjs.map +1 -1
- package/resources/external-connections/external-connections.d.mts +4 -4
- package/resources/external-connections/external-connections.d.mts.map +1 -1
- package/resources/external-connections/external-connections.d.ts +4 -4
- package/resources/external-connections/external-connections.d.ts.map +1 -1
- package/resources/external-connections/external-connections.mjs.map +1 -1
- package/resources/external-connections/index.d.mts +2 -2
- package/resources/external-connections/index.d.mts.map +1 -1
- package/resources/external-connections/index.d.ts +2 -2
- package/resources/external-connections/index.d.ts.map +1 -1
- package/resources/external-connections/log-messages.d.mts +11 -42
- package/resources/external-connections/log-messages.d.mts.map +1 -1
- package/resources/external-connections/log-messages.d.ts +11 -42
- package/resources/external-connections/log-messages.d.ts.map +1 -1
- package/resources/external-connections/log-messages.js +1 -1
- package/resources/external-connections/log-messages.js.map +1 -1
- package/resources/external-connections/log-messages.mjs +1 -1
- package/resources/external-connections/log-messages.mjs.map +1 -1
- package/resources/external-connections/releases.d.mts +18 -41
- package/resources/external-connections/releases.d.mts.map +1 -1
- package/resources/external-connections/releases.d.ts +18 -41
- package/resources/external-connections/releases.d.ts.map +1 -1
- package/resources/external-connections/releases.js +1 -1
- package/resources/external-connections/releases.js.map +1 -1
- package/resources/external-connections/releases.mjs +1 -1
- package/resources/external-connections/releases.mjs.map +1 -1
- package/resources/faxes/faxes.d.mts +9 -3
- package/resources/faxes/faxes.d.mts.map +1 -1
- package/resources/faxes/faxes.d.ts +9 -3
- package/resources/faxes/faxes.d.ts.map +1 -1
- package/resources/faxes/faxes.js.map +1 -1
- package/resources/faxes/faxes.mjs.map +1 -1
- package/resources/faxes/index.d.mts +1 -1
- package/resources/faxes/index.d.mts.map +1 -1
- package/resources/faxes/index.d.ts +1 -1
- package/resources/faxes/index.d.ts.map +1 -1
- package/resources/faxes/index.js.map +1 -1
- package/resources/faxes/index.mjs.map +1 -1
- package/resources/fqdn-connections.d.mts +3 -3
- package/resources/fqdn-connections.d.mts.map +1 -1
- package/resources/fqdn-connections.d.ts +3 -3
- package/resources/fqdn-connections.d.ts.map +1 -1
- package/resources/global-ip-health-checks.d.mts +12 -66
- package/resources/global-ip-health-checks.d.mts.map +1 -1
- package/resources/global-ip-health-checks.d.ts +12 -66
- package/resources/global-ip-health-checks.d.ts.map +1 -1
- package/resources/global-ip-health-checks.js +5 -2
- package/resources/global-ip-health-checks.js.map +1 -1
- package/resources/global-ip-health-checks.mjs +5 -2
- package/resources/global-ip-health-checks.mjs.map +1 -1
- package/resources/global-ips.d.mts +12 -78
- package/resources/global-ips.d.mts.map +1 -1
- package/resources/global-ips.d.ts +12 -78
- package/resources/global-ips.d.ts.map +1 -1
- package/resources/global-ips.js +2 -5
- package/resources/global-ips.js.map +1 -1
- package/resources/global-ips.mjs +2 -5
- package/resources/global-ips.mjs.map +1 -1
- package/resources/index.d.mts +41 -38
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +41 -38
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +10 -4
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -1
- package/resources/index.mjs.map +1 -1
- package/resources/infringement-claims.d.mts +162 -0
- package/resources/infringement-claims.d.mts.map +1 -0
- package/resources/infringement-claims.d.ts +162 -0
- package/resources/infringement-claims.d.ts.map +1 -0
- package/resources/infringement-claims.js +68 -0
- package/resources/infringement-claims.js.map +1 -0
- package/resources/infringement-claims.mjs +64 -0
- package/resources/infringement-claims.mjs.map +1 -0
- package/resources/ip-connections.d.mts +3 -3
- package/resources/ip-connections.d.mts.map +1 -1
- package/resources/ip-connections.d.ts +3 -3
- package/resources/ip-connections.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.d.mts +6 -0
- package/resources/legacy/reporting/usage-reports/usage-reports.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.d.ts +6 -0
- package/resources/legacy/reporting/usage-reports/usage-reports.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.mjs.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 +3 -24
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +3 -24
- 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 +58 -84
- package/resources/messaging-10dlc/brand/brand.d.mts.map +1 -1
- package/resources/messaging-10dlc/brand/brand.d.ts +58 -84
- package/resources/messaging-10dlc/brand/brand.d.ts.map +1 -1
- package/resources/messaging-10dlc/brand/brand.js +4 -4
- package/resources/messaging-10dlc/brand/brand.js.map +1 -1
- package/resources/messaging-10dlc/brand/brand.mjs +5 -5
- package/resources/messaging-10dlc/brand/brand.mjs.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.d.mts +9 -79
- package/resources/messaging-10dlc/brand/external-vetting.d.mts.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.d.ts +9 -79
- package/resources/messaging-10dlc/brand/external-vetting.d.ts.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.js +5 -5
- package/resources/messaging-10dlc/brand/external-vetting.js.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.mjs +3 -3
- package/resources/messaging-10dlc/brand/external-vetting.mjs.map +1 -1
- package/resources/messaging-10dlc/brand/index.d.mts +2 -2
- package/resources/messaging-10dlc/brand/index.d.mts.map +1 -1
- package/resources/messaging-10dlc/brand/index.d.ts +2 -2
- package/resources/messaging-10dlc/brand/index.d.ts.map +1 -1
- package/resources/messaging-10dlc/brand/index.js +2 -2
- package/resources/messaging-10dlc/brand/index.js.map +1 -1
- package/resources/messaging-10dlc/brand/index.mjs +1 -1
- package/resources/messaging-10dlc/brand/index.mjs.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.d.mts +3 -0
- package/resources/messaging-10dlc/campaign/campaign.d.mts.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.d.ts +3 -0
- package/resources/messaging-10dlc/campaign/campaign.d.ts.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.js.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.mjs.map +1 -1
- package/resources/messaging-10dlc/campaign/usecase.d.mts +3 -0
- package/resources/messaging-10dlc/campaign/usecase.d.mts.map +1 -1
- package/resources/messaging-10dlc/campaign/usecase.d.ts +3 -0
- package/resources/messaging-10dlc/campaign/usecase.d.ts.map +1 -1
- package/resources/messaging-10dlc/campaign-builder/brand.d.mts +3 -0
- package/resources/messaging-10dlc/campaign-builder/brand.d.mts.map +1 -1
- package/resources/messaging-10dlc/campaign-builder/brand.d.ts +3 -0
- package/resources/messaging-10dlc/campaign-builder/brand.d.ts.map +1 -1
- package/resources/messaging-10dlc/index.d.mts +1 -1
- package/resources/messaging-10dlc/index.d.mts.map +1 -1
- package/resources/messaging-10dlc/index.d.ts +1 -1
- package/resources/messaging-10dlc/index.d.ts.map +1 -1
- package/resources/messaging-10dlc/index.js.map +1 -1
- package/resources/messaging-10dlc/index.mjs.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.d.mts +2 -2
- package/resources/messaging-10dlc/messaging-10dlc.d.mts.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.d.ts +2 -2
- package/resources/messaging-10dlc/messaging-10dlc.d.ts.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.js.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.mjs.map +1 -1
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.mts +12 -0
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.mts.map +1 -1
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.ts +12 -0
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.ts.map +1 -1
- package/resources/messaging-hosted-numbers.d.mts +23 -1
- package/resources/messaging-hosted-numbers.d.mts.map +1 -1
- package/resources/messaging-hosted-numbers.d.ts +23 -1
- package/resources/messaging-hosted-numbers.d.ts.map +1 -1
- package/resources/messaging-profile-metrics.d.mts +6 -2
- package/resources/messaging-profile-metrics.d.mts.map +1 -1
- package/resources/messaging-profile-metrics.d.ts +6 -2
- package/resources/messaging-profile-metrics.d.ts.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.d.mts +10 -1
- package/resources/messaging-profiles/autoresp-configs.d.mts.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.d.ts +10 -1
- package/resources/messaging-profiles/autoresp-configs.d.ts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.mts +6 -1
- package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.ts +6 -1
- package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.mjs.map +1 -1
- package/resources/messaging-tollfree/verification/requests.d.mts +14 -3
- package/resources/messaging-tollfree/verification/requests.d.mts.map +1 -1
- package/resources/messaging-tollfree/verification/requests.d.ts +14 -3
- package/resources/messaging-tollfree/verification/requests.d.ts.map +1 -1
- package/resources/mobile-phone-numbers/index.d.mts +1 -1
- package/resources/mobile-phone-numbers/index.d.mts.map +1 -1
- package/resources/mobile-phone-numbers/index.d.ts +1 -1
- package/resources/mobile-phone-numbers/index.d.ts.map +1 -1
- package/resources/mobile-phone-numbers/messaging.d.mts +9 -72
- package/resources/mobile-phone-numbers/messaging.d.mts.map +1 -1
- package/resources/mobile-phone-numbers/messaging.d.ts +9 -72
- package/resources/mobile-phone-numbers/messaging.d.ts.map +1 -1
- package/resources/mobile-phone-numbers/messaging.js.map +1 -1
- package/resources/mobile-phone-numbers/messaging.mjs.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.mts +2 -2
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.mts.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.ts +2 -2
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.ts.map +1 -1
- package/resources/networks/default-gateway.d.mts +20 -54
- package/resources/networks/default-gateway.d.mts.map +1 -1
- package/resources/networks/default-gateway.d.ts +20 -54
- package/resources/networks/default-gateway.d.ts.map +1 -1
- package/resources/networks/default-gateway.js +3 -3
- package/resources/networks/default-gateway.js.map +1 -1
- package/resources/networks/default-gateway.mjs +1 -1
- package/resources/networks/default-gateway.mjs.map +1 -1
- package/resources/networks/index.d.mts +2 -2
- package/resources/networks/index.d.mts.map +1 -1
- package/resources/networks/index.d.ts +2 -2
- package/resources/networks/index.d.ts.map +1 -1
- package/resources/networks/index.js +2 -2
- package/resources/networks/index.js.map +1 -1
- package/resources/networks/index.mjs +1 -1
- package/resources/networks/index.mjs.map +1 -1
- package/resources/networks/networks.d.mts +21 -63
- package/resources/networks/networks.d.mts.map +1 -1
- package/resources/networks/networks.d.ts +21 -63
- package/resources/networks/networks.d.ts.map +1 -1
- package/resources/networks/networks.js +12 -13
- package/resources/networks/networks.js.map +1 -1
- package/resources/networks/networks.mjs +13 -14
- package/resources/networks/networks.mjs.map +1 -1
- package/resources/porting/events.d.mts +6 -6
- package/resources/porting/events.d.mts.map +1 -1
- package/resources/porting/events.d.ts +6 -6
- package/resources/porting/events.d.ts.map +1 -1
- package/resources/porting/events.js +1 -1
- package/resources/porting/events.js.map +1 -1
- package/resources/porting/events.mjs +1 -1
- package/resources/porting/events.mjs.map +1 -1
- package/resources/porting/index.d.mts +1 -1
- package/resources/porting/index.d.mts.map +1 -1
- package/resources/porting/index.d.ts +1 -1
- package/resources/porting/index.d.ts.map +1 -1
- package/resources/porting/porting.d.mts +2 -2
- package/resources/porting/porting.d.mts.map +1 -1
- package/resources/porting/porting.d.ts +2 -2
- package/resources/porting/porting.d.ts.map +1 -1
- package/resources/porting/porting.mjs.map +1 -1
- package/resources/porting-orders/action-requirements.d.mts +6 -50
- package/resources/porting-orders/action-requirements.d.mts.map +1 -1
- package/resources/porting-orders/action-requirements.d.ts +6 -50
- package/resources/porting-orders/action-requirements.d.ts.map +1 -1
- package/resources/porting-orders/action-requirements.js +1 -1
- package/resources/porting-orders/action-requirements.js.map +1 -1
- package/resources/porting-orders/action-requirements.mjs +1 -1
- package/resources/porting-orders/action-requirements.mjs.map +1 -1
- package/resources/porting-orders/additional-documents.d.mts +8 -48
- package/resources/porting-orders/additional-documents.d.mts.map +1 -1
- package/resources/porting-orders/additional-documents.d.ts +8 -48
- package/resources/porting-orders/additional-documents.d.ts.map +1 -1
- package/resources/porting-orders/additional-documents.js +1 -1
- package/resources/porting-orders/additional-documents.js.map +1 -1
- package/resources/porting-orders/additional-documents.mjs +1 -1
- package/resources/porting-orders/additional-documents.mjs.map +1 -1
- package/resources/porting-orders/comments.d.mts +8 -30
- package/resources/porting-orders/comments.d.mts.map +1 -1
- package/resources/porting-orders/comments.d.ts +8 -30
- package/resources/porting-orders/comments.d.ts.map +1 -1
- package/resources/porting-orders/comments.js +1 -1
- package/resources/porting-orders/comments.js.map +1 -1
- package/resources/porting-orders/comments.mjs +1 -1
- package/resources/porting-orders/comments.mjs.map +1 -1
- package/resources/porting-orders/index.d.mts +5 -5
- package/resources/porting-orders/index.d.mts.map +1 -1
- package/resources/porting-orders/index.d.ts +5 -5
- package/resources/porting-orders/index.d.ts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.mts +2 -1
- package/resources/porting-orders/phone-number-blocks.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.ts +2 -1
- package/resources/porting-orders/phone-number-blocks.d.ts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.js.map +1 -1
- package/resources/porting-orders/phone-number-blocks.mjs.map +1 -1
- package/resources/porting-orders/phone-number-configurations.d.mts +8 -36
- package/resources/porting-orders/phone-number-configurations.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-configurations.d.ts +8 -36
- package/resources/porting-orders/phone-number-configurations.d.ts.map +1 -1
- package/resources/porting-orders/phone-number-configurations.js +1 -1
- package/resources/porting-orders/phone-number-configurations.js.map +1 -1
- package/resources/porting-orders/phone-number-configurations.mjs +1 -1
- package/resources/porting-orders/phone-number-configurations.mjs.map +1 -1
- package/resources/porting-orders/porting-orders.d.mts +13 -53
- package/resources/porting-orders/porting-orders.d.mts.map +1 -1
- package/resources/porting-orders/porting-orders.d.ts +13 -53
- package/resources/porting-orders/porting-orders.d.ts.map +1 -1
- package/resources/porting-orders/porting-orders.js.map +1 -1
- package/resources/porting-orders/porting-orders.mjs.map +1 -1
- package/resources/porting-orders/verification-codes.d.mts +6 -38
- package/resources/porting-orders/verification-codes.d.mts.map +1 -1
- package/resources/porting-orders/verification-codes.d.ts +6 -38
- package/resources/porting-orders/verification-codes.d.ts.map +1 -1
- package/resources/porting-orders/verification-codes.js +1 -1
- package/resources/porting-orders/verification-codes.js.map +1 -1
- package/resources/porting-orders/verification-codes.mjs +1 -1
- package/resources/porting-orders/verification-codes.mjs.map +1 -1
- package/resources/porting-phone-numbers.d.mts +9 -5
- package/resources/porting-phone-numbers.d.mts.map +1 -1
- package/resources/porting-phone-numbers.d.ts +9 -5
- package/resources/porting-phone-numbers.d.ts.map +1 -1
- package/resources/porting-phone-numbers.js +4 -1
- package/resources/porting-phone-numbers.js.map +1 -1
- package/resources/porting-phone-numbers.mjs +4 -1
- package/resources/porting-phone-numbers.mjs.map +1 -1
- package/resources/portouts/events.d.mts +6 -6
- package/resources/portouts/events.d.mts.map +1 -1
- package/resources/portouts/events.d.ts +6 -6
- package/resources/portouts/events.d.ts.map +1 -1
- package/resources/portouts/events.js +1 -1
- package/resources/portouts/events.js.map +1 -1
- package/resources/portouts/events.mjs +1 -1
- package/resources/portouts/events.mjs.map +1 -1
- package/resources/portouts/index.d.mts +1 -1
- package/resources/portouts/index.d.mts.map +1 -1
- package/resources/portouts/index.d.ts +1 -1
- package/resources/portouts/index.d.ts.map +1 -1
- package/resources/portouts/portouts.d.mts +2 -2
- package/resources/portouts/portouts.d.mts.map +1 -1
- package/resources/portouts/portouts.d.ts +2 -2
- package/resources/portouts/portouts.d.ts.map +1 -1
- package/resources/portouts/portouts.mjs.map +1 -1
- package/resources/pronunciation-dicts.d.mts +17 -29
- package/resources/pronunciation-dicts.d.mts.map +1 -1
- package/resources/pronunciation-dicts.d.ts +17 -29
- package/resources/pronunciation-dicts.d.ts.map +1 -1
- package/resources/pronunciation-dicts.js +3 -3
- package/resources/pronunciation-dicts.mjs +3 -3
- package/resources/public-internet-gateways.d.mts +19 -44
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +19 -44
- package/resources/public-internet-gateways.d.ts.map +1 -1
- package/resources/public-internet-gateways.js +3 -32
- package/resources/public-internet-gateways.js.map +1 -1
- package/resources/public-internet-gateways.mjs +3 -32
- package/resources/public-internet-gateways.mjs.map +1 -1
- package/resources/queues/calls.d.mts +8 -59
- package/resources/queues/calls.d.mts.map +1 -1
- package/resources/queues/calls.d.ts +8 -59
- package/resources/queues/calls.d.ts.map +1 -1
- package/resources/queues/calls.js +5 -2
- package/resources/queues/calls.js.map +1 -1
- package/resources/queues/calls.mjs +5 -2
- package/resources/queues/calls.mjs.map +1 -1
- package/resources/queues/index.d.mts +1 -1
- package/resources/queues/index.d.mts.map +1 -1
- package/resources/queues/index.d.ts +1 -1
- package/resources/queues/index.d.ts.map +1 -1
- package/resources/queues/queues.d.mts +2 -2
- package/resources/queues/queues.d.mts.map +1 -1
- package/resources/queues/queues.d.ts +2 -2
- package/resources/queues/queues.d.ts.map +1 -1
- package/resources/queues/queues.mjs.map +1 -1
- package/resources/recordings/index.d.mts +1 -1
- package/resources/recordings/index.d.mts.map +1 -1
- package/resources/recordings/index.d.ts +1 -1
- package/resources/recordings/index.d.ts.map +1 -1
- package/resources/recordings/index.js.map +1 -1
- package/resources/recordings/index.mjs.map +1 -1
- package/resources/recordings/recordings.d.mts +8 -11
- package/resources/recordings/recordings.d.mts.map +1 -1
- package/resources/recordings/recordings.d.ts +8 -11
- package/resources/recordings/recordings.d.ts.map +1 -1
- package/resources/recordings/recordings.js +2 -2
- package/resources/recordings/recordings.js.map +1 -1
- package/resources/recordings/recordings.mjs +2 -2
- package/resources/recordings/recordings.mjs.map +1 -1
- package/resources/reports/cdr-usage-reports.d.mts +15 -0
- package/resources/reports/cdr-usage-reports.d.mts.map +1 -1
- package/resources/reports/cdr-usage-reports.d.ts +15 -0
- package/resources/reports/cdr-usage-reports.d.ts.map +1 -1
- package/resources/reports/mdr-usage-reports.d.mts +12 -0
- package/resources/reports/mdr-usage-reports.d.mts.map +1 -1
- package/resources/reports/mdr-usage-reports.d.ts +12 -0
- package/resources/reports/mdr-usage-reports.d.ts.map +1 -1
- package/resources/reports/reports.d.mts +16 -17
- package/resources/reports/reports.d.mts.map +1 -1
- package/resources/reports/reports.d.ts +16 -17
- package/resources/reports/reports.d.ts.map +1 -1
- package/resources/reports/reports.js.map +1 -1
- package/resources/reports/reports.mjs.map +1 -1
- package/resources/reputation/index.d.mts +1 -1
- package/resources/reputation/index.d.mts.map +1 -1
- package/resources/reputation/index.d.ts +1 -1
- package/resources/reputation/index.d.ts.map +1 -1
- package/resources/reputation/index.js.map +1 -1
- package/resources/reputation/index.mjs +1 -1
- package/resources/reputation/index.mjs.map +1 -1
- package/resources/reputation/numbers.d.mts +26 -25
- package/resources/reputation/numbers.d.mts.map +1 -1
- package/resources/reputation/numbers.d.ts +26 -25
- package/resources/reputation/numbers.d.ts.map +1 -1
- package/resources/reputation/numbers.js +8 -12
- package/resources/reputation/numbers.js.map +1 -1
- package/resources/reputation/numbers.mjs +8 -12
- package/resources/reputation/numbers.mjs.map +1 -1
- package/resources/reputation/reputation.d.mts +2 -2
- package/resources/reputation/reputation.d.mts.map +1 -1
- package/resources/reputation/reputation.d.ts +2 -2
- package/resources/reputation/reputation.d.ts.map +1 -1
- package/resources/reputation/reputation.js.map +1 -1
- package/resources/reputation/reputation.mjs.map +1 -1
- package/resources/requirements.d.mts +8 -50
- package/resources/requirements.d.mts.map +1 -1
- package/resources/requirements.d.ts +8 -50
- package/resources/requirements.d.ts.map +1 -1
- package/resources/requirements.js +1 -1
- package/resources/requirements.js.map +1 -1
- package/resources/requirements.mjs +1 -1
- package/resources/requirements.mjs.map +1 -1
- package/resources/room-recordings.d.mts +7 -72
- package/resources/room-recordings.d.mts.map +1 -1
- package/resources/room-recordings.d.ts +7 -72
- package/resources/room-recordings.d.ts.map +1 -1
- package/resources/room-recordings.js.map +1 -1
- package/resources/room-recordings.mjs.map +1 -1
- package/resources/shared.d.mts +33 -65
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +33 -65
- package/resources/shared.d.ts.map +1 -1
- package/resources/sip-registration-status.d.mts +37 -9
- package/resources/sip-registration-status.d.mts.map +1 -1
- package/resources/sip-registration-status.d.ts +37 -9
- package/resources/sip-registration-status.d.ts.map +1 -1
- package/resources/siprec-connectors.d.mts +10 -74
- package/resources/siprec-connectors.d.mts.map +1 -1
- package/resources/siprec-connectors.d.ts +10 -74
- package/resources/siprec-connectors.d.ts.map +1 -1
- package/resources/siprec-connectors.js +3 -3
- package/resources/siprec-connectors.js.map +1 -1
- package/resources/siprec-connectors.mjs +3 -3
- package/resources/siprec-connectors.mjs.map +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/index.js.map +1 -1
- package/resources/speech-to-text/index.mjs.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.mts +112 -18
- package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.ts +112 -18
- package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
- package/resources/speech-to-text/speech-to-text.js +34 -7
- package/resources/speech-to-text/speech-to-text.js.map +1 -1
- package/resources/speech-to-text/speech-to-text.mjs +34 -7
- package/resources/speech-to-text/speech-to-text.mjs.map +1 -1
- package/resources/terms-of-service/agreements.d.mts +71 -0
- package/resources/terms-of-service/agreements.d.mts.map +1 -0
- package/resources/terms-of-service/agreements.d.ts +71 -0
- package/resources/terms-of-service/agreements.d.ts.map +1 -0
- package/resources/terms-of-service/agreements.js +39 -0
- package/resources/terms-of-service/agreements.js.map +1 -0
- package/resources/terms-of-service/agreements.mjs +35 -0
- package/resources/terms-of-service/agreements.mjs.map +1 -0
- package/resources/terms-of-service/branded-calling.d.mts +20 -0
- package/resources/terms-of-service/branded-calling.d.mts.map +1 -0
- package/resources/terms-of-service/branded-calling.d.ts +20 -0
- package/resources/terms-of-service/branded-calling.d.ts.map +1 -0
- package/resources/terms-of-service/branded-calling.js +24 -0
- package/resources/terms-of-service/branded-calling.js.map +1 -0
- package/resources/terms-of-service/branded-calling.mjs +20 -0
- package/resources/terms-of-service/branded-calling.mjs.map +1 -0
- package/resources/terms-of-service/index.d.mts +3 -1
- package/resources/terms-of-service/index.d.mts.map +1 -1
- package/resources/terms-of-service/index.d.ts +3 -1
- package/resources/terms-of-service/index.d.ts.map +1 -1
- package/resources/terms-of-service/index.js +5 -1
- package/resources/terms-of-service/index.js.map +1 -1
- package/resources/terms-of-service/index.mjs +3 -1
- package/resources/terms-of-service/index.mjs.map +1 -1
- package/resources/terms-of-service/number-reputation.d.mts +6 -6
- package/resources/terms-of-service/number-reputation.d.mts.map +1 -1
- package/resources/terms-of-service/number-reputation.d.ts +6 -6
- package/resources/terms-of-service/number-reputation.d.ts.map +1 -1
- package/resources/terms-of-service/number-reputation.js +5 -10
- package/resources/terms-of-service/number-reputation.js.map +1 -1
- package/resources/terms-of-service/number-reputation.mjs +5 -10
- package/resources/terms-of-service/number-reputation.mjs.map +1 -1
- package/resources/terms-of-service/terms-of-service.d.mts +94 -0
- package/resources/terms-of-service/terms-of-service.d.mts.map +1 -1
- package/resources/terms-of-service/terms-of-service.d.ts +94 -0
- package/resources/terms-of-service/terms-of-service.d.ts.map +1 -1
- package/resources/terms-of-service/terms-of-service.js +30 -0
- package/resources/terms-of-service/terms-of-service.js.map +1 -1
- package/resources/terms-of-service/terms-of-service.mjs +30 -0
- package/resources/terms-of-service/terms-of-service.mjs.map +1 -1
- package/resources/texml/accounts/accounts.d.mts +14 -84
- package/resources/texml/accounts/accounts.d.mts.map +1 -1
- package/resources/texml/accounts/accounts.d.ts +14 -84
- package/resources/texml/accounts/accounts.d.ts.map +1 -1
- package/resources/texml/accounts/accounts.js +1 -1
- package/resources/texml/accounts/accounts.js.map +1 -1
- package/resources/texml/accounts/accounts.mjs +1 -1
- package/resources/texml/accounts/accounts.mjs.map +1 -1
- package/resources/texml/accounts/calls/calls.d.mts +511 -233
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +511 -233
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js +15 -18
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs +15 -18
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/texml/accounts/calls/index.d.mts +3 -3
- package/resources/texml/accounts/calls/index.d.mts.map +1 -1
- package/resources/texml/accounts/calls/index.d.ts +3 -3
- package/resources/texml/accounts/calls/index.d.ts.map +1 -1
- package/resources/texml/accounts/calls/index.js.map +1 -1
- package/resources/texml/accounts/calls/index.mjs +1 -1
- package/resources/texml/accounts/calls/index.mjs.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.d.mts +14 -9
- package/resources/texml/accounts/calls/recordings-json.d.mts.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.d.ts +14 -9
- package/resources/texml/accounts/calls/recordings-json.d.ts.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.js +2 -2
- package/resources/texml/accounts/calls/recordings-json.mjs +2 -2
- package/resources/texml/accounts/calls/recordings.d.mts +4 -41
- package/resources/texml/accounts/calls/recordings.d.mts.map +1 -1
- package/resources/texml/accounts/calls/recordings.d.ts +4 -41
- package/resources/texml/accounts/calls/recordings.d.ts.map +1 -1
- package/resources/texml/accounts/calls/recordings.js +1 -1
- package/resources/texml/accounts/calls/recordings.js.map +1 -1
- package/resources/texml/accounts/calls/recordings.mjs +1 -1
- package/resources/texml/accounts/calls/recordings.mjs.map +1 -1
- package/resources/texml/accounts/conferences/conferences.d.mts +12 -155
- package/resources/texml/accounts/conferences/conferences.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/conferences.d.ts +12 -155
- package/resources/texml/accounts/conferences/conferences.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/conferences.js +3 -3
- package/resources/texml/accounts/conferences/conferences.js.map +1 -1
- package/resources/texml/accounts/conferences/conferences.mjs +3 -3
- package/resources/texml/accounts/conferences/conferences.mjs.map +1 -1
- package/resources/texml/accounts/conferences/index.d.mts +2 -2
- package/resources/texml/accounts/conferences/index.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/index.d.ts +2 -2
- package/resources/texml/accounts/conferences/index.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/index.js.map +1 -1
- package/resources/texml/accounts/conferences/index.mjs.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.mts +7 -133
- package/resources/texml/accounts/conferences/participants.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.ts +7 -133
- package/resources/texml/accounts/conferences/participants.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/participants.js +2 -2
- package/resources/texml/accounts/conferences/participants.mjs +2 -2
- package/resources/texml/accounts/index.d.mts +4 -4
- package/resources/texml/accounts/index.d.mts.map +1 -1
- package/resources/texml/accounts/index.d.ts +4 -4
- package/resources/texml/accounts/index.d.ts.map +1 -1
- package/resources/texml/accounts/index.js.map +1 -1
- package/resources/texml/accounts/index.mjs.map +1 -1
- package/resources/texml/accounts/queues.d.mts +18 -139
- package/resources/texml/accounts/queues.d.mts.map +1 -1
- package/resources/texml/accounts/queues.d.ts +18 -139
- package/resources/texml/accounts/queues.d.ts.map +1 -1
- package/resources/texml/accounts/queues.js +11 -12
- package/resources/texml/accounts/queues.js.map +1 -1
- package/resources/texml/accounts/queues.mjs +11 -12
- package/resources/texml/accounts/queues.mjs.map +1 -1
- package/resources/texml/accounts/transcriptions/index.d.mts +1 -1
- package/resources/texml/accounts/transcriptions/index.d.mts.map +1 -1
- package/resources/texml/accounts/transcriptions/index.d.ts +1 -1
- package/resources/texml/accounts/transcriptions/index.d.ts.map +1 -1
- package/resources/texml/accounts/transcriptions/json.d.mts +4 -4
- package/resources/texml/accounts/transcriptions/json.d.mts.map +1 -1
- package/resources/texml/accounts/transcriptions/json.d.ts +4 -4
- package/resources/texml/accounts/transcriptions/json.d.ts.map +1 -1
- package/resources/texml/accounts/transcriptions/json.js +1 -1
- package/resources/texml/accounts/transcriptions/json.mjs +1 -1
- package/resources/texml/accounts/transcriptions/transcriptions.d.mts +2 -2
- package/resources/texml/accounts/transcriptions/transcriptions.d.mts.map +1 -1
- package/resources/texml/accounts/transcriptions/transcriptions.d.ts +2 -2
- package/resources/texml/accounts/transcriptions/transcriptions.d.ts.map +1 -1
- package/resources/texml/index.d.mts +1 -1
- package/resources/texml/index.d.mts.map +1 -1
- package/resources/texml/index.d.ts +1 -1
- package/resources/texml/index.d.ts.map +1 -1
- package/resources/texml/index.js.map +1 -1
- package/resources/texml/index.mjs.map +1 -1
- package/resources/texml/texml.d.mts +2 -2
- package/resources/texml/texml.d.mts.map +1 -1
- package/resources/texml/texml.d.ts +2 -2
- 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/text-to-speech/index.d.mts +2 -2
- package/resources/text-to-speech/index.d.mts.map +1 -1
- package/resources/text-to-speech/index.d.ts +2 -2
- package/resources/text-to-speech/index.d.ts.map +1 -1
- package/resources/text-to-speech/index.js +1 -3
- package/resources/text-to-speech/index.js.map +1 -1
- package/resources/text-to-speech/index.mjs +0 -1
- package/resources/text-to-speech/index.mjs.map +1 -1
- package/resources/text-to-speech/internal-base.d.mts +70 -1
- package/resources/text-to-speech/internal-base.d.mts.map +1 -1
- package/resources/text-to-speech/internal-base.d.ts +70 -1
- package/resources/text-to-speech/internal-base.d.ts.map +1 -1
- package/resources/text-to-speech/internal-base.js +44 -5
- package/resources/text-to-speech/internal-base.js.map +1 -1
- package/resources/text-to-speech/internal-base.mjs +40 -1
- package/resources/text-to-speech/internal-base.mjs.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.mts +34 -80
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +34 -80
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-speech/text-to-speech.js +12 -25
- package/resources/text-to-speech/text-to-speech.js.map +1 -1
- package/resources/text-to-speech/text-to-speech.mjs +12 -25
- package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
- package/resources/text-to-speech/ws-base.d.mts +105 -1
- package/resources/text-to-speech/ws-base.d.mts.map +1 -1
- package/resources/text-to-speech/ws-base.d.ts +105 -1
- package/resources/text-to-speech/ws-base.d.ts.map +1 -1
- package/resources/text-to-speech/ws-base.js +471 -2
- package/resources/text-to-speech/ws-base.js.map +1 -1
- package/resources/text-to-speech/ws-base.mjs +470 -1
- package/resources/text-to-speech/ws-base.mjs.map +1 -1
- package/resources/text-to-speech/ws.d.mts +12 -2
- package/resources/text-to-speech/ws.d.mts.map +1 -1
- package/resources/text-to-speech/ws.d.ts +12 -2
- package/resources/text-to-speech/ws.d.ts.map +1 -1
- package/resources/text-to-speech/ws.js +26 -2
- package/resources/text-to-speech/ws.js.map +1 -1
- package/resources/text-to-speech/ws.mjs +24 -1
- package/resources/text-to-speech/ws.mjs.map +1 -1
- package/resources/uac-connections/index.d.mts +1 -1
- package/resources/uac-connections/index.d.mts.map +1 -1
- package/resources/uac-connections/index.d.ts +1 -1
- package/resources/uac-connections/index.d.ts.map +1 -1
- package/resources/uac-connections/index.js.map +1 -1
- package/resources/uac-connections/index.mjs.map +1 -1
- package/resources/uac-connections/uac-connections.d.mts +72 -142
- package/resources/uac-connections/uac-connections.d.mts.map +1 -1
- package/resources/uac-connections/uac-connections.d.ts +72 -142
- package/resources/uac-connections/uac-connections.d.ts.map +1 -1
- package/resources/uac-connections/uac-connections.js.map +1 -1
- package/resources/uac-connections/uac-connections.mjs.map +1 -1
- package/resources/verifications/index.d.mts +1 -1
- package/resources/verifications/index.d.mts.map +1 -1
- package/resources/verifications/index.d.ts +1 -1
- package/resources/verifications/index.d.ts.map +1 -1
- package/resources/verifications/index.js.map +1 -1
- package/resources/verifications/index.mjs.map +1 -1
- package/resources/verifications/verifications.d.mts +22 -1
- package/resources/verifications/verifications.d.mts.map +1 -1
- package/resources/verifications/verifications.d.ts +22 -1
- package/resources/verifications/verifications.d.ts.map +1 -1
- package/resources/verifications/verifications.js.map +1 -1
- package/resources/verifications/verifications.mjs.map +1 -1
- package/resources/virtual-cross-connects.d.mts +143 -1
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts +143 -1
- package/resources/virtual-cross-connects.d.ts.map +1 -1
- package/resources/virtual-cross-connects.js.map +1 -1
- package/resources/virtual-cross-connects.mjs.map +1 -1
- package/resources/voice-clones.d.mts +34 -30
- package/resources/voice-clones.d.mts.map +1 -1
- package/resources/voice-clones.d.ts +34 -30
- package/resources/voice-clones.d.ts.map +1 -1
- package/resources/voice-clones.js +19 -18
- package/resources/voice-clones.js.map +1 -1
- package/resources/voice-clones.mjs +19 -18
- package/resources/voice-clones.mjs.map +1 -1
- package/resources/voice-designs.d.mts +16 -60
- package/resources/voice-designs.d.mts.map +1 -1
- package/resources/voice-designs.d.ts +16 -60
- package/resources/voice-designs.d.ts.map +1 -1
- package/resources/voice-designs.js +8 -8
- package/resources/voice-designs.js.map +1 -1
- package/resources/voice-designs.mjs +8 -8
- package/resources/voice-designs.mjs.map +1 -1
- package/resources/voice-sdk-call-reports.d.mts +35 -186
- package/resources/voice-sdk-call-reports.d.mts.map +1 -1
- package/resources/voice-sdk-call-reports.d.ts +35 -186
- package/resources/voice-sdk-call-reports.d.ts.map +1 -1
- package/resources/voice-sdk-call-reports.js +4 -1
- package/resources/voice-sdk-call-reports.js.map +1 -1
- package/resources/voice-sdk-call-reports.mjs +4 -1
- package/resources/voice-sdk-call-reports.mjs.map +1 -1
- package/resources/webhook-deliveries.d.mts +12 -79
- package/resources/webhook-deliveries.d.mts.map +1 -1
- package/resources/webhook-deliveries.d.ts +12 -79
- package/resources/webhook-deliveries.d.ts.map +1 -1
- package/resources/webhook-deliveries.js +4 -1
- package/resources/webhook-deliveries.js.map +1 -1
- package/resources/webhook-deliveries.mjs +4 -1
- package/resources/webhook-deliveries.mjs.map +1 -1
- package/resources/webhooks.d.mts +5 -3
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +5 -3
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +11 -4
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +11 -4
- package/resources/webhooks.mjs.map +1 -1
- package/resources/whatsapp/index.d.mts +1 -1
- package/resources/whatsapp/index.d.mts.map +1 -1
- package/resources/whatsapp/index.d.ts +1 -1
- package/resources/whatsapp/index.d.ts.map +1 -1
- package/resources/whatsapp/index.js.map +1 -1
- package/resources/whatsapp/index.mjs.map +1 -1
- package/resources/whatsapp/templates.d.mts +149 -151
- package/resources/whatsapp/templates.d.mts.map +1 -1
- package/resources/whatsapp/templates.d.ts +149 -151
- package/resources/whatsapp/templates.d.ts.map +1 -1
- package/resources/whatsapp/whatsapp.d.mts +2 -2
- package/resources/whatsapp/whatsapp.d.mts.map +1 -1
- package/resources/whatsapp/whatsapp.d.ts +2 -2
- package/resources/whatsapp/whatsapp.d.ts.map +1 -1
- package/resources/whatsapp/whatsapp.js.map +1 -1
- package/resources/whatsapp/whatsapp.mjs +1 -1
- package/resources/whatsapp/whatsapp.mjs.map +1 -1
- package/resources/whatsapp-message-templates.d.mts +2 -162
- package/resources/whatsapp-message-templates.d.mts.map +1 -1
- package/resources/whatsapp-message-templates.d.ts +2 -162
- package/resources/whatsapp-message-templates.d.ts.map +1 -1
- package/resources/whatsapp-message-templates.js.map +1 -1
- package/resources/whatsapp-message-templates.mjs.map +1 -1
- package/resources/wireguard-interfaces.d.mts +24 -50
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +24 -50
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/resources/wireguard-interfaces.js +3 -34
- package/resources/wireguard-interfaces.js.map +1 -1
- package/resources/wireguard-interfaces.mjs +3 -34
- package/resources/wireguard-interfaces.mjs.map +1 -1
- package/resources/wireguard-peers.d.mts +30 -109
- package/resources/wireguard-peers.d.mts.map +1 -1
- package/resources/wireguard-peers.d.ts +30 -109
- package/resources/wireguard-peers.d.ts.map +1 -1
- package/resources/wireguard-peers.js +5 -5
- package/resources/wireguard-peers.js.map +1 -1
- package/resources/wireguard-peers.mjs +5 -5
- package/resources/wireguard-peers.mjs.map +1 -1
- package/src/client.ts +219 -131
- package/src/index.ts +0 -1
- package/src/resources/advanced-orders.ts +9 -94
- package/src/resources/ai/ai.ts +342 -57
- package/src/resources/ai/assistants/assistants.ts +797 -17
- package/src/resources/ai/assistants/index.ts +13 -8
- package/src/resources/ai/assistants/instructions.ts +74 -0
- package/src/resources/ai/assistants/scheduled-events.ts +44 -0
- package/src/resources/ai/assistants/tags.ts +14 -20
- package/src/resources/ai/assistants/tests/runs.ts +3 -0
- package/src/resources/ai/assistants/tools.ts +7 -1
- package/src/resources/ai/assistants/versions.ts +27 -3
- package/src/resources/ai/chat.ts +206 -0
- package/src/resources/ai/clusters.ts +3 -0
- package/src/resources/ai/index.ts +25 -27
- package/src/resources/ai/integrations/index.ts +1 -1
- package/src/resources/ai/integrations/integrations.ts +4 -25
- package/src/resources/ai/mcp-servers.ts +19 -70
- package/src/resources/ai/missions/index.ts +6 -9
- package/src/resources/ai/missions/knowledge-bases.ts +9 -0
- package/src/resources/ai/missions/mcp-servers.ts +9 -0
- package/src/resources/ai/missions/missions.ts +34 -35
- package/src/resources/ai/missions/runs/events.ts +38 -42
- package/src/resources/ai/missions/runs/index.ts +9 -12
- package/src/resources/ai/missions/runs/plan.ts +64 -72
- package/src/resources/ai/missions/runs/runs.ts +77 -67
- package/src/resources/ai/missions/runs/telnyx-agents.ts +10 -1
- package/src/resources/ai/missions/tools.ts +9 -0
- package/src/resources/ai/openai/index.ts +1 -6
- package/src/resources/ai/openai/openai.ts +6 -13
- package/src/resources/ai/tools.ts +23 -58
- package/src/resources/bulk-sim-card-actions.ts +17 -57
- package/src/resources/call-reasons.ts +149 -0
- package/src/resources/calls/actions.ts +234 -512
- package/src/resources/calls/calls.ts +171 -154
- package/src/resources/calls/index.ts +9 -0
- package/src/resources/channel-zones.ts +7 -34
- package/src/resources/conferences/actions.ts +25 -16
- package/src/resources/conferences/conferences.ts +15 -17
- package/src/resources/conferences/index.ts +2 -2
- package/src/resources/connections.ts +10 -77
- package/src/resources/credential-connections/credential-connections.ts +12 -3
- package/src/resources/credential-connections/index.ts +1 -0
- package/src/resources/custom-storage-credentials.ts +22 -57
- package/src/resources/dialogflow-connections.ts +10 -74
- package/src/resources/dir/comments.ts +148 -0
- package/src/resources/dir/dir.ts +692 -0
- package/src/resources/dir/index.ts +46 -0
- package/src/resources/dir/phone-number-batches.ts +170 -0
- package/src/resources/dir/phone-numbers.ts +266 -0
- package/src/resources/dir.ts +3 -0
- package/src/resources/document-links.ts +2 -16
- package/src/resources/documents.ts +25 -17
- package/src/resources/enterprises/dir.ts +220 -0
- package/src/resources/enterprises/enterprises.ts +351 -255
- package/src/resources/enterprises/index.ts +5 -6
- package/src/resources/enterprises/reputation/index.ts +20 -5
- package/src/resources/enterprises/reputation/loa.ts +147 -0
- package/src/resources/enterprises/reputation/numbers.ts +157 -93
- package/src/resources/enterprises/reputation/remediation.ts +273 -0
- package/src/resources/enterprises/reputation/reputation.ts +130 -97
- package/src/resources/external-connections/external-connections.ts +8 -8
- package/src/resources/external-connections/index.ts +4 -4
- package/src/resources/external-connections/log-messages.ts +14 -55
- package/src/resources/external-connections/releases.ts +23 -52
- package/src/resources/faxes/faxes.ts +10 -2
- package/src/resources/faxes/index.ts +1 -0
- package/src/resources/fqdn-connections.ts +3 -3
- package/src/resources/global-ip-health-checks.ts +18 -77
- package/src/resources/global-ips.ts +15 -90
- package/src/resources/index.ts +100 -62
- package/src/resources/infringement-claims.ts +207 -0
- package/src/resources/ip-connections.ts +3 -3
- package/src/resources/legacy/reporting/usage-reports/usage-reports.ts +6 -0
- package/src/resources/messages/index.ts +0 -1
- package/src/resources/messages/messages.ts +2 -29
- package/src/resources/messaging-10dlc/brand/brand.ts +69 -108
- package/src/resources/messaging-10dlc/brand/external-vetting.ts +9 -94
- package/src/resources/messaging-10dlc/brand/index.ts +3 -5
- package/src/resources/messaging-10dlc/campaign/campaign.ts +3 -0
- package/src/resources/messaging-10dlc/campaign/usecase.ts +3 -0
- package/src/resources/messaging-10dlc/campaign-builder/brand.ts +3 -0
- package/src/resources/messaging-10dlc/index.ts +1 -2
- package/src/resources/messaging-10dlc/messaging-10dlc.ts +2 -4
- package/src/resources/messaging-10dlc/phone-number-assignment-by-profile.ts +12 -0
- package/src/resources/messaging-hosted-numbers.ts +26 -0
- package/src/resources/messaging-profile-metrics.ts +7 -1
- package/src/resources/messaging-profiles/autoresp-configs.ts +10 -1
- package/src/resources/messaging-profiles/messaging-profiles.ts +7 -1
- package/src/resources/messaging-tollfree/verification/requests.ts +14 -3
- package/src/resources/mobile-phone-numbers/index.ts +2 -2
- package/src/resources/mobile-phone-numbers/messaging.ts +16 -89
- package/src/resources/mobile-phone-numbers/mobile-phone-numbers.ts +4 -4
- package/src/resources/networks/default-gateway.ts +22 -61
- package/src/resources/networks/index.ts +4 -3
- package/src/resources/networks/networks.ts +31 -75
- package/src/resources/porting/events.ts +15 -21
- package/src/resources/porting/index.ts +2 -2
- package/src/resources/porting/porting.ts +4 -4
- package/src/resources/porting-orders/action-requirements.ts +8 -63
- package/src/resources/porting-orders/additional-documents.ts +12 -61
- package/src/resources/porting-orders/comments.ts +11 -39
- package/src/resources/porting-orders/index.ts +10 -10
- package/src/resources/porting-orders/phone-number-blocks.ts +2 -14
- package/src/resources/porting-orders/phone-number-configurations.ts +12 -49
- package/src/resources/porting-orders/porting-orders.ts +23 -111
- package/src/resources/porting-orders/verification-codes.ts +8 -48
- package/src/resources/porting-phone-numbers.ts +29 -25
- package/src/resources/portouts/events.ts +12 -12
- package/src/resources/portouts/index.ts +2 -2
- package/src/resources/portouts/portouts.ts +4 -4
- package/src/resources/pronunciation-dicts.ts +19 -33
- package/src/resources/public-internet-gateways.ts +22 -45
- package/src/resources/queues/calls.ts +14 -78
- package/src/resources/queues/index.ts +2 -2
- package/src/resources/queues/queues.ts +4 -4
- package/src/resources/recordings/index.ts +1 -2
- package/src/resources/recordings/recordings.ts +9 -14
- package/src/resources/reports/cdr-usage-reports.ts +15 -0
- package/src/resources/reports/mdr-usage-reports.ts +12 -0
- package/src/resources/reports/reports.ts +16 -17
- package/src/resources/reputation/index.ts +1 -6
- package/src/resources/reputation/numbers.ts +29 -34
- package/src/resources/reputation/reputation.ts +1 -2
- package/src/resources/requirements.ts +11 -62
- package/src/resources/room-recordings.ts +10 -92
- package/src/resources/shared.ts +39 -77
- package/src/resources/sip-registration-status.ts +43 -9
- package/src/resources/siprec-connectors.ts +10 -95
- package/src/resources/speech-to-text/index.ts +2 -0
- package/src/resources/speech-to-text/speech-to-text.ts +156 -18
- package/src/resources/terms-of-service/agreements.ts +102 -0
- package/src/resources/terms-of-service/branded-calling.ts +24 -0
- package/src/resources/terms-of-service/index.ts +16 -1
- package/src/resources/terms-of-service/number-reputation.ts +7 -11
- package/src/resources/terms-of-service/terms-of-service.ts +145 -0
- package/src/resources/texml/accounts/accounts.ts +15 -125
- package/src/resources/texml/accounts/calls/calls.ts +624 -284
- package/src/resources/texml/accounts/calls/index.ts +6 -9
- package/src/resources/texml/accounts/calls/recordings-json.ts +26 -17
- package/src/resources/texml/accounts/calls/recordings.ts +4 -66
- package/src/resources/texml/accounts/conferences/conferences.ts +12 -196
- package/src/resources/texml/accounts/conferences/index.ts +2 -5
- package/src/resources/texml/accounts/conferences/participants.ts +7 -164
- package/src/resources/texml/accounts/index.ts +4 -11
- package/src/resources/texml/accounts/queues.ts +20 -173
- package/src/resources/texml/accounts/transcriptions/index.ts +1 -1
- package/src/resources/texml/accounts/transcriptions/json.ts +4 -4
- package/src/resources/texml/accounts/transcriptions/transcriptions.ts +2 -2
- package/src/resources/texml/index.ts +0 -1
- package/src/resources/texml/texml.ts +0 -2
- package/src/resources/text-to-speech/index.ts +3 -4
- package/src/resources/text-to-speech/internal-base.ts +111 -6
- package/src/resources/text-to-speech/text-to-speech.ts +46 -117
- package/src/resources/text-to-speech/ws-base.ts +613 -5
- package/src/resources/text-to-speech/ws.ts +40 -2
- package/src/resources/uac-connections/index.ts +1 -0
- package/src/resources/uac-connections/uac-connections.ts +85 -167
- package/src/resources/verifications/index.ts +1 -0
- package/src/resources/verifications/verifications.ts +26 -0
- package/src/resources/virtual-cross-connects.ts +173 -0
- package/src/resources/voice-clones.ts +42 -41
- package/src/resources/voice-designs.ts +19 -72
- package/src/resources/voice-sdk-call-reports.ts +44 -210
- package/src/resources/webhook-deliveries.ts +18 -98
- package/src/resources/webhooks.ts +14 -5
- package/src/resources/whatsapp/index.ts +5 -0
- package/src/resources/whatsapp/templates.ts +171 -168
- package/src/resources/whatsapp/whatsapp.ts +16 -1
- package/src/resources/whatsapp-message-templates.ts +6 -195
- package/src/resources/wireguard-interfaces.ts +32 -52
- package/src/resources/wireguard-peers.ts +38 -126
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as AssistantsAPI from './assistants';
|
|
4
5
|
import * as Shared from '../../shared';
|
|
5
6
|
import * as ChatAPI from '../chat';
|
|
6
7
|
import * as CanaryDeploysAPI from './canary-deploys';
|
|
@@ -16,10 +17,13 @@ import {
|
|
|
16
17
|
RuleOutput,
|
|
17
18
|
Serve,
|
|
18
19
|
} from './canary-deploys';
|
|
20
|
+
import * as InstructionsAPI from './instructions';
|
|
21
|
+
import { InstructionEnhanceParams, InstructionEnhanceResponse, Instructions } from './instructions';
|
|
19
22
|
import * as ScheduledEventsAPI from './scheduled-events';
|
|
20
23
|
import {
|
|
21
24
|
ConversationChannelType,
|
|
22
25
|
EventStatus,
|
|
26
|
+
ScheduledCallSettings,
|
|
23
27
|
ScheduledEventCreateParams,
|
|
24
28
|
ScheduledEventDeleteParams,
|
|
25
29
|
ScheduledEventListParams,
|
|
@@ -32,14 +36,7 @@ import {
|
|
|
32
36
|
ScheduledSMSEventResponse,
|
|
33
37
|
} from './scheduled-events';
|
|
34
38
|
import * as TagsAPI from './tags';
|
|
35
|
-
import {
|
|
36
|
-
TagAddParams,
|
|
37
|
-
TagAddResponse,
|
|
38
|
-
TagListResponse,
|
|
39
|
-
TagRemoveParams,
|
|
40
|
-
TagRemoveResponse,
|
|
41
|
-
Tags,
|
|
42
|
-
} from './tags';
|
|
39
|
+
import { TagAddParams, TagRemoveParams, Tags, TagsResponse } from './tags';
|
|
43
40
|
import * as ToolsAPI from './tools';
|
|
44
41
|
import {
|
|
45
42
|
ToolAddParams,
|
|
@@ -83,6 +80,7 @@ export class Assistants extends APIResource {
|
|
|
83
80
|
tools: ToolsAPI.Tools = new ToolsAPI.Tools(this._client);
|
|
84
81
|
versions: VersionsAPI.Versions = new VersionsAPI.Versions(this._client);
|
|
85
82
|
tags: TagsAPI.Tags = new TagsAPI.Tags(this._client);
|
|
83
|
+
instructions: InstructionsAPI.Instructions = new InstructionsAPI.Instructions(this._client);
|
|
86
84
|
|
|
87
85
|
/**
|
|
88
86
|
* Create a new AI Assistant.
|
|
@@ -264,6 +262,35 @@ export class Assistants extends APIResource {
|
|
|
264
262
|
}
|
|
265
263
|
}
|
|
266
264
|
|
|
265
|
+
/**
|
|
266
|
+
* Numeric expression: applies an arithmetic operator to two sub-expressions.
|
|
267
|
+
*
|
|
268
|
+
* Useful for derived numeric checks, e.g. `cart_total + shipping > 50`. Both
|
|
269
|
+
* operands should resolve to numbers at runtime.
|
|
270
|
+
*/
|
|
271
|
+
export interface ArithmeticExpression {
|
|
272
|
+
/**
|
|
273
|
+
* Operand sub-expression (Expression AST node). Typed as free-form JSON to support
|
|
274
|
+
* arbitrary recursion depth without an uncompilable by-value self-reference; see
|
|
275
|
+
* the Expression schema for the variant structure.
|
|
276
|
+
*/
|
|
277
|
+
left: unknown;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Arithmetic operator applied to `left` and `right`.
|
|
281
|
+
*/
|
|
282
|
+
op: '+' | '-' | '*' | '/' | '%';
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Operand sub-expression (Expression AST node). Typed as free-form JSON to support
|
|
286
|
+
* arbitrary recursion depth without an uncompilable by-value self-reference; see
|
|
287
|
+
* the Expression schema for the variant structure.
|
|
288
|
+
*/
|
|
289
|
+
right: unknown;
|
|
290
|
+
|
|
291
|
+
type: 'arithmetic';
|
|
292
|
+
}
|
|
293
|
+
|
|
267
294
|
/**
|
|
268
295
|
* Assistant configuration including choice of LLM, custom instructions, and tools.
|
|
269
296
|
*/
|
|
@@ -427,6 +454,15 @@ export namespace AssistantTool {
|
|
|
427
454
|
*/
|
|
428
455
|
custom_headers?: Array<Transfer.CustomHeader>;
|
|
429
456
|
|
|
457
|
+
/**
|
|
458
|
+
* A description of the transfer tool. By default, Telnyx generates this
|
|
459
|
+
* automatically based on the configured targets. Typically only set when importing
|
|
460
|
+
* an assistant from another provider that allowed a custom description; in that
|
|
461
|
+
* case the provided value is preserved. Most users should leave this empty and let
|
|
462
|
+
* Telnyx manage it.
|
|
463
|
+
*/
|
|
464
|
+
description?: string;
|
|
465
|
+
|
|
430
466
|
/**
|
|
431
467
|
* Configuration for voicemail detection (AMD - Answering Machine Detection) on the
|
|
432
468
|
* transferred call. Allows the assistant to detect when a voicemail system answers
|
|
@@ -832,6 +868,266 @@ export interface AudioVisualizerConfig {
|
|
|
832
868
|
preset?: string;
|
|
833
869
|
}
|
|
834
870
|
|
|
871
|
+
/**
|
|
872
|
+
* Authentication method used when connecting to the external LLM endpoint.
|
|
873
|
+
*/
|
|
874
|
+
export type AuthenticationMethod = 'token' | 'certificate';
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Combine sub-expressions with a logical operator (`and` / `or` / `not`).
|
|
878
|
+
*
|
|
879
|
+
* `and` and `or` accept two or more operands; `not` accepts exactly one.
|
|
880
|
+
*/
|
|
881
|
+
export interface BooleanOpExpression {
|
|
882
|
+
/**
|
|
883
|
+
* Logical operator. `not` is unary; `and`/`or` are n-ary (>=2).
|
|
884
|
+
*/
|
|
885
|
+
op: 'and' | 'or' | 'not';
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* Operand sub-expressions. Length must be exactly 1 for `not` and >= 2 for
|
|
889
|
+
* `and`/`or`.
|
|
890
|
+
*/
|
|
891
|
+
operands: Array<Expression>;
|
|
892
|
+
|
|
893
|
+
type: 'bool_op';
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* Compare two sub-expressions with a relational or membership operator.
|
|
898
|
+
*
|
|
899
|
+
* Evaluates to a boolean. Used in edge conditions to gate transitions on runtime
|
|
900
|
+
* values, e.g. `user_age >= 18` or `tier == "gold"`.
|
|
901
|
+
*/
|
|
902
|
+
export interface ComparisonExpression {
|
|
903
|
+
/**
|
|
904
|
+
* Operand sub-expression (Expression AST node). Typed as free-form JSON to support
|
|
905
|
+
* arbitrary recursion depth without an uncompilable by-value self-reference; see
|
|
906
|
+
* the Expression schema for the variant structure.
|
|
907
|
+
*/
|
|
908
|
+
left: unknown;
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* Relational/membership operator. `contains` / `not_contains` apply to strings
|
|
912
|
+
* (substring) and arrays (membership).
|
|
913
|
+
*/
|
|
914
|
+
op: '==' | '!=' | '<' | '<=' | '>' | '>=' | 'contains' | 'not_contains';
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* Operand sub-expression (Expression AST node). Typed as free-form JSON to support
|
|
918
|
+
* arbitrary recursion depth without an uncompilable by-value self-reference; see
|
|
919
|
+
* the Expression schema for the variant structure.
|
|
920
|
+
*/
|
|
921
|
+
right: unknown;
|
|
922
|
+
|
|
923
|
+
type: 'comparison';
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* Conversation flow as supplied by API clients (create / update).
|
|
928
|
+
*
|
|
929
|
+
* A directed graph of `FlowNodeReq` connected by `FlowEdge`s. Validation enforces
|
|
930
|
+
* unique node/edge IDs, that `start_node_id` references a real node, and that
|
|
931
|
+
* every edge's endpoints reference real nodes.
|
|
932
|
+
*/
|
|
933
|
+
export interface ConversationFlowReq {
|
|
934
|
+
/**
|
|
935
|
+
* All nodes in the flow. Must contain `start_node_id`. Each node is a prompt node
|
|
936
|
+
* (`type: prompt`) or a tool node (`type: tool`).
|
|
937
|
+
*/
|
|
938
|
+
nodes: Array<
|
|
939
|
+
ConversationFlowReq.FlowNodeReq | ConversationFlowReq.ToolNodeReq | ConversationFlowReq.SpeakNodeReq
|
|
940
|
+
>;
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* ID of the node where the conversation begins.
|
|
944
|
+
*/
|
|
945
|
+
start_node_id: string;
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* Directed transitions between nodes. May be empty for a single-node flow.
|
|
949
|
+
*/
|
|
950
|
+
edges?: Array<FlowEdge>;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
export namespace ConversationFlowReq {
|
|
954
|
+
/**
|
|
955
|
+
* One step in a conversation flow, as supplied by API clients.
|
|
956
|
+
*
|
|
957
|
+
* Each node carries the prompt, tool scope, and optional overrides for
|
|
958
|
+
* model/voice/transcription. Unset overrides cascade from the assistant.
|
|
959
|
+
*/
|
|
960
|
+
export interface FlowNodeReq {
|
|
961
|
+
/**
|
|
962
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
963
|
+
*/
|
|
964
|
+
id: string;
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Prompt that drives the LLM while this node is active. Required.
|
|
968
|
+
*/
|
|
969
|
+
instructions: string;
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* Override for `Assistant.external_llm` while this node is active. Use this to
|
|
973
|
+
* route a node's turns to a different external LLM (different `model`, `base_url`,
|
|
974
|
+
* credentials). Part of the LLM bundle — see `model` for cascade semantics.
|
|
975
|
+
* Mutually exclusive with `model` on the node (a single LLM identity per node).
|
|
976
|
+
*/
|
|
977
|
+
external_llm?: AssistantsAPI.ExternalLlmReq;
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* How `instructions` combine with the assistant-level instructions. `replace`
|
|
981
|
+
* (default): the node's instructions are used alone. `append`: the node's
|
|
982
|
+
* instructions are concatenated after the assistant's instructions.
|
|
983
|
+
*/
|
|
984
|
+
instructions_mode?: 'replace' | 'append';
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* Override for `Assistant.llm_api_key_ref` while this node is active. Part of the
|
|
988
|
+
* LLM bundle — see `model` for cascade semantics.
|
|
989
|
+
*/
|
|
990
|
+
llm_api_key_ref?: string;
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* Override for `Assistant.model` while this node is active. Part of the LLM bundle
|
|
994
|
+
* (`model` + `llm_api_key_ref` + `external_llm`): when any of the three is set on
|
|
995
|
+
* the node, all three are taken from the node and the assistant-level LLM identity
|
|
996
|
+
* is not consulted. When none of the three is set, the assistant's bundle cascades
|
|
997
|
+
* unchanged.
|
|
998
|
+
*/
|
|
999
|
+
model?: string;
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
1003
|
+
*/
|
|
1004
|
+
name?: string;
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1008
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1009
|
+
* reloads.
|
|
1010
|
+
*/
|
|
1011
|
+
position?: AssistantsAPI.NodePosition;
|
|
1012
|
+
|
|
1013
|
+
/**
|
|
1014
|
+
* IDs of shared (org-level) tools available at this node. Knowledge bases are
|
|
1015
|
+
* attached the same way — via a shared retrieval tool. Tools not listed here are
|
|
1016
|
+
* not callable while this node is active.
|
|
1017
|
+
*/
|
|
1018
|
+
shared_tool_ids?: Array<string>;
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* How `shared_tool_ids` combine with the assistant-level tool set. `replace`
|
|
1022
|
+
* (default): only the node's tools are callable. `append`: the node's tools are
|
|
1023
|
+
* added to the assistant's tools. Ignored when `shared_tool_ids` is null.
|
|
1024
|
+
*/
|
|
1025
|
+
tools_mode?: 'replace' | 'append';
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Per-node transcription override (model/language/region). Unset fields cascade
|
|
1029
|
+
* from the assistant-level transcription.
|
|
1030
|
+
*/
|
|
1031
|
+
transcription?: AssistantsAPI.TranscriptionSettings;
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* Node kind discriminator. `prompt` (default) is an LLM-driven step; `tool` is a
|
|
1035
|
+
* standalone tool execution (see `ToolNodeReq`).
|
|
1036
|
+
*/
|
|
1037
|
+
type?: 'prompt';
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* Per-node voice override. Only fields set here override the assistant-level voice
|
|
1041
|
+
* settings; unset fields cascade.
|
|
1042
|
+
*/
|
|
1043
|
+
voice_settings?: AssistantsAPI.VoiceSettings;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* A standalone tool step in a conversation flow, as supplied by clients.
|
|
1048
|
+
*
|
|
1049
|
+
* Unlike a prompt node, a tool node has no instructions or model — it isn't an LLM
|
|
1050
|
+
* turn. Reaching it deterministically runs one shared tool (arguments filled from
|
|
1051
|
+
* matching dynamic variables by name), then routes on the result via outgoing
|
|
1052
|
+
* `tool_result` edges.
|
|
1053
|
+
*/
|
|
1054
|
+
export interface ToolNodeReq {
|
|
1055
|
+
/**
|
|
1056
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
1057
|
+
*/
|
|
1058
|
+
id: string;
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* ID of the single shared (org-level) tool this node executes. When the flow
|
|
1062
|
+
* reaches this node the tool runs as a deliberate step (no LLM turn); its outgoing
|
|
1063
|
+
* `tool_result` edges then route on the outcome. Arguments are filled from the
|
|
1064
|
+
* conversation's dynamic variables by name — a dynamic variable whose name matches
|
|
1065
|
+
* one of the tool's parameters supplies that argument. Cross-validated against the
|
|
1066
|
+
* org's shared tools on write.
|
|
1067
|
+
*/
|
|
1068
|
+
shared_tool_id: string;
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
1072
|
+
*/
|
|
1073
|
+
name?: string;
|
|
1074
|
+
|
|
1075
|
+
/**
|
|
1076
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1077
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1078
|
+
* reloads.
|
|
1079
|
+
*/
|
|
1080
|
+
position?: AssistantsAPI.NodePosition;
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* Node kind discriminator. Always `tool` for a tool node.
|
|
1084
|
+
*/
|
|
1085
|
+
type?: 'tool';
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* A standalone scripted-message step in a flow, as supplied by clients.
|
|
1090
|
+
*
|
|
1091
|
+
* Unlike a prompt node, a speak node has no instructions or model — it isn't an
|
|
1092
|
+
* LLM turn. Reaching it delivers `message` to the user verbatim (with
|
|
1093
|
+
* `{{variable}}` interpolation), then routes via outgoing `llm` / `expression`
|
|
1094
|
+
* edges.
|
|
1095
|
+
*/
|
|
1096
|
+
export interface SpeakNodeReq {
|
|
1097
|
+
/**
|
|
1098
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
1099
|
+
*/
|
|
1100
|
+
id: string;
|
|
1101
|
+
|
|
1102
|
+
/**
|
|
1103
|
+
* Message delivered to the user verbatim when the flow reaches this node. No LLM
|
|
1104
|
+
* turn — the text is spoken/sent exactly as written. `{{variable}}` placeholders
|
|
1105
|
+
* are interpolated from the conversation's dynamic variables; an unresolved
|
|
1106
|
+
* placeholder renders as an empty string. After delivering, the flow routes via
|
|
1107
|
+
* the node's outgoing `llm` / `expression` edges (commonly a single unconditional
|
|
1108
|
+
* edge).
|
|
1109
|
+
*/
|
|
1110
|
+
message: string;
|
|
1111
|
+
|
|
1112
|
+
/**
|
|
1113
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
1114
|
+
*/
|
|
1115
|
+
name?: string;
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1119
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1120
|
+
* reloads.
|
|
1121
|
+
*/
|
|
1122
|
+
position?: AssistantsAPI.NodePosition;
|
|
1123
|
+
|
|
1124
|
+
/**
|
|
1125
|
+
* Node kind discriminator. Always `speak` for a speak node.
|
|
1126
|
+
*/
|
|
1127
|
+
type?: 'speak';
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
|
|
835
1131
|
/**
|
|
836
1132
|
* If `telephony` is enabled, the assistant will be able to make and receive calls.
|
|
837
1133
|
* If `messaging` is enabled, the assistant will be able to send and receive
|
|
@@ -839,6 +1135,77 @@ export interface AudioVisualizerConfig {
|
|
|
839
1135
|
*/
|
|
840
1136
|
export type EnabledFeatures = 'telephony' | 'messaging';
|
|
841
1137
|
|
|
1138
|
+
/**
|
|
1139
|
+
* A node in a deterministic expression AST. Exactly one variant is selected by the
|
|
1140
|
+
* `type` discriminator. Terminal variants (`number_literal`, `string_literal`,
|
|
1141
|
+
* `bool_literal`, `variable`) bottom out the recursion; `arithmetic`, `bool_op`,
|
|
1142
|
+
* and `comparison` nest further sub-expressions.
|
|
1143
|
+
*
|
|
1144
|
+
* Extracted into a single named schema so the recursive union is defined once (was
|
|
1145
|
+
* previously inlined at every operand site).
|
|
1146
|
+
*/
|
|
1147
|
+
export type Expression =
|
|
1148
|
+
| ComparisonExpression
|
|
1149
|
+
| BooleanOpExpression
|
|
1150
|
+
| ArithmeticExpression
|
|
1151
|
+
| Expression.DynamicVariableExpression
|
|
1152
|
+
| Expression.StringLiteralExpression
|
|
1153
|
+
| Expression.NumberLiteralExpression
|
|
1154
|
+
| Expression.BooleanLiteralExpression;
|
|
1155
|
+
|
|
1156
|
+
export namespace Expression {
|
|
1157
|
+
/**
|
|
1158
|
+
* Reference a dynamic variable by name.
|
|
1159
|
+
*
|
|
1160
|
+
* Resolved at runtime from the assistant's dynamic-variables context (see
|
|
1161
|
+
* `Assistant.dynamic_variables` and the dynamic-variables webhook).
|
|
1162
|
+
*/
|
|
1163
|
+
export interface DynamicVariableExpression {
|
|
1164
|
+
/**
|
|
1165
|
+
* Variable name to look up in the runtime context.
|
|
1166
|
+
*/
|
|
1167
|
+
name: string;
|
|
1168
|
+
|
|
1169
|
+
type: 'variable';
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* Constant string value.
|
|
1174
|
+
*/
|
|
1175
|
+
export interface StringLiteralExpression {
|
|
1176
|
+
type: 'string_literal';
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
* Literal string value.
|
|
1180
|
+
*/
|
|
1181
|
+
value: string;
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* Constant numeric value (float; integers are accepted and stored as float).
|
|
1186
|
+
*/
|
|
1187
|
+
export interface NumberLiteralExpression {
|
|
1188
|
+
type: 'number_literal';
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* Literal numeric value.
|
|
1192
|
+
*/
|
|
1193
|
+
value: number;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* Constant boolean value. Useful for unconditional ('always') edges.
|
|
1198
|
+
*/
|
|
1199
|
+
export interface BooleanLiteralExpression {
|
|
1200
|
+
type: 'bool_literal';
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* Literal boolean value.
|
|
1204
|
+
*/
|
|
1205
|
+
value: boolean;
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
|
|
842
1209
|
export interface ExternalLlm {
|
|
843
1210
|
/**
|
|
844
1211
|
* Base URL for the external LLM endpoint.
|
|
@@ -853,7 +1220,7 @@ export interface ExternalLlm {
|
|
|
853
1220
|
/**
|
|
854
1221
|
* Authentication method used when connecting to the external LLM endpoint.
|
|
855
1222
|
*/
|
|
856
|
-
authentication_method?:
|
|
1223
|
+
authentication_method?: AuthenticationMethod;
|
|
857
1224
|
|
|
858
1225
|
/**
|
|
859
1226
|
* Integration secret identifier for the client certificate used with certificate
|
|
@@ -897,7 +1264,7 @@ export interface ExternalLlmReq {
|
|
|
897
1264
|
/**
|
|
898
1265
|
* Authentication method used when connecting to the external LLM endpoint.
|
|
899
1266
|
*/
|
|
900
|
-
authentication_method?:
|
|
1267
|
+
authentication_method?: AuthenticationMethod;
|
|
901
1268
|
|
|
902
1269
|
/**
|
|
903
1270
|
* Integration secret identifier for the client certificate used with certificate
|
|
@@ -957,6 +1324,139 @@ export interface FallbackConfigReq {
|
|
|
957
1324
|
model?: string;
|
|
958
1325
|
}
|
|
959
1326
|
|
|
1327
|
+
/**
|
|
1328
|
+
* Directed transition from one node to a target, gated by a condition.
|
|
1329
|
+
*
|
|
1330
|
+
* The target is either another node in the same flow (`NodeTarget`) or a different
|
|
1331
|
+
* assistant (`AssistantTarget`). Multiple edges may share a `start_node_id`; the
|
|
1332
|
+
* runtime evaluates them in the order they're declared and takes the first whose
|
|
1333
|
+
* condition is true.
|
|
1334
|
+
*/
|
|
1335
|
+
export interface FlowEdge {
|
|
1336
|
+
/**
|
|
1337
|
+
* Caller-supplied unique identifier for this edge within the flow.
|
|
1338
|
+
*/
|
|
1339
|
+
id: string;
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* Condition that gates the transition. Discriminated by `type`: `llm`,
|
|
1343
|
+
* `expression`.
|
|
1344
|
+
*/
|
|
1345
|
+
condition: FlowEdge.LlmCondition | FlowEdge.ExpressionCondition | FlowEdge.DefaultCondition;
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
* ID of the node this edge transitions away from.
|
|
1349
|
+
*/
|
|
1350
|
+
start_node_id: string;
|
|
1351
|
+
|
|
1352
|
+
/**
|
|
1353
|
+
* Destination of the transition. Discriminated by `type`: `node` (jump to another
|
|
1354
|
+
* node in this flow) or `assistant` (hand off to a different assistant).
|
|
1355
|
+
*/
|
|
1356
|
+
target: FlowEdge.NodeTarget | FlowEdge.AssistantTarget;
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
export namespace FlowEdge {
|
|
1360
|
+
/**
|
|
1361
|
+
* Edge condition evaluated by the LLM from a natural-language prompt.
|
|
1362
|
+
*
|
|
1363
|
+
* The model is asked to judge the prompt against conversation context and returns
|
|
1364
|
+
* true/false. Use this for fuzzy intents that aren't expressible as a
|
|
1365
|
+
* deterministic expression (e.g. 'user wants to escalate to a human').
|
|
1366
|
+
*/
|
|
1367
|
+
export interface LlmCondition {
|
|
1368
|
+
/**
|
|
1369
|
+
* Natural-language criterion the LLM judges as true/false.
|
|
1370
|
+
*/
|
|
1371
|
+
prompt: string;
|
|
1372
|
+
|
|
1373
|
+
type: 'llm';
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
/**
|
|
1377
|
+
* Edge condition evaluated as a deterministic expression AST.
|
|
1378
|
+
*
|
|
1379
|
+
* The expression is computed against runtime dynamic variables and must evaluate
|
|
1380
|
+
* to a boolean. Prefer this over `LLMCondition` when the rule is a clean function
|
|
1381
|
+
* of known variables — it's cheaper and predictable.
|
|
1382
|
+
*/
|
|
1383
|
+
export interface ExpressionCondition {
|
|
1384
|
+
/**
|
|
1385
|
+
* Root of the expression AST; evaluates to a boolean. Typed as free-form JSON to
|
|
1386
|
+
* avoid an uncompilable by-value self-reference; see the Expression schema for the
|
|
1387
|
+
* variant structure.
|
|
1388
|
+
*/
|
|
1389
|
+
expression: unknown;
|
|
1390
|
+
|
|
1391
|
+
type: 'expression';
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* Fallback edge condition: fires only when no other edge's condition is true.
|
|
1396
|
+
*
|
|
1397
|
+
* Evaluated after every conditioned (`llm` / `expression`) edge regardless of
|
|
1398
|
+
* declaration order, so it routes the flow whenever none of the node's other
|
|
1399
|
+
* outgoing edges match. Valid **only** on edges leaving a `tool` or `speak` node,
|
|
1400
|
+
* where the deterministic step auto-advances and must always have somewhere to go.
|
|
1401
|
+
* A tool/speak node with any outgoing edge is required to carry exactly one
|
|
1402
|
+
* `default` edge so it never dead-ends; a tool/speak node with no outgoing edges
|
|
1403
|
+
* is a valid terminal step. Carries no parameters.
|
|
1404
|
+
*/
|
|
1405
|
+
export interface DefaultCondition {
|
|
1406
|
+
type: 'default';
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
/**
|
|
1410
|
+
* Edge target referencing another node within the same flow.
|
|
1411
|
+
*
|
|
1412
|
+
* The runtime transitions the active node to `node_id` and continues processing
|
|
1413
|
+
* within the current assistant's flow.
|
|
1414
|
+
*/
|
|
1415
|
+
export interface NodeTarget {
|
|
1416
|
+
/**
|
|
1417
|
+
* ID of the node this edge transitions into.
|
|
1418
|
+
*/
|
|
1419
|
+
node_id: string;
|
|
1420
|
+
|
|
1421
|
+
type: 'node';
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* Edge target referencing a different assistant.
|
|
1426
|
+
*
|
|
1427
|
+
* When the edge fires, the conversation hands off to `assistant_id`: the active
|
|
1428
|
+
* assistant on the conversation row is rewritten and the new assistant's flow
|
|
1429
|
+
* starts at its own `start_node_id`. The current turn's LLM response is delivered
|
|
1430
|
+
* to the user as-is; subsequent turns route to the new assistant.
|
|
1431
|
+
*/
|
|
1432
|
+
export interface AssistantTarget {
|
|
1433
|
+
/**
|
|
1434
|
+
* ID of the assistant the conversation transitions to.
|
|
1435
|
+
*/
|
|
1436
|
+
assistant_id: string;
|
|
1437
|
+
|
|
1438
|
+
type: 'assistant';
|
|
1439
|
+
|
|
1440
|
+
/**
|
|
1441
|
+
* Optional canvas coordinates for rendering the target assistant as a node in
|
|
1442
|
+
* authoring UIs. Pure presentation — the runtime ignores it; round-trips so
|
|
1443
|
+
* frontends can persist graph layout across reloads. When multiple edges target
|
|
1444
|
+
* the same assistant, each edge's `position` is independent (frontends typically
|
|
1445
|
+
* use the first non-null one).
|
|
1446
|
+
*/
|
|
1447
|
+
position?: AssistantsAPI.NodePosition;
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* Voice behavior when handing off to the target assistant, mirroring the handoff
|
|
1451
|
+
* tool's `voice_mode`. `unified` (default) keeps the current voice across the
|
|
1452
|
+
* handoff; `distinct` lets the target assistant speak with its own configured
|
|
1453
|
+
* voice. Only applies to assistant targets — node targets override voice via the
|
|
1454
|
+
* node's own `voice_settings`.
|
|
1455
|
+
*/
|
|
1456
|
+
voice_mode?: 'unified' | 'distinct';
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
|
|
960
1460
|
export interface HangupTool {
|
|
961
1461
|
hangup: HangupToolParams;
|
|
962
1462
|
|
|
@@ -1004,6 +1504,11 @@ export interface InferenceEmbedding {
|
|
|
1004
1504
|
|
|
1005
1505
|
name: string;
|
|
1006
1506
|
|
|
1507
|
+
/**
|
|
1508
|
+
* Conversation flow as returned by the API.
|
|
1509
|
+
*/
|
|
1510
|
+
conversation_flow?: InferenceEmbedding.ConversationFlow;
|
|
1511
|
+
|
|
1007
1512
|
description?: string;
|
|
1008
1513
|
|
|
1009
1514
|
/**
|
|
@@ -1147,6 +1652,205 @@ export interface InferenceEmbedding {
|
|
|
1147
1652
|
widget_settings?: WidgetSettings;
|
|
1148
1653
|
}
|
|
1149
1654
|
|
|
1655
|
+
export namespace InferenceEmbedding {
|
|
1656
|
+
/**
|
|
1657
|
+
* Conversation flow as returned by the API.
|
|
1658
|
+
*/
|
|
1659
|
+
export interface ConversationFlow {
|
|
1660
|
+
/**
|
|
1661
|
+
* All nodes in the flow.
|
|
1662
|
+
*/
|
|
1663
|
+
nodes: Array<ConversationFlow.FlowNode | ConversationFlow.ToolNode | ConversationFlow.SpeakNode>;
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* ID of the node where the conversation begins.
|
|
1667
|
+
*/
|
|
1668
|
+
start_node_id: string;
|
|
1669
|
+
|
|
1670
|
+
/**
|
|
1671
|
+
* Directed transitions between nodes.
|
|
1672
|
+
*/
|
|
1673
|
+
edges?: Array<AssistantsAPI.FlowEdge>;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
export namespace ConversationFlow {
|
|
1677
|
+
/**
|
|
1678
|
+
* One step in a conversation flow, as returned by the API.
|
|
1679
|
+
*/
|
|
1680
|
+
export interface FlowNode {
|
|
1681
|
+
/**
|
|
1682
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
1683
|
+
*/
|
|
1684
|
+
id: string;
|
|
1685
|
+
|
|
1686
|
+
/**
|
|
1687
|
+
* Prompt that drives the LLM while this node is active. Required.
|
|
1688
|
+
*/
|
|
1689
|
+
instructions: string;
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* Override for `Assistant.external_llm` while this node is active. Use this to
|
|
1693
|
+
* route a node's turns to a different external LLM (different `model`, `base_url`,
|
|
1694
|
+
* credentials). Part of the LLM bundle — see `model` for cascade semantics.
|
|
1695
|
+
* Mutually exclusive with `model` on the node (a single LLM identity per node).
|
|
1696
|
+
*/
|
|
1697
|
+
external_llm?: AssistantsAPI.ExternalLlm;
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* How `instructions` combine with the assistant-level instructions. `replace`
|
|
1701
|
+
* (default): the node's instructions are used alone. `append`: the node's
|
|
1702
|
+
* instructions are concatenated after the assistant's instructions.
|
|
1703
|
+
*/
|
|
1704
|
+
instructions_mode?: 'replace' | 'append';
|
|
1705
|
+
|
|
1706
|
+
/**
|
|
1707
|
+
* Override for `Assistant.llm_api_key_ref` while this node is active. Part of the
|
|
1708
|
+
* LLM bundle — see `model` for cascade semantics.
|
|
1709
|
+
*/
|
|
1710
|
+
llm_api_key_ref?: string;
|
|
1711
|
+
|
|
1712
|
+
/**
|
|
1713
|
+
* Override for `Assistant.model` while this node is active. Part of the LLM bundle
|
|
1714
|
+
* (`model` + `llm_api_key_ref` + `external_llm`): when any of the three is set on
|
|
1715
|
+
* the node, all three are taken from the node and the assistant-level LLM identity
|
|
1716
|
+
* is not consulted. When none of the three is set, the assistant's bundle cascades
|
|
1717
|
+
* unchanged.
|
|
1718
|
+
*/
|
|
1719
|
+
model?: string;
|
|
1720
|
+
|
|
1721
|
+
/**
|
|
1722
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
1723
|
+
*/
|
|
1724
|
+
name?: string;
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1728
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1729
|
+
* reloads.
|
|
1730
|
+
*/
|
|
1731
|
+
position?: AssistantsAPI.NodePosition;
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* IDs of shared (org-level) tools available at this node. Knowledge bases are
|
|
1735
|
+
* attached the same way — via a shared retrieval tool. Tools not listed here are
|
|
1736
|
+
* not callable while this node is active.
|
|
1737
|
+
*/
|
|
1738
|
+
shared_tool_ids?: Array<string>;
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* Full tool definitions for this node, resolved from `shared_tool_ids`
|
|
1742
|
+
* server-side. Populated on responses so clients can render the flow without a
|
|
1743
|
+
* follow-up fetch per shared tool. Ignored on input — set `shared_tool_ids` to
|
|
1744
|
+
* configure a node's tools.
|
|
1745
|
+
*/
|
|
1746
|
+
tools?: Array<Array<AssistantsAPI.AssistantTool>>;
|
|
1747
|
+
|
|
1748
|
+
/**
|
|
1749
|
+
* How `shared_tool_ids` combine with the assistant-level tool set. `replace`
|
|
1750
|
+
* (default): only the node's tools are callable. `append`: the node's tools are
|
|
1751
|
+
* added to the assistant's tools. Ignored when `shared_tool_ids` is null.
|
|
1752
|
+
*/
|
|
1753
|
+
tools_mode?: 'replace' | 'append';
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* Per-node transcription override (response form).
|
|
1757
|
+
*/
|
|
1758
|
+
transcription?: AssistantsAPI.TranscriptionSettings;
|
|
1759
|
+
|
|
1760
|
+
/**
|
|
1761
|
+
* Node kind discriminator. `prompt` is an LLM-driven step.
|
|
1762
|
+
*/
|
|
1763
|
+
type?: 'prompt';
|
|
1764
|
+
|
|
1765
|
+
/**
|
|
1766
|
+
* Per-node voice override (response form).
|
|
1767
|
+
*/
|
|
1768
|
+
voice_settings?: AssistantsAPI.VoiceSettings;
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
/**
|
|
1772
|
+
* A standalone tool step in a conversation flow, as returned by the API.
|
|
1773
|
+
*/
|
|
1774
|
+
export interface ToolNode {
|
|
1775
|
+
/**
|
|
1776
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
1777
|
+
*/
|
|
1778
|
+
id: string;
|
|
1779
|
+
|
|
1780
|
+
/**
|
|
1781
|
+
* ID of the single shared (org-level) tool this node executes. When the flow
|
|
1782
|
+
* reaches this node the tool runs as a deliberate step (no LLM turn); its outgoing
|
|
1783
|
+
* `tool_result` edges then route on the outcome. Arguments are filled from the
|
|
1784
|
+
* conversation's dynamic variables by name — a dynamic variable whose name matches
|
|
1785
|
+
* one of the tool's parameters supplies that argument. Cross-validated against the
|
|
1786
|
+
* org's shared tools on write.
|
|
1787
|
+
*/
|
|
1788
|
+
shared_tool_id: string;
|
|
1789
|
+
|
|
1790
|
+
/**
|
|
1791
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
1792
|
+
*/
|
|
1793
|
+
name?: string;
|
|
1794
|
+
|
|
1795
|
+
/**
|
|
1796
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1797
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1798
|
+
* reloads.
|
|
1799
|
+
*/
|
|
1800
|
+
position?: AssistantsAPI.NodePosition;
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
* Full tool definition resolved from `shared_tool_id` server-side. Populated on
|
|
1804
|
+
* responses so clients can render the node without a follow-up fetch. Ignored on
|
|
1805
|
+
* input — set `shared_tool_id`.
|
|
1806
|
+
*/
|
|
1807
|
+
tool?: Array<AssistantsAPI.AssistantTool>;
|
|
1808
|
+
|
|
1809
|
+
/**
|
|
1810
|
+
* Node kind discriminator. Always `tool` for a tool node.
|
|
1811
|
+
*/
|
|
1812
|
+
type?: 'tool';
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
/**
|
|
1816
|
+
* A standalone scripted-message step in a flow, as returned by the API.
|
|
1817
|
+
*/
|
|
1818
|
+
export interface SpeakNode {
|
|
1819
|
+
/**
|
|
1820
|
+
* Caller-supplied unique identifier for this node within the flow.
|
|
1821
|
+
*/
|
|
1822
|
+
id: string;
|
|
1823
|
+
|
|
1824
|
+
/**
|
|
1825
|
+
* Message delivered to the user verbatim when the flow reaches this node. No LLM
|
|
1826
|
+
* turn — the text is spoken/sent exactly as written. `{{variable}}` placeholders
|
|
1827
|
+
* are interpolated from the conversation's dynamic variables; an unresolved
|
|
1828
|
+
* placeholder renders as an empty string. After delivering, the flow routes via
|
|
1829
|
+
* the node's outgoing `llm` / `expression` edges (commonly a single unconditional
|
|
1830
|
+
* edge).
|
|
1831
|
+
*/
|
|
1832
|
+
message: string;
|
|
1833
|
+
|
|
1834
|
+
/**
|
|
1835
|
+
* Optional human-readable label, displayed in authoring UIs.
|
|
1836
|
+
*/
|
|
1837
|
+
name?: string;
|
|
1838
|
+
|
|
1839
|
+
/**
|
|
1840
|
+
* Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
1841
|
+
* by the runtime; round-trips so frontends can persist graph layout across
|
|
1842
|
+
* reloads.
|
|
1843
|
+
*/
|
|
1844
|
+
position?: AssistantsAPI.NodePosition;
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* Node kind discriminator. Always `speak` for a speak node.
|
|
1848
|
+
*/
|
|
1849
|
+
type?: 'speak';
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1150
1854
|
/**
|
|
1151
1855
|
* Settings for interruptions and how the assistant decides the user has finished
|
|
1152
1856
|
* speaking. These timings are most relevant when using non turn-taking
|
|
@@ -1384,6 +2088,25 @@ export interface MessagingSettings {
|
|
|
1384
2088
|
delivery_status_webhook_url?: string;
|
|
1385
2089
|
}
|
|
1386
2090
|
|
|
2091
|
+
/**
|
|
2092
|
+
* 2D coordinates for a node, used by authoring UIs to lay out the graph.
|
|
2093
|
+
*
|
|
2094
|
+
* Purely a presentation aid. The runtime ignores `position`; it round-trips
|
|
2095
|
+
* through the API so frontends can persist the graph layout customers arrange in
|
|
2096
|
+
* the editor.
|
|
2097
|
+
*/
|
|
2098
|
+
export interface NodePosition {
|
|
2099
|
+
/**
|
|
2100
|
+
* Horizontal coordinate in the authoring canvas.
|
|
2101
|
+
*/
|
|
2102
|
+
x: number;
|
|
2103
|
+
|
|
2104
|
+
/**
|
|
2105
|
+
* Vertical coordinate in the authoring canvas.
|
|
2106
|
+
*/
|
|
2107
|
+
y: number;
|
|
2108
|
+
}
|
|
2109
|
+
|
|
1387
2110
|
export interface Observability {
|
|
1388
2111
|
host?: string;
|
|
1389
2112
|
|
|
@@ -1398,7 +2121,7 @@ export interface Observability {
|
|
|
1398
2121
|
* `instructions` to Langfuse via create_prompt and stores the returned version in
|
|
1399
2122
|
* prompt_version.
|
|
1400
2123
|
*/
|
|
1401
|
-
prompt_sync?:
|
|
2124
|
+
prompt_sync?: PromptSyncStatus;
|
|
1402
2125
|
|
|
1403
2126
|
prompt_version?: number;
|
|
1404
2127
|
|
|
@@ -1406,7 +2129,7 @@ export interface Observability {
|
|
|
1406
2129
|
|
|
1407
2130
|
secret_key_ref?: string;
|
|
1408
2131
|
|
|
1409
|
-
status?:
|
|
2132
|
+
status?: ObservabilityStatus;
|
|
1410
2133
|
}
|
|
1411
2134
|
|
|
1412
2135
|
export interface ObservabilityReq {
|
|
@@ -1423,7 +2146,7 @@ export interface ObservabilityReq {
|
|
|
1423
2146
|
* `instructions` to Langfuse via create_prompt and stores the returned version in
|
|
1424
2147
|
* prompt_version.
|
|
1425
2148
|
*/
|
|
1426
|
-
prompt_sync?:
|
|
2149
|
+
prompt_sync?: PromptSyncStatus;
|
|
1427
2150
|
|
|
1428
2151
|
prompt_version?: number;
|
|
1429
2152
|
|
|
@@ -1431,9 +2154,11 @@ export interface ObservabilityReq {
|
|
|
1431
2154
|
|
|
1432
2155
|
secret_key_ref?: string;
|
|
1433
2156
|
|
|
1434
|
-
status?:
|
|
2157
|
+
status?: ObservabilityStatus;
|
|
1435
2158
|
}
|
|
1436
2159
|
|
|
2160
|
+
export type ObservabilityStatus = 'enabled' | 'disabled';
|
|
2161
|
+
|
|
1437
2162
|
/**
|
|
1438
2163
|
* Configuration for post-conversation processing. When enabled, the assistant
|
|
1439
2164
|
* receives one additional LLM turn after the conversation ends, allowing it to
|
|
@@ -1480,6 +2205,15 @@ export interface PrivacySettings {
|
|
|
1480
2205
|
data_retention?: boolean;
|
|
1481
2206
|
}
|
|
1482
2207
|
|
|
2208
|
+
/**
|
|
2209
|
+
* Whether to auto-publish the assistant's instructions as a Langfuse prompt.
|
|
2210
|
+
*
|
|
2211
|
+
* When ENABLED + prompt_name set, every assistant create/update pushes
|
|
2212
|
+
* `instructions` to Langfuse via create_prompt and stores the returned version in
|
|
2213
|
+
* prompt_version.
|
|
2214
|
+
*/
|
|
2215
|
+
export type PromptSyncStatus = 'enabled' | 'disabled';
|
|
2216
|
+
|
|
1483
2217
|
export interface RetrievalTool {
|
|
1484
2218
|
retrieval: ChatAPI.BucketIDs;
|
|
1485
2219
|
|
|
@@ -2268,6 +3002,15 @@ export interface AssistantCreateParams {
|
|
|
2268
3002
|
|
|
2269
3003
|
name: string;
|
|
2270
3004
|
|
|
3005
|
+
/**
|
|
3006
|
+
* Conversation flow as supplied by API clients (create / update).
|
|
3007
|
+
*
|
|
3008
|
+
* A directed graph of `FlowNodeReq` connected by `FlowEdge`s. Validation enforces
|
|
3009
|
+
* unique node/edge IDs, that `start_node_id` references a real node, and that
|
|
3010
|
+
* every edge's endpoints reference real nodes.
|
|
3011
|
+
*/
|
|
3012
|
+
conversation_flow?: ConversationFlowReq;
|
|
3013
|
+
|
|
2271
3014
|
description?: string;
|
|
2272
3015
|
|
|
2273
3016
|
/**
|
|
@@ -2404,16 +3147,37 @@ export interface AssistantCreateParams {
|
|
|
2404
3147
|
}
|
|
2405
3148
|
|
|
2406
3149
|
export interface AssistantRetrieveParams {
|
|
3150
|
+
/**
|
|
3151
|
+
* Filter results by call control id.
|
|
3152
|
+
*/
|
|
2407
3153
|
call_control_id?: string;
|
|
2408
3154
|
|
|
3155
|
+
/**
|
|
3156
|
+
* Whether to fetch dynamic variables from the configured webhook.
|
|
3157
|
+
*/
|
|
2409
3158
|
fetch_dynamic_variables_from_webhook?: boolean;
|
|
2410
3159
|
|
|
3160
|
+
/**
|
|
3161
|
+
* Start of the filter range.
|
|
3162
|
+
*/
|
|
2411
3163
|
from?: string;
|
|
2412
3164
|
|
|
3165
|
+
/**
|
|
3166
|
+
* End of the filter range.
|
|
3167
|
+
*/
|
|
2413
3168
|
to?: string;
|
|
2414
3169
|
}
|
|
2415
3170
|
|
|
2416
3171
|
export interface AssistantUpdateParams {
|
|
3172
|
+
/**
|
|
3173
|
+
* Conversation flow as supplied by API clients (create / update).
|
|
3174
|
+
*
|
|
3175
|
+
* A directed graph of `FlowNodeReq` connected by `FlowEdge`s. Validation enforces
|
|
3176
|
+
* unique node/edge IDs, that `start_node_id` references a real node, and that
|
|
3177
|
+
* every edge's endpoints reference real nodes.
|
|
3178
|
+
*/
|
|
3179
|
+
conversation_flow?: ConversationFlowReq;
|
|
3180
|
+
|
|
2417
3181
|
description?: string;
|
|
2418
3182
|
|
|
2419
3183
|
/**
|
|
@@ -2623,20 +3387,28 @@ Assistants.ScheduledEvents = ScheduledEvents;
|
|
|
2623
3387
|
Assistants.Tools = Tools;
|
|
2624
3388
|
Assistants.Versions = Versions;
|
|
2625
3389
|
Assistants.Tags = Tags;
|
|
3390
|
+
Assistants.Instructions = Instructions;
|
|
2626
3391
|
|
|
2627
3392
|
export declare namespace Assistants {
|
|
2628
3393
|
export {
|
|
3394
|
+
type ArithmeticExpression as ArithmeticExpression,
|
|
2629
3395
|
type Assistant as Assistant,
|
|
2630
3396
|
type AssistantIntegration as AssistantIntegration,
|
|
2631
3397
|
type AssistantMcpServer as AssistantMcpServer,
|
|
2632
3398
|
type AssistantTool as AssistantTool,
|
|
2633
3399
|
type AssistantsList as AssistantsList,
|
|
2634
3400
|
type AudioVisualizerConfig as AudioVisualizerConfig,
|
|
3401
|
+
type AuthenticationMethod as AuthenticationMethod,
|
|
3402
|
+
type BooleanOpExpression as BooleanOpExpression,
|
|
3403
|
+
type ComparisonExpression as ComparisonExpression,
|
|
3404
|
+
type ConversationFlowReq as ConversationFlowReq,
|
|
2635
3405
|
type EnabledFeatures as EnabledFeatures,
|
|
3406
|
+
type Expression as Expression,
|
|
2636
3407
|
type ExternalLlm as ExternalLlm,
|
|
2637
3408
|
type ExternalLlmReq as ExternalLlmReq,
|
|
2638
3409
|
type FallbackConfig as FallbackConfig,
|
|
2639
3410
|
type FallbackConfigReq as FallbackConfigReq,
|
|
3411
|
+
type FlowEdge as FlowEdge,
|
|
2640
3412
|
type HangupTool as HangupTool,
|
|
2641
3413
|
type HangupToolParams as HangupToolParams,
|
|
2642
3414
|
type ImportMetadata as ImportMetadata,
|
|
@@ -2645,11 +3417,14 @@ export declare namespace Assistants {
|
|
|
2645
3417
|
type InferenceEmbeddingWebhookToolParams as InferenceEmbeddingWebhookToolParams,
|
|
2646
3418
|
type InsightSettings as InsightSettings,
|
|
2647
3419
|
type MessagingSettings as MessagingSettings,
|
|
3420
|
+
type NodePosition as NodePosition,
|
|
2648
3421
|
type Observability as Observability,
|
|
2649
3422
|
type ObservabilityReq as ObservabilityReq,
|
|
3423
|
+
type ObservabilityStatus as ObservabilityStatus,
|
|
2650
3424
|
type PostConversationSettings as PostConversationSettings,
|
|
2651
3425
|
type PostConversationSettingsReq as PostConversationSettingsReq,
|
|
2652
3426
|
type PrivacySettings as PrivacySettings,
|
|
3427
|
+
type PromptSyncStatus as PromptSyncStatus,
|
|
2653
3428
|
type RetrievalTool as RetrievalTool,
|
|
2654
3429
|
type StartSpeakingPlan as StartSpeakingPlan,
|
|
2655
3430
|
type TelephonySettings as TelephonySettings,
|
|
@@ -2699,6 +3474,7 @@ export declare namespace Assistants {
|
|
|
2699
3474
|
ScheduledEvents as ScheduledEvents,
|
|
2700
3475
|
type ConversationChannelType as ConversationChannelType,
|
|
2701
3476
|
type EventStatus as EventStatus,
|
|
3477
|
+
type ScheduledCallSettings as ScheduledCallSettings,
|
|
2702
3478
|
type ScheduledEventResponse as ScheduledEventResponse,
|
|
2703
3479
|
type ScheduledPhoneCallEventResponse as ScheduledPhoneCallEventResponse,
|
|
2704
3480
|
type ScheduledSMSEventResponse as ScheduledSMSEventResponse,
|
|
@@ -2731,10 +3507,14 @@ export declare namespace Assistants {
|
|
|
2731
3507
|
|
|
2732
3508
|
export {
|
|
2733
3509
|
Tags as Tags,
|
|
2734
|
-
type
|
|
2735
|
-
type TagAddResponse as TagAddResponse,
|
|
2736
|
-
type TagRemoveResponse as TagRemoveResponse,
|
|
3510
|
+
type TagsResponse as TagsResponse,
|
|
2737
3511
|
type TagAddParams as TagAddParams,
|
|
2738
3512
|
type TagRemoveParams as TagRemoveParams,
|
|
2739
3513
|
};
|
|
3514
|
+
|
|
3515
|
+
export {
|
|
3516
|
+
Instructions as Instructions,
|
|
3517
|
+
type InstructionEnhanceResponse as InstructionEnhanceResponse,
|
|
3518
|
+
type InstructionEnhanceParams as InstructionEnhanceParams,
|
|
3519
|
+
};
|
|
2740
3520
|
}
|