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
|
@@ -190,9 +190,10 @@ export interface SpeechToTextRetrieveTranscriptionParams {
|
|
|
190
190
|
/**
|
|
191
191
|
* Silence duration (in milliseconds) that triggers end-of-speech detection. When
|
|
192
192
|
* set, the engine uses this value to determine when a speaker has stopped talking.
|
|
193
|
-
* Supported by `xAI`, `Deepgram`, `Google`, `Speechmatics
|
|
194
|
-
*
|
|
195
|
-
*
|
|
193
|
+
* Supported by `xAI`, `Deepgram`, `Google`, `Speechmatics`
|
|
194
|
+
* (`speechmatics/standard` only; `speechmatics/linden-1` uses fixed service-side
|
|
195
|
+
* voice activity detection and ignores it), and `Soniox`. `Soniox` accepts values
|
|
196
|
+
* between 500 and 3000. Other engines may not support this parameter.
|
|
196
197
|
*/
|
|
197
198
|
endpointing?: number;
|
|
198
199
|
/**
|
|
@@ -212,13 +213,18 @@ export interface SpeechToTextRetrieveTranscriptionParams {
|
|
|
212
213
|
/**
|
|
213
214
|
* The language spoken in the audio stream. For `cohere/ar-stt`, this must be `ar`
|
|
214
215
|
* or `en` — unlike other engines, Cohere does not auto-detect the language, and
|
|
215
|
-
* rejects unsupported values including `auto`; omitting it defaults to `ar`.
|
|
216
|
+
* rejects unsupported values including `auto`; omitting it defaults to `ar`. For
|
|
217
|
+
* `speechmatics/linden-1`, omitting it defaults to `en`; `auto`, `auto_beta`,
|
|
218
|
+
* `multi`, or a language outside its supported list is rejected when the
|
|
219
|
+
* connection is established. `speechmatics/linden-1` also accepts `en-US`,
|
|
220
|
+
* `en-GB`, `en-AU`, `cmn-Hans`, and `cmn-Hant`, which select the spelling or
|
|
221
|
+
* script variant (`en` alone uses the default spelling).
|
|
216
222
|
*/
|
|
217
223
|
language?: string;
|
|
218
224
|
/**
|
|
219
225
|
* The specific model to use within the selected transcription engine.
|
|
220
226
|
*/
|
|
221
|
-
model?: 'fast' | 'deepgram/nova-2' | 'deepgram/nova-3' | 'latest_long' | 'latest_short' | 'command_and_search' | 'phone_call' | 'video' | 'default' | 'medical_conversation' | 'medical_dictation' | 'openai/whisper-tiny' | 'openai/whisper-large-v3-turbo' | 'xai/grok-stt' | 'speechmatics/standard' | 'soniox/stt-rt-v4' | 'nvidia/parakeet-v3' | 'omi-health/omi-med-stt-v1' | 'humain/realtime' | 'reson8/turns' | 'cohere/ar-stt';
|
|
227
|
+
model?: 'fast' | 'deepgram/nova-2' | 'deepgram/nova-3' | 'latest_long' | 'latest_short' | 'command_and_search' | 'phone_call' | 'video' | 'default' | 'medical_conversation' | 'medical_dictation' | 'openai/whisper-tiny' | 'openai/whisper-large-v3-turbo' | 'xai/grok-stt' | 'speechmatics/standard' | 'speechmatics/linden-1' | 'soniox/stt-rt-v4' | 'nvidia/parakeet-v3' | 'omi-health/omi-med-stt-v1' | 'humain/realtime' | 'reson8/turns' | 'cohere/ar-stt';
|
|
222
228
|
/**
|
|
223
229
|
* Enable redaction of sensitive information (e.g., PCI data, SSN) from
|
|
224
230
|
* transcription results. Supported values depend on the transcription engine.
|
|
@@ -228,6 +234,7 @@ export interface SpeechToTextRetrieveTranscriptionParams {
|
|
|
228
234
|
* Audio sample rate in Hz. Required when `input_format` is a raw encoding
|
|
229
235
|
* (`linear16`, `linear32`) — those formats carry no header metadata. Ignored for
|
|
230
236
|
* container formats (`mp3`, `wav`), which self-describe their rate.
|
|
237
|
+
* `speechmatics/linden-1` accepts only `16000`.
|
|
231
238
|
*/
|
|
232
239
|
sample_rate?: number;
|
|
233
240
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"speech-to-text.d.mts","sourceRoot":"","sources":["../../src/resources/speech-to-text/speech-to-text.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,eAAe,6BAAyB;AACpD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,KAAK,UAAU,EAAE,+BAA2B;AAErD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;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Ed;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;;;WAIG;QACH,aAAa,EAAE,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;KACxC;IAED,UAAiB,IAAI,CAAC;QACpB;;;;;WAKG;QACH,UAAiB,WAAW;YAC1B;;;eAGG;YACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;YAEzB;;;;;eAKG;YACH,IAAI,EAAE,eAAe,CAAC,cAAc,CAAC;SACtC;KACF;IAED,UAAiB,IAAI;QACnB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,WAAW,+BAA+B;IAC9C;;;;;;OAMG;IACH,QAAQ,CAAC,EACL,UAAU,GACV,cAAc,GACd,YAAY,GACZ,KAAK,GACL,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,QAAQ,CAAC;IAEb;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,cAAc,CAAC;CAC/B;AAED,MAAM,WAAW,uCAAuC;IACtD;;OAEG;IACH,YAAY,EAAE,KAAK,GAAG,KAAK,GAAG,UAAU,GAAG,UAAU,CAAC;IAEtD;;OAEG;IACH,oBAAoB,EAChB,OAAO,GACP,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,cAAc,GACd,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,QAAQ,CAAC;IAEb
|
|
1
|
+
{"version":3,"file":"speech-to-text.d.mts","sourceRoot":"","sources":["../../src/resources/speech-to-text/speech-to-text.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,eAAe,6BAAyB;AACpD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,KAAK,UAAU,EAAE,+BAA2B;AAErD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE,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B;;OAEG;IACH,KAAK,CAAC,EACF,MAAM,GACN,iBAAiB,GACjB,iBAAiB,GACjB,aAAa,GACb,cAAc,GACd,oBAAoB,GACpB,YAAY,GACZ,OAAO,GACP,SAAS,GACT,sBAAsB,GACtB,mBAAmB,GACnB,qBAAqB,GACrB,+BAA+B,GAC/B,cAAc,GACd,uBAAuB,GACvB,uBAAuB,GACvB,kBAAkB,GAClB,oBAAoB,GACpB,2BAA2B,GAC3B,iBAAiB,GACjB,cAAc,GACd,eAAe,CAAC;IAEpB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,uCAAuC,IAAI,uCAAuC,GACxF,CAAC;CACH"}
|
|
@@ -190,9 +190,10 @@ export interface SpeechToTextRetrieveTranscriptionParams {
|
|
|
190
190
|
/**
|
|
191
191
|
* Silence duration (in milliseconds) that triggers end-of-speech detection. When
|
|
192
192
|
* set, the engine uses this value to determine when a speaker has stopped talking.
|
|
193
|
-
* Supported by `xAI`, `Deepgram`, `Google`, `Speechmatics
|
|
194
|
-
*
|
|
195
|
-
*
|
|
193
|
+
* Supported by `xAI`, `Deepgram`, `Google`, `Speechmatics`
|
|
194
|
+
* (`speechmatics/standard` only; `speechmatics/linden-1` uses fixed service-side
|
|
195
|
+
* voice activity detection and ignores it), and `Soniox`. `Soniox` accepts values
|
|
196
|
+
* between 500 and 3000. Other engines may not support this parameter.
|
|
196
197
|
*/
|
|
197
198
|
endpointing?: number;
|
|
198
199
|
/**
|
|
@@ -212,13 +213,18 @@ export interface SpeechToTextRetrieveTranscriptionParams {
|
|
|
212
213
|
/**
|
|
213
214
|
* The language spoken in the audio stream. For `cohere/ar-stt`, this must be `ar`
|
|
214
215
|
* or `en` — unlike other engines, Cohere does not auto-detect the language, and
|
|
215
|
-
* rejects unsupported values including `auto`; omitting it defaults to `ar`.
|
|
216
|
+
* rejects unsupported values including `auto`; omitting it defaults to `ar`. For
|
|
217
|
+
* `speechmatics/linden-1`, omitting it defaults to `en`; `auto`, `auto_beta`,
|
|
218
|
+
* `multi`, or a language outside its supported list is rejected when the
|
|
219
|
+
* connection is established. `speechmatics/linden-1` also accepts `en-US`,
|
|
220
|
+
* `en-GB`, `en-AU`, `cmn-Hans`, and `cmn-Hant`, which select the spelling or
|
|
221
|
+
* script variant (`en` alone uses the default spelling).
|
|
216
222
|
*/
|
|
217
223
|
language?: string;
|
|
218
224
|
/**
|
|
219
225
|
* The specific model to use within the selected transcription engine.
|
|
220
226
|
*/
|
|
221
|
-
model?: 'fast' | 'deepgram/nova-2' | 'deepgram/nova-3' | 'latest_long' | 'latest_short' | 'command_and_search' | 'phone_call' | 'video' | 'default' | 'medical_conversation' | 'medical_dictation' | 'openai/whisper-tiny' | 'openai/whisper-large-v3-turbo' | 'xai/grok-stt' | 'speechmatics/standard' | 'soniox/stt-rt-v4' | 'nvidia/parakeet-v3' | 'omi-health/omi-med-stt-v1' | 'humain/realtime' | 'reson8/turns' | 'cohere/ar-stt';
|
|
227
|
+
model?: 'fast' | 'deepgram/nova-2' | 'deepgram/nova-3' | 'latest_long' | 'latest_short' | 'command_and_search' | 'phone_call' | 'video' | 'default' | 'medical_conversation' | 'medical_dictation' | 'openai/whisper-tiny' | 'openai/whisper-large-v3-turbo' | 'xai/grok-stt' | 'speechmatics/standard' | 'speechmatics/linden-1' | 'soniox/stt-rt-v4' | 'nvidia/parakeet-v3' | 'omi-health/omi-med-stt-v1' | 'humain/realtime' | 'reson8/turns' | 'cohere/ar-stt';
|
|
222
228
|
/**
|
|
223
229
|
* Enable redaction of sensitive information (e.g., PCI data, SSN) from
|
|
224
230
|
* transcription results. Supported values depend on the transcription engine.
|
|
@@ -228,6 +234,7 @@ export interface SpeechToTextRetrieveTranscriptionParams {
|
|
|
228
234
|
* Audio sample rate in Hz. Required when `input_format` is a raw encoding
|
|
229
235
|
* (`linear16`, `linear32`) — those formats carry no header metadata. Ignored for
|
|
230
236
|
* container formats (`mp3`, `wav`), which self-describe their rate.
|
|
237
|
+
* `speechmatics/linden-1` accepts only `16000`.
|
|
231
238
|
*/
|
|
232
239
|
sample_rate?: number;
|
|
233
240
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"speech-to-text.d.ts","sourceRoot":"","sources":["../../src/resources/speech-to-text/speech-to-text.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,eAAe,4BAAyB;AACpD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,KAAK,UAAU,EAAE,8BAA2B;AAErD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;OAiBG;IACH,aAAa,CACX,KAAK,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EAC9D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iCAAiC,CAAC;IAQhD;;;;;;;;;;;;;;;;;OAiBG;IACH,qBAAqB,CACnB,KAAK,EAAE,uCAAuC,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;CAQpB;AAED;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,YAAY,GAAG,SAAS,GAAG,cAAc,CAAC;AAErF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAC7B,qBAAqB,CAAC,eAAe,GACrC,qBAAqB,C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AAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,uCAAuC,IAAI,uCAAuC,GACxF,CAAC;CACH"}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../core/pagination.mjs";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Tailscale Subnet Router operations
|
|
7
|
+
*/
|
|
8
|
+
export declare class TailscaleSubnetRouters extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns a paginated list of the Tailscale Subnet Routers on the account, with
|
|
11
|
+
* support for filtering by Network.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* // Automatically fetches more pages as needed.
|
|
16
|
+
* for await (const tailscaleSubnetRouter of client.tailscaleSubnetRouters.list()) {
|
|
17
|
+
* // ...
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
list(query?: TailscaleSubnetRouterListParams | null | undefined, options?: RequestOptions): PagePromise<TailscaleSubnetRoutersDefaultFlatPagination, TailscaleSubnetRouter>;
|
|
22
|
+
/**
|
|
23
|
+
* Creates a Tailscale Subnet Router on a Network and enrolls it in the user's
|
|
24
|
+
* tailnet with the auth key. The response returns the router with `status`
|
|
25
|
+
* `provisioning`. Poll `GET /tailscale_subnet_routers/{id}` until it is
|
|
26
|
+
* `provisioned`. Then approve its routes in the tailnet, unless an auto-approver
|
|
27
|
+
* covers them.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const tailscaleSubnetRouter =
|
|
32
|
+
* await client.tailscaleSubnetRouters.create({
|
|
33
|
+
* advertised_routes: ['172.27.0.0/24'],
|
|
34
|
+
* auth_key: 'tskey-auth-k1AbCdEfGh2IjKlMnOpQrStUv',
|
|
35
|
+
* name: 'tailnet-ashburn',
|
|
36
|
+
* network_id: '0de011ae-ee53-4df4-ba96-754728eb5aad',
|
|
37
|
+
* region_code: 'ashburn-va',
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
create(body: TailscaleSubnetRouterCreateParams, options?: RequestOptions): APIPromise<TailscaleSubnetRouterCreateResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Removes the router from the Network and logs it out of the tailnet. The response
|
|
44
|
+
* returns the router with `status` `deleting`. The record disappears once removal
|
|
45
|
+
* completes. A machine entry can remain in the tailnet's admin console until it is
|
|
46
|
+
* removed there.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* const tailscaleSubnetRouter =
|
|
51
|
+
* await client.tailscaleSubnetRouters.delete(
|
|
52
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
53
|
+
* );
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
delete(id: string, options?: RequestOptions): APIPromise<TailscaleSubnetRouterDeleteResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Returns the details of a single Tailscale Subnet Router by its identifier,
|
|
59
|
+
* including its enrollment state.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```ts
|
|
63
|
+
* const tailscaleSubnetRouter =
|
|
64
|
+
* await client.tailscaleSubnetRouters.retrieve(
|
|
65
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
66
|
+
* );
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<TailscaleSubnetRouterRetrieveResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* Renames the router, changes its advertised routes, or retries a failed
|
|
72
|
+
* enrollment. Any change queues a new provisioning run and returns the router with
|
|
73
|
+
* `status` `provisioning`. The router keeps its machine identity on the tailnet.
|
|
74
|
+
* Send an empty object to retry a `failed` router with its stored auth key.
|
|
75
|
+
* Include a new `auth_key` only while the router has never enrolled. The router's
|
|
76
|
+
* Network and region cannot change: create a new router instead.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* ```ts
|
|
80
|
+
* const tailscaleSubnetRouter =
|
|
81
|
+
* await client.tailscaleSubnetRouters.update(
|
|
82
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
83
|
+
* {
|
|
84
|
+
* advertised_routes: ['172.27.0.0/24', '172.27.1.0/24'],
|
|
85
|
+
* },
|
|
86
|
+
* );
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
update(id: string, body: TailscaleSubnetRouterUpdateParams, options?: RequestOptions): APIPromise<TailscaleSubnetRouterUpdateResponse>;
|
|
90
|
+
}
|
|
91
|
+
export type TailscaleSubnetRoutersDefaultFlatPagination = DefaultFlatPagination<TailscaleSubnetRouter>;
|
|
92
|
+
export interface TailscaleSubnetRouter {
|
|
93
|
+
/**
|
|
94
|
+
* Identifies the resource.
|
|
95
|
+
*/
|
|
96
|
+
id?: string;
|
|
97
|
+
/**
|
|
98
|
+
* IPv4 subnets of the Network that the router advertises to the tailnet. Each
|
|
99
|
+
* entry is a canonical CIDR that the Network routes. Default, loopback,
|
|
100
|
+
* link-local, multicast, and Tailscale (`100.64.0.0/10`) ranges are rejected. So
|
|
101
|
+
* are ranges that overlap the router's own, `172.27.254.0/24` and `198.18.0.0/20`.
|
|
102
|
+
*/
|
|
103
|
+
advertised_routes?: Array<string>;
|
|
104
|
+
/**
|
|
105
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
106
|
+
*/
|
|
107
|
+
created_at?: string;
|
|
108
|
+
/**
|
|
109
|
+
* The router's address on the Network, from `172.27.254.0/24`. Tailnet traffic
|
|
110
|
+
* enters the Network from this address.
|
|
111
|
+
*/
|
|
112
|
+
customer_address?: string;
|
|
113
|
+
/**
|
|
114
|
+
* The router's node id on the tailnet. Set once the router has enrolled.
|
|
115
|
+
*/
|
|
116
|
+
device_id?: string | null;
|
|
117
|
+
/**
|
|
118
|
+
* A user specified name for the router.
|
|
119
|
+
*/
|
|
120
|
+
name?: string;
|
|
121
|
+
/**
|
|
122
|
+
* The id of the Network the router is attached to.
|
|
123
|
+
*/
|
|
124
|
+
network_id?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Identifies the type of the resource.
|
|
127
|
+
*/
|
|
128
|
+
record_type?: string;
|
|
129
|
+
/**
|
|
130
|
+
* The code of the region the router is created in. `GET /network_coverage` lists
|
|
131
|
+
* the regions whose `available_services` include `tailscale_subnet_router`.
|
|
132
|
+
*/
|
|
133
|
+
region_code?: string;
|
|
134
|
+
/**
|
|
135
|
+
* `provisioning`: Telnyx is creating the router or applying a change.
|
|
136
|
+
* `provisioned`: the router is on the tailnet and advertises its routes; the
|
|
137
|
+
* tailnet still approves them. `failed`: enrollment did not complete, and `PATCH`
|
|
138
|
+
* retries it. `deleting`: the router is being removed.
|
|
139
|
+
*/
|
|
140
|
+
status?: 'provisioning' | 'provisioned' | 'failed' | 'deleting';
|
|
141
|
+
/**
|
|
142
|
+
* The name of the tailnet the router is enrolled in. Set once the router has
|
|
143
|
+
* enrolled.
|
|
144
|
+
*/
|
|
145
|
+
tailnet_name?: string | null;
|
|
146
|
+
/**
|
|
147
|
+
* The router's addresses on the tailnet. Empty until the router has enrolled.
|
|
148
|
+
*/
|
|
149
|
+
tailscale_ips?: Array<string>;
|
|
150
|
+
/**
|
|
151
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
152
|
+
*/
|
|
153
|
+
updated_at?: string;
|
|
154
|
+
}
|
|
155
|
+
export interface TailscaleSubnetRouterCreateResponse {
|
|
156
|
+
data?: TailscaleSubnetRouter;
|
|
157
|
+
}
|
|
158
|
+
export interface TailscaleSubnetRouterRetrieveResponse {
|
|
159
|
+
data?: TailscaleSubnetRouter;
|
|
160
|
+
}
|
|
161
|
+
export interface TailscaleSubnetRouterUpdateResponse {
|
|
162
|
+
data?: TailscaleSubnetRouter;
|
|
163
|
+
}
|
|
164
|
+
export interface TailscaleSubnetRouterDeleteResponse {
|
|
165
|
+
data?: TailscaleSubnetRouter;
|
|
166
|
+
}
|
|
167
|
+
export interface TailscaleSubnetRouterListParams extends DefaultFlatPaginationParams {
|
|
168
|
+
/**
|
|
169
|
+
* Consolidated filter parameter (deepObject style). Originally: filter[network_id]
|
|
170
|
+
*/
|
|
171
|
+
filter?: TailscaleSubnetRouterListParams.Filter;
|
|
172
|
+
}
|
|
173
|
+
export declare namespace TailscaleSubnetRouterListParams {
|
|
174
|
+
/**
|
|
175
|
+
* Consolidated filter parameter (deepObject style). Originally: filter[network_id]
|
|
176
|
+
*/
|
|
177
|
+
interface Filter {
|
|
178
|
+
/**
|
|
179
|
+
* The id of the Network to filter on.
|
|
180
|
+
*/
|
|
181
|
+
network_id?: string;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
export interface TailscaleSubnetRouterCreateParams {
|
|
185
|
+
/**
|
|
186
|
+
* IPv4 subnets of the Network that the router advertises to the tailnet. Each
|
|
187
|
+
* entry is a canonical CIDR that the Network routes. Default, loopback,
|
|
188
|
+
* link-local, multicast, and Tailscale (`100.64.0.0/10`) ranges are rejected. So
|
|
189
|
+
* are ranges that overlap the router's own, `172.27.254.0/24` and `198.18.0.0/20`.
|
|
190
|
+
*/
|
|
191
|
+
advertised_routes: Array<string>;
|
|
192
|
+
/**
|
|
193
|
+
* A Tailscale auth key that enrolls the router in the user's tailnet: reusable,
|
|
194
|
+
* pre-approved, tagged, and not ephemeral. Telnyx stores it encrypted until
|
|
195
|
+
* enrollment succeeds, then discards it. It is never returned.
|
|
196
|
+
*/
|
|
197
|
+
auth_key: string;
|
|
198
|
+
/**
|
|
199
|
+
* A user specified name for the router.
|
|
200
|
+
*/
|
|
201
|
+
name: string;
|
|
202
|
+
/**
|
|
203
|
+
* The id of the Network to attach the router to.
|
|
204
|
+
*/
|
|
205
|
+
network_id: string;
|
|
206
|
+
/**
|
|
207
|
+
* The code of the region to create the router in. `GET /network_coverage` lists
|
|
208
|
+
* the regions whose `available_services` include `tailscale_subnet_router`.
|
|
209
|
+
*/
|
|
210
|
+
region_code: string;
|
|
211
|
+
}
|
|
212
|
+
export interface TailscaleSubnetRouterUpdateParams {
|
|
213
|
+
/**
|
|
214
|
+
* IPv4 subnets of the Network that the router advertises to the tailnet. Each
|
|
215
|
+
* entry is a canonical CIDR that the Network routes. Default, loopback,
|
|
216
|
+
* link-local, multicast, and Tailscale (`100.64.0.0/10`) ranges are rejected. So
|
|
217
|
+
* are ranges that overlap the router's own, `172.27.254.0/24` and `198.18.0.0/20`.
|
|
218
|
+
*/
|
|
219
|
+
advertised_routes?: Array<string>;
|
|
220
|
+
/**
|
|
221
|
+
* A replacement Tailscale auth key. Accepted only while the router has never
|
|
222
|
+
* enrolled, for example after a `failed` enrollment. Never returned.
|
|
223
|
+
*/
|
|
224
|
+
auth_key?: string;
|
|
225
|
+
/**
|
|
226
|
+
* A user specified name for the router.
|
|
227
|
+
*/
|
|
228
|
+
name?: string;
|
|
229
|
+
}
|
|
230
|
+
export declare namespace TailscaleSubnetRouters {
|
|
231
|
+
export { type TailscaleSubnetRouter as TailscaleSubnetRouter, type TailscaleSubnetRouterCreateResponse as TailscaleSubnetRouterCreateResponse, type TailscaleSubnetRouterRetrieveResponse as TailscaleSubnetRouterRetrieveResponse, type TailscaleSubnetRouterUpdateResponse as TailscaleSubnetRouterUpdateResponse, type TailscaleSubnetRouterDeleteResponse as TailscaleSubnetRouterDeleteResponse, type TailscaleSubnetRoutersDefaultFlatPagination as TailscaleSubnetRoutersDefaultFlatPagination, type TailscaleSubnetRouterListParams as TailscaleSubnetRouterListParams, type TailscaleSubnetRouterCreateParams as TailscaleSubnetRouterCreateParams, type TailscaleSubnetRouterUpdateParams as TailscaleSubnetRouterUpdateParams, };
|
|
232
|
+
}
|
|
233
|
+
//# sourceMappingURL=tailscale-subnet-routers.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tailscale-subnet-routers.d.mts","sourceRoot":"","sources":["../src/resources/tailscale-subnet-routers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,+BAA2B;AAC1G,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,WAAW;IACrD;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EAC9D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,2CAA2C,EAAE,qBAAqB,CAAC;IAQlF;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,IAAI,EAAE,iCAAiC,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;IAIlD;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mCAAmC,CAAC;IAI7F;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qCAAqC,CAAC;IAIjG;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,iCAAiC,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;CAGnD;AAED,MAAM,MAAM,2CAA2C,GAAG,qBAAqB,CAAC,qBAAqB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ACH,UAAiB,MAAM;QACrB;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB;CACF;AAED,MAAM,WAAW,iCAAiC;IAChD;;;;;OAKG;IACH,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEjC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,iCAAiC;IAChD;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAElC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,sBAAsB,CAAC;IAC9C,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,2CAA2C,IAAI,2CAA2C,EAC/F,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,iCAAiC,IAAI,iCAAiC,GAC5E,CAAC;CACH"}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../core/pagination.js";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
5
|
+
/**
|
|
6
|
+
* Tailscale Subnet Router operations
|
|
7
|
+
*/
|
|
8
|
+
export declare class TailscaleSubnetRouters extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns a paginated list of the Tailscale Subnet Routers on the account, with
|
|
11
|
+
* support for filtering by Network.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* // Automatically fetches more pages as needed.
|
|
16
|
+
* for await (const tailscaleSubnetRouter of client.tailscaleSubnetRouters.list()) {
|
|
17
|
+
* // ...
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
list(query?: TailscaleSubnetRouterListParams | null | undefined, options?: RequestOptions): PagePromise<TailscaleSubnetRoutersDefaultFlatPagination, TailscaleSubnetRouter>;
|
|
22
|
+
/**
|
|
23
|
+
* Creates a Tailscale Subnet Router on a Network and enrolls it in the user's
|
|
24
|
+
* tailnet with the auth key. The response returns the router with `status`
|
|
25
|
+
* `provisioning`. Poll `GET /tailscale_subnet_routers/{id}` until it is
|
|
26
|
+
* `provisioned`. Then approve its routes in the tailnet, unless an auto-approver
|
|
27
|
+
* covers them.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const tailscaleSubnetRouter =
|
|
32
|
+
* await client.tailscaleSubnetRouters.create({
|
|
33
|
+
* advertised_routes: ['172.27.0.0/24'],
|
|
34
|
+
* auth_key: 'tskey-auth-k1AbCdEfGh2IjKlMnOpQrStUv',
|
|
35
|
+
* name: 'tailnet-ashburn',
|
|
36
|
+
* network_id: '0de011ae-ee53-4df4-ba96-754728eb5aad',
|
|
37
|
+
* region_code: 'ashburn-va',
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
create(body: TailscaleSubnetRouterCreateParams, options?: RequestOptions): APIPromise<TailscaleSubnetRouterCreateResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Removes the router from the Network and logs it out of the tailnet. The response
|
|
44
|
+
* returns the router with `status` `deleting`. The record disappears once removal
|
|
45
|
+
* completes. A machine entry can remain in the tailnet's admin console until it is
|
|
46
|
+
* removed there.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* const tailscaleSubnetRouter =
|
|
51
|
+
* await client.tailscaleSubnetRouters.delete(
|
|
52
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
53
|
+
* );
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
delete(id: string, options?: RequestOptions): APIPromise<TailscaleSubnetRouterDeleteResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Returns the details of a single Tailscale Subnet Router by its identifier,
|
|
59
|
+
* including its enrollment state.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```ts
|
|
63
|
+
* const tailscaleSubnetRouter =
|
|
64
|
+
* await client.tailscaleSubnetRouters.retrieve(
|
|
65
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
66
|
+
* );
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<TailscaleSubnetRouterRetrieveResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* Renames the router, changes its advertised routes, or retries a failed
|
|
72
|
+
* enrollment. Any change queues a new provisioning run and returns the router with
|
|
73
|
+
* `status` `provisioning`. The router keeps its machine identity on the tailnet.
|
|
74
|
+
* Send an empty object to retry a `failed` router with its stored auth key.
|
|
75
|
+
* Include a new `auth_key` only while the router has never enrolled. The router's
|
|
76
|
+
* Network and region cannot change: create a new router instead.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* ```ts
|
|
80
|
+
* const tailscaleSubnetRouter =
|
|
81
|
+
* await client.tailscaleSubnetRouters.update(
|
|
82
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
83
|
+
* {
|
|
84
|
+
* advertised_routes: ['172.27.0.0/24', '172.27.1.0/24'],
|
|
85
|
+
* },
|
|
86
|
+
* );
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
update(id: string, body: TailscaleSubnetRouterUpdateParams, options?: RequestOptions): APIPromise<TailscaleSubnetRouterUpdateResponse>;
|
|
90
|
+
}
|
|
91
|
+
export type TailscaleSubnetRoutersDefaultFlatPagination = DefaultFlatPagination<TailscaleSubnetRouter>;
|
|
92
|
+
export interface TailscaleSubnetRouter {
|
|
93
|
+
/**
|
|
94
|
+
* Identifies the resource.
|
|
95
|
+
*/
|
|
96
|
+
id?: string;
|
|
97
|
+
/**
|
|
98
|
+
* IPv4 subnets of the Network that the router advertises to the tailnet. Each
|
|
99
|
+
* entry is a canonical CIDR that the Network routes. Default, loopback,
|
|
100
|
+
* link-local, multicast, and Tailscale (`100.64.0.0/10`) ranges are rejected. So
|
|
101
|
+
* are ranges that overlap the router's own, `172.27.254.0/24` and `198.18.0.0/20`.
|
|
102
|
+
*/
|
|
103
|
+
advertised_routes?: Array<string>;
|
|
104
|
+
/**
|
|
105
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
106
|
+
*/
|
|
107
|
+
created_at?: string;
|
|
108
|
+
/**
|
|
109
|
+
* The router's address on the Network, from `172.27.254.0/24`. Tailnet traffic
|
|
110
|
+
* enters the Network from this address.
|
|
111
|
+
*/
|
|
112
|
+
customer_address?: string;
|
|
113
|
+
/**
|
|
114
|
+
* The router's node id on the tailnet. Set once the router has enrolled.
|
|
115
|
+
*/
|
|
116
|
+
device_id?: string | null;
|
|
117
|
+
/**
|
|
118
|
+
* A user specified name for the router.
|
|
119
|
+
*/
|
|
120
|
+
name?: string;
|
|
121
|
+
/**
|
|
122
|
+
* The id of the Network the router is attached to.
|
|
123
|
+
*/
|
|
124
|
+
network_id?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Identifies the type of the resource.
|
|
127
|
+
*/
|
|
128
|
+
record_type?: string;
|
|
129
|
+
/**
|
|
130
|
+
* The code of the region the router is created in. `GET /network_coverage` lists
|
|
131
|
+
* the regions whose `available_services` include `tailscale_subnet_router`.
|
|
132
|
+
*/
|
|
133
|
+
region_code?: string;
|
|
134
|
+
/**
|
|
135
|
+
* `provisioning`: Telnyx is creating the router or applying a change.
|
|
136
|
+
* `provisioned`: the router is on the tailnet and advertises its routes; the
|
|
137
|
+
* tailnet still approves them. `failed`: enrollment did not complete, and `PATCH`
|
|
138
|
+
* retries it. `deleting`: the router is being removed.
|
|
139
|
+
*/
|
|
140
|
+
status?: 'provisioning' | 'provisioned' | 'failed' | 'deleting';
|
|
141
|
+
/**
|
|
142
|
+
* The name of the tailnet the router is enrolled in. Set once the router has
|
|
143
|
+
* enrolled.
|
|
144
|
+
*/
|
|
145
|
+
tailnet_name?: string | null;
|
|
146
|
+
/**
|
|
147
|
+
* The router's addresses on the tailnet. Empty until the router has enrolled.
|
|
148
|
+
*/
|
|
149
|
+
tailscale_ips?: Array<string>;
|
|
150
|
+
/**
|
|
151
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
152
|
+
*/
|
|
153
|
+
updated_at?: string;
|
|
154
|
+
}
|
|
155
|
+
export interface TailscaleSubnetRouterCreateResponse {
|
|
156
|
+
data?: TailscaleSubnetRouter;
|
|
157
|
+
}
|
|
158
|
+
export interface TailscaleSubnetRouterRetrieveResponse {
|
|
159
|
+
data?: TailscaleSubnetRouter;
|
|
160
|
+
}
|
|
161
|
+
export interface TailscaleSubnetRouterUpdateResponse {
|
|
162
|
+
data?: TailscaleSubnetRouter;
|
|
163
|
+
}
|
|
164
|
+
export interface TailscaleSubnetRouterDeleteResponse {
|
|
165
|
+
data?: TailscaleSubnetRouter;
|
|
166
|
+
}
|
|
167
|
+
export interface TailscaleSubnetRouterListParams extends DefaultFlatPaginationParams {
|
|
168
|
+
/**
|
|
169
|
+
* Consolidated filter parameter (deepObject style). Originally: filter[network_id]
|
|
170
|
+
*/
|
|
171
|
+
filter?: TailscaleSubnetRouterListParams.Filter;
|
|
172
|
+
}
|
|
173
|
+
export declare namespace TailscaleSubnetRouterListParams {
|
|
174
|
+
/**
|
|
175
|
+
* Consolidated filter parameter (deepObject style). Originally: filter[network_id]
|
|
176
|
+
*/
|
|
177
|
+
interface Filter {
|
|
178
|
+
/**
|
|
179
|
+
* The id of the Network to filter on.
|
|
180
|
+
*/
|
|
181
|
+
network_id?: string;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
export interface TailscaleSubnetRouterCreateParams {
|
|
185
|
+
/**
|
|
186
|
+
* IPv4 subnets of the Network that the router advertises to the tailnet. Each
|
|
187
|
+
* entry is a canonical CIDR that the Network routes. Default, loopback,
|
|
188
|
+
* link-local, multicast, and Tailscale (`100.64.0.0/10`) ranges are rejected. So
|
|
189
|
+
* are ranges that overlap the router's own, `172.27.254.0/24` and `198.18.0.0/20`.
|
|
190
|
+
*/
|
|
191
|
+
advertised_routes: Array<string>;
|
|
192
|
+
/**
|
|
193
|
+
* A Tailscale auth key that enrolls the router in the user's tailnet: reusable,
|
|
194
|
+
* pre-approved, tagged, and not ephemeral. Telnyx stores it encrypted until
|
|
195
|
+
* enrollment succeeds, then discards it. It is never returned.
|
|
196
|
+
*/
|
|
197
|
+
auth_key: string;
|
|
198
|
+
/**
|
|
199
|
+
* A user specified name for the router.
|
|
200
|
+
*/
|
|
201
|
+
name: string;
|
|
202
|
+
/**
|
|
203
|
+
* The id of the Network to attach the router to.
|
|
204
|
+
*/
|
|
205
|
+
network_id: string;
|
|
206
|
+
/**
|
|
207
|
+
* The code of the region to create the router in. `GET /network_coverage` lists
|
|
208
|
+
* the regions whose `available_services` include `tailscale_subnet_router`.
|
|
209
|
+
*/
|
|
210
|
+
region_code: string;
|
|
211
|
+
}
|
|
212
|
+
export interface TailscaleSubnetRouterUpdateParams {
|
|
213
|
+
/**
|
|
214
|
+
* IPv4 subnets of the Network that the router advertises to the tailnet. Each
|
|
215
|
+
* entry is a canonical CIDR that the Network routes. Default, loopback,
|
|
216
|
+
* link-local, multicast, and Tailscale (`100.64.0.0/10`) ranges are rejected. So
|
|
217
|
+
* are ranges that overlap the router's own, `172.27.254.0/24` and `198.18.0.0/20`.
|
|
218
|
+
*/
|
|
219
|
+
advertised_routes?: Array<string>;
|
|
220
|
+
/**
|
|
221
|
+
* A replacement Tailscale auth key. Accepted only while the router has never
|
|
222
|
+
* enrolled, for example after a `failed` enrollment. Never returned.
|
|
223
|
+
*/
|
|
224
|
+
auth_key?: string;
|
|
225
|
+
/**
|
|
226
|
+
* A user specified name for the router.
|
|
227
|
+
*/
|
|
228
|
+
name?: string;
|
|
229
|
+
}
|
|
230
|
+
export declare namespace TailscaleSubnetRouters {
|
|
231
|
+
export { type TailscaleSubnetRouter as TailscaleSubnetRouter, type TailscaleSubnetRouterCreateResponse as TailscaleSubnetRouterCreateResponse, type TailscaleSubnetRouterRetrieveResponse as TailscaleSubnetRouterRetrieveResponse, type TailscaleSubnetRouterUpdateResponse as TailscaleSubnetRouterUpdateResponse, type TailscaleSubnetRouterDeleteResponse as TailscaleSubnetRouterDeleteResponse, type TailscaleSubnetRoutersDefaultFlatPagination as TailscaleSubnetRoutersDefaultFlatPagination, type TailscaleSubnetRouterListParams as TailscaleSubnetRouterListParams, type TailscaleSubnetRouterCreateParams as TailscaleSubnetRouterCreateParams, type TailscaleSubnetRouterUpdateParams as TailscaleSubnetRouterUpdateParams, };
|
|
232
|
+
}
|
|
233
|
+
//# sourceMappingURL=tailscale-subnet-routers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tailscale-subnet-routers.d.ts","sourceRoot":"","sources":["../src/resources/tailscale-subnet-routers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,8BAA2B;AAC1G,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,WAAW;IACrD;;;;;;;;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