telnyx 7.26.0 → 7.28.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 +14 -0
- package/client.d.mts +28 -10
- package/client.d.mts.map +1 -1
- package/client.d.ts +28 -10
- package/client.d.ts.map +1 -1
- package/client.js +18 -0
- package/client.js.map +1 -1
- package/client.mjs +18 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/addresses/addresses.d.mts +22 -2
- package/resources/addresses/addresses.d.mts.map +1 -1
- package/resources/addresses/addresses.d.ts +22 -2
- package/resources/addresses/addresses.d.ts.map +1 -1
- package/resources/addresses/addresses.js +12 -0
- package/resources/addresses/addresses.js.map +1 -1
- package/resources/addresses/addresses.mjs +12 -0
- package/resources/addresses/addresses.mjs.map +1 -1
- package/resources/ai/ai.d.mts +2 -2
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +2 -2
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +179 -33
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +179 -33
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js +4 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs +4 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/versions.d.mts +11 -6
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +11 -6
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/assistants/versions.js +4 -1
- package/resources/ai/assistants/versions.js.map +1 -1
- package/resources/ai/assistants/versions.mjs +4 -1
- package/resources/ai/assistants/versions.mjs.map +1 -1
- package/resources/ai/audio.d.mts +33 -10
- package/resources/ai/audio.d.mts.map +1 -1
- package/resources/ai/audio.d.ts +33 -10
- package/resources/ai/audio.d.ts.map +1 -1
- package/resources/ai/avatars.d.mts +21 -8
- package/resources/ai/avatars.d.mts.map +1 -1
- package/resources/ai/avatars.d.ts +21 -8
- package/resources/ai/avatars.d.ts.map +1 -1
- package/resources/ai/avatars.js +3 -1
- package/resources/ai/avatars.js.map +1 -1
- package/resources/ai/avatars.mjs +3 -1
- package/resources/ai/avatars.mjs.map +1 -1
- package/resources/ai/index.d.mts +1 -1
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +1 -1
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/tools.d.mts +13 -1
- package/resources/ai/tools.d.mts.map +1 -1
- package/resources/ai/tools.d.ts +13 -1
- package/resources/ai/tools.d.ts.map +1 -1
- package/resources/calls/actions.d.mts +202 -13
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +202 -13
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +2 -2
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +2 -2
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +1 -1
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +1 -1
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/compute/compute.d.mts +75 -2
- package/resources/compute/compute.d.mts.map +1 -1
- package/resources/compute/compute.d.ts +75 -2
- package/resources/compute/compute.d.ts.map +1 -1
- package/resources/compute/compute.js +17 -0
- package/resources/compute/compute.js.map +1 -1
- package/resources/compute/compute.mjs +17 -0
- package/resources/compute/compute.mjs.map +1 -1
- package/resources/compute/funcs/export.d.mts +3 -0
- package/resources/compute/funcs/export.d.mts.map +1 -1
- package/resources/compute/funcs/export.d.ts +3 -0
- package/resources/compute/funcs/export.d.ts.map +1 -1
- package/resources/compute/funcs/export.js +3 -0
- package/resources/compute/funcs/export.js.map +1 -1
- package/resources/compute/funcs/export.mjs +3 -0
- package/resources/compute/funcs/export.mjs.map +1 -1
- package/resources/compute/funcs/funcs.d.mts +60 -1
- package/resources/compute/funcs/funcs.d.mts.map +1 -1
- package/resources/compute/funcs/funcs.d.ts +60 -1
- package/resources/compute/funcs/funcs.d.ts.map +1 -1
- package/resources/compute/funcs/funcs.js +24 -0
- package/resources/compute/funcs/funcs.js.map +1 -1
- package/resources/compute/funcs/funcs.mjs +24 -0
- package/resources/compute/funcs/funcs.mjs.map +1 -1
- package/resources/compute/funcs/index.d.mts +1 -1
- package/resources/compute/funcs/index.d.mts.map +1 -1
- package/resources/compute/funcs/index.d.ts +1 -1
- package/resources/compute/funcs/index.d.ts.map +1 -1
- package/resources/compute/funcs/index.js.map +1 -1
- package/resources/compute/funcs/index.mjs.map +1 -1
- package/resources/compute/index.d.mts +2 -2
- package/resources/compute/index.d.mts.map +1 -1
- package/resources/compute/index.d.ts +2 -2
- package/resources/compute/index.d.ts.map +1 -1
- package/resources/compute/index.js.map +1 -1
- package/resources/compute/index.mjs.map +1 -1
- package/resources/credential-connections/credential-connections.d.mts +38 -8
- package/resources/credential-connections/credential-connections.d.mts.map +1 -1
- package/resources/credential-connections/credential-connections.d.ts +38 -8
- package/resources/credential-connections/credential-connections.d.ts.map +1 -1
- package/resources/credential-connections/credential-connections.js.map +1 -1
- package/resources/credential-connections/credential-connections.mjs.map +1 -1
- package/resources/dial-metrics.d.mts +151 -0
- package/resources/dial-metrics.d.mts.map +1 -0
- package/resources/dial-metrics.d.ts +151 -0
- package/resources/dial-metrics.d.ts.map +1 -0
- package/resources/dial-metrics.js +44 -0
- package/resources/dial-metrics.js.map +1 -0
- package/resources/dial-metrics.mjs +40 -0
- package/resources/dial-metrics.mjs.map +1 -0
- package/resources/dir/dir.d.mts +2 -3
- package/resources/dir/dir.d.mts.map +1 -1
- package/resources/dir/dir.d.ts +2 -3
- package/resources/dir/dir.d.ts.map +1 -1
- package/resources/dir/dir.js +1 -2
- package/resources/dir/dir.js.map +1 -1
- package/resources/dir/dir.mjs +1 -2
- package/resources/dir/dir.mjs.map +1 -1
- package/resources/dir/references.d.mts +15 -9
- package/resources/dir/references.d.mts.map +1 -1
- package/resources/dir/references.d.ts +15 -9
- package/resources/dir/references.d.ts.map +1 -1
- package/resources/dir/references.js +15 -9
- package/resources/dir/references.js.map +1 -1
- package/resources/dir/references.mjs +15 -9
- package/resources/dir/references.mjs.map +1 -1
- package/resources/dir/verify-email.d.mts +17 -5
- package/resources/dir/verify-email.d.mts.map +1 -1
- package/resources/dir/verify-email.d.ts +17 -5
- package/resources/dir/verify-email.d.ts.map +1 -1
- package/resources/dir/verify-email.js +17 -5
- package/resources/dir/verify-email.js.map +1 -1
- package/resources/dir/verify-email.mjs +17 -5
- package/resources/dir/verify-email.mjs.map +1 -1
- package/resources/email-domains/email-domains.d.mts +1 -1
- package/resources/email-domains/email-domains.d.mts.map +1 -1
- package/resources/email-domains/email-domains.d.ts +1 -1
- package/resources/email-domains/email-domains.d.ts.map +1 -1
- package/resources/enterprises/verify-email.d.mts +1 -1
- package/resources/enterprises/verify-email.d.ts +1 -1
- package/resources/enterprises/verify-email.js +1 -1
- package/resources/enterprises/verify-email.mjs +1 -1
- package/resources/fqdn-connections/fqdn-connections.d.mts +38 -8
- package/resources/fqdn-connections/fqdn-connections.d.mts.map +1 -1
- package/resources/fqdn-connections/fqdn-connections.d.ts +38 -8
- package/resources/fqdn-connections/fqdn-connections.d.ts.map +1 -1
- package/resources/fqdn-connections/fqdn-connections.js.map +1 -1
- package/resources/fqdn-connections/fqdn-connections.mjs.map +1 -1
- package/resources/index.d.mts +8 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +10 -4
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/ip-connections.d.mts +36 -6
- package/resources/ip-connections.d.mts.map +1 -1
- package/resources/ip-connections.d.ts +36 -6
- package/resources/ip-connections.d.ts.map +1 -1
- package/resources/meeting-sessions/actions.d.mts +13 -7
- package/resources/meeting-sessions/actions.d.mts.map +1 -1
- package/resources/meeting-sessions/actions.d.ts +13 -7
- package/resources/meeting-sessions/actions.d.ts.map +1 -1
- package/resources/meeting-sessions/actions.js +13 -7
- package/resources/meeting-sessions/actions.js.map +1 -1
- package/resources/meeting-sessions/actions.mjs +13 -7
- package/resources/meeting-sessions/actions.mjs.map +1 -1
- package/resources/meeting-sessions/index.d.mts +1 -1
- package/resources/meeting-sessions/index.d.mts.map +1 -1
- package/resources/meeting-sessions/index.d.ts +1 -1
- package/resources/meeting-sessions/index.d.ts.map +1 -1
- package/resources/meeting-sessions/index.js.map +1 -1
- package/resources/meeting-sessions/index.mjs.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.mts +46 -65
- package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.ts +46 -65
- package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.js +14 -23
- package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.mjs +14 -23
- package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
- package/resources/messages/messages.d.mts +581 -118
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +581 -118
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +71 -14
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +71 -14
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/messages/rcs.d.mts +26 -6
- package/resources/messages/rcs.d.mts.map +1 -1
- package/resources/messages/rcs.d.ts +26 -6
- package/resources/messages/rcs.d.ts.map +1 -1
- package/resources/messages/rcs.js +11 -2
- package/resources/messages/rcs.js.map +1 -1
- package/resources/messages/rcs.mjs +11 -2
- package/resources/messages/rcs.mjs.map +1 -1
- package/resources/network-coverage.d.mts +1 -1
- package/resources/network-coverage.d.mts.map +1 -1
- package/resources/network-coverage.d.ts +1 -1
- package/resources/network-coverage.d.ts.map +1 -1
- package/resources/number-lookup.d.mts +122 -4
- package/resources/number-lookup.d.mts.map +1 -1
- package/resources/number-lookup.d.ts +122 -4
- package/resources/number-lookup.d.ts.map +1 -1
- package/resources/phone-numbers/csv-downloads.d.mts +9 -0
- package/resources/phone-numbers/csv-downloads.d.mts.map +1 -1
- package/resources/phone-numbers/csv-downloads.d.ts +9 -0
- package/resources/phone-numbers/csv-downloads.d.ts.map +1 -1
- package/resources/phone-numbers/csv-downloads.js +5 -2
- package/resources/phone-numbers/csv-downloads.js.map +1 -1
- package/resources/phone-numbers/csv-downloads.mjs +5 -2
- package/resources/phone-numbers/csv-downloads.mjs.map +1 -1
- package/resources/phone-numbers/index.d.mts +2 -2
- package/resources/phone-numbers/index.d.mts.map +1 -1
- package/resources/phone-numbers/index.d.ts +2 -2
- package/resources/phone-numbers/index.d.ts.map +1 -1
- package/resources/phone-numbers/index.js.map +1 -1
- package/resources/phone-numbers/index.mjs.map +1 -1
- package/resources/phone-numbers/jobs.d.mts +266 -15
- package/resources/phone-numbers/jobs.d.mts.map +1 -1
- package/resources/phone-numbers/jobs.d.ts +266 -15
- package/resources/phone-numbers/jobs.d.ts.map +1 -1
- package/resources/phone-numbers/jobs.js +1 -1
- package/resources/phone-numbers/jobs.js.map +1 -1
- package/resources/phone-numbers/jobs.mjs +1 -1
- package/resources/phone-numbers/jobs.mjs.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.mts +28 -3
- package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.ts +28 -3
- package/resources/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.mts +1 -1
- package/resources/porting-orders/phone-number-blocks.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.ts +1 -1
- package/resources/porting-orders/phone-number-blocks.d.ts.map +1 -1
- package/resources/porting-orders/porting-orders.d.mts +1 -1
- package/resources/porting-orders/porting-orders.d.mts.map +1 -1
- package/resources/porting-orders/porting-orders.d.ts +1 -1
- package/resources/porting-orders/porting-orders.d.ts.map +1 -1
- package/resources/porting-orders/porting-orders.js.map +1 -1
- package/resources/porting-orders/porting-orders.mjs.map +1 -1
- package/resources/porting-phone-numbers.d.mts +1 -1
- package/resources/porting-phone-numbers.d.mts.map +1 -1
- package/resources/porting-phone-numbers.d.ts +1 -1
- package/resources/porting-phone-numbers.d.ts.map +1 -1
- package/resources/shared.d.mts +4 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +4 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.mts +12 -5
- package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.ts +12 -5
- package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
- package/resources/tailscale-subnet-routers.d.mts +233 -0
- package/resources/tailscale-subnet-routers.d.mts.map +1 -0
- package/resources/tailscale-subnet-routers.d.ts +233 -0
- package/resources/tailscale-subnet-routers.d.ts.map +1 -0
- package/resources/tailscale-subnet-routers.js +105 -0
- package/resources/tailscale-subnet-routers.js.map +1 -0
- package/resources/tailscale-subnet-routers.mjs +101 -0
- package/resources/tailscale-subnet-routers.mjs.map +1 -0
- package/resources/telephony-credentials.d.mts +11 -2
- package/resources/telephony-credentials.d.mts.map +1 -1
- package/resources/telephony-credentials.d.ts +11 -2
- package/resources/telephony-credentials.d.ts.map +1 -1
- package/resources/telephony-credentials.js +9 -2
- package/resources/telephony-credentials.js.map +1 -1
- package/resources/telephony-credentials.mjs +9 -2
- package/resources/telephony-credentials.mjs.map +1 -1
- package/resources/texml/accounts/accounts.d.mts +2 -2
- package/resources/texml/accounts/accounts.d.ts +2 -2
- package/resources/texml/accounts/accounts.js +2 -2
- package/resources/texml/accounts/accounts.mjs +2 -2
- package/resources/texml/accounts/calls/calls.d.mts +49 -14
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +49 -14
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js +7 -7
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs +7 -7
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.d.mts +14 -4
- package/resources/texml/accounts/calls/recordings-json.d.mts.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.d.ts +14 -4
- package/resources/texml/accounts/calls/recordings-json.d.ts.map +1 -1
- package/resources/texml/accounts/calls/recordings-json.js +2 -2
- package/resources/texml/accounts/calls/recordings-json.mjs +2 -2
- package/resources/texml/accounts/calls/recordings.d.mts +10 -2
- package/resources/texml/accounts/calls/recordings.d.mts.map +1 -1
- package/resources/texml/accounts/calls/recordings.d.ts +10 -2
- package/resources/texml/accounts/calls/recordings.d.ts.map +1 -1
- package/resources/texml/accounts/calls/recordings.js +4 -1
- package/resources/texml/accounts/calls/recordings.js.map +1 -1
- package/resources/texml/accounts/calls/recordings.mjs +4 -1
- package/resources/texml/accounts/calls/recordings.mjs.map +1 -1
- package/resources/texml/accounts/calls/siprec.d.mts +10 -2
- package/resources/texml/accounts/calls/siprec.d.mts.map +1 -1
- package/resources/texml/accounts/calls/siprec.d.ts +10 -2
- package/resources/texml/accounts/calls/siprec.d.ts.map +1 -1
- package/resources/texml/accounts/calls/siprec.js +4 -1
- package/resources/texml/accounts/calls/siprec.js.map +1 -1
- package/resources/texml/accounts/calls/siprec.mjs +4 -1
- package/resources/texml/accounts/calls/siprec.mjs.map +1 -1
- package/resources/texml/accounts/calls/streams.d.mts +10 -2
- package/resources/texml/accounts/calls/streams.d.mts.map +1 -1
- package/resources/texml/accounts/calls/streams.d.ts +10 -2
- package/resources/texml/accounts/calls/streams.d.ts.map +1 -1
- package/resources/texml/accounts/calls/streams.js +4 -1
- package/resources/texml/accounts/calls/streams.js.map +1 -1
- package/resources/texml/accounts/calls/streams.mjs +4 -1
- package/resources/texml/accounts/calls/streams.mjs.map +1 -1
- package/resources/texml/accounts/conferences/conferences.d.mts +29 -9
- package/resources/texml/accounts/conferences/conferences.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/conferences.d.ts +29 -9
- package/resources/texml/accounts/conferences/conferences.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/conferences.js +5 -5
- package/resources/texml/accounts/conferences/conferences.js.map +1 -1
- package/resources/texml/accounts/conferences/conferences.mjs +5 -5
- package/resources/texml/accounts/conferences/conferences.mjs.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.mts +35 -10
- package/resources/texml/accounts/conferences/participants.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.ts +35 -10
- package/resources/texml/accounts/conferences/participants.d.ts.map +1 -1
- package/resources/texml/accounts/conferences/participants.js +5 -5
- package/resources/texml/accounts/conferences/participants.mjs +5 -5
- package/resources/texml/accounts/queues.d.mts +25 -8
- package/resources/texml/accounts/queues.d.mts.map +1 -1
- package/resources/texml/accounts/queues.d.ts +25 -8
- package/resources/texml/accounts/queues.d.ts.map +1 -1
- package/resources/texml/accounts/queues.js +7 -5
- package/resources/texml/accounts/queues.js.map +1 -1
- package/resources/texml/accounts/queues.mjs +7 -5
- package/resources/texml/accounts/queues.mjs.map +1 -1
- package/resources/texml/accounts/recordings/json.d.mts +14 -4
- package/resources/texml/accounts/recordings/json.d.mts.map +1 -1
- package/resources/texml/accounts/recordings/json.d.ts +14 -4
- package/resources/texml/accounts/recordings/json.d.ts.map +1 -1
- package/resources/texml/accounts/recordings/json.js +2 -2
- package/resources/texml/accounts/recordings/json.mjs +2 -2
- package/resources/texml/accounts/transcriptions/json.d.mts +14 -4
- package/resources/texml/accounts/transcriptions/json.d.mts.map +1 -1
- package/resources/texml/accounts/transcriptions/json.d.ts +14 -4
- package/resources/texml/accounts/transcriptions/json.d.ts.map +1 -1
- package/resources/texml/accounts/transcriptions/json.js +2 -2
- package/resources/texml/accounts/transcriptions/json.mjs +2 -2
- package/resources/text-to-speech/text-to-speech.d.mts +15 -6
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +15 -6
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/tts-integrations/actions.d.mts +4 -0
- package/resources/tts-integrations/actions.d.mts.map +1 -0
- package/resources/tts-integrations/actions.d.ts +4 -0
- package/resources/tts-integrations/actions.d.ts.map +1 -0
- package/resources/tts-integrations/actions.js +9 -0
- package/resources/tts-integrations/actions.js.map +1 -0
- package/resources/tts-integrations/actions.mjs +5 -0
- package/resources/tts-integrations/actions.mjs.map +1 -0
- package/resources/tts-integrations/index.d.mts +3 -0
- package/resources/tts-integrations/index.d.mts.map +1 -0
- package/resources/tts-integrations/index.d.ts +3 -0
- package/resources/tts-integrations/index.d.ts.map +1 -0
- package/resources/tts-integrations/index.js +9 -0
- package/resources/tts-integrations/index.js.map +1 -0
- package/resources/tts-integrations/index.mjs +4 -0
- package/resources/tts-integrations/index.mjs.map +1 -0
- package/resources/tts-integrations/tts-integrations.d.mts +10 -0
- package/resources/tts-integrations/tts-integrations.d.mts.map +1 -0
- package/resources/tts-integrations/tts-integrations.d.ts +10 -0
- package/resources/tts-integrations/tts-integrations.d.ts.map +1 -0
- package/resources/tts-integrations/tts-integrations.js +17 -0
- package/resources/tts-integrations/tts-integrations.js.map +1 -0
- package/resources/tts-integrations/tts-integrations.mjs +12 -0
- package/resources/tts-integrations/tts-integrations.mjs.map +1 -0
- package/resources/tts-integrations.d.mts +2 -0
- package/resources/tts-integrations.d.mts.map +1 -0
- package/resources/tts-integrations.d.ts +2 -0
- package/resources/tts-integrations.d.ts.map +1 -0
- package/resources/tts-integrations.js +6 -0
- package/resources/tts-integrations.js.map +1 -0
- package/resources/tts-integrations.mjs +3 -0
- package/resources/tts-integrations.mjs.map +1 -0
- package/resources/uac-connections/uac-connections.d.mts +36 -6
- package/resources/uac-connections/uac-connections.d.mts.map +1 -1
- package/resources/uac-connections/uac-connections.d.ts +36 -6
- package/resources/uac-connections/uac-connections.d.ts.map +1 -1
- package/resources/uac-connections/uac-connections.js.map +1 -1
- package/resources/uac-connections/uac-connections.mjs.map +1 -1
- package/resources/voice-clones.d.mts +57 -10
- package/resources/voice-clones.d.mts.map +1 -1
- package/resources/voice-clones.d.ts +57 -10
- package/resources/voice-clones.d.ts.map +1 -1
- package/resources/voice-clones.js +6 -4
- package/resources/voice-clones.js.map +1 -1
- package/resources/voice-clones.mjs +6 -4
- package/resources/voice-clones.mjs.map +1 -1
- package/resources/webhooks.d.mts +433 -81
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +433 -81
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/whatsapp/hosted-signups.d.mts +165 -0
- package/resources/whatsapp/hosted-signups.d.mts.map +1 -0
- package/resources/whatsapp/hosted-signups.d.ts +165 -0
- package/resources/whatsapp/hosted-signups.d.ts.map +1 -0
- package/resources/whatsapp/hosted-signups.js +56 -0
- package/resources/whatsapp/hosted-signups.js.map +1 -0
- package/resources/whatsapp/hosted-signups.mjs +52 -0
- package/resources/whatsapp/hosted-signups.mjs.map +1 -0
- package/resources/whatsapp/index.d.mts +1 -0
- package/resources/whatsapp/index.d.mts.map +1 -1
- package/resources/whatsapp/index.d.ts +1 -0
- package/resources/whatsapp/index.d.ts.map +1 -1
- package/resources/whatsapp/index.js +3 -1
- package/resources/whatsapp/index.js.map +1 -1
- package/resources/whatsapp/index.mjs +1 -0
- package/resources/whatsapp/index.mjs.map +1 -1
- package/resources/whatsapp/whatsapp.d.mts +4 -0
- package/resources/whatsapp/whatsapp.d.mts.map +1 -1
- package/resources/whatsapp/whatsapp.d.ts +4 -0
- package/resources/whatsapp/whatsapp.d.ts.map +1 -1
- package/resources/whatsapp/whatsapp.js +4 -0
- package/resources/whatsapp/whatsapp.js.map +1 -1
- package/resources/whatsapp/whatsapp.mjs +4 -0
- package/resources/whatsapp/whatsapp.mjs.map +1 -1
- package/src/client.ts +64 -6
- package/src/resources/addresses/addresses.ts +22 -2
- package/src/resources/ai/ai.ts +2 -0
- package/src/resources/ai/assistants/assistants.ts +191 -31
- package/src/resources/ai/assistants/versions.ts +11 -6
- package/src/resources/ai/audio.ts +35 -10
- package/src/resources/ai/avatars.ts +22 -8
- package/src/resources/ai/index.ts +1 -0
- package/src/resources/ai/tools.ts +16 -0
- package/src/resources/calls/actions.ts +281 -10
- package/src/resources/calls/calls.ts +2 -0
- package/src/resources/calls/index.ts +1 -0
- package/src/resources/compute/compute.ts +105 -0
- package/src/resources/compute/funcs/export.ts +3 -0
- package/src/resources/compute/funcs/funcs.ts +99 -0
- package/src/resources/compute/funcs/index.ts +3 -0
- package/src/resources/compute/index.ts +4 -1
- package/src/resources/credential-connections/credential-connections.ts +41 -8
- package/src/resources/dial-metrics.ts +185 -0
- package/src/resources/dir/dir.ts +4 -2
- package/src/resources/dir/references.ts +15 -9
- package/src/resources/dir/verify-email.ts +17 -5
- package/src/resources/email-domains/email-domains.ts +1 -1
- package/src/resources/enterprises/verify-email.ts +1 -1
- package/src/resources/fqdn-connections/fqdn-connections.ts +41 -8
- package/src/resources/index.ts +23 -3
- package/src/resources/ip-connections.ts +39 -6
- package/src/resources/meeting-sessions/actions.ts +13 -7
- package/src/resources/meeting-sessions/index.ts +0 -1
- package/src/resources/meeting-sessions/meeting-sessions.ts +48 -79
- package/src/resources/messages/messages.ts +786 -125
- package/src/resources/messages/rcs.ts +37 -7
- package/src/resources/network-coverage.ts +5 -1
- package/src/resources/number-lookup.ts +154 -4
- package/src/resources/phone-numbers/csv-downloads.ts +15 -2
- package/src/resources/phone-numbers/index.ts +3 -1
- package/src/resources/phone-numbers/jobs.ts +320 -16
- package/src/resources/phone-numbers/phone-numbers.ts +38 -2
- package/src/resources/porting-orders/phone-number-blocks.ts +1 -0
- package/src/resources/porting-orders/porting-orders.ts +1 -0
- package/src/resources/porting-phone-numbers.ts +1 -0
- package/src/resources/shared.ts +5 -0
- package/src/resources/speech-to-text/speech-to-text.ts +12 -4
- package/src/resources/tailscale-subnet-routers.ts +303 -0
- package/src/resources/telephony-credentials.ts +24 -2
- package/src/resources/texml/accounts/accounts.ts +2 -2
- package/src/resources/texml/accounts/calls/calls.ts +49 -14
- package/src/resources/texml/accounts/calls/recordings-json.ts +14 -4
- package/src/resources/texml/accounts/calls/recordings.ts +10 -2
- package/src/resources/texml/accounts/calls/siprec.ts +10 -2
- package/src/resources/texml/accounts/calls/streams.ts +10 -2
- package/src/resources/texml/accounts/conferences/conferences.ts +29 -9
- package/src/resources/texml/accounts/conferences/participants.ts +35 -10
- package/src/resources/texml/accounts/queues.ts +25 -8
- package/src/resources/texml/accounts/recordings/json.ts +14 -4
- package/src/resources/texml/accounts/transcriptions/json.ts +14 -4
- package/src/resources/text-to-speech/text-to-speech.ts +15 -6
- package/src/resources/tts-integrations/actions.ts +5 -0
- package/src/resources/tts-integrations/index.ts +4 -0
- package/src/resources/tts-integrations/tts-integrations.ts +15 -0
- package/src/resources/tts-integrations.ts +3 -0
- package/src/resources/uac-connections/uac-connections.ts +39 -6
- package/src/resources/voice-clones.ts +65 -9
- package/src/resources/webhooks.ts +517 -95
- package/src/resources/whatsapp/hosted-signups.ts +221 -0
- package/src/resources/whatsapp/index.ts +9 -0
- package/src/resources/whatsapp/whatsapp.ts +22 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TailscaleSubnetRouters = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Tailscale Subnet Router operations
|
|
10
|
+
*/
|
|
11
|
+
class TailscaleSubnetRouters extends resource_1.APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Returns a paginated list of the Tailscale Subnet Routers on the account, with
|
|
14
|
+
* support for filtering by Network.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* // Automatically fetches more pages as needed.
|
|
19
|
+
* for await (const tailscaleSubnetRouter of client.tailscaleSubnetRouters.list()) {
|
|
20
|
+
* // ...
|
|
21
|
+
* }
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
list(query = {}, options) {
|
|
25
|
+
return this._client.getAPIList('/tailscale_subnet_routers', (pagination_1.DefaultFlatPagination), { query, ...options });
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Creates a Tailscale Subnet Router on a Network and enrolls it in the user's
|
|
29
|
+
* tailnet with the auth key. The response returns the router with `status`
|
|
30
|
+
* `provisioning`. Poll `GET /tailscale_subnet_routers/{id}` until it is
|
|
31
|
+
* `provisioned`. Then approve its routes in the tailnet, unless an auto-approver
|
|
32
|
+
* covers them.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const tailscaleSubnetRouter =
|
|
37
|
+
* await client.tailscaleSubnetRouters.create({
|
|
38
|
+
* advertised_routes: ['172.27.0.0/24'],
|
|
39
|
+
* auth_key: 'tskey-auth-k1AbCdEfGh2IjKlMnOpQrStUv',
|
|
40
|
+
* name: 'tailnet-ashburn',
|
|
41
|
+
* network_id: '0de011ae-ee53-4df4-ba96-754728eb5aad',
|
|
42
|
+
* region_code: 'ashburn-va',
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
create(body, options) {
|
|
47
|
+
return this._client.post('/tailscale_subnet_routers', { body, ...options });
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Removes the router from the Network and logs it out of the tailnet. The response
|
|
51
|
+
* returns the router with `status` `deleting`. The record disappears once removal
|
|
52
|
+
* completes. A machine entry can remain in the tailnet's admin console until it is
|
|
53
|
+
* removed there.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* const tailscaleSubnetRouter =
|
|
58
|
+
* await client.tailscaleSubnetRouters.delete(
|
|
59
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
60
|
+
* );
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
delete(id, options) {
|
|
64
|
+
return this._client.delete((0, path_1.path) `/tailscale_subnet_routers/${id}`, options);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Returns the details of a single Tailscale Subnet Router by its identifier,
|
|
68
|
+
* including its enrollment state.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```ts
|
|
72
|
+
* const tailscaleSubnetRouter =
|
|
73
|
+
* await client.tailscaleSubnetRouters.retrieve(
|
|
74
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
75
|
+
* );
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
retrieve(id, options) {
|
|
79
|
+
return this._client.get((0, path_1.path) `/tailscale_subnet_routers/${id}`, options);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Renames the router, changes its advertised routes, or retries a failed
|
|
83
|
+
* enrollment. Any change queues a new provisioning run and returns the router with
|
|
84
|
+
* `status` `provisioning`. The router keeps its machine identity on the tailnet.
|
|
85
|
+
* Send an empty object to retry a `failed` router with its stored auth key.
|
|
86
|
+
* Include a new `auth_key` only while the router has never enrolled. The router's
|
|
87
|
+
* Network and region cannot change: create a new router instead.
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* ```ts
|
|
91
|
+
* const tailscaleSubnetRouter =
|
|
92
|
+
* await client.tailscaleSubnetRouters.update(
|
|
93
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
94
|
+
* {
|
|
95
|
+
* advertised_routes: ['172.27.0.0/24', '172.27.1.0/24'],
|
|
96
|
+
* },
|
|
97
|
+
* );
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
100
|
+
update(id, body, options) {
|
|
101
|
+
return this._client.patch((0, path_1.path) `/tailscale_subnet_routers/${id}`, { body, ...options });
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.TailscaleSubnetRouters = TailscaleSubnetRouters;
|
|
105
|
+
//# sourceMappingURL=tailscale-subnet-routers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tailscale-subnet-routers.js","sourceRoot":"","sources":["../src/resources/tailscale-subnet-routers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA0G;AAE1G,oDAA8C;AAE9C;;GAEG;AACH,MAAa,sBAAuB,SAAQ,sBAAW;IACrD;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,2BAA2B,EAC3B,CAAA,kCAA4C,CAAA,EAC5C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,EAAU,EACV,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF;AA9GD,wDA8GC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { DefaultFlatPagination } from "../core/pagination.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Tailscale Subnet Router operations
|
|
7
|
+
*/
|
|
8
|
+
export class TailscaleSubnetRouters extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns a paginated list of the Tailscale Subnet Routers on the account, with
|
|
11
|
+
* support for filtering by Network.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* // Automatically fetches more pages as needed.
|
|
16
|
+
* for await (const tailscaleSubnetRouter of client.tailscaleSubnetRouters.list()) {
|
|
17
|
+
* // ...
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
list(query = {}, options) {
|
|
22
|
+
return this._client.getAPIList('/tailscale_subnet_routers', (DefaultFlatPagination), { query, ...options });
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Creates a Tailscale Subnet Router on a Network and enrolls it in the user's
|
|
26
|
+
* tailnet with the auth key. The response returns the router with `status`
|
|
27
|
+
* `provisioning`. Poll `GET /tailscale_subnet_routers/{id}` until it is
|
|
28
|
+
* `provisioned`. Then approve its routes in the tailnet, unless an auto-approver
|
|
29
|
+
* covers them.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const tailscaleSubnetRouter =
|
|
34
|
+
* await client.tailscaleSubnetRouters.create({
|
|
35
|
+
* advertised_routes: ['172.27.0.0/24'],
|
|
36
|
+
* auth_key: 'tskey-auth-k1AbCdEfGh2IjKlMnOpQrStUv',
|
|
37
|
+
* name: 'tailnet-ashburn',
|
|
38
|
+
* network_id: '0de011ae-ee53-4df4-ba96-754728eb5aad',
|
|
39
|
+
* region_code: 'ashburn-va',
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
create(body, options) {
|
|
44
|
+
return this._client.post('/tailscale_subnet_routers', { body, ...options });
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Removes the router from the Network and logs it out of the tailnet. The response
|
|
48
|
+
* returns the router with `status` `deleting`. The record disappears once removal
|
|
49
|
+
* completes. A machine entry can remain in the tailnet's admin console until it is
|
|
50
|
+
* removed there.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* const tailscaleSubnetRouter =
|
|
55
|
+
* await client.tailscaleSubnetRouters.delete(
|
|
56
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
57
|
+
* );
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
delete(id, options) {
|
|
61
|
+
return this._client.delete(path `/tailscale_subnet_routers/${id}`, options);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Returns the details of a single Tailscale Subnet Router by its identifier,
|
|
65
|
+
* including its enrollment state.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```ts
|
|
69
|
+
* const tailscaleSubnetRouter =
|
|
70
|
+
* await client.tailscaleSubnetRouters.retrieve(
|
|
71
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
72
|
+
* );
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
retrieve(id, options) {
|
|
76
|
+
return this._client.get(path `/tailscale_subnet_routers/${id}`, options);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Renames the router, changes its advertised routes, or retries a failed
|
|
80
|
+
* enrollment. Any change queues a new provisioning run and returns the router with
|
|
81
|
+
* `status` `provisioning`. The router keeps its machine identity on the tailnet.
|
|
82
|
+
* Send an empty object to retry a `failed` router with its stored auth key.
|
|
83
|
+
* Include a new `auth_key` only while the router has never enrolled. The router's
|
|
84
|
+
* Network and region cannot change: create a new router instead.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* ```ts
|
|
88
|
+
* const tailscaleSubnetRouter =
|
|
89
|
+
* await client.tailscaleSubnetRouters.update(
|
|
90
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
91
|
+
* {
|
|
92
|
+
* advertised_routes: ['172.27.0.0/24', '172.27.1.0/24'],
|
|
93
|
+
* },
|
|
94
|
+
* );
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
update(id, body, options) {
|
|
98
|
+
return this._client.patch(path `/tailscale_subnet_routers/${id}`, { body, ...options });
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=tailscale-subnet-routers.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version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AAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF"}
|
|
@@ -69,7 +69,7 @@ export declare class TelephonyCredentials extends APIResource {
|
|
|
69
69
|
* await client.telephonyCredentials.createToken('id');
|
|
70
70
|
* ```
|
|
71
71
|
*/
|
|
72
|
-
createToken(id: string, options?: RequestOptions): APIPromise<string>;
|
|
72
|
+
createToken(id: string, params?: TelephonyCredentialCreateTokenParams | null | undefined, options?: RequestOptions): APIPromise<string>;
|
|
73
73
|
}
|
|
74
74
|
export type TelephonyCredentialsDefaultFlatPagination = DefaultFlatPagination<TelephonyCredential>;
|
|
75
75
|
export interface TelephonyCredential {
|
|
@@ -193,7 +193,16 @@ export interface TelephonyCredentialUpdateParams {
|
|
|
193
193
|
*/
|
|
194
194
|
tag?: string;
|
|
195
195
|
}
|
|
196
|
+
export interface TelephonyCredentialCreateTokenParams {
|
|
197
|
+
/**
|
|
198
|
+
* Unique key for safely retrying the same logical request. Generate a UUID v4 for
|
|
199
|
+
* each operation and reuse it only when retrying that operation with the same
|
|
200
|
+
* request body. Valid characters: A-Z, a-z, 0-9, -, and \_. Length: 1-255
|
|
201
|
+
* characters. Do not include sensitive data in the key.
|
|
202
|
+
*/
|
|
203
|
+
'Idempotency-Key'?: string;
|
|
204
|
+
}
|
|
196
205
|
export declare namespace TelephonyCredentials {
|
|
197
|
-
export { type TelephonyCredential as TelephonyCredential, type TelephonyCredentialCreateResponse as TelephonyCredentialCreateResponse, type TelephonyCredentialRetrieveResponse as TelephonyCredentialRetrieveResponse, type TelephonyCredentialUpdateResponse as TelephonyCredentialUpdateResponse, type TelephonyCredentialDeleteResponse as TelephonyCredentialDeleteResponse, type TelephonyCredentialCreateTokenResponse as TelephonyCredentialCreateTokenResponse, type TelephonyCredentialsDefaultFlatPagination as TelephonyCredentialsDefaultFlatPagination, type TelephonyCredentialListParams as TelephonyCredentialListParams, type TelephonyCredentialCreateParams as TelephonyCredentialCreateParams, type TelephonyCredentialUpdateParams as TelephonyCredentialUpdateParams, };
|
|
206
|
+
export { type TelephonyCredential as TelephonyCredential, type TelephonyCredentialCreateResponse as TelephonyCredentialCreateResponse, type TelephonyCredentialRetrieveResponse as TelephonyCredentialRetrieveResponse, type TelephonyCredentialUpdateResponse as TelephonyCredentialUpdateResponse, type TelephonyCredentialDeleteResponse as TelephonyCredentialDeleteResponse, type TelephonyCredentialCreateTokenResponse as TelephonyCredentialCreateTokenResponse, type TelephonyCredentialsDefaultFlatPagination as TelephonyCredentialsDefaultFlatPagination, type TelephonyCredentialListParams as TelephonyCredentialListParams, type TelephonyCredentialCreateParams as TelephonyCredentialCreateParams, type TelephonyCredentialUpdateParams as TelephonyCredentialUpdateParams, type TelephonyCredentialCreateTokenParams as TelephonyCredentialCreateTokenParams, };
|
|
198
207
|
}
|
|
199
208
|
//# sourceMappingURL=telephony-credentials.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telephony-credentials.d.mts","sourceRoot":"","sources":["../src/resources/telephony-credentials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,+BAA2B;AAE1G,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,oBAAqB,SAAQ,WAAW;IACnD;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,GAAE,6BAA6B,GAAG,IAAI,GAAG,SAAc,EAC5D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,yCAAyC,EAAE,mBAAmB,CAAC;IAO9E;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,+BAA+B,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iCAAiC,CAAC;IAIhD;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAA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C3F,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,oCAAoC,IAAI,oCAAoC,GAClF,CAAC;CACH"}
|
|
@@ -69,7 +69,7 @@ export declare class TelephonyCredentials extends APIResource {
|
|
|
69
69
|
* await client.telephonyCredentials.createToken('id');
|
|
70
70
|
* ```
|
|
71
71
|
*/
|
|
72
|
-
createToken(id: string, options?: RequestOptions): APIPromise<string>;
|
|
72
|
+
createToken(id: string, params?: TelephonyCredentialCreateTokenParams | null | undefined, options?: RequestOptions): APIPromise<string>;
|
|
73
73
|
}
|
|
74
74
|
export type TelephonyCredentialsDefaultFlatPagination = DefaultFlatPagination<TelephonyCredential>;
|
|
75
75
|
export interface TelephonyCredential {
|
|
@@ -193,7 +193,16 @@ export interface TelephonyCredentialUpdateParams {
|
|
|
193
193
|
*/
|
|
194
194
|
tag?: string;
|
|
195
195
|
}
|
|
196
|
+
export interface TelephonyCredentialCreateTokenParams {
|
|
197
|
+
/**
|
|
198
|
+
* Unique key for safely retrying the same logical request. Generate a UUID v4 for
|
|
199
|
+
* each operation and reuse it only when retrying that operation with the same
|
|
200
|
+
* request body. Valid characters: A-Z, a-z, 0-9, -, and \_. Length: 1-255
|
|
201
|
+
* characters. Do not include sensitive data in the key.
|
|
202
|
+
*/
|
|
203
|
+
'Idempotency-Key'?: string;
|
|
204
|
+
}
|
|
196
205
|
export declare namespace TelephonyCredentials {
|
|
197
|
-
export { type TelephonyCredential as TelephonyCredential, type TelephonyCredentialCreateResponse as TelephonyCredentialCreateResponse, type TelephonyCredentialRetrieveResponse as TelephonyCredentialRetrieveResponse, type TelephonyCredentialUpdateResponse as TelephonyCredentialUpdateResponse, type TelephonyCredentialDeleteResponse as TelephonyCredentialDeleteResponse, type TelephonyCredentialCreateTokenResponse as TelephonyCredentialCreateTokenResponse, type TelephonyCredentialsDefaultFlatPagination as TelephonyCredentialsDefaultFlatPagination, type TelephonyCredentialListParams as TelephonyCredentialListParams, type TelephonyCredentialCreateParams as TelephonyCredentialCreateParams, type TelephonyCredentialUpdateParams as TelephonyCredentialUpdateParams, };
|
|
206
|
+
export { type TelephonyCredential as TelephonyCredential, type TelephonyCredentialCreateResponse as TelephonyCredentialCreateResponse, type TelephonyCredentialRetrieveResponse as TelephonyCredentialRetrieveResponse, type TelephonyCredentialUpdateResponse as TelephonyCredentialUpdateResponse, type TelephonyCredentialDeleteResponse as TelephonyCredentialDeleteResponse, type TelephonyCredentialCreateTokenResponse as TelephonyCredentialCreateTokenResponse, type TelephonyCredentialsDefaultFlatPagination as TelephonyCredentialsDefaultFlatPagination, type TelephonyCredentialListParams as TelephonyCredentialListParams, type TelephonyCredentialCreateParams as TelephonyCredentialCreateParams, type TelephonyCredentialUpdateParams as TelephonyCredentialUpdateParams, type TelephonyCredentialCreateTokenParams as TelephonyCredentialCreateTokenParams, };
|
|
198
207
|
}
|
|
199
208
|
//# sourceMappingURL=telephony-credentials.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telephony-credentials.d.ts","sourceRoot":"","sources":["../src/resources/telephony-credentials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,8BAA2B;AAE1G,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,oBAAqB,SAAQ,WAAW;IACnD;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,GAAE,6BAA6B,GAAG,IAAI,GAAG,SAAc,EAC5D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,yCAAyC,EAAE,mBAAmB,CAAC;IAO9E;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,+BAA+B,EACrC,OAAO,CAAC,EAAE,cAAc,G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EAC3E,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,oCAAoC,IAAI,oCAAoC,GAClF,CAAC;CACH"}
|
|
@@ -86,10 +86,17 @@ class TelephonyCredentials extends resource_1.APIResource {
|
|
|
86
86
|
* await client.telephonyCredentials.createToken('id');
|
|
87
87
|
* ```
|
|
88
88
|
*/
|
|
89
|
-
createToken(id, options) {
|
|
89
|
+
createToken(id, params = {}, options) {
|
|
90
|
+
const { 'Idempotency-Key': idempotencyKey } = params ?? {};
|
|
90
91
|
return this._client.post((0, path_1.path) `/telephony_credentials/${id}/token`, {
|
|
91
92
|
...options,
|
|
92
|
-
headers: (0, headers_1.buildHeaders)([
|
|
93
|
+
headers: (0, headers_1.buildHeaders)([
|
|
94
|
+
{
|
|
95
|
+
Accept: 'text/plain',
|
|
96
|
+
...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined),
|
|
97
|
+
},
|
|
98
|
+
options?.headers,
|
|
99
|
+
]),
|
|
93
100
|
});
|
|
94
101
|
}
|
|
95
102
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telephony-credentials.js","sourceRoot":"","sources":["../src/resources/telephony-credentials.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA0G;AAC1G,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAA0D,EAAE,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,EAAE,CAAA,kCAA0C,CAAA,EAAE;YACnG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,0BAA0B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,0BAA0B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CACJ,EAAU,EACV,IAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,0BAA0B,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;OAQG;IACH,WAAW,
|
|
1
|
+
{"version":3,"file":"telephony-credentials.js","sourceRoot":"","sources":["../src/resources/telephony-credentials.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA0G;AAC1G,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAA0D,EAAE,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,EAAE,CAAA,kCAA0C,CAAA,EAAE;YACnG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;I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OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAhHD,oDAgHC"}
|
|
@@ -83,10 +83,17 @@ export class TelephonyCredentials extends APIResource {
|
|
|
83
83
|
* await client.telephonyCredentials.createToken('id');
|
|
84
84
|
* ```
|
|
85
85
|
*/
|
|
86
|
-
createToken(id, options) {
|
|
86
|
+
createToken(id, params = {}, options) {
|
|
87
|
+
const { 'Idempotency-Key': idempotencyKey } = params ?? {};
|
|
87
88
|
return this._client.post(path `/telephony_credentials/${id}/token`, {
|
|
88
89
|
...options,
|
|
89
|
-
headers: buildHeaders([
|
|
90
|
+
headers: buildHeaders([
|
|
91
|
+
{
|
|
92
|
+
Accept: 'text/plain',
|
|
93
|
+
...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined),
|
|
94
|
+
},
|
|
95
|
+
options?.headers,
|
|
96
|
+
]),
|
|
90
97
|
});
|
|
91
98
|
}
|
|
92
99
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telephony-credentials.mjs","sourceRoot":"","sources":["../src/resources/telephony-credentials.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,qBAAqB,EAAiD,+BAA2B;AAC1G,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IACnD;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAA0D,EAAE,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,EAAE,CAAA,qBAA0C,CAAA,EAAE;YACnG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,O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"}
|
|
@@ -29,7 +29,7 @@ export declare class Accounts extends APIResource {
|
|
|
29
29
|
* ```ts
|
|
30
30
|
* const texmlGetCallRecordingsResponseBody =
|
|
31
31
|
* await client.texml.accounts.retrieveRecordingsJson(
|
|
32
|
-
* '
|
|
32
|
+
* 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
33
33
|
* );
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
@@ -41,7 +41,7 @@ export declare class Accounts extends APIResource {
|
|
|
41
41
|
* ```ts
|
|
42
42
|
* const response =
|
|
43
43
|
* await client.texml.accounts.retrieveTranscriptionsJson(
|
|
44
|
-
* '
|
|
44
|
+
* 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
45
45
|
* );
|
|
46
46
|
* ```
|
|
47
47
|
*/
|
|
@@ -29,7 +29,7 @@ export declare class Accounts extends APIResource {
|
|
|
29
29
|
* ```ts
|
|
30
30
|
* const texmlGetCallRecordingsResponseBody =
|
|
31
31
|
* await client.texml.accounts.retrieveRecordingsJson(
|
|
32
|
-
* '
|
|
32
|
+
* 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
33
33
|
* );
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
@@ -41,7 +41,7 @@ export declare class Accounts extends APIResource {
|
|
|
41
41
|
* ```ts
|
|
42
42
|
* const response =
|
|
43
43
|
* await client.texml.accounts.retrieveTranscriptionsJson(
|
|
44
|
-
* '
|
|
44
|
+
* 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
45
45
|
* );
|
|
46
46
|
* ```
|
|
47
47
|
*/
|
|
@@ -34,7 +34,7 @@ class Accounts extends resource_1.APIResource {
|
|
|
34
34
|
* ```ts
|
|
35
35
|
* const texmlGetCallRecordingsResponseBody =
|
|
36
36
|
* await client.texml.accounts.retrieveRecordingsJson(
|
|
37
|
-
* '
|
|
37
|
+
* 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
38
38
|
* );
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
@@ -48,7 +48,7 @@ class Accounts extends resource_1.APIResource {
|
|
|
48
48
|
* ```ts
|
|
49
49
|
* const response =
|
|
50
50
|
* await client.texml.accounts.retrieveTranscriptionsJson(
|
|
51
|
-
* '
|
|
51
|
+
* 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
52
52
|
* );
|
|
53
53
|
* ```
|
|
54
54
|
*/
|
|
@@ -30,7 +30,7 @@ export class Accounts extends APIResource {
|
|
|
30
30
|
* ```ts
|
|
31
31
|
* const texmlGetCallRecordingsResponseBody =
|
|
32
32
|
* await client.texml.accounts.retrieveRecordingsJson(
|
|
33
|
-
* '
|
|
33
|
+
* 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
34
34
|
* );
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
@@ -44,7 +44,7 @@ export class Accounts extends APIResource {
|
|
|
44
44
|
* ```ts
|
|
45
45
|
* const response =
|
|
46
46
|
* await client.texml.accounts.retrieveTranscriptionsJson(
|
|
47
|
-
* '
|
|
47
|
+
* 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
48
48
|
* );
|
|
49
49
|
* ```
|
|
50
50
|
*/
|
|
@@ -25,19 +25,19 @@ export declare class Calls extends APIResource {
|
|
|
25
25
|
* ```ts
|
|
26
26
|
* const response =
|
|
27
27
|
* await client.texml.accounts.calls.retrieveCalls(
|
|
28
|
-
* '
|
|
28
|
+
* 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
29
29
|
* );
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
32
|
retrieveCalls(accountSid: string, params?: CallRetrieveCallsParams | null | undefined, options?: RequestOptions): APIPromise<CallRetrieveCallsResponse>;
|
|
33
33
|
/**
|
|
34
34
|
* Initiate an outbound TeXML call. Telnyx will request TeXML from the XML Request
|
|
35
|
-
* URL configured for the
|
|
35
|
+
* URL configured for the TeXML Application in the Mission Control Portal.
|
|
36
36
|
*
|
|
37
37
|
* @example
|
|
38
38
|
* ```ts
|
|
39
39
|
* const response = await client.texml.accounts.calls.calls(
|
|
40
|
-
* '
|
|
40
|
+
* 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
41
41
|
* { body: { Url: 'https://www.example.com/texml.xml' } },
|
|
42
42
|
* );
|
|
43
43
|
* ```
|
|
@@ -51,7 +51,7 @@ export declare class Calls extends APIResource {
|
|
|
51
51
|
* ```ts
|
|
52
52
|
* const callResource =
|
|
53
53
|
* await client.texml.accounts.calls.retrieve('call_sid', {
|
|
54
|
-
* account_sid: '
|
|
54
|
+
* account_sid: 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
55
55
|
* });
|
|
56
56
|
* ```
|
|
57
57
|
*/
|
|
@@ -64,7 +64,7 @@ export declare class Calls extends APIResource {
|
|
|
64
64
|
* ```ts
|
|
65
65
|
* const callResource =
|
|
66
66
|
* await client.texml.accounts.calls.update('call_sid', {
|
|
67
|
-
* account_sid: '
|
|
67
|
+
* account_sid: 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
68
68
|
* });
|
|
69
69
|
* ```
|
|
70
70
|
*/
|
|
@@ -77,7 +77,7 @@ export declare class Calls extends APIResource {
|
|
|
77
77
|
* ```ts
|
|
78
78
|
* const response =
|
|
79
79
|
* await client.texml.accounts.calls.siprecJson('call_sid', {
|
|
80
|
-
* account_sid: '
|
|
80
|
+
* account_sid: 'f5586561-8ff0-4291-a51b-c7dfe4139ff9',
|
|
81
81
|
* });
|
|
82
82
|
* ```
|
|
83
83
|
*/
|
|
@@ -90,7 +90,7 @@ export declare class Calls extends APIResource {
|
|
|
90
90
|
* const response =
|
|
91
91
|
* await client.texml.accounts.calls.streamsJson(
|
|
92
92
|
* 'call_sid',
|
|
93
|
-
* { account_sid: '
|
|
93
|
+
* { account_sid: 'f5586561-8ff0-4291-a51b-c7dfe4139ff9' },
|
|
94
94
|
* );
|
|
95
95
|
* ```
|
|
96
96
|
*/
|
|
@@ -369,7 +369,12 @@ export declare namespace CallCallsParams {
|
|
|
369
369
|
*/
|
|
370
370
|
Url: string;
|
|
371
371
|
/**
|
|
372
|
-
* The ID of the TeXML Application
|
|
372
|
+
* The ID of the TeXML Application that will handle the call, for example
|
|
373
|
+
* `1293384261075731499`. The `ApplicationSid` name is kept for Twilio API
|
|
374
|
+
* compatibility, but the value is the numeric ID of one of your TeXML Applications
|
|
375
|
+
* (see the TeXML Applications API or the Mission Control Portal), not a Twilio
|
|
376
|
+
* `AP...` SID. If `Url` and `Texml` are omitted, Telnyx fetches instructions from
|
|
377
|
+
* the XML Request URL configured on this application.
|
|
373
378
|
*/
|
|
374
379
|
ApplicationSid?: string;
|
|
375
380
|
/**
|
|
@@ -644,7 +649,12 @@ export declare namespace CallCallsParams {
|
|
|
644
649
|
*/
|
|
645
650
|
Texml: string;
|
|
646
651
|
/**
|
|
647
|
-
* The ID of the TeXML Application
|
|
652
|
+
* The ID of the TeXML Application that will handle the call, for example
|
|
653
|
+
* `1293384261075731499`. The `ApplicationSid` name is kept for Twilio API
|
|
654
|
+
* compatibility, but the value is the numeric ID of one of your TeXML Applications
|
|
655
|
+
* (see the TeXML Applications API or the Mission Control Portal), not a Twilio
|
|
656
|
+
* `AP...` SID. If `Url` and `Texml` are omitted, Telnyx fetches instructions from
|
|
657
|
+
* the XML Request URL configured on this application.
|
|
648
658
|
*/
|
|
649
659
|
ApplicationSid?: string;
|
|
650
660
|
/**
|
|
@@ -914,7 +924,12 @@ export declare namespace CallCallsParams {
|
|
|
914
924
|
}
|
|
915
925
|
interface ApplicationDefault {
|
|
916
926
|
/**
|
|
917
|
-
* The ID of the TeXML Application
|
|
927
|
+
* The ID of the TeXML Application that will handle the call, for example
|
|
928
|
+
* `1293384261075731499`. The `ApplicationSid` name is kept for Twilio API
|
|
929
|
+
* compatibility, but the value is the numeric ID of one of your TeXML Applications
|
|
930
|
+
* (see the TeXML Applications API or the Mission Control Portal), not a Twilio
|
|
931
|
+
* `AP...` SID. If `Url` and `Texml` are omitted, Telnyx fetches instructions from
|
|
932
|
+
* the XML Request URL configured on this application.
|
|
918
933
|
*/
|
|
919
934
|
ApplicationSid?: string;
|
|
920
935
|
/**
|
|
@@ -1186,13 +1201,23 @@ export declare namespace CallCallsParams {
|
|
|
1186
1201
|
}
|
|
1187
1202
|
export interface CallRetrieveParams {
|
|
1188
1203
|
/**
|
|
1189
|
-
* The
|
|
1204
|
+
* The UUID of the Telnyx account that owns the resource, for example
|
|
1205
|
+
* `f5586561-8ff0-4291-a51b-c7dfe4139ff9`. The `account_sid` path segment is kept
|
|
1206
|
+
* for Twilio API compatibility, but the value is a Telnyx account UUID, not a
|
|
1207
|
+
* Twilio `AC...` SID. It must match the account that owns the API key used to
|
|
1208
|
+
* authenticate the request, otherwise the endpoint returns `404`. The same value
|
|
1209
|
+
* is sent as `AccountSid` in TeXML webhooks.
|
|
1190
1210
|
*/
|
|
1191
1211
|
account_sid: string;
|
|
1192
1212
|
}
|
|
1193
1213
|
export interface CallUpdateParams {
|
|
1194
1214
|
/**
|
|
1195
|
-
* Path param: The
|
|
1215
|
+
* Path param: The UUID of the Telnyx account that owns the resource, for example
|
|
1216
|
+
* `f5586561-8ff0-4291-a51b-c7dfe4139ff9`. The `account_sid` path segment is kept
|
|
1217
|
+
* for Twilio API compatibility, but the value is a Telnyx account UUID, not a
|
|
1218
|
+
* Twilio `AC...` SID. It must match the account that owns the API key used to
|
|
1219
|
+
* authenticate the request, otherwise the endpoint returns `404`. The same value
|
|
1220
|
+
* is sent as `AccountSid` in TeXML webhooks.
|
|
1196
1221
|
*/
|
|
1197
1222
|
account_sid: string;
|
|
1198
1223
|
/**
|
|
@@ -1234,7 +1259,12 @@ export interface CallUpdateParams {
|
|
|
1234
1259
|
}
|
|
1235
1260
|
export interface CallSiprecJsonParams {
|
|
1236
1261
|
/**
|
|
1237
|
-
* Path param: The
|
|
1262
|
+
* Path param: The UUID of the Telnyx account that owns the resource, for example
|
|
1263
|
+
* `f5586561-8ff0-4291-a51b-c7dfe4139ff9`. The `account_sid` path segment is kept
|
|
1264
|
+
* for Twilio API compatibility, but the value is a Telnyx account UUID, not a
|
|
1265
|
+
* Twilio `AC...` SID. It must match the account that owns the API key used to
|
|
1266
|
+
* authenticate the request, otherwise the endpoint returns `404`. The same value
|
|
1267
|
+
* is sent as `AccountSid` in TeXML webhooks.
|
|
1238
1268
|
*/
|
|
1239
1269
|
account_sid: string;
|
|
1240
1270
|
/**
|
|
@@ -1284,7 +1314,12 @@ export interface CallSiprecJsonParams {
|
|
|
1284
1314
|
}
|
|
1285
1315
|
export interface CallStreamsJsonParams {
|
|
1286
1316
|
/**
|
|
1287
|
-
* Path param: The
|
|
1317
|
+
* Path param: The UUID of the Telnyx account that owns the resource, for example
|
|
1318
|
+
* `f5586561-8ff0-4291-a51b-c7dfe4139ff9`. The `account_sid` path segment is kept
|
|
1319
|
+
* for Twilio API compatibility, but the value is a Telnyx account UUID, not a
|
|
1320
|
+
* Twilio `AC...` SID. It must match the account that owns the API key used to
|
|
1321
|
+
* authenticate the request, otherwise the endpoint returns `404`. The same value
|
|
1322
|
+
* is sent as `AccountSid` in TeXML webhooks.
|
|
1288
1323
|
*/
|
|
1289
1324
|
account_sid: string;
|
|
1290
1325
|
/**
|