telnyx 7.22.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 (604) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +42 -12
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +42 -12
  5. package/client.d.ts.map +1 -1
  6. package/client.js +30 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +30 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/ai/ai.d.mts +12 -4
  12. package/resources/ai/ai.d.mts.map +1 -1
  13. package/resources/ai/ai.d.ts +12 -4
  14. package/resources/ai/ai.d.ts.map +1 -1
  15. package/resources/ai/ai.js +8 -0
  16. package/resources/ai/ai.js.map +1 -1
  17. package/resources/ai/ai.mjs +9 -1
  18. package/resources/ai/ai.mjs.map +1 -1
  19. package/resources/ai/assistants/assistants.d.mts +409 -57
  20. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  21. package/resources/ai/assistants/assistants.d.ts +409 -57
  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 +36 -14
  32. package/resources/ai/assistants/versions.d.mts.map +1 -1
  33. package/resources/ai/assistants/versions.d.ts +36 -14
  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 +2 -10
  42. package/resources/ai/chat.d.mts.map +1 -1
  43. package/resources/ai/chat.d.ts +2 -10
  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/collections/collections.d.mts +3 -3
  48. package/resources/ai/collections/collections.d.mts.map +1 -1
  49. package/resources/ai/collections/collections.d.ts +3 -3
  50. package/resources/ai/collections/collections.d.ts.map +1 -1
  51. package/resources/ai/collections/collections.js.map +1 -1
  52. package/resources/ai/collections/collections.mjs.map +1 -1
  53. package/resources/ai/collections/index.d.mts +1 -1
  54. package/resources/ai/collections/index.d.mts.map +1 -1
  55. package/resources/ai/collections/index.d.ts +1 -1
  56. package/resources/ai/collections/index.d.ts.map +1 -1
  57. package/resources/ai/collections/index.js.map +1 -1
  58. package/resources/ai/collections/index.mjs.map +1 -1
  59. package/resources/ai/collections/sources.d.mts +32 -5
  60. package/resources/ai/collections/sources.d.mts.map +1 -1
  61. package/resources/ai/collections/sources.d.ts +32 -5
  62. package/resources/ai/collections/sources.d.ts.map +1 -1
  63. package/resources/ai/collections/sources.js.map +1 -1
  64. package/resources/ai/collections/sources.mjs.map +1 -1
  65. package/resources/ai/index.d.mts +4 -2
  66. package/resources/ai/index.d.mts.map +1 -1
  67. package/resources/ai/index.d.ts +4 -2
  68. package/resources/ai/index.d.ts.map +1 -1
  69. package/resources/ai/index.js +9 -5
  70. package/resources/ai/index.js.map +1 -1
  71. package/resources/ai/index.mjs +3 -1
  72. package/resources/ai/index.mjs.map +1 -1
  73. package/resources/ai/memory/index.d.mts +3 -0
  74. package/resources/ai/memory/index.d.mts.map +1 -0
  75. package/resources/ai/memory/index.d.ts +3 -0
  76. package/resources/ai/memory/index.d.ts.map +1 -0
  77. package/resources/ai/memory/index.js +9 -0
  78. package/resources/ai/memory/index.js.map +1 -0
  79. package/resources/ai/memory/index.mjs +4 -0
  80. package/resources/ai/memory/index.mjs.map +1 -0
  81. package/resources/ai/memory/memory.d.mts +10 -0
  82. package/resources/ai/memory/memory.d.mts.map +1 -0
  83. package/resources/ai/memory/memory.d.ts +10 -0
  84. package/resources/ai/memory/memory.d.ts.map +1 -0
  85. package/resources/ai/memory/memory.js +17 -0
  86. package/resources/ai/memory/memory.js.map +1 -0
  87. package/resources/ai/memory/memory.mjs +12 -0
  88. package/resources/ai/memory/memory.mjs.map +1 -0
  89. package/resources/ai/memory/namespaces/index.d.mts +4 -0
  90. package/resources/ai/memory/namespaces/index.d.mts.map +1 -0
  91. package/resources/ai/memory/namespaces/index.d.ts +4 -0
  92. package/resources/ai/memory/namespaces/index.d.ts.map +1 -0
  93. package/resources/ai/memory/namespaces/index.js +11 -0
  94. package/resources/ai/memory/namespaces/index.js.map +1 -0
  95. package/resources/ai/memory/namespaces/index.mjs +5 -0
  96. package/resources/ai/memory/namespaces/index.mjs.map +1 -0
  97. package/resources/ai/memory/namespaces/namespaces.d.mts +54 -0
  98. package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -0
  99. package/resources/ai/memory/namespaces/namespaces.d.ts +54 -0
  100. package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -0
  101. package/resources/ai/memory/namespaces/namespaces.js +43 -0
  102. package/resources/ai/memory/namespaces/namespaces.js.map +1 -0
  103. package/resources/ai/memory/namespaces/namespaces.mjs +38 -0
  104. package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -0
  105. package/resources/ai/memory/namespaces/profiles/index.d.mts +4 -0
  106. package/resources/ai/memory/namespaces/profiles/index.d.mts.map +1 -0
  107. package/resources/ai/memory/namespaces/profiles/index.d.ts +4 -0
  108. package/resources/ai/memory/namespaces/profiles/index.d.ts.map +1 -0
  109. package/resources/ai/memory/namespaces/profiles/index.js +11 -0
  110. package/resources/ai/memory/namespaces/profiles/index.js.map +1 -0
  111. package/resources/ai/memory/namespaces/profiles/index.mjs +5 -0
  112. package/resources/ai/memory/namespaces/profiles/index.mjs.map +1 -0
  113. package/resources/ai/memory/namespaces/profiles/memories.d.mts +118 -0
  114. package/resources/ai/memory/namespaces/profiles/memories.d.mts.map +1 -0
  115. package/resources/ai/memory/namespaces/profiles/memories.d.ts +118 -0
  116. package/resources/ai/memory/namespaces/profiles/memories.d.ts.map +1 -0
  117. package/resources/ai/memory/namespaces/profiles/memories.js +63 -0
  118. package/resources/ai/memory/namespaces/profiles/memories.js.map +1 -0
  119. package/resources/ai/memory/namespaces/profiles/memories.mjs +59 -0
  120. package/resources/ai/memory/namespaces/profiles/memories.mjs.map +1 -0
  121. package/resources/ai/memory/namespaces/profiles/profiles.d.mts +324 -0
  122. package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -0
  123. package/resources/ai/memory/namespaces/profiles/profiles.d.ts +324 -0
  124. package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -0
  125. package/resources/ai/memory/namespaces/profiles/profiles.js +161 -0
  126. package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -0
  127. package/resources/ai/memory/namespaces/profiles/profiles.mjs +156 -0
  128. package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -0
  129. package/resources/ai/memory/namespaces/profiles/sources.d.mts +163 -0
  130. package/resources/ai/memory/namespaces/profiles/sources.d.mts.map +1 -0
  131. package/resources/ai/memory/namespaces/profiles/sources.d.ts +163 -0
  132. package/resources/ai/memory/namespaces/profiles/sources.d.ts.map +1 -0
  133. package/resources/ai/memory/namespaces/profiles/sources.js +80 -0
  134. package/resources/ai/memory/namespaces/profiles/sources.js.map +1 -0
  135. package/resources/ai/memory/namespaces/profiles/sources.mjs +76 -0
  136. package/resources/ai/memory/namespaces/profiles/sources.mjs.map +1 -0
  137. package/resources/ai/memory/namespaces/profiles.d.mts +2 -0
  138. package/resources/ai/memory/namespaces/profiles.d.mts.map +1 -0
  139. package/resources/ai/memory/namespaces/profiles.d.ts +2 -0
  140. package/resources/ai/memory/namespaces/profiles.d.ts.map +1 -0
  141. package/resources/ai/memory/namespaces/profiles.js +6 -0
  142. package/resources/ai/memory/namespaces/profiles.js.map +1 -0
  143. package/resources/ai/memory/namespaces/profiles.mjs +3 -0
  144. package/resources/ai/memory/namespaces/profiles.mjs.map +1 -0
  145. package/resources/ai/memory/namespaces/settings.d.mts +108 -0
  146. package/resources/ai/memory/namespaces/settings.d.mts.map +1 -0
  147. package/resources/ai/memory/namespaces/settings.d.ts +108 -0
  148. package/resources/ai/memory/namespaces/settings.d.ts.map +1 -0
  149. package/resources/ai/memory/namespaces/settings.js +54 -0
  150. package/resources/ai/memory/namespaces/settings.js.map +1 -0
  151. package/resources/ai/memory/namespaces/settings.mjs +50 -0
  152. package/resources/ai/memory/namespaces/settings.mjs.map +1 -0
  153. package/resources/ai/memory/namespaces.d.mts +2 -0
  154. package/resources/ai/memory/namespaces.d.mts.map +1 -0
  155. package/resources/ai/memory/namespaces.d.ts +2 -0
  156. package/resources/ai/memory/namespaces.d.ts.map +1 -0
  157. package/resources/ai/memory/namespaces.js +6 -0
  158. package/resources/ai/memory/namespaces.js.map +1 -0
  159. package/resources/ai/memory/namespaces.mjs +3 -0
  160. package/resources/ai/memory/namespaces.mjs.map +1 -0
  161. package/resources/ai/memory.d.mts +2 -0
  162. package/resources/ai/memory.d.mts.map +1 -0
  163. package/resources/ai/memory.d.ts +2 -0
  164. package/resources/ai/memory.d.ts.map +1 -0
  165. package/resources/ai/memory.js +6 -0
  166. package/resources/ai/memory.js.map +1 -0
  167. package/resources/ai/memory.mjs +3 -0
  168. package/resources/ai/memory.mjs.map +1 -0
  169. package/resources/ai/openai/chat.d.mts +10 -11
  170. package/resources/ai/openai/chat.d.mts.map +1 -1
  171. package/resources/ai/openai/chat.d.ts +10 -11
  172. package/resources/ai/openai/chat.d.ts.map +1 -1
  173. package/resources/ai/openai/chat.js.map +1 -1
  174. package/resources/ai/openai/chat.mjs.map +1 -1
  175. package/resources/ai/openai/index.d.mts +1 -1
  176. package/resources/ai/openai/index.d.mts.map +1 -1
  177. package/resources/ai/openai/index.d.ts +1 -1
  178. package/resources/ai/openai/index.d.ts.map +1 -1
  179. package/resources/ai/openai/index.js.map +1 -1
  180. package/resources/ai/openai/index.mjs +1 -1
  181. package/resources/ai/openai/index.mjs.map +1 -1
  182. package/resources/ai/openai/openai.d.mts +2 -2
  183. package/resources/ai/openai/openai.d.mts.map +1 -1
  184. package/resources/ai/openai/openai.d.ts +2 -2
  185. package/resources/ai/openai/openai.d.ts.map +1 -1
  186. package/resources/ai/openai/openai.js.map +1 -1
  187. package/resources/ai/openai/openai.mjs.map +1 -1
  188. package/resources/ai/typesafe/index.d.mts +3 -0
  189. package/resources/ai/typesafe/index.d.mts.map +1 -0
  190. package/resources/ai/typesafe/index.d.ts +3 -0
  191. package/resources/ai/typesafe/index.d.ts.map +1 -0
  192. package/resources/ai/typesafe/index.js +9 -0
  193. package/resources/ai/typesafe/index.js.map +1 -0
  194. package/resources/ai/typesafe/index.mjs +4 -0
  195. package/resources/ai/typesafe/index.mjs.map +1 -0
  196. package/resources/ai/typesafe/typesafe.d.mts +10 -0
  197. package/resources/ai/typesafe/typesafe.d.mts.map +1 -0
  198. package/resources/ai/typesafe/typesafe.d.ts +10 -0
  199. package/resources/ai/typesafe/typesafe.d.ts.map +1 -0
  200. package/resources/ai/typesafe/typesafe.js +17 -0
  201. package/resources/ai/typesafe/typesafe.js.map +1 -0
  202. package/resources/ai/typesafe/typesafe.mjs +12 -0
  203. package/resources/ai/typesafe/typesafe.mjs.map +1 -0
  204. package/resources/ai/typesafe/v1.d.mts +285 -0
  205. package/resources/ai/typesafe/v1.d.mts.map +1 -0
  206. package/resources/ai/typesafe/v1.d.ts +285 -0
  207. package/resources/ai/typesafe/v1.d.ts.map +1 -0
  208. package/resources/ai/typesafe/v1.js +72 -0
  209. package/resources/ai/typesafe/v1.js.map +1 -0
  210. package/resources/ai/typesafe/v1.mjs +68 -0
  211. package/resources/ai/typesafe/v1.mjs.map +1 -0
  212. package/resources/ai/typesafe.d.mts +2 -0
  213. package/resources/ai/typesafe.d.mts.map +1 -0
  214. package/resources/ai/typesafe.d.ts +2 -0
  215. package/resources/ai/typesafe.d.ts.map +1 -0
  216. package/resources/ai/typesafe.js +6 -0
  217. package/resources/ai/typesafe.js.map +1 -0
  218. package/resources/ai/typesafe.mjs +3 -0
  219. package/resources/ai/typesafe.mjs.map +1 -0
  220. package/resources/bot-challenge.d.mts +80 -0
  221. package/resources/bot-challenge.d.mts.map +1 -0
  222. package/resources/bot-challenge.d.ts +80 -0
  223. package/resources/bot-challenge.d.ts.map +1 -0
  224. package/resources/bot-challenge.js +35 -0
  225. package/resources/bot-challenge.js.map +1 -0
  226. package/resources/bot-challenge.mjs +31 -0
  227. package/resources/bot-challenge.mjs.map +1 -0
  228. package/resources/bot-sessions.d.mts +49 -0
  229. package/resources/bot-sessions.d.mts.map +1 -0
  230. package/resources/bot-sessions.d.ts +49 -0
  231. package/resources/bot-sessions.d.ts.map +1 -0
  232. package/resources/bot-sessions.js +28 -0
  233. package/resources/bot-sessions.js.map +1 -0
  234. package/resources/bot-sessions.mjs +24 -0
  235. package/resources/bot-sessions.mjs.map +1 -0
  236. package/resources/bot-signup.d.mts +114 -0
  237. package/resources/bot-signup.d.mts.map +1 -0
  238. package/resources/bot-signup.d.ts +114 -0
  239. package/resources/bot-signup.d.ts.map +1 -0
  240. package/resources/bot-signup.js +63 -0
  241. package/resources/bot-signup.js.map +1 -0
  242. package/resources/bot-signup.mjs +59 -0
  243. package/resources/bot-signup.mjs.map +1 -0
  244. package/resources/calls/actions.d.mts +100 -16
  245. package/resources/calls/actions.d.mts.map +1 -1
  246. package/resources/calls/actions.d.ts +100 -16
  247. package/resources/calls/actions.d.ts.map +1 -1
  248. package/resources/calls/calls.d.mts +55 -9
  249. package/resources/calls/calls.d.mts.map +1 -1
  250. package/resources/calls/calls.d.ts +55 -9
  251. package/resources/calls/calls.d.ts.map +1 -1
  252. package/resources/calls/calls.js.map +1 -1
  253. package/resources/calls/calls.mjs.map +1 -1
  254. package/resources/calls/index.d.mts +1 -1
  255. package/resources/calls/index.d.mts.map +1 -1
  256. package/resources/calls/index.d.ts +1 -1
  257. package/resources/calls/index.d.ts.map +1 -1
  258. package/resources/calls/index.js.map +1 -1
  259. package/resources/calls/index.mjs.map +1 -1
  260. package/resources/compute/compute.d.mts +2 -2
  261. package/resources/compute/compute.d.mts.map +1 -1
  262. package/resources/compute/compute.d.ts +2 -2
  263. package/resources/compute/compute.d.ts.map +1 -1
  264. package/resources/compute/compute.js +2 -2
  265. package/resources/compute/compute.js.map +1 -1
  266. package/resources/compute/compute.mjs +2 -2
  267. package/resources/compute/compute.mjs.map +1 -1
  268. package/resources/compute/funcs/export.d.mts +121 -0
  269. package/resources/compute/funcs/export.d.mts.map +1 -0
  270. package/resources/compute/funcs/export.d.ts +121 -0
  271. package/resources/compute/funcs/export.d.ts.map +1 -0
  272. package/resources/compute/funcs/export.js +68 -0
  273. package/resources/compute/funcs/export.js.map +1 -0
  274. package/resources/compute/funcs/export.mjs +64 -0
  275. package/resources/compute/funcs/export.mjs.map +1 -0
  276. package/resources/compute/funcs/funcs.d.mts +214 -0
  277. package/resources/compute/funcs/funcs.d.mts.map +1 -0
  278. package/resources/compute/funcs/funcs.d.ts +214 -0
  279. package/resources/compute/funcs/funcs.d.ts.map +1 -0
  280. package/resources/compute/funcs/funcs.js +80 -0
  281. package/resources/compute/funcs/funcs.js.map +1 -0
  282. package/resources/compute/funcs/funcs.mjs +75 -0
  283. package/resources/compute/funcs/funcs.mjs.map +1 -0
  284. package/resources/compute/funcs/index.d.mts +3 -0
  285. package/resources/compute/funcs/index.d.mts.map +1 -0
  286. package/resources/compute/funcs/index.d.ts +3 -0
  287. package/resources/compute/funcs/index.d.ts.map +1 -0
  288. package/resources/compute/funcs/index.js +9 -0
  289. package/resources/compute/funcs/index.js.map +1 -0
  290. package/resources/compute/funcs/index.mjs +4 -0
  291. package/resources/compute/funcs/index.mjs.map +1 -0
  292. package/resources/compute/funcs.d.mts +1 -178
  293. package/resources/compute/funcs.d.mts.map +1 -1
  294. package/resources/compute/funcs.d.ts +1 -178
  295. package/resources/compute/funcs.d.ts.map +1 -1
  296. package/resources/compute/funcs.js +2 -37
  297. package/resources/compute/funcs.js.map +1 -1
  298. package/resources/compute/funcs.mjs +1 -35
  299. package/resources/compute/funcs.mjs.map +1 -1
  300. package/resources/compute/index.d.mts +1 -1
  301. package/resources/compute/index.d.mts.map +1 -1
  302. package/resources/compute/index.d.ts +1 -1
  303. package/resources/compute/index.d.ts.map +1 -1
  304. package/resources/compute/index.js +2 -2
  305. package/resources/compute/index.js.map +1 -1
  306. package/resources/compute/index.mjs +1 -1
  307. package/resources/compute/index.mjs.map +1 -1
  308. package/resources/conferences/actions.d.mts +7 -1
  309. package/resources/conferences/actions.d.mts.map +1 -1
  310. package/resources/conferences/actions.d.ts +7 -1
  311. package/resources/conferences/actions.d.ts.map +1 -1
  312. package/resources/connections.d.mts +109 -1
  313. package/resources/connections.d.mts.map +1 -1
  314. package/resources/connections.d.ts +109 -1
  315. package/resources/connections.d.ts.map +1 -1
  316. package/resources/connections.js +8 -0
  317. package/resources/connections.js.map +1 -1
  318. package/resources/connections.mjs +8 -0
  319. package/resources/connections.mjs.map +1 -1
  320. package/resources/detail-records.d.mts +18 -1
  321. package/resources/detail-records.d.mts.map +1 -1
  322. package/resources/detail-records.d.ts +18 -1
  323. package/resources/detail-records.d.ts.map +1 -1
  324. package/resources/email-blocks/email-blocks.d.mts +12 -4
  325. package/resources/email-blocks/email-blocks.d.mts.map +1 -1
  326. package/resources/email-blocks/email-blocks.d.ts +12 -4
  327. package/resources/email-blocks/email-blocks.d.ts.map +1 -1
  328. package/resources/email-blocks/email-blocks.js +5 -3
  329. package/resources/email-blocks/email-blocks.js.map +1 -1
  330. package/resources/email-blocks/email-blocks.mjs +5 -3
  331. package/resources/email-blocks/email-blocks.mjs.map +1 -1
  332. package/resources/email-blocks/imports.d.mts +20 -4
  333. package/resources/email-blocks/imports.d.mts.map +1 -1
  334. package/resources/email-blocks/imports.d.ts +20 -4
  335. package/resources/email-blocks/imports.d.ts.map +1 -1
  336. package/resources/email-blocks/imports.js +17 -3
  337. package/resources/email-blocks/imports.js.map +1 -1
  338. package/resources/email-blocks/imports.mjs +17 -3
  339. package/resources/email-blocks/imports.mjs.map +1 -1
  340. package/resources/email-domains/email-domains.d.mts +98 -1
  341. package/resources/email-domains/email-domains.d.mts.map +1 -1
  342. package/resources/email-domains/email-domains.d.ts +98 -1
  343. package/resources/email-domains/email-domains.d.ts.map +1 -1
  344. package/resources/email-domains/email-domains.js +21 -0
  345. package/resources/email-domains/email-domains.js.map +1 -1
  346. package/resources/email-domains/email-domains.mjs +21 -0
  347. package/resources/email-domains/email-domains.mjs.map +1 -1
  348. package/resources/email-domains/index.d.mts +1 -1
  349. package/resources/email-domains/index.d.mts.map +1 -1
  350. package/resources/email-domains/index.d.ts +1 -1
  351. package/resources/email-domains/index.d.ts.map +1 -1
  352. package/resources/email-domains/index.js.map +1 -1
  353. package/resources/email-domains/index.mjs.map +1 -1
  354. package/resources/email-domains/webhooks.d.mts +6 -4
  355. package/resources/email-domains/webhooks.d.mts.map +1 -1
  356. package/resources/email-domains/webhooks.d.ts +6 -4
  357. package/resources/email-domains/webhooks.d.ts.map +1 -1
  358. package/resources/email-events.d.mts +162 -28
  359. package/resources/email-events.d.mts.map +1 -1
  360. package/resources/email-events.d.ts +162 -28
  361. package/resources/email-events.d.ts.map +1 -1
  362. package/resources/email-events.js +15 -6
  363. package/resources/email-events.js.map +1 -1
  364. package/resources/email-events.mjs +15 -6
  365. package/resources/email-events.mjs.map +1 -1
  366. package/resources/email-inboxes/drafts.d.mts +31 -1
  367. package/resources/email-inboxes/drafts.d.mts.map +1 -1
  368. package/resources/email-inboxes/drafts.d.ts +31 -1
  369. package/resources/email-inboxes/drafts.d.ts.map +1 -1
  370. package/resources/email-inboxes/drafts.js.map +1 -1
  371. package/resources/email-inboxes/drafts.mjs.map +1 -1
  372. package/resources/email-messages/email-messages.d.mts +178 -45
  373. package/resources/email-messages/email-messages.d.mts.map +1 -1
  374. package/resources/email-messages/email-messages.d.ts +178 -45
  375. package/resources/email-messages/email-messages.d.ts.map +1 -1
  376. package/resources/email-messages/email-messages.js +43 -9
  377. package/resources/email-messages/email-messages.js.map +1 -1
  378. package/resources/email-messages/email-messages.mjs +43 -9
  379. package/resources/email-messages/email-messages.mjs.map +1 -1
  380. package/resources/email-messages/index.d.mts +1 -1
  381. package/resources/email-messages/index.d.mts.map +1 -1
  382. package/resources/email-messages/index.d.ts +1 -1
  383. package/resources/email-messages/index.d.ts.map +1 -1
  384. package/resources/email-messages/index.js.map +1 -1
  385. package/resources/email-messages/index.mjs.map +1 -1
  386. package/resources/email-messages/recipients.d.mts +2 -2
  387. package/resources/email-messages/recipients.d.mts.map +1 -1
  388. package/resources/email-messages/recipients.d.ts +2 -2
  389. package/resources/email-messages/recipients.d.ts.map +1 -1
  390. package/resources/email-templates.d.mts +170 -0
  391. package/resources/email-templates.d.mts.map +1 -1
  392. package/resources/email-templates.d.ts +170 -0
  393. package/resources/email-templates.d.ts.map +1 -1
  394. package/resources/email-templates.js +6 -0
  395. package/resources/email-templates.js.map +1 -1
  396. package/resources/email-templates.mjs +6 -0
  397. package/resources/email-templates.mjs.map +1 -1
  398. package/resources/index.d.mts +11 -6
  399. package/resources/index.d.mts.map +1 -1
  400. package/resources/index.d.ts +11 -6
  401. package/resources/index.d.ts.map +1 -1
  402. package/resources/index.js +14 -4
  403. package/resources/index.js.map +1 -1
  404. package/resources/index.mjs +5 -0
  405. package/resources/index.mjs.map +1 -1
  406. package/resources/machine-payments.d.mts +142 -0
  407. package/resources/machine-payments.d.mts.map +1 -0
  408. package/resources/machine-payments.d.ts +142 -0
  409. package/resources/machine-payments.d.ts.map +1 -0
  410. package/resources/machine-payments.js +56 -0
  411. package/resources/machine-payments.js.map +1 -0
  412. package/resources/machine-payments.mjs +52 -0
  413. package/resources/machine-payments.mjs.map +1 -0
  414. package/resources/meeting-sessions/actions.d.mts +7 -1
  415. package/resources/meeting-sessions/actions.d.mts.map +1 -1
  416. package/resources/meeting-sessions/actions.d.ts +7 -1
  417. package/resources/meeting-sessions/actions.d.ts.map +1 -1
  418. package/resources/meeting-sessions/actions.js +7 -1
  419. package/resources/meeting-sessions/actions.js.map +1 -1
  420. package/resources/meeting-sessions/actions.mjs +7 -1
  421. package/resources/meeting-sessions/actions.mjs.map +1 -1
  422. package/resources/meeting-sessions/artifacts.d.mts +38 -11
  423. package/resources/meeting-sessions/artifacts.d.mts.map +1 -1
  424. package/resources/meeting-sessions/artifacts.d.ts +38 -11
  425. package/resources/meeting-sessions/artifacts.d.ts.map +1 -1
  426. package/resources/meeting-sessions/artifacts.js +11 -5
  427. package/resources/meeting-sessions/artifacts.js.map +1 -1
  428. package/resources/meeting-sessions/artifacts.mjs +11 -5
  429. package/resources/meeting-sessions/artifacts.mjs.map +1 -1
  430. package/resources/meeting-sessions/meeting-sessions.d.mts +63 -23
  431. package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
  432. package/resources/meeting-sessions/meeting-sessions.d.ts +63 -23
  433. package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
  434. package/resources/meeting-sessions/meeting-sessions.js +0 -2
  435. package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
  436. package/resources/meeting-sessions/meeting-sessions.mjs +0 -2
  437. package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
  438. package/resources/messages/messages.d.mts +135 -23
  439. package/resources/messages/messages.d.mts.map +1 -1
  440. package/resources/messages/messages.d.ts +135 -23
  441. package/resources/messages/messages.d.ts.map +1 -1
  442. package/resources/messages/messages.js.map +1 -1
  443. package/resources/messages/messages.mjs.map +1 -1
  444. package/resources/noise-suppression-engines.d.mts +42 -0
  445. package/resources/noise-suppression-engines.d.mts.map +1 -0
  446. package/resources/noise-suppression-engines.d.ts +42 -0
  447. package/resources/noise-suppression-engines.d.ts.map +1 -0
  448. package/resources/noise-suppression-engines.js +21 -0
  449. package/resources/noise-suppression-engines.js.map +1 -0
  450. package/resources/noise-suppression-engines.mjs +17 -0
  451. package/resources/noise-suppression-engines.mjs.map +1 -0
  452. package/resources/phone-numbers/phone-numbers.d.mts +12 -2
  453. package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
  454. package/resources/phone-numbers/phone-numbers.d.ts +12 -2
  455. package/resources/phone-numbers/phone-numbers.d.ts.map +1 -1
  456. package/resources/phone-numbers/phone-numbers.js.map +1 -1
  457. package/resources/phone-numbers/phone-numbers.mjs.map +1 -1
  458. package/resources/private-wireless-gateways.d.mts +61 -7
  459. package/resources/private-wireless-gateways.d.mts.map +1 -1
  460. package/resources/private-wireless-gateways.d.ts +61 -7
  461. package/resources/private-wireless-gateways.d.ts.map +1 -1
  462. package/resources/private-wireless-gateways.js +1 -1
  463. package/resources/private-wireless-gateways.js.map +1 -1
  464. package/resources/private-wireless-gateways.mjs +1 -1
  465. package/resources/private-wireless-gateways.mjs.map +1 -1
  466. package/resources/speech-to-text/speech-to-text.d.mts +1 -1
  467. package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
  468. package/resources/speech-to-text/speech-to-text.d.ts +1 -1
  469. package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
  470. package/resources/texml/accounts/calls/calls.d.mts +126 -9
  471. package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
  472. package/resources/texml/accounts/calls/calls.d.ts +126 -9
  473. package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
  474. package/resources/texml/accounts/calls/calls.js +12 -2
  475. package/resources/texml/accounts/calls/calls.js.map +1 -1
  476. package/resources/texml/accounts/calls/calls.mjs +12 -2
  477. package/resources/texml/accounts/calls/calls.mjs.map +1 -1
  478. package/resources/texml/accounts/conferences/participants.d.mts +39 -0
  479. package/resources/texml/accounts/conferences/participants.d.mts.map +1 -1
  480. package/resources/texml/accounts/conferences/participants.d.ts +39 -0
  481. package/resources/texml/accounts/conferences/participants.d.ts.map +1 -1
  482. package/resources/texml/calls.d.mts +71 -0
  483. package/resources/texml/calls.d.mts.map +1 -0
  484. package/resources/texml/calls.d.ts +71 -0
  485. package/resources/texml/calls.d.ts.map +1 -0
  486. package/resources/texml/calls.js +33 -0
  487. package/resources/texml/calls.js.map +1 -0
  488. package/resources/texml/calls.mjs +29 -0
  489. package/resources/texml/calls.mjs.map +1 -0
  490. package/resources/texml/index.d.mts +1 -0
  491. package/resources/texml/index.d.mts.map +1 -1
  492. package/resources/texml/index.d.ts +1 -0
  493. package/resources/texml/index.d.ts.map +1 -1
  494. package/resources/texml/index.js +3 -1
  495. package/resources/texml/index.js.map +1 -1
  496. package/resources/texml/index.mjs +1 -0
  497. package/resources/texml/index.mjs.map +1 -1
  498. package/resources/texml/texml.d.mts +43 -0
  499. package/resources/texml/texml.d.mts.map +1 -1
  500. package/resources/texml/texml.d.ts +43 -0
  501. package/resources/texml/texml.d.ts.map +1 -1
  502. package/resources/texml/texml.js +4 -0
  503. package/resources/texml/texml.js.map +1 -1
  504. package/resources/texml/texml.mjs +4 -0
  505. package/resources/texml/texml.mjs.map +1 -1
  506. package/resources/text-to-speech/text-to-speech.d.mts +61 -9
  507. package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
  508. package/resources/text-to-speech/text-to-speech.d.ts +61 -9
  509. package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
  510. package/resources/text-to-speech/text-to-speech.js +10 -3
  511. package/resources/text-to-speech/text-to-speech.js.map +1 -1
  512. package/resources/text-to-speech/text-to-speech.mjs +10 -3
  513. package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
  514. package/resources/voice-clones.d.mts +6 -4
  515. package/resources/voice-clones.d.mts.map +1 -1
  516. package/resources/voice-clones.d.ts +6 -4
  517. package/resources/voice-clones.d.ts.map +1 -1
  518. package/resources/voice-clones.js +4 -2
  519. package/resources/voice-clones.js.map +1 -1
  520. package/resources/voice-clones.mjs +4 -2
  521. package/resources/voice-clones.mjs.map +1 -1
  522. package/resources/webhooks.d.mts +40 -53
  523. package/resources/webhooks.d.mts.map +1 -1
  524. package/resources/webhooks.d.ts +40 -53
  525. package/resources/webhooks.d.ts.map +1 -1
  526. package/src/client.ts +92 -6
  527. package/src/resources/ai/ai.ts +21 -1
  528. package/src/resources/ai/assistants/assistants.ts +502 -56
  529. package/src/resources/ai/assistants/index.ts +1 -0
  530. package/src/resources/ai/assistants/versions.ts +36 -14
  531. package/src/resources/ai/audio.ts +93 -45
  532. package/src/resources/ai/chat.ts +2 -11
  533. package/src/resources/ai/collections/collections.ts +3 -1
  534. package/src/resources/ai/collections/index.ts +2 -0
  535. package/src/resources/ai/collections/sources.ts +38 -4
  536. package/src/resources/ai/index.ts +9 -1
  537. package/src/resources/ai/memory/index.ts +4 -0
  538. package/src/resources/ai/memory/memory.ts +19 -0
  539. package/src/resources/ai/memory/namespaces/index.ts +21 -0
  540. package/src/resources/ai/memory/namespaces/namespaces.ts +116 -0
  541. package/src/resources/ai/memory/namespaces/profiles/index.ts +35 -0
  542. package/src/resources/ai/memory/namespaces/profiles/memories.ts +170 -0
  543. package/src/resources/ai/memory/namespaces/profiles/profiles.ts +482 -0
  544. package/src/resources/ai/memory/namespaces/profiles/sources.ts +226 -0
  545. package/src/resources/ai/memory/namespaces/profiles.ts +3 -0
  546. package/src/resources/ai/memory/namespaces/settings.ts +129 -0
  547. package/src/resources/ai/memory/namespaces.ts +3 -0
  548. package/src/resources/ai/memory.ts +3 -0
  549. package/src/resources/ai/openai/chat.ts +11 -11
  550. package/src/resources/ai/openai/index.ts +6 -1
  551. package/src/resources/ai/openai/openai.ts +2 -1
  552. package/src/resources/ai/typesafe/index.ts +4 -0
  553. package/src/resources/ai/typesafe/typesafe.ts +19 -0
  554. package/src/resources/ai/typesafe/v1.ts +310 -0
  555. package/src/resources/ai/typesafe.ts +3 -0
  556. package/src/resources/bot-challenge.ts +101 -0
  557. package/src/resources/bot-sessions.ts +61 -0
  558. package/src/resources/bot-signup.ts +140 -0
  559. package/src/resources/calls/actions.ts +115 -14
  560. package/src/resources/calls/calls.ts +64 -7
  561. package/src/resources/calls/index.ts +1 -0
  562. package/src/resources/compute/compute.ts +2 -2
  563. package/src/resources/compute/funcs/export.ts +156 -0
  564. package/src/resources/compute/funcs/funcs.ts +341 -0
  565. package/src/resources/compute/funcs/index.ts +15 -0
  566. package/src/resources/compute/funcs.ts +1 -296
  567. package/src/resources/compute/index.ts +1 -1
  568. package/src/resources/conferences/actions.ts +8 -1
  569. package/src/resources/connections.ts +133 -0
  570. package/src/resources/detail-records.ts +18 -1
  571. package/src/resources/email-blocks/email-blocks.ts +12 -4
  572. package/src/resources/email-blocks/imports.ts +20 -4
  573. package/src/resources/email-domains/email-domains.ts +120 -0
  574. package/src/resources/email-domains/index.ts +1 -0
  575. package/src/resources/email-domains/webhooks.ts +9 -4
  576. package/src/resources/email-events.ts +220 -35
  577. package/src/resources/email-inboxes/drafts.ts +32 -1
  578. package/src/resources/email-messages/email-messages.ts +195 -49
  579. package/src/resources/email-messages/index.ts +2 -1
  580. package/src/resources/email-messages/recipients.ts +6 -2
  581. package/src/resources/email-templates.ts +185 -0
  582. package/src/resources/index.ts +29 -3
  583. package/src/resources/machine-payments.ts +169 -0
  584. package/src/resources/meeting-sessions/actions.ts +7 -1
  585. package/src/resources/meeting-sessions/artifacts.ts +42 -11
  586. package/src/resources/meeting-sessions/meeting-sessions.ts +63 -24
  587. package/src/resources/messages/messages.ts +168 -23
  588. package/src/resources/noise-suppression-engines.ts +51 -0
  589. package/src/resources/phone-numbers/phone-numbers.ts +13 -2
  590. package/src/resources/private-wireless-gateways.ts +76 -8
  591. package/src/resources/speech-to-text/speech-to-text.ts +1 -0
  592. package/src/resources/texml/accounts/calls/calls.ts +158 -10
  593. package/src/resources/texml/accounts/conferences/participants.ts +46 -0
  594. package/src/resources/texml/calls.ts +90 -0
  595. package/src/resources/texml/index.ts +1 -0
  596. package/src/resources/texml/texml.ts +56 -0
  597. package/src/resources/text-to-speech/text-to-speech.ts +69 -9
  598. package/src/resources/voice-clones.ts +6 -4
  599. package/src/resources/webhooks.ts +47 -62
  600. package/src/version.ts +1 -1
  601. package/version.d.mts +1 -1
  602. package/version.d.ts +1 -1
  603. package/version.js +1 -1
  604. package/version.mjs +1 -1
@@ -0,0 +1,114 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import { APIPromise } from "../core/api-promise.js";
3
+ import { RequestOptions } from "../internal/request-options.js";
4
+ /**
5
+ * Agentic (bot) signup for Telnyx accounts. An AI agent solves a reverse-CAPTCHA challenge designed to be easy for LLMs and hard for humans, registers an account, and signs in by consuming a magic link emailed to the account owner. All endpoints are public and unauthenticated; signup endpoints are additionally gated by the freemium feature flags and per-country availability.
6
+ */
7
+ export declare class BotSignup extends APIResource {
8
+ /**
9
+ * Creates a freemium Telnyx account through the agentic signup flow. The request
10
+ * must carry a valid answer to a previously issued bot challenge
11
+ * (`bot_challenge_nonce` and `bot_challenge_answer`), accept the terms of service,
12
+ * and echo the exact terms-and-conditions and privacy-policy URLs returned by the
13
+ * challenge endpoint. When EU consent enforcement is enabled,
14
+ * `terms_of_service_eu` and `terms_and_conditions_eu_url` are also required. On
15
+ * success a one-time sign-in (magic) link is emailed to the address provided; if
16
+ * the email address belongs to an existing account, a sign-in link is sent instead
17
+ * of creating a duplicate account. `email` may only be omitted when
18
+ * placeholder-email registration is enabled server-side. This endpoint is public
19
+ * and unauthenticated, gated by the freemium feature flags and per-country
20
+ * availability, and subject to per-IP and per-domain registration limits.
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const successResponse = await client.botSignup.create({
25
+ * bot_challenge_answer: '35',
26
+ * bot_challenge_nonce:
27
+ * 'c6feda4e-6501-4db9-a21f-665e5b4ce2ba',
28
+ * privacy_policy_url: 'https://telnyx.com/privacy-policy',
29
+ * terms_and_conditions_url:
30
+ * 'https://telnyx.com/terms-and-conditions-of-service',
31
+ * terms_of_service: true,
32
+ * email: 'agent-owner@example.com',
33
+ * });
34
+ * ```
35
+ */
36
+ create(body: BotSignupCreateParams, options?: RequestOptions): APIPromise<SuccessResponse>;
37
+ /**
38
+ * Resends the one-time sign-in (magic) link for an eligible bot signup account.
39
+ * Eligibility (account exists, was registered through bot signup, is active, and
40
+ * has not exceeded the resend limit or rate window) is evaluated server-side; the
41
+ * response is intentionally uniform and does not reveal whether the account exists
42
+ * or whether a link was actually sent. This endpoint is public and
43
+ * unauthenticated, gated by the freemium feature flags and per-country
44
+ * availability.
45
+ *
46
+ * @example
47
+ * ```ts
48
+ * const successResponse =
49
+ * await client.botSignup.resendMagicLink({
50
+ * email: 'agent-owner@example.com',
51
+ * });
52
+ * ```
53
+ */
54
+ resendMagicLink(body: BotSignupResendMagicLinkParams, options?: RequestOptions): APIPromise<SuccessResponse>;
55
+ }
56
+ /**
57
+ * Status envelope used by the signup and magic-link flows.
58
+ */
59
+ export interface SuccessResponse {
60
+ /**
61
+ * Human-readable status message.
62
+ */
63
+ message: string;
64
+ /**
65
+ * Whether the request was accepted.
66
+ */
67
+ success: boolean;
68
+ }
69
+ export interface BotSignupCreateParams {
70
+ /**
71
+ * Answer to the issued bot challenge.
72
+ */
73
+ bot_challenge_answer: string;
74
+ /**
75
+ * Nonce from a previously issued bot challenge.
76
+ */
77
+ bot_challenge_nonce: string;
78
+ /**
79
+ * Must exactly match the privacy-policy URL returned by the challenge endpoint.
80
+ */
81
+ privacy_policy_url: string;
82
+ /**
83
+ * Must exactly match the terms-and-conditions URL returned by the challenge
84
+ * endpoint.
85
+ */
86
+ terms_and_conditions_url: string;
87
+ /**
88
+ * Must be true to accept the terms of service.
89
+ */
90
+ terms_of_service: true;
91
+ /**
92
+ * Email address for the new account. The magic link is sent here. May only be
93
+ * omitted when placeholder-email registration is enabled server-side.
94
+ */
95
+ email?: string;
96
+ /**
97
+ * EU terms-and-conditions URL. Required when EU consent enforcement is enabled.
98
+ */
99
+ terms_and_conditions_eu_url?: string;
100
+ /**
101
+ * EU terms-of-service acceptance. Required when EU consent enforcement is enabled.
102
+ */
103
+ terms_of_service_eu?: true;
104
+ }
105
+ export interface BotSignupResendMagicLinkParams {
106
+ /**
107
+ * Email address of the bot signup account to resend the magic link to.
108
+ */
109
+ email: string;
110
+ }
111
+ export declare namespace BotSignup {
112
+ export { type SuccessResponse as SuccessResponse, type BotSignupCreateParams as BotSignupCreateParams, type BotSignupResendMagicLinkParams as BotSignupResendMagicLinkParams, };
113
+ }
114
+ //# sourceMappingURL=bot-signup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bot-signup.d.ts","sourceRoot":"","sources":["../src/resources/bot-signup.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAI1F;;;;;;;;;;;;;;;;OAgBG;IACH,eAAe,CACb,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;CAG/B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,wBAAwB,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,gBAAgB,EAAE,IAAI,CAAC;IAEvB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC;;OAEG;IACH,mBAAmB,CAAC,EAAE,IAAI,CAAC;CAC5B;AAED,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.BotSignup = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ /**
7
+ * Agentic (bot) signup for Telnyx accounts. An AI agent solves a reverse-CAPTCHA challenge designed to be easy for LLMs and hard for humans, registers an account, and signs in by consuming a magic link emailed to the account owner. All endpoints are public and unauthenticated; signup endpoints are additionally gated by the freemium feature flags and per-country availability.
8
+ */
9
+ class BotSignup extends resource_1.APIResource {
10
+ /**
11
+ * Creates a freemium Telnyx account through the agentic signup flow. The request
12
+ * must carry a valid answer to a previously issued bot challenge
13
+ * (`bot_challenge_nonce` and `bot_challenge_answer`), accept the terms of service,
14
+ * and echo the exact terms-and-conditions and privacy-policy URLs returned by the
15
+ * challenge endpoint. When EU consent enforcement is enabled,
16
+ * `terms_of_service_eu` and `terms_and_conditions_eu_url` are also required. On
17
+ * success a one-time sign-in (magic) link is emailed to the address provided; if
18
+ * the email address belongs to an existing account, a sign-in link is sent instead
19
+ * of creating a duplicate account. `email` may only be omitted when
20
+ * placeholder-email registration is enabled server-side. This endpoint is public
21
+ * and unauthenticated, gated by the freemium feature flags and per-country
22
+ * availability, and subject to per-IP and per-domain registration limits.
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * const successResponse = await client.botSignup.create({
27
+ * bot_challenge_answer: '35',
28
+ * bot_challenge_nonce:
29
+ * 'c6feda4e-6501-4db9-a21f-665e5b4ce2ba',
30
+ * privacy_policy_url: 'https://telnyx.com/privacy-policy',
31
+ * terms_and_conditions_url:
32
+ * 'https://telnyx.com/terms-and-conditions-of-service',
33
+ * terms_of_service: true,
34
+ * email: 'agent-owner@example.com',
35
+ * });
36
+ * ```
37
+ */
38
+ create(body, options) {
39
+ return this._client.post('/v2/bot_signup', { body, ...options });
40
+ }
41
+ /**
42
+ * Resends the one-time sign-in (magic) link for an eligible bot signup account.
43
+ * Eligibility (account exists, was registered through bot signup, is active, and
44
+ * has not exceeded the resend limit or rate window) is evaluated server-side; the
45
+ * response is intentionally uniform and does not reveal whether the account exists
46
+ * or whether a link was actually sent. This endpoint is public and
47
+ * unauthenticated, gated by the freemium feature flags and per-country
48
+ * availability.
49
+ *
50
+ * @example
51
+ * ```ts
52
+ * const successResponse =
53
+ * await client.botSignup.resendMagicLink({
54
+ * email: 'agent-owner@example.com',
55
+ * });
56
+ * ```
57
+ */
58
+ resendMagicLink(body, options) {
59
+ return this._client.post('/v2/bot_signup/resend_magic_link', { body, ...options });
60
+ }
61
+ }
62
+ exports.BotSignup = BotSignup;
63
+ //# sourceMappingURL=bot-signup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bot-signup.js","sourceRoot":"","sources":["../src/resources/bot-signup.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,eAAe,CACb,IAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAxDD,8BAwDC"}
@@ -0,0 +1,59 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ /**
4
+ * Agentic (bot) signup for Telnyx accounts. An AI agent solves a reverse-CAPTCHA challenge designed to be easy for LLMs and hard for humans, registers an account, and signs in by consuming a magic link emailed to the account owner. All endpoints are public and unauthenticated; signup endpoints are additionally gated by the freemium feature flags and per-country availability.
5
+ */
6
+ export class BotSignup extends APIResource {
7
+ /**
8
+ * Creates a freemium Telnyx account through the agentic signup flow. The request
9
+ * must carry a valid answer to a previously issued bot challenge
10
+ * (`bot_challenge_nonce` and `bot_challenge_answer`), accept the terms of service,
11
+ * and echo the exact terms-and-conditions and privacy-policy URLs returned by the
12
+ * challenge endpoint. When EU consent enforcement is enabled,
13
+ * `terms_of_service_eu` and `terms_and_conditions_eu_url` are also required. On
14
+ * success a one-time sign-in (magic) link is emailed to the address provided; if
15
+ * the email address belongs to an existing account, a sign-in link is sent instead
16
+ * of creating a duplicate account. `email` may only be omitted when
17
+ * placeholder-email registration is enabled server-side. This endpoint is public
18
+ * and unauthenticated, gated by the freemium feature flags and per-country
19
+ * availability, and subject to per-IP and per-domain registration limits.
20
+ *
21
+ * @example
22
+ * ```ts
23
+ * const successResponse = await client.botSignup.create({
24
+ * bot_challenge_answer: '35',
25
+ * bot_challenge_nonce:
26
+ * 'c6feda4e-6501-4db9-a21f-665e5b4ce2ba',
27
+ * privacy_policy_url: 'https://telnyx.com/privacy-policy',
28
+ * terms_and_conditions_url:
29
+ * 'https://telnyx.com/terms-and-conditions-of-service',
30
+ * terms_of_service: true,
31
+ * email: 'agent-owner@example.com',
32
+ * });
33
+ * ```
34
+ */
35
+ create(body, options) {
36
+ return this._client.post('/v2/bot_signup', { body, ...options });
37
+ }
38
+ /**
39
+ * Resends the one-time sign-in (magic) link for an eligible bot signup account.
40
+ * Eligibility (account exists, was registered through bot signup, is active, and
41
+ * has not exceeded the resend limit or rate window) is evaluated server-side; the
42
+ * response is intentionally uniform and does not reveal whether the account exists
43
+ * or whether a link was actually sent. This endpoint is public and
44
+ * unauthenticated, gated by the freemium feature flags and per-country
45
+ * availability.
46
+ *
47
+ * @example
48
+ * ```ts
49
+ * const successResponse =
50
+ * await client.botSignup.resendMagicLink({
51
+ * email: 'agent-owner@example.com',
52
+ * });
53
+ * ```
54
+ */
55
+ resendMagicLink(body, options) {
56
+ return this._client.post('/v2/bot_signup/resend_magic_link', { body, ...options });
57
+ }
58
+ }
59
+ //# sourceMappingURL=bot-signup.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bot-signup.mjs","sourceRoot":"","sources":["../src/resources/bot-signup.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,eAAe,CACb,IAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,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
@@ -1071,7 +1085,8 @@ export interface TranscriptionConfig {
1071
1085
  * hints `en`, `es`, `fr`, `de`, `hi`, `ru`, `pt`, `ja`, `it`, and `nl`. For
1072
1086
  * `soniox/stt-rt-v4`, `auto` omits the language hint and lets Soniox auto-detect;
1073
1087
  * ISO 639-1 codes (e.g. `en`, `es`) bias detection toward that language. For
1074
- * `assemblyai/universal-streaming`, `auto` (or unset) enables native multilingual
1088
+ * `assemblyai/universal-3-5-pro` (and its legacy alias
1089
+ * `assemblyai/universal-streaming`), `auto` (or unset) enables native multilingual
1075
1090
  * code-switching; ISO 639-1 codes (`en`, `es`, `de`, `fr`, `pt`, `it`, `tr`, `nl`,
1076
1091
  * `sv`, `no`, `da`, `fi`, `hi`, `vi`, `ar`, `he`, `ja`, `zh`) bias the session to
1077
1092
  * that language. For `humain/realtime`, supported values are `ar`, `en`,
@@ -1093,12 +1108,16 @@ export interface TranscriptionConfig {
1093
1108
  * - `deepgram/nova-3` and `deepgram/nova-2` for live streaming transcription.
1094
1109
  * - `speechmatics/standard` and `speechmatics/enhanced` for live streaming
1095
1110
  * transcription.
1096
- * - `assemblyai/universal-streaming` for live streaming transcription.
1111
+ * - `assemblyai/universal-3-5-pro` for live streaming transcription. The legacy
1112
+ * alias `assemblyai/universal-streaming` is still accepted and resolves to the
1113
+ * same model.
1097
1114
  * - `xai/grok-stt` for live streaming transcription.
1098
1115
  * - `soniox/stt-rt-v4` for live streaming multilingual transcription with
1099
1116
  * automatic language detection.
1100
1117
  * - `nvidia/parakeet-v3` for multilingual transcription with automatic language
1101
1118
  * detection.
1119
+ * - `omi-health/omi-med-stt-v1` for English-only medical transcription
1120
+ * (Parakeet-based).
1102
1121
  * - `humain/realtime` for live streaming transcription with native Arabic and
1103
1122
  * Arabic/English code-switching support.
1104
1123
  * - `reson8/turns` for live streaming turn-based transcription of 10 European
@@ -1112,7 +1131,7 @@ export interface TranscriptionConfig {
1112
1131
  * - `openai/whisper-large-v3-turbo` for multilingual non-streaming transcription
1113
1132
  * with automatic language detection.
1114
1133
  */
1115
- model?: 'deepgram/flux' | 'flux' | 'deepgram/nova-3' | 'deepgram/nova-2' | 'speechmatics/standard' | 'speechmatics/enhanced' | 'assemblyai/universal-streaming' | 'xai/grok-stt' | 'soniox/stt-rt-v4' | 'nvidia/parakeet-v3' | 'humain/realtime' | 'reson8/turns' | 'cohere/ar-stt' | 'azure/fast' | 'azure/realtime' | 'google/latest_long' | 'distil-whisper/distil-large-v2' | 'openai/whisper-large-v3-turbo';
1134
+ model?: 'deepgram/flux' | 'flux' | 'deepgram/nova-3' | 'deepgram/nova-2' | 'speechmatics/standard' | 'speechmatics/enhanced' | 'assemblyai/universal-3-5-pro' | 'assemblyai/universal-streaming' | 'xai/grok-stt' | 'soniox/stt-rt-v4' | 'nvidia/parakeet-v3' | 'omi-health/omi-med-stt-v1' | 'humain/realtime' | 'reson8/turns' | 'cohere/ar-stt' | 'azure/fast' | 'azure/realtime' | 'google/latest_long' | 'distil-whisper/distil-large-v2' | 'openai/whisper-large-v3-turbo';
1116
1135
  }
1117
1136
  export interface TranscriptionEngineAConfig {
1118
1137
  /**
@@ -1181,9 +1200,10 @@ export interface TranscriptionEngineAssemblyaiConfig {
1181
1200
  */
1182
1201
  transcription_engine?: 'AssemblyAI';
1183
1202
  /**
1184
- * The model to use for transcription.
1203
+ * The model to use for transcription. `assemblyai/universal-streaming` is a legacy
1204
+ * alias of `assemblyai/universal-3-5-pro` and resolves to the same model.
1185
1205
  */
1186
- transcription_model?: 'assemblyai/universal-streaming';
1206
+ transcription_model?: 'assemblyai/universal-3-5-pro' | 'assemblyai/universal-streaming';
1187
1207
  }
1188
1208
  export interface TranscriptionEngineAzureConfig {
1189
1209
  /**
@@ -1320,7 +1340,7 @@ export interface TranscriptionEngineParakeetConfig {
1320
1340
  /**
1321
1341
  * The model to use for transcription.
1322
1342
  */
1323
- transcription_model?: 'nvidia/parakeet-v3';
1343
+ transcription_model?: 'nvidia/parakeet-v3' | 'omi-health/omi-med-stt-v1';
1324
1344
  }
1325
1345
  export interface TranscriptionEngineReson8Config {
1326
1346
  /**
@@ -2219,6 +2239,12 @@ export interface ActionGatherUsingAIParams {
2219
2239
  * - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
2220
2240
  * `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
2221
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`.
2222
2248
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
2223
2249
  * `ara`, `rex`, `sal`, `leo`.
2224
2250
  * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
@@ -2230,7 +2256,7 @@ export interface ActionGatherUsingAIParams {
2230
2256
  /**
2231
2257
  * The settings associated with the voice selected
2232
2258
  */
2233
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.XaiVoiceSettings;
2259
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.AzureVoiceSettings | Shared.ResembleVoiceSettings | Shared.XaiVoiceSettings | SonioxVoiceSettings;
2234
2260
  }
2235
2261
  export declare namespace ActionGatherUsingAIParams {
2236
2262
  interface MessageHistory {
@@ -2366,6 +2392,12 @@ export interface ActionGatherUsingSpeakParams {
2366
2392
  * - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
2367
2393
  * `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
2368
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`.
2369
2401
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
2370
2402
  * `ara`, `rex`, `sal`, `leo`.
2371
2403
  * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
@@ -2444,7 +2476,7 @@ export interface ActionGatherUsingSpeakParams {
2444
2476
  /**
2445
2477
  * The settings associated with the voice selected
2446
2478
  */
2447
- 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;
2448
2480
  }
2449
2481
  export interface ActionHangupParams {
2450
2482
  /**
@@ -2885,6 +2917,12 @@ export interface ActionSpeakParams {
2885
2917
  * - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
2886
2918
  * `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
2887
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`.
2888
2926
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
2889
2927
  * `ara`, `rex`, `sal`, `leo`.
2890
2928
  * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
@@ -2940,7 +2978,7 @@ export interface ActionSpeakParams {
2940
2978
  /**
2941
2979
  * The settings associated with the voice selected
2942
2980
  */
2943
- 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;
2944
2982
  }
2945
2983
  export interface ActionStartStreamingParams {
2946
2984
  /**
@@ -3204,11 +3242,12 @@ export interface ActionTransferParams {
3204
3242
  */
3205
3243
  custom_headers?: Array<CallsAPI.CustomSipHeader>;
3206
3244
  /**
3207
- * The number the inbound call being transferred was originally received on, in
3208
- * +E164 format. Supplying it lets an unverified non-Telnyx `from` be used as the
3209
- * caller id, provided that number is still on an active inbound call to this
3210
- * `diversion` number for your account. The `diversion` number itself must be one
3211
- * you own or have verified.
3245
+ * The `to` number of an active inbound call, in +E164 format. Telnyx checks
3246
+ * whether there is currently an active inbound call where `to` matches this
3247
+ * `diversion` value and `from` matches the `from` number supplied for this
3248
+ * request. If such a call exists, the `from` number is treated as verified (since
3249
+ * it is already on an active inbound call to you) and can be used as the caller id
3250
+ * for this outbound call.
3212
3251
  */
3213
3252
  diversion?: string;
3214
3253
  /**
@@ -3426,6 +3465,45 @@ export declare namespace ActionTransferParams {
3426
3465
  * beeps whose volume is too unsteady for the default profile.
3427
3466
  */
3428
3467
  beep_detection_profile?: 'both' | 'freq_only';
3468
+ /**
3469
+ * Highest frequency, in Hz, that a tone can reach and still be treated as a beep.
3470
+ * Only used when beep detection is active.
3471
+ */
3472
+ beep_max_frequency_hz?: number;
3473
+ /**
3474
+ * Lowest frequency, in Hz, that a tone must reach to be treated as a beep. Raising
3475
+ * it above 480 excludes North American ringback (440 + 480 Hz), which can
3476
+ * otherwise be reported as a beep when the `freq_only` profile is in use. Only
3477
+ * used when beep detection is active.
3478
+ */
3479
+ beep_min_frequency_hz?: number;
3480
+ /**
3481
+ * Shortest tone, in milliseconds, that can be treated as a beep. Raising it
3482
+ * rejects brief tones such as call-progress blips. Only used when beep detection
3483
+ * is active.
3484
+ */
3485
+ beep_min_tone_duration_millis?: number;
3486
+ /**
3487
+ * When enabled, a candidate beep must pass an additional spectral check before it
3488
+ * is reported. Only used when beep detection is active.
3489
+ */
3490
+ beep_spectral_confirmation?: boolean;
3491
+ /**
3492
+ * Minimum spectral purity, from 0 to 1, for a tone to be treated as a beep.
3493
+ * Raising it rejects mixed tones such as ringback, which combines two frequencies.
3494
+ * Only used when beep detection is active.
3495
+ */
3496
+ beep_spectral_min_purity?: number;
3497
+ /**
3498
+ * When enabled, the fax CNG tone is rejected rather than reported as a beep. Only
3499
+ * used when beep detection is active.
3500
+ */
3501
+ beep_spectral_reject_fax_cng?: boolean;
3502
+ /**
3503
+ * Length of the spectral confirmation window, in milliseconds. Only used when beep
3504
+ * detection is active.
3505
+ */
3506
+ beep_spectral_window_millis?: number;
3429
3507
  /**
3430
3508
  * Maximum threshold for silence between words.
3431
3509
  */
@@ -3659,6 +3737,12 @@ export interface ActionStartConversationRelayParams {
3659
3737
  * - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
3660
3738
  * `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
3661
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`.
3662
3746
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
3663
3747
  * `ara`, `rex`, `sal`, `leo`.
3664
3748
  * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
@@ -3670,7 +3754,7 @@ export interface ActionStartConversationRelayParams {
3670
3754
  /**
3671
3755
  * The settings associated with the voice selected
3672
3756
  */
3673
- 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;
3674
3758
  }
3675
3759
  export declare namespace ActionStartConversationRelayParams {
3676
3760
  /**
@@ -3853,6 +3937,6 @@ export declare namespace ActionPayParams {
3853
3937
  }
3854
3938
  }
3855
3939
  export declare namespace Actions {
3856
- 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, };
3857
3941
  }
3858
3942
  //# sourceMappingURL=actions.d.mts.map