telnyx 7.21.0 → 7.23.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 (476) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +39 -6
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +39 -6
  5. package/client.d.ts.map +1 -1
  6. package/client.js +33 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +33 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/ai/ai.d.mts +8 -4
  12. package/resources/ai/ai.d.mts.map +1 -1
  13. package/resources/ai/ai.d.ts +8 -4
  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 +5 -1
  18. package/resources/ai/ai.mjs.map +1 -1
  19. package/resources/ai/assistants/assistants.d.mts +408 -47
  20. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  21. package/resources/ai/assistants/assistants.d.ts +408 -47
  22. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  23. package/resources/ai/assistants/assistants.js.map +1 -1
  24. package/resources/ai/assistants/assistants.mjs.map +1 -1
  25. package/resources/ai/assistants/index.d.mts +1 -1
  26. package/resources/ai/assistants/index.d.mts.map +1 -1
  27. package/resources/ai/assistants/index.d.ts +1 -1
  28. package/resources/ai/assistants/index.d.ts.map +1 -1
  29. package/resources/ai/assistants/index.js.map +1 -1
  30. package/resources/ai/assistants/index.mjs.map +1 -1
  31. package/resources/ai/assistants/versions.d.mts +59 -12
  32. package/resources/ai/assistants/versions.d.mts.map +1 -1
  33. package/resources/ai/assistants/versions.d.ts +59 -12
  34. package/resources/ai/assistants/versions.d.ts.map +1 -1
  35. package/resources/ai/audio.d.mts +78 -43
  36. package/resources/ai/audio.d.mts.map +1 -1
  37. package/resources/ai/audio.d.ts +78 -43
  38. package/resources/ai/audio.d.ts.map +1 -1
  39. package/resources/ai/audio.js.map +1 -1
  40. package/resources/ai/audio.mjs.map +1 -1
  41. package/resources/ai/chat.d.mts +59 -28
  42. package/resources/ai/chat.d.mts.map +1 -1
  43. package/resources/ai/chat.d.ts +59 -28
  44. package/resources/ai/chat.d.ts.map +1 -1
  45. package/resources/ai/chat.js.map +1 -1
  46. package/resources/ai/chat.mjs.map +1 -1
  47. package/resources/ai/index.d.mts +3 -2
  48. package/resources/ai/index.d.mts.map +1 -1
  49. package/resources/ai/index.d.ts +3 -2
  50. package/resources/ai/index.d.ts.map +1 -1
  51. package/resources/ai/index.js +3 -1
  52. package/resources/ai/index.js.map +1 -1
  53. package/resources/ai/index.mjs +2 -1
  54. package/resources/ai/index.mjs.map +1 -1
  55. package/resources/ai/openai/chat.d.mts +67 -29
  56. package/resources/ai/openai/chat.d.mts.map +1 -1
  57. package/resources/ai/openai/chat.d.ts +67 -29
  58. package/resources/ai/openai/chat.d.ts.map +1 -1
  59. package/resources/ai/openai/chat.js.map +1 -1
  60. package/resources/ai/openai/chat.mjs.map +1 -1
  61. package/resources/ai/openai/index.d.mts +1 -1
  62. package/resources/ai/openai/index.d.mts.map +1 -1
  63. package/resources/ai/openai/index.d.ts +1 -1
  64. package/resources/ai/openai/index.d.ts.map +1 -1
  65. package/resources/ai/openai/index.js.map +1 -1
  66. package/resources/ai/openai/index.mjs +1 -1
  67. package/resources/ai/openai/index.mjs.map +1 -1
  68. package/resources/ai/openai/openai.d.mts +2 -2
  69. package/resources/ai/openai/openai.d.mts.map +1 -1
  70. package/resources/ai/openai/openai.d.ts +2 -2
  71. package/resources/ai/openai/openai.d.ts.map +1 -1
  72. package/resources/ai/openai/openai.js.map +1 -1
  73. package/resources/ai/openai/openai.mjs.map +1 -1
  74. package/resources/ai/typesafe/index.d.mts +3 -0
  75. package/resources/ai/typesafe/index.d.mts.map +1 -0
  76. package/resources/ai/typesafe/index.d.ts +3 -0
  77. package/resources/ai/typesafe/index.d.ts.map +1 -0
  78. package/resources/ai/typesafe/index.js +9 -0
  79. package/resources/ai/typesafe/index.js.map +1 -0
  80. package/resources/ai/typesafe/index.mjs +4 -0
  81. package/resources/ai/typesafe/index.mjs.map +1 -0
  82. package/resources/ai/typesafe/typesafe.d.mts +10 -0
  83. package/resources/ai/typesafe/typesafe.d.mts.map +1 -0
  84. package/resources/ai/typesafe/typesafe.d.ts +10 -0
  85. package/resources/ai/typesafe/typesafe.d.ts.map +1 -0
  86. package/resources/ai/typesafe/typesafe.js +17 -0
  87. package/resources/ai/typesafe/typesafe.js.map +1 -0
  88. package/resources/ai/typesafe/typesafe.mjs +12 -0
  89. package/resources/ai/typesafe/typesafe.mjs.map +1 -0
  90. package/resources/ai/typesafe/v1.d.mts +274 -0
  91. package/resources/ai/typesafe/v1.d.mts.map +1 -0
  92. package/resources/ai/typesafe/v1.d.ts +274 -0
  93. package/resources/ai/typesafe/v1.d.ts.map +1 -0
  94. package/resources/ai/typesafe/v1.js +67 -0
  95. package/resources/ai/typesafe/v1.js.map +1 -0
  96. package/resources/ai/typesafe/v1.mjs +63 -0
  97. package/resources/ai/typesafe/v1.mjs.map +1 -0
  98. package/resources/ai/typesafe.d.mts +2 -0
  99. package/resources/ai/typesafe.d.mts.map +1 -0
  100. package/resources/ai/typesafe.d.ts +2 -0
  101. package/resources/ai/typesafe.d.ts.map +1 -0
  102. package/resources/ai/typesafe.js +6 -0
  103. package/resources/ai/typesafe.js.map +1 -0
  104. package/resources/ai/typesafe.mjs +3 -0
  105. package/resources/ai/typesafe.mjs.map +1 -0
  106. package/resources/bot-challenge.d.mts +80 -0
  107. package/resources/bot-challenge.d.mts.map +1 -0
  108. package/resources/bot-challenge.d.ts +80 -0
  109. package/resources/bot-challenge.d.ts.map +1 -0
  110. package/resources/bot-challenge.js +35 -0
  111. package/resources/bot-challenge.js.map +1 -0
  112. package/resources/bot-challenge.mjs +31 -0
  113. package/resources/bot-challenge.mjs.map +1 -0
  114. package/resources/bot-sessions.d.mts +49 -0
  115. package/resources/bot-sessions.d.mts.map +1 -0
  116. package/resources/bot-sessions.d.ts +49 -0
  117. package/resources/bot-sessions.d.ts.map +1 -0
  118. package/resources/bot-sessions.js +28 -0
  119. package/resources/bot-sessions.js.map +1 -0
  120. package/resources/bot-sessions.mjs +24 -0
  121. package/resources/bot-sessions.mjs.map +1 -0
  122. package/resources/bot-signup.d.mts +114 -0
  123. package/resources/bot-signup.d.mts.map +1 -0
  124. package/resources/bot-signup.d.ts +114 -0
  125. package/resources/bot-signup.d.ts.map +1 -0
  126. package/resources/bot-signup.js +63 -0
  127. package/resources/bot-signup.js.map +1 -0
  128. package/resources/bot-signup.mjs +59 -0
  129. package/resources/bot-signup.mjs.map +1 -0
  130. package/resources/calls/actions.d.mts +57 -11
  131. package/resources/calls/actions.d.mts.map +1 -1
  132. package/resources/calls/actions.d.ts +57 -11
  133. package/resources/calls/actions.d.ts.map +1 -1
  134. package/resources/calls/calls.d.mts +45 -5
  135. package/resources/calls/calls.d.mts.map +1 -1
  136. package/resources/calls/calls.d.ts +45 -5
  137. package/resources/calls/calls.d.ts.map +1 -1
  138. package/resources/calls/calls.js.map +1 -1
  139. package/resources/calls/calls.mjs.map +1 -1
  140. package/resources/compute/compute.d.mts +10 -0
  141. package/resources/compute/compute.d.mts.map +1 -0
  142. package/resources/compute/compute.d.ts +10 -0
  143. package/resources/compute/compute.d.ts.map +1 -0
  144. package/resources/compute/compute.js +17 -0
  145. package/resources/compute/compute.js.map +1 -0
  146. package/resources/compute/compute.mjs +12 -0
  147. package/resources/compute/compute.mjs.map +1 -0
  148. package/resources/compute/funcs/export.d.mts +121 -0
  149. package/resources/compute/funcs/export.d.mts.map +1 -0
  150. package/resources/compute/funcs/export.d.ts +121 -0
  151. package/resources/compute/funcs/export.d.ts.map +1 -0
  152. package/resources/compute/funcs/export.js +68 -0
  153. package/resources/compute/funcs/export.js.map +1 -0
  154. package/resources/compute/funcs/export.mjs +64 -0
  155. package/resources/compute/funcs/export.mjs.map +1 -0
  156. package/resources/compute/funcs/funcs.d.mts +214 -0
  157. package/resources/compute/funcs/funcs.d.mts.map +1 -0
  158. package/resources/compute/funcs/funcs.d.ts +214 -0
  159. package/resources/compute/funcs/funcs.d.ts.map +1 -0
  160. package/resources/compute/funcs/funcs.js +80 -0
  161. package/resources/compute/funcs/funcs.js.map +1 -0
  162. package/resources/compute/funcs/funcs.mjs +75 -0
  163. package/resources/compute/funcs/funcs.mjs.map +1 -0
  164. package/resources/compute/funcs/index.d.mts +3 -0
  165. package/resources/compute/funcs/index.d.mts.map +1 -0
  166. package/resources/compute/funcs/index.d.ts +3 -0
  167. package/resources/compute/funcs/index.d.ts.map +1 -0
  168. package/resources/compute/funcs/index.js +9 -0
  169. package/resources/compute/funcs/index.js.map +1 -0
  170. package/resources/compute/funcs/index.mjs +4 -0
  171. package/resources/compute/funcs/index.mjs.map +1 -0
  172. package/resources/compute/funcs.d.mts +2 -0
  173. package/resources/compute/funcs.d.mts.map +1 -0
  174. package/resources/compute/funcs.d.ts +2 -0
  175. package/resources/compute/funcs.d.ts.map +1 -0
  176. package/resources/compute/funcs.js +6 -0
  177. package/resources/compute/funcs.js.map +1 -0
  178. package/resources/compute/funcs.mjs +3 -0
  179. package/resources/compute/funcs.mjs.map +1 -0
  180. package/resources/compute/index.d.mts +3 -0
  181. package/resources/compute/index.d.mts.map +1 -0
  182. package/resources/compute/index.d.ts +3 -0
  183. package/resources/compute/index.d.ts.map +1 -0
  184. package/resources/compute/index.js +9 -0
  185. package/resources/compute/index.js.map +1 -0
  186. package/resources/compute/index.mjs +4 -0
  187. package/resources/compute/index.mjs.map +1 -0
  188. package/resources/compute.d.mts +2 -0
  189. package/resources/compute.d.mts.map +1 -0
  190. package/resources/compute.d.ts +2 -0
  191. package/resources/compute.d.ts.map +1 -0
  192. package/resources/compute.js +6 -0
  193. package/resources/compute.js.map +1 -0
  194. package/resources/compute.mjs +3 -0
  195. package/resources/compute.mjs.map +1 -0
  196. package/resources/connections.d.mts +109 -1
  197. package/resources/connections.d.mts.map +1 -1
  198. package/resources/connections.d.ts +109 -1
  199. package/resources/connections.d.ts.map +1 -1
  200. package/resources/connections.js +8 -0
  201. package/resources/connections.js.map +1 -1
  202. package/resources/connections.mjs +8 -0
  203. package/resources/connections.mjs.map +1 -1
  204. package/resources/credential-connections/credential-connections.d.mts +4 -1
  205. package/resources/credential-connections/credential-connections.d.mts.map +1 -1
  206. package/resources/credential-connections/credential-connections.d.ts +4 -1
  207. package/resources/credential-connections/credential-connections.d.ts.map +1 -1
  208. package/resources/credential-connections/credential-connections.js.map +1 -1
  209. package/resources/credential-connections/credential-connections.mjs.map +1 -1
  210. package/resources/detail-records.d.mts +18 -1
  211. package/resources/detail-records.d.mts.map +1 -1
  212. package/resources/detail-records.d.ts +18 -1
  213. package/resources/detail-records.d.ts.map +1 -1
  214. package/resources/email-inboxes/drafts.d.mts +7 -0
  215. package/resources/email-inboxes/drafts.d.mts.map +1 -1
  216. package/resources/email-inboxes/drafts.d.ts +7 -0
  217. package/resources/email-inboxes/drafts.d.ts.map +1 -1
  218. package/resources/email-messages/email-messages.d.mts +9 -3
  219. package/resources/email-messages/email-messages.d.mts.map +1 -1
  220. package/resources/email-messages/email-messages.d.ts +9 -3
  221. package/resources/email-messages/email-messages.d.ts.map +1 -1
  222. package/resources/email-messages/email-messages.js +5 -1
  223. package/resources/email-messages/email-messages.js.map +1 -1
  224. package/resources/email-messages/email-messages.mjs +5 -1
  225. package/resources/email-messages/email-messages.mjs.map +1 -1
  226. package/resources/fqdn-connections/fqdn-authentication.d.mts +4 -1
  227. package/resources/fqdn-connections/fqdn-authentication.d.mts.map +1 -1
  228. package/resources/fqdn-connections/fqdn-authentication.d.ts +4 -1
  229. package/resources/fqdn-connections/fqdn-authentication.d.ts.map +1 -1
  230. package/resources/fqdn-connections/fqdn-connections.d.mts +4 -1
  231. package/resources/fqdn-connections/fqdn-connections.d.mts.map +1 -1
  232. package/resources/fqdn-connections/fqdn-connections.d.ts +4 -1
  233. package/resources/fqdn-connections/fqdn-connections.d.ts.map +1 -1
  234. package/resources/fqdn-connections/fqdn-connections.js.map +1 -1
  235. package/resources/fqdn-connections/fqdn-connections.mjs.map +1 -1
  236. package/resources/index.d.mts +9 -3
  237. package/resources/index.d.mts.map +1 -1
  238. package/resources/index.d.ts +9 -3
  239. package/resources/index.d.ts.map +1 -1
  240. package/resources/index.js +16 -4
  241. package/resources/index.js.map +1 -1
  242. package/resources/index.mjs +6 -0
  243. package/resources/index.mjs.map +1 -1
  244. package/resources/machine-payments.d.mts +142 -0
  245. package/resources/machine-payments.d.mts.map +1 -0
  246. package/resources/machine-payments.d.ts +142 -0
  247. package/resources/machine-payments.d.ts.map +1 -0
  248. package/resources/machine-payments.js +56 -0
  249. package/resources/machine-payments.js.map +1 -0
  250. package/resources/machine-payments.mjs +52 -0
  251. package/resources/machine-payments.mjs.map +1 -0
  252. package/resources/messages/messages.d.mts +207 -22
  253. package/resources/messages/messages.d.mts.map +1 -1
  254. package/resources/messages/messages.d.ts +207 -22
  255. package/resources/messages/messages.d.ts.map +1 -1
  256. package/resources/messages/messages.js.map +1 -1
  257. package/resources/messages/messages.mjs.map +1 -1
  258. package/resources/messaging-profiles/index.d.mts +1 -1
  259. package/resources/messaging-profiles/index.d.mts.map +1 -1
  260. package/resources/messaging-profiles/index.d.ts +1 -1
  261. package/resources/messaging-profiles/index.d.ts.map +1 -1
  262. package/resources/messaging-profiles/index.js.map +1 -1
  263. package/resources/messaging-profiles/index.mjs.map +1 -1
  264. package/resources/messaging-profiles/messaging-profiles.d.mts +34 -1
  265. package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
  266. package/resources/messaging-profiles/messaging-profiles.d.ts +34 -1
  267. package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
  268. package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
  269. package/resources/messaging-profiles/messaging-profiles.mjs.map +1 -1
  270. package/resources/noise-suppression-engines.d.mts +42 -0
  271. package/resources/noise-suppression-engines.d.mts.map +1 -0
  272. package/resources/noise-suppression-engines.d.ts +42 -0
  273. package/resources/noise-suppression-engines.d.ts.map +1 -0
  274. package/resources/noise-suppression-engines.js +21 -0
  275. package/resources/noise-suppression-engines.js.map +1 -0
  276. package/resources/noise-suppression-engines.mjs +17 -0
  277. package/resources/noise-suppression-engines.mjs.map +1 -0
  278. package/resources/speech-to-text/speech-to-text.d.mts +1 -1
  279. package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
  280. package/resources/speech-to-text/speech-to-text.d.ts +1 -1
  281. package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
  282. package/resources/texml/accounts/calls/calls.d.mts +117 -0
  283. package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
  284. package/resources/texml/accounts/calls/calls.d.ts +117 -0
  285. package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
  286. package/resources/texml/accounts/calls/calls.js.map +1 -1
  287. package/resources/texml/accounts/calls/calls.mjs.map +1 -1
  288. package/resources/texml/accounts/conferences/participants.d.mts +39 -0
  289. package/resources/texml/accounts/conferences/participants.d.mts.map +1 -1
  290. package/resources/texml/accounts/conferences/participants.d.ts +39 -0
  291. package/resources/texml/accounts/conferences/participants.d.ts.map +1 -1
  292. package/resources/texml/calls.d.mts +71 -0
  293. package/resources/texml/calls.d.mts.map +1 -0
  294. package/resources/texml/calls.d.ts +71 -0
  295. package/resources/texml/calls.d.ts.map +1 -0
  296. package/resources/texml/calls.js +33 -0
  297. package/resources/texml/calls.js.map +1 -0
  298. package/resources/texml/calls.mjs +29 -0
  299. package/resources/texml/calls.mjs.map +1 -0
  300. package/resources/texml/index.d.mts +1 -0
  301. package/resources/texml/index.d.mts.map +1 -1
  302. package/resources/texml/index.d.ts +1 -0
  303. package/resources/texml/index.d.ts.map +1 -1
  304. package/resources/texml/index.js +3 -1
  305. package/resources/texml/index.js.map +1 -1
  306. package/resources/texml/index.mjs +1 -0
  307. package/resources/texml/index.mjs.map +1 -1
  308. package/resources/texml/texml.d.mts +43 -0
  309. package/resources/texml/texml.d.mts.map +1 -1
  310. package/resources/texml/texml.d.ts +43 -0
  311. package/resources/texml/texml.d.ts.map +1 -1
  312. package/resources/texml/texml.js +4 -0
  313. package/resources/texml/texml.js.map +1 -1
  314. package/resources/texml/texml.mjs +4 -0
  315. package/resources/texml/texml.mjs.map +1 -1
  316. package/resources/uac-connections/uac-connections.d.mts +9 -2
  317. package/resources/uac-connections/uac-connections.d.mts.map +1 -1
  318. package/resources/uac-connections/uac-connections.d.ts +9 -2
  319. package/resources/uac-connections/uac-connections.d.ts.map +1 -1
  320. package/resources/uac-connections/uac-connections.js.map +1 -1
  321. package/resources/uac-connections/uac-connections.mjs.map +1 -1
  322. package/resources/voice-clones.d.mts +6 -4
  323. package/resources/voice-clones.d.mts.map +1 -1
  324. package/resources/voice-clones.d.ts +6 -4
  325. package/resources/voice-clones.d.ts.map +1 -1
  326. package/resources/voice-clones.js +4 -2
  327. package/resources/voice-clones.js.map +1 -1
  328. package/resources/voice-clones.mjs +4 -2
  329. package/resources/voice-clones.mjs.map +1 -1
  330. package/resources/webhooks.d.mts +154 -51
  331. package/resources/webhooks.d.mts.map +1 -1
  332. package/resources/webhooks.d.ts +154 -51
  333. package/resources/webhooks.d.ts.map +1 -1
  334. package/resources/whatsapp/business-accounts/phone-numbers.d.mts +33 -0
  335. package/resources/whatsapp/business-accounts/phone-numbers.d.mts.map +1 -1
  336. package/resources/whatsapp/business-accounts/phone-numbers.d.ts +33 -0
  337. package/resources/whatsapp/business-accounts/phone-numbers.d.ts.map +1 -1
  338. package/resources/whatsapp/index.d.mts +1 -1
  339. package/resources/whatsapp/index.d.mts.map +1 -1
  340. package/resources/whatsapp/index.d.ts +1 -1
  341. package/resources/whatsapp/index.d.ts.map +1 -1
  342. package/resources/whatsapp/index.js.map +1 -1
  343. package/resources/whatsapp/index.mjs.map +1 -1
  344. package/resources/whatsapp/phone-numbers/index.d.mts +1 -1
  345. package/resources/whatsapp/phone-numbers/index.d.mts.map +1 -1
  346. package/resources/whatsapp/phone-numbers/index.d.ts +1 -1
  347. package/resources/whatsapp/phone-numbers/index.d.ts.map +1 -1
  348. package/resources/whatsapp/phone-numbers/index.js.map +1 -1
  349. package/resources/whatsapp/phone-numbers/index.mjs.map +1 -1
  350. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +147 -1
  351. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
  352. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +147 -1
  353. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
  354. package/resources/whatsapp/phone-numbers/phone-numbers.js +16 -0
  355. package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
  356. package/resources/whatsapp/phone-numbers/phone-numbers.mjs +16 -0
  357. package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
  358. package/resources/whatsapp/whatsapp.d.mts +2 -2
  359. package/resources/whatsapp/whatsapp.d.mts.map +1 -1
  360. package/resources/whatsapp/whatsapp.d.ts +2 -2
  361. package/resources/whatsapp/whatsapp.d.ts.map +1 -1
  362. package/resources/whatsapp/whatsapp.js.map +1 -1
  363. package/resources/whatsapp/whatsapp.mjs.map +1 -1
  364. package/resources/x402/credit-account/credit-account.d.mts +226 -0
  365. package/resources/x402/credit-account/credit-account.d.mts.map +1 -0
  366. package/resources/x402/credit-account/credit-account.d.ts +226 -0
  367. package/resources/x402/credit-account/credit-account.d.ts.map +1 -0
  368. package/resources/x402/credit-account/credit-account.js +66 -0
  369. package/resources/x402/credit-account/credit-account.js.map +1 -0
  370. package/resources/x402/credit-account/credit-account.mjs +61 -0
  371. package/resources/x402/credit-account/credit-account.mjs.map +1 -0
  372. package/resources/x402/credit-account/index.d.mts +3 -0
  373. package/resources/x402/credit-account/index.d.mts.map +1 -0
  374. package/resources/x402/credit-account/index.d.ts +3 -0
  375. package/resources/x402/credit-account/index.d.ts.map +1 -0
  376. package/resources/x402/credit-account/index.js +9 -0
  377. package/resources/x402/credit-account/index.js.map +1 -0
  378. package/resources/x402/credit-account/index.mjs +4 -0
  379. package/resources/x402/credit-account/index.mjs.map +1 -0
  380. package/resources/x402/credit-account/payments.d.mts +90 -0
  381. package/resources/x402/credit-account/payments.d.mts.map +1 -0
  382. package/resources/x402/credit-account/payments.d.ts +90 -0
  383. package/resources/x402/credit-account/payments.d.ts.map +1 -0
  384. package/resources/x402/credit-account/payments.js +47 -0
  385. package/resources/x402/credit-account/payments.js.map +1 -0
  386. package/resources/x402/credit-account/payments.mjs +43 -0
  387. package/resources/x402/credit-account/payments.mjs.map +1 -0
  388. package/resources/x402/credit-account.d.mts +1 -221
  389. package/resources/x402/credit-account.d.mts.map +1 -1
  390. package/resources/x402/credit-account.d.ts +1 -221
  391. package/resources/x402/credit-account.d.ts.map +1 -1
  392. package/resources/x402/credit-account.js +2 -54
  393. package/resources/x402/credit-account.js.map +1 -1
  394. package/resources/x402/credit-account.mjs +1 -52
  395. package/resources/x402/credit-account.mjs.map +1 -1
  396. package/resources/x402/index.d.mts +1 -1
  397. package/resources/x402/index.d.mts.map +1 -1
  398. package/resources/x402/index.d.ts +1 -1
  399. package/resources/x402/index.d.ts.map +1 -1
  400. package/resources/x402/index.js +2 -2
  401. package/resources/x402/index.js.map +1 -1
  402. package/resources/x402/index.mjs +1 -1
  403. package/resources/x402/index.mjs.map +1 -1
  404. package/resources/x402/x402.d.mts +2 -2
  405. package/resources/x402/x402.d.mts.map +1 -1
  406. package/resources/x402/x402.d.ts +2 -2
  407. package/resources/x402/x402.d.ts.map +1 -1
  408. package/resources/x402/x402.js +2 -2
  409. package/resources/x402/x402.js.map +1 -1
  410. package/resources/x402/x402.mjs +2 -2
  411. package/resources/x402/x402.mjs.map +1 -1
  412. package/src/client.ts +91 -0
  413. package/src/resources/ai/ai.ts +15 -1
  414. package/src/resources/ai/assistants/assistants.ts +454 -45
  415. package/src/resources/ai/assistants/index.ts +1 -0
  416. package/src/resources/ai/assistants/versions.ts +61 -12
  417. package/src/resources/ai/audio.ts +93 -45
  418. package/src/resources/ai/chat.ts +66 -29
  419. package/src/resources/ai/index.ts +8 -1
  420. package/src/resources/ai/openai/chat.ts +75 -29
  421. package/src/resources/ai/openai/index.ts +6 -1
  422. package/src/resources/ai/openai/openai.ts +2 -1
  423. package/src/resources/ai/typesafe/index.ts +4 -0
  424. package/src/resources/ai/typesafe/typesafe.ts +19 -0
  425. package/src/resources/ai/typesafe/v1.ts +298 -0
  426. package/src/resources/ai/typesafe.ts +3 -0
  427. package/src/resources/bot-challenge.ts +101 -0
  428. package/src/resources/bot-sessions.ts +61 -0
  429. package/src/resources/bot-signup.ts +140 -0
  430. package/src/resources/calls/actions.ts +65 -10
  431. package/src/resources/calls/calls.ts +52 -5
  432. package/src/resources/compute/compute.ts +37 -0
  433. package/src/resources/compute/funcs/export.ts +156 -0
  434. package/src/resources/compute/funcs/funcs.ts +341 -0
  435. package/src/resources/compute/funcs/index.ts +15 -0
  436. package/src/resources/compute/funcs.ts +3 -0
  437. package/src/resources/compute/index.ts +15 -0
  438. package/src/resources/compute.ts +3 -0
  439. package/src/resources/connections.ts +133 -0
  440. package/src/resources/credential-connections/credential-connections.ts +4 -1
  441. package/src/resources/detail-records.ts +18 -1
  442. package/src/resources/email-inboxes/drafts.ts +8 -0
  443. package/src/resources/email-messages/email-messages.ts +9 -2
  444. package/src/resources/fqdn-connections/fqdn-authentication.ts +4 -1
  445. package/src/resources/fqdn-connections/fqdn-connections.ts +4 -1
  446. package/src/resources/index.ts +27 -0
  447. package/src/resources/machine-payments.ts +169 -0
  448. package/src/resources/messages/messages.ts +250 -22
  449. package/src/resources/messaging-profiles/index.ts +1 -0
  450. package/src/resources/messaging-profiles/messaging-profiles.ts +39 -0
  451. package/src/resources/noise-suppression-engines.ts +51 -0
  452. package/src/resources/speech-to-text/speech-to-text.ts +1 -0
  453. package/src/resources/texml/accounts/calls/calls.ts +138 -0
  454. package/src/resources/texml/accounts/conferences/participants.ts +46 -0
  455. package/src/resources/texml/calls.ts +90 -0
  456. package/src/resources/texml/index.ts +1 -0
  457. package/src/resources/texml/texml.ts +56 -0
  458. package/src/resources/uac-connections/uac-connections.ts +9 -2
  459. package/src/resources/voice-clones.ts +6 -4
  460. package/src/resources/webhooks.ts +208 -60
  461. package/src/resources/whatsapp/business-accounts/phone-numbers.ts +52 -0
  462. package/src/resources/whatsapp/index.ts +1 -0
  463. package/src/resources/whatsapp/phone-numbers/index.ts +1 -0
  464. package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +222 -0
  465. package/src/resources/whatsapp/whatsapp.ts +2 -0
  466. package/src/resources/x402/credit-account/credit-account.ts +312 -0
  467. package/src/resources/x402/credit-account/index.ts +16 -0
  468. package/src/resources/x402/credit-account/payments.ts +126 -0
  469. package/src/resources/x402/credit-account.ts +1 -290
  470. package/src/resources/x402/index.ts +1 -1
  471. package/src/resources/x402/x402.ts +2 -2
  472. package/src/version.ts +1 -1
  473. package/version.d.mts +1 -1
  474. package/version.d.ts +1 -1
  475. package/version.js +1 -1
  476. package/version.mjs +1 -1
@@ -15,6 +15,7 @@ import * as AssistantsToolsAPI from "./tools.mjs";
15
15
  import { ToolAddParams, ToolAddResponse, ToolRemoveParams, ToolRemoveResponse, ToolTestParams, ToolTestResponse, Tools } from "./tools.mjs";
16
16
  import * as VersionsAPI from "./versions.mjs";
17
17
  import { UpdateAssistant, VersionDeleteParams, VersionPromoteParams, VersionRetrieveParams, VersionUpdateParams, Versions } from "./versions.mjs";
18
+ import * as OpenAIChatAPI from "../openai/chat.mjs";
18
19
  import * as TestsAPI from "./tests/tests.mjs";
19
20
  import { AssistantTest, AssistantTestsDefaultFlatPagination, TelnyxConversationChannel, TestCreateParams, TestListParams, TestUpdateParams, Tests } from "./tests/tests.mjs";
20
21
  import { APIPromise } from "../../../core/api-promise.mjs";
@@ -222,6 +223,113 @@ export interface Assistant {
222
223
  */
223
224
  tools?: Array<Shared.BookAppointmentTool | Shared.CheckAvailabilityTool | WebhookTool | HangupTool | TransferTool | Shared.CallControlRetrievalTool>;
224
225
  }
226
+ /**
227
+ * A remote agent, reachable over the A2A (Agent2Agent) protocol, that an assistant
228
+ * can delegate to. Tools are not configured here: at the start of every
229
+ * conversation the agent's card is fetched and one tool is derived per skill the
230
+ * card advertises.
231
+ */
232
+ export interface AssistantA2AAgent {
233
+ /**
234
+ * Identifies the agent and seeds the names of the tools derived from its card
235
+ * (`a2a_<name>_<skill_id>`). Characters outside `[A-Za-z0-9_]` are replaced with
236
+ * `_` before the tool name is built, so two agents whose names differ only in
237
+ * punctuation collide and are rejected.
238
+ */
239
+ name: string;
240
+ /**
241
+ * The agent's base URL, or the URL of its agent card. At most 2,048 bytes once
242
+ * UTF-8 encoded. `/.well-known/agent-card.json` is appended to the path unless it
243
+ * already ends in `.json`. Must be an `http://` or `https://` URL for an
244
+ * externally reachable host: internal destinations (`localhost`, private and
245
+ * reserved IP ranges, `.local` domains) are rejected, and the hostname may not
246
+ * contain a `{{...}}` placeholder. Placeholders in the path are allowed.
247
+ */
248
+ url: string;
249
+ /**
250
+ * When `true`, the assistant hands the turn straight back to the model and the
251
+ * agent's answer is delivered into the conversation once it arrives, instead of
252
+ * the caller waiting for it in silence.
253
+ */
254
+ async?: boolean;
255
+ /**
256
+ * Headers sent when fetching this agent's card and on every call made to it. Use
257
+ * them to authenticate to the agent.
258
+ */
259
+ headers?: Array<AssistantA2AAgent.Header>;
260
+ /**
261
+ * Filler messages spoken while a call to this agent is in progress.
262
+ * `request_start` messages are spoken immediately when the call begins.
263
+ * `request_response_delayed` messages are spoken after `timing_ms` has elapsed
264
+ * only if the agent has not answered yet. Filler messages are not used when
265
+ * `async` is `true`.
266
+ */
267
+ messages?: Array<AssistantA2AAgent.A2AAgentRequestStartMessage | AssistantA2AAgent.A2AAgentRequestResponseDelayedMessage>;
268
+ /**
269
+ * How often, in milliseconds, to poll an agent task that has not finished yet.
270
+ * Defaults to 500.
271
+ */
272
+ poll_interval_ms?: number;
273
+ /**
274
+ * Total budget, in milliseconds, for one call to this agent, including any time
275
+ * spent polling a task that is still running. Omit to inherit the assistant's tool
276
+ * timeout.
277
+ */
278
+ timeout_ms?: number;
279
+ }
280
+ export declare namespace AssistantA2AAgent {
281
+ /**
282
+ * A header sent when fetching an A2A agent's card and on every call made to that
283
+ * agent.
284
+ */
285
+ interface Header {
286
+ /**
287
+ * HTTP header name. May only contain alphanumeric characters, hyphens, and
288
+ * underscores, or a `{{dynamic_variable}}` placeholder surrounded by those
289
+ * characters.
290
+ */
291
+ name: string;
292
+ /**
293
+ * Header value, stored exactly as written. It may be a literal, a
294
+ * `{{dynamic_variable}}`, or an
295
+ * `{{#integration_secret}}identifier{{/integration_secret}}` section that resolves
296
+ * to a stored integration secret when the conversation starts. Control characters
297
+ * are not allowed. The encrypted `{{variable | encryption_secret_ref}}` form used
298
+ * for per-caller credentials is not resolved here and is rejected when the
299
+ * assistant is saved.
300
+ */
301
+ value: string;
302
+ }
303
+ interface A2AAgentRequestStartMessage {
304
+ /**
305
+ * The text the assistant speaks.
306
+ */
307
+ content: string;
308
+ /**
309
+ * Speak the filler message immediately when the call to the agent begins.
310
+ */
311
+ type: 'request_start';
312
+ /**
313
+ * An optional delay value. This value is ignored for `request_start` messages.
314
+ */
315
+ timing_ms?: number;
316
+ }
317
+ interface A2AAgentRequestResponseDelayedMessage {
318
+ /**
319
+ * The text the assistant speaks.
320
+ */
321
+ content: string;
322
+ /**
323
+ * How long to wait, in milliseconds, before speaking this message.
324
+ */
325
+ timing_ms: number;
326
+ /**
327
+ * Speak the filler message only if the agent has not answered yet after
328
+ * `timing_ms`.
329
+ */
330
+ type: 'request_response_delayed';
331
+ }
332
+ }
225
333
  /**
226
334
  * Reference to a connected integration attached to an assistant. Discover
227
335
  * available integrations with `/ai/integrations` and connected integrations with
@@ -264,11 +372,35 @@ export interface AssistantMcpServer {
264
372
  * another AI assistant. By default, this will happen transparently to the end
265
373
  * user.
266
374
  */
267
- export type AssistantTool = InferenceEmbeddingWebhookToolParams | AssistantTool.ClientSideTool | RetrievalTool | AssistantTool.Handoff | HangupTool | AssistantTool.Transfer | AssistantTool.Invite | AssistantTool.Refer | AssistantTool.SendDtmf | AssistantTool.SendMessage | AssistantTool.SkipTurn | AssistantTool.Pay | AssistantTool.UpdateDynamicVariables;
375
+ export type AssistantTool = AssistantTool.Function | InferenceEmbeddingWebhookToolParams | AssistantTool.ClientSideTool | RetrievalTool | AssistantTool.Handoff | AssistantTool.Hangup | AssistantTool.Transfer | AssistantTool.Invite | AssistantTool.Refer | AssistantTool.SendDtmf | AssistantTool.SendMessage | AssistantTool.SkipTurn | AssistantTool.Pay | AssistantTool.UpdateDynamicVariables;
268
376
  export declare namespace AssistantTool {
377
+ interface Function {
378
+ function: OpenAIChatAPI.FunctionDefinition;
379
+ type: 'function';
380
+ /**
381
+ * Whether this tool comes from the shared Tools Library. Responses merge shared
382
+ * tools into `tools` with `shared: true`; inline tools carry `shared: false`.
383
+ * Read-only: set by the server, not accepted in requests. When updating an
384
+ * assistant, omit `shared: true` tools from the request `tools` array and manage
385
+ * them through `tool_ids` instead — re-sending their definitions creates an inline
386
+ * duplicate (rejected with error code 10015 when the type allows only one instance
387
+ * per assistant).
388
+ */
389
+ shared?: boolean;
390
+ }
269
391
  interface ClientSideTool {
270
392
  client_side_tool: ClientSideTool.ClientSideTool;
271
393
  type: 'client_side_tool';
394
+ /**
395
+ * Whether this tool comes from the shared Tools Library. Responses merge shared
396
+ * tools into `tools` with `shared: true`; inline tools carry `shared: false`.
397
+ * Read-only: set by the server, not accepted in requests. When updating an
398
+ * assistant, omit `shared: true` tools from the request `tools` array and manage
399
+ * them through `tool_ids` instead — re-sending their definitions creates an inline
400
+ * duplicate (rejected with error code 10015 when the type allows only one instance
401
+ * per assistant).
402
+ */
403
+ shared?: boolean;
272
404
  }
273
405
  namespace ClientSideTool {
274
406
  interface ClientSideTool {
@@ -316,6 +448,16 @@ export declare namespace AssistantTool {
316
448
  interface Handoff {
317
449
  handoff: Handoff.Handoff;
318
450
  type: 'handoff';
451
+ /**
452
+ * Whether this tool comes from the shared Tools Library. Responses merge shared
453
+ * tools into `tools` with `shared: true`; inline tools carry `shared: false`.
454
+ * Read-only: set by the server, not accepted in requests. When updating an
455
+ * assistant, omit `shared: true` tools from the request `tools` array and manage
456
+ * them through `tool_ids` instead — re-sending their definitions creates an inline
457
+ * duplicate (rejected with error code 10015 when the type allows only one instance
458
+ * per assistant).
459
+ */
460
+ shared?: boolean;
319
461
  }
320
462
  namespace Handoff {
321
463
  interface Handoff {
@@ -344,9 +486,33 @@ export declare namespace AssistantTool {
344
486
  }
345
487
  }
346
488
  }
489
+ interface Hangup {
490
+ hangup: AssistantsAPI.HangupToolParams;
491
+ type: 'hangup';
492
+ /**
493
+ * Whether this tool comes from the shared Tools Library. Responses merge shared
494
+ * tools into `tools` with `shared: true`; inline tools carry `shared: false`.
495
+ * Read-only: set by the server, not accepted in requests. When updating an
496
+ * assistant, omit `shared: true` tools from the request `tools` array and manage
497
+ * them through `tool_ids` instead — re-sending their definitions creates an inline
498
+ * duplicate (rejected with error code 10015 when the type allows only one instance
499
+ * per assistant).
500
+ */
501
+ shared?: boolean;
502
+ }
347
503
  interface Transfer {
348
504
  transfer: Transfer.Transfer;
349
505
  type: 'transfer';
506
+ /**
507
+ * Whether this tool comes from the shared Tools Library. Responses merge shared
508
+ * tools into `tools` with `shared: true`; inline tools carry `shared: false`.
509
+ * Read-only: set by the server, not accepted in requests. When updating an
510
+ * assistant, omit `shared: true` tools from the request `tools` array and manage
511
+ * them through `tool_ids` instead — re-sending their definitions creates an inline
512
+ * duplicate (rejected with error code 10015 when the type allows only one instance
513
+ * per assistant).
514
+ */
515
+ shared?: boolean;
350
516
  }
351
517
  namespace Transfer {
352
518
  interface Transfer {
@@ -581,6 +747,16 @@ export declare namespace AssistantTool {
581
747
  interface Invite {
582
748
  invite: Invite.Invite;
583
749
  type: 'invite';
750
+ /**
751
+ * Whether this tool comes from the shared Tools Library. Responses merge shared
752
+ * tools into `tools` with `shared: true`; inline tools carry `shared: false`.
753
+ * Read-only: set by the server, not accepted in requests. When updating an
754
+ * assistant, omit `shared: true` tools from the request `tools` array and manage
755
+ * them through `tool_ids` instead — re-sending their definitions creates an inline
756
+ * duplicate (rejected with error code 10015 when the type allows only one instance
757
+ * per assistant).
758
+ */
759
+ shared?: boolean;
584
760
  }
585
761
  namespace Invite {
586
762
  interface Invite {
@@ -659,6 +835,16 @@ export declare namespace AssistantTool {
659
835
  interface Refer {
660
836
  refer: Refer.Refer;
661
837
  type: 'refer';
838
+ /**
839
+ * Whether this tool comes from the shared Tools Library. Responses merge shared
840
+ * tools into `tools` with `shared: true`; inline tools carry `shared: false`.
841
+ * Read-only: set by the server, not accepted in requests. When updating an
842
+ * assistant, omit `shared: true` tools from the request `tools` array and manage
843
+ * them through `tool_ids` instead — re-sending their definitions creates an inline
844
+ * duplicate (rejected with error code 10015 when the type allows only one instance
845
+ * per assistant).
846
+ */
847
+ shared?: boolean;
662
848
  }
663
849
  namespace Refer {
664
850
  interface Refer {
@@ -723,6 +909,16 @@ export declare namespace AssistantTool {
723
909
  [key: string]: unknown;
724
910
  };
725
911
  type: 'send_dtmf';
912
+ /**
913
+ * Whether this tool comes from the shared Tools Library. Responses merge shared
914
+ * tools into `tools` with `shared: true`; inline tools carry `shared: false`.
915
+ * Read-only: set by the server, not accepted in requests. When updating an
916
+ * assistant, omit `shared: true` tools from the request `tools` array and manage
917
+ * them through `tool_ids` instead — re-sending their definitions creates an inline
918
+ * duplicate (rejected with error code 10015 when the type allows only one instance
919
+ * per assistant).
920
+ */
921
+ shared?: boolean;
726
922
  }
727
923
  /**
728
924
  * The send_message tool allows the assistant to send SMS or MMS messages to the
@@ -733,6 +929,16 @@ export declare namespace AssistantTool {
733
929
  interface SendMessage {
734
930
  send_message: SendMessage.SendMessage;
735
931
  type: 'send_message';
932
+ /**
933
+ * Whether this tool comes from the shared Tools Library. Responses merge shared
934
+ * tools into `tools` with `shared: true`; inline tools carry `shared: false`.
935
+ * Read-only: set by the server, not accepted in requests. When updating an
936
+ * assistant, omit `shared: true` tools from the request `tools` array and manage
937
+ * them through `tool_ids` instead — re-sending their definitions creates an inline
938
+ * duplicate (rejected with error code 10015 when the type allows only one instance
939
+ * per assistant).
940
+ */
941
+ shared?: boolean;
736
942
  }
737
943
  namespace SendMessage {
738
944
  interface SendMessage {
@@ -750,6 +956,16 @@ export declare namespace AssistantTool {
750
956
  interface SkipTurn {
751
957
  skip_turn: SkipTurn.SkipTurn;
752
958
  type: 'skip_turn';
959
+ /**
960
+ * Whether this tool comes from the shared Tools Library. Responses merge shared
961
+ * tools into `tools` with `shared: true`; inline tools carry `shared: false`.
962
+ * Read-only: set by the server, not accepted in requests. When updating an
963
+ * assistant, omit `shared: true` tools from the request `tools` array and manage
964
+ * them through `tool_ids` instead — re-sending their definitions creates an inline
965
+ * duplicate (rejected with error code 10015 when the type allows only one instance
966
+ * per assistant).
967
+ */
968
+ shared?: boolean;
753
969
  }
754
970
  namespace SkipTurn {
755
971
  interface SkipTurn {
@@ -768,6 +984,16 @@ export declare namespace AssistantTool {
768
984
  interface Pay {
769
985
  pay: ToolsAPI.PayToolParams;
770
986
  type: 'pay';
987
+ /**
988
+ * Whether this tool comes from the shared Tools Library. Responses merge shared
989
+ * tools into `tools` with `shared: true`; inline tools carry `shared: false`.
990
+ * Read-only: set by the server, not accepted in requests. When updating an
991
+ * assistant, omit `shared: true` tools from the request `tools` array and manage
992
+ * them through `tool_ids` instead — re-sending their definitions creates an inline
993
+ * duplicate (rejected with error code 10015 when the type allows only one instance
994
+ * per assistant).
995
+ */
996
+ shared?: boolean;
771
997
  }
772
998
  /**
773
999
  * The update_dynamic_variables tool lets the assistant write values into the
@@ -782,6 +1008,16 @@ export declare namespace AssistantTool {
782
1008
  * Configuration for an update_dynamic_variables tool.
783
1009
  */
784
1010
  update_dynamic_variables: ToolsAPI.UpdateDynamicVariablesToolParams;
1011
+ /**
1012
+ * Whether this tool comes from the shared Tools Library. Responses merge shared
1013
+ * tools into `tools` with `shared: true`; inline tools carry `shared: false`.
1014
+ * Read-only: set by the server, not accepted in requests. When updating an
1015
+ * assistant, omit `shared: true` tools from the request `tools` array and manage
1016
+ * them through `tool_ids` instead — re-sending their definitions creates an inline
1017
+ * duplicate (rejected with error code 10015 when the type allows only one instance
1018
+ * per assistant).
1019
+ */
1020
+ shared?: boolean;
785
1021
  }
786
1022
  }
787
1023
  export interface AssistantsList {
@@ -1356,6 +1592,17 @@ export interface InferenceEmbedding {
1356
1592
  */
1357
1593
  model: string;
1358
1594
  name: string;
1595
+ /**
1596
+ * A2A agents this assistant can delegate to. Tools are not stored here: at the
1597
+ * start of every conversation each agent's card is fetched and one tool is derived
1598
+ * per skill the card advertises, named `a2a_<name>_<skill_id>`. The following
1599
+ * limits are not enforced when the assistant is saved, and anything past them is
1600
+ * dropped when the conversation starts: 64 agents per assistant, 64 skills per
1601
+ * card, 128 derived tools per assistant, and a 6 second budget for all card
1602
+ * fetches combined. An agent whose card cannot be fetched costs the assistant that
1603
+ * capability for the conversation; it does not fail the call.
1604
+ */
1605
+ a2a_agents?: Array<AssistantA2AAgent>;
1359
1606
  /**
1360
1607
  * Conversation flow as returned by the API.
1361
1608
  */
@@ -1434,10 +1681,10 @@ export interface InferenceEmbedding {
1434
1681
  /**
1435
1682
  * Configuration for post-conversation processing. When enabled, the assistant
1436
1683
  * receives one additional LLM turn after the conversation ends, allowing it to
1437
- * execute tool calls such as logging to a CRM or sending a summary. The assistant
1438
- * can execute multiple parallel or sequential tools during this phase.
1439
- * Telephony-control tools (e.g. hangup, transfer) are unavailable
1440
- * post-conversation. Beta feature.
1684
+ * execute final tool calls such as sending a summary or updating a record via
1685
+ * webhook or function tools. Integration and MCP server tools are not available
1686
+ * post-conversation; call-control tools (e.g. hangup, transfer) are also
1687
+ * unavailable. Beta feature.
1441
1688
  */
1442
1689
  post_conversation_settings?: PostConversationSettings;
1443
1690
  privacy_settings?: PrivacySettings;
@@ -1452,9 +1699,12 @@ export interface InferenceEmbedding {
1452
1699
  tags?: Array<string>;
1453
1700
  telephony_settings?: TelephonySettings;
1454
1701
  /**
1455
- * Deprecated for new integrations. Inline tool definitions available to the
1456
- * assistant. Prefer `tool_ids` to attach shared tools created with the AI Tools
1457
- * endpoints.
1702
+ * The assistant's tools. Responses merge the assistant's shared Tools Library
1703
+ * tools into this array alongside inline tools, each flagged `shared: true`;
1704
+ * inline tools carry `shared: false`. On update, a sent `tools` array fully
1705
+ * replaces the inline tools only — shared tools stay attached unless `tool_ids`
1706
+ * changes. Each tool type except `function`, `webhook`, and `client_side_tool`
1707
+ * allows at most one instance per assistant across both sources.
1458
1708
  */
1459
1709
  tools?: Array<AssistantTool>;
1460
1710
  transcription?: TranscriptionSettings;
@@ -1494,6 +1744,11 @@ export interface InferenceEmbeddingInterruptionSettings {
1494
1744
  * Whether users can interrupt the assistant while it is speaking.
1495
1745
  */
1496
1746
  enable?: boolean;
1747
+ /**
1748
+ * Interrupt-prediction sensitivity, from 0.0 to 1.0. Set to null or 0.0 to disable
1749
+ * interrupt prediction.
1750
+ */
1751
+ interrupt_prediction_threshold?: number | null;
1497
1752
  /**
1498
1753
  * Controls when the assistant starts speaking after the user stops. These
1499
1754
  * thresholds primarily apply to non turn-taking transcription models. For
@@ -1505,6 +1760,16 @@ export interface InferenceEmbeddingInterruptionSettings {
1505
1760
  export interface InferenceEmbeddingWebhookToolParams {
1506
1761
  type: 'webhook';
1507
1762
  webhook: InferenceEmbeddingWebhookToolParams.Webhook;
1763
+ /**
1764
+ * Whether this tool comes from the shared Tools Library. Responses merge shared
1765
+ * tools into `tools` with `shared: true`; inline tools carry `shared: false`.
1766
+ * Read-only: set by the server, not accepted in requests. When updating an
1767
+ * assistant, omit `shared: true` tools from the request `tools` array and manage
1768
+ * them through `tool_ids` instead — re-sending their definitions creates an inline
1769
+ * duplicate (rejected with error code 10015 when the type allows only one instance
1770
+ * per assistant).
1771
+ */
1772
+ shared?: boolean;
1508
1773
  }
1509
1774
  export declare namespace InferenceEmbeddingWebhookToolParams {
1510
1775
  interface Webhook {
@@ -1803,10 +2068,10 @@ export type ObservabilityStatus = 'enabled' | 'disabled';
1803
2068
  /**
1804
2069
  * Configuration for post-conversation processing. When enabled, the assistant
1805
2070
  * receives one additional LLM turn after the conversation ends, allowing it to
1806
- * execute tool calls such as logging to a CRM or sending a summary. The assistant
1807
- * can execute multiple parallel or sequential tools during this phase.
1808
- * Telephony-control tools (e.g. hangup, transfer) are unavailable
1809
- * post-conversation. Beta feature.
2071
+ * execute final tool calls such as sending a summary or updating a record via
2072
+ * webhook or function tools. Integration and MCP server tools are not available
2073
+ * post-conversation; call-control tools (e.g. hangup, transfer) are also
2074
+ * unavailable. Beta feature.
1810
2075
  */
1811
2076
  export interface PostConversationSettings {
1812
2077
  /**
@@ -1819,10 +2084,10 @@ export interface PostConversationSettings {
1819
2084
  /**
1820
2085
  * Configuration for post-conversation processing. When enabled, the assistant
1821
2086
  * receives one additional LLM turn after the conversation ends, allowing it to
1822
- * execute tool calls such as logging to a CRM or sending a summary. The assistant
1823
- * can execute multiple parallel or sequential tools during this phase.
1824
- * Telephony-control tools (e.g. hangup, transfer) are unavailable
1825
- * post-conversation. Beta feature.
2087
+ * execute final tool calls such as sending a summary or updating a record via
2088
+ * webhook or function tools. Integration and MCP server tools are not available
2089
+ * post-conversation; call-control tools (e.g. hangup, transfer) are also
2090
+ * unavailable. Beta feature.
1826
2091
  */
1827
2092
  export interface PostConversationSettingsReq {
1828
2093
  /**
@@ -1842,6 +2107,21 @@ export interface PrivacySettings {
1842
2107
  * force regardless of your selection here.
1843
2108
  */
1844
2109
  data_retention?: boolean;
2110
+ /**
2111
+ * Requires every model call made for a web chat turn to be received and served
2112
+ * inside your organization's data-locality region, rather than only stored there.
2113
+ * Applies to web chat only — voice and messaging assistants are unaffected.
2114
+ * Enabling it requires a data-locality region with in-region inference (USA, EU,
2115
+ * AUS, UAE; see
2116
+ * [Inference regions](https://developers.telnyx.com/docs/inference/models/regions))
2117
+ * and Telnyx-hosted models for the assistant, its fallback, and any
2118
+ * conversation-flow node that overrides the model; the request is rejected
2119
+ * otherwise. Once enabled, send chat requests to your region's API hostname: a
2120
+ * request entering the platform in another region is rejected rather than
2121
+ * forwarded, because forwarding it would already have moved the content across the
2122
+ * border. Defaults to false.
2123
+ */
2124
+ in_transit_data_locality?: boolean;
1845
2125
  }
1846
2126
  /**
1847
2127
  * Whether to auto-publish the assistant's instructions as a Langfuse prompt.
@@ -1854,6 +2134,16 @@ export type PromptSyncStatus = 'enabled' | 'disabled';
1854
2134
  export interface RetrievalTool {
1855
2135
  retrieval: ChatAPI.BucketIDs;
1856
2136
  type: 'retrieval';
2137
+ /**
2138
+ * Whether this tool comes from the shared Tools Library. Responses merge shared
2139
+ * tools into `tools` with `shared: true`; inline tools carry `shared: false`.
2140
+ * Read-only: set by the server, not accepted in requests. When updating an
2141
+ * assistant, omit `shared: true` tools from the request `tools` array and manage
2142
+ * them through `tool_ids` instead — re-sending their definitions creates an inline
2143
+ * duplicate (rejected with error code 10015 when the type allows only one instance
2144
+ * per assistant).
2145
+ */
2146
+ shared?: boolean;
1857
2147
  }
1858
2148
  /**
1859
2149
  * A standalone scripted-message step in a flow, as returned by the API.
@@ -1956,13 +2246,26 @@ export interface TelephonySettings {
1956
2246
  */
1957
2247
  disable_dtmf?: boolean;
1958
2248
  /**
1959
- * The noise suppression engine to use. Use 'disabled' to turn off noise
1960
- * suppression.
2249
+ * Destination number or SIP URI to transfer the caller to when the AI conversation
2250
+ * ends abnormally, for example because of an assistant-side error, so the caller
2251
+ * is not left in dead air. This only fires for abnormal ends: it does not fire
2252
+ * when the conversation ends on purpose (the caller hung up, the assistant
2253
+ * completed normally, the caller hung up after a relay handoff, or voicemail was
2254
+ * detected), and it does not fire when the assistant already transferred or
2255
+ * bridged the call.
2256
+ */
2257
+ fallback_destination?: string;
2258
+ /**
2259
+ * The noise suppression engine to use. 'aicoustics' is STT-optimized and
2260
+ * recommended for AI assistants (configure through noise_suppression_config). Use
2261
+ * 'disabled' to turn off noise suppression.
1961
2262
  */
1962
- noise_suppression?: 'krisp' | 'deepfilternet' | 'disabled';
2263
+ noise_suppression?: 'aicoustics' | 'krisp' | 'deepfilternet' | 'disabled';
1963
2264
  /**
1964
- * Configuration for noise suppression. Only applicable when noise_suppression is
1965
- * 'deepfilternet'.
2265
+ * Configuration for noise suppression. Applicable fields depend on the engine:
2266
+ * 'attenuation_limit' and 'mode' only when noise_suppression is 'deepfilternet';
2267
+ * 'family', 'size' and 'enhancement_level' only when noise_suppression is
2268
+ * 'aicoustics'.
1966
2269
  */
1967
2270
  noise_suppression_config?: TelephonySettings.NoiseSuppressionConfig;
1968
2271
  /**
@@ -2018,18 +2321,38 @@ export interface TelephonySettings {
2018
2321
  }
2019
2322
  export declare namespace TelephonySettings {
2020
2323
  /**
2021
- * Configuration for noise suppression. Only applicable when noise_suppression is
2022
- * 'deepfilternet'.
2324
+ * Configuration for noise suppression. Applicable fields depend on the engine:
2325
+ * 'attenuation_limit' and 'mode' only when noise_suppression is 'deepfilternet';
2326
+ * 'family', 'size' and 'enhancement_level' only when noise_suppression is
2327
+ * 'aicoustics'.
2023
2328
  */
2024
2329
  interface NoiseSuppressionConfig {
2025
2330
  /**
2026
- * Attenuation limit for noise suppression. Range: 0-100.
2331
+ * Attenuation limit for noise suppression. Range: 0-100. Only applicable when
2332
+ * noise_suppression is 'deepfilternet'.
2027
2333
  */
2028
2334
  attenuation_limit?: number;
2029
2335
  /**
2030
- * Mode for noise suppression configuration.
2336
+ * AiCoustics enhancement intensity. Range: 0-1. Only applicable when
2337
+ * noise_suppression is 'aicoustics'.
2338
+ */
2339
+ enhancement_level?: number;
2340
+ /**
2341
+ * AiCoustics model family optimized for Voice AI and STT. Only applicable when
2342
+ * noise_suppression is 'aicoustics'.
2343
+ */
2344
+ family?: 'quail';
2345
+ /**
2346
+ * Mode for noise suppression configuration. Only applicable when noise_suppression
2347
+ * is 'deepfilternet'.
2031
2348
  */
2032
2349
  mode?: 'advanced';
2350
+ /**
2351
+ * AiCoustics model size. 'vf' tracks the latest model release; 'vf_2_0_l' is
2352
+ * pinned to version 2.0 for consistent, predictable behavior. Only applicable when
2353
+ * noise_suppression is 'aicoustics'.
2354
+ */
2355
+ size?: 'vf' | 'vf_2_0_l';
2033
2356
  }
2034
2357
  /**
2035
2358
  * Configuration for call recording format and channel settings.
@@ -2238,21 +2561,24 @@ export interface TranscriptionSettings {
2238
2561
  * - `deepgram/nova-3` is multilingual with automatic language detection.
2239
2562
  * - `deepgram/nova-2` is Deepgram's previous-generation multilingual model.
2240
2563
  * - `azure/fast` is a multilingual Azure transcription model.
2241
- * - `assemblyai/universal-streaming` is a multilingual streaming model with
2242
- * configurable turn detection.
2564
+ * - `assemblyai/universal-3-5-pro` is a multilingual streaming model with
2565
+ * configurable turn detection. The legacy alias `assemblyai/universal-streaming`
2566
+ * is still accepted and resolves to the same model.
2243
2567
  * - `xai/grok-stt` is a multilingual Grok STT model.
2244
2568
  * - `soniox/stt-rt-v4` and `soniox/stt-rt-v5` are multilingual streaming models
2245
2569
  * with automatic language detection, configurable endpointing, term biasing
2246
2570
  * (`context`), and `language_hints`.
2247
2571
  * - `nvidia/parakeet-v3` is a multilingual transcription model with automatic
2248
2572
  * language detection.
2573
+ * - `omi-health/omi-med-stt-v1` is an English-only medical transcription model
2574
+ * (Parakeet-based).
2249
2575
  * - `humain/realtime` is a streaming model with native Arabic and Arabic/English
2250
2576
  * code-switching support.
2251
2577
  * - `reson8/turns` is a turn-based streaming model covering 10 European languages
2252
2578
  * with automatic language detection.
2253
2579
  * - `cohere/ar-stt` is a non-streaming Arabic and English transcription model.
2254
2580
  */
2255
- model?: 'deepgram/flux' | 'deepgram/nova-3' | 'deepgram/nova-2' | 'azure/fast' | 'assemblyai/universal-streaming' | 'xai/grok-stt' | 'soniox/stt-rt-v4' | 'soniox/stt-rt-v5' | 'nvidia/parakeet-v3' | 'humain/realtime' | 'reson8/turns' | 'cohere/ar-stt' | 'distil-whisper/distil-large-v2' | 'openai/whisper-large-v3-turbo';
2581
+ model?: 'deepgram/flux' | 'deepgram/nova-3' | 'deepgram/nova-2' | 'azure/fast' | 'assemblyai/universal-3-5-pro' | 'assemblyai/universal-streaming' | 'xai/grok-stt' | 'soniox/stt-rt-v4' | 'soniox/stt-rt-v5' | 'nvidia/parakeet-v3' | 'omi-health/omi-med-stt-v1' | 'humain/realtime' | 'reson8/turns' | 'cohere/ar-stt' | 'distil-whisper/distil-large-v2' | 'openai/whisper-large-v3-turbo';
2256
2582
  /**
2257
2583
  * Region on third party cloud providers (currently Azure) if using one of their
2258
2584
  * models. Some regions require `api_key_ref`.
@@ -2284,9 +2610,9 @@ export interface TranscriptionSettingsConfig {
2284
2610
  */
2285
2611
  enable_endpoint_detection?: boolean;
2286
2612
  /**
2287
- * Available only for assemblyai/universal-streaming. Confidence level required to
2288
- * trigger an end of turn. Higher values require more certainty before ending a
2289
- * turn.
2613
+ * Available only for assemblyai/universal-3-5-pro (and its legacy alias
2614
+ * assemblyai/universal-streaming). Confidence level required to trigger an end of
2615
+ * turn. Higher values require more certainty before ending a turn.
2290
2616
  */
2291
2617
  end_of_turn_confidence_threshold?: number;
2292
2618
  /**
@@ -2327,14 +2653,15 @@ export interface TranscriptionSettingsConfig {
2327
2653
  */
2328
2654
  max_endpoint_delay_ms?: number;
2329
2655
  /**
2330
- * Available only for assemblyai/universal-streaming. Maximum duration of silence
2331
- * in milliseconds before forcing an end of turn.
2656
+ * Available only for assemblyai/universal-3-5-pro (and its legacy alias
2657
+ * assemblyai/universal-streaming). Maximum duration of silence in milliseconds
2658
+ * before forcing an end of turn.
2332
2659
  */
2333
2660
  max_turn_silence?: number;
2334
2661
  /**
2335
- * Available only for assemblyai/universal-streaming. Minimum duration of silence
2336
- * in milliseconds before a turn can end. Must be less than or equal to
2337
- * max_turn_silence.
2662
+ * Available only for assemblyai/universal-3-5-pro (and its legacy alias
2663
+ * assemblyai/universal-streaming). Minimum duration of silence in milliseconds
2664
+ * before a turn can end. Must be less than or equal to max_turn_silence.
2338
2665
  */
2339
2666
  min_turn_silence?: number;
2340
2667
  numerals?: boolean;
@@ -2684,6 +3011,17 @@ export interface AssistantCreateParams {
2684
3011
  * Body param
2685
3012
  */
2686
3013
  name: string;
3014
+ /**
3015
+ * Body param: A2A agents this assistant can delegate to. Tools are not stored
3016
+ * here: at the start of every conversation each agent's card is fetched and one
3017
+ * tool is derived per skill the card advertises, named `a2a_<name>_<skill_id>`.
3018
+ * The following limits are not enforced when the assistant is saved, and anything
3019
+ * past them is dropped when the conversation starts: 64 agents per assistant, 64
3020
+ * skills per card, 128 derived tools per assistant, and a 6 second budget for all
3021
+ * card fetches combined. An agent whose card cannot be fetched costs the assistant
3022
+ * that capability for the conversation; it does not fail the call.
3023
+ */
3024
+ a2a_agents?: Array<AssistantA2AAgent>;
2687
3025
  /**
2688
3026
  * Body param: Conversation flow as supplied by API clients (create / update).
2689
3027
  *
@@ -2795,10 +3133,10 @@ export interface AssistantCreateParams {
2795
3133
  /**
2796
3134
  * Body param: Configuration for post-conversation processing. When enabled, the
2797
3135
  * assistant receives one additional LLM turn after the conversation ends, allowing
2798
- * it to execute tool calls such as logging to a CRM or sending a summary. The
2799
- * assistant can execute multiple parallel or sequential tools during this phase.
2800
- * Telephony-control tools (e.g. hangup, transfer) are unavailable
2801
- * post-conversation. Beta feature.
3136
+ * it to execute final tool calls such as sending a summary or updating a record
3137
+ * via webhook or function tools. Integration and MCP server tools are not
3138
+ * available post-conversation; call-control tools (e.g. hangup, transfer) are also
3139
+ * unavailable. Beta feature.
2802
3140
  */
2803
3141
  post_conversation_settings?: PostConversationSettingsReq;
2804
3142
  /**
@@ -2896,6 +3234,18 @@ export interface AssistantRetrieveParams {
2896
3234
  to?: string;
2897
3235
  }
2898
3236
  export interface AssistantUpdateParams {
3237
+ /**
3238
+ * A2A agents this assistant can delegate to. Tools are not stored here: at the
3239
+ * start of every conversation each agent's card is fetched and one tool is derived
3240
+ * per skill the card advertises, named `a2a_<name>_<skill_id>`. The following
3241
+ * limits are not enforced when the assistant is saved, and anything past them is
3242
+ * dropped when the conversation starts: 64 agents per assistant, 64 skills per
3243
+ * card, 128 derived tools per assistant, and a 6 second budget for all card
3244
+ * fetches combined. An agent whose card cannot be fetched costs the assistant that
3245
+ * capability for the conversation; it does not fail the call. Omit this field to
3246
+ * leave the assistant's agents unchanged; send an empty array to remove them all.
3247
+ */
3248
+ a2a_agents?: Array<AssistantA2AAgent>;
2899
3249
  /**
2900
3250
  * Conversation flow as supplied by API clients (create / update).
2901
3251
  *
@@ -2991,10 +3341,10 @@ export interface AssistantUpdateParams {
2991
3341
  /**
2992
3342
  * Configuration for post-conversation processing. When enabled, the assistant
2993
3343
  * receives one additional LLM turn after the conversation ends, allowing it to
2994
- * execute tool calls such as logging to a CRM or sending a summary. The assistant
2995
- * can execute multiple parallel or sequential tools during this phase.
2996
- * Telephony-control tools (e.g. hangup, transfer) are unavailable
2997
- * post-conversation. Beta feature.
3344
+ * execute final tool calls such as sending a summary or updating a record via
3345
+ * webhook or function tools. Integration and MCP server tools are not available
3346
+ * post-conversation; call-control tools (e.g. hangup, transfer) are also
3347
+ * unavailable. Beta feature.
2998
3348
  */
2999
3349
  post_conversation_settings?: PostConversationSettingsReq;
3000
3350
  privacy_settings?: PrivacySettings;
@@ -3011,13 +3361,24 @@ export interface AssistantUpdateParams {
3011
3361
  telephony_settings?: TelephonySettings;
3012
3362
  /**
3013
3363
  * IDs of shared tools to attach to the assistant. New integrations should prefer
3014
- * `tool_ids` over inline `tools`.
3364
+ * `tool_ids` over inline `tools`. On update, a sent `tool_ids` array fully
3365
+ * replaces the assistant's attached shared tools; omit the field to leave them
3366
+ * unchanged. Single-instance tool types are counted across inline `tools` and
3367
+ * `tool_ids` combined, so attaching a shared tool of such a type when an instance
3368
+ * already exists returns HTTP 400 with error code 10015.
3015
3369
  */
3016
3370
  tool_ids?: Array<string>;
3017
3371
  /**
3018
3372
  * Deprecated for new integrations. Inline tool definitions available to the
3019
3373
  * assistant. Prefer `tool_ids` to attach shared tools created with the AI Tools
3020
- * endpoints.
3374
+ * endpoints. On update, a sent `tools` array fully replaces the assistant's inline
3375
+ * tools; omit the field to leave the inline tools unchanged. Each tool type except
3376
+ * `function`, `webhook`, and `client_side_tool` allows at most one instance per
3377
+ * assistant, counted across inline `tools` and shared `tool_ids` combined —
3378
+ * sending a duplicate of such a type returns HTTP 400 with error code 10015.
3379
+ * Responses merge shared tools into `tools` with `shared: true`; when updating,
3380
+ * omit those tools from the `tools` array and manage them through `tool_ids`
3381
+ * instead.
3021
3382
  */
3022
3383
  tools?: Array<AssistantTool>;
3023
3384
  transcription?: TranscriptionSettings;
@@ -3102,7 +3463,7 @@ export interface AssistantSendSMSParams {
3102
3463
  'Idempotency-Key'?: string;
3103
3464
  }
3104
3465
  export declare namespace Assistants {
3105
- export { type ArithmeticExpression as ArithmeticExpression, type Assistant as Assistant, type AssistantIntegration as AssistantIntegration, type AssistantMcpServer as AssistantMcpServer, type AssistantTool as AssistantTool, type AssistantsList as AssistantsList, type AudioVisualizerConfig as AudioVisualizerConfig, type AuthenticationMethod as AuthenticationMethod, type BooleanOpExpression as BooleanOpExpression, type ComparisonExpression as ComparisonExpression, type ConversationFlow as ConversationFlow, type ConversationFlowReq as ConversationFlowReq, type EnabledFeatures as EnabledFeatures, type Expression as Expression, type ExternalLlm as ExternalLlm, type ExternalLlmReq as ExternalLlmReq, type FallbackConfig as FallbackConfig, type FallbackConfigReq as FallbackConfigReq, type FlowEdge as FlowEdge, type FlowNode as FlowNode, type FlowNodeReq as FlowNodeReq, type HangupTool as HangupTool, type HangupToolParams as HangupToolParams, type ImportMetadata as ImportMetadata, type InferenceEmbedding as InferenceEmbedding, type InferenceEmbeddingInterruptionSettings as InferenceEmbeddingInterruptionSettings, type InferenceEmbeddingWebhookToolParams as InferenceEmbeddingWebhookToolParams, type InsightSettings as InsightSettings, type MessagingSettings as MessagingSettings, type NodePosition as NodePosition, type Observability as Observability, type ObservabilityReq as ObservabilityReq, type ObservabilityStatus as ObservabilityStatus, type PostConversationSettings as PostConversationSettings, type PostConversationSettingsReq as PostConversationSettingsReq, type PrivacySettings as PrivacySettings, type PromptSyncStatus as PromptSyncStatus, type RetrievalTool as RetrievalTool, type SpeakNode as SpeakNode, type SpeakNodeReq as SpeakNodeReq, type StartSpeakingPlan as StartSpeakingPlan, type TelephonySettings as TelephonySettings, type ToolNode as ToolNode, type ToolNodeReq as ToolNodeReq, type TranscriptionEndpointingPlan as TranscriptionEndpointingPlan, type TranscriptionSettings as TranscriptionSettings, type TranscriptionSettingsConfig as TranscriptionSettingsConfig, type TransferTool as TransferTool, type VoiceSettings as VoiceSettings, type WebhookTool as WebhookTool, type WidgetSettings as WidgetSettings, type AssistantDeleteResponse as AssistantDeleteResponse, type AssistantChatResponse as AssistantChatResponse, type AssistantGetTexmlResponse as AssistantGetTexmlResponse, type AssistantSendSMSResponse as AssistantSendSMSResponse, type AssistantCreateParams as AssistantCreateParams, type AssistantImportsParams as AssistantImportsParams, type AssistantRetrieveParams as AssistantRetrieveParams, type AssistantUpdateParams as AssistantUpdateParams, type AssistantChatParams as AssistantChatParams, type AssistantCloneParams as AssistantCloneParams, type AssistantSendSMSParams as AssistantSendSMSParams, };
3466
+ export { type ArithmeticExpression as ArithmeticExpression, type Assistant as Assistant, type AssistantA2AAgent as AssistantA2AAgent, type AssistantIntegration as AssistantIntegration, type AssistantMcpServer as AssistantMcpServer, type AssistantTool as AssistantTool, type AssistantsList as AssistantsList, type AudioVisualizerConfig as AudioVisualizerConfig, type AuthenticationMethod as AuthenticationMethod, type BooleanOpExpression as BooleanOpExpression, type ComparisonExpression as ComparisonExpression, type ConversationFlow as ConversationFlow, type ConversationFlowReq as ConversationFlowReq, type EnabledFeatures as EnabledFeatures, type Expression as Expression, type ExternalLlm as ExternalLlm, type ExternalLlmReq as ExternalLlmReq, type FallbackConfig as FallbackConfig, type FallbackConfigReq as FallbackConfigReq, type FlowEdge as FlowEdge, type FlowNode as FlowNode, type FlowNodeReq as FlowNodeReq, type HangupTool as HangupTool, type HangupToolParams as HangupToolParams, type ImportMetadata as ImportMetadata, type InferenceEmbedding as InferenceEmbedding, type InferenceEmbeddingInterruptionSettings as InferenceEmbeddingInterruptionSettings, type InferenceEmbeddingWebhookToolParams as InferenceEmbeddingWebhookToolParams, type InsightSettings as InsightSettings, type MessagingSettings as MessagingSettings, type NodePosition as NodePosition, type Observability as Observability, type ObservabilityReq as ObservabilityReq, type ObservabilityStatus as ObservabilityStatus, type PostConversationSettings as PostConversationSettings, type PostConversationSettingsReq as PostConversationSettingsReq, type PrivacySettings as PrivacySettings, type PromptSyncStatus as PromptSyncStatus, type RetrievalTool as RetrievalTool, type SpeakNode as SpeakNode, type SpeakNodeReq as SpeakNodeReq, type StartSpeakingPlan as StartSpeakingPlan, type TelephonySettings as TelephonySettings, type ToolNode as ToolNode, type ToolNodeReq as ToolNodeReq, type TranscriptionEndpointingPlan as TranscriptionEndpointingPlan, type TranscriptionSettings as TranscriptionSettings, type TranscriptionSettingsConfig as TranscriptionSettingsConfig, type TransferTool as TransferTool, type VoiceSettings as VoiceSettings, type WebhookTool as WebhookTool, type WidgetSettings as WidgetSettings, type AssistantDeleteResponse as AssistantDeleteResponse, type AssistantChatResponse as AssistantChatResponse, type AssistantGetTexmlResponse as AssistantGetTexmlResponse, type AssistantSendSMSResponse as AssistantSendSMSResponse, type AssistantCreateParams as AssistantCreateParams, type AssistantImportsParams as AssistantImportsParams, type AssistantRetrieveParams as AssistantRetrieveParams, type AssistantUpdateParams as AssistantUpdateParams, type AssistantChatParams as AssistantChatParams, type AssistantCloneParams as AssistantCloneParams, type AssistantSendSMSParams as AssistantSendSMSParams, };
3106
3467
  export { Tests as Tests, type AssistantTest as AssistantTest, type TelnyxConversationChannel as TelnyxConversationChannel, type AssistantTestsDefaultFlatPagination as AssistantTestsDefaultFlatPagination, type TestListParams as TestListParams, type TestCreateParams as TestCreateParams, type TestUpdateParams as TestUpdateParams, };
3107
3468
  export { CanaryDeploys as CanaryDeploys, type CanaryDeploy as CanaryDeploy, type CanaryDeployResponse as CanaryDeployResponse, type Clause as Clause, type RolloutSlot as RolloutSlot, type RuleInput as RuleInput, type RuleOutput as RuleOutput, type Serve as Serve, type CanaryDeployCreateParams as CanaryDeployCreateParams, type CanaryDeployUpdateParams as CanaryDeployUpdateParams, };
3108
3469
  export { ScheduledEvents as ScheduledEvents, type ConversationChannelType as ConversationChannelType, type EventStatus as EventStatus, type ScheduledCallSettings as ScheduledCallSettings, type ScheduledEventResponse as ScheduledEventResponse, type ScheduledPhoneCallEventResponse as ScheduledPhoneCallEventResponse, type ScheduledSMSEventResponse as ScheduledSMSEventResponse, type ScheduledEventListResponse as ScheduledEventListResponse, type ScheduledEventListResponsesDefaultFlatPagination as ScheduledEventListResponsesDefaultFlatPagination, type ScheduledEventListParams as ScheduledEventListParams, type ScheduledEventCreateParams as ScheduledEventCreateParams, type ScheduledEventDeleteParams as ScheduledEventDeleteParams, type ScheduledEventRetrieveParams as ScheduledEventRetrieveParams, };