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
|
@@ -22,16 +22,16 @@ export declare class Json extends APIResource {
|
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* ```ts
|
|
25
|
-
* const
|
|
25
|
+
* const texmlRecordingTranscription =
|
|
26
26
|
* await client.texml.accounts.transcriptions.json.retrieveRecordingTranscriptionSidJson(
|
|
27
27
|
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
28
28
|
* { account_sid: 'account_sid' },
|
|
29
29
|
* );
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
|
-
retrieveRecordingTranscriptionSidJson(recordingTranscriptionSid: string, params: JsonRetrieveRecordingTranscriptionSidJsonParams, options?: RequestOptions): APIPromise<
|
|
32
|
+
retrieveRecordingTranscriptionSidJson(recordingTranscriptionSid: string, params: JsonRetrieveRecordingTranscriptionSidJsonParams, options?: RequestOptions): APIPromise<TexmlRecordingTranscription>;
|
|
33
33
|
}
|
|
34
|
-
export interface
|
|
34
|
+
export interface TexmlRecordingTranscription {
|
|
35
35
|
account_sid?: string;
|
|
36
36
|
/**
|
|
37
37
|
* The version of the API that was used to make the request.
|
|
@@ -79,6 +79,6 @@ export interface JsonRetrieveRecordingTranscriptionSidJsonParams {
|
|
|
79
79
|
account_sid: string;
|
|
80
80
|
}
|
|
81
81
|
export declare namespace Json {
|
|
82
|
-
export { type
|
|
82
|
+
export { type TexmlRecordingTranscription as TexmlRecordingTranscription, type JsonDeleteRecordingTranscriptionSidJsonParams as JsonDeleteRecordingTranscriptionSidJsonParams, type JsonRetrieveRecordingTranscriptionSidJsonParams as JsonRetrieveRecordingTranscriptionSidJsonParams, };
|
|
83
83
|
}
|
|
84
84
|
//# sourceMappingURL=json.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json.d.mts","sourceRoot":"","sources":["../../../../src/resources/texml/accounts/transcriptions/json.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,yCAAqC;AAE1D,OAAO,EAAE,cAAc,EAAE,iDAA6C;AAGtE;;GAEG;AACH,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;OAUG;IACH,mCAAmC,CACjC,yBAAyB,EAAE,MAAM,EACjC,MAAM,EAAE,6CAA6C,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAQnB;;;;;;;;;;;OAWG;IACH,qCAAqC,CACnC,yBAAyB,EAAE,MAAM,EACjC,MAAM,EAAE,+CAA+C,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"json.d.mts","sourceRoot":"","sources":["../../../../src/resources/texml/accounts/transcriptions/json.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,yCAAqC;AAE1D,OAAO,EAAE,cAAc,EAAE,iDAA6C;AAGtE;;GAEG;AACH,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;OAUG;IACH,mCAAmC,CACjC,yBAAyB,EAAE,MAAM,EACjC,MAAM,EAAE,6CAA6C,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAQnB;;;;;;;;;;;OAWG;IACH,qCAAqC,CACnC,yBAAyB,EAAE,MAAM,EACjC,MAAM,EAAE,+CAA+C,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;CAO3C;AAED,MAAM,WAAW,2BAA2B;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,MAAM,CAAC,EAAE,aAAa,GAAG,WAAW,CAAC;IAErC;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,6CAA6C;IAC5D;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,+CAA+C;IAC9D;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,+CAA+C,IAAI,+CAA+C,GACxG,CAAC;CACH"}
|
|
@@ -22,16 +22,16 @@ export declare class Json extends APIResource {
|
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* ```ts
|
|
25
|
-
* const
|
|
25
|
+
* const texmlRecordingTranscription =
|
|
26
26
|
* await client.texml.accounts.transcriptions.json.retrieveRecordingTranscriptionSidJson(
|
|
27
27
|
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
28
28
|
* { account_sid: 'account_sid' },
|
|
29
29
|
* );
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
|
-
retrieveRecordingTranscriptionSidJson(recordingTranscriptionSid: string, params: JsonRetrieveRecordingTranscriptionSidJsonParams, options?: RequestOptions): APIPromise<
|
|
32
|
+
retrieveRecordingTranscriptionSidJson(recordingTranscriptionSid: string, params: JsonRetrieveRecordingTranscriptionSidJsonParams, options?: RequestOptions): APIPromise<TexmlRecordingTranscription>;
|
|
33
33
|
}
|
|
34
|
-
export interface
|
|
34
|
+
export interface TexmlRecordingTranscription {
|
|
35
35
|
account_sid?: string;
|
|
36
36
|
/**
|
|
37
37
|
* The version of the API that was used to make the request.
|
|
@@ -79,6 +79,6 @@ export interface JsonRetrieveRecordingTranscriptionSidJsonParams {
|
|
|
79
79
|
account_sid: string;
|
|
80
80
|
}
|
|
81
81
|
export declare namespace Json {
|
|
82
|
-
export { type
|
|
82
|
+
export { type TexmlRecordingTranscription as TexmlRecordingTranscription, type JsonDeleteRecordingTranscriptionSidJsonParams as JsonDeleteRecordingTranscriptionSidJsonParams, type JsonRetrieveRecordingTranscriptionSidJsonParams as JsonRetrieveRecordingTranscriptionSidJsonParams, };
|
|
83
83
|
}
|
|
84
84
|
//# sourceMappingURL=json.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../../src/resources/texml/accounts/transcriptions/json.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,wCAAqC;AAE1D,OAAO,EAAE,cAAc,EAAE,gDAA6C;AAGtE;;GAEG;AACH,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;OAUG;IACH,mCAAmC,CACjC,yBAAyB,EAAE,MAAM,EACjC,MAAM,EAAE,6CAA6C,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAQnB;;;;;;;;;;;OAWG;IACH,qCAAqC,CACnC,yBAAyB,EAAE,MAAM,EACjC,MAAM,EAAE,+CAA+C,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../../src/resources/texml/accounts/transcriptions/json.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,wCAAqC;AAE1D,OAAO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+CAA+C,GACxG,CAAC;CACH"}
|
|
@@ -29,7 +29,7 @@ class Json extends resource_1.APIResource {
|
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* ```ts
|
|
32
|
-
* const
|
|
32
|
+
* const texmlRecordingTranscription =
|
|
33
33
|
* await client.texml.accounts.transcriptions.json.retrieveRecordingTranscriptionSidJson(
|
|
34
34
|
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
35
35
|
* { account_sid: 'account_sid' },
|
|
@@ -26,7 +26,7 @@ export class Json extends APIResource {
|
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* ```ts
|
|
29
|
-
* const
|
|
29
|
+
* const texmlRecordingTranscription =
|
|
30
30
|
* await client.texml.accounts.transcriptions.json.retrieveRecordingTranscriptionSidJson(
|
|
31
31
|
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
32
32
|
* { account_sid: 'account_sid' },
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../../../core/resource.mjs";
|
|
2
2
|
import * as JsonAPI from "./json.mjs";
|
|
3
|
-
import { Json, JsonDeleteRecordingTranscriptionSidJsonParams, JsonRetrieveRecordingTranscriptionSidJsonParams,
|
|
3
|
+
import { Json, JsonDeleteRecordingTranscriptionSidJsonParams, JsonRetrieveRecordingTranscriptionSidJsonParams, TexmlRecordingTranscription } from "./json.mjs";
|
|
4
4
|
export declare class Transcriptions extends APIResource {
|
|
5
5
|
json: JsonAPI.Json;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace Transcriptions {
|
|
8
|
-
export { Json as Json, type
|
|
8
|
+
export { Json as Json, type TexmlRecordingTranscription as TexmlRecordingTranscription, type JsonDeleteRecordingTranscriptionSidJsonParams as JsonDeleteRecordingTranscriptionSidJsonParams, type JsonRetrieveRecordingTranscriptionSidJsonParams as JsonRetrieveRecordingTranscriptionSidJsonParams, };
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=transcriptions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transcriptions.d.mts","sourceRoot":"","sources":["../../../../src/resources/texml/accounts/transcriptions/transcriptions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,KAAK,OAAO,mBAAe;AAClC,OAAO,EACL,IAAI,EACJ,6CAA6C,EAC7C,+CAA+C,EAC/C,
|
|
1
|
+
{"version":3,"file":"transcriptions.d.mts","sourceRoot":"","sources":["../../../../src/resources/texml/accounts/transcriptions/transcriptions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,KAAK,OAAO,mBAAe;AAClC,OAAO,EACL,IAAI,EACJ,6CAA6C,EAC7C,+CAA+C,EAC/C,2BAA2B,EAC5B,mBAAe;AAEhB,qBAAa,cAAe,SAAQ,WAAW;IAC7C,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;CACrD;AAID,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,+CAA+C,IAAI,+CAA+C,GACxG,CAAC;CACH"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../../../core/resource.js";
|
|
2
2
|
import * as JsonAPI from "./json.js";
|
|
3
|
-
import { Json, JsonDeleteRecordingTranscriptionSidJsonParams, JsonRetrieveRecordingTranscriptionSidJsonParams,
|
|
3
|
+
import { Json, JsonDeleteRecordingTranscriptionSidJsonParams, JsonRetrieveRecordingTranscriptionSidJsonParams, TexmlRecordingTranscription } from "./json.js";
|
|
4
4
|
export declare class Transcriptions extends APIResource {
|
|
5
5
|
json: JsonAPI.Json;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace Transcriptions {
|
|
8
|
-
export { Json as Json, type
|
|
8
|
+
export { Json as Json, type TexmlRecordingTranscription as TexmlRecordingTranscription, type JsonDeleteRecordingTranscriptionSidJsonParams as JsonDeleteRecordingTranscriptionSidJsonParams, type JsonRetrieveRecordingTranscriptionSidJsonParams as JsonRetrieveRecordingTranscriptionSidJsonParams, };
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=transcriptions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transcriptions.d.ts","sourceRoot":"","sources":["../../../../src/resources/texml/accounts/transcriptions/transcriptions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,KAAK,OAAO,kBAAe;AAClC,OAAO,EACL,IAAI,EACJ,6CAA6C,EAC7C,+CAA+C,EAC/C,
|
|
1
|
+
{"version":3,"file":"transcriptions.d.ts","sourceRoot":"","sources":["../../../../src/resources/texml/accounts/transcriptions/transcriptions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,KAAK,OAAO,kBAAe;AAClC,OAAO,EACL,IAAI,EACJ,6CAA6C,EAC7C,+CAA+C,EAC/C,2BAA2B,EAC5B,kBAAe;AAEhB,qBAAa,cAAe,SAAQ,WAAW;IAC7C,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;CACrD;AAID,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,+CAA+C,IAAI,+CAA+C,GACxG,CAAC;CACH"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Accounts, type TexmlGetCallRecordingResponseBody, type TexmlRecordingSubresourcesUris, type
|
|
1
|
+
export { Accounts, type TexmlGetCallRecordingResponseBody, type TexmlRecordingSubresourcesUris, type AccountRetrieveTranscriptionsJsonResponse, type AccountRetrieveRecordingsJsonParams, type AccountRetrieveTranscriptionsJsonParams, } from "./accounts/index.mjs";
|
|
2
2
|
export { Texml, type TexmlInitiateAICallResponse, type TexmlSecretsResponse, type TexmlInitiateAICallParams, type TexmlSecretsParams, } from "./texml.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/texml/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,iCAAiC,EACtC,KAAK,8BAA8B,EACnC,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/texml/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,iCAAiC,EACtC,KAAK,8BAA8B,EACnC,KAAK,yCAAyC,EAC9C,KAAK,mCAAmC,EACxC,KAAK,uCAAuC,GAC7C,6BAAyB;AAC1B,OAAO,EACL,KAAK,EACL,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,GACxB,oBAAgB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Accounts, type TexmlGetCallRecordingResponseBody, type TexmlRecordingSubresourcesUris, type
|
|
1
|
+
export { Accounts, type TexmlGetCallRecordingResponseBody, type TexmlRecordingSubresourcesUris, type AccountRetrieveTranscriptionsJsonResponse, type AccountRetrieveRecordingsJsonParams, type AccountRetrieveTranscriptionsJsonParams, } from "./accounts/index.js";
|
|
2
2
|
export { Texml, type TexmlInitiateAICallResponse, type TexmlSecretsResponse, type TexmlInitiateAICallParams, type TexmlSecretsParams, } from "./texml.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/texml/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,iCAAiC,EACtC,KAAK,8BAA8B,EACnC,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/texml/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,iCAAiC,EACtC,KAAK,8BAA8B,EACnC,KAAK,yCAAyC,EAC9C,KAAK,mCAAmC,EACxC,KAAK,uCAAuC,GAC7C,4BAAyB;AAC1B,OAAO,EACL,KAAK,EACL,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,GACxB,mBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/texml/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/texml/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAO0B;AANxB,iGAAA,QAAQ,OAAA;AAOV,oCAMiB;AALf,8FAAA,KAAK,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/texml/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/texml/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,QAAQ,GAMT,6BAAyB;AAC1B,OAAO,EACL,KAAK,GAKN,oBAAgB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as AccountsAPI from "./accounts/accounts.mjs";
|
|
3
|
-
import { AccountRetrieveRecordingsJsonParams,
|
|
3
|
+
import { AccountRetrieveRecordingsJsonParams, AccountRetrieveTranscriptionsJsonParams, AccountRetrieveTranscriptionsJsonResponse, Accounts, TexmlGetCallRecordingResponseBody, TexmlRecordingSubresourcesUris } from "./accounts/accounts.mjs";
|
|
4
4
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
5
5
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
6
6
|
/**
|
|
@@ -292,6 +292,6 @@ export interface TexmlSecretsParams {
|
|
|
292
292
|
}
|
|
293
293
|
export declare namespace Texml {
|
|
294
294
|
export { type TexmlInitiateAICallResponse as TexmlInitiateAICallResponse, type TexmlSecretsResponse as TexmlSecretsResponse, type TexmlInitiateAICallParams as TexmlInitiateAICallParams, type TexmlSecretsParams as TexmlSecretsParams, };
|
|
295
|
-
export { Accounts as Accounts, type TexmlGetCallRecordingResponseBody as TexmlGetCallRecordingResponseBody, type TexmlRecordingSubresourcesUris as TexmlRecordingSubresourcesUris, type
|
|
295
|
+
export { Accounts as Accounts, type TexmlGetCallRecordingResponseBody as TexmlGetCallRecordingResponseBody, type TexmlRecordingSubresourcesUris as TexmlRecordingSubresourcesUris, type AccountRetrieveTranscriptionsJsonResponse as AccountRetrieveTranscriptionsJsonResponse, type AccountRetrieveRecordingsJsonParams as AccountRetrieveRecordingsJsonParams, type AccountRetrieveTranscriptionsJsonParams as AccountRetrieveTranscriptionsJsonParams, };
|
|
296
296
|
}
|
|
297
297
|
//# sourceMappingURL=texml.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"texml.d.mts","sourceRoot":"","sources":["../../src/resources/texml/texml.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,WAAW,gCAA4B;AACnD,OAAO,EACL,mCAAmC,EACnC,
|
|
1
|
+
{"version":3,"file":"texml.d.mts","sourceRoot":"","sources":["../../src/resources/texml/texml.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,WAAW,gCAA4B;AACnD,OAAO,EACL,mCAAmC,EACn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AAoB,IAAI,oBAAoB,EACjD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uCAAuC,IAAI,uCAAuC,GACxF,CAAC;CACH"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import * as AccountsAPI from "./accounts/accounts.js";
|
|
3
|
-
import { AccountRetrieveRecordingsJsonParams,
|
|
3
|
+
import { AccountRetrieveRecordingsJsonParams, AccountRetrieveTranscriptionsJsonParams, AccountRetrieveTranscriptionsJsonResponse, Accounts, TexmlGetCallRecordingResponseBody, TexmlRecordingSubresourcesUris } from "./accounts/accounts.js";
|
|
4
4
|
import { APIPromise } from "../../core/api-promise.js";
|
|
5
5
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
6
6
|
/**
|
|
@@ -292,6 +292,6 @@ export interface TexmlSecretsParams {
|
|
|
292
292
|
}
|
|
293
293
|
export declare namespace Texml {
|
|
294
294
|
export { type TexmlInitiateAICallResponse as TexmlInitiateAICallResponse, type TexmlSecretsResponse as TexmlSecretsResponse, type TexmlInitiateAICallParams as TexmlInitiateAICallParams, type TexmlSecretsParams as TexmlSecretsParams, };
|
|
295
|
-
export { Accounts as Accounts, type TexmlGetCallRecordingResponseBody as TexmlGetCallRecordingResponseBody, type TexmlRecordingSubresourcesUris as TexmlRecordingSubresourcesUris, type
|
|
295
|
+
export { Accounts as Accounts, type TexmlGetCallRecordingResponseBody as TexmlGetCallRecordingResponseBody, type TexmlRecordingSubresourcesUris as TexmlRecordingSubresourcesUris, type AccountRetrieveTranscriptionsJsonResponse as AccountRetrieveTranscriptionsJsonResponse, type AccountRetrieveRecordingsJsonParams as AccountRetrieveRecordingsJsonParams, type AccountRetrieveTranscriptionsJsonParams as AccountRetrieveTranscriptionsJsonParams, };
|
|
296
296
|
}
|
|
297
297
|
//# sourceMappingURL=texml.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"texml.d.ts","sourceRoot":"","sources":["../../src/resources/texml/texml.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,WAAW,+BAA4B;AACnD,OAAO,EACL,mCAAmC,EACnC,
|
|
1
|
+
{"version":3,"file":"texml.d.ts","sourceRoot":"","sources":["../../src/resources/texml/texml.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,WAAW,+BAA4B;AACnD,OAAO,EACL,mCAAmC,EACnC,uCAAuC,EACvC,yCAAyC,EACzC,QAAQ,EACR,iCAAiC,EACjC,8BAA8B,EAC/B,+BAA4B;AAC7B,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,cAAc,CACZ,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,yBAAyB,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;IAQ1C;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAG9F;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,MAAM,CAAC,EA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AC,MAAM,CAAC,CAAC;IAEhC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,IAAI,CAAC,EAAE,cAAc,GAAG,aAAa,CAAC;CACvC;AAED,yBAAiB,yBAAyB,CAAC;IACzC,UAAiB,YAAY;QAC3B;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAID,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uCAAuC,IAAI,uCAAuC,GACxF,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"texml.js","sourceRoot":"","sources":["../../src/resources/texml/texml.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,4EAAmD;AACnD,
|
|
1
|
+
{"version":3,"file":"texml.js","sourceRoot":"","sources":["../../src/resources/texml/texml.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,4EAAmD;AACnD,qDAO6B;AAG7B,uDAAiD;AAEjD;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA6D1E,CAAC;IA3DC;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,cAAc,CACZ,YAAoB,EACpB,MAAiC,EACjC,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,mBAAmB,YAAY,EAAE,EAAE;YAC9D,IAAI,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE;YAC3C,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,IAAwB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AA9DD,sBA8DC;AA8RD,KAAK,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"texml.mjs","sourceRoot":"","sources":["../../src/resources/texml/texml.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,WAAW,gCAA4B;AACnD,OAAO,
|
|
1
|
+
{"version":3,"file":"texml.mjs","sourceRoot":"","sources":["../../src/resources/texml/texml.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,WAAW,gCAA4B;AACnD,OAAO,EAIL,QAAQ,GAGT,gCAA4B;AAG7B,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA6D1E,CAAC;IA3DC;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,cAAc,CACZ,YAAoB,EACpB,MAAiC,EACjC,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,mBAAmB,YAAY,EAAE,EAAE;YAC9D,IAAI,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE;YAC3C,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,IAAwB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AA8RD,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { TextToSpeech, type
|
|
2
|
-
export {
|
|
1
|
+
export { TextToSpeech, type TextToSpeechGenerateSpeechResponse, type TextToSpeechListVoicesResponse, type StreamClientEvent, type StreamServerEvent, type TextToSpeechGenerateSpeechParams, type TextToSpeechListVoicesParams, type TextToSpeechRetrieveSpeechParams, } from "./text-to-speech.mjs";
|
|
2
|
+
export { type TextToSpeechWSClientOptions } from "./ws.mjs";
|
|
3
3
|
export { type TextToSpeechWSReconnectOptions } from "./ws-base.mjs";
|
|
4
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/text-to-speech/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/text-to-speech/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,GACtC,6BAAyB;AAC1B,OAAO,EAAE,KAAK,2BAA2B,EAAE,iBAAa;AACxD,OAAO,EAAE,KAAK,8BAA8B,EAAE,sBAAkB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { TextToSpeech, type
|
|
2
|
-
export {
|
|
1
|
+
export { TextToSpeech, type TextToSpeechGenerateSpeechResponse, type TextToSpeechListVoicesResponse, type StreamClientEvent, type StreamServerEvent, type TextToSpeechGenerateSpeechParams, type TextToSpeechListVoicesParams, type TextToSpeechRetrieveSpeechParams, } from "./text-to-speech.js";
|
|
2
|
+
export { type TextToSpeechWSClientOptions } from "./ws.js";
|
|
3
3
|
export { type TextToSpeechWSReconnectOptions } from "./ws-base.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/text-to-speech/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/text-to-speech/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,GACtC,4BAAyB;AAC1B,OAAO,EAAE,KAAK,2BAA2B,EAAE,gBAAa;AACxD,OAAO,EAAE,KAAK,8BAA8B,EAAE,qBAAkB"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.TextToSpeech = void 0;
|
|
5
5
|
var text_to_speech_1 = require("./text-to-speech.js");
|
|
6
6
|
Object.defineProperty(exports, "TextToSpeech", { enumerable: true, get: function () { return text_to_speech_1.TextToSpeech; } });
|
|
7
|
-
var ws_1 = require("./ws.js");
|
|
8
|
-
Object.defineProperty(exports, "TextToSpeechWS", { enumerable: true, get: function () { return ws_1.TextToSpeechWS; } });
|
|
9
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/text-to-speech/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/text-to-speech/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAS0B;AARxB,8GAAA,YAAY,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/text-to-speech/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,YAAY,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/text-to-speech/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,YAAY,GAQb,6BAAyB"}
|
|
@@ -1,2 +1,71 @@
|
|
|
1
|
-
|
|
1
|
+
import * as TextToSpeechAPI from "./text-to-speech.mjs";
|
|
2
|
+
import { Telnyx } from "../../client.mjs";
|
|
3
|
+
import { EventEmitter } from "../../core/EventEmitter.mjs";
|
|
4
|
+
import { TelnyxError } from "../../core/error.mjs";
|
|
5
|
+
import type { RawWebSocketData, ReconnectingEvent, UnsentMessage } from "../../internal/ws.mjs";
|
|
6
|
+
export type TextToSpeechStreamMessage = {
|
|
7
|
+
type: 'connecting' | 'open' | 'closing';
|
|
8
|
+
} | {
|
|
9
|
+
type: 'close';
|
|
10
|
+
code: number;
|
|
11
|
+
reason: string;
|
|
12
|
+
unsent: UnsentMessage<TextToSpeechAPI.StreamClientEvent>[];
|
|
13
|
+
} | {
|
|
14
|
+
type: 'reconnecting';
|
|
15
|
+
reconnect: ReconnectingEvent;
|
|
16
|
+
} | {
|
|
17
|
+
type: 'reconnected';
|
|
18
|
+
} | {
|
|
19
|
+
type: 'message';
|
|
20
|
+
message: TextToSpeechAPI.StreamServerEvent;
|
|
21
|
+
} | {
|
|
22
|
+
type: 'raw';
|
|
23
|
+
data: RawWebSocketData;
|
|
24
|
+
} | {
|
|
25
|
+
type: 'error';
|
|
26
|
+
error: WebSocketError;
|
|
27
|
+
};
|
|
28
|
+
export declare class WebSocketError extends TelnyxError {
|
|
29
|
+
/**
|
|
30
|
+
* The error data that the API sent back in an error event.
|
|
31
|
+
*/
|
|
32
|
+
error?: TextToSpeechAPI.StreamServerEvent.ErrorFrame | undefined;
|
|
33
|
+
constructor(message: string, event: TextToSpeechAPI.StreamServerEvent.ErrorFrame | null);
|
|
34
|
+
}
|
|
35
|
+
type Simplify<T> = {
|
|
36
|
+
[KeyType in keyof T]: T[KeyType];
|
|
37
|
+
} & {};
|
|
38
|
+
type WebSocketEvents = Simplify<{
|
|
39
|
+
event: (event: TextToSpeechAPI.StreamServerEvent) => void;
|
|
40
|
+
raw: (data: RawWebSocketData) => void;
|
|
41
|
+
error: (error: WebSocketError) => void;
|
|
42
|
+
close: (code: number, reason: string, unsent: UnsentMessage<TextToSpeechAPI.StreamClientEvent>[]) => void;
|
|
43
|
+
reconnecting: (event: ReconnectingEvent) => void;
|
|
44
|
+
reconnected: () => void;
|
|
45
|
+
} & {
|
|
46
|
+
[EventType in Exclude<NonNullable<TextToSpeechAPI.StreamServerEvent['type']>, 'error'>]: (event: Extract<TextToSpeechAPI.StreamServerEvent, {
|
|
47
|
+
type?: EventType;
|
|
48
|
+
}>) => unknown;
|
|
49
|
+
}>;
|
|
50
|
+
export declare abstract class TextToSpeechEmitter extends EventEmitter<WebSocketEvents> {
|
|
51
|
+
/**
|
|
52
|
+
* Send an event to the API.
|
|
53
|
+
*/
|
|
54
|
+
abstract send(event: TextToSpeechAPI.StreamClientEvent): void;
|
|
55
|
+
/**
|
|
56
|
+
* Send raw data over the WebSocket without JSON serialization.
|
|
57
|
+
*/
|
|
58
|
+
abstract sendRaw(data: RawWebSocketData): void;
|
|
59
|
+
/**
|
|
60
|
+
* Close the WebSocket connection.
|
|
61
|
+
*/
|
|
62
|
+
abstract close(props?: {
|
|
63
|
+
code: number;
|
|
64
|
+
reason: string;
|
|
65
|
+
}): void;
|
|
66
|
+
protected _onError(event: null, message: string, cause: any): void;
|
|
67
|
+
protected _onError(event: TextToSpeechAPI.StreamServerEvent.ErrorFrame, message?: string | undefined): void;
|
|
68
|
+
}
|
|
69
|
+
export declare function buildURL(client: Telnyx, parameters: Record<string, unknown>): URL;
|
|
70
|
+
export {};
|
|
2
71
|
//# sourceMappingURL=internal-base.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal-base.d.mts","sourceRoot":"","sources":["../../src/resources/text-to-speech/internal-base.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"internal-base.d.mts","sourceRoot":"","sources":["../../src/resources/text-to-speech/internal-base.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,eAAe,6BAAyB;AACpD,OAAO,EAAE,MAAM,EAAE,yBAAqB;AACtC,OAAO,EAAE,YAAY,EAAE,oCAAgC;AACvD,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,aAAa,EAAE,8BAA0B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
|
1
|
+
import * as TextToSpeechAPI from "./text-to-speech.js";
|
|
2
|
+
import { Telnyx } from "../../client.js";
|
|
3
|
+
import { EventEmitter } from "../../core/EventEmitter.js";
|
|
4
|
+
import { TelnyxError } from "../../core/error.js";
|
|
5
|
+
import type { RawWebSocketData, ReconnectingEvent, UnsentMessage } from "../../internal/ws.js";
|
|
6
|
+
export type TextToSpeechStreamMessage = {
|
|
7
|
+
type: 'connecting' | 'open' | 'closing';
|
|
8
|
+
} | {
|
|
9
|
+
type: 'close';
|
|
10
|
+
code: number;
|
|
11
|
+
reason: string;
|
|
12
|
+
unsent: UnsentMessage<TextToSpeechAPI.StreamClientEvent>[];
|
|
13
|
+
} | {
|
|
14
|
+
type: 'reconnecting';
|
|
15
|
+
reconnect: ReconnectingEvent;
|
|
16
|
+
} | {
|
|
17
|
+
type: 'reconnected';
|
|
18
|
+
} | {
|
|
19
|
+
type: 'message';
|
|
20
|
+
message: TextToSpeechAPI.StreamServerEvent;
|
|
21
|
+
} | {
|
|
22
|
+
type: 'raw';
|
|
23
|
+
data: RawWebSocketData;
|
|
24
|
+
} | {
|
|
25
|
+
type: 'error';
|
|
26
|
+
error: WebSocketError;
|
|
27
|
+
};
|
|
28
|
+
export declare class WebSocketError extends TelnyxError {
|
|
29
|
+
/**
|
|
30
|
+
* The error data that the API sent back in an error event.
|
|
31
|
+
*/
|
|
32
|
+
error?: TextToSpeechAPI.StreamServerEvent.ErrorFrame | undefined;
|
|
33
|
+
constructor(message: string, event: TextToSpeechAPI.StreamServerEvent.ErrorFrame | null);
|
|
34
|
+
}
|
|
35
|
+
type Simplify<T> = {
|
|
36
|
+
[KeyType in keyof T]: T[KeyType];
|
|
37
|
+
} & {};
|
|
38
|
+
type WebSocketEvents = Simplify<{
|
|
39
|
+
event: (event: TextToSpeechAPI.StreamServerEvent) => void;
|
|
40
|
+
raw: (data: RawWebSocketData) => void;
|
|
41
|
+
error: (error: WebSocketError) => void;
|
|
42
|
+
close: (code: number, reason: string, unsent: UnsentMessage<TextToSpeechAPI.StreamClientEvent>[]) => void;
|
|
43
|
+
reconnecting: (event: ReconnectingEvent) => void;
|
|
44
|
+
reconnected: () => void;
|
|
45
|
+
} & {
|
|
46
|
+
[EventType in Exclude<NonNullable<TextToSpeechAPI.StreamServerEvent['type']>, 'error'>]: (event: Extract<TextToSpeechAPI.StreamServerEvent, {
|
|
47
|
+
type?: EventType;
|
|
48
|
+
}>) => unknown;
|
|
49
|
+
}>;
|
|
50
|
+
export declare abstract class TextToSpeechEmitter extends EventEmitter<WebSocketEvents> {
|
|
51
|
+
/**
|
|
52
|
+
* Send an event to the API.
|
|
53
|
+
*/
|
|
54
|
+
abstract send(event: TextToSpeechAPI.StreamClientEvent): void;
|
|
55
|
+
/**
|
|
56
|
+
* Send raw data over the WebSocket without JSON serialization.
|
|
57
|
+
*/
|
|
58
|
+
abstract sendRaw(data: RawWebSocketData): void;
|
|
59
|
+
/**
|
|
60
|
+
* Close the WebSocket connection.
|
|
61
|
+
*/
|
|
62
|
+
abstract close(props?: {
|
|
63
|
+
code: number;
|
|
64
|
+
reason: string;
|
|
65
|
+
}): void;
|
|
66
|
+
protected _onError(event: null, message: string, cause: any): void;
|
|
67
|
+
protected _onError(event: TextToSpeechAPI.StreamServerEvent.ErrorFrame, message?: string | undefined): void;
|
|
68
|
+
}
|
|
69
|
+
export declare function buildURL(client: Telnyx, parameters: Record<string, unknown>): URL;
|
|
70
|
+
export {};
|
|
2
71
|
//# sourceMappingURL=internal-base.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal-base.d.ts","sourceRoot":"","sources":["../../src/resources/text-to-speech/internal-base.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"internal-base.d.ts","sourceRoot":"","sources":["../../src/resources/text-to-speech/internal-base.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,eAAe,4BAAyB;AACpD,OAAO,EAAE,MAAM,EAAE,wBAAqB;AACtC,OAA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,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,GAAG,CAMjF"}
|
|
@@ -1,9 +1,48 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
exports.TextToSpeechEmitter = exports.WebSocketError = void 0;
|
|
5
|
+
exports.buildURL = buildURL;
|
|
6
|
+
const EventEmitter_1 = require("../../core/EventEmitter.js");
|
|
7
|
+
const error_1 = require("../../core/error.js");
|
|
8
|
+
class WebSocketError extends error_1.TelnyxError {
|
|
9
|
+
constructor(message, event) {
|
|
10
|
+
super(message);
|
|
11
|
+
this.error = event ?? undefined;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.WebSocketError = WebSocketError;
|
|
15
|
+
class TextToSpeechEmitter extends EventEmitter_1.EventEmitter {
|
|
16
|
+
_onError(event, message, cause) {
|
|
17
|
+
message = message ?? safeJSONStringify(event) ?? 'unknown error';
|
|
18
|
+
if (!this._hasListener('error')) {
|
|
19
|
+
const error = new WebSocketError(message +
|
|
20
|
+
`\n\nTo resolve these unhandled rejection errors you should bind an \`error\` callback, e.g. \`ws.on('error', (error) => ...)\` `, event);
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
error.cause = cause;
|
|
23
|
+
Promise.reject(error);
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
const error = new WebSocketError(message, event);
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
error.cause = cause;
|
|
29
|
+
this._emit('error', error);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.TextToSpeechEmitter = TextToSpeechEmitter;
|
|
33
|
+
function buildURL(client, parameters) {
|
|
34
|
+
const { ...query } = parameters;
|
|
35
|
+
const endpoint = '/text-to-speech/speech';
|
|
36
|
+
const url = new URL(client.buildURL(endpoint, query, undefined));
|
|
37
|
+
url.protocol = url.protocol === 'http:' || url.protocol === 'ws:' ? 'ws:' : 'wss:';
|
|
38
|
+
return url;
|
|
39
|
+
}
|
|
40
|
+
function safeJSONStringify(value) {
|
|
41
|
+
try {
|
|
42
|
+
return JSON.stringify(value);
|
|
43
|
+
}
|
|
44
|
+
catch {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
9
48
|
//# sourceMappingURL=internal-base.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal-base.js","sourceRoot":"","sources":["../../src/resources/text-to-speech/internal-base.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;
|
|
1
|
+
{"version":3,"file":"internal-base.js","sourceRoot":"","sources":["../../src/resources/text-to-speech/internal-base.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAkGtF,4BAMC;AApGD,6DAAuD;AACvD,+CAA+C;AAkB/C,MAAa,cAAe,SAAQ,mBAAW;IAM7C,YAAY,OAAe,EAAE,KAA0D;QACrF,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,KAAK,GAAG,KAAK,IAAI,SAAS,CAAC;IAClC,CAAC;CACF;AAXD,wCAWC;AAmBD,MAAsB,mBAAoB,SAAQ,2BAA6B;IAkBnE,QAAQ,CAChB,KAA0D,EAC1D,OAA4B,EAC5B,KAAW;QAEX,OAAO,GAAG,OAAO,IAAI,iBAAiB,CAAC,KAAK,CAAC,IAAI,eAAe,CAAC;QAEjE,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC;YAChC,MAAM,KAAK,GAAG,IAAI,cAAc,CAC9B,OAAO;gBACL,iIAAiI,EACnI,KAAK,CACN,CAAC;YACF,aAAa;YACb,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC;YACpB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YACtB,OAAO;QACT,CAAC;QAED,MAAM,KAAK,GAAG,IAAI,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QACjD,aAAa;QACb,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC;QAEpB,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAC7B,CAAC;CACF;AA3CD,kDA2CC;AAED,SAAgB,QAAQ,CAAC,MAAc,EAAE,UAAmC;IAC1E,MAAM,EAAE,GAAG,KAAK,EAAE,GAAG,UAAU,CAAC;IAChC,MAAM,QAAQ,GAAG,wBAAwB,CAAC;IAC1C,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC;IACjE,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,KAAK,OAAO,IAAI,GAAG,CAAC,QAAQ,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;IACnF,OAAO,GAAG,CAAC;AACb,CAAC;AAED,SAAS,iBAAiB,CAAC,KAAc;IACvC,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
|
|
@@ -1,3 +1,42 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
2
|
+
import { EventEmitter } from "../../core/EventEmitter.mjs";
|
|
3
|
+
import { TelnyxError } from "../../core/error.mjs";
|
|
4
|
+
export class WebSocketError extends TelnyxError {
|
|
5
|
+
constructor(message, event) {
|
|
6
|
+
super(message);
|
|
7
|
+
this.error = event ?? undefined;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export class TextToSpeechEmitter extends EventEmitter {
|
|
11
|
+
_onError(event, message, cause) {
|
|
12
|
+
message = message ?? safeJSONStringify(event) ?? 'unknown error';
|
|
13
|
+
if (!this._hasListener('error')) {
|
|
14
|
+
const error = new WebSocketError(message +
|
|
15
|
+
`\n\nTo resolve these unhandled rejection errors you should bind an \`error\` callback, e.g. \`ws.on('error', (error) => ...)\` `, event);
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
error.cause = cause;
|
|
18
|
+
Promise.reject(error);
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
const error = new WebSocketError(message, event);
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
error.cause = cause;
|
|
24
|
+
this._emit('error', error);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export function buildURL(client, parameters) {
|
|
28
|
+
const { ...query } = parameters;
|
|
29
|
+
const endpoint = '/text-to-speech/speech';
|
|
30
|
+
const url = new URL(client.buildURL(endpoint, query, undefined));
|
|
31
|
+
url.protocol = url.protocol === 'http:' || url.protocol === 'ws:' ? 'ws:' : 'wss:';
|
|
32
|
+
return url;
|
|
33
|
+
}
|
|
34
|
+
function safeJSONStringify(value) {
|
|
35
|
+
try {
|
|
36
|
+
return JSON.stringify(value);
|
|
37
|
+
}
|
|
38
|
+
catch {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
3
42
|
//# sourceMappingURL=internal-base.mjs.map
|