telnyx 7.28.0 → 7.29.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 +7 -0
- package/client.d.mts +35 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +35 -4
- package/client.d.ts.map +1 -1
- package/client.js +31 -0
- package/client.js.map +1 -1
- package/client.mjs +31 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/addresses/actions.d.mts +19 -4
- package/resources/addresses/actions.d.mts.map +1 -1
- package/resources/addresses/actions.d.ts +19 -4
- package/resources/addresses/actions.d.ts.map +1 -1
- package/resources/ai/ai.d.mts +4 -0
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +4 -0
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +4 -0
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +4 -0
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +31 -27
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +31 -27
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/avatars.d.mts +9 -9
- package/resources/ai/avatars.d.ts +9 -9
- package/resources/ai/avatars.js +9 -9
- package/resources/ai/avatars.mjs +9 -9
- package/resources/ai/index.d.mts +1 -0
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +1 -0
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js +5 -3
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +1 -0
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/tests/index.d.mts +4 -0
- package/resources/ai/tests/index.d.mts.map +1 -0
- package/resources/ai/tests/index.d.ts +4 -0
- package/resources/ai/tests/index.d.ts.map +1 -0
- package/resources/ai/tests/index.js +11 -0
- package/resources/ai/tests/index.js.map +1 -0
- package/resources/ai/tests/index.mjs +5 -0
- package/resources/ai/tests/index.mjs.map +1 -0
- package/resources/ai/tests/schedules/index.d.mts +3 -0
- package/resources/ai/tests/schedules/index.d.mts.map +1 -0
- package/resources/ai/tests/schedules/index.d.ts +3 -0
- package/resources/ai/tests/schedules/index.d.ts.map +1 -0
- package/resources/ai/tests/schedules/index.js +9 -0
- package/resources/ai/tests/schedules/index.js.map +1 -0
- package/resources/ai/tests/schedules/index.mjs +4 -0
- package/resources/ai/tests/schedules/index.mjs.map +1 -0
- package/resources/ai/tests/schedules/schedules.d.mts +10 -0
- package/resources/ai/tests/schedules/schedules.d.mts.map +1 -0
- package/resources/ai/tests/schedules/schedules.d.ts +10 -0
- package/resources/ai/tests/schedules/schedules.d.ts.map +1 -0
- package/resources/ai/tests/schedules/schedules.js +17 -0
- package/resources/ai/tests/schedules/schedules.js.map +1 -0
- package/resources/ai/tests/schedules/schedules.mjs +12 -0
- package/resources/ai/tests/schedules/schedules.mjs.map +1 -0
- package/resources/ai/tests/schedules/v1/cron-jobs.d.mts +171 -0
- package/resources/ai/tests/schedules/v1/cron-jobs.d.mts.map +1 -0
- package/resources/ai/tests/schedules/v1/cron-jobs.d.ts +171 -0
- package/resources/ai/tests/schedules/v1/cron-jobs.d.ts.map +1 -0
- package/resources/ai/tests/schedules/v1/cron-jobs.js +88 -0
- package/resources/ai/tests/schedules/v1/cron-jobs.js.map +1 -0
- package/resources/ai/tests/schedules/v1/cron-jobs.mjs +84 -0
- package/resources/ai/tests/schedules/v1/cron-jobs.mjs.map +1 -0
- package/resources/ai/tests/schedules/v1/index.d.mts +3 -0
- package/resources/ai/tests/schedules/v1/index.d.mts.map +1 -0
- package/resources/ai/tests/schedules/v1/index.d.ts +3 -0
- package/resources/ai/tests/schedules/v1/index.d.ts.map +1 -0
- package/resources/ai/tests/schedules/v1/index.js +9 -0
- package/resources/ai/tests/schedules/v1/index.js.map +1 -0
- package/resources/ai/tests/schedules/v1/index.mjs +4 -0
- package/resources/ai/tests/schedules/v1/index.mjs.map +1 -0
- package/resources/ai/tests/schedules/v1/v1.d.mts +10 -0
- package/resources/ai/tests/schedules/v1/v1.d.mts.map +1 -0
- package/resources/ai/tests/schedules/v1/v1.d.ts +10 -0
- package/resources/ai/tests/schedules/v1/v1.d.ts.map +1 -0
- package/resources/ai/tests/schedules/v1/v1.js +17 -0
- package/resources/ai/tests/schedules/v1/v1.js.map +1 -0
- package/resources/ai/tests/schedules/v1/v1.mjs +12 -0
- package/resources/ai/tests/schedules/v1/v1.mjs.map +1 -0
- package/resources/ai/tests/schedules/v1.d.mts +2 -0
- package/resources/ai/tests/schedules/v1.d.mts.map +1 -0
- package/resources/ai/tests/schedules/v1.d.ts +2 -0
- package/resources/ai/tests/schedules/v1.d.ts.map +1 -0
- package/resources/ai/tests/schedules/v1.js +6 -0
- package/resources/ai/tests/schedules/v1.js.map +1 -0
- package/resources/ai/tests/schedules/v1.mjs +3 -0
- package/resources/ai/tests/schedules/v1.mjs.map +1 -0
- package/resources/ai/tests/schedules.d.mts +2 -0
- package/resources/ai/tests/schedules.d.mts.map +1 -0
- package/resources/ai/tests/schedules.d.ts +2 -0
- package/resources/ai/tests/schedules.d.ts.map +1 -0
- package/resources/ai/tests/schedules.js +6 -0
- package/resources/ai/tests/schedules.js.map +1 -0
- package/resources/ai/tests/schedules.mjs +3 -0
- package/resources/ai/tests/schedules.mjs.map +1 -0
- package/resources/ai/tests/test-framework/index.d.mts +3 -0
- package/resources/ai/tests/test-framework/index.d.mts.map +1 -0
- package/resources/ai/tests/test-framework/index.d.ts +3 -0
- package/resources/ai/tests/test-framework/index.d.ts.map +1 -0
- package/resources/ai/tests/test-framework/index.js +9 -0
- package/resources/ai/tests/test-framework/index.js.map +1 -0
- package/resources/ai/tests/test-framework/index.mjs +4 -0
- package/resources/ai/tests/test-framework/index.mjs.map +1 -0
- package/resources/ai/tests/test-framework/test-framework.d.mts +10 -0
- package/resources/ai/tests/test-framework/test-framework.d.mts.map +1 -0
- package/resources/ai/tests/test-framework/test-framework.d.ts +10 -0
- package/resources/ai/tests/test-framework/test-framework.d.ts.map +1 -0
- package/resources/ai/tests/test-framework/test-framework.js +17 -0
- package/resources/ai/tests/test-framework/test-framework.js.map +1 -0
- package/resources/ai/tests/test-framework/test-framework.mjs +12 -0
- package/resources/ai/tests/test-framework/test-framework.mjs.map +1 -0
- package/resources/ai/tests/test-framework/v1/aiagents.d.mts +216 -0
- package/resources/ai/tests/test-framework/v1/aiagents.d.mts.map +1 -0
- package/resources/ai/tests/test-framework/v1/aiagents.d.ts +216 -0
- package/resources/ai/tests/test-framework/v1/aiagents.d.ts.map +1 -0
- package/resources/ai/tests/test-framework/v1/aiagents.js +93 -0
- package/resources/ai/tests/test-framework/v1/aiagents.js.map +1 -0
- package/resources/ai/tests/test-framework/v1/aiagents.mjs +89 -0
- package/resources/ai/tests/test-framework/v1/aiagents.mjs.map +1 -0
- package/resources/ai/tests/test-framework/v1/index.d.mts +6 -0
- package/resources/ai/tests/test-framework/v1/index.d.mts.map +1 -0
- package/resources/ai/tests/test-framework/v1/index.d.ts +6 -0
- package/resources/ai/tests/test-framework/v1/index.d.ts.map +1 -0
- package/resources/ai/tests/test-framework/v1/index.js +15 -0
- package/resources/ai/tests/test-framework/v1/index.js.map +1 -0
- package/resources/ai/tests/test-framework/v1/index.mjs +7 -0
- package/resources/ai/tests/test-framework/v1/index.mjs.map +1 -0
- package/resources/ai/tests/test-framework/v1/metrics.d.mts +339 -0
- package/resources/ai/tests/test-framework/v1/metrics.d.mts.map +1 -0
- package/resources/ai/tests/test-framework/v1/metrics.d.ts +339 -0
- package/resources/ai/tests/test-framework/v1/metrics.d.ts.map +1 -0
- package/resources/ai/tests/test-framework/v1/metrics.js +145 -0
- package/resources/ai/tests/test-framework/v1/metrics.js.map +1 -0
- package/resources/ai/tests/test-framework/v1/metrics.mjs +141 -0
- package/resources/ai/tests/test-framework/v1/metrics.mjs.map +1 -0
- package/resources/ai/tests/test-framework/v1/results.d.mts +207 -0
- package/resources/ai/tests/test-framework/v1/results.d.mts.map +1 -0
- package/resources/ai/tests/test-framework/v1/results.d.ts +207 -0
- package/resources/ai/tests/test-framework/v1/results.d.ts.map +1 -0
- package/resources/ai/tests/test-framework/v1/results.js +65 -0
- package/resources/ai/tests/test-framework/v1/results.js.map +1 -0
- package/resources/ai/tests/test-framework/v1/results.mjs +61 -0
- package/resources/ai/tests/test-framework/v1/results.mjs.map +1 -0
- package/resources/ai/tests/test-framework/v1/scenarios.d.mts +528 -0
- package/resources/ai/tests/test-framework/v1/scenarios.d.mts.map +1 -0
- package/resources/ai/tests/test-framework/v1/scenarios.d.ts +528 -0
- package/resources/ai/tests/test-framework/v1/scenarios.d.ts.map +1 -0
- package/resources/ai/tests/test-framework/v1/scenarios.js +222 -0
- package/resources/ai/tests/test-framework/v1/scenarios.js.map +1 -0
- package/resources/ai/tests/test-framework/v1/scenarios.mjs +218 -0
- package/resources/ai/tests/test-framework/v1/scenarios.mjs.map +1 -0
- package/resources/ai/tests/test-framework/v1/v1.d.mts +83 -0
- package/resources/ai/tests/test-framework/v1/v1.d.mts.map +1 -0
- package/resources/ai/tests/test-framework/v1/v1.d.ts +83 -0
- package/resources/ai/tests/test-framework/v1/v1.d.ts.map +1 -0
- package/resources/ai/tests/test-framework/v1/v1.js +46 -0
- package/resources/ai/tests/test-framework/v1/v1.js.map +1 -0
- package/resources/ai/tests/test-framework/v1/v1.mjs +41 -0
- package/resources/ai/tests/test-framework/v1/v1.mjs.map +1 -0
- package/resources/ai/tests/test-framework/v1.d.mts +2 -0
- package/resources/ai/tests/test-framework/v1.d.mts.map +1 -0
- package/resources/ai/tests/test-framework/v1.d.ts +2 -0
- package/resources/ai/tests/test-framework/v1.d.ts.map +1 -0
- package/resources/ai/tests/test-framework/v1.js +6 -0
- package/resources/ai/tests/test-framework/v1.js.map +1 -0
- package/resources/ai/tests/test-framework/v1.mjs +3 -0
- package/resources/ai/tests/test-framework/v1.mjs.map +1 -0
- package/resources/ai/tests/test-framework.d.mts +2 -0
- package/resources/ai/tests/test-framework.d.mts.map +1 -0
- package/resources/ai/tests/test-framework.d.ts +2 -0
- package/resources/ai/tests/test-framework.d.ts.map +1 -0
- package/resources/ai/tests/test-framework.js +6 -0
- package/resources/ai/tests/test-framework.js.map +1 -0
- package/resources/ai/tests/test-framework.mjs +3 -0
- package/resources/ai/tests/test-framework.mjs.map +1 -0
- package/resources/ai/tests/tests.d.mts +14 -0
- package/resources/ai/tests/tests.d.mts.map +1 -0
- package/resources/ai/tests/tests.d.ts +14 -0
- package/resources/ai/tests/tests.d.ts.map +1 -0
- package/resources/ai/tests/tests.js +21 -0
- package/resources/ai/tests/tests.js.map +1 -0
- package/resources/ai/tests/tests.mjs +16 -0
- package/resources/ai/tests/tests.mjs.map +1 -0
- package/resources/ai/tests.d.mts +2 -0
- package/resources/ai/tests.d.mts.map +1 -0
- package/resources/ai/tests.d.ts +2 -0
- package/resources/ai/tests.d.ts.map +1 -0
- package/resources/ai/tests.js +6 -0
- package/resources/ai/tests.js.map +1 -0
- package/resources/ai/tests.mjs +3 -0
- package/resources/ai/tests.mjs.map +1 -0
- package/resources/artifact-downloads.d.mts +21 -0
- package/resources/artifact-downloads.d.mts.map +1 -0
- package/resources/artifact-downloads.d.ts +21 -0
- package/resources/artifact-downloads.d.ts.map +1 -0
- package/resources/artifact-downloads.js +26 -0
- package/resources/artifact-downloads.js.map +1 -0
- package/resources/artifact-downloads.mjs +22 -0
- package/resources/artifact-downloads.mjs.map +1 -0
- package/resources/bot-challenge.js +1 -1
- package/resources/bot-challenge.js.map +1 -1
- package/resources/bot-challenge.mjs +1 -1
- package/resources/bot-challenge.mjs.map +1 -1
- package/resources/bot-sessions.js +1 -1
- package/resources/bot-sessions.js.map +1 -1
- package/resources/bot-sessions.mjs +1 -1
- package/resources/bot-sessions.mjs.map +1 -1
- package/resources/bot-signup.js +2 -2
- package/resources/bot-signup.js.map +1 -1
- package/resources/bot-signup.mjs +2 -2
- package/resources/bot-signup.mjs.map +1 -1
- package/resources/browser-sessions/actions.d.mts +542 -0
- package/resources/browser-sessions/actions.d.mts.map +1 -0
- package/resources/browser-sessions/actions.d.ts +542 -0
- package/resources/browser-sessions/actions.d.ts.map +1 -0
- package/resources/browser-sessions/actions.js +55 -0
- package/resources/browser-sessions/actions.js.map +1 -0
- package/resources/browser-sessions/actions.mjs +51 -0
- package/resources/browser-sessions/actions.mjs.map +1 -0
- package/resources/browser-sessions/browser-sessions.d.mts +165 -0
- package/resources/browser-sessions/browser-sessions.d.mts.map +1 -0
- package/resources/browser-sessions/browser-sessions.d.ts +165 -0
- package/resources/browser-sessions/browser-sessions.d.ts.map +1 -0
- package/resources/browser-sessions/browser-sessions.js +87 -0
- package/resources/browser-sessions/browser-sessions.js.map +1 -0
- package/resources/browser-sessions/browser-sessions.mjs +82 -0
- package/resources/browser-sessions/browser-sessions.mjs.map +1 -0
- package/resources/browser-sessions/index.d.mts +3 -0
- package/resources/browser-sessions/index.d.mts.map +1 -0
- package/resources/browser-sessions/index.d.ts +3 -0
- package/resources/browser-sessions/index.d.ts.map +1 -0
- package/resources/browser-sessions/index.js +9 -0
- package/resources/browser-sessions/index.js.map +1 -0
- package/resources/browser-sessions/index.mjs +4 -0
- package/resources/browser-sessions/index.mjs.map +1 -0
- package/resources/browser-sessions.d.mts +2 -0
- package/resources/browser-sessions.d.mts.map +1 -0
- package/resources/browser-sessions.d.ts +2 -0
- package/resources/browser-sessions.d.ts.map +1 -0
- package/resources/browser-sessions.js +6 -0
- package/resources/browser-sessions.js.map +1 -0
- package/resources/browser-sessions.mjs +3 -0
- package/resources/browser-sessions.mjs.map +1 -0
- package/resources/call-control-applications.d.mts +2 -2
- package/resources/call-control-applications.d.ts +2 -2
- package/resources/calls/actions.d.mts +35 -28
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +35 -28
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/conferences/actions.d.mts +3 -2
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +3 -2
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/email/dedicated-ips/actions.d.mts +73 -0
- package/resources/email/dedicated-ips/actions.d.mts.map +1 -0
- package/resources/email/dedicated-ips/actions.d.ts +73 -0
- package/resources/email/dedicated-ips/actions.d.ts.map +1 -0
- package/resources/email/dedicated-ips/actions.js +84 -0
- package/resources/email/dedicated-ips/actions.js.map +1 -0
- package/resources/email/dedicated-ips/actions.mjs +80 -0
- package/resources/email/dedicated-ips/actions.mjs.map +1 -0
- package/resources/email/dedicated-ips/dedicated-ips.d.mts +444 -0
- package/resources/email/dedicated-ips/dedicated-ips.d.mts.map +1 -0
- package/resources/email/dedicated-ips/dedicated-ips.d.ts +444 -0
- package/resources/email/dedicated-ips/dedicated-ips.d.ts.map +1 -0
- package/resources/email/dedicated-ips/dedicated-ips.js +142 -0
- package/resources/email/dedicated-ips/dedicated-ips.js.map +1 -0
- package/resources/email/dedicated-ips/dedicated-ips.mjs +137 -0
- package/resources/email/dedicated-ips/dedicated-ips.mjs.map +1 -0
- package/resources/email/dedicated-ips/index.d.mts +3 -0
- package/resources/email/dedicated-ips/index.d.mts.map +1 -0
- package/resources/email/dedicated-ips/index.d.ts +3 -0
- package/resources/email/dedicated-ips/index.d.ts.map +1 -0
- package/resources/email/dedicated-ips/index.js +9 -0
- package/resources/email/dedicated-ips/index.js.map +1 -0
- package/resources/email/dedicated-ips/index.mjs +4 -0
- package/resources/email/dedicated-ips/index.mjs.map +1 -0
- package/resources/email/dedicated-ips.d.mts +2 -0
- package/resources/email/dedicated-ips.d.mts.map +1 -0
- package/resources/email/dedicated-ips.d.ts +2 -0
- package/resources/email/dedicated-ips.d.ts.map +1 -0
- package/resources/email/dedicated-ips.js +6 -0
- package/resources/email/dedicated-ips.js.map +1 -0
- package/resources/email/dedicated-ips.mjs +3 -0
- package/resources/email/dedicated-ips.mjs.map +1 -0
- package/resources/email/email.d.mts +14 -0
- package/resources/email/email.d.mts.map +1 -0
- package/resources/email/email.d.ts +14 -0
- package/resources/email/email.d.ts.map +1 -0
- package/resources/email/email.js +21 -0
- package/resources/email/email.js.map +1 -0
- package/resources/email/email.mjs +16 -0
- package/resources/email/email.mjs.map +1 -0
- package/resources/email/index.d.mts +4 -0
- package/resources/email/index.d.mts.map +1 -0
- package/resources/email/index.d.ts +4 -0
- package/resources/email/index.d.ts.map +1 -0
- package/resources/email/index.js +11 -0
- package/resources/email/index.js.map +1 -0
- package/resources/email/index.mjs +5 -0
- package/resources/email/index.mjs.map +1 -0
- package/resources/email/ip-pools/index.d.mts +3 -0
- package/resources/email/ip-pools/index.d.mts.map +1 -0
- package/resources/email/ip-pools/index.d.ts +3 -0
- package/resources/email/ip-pools/index.d.ts.map +1 -0
- package/resources/email/ip-pools/index.js +9 -0
- package/resources/email/ip-pools/index.js.map +1 -0
- package/resources/email/ip-pools/index.mjs +4 -0
- package/resources/email/ip-pools/index.mjs.map +1 -0
- package/resources/email/ip-pools/ip-pools.d.mts +184 -0
- package/resources/email/ip-pools/ip-pools.d.mts.map +1 -0
- package/resources/email/ip-pools/ip-pools.d.ts +184 -0
- package/resources/email/ip-pools/ip-pools.d.ts.map +1 -0
- package/resources/email/ip-pools/ip-pools.js +102 -0
- package/resources/email/ip-pools/ip-pools.js.map +1 -0
- package/resources/email/ip-pools/ip-pools.mjs +97 -0
- package/resources/email/ip-pools/ip-pools.mjs.map +1 -0
- package/resources/email/ip-pools/ips.d.mts +83 -0
- package/resources/email/ip-pools/ips.d.mts.map +1 -0
- package/resources/email/ip-pools/ips.d.ts +83 -0
- package/resources/email/ip-pools/ips.d.ts.map +1 -0
- package/resources/email/ip-pools/ips.js +54 -0
- package/resources/email/ip-pools/ips.js.map +1 -0
- package/resources/email/ip-pools/ips.mjs +50 -0
- package/resources/email/ip-pools/ips.mjs.map +1 -0
- package/resources/email/ip-pools.d.mts +2 -0
- package/resources/email/ip-pools.d.mts.map +1 -0
- package/resources/email/ip-pools.d.ts +2 -0
- package/resources/email/ip-pools.d.ts.map +1 -0
- package/resources/email/ip-pools.js +6 -0
- package/resources/email/ip-pools.js.map +1 -0
- package/resources/email/ip-pools.mjs +3 -0
- package/resources/email/ip-pools.mjs.map +1 -0
- package/resources/email.d.mts +2 -0
- package/resources/email.d.mts.map +1 -0
- package/resources/email.d.ts +2 -0
- package/resources/email.d.ts.map +1 -0
- package/resources/email.js +6 -0
- package/resources/email.js.map +1 -0
- package/resources/email.mjs +3 -0
- package/resources/email.mjs.map +1 -0
- package/resources/fax-applications.d.mts +6 -6
- package/resources/fax-applications.d.ts +6 -6
- package/resources/fqdn-connections/fqdn-connections.d.mts +2 -2
- package/resources/fqdn-connections/fqdn-connections.d.ts +2 -2
- package/resources/index.d.mts +8 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +16 -4
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +6 -0
- package/resources/index.mjs.map +1 -1
- package/resources/ip-connections.d.mts +4 -4
- package/resources/ip-connections.d.ts +4 -4
- package/resources/messaging-profiles/index.d.mts +1 -1
- package/resources/messaging-profiles/index.d.mts.map +1 -1
- package/resources/messaging-profiles/index.d.ts +1 -1
- package/resources/messaging-profiles/index.d.ts.map +1 -1
- package/resources/messaging-profiles/index.js.map +1 -1
- package/resources/messaging-profiles/index.mjs.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.mts +26 -1
- package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.ts +26 -1
- package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.mjs.map +1 -1
- package/resources/network-routes.d.mts +257 -0
- package/resources/network-routes.d.mts.map +1 -0
- package/resources/network-routes.d.ts +257 -0
- package/resources/network-routes.d.ts.map +1 -0
- package/resources/network-routes.js +83 -0
- package/resources/network-routes.js.map +1 -0
- package/resources/network-routes.mjs +79 -0
- package/resources/network-routes.mjs.map +1 -0
- package/resources/pay-connectors.d.mts +378 -0
- package/resources/pay-connectors.d.mts.map +1 -0
- package/resources/pay-connectors.d.ts +378 -0
- package/resources/pay-connectors.d.ts.map +1 -0
- package/resources/pay-connectors.js +116 -0
- package/resources/pay-connectors.js.map +1 -0
- package/resources/pay-connectors.mjs +112 -0
- package/resources/pay-connectors.mjs.map +1 -0
- package/resources/public-internet-gateways.d.mts +0 -8
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +0 -8
- package/resources/public-internet-gateways.d.ts.map +1 -1
- package/resources/spend-limits.d.mts +150 -32
- package/resources/spend-limits.d.mts.map +1 -1
- package/resources/spend-limits.d.ts +150 -32
- package/resources/spend-limits.d.ts.map +1 -1
- package/resources/spend-limits.js +26 -7
- package/resources/spend-limits.js.map +1 -1
- package/resources/spend-limits.mjs +26 -7
- package/resources/spend-limits.mjs.map +1 -1
- package/resources/texml-applications.d.mts +6 -6
- package/resources/texml-applications.d.ts +6 -6
- package/resources/text-to-speech/text-to-speech.d.mts +1 -6
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +1 -6
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-speech/text-to-speech.js +1 -2
- package/resources/text-to-speech/text-to-speech.js.map +1 -1
- package/resources/text-to-speech/text-to-speech.mjs +1 -2
- package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
- package/resources/tunnels/actions.d.mts +29 -0
- package/resources/tunnels/actions.d.mts.map +1 -0
- package/resources/tunnels/actions.d.ts +29 -0
- package/resources/tunnels/actions.d.ts.map +1 -0
- package/resources/tunnels/actions.js +28 -0
- package/resources/tunnels/actions.js.map +1 -0
- package/resources/tunnels/actions.mjs +24 -0
- package/resources/tunnels/actions.mjs.map +1 -0
- package/resources/tunnels/index.d.mts +3 -0
- package/resources/tunnels/index.d.mts.map +1 -0
- package/resources/tunnels/index.d.ts +3 -0
- package/resources/tunnels/index.d.ts.map +1 -0
- package/resources/tunnels/index.js +9 -0
- package/resources/tunnels/index.js.map +1 -0
- package/resources/tunnels/index.mjs +4 -0
- package/resources/tunnels/index.mjs.map +1 -0
- package/resources/tunnels/tunnels.d.mts +194 -0
- package/resources/tunnels/tunnels.d.mts.map +1 -0
- package/resources/tunnels/tunnels.d.ts +194 -0
- package/resources/tunnels/tunnels.d.ts.map +1 -0
- package/resources/tunnels/tunnels.js +82 -0
- package/resources/tunnels/tunnels.js.map +1 -0
- package/resources/tunnels/tunnels.mjs +77 -0
- package/resources/tunnels/tunnels.mjs.map +1 -0
- package/resources/tunnels.d.mts +2 -0
- package/resources/tunnels.d.mts.map +1 -0
- package/resources/tunnels.d.ts +2 -0
- package/resources/tunnels.d.ts.map +1 -0
- package/resources/tunnels.js +6 -0
- package/resources/tunnels.js.map +1 -0
- package/resources/tunnels.mjs +3 -0
- package/resources/tunnels.mjs.map +1 -0
- package/resources/voice-clones.d.mts +54 -8
- package/resources/voice-clones.d.mts.map +1 -1
- package/resources/voice-clones.d.ts +54 -8
- package/resources/voice-clones.d.ts.map +1 -1
- package/resources/voice-clones.js +6 -5
- package/resources/voice-clones.js.map +1 -1
- package/resources/voice-clones.mjs +6 -5
- package/resources/voice-clones.mjs.map +1 -1
- package/resources/whatsapp/hosted-signups.d.mts +2 -1
- package/resources/whatsapp/hosted-signups.d.mts.map +1 -1
- package/resources/whatsapp/hosted-signups.d.ts +2 -1
- package/resources/whatsapp/hosted-signups.d.ts.map +1 -1
- package/resources/wireguard-interfaces.d.mts +0 -8
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +0 -8
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/src/client.ts +126 -0
- package/src/resources/addresses/actions.ts +23 -4
- package/src/resources/ai/ai.ts +6 -0
- package/src/resources/ai/assistants/assistants.ts +31 -24
- package/src/resources/ai/avatars.ts +9 -9
- package/src/resources/ai/index.ts +1 -0
- package/src/resources/ai/tests/index.ts +5 -0
- package/src/resources/ai/tests/schedules/index.ts +4 -0
- package/src/resources/ai/tests/schedules/schedules.ts +15 -0
- package/src/resources/ai/tests/schedules/v1/cron-jobs.ts +248 -0
- package/src/resources/ai/tests/schedules/v1/index.ts +12 -0
- package/src/resources/ai/tests/schedules/v1/v1.ts +31 -0
- package/src/resources/ai/tests/schedules/v1.ts +3 -0
- package/src/resources/ai/tests/schedules.ts +3 -0
- package/src/resources/ai/tests/test-framework/index.ts +4 -0
- package/src/resources/ai/tests/test-framework/test-framework.ts +15 -0
- package/src/resources/ai/tests/test-framework/v1/aiagents.ts +304 -0
- package/src/resources/ai/tests/test-framework/v1/index.ts +54 -0
- package/src/resources/ai/tests/test-framework/v1/metrics.ts +491 -0
- package/src/resources/ai/tests/test-framework/v1/results.ts +304 -0
- package/src/resources/ai/tests/test-framework/v1/scenarios.ts +774 -0
- package/src/resources/ai/tests/test-framework/v1/v1.ts +214 -0
- package/src/resources/ai/tests/test-framework/v1.ts +3 -0
- package/src/resources/ai/tests/test-framework.ts +3 -0
- package/src/resources/ai/tests/tests.ts +21 -0
- package/src/resources/ai/tests.ts +3 -0
- package/src/resources/artifact-downloads.ts +39 -0
- package/src/resources/bot-challenge.ts +1 -1
- package/src/resources/bot-sessions.ts +1 -1
- package/src/resources/bot-signup.ts +2 -2
- package/src/resources/browser-sessions/actions.ts +778 -0
- package/src/resources/browser-sessions/browser-sessions.ts +278 -0
- package/src/resources/browser-sessions/index.ts +31 -0
- package/src/resources/browser-sessions.ts +3 -0
- package/src/resources/call-control-applications.ts +2 -2
- package/src/resources/calls/actions.ts +38 -27
- package/src/resources/conferences/actions.ts +3 -2
- package/src/resources/email/dedicated-ips/actions.ts +87 -0
- package/src/resources/email/dedicated-ips/dedicated-ips.ts +563 -0
- package/src/resources/email/dedicated-ips/index.ts +13 -0
- package/src/resources/email/dedicated-ips.ts +3 -0
- package/src/resources/email/email.ts +55 -0
- package/src/resources/email/index.ts +22 -0
- package/src/resources/email/ip-pools/index.ts +12 -0
- package/src/resources/email/ip-pools/ip-pools.ts +247 -0
- package/src/resources/email/ip-pools/ips.ts +112 -0
- package/src/resources/email/ip-pools.ts +3 -0
- package/src/resources/email.ts +3 -0
- package/src/resources/fax-applications.ts +6 -6
- package/src/resources/fqdn-connections/fqdn-connections.ts +2 -2
- package/src/resources/index.ts +46 -0
- package/src/resources/ip-connections.ts +4 -4
- package/src/resources/messaging-profiles/index.ts +1 -0
- package/src/resources/messaging-profiles/messaging-profiles.ts +31 -0
- package/src/resources/network-routes.ts +332 -0
- package/src/resources/pay-connectors.ts +482 -0
- package/src/resources/public-internet-gateways.ts +0 -10
- package/src/resources/spend-limits.ts +179 -36
- package/src/resources/texml-applications.ts +6 -6
- package/src/resources/text-to-speech/text-to-speech.ts +1 -7
- package/src/resources/tunnels/actions.ts +36 -0
- package/src/resources/tunnels/index.ts +13 -0
- package/src/resources/tunnels/tunnels.ts +260 -0
- package/src/resources/tunnels.ts +3 -0
- package/src/resources/voice-clones.ts +88 -8
- package/src/resources/whatsapp/hosted-signups.ts +2 -1
- package/src/resources/wireguard-interfaces.ts +0 -10
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/client.ts
CHANGED
|
@@ -80,6 +80,7 @@ import {
|
|
|
80
80
|
AlphanumericSenderIDsDefaultFlatPagination,
|
|
81
81
|
MessagingPaginationMeta0b38e7044b,
|
|
82
82
|
} from './resources/alphanumeric-sender-ids';
|
|
83
|
+
import { ArtifactDownloadRetrieveParams, ArtifactDownloads } from './resources/artifact-downloads';
|
|
83
84
|
import {
|
|
84
85
|
AuditEventListParams,
|
|
85
86
|
AuditEventListResponse,
|
|
@@ -572,6 +573,16 @@ import {
|
|
|
572
573
|
NetworkCoverageListResponse,
|
|
573
574
|
NetworkCoverageListResponsesDefaultFlatPagination,
|
|
574
575
|
} from './resources/network-coverage';
|
|
576
|
+
import {
|
|
577
|
+
NetappsCursorPaginationMeta,
|
|
578
|
+
NetworkRoute,
|
|
579
|
+
NetworkRouteCreateParams,
|
|
580
|
+
NetworkRouteCreateResponse,
|
|
581
|
+
NetworkRouteListParams,
|
|
582
|
+
NetworkRouteListResponse,
|
|
583
|
+
NetworkRouteRetrieveResponse,
|
|
584
|
+
NetworkRoutes,
|
|
585
|
+
} from './resources/network-routes';
|
|
575
586
|
import {
|
|
576
587
|
NoiseSuppressionEngineListResponse,
|
|
577
588
|
NoiseSuppressionEngines,
|
|
@@ -725,6 +736,16 @@ import {
|
|
|
725
736
|
TrafficType,
|
|
726
737
|
UsagePaymentMethod,
|
|
727
738
|
} from './resources/outbound-voice-profiles';
|
|
739
|
+
import {
|
|
740
|
+
GenericPayConnectorConfig,
|
|
741
|
+
PayConnector,
|
|
742
|
+
PayConnectorCreateParams,
|
|
743
|
+
PayConnectorListParams,
|
|
744
|
+
PayConnectorResponse,
|
|
745
|
+
PayConnectorUpdateParams,
|
|
746
|
+
PayConnectors,
|
|
747
|
+
PayConnectorsEmailBracketCursorPagination,
|
|
748
|
+
} from './resources/pay-connectors';
|
|
728
749
|
import {
|
|
729
750
|
PhoneNumbersRegulatoryRequirementRetrieveParams,
|
|
730
751
|
PhoneNumbersRegulatoryRequirementRetrieveResponse,
|
|
@@ -892,6 +913,7 @@ import {
|
|
|
892
913
|
} from './resources/siprec-connectors';
|
|
893
914
|
import {
|
|
894
915
|
SpendLimit,
|
|
916
|
+
SpendLimitBlock,
|
|
895
917
|
SpendLimitCreateParams,
|
|
896
918
|
SpendLimitDeleteParams,
|
|
897
919
|
SpendLimitListResponse,
|
|
@@ -1289,6 +1311,18 @@ import {
|
|
|
1289
1311
|
ModelMetadata,
|
|
1290
1312
|
ModelsResponse,
|
|
1291
1313
|
} from './resources/ai/ai';
|
|
1314
|
+
import {
|
|
1315
|
+
BrowserSessionCreateParams,
|
|
1316
|
+
BrowserSessionCreateResponse,
|
|
1317
|
+
BrowserSessionDeleteResponse,
|
|
1318
|
+
BrowserSessionListParams,
|
|
1319
|
+
BrowserSessionListResponse,
|
|
1320
|
+
BrowserSessionRetrieveArtifactParams,
|
|
1321
|
+
BrowserSessionRetrieveArtifactResponse,
|
|
1322
|
+
BrowserSessionRetrieveResponse,
|
|
1323
|
+
BrowserSessions,
|
|
1324
|
+
Session,
|
|
1325
|
+
} from './resources/browser-sessions/browser-sessions';
|
|
1292
1326
|
import { BundlePricing } from './resources/bundle-pricing/bundle-pricing';
|
|
1293
1327
|
import {
|
|
1294
1328
|
CallAssistantRequest,
|
|
@@ -1443,6 +1477,7 @@ import {
|
|
|
1443
1477
|
EmailValidationCreateResponse,
|
|
1444
1478
|
EmailValidations,
|
|
1445
1479
|
} from './resources/email-validations/email-validations';
|
|
1480
|
+
import { Email } from './resources/email/email';
|
|
1446
1481
|
import {
|
|
1447
1482
|
BillingContact,
|
|
1448
1483
|
EnterpriseCreateParams,
|
|
@@ -1600,6 +1635,7 @@ import {
|
|
|
1600
1635
|
MessagingProfileUpdateParams,
|
|
1601
1636
|
MessagingProfileUpdateResponse,
|
|
1602
1637
|
MessagingProfiles,
|
|
1638
|
+
Mm7Metadata,
|
|
1603
1639
|
NumberPoolSettings,
|
|
1604
1640
|
URLShortenerSettings,
|
|
1605
1641
|
} from './resources/messaging-profiles/messaging-profiles';
|
|
@@ -1822,6 +1858,16 @@ import {
|
|
|
1822
1858
|
TextToSpeechRetrieveSpeechParams,
|
|
1823
1859
|
} from './resources/text-to-speech/text-to-speech';
|
|
1824
1860
|
import { TtsIntegrations } from './resources/tts-integrations/tts-integrations';
|
|
1861
|
+
import {
|
|
1862
|
+
Tunnel,
|
|
1863
|
+
TunnelCreateParams,
|
|
1864
|
+
TunnelCreateResponse,
|
|
1865
|
+
TunnelListParams,
|
|
1866
|
+
TunnelListResponse,
|
|
1867
|
+
TunnelRetrieveResponse,
|
|
1868
|
+
TunnelWithToken,
|
|
1869
|
+
Tunnels,
|
|
1870
|
+
} from './resources/tunnels/tunnels';
|
|
1825
1871
|
import {
|
|
1826
1872
|
UacConnection,
|
|
1827
1873
|
UacConnectionCreateParams,
|
|
@@ -2726,6 +2772,7 @@ export class Telnyx {
|
|
|
2726
2772
|
|
|
2727
2773
|
static toFile = Uploads.toFile;
|
|
2728
2774
|
|
|
2775
|
+
browserSessions: API.BrowserSessions = new API.BrowserSessions(this);
|
|
2729
2776
|
legacy: API.Legacy = new API.Legacy(this);
|
|
2730
2777
|
oauth: API.OAuth = new API.OAuth(this);
|
|
2731
2778
|
oauthClients: API.OAuthClients = new API.OAuthClients(this);
|
|
@@ -3353,6 +3400,7 @@ export class Telnyx {
|
|
|
3353
3400
|
* - **Blocking.** When spend in a period goes above the limit (strictly greater), the product is blocked until the period ends: 00:00 UTC the next day for `daily`, 00:00 UTC on the 1st of the next month for `monthly`. A block appears within about 2 minutes (daily) or 10 minutes (monthly) of the spend being recorded.
|
|
3354
3401
|
* - **Changes apply immediately.** Creating, updating or deleting a limit checks the period's spend in the same request: raising the limit above the spend, or removing it, lifts that period's block, and lowering it below the spend blocks the product at once. The `evaluation` object in the response says what happened.
|
|
3355
3402
|
* - **Supported products.** Today only `inference` supports spend limits. A blocked account gets HTTP 403 with the error title `Inference spend limit reached` (code `10039`) on new billable chat completions, Responses, Anthropic Messages and classification requests; requests already running finish normally. Take the list of products from the list operation.
|
|
3403
|
+
* - **API key limits.** For `inference`, a limit can also apply to one API key, named by `credential_id`: the key's identifier as recorded on usage, never its secret. When the key's spend goes above its own limit, only that key is blocked, with the error title `API key spend limit reached` (code `10039`); the account's other keys keep working. The API key limits of a period cannot add up to more than the total limit when the total has an amount. Only language-model requests authenticated with an API key count toward its limit.
|
|
3356
3404
|
* - **Limits set by Telnyx.** Telnyx support can also set a limit on your account. It is listed with `origin: operator` and you can update or delete it like your own.
|
|
3357
3405
|
*/
|
|
3358
3406
|
spendLimits: API.SpendLimits = new API.SpendLimits(this);
|
|
@@ -3370,8 +3418,26 @@ export class Telnyx {
|
|
|
3370
3418
|
* Tailscale Subnet Router operations
|
|
3371
3419
|
*/
|
|
3372
3420
|
tailscaleSubnetRouters: API.TailscaleSubnetRouters = new API.TailscaleSubnetRouters(this);
|
|
3421
|
+
/**
|
|
3422
|
+
* Download screenshots and other artifacts.
|
|
3423
|
+
*/
|
|
3424
|
+
artifactDownloads: API.ArtifactDownloads = new API.ArtifactDownloads(this);
|
|
3425
|
+
email: API.Email = new API.Email(this);
|
|
3426
|
+
/**
|
|
3427
|
+
* Routes on a Network that send a CIDR to a next hop, such as a tunnel.
|
|
3428
|
+
*/
|
|
3429
|
+
networkRoutes: API.NetworkRoutes = new API.NetworkRoutes(this);
|
|
3430
|
+
/**
|
|
3431
|
+
* Generic payment connector configuration.
|
|
3432
|
+
*/
|
|
3433
|
+
payConnectors: API.PayConnectors = new API.PayConnectors(this);
|
|
3434
|
+
/**
|
|
3435
|
+
* Tunnels connect a Network to hosts behind a tunnel process within the user's network.
|
|
3436
|
+
*/
|
|
3437
|
+
tunnels: API.Tunnels = new API.Tunnels(this);
|
|
3373
3438
|
}
|
|
3374
3439
|
|
|
3440
|
+
Telnyx.BrowserSessions = BrowserSessions;
|
|
3375
3441
|
Telnyx.Legacy = Legacy;
|
|
3376
3442
|
Telnyx.OAuth = OAuth;
|
|
3377
3443
|
Telnyx.OAuthClients = OAuthClients;
|
|
@@ -3566,6 +3632,11 @@ Telnyx.SipRegistrationStatus = SipRegistrationStatus;
|
|
|
3566
3632
|
Telnyx.DialMetrics = DialMetrics;
|
|
3567
3633
|
Telnyx.TtsIntegrations = TtsIntegrations;
|
|
3568
3634
|
Telnyx.TailscaleSubnetRouters = TailscaleSubnetRouters;
|
|
3635
|
+
Telnyx.ArtifactDownloads = ArtifactDownloads;
|
|
3636
|
+
Telnyx.Email = Email;
|
|
3637
|
+
Telnyx.NetworkRoutes = NetworkRoutes;
|
|
3638
|
+
Telnyx.PayConnectors = PayConnectors;
|
|
3639
|
+
Telnyx.Tunnels = Tunnels;
|
|
3569
3640
|
|
|
3570
3641
|
export declare namespace Telnyx {
|
|
3571
3642
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -3642,6 +3713,19 @@ export declare namespace Telnyx {
|
|
|
3642
3713
|
type CloudfsCursorPaginationResponse as CloudfsCursorPaginationResponse,
|
|
3643
3714
|
};
|
|
3644
3715
|
|
|
3716
|
+
export {
|
|
3717
|
+
BrowserSessions as BrowserSessions,
|
|
3718
|
+
type Session as Session,
|
|
3719
|
+
type BrowserSessionCreateResponse as BrowserSessionCreateResponse,
|
|
3720
|
+
type BrowserSessionRetrieveResponse as BrowserSessionRetrieveResponse,
|
|
3721
|
+
type BrowserSessionListResponse as BrowserSessionListResponse,
|
|
3722
|
+
type BrowserSessionDeleteResponse as BrowserSessionDeleteResponse,
|
|
3723
|
+
type BrowserSessionRetrieveArtifactResponse as BrowserSessionRetrieveArtifactResponse,
|
|
3724
|
+
type BrowserSessionRetrieveArtifactParams as BrowserSessionRetrieveArtifactParams,
|
|
3725
|
+
type BrowserSessionListParams as BrowserSessionListParams,
|
|
3726
|
+
type BrowserSessionCreateParams as BrowserSessionCreateParams,
|
|
3727
|
+
};
|
|
3728
|
+
|
|
3645
3729
|
export { Legacy as Legacy };
|
|
3646
3730
|
|
|
3647
3731
|
export {
|
|
@@ -4485,6 +4569,7 @@ export declare namespace Telnyx {
|
|
|
4485
4569
|
type MessagingMessagingProfile as MessagingMessagingProfile,
|
|
4486
4570
|
type MessagingProfile as MessagingProfile,
|
|
4487
4571
|
type MessagingProfileFeatures as MessagingProfileFeatures,
|
|
4572
|
+
type Mm7Metadata as Mm7Metadata,
|
|
4488
4573
|
type NumberPoolSettings as NumberPoolSettings,
|
|
4489
4574
|
type URLShortenerSettings as URLShortenerSettings,
|
|
4490
4575
|
type MessagingProfileCreateResponse as MessagingProfileCreateResponse,
|
|
@@ -5651,6 +5736,7 @@ export declare namespace Telnyx {
|
|
|
5651
5736
|
export {
|
|
5652
5737
|
SpendLimits as SpendLimits,
|
|
5653
5738
|
type SpendLimit as SpendLimit,
|
|
5739
|
+
type SpendLimitBlock as SpendLimitBlock,
|
|
5654
5740
|
type SpendLimitPeriod as SpendLimitPeriod,
|
|
5655
5741
|
type SpendLimitResponse as SpendLimitResponse,
|
|
5656
5742
|
type SpendLimitListResponse as SpendLimitListResponse,
|
|
@@ -5689,6 +5775,46 @@ export declare namespace Telnyx {
|
|
|
5689
5775
|
type TailscaleSubnetRouterUpdateParams as TailscaleSubnetRouterUpdateParams,
|
|
5690
5776
|
};
|
|
5691
5777
|
|
|
5778
|
+
export {
|
|
5779
|
+
ArtifactDownloads as ArtifactDownloads,
|
|
5780
|
+
type ArtifactDownloadRetrieveParams as ArtifactDownloadRetrieveParams,
|
|
5781
|
+
};
|
|
5782
|
+
|
|
5783
|
+
export { Email as Email };
|
|
5784
|
+
|
|
5785
|
+
export {
|
|
5786
|
+
NetworkRoutes as NetworkRoutes,
|
|
5787
|
+
type NetappsCursorPaginationMeta as NetappsCursorPaginationMeta,
|
|
5788
|
+
type NetworkRoute as NetworkRoute,
|
|
5789
|
+
type NetworkRouteCreateResponse as NetworkRouteCreateResponse,
|
|
5790
|
+
type NetworkRouteRetrieveResponse as NetworkRouteRetrieveResponse,
|
|
5791
|
+
type NetworkRouteListResponse as NetworkRouteListResponse,
|
|
5792
|
+
type NetworkRouteListParams as NetworkRouteListParams,
|
|
5793
|
+
type NetworkRouteCreateParams as NetworkRouteCreateParams,
|
|
5794
|
+
};
|
|
5795
|
+
|
|
5796
|
+
export {
|
|
5797
|
+
PayConnectors as PayConnectors,
|
|
5798
|
+
type GenericPayConnectorConfig as GenericPayConnectorConfig,
|
|
5799
|
+
type PayConnector as PayConnector,
|
|
5800
|
+
type PayConnectorResponse as PayConnectorResponse,
|
|
5801
|
+
type PayConnectorsEmailBracketCursorPagination as PayConnectorsEmailBracketCursorPagination,
|
|
5802
|
+
type PayConnectorListParams as PayConnectorListParams,
|
|
5803
|
+
type PayConnectorCreateParams as PayConnectorCreateParams,
|
|
5804
|
+
type PayConnectorUpdateParams as PayConnectorUpdateParams,
|
|
5805
|
+
};
|
|
5806
|
+
|
|
5807
|
+
export {
|
|
5808
|
+
Tunnels as Tunnels,
|
|
5809
|
+
type Tunnel as Tunnel,
|
|
5810
|
+
type TunnelWithToken as TunnelWithToken,
|
|
5811
|
+
type TunnelCreateResponse as TunnelCreateResponse,
|
|
5812
|
+
type TunnelRetrieveResponse as TunnelRetrieveResponse,
|
|
5813
|
+
type TunnelListResponse as TunnelListResponse,
|
|
5814
|
+
type TunnelListParams as TunnelListParams,
|
|
5815
|
+
type TunnelCreateParams as TunnelCreateParams,
|
|
5816
|
+
};
|
|
5817
|
+
|
|
5692
5818
|
export type APIError = API.APIError;
|
|
5693
5819
|
export type AvailablePhoneNumbersMetadata = API.AvailablePhoneNumbersMetadata;
|
|
5694
5820
|
export type AzureVoiceSettings = API.AzureVoiceSettings;
|
|
@@ -78,10 +78,7 @@ export interface ActionValidateResponse {
|
|
|
78
78
|
|
|
79
79
|
export namespace ActionValidateResponse {
|
|
80
80
|
export interface Data {
|
|
81
|
-
|
|
82
|
-
* Indicates whether an address is valid or invalid.
|
|
83
|
-
*/
|
|
84
|
-
result: 'valid' | 'invalid';
|
|
81
|
+
result: 'valid';
|
|
85
82
|
|
|
86
83
|
/**
|
|
87
84
|
* Provides normalized address when available.
|
|
@@ -107,6 +104,12 @@ export namespace ActionValidateResponse {
|
|
|
107
104
|
*/
|
|
108
105
|
administrative_area?: string;
|
|
109
106
|
|
|
107
|
+
/**
|
|
108
|
+
* The borough of the address. This field is not used for addresses in the US but
|
|
109
|
+
* is used for some international addresses.
|
|
110
|
+
*/
|
|
111
|
+
borough?: string;
|
|
112
|
+
|
|
110
113
|
/**
|
|
111
114
|
* The two-character (ISO 3166-1 alpha-2) country code of the address.
|
|
112
115
|
*/
|
|
@@ -118,12 +121,28 @@ export namespace ActionValidateResponse {
|
|
|
118
121
|
*/
|
|
119
122
|
extended_address?: string;
|
|
120
123
|
|
|
124
|
+
/**
|
|
125
|
+
* Latitude of the suggested address, when available.
|
|
126
|
+
*/
|
|
127
|
+
latitude?: number | null;
|
|
128
|
+
|
|
121
129
|
/**
|
|
122
130
|
* The locality of the address. For US addresses, this corresponds to the city of
|
|
123
131
|
* the address.
|
|
124
132
|
*/
|
|
125
133
|
locality?: string;
|
|
126
134
|
|
|
135
|
+
/**
|
|
136
|
+
* Longitude of the suggested address, when available.
|
|
137
|
+
*/
|
|
138
|
+
longitude?: number | null;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* The neighborhood of the address. This field is not used for addresses in the US
|
|
142
|
+
* but is used for some international addresses.
|
|
143
|
+
*/
|
|
144
|
+
neighborhood?: string;
|
|
145
|
+
|
|
127
146
|
/**
|
|
128
147
|
* The postal code of the address.
|
|
129
148
|
*/
|
package/src/resources/ai/ai.ts
CHANGED
|
@@ -193,6 +193,8 @@ import {
|
|
|
193
193
|
} from './missions/missions';
|
|
194
194
|
import * as OpenAIAPI from './openai/openai';
|
|
195
195
|
import { OpenAI, OpenAICreateResponseParams, OpenAICreateResponseResponse } from './openai/openai';
|
|
196
|
+
import * as TestsAPI from './tests/tests';
|
|
197
|
+
import { Tests } from './tests/tests';
|
|
196
198
|
import * as TypesafeAPI from './typesafe/typesafe';
|
|
197
199
|
import { Typesafe } from './typesafe/typesafe';
|
|
198
200
|
import { APIPromise } from '../../core/api-promise';
|
|
@@ -219,6 +221,7 @@ export class AI extends APIResource {
|
|
|
219
221
|
typesafe: TypesafeAPI.Typesafe = new TypesafeAPI.Typesafe(this._client);
|
|
220
222
|
memory: MemoryAPI.Memory = new MemoryAPI.Memory(this._client);
|
|
221
223
|
avatars: AvatarsAPI.Avatars = new AvatarsAPI.Avatars(this._client);
|
|
224
|
+
tests: TestsAPI.Tests = new TestsAPI.Tests(this._client);
|
|
222
225
|
|
|
223
226
|
/**
|
|
224
227
|
* Generate a summary of a file's contents.
|
|
@@ -674,6 +677,7 @@ AI.Knowledge = Knowledge;
|
|
|
674
677
|
AI.Typesafe = Typesafe;
|
|
675
678
|
AI.Memory = Memory;
|
|
676
679
|
AI.Avatars = Avatars;
|
|
680
|
+
AI.Tests = Tests;
|
|
677
681
|
|
|
678
682
|
export declare namespace AI {
|
|
679
683
|
export {
|
|
@@ -887,4 +891,6 @@ export declare namespace AI {
|
|
|
887
891
|
type AvatarCreateParams as AvatarCreateParams,
|
|
888
892
|
type AvatarUpdateParams as AvatarUpdateParams,
|
|
889
893
|
};
|
|
894
|
+
|
|
895
|
+
export { Tests as Tests };
|
|
890
896
|
}
|
|
@@ -3804,9 +3804,10 @@ export interface TranscriptionSettings {
|
|
|
3804
3804
|
* auto-detect; set `language` from Speechmatics' Realtime language list
|
|
3805
3805
|
* (defaults to `en`).
|
|
3806
3806
|
* - `azure/fast` is a multilingual Azure transcription model.
|
|
3807
|
-
* - `assemblyai/universal-3-
|
|
3808
|
-
* configurable turn detection. The legacy
|
|
3809
|
-
*
|
|
3807
|
+
* - `assemblyai/universal-3-6-pro` (AssemblyAI Universal-3.6 Pro) is a
|
|
3808
|
+
* multilingual streaming model with configurable turn detection. The legacy
|
|
3809
|
+
* aliases `assemblyai/universal-3-5-pro` and `assemblyai/universal-streaming`
|
|
3810
|
+
* are still accepted and run the same model.
|
|
3810
3811
|
* - `xai/grok-stt` is a multilingual Grok STT model.
|
|
3811
3812
|
* - `soniox/stt-rt-v4` and `soniox/stt-rt-v5` are multilingual streaming models
|
|
3812
3813
|
* with automatic language detection, configurable endpointing, term biasing
|
|
@@ -3829,6 +3830,7 @@ export interface TranscriptionSettings {
|
|
|
3829
3830
|
| 'speechmatics/standard'
|
|
3830
3831
|
| 'speechmatics/linden-1'
|
|
3831
3832
|
| 'azure/fast'
|
|
3833
|
+
| 'assemblyai/universal-3-6-pro'
|
|
3832
3834
|
| 'assemblyai/universal-3-5-pro'
|
|
3833
3835
|
| 'assemblyai/universal-streaming'
|
|
3834
3836
|
| 'xai/grok-stt'
|
|
@@ -3861,11 +3863,11 @@ export namespace TranscriptionSettings {
|
|
|
3861
3863
|
/**
|
|
3862
3864
|
* The language booster's model. It must be the same kind of model as
|
|
3863
3865
|
* `transcription.model`: both streaming (`deepgram/flux`, `deepgram/nova-3`,
|
|
3864
|
-
* `deepgram/nova-2`, `assemblyai/universal-3-
|
|
3865
|
-
* `assemblyai/universal-
|
|
3866
|
-
* `soniox/stt-rt-v5`, `humain/realtime`,
|
|
3867
|
-
* (`azure/fast`, `nvidia/parakeet-v3`,
|
|
3868
|
-
* `cohere/ar-stt`, `distil-whisper/distil-large-v2`,
|
|
3866
|
+
* `deepgram/nova-2`, `assemblyai/universal-3-6-pro` or its legacy aliases
|
|
3867
|
+
* `assemblyai/universal-3-5-pro` and `assemblyai/universal-streaming`,
|
|
3868
|
+
* `xai/grok-stt`, `soniox/stt-rt-v4`, `soniox/stt-rt-v5`, `humain/realtime`,
|
|
3869
|
+
* `reson8/turns`) or both non-streaming (`azure/fast`, `nvidia/parakeet-v3`,
|
|
3870
|
+
* `omi-health/omi-med-stt-v1`, `cohere/ar-stt`, `distil-whisper/distil-large-v2`,
|
|
3869
3871
|
* `openai/whisper-large-v3-turbo`, `telnyx/basira`). It can be the same model as
|
|
3870
3872
|
* `transcription.model` on a different `language`.
|
|
3871
3873
|
*/
|
|
@@ -3874,6 +3876,7 @@ export namespace TranscriptionSettings {
|
|
|
3874
3876
|
| 'deepgram/nova-3'
|
|
3875
3877
|
| 'deepgram/nova-2'
|
|
3876
3878
|
| 'azure/fast'
|
|
3879
|
+
| 'assemblyai/universal-3-6-pro'
|
|
3877
3880
|
| 'assemblyai/universal-3-5-pro'
|
|
3878
3881
|
| 'assemblyai/universal-streaming'
|
|
3879
3882
|
| 'xai/grok-stt'
|
|
@@ -3936,14 +3939,16 @@ export namespace TranscriptionSettings {
|
|
|
3936
3939
|
/**
|
|
3937
3940
|
* The fallback model. It must be a streaming model other than
|
|
3938
3941
|
* `transcription.model` and the other fallbacks: `deepgram/flux`,
|
|
3939
|
-
* `deepgram/nova-3`, `deepgram/nova-2`, `assemblyai/universal-3-
|
|
3940
|
-
* legacy
|
|
3941
|
-
* `
|
|
3942
|
+
* `deepgram/nova-3`, `deepgram/nova-2`, `assemblyai/universal-3-6-pro` (or its
|
|
3943
|
+
* legacy aliases `assemblyai/universal-3-5-pro` and
|
|
3944
|
+
* `assemblyai/universal-streaming`), `xai/grok-stt`, `soniox/stt-rt-v4`,
|
|
3945
|
+
* `soniox/stt-rt-v5`, `humain/realtime`, or `reson8/turns`.
|
|
3942
3946
|
*/
|
|
3943
3947
|
model:
|
|
3944
3948
|
| 'deepgram/flux'
|
|
3945
3949
|
| 'deepgram/nova-3'
|
|
3946
3950
|
| 'deepgram/nova-2'
|
|
3951
|
+
| 'assemblyai/universal-3-6-pro'
|
|
3947
3952
|
| 'assemblyai/universal-3-5-pro'
|
|
3948
3953
|
| 'assemblyai/universal-streaming'
|
|
3949
3954
|
| 'xai/grok-stt'
|
|
@@ -4026,9 +4031,9 @@ export interface TranscriptionSettingsConfig {
|
|
|
4026
4031
|
* transcription, used by Deepgram, Reson8, Speechmatics Linden 1 and AssemblyAI
|
|
4027
4032
|
* models. Helps improve accuracy for domain-specific terminology, proper nouns, or
|
|
4028
4033
|
* uncommon words. At most 1000 characters in total. For
|
|
4029
|
-
* assemblyai/universal-3-
|
|
4030
|
-
* assemblyai/universal-streaming), also at most
|
|
4031
|
-
* each. This field may be templated with
|
|
4034
|
+
* assemblyai/universal-3-6-pro (and its legacy aliases
|
|
4035
|
+
* assemblyai/universal-3-5-pro and assemblyai/universal-streaming), also at most
|
|
4036
|
+
* 100 terms of up to 50 characters each. This field may be templated with
|
|
4032
4037
|
* [dynamic variables](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables)
|
|
4033
4038
|
* using mustache syntax (e.g. `Telnyx,{{customer_name}},VoIP`). Variables are
|
|
4034
4039
|
* resolved at call time before the value is sent to the speech-to-text engine.
|
|
@@ -4050,26 +4055,28 @@ export interface TranscriptionSettingsConfig {
|
|
|
4050
4055
|
max_endpoint_delay_ms?: number;
|
|
4051
4056
|
|
|
4052
4057
|
/**
|
|
4053
|
-
* Available only for assemblyai/universal-3-
|
|
4054
|
-
* assemblyai/universal-streaming). Maximum
|
|
4055
|
-
* before forcing an end of turn.
|
|
4058
|
+
* Available only for assemblyai/universal-3-6-pro (and its legacy aliases
|
|
4059
|
+
* assemblyai/universal-3-5-pro and assemblyai/universal-streaming). Maximum
|
|
4060
|
+
* duration of silence in milliseconds before forcing an end of turn.
|
|
4056
4061
|
*/
|
|
4057
4062
|
max_turn_silence?: number;
|
|
4058
4063
|
|
|
4059
4064
|
/**
|
|
4060
|
-
* Available only for assemblyai/universal-3-
|
|
4061
|
-
* assemblyai/universal-streaming). Minimum
|
|
4062
|
-
* before a turn can end. Must be less than or
|
|
4065
|
+
* Available only for assemblyai/universal-3-6-pro (and its legacy aliases
|
|
4066
|
+
* assemblyai/universal-3-5-pro and assemblyai/universal-streaming). Minimum
|
|
4067
|
+
* duration of silence in milliseconds before a turn can end. Must be less than or
|
|
4068
|
+
* equal to max_turn_silence.
|
|
4063
4069
|
*/
|
|
4064
4070
|
min_turn_silence?: number;
|
|
4065
4071
|
|
|
4066
4072
|
numerals?: boolean;
|
|
4067
4073
|
|
|
4068
4074
|
/**
|
|
4069
|
-
* Available only for assemblyai/universal-3-
|
|
4070
|
-
* assemblyai/universal-streaming). Context about
|
|
4071
|
-
* terms) to improve transcription; describe the
|
|
4072
|
-
* Leave empty unless needed. At most 1750
|
|
4075
|
+
* Available only for assemblyai/universal-3-6-pro (and its legacy aliases
|
|
4076
|
+
* assemblyai/universal-3-5-pro and assemblyai/universal-streaming). Context about
|
|
4077
|
+
* the conversation (domain, names, terms) to improve transcription; describe the
|
|
4078
|
+
* content, do not give instructions. Leave empty unless needed. At most 1750
|
|
4079
|
+
* characters.
|
|
4073
4080
|
*/
|
|
4074
4081
|
prompt?: string;
|
|
4075
4082
|
|
|
@@ -44,15 +44,15 @@ export class Avatars extends APIResource {
|
|
|
44
44
|
* is stored independently from the rendering model and background, which are
|
|
45
45
|
* selected where the avatar is consumed. Supported image types are JPEG, PNG, and
|
|
46
46
|
* WebP. Images may be up to 10 MiB, must be between 256 and 8192 pixels on each
|
|
47
|
-
* side, and may contain at most 40 megapixels.
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* content.
|
|
47
|
+
* side, and may contain at most 40 megapixels. A per-organization custom-avatar
|
|
48
|
+
* quota applies; the create request returns an error when the quota is reached.
|
|
49
|
+
* For best results, use a 16:9 landscape image, preferably 1920 by 1080 pixels and
|
|
50
|
+
* at least 1280 by 720 pixels. Show one centered, front-facing person from the
|
|
51
|
+
* shoulders up, keep the full head and hair visible with space around it, and use
|
|
52
|
+
* a sharp, evenly lit image with unobstructed eyes and mouth. Use a transparent
|
|
53
|
+
* PNG or WebP when the avatar will be combined with a selectable background. These
|
|
54
|
+
* composition recommendations are not enforced in the first release; the first
|
|
55
|
+
* release does not validate the number of faces, pose, or image content.
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
58
|
* ```ts
|
|
@@ -174,6 +174,7 @@ export {
|
|
|
174
174
|
type MissionDataDefaultFlatPagination,
|
|
175
175
|
} from './missions/index';
|
|
176
176
|
export { OpenAI, type OpenAICreateResponseResponse, type OpenAICreateResponseParams } from './openai/index';
|
|
177
|
+
export { Tests } from './tests/index';
|
|
177
178
|
export {
|
|
178
179
|
Tools,
|
|
179
180
|
type PayToolParams,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../../core/resource';
|
|
4
|
+
import * as V1API from './v1/v1';
|
|
5
|
+
import { V1 } from './v1/v1';
|
|
6
|
+
|
|
7
|
+
export class Schedules extends APIResource {
|
|
8
|
+
v1: V1API.V1 = new V1API.V1(this._client);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
Schedules.V1 = V1;
|
|
12
|
+
|
|
13
|
+
export declare namespace Schedules {
|
|
14
|
+
export { V1 as V1 };
|
|
15
|
+
}
|