telnyx 7.23.0 → 7.24.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 (371) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/client.d.mts +8 -8
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +8 -8
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/ai/ai.d.mts +6 -2
  10. package/resources/ai/ai.d.mts.map +1 -1
  11. package/resources/ai/ai.d.ts +6 -2
  12. package/resources/ai/ai.d.ts.map +1 -1
  13. package/resources/ai/ai.js +4 -0
  14. package/resources/ai/ai.js.map +1 -1
  15. package/resources/ai/ai.mjs +4 -0
  16. package/resources/ai/ai.mjs.map +1 -1
  17. package/resources/ai/assistants/assistants.d.mts +153 -11
  18. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  19. package/resources/ai/assistants/assistants.d.ts +153 -11
  20. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  21. package/resources/ai/assistants/assistants.js.map +1 -1
  22. package/resources/ai/assistants/assistants.mjs.map +1 -1
  23. package/resources/ai/assistants/index.d.mts +1 -1
  24. package/resources/ai/assistants/index.d.mts.map +1 -1
  25. package/resources/ai/assistants/index.d.ts +1 -1
  26. package/resources/ai/assistants/index.d.ts.map +1 -1
  27. package/resources/ai/assistants/index.js.map +1 -1
  28. package/resources/ai/assistants/index.mjs.map +1 -1
  29. package/resources/ai/assistants/versions.d.mts +2 -2
  30. package/resources/ai/assistants/versions.d.mts.map +1 -1
  31. package/resources/ai/assistants/versions.d.ts +2 -2
  32. package/resources/ai/assistants/versions.d.ts.map +1 -1
  33. package/resources/ai/collections/collections.d.mts +3 -3
  34. package/resources/ai/collections/collections.d.mts.map +1 -1
  35. package/resources/ai/collections/collections.d.ts +3 -3
  36. package/resources/ai/collections/collections.d.ts.map +1 -1
  37. package/resources/ai/collections/collections.js.map +1 -1
  38. package/resources/ai/collections/collections.mjs.map +1 -1
  39. package/resources/ai/collections/index.d.mts +1 -1
  40. package/resources/ai/collections/index.d.mts.map +1 -1
  41. package/resources/ai/collections/index.d.ts +1 -1
  42. package/resources/ai/collections/index.d.ts.map +1 -1
  43. package/resources/ai/collections/index.js.map +1 -1
  44. package/resources/ai/collections/index.mjs.map +1 -1
  45. package/resources/ai/collections/sources.d.mts +32 -5
  46. package/resources/ai/collections/sources.d.mts.map +1 -1
  47. package/resources/ai/collections/sources.d.ts +32 -5
  48. package/resources/ai/collections/sources.d.ts.map +1 -1
  49. package/resources/ai/collections/sources.js.map +1 -1
  50. package/resources/ai/collections/sources.mjs.map +1 -1
  51. package/resources/ai/index.d.mts +2 -1
  52. package/resources/ai/index.d.mts.map +1 -1
  53. package/resources/ai/index.d.ts +2 -1
  54. package/resources/ai/index.d.ts.map +1 -1
  55. package/resources/ai/index.js +9 -7
  56. package/resources/ai/index.js.map +1 -1
  57. package/resources/ai/index.mjs +1 -0
  58. package/resources/ai/index.mjs.map +1 -1
  59. package/resources/ai/memory/index.d.mts +3 -0
  60. package/resources/ai/memory/index.d.mts.map +1 -0
  61. package/resources/ai/memory/index.d.ts +3 -0
  62. package/resources/ai/memory/index.d.ts.map +1 -0
  63. package/resources/ai/memory/index.js +9 -0
  64. package/resources/ai/memory/index.js.map +1 -0
  65. package/resources/ai/memory/index.mjs +4 -0
  66. package/resources/ai/memory/index.mjs.map +1 -0
  67. package/resources/ai/memory/memory.d.mts +10 -0
  68. package/resources/ai/memory/memory.d.mts.map +1 -0
  69. package/resources/ai/memory/memory.d.ts +10 -0
  70. package/resources/ai/memory/memory.d.ts.map +1 -0
  71. package/resources/ai/memory/memory.js +17 -0
  72. package/resources/ai/memory/memory.js.map +1 -0
  73. package/resources/ai/memory/memory.mjs +12 -0
  74. package/resources/ai/memory/memory.mjs.map +1 -0
  75. package/resources/ai/memory/namespaces/index.d.mts +4 -0
  76. package/resources/ai/memory/namespaces/index.d.mts.map +1 -0
  77. package/resources/ai/memory/namespaces/index.d.ts +4 -0
  78. package/resources/ai/memory/namespaces/index.d.ts.map +1 -0
  79. package/resources/ai/memory/namespaces/index.js +11 -0
  80. package/resources/ai/memory/namespaces/index.js.map +1 -0
  81. package/resources/ai/memory/namespaces/index.mjs +5 -0
  82. package/resources/ai/memory/namespaces/index.mjs.map +1 -0
  83. package/resources/ai/memory/namespaces/namespaces.d.mts +54 -0
  84. package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -0
  85. package/resources/ai/memory/namespaces/namespaces.d.ts +54 -0
  86. package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -0
  87. package/resources/ai/memory/namespaces/namespaces.js +43 -0
  88. package/resources/ai/memory/namespaces/namespaces.js.map +1 -0
  89. package/resources/ai/memory/namespaces/namespaces.mjs +38 -0
  90. package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -0
  91. package/resources/ai/memory/namespaces/profiles/index.d.mts +4 -0
  92. package/resources/ai/memory/namespaces/profiles/index.d.mts.map +1 -0
  93. package/resources/ai/memory/namespaces/profiles/index.d.ts +4 -0
  94. package/resources/ai/memory/namespaces/profiles/index.d.ts.map +1 -0
  95. package/resources/ai/memory/namespaces/profiles/index.js +11 -0
  96. package/resources/ai/memory/namespaces/profiles/index.js.map +1 -0
  97. package/resources/ai/memory/namespaces/profiles/index.mjs +5 -0
  98. package/resources/ai/memory/namespaces/profiles/index.mjs.map +1 -0
  99. package/resources/ai/memory/namespaces/profiles/memories.d.mts +118 -0
  100. package/resources/ai/memory/namespaces/profiles/memories.d.mts.map +1 -0
  101. package/resources/ai/memory/namespaces/profiles/memories.d.ts +118 -0
  102. package/resources/ai/memory/namespaces/profiles/memories.d.ts.map +1 -0
  103. package/resources/ai/memory/namespaces/profiles/memories.js +63 -0
  104. package/resources/ai/memory/namespaces/profiles/memories.js.map +1 -0
  105. package/resources/ai/memory/namespaces/profiles/memories.mjs +59 -0
  106. package/resources/ai/memory/namespaces/profiles/memories.mjs.map +1 -0
  107. package/resources/ai/memory/namespaces/profiles/profiles.d.mts +324 -0
  108. package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -0
  109. package/resources/ai/memory/namespaces/profiles/profiles.d.ts +324 -0
  110. package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -0
  111. package/resources/ai/memory/namespaces/profiles/profiles.js +161 -0
  112. package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -0
  113. package/resources/ai/memory/namespaces/profiles/profiles.mjs +156 -0
  114. package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -0
  115. package/resources/ai/memory/namespaces/profiles/sources.d.mts +163 -0
  116. package/resources/ai/memory/namespaces/profiles/sources.d.mts.map +1 -0
  117. package/resources/ai/memory/namespaces/profiles/sources.d.ts +163 -0
  118. package/resources/ai/memory/namespaces/profiles/sources.d.ts.map +1 -0
  119. package/resources/ai/memory/namespaces/profiles/sources.js +80 -0
  120. package/resources/ai/memory/namespaces/profiles/sources.js.map +1 -0
  121. package/resources/ai/memory/namespaces/profiles/sources.mjs +76 -0
  122. package/resources/ai/memory/namespaces/profiles/sources.mjs.map +1 -0
  123. package/resources/ai/memory/namespaces/profiles.d.mts +2 -0
  124. package/resources/ai/memory/namespaces/profiles.d.mts.map +1 -0
  125. package/resources/ai/memory/namespaces/profiles.d.ts +2 -0
  126. package/resources/ai/memory/namespaces/profiles.d.ts.map +1 -0
  127. package/resources/ai/memory/namespaces/profiles.js +6 -0
  128. package/resources/ai/memory/namespaces/profiles.js.map +1 -0
  129. package/resources/ai/memory/namespaces/profiles.mjs +3 -0
  130. package/resources/ai/memory/namespaces/profiles.mjs.map +1 -0
  131. package/resources/ai/memory/namespaces/settings.d.mts +108 -0
  132. package/resources/ai/memory/namespaces/settings.d.mts.map +1 -0
  133. package/resources/ai/memory/namespaces/settings.d.ts +108 -0
  134. package/resources/ai/memory/namespaces/settings.d.ts.map +1 -0
  135. package/resources/ai/memory/namespaces/settings.js +54 -0
  136. package/resources/ai/memory/namespaces/settings.js.map +1 -0
  137. package/resources/ai/memory/namespaces/settings.mjs +50 -0
  138. package/resources/ai/memory/namespaces/settings.mjs.map +1 -0
  139. package/resources/ai/memory/namespaces.d.mts +2 -0
  140. package/resources/ai/memory/namespaces.d.mts.map +1 -0
  141. package/resources/ai/memory/namespaces.d.ts +2 -0
  142. package/resources/ai/memory/namespaces.d.ts.map +1 -0
  143. package/resources/ai/memory/namespaces.js +6 -0
  144. package/resources/ai/memory/namespaces.js.map +1 -0
  145. package/resources/ai/memory/namespaces.mjs +3 -0
  146. package/resources/ai/memory/namespaces.mjs.map +1 -0
  147. package/resources/ai/memory.d.mts +2 -0
  148. package/resources/ai/memory.d.mts.map +1 -0
  149. package/resources/ai/memory.d.ts +2 -0
  150. package/resources/ai/memory.d.ts.map +1 -0
  151. package/resources/ai/memory.js +6 -0
  152. package/resources/ai/memory.js.map +1 -0
  153. package/resources/ai/memory.mjs +3 -0
  154. package/resources/ai/memory.mjs.map +1 -0
  155. package/resources/ai/typesafe/v1.d.mts +25 -14
  156. package/resources/ai/typesafe/v1.d.mts.map +1 -1
  157. package/resources/ai/typesafe/v1.d.ts +25 -14
  158. package/resources/ai/typesafe/v1.d.ts.map +1 -1
  159. package/resources/ai/typesafe/v1.js +15 -10
  160. package/resources/ai/typesafe/v1.js.map +1 -1
  161. package/resources/ai/typesafe/v1.mjs +15 -10
  162. package/resources/ai/typesafe/v1.mjs.map +1 -1
  163. package/resources/calls/actions.d.mts +43 -5
  164. package/resources/calls/actions.d.mts.map +1 -1
  165. package/resources/calls/actions.d.ts +43 -5
  166. package/resources/calls/actions.d.ts.map +1 -1
  167. package/resources/calls/calls.d.mts +10 -4
  168. package/resources/calls/calls.d.mts.map +1 -1
  169. package/resources/calls/calls.d.ts +10 -4
  170. package/resources/calls/calls.d.ts.map +1 -1
  171. package/resources/calls/calls.js.map +1 -1
  172. package/resources/calls/calls.mjs.map +1 -1
  173. package/resources/calls/index.d.mts +1 -1
  174. package/resources/calls/index.d.mts.map +1 -1
  175. package/resources/calls/index.d.ts +1 -1
  176. package/resources/calls/index.d.ts.map +1 -1
  177. package/resources/calls/index.js.map +1 -1
  178. package/resources/calls/index.mjs.map +1 -1
  179. package/resources/conferences/actions.d.mts +7 -1
  180. package/resources/conferences/actions.d.mts.map +1 -1
  181. package/resources/conferences/actions.d.ts +7 -1
  182. package/resources/conferences/actions.d.ts.map +1 -1
  183. package/resources/email-blocks/email-blocks.d.mts +12 -4
  184. package/resources/email-blocks/email-blocks.d.mts.map +1 -1
  185. package/resources/email-blocks/email-blocks.d.ts +12 -4
  186. package/resources/email-blocks/email-blocks.d.ts.map +1 -1
  187. package/resources/email-blocks/email-blocks.js +5 -3
  188. package/resources/email-blocks/email-blocks.js.map +1 -1
  189. package/resources/email-blocks/email-blocks.mjs +5 -3
  190. package/resources/email-blocks/email-blocks.mjs.map +1 -1
  191. package/resources/email-blocks/imports.d.mts +20 -4
  192. package/resources/email-blocks/imports.d.mts.map +1 -1
  193. package/resources/email-blocks/imports.d.ts +20 -4
  194. package/resources/email-blocks/imports.d.ts.map +1 -1
  195. package/resources/email-blocks/imports.js +17 -3
  196. package/resources/email-blocks/imports.js.map +1 -1
  197. package/resources/email-blocks/imports.mjs +17 -3
  198. package/resources/email-blocks/imports.mjs.map +1 -1
  199. package/resources/email-domains/email-domains.d.mts +98 -1
  200. package/resources/email-domains/email-domains.d.mts.map +1 -1
  201. package/resources/email-domains/email-domains.d.ts +98 -1
  202. package/resources/email-domains/email-domains.d.ts.map +1 -1
  203. package/resources/email-domains/email-domains.js +21 -0
  204. package/resources/email-domains/email-domains.js.map +1 -1
  205. package/resources/email-domains/email-domains.mjs +21 -0
  206. package/resources/email-domains/email-domains.mjs.map +1 -1
  207. package/resources/email-domains/index.d.mts +1 -1
  208. package/resources/email-domains/index.d.mts.map +1 -1
  209. package/resources/email-domains/index.d.ts +1 -1
  210. package/resources/email-domains/index.d.ts.map +1 -1
  211. package/resources/email-domains/index.js.map +1 -1
  212. package/resources/email-domains/index.mjs.map +1 -1
  213. package/resources/email-domains/webhooks.d.mts +6 -4
  214. package/resources/email-domains/webhooks.d.mts.map +1 -1
  215. package/resources/email-domains/webhooks.d.ts +6 -4
  216. package/resources/email-domains/webhooks.d.ts.map +1 -1
  217. package/resources/email-events.d.mts +162 -28
  218. package/resources/email-events.d.mts.map +1 -1
  219. package/resources/email-events.d.ts +162 -28
  220. package/resources/email-events.d.ts.map +1 -1
  221. package/resources/email-events.js +15 -6
  222. package/resources/email-events.js.map +1 -1
  223. package/resources/email-events.mjs +15 -6
  224. package/resources/email-events.mjs.map +1 -1
  225. package/resources/email-inboxes/drafts.d.mts +31 -1
  226. package/resources/email-inboxes/drafts.d.mts.map +1 -1
  227. package/resources/email-inboxes/drafts.d.ts +31 -1
  228. package/resources/email-inboxes/drafts.d.ts.map +1 -1
  229. package/resources/email-inboxes/drafts.js.map +1 -1
  230. package/resources/email-inboxes/drafts.mjs.map +1 -1
  231. package/resources/email-messages/email-messages.d.mts +174 -43
  232. package/resources/email-messages/email-messages.d.mts.map +1 -1
  233. package/resources/email-messages/email-messages.d.ts +174 -43
  234. package/resources/email-messages/email-messages.d.ts.map +1 -1
  235. package/resources/email-messages/email-messages.js +39 -7
  236. package/resources/email-messages/email-messages.js.map +1 -1
  237. package/resources/email-messages/email-messages.mjs +39 -7
  238. package/resources/email-messages/email-messages.mjs.map +1 -1
  239. package/resources/email-messages/index.d.mts +1 -1
  240. package/resources/email-messages/index.d.mts.map +1 -1
  241. package/resources/email-messages/index.d.ts +1 -1
  242. package/resources/email-messages/index.d.ts.map +1 -1
  243. package/resources/email-messages/index.js.map +1 -1
  244. package/resources/email-messages/index.mjs.map +1 -1
  245. package/resources/email-messages/recipients.d.mts +2 -2
  246. package/resources/email-messages/recipients.d.mts.map +1 -1
  247. package/resources/email-messages/recipients.d.ts +2 -2
  248. package/resources/email-messages/recipients.d.ts.map +1 -1
  249. package/resources/email-templates.d.mts +170 -0
  250. package/resources/email-templates.d.mts.map +1 -1
  251. package/resources/email-templates.d.ts +170 -0
  252. package/resources/email-templates.d.ts.map +1 -1
  253. package/resources/email-templates.js +6 -0
  254. package/resources/email-templates.js.map +1 -1
  255. package/resources/email-templates.mjs +6 -0
  256. package/resources/email-templates.mjs.map +1 -1
  257. package/resources/index.d.mts +4 -4
  258. package/resources/index.d.mts.map +1 -1
  259. package/resources/index.d.ts +4 -4
  260. package/resources/index.d.ts.map +1 -1
  261. package/resources/index.js.map +1 -1
  262. package/resources/index.mjs.map +1 -1
  263. package/resources/meeting-sessions/actions.d.mts +7 -1
  264. package/resources/meeting-sessions/actions.d.mts.map +1 -1
  265. package/resources/meeting-sessions/actions.d.ts +7 -1
  266. package/resources/meeting-sessions/actions.d.ts.map +1 -1
  267. package/resources/meeting-sessions/actions.js +7 -1
  268. package/resources/meeting-sessions/actions.js.map +1 -1
  269. package/resources/meeting-sessions/actions.mjs +7 -1
  270. package/resources/meeting-sessions/actions.mjs.map +1 -1
  271. package/resources/meeting-sessions/artifacts.d.mts +38 -11
  272. package/resources/meeting-sessions/artifacts.d.mts.map +1 -1
  273. package/resources/meeting-sessions/artifacts.d.ts +38 -11
  274. package/resources/meeting-sessions/artifacts.d.ts.map +1 -1
  275. package/resources/meeting-sessions/artifacts.js +11 -5
  276. package/resources/meeting-sessions/artifacts.js.map +1 -1
  277. package/resources/meeting-sessions/artifacts.mjs +11 -5
  278. package/resources/meeting-sessions/artifacts.mjs.map +1 -1
  279. package/resources/meeting-sessions/meeting-sessions.d.mts +63 -23
  280. package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
  281. package/resources/meeting-sessions/meeting-sessions.d.ts +63 -23
  282. package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
  283. package/resources/meeting-sessions/meeting-sessions.js +0 -2
  284. package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
  285. package/resources/meeting-sessions/meeting-sessions.mjs +0 -2
  286. package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
  287. package/resources/phone-numbers/phone-numbers.d.mts +12 -2
  288. package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
  289. package/resources/phone-numbers/phone-numbers.d.ts +12 -2
  290. package/resources/phone-numbers/phone-numbers.d.ts.map +1 -1
  291. package/resources/phone-numbers/phone-numbers.js.map +1 -1
  292. package/resources/phone-numbers/phone-numbers.mjs.map +1 -1
  293. package/resources/private-wireless-gateways.d.mts +61 -7
  294. package/resources/private-wireless-gateways.d.mts.map +1 -1
  295. package/resources/private-wireless-gateways.d.ts +61 -7
  296. package/resources/private-wireless-gateways.d.ts.map +1 -1
  297. package/resources/private-wireless-gateways.js +1 -1
  298. package/resources/private-wireless-gateways.js.map +1 -1
  299. package/resources/private-wireless-gateways.mjs +1 -1
  300. package/resources/private-wireless-gateways.mjs.map +1 -1
  301. package/resources/texml/accounts/calls/calls.d.mts +9 -9
  302. package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
  303. package/resources/texml/accounts/calls/calls.d.ts +9 -9
  304. package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
  305. package/resources/texml/accounts/calls/calls.js +12 -2
  306. package/resources/texml/accounts/calls/calls.js.map +1 -1
  307. package/resources/texml/accounts/calls/calls.mjs +12 -2
  308. package/resources/texml/accounts/calls/calls.mjs.map +1 -1
  309. package/resources/text-to-speech/text-to-speech.d.mts +61 -9
  310. package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
  311. package/resources/text-to-speech/text-to-speech.d.ts +61 -9
  312. package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
  313. package/resources/text-to-speech/text-to-speech.js +10 -3
  314. package/resources/text-to-speech/text-to-speech.js.map +1 -1
  315. package/resources/text-to-speech/text-to-speech.mjs +10 -3
  316. package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
  317. package/resources/webhooks.d.mts +14 -4
  318. package/resources/webhooks.d.mts.map +1 -1
  319. package/resources/webhooks.d.ts +14 -4
  320. package/resources/webhooks.d.ts.map +1 -1
  321. package/src/client.ts +12 -6
  322. package/src/resources/ai/ai.ts +8 -0
  323. package/src/resources/ai/assistants/assistants.ts +221 -11
  324. package/src/resources/ai/assistants/index.ts +1 -0
  325. package/src/resources/ai/assistants/versions.ts +2 -2
  326. package/src/resources/ai/collections/collections.ts +3 -1
  327. package/src/resources/ai/collections/index.ts +2 -0
  328. package/src/resources/ai/collections/sources.ts +38 -4
  329. package/src/resources/ai/index.ts +2 -0
  330. package/src/resources/ai/memory/index.ts +4 -0
  331. package/src/resources/ai/memory/memory.ts +19 -0
  332. package/src/resources/ai/memory/namespaces/index.ts +21 -0
  333. package/src/resources/ai/memory/namespaces/namespaces.ts +116 -0
  334. package/src/resources/ai/memory/namespaces/profiles/index.ts +35 -0
  335. package/src/resources/ai/memory/namespaces/profiles/memories.ts +170 -0
  336. package/src/resources/ai/memory/namespaces/profiles/profiles.ts +482 -0
  337. package/src/resources/ai/memory/namespaces/profiles/sources.ts +226 -0
  338. package/src/resources/ai/memory/namespaces/profiles.ts +3 -0
  339. package/src/resources/ai/memory/namespaces/settings.ts +129 -0
  340. package/src/resources/ai/memory/namespaces.ts +3 -0
  341. package/src/resources/ai/memory.ts +3 -0
  342. package/src/resources/ai/typesafe/v1.ts +26 -14
  343. package/src/resources/calls/actions.ts +50 -4
  344. package/src/resources/calls/calls.ts +12 -2
  345. package/src/resources/calls/index.ts +1 -0
  346. package/src/resources/conferences/actions.ts +8 -1
  347. package/src/resources/email-blocks/email-blocks.ts +12 -4
  348. package/src/resources/email-blocks/imports.ts +20 -4
  349. package/src/resources/email-domains/email-domains.ts +120 -0
  350. package/src/resources/email-domains/index.ts +1 -0
  351. package/src/resources/email-domains/webhooks.ts +9 -4
  352. package/src/resources/email-events.ts +220 -35
  353. package/src/resources/email-inboxes/drafts.ts +32 -1
  354. package/src/resources/email-messages/email-messages.ts +191 -47
  355. package/src/resources/email-messages/index.ts +2 -1
  356. package/src/resources/email-messages/recipients.ts +6 -2
  357. package/src/resources/email-templates.ts +185 -0
  358. package/src/resources/index.ts +6 -3
  359. package/src/resources/meeting-sessions/actions.ts +7 -1
  360. package/src/resources/meeting-sessions/artifacts.ts +42 -11
  361. package/src/resources/meeting-sessions/meeting-sessions.ts +63 -24
  362. package/src/resources/phone-numbers/phone-numbers.ts +13 -2
  363. package/src/resources/private-wireless-gateways.ts +76 -8
  364. package/src/resources/texml/accounts/calls/calls.ts +20 -10
  365. package/src/resources/text-to-speech/text-to-speech.ts +69 -9
  366. package/src/resources/webhooks.ts +16 -4
  367. package/src/version.ts +1 -1
  368. package/version.d.mts +1 -1
  369. package/version.d.ts +1 -1
  370. package/version.js +1 -1
  371. package/version.mjs +1 -1
@@ -2,29 +2,33 @@ import { APIResource } from "../../../core/resource.mjs";
2
2
  import { APIPromise } from "../../../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../../../internal/request-options.mjs";
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.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,uBAAuB,GAC3C,mBAAmB,CAAC,wBAAwB,CAAC;KAClD,CAAC;IAEF;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,mBAAmB,CAAC,KAAK,CAAC;CAClC;AAED,yBAAiB,mBAAmB,CAAC;IACnC;;OAEG;IACH,UAAiB,yBAAyB;QACxC;;;WAGG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;;;;WAKG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;;WAGG;QACH,aAAa,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;QAEzC;;WAEG;QACH,IAAI,EAAE,QAAQ,CAAC;KAChB;IAED;;OAEG;IACH,UAAiB,uBAAuB;QACtC;;;WAGG;QACH,IAAI,EAA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,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,yBAAyB,GAC7C,mBAAmB,CAAC,uBAAuB,GAC3C,mBAAmB,CAAC,wBAAwB,CAAC;KAClD,CAAC;IAEF;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,mBAAmB,CAAC,KAAK,CAAC;CAClC;AAED,yBAAiB,mBAAmB,CAAC;IACnC;;OAEG;IACH,UAAiB,yBAAyB;QACxC;;;WAGG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;;;;WAKG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;;WAGG;QACH,aAAa,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;QAEzC;;WAEG;QACH,IAAI,EAAE,QAAQ,CAAC;KAChB;IAED;;OAEG;IACH,UAAiB,uBA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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"}
@@ -983,6 +983,20 @@ export declare namespace PayPromptValue {
983
983
  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
984
  }
985
985
  }
986
+ export interface SonioxVoiceSettings {
987
+ /**
988
+ * Voice settings provider type
989
+ */
990
+ type: 'soniox';
991
+ /**
992
+ * Shortens the pauses between words.
993
+ */
994
+ reduce_silence?: boolean;
995
+ /**
996
+ * Speaking rate. 1.0 is normal speed.
997
+ */
998
+ speed?: number;
999
+ }
986
1000
  export interface StopRecordingRequest {
987
1001
  /**
988
1002
  * Use this field to add state to every subsequent webhook. It must be a valid
@@ -2225,6 +2239,12 @@ export interface ActionGatherUsingAIParams {
2225
2239
  * - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
2226
2240
  * `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
2227
2241
  * `s1`. `VoiceId` is a Fish Voice-Library reference ID.
2242
+ * - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
2243
+ * Supported model: `tts-rt-v2`. Browse the catalog via the
2244
+ * [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
2245
+ * Every voice speaks all supported languages; set `language` to the two-letter
2246
+ * ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
2247
+ * `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
2228
2248
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
2229
2249
  * `ara`, `rex`, `sal`, `leo`.
2230
2250
  * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
@@ -2236,7 +2256,7 @@ export interface ActionGatherUsingAIParams {
2236
2256
  /**
2237
2257
  * The settings associated with the voice selected
2238
2258
  */
2239
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.XaiVoiceSettings;
2259
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.XaiVoiceSettings | SonioxVoiceSettings;
2240
2260
  }
2241
2261
  export declare namespace ActionGatherUsingAIParams {
2242
2262
  interface MessageHistory {
@@ -2372,6 +2392,12 @@ export interface ActionGatherUsingSpeakParams {
2372
2392
  * - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
2373
2393
  * `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
2374
2394
  * `s1`. `VoiceId` is a Fish Voice-Library reference ID.
2395
+ * - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
2396
+ * Supported model: `tts-rt-v2`. Browse the catalog via the
2397
+ * [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
2398
+ * Every voice speaks all supported languages; set `language` to the two-letter
2399
+ * ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
2400
+ * `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
2375
2401
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
2376
2402
  * `ara`, `rex`, `sal`, `leo`.
2377
2403
  * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
@@ -2450,7 +2476,7 @@ export interface ActionGatherUsingSpeakParams {
2450
2476
  /**
2451
2477
  * The settings associated with the voice selected
2452
2478
  */
2453
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings;
2479
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings | SonioxVoiceSettings;
2454
2480
  }
2455
2481
  export interface ActionHangupParams {
2456
2482
  /**
@@ -2891,6 +2917,12 @@ export interface ActionSpeakParams {
2891
2917
  * - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
2892
2918
  * `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
2893
2919
  * `s1`. `VoiceId` is a Fish Voice-Library reference ID.
2920
+ * - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
2921
+ * Supported model: `tts-rt-v2`. Browse the catalog via the
2922
+ * [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
2923
+ * Every voice speaks all supported languages; set `language` to the two-letter
2924
+ * ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
2925
+ * `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
2894
2926
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
2895
2927
  * `ara`, `rex`, `sal`, `leo`.
2896
2928
  * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
@@ -2946,7 +2978,7 @@ export interface ActionSpeakParams {
2946
2978
  /**
2947
2979
  * The settings associated with the voice selected
2948
2980
  */
2949
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings;
2981
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings | SonioxVoiceSettings;
2950
2982
  }
2951
2983
  export interface ActionStartStreamingParams {
2952
2984
  /**
@@ -3705,6 +3737,12 @@ export interface ActionStartConversationRelayParams {
3705
3737
  * - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
3706
3738
  * `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
3707
3739
  * `s1`. `VoiceId` is a Fish Voice-Library reference ID.
3740
+ * - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
3741
+ * Supported model: `tts-rt-v2`. Browse the catalog via the
3742
+ * [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
3743
+ * Every voice speaks all supported languages; set `language` to the two-letter
3744
+ * ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
3745
+ * `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
3708
3746
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
3709
3747
  * `ara`, `rex`, `sal`, `leo`.
3710
3748
  * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
@@ -3716,7 +3754,7 @@ export interface ActionStartConversationRelayParams {
3716
3754
  /**
3717
3755
  * The settings associated with the voice selected
3718
3756
  */
3719
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings;
3757
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings | SonioxVoiceSettings;
3720
3758
  }
3721
3759
  export declare namespace ActionStartConversationRelayParams {
3722
3760
  /**
@@ -3899,6 +3937,6 @@ export declare namespace ActionPayParams {
3899
3937
  }
3900
3938
  }
3901
3939
  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, };
3940
+ 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
3941
  }
3904
3942
  //# sourceMappingURL=actions.d.mts.map