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
package/src/client.ts
CHANGED
|
@@ -245,6 +245,12 @@ import {
|
|
|
245
245
|
DetailRecordListResponsesDefaultFlatPagination,
|
|
246
246
|
DetailRecords,
|
|
247
247
|
} from './resources/detail-records';
|
|
248
|
+
import {
|
|
249
|
+
DialMetricListParams,
|
|
250
|
+
DialMetricListResponse,
|
|
251
|
+
DialMetricListResponsesCloudfsCursorPagination,
|
|
252
|
+
DialMetrics,
|
|
253
|
+
} from './resources/dial-metrics';
|
|
248
254
|
import {
|
|
249
255
|
DialogflowConnectionCreateParams,
|
|
250
256
|
DialogflowConnectionResponse,
|
|
@@ -917,10 +923,23 @@ import {
|
|
|
917
923
|
SubNumberOrdersReportResource,
|
|
918
924
|
SubNumberOrdersReportRetrieveResponse,
|
|
919
925
|
} from './resources/sub-number-orders-report';
|
|
926
|
+
import {
|
|
927
|
+
TailscaleSubnetRouter,
|
|
928
|
+
TailscaleSubnetRouterCreateParams,
|
|
929
|
+
TailscaleSubnetRouterCreateResponse,
|
|
930
|
+
TailscaleSubnetRouterDeleteResponse,
|
|
931
|
+
TailscaleSubnetRouterListParams,
|
|
932
|
+
TailscaleSubnetRouterRetrieveResponse,
|
|
933
|
+
TailscaleSubnetRouterUpdateParams,
|
|
934
|
+
TailscaleSubnetRouterUpdateResponse,
|
|
935
|
+
TailscaleSubnetRouters,
|
|
936
|
+
TailscaleSubnetRoutersDefaultFlatPagination,
|
|
937
|
+
} from './resources/tailscale-subnet-routers';
|
|
920
938
|
import {
|
|
921
939
|
TelephonyCredential,
|
|
922
940
|
TelephonyCredentialCreateParams,
|
|
923
941
|
TelephonyCredentialCreateResponse,
|
|
942
|
+
TelephonyCredentialCreateTokenParams,
|
|
924
943
|
TelephonyCredentialCreateTokenResponse,
|
|
925
944
|
TelephonyCredentialDeleteResponse,
|
|
926
945
|
TelephonyCredentialListParams,
|
|
@@ -1062,6 +1081,7 @@ import {
|
|
|
1062
1081
|
CallAIGatherMessageHistoryUpdatedWebhookEvent,
|
|
1063
1082
|
CallAIGatherPartialResults,
|
|
1064
1083
|
CallAIGatherPartialResultsWebhookEvent,
|
|
1084
|
+
CallAnalyzedWebhookEvent,
|
|
1065
1085
|
CallAnswered,
|
|
1066
1086
|
CallAnsweredWebhookEvent,
|
|
1067
1087
|
CallBridged,
|
|
@@ -1182,7 +1202,6 @@ import {
|
|
|
1182
1202
|
NumberReputationNumberFlaggedWebhookEvent,
|
|
1183
1203
|
NumberReputationNumberRemovedWebhookEvent,
|
|
1184
1204
|
OutboundMessage,
|
|
1185
|
-
RecordingAvailableWebhookEvent,
|
|
1186
1205
|
ReplacedLinkClick,
|
|
1187
1206
|
ReplacedLinkClickWebhookEvent,
|
|
1188
1207
|
SessionStatusChangedWebhookEvent,
|
|
@@ -1290,7 +1309,7 @@ import {
|
|
|
1290
1309
|
StreamBidirectionalTargetLegs,
|
|
1291
1310
|
StreamCodec,
|
|
1292
1311
|
} from './resources/calls/calls';
|
|
1293
|
-
import { Compute } from './resources/compute/compute';
|
|
1312
|
+
import { Compute, ComputeRetrieveResponse } from './resources/compute/compute';
|
|
1294
1313
|
import {
|
|
1295
1314
|
Conference,
|
|
1296
1315
|
ConferenceCreateParams,
|
|
@@ -1506,7 +1525,6 @@ import {
|
|
|
1506
1525
|
MeetingSessionResponse,
|
|
1507
1526
|
MeetingSessionRetrieveEventsParams,
|
|
1508
1527
|
MeetingSessionRetrieveEventsResponse,
|
|
1509
|
-
MeetingSessionRetrieveRecordingsResponse,
|
|
1510
1528
|
MeetingSessionRetrieveTranscriptParams,
|
|
1511
1529
|
MeetingSessionRetrieveTranscriptResponse,
|
|
1512
1530
|
MeetingSessionUpdateParams,
|
|
@@ -1632,6 +1650,7 @@ import {
|
|
|
1632
1650
|
} from './resources/payment/payment';
|
|
1633
1651
|
import { PhoneNumberBlocks } from './resources/phone-number-blocks/phone-number-blocks';
|
|
1634
1652
|
import {
|
|
1653
|
+
NumbersError73c9788e53,
|
|
1635
1654
|
NumbersPhoneNumberDetailed,
|
|
1636
1655
|
NumbersPhoneNumberDetailedsDefaultFlatPagination,
|
|
1637
1656
|
PhoneNumberDeleteResponse,
|
|
@@ -1802,6 +1821,7 @@ import {
|
|
|
1802
1821
|
TextToSpeechListVoicesResponse,
|
|
1803
1822
|
TextToSpeechRetrieveSpeechParams,
|
|
1804
1823
|
} from './resources/text-to-speech/text-to-speech';
|
|
1824
|
+
import { TtsIntegrations } from './resources/tts-integrations/tts-integrations';
|
|
1805
1825
|
import {
|
|
1806
1826
|
UacConnection,
|
|
1807
1827
|
UacConnectionCreateParams,
|
|
@@ -3302,6 +3322,9 @@ export class Telnyx {
|
|
|
3302
3322
|
webSearch: API.WebSearch = new API.WebSearch(this);
|
|
3303
3323
|
meetingSessions: API.MeetingSessions = new API.MeetingSessions(this);
|
|
3304
3324
|
externalRequirements: API.ExternalRequirements = new API.ExternalRequirements(this);
|
|
3325
|
+
/**
|
|
3326
|
+
* Inspect Stateful Actor types
|
|
3327
|
+
*/
|
|
3305
3328
|
compute: API.Compute = new API.Compute(this);
|
|
3306
3329
|
/**
|
|
3307
3330
|
* Noise suppression engines that can be selected when configuring noise suppression on voice connections.
|
|
@@ -3338,6 +3361,15 @@ export class Telnyx {
|
|
|
3338
3361
|
* UAC connection operations
|
|
3339
3362
|
*/
|
|
3340
3363
|
sipRegistrationStatus: API.SipRegistrationStatus = new API.SipRegistrationStatus(this);
|
|
3364
|
+
/**
|
|
3365
|
+
* Call information
|
|
3366
|
+
*/
|
|
3367
|
+
dialMetrics: API.DialMetrics = new API.DialMetrics(this);
|
|
3368
|
+
ttsIntegrations: API.TtsIntegrations = new API.TtsIntegrations(this);
|
|
3369
|
+
/**
|
|
3370
|
+
* Tailscale Subnet Router operations
|
|
3371
|
+
*/
|
|
3372
|
+
tailscaleSubnetRouters: API.TailscaleSubnetRouters = new API.TailscaleSubnetRouters(this);
|
|
3341
3373
|
}
|
|
3342
3374
|
|
|
3343
3375
|
Telnyx.Legacy = Legacy;
|
|
@@ -3531,6 +3563,9 @@ Telnyx.MachinePayments = MachinePayments;
|
|
|
3531
3563
|
Telnyx.SpendLimits = SpendLimits;
|
|
3532
3564
|
Telnyx.LlmTokenGateway = LlmTokenGateway;
|
|
3533
3565
|
Telnyx.SipRegistrationStatus = SipRegistrationStatus;
|
|
3566
|
+
Telnyx.DialMetrics = DialMetrics;
|
|
3567
|
+
Telnyx.TtsIntegrations = TtsIntegrations;
|
|
3568
|
+
Telnyx.TailscaleSubnetRouters = TailscaleSubnetRouters;
|
|
3534
3569
|
|
|
3535
3570
|
export declare namespace Telnyx {
|
|
3536
3571
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -3719,6 +3754,7 @@ export declare namespace Telnyx {
|
|
|
3719
3754
|
type CallAIGatherPartialResultsWebhookEvent as CallAIGatherPartialResultsWebhookEvent,
|
|
3720
3755
|
type ArtifactCompletedWebhookEvent as ArtifactCompletedWebhookEvent,
|
|
3721
3756
|
type ArtifactFailedWebhookEvent as ArtifactFailedWebhookEvent,
|
|
3757
|
+
type CallAnalyzedWebhookEvent as CallAnalyzedWebhookEvent,
|
|
3722
3758
|
type CallAnsweredWebhookEvent as CallAnsweredWebhookEvent,
|
|
3723
3759
|
type CallBridgedWebhookEvent as CallBridgedWebhookEvent,
|
|
3724
3760
|
type CallConversationCreatedWebhookEvent as CallConversationCreatedWebhookEvent,
|
|
@@ -3782,7 +3818,6 @@ export declare namespace Telnyx {
|
|
|
3782
3818
|
type NumberReputationExternalVerificationStatusChangedWebhookEvent as NumberReputationExternalVerificationStatusChangedWebhookEvent,
|
|
3783
3819
|
type NumberReputationNumberFlaggedWebhookEvent as NumberReputationNumberFlaggedWebhookEvent,
|
|
3784
3820
|
type NumberReputationNumberRemovedWebhookEvent as NumberReputationNumberRemovedWebhookEvent,
|
|
3785
|
-
type RecordingAvailableWebhookEvent as RecordingAvailableWebhookEvent,
|
|
3786
3821
|
type ReplacedLinkClickWebhookEvent as ReplacedLinkClickWebhookEvent,
|
|
3787
3822
|
type SessionStatusChangedWebhookEvent as SessionStatusChangedWebhookEvent,
|
|
3788
3823
|
type TranscriptCompletedWebhookEvent as TranscriptCompletedWebhookEvent,
|
|
@@ -4667,6 +4702,7 @@ export declare namespace Telnyx {
|
|
|
4667
4702
|
|
|
4668
4703
|
export {
|
|
4669
4704
|
PhoneNumbers as PhoneNumbers,
|
|
4705
|
+
type NumbersError73c9788e53 as NumbersError73c9788e53,
|
|
4670
4706
|
type NumbersPhoneNumberDetailed as NumbersPhoneNumberDetailed,
|
|
4671
4707
|
type PhoneNumberDetailed as PhoneNumberDetailed,
|
|
4672
4708
|
type PhoneNumberRetrieveResponse as PhoneNumberRetrieveResponse,
|
|
@@ -5025,6 +5061,7 @@ export declare namespace Telnyx {
|
|
|
5025
5061
|
type TelephonyCredentialListParams as TelephonyCredentialListParams,
|
|
5026
5062
|
type TelephonyCredentialCreateParams as TelephonyCredentialCreateParams,
|
|
5027
5063
|
type TelephonyCredentialUpdateParams as TelephonyCredentialUpdateParams,
|
|
5064
|
+
type TelephonyCredentialCreateTokenParams as TelephonyCredentialCreateTokenParams,
|
|
5028
5065
|
};
|
|
5029
5066
|
|
|
5030
5067
|
export {
|
|
@@ -5569,7 +5606,6 @@ export declare namespace Telnyx {
|
|
|
5569
5606
|
type MeetingSessionListResponse as MeetingSessionListResponse,
|
|
5570
5607
|
type MeetingSessionDeleteRecordingMediaResponse as MeetingSessionDeleteRecordingMediaResponse,
|
|
5571
5608
|
type MeetingSessionRetrieveEventsResponse as MeetingSessionRetrieveEventsResponse,
|
|
5572
|
-
type MeetingSessionRetrieveRecordingsResponse as MeetingSessionRetrieveRecordingsResponse,
|
|
5573
5609
|
type MeetingSessionRetrieveTranscriptResponse as MeetingSessionRetrieveTranscriptResponse,
|
|
5574
5610
|
type MeetingSessionListParams as MeetingSessionListParams,
|
|
5575
5611
|
type MeetingSessionCreateParams as MeetingSessionCreateParams,
|
|
@@ -5580,7 +5616,7 @@ export declare namespace Telnyx {
|
|
|
5580
5616
|
|
|
5581
5617
|
export { ExternalRequirements as ExternalRequirements };
|
|
5582
5618
|
|
|
5583
|
-
export { Compute as Compute };
|
|
5619
|
+
export { Compute as Compute, type ComputeRetrieveResponse as ComputeRetrieveResponse };
|
|
5584
5620
|
|
|
5585
5621
|
export {
|
|
5586
5622
|
NoiseSuppressionEngines as NoiseSuppressionEngines,
|
|
@@ -5631,6 +5667,28 @@ export declare namespace Telnyx {
|
|
|
5631
5667
|
type SipRegistrationStatusListParams as SipRegistrationStatusListParams,
|
|
5632
5668
|
};
|
|
5633
5669
|
|
|
5670
|
+
export {
|
|
5671
|
+
DialMetrics as DialMetrics,
|
|
5672
|
+
type DialMetricListResponse as DialMetricListResponse,
|
|
5673
|
+
type DialMetricListResponsesCloudfsCursorPagination as DialMetricListResponsesCloudfsCursorPagination,
|
|
5674
|
+
type DialMetricListParams as DialMetricListParams,
|
|
5675
|
+
};
|
|
5676
|
+
|
|
5677
|
+
export { TtsIntegrations as TtsIntegrations };
|
|
5678
|
+
|
|
5679
|
+
export {
|
|
5680
|
+
TailscaleSubnetRouters as TailscaleSubnetRouters,
|
|
5681
|
+
type TailscaleSubnetRouter as TailscaleSubnetRouter,
|
|
5682
|
+
type TailscaleSubnetRouterCreateResponse as TailscaleSubnetRouterCreateResponse,
|
|
5683
|
+
type TailscaleSubnetRouterRetrieveResponse as TailscaleSubnetRouterRetrieveResponse,
|
|
5684
|
+
type TailscaleSubnetRouterUpdateResponse as TailscaleSubnetRouterUpdateResponse,
|
|
5685
|
+
type TailscaleSubnetRouterDeleteResponse as TailscaleSubnetRouterDeleteResponse,
|
|
5686
|
+
type TailscaleSubnetRoutersDefaultFlatPagination as TailscaleSubnetRoutersDefaultFlatPagination,
|
|
5687
|
+
type TailscaleSubnetRouterListParams as TailscaleSubnetRouterListParams,
|
|
5688
|
+
type TailscaleSubnetRouterCreateParams as TailscaleSubnetRouterCreateParams,
|
|
5689
|
+
type TailscaleSubnetRouterUpdateParams as TailscaleSubnetRouterUpdateParams,
|
|
5690
|
+
};
|
|
5691
|
+
|
|
5634
5692
|
export type APIError = API.APIError;
|
|
5635
5693
|
export type AvailablePhoneNumbersMetadata = API.AvailablePhoneNumbersMetadata;
|
|
5636
5694
|
export type AzureVoiceSettings = API.AzureVoiceSettings;
|
|
@@ -44,6 +44,18 @@ export class Addresses extends APIResource {
|
|
|
44
44
|
* services that require a physical address such as emergency calling and
|
|
45
45
|
* regulatory compliance.
|
|
46
46
|
*
|
|
47
|
+
* By default, the new record is validated for emergency use at creation time. If
|
|
48
|
+
* the address fails validation, no record is created and the request is rejected
|
|
49
|
+
* with a 422 response; the `errors` array includes a suggested value for each
|
|
50
|
+
* offending field when one is available.
|
|
51
|
+
*
|
|
52
|
+
* Set `validate_address` to `false` to skip validation at creation, for example
|
|
53
|
+
* when the address was already validated with the Validate an address action. The
|
|
54
|
+
* record is then created without emergency validation: if it is not valid it will
|
|
55
|
+
* not be able to be used for emergency services (such as a phone number's
|
|
56
|
+
* emergency address), and because address records cannot be updated, a new record
|
|
57
|
+
* has to be created to correct it.
|
|
58
|
+
*
|
|
47
59
|
* @example
|
|
48
60
|
* ```ts
|
|
49
61
|
* const address = await client.addresses.create({
|
|
@@ -193,7 +205,11 @@ export interface Address {
|
|
|
193
205
|
* have used the `/addresses/actions/validate` endpoint to validate the address
|
|
194
206
|
* separately prior to creation. If an address is not validated for emergency use
|
|
195
207
|
* upon creation and it is not valid, it will not be able to be used for emergency
|
|
196
|
-
* services.
|
|
208
|
+
* services. In an address record, this flag indicates whether emergency validation
|
|
209
|
+
* was performed at creation: `true` means the record passed emergency validation
|
|
210
|
+
* before it was created; `false` means validation was skipped during this creation
|
|
211
|
+
* request, and the address may have been validated separately. This flag is not a
|
|
212
|
+
* current validity status; emergency use still requires a valid address.
|
|
197
213
|
*/
|
|
198
214
|
validate_address?: boolean;
|
|
199
215
|
}
|
|
@@ -383,7 +399,11 @@ export interface AddressCreateParams {
|
|
|
383
399
|
* have used the `/addresses/actions/validate` endpoint to validate the address
|
|
384
400
|
* separately prior to creation. If an address is not validated for emergency use
|
|
385
401
|
* upon creation and it is not valid, it will not be able to be used for emergency
|
|
386
|
-
* services.
|
|
402
|
+
* services. In an address record, this flag indicates whether emergency validation
|
|
403
|
+
* was performed at creation: `true` means the record passed emergency validation
|
|
404
|
+
* before it was created; `false` means validation was skipped during this creation
|
|
405
|
+
* request, and the address may have been validated separately. This flag is not a
|
|
406
|
+
* current validity status; emergency use still requires a valid address.
|
|
387
407
|
*/
|
|
388
408
|
validate_address?: boolean;
|
|
389
409
|
}
|
package/src/resources/ai/ai.ts
CHANGED
|
@@ -54,6 +54,7 @@ import {
|
|
|
54
54
|
ToolUpdateParams,
|
|
55
55
|
Tools,
|
|
56
56
|
UpdateDynamicVariablesToolParams,
|
|
57
|
+
VisionToolParams,
|
|
57
58
|
} from './tools';
|
|
58
59
|
import * as AnthropicAPI from './anthropic/anthropic';
|
|
59
60
|
import { Anthropic } from './anthropic/anthropic';
|
|
@@ -860,6 +861,7 @@ export declare namespace AI {
|
|
|
860
861
|
type PayToolParams as PayToolParams,
|
|
861
862
|
type SharedToolResponse as SharedToolResponse,
|
|
862
863
|
type UpdateDynamicVariablesToolParams as UpdateDynamicVariablesToolParams,
|
|
864
|
+
type VisionToolParams as VisionToolParams,
|
|
863
865
|
type SharedToolResponsesDefaultFlatPagination as SharedToolResponsesDefaultFlatPagination,
|
|
864
866
|
type ToolListParams as ToolListParams,
|
|
865
867
|
type ToolCreateParams as ToolCreateParams,
|
|
@@ -210,7 +210,10 @@ export class Assistants extends APIResource {
|
|
|
210
210
|
/**
|
|
211
211
|
* Updates the specified AI assistant's attributes and returns the updated
|
|
212
212
|
* assistant. The request can also control how the change is promoted across
|
|
213
|
-
* assistant versions.
|
|
213
|
+
* assistant versions. Every update saves a new version, and an assistant keeps at
|
|
214
|
+
* most 10 versions: once it has more, the oldest versions are permanently deleted,
|
|
215
|
+
* except the main version and any version referenced by a traffic distribution
|
|
216
|
+
* rule.
|
|
214
217
|
*
|
|
215
218
|
* @example
|
|
216
219
|
* ```ts
|
|
@@ -648,6 +651,7 @@ export type AssistantTool =
|
|
|
648
651
|
| AssistantTool.SendDtmf
|
|
649
652
|
| AssistantTool.SendMessage
|
|
650
653
|
| AssistantTool.SkipTurn
|
|
654
|
+
| AssistantTool.Vision
|
|
651
655
|
| AssistantTool.Pay
|
|
652
656
|
| AssistantTool.UpdateDynamicVariables;
|
|
653
657
|
|
|
@@ -830,6 +834,14 @@ export namespace AssistantTool {
|
|
|
830
834
|
*/
|
|
831
835
|
targets: Array<Transfer.TargetsList> | string;
|
|
832
836
|
|
|
837
|
+
/**
|
|
838
|
+
* Plays a short beep once the transfer completes and the calls are bridged, so the
|
|
839
|
+
* transfer destination knows the caller is now on the line. The warm transfer
|
|
840
|
+
* message plays before the bridge; this marks the moment the caller actually
|
|
841
|
+
* joins. Works with and without `warm_transfer_acceptance`.
|
|
842
|
+
*/
|
|
843
|
+
bridge_beep?: Transfer.BridgeBeep;
|
|
844
|
+
|
|
833
845
|
/**
|
|
834
846
|
* Custom headers to be added to the SIP INVITE for the transfer command.
|
|
835
847
|
*/
|
|
@@ -932,6 +944,25 @@ export namespace AssistantTool {
|
|
|
932
944
|
sip_auth_username?: string;
|
|
933
945
|
}
|
|
934
946
|
|
|
947
|
+
/**
|
|
948
|
+
* Plays a short beep once the transfer completes and the calls are bridged, so the
|
|
949
|
+
* transfer destination knows the caller is now on the line. The warm transfer
|
|
950
|
+
* message plays before the bridge; this marks the moment the caller actually
|
|
951
|
+
* joins. Works with and without `warm_transfer_acceptance`.
|
|
952
|
+
*/
|
|
953
|
+
export interface BridgeBeep {
|
|
954
|
+
/**
|
|
955
|
+
* Whether to play the beep when the calls are bridged.
|
|
956
|
+
*/
|
|
957
|
+
enabled?: boolean;
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* Who hears the beep. `self` plays it to the transfer destination only; `both`
|
|
961
|
+
* plays it to the destination and the original caller.
|
|
962
|
+
*/
|
|
963
|
+
target_legs?: 'self' | 'both';
|
|
964
|
+
}
|
|
965
|
+
|
|
935
966
|
export interface CustomHeader {
|
|
936
967
|
name?: string;
|
|
937
968
|
|
|
@@ -1110,6 +1141,18 @@ export namespace AssistantTool {
|
|
|
1110
1141
|
* accept on every consult that does run.
|
|
1111
1142
|
*/
|
|
1112
1143
|
require_acceptance?: boolean;
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* How long, in seconds, the destination has to accept the transfer, counted from
|
|
1147
|
+
* when the private consult starts (right after the destination answers, or after
|
|
1148
|
+
* `warm_message_delay_ms`). The caller keeps hearing ringback the whole time. If
|
|
1149
|
+
* no acceptance arrives in time, the destination is hung up and the assistant
|
|
1150
|
+
* returns to the caller (the transfer fails as a timeout). Raise it for
|
|
1151
|
+
* destinations that answer before a human is on the line, such as a call-center
|
|
1152
|
+
* queue/ACD or an IVR playing hold audio; keep it as short as practical, since the
|
|
1153
|
+
* caller waits on ringback until it expires.
|
|
1154
|
+
*/
|
|
1155
|
+
timeout_secs?: number;
|
|
1113
1156
|
}
|
|
1114
1157
|
}
|
|
1115
1158
|
}
|
|
@@ -1383,6 +1426,30 @@ export namespace AssistantTool {
|
|
|
1383
1426
|
}
|
|
1384
1427
|
}
|
|
1385
1428
|
|
|
1429
|
+
/**
|
|
1430
|
+
* (BETA) Lets the assistant look at recent image frames the client sent into the
|
|
1431
|
+
* conversation (for example webcam or screen-share frames). Frames are sent with
|
|
1432
|
+
* `conversation.item.create` and `item.buffer: true`; they never trigger a
|
|
1433
|
+
* response on their own. The assistant decides when to look and which frames it
|
|
1434
|
+
* needs. Requires a model that supports image input.
|
|
1435
|
+
*/
|
|
1436
|
+
export interface Vision {
|
|
1437
|
+
type: 'vision';
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* Whether this tool comes from the shared Tools Library. Responses merge shared
|
|
1441
|
+
* tools into `tools` with `shared: true`; inline tools carry `shared: false`.
|
|
1442
|
+
* Read-only: set by the server, not accepted in requests. When updating an
|
|
1443
|
+
* assistant, omit `shared: true` tools from the request `tools` array and manage
|
|
1444
|
+
* them through `tool_ids` instead — re-sending their definitions creates an inline
|
|
1445
|
+
* duplicate (rejected with error code 10015 when the type allows only one instance
|
|
1446
|
+
* per assistant).
|
|
1447
|
+
*/
|
|
1448
|
+
shared?: boolean;
|
|
1449
|
+
|
|
1450
|
+
vision?: ToolsAPI.VisionToolParams;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1386
1453
|
/**
|
|
1387
1454
|
* (BETA) The pay tool allows the assistant to collect card payments from the
|
|
1388
1455
|
* caller via DTMF during the conversation. Recording is automatically paused while
|
|
@@ -1456,9 +1523,10 @@ export interface AudioVisualizerConfig {
|
|
|
1456
1523
|
export type AuthenticationMethod = 'token' | 'certificate';
|
|
1457
1524
|
|
|
1458
1525
|
/**
|
|
1459
|
-
* **Beta:** Configuration for the Telnyx open-source avatar provider. Use
|
|
1460
|
-
*
|
|
1461
|
-
*
|
|
1526
|
+
* **Beta:** Configuration for the Telnyx open-source avatar provider. Use a stock
|
|
1527
|
+
* avatar or an organization-owned custom avatar returned by the Avatars API.
|
|
1528
|
+
* Discover the available stock catalog with GET /v2/ai/avatars and
|
|
1529
|
+
* filter[avatar_type]=stock; follow meta.total_pages to load every page.
|
|
1462
1530
|
*/
|
|
1463
1531
|
export interface AvatarSettingsRequest {
|
|
1464
1532
|
/**
|
|
@@ -1469,7 +1537,7 @@ export interface AvatarSettingsRequest {
|
|
|
1469
1537
|
/**
|
|
1470
1538
|
* The background to render.
|
|
1471
1539
|
*/
|
|
1472
|
-
background_id: 'office' | 'studio' | 'reception';
|
|
1540
|
+
background_id: 'office' | 'studio' | 'reception' | 'illustrated_workspace';
|
|
1473
1541
|
|
|
1474
1542
|
/**
|
|
1475
1543
|
* Required avatar model identifier, separate from `avatar_id`. The supported value
|
|
@@ -2237,9 +2305,10 @@ export interface InferenceEmbedding {
|
|
|
2237
2305
|
a2a_agents?: Array<AssistantA2AAgent>;
|
|
2238
2306
|
|
|
2239
2307
|
/**
|
|
2240
|
-
* **Beta:** Configuration for the Telnyx open-source avatar provider. Use
|
|
2241
|
-
*
|
|
2242
|
-
*
|
|
2308
|
+
* **Beta:** Configuration for the Telnyx open-source avatar provider. Use a stock
|
|
2309
|
+
* avatar or an organization-owned custom avatar returned by the Avatars API.
|
|
2310
|
+
* Discover the available stock catalog with GET /v2/ai/avatars and
|
|
2311
|
+
* filter[avatar_type]=stock; follow meta.total_pages to load every page.
|
|
2243
2312
|
*/
|
|
2244
2313
|
avatar_settings?: TelnyxAvatarSettings | null;
|
|
2245
2314
|
|
|
@@ -2937,6 +3006,18 @@ export interface InsightSettings {
|
|
|
2937
3006
|
* for all the assistant's conversations.
|
|
2938
3007
|
*/
|
|
2939
3008
|
insight_group_id?: string;
|
|
3009
|
+
|
|
3010
|
+
/**
|
|
3011
|
+
* The model that generates the assistant's insights when a conversation ends. It
|
|
3012
|
+
* runs every insight in the group, Telnyx-managed insights included. Must be
|
|
3013
|
+
* `zai-org/GLM-5.3-Flash` or `meta-llama/Llama-3.3-70B-Instruct`; any other model
|
|
3014
|
+
* returns `422`. When omitted on create, it defaults to `zai-org/GLM-5.3-Flash`;
|
|
3015
|
+
* when omitted on update, the current model is kept. `null` uses Telnyx's default
|
|
3016
|
+
* insight models, which assistants created before this setting have. Insights of
|
|
3017
|
+
* messaging conversations, and insights regenerated later, always use Telnyx's
|
|
3018
|
+
* default insight models.
|
|
3019
|
+
*/
|
|
3020
|
+
model?: string | null;
|
|
2940
3021
|
}
|
|
2941
3022
|
|
|
2942
3023
|
export interface MessagingSettings {
|
|
@@ -3090,6 +3171,34 @@ export interface PrivacySettings {
|
|
|
3090
3171
|
* border. Defaults to false.
|
|
3091
3172
|
*/
|
|
3092
3173
|
in_transit_data_locality?: boolean;
|
|
3174
|
+
|
|
3175
|
+
/**
|
|
3176
|
+
* Controls redaction of personally identifiable information (PII) from the
|
|
3177
|
+
* conversation history that is stored for this assistant. `disabled` (default)
|
|
3178
|
+
* stores content as-is. `redact` replaces detected PII with `<PII:type/>`
|
|
3179
|
+
* placeholders (e.g. `<PII:name/>`, `<PII:phone/>`) as the stored copies are
|
|
3180
|
+
* written: message content (user, assistant, and tool-result messages) and
|
|
3181
|
+
* tool-call arguments are redacted when written to conversation history, so the
|
|
3182
|
+
* stored transcript, its read-back via the history API, and any insights generated
|
|
3183
|
+
* from the stored messages contain the placeholders instead of the PII; response
|
|
3184
|
+
* bodies returned by webhook tools are redacted too, as stored in the webhook logs
|
|
3185
|
+
* — a per-conversation record separate from the transcript. In the Mission Control
|
|
3186
|
+
* Portal this field appears as a "PII Redaction" on/off toggle, where Enabled
|
|
3187
|
+
* corresponds to `redact`. Redaction runs when the stored copy is written, after
|
|
3188
|
+
* the LLM has generated its reply: the live conversation is not redacted, the
|
|
3189
|
+
* assistant's tools keep receiving the full (unredacted) values during the call,
|
|
3190
|
+
* and the LLM still sees full content in its context window. Call recordings
|
|
3191
|
+
* (including any recording layout configured under telephony settings) and the
|
|
3192
|
+
* payloads of messages/webhooks delivered during the call are never redacted by
|
|
3193
|
+
* this setting. The set of detected PII types (names, street addresses, phone
|
|
3194
|
+
* numbers, email addresses, government identifiers like SSN and driver's license
|
|
3195
|
+
* numbers, credit card and bank account numbers, IP addresses, dates of birth, and
|
|
3196
|
+
* other identifiers unique to a person) is fixed by Telnyx and cannot be
|
|
3197
|
+
* configured or extended per assistant. Assistants with `redact` cannot be used
|
|
3198
|
+
* for SMS/WhatsApp messaging (that combination is rejected with a 400 error);
|
|
3199
|
+
* voice and web chat are unaffected.
|
|
3200
|
+
*/
|
|
3201
|
+
pii_redaction?: 'disabled' | 'redact';
|
|
3093
3202
|
}
|
|
3094
3203
|
|
|
3095
3204
|
/**
|
|
@@ -3294,9 +3403,16 @@ export interface TelephonySettings {
|
|
|
3294
3403
|
|
|
3295
3404
|
/**
|
|
3296
3405
|
* Maximum duration in seconds for the AI assistant to participate on the call.
|
|
3297
|
-
* When this limit is reached the assistant will be stopped.
|
|
3298
|
-
*
|
|
3299
|
-
*
|
|
3406
|
+
* When this limit is reached the assistant will be stopped. Stopping the assistant
|
|
3407
|
+
* does not itself hang up the call, and what happens next depends on how the
|
|
3408
|
+
* assistant is running. On Call Control (ai_assistant_start) the call leg stays
|
|
3409
|
+
* connected and continues to be billed until it is hung up (for example with the
|
|
3410
|
+
* Hangup call command) or until the call ends for another reason. On TeXML, the
|
|
3411
|
+
* assistant's `<Connect><AIAssistant>` instruction ends; in the default TeXML
|
|
3412
|
+
* setup for assistants no instructions follow it, so the call is hung up. Your
|
|
3413
|
+
* application receives a call.conversation.ended webhook when the assistant stops.
|
|
3414
|
+
* This limit does not apply to portions of a call without an active assistant (for
|
|
3415
|
+
* instance, a call transferred to a human representative).
|
|
3300
3416
|
*/
|
|
3301
3417
|
time_limit_secs?: number;
|
|
3302
3418
|
|
|
@@ -3309,9 +3425,16 @@ export interface TelephonySettings {
|
|
|
3309
3425
|
|
|
3310
3426
|
/**
|
|
3311
3427
|
* Maximum duration in seconds of end user silence on the call. When this limit is
|
|
3312
|
-
* reached the assistant will be stopped.
|
|
3313
|
-
*
|
|
3314
|
-
*
|
|
3428
|
+
* reached the assistant will be stopped. Stopping the assistant does not itself
|
|
3429
|
+
* hang up the call, and what happens next depends on how the assistant is running.
|
|
3430
|
+
* On Call Control (ai_assistant_start) the call leg stays connected and continues
|
|
3431
|
+
* to be billed until it is hung up (for example with the Hangup call command) or
|
|
3432
|
+
* until the call ends for another reason. On TeXML, the assistant's
|
|
3433
|
+
* `<Connect><AIAssistant>` instruction ends; in the default TeXML setup for
|
|
3434
|
+
* assistants no instructions follow it, so the call is hung up. Your application
|
|
3435
|
+
* receives a call.conversation.ended webhook when the assistant stops. This limit
|
|
3436
|
+
* does not apply to portions of a call without an active assistant (for instance,
|
|
3437
|
+
* a call transferred to a human representative).
|
|
3315
3438
|
*/
|
|
3316
3439
|
user_idle_timeout_secs?: number;
|
|
3317
3440
|
|
|
@@ -3455,9 +3578,10 @@ export namespace TelephonySettings {
|
|
|
3455
3578
|
}
|
|
3456
3579
|
|
|
3457
3580
|
/**
|
|
3458
|
-
* **Beta:** Configuration for the Telnyx open-source avatar provider. Use
|
|
3459
|
-
*
|
|
3460
|
-
*
|
|
3581
|
+
* **Beta:** Configuration for the Telnyx open-source avatar provider. Use a stock
|
|
3582
|
+
* avatar or an organization-owned custom avatar returned by the Avatars API.
|
|
3583
|
+
* Discover the available stock catalog with GET /v2/ai/avatars and
|
|
3584
|
+
* filter[avatar_type]=stock; follow meta.total_pages to load every page.
|
|
3461
3585
|
*/
|
|
3462
3586
|
export interface TelnyxAvatarSettings {
|
|
3463
3587
|
/**
|
|
@@ -3468,7 +3592,7 @@ export interface TelnyxAvatarSettings {
|
|
|
3468
3592
|
/**
|
|
3469
3593
|
* The background to render.
|
|
3470
3594
|
*/
|
|
3471
|
-
background_id: 'office' | 'studio' | 'reception';
|
|
3595
|
+
background_id: 'office' | 'studio' | 'reception' | 'illustrated_workspace';
|
|
3472
3596
|
|
|
3473
3597
|
/**
|
|
3474
3598
|
* Required avatar model identifier, separate from `avatar_id`. The supported value
|
|
@@ -3657,7 +3781,12 @@ export interface TranscriptionSettings {
|
|
|
3657
3781
|
* `nl`, `en`, `fr`, `fy`, `de`, `it`, `pl`, `pt`, `es`, and `sv` to fix the
|
|
3658
3782
|
* transcription language. For `cohere/ar-stt`, supported values are `ar` and `en`;
|
|
3659
3783
|
* unlike other models, this model does not auto-detect and defaults to `ar` when
|
|
3660
|
-
* `language` is omitted.
|
|
3784
|
+
* `language` is omitted. For `speechmatics/linden-1`, there is no auto-detect; set
|
|
3785
|
+
* a code from Speechmatics' Realtime language list (67 language codes, including
|
|
3786
|
+
* `es-bilingual-en` for Spanish and English bilingual, and the spelling and script
|
|
3787
|
+
* variants `en-US`, `en-GB`, `en-AU`, `cmn-Hans`, and `cmn-Hant`; `en` alone uses
|
|
3788
|
+
* the default spelling); unset defaults to `en`, while an explicit `auto`,
|
|
3789
|
+
* `auto_beta`, or `multi` is rejected with a 400.
|
|
3661
3790
|
*/
|
|
3662
3791
|
language?: string;
|
|
3663
3792
|
|
|
@@ -3668,6 +3797,12 @@ export interface TranscriptionSettings {
|
|
|
3668
3797
|
* - `deepgram/flux` is optimized for turn-taking with multilingual language hints.
|
|
3669
3798
|
* - `deepgram/nova-3` is multilingual with automatic language detection.
|
|
3670
3799
|
* - `deepgram/nova-2` is Deepgram's previous-generation multilingual model.
|
|
3800
|
+
* - `speechmatics/standard` is a Speechmatics model self-hosted by Telnyx; it
|
|
3801
|
+
* supports a fixed set of language packs (including bilingual packs such as
|
|
3802
|
+
* `ar_en`) and defaults to `en`.
|
|
3803
|
+
* - `speechmatics/linden-1` (preview) is a vendor-hosted streaming model with no
|
|
3804
|
+
* auto-detect; set `language` from Speechmatics' Realtime language list
|
|
3805
|
+
* (defaults to `en`).
|
|
3671
3806
|
* - `azure/fast` is a multilingual Azure transcription model.
|
|
3672
3807
|
* - `assemblyai/universal-3-5-pro` is a multilingual streaming model with
|
|
3673
3808
|
* configurable turn detection. The legacy alias `assemblyai/universal-streaming`
|
|
@@ -3691,6 +3826,8 @@ export interface TranscriptionSettings {
|
|
|
3691
3826
|
| 'deepgram/flux'
|
|
3692
3827
|
| 'deepgram/nova-3'
|
|
3693
3828
|
| 'deepgram/nova-2'
|
|
3829
|
+
| 'speechmatics/standard'
|
|
3830
|
+
| 'speechmatics/linden-1'
|
|
3694
3831
|
| 'azure/fast'
|
|
3695
3832
|
| 'assemblyai/universal-3-5-pro'
|
|
3696
3833
|
| 'assemblyai/universal-streaming'
|
|
@@ -3860,9 +3997,9 @@ export interface TranscriptionSettingsConfig {
|
|
|
3860
3997
|
enable_endpoint_detection?: boolean;
|
|
3861
3998
|
|
|
3862
3999
|
/**
|
|
3863
|
-
*
|
|
3864
|
-
*
|
|
3865
|
-
*
|
|
4000
|
+
* @deprecated Deprecated and ignored. Accepted for backwards compatibility.
|
|
4001
|
+
* AssemblyAI turn detection is configured with min_turn_silence and
|
|
4002
|
+
* max_turn_silence.
|
|
3866
4003
|
*/
|
|
3867
4004
|
end_of_turn_confidence_threshold?: number;
|
|
3868
4005
|
|
|
@@ -3885,10 +4022,13 @@ export interface TranscriptionSettingsConfig {
|
|
|
3885
4022
|
interim_results?: boolean;
|
|
3886
4023
|
|
|
3887
4024
|
/**
|
|
3888
|
-
*
|
|
3889
|
-
*
|
|
3890
|
-
* for domain-specific terminology, proper nouns, or
|
|
3891
|
-
*
|
|
4025
|
+
* A comma-separated list of key terms to boost for recognition during
|
|
4026
|
+
* transcription, used by Deepgram, Reson8, Speechmatics Linden 1 and AssemblyAI
|
|
4027
|
+
* models. Helps improve accuracy for domain-specific terminology, proper nouns, or
|
|
4028
|
+
* uncommon words. At most 1000 characters in total. For
|
|
4029
|
+
* assemblyai/universal-3-5-pro (and its legacy alias
|
|
4030
|
+
* assemblyai/universal-streaming), also at most 100 terms of up to 50 characters
|
|
4031
|
+
* each. This field may be templated with
|
|
3892
4032
|
* [dynamic variables](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables)
|
|
3893
4033
|
* using mustache syntax (e.g. `Telnyx,{{customer_name}},VoIP`). Variables are
|
|
3894
4034
|
* resolved at call time before the value is sent to the speech-to-text engine.
|
|
@@ -3925,6 +4065,24 @@ export interface TranscriptionSettingsConfig {
|
|
|
3925
4065
|
|
|
3926
4066
|
numerals?: boolean;
|
|
3927
4067
|
|
|
4068
|
+
/**
|
|
4069
|
+
* Available only for assemblyai/universal-3-5-pro (and its legacy alias
|
|
4070
|
+
* assemblyai/universal-streaming). Context about the conversation (domain, names,
|
|
4071
|
+
* terms) to improve transcription; describe the content, do not give instructions.
|
|
4072
|
+
* Leave empty unless needed. At most 1750 characters.
|
|
4073
|
+
*/
|
|
4074
|
+
prompt?: string;
|
|
4075
|
+
|
|
4076
|
+
/**
|
|
4077
|
+
* Available only for speechmatics/linden-1. When true, filler words such as "um"
|
|
4078
|
+
* and "uh" are removed from the transcript. Disfluency removal is supported only
|
|
4079
|
+
* for `ar`, `cmn`, `da`, `de`, `el`, `en`, `es`, `fr`, `he`, `hi`, `hu`, `it`,
|
|
4080
|
+
* `ja`, `nl`, `pl`, `pt`, and `ru`, determined by the base language (so `en-US`,
|
|
4081
|
+
* `en-GB`, `en-AU`, `cmn-Hans`, and `cmn-Hant` are supported); for other
|
|
4082
|
+
* languages, filler words remain in the transcript.
|
|
4083
|
+
*/
|
|
4084
|
+
remove_disfluencies?: boolean;
|
|
4085
|
+
|
|
3928
4086
|
smart_format?: boolean;
|
|
3929
4087
|
}
|
|
3930
4088
|
|
|
@@ -4435,8 +4593,9 @@ export interface AssistantCreateParams {
|
|
|
4435
4593
|
|
|
4436
4594
|
/**
|
|
4437
4595
|
* Body param: **Beta:** Configuration for the Telnyx open-source avatar provider.
|
|
4438
|
-
* Use
|
|
4439
|
-
*
|
|
4596
|
+
* Use a stock avatar or an organization-owned custom avatar returned by the
|
|
4597
|
+
* Avatars API. Discover the available stock catalog with GET /v2/ai/avatars and
|
|
4598
|
+
* filter[avatar_type]=stock; follow meta.total_pages to load every page.
|
|
4440
4599
|
*/
|
|
4441
4600
|
avatar_settings?: AvatarSettingsRequest | null;
|
|
4442
4601
|
|
|
@@ -4727,9 +4886,10 @@ export interface AssistantUpdateParams {
|
|
|
4727
4886
|
a2a_agents?: Array<AssistantA2AAgent>;
|
|
4728
4887
|
|
|
4729
4888
|
/**
|
|
4730
|
-
* **Beta:** Configuration for the Telnyx open-source avatar provider. Use
|
|
4731
|
-
*
|
|
4732
|
-
*
|
|
4889
|
+
* **Beta:** Configuration for the Telnyx open-source avatar provider. Use a stock
|
|
4890
|
+
* avatar or an organization-owned custom avatar returned by the Avatars API.
|
|
4891
|
+
* Discover the available stock catalog with GET /v2/ai/avatars and
|
|
4892
|
+
* filter[avatar_type]=stock; follow meta.total_pages to load every page.
|
|
4733
4893
|
*/
|
|
4734
4894
|
avatar_settings?: AvatarSettingsRequest | null;
|
|
4735
4895
|
|
|
@@ -13,7 +13,10 @@ import { path } from '../../../internal/utils/path';
|
|
|
13
13
|
export class Versions extends APIResource {
|
|
14
14
|
/**
|
|
15
15
|
* Retrieves all versions of a specific assistant with complete configuration and
|
|
16
|
-
* metadata
|
|
16
|
+
* metadata. An assistant keeps at most 10 versions, including the main version.
|
|
17
|
+
* When an update takes it past that limit, the oldest versions are permanently
|
|
18
|
+
* deleted. The main version and any version referenced by a traffic distribution
|
|
19
|
+
* rule are never deleted this way.
|
|
17
20
|
*
|
|
18
21
|
* @example
|
|
19
22
|
* ```ts
|
|
@@ -131,9 +134,10 @@ export interface UpdateAssistant {
|
|
|
131
134
|
a2a_agents?: Array<AssistantsAPI.AssistantA2AAgent>;
|
|
132
135
|
|
|
133
136
|
/**
|
|
134
|
-
* **Beta:** Configuration for the Telnyx open-source avatar provider. Use
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
+
* **Beta:** Configuration for the Telnyx open-source avatar provider. Use a stock
|
|
138
|
+
* avatar or an organization-owned custom avatar returned by the Avatars API.
|
|
139
|
+
* Discover the available stock catalog with GET /v2/ai/avatars and
|
|
140
|
+
* filter[avatar_type]=stock; follow meta.total_pages to load every page.
|
|
137
141
|
*/
|
|
138
142
|
avatar_settings?: AssistantsAPI.AvatarSettingsRequest | null;
|
|
139
143
|
|
|
@@ -366,8 +370,9 @@ export interface VersionUpdateParams {
|
|
|
366
370
|
|
|
367
371
|
/**
|
|
368
372
|
* Body param: **Beta:** Configuration for the Telnyx open-source avatar provider.
|
|
369
|
-
* Use
|
|
370
|
-
*
|
|
373
|
+
* Use a stock avatar or an organization-owned custom avatar returned by the
|
|
374
|
+
* Avatars API. Discover the available stock catalog with GET /v2/ai/avatars and
|
|
375
|
+
* filter[avatar_type]=stock; follow meta.total_pages to load every page.
|
|
371
376
|
*/
|
|
372
377
|
avatar_settings?: AssistantsAPI.AvatarSettingsRequest | null;
|
|
373
378
|
|