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
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Rcs = void 0;
|
|
5
5
|
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const headers_1 = require("../../internal/headers.js");
|
|
6
7
|
const path_1 = require("../../internal/utils/path.js");
|
|
7
8
|
/**
|
|
8
9
|
* Send RCS messages
|
|
@@ -36,8 +37,16 @@ class Rcs extends resource_1.APIResource {
|
|
|
36
37
|
* });
|
|
37
38
|
* ```
|
|
38
39
|
*/
|
|
39
|
-
send(
|
|
40
|
-
|
|
40
|
+
send(params, options) {
|
|
41
|
+
const { 'Idempotency-Key': idempotencyKey, ...body } = params;
|
|
42
|
+
return this._client.post('/messages/rcs', {
|
|
43
|
+
body,
|
|
44
|
+
...options,
|
|
45
|
+
headers: (0, headers_1.buildHeaders)([
|
|
46
|
+
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
47
|
+
options?.headers,
|
|
48
|
+
]),
|
|
49
|
+
});
|
|
41
50
|
}
|
|
42
51
|
}
|
|
43
52
|
exports.Rcs = Rcs;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rcs.js","sourceRoot":"","sources":["../../src/resources/messages/rcs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"rcs.js","sourceRoot":"","sources":["../../src/resources/messages/rcs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,GAAI,SAAQ,sBAAW;IAClC;;;;;;;;;;OAUG;IACH,gBAAgB,CACd,OAAe,EACf,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,2BAA2B,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,CAAC,MAAoB,EAAE,OAAwB;QACjD,MAAM,EAAE,iBAAiB,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE;YACxC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACnF,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AA7CD,kBA6CC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../../internal/headers.mjs";
|
|
3
4
|
import { path } from "../../internal/utils/path.mjs";
|
|
4
5
|
/**
|
|
5
6
|
* Send RCS messages
|
|
@@ -33,8 +34,16 @@ export class Rcs extends APIResource {
|
|
|
33
34
|
* });
|
|
34
35
|
* ```
|
|
35
36
|
*/
|
|
36
|
-
send(
|
|
37
|
-
|
|
37
|
+
send(params, options) {
|
|
38
|
+
const { 'Idempotency-Key': idempotencyKey, ...body } = params;
|
|
39
|
+
return this._client.post('/messages/rcs', {
|
|
40
|
+
body,
|
|
41
|
+
...options,
|
|
42
|
+
headers: buildHeaders([
|
|
43
|
+
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
44
|
+
options?.headers,
|
|
45
|
+
]),
|
|
46
|
+
});
|
|
38
47
|
}
|
|
39
48
|
}
|
|
40
49
|
//# sourceMappingURL=rcs.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rcs.mjs","sourceRoot":"","sources":["../../src/resources/messages/rcs.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;
|
|
1
|
+
{"version":3,"file":"rcs.mjs","sourceRoot":"","sources":["../../src/resources/messages/rcs.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;OAUG;IACH,gBAAgB,CACd,OAAe,EACf,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,2BAA2B,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,CAAC,MAAoB,EAAE,OAAwB;QACjD,MAAM,EAAE,iBAAiB,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE;YACxC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACnF,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -9,7 +9,7 @@ export declare class NetworkCoverage extends APIResource {
|
|
|
9
9
|
list(query?: NetworkCoverageListParams | null | undefined, options?: RequestOptions): PagePromise<NetworkCoverageListResponsesDefaultFlatPagination, NetworkCoverageListResponse>;
|
|
10
10
|
}
|
|
11
11
|
export type NetworkCoverageListResponsesDefaultFlatPagination = DefaultFlatPagination<NetworkCoverageListResponse>;
|
|
12
|
-
export type AvailableService = 'cloud_vpn' | 'private_wireless_gateway' | 'virtual_cross_connect';
|
|
12
|
+
export type AvailableService = 'cloud_vpn' | 'private_wireless_gateway' | 'tailscale_subnet_router' | 'virtual_cross_connect';
|
|
13
13
|
export interface NetappsLocation17904fcfbc {
|
|
14
14
|
/**
|
|
15
15
|
* Location code.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network-coverage.d.mts","sourceRoot":"","sources":["../src/resources/network-coverage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,+BAA2B;AAC1G,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,iDAAiD,EAAE,2BAA2B,CAAC;CAM/F;AAED,MAAM,MAAM,iDAAiD,GAC3D,qBAAqB,CAAC,2BAA2B,CAAC,CAAC;AAErD,MAAM,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"network-coverage.d.mts","sourceRoot":"","sources":["../src/resources/network-coverage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,+BAA2B;AAC1G,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D,qBAAa,eAAgB,SAAQ,WAAW;IAC9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G;IACH,UAAiB,OAAO;QACtB;;WAEG;QACH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC,gBAAgB,GAAG,OAAO,CAAC,QAAQ,CAAC;KAC7E;IAED,UAAiB,OAAO,CAAC;QACvB;;WAEG;QACH,UAAiB,QAAQ;YACvB;;eAEG;YACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,gBAAgB,CAAC;SAChD;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,iDAAiD,IAAI,iDAAiD,EAC3G,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -9,7 +9,7 @@ export declare class NetworkCoverage extends APIResource {
|
|
|
9
9
|
list(query?: NetworkCoverageListParams | null | undefined, options?: RequestOptions): PagePromise<NetworkCoverageListResponsesDefaultFlatPagination, NetworkCoverageListResponse>;
|
|
10
10
|
}
|
|
11
11
|
export type NetworkCoverageListResponsesDefaultFlatPagination = DefaultFlatPagination<NetworkCoverageListResponse>;
|
|
12
|
-
export type AvailableService = 'cloud_vpn' | 'private_wireless_gateway' | 'virtual_cross_connect';
|
|
12
|
+
export type AvailableService = 'cloud_vpn' | 'private_wireless_gateway' | 'tailscale_subnet_router' | 'virtual_cross_connect';
|
|
13
13
|
export interface NetappsLocation17904fcfbc {
|
|
14
14
|
/**
|
|
15
15
|
* Location code.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network-coverage.d.ts","sourceRoot":"","sources":["../src/resources/network-coverage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,kBAAkB,8BAA2B;AACzD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,8BAA2B;AAC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berLookupRetrieveResponse {
|
|
17
17
|
interface Data {
|
|
18
|
+
/**
|
|
19
|
+
* Identity information for the phone number's owner, including name and postal
|
|
20
|
+
* address. Populated when `type=caller-identity` is requested.
|
|
21
|
+
*/
|
|
22
|
+
caller_identity?: Data.CallerIdentity;
|
|
18
23
|
caller_name?: Data.CallerName;
|
|
19
24
|
carrier?: Data.Carrier;
|
|
20
25
|
/**
|
|
21
26
|
* Region code that matches the specific country calling code
|
|
22
27
|
*/
|
|
23
28
|
country_code?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Enhanced caller name for the phone number's owner. Populated when
|
|
31
|
+
* `type=enhanced-caller-name` is requested.
|
|
32
|
+
*/
|
|
33
|
+
enhanced_caller_name?: Data.EnhancedCallerName;
|
|
24
34
|
/**
|
|
25
35
|
* Unused
|
|
26
36
|
*/
|
|
@@ -30,6 +40,11 @@ export declare namespace NumberLookupRetrieveResponse {
|
|
|
30
40
|
* (NDC), with a 0 prefix, if an NDC is found
|
|
31
41
|
*/
|
|
32
42
|
national_format?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Network number ID (NNID) override for the phone number, when one applies
|
|
45
|
+
* (available only to accounts enabled for NNID); otherwise null.
|
|
46
|
+
*/
|
|
47
|
+
nnid_override?: Data.NnidOverride | null;
|
|
33
48
|
/**
|
|
34
49
|
* E164-formatted phone number
|
|
35
50
|
*/
|
|
@@ -39,8 +54,74 @@ export declare namespace NumberLookupRetrieveResponse {
|
|
|
39
54
|
* Identifies the type of record
|
|
40
55
|
*/
|
|
41
56
|
record_type?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Indicates whether the phone number is valid.
|
|
59
|
+
*/
|
|
60
|
+
valid_number?: boolean;
|
|
42
61
|
}
|
|
43
62
|
namespace Data {
|
|
63
|
+
/**
|
|
64
|
+
* Identity information for the phone number's owner, including name and postal
|
|
65
|
+
* address. Populated when `type=caller-identity` is requested.
|
|
66
|
+
*/
|
|
67
|
+
interface CallerIdentity {
|
|
68
|
+
/**
|
|
69
|
+
* Postal address associated with the phone number's owner.
|
|
70
|
+
*/
|
|
71
|
+
address?: CallerIdentity.Address;
|
|
72
|
+
/**
|
|
73
|
+
* How strongly the phone number is linked to the returned name, on a scale of 50
|
|
74
|
+
* to 90 (higher means more supporting signals). Reflects signal strength, not
|
|
75
|
+
* probability: 70 indicates stronger, more consistent evidence than 60, not a 70%
|
|
76
|
+
* chance of being correct. As a guide, 70+ is high confidence, 60 moderate, and 50
|
|
77
|
+
* limited. Below 50 no name is returned, so scores under 50 are never present.
|
|
78
|
+
*/
|
|
79
|
+
confidence_score?: number | null;
|
|
80
|
+
/**
|
|
81
|
+
* A lookup-specific error code if the identity could not be resolved; otherwise
|
|
82
|
+
* null.
|
|
83
|
+
*/
|
|
84
|
+
error_code?: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* The name associated with the phone number.
|
|
87
|
+
*/
|
|
88
|
+
name?: string | null;
|
|
89
|
+
}
|
|
90
|
+
namespace CallerIdentity {
|
|
91
|
+
/**
|
|
92
|
+
* Postal address associated with the phone number's owner.
|
|
93
|
+
*/
|
|
94
|
+
interface Address {
|
|
95
|
+
/**
|
|
96
|
+
* City.
|
|
97
|
+
*/
|
|
98
|
+
city?: string | null;
|
|
99
|
+
/**
|
|
100
|
+
* Two-letter ISO 3166-1 country code.
|
|
101
|
+
*/
|
|
102
|
+
country_code?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* Postal or ZIP code.
|
|
105
|
+
*/
|
|
106
|
+
postal_code?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
* Two-letter state or province code.
|
|
109
|
+
*/
|
|
110
|
+
state_code?: string | null;
|
|
111
|
+
/**
|
|
112
|
+
* First line of the street address.
|
|
113
|
+
*/
|
|
114
|
+
street_line_1?: string | null;
|
|
115
|
+
/**
|
|
116
|
+
* Second line of the street address, if any.
|
|
117
|
+
*/
|
|
118
|
+
street_line_2?: string | null;
|
|
119
|
+
/**
|
|
120
|
+
* ZIP+4 extension, if available.
|
|
121
|
+
*/
|
|
122
|
+
zip4?: string | null;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
44
125
|
interface CallerName {
|
|
45
126
|
/**
|
|
46
127
|
* The name of the requested phone number's owner as per the CNAM database
|
|
@@ -82,6 +163,39 @@ export declare namespace NumberLookupRetrieveResponse {
|
|
|
82
163
|
*/
|
|
83
164
|
type?: 'fixed line' | 'mobile' | 'voip' | 'fixed line or mobile' | 'toll free' | 'premium rate' | 'shared cost' | 'personal number' | 'pager' | 'uan' | 'voicemail' | 'unknown';
|
|
84
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* Enhanced caller name for the phone number's owner. Populated when
|
|
168
|
+
* `type=enhanced-caller-name` is requested.
|
|
169
|
+
*/
|
|
170
|
+
interface EnhancedCallerName {
|
|
171
|
+
/**
|
|
172
|
+
* The name associated with the phone number.
|
|
173
|
+
*/
|
|
174
|
+
caller_name?: string | null;
|
|
175
|
+
/**
|
|
176
|
+
* A lookup-specific error code if the enhanced caller name could not be resolved;
|
|
177
|
+
* otherwise null.
|
|
178
|
+
*/
|
|
179
|
+
error_code?: string | null;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Network number ID (NNID) override for the phone number, when one applies
|
|
183
|
+
* (available only to accounts enabled for NNID); otherwise null.
|
|
184
|
+
*/
|
|
185
|
+
interface NnidOverride {
|
|
186
|
+
/**
|
|
187
|
+
* Name associated with the NNID.
|
|
188
|
+
*/
|
|
189
|
+
name?: string;
|
|
190
|
+
/**
|
|
191
|
+
* The network number ID.
|
|
192
|
+
*/
|
|
193
|
+
nnid?: string;
|
|
194
|
+
/**
|
|
195
|
+
* The NNID type.
|
|
196
|
+
*/
|
|
197
|
+
type?: string;
|
|
198
|
+
}
|
|
85
199
|
interface Portability {
|
|
86
200
|
/**
|
|
87
201
|
* Alternative SPID (Service Provider ID). Often used when a carrier is using a
|
|
@@ -102,9 +216,10 @@ export declare namespace NumberLookupRetrieveResponse {
|
|
|
102
216
|
*/
|
|
103
217
|
city?: string;
|
|
104
218
|
/**
|
|
105
|
-
*
|
|
219
|
+
* The line type of the phone number. Uses the same value set as carrier.type; see
|
|
220
|
+
* the API reference for the full list.
|
|
106
221
|
*/
|
|
107
|
-
line_type?:
|
|
222
|
+
line_type?: 'fixed line' | 'mobile' | 'voip' | 'fixed line or mobile' | 'toll free' | 'premium rate' | 'shared cost' | 'personal number' | 'pager' | 'uan' | 'voicemail' | 'unknown';
|
|
108
223
|
/**
|
|
109
224
|
* Local Routing Number, if assigned to the requested phone number
|
|
110
225
|
*/
|
|
@@ -140,9 +255,12 @@ export declare namespace NumberLookupRetrieveResponse {
|
|
|
140
255
|
}
|
|
141
256
|
export interface NumberLookupRetrieveParams {
|
|
142
257
|
/**
|
|
143
|
-
* Specifies the type of number lookup to be performed
|
|
258
|
+
* Specifies the type of number lookup to be performed. May be supplied more than
|
|
259
|
+
* once to request several data sources in a single call (for example,
|
|
260
|
+
* `?type=carrier&type=enhanced-caller-name`). Each requested type populates the
|
|
261
|
+
* corresponding object in the response.
|
|
144
262
|
*/
|
|
145
|
-
type?: 'carrier' | 'caller-name';
|
|
263
|
+
type?: 'carrier' | 'caller-name' | 'caller-identity' | 'enhanced-caller-name';
|
|
146
264
|
}
|
|
147
265
|
export declare namespace NumberLookup {
|
|
148
266
|
export { type NumberLookupRetrieveResponse as NumberLookupRetrieveResponse, type NumberLookupRetrieveParams as NumberLookupRetrieveParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-lookup.d.mts","sourceRoot":"","sources":["../src/resources/number-lookup.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,QAAQ,CACN,WAAW,EAAE,MAAM,EACnB,KAAK,GAAE,0BAA0B,GAAG,IAA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H,oBAAoB,CAAC,EAAE,MAAM,CAAC;YAE9B;;eAEG;YACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;YAE9B;;;eAGG;YACH,IAAI,CAAC,EAAE,MAAM,CAAC;YAEd;;;eAGG;YACH,SAAS,CAAC,EACN,YAAY,GACZ,QAAQ,GACR,MAAM,GACN,sBAAsB,GACtB,WAAW,GACX,cAAc,GACd,aAAa,GACb,iBAAiB,GACjB,OAAO,GACP,KAAK,GACL,WAAW,GACX,SAAS,CAAC;YAEd;;eAEG;YACH,GAAG,CAAC,EAAE,MAAM,CAAC;YAEb;;;eAGG;YACH,GAAG,CAAC,EAAE,MAAM,CAAC;YAEb;;eAEG;YACH,WAAW,CAAC,EAAE,MAAM,CAAC;YAErB;;eAEG;YACH,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,EAAE,CAAC;YAE/B;;eAEG;YACH,IAAI,CAAC,EAAE,MAAM,CAAC;YAEd;;eAEG;YACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;YAE3B;;eAEG;YACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;YAE3B,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB;KACF;CACF;AAED,MAAM,WAAW,0BAA0B;IACzC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,iBAAiB,GAAG,sBAAsB,CAAC;CAC/E;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -15,12 +15,22 @@ export interface NumberLookupRetrieveResponse {
|
|
|
15
15
|
}
|
|
16
16
|
export declare namespace NumberLookupRetrieveResponse {
|
|
17
17
|
interface Data {
|
|
18
|
+
/**
|
|
19
|
+
* Identity information for the phone number's owner, including name and postal
|
|
20
|
+
* address. Populated when `type=caller-identity` is requested.
|
|
21
|
+
*/
|
|
22
|
+
caller_identity?: Data.CallerIdentity;
|
|
18
23
|
caller_name?: Data.CallerName;
|
|
19
24
|
carrier?: Data.Carrier;
|
|
20
25
|
/**
|
|
21
26
|
* Region code that matches the specific country calling code
|
|
22
27
|
*/
|
|
23
28
|
country_code?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Enhanced caller name for the phone number's owner. Populated when
|
|
31
|
+
* `type=enhanced-caller-name` is requested.
|
|
32
|
+
*/
|
|
33
|
+
enhanced_caller_name?: Data.EnhancedCallerName;
|
|
24
34
|
/**
|
|
25
35
|
* Unused
|
|
26
36
|
*/
|
|
@@ -30,6 +40,11 @@ export declare namespace NumberLookupRetrieveResponse {
|
|
|
30
40
|
* (NDC), with a 0 prefix, if an NDC is found
|
|
31
41
|
*/
|
|
32
42
|
national_format?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Network number ID (NNID) override for the phone number, when one applies
|
|
45
|
+
* (available only to accounts enabled for NNID); otherwise null.
|
|
46
|
+
*/
|
|
47
|
+
nnid_override?: Data.NnidOverride | null;
|
|
33
48
|
/**
|
|
34
49
|
* E164-formatted phone number
|
|
35
50
|
*/
|
|
@@ -39,8 +54,74 @@ export declare namespace NumberLookupRetrieveResponse {
|
|
|
39
54
|
* Identifies the type of record
|
|
40
55
|
*/
|
|
41
56
|
record_type?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Indicates whether the phone number is valid.
|
|
59
|
+
*/
|
|
60
|
+
valid_number?: boolean;
|
|
42
61
|
}
|
|
43
62
|
namespace Data {
|
|
63
|
+
/**
|
|
64
|
+
* Identity information for the phone number's owner, including name and postal
|
|
65
|
+
* address. Populated when `type=caller-identity` is requested.
|
|
66
|
+
*/
|
|
67
|
+
interface CallerIdentity {
|
|
68
|
+
/**
|
|
69
|
+
* Postal address associated with the phone number's owner.
|
|
70
|
+
*/
|
|
71
|
+
address?: CallerIdentity.Address;
|
|
72
|
+
/**
|
|
73
|
+
* How strongly the phone number is linked to the returned name, on a scale of 50
|
|
74
|
+
* to 90 (higher means more supporting signals). Reflects signal strength, not
|
|
75
|
+
* probability: 70 indicates stronger, more consistent evidence than 60, not a 70%
|
|
76
|
+
* chance of being correct. As a guide, 70+ is high confidence, 60 moderate, and 50
|
|
77
|
+
* limited. Below 50 no name is returned, so scores under 50 are never present.
|
|
78
|
+
*/
|
|
79
|
+
confidence_score?: number | null;
|
|
80
|
+
/**
|
|
81
|
+
* A lookup-specific error code if the identity could not be resolved; otherwise
|
|
82
|
+
* null.
|
|
83
|
+
*/
|
|
84
|
+
error_code?: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* The name associated with the phone number.
|
|
87
|
+
*/
|
|
88
|
+
name?: string | null;
|
|
89
|
+
}
|
|
90
|
+
namespace CallerIdentity {
|
|
91
|
+
/**
|
|
92
|
+
* Postal address associated with the phone number's owner.
|
|
93
|
+
*/
|
|
94
|
+
interface Address {
|
|
95
|
+
/**
|
|
96
|
+
* City.
|
|
97
|
+
*/
|
|
98
|
+
city?: string | null;
|
|
99
|
+
/**
|
|
100
|
+
* Two-letter ISO 3166-1 country code.
|
|
101
|
+
*/
|
|
102
|
+
country_code?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* Postal or ZIP code.
|
|
105
|
+
*/
|
|
106
|
+
postal_code?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
* Two-letter state or province code.
|
|
109
|
+
*/
|
|
110
|
+
state_code?: string | null;
|
|
111
|
+
/**
|
|
112
|
+
* First line of the street address.
|
|
113
|
+
*/
|
|
114
|
+
street_line_1?: string | null;
|
|
115
|
+
/**
|
|
116
|
+
* Second line of the street address, if any.
|
|
117
|
+
*/
|
|
118
|
+
street_line_2?: string | null;
|
|
119
|
+
/**
|
|
120
|
+
* ZIP+4 extension, if available.
|
|
121
|
+
*/
|
|
122
|
+
zip4?: string | null;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
44
125
|
interface CallerName {
|
|
45
126
|
/**
|
|
46
127
|
* The name of the requested phone number's owner as per the CNAM database
|
|
@@ -82,6 +163,39 @@ export declare namespace NumberLookupRetrieveResponse {
|
|
|
82
163
|
*/
|
|
83
164
|
type?: 'fixed line' | 'mobile' | 'voip' | 'fixed line or mobile' | 'toll free' | 'premium rate' | 'shared cost' | 'personal number' | 'pager' | 'uan' | 'voicemail' | 'unknown';
|
|
84
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* Enhanced caller name for the phone number's owner. Populated when
|
|
168
|
+
* `type=enhanced-caller-name` is requested.
|
|
169
|
+
*/
|
|
170
|
+
interface EnhancedCallerName {
|
|
171
|
+
/**
|
|
172
|
+
* The name associated with the phone number.
|
|
173
|
+
*/
|
|
174
|
+
caller_name?: string | null;
|
|
175
|
+
/**
|
|
176
|
+
* A lookup-specific error code if the enhanced caller name could not be resolved;
|
|
177
|
+
* otherwise null.
|
|
178
|
+
*/
|
|
179
|
+
error_code?: string | null;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Network number ID (NNID) override for the phone number, when one applies
|
|
183
|
+
* (available only to accounts enabled for NNID); otherwise null.
|
|
184
|
+
*/
|
|
185
|
+
interface NnidOverride {
|
|
186
|
+
/**
|
|
187
|
+
* Name associated with the NNID.
|
|
188
|
+
*/
|
|
189
|
+
name?: string;
|
|
190
|
+
/**
|
|
191
|
+
* The network number ID.
|
|
192
|
+
*/
|
|
193
|
+
nnid?: string;
|
|
194
|
+
/**
|
|
195
|
+
* The NNID type.
|
|
196
|
+
*/
|
|
197
|
+
type?: string;
|
|
198
|
+
}
|
|
85
199
|
interface Portability {
|
|
86
200
|
/**
|
|
87
201
|
* Alternative SPID (Service Provider ID). Often used when a carrier is using a
|
|
@@ -102,9 +216,10 @@ export declare namespace NumberLookupRetrieveResponse {
|
|
|
102
216
|
*/
|
|
103
217
|
city?: string;
|
|
104
218
|
/**
|
|
105
|
-
*
|
|
219
|
+
* The line type of the phone number. Uses the same value set as carrier.type; see
|
|
220
|
+
* the API reference for the full list.
|
|
106
221
|
*/
|
|
107
|
-
line_type?:
|
|
222
|
+
line_type?: 'fixed line' | 'mobile' | 'voip' | 'fixed line or mobile' | 'toll free' | 'premium rate' | 'shared cost' | 'personal number' | 'pager' | 'uan' | 'voicemail' | 'unknown';
|
|
108
223
|
/**
|
|
109
224
|
* Local Routing Number, if assigned to the requested phone number
|
|
110
225
|
*/
|
|
@@ -140,9 +255,12 @@ export declare namespace NumberLookupRetrieveResponse {
|
|
|
140
255
|
}
|
|
141
256
|
export interface NumberLookupRetrieveParams {
|
|
142
257
|
/**
|
|
143
|
-
* Specifies the type of number lookup to be performed
|
|
258
|
+
* Specifies the type of number lookup to be performed. May be supplied more than
|
|
259
|
+
* once to request several data sources in a single call (for example,
|
|
260
|
+
* `?type=carrier&type=enhanced-caller-name`). Each requested type populates the
|
|
261
|
+
* corresponding object in the response.
|
|
144
262
|
*/
|
|
145
|
-
type?: 'carrier' | 'caller-name';
|
|
263
|
+
type?: 'carrier' | 'caller-name' | 'caller-identity' | 'enhanced-caller-name';
|
|
146
264
|
}
|
|
147
265
|
export declare namespace NumberLookup {
|
|
148
266
|
export { type NumberLookupRetrieveResponse as NumberLookupRetrieveResponse, type NumberLookupRetrieveParams as NumberLookupRetrieveParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-lookup.d.ts","sourceRoot":"","sources":["../src/resources/number-lookup.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,QAAQ,CACN,WAAW,EAAE,MAAM,EACnB,KAAK,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;CAG5C;AAED,MAAM,WAAW,4BAA4B;IAC3C,IAAI,CAAC,EAAE,4BAA4B,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;;eAGG;YACH,SAAS,CAAC,EACN,YAAY,GACZ,QAAQ,GACR,MAAM,GACN,sBAAsB,GACtB,WAAW,GACX,cAAc,GACd,aAAa,GACb,iBAAiB,GACjB,OAAO,GACP,KAAK,GACL,WAAW,GACX,SAAS,CAAC;YAEd;;eAEG;YACH,GAAG,CAAC,EAAE,MAAM,CAAC;YAEb;;;eAGG;YACH,GAAG,CAAC,EAAE,MAAM,CAAC;YAEb;;eAEG;YACH,WAAW,CAAC,EAAE,MAAM,CAAC;YAErB;;eAEG;YACH,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,EAAE,CAAC;YAE/B;;eAEG;YACH,IAAI,CAAC,EAAE,MAAM,CAAC;YAEd;;eAEG;YACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;YAE3B;;eAEG;YACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;YAE3B,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB;KACF;CACF;AAED,MAAM,WAAW,0BAA0B;IACzC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,iBAAiB,GAAG,sBAAsB,CAAC;CAC/E;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -82,6 +82,15 @@ export interface CsvDownloadCreateParams {
|
|
|
82
82
|
* filter[emergency_address_id], filter[customer_reference]
|
|
83
83
|
*/
|
|
84
84
|
filter?: CsvDownloadCreateParams.Filter;
|
|
85
|
+
/**
|
|
86
|
+
* When true, the CSV includes phone numbers from all managed accounts in addition
|
|
87
|
+
* to the requesting account's own numbers. Only applies to V2 format; ignored for
|
|
88
|
+
* V1. The export appends `user_id` and `email` columns identifying the account
|
|
89
|
+
* that owns each number. When a filter is provided, it applies to the combined set
|
|
90
|
+
* of numbers. Requires access to managed accounts; requests without that access
|
|
91
|
+
* are rejected.
|
|
92
|
+
*/
|
|
93
|
+
include_managed_accounts?: boolean;
|
|
85
94
|
}
|
|
86
95
|
export declare namespace CsvDownloadCreateParams {
|
|
87
96
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csv-downloads.d.mts","sourceRoot":"","sources":["../../src/resources/phone-numbers/csv-downloads.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,kCAA8B;AAC7G,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,iCAAiC,EAAE,WAAW,CAAC;IAO9D;;;;;;;;;;OAUG;IACH,MAAM,CACJ,MAAM,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"csv-downloads.d.mts","sourceRoot":"","sources":["../../src/resources/phone-numbers/csv-downloads.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,kCAA8B;AAC7G,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAA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M,CAAC;QAEvB;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAE5B;;;;WAIG;QACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAE9B;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,MAAM,CAAC,EACH,kBAAkB,GAClB,iBAAiB,GACjB,cAAc,GACd,QAAQ,GACR,SAAS,GACT,aAAa,GACb,gBAAgB,GAChB,YAAY,GACZ,kBAAkB,CAAC;QAEvB;;WAEG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,uBAAuB,CAAC,EAAE,MAAM,CAAC,mBAAmB,CAAC;QAErD;;WAEG;QACH,4BAA4B,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;KAC7D;IAED,UAAiB,MAAM,CAAC;QACtB;;WAEG;QACH,UAAiB,mBAAmB;YAClC;;eAEG;YACH,QAAQ,CAAC,EAAE,MAAM,CAAC;YAElB;;eAEG;YACH,SAAS,CAAC,EAAE,MAAM,CAAC;YAEnB;;eAEG;YACH,EAAE,CAAC,EAAE,MAAM,CAAC;YAEZ;;eAEG;YACH,WAAW,CAAC,EAAE,MAAM,CAAC;SACtB;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -82,6 +82,15 @@ export interface CsvDownloadCreateParams {
|
|
|
82
82
|
* filter[emergency_address_id], filter[customer_reference]
|
|
83
83
|
*/
|
|
84
84
|
filter?: CsvDownloadCreateParams.Filter;
|
|
85
|
+
/**
|
|
86
|
+
* When true, the CSV includes phone numbers from all managed accounts in addition
|
|
87
|
+
* to the requesting account's own numbers. Only applies to V2 format; ignored for
|
|
88
|
+
* V1. The export appends `user_id` and `email` columns identifying the account
|
|
89
|
+
* that owns each number. When a filter is provided, it applies to the combined set
|
|
90
|
+
* of numbers. Requires access to managed accounts; requests without that access
|
|
91
|
+
* are rejected.
|
|
92
|
+
*/
|
|
93
|
+
include_managed_accounts?: boolean;
|
|
85
94
|
}
|
|
86
95
|
export declare namespace CsvDownloadCreateParams {
|
|
87
96
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csv-downloads.d.ts","sourceRoot":"","sources":["../../src/resources/phone-numbers/csv-downloads.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,iCAA8B;AAC7G,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,iCAAiC,EAAE,WAAW,CAAC;IAO9D;;;;;;;;;;OAUG;IACH,MAAM,CACJ,MAAM,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"csv-downloads.d.ts","sourceRoot":"","sources":["../../src/resources/phone-numbers/csv-downloads.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK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AiC,IAAI,iCAAiC,EAC3E,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -36,8 +36,11 @@ class CsvDownloads extends resource_1.APIResource {
|
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
38
|
create(params = {}, options) {
|
|
39
|
-
const { csv_format, filter } = params ?? {};
|
|
40
|
-
return this._client.post('/phone_numbers/csv_downloads', {
|
|
39
|
+
const { csv_format, filter, include_managed_accounts } = params ?? {};
|
|
40
|
+
return this._client.post('/phone_numbers/csv_downloads', {
|
|
41
|
+
query: { csv_format, filter, include_managed_accounts },
|
|
42
|
+
...options,
|
|
43
|
+
});
|
|
41
44
|
}
|
|
42
45
|
/**
|
|
43
46
|
* Returns the current status and download details for the CSV export identified by
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csv-downloads.js","sourceRoot":"","sources":["../../src/resources/phone-numbers/csv-downloads.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAA6G;AAE7G,uDAAiD;AAEjD,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,8BAA8B,EAAE,CAAA,kCAAkC,CAAA,EAAE;YACjG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,SAAqD,EAAE,EACvD,OAAwB;QAExB,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"csv-downloads.js","sourceRoot":"","sources":["../../src/resources/phone-numbers/csv-downloads.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAA6G;AAE7G,uDAAiD;AAEjD,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,8BAA8B,EAAE,CAAA,kCAAkC,CAAA,EAAE;YACjG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,SAAqD,EAAE,EACvD,OAAwB;QAExB,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,wBAAwB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE;YACvD,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,wBAAwB,EAAE;YACvD,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gCAAgC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CACF;AA1DD,oCA0DC"}
|
|
@@ -33,8 +33,11 @@ export class CsvDownloads extends APIResource {
|
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
35
|
create(params = {}, options) {
|
|
36
|
-
const { csv_format, filter } = params ?? {};
|
|
37
|
-
return this._client.post('/phone_numbers/csv_downloads', {
|
|
36
|
+
const { csv_format, filter, include_managed_accounts } = params ?? {};
|
|
37
|
+
return this._client.post('/phone_numbers/csv_downloads', {
|
|
38
|
+
query: { csv_format, filter, include_managed_accounts },
|
|
39
|
+
...options,
|
|
40
|
+
});
|
|
38
41
|
}
|
|
39
42
|
/**
|
|
40
43
|
* Returns the current status and download details for the CSV export identified by
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csv-downloads.mjs","sourceRoot":"","sources":["../../src/resources/phone-numbers/csv-downloads.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,qBAAqB,EAAiD,kCAA8B;AAE7G,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,8BAA8B,EAAE,CAAA,qBAAkC,CAAA,EAAE;YACjG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,SAAqD,EAAE,EACvD,OAAwB;QAExB,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"csv-downloads.mjs","sourceRoot":"","sources":["../../src/resources/phone-numbers/csv-downloads.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,qBAAqB,EAAiD,kCAA8B;AAE7G,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,8BAA8B,EAAE,CAAA,qBAAkC,CAAA,EAAE;YACjG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,SAAqD,EAAE,EACvD,OAAwB;QAExB,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,wBAAwB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE;YACvD,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,wBAAwB,EAAE;YACvD,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gCAAgC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CACF"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { Actions, type PhoneNumberWithVoiceSettings, type ActionChangeBundleStatusResponse, type ActionEnableEmergencyResponse, type ActionVerifyOwnershipResponse, type ActionVerifyOwnershipParams, type ActionChangeBundleStatusParams, type ActionEnableEmergencyParams, type PhoneNumberWithVoiceSettingsDefaultFlatPagination, } from "./actions.mjs";
|
|
2
2
|
export { CsvDownloads, type CsvDownload, type CsvDownloadCreateResponse, type CsvDownloadRetrieveResponse, type CsvDownloadListParams, type CsvDownloadCreateParams, type CsvDownloadsDefaultFlatPagination, } from "./csv-downloads.mjs";
|
|
3
|
-
export { Jobs, type PhoneNumbersJob, type JobRetrieveResponse, type JobDeleteBatchResponse, type JobUpdateBatchResponse, type JobUpdateEmergencySettingsBatchResponse, type JobListParams, type JobDeleteBatchParams, type JobUpdateEmergencySettingsBatchParams, type JobUpdateBatchParams, type
|
|
3
|
+
export { Jobs, type NumbersPhoneNumbersJob, type PhoneNumbersJob, type JobRetrieveResponse, type JobDeleteBatchResponse, type JobUpdateBatchResponse, type JobUpdateEmergencySettingsBatchResponse, type JobListParams, type JobDeleteBatchParams, type JobUpdateEmergencySettingsBatchParams, type JobUpdateBatchParams, type NumbersPhoneNumbersJobsDefaultFlatPagination, } from "./jobs.mjs";
|
|
4
4
|
export { Messaging, type MessagingRetrieveResponse, type MessagingUpdateResponse, type MessagingListParams, type MessagingUpdateParams, } from "./messaging.mjs";
|
|
5
|
-
export { PhoneNumbers, type NumbersPhoneNumberDetailed, type PhoneNumberDetailed, type PhoneNumberRetrieveResponse, type PhoneNumberUpdateResponse, type PhoneNumberDeleteResponse, type PhoneNumberSlimListResponse, type PhoneNumberListParams, type PhoneNumberSlimListParams, type PhoneNumberUpdateParams, type NumbersPhoneNumberDetailedsDefaultFlatPagination, type PhoneNumberSlimListResponsesDefaultFlatPagination, } from "./phone-numbers.mjs";
|
|
5
|
+
export { PhoneNumbers, type NumbersError73c9788e53, type NumbersPhoneNumberDetailed, type PhoneNumberDetailed, type PhoneNumberRetrieveResponse, type PhoneNumberUpdateResponse, type PhoneNumberDeleteResponse, type PhoneNumberSlimListResponse, type PhoneNumberListParams, type PhoneNumberSlimListParams, type PhoneNumberUpdateParams, type NumbersPhoneNumberDetailedsDefaultFlatPagination, type PhoneNumberSlimListResponsesDefaultFlatPagination, } from "./phone-numbers.mjs";
|
|
6
6
|
export { Voice, type CallForwarding, type CallRecording, type CnamListing, type MediaFeatures, type UpdateVoiceSettings, type VoiceRetrieveResponse, type VoiceUpdateResponse, type VoiceListParams, type VoiceUpdateParams, } from "./voice.mjs";
|
|
7
7
|
export { Voicemail, type VoicemailPrefResponse, type VoicemailRequest, type VoicemailCreateResponse, type VoicemailRetrieveResponse, type VoicemailUpdateResponse, type VoicemailUpdateParams, type VoicemailCreateParams, } from "./voicemail.mjs";
|
|
8
8
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/phone-numbers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,2BAA2B,EAChC,KAAK,iDAAiD,GACvD,sBAAkB;AACnB,OAAO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,iCAAiC,GACvC,4BAAwB;AACzB,OAAO,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uCAAuC,EAC5C,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,qCAAqC,EAC1C,KAAK,oBAAoB,EACzB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/phone-numbers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,2BAA2B,EAChC,KAAK,iDAAiD,GACvD,sBAAkB;AACnB,OAAO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,iCAAiC,GACvC,4BAAwB;AACzB,OAAO,EACL,IAAI,EACJ,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uCAAuC,EAC5C,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,qCAAqC,EAC1C,KAAK,oBAAoB,EACzB,KAAK,4CAA4C,GAClD,mBAAe;AAChB,OAAO,EACL,SAAS,EACT,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B,wBAAoB;AACrB,OAAO,EACL,YAAY,EACZ,KAAK,sBAAsB,EAC3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