telnyx 7.27.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 (599) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +46 -6
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +46 -6
  5. package/client.d.ts.map +1 -1
  6. package/client.js +40 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +40 -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 +42 -27
  24. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  25. package/resources/ai/assistants/assistants.d.ts +42 -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/audio.d.mts +22 -11
  30. package/resources/ai/audio.d.mts.map +1 -1
  31. package/resources/ai/audio.d.ts +22 -11
  32. package/resources/ai/audio.d.ts.map +1 -1
  33. package/resources/ai/avatars.d.mts +9 -9
  34. package/resources/ai/avatars.d.ts +9 -9
  35. package/resources/ai/avatars.js +9 -9
  36. package/resources/ai/avatars.mjs +9 -9
  37. package/resources/ai/index.d.mts +1 -0
  38. package/resources/ai/index.d.mts.map +1 -1
  39. package/resources/ai/index.d.ts +1 -0
  40. package/resources/ai/index.d.ts.map +1 -1
  41. package/resources/ai/index.js +5 -3
  42. package/resources/ai/index.js.map +1 -1
  43. package/resources/ai/index.mjs +1 -0
  44. package/resources/ai/index.mjs.map +1 -1
  45. package/resources/ai/tests/index.d.mts +4 -0
  46. package/resources/ai/tests/index.d.mts.map +1 -0
  47. package/resources/ai/tests/index.d.ts +4 -0
  48. package/resources/ai/tests/index.d.ts.map +1 -0
  49. package/resources/ai/tests/index.js +11 -0
  50. package/resources/ai/tests/index.js.map +1 -0
  51. package/resources/ai/tests/index.mjs +5 -0
  52. package/resources/ai/tests/index.mjs.map +1 -0
  53. package/resources/ai/tests/schedules/index.d.mts +3 -0
  54. package/resources/ai/tests/schedules/index.d.mts.map +1 -0
  55. package/resources/ai/tests/schedules/index.d.ts +3 -0
  56. package/resources/ai/tests/schedules/index.d.ts.map +1 -0
  57. package/resources/ai/tests/schedules/index.js +9 -0
  58. package/resources/ai/tests/schedules/index.js.map +1 -0
  59. package/resources/ai/tests/schedules/index.mjs +4 -0
  60. package/resources/ai/tests/schedules/index.mjs.map +1 -0
  61. package/resources/ai/tests/schedules/schedules.d.mts +10 -0
  62. package/resources/ai/tests/schedules/schedules.d.mts.map +1 -0
  63. package/resources/ai/tests/schedules/schedules.d.ts +10 -0
  64. package/resources/ai/tests/schedules/schedules.d.ts.map +1 -0
  65. package/resources/ai/tests/schedules/schedules.js +17 -0
  66. package/resources/ai/tests/schedules/schedules.js.map +1 -0
  67. package/resources/ai/tests/schedules/schedules.mjs +12 -0
  68. package/resources/ai/tests/schedules/schedules.mjs.map +1 -0
  69. package/resources/ai/tests/schedules/v1/cron-jobs.d.mts +171 -0
  70. package/resources/ai/tests/schedules/v1/cron-jobs.d.mts.map +1 -0
  71. package/resources/ai/tests/schedules/v1/cron-jobs.d.ts +171 -0
  72. package/resources/ai/tests/schedules/v1/cron-jobs.d.ts.map +1 -0
  73. package/resources/ai/tests/schedules/v1/cron-jobs.js +88 -0
  74. package/resources/ai/tests/schedules/v1/cron-jobs.js.map +1 -0
  75. package/resources/ai/tests/schedules/v1/cron-jobs.mjs +84 -0
  76. package/resources/ai/tests/schedules/v1/cron-jobs.mjs.map +1 -0
  77. package/resources/ai/tests/schedules/v1/index.d.mts +3 -0
  78. package/resources/ai/tests/schedules/v1/index.d.mts.map +1 -0
  79. package/resources/ai/tests/schedules/v1/index.d.ts +3 -0
  80. package/resources/ai/tests/schedules/v1/index.d.ts.map +1 -0
  81. package/resources/ai/tests/schedules/v1/index.js +9 -0
  82. package/resources/ai/tests/schedules/v1/index.js.map +1 -0
  83. package/resources/ai/tests/schedules/v1/index.mjs +4 -0
  84. package/resources/ai/tests/schedules/v1/index.mjs.map +1 -0
  85. package/resources/ai/tests/schedules/v1/v1.d.mts +10 -0
  86. package/resources/ai/tests/schedules/v1/v1.d.mts.map +1 -0
  87. package/resources/ai/tests/schedules/v1/v1.d.ts +10 -0
  88. package/resources/ai/tests/schedules/v1/v1.d.ts.map +1 -0
  89. package/resources/ai/tests/schedules/v1/v1.js +17 -0
  90. package/resources/ai/tests/schedules/v1/v1.js.map +1 -0
  91. package/resources/ai/tests/schedules/v1/v1.mjs +12 -0
  92. package/resources/ai/tests/schedules/v1/v1.mjs.map +1 -0
  93. package/resources/ai/tests/schedules/v1.d.mts +2 -0
  94. package/resources/ai/tests/schedules/v1.d.mts.map +1 -0
  95. package/resources/ai/tests/schedules/v1.d.ts +2 -0
  96. package/resources/ai/tests/schedules/v1.d.ts.map +1 -0
  97. package/resources/ai/tests/schedules/v1.js +6 -0
  98. package/resources/ai/tests/schedules/v1.js.map +1 -0
  99. package/resources/ai/tests/schedules/v1.mjs +3 -0
  100. package/resources/ai/tests/schedules/v1.mjs.map +1 -0
  101. package/resources/ai/tests/schedules.d.mts +2 -0
  102. package/resources/ai/tests/schedules.d.mts.map +1 -0
  103. package/resources/ai/tests/schedules.d.ts +2 -0
  104. package/resources/ai/tests/schedules.d.ts.map +1 -0
  105. package/resources/ai/tests/schedules.js +6 -0
  106. package/resources/ai/tests/schedules.js.map +1 -0
  107. package/resources/ai/tests/schedules.mjs +3 -0
  108. package/resources/ai/tests/schedules.mjs.map +1 -0
  109. package/resources/ai/tests/test-framework/index.d.mts +3 -0
  110. package/resources/ai/tests/test-framework/index.d.mts.map +1 -0
  111. package/resources/ai/tests/test-framework/index.d.ts +3 -0
  112. package/resources/ai/tests/test-framework/index.d.ts.map +1 -0
  113. package/resources/ai/tests/test-framework/index.js +9 -0
  114. package/resources/ai/tests/test-framework/index.js.map +1 -0
  115. package/resources/ai/tests/test-framework/index.mjs +4 -0
  116. package/resources/ai/tests/test-framework/index.mjs.map +1 -0
  117. package/resources/ai/tests/test-framework/test-framework.d.mts +10 -0
  118. package/resources/ai/tests/test-framework/test-framework.d.mts.map +1 -0
  119. package/resources/ai/tests/test-framework/test-framework.d.ts +10 -0
  120. package/resources/ai/tests/test-framework/test-framework.d.ts.map +1 -0
  121. package/resources/ai/tests/test-framework/test-framework.js +17 -0
  122. package/resources/ai/tests/test-framework/test-framework.js.map +1 -0
  123. package/resources/ai/tests/test-framework/test-framework.mjs +12 -0
  124. package/resources/ai/tests/test-framework/test-framework.mjs.map +1 -0
  125. package/resources/ai/tests/test-framework/v1/aiagents.d.mts +216 -0
  126. package/resources/ai/tests/test-framework/v1/aiagents.d.mts.map +1 -0
  127. package/resources/ai/tests/test-framework/v1/aiagents.d.ts +216 -0
  128. package/resources/ai/tests/test-framework/v1/aiagents.d.ts.map +1 -0
  129. package/resources/ai/tests/test-framework/v1/aiagents.js +93 -0
  130. package/resources/ai/tests/test-framework/v1/aiagents.js.map +1 -0
  131. package/resources/ai/tests/test-framework/v1/aiagents.mjs +89 -0
  132. package/resources/ai/tests/test-framework/v1/aiagents.mjs.map +1 -0
  133. package/resources/ai/tests/test-framework/v1/index.d.mts +6 -0
  134. package/resources/ai/tests/test-framework/v1/index.d.mts.map +1 -0
  135. package/resources/ai/tests/test-framework/v1/index.d.ts +6 -0
  136. package/resources/ai/tests/test-framework/v1/index.d.ts.map +1 -0
  137. package/resources/ai/tests/test-framework/v1/index.js +15 -0
  138. package/resources/ai/tests/test-framework/v1/index.js.map +1 -0
  139. package/resources/ai/tests/test-framework/v1/index.mjs +7 -0
  140. package/resources/ai/tests/test-framework/v1/index.mjs.map +1 -0
  141. package/resources/ai/tests/test-framework/v1/metrics.d.mts +339 -0
  142. package/resources/ai/tests/test-framework/v1/metrics.d.mts.map +1 -0
  143. package/resources/ai/tests/test-framework/v1/metrics.d.ts +339 -0
  144. package/resources/ai/tests/test-framework/v1/metrics.d.ts.map +1 -0
  145. package/resources/ai/tests/test-framework/v1/metrics.js +145 -0
  146. package/resources/ai/tests/test-framework/v1/metrics.js.map +1 -0
  147. package/resources/ai/tests/test-framework/v1/metrics.mjs +141 -0
  148. package/resources/ai/tests/test-framework/v1/metrics.mjs.map +1 -0
  149. package/resources/ai/tests/test-framework/v1/results.d.mts +207 -0
  150. package/resources/ai/tests/test-framework/v1/results.d.mts.map +1 -0
  151. package/resources/ai/tests/test-framework/v1/results.d.ts +207 -0
  152. package/resources/ai/tests/test-framework/v1/results.d.ts.map +1 -0
  153. package/resources/ai/tests/test-framework/v1/results.js +65 -0
  154. package/resources/ai/tests/test-framework/v1/results.js.map +1 -0
  155. package/resources/ai/tests/test-framework/v1/results.mjs +61 -0
  156. package/resources/ai/tests/test-framework/v1/results.mjs.map +1 -0
  157. package/resources/ai/tests/test-framework/v1/scenarios.d.mts +528 -0
  158. package/resources/ai/tests/test-framework/v1/scenarios.d.mts.map +1 -0
  159. package/resources/ai/tests/test-framework/v1/scenarios.d.ts +528 -0
  160. package/resources/ai/tests/test-framework/v1/scenarios.d.ts.map +1 -0
  161. package/resources/ai/tests/test-framework/v1/scenarios.js +222 -0
  162. package/resources/ai/tests/test-framework/v1/scenarios.js.map +1 -0
  163. package/resources/ai/tests/test-framework/v1/scenarios.mjs +218 -0
  164. package/resources/ai/tests/test-framework/v1/scenarios.mjs.map +1 -0
  165. package/resources/ai/tests/test-framework/v1/v1.d.mts +83 -0
  166. package/resources/ai/tests/test-framework/v1/v1.d.mts.map +1 -0
  167. package/resources/ai/tests/test-framework/v1/v1.d.ts +83 -0
  168. package/resources/ai/tests/test-framework/v1/v1.d.ts.map +1 -0
  169. package/resources/ai/tests/test-framework/v1/v1.js +46 -0
  170. package/resources/ai/tests/test-framework/v1/v1.js.map +1 -0
  171. package/resources/ai/tests/test-framework/v1/v1.mjs +41 -0
  172. package/resources/ai/tests/test-framework/v1/v1.mjs.map +1 -0
  173. package/resources/ai/tests/test-framework/v1.d.mts +2 -0
  174. package/resources/ai/tests/test-framework/v1.d.mts.map +1 -0
  175. package/resources/ai/tests/test-framework/v1.d.ts +2 -0
  176. package/resources/ai/tests/test-framework/v1.d.ts.map +1 -0
  177. package/resources/ai/tests/test-framework/v1.js +6 -0
  178. package/resources/ai/tests/test-framework/v1.js.map +1 -0
  179. package/resources/ai/tests/test-framework/v1.mjs +3 -0
  180. package/resources/ai/tests/test-framework/v1.mjs.map +1 -0
  181. package/resources/ai/tests/test-framework.d.mts +2 -0
  182. package/resources/ai/tests/test-framework.d.mts.map +1 -0
  183. package/resources/ai/tests/test-framework.d.ts +2 -0
  184. package/resources/ai/tests/test-framework.d.ts.map +1 -0
  185. package/resources/ai/tests/test-framework.js +6 -0
  186. package/resources/ai/tests/test-framework.js.map +1 -0
  187. package/resources/ai/tests/test-framework.mjs +3 -0
  188. package/resources/ai/tests/test-framework.mjs.map +1 -0
  189. package/resources/ai/tests/tests.d.mts +14 -0
  190. package/resources/ai/tests/tests.d.mts.map +1 -0
  191. package/resources/ai/tests/tests.d.ts +14 -0
  192. package/resources/ai/tests/tests.d.ts.map +1 -0
  193. package/resources/ai/tests/tests.js +21 -0
  194. package/resources/ai/tests/tests.js.map +1 -0
  195. package/resources/ai/tests/tests.mjs +16 -0
  196. package/resources/ai/tests/tests.mjs.map +1 -0
  197. package/resources/ai/tests.d.mts +2 -0
  198. package/resources/ai/tests.d.mts.map +1 -0
  199. package/resources/ai/tests.d.ts +2 -0
  200. package/resources/ai/tests.d.ts.map +1 -0
  201. package/resources/ai/tests.js +6 -0
  202. package/resources/ai/tests.js.map +1 -0
  203. package/resources/ai/tests.mjs +3 -0
  204. package/resources/ai/tests.mjs.map +1 -0
  205. package/resources/artifact-downloads.d.mts +21 -0
  206. package/resources/artifact-downloads.d.mts.map +1 -0
  207. package/resources/artifact-downloads.d.ts +21 -0
  208. package/resources/artifact-downloads.d.ts.map +1 -0
  209. package/resources/artifact-downloads.js +26 -0
  210. package/resources/artifact-downloads.js.map +1 -0
  211. package/resources/artifact-downloads.mjs +22 -0
  212. package/resources/artifact-downloads.mjs.map +1 -0
  213. package/resources/bot-challenge.js +1 -1
  214. package/resources/bot-challenge.js.map +1 -1
  215. package/resources/bot-challenge.mjs +1 -1
  216. package/resources/bot-challenge.mjs.map +1 -1
  217. package/resources/bot-sessions.js +1 -1
  218. package/resources/bot-sessions.js.map +1 -1
  219. package/resources/bot-sessions.mjs +1 -1
  220. package/resources/bot-sessions.mjs.map +1 -1
  221. package/resources/bot-signup.js +2 -2
  222. package/resources/bot-signup.js.map +1 -1
  223. package/resources/bot-signup.mjs +2 -2
  224. package/resources/bot-signup.mjs.map +1 -1
  225. package/resources/browser-sessions/actions.d.mts +542 -0
  226. package/resources/browser-sessions/actions.d.mts.map +1 -0
  227. package/resources/browser-sessions/actions.d.ts +542 -0
  228. package/resources/browser-sessions/actions.d.ts.map +1 -0
  229. package/resources/browser-sessions/actions.js +55 -0
  230. package/resources/browser-sessions/actions.js.map +1 -0
  231. package/resources/browser-sessions/actions.mjs +51 -0
  232. package/resources/browser-sessions/actions.mjs.map +1 -0
  233. package/resources/browser-sessions/browser-sessions.d.mts +165 -0
  234. package/resources/browser-sessions/browser-sessions.d.mts.map +1 -0
  235. package/resources/browser-sessions/browser-sessions.d.ts +165 -0
  236. package/resources/browser-sessions/browser-sessions.d.ts.map +1 -0
  237. package/resources/browser-sessions/browser-sessions.js +87 -0
  238. package/resources/browser-sessions/browser-sessions.js.map +1 -0
  239. package/resources/browser-sessions/browser-sessions.mjs +82 -0
  240. package/resources/browser-sessions/browser-sessions.mjs.map +1 -0
  241. package/resources/browser-sessions/index.d.mts +3 -0
  242. package/resources/browser-sessions/index.d.mts.map +1 -0
  243. package/resources/browser-sessions/index.d.ts +3 -0
  244. package/resources/browser-sessions/index.d.ts.map +1 -0
  245. package/resources/browser-sessions/index.js +9 -0
  246. package/resources/browser-sessions/index.js.map +1 -0
  247. package/resources/browser-sessions/index.mjs +4 -0
  248. package/resources/browser-sessions/index.mjs.map +1 -0
  249. package/resources/browser-sessions.d.mts +2 -0
  250. package/resources/browser-sessions.d.mts.map +1 -0
  251. package/resources/browser-sessions.d.ts +2 -0
  252. package/resources/browser-sessions.d.ts.map +1 -0
  253. package/resources/browser-sessions.js +6 -0
  254. package/resources/browser-sessions.js.map +1 -0
  255. package/resources/browser-sessions.mjs +3 -0
  256. package/resources/browser-sessions.mjs.map +1 -0
  257. package/resources/call-control-applications.d.mts +2 -2
  258. package/resources/call-control-applications.d.ts +2 -2
  259. package/resources/calls/actions.d.mts +35 -28
  260. package/resources/calls/actions.d.mts.map +1 -1
  261. package/resources/calls/actions.d.ts +35 -28
  262. package/resources/calls/actions.d.ts.map +1 -1
  263. package/resources/compute/compute.d.mts +75 -2
  264. package/resources/compute/compute.d.mts.map +1 -1
  265. package/resources/compute/compute.d.ts +75 -2
  266. package/resources/compute/compute.d.ts.map +1 -1
  267. package/resources/compute/compute.js +17 -0
  268. package/resources/compute/compute.js.map +1 -1
  269. package/resources/compute/compute.mjs +17 -0
  270. package/resources/compute/compute.mjs.map +1 -1
  271. package/resources/compute/funcs/export.d.mts +3 -0
  272. package/resources/compute/funcs/export.d.mts.map +1 -1
  273. package/resources/compute/funcs/export.d.ts +3 -0
  274. package/resources/compute/funcs/export.d.ts.map +1 -1
  275. package/resources/compute/funcs/export.js +3 -0
  276. package/resources/compute/funcs/export.js.map +1 -1
  277. package/resources/compute/funcs/export.mjs +3 -0
  278. package/resources/compute/funcs/export.mjs.map +1 -1
  279. package/resources/compute/funcs/funcs.d.mts +60 -1
  280. package/resources/compute/funcs/funcs.d.mts.map +1 -1
  281. package/resources/compute/funcs/funcs.d.ts +60 -1
  282. package/resources/compute/funcs/funcs.d.ts.map +1 -1
  283. package/resources/compute/funcs/funcs.js +24 -0
  284. package/resources/compute/funcs/funcs.js.map +1 -1
  285. package/resources/compute/funcs/funcs.mjs +24 -0
  286. package/resources/compute/funcs/funcs.mjs.map +1 -1
  287. package/resources/compute/funcs/index.d.mts +1 -1
  288. package/resources/compute/funcs/index.d.mts.map +1 -1
  289. package/resources/compute/funcs/index.d.ts +1 -1
  290. package/resources/compute/funcs/index.d.ts.map +1 -1
  291. package/resources/compute/funcs/index.js.map +1 -1
  292. package/resources/compute/funcs/index.mjs.map +1 -1
  293. package/resources/compute/index.d.mts +2 -2
  294. package/resources/compute/index.d.mts.map +1 -1
  295. package/resources/compute/index.d.ts +2 -2
  296. package/resources/compute/index.d.ts.map +1 -1
  297. package/resources/compute/index.js.map +1 -1
  298. package/resources/compute/index.mjs.map +1 -1
  299. package/resources/conferences/actions.d.mts +3 -2
  300. package/resources/conferences/actions.d.mts.map +1 -1
  301. package/resources/conferences/actions.d.ts +3 -2
  302. package/resources/conferences/actions.d.ts.map +1 -1
  303. package/resources/email/dedicated-ips/actions.d.mts +73 -0
  304. package/resources/email/dedicated-ips/actions.d.mts.map +1 -0
  305. package/resources/email/dedicated-ips/actions.d.ts +73 -0
  306. package/resources/email/dedicated-ips/actions.d.ts.map +1 -0
  307. package/resources/email/dedicated-ips/actions.js +84 -0
  308. package/resources/email/dedicated-ips/actions.js.map +1 -0
  309. package/resources/email/dedicated-ips/actions.mjs +80 -0
  310. package/resources/email/dedicated-ips/actions.mjs.map +1 -0
  311. package/resources/email/dedicated-ips/dedicated-ips.d.mts +444 -0
  312. package/resources/email/dedicated-ips/dedicated-ips.d.mts.map +1 -0
  313. package/resources/email/dedicated-ips/dedicated-ips.d.ts +444 -0
  314. package/resources/email/dedicated-ips/dedicated-ips.d.ts.map +1 -0
  315. package/resources/email/dedicated-ips/dedicated-ips.js +142 -0
  316. package/resources/email/dedicated-ips/dedicated-ips.js.map +1 -0
  317. package/resources/email/dedicated-ips/dedicated-ips.mjs +137 -0
  318. package/resources/email/dedicated-ips/dedicated-ips.mjs.map +1 -0
  319. package/resources/email/dedicated-ips/index.d.mts +3 -0
  320. package/resources/email/dedicated-ips/index.d.mts.map +1 -0
  321. package/resources/email/dedicated-ips/index.d.ts +3 -0
  322. package/resources/email/dedicated-ips/index.d.ts.map +1 -0
  323. package/resources/email/dedicated-ips/index.js +9 -0
  324. package/resources/email/dedicated-ips/index.js.map +1 -0
  325. package/resources/email/dedicated-ips/index.mjs +4 -0
  326. package/resources/email/dedicated-ips/index.mjs.map +1 -0
  327. package/resources/email/dedicated-ips.d.mts +2 -0
  328. package/resources/email/dedicated-ips.d.mts.map +1 -0
  329. package/resources/email/dedicated-ips.d.ts +2 -0
  330. package/resources/email/dedicated-ips.d.ts.map +1 -0
  331. package/resources/email/dedicated-ips.js +6 -0
  332. package/resources/email/dedicated-ips.js.map +1 -0
  333. package/resources/email/dedicated-ips.mjs +3 -0
  334. package/resources/email/dedicated-ips.mjs.map +1 -0
  335. package/resources/email/email.d.mts +14 -0
  336. package/resources/email/email.d.mts.map +1 -0
  337. package/resources/email/email.d.ts +14 -0
  338. package/resources/email/email.d.ts.map +1 -0
  339. package/resources/email/email.js +21 -0
  340. package/resources/email/email.js.map +1 -0
  341. package/resources/email/email.mjs +16 -0
  342. package/resources/email/email.mjs.map +1 -0
  343. package/resources/email/index.d.mts +4 -0
  344. package/resources/email/index.d.mts.map +1 -0
  345. package/resources/email/index.d.ts +4 -0
  346. package/resources/email/index.d.ts.map +1 -0
  347. package/resources/email/index.js +11 -0
  348. package/resources/email/index.js.map +1 -0
  349. package/resources/email/index.mjs +5 -0
  350. package/resources/email/index.mjs.map +1 -0
  351. package/resources/email/ip-pools/index.d.mts +3 -0
  352. package/resources/email/ip-pools/index.d.mts.map +1 -0
  353. package/resources/email/ip-pools/index.d.ts +3 -0
  354. package/resources/email/ip-pools/index.d.ts.map +1 -0
  355. package/resources/email/ip-pools/index.js +9 -0
  356. package/resources/email/ip-pools/index.js.map +1 -0
  357. package/resources/email/ip-pools/index.mjs +4 -0
  358. package/resources/email/ip-pools/index.mjs.map +1 -0
  359. package/resources/email/ip-pools/ip-pools.d.mts +184 -0
  360. package/resources/email/ip-pools/ip-pools.d.mts.map +1 -0
  361. package/resources/email/ip-pools/ip-pools.d.ts +184 -0
  362. package/resources/email/ip-pools/ip-pools.d.ts.map +1 -0
  363. package/resources/email/ip-pools/ip-pools.js +102 -0
  364. package/resources/email/ip-pools/ip-pools.js.map +1 -0
  365. package/resources/email/ip-pools/ip-pools.mjs +97 -0
  366. package/resources/email/ip-pools/ip-pools.mjs.map +1 -0
  367. package/resources/email/ip-pools/ips.d.mts +83 -0
  368. package/resources/email/ip-pools/ips.d.mts.map +1 -0
  369. package/resources/email/ip-pools/ips.d.ts +83 -0
  370. package/resources/email/ip-pools/ips.d.ts.map +1 -0
  371. package/resources/email/ip-pools/ips.js +54 -0
  372. package/resources/email/ip-pools/ips.js.map +1 -0
  373. package/resources/email/ip-pools/ips.mjs +50 -0
  374. package/resources/email/ip-pools/ips.mjs.map +1 -0
  375. package/resources/email/ip-pools.d.mts +2 -0
  376. package/resources/email/ip-pools.d.mts.map +1 -0
  377. package/resources/email/ip-pools.d.ts +2 -0
  378. package/resources/email/ip-pools.d.ts.map +1 -0
  379. package/resources/email/ip-pools.js +6 -0
  380. package/resources/email/ip-pools.js.map +1 -0
  381. package/resources/email/ip-pools.mjs +3 -0
  382. package/resources/email/ip-pools.mjs.map +1 -0
  383. package/resources/email.d.mts +2 -0
  384. package/resources/email.d.mts.map +1 -0
  385. package/resources/email.d.ts +2 -0
  386. package/resources/email.d.ts.map +1 -0
  387. package/resources/email.js +6 -0
  388. package/resources/email.js.map +1 -0
  389. package/resources/email.mjs +3 -0
  390. package/resources/email.mjs.map +1 -0
  391. package/resources/fax-applications.d.mts +6 -6
  392. package/resources/fax-applications.d.ts +6 -6
  393. package/resources/fqdn-connections/fqdn-connections.d.mts +2 -2
  394. package/resources/fqdn-connections/fqdn-connections.d.ts +2 -2
  395. package/resources/index.d.mts +10 -3
  396. package/resources/index.d.mts.map +1 -1
  397. package/resources/index.d.ts +10 -3
  398. package/resources/index.d.ts.map +1 -1
  399. package/resources/index.js +18 -4
  400. package/resources/index.js.map +1 -1
  401. package/resources/index.mjs +7 -0
  402. package/resources/index.mjs.map +1 -1
  403. package/resources/ip-connections.d.mts +4 -4
  404. package/resources/ip-connections.d.ts +4 -4
  405. package/resources/messaging-profiles/index.d.mts +1 -1
  406. package/resources/messaging-profiles/index.d.mts.map +1 -1
  407. package/resources/messaging-profiles/index.d.ts +1 -1
  408. package/resources/messaging-profiles/index.d.ts.map +1 -1
  409. package/resources/messaging-profiles/index.js.map +1 -1
  410. package/resources/messaging-profiles/index.mjs.map +1 -1
  411. package/resources/messaging-profiles/messaging-profiles.d.mts +26 -1
  412. package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
  413. package/resources/messaging-profiles/messaging-profiles.d.ts +26 -1
  414. package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
  415. package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
  416. package/resources/messaging-profiles/messaging-profiles.mjs.map +1 -1
  417. package/resources/network-coverage.d.mts +1 -1
  418. package/resources/network-coverage.d.mts.map +1 -1
  419. package/resources/network-coverage.d.ts +1 -1
  420. package/resources/network-coverage.d.ts.map +1 -1
  421. package/resources/network-routes.d.mts +257 -0
  422. package/resources/network-routes.d.mts.map +1 -0
  423. package/resources/network-routes.d.ts +257 -0
  424. package/resources/network-routes.d.ts.map +1 -0
  425. package/resources/network-routes.js +83 -0
  426. package/resources/network-routes.js.map +1 -0
  427. package/resources/network-routes.mjs +79 -0
  428. package/resources/network-routes.mjs.map +1 -0
  429. package/resources/number-lookup.d.mts +122 -4
  430. package/resources/number-lookup.d.mts.map +1 -1
  431. package/resources/number-lookup.d.ts +122 -4
  432. package/resources/number-lookup.d.ts.map +1 -1
  433. package/resources/pay-connectors.d.mts +378 -0
  434. package/resources/pay-connectors.d.mts.map +1 -0
  435. package/resources/pay-connectors.d.ts +378 -0
  436. package/resources/pay-connectors.d.ts.map +1 -0
  437. package/resources/pay-connectors.js +116 -0
  438. package/resources/pay-connectors.js.map +1 -0
  439. package/resources/pay-connectors.mjs +112 -0
  440. package/resources/pay-connectors.mjs.map +1 -0
  441. package/resources/public-internet-gateways.d.mts +0 -8
  442. package/resources/public-internet-gateways.d.mts.map +1 -1
  443. package/resources/public-internet-gateways.d.ts +0 -8
  444. package/resources/public-internet-gateways.d.ts.map +1 -1
  445. package/resources/spend-limits.d.mts +150 -32
  446. package/resources/spend-limits.d.mts.map +1 -1
  447. package/resources/spend-limits.d.ts +150 -32
  448. package/resources/spend-limits.d.ts.map +1 -1
  449. package/resources/spend-limits.js +26 -7
  450. package/resources/spend-limits.js.map +1 -1
  451. package/resources/spend-limits.mjs +26 -7
  452. package/resources/spend-limits.mjs.map +1 -1
  453. package/resources/tailscale-subnet-routers.d.mts +233 -0
  454. package/resources/tailscale-subnet-routers.d.mts.map +1 -0
  455. package/resources/tailscale-subnet-routers.d.ts +233 -0
  456. package/resources/tailscale-subnet-routers.d.ts.map +1 -0
  457. package/resources/tailscale-subnet-routers.js +105 -0
  458. package/resources/tailscale-subnet-routers.js.map +1 -0
  459. package/resources/tailscale-subnet-routers.mjs +101 -0
  460. package/resources/tailscale-subnet-routers.mjs.map +1 -0
  461. package/resources/texml-applications.d.mts +6 -6
  462. package/resources/texml-applications.d.ts +6 -6
  463. package/resources/text-to-speech/text-to-speech.d.mts +1 -6
  464. package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
  465. package/resources/text-to-speech/text-to-speech.d.ts +1 -6
  466. package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
  467. package/resources/text-to-speech/text-to-speech.js +1 -2
  468. package/resources/text-to-speech/text-to-speech.js.map +1 -1
  469. package/resources/text-to-speech/text-to-speech.mjs +1 -2
  470. package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
  471. package/resources/tunnels/actions.d.mts +29 -0
  472. package/resources/tunnels/actions.d.mts.map +1 -0
  473. package/resources/tunnels/actions.d.ts +29 -0
  474. package/resources/tunnels/actions.d.ts.map +1 -0
  475. package/resources/tunnels/actions.js +28 -0
  476. package/resources/tunnels/actions.js.map +1 -0
  477. package/resources/tunnels/actions.mjs +24 -0
  478. package/resources/tunnels/actions.mjs.map +1 -0
  479. package/resources/tunnels/index.d.mts +3 -0
  480. package/resources/tunnels/index.d.mts.map +1 -0
  481. package/resources/tunnels/index.d.ts +3 -0
  482. package/resources/tunnels/index.d.ts.map +1 -0
  483. package/resources/tunnels/index.js +9 -0
  484. package/resources/tunnels/index.js.map +1 -0
  485. package/resources/tunnels/index.mjs +4 -0
  486. package/resources/tunnels/index.mjs.map +1 -0
  487. package/resources/tunnels/tunnels.d.mts +194 -0
  488. package/resources/tunnels/tunnels.d.mts.map +1 -0
  489. package/resources/tunnels/tunnels.d.ts +194 -0
  490. package/resources/tunnels/tunnels.d.ts.map +1 -0
  491. package/resources/tunnels/tunnels.js +82 -0
  492. package/resources/tunnels/tunnels.js.map +1 -0
  493. package/resources/tunnels/tunnels.mjs +77 -0
  494. package/resources/tunnels/tunnels.mjs.map +1 -0
  495. package/resources/tunnels.d.mts +2 -0
  496. package/resources/tunnels.d.mts.map +1 -0
  497. package/resources/tunnels.d.ts +2 -0
  498. package/resources/tunnels.d.ts.map +1 -0
  499. package/resources/tunnels.js +6 -0
  500. package/resources/tunnels.js.map +1 -0
  501. package/resources/tunnels.mjs +3 -0
  502. package/resources/tunnels.mjs.map +1 -0
  503. package/resources/voice-clones.d.mts +54 -8
  504. package/resources/voice-clones.d.mts.map +1 -1
  505. package/resources/voice-clones.d.ts +54 -8
  506. package/resources/voice-clones.d.ts.map +1 -1
  507. package/resources/voice-clones.js +6 -5
  508. package/resources/voice-clones.js.map +1 -1
  509. package/resources/voice-clones.mjs +6 -5
  510. package/resources/voice-clones.mjs.map +1 -1
  511. package/resources/whatsapp/hosted-signups.d.mts +2 -1
  512. package/resources/whatsapp/hosted-signups.d.mts.map +1 -1
  513. package/resources/whatsapp/hosted-signups.d.ts +2 -1
  514. package/resources/whatsapp/hosted-signups.d.ts.map +1 -1
  515. package/resources/wireguard-interfaces.d.mts +0 -8
  516. package/resources/wireguard-interfaces.d.mts.map +1 -1
  517. package/resources/wireguard-interfaces.d.ts +0 -8
  518. package/resources/wireguard-interfaces.d.ts.map +1 -1
  519. package/src/client.ts +161 -2
  520. package/src/resources/addresses/actions.ts +23 -4
  521. package/src/resources/ai/ai.ts +6 -0
  522. package/src/resources/ai/assistants/assistants.ts +43 -24
  523. package/src/resources/ai/audio.ts +23 -11
  524. package/src/resources/ai/avatars.ts +9 -9
  525. package/src/resources/ai/index.ts +1 -0
  526. package/src/resources/ai/tests/index.ts +5 -0
  527. package/src/resources/ai/tests/schedules/index.ts +4 -0
  528. package/src/resources/ai/tests/schedules/schedules.ts +15 -0
  529. package/src/resources/ai/tests/schedules/v1/cron-jobs.ts +248 -0
  530. package/src/resources/ai/tests/schedules/v1/index.ts +12 -0
  531. package/src/resources/ai/tests/schedules/v1/v1.ts +31 -0
  532. package/src/resources/ai/tests/schedules/v1.ts +3 -0
  533. package/src/resources/ai/tests/schedules.ts +3 -0
  534. package/src/resources/ai/tests/test-framework/index.ts +4 -0
  535. package/src/resources/ai/tests/test-framework/test-framework.ts +15 -0
  536. package/src/resources/ai/tests/test-framework/v1/aiagents.ts +304 -0
  537. package/src/resources/ai/tests/test-framework/v1/index.ts +54 -0
  538. package/src/resources/ai/tests/test-framework/v1/metrics.ts +491 -0
  539. package/src/resources/ai/tests/test-framework/v1/results.ts +304 -0
  540. package/src/resources/ai/tests/test-framework/v1/scenarios.ts +774 -0
  541. package/src/resources/ai/tests/test-framework/v1/v1.ts +214 -0
  542. package/src/resources/ai/tests/test-framework/v1.ts +3 -0
  543. package/src/resources/ai/tests/test-framework.ts +3 -0
  544. package/src/resources/ai/tests/tests.ts +21 -0
  545. package/src/resources/ai/tests.ts +3 -0
  546. package/src/resources/artifact-downloads.ts +39 -0
  547. package/src/resources/bot-challenge.ts +1 -1
  548. package/src/resources/bot-sessions.ts +1 -1
  549. package/src/resources/bot-signup.ts +2 -2
  550. package/src/resources/browser-sessions/actions.ts +778 -0
  551. package/src/resources/browser-sessions/browser-sessions.ts +278 -0
  552. package/src/resources/browser-sessions/index.ts +31 -0
  553. package/src/resources/browser-sessions.ts +3 -0
  554. package/src/resources/call-control-applications.ts +2 -2
  555. package/src/resources/calls/actions.ts +38 -27
  556. package/src/resources/compute/compute.ts +105 -0
  557. package/src/resources/compute/funcs/export.ts +3 -0
  558. package/src/resources/compute/funcs/funcs.ts +99 -0
  559. package/src/resources/compute/funcs/index.ts +3 -0
  560. package/src/resources/compute/index.ts +4 -1
  561. package/src/resources/conferences/actions.ts +3 -2
  562. package/src/resources/email/dedicated-ips/actions.ts +87 -0
  563. package/src/resources/email/dedicated-ips/dedicated-ips.ts +563 -0
  564. package/src/resources/email/dedicated-ips/index.ts +13 -0
  565. package/src/resources/email/dedicated-ips.ts +3 -0
  566. package/src/resources/email/email.ts +55 -0
  567. package/src/resources/email/index.ts +22 -0
  568. package/src/resources/email/ip-pools/index.ts +12 -0
  569. package/src/resources/email/ip-pools/ip-pools.ts +247 -0
  570. package/src/resources/email/ip-pools/ips.ts +112 -0
  571. package/src/resources/email/ip-pools.ts +3 -0
  572. package/src/resources/email.ts +3 -0
  573. package/src/resources/fax-applications.ts +6 -6
  574. package/src/resources/fqdn-connections/fqdn-connections.ts +2 -2
  575. package/src/resources/index.ts +59 -1
  576. package/src/resources/ip-connections.ts +4 -4
  577. package/src/resources/messaging-profiles/index.ts +1 -0
  578. package/src/resources/messaging-profiles/messaging-profiles.ts +31 -0
  579. package/src/resources/network-coverage.ts +5 -1
  580. package/src/resources/network-routes.ts +332 -0
  581. package/src/resources/number-lookup.ts +154 -4
  582. package/src/resources/pay-connectors.ts +482 -0
  583. package/src/resources/public-internet-gateways.ts +0 -10
  584. package/src/resources/spend-limits.ts +179 -36
  585. package/src/resources/tailscale-subnet-routers.ts +303 -0
  586. package/src/resources/texml-applications.ts +6 -6
  587. package/src/resources/text-to-speech/text-to-speech.ts +1 -7
  588. package/src/resources/tunnels/actions.ts +36 -0
  589. package/src/resources/tunnels/index.ts +13 -0
  590. package/src/resources/tunnels/tunnels.ts +260 -0
  591. package/src/resources/tunnels.ts +3 -0
  592. package/src/resources/voice-clones.ts +88 -8
  593. package/src/resources/whatsapp/hosted-signups.ts +2 -1
  594. package/src/resources/wireguard-interfaces.ts +0 -10
  595. package/src/version.ts +1 -1
  596. package/version.d.mts +1 -1
  597. package/version.d.ts +1 -1
  598. package/version.js +1 -1
  599. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"spend-limits.d.ts","sourceRoot":"","sources":["../src/resources/spend-limits.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;;;;;;;GAQG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIlE;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI9F;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,OAAO,EAAE,MAAM,EACf,MAAM,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAk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AEvB;;WAEG;QACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;QAE1B;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,SAAS,CAAC,EAAE,KAAK,CAAC;KACnB;IAED,UAAiB,yBAAyB;QACxC;;WAEG;QACH,SAAS,EAAE,IAAI,CAAC;QAEhB;;;;WAIG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;QAE1B;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -11,6 +11,7 @@ const path_1 = require("../internal/utils/path.js");
11
11
  * - **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.
12
12
  * - **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.
13
13
  * - **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.
14
+ * - **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.
14
15
  * - **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.
15
16
  */
16
17
  class SpendLimits extends resource_1.APIResource {
@@ -19,7 +20,9 @@ class SpendLimits extends resource_1.APIResource {
19
20
  * the spend so far in the period and whether the product is blocked. An entry
20
21
  * without a limit is still listed (`limit: null`). When the spend cannot be read,
21
22
  * the entry is returned with `spend_usd: null` and `spend_error` set. The list is
22
- * not paginated.
23
+ * not paginated. Each entry also lists the API key limits of its product and
24
+ * period in `credential_limits`, with each key's spend and block. Each API key
25
+ * limit can be at most the total limit; together they may add up to more than it.
23
26
  *
24
27
  * @example
25
28
  * ```ts
@@ -34,7 +37,9 @@ class SpendLimits extends resource_1.APIResource {
34
37
  * `amount` and `unlimited: true`. The period's spend is checked at once: if it is
35
38
  * already above the new limit, the product is blocked immediately
36
39
  * (`evaluation.blocked_now`). Returns 409 when a limit already exists for the
37
- * product and period; update it instead.
40
+ * product and period; update it instead. With `credential_id`, the limit applies
41
+ * to that API key only: it needs an `amount`, and the period's API key limits
42
+ * cannot add up to more than the total limit when the total has an amount.
38
43
  *
39
44
  * @example
40
45
  * ```ts
@@ -54,7 +59,11 @@ class SpendLimits extends resource_1.APIResource {
54
59
  * default limit, the product becomes unlimited for the period and the period's
55
60
  * block is lifted (`evaluation.released`). The response carries `limit: null` and
56
61
  * the `effective_limit_usd` that applies after the removal. Returns 404 when no
57
- * limit is set.
62
+ * limit is set. With the `credential_id` query parameter, the request removes that
63
+ * API key's limit for the period and lifts the key's block in that period at once.
64
+ * A block under the key's limit in the other period stays
65
+ * (`evaluation.still_blocked_other_period`). Removing the total limit leaves the
66
+ * API key limits in place.
58
67
  *
59
68
  * @example
60
69
  * ```ts
@@ -64,8 +73,11 @@ class SpendLimits extends resource_1.APIResource {
64
73
  * ```
65
74
  */
66
75
  delete(product, params = {}, options) {
67
- const { period, reason } = params ?? {};
68
- return this._client.delete((0, path_1.path) `/spend_limits/${product}`, { query: { period, reason }, ...options });
76
+ const { credential_id, period, reason } = params ?? {};
77
+ return this._client.delete((0, path_1.path) `/spend_limits/${product}`, {
78
+ query: { credential_id, period, reason },
79
+ ...options,
80
+ });
69
81
  }
70
82
  /**
71
83
  * Replaces the value of the existing limit for the product and period. Send
@@ -73,6 +85,9 @@ class SpendLimits extends resource_1.APIResource {
73
85
  * once: raising the limit above the spend lifts the period's block
74
86
  * (`evaluation.released`), and lowering it below the spend blocks the product
75
87
  * (`evaluation.blocked_now`). Returns 404 when no limit is set; create it instead.
88
+ * With the `credential_id` query parameter, the request changes that API key's
89
+ * limit; it needs an `amount`, and it can be at most the period's total limit.
90
+ * Lowering the total limit below the period's highest API key limit is refused.
76
91
  *
77
92
  * @example
78
93
  * ```ts
@@ -83,8 +98,12 @@ class SpendLimits extends resource_1.APIResource {
83
98
  * ```
84
99
  */
85
100
  update(product, params, options) {
86
- const { period, ...body } = params;
87
- return this._client.patch((0, path_1.path) `/spend_limits/${product}`, { query: { period }, body, ...options });
101
+ const { credential_id, period, ...body } = params;
102
+ return this._client.patch((0, path_1.path) `/spend_limits/${product}`, {
103
+ query: { credential_id, period },
104
+ body,
105
+ ...options,
106
+ });
88
107
  }
89
108
  }
90
109
  exports.SpendLimits = SpendLimits;
@@ -1 +1 @@
1
- {"version":3,"file":"spend-limits.js","sourceRoot":"","sources":["../src/resources/spend-limits.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C;;;;;;;;GAQG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;IACpD,CA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kBG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,OAAe,EACf,SAAoD,EAAE,EACtD,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,iBAAiB,OAAO,EAAE,EAAE;YACzD,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE;YACxC,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,OAAe,EACf,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,iBAAiB,OAAO,EAAE,EAAE;YACxD,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE;YAChC,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAtGD,kCAsGC"}
@@ -8,6 +8,7 @@ import { path } from "../internal/utils/path.mjs";
8
8
  * - **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.
9
9
  * - **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.
10
10
  * - **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.
11
+ * - **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.
11
12
  * - **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.
12
13
  */
13
14
  export class SpendLimits extends APIResource {
@@ -16,7 +17,9 @@ export class SpendLimits extends APIResource {
16
17
  * the spend so far in the period and whether the product is blocked. An entry
17
18
  * without a limit is still listed (`limit: null`). When the spend cannot be read,
18
19
  * the entry is returned with `spend_usd: null` and `spend_error` set. The list is
19
- * not paginated.
20
+ * not paginated. Each entry also lists the API key limits of its product and
21
+ * period in `credential_limits`, with each key's spend and block. Each API key
22
+ * limit can be at most the total limit; together they may add up to more than it.
20
23
  *
21
24
  * @example
22
25
  * ```ts
@@ -31,7 +34,9 @@ export class SpendLimits extends APIResource {
31
34
  * `amount` and `unlimited: true`. The period's spend is checked at once: if it is
32
35
  * already above the new limit, the product is blocked immediately
33
36
  * (`evaluation.blocked_now`). Returns 409 when a limit already exists for the
34
- * product and period; update it instead.
37
+ * product and period; update it instead. With `credential_id`, the limit applies
38
+ * to that API key only: it needs an `amount`, and the period's API key limits
39
+ * cannot add up to more than the total limit when the total has an amount.
35
40
  *
36
41
  * @example
37
42
  * ```ts
@@ -51,7 +56,11 @@ export class SpendLimits extends APIResource {
51
56
  * default limit, the product becomes unlimited for the period and the period's
52
57
  * block is lifted (`evaluation.released`). The response carries `limit: null` and
53
58
  * the `effective_limit_usd` that applies after the removal. Returns 404 when no
54
- * limit is set.
59
+ * limit is set. With the `credential_id` query parameter, the request removes that
60
+ * API key's limit for the period and lifts the key's block in that period at once.
61
+ * A block under the key's limit in the other period stays
62
+ * (`evaluation.still_blocked_other_period`). Removing the total limit leaves the
63
+ * API key limits in place.
55
64
  *
56
65
  * @example
57
66
  * ```ts
@@ -61,8 +70,11 @@ export class SpendLimits extends APIResource {
61
70
  * ```
62
71
  */
63
72
  delete(product, params = {}, options) {
64
- const { period, reason } = params ?? {};
65
- return this._client.delete(path `/spend_limits/${product}`, { query: { period, reason }, ...options });
73
+ const { credential_id, period, reason } = params ?? {};
74
+ return this._client.delete(path `/spend_limits/${product}`, {
75
+ query: { credential_id, period, reason },
76
+ ...options,
77
+ });
66
78
  }
67
79
  /**
68
80
  * Replaces the value of the existing limit for the product and period. Send
@@ -70,6 +82,9 @@ export class SpendLimits extends APIResource {
70
82
  * once: raising the limit above the spend lifts the period's block
71
83
  * (`evaluation.released`), and lowering it below the spend blocks the product
72
84
  * (`evaluation.blocked_now`). Returns 404 when no limit is set; create it instead.
85
+ * With the `credential_id` query parameter, the request changes that API key's
86
+ * limit; it needs an `amount`, and it can be at most the period's total limit.
87
+ * Lowering the total limit below the period's highest API key limit is refused.
73
88
  *
74
89
  * @example
75
90
  * ```ts
@@ -80,8 +95,12 @@ export class SpendLimits extends APIResource {
80
95
  * ```
81
96
  */
82
97
  update(product, params, options) {
83
- const { period, ...body } = params;
84
- return this._client.patch(path `/spend_limits/${product}`, { query: { period }, body, ...options });
98
+ const { credential_id, period, ...body } = params;
99
+ return this._client.patch(path `/spend_limits/${product}`, {
100
+ query: { credential_id, period },
101
+ body,
102
+ ...options,
103
+ });
85
104
  }
86
105
  }
87
106
  //# sourceMappingURL=spend-limits.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"spend-limits.mjs","sourceRoot":"","sources":["../src/resources/spend-limits.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;;;;;;;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ACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;OAaG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,OAAe,EACf,SAAoD,EAAE,EACtD,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,iBAAiB,OAAO,EAAE,EAAE;YACzD,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE;YACxC,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,OAAe,EACf,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,iBAAiB,OAAO,EAAE,EAAE;YACxD,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE;YAChC,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,233 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { APIPromise } from "../core/api-promise.mjs";
3
+ import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../core/pagination.mjs";
4
+ import { RequestOptions } from "../internal/request-options.mjs";
5
+ /**
6
+ * Tailscale Subnet Router operations
7
+ */
8
+ export declare class TailscaleSubnetRouters extends APIResource {
9
+ /**
10
+ * Returns a paginated list of the Tailscale Subnet Routers on the account, with
11
+ * support for filtering by Network.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * // Automatically fetches more pages as needed.
16
+ * for await (const tailscaleSubnetRouter of client.tailscaleSubnetRouters.list()) {
17
+ * // ...
18
+ * }
19
+ * ```
20
+ */
21
+ list(query?: TailscaleSubnetRouterListParams | null | undefined, options?: RequestOptions): PagePromise<TailscaleSubnetRoutersDefaultFlatPagination, TailscaleSubnetRouter>;
22
+ /**
23
+ * Creates a Tailscale Subnet Router on a Network and enrolls it in the user's
24
+ * tailnet with the auth key. The response returns the router with `status`
25
+ * `provisioning`. Poll `GET /tailscale_subnet_routers/{id}` until it is
26
+ * `provisioned`. Then approve its routes in the tailnet, unless an auto-approver
27
+ * covers them.
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * const tailscaleSubnetRouter =
32
+ * await client.tailscaleSubnetRouters.create({
33
+ * advertised_routes: ['172.27.0.0/24'],
34
+ * auth_key: 'tskey-auth-k1AbCdEfGh2IjKlMnOpQrStUv',
35
+ * name: 'tailnet-ashburn',
36
+ * network_id: '0de011ae-ee53-4df4-ba96-754728eb5aad',
37
+ * region_code: 'ashburn-va',
38
+ * });
39
+ * ```
40
+ */
41
+ create(body: TailscaleSubnetRouterCreateParams, options?: RequestOptions): APIPromise<TailscaleSubnetRouterCreateResponse>;
42
+ /**
43
+ * Removes the router from the Network and logs it out of the tailnet. The response
44
+ * returns the router with `status` `deleting`. The record disappears once removal
45
+ * completes. A machine entry can remain in the tailnet's admin console until it is
46
+ * removed there.
47
+ *
48
+ * @example
49
+ * ```ts
50
+ * const tailscaleSubnetRouter =
51
+ * await client.tailscaleSubnetRouters.delete(
52
+ * '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
53
+ * );
54
+ * ```
55
+ */
56
+ delete(id: string, options?: RequestOptions): APIPromise<TailscaleSubnetRouterDeleteResponse>;
57
+ /**
58
+ * Returns the details of a single Tailscale Subnet Router by its identifier,
59
+ * including its enrollment state.
60
+ *
61
+ * @example
62
+ * ```ts
63
+ * const tailscaleSubnetRouter =
64
+ * await client.tailscaleSubnetRouters.retrieve(
65
+ * '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
66
+ * );
67
+ * ```
68
+ */
69
+ retrieve(id: string, options?: RequestOptions): APIPromise<TailscaleSubnetRouterRetrieveResponse>;
70
+ /**
71
+ * Renames the router, changes its advertised routes, or retries a failed
72
+ * enrollment. Any change queues a new provisioning run and returns the router with
73
+ * `status` `provisioning`. The router keeps its machine identity on the tailnet.
74
+ * Send an empty object to retry a `failed` router with its stored auth key.
75
+ * Include a new `auth_key` only while the router has never enrolled. The router's
76
+ * Network and region cannot change: create a new router instead.
77
+ *
78
+ * @example
79
+ * ```ts
80
+ * const tailscaleSubnetRouter =
81
+ * await client.tailscaleSubnetRouters.update(
82
+ * '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
83
+ * {
84
+ * advertised_routes: ['172.27.0.0/24', '172.27.1.0/24'],
85
+ * },
86
+ * );
87
+ * ```
88
+ */
89
+ update(id: string, body: TailscaleSubnetRouterUpdateParams, options?: RequestOptions): APIPromise<TailscaleSubnetRouterUpdateResponse>;
90
+ }
91
+ export type TailscaleSubnetRoutersDefaultFlatPagination = DefaultFlatPagination<TailscaleSubnetRouter>;
92
+ export interface TailscaleSubnetRouter {
93
+ /**
94
+ * Identifies the resource.
95
+ */
96
+ id?: string;
97
+ /**
98
+ * IPv4 subnets of the Network that the router advertises to the tailnet. Each
99
+ * entry is a canonical CIDR that the Network routes. Default, loopback,
100
+ * link-local, multicast, and Tailscale (`100.64.0.0/10`) ranges are rejected. So
101
+ * are ranges that overlap the router's own, `172.27.254.0/24` and `198.18.0.0/20`.
102
+ */
103
+ advertised_routes?: Array<string>;
104
+ /**
105
+ * ISO 8601 formatted date-time indicating when the resource was created.
106
+ */
107
+ created_at?: string;
108
+ /**
109
+ * The router's address on the Network, from `172.27.254.0/24`. Tailnet traffic
110
+ * enters the Network from this address.
111
+ */
112
+ customer_address?: string;
113
+ /**
114
+ * The router's node id on the tailnet. Set once the router has enrolled.
115
+ */
116
+ device_id?: string | null;
117
+ /**
118
+ * A user specified name for the router.
119
+ */
120
+ name?: string;
121
+ /**
122
+ * The id of the Network the router is attached to.
123
+ */
124
+ network_id?: string;
125
+ /**
126
+ * Identifies the type of the resource.
127
+ */
128
+ record_type?: string;
129
+ /**
130
+ * The code of the region the router is created in. `GET /network_coverage` lists
131
+ * the regions whose `available_services` include `tailscale_subnet_router`.
132
+ */
133
+ region_code?: string;
134
+ /**
135
+ * `provisioning`: Telnyx is creating the router or applying a change.
136
+ * `provisioned`: the router is on the tailnet and advertises its routes; the
137
+ * tailnet still approves them. `failed`: enrollment did not complete, and `PATCH`
138
+ * retries it. `deleting`: the router is being removed.
139
+ */
140
+ status?: 'provisioning' | 'provisioned' | 'failed' | 'deleting';
141
+ /**
142
+ * The name of the tailnet the router is enrolled in. Set once the router has
143
+ * enrolled.
144
+ */
145
+ tailnet_name?: string | null;
146
+ /**
147
+ * The router's addresses on the tailnet. Empty until the router has enrolled.
148
+ */
149
+ tailscale_ips?: Array<string>;
150
+ /**
151
+ * ISO 8601 formatted date-time indicating when the resource was updated.
152
+ */
153
+ updated_at?: string;
154
+ }
155
+ export interface TailscaleSubnetRouterCreateResponse {
156
+ data?: TailscaleSubnetRouter;
157
+ }
158
+ export interface TailscaleSubnetRouterRetrieveResponse {
159
+ data?: TailscaleSubnetRouter;
160
+ }
161
+ export interface TailscaleSubnetRouterUpdateResponse {
162
+ data?: TailscaleSubnetRouter;
163
+ }
164
+ export interface TailscaleSubnetRouterDeleteResponse {
165
+ data?: TailscaleSubnetRouter;
166
+ }
167
+ export interface TailscaleSubnetRouterListParams extends DefaultFlatPaginationParams {
168
+ /**
169
+ * Consolidated filter parameter (deepObject style). Originally: filter[network_id]
170
+ */
171
+ filter?: TailscaleSubnetRouterListParams.Filter;
172
+ }
173
+ export declare namespace TailscaleSubnetRouterListParams {
174
+ /**
175
+ * Consolidated filter parameter (deepObject style). Originally: filter[network_id]
176
+ */
177
+ interface Filter {
178
+ /**
179
+ * The id of the Network to filter on.
180
+ */
181
+ network_id?: string;
182
+ }
183
+ }
184
+ export interface TailscaleSubnetRouterCreateParams {
185
+ /**
186
+ * IPv4 subnets of the Network that the router advertises to the tailnet. Each
187
+ * entry is a canonical CIDR that the Network routes. Default, loopback,
188
+ * link-local, multicast, and Tailscale (`100.64.0.0/10`) ranges are rejected. So
189
+ * are ranges that overlap the router's own, `172.27.254.0/24` and `198.18.0.0/20`.
190
+ */
191
+ advertised_routes: Array<string>;
192
+ /**
193
+ * A Tailscale auth key that enrolls the router in the user's tailnet: reusable,
194
+ * pre-approved, tagged, and not ephemeral. Telnyx stores it encrypted until
195
+ * enrollment succeeds, then discards it. It is never returned.
196
+ */
197
+ auth_key: string;
198
+ /**
199
+ * A user specified name for the router.
200
+ */
201
+ name: string;
202
+ /**
203
+ * The id of the Network to attach the router to.
204
+ */
205
+ network_id: string;
206
+ /**
207
+ * The code of the region to create the router in. `GET /network_coverage` lists
208
+ * the regions whose `available_services` include `tailscale_subnet_router`.
209
+ */
210
+ region_code: string;
211
+ }
212
+ export interface TailscaleSubnetRouterUpdateParams {
213
+ /**
214
+ * IPv4 subnets of the Network that the router advertises to the tailnet. Each
215
+ * entry is a canonical CIDR that the Network routes. Default, loopback,
216
+ * link-local, multicast, and Tailscale (`100.64.0.0/10`) ranges are rejected. So
217
+ * are ranges that overlap the router's own, `172.27.254.0/24` and `198.18.0.0/20`.
218
+ */
219
+ advertised_routes?: Array<string>;
220
+ /**
221
+ * A replacement Tailscale auth key. Accepted only while the router has never
222
+ * enrolled, for example after a `failed` enrollment. Never returned.
223
+ */
224
+ auth_key?: string;
225
+ /**
226
+ * A user specified name for the router.
227
+ */
228
+ name?: string;
229
+ }
230
+ export declare namespace TailscaleSubnetRouters {
231
+ export { type TailscaleSubnetRouter as TailscaleSubnetRouter, type TailscaleSubnetRouterCreateResponse as TailscaleSubnetRouterCreateResponse, type TailscaleSubnetRouterRetrieveResponse as TailscaleSubnetRouterRetrieveResponse, type TailscaleSubnetRouterUpdateResponse as TailscaleSubnetRouterUpdateResponse, type TailscaleSubnetRouterDeleteResponse as TailscaleSubnetRouterDeleteResponse, type TailscaleSubnetRoutersDefaultFlatPagination as TailscaleSubnetRoutersDefaultFlatPagination, type TailscaleSubnetRouterListParams as TailscaleSubnetRouterListParams, type TailscaleSubnetRouterCreateParams as TailscaleSubnetRouterCreateParams, type TailscaleSubnetRouterUpdateParams as TailscaleSubnetRouterUpdateParams, };
232
+ }
233
+ //# sourceMappingURL=tailscale-subnet-routers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tailscale-subnet-routers.d.mts","sourceRoot":"","sources":["../src/resources/tailscale-subnet-routers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,+BAA2B;AAC1G,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,WAAW;IACrD;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EAC9D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,2CAA2C,EAAE,qBAAqB,CAAC;IAQlF;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,IAAI,EAAE,iCAAiC,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;IAIlD;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAA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