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.
Files changed (534) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/client.d.mts +35 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +35 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js +31 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +31 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/addresses/actions.d.mts +19 -4
  12. package/resources/addresses/actions.d.mts.map +1 -1
  13. package/resources/addresses/actions.d.ts +19 -4
  14. package/resources/addresses/actions.d.ts.map +1 -1
  15. package/resources/ai/ai.d.mts +4 -0
  16. package/resources/ai/ai.d.mts.map +1 -1
  17. package/resources/ai/ai.d.ts +4 -0
  18. package/resources/ai/ai.d.ts.map +1 -1
  19. package/resources/ai/ai.js +4 -0
  20. package/resources/ai/ai.js.map +1 -1
  21. package/resources/ai/ai.mjs +4 -0
  22. package/resources/ai/ai.mjs.map +1 -1
  23. package/resources/ai/assistants/assistants.d.mts +31 -27
  24. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  25. package/resources/ai/assistants/assistants.d.ts +31 -27
  26. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  27. package/resources/ai/assistants/assistants.js.map +1 -1
  28. package/resources/ai/assistants/assistants.mjs.map +1 -1
  29. package/resources/ai/avatars.d.mts +9 -9
  30. package/resources/ai/avatars.d.ts +9 -9
  31. package/resources/ai/avatars.js +9 -9
  32. package/resources/ai/avatars.mjs +9 -9
  33. package/resources/ai/index.d.mts +1 -0
  34. package/resources/ai/index.d.mts.map +1 -1
  35. package/resources/ai/index.d.ts +1 -0
  36. package/resources/ai/index.d.ts.map +1 -1
  37. package/resources/ai/index.js +5 -3
  38. package/resources/ai/index.js.map +1 -1
  39. package/resources/ai/index.mjs +1 -0
  40. package/resources/ai/index.mjs.map +1 -1
  41. package/resources/ai/tests/index.d.mts +4 -0
  42. package/resources/ai/tests/index.d.mts.map +1 -0
  43. package/resources/ai/tests/index.d.ts +4 -0
  44. package/resources/ai/tests/index.d.ts.map +1 -0
  45. package/resources/ai/tests/index.js +11 -0
  46. package/resources/ai/tests/index.js.map +1 -0
  47. package/resources/ai/tests/index.mjs +5 -0
  48. package/resources/ai/tests/index.mjs.map +1 -0
  49. package/resources/ai/tests/schedules/index.d.mts +3 -0
  50. package/resources/ai/tests/schedules/index.d.mts.map +1 -0
  51. package/resources/ai/tests/schedules/index.d.ts +3 -0
  52. package/resources/ai/tests/schedules/index.d.ts.map +1 -0
  53. package/resources/ai/tests/schedules/index.js +9 -0
  54. package/resources/ai/tests/schedules/index.js.map +1 -0
  55. package/resources/ai/tests/schedules/index.mjs +4 -0
  56. package/resources/ai/tests/schedules/index.mjs.map +1 -0
  57. package/resources/ai/tests/schedules/schedules.d.mts +10 -0
  58. package/resources/ai/tests/schedules/schedules.d.mts.map +1 -0
  59. package/resources/ai/tests/schedules/schedules.d.ts +10 -0
  60. package/resources/ai/tests/schedules/schedules.d.ts.map +1 -0
  61. package/resources/ai/tests/schedules/schedules.js +17 -0
  62. package/resources/ai/tests/schedules/schedules.js.map +1 -0
  63. package/resources/ai/tests/schedules/schedules.mjs +12 -0
  64. package/resources/ai/tests/schedules/schedules.mjs.map +1 -0
  65. package/resources/ai/tests/schedules/v1/cron-jobs.d.mts +171 -0
  66. package/resources/ai/tests/schedules/v1/cron-jobs.d.mts.map +1 -0
  67. package/resources/ai/tests/schedules/v1/cron-jobs.d.ts +171 -0
  68. package/resources/ai/tests/schedules/v1/cron-jobs.d.ts.map +1 -0
  69. package/resources/ai/tests/schedules/v1/cron-jobs.js +88 -0
  70. package/resources/ai/tests/schedules/v1/cron-jobs.js.map +1 -0
  71. package/resources/ai/tests/schedules/v1/cron-jobs.mjs +84 -0
  72. package/resources/ai/tests/schedules/v1/cron-jobs.mjs.map +1 -0
  73. package/resources/ai/tests/schedules/v1/index.d.mts +3 -0
  74. package/resources/ai/tests/schedules/v1/index.d.mts.map +1 -0
  75. package/resources/ai/tests/schedules/v1/index.d.ts +3 -0
  76. package/resources/ai/tests/schedules/v1/index.d.ts.map +1 -0
  77. package/resources/ai/tests/schedules/v1/index.js +9 -0
  78. package/resources/ai/tests/schedules/v1/index.js.map +1 -0
  79. package/resources/ai/tests/schedules/v1/index.mjs +4 -0
  80. package/resources/ai/tests/schedules/v1/index.mjs.map +1 -0
  81. package/resources/ai/tests/schedules/v1/v1.d.mts +10 -0
  82. package/resources/ai/tests/schedules/v1/v1.d.mts.map +1 -0
  83. package/resources/ai/tests/schedules/v1/v1.d.ts +10 -0
  84. package/resources/ai/tests/schedules/v1/v1.d.ts.map +1 -0
  85. package/resources/ai/tests/schedules/v1/v1.js +17 -0
  86. package/resources/ai/tests/schedules/v1/v1.js.map +1 -0
  87. package/resources/ai/tests/schedules/v1/v1.mjs +12 -0
  88. package/resources/ai/tests/schedules/v1/v1.mjs.map +1 -0
  89. package/resources/ai/tests/schedules/v1.d.mts +2 -0
  90. package/resources/ai/tests/schedules/v1.d.mts.map +1 -0
  91. package/resources/ai/tests/schedules/v1.d.ts +2 -0
  92. package/resources/ai/tests/schedules/v1.d.ts.map +1 -0
  93. package/resources/ai/tests/schedules/v1.js +6 -0
  94. package/resources/ai/tests/schedules/v1.js.map +1 -0
  95. package/resources/ai/tests/schedules/v1.mjs +3 -0
  96. package/resources/ai/tests/schedules/v1.mjs.map +1 -0
  97. package/resources/ai/tests/schedules.d.mts +2 -0
  98. package/resources/ai/tests/schedules.d.mts.map +1 -0
  99. package/resources/ai/tests/schedules.d.ts +2 -0
  100. package/resources/ai/tests/schedules.d.ts.map +1 -0
  101. package/resources/ai/tests/schedules.js +6 -0
  102. package/resources/ai/tests/schedules.js.map +1 -0
  103. package/resources/ai/tests/schedules.mjs +3 -0
  104. package/resources/ai/tests/schedules.mjs.map +1 -0
  105. package/resources/ai/tests/test-framework/index.d.mts +3 -0
  106. package/resources/ai/tests/test-framework/index.d.mts.map +1 -0
  107. package/resources/ai/tests/test-framework/index.d.ts +3 -0
  108. package/resources/ai/tests/test-framework/index.d.ts.map +1 -0
  109. package/resources/ai/tests/test-framework/index.js +9 -0
  110. package/resources/ai/tests/test-framework/index.js.map +1 -0
  111. package/resources/ai/tests/test-framework/index.mjs +4 -0
  112. package/resources/ai/tests/test-framework/index.mjs.map +1 -0
  113. package/resources/ai/tests/test-framework/test-framework.d.mts +10 -0
  114. package/resources/ai/tests/test-framework/test-framework.d.mts.map +1 -0
  115. package/resources/ai/tests/test-framework/test-framework.d.ts +10 -0
  116. package/resources/ai/tests/test-framework/test-framework.d.ts.map +1 -0
  117. package/resources/ai/tests/test-framework/test-framework.js +17 -0
  118. package/resources/ai/tests/test-framework/test-framework.js.map +1 -0
  119. package/resources/ai/tests/test-framework/test-framework.mjs +12 -0
  120. package/resources/ai/tests/test-framework/test-framework.mjs.map +1 -0
  121. package/resources/ai/tests/test-framework/v1/aiagents.d.mts +216 -0
  122. package/resources/ai/tests/test-framework/v1/aiagents.d.mts.map +1 -0
  123. package/resources/ai/tests/test-framework/v1/aiagents.d.ts +216 -0
  124. package/resources/ai/tests/test-framework/v1/aiagents.d.ts.map +1 -0
  125. package/resources/ai/tests/test-framework/v1/aiagents.js +93 -0
  126. package/resources/ai/tests/test-framework/v1/aiagents.js.map +1 -0
  127. package/resources/ai/tests/test-framework/v1/aiagents.mjs +89 -0
  128. package/resources/ai/tests/test-framework/v1/aiagents.mjs.map +1 -0
  129. package/resources/ai/tests/test-framework/v1/index.d.mts +6 -0
  130. package/resources/ai/tests/test-framework/v1/index.d.mts.map +1 -0
  131. package/resources/ai/tests/test-framework/v1/index.d.ts +6 -0
  132. package/resources/ai/tests/test-framework/v1/index.d.ts.map +1 -0
  133. package/resources/ai/tests/test-framework/v1/index.js +15 -0
  134. package/resources/ai/tests/test-framework/v1/index.js.map +1 -0
  135. package/resources/ai/tests/test-framework/v1/index.mjs +7 -0
  136. package/resources/ai/tests/test-framework/v1/index.mjs.map +1 -0
  137. package/resources/ai/tests/test-framework/v1/metrics.d.mts +339 -0
  138. package/resources/ai/tests/test-framework/v1/metrics.d.mts.map +1 -0
  139. package/resources/ai/tests/test-framework/v1/metrics.d.ts +339 -0
  140. package/resources/ai/tests/test-framework/v1/metrics.d.ts.map +1 -0
  141. package/resources/ai/tests/test-framework/v1/metrics.js +145 -0
  142. package/resources/ai/tests/test-framework/v1/metrics.js.map +1 -0
  143. package/resources/ai/tests/test-framework/v1/metrics.mjs +141 -0
  144. package/resources/ai/tests/test-framework/v1/metrics.mjs.map +1 -0
  145. package/resources/ai/tests/test-framework/v1/results.d.mts +207 -0
  146. package/resources/ai/tests/test-framework/v1/results.d.mts.map +1 -0
  147. package/resources/ai/tests/test-framework/v1/results.d.ts +207 -0
  148. package/resources/ai/tests/test-framework/v1/results.d.ts.map +1 -0
  149. package/resources/ai/tests/test-framework/v1/results.js +65 -0
  150. package/resources/ai/tests/test-framework/v1/results.js.map +1 -0
  151. package/resources/ai/tests/test-framework/v1/results.mjs +61 -0
  152. package/resources/ai/tests/test-framework/v1/results.mjs.map +1 -0
  153. package/resources/ai/tests/test-framework/v1/scenarios.d.mts +528 -0
  154. package/resources/ai/tests/test-framework/v1/scenarios.d.mts.map +1 -0
  155. package/resources/ai/tests/test-framework/v1/scenarios.d.ts +528 -0
  156. package/resources/ai/tests/test-framework/v1/scenarios.d.ts.map +1 -0
  157. package/resources/ai/tests/test-framework/v1/scenarios.js +222 -0
  158. package/resources/ai/tests/test-framework/v1/scenarios.js.map +1 -0
  159. package/resources/ai/tests/test-framework/v1/scenarios.mjs +218 -0
  160. package/resources/ai/tests/test-framework/v1/scenarios.mjs.map +1 -0
  161. package/resources/ai/tests/test-framework/v1/v1.d.mts +83 -0
  162. package/resources/ai/tests/test-framework/v1/v1.d.mts.map +1 -0
  163. package/resources/ai/tests/test-framework/v1/v1.d.ts +83 -0
  164. package/resources/ai/tests/test-framework/v1/v1.d.ts.map +1 -0
  165. package/resources/ai/tests/test-framework/v1/v1.js +46 -0
  166. package/resources/ai/tests/test-framework/v1/v1.js.map +1 -0
  167. package/resources/ai/tests/test-framework/v1/v1.mjs +41 -0
  168. package/resources/ai/tests/test-framework/v1/v1.mjs.map +1 -0
  169. package/resources/ai/tests/test-framework/v1.d.mts +2 -0
  170. package/resources/ai/tests/test-framework/v1.d.mts.map +1 -0
  171. package/resources/ai/tests/test-framework/v1.d.ts +2 -0
  172. package/resources/ai/tests/test-framework/v1.d.ts.map +1 -0
  173. package/resources/ai/tests/test-framework/v1.js +6 -0
  174. package/resources/ai/tests/test-framework/v1.js.map +1 -0
  175. package/resources/ai/tests/test-framework/v1.mjs +3 -0
  176. package/resources/ai/tests/test-framework/v1.mjs.map +1 -0
  177. package/resources/ai/tests/test-framework.d.mts +2 -0
  178. package/resources/ai/tests/test-framework.d.mts.map +1 -0
  179. package/resources/ai/tests/test-framework.d.ts +2 -0
  180. package/resources/ai/tests/test-framework.d.ts.map +1 -0
  181. package/resources/ai/tests/test-framework.js +6 -0
  182. package/resources/ai/tests/test-framework.js.map +1 -0
  183. package/resources/ai/tests/test-framework.mjs +3 -0
  184. package/resources/ai/tests/test-framework.mjs.map +1 -0
  185. package/resources/ai/tests/tests.d.mts +14 -0
  186. package/resources/ai/tests/tests.d.mts.map +1 -0
  187. package/resources/ai/tests/tests.d.ts +14 -0
  188. package/resources/ai/tests/tests.d.ts.map +1 -0
  189. package/resources/ai/tests/tests.js +21 -0
  190. package/resources/ai/tests/tests.js.map +1 -0
  191. package/resources/ai/tests/tests.mjs +16 -0
  192. package/resources/ai/tests/tests.mjs.map +1 -0
  193. package/resources/ai/tests.d.mts +2 -0
  194. package/resources/ai/tests.d.mts.map +1 -0
  195. package/resources/ai/tests.d.ts +2 -0
  196. package/resources/ai/tests.d.ts.map +1 -0
  197. package/resources/ai/tests.js +6 -0
  198. package/resources/ai/tests.js.map +1 -0
  199. package/resources/ai/tests.mjs +3 -0
  200. package/resources/ai/tests.mjs.map +1 -0
  201. package/resources/artifact-downloads.d.mts +21 -0
  202. package/resources/artifact-downloads.d.mts.map +1 -0
  203. package/resources/artifact-downloads.d.ts +21 -0
  204. package/resources/artifact-downloads.d.ts.map +1 -0
  205. package/resources/artifact-downloads.js +26 -0
  206. package/resources/artifact-downloads.js.map +1 -0
  207. package/resources/artifact-downloads.mjs +22 -0
  208. package/resources/artifact-downloads.mjs.map +1 -0
  209. package/resources/bot-challenge.js +1 -1
  210. package/resources/bot-challenge.js.map +1 -1
  211. package/resources/bot-challenge.mjs +1 -1
  212. package/resources/bot-challenge.mjs.map +1 -1
  213. package/resources/bot-sessions.js +1 -1
  214. package/resources/bot-sessions.js.map +1 -1
  215. package/resources/bot-sessions.mjs +1 -1
  216. package/resources/bot-sessions.mjs.map +1 -1
  217. package/resources/bot-signup.js +2 -2
  218. package/resources/bot-signup.js.map +1 -1
  219. package/resources/bot-signup.mjs +2 -2
  220. package/resources/bot-signup.mjs.map +1 -1
  221. package/resources/browser-sessions/actions.d.mts +542 -0
  222. package/resources/browser-sessions/actions.d.mts.map +1 -0
  223. package/resources/browser-sessions/actions.d.ts +542 -0
  224. package/resources/browser-sessions/actions.d.ts.map +1 -0
  225. package/resources/browser-sessions/actions.js +55 -0
  226. package/resources/browser-sessions/actions.js.map +1 -0
  227. package/resources/browser-sessions/actions.mjs +51 -0
  228. package/resources/browser-sessions/actions.mjs.map +1 -0
  229. package/resources/browser-sessions/browser-sessions.d.mts +165 -0
  230. package/resources/browser-sessions/browser-sessions.d.mts.map +1 -0
  231. package/resources/browser-sessions/browser-sessions.d.ts +165 -0
  232. package/resources/browser-sessions/browser-sessions.d.ts.map +1 -0
  233. package/resources/browser-sessions/browser-sessions.js +87 -0
  234. package/resources/browser-sessions/browser-sessions.js.map +1 -0
  235. package/resources/browser-sessions/browser-sessions.mjs +82 -0
  236. package/resources/browser-sessions/browser-sessions.mjs.map +1 -0
  237. package/resources/browser-sessions/index.d.mts +3 -0
  238. package/resources/browser-sessions/index.d.mts.map +1 -0
  239. package/resources/browser-sessions/index.d.ts +3 -0
  240. package/resources/browser-sessions/index.d.ts.map +1 -0
  241. package/resources/browser-sessions/index.js +9 -0
  242. package/resources/browser-sessions/index.js.map +1 -0
  243. package/resources/browser-sessions/index.mjs +4 -0
  244. package/resources/browser-sessions/index.mjs.map +1 -0
  245. package/resources/browser-sessions.d.mts +2 -0
  246. package/resources/browser-sessions.d.mts.map +1 -0
  247. package/resources/browser-sessions.d.ts +2 -0
  248. package/resources/browser-sessions.d.ts.map +1 -0
  249. package/resources/browser-sessions.js +6 -0
  250. package/resources/browser-sessions.js.map +1 -0
  251. package/resources/browser-sessions.mjs +3 -0
  252. package/resources/browser-sessions.mjs.map +1 -0
  253. package/resources/call-control-applications.d.mts +2 -2
  254. package/resources/call-control-applications.d.ts +2 -2
  255. package/resources/calls/actions.d.mts +35 -28
  256. package/resources/calls/actions.d.mts.map +1 -1
  257. package/resources/calls/actions.d.ts +35 -28
  258. package/resources/calls/actions.d.ts.map +1 -1
  259. package/resources/conferences/actions.d.mts +3 -2
  260. package/resources/conferences/actions.d.mts.map +1 -1
  261. package/resources/conferences/actions.d.ts +3 -2
  262. package/resources/conferences/actions.d.ts.map +1 -1
  263. package/resources/email/dedicated-ips/actions.d.mts +73 -0
  264. package/resources/email/dedicated-ips/actions.d.mts.map +1 -0
  265. package/resources/email/dedicated-ips/actions.d.ts +73 -0
  266. package/resources/email/dedicated-ips/actions.d.ts.map +1 -0
  267. package/resources/email/dedicated-ips/actions.js +84 -0
  268. package/resources/email/dedicated-ips/actions.js.map +1 -0
  269. package/resources/email/dedicated-ips/actions.mjs +80 -0
  270. package/resources/email/dedicated-ips/actions.mjs.map +1 -0
  271. package/resources/email/dedicated-ips/dedicated-ips.d.mts +444 -0
  272. package/resources/email/dedicated-ips/dedicated-ips.d.mts.map +1 -0
  273. package/resources/email/dedicated-ips/dedicated-ips.d.ts +444 -0
  274. package/resources/email/dedicated-ips/dedicated-ips.d.ts.map +1 -0
  275. package/resources/email/dedicated-ips/dedicated-ips.js +142 -0
  276. package/resources/email/dedicated-ips/dedicated-ips.js.map +1 -0
  277. package/resources/email/dedicated-ips/dedicated-ips.mjs +137 -0
  278. package/resources/email/dedicated-ips/dedicated-ips.mjs.map +1 -0
  279. package/resources/email/dedicated-ips/index.d.mts +3 -0
  280. package/resources/email/dedicated-ips/index.d.mts.map +1 -0
  281. package/resources/email/dedicated-ips/index.d.ts +3 -0
  282. package/resources/email/dedicated-ips/index.d.ts.map +1 -0
  283. package/resources/email/dedicated-ips/index.js +9 -0
  284. package/resources/email/dedicated-ips/index.js.map +1 -0
  285. package/resources/email/dedicated-ips/index.mjs +4 -0
  286. package/resources/email/dedicated-ips/index.mjs.map +1 -0
  287. package/resources/email/dedicated-ips.d.mts +2 -0
  288. package/resources/email/dedicated-ips.d.mts.map +1 -0
  289. package/resources/email/dedicated-ips.d.ts +2 -0
  290. package/resources/email/dedicated-ips.d.ts.map +1 -0
  291. package/resources/email/dedicated-ips.js +6 -0
  292. package/resources/email/dedicated-ips.js.map +1 -0
  293. package/resources/email/dedicated-ips.mjs +3 -0
  294. package/resources/email/dedicated-ips.mjs.map +1 -0
  295. package/resources/email/email.d.mts +14 -0
  296. package/resources/email/email.d.mts.map +1 -0
  297. package/resources/email/email.d.ts +14 -0
  298. package/resources/email/email.d.ts.map +1 -0
  299. package/resources/email/email.js +21 -0
  300. package/resources/email/email.js.map +1 -0
  301. package/resources/email/email.mjs +16 -0
  302. package/resources/email/email.mjs.map +1 -0
  303. package/resources/email/index.d.mts +4 -0
  304. package/resources/email/index.d.mts.map +1 -0
  305. package/resources/email/index.d.ts +4 -0
  306. package/resources/email/index.d.ts.map +1 -0
  307. package/resources/email/index.js +11 -0
  308. package/resources/email/index.js.map +1 -0
  309. package/resources/email/index.mjs +5 -0
  310. package/resources/email/index.mjs.map +1 -0
  311. package/resources/email/ip-pools/index.d.mts +3 -0
  312. package/resources/email/ip-pools/index.d.mts.map +1 -0
  313. package/resources/email/ip-pools/index.d.ts +3 -0
  314. package/resources/email/ip-pools/index.d.ts.map +1 -0
  315. package/resources/email/ip-pools/index.js +9 -0
  316. package/resources/email/ip-pools/index.js.map +1 -0
  317. package/resources/email/ip-pools/index.mjs +4 -0
  318. package/resources/email/ip-pools/index.mjs.map +1 -0
  319. package/resources/email/ip-pools/ip-pools.d.mts +184 -0
  320. package/resources/email/ip-pools/ip-pools.d.mts.map +1 -0
  321. package/resources/email/ip-pools/ip-pools.d.ts +184 -0
  322. package/resources/email/ip-pools/ip-pools.d.ts.map +1 -0
  323. package/resources/email/ip-pools/ip-pools.js +102 -0
  324. package/resources/email/ip-pools/ip-pools.js.map +1 -0
  325. package/resources/email/ip-pools/ip-pools.mjs +97 -0
  326. package/resources/email/ip-pools/ip-pools.mjs.map +1 -0
  327. package/resources/email/ip-pools/ips.d.mts +83 -0
  328. package/resources/email/ip-pools/ips.d.mts.map +1 -0
  329. package/resources/email/ip-pools/ips.d.ts +83 -0
  330. package/resources/email/ip-pools/ips.d.ts.map +1 -0
  331. package/resources/email/ip-pools/ips.js +54 -0
  332. package/resources/email/ip-pools/ips.js.map +1 -0
  333. package/resources/email/ip-pools/ips.mjs +50 -0
  334. package/resources/email/ip-pools/ips.mjs.map +1 -0
  335. package/resources/email/ip-pools.d.mts +2 -0
  336. package/resources/email/ip-pools.d.mts.map +1 -0
  337. package/resources/email/ip-pools.d.ts +2 -0
  338. package/resources/email/ip-pools.d.ts.map +1 -0
  339. package/resources/email/ip-pools.js +6 -0
  340. package/resources/email/ip-pools.js.map +1 -0
  341. package/resources/email/ip-pools.mjs +3 -0
  342. package/resources/email/ip-pools.mjs.map +1 -0
  343. package/resources/email.d.mts +2 -0
  344. package/resources/email.d.mts.map +1 -0
  345. package/resources/email.d.ts +2 -0
  346. package/resources/email.d.ts.map +1 -0
  347. package/resources/email.js +6 -0
  348. package/resources/email.js.map +1 -0
  349. package/resources/email.mjs +3 -0
  350. package/resources/email.mjs.map +1 -0
  351. package/resources/fax-applications.d.mts +6 -6
  352. package/resources/fax-applications.d.ts +6 -6
  353. package/resources/fqdn-connections/fqdn-connections.d.mts +2 -2
  354. package/resources/fqdn-connections/fqdn-connections.d.ts +2 -2
  355. package/resources/index.d.mts +8 -2
  356. package/resources/index.d.mts.map +1 -1
  357. package/resources/index.d.ts +8 -2
  358. package/resources/index.d.ts.map +1 -1
  359. package/resources/index.js +16 -4
  360. package/resources/index.js.map +1 -1
  361. package/resources/index.mjs +6 -0
  362. package/resources/index.mjs.map +1 -1
  363. package/resources/ip-connections.d.mts +4 -4
  364. package/resources/ip-connections.d.ts +4 -4
  365. package/resources/messaging-profiles/index.d.mts +1 -1
  366. package/resources/messaging-profiles/index.d.mts.map +1 -1
  367. package/resources/messaging-profiles/index.d.ts +1 -1
  368. package/resources/messaging-profiles/index.d.ts.map +1 -1
  369. package/resources/messaging-profiles/index.js.map +1 -1
  370. package/resources/messaging-profiles/index.mjs.map +1 -1
  371. package/resources/messaging-profiles/messaging-profiles.d.mts +26 -1
  372. package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
  373. package/resources/messaging-profiles/messaging-profiles.d.ts +26 -1
  374. package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
  375. package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
  376. package/resources/messaging-profiles/messaging-profiles.mjs.map +1 -1
  377. package/resources/network-routes.d.mts +257 -0
  378. package/resources/network-routes.d.mts.map +1 -0
  379. package/resources/network-routes.d.ts +257 -0
  380. package/resources/network-routes.d.ts.map +1 -0
  381. package/resources/network-routes.js +83 -0
  382. package/resources/network-routes.js.map +1 -0
  383. package/resources/network-routes.mjs +79 -0
  384. package/resources/network-routes.mjs.map +1 -0
  385. package/resources/pay-connectors.d.mts +378 -0
  386. package/resources/pay-connectors.d.mts.map +1 -0
  387. package/resources/pay-connectors.d.ts +378 -0
  388. package/resources/pay-connectors.d.ts.map +1 -0
  389. package/resources/pay-connectors.js +116 -0
  390. package/resources/pay-connectors.js.map +1 -0
  391. package/resources/pay-connectors.mjs +112 -0
  392. package/resources/pay-connectors.mjs.map +1 -0
  393. package/resources/public-internet-gateways.d.mts +0 -8
  394. package/resources/public-internet-gateways.d.mts.map +1 -1
  395. package/resources/public-internet-gateways.d.ts +0 -8
  396. package/resources/public-internet-gateways.d.ts.map +1 -1
  397. package/resources/spend-limits.d.mts +150 -32
  398. package/resources/spend-limits.d.mts.map +1 -1
  399. package/resources/spend-limits.d.ts +150 -32
  400. package/resources/spend-limits.d.ts.map +1 -1
  401. package/resources/spend-limits.js +26 -7
  402. package/resources/spend-limits.js.map +1 -1
  403. package/resources/spend-limits.mjs +26 -7
  404. package/resources/spend-limits.mjs.map +1 -1
  405. package/resources/texml-applications.d.mts +6 -6
  406. package/resources/texml-applications.d.ts +6 -6
  407. package/resources/text-to-speech/text-to-speech.d.mts +1 -6
  408. package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
  409. package/resources/text-to-speech/text-to-speech.d.ts +1 -6
  410. package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
  411. package/resources/text-to-speech/text-to-speech.js +1 -2
  412. package/resources/text-to-speech/text-to-speech.js.map +1 -1
  413. package/resources/text-to-speech/text-to-speech.mjs +1 -2
  414. package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
  415. package/resources/tunnels/actions.d.mts +29 -0
  416. package/resources/tunnels/actions.d.mts.map +1 -0
  417. package/resources/tunnels/actions.d.ts +29 -0
  418. package/resources/tunnels/actions.d.ts.map +1 -0
  419. package/resources/tunnels/actions.js +28 -0
  420. package/resources/tunnels/actions.js.map +1 -0
  421. package/resources/tunnels/actions.mjs +24 -0
  422. package/resources/tunnels/actions.mjs.map +1 -0
  423. package/resources/tunnels/index.d.mts +3 -0
  424. package/resources/tunnels/index.d.mts.map +1 -0
  425. package/resources/tunnels/index.d.ts +3 -0
  426. package/resources/tunnels/index.d.ts.map +1 -0
  427. package/resources/tunnels/index.js +9 -0
  428. package/resources/tunnels/index.js.map +1 -0
  429. package/resources/tunnels/index.mjs +4 -0
  430. package/resources/tunnels/index.mjs.map +1 -0
  431. package/resources/tunnels/tunnels.d.mts +194 -0
  432. package/resources/tunnels/tunnels.d.mts.map +1 -0
  433. package/resources/tunnels/tunnels.d.ts +194 -0
  434. package/resources/tunnels/tunnels.d.ts.map +1 -0
  435. package/resources/tunnels/tunnels.js +82 -0
  436. package/resources/tunnels/tunnels.js.map +1 -0
  437. package/resources/tunnels/tunnels.mjs +77 -0
  438. package/resources/tunnels/tunnels.mjs.map +1 -0
  439. package/resources/tunnels.d.mts +2 -0
  440. package/resources/tunnels.d.mts.map +1 -0
  441. package/resources/tunnels.d.ts +2 -0
  442. package/resources/tunnels.d.ts.map +1 -0
  443. package/resources/tunnels.js +6 -0
  444. package/resources/tunnels.js.map +1 -0
  445. package/resources/tunnels.mjs +3 -0
  446. package/resources/tunnels.mjs.map +1 -0
  447. package/resources/voice-clones.d.mts +54 -8
  448. package/resources/voice-clones.d.mts.map +1 -1
  449. package/resources/voice-clones.d.ts +54 -8
  450. package/resources/voice-clones.d.ts.map +1 -1
  451. package/resources/voice-clones.js +6 -5
  452. package/resources/voice-clones.js.map +1 -1
  453. package/resources/voice-clones.mjs +6 -5
  454. package/resources/voice-clones.mjs.map +1 -1
  455. package/resources/whatsapp/hosted-signups.d.mts +2 -1
  456. package/resources/whatsapp/hosted-signups.d.mts.map +1 -1
  457. package/resources/whatsapp/hosted-signups.d.ts +2 -1
  458. package/resources/whatsapp/hosted-signups.d.ts.map +1 -1
  459. package/resources/wireguard-interfaces.d.mts +0 -8
  460. package/resources/wireguard-interfaces.d.mts.map +1 -1
  461. package/resources/wireguard-interfaces.d.ts +0 -8
  462. package/resources/wireguard-interfaces.d.ts.map +1 -1
  463. package/src/client.ts +126 -0
  464. package/src/resources/addresses/actions.ts +23 -4
  465. package/src/resources/ai/ai.ts +6 -0
  466. package/src/resources/ai/assistants/assistants.ts +31 -24
  467. package/src/resources/ai/avatars.ts +9 -9
  468. package/src/resources/ai/index.ts +1 -0
  469. package/src/resources/ai/tests/index.ts +5 -0
  470. package/src/resources/ai/tests/schedules/index.ts +4 -0
  471. package/src/resources/ai/tests/schedules/schedules.ts +15 -0
  472. package/src/resources/ai/tests/schedules/v1/cron-jobs.ts +248 -0
  473. package/src/resources/ai/tests/schedules/v1/index.ts +12 -0
  474. package/src/resources/ai/tests/schedules/v1/v1.ts +31 -0
  475. package/src/resources/ai/tests/schedules/v1.ts +3 -0
  476. package/src/resources/ai/tests/schedules.ts +3 -0
  477. package/src/resources/ai/tests/test-framework/index.ts +4 -0
  478. package/src/resources/ai/tests/test-framework/test-framework.ts +15 -0
  479. package/src/resources/ai/tests/test-framework/v1/aiagents.ts +304 -0
  480. package/src/resources/ai/tests/test-framework/v1/index.ts +54 -0
  481. package/src/resources/ai/tests/test-framework/v1/metrics.ts +491 -0
  482. package/src/resources/ai/tests/test-framework/v1/results.ts +304 -0
  483. package/src/resources/ai/tests/test-framework/v1/scenarios.ts +774 -0
  484. package/src/resources/ai/tests/test-framework/v1/v1.ts +214 -0
  485. package/src/resources/ai/tests/test-framework/v1.ts +3 -0
  486. package/src/resources/ai/tests/test-framework.ts +3 -0
  487. package/src/resources/ai/tests/tests.ts +21 -0
  488. package/src/resources/ai/tests.ts +3 -0
  489. package/src/resources/artifact-downloads.ts +39 -0
  490. package/src/resources/bot-challenge.ts +1 -1
  491. package/src/resources/bot-sessions.ts +1 -1
  492. package/src/resources/bot-signup.ts +2 -2
  493. package/src/resources/browser-sessions/actions.ts +778 -0
  494. package/src/resources/browser-sessions/browser-sessions.ts +278 -0
  495. package/src/resources/browser-sessions/index.ts +31 -0
  496. package/src/resources/browser-sessions.ts +3 -0
  497. package/src/resources/call-control-applications.ts +2 -2
  498. package/src/resources/calls/actions.ts +38 -27
  499. package/src/resources/conferences/actions.ts +3 -2
  500. package/src/resources/email/dedicated-ips/actions.ts +87 -0
  501. package/src/resources/email/dedicated-ips/dedicated-ips.ts +563 -0
  502. package/src/resources/email/dedicated-ips/index.ts +13 -0
  503. package/src/resources/email/dedicated-ips.ts +3 -0
  504. package/src/resources/email/email.ts +55 -0
  505. package/src/resources/email/index.ts +22 -0
  506. package/src/resources/email/ip-pools/index.ts +12 -0
  507. package/src/resources/email/ip-pools/ip-pools.ts +247 -0
  508. package/src/resources/email/ip-pools/ips.ts +112 -0
  509. package/src/resources/email/ip-pools.ts +3 -0
  510. package/src/resources/email.ts +3 -0
  511. package/src/resources/fax-applications.ts +6 -6
  512. package/src/resources/fqdn-connections/fqdn-connections.ts +2 -2
  513. package/src/resources/index.ts +46 -0
  514. package/src/resources/ip-connections.ts +4 -4
  515. package/src/resources/messaging-profiles/index.ts +1 -0
  516. package/src/resources/messaging-profiles/messaging-profiles.ts +31 -0
  517. package/src/resources/network-routes.ts +332 -0
  518. package/src/resources/pay-connectors.ts +482 -0
  519. package/src/resources/public-internet-gateways.ts +0 -10
  520. package/src/resources/spend-limits.ts +179 -36
  521. package/src/resources/texml-applications.ts +6 -6
  522. package/src/resources/text-to-speech/text-to-speech.ts +1 -7
  523. package/src/resources/tunnels/actions.ts +36 -0
  524. package/src/resources/tunnels/index.ts +13 -0
  525. package/src/resources/tunnels/tunnels.ts +260 -0
  526. package/src/resources/tunnels.ts +3 -0
  527. package/src/resources/voice-clones.ts +88 -8
  528. package/src/resources/whatsapp/hosted-signups.ts +2 -1
  529. package/src/resources/wireguard-interfaces.ts +0 -10
  530. package/src/version.ts +1 -1
  531. package/version.d.mts +1 -1
  532. package/version.d.ts +1 -1
  533. package/version.js +1 -1
  534. 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
  */
@@ -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-5-pro` is a multilingual streaming model with
3808
- * configurable turn detection. The legacy alias `assemblyai/universal-streaming`
3809
- * is still accepted and resolves to the same model.
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-5-pro` or its legacy alias
3865
- * `assemblyai/universal-streaming`, `xai/grok-stt`, `soniox/stt-rt-v4`,
3866
- * `soniox/stt-rt-v5`, `humain/realtime`, `reson8/turns`) or both non-streaming
3867
- * (`azure/fast`, `nvidia/parakeet-v3`, `omi-health/omi-med-stt-v1`,
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-5-pro` (or its
3940
- * legacy alias `assemblyai/universal-streaming`), `xai/grok-stt`,
3941
- * `soniox/stt-rt-v4`, `soniox/stt-rt-v5`, `humain/realtime`, or `reson8/turns`.
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-5-pro (and its legacy alias
4030
- * assemblyai/universal-streaming), also at most 100 terms of up to 50 characters
4031
- * each. This field may be templated with
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-5-pro (and its legacy alias
4054
- * assemblyai/universal-streaming). Maximum duration of silence in milliseconds
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-5-pro (and its legacy alias
4061
- * assemblyai/universal-streaming). Minimum duration of silence in milliseconds
4062
- * before a turn can end. Must be less than or equal to max_turn_silence.
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-5-pro (and its legacy alias
4070
- * assemblyai/universal-streaming). Context about the conversation (domain, names,
4071
- * terms) to improve transcription; describe the content, do not give instructions.
4072
- * Leave empty unless needed. At most 1750 characters.
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. Each organization may have up to 20
48
- * custom avatars. For best results, use a 16:9 landscape image, preferably 1920 by
49
- * 1080 pixels and at least 1280 by 720 pixels. Show one centered, front-facing
50
- * person from the shoulders up, keep the full head and hair visible with space
51
- * around it, and use a sharp, evenly lit image with unobstructed eyes and mouth.
52
- * Use a transparent PNG or WebP when the avatar will be combined with a selectable
53
- * background. These composition recommendations are not enforced in the first
54
- * release; the first release does not validate the number of faces, pose, or image
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,5 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export { Schedules } from './schedules/index';
4
+ export { TestFramework } from './test-framework/index';
5
+ export { Tests } from './tests';
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export { Schedules } from './schedules';
4
+ export { V1 } from './v1/index';
@@ -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
+ }