telnyx 5.51.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +90 -0
- package/client.d.mts +365 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +365 -2
- package/client.d.ts.map +1 -1
- package/client.js +363 -0
- package/client.js.map +1 -1
- package/client.mjs +363 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -2
- package/resources/access-ip-address.d.mts +3 -0
- package/resources/access-ip-address.d.mts.map +1 -1
- package/resources/access-ip-address.d.ts +3 -0
- package/resources/access-ip-address.d.ts.map +1 -1
- package/resources/access-ip-address.js +3 -0
- package/resources/access-ip-address.js.map +1 -1
- package/resources/access-ip-address.mjs +3 -0
- package/resources/access-ip-address.mjs.map +1 -1
- package/resources/access-ip-ranges.d.mts +3 -0
- package/resources/access-ip-ranges.d.mts.map +1 -1
- package/resources/access-ip-ranges.d.ts +3 -0
- package/resources/access-ip-ranges.d.ts.map +1 -1
- package/resources/access-ip-ranges.js +3 -0
- package/resources/access-ip-ranges.js.map +1 -1
- package/resources/access-ip-ranges.mjs +3 -0
- package/resources/access-ip-ranges.mjs.map +1 -1
- package/resources/actions/purchase.d.mts +3 -0
- package/resources/actions/purchase.d.mts.map +1 -1
- package/resources/actions/purchase.d.ts +3 -0
- package/resources/actions/purchase.d.ts.map +1 -1
- package/resources/actions/purchase.js +3 -0
- package/resources/actions/purchase.js.map +1 -1
- package/resources/actions/purchase.mjs +3 -0
- package/resources/actions/purchase.mjs.map +1 -1
- package/resources/actions/register.d.mts +3 -0
- package/resources/actions/register.d.mts.map +1 -1
- package/resources/actions/register.d.ts +3 -0
- package/resources/actions/register.d.ts.map +1 -1
- package/resources/actions/register.js +3 -0
- package/resources/actions/register.js.map +1 -1
- package/resources/actions/register.mjs +3 -0
- package/resources/actions/register.mjs.map +1 -1
- package/resources/addresses/actions.d.mts +3 -0
- package/resources/addresses/actions.d.mts.map +1 -1
- package/resources/addresses/actions.d.ts +3 -0
- package/resources/addresses/actions.d.ts.map +1 -1
- package/resources/addresses/actions.js +3 -0
- package/resources/addresses/actions.js.map +1 -1
- package/resources/addresses/actions.mjs +3 -0
- package/resources/addresses/actions.mjs.map +1 -1
- package/resources/addresses/addresses.d.mts +3 -0
- package/resources/addresses/addresses.d.mts.map +1 -1
- package/resources/addresses/addresses.d.ts +3 -0
- package/resources/addresses/addresses.d.ts.map +1 -1
- package/resources/addresses/addresses.js +3 -0
- package/resources/addresses/addresses.js.map +1 -1
- package/resources/addresses/addresses.mjs +3 -0
- package/resources/addresses/addresses.mjs.map +1 -1
- package/resources/ai/ai.d.mts +3 -0
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +3 -0
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +3 -0
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +3 -0
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +63 -1
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +63 -1
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js +3 -0
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs +3 -0
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.mts +3 -0
- package/resources/ai/assistants/canary-deploys.d.mts.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.ts +3 -0
- package/resources/ai/assistants/canary-deploys.d.ts.map +1 -1
- package/resources/ai/assistants/canary-deploys.js +3 -0
- package/resources/ai/assistants/canary-deploys.js.map +1 -1
- package/resources/ai/assistants/canary-deploys.mjs +3 -0
- package/resources/ai/assistants/canary-deploys.mjs.map +1 -1
- package/resources/ai/assistants/scheduled-events.d.mts +3 -0
- package/resources/ai/assistants/scheduled-events.d.mts.map +1 -1
- package/resources/ai/assistants/scheduled-events.d.ts +3 -0
- package/resources/ai/assistants/scheduled-events.d.ts.map +1 -1
- package/resources/ai/assistants/scheduled-events.js +3 -0
- package/resources/ai/assistants/scheduled-events.js.map +1 -1
- package/resources/ai/assistants/scheduled-events.mjs +3 -0
- package/resources/ai/assistants/scheduled-events.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/tests/runs.js +3 -0
- package/resources/ai/assistants/tests/runs.js.map +1 -1
- package/resources/ai/assistants/tests/runs.mjs +3 -0
- package/resources/ai/assistants/tests/runs.mjs.map +1 -1
- package/resources/ai/assistants/tests/test-suites/runs.d.mts +3 -0
- package/resources/ai/assistants/tests/test-suites/runs.d.mts.map +1 -1
- package/resources/ai/assistants/tests/test-suites/runs.d.ts +3 -0
- package/resources/ai/assistants/tests/test-suites/runs.d.ts.map +1 -1
- package/resources/ai/assistants/tests/test-suites/runs.js +3 -0
- package/resources/ai/assistants/tests/test-suites/runs.js.map +1 -1
- package/resources/ai/assistants/tests/test-suites/runs.mjs +3 -0
- package/resources/ai/assistants/tests/test-suites/runs.mjs.map +1 -1
- package/resources/ai/assistants/tests/test-suites/test-suites.d.mts +3 -0
- package/resources/ai/assistants/tests/test-suites/test-suites.d.mts.map +1 -1
- package/resources/ai/assistants/tests/test-suites/test-suites.d.ts +3 -0
- package/resources/ai/assistants/tests/test-suites/test-suites.d.ts.map +1 -1
- package/resources/ai/assistants/tests/test-suites/test-suites.js +3 -0
- package/resources/ai/assistants/tests/test-suites/test-suites.js.map +1 -1
- package/resources/ai/assistants/tests/test-suites/test-suites.mjs +3 -0
- package/resources/ai/assistants/tests/test-suites/test-suites.mjs.map +1 -1
- package/resources/ai/assistants/tests/tests.d.mts +3 -0
- package/resources/ai/assistants/tests/tests.d.mts.map +1 -1
- package/resources/ai/assistants/tests/tests.d.ts +3 -0
- package/resources/ai/assistants/tests/tests.d.ts.map +1 -1
- package/resources/ai/assistants/tests/tests.js +3 -0
- package/resources/ai/assistants/tests/tests.js.map +1 -1
- package/resources/ai/assistants/tests/tests.mjs +3 -0
- package/resources/ai/assistants/tests/tests.mjs.map +1 -1
- package/resources/ai/assistants/tools.d.mts +3 -0
- package/resources/ai/assistants/tools.d.mts.map +1 -1
- package/resources/ai/assistants/tools.d.ts +3 -0
- package/resources/ai/assistants/tools.d.ts.map +1 -1
- package/resources/ai/assistants/tools.js +3 -0
- package/resources/ai/assistants/tools.js.map +1 -1
- package/resources/ai/assistants/tools.mjs +3 -0
- package/resources/ai/assistants/tools.mjs.map +1 -1
- package/resources/ai/assistants/versions.d.mts +3 -0
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +3 -0
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/assistants/versions.js +3 -0
- package/resources/ai/assistants/versions.js.map +1 -1
- package/resources/ai/assistants/versions.mjs +3 -0
- package/resources/ai/assistants/versions.mjs.map +1 -1
- package/resources/ai/audio.d.mts +3 -0
- package/resources/ai/audio.d.mts.map +1 -1
- package/resources/ai/audio.d.ts +3 -0
- package/resources/ai/audio.d.ts.map +1 -1
- package/resources/ai/audio.js +3 -0
- package/resources/ai/audio.js.map +1 -1
- package/resources/ai/audio.mjs +3 -0
- package/resources/ai/audio.mjs.map +1 -1
- package/resources/ai/chat.d.mts +3 -0
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +3 -0
- package/resources/ai/chat.d.ts.map +1 -1
- package/resources/ai/chat.js +3 -0
- package/resources/ai/chat.js.map +1 -1
- package/resources/ai/chat.mjs +3 -0
- package/resources/ai/chat.mjs.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/clusters.js +3 -0
- package/resources/ai/clusters.js.map +1 -1
- package/resources/ai/clusters.mjs +3 -0
- package/resources/ai/clusters.mjs.map +1 -1
- package/resources/ai/conversations/conversations.d.mts +3 -0
- package/resources/ai/conversations/conversations.d.mts.map +1 -1
- package/resources/ai/conversations/conversations.d.ts +3 -0
- package/resources/ai/conversations/conversations.d.ts.map +1 -1
- package/resources/ai/conversations/conversations.js +3 -0
- package/resources/ai/conversations/conversations.js.map +1 -1
- package/resources/ai/conversations/conversations.mjs +3 -0
- package/resources/ai/conversations/conversations.mjs.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.d.mts +3 -0
- package/resources/ai/conversations/insight-groups/insight-groups.d.mts.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.d.ts +3 -0
- package/resources/ai/conversations/insight-groups/insight-groups.d.ts.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.js +3 -0
- package/resources/ai/conversations/insight-groups/insight-groups.js.map +1 -1
- package/resources/ai/conversations/insight-groups/insight-groups.mjs +3 -0
- package/resources/ai/conversations/insight-groups/insight-groups.mjs.map +1 -1
- package/resources/ai/conversations/insight-groups/insights.d.mts +3 -0
- package/resources/ai/conversations/insight-groups/insights.d.mts.map +1 -1
- package/resources/ai/conversations/insight-groups/insights.d.ts +3 -0
- package/resources/ai/conversations/insight-groups/insights.d.ts.map +1 -1
- package/resources/ai/conversations/insight-groups/insights.js +3 -0
- package/resources/ai/conversations/insight-groups/insights.js.map +1 -1
- package/resources/ai/conversations/insight-groups/insights.mjs +3 -0
- package/resources/ai/conversations/insight-groups/insights.mjs.map +1 -1
- package/resources/ai/conversations/insights.d.mts +3 -0
- package/resources/ai/conversations/insights.d.mts.map +1 -1
- package/resources/ai/conversations/insights.d.ts +3 -0
- package/resources/ai/conversations/insights.d.ts.map +1 -1
- package/resources/ai/conversations/insights.js +3 -0
- package/resources/ai/conversations/insights.js.map +1 -1
- package/resources/ai/conversations/insights.mjs +3 -0
- package/resources/ai/conversations/insights.mjs.map +1 -1
- package/resources/ai/conversations/messages.d.mts +3 -0
- package/resources/ai/conversations/messages.d.mts.map +1 -1
- package/resources/ai/conversations/messages.d.ts +3 -0
- package/resources/ai/conversations/messages.d.ts.map +1 -1
- package/resources/ai/conversations/messages.js +3 -0
- package/resources/ai/conversations/messages.js.map +1 -1
- package/resources/ai/conversations/messages.mjs +3 -0
- package/resources/ai/conversations/messages.mjs.map +1 -1
- package/resources/ai/embeddings/buckets.d.mts +3 -0
- package/resources/ai/embeddings/buckets.d.mts.map +1 -1
- package/resources/ai/embeddings/buckets.d.ts +3 -0
- package/resources/ai/embeddings/buckets.d.ts.map +1 -1
- package/resources/ai/embeddings/buckets.js +3 -0
- package/resources/ai/embeddings/buckets.js.map +1 -1
- package/resources/ai/embeddings/buckets.mjs +3 -0
- package/resources/ai/embeddings/buckets.mjs.map +1 -1
- package/resources/ai/embeddings/embeddings.d.mts +3 -0
- package/resources/ai/embeddings/embeddings.d.mts.map +1 -1
- package/resources/ai/embeddings/embeddings.d.ts +3 -0
- package/resources/ai/embeddings/embeddings.d.ts.map +1 -1
- package/resources/ai/embeddings/embeddings.js +3 -0
- package/resources/ai/embeddings/embeddings.js.map +1 -1
- package/resources/ai/embeddings/embeddings.mjs +3 -0
- package/resources/ai/embeddings/embeddings.mjs.map +1 -1
- package/resources/ai/fine-tuning/jobs.d.mts +3 -0
- package/resources/ai/fine-tuning/jobs.d.mts.map +1 -1
- package/resources/ai/fine-tuning/jobs.d.ts +3 -0
- package/resources/ai/fine-tuning/jobs.d.ts.map +1 -1
- package/resources/ai/fine-tuning/jobs.js +3 -0
- package/resources/ai/fine-tuning/jobs.js.map +1 -1
- package/resources/ai/fine-tuning/jobs.mjs +3 -0
- package/resources/ai/fine-tuning/jobs.mjs.map +1 -1
- package/resources/ai/openai/embeddings.d.mts +3 -0
- package/resources/ai/openai/embeddings.d.mts.map +1 -1
- package/resources/ai/openai/embeddings.d.ts +3 -0
- package/resources/ai/openai/embeddings.d.ts.map +1 -1
- package/resources/ai/openai/embeddings.js +3 -0
- package/resources/ai/openai/embeddings.js.map +1 -1
- package/resources/ai/openai/embeddings.mjs +3 -0
- package/resources/ai/openai/embeddings.mjs.map +1 -1
- package/resources/audit-events.d.mts +3 -0
- package/resources/audit-events.d.mts.map +1 -1
- package/resources/audit-events.d.ts +3 -0
- package/resources/audit-events.d.ts.map +1 -1
- package/resources/audit-events.js +3 -0
- package/resources/audit-events.js.map +1 -1
- package/resources/audit-events.mjs +3 -0
- package/resources/audit-events.mjs.map +1 -1
- package/resources/available-phone-number-blocks.d.mts +3 -0
- package/resources/available-phone-number-blocks.d.mts.map +1 -1
- package/resources/available-phone-number-blocks.d.ts +3 -0
- package/resources/available-phone-number-blocks.d.ts.map +1 -1
- package/resources/available-phone-number-blocks.js +3 -0
- package/resources/available-phone-number-blocks.js.map +1 -1
- package/resources/available-phone-number-blocks.mjs +3 -0
- package/resources/available-phone-number-blocks.mjs.map +1 -1
- package/resources/available-phone-numbers.d.mts +3 -0
- package/resources/available-phone-numbers.d.mts.map +1 -1
- package/resources/available-phone-numbers.d.ts +3 -0
- package/resources/available-phone-numbers.d.ts.map +1 -1
- package/resources/available-phone-numbers.js +3 -0
- package/resources/available-phone-numbers.js.map +1 -1
- package/resources/available-phone-numbers.mjs +3 -0
- package/resources/available-phone-numbers.mjs.map +1 -1
- package/resources/balance.d.mts +3 -0
- package/resources/balance.d.mts.map +1 -1
- package/resources/balance.d.ts +3 -0
- package/resources/balance.d.ts.map +1 -1
- package/resources/balance.js +3 -0
- package/resources/balance.js.map +1 -1
- package/resources/balance.mjs +3 -0
- package/resources/balance.mjs.map +1 -1
- package/resources/billing-groups.d.mts +3 -0
- package/resources/billing-groups.d.mts.map +1 -1
- package/resources/billing-groups.d.ts +3 -0
- package/resources/billing-groups.d.ts.map +1 -1
- package/resources/billing-groups.js +3 -0
- package/resources/billing-groups.js.map +1 -1
- package/resources/billing-groups.mjs +3 -0
- package/resources/billing-groups.mjs.map +1 -1
- package/resources/bulk-sim-card-actions.d.mts +3 -0
- package/resources/bulk-sim-card-actions.d.mts.map +1 -1
- package/resources/bulk-sim-card-actions.d.ts +3 -0
- package/resources/bulk-sim-card-actions.d.ts.map +1 -1
- package/resources/bulk-sim-card-actions.js +3 -0
- package/resources/bulk-sim-card-actions.js.map +1 -1
- package/resources/bulk-sim-card-actions.mjs +3 -0
- package/resources/bulk-sim-card-actions.mjs.map +1 -1
- package/resources/call-control-applications.d.mts +3 -0
- package/resources/call-control-applications.d.mts.map +1 -1
- package/resources/call-control-applications.d.ts +3 -0
- package/resources/call-control-applications.d.ts.map +1 -1
- package/resources/call-control-applications.js +3 -0
- package/resources/call-control-applications.js.map +1 -1
- package/resources/call-control-applications.mjs +3 -0
- package/resources/call-control-applications.mjs.map +1 -1
- package/resources/call-events.d.mts +3 -0
- package/resources/call-events.d.mts.map +1 -1
- package/resources/call-events.d.ts +3 -0
- package/resources/call-events.d.ts.map +1 -1
- package/resources/call-events.js +3 -0
- package/resources/call-events.js.map +1 -1
- package/resources/call-events.mjs +3 -0
- package/resources/call-events.mjs.map +1 -1
- package/resources/calls/actions.d.mts +7 -4
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +7 -4
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/actions.js +3 -0
- package/resources/calls/actions.js.map +1 -1
- package/resources/calls/actions.mjs +3 -0
- package/resources/calls/actions.mjs.map +1 -1
- package/resources/channel-zones.d.mts +3 -0
- package/resources/channel-zones.d.mts.map +1 -1
- package/resources/channel-zones.d.ts +3 -0
- package/resources/channel-zones.d.ts.map +1 -1
- package/resources/channel-zones.js +3 -0
- package/resources/channel-zones.js.map +1 -1
- package/resources/channel-zones.mjs +3 -0
- package/resources/channel-zones.mjs.map +1 -1
- package/resources/comments.d.mts +3 -0
- package/resources/comments.d.mts.map +1 -1
- package/resources/comments.d.ts +3 -0
- package/resources/comments.d.ts.map +1 -1
- package/resources/comments.js +3 -0
- package/resources/comments.js.map +1 -1
- package/resources/comments.mjs +3 -0
- package/resources/comments.mjs.map +1 -1
- package/resources/conferences/actions.d.mts +3 -0
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +3 -0
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/conferences/actions.js +3 -0
- package/resources/conferences/actions.js.map +1 -1
- package/resources/conferences/actions.mjs +3 -0
- package/resources/conferences/actions.mjs.map +1 -1
- package/resources/conferences/conferences.d.mts +3 -0
- package/resources/conferences/conferences.d.mts.map +1 -1
- package/resources/conferences/conferences.d.ts +3 -0
- package/resources/conferences/conferences.d.ts.map +1 -1
- package/resources/conferences/conferences.js +3 -0
- package/resources/conferences/conferences.js.map +1 -1
- package/resources/conferences/conferences.mjs +3 -0
- package/resources/conferences/conferences.mjs.map +1 -1
- package/resources/country-coverage.d.mts +3 -0
- package/resources/country-coverage.d.mts.map +1 -1
- package/resources/country-coverage.d.ts +3 -0
- package/resources/country-coverage.d.ts.map +1 -1
- package/resources/country-coverage.js +3 -0
- package/resources/country-coverage.js.map +1 -1
- package/resources/country-coverage.mjs +3 -0
- package/resources/country-coverage.mjs.map +1 -1
- package/resources/credential-connections/actions.d.mts +3 -0
- package/resources/credential-connections/actions.d.mts.map +1 -1
- package/resources/credential-connections/actions.d.ts +3 -0
- package/resources/credential-connections/actions.d.ts.map +1 -1
- package/resources/credential-connections/actions.js +3 -0
- package/resources/credential-connections/actions.js.map +1 -1
- package/resources/credential-connections/actions.mjs +3 -0
- package/resources/credential-connections/actions.mjs.map +1 -1
- package/resources/credential-connections/credential-connections.d.mts +3 -0
- package/resources/credential-connections/credential-connections.d.mts.map +1 -1
- package/resources/credential-connections/credential-connections.d.ts +3 -0
- package/resources/credential-connections/credential-connections.d.ts.map +1 -1
- package/resources/credential-connections/credential-connections.js +3 -0
- package/resources/credential-connections/credential-connections.js.map +1 -1
- package/resources/credential-connections/credential-connections.mjs +3 -0
- package/resources/credential-connections/credential-connections.mjs.map +1 -1
- package/resources/custom-storage-credentials.d.mts +3 -0
- package/resources/custom-storage-credentials.d.mts.map +1 -1
- package/resources/custom-storage-credentials.d.ts +3 -0
- package/resources/custom-storage-credentials.d.ts.map +1 -1
- package/resources/custom-storage-credentials.js +3 -0
- package/resources/custom-storage-credentials.js.map +1 -1
- package/resources/custom-storage-credentials.mjs +3 -0
- package/resources/custom-storage-credentials.mjs.map +1 -1
- package/resources/customer-service-records.d.mts +3 -0
- package/resources/customer-service-records.d.mts.map +1 -1
- package/resources/customer-service-records.d.ts +3 -0
- package/resources/customer-service-records.d.ts.map +1 -1
- package/resources/customer-service-records.js +3 -0
- package/resources/customer-service-records.js.map +1 -1
- package/resources/customer-service-records.mjs +3 -0
- package/resources/customer-service-records.mjs.map +1 -1
- package/resources/detail-records.d.mts +3 -0
- package/resources/detail-records.d.mts.map +1 -1
- package/resources/detail-records.d.ts +3 -0
- package/resources/detail-records.d.ts.map +1 -1
- package/resources/detail-records.js +3 -0
- package/resources/detail-records.js.map +1 -1
- package/resources/detail-records.mjs +3 -0
- package/resources/detail-records.mjs.map +1 -1
- package/resources/dialogflow-connections.d.mts +3 -0
- package/resources/dialogflow-connections.d.mts.map +1 -1
- package/resources/dialogflow-connections.d.ts +3 -0
- package/resources/dialogflow-connections.d.ts.map +1 -1
- package/resources/dialogflow-connections.js +3 -0
- package/resources/dialogflow-connections.js.map +1 -1
- package/resources/dialogflow-connections.mjs +3 -0
- package/resources/dialogflow-connections.mjs.map +1 -1
- package/resources/document-links.d.mts +3 -0
- package/resources/document-links.d.mts.map +1 -1
- package/resources/document-links.d.ts +3 -0
- package/resources/document-links.d.ts.map +1 -1
- package/resources/document-links.js +3 -0
- package/resources/document-links.js.map +1 -1
- package/resources/document-links.mjs +3 -0
- package/resources/document-links.mjs.map +1 -1
- package/resources/documents.d.mts +3 -0
- package/resources/documents.d.mts.map +1 -1
- package/resources/documents.d.ts +3 -0
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +3 -0
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +3 -0
- package/resources/documents.mjs.map +1 -1
- package/resources/dynamic-emergency-addresses.d.mts +3 -0
- package/resources/dynamic-emergency-addresses.d.mts.map +1 -1
- package/resources/dynamic-emergency-addresses.d.ts +3 -0
- package/resources/dynamic-emergency-addresses.d.ts.map +1 -1
- package/resources/dynamic-emergency-addresses.js +3 -0
- package/resources/dynamic-emergency-addresses.js.map +1 -1
- package/resources/dynamic-emergency-addresses.mjs +3 -0
- package/resources/dynamic-emergency-addresses.mjs.map +1 -1
- package/resources/dynamic-emergency-endpoints.d.mts +3 -0
- package/resources/dynamic-emergency-endpoints.d.mts.map +1 -1
- package/resources/dynamic-emergency-endpoints.d.ts +3 -0
- package/resources/dynamic-emergency-endpoints.d.ts.map +1 -1
- package/resources/dynamic-emergency-endpoints.js +3 -0
- package/resources/dynamic-emergency-endpoints.js.map +1 -1
- package/resources/dynamic-emergency-endpoints.mjs +3 -0
- package/resources/dynamic-emergency-endpoints.mjs.map +1 -1
- package/resources/external-connections/civic-addresses.d.mts +3 -0
- package/resources/external-connections/civic-addresses.d.mts.map +1 -1
- package/resources/external-connections/civic-addresses.d.ts +3 -0
- package/resources/external-connections/civic-addresses.d.ts.map +1 -1
- package/resources/external-connections/civic-addresses.js +3 -0
- package/resources/external-connections/civic-addresses.js.map +1 -1
- package/resources/external-connections/civic-addresses.mjs +3 -0
- package/resources/external-connections/civic-addresses.mjs.map +1 -1
- package/resources/external-connections/external-connections.d.mts +3 -0
- package/resources/external-connections/external-connections.d.mts.map +1 -1
- package/resources/external-connections/external-connections.d.ts +3 -0
- package/resources/external-connections/external-connections.d.ts.map +1 -1
- package/resources/external-connections/external-connections.js +3 -0
- package/resources/external-connections/external-connections.js.map +1 -1
- package/resources/external-connections/external-connections.mjs +3 -0
- package/resources/external-connections/external-connections.mjs.map +1 -1
- package/resources/external-connections/log-messages.d.mts +3 -0
- package/resources/external-connections/log-messages.d.mts.map +1 -1
- package/resources/external-connections/log-messages.d.ts +3 -0
- package/resources/external-connections/log-messages.d.ts.map +1 -1
- package/resources/external-connections/log-messages.js +3 -0
- package/resources/external-connections/log-messages.js.map +1 -1
- package/resources/external-connections/log-messages.mjs +3 -0
- package/resources/external-connections/log-messages.mjs.map +1 -1
- package/resources/external-connections/phone-numbers.d.mts +3 -0
- package/resources/external-connections/phone-numbers.d.mts.map +1 -1
- package/resources/external-connections/phone-numbers.d.ts +3 -0
- package/resources/external-connections/phone-numbers.d.ts.map +1 -1
- package/resources/external-connections/phone-numbers.js +3 -0
- package/resources/external-connections/phone-numbers.js.map +1 -1
- package/resources/external-connections/phone-numbers.mjs +3 -0
- package/resources/external-connections/phone-numbers.mjs.map +1 -1
- package/resources/external-connections/releases.d.mts +3 -0
- package/resources/external-connections/releases.d.mts.map +1 -1
- package/resources/external-connections/releases.d.ts +3 -0
- package/resources/external-connections/releases.d.ts.map +1 -1
- package/resources/external-connections/releases.js +3 -0
- package/resources/external-connections/releases.js.map +1 -1
- package/resources/external-connections/releases.mjs +3 -0
- package/resources/external-connections/releases.mjs.map +1 -1
- package/resources/external-connections/uploads.d.mts +3 -0
- package/resources/external-connections/uploads.d.mts.map +1 -1
- package/resources/external-connections/uploads.d.ts +3 -0
- package/resources/external-connections/uploads.d.ts.map +1 -1
- package/resources/external-connections/uploads.js +3 -0
- package/resources/external-connections/uploads.js.map +1 -1
- package/resources/external-connections/uploads.mjs +3 -0
- package/resources/external-connections/uploads.mjs.map +1 -1
- package/resources/fax-applications.d.mts +3 -0
- package/resources/fax-applications.d.mts.map +1 -1
- package/resources/fax-applications.d.ts +3 -0
- package/resources/fax-applications.d.ts.map +1 -1
- package/resources/fax-applications.js +3 -0
- package/resources/fax-applications.js.map +1 -1
- package/resources/fax-applications.mjs +3 -0
- package/resources/fax-applications.mjs.map +1 -1
- package/resources/faxes/actions.d.mts +3 -0
- package/resources/faxes/actions.d.mts.map +1 -1
- package/resources/faxes/actions.d.ts +3 -0
- package/resources/faxes/actions.d.ts.map +1 -1
- package/resources/faxes/actions.js +3 -0
- package/resources/faxes/actions.js.map +1 -1
- package/resources/faxes/actions.mjs +3 -0
- package/resources/faxes/actions.mjs.map +1 -1
- package/resources/faxes/faxes.d.mts +3 -0
- package/resources/faxes/faxes.d.mts.map +1 -1
- package/resources/faxes/faxes.d.ts +3 -0
- package/resources/faxes/faxes.d.ts.map +1 -1
- package/resources/faxes/faxes.js +3 -0
- package/resources/faxes/faxes.js.map +1 -1
- package/resources/faxes/faxes.mjs +3 -0
- package/resources/faxes/faxes.mjs.map +1 -1
- package/resources/fqdn-connections.d.mts +3 -0
- package/resources/fqdn-connections.d.mts.map +1 -1
- package/resources/fqdn-connections.d.ts +3 -0
- package/resources/fqdn-connections.d.ts.map +1 -1
- package/resources/fqdn-connections.js +3 -0
- package/resources/fqdn-connections.js.map +1 -1
- package/resources/fqdn-connections.mjs +3 -0
- package/resources/fqdn-connections.mjs.map +1 -1
- package/resources/fqdns.d.mts +3 -0
- package/resources/fqdns.d.mts.map +1 -1
- package/resources/fqdns.d.ts +3 -0
- package/resources/fqdns.d.ts.map +1 -1
- package/resources/fqdns.js +3 -0
- package/resources/fqdns.js.map +1 -1
- package/resources/fqdns.mjs +3 -0
- package/resources/fqdns.mjs.map +1 -1
- package/resources/global-ip-allowed-ports.d.mts +3 -0
- package/resources/global-ip-allowed-ports.d.mts.map +1 -1
- package/resources/global-ip-allowed-ports.d.ts +3 -0
- package/resources/global-ip-allowed-ports.d.ts.map +1 -1
- package/resources/global-ip-allowed-ports.js +3 -0
- package/resources/global-ip-allowed-ports.js.map +1 -1
- package/resources/global-ip-allowed-ports.mjs +3 -0
- package/resources/global-ip-allowed-ports.mjs.map +1 -1
- package/resources/global-ip-assignment-health.d.mts +3 -0
- package/resources/global-ip-assignment-health.d.mts.map +1 -1
- package/resources/global-ip-assignment-health.d.ts +3 -0
- package/resources/global-ip-assignment-health.d.ts.map +1 -1
- package/resources/global-ip-assignment-health.js +3 -0
- package/resources/global-ip-assignment-health.js.map +1 -1
- package/resources/global-ip-assignment-health.mjs +3 -0
- package/resources/global-ip-assignment-health.mjs.map +1 -1
- package/resources/global-ip-assignments-usage.d.mts +3 -0
- package/resources/global-ip-assignments-usage.d.mts.map +1 -1
- package/resources/global-ip-assignments-usage.d.ts +3 -0
- package/resources/global-ip-assignments-usage.d.ts.map +1 -1
- package/resources/global-ip-assignments-usage.js +3 -0
- package/resources/global-ip-assignments-usage.js.map +1 -1
- package/resources/global-ip-assignments-usage.mjs +3 -0
- package/resources/global-ip-assignments-usage.mjs.map +1 -1
- package/resources/global-ip-assignments.d.mts +3 -0
- package/resources/global-ip-assignments.d.mts.map +1 -1
- package/resources/global-ip-assignments.d.ts +3 -0
- package/resources/global-ip-assignments.d.ts.map +1 -1
- package/resources/global-ip-assignments.js +3 -0
- package/resources/global-ip-assignments.js.map +1 -1
- package/resources/global-ip-assignments.mjs +3 -0
- package/resources/global-ip-assignments.mjs.map +1 -1
- package/resources/global-ip-health-check-types.d.mts +3 -0
- package/resources/global-ip-health-check-types.d.mts.map +1 -1
- package/resources/global-ip-health-check-types.d.ts +3 -0
- package/resources/global-ip-health-check-types.d.ts.map +1 -1
- package/resources/global-ip-health-check-types.js +3 -0
- package/resources/global-ip-health-check-types.js.map +1 -1
- package/resources/global-ip-health-check-types.mjs +3 -0
- package/resources/global-ip-health-check-types.mjs.map +1 -1
- package/resources/global-ip-health-checks.d.mts +3 -0
- package/resources/global-ip-health-checks.d.mts.map +1 -1
- package/resources/global-ip-health-checks.d.ts +3 -0
- package/resources/global-ip-health-checks.d.ts.map +1 -1
- package/resources/global-ip-health-checks.js +3 -0
- package/resources/global-ip-health-checks.js.map +1 -1
- package/resources/global-ip-health-checks.mjs +3 -0
- package/resources/global-ip-health-checks.mjs.map +1 -1
- package/resources/global-ip-latency.d.mts +3 -0
- package/resources/global-ip-latency.d.mts.map +1 -1
- package/resources/global-ip-latency.d.ts +3 -0
- package/resources/global-ip-latency.d.ts.map +1 -1
- package/resources/global-ip-latency.js +3 -0
- package/resources/global-ip-latency.js.map +1 -1
- package/resources/global-ip-latency.mjs +3 -0
- package/resources/global-ip-latency.mjs.map +1 -1
- package/resources/global-ip-protocols.d.mts +3 -0
- package/resources/global-ip-protocols.d.mts.map +1 -1
- package/resources/global-ip-protocols.d.ts +3 -0
- package/resources/global-ip-protocols.d.ts.map +1 -1
- package/resources/global-ip-protocols.js +3 -0
- package/resources/global-ip-protocols.js.map +1 -1
- package/resources/global-ip-protocols.mjs +3 -0
- package/resources/global-ip-protocols.mjs.map +1 -1
- package/resources/global-ip-usage.d.mts +3 -0
- package/resources/global-ip-usage.d.mts.map +1 -1
- package/resources/global-ip-usage.d.ts +3 -0
- package/resources/global-ip-usage.d.ts.map +1 -1
- package/resources/global-ip-usage.js +3 -0
- package/resources/global-ip-usage.js.map +1 -1
- package/resources/global-ip-usage.mjs +3 -0
- package/resources/global-ip-usage.mjs.map +1 -1
- package/resources/global-ips.d.mts +3 -0
- package/resources/global-ips.d.mts.map +1 -1
- package/resources/global-ips.d.ts +3 -0
- package/resources/global-ips.d.ts.map +1 -1
- package/resources/global-ips.js +3 -0
- package/resources/global-ips.js.map +1 -1
- package/resources/global-ips.mjs +3 -0
- package/resources/global-ips.mjs.map +1 -1
- package/resources/inbound-channels.d.mts +3 -0
- package/resources/inbound-channels.d.mts.map +1 -1
- package/resources/inbound-channels.d.ts +3 -0
- package/resources/inbound-channels.d.ts.map +1 -1
- package/resources/inbound-channels.js +3 -0
- package/resources/inbound-channels.js.map +1 -1
- package/resources/inbound-channels.mjs +3 -0
- package/resources/inbound-channels.mjs.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/inexplicit-number-orders.d.mts +3 -0
- package/resources/inexplicit-number-orders.d.mts.map +1 -1
- package/resources/inexplicit-number-orders.d.ts +3 -0
- package/resources/inexplicit-number-orders.d.ts.map +1 -1
- package/resources/inexplicit-number-orders.js +3 -0
- package/resources/inexplicit-number-orders.js.map +1 -1
- package/resources/inexplicit-number-orders.mjs +3 -0
- package/resources/inexplicit-number-orders.mjs.map +1 -1
- package/resources/integration-secrets.d.mts +3 -0
- package/resources/integration-secrets.d.mts.map +1 -1
- package/resources/integration-secrets.d.ts +3 -0
- package/resources/integration-secrets.d.ts.map +1 -1
- package/resources/integration-secrets.js +3 -0
- package/resources/integration-secrets.js.map +1 -1
- package/resources/integration-secrets.mjs +3 -0
- package/resources/integration-secrets.mjs.map +1 -1
- package/resources/inventory-coverage.d.mts +3 -0
- package/resources/inventory-coverage.d.mts.map +1 -1
- package/resources/inventory-coverage.d.ts +3 -0
- package/resources/inventory-coverage.d.ts.map +1 -1
- package/resources/inventory-coverage.js +3 -0
- package/resources/inventory-coverage.js.map +1 -1
- package/resources/inventory-coverage.mjs +3 -0
- package/resources/inventory-coverage.mjs.map +1 -1
- package/resources/ip-connections.d.mts +3 -0
- package/resources/ip-connections.d.mts.map +1 -1
- package/resources/ip-connections.d.ts +3 -0
- package/resources/ip-connections.d.ts.map +1 -1
- package/resources/ip-connections.js +3 -0
- package/resources/ip-connections.js.map +1 -1
- package/resources/ip-connections.mjs +3 -0
- package/resources/ip-connections.mjs.map +1 -1
- package/resources/ips.d.mts +3 -0
- package/resources/ips.d.mts.map +1 -1
- package/resources/ips.d.ts +3 -0
- package/resources/ips.d.ts.map +1 -1
- package/resources/ips.js +3 -0
- package/resources/ips.js.map +1 -1
- package/resources/ips.mjs +3 -0
- package/resources/ips.mjs.map +1 -1
- package/resources/ledger-billing-group-reports.d.mts +3 -0
- package/resources/ledger-billing-group-reports.d.mts.map +1 -1
- package/resources/ledger-billing-group-reports.d.ts +3 -0
- package/resources/ledger-billing-group-reports.d.ts.map +1 -1
- package/resources/ledger-billing-group-reports.js +3 -0
- package/resources/ledger-billing-group-reports.js.map +1 -1
- package/resources/ledger-billing-group-reports.mjs +3 -0
- package/resources/ledger-billing-group-reports.mjs.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/messaging.d.mts +3 -0
- package/resources/legacy/reporting/batch-detail-records/messaging.d.mts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/messaging.d.ts +3 -0
- package/resources/legacy/reporting/batch-detail-records/messaging.d.ts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/messaging.js +3 -0
- package/resources/legacy/reporting/batch-detail-records/messaging.js.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/messaging.mjs +3 -0
- package/resources/legacy/reporting/batch-detail-records/messaging.mjs.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.mts +3 -0
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.mts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.ts +3 -0
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.ts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.js +3 -0
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.js.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.mjs +3 -0
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.mjs.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.d.mts +3 -0
- package/resources/legacy/reporting/batch-detail-records/voice.d.mts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.d.ts +3 -0
- package/resources/legacy/reporting/batch-detail-records/voice.d.ts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.js +3 -0
- package/resources/legacy/reporting/batch-detail-records/voice.js.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.mjs +3 -0
- package/resources/legacy/reporting/batch-detail-records/voice.mjs.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.d.mts +3 -0
- package/resources/legacy/reporting/usage-reports/messaging.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.d.ts +3 -0
- package/resources/legacy/reporting/usage-reports/messaging.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.js +3 -0
- package/resources/legacy/reporting/usage-reports/messaging.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.mjs +3 -0
- package/resources/legacy/reporting/usage-reports/messaging.mjs.map +1 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.d.mts +3 -0
- package/resources/legacy/reporting/usage-reports/number-lookup.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.d.ts +3 -0
- package/resources/legacy/reporting/usage-reports/number-lookup.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.js +3 -0
- package/resources/legacy/reporting/usage-reports/number-lookup.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/number-lookup.mjs +3 -0
- package/resources/legacy/reporting/usage-reports/number-lookup.mjs.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.d.mts +3 -0
- package/resources/legacy/reporting/usage-reports/usage-reports.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.d.ts +3 -0
- package/resources/legacy/reporting/usage-reports/usage-reports.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.js +3 -0
- package/resources/legacy/reporting/usage-reports/usage-reports.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.mjs +3 -0
- package/resources/legacy/reporting/usage-reports/usage-reports.mjs.map +1 -1
- package/resources/legacy/reporting/usage-reports/voice.d.mts +3 -0
- package/resources/legacy/reporting/usage-reports/voice.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/voice.d.ts +3 -0
- package/resources/legacy/reporting/usage-reports/voice.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/voice.js +3 -0
- package/resources/legacy/reporting/usage-reports/voice.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/voice.mjs +3 -0
- package/resources/legacy/reporting/usage-reports/voice.mjs.map +1 -1
- package/resources/list.d.mts +3 -0
- package/resources/list.d.mts.map +1 -1
- package/resources/list.d.ts +3 -0
- package/resources/list.d.ts.map +1 -1
- package/resources/list.js +3 -0
- package/resources/list.js.map +1 -1
- package/resources/list.mjs +3 -0
- package/resources/list.mjs.map +1 -1
- package/resources/managed-accounts/actions.d.mts +3 -0
- package/resources/managed-accounts/actions.d.mts.map +1 -1
- package/resources/managed-accounts/actions.d.ts +3 -0
- package/resources/managed-accounts/actions.d.ts.map +1 -1
- package/resources/managed-accounts/actions.js +3 -0
- package/resources/managed-accounts/actions.js.map +1 -1
- package/resources/managed-accounts/actions.mjs +3 -0
- package/resources/managed-accounts/actions.mjs.map +1 -1
- package/resources/managed-accounts/managed-accounts.d.mts +3 -0
- package/resources/managed-accounts/managed-accounts.d.mts.map +1 -1
- package/resources/managed-accounts/managed-accounts.d.ts +3 -0
- package/resources/managed-accounts/managed-accounts.d.ts.map +1 -1
- package/resources/managed-accounts/managed-accounts.js +3 -0
- package/resources/managed-accounts/managed-accounts.js.map +1 -1
- package/resources/managed-accounts/managed-accounts.mjs +3 -0
- package/resources/managed-accounts/managed-accounts.mjs.map +1 -1
- package/resources/media.d.mts +3 -0
- package/resources/media.d.mts.map +1 -1
- package/resources/media.d.ts +3 -0
- package/resources/media.d.ts.map +1 -1
- package/resources/media.js +3 -0
- package/resources/media.js.map +1 -1
- package/resources/media.mjs +3 -0
- package/resources/media.mjs.map +1 -1
- package/resources/messages/rcs.d.mts +3 -0
- package/resources/messages/rcs.d.mts.map +1 -1
- package/resources/messages/rcs.d.ts +3 -0
- package/resources/messages/rcs.d.ts.map +1 -1
- package/resources/messages/rcs.js +3 -0
- package/resources/messages/rcs.js.map +1 -1
- package/resources/messages/rcs.mjs +3 -0
- package/resources/messages/rcs.mjs.map +1 -1
- package/resources/messaging/rcs/agents.d.mts +3 -0
- package/resources/messaging/rcs/agents.d.mts.map +1 -1
- package/resources/messaging/rcs/agents.d.ts +3 -0
- package/resources/messaging/rcs/agents.d.ts.map +1 -1
- package/resources/messaging/rcs/agents.js +3 -0
- package/resources/messaging/rcs/agents.js.map +1 -1
- package/resources/messaging/rcs/agents.mjs +3 -0
- package/resources/messaging/rcs/agents.mjs.map +1 -1
- package/resources/messaging/rcs/rcs.d.mts +3 -0
- package/resources/messaging/rcs/rcs.d.mts.map +1 -1
- package/resources/messaging/rcs/rcs.d.ts +3 -0
- package/resources/messaging/rcs/rcs.d.ts.map +1 -1
- package/resources/messaging/rcs/rcs.js +3 -0
- package/resources/messaging/rcs/rcs.js.map +1 -1
- package/resources/messaging/rcs/rcs.mjs +3 -0
- package/resources/messaging/rcs/rcs.mjs.map +1 -1
- package/resources/messaging-10dlc/brand/brand.d.mts +3 -0
- package/resources/messaging-10dlc/brand/brand.d.mts.map +1 -1
- package/resources/messaging-10dlc/brand/brand.d.ts +3 -0
- package/resources/messaging-10dlc/brand/brand.d.ts.map +1 -1
- package/resources/messaging-10dlc/brand/brand.js +3 -0
- package/resources/messaging-10dlc/brand/brand.js.map +1 -1
- package/resources/messaging-10dlc/brand/brand.mjs +3 -0
- package/resources/messaging-10dlc/brand/brand.mjs.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.d.mts +3 -0
- package/resources/messaging-10dlc/brand/external-vetting.d.mts.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.d.ts +3 -0
- package/resources/messaging-10dlc/brand/external-vetting.d.ts.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.js +3 -0
- package/resources/messaging-10dlc/brand/external-vetting.js.map +1 -1
- package/resources/messaging-10dlc/brand/external-vetting.mjs +3 -0
- package/resources/messaging-10dlc/brand/external-vetting.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 +3 -0
- package/resources/messaging-10dlc/campaign/campaign.js.map +1 -1
- package/resources/messaging-10dlc/campaign/campaign.mjs +3 -0
- package/resources/messaging-10dlc/campaign/campaign.mjs.map +1 -1
- package/resources/messaging-10dlc/campaign/osr.d.mts +3 -0
- package/resources/messaging-10dlc/campaign/osr.d.mts.map +1 -1
- package/resources/messaging-10dlc/campaign/osr.d.ts +3 -0
- package/resources/messaging-10dlc/campaign/osr.d.ts.map +1 -1
- package/resources/messaging-10dlc/campaign/osr.js +3 -0
- package/resources/messaging-10dlc/campaign/osr.js.map +1 -1
- package/resources/messaging-10dlc/campaign/osr.mjs +3 -0
- package/resources/messaging-10dlc/campaign/osr.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/usecase.js +3 -0
- package/resources/messaging-10dlc/campaign/usecase.js.map +1 -1
- package/resources/messaging-10dlc/campaign/usecase.mjs +3 -0
- package/resources/messaging-10dlc/campaign/usecase.mjs.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/campaign-builder/brand.js +3 -0
- package/resources/messaging-10dlc/campaign-builder/brand.js.map +1 -1
- package/resources/messaging-10dlc/campaign-builder/brand.mjs +3 -0
- package/resources/messaging-10dlc/campaign-builder/brand.mjs.map +1 -1
- package/resources/messaging-10dlc/campaign-builder/campaign-builder.d.mts +3 -0
- package/resources/messaging-10dlc/campaign-builder/campaign-builder.d.mts.map +1 -1
- package/resources/messaging-10dlc/campaign-builder/campaign-builder.d.ts +3 -0
- package/resources/messaging-10dlc/campaign-builder/campaign-builder.d.ts.map +1 -1
- package/resources/messaging-10dlc/campaign-builder/campaign-builder.js +3 -0
- package/resources/messaging-10dlc/campaign-builder/campaign-builder.js.map +1 -1
- package/resources/messaging-10dlc/campaign-builder/campaign-builder.mjs +3 -0
- package/resources/messaging-10dlc/campaign-builder/campaign-builder.mjs.map +1 -1
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.mts +3 -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 +3 -0
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.ts.map +1 -1
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.js +3 -0
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.js.map +1 -1
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.mjs +3 -0
- package/resources/messaging-10dlc/phone-number-assignment-by-profile.mjs.map +1 -1
- package/resources/messaging-10dlc/phone-number-campaigns.d.mts +3 -0
- package/resources/messaging-10dlc/phone-number-campaigns.d.mts.map +1 -1
- package/resources/messaging-10dlc/phone-number-campaigns.d.ts +3 -0
- package/resources/messaging-10dlc/phone-number-campaigns.d.ts.map +1 -1
- package/resources/messaging-10dlc/phone-number-campaigns.js +3 -0
- package/resources/messaging-10dlc/phone-number-campaigns.js.map +1 -1
- package/resources/messaging-10dlc/phone-number-campaigns.mjs +3 -0
- package/resources/messaging-10dlc/phone-number-campaigns.mjs.map +1 -1
- package/resources/messaging-hosted-number-orders/actions.d.mts +3 -0
- package/resources/messaging-hosted-number-orders/actions.d.mts.map +1 -1
- package/resources/messaging-hosted-number-orders/actions.d.ts +3 -0
- package/resources/messaging-hosted-number-orders/actions.d.ts.map +1 -1
- package/resources/messaging-hosted-number-orders/actions.js +3 -0
- package/resources/messaging-hosted-number-orders/actions.js.map +1 -1
- package/resources/messaging-hosted-number-orders/actions.mjs +3 -0
- package/resources/messaging-hosted-number-orders/actions.mjs.map +1 -1
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.d.mts +3 -0
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.d.mts.map +1 -1
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.d.ts +3 -0
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.d.ts.map +1 -1
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.js +3 -0
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.js.map +1 -1
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.mjs +3 -0
- package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.mjs.map +1 -1
- package/resources/messaging-numbers-bulk-updates.d.mts +3 -0
- package/resources/messaging-numbers-bulk-updates.d.mts.map +1 -1
- package/resources/messaging-numbers-bulk-updates.d.ts +3 -0
- package/resources/messaging-numbers-bulk-updates.d.ts.map +1 -1
- package/resources/messaging-numbers-bulk-updates.js +3 -0
- package/resources/messaging-numbers-bulk-updates.js.map +1 -1
- package/resources/messaging-numbers-bulk-updates.mjs +3 -0
- package/resources/messaging-numbers-bulk-updates.mjs.map +1 -1
- package/resources/messaging-optouts.d.mts +3 -0
- package/resources/messaging-optouts.d.mts.map +1 -1
- package/resources/messaging-optouts.d.ts +3 -0
- package/resources/messaging-optouts.d.ts.map +1 -1
- package/resources/messaging-optouts.js +3 -0
- package/resources/messaging-optouts.js.map +1 -1
- package/resources/messaging-optouts.mjs +3 -0
- package/resources/messaging-optouts.mjs.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.d.mts +3 -0
- package/resources/messaging-profiles/autoresp-configs.d.mts.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.d.ts +3 -0
- package/resources/messaging-profiles/autoresp-configs.d.ts.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.js +3 -0
- package/resources/messaging-profiles/autoresp-configs.js.map +1 -1
- package/resources/messaging-profiles/autoresp-configs.mjs +3 -0
- package/resources/messaging-profiles/autoresp-configs.mjs.map +1 -1
- package/resources/messaging-tollfree/verification/requests.d.mts +3 -0
- package/resources/messaging-tollfree/verification/requests.d.mts.map +1 -1
- package/resources/messaging-tollfree/verification/requests.d.ts +3 -0
- package/resources/messaging-tollfree/verification/requests.d.ts.map +1 -1
- package/resources/messaging-tollfree/verification/requests.js +3 -0
- package/resources/messaging-tollfree/verification/requests.js.map +1 -1
- package/resources/messaging-tollfree/verification/requests.mjs +3 -0
- package/resources/messaging-tollfree/verification/requests.mjs.map +1 -1
- package/resources/messaging-url-domains.d.mts +3 -0
- package/resources/messaging-url-domains.d.mts.map +1 -1
- package/resources/messaging-url-domains.d.ts +3 -0
- package/resources/messaging-url-domains.d.ts.map +1 -1
- package/resources/messaging-url-domains.js +3 -0
- package/resources/messaging-url-domains.js.map +1 -1
- package/resources/messaging-url-domains.mjs +3 -0
- package/resources/messaging-url-domains.mjs.map +1 -1
- package/resources/mobile-network-operators.d.mts +3 -0
- package/resources/mobile-network-operators.d.mts.map +1 -1
- package/resources/mobile-network-operators.d.ts +3 -0
- package/resources/mobile-network-operators.d.ts.map +1 -1
- package/resources/mobile-network-operators.js +3 -0
- package/resources/mobile-network-operators.js.map +1 -1
- package/resources/mobile-network-operators.mjs +3 -0
- package/resources/mobile-network-operators.mjs.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.mts +3 -0
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.mts.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.ts +3 -0
- package/resources/mobile-phone-numbers/mobile-phone-numbers.d.ts.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.js +3 -0
- package/resources/mobile-phone-numbers/mobile-phone-numbers.js.map +1 -1
- package/resources/mobile-phone-numbers/mobile-phone-numbers.mjs +3 -0
- package/resources/mobile-phone-numbers/mobile-phone-numbers.mjs.map +1 -1
- package/resources/mobile-push-credentials.d.mts +3 -0
- package/resources/mobile-push-credentials.d.mts.map +1 -1
- package/resources/mobile-push-credentials.d.ts +3 -0
- package/resources/mobile-push-credentials.d.ts.map +1 -1
- package/resources/mobile-push-credentials.js +3 -0
- package/resources/mobile-push-credentials.js.map +1 -1
- package/resources/mobile-push-credentials.mjs +3 -0
- package/resources/mobile-push-credentials.mjs.map +1 -1
- package/resources/mobile-voice-connections.d.mts +3 -0
- package/resources/mobile-voice-connections.d.mts.map +1 -1
- package/resources/mobile-voice-connections.d.ts +3 -0
- package/resources/mobile-voice-connections.d.ts.map +1 -1
- package/resources/mobile-voice-connections.js +3 -0
- package/resources/mobile-voice-connections.js.map +1 -1
- package/resources/mobile-voice-connections.mjs +3 -0
- package/resources/mobile-voice-connections.mjs.map +1 -1
- package/resources/networks/default-gateway.d.mts +3 -0
- package/resources/networks/default-gateway.d.mts.map +1 -1
- package/resources/networks/default-gateway.d.ts +3 -0
- package/resources/networks/default-gateway.d.ts.map +1 -1
- package/resources/networks/default-gateway.js +3 -0
- package/resources/networks/default-gateway.js.map +1 -1
- package/resources/networks/default-gateway.mjs +3 -0
- package/resources/networks/default-gateway.mjs.map +1 -1
- package/resources/networks/networks.d.mts +3 -0
- package/resources/networks/networks.d.mts.map +1 -1
- package/resources/networks/networks.d.ts +3 -0
- package/resources/networks/networks.d.ts.map +1 -1
- package/resources/networks/networks.js +3 -0
- package/resources/networks/networks.js.map +1 -1
- package/resources/networks/networks.mjs +3 -0
- package/resources/networks/networks.mjs.map +1 -1
- package/resources/notification-channels.d.mts +3 -0
- package/resources/notification-channels.d.mts.map +1 -1
- package/resources/notification-channels.d.ts +3 -0
- package/resources/notification-channels.d.ts.map +1 -1
- package/resources/notification-channels.js +3 -0
- package/resources/notification-channels.js.map +1 -1
- package/resources/notification-channels.mjs +3 -0
- package/resources/notification-channels.mjs.map +1 -1
- package/resources/notification-event-conditions.d.mts +3 -0
- package/resources/notification-event-conditions.d.mts.map +1 -1
- package/resources/notification-event-conditions.d.ts +3 -0
- package/resources/notification-event-conditions.d.ts.map +1 -1
- package/resources/notification-event-conditions.js +3 -0
- package/resources/notification-event-conditions.js.map +1 -1
- package/resources/notification-event-conditions.mjs +3 -0
- package/resources/notification-event-conditions.mjs.map +1 -1
- package/resources/notification-events.d.mts +3 -0
- package/resources/notification-events.d.mts.map +1 -1
- package/resources/notification-events.d.ts +3 -0
- package/resources/notification-events.d.ts.map +1 -1
- package/resources/notification-events.js +3 -0
- package/resources/notification-events.js.map +1 -1
- package/resources/notification-events.mjs +3 -0
- package/resources/notification-events.mjs.map +1 -1
- package/resources/notification-profiles.d.mts +3 -0
- package/resources/notification-profiles.d.mts.map +1 -1
- package/resources/notification-profiles.d.ts +3 -0
- package/resources/notification-profiles.d.ts.map +1 -1
- package/resources/notification-profiles.js +3 -0
- package/resources/notification-profiles.js.map +1 -1
- package/resources/notification-profiles.mjs +3 -0
- package/resources/notification-profiles.mjs.map +1 -1
- package/resources/notification-settings.d.mts +3 -0
- package/resources/notification-settings.d.mts.map +1 -1
- package/resources/notification-settings.d.ts +3 -0
- package/resources/notification-settings.d.ts.map +1 -1
- package/resources/notification-settings.js +3 -0
- package/resources/notification-settings.js.map +1 -1
- package/resources/notification-settings.mjs +3 -0
- package/resources/notification-settings.mjs.map +1 -1
- package/resources/number-lookup.d.mts +3 -0
- package/resources/number-lookup.d.mts.map +1 -1
- package/resources/number-lookup.d.ts +3 -0
- package/resources/number-lookup.d.ts.map +1 -1
- package/resources/number-lookup.js +3 -0
- package/resources/number-lookup.js.map +1 -1
- package/resources/number-lookup.mjs +3 -0
- package/resources/number-lookup.mjs.map +1 -1
- package/resources/number-orders.d.mts +3 -0
- package/resources/number-orders.d.mts.map +1 -1
- package/resources/number-orders.d.ts +3 -0
- package/resources/number-orders.d.ts.map +1 -1
- package/resources/number-orders.js +3 -0
- package/resources/number-orders.js.map +1 -1
- package/resources/number-orders.mjs +3 -0
- package/resources/number-orders.mjs.map +1 -1
- package/resources/number-reservations/actions.d.mts +3 -0
- package/resources/number-reservations/actions.d.mts.map +1 -1
- package/resources/number-reservations/actions.d.ts +3 -0
- package/resources/number-reservations/actions.d.ts.map +1 -1
- package/resources/number-reservations/actions.js +3 -0
- package/resources/number-reservations/actions.js.map +1 -1
- package/resources/number-reservations/actions.mjs +3 -0
- package/resources/number-reservations/actions.mjs.map +1 -1
- package/resources/number-reservations/number-reservations.d.mts +3 -0
- package/resources/number-reservations/number-reservations.d.mts.map +1 -1
- package/resources/number-reservations/number-reservations.d.ts +3 -0
- package/resources/number-reservations/number-reservations.d.ts.map +1 -1
- package/resources/number-reservations/number-reservations.js +3 -0
- package/resources/number-reservations/number-reservations.js.map +1 -1
- package/resources/number-reservations/number-reservations.mjs +3 -0
- package/resources/number-reservations/number-reservations.mjs.map +1 -1
- package/resources/operator-connect/actions.d.mts +3 -0
- package/resources/operator-connect/actions.d.mts.map +1 -1
- package/resources/operator-connect/actions.d.ts +3 -0
- package/resources/operator-connect/actions.d.ts.map +1 -1
- package/resources/operator-connect/actions.js +3 -0
- package/resources/operator-connect/actions.js.map +1 -1
- package/resources/operator-connect/actions.mjs +3 -0
- package/resources/operator-connect/actions.mjs.map +1 -1
- package/resources/organizations/users/actions.d.mts +3 -0
- package/resources/organizations/users/actions.d.mts.map +1 -1
- package/resources/organizations/users/actions.d.ts +3 -0
- package/resources/organizations/users/actions.d.ts.map +1 -1
- package/resources/organizations/users/actions.js +3 -0
- package/resources/organizations/users/actions.js.map +1 -1
- package/resources/organizations/users/actions.mjs +3 -0
- package/resources/organizations/users/actions.mjs.map +1 -1
- package/resources/organizations/users/users.d.mts +3 -0
- package/resources/organizations/users/users.d.mts.map +1 -1
- package/resources/organizations/users/users.d.ts +3 -0
- package/resources/organizations/users/users.d.ts.map +1 -1
- package/resources/organizations/users/users.js +3 -0
- package/resources/organizations/users/users.js.map +1 -1
- package/resources/organizations/users/users.mjs +3 -0
- package/resources/organizations/users/users.mjs.map +1 -1
- package/resources/ota-updates.d.mts +3 -0
- package/resources/ota-updates.d.mts.map +1 -1
- package/resources/ota-updates.d.ts +3 -0
- package/resources/ota-updates.d.ts.map +1 -1
- package/resources/ota-updates.js +3 -0
- package/resources/ota-updates.js.map +1 -1
- package/resources/ota-updates.mjs +3 -0
- package/resources/ota-updates.mjs.map +1 -1
- package/resources/outbound-voice-profiles.d.mts +3 -0
- package/resources/outbound-voice-profiles.d.mts.map +1 -1
- package/resources/outbound-voice-profiles.d.ts +3 -0
- package/resources/outbound-voice-profiles.d.ts.map +1 -1
- package/resources/outbound-voice-profiles.js +3 -0
- package/resources/outbound-voice-profiles.js.map +1 -1
- package/resources/outbound-voice-profiles.mjs +3 -0
- package/resources/outbound-voice-profiles.mjs.map +1 -1
- package/resources/payment/auto-recharge-prefs.d.mts +3 -0
- package/resources/payment/auto-recharge-prefs.d.mts.map +1 -1
- package/resources/payment/auto-recharge-prefs.d.ts +3 -0
- package/resources/payment/auto-recharge-prefs.d.ts.map +1 -1
- package/resources/payment/auto-recharge-prefs.js +3 -0
- package/resources/payment/auto-recharge-prefs.js.map +1 -1
- package/resources/payment/auto-recharge-prefs.mjs +3 -0
- package/resources/payment/auto-recharge-prefs.mjs.map +1 -1
- package/resources/payment/payment.d.mts +3 -0
- package/resources/payment/payment.d.mts.map +1 -1
- package/resources/payment/payment.d.ts +3 -0
- package/resources/payment/payment.d.ts.map +1 -1
- package/resources/payment/payment.js +3 -0
- package/resources/payment/payment.js.map +1 -1
- package/resources/payment/payment.mjs +3 -0
- package/resources/payment/payment.mjs.map +1 -1
- package/resources/phone-number-blocks/jobs.d.mts +3 -0
- package/resources/phone-number-blocks/jobs.d.mts.map +1 -1
- package/resources/phone-number-blocks/jobs.d.ts +3 -0
- package/resources/phone-number-blocks/jobs.d.ts.map +1 -1
- package/resources/phone-number-blocks/jobs.js +3 -0
- package/resources/phone-number-blocks/jobs.js.map +1 -1
- package/resources/phone-number-blocks/jobs.mjs +3 -0
- package/resources/phone-number-blocks/jobs.mjs.map +1 -1
- package/resources/phone-numbers/actions.d.mts +3 -0
- package/resources/phone-numbers/actions.d.mts.map +1 -1
- package/resources/phone-numbers/actions.d.ts +3 -0
- package/resources/phone-numbers/actions.d.ts.map +1 -1
- package/resources/phone-numbers/actions.js +3 -0
- package/resources/phone-numbers/actions.js.map +1 -1
- package/resources/phone-numbers/actions.mjs +3 -0
- package/resources/phone-numbers/actions.mjs.map +1 -1
- package/resources/phone-numbers/jobs.d.mts +3 -0
- package/resources/phone-numbers/jobs.d.mts.map +1 -1
- package/resources/phone-numbers/jobs.d.ts +3 -0
- package/resources/phone-numbers/jobs.d.ts.map +1 -1
- package/resources/phone-numbers/jobs.js +3 -0
- package/resources/phone-numbers/jobs.js.map +1 -1
- package/resources/phone-numbers/jobs.mjs +3 -0
- package/resources/phone-numbers/jobs.mjs.map +1 -1
- package/resources/phone-numbers/messaging.d.mts +3 -0
- package/resources/phone-numbers/messaging.d.mts.map +1 -1
- package/resources/phone-numbers/messaging.d.ts +3 -0
- package/resources/phone-numbers/messaging.d.ts.map +1 -1
- package/resources/phone-numbers/messaging.js +3 -0
- package/resources/phone-numbers/messaging.js.map +1 -1
- package/resources/phone-numbers/messaging.mjs +3 -0
- package/resources/phone-numbers/messaging.mjs.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.mts +3 -0
- package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.ts +3 -0
- package/resources/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/phone-numbers/phone-numbers.js +3 -0
- package/resources/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/phone-numbers/phone-numbers.mjs +3 -0
- package/resources/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/phone-numbers/voice.d.mts +3 -0
- package/resources/phone-numbers/voice.d.mts.map +1 -1
- package/resources/phone-numbers/voice.d.ts +3 -0
- package/resources/phone-numbers/voice.d.ts.map +1 -1
- package/resources/phone-numbers/voice.js +3 -0
- package/resources/phone-numbers/voice.js.map +1 -1
- package/resources/phone-numbers/voice.mjs +3 -0
- package/resources/phone-numbers/voice.mjs.map +1 -1
- package/resources/phone-numbers/voicemail.d.mts +3 -0
- package/resources/phone-numbers/voicemail.d.mts.map +1 -1
- package/resources/phone-numbers/voicemail.d.ts +3 -0
- package/resources/phone-numbers/voicemail.d.ts.map +1 -1
- package/resources/phone-numbers/voicemail.js +3 -0
- package/resources/phone-numbers/voicemail.js.map +1 -1
- package/resources/phone-numbers/voicemail.mjs +3 -0
- package/resources/phone-numbers/voicemail.mjs.map +1 -1
- package/resources/phone-numbers-regulatory-requirements.d.mts +3 -0
- package/resources/phone-numbers-regulatory-requirements.d.mts.map +1 -1
- package/resources/phone-numbers-regulatory-requirements.d.ts +3 -0
- package/resources/phone-numbers-regulatory-requirements.d.ts.map +1 -1
- package/resources/phone-numbers-regulatory-requirements.js +3 -0
- package/resources/phone-numbers-regulatory-requirements.js.map +1 -1
- package/resources/phone-numbers-regulatory-requirements.mjs +3 -0
- package/resources/phone-numbers-regulatory-requirements.mjs.map +1 -1
- package/resources/portability-checks.d.mts +3 -0
- package/resources/portability-checks.d.mts.map +1 -1
- package/resources/portability-checks.d.ts +3 -0
- package/resources/portability-checks.d.ts.map +1 -1
- package/resources/portability-checks.js +3 -0
- package/resources/portability-checks.js.map +1 -1
- package/resources/portability-checks.mjs +3 -0
- package/resources/portability-checks.mjs.map +1 -1
- package/resources/porting/events.d.mts +9 -6
- package/resources/porting/events.d.mts.map +1 -1
- package/resources/porting/events.d.ts +9 -6
- package/resources/porting/events.d.ts.map +1 -1
- package/resources/porting/events.js +3 -0
- package/resources/porting/events.js.map +1 -1
- package/resources/porting/events.mjs +3 -0
- package/resources/porting/events.mjs.map +1 -1
- package/resources/porting/loa-configurations.d.mts +3 -0
- package/resources/porting/loa-configurations.d.mts.map +1 -1
- package/resources/porting/loa-configurations.d.ts +3 -0
- package/resources/porting/loa-configurations.d.ts.map +1 -1
- package/resources/porting/loa-configurations.js +3 -0
- package/resources/porting/loa-configurations.js.map +1 -1
- package/resources/porting/loa-configurations.mjs +3 -0
- package/resources/porting/loa-configurations.mjs.map +1 -1
- package/resources/porting/porting.d.mts +3 -0
- package/resources/porting/porting.d.mts.map +1 -1
- package/resources/porting/porting.d.ts +3 -0
- package/resources/porting/porting.d.ts.map +1 -1
- package/resources/porting/porting.js +3 -0
- package/resources/porting/porting.js.map +1 -1
- package/resources/porting/porting.mjs +3 -0
- package/resources/porting/porting.mjs.map +1 -1
- package/resources/porting/reports.d.mts +3 -0
- package/resources/porting/reports.d.mts.map +1 -1
- package/resources/porting/reports.d.ts +3 -0
- package/resources/porting/reports.d.ts.map +1 -1
- package/resources/porting/reports.js +3 -0
- package/resources/porting/reports.js.map +1 -1
- package/resources/porting/reports.mjs +3 -0
- package/resources/porting/reports.mjs.map +1 -1
- package/resources/porting-orders/action-requirements.d.mts +3 -0
- package/resources/porting-orders/action-requirements.d.mts.map +1 -1
- package/resources/porting-orders/action-requirements.d.ts +3 -0
- package/resources/porting-orders/action-requirements.d.ts.map +1 -1
- package/resources/porting-orders/action-requirements.js +3 -0
- package/resources/porting-orders/action-requirements.js.map +1 -1
- package/resources/porting-orders/action-requirements.mjs +3 -0
- package/resources/porting-orders/action-requirements.mjs.map +1 -1
- package/resources/porting-orders/actions.d.mts +3 -0
- package/resources/porting-orders/actions.d.mts.map +1 -1
- package/resources/porting-orders/actions.d.ts +3 -0
- package/resources/porting-orders/actions.d.ts.map +1 -1
- package/resources/porting-orders/actions.js +3 -0
- package/resources/porting-orders/actions.js.map +1 -1
- package/resources/porting-orders/actions.mjs +3 -0
- package/resources/porting-orders/actions.mjs.map +1 -1
- package/resources/porting-orders/activation-jobs.d.mts +3 -0
- package/resources/porting-orders/activation-jobs.d.mts.map +1 -1
- package/resources/porting-orders/activation-jobs.d.ts +3 -0
- package/resources/porting-orders/activation-jobs.d.ts.map +1 -1
- package/resources/porting-orders/activation-jobs.js +3 -0
- package/resources/porting-orders/activation-jobs.js.map +1 -1
- package/resources/porting-orders/activation-jobs.mjs +3 -0
- package/resources/porting-orders/activation-jobs.mjs.map +1 -1
- package/resources/porting-orders/additional-documents.d.mts +3 -0
- package/resources/porting-orders/additional-documents.d.mts.map +1 -1
- package/resources/porting-orders/additional-documents.d.ts +3 -0
- package/resources/porting-orders/additional-documents.d.ts.map +1 -1
- package/resources/porting-orders/additional-documents.js +3 -0
- package/resources/porting-orders/additional-documents.js.map +1 -1
- package/resources/porting-orders/additional-documents.mjs +3 -0
- package/resources/porting-orders/additional-documents.mjs.map +1 -1
- package/resources/porting-orders/associated-phone-numbers.d.mts +3 -0
- package/resources/porting-orders/associated-phone-numbers.d.mts.map +1 -1
- package/resources/porting-orders/associated-phone-numbers.d.ts +3 -0
- package/resources/porting-orders/associated-phone-numbers.d.ts.map +1 -1
- package/resources/porting-orders/associated-phone-numbers.js +3 -0
- package/resources/porting-orders/associated-phone-numbers.js.map +1 -1
- package/resources/porting-orders/associated-phone-numbers.mjs +3 -0
- package/resources/porting-orders/associated-phone-numbers.mjs.map +1 -1
- package/resources/porting-orders/comments.d.mts +3 -0
- package/resources/porting-orders/comments.d.mts.map +1 -1
- package/resources/porting-orders/comments.d.ts +3 -0
- package/resources/porting-orders/comments.d.ts.map +1 -1
- package/resources/porting-orders/comments.js +3 -0
- package/resources/porting-orders/comments.js.map +1 -1
- package/resources/porting-orders/comments.mjs +3 -0
- package/resources/porting-orders/comments.mjs.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.mts +3 -0
- package/resources/porting-orders/phone-number-blocks.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.ts +3 -0
- package/resources/porting-orders/phone-number-blocks.d.ts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.js +3 -0
- package/resources/porting-orders/phone-number-blocks.js.map +1 -1
- package/resources/porting-orders/phone-number-blocks.mjs +3 -0
- package/resources/porting-orders/phone-number-blocks.mjs.map +1 -1
- package/resources/porting-orders/phone-number-configurations.d.mts +3 -0
- package/resources/porting-orders/phone-number-configurations.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-configurations.d.ts +3 -0
- package/resources/porting-orders/phone-number-configurations.d.ts.map +1 -1
- package/resources/porting-orders/phone-number-configurations.js +3 -0
- package/resources/porting-orders/phone-number-configurations.js.map +1 -1
- package/resources/porting-orders/phone-number-configurations.mjs +3 -0
- package/resources/porting-orders/phone-number-configurations.mjs.map +1 -1
- package/resources/porting-orders/phone-number-extensions.d.mts +3 -0
- package/resources/porting-orders/phone-number-extensions.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-extensions.d.ts +3 -0
- package/resources/porting-orders/phone-number-extensions.d.ts.map +1 -1
- package/resources/porting-orders/phone-number-extensions.js +3 -0
- package/resources/porting-orders/phone-number-extensions.js.map +1 -1
- package/resources/porting-orders/phone-number-extensions.mjs +3 -0
- package/resources/porting-orders/phone-number-extensions.mjs.map +1 -1
- package/resources/porting-orders/porting-orders.d.mts +3 -0
- package/resources/porting-orders/porting-orders.d.mts.map +1 -1
- package/resources/porting-orders/porting-orders.d.ts +3 -0
- package/resources/porting-orders/porting-orders.d.ts.map +1 -1
- package/resources/porting-orders/porting-orders.js +3 -0
- package/resources/porting-orders/porting-orders.js.map +1 -1
- package/resources/porting-orders/porting-orders.mjs +3 -0
- package/resources/porting-orders/porting-orders.mjs.map +1 -1
- package/resources/porting-orders/verification-codes.d.mts +3 -0
- package/resources/porting-orders/verification-codes.d.mts.map +1 -1
- package/resources/porting-orders/verification-codes.d.ts +3 -0
- package/resources/porting-orders/verification-codes.d.ts.map +1 -1
- package/resources/porting-orders/verification-codes.js +3 -0
- package/resources/porting-orders/verification-codes.js.map +1 -1
- package/resources/porting-orders/verification-codes.mjs +3 -0
- package/resources/porting-orders/verification-codes.mjs.map +1 -1
- package/resources/porting-phone-numbers.d.mts +3 -0
- package/resources/porting-phone-numbers.d.mts.map +1 -1
- package/resources/porting-phone-numbers.d.ts +3 -0
- package/resources/porting-phone-numbers.d.ts.map +1 -1
- package/resources/porting-phone-numbers.js +3 -0
- package/resources/porting-phone-numbers.js.map +1 -1
- package/resources/porting-phone-numbers.mjs +3 -0
- package/resources/porting-phone-numbers.mjs.map +1 -1
- package/resources/portouts/comments.d.mts +3 -0
- package/resources/portouts/comments.d.mts.map +1 -1
- package/resources/portouts/comments.d.ts +3 -0
- package/resources/portouts/comments.d.ts.map +1 -1
- package/resources/portouts/comments.js +3 -0
- package/resources/portouts/comments.js.map +1 -1
- package/resources/portouts/comments.mjs +3 -0
- package/resources/portouts/comments.mjs.map +1 -1
- package/resources/portouts/events.d.mts +3 -0
- package/resources/portouts/events.d.mts.map +1 -1
- package/resources/portouts/events.d.ts +3 -0
- package/resources/portouts/events.d.ts.map +1 -1
- package/resources/portouts/events.js +3 -0
- package/resources/portouts/events.js.map +1 -1
- package/resources/portouts/events.mjs +3 -0
- package/resources/portouts/events.mjs.map +1 -1
- package/resources/portouts/portouts.d.mts +3 -0
- package/resources/portouts/portouts.d.mts.map +1 -1
- package/resources/portouts/portouts.d.ts +3 -0
- package/resources/portouts/portouts.d.ts.map +1 -1
- package/resources/portouts/portouts.js +3 -0
- package/resources/portouts/portouts.js.map +1 -1
- package/resources/portouts/portouts.mjs +3 -0
- package/resources/portouts/portouts.mjs.map +1 -1
- package/resources/portouts/reports.d.mts +3 -0
- package/resources/portouts/reports.d.mts.map +1 -1
- package/resources/portouts/reports.d.ts +3 -0
- package/resources/portouts/reports.d.ts.map +1 -1
- package/resources/portouts/reports.js +3 -0
- package/resources/portouts/reports.js.map +1 -1
- package/resources/portouts/reports.mjs +3 -0
- package/resources/portouts/reports.mjs.map +1 -1
- package/resources/portouts/supporting-documents.d.mts +3 -0
- package/resources/portouts/supporting-documents.d.mts.map +1 -1
- package/resources/portouts/supporting-documents.d.ts +3 -0
- package/resources/portouts/supporting-documents.d.ts.map +1 -1
- package/resources/portouts/supporting-documents.js +3 -0
- package/resources/portouts/supporting-documents.js.map +1 -1
- package/resources/portouts/supporting-documents.mjs +3 -0
- package/resources/portouts/supporting-documents.mjs.map +1 -1
- package/resources/private-wireless-gateways.d.mts +3 -0
- package/resources/private-wireless-gateways.d.mts.map +1 -1
- package/resources/private-wireless-gateways.d.ts +3 -0
- package/resources/private-wireless-gateways.d.ts.map +1 -1
- package/resources/private-wireless-gateways.js +3 -0
- package/resources/private-wireless-gateways.js.map +1 -1
- package/resources/private-wireless-gateways.mjs +3 -0
- package/resources/private-wireless-gateways.mjs.map +1 -1
- package/resources/public-internet-gateways.d.mts +3 -0
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +3 -0
- package/resources/public-internet-gateways.d.ts.map +1 -1
- package/resources/public-internet-gateways.js +3 -0
- package/resources/public-internet-gateways.js.map +1 -1
- package/resources/public-internet-gateways.mjs +3 -0
- package/resources/public-internet-gateways.mjs.map +1 -1
- package/resources/queues/calls.d.mts +3 -0
- package/resources/queues/calls.d.mts.map +1 -1
- package/resources/queues/calls.d.ts +3 -0
- package/resources/queues/calls.d.ts.map +1 -1
- package/resources/queues/calls.js +3 -0
- package/resources/queues/calls.js.map +1 -1
- package/resources/queues/calls.mjs +3 -0
- package/resources/queues/calls.mjs.map +1 -1
- package/resources/queues/queues.d.mts +3 -0
- package/resources/queues/queues.d.mts.map +1 -1
- package/resources/queues/queues.d.ts +3 -0
- package/resources/queues/queues.d.ts.map +1 -1
- package/resources/queues/queues.js +3 -0
- package/resources/queues/queues.js.map +1 -1
- package/resources/queues/queues.mjs +3 -0
- package/resources/queues/queues.mjs.map +1 -1
- package/resources/recording-transcriptions.d.mts +3 -0
- package/resources/recording-transcriptions.d.mts.map +1 -1
- package/resources/recording-transcriptions.d.ts +3 -0
- package/resources/recording-transcriptions.d.ts.map +1 -1
- package/resources/recording-transcriptions.js +3 -0
- package/resources/recording-transcriptions.js.map +1 -1
- package/resources/recording-transcriptions.mjs +3 -0
- package/resources/recording-transcriptions.mjs.map +1 -1
- package/resources/recordings/actions.d.mts +3 -0
- package/resources/recordings/actions.d.mts.map +1 -1
- package/resources/recordings/actions.d.ts +3 -0
- package/resources/recordings/actions.d.ts.map +1 -1
- package/resources/recordings/actions.js +3 -0
- package/resources/recordings/actions.js.map +1 -1
- package/resources/recordings/actions.mjs +3 -0
- package/resources/recordings/actions.mjs.map +1 -1
- package/resources/recordings/recordings.d.mts +3 -0
- package/resources/recordings/recordings.d.mts.map +1 -1
- package/resources/recordings/recordings.d.ts +3 -0
- package/resources/recordings/recordings.d.ts.map +1 -1
- package/resources/recordings/recordings.js +3 -0
- package/resources/recordings/recordings.js.map +1 -1
- package/resources/recordings/recordings.mjs +3 -0
- package/resources/recordings/recordings.mjs.map +1 -1
- package/resources/regions.d.mts +3 -0
- package/resources/regions.d.mts.map +1 -1
- package/resources/regions.d.ts +3 -0
- package/resources/regions.d.ts.map +1 -1
- package/resources/regions.js +3 -0
- package/resources/regions.js.map +1 -1
- package/resources/regions.mjs +3 -0
- package/resources/regions.mjs.map +1 -1
- package/resources/regulatory-requirements.d.mts +3 -0
- package/resources/regulatory-requirements.d.mts.map +1 -1
- package/resources/regulatory-requirements.d.ts +3 -0
- package/resources/regulatory-requirements.d.ts.map +1 -1
- package/resources/regulatory-requirements.js +3 -0
- package/resources/regulatory-requirements.js.map +1 -1
- package/resources/regulatory-requirements.mjs +3 -0
- package/resources/regulatory-requirements.mjs.map +1 -1
- package/resources/reports/cdr-usage-reports.d.mts +3 -0
- package/resources/reports/cdr-usage-reports.d.mts.map +1 -1
- package/resources/reports/cdr-usage-reports.d.ts +3 -0
- package/resources/reports/cdr-usage-reports.d.ts.map +1 -1
- package/resources/reports/cdr-usage-reports.js +3 -0
- package/resources/reports/cdr-usage-reports.js.map +1 -1
- package/resources/reports/cdr-usage-reports.mjs +3 -0
- package/resources/reports/cdr-usage-reports.mjs.map +1 -1
- package/resources/reports/mdr-usage-reports.d.mts +3 -0
- package/resources/reports/mdr-usage-reports.d.mts.map +1 -1
- package/resources/reports/mdr-usage-reports.d.ts +3 -0
- package/resources/reports/mdr-usage-reports.d.ts.map +1 -1
- package/resources/reports/mdr-usage-reports.js +3 -0
- package/resources/reports/mdr-usage-reports.js.map +1 -1
- package/resources/reports/mdr-usage-reports.mjs +3 -0
- package/resources/reports/mdr-usage-reports.mjs.map +1 -1
- package/resources/requirement-groups.d.mts +3 -0
- package/resources/requirement-groups.d.mts.map +1 -1
- package/resources/requirement-groups.d.ts +3 -0
- package/resources/requirement-groups.d.ts.map +1 -1
- package/resources/requirement-groups.js +3 -0
- package/resources/requirement-groups.js.map +1 -1
- package/resources/requirement-groups.mjs +3 -0
- package/resources/requirement-groups.mjs.map +1 -1
- package/resources/requirement-types.d.mts +3 -0
- package/resources/requirement-types.d.mts.map +1 -1
- package/resources/requirement-types.d.ts +3 -0
- package/resources/requirement-types.d.ts.map +1 -1
- package/resources/requirement-types.js +3 -0
- package/resources/requirement-types.js.map +1 -1
- package/resources/requirement-types.mjs +3 -0
- package/resources/requirement-types.mjs.map +1 -1
- package/resources/requirements.d.mts +3 -0
- package/resources/requirements.d.mts.map +1 -1
- package/resources/requirements.d.ts +3 -0
- package/resources/requirements.d.ts.map +1 -1
- package/resources/requirements.js +3 -0
- package/resources/requirements.js.map +1 -1
- package/resources/requirements.mjs +3 -0
- package/resources/requirements.mjs.map +1 -1
- package/resources/room-compositions.d.mts +3 -0
- package/resources/room-compositions.d.mts.map +1 -1
- package/resources/room-compositions.d.ts +3 -0
- package/resources/room-compositions.d.ts.map +1 -1
- package/resources/room-compositions.js +3 -0
- package/resources/room-compositions.js.map +1 -1
- package/resources/room-compositions.mjs +3 -0
- package/resources/room-compositions.mjs.map +1 -1
- package/resources/room-participants.d.mts +3 -0
- package/resources/room-participants.d.mts.map +1 -1
- package/resources/room-participants.d.ts +3 -0
- package/resources/room-participants.d.ts.map +1 -1
- package/resources/room-participants.js +3 -0
- package/resources/room-participants.js.map +1 -1
- package/resources/room-participants.mjs +3 -0
- package/resources/room-participants.mjs.map +1 -1
- package/resources/room-recordings.d.mts +3 -0
- package/resources/room-recordings.d.mts.map +1 -1
- package/resources/room-recordings.d.ts +3 -0
- package/resources/room-recordings.d.ts.map +1 -1
- package/resources/room-recordings.js +3 -0
- package/resources/room-recordings.js.map +1 -1
- package/resources/room-recordings.mjs +3 -0
- package/resources/room-recordings.mjs.map +1 -1
- package/resources/rooms/actions.d.mts +3 -0
- package/resources/rooms/actions.d.mts.map +1 -1
- package/resources/rooms/actions.d.ts +3 -0
- package/resources/rooms/actions.d.ts.map +1 -1
- package/resources/rooms/actions.js +3 -0
- package/resources/rooms/actions.js.map +1 -1
- package/resources/rooms/actions.mjs +3 -0
- package/resources/rooms/actions.mjs.map +1 -1
- package/resources/rooms/rooms.d.mts +3 -0
- package/resources/rooms/rooms.d.mts.map +1 -1
- package/resources/rooms/rooms.d.ts +3 -0
- package/resources/rooms/rooms.d.ts.map +1 -1
- package/resources/rooms/rooms.js +3 -0
- package/resources/rooms/rooms.js.map +1 -1
- package/resources/rooms/rooms.mjs +3 -0
- package/resources/rooms/rooms.mjs.map +1 -1
- package/resources/rooms/sessions/actions.d.mts +3 -0
- package/resources/rooms/sessions/actions.d.mts.map +1 -1
- package/resources/rooms/sessions/actions.d.ts +3 -0
- package/resources/rooms/sessions/actions.d.ts.map +1 -1
- package/resources/rooms/sessions/actions.js +3 -0
- package/resources/rooms/sessions/actions.js.map +1 -1
- package/resources/rooms/sessions/actions.mjs +3 -0
- package/resources/rooms/sessions/actions.mjs.map +1 -1
- package/resources/session-analysis/index.d.mts +3 -0
- package/resources/session-analysis/index.d.mts.map +1 -0
- package/resources/session-analysis/index.d.ts +3 -0
- package/resources/session-analysis/index.d.ts.map +1 -0
- package/resources/session-analysis/index.js +9 -0
- package/resources/session-analysis/index.js.map +1 -0
- package/resources/session-analysis/index.mjs +4 -0
- package/resources/session-analysis/index.mjs.map +1 -0
- package/resources/session-analysis/metadata.d.mts +103 -0
- package/resources/session-analysis/metadata.d.mts.map +1 -0
- package/resources/session-analysis/metadata.d.ts +103 -0
- package/resources/session-analysis/metadata.d.ts.map +1 -0
- package/resources/session-analysis/metadata.js +27 -0
- package/resources/session-analysis/metadata.js.map +1 -0
- package/resources/session-analysis/metadata.mjs +23 -0
- package/resources/session-analysis/metadata.mjs.map +1 -0
- package/resources/session-analysis/session-analysis.d.mts +168 -0
- package/resources/session-analysis/session-analysis.d.mts.map +1 -0
- package/resources/session-analysis/session-analysis.d.ts +168 -0
- package/resources/session-analysis/session-analysis.d.ts.map +1 -0
- package/resources/session-analysis/session-analysis.js +29 -0
- package/resources/session-analysis/session-analysis.js.map +1 -0
- package/resources/session-analysis/session-analysis.mjs +24 -0
- package/resources/session-analysis/session-analysis.mjs.map +1 -0
- package/resources/session-analysis.d.mts +2 -0
- package/resources/session-analysis.d.mts.map +1 -0
- package/resources/session-analysis.d.ts +2 -0
- package/resources/session-analysis.d.ts.map +1 -0
- package/resources/session-analysis.js +6 -0
- package/resources/session-analysis.js.map +1 -0
- package/resources/session-analysis.mjs +3 -0
- package/resources/session-analysis.mjs.map +1 -0
- package/resources/seti.d.mts +3 -0
- package/resources/seti.d.mts.map +1 -1
- package/resources/seti.d.ts +3 -0
- package/resources/seti.d.ts.map +1 -1
- package/resources/seti.js +3 -0
- package/resources/seti.js.map +1 -1
- package/resources/seti.mjs +3 -0
- package/resources/seti.mjs.map +1 -1
- package/resources/short-codes.d.mts +3 -0
- package/resources/short-codes.d.mts.map +1 -1
- package/resources/short-codes.d.ts +3 -0
- package/resources/short-codes.d.ts.map +1 -1
- package/resources/short-codes.js +3 -0
- package/resources/short-codes.js.map +1 -1
- package/resources/short-codes.mjs +3 -0
- package/resources/short-codes.mjs.map +1 -1
- package/resources/sim-card-data-usage-notifications.d.mts +3 -0
- package/resources/sim-card-data-usage-notifications.d.mts.map +1 -1
- package/resources/sim-card-data-usage-notifications.d.ts +3 -0
- package/resources/sim-card-data-usage-notifications.d.ts.map +1 -1
- package/resources/sim-card-data-usage-notifications.js +3 -0
- package/resources/sim-card-data-usage-notifications.js.map +1 -1
- package/resources/sim-card-data-usage-notifications.mjs +3 -0
- package/resources/sim-card-data-usage-notifications.mjs.map +1 -1
- package/resources/sim-card-groups/sim-card-groups.d.mts +3 -0
- package/resources/sim-card-groups/sim-card-groups.d.mts.map +1 -1
- package/resources/sim-card-groups/sim-card-groups.d.ts +3 -0
- package/resources/sim-card-groups/sim-card-groups.d.ts.map +1 -1
- package/resources/sim-card-groups/sim-card-groups.js +3 -0
- package/resources/sim-card-groups/sim-card-groups.js.map +1 -1
- package/resources/sim-card-groups/sim-card-groups.mjs +3 -0
- package/resources/sim-card-groups/sim-card-groups.mjs.map +1 -1
- package/resources/sim-card-order-preview.d.mts +3 -0
- package/resources/sim-card-order-preview.d.mts.map +1 -1
- package/resources/sim-card-order-preview.d.ts +3 -0
- package/resources/sim-card-order-preview.d.ts.map +1 -1
- package/resources/sim-card-order-preview.js +3 -0
- package/resources/sim-card-order-preview.js.map +1 -1
- package/resources/sim-card-order-preview.mjs +3 -0
- package/resources/sim-card-order-preview.mjs.map +1 -1
- package/resources/sim-card-orders.d.mts +3 -0
- package/resources/sim-card-orders.d.mts.map +1 -1
- package/resources/sim-card-orders.d.ts +3 -0
- package/resources/sim-card-orders.d.ts.map +1 -1
- package/resources/sim-card-orders.js +3 -0
- package/resources/sim-card-orders.js.map +1 -1
- package/resources/sim-card-orders.mjs +3 -0
- package/resources/sim-card-orders.mjs.map +1 -1
- package/resources/sim-cards/sim-cards.d.mts +3 -0
- package/resources/sim-cards/sim-cards.d.mts.map +1 -1
- package/resources/sim-cards/sim-cards.d.ts +3 -0
- package/resources/sim-cards/sim-cards.d.ts.map +1 -1
- package/resources/sim-cards/sim-cards.js +3 -0
- package/resources/sim-cards/sim-cards.js.map +1 -1
- package/resources/sim-cards/sim-cards.mjs +3 -0
- package/resources/sim-cards/sim-cards.mjs.map +1 -1
- package/resources/siprec-connectors.d.mts +3 -0
- package/resources/siprec-connectors.d.mts.map +1 -1
- package/resources/siprec-connectors.d.ts +3 -0
- package/resources/siprec-connectors.d.ts.map +1 -1
- package/resources/siprec-connectors.js +3 -0
- package/resources/siprec-connectors.js.map +1 -1
- package/resources/siprec-connectors.mjs +3 -0
- package/resources/siprec-connectors.mjs.map +1 -1
- package/resources/speech-to-text.d.mts +3 -0
- package/resources/speech-to-text.d.mts.map +1 -1
- package/resources/speech-to-text.d.ts +3 -0
- package/resources/speech-to-text.d.ts.map +1 -1
- package/resources/speech-to-text.js +3 -0
- package/resources/speech-to-text.js.map +1 -1
- package/resources/speech-to-text.mjs +3 -0
- package/resources/speech-to-text.mjs.map +1 -1
- package/resources/storage/buckets/buckets.d.mts +3 -0
- package/resources/storage/buckets/buckets.d.mts.map +1 -1
- package/resources/storage/buckets/buckets.d.ts +3 -0
- package/resources/storage/buckets/buckets.d.ts.map +1 -1
- package/resources/storage/buckets/buckets.js +3 -0
- package/resources/storage/buckets/buckets.js.map +1 -1
- package/resources/storage/buckets/buckets.mjs +3 -0
- package/resources/storage/buckets/buckets.mjs.map +1 -1
- package/resources/storage/buckets/ssl-certificate.d.mts +3 -0
- package/resources/storage/buckets/ssl-certificate.d.mts.map +1 -1
- package/resources/storage/buckets/ssl-certificate.d.ts +3 -0
- package/resources/storage/buckets/ssl-certificate.d.ts.map +1 -1
- package/resources/storage/buckets/ssl-certificate.js +3 -0
- package/resources/storage/buckets/ssl-certificate.js.map +1 -1
- package/resources/storage/buckets/ssl-certificate.mjs +3 -0
- package/resources/storage/buckets/ssl-certificate.mjs.map +1 -1
- package/resources/storage/buckets/usage.d.mts +3 -0
- package/resources/storage/buckets/usage.d.mts.map +1 -1
- package/resources/storage/buckets/usage.d.ts +3 -0
- package/resources/storage/buckets/usage.d.ts.map +1 -1
- package/resources/storage/buckets/usage.js +3 -0
- package/resources/storage/buckets/usage.js.map +1 -1
- package/resources/storage/buckets/usage.mjs +3 -0
- package/resources/storage/buckets/usage.mjs.map +1 -1
- package/resources/storage/migration-sources.d.mts +3 -0
- package/resources/storage/migration-sources.d.mts.map +1 -1
- package/resources/storage/migration-sources.d.ts +3 -0
- package/resources/storage/migration-sources.d.ts.map +1 -1
- package/resources/storage/migration-sources.js +3 -0
- package/resources/storage/migration-sources.js.map +1 -1
- package/resources/storage/migration-sources.mjs +3 -0
- package/resources/storage/migration-sources.mjs.map +1 -1
- package/resources/storage/migrations/actions.d.mts +3 -0
- package/resources/storage/migrations/actions.d.mts.map +1 -1
- package/resources/storage/migrations/actions.d.ts +3 -0
- package/resources/storage/migrations/actions.d.ts.map +1 -1
- package/resources/storage/migrations/actions.js +3 -0
- package/resources/storage/migrations/actions.js.map +1 -1
- package/resources/storage/migrations/actions.mjs +3 -0
- package/resources/storage/migrations/actions.mjs.map +1 -1
- package/resources/storage/migrations/migrations.d.mts +3 -0
- package/resources/storage/migrations/migrations.d.mts.map +1 -1
- package/resources/storage/migrations/migrations.d.ts +3 -0
- package/resources/storage/migrations/migrations.d.ts.map +1 -1
- package/resources/storage/migrations/migrations.js +3 -0
- package/resources/storage/migrations/migrations.js.map +1 -1
- package/resources/storage/migrations/migrations.mjs +3 -0
- package/resources/storage/migrations/migrations.mjs.map +1 -1
- package/resources/storage/storage.d.mts +3 -0
- package/resources/storage/storage.d.mts.map +1 -1
- package/resources/storage/storage.d.ts +3 -0
- package/resources/storage/storage.d.ts.map +1 -1
- package/resources/storage/storage.js +3 -0
- package/resources/storage/storage.js.map +1 -1
- package/resources/storage/storage.mjs +3 -0
- package/resources/storage/storage.mjs.map +1 -1
- package/resources/sub-number-orders-report.d.mts +3 -0
- package/resources/sub-number-orders-report.d.mts.map +1 -1
- package/resources/sub-number-orders-report.d.ts +3 -0
- package/resources/sub-number-orders-report.d.ts.map +1 -1
- package/resources/sub-number-orders-report.js +3 -0
- package/resources/sub-number-orders-report.js.map +1 -1
- package/resources/sub-number-orders-report.mjs +3 -0
- package/resources/sub-number-orders-report.mjs.map +1 -1
- package/resources/texml/accounts/accounts.d.mts +3 -0
- package/resources/texml/accounts/accounts.d.mts.map +1 -1
- package/resources/texml/accounts/accounts.d.ts +3 -0
- package/resources/texml/accounts/accounts.d.ts.map +1 -1
- package/resources/texml/accounts/accounts.js +3 -0
- package/resources/texml/accounts/accounts.js.map +1 -1
- package/resources/texml/accounts/accounts.mjs +3 -0
- package/resources/texml/accounts/accounts.mjs.map +1 -1
- package/resources/texml/accounts/calls/calls.d.mts +3 -0
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +3 -0
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js +3 -0
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs +3 -0
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.d.mts +3 -0
- package/resources/texml/accounts/calls/recordings-json.d.mts.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.d.ts +3 -0
- package/resources/texml/accounts/calls/recordings-json.d.ts.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.js +3 -0
- package/resources/texml/accounts/calls/recordings-json.js.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.mjs +3 -0
- package/resources/texml/accounts/calls/recordings-json.mjs.map +1 -1
- package/resources/texml/accounts/calls/recordings.d.mts +3 -0
- package/resources/texml/accounts/calls/recordings.d.mts.map +1 -1
- package/resources/texml/accounts/calls/recordings.d.ts +3 -0
- package/resources/texml/accounts/calls/recordings.d.ts.map +1 -1
- package/resources/texml/accounts/calls/recordings.js +3 -0
- package/resources/texml/accounts/calls/recordings.js.map +1 -1
- package/resources/texml/accounts/calls/recordings.mjs +3 -0
- package/resources/texml/accounts/calls/recordings.mjs.map +1 -1
- package/resources/texml/accounts/calls/siprec.d.mts +3 -0
- package/resources/texml/accounts/calls/siprec.d.mts.map +1 -1
- package/resources/texml/accounts/calls/siprec.d.ts +3 -0
- package/resources/texml/accounts/calls/siprec.d.ts.map +1 -1
- package/resources/texml/accounts/calls/siprec.js +3 -0
- package/resources/texml/accounts/calls/siprec.js.map +1 -1
- package/resources/texml/accounts/calls/siprec.mjs +3 -0
- package/resources/texml/accounts/calls/siprec.mjs.map +1 -1
- package/resources/texml/accounts/calls/streams.d.mts +3 -0
- package/resources/texml/accounts/calls/streams.d.mts.map +1 -1
- package/resources/texml/accounts/calls/streams.d.ts +3 -0
- package/resources/texml/accounts/calls/streams.d.ts.map +1 -1
- package/resources/texml/accounts/calls/streams.js +3 -0
- package/resources/texml/accounts/calls/streams.js.map +1 -1
- package/resources/texml/accounts/calls/streams.mjs +3 -0
- package/resources/texml/accounts/calls/streams.mjs.map +1 -1
- package/resources/texml/accounts/conferences/conferences.d.mts +3 -0
- package/resources/texml/accounts/conferences/conferences.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/conferences.d.ts +3 -0
- package/resources/texml/accounts/conferences/conferences.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/conferences.js +3 -0
- package/resources/texml/accounts/conferences/conferences.js.map +1 -1
- package/resources/texml/accounts/conferences/conferences.mjs +3 -0
- package/resources/texml/accounts/conferences/conferences.mjs.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.mts +3 -0
- package/resources/texml/accounts/conferences/participants.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.ts +3 -0
- package/resources/texml/accounts/conferences/participants.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/participants.js +3 -0
- package/resources/texml/accounts/conferences/participants.js.map +1 -1
- package/resources/texml/accounts/conferences/participants.mjs +3 -0
- package/resources/texml/accounts/conferences/participants.mjs.map +1 -1
- package/resources/texml/accounts/queues.d.mts +3 -0
- package/resources/texml/accounts/queues.d.mts.map +1 -1
- package/resources/texml/accounts/queues.d.ts +3 -0
- package/resources/texml/accounts/queues.d.ts.map +1 -1
- package/resources/texml/accounts/queues.js +3 -0
- package/resources/texml/accounts/queues.js.map +1 -1
- package/resources/texml/accounts/queues.mjs +3 -0
- package/resources/texml/accounts/queues.mjs.map +1 -1
- package/resources/texml/accounts/recordings/json.d.mts +3 -0
- package/resources/texml/accounts/recordings/json.d.mts.map +1 -1
- package/resources/texml/accounts/recordings/json.d.ts +3 -0
- package/resources/texml/accounts/recordings/json.d.ts.map +1 -1
- package/resources/texml/accounts/recordings/json.js +3 -0
- package/resources/texml/accounts/recordings/json.js.map +1 -1
- package/resources/texml/accounts/recordings/json.mjs +3 -0
- package/resources/texml/accounts/recordings/json.mjs.map +1 -1
- package/resources/texml/accounts/transcriptions/json.d.mts +3 -0
- package/resources/texml/accounts/transcriptions/json.d.mts.map +1 -1
- package/resources/texml/accounts/transcriptions/json.d.ts +3 -0
- package/resources/texml/accounts/transcriptions/json.d.ts.map +1 -1
- package/resources/texml/accounts/transcriptions/json.js +3 -0
- package/resources/texml/accounts/transcriptions/json.js.map +1 -1
- package/resources/texml/accounts/transcriptions/json.mjs +3 -0
- package/resources/texml/accounts/transcriptions/json.mjs.map +1 -1
- package/resources/texml/texml.d.mts +3 -0
- package/resources/texml/texml.d.mts.map +1 -1
- package/resources/texml/texml.d.ts +3 -0
- package/resources/texml/texml.d.ts.map +1 -1
- package/resources/texml/texml.js +3 -0
- package/resources/texml/texml.js.map +1 -1
- package/resources/texml/texml.mjs +3 -0
- package/resources/texml/texml.mjs.map +1 -1
- package/resources/texml-applications.d.mts +3 -0
- package/resources/texml-applications.d.mts.map +1 -1
- package/resources/texml-applications.d.ts +3 -0
- package/resources/texml-applications.d.ts.map +1 -1
- package/resources/texml-applications.js +3 -0
- package/resources/texml-applications.js.map +1 -1
- package/resources/texml-applications.mjs +3 -0
- package/resources/texml-applications.mjs.map +1 -1
- package/resources/text-to-speech.d.mts +267 -1
- package/resources/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech.d.ts +267 -1
- package/resources/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-speech.js +22 -0
- package/resources/text-to-speech.js.map +1 -1
- package/resources/text-to-speech.mjs +22 -0
- package/resources/text-to-speech.mjs.map +1 -1
- package/resources/usage-reports.d.mts +3 -0
- package/resources/usage-reports.d.mts.map +1 -1
- package/resources/usage-reports.d.ts +3 -0
- package/resources/usage-reports.d.ts.map +1 -1
- package/resources/usage-reports.js +3 -0
- package/resources/usage-reports.js.map +1 -1
- package/resources/usage-reports.mjs +3 -0
- package/resources/usage-reports.mjs.map +1 -1
- package/resources/user-addresses.d.mts +3 -0
- package/resources/user-addresses.d.mts.map +1 -1
- package/resources/user-addresses.d.ts +3 -0
- package/resources/user-addresses.d.ts.map +1 -1
- package/resources/user-addresses.js +3 -0
- package/resources/user-addresses.js.map +1 -1
- package/resources/user-addresses.mjs +3 -0
- package/resources/user-addresses.mjs.map +1 -1
- package/resources/user-tags.d.mts +3 -0
- package/resources/user-tags.d.mts.map +1 -1
- package/resources/user-tags.d.ts +3 -0
- package/resources/user-tags.d.ts.map +1 -1
- package/resources/user-tags.js +3 -0
- package/resources/user-tags.js.map +1 -1
- package/resources/user-tags.mjs +3 -0
- package/resources/user-tags.mjs.map +1 -1
- package/resources/verifications/actions.d.mts +3 -0
- package/resources/verifications/actions.d.mts.map +1 -1
- package/resources/verifications/actions.d.ts +3 -0
- package/resources/verifications/actions.d.ts.map +1 -1
- package/resources/verifications/actions.js +3 -0
- package/resources/verifications/actions.js.map +1 -1
- package/resources/verifications/actions.mjs +3 -0
- package/resources/verifications/actions.mjs.map +1 -1
- package/resources/verifications/by-phone-number/actions.d.mts +3 -0
- package/resources/verifications/by-phone-number/actions.d.mts.map +1 -1
- package/resources/verifications/by-phone-number/actions.d.ts +3 -0
- package/resources/verifications/by-phone-number/actions.d.ts.map +1 -1
- package/resources/verifications/by-phone-number/actions.js +3 -0
- package/resources/verifications/by-phone-number/actions.js.map +1 -1
- package/resources/verifications/by-phone-number/actions.mjs +3 -0
- package/resources/verifications/by-phone-number/actions.mjs.map +1 -1
- package/resources/verifications/by-phone-number/by-phone-number.d.mts +3 -0
- package/resources/verifications/by-phone-number/by-phone-number.d.mts.map +1 -1
- package/resources/verifications/by-phone-number/by-phone-number.d.ts +3 -0
- package/resources/verifications/by-phone-number/by-phone-number.d.ts.map +1 -1
- package/resources/verifications/by-phone-number/by-phone-number.js +3 -0
- package/resources/verifications/by-phone-number/by-phone-number.js.map +1 -1
- package/resources/verifications/by-phone-number/by-phone-number.mjs +3 -0
- package/resources/verifications/by-phone-number/by-phone-number.mjs.map +1 -1
- package/resources/verifications/verifications.d.mts +3 -0
- package/resources/verifications/verifications.d.mts.map +1 -1
- package/resources/verifications/verifications.d.ts +3 -0
- package/resources/verifications/verifications.d.ts.map +1 -1
- package/resources/verifications/verifications.js +3 -0
- package/resources/verifications/verifications.js.map +1 -1
- package/resources/verifications/verifications.mjs +3 -0
- package/resources/verifications/verifications.mjs.map +1 -1
- package/resources/verified-numbers/actions.d.mts +3 -0
- package/resources/verified-numbers/actions.d.mts.map +1 -1
- package/resources/verified-numbers/actions.d.ts +3 -0
- package/resources/verified-numbers/actions.d.ts.map +1 -1
- package/resources/verified-numbers/actions.js +3 -0
- package/resources/verified-numbers/actions.js.map +1 -1
- package/resources/verified-numbers/actions.mjs +3 -0
- package/resources/verified-numbers/actions.mjs.map +1 -1
- package/resources/verified-numbers/verified-numbers.d.mts +3 -0
- package/resources/verified-numbers/verified-numbers.d.mts.map +1 -1
- package/resources/verified-numbers/verified-numbers.d.ts +3 -0
- package/resources/verified-numbers/verified-numbers.d.ts.map +1 -1
- package/resources/verified-numbers/verified-numbers.js +3 -0
- package/resources/verified-numbers/verified-numbers.js.map +1 -1
- package/resources/verified-numbers/verified-numbers.mjs +3 -0
- package/resources/verified-numbers/verified-numbers.mjs.map +1 -1
- package/resources/verify-profiles.d.mts +3 -0
- package/resources/verify-profiles.d.mts.map +1 -1
- package/resources/verify-profiles.d.ts +3 -0
- package/resources/verify-profiles.d.ts.map +1 -1
- package/resources/verify-profiles.js +3 -0
- package/resources/verify-profiles.js.map +1 -1
- package/resources/verify-profiles.mjs +3 -0
- package/resources/verify-profiles.mjs.map +1 -1
- package/resources/virtual-cross-connects-coverage.d.mts +3 -0
- package/resources/virtual-cross-connects-coverage.d.mts.map +1 -1
- package/resources/virtual-cross-connects-coverage.d.ts +3 -0
- package/resources/virtual-cross-connects-coverage.d.ts.map +1 -1
- package/resources/virtual-cross-connects-coverage.js +3 -0
- package/resources/virtual-cross-connects-coverage.js.map +1 -1
- package/resources/virtual-cross-connects-coverage.mjs +3 -0
- package/resources/virtual-cross-connects-coverage.mjs.map +1 -1
- package/resources/virtual-cross-connects.d.mts +3 -0
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts +3 -0
- package/resources/virtual-cross-connects.d.ts.map +1 -1
- package/resources/virtual-cross-connects.js +3 -0
- package/resources/virtual-cross-connects.js.map +1 -1
- package/resources/virtual-cross-connects.mjs +3 -0
- package/resources/virtual-cross-connects.mjs.map +1 -1
- package/resources/webhook-deliveries.d.mts +3 -0
- package/resources/webhook-deliveries.d.mts.map +1 -1
- package/resources/webhook-deliveries.d.ts +3 -0
- package/resources/webhook-deliveries.d.ts.map +1 -1
- package/resources/webhook-deliveries.js +3 -0
- package/resources/webhook-deliveries.js.map +1 -1
- package/resources/webhook-deliveries.mjs +3 -0
- package/resources/webhook-deliveries.mjs.map +1 -1
- package/resources/webhooks.d.mts +1 -1
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +1 -1
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +2 -2
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +2 -2
- package/resources/webhooks.mjs.map +1 -1
- package/resources/wireguard-interfaces.d.mts +3 -0
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +3 -0
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/resources/wireguard-interfaces.js +3 -0
- package/resources/wireguard-interfaces.js.map +1 -1
- package/resources/wireguard-interfaces.mjs +3 -0
- package/resources/wireguard-interfaces.mjs.map +1 -1
- package/resources/wireguard-peers.d.mts +3 -0
- package/resources/wireguard-peers.d.mts.map +1 -1
- package/resources/wireguard-peers.d.ts +3 -0
- package/resources/wireguard-peers.d.ts.map +1 -1
- package/resources/wireguard-peers.js +3 -0
- package/resources/wireguard-peers.js.map +1 -1
- package/resources/wireguard-peers.mjs +3 -0
- package/resources/wireguard-peers.mjs.map +1 -1
- package/resources/wireless/detail-records-reports.d.mts +3 -0
- package/resources/wireless/detail-records-reports.d.mts.map +1 -1
- package/resources/wireless/detail-records-reports.d.ts +3 -0
- package/resources/wireless/detail-records-reports.d.ts.map +1 -1
- package/resources/wireless/detail-records-reports.js +3 -0
- package/resources/wireless/detail-records-reports.js.map +1 -1
- package/resources/wireless/detail-records-reports.mjs +3 -0
- package/resources/wireless/detail-records-reports.mjs.map +1 -1
- package/resources/wireless/wireless.d.mts +3 -0
- package/resources/wireless/wireless.d.mts.map +1 -1
- package/resources/wireless/wireless.d.ts +3 -0
- package/resources/wireless/wireless.d.ts.map +1 -1
- package/resources/wireless/wireless.js +3 -0
- package/resources/wireless/wireless.js.map +1 -1
- package/resources/wireless/wireless.mjs +3 -0
- package/resources/wireless/wireless.mjs.map +1 -1
- package/resources/wireless-blocklist-values.d.mts +3 -0
- package/resources/wireless-blocklist-values.d.mts.map +1 -1
- package/resources/wireless-blocklist-values.d.ts +3 -0
- package/resources/wireless-blocklist-values.d.ts.map +1 -1
- package/resources/wireless-blocklist-values.js +3 -0
- package/resources/wireless-blocklist-values.js.map +1 -1
- package/resources/wireless-blocklist-values.mjs +3 -0
- package/resources/wireless-blocklist-values.mjs.map +1 -1
- package/resources/wireless-blocklists.d.mts +3 -0
- package/resources/wireless-blocklists.d.mts.map +1 -1
- package/resources/wireless-blocklists.d.ts +3 -0
- package/resources/wireless-blocklists.d.ts.map +1 -1
- package/resources/wireless-blocklists.js +3 -0
- package/resources/wireless-blocklists.js.map +1 -1
- package/resources/wireless-blocklists.mjs +3 -0
- package/resources/wireless-blocklists.mjs.map +1 -1
- package/src/client.ts +379 -0
- package/src/resources/access-ip-address.ts +3 -0
- package/src/resources/access-ip-ranges.ts +3 -0
- package/src/resources/actions/purchase.ts +3 -0
- package/src/resources/actions/register.ts +3 -0
- package/src/resources/addresses/actions.ts +3 -0
- package/src/resources/addresses/addresses.ts +3 -0
- package/src/resources/ai/ai.ts +3 -0
- package/src/resources/ai/assistants/assistants.ts +73 -0
- package/src/resources/ai/assistants/canary-deploys.ts +3 -0
- package/src/resources/ai/assistants/scheduled-events.ts +3 -0
- package/src/resources/ai/assistants/tests/runs.ts +3 -0
- package/src/resources/ai/assistants/tests/test-suites/runs.ts +3 -0
- package/src/resources/ai/assistants/tests/test-suites/test-suites.ts +3 -0
- package/src/resources/ai/assistants/tests/tests.ts +3 -0
- package/src/resources/ai/assistants/tools.ts +3 -0
- package/src/resources/ai/assistants/versions.ts +3 -0
- package/src/resources/ai/audio.ts +3 -0
- package/src/resources/ai/chat.ts +3 -0
- package/src/resources/ai/clusters.ts +3 -0
- package/src/resources/ai/conversations/conversations.ts +3 -0
- package/src/resources/ai/conversations/insight-groups/insight-groups.ts +3 -0
- package/src/resources/ai/conversations/insight-groups/insights.ts +3 -0
- package/src/resources/ai/conversations/insights.ts +3 -0
- package/src/resources/ai/conversations/messages.ts +3 -0
- package/src/resources/ai/embeddings/buckets.ts +3 -0
- package/src/resources/ai/embeddings/embeddings.ts +3 -0
- package/src/resources/ai/fine-tuning/jobs.ts +3 -0
- package/src/resources/ai/openai/embeddings.ts +3 -0
- package/src/resources/audit-events.ts +3 -0
- package/src/resources/available-phone-number-blocks.ts +3 -0
- package/src/resources/available-phone-numbers.ts +3 -0
- package/src/resources/balance.ts +3 -0
- package/src/resources/billing-groups.ts +3 -0
- package/src/resources/bulk-sim-card-actions.ts +3 -0
- package/src/resources/call-control-applications.ts +3 -0
- package/src/resources/call-events.ts +3 -0
- package/src/resources/calls/actions.ts +11 -8
- package/src/resources/channel-zones.ts +3 -0
- package/src/resources/comments.ts +3 -0
- package/src/resources/conferences/actions.ts +3 -0
- package/src/resources/conferences/conferences.ts +3 -0
- package/src/resources/country-coverage.ts +3 -0
- package/src/resources/credential-connections/actions.ts +3 -0
- package/src/resources/credential-connections/credential-connections.ts +3 -0
- package/src/resources/custom-storage-credentials.ts +3 -0
- package/src/resources/customer-service-records.ts +3 -0
- package/src/resources/detail-records.ts +3 -0
- package/src/resources/dialogflow-connections.ts +3 -0
- package/src/resources/document-links.ts +3 -0
- package/src/resources/documents.ts +3 -0
- package/src/resources/dynamic-emergency-addresses.ts +3 -0
- package/src/resources/dynamic-emergency-endpoints.ts +3 -0
- package/src/resources/external-connections/civic-addresses.ts +3 -0
- package/src/resources/external-connections/external-connections.ts +3 -0
- package/src/resources/external-connections/log-messages.ts +3 -0
- package/src/resources/external-connections/phone-numbers.ts +3 -0
- package/src/resources/external-connections/releases.ts +3 -0
- package/src/resources/external-connections/uploads.ts +3 -0
- package/src/resources/fax-applications.ts +3 -0
- package/src/resources/faxes/actions.ts +3 -0
- package/src/resources/faxes/faxes.ts +3 -0
- package/src/resources/fqdn-connections.ts +3 -0
- package/src/resources/fqdns.ts +3 -0
- package/src/resources/global-ip-allowed-ports.ts +3 -0
- package/src/resources/global-ip-assignment-health.ts +3 -0
- package/src/resources/global-ip-assignments-usage.ts +3 -0
- package/src/resources/global-ip-assignments.ts +3 -0
- package/src/resources/global-ip-health-check-types.ts +3 -0
- package/src/resources/global-ip-health-checks.ts +3 -0
- package/src/resources/global-ip-latency.ts +3 -0
- package/src/resources/global-ip-protocols.ts +3 -0
- package/src/resources/global-ip-usage.ts +3 -0
- package/src/resources/global-ips.ts +3 -0
- package/src/resources/inbound-channels.ts +3 -0
- package/src/resources/index.ts +8 -0
- package/src/resources/inexplicit-number-orders.ts +3 -0
- package/src/resources/integration-secrets.ts +3 -0
- package/src/resources/inventory-coverage.ts +3 -0
- package/src/resources/ip-connections.ts +3 -0
- package/src/resources/ips.ts +3 -0
- package/src/resources/ledger-billing-group-reports.ts +3 -0
- package/src/resources/legacy/reporting/batch-detail-records/messaging.ts +3 -0
- package/src/resources/legacy/reporting/batch-detail-records/speech-to-text.ts +3 -0
- package/src/resources/legacy/reporting/batch-detail-records/voice.ts +3 -0
- package/src/resources/legacy/reporting/usage-reports/messaging.ts +3 -0
- package/src/resources/legacy/reporting/usage-reports/number-lookup.ts +3 -0
- package/src/resources/legacy/reporting/usage-reports/usage-reports.ts +3 -0
- package/src/resources/legacy/reporting/usage-reports/voice.ts +3 -0
- package/src/resources/list.ts +3 -0
- package/src/resources/managed-accounts/actions.ts +3 -0
- package/src/resources/managed-accounts/managed-accounts.ts +3 -0
- package/src/resources/media.ts +3 -0
- package/src/resources/messages/rcs.ts +3 -0
- package/src/resources/messaging/rcs/agents.ts +3 -0
- package/src/resources/messaging/rcs/rcs.ts +3 -0
- package/src/resources/messaging-10dlc/brand/brand.ts +3 -0
- package/src/resources/messaging-10dlc/brand/external-vetting.ts +3 -0
- package/src/resources/messaging-10dlc/campaign/campaign.ts +3 -0
- package/src/resources/messaging-10dlc/campaign/osr.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/campaign-builder/campaign-builder.ts +3 -0
- package/src/resources/messaging-10dlc/phone-number-assignment-by-profile.ts +3 -0
- package/src/resources/messaging-10dlc/phone-number-campaigns.ts +3 -0
- package/src/resources/messaging-hosted-number-orders/actions.ts +3 -0
- package/src/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.ts +3 -0
- package/src/resources/messaging-numbers-bulk-updates.ts +3 -0
- package/src/resources/messaging-optouts.ts +3 -0
- package/src/resources/messaging-profiles/autoresp-configs.ts +3 -0
- package/src/resources/messaging-tollfree/verification/requests.ts +3 -0
- package/src/resources/messaging-url-domains.ts +3 -0
- package/src/resources/mobile-network-operators.ts +3 -0
- package/src/resources/mobile-phone-numbers/mobile-phone-numbers.ts +3 -0
- package/src/resources/mobile-push-credentials.ts +3 -0
- package/src/resources/mobile-voice-connections.ts +3 -0
- package/src/resources/networks/default-gateway.ts +3 -0
- package/src/resources/networks/networks.ts +3 -0
- package/src/resources/notification-channels.ts +3 -0
- package/src/resources/notification-event-conditions.ts +3 -0
- package/src/resources/notification-events.ts +3 -0
- package/src/resources/notification-profiles.ts +3 -0
- package/src/resources/notification-settings.ts +3 -0
- package/src/resources/number-lookup.ts +3 -0
- package/src/resources/number-orders.ts +3 -0
- package/src/resources/number-reservations/actions.ts +3 -0
- package/src/resources/number-reservations/number-reservations.ts +3 -0
- package/src/resources/operator-connect/actions.ts +3 -0
- package/src/resources/organizations/users/actions.ts +3 -0
- package/src/resources/organizations/users/users.ts +3 -0
- package/src/resources/ota-updates.ts +3 -0
- package/src/resources/outbound-voice-profiles.ts +3 -0
- package/src/resources/payment/auto-recharge-prefs.ts +3 -0
- package/src/resources/payment/payment.ts +3 -0
- package/src/resources/phone-number-blocks/jobs.ts +3 -0
- package/src/resources/phone-numbers/actions.ts +3 -0
- package/src/resources/phone-numbers/jobs.ts +3 -0
- package/src/resources/phone-numbers/messaging.ts +3 -0
- package/src/resources/phone-numbers/phone-numbers.ts +3 -0
- package/src/resources/phone-numbers/voice.ts +3 -0
- package/src/resources/phone-numbers/voicemail.ts +3 -0
- package/src/resources/phone-numbers-regulatory-requirements.ts +3 -0
- package/src/resources/portability-checks.ts +3 -0
- package/src/resources/porting/events.ts +9 -48
- package/src/resources/porting/loa-configurations.ts +3 -0
- package/src/resources/porting/porting.ts +3 -0
- package/src/resources/porting/reports.ts +3 -0
- package/src/resources/porting-orders/action-requirements.ts +3 -0
- package/src/resources/porting-orders/actions.ts +3 -0
- package/src/resources/porting-orders/activation-jobs.ts +3 -0
- package/src/resources/porting-orders/additional-documents.ts +3 -0
- package/src/resources/porting-orders/associated-phone-numbers.ts +3 -0
- package/src/resources/porting-orders/comments.ts +3 -0
- package/src/resources/porting-orders/phone-number-blocks.ts +3 -0
- package/src/resources/porting-orders/phone-number-configurations.ts +3 -0
- package/src/resources/porting-orders/phone-number-extensions.ts +3 -0
- package/src/resources/porting-orders/porting-orders.ts +3 -0
- package/src/resources/porting-orders/verification-codes.ts +3 -0
- package/src/resources/porting-phone-numbers.ts +3 -0
- package/src/resources/portouts/comments.ts +3 -0
- package/src/resources/portouts/events.ts +3 -0
- package/src/resources/portouts/portouts.ts +3 -0
- package/src/resources/portouts/reports.ts +3 -0
- package/src/resources/portouts/supporting-documents.ts +3 -0
- package/src/resources/private-wireless-gateways.ts +3 -0
- package/src/resources/public-internet-gateways.ts +3 -0
- package/src/resources/queues/calls.ts +3 -0
- package/src/resources/queues/queues.ts +3 -0
- package/src/resources/recording-transcriptions.ts +3 -0
- package/src/resources/recordings/actions.ts +3 -0
- package/src/resources/recordings/recordings.ts +3 -0
- package/src/resources/regions.ts +3 -0
- package/src/resources/regulatory-requirements.ts +3 -0
- package/src/resources/reports/cdr-usage-reports.ts +3 -0
- package/src/resources/reports/mdr-usage-reports.ts +3 -0
- package/src/resources/requirement-groups.ts +3 -0
- package/src/resources/requirement-types.ts +3 -0
- package/src/resources/requirements.ts +3 -0
- package/src/resources/room-compositions.ts +3 -0
- package/src/resources/room-participants.ts +3 -0
- package/src/resources/room-recordings.ts +3 -0
- package/src/resources/rooms/actions.ts +3 -0
- package/src/resources/rooms/rooms.ts +3 -0
- package/src/resources/rooms/sessions/actions.ts +3 -0
- package/src/resources/session-analysis/index.ts +16 -0
- package/src/resources/session-analysis/metadata.ts +165 -0
- package/src/resources/session-analysis/session-analysis.ts +233 -0
- package/src/resources/session-analysis.ts +3 -0
- package/src/resources/seti.ts +3 -0
- package/src/resources/short-codes.ts +3 -0
- package/src/resources/sim-card-data-usage-notifications.ts +3 -0
- package/src/resources/sim-card-groups/sim-card-groups.ts +3 -0
- package/src/resources/sim-card-order-preview.ts +3 -0
- package/src/resources/sim-card-orders.ts +3 -0
- package/src/resources/sim-cards/sim-cards.ts +3 -0
- package/src/resources/siprec-connectors.ts +3 -0
- package/src/resources/speech-to-text.ts +3 -0
- package/src/resources/storage/buckets/buckets.ts +3 -0
- package/src/resources/storage/buckets/ssl-certificate.ts +3 -0
- package/src/resources/storage/buckets/usage.ts +3 -0
- package/src/resources/storage/migration-sources.ts +3 -0
- package/src/resources/storage/migrations/actions.ts +3 -0
- package/src/resources/storage/migrations/migrations.ts +3 -0
- package/src/resources/storage/storage.ts +3 -0
- package/src/resources/sub-number-orders-report.ts +3 -0
- package/src/resources/texml/accounts/accounts.ts +3 -0
- package/src/resources/texml/accounts/calls/calls.ts +3 -0
- package/src/resources/texml/accounts/calls/recordings-json.ts +3 -0
- package/src/resources/texml/accounts/calls/recordings.ts +3 -0
- package/src/resources/texml/accounts/calls/siprec.ts +3 -0
- package/src/resources/texml/accounts/calls/streams.ts +3 -0
- package/src/resources/texml/accounts/conferences/conferences.ts +3 -0
- package/src/resources/texml/accounts/conferences/participants.ts +3 -0
- package/src/resources/texml/accounts/queues.ts +3 -0
- package/src/resources/texml/accounts/recordings/json.ts +3 -0
- package/src/resources/texml/accounts/transcriptions/json.ts +3 -0
- package/src/resources/texml/texml.ts +3 -0
- package/src/resources/texml-applications.ts +3 -0
- package/src/resources/text-to-speech.ts +318 -0
- package/src/resources/usage-reports.ts +3 -0
- package/src/resources/user-addresses.ts +3 -0
- package/src/resources/user-tags.ts +3 -0
- package/src/resources/verifications/actions.ts +3 -0
- package/src/resources/verifications/by-phone-number/actions.ts +3 -0
- package/src/resources/verifications/by-phone-number/by-phone-number.ts +3 -0
- package/src/resources/verifications/verifications.ts +3 -0
- package/src/resources/verified-numbers/actions.ts +3 -0
- package/src/resources/verified-numbers/verified-numbers.ts +3 -0
- package/src/resources/verify-profiles.ts +3 -0
- package/src/resources/virtual-cross-connects-coverage.ts +3 -0
- package/src/resources/virtual-cross-connects.ts +3 -0
- package/src/resources/webhook-deliveries.ts +3 -0
- package/src/resources/webhooks.ts +3 -3
- package/src/resources/wireguard-interfaces.ts +3 -0
- package/src/resources/wireguard-peers.ts +3 -0
- package/src/resources/wireless/detail-records-reports.ts +3 -0
- package/src/resources/wireless/wireless.ts +3 -0
- package/src/resources/wireless-blocklist-values.ts +3 -0
- package/src/resources/wireless-blocklists.ts +3 -0
- package/src/version.ts +1 -1
- package/src/webhooks.ts +45 -17
- 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
- package/webhooks.d.mts +7 -7
- package/webhooks.d.mts.map +1 -1
- package/webhooks.d.ts +7 -7
- package/webhooks.d.ts.map +1 -1
- package/webhooks.js +59 -18
- package/webhooks.js.map +1 -1
- package/webhooks.mjs +26 -17
- package/webhooks.mjs.map +1 -1
package/src/webhooks.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Telnyx webhook verification
|
|
2
|
+
* Telnyx webhook verification using native Ed25519.
|
|
3
3
|
*
|
|
4
|
-
* This class provides
|
|
5
|
-
* using
|
|
4
|
+
* This class provides Ed25519 signature verification for Telnyx webhooks
|
|
5
|
+
* using Node's built-in crypto module (no external dependencies).
|
|
6
6
|
*
|
|
7
7
|
* @example Using base64 public key from Mission Control
|
|
8
8
|
* const webhook = new TelnyxWebhook('eu2zvPjhY6odxV34Z/EsRiERvTodkev4Fq0SlK90Izg=');
|
|
9
|
-
* webhook.verify(payload, headers);
|
|
9
|
+
* await webhook.verify(payload, headers);
|
|
10
10
|
*
|
|
11
11
|
* @example Using with Telnyx client
|
|
12
12
|
* const client = new Telnyx({
|
|
@@ -15,13 +15,12 @@
|
|
|
15
15
|
* });
|
|
16
16
|
*
|
|
17
17
|
* // Express example
|
|
18
|
-
* app.post('/webhooks', express.raw({ type: 'application/json' }), (req, res) => {
|
|
19
|
-
* const event = client.webhooks.unwrap(req.body.toString(), { headers: req.headers });
|
|
18
|
+
* app.post('/webhooks', express.raw({ type: 'application/json' }), async (req, res) => {
|
|
19
|
+
* const event = await client.webhooks.unwrap(req.body.toString(), { headers: req.headers });
|
|
20
20
|
* // Signature automatically verified
|
|
21
21
|
* });
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
import * as nacl from 'tweetnacl';
|
|
25
24
|
import { TelnyxError } from './core/error';
|
|
26
25
|
|
|
27
26
|
export class TelnyxWebhookVerificationError extends TelnyxError {
|
|
@@ -31,6 +30,33 @@ export class TelnyxWebhookVerificationError extends TelnyxError {
|
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
32
|
|
|
33
|
+
// Type for the SubtleCrypto interface we need
|
|
34
|
+
// Using unknown for key type to avoid CryptoKey dependency
|
|
35
|
+
interface SubtleCryptoLike {
|
|
36
|
+
importKey(
|
|
37
|
+
format: 'raw',
|
|
38
|
+
keyData: Uint8Array,
|
|
39
|
+
algorithm: { name: string },
|
|
40
|
+
extractable: boolean,
|
|
41
|
+
keyUsages: string[],
|
|
42
|
+
): Promise<unknown>;
|
|
43
|
+
verify(algorithm: string, key: unknown, signature: Uint8Array, data: Uint8Array): Promise<boolean>;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
interface CryptoLike {
|
|
47
|
+
subtle: SubtleCryptoLike;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Get crypto implementation (works in Node.js and browsers)
|
|
51
|
+
async function getCrypto(): Promise<CryptoLike> {
|
|
52
|
+
if (typeof globalThis.crypto !== 'undefined' && globalThis.crypto.subtle) {
|
|
53
|
+
return globalThis.crypto as CryptoLike;
|
|
54
|
+
}
|
|
55
|
+
// Node.js < 19 may need webcrypto from crypto module
|
|
56
|
+
const nodeCrypto = await import('crypto');
|
|
57
|
+
return nodeCrypto.webcrypto as unknown as CryptoLike;
|
|
58
|
+
}
|
|
59
|
+
|
|
34
60
|
export class TelnyxWebhook {
|
|
35
61
|
private verifyKey: Uint8Array;
|
|
36
62
|
|
|
@@ -55,7 +81,6 @@ export class TelnyxWebhook {
|
|
|
55
81
|
if (exc instanceof TelnyxWebhookVerificationError) {
|
|
56
82
|
throw exc;
|
|
57
83
|
}
|
|
58
|
-
console.error('Error parsing public key:', exc);
|
|
59
84
|
throw new TelnyxWebhookVerificationError(`Invalid key format: ${key}`);
|
|
60
85
|
}
|
|
61
86
|
} else {
|
|
@@ -70,7 +95,7 @@ export class TelnyxWebhook {
|
|
|
70
95
|
* @param headers The webhook headers
|
|
71
96
|
* @throws TelnyxWebhookVerificationError If verification fails
|
|
72
97
|
*/
|
|
73
|
-
verify(payload: string, headers: Record<string, string>): void {
|
|
98
|
+
async verify(payload: string, headers: Record<string, string>): Promise<void> {
|
|
74
99
|
// Extract required headers (case-insensitive lookup)
|
|
75
100
|
const signatureHeader = this.getHeader(headers, 'telnyx-signature-ed25519');
|
|
76
101
|
const timestampHeader = this.getHeader(headers, 'telnyx-timestamp');
|
|
@@ -97,7 +122,6 @@ export class TelnyxWebhook {
|
|
|
97
122
|
if (exc instanceof TelnyxWebhookVerificationError) {
|
|
98
123
|
throw exc;
|
|
99
124
|
}
|
|
100
|
-
console.error('Error validating timestamp:', exc);
|
|
101
125
|
throw new TelnyxWebhookVerificationError(`Invalid timestamp format: ${timestampHeader}`);
|
|
102
126
|
}
|
|
103
127
|
|
|
@@ -112,23 +136,27 @@ export class TelnyxWebhook {
|
|
|
112
136
|
|
|
113
137
|
signature = new Uint8Array(signatureBuffer);
|
|
114
138
|
} catch (exc) {
|
|
115
|
-
console.error('Error decoding signature:', exc);
|
|
116
139
|
throw new TelnyxWebhookVerificationError(`Invalid signature format: ${signatureHeader}`);
|
|
117
140
|
}
|
|
118
141
|
|
|
119
142
|
// Create the signed payload: timestamp|payload
|
|
143
|
+
const encoder = new TextEncoder();
|
|
120
144
|
const signedPayload = new Uint8Array([
|
|
121
|
-
...
|
|
122
|
-
...
|
|
123
|
-
...
|
|
145
|
+
...encoder.encode(timestampHeader),
|
|
146
|
+
...encoder.encode('|'),
|
|
147
|
+
...encoder.encode(payload),
|
|
124
148
|
]);
|
|
125
149
|
|
|
126
|
-
// Verify the signature
|
|
150
|
+
// Verify the signature using native crypto
|
|
127
151
|
let isValid: boolean;
|
|
128
152
|
try {
|
|
129
|
-
|
|
153
|
+
const crypto = await getCrypto();
|
|
154
|
+
const cryptoKey = await crypto.subtle.importKey('raw', this.verifyKey, { name: 'Ed25519' }, false, [
|
|
155
|
+
'verify',
|
|
156
|
+
]);
|
|
157
|
+
|
|
158
|
+
isValid = await crypto.subtle.verify('Ed25519', cryptoKey, signature, signedPayload);
|
|
130
159
|
} catch (exc) {
|
|
131
|
-
console.error('Error during signature verification:', exc);
|
|
132
160
|
throw new TelnyxWebhookVerificationError('Signature verification failed due to cryptographic error');
|
|
133
161
|
}
|
|
134
162
|
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "
|
|
1
|
+
export declare const VERSION = "6.2.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "
|
|
1
|
+
export declare const VERSION = "6.2.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
package/version.js
CHANGED
package/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '
|
|
1
|
+
export const VERSION = '6.2.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
|
package/webhooks.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Telnyx webhook verification
|
|
2
|
+
* Telnyx webhook verification using native Ed25519.
|
|
3
3
|
*
|
|
4
|
-
* This class provides
|
|
5
|
-
* using
|
|
4
|
+
* This class provides Ed25519 signature verification for Telnyx webhooks
|
|
5
|
+
* using Node's built-in crypto module (no external dependencies).
|
|
6
6
|
*
|
|
7
7
|
* @example Using base64 public key from Mission Control
|
|
8
8
|
* const webhook = new TelnyxWebhook('eu2zvPjhY6odxV34Z/EsRiERvTodkev4Fq0SlK90Izg=');
|
|
9
|
-
* webhook.verify(payload, headers);
|
|
9
|
+
* await webhook.verify(payload, headers);
|
|
10
10
|
*
|
|
11
11
|
* @example Using with Telnyx client
|
|
12
12
|
* const client = new Telnyx({
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* });
|
|
16
16
|
*
|
|
17
17
|
* // Express example
|
|
18
|
-
* app.post('/webhooks', express.raw({ type: 'application/json' }), (req, res) => {
|
|
19
|
-
* const event = client.webhooks.unwrap(req.body.toString(), { headers: req.headers });
|
|
18
|
+
* app.post('/webhooks', express.raw({ type: 'application/json' }), async (req, res) => {
|
|
19
|
+
* const event = await client.webhooks.unwrap(req.body.toString(), { headers: req.headers });
|
|
20
20
|
* // Signature automatically verified
|
|
21
21
|
* });
|
|
22
22
|
*/
|
|
@@ -39,7 +39,7 @@ export declare class TelnyxWebhook {
|
|
|
39
39
|
* @param headers The webhook headers
|
|
40
40
|
* @throws TelnyxWebhookVerificationError If verification fails
|
|
41
41
|
*/
|
|
42
|
-
verify(payload: string, headers: Record<string, string>): void
|
|
42
|
+
verify(payload: string, headers: Record<string, string>): Promise<void>;
|
|
43
43
|
/**
|
|
44
44
|
* Helper method to get header value case-insensitively
|
|
45
45
|
*/
|
package/webhooks.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.d.mts","sourceRoot":"","sources":["src/webhooks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;
|
|
1
|
+
{"version":3,"file":"webhooks.d.mts","sourceRoot":"","sources":["src/webhooks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;OAEI,EAAE,WAAW,EAAE;AAEtB,qBAAa,8BAA+B,SAAQ,WAAW;gBACjD,OAAO,EAAE,MAAM;CAI5B;AA6BD,qBAAa,aAAa;IACxB,OAAO,CAAC,SAAS,CAAa;IAE9B;;;;OAIG;gBACS,GAAG,EAAE,MAAM,GAAG,UAAU;IAuBpC;;;;;;OAMG;IACG,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAwE7E;;OAEG;IACH,OAAO,CAAC,SAAS;CAUlB"}
|
package/webhooks.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Telnyx webhook verification
|
|
2
|
+
* Telnyx webhook verification using native Ed25519.
|
|
3
3
|
*
|
|
4
|
-
* This class provides
|
|
5
|
-
* using
|
|
4
|
+
* This class provides Ed25519 signature verification for Telnyx webhooks
|
|
5
|
+
* using Node's built-in crypto module (no external dependencies).
|
|
6
6
|
*
|
|
7
7
|
* @example Using base64 public key from Mission Control
|
|
8
8
|
* const webhook = new TelnyxWebhook('eu2zvPjhY6odxV34Z/EsRiERvTodkev4Fq0SlK90Izg=');
|
|
9
|
-
* webhook.verify(payload, headers);
|
|
9
|
+
* await webhook.verify(payload, headers);
|
|
10
10
|
*
|
|
11
11
|
* @example Using with Telnyx client
|
|
12
12
|
* const client = new Telnyx({
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* });
|
|
16
16
|
*
|
|
17
17
|
* // Express example
|
|
18
|
-
* app.post('/webhooks', express.raw({ type: 'application/json' }), (req, res) => {
|
|
19
|
-
* const event = client.webhooks.unwrap(req.body.toString(), { headers: req.headers });
|
|
18
|
+
* app.post('/webhooks', express.raw({ type: 'application/json' }), async (req, res) => {
|
|
19
|
+
* const event = await client.webhooks.unwrap(req.body.toString(), { headers: req.headers });
|
|
20
20
|
* // Signature automatically verified
|
|
21
21
|
* });
|
|
22
22
|
*/
|
|
@@ -39,7 +39,7 @@ export declare class TelnyxWebhook {
|
|
|
39
39
|
* @param headers The webhook headers
|
|
40
40
|
* @throws TelnyxWebhookVerificationError If verification fails
|
|
41
41
|
*/
|
|
42
|
-
verify(payload: string, headers: Record<string, string>): void
|
|
42
|
+
verify(payload: string, headers: Record<string, string>): Promise<void>;
|
|
43
43
|
/**
|
|
44
44
|
* Helper method to get header value case-insensitively
|
|
45
45
|
*/
|
package/webhooks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.d.ts","sourceRoot":"","sources":["src/webhooks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;
|
|
1
|
+
{"version":3,"file":"webhooks.d.ts","sourceRoot":"","sources":["src/webhooks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;OAEI,EAAE,WAAW,EAAE;AAEtB,qBAAa,8BAA+B,SAAQ,WAAW;gBACjD,OAAO,EAAE,MAAM;CAI5B;AA6BD,qBAAa,aAAa;IACxB,OAAO,CAAC,SAAS,CAAa;IAE9B;;;;OAIG;gBACS,GAAG,EAAE,MAAM,GAAG,UAAU;IAuBpC;;;;;;OAMG;IACG,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAwE7E;;OAEG;IACH,OAAO,CAAC,SAAS;CAUlB"}
|
package/webhooks.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Telnyx webhook verification
|
|
3
|
+
* Telnyx webhook verification using native Ed25519.
|
|
4
4
|
*
|
|
5
|
-
* This class provides
|
|
6
|
-
* using
|
|
5
|
+
* This class provides Ed25519 signature verification for Telnyx webhooks
|
|
6
|
+
* using Node's built-in crypto module (no external dependencies).
|
|
7
7
|
*
|
|
8
8
|
* @example Using base64 public key from Mission Control
|
|
9
9
|
* const webhook = new TelnyxWebhook('eu2zvPjhY6odxV34Z/EsRiERvTodkev4Fq0SlK90Izg=');
|
|
10
|
-
* webhook.verify(payload, headers);
|
|
10
|
+
* await webhook.verify(payload, headers);
|
|
11
11
|
*
|
|
12
12
|
* @example Using with Telnyx client
|
|
13
13
|
* const client = new Telnyx({
|
|
@@ -16,15 +16,46 @@
|
|
|
16
16
|
* });
|
|
17
17
|
*
|
|
18
18
|
* // Express example
|
|
19
|
-
* app.post('/webhooks', express.raw({ type: 'application/json' }), (req, res) => {
|
|
20
|
-
* const event = client.webhooks.unwrap(req.body.toString(), { headers: req.headers });
|
|
19
|
+
* app.post('/webhooks', express.raw({ type: 'application/json' }), async (req, res) => {
|
|
20
|
+
* const event = await client.webhooks.unwrap(req.body.toString(), { headers: req.headers });
|
|
21
21
|
* // Signature automatically verified
|
|
22
22
|
* });
|
|
23
23
|
*/
|
|
24
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
25
|
+
if (k2 === undefined) k2 = k;
|
|
26
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
27
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
28
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
29
|
+
}
|
|
30
|
+
Object.defineProperty(o, k2, desc);
|
|
31
|
+
}) : (function(o, m, k, k2) {
|
|
32
|
+
if (k2 === undefined) k2 = k;
|
|
33
|
+
o[k2] = m[k];
|
|
34
|
+
}));
|
|
35
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
36
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
37
|
+
}) : function(o, v) {
|
|
38
|
+
o["default"] = v;
|
|
39
|
+
});
|
|
40
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
41
|
+
var ownKeys = function(o) {
|
|
42
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
43
|
+
var ar = [];
|
|
44
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
45
|
+
return ar;
|
|
46
|
+
};
|
|
47
|
+
return ownKeys(o);
|
|
48
|
+
};
|
|
49
|
+
return function (mod) {
|
|
50
|
+
if (mod && mod.__esModule) return mod;
|
|
51
|
+
var result = {};
|
|
52
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
53
|
+
__setModuleDefault(result, mod);
|
|
54
|
+
return result;
|
|
55
|
+
};
|
|
56
|
+
})();
|
|
24
57
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
58
|
exports.TelnyxWebhook = exports.TelnyxWebhookVerificationError = void 0;
|
|
26
|
-
const tslib_1 = require("./internal/tslib.js");
|
|
27
|
-
const nacl = tslib_1.__importStar(require("tweetnacl"));
|
|
28
59
|
const error_1 = require("./core/error.js");
|
|
29
60
|
class TelnyxWebhookVerificationError extends error_1.TelnyxError {
|
|
30
61
|
constructor(message) {
|
|
@@ -33,6 +64,15 @@ class TelnyxWebhookVerificationError extends error_1.TelnyxError {
|
|
|
33
64
|
}
|
|
34
65
|
}
|
|
35
66
|
exports.TelnyxWebhookVerificationError = TelnyxWebhookVerificationError;
|
|
67
|
+
// Get crypto implementation (works in Node.js and browsers)
|
|
68
|
+
async function getCrypto() {
|
|
69
|
+
if (typeof globalThis.crypto !== 'undefined' && globalThis.crypto.subtle) {
|
|
70
|
+
return globalThis.crypto;
|
|
71
|
+
}
|
|
72
|
+
// Node.js < 19 may need webcrypto from crypto module
|
|
73
|
+
const nodeCrypto = await Promise.resolve().then(() => __importStar(require('crypto')));
|
|
74
|
+
return nodeCrypto.webcrypto;
|
|
75
|
+
}
|
|
36
76
|
class TelnyxWebhook {
|
|
37
77
|
/**
|
|
38
78
|
* Initialize the webhook verifier with a public key.
|
|
@@ -54,7 +94,6 @@ class TelnyxWebhook {
|
|
|
54
94
|
if (exc instanceof TelnyxWebhookVerificationError) {
|
|
55
95
|
throw exc;
|
|
56
96
|
}
|
|
57
|
-
console.error('Error parsing public key:', exc);
|
|
58
97
|
throw new TelnyxWebhookVerificationError(`Invalid key format: ${key}`);
|
|
59
98
|
}
|
|
60
99
|
}
|
|
@@ -69,7 +108,7 @@ class TelnyxWebhook {
|
|
|
69
108
|
* @param headers The webhook headers
|
|
70
109
|
* @throws TelnyxWebhookVerificationError If verification fails
|
|
71
110
|
*/
|
|
72
|
-
verify(payload, headers) {
|
|
111
|
+
async verify(payload, headers) {
|
|
73
112
|
// Extract required headers (case-insensitive lookup)
|
|
74
113
|
const signatureHeader = this.getHeader(headers, 'telnyx-signature-ed25519');
|
|
75
114
|
const timestampHeader = this.getHeader(headers, 'telnyx-timestamp');
|
|
@@ -93,7 +132,6 @@ class TelnyxWebhook {
|
|
|
93
132
|
if (exc instanceof TelnyxWebhookVerificationError) {
|
|
94
133
|
throw exc;
|
|
95
134
|
}
|
|
96
|
-
console.error('Error validating timestamp:', exc);
|
|
97
135
|
throw new TelnyxWebhookVerificationError(`Invalid timestamp format: ${timestampHeader}`);
|
|
98
136
|
}
|
|
99
137
|
// Decode the signature from base64
|
|
@@ -106,22 +144,25 @@ class TelnyxWebhook {
|
|
|
106
144
|
signature = new Uint8Array(signatureBuffer);
|
|
107
145
|
}
|
|
108
146
|
catch (exc) {
|
|
109
|
-
console.error('Error decoding signature:', exc);
|
|
110
147
|
throw new TelnyxWebhookVerificationError(`Invalid signature format: ${signatureHeader}`);
|
|
111
148
|
}
|
|
112
149
|
// Create the signed payload: timestamp|payload
|
|
150
|
+
const encoder = new TextEncoder();
|
|
113
151
|
const signedPayload = new Uint8Array([
|
|
114
|
-
...
|
|
115
|
-
...
|
|
116
|
-
...
|
|
152
|
+
...encoder.encode(timestampHeader),
|
|
153
|
+
...encoder.encode('|'),
|
|
154
|
+
...encoder.encode(payload),
|
|
117
155
|
]);
|
|
118
|
-
// Verify the signature
|
|
156
|
+
// Verify the signature using native crypto
|
|
119
157
|
let isValid;
|
|
120
158
|
try {
|
|
121
|
-
|
|
159
|
+
const crypto = await getCrypto();
|
|
160
|
+
const cryptoKey = await crypto.subtle.importKey('raw', this.verifyKey, { name: 'Ed25519' }, false, [
|
|
161
|
+
'verify',
|
|
162
|
+
]);
|
|
163
|
+
isValid = await crypto.subtle.verify('Ed25519', cryptoKey, signature, signedPayload);
|
|
122
164
|
}
|
|
123
165
|
catch (exc) {
|
|
124
|
-
console.error('Error during signature verification:', exc);
|
|
125
166
|
throw new TelnyxWebhookVerificationError('Signature verification failed due to cryptographic error');
|
|
126
167
|
}
|
|
127
168
|
if (!isValid) {
|
package/webhooks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.js","sourceRoot":"","sources":["src/webhooks.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG
|
|
1
|
+
{"version":3,"file":"webhooks.js","sourceRoot":"","sources":["src/webhooks.ts"],"names":[],"mappings":"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"}
|
package/webhooks.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Telnyx webhook verification
|
|
2
|
+
* Telnyx webhook verification using native Ed25519.
|
|
3
3
|
*
|
|
4
|
-
* This class provides
|
|
5
|
-
* using
|
|
4
|
+
* This class provides Ed25519 signature verification for Telnyx webhooks
|
|
5
|
+
* using Node's built-in crypto module (no external dependencies).
|
|
6
6
|
*
|
|
7
7
|
* @example Using base64 public key from Mission Control
|
|
8
8
|
* const webhook = new TelnyxWebhook('eu2zvPjhY6odxV34Z/EsRiERvTodkev4Fq0SlK90Izg=');
|
|
9
|
-
* webhook.verify(payload, headers);
|
|
9
|
+
* await webhook.verify(payload, headers);
|
|
10
10
|
*
|
|
11
11
|
* @example Using with Telnyx client
|
|
12
12
|
* const client = new Telnyx({
|
|
@@ -15,12 +15,11 @@
|
|
|
15
15
|
* });
|
|
16
16
|
*
|
|
17
17
|
* // Express example
|
|
18
|
-
* app.post('/webhooks', express.raw({ type: 'application/json' }), (req, res) => {
|
|
19
|
-
* const event = client.webhooks.unwrap(req.body.toString(), { headers: req.headers });
|
|
18
|
+
* app.post('/webhooks', express.raw({ type: 'application/json' }), async (req, res) => {
|
|
19
|
+
* const event = await client.webhooks.unwrap(req.body.toString(), { headers: req.headers });
|
|
20
20
|
* // Signature automatically verified
|
|
21
21
|
* });
|
|
22
22
|
*/
|
|
23
|
-
import * as nacl from 'tweetnacl';
|
|
24
23
|
import { TelnyxError } from "./core/error.mjs";
|
|
25
24
|
export class TelnyxWebhookVerificationError extends TelnyxError {
|
|
26
25
|
constructor(message) {
|
|
@@ -28,6 +27,15 @@ export class TelnyxWebhookVerificationError extends TelnyxError {
|
|
|
28
27
|
this.name = 'TelnyxWebhookVerificationError';
|
|
29
28
|
}
|
|
30
29
|
}
|
|
30
|
+
// Get crypto implementation (works in Node.js and browsers)
|
|
31
|
+
async function getCrypto() {
|
|
32
|
+
if (typeof globalThis.crypto !== 'undefined' && globalThis.crypto.subtle) {
|
|
33
|
+
return globalThis.crypto;
|
|
34
|
+
}
|
|
35
|
+
// Node.js < 19 may need webcrypto from crypto module
|
|
36
|
+
const nodeCrypto = await import('crypto');
|
|
37
|
+
return nodeCrypto.webcrypto;
|
|
38
|
+
}
|
|
31
39
|
export class TelnyxWebhook {
|
|
32
40
|
/**
|
|
33
41
|
* Initialize the webhook verifier with a public key.
|
|
@@ -49,7 +57,6 @@ export class TelnyxWebhook {
|
|
|
49
57
|
if (exc instanceof TelnyxWebhookVerificationError) {
|
|
50
58
|
throw exc;
|
|
51
59
|
}
|
|
52
|
-
console.error('Error parsing public key:', exc);
|
|
53
60
|
throw new TelnyxWebhookVerificationError(`Invalid key format: ${key}`);
|
|
54
61
|
}
|
|
55
62
|
}
|
|
@@ -64,7 +71,7 @@ export class TelnyxWebhook {
|
|
|
64
71
|
* @param headers The webhook headers
|
|
65
72
|
* @throws TelnyxWebhookVerificationError If verification fails
|
|
66
73
|
*/
|
|
67
|
-
verify(payload, headers) {
|
|
74
|
+
async verify(payload, headers) {
|
|
68
75
|
// Extract required headers (case-insensitive lookup)
|
|
69
76
|
const signatureHeader = this.getHeader(headers, 'telnyx-signature-ed25519');
|
|
70
77
|
const timestampHeader = this.getHeader(headers, 'telnyx-timestamp');
|
|
@@ -88,7 +95,6 @@ export class TelnyxWebhook {
|
|
|
88
95
|
if (exc instanceof TelnyxWebhookVerificationError) {
|
|
89
96
|
throw exc;
|
|
90
97
|
}
|
|
91
|
-
console.error('Error validating timestamp:', exc);
|
|
92
98
|
throw new TelnyxWebhookVerificationError(`Invalid timestamp format: ${timestampHeader}`);
|
|
93
99
|
}
|
|
94
100
|
// Decode the signature from base64
|
|
@@ -101,22 +107,25 @@ export class TelnyxWebhook {
|
|
|
101
107
|
signature = new Uint8Array(signatureBuffer);
|
|
102
108
|
}
|
|
103
109
|
catch (exc) {
|
|
104
|
-
console.error('Error decoding signature:', exc);
|
|
105
110
|
throw new TelnyxWebhookVerificationError(`Invalid signature format: ${signatureHeader}`);
|
|
106
111
|
}
|
|
107
112
|
// Create the signed payload: timestamp|payload
|
|
113
|
+
const encoder = new TextEncoder();
|
|
108
114
|
const signedPayload = new Uint8Array([
|
|
109
|
-
...
|
|
110
|
-
...
|
|
111
|
-
...
|
|
115
|
+
...encoder.encode(timestampHeader),
|
|
116
|
+
...encoder.encode('|'),
|
|
117
|
+
...encoder.encode(payload),
|
|
112
118
|
]);
|
|
113
|
-
// Verify the signature
|
|
119
|
+
// Verify the signature using native crypto
|
|
114
120
|
let isValid;
|
|
115
121
|
try {
|
|
116
|
-
|
|
122
|
+
const crypto = await getCrypto();
|
|
123
|
+
const cryptoKey = await crypto.subtle.importKey('raw', this.verifyKey, { name: 'Ed25519' }, false, [
|
|
124
|
+
'verify',
|
|
125
|
+
]);
|
|
126
|
+
isValid = await crypto.subtle.verify('Ed25519', cryptoKey, signature, signedPayload);
|
|
117
127
|
}
|
|
118
128
|
catch (exc) {
|
|
119
|
-
console.error('Error during signature verification:', exc);
|
|
120
129
|
throw new TelnyxWebhookVerificationError('Signature verification failed due to cryptographic error');
|
|
121
130
|
}
|
|
122
131
|
if (!isValid) {
|
package/webhooks.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.mjs","sourceRoot":"","sources":["src/webhooks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;OAEI,
|
|
1
|
+
{"version":3,"file":"webhooks.mjs","sourceRoot":"","sources":["src/webhooks.ts"],"names":[],"mappings":"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"}
|