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
|
@@ -4920,6 +4920,262 @@ export namespace ArtifactFailedWebhookEvent {
|
|
|
4920
4920
|
}
|
|
4921
4921
|
}
|
|
4922
4922
|
|
|
4923
|
+
export interface CallAnalyzedWebhookEvent {
|
|
4924
|
+
data?: CallAnalyzedWebhookEvent.Data;
|
|
4925
|
+
}
|
|
4926
|
+
|
|
4927
|
+
export namespace CallAnalyzedWebhookEvent {
|
|
4928
|
+
export interface Data {
|
|
4929
|
+
/**
|
|
4930
|
+
* Unique identifier for the event.
|
|
4931
|
+
*/
|
|
4932
|
+
id?: string;
|
|
4933
|
+
|
|
4934
|
+
/**
|
|
4935
|
+
* The type of event being delivered.
|
|
4936
|
+
*/
|
|
4937
|
+
event_type?: 'call.analyzed';
|
|
4938
|
+
|
|
4939
|
+
/**
|
|
4940
|
+
* ISO 8601 datetime of when the event occurred.
|
|
4941
|
+
*/
|
|
4942
|
+
occurred_at?: string;
|
|
4943
|
+
|
|
4944
|
+
payload?: Data.Payload;
|
|
4945
|
+
|
|
4946
|
+
/**
|
|
4947
|
+
* Identifies the type of the resource.
|
|
4948
|
+
*/
|
|
4949
|
+
record_type?: 'event';
|
|
4950
|
+
}
|
|
4951
|
+
|
|
4952
|
+
export namespace Data {
|
|
4953
|
+
export interface Payload {
|
|
4954
|
+
/**
|
|
4955
|
+
* Unique identifier of the assistant involved in the call.
|
|
4956
|
+
*/
|
|
4957
|
+
assistant_id?: string;
|
|
4958
|
+
|
|
4959
|
+
/**
|
|
4960
|
+
* Call ID used to issue commands via Call Control API.
|
|
4961
|
+
*/
|
|
4962
|
+
call_control_id?: string;
|
|
4963
|
+
|
|
4964
|
+
/**
|
|
4965
|
+
* ID that is unique to the call leg.
|
|
4966
|
+
*/
|
|
4967
|
+
call_leg_id?: string;
|
|
4968
|
+
|
|
4969
|
+
/**
|
|
4970
|
+
* ID that is unique to the call session (group of related call legs).
|
|
4971
|
+
*/
|
|
4972
|
+
call_session_id?: string;
|
|
4973
|
+
|
|
4974
|
+
/**
|
|
4975
|
+
* Base64-encoded state received from a command.
|
|
4976
|
+
*/
|
|
4977
|
+
client_state?: string;
|
|
4978
|
+
|
|
4979
|
+
/**
|
|
4980
|
+
* Call Control App ID (formerly Telnyx connection ID) used in the call.
|
|
4981
|
+
*/
|
|
4982
|
+
connection_id?: string;
|
|
4983
|
+
|
|
4984
|
+
/**
|
|
4985
|
+
* ID unique to the conversation generated for the call.
|
|
4986
|
+
*/
|
|
4987
|
+
conversation_id?: string;
|
|
4988
|
+
|
|
4989
|
+
/**
|
|
4990
|
+
* The conversation's generated insights, when insight generation was enabled for
|
|
4991
|
+
* the assistant and has completed. Each entry carries a `status` and the generated
|
|
4992
|
+
* `conversation_insights` results. An empty array when the conversation has no
|
|
4993
|
+
* generated insights; null when insight data could not be retrieved.
|
|
4994
|
+
*/
|
|
4995
|
+
conversation_insights?: Array<Payload.ConversationInsight> | null;
|
|
4996
|
+
|
|
4997
|
+
/**
|
|
4998
|
+
* The session's cost breakdown from Session Analysis, covering every product
|
|
4999
|
+
* billed on the call: the AI Voice Assistant engine minutes
|
|
5000
|
+
* (`ai-voice-assistant`), LLM inference tokens (`inference`), and call-control,
|
|
5001
|
+
* SIP trunking, and recording lines. If cost data could not be retrieved after
|
|
5002
|
+
* retries, this field carries the placeholder string `No cost data available.`
|
|
5003
|
+
* instead of an object.
|
|
5004
|
+
*/
|
|
5005
|
+
cost?: Payload.UnionMember0 | string;
|
|
5006
|
+
|
|
5007
|
+
/**
|
|
5008
|
+
* Duration of the conversation in seconds.
|
|
5009
|
+
*/
|
|
5010
|
+
duration_sec?: number;
|
|
5011
|
+
|
|
5012
|
+
/**
|
|
5013
|
+
* The caller's number or identifier.
|
|
5014
|
+
*/
|
|
5015
|
+
from?: string;
|
|
5016
|
+
|
|
5017
|
+
/**
|
|
5018
|
+
* The large language model used during the conversation.
|
|
5019
|
+
*/
|
|
5020
|
+
llm_model?: string;
|
|
5021
|
+
|
|
5022
|
+
/**
|
|
5023
|
+
* Reason the conversation ended.
|
|
5024
|
+
*/
|
|
5025
|
+
reason?: string | null;
|
|
5026
|
+
|
|
5027
|
+
/**
|
|
5028
|
+
* Recordings created for the call. An empty array when the call had no recordings;
|
|
5029
|
+
* null when recording data could not be retrieved.
|
|
5030
|
+
*/
|
|
5031
|
+
recordings?: Array<Payload.Recording> | null;
|
|
5032
|
+
|
|
5033
|
+
/**
|
|
5034
|
+
* The speech-to-text model used in the conversation.
|
|
5035
|
+
*/
|
|
5036
|
+
stt_model?: string;
|
|
5037
|
+
|
|
5038
|
+
/**
|
|
5039
|
+
* The callee's number or SIP address.
|
|
5040
|
+
*/
|
|
5041
|
+
to?: string;
|
|
5042
|
+
|
|
5043
|
+
/**
|
|
5044
|
+
* The model ID used for text-to-speech synthesis.
|
|
5045
|
+
*/
|
|
5046
|
+
tts_model_id?: string;
|
|
5047
|
+
|
|
5048
|
+
/**
|
|
5049
|
+
* The text-to-speech provider used in the call.
|
|
5050
|
+
*/
|
|
5051
|
+
tts_provider?: string;
|
|
5052
|
+
|
|
5053
|
+
/**
|
|
5054
|
+
* Voice ID used for TTS.
|
|
5055
|
+
*/
|
|
5056
|
+
tts_voice_id?: string;
|
|
5057
|
+
}
|
|
5058
|
+
|
|
5059
|
+
export namespace Payload {
|
|
5060
|
+
export interface ConversationInsight {
|
|
5061
|
+
/**
|
|
5062
|
+
* Generated insight results.
|
|
5063
|
+
*/
|
|
5064
|
+
conversation_insights?: Array<ConversationInsight.ConversationInsight> | null;
|
|
5065
|
+
|
|
5066
|
+
/**
|
|
5067
|
+
* Status of insight generation for this entry.
|
|
5068
|
+
*/
|
|
5069
|
+
status?: string;
|
|
5070
|
+
}
|
|
5071
|
+
|
|
5072
|
+
export namespace ConversationInsight {
|
|
5073
|
+
export interface ConversationInsight {
|
|
5074
|
+
/**
|
|
5075
|
+
* Identifier of the insight template the result was generated from.
|
|
5076
|
+
*/
|
|
5077
|
+
insight_id?: string;
|
|
5078
|
+
|
|
5079
|
+
/**
|
|
5080
|
+
* The generated insight result.
|
|
5081
|
+
*/
|
|
5082
|
+
result?: string;
|
|
5083
|
+
}
|
|
5084
|
+
}
|
|
5085
|
+
|
|
5086
|
+
/**
|
|
5087
|
+
* The session's cost breakdown from Session Analysis, covering every product
|
|
5088
|
+
* billed on the call: the AI Voice Assistant engine minutes
|
|
5089
|
+
* (`ai-voice-assistant`), LLM inference tokens (`inference`), and call-control,
|
|
5090
|
+
* SIP trunking, and recording lines. If cost data could not be retrieved after
|
|
5091
|
+
* retries, this field carries the placeholder string `No cost data available.`
|
|
5092
|
+
* instead of an object.
|
|
5093
|
+
*/
|
|
5094
|
+
export interface UnionMember0 {
|
|
5095
|
+
/**
|
|
5096
|
+
* Cost lines grouped by product.
|
|
5097
|
+
*/
|
|
5098
|
+
breakdown?: Array<UnionMember0.Breakdown>;
|
|
5099
|
+
|
|
5100
|
+
/**
|
|
5101
|
+
* The currency of the cost amounts.
|
|
5102
|
+
*/
|
|
5103
|
+
currency?: string;
|
|
5104
|
+
|
|
5105
|
+
/**
|
|
5106
|
+
* The total cost of the call, summed across every product in the breakdown.
|
|
5107
|
+
*/
|
|
5108
|
+
total?: string;
|
|
5109
|
+
}
|
|
5110
|
+
|
|
5111
|
+
export namespace UnionMember0 {
|
|
5112
|
+
export interface Breakdown {
|
|
5113
|
+
/**
|
|
5114
|
+
* Total cost for this product across the call, in the currency given by
|
|
5115
|
+
* `cost.currency`.
|
|
5116
|
+
*/
|
|
5117
|
+
cost?: string;
|
|
5118
|
+
|
|
5119
|
+
/**
|
|
5120
|
+
* The Telnyx product the cost line belongs to (for example `ai-voice-assistant`,
|
|
5121
|
+
* `inference`, `callcontrol-cdrs`, `siptrunking-cdrs`, `recording-cdrs`).
|
|
5122
|
+
*/
|
|
5123
|
+
product?: string;
|
|
5124
|
+
}
|
|
5125
|
+
}
|
|
5126
|
+
|
|
5127
|
+
export interface Recording {
|
|
5128
|
+
/**
|
|
5129
|
+
* Unique identifier of the recording.
|
|
5130
|
+
*/
|
|
5131
|
+
id?: string;
|
|
5132
|
+
|
|
5133
|
+
/**
|
|
5134
|
+
* The recording channel configuration.
|
|
5135
|
+
*/
|
|
5136
|
+
channels?: string;
|
|
5137
|
+
|
|
5138
|
+
/**
|
|
5139
|
+
* Download URL per format. URLs are pre-signed and expire.
|
|
5140
|
+
*/
|
|
5141
|
+
download_urls?: Recording.DownloadURLs;
|
|
5142
|
+
|
|
5143
|
+
/**
|
|
5144
|
+
* ISO 8601 datetime of when the recording ended.
|
|
5145
|
+
*/
|
|
5146
|
+
end_time?: string;
|
|
5147
|
+
|
|
5148
|
+
/**
|
|
5149
|
+
* The recording file format.
|
|
5150
|
+
*/
|
|
5151
|
+
format?: string;
|
|
5152
|
+
|
|
5153
|
+
/**
|
|
5154
|
+
* ISO 8601 datetime of when the recording started.
|
|
5155
|
+
*/
|
|
5156
|
+
start_time?: string;
|
|
5157
|
+
}
|
|
5158
|
+
|
|
5159
|
+
export namespace Recording {
|
|
5160
|
+
/**
|
|
5161
|
+
* Download URL per format. URLs are pre-signed and expire.
|
|
5162
|
+
*/
|
|
5163
|
+
export interface DownloadURLs {
|
|
5164
|
+
/**
|
|
5165
|
+
* Pre-signed URL for the mp3 recording file.
|
|
5166
|
+
*/
|
|
5167
|
+
mp3?: string;
|
|
5168
|
+
|
|
5169
|
+
/**
|
|
5170
|
+
* Pre-signed URL for the wav recording file.
|
|
5171
|
+
*/
|
|
5172
|
+
wav?: string;
|
|
5173
|
+
}
|
|
5174
|
+
}
|
|
5175
|
+
}
|
|
5176
|
+
}
|
|
5177
|
+
}
|
|
5178
|
+
|
|
4923
5179
|
export interface CallAnsweredWebhookEvent {
|
|
4924
5180
|
data?: CallAnswered;
|
|
4925
5181
|
}
|
|
@@ -6695,50 +6951,6 @@ export namespace NumberReputationNumberRemovedWebhookEvent {
|
|
|
6695
6951
|
}
|
|
6696
6952
|
}
|
|
6697
6953
|
|
|
6698
|
-
export interface RecordingAvailableWebhookEvent {
|
|
6699
|
-
/**
|
|
6700
|
-
* Unique event id; deduplicate deliveries on it.
|
|
6701
|
-
*/
|
|
6702
|
-
id: string;
|
|
6703
|
-
|
|
6704
|
-
/**
|
|
6705
|
-
* Available recording types.
|
|
6706
|
-
*/
|
|
6707
|
-
data: RecordingAvailableWebhookEvent.Data;
|
|
6708
|
-
|
|
6709
|
-
/**
|
|
6710
|
-
* Event type.
|
|
6711
|
-
*/
|
|
6712
|
-
event: 'recording.available';
|
|
6713
|
-
|
|
6714
|
-
/**
|
|
6715
|
-
* When the event occurred.
|
|
6716
|
-
*/
|
|
6717
|
-
occurred_at: string;
|
|
6718
|
-
|
|
6719
|
-
/**
|
|
6720
|
-
* Envelope version.
|
|
6721
|
-
*/
|
|
6722
|
-
version: string;
|
|
6723
|
-
}
|
|
6724
|
-
|
|
6725
|
-
export namespace RecordingAvailableWebhookEvent {
|
|
6726
|
-
/**
|
|
6727
|
-
* Available recording types.
|
|
6728
|
-
*/
|
|
6729
|
-
export interface Data {
|
|
6730
|
-
/**
|
|
6731
|
-
* Available recording types.
|
|
6732
|
-
*/
|
|
6733
|
-
recording_types: Array<string>;
|
|
6734
|
-
|
|
6735
|
-
/**
|
|
6736
|
-
* The meeting session this event belongs to.
|
|
6737
|
-
*/
|
|
6738
|
-
session_id: string;
|
|
6739
|
-
}
|
|
6740
|
-
}
|
|
6741
|
-
|
|
6742
6954
|
export interface ReplacedLinkClickWebhookEvent {
|
|
6743
6955
|
data?: ReplacedLinkClick;
|
|
6744
6956
|
}
|
|
@@ -6791,8 +7003,7 @@ export namespace SessionStatusChangedWebhookEvent {
|
|
|
6791
7003
|
status: string;
|
|
6792
7004
|
|
|
6793
7005
|
/**
|
|
6794
|
-
* Additional detail about the status (for example `
|
|
6795
|
-
* or `cancelled`), or null.
|
|
7006
|
+
* Additional detail about the status (for example `cancelled`), or null.
|
|
6796
7007
|
*/
|
|
6797
7008
|
status_detail: string | null;
|
|
6798
7009
|
}
|
|
@@ -7053,6 +7264,262 @@ export namespace ArtifactFailedWebhookEvent {
|
|
|
7053
7264
|
}
|
|
7054
7265
|
}
|
|
7055
7266
|
|
|
7267
|
+
export interface CallAnalyzedWebhookEvent {
|
|
7268
|
+
data?: CallAnalyzedWebhookEvent.Data;
|
|
7269
|
+
}
|
|
7270
|
+
|
|
7271
|
+
export namespace CallAnalyzedWebhookEvent {
|
|
7272
|
+
export interface Data {
|
|
7273
|
+
/**
|
|
7274
|
+
* Unique identifier for the event.
|
|
7275
|
+
*/
|
|
7276
|
+
id?: string;
|
|
7277
|
+
|
|
7278
|
+
/**
|
|
7279
|
+
* The type of event being delivered.
|
|
7280
|
+
*/
|
|
7281
|
+
event_type?: 'call.analyzed';
|
|
7282
|
+
|
|
7283
|
+
/**
|
|
7284
|
+
* ISO 8601 datetime of when the event occurred.
|
|
7285
|
+
*/
|
|
7286
|
+
occurred_at?: string;
|
|
7287
|
+
|
|
7288
|
+
payload?: Data.Payload;
|
|
7289
|
+
|
|
7290
|
+
/**
|
|
7291
|
+
* Identifies the type of the resource.
|
|
7292
|
+
*/
|
|
7293
|
+
record_type?: 'event';
|
|
7294
|
+
}
|
|
7295
|
+
|
|
7296
|
+
export namespace Data {
|
|
7297
|
+
export interface Payload {
|
|
7298
|
+
/**
|
|
7299
|
+
* Unique identifier of the assistant involved in the call.
|
|
7300
|
+
*/
|
|
7301
|
+
assistant_id?: string;
|
|
7302
|
+
|
|
7303
|
+
/**
|
|
7304
|
+
* Call ID used to issue commands via Call Control API.
|
|
7305
|
+
*/
|
|
7306
|
+
call_control_id?: string;
|
|
7307
|
+
|
|
7308
|
+
/**
|
|
7309
|
+
* ID that is unique to the call leg.
|
|
7310
|
+
*/
|
|
7311
|
+
call_leg_id?: string;
|
|
7312
|
+
|
|
7313
|
+
/**
|
|
7314
|
+
* ID that is unique to the call session (group of related call legs).
|
|
7315
|
+
*/
|
|
7316
|
+
call_session_id?: string;
|
|
7317
|
+
|
|
7318
|
+
/**
|
|
7319
|
+
* Base64-encoded state received from a command.
|
|
7320
|
+
*/
|
|
7321
|
+
client_state?: string;
|
|
7322
|
+
|
|
7323
|
+
/**
|
|
7324
|
+
* Call Control App ID (formerly Telnyx connection ID) used in the call.
|
|
7325
|
+
*/
|
|
7326
|
+
connection_id?: string;
|
|
7327
|
+
|
|
7328
|
+
/**
|
|
7329
|
+
* ID unique to the conversation generated for the call.
|
|
7330
|
+
*/
|
|
7331
|
+
conversation_id?: string;
|
|
7332
|
+
|
|
7333
|
+
/**
|
|
7334
|
+
* The conversation's generated insights, when insight generation was enabled for
|
|
7335
|
+
* the assistant and has completed. Each entry carries a `status` and the generated
|
|
7336
|
+
* `conversation_insights` results. An empty array when the conversation has no
|
|
7337
|
+
* generated insights; null when insight data could not be retrieved.
|
|
7338
|
+
*/
|
|
7339
|
+
conversation_insights?: Array<Payload.ConversationInsight> | null;
|
|
7340
|
+
|
|
7341
|
+
/**
|
|
7342
|
+
* The session's cost breakdown from Session Analysis, covering every product
|
|
7343
|
+
* billed on the call: the AI Voice Assistant engine minutes
|
|
7344
|
+
* (`ai-voice-assistant`), LLM inference tokens (`inference`), and call-control,
|
|
7345
|
+
* SIP trunking, and recording lines. If cost data could not be retrieved after
|
|
7346
|
+
* retries, this field carries the placeholder string `No cost data available.`
|
|
7347
|
+
* instead of an object.
|
|
7348
|
+
*/
|
|
7349
|
+
cost?: Payload.UnionMember0 | string;
|
|
7350
|
+
|
|
7351
|
+
/**
|
|
7352
|
+
* Duration of the conversation in seconds.
|
|
7353
|
+
*/
|
|
7354
|
+
duration_sec?: number;
|
|
7355
|
+
|
|
7356
|
+
/**
|
|
7357
|
+
* The caller's number or identifier.
|
|
7358
|
+
*/
|
|
7359
|
+
from?: string;
|
|
7360
|
+
|
|
7361
|
+
/**
|
|
7362
|
+
* The large language model used during the conversation.
|
|
7363
|
+
*/
|
|
7364
|
+
llm_model?: string;
|
|
7365
|
+
|
|
7366
|
+
/**
|
|
7367
|
+
* Reason the conversation ended.
|
|
7368
|
+
*/
|
|
7369
|
+
reason?: string | null;
|
|
7370
|
+
|
|
7371
|
+
/**
|
|
7372
|
+
* Recordings created for the call. An empty array when the call had no recordings;
|
|
7373
|
+
* null when recording data could not be retrieved.
|
|
7374
|
+
*/
|
|
7375
|
+
recordings?: Array<Payload.Recording> | null;
|
|
7376
|
+
|
|
7377
|
+
/**
|
|
7378
|
+
* The speech-to-text model used in the conversation.
|
|
7379
|
+
*/
|
|
7380
|
+
stt_model?: string;
|
|
7381
|
+
|
|
7382
|
+
/**
|
|
7383
|
+
* The callee's number or SIP address.
|
|
7384
|
+
*/
|
|
7385
|
+
to?: string;
|
|
7386
|
+
|
|
7387
|
+
/**
|
|
7388
|
+
* The model ID used for text-to-speech synthesis.
|
|
7389
|
+
*/
|
|
7390
|
+
tts_model_id?: string;
|
|
7391
|
+
|
|
7392
|
+
/**
|
|
7393
|
+
* The text-to-speech provider used in the call.
|
|
7394
|
+
*/
|
|
7395
|
+
tts_provider?: string;
|
|
7396
|
+
|
|
7397
|
+
/**
|
|
7398
|
+
* Voice ID used for TTS.
|
|
7399
|
+
*/
|
|
7400
|
+
tts_voice_id?: string;
|
|
7401
|
+
}
|
|
7402
|
+
|
|
7403
|
+
export namespace Payload {
|
|
7404
|
+
export interface ConversationInsight {
|
|
7405
|
+
/**
|
|
7406
|
+
* Generated insight results.
|
|
7407
|
+
*/
|
|
7408
|
+
conversation_insights?: Array<ConversationInsight.ConversationInsight> | null;
|
|
7409
|
+
|
|
7410
|
+
/**
|
|
7411
|
+
* Status of insight generation for this entry.
|
|
7412
|
+
*/
|
|
7413
|
+
status?: string;
|
|
7414
|
+
}
|
|
7415
|
+
|
|
7416
|
+
export namespace ConversationInsight {
|
|
7417
|
+
export interface ConversationInsight {
|
|
7418
|
+
/**
|
|
7419
|
+
* Identifier of the insight template the result was generated from.
|
|
7420
|
+
*/
|
|
7421
|
+
insight_id?: string;
|
|
7422
|
+
|
|
7423
|
+
/**
|
|
7424
|
+
* The generated insight result.
|
|
7425
|
+
*/
|
|
7426
|
+
result?: string;
|
|
7427
|
+
}
|
|
7428
|
+
}
|
|
7429
|
+
|
|
7430
|
+
/**
|
|
7431
|
+
* The session's cost breakdown from Session Analysis, covering every product
|
|
7432
|
+
* billed on the call: the AI Voice Assistant engine minutes
|
|
7433
|
+
* (`ai-voice-assistant`), LLM inference tokens (`inference`), and call-control,
|
|
7434
|
+
* SIP trunking, and recording lines. If cost data could not be retrieved after
|
|
7435
|
+
* retries, this field carries the placeholder string `No cost data available.`
|
|
7436
|
+
* instead of an object.
|
|
7437
|
+
*/
|
|
7438
|
+
export interface UnionMember0 {
|
|
7439
|
+
/**
|
|
7440
|
+
* Cost lines grouped by product.
|
|
7441
|
+
*/
|
|
7442
|
+
breakdown?: Array<UnionMember0.Breakdown>;
|
|
7443
|
+
|
|
7444
|
+
/**
|
|
7445
|
+
* The currency of the cost amounts.
|
|
7446
|
+
*/
|
|
7447
|
+
currency?: string;
|
|
7448
|
+
|
|
7449
|
+
/**
|
|
7450
|
+
* The total cost of the call, summed across every product in the breakdown.
|
|
7451
|
+
*/
|
|
7452
|
+
total?: string;
|
|
7453
|
+
}
|
|
7454
|
+
|
|
7455
|
+
export namespace UnionMember0 {
|
|
7456
|
+
export interface Breakdown {
|
|
7457
|
+
/**
|
|
7458
|
+
* Total cost for this product across the call, in the currency given by
|
|
7459
|
+
* `cost.currency`.
|
|
7460
|
+
*/
|
|
7461
|
+
cost?: string;
|
|
7462
|
+
|
|
7463
|
+
/**
|
|
7464
|
+
* The Telnyx product the cost line belongs to (for example `ai-voice-assistant`,
|
|
7465
|
+
* `inference`, `callcontrol-cdrs`, `siptrunking-cdrs`, `recording-cdrs`).
|
|
7466
|
+
*/
|
|
7467
|
+
product?: string;
|
|
7468
|
+
}
|
|
7469
|
+
}
|
|
7470
|
+
|
|
7471
|
+
export interface Recording {
|
|
7472
|
+
/**
|
|
7473
|
+
* Unique identifier of the recording.
|
|
7474
|
+
*/
|
|
7475
|
+
id?: string;
|
|
7476
|
+
|
|
7477
|
+
/**
|
|
7478
|
+
* The recording channel configuration.
|
|
7479
|
+
*/
|
|
7480
|
+
channels?: string;
|
|
7481
|
+
|
|
7482
|
+
/**
|
|
7483
|
+
* Download URL per format. URLs are pre-signed and expire.
|
|
7484
|
+
*/
|
|
7485
|
+
download_urls?: Recording.DownloadURLs;
|
|
7486
|
+
|
|
7487
|
+
/**
|
|
7488
|
+
* ISO 8601 datetime of when the recording ended.
|
|
7489
|
+
*/
|
|
7490
|
+
end_time?: string;
|
|
7491
|
+
|
|
7492
|
+
/**
|
|
7493
|
+
* The recording file format.
|
|
7494
|
+
*/
|
|
7495
|
+
format?: string;
|
|
7496
|
+
|
|
7497
|
+
/**
|
|
7498
|
+
* ISO 8601 datetime of when the recording started.
|
|
7499
|
+
*/
|
|
7500
|
+
start_time?: string;
|
|
7501
|
+
}
|
|
7502
|
+
|
|
7503
|
+
export namespace Recording {
|
|
7504
|
+
/**
|
|
7505
|
+
* Download URL per format. URLs are pre-signed and expire.
|
|
7506
|
+
*/
|
|
7507
|
+
export interface DownloadURLs {
|
|
7508
|
+
/**
|
|
7509
|
+
* Pre-signed URL for the mp3 recording file.
|
|
7510
|
+
*/
|
|
7511
|
+
mp3?: string;
|
|
7512
|
+
|
|
7513
|
+
/**
|
|
7514
|
+
* Pre-signed URL for the wav recording file.
|
|
7515
|
+
*/
|
|
7516
|
+
wav?: string;
|
|
7517
|
+
}
|
|
7518
|
+
}
|
|
7519
|
+
}
|
|
7520
|
+
}
|
|
7521
|
+
}
|
|
7522
|
+
|
|
7056
7523
|
export interface CallAnsweredWebhookEvent {
|
|
7057
7524
|
data?: CallAnswered;
|
|
7058
7525
|
}
|
|
@@ -8828,50 +9295,6 @@ export namespace NumberReputationNumberRemovedWebhookEvent {
|
|
|
8828
9295
|
}
|
|
8829
9296
|
}
|
|
8830
9297
|
|
|
8831
|
-
export interface RecordingAvailableWebhookEvent {
|
|
8832
|
-
/**
|
|
8833
|
-
* Unique event id; deduplicate deliveries on it.
|
|
8834
|
-
*/
|
|
8835
|
-
id: string;
|
|
8836
|
-
|
|
8837
|
-
/**
|
|
8838
|
-
* Available recording types.
|
|
8839
|
-
*/
|
|
8840
|
-
data: RecordingAvailableWebhookEvent.Data;
|
|
8841
|
-
|
|
8842
|
-
/**
|
|
8843
|
-
* Event type.
|
|
8844
|
-
*/
|
|
8845
|
-
event: 'recording.available';
|
|
8846
|
-
|
|
8847
|
-
/**
|
|
8848
|
-
* When the event occurred.
|
|
8849
|
-
*/
|
|
8850
|
-
occurred_at: string;
|
|
8851
|
-
|
|
8852
|
-
/**
|
|
8853
|
-
* Envelope version.
|
|
8854
|
-
*/
|
|
8855
|
-
version: string;
|
|
8856
|
-
}
|
|
8857
|
-
|
|
8858
|
-
export namespace RecordingAvailableWebhookEvent {
|
|
8859
|
-
/**
|
|
8860
|
-
* Available recording types.
|
|
8861
|
-
*/
|
|
8862
|
-
export interface Data {
|
|
8863
|
-
/**
|
|
8864
|
-
* Available recording types.
|
|
8865
|
-
*/
|
|
8866
|
-
recording_types: Array<string>;
|
|
8867
|
-
|
|
8868
|
-
/**
|
|
8869
|
-
* The meeting session this event belongs to.
|
|
8870
|
-
*/
|
|
8871
|
-
session_id: string;
|
|
8872
|
-
}
|
|
8873
|
-
}
|
|
8874
|
-
|
|
8875
9298
|
export interface ReplacedLinkClickWebhookEvent {
|
|
8876
9299
|
data?: ReplacedLinkClick;
|
|
8877
9300
|
}
|
|
@@ -8924,8 +9347,7 @@ export namespace SessionStatusChangedWebhookEvent {
|
|
|
8924
9347
|
status: string;
|
|
8925
9348
|
|
|
8926
9349
|
/**
|
|
8927
|
-
* Additional detail about the status (for example `
|
|
8928
|
-
* or `cancelled`), or null.
|
|
9350
|
+
* Additional detail about the status (for example `cancelled`), or null.
|
|
8929
9351
|
*/
|
|
8930
9352
|
status_detail: string | null;
|
|
8931
9353
|
}
|
|
@@ -9045,6 +9467,7 @@ export type UnsafeUnwrapWebhookEvent =
|
|
|
9045
9467
|
| CallAIGatherPartialResultsWebhookEvent
|
|
9046
9468
|
| ArtifactCompletedWebhookEvent
|
|
9047
9469
|
| ArtifactFailedWebhookEvent
|
|
9470
|
+
| CallAnalyzedWebhookEvent
|
|
9048
9471
|
| CallAnsweredWebhookEvent
|
|
9049
9472
|
| CallBridgedWebhookEvent
|
|
9050
9473
|
| CallConversationCreatedWebhookEvent
|
|
@@ -9115,7 +9538,6 @@ export type UnsafeUnwrapWebhookEvent =
|
|
|
9115
9538
|
| NumberReputationExternalVerificationStatusChangedWebhookEvent
|
|
9116
9539
|
| NumberReputationNumberFlaggedWebhookEvent
|
|
9117
9540
|
| NumberReputationNumberRemovedWebhookEvent
|
|
9118
|
-
| RecordingAvailableWebhookEvent
|
|
9119
9541
|
| ReplacedLinkClickWebhookEvent
|
|
9120
9542
|
| SessionStatusChangedWebhookEvent
|
|
9121
9543
|
| TranscriptCompletedWebhookEvent
|
|
@@ -9130,6 +9552,7 @@ export type UnwrapWebhookEvent =
|
|
|
9130
9552
|
| CallAIGatherPartialResultsWebhookEvent
|
|
9131
9553
|
| ArtifactCompletedWebhookEvent
|
|
9132
9554
|
| ArtifactFailedWebhookEvent
|
|
9555
|
+
| CallAnalyzedWebhookEvent
|
|
9133
9556
|
| CallAnsweredWebhookEvent
|
|
9134
9557
|
| CallBridgedWebhookEvent
|
|
9135
9558
|
| CallConversationCreatedWebhookEvent
|
|
@@ -9200,7 +9623,6 @@ export type UnwrapWebhookEvent =
|
|
|
9200
9623
|
| NumberReputationExternalVerificationStatusChangedWebhookEvent
|
|
9201
9624
|
| NumberReputationNumberFlaggedWebhookEvent
|
|
9202
9625
|
| NumberReputationNumberRemovedWebhookEvent
|
|
9203
|
-
| RecordingAvailableWebhookEvent
|
|
9204
9626
|
| ReplacedLinkClickWebhookEvent
|
|
9205
9627
|
| SessionStatusChangedWebhookEvent
|
|
9206
9628
|
| TranscriptCompletedWebhookEvent
|
|
@@ -9280,6 +9702,7 @@ export declare namespace Webhooks {
|
|
|
9280
9702
|
type CallAIGatherPartialResultsWebhookEvent as CallAIGatherPartialResultsWebhookEvent,
|
|
9281
9703
|
type ArtifactCompletedWebhookEvent as ArtifactCompletedWebhookEvent,
|
|
9282
9704
|
type ArtifactFailedWebhookEvent as ArtifactFailedWebhookEvent,
|
|
9705
|
+
type CallAnalyzedWebhookEvent as CallAnalyzedWebhookEvent,
|
|
9283
9706
|
type CallAnsweredWebhookEvent as CallAnsweredWebhookEvent,
|
|
9284
9707
|
type CallBridgedWebhookEvent as CallBridgedWebhookEvent,
|
|
9285
9708
|
type CallConversationCreatedWebhookEvent as CallConversationCreatedWebhookEvent,
|
|
@@ -9343,7 +9766,6 @@ export declare namespace Webhooks {
|
|
|
9343
9766
|
type NumberReputationExternalVerificationStatusChangedWebhookEvent as NumberReputationExternalVerificationStatusChangedWebhookEvent,
|
|
9344
9767
|
type NumberReputationNumberFlaggedWebhookEvent as NumberReputationNumberFlaggedWebhookEvent,
|
|
9345
9768
|
type NumberReputationNumberRemovedWebhookEvent as NumberReputationNumberRemovedWebhookEvent,
|
|
9346
|
-
type RecordingAvailableWebhookEvent as RecordingAvailableWebhookEvent,
|
|
9347
9769
|
type ReplacedLinkClickWebhookEvent as ReplacedLinkClickWebhookEvent,
|
|
9348
9770
|
type SessionStatusChangedWebhookEvent as SessionStatusChangedWebhookEvent,
|
|
9349
9771
|
type TranscriptCompletedWebhookEvent as TranscriptCompletedWebhookEvent,
|