telnyx 7.23.0 → 7.25.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 (594) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +27 -12
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +27 -12
  5. package/client.d.ts.map +1 -1
  6. package/client.js +15 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +15 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/ai/ai.d.mts +11 -6
  12. package/resources/ai/ai.d.mts.map +1 -1
  13. package/resources/ai/ai.d.ts +11 -6
  14. package/resources/ai/ai.d.ts.map +1 -1
  15. package/resources/ai/ai.js +4 -0
  16. package/resources/ai/ai.js.map +1 -1
  17. package/resources/ai/ai.mjs +4 -0
  18. package/resources/ai/ai.mjs.map +1 -1
  19. package/resources/ai/assistants/assistants.d.mts +469 -35
  20. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  21. package/resources/ai/assistants/assistants.d.ts +469 -35
  22. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  23. package/resources/ai/assistants/assistants.js +79 -2
  24. package/resources/ai/assistants/assistants.js.map +1 -1
  25. package/resources/ai/assistants/assistants.mjs +79 -2
  26. package/resources/ai/assistants/assistants.mjs.map +1 -1
  27. package/resources/ai/assistants/deleted.d.mts +60 -0
  28. package/resources/ai/assistants/deleted.d.mts.map +1 -0
  29. package/resources/ai/assistants/deleted.d.ts +60 -0
  30. package/resources/ai/assistants/deleted.d.ts.map +1 -0
  31. package/resources/ai/assistants/deleted.js +49 -0
  32. package/resources/ai/assistants/deleted.js.map +1 -0
  33. package/resources/ai/assistants/deleted.mjs +45 -0
  34. package/resources/ai/assistants/deleted.mjs.map +1 -0
  35. package/resources/ai/assistants/index.d.mts +2 -1
  36. package/resources/ai/assistants/index.d.mts.map +1 -1
  37. package/resources/ai/assistants/index.d.ts +2 -1
  38. package/resources/ai/assistants/index.d.ts.map +1 -1
  39. package/resources/ai/assistants/index.js +3 -1
  40. package/resources/ai/assistants/index.js.map +1 -1
  41. package/resources/ai/assistants/index.mjs +1 -0
  42. package/resources/ai/assistants/index.mjs.map +1 -1
  43. package/resources/ai/assistants/versions.d.mts +38 -2
  44. package/resources/ai/assistants/versions.d.mts.map +1 -1
  45. package/resources/ai/assistants/versions.d.ts +38 -2
  46. package/resources/ai/assistants/versions.d.ts.map +1 -1
  47. package/resources/ai/chat.d.mts +7 -2
  48. package/resources/ai/chat.d.mts.map +1 -1
  49. package/resources/ai/chat.d.ts +7 -2
  50. package/resources/ai/chat.d.ts.map +1 -1
  51. package/resources/ai/collections/collections.d.mts +3 -3
  52. package/resources/ai/collections/collections.d.mts.map +1 -1
  53. package/resources/ai/collections/collections.d.ts +3 -3
  54. package/resources/ai/collections/collections.d.ts.map +1 -1
  55. package/resources/ai/collections/collections.js.map +1 -1
  56. package/resources/ai/collections/collections.mjs.map +1 -1
  57. package/resources/ai/collections/index.d.mts +1 -1
  58. package/resources/ai/collections/index.d.mts.map +1 -1
  59. package/resources/ai/collections/index.d.ts +1 -1
  60. package/resources/ai/collections/index.d.ts.map +1 -1
  61. package/resources/ai/collections/index.js.map +1 -1
  62. package/resources/ai/collections/index.mjs.map +1 -1
  63. package/resources/ai/collections/sources.d.mts +32 -5
  64. package/resources/ai/collections/sources.d.mts.map +1 -1
  65. package/resources/ai/collections/sources.d.ts +32 -5
  66. package/resources/ai/collections/sources.d.ts.map +1 -1
  67. package/resources/ai/collections/sources.js.map +1 -1
  68. package/resources/ai/collections/sources.mjs.map +1 -1
  69. package/resources/ai/embeddings/embeddings.d.mts +1 -1
  70. package/resources/ai/embeddings/embeddings.d.ts +1 -1
  71. package/resources/ai/embeddings/embeddings.js +1 -1
  72. package/resources/ai/embeddings/embeddings.mjs +1 -1
  73. package/resources/ai/index.d.mts +3 -2
  74. package/resources/ai/index.d.mts.map +1 -1
  75. package/resources/ai/index.d.ts +3 -2
  76. package/resources/ai/index.d.ts.map +1 -1
  77. package/resources/ai/index.js +9 -7
  78. package/resources/ai/index.js.map +1 -1
  79. package/resources/ai/index.mjs +1 -0
  80. package/resources/ai/index.mjs.map +1 -1
  81. package/resources/ai/memory/index.d.mts +3 -0
  82. package/resources/ai/memory/index.d.mts.map +1 -0
  83. package/resources/ai/memory/index.d.ts +3 -0
  84. package/resources/ai/memory/index.d.ts.map +1 -0
  85. package/resources/ai/memory/index.js +9 -0
  86. package/resources/ai/memory/index.js.map +1 -0
  87. package/resources/ai/memory/index.mjs +4 -0
  88. package/resources/ai/memory/index.mjs.map +1 -0
  89. package/resources/ai/memory/memory.d.mts +10 -0
  90. package/resources/ai/memory/memory.d.mts.map +1 -0
  91. package/resources/ai/memory/memory.d.ts +10 -0
  92. package/resources/ai/memory/memory.d.ts.map +1 -0
  93. package/resources/ai/memory/memory.js +17 -0
  94. package/resources/ai/memory/memory.js.map +1 -0
  95. package/resources/ai/memory/memory.mjs +12 -0
  96. package/resources/ai/memory/memory.mjs.map +1 -0
  97. package/resources/ai/memory/namespaces/index.d.mts +4 -0
  98. package/resources/ai/memory/namespaces/index.d.mts.map +1 -0
  99. package/resources/ai/memory/namespaces/index.d.ts +4 -0
  100. package/resources/ai/memory/namespaces/index.d.ts.map +1 -0
  101. package/resources/ai/memory/namespaces/index.js +11 -0
  102. package/resources/ai/memory/namespaces/index.js.map +1 -0
  103. package/resources/ai/memory/namespaces/index.mjs +5 -0
  104. package/resources/ai/memory/namespaces/index.mjs.map +1 -0
  105. package/resources/ai/memory/namespaces/namespaces.d.mts +110 -0
  106. package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -0
  107. package/resources/ai/memory/namespaces/namespaces.d.ts +110 -0
  108. package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -0
  109. package/resources/ai/memory/namespaces/namespaces.js +81 -0
  110. package/resources/ai/memory/namespaces/namespaces.js.map +1 -0
  111. package/resources/ai/memory/namespaces/namespaces.mjs +76 -0
  112. package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -0
  113. package/resources/ai/memory/namespaces/profiles/index.d.mts +4 -0
  114. package/resources/ai/memory/namespaces/profiles/index.d.mts.map +1 -0
  115. package/resources/ai/memory/namespaces/profiles/index.d.ts +4 -0
  116. package/resources/ai/memory/namespaces/profiles/index.d.ts.map +1 -0
  117. package/resources/ai/memory/namespaces/profiles/index.js +11 -0
  118. package/resources/ai/memory/namespaces/profiles/index.js.map +1 -0
  119. package/resources/ai/memory/namespaces/profiles/index.mjs +5 -0
  120. package/resources/ai/memory/namespaces/profiles/index.mjs.map +1 -0
  121. package/resources/ai/memory/namespaces/profiles/memories.d.mts +118 -0
  122. package/resources/ai/memory/namespaces/profiles/memories.d.mts.map +1 -0
  123. package/resources/ai/memory/namespaces/profiles/memories.d.ts +118 -0
  124. package/resources/ai/memory/namespaces/profiles/memories.d.ts.map +1 -0
  125. package/resources/ai/memory/namespaces/profiles/memories.js +63 -0
  126. package/resources/ai/memory/namespaces/profiles/memories.js.map +1 -0
  127. package/resources/ai/memory/namespaces/profiles/memories.mjs +59 -0
  128. package/resources/ai/memory/namespaces/profiles/memories.mjs.map +1 -0
  129. package/resources/ai/memory/namespaces/profiles/profiles.d.mts +324 -0
  130. package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -0
  131. package/resources/ai/memory/namespaces/profiles/profiles.d.ts +324 -0
  132. package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -0
  133. package/resources/ai/memory/namespaces/profiles/profiles.js +161 -0
  134. package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -0
  135. package/resources/ai/memory/namespaces/profiles/profiles.mjs +156 -0
  136. package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -0
  137. package/resources/ai/memory/namespaces/profiles/sources.d.mts +163 -0
  138. package/resources/ai/memory/namespaces/profiles/sources.d.mts.map +1 -0
  139. package/resources/ai/memory/namespaces/profiles/sources.d.ts +163 -0
  140. package/resources/ai/memory/namespaces/profiles/sources.d.ts.map +1 -0
  141. package/resources/ai/memory/namespaces/profiles/sources.js +80 -0
  142. package/resources/ai/memory/namespaces/profiles/sources.js.map +1 -0
  143. package/resources/ai/memory/namespaces/profiles/sources.mjs +76 -0
  144. package/resources/ai/memory/namespaces/profiles/sources.mjs.map +1 -0
  145. package/resources/ai/memory/namespaces/profiles.d.mts +2 -0
  146. package/resources/ai/memory/namespaces/profiles.d.mts.map +1 -0
  147. package/resources/ai/memory/namespaces/profiles.d.ts +2 -0
  148. package/resources/ai/memory/namespaces/profiles.d.ts.map +1 -0
  149. package/resources/ai/memory/namespaces/profiles.js +6 -0
  150. package/resources/ai/memory/namespaces/profiles.js.map +1 -0
  151. package/resources/ai/memory/namespaces/profiles.mjs +3 -0
  152. package/resources/ai/memory/namespaces/profiles.mjs.map +1 -0
  153. package/resources/ai/memory/namespaces/settings.d.mts +108 -0
  154. package/resources/ai/memory/namespaces/settings.d.mts.map +1 -0
  155. package/resources/ai/memory/namespaces/settings.d.ts +108 -0
  156. package/resources/ai/memory/namespaces/settings.d.ts.map +1 -0
  157. package/resources/ai/memory/namespaces/settings.js +54 -0
  158. package/resources/ai/memory/namespaces/settings.js.map +1 -0
  159. package/resources/ai/memory/namespaces/settings.mjs +50 -0
  160. package/resources/ai/memory/namespaces/settings.mjs.map +1 -0
  161. package/resources/ai/memory/namespaces.d.mts +2 -0
  162. package/resources/ai/memory/namespaces.d.mts.map +1 -0
  163. package/resources/ai/memory/namespaces.d.ts +2 -0
  164. package/resources/ai/memory/namespaces.d.ts.map +1 -0
  165. package/resources/ai/memory/namespaces.js +6 -0
  166. package/resources/ai/memory/namespaces.js.map +1 -0
  167. package/resources/ai/memory/namespaces.mjs +3 -0
  168. package/resources/ai/memory/namespaces.mjs.map +1 -0
  169. package/resources/ai/memory.d.mts +2 -0
  170. package/resources/ai/memory.d.mts.map +1 -0
  171. package/resources/ai/memory.d.ts +2 -0
  172. package/resources/ai/memory.d.ts.map +1 -0
  173. package/resources/ai/memory.js +6 -0
  174. package/resources/ai/memory.js.map +1 -0
  175. package/resources/ai/memory.mjs +3 -0
  176. package/resources/ai/memory.mjs.map +1 -0
  177. package/resources/ai/openai/chat.d.mts +7 -2
  178. package/resources/ai/openai/chat.d.mts.map +1 -1
  179. package/resources/ai/openai/chat.d.ts +7 -2
  180. package/resources/ai/openai/chat.d.ts.map +1 -1
  181. package/resources/ai/tools.d.mts +3 -4
  182. package/resources/ai/tools.d.mts.map +1 -1
  183. package/resources/ai/tools.d.ts +3 -4
  184. package/resources/ai/tools.d.ts.map +1 -1
  185. package/resources/ai/tools.js +5 -2
  186. package/resources/ai/tools.js.map +1 -1
  187. package/resources/ai/tools.mjs +5 -2
  188. package/resources/ai/tools.mjs.map +1 -1
  189. package/resources/ai/typesafe/v1.d.mts +25 -14
  190. package/resources/ai/typesafe/v1.d.mts.map +1 -1
  191. package/resources/ai/typesafe/v1.d.ts +25 -14
  192. package/resources/ai/typesafe/v1.d.ts.map +1 -1
  193. package/resources/ai/typesafe/v1.js +15 -10
  194. package/resources/ai/typesafe/v1.js.map +1 -1
  195. package/resources/ai/typesafe/v1.mjs +15 -10
  196. package/resources/ai/typesafe/v1.mjs.map +1 -1
  197. package/resources/calls/actions.d.mts +119 -22
  198. package/resources/calls/actions.d.mts.map +1 -1
  199. package/resources/calls/actions.d.ts +119 -22
  200. package/resources/calls/actions.d.ts.map +1 -1
  201. package/resources/calls/actions.js +31 -0
  202. package/resources/calls/actions.js.map +1 -1
  203. package/resources/calls/actions.mjs +31 -0
  204. package/resources/calls/actions.mjs.map +1 -1
  205. package/resources/calls/calls.d.mts +58 -15
  206. package/resources/calls/calls.d.mts.map +1 -1
  207. package/resources/calls/calls.d.ts +58 -15
  208. package/resources/calls/calls.d.ts.map +1 -1
  209. package/resources/calls/calls.js +3 -0
  210. package/resources/calls/calls.js.map +1 -1
  211. package/resources/calls/calls.mjs +3 -0
  212. package/resources/calls/calls.mjs.map +1 -1
  213. package/resources/calls/index.d.mts +1 -1
  214. package/resources/calls/index.d.mts.map +1 -1
  215. package/resources/calls/index.d.ts +1 -1
  216. package/resources/calls/index.d.ts.map +1 -1
  217. package/resources/calls/index.js.map +1 -1
  218. package/resources/calls/index.mjs.map +1 -1
  219. package/resources/conferences/actions.d.mts +7 -1
  220. package/resources/conferences/actions.d.mts.map +1 -1
  221. package/resources/conferences/actions.d.ts +7 -1
  222. package/resources/conferences/actions.d.ts.map +1 -1
  223. package/resources/dir/dir.d.mts +220 -28
  224. package/resources/dir/dir.d.mts.map +1 -1
  225. package/resources/dir/dir.d.ts +220 -28
  226. package/resources/dir/dir.d.ts.map +1 -1
  227. package/resources/dir/dir.js +77 -13
  228. package/resources/dir/dir.js.map +1 -1
  229. package/resources/dir/dir.mjs +77 -13
  230. package/resources/dir/dir.mjs.map +1 -1
  231. package/resources/dir/index.d.mts +1 -1
  232. package/resources/dir/index.d.mts.map +1 -1
  233. package/resources/dir/index.d.ts +1 -1
  234. package/resources/dir/index.d.ts.map +1 -1
  235. package/resources/dir/index.js.map +1 -1
  236. package/resources/dir/index.mjs.map +1 -1
  237. package/resources/dir/phone-numbers.d.mts +8 -4
  238. package/resources/dir/phone-numbers.d.mts.map +1 -1
  239. package/resources/dir/phone-numbers.d.ts +8 -4
  240. package/resources/dir/phone-numbers.d.ts.map +1 -1
  241. package/resources/dir/phone-numbers.js +4 -4
  242. package/resources/dir/phone-numbers.mjs +4 -4
  243. package/resources/dir/references.d.mts +9 -6
  244. package/resources/dir/references.d.mts.map +1 -1
  245. package/resources/dir/references.d.ts +9 -6
  246. package/resources/dir/references.d.ts.map +1 -1
  247. package/resources/email-blocks/email-blocks.d.mts +12 -4
  248. package/resources/email-blocks/email-blocks.d.mts.map +1 -1
  249. package/resources/email-blocks/email-blocks.d.ts +12 -4
  250. package/resources/email-blocks/email-blocks.d.ts.map +1 -1
  251. package/resources/email-blocks/email-blocks.js +5 -3
  252. package/resources/email-blocks/email-blocks.js.map +1 -1
  253. package/resources/email-blocks/email-blocks.mjs +5 -3
  254. package/resources/email-blocks/email-blocks.mjs.map +1 -1
  255. package/resources/email-blocks/imports.d.mts +20 -4
  256. package/resources/email-blocks/imports.d.mts.map +1 -1
  257. package/resources/email-blocks/imports.d.ts +20 -4
  258. package/resources/email-blocks/imports.d.ts.map +1 -1
  259. package/resources/email-blocks/imports.js +17 -3
  260. package/resources/email-blocks/imports.js.map +1 -1
  261. package/resources/email-blocks/imports.mjs +17 -3
  262. package/resources/email-blocks/imports.mjs.map +1 -1
  263. package/resources/email-domains/email-domains.d.mts +98 -1
  264. package/resources/email-domains/email-domains.d.mts.map +1 -1
  265. package/resources/email-domains/email-domains.d.ts +98 -1
  266. package/resources/email-domains/email-domains.d.ts.map +1 -1
  267. package/resources/email-domains/email-domains.js +21 -0
  268. package/resources/email-domains/email-domains.js.map +1 -1
  269. package/resources/email-domains/email-domains.mjs +21 -0
  270. package/resources/email-domains/email-domains.mjs.map +1 -1
  271. package/resources/email-domains/index.d.mts +1 -1
  272. package/resources/email-domains/index.d.mts.map +1 -1
  273. package/resources/email-domains/index.d.ts +1 -1
  274. package/resources/email-domains/index.d.ts.map +1 -1
  275. package/resources/email-domains/index.js.map +1 -1
  276. package/resources/email-domains/index.mjs.map +1 -1
  277. package/resources/email-domains/webhooks.d.mts +6 -4
  278. package/resources/email-domains/webhooks.d.mts.map +1 -1
  279. package/resources/email-domains/webhooks.d.ts +6 -4
  280. package/resources/email-domains/webhooks.d.ts.map +1 -1
  281. package/resources/email-events.d.mts +162 -28
  282. package/resources/email-events.d.mts.map +1 -1
  283. package/resources/email-events.d.ts +162 -28
  284. package/resources/email-events.d.ts.map +1 -1
  285. package/resources/email-events.js +15 -6
  286. package/resources/email-events.js.map +1 -1
  287. package/resources/email-events.mjs +15 -6
  288. package/resources/email-events.mjs.map +1 -1
  289. package/resources/email-inboxes/drafts.d.mts +31 -1
  290. package/resources/email-inboxes/drafts.d.mts.map +1 -1
  291. package/resources/email-inboxes/drafts.d.ts +31 -1
  292. package/resources/email-inboxes/drafts.d.ts.map +1 -1
  293. package/resources/email-inboxes/drafts.js.map +1 -1
  294. package/resources/email-inboxes/drafts.mjs.map +1 -1
  295. package/resources/email-messages/email-messages.d.mts +174 -43
  296. package/resources/email-messages/email-messages.d.mts.map +1 -1
  297. package/resources/email-messages/email-messages.d.ts +174 -43
  298. package/resources/email-messages/email-messages.d.ts.map +1 -1
  299. package/resources/email-messages/email-messages.js +39 -7
  300. package/resources/email-messages/email-messages.js.map +1 -1
  301. package/resources/email-messages/email-messages.mjs +39 -7
  302. package/resources/email-messages/email-messages.mjs.map +1 -1
  303. package/resources/email-messages/index.d.mts +1 -1
  304. package/resources/email-messages/index.d.mts.map +1 -1
  305. package/resources/email-messages/index.d.ts +1 -1
  306. package/resources/email-messages/index.d.ts.map +1 -1
  307. package/resources/email-messages/index.js.map +1 -1
  308. package/resources/email-messages/index.mjs.map +1 -1
  309. package/resources/email-messages/recipients.d.mts +2 -2
  310. package/resources/email-messages/recipients.d.mts.map +1 -1
  311. package/resources/email-messages/recipients.d.ts +2 -2
  312. package/resources/email-messages/recipients.d.ts.map +1 -1
  313. package/resources/email-templates.d.mts +170 -0
  314. package/resources/email-templates.d.mts.map +1 -1
  315. package/resources/email-templates.d.ts +170 -0
  316. package/resources/email-templates.d.ts.map +1 -1
  317. package/resources/email-templates.js +6 -0
  318. package/resources/email-templates.js.map +1 -1
  319. package/resources/email-templates.mjs +6 -0
  320. package/resources/email-templates.mjs.map +1 -1
  321. package/resources/enterprises/dir.d.mts +17 -1
  322. package/resources/enterprises/dir.d.mts.map +1 -1
  323. package/resources/enterprises/dir.d.ts +17 -1
  324. package/resources/enterprises/dir.d.ts.map +1 -1
  325. package/resources/enterprises/enterprises.d.mts +237 -23
  326. package/resources/enterprises/enterprises.d.mts.map +1 -1
  327. package/resources/enterprises/enterprises.d.ts +237 -23
  328. package/resources/enterprises/enterprises.d.ts.map +1 -1
  329. package/resources/enterprises/enterprises.js +26 -4
  330. package/resources/enterprises/enterprises.js.map +1 -1
  331. package/resources/enterprises/enterprises.mjs +26 -4
  332. package/resources/enterprises/enterprises.mjs.map +1 -1
  333. package/resources/enterprises/index.d.mts +1 -0
  334. package/resources/enterprises/index.d.mts.map +1 -1
  335. package/resources/enterprises/index.d.ts +1 -0
  336. package/resources/enterprises/index.d.ts.map +1 -1
  337. package/resources/enterprises/index.js +3 -1
  338. package/resources/enterprises/index.js.map +1 -1
  339. package/resources/enterprises/index.mjs +1 -0
  340. package/resources/enterprises/index.mjs.map +1 -1
  341. package/resources/enterprises/reputation/loa.d.mts +61 -1
  342. package/resources/enterprises/reputation/loa.d.mts.map +1 -1
  343. package/resources/enterprises/reputation/loa.d.ts +61 -1
  344. package/resources/enterprises/reputation/loa.d.ts.map +1 -1
  345. package/resources/enterprises/verify-email.d.mts +91 -0
  346. package/resources/enterprises/verify-email.d.mts.map +1 -0
  347. package/resources/enterprises/verify-email.d.ts +91 -0
  348. package/resources/enterprises/verify-email.d.ts.map +1 -0
  349. package/resources/enterprises/verify-email.js +55 -0
  350. package/resources/enterprises/verify-email.js.map +1 -0
  351. package/resources/enterprises/verify-email.mjs +51 -0
  352. package/resources/enterprises/verify-email.mjs.map +1 -0
  353. package/resources/index.d.mts +8 -6
  354. package/resources/index.d.mts.map +1 -1
  355. package/resources/index.d.ts +8 -6
  356. package/resources/index.d.ts.map +1 -1
  357. package/resources/index.js +7 -3
  358. package/resources/index.js.map +1 -1
  359. package/resources/index.mjs +2 -0
  360. package/resources/index.mjs.map +1 -1
  361. package/resources/infringement-claims.d.mts +4 -0
  362. package/resources/infringement-claims.d.mts.map +1 -1
  363. package/resources/infringement-claims.d.ts +4 -0
  364. package/resources/infringement-claims.d.ts.map +1 -1
  365. package/resources/llm-token-gateway/index.d.mts +3 -0
  366. package/resources/llm-token-gateway/index.d.mts.map +1 -0
  367. package/resources/llm-token-gateway/index.d.ts +3 -0
  368. package/resources/llm-token-gateway/index.d.ts.map +1 -0
  369. package/resources/llm-token-gateway/index.js +9 -0
  370. package/resources/llm-token-gateway/index.js.map +1 -0
  371. package/resources/llm-token-gateway/index.mjs +4 -0
  372. package/resources/llm-token-gateway/index.mjs.map +1 -0
  373. package/resources/llm-token-gateway/llm-token-gateway.d.mts +10 -0
  374. package/resources/llm-token-gateway/llm-token-gateway.d.mts.map +1 -0
  375. package/resources/llm-token-gateway/llm-token-gateway.d.ts +10 -0
  376. package/resources/llm-token-gateway/llm-token-gateway.d.ts.map +1 -0
  377. package/resources/llm-token-gateway/llm-token-gateway.js +17 -0
  378. package/resources/llm-token-gateway/llm-token-gateway.js.map +1 -0
  379. package/resources/llm-token-gateway/llm-token-gateway.mjs +12 -0
  380. package/resources/llm-token-gateway/llm-token-gateway.mjs.map +1 -0
  381. package/resources/llm-token-gateway/usage.d.mts +260 -0
  382. package/resources/llm-token-gateway/usage.d.mts.map +1 -0
  383. package/resources/llm-token-gateway/usage.d.ts +260 -0
  384. package/resources/llm-token-gateway/usage.d.ts.map +1 -0
  385. package/resources/llm-token-gateway/usage.js +31 -0
  386. package/resources/llm-token-gateway/usage.js.map +1 -0
  387. package/resources/llm-token-gateway/usage.mjs +27 -0
  388. package/resources/llm-token-gateway/usage.mjs.map +1 -0
  389. package/resources/llm-token-gateway.d.mts +2 -0
  390. package/resources/llm-token-gateway.d.mts.map +1 -0
  391. package/resources/llm-token-gateway.d.ts +2 -0
  392. package/resources/llm-token-gateway.d.ts.map +1 -0
  393. package/resources/llm-token-gateway.js +6 -0
  394. package/resources/llm-token-gateway.js.map +1 -0
  395. package/resources/llm-token-gateway.mjs +3 -0
  396. package/resources/llm-token-gateway.mjs.map +1 -0
  397. package/resources/meeting-sessions/actions.d.mts +7 -1
  398. package/resources/meeting-sessions/actions.d.mts.map +1 -1
  399. package/resources/meeting-sessions/actions.d.ts +7 -1
  400. package/resources/meeting-sessions/actions.d.ts.map +1 -1
  401. package/resources/meeting-sessions/actions.js +7 -1
  402. package/resources/meeting-sessions/actions.js.map +1 -1
  403. package/resources/meeting-sessions/actions.mjs +7 -1
  404. package/resources/meeting-sessions/actions.mjs.map +1 -1
  405. package/resources/meeting-sessions/artifacts.d.mts +38 -11
  406. package/resources/meeting-sessions/artifacts.d.mts.map +1 -1
  407. package/resources/meeting-sessions/artifacts.d.ts +38 -11
  408. package/resources/meeting-sessions/artifacts.d.ts.map +1 -1
  409. package/resources/meeting-sessions/artifacts.js +11 -5
  410. package/resources/meeting-sessions/artifacts.js.map +1 -1
  411. package/resources/meeting-sessions/artifacts.mjs +11 -5
  412. package/resources/meeting-sessions/artifacts.mjs.map +1 -1
  413. package/resources/meeting-sessions/meeting-sessions.d.mts +71 -32
  414. package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
  415. package/resources/meeting-sessions/meeting-sessions.d.ts +71 -32
  416. package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
  417. package/resources/meeting-sessions/meeting-sessions.js +6 -8
  418. package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
  419. package/resources/meeting-sessions/meeting-sessions.mjs +6 -8
  420. package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
  421. package/resources/phone-numbers/phone-numbers.d.mts +12 -2
  422. package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
  423. package/resources/phone-numbers/phone-numbers.d.ts +12 -2
  424. package/resources/phone-numbers/phone-numbers.d.ts.map +1 -1
  425. package/resources/phone-numbers/phone-numbers.js.map +1 -1
  426. package/resources/phone-numbers/phone-numbers.mjs.map +1 -1
  427. package/resources/porting-orders/phone-number-blocks.d.mts +1 -1
  428. package/resources/porting-orders/phone-number-blocks.d.mts.map +1 -1
  429. package/resources/porting-orders/phone-number-blocks.d.ts +1 -1
  430. package/resources/porting-orders/phone-number-blocks.d.ts.map +1 -1
  431. package/resources/porting-orders/porting-orders.d.mts +1 -1
  432. package/resources/porting-orders/porting-orders.d.mts.map +1 -1
  433. package/resources/porting-orders/porting-orders.d.ts +1 -1
  434. package/resources/porting-orders/porting-orders.d.ts.map +1 -1
  435. package/resources/porting-orders/porting-orders.js.map +1 -1
  436. package/resources/porting-orders/porting-orders.mjs.map +1 -1
  437. package/resources/porting-phone-numbers.d.mts +1 -1
  438. package/resources/porting-phone-numbers.d.mts.map +1 -1
  439. package/resources/porting-phone-numbers.d.ts +1 -1
  440. package/resources/porting-phone-numbers.d.ts.map +1 -1
  441. package/resources/private-wireless-gateways.d.mts +61 -7
  442. package/resources/private-wireless-gateways.d.mts.map +1 -1
  443. package/resources/private-wireless-gateways.d.ts +61 -7
  444. package/resources/private-wireless-gateways.d.ts.map +1 -1
  445. package/resources/private-wireless-gateways.js +1 -1
  446. package/resources/private-wireless-gateways.js.map +1 -1
  447. package/resources/private-wireless-gateways.mjs +1 -1
  448. package/resources/private-wireless-gateways.mjs.map +1 -1
  449. package/resources/requirements.d.mts +2 -2
  450. package/resources/requirements.d.mts.map +1 -1
  451. package/resources/requirements.d.ts +2 -2
  452. package/resources/requirements.d.ts.map +1 -1
  453. package/resources/spend-limits.d.mts +335 -0
  454. package/resources/spend-limits.d.mts.map +1 -0
  455. package/resources/spend-limits.d.ts +335 -0
  456. package/resources/spend-limits.d.ts.map +1 -0
  457. package/resources/spend-limits.js +91 -0
  458. package/resources/spend-limits.js.map +1 -0
  459. package/resources/spend-limits.mjs +87 -0
  460. package/resources/spend-limits.mjs.map +1 -0
  461. package/resources/terms-of-service/agreements.d.mts +12 -0
  462. package/resources/terms-of-service/agreements.d.mts.map +1 -1
  463. package/resources/terms-of-service/agreements.d.ts +12 -0
  464. package/resources/terms-of-service/agreements.d.ts.map +1 -1
  465. package/resources/terms-of-service/terms-of-service.d.mts +15 -0
  466. package/resources/terms-of-service/terms-of-service.d.mts.map +1 -1
  467. package/resources/terms-of-service/terms-of-service.d.ts +15 -0
  468. package/resources/terms-of-service/terms-of-service.d.ts.map +1 -1
  469. package/resources/terms-of-service/terms-of-service.js.map +1 -1
  470. package/resources/terms-of-service/terms-of-service.mjs.map +1 -1
  471. package/resources/texml/accounts/calls/calls.d.mts +9 -9
  472. package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
  473. package/resources/texml/accounts/calls/calls.d.ts +9 -9
  474. package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
  475. package/resources/texml/accounts/calls/calls.js +12 -2
  476. package/resources/texml/accounts/calls/calls.js.map +1 -1
  477. package/resources/texml/accounts/calls/calls.mjs +12 -2
  478. package/resources/texml/accounts/calls/calls.mjs.map +1 -1
  479. package/resources/text-to-speech/text-to-speech.d.mts +65 -11
  480. package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
  481. package/resources/text-to-speech/text-to-speech.d.ts +65 -11
  482. package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
  483. package/resources/text-to-speech/text-to-speech.js +10 -3
  484. package/resources/text-to-speech/text-to-speech.js.map +1 -1
  485. package/resources/text-to-speech/text-to-speech.mjs +10 -3
  486. package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
  487. package/resources/webhooks.d.mts +417 -9
  488. package/resources/webhooks.d.mts.map +1 -1
  489. package/resources/webhooks.d.ts +417 -9
  490. package/resources/webhooks.d.ts.map +1 -1
  491. package/resources/whatsapp/phone-numbers/calling-routing.d.mts +89 -0
  492. package/resources/whatsapp/phone-numbers/calling-routing.d.mts.map +1 -0
  493. package/resources/whatsapp/phone-numbers/calling-routing.d.ts +89 -0
  494. package/resources/whatsapp/phone-numbers/calling-routing.d.ts.map +1 -0
  495. package/resources/whatsapp/phone-numbers/calling-routing.js +65 -0
  496. package/resources/whatsapp/phone-numbers/calling-routing.js.map +1 -0
  497. package/resources/whatsapp/phone-numbers/calling-routing.mjs +61 -0
  498. package/resources/whatsapp/phone-numbers/calling-routing.mjs.map +1 -0
  499. package/resources/whatsapp/phone-numbers/index.d.mts +1 -0
  500. package/resources/whatsapp/phone-numbers/index.d.mts.map +1 -1
  501. package/resources/whatsapp/phone-numbers/index.d.ts +1 -0
  502. package/resources/whatsapp/phone-numbers/index.d.ts.map +1 -1
  503. package/resources/whatsapp/phone-numbers/index.js +3 -1
  504. package/resources/whatsapp/phone-numbers/index.js.map +1 -1
  505. package/resources/whatsapp/phone-numbers/index.mjs +1 -0
  506. package/resources/whatsapp/phone-numbers/index.mjs.map +1 -1
  507. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +4 -0
  508. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
  509. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +4 -0
  510. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
  511. package/resources/whatsapp/phone-numbers/phone-numbers.js +4 -0
  512. package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
  513. package/resources/whatsapp/phone-numbers/phone-numbers.mjs +4 -0
  514. package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
  515. package/src/client.ts +67 -6
  516. package/src/resources/ai/ai.ts +21 -4
  517. package/src/resources/ai/assistants/assistants.ts +602 -36
  518. package/src/resources/ai/assistants/deleted.ts +86 -0
  519. package/src/resources/ai/assistants/index.ts +12 -0
  520. package/src/resources/ai/assistants/versions.ts +42 -2
  521. package/src/resources/ai/chat.ts +7 -2
  522. package/src/resources/ai/collections/collections.ts +3 -1
  523. package/src/resources/ai/collections/index.ts +2 -0
  524. package/src/resources/ai/collections/sources.ts +38 -4
  525. package/src/resources/ai/embeddings/embeddings.ts +1 -1
  526. package/src/resources/ai/index.ts +7 -1
  527. package/src/resources/ai/memory/index.ts +12 -0
  528. package/src/resources/ai/memory/memory.ts +31 -0
  529. package/src/resources/ai/memory/namespaces/index.ts +29 -0
  530. package/src/resources/ai/memory/namespaces/namespaces.ts +194 -0
  531. package/src/resources/ai/memory/namespaces/profiles/index.ts +35 -0
  532. package/src/resources/ai/memory/namespaces/profiles/memories.ts +170 -0
  533. package/src/resources/ai/memory/namespaces/profiles/profiles.ts +482 -0
  534. package/src/resources/ai/memory/namespaces/profiles/sources.ts +226 -0
  535. package/src/resources/ai/memory/namespaces/profiles.ts +3 -0
  536. package/src/resources/ai/memory/namespaces/settings.ts +129 -0
  537. package/src/resources/ai/memory/namespaces.ts +3 -0
  538. package/src/resources/ai/memory.ts +3 -0
  539. package/src/resources/ai/openai/chat.ts +7 -2
  540. package/src/resources/ai/tools.ts +6 -6
  541. package/src/resources/ai/typesafe/v1.ts +26 -14
  542. package/src/resources/calls/actions.ts +126 -19
  543. package/src/resources/calls/calls.ts +61 -11
  544. package/src/resources/calls/index.ts +1 -0
  545. package/src/resources/conferences/actions.ts +8 -1
  546. package/src/resources/dir/dir.ts +263 -32
  547. package/src/resources/dir/index.ts +6 -0
  548. package/src/resources/dir/phone-numbers.ts +8 -4
  549. package/src/resources/dir/references.ts +9 -6
  550. package/src/resources/email-blocks/email-blocks.ts +12 -4
  551. package/src/resources/email-blocks/imports.ts +20 -4
  552. package/src/resources/email-domains/email-domains.ts +120 -0
  553. package/src/resources/email-domains/index.ts +1 -0
  554. package/src/resources/email-domains/webhooks.ts +9 -4
  555. package/src/resources/email-events.ts +220 -35
  556. package/src/resources/email-inboxes/drafts.ts +32 -1
  557. package/src/resources/email-messages/email-messages.ts +191 -47
  558. package/src/resources/email-messages/index.ts +2 -1
  559. package/src/resources/email-messages/recipients.ts +6 -2
  560. package/src/resources/email-templates.ts +185 -0
  561. package/src/resources/enterprises/dir.ts +19 -1
  562. package/src/resources/enterprises/enterprises.ts +250 -23
  563. package/src/resources/enterprises/index.ts +5 -0
  564. package/src/resources/enterprises/reputation/loa.ts +73 -1
  565. package/src/resources/enterprises/verify-email.ts +117 -0
  566. package/src/resources/index.ts +26 -3
  567. package/src/resources/infringement-claims.ts +4 -0
  568. package/src/resources/llm-token-gateway/index.ts +4 -0
  569. package/src/resources/llm-token-gateway/llm-token-gateway.ts +19 -0
  570. package/src/resources/llm-token-gateway/usage.ts +336 -0
  571. package/src/resources/llm-token-gateway.ts +3 -0
  572. package/src/resources/meeting-sessions/actions.ts +7 -1
  573. package/src/resources/meeting-sessions/artifacts.ts +42 -11
  574. package/src/resources/meeting-sessions/meeting-sessions.ts +71 -33
  575. package/src/resources/phone-numbers/phone-numbers.ts +13 -2
  576. package/src/resources/porting-orders/phone-number-blocks.ts +9 -1
  577. package/src/resources/porting-orders/porting-orders.ts +9 -1
  578. package/src/resources/porting-phone-numbers.ts +9 -1
  579. package/src/resources/private-wireless-gateways.ts +76 -8
  580. package/src/resources/requirements.ts +2 -2
  581. package/src/resources/spend-limits.ts +428 -0
  582. package/src/resources/terms-of-service/agreements.ts +12 -0
  583. package/src/resources/terms-of-service/terms-of-service.ts +15 -0
  584. package/src/resources/texml/accounts/calls/calls.ts +20 -10
  585. package/src/resources/text-to-speech/text-to-speech.ts +73 -11
  586. package/src/resources/webhooks.ts +511 -6
  587. package/src/resources/whatsapp/phone-numbers/calling-routing.ts +113 -0
  588. package/src/resources/whatsapp/phone-numbers/index.ts +7 -0
  589. package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +18 -0
  590. package/src/version.ts +1 -1
  591. package/version.d.mts +1 -1
  592. package/version.d.ts +1 -1
  593. package/version.js +1 -1
  594. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../../src/resources/ai/typesafe/v1.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAEnE;;GAEG;AACH,qBAAa,EAAG,SAAQ,WAAW;IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmDG;IACH,SAAS,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAG9F;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,OAAO,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GACR,mBAAmB,CAAC,yBAAyB,GAC7C,mBAAmB,CAAC,uBAAu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,KAAK,CAAC,OAAO,CAAC,CAAC;QAEnE;;WAEG;QACH,IAAI,EAAE,QAAQ,CAAC;KAChB;IAED;;OAEG;IACH,UAAiB,yBAAyB;QACxC;;WAEG;QACH,YAAY,EAAE,MAAM,GAAG;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QAEnE;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;;WAGG;QACH,QAAQ,CAAC,EAAE,yBAAyB,CAAC,QAAQ,CAAC;KAC/C;IAED,UAAiB,yBAAyB,CAAC;QACzC;;;WAGG;QACH,UAAiB,QAAQ;YACvB;;eAEG;YACH,KAAK,CAAC,EAAE,MAAM,CAAC;YAEf;;eAEG;YACH,IAAI,CAAC,EAAE,MAAM,CAAC;SACf;KACF;IAED;;OAEG;IACH,UAAiB,0BAA0B;QACzC;;;WAGG;QACH,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAExB;;WAEG;QACH,YAAY,EAAE,MAAM,GAAG;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QAEnE;;WAEG;QACH,IAAI,EAAE,OAAO,CAAC;KACf;CACF;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACzG"}
@@ -2,29 +2,33 @@ import { APIResource } from "../../../core/resource.js";
2
2
  import { APIPromise } from "../../../core/api-promise.js";
3
3
  import { RequestOptions } from "../../../internal/request-options.js";
4
4
  /**
5
- * Beta API for evaluating shared context with typed questions and structured answers. Telnyx manages model selection.
5
+ * Beta API for evaluating shared context with typed questions and structured answers using Flash or Pro.
6
6
  */
7
7
  export declare class V1 extends APIResource {
8
8
  /**
9
- * **Beta API.** Telnyx controls model selection.
9
+ * **Beta API.** Choose telnyx/decision-flash for the lowest cost and latency, or
10
+ * telnyx/decision-pro for decisions that require long context, including inputs
11
+ * beyond Jev’s 32k per-decision limit. Omitted model defaults to
12
+ * telnyx/decision-flash.
10
13
  *
11
14
  * Evaluate shared context using named choice, noul (yes/no), and score questions.
12
- * Returns TypeSafe System One-compatible answer shapes, an opaque compatibility
13
- * identifier, and token usage. See the
15
+ * Returns TypeSafe System One-compatible answer shapes, the selected public model
16
+ * alias, and token usage. See the
14
17
  * [decision model guide](https://developers.telnyx.com/docs/inference/decision-models)
15
18
  * for examples and compatibility limits.
16
19
  *
17
20
  * The supported request subset requires instructions for every question, string
18
21
  * descriptions for criteria (or null for choice descriptions), 1–64 questions, and
19
- * 2–64 options for choice and score questions. The SDK-supplied model value is
20
- * ignored and cannot select a model. Other unknown fields are rejected. The
21
- * endpoint is synchronous and does not stream.
22
+ * 2–64 options for choice and score questions. The model field accepts only
23
+ * telnyx/decision-flash or telnyx/decision-pro. Unsupported model values and
24
+ * unknown fields are rejected. The endpoint is synchronous and does not stream.
22
25
  *
23
26
  * Use the TypeSafe Python SDK with base_url set to
24
27
  * https://api.telnyx.com/v2/ai/typesafe and a Telnyx API key. The SDK appends
25
- * /v1/systemone. Compatibility covers this operation and the documented request
26
- * subset; it does not include TypeSafe model listing. Scores describe relative
27
- * preference, not calibrated correctness.
28
+ * /v1/systemone; explicitly set model to a supported Telnyx alias because its own
29
+ * default model is not supported. Compatibility covers this operation and the
30
+ * documented request subset; it does not include TypeSafe model listing. Scores
31
+ * describe relative preference, not calibrated correctness.
28
32
  *
29
33
  * @example
30
34
  * ```ts
@@ -54,6 +58,7 @@ export declare class V1 extends APIResource {
54
58
  * },
55
59
  * state:
56
60
  * 'Our production calls are failing. Every customer is affected.',
61
+ * model: 'telnyx/decision-flash',
57
62
  * });
58
63
  * ```
59
64
  */
@@ -72,11 +77,10 @@ export interface V1SystemoneResponse {
72
77
  [key: string]: V1SystemoneResponse.DecisionModelChoiceAnswer | V1SystemoneResponse.DecisionModelNoulAnswer | V1SystemoneResponse.DecisionModelScoreAnswer;
73
78
  };
74
79
  /**
75
- * Opaque Telnyx-controlled identifier retained for TypeSafe SDK response
76
- * compatibility. It is not a selectable model name or a guarantee of a particular
77
- * underlying model.
80
+ * Public model alias used to evaluate the request. Returns telnyx/decision-flash
81
+ * when model was omitted. The underlying model is managed by Telnyx.
78
82
  */
79
- model: string;
83
+ model: 'telnyx/decision-flash' | 'telnyx/decision-pro';
80
84
  /**
81
85
  * Token usage for the completed evaluation.
82
86
  */
@@ -187,6 +191,13 @@ export interface V1SystemoneParams {
187
191
  state: string | {
188
192
  [key: string]: unknown;
189
193
  } | Array<unknown>;
194
+ /**
195
+ * Public model alias. telnyx/decision-flash offers the lowest cost and latency;
196
+ * telnyx/decision-pro supports decisions that require long context, including
197
+ * inputs beyond Jev’s 32k per-decision limit. Applies to every question in the
198
+ * request. Other values are rejected.
199
+ */
200
+ model?: 'telnyx/decision-flash' | 'telnyx/decision-pro';
190
201
  }
191
202
  export declare namespace V1SystemoneParams {
192
203
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/resources/ai/typesafe/v1.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAEnE;;GAEG;AACH,qBAAa,EAAG,SAAQ,WAAW;IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmDG;IACH,SAAS,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAG9F;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,OAAO,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GACR,mBAAmB,CAAC,yB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AAM,GAAG,OAAO,CAAA;SAAE,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QAEnE;;WAEG;QACH,IAAI,EAAE,QAAQ,CAAC;KAChB;IAED;;OAEG;IACH,UAAiB,yBAAyB;QACxC;;WAEG;QACH,YAAY,EAAE,MAAM,GAAG;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QAEnE;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;;WAGG;QACH,QAAQ,CAAC,EAAE,yBAAyB,CAAC,QAAQ,CAAC;KAC/C;IAED,UAAiB,yBAAyB,CAAC;QACzC;;;WAGG;QACH,UAAiB,QAAQ;YACvB;;eAEG;YACH,KAAK,CAAC,EAAE,MAAM,CAAC;YAEf;;eAEG;YACH,IAAI,CAAC,EAAE,MAAM,CAAC;SACf;KACF;IAED;;OAEG;IACH,UAAiB,0BAA0B;QACzC;;;WAGG;QACH,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAExB;;WAEG;QACH,YAAY,EAAE,MAAM,GAAG;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QAEnE;;WAEG;QACH,IAAI,EAAE,OAAO,CAAC;KACf;CACF;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACzG"}
@@ -4,29 +4,33 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.V1 = void 0;
5
5
  const resource_1 = require("../../../core/resource.js");
6
6
  /**
7
- * Beta API for evaluating shared context with typed questions and structured answers. Telnyx manages model selection.
7
+ * Beta API for evaluating shared context with typed questions and structured answers using Flash or Pro.
8
8
  */
9
9
  class V1 extends resource_1.APIResource {
10
10
  /**
11
- * **Beta API.** Telnyx controls model selection.
11
+ * **Beta API.** Choose telnyx/decision-flash for the lowest cost and latency, or
12
+ * telnyx/decision-pro for decisions that require long context, including inputs
13
+ * beyond Jev’s 32k per-decision limit. Omitted model defaults to
14
+ * telnyx/decision-flash.
12
15
  *
13
16
  * Evaluate shared context using named choice, noul (yes/no), and score questions.
14
- * Returns TypeSafe System One-compatible answer shapes, an opaque compatibility
15
- * identifier, and token usage. See the
17
+ * Returns TypeSafe System One-compatible answer shapes, the selected public model
18
+ * alias, and token usage. See the
16
19
  * [decision model guide](https://developers.telnyx.com/docs/inference/decision-models)
17
20
  * for examples and compatibility limits.
18
21
  *
19
22
  * The supported request subset requires instructions for every question, string
20
23
  * descriptions for criteria (or null for choice descriptions), 1–64 questions, and
21
- * 2–64 options for choice and score questions. The SDK-supplied model value is
22
- * ignored and cannot select a model. Other unknown fields are rejected. The
23
- * endpoint is synchronous and does not stream.
24
+ * 2–64 options for choice and score questions. The model field accepts only
25
+ * telnyx/decision-flash or telnyx/decision-pro. Unsupported model values and
26
+ * unknown fields are rejected. The endpoint is synchronous and does not stream.
24
27
  *
25
28
  * Use the TypeSafe Python SDK with base_url set to
26
29
  * https://api.telnyx.com/v2/ai/typesafe and a Telnyx API key. The SDK appends
27
- * /v1/systemone. Compatibility covers this operation and the documented request
28
- * subset; it does not include TypeSafe model listing. Scores describe relative
29
- * preference, not calibrated correctness.
30
+ * /v1/systemone; explicitly set model to a supported Telnyx alias because its own
31
+ * default model is not supported. Compatibility covers this operation and the
32
+ * documented request subset; it does not include TypeSafe model listing. Scores
33
+ * describe relative preference, not calibrated correctness.
30
34
  *
31
35
  * @example
32
36
  * ```ts
@@ -56,6 +60,7 @@ class V1 extends resource_1.APIResource {
56
60
  * },
57
61
  * state:
58
62
  * 'Our production calls are failing. Every customer is affected.',
63
+ * model: 'telnyx/decision-flash',
59
64
  * });
60
65
  * ```
61
66
  */
@@ -1 +1 @@
1
- {"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/resources/ai/typesafe/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAIrD;;GAEG;AACH,MAAa,EAAG,SAAQ,sBAAW;IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmDG;IACH,SAAS,CAAC,IAAuB,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF;AAxDD,gBAwDC"}
1
+ {"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/resources/ai/typesafe/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAIrD;;GAEG;AACH,MAAa,EAAG,SAAQ,sBAAW;IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwDG;IACH,SAAS,CAAC,IAAuB,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF;AA7DD,gBA6DC"}
@@ -1,29 +1,33 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  import { APIResource } from "../../../core/resource.mjs";
3
3
  /**
4
- * Beta API for evaluating shared context with typed questions and structured answers. Telnyx manages model selection.
4
+ * Beta API for evaluating shared context with typed questions and structured answers using Flash or Pro.
5
5
  */
6
6
  export class V1 extends APIResource {
7
7
  /**
8
- * **Beta API.** Telnyx controls model selection.
8
+ * **Beta API.** Choose telnyx/decision-flash for the lowest cost and latency, or
9
+ * telnyx/decision-pro for decisions that require long context, including inputs
10
+ * beyond Jev’s 32k per-decision limit. Omitted model defaults to
11
+ * telnyx/decision-flash.
9
12
  *
10
13
  * Evaluate shared context using named choice, noul (yes/no), and score questions.
11
- * Returns TypeSafe System One-compatible answer shapes, an opaque compatibility
12
- * identifier, and token usage. See the
14
+ * Returns TypeSafe System One-compatible answer shapes, the selected public model
15
+ * alias, and token usage. See the
13
16
  * [decision model guide](https://developers.telnyx.com/docs/inference/decision-models)
14
17
  * for examples and compatibility limits.
15
18
  *
16
19
  * The supported request subset requires instructions for every question, string
17
20
  * descriptions for criteria (or null for choice descriptions), 1–64 questions, and
18
- * 2–64 options for choice and score questions. The SDK-supplied model value is
19
- * ignored and cannot select a model. Other unknown fields are rejected. The
20
- * endpoint is synchronous and does not stream.
21
+ * 2–64 options for choice and score questions. The model field accepts only
22
+ * telnyx/decision-flash or telnyx/decision-pro. Unsupported model values and
23
+ * unknown fields are rejected. The endpoint is synchronous and does not stream.
21
24
  *
22
25
  * Use the TypeSafe Python SDK with base_url set to
23
26
  * https://api.telnyx.com/v2/ai/typesafe and a Telnyx API key. The SDK appends
24
- * /v1/systemone. Compatibility covers this operation and the documented request
25
- * subset; it does not include TypeSafe model listing. Scores describe relative
26
- * preference, not calibrated correctness.
27
+ * /v1/systemone; explicitly set model to a supported Telnyx alias because its own
28
+ * default model is not supported. Compatibility covers this operation and the
29
+ * documented request subset; it does not include TypeSafe model listing. Scores
30
+ * describe relative preference, not calibrated correctness.
27
31
  *
28
32
  * @example
29
33
  * ```ts
@@ -53,6 +57,7 @@ export class V1 extends APIResource {
53
57
  * },
54
58
  * state:
55
59
  * 'Our production calls are failing. Every customer is affected.',
60
+ * model: 'telnyx/decision-flash',
56
61
  * });
57
62
  * ```
58
63
  */
@@ -1 +1 @@
1
- {"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../../src/resources/ai/typesafe/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAIrD;;GAEG;AACH,MAAM,OAAO,EAAG,SAAQ,WAAW;IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmDG;IACH,SAAS,CAAC,IAAuB,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF"}
1
+ {"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../../src/resources/ai/typesafe/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAIrD;;GAEG;AACH,MAAM,OAAO,EAAG,SAAQ,WAAW;IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwDG;IACH,SAAS,CAAC,IAAuB,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF"}
@@ -14,6 +14,8 @@ export declare class Actions extends APIResource {
14
14
  *
15
15
  * **Expected Webhooks:**
16
16
  *
17
+ * - [`call.conversation.created`](/api-reference/callbacks/call-conversation-created)
18
+ * includes `conversation_id` during startup
17
19
  * - `call.conversation.ended`
18
20
  * - `call.conversation_insights.generated`
19
21
  *
@@ -42,9 +44,33 @@ export declare class Actions extends APIResource {
42
44
  * Answer an incoming call. You must issue this command before executing subsequent
43
45
  * commands on an incoming call.
44
46
  *
47
+ * To answer with an AI assistant, include `assistant.id` and any per-call
48
+ * overrides in the `assistant` object. Telnyx attempts to warm up the assistant
49
+ * before answering the call, then starts the assistant automatically when the call
50
+ * is answered. Do not also send `ai_assistant_start` for this flow. The HTTP
51
+ * success response can arrive before the call is answered; use the `call.answered`
52
+ * webhook to track the answer. If warm-up fails, Telnyx falls back to starting the
53
+ * assistant after answering.
54
+ *
55
+ * When `assistant.id` is supplied, obtain the conversation ID from
56
+ * `data.payload.conversation_id` in the
57
+ * [call.conversation.created](/api-reference/callbacks/call-conversation-created)
58
+ * webhook and correlate it using `data.payload.call_control_id`. The `answer` HTTP
59
+ * response does not include `conversation_id`. The created event is emitted during
60
+ * assistant startup and does not indicate that the assistant is ready to speak.
61
+ *
62
+ * Set the assistant voice with `assistant.voice_settings.voice` and speech-to-text
63
+ * settings with `assistant.transcription`. You can reuse one stored assistant with
64
+ * different per-call settings. Warm-up prepares assistant configuration and
65
+ * dependencies; it does not wait for the greeting audio to be ready or guarantee
66
+ * zero silence after answer. A plain `answer` followed by `ai_assistant_start`
67
+ * performs assistant startup after the call has already been answered.
68
+ *
45
69
  * **Expected Webhooks:**
46
70
  *
47
71
  * - `call.answered`
72
+ * - `call.conversation.created` when the requested assistant conversation is
73
+ * created
48
74
  * - `call.hold` and `call.unhold` if the call is held/unheld
49
75
  * - `call.deepfake_detection.result` if `deepfake_detection` was enabled
50
76
  * - `call.deepfake_detection.error` if `deepfake_detection` was enabled and an
@@ -188,6 +214,8 @@ export declare class Actions extends APIResource {
188
214
  *
189
215
  * **Expected Webhooks:**
190
216
  *
217
+ * - [`call.conversation.created`](/api-reference/callbacks/call-conversation-created)
218
+ * includes `conversation_id` during startup
191
219
  * - `call.ai_gather.ended`
192
220
  * - `call.conversation.ended`
193
221
  * - `call.ai_gather.partial_results` (if `send_partial_results` is set to `true`)
@@ -632,6 +660,9 @@ export declare class Actions extends APIResource {
632
660
  * `answering_machine_detection=premium` was requested
633
661
  * - `call.machine.premium.greeting.ended` if `answering_machine_detection=premium`
634
662
  * was requested and a beep was detected
663
+ * - `call.machine.premium.call_screening.detected` if
664
+ * `answering_machine_detection=premium_ios_call_screening_detection` was
665
+ * requested and an Apple Call Screening tone was detected
635
666
  *
636
667
  * @example
637
668
  * ```ts
@@ -983,6 +1014,20 @@ export declare namespace PayPromptValue {
983
1014
  error_type?: 'timeout' | 'invalid-card-number' | 'invalid-card-type' | 'invalid-date' | 'invalid-security-code' | 'invalid-postal-code' | 'invalid-bank-routing-number' | 'invalid-bank-account-number' | 'input-matching-failed';
984
1015
  }
985
1016
  }
1017
+ export interface SonioxVoiceSettings {
1018
+ /**
1019
+ * Voice settings provider type
1020
+ */
1021
+ type: 'soniox';
1022
+ /**
1023
+ * Shortens the pauses between words.
1024
+ */
1025
+ reduce_silence?: boolean;
1026
+ /**
1027
+ * Speaking rate. 1.0 is normal speed.
1028
+ */
1029
+ speed?: number;
1030
+ }
986
1031
  export interface StopRecordingRequest {
987
1032
  /**
988
1033
  * Use this field to add state to every subsequent webhook. It must be a valid
@@ -1029,9 +1074,10 @@ export interface TelnyxVoiceSettings {
1029
1074
  */
1030
1075
  type: 'telnyx';
1031
1076
  /**
1032
- * The voice speed to be used for the voice. The voice speed must be between 0.1
1033
- * and 2.0. Default value is 1.0. Not supported for `Telnyx.Bayan.*` or
1034
- * `Telnyx.Sukhan.*` voices.
1077
+ * The voice speed to be used for the voice. Telnyx `Ultra` voices accept values
1078
+ * from 0.6 to 1.5; values outside that range are rejected by the synthesis engine.
1079
+ * `Qwen3TTS` and `KokoroTTS` accept the field but do not apply it. Default value
1080
+ * is 1.0. Not supported for `Telnyx.Bayan.*` or `Telnyx.Sukhan.*` voices.
1035
1081
  */
1036
1082
  voice_speed?: number;
1037
1083
  }
@@ -1612,9 +1658,11 @@ export interface ActionUpdateClientStateResponse {
1612
1658
  }
1613
1659
  export interface ActionStartAIAssistantParams {
1614
1660
  /**
1615
- * AI Assistant configuration. All fields except `id` are optional — the
1616
- * assistant's stored configuration will be used as fallback for any omitted
1617
- * fields.
1661
+ * AI Assistant configuration and per-call overrides. All fields except `id` are
1662
+ * optional. Omitted assistant fields use the stored configuration. Supplied
1663
+ * `voice_settings` and `transcription` objects replace their stored objects rather
1664
+ * than merging individual settings; include every setting you want to retain.
1665
+ * `dynamic_variables` are merged, with request values taking precedence.
1618
1666
  */
1619
1667
  assistant?: CallsAPI.CallAssistantRequest;
1620
1668
  /**
@@ -1675,9 +1723,11 @@ export interface ActionStopAIAssistantParams {
1675
1723
  }
1676
1724
  export interface ActionAnswerParams {
1677
1725
  /**
1678
- * AI Assistant configuration. All fields except `id` are optional — the
1679
- * assistant's stored configuration will be used as fallback for any omitted
1680
- * fields.
1726
+ * AI Assistant configuration and per-call overrides. All fields except `id` are
1727
+ * optional. Omitted assistant fields use the stored configuration. Supplied
1728
+ * `voice_settings` and `transcription` objects replace their stored objects rather
1729
+ * than merging individual settings; include every setting you want to retain.
1730
+ * `dynamic_variables` are merged, with request values taking precedence.
1681
1731
  */
1682
1732
  assistant?: CallsAPI.CallAssistantRequest;
1683
1733
  /**
@@ -1803,7 +1853,9 @@ export interface ActionAnswerParams {
1803
1853
  */
1804
1854
  stream_url?: string;
1805
1855
  /**
1806
- * Enable transcription upon call answer. The default value is false.
1856
+ * Enable standalone call transcription upon call answer. The default value is
1857
+ * false. Configure this feature with `transcription_config`. To configure speech
1858
+ * recognition for an AI assistant, use `assistant.transcription` instead.
1807
1859
  */
1808
1860
  transcription?: boolean;
1809
1861
  transcription_config?: TranscriptionStartRequest;
@@ -2225,6 +2277,12 @@ export interface ActionGatherUsingAIParams {
2225
2277
  * - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
2226
2278
  * `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
2227
2279
  * `s1`. `VoiceId` is a Fish Voice-Library reference ID.
2280
+ * - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
2281
+ * Supported model: `tts-rt-v2`. Browse the catalog via the
2282
+ * [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
2283
+ * Every voice speaks all supported languages; set `language` to the two-letter
2284
+ * ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
2285
+ * `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
2228
2286
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
2229
2287
  * `ara`, `rex`, `sal`, `leo`.
2230
2288
  * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
@@ -2236,7 +2294,7 @@ export interface ActionGatherUsingAIParams {
2236
2294
  /**
2237
2295
  * The settings associated with the voice selected
2238
2296
  */
2239
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.XaiVoiceSettings;
2297
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.XaiVoiceSettings | SonioxVoiceSettings;
2240
2298
  }
2241
2299
  export declare namespace ActionGatherUsingAIParams {
2242
2300
  interface MessageHistory {
@@ -2372,6 +2430,12 @@ export interface ActionGatherUsingSpeakParams {
2372
2430
  * - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
2373
2431
  * `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
2374
2432
  * `s1`. `VoiceId` is a Fish Voice-Library reference ID.
2433
+ * - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
2434
+ * Supported model: `tts-rt-v2`. Browse the catalog via the
2435
+ * [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
2436
+ * Every voice speaks all supported languages; set `language` to the two-letter
2437
+ * ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
2438
+ * `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
2375
2439
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
2376
2440
  * `ara`, `rex`, `sal`, `leo`.
2377
2441
  * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
@@ -2450,7 +2514,7 @@ export interface ActionGatherUsingSpeakParams {
2450
2514
  /**
2451
2515
  * The settings associated with the voice selected
2452
2516
  */
2453
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings;
2517
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings | SonioxVoiceSettings;
2454
2518
  }
2455
2519
  export interface ActionHangupParams {
2456
2520
  /**
@@ -2736,9 +2800,12 @@ export interface ActionReferParams {
2736
2800
  }
2737
2801
  export interface ActionRejectParams {
2738
2802
  /**
2739
- * Cause for call rejection.
2803
+ * Cause for call rejection. The cause sets the SIP response the caller receives:
2804
+ * `USER_BUSY` sends 486 User Busy, `CALL_REJECTED` sends 603 Decline, `NOT_FOUND`
2805
+ * sends 404 Not Found, and `TEMPORARILY_UNAVAILABLE` sends 480 Temporarily
2806
+ * Unavailable.
2740
2807
  */
2741
- cause: 'CALL_REJECTED' | 'USER_BUSY';
2808
+ cause: 'CALL_REJECTED' | 'NOT_FOUND' | 'TEMPORARILY_UNAVAILABLE' | 'USER_BUSY';
2742
2809
  /**
2743
2810
  * Use this field to add state to every subsequent webhook. It must be a valid
2744
2811
  * Base-64 encoded string.
@@ -2891,6 +2958,12 @@ export interface ActionSpeakParams {
2891
2958
  * - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
2892
2959
  * `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
2893
2960
  * `s1`. `VoiceId` is a Fish Voice-Library reference ID.
2961
+ * - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
2962
+ * Supported model: `tts-rt-v2`. Browse the catalog via the
2963
+ * [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
2964
+ * Every voice speaks all supported languages; set `language` to the two-letter
2965
+ * ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
2966
+ * `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
2894
2967
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
2895
2968
  * `ara`, `rex`, `sal`, `leo`.
2896
2969
  * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
@@ -2946,7 +3019,7 @@ export interface ActionSpeakParams {
2946
3019
  /**
2947
3020
  * The settings associated with the voice selected
2948
3021
  */
2949
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings;
3022
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings | SonioxVoiceSettings;
2950
3023
  }
2951
3024
  export interface ActionStartStreamingParams {
2952
3025
  /**
@@ -3179,14 +3252,24 @@ export interface ActionTransferParams {
3179
3252
  * 'greeting_end' or 'detect_words' is used and a 'machine' is detected, you will
3180
3253
  * receive another 'call.machine.greeting.ended' webhook when the answering machine
3181
3254
  * greeting ends with a beep or silence. If `detect_beep` is used, you will only
3182
- * receive 'call.machine.greeting.ended' if a beep is detected.
3183
- */
3184
- answering_machine_detection?: 'premium' | 'detect' | 'detect_beep' | 'detect_words' | 'greeting_end' | 'disabled';
3255
+ * receive 'call.machine.greeting.ended' if a beep is detected. If
3256
+ * `answering_machine_detection` is set to `premium_ios_call_screening_detection`,
3257
+ * Premium AMD runs with iOS Call Screening support: after an initial `machine`
3258
+ * result, Telnyx listens for the iOS call-screening prompt to end or for an Apple
3259
+ * Call Screening tone, sends `call.machine.premium.greeting.ended` with
3260
+ * `result=prompt_ended` or `call.machine.premium.call_screening.detected` with
3261
+ * `result=screening` respectively. When the Apple Call Screening tone is detected,
3262
+ * Premium AMD is restarted on the screened call and a
3263
+ * `call.machine.premium.detection.ended` webhook with the post-screening
3264
+ * classification follows.
3265
+ */
3266
+ answering_machine_detection?: 'premium' | 'premium_ios_call_screening_detection' | 'detect' | 'detect_beep' | 'detect_words' | 'greeting_end' | 'disabled';
3185
3267
  /**
3186
3268
  * Optional configuration parameters to modify 'answering_machine_detection'
3187
3269
  * performance. Only `total_analysis_time_millis` and `greeting_duration_millis`
3188
3270
  * parameters are applicable when `premium` is selected as
3189
- * answering_machine_detection.
3271
+ * answering_machine_detection. `prompt_end_timeout_millis` is additionally
3272
+ * applicable when `premium_ios_call_screening_detection` is selected.
3190
3273
  */
3191
3274
  answering_machine_detection_config?: ActionTransferParams.AnsweringMachineDetectionConfig;
3192
3275
  /**
@@ -3419,7 +3502,8 @@ export declare namespace ActionTransferParams {
3419
3502
  * Optional configuration parameters to modify 'answering_machine_detection'
3420
3503
  * performance. Only `total_analysis_time_millis` and `greeting_duration_millis`
3421
3504
  * parameters are applicable when `premium` is selected as
3422
- * answering_machine_detection.
3505
+ * answering_machine_detection. `prompt_end_timeout_millis` is additionally
3506
+ * applicable when `premium_ios_call_screening_detection` is selected.
3423
3507
  */
3424
3508
  interface AnsweringMachineDetectionConfig {
3425
3509
  /**
@@ -3503,6 +3587,13 @@ export declare namespace ActionTransferParams {
3503
3587
  * If a single word lasts longer than this threshold, consider it a machine.
3504
3588
  */
3505
3589
  maximum_word_length_millis?: number;
3590
+ /**
3591
+ * Maximum time Telnyx waits, in milliseconds, for the iOS call-screening prompt to
3592
+ * end after Premium AMD initially detects a `machine`. Used when
3593
+ * `answering_machine_detection` is `premium_ios_call_screening_detection`.
3594
+ * Defaults to 5000 milliseconds.
3595
+ */
3596
+ prompt_end_timeout_millis?: number;
3506
3597
  /**
3507
3598
  * Minimum noise threshold for any analysis.
3508
3599
  */
@@ -3705,6 +3796,12 @@ export interface ActionStartConversationRelayParams {
3705
3796
  * - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
3706
3797
  * `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
3707
3798
  * `s1`. `VoiceId` is a Fish Voice-Library reference ID.
3799
+ * - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
3800
+ * Supported model: `tts-rt-v2`. Browse the catalog via the
3801
+ * [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
3802
+ * Every voice speaks all supported languages; set `language` to the two-letter
3803
+ * ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
3804
+ * `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
3708
3805
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
3709
3806
  * `ara`, `rex`, `sal`, `leo`.
3710
3807
  * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
@@ -3716,7 +3813,7 @@ export interface ActionStartConversationRelayParams {
3716
3813
  /**
3717
3814
  * The settings associated with the voice selected
3718
3815
  */
3719
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings;
3816
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings | SonioxVoiceSettings;
3720
3817
  }
3721
3818
  export declare namespace ActionStartConversationRelayParams {
3722
3819
  /**
@@ -3899,6 +3996,6 @@ export declare namespace ActionPayParams {
3899
3996
  }
3900
3997
  }
3901
3998
  export declare namespace Actions {
3902
- export { type AIAssistantJoinParticipant as AIAssistantJoinParticipant, type AssistantMessage as AssistantMessage, type AwsVoiceSettings as AwsVoiceSettings, type CallControlCommandResult as CallControlCommandResult, type CallControlCommandResultWithConversationID as CallControlCommandResultWithConversationID, type ConversationRelayInterruptible as ConversationRelayInterruptible, type DeepgramNova2Config as DeepgramNova2Config, type DeepgramNova3Config as DeepgramNova3Config, type DeveloperMessage as DeveloperMessage, type ElevenLabsVoiceSettings as ElevenLabsVoiceSettings, type GoogleTranscriptionLanguage as GoogleTranscriptionLanguage, type InterruptionSettings as InterruptionSettings, type Loopcount as Loopcount, type PayPromptValue as PayPromptValue, type StopRecordingRequest as StopRecordingRequest, type SystemMessage as SystemMessage, type TelnyxTranscriptionLanguage as TelnyxTranscriptionLanguage, type TelnyxVoiceSettings as TelnyxVoiceSettings, type ToolMessage as ToolMessage, type TranscriptionConfig as TranscriptionConfig, type TranscriptionEngineAConfig as TranscriptionEngineAConfig, type TranscriptionEngineAssemblyaiConfig as TranscriptionEngineAssemblyaiConfig, type TranscriptionEngineAzureConfig as TranscriptionEngineAzureConfig, type TranscriptionEngineBConfig as TranscriptionEngineBConfig, type TranscriptionEngineCohereConfig as TranscriptionEngineCohereConfig, type TranscriptionEngineDeepgramConfig as TranscriptionEngineDeepgramConfig, type TranscriptionEngineGoogleConfig as TranscriptionEngineGoogleConfig, type TranscriptionEngineHumainConfig as TranscriptionEngineHumainConfig, type TranscriptionEngineParakeetConfig as TranscriptionEngineParakeetConfig, type TranscriptionEngineReson8Config as TranscriptionEngineReson8Config, type TranscriptionEngineSonioxConfig as TranscriptionEngineSonioxConfig, type TranscriptionEngineSpeechmaticsConfig as TranscriptionEngineSpeechmaticsConfig, type TranscriptionEngineTelnyxConfig as TranscriptionEngineTelnyxConfig, type TranscriptionEngineXaiConfig as TranscriptionEngineXaiConfig, type TranscriptionStartRequest as TranscriptionStartRequest, type UserMessage as UserMessage, type ActionAddAIAssistantMessagesResponse as ActionAddAIAssistantMessagesResponse, type ActionAnswerResponse as ActionAnswerResponse, type ActionBridgeResponse as ActionBridgeResponse, type ActionEnqueueResponse as ActionEnqueueResponse, type ActionGatherResponse as ActionGatherResponse, type ActionGatherUsingAIResponse as ActionGatherUsingAIResponse, type ActionGatherUsingAudioResponse as ActionGatherUsingAudioResponse, type ActionGatherUsingSpeakResponse as ActionGatherUsingSpeakResponse, type ActionHangupResponse as ActionHangupResponse, type ActionJoinAIAssistantResponse as ActionJoinAIAssistantResponse, type ActionLeaveQueueResponse as ActionLeaveQueueResponse, type ActionPauseRecordingResponse as ActionPauseRecordingResponse, type ActionPayResponse as ActionPayResponse, type ActionReferResponse as ActionReferResponse, type ActionRejectResponse as ActionRejectResponse, type ActionResumeRecordingResponse as ActionResumeRecordingResponse, type ActionSendDtmfResponse as ActionSendDtmfResponse, type ActionSendSipInfoResponse as ActionSendSipInfoResponse, type ActionSpeakResponse as ActionSpeakResponse, type ActionStartAIAssistantResponse as ActionStartAIAssistantResponse, type ActionStartConversationRelayResponse as ActionStartConversationRelayResponse, type ActionStartForkingResponse as ActionStartForkingResponse, type ActionStartNoiseSuppressionResponse as ActionStartNoiseSuppressionResponse, type ActionStartPlaybackResponse as ActionStartPlaybackResponse, type ActionStartRecordingResponse as ActionStartRecordingResponse, type ActionStartSiprecResponse as ActionStartSiprecResponse, type ActionStartStreamingResponse as ActionStartStreamingResponse, type ActionStartTranscriptionResponse as ActionStartTranscriptionResponse, type ActionStopAIAssistantResponse as ActionStopAIAssistantResponse, type ActionStopConversationRelayResponse as ActionStopConversationRelayResponse, type ActionStopForkingResponse as ActionStopForkingResponse, type ActionStopGatherResponse as ActionStopGatherResponse, type ActionStopNoiseSuppressionResponse as ActionStopNoiseSuppressionResponse, type ActionStopPlaybackResponse as ActionStopPlaybackResponse, type ActionStopRecordingResponse as ActionStopRecordingResponse, type ActionStopSiprecResponse as ActionStopSiprecResponse, type ActionStopStreamingResponse as ActionStopStreamingResponse, type ActionStopTranscriptionResponse as ActionStopTranscriptionResponse, type ActionSwitchSupervisorRoleResponse as ActionSwitchSupervisorRoleResponse, type ActionTransferResponse as ActionTransferResponse, type ActionUpdateClientStateResponse as ActionUpdateClientStateResponse, type ActionStartAIAssistantParams as ActionStartAIAssistantParams, type ActionStopAIAssistantParams as ActionStopAIAssistantParams, type ActionAnswerParams as ActionAnswerParams, type ActionBridgeParams as ActionBridgeParams, type ActionUpdateClientStateParams as ActionUpdateClientStateParams, type ActionEnqueueParams as ActionEnqueueParams, type ActionStartForkingParams as ActionStartForkingParams, type ActionStopForkingParams as ActionStopForkingParams, type ActionGatherParams as ActionGatherParams, type ActionStopGatherParams as ActionStopGatherParams, type ActionGatherUsingAIParams as ActionGatherUsingAIParams, type ActionGatherUsingAudioParams as ActionGatherUsingAudioParams, type ActionGatherUsingSpeakParams as ActionGatherUsingSpeakParams, type ActionHangupParams as ActionHangupParams, type ActionLeaveQueueParams as ActionLeaveQueueParams, type ActionStartPlaybackParams as ActionStartPlaybackParams, type ActionStopPlaybackParams as ActionStopPlaybackParams, type ActionPauseRecordingParams as ActionPauseRecordingParams, type ActionResumeRecordingParams as ActionResumeRecordingParams, type ActionStartRecordingParams as ActionStartRecordingParams, type ActionStopRecordingParams as ActionStopRecordingParams, type ActionReferParams as ActionReferParams, type ActionRejectParams as ActionRejectParams, type ActionSendDtmfParams as ActionSendDtmfParams, type ActionSendSipInfoParams as ActionSendSipInfoParams, type ActionStartSiprecParams as ActionStartSiprecParams, type ActionStopSiprecParams as ActionStopSiprecParams, type ActionSpeakParams as ActionSpeakParams, type ActionStartStreamingParams as ActionStartStreamingParams, type ActionStopStreamingParams as ActionStopStreamingParams, type ActionStartNoiseSuppressionParams as ActionStartNoiseSuppressionParams, type ActionStopNoiseSuppressionParams as ActionStopNoiseSuppressionParams, type ActionSwitchSupervisorRoleParams as ActionSwitchSupervisorRoleParams, type ActionStartTranscriptionParams as ActionStartTranscriptionParams, type ActionStopTranscriptionParams as ActionStopTranscriptionParams, type ActionTransferParams as ActionTransferParams, type ActionAddAIAssistantMessagesParams as ActionAddAIAssistantMessagesParams, type ActionJoinAIAssistantParams as ActionJoinAIAssistantParams, type ActionStartConversationRelayParams as ActionStartConversationRelayParams, type ActionStopConversationRelayParams as ActionStopConversationRelayParams, type ActionPayParams as ActionPayParams, };
3999
+ export { type AIAssistantJoinParticipant as AIAssistantJoinParticipant, type AssistantMessage as AssistantMessage, type AwsVoiceSettings as AwsVoiceSettings, type CallControlCommandResult as CallControlCommandResult, type CallControlCommandResultWithConversationID as CallControlCommandResultWithConversationID, type ConversationRelayInterruptible as ConversationRelayInterruptible, type DeepgramNova2Config as DeepgramNova2Config, type DeepgramNova3Config as DeepgramNova3Config, type DeveloperMessage as DeveloperMessage, type ElevenLabsVoiceSettings as ElevenLabsVoiceSettings, type GoogleTranscriptionLanguage as GoogleTranscriptionLanguage, type InterruptionSettings as InterruptionSettings, type Loopcount as Loopcount, type PayPromptValue as PayPromptValue, type SonioxVoiceSettings as SonioxVoiceSettings, type StopRecordingRequest as StopRecordingRequest, type SystemMessage as SystemMessage, type TelnyxTranscriptionLanguage as TelnyxTranscriptionLanguage, type TelnyxVoiceSettings as TelnyxVoiceSettings, type ToolMessage as ToolMessage, type TranscriptionConfig as TranscriptionConfig, type TranscriptionEngineAConfig as TranscriptionEngineAConfig, type TranscriptionEngineAssemblyaiConfig as TranscriptionEngineAssemblyaiConfig, type TranscriptionEngineAzureConfig as TranscriptionEngineAzureConfig, type TranscriptionEngineBConfig as TranscriptionEngineBConfig, type TranscriptionEngineCohereConfig as TranscriptionEngineCohereConfig, type TranscriptionEngineDeepgramConfig as TranscriptionEngineDeepgramConfig, type TranscriptionEngineGoogleConfig as TranscriptionEngineGoogleConfig, type TranscriptionEngineHumainConfig as TranscriptionEngineHumainConfig, type TranscriptionEngineParakeetConfig as TranscriptionEngineParakeetConfig, type TranscriptionEngineReson8Config as TranscriptionEngineReson8Config, type TranscriptionEngineSonioxConfig as TranscriptionEngineSonioxConfig, type TranscriptionEngineSpeechmaticsConfig as TranscriptionEngineSpeechmaticsConfig, type TranscriptionEngineTelnyxConfig as TranscriptionEngineTelnyxConfig, type TranscriptionEngineXaiConfig as TranscriptionEngineXaiConfig, type TranscriptionStartRequest as TranscriptionStartRequest, type UserMessage as UserMessage, type ActionAddAIAssistantMessagesResponse as ActionAddAIAssistantMessagesResponse, type ActionAnswerResponse as ActionAnswerResponse, type ActionBridgeResponse as ActionBridgeResponse, type ActionEnqueueResponse as ActionEnqueueResponse, type ActionGatherResponse as ActionGatherResponse, type ActionGatherUsingAIResponse as ActionGatherUsingAIResponse, type ActionGatherUsingAudioResponse as ActionGatherUsingAudioResponse, type ActionGatherUsingSpeakResponse as ActionGatherUsingSpeakResponse, type ActionHangupResponse as ActionHangupResponse, type ActionJoinAIAssistantResponse as ActionJoinAIAssistantResponse, type ActionLeaveQueueResponse as ActionLeaveQueueResponse, type ActionPauseRecordingResponse as ActionPauseRecordingResponse, type ActionPayResponse as ActionPayResponse, type ActionReferResponse as ActionReferResponse, type ActionRejectResponse as ActionRejectResponse, type ActionResumeRecordingResponse as ActionResumeRecordingResponse, type ActionSendDtmfResponse as ActionSendDtmfResponse, type ActionSendSipInfoResponse as ActionSendSipInfoResponse, type ActionSpeakResponse as ActionSpeakResponse, type ActionStartAIAssistantResponse as ActionStartAIAssistantResponse, type ActionStartConversationRelayResponse as ActionStartConversationRelayResponse, type ActionStartForkingResponse as ActionStartForkingResponse, type ActionStartNoiseSuppressionResponse as ActionStartNoiseSuppressionResponse, type ActionStartPlaybackResponse as ActionStartPlaybackResponse, type ActionStartRecordingResponse as ActionStartRecordingResponse, type ActionStartSiprecResponse as ActionStartSiprecResponse, type ActionStartStreamingResponse as ActionStartStreamingResponse, type ActionStartTranscriptionResponse as ActionStartTranscriptionResponse, type ActionStopAIAssistantResponse as ActionStopAIAssistantResponse, type ActionStopConversationRelayResponse as ActionStopConversationRelayResponse, type ActionStopForkingResponse as ActionStopForkingResponse, type ActionStopGatherResponse as ActionStopGatherResponse, type ActionStopNoiseSuppressionResponse as ActionStopNoiseSuppressionResponse, type ActionStopPlaybackResponse as ActionStopPlaybackResponse, type ActionStopRecordingResponse as ActionStopRecordingResponse, type ActionStopSiprecResponse as ActionStopSiprecResponse, type ActionStopStreamingResponse as ActionStopStreamingResponse, type ActionStopTranscriptionResponse as ActionStopTranscriptionResponse, type ActionSwitchSupervisorRoleResponse as ActionSwitchSupervisorRoleResponse, type ActionTransferResponse as ActionTransferResponse, type ActionUpdateClientStateResponse as ActionUpdateClientStateResponse, type ActionStartAIAssistantParams as ActionStartAIAssistantParams, type ActionStopAIAssistantParams as ActionStopAIAssistantParams, type ActionAnswerParams as ActionAnswerParams, type ActionBridgeParams as ActionBridgeParams, type ActionUpdateClientStateParams as ActionUpdateClientStateParams, type ActionEnqueueParams as ActionEnqueueParams, type ActionStartForkingParams as ActionStartForkingParams, type ActionStopForkingParams as ActionStopForkingParams, type ActionGatherParams as ActionGatherParams, type ActionStopGatherParams as ActionStopGatherParams, type ActionGatherUsingAIParams as ActionGatherUsingAIParams, type ActionGatherUsingAudioParams as ActionGatherUsingAudioParams, type ActionGatherUsingSpeakParams as ActionGatherUsingSpeakParams, type ActionHangupParams as ActionHangupParams, type ActionLeaveQueueParams as ActionLeaveQueueParams, type ActionStartPlaybackParams as ActionStartPlaybackParams, type ActionStopPlaybackParams as ActionStopPlaybackParams, type ActionPauseRecordingParams as ActionPauseRecordingParams, type ActionResumeRecordingParams as ActionResumeRecordingParams, type ActionStartRecordingParams as ActionStartRecordingParams, type ActionStopRecordingParams as ActionStopRecordingParams, type ActionReferParams as ActionReferParams, type ActionRejectParams as ActionRejectParams, type ActionSendDtmfParams as ActionSendDtmfParams, type ActionSendSipInfoParams as ActionSendSipInfoParams, type ActionStartSiprecParams as ActionStartSiprecParams, type ActionStopSiprecParams as ActionStopSiprecParams, type ActionSpeakParams as ActionSpeakParams, type ActionStartStreamingParams as ActionStartStreamingParams, type ActionStopStreamingParams as ActionStopStreamingParams, type ActionStartNoiseSuppressionParams as ActionStartNoiseSuppressionParams, type ActionStopNoiseSuppressionParams as ActionStopNoiseSuppressionParams, type ActionSwitchSupervisorRoleParams as ActionSwitchSupervisorRoleParams, type ActionStartTranscriptionParams as ActionStartTranscriptionParams, type ActionStopTranscriptionParams as ActionStopTranscriptionParams, type ActionTransferParams as ActionTransferParams, type ActionAddAIAssistantMessagesParams as ActionAddAIAssistantMessagesParams, type ActionJoinAIAssistantParams as ActionJoinAIAssistantParams, type ActionStartConversationRelayParams as ActionStartConversationRelayParams, type ActionStopConversationRelayParams as ActionStopConversationRelayParams, type ActionPayParams as ActionPayParams, };
3903
4000
  }
3904
4001
  //# sourceMappingURL=actions.d.mts.map