telnyx 6.83.0 → 7.1.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 +259 -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
|
@@ -2,14 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../../../core/resource';
|
|
4
4
|
import * as RecordingsAPI from './recordings';
|
|
5
|
-
import { RecordingRecordingSidJsonParams,
|
|
5
|
+
import { RecordingRecordingSidJsonParams, Recordings } from './recordings';
|
|
6
6
|
import * as RecordingsJsonAPI from './recordings-json';
|
|
7
7
|
import {
|
|
8
|
+
RecordingSource,
|
|
8
9
|
RecordingsJson,
|
|
9
10
|
RecordingsJsonRecordingsJsonParams,
|
|
10
|
-
RecordingsJsonRecordingsJsonResponse,
|
|
11
11
|
RecordingsJsonRetrieveRecordingsJsonParams,
|
|
12
|
-
|
|
12
|
+
TexmlCreateCallRecordingResponseBody,
|
|
13
|
+
TexmlGetCallRecordingsResponseBody,
|
|
14
|
+
TwimlRecordingChannels,
|
|
13
15
|
} from './recordings-json';
|
|
14
16
|
import * as SiprecAPI from './siprec';
|
|
15
17
|
import { Siprec, SiprecSiprecSidJsonParams, SiprecSiprecSidJsonResponse } from './siprec';
|
|
@@ -35,17 +37,13 @@ export class Calls extends APIResource {
|
|
|
35
37
|
*
|
|
36
38
|
* @example
|
|
37
39
|
* ```ts
|
|
38
|
-
* const
|
|
39
|
-
* 'call_sid',
|
|
40
|
-
*
|
|
41
|
-
*
|
|
40
|
+
* const callResource =
|
|
41
|
+
* await client.texml.accounts.calls.retrieve('call_sid', {
|
|
42
|
+
* account_sid: 'account_sid',
|
|
43
|
+
* });
|
|
42
44
|
* ```
|
|
43
45
|
*/
|
|
44
|
-
retrieve(
|
|
45
|
-
callSid: string,
|
|
46
|
-
params: CallRetrieveParams,
|
|
47
|
-
options?: RequestOptions,
|
|
48
|
-
): APIPromise<CallRetrieveResponse> {
|
|
46
|
+
retrieve(callSid: string, params: CallRetrieveParams, options?: RequestOptions): APIPromise<CallResource> {
|
|
49
47
|
const { account_sid } = params;
|
|
50
48
|
return this._client.get(path`/texml/Accounts/${account_sid}/Calls/${callSid}`, options);
|
|
51
49
|
}
|
|
@@ -56,17 +54,13 @@ export class Calls extends APIResource {
|
|
|
56
54
|
*
|
|
57
55
|
* @example
|
|
58
56
|
* ```ts
|
|
59
|
-
* const
|
|
60
|
-
* 'call_sid',
|
|
61
|
-
*
|
|
62
|
-
*
|
|
57
|
+
* const callResource =
|
|
58
|
+
* await client.texml.accounts.calls.update('call_sid', {
|
|
59
|
+
* account_sid: 'account_sid',
|
|
60
|
+
* });
|
|
63
61
|
* ```
|
|
64
62
|
*/
|
|
65
|
-
update(
|
|
66
|
-
callSid: string,
|
|
67
|
-
params: CallUpdateParams,
|
|
68
|
-
options?: RequestOptions,
|
|
69
|
-
): APIPromise<CallUpdateResponse> {
|
|
63
|
+
update(callSid: string, params: CallUpdateParams, options?: RequestOptions): APIPromise<CallResource> {
|
|
70
64
|
const { account_sid, ...body } = params;
|
|
71
65
|
return this._client.post(path`/texml/Accounts/${account_sid}/Calls/${callSid}`, {
|
|
72
66
|
body,
|
|
@@ -83,19 +77,20 @@ export class Calls extends APIResource {
|
|
|
83
77
|
* ```ts
|
|
84
78
|
* const response = await client.texml.accounts.calls.calls(
|
|
85
79
|
* 'account_sid',
|
|
86
|
-
* {
|
|
87
|
-
* params: {
|
|
88
|
-
* ApplicationSid: 'example-app-sid',
|
|
89
|
-
* From: '+13120001234',
|
|
90
|
-
* To: '+13121230000',
|
|
91
|
-
* },
|
|
92
|
-
* },
|
|
80
|
+
* { Url: 'https://www.example.com/instructions.xml' },
|
|
93
81
|
* );
|
|
94
82
|
* ```
|
|
95
83
|
*/
|
|
96
|
-
calls(
|
|
97
|
-
|
|
98
|
-
|
|
84
|
+
calls(
|
|
85
|
+
accountSid: string,
|
|
86
|
+
params: CallCallsParams,
|
|
87
|
+
options?: RequestOptions,
|
|
88
|
+
): APIPromise<CallCallsResponse> {
|
|
89
|
+
const { timeout_seconds, ...body } = params;
|
|
90
|
+
return this._client.post(path`/texml/Accounts/${accountSid}/Calls`, {
|
|
91
|
+
body: { Timeout: timeout_seconds, ...body },
|
|
92
|
+
...options,
|
|
93
|
+
});
|
|
99
94
|
}
|
|
100
95
|
|
|
101
96
|
/**
|
|
@@ -169,52 +164,7 @@ export class Calls extends APIResource {
|
|
|
169
164
|
}
|
|
170
165
|
}
|
|
171
166
|
|
|
172
|
-
export interface
|
|
173
|
-
/**
|
|
174
|
-
* HTTP request type used for `FallbackUrl`.
|
|
175
|
-
*/
|
|
176
|
-
FallbackMethod?: 'GET' | 'POST';
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* A failover URL for which Telnyx will retrieve the TeXML call instructions if the
|
|
180
|
-
* Url is not responding.
|
|
181
|
-
*/
|
|
182
|
-
FallbackUrl?: string;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* HTTP request type used for `Url`.
|
|
186
|
-
*/
|
|
187
|
-
Method?: 'GET' | 'POST';
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* The value to set the call status to. Setting the status to completed ends the
|
|
191
|
-
* call.
|
|
192
|
-
*/
|
|
193
|
-
Status?: string;
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* URL destination for Telnyx to send status callback events to for the call.
|
|
197
|
-
*/
|
|
198
|
-
StatusCallback?: string;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* HTTP request type used for `StatusCallback`.
|
|
202
|
-
*/
|
|
203
|
-
StatusCallbackMethod?: 'GET' | 'POST';
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* TeXML to replace the current one with.
|
|
207
|
-
*/
|
|
208
|
-
Texml?: string;
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* The URL where TeXML will make a request to retrieve a new set of TeXML
|
|
212
|
-
* instructions to continue the call flow.
|
|
213
|
-
*/
|
|
214
|
-
Url?: string;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
export interface CallRetrieveResponse {
|
|
167
|
+
export interface CallResource {
|
|
218
168
|
/**
|
|
219
169
|
* The id of the account the resource belongs to.
|
|
220
170
|
*/
|
|
@@ -308,98 +258,49 @@ export interface CallRetrieveResponse {
|
|
|
308
258
|
uri?: string;
|
|
309
259
|
}
|
|
310
260
|
|
|
311
|
-
export interface
|
|
312
|
-
/**
|
|
313
|
-
* The id of the account the resource belongs to.
|
|
314
|
-
*/
|
|
315
|
-
account_sid?: string;
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* The value of the answering machine detection result, if this feature was enabled
|
|
319
|
-
* for the call.
|
|
320
|
-
*/
|
|
321
|
-
answered_by?: 'human' | 'machine' | 'not_sure';
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* Caller ID, if present.
|
|
325
|
-
*/
|
|
326
|
-
caller_name?: string;
|
|
327
|
-
|
|
328
|
-
/**
|
|
329
|
-
* The timestamp of when the resource was created.
|
|
330
|
-
*/
|
|
331
|
-
date_created?: string;
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* The timestamp of when the resource was last updated.
|
|
335
|
-
*/
|
|
336
|
-
date_updated?: string;
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* The direction of this call.
|
|
340
|
-
*/
|
|
341
|
-
direction?: 'inbound' | 'outbound';
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* The duration of this call, given in seconds.
|
|
345
|
-
*/
|
|
346
|
-
duration?: string;
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* The end time of this call.
|
|
350
|
-
*/
|
|
351
|
-
end_time?: string;
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* The phone number or SIP address that made this call.
|
|
355
|
-
*/
|
|
356
|
-
from?: string;
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* The from number formatted for display.
|
|
360
|
-
*/
|
|
361
|
-
from_formatted?: string;
|
|
362
|
-
|
|
261
|
+
export interface UpdateCall {
|
|
363
262
|
/**
|
|
364
|
-
*
|
|
365
|
-
* populated when the call cost feature is enabled for the account.
|
|
263
|
+
* HTTP request type used for `FallbackUrl`.
|
|
366
264
|
*/
|
|
367
|
-
|
|
265
|
+
FallbackMethod?: 'GET' | 'POST';
|
|
368
266
|
|
|
369
267
|
/**
|
|
370
|
-
*
|
|
268
|
+
* A failover URL for which Telnyx will retrieve the TeXML call instructions if the
|
|
269
|
+
* Url is not responding.
|
|
371
270
|
*/
|
|
372
|
-
|
|
271
|
+
FallbackUrl?: string;
|
|
373
272
|
|
|
374
273
|
/**
|
|
375
|
-
*
|
|
274
|
+
* HTTP request type used for `Url`.
|
|
376
275
|
*/
|
|
377
|
-
|
|
276
|
+
Method?: 'GET' | 'POST';
|
|
378
277
|
|
|
379
278
|
/**
|
|
380
|
-
* The
|
|
279
|
+
* The value to set the call status to. Setting the status to completed ends the
|
|
280
|
+
* call.
|
|
381
281
|
*/
|
|
382
|
-
|
|
282
|
+
Status?: string;
|
|
383
283
|
|
|
384
284
|
/**
|
|
385
|
-
*
|
|
285
|
+
* URL destination for Telnyx to send status callback events to for the call.
|
|
386
286
|
*/
|
|
387
|
-
|
|
287
|
+
StatusCallback?: string;
|
|
388
288
|
|
|
389
289
|
/**
|
|
390
|
-
*
|
|
290
|
+
* HTTP request type used for `StatusCallback`.
|
|
391
291
|
*/
|
|
392
|
-
|
|
292
|
+
StatusCallbackMethod?: 'GET' | 'POST';
|
|
393
293
|
|
|
394
294
|
/**
|
|
395
|
-
*
|
|
295
|
+
* TeXML to replace the current one with.
|
|
396
296
|
*/
|
|
397
|
-
|
|
297
|
+
Texml?: string;
|
|
398
298
|
|
|
399
299
|
/**
|
|
400
|
-
* The
|
|
300
|
+
* The URL where TeXML will make a request to retrieve a new set of TeXML
|
|
301
|
+
* instructions to continue the call flow.
|
|
401
302
|
*/
|
|
402
|
-
|
|
303
|
+
Url?: string;
|
|
403
304
|
}
|
|
404
305
|
|
|
405
306
|
export interface CallCallsResponse {
|
|
@@ -411,7 +312,7 @@ export interface CallCallsResponse {
|
|
|
411
312
|
}
|
|
412
313
|
|
|
413
314
|
export interface CallRetrieveCallsResponse {
|
|
414
|
-
calls?: Array<
|
|
315
|
+
calls?: Array<CallResource>;
|
|
415
316
|
|
|
416
317
|
/**
|
|
417
318
|
* The number of the last element on the page, zero-indexed.
|
|
@@ -449,102 +350,6 @@ export interface CallRetrieveCallsResponse {
|
|
|
449
350
|
uri?: string;
|
|
450
351
|
}
|
|
451
352
|
|
|
452
|
-
export namespace CallRetrieveCallsResponse {
|
|
453
|
-
export interface Call {
|
|
454
|
-
/**
|
|
455
|
-
* The id of the account the resource belongs to.
|
|
456
|
-
*/
|
|
457
|
-
account_sid?: string;
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
* The value of the answering machine detection result, if this feature was enabled
|
|
461
|
-
* for the call.
|
|
462
|
-
*/
|
|
463
|
-
answered_by?: 'human' | 'machine' | 'not_sure';
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
* Caller ID, if present.
|
|
467
|
-
*/
|
|
468
|
-
caller_name?: string;
|
|
469
|
-
|
|
470
|
-
/**
|
|
471
|
-
* The timestamp of when the resource was created.
|
|
472
|
-
*/
|
|
473
|
-
date_created?: string;
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* The timestamp of when the resource was last updated.
|
|
477
|
-
*/
|
|
478
|
-
date_updated?: string;
|
|
479
|
-
|
|
480
|
-
/**
|
|
481
|
-
* The direction of this call.
|
|
482
|
-
*/
|
|
483
|
-
direction?: 'inbound' | 'outbound';
|
|
484
|
-
|
|
485
|
-
/**
|
|
486
|
-
* The duration of this call, given in seconds.
|
|
487
|
-
*/
|
|
488
|
-
duration?: string;
|
|
489
|
-
|
|
490
|
-
/**
|
|
491
|
-
* The end time of this call.
|
|
492
|
-
*/
|
|
493
|
-
end_time?: string;
|
|
494
|
-
|
|
495
|
-
/**
|
|
496
|
-
* The phone number or SIP address that made this call.
|
|
497
|
-
*/
|
|
498
|
-
from?: string;
|
|
499
|
-
|
|
500
|
-
/**
|
|
501
|
-
* The from number formatted for display.
|
|
502
|
-
*/
|
|
503
|
-
from_formatted?: string;
|
|
504
|
-
|
|
505
|
-
/**
|
|
506
|
-
* The price of this call, the currency is specified in the price_unit field. Only
|
|
507
|
-
* populated when the call cost feature is enabled for the account.
|
|
508
|
-
*/
|
|
509
|
-
price?: string;
|
|
510
|
-
|
|
511
|
-
/**
|
|
512
|
-
* The unit in which the price is given.
|
|
513
|
-
*/
|
|
514
|
-
price_unit?: string;
|
|
515
|
-
|
|
516
|
-
/**
|
|
517
|
-
* The identifier of this call.
|
|
518
|
-
*/
|
|
519
|
-
sid?: string;
|
|
520
|
-
|
|
521
|
-
/**
|
|
522
|
-
* The start time of this call.
|
|
523
|
-
*/
|
|
524
|
-
start_time?: string;
|
|
525
|
-
|
|
526
|
-
/**
|
|
527
|
-
* The status of this call.
|
|
528
|
-
*/
|
|
529
|
-
status?: 'ringing' | 'in-progress' | 'canceled' | 'completed' | 'failed' | 'busy' | 'no-answer';
|
|
530
|
-
|
|
531
|
-
/**
|
|
532
|
-
* The phone number or SIP address that received this call.
|
|
533
|
-
*/
|
|
534
|
-
to?: string;
|
|
535
|
-
|
|
536
|
-
/**
|
|
537
|
-
* The to number formatted for display.
|
|
538
|
-
*/
|
|
539
|
-
to_formatted?: string;
|
|
540
|
-
|
|
541
|
-
/**
|
|
542
|
-
* The relative URI for this call.
|
|
543
|
-
*/
|
|
544
|
-
uri?: string;
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
|
|
548
353
|
export interface CallSiprecJsonResponse {
|
|
549
354
|
/**
|
|
550
355
|
* The id of the account the resource belongs to.
|
|
@@ -683,38 +488,22 @@ export interface CallUpdateParams {
|
|
|
683
488
|
Url?: string;
|
|
684
489
|
}
|
|
685
490
|
|
|
686
|
-
export
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
* mutually exclusive.
|
|
691
|
-
*/
|
|
692
|
-
params: CallCallsParams.Params;
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
export namespace CallCallsParams {
|
|
696
|
-
/**
|
|
697
|
-
* Initiate a TeXML call. Provide either `Url` (fetches TeXML from URL) or `Texml`
|
|
698
|
-
* (inline TeXML), or neither (uses the application default). `Url` and `Texml` are
|
|
699
|
-
* mutually exclusive.
|
|
700
|
-
*/
|
|
701
|
-
export interface Params {
|
|
702
|
-
/**
|
|
703
|
-
* The ID of the TeXML Application.
|
|
704
|
-
*/
|
|
705
|
-
ApplicationSid: string;
|
|
491
|
+
export type CallCallsParams =
|
|
492
|
+
| CallCallsParams.WithURL
|
|
493
|
+
| CallCallsParams.WithTeXml
|
|
494
|
+
| CallCallsParams.ApplicationDefault;
|
|
706
495
|
|
|
496
|
+
export declare namespace CallCallsParams {
|
|
497
|
+
export interface WithURL {
|
|
707
498
|
/**
|
|
708
|
-
* The
|
|
709
|
-
* formatted with a `+` and country code.
|
|
499
|
+
* The URL from which Telnyx will retrieve the TeXML call instructions.
|
|
710
500
|
*/
|
|
711
|
-
|
|
501
|
+
Url: string;
|
|
712
502
|
|
|
713
503
|
/**
|
|
714
|
-
* The
|
|
715
|
-
* country code.
|
|
504
|
+
* The ID of the TeXML Application.
|
|
716
505
|
*/
|
|
717
|
-
|
|
506
|
+
ApplicationSid?: string;
|
|
718
507
|
|
|
719
508
|
/**
|
|
720
509
|
* Select whether to perform answering machine detection in the background. By
|
|
@@ -756,7 +545,7 @@ export namespace CallCallsParams {
|
|
|
756
545
|
* Custom HTTP headers to be sent with the call. Each header should be an object
|
|
757
546
|
* with 'name' and 'value' properties.
|
|
758
547
|
*/
|
|
759
|
-
CustomHeaders?: Array<
|
|
548
|
+
CustomHeaders?: Array<WithURL.CustomHeader>;
|
|
760
549
|
|
|
761
550
|
/**
|
|
762
551
|
* Enables Deepfake Detection on the dialed call. When enabled, audio from the
|
|
@@ -789,6 +578,12 @@ export namespace CallCallsParams {
|
|
|
789
578
|
*/
|
|
790
579
|
FallbackUrl?: string;
|
|
791
580
|
|
|
581
|
+
/**
|
|
582
|
+
* The phone number of the party that initiated the call. Phone numbers are
|
|
583
|
+
* formatted with a `+` and country code.
|
|
584
|
+
*/
|
|
585
|
+
From?: string;
|
|
586
|
+
|
|
792
587
|
/**
|
|
793
588
|
* Enables Answering Machine Detection.
|
|
794
589
|
*/
|
|
@@ -926,11 +721,7 @@ export namespace CallCallsParams {
|
|
|
926
721
|
*/
|
|
927
722
|
SupervisingRole?: 'barge' | 'whisper' | 'monitor';
|
|
928
723
|
|
|
929
|
-
|
|
930
|
-
* TeXML to be used as instructions for the call. If provided, the call will
|
|
931
|
-
* execute these instructions instead of fetching from the Url.
|
|
932
|
-
*/
|
|
933
|
-
Texml?: string;
|
|
724
|
+
Texml?: string | null;
|
|
934
725
|
|
|
935
726
|
/**
|
|
936
727
|
* The maximum duration of the call in seconds. The minimum value is 30 and the
|
|
@@ -943,7 +734,13 @@ export namespace CallCallsParams {
|
|
|
943
734
|
* call is canceled. The minimum value is 5 and the maximum value is 120. Default
|
|
944
735
|
* is 30 seconds.
|
|
945
736
|
*/
|
|
946
|
-
|
|
737
|
+
timeout_seconds?: number;
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* The phone number of the called party. Phone numbers are formatted with a `+` and
|
|
741
|
+
* country code.
|
|
742
|
+
*/
|
|
743
|
+
To?: string;
|
|
947
744
|
|
|
948
745
|
/**
|
|
949
746
|
* Whether to trim any leading and trailing silence from the recording. Defaults to
|
|
@@ -952,9 +749,552 @@ export namespace CallCallsParams {
|
|
|
952
749
|
Trim?: 'trim-silence' | 'do-not-trim';
|
|
953
750
|
|
|
954
751
|
/**
|
|
955
|
-
*
|
|
752
|
+
* HTTP request type used for `Url`. The default value is inherited from TeXML
|
|
753
|
+
* Application setting.
|
|
754
|
+
*/
|
|
755
|
+
UrlMethod?: 'GET' | 'POST';
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
export namespace WithURL {
|
|
759
|
+
export interface CustomHeader {
|
|
760
|
+
/**
|
|
761
|
+
* The name of the custom header
|
|
762
|
+
*/
|
|
763
|
+
name: string;
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* The value of the custom header
|
|
767
|
+
*/
|
|
768
|
+
value: string;
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
export interface WithTeXml {
|
|
773
|
+
/**
|
|
774
|
+
* TeXML to be used as instructions for the call. If provided, the call will
|
|
775
|
+
* execute these instructions instead of fetching from the Url.
|
|
956
776
|
*/
|
|
957
|
-
|
|
777
|
+
Texml: string;
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* The ID of the TeXML Application.
|
|
781
|
+
*/
|
|
782
|
+
ApplicationSid?: string;
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* Select whether to perform answering machine detection in the background. By
|
|
786
|
+
* default execution is blocked until Answering Machine Detection is completed.
|
|
787
|
+
*/
|
|
788
|
+
AsyncAmd?: boolean;
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* URL destination for Telnyx to send AMD callback events to for the call.
|
|
792
|
+
*/
|
|
793
|
+
AsyncAmdStatusCallback?: string;
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* HTTP request type used for `AsyncAmdStatusCallback`. The default value is
|
|
797
|
+
* inherited from TeXML Application setting.
|
|
798
|
+
*/
|
|
799
|
+
AsyncAmdStatusCallbackMethod?: 'GET' | 'POST';
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* To be used as the caller id name (SIP From Display Name) presented to the
|
|
803
|
+
* destination (`To` number). The string should have a maximum of 128 characters,
|
|
804
|
+
* containing only letters, numbers, spaces, and `-_~!.+` special characters. If
|
|
805
|
+
* ommited, the display name will be the same as the number in the `From` field.
|
|
806
|
+
*/
|
|
807
|
+
CallerId?: string;
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* Whether to cancel ongoing playback on `greeting ended` detection. Defaults to
|
|
811
|
+
* `true`.
|
|
812
|
+
*/
|
|
813
|
+
CancelPlaybackOnDetectMessageEnd?: boolean;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Whether to cancel ongoing playback on `machine` detection. Defaults to `true`.
|
|
817
|
+
*/
|
|
818
|
+
CancelPlaybackOnMachineDetection?: boolean;
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Custom HTTP headers to be sent with the call. Each header should be an object
|
|
822
|
+
* with 'name' and 'value' properties.
|
|
823
|
+
*/
|
|
824
|
+
CustomHeaders?: Array<WithTeXml.CustomHeader>;
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* Enables Deepfake Detection on the dialed call. When enabled, audio from the
|
|
828
|
+
* remote party is analyzed to determine whether the voice is AI-generated. Results
|
|
829
|
+
* are delivered asynchronously via a callback.
|
|
830
|
+
*/
|
|
831
|
+
DeepfakeDetection?: 'Enable';
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* HTTP request type used for `DeepfakeDetectionCallbackUrl`.
|
|
835
|
+
*/
|
|
836
|
+
DeepfakeDetectionCallbackMethod?: 'GET' | 'POST';
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* URL destination for Telnyx to send deepfake detection callback events to for the
|
|
840
|
+
* call.
|
|
841
|
+
*/
|
|
842
|
+
DeepfakeDetectionCallbackUrl?: string;
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* Allows you to choose between Regular, Premium, and PremiumCallScreening
|
|
846
|
+
* detections. See
|
|
847
|
+
* https://developers.telnyx.com/docs/voice/programmable-voice/answering-machine-detection
|
|
848
|
+
*/
|
|
849
|
+
DetectionMode?: 'Premium' | 'Regular' | 'PremiumCallScreening';
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* A failover URL for which Telnyx will retrieve the TeXML call instructions if the
|
|
853
|
+
* `Url` is not responding.
|
|
854
|
+
*/
|
|
855
|
+
FallbackUrl?: string;
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* The phone number of the party that initiated the call. Phone numbers are
|
|
859
|
+
* formatted with a `+` and country code.
|
|
860
|
+
*/
|
|
861
|
+
From?: string;
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* Enables Answering Machine Detection.
|
|
865
|
+
*/
|
|
866
|
+
MachineDetection?: 'Enable' | 'Disable' | 'DetectMessageEnd';
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* Silence duration threshold after a call screening prompt before ending prompt
|
|
870
|
+
* detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
|
|
871
|
+
*/
|
|
872
|
+
MachineDetectionPromptEndTimeout?: number;
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* If initial silence duration is greater than this value, consider it a machine.
|
|
876
|
+
* Ignored when `premium` detection is used.
|
|
877
|
+
*/
|
|
878
|
+
MachineDetectionSilenceTimeout?: number;
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* Silence duration threshold after a greeting message or voice for it be
|
|
882
|
+
* considered human. Ignored when `premium` detection is used.
|
|
883
|
+
*/
|
|
884
|
+
MachineDetectionSpeechEndThreshold?: number;
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* Maximum threshold of a human greeting. If greeting longer than this value,
|
|
888
|
+
* considered machine. Ignored when `premium` detection is used.
|
|
889
|
+
*/
|
|
890
|
+
MachineDetectionSpeechThreshold?: number;
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Maximum timeout threshold in milliseconds for overall detection.
|
|
894
|
+
*/
|
|
895
|
+
MachineDetectionTimeout?: number;
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* Defines whether media should be encrypted on the call. When set to `SRTP`, the
|
|
899
|
+
* call will use Secure Real-time Transport Protocol for media encryption. When set
|
|
900
|
+
* to `DTLS`, the call will use DTLS for media encryption. Only supported for SIP
|
|
901
|
+
* destinations.
|
|
902
|
+
*/
|
|
903
|
+
MediaEncryption?: 'disabled' | 'SRTP' | 'DTLS';
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* The list of comma-separated codecs to be offered on a call.
|
|
907
|
+
*/
|
|
908
|
+
PreferredCodecs?: string;
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* Whether to record the entire participant's call leg. Defaults to `false`.
|
|
912
|
+
*/
|
|
913
|
+
Record?: boolean;
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* The number of channels in the final recording. Defaults to `mono`.
|
|
917
|
+
*/
|
|
918
|
+
RecordingChannels?: 'mono' | 'dual';
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* The URL the recording callbacks will be sent to.
|
|
922
|
+
*/
|
|
923
|
+
RecordingStatusCallback?: string;
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* The changes to the recording's state that should generate a call to
|
|
927
|
+
* `RecoridngStatusCallback`. Can be: `in-progress`, `completed` and `absent`.
|
|
928
|
+
* Separate multiple values with a space. Defaults to `completed`.
|
|
929
|
+
*/
|
|
930
|
+
RecordingStatusCallbackEvent?: string;
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* HTTP request type used for `RecordingStatusCallback`. Defaults to `POST`.
|
|
934
|
+
*/
|
|
935
|
+
RecordingStatusCallbackMethod?: 'GET' | 'POST';
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* The number of seconds that Telnyx will wait for the recording to be stopped if
|
|
939
|
+
* silence is detected. The timer only starts when the speech is detected. Please
|
|
940
|
+
* note that the transcription is used to detect silence and the related charge
|
|
941
|
+
* will be applied. The minimum value is 0. The default value is 0 (infinite)
|
|
942
|
+
*/
|
|
943
|
+
RecordingTimeout?: number;
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* The audio track to record for the call. The default is `both`.
|
|
947
|
+
*/
|
|
948
|
+
RecordingTrack?: 'inbound' | 'outbound' | 'both';
|
|
949
|
+
|
|
950
|
+
/**
|
|
951
|
+
* Whether to send RecordingUrl in webhooks.
|
|
952
|
+
*/
|
|
953
|
+
SendRecordingUrl?: boolean;
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* The password to use for SIP authentication.
|
|
957
|
+
*/
|
|
958
|
+
SipAuthPassword?: string;
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* The username to use for SIP authentication.
|
|
962
|
+
*/
|
|
963
|
+
SipAuthUsername?: string;
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Defines the SIP region to be used for the call.
|
|
967
|
+
*/
|
|
968
|
+
SipRegion?: 'US' | 'Europe' | 'Canada' | 'Australia' | 'Middle East';
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* URL destination for Telnyx to send status callback events to for the call.
|
|
972
|
+
*/
|
|
973
|
+
StatusCallback?: string;
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* The call events for which Telnyx should send a webhook. Multiple events can be
|
|
977
|
+
* defined when separated by a space.
|
|
978
|
+
*/
|
|
979
|
+
StatusCallbackEvent?: 'initiated' | 'ringing' | 'answered' | 'completed';
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* HTTP request type used for `StatusCallback`.
|
|
983
|
+
*/
|
|
984
|
+
StatusCallbackMethod?: 'GET' | 'POST';
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* The call control ID of the existing call to supervise. When provided, the
|
|
988
|
+
* created leg will be added to the specified call in supervising mode. Status
|
|
989
|
+
* callbacks and action callbacks will NOT be sent for the supervising leg.
|
|
990
|
+
*/
|
|
991
|
+
SuperviseCallSid?: string;
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* The supervising role for the new leg. Determines the audio behavior: barge (hear
|
|
995
|
+
* both sides), whisper (only hear supervisor), monitor (hear both sides but
|
|
996
|
+
* supervisor muted). Default: barge
|
|
997
|
+
*/
|
|
998
|
+
SupervisingRole?: 'barge' | 'whisper' | 'monitor';
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* The maximum duration of the call in seconds. The minimum value is 30 and the
|
|
1002
|
+
* maximum value is 14400 (4 hours). Default is 14400 seconds.
|
|
1003
|
+
*/
|
|
1004
|
+
TimeLimit?: number;
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* The number of seconds to wait for the called party to answer the call before the
|
|
1008
|
+
* call is canceled. The minimum value is 5 and the maximum value is 120. Default
|
|
1009
|
+
* is 30 seconds.
|
|
1010
|
+
*/
|
|
1011
|
+
timeout_seconds?: number;
|
|
1012
|
+
|
|
1013
|
+
/**
|
|
1014
|
+
* The phone number of the called party. Phone numbers are formatted with a `+` and
|
|
1015
|
+
* country code.
|
|
1016
|
+
*/
|
|
1017
|
+
To?: string;
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* Whether to trim any leading and trailing silence from the recording. Defaults to
|
|
1021
|
+
* `trim-silence`.
|
|
1022
|
+
*/
|
|
1023
|
+
Trim?: 'trim-silence' | 'do-not-trim';
|
|
1024
|
+
|
|
1025
|
+
Url?: string | null;
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* HTTP request type used for `Url`. The default value is inherited from TeXML
|
|
1029
|
+
* Application setting.
|
|
1030
|
+
*/
|
|
1031
|
+
UrlMethod?: 'GET' | 'POST';
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
export namespace WithTeXml {
|
|
1035
|
+
export interface CustomHeader {
|
|
1036
|
+
/**
|
|
1037
|
+
* The name of the custom header
|
|
1038
|
+
*/
|
|
1039
|
+
name: string;
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* The value of the custom header
|
|
1043
|
+
*/
|
|
1044
|
+
value: string;
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
export interface ApplicationDefault {
|
|
1049
|
+
/**
|
|
1050
|
+
* The ID of the TeXML Application.
|
|
1051
|
+
*/
|
|
1052
|
+
ApplicationSid?: string;
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* Select whether to perform answering machine detection in the background. By
|
|
1056
|
+
* default execution is blocked until Answering Machine Detection is completed.
|
|
1057
|
+
*/
|
|
1058
|
+
AsyncAmd?: boolean;
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* URL destination for Telnyx to send AMD callback events to for the call.
|
|
1062
|
+
*/
|
|
1063
|
+
AsyncAmdStatusCallback?: string;
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* HTTP request type used for `AsyncAmdStatusCallback`. The default value is
|
|
1067
|
+
* inherited from TeXML Application setting.
|
|
1068
|
+
*/
|
|
1069
|
+
AsyncAmdStatusCallbackMethod?: 'GET' | 'POST';
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* To be used as the caller id name (SIP From Display Name) presented to the
|
|
1073
|
+
* destination (`To` number). The string should have a maximum of 128 characters,
|
|
1074
|
+
* containing only letters, numbers, spaces, and `-_~!.+` special characters. If
|
|
1075
|
+
* ommited, the display name will be the same as the number in the `From` field.
|
|
1076
|
+
*/
|
|
1077
|
+
CallerId?: string;
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* Whether to cancel ongoing playback on `greeting ended` detection. Defaults to
|
|
1081
|
+
* `true`.
|
|
1082
|
+
*/
|
|
1083
|
+
CancelPlaybackOnDetectMessageEnd?: boolean;
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* Whether to cancel ongoing playback on `machine` detection. Defaults to `true`.
|
|
1087
|
+
*/
|
|
1088
|
+
CancelPlaybackOnMachineDetection?: boolean;
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* Custom HTTP headers to be sent with the call. Each header should be an object
|
|
1092
|
+
* with 'name' and 'value' properties.
|
|
1093
|
+
*/
|
|
1094
|
+
CustomHeaders?: Array<ApplicationDefault.CustomHeader>;
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* Enables Deepfake Detection on the dialed call. When enabled, audio from the
|
|
1098
|
+
* remote party is analyzed to determine whether the voice is AI-generated. Results
|
|
1099
|
+
* are delivered asynchronously via a callback.
|
|
1100
|
+
*/
|
|
1101
|
+
DeepfakeDetection?: 'Enable';
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* HTTP request type used for `DeepfakeDetectionCallbackUrl`.
|
|
1105
|
+
*/
|
|
1106
|
+
DeepfakeDetectionCallbackMethod?: 'GET' | 'POST';
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* URL destination for Telnyx to send deepfake detection callback events to for the
|
|
1110
|
+
* call.
|
|
1111
|
+
*/
|
|
1112
|
+
DeepfakeDetectionCallbackUrl?: string;
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* Allows you to choose between Regular, Premium, and PremiumCallScreening
|
|
1116
|
+
* detections. See
|
|
1117
|
+
* https://developers.telnyx.com/docs/voice/programmable-voice/answering-machine-detection
|
|
1118
|
+
*/
|
|
1119
|
+
DetectionMode?: 'Premium' | 'Regular' | 'PremiumCallScreening';
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* A failover URL for which Telnyx will retrieve the TeXML call instructions if the
|
|
1123
|
+
* `Url` is not responding.
|
|
1124
|
+
*/
|
|
1125
|
+
FallbackUrl?: string;
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* The phone number of the party that initiated the call. Phone numbers are
|
|
1129
|
+
* formatted with a `+` and country code.
|
|
1130
|
+
*/
|
|
1131
|
+
From?: string;
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* Enables Answering Machine Detection.
|
|
1135
|
+
*/
|
|
1136
|
+
MachineDetection?: 'Enable' | 'Disable' | 'DetectMessageEnd';
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* Silence duration threshold after a call screening prompt before ending prompt
|
|
1140
|
+
* detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
|
|
1141
|
+
*/
|
|
1142
|
+
MachineDetectionPromptEndTimeout?: number;
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* If initial silence duration is greater than this value, consider it a machine.
|
|
1146
|
+
* Ignored when `premium` detection is used.
|
|
1147
|
+
*/
|
|
1148
|
+
MachineDetectionSilenceTimeout?: number;
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* Silence duration threshold after a greeting message or voice for it be
|
|
1152
|
+
* considered human. Ignored when `premium` detection is used.
|
|
1153
|
+
*/
|
|
1154
|
+
MachineDetectionSpeechEndThreshold?: number;
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* Maximum threshold of a human greeting. If greeting longer than this value,
|
|
1158
|
+
* considered machine. Ignored when `premium` detection is used.
|
|
1159
|
+
*/
|
|
1160
|
+
MachineDetectionSpeechThreshold?: number;
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* Maximum timeout threshold in milliseconds for overall detection.
|
|
1164
|
+
*/
|
|
1165
|
+
MachineDetectionTimeout?: number;
|
|
1166
|
+
|
|
1167
|
+
/**
|
|
1168
|
+
* Defines whether media should be encrypted on the call. When set to `SRTP`, the
|
|
1169
|
+
* call will use Secure Real-time Transport Protocol for media encryption. When set
|
|
1170
|
+
* to `DTLS`, the call will use DTLS for media encryption. Only supported for SIP
|
|
1171
|
+
* destinations.
|
|
1172
|
+
*/
|
|
1173
|
+
MediaEncryption?: 'disabled' | 'SRTP' | 'DTLS';
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* The list of comma-separated codecs to be offered on a call.
|
|
1177
|
+
*/
|
|
1178
|
+
PreferredCodecs?: string;
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* Whether to record the entire participant's call leg. Defaults to `false`.
|
|
1182
|
+
*/
|
|
1183
|
+
Record?: boolean;
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* The number of channels in the final recording. Defaults to `mono`.
|
|
1187
|
+
*/
|
|
1188
|
+
RecordingChannels?: 'mono' | 'dual';
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* The URL the recording callbacks will be sent to.
|
|
1192
|
+
*/
|
|
1193
|
+
RecordingStatusCallback?: string;
|
|
1194
|
+
|
|
1195
|
+
/**
|
|
1196
|
+
* The changes to the recording's state that should generate a call to
|
|
1197
|
+
* `RecoridngStatusCallback`. Can be: `in-progress`, `completed` and `absent`.
|
|
1198
|
+
* Separate multiple values with a space. Defaults to `completed`.
|
|
1199
|
+
*/
|
|
1200
|
+
RecordingStatusCallbackEvent?: string;
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* HTTP request type used for `RecordingStatusCallback`. Defaults to `POST`.
|
|
1204
|
+
*/
|
|
1205
|
+
RecordingStatusCallbackMethod?: 'GET' | 'POST';
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* The number of seconds that Telnyx will wait for the recording to be stopped if
|
|
1209
|
+
* silence is detected. The timer only starts when the speech is detected. Please
|
|
1210
|
+
* note that the transcription is used to detect silence and the related charge
|
|
1211
|
+
* will be applied. The minimum value is 0. The default value is 0 (infinite)
|
|
1212
|
+
*/
|
|
1213
|
+
RecordingTimeout?: number;
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* The audio track to record for the call. The default is `both`.
|
|
1217
|
+
*/
|
|
1218
|
+
RecordingTrack?: 'inbound' | 'outbound' | 'both';
|
|
1219
|
+
|
|
1220
|
+
/**
|
|
1221
|
+
* Whether to send RecordingUrl in webhooks.
|
|
1222
|
+
*/
|
|
1223
|
+
SendRecordingUrl?: boolean;
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
* The password to use for SIP authentication.
|
|
1227
|
+
*/
|
|
1228
|
+
SipAuthPassword?: string;
|
|
1229
|
+
|
|
1230
|
+
/**
|
|
1231
|
+
* The username to use for SIP authentication.
|
|
1232
|
+
*/
|
|
1233
|
+
SipAuthUsername?: string;
|
|
1234
|
+
|
|
1235
|
+
/**
|
|
1236
|
+
* Defines the SIP region to be used for the call.
|
|
1237
|
+
*/
|
|
1238
|
+
SipRegion?: 'US' | 'Europe' | 'Canada' | 'Australia' | 'Middle East';
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* URL destination for Telnyx to send status callback events to for the call.
|
|
1242
|
+
*/
|
|
1243
|
+
StatusCallback?: string;
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* The call events for which Telnyx should send a webhook. Multiple events can be
|
|
1247
|
+
* defined when separated by a space.
|
|
1248
|
+
*/
|
|
1249
|
+
StatusCallbackEvent?: 'initiated' | 'ringing' | 'answered' | 'completed';
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* HTTP request type used for `StatusCallback`.
|
|
1253
|
+
*/
|
|
1254
|
+
StatusCallbackMethod?: 'GET' | 'POST';
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* The call control ID of the existing call to supervise. When provided, the
|
|
1258
|
+
* created leg will be added to the specified call in supervising mode. Status
|
|
1259
|
+
* callbacks and action callbacks will NOT be sent for the supervising leg.
|
|
1260
|
+
*/
|
|
1261
|
+
SuperviseCallSid?: string;
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* The supervising role for the new leg. Determines the audio behavior: barge (hear
|
|
1265
|
+
* both sides), whisper (only hear supervisor), monitor (hear both sides but
|
|
1266
|
+
* supervisor muted). Default: barge
|
|
1267
|
+
*/
|
|
1268
|
+
SupervisingRole?: 'barge' | 'whisper' | 'monitor';
|
|
1269
|
+
|
|
1270
|
+
Texml?: string | null;
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* The maximum duration of the call in seconds. The minimum value is 30 and the
|
|
1274
|
+
* maximum value is 14400 (4 hours). Default is 14400 seconds.
|
|
1275
|
+
*/
|
|
1276
|
+
TimeLimit?: number;
|
|
1277
|
+
|
|
1278
|
+
/**
|
|
1279
|
+
* The number of seconds to wait for the called party to answer the call before the
|
|
1280
|
+
* call is canceled. The minimum value is 5 and the maximum value is 120. Default
|
|
1281
|
+
* is 30 seconds.
|
|
1282
|
+
*/
|
|
1283
|
+
timeout_seconds?: number;
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* The phone number of the called party. Phone numbers are formatted with a `+` and
|
|
1287
|
+
* country code.
|
|
1288
|
+
*/
|
|
1289
|
+
To?: string;
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* Whether to trim any leading and trailing silence from the recording. Defaults to
|
|
1293
|
+
* `trim-silence`.
|
|
1294
|
+
*/
|
|
1295
|
+
Trim?: 'trim-silence' | 'do-not-trim';
|
|
1296
|
+
|
|
1297
|
+
Url?: string | null;
|
|
958
1298
|
|
|
959
1299
|
/**
|
|
960
1300
|
* HTTP request type used for `Url`. The default value is inherited from TeXML
|
|
@@ -963,7 +1303,7 @@ export namespace CallCallsParams {
|
|
|
963
1303
|
UrlMethod?: 'GET' | 'POST';
|
|
964
1304
|
}
|
|
965
1305
|
|
|
966
|
-
export namespace
|
|
1306
|
+
export namespace ApplicationDefault {
|
|
967
1307
|
export interface CustomHeader {
|
|
968
1308
|
/**
|
|
969
1309
|
* The name of the custom header
|
|
@@ -1152,9 +1492,8 @@ Calls.Streams = Streams;
|
|
|
1152
1492
|
|
|
1153
1493
|
export declare namespace Calls {
|
|
1154
1494
|
export {
|
|
1495
|
+
type CallResource as CallResource,
|
|
1155
1496
|
type UpdateCall as UpdateCall,
|
|
1156
|
-
type CallRetrieveResponse as CallRetrieveResponse,
|
|
1157
|
-
type CallUpdateResponse as CallUpdateResponse,
|
|
1158
1497
|
type CallCallsResponse as CallCallsResponse,
|
|
1159
1498
|
type CallRetrieveCallsResponse as CallRetrieveCallsResponse,
|
|
1160
1499
|
type CallSiprecJsonResponse as CallSiprecJsonResponse,
|
|
@@ -1169,15 +1508,16 @@ export declare namespace Calls {
|
|
|
1169
1508
|
|
|
1170
1509
|
export {
|
|
1171
1510
|
RecordingsJson as RecordingsJson,
|
|
1172
|
-
type
|
|
1173
|
-
type
|
|
1511
|
+
type RecordingSource as RecordingSource,
|
|
1512
|
+
type TexmlCreateCallRecordingResponseBody as TexmlCreateCallRecordingResponseBody,
|
|
1513
|
+
type TexmlGetCallRecordingsResponseBody as TexmlGetCallRecordingsResponseBody,
|
|
1514
|
+
type TwimlRecordingChannels as TwimlRecordingChannels,
|
|
1174
1515
|
type RecordingsJsonRecordingsJsonParams as RecordingsJsonRecordingsJsonParams,
|
|
1175
1516
|
type RecordingsJsonRetrieveRecordingsJsonParams as RecordingsJsonRetrieveRecordingsJsonParams,
|
|
1176
1517
|
};
|
|
1177
1518
|
|
|
1178
1519
|
export {
|
|
1179
1520
|
Recordings as Recordings,
|
|
1180
|
-
type RecordingRecordingSidJsonResponse as RecordingRecordingSidJsonResponse,
|
|
1181
1521
|
type RecordingRecordingSidJsonParams as RecordingRecordingSidJsonParams,
|
|
1182
1522
|
};
|
|
1183
1523
|
|