telnyx 6.74.2 → 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 +266 -3
- package/README.md +1 -49
- package/client.d.mts +96 -85
- package/client.d.mts.map +1 -1
- package/client.d.ts +96 -85
- package/client.d.ts.map +1 -1
- package/client.js +19 -7
- package/client.js.map +1 -1
- package/client.mjs +20 -8
- package/client.mjs.map +1 -1
- package/index.d.mts +0 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts +0 -1
- package/index.d.ts.map +1 -1
- package/index.js +1 -4
- package/index.js.map +1 -1
- package/index.mjs +0 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -2
- package/resources/advanced-orders.d.mts +9 -59
- package/resources/advanced-orders.d.mts.map +1 -1
- package/resources/advanced-orders.d.ts +9 -59
- package/resources/advanced-orders.d.ts.map +1 -1
- package/resources/advanced-orders.js +1 -1
- package/resources/advanced-orders.mjs +1 -1
- package/resources/ai/ai.d.mts +266 -26
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +266 -26
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +68 -6
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +71 -9
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +675 -11
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +675 -11
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js +4 -0
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs +5 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/index.d.mts +4 -3
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +4 -3
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/index.js +3 -1
- package/resources/ai/assistants/index.js.map +1 -1
- package/resources/ai/assistants/index.mjs +2 -1
- package/resources/ai/assistants/index.mjs.map +1 -1
- package/resources/ai/assistants/instructions.d.mts +53 -0
- package/resources/ai/assistants/instructions.d.mts.map +1 -0
- package/resources/ai/assistants/instructions.d.ts +53 -0
- package/resources/ai/assistants/instructions.d.ts.map +1 -0
- package/resources/ai/assistants/instructions.js +47 -0
- package/resources/ai/assistants/instructions.js.map +1 -0
- package/resources/ai/assistants/instructions.mjs +43 -0
- package/resources/ai/assistants/instructions.mjs.map +1 -0
- package/resources/ai/assistants/scheduled-events.d.mts +41 -1
- package/resources/ai/assistants/scheduled-events.d.mts.map +1 -1
- package/resources/ai/assistants/scheduled-events.d.ts +41 -1
- package/resources/ai/assistants/scheduled-events.d.ts.map +1 -1
- package/resources/ai/assistants/tags.d.mts +14 -16
- package/resources/ai/assistants/tags.d.mts.map +1 -1
- package/resources/ai/assistants/tags.d.ts +14 -16
- package/resources/ai/assistants/tags.d.ts.map +1 -1
- package/resources/ai/assistants/tags.js +6 -5
- package/resources/ai/assistants/tags.js.map +1 -1
- package/resources/ai/assistants/tags.mjs +6 -5
- package/resources/ai/assistants/tags.mjs.map +1 -1
- package/resources/ai/assistants/tests/runs.d.mts +3 -0
- package/resources/ai/assistants/tests/runs.d.mts.map +1 -1
- package/resources/ai/assistants/tests/runs.d.ts +3 -0
- package/resources/ai/assistants/tests/runs.d.ts.map +1 -1
- package/resources/ai/assistants/tools.d.mts +7 -1
- package/resources/ai/assistants/tools.d.mts.map +1 -1
- package/resources/ai/assistants/tools.d.ts +7 -1
- package/resources/ai/assistants/tools.d.ts.map +1 -1
- package/resources/ai/assistants/versions.d.mts +25 -3
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +25 -3
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/chat.d.mts +171 -1
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +171 -1
- package/resources/ai/chat.d.ts.map +1 -1
- package/resources/ai/clusters.d.mts +3 -0
- package/resources/ai/clusters.d.mts.map +1 -1
- package/resources/ai/clusters.d.ts +3 -0
- package/resources/ai/clusters.d.ts.map +1 -1
- package/resources/ai/index.d.mts +8 -8
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +8 -8
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +2 -2
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/integrations/index.d.mts +1 -1
- package/resources/ai/integrations/index.d.mts.map +1 -1
- package/resources/ai/integrations/index.d.ts +1 -1
- package/resources/ai/integrations/index.d.ts.map +1 -1
- package/resources/ai/integrations/index.js.map +1 -1
- package/resources/ai/integrations/index.mjs.map +1 -1
- package/resources/ai/integrations/integrations.d.mts +4 -15
- package/resources/ai/integrations/integrations.d.mts.map +1 -1
- package/resources/ai/integrations/integrations.d.ts +4 -15
- package/resources/ai/integrations/integrations.d.ts.map +1 -1
- package/resources/ai/integrations/integrations.js.map +1 -1
- package/resources/ai/integrations/integrations.mjs.map +1 -1
- package/resources/ai/mcp-servers.d.mts +14 -35
- package/resources/ai/mcp-servers.d.mts.map +1 -1
- package/resources/ai/mcp-servers.d.ts +14 -35
- package/resources/ai/mcp-servers.d.ts.map +1 -1
- package/resources/ai/mcp-servers.js +5 -2
- package/resources/ai/mcp-servers.js.map +1 -1
- package/resources/ai/mcp-servers.mjs +5 -2
- package/resources/ai/mcp-servers.mjs.map +1 -1
- package/resources/ai/missions/index.d.mts +2 -2
- package/resources/ai/missions/index.d.mts.map +1 -1
- package/resources/ai/missions/index.d.ts +2 -2
- package/resources/ai/missions/index.d.ts.map +1 -1
- package/resources/ai/missions/index.js.map +1 -1
- package/resources/ai/missions/index.mjs.map +1 -1
- package/resources/ai/missions/knowledge-bases.d.mts +9 -0
- package/resources/ai/missions/knowledge-bases.d.mts.map +1 -1
- package/resources/ai/missions/knowledge-bases.d.ts +9 -0
- package/resources/ai/missions/knowledge-bases.d.ts.map +1 -1
- package/resources/ai/missions/mcp-servers.d.mts +9 -0
- package/resources/ai/missions/mcp-servers.d.mts.map +1 -1
- package/resources/ai/missions/mcp-servers.d.ts +9 -0
- package/resources/ai/missions/mcp-servers.d.ts.map +1 -1
- package/resources/ai/missions/missions.d.mts +25 -21
- package/resources/ai/missions/missions.d.mts.map +1 -1
- package/resources/ai/missions/missions.d.ts +25 -21
- package/resources/ai/missions/missions.d.ts.map +1 -1
- package/resources/ai/missions/missions.js +6 -5
- package/resources/ai/missions/missions.js.map +1 -1
- package/resources/ai/missions/missions.mjs +6 -5
- package/resources/ai/missions/missions.mjs.map +1 -1
- package/resources/ai/missions/runs/events.d.mts +28 -23
- package/resources/ai/missions/runs/events.d.mts.map +1 -1
- package/resources/ai/missions/runs/events.d.ts +28 -23
- package/resources/ai/missions/runs/events.d.ts.map +1 -1
- package/resources/ai/missions/runs/events.js +10 -9
- package/resources/ai/missions/runs/events.js.map +1 -1
- package/resources/ai/missions/runs/events.mjs +10 -9
- package/resources/ai/missions/runs/events.mjs.map +1 -1
- package/resources/ai/missions/runs/index.d.mts +3 -3
- package/resources/ai/missions/runs/index.d.mts.map +1 -1
- package/resources/ai/missions/runs/index.d.ts +3 -3
- package/resources/ai/missions/runs/index.d.ts.map +1 -1
- package/resources/ai/missions/runs/index.js.map +1 -1
- package/resources/ai/missions/runs/index.mjs.map +1 -1
- package/resources/ai/missions/runs/plan.d.mts +53 -61
- package/resources/ai/missions/runs/plan.d.mts.map +1 -1
- package/resources/ai/missions/runs/plan.d.ts +53 -61
- package/resources/ai/missions/runs/plan.d.ts.map +1 -1
- package/resources/ai/missions/runs/plan.js +17 -16
- package/resources/ai/missions/runs/plan.js.map +1 -1
- package/resources/ai/missions/runs/plan.mjs +17 -16
- package/resources/ai/missions/runs/plan.mjs.map +1 -1
- package/resources/ai/missions/runs/runs.d.mts +67 -52
- package/resources/ai/missions/runs/runs.d.mts.map +1 -1
- package/resources/ai/missions/runs/runs.d.ts +67 -52
- package/resources/ai/missions/runs/runs.d.ts.map +1 -1
- package/resources/ai/missions/runs/runs.js +29 -23
- package/resources/ai/missions/runs/runs.js.map +1 -1
- package/resources/ai/missions/runs/runs.mjs +29 -23
- package/resources/ai/missions/runs/runs.mjs.map +1 -1
- package/resources/ai/missions/runs/telnyx-agents.d.mts +10 -1
- package/resources/ai/missions/runs/telnyx-agents.d.mts.map +1 -1
- package/resources/ai/missions/runs/telnyx-agents.d.ts +10 -1
- package/resources/ai/missions/runs/telnyx-agents.d.ts.map +1 -1
- package/resources/ai/missions/tools.d.mts +9 -0
- package/resources/ai/missions/tools.d.mts.map +1 -1
- package/resources/ai/missions/tools.d.ts +9 -0
- package/resources/ai/missions/tools.d.ts.map +1 -1
- package/resources/ai/openai/index.d.mts +1 -1
- package/resources/ai/openai/index.d.mts.map +1 -1
- package/resources/ai/openai/index.d.ts +1 -1
- package/resources/ai/openai/index.d.ts.map +1 -1
- package/resources/ai/openai/index.js.map +1 -1
- package/resources/ai/openai/index.mjs +1 -1
- package/resources/ai/openai/index.mjs.map +1 -1
- package/resources/ai/openai/openai.d.mts +9 -11
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +9 -11
- package/resources/ai/openai/openai.d.ts.map +1 -1
- package/resources/ai/openai/openai.js +4 -4
- package/resources/ai/openai/openai.js.map +1 -1
- package/resources/ai/openai/openai.mjs +4 -4
- package/resources/ai/openai/openai.mjs.map +1 -1
- package/resources/ai/tools.d.mts +21 -41
- package/resources/ai/tools.d.mts.map +1 -1
- package/resources/ai/tools.d.ts +21 -41
- package/resources/ai/tools.d.ts.map +1 -1
- package/resources/ai/tools.js +8 -4
- package/resources/ai/tools.js.map +1 -1
- package/resources/ai/tools.mjs +8 -4
- package/resources/ai/tools.mjs.map +1 -1
- package/resources/bulk-sim-card-actions.d.mts +11 -46
- package/resources/bulk-sim-card-actions.d.mts.map +1 -1
- package/resources/bulk-sim-card-actions.d.ts +11 -46
- package/resources/bulk-sim-card-actions.d.ts.map +1 -1
- package/resources/bulk-sim-card-actions.js.map +1 -1
- package/resources/bulk-sim-card-actions.mjs.map +1 -1
- package/resources/call-reasons.d.mts +111 -0
- package/resources/call-reasons.d.mts.map +1 -0
- package/resources/call-reasons.d.ts +111 -0
- package/resources/call-reasons.d.ts.map +1 -0
- package/resources/call-reasons.js +51 -0
- package/resources/call-reasons.js.map +1 -0
- package/resources/call-reasons.mjs +47 -0
- package/resources/call-reasons.mjs.map +1 -0
- package/resources/calls/actions.d.mts +198 -446
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +198 -446
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +128 -128
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +128 -128
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +2 -2
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +2 -2
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/channel-zones.d.mts +5 -24
- package/resources/channel-zones.d.mts.map +1 -1
- package/resources/channel-zones.d.ts +5 -24
- package/resources/channel-zones.d.ts.map +1 -1
- package/resources/channel-zones.js.map +1 -1
- package/resources/channel-zones.mjs.map +1 -1
- package/resources/conferences/actions.d.mts +24 -17
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +24 -17
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/conferences/conferences.d.mts +14 -16
- package/resources/conferences/conferences.d.mts.map +1 -1
- package/resources/conferences/conferences.d.ts +14 -16
- package/resources/conferences/conferences.d.ts.map +1 -1
- package/resources/conferences/conferences.js +6 -5
- package/resources/conferences/conferences.js.map +1 -1
- package/resources/conferences/conferences.mjs +6 -5
- package/resources/conferences/conferences.mjs.map +1 -1
- package/resources/conferences/index.d.mts +2 -2
- package/resources/conferences/index.d.mts.map +1 -1
- package/resources/conferences/index.d.ts +2 -2
- package/resources/conferences/index.d.ts.map +1 -1
- package/resources/conferences/index.js.map +1 -1
- package/resources/conferences/index.mjs.map +1 -1
- package/resources/connections.d.mts +7 -59
- package/resources/connections.d.mts.map +1 -1
- package/resources/connections.d.ts +7 -59
- package/resources/connections.d.ts.map +1 -1
- package/resources/connections.js +1 -4
- package/resources/connections.js.map +1 -1
- package/resources/connections.mjs +1 -4
- package/resources/connections.mjs.map +1 -1
- package/resources/credential-connections/credential-connections.d.mts +11 -4
- package/resources/credential-connections/credential-connections.d.mts.map +1 -1
- package/resources/credential-connections/credential-connections.d.ts +11 -4
- package/resources/credential-connections/credential-connections.d.ts.map +1 -1
- package/resources/credential-connections/credential-connections.js.map +1 -1
- package/resources/credential-connections/credential-connections.mjs.map +1 -1
- package/resources/credential-connections/index.d.mts +1 -1
- package/resources/credential-connections/index.d.mts.map +1 -1
- package/resources/credential-connections/index.d.ts +1 -1
- package/resources/credential-connections/index.d.ts.map +1 -1
- package/resources/credential-connections/index.js.map +1 -1
- package/resources/credential-connections/index.mjs.map +1 -1
- package/resources/custom-storage-credentials.d.mts +19 -43
- package/resources/custom-storage-credentials.d.mts.map +1 -1
- package/resources/custom-storage-credentials.d.ts +19 -43
- package/resources/custom-storage-credentials.d.ts.map +1 -1
- package/resources/custom-storage-credentials.js +3 -3
- package/resources/custom-storage-credentials.js.map +1 -1
- package/resources/custom-storage-credentials.mjs +3 -3
- package/resources/custom-storage-credentials.mjs.map +1 -1
- package/resources/dialogflow-connections.d.mts +10 -60
- package/resources/dialogflow-connections.d.mts.map +1 -1
- package/resources/dialogflow-connections.d.ts +10 -60
- package/resources/dialogflow-connections.d.ts.map +1 -1
- package/resources/dialogflow-connections.js +3 -3
- package/resources/dialogflow-connections.mjs +3 -3
- package/resources/dir/comments.d.mts +100 -0
- package/resources/dir/comments.d.mts.map +1 -0
- package/resources/dir/comments.d.ts +100 -0
- package/resources/dir/comments.d.ts.map +1 -0
- package/resources/dir/comments.js +54 -0
- package/resources/dir/comments.js.map +1 -0
- package/resources/dir/comments.mjs +50 -0
- package/resources/dir/comments.mjs.map +1 -0
- package/resources/dir/dir.d.mts +466 -0
- package/resources/dir/dir.d.mts.map +1 -0
- package/resources/dir/dir.d.ts +466 -0
- package/resources/dir/dir.d.ts.map +1 -0
- package/resources/dir/dir.js +224 -0
- package/resources/dir/dir.js.map +1 -0
- package/resources/dir/dir.mjs +219 -0
- package/resources/dir/dir.mjs.map +1 -0
- package/resources/dir/index.d.mts +5 -0
- package/resources/dir/index.d.mts.map +1 -0
- package/resources/dir/index.d.ts +5 -0
- package/resources/dir/index.d.ts.map +1 -0
- package/resources/dir/index.js +13 -0
- package/resources/dir/index.js.map +1 -0
- package/resources/dir/index.mjs +6 -0
- package/resources/dir/index.mjs.map +1 -0
- package/resources/dir/phone-number-batches.d.mts +120 -0
- package/resources/dir/phone-number-batches.d.mts.map +1 -0
- package/resources/dir/phone-number-batches.d.ts +120 -0
- package/resources/dir/phone-number-batches.d.ts.map +1 -0
- package/resources/dir/phone-number-batches.js +48 -0
- package/resources/dir/phone-number-batches.js.map +1 -0
- package/resources/dir/phone-number-batches.mjs +44 -0
- package/resources/dir/phone-number-batches.mjs.map +1 -0
- package/resources/dir/phone-numbers.d.mts +202 -0
- package/resources/dir/phone-numbers.d.mts.map +1 -0
- package/resources/dir/phone-numbers.d.ts +202 -0
- package/resources/dir/phone-numbers.d.ts.map +1 -0
- package/resources/dir/phone-numbers.js +78 -0
- package/resources/dir/phone-numbers.js.map +1 -0
- package/resources/dir/phone-numbers.mjs +74 -0
- package/resources/dir/phone-numbers.mjs.map +1 -0
- package/resources/dir.d.mts +2 -0
- package/resources/dir.d.mts.map +1 -0
- package/resources/dir.d.ts +2 -0
- package/resources/dir.d.ts.map +1 -0
- package/resources/dir.js +6 -0
- package/resources/dir.js.map +1 -0
- package/resources/dir.mjs +3 -0
- package/resources/dir.mjs.map +1 -0
- package/resources/document-links.d.mts +2 -13
- package/resources/document-links.d.mts.map +1 -1
- package/resources/document-links.d.ts +2 -13
- package/resources/document-links.d.ts.map +1 -1
- package/resources/document-links.js.map +1 -1
- package/resources/document-links.mjs.map +1 -1
- package/resources/documents.d.mts +20 -14
- package/resources/documents.d.mts.map +1 -1
- package/resources/documents.d.ts +20 -14
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +1 -1
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +1 -1
- package/resources/documents.mjs.map +1 -1
- package/resources/enterprises/dir.d.mts +167 -0
- package/resources/enterprises/dir.d.mts.map +1 -0
- package/resources/enterprises/dir.d.ts +167 -0
- package/resources/enterprises/dir.d.ts.map +1 -0
- package/resources/enterprises/dir.js +87 -0
- package/resources/enterprises/dir.js.map +1 -0
- package/resources/enterprises/dir.mjs +83 -0
- package/resources/enterprises/dir.mjs.map +1 -0
- package/resources/enterprises/enterprises.d.mts +239 -239
- package/resources/enterprises/enterprises.d.mts.map +1 -1
- package/resources/enterprises/enterprises.d.ts +239 -239
- package/resources/enterprises/enterprises.d.ts.map +1 -1
- package/resources/enterprises/enterprises.js +135 -40
- package/resources/enterprises/enterprises.js.map +1 -1
- package/resources/enterprises/enterprises.mjs +135 -40
- package/resources/enterprises/enterprises.mjs.map +1 -1
- package/resources/enterprises/index.d.mts +3 -2
- package/resources/enterprises/index.d.mts.map +1 -1
- package/resources/enterprises/index.d.ts +3 -2
- package/resources/enterprises/index.d.ts.map +1 -1
- package/resources/enterprises/index.js +3 -1
- package/resources/enterprises/index.js.map +1 -1
- package/resources/enterprises/index.mjs +1 -0
- package/resources/enterprises/index.mjs.map +1 -1
- package/resources/enterprises/reputation/index.d.mts +4 -2
- package/resources/enterprises/reputation/index.d.mts.map +1 -1
- package/resources/enterprises/reputation/index.d.ts +4 -2
- package/resources/enterprises/reputation/index.d.ts.map +1 -1
- package/resources/enterprises/reputation/index.js +5 -1
- package/resources/enterprises/reputation/index.js.map +1 -1
- package/resources/enterprises/reputation/index.mjs +2 -0
- package/resources/enterprises/reputation/index.mjs.map +1 -1
- package/resources/enterprises/reputation/loa.d.mts +103 -0
- package/resources/enterprises/reputation/loa.d.mts.map +1 -0
- package/resources/enterprises/reputation/loa.d.ts +103 -0
- package/resources/enterprises/reputation/loa.d.ts.map +1 -0
- package/resources/enterprises/reputation/loa.js +62 -0
- package/resources/enterprises/reputation/loa.js.map +1 -0
- package/resources/enterprises/reputation/loa.mjs +58 -0
- package/resources/enterprises/reputation/loa.mjs.map +1 -0
- package/resources/enterprises/reputation/numbers.d.mts +127 -88
- package/resources/enterprises/reputation/numbers.d.mts.map +1 -1
- package/resources/enterprises/reputation/numbers.d.ts +127 -88
- package/resources/enterprises/reputation/numbers.d.ts.map +1 -1
- package/resources/enterprises/reputation/numbers.js +50 -51
- package/resources/enterprises/reputation/numbers.js.map +1 -1
- package/resources/enterprises/reputation/numbers.mjs +50 -51
- package/resources/enterprises/reputation/numbers.mjs.map +1 -1
- package/resources/enterprises/reputation/remediation.d.mts +192 -0
- package/resources/enterprises/reputation/remediation.d.mts.map +1 -0
- package/resources/enterprises/reputation/remediation.d.ts +192 -0
- package/resources/enterprises/reputation/remediation.d.ts.map +1 -0
- package/resources/enterprises/reputation/remediation.js +81 -0
- package/resources/enterprises/reputation/remediation.js.map +1 -0
- package/resources/enterprises/reputation/remediation.mjs +77 -0
- package/resources/enterprises/reputation/remediation.mjs.map +1 -0
- package/resources/enterprises/reputation/reputation.d.mts +83 -92
- package/resources/enterprises/reputation/reputation.d.mts.map +1 -1
- package/resources/enterprises/reputation/reputation.d.ts +83 -92
- package/resources/enterprises/reputation/reputation.d.ts.map +1 -1
- package/resources/enterprises/reputation/reputation.js +50 -58
- package/resources/enterprises/reputation/reputation.js.map +1 -1
- package/resources/enterprises/reputation/reputation.mjs +50 -58
- package/resources/enterprises/reputation/reputation.mjs.map +1 -1
- package/resources/external-connections/external-connections.d.mts +4 -4
- package/resources/external-connections/external-connections.d.mts.map +1 -1
- package/resources/external-connections/external-connections.d.ts +4 -4
- package/resources/external-connections/external-connections.d.ts.map +1 -1
- package/resources/external-connections/external-connections.mjs.map +1 -1
- package/resources/external-connections/index.d.mts +2 -2
- package/resources/external-connections/index.d.mts.map +1 -1
- package/resources/external-connections/index.d.ts +2 -2
- package/resources/external-connections/index.d.ts.map +1 -1
- package/resources/external-connections/log-messages.d.mts +11 -42
- package/resources/external-connections/log-messages.d.mts.map +1 -1
- package/resources/external-connections/log-messages.d.ts +11 -42
- package/resources/external-connections/log-messages.d.ts.map +1 -1
- package/resources/external-connections/log-messages.js +1 -1
- package/resources/external-connections/log-messages.js.map +1 -1
- package/resources/external-connections/log-messages.mjs +1 -1
- package/resources/external-connections/log-messages.mjs.map +1 -1
- package/resources/external-connections/releases.d.mts +18 -41
- package/resources/external-connections/releases.d.mts.map +1 -1
- package/resources/external-connections/releases.d.ts +18 -41
- package/resources/external-connections/releases.d.ts.map +1 -1
- package/resources/external-connections/releases.js +1 -1
- package/resources/external-connections/releases.js.map +1 -1
- package/resources/external-connections/releases.mjs +1 -1
- package/resources/external-connections/releases.mjs.map +1 -1
- package/resources/faxes/faxes.d.mts +9 -3
- package/resources/faxes/faxes.d.mts.map +1 -1
- package/resources/faxes/faxes.d.ts +9 -3
- package/resources/faxes/faxes.d.ts.map +1 -1
- package/resources/faxes/faxes.js.map +1 -1
- package/resources/faxes/faxes.mjs.map +1 -1
- package/resources/faxes/index.d.mts +1 -1
- package/resources/faxes/index.d.mts.map +1 -1
- package/resources/faxes/index.d.ts +1 -1
- package/resources/faxes/index.d.ts.map +1 -1
- package/resources/faxes/index.js.map +1 -1
- package/resources/faxes/index.mjs.map +1 -1
- package/resources/fqdn-connections.d.mts +3 -3
- package/resources/fqdn-connections.d.mts.map +1 -1
- package/resources/fqdn-connections.d.ts +3 -3
- package/resources/fqdn-connections.d.ts.map +1 -1
- package/resources/global-ip-health-checks.d.mts +12 -66
- package/resources/global-ip-health-checks.d.mts.map +1 -1
- package/resources/global-ip-health-checks.d.ts +12 -66
- package/resources/global-ip-health-checks.d.ts.map +1 -1
- package/resources/global-ip-health-checks.js +5 -2
- package/resources/global-ip-health-checks.js.map +1 -1
- package/resources/global-ip-health-checks.mjs +5 -2
- package/resources/global-ip-health-checks.mjs.map +1 -1
- package/resources/global-ips.d.mts +12 -78
- package/resources/global-ips.d.mts.map +1 -1
- package/resources/global-ips.d.ts +12 -78
- package/resources/global-ips.d.ts.map +1 -1
- package/resources/global-ips.js +2 -5
- package/resources/global-ips.js.map +1 -1
- package/resources/global-ips.mjs +2 -5
- package/resources/global-ips.mjs.map +1 -1
- package/resources/index.d.mts +41 -38
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +41 -38
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +10 -4
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -1
- package/resources/index.mjs.map +1 -1
- package/resources/infringement-claims.d.mts +162 -0
- package/resources/infringement-claims.d.mts.map +1 -0
- package/resources/infringement-claims.d.ts +162 -0
- package/resources/infringement-claims.d.ts.map +1 -0
- package/resources/infringement-claims.js +68 -0
- package/resources/infringement-claims.js.map +1 -0
- package/resources/infringement-claims.mjs +64 -0
- package/resources/infringement-claims.mjs.map +1 -0
- package/resources/ip-connections.d.mts +3 -3
- package/resources/ip-connections.d.mts.map +1 -1
- package/resources/ip-connections.d.ts +3 -3
- package/resources/ip-connections.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.d.mts +6 -0
- package/resources/legacy/reporting/usage-reports/usage-reports.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.d.ts +6 -0
- package/resources/legacy/reporting/usage-reports/usage-reports.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.mjs.map +1 -1
- package/resources/messages/index.d.mts +1 -1
- package/resources/messages/index.d.mts.map +1 -1
- package/resources/messages/index.d.ts +1 -1
- package/resources/messages/index.d.ts.map +1 -1
- package/resources/messages/index.js.map +1 -1
- package/resources/messages/index.mjs.map +1 -1
- package/resources/messages/messages.d.mts +3 -24
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +3 -24
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/messaging-10dlc/brand/brand.d.mts +58 -84
- package/resources/messaging-10dlc/brand/brand.d.mts.map +1 -1
- package/resources/messaging-10dlc/brand/brand.d.ts +58 -84
- package/resources/messaging-10dlc/brand/brand.d.ts.map +1 -1
- package/resources/messaging-10dlc/brand/brand.js +4 -4
- package/resources/messaging-10dlc/brand/brand.js.map +1 -1
- package/resources/messaging-10dlc/brand/brand.mjs +5 -5
- package/resources/messaging-10dlc/brand/brand.mjs.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.d.mts +9 -79
- package/resources/messaging-10dlc/brand/external-vetting.d.mts.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.d.ts +9 -79
- package/resources/messaging-10dlc/brand/external-vetting.d.ts.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.js +5 -5
- package/resources/messaging-10dlc/brand/external-vetting.js.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.mjs +3 -3
- package/resources/messaging-10dlc/brand/external-vetting.mjs.map +1 -1
- package/resources/messaging-10dlc/brand/index.d.mts +2 -2
- package/resources/messaging-10dlc/brand/index.d.mts.map +1 -1
- package/resources/messaging-10dlc/brand/index.d.ts +2 -2
- package/resources/messaging-10dlc/brand/index.d.ts.map +1 -1
- package/resources/messaging-10dlc/brand/index.js +2 -2
- package/resources/messaging-10dlc/brand/index.js.map +1 -1
- package/resources/messaging-10dlc/brand/index.mjs +1 -1
- package/resources/messaging-10dlc/brand/index.mjs.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.d.mts +3 -0
- package/resources/messaging-10dlc/campaign/campaign.d.mts.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.d.ts +3 -0
- package/resources/messaging-10dlc/campaign/campaign.d.ts.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.js.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.mjs.map +1 -1
- package/resources/messaging-10dlc/campaign/usecase.d.mts +3 -0
- package/resources/messaging-10dlc/campaign/usecase.d.mts.map +1 -1
- package/resources/messaging-10dlc/campaign/usecase.d.ts +3 -0
- package/resources/messaging-10dlc/campaign/usecase.d.ts.map +1 -1
- package/resources/messaging-10dlc/campaign-builder/brand.d.mts +3 -0
- package/resources/messaging-10dlc/campaign-builder/brand.d.mts.map +1 -1
- package/resources/messaging-10dlc/campaign-builder/brand.d.ts +3 -0
- package/resources/messaging-10dlc/campaign-builder/brand.d.ts.map +1 -1
- package/resources/messaging-10dlc/index.d.mts +1 -1
- package/resources/messaging-10dlc/index.d.mts.map +1 -1
- package/resources/messaging-10dlc/index.d.ts +1 -1
- package/resources/messaging-10dlc/index.d.ts.map +1 -1
- package/resources/messaging-10dlc/index.js.map +1 -1
- package/resources/messaging-10dlc/index.mjs.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.d.mts +2 -2
- package/resources/messaging-10dlc/messaging-10dlc.d.mts.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.d.ts +2 -2
- package/resources/messaging-10dlc/messaging-10dlc.d.ts.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.js.map +1 -1
- package/resources/messaging-10dlc/messaging-10dlc.mjs.map +1 -1
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.mts +12 -0
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.mts.map +1 -1
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.ts +12 -0
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.ts.map +1 -1
- package/resources/messaging-hosted-numbers.d.mts +23 -1
- package/resources/messaging-hosted-numbers.d.mts.map +1 -1
- package/resources/messaging-hosted-numbers.d.ts +23 -1
- package/resources/messaging-hosted-numbers.d.ts.map +1 -1
- package/resources/messaging-profile-metrics.d.mts +6 -2
- package/resources/messaging-profile-metrics.d.mts.map +1 -1
- package/resources/messaging-profile-metrics.d.ts +6 -2
- package/resources/messaging-profile-metrics.d.ts.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.d.mts +10 -1
- package/resources/messaging-profiles/autoresp-configs.d.mts.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.d.ts +10 -1
- package/resources/messaging-profiles/autoresp-configs.d.ts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.mts +6 -1
- package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.ts +6 -1
- package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.mjs.map +1 -1
- package/resources/messaging-tollfree/verification/requests.d.mts +14 -3
- package/resources/messaging-tollfree/verification/requests.d.mts.map +1 -1
- package/resources/messaging-tollfree/verification/requests.d.ts +14 -3
- package/resources/messaging-tollfree/verification/requests.d.ts.map +1 -1
- package/resources/mobile-phone-numbers/index.d.mts +1 -1
- package/resources/mobile-phone-numbers/index.d.mts.map +1 -1
- package/resources/mobile-phone-numbers/index.d.ts +1 -1
- package/resources/mobile-phone-numbers/index.d.ts.map +1 -1
- package/resources/mobile-phone-numbers/messaging.d.mts +9 -72
- package/resources/mobile-phone-numbers/messaging.d.mts.map +1 -1
- package/resources/mobile-phone-numbers/messaging.d.ts +9 -72
- package/resources/mobile-phone-numbers/messaging.d.ts.map +1 -1
- package/resources/mobile-phone-numbers/messaging.js.map +1 -1
- package/resources/mobile-phone-numbers/messaging.mjs.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.mts +2 -2
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.mts.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.ts +2 -2
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.ts.map +1 -1
- package/resources/networks/default-gateway.d.mts +20 -54
- package/resources/networks/default-gateway.d.mts.map +1 -1
- package/resources/networks/default-gateway.d.ts +20 -54
- package/resources/networks/default-gateway.d.ts.map +1 -1
- package/resources/networks/default-gateway.js +3 -3
- package/resources/networks/default-gateway.js.map +1 -1
- package/resources/networks/default-gateway.mjs +1 -1
- package/resources/networks/default-gateway.mjs.map +1 -1
- package/resources/networks/index.d.mts +2 -2
- package/resources/networks/index.d.mts.map +1 -1
- package/resources/networks/index.d.ts +2 -2
- package/resources/networks/index.d.ts.map +1 -1
- package/resources/networks/index.js +2 -2
- package/resources/networks/index.js.map +1 -1
- package/resources/networks/index.mjs +1 -1
- package/resources/networks/index.mjs.map +1 -1
- package/resources/networks/networks.d.mts +21 -63
- package/resources/networks/networks.d.mts.map +1 -1
- package/resources/networks/networks.d.ts +21 -63
- package/resources/networks/networks.d.ts.map +1 -1
- package/resources/networks/networks.js +12 -13
- package/resources/networks/networks.js.map +1 -1
- package/resources/networks/networks.mjs +13 -14
- package/resources/networks/networks.mjs.map +1 -1
- package/resources/porting/events.d.mts +6 -6
- package/resources/porting/events.d.mts.map +1 -1
- package/resources/porting/events.d.ts +6 -6
- package/resources/porting/events.d.ts.map +1 -1
- package/resources/porting/events.js +1 -1
- package/resources/porting/events.js.map +1 -1
- package/resources/porting/events.mjs +1 -1
- package/resources/porting/events.mjs.map +1 -1
- package/resources/porting/index.d.mts +1 -1
- package/resources/porting/index.d.mts.map +1 -1
- package/resources/porting/index.d.ts +1 -1
- package/resources/porting/index.d.ts.map +1 -1
- package/resources/porting/porting.d.mts +2 -2
- package/resources/porting/porting.d.mts.map +1 -1
- package/resources/porting/porting.d.ts +2 -2
- package/resources/porting/porting.d.ts.map +1 -1
- package/resources/porting/porting.mjs.map +1 -1
- package/resources/porting-orders/action-requirements.d.mts +6 -50
- package/resources/porting-orders/action-requirements.d.mts.map +1 -1
- package/resources/porting-orders/action-requirements.d.ts +6 -50
- package/resources/porting-orders/action-requirements.d.ts.map +1 -1
- package/resources/porting-orders/action-requirements.js +1 -1
- package/resources/porting-orders/action-requirements.js.map +1 -1
- package/resources/porting-orders/action-requirements.mjs +1 -1
- package/resources/porting-orders/action-requirements.mjs.map +1 -1
- package/resources/porting-orders/additional-documents.d.mts +8 -48
- package/resources/porting-orders/additional-documents.d.mts.map +1 -1
- package/resources/porting-orders/additional-documents.d.ts +8 -48
- package/resources/porting-orders/additional-documents.d.ts.map +1 -1
- package/resources/porting-orders/additional-documents.js +1 -1
- package/resources/porting-orders/additional-documents.js.map +1 -1
- package/resources/porting-orders/additional-documents.mjs +1 -1
- package/resources/porting-orders/additional-documents.mjs.map +1 -1
- package/resources/porting-orders/comments.d.mts +8 -30
- package/resources/porting-orders/comments.d.mts.map +1 -1
- package/resources/porting-orders/comments.d.ts +8 -30
- package/resources/porting-orders/comments.d.ts.map +1 -1
- package/resources/porting-orders/comments.js +1 -1
- package/resources/porting-orders/comments.js.map +1 -1
- package/resources/porting-orders/comments.mjs +1 -1
- package/resources/porting-orders/comments.mjs.map +1 -1
- package/resources/porting-orders/index.d.mts +5 -5
- package/resources/porting-orders/index.d.mts.map +1 -1
- package/resources/porting-orders/index.d.ts +5 -5
- package/resources/porting-orders/index.d.ts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.mts +2 -1
- package/resources/porting-orders/phone-number-blocks.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.ts +2 -1
- package/resources/porting-orders/phone-number-blocks.d.ts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.js.map +1 -1
- package/resources/porting-orders/phone-number-blocks.mjs.map +1 -1
- package/resources/porting-orders/phone-number-configurations.d.mts +8 -36
- package/resources/porting-orders/phone-number-configurations.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-configurations.d.ts +8 -36
- package/resources/porting-orders/phone-number-configurations.d.ts.map +1 -1
- package/resources/porting-orders/phone-number-configurations.js +1 -1
- package/resources/porting-orders/phone-number-configurations.js.map +1 -1
- package/resources/porting-orders/phone-number-configurations.mjs +1 -1
- package/resources/porting-orders/phone-number-configurations.mjs.map +1 -1
- package/resources/porting-orders/porting-orders.d.mts +13 -53
- package/resources/porting-orders/porting-orders.d.mts.map +1 -1
- package/resources/porting-orders/porting-orders.d.ts +13 -53
- package/resources/porting-orders/porting-orders.d.ts.map +1 -1
- package/resources/porting-orders/porting-orders.js.map +1 -1
- package/resources/porting-orders/porting-orders.mjs.map +1 -1
- package/resources/porting-orders/verification-codes.d.mts +6 -38
- package/resources/porting-orders/verification-codes.d.mts.map +1 -1
- package/resources/porting-orders/verification-codes.d.ts +6 -38
- package/resources/porting-orders/verification-codes.d.ts.map +1 -1
- package/resources/porting-orders/verification-codes.js +1 -1
- package/resources/porting-orders/verification-codes.js.map +1 -1
- package/resources/porting-orders/verification-codes.mjs +1 -1
- package/resources/porting-orders/verification-codes.mjs.map +1 -1
- package/resources/porting-phone-numbers.d.mts +9 -5
- package/resources/porting-phone-numbers.d.mts.map +1 -1
- package/resources/porting-phone-numbers.d.ts +9 -5
- package/resources/porting-phone-numbers.d.ts.map +1 -1
- package/resources/porting-phone-numbers.js +4 -1
- package/resources/porting-phone-numbers.js.map +1 -1
- package/resources/porting-phone-numbers.mjs +4 -1
- package/resources/porting-phone-numbers.mjs.map +1 -1
- package/resources/portouts/events.d.mts +6 -6
- package/resources/portouts/events.d.mts.map +1 -1
- package/resources/portouts/events.d.ts +6 -6
- package/resources/portouts/events.d.ts.map +1 -1
- package/resources/portouts/events.js +1 -1
- package/resources/portouts/events.js.map +1 -1
- package/resources/portouts/events.mjs +1 -1
- package/resources/portouts/events.mjs.map +1 -1
- package/resources/portouts/index.d.mts +1 -1
- package/resources/portouts/index.d.mts.map +1 -1
- package/resources/portouts/index.d.ts +1 -1
- package/resources/portouts/index.d.ts.map +1 -1
- package/resources/portouts/portouts.d.mts +2 -2
- package/resources/portouts/portouts.d.mts.map +1 -1
- package/resources/portouts/portouts.d.ts +2 -2
- package/resources/portouts/portouts.d.ts.map +1 -1
- package/resources/portouts/portouts.mjs.map +1 -1
- package/resources/pronunciation-dicts.d.mts +17 -29
- package/resources/pronunciation-dicts.d.mts.map +1 -1
- package/resources/pronunciation-dicts.d.ts +17 -29
- package/resources/pronunciation-dicts.d.ts.map +1 -1
- package/resources/pronunciation-dicts.js +3 -3
- package/resources/pronunciation-dicts.mjs +3 -3
- package/resources/public-internet-gateways.d.mts +19 -44
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +19 -44
- package/resources/public-internet-gateways.d.ts.map +1 -1
- package/resources/public-internet-gateways.js +3 -32
- package/resources/public-internet-gateways.js.map +1 -1
- package/resources/public-internet-gateways.mjs +3 -32
- package/resources/public-internet-gateways.mjs.map +1 -1
- package/resources/queues/calls.d.mts +8 -59
- package/resources/queues/calls.d.mts.map +1 -1
- package/resources/queues/calls.d.ts +8 -59
- package/resources/queues/calls.d.ts.map +1 -1
- package/resources/queues/calls.js +5 -2
- package/resources/queues/calls.js.map +1 -1
- package/resources/queues/calls.mjs +5 -2
- package/resources/queues/calls.mjs.map +1 -1
- package/resources/queues/index.d.mts +1 -1
- package/resources/queues/index.d.mts.map +1 -1
- package/resources/queues/index.d.ts +1 -1
- package/resources/queues/index.d.ts.map +1 -1
- package/resources/queues/queues.d.mts +2 -2
- package/resources/queues/queues.d.mts.map +1 -1
- package/resources/queues/queues.d.ts +2 -2
- package/resources/queues/queues.d.ts.map +1 -1
- package/resources/queues/queues.mjs.map +1 -1
- package/resources/recordings/index.d.mts +1 -1
- package/resources/recordings/index.d.mts.map +1 -1
- package/resources/recordings/index.d.ts +1 -1
- package/resources/recordings/index.d.ts.map +1 -1
- package/resources/recordings/index.js.map +1 -1
- package/resources/recordings/index.mjs.map +1 -1
- package/resources/recordings/recordings.d.mts +8 -11
- package/resources/recordings/recordings.d.mts.map +1 -1
- package/resources/recordings/recordings.d.ts +8 -11
- package/resources/recordings/recordings.d.ts.map +1 -1
- package/resources/recordings/recordings.js +2 -2
- package/resources/recordings/recordings.js.map +1 -1
- package/resources/recordings/recordings.mjs +2 -2
- package/resources/recordings/recordings.mjs.map +1 -1
- package/resources/reports/cdr-usage-reports.d.mts +15 -0
- package/resources/reports/cdr-usage-reports.d.mts.map +1 -1
- package/resources/reports/cdr-usage-reports.d.ts +15 -0
- package/resources/reports/cdr-usage-reports.d.ts.map +1 -1
- package/resources/reports/mdr-usage-reports.d.mts +12 -0
- package/resources/reports/mdr-usage-reports.d.mts.map +1 -1
- package/resources/reports/mdr-usage-reports.d.ts +12 -0
- package/resources/reports/mdr-usage-reports.d.ts.map +1 -1
- package/resources/reports/reports.d.mts +16 -17
- package/resources/reports/reports.d.mts.map +1 -1
- package/resources/reports/reports.d.ts +16 -17
- package/resources/reports/reports.d.ts.map +1 -1
- package/resources/reports/reports.js.map +1 -1
- package/resources/reports/reports.mjs.map +1 -1
- package/resources/reputation/index.d.mts +1 -1
- package/resources/reputation/index.d.mts.map +1 -1
- package/resources/reputation/index.d.ts +1 -1
- package/resources/reputation/index.d.ts.map +1 -1
- package/resources/reputation/index.js.map +1 -1
- package/resources/reputation/index.mjs +1 -1
- package/resources/reputation/index.mjs.map +1 -1
- package/resources/reputation/numbers.d.mts +26 -25
- package/resources/reputation/numbers.d.mts.map +1 -1
- package/resources/reputation/numbers.d.ts +26 -25
- package/resources/reputation/numbers.d.ts.map +1 -1
- package/resources/reputation/numbers.js +8 -12
- package/resources/reputation/numbers.js.map +1 -1
- package/resources/reputation/numbers.mjs +8 -12
- package/resources/reputation/numbers.mjs.map +1 -1
- package/resources/reputation/reputation.d.mts +2 -2
- package/resources/reputation/reputation.d.mts.map +1 -1
- package/resources/reputation/reputation.d.ts +2 -2
- package/resources/reputation/reputation.d.ts.map +1 -1
- package/resources/reputation/reputation.js.map +1 -1
- package/resources/reputation/reputation.mjs.map +1 -1
- package/resources/requirements.d.mts +8 -50
- package/resources/requirements.d.mts.map +1 -1
- package/resources/requirements.d.ts +8 -50
- package/resources/requirements.d.ts.map +1 -1
- package/resources/requirements.js +1 -1
- package/resources/requirements.js.map +1 -1
- package/resources/requirements.mjs +1 -1
- package/resources/requirements.mjs.map +1 -1
- package/resources/room-recordings.d.mts +7 -72
- package/resources/room-recordings.d.mts.map +1 -1
- package/resources/room-recordings.d.ts +7 -72
- package/resources/room-recordings.d.ts.map +1 -1
- package/resources/room-recordings.js.map +1 -1
- package/resources/room-recordings.mjs.map +1 -1
- package/resources/shared.d.mts +33 -65
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +33 -65
- package/resources/shared.d.ts.map +1 -1
- package/resources/sip-registration-status.d.mts +37 -9
- package/resources/sip-registration-status.d.mts.map +1 -1
- package/resources/sip-registration-status.d.ts +37 -9
- package/resources/sip-registration-status.d.ts.map +1 -1
- package/resources/siprec-connectors.d.mts +10 -74
- package/resources/siprec-connectors.d.mts.map +1 -1
- package/resources/siprec-connectors.d.ts +10 -74
- package/resources/siprec-connectors.d.ts.map +1 -1
- package/resources/siprec-connectors.js +3 -3
- package/resources/siprec-connectors.js.map +1 -1
- package/resources/siprec-connectors.mjs +3 -3
- package/resources/siprec-connectors.mjs.map +1 -1
- package/resources/speech-to-text/index.d.mts +1 -1
- package/resources/speech-to-text/index.d.mts.map +1 -1
- package/resources/speech-to-text/index.d.ts +1 -1
- package/resources/speech-to-text/index.d.ts.map +1 -1
- package/resources/speech-to-text/index.js.map +1 -1
- package/resources/speech-to-text/index.mjs.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.mts +112 -18
- package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.ts +112 -18
- package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
- package/resources/speech-to-text/speech-to-text.js +34 -7
- package/resources/speech-to-text/speech-to-text.js.map +1 -1
- package/resources/speech-to-text/speech-to-text.mjs +34 -7
- package/resources/speech-to-text/speech-to-text.mjs.map +1 -1
- package/resources/terms-of-service/agreements.d.mts +71 -0
- package/resources/terms-of-service/agreements.d.mts.map +1 -0
- package/resources/terms-of-service/agreements.d.ts +71 -0
- package/resources/terms-of-service/agreements.d.ts.map +1 -0
- package/resources/terms-of-service/agreements.js +39 -0
- package/resources/terms-of-service/agreements.js.map +1 -0
- package/resources/terms-of-service/agreements.mjs +35 -0
- package/resources/terms-of-service/agreements.mjs.map +1 -0
- package/resources/terms-of-service/branded-calling.d.mts +20 -0
- package/resources/terms-of-service/branded-calling.d.mts.map +1 -0
- package/resources/terms-of-service/branded-calling.d.ts +20 -0
- package/resources/terms-of-service/branded-calling.d.ts.map +1 -0
- package/resources/terms-of-service/branded-calling.js +24 -0
- package/resources/terms-of-service/branded-calling.js.map +1 -0
- package/resources/terms-of-service/branded-calling.mjs +20 -0
- package/resources/terms-of-service/branded-calling.mjs.map +1 -0
- package/resources/terms-of-service/index.d.mts +3 -1
- package/resources/terms-of-service/index.d.mts.map +1 -1
- package/resources/terms-of-service/index.d.ts +3 -1
- package/resources/terms-of-service/index.d.ts.map +1 -1
- package/resources/terms-of-service/index.js +5 -1
- package/resources/terms-of-service/index.js.map +1 -1
- package/resources/terms-of-service/index.mjs +3 -1
- package/resources/terms-of-service/index.mjs.map +1 -1
- package/resources/terms-of-service/number-reputation.d.mts +6 -6
- package/resources/terms-of-service/number-reputation.d.mts.map +1 -1
- package/resources/terms-of-service/number-reputation.d.ts +6 -6
- package/resources/terms-of-service/number-reputation.d.ts.map +1 -1
- package/resources/terms-of-service/number-reputation.js +5 -10
- package/resources/terms-of-service/number-reputation.js.map +1 -1
- package/resources/terms-of-service/number-reputation.mjs +5 -10
- package/resources/terms-of-service/number-reputation.mjs.map +1 -1
- package/resources/terms-of-service/terms-of-service.d.mts +94 -0
- package/resources/terms-of-service/terms-of-service.d.mts.map +1 -1
- package/resources/terms-of-service/terms-of-service.d.ts +94 -0
- package/resources/terms-of-service/terms-of-service.d.ts.map +1 -1
- package/resources/terms-of-service/terms-of-service.js +30 -0
- package/resources/terms-of-service/terms-of-service.js.map +1 -1
- package/resources/terms-of-service/terms-of-service.mjs +30 -0
- package/resources/terms-of-service/terms-of-service.mjs.map +1 -1
- package/resources/texml/accounts/accounts.d.mts +14 -84
- package/resources/texml/accounts/accounts.d.mts.map +1 -1
- package/resources/texml/accounts/accounts.d.ts +14 -84
- package/resources/texml/accounts/accounts.d.ts.map +1 -1
- package/resources/texml/accounts/accounts.js +1 -1
- package/resources/texml/accounts/accounts.js.map +1 -1
- package/resources/texml/accounts/accounts.mjs +1 -1
- package/resources/texml/accounts/accounts.mjs.map +1 -1
- package/resources/texml/accounts/calls/calls.d.mts +511 -233
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +511 -233
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js +15 -18
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs +15 -18
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/texml/accounts/calls/index.d.mts +3 -3
- package/resources/texml/accounts/calls/index.d.mts.map +1 -1
- package/resources/texml/accounts/calls/index.d.ts +3 -3
- package/resources/texml/accounts/calls/index.d.ts.map +1 -1
- package/resources/texml/accounts/calls/index.js.map +1 -1
- package/resources/texml/accounts/calls/index.mjs +1 -1
- package/resources/texml/accounts/calls/index.mjs.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.d.mts +14 -9
- package/resources/texml/accounts/calls/recordings-json.d.mts.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.d.ts +14 -9
- package/resources/texml/accounts/calls/recordings-json.d.ts.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.js +2 -2
- package/resources/texml/accounts/calls/recordings-json.mjs +2 -2
- package/resources/texml/accounts/calls/recordings.d.mts +4 -41
- package/resources/texml/accounts/calls/recordings.d.mts.map +1 -1
- package/resources/texml/accounts/calls/recordings.d.ts +4 -41
- package/resources/texml/accounts/calls/recordings.d.ts.map +1 -1
- package/resources/texml/accounts/calls/recordings.js +1 -1
- package/resources/texml/accounts/calls/recordings.js.map +1 -1
- package/resources/texml/accounts/calls/recordings.mjs +1 -1
- package/resources/texml/accounts/calls/recordings.mjs.map +1 -1
- package/resources/texml/accounts/conferences/conferences.d.mts +12 -155
- package/resources/texml/accounts/conferences/conferences.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/conferences.d.ts +12 -155
- package/resources/texml/accounts/conferences/conferences.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/conferences.js +3 -3
- package/resources/texml/accounts/conferences/conferences.js.map +1 -1
- package/resources/texml/accounts/conferences/conferences.mjs +3 -3
- package/resources/texml/accounts/conferences/conferences.mjs.map +1 -1
- package/resources/texml/accounts/conferences/index.d.mts +2 -2
- package/resources/texml/accounts/conferences/index.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/index.d.ts +2 -2
- package/resources/texml/accounts/conferences/index.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/index.js.map +1 -1
- package/resources/texml/accounts/conferences/index.mjs.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.mts +7 -133
- package/resources/texml/accounts/conferences/participants.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.ts +7 -133
- package/resources/texml/accounts/conferences/participants.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/participants.js +2 -2
- package/resources/texml/accounts/conferences/participants.mjs +2 -2
- package/resources/texml/accounts/index.d.mts +4 -4
- package/resources/texml/accounts/index.d.mts.map +1 -1
- package/resources/texml/accounts/index.d.ts +4 -4
- package/resources/texml/accounts/index.d.ts.map +1 -1
- package/resources/texml/accounts/index.js.map +1 -1
- package/resources/texml/accounts/index.mjs.map +1 -1
- package/resources/texml/accounts/queues.d.mts +18 -139
- package/resources/texml/accounts/queues.d.mts.map +1 -1
- package/resources/texml/accounts/queues.d.ts +18 -139
- package/resources/texml/accounts/queues.d.ts.map +1 -1
- package/resources/texml/accounts/queues.js +11 -12
- package/resources/texml/accounts/queues.js.map +1 -1
- package/resources/texml/accounts/queues.mjs +11 -12
- package/resources/texml/accounts/queues.mjs.map +1 -1
- package/resources/texml/accounts/transcriptions/index.d.mts +1 -1
- package/resources/texml/accounts/transcriptions/index.d.mts.map +1 -1
- package/resources/texml/accounts/transcriptions/index.d.ts +1 -1
- package/resources/texml/accounts/transcriptions/index.d.ts.map +1 -1
- package/resources/texml/accounts/transcriptions/json.d.mts +4 -4
- package/resources/texml/accounts/transcriptions/json.d.mts.map +1 -1
- package/resources/texml/accounts/transcriptions/json.d.ts +4 -4
- package/resources/texml/accounts/transcriptions/json.d.ts.map +1 -1
- package/resources/texml/accounts/transcriptions/json.js +1 -1
- package/resources/texml/accounts/transcriptions/json.mjs +1 -1
- package/resources/texml/accounts/transcriptions/transcriptions.d.mts +2 -2
- package/resources/texml/accounts/transcriptions/transcriptions.d.mts.map +1 -1
- package/resources/texml/accounts/transcriptions/transcriptions.d.ts +2 -2
- package/resources/texml/accounts/transcriptions/transcriptions.d.ts.map +1 -1
- package/resources/texml/index.d.mts +1 -1
- package/resources/texml/index.d.mts.map +1 -1
- package/resources/texml/index.d.ts +1 -1
- package/resources/texml/index.d.ts.map +1 -1
- package/resources/texml/index.js.map +1 -1
- package/resources/texml/index.mjs.map +1 -1
- package/resources/texml/texml.d.mts +2 -2
- package/resources/texml/texml.d.mts.map +1 -1
- package/resources/texml/texml.d.ts +2 -2
- package/resources/texml/texml.d.ts.map +1 -1
- package/resources/texml/texml.js.map +1 -1
- package/resources/texml/texml.mjs.map +1 -1
- package/resources/text-to-speech/index.d.mts +2 -2
- package/resources/text-to-speech/index.d.mts.map +1 -1
- package/resources/text-to-speech/index.d.ts +2 -2
- package/resources/text-to-speech/index.d.ts.map +1 -1
- package/resources/text-to-speech/index.js +1 -3
- package/resources/text-to-speech/index.js.map +1 -1
- package/resources/text-to-speech/index.mjs +0 -1
- package/resources/text-to-speech/index.mjs.map +1 -1
- package/resources/text-to-speech/internal-base.d.mts +70 -1
- package/resources/text-to-speech/internal-base.d.mts.map +1 -1
- package/resources/text-to-speech/internal-base.d.ts +70 -1
- package/resources/text-to-speech/internal-base.d.ts.map +1 -1
- package/resources/text-to-speech/internal-base.js +44 -5
- package/resources/text-to-speech/internal-base.js.map +1 -1
- package/resources/text-to-speech/internal-base.mjs +40 -1
- package/resources/text-to-speech/internal-base.mjs.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.mts +34 -80
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +34 -80
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-speech/text-to-speech.js +12 -25
- package/resources/text-to-speech/text-to-speech.js.map +1 -1
- package/resources/text-to-speech/text-to-speech.mjs +12 -25
- package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
- package/resources/text-to-speech/ws-base.d.mts +105 -1
- package/resources/text-to-speech/ws-base.d.mts.map +1 -1
- package/resources/text-to-speech/ws-base.d.ts +105 -1
- package/resources/text-to-speech/ws-base.d.ts.map +1 -1
- package/resources/text-to-speech/ws-base.js +471 -2
- package/resources/text-to-speech/ws-base.js.map +1 -1
- package/resources/text-to-speech/ws-base.mjs +470 -1
- package/resources/text-to-speech/ws-base.mjs.map +1 -1
- package/resources/text-to-speech/ws.d.mts +12 -2
- package/resources/text-to-speech/ws.d.mts.map +1 -1
- package/resources/text-to-speech/ws.d.ts +12 -2
- package/resources/text-to-speech/ws.d.ts.map +1 -1
- package/resources/text-to-speech/ws.js +26 -2
- package/resources/text-to-speech/ws.js.map +1 -1
- package/resources/text-to-speech/ws.mjs +24 -1
- package/resources/text-to-speech/ws.mjs.map +1 -1
- package/resources/uac-connections/index.d.mts +1 -1
- package/resources/uac-connections/index.d.mts.map +1 -1
- package/resources/uac-connections/index.d.ts +1 -1
- package/resources/uac-connections/index.d.ts.map +1 -1
- package/resources/uac-connections/index.js.map +1 -1
- package/resources/uac-connections/index.mjs.map +1 -1
- package/resources/uac-connections/uac-connections.d.mts +72 -142
- package/resources/uac-connections/uac-connections.d.mts.map +1 -1
- package/resources/uac-connections/uac-connections.d.ts +72 -142
- package/resources/uac-connections/uac-connections.d.ts.map +1 -1
- package/resources/uac-connections/uac-connections.js.map +1 -1
- package/resources/uac-connections/uac-connections.mjs.map +1 -1
- package/resources/verifications/index.d.mts +1 -1
- package/resources/verifications/index.d.mts.map +1 -1
- package/resources/verifications/index.d.ts +1 -1
- package/resources/verifications/index.d.ts.map +1 -1
- package/resources/verifications/index.js.map +1 -1
- package/resources/verifications/index.mjs.map +1 -1
- package/resources/verifications/verifications.d.mts +22 -1
- package/resources/verifications/verifications.d.mts.map +1 -1
- package/resources/verifications/verifications.d.ts +22 -1
- package/resources/verifications/verifications.d.ts.map +1 -1
- package/resources/verifications/verifications.js.map +1 -1
- package/resources/verifications/verifications.mjs.map +1 -1
- package/resources/virtual-cross-connects.d.mts +143 -1
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts +143 -1
- package/resources/virtual-cross-connects.d.ts.map +1 -1
- package/resources/virtual-cross-connects.js.map +1 -1
- package/resources/virtual-cross-connects.mjs.map +1 -1
- package/resources/voice-clones.d.mts +34 -30
- package/resources/voice-clones.d.mts.map +1 -1
- package/resources/voice-clones.d.ts +34 -30
- package/resources/voice-clones.d.ts.map +1 -1
- package/resources/voice-clones.js +19 -18
- package/resources/voice-clones.js.map +1 -1
- package/resources/voice-clones.mjs +19 -18
- package/resources/voice-clones.mjs.map +1 -1
- package/resources/voice-designs.d.mts +16 -60
- package/resources/voice-designs.d.mts.map +1 -1
- package/resources/voice-designs.d.ts +16 -60
- package/resources/voice-designs.d.ts.map +1 -1
- package/resources/voice-designs.js +8 -8
- package/resources/voice-designs.js.map +1 -1
- package/resources/voice-designs.mjs +8 -8
- package/resources/voice-designs.mjs.map +1 -1
- package/resources/voice-sdk-call-reports.d.mts +35 -186
- package/resources/voice-sdk-call-reports.d.mts.map +1 -1
- package/resources/voice-sdk-call-reports.d.ts +35 -186
- package/resources/voice-sdk-call-reports.d.ts.map +1 -1
- package/resources/voice-sdk-call-reports.js +4 -1
- package/resources/voice-sdk-call-reports.js.map +1 -1
- package/resources/voice-sdk-call-reports.mjs +4 -1
- package/resources/voice-sdk-call-reports.mjs.map +1 -1
- package/resources/webhook-deliveries.d.mts +12 -79
- package/resources/webhook-deliveries.d.mts.map +1 -1
- package/resources/webhook-deliveries.d.ts +12 -79
- package/resources/webhook-deliveries.d.ts.map +1 -1
- package/resources/webhook-deliveries.js +4 -1
- package/resources/webhook-deliveries.js.map +1 -1
- package/resources/webhook-deliveries.mjs +4 -1
- package/resources/webhook-deliveries.mjs.map +1 -1
- package/resources/webhooks.d.mts +5 -3
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +5 -3
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +11 -4
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +11 -4
- package/resources/webhooks.mjs.map +1 -1
- package/resources/whatsapp/index.d.mts +1 -1
- package/resources/whatsapp/index.d.mts.map +1 -1
- package/resources/whatsapp/index.d.ts +1 -1
- package/resources/whatsapp/index.d.ts.map +1 -1
- package/resources/whatsapp/index.js.map +1 -1
- package/resources/whatsapp/index.mjs.map +1 -1
- package/resources/whatsapp/templates.d.mts +149 -151
- package/resources/whatsapp/templates.d.mts.map +1 -1
- package/resources/whatsapp/templates.d.ts +149 -151
- package/resources/whatsapp/templates.d.ts.map +1 -1
- package/resources/whatsapp/whatsapp.d.mts +2 -2
- package/resources/whatsapp/whatsapp.d.mts.map +1 -1
- package/resources/whatsapp/whatsapp.d.ts +2 -2
- package/resources/whatsapp/whatsapp.d.ts.map +1 -1
- package/resources/whatsapp/whatsapp.js.map +1 -1
- package/resources/whatsapp/whatsapp.mjs +1 -1
- package/resources/whatsapp/whatsapp.mjs.map +1 -1
- package/resources/whatsapp-message-templates.d.mts +2 -162
- package/resources/whatsapp-message-templates.d.mts.map +1 -1
- package/resources/whatsapp-message-templates.d.ts +2 -162
- package/resources/whatsapp-message-templates.d.ts.map +1 -1
- package/resources/whatsapp-message-templates.js.map +1 -1
- package/resources/whatsapp-message-templates.mjs.map +1 -1
- package/resources/wireguard-interfaces.d.mts +24 -50
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +24 -50
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/resources/wireguard-interfaces.js +3 -34
- package/resources/wireguard-interfaces.js.map +1 -1
- package/resources/wireguard-interfaces.mjs +3 -34
- package/resources/wireguard-interfaces.mjs.map +1 -1
- package/resources/wireguard-peers.d.mts +30 -109
- package/resources/wireguard-peers.d.mts.map +1 -1
- package/resources/wireguard-peers.d.ts +30 -109
- package/resources/wireguard-peers.d.ts.map +1 -1
- package/resources/wireguard-peers.js +5 -5
- package/resources/wireguard-peers.js.map +1 -1
- package/resources/wireguard-peers.mjs +5 -5
- package/resources/wireguard-peers.mjs.map +1 -1
- package/src/client.ts +219 -131
- package/src/index.ts +0 -1
- package/src/resources/advanced-orders.ts +9 -94
- package/src/resources/ai/ai.ts +342 -57
- package/src/resources/ai/assistants/assistants.ts +797 -17
- package/src/resources/ai/assistants/index.ts +13 -8
- package/src/resources/ai/assistants/instructions.ts +74 -0
- package/src/resources/ai/assistants/scheduled-events.ts +44 -0
- package/src/resources/ai/assistants/tags.ts +14 -20
- package/src/resources/ai/assistants/tests/runs.ts +3 -0
- package/src/resources/ai/assistants/tools.ts +7 -1
- package/src/resources/ai/assistants/versions.ts +27 -3
- package/src/resources/ai/chat.ts +206 -0
- package/src/resources/ai/clusters.ts +3 -0
- package/src/resources/ai/index.ts +25 -27
- package/src/resources/ai/integrations/index.ts +1 -1
- package/src/resources/ai/integrations/integrations.ts +4 -25
- package/src/resources/ai/mcp-servers.ts +19 -70
- package/src/resources/ai/missions/index.ts +6 -9
- package/src/resources/ai/missions/knowledge-bases.ts +9 -0
- package/src/resources/ai/missions/mcp-servers.ts +9 -0
- package/src/resources/ai/missions/missions.ts +34 -35
- package/src/resources/ai/missions/runs/events.ts +38 -42
- package/src/resources/ai/missions/runs/index.ts +9 -12
- package/src/resources/ai/missions/runs/plan.ts +64 -72
- package/src/resources/ai/missions/runs/runs.ts +77 -67
- package/src/resources/ai/missions/runs/telnyx-agents.ts +10 -1
- package/src/resources/ai/missions/tools.ts +9 -0
- package/src/resources/ai/openai/index.ts +1 -6
- package/src/resources/ai/openai/openai.ts +6 -13
- package/src/resources/ai/tools.ts +23 -58
- package/src/resources/bulk-sim-card-actions.ts +17 -57
- package/src/resources/call-reasons.ts +149 -0
- package/src/resources/calls/actions.ts +234 -512
- package/src/resources/calls/calls.ts +171 -154
- package/src/resources/calls/index.ts +9 -0
- package/src/resources/channel-zones.ts +7 -34
- package/src/resources/conferences/actions.ts +25 -16
- package/src/resources/conferences/conferences.ts +15 -17
- package/src/resources/conferences/index.ts +2 -2
- package/src/resources/connections.ts +10 -77
- package/src/resources/credential-connections/credential-connections.ts +12 -3
- package/src/resources/credential-connections/index.ts +1 -0
- package/src/resources/custom-storage-credentials.ts +22 -57
- package/src/resources/dialogflow-connections.ts +10 -74
- package/src/resources/dir/comments.ts +148 -0
- package/src/resources/dir/dir.ts +692 -0
- package/src/resources/dir/index.ts +46 -0
- package/src/resources/dir/phone-number-batches.ts +170 -0
- package/src/resources/dir/phone-numbers.ts +266 -0
- package/src/resources/dir.ts +3 -0
- package/src/resources/document-links.ts +2 -16
- package/src/resources/documents.ts +25 -17
- package/src/resources/enterprises/dir.ts +220 -0
- package/src/resources/enterprises/enterprises.ts +351 -255
- package/src/resources/enterprises/index.ts +5 -6
- package/src/resources/enterprises/reputation/index.ts +20 -5
- package/src/resources/enterprises/reputation/loa.ts +147 -0
- package/src/resources/enterprises/reputation/numbers.ts +157 -93
- package/src/resources/enterprises/reputation/remediation.ts +273 -0
- package/src/resources/enterprises/reputation/reputation.ts +130 -97
- package/src/resources/external-connections/external-connections.ts +8 -8
- package/src/resources/external-connections/index.ts +4 -4
- package/src/resources/external-connections/log-messages.ts +14 -55
- package/src/resources/external-connections/releases.ts +23 -52
- package/src/resources/faxes/faxes.ts +10 -2
- package/src/resources/faxes/index.ts +1 -0
- package/src/resources/fqdn-connections.ts +3 -3
- package/src/resources/global-ip-health-checks.ts +18 -77
- package/src/resources/global-ips.ts +15 -90
- package/src/resources/index.ts +100 -62
- package/src/resources/infringement-claims.ts +207 -0
- package/src/resources/ip-connections.ts +3 -3
- package/src/resources/legacy/reporting/usage-reports/usage-reports.ts +6 -0
- package/src/resources/messages/index.ts +0 -1
- package/src/resources/messages/messages.ts +2 -29
- package/src/resources/messaging-10dlc/brand/brand.ts +69 -108
- package/src/resources/messaging-10dlc/brand/external-vetting.ts +9 -94
- package/src/resources/messaging-10dlc/brand/index.ts +3 -5
- package/src/resources/messaging-10dlc/campaign/campaign.ts +3 -0
- package/src/resources/messaging-10dlc/campaign/usecase.ts +3 -0
- package/src/resources/messaging-10dlc/campaign-builder/brand.ts +3 -0
- package/src/resources/messaging-10dlc/index.ts +1 -2
- package/src/resources/messaging-10dlc/messaging-10dlc.ts +2 -4
- package/src/resources/messaging-10dlc/phone-number-assignment-by-profile.ts +12 -0
- package/src/resources/messaging-hosted-numbers.ts +26 -0
- package/src/resources/messaging-profile-metrics.ts +7 -1
- package/src/resources/messaging-profiles/autoresp-configs.ts +10 -1
- package/src/resources/messaging-profiles/messaging-profiles.ts +7 -1
- package/src/resources/messaging-tollfree/verification/requests.ts +14 -3
- package/src/resources/mobile-phone-numbers/index.ts +2 -2
- package/src/resources/mobile-phone-numbers/messaging.ts +16 -89
- package/src/resources/mobile-phone-numbers/mobile-phone-numbers.ts +4 -4
- package/src/resources/networks/default-gateway.ts +22 -61
- package/src/resources/networks/index.ts +4 -3
- package/src/resources/networks/networks.ts +31 -75
- package/src/resources/porting/events.ts +15 -21
- package/src/resources/porting/index.ts +2 -2
- package/src/resources/porting/porting.ts +4 -4
- package/src/resources/porting-orders/action-requirements.ts +8 -63
- package/src/resources/porting-orders/additional-documents.ts +12 -61
- package/src/resources/porting-orders/comments.ts +11 -39
- package/src/resources/porting-orders/index.ts +10 -10
- package/src/resources/porting-orders/phone-number-blocks.ts +2 -14
- package/src/resources/porting-orders/phone-number-configurations.ts +12 -49
- package/src/resources/porting-orders/porting-orders.ts +23 -111
- package/src/resources/porting-orders/verification-codes.ts +8 -48
- package/src/resources/porting-phone-numbers.ts +29 -25
- package/src/resources/portouts/events.ts +12 -12
- package/src/resources/portouts/index.ts +2 -2
- package/src/resources/portouts/portouts.ts +4 -4
- package/src/resources/pronunciation-dicts.ts +19 -33
- package/src/resources/public-internet-gateways.ts +22 -45
- package/src/resources/queues/calls.ts +14 -78
- package/src/resources/queues/index.ts +2 -2
- package/src/resources/queues/queues.ts +4 -4
- package/src/resources/recordings/index.ts +1 -2
- package/src/resources/recordings/recordings.ts +9 -14
- package/src/resources/reports/cdr-usage-reports.ts +15 -0
- package/src/resources/reports/mdr-usage-reports.ts +12 -0
- package/src/resources/reports/reports.ts +16 -17
- package/src/resources/reputation/index.ts +1 -6
- package/src/resources/reputation/numbers.ts +29 -34
- package/src/resources/reputation/reputation.ts +1 -2
- package/src/resources/requirements.ts +11 -62
- package/src/resources/room-recordings.ts +10 -92
- package/src/resources/shared.ts +39 -77
- package/src/resources/sip-registration-status.ts +43 -9
- package/src/resources/siprec-connectors.ts +10 -95
- package/src/resources/speech-to-text/index.ts +2 -0
- package/src/resources/speech-to-text/speech-to-text.ts +156 -18
- package/src/resources/terms-of-service/agreements.ts +102 -0
- package/src/resources/terms-of-service/branded-calling.ts +24 -0
- package/src/resources/terms-of-service/index.ts +16 -1
- package/src/resources/terms-of-service/number-reputation.ts +7 -11
- package/src/resources/terms-of-service/terms-of-service.ts +145 -0
- package/src/resources/texml/accounts/accounts.ts +15 -125
- package/src/resources/texml/accounts/calls/calls.ts +624 -284
- package/src/resources/texml/accounts/calls/index.ts +6 -9
- package/src/resources/texml/accounts/calls/recordings-json.ts +26 -17
- package/src/resources/texml/accounts/calls/recordings.ts +4 -66
- package/src/resources/texml/accounts/conferences/conferences.ts +12 -196
- package/src/resources/texml/accounts/conferences/index.ts +2 -5
- package/src/resources/texml/accounts/conferences/participants.ts +7 -164
- package/src/resources/texml/accounts/index.ts +4 -11
- package/src/resources/texml/accounts/queues.ts +20 -173
- package/src/resources/texml/accounts/transcriptions/index.ts +1 -1
- package/src/resources/texml/accounts/transcriptions/json.ts +4 -4
- package/src/resources/texml/accounts/transcriptions/transcriptions.ts +2 -2
- package/src/resources/texml/index.ts +0 -1
- package/src/resources/texml/texml.ts +0 -2
- package/src/resources/text-to-speech/index.ts +3 -4
- package/src/resources/text-to-speech/internal-base.ts +111 -6
- package/src/resources/text-to-speech/text-to-speech.ts +46 -117
- package/src/resources/text-to-speech/ws-base.ts +613 -5
- package/src/resources/text-to-speech/ws.ts +40 -2
- package/src/resources/uac-connections/index.ts +1 -0
- package/src/resources/uac-connections/uac-connections.ts +85 -167
- package/src/resources/verifications/index.ts +1 -0
- package/src/resources/verifications/verifications.ts +26 -0
- package/src/resources/virtual-cross-connects.ts +173 -0
- package/src/resources/voice-clones.ts +42 -41
- package/src/resources/voice-designs.ts +19 -72
- package/src/resources/voice-sdk-call-reports.ts +44 -210
- package/src/resources/webhook-deliveries.ts +18 -98
- package/src/resources/webhooks.ts +14 -5
- package/src/resources/whatsapp/index.ts +5 -0
- package/src/resources/whatsapp/templates.ts +171 -168
- package/src/resources/whatsapp/whatsapp.ts +16 -1
- package/src/resources/whatsapp-message-templates.ts +6 -195
- package/src/resources/wireguard-interfaces.ts +32 -52
- package/src/resources/wireguard-peers.ts +38 -126
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.mjs";
|
|
2
|
-
import * as BulkSimCardActionsAPI from "./bulk-sim-card-actions.mjs";
|
|
3
2
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
4
3
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../core/pagination.mjs";
|
|
5
4
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
@@ -16,51 +15,10 @@ export declare class BulkSimCardActions extends APIResource {
|
|
|
16
15
|
* This API lists a paginated collection of bulk SIM card actions. A bulk SIM card
|
|
17
16
|
* action contains details about a collection of individual SIM card actions.
|
|
18
17
|
*/
|
|
19
|
-
list(query?: BulkSimCardActionListParams | null | undefined, options?: RequestOptions): PagePromise<
|
|
18
|
+
list(query?: BulkSimCardActionListParams | null | undefined, options?: RequestOptions): PagePromise<BulkSimCardActionDetailedsDefaultFlatPagination, BulkSimCardActionDetailed>;
|
|
20
19
|
}
|
|
21
|
-
export type
|
|
22
|
-
export interface
|
|
23
|
-
count?: number;
|
|
24
|
-
status?: 'in-progress' | 'completed' | 'failed' | 'interrupted';
|
|
25
|
-
}
|
|
26
|
-
export interface BulkSimCardActionRetrieveResponse {
|
|
27
|
-
data?: BulkSimCardActionRetrieveResponse.Data;
|
|
28
|
-
}
|
|
29
|
-
export declare namespace BulkSimCardActionRetrieveResponse {
|
|
30
|
-
interface Data {
|
|
31
|
-
/**
|
|
32
|
-
* Identifies the resource.
|
|
33
|
-
*/
|
|
34
|
-
id?: string;
|
|
35
|
-
/**
|
|
36
|
-
* The action type. It can be one of the following: <br/>
|
|
37
|
-
*
|
|
38
|
-
* <ul>
|
|
39
|
-
* <li><code>bulk_disable_voice</code> - disable voice for every SIM Card in a SIM Card Group.</li>
|
|
40
|
-
* <li><code>bulk_enable_voice</code> - enable voice for every SIM Card in a SIM Card Group.</li>
|
|
41
|
-
* <li><code>bulk_set_public_ips</code> - set a public IP for each specified SIM Card.</li>
|
|
42
|
-
* </ul>
|
|
43
|
-
*/
|
|
44
|
-
action_type?: 'bulk_disable_voice' | 'bulk_enable_voice' | 'bulk_set_public_ips';
|
|
45
|
-
/**
|
|
46
|
-
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
47
|
-
*/
|
|
48
|
-
created_at?: string;
|
|
49
|
-
record_type?: string;
|
|
50
|
-
/**
|
|
51
|
-
* A JSON object representation of the bulk action payload.
|
|
52
|
-
*/
|
|
53
|
-
settings?: {
|
|
54
|
-
[key: string]: unknown;
|
|
55
|
-
};
|
|
56
|
-
sim_card_actions_summary?: Array<BulkSimCardActionsAPI.SimCardActionsSummary>;
|
|
57
|
-
/**
|
|
58
|
-
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
59
|
-
*/
|
|
60
|
-
updated_at?: string;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
export interface BulkSimCardActionListResponse {
|
|
20
|
+
export type BulkSimCardActionDetailedsDefaultFlatPagination = DefaultFlatPagination<BulkSimCardActionDetailed>;
|
|
21
|
+
export interface BulkSimCardActionDetailed {
|
|
64
22
|
/**
|
|
65
23
|
* Identifies the resource.
|
|
66
24
|
*/
|
|
@@ -92,6 +50,13 @@ export interface BulkSimCardActionListResponse {
|
|
|
92
50
|
*/
|
|
93
51
|
updated_at?: string;
|
|
94
52
|
}
|
|
53
|
+
export interface SimCardActionsSummary {
|
|
54
|
+
count?: number;
|
|
55
|
+
status?: 'in-progress' | 'completed' | 'failed' | 'interrupted';
|
|
56
|
+
}
|
|
57
|
+
export interface BulkSimCardActionRetrieveResponse {
|
|
58
|
+
data?: BulkSimCardActionDetailed;
|
|
59
|
+
}
|
|
95
60
|
export interface BulkSimCardActionListParams extends DefaultFlatPaginationParams {
|
|
96
61
|
/**
|
|
97
62
|
* Filter by action type.
|
|
@@ -99,6 +64,6 @@ export interface BulkSimCardActionListParams extends DefaultFlatPaginationParams
|
|
|
99
64
|
'filter[action_type]'?: 'bulk_disable_voice' | 'bulk_enable_voice' | 'bulk_set_public_ips';
|
|
100
65
|
}
|
|
101
66
|
export declare namespace BulkSimCardActions {
|
|
102
|
-
export { type
|
|
67
|
+
export { type BulkSimCardActionDetailed as BulkSimCardActionDetailed, type SimCardActionsSummary as SimCardActionsSummary, type BulkSimCardActionRetrieveResponse as BulkSimCardActionRetrieveResponse, type BulkSimCardActionDetailedsDefaultFlatPagination as BulkSimCardActionDetailedsDefaultFlatPagination, type BulkSimCardActionListParams as BulkSimCardActionListParams, };
|
|
103
68
|
}
|
|
104
69
|
//# sourceMappingURL=bulk-sim-card-actions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-sim-card-actions.d.mts","sourceRoot":"","sources":["../src/resources/bulk-sim-card-actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"bulk-sim-card-actions.d.mts","sourceRoot":"","sources":["../src/resources/bulk-sim-card-actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,+BAA2B;AAC1G,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;OAGG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iCAAiC,CAAC;IAI7F;;;OAGG;IACH,IAAI,CACF,KAAK,GAAE,2BAA2B,GAAG,IAAI,GAAG,SAAc,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,+CAA+C,EAAE,yBAAyB,CAAC;CAO3F;AAED,MAAM,MAAM,+CAA+C,GACzD,qBAAqB,CAAC,yBAAyB,CAAC,CAAC;AAEnD,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,oBAAoB,GAAG,mBAAmB,GAAG,qBAAqB,CAAC;IAEjF;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAEtC,wBAAwB,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAExD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,MAAM,CAAC,EAAE,aAAa,GAAG,WAAW,GAAG,QAAQ,GAAG,aAAa,CAAC;CACjE;AAED,MAAM,WAAW,iCAAiC;IAChD,IAAI,CAAC,EAAE,yBAAyB,CAAC;CAClC;AAED,MAAM,WAAW,2BAA4B,SAAQ,2BAA2B;IAC9E;;OAEG;IACH,qBAAqB,CAAC,EAAE,oBAAoB,GAAG,mBAAmB,GAAG,qBAAqB,CAAC;CAC5F;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+CAA+C,IAAI,+CAA+C,EACvG,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
|
-
import * as BulkSimCardActionsAPI from "./bulk-sim-card-actions.js";
|
|
3
2
|
import { APIPromise } from "../core/api-promise.js";
|
|
4
3
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../core/pagination.js";
|
|
5
4
|
import { RequestOptions } from "../internal/request-options.js";
|
|
@@ -16,51 +15,10 @@ export declare class BulkSimCardActions extends APIResource {
|
|
|
16
15
|
* This API lists a paginated collection of bulk SIM card actions. A bulk SIM card
|
|
17
16
|
* action contains details about a collection of individual SIM card actions.
|
|
18
17
|
*/
|
|
19
|
-
list(query?: BulkSimCardActionListParams | null | undefined, options?: RequestOptions): PagePromise<
|
|
18
|
+
list(query?: BulkSimCardActionListParams | null | undefined, options?: RequestOptions): PagePromise<BulkSimCardActionDetailedsDefaultFlatPagination, BulkSimCardActionDetailed>;
|
|
20
19
|
}
|
|
21
|
-
export type
|
|
22
|
-
export interface
|
|
23
|
-
count?: number;
|
|
24
|
-
status?: 'in-progress' | 'completed' | 'failed' | 'interrupted';
|
|
25
|
-
}
|
|
26
|
-
export interface BulkSimCardActionRetrieveResponse {
|
|
27
|
-
data?: BulkSimCardActionRetrieveResponse.Data;
|
|
28
|
-
}
|
|
29
|
-
export declare namespace BulkSimCardActionRetrieveResponse {
|
|
30
|
-
interface Data {
|
|
31
|
-
/**
|
|
32
|
-
* Identifies the resource.
|
|
33
|
-
*/
|
|
34
|
-
id?: string;
|
|
35
|
-
/**
|
|
36
|
-
* The action type. It can be one of the following: <br/>
|
|
37
|
-
*
|
|
38
|
-
* <ul>
|
|
39
|
-
* <li><code>bulk_disable_voice</code> - disable voice for every SIM Card in a SIM Card Group.</li>
|
|
40
|
-
* <li><code>bulk_enable_voice</code> - enable voice for every SIM Card in a SIM Card Group.</li>
|
|
41
|
-
* <li><code>bulk_set_public_ips</code> - set a public IP for each specified SIM Card.</li>
|
|
42
|
-
* </ul>
|
|
43
|
-
*/
|
|
44
|
-
action_type?: 'bulk_disable_voice' | 'bulk_enable_voice' | 'bulk_set_public_ips';
|
|
45
|
-
/**
|
|
46
|
-
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
47
|
-
*/
|
|
48
|
-
created_at?: string;
|
|
49
|
-
record_type?: string;
|
|
50
|
-
/**
|
|
51
|
-
* A JSON object representation of the bulk action payload.
|
|
52
|
-
*/
|
|
53
|
-
settings?: {
|
|
54
|
-
[key: string]: unknown;
|
|
55
|
-
};
|
|
56
|
-
sim_card_actions_summary?: Array<BulkSimCardActionsAPI.SimCardActionsSummary>;
|
|
57
|
-
/**
|
|
58
|
-
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
59
|
-
*/
|
|
60
|
-
updated_at?: string;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
export interface BulkSimCardActionListResponse {
|
|
20
|
+
export type BulkSimCardActionDetailedsDefaultFlatPagination = DefaultFlatPagination<BulkSimCardActionDetailed>;
|
|
21
|
+
export interface BulkSimCardActionDetailed {
|
|
64
22
|
/**
|
|
65
23
|
* Identifies the resource.
|
|
66
24
|
*/
|
|
@@ -92,6 +50,13 @@ export interface BulkSimCardActionListResponse {
|
|
|
92
50
|
*/
|
|
93
51
|
updated_at?: string;
|
|
94
52
|
}
|
|
53
|
+
export interface SimCardActionsSummary {
|
|
54
|
+
count?: number;
|
|
55
|
+
status?: 'in-progress' | 'completed' | 'failed' | 'interrupted';
|
|
56
|
+
}
|
|
57
|
+
export interface BulkSimCardActionRetrieveResponse {
|
|
58
|
+
data?: BulkSimCardActionDetailed;
|
|
59
|
+
}
|
|
95
60
|
export interface BulkSimCardActionListParams extends DefaultFlatPaginationParams {
|
|
96
61
|
/**
|
|
97
62
|
* Filter by action type.
|
|
@@ -99,6 +64,6 @@ export interface BulkSimCardActionListParams extends DefaultFlatPaginationParams
|
|
|
99
64
|
'filter[action_type]'?: 'bulk_disable_voice' | 'bulk_enable_voice' | 'bulk_set_public_ips';
|
|
100
65
|
}
|
|
101
66
|
export declare namespace BulkSimCardActions {
|
|
102
|
-
export { type
|
|
67
|
+
export { type BulkSimCardActionDetailed as BulkSimCardActionDetailed, type SimCardActionsSummary as SimCardActionsSummary, type BulkSimCardActionRetrieveResponse as BulkSimCardActionRetrieveResponse, type BulkSimCardActionDetailedsDefaultFlatPagination as BulkSimCardActionDetailedsDefaultFlatPagination, type BulkSimCardActionListParams as BulkSimCardActionListParams, };
|
|
103
68
|
}
|
|
104
69
|
//# sourceMappingURL=bulk-sim-card-actions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-sim-card-actions.d.ts","sourceRoot":"","sources":["../src/resources/bulk-sim-card-actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"bulk-sim-card-actions.d.ts","sourceRoot":"","sources":["../src/resources/bulk-sim-card-actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,8BAA2B;AAC1G,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;OAGG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iCAAiC,CAAC;IAI7F;;;OAGG;IACH,IAAI,CACF,KAAK,GAAE,2BAA2B,GAAG,IAAI,GAAG,SAAc,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,+CAA+C,EAAE,yBAAyB,CAAC;CAO3F;AAED,MAAM,MAAM,+CAA+C,GACzD,qBAAqB,CAAC,yBAAyB,CAAC,CAAC;AAEnD,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,oBAAoB,GAAG,mBAAmB,GAAG,qBAAqB,CAAC;IAEjF;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAEtC,wBAAwB,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAExD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,MAAM,CAAC,EAAE,aAAa,GAAG,WAAW,GAAG,QAAQ,GAAG,aAAa,CAAC;CACjE;AAED,MAAM,WAAW,iCAAiC;IAChD,IAAI,CAAC,EAAE,yBAAyB,CAAC;CAClC;AAED,MAAM,WAAW,2BAA4B,SAAQ,2BAA2B;IAC9E;;OAEG;IACH,qBAAqB,CAAC,EAAE,oBAAoB,GAAG,mBAAmB,GAAG,qBAAqB,CAAC;CAC5F;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+CAA+C,IAAI,+CAA+C,EACvG,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-sim-card-actions.js","sourceRoot":"","sources":["../src/resources/bulk-sim-card-actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;
|
|
1
|
+
{"version":3,"file":"bulk-sim-card-actions.js","sourceRoot":"","sources":["../src/resources/bulk-sim-card-actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA0G;AAE1G,oDAA8C;AAE9C;;GAEG;AACH,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;;OAGG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,0BAA0B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,QAAwD,EAAE,EAC1D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,wBAAwB,EACxB,CAAA,kCAAgD,CAAA,EAChD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF;AAvBD,gDAuBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-sim-card-actions.mjs","sourceRoot":"","sources":["../src/resources/bulk-sim-card-actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;
|
|
1
|
+
{"version":3,"file":"bulk-sim-card-actions.mjs","sourceRoot":"","sources":["../src/resources/bulk-sim-card-actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,qBAAqB,EAAiD,+BAA2B;AAE1G,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD;;;OAGG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,0BAA0B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,QAAwD,EAAE,EAC1D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,wBAAwB,EACxB,CAAA,qBAAgD,CAAA,EAChD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../core/pagination.mjs";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Static reference values the API accepts: call reasons, document types, rejection types.
|
|
7
|
+
*/
|
|
8
|
+
export declare class CallReasons extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Telnyx maintains a library of pre-vetted call-reason phrases (e.g. "Appointment
|
|
11
|
+
* reminders", "Billing inquiries") that carry through DIR vetting smoothly. You
|
|
12
|
+
* can use any string that fits your use case in `DirCreateRequest.call_reasons`,
|
|
13
|
+
* but matching one of these reduces the chance the vetting team flags the phrasing
|
|
14
|
+
* for clarification.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* // Automatically fetches more pages as needed.
|
|
19
|
+
* for await (const callReasonListResponse of client.callReasons.list()) {
|
|
20
|
+
* // ...
|
|
21
|
+
* }
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
list(query?: CallReasonListParams | null | undefined, options?: RequestOptions): PagePromise<CallReasonListResponsesDefaultFlatPagination, CallReasonListResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Check up to 10 candidate `call_reasons` strings against Telnyx's vetting
|
|
27
|
+
* heuristics before sending them on a DIR create or update. The endpoint flags
|
|
28
|
+
* strings that are likely to be rejected during vetting (too generic, banned
|
|
29
|
+
* phrases, length issues, etc.) so you can fix them up front.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const response = await client.callReasons.validate({
|
|
34
|
+
* body: ['Appointment reminders', 'Billing inquiries'],
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
validate(params: CallReasonValidateParams, options?: RequestOptions): APIPromise<CallReasonValidateResponse>;
|
|
39
|
+
}
|
|
40
|
+
export type CallReasonListResponsesDefaultFlatPagination = DefaultFlatPagination<CallReasonListResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* JSON:API pagination metadata returned with every paginated list response. Page
|
|
43
|
+
* numbering is 1-based. `page_size` reports the number of items actually returned
|
|
44
|
+
* in `data` for this page; the requested size is taken from the `page[size]` query
|
|
45
|
+
* parameter.
|
|
46
|
+
*/
|
|
47
|
+
export interface BrandedCallingPaginationMeta {
|
|
48
|
+
/**
|
|
49
|
+
* 1-based index of this page. Echoes the `page[number]` query parameter (default
|
|
50
|
+
* `1`).
|
|
51
|
+
*/
|
|
52
|
+
page_number: number;
|
|
53
|
+
/**
|
|
54
|
+
* Number of items returned in this page's `data` array. Capped at 250.
|
|
55
|
+
*/
|
|
56
|
+
page_size: number;
|
|
57
|
+
/**
|
|
58
|
+
* Total number of pages available given the current `page_size`.
|
|
59
|
+
*/
|
|
60
|
+
total_pages: number;
|
|
61
|
+
/**
|
|
62
|
+
* Total number of items across all pages (excludes soft-deleted rows).
|
|
63
|
+
*/
|
|
64
|
+
total_results: number;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Pre-vetted call-reason library entry.
|
|
68
|
+
*/
|
|
69
|
+
export interface CallReasonListResponse {
|
|
70
|
+
id?: string;
|
|
71
|
+
description?: string;
|
|
72
|
+
reason?: string;
|
|
73
|
+
}
|
|
74
|
+
export interface CallReasonValidateResponse {
|
|
75
|
+
data: CallReasonValidateResponse.Data;
|
|
76
|
+
}
|
|
77
|
+
export declare namespace CallReasonValidateResponse {
|
|
78
|
+
interface Data {
|
|
79
|
+
/**
|
|
80
|
+
* `true` when every supplied reason matches a pre-vetted entry in the call-reason
|
|
81
|
+
* library. When `true`, the DIR will sail through the call-reasons portion of
|
|
82
|
+
* vetting.
|
|
83
|
+
*/
|
|
84
|
+
all_pre_approved: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Subset of the input that does NOT match the pre-vetted library. The DIR can
|
|
87
|
+
* still be submitted with these - they will go through manual review.
|
|
88
|
+
*/
|
|
89
|
+
non_approved_reasons: Array<string>;
|
|
90
|
+
/**
|
|
91
|
+
* `true` when at least one supplied reason is in `non_approved_reasons`.
|
|
92
|
+
* Equivalent to `non_approved_reasons.length > 0` and the inverse of
|
|
93
|
+
* `all_pre_approved`.
|
|
94
|
+
*/
|
|
95
|
+
requires_manual_vetting: boolean;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export interface CallReasonListParams extends DefaultFlatPaginationParams {
|
|
99
|
+
}
|
|
100
|
+
export interface CallReasonValidateParams {
|
|
101
|
+
/**
|
|
102
|
+
* **Bare JSON array** of candidate call-reason strings (NOT an object - there is
|
|
103
|
+
* no top-level `call_reasons` key on this endpoint). 1–10 strings, each ≤64
|
|
104
|
+
* characters.
|
|
105
|
+
*/
|
|
106
|
+
body: Array<string>;
|
|
107
|
+
}
|
|
108
|
+
export declare namespace CallReasons {
|
|
109
|
+
export { type BrandedCallingPaginationMeta as BrandedCallingPaginationMeta, type CallReasonListResponse as CallReasonListResponse, type CallReasonValidateResponse as CallReasonValidateResponse, type CallReasonListResponsesDefaultFlatPagination as CallReasonListResponsesDefaultFlatPagination, type CallReasonListParams as CallReasonListParams, type CallReasonValidateParams as CallReasonValidateParams, };
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=call-reasons.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call-reasons.d.mts","sourceRoot":"","sources":["../src/resources/call-reasons.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,+BAA2B;AAC1G,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,4CAA4C,EAAE,sBAAsB,CAAC;IAOpF;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;CAI1C;AAED,MAAM,MAAM,4CAA4C,GAAG,qBAAqB,CAAC,sBAAsB,CAAC,CAAC;AAEzG;;;;;GAKG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,0BAA0B,CAAC,IAAI,CAAC;CACvC;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,IAAI;QACnB;;;;WAIG;QACH,gBAAgB,EAAE,OAAO,CAAC;QAE1B;;;WAGG;QACH,oBAAoB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAEpC;;;;WAIG;QACH,uBAAuB,EAAE,OAAO,CAAC;KAClC;CACF;AAED,MAAM,WAAW,oBAAqB,SAAQ,2BAA2B;CAAG;AAE5E,MAAM,WAAW,wBAAwB;IACvC;;;;OAIG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4CAA4C,IAAI,4CAA4C,EACjG,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../core/pagination.js";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
5
|
+
/**
|
|
6
|
+
* Static reference values the API accepts: call reasons, document types, rejection types.
|
|
7
|
+
*/
|
|
8
|
+
export declare class CallReasons extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Telnyx maintains a library of pre-vetted call-reason phrases (e.g. "Appointment
|
|
11
|
+
* reminders", "Billing inquiries") that carry through DIR vetting smoothly. You
|
|
12
|
+
* can use any string that fits your use case in `DirCreateRequest.call_reasons`,
|
|
13
|
+
* but matching one of these reduces the chance the vetting team flags the phrasing
|
|
14
|
+
* for clarification.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* // Automatically fetches more pages as needed.
|
|
19
|
+
* for await (const callReasonListResponse of client.callReasons.list()) {
|
|
20
|
+
* // ...
|
|
21
|
+
* }
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
list(query?: CallReasonListParams | null | undefined, options?: RequestOptions): PagePromise<CallReasonListResponsesDefaultFlatPagination, CallReasonListResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Check up to 10 candidate `call_reasons` strings against Telnyx's vetting
|
|
27
|
+
* heuristics before sending them on a DIR create or update. The endpoint flags
|
|
28
|
+
* strings that are likely to be rejected during vetting (too generic, banned
|
|
29
|
+
* phrases, length issues, etc.) so you can fix them up front.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const response = await client.callReasons.validate({
|
|
34
|
+
* body: ['Appointment reminders', 'Billing inquiries'],
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
validate(params: CallReasonValidateParams, options?: RequestOptions): APIPromise<CallReasonValidateResponse>;
|
|
39
|
+
}
|
|
40
|
+
export type CallReasonListResponsesDefaultFlatPagination = DefaultFlatPagination<CallReasonListResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* JSON:API pagination metadata returned with every paginated list response. Page
|
|
43
|
+
* numbering is 1-based. `page_size` reports the number of items actually returned
|
|
44
|
+
* in `data` for this page; the requested size is taken from the `page[size]` query
|
|
45
|
+
* parameter.
|
|
46
|
+
*/
|
|
47
|
+
export interface BrandedCallingPaginationMeta {
|
|
48
|
+
/**
|
|
49
|
+
* 1-based index of this page. Echoes the `page[number]` query parameter (default
|
|
50
|
+
* `1`).
|
|
51
|
+
*/
|
|
52
|
+
page_number: number;
|
|
53
|
+
/**
|
|
54
|
+
* Number of items returned in this page's `data` array. Capped at 250.
|
|
55
|
+
*/
|
|
56
|
+
page_size: number;
|
|
57
|
+
/**
|
|
58
|
+
* Total number of pages available given the current `page_size`.
|
|
59
|
+
*/
|
|
60
|
+
total_pages: number;
|
|
61
|
+
/**
|
|
62
|
+
* Total number of items across all pages (excludes soft-deleted rows).
|
|
63
|
+
*/
|
|
64
|
+
total_results: number;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Pre-vetted call-reason library entry.
|
|
68
|
+
*/
|
|
69
|
+
export interface CallReasonListResponse {
|
|
70
|
+
id?: string;
|
|
71
|
+
description?: string;
|
|
72
|
+
reason?: string;
|
|
73
|
+
}
|
|
74
|
+
export interface CallReasonValidateResponse {
|
|
75
|
+
data: CallReasonValidateResponse.Data;
|
|
76
|
+
}
|
|
77
|
+
export declare namespace CallReasonValidateResponse {
|
|
78
|
+
interface Data {
|
|
79
|
+
/**
|
|
80
|
+
* `true` when every supplied reason matches a pre-vetted entry in the call-reason
|
|
81
|
+
* library. When `true`, the DIR will sail through the call-reasons portion of
|
|
82
|
+
* vetting.
|
|
83
|
+
*/
|
|
84
|
+
all_pre_approved: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Subset of the input that does NOT match the pre-vetted library. The DIR can
|
|
87
|
+
* still be submitted with these - they will go through manual review.
|
|
88
|
+
*/
|
|
89
|
+
non_approved_reasons: Array<string>;
|
|
90
|
+
/**
|
|
91
|
+
* `true` when at least one supplied reason is in `non_approved_reasons`.
|
|
92
|
+
* Equivalent to `non_approved_reasons.length > 0` and the inverse of
|
|
93
|
+
* `all_pre_approved`.
|
|
94
|
+
*/
|
|
95
|
+
requires_manual_vetting: boolean;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export interface CallReasonListParams extends DefaultFlatPaginationParams {
|
|
99
|
+
}
|
|
100
|
+
export interface CallReasonValidateParams {
|
|
101
|
+
/**
|
|
102
|
+
* **Bare JSON array** of candidate call-reason strings (NOT an object - there is
|
|
103
|
+
* no top-level `call_reasons` key on this endpoint). 1–10 strings, each ≤64
|
|
104
|
+
* characters.
|
|
105
|
+
*/
|
|
106
|
+
body: Array<string>;
|
|
107
|
+
}
|
|
108
|
+
export declare namespace CallReasons {
|
|
109
|
+
export { type BrandedCallingPaginationMeta as BrandedCallingPaginationMeta, type CallReasonListResponse as CallReasonListResponse, type CallReasonValidateResponse as CallReasonValidateResponse, type CallReasonListResponsesDefaultFlatPagination as CallReasonListResponsesDefaultFlatPagination, type CallReasonListParams as CallReasonListParams, type CallReasonValidateParams as CallReasonValidateParams, };
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=call-reasons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call-reasons.d.ts","sourceRoot":"","sources":["../src/resources/call-reasons.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,8BAA2B;AAC1G,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,4CAA4C,EAAE,sBAAsB,CAAC;IAOpF;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;CAI1C;AAED,MAAM,MAAM,4CAA4C,GAAG,qBAAqB,CAAC,sBAAsB,CAAC,CAAC;AAEzG;;;;;GAKG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,0BAA0B,CAAC,IAAI,CAAC;CACvC;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,IAAI;QACnB;;;;WAIG;QACH,gBAAgB,EAAE,OAAO,CAAC;QAE1B;;;WAGG;QACH,oBAAoB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAEpC;;;;WAIG;QACH,uBAAuB,EAAE,OAAO,CAAC;KAClC;CACF;AAED,MAAM,WAAW,oBAAqB,SAAQ,2BAA2B;CAAG;AAE5E,MAAM,WAAW,wBAAwB;IACvC;;;;OAIG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4CAA4C,IAAI,4CAA4C,EACjG,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CallReasons = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
/**
|
|
8
|
+
* Static reference values the API accepts: call reasons, document types, rejection types.
|
|
9
|
+
*/
|
|
10
|
+
class CallReasons extends resource_1.APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Telnyx maintains a library of pre-vetted call-reason phrases (e.g. "Appointment
|
|
13
|
+
* reminders", "Billing inquiries") that carry through DIR vetting smoothly. You
|
|
14
|
+
* can use any string that fits your use case in `DirCreateRequest.call_reasons`,
|
|
15
|
+
* but matching one of these reduces the chance the vetting team flags the phrasing
|
|
16
|
+
* for clarification.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* // Automatically fetches more pages as needed.
|
|
21
|
+
* for await (const callReasonListResponse of client.callReasons.list()) {
|
|
22
|
+
* // ...
|
|
23
|
+
* }
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
list(query = {}, options) {
|
|
27
|
+
return this._client.getAPIList('/call_reasons', (pagination_1.DefaultFlatPagination), {
|
|
28
|
+
query,
|
|
29
|
+
...options,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check up to 10 candidate `call_reasons` strings against Telnyx's vetting
|
|
34
|
+
* heuristics before sending them on a DIR create or update. The endpoint flags
|
|
35
|
+
* strings that are likely to be rejected during vetting (too generic, banned
|
|
36
|
+
* phrases, length issues, etc.) so you can fix them up front.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const response = await client.callReasons.validate({
|
|
41
|
+
* body: ['Appointment reminders', 'Billing inquiries'],
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
validate(params, options) {
|
|
46
|
+
const { body } = params;
|
|
47
|
+
return this._client.post('/call_reasons/validate', { body: body, ...options });
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.CallReasons = CallReasons;
|
|
51
|
+
//# sourceMappingURL=call-reasons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call-reasons.js","sourceRoot":"","sources":["../src/resources/call-reasons.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA0G;AAG1G;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,eAAe,EAAE,CAAA,kCAA6C,CAAA,EAAE;YAC7F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF;AA9CD,kCA8CC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { DefaultFlatPagination } from "../core/pagination.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Static reference values the API accepts: call reasons, document types, rejection types.
|
|
6
|
+
*/
|
|
7
|
+
export class CallReasons extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Telnyx maintains a library of pre-vetted call-reason phrases (e.g. "Appointment
|
|
10
|
+
* reminders", "Billing inquiries") that carry through DIR vetting smoothly. You
|
|
11
|
+
* can use any string that fits your use case in `DirCreateRequest.call_reasons`,
|
|
12
|
+
* but matching one of these reduces the chance the vetting team flags the phrasing
|
|
13
|
+
* for clarification.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* // Automatically fetches more pages as needed.
|
|
18
|
+
* for await (const callReasonListResponse of client.callReasons.list()) {
|
|
19
|
+
* // ...
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
list(query = {}, options) {
|
|
24
|
+
return this._client.getAPIList('/call_reasons', (DefaultFlatPagination), {
|
|
25
|
+
query,
|
|
26
|
+
...options,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Check up to 10 candidate `call_reasons` strings against Telnyx's vetting
|
|
31
|
+
* heuristics before sending them on a DIR create or update. The endpoint flags
|
|
32
|
+
* strings that are likely to be rejected during vetting (too generic, banned
|
|
33
|
+
* phrases, length issues, etc.) so you can fix them up front.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```ts
|
|
37
|
+
* const response = await client.callReasons.validate({
|
|
38
|
+
* body: ['Appointment reminders', 'Billing inquiries'],
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
validate(params, options) {
|
|
43
|
+
const { body } = params;
|
|
44
|
+
return this._client.post('/call_reasons/validate', { body: body, ...options });
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=call-reasons.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call-reasons.mjs","sourceRoot":"","sources":["../src/resources/call-reasons.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,qBAAqB,EAAiD,+BAA2B;AAG1G;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,eAAe,EAAE,CAAA,qBAA6C,CAAA,EAAE;YAC7F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF"}
|