telnyx 7.2.0 → 7.5.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 (2331) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +9 -0
  3. package/client.d.mts +82 -82
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +82 -82
  6. package/client.d.ts.map +1 -1
  7. package/client.js +9 -1
  8. package/client.js.map +1 -1
  9. package/client.mjs +9 -1
  10. package/client.mjs.map +1 -1
  11. package/package.json +1 -1
  12. package/resources/access-ip-address.d.mts +13 -13
  13. package/resources/access-ip-address.d.mts.map +1 -1
  14. package/resources/access-ip-address.d.ts +13 -13
  15. package/resources/access-ip-address.d.ts.map +1 -1
  16. package/resources/access-ip-address.js +12 -12
  17. package/resources/access-ip-address.js.map +1 -1
  18. package/resources/access-ip-address.mjs +12 -12
  19. package/resources/access-ip-address.mjs.map +1 -1
  20. package/resources/access-ip-ranges.d.mts +9 -9
  21. package/resources/access-ip-ranges.d.mts.map +1 -1
  22. package/resources/access-ip-ranges.d.ts +9 -9
  23. package/resources/access-ip-ranges.d.ts.map +1 -1
  24. package/resources/access-ip-ranges.js +6 -6
  25. package/resources/access-ip-ranges.js.map +1 -1
  26. package/resources/access-ip-ranges.mjs +6 -6
  27. package/resources/access-ip-ranges.mjs.map +1 -1
  28. package/resources/addresses/actions.d.mts +20 -20
  29. package/resources/addresses/actions.d.mts.map +1 -1
  30. package/resources/addresses/actions.d.ts +20 -20
  31. package/resources/addresses/actions.d.ts.map +1 -1
  32. package/resources/addresses/actions.js +15 -15
  33. package/resources/addresses/actions.js.map +1 -1
  34. package/resources/addresses/actions.mjs +15 -15
  35. package/resources/addresses/actions.mjs.map +1 -1
  36. package/resources/addresses/addresses.d.mts +96 -96
  37. package/resources/addresses/addresses.d.mts.map +1 -1
  38. package/resources/addresses/addresses.d.ts +96 -96
  39. package/resources/addresses/addresses.d.ts.map +1 -1
  40. package/resources/addresses/addresses.js +22 -22
  41. package/resources/addresses/addresses.js.map +1 -1
  42. package/resources/addresses/addresses.mjs +22 -22
  43. package/resources/addresses/addresses.mjs.map +1 -1
  44. package/resources/addresses/index.d.mts +2 -2
  45. package/resources/addresses/index.d.mts.map +1 -1
  46. package/resources/addresses/index.d.ts +2 -2
  47. package/resources/addresses/index.d.ts.map +1 -1
  48. package/resources/advanced-orders.d.mts +9 -9
  49. package/resources/advanced-orders.d.mts.map +1 -1
  50. package/resources/advanced-orders.d.ts +9 -9
  51. package/resources/advanced-orders.d.ts.map +1 -1
  52. package/resources/advanced-orders.js +11 -11
  53. package/resources/advanced-orders.js.map +1 -1
  54. package/resources/advanced-orders.mjs +11 -11
  55. package/resources/advanced-orders.mjs.map +1 -1
  56. package/resources/ai/ai.d.mts +83 -103
  57. package/resources/ai/ai.d.mts.map +1 -1
  58. package/resources/ai/ai.d.ts +83 -103
  59. package/resources/ai/ai.d.ts.map +1 -1
  60. package/resources/ai/ai.js +52 -53
  61. package/resources/ai/ai.js.map +1 -1
  62. package/resources/ai/ai.mjs +52 -53
  63. package/resources/ai/ai.mjs.map +1 -1
  64. package/resources/ai/assistants/assistants.d.mts +52 -52
  65. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  66. package/resources/ai/assistants/assistants.d.ts +52 -52
  67. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  68. package/resources/ai/assistants/assistants.js +36 -36
  69. package/resources/ai/assistants/assistants.js.map +1 -1
  70. package/resources/ai/assistants/assistants.mjs +36 -36
  71. package/resources/ai/assistants/assistants.mjs.map +1 -1
  72. package/resources/ai/assistants/canary-deploys.d.mts +20 -20
  73. package/resources/ai/assistants/canary-deploys.d.mts.map +1 -1
  74. package/resources/ai/assistants/canary-deploys.d.ts +20 -20
  75. package/resources/ai/assistants/canary-deploys.d.ts.map +1 -1
  76. package/resources/ai/assistants/canary-deploys.js +26 -26
  77. package/resources/ai/assistants/canary-deploys.js.map +1 -1
  78. package/resources/ai/assistants/canary-deploys.mjs +26 -26
  79. package/resources/ai/assistants/canary-deploys.mjs.map +1 -1
  80. package/resources/ai/assistants/index.d.mts +5 -5
  81. package/resources/ai/assistants/index.d.mts.map +1 -1
  82. package/resources/ai/assistants/index.d.ts +5 -5
  83. package/resources/ai/assistants/index.d.ts.map +1 -1
  84. package/resources/ai/assistants/scheduled-events.d.mts +44 -44
  85. package/resources/ai/assistants/scheduled-events.d.mts.map +1 -1
  86. package/resources/ai/assistants/scheduled-events.d.ts +44 -44
  87. package/resources/ai/assistants/scheduled-events.d.ts.map +1 -1
  88. package/resources/ai/assistants/scheduled-events.js +32 -32
  89. package/resources/ai/assistants/scheduled-events.js.map +1 -1
  90. package/resources/ai/assistants/scheduled-events.mjs +32 -32
  91. package/resources/ai/assistants/scheduled-events.mjs.map +1 -1
  92. package/resources/ai/assistants/tests/index.d.mts +2 -2
  93. package/resources/ai/assistants/tests/index.d.mts.map +1 -1
  94. package/resources/ai/assistants/tests/index.d.ts +2 -2
  95. package/resources/ai/assistants/tests/index.d.ts.map +1 -1
  96. package/resources/ai/assistants/tests/runs.d.mts +19 -19
  97. package/resources/ai/assistants/tests/runs.d.mts.map +1 -1
  98. package/resources/ai/assistants/tests/runs.d.ts +19 -19
  99. package/resources/ai/assistants/tests/runs.d.ts.map +1 -1
  100. package/resources/ai/assistants/tests/runs.js +15 -15
  101. package/resources/ai/assistants/tests/runs.js.map +1 -1
  102. package/resources/ai/assistants/tests/runs.mjs +15 -15
  103. package/resources/ai/assistants/tests/runs.mjs.map +1 -1
  104. package/resources/ai/assistants/tests/tests.d.mts +38 -38
  105. package/resources/ai/assistants/tests/tests.d.mts.map +1 -1
  106. package/resources/ai/assistants/tests/tests.d.ts +38 -38
  107. package/resources/ai/assistants/tests/tests.d.ts.map +1 -1
  108. package/resources/ai/assistants/tests/tests.js +32 -32
  109. package/resources/ai/assistants/tests/tests.js.map +1 -1
  110. package/resources/ai/assistants/tests/tests.mjs +32 -32
  111. package/resources/ai/assistants/tests/tests.mjs.map +1 -1
  112. package/resources/ai/assistants/tools.d.mts +19 -19
  113. package/resources/ai/assistants/tools.d.mts.map +1 -1
  114. package/resources/ai/assistants/tools.d.ts +19 -19
  115. package/resources/ai/assistants/tools.d.ts.map +1 -1
  116. package/resources/ai/assistants/tools.js +10 -10
  117. package/resources/ai/assistants/tools.js.map +1 -1
  118. package/resources/ai/assistants/tools.mjs +10 -10
  119. package/resources/ai/assistants/tools.mjs.map +1 -1
  120. package/resources/ai/assistants/versions.d.mts +30 -30
  121. package/resources/ai/assistants/versions.d.mts.map +1 -1
  122. package/resources/ai/assistants/versions.d.ts +30 -30
  123. package/resources/ai/assistants/versions.d.ts.map +1 -1
  124. package/resources/ai/assistants/versions.js +31 -31
  125. package/resources/ai/assistants/versions.js.map +1 -1
  126. package/resources/ai/assistants/versions.mjs +31 -31
  127. package/resources/ai/assistants/versions.mjs.map +1 -1
  128. package/resources/ai/clusters.d.mts +30 -30
  129. package/resources/ai/clusters.d.mts.map +1 -1
  130. package/resources/ai/clusters.d.ts +30 -30
  131. package/resources/ai/clusters.d.ts.map +1 -1
  132. package/resources/ai/clusters.js +21 -21
  133. package/resources/ai/clusters.js.map +1 -1
  134. package/resources/ai/clusters.mjs +21 -21
  135. package/resources/ai/clusters.mjs.map +1 -1
  136. package/resources/ai/conversations/conversations.d.mts +51 -51
  137. package/resources/ai/conversations/conversations.d.mts.map +1 -1
  138. package/resources/ai/conversations/conversations.d.ts +51 -51
  139. package/resources/ai/conversations/conversations.d.ts.map +1 -1
  140. package/resources/ai/conversations/conversations.js +36 -36
  141. package/resources/ai/conversations/conversations.js.map +1 -1
  142. package/resources/ai/conversations/conversations.mjs +36 -36
  143. package/resources/ai/conversations/conversations.mjs.map +1 -1
  144. package/resources/ai/conversations/index.d.mts +3 -3
  145. package/resources/ai/conversations/index.d.mts.map +1 -1
  146. package/resources/ai/conversations/index.d.ts +3 -3
  147. package/resources/ai/conversations/index.d.ts.map +1 -1
  148. package/resources/ai/conversations/insight-groups/index.d.mts +1 -1
  149. package/resources/ai/conversations/insight-groups/index.d.mts.map +1 -1
  150. package/resources/ai/conversations/insight-groups/index.d.ts +1 -1
  151. package/resources/ai/conversations/insight-groups/index.d.ts.map +1 -1
  152. package/resources/ai/conversations/insight-groups/insight-groups.d.mts +26 -26
  153. package/resources/ai/conversations/insight-groups/insight-groups.d.mts.map +1 -1
  154. package/resources/ai/conversations/insight-groups/insight-groups.d.ts +26 -26
  155. package/resources/ai/conversations/insight-groups/insight-groups.d.ts.map +1 -1
  156. package/resources/ai/conversations/insight-groups/insight-groups.js +24 -24
  157. package/resources/ai/conversations/insight-groups/insight-groups.js.map +1 -1
  158. package/resources/ai/conversations/insight-groups/insight-groups.mjs +24 -24
  159. package/resources/ai/conversations/insight-groups/insight-groups.mjs.map +1 -1
  160. package/resources/ai/conversations/insights.d.mts +26 -26
  161. package/resources/ai/conversations/insights.d.mts.map +1 -1
  162. package/resources/ai/conversations/insights.d.ts +26 -26
  163. package/resources/ai/conversations/insights.d.ts.map +1 -1
  164. package/resources/ai/conversations/insights.js +33 -33
  165. package/resources/ai/conversations/insights.js.map +1 -1
  166. package/resources/ai/conversations/insights.mjs +33 -33
  167. package/resources/ai/conversations/insights.mjs.map +1 -1
  168. package/resources/ai/embeddings/buckets.d.mts +12 -12
  169. package/resources/ai/embeddings/buckets.d.mts.map +1 -1
  170. package/resources/ai/embeddings/buckets.d.ts +12 -12
  171. package/resources/ai/embeddings/buckets.d.ts.map +1 -1
  172. package/resources/ai/embeddings/buckets.js +14 -14
  173. package/resources/ai/embeddings/buckets.js.map +1 -1
  174. package/resources/ai/embeddings/buckets.mjs +14 -14
  175. package/resources/ai/embeddings/buckets.mjs.map +1 -1
  176. package/resources/ai/embeddings/embeddings.d.mts +36 -36
  177. package/resources/ai/embeddings/embeddings.d.mts.map +1 -1
  178. package/resources/ai/embeddings/embeddings.d.ts +36 -36
  179. package/resources/ai/embeddings/embeddings.d.ts.map +1 -1
  180. package/resources/ai/embeddings/embeddings.js +33 -33
  181. package/resources/ai/embeddings/embeddings.js.map +1 -1
  182. package/resources/ai/embeddings/embeddings.mjs +33 -33
  183. package/resources/ai/embeddings/embeddings.mjs.map +1 -1
  184. package/resources/ai/embeddings/index.d.mts +1 -1
  185. package/resources/ai/embeddings/index.d.mts.map +1 -1
  186. package/resources/ai/embeddings/index.d.ts +1 -1
  187. package/resources/ai/embeddings/index.d.ts.map +1 -1
  188. package/resources/ai/fine-tuning/jobs.d.mts +9 -9
  189. package/resources/ai/fine-tuning/jobs.d.mts.map +1 -1
  190. package/resources/ai/fine-tuning/jobs.d.ts +9 -9
  191. package/resources/ai/fine-tuning/jobs.d.ts.map +1 -1
  192. package/resources/ai/fine-tuning/jobs.js +11 -11
  193. package/resources/ai/fine-tuning/jobs.js.map +1 -1
  194. package/resources/ai/fine-tuning/jobs.mjs +11 -11
  195. package/resources/ai/fine-tuning/jobs.mjs.map +1 -1
  196. package/resources/ai/index.d.mts +8 -8
  197. package/resources/ai/index.d.mts.map +1 -1
  198. package/resources/ai/index.d.ts +8 -8
  199. package/resources/ai/index.d.ts.map +1 -1
  200. package/resources/ai/integrations/connections.d.mts +12 -12
  201. package/resources/ai/integrations/connections.d.mts.map +1 -1
  202. package/resources/ai/integrations/connections.d.ts +12 -12
  203. package/resources/ai/integrations/connections.d.ts.map +1 -1
  204. package/resources/ai/integrations/connections.js +14 -14
  205. package/resources/ai/integrations/connections.js.map +1 -1
  206. package/resources/ai/integrations/connections.mjs +14 -14
  207. package/resources/ai/integrations/connections.mjs.map +1 -1
  208. package/resources/ai/integrations/integrations.d.mts +8 -8
  209. package/resources/ai/integrations/integrations.d.mts.map +1 -1
  210. package/resources/ai/integrations/integrations.d.ts +8 -8
  211. package/resources/ai/integrations/integrations.d.ts.map +1 -1
  212. package/resources/ai/integrations/integrations.js +10 -10
  213. package/resources/ai/integrations/integrations.js.map +1 -1
  214. package/resources/ai/integrations/integrations.mjs +10 -10
  215. package/resources/ai/integrations/integrations.mjs.map +1 -1
  216. package/resources/ai/mcp-servers.d.mts +32 -32
  217. package/resources/ai/mcp-servers.d.mts.map +1 -1
  218. package/resources/ai/mcp-servers.d.ts +32 -32
  219. package/resources/ai/mcp-servers.d.ts.map +1 -1
  220. package/resources/ai/mcp-servers.js +31 -31
  221. package/resources/ai/mcp-servers.js.map +1 -1
  222. package/resources/ai/mcp-servers.mjs +31 -31
  223. package/resources/ai/mcp-servers.mjs.map +1 -1
  224. package/resources/ai/missions/index.d.mts +2 -2
  225. package/resources/ai/missions/index.d.mts.map +1 -1
  226. package/resources/ai/missions/index.d.ts +2 -2
  227. package/resources/ai/missions/index.d.ts.map +1 -1
  228. package/resources/ai/missions/knowledge-bases.d.mts +12 -12
  229. package/resources/ai/missions/knowledge-bases.d.mts.map +1 -1
  230. package/resources/ai/missions/knowledge-bases.d.ts +12 -12
  231. package/resources/ai/missions/knowledge-bases.d.ts.map +1 -1
  232. package/resources/ai/missions/knowledge-bases.js +14 -14
  233. package/resources/ai/missions/knowledge-bases.js.map +1 -1
  234. package/resources/ai/missions/knowledge-bases.mjs +14 -14
  235. package/resources/ai/missions/knowledge-bases.mjs.map +1 -1
  236. package/resources/ai/missions/mcp-servers.d.mts +12 -12
  237. package/resources/ai/missions/mcp-servers.d.mts.map +1 -1
  238. package/resources/ai/missions/mcp-servers.d.ts +12 -12
  239. package/resources/ai/missions/mcp-servers.d.ts.map +1 -1
  240. package/resources/ai/missions/mcp-servers.js +14 -14
  241. package/resources/ai/missions/mcp-servers.js.map +1 -1
  242. package/resources/ai/missions/mcp-servers.mjs +14 -14
  243. package/resources/ai/missions/mcp-servers.mjs.map +1 -1
  244. package/resources/ai/missions/missions.d.mts +30 -30
  245. package/resources/ai/missions/missions.d.mts.map +1 -1
  246. package/resources/ai/missions/missions.d.ts +30 -30
  247. package/resources/ai/missions/missions.d.ts.map +1 -1
  248. package/resources/ai/missions/missions.js +34 -34
  249. package/resources/ai/missions/missions.js.map +1 -1
  250. package/resources/ai/missions/missions.mjs +34 -34
  251. package/resources/ai/missions/missions.mjs.map +1 -1
  252. package/resources/ai/missions/runs/events.d.mts +22 -22
  253. package/resources/ai/missions/runs/events.d.mts.map +1 -1
  254. package/resources/ai/missions/runs/events.d.ts +22 -22
  255. package/resources/ai/missions/runs/events.d.ts.map +1 -1
  256. package/resources/ai/missions/runs/events.js +15 -15
  257. package/resources/ai/missions/runs/events.js.map +1 -1
  258. package/resources/ai/missions/runs/events.mjs +15 -15
  259. package/resources/ai/missions/runs/events.mjs.map +1 -1
  260. package/resources/ai/missions/runs/index.d.mts +3 -3
  261. package/resources/ai/missions/runs/index.d.mts.map +1 -1
  262. package/resources/ai/missions/runs/index.d.ts +3 -3
  263. package/resources/ai/missions/runs/index.d.ts.map +1 -1
  264. package/resources/ai/missions/runs/plan.d.mts +41 -41
  265. package/resources/ai/missions/runs/plan.d.mts.map +1 -1
  266. package/resources/ai/missions/runs/plan.d.ts +41 -41
  267. package/resources/ai/missions/runs/plan.d.ts.map +1 -1
  268. package/resources/ai/missions/runs/plan.js +27 -27
  269. package/resources/ai/missions/runs/plan.js.map +1 -1
  270. package/resources/ai/missions/runs/plan.mjs +27 -27
  271. package/resources/ai/missions/runs/plan.mjs.map +1 -1
  272. package/resources/ai/missions/runs/runs.d.mts +27 -27
  273. package/resources/ai/missions/runs/runs.d.mts.map +1 -1
  274. package/resources/ai/missions/runs/runs.d.ts +27 -27
  275. package/resources/ai/missions/runs/runs.d.ts.map +1 -1
  276. package/resources/ai/missions/runs/runs.js +23 -23
  277. package/resources/ai/missions/runs/runs.js.map +1 -1
  278. package/resources/ai/missions/runs/runs.mjs +23 -23
  279. package/resources/ai/missions/runs/runs.mjs.map +1 -1
  280. package/resources/ai/missions/tools.d.mts +11 -11
  281. package/resources/ai/missions/tools.d.mts.map +1 -1
  282. package/resources/ai/missions/tools.d.ts +11 -11
  283. package/resources/ai/missions/tools.d.ts.map +1 -1
  284. package/resources/ai/missions/tools.js +13 -13
  285. package/resources/ai/missions/tools.js.map +1 -1
  286. package/resources/ai/missions/tools.mjs +13 -13
  287. package/resources/ai/missions/tools.mjs.map +1 -1
  288. package/resources/ai/openai/openai.d.mts +23 -23
  289. package/resources/ai/openai/openai.d.mts.map +1 -1
  290. package/resources/ai/openai/openai.d.ts +23 -23
  291. package/resources/ai/openai/openai.d.ts.map +1 -1
  292. package/resources/ai/openai/openai.js +25 -25
  293. package/resources/ai/openai/openai.js.map +1 -1
  294. package/resources/ai/openai/openai.mjs +25 -25
  295. package/resources/ai/openai/openai.mjs.map +1 -1
  296. package/resources/ai/tools.d.mts +32 -32
  297. package/resources/ai/tools.d.mts.map +1 -1
  298. package/resources/ai/tools.d.ts +32 -32
  299. package/resources/ai/tools.d.ts.map +1 -1
  300. package/resources/ai/tools.js +28 -28
  301. package/resources/ai/tools.js.map +1 -1
  302. package/resources/ai/tools.mjs +28 -28
  303. package/resources/ai/tools.mjs.map +1 -1
  304. package/resources/alphanumeric-sender-ids.d.mts +25 -25
  305. package/resources/alphanumeric-sender-ids.d.mts.map +1 -1
  306. package/resources/alphanumeric-sender-ids.d.ts +25 -25
  307. package/resources/alphanumeric-sender-ids.d.ts.map +1 -1
  308. package/resources/alphanumeric-sender-ids.js +25 -25
  309. package/resources/alphanumeric-sender-ids.js.map +1 -1
  310. package/resources/alphanumeric-sender-ids.mjs +25 -25
  311. package/resources/alphanumeric-sender-ids.mjs.map +1 -1
  312. package/resources/authentication-providers.d.mts +41 -41
  313. package/resources/authentication-providers.d.mts.map +1 -1
  314. package/resources/authentication-providers.d.ts +41 -41
  315. package/resources/authentication-providers.d.ts.map +1 -1
  316. package/resources/authentication-providers.js +26 -26
  317. package/resources/authentication-providers.js.map +1 -1
  318. package/resources/authentication-providers.mjs +26 -26
  319. package/resources/authentication-providers.mjs.map +1 -1
  320. package/resources/billing-groups.d.mts +25 -25
  321. package/resources/billing-groups.d.mts.map +1 -1
  322. package/resources/billing-groups.d.ts +25 -25
  323. package/resources/billing-groups.d.ts.map +1 -1
  324. package/resources/billing-groups.js +30 -30
  325. package/resources/billing-groups.js.map +1 -1
  326. package/resources/billing-groups.mjs +30 -30
  327. package/resources/billing-groups.mjs.map +1 -1
  328. package/resources/bulk-sim-card-actions.d.mts +4 -4
  329. package/resources/bulk-sim-card-actions.d.mts.map +1 -1
  330. package/resources/bulk-sim-card-actions.d.ts +4 -4
  331. package/resources/bulk-sim-card-actions.d.ts.map +1 -1
  332. package/resources/bulk-sim-card-actions.js +6 -6
  333. package/resources/bulk-sim-card-actions.js.map +1 -1
  334. package/resources/bulk-sim-card-actions.mjs +6 -6
  335. package/resources/bulk-sim-card-actions.mjs.map +1 -1
  336. package/resources/bundle-pricing/billing-bundles.d.mts +19 -19
  337. package/resources/bundle-pricing/billing-bundles.d.mts.map +1 -1
  338. package/resources/bundle-pricing/billing-bundles.d.ts +19 -19
  339. package/resources/bundle-pricing/billing-bundles.d.ts.map +1 -1
  340. package/resources/bundle-pricing/billing-bundles.js +17 -17
  341. package/resources/bundle-pricing/billing-bundles.js.map +1 -1
  342. package/resources/bundle-pricing/billing-bundles.mjs +17 -17
  343. package/resources/bundle-pricing/billing-bundles.mjs.map +1 -1
  344. package/resources/bundle-pricing/bundle-pricing.d.mts +2 -2
  345. package/resources/bundle-pricing/bundle-pricing.d.mts.map +1 -1
  346. package/resources/bundle-pricing/bundle-pricing.d.ts +2 -2
  347. package/resources/bundle-pricing/bundle-pricing.d.ts.map +1 -1
  348. package/resources/bundle-pricing/index.d.mts +2 -2
  349. package/resources/bundle-pricing/index.d.mts.map +1 -1
  350. package/resources/bundle-pricing/index.d.ts +2 -2
  351. package/resources/bundle-pricing/index.d.ts.map +1 -1
  352. package/resources/bundle-pricing/user-bundles.d.mts +58 -58
  353. package/resources/bundle-pricing/user-bundles.d.mts.map +1 -1
  354. package/resources/bundle-pricing/user-bundles.d.ts +58 -58
  355. package/resources/bundle-pricing/user-bundles.d.ts.map +1 -1
  356. package/resources/bundle-pricing/user-bundles.js +32 -32
  357. package/resources/bundle-pricing/user-bundles.js.map +1 -1
  358. package/resources/bundle-pricing/user-bundles.mjs +32 -32
  359. package/resources/bundle-pricing/user-bundles.mjs.map +1 -1
  360. package/resources/call-control-applications.d.mts +151 -151
  361. package/resources/call-control-applications.d.mts.map +1 -1
  362. package/resources/call-control-applications.d.ts +151 -151
  363. package/resources/call-control-applications.d.ts.map +1 -1
  364. package/resources/call-control-applications.js +28 -28
  365. package/resources/call-control-applications.js.map +1 -1
  366. package/resources/call-control-applications.mjs +28 -28
  367. package/resources/call-control-applications.mjs.map +1 -1
  368. package/resources/calls/actions.d.mts +1089 -1062
  369. package/resources/calls/actions.d.mts.map +1 -1
  370. package/resources/calls/actions.d.ts +1089 -1062
  371. package/resources/calls/actions.d.ts.map +1 -1
  372. package/resources/calls/actions.js +307 -307
  373. package/resources/calls/actions.js.map +1 -1
  374. package/resources/calls/actions.mjs +307 -307
  375. package/resources/calls/actions.mjs.map +1 -1
  376. package/resources/calls/calls.d.mts +1 -1
  377. package/resources/calls/calls.d.mts.map +1 -1
  378. package/resources/calls/calls.d.ts +1 -1
  379. package/resources/calls/calls.d.ts.map +1 -1
  380. package/resources/calls/index.d.mts +1 -1
  381. package/resources/calls/index.d.mts.map +1 -1
  382. package/resources/calls/index.d.ts +1 -1
  383. package/resources/calls/index.d.ts.map +1 -1
  384. package/resources/channel-zones.d.mts +10 -10
  385. package/resources/channel-zones.d.mts.map +1 -1
  386. package/resources/channel-zones.d.ts +10 -10
  387. package/resources/channel-zones.d.ts.map +1 -1
  388. package/resources/channel-zones.js +9 -9
  389. package/resources/channel-zones.js.map +1 -1
  390. package/resources/channel-zones.mjs +9 -9
  391. package/resources/channel-zones.mjs.map +1 -1
  392. package/resources/comments.d.mts +15 -15
  393. package/resources/comments.d.mts.map +1 -1
  394. package/resources/comments.d.ts +15 -15
  395. package/resources/comments.d.ts.map +1 -1
  396. package/resources/comments.js +11 -11
  397. package/resources/comments.js.map +1 -1
  398. package/resources/comments.mjs +11 -11
  399. package/resources/comments.mjs.map +1 -1
  400. package/resources/conferences/actions.d.mts +187 -187
  401. package/resources/conferences/actions.d.mts.map +1 -1
  402. package/resources/conferences/actions.d.ts +187 -187
  403. package/resources/conferences/actions.d.ts.map +1 -1
  404. package/resources/conferences/actions.js +64 -64
  405. package/resources/conferences/actions.js.map +1 -1
  406. package/resources/conferences/actions.mjs +64 -64
  407. package/resources/conferences/actions.mjs.map +1 -1
  408. package/resources/conferences/conferences.d.mts +97 -97
  409. package/resources/conferences/conferences.d.mts.map +1 -1
  410. package/resources/conferences/conferences.d.ts +97 -97
  411. package/resources/conferences/conferences.d.ts.map +1 -1
  412. package/resources/conferences/conferences.js +27 -27
  413. package/resources/conferences/conferences.js.map +1 -1
  414. package/resources/conferences/conferences.mjs +27 -27
  415. package/resources/conferences/conferences.mjs.map +1 -1
  416. package/resources/conferences/index.d.mts +2 -2
  417. package/resources/conferences/index.d.mts.map +1 -1
  418. package/resources/conferences/index.d.ts +2 -2
  419. package/resources/conferences/index.d.ts.map +1 -1
  420. package/resources/connections.d.mts +5 -5
  421. package/resources/connections.d.mts.map +1 -1
  422. package/resources/connections.d.ts +5 -5
  423. package/resources/connections.d.ts.map +1 -1
  424. package/resources/connections.js +7 -7
  425. package/resources/connections.js.map +1 -1
  426. package/resources/connections.mjs +7 -7
  427. package/resources/connections.mjs.map +1 -1
  428. package/resources/credential-connections/credential-connections.d.mts +82 -82
  429. package/resources/credential-connections/credential-connections.d.mts.map +1 -1
  430. package/resources/credential-connections/credential-connections.d.ts +82 -82
  431. package/resources/credential-connections/credential-connections.d.ts.map +1 -1
  432. package/resources/credential-connections/credential-connections.js +29 -29
  433. package/resources/credential-connections/credential-connections.js.map +1 -1
  434. package/resources/credential-connections/credential-connections.mjs +29 -29
  435. package/resources/credential-connections/credential-connections.mjs.map +1 -1
  436. package/resources/credential-connections/index.d.mts +1 -1
  437. package/resources/credential-connections/index.d.mts.map +1 -1
  438. package/resources/credential-connections/index.d.ts +1 -1
  439. package/resources/credential-connections/index.d.ts.map +1 -1
  440. package/resources/custom-storage-credentials.d.mts +18 -18
  441. package/resources/custom-storage-credentials.d.mts.map +1 -1
  442. package/resources/custom-storage-credentials.d.ts +18 -18
  443. package/resources/custom-storage-credentials.d.ts.map +1 -1
  444. package/resources/custom-storage-credentials.js +24 -24
  445. package/resources/custom-storage-credentials.js.map +1 -1
  446. package/resources/custom-storage-credentials.mjs +24 -24
  447. package/resources/custom-storage-credentials.mjs.map +1 -1
  448. package/resources/customer-service-records.d.mts +78 -78
  449. package/resources/customer-service-records.d.mts.map +1 -1
  450. package/resources/customer-service-records.d.ts +78 -78
  451. package/resources/customer-service-records.d.ts.map +1 -1
  452. package/resources/customer-service-records.js +26 -26
  453. package/resources/customer-service-records.js.map +1 -1
  454. package/resources/customer-service-records.mjs +26 -26
  455. package/resources/customer-service-records.mjs.map +1 -1
  456. package/resources/dialogflow-connections.d.mts +22 -22
  457. package/resources/dialogflow-connections.d.mts.map +1 -1
  458. package/resources/dialogflow-connections.d.ts +22 -22
  459. package/resources/dialogflow-connections.d.ts.map +1 -1
  460. package/resources/dialogflow-connections.js +29 -29
  461. package/resources/dialogflow-connections.js.map +1 -1
  462. package/resources/dialogflow-connections.mjs +29 -29
  463. package/resources/dialogflow-connections.mjs.map +1 -1
  464. package/resources/dir/comments.d.mts +23 -23
  465. package/resources/dir/comments.d.mts.map +1 -1
  466. package/resources/dir/comments.d.ts +23 -23
  467. package/resources/dir/comments.d.ts.map +1 -1
  468. package/resources/dir/comments.js +20 -20
  469. package/resources/dir/comments.js.map +1 -1
  470. package/resources/dir/comments.mjs +20 -20
  471. package/resources/dir/comments.mjs.map +1 -1
  472. package/resources/dir/dir.d.mts +142 -133
  473. package/resources/dir/dir.d.mts.map +1 -1
  474. package/resources/dir/dir.d.ts +142 -133
  475. package/resources/dir/dir.d.ts.map +1 -1
  476. package/resources/dir/dir.js +100 -92
  477. package/resources/dir/dir.js.map +1 -1
  478. package/resources/dir/dir.mjs +100 -92
  479. package/resources/dir/dir.mjs.map +1 -1
  480. package/resources/dir/index.d.mts +6 -4
  481. package/resources/dir/index.d.mts.map +1 -1
  482. package/resources/dir/index.d.ts +6 -4
  483. package/resources/dir/index.d.ts.map +1 -1
  484. package/resources/dir/index.js +5 -1
  485. package/resources/dir/index.js.map +1 -1
  486. package/resources/dir/index.mjs +2 -0
  487. package/resources/dir/index.mjs.map +1 -1
  488. package/resources/dir/phone-number-batches.d.mts +21 -21
  489. package/resources/dir/phone-number-batches.d.mts.map +1 -1
  490. package/resources/dir/phone-number-batches.d.ts +21 -21
  491. package/resources/dir/phone-number-batches.d.ts.map +1 -1
  492. package/resources/dir/phone-number-batches.js +17 -17
  493. package/resources/dir/phone-number-batches.js.map +1 -1
  494. package/resources/dir/phone-number-batches.mjs +17 -17
  495. package/resources/dir/phone-number-batches.mjs.map +1 -1
  496. package/resources/dir/phone-numbers.d.mts +17 -17
  497. package/resources/dir/phone-numbers.d.mts.map +1 -1
  498. package/resources/dir/phone-numbers.d.ts +17 -17
  499. package/resources/dir/phone-numbers.d.ts.map +1 -1
  500. package/resources/dir/phone-numbers.js +15 -15
  501. package/resources/dir/phone-numbers.js.map +1 -1
  502. package/resources/dir/phone-numbers.mjs +15 -15
  503. package/resources/dir/phone-numbers.mjs.map +1 -1
  504. package/resources/dir/references.d.mts +231 -0
  505. package/resources/dir/references.d.mts.map +1 -0
  506. package/resources/dir/references.d.ts +231 -0
  507. package/resources/dir/references.d.ts.map +1 -0
  508. package/resources/dir/references.js +96 -0
  509. package/resources/dir/references.js.map +1 -0
  510. package/resources/dir/references.mjs +92 -0
  511. package/resources/dir/references.mjs.map +1 -0
  512. package/resources/dir/verify-email.d.mts +90 -0
  513. package/resources/dir/verify-email.d.mts.map +1 -0
  514. package/resources/dir/verify-email.d.ts +90 -0
  515. package/resources/dir/verify-email.d.ts.map +1 -0
  516. package/resources/dir/verify-email.js +65 -0
  517. package/resources/dir/verify-email.js.map +1 -0
  518. package/resources/dir/verify-email.mjs +61 -0
  519. package/resources/dir/verify-email.mjs.map +1 -0
  520. package/resources/documents.d.mts +51 -51
  521. package/resources/documents.d.mts.map +1 -1
  522. package/resources/documents.d.ts +51 -51
  523. package/resources/documents.d.ts.map +1 -1
  524. package/resources/documents.js +53 -53
  525. package/resources/documents.js.map +1 -1
  526. package/resources/documents.mjs +53 -53
  527. package/resources/documents.mjs.map +1 -1
  528. package/resources/dynamic-emergency-addresses.d.mts +32 -32
  529. package/resources/dynamic-emergency-addresses.d.mts.map +1 -1
  530. package/resources/dynamic-emergency-addresses.d.ts +32 -32
  531. package/resources/dynamic-emergency-addresses.d.ts.map +1 -1
  532. package/resources/dynamic-emergency-addresses.js +22 -22
  533. package/resources/dynamic-emergency-addresses.js.map +1 -1
  534. package/resources/dynamic-emergency-addresses.mjs +22 -22
  535. package/resources/dynamic-emergency-addresses.mjs.map +1 -1
  536. package/resources/dynamic-emergency-endpoints.d.mts +27 -27
  537. package/resources/dynamic-emergency-endpoints.d.mts.map +1 -1
  538. package/resources/dynamic-emergency-endpoints.d.ts +27 -27
  539. package/resources/dynamic-emergency-endpoints.d.ts.map +1 -1
  540. package/resources/dynamic-emergency-endpoints.js +22 -22
  541. package/resources/dynamic-emergency-endpoints.js.map +1 -1
  542. package/resources/dynamic-emergency-endpoints.mjs +22 -22
  543. package/resources/dynamic-emergency-endpoints.mjs.map +1 -1
  544. package/resources/enterprises/dir.d.mts +65 -65
  545. package/resources/enterprises/dir.d.mts.map +1 -1
  546. package/resources/enterprises/dir.d.ts +65 -65
  547. package/resources/enterprises/dir.d.ts.map +1 -1
  548. package/resources/enterprises/dir.js +28 -28
  549. package/resources/enterprises/dir.js.map +1 -1
  550. package/resources/enterprises/dir.mjs +28 -28
  551. package/resources/enterprises/dir.mjs.map +1 -1
  552. package/resources/enterprises/enterprises.d.mts +45 -45
  553. package/resources/enterprises/enterprises.d.mts.map +1 -1
  554. package/resources/enterprises/enterprises.d.ts +45 -45
  555. package/resources/enterprises/enterprises.d.ts.map +1 -1
  556. package/resources/enterprises/enterprises.js +43 -43
  557. package/resources/enterprises/enterprises.js.map +1 -1
  558. package/resources/enterprises/enterprises.mjs +43 -43
  559. package/resources/enterprises/enterprises.mjs.map +1 -1
  560. package/resources/enterprises/index.d.mts +2 -2
  561. package/resources/enterprises/index.d.mts.map +1 -1
  562. package/resources/enterprises/index.d.ts +2 -2
  563. package/resources/enterprises/index.d.ts.map +1 -1
  564. package/resources/enterprises/reputation/index.d.mts +2 -2
  565. package/resources/enterprises/reputation/index.d.mts.map +1 -1
  566. package/resources/enterprises/reputation/index.d.ts +2 -2
  567. package/resources/enterprises/reputation/index.d.ts.map +1 -1
  568. package/resources/enterprises/reputation/numbers.d.mts +29 -29
  569. package/resources/enterprises/reputation/numbers.d.mts.map +1 -1
  570. package/resources/enterprises/reputation/numbers.d.ts +29 -29
  571. package/resources/enterprises/reputation/numbers.d.ts.map +1 -1
  572. package/resources/enterprises/reputation/numbers.js +23 -23
  573. package/resources/enterprises/reputation/numbers.js.map +1 -1
  574. package/resources/enterprises/reputation/numbers.mjs +23 -23
  575. package/resources/enterprises/reputation/numbers.mjs.map +1 -1
  576. package/resources/enterprises/reputation/remediation.d.mts +32 -32
  577. package/resources/enterprises/reputation/remediation.d.mts.map +1 -1
  578. package/resources/enterprises/reputation/remediation.d.ts +32 -32
  579. package/resources/enterprises/reputation/remediation.d.ts.map +1 -1
  580. package/resources/enterprises/reputation/remediation.js +19 -19
  581. package/resources/enterprises/reputation/remediation.js.map +1 -1
  582. package/resources/enterprises/reputation/remediation.mjs +19 -19
  583. package/resources/enterprises/reputation/remediation.mjs.map +1 -1
  584. package/resources/enterprises/reputation/reputation.d.mts +15 -15
  585. package/resources/enterprises/reputation/reputation.d.mts.map +1 -1
  586. package/resources/enterprises/reputation/reputation.d.ts +15 -15
  587. package/resources/enterprises/reputation/reputation.d.ts.map +1 -1
  588. package/resources/enterprises/reputation/reputation.js +18 -18
  589. package/resources/enterprises/reputation/reputation.js.map +1 -1
  590. package/resources/enterprises/reputation/reputation.mjs +18 -18
  591. package/resources/enterprises/reputation/reputation.mjs.map +1 -1
  592. package/resources/external-connections/civic-addresses.d.mts +19 -19
  593. package/resources/external-connections/civic-addresses.d.mts.map +1 -1
  594. package/resources/external-connections/civic-addresses.d.ts +19 -19
  595. package/resources/external-connections/civic-addresses.d.ts.map +1 -1
  596. package/resources/external-connections/civic-addresses.js +14 -14
  597. package/resources/external-connections/civic-addresses.js.map +1 -1
  598. package/resources/external-connections/civic-addresses.mjs +14 -14
  599. package/resources/external-connections/civic-addresses.mjs.map +1 -1
  600. package/resources/external-connections/external-connections.d.mts +92 -92
  601. package/resources/external-connections/external-connections.d.mts.map +1 -1
  602. package/resources/external-connections/external-connections.d.ts +92 -92
  603. package/resources/external-connections/external-connections.d.ts.map +1 -1
  604. package/resources/external-connections/external-connections.js +37 -37
  605. package/resources/external-connections/external-connections.js.map +1 -1
  606. package/resources/external-connections/external-connections.mjs +37 -37
  607. package/resources/external-connections/external-connections.mjs.map +1 -1
  608. package/resources/external-connections/index.d.mts +5 -5
  609. package/resources/external-connections/index.d.mts.map +1 -1
  610. package/resources/external-connections/index.d.ts +5 -5
  611. package/resources/external-connections/index.d.ts.map +1 -1
  612. package/resources/external-connections/log-messages.d.mts +12 -12
  613. package/resources/external-connections/log-messages.d.mts.map +1 -1
  614. package/resources/external-connections/log-messages.d.ts +12 -12
  615. package/resources/external-connections/log-messages.d.ts.map +1 -1
  616. package/resources/external-connections/log-messages.js +14 -14
  617. package/resources/external-connections/log-messages.js.map +1 -1
  618. package/resources/external-connections/log-messages.mjs +14 -14
  619. package/resources/external-connections/log-messages.mjs.map +1 -1
  620. package/resources/external-connections/phone-numbers.d.mts +32 -32
  621. package/resources/external-connections/phone-numbers.d.mts.map +1 -1
  622. package/resources/external-connections/phone-numbers.d.ts +32 -32
  623. package/resources/external-connections/phone-numbers.d.ts.map +1 -1
  624. package/resources/external-connections/phone-numbers.js +17 -17
  625. package/resources/external-connections/phone-numbers.js.map +1 -1
  626. package/resources/external-connections/phone-numbers.mjs +17 -17
  627. package/resources/external-connections/phone-numbers.mjs.map +1 -1
  628. package/resources/external-connections/releases.d.mts +20 -20
  629. package/resources/external-connections/releases.d.mts.map +1 -1
  630. package/resources/external-connections/releases.d.ts +20 -20
  631. package/resources/external-connections/releases.d.ts.map +1 -1
  632. package/resources/external-connections/releases.js +16 -16
  633. package/resources/external-connections/releases.js.map +1 -1
  634. package/resources/external-connections/releases.mjs +16 -16
  635. package/resources/external-connections/releases.mjs.map +1 -1
  636. package/resources/external-connections/uploads.d.mts +50 -50
  637. package/resources/external-connections/uploads.d.mts.map +1 -1
  638. package/resources/external-connections/uploads.d.ts +50 -50
  639. package/resources/external-connections/uploads.d.ts.map +1 -1
  640. package/resources/external-connections/uploads.js +34 -34
  641. package/resources/external-connections/uploads.js.map +1 -1
  642. package/resources/external-connections/uploads.mjs +34 -34
  643. package/resources/external-connections/uploads.mjs.map +1 -1
  644. package/resources/fax-applications.d.mts +81 -81
  645. package/resources/fax-applications.d.mts.map +1 -1
  646. package/resources/fax-applications.d.ts +81 -81
  647. package/resources/fax-applications.d.ts.map +1 -1
  648. package/resources/fax-applications.js +34 -34
  649. package/resources/fax-applications.js.map +1 -1
  650. package/resources/fax-applications.mjs +34 -34
  651. package/resources/fax-applications.mjs.map +1 -1
  652. package/resources/faxes/faxes.d.mts +96 -96
  653. package/resources/faxes/faxes.d.mts.map +1 -1
  654. package/resources/faxes/faxes.d.ts +96 -96
  655. package/resources/faxes/faxes.d.ts.map +1 -1
  656. package/resources/faxes/faxes.js +25 -25
  657. package/resources/faxes/faxes.js.map +1 -1
  658. package/resources/faxes/faxes.mjs +25 -25
  659. package/resources/faxes/faxes.mjs.map +1 -1
  660. package/resources/faxes/index.d.mts +1 -1
  661. package/resources/faxes/index.d.mts.map +1 -1
  662. package/resources/faxes/index.d.ts +1 -1
  663. package/resources/faxes/index.d.ts.map +1 -1
  664. package/resources/fqdn-connections.d.mts +84 -84
  665. package/resources/fqdn-connections.d.mts.map +1 -1
  666. package/resources/fqdn-connections.d.ts +84 -84
  667. package/resources/fqdn-connections.d.ts.map +1 -1
  668. package/resources/fqdn-connections.js +30 -30
  669. package/resources/fqdn-connections.js.map +1 -1
  670. package/resources/fqdn-connections.mjs +30 -30
  671. package/resources/fqdn-connections.mjs.map +1 -1
  672. package/resources/fqdns.d.mts +53 -53
  673. package/resources/fqdns.d.mts.map +1 -1
  674. package/resources/fqdns.d.ts +53 -53
  675. package/resources/fqdns.d.ts.map +1 -1
  676. package/resources/fqdns.js +26 -26
  677. package/resources/fqdns.js.map +1 -1
  678. package/resources/fqdns.mjs +26 -26
  679. package/resources/fqdns.mjs.map +1 -1
  680. package/resources/global-ip-assignments.d.mts +11 -11
  681. package/resources/global-ip-assignments.d.mts.map +1 -1
  682. package/resources/global-ip-assignments.d.ts +11 -11
  683. package/resources/global-ip-assignments.d.ts.map +1 -1
  684. package/resources/global-ip-assignments.js +15 -15
  685. package/resources/global-ip-assignments.js.map +1 -1
  686. package/resources/global-ip-assignments.mjs +15 -15
  687. package/resources/global-ip-assignments.mjs.map +1 -1
  688. package/resources/global-ip-health-checks.d.mts +21 -21
  689. package/resources/global-ip-health-checks.d.mts.map +1 -1
  690. package/resources/global-ip-health-checks.d.ts +21 -21
  691. package/resources/global-ip-health-checks.d.ts.map +1 -1
  692. package/resources/global-ip-health-checks.js +25 -25
  693. package/resources/global-ip-health-checks.js.map +1 -1
  694. package/resources/global-ip-health-checks.mjs +25 -25
  695. package/resources/global-ip-health-checks.mjs.map +1 -1
  696. package/resources/global-ips.d.mts +20 -20
  697. package/resources/global-ips.d.mts.map +1 -1
  698. package/resources/global-ips.d.ts +20 -20
  699. package/resources/global-ips.d.ts.map +1 -1
  700. package/resources/global-ips.js +21 -21
  701. package/resources/global-ips.js.map +1 -1
  702. package/resources/global-ips.mjs +21 -21
  703. package/resources/global-ips.mjs.map +1 -1
  704. package/resources/inbound-channels.d.mts +13 -13
  705. package/resources/inbound-channels.d.mts.map +1 -1
  706. package/resources/inbound-channels.d.ts +13 -13
  707. package/resources/inbound-channels.d.ts.map +1 -1
  708. package/resources/inbound-channels.js +15 -15
  709. package/resources/inbound-channels.js.map +1 -1
  710. package/resources/inbound-channels.mjs +15 -15
  711. package/resources/inbound-channels.mjs.map +1 -1
  712. package/resources/index.d.mts +82 -82
  713. package/resources/index.d.mts.map +1 -1
  714. package/resources/index.d.ts +82 -82
  715. package/resources/index.d.ts.map +1 -1
  716. package/resources/inexplicit-number-orders.d.mts +7 -7
  717. package/resources/inexplicit-number-orders.d.mts.map +1 -1
  718. package/resources/inexplicit-number-orders.d.ts +7 -7
  719. package/resources/inexplicit-number-orders.d.ts.map +1 -1
  720. package/resources/inexplicit-number-orders.js +6 -6
  721. package/resources/inexplicit-number-orders.js.map +1 -1
  722. package/resources/inexplicit-number-orders.mjs +6 -6
  723. package/resources/inexplicit-number-orders.mjs.map +1 -1
  724. package/resources/integration-secrets.d.mts +27 -27
  725. package/resources/integration-secrets.d.mts.map +1 -1
  726. package/resources/integration-secrets.d.ts +27 -27
  727. package/resources/integration-secrets.d.ts.map +1 -1
  728. package/resources/integration-secrets.js +17 -17
  729. package/resources/integration-secrets.js.map +1 -1
  730. package/resources/integration-secrets.mjs +17 -17
  731. package/resources/integration-secrets.mjs.map +1 -1
  732. package/resources/invoices.d.mts +11 -11
  733. package/resources/invoices.d.mts.map +1 -1
  734. package/resources/invoices.d.ts +11 -11
  735. package/resources/invoices.d.ts.map +1 -1
  736. package/resources/invoices.js +6 -6
  737. package/resources/invoices.js.map +1 -1
  738. package/resources/invoices.mjs +6 -6
  739. package/resources/invoices.mjs.map +1 -1
  740. package/resources/ip-connections.d.mts +81 -81
  741. package/resources/ip-connections.d.mts.map +1 -1
  742. package/resources/ip-connections.d.ts +81 -81
  743. package/resources/ip-connections.d.ts.map +1 -1
  744. package/resources/ip-connections.js +28 -28
  745. package/resources/ip-connections.js.map +1 -1
  746. package/resources/ip-connections.mjs +28 -28
  747. package/resources/ip-connections.mjs.map +1 -1
  748. package/resources/ips.d.mts +50 -50
  749. package/resources/ips.d.mts.map +1 -1
  750. package/resources/ips.d.ts +50 -50
  751. package/resources/ips.d.ts.map +1 -1
  752. package/resources/ips.js +27 -27
  753. package/resources/ips.js.map +1 -1
  754. package/resources/ips.mjs +27 -27
  755. package/resources/ips.mjs.map +1 -1
  756. package/resources/legacy/reporting/batch-detail-records/messaging.d.mts +16 -16
  757. package/resources/legacy/reporting/batch-detail-records/messaging.d.mts.map +1 -1
  758. package/resources/legacy/reporting/batch-detail-records/messaging.d.ts +16 -16
  759. package/resources/legacy/reporting/batch-detail-records/messaging.d.ts.map +1 -1
  760. package/resources/legacy/reporting/batch-detail-records/messaging.js +20 -20
  761. package/resources/legacy/reporting/batch-detail-records/messaging.js.map +1 -1
  762. package/resources/legacy/reporting/batch-detail-records/messaging.mjs +20 -20
  763. package/resources/legacy/reporting/batch-detail-records/messaging.mjs.map +1 -1
  764. package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.mts +16 -16
  765. package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.mts.map +1 -1
  766. package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.ts +16 -16
  767. package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.ts.map +1 -1
  768. package/resources/legacy/reporting/batch-detail-records/speech-to-text.js +20 -20
  769. package/resources/legacy/reporting/batch-detail-records/speech-to-text.js.map +1 -1
  770. package/resources/legacy/reporting/batch-detail-records/speech-to-text.mjs +20 -20
  771. package/resources/legacy/reporting/batch-detail-records/speech-to-text.mjs.map +1 -1
  772. package/resources/legacy/reporting/batch-detail-records/voice.d.mts +20 -20
  773. package/resources/legacy/reporting/batch-detail-records/voice.d.mts.map +1 -1
  774. package/resources/legacy/reporting/batch-detail-records/voice.d.ts +20 -20
  775. package/resources/legacy/reporting/batch-detail-records/voice.d.ts.map +1 -1
  776. package/resources/legacy/reporting/batch-detail-records/voice.js +24 -24
  777. package/resources/legacy/reporting/batch-detail-records/voice.js.map +1 -1
  778. package/resources/legacy/reporting/batch-detail-records/voice.mjs +24 -24
  779. package/resources/legacy/reporting/batch-detail-records/voice.mjs.map +1 -1
  780. package/resources/legacy/reporting/usage-reports/index.d.mts +2 -2
  781. package/resources/legacy/reporting/usage-reports/index.d.mts.map +1 -1
  782. package/resources/legacy/reporting/usage-reports/index.d.ts +2 -2
  783. package/resources/legacy/reporting/usage-reports/index.d.ts.map +1 -1
  784. package/resources/legacy/reporting/usage-reports/messaging.d.mts +21 -21
  785. package/resources/legacy/reporting/usage-reports/messaging.d.mts.map +1 -1
  786. package/resources/legacy/reporting/usage-reports/messaging.d.ts +21 -21
  787. package/resources/legacy/reporting/usage-reports/messaging.d.ts.map +1 -1
  788. package/resources/legacy/reporting/usage-reports/messaging.js +22 -22
  789. package/resources/legacy/reporting/usage-reports/messaging.js.map +1 -1
  790. package/resources/legacy/reporting/usage-reports/messaging.mjs +22 -22
  791. package/resources/legacy/reporting/usage-reports/messaging.mjs.map +1 -1
  792. package/resources/legacy/reporting/usage-reports/number-lookup.d.mts +18 -18
  793. package/resources/legacy/reporting/usage-reports/number-lookup.d.mts.map +1 -1
  794. package/resources/legacy/reporting/usage-reports/number-lookup.d.ts +18 -18
  795. package/resources/legacy/reporting/usage-reports/number-lookup.d.ts.map +1 -1
  796. package/resources/legacy/reporting/usage-reports/number-lookup.js +26 -26
  797. package/resources/legacy/reporting/usage-reports/number-lookup.js.map +1 -1
  798. package/resources/legacy/reporting/usage-reports/number-lookup.mjs +26 -26
  799. package/resources/legacy/reporting/usage-reports/number-lookup.mjs.map +1 -1
  800. package/resources/legacy/reporting/usage-reports/usage-reports.d.mts +2 -2
  801. package/resources/legacy/reporting/usage-reports/usage-reports.d.mts.map +1 -1
  802. package/resources/legacy/reporting/usage-reports/usage-reports.d.ts +2 -2
  803. package/resources/legacy/reporting/usage-reports/usage-reports.d.ts.map +1 -1
  804. package/resources/legacy/reporting/usage-reports/voice.d.mts +21 -21
  805. package/resources/legacy/reporting/usage-reports/voice.d.mts.map +1 -1
  806. package/resources/legacy/reporting/usage-reports/voice.d.ts +21 -21
  807. package/resources/legacy/reporting/usage-reports/voice.d.ts.map +1 -1
  808. package/resources/legacy/reporting/usage-reports/voice.js +22 -22
  809. package/resources/legacy/reporting/usage-reports/voice.js.map +1 -1
  810. package/resources/legacy/reporting/usage-reports/voice.mjs +22 -22
  811. package/resources/legacy/reporting/usage-reports/voice.mjs.map +1 -1
  812. package/resources/managed-accounts/index.d.mts +1 -1
  813. package/resources/managed-accounts/index.d.mts.map +1 -1
  814. package/resources/managed-accounts/index.d.ts +1 -1
  815. package/resources/managed-accounts/index.d.ts.map +1 -1
  816. package/resources/managed-accounts/managed-accounts.d.mts +68 -68
  817. package/resources/managed-accounts/managed-accounts.d.mts.map +1 -1
  818. package/resources/managed-accounts/managed-accounts.d.ts +68 -68
  819. package/resources/managed-accounts/managed-accounts.d.ts.map +1 -1
  820. package/resources/managed-accounts/managed-accounts.js +31 -31
  821. package/resources/managed-accounts/managed-accounts.js.map +1 -1
  822. package/resources/managed-accounts/managed-accounts.mjs +31 -31
  823. package/resources/managed-accounts/managed-accounts.mjs.map +1 -1
  824. package/resources/media.d.mts +36 -36
  825. package/resources/media.d.mts.map +1 -1
  826. package/resources/media.d.ts +36 -36
  827. package/resources/media.d.ts.map +1 -1
  828. package/resources/media.js +32 -32
  829. package/resources/media.js.map +1 -1
  830. package/resources/media.mjs +32 -32
  831. package/resources/media.mjs.map +1 -1
  832. package/resources/messages/index.d.mts +1 -1
  833. package/resources/messages/index.d.mts.map +1 -1
  834. package/resources/messages/index.d.ts +1 -1
  835. package/resources/messages/index.d.ts.map +1 -1
  836. package/resources/messages/messages.d.mts +152 -152
  837. package/resources/messages/messages.d.mts.map +1 -1
  838. package/resources/messages/messages.d.ts +152 -152
  839. package/resources/messages/messages.d.ts.map +1 -1
  840. package/resources/messages/messages.js +76 -76
  841. package/resources/messages/messages.js.map +1 -1
  842. package/resources/messages/messages.mjs +76 -76
  843. package/resources/messages/messages.mjs.map +1 -1
  844. package/resources/messaging/index.d.mts +1 -1
  845. package/resources/messaging/index.d.mts.map +1 -1
  846. package/resources/messaging/index.d.ts +1 -1
  847. package/resources/messaging/index.d.ts.map +1 -1
  848. package/resources/messaging/messaging.d.mts +1 -1
  849. package/resources/messaging/messaging.d.mts.map +1 -1
  850. package/resources/messaging/messaging.d.ts +1 -1
  851. package/resources/messaging/messaging.d.ts.map +1 -1
  852. package/resources/messaging/rcs/agents.d.mts +15 -15
  853. package/resources/messaging/rcs/agents.d.mts.map +1 -1
  854. package/resources/messaging/rcs/agents.d.ts +15 -15
  855. package/resources/messaging/rcs/agents.d.ts.map +1 -1
  856. package/resources/messaging/rcs/agents.js +17 -17
  857. package/resources/messaging/rcs/agents.js.map +1 -1
  858. package/resources/messaging/rcs/agents.mjs +17 -17
  859. package/resources/messaging/rcs/agents.mjs.map +1 -1
  860. package/resources/messaging/rcs/index.d.mts +2 -2
  861. package/resources/messaging/rcs/index.d.mts.map +1 -1
  862. package/resources/messaging/rcs/index.d.ts +2 -2
  863. package/resources/messaging/rcs/index.d.ts.map +1 -1
  864. package/resources/messaging/rcs/rcs.d.mts +21 -21
  865. package/resources/messaging/rcs/rcs.d.mts.map +1 -1
  866. package/resources/messaging/rcs/rcs.d.ts +21 -21
  867. package/resources/messaging/rcs/rcs.d.ts.map +1 -1
  868. package/resources/messaging/rcs/rcs.js +16 -16
  869. package/resources/messaging/rcs/rcs.js.map +1 -1
  870. package/resources/messaging/rcs/rcs.mjs +16 -16
  871. package/resources/messaging/rcs/rcs.mjs.map +1 -1
  872. package/resources/messaging-10dlc/brand/brand.d.mts +116 -116
  873. package/resources/messaging-10dlc/brand/brand.d.mts.map +1 -1
  874. package/resources/messaging-10dlc/brand/brand.d.ts +116 -116
  875. package/resources/messaging-10dlc/brand/brand.d.ts.map +1 -1
  876. package/resources/messaging-10dlc/brand/brand.js +89 -89
  877. package/resources/messaging-10dlc/brand/brand.js.map +1 -1
  878. package/resources/messaging-10dlc/brand/brand.mjs +89 -89
  879. package/resources/messaging-10dlc/brand/brand.mjs.map +1 -1
  880. package/resources/messaging-10dlc/brand/external-vetting.d.mts +26 -26
  881. package/resources/messaging-10dlc/brand/external-vetting.d.mts.map +1 -1
  882. package/resources/messaging-10dlc/brand/external-vetting.d.ts +26 -26
  883. package/resources/messaging-10dlc/brand/external-vetting.d.ts.map +1 -1
  884. package/resources/messaging-10dlc/brand/external-vetting.js +17 -17
  885. package/resources/messaging-10dlc/brand/external-vetting.js.map +1 -1
  886. package/resources/messaging-10dlc/brand/external-vetting.mjs +17 -17
  887. package/resources/messaging-10dlc/brand/external-vetting.mjs.map +1 -1
  888. package/resources/messaging-10dlc/brand/index.d.mts +2 -2
  889. package/resources/messaging-10dlc/brand/index.d.mts.map +1 -1
  890. package/resources/messaging-10dlc/brand/index.d.ts +2 -2
  891. package/resources/messaging-10dlc/brand/index.d.ts.map +1 -1
  892. package/resources/messaging-10dlc/campaign/campaign.d.mts +54 -54
  893. package/resources/messaging-10dlc/campaign/campaign.d.mts.map +1 -1
  894. package/resources/messaging-10dlc/campaign/campaign.d.ts +54 -54
  895. package/resources/messaging-10dlc/campaign/campaign.d.ts.map +1 -1
  896. package/resources/messaging-10dlc/campaign/campaign.js +48 -48
  897. package/resources/messaging-10dlc/campaign/campaign.js.map +1 -1
  898. package/resources/messaging-10dlc/campaign/campaign.mjs +48 -48
  899. package/resources/messaging-10dlc/campaign/campaign.mjs.map +1 -1
  900. package/resources/messaging-10dlc/campaign/index.d.mts +1 -1
  901. package/resources/messaging-10dlc/campaign/index.d.mts.map +1 -1
  902. package/resources/messaging-10dlc/campaign/index.d.ts +1 -1
  903. package/resources/messaging-10dlc/campaign/index.d.ts.map +1 -1
  904. package/resources/messaging-10dlc/index.d.mts +5 -5
  905. package/resources/messaging-10dlc/index.d.mts.map +1 -1
  906. package/resources/messaging-10dlc/index.d.ts +5 -5
  907. package/resources/messaging-10dlc/index.d.ts.map +1 -1
  908. package/resources/messaging-10dlc/messaging-10dlc.d.mts +6 -6
  909. package/resources/messaging-10dlc/messaging-10dlc.d.mts.map +1 -1
  910. package/resources/messaging-10dlc/messaging-10dlc.d.ts +6 -6
  911. package/resources/messaging-10dlc/messaging-10dlc.d.ts.map +1 -1
  912. package/resources/messaging-10dlc/partner-campaigns.d.mts +36 -36
  913. package/resources/messaging-10dlc/partner-campaigns.d.mts.map +1 -1
  914. package/resources/messaging-10dlc/partner-campaigns.d.ts +36 -36
  915. package/resources/messaging-10dlc/partner-campaigns.d.ts.map +1 -1
  916. package/resources/messaging-10dlc/partner-campaigns.js +29 -29
  917. package/resources/messaging-10dlc/partner-campaigns.js.map +1 -1
  918. package/resources/messaging-10dlc/partner-campaigns.mjs +29 -29
  919. package/resources/messaging-10dlc/partner-campaigns.mjs.map +1 -1
  920. package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.mts +11 -11
  921. package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.mts.map +1 -1
  922. package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.ts +11 -11
  923. package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.ts.map +1 -1
  924. package/resources/messaging-10dlc/phone-number-assignment-by-profile.js +13 -13
  925. package/resources/messaging-10dlc/phone-number-assignment-by-profile.js.map +1 -1
  926. package/resources/messaging-10dlc/phone-number-assignment-by-profile.mjs +13 -13
  927. package/resources/messaging-10dlc/phone-number-assignment-by-profile.mjs.map +1 -1
  928. package/resources/messaging-10dlc/phone-number-campaigns.d.mts +46 -46
  929. package/resources/messaging-10dlc/phone-number-campaigns.d.mts.map +1 -1
  930. package/resources/messaging-10dlc/phone-number-campaigns.d.ts +46 -46
  931. package/resources/messaging-10dlc/phone-number-campaigns.d.ts.map +1 -1
  932. package/resources/messaging-10dlc/phone-number-campaigns.js +29 -29
  933. package/resources/messaging-10dlc/phone-number-campaigns.js.map +1 -1
  934. package/resources/messaging-10dlc/phone-number-campaigns.mjs +29 -29
  935. package/resources/messaging-10dlc/phone-number-campaigns.mjs.map +1 -1
  936. package/resources/messaging-hosted-number-orders/index.d.mts +1 -1
  937. package/resources/messaging-hosted-number-orders/index.d.mts.map +1 -1
  938. package/resources/messaging-hosted-number-orders/index.d.ts +1 -1
  939. package/resources/messaging-hosted-number-orders/index.d.ts.map +1 -1
  940. package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.d.mts +39 -39
  941. package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.d.mts.map +1 -1
  942. package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.d.ts +39 -39
  943. package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.d.ts.map +1 -1
  944. package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.js +41 -41
  945. package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.js.map +1 -1
  946. package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.mjs +41 -41
  947. package/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.mjs.map +1 -1
  948. package/resources/messaging-hosted-numbers.d.mts +35 -35
  949. package/resources/messaging-hosted-numbers.d.mts.map +1 -1
  950. package/resources/messaging-hosted-numbers.d.ts +35 -35
  951. package/resources/messaging-hosted-numbers.d.ts.map +1 -1
  952. package/resources/messaging-hosted-numbers.js +20 -20
  953. package/resources/messaging-hosted-numbers.js.map +1 -1
  954. package/resources/messaging-hosted-numbers.mjs +20 -20
  955. package/resources/messaging-hosted-numbers.mjs.map +1 -1
  956. package/resources/messaging-profiles/autoresp-configs.d.mts +60 -60
  957. package/resources/messaging-profiles/autoresp-configs.d.mts.map +1 -1
  958. package/resources/messaging-profiles/autoresp-configs.d.ts +60 -60
  959. package/resources/messaging-profiles/autoresp-configs.d.ts.map +1 -1
  960. package/resources/messaging-profiles/autoresp-configs.js +30 -30
  961. package/resources/messaging-profiles/autoresp-configs.js.map +1 -1
  962. package/resources/messaging-profiles/autoresp-configs.mjs +30 -30
  963. package/resources/messaging-profiles/autoresp-configs.mjs.map +1 -1
  964. package/resources/messaging-profiles/index.d.mts +2 -2
  965. package/resources/messaging-profiles/index.d.mts.map +1 -1
  966. package/resources/messaging-profiles/index.d.ts +2 -2
  967. package/resources/messaging-profiles/index.d.ts.map +1 -1
  968. package/resources/messaging-profiles/messaging-profiles.d.mts +60 -60
  969. package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
  970. package/resources/messaging-profiles/messaging-profiles.d.ts +60 -60
  971. package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
  972. package/resources/messaging-profiles/messaging-profiles.js +41 -41
  973. package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
  974. package/resources/messaging-profiles/messaging-profiles.mjs +41 -41
  975. package/resources/messaging-profiles/messaging-profiles.mjs.map +1 -1
  976. package/resources/messaging-tollfree/verification/index.d.mts +1 -1
  977. package/resources/messaging-tollfree/verification/index.d.mts.map +1 -1
  978. package/resources/messaging-tollfree/verification/index.d.ts +1 -1
  979. package/resources/messaging-tollfree/verification/index.d.ts.map +1 -1
  980. package/resources/messaging-tollfree/verification/requests.d.mts +54 -54
  981. package/resources/messaging-tollfree/verification/requests.d.mts.map +1 -1
  982. package/resources/messaging-tollfree/verification/requests.d.ts +54 -54
  983. package/resources/messaging-tollfree/verification/requests.d.ts.map +1 -1
  984. package/resources/messaging-tollfree/verification/requests.js +38 -38
  985. package/resources/messaging-tollfree/verification/requests.js.map +1 -1
  986. package/resources/messaging-tollfree/verification/requests.mjs +38 -38
  987. package/resources/messaging-tollfree/verification/requests.mjs.map +1 -1
  988. package/resources/messaging-tollfree/verification/verification.d.mts +1 -1
  989. package/resources/messaging-tollfree/verification/verification.d.mts.map +1 -1
  990. package/resources/messaging-tollfree/verification/verification.d.ts +1 -1
  991. package/resources/messaging-tollfree/verification/verification.d.ts.map +1 -1
  992. package/resources/mobile-phone-numbers/index.d.mts +1 -1
  993. package/resources/mobile-phone-numbers/index.d.mts.map +1 -1
  994. package/resources/mobile-phone-numbers/index.d.ts +1 -1
  995. package/resources/mobile-phone-numbers/index.d.ts.map +1 -1
  996. package/resources/mobile-phone-numbers/messaging.d.mts +4 -4
  997. package/resources/mobile-phone-numbers/messaging.d.mts.map +1 -1
  998. package/resources/mobile-phone-numbers/messaging.d.ts +4 -4
  999. package/resources/mobile-phone-numbers/messaging.d.ts.map +1 -1
  1000. package/resources/mobile-phone-numbers/messaging.js +6 -6
  1001. package/resources/mobile-phone-numbers/messaging.js.map +1 -1
  1002. package/resources/mobile-phone-numbers/messaging.mjs +6 -6
  1003. package/resources/mobile-phone-numbers/messaging.mjs.map +1 -1
  1004. package/resources/mobile-phone-numbers/mobile-phone-numbers.d.mts +7 -7
  1005. package/resources/mobile-phone-numbers/mobile-phone-numbers.d.mts.map +1 -1
  1006. package/resources/mobile-phone-numbers/mobile-phone-numbers.d.ts +7 -7
  1007. package/resources/mobile-phone-numbers/mobile-phone-numbers.d.ts.map +1 -1
  1008. package/resources/mobile-phone-numbers/mobile-phone-numbers.js +9 -9
  1009. package/resources/mobile-phone-numbers/mobile-phone-numbers.js.map +1 -1
  1010. package/resources/mobile-phone-numbers/mobile-phone-numbers.mjs +9 -9
  1011. package/resources/mobile-phone-numbers/mobile-phone-numbers.mjs.map +1 -1
  1012. package/resources/mobile-push-credentials.d.mts +32 -32
  1013. package/resources/mobile-push-credentials.d.mts.map +1 -1
  1014. package/resources/mobile-push-credentials.d.ts +32 -32
  1015. package/resources/mobile-push-credentials.d.ts.map +1 -1
  1016. package/resources/mobile-push-credentials.js +15 -15
  1017. package/resources/mobile-push-credentials.js.map +1 -1
  1018. package/resources/mobile-push-credentials.mjs +15 -15
  1019. package/resources/mobile-push-credentials.mjs.map +1 -1
  1020. package/resources/mobile-voice-connections.d.mts +20 -20
  1021. package/resources/mobile-voice-connections.d.mts.map +1 -1
  1022. package/resources/mobile-voice-connections.d.ts +20 -20
  1023. package/resources/mobile-voice-connections.d.ts.map +1 -1
  1024. package/resources/mobile-voice-connections.js +12 -12
  1025. package/resources/mobile-voice-connections.js.map +1 -1
  1026. package/resources/mobile-voice-connections.mjs +12 -12
  1027. package/resources/mobile-voice-connections.mjs.map +1 -1
  1028. package/resources/networks/default-gateway.d.mts +6 -6
  1029. package/resources/networks/default-gateway.d.mts.map +1 -1
  1030. package/resources/networks/default-gateway.d.ts +6 -6
  1031. package/resources/networks/default-gateway.d.ts.map +1 -1
  1032. package/resources/networks/default-gateway.js +8 -8
  1033. package/resources/networks/default-gateway.js.map +1 -1
  1034. package/resources/networks/default-gateway.mjs +8 -8
  1035. package/resources/networks/default-gateway.mjs.map +1 -1
  1036. package/resources/networks/index.d.mts +1 -1
  1037. package/resources/networks/index.d.mts.map +1 -1
  1038. package/resources/networks/index.d.ts +1 -1
  1039. package/resources/networks/index.d.ts.map +1 -1
  1040. package/resources/networks/networks.d.mts +29 -29
  1041. package/resources/networks/networks.d.mts.map +1 -1
  1042. package/resources/networks/networks.d.ts +29 -29
  1043. package/resources/networks/networks.d.ts.map +1 -1
  1044. package/resources/networks/networks.js +27 -27
  1045. package/resources/networks/networks.js.map +1 -1
  1046. package/resources/networks/networks.mjs +27 -27
  1047. package/resources/networks/networks.mjs.map +1 -1
  1048. package/resources/notification-channels.d.mts +50 -50
  1049. package/resources/notification-channels.d.mts.map +1 -1
  1050. package/resources/notification-channels.d.ts +50 -50
  1051. package/resources/notification-channels.d.ts.map +1 -1
  1052. package/resources/notification-channels.js +29 -29
  1053. package/resources/notification-channels.js.map +1 -1
  1054. package/resources/notification-channels.mjs +29 -29
  1055. package/resources/notification-channels.mjs.map +1 -1
  1056. package/resources/notification-profiles.d.mts +11 -11
  1057. package/resources/notification-profiles.d.mts.map +1 -1
  1058. package/resources/notification-profiles.d.ts +11 -11
  1059. package/resources/notification-profiles.d.ts.map +1 -1
  1060. package/resources/notification-profiles.js +15 -15
  1061. package/resources/notification-profiles.js.map +1 -1
  1062. package/resources/notification-profiles.mjs +15 -15
  1063. package/resources/notification-profiles.mjs.map +1 -1
  1064. package/resources/notification-settings.d.mts +40 -40
  1065. package/resources/notification-settings.d.mts.map +1 -1
  1066. package/resources/notification-settings.d.ts +40 -40
  1067. package/resources/notification-settings.d.ts.map +1 -1
  1068. package/resources/notification-settings.js +25 -25
  1069. package/resources/notification-settings.js.map +1 -1
  1070. package/resources/notification-settings.mjs +25 -25
  1071. package/resources/notification-settings.mjs.map +1 -1
  1072. package/resources/number-block-orders.d.mts +35 -35
  1073. package/resources/number-block-orders.d.mts.map +1 -1
  1074. package/resources/number-block-orders.d.ts +35 -35
  1075. package/resources/number-block-orders.d.ts.map +1 -1
  1076. package/resources/number-block-orders.js +17 -17
  1077. package/resources/number-block-orders.js.map +1 -1
  1078. package/resources/number-block-orders.mjs +17 -17
  1079. package/resources/number-block-orders.mjs.map +1 -1
  1080. package/resources/number-order-phone-numbers.d.mts +4 -4
  1081. package/resources/number-order-phone-numbers.d.mts.map +1 -1
  1082. package/resources/number-order-phone-numbers.d.ts +4 -4
  1083. package/resources/number-order-phone-numbers.d.ts.map +1 -1
  1084. package/resources/number-order-phone-numbers.js +6 -6
  1085. package/resources/number-order-phone-numbers.js.map +1 -1
  1086. package/resources/number-order-phone-numbers.mjs +6 -6
  1087. package/resources/number-order-phone-numbers.mjs.map +1 -1
  1088. package/resources/number-orders.d.mts +55 -55
  1089. package/resources/number-orders.d.mts.map +1 -1
  1090. package/resources/number-orders.d.ts +55 -55
  1091. package/resources/number-orders.d.ts.map +1 -1
  1092. package/resources/number-orders.js +17 -17
  1093. package/resources/number-orders.js.map +1 -1
  1094. package/resources/number-orders.mjs +17 -17
  1095. package/resources/number-orders.mjs.map +1 -1
  1096. package/resources/number-reservations/index.d.mts +1 -1
  1097. package/resources/number-reservations/index.d.mts.map +1 -1
  1098. package/resources/number-reservations/index.d.ts +1 -1
  1099. package/resources/number-reservations/index.d.ts.map +1 -1
  1100. package/resources/number-reservations/number-reservations.d.mts +20 -20
  1101. package/resources/number-reservations/number-reservations.d.mts.map +1 -1
  1102. package/resources/number-reservations/number-reservations.d.ts +20 -20
  1103. package/resources/number-reservations/number-reservations.d.ts.map +1 -1
  1104. package/resources/number-reservations/number-reservations.js +17 -17
  1105. package/resources/number-reservations/number-reservations.js.map +1 -1
  1106. package/resources/number-reservations/number-reservations.mjs +17 -17
  1107. package/resources/number-reservations/number-reservations.mjs.map +1 -1
  1108. package/resources/oauth-clients.d.mts +48 -48
  1109. package/resources/oauth-clients.d.mts.map +1 -1
  1110. package/resources/oauth-clients.d.ts +48 -48
  1111. package/resources/oauth-clients.d.ts.map +1 -1
  1112. package/resources/oauth-clients.js +32 -32
  1113. package/resources/oauth-clients.js.map +1 -1
  1114. package/resources/oauth-clients.mjs +32 -32
  1115. package/resources/oauth-clients.mjs.map +1 -1
  1116. package/resources/oauth-grants.d.mts +4 -4
  1117. package/resources/oauth-grants.d.mts.map +1 -1
  1118. package/resources/oauth-grants.d.ts +4 -4
  1119. package/resources/oauth-grants.d.ts.map +1 -1
  1120. package/resources/oauth-grants.js +6 -6
  1121. package/resources/oauth-grants.js.map +1 -1
  1122. package/resources/oauth-grants.mjs +6 -6
  1123. package/resources/oauth-grants.mjs.map +1 -1
  1124. package/resources/oauth.d.mts +50 -50
  1125. package/resources/oauth.d.mts.map +1 -1
  1126. package/resources/oauth.d.ts +50 -50
  1127. package/resources/oauth.d.ts.map +1 -1
  1128. package/resources/oauth.js +27 -27
  1129. package/resources/oauth.js.map +1 -1
  1130. package/resources/oauth.mjs +27 -27
  1131. package/resources/oauth.mjs.map +1 -1
  1132. package/resources/organizations/index.d.mts +1 -1
  1133. package/resources/organizations/index.d.mts.map +1 -1
  1134. package/resources/organizations/index.d.ts +1 -1
  1135. package/resources/organizations/index.d.ts.map +1 -1
  1136. package/resources/organizations/organizations.d.mts +1 -1
  1137. package/resources/organizations/organizations.d.mts.map +1 -1
  1138. package/resources/organizations/organizations.d.ts +1 -1
  1139. package/resources/organizations/organizations.d.ts.map +1 -1
  1140. package/resources/organizations/users/index.d.mts +1 -1
  1141. package/resources/organizations/users/index.d.mts.map +1 -1
  1142. package/resources/organizations/users/index.d.ts +1 -1
  1143. package/resources/organizations/users/index.d.ts.map +1 -1
  1144. package/resources/organizations/users/users.d.mts +13 -13
  1145. package/resources/organizations/users/users.d.mts.map +1 -1
  1146. package/resources/organizations/users/users.d.ts +13 -13
  1147. package/resources/organizations/users/users.d.ts.map +1 -1
  1148. package/resources/organizations/users/users.js +6 -6
  1149. package/resources/organizations/users/users.js.map +1 -1
  1150. package/resources/organizations/users/users.mjs +6 -6
  1151. package/resources/organizations/users/users.mjs.map +1 -1
  1152. package/resources/ota-updates.d.mts +4 -4
  1153. package/resources/ota-updates.d.mts.map +1 -1
  1154. package/resources/ota-updates.d.ts +4 -4
  1155. package/resources/ota-updates.d.ts.map +1 -1
  1156. package/resources/ota-updates.js +6 -6
  1157. package/resources/ota-updates.js.map +1 -1
  1158. package/resources/ota-updates.mjs +6 -6
  1159. package/resources/ota-updates.mjs.map +1 -1
  1160. package/resources/outbound-voice-profiles.d.mts +71 -71
  1161. package/resources/outbound-voice-profiles.d.mts.map +1 -1
  1162. package/resources/outbound-voice-profiles.d.ts +71 -71
  1163. package/resources/outbound-voice-profiles.d.ts.map +1 -1
  1164. package/resources/outbound-voice-profiles.js +31 -31
  1165. package/resources/outbound-voice-profiles.js.map +1 -1
  1166. package/resources/outbound-voice-profiles.mjs +31 -31
  1167. package/resources/outbound-voice-profiles.mjs.map +1 -1
  1168. package/resources/payment/auto-recharge-prefs.d.mts +8 -8
  1169. package/resources/payment/auto-recharge-prefs.d.mts.map +1 -1
  1170. package/resources/payment/auto-recharge-prefs.d.ts +8 -8
  1171. package/resources/payment/auto-recharge-prefs.d.ts.map +1 -1
  1172. package/resources/payment/auto-recharge-prefs.js +10 -10
  1173. package/resources/payment/auto-recharge-prefs.js.map +1 -1
  1174. package/resources/payment/auto-recharge-prefs.mjs +10 -10
  1175. package/resources/payment/auto-recharge-prefs.mjs.map +1 -1
  1176. package/resources/phone-number-blocks/jobs.d.mts +11 -11
  1177. package/resources/phone-number-blocks/jobs.d.mts.map +1 -1
  1178. package/resources/phone-number-blocks/jobs.d.ts +11 -11
  1179. package/resources/phone-number-blocks/jobs.d.ts.map +1 -1
  1180. package/resources/phone-number-blocks/jobs.js +13 -13
  1181. package/resources/phone-number-blocks/jobs.js.map +1 -1
  1182. package/resources/phone-number-blocks/jobs.mjs +13 -13
  1183. package/resources/phone-number-blocks/jobs.mjs.map +1 -1
  1184. package/resources/phone-numbers/actions.d.mts +20 -20
  1185. package/resources/phone-numbers/actions.d.mts.map +1 -1
  1186. package/resources/phone-numbers/actions.d.ts +20 -20
  1187. package/resources/phone-numbers/actions.d.ts.map +1 -1
  1188. package/resources/phone-numbers/actions.js +15 -15
  1189. package/resources/phone-numbers/actions.js.map +1 -1
  1190. package/resources/phone-numbers/actions.mjs +15 -15
  1191. package/resources/phone-numbers/actions.mjs.map +1 -1
  1192. package/resources/phone-numbers/csv-downloads.d.mts +15 -15
  1193. package/resources/phone-numbers/csv-downloads.d.mts.map +1 -1
  1194. package/resources/phone-numbers/csv-downloads.d.ts +15 -15
  1195. package/resources/phone-numbers/csv-downloads.d.ts.map +1 -1
  1196. package/resources/phone-numbers/csv-downloads.js +17 -17
  1197. package/resources/phone-numbers/csv-downloads.js.map +1 -1
  1198. package/resources/phone-numbers/csv-downloads.mjs +17 -17
  1199. package/resources/phone-numbers/csv-downloads.mjs.map +1 -1
  1200. package/resources/phone-numbers/index.d.mts +7 -7
  1201. package/resources/phone-numbers/index.d.mts.map +1 -1
  1202. package/resources/phone-numbers/index.d.ts +7 -7
  1203. package/resources/phone-numbers/index.d.ts.map +1 -1
  1204. package/resources/phone-numbers/jobs.d.mts +37 -37
  1205. package/resources/phone-numbers/jobs.d.mts.map +1 -1
  1206. package/resources/phone-numbers/jobs.d.ts +37 -37
  1207. package/resources/phone-numbers/jobs.d.ts.map +1 -1
  1208. package/resources/phone-numbers/jobs.js +26 -26
  1209. package/resources/phone-numbers/jobs.js.map +1 -1
  1210. package/resources/phone-numbers/jobs.mjs +26 -26
  1211. package/resources/phone-numbers/jobs.mjs.map +1 -1
  1212. package/resources/phone-numbers/messaging.d.mts +35 -35
  1213. package/resources/phone-numbers/messaging.d.mts.map +1 -1
  1214. package/resources/phone-numbers/messaging.d.ts +35 -35
  1215. package/resources/phone-numbers/messaging.d.ts.map +1 -1
  1216. package/resources/phone-numbers/messaging.js +14 -14
  1217. package/resources/phone-numbers/messaging.js.map +1 -1
  1218. package/resources/phone-numbers/messaging.mjs +14 -14
  1219. package/resources/phone-numbers/messaging.mjs.map +1 -1
  1220. package/resources/phone-numbers/phone-numbers.d.mts +66 -66
  1221. package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
  1222. package/resources/phone-numbers/phone-numbers.d.ts +66 -66
  1223. package/resources/phone-numbers/phone-numbers.d.ts.map +1 -1
  1224. package/resources/phone-numbers/phone-numbers.js +34 -34
  1225. package/resources/phone-numbers/phone-numbers.js.map +1 -1
  1226. package/resources/phone-numbers/phone-numbers.mjs +34 -34
  1227. package/resources/phone-numbers/phone-numbers.mjs.map +1 -1
  1228. package/resources/phone-numbers/voice.d.mts +56 -56
  1229. package/resources/phone-numbers/voice.d.mts.map +1 -1
  1230. package/resources/phone-numbers/voice.d.ts +56 -56
  1231. package/resources/phone-numbers/voice.d.ts.map +1 -1
  1232. package/resources/phone-numbers/voice.js +14 -14
  1233. package/resources/phone-numbers/voice.js.map +1 -1
  1234. package/resources/phone-numbers/voice.mjs +14 -14
  1235. package/resources/phone-numbers/voice.mjs.map +1 -1
  1236. package/resources/phone-numbers/voicemail.d.mts +12 -12
  1237. package/resources/phone-numbers/voicemail.d.mts.map +1 -1
  1238. package/resources/phone-numbers/voicemail.d.ts +12 -12
  1239. package/resources/phone-numbers/voicemail.d.ts.map +1 -1
  1240. package/resources/phone-numbers/voicemail.js +12 -12
  1241. package/resources/phone-numbers/voicemail.js.map +1 -1
  1242. package/resources/phone-numbers/voicemail.mjs +12 -12
  1243. package/resources/phone-numbers/voicemail.mjs.map +1 -1
  1244. package/resources/porting/events.d.mts +11 -11
  1245. package/resources/porting/events.d.mts.map +1 -1
  1246. package/resources/porting/events.d.ts +11 -11
  1247. package/resources/porting/events.d.ts.map +1 -1
  1248. package/resources/porting/events.js +13 -13
  1249. package/resources/porting/events.js.map +1 -1
  1250. package/resources/porting/events.mjs +13 -13
  1251. package/resources/porting/events.mjs.map +1 -1
  1252. package/resources/porting/index.d.mts +2 -2
  1253. package/resources/porting/index.d.mts.map +1 -1
  1254. package/resources/porting/index.d.ts +2 -2
  1255. package/resources/porting/index.d.ts.map +1 -1
  1256. package/resources/porting/loa-configurations.d.mts +92 -92
  1257. package/resources/porting/loa-configurations.d.mts.map +1 -1
  1258. package/resources/porting/loa-configurations.d.ts +92 -92
  1259. package/resources/porting/loa-configurations.d.ts.map +1 -1
  1260. package/resources/porting/loa-configurations.js +89 -89
  1261. package/resources/porting/loa-configurations.js.map +1 -1
  1262. package/resources/porting/loa-configurations.mjs +89 -89
  1263. package/resources/porting/loa-configurations.mjs.map +1 -1
  1264. package/resources/porting/porting.d.mts +2 -2
  1265. package/resources/porting/porting.d.mts.map +1 -1
  1266. package/resources/porting/porting.d.ts +2 -2
  1267. package/resources/porting/porting.d.ts.map +1 -1
  1268. package/resources/porting/reports.d.mts +23 -23
  1269. package/resources/porting/reports.d.mts.map +1 -1
  1270. package/resources/porting/reports.d.ts +23 -23
  1271. package/resources/porting/reports.d.ts.map +1 -1
  1272. package/resources/porting/reports.js +17 -17
  1273. package/resources/porting/reports.js.map +1 -1
  1274. package/resources/porting/reports.mjs +17 -17
  1275. package/resources/porting/reports.mjs.map +1 -1
  1276. package/resources/porting-orders/activation-jobs.d.mts +17 -17
  1277. package/resources/porting-orders/activation-jobs.d.mts.map +1 -1
  1278. package/resources/porting-orders/activation-jobs.d.ts +17 -17
  1279. package/resources/porting-orders/activation-jobs.d.ts.map +1 -1
  1280. package/resources/porting-orders/activation-jobs.js +16 -16
  1281. package/resources/porting-orders/activation-jobs.js.map +1 -1
  1282. package/resources/porting-orders/activation-jobs.mjs +16 -16
  1283. package/resources/porting-orders/activation-jobs.mjs.map +1 -1
  1284. package/resources/porting-orders/additional-documents.d.mts +28 -28
  1285. package/resources/porting-orders/additional-documents.d.mts.map +1 -1
  1286. package/resources/porting-orders/additional-documents.d.ts +28 -28
  1287. package/resources/porting-orders/additional-documents.d.ts.map +1 -1
  1288. package/resources/porting-orders/additional-documents.js +14 -14
  1289. package/resources/porting-orders/additional-documents.js.map +1 -1
  1290. package/resources/porting-orders/additional-documents.mjs +14 -14
  1291. package/resources/porting-orders/additional-documents.mjs.map +1 -1
  1292. package/resources/porting-orders/associated-phone-numbers.d.mts +36 -36
  1293. package/resources/porting-orders/associated-phone-numbers.d.mts.map +1 -1
  1294. package/resources/porting-orders/associated-phone-numbers.d.ts +36 -36
  1295. package/resources/porting-orders/associated-phone-numbers.d.ts.map +1 -1
  1296. package/resources/porting-orders/associated-phone-numbers.js +18 -18
  1297. package/resources/porting-orders/associated-phone-numbers.js.map +1 -1
  1298. package/resources/porting-orders/associated-phone-numbers.mjs +18 -18
  1299. package/resources/porting-orders/associated-phone-numbers.mjs.map +1 -1
  1300. package/resources/porting-orders/comments.d.mts +14 -14
  1301. package/resources/porting-orders/comments.d.mts.map +1 -1
  1302. package/resources/porting-orders/comments.d.ts +14 -14
  1303. package/resources/porting-orders/comments.d.ts.map +1 -1
  1304. package/resources/porting-orders/comments.js +13 -13
  1305. package/resources/porting-orders/comments.js.map +1 -1
  1306. package/resources/porting-orders/comments.mjs +13 -13
  1307. package/resources/porting-orders/comments.mjs.map +1 -1
  1308. package/resources/porting-orders/index.d.mts +8 -8
  1309. package/resources/porting-orders/index.d.mts.map +1 -1
  1310. package/resources/porting-orders/index.d.ts +8 -8
  1311. package/resources/porting-orders/index.d.ts.map +1 -1
  1312. package/resources/porting-orders/phone-number-blocks.d.mts +49 -49
  1313. package/resources/porting-orders/phone-number-blocks.d.mts.map +1 -1
  1314. package/resources/porting-orders/phone-number-blocks.d.ts +49 -49
  1315. package/resources/porting-orders/phone-number-blocks.d.ts.map +1 -1
  1316. package/resources/porting-orders/phone-number-blocks.js +16 -16
  1317. package/resources/porting-orders/phone-number-blocks.js.map +1 -1
  1318. package/resources/porting-orders/phone-number-blocks.mjs +16 -16
  1319. package/resources/porting-orders/phone-number-blocks.mjs.map +1 -1
  1320. package/resources/porting-orders/phone-number-configurations.d.mts +26 -26
  1321. package/resources/porting-orders/phone-number-configurations.d.mts.map +1 -1
  1322. package/resources/porting-orders/phone-number-configurations.d.ts +26 -26
  1323. package/resources/porting-orders/phone-number-configurations.d.ts.map +1 -1
  1324. package/resources/porting-orders/phone-number-configurations.js +12 -12
  1325. package/resources/porting-orders/phone-number-configurations.js.map +1 -1
  1326. package/resources/porting-orders/phone-number-configurations.mjs +12 -12
  1327. package/resources/porting-orders/phone-number-configurations.mjs.map +1 -1
  1328. package/resources/porting-orders/phone-number-extensions.d.mts +48 -48
  1329. package/resources/porting-orders/phone-number-extensions.d.mts.map +1 -1
  1330. package/resources/porting-orders/phone-number-extensions.d.ts +48 -48
  1331. package/resources/porting-orders/phone-number-extensions.d.ts.map +1 -1
  1332. package/resources/porting-orders/phone-number-extensions.js +16 -16
  1333. package/resources/porting-orders/phone-number-extensions.js.map +1 -1
  1334. package/resources/porting-orders/phone-number-extensions.mjs +16 -16
  1335. package/resources/porting-orders/phone-number-extensions.mjs.map +1 -1
  1336. package/resources/porting-orders/porting-orders.d.mts +119 -119
  1337. package/resources/porting-orders/porting-orders.d.mts.map +1 -1
  1338. package/resources/porting-orders/porting-orders.d.ts +119 -119
  1339. package/resources/porting-orders/porting-orders.d.ts.map +1 -1
  1340. package/resources/porting-orders/porting-orders.js +46 -46
  1341. package/resources/porting-orders/porting-orders.js.map +1 -1
  1342. package/resources/porting-orders/porting-orders.mjs +46 -46
  1343. package/resources/porting-orders/porting-orders.mjs.map +1 -1
  1344. package/resources/portouts/comments.d.mts +6 -6
  1345. package/resources/portouts/comments.d.mts.map +1 -1
  1346. package/resources/portouts/comments.d.ts +6 -6
  1347. package/resources/portouts/comments.d.ts.map +1 -1
  1348. package/resources/portouts/comments.js +8 -8
  1349. package/resources/portouts/comments.js.map +1 -1
  1350. package/resources/portouts/comments.mjs +8 -8
  1351. package/resources/portouts/comments.mjs.map +1 -1
  1352. package/resources/portouts/events.d.mts +11 -11
  1353. package/resources/portouts/events.d.mts.map +1 -1
  1354. package/resources/portouts/events.d.ts +11 -11
  1355. package/resources/portouts/events.d.ts.map +1 -1
  1356. package/resources/portouts/events.js +13 -13
  1357. package/resources/portouts/events.js.map +1 -1
  1358. package/resources/portouts/events.mjs +13 -13
  1359. package/resources/portouts/events.mjs.map +1 -1
  1360. package/resources/portouts/index.d.mts +1 -1
  1361. package/resources/portouts/index.d.mts.map +1 -1
  1362. package/resources/portouts/index.d.ts +1 -1
  1363. package/resources/portouts/index.d.ts.map +1 -1
  1364. package/resources/portouts/portouts.d.mts +12 -12
  1365. package/resources/portouts/portouts.d.mts.map +1 -1
  1366. package/resources/portouts/portouts.d.ts +12 -12
  1367. package/resources/portouts/portouts.d.ts.map +1 -1
  1368. package/resources/portouts/portouts.js +13 -13
  1369. package/resources/portouts/portouts.js.map +1 -1
  1370. package/resources/portouts/portouts.mjs +13 -13
  1371. package/resources/portouts/portouts.mjs.map +1 -1
  1372. package/resources/portouts/reports.d.mts +23 -23
  1373. package/resources/portouts/reports.d.mts.map +1 -1
  1374. package/resources/portouts/reports.d.ts +23 -23
  1375. package/resources/portouts/reports.d.ts.map +1 -1
  1376. package/resources/portouts/reports.js +17 -17
  1377. package/resources/portouts/reports.js.map +1 -1
  1378. package/resources/portouts/reports.mjs +17 -17
  1379. package/resources/portouts/reports.mjs.map +1 -1
  1380. package/resources/portouts/supporting-documents.d.mts +8 -8
  1381. package/resources/portouts/supporting-documents.d.mts.map +1 -1
  1382. package/resources/portouts/supporting-documents.d.ts +8 -8
  1383. package/resources/portouts/supporting-documents.d.ts.map +1 -1
  1384. package/resources/portouts/supporting-documents.js +10 -10
  1385. package/resources/portouts/supporting-documents.js.map +1 -1
  1386. package/resources/portouts/supporting-documents.mjs +10 -10
  1387. package/resources/portouts/supporting-documents.mjs.map +1 -1
  1388. package/resources/private-wireless-gateways.d.mts +34 -34
  1389. package/resources/private-wireless-gateways.d.mts.map +1 -1
  1390. package/resources/private-wireless-gateways.d.ts +34 -34
  1391. package/resources/private-wireless-gateways.d.ts.map +1 -1
  1392. package/resources/private-wireless-gateways.js +22 -22
  1393. package/resources/private-wireless-gateways.js.map +1 -1
  1394. package/resources/private-wireless-gateways.mjs +22 -22
  1395. package/resources/private-wireless-gateways.mjs.map +1 -1
  1396. package/resources/pronunciation-dicts.d.mts +27 -27
  1397. package/resources/pronunciation-dicts.d.mts.map +1 -1
  1398. package/resources/pronunciation-dicts.d.ts +27 -27
  1399. package/resources/pronunciation-dicts.d.ts.map +1 -1
  1400. package/resources/pronunciation-dicts.js +34 -34
  1401. package/resources/pronunciation-dicts.js.map +1 -1
  1402. package/resources/pronunciation-dicts.mjs +34 -34
  1403. package/resources/pronunciation-dicts.mjs.map +1 -1
  1404. package/resources/public-internet-gateways.d.mts +16 -16
  1405. package/resources/public-internet-gateways.d.mts.map +1 -1
  1406. package/resources/public-internet-gateways.d.ts +16 -16
  1407. package/resources/public-internet-gateways.d.ts.map +1 -1
  1408. package/resources/public-internet-gateways.js +12 -12
  1409. package/resources/public-internet-gateways.js.map +1 -1
  1410. package/resources/public-internet-gateways.mjs +12 -12
  1411. package/resources/public-internet-gateways.mjs.map +1 -1
  1412. package/resources/queues/calls.d.mts +30 -30
  1413. package/resources/queues/calls.d.mts.map +1 -1
  1414. package/resources/queues/calls.d.ts +30 -30
  1415. package/resources/queues/calls.d.ts.map +1 -1
  1416. package/resources/queues/calls.js +31 -31
  1417. package/resources/queues/calls.js.map +1 -1
  1418. package/resources/queues/calls.mjs +31 -31
  1419. package/resources/queues/calls.mjs.map +1 -1
  1420. package/resources/queues/index.d.mts +2 -2
  1421. package/resources/queues/index.d.mts.map +1 -1
  1422. package/resources/queues/index.d.ts +2 -2
  1423. package/resources/queues/index.d.ts.map +1 -1
  1424. package/resources/queues/queues.d.mts +25 -25
  1425. package/resources/queues/queues.d.mts.map +1 -1
  1426. package/resources/queues/queues.d.ts +25 -25
  1427. package/resources/queues/queues.d.ts.map +1 -1
  1428. package/resources/queues/queues.js +26 -26
  1429. package/resources/queues/queues.js.map +1 -1
  1430. package/resources/queues/queues.mjs +26 -26
  1431. package/resources/queues/queues.mjs.map +1 -1
  1432. package/resources/recording-transcriptions.d.mts +4 -4
  1433. package/resources/recording-transcriptions.d.mts.map +1 -1
  1434. package/resources/recording-transcriptions.d.ts +4 -4
  1435. package/resources/recording-transcriptions.d.ts.map +1 -1
  1436. package/resources/recording-transcriptions.js +6 -6
  1437. package/resources/recording-transcriptions.js.map +1 -1
  1438. package/resources/recording-transcriptions.mjs +6 -6
  1439. package/resources/recording-transcriptions.mjs.map +1 -1
  1440. package/resources/recordings/recordings.d.mts +11 -11
  1441. package/resources/recordings/recordings.d.mts.map +1 -1
  1442. package/resources/recordings/recordings.d.ts +11 -11
  1443. package/resources/recordings/recordings.d.ts.map +1 -1
  1444. package/resources/recordings/recordings.js +13 -13
  1445. package/resources/recordings/recordings.js.map +1 -1
  1446. package/resources/recordings/recordings.mjs +13 -13
  1447. package/resources/recordings/recordings.mjs.map +1 -1
  1448. package/resources/reports/index.d.mts +1 -1
  1449. package/resources/reports/index.d.mts.map +1 -1
  1450. package/resources/reports/index.d.ts +1 -1
  1451. package/resources/reports/index.d.ts.map +1 -1
  1452. package/resources/reports/mdr-usage-reports.d.mts +30 -30
  1453. package/resources/reports/mdr-usage-reports.d.mts.map +1 -1
  1454. package/resources/reports/mdr-usage-reports.d.ts +30 -30
  1455. package/resources/reports/mdr-usage-reports.d.ts.map +1 -1
  1456. package/resources/reports/mdr-usage-reports.js +34 -34
  1457. package/resources/reports/mdr-usage-reports.js.map +1 -1
  1458. package/resources/reports/mdr-usage-reports.mjs +34 -34
  1459. package/resources/reports/mdr-usage-reports.mjs.map +1 -1
  1460. package/resources/reports/reports.d.mts +1 -1
  1461. package/resources/reports/reports.d.mts.map +1 -1
  1462. package/resources/reports/reports.d.ts +1 -1
  1463. package/resources/reports/reports.d.ts.map +1 -1
  1464. package/resources/reputation/index.d.mts +1 -1
  1465. package/resources/reputation/index.d.mts.map +1 -1
  1466. package/resources/reputation/index.d.ts +1 -1
  1467. package/resources/reputation/index.d.ts.map +1 -1
  1468. package/resources/reputation/numbers.d.mts +11 -11
  1469. package/resources/reputation/numbers.d.mts.map +1 -1
  1470. package/resources/reputation/numbers.d.ts +11 -11
  1471. package/resources/reputation/numbers.d.ts.map +1 -1
  1472. package/resources/reputation/numbers.js +7 -7
  1473. package/resources/reputation/numbers.js.map +1 -1
  1474. package/resources/reputation/numbers.mjs +7 -7
  1475. package/resources/reputation/numbers.mjs.map +1 -1
  1476. package/resources/reputation/reputation.d.mts +1 -1
  1477. package/resources/reputation/reputation.d.mts.map +1 -1
  1478. package/resources/reputation/reputation.d.ts +1 -1
  1479. package/resources/reputation/reputation.d.ts.map +1 -1
  1480. package/resources/requirement-groups.d.mts +55 -55
  1481. package/resources/requirement-groups.d.mts.map +1 -1
  1482. package/resources/requirement-groups.d.ts +55 -55
  1483. package/resources/requirement-groups.d.ts.map +1 -1
  1484. package/resources/requirement-groups.js +24 -24
  1485. package/resources/requirement-groups.js.map +1 -1
  1486. package/resources/requirement-groups.mjs +24 -24
  1487. package/resources/requirement-groups.mjs.map +1 -1
  1488. package/resources/requirement-types.d.mts +10 -10
  1489. package/resources/requirement-types.d.mts.map +1 -1
  1490. package/resources/requirement-types.d.ts +10 -10
  1491. package/resources/requirement-types.d.ts.map +1 -1
  1492. package/resources/requirement-types.js +12 -12
  1493. package/resources/requirement-types.js.map +1 -1
  1494. package/resources/requirement-types.mjs +12 -12
  1495. package/resources/requirement-types.mjs.map +1 -1
  1496. package/resources/requirements.d.mts +11 -11
  1497. package/resources/requirements.d.mts.map +1 -1
  1498. package/resources/requirements.d.ts +11 -11
  1499. package/resources/requirements.d.ts.map +1 -1
  1500. package/resources/requirements.js +13 -13
  1501. package/resources/requirements.js.map +1 -1
  1502. package/resources/requirements.mjs +13 -13
  1503. package/resources/requirements.mjs.map +1 -1
  1504. package/resources/room-compositions.d.mts +57 -57
  1505. package/resources/room-compositions.d.mts.map +1 -1
  1506. package/resources/room-compositions.d.ts +57 -57
  1507. package/resources/room-compositions.d.ts.map +1 -1
  1508. package/resources/room-compositions.js +26 -26
  1509. package/resources/room-compositions.js.map +1 -1
  1510. package/resources/room-compositions.mjs +26 -26
  1511. package/resources/room-compositions.mjs.map +1 -1
  1512. package/resources/room-participants.d.mts +4 -4
  1513. package/resources/room-participants.d.mts.map +1 -1
  1514. package/resources/room-participants.d.ts +4 -4
  1515. package/resources/room-participants.d.ts.map +1 -1
  1516. package/resources/room-participants.js +6 -6
  1517. package/resources/room-participants.js.map +1 -1
  1518. package/resources/room-participants.mjs +6 -6
  1519. package/resources/room-participants.mjs.map +1 -1
  1520. package/resources/room-recordings.d.mts +13 -13
  1521. package/resources/room-recordings.d.mts.map +1 -1
  1522. package/resources/room-recordings.d.ts +13 -13
  1523. package/resources/room-recordings.d.ts.map +1 -1
  1524. package/resources/room-recordings.js +10 -10
  1525. package/resources/room-recordings.js.map +1 -1
  1526. package/resources/room-recordings.mjs +10 -10
  1527. package/resources/room-recordings.mjs.map +1 -1
  1528. package/resources/rooms/index.d.mts +2 -2
  1529. package/resources/rooms/index.d.mts.map +1 -1
  1530. package/resources/rooms/index.d.ts +2 -2
  1531. package/resources/rooms/index.d.ts.map +1 -1
  1532. package/resources/rooms/rooms.d.mts +83 -83
  1533. package/resources/rooms/rooms.d.mts.map +1 -1
  1534. package/resources/rooms/rooms.d.ts +83 -83
  1535. package/resources/rooms/rooms.d.ts.map +1 -1
  1536. package/resources/rooms/rooms.js +30 -30
  1537. package/resources/rooms/rooms.js.map +1 -1
  1538. package/resources/rooms/rooms.mjs +30 -30
  1539. package/resources/rooms/rooms.mjs.map +1 -1
  1540. package/resources/rooms/sessions/index.d.mts +1 -1
  1541. package/resources/rooms/sessions/index.d.mts.map +1 -1
  1542. package/resources/rooms/sessions/index.d.ts +1 -1
  1543. package/resources/rooms/sessions/index.d.ts.map +1 -1
  1544. package/resources/rooms/sessions/sessions.d.mts +18 -18
  1545. package/resources/rooms/sessions/sessions.d.mts.map +1 -1
  1546. package/resources/rooms/sessions/sessions.d.ts +18 -18
  1547. package/resources/rooms/sessions/sessions.d.ts.map +1 -1
  1548. package/resources/rooms/sessions/sessions.js +13 -13
  1549. package/resources/rooms/sessions/sessions.js.map +1 -1
  1550. package/resources/rooms/sessions/sessions.mjs +13 -13
  1551. package/resources/rooms/sessions/sessions.mjs.map +1 -1
  1552. package/resources/short-codes.d.mts +20 -20
  1553. package/resources/short-codes.d.mts.map +1 -1
  1554. package/resources/short-codes.d.ts +20 -20
  1555. package/resources/short-codes.d.ts.map +1 -1
  1556. package/resources/short-codes.js +17 -17
  1557. package/resources/short-codes.js.map +1 -1
  1558. package/resources/short-codes.mjs +17 -17
  1559. package/resources/short-codes.mjs.map +1 -1
  1560. package/resources/sim-card-data-usage-notifications.d.mts +29 -29
  1561. package/resources/sim-card-data-usage-notifications.d.mts.map +1 -1
  1562. package/resources/sim-card-data-usage-notifications.d.ts +29 -29
  1563. package/resources/sim-card-data-usage-notifications.d.ts.map +1 -1
  1564. package/resources/sim-card-data-usage-notifications.js +29 -29
  1565. package/resources/sim-card-data-usage-notifications.js.map +1 -1
  1566. package/resources/sim-card-data-usage-notifications.mjs +29 -29
  1567. package/resources/sim-card-data-usage-notifications.mjs.map +1 -1
  1568. package/resources/sim-card-groups/actions.d.mts +12 -12
  1569. package/resources/sim-card-groups/actions.d.mts.map +1 -1
  1570. package/resources/sim-card-groups/actions.d.ts +12 -12
  1571. package/resources/sim-card-groups/actions.d.ts.map +1 -1
  1572. package/resources/sim-card-groups/actions.js +14 -14
  1573. package/resources/sim-card-groups/actions.js.map +1 -1
  1574. package/resources/sim-card-groups/actions.mjs +14 -14
  1575. package/resources/sim-card-groups/actions.mjs.map +1 -1
  1576. package/resources/sim-card-groups/index.d.mts +1 -1
  1577. package/resources/sim-card-groups/index.d.mts.map +1 -1
  1578. package/resources/sim-card-groups/index.d.ts +1 -1
  1579. package/resources/sim-card-groups/index.d.ts.map +1 -1
  1580. package/resources/sim-card-groups/sim-card-groups.d.mts +36 -36
  1581. package/resources/sim-card-groups/sim-card-groups.d.mts.map +1 -1
  1582. package/resources/sim-card-groups/sim-card-groups.d.ts +36 -36
  1583. package/resources/sim-card-groups/sim-card-groups.d.ts.map +1 -1
  1584. package/resources/sim-card-groups/sim-card-groups.js +29 -29
  1585. package/resources/sim-card-groups/sim-card-groups.js.map +1 -1
  1586. package/resources/sim-card-groups/sim-card-groups.mjs +29 -29
  1587. package/resources/sim-card-groups/sim-card-groups.mjs.map +1 -1
  1588. package/resources/sim-card-orders.d.mts +23 -23
  1589. package/resources/sim-card-orders.d.mts.map +1 -1
  1590. package/resources/sim-card-orders.d.ts +23 -23
  1591. package/resources/sim-card-orders.d.ts.map +1 -1
  1592. package/resources/sim-card-orders.js +17 -17
  1593. package/resources/sim-card-orders.js.map +1 -1
  1594. package/resources/sim-card-orders.mjs +17 -17
  1595. package/resources/sim-card-orders.mjs.map +1 -1
  1596. package/resources/sim-cards/actions.d.mts +61 -61
  1597. package/resources/sim-cards/actions.d.mts.map +1 -1
  1598. package/resources/sim-cards/actions.d.ts +61 -61
  1599. package/resources/sim-cards/actions.d.ts.map +1 -1
  1600. package/resources/sim-cards/actions.js +58 -58
  1601. package/resources/sim-cards/actions.js.map +1 -1
  1602. package/resources/sim-cards/actions.mjs +58 -58
  1603. package/resources/sim-cards/actions.mjs.map +1 -1
  1604. package/resources/sim-cards/index.d.mts +2 -2
  1605. package/resources/sim-cards/index.d.mts.map +1 -1
  1606. package/resources/sim-cards/index.d.ts +2 -2
  1607. package/resources/sim-cards/index.d.ts.map +1 -1
  1608. package/resources/sim-cards/sim-cards.d.mts +65 -65
  1609. package/resources/sim-cards/sim-cards.d.mts.map +1 -1
  1610. package/resources/sim-cards/sim-cards.d.ts +65 -65
  1611. package/resources/sim-cards/sim-cards.d.ts.map +1 -1
  1612. package/resources/sim-cards/sim-cards.js +26 -26
  1613. package/resources/sim-cards/sim-cards.js.map +1 -1
  1614. package/resources/sim-cards/sim-cards.mjs +26 -26
  1615. package/resources/sim-cards/sim-cards.mjs.map +1 -1
  1616. package/resources/siprec-connectors.d.mts +9 -9
  1617. package/resources/siprec-connectors.d.mts.map +1 -1
  1618. package/resources/siprec-connectors.d.ts +9 -9
  1619. package/resources/siprec-connectors.d.ts.map +1 -1
  1620. package/resources/siprec-connectors.js +14 -14
  1621. package/resources/siprec-connectors.js.map +1 -1
  1622. package/resources/siprec-connectors.mjs +14 -14
  1623. package/resources/siprec-connectors.mjs.map +1 -1
  1624. package/resources/storage/buckets/ssl-certificate.d.mts +7 -7
  1625. package/resources/storage/buckets/ssl-certificate.d.mts.map +1 -1
  1626. package/resources/storage/buckets/ssl-certificate.d.ts +7 -7
  1627. package/resources/storage/buckets/ssl-certificate.d.ts.map +1 -1
  1628. package/resources/storage/buckets/ssl-certificate.js +9 -9
  1629. package/resources/storage/buckets/ssl-certificate.js.map +1 -1
  1630. package/resources/storage/buckets/ssl-certificate.mjs +9 -9
  1631. package/resources/storage/buckets/ssl-certificate.mjs.map +1 -1
  1632. package/resources/storage/index.d.mts +1 -0
  1633. package/resources/storage/index.d.mts.map +1 -1
  1634. package/resources/storage/index.d.ts +1 -0
  1635. package/resources/storage/index.d.ts.map +1 -1
  1636. package/resources/storage/index.js +5 -3
  1637. package/resources/storage/index.js.map +1 -1
  1638. package/resources/storage/index.mjs +1 -0
  1639. package/resources/storage/index.mjs.map +1 -1
  1640. package/resources/storage/kvs/index.d.mts +3 -0
  1641. package/resources/storage/kvs/index.d.mts.map +1 -0
  1642. package/resources/storage/kvs/index.d.ts +3 -0
  1643. package/resources/storage/kvs/index.d.ts.map +1 -0
  1644. package/resources/storage/kvs/index.js +9 -0
  1645. package/resources/storage/kvs/index.js.map +1 -0
  1646. package/resources/storage/kvs/index.mjs +4 -0
  1647. package/resources/storage/kvs/index.mjs.map +1 -0
  1648. package/resources/storage/kvs/keys.d.mts +136 -0
  1649. package/resources/storage/kvs/keys.d.mts.map +1 -0
  1650. package/resources/storage/kvs/keys.d.ts +136 -0
  1651. package/resources/storage/kvs/keys.d.ts.map +1 -0
  1652. package/resources/storage/kvs/keys.js +92 -0
  1653. package/resources/storage/kvs/keys.js.map +1 -0
  1654. package/resources/storage/kvs/keys.mjs +88 -0
  1655. package/resources/storage/kvs/keys.mjs.map +1 -0
  1656. package/resources/storage/kvs/kvs.d.mts +92 -0
  1657. package/resources/storage/kvs/kvs.d.mts.map +1 -0
  1658. package/resources/storage/kvs/kvs.d.ts +92 -0
  1659. package/resources/storage/kvs/kvs.d.ts.map +1 -0
  1660. package/resources/storage/kvs/kvs.js +81 -0
  1661. package/resources/storage/kvs/kvs.js.map +1 -0
  1662. package/resources/storage/kvs/kvs.mjs +76 -0
  1663. package/resources/storage/kvs/kvs.mjs.map +1 -0
  1664. package/resources/storage/kvs.d.mts +2 -0
  1665. package/resources/storage/kvs.d.mts.map +1 -0
  1666. package/resources/storage/kvs.d.ts +2 -0
  1667. package/resources/storage/kvs.d.ts.map +1 -0
  1668. package/resources/storage/kvs.js +6 -0
  1669. package/resources/storage/kvs.js.map +1 -0
  1670. package/resources/storage/kvs.mjs +3 -0
  1671. package/resources/storage/kvs.mjs.map +1 -0
  1672. package/resources/storage/migration-sources.d.mts +16 -16
  1673. package/resources/storage/migration-sources.d.mts.map +1 -1
  1674. package/resources/storage/migration-sources.d.ts +16 -16
  1675. package/resources/storage/migration-sources.d.ts.map +1 -1
  1676. package/resources/storage/migration-sources.js +20 -20
  1677. package/resources/storage/migration-sources.js.map +1 -1
  1678. package/resources/storage/migration-sources.mjs +20 -20
  1679. package/resources/storage/migration-sources.mjs.map +1 -1
  1680. package/resources/storage/migrations/migrations.d.mts +9 -9
  1681. package/resources/storage/migrations/migrations.d.mts.map +1 -1
  1682. package/resources/storage/migrations/migrations.d.ts +9 -9
  1683. package/resources/storage/migrations/migrations.d.ts.map +1 -1
  1684. package/resources/storage/migrations/migrations.js +11 -11
  1685. package/resources/storage/migrations/migrations.js.map +1 -1
  1686. package/resources/storage/migrations/migrations.mjs +11 -11
  1687. package/resources/storage/migrations/migrations.mjs.map +1 -1
  1688. package/resources/storage/storage.d.mts +4 -0
  1689. package/resources/storage/storage.d.mts.map +1 -1
  1690. package/resources/storage/storage.d.ts +4 -0
  1691. package/resources/storage/storage.d.ts.map +1 -1
  1692. package/resources/storage/storage.js +4 -0
  1693. package/resources/storage/storage.js.map +1 -1
  1694. package/resources/storage/storage.mjs +4 -0
  1695. package/resources/storage/storage.mjs.map +1 -1
  1696. package/resources/sub-number-orders.d.mts +48 -48
  1697. package/resources/sub-number-orders.d.mts.map +1 -1
  1698. package/resources/sub-number-orders.d.ts +48 -48
  1699. package/resources/sub-number-orders.d.ts.map +1 -1
  1700. package/resources/sub-number-orders.js +29 -29
  1701. package/resources/sub-number-orders.js.map +1 -1
  1702. package/resources/sub-number-orders.mjs +29 -29
  1703. package/resources/sub-number-orders.mjs.map +1 -1
  1704. package/resources/telephony-credentials.d.mts +52 -52
  1705. package/resources/telephony-credentials.d.mts.map +1 -1
  1706. package/resources/telephony-credentials.d.ts +52 -52
  1707. package/resources/telephony-credentials.d.ts.map +1 -1
  1708. package/resources/telephony-credentials.js +29 -29
  1709. package/resources/telephony-credentials.js.map +1 -1
  1710. package/resources/telephony-credentials.mjs +29 -29
  1711. package/resources/telephony-credentials.mjs.map +1 -1
  1712. package/resources/terms-of-service/agreements.d.mts +5 -5
  1713. package/resources/terms-of-service/agreements.d.mts.map +1 -1
  1714. package/resources/terms-of-service/agreements.d.ts +5 -5
  1715. package/resources/terms-of-service/agreements.d.ts.map +1 -1
  1716. package/resources/terms-of-service/agreements.js +7 -7
  1717. package/resources/terms-of-service/agreements.js.map +1 -1
  1718. package/resources/terms-of-service/agreements.mjs +7 -7
  1719. package/resources/terms-of-service/agreements.mjs.map +1 -1
  1720. package/resources/terms-of-service/index.d.mts +1 -1
  1721. package/resources/terms-of-service/index.d.mts.map +1 -1
  1722. package/resources/terms-of-service/index.d.ts +1 -1
  1723. package/resources/terms-of-service/index.d.ts.map +1 -1
  1724. package/resources/terms-of-service/terms-of-service.d.mts +11 -11
  1725. package/resources/terms-of-service/terms-of-service.d.mts.map +1 -1
  1726. package/resources/terms-of-service/terms-of-service.d.ts +11 -11
  1727. package/resources/terms-of-service/terms-of-service.d.ts.map +1 -1
  1728. package/resources/terms-of-service/terms-of-service.js +8 -8
  1729. package/resources/terms-of-service/terms-of-service.js.map +1 -1
  1730. package/resources/terms-of-service/terms-of-service.mjs +8 -8
  1731. package/resources/terms-of-service/terms-of-service.mjs.map +1 -1
  1732. package/resources/texml/accounts/accounts.d.mts +3 -3
  1733. package/resources/texml/accounts/accounts.d.mts.map +1 -1
  1734. package/resources/texml/accounts/accounts.d.ts +3 -3
  1735. package/resources/texml/accounts/accounts.d.ts.map +1 -1
  1736. package/resources/texml/accounts/calls/calls.d.mts +88 -88
  1737. package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
  1738. package/resources/texml/accounts/calls/calls.d.ts +88 -88
  1739. package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
  1740. package/resources/texml/accounts/calls/calls.js +34 -34
  1741. package/resources/texml/accounts/calls/calls.js.map +1 -1
  1742. package/resources/texml/accounts/calls/calls.mjs +34 -34
  1743. package/resources/texml/accounts/calls/calls.mjs.map +1 -1
  1744. package/resources/texml/accounts/calls/index.d.mts +2 -2
  1745. package/resources/texml/accounts/calls/index.d.mts.map +1 -1
  1746. package/resources/texml/accounts/calls/index.d.ts +2 -2
  1747. package/resources/texml/accounts/calls/index.d.ts.map +1 -1
  1748. package/resources/texml/accounts/calls/recordings-json.d.mts +15 -15
  1749. package/resources/texml/accounts/calls/recordings-json.d.mts.map +1 -1
  1750. package/resources/texml/accounts/calls/recordings-json.d.ts +15 -15
  1751. package/resources/texml/accounts/calls/recordings-json.d.ts.map +1 -1
  1752. package/resources/texml/accounts/calls/recordings-json.js +16 -16
  1753. package/resources/texml/accounts/calls/recordings-json.js.map +1 -1
  1754. package/resources/texml/accounts/calls/recordings-json.mjs +16 -16
  1755. package/resources/texml/accounts/calls/recordings-json.mjs.map +1 -1
  1756. package/resources/texml/accounts/conferences/conferences.d.mts +41 -41
  1757. package/resources/texml/accounts/conferences/conferences.d.mts.map +1 -1
  1758. package/resources/texml/accounts/conferences/conferences.d.ts +41 -41
  1759. package/resources/texml/accounts/conferences/conferences.d.ts.map +1 -1
  1760. package/resources/texml/accounts/conferences/conferences.js +14 -14
  1761. package/resources/texml/accounts/conferences/conferences.js.map +1 -1
  1762. package/resources/texml/accounts/conferences/conferences.mjs +14 -14
  1763. package/resources/texml/accounts/conferences/conferences.mjs.map +1 -1
  1764. package/resources/texml/accounts/conferences/index.d.mts +2 -2
  1765. package/resources/texml/accounts/conferences/index.d.mts.map +1 -1
  1766. package/resources/texml/accounts/conferences/index.d.ts +2 -2
  1767. package/resources/texml/accounts/conferences/index.d.ts.map +1 -1
  1768. package/resources/texml/accounts/conferences/participants.d.mts +111 -111
  1769. package/resources/texml/accounts/conferences/participants.d.mts.map +1 -1
  1770. package/resources/texml/accounts/conferences/participants.d.ts +111 -111
  1771. package/resources/texml/accounts/conferences/participants.d.ts.map +1 -1
  1772. package/resources/texml/accounts/conferences/participants.js +43 -43
  1773. package/resources/texml/accounts/conferences/participants.js.map +1 -1
  1774. package/resources/texml/accounts/conferences/participants.mjs +43 -43
  1775. package/resources/texml/accounts/conferences/participants.mjs.map +1 -1
  1776. package/resources/texml/accounts/index.d.mts +3 -3
  1777. package/resources/texml/accounts/index.d.mts.map +1 -1
  1778. package/resources/texml/accounts/index.d.ts +3 -3
  1779. package/resources/texml/accounts/index.d.ts.map +1 -1
  1780. package/resources/texml/accounts/queues.d.mts +18 -18
  1781. package/resources/texml/accounts/queues.d.mts.map +1 -1
  1782. package/resources/texml/accounts/queues.d.ts +18 -18
  1783. package/resources/texml/accounts/queues.d.ts.map +1 -1
  1784. package/resources/texml/accounts/queues.js +17 -17
  1785. package/resources/texml/accounts/queues.js.map +1 -1
  1786. package/resources/texml/accounts/queues.mjs +17 -17
  1787. package/resources/texml/accounts/queues.mjs.map +1 -1
  1788. package/resources/texml/index.d.mts +1 -1
  1789. package/resources/texml/index.d.mts.map +1 -1
  1790. package/resources/texml/index.d.ts +1 -1
  1791. package/resources/texml/index.d.ts.map +1 -1
  1792. package/resources/texml/texml.d.mts +28 -28
  1793. package/resources/texml/texml.d.mts.map +1 -1
  1794. package/resources/texml/texml.d.ts +28 -28
  1795. package/resources/texml/texml.d.ts.map +1 -1
  1796. package/resources/texml/texml.js +18 -18
  1797. package/resources/texml/texml.js.map +1 -1
  1798. package/resources/texml/texml.mjs +18 -18
  1799. package/resources/texml/texml.mjs.map +1 -1
  1800. package/resources/texml-applications.d.mts +67 -67
  1801. package/resources/texml-applications.d.mts.map +1 -1
  1802. package/resources/texml-applications.d.ts +67 -67
  1803. package/resources/texml-applications.d.ts.map +1 -1
  1804. package/resources/texml-applications.js +31 -31
  1805. package/resources/texml-applications.js.map +1 -1
  1806. package/resources/texml-applications.mjs +31 -31
  1807. package/resources/texml-applications.mjs.map +1 -1
  1808. package/resources/text-to-speech/index.d.mts +1 -1
  1809. package/resources/text-to-speech/index.d.mts.map +1 -1
  1810. package/resources/text-to-speech/index.d.ts +1 -1
  1811. package/resources/text-to-speech/index.d.ts.map +1 -1
  1812. package/resources/text-to-speech/text-to-speech.d.mts +19 -19
  1813. package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
  1814. package/resources/text-to-speech/text-to-speech.d.ts +19 -19
  1815. package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
  1816. package/resources/text-to-speech/text-to-speech.js +10 -10
  1817. package/resources/text-to-speech/text-to-speech.js.map +1 -1
  1818. package/resources/text-to-speech/text-to-speech.mjs +10 -10
  1819. package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
  1820. package/resources/traffic-policy-profiles.d.mts +57 -57
  1821. package/resources/traffic-policy-profiles.d.mts.map +1 -1
  1822. package/resources/traffic-policy-profiles.d.ts +57 -57
  1823. package/resources/traffic-policy-profiles.d.ts.map +1 -1
  1824. package/resources/traffic-policy-profiles.js +40 -40
  1825. package/resources/traffic-policy-profiles.js.map +1 -1
  1826. package/resources/traffic-policy-profiles.mjs +40 -40
  1827. package/resources/traffic-policy-profiles.mjs.map +1 -1
  1828. package/resources/uac-connections/index.d.mts +1 -1
  1829. package/resources/uac-connections/index.d.mts.map +1 -1
  1830. package/resources/uac-connections/index.d.ts +1 -1
  1831. package/resources/uac-connections/index.d.ts.map +1 -1
  1832. package/resources/uac-connections/uac-connections.d.mts +85 -85
  1833. package/resources/uac-connections/uac-connections.d.mts.map +1 -1
  1834. package/resources/uac-connections/uac-connections.d.ts +85 -85
  1835. package/resources/uac-connections/uac-connections.d.ts.map +1 -1
  1836. package/resources/uac-connections/uac-connections.js +32 -32
  1837. package/resources/uac-connections/uac-connections.js.map +1 -1
  1838. package/resources/uac-connections/uac-connections.mjs +32 -32
  1839. package/resources/uac-connections/uac-connections.mjs.map +1 -1
  1840. package/resources/user-addresses.d.mts +86 -86
  1841. package/resources/user-addresses.d.mts.map +1 -1
  1842. package/resources/user-addresses.d.ts +86 -86
  1843. package/resources/user-addresses.d.ts.map +1 -1
  1844. package/resources/user-addresses.js +17 -17
  1845. package/resources/user-addresses.js.map +1 -1
  1846. package/resources/user-addresses.mjs +17 -17
  1847. package/resources/user-addresses.mjs.map +1 -1
  1848. package/resources/verifications/verifications.d.mts +11 -11
  1849. package/resources/verifications/verifications.d.mts.map +1 -1
  1850. package/resources/verifications/verifications.d.ts +11 -11
  1851. package/resources/verifications/verifications.d.ts.map +1 -1
  1852. package/resources/verifications/verifications.js +13 -13
  1853. package/resources/verifications/verifications.js.map +1 -1
  1854. package/resources/verifications/verifications.mjs +13 -13
  1855. package/resources/verifications/verifications.mjs.map +1 -1
  1856. package/resources/verified-numbers/index.d.mts +1 -1
  1857. package/resources/verified-numbers/index.d.mts.map +1 -1
  1858. package/resources/verified-numbers/index.d.ts +1 -1
  1859. package/resources/verified-numbers/index.d.ts.map +1 -1
  1860. package/resources/verified-numbers/verified-numbers.d.mts +21 -21
  1861. package/resources/verified-numbers/verified-numbers.d.mts.map +1 -1
  1862. package/resources/verified-numbers/verified-numbers.d.ts +21 -21
  1863. package/resources/verified-numbers/verified-numbers.d.ts.map +1 -1
  1864. package/resources/verified-numbers/verified-numbers.js +25 -25
  1865. package/resources/verified-numbers/verified-numbers.js.map +1 -1
  1866. package/resources/verified-numbers/verified-numbers.mjs +25 -25
  1867. package/resources/verified-numbers/verified-numbers.mjs.map +1 -1
  1868. package/resources/verify-profiles.d.mts +46 -46
  1869. package/resources/verify-profiles.d.mts.map +1 -1
  1870. package/resources/verify-profiles.d.ts +46 -46
  1871. package/resources/verify-profiles.d.ts.map +1 -1
  1872. package/resources/verify-profiles.js +37 -37
  1873. package/resources/verify-profiles.js.map +1 -1
  1874. package/resources/verify-profiles.mjs +37 -37
  1875. package/resources/verify-profiles.mjs.map +1 -1
  1876. package/resources/virtual-cross-connects.d.mts +42 -42
  1877. package/resources/virtual-cross-connects.d.mts.map +1 -1
  1878. package/resources/virtual-cross-connects.d.ts +42 -42
  1879. package/resources/virtual-cross-connects.d.ts.map +1 -1
  1880. package/resources/virtual-cross-connects.js +28 -28
  1881. package/resources/virtual-cross-connects.js.map +1 -1
  1882. package/resources/virtual-cross-connects.mjs +28 -28
  1883. package/resources/virtual-cross-connects.mjs.map +1 -1
  1884. package/resources/voice-clones.d.mts +61 -61
  1885. package/resources/voice-clones.d.mts.map +1 -1
  1886. package/resources/voice-clones.d.ts +61 -61
  1887. package/resources/voice-clones.d.ts.map +1 -1
  1888. package/resources/voice-clones.js +40 -40
  1889. package/resources/voice-clones.js.map +1 -1
  1890. package/resources/voice-clones.mjs +40 -40
  1891. package/resources/voice-clones.mjs.map +1 -1
  1892. package/resources/voice-designs.d.mts +49 -49
  1893. package/resources/voice-designs.d.mts.map +1 -1
  1894. package/resources/voice-designs.d.ts +49 -49
  1895. package/resources/voice-designs.d.ts.map +1 -1
  1896. package/resources/voice-designs.js +46 -46
  1897. package/resources/voice-designs.js.map +1 -1
  1898. package/resources/voice-designs.mjs +46 -46
  1899. package/resources/voice-designs.mjs.map +1 -1
  1900. package/resources/voice-sdk-call-reports.d.mts +6 -6
  1901. package/resources/voice-sdk-call-reports.d.mts.map +1 -1
  1902. package/resources/voice-sdk-call-reports.d.ts +6 -6
  1903. package/resources/voice-sdk-call-reports.d.ts.map +1 -1
  1904. package/resources/voice-sdk-call-reports.js +8 -8
  1905. package/resources/voice-sdk-call-reports.js.map +1 -1
  1906. package/resources/voice-sdk-call-reports.mjs +8 -8
  1907. package/resources/voice-sdk-call-reports.mjs.map +1 -1
  1908. package/resources/webhook-deliveries.d.mts +4 -4
  1909. package/resources/webhook-deliveries.d.mts.map +1 -1
  1910. package/resources/webhook-deliveries.d.ts +4 -4
  1911. package/resources/webhook-deliveries.d.ts.map +1 -1
  1912. package/resources/webhook-deliveries.js +7 -7
  1913. package/resources/webhook-deliveries.js.map +1 -1
  1914. package/resources/webhook-deliveries.mjs +7 -7
  1915. package/resources/webhook-deliveries.mjs.map +1 -1
  1916. package/resources/webhooks.d.mts +1 -1
  1917. package/resources/webhooks.d.mts.map +1 -1
  1918. package/resources/webhooks.d.ts +1 -1
  1919. package/resources/webhooks.d.ts.map +1 -1
  1920. package/resources/webhooks.js +3 -3
  1921. package/resources/webhooks.js.map +1 -1
  1922. package/resources/webhooks.mjs +3 -3
  1923. package/resources/webhooks.mjs.map +1 -1
  1924. package/resources/whatsapp/business-accounts/business-accounts.d.mts +10 -10
  1925. package/resources/whatsapp/business-accounts/business-accounts.d.mts.map +1 -1
  1926. package/resources/whatsapp/business-accounts/business-accounts.d.ts +10 -10
  1927. package/resources/whatsapp/business-accounts/business-accounts.d.ts.map +1 -1
  1928. package/resources/whatsapp/business-accounts/business-accounts.js +12 -12
  1929. package/resources/whatsapp/business-accounts/business-accounts.js.map +1 -1
  1930. package/resources/whatsapp/business-accounts/business-accounts.mjs +12 -12
  1931. package/resources/whatsapp/business-accounts/business-accounts.mjs.map +1 -1
  1932. package/resources/whatsapp/index.d.mts +2 -2
  1933. package/resources/whatsapp/index.d.mts.map +1 -1
  1934. package/resources/whatsapp/index.d.ts +2 -2
  1935. package/resources/whatsapp/index.d.ts.map +1 -1
  1936. package/resources/whatsapp/index.js.map +1 -1
  1937. package/resources/whatsapp/index.mjs.map +1 -1
  1938. package/resources/whatsapp/phone-numbers/index.d.mts +1 -1
  1939. package/resources/whatsapp/phone-numbers/index.d.mts.map +1 -1
  1940. package/resources/whatsapp/phone-numbers/index.d.ts +1 -1
  1941. package/resources/whatsapp/phone-numbers/index.d.ts.map +1 -1
  1942. package/resources/whatsapp/phone-numbers/index.js.map +1 -1
  1943. package/resources/whatsapp/phone-numbers/index.mjs.map +1 -1
  1944. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +45 -1
  1945. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
  1946. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +45 -1
  1947. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
  1948. package/resources/whatsapp/phone-numbers/phone-numbers.js +20 -0
  1949. package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
  1950. package/resources/whatsapp/phone-numbers/phone-numbers.mjs +20 -0
  1951. package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
  1952. package/resources/whatsapp/phone-numbers/profile/photo.d.mts +12 -12
  1953. package/resources/whatsapp/phone-numbers/profile/photo.d.mts.map +1 -1
  1954. package/resources/whatsapp/phone-numbers/profile/photo.d.ts +12 -12
  1955. package/resources/whatsapp/phone-numbers/profile/photo.d.ts.map +1 -1
  1956. package/resources/whatsapp/phone-numbers/profile/photo.js +14 -14
  1957. package/resources/whatsapp/phone-numbers/profile/photo.js.map +1 -1
  1958. package/resources/whatsapp/phone-numbers/profile/photo.mjs +14 -14
  1959. package/resources/whatsapp/phone-numbers/profile/photo.mjs.map +1 -1
  1960. package/resources/whatsapp/templates.d.mts +31 -31
  1961. package/resources/whatsapp/templates.d.mts.map +1 -1
  1962. package/resources/whatsapp/templates.d.ts +31 -31
  1963. package/resources/whatsapp/templates.d.ts.map +1 -1
  1964. package/resources/whatsapp/templates.js +14 -14
  1965. package/resources/whatsapp/templates.js.map +1 -1
  1966. package/resources/whatsapp/templates.mjs +14 -14
  1967. package/resources/whatsapp/templates.mjs.map +1 -1
  1968. package/resources/whatsapp/whatsapp.d.mts +3 -3
  1969. package/resources/whatsapp/whatsapp.d.mts.map +1 -1
  1970. package/resources/whatsapp/whatsapp.d.ts +3 -3
  1971. package/resources/whatsapp/whatsapp.d.ts.map +1 -1
  1972. package/resources/whatsapp/whatsapp.js.map +1 -1
  1973. package/resources/whatsapp/whatsapp.mjs.map +1 -1
  1974. package/resources/whatsapp-message-templates.d.mts +4 -4
  1975. package/resources/whatsapp-message-templates.d.mts.map +1 -1
  1976. package/resources/whatsapp-message-templates.d.ts +4 -4
  1977. package/resources/whatsapp-message-templates.d.ts.map +1 -1
  1978. package/resources/whatsapp-message-templates.js +9 -9
  1979. package/resources/whatsapp-message-templates.js.map +1 -1
  1980. package/resources/whatsapp-message-templates.mjs +9 -9
  1981. package/resources/whatsapp-message-templates.mjs.map +1 -1
  1982. package/resources/wireguard-interfaces.d.mts +16 -16
  1983. package/resources/wireguard-interfaces.d.mts.map +1 -1
  1984. package/resources/wireguard-interfaces.d.ts +16 -16
  1985. package/resources/wireguard-interfaces.d.ts.map +1 -1
  1986. package/resources/wireguard-interfaces.js +14 -14
  1987. package/resources/wireguard-interfaces.js.map +1 -1
  1988. package/resources/wireguard-interfaces.mjs +14 -14
  1989. package/resources/wireguard-interfaces.mjs.map +1 -1
  1990. package/resources/wireguard-peers.d.mts +36 -36
  1991. package/resources/wireguard-peers.d.mts.map +1 -1
  1992. package/resources/wireguard-peers.d.ts +36 -36
  1993. package/resources/wireguard-peers.d.ts.map +1 -1
  1994. package/resources/wireguard-peers.js +29 -29
  1995. package/resources/wireguard-peers.js.map +1 -1
  1996. package/resources/wireguard-peers.mjs +29 -29
  1997. package/resources/wireguard-peers.mjs.map +1 -1
  1998. package/resources/wireless/detail-records-reports.d.mts +27 -27
  1999. package/resources/wireless/detail-records-reports.d.mts.map +1 -1
  2000. package/resources/wireless/detail-records-reports.d.ts +27 -27
  2001. package/resources/wireless/detail-records-reports.d.ts.map +1 -1
  2002. package/resources/wireless/detail-records-reports.js +20 -20
  2003. package/resources/wireless/detail-records-reports.js.map +1 -1
  2004. package/resources/wireless/detail-records-reports.mjs +20 -20
  2005. package/resources/wireless/detail-records-reports.mjs.map +1 -1
  2006. package/resources/wireless/index.d.mts +1 -1
  2007. package/resources/wireless/index.d.mts.map +1 -1
  2008. package/resources/wireless/index.d.ts +1 -1
  2009. package/resources/wireless/index.d.ts.map +1 -1
  2010. package/resources/wireless/wireless.d.mts +1 -1
  2011. package/resources/wireless/wireless.d.mts.map +1 -1
  2012. package/resources/wireless/wireless.d.ts +1 -1
  2013. package/resources/wireless/wireless.d.ts.map +1 -1
  2014. package/resources/wireless-blocklists.d.mts +38 -38
  2015. package/resources/wireless-blocklists.d.mts.map +1 -1
  2016. package/resources/wireless-blocklists.d.ts +38 -38
  2017. package/resources/wireless-blocklists.d.ts.map +1 -1
  2018. package/resources/wireless-blocklists.js +33 -33
  2019. package/resources/wireless-blocklists.js.map +1 -1
  2020. package/resources/wireless-blocklists.mjs +33 -33
  2021. package/resources/wireless-blocklists.mjs.map +1 -1
  2022. package/resources/x402/credit-account.d.mts +21 -21
  2023. package/resources/x402/credit-account.d.mts.map +1 -1
  2024. package/resources/x402/credit-account.d.ts +21 -21
  2025. package/resources/x402/credit-account.d.ts.map +1 -1
  2026. package/resources/x402/credit-account.js +16 -16
  2027. package/resources/x402/credit-account.js.map +1 -1
  2028. package/resources/x402/credit-account.mjs +16 -16
  2029. package/resources/x402/credit-account.mjs.map +1 -1
  2030. package/resources/x402/index.d.mts +1 -1
  2031. package/resources/x402/index.d.mts.map +1 -1
  2032. package/resources/x402/index.d.ts +1 -1
  2033. package/resources/x402/index.d.ts.map +1 -1
  2034. package/resources/x402/x402.d.mts +1 -1
  2035. package/resources/x402/x402.d.mts.map +1 -1
  2036. package/resources/x402/x402.d.ts +1 -1
  2037. package/resources/x402/x402.d.ts.map +1 -1
  2038. package/src/client.ts +103 -95
  2039. package/src/resources/access-ip-address.ts +21 -21
  2040. package/src/resources/access-ip-ranges.ts +14 -14
  2041. package/src/resources/addresses/actions.ts +24 -24
  2042. package/src/resources/addresses/addresses.ts +115 -115
  2043. package/src/resources/addresses/index.ts +2 -2
  2044. package/src/resources/advanced-orders.ts +12 -12
  2045. package/src/resources/ai/ai.ts +92 -115
  2046. package/src/resources/ai/assistants/assistants.ts +70 -70
  2047. package/src/resources/ai/assistants/canary-deploys.ts +31 -31
  2048. package/src/resources/ai/assistants/index.ts +7 -7
  2049. package/src/resources/ai/assistants/scheduled-events.ts +66 -66
  2050. package/src/resources/ai/assistants/tests/index.ts +2 -2
  2051. package/src/resources/ai/assistants/tests/runs.ts +24 -24
  2052. package/src/resources/ai/assistants/tests/tests.ts +56 -56
  2053. package/src/resources/ai/assistants/tools.ts +26 -26
  2054. package/src/resources/ai/assistants/versions.ts +41 -41
  2055. package/src/resources/ai/clusters.ts +40 -40
  2056. package/src/resources/ai/conversations/conversations.ts +66 -66
  2057. package/src/resources/ai/conversations/index.ts +4 -4
  2058. package/src/resources/ai/conversations/insight-groups/index.ts +2 -2
  2059. package/src/resources/ai/conversations/insight-groups/insight-groups.ts +45 -45
  2060. package/src/resources/ai/conversations/insights.ts +41 -41
  2061. package/src/resources/ai/embeddings/buckets.ts +15 -15
  2062. package/src/resources/ai/embeddings/embeddings.ts +46 -46
  2063. package/src/resources/ai/embeddings/index.ts +1 -1
  2064. package/src/resources/ai/fine-tuning/jobs.ts +12 -12
  2065. package/src/resources/ai/index.ts +8 -8
  2066. package/src/resources/ai/integrations/connections.ts +15 -15
  2067. package/src/resources/ai/integrations/integrations.ts +10 -10
  2068. package/src/resources/ai/mcp-servers.ts +49 -49
  2069. package/src/resources/ai/missions/index.ts +3 -3
  2070. package/src/resources/ai/missions/knowledge-bases.ts +15 -15
  2071. package/src/resources/ai/missions/mcp-servers.ts +15 -15
  2072. package/src/resources/ai/missions/missions.ts +46 -46
  2073. package/src/resources/ai/missions/runs/events.ts +32 -32
  2074. package/src/resources/ai/missions/runs/index.ts +5 -5
  2075. package/src/resources/ai/missions/runs/plan.ts +60 -60
  2076. package/src/resources/ai/missions/runs/runs.ts +46 -46
  2077. package/src/resources/ai/missions/tools.ts +14 -14
  2078. package/src/resources/ai/openai/openai.ts +26 -26
  2079. package/src/resources/ai/tools.ts +46 -46
  2080. package/src/resources/alphanumeric-sender-ids.ts +37 -37
  2081. package/src/resources/authentication-providers.ts +65 -65
  2082. package/src/resources/billing-groups.ts +38 -38
  2083. package/src/resources/bulk-sim-card-actions.ts +8 -8
  2084. package/src/resources/bundle-pricing/billing-bundles.ts +34 -34
  2085. package/src/resources/bundle-pricing/bundle-pricing.ts +4 -4
  2086. package/src/resources/bundle-pricing/index.ts +4 -4
  2087. package/src/resources/bundle-pricing/user-bundles.ts +84 -84
  2088. package/src/resources/call-control-applications.ts +189 -189
  2089. package/src/resources/calls/actions.ts +1659 -1628
  2090. package/src/resources/calls/calls.ts +21 -21
  2091. package/src/resources/calls/index.ts +21 -21
  2092. package/src/resources/channel-zones.ts +17 -17
  2093. package/src/resources/comments.ts +24 -24
  2094. package/src/resources/conferences/actions.ts +240 -240
  2095. package/src/resources/conferences/conferences.ts +128 -128
  2096. package/src/resources/conferences/index.ts +6 -6
  2097. package/src/resources/connections.ts +8 -8
  2098. package/src/resources/credential-connections/credential-connections.ts +101 -101
  2099. package/src/resources/credential-connections/index.ts +1 -1
  2100. package/src/resources/custom-storage-credentials.ts +29 -29
  2101. package/src/resources/customer-service-records.ts +105 -105
  2102. package/src/resources/dialogflow-connections.ts +31 -31
  2103. package/src/resources/dir/comments.ts +34 -34
  2104. package/src/resources/dir/dir.ts +205 -172
  2105. package/src/resources/dir/index.ts +19 -5
  2106. package/src/resources/dir/phone-number-batches.ts +29 -29
  2107. package/src/resources/dir/phone-numbers.ts +25 -25
  2108. package/src/resources/dir/references.ts +285 -0
  2109. package/src/resources/dir/verify-email.ts +114 -0
  2110. package/src/resources/documents.ts +77 -77
  2111. package/src/resources/dynamic-emergency-addresses.ts +55 -55
  2112. package/src/resources/dynamic-emergency-endpoints.ts +42 -42
  2113. package/src/resources/enterprises/dir.ts +95 -95
  2114. package/src/resources/enterprises/enterprises.ts +62 -62
  2115. package/src/resources/enterprises/index.ts +2 -2
  2116. package/src/resources/enterprises/reputation/index.ts +2 -2
  2117. package/src/resources/enterprises/reputation/numbers.ts +42 -42
  2118. package/src/resources/enterprises/reputation/remediation.ts +46 -46
  2119. package/src/resources/enterprises/reputation/reputation.ts +21 -21
  2120. package/src/resources/external-connections/civic-addresses.ts +27 -27
  2121. package/src/resources/external-connections/external-connections.ts +112 -112
  2122. package/src/resources/external-connections/index.ts +5 -5
  2123. package/src/resources/external-connections/log-messages.ts +15 -15
  2124. package/src/resources/external-connections/phone-numbers.ts +46 -46
  2125. package/src/resources/external-connections/releases.ts +29 -29
  2126. package/src/resources/external-connections/uploads.ts +73 -73
  2127. package/src/resources/fax-applications.ts +98 -98
  2128. package/src/resources/faxes/faxes.ts +122 -122
  2129. package/src/resources/faxes/index.ts +1 -1
  2130. package/src/resources/fqdn-connections.ts +102 -102
  2131. package/src/resources/fqdns.ts +69 -69
  2132. package/src/resources/global-ip-assignments.ts +23 -23
  2133. package/src/resources/global-ip-health-checks.ts +32 -32
  2134. package/src/resources/global-ips.ts +27 -27
  2135. package/src/resources/inbound-channels.ts +16 -16
  2136. package/src/resources/index.ts +94 -94
  2137. package/src/resources/inexplicit-number-orders.ts +21 -21
  2138. package/src/resources/integration-secrets.ts +38 -38
  2139. package/src/resources/invoices.ts +18 -18
  2140. package/src/resources/ip-connections.ts +102 -102
  2141. package/src/resources/ips.ts +63 -63
  2142. package/src/resources/legacy/reporting/batch-detail-records/messaging.ts +21 -21
  2143. package/src/resources/legacy/reporting/batch-detail-records/speech-to-text.ts +21 -21
  2144. package/src/resources/legacy/reporting/batch-detail-records/voice.ts +25 -25
  2145. package/src/resources/legacy/reporting/usage-reports/index.ts +2 -2
  2146. package/src/resources/legacy/reporting/usage-reports/messaging.ts +33 -33
  2147. package/src/resources/legacy/reporting/usage-reports/number-lookup.ts +28 -28
  2148. package/src/resources/legacy/reporting/usage-reports/usage-reports.ts +2 -2
  2149. package/src/resources/legacy/reporting/usage-reports/voice.ts +33 -33
  2150. package/src/resources/managed-accounts/index.ts +1 -1
  2151. package/src/resources/managed-accounts/managed-accounts.ts +88 -88
  2152. package/src/resources/media.ts +58 -58
  2153. package/src/resources/messages/index.ts +2 -2
  2154. package/src/resources/messages/messages.ts +186 -186
  2155. package/src/resources/messaging/index.ts +1 -1
  2156. package/src/resources/messaging/messaging.ts +1 -1
  2157. package/src/resources/messaging/rcs/agents.ts +24 -24
  2158. package/src/resources/messaging/rcs/index.ts +2 -2
  2159. package/src/resources/messaging/rcs/rcs.ts +30 -30
  2160. package/src/resources/messaging-10dlc/brand/brand.ts +161 -161
  2161. package/src/resources/messaging-10dlc/brand/external-vetting.ts +32 -32
  2162. package/src/resources/messaging-10dlc/brand/index.ts +3 -3
  2163. package/src/resources/messaging-10dlc/campaign/campaign.ts +83 -83
  2164. package/src/resources/messaging-10dlc/campaign/index.ts +1 -1
  2165. package/src/resources/messaging-10dlc/index.ts +8 -8
  2166. package/src/resources/messaging-10dlc/messaging-10dlc.ts +9 -9
  2167. package/src/resources/messaging-10dlc/partner-campaigns.ts +59 -59
  2168. package/src/resources/messaging-10dlc/phone-number-assignment-by-profile.ts +19 -19
  2169. package/src/resources/messaging-10dlc/phone-number-campaigns.ts +63 -63
  2170. package/src/resources/messaging-hosted-number-orders/index.ts +2 -2
  2171. package/src/resources/messaging-hosted-number-orders/messaging-hosted-number-orders.ts +62 -62
  2172. package/src/resources/messaging-hosted-numbers.ts +48 -48
  2173. package/src/resources/messaging-profiles/autoresp-configs.ts +89 -89
  2174. package/src/resources/messaging-profiles/index.ts +4 -4
  2175. package/src/resources/messaging-profiles/messaging-profiles.ts +97 -97
  2176. package/src/resources/messaging-tollfree/verification/index.ts +1 -1
  2177. package/src/resources/messaging-tollfree/verification/requests.ts +78 -78
  2178. package/src/resources/messaging-tollfree/verification/verification.ts +1 -1
  2179. package/src/resources/mobile-phone-numbers/index.ts +1 -1
  2180. package/src/resources/mobile-phone-numbers/messaging.ts +7 -7
  2181. package/src/resources/mobile-phone-numbers/mobile-phone-numbers.ts +16 -16
  2182. package/src/resources/mobile-push-credentials.ts +47 -47
  2183. package/src/resources/mobile-voice-connections.ts +35 -35
  2184. package/src/resources/networks/default-gateway.ts +12 -12
  2185. package/src/resources/networks/index.ts +1 -1
  2186. package/src/resources/networks/networks.ts +41 -41
  2187. package/src/resources/notification-channels.ts +71 -71
  2188. package/src/resources/notification-profiles.ts +23 -23
  2189. package/src/resources/notification-settings.ts +57 -57
  2190. package/src/resources/number-block-orders.ts +49 -49
  2191. package/src/resources/number-order-phone-numbers.ts +10 -10
  2192. package/src/resources/number-orders.ts +74 -74
  2193. package/src/resources/number-reservations/index.ts +1 -1
  2194. package/src/resources/number-reservations/number-reservations.ts +31 -31
  2195. package/src/resources/oauth-clients.ts +71 -71
  2196. package/src/resources/oauth-grants.ts +7 -7
  2197. package/src/resources/oauth.ts +66 -66
  2198. package/src/resources/organizations/index.ts +1 -1
  2199. package/src/resources/organizations/organizations.ts +1 -1
  2200. package/src/resources/organizations/users/index.ts +1 -1
  2201. package/src/resources/organizations/users/users.ts +21 -21
  2202. package/src/resources/ota-updates.ts +7 -7
  2203. package/src/resources/outbound-voice-profiles.ts +101 -101
  2204. package/src/resources/payment/auto-recharge-prefs.ts +13 -13
  2205. package/src/resources/phone-number-blocks/jobs.ts +14 -14
  2206. package/src/resources/phone-numbers/actions.ts +27 -27
  2207. package/src/resources/phone-numbers/csv-downloads.ts +24 -24
  2208. package/src/resources/phone-numbers/index.ts +7 -7
  2209. package/src/resources/phone-numbers/jobs.ts +47 -47
  2210. package/src/resources/phone-numbers/messaging.ts +51 -51
  2211. package/src/resources/phone-numbers/phone-numbers.ts +93 -93
  2212. package/src/resources/phone-numbers/voice.ts +75 -75
  2213. package/src/resources/phone-numbers/voicemail.ts +21 -21
  2214. package/src/resources/porting/events.ts +14 -14
  2215. package/src/resources/porting/index.ts +3 -3
  2216. package/src/resources/porting/loa-configurations.ts +124 -124
  2217. package/src/resources/porting/porting.ts +3 -3
  2218. package/src/resources/porting/reports.ts +34 -34
  2219. package/src/resources/porting-orders/activation-jobs.ts +31 -31
  2220. package/src/resources/porting-orders/additional-documents.ts +38 -38
  2221. package/src/resources/porting-orders/associated-phone-numbers.ts +51 -51
  2222. package/src/resources/porting-orders/comments.ts +17 -17
  2223. package/src/resources/porting-orders/index.ts +8 -8
  2224. package/src/resources/porting-orders/phone-number-blocks.ts +66 -66
  2225. package/src/resources/porting-orders/phone-number-configurations.ts +35 -35
  2226. package/src/resources/porting-orders/phone-number-extensions.ts +63 -63
  2227. package/src/resources/porting-orders/porting-orders.ts +157 -157
  2228. package/src/resources/portouts/comments.ts +8 -8
  2229. package/src/resources/portouts/events.ts +14 -14
  2230. package/src/resources/portouts/index.ts +1 -1
  2231. package/src/resources/portouts/portouts.ts +15 -15
  2232. package/src/resources/portouts/reports.ts +34 -34
  2233. package/src/resources/portouts/supporting-documents.ts +14 -14
  2234. package/src/resources/private-wireless-gateways.ts +49 -49
  2235. package/src/resources/pronunciation-dicts.ts +42 -42
  2236. package/src/resources/public-internet-gateways.ts +27 -27
  2237. package/src/resources/queues/calls.ts +47 -47
  2238. package/src/resources/queues/index.ts +3 -3
  2239. package/src/resources/queues/queues.ts +37 -37
  2240. package/src/resources/recording-transcriptions.ts +10 -10
  2241. package/src/resources/recordings/recordings.ts +14 -14
  2242. package/src/resources/reports/index.ts +1 -1
  2243. package/src/resources/reports/mdr-usage-reports.ts +43 -43
  2244. package/src/resources/reports/reports.ts +1 -1
  2245. package/src/resources/reputation/index.ts +1 -1
  2246. package/src/resources/reputation/numbers.ts +18 -18
  2247. package/src/resources/reputation/reputation.ts +1 -1
  2248. package/src/resources/requirement-groups.ts +73 -73
  2249. package/src/resources/requirement-types.ts +15 -15
  2250. package/src/resources/requirements.ts +14 -14
  2251. package/src/resources/room-compositions.ts +73 -73
  2252. package/src/resources/room-participants.ts +7 -7
  2253. package/src/resources/room-recordings.ts +24 -24
  2254. package/src/resources/rooms/index.ts +2 -2
  2255. package/src/resources/rooms/rooms.ts +108 -108
  2256. package/src/resources/rooms/sessions/index.ts +1 -1
  2257. package/src/resources/rooms/sessions/sessions.ts +26 -26
  2258. package/src/resources/short-codes.ts +31 -31
  2259. package/src/resources/sim-card-data-usage-notifications.ts +46 -46
  2260. package/src/resources/sim-card-groups/actions.ts +15 -15
  2261. package/src/resources/sim-card-groups/index.ts +1 -1
  2262. package/src/resources/sim-card-groups/sim-card-groups.ts +53 -53
  2263. package/src/resources/sim-card-orders.ts +34 -34
  2264. package/src/resources/sim-cards/actions.ts +81 -81
  2265. package/src/resources/sim-cards/index.ts +5 -5
  2266. package/src/resources/sim-cards/sim-cards.ts +91 -91
  2267. package/src/resources/siprec-connectors.ts +15 -15
  2268. package/src/resources/storage/buckets/ssl-certificate.ts +16 -16
  2269. package/src/resources/storage/index.ts +8 -0
  2270. package/src/resources/storage/kvs/index.ts +18 -0
  2271. package/src/resources/storage/kvs/keys.ts +193 -0
  2272. package/src/resources/storage/kvs/kvs.ts +147 -0
  2273. package/src/resources/storage/kvs.ts +3 -0
  2274. package/src/resources/storage/migration-sources.ts +21 -21
  2275. package/src/resources/storage/migrations/migrations.ts +12 -12
  2276. package/src/resources/storage/storage.ts +20 -0
  2277. package/src/resources/sub-number-orders.ts +65 -65
  2278. package/src/resources/telephony-credentials.ts +73 -73
  2279. package/src/resources/terms-of-service/agreements.ts +8 -8
  2280. package/src/resources/terms-of-service/index.ts +1 -1
  2281. package/src/resources/terms-of-service/terms-of-service.ts +17 -17
  2282. package/src/resources/texml/accounts/accounts.ts +4 -4
  2283. package/src/resources/texml/accounts/calls/calls.ts +107 -107
  2284. package/src/resources/texml/accounts/calls/index.ts +3 -3
  2285. package/src/resources/texml/accounts/calls/recordings-json.ts +28 -28
  2286. package/src/resources/texml/accounts/conferences/conferences.ts +55 -55
  2287. package/src/resources/texml/accounts/conferences/index.ts +4 -4
  2288. package/src/resources/texml/accounts/conferences/participants.ts +162 -162
  2289. package/src/resources/texml/accounts/index.ts +4 -4
  2290. package/src/resources/texml/accounts/queues.ts +26 -26
  2291. package/src/resources/texml/index.ts +1 -1
  2292. package/src/resources/texml/texml.ts +33 -33
  2293. package/src/resources/texml-applications.ts +83 -83
  2294. package/src/resources/text-to-speech/index.ts +1 -1
  2295. package/src/resources/text-to-speech/text-to-speech.ts +27 -27
  2296. package/src/resources/traffic-policy-profiles.ts +89 -89
  2297. package/src/resources/uac-connections/index.ts +1 -1
  2298. package/src/resources/uac-connections/uac-connections.ts +105 -105
  2299. package/src/resources/user-addresses.ts +103 -103
  2300. package/src/resources/verifications/verifications.ts +14 -14
  2301. package/src/resources/verified-numbers/index.ts +1 -1
  2302. package/src/resources/verified-numbers/verified-numbers.ts +32 -32
  2303. package/src/resources/verify-profiles.ts +65 -65
  2304. package/src/resources/virtual-cross-connects.ts +57 -57
  2305. package/src/resources/voice-clones.ts +82 -82
  2306. package/src/resources/voice-designs.ts +79 -79
  2307. package/src/resources/voice-sdk-call-reports.ts +9 -9
  2308. package/src/resources/webhook-deliveries.ts +8 -8
  2309. package/src/resources/webhooks.ts +4 -4
  2310. package/src/resources/whatsapp/business-accounts/business-accounts.ts +13 -13
  2311. package/src/resources/whatsapp/index.ts +3 -1
  2312. package/src/resources/whatsapp/phone-numbers/index.ts +2 -0
  2313. package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +62 -0
  2314. package/src/resources/whatsapp/phone-numbers/profile/photo.ts +15 -15
  2315. package/src/resources/whatsapp/templates.ts +41 -41
  2316. package/src/resources/whatsapp/whatsapp.ts +5 -1
  2317. package/src/resources/whatsapp-message-templates.ts +10 -10
  2318. package/src/resources/wireguard-interfaces.ts +30 -30
  2319. package/src/resources/wireguard-peers.ts +52 -52
  2320. package/src/resources/wireless/detail-records-reports.ts +35 -35
  2321. package/src/resources/wireless/index.ts +1 -1
  2322. package/src/resources/wireless/wireless.ts +1 -1
  2323. package/src/resources/wireless-blocklists.ts +52 -52
  2324. package/src/resources/x402/credit-account.ts +28 -28
  2325. package/src/resources/x402/index.ts +1 -1
  2326. package/src/resources/x402/x402.ts +1 -1
  2327. package/src/version.ts +1 -1
  2328. package/version.d.mts +1 -1
  2329. package/version.d.ts +1 -1
  2330. package/version.js +1 -1
  2331. package/version.mjs +1 -1
@@ -14,25 +14,45 @@ import { path } from '../../internal/utils/path';
14
14
  */
15
15
  export class Actions extends APIResource {
16
16
  /**
17
- * Add messages to the conversation started by an AI assistant on the call.
17
+ * Start an AI assistant on the call.
18
+ *
19
+ * **Expected Webhooks:**
20
+ *
21
+ * - `call.conversation.ended`
22
+ * - `call.conversation_insights.generated`
18
23
  *
19
24
  * @example
20
25
  * ```ts
21
26
  * const response =
22
- * await client.calls.actions.addAIAssistantMessages(
27
+ * await client.calls.actions.startAIAssistant(
23
28
  * 'call_control_id',
24
29
  * );
25
30
  * ```
26
31
  */
27
- addAIAssistantMessages(
32
+ startAIAssistant(
28
33
  callControlID: string,
29
- body: ActionAddAIAssistantMessagesParams,
34
+ body: ActionStartAIAssistantParams,
30
35
  options?: RequestOptions,
31
- ): APIPromise<ActionAddAIAssistantMessagesResponse> {
32
- return this._client.post(path`/calls/${callControlID}/actions/ai_assistant_add_messages`, {
33
- body,
34
- ...options,
35
- });
36
+ ): APIPromise<ActionStartAIAssistantResponse> {
37
+ return this._client.post(path`/calls/${callControlID}/actions/ai_assistant_start`, { body, ...options });
38
+ }
39
+
40
+ /**
41
+ * Stop an AI assistant on the call.
42
+ *
43
+ * @example
44
+ * ```ts
45
+ * const response = await client.calls.actions.stopAIAssistant(
46
+ * 'call_control_id',
47
+ * );
48
+ * ```
49
+ */
50
+ stopAIAssistant(
51
+ callControlID: string,
52
+ body: ActionStopAIAssistantParams,
53
+ options?: RequestOptions,
54
+ ): APIPromise<ActionStopAIAssistantResponse> {
55
+ return this._client.post(path`/calls/${callControlID}/actions/ai_assistant_stop`, { body, ...options });
36
56
  }
37
57
 
38
58
  /**
@@ -98,6 +118,26 @@ export class Actions extends APIResource {
98
118
  });
99
119
  }
100
120
 
121
+ /**
122
+ * Updates client state
123
+ *
124
+ * @example
125
+ * ```ts
126
+ * const response =
127
+ * await client.calls.actions.updateClientState(
128
+ * 'call_control_id',
129
+ * { client_state: 'aGF2ZSBhIG5pY2UgZGF5ID1d' },
130
+ * );
131
+ * ```
132
+ */
133
+ updateClientState(
134
+ callControlID: string,
135
+ body: ActionUpdateClientStateParams,
136
+ options?: RequestOptions,
137
+ ): APIPromise<ActionUpdateClientStateResponse> {
138
+ return this._client.put(path`/calls/${callControlID}/actions/client_state_update`, { body, ...options });
139
+ }
140
+
101
141
  /**
102
142
  * Put the call in a queue.
103
143
  *
@@ -117,6 +157,55 @@ export class Actions extends APIResource {
117
157
  return this._client.post(path`/calls/${callControlID}/actions/enqueue`, { body, ...options });
118
158
  }
119
159
 
160
+ /**
161
+ * Call forking allows you to stream the media from a call to a specific target in
162
+ * realtime. This stream can be used to enable realtime audio analysis to support a
163
+ * variety of use cases, including fraud detection, or the creation of AI-generated
164
+ * audio responses. Requests must specify either the `target` attribute or the `rx`
165
+ * and `tx` attributes.
166
+ *
167
+ * **Expected Webhooks:**
168
+ *
169
+ * - `call.fork.started`
170
+ * - `call.fork.stopped`
171
+ *
172
+ * @example
173
+ * ```ts
174
+ * const response = await client.calls.actions.startForking(
175
+ * 'call_control_id',
176
+ * );
177
+ * ```
178
+ */
179
+ startForking(
180
+ callControlID: string,
181
+ body: ActionStartForkingParams,
182
+ options?: RequestOptions,
183
+ ): APIPromise<ActionStartForkingResponse> {
184
+ return this._client.post(path`/calls/${callControlID}/actions/fork_start`, { body, ...options });
185
+ }
186
+
187
+ /**
188
+ * Stop forking a call.
189
+ *
190
+ * **Expected Webhooks:**
191
+ *
192
+ * - `call.fork.stopped`
193
+ *
194
+ * @example
195
+ * ```ts
196
+ * const response = await client.calls.actions.stopForking(
197
+ * 'call_control_id',
198
+ * );
199
+ * ```
200
+ */
201
+ stopForking(
202
+ callControlID: string,
203
+ body: ActionStopForkingParams,
204
+ options?: RequestOptions,
205
+ ): APIPromise<ActionStopForkingResponse> {
206
+ return this._client.post(path`/calls/${callControlID}/actions/fork_stop`, { body, ...options });
207
+ }
208
+
120
209
  /**
121
210
  * Gather DTMF signals to build interactive menus.
122
211
  *
@@ -143,6 +232,28 @@ export class Actions extends APIResource {
143
232
  return this._client.post(path`/calls/${callControlID}/actions/gather`, { body, ...options });
144
233
  }
145
234
 
235
+ /**
236
+ * Stop current gather.
237
+ *
238
+ * **Expected Webhooks:**
239
+ *
240
+ * - `call.gather.ended`
241
+ *
242
+ * @example
243
+ * ```ts
244
+ * const response = await client.calls.actions.stopGather(
245
+ * 'call_control_id',
246
+ * );
247
+ * ```
248
+ */
249
+ stopGather(
250
+ callControlID: string,
251
+ body: ActionStopGatherParams,
252
+ options?: RequestOptions,
253
+ ): APIPromise<ActionStopGatherResponse> {
254
+ return this._client.post(path`/calls/${callControlID}/actions/gather_stop`, { body, ...options });
255
+ }
256
+
146
257
  /**
147
258
  * Gather parameters defined in the request payload using a voice assistant.
148
259
  *
@@ -265,29 +376,6 @@ export class Actions extends APIResource {
265
376
  return this._client.post(path`/calls/${callControlID}/actions/hangup`, { body, ...options });
266
377
  }
267
378
 
268
- /**
269
- * Add a participant to an existing AI assistant conversation. Use this command to
270
- * bring an additional call leg into a running AI conversation.
271
- *
272
- * @example
273
- * ```ts
274
- * const response = await client.calls.actions.joinAIAssistant(
275
- * 'call_control_id',
276
- * {
277
- * conversation_id: 'v3:abc123',
278
- * participant: { id: 'v3:abc123def456', role: 'user' },
279
- * },
280
- * );
281
- * ```
282
- */
283
- joinAIAssistant(
284
- callControlID: string,
285
- body: ActionJoinAIAssistantParams,
286
- options?: RequestOptions,
287
- ): APIPromise<ActionJoinAIAssistantResponse> {
288
- return this._client.post(path`/calls/${callControlID}/actions/ai_assistant_join`, { body, ...options });
289
- }
290
-
291
379
  /**
292
380
  * Removes the call from a queue.
293
381
  *
@@ -307,76 +395,77 @@ export class Actions extends APIResource {
307
395
  }
308
396
 
309
397
  /**
310
- * Pause recording the call. Recording can be resumed via Resume recording command.
398
+ * Play an audio file on the call. If multiple play audio commands are issued
399
+ * consecutively, the audio files will be placed in a queue awaiting playback.
400
+ *
401
+ * _Notes:_
402
+ *
403
+ * - When `overlay` is enabled, `target_legs` is limited to `self`.
404
+ * - A customer cannot Play Audio with `overlay=true` unless there is a Play Audio
405
+ * with `overlay=false` actively playing.
311
406
  *
312
407
  * **Expected Webhooks:**
313
408
  *
314
- * There are no webhooks associated with this command.
409
+ * - `call.playback.started`
410
+ * - `call.playback.ended`
315
411
  *
316
412
  * @example
317
413
  * ```ts
318
- * const response = await client.calls.actions.pauseRecording(
414
+ * const response = await client.calls.actions.startPlayback(
319
415
  * 'call_control_id',
320
416
  * );
321
417
  * ```
322
418
  */
323
- pauseRecording(
419
+ startPlayback(
324
420
  callControlID: string,
325
- body: ActionPauseRecordingParams,
421
+ body: ActionStartPlaybackParams,
326
422
  options?: RequestOptions,
327
- ): APIPromise<ActionPauseRecordingResponse> {
328
- return this._client.post(path`/calls/${callControlID}/actions/record_pause`, { body, ...options });
423
+ ): APIPromise<ActionStartPlaybackResponse> {
424
+ return this._client.post(path`/calls/${callControlID}/actions/playback_start`, { body, ...options });
329
425
  }
330
426
 
331
427
  /**
332
- * Initiate a SIP Refer on a Call Control call. You can initiate a SIP Refer at any
333
- * point in the duration of a call.
428
+ * Stop audio being played on the call.
334
429
  *
335
430
  * **Expected Webhooks:**
336
431
  *
337
- * - `call.refer.started`
338
- * - `call.refer.completed`
339
- * - `call.refer.failed`
432
+ * - `call.playback.ended` or `call.speak.ended`
340
433
  *
341
434
  * @example
342
435
  * ```ts
343
- * const response = await client.calls.actions.refer(
436
+ * const response = await client.calls.actions.stopPlayback(
344
437
  * 'call_control_id',
345
- * {
346
- * sip_address: 'sip:username@sip.non-telnyx-address.com',
347
- * },
348
438
  * );
349
439
  * ```
350
440
  */
351
- refer(
441
+ stopPlayback(
352
442
  callControlID: string,
353
- body: ActionReferParams,
443
+ body: ActionStopPlaybackParams,
354
444
  options?: RequestOptions,
355
- ): APIPromise<ActionReferResponse> {
356
- return this._client.post(path`/calls/${callControlID}/actions/refer`, { body, ...options });
445
+ ): APIPromise<ActionStopPlaybackResponse> {
446
+ return this._client.post(path`/calls/${callControlID}/actions/playback_stop`, { body, ...options });
357
447
  }
358
448
 
359
449
  /**
360
- * Reject an incoming call.
450
+ * Pause recording the call. Recording can be resumed via Resume recording command.
361
451
  *
362
452
  * **Expected Webhooks:**
363
453
  *
364
- * - `call.hangup`
454
+ * There are no webhooks associated with this command.
365
455
  *
366
456
  * @example
367
457
  * ```ts
368
- * const response = await client.calls.actions.reject(
458
+ * const response = await client.calls.actions.pauseRecording(
369
459
  * 'call_control_id',
370
- * { cause: 'USER_BUSY' },
371
460
  * );
372
461
  * ```
373
462
  */
374
- reject(
463
+ pauseRecording(
375
464
  callControlID: string,
376
- body: ActionRejectParams,
465
+ body: ActionPauseRecordingParams,
377
466
  options?: RequestOptions,
378
- ): APIPromise<ActionRejectResponse> {
379
- return this._client.post(path`/calls/${callControlID}/actions/reject`, { body, ...options });
467
+ ): APIPromise<ActionPauseRecordingResponse> {
468
+ return this._client.post(path`/calls/${callControlID}/actions/record_pause`, { body, ...options });
380
469
  }
381
470
 
382
471
  /**
@@ -402,261 +491,224 @@ export class Actions extends APIResource {
402
491
  }
403
492
 
404
493
  /**
405
- * Sends DTMF tones from this leg. DTMF tones will be heard by the other end of the
406
- * call.
494
+ * Start recording the call. Recording will stop on call hang-up, or can be
495
+ * initiated via the Stop Recording command.
407
496
  *
408
497
  * **Expected Webhooks:**
409
498
  *
410
- * There are no webhooks associated with this command.
499
+ * - `call.recording.saved`
500
+ * - `call.recording.transcription.saved`
501
+ * - `call.recording.error`
411
502
  *
412
503
  * @example
413
504
  * ```ts
414
- * const response = await client.calls.actions.sendDtmf(
505
+ * const response = await client.calls.actions.startRecording(
415
506
  * 'call_control_id',
416
- * { digits: '1www2WABCDw9' },
507
+ * { channels: 'single', format: 'wav' },
417
508
  * );
418
509
  * ```
419
510
  */
420
- sendDtmf(
511
+ startRecording(
421
512
  callControlID: string,
422
- body: ActionSendDtmfParams,
513
+ body: ActionStartRecordingParams,
423
514
  options?: RequestOptions,
424
- ): APIPromise<ActionSendDtmfResponse> {
425
- return this._client.post(path`/calls/${callControlID}/actions/send_dtmf`, { body, ...options });
515
+ ): APIPromise<ActionStartRecordingResponse> {
516
+ return this._client.post(path`/calls/${callControlID}/actions/record_start`, { body, ...options });
426
517
  }
427
518
 
428
519
  /**
429
- * Sends SIP info from this leg.
520
+ * Stop recording the call.
430
521
  *
431
522
  * **Expected Webhooks:**
432
523
  *
433
- * - `call.sip_info.received` (to be received on the target call leg)
524
+ * - `call.recording.saved`
434
525
  *
435
526
  * @example
436
527
  * ```ts
437
- * const response = await client.calls.actions.sendSipInfo(
528
+ * const response = await client.calls.actions.stopRecording(
438
529
  * 'call_control_id',
439
- * {
440
- * body: '{"key": "value", "numValue": 100}',
441
- * content_type: 'application/json',
442
- * },
443
530
  * );
444
531
  * ```
445
532
  */
446
- sendSipInfo(
533
+ stopRecording(
447
534
  callControlID: string,
448
- body: ActionSendSipInfoParams,
535
+ body: ActionStopRecordingParams,
449
536
  options?: RequestOptions,
450
- ): APIPromise<ActionSendSipInfoResponse> {
451
- return this._client.post(path`/calls/${callControlID}/actions/send_sip_info`, { body, ...options });
537
+ ): APIPromise<ActionStopRecordingResponse> {
538
+ return this._client.post(path`/calls/${callControlID}/actions/record_stop`, { body, ...options });
452
539
  }
453
540
 
454
541
  /**
455
- * Convert text to speech and play it back on the call. If multiple speak text
456
- * commands are issued consecutively, the audio files will be placed in a queue
457
- * awaiting playback.
542
+ * Initiate a SIP Refer on a Call Control call. You can initiate a SIP Refer at any
543
+ * point in the duration of a call.
458
544
  *
459
545
  * **Expected Webhooks:**
460
546
  *
461
- * - `call.speak.started`
462
- * - `call.speak.ended`
463
- *
464
- * @example
547
+ * - `call.refer.started`
548
+ * - `call.refer.completed`
549
+ * - `call.refer.failed`
550
+ *
551
+ * @example
465
552
  * ```ts
466
- * const response = await client.calls.actions.speak(
553
+ * const response = await client.calls.actions.refer(
467
554
  * 'call_control_id',
468
- * { payload: 'Say this on the call', voice: 'female' },
555
+ * {
556
+ * sip_address: 'sip:username@sip.non-telnyx-address.com',
557
+ * },
469
558
  * );
470
559
  * ```
471
560
  */
472
- speak(
561
+ refer(
473
562
  callControlID: string,
474
- body: ActionSpeakParams,
563
+ body: ActionReferParams,
475
564
  options?: RequestOptions,
476
- ): APIPromise<ActionSpeakResponse> {
477
- return this._client.post(path`/calls/${callControlID}/actions/speak`, { body, ...options });
565
+ ): APIPromise<ActionReferResponse> {
566
+ return this._client.post(path`/calls/${callControlID}/actions/refer`, { body, ...options });
478
567
  }
479
568
 
480
569
  /**
481
- * Start an AI assistant on the call.
570
+ * Reject an incoming call.
482
571
  *
483
572
  * **Expected Webhooks:**
484
573
  *
485
- * - `call.conversation.ended`
486
- * - `call.conversation_insights.generated`
574
+ * - `call.hangup`
487
575
  *
488
576
  * @example
489
577
  * ```ts
490
- * const response =
491
- * await client.calls.actions.startAIAssistant(
492
- * 'call_control_id',
493
- * );
578
+ * const response = await client.calls.actions.reject(
579
+ * 'call_control_id',
580
+ * { cause: 'USER_BUSY' },
581
+ * );
494
582
  * ```
495
583
  */
496
- startAIAssistant(
584
+ reject(
497
585
  callControlID: string,
498
- body: ActionStartAIAssistantParams,
586
+ body: ActionRejectParams,
499
587
  options?: RequestOptions,
500
- ): APIPromise<ActionStartAIAssistantResponse> {
501
- return this._client.post(path`/calls/${callControlID}/actions/ai_assistant_start`, { body, ...options });
588
+ ): APIPromise<ActionRejectResponse> {
589
+ return this._client.post(path`/calls/${callControlID}/actions/reject`, { body, ...options });
502
590
  }
503
591
 
504
592
  /**
505
- * Start a Conversation Relay session on an active call. Conversation Relay
506
- * connects the call audio to your WebSocket so your application can exchange
507
- * realtime messages with the caller while Telnyx handles speech recognition and
508
- * text-to-speech. Only one AI Assistant or Conversation Relay session can be
509
- * active on a call at a time.
593
+ * Sends DTMF tones from this leg. DTMF tones will be heard by the other end of the
594
+ * call.
510
595
  *
511
596
  * **Expected Webhooks:**
512
597
  *
513
- * - `call.conversation.ended` - Sent when the Conversation Relay session ends. If
514
- * the customer WebSocket disconnects, the webhook payload `reason` is
515
- * `customer_disconnect`.
598
+ * There are no webhooks associated with this command.
516
599
  *
517
600
  * @example
518
601
  * ```ts
519
- * const response =
520
- * await client.calls.actions.startConversationRelay(
521
- * 'call_control_id',
522
- * );
602
+ * const response = await client.calls.actions.sendDtmf(
603
+ * 'call_control_id',
604
+ * { digits: '1www2WABCDw9' },
605
+ * );
523
606
  * ```
524
607
  */
525
- startConversationRelay(
608
+ sendDtmf(
526
609
  callControlID: string,
527
- body: ActionStartConversationRelayParams,
610
+ body: ActionSendDtmfParams,
528
611
  options?: RequestOptions,
529
- ): APIPromise<ActionStartConversationRelayResponse> {
530
- return this._client.post(path`/calls/${callControlID}/actions/conversation_relay_start`, {
531
- body,
532
- ...options,
533
- });
612
+ ): APIPromise<ActionSendDtmfResponse> {
613
+ return this._client.post(path`/calls/${callControlID}/actions/send_dtmf`, { body, ...options });
534
614
  }
535
615
 
536
616
  /**
537
- * Call forking allows you to stream the media from a call to a specific target in
538
- * realtime. This stream can be used to enable realtime audio analysis to support a
539
- * variety of use cases, including fraud detection, or the creation of AI-generated
540
- * audio responses. Requests must specify either the `target` attribute or the `rx`
541
- * and `tx` attributes.
617
+ * Sends SIP info from this leg.
542
618
  *
543
619
  * **Expected Webhooks:**
544
620
  *
545
- * - `call.fork.started`
546
- * - `call.fork.stopped`
621
+ * - `call.sip_info.received` (to be received on the target call leg)
547
622
  *
548
623
  * @example
549
624
  * ```ts
550
- * const response = await client.calls.actions.startForking(
625
+ * const response = await client.calls.actions.sendSipInfo(
551
626
  * 'call_control_id',
627
+ * {
628
+ * body: '{"key": "value", "numValue": 100}',
629
+ * content_type: 'application/json',
630
+ * },
552
631
  * );
553
632
  * ```
554
633
  */
555
- startForking(
556
- callControlID: string,
557
- body: ActionStartForkingParams,
558
- options?: RequestOptions,
559
- ): APIPromise<ActionStartForkingResponse> {
560
- return this._client.post(path`/calls/${callControlID}/actions/fork_start`, { body, ...options });
561
- }
562
-
563
- /**
564
- * Noise Suppression Start (BETA)
565
- *
566
- * @example
567
- * ```ts
568
- * const response =
569
- * await client.calls.actions.startNoiseSuppression(
570
- * 'call_control_id',
571
- * );
572
- * ```
573
- */
574
- startNoiseSuppression(
634
+ sendSipInfo(
575
635
  callControlID: string,
576
- body: ActionStartNoiseSuppressionParams,
636
+ body: ActionSendSipInfoParams,
577
637
  options?: RequestOptions,
578
- ): APIPromise<ActionStartNoiseSuppressionResponse> {
579
- return this._client.post(path`/calls/${callControlID}/actions/suppression_start`, { body, ...options });
638
+ ): APIPromise<ActionSendSipInfoResponse> {
639
+ return this._client.post(path`/calls/${callControlID}/actions/send_sip_info`, { body, ...options });
580
640
  }
581
641
 
582
642
  /**
583
- * Play an audio file on the call. If multiple play audio commands are issued
584
- * consecutively, the audio files will be placed in a queue awaiting playback.
585
- *
586
- * _Notes:_
587
- *
588
- * - When `overlay` is enabled, `target_legs` is limited to `self`.
589
- * - A customer cannot Play Audio with `overlay=true` unless there is a Play Audio
590
- * with `overlay=false` actively playing.
643
+ * Start siprec session to configured in SIPREC connector SRS.
591
644
  *
592
645
  * **Expected Webhooks:**
593
646
  *
594
- * - `call.playback.started`
595
- * - `call.playback.ended`
647
+ * - `siprec.started`
648
+ * - `siprec.stopped`
649
+ * - `siprec.failed`
596
650
  *
597
651
  * @example
598
652
  * ```ts
599
- * const response = await client.calls.actions.startPlayback(
653
+ * const response = await client.calls.actions.startSiprec(
600
654
  * 'call_control_id',
601
655
  * );
602
656
  * ```
603
657
  */
604
- startPlayback(
658
+ startSiprec(
605
659
  callControlID: string,
606
- body: ActionStartPlaybackParams,
660
+ body: ActionStartSiprecParams,
607
661
  options?: RequestOptions,
608
- ): APIPromise<ActionStartPlaybackResponse> {
609
- return this._client.post(path`/calls/${callControlID}/actions/playback_start`, { body, ...options });
662
+ ): APIPromise<ActionStartSiprecResponse> {
663
+ return this._client.post(path`/calls/${callControlID}/actions/siprec_start`, { body, ...options });
610
664
  }
611
665
 
612
666
  /**
613
- * Start recording the call. Recording will stop on call hang-up, or can be
614
- * initiated via the Stop Recording command.
667
+ * Stop SIPREC session.
615
668
  *
616
669
  * **Expected Webhooks:**
617
670
  *
618
- * - `call.recording.saved`
619
- * - `call.recording.transcription.saved`
620
- * - `call.recording.error`
671
+ * - `siprec.stopped`
621
672
  *
622
673
  * @example
623
674
  * ```ts
624
- * const response = await client.calls.actions.startRecording(
675
+ * const response = await client.calls.actions.stopSiprec(
625
676
  * 'call_control_id',
626
- * { channels: 'single', format: 'wav' },
627
677
  * );
628
678
  * ```
629
679
  */
630
- startRecording(
680
+ stopSiprec(
631
681
  callControlID: string,
632
- body: ActionStartRecordingParams,
682
+ body: ActionStopSiprecParams,
633
683
  options?: RequestOptions,
634
- ): APIPromise<ActionStartRecordingResponse> {
635
- return this._client.post(path`/calls/${callControlID}/actions/record_start`, { body, ...options });
684
+ ): APIPromise<ActionStopSiprecResponse> {
685
+ return this._client.post(path`/calls/${callControlID}/actions/siprec_stop`, { body, ...options });
636
686
  }
637
687
 
638
688
  /**
639
- * Start siprec session to configured in SIPREC connector SRS.
689
+ * Convert text to speech and play it back on the call. If multiple speak text
690
+ * commands are issued consecutively, the audio files will be placed in a queue
691
+ * awaiting playback.
640
692
  *
641
693
  * **Expected Webhooks:**
642
694
  *
643
- * - `siprec.started`
644
- * - `siprec.stopped`
645
- * - `siprec.failed`
695
+ * - `call.speak.started`
696
+ * - `call.speak.ended`
646
697
  *
647
698
  * @example
648
699
  * ```ts
649
- * const response = await client.calls.actions.startSiprec(
700
+ * const response = await client.calls.actions.speak(
650
701
  * 'call_control_id',
702
+ * { payload: 'Say this on the call', voice: 'female' },
651
703
  * );
652
704
  * ```
653
705
  */
654
- startSiprec(
706
+ speak(
655
707
  callControlID: string,
656
- body: ActionStartSiprecParams,
708
+ body: ActionSpeakParams,
657
709
  options?: RequestOptions,
658
- ): APIPromise<ActionStartSiprecResponse> {
659
- return this._client.post(path`/calls/${callControlID}/actions/siprec_start`, { body, ...options });
710
+ ): APIPromise<ActionSpeakResponse> {
711
+ return this._client.post(path`/calls/${callControlID}/actions/speak`, { body, ...options });
660
712
  }
661
713
 
662
714
  /**
@@ -683,319 +735,267 @@ export class Actions extends APIResource {
683
735
  }
684
736
 
685
737
  /**
686
- * Start real-time transcription. Transcription will stop on call hang-up, or can
687
- * be initiated via the Transcription stop command.
738
+ * Stop streaming a call to a WebSocket.
688
739
  *
689
740
  * **Expected Webhooks:**
690
741
  *
691
- * - `call.transcription`
742
+ * - `streaming.stopped`
743
+ *
744
+ * @example
745
+ * ```ts
746
+ * const response = await client.calls.actions.stopStreaming(
747
+ * 'call_control_id',
748
+ * );
749
+ * ```
750
+ */
751
+ stopStreaming(
752
+ callControlID: string,
753
+ body: ActionStopStreamingParams,
754
+ options?: RequestOptions,
755
+ ): APIPromise<ActionStopStreamingResponse> {
756
+ return this._client.post(path`/calls/${callControlID}/actions/streaming_stop`, { body, ...options });
757
+ }
758
+
759
+ /**
760
+ * Noise Suppression Start (BETA)
692
761
  *
693
762
  * @example
694
763
  * ```ts
695
764
  * const response =
696
- * await client.calls.actions.startTranscription(
765
+ * await client.calls.actions.startNoiseSuppression(
697
766
  * 'call_control_id',
698
767
  * );
699
768
  * ```
700
769
  */
701
- startTranscription(
770
+ startNoiseSuppression(
702
771
  callControlID: string,
703
- body: ActionStartTranscriptionParams,
772
+ body: ActionStartNoiseSuppressionParams,
704
773
  options?: RequestOptions,
705
- ): APIPromise<ActionStartTranscriptionResponse> {
706
- return this._client.post(path`/calls/${callControlID}/actions/transcription_start`, { body, ...options });
774
+ ): APIPromise<ActionStartNoiseSuppressionResponse> {
775
+ return this._client.post(path`/calls/${callControlID}/actions/suppression_start`, { body, ...options });
707
776
  }
708
777
 
709
778
  /**
710
- * Stop an AI assistant on the call.
779
+ * Noise Suppression Stop (BETA)
711
780
  *
712
781
  * @example
713
782
  * ```ts
714
- * const response = await client.calls.actions.stopAIAssistant(
715
- * 'call_control_id',
716
- * );
783
+ * const response =
784
+ * await client.calls.actions.stopNoiseSuppression(
785
+ * 'call_control_id',
786
+ * );
717
787
  * ```
718
788
  */
719
- stopAIAssistant(
789
+ stopNoiseSuppression(
720
790
  callControlID: string,
721
- body: ActionStopAIAssistantParams,
791
+ body: ActionStopNoiseSuppressionParams,
722
792
  options?: RequestOptions,
723
- ): APIPromise<ActionStopAIAssistantResponse> {
724
- return this._client.post(path`/calls/${callControlID}/actions/ai_assistant_stop`, { body, ...options });
793
+ ): APIPromise<ActionStopNoiseSuppressionResponse> {
794
+ return this._client.post(path`/calls/${callControlID}/actions/suppression_stop`, { body, ...options });
725
795
  }
726
796
 
727
797
  /**
728
- * Stop the active Conversation Relay session on a call.
798
+ * Switch the supervisor role for a bridged call. This allows switching between
799
+ * different supervisor modes during an active call
729
800
  *
730
801
  * @example
731
802
  * ```ts
732
803
  * const response =
733
- * await client.calls.actions.stopConversationRelay(
804
+ * await client.calls.actions.switchSupervisorRole(
734
805
  * 'call_control_id',
806
+ * { role: 'barge' },
735
807
  * );
736
808
  * ```
737
809
  */
738
- stopConversationRelay(
810
+ switchSupervisorRole(
739
811
  callControlID: string,
740
- body: ActionStopConversationRelayParams,
812
+ body: ActionSwitchSupervisorRoleParams,
741
813
  options?: RequestOptions,
742
- ): APIPromise<ActionStopConversationRelayResponse> {
743
- return this._client.post(path`/calls/${callControlID}/actions/conversation_relay_stop`, {
814
+ ): APIPromise<ActionSwitchSupervisorRoleResponse> {
815
+ return this._client.post(path`/calls/${callControlID}/actions/switch_supervisor_role`, {
744
816
  body,
745
817
  ...options,
746
818
  });
747
819
  }
748
820
 
749
821
  /**
750
- * Stop forking a call.
822
+ * Start real-time transcription. Transcription will stop on call hang-up, or can
823
+ * be initiated via the Transcription stop command.
751
824
  *
752
825
  * **Expected Webhooks:**
753
826
  *
754
- * - `call.fork.stopped`
827
+ * - `call.transcription`
755
828
  *
756
829
  * @example
757
830
  * ```ts
758
- * const response = await client.calls.actions.stopForking(
759
- * 'call_control_id',
760
- * );
831
+ * const response =
832
+ * await client.calls.actions.startTranscription(
833
+ * 'call_control_id',
834
+ * );
761
835
  * ```
762
836
  */
763
- stopForking(
837
+ startTranscription(
764
838
  callControlID: string,
765
- body: ActionStopForkingParams,
839
+ body: ActionStartTranscriptionParams,
766
840
  options?: RequestOptions,
767
- ): APIPromise<ActionStopForkingResponse> {
768
- return this._client.post(path`/calls/${callControlID}/actions/fork_stop`, { body, ...options });
769
- }
770
-
771
- /**
772
- * Stop current gather.
773
- *
774
- * **Expected Webhooks:**
775
- *
776
- * - `call.gather.ended`
777
- *
778
- * @example
779
- * ```ts
780
- * const response = await client.calls.actions.stopGather(
781
- * 'call_control_id',
782
- * );
783
- * ```
784
- */
785
- stopGather(
786
- callControlID: string,
787
- body: ActionStopGatherParams,
788
- options?: RequestOptions,
789
- ): APIPromise<ActionStopGatherResponse> {
790
- return this._client.post(path`/calls/${callControlID}/actions/gather_stop`, { body, ...options });
841
+ ): APIPromise<ActionStartTranscriptionResponse> {
842
+ return this._client.post(path`/calls/${callControlID}/actions/transcription_start`, { body, ...options });
791
843
  }
792
844
 
793
845
  /**
794
- * Noise Suppression Stop (BETA)
846
+ * Stop real-time transcription.
795
847
  *
796
848
  * @example
797
849
  * ```ts
798
850
  * const response =
799
- * await client.calls.actions.stopNoiseSuppression(
851
+ * await client.calls.actions.stopTranscription(
800
852
  * 'call_control_id',
801
853
  * );
802
854
  * ```
803
855
  */
804
- stopNoiseSuppression(
856
+ stopTranscription(
805
857
  callControlID: string,
806
- body: ActionStopNoiseSuppressionParams,
858
+ body: ActionStopTranscriptionParams,
807
859
  options?: RequestOptions,
808
- ): APIPromise<ActionStopNoiseSuppressionResponse> {
809
- return this._client.post(path`/calls/${callControlID}/actions/suppression_stop`, { body, ...options });
860
+ ): APIPromise<ActionStopTranscriptionResponse> {
861
+ return this._client.post(path`/calls/${callControlID}/actions/transcription_stop`, { body, ...options });
810
862
  }
811
863
 
812
864
  /**
813
- * Stop audio being played on the call.
865
+ * Transfer a call to a new destination. If the transfer is unsuccessful, a
866
+ * `call.hangup` webhook for the other call (Leg B) will be sent indicating that
867
+ * the transfer could not be completed. The original call will remain active and
868
+ * may be issued additional commands, potentially transfering the call to an
869
+ * alternate destination.
814
870
  *
815
871
  * **Expected Webhooks:**
816
872
  *
817
- * - `call.playback.ended` or `call.speak.ended`
873
+ * - `call.initiated`
874
+ * - `call.bridged` to Leg B
875
+ * - `call.answered` or `call.hangup`
876
+ * - `call.machine.detection.ended` if `answering_machine_detection` was requested
877
+ * - `call.machine.greeting.ended` if `answering_machine_detection` was requested
878
+ * to detect the end of machine greeting
879
+ * - `call.machine.premium.detection.ended` if
880
+ * `answering_machine_detection=premium` was requested
881
+ * - `call.machine.premium.greeting.ended` if `answering_machine_detection=premium`
882
+ * was requested and a beep was detected
818
883
  *
819
884
  * @example
820
885
  * ```ts
821
- * const response = await client.calls.actions.stopPlayback(
886
+ * const response = await client.calls.actions.transfer(
822
887
  * 'call_control_id',
888
+ * {
889
+ * to: '+18005550100 or sip:username@sip.telnyx.com;secure=srtp',
890
+ * },
823
891
  * );
824
892
  * ```
825
893
  */
826
- stopPlayback(
894
+ transfer(
827
895
  callControlID: string,
828
- body: ActionStopPlaybackParams,
896
+ body: ActionTransferParams,
829
897
  options?: RequestOptions,
830
- ): APIPromise<ActionStopPlaybackResponse> {
831
- return this._client.post(path`/calls/${callControlID}/actions/playback_stop`, { body, ...options });
898
+ ): APIPromise<ActionTransferResponse> {
899
+ return this._client.post(path`/calls/${callControlID}/actions/transfer`, { body, ...options });
832
900
  }
833
901
 
834
902
  /**
835
- * Stop recording the call.
836
- *
837
- * **Expected Webhooks:**
838
- *
839
- * - `call.recording.saved`
903
+ * Add messages to the conversation started by an AI assistant on the call.
840
904
  *
841
905
  * @example
842
906
  * ```ts
843
- * const response = await client.calls.actions.stopRecording(
844
- * 'call_control_id',
845
- * );
907
+ * const response =
908
+ * await client.calls.actions.addAIAssistantMessages(
909
+ * 'call_control_id',
910
+ * );
846
911
  * ```
847
912
  */
848
- stopRecording(
913
+ addAIAssistantMessages(
849
914
  callControlID: string,
850
- body: ActionStopRecordingParams,
915
+ body: ActionAddAIAssistantMessagesParams,
851
916
  options?: RequestOptions,
852
- ): APIPromise<ActionStopRecordingResponse> {
853
- return this._client.post(path`/calls/${callControlID}/actions/record_stop`, { body, ...options });
917
+ ): APIPromise<ActionAddAIAssistantMessagesResponse> {
918
+ return this._client.post(path`/calls/${callControlID}/actions/ai_assistant_add_messages`, {
919
+ body,
920
+ ...options,
921
+ });
854
922
  }
855
923
 
856
924
  /**
857
- * Stop SIPREC session.
858
- *
859
- * **Expected Webhooks:**
860
- *
861
- * - `siprec.stopped`
925
+ * Add a participant to an existing AI assistant conversation. Use this command to
926
+ * bring an additional call leg into a running AI conversation.
862
927
  *
863
928
  * @example
864
929
  * ```ts
865
- * const response = await client.calls.actions.stopSiprec(
930
+ * const response = await client.calls.actions.joinAIAssistant(
866
931
  * 'call_control_id',
932
+ * {
933
+ * conversation_id: 'v3:abc123',
934
+ * participant: { id: 'v3:abc123def456', role: 'user' },
935
+ * },
867
936
  * );
868
937
  * ```
869
938
  */
870
- stopSiprec(
939
+ joinAIAssistant(
871
940
  callControlID: string,
872
- body: ActionStopSiprecParams,
941
+ body: ActionJoinAIAssistantParams,
873
942
  options?: RequestOptions,
874
- ): APIPromise<ActionStopSiprecResponse> {
875
- return this._client.post(path`/calls/${callControlID}/actions/siprec_stop`, { body, ...options });
943
+ ): APIPromise<ActionJoinAIAssistantResponse> {
944
+ return this._client.post(path`/calls/${callControlID}/actions/ai_assistant_join`, { body, ...options });
876
945
  }
877
946
 
878
947
  /**
879
- * Stop streaming a call to a WebSocket.
948
+ * Start a Conversation Relay session on an active call. Conversation Relay
949
+ * connects the call audio to your WebSocket so your application can exchange
950
+ * realtime messages with the caller while Telnyx handles speech recognition and
951
+ * text-to-speech. Only one AI Assistant or Conversation Relay session can be
952
+ * active on a call at a time.
880
953
  *
881
954
  * **Expected Webhooks:**
882
955
  *
883
- * - `streaming.stopped`
884
- *
885
- * @example
886
- * ```ts
887
- * const response = await client.calls.actions.stopStreaming(
888
- * 'call_control_id',
889
- * );
890
- * ```
891
- */
892
- stopStreaming(
893
- callControlID: string,
894
- body: ActionStopStreamingParams,
895
- options?: RequestOptions,
896
- ): APIPromise<ActionStopStreamingResponse> {
897
- return this._client.post(path`/calls/${callControlID}/actions/streaming_stop`, { body, ...options });
898
- }
899
-
900
- /**
901
- * Stop real-time transcription.
902
- *
903
- * @example
904
- * ```ts
905
- * const response =
906
- * await client.calls.actions.stopTranscription(
907
- * 'call_control_id',
908
- * );
909
- * ```
910
- */
911
- stopTranscription(
912
- callControlID: string,
913
- body: ActionStopTranscriptionParams,
914
- options?: RequestOptions,
915
- ): APIPromise<ActionStopTranscriptionResponse> {
916
- return this._client.post(path`/calls/${callControlID}/actions/transcription_stop`, { body, ...options });
917
- }
918
-
919
- /**
920
- * Switch the supervisor role for a bridged call. This allows switching between
921
- * different supervisor modes during an active call
956
+ * - `call.conversation.ended` - Sent when the Conversation Relay session ends. If
957
+ * the customer WebSocket disconnects, the webhook payload `reason` is
958
+ * `customer_disconnect`.
922
959
  *
923
960
  * @example
924
961
  * ```ts
925
962
  * const response =
926
- * await client.calls.actions.switchSupervisorRole(
963
+ * await client.calls.actions.startConversationRelay(
927
964
  * 'call_control_id',
928
- * { role: 'barge' },
929
965
  * );
930
966
  * ```
931
967
  */
932
- switchSupervisorRole(
968
+ startConversationRelay(
933
969
  callControlID: string,
934
- body: ActionSwitchSupervisorRoleParams,
970
+ body: ActionStartConversationRelayParams,
935
971
  options?: RequestOptions,
936
- ): APIPromise<ActionSwitchSupervisorRoleResponse> {
937
- return this._client.post(path`/calls/${callControlID}/actions/switch_supervisor_role`, {
972
+ ): APIPromise<ActionStartConversationRelayResponse> {
973
+ return this._client.post(path`/calls/${callControlID}/actions/conversation_relay_start`, {
938
974
  body,
939
975
  ...options,
940
976
  });
941
977
  }
942
978
 
943
979
  /**
944
- * Transfer a call to a new destination. If the transfer is unsuccessful, a
945
- * `call.hangup` webhook for the other call (Leg B) will be sent indicating that
946
- * the transfer could not be completed. The original call will remain active and
947
- * may be issued additional commands, potentially transfering the call to an
948
- * alternate destination.
949
- *
950
- * **Expected Webhooks:**
951
- *
952
- * - `call.initiated`
953
- * - `call.bridged` to Leg B
954
- * - `call.answered` or `call.hangup`
955
- * - `call.machine.detection.ended` if `answering_machine_detection` was requested
956
- * - `call.machine.greeting.ended` if `answering_machine_detection` was requested
957
- * to detect the end of machine greeting
958
- * - `call.machine.premium.detection.ended` if
959
- * `answering_machine_detection=premium` was requested
960
- * - `call.machine.premium.greeting.ended` if `answering_machine_detection=premium`
961
- * was requested and a beep was detected
962
- *
963
- * @example
964
- * ```ts
965
- * const response = await client.calls.actions.transfer(
966
- * 'call_control_id',
967
- * {
968
- * to: '+18005550100 or sip:username@sip.telnyx.com;secure=srtp',
969
- * },
970
- * );
971
- * ```
972
- */
973
- transfer(
974
- callControlID: string,
975
- body: ActionTransferParams,
976
- options?: RequestOptions,
977
- ): APIPromise<ActionTransferResponse> {
978
- return this._client.post(path`/calls/${callControlID}/actions/transfer`, { body, ...options });
979
- }
980
-
981
- /**
982
- * Updates client state
980
+ * Stop the active Conversation Relay session on a call.
983
981
  *
984
982
  * @example
985
983
  * ```ts
986
984
  * const response =
987
- * await client.calls.actions.updateClientState(
985
+ * await client.calls.actions.stopConversationRelay(
988
986
  * 'call_control_id',
989
- * { client_state: 'aGF2ZSBhIG5pY2UgZGF5ID1d' },
990
987
  * );
991
988
  * ```
992
989
  */
993
- updateClientState(
990
+ stopConversationRelay(
994
991
  callControlID: string,
995
- body: ActionUpdateClientStateParams,
992
+ body: ActionStopConversationRelayParams,
996
993
  options?: RequestOptions,
997
- ): APIPromise<ActionUpdateClientStateResponse> {
998
- return this._client.put(path`/calls/${callControlID}/actions/client_state_update`, { body, ...options });
994
+ ): APIPromise<ActionStopConversationRelayResponse> {
995
+ return this._client.post(path`/calls/${callControlID}/actions/conversation_relay_stop`, {
996
+ body,
997
+ ...options,
998
+ });
999
999
  }
1000
1000
  }
1001
1001
 
@@ -1114,6 +1114,13 @@ export interface DeepgramNova2Config {
1114
1114
 
1115
1115
  transcription_model: 'deepgram/nova-2';
1116
1116
 
1117
+ /**
1118
+ * Nova-2 keyword biasing without intensifiers. Up to 100 terms to bias recognition
1119
+ * toward. For weighted biasing, use `keywords_boosting` instead. Nova-2-only; use
1120
+ * `keyterms` on Nova-3.
1121
+ */
1122
+ hints?: Array<string>;
1123
+
1117
1124
  /**
1118
1125
  * Whether to send also interim results. If set to false, only final results will
1119
1126
  * be sent.
@@ -1176,6 +1183,15 @@ export interface DeepgramNova2Config {
1176
1183
  | 'vi'
1177
1184
  | 'auto_detect';
1178
1185
 
1186
+ /**
1187
+ * Enable Deepgram's smart formatting (capitalization, punctuation, and digit
1188
+ * normalization). Note: Telnyx defaults this to `true`, overriding Deepgram's
1189
+ * underlying default of `false` — omit the field to get a smart-formatted
1190
+ * transcript, or set it to `false` to receive the raw lowercase transcript without
1191
+ * punctuation.
1192
+ */
1193
+ smart_format?: boolean;
1194
+
1179
1195
  /**
1180
1196
  * Number of milliseconds of silence to consider an utterance ended. Ranges from 0
1181
1197
  * to 5000 ms.
@@ -1194,6 +1210,12 @@ export interface DeepgramNova3Config {
1194
1210
  */
1195
1211
  interim_results?: boolean;
1196
1212
 
1213
+ /**
1214
+ * Nova-3 keyterm prompting. Up to 100 domain-specific terms or brand names to bias
1215
+ * recognition toward. Nova-3-only; use `hints` on Nova-2.
1216
+ */
1217
+ keyterms?: Array<string>;
1218
+
1197
1219
  /**
1198
1220
  * Keywords and their respective intensifiers (boosting values) to improve
1199
1221
  * transcription accuracy for specific words or phrases. The intensifier should be
@@ -1222,6 +1244,15 @@ export interface DeepgramNova3Config {
1222
1244
  | 'pt-PT'
1223
1245
  | 'auto_detect';
1224
1246
 
1247
+ /**
1248
+ * Enable Deepgram's smart formatting (capitalization, punctuation, and digit
1249
+ * normalization). Note: Telnyx defaults this to `true`, overriding Deepgram's
1250
+ * underlying default of `false` — omit the field to get a smart-formatted
1251
+ * transcript, or set it to `false` to receive the raw lowercase transcript without
1252
+ * punctuation.
1253
+ */
1254
+ smart_format?: boolean;
1255
+
1225
1256
  /**
1226
1257
  * Number of milliseconds of silence to consider an utterance ended. Ranges from 0
1227
1258
  * to 5000 ms.
@@ -2303,7 +2334,14 @@ export interface ActionUpdateClientStateResponse {
2303
2334
  data?: CallControlCommandResult;
2304
2335
  }
2305
2336
 
2306
- export interface ActionAddAIAssistantMessagesParams {
2337
+ export interface ActionStartAIAssistantParams {
2338
+ /**
2339
+ * AI Assistant configuration. All fields except `id` are optional — the
2340
+ * assistant's stored configuration will be used as fallback for any omitted
2341
+ * fields.
2342
+ */
2343
+ assistant?: CallsAPI.CallAssistantRequest;
2344
+
2307
2345
  /**
2308
2346
  * Use this field to add state to every subsequent webhook. It must be a valid
2309
2347
  * Base-64 encoded string.
@@ -2317,15 +2355,104 @@ export interface ActionAddAIAssistantMessagesParams {
2317
2355
  command_id?: string;
2318
2356
 
2319
2357
  /**
2320
- * The messages to add to the conversation.
2358
+ * Text that will be played when the assistant starts, if none then nothing will be
2359
+ * played when the assistant starts. The greeting can be text for any voice or SSML
2360
+ * for `AWS.Polly.<voice_id>` voices. There is a 3,000 character limit.
2321
2361
  */
2322
- messages?: Array<UserMessage | AssistantMessage | ToolMessage | SystemMessage | DeveloperMessage>;
2323
- }
2362
+ greeting?: string;
2324
2363
 
2325
- export interface ActionAnswerParams {
2326
2364
  /**
2327
- * AI Assistant configuration. All fields except `id` are optional — the
2328
- * assistant's stored configuration will be used as fallback for any omitted
2365
+ * Settings for handling user interruptions during assistant speech
2366
+ */
2367
+ interruption_settings?: InterruptionSettings;
2368
+
2369
+ /**
2370
+ * A list of messages to seed the conversation history before the assistant starts.
2371
+ * Follows the same message format as the `ai_assistant_add_messages` command.
2372
+ */
2373
+ message_history?: Array<UserMessage | AssistantMessage | ToolMessage | SystemMessage | DeveloperMessage>;
2374
+
2375
+ /**
2376
+ * A list of participants to add to the conversation when it starts.
2377
+ */
2378
+ participants?: Array<AIAssistantJoinParticipant>;
2379
+
2380
+ /**
2381
+ * When `true`, a webhook is sent each time the conversation message history is
2382
+ * updated.
2383
+ */
2384
+ send_message_history_updates?: boolean;
2385
+
2386
+ /**
2387
+ * The settings associated with speech to text for the voice assistant. This is
2388
+ * only relevant if the assistant uses a text-to-text language model. Any assistant
2389
+ * using a model with native audio support (e.g. `fixie-ai/ultravox-v0_4`) will
2390
+ * ignore this field.
2391
+ */
2392
+ transcription?: TranscriptionConfig;
2393
+
2394
+ /**
2395
+ * The voice to be used by the voice assistant. Currently we support ElevenLabs,
2396
+ * Telnyx and AWS voices.
2397
+ *
2398
+ * **Supported Providers:**
2399
+ *
2400
+ * - **AWS:** Use `AWS.Polly.<VoiceId>` (e.g., `AWS.Polly.Joanna`). For neural
2401
+ * voices, which provide more realistic, human-like speech, append `-Neural` to
2402
+ * the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
2403
+ * [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
2404
+ * for compatibility.
2405
+ * - **Azure:** Use `Azure.<VoiceId>. (e.g. Azure.en-CA-ClaraNeural,
2406
+ * Azure.en-CA-LiamNeural, Azure.en-US-BrianMultilingualNeural,
2407
+ * Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to
2408
+ * [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).)
2409
+ * - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
2410
+ * `ElevenLabs.BaseModel.John`). The `ModelId` part is optional. To use
2411
+ * ElevenLabs, you must provide your ElevenLabs API key as an integration secret
2412
+ * under `"voice_settings": {"api_key_ref": "<secret_id>"}`. See
2413
+ * [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
2414
+ * for details. Check
2415
+ * [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
2416
+ * - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
2417
+ * - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
2418
+ * `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
2419
+ * `Max`, `TTS2`.
2420
+ * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
2421
+ * `ara`, `rex`, `sal`, `leo`.
2422
+ */
2423
+ voice?: string;
2424
+
2425
+ /**
2426
+ * The settings associated with the voice selected
2427
+ */
2428
+ voice_settings?:
2429
+ | ElevenLabsVoiceSettings
2430
+ | TelnyxVoiceSettings
2431
+ | AwsVoiceSettings
2432
+ | Shared.AzureVoiceSettings
2433
+ | Shared.RimeVoiceSettings
2434
+ | Shared.ResembleVoiceSettings
2435
+ | Shared.XaiVoiceSettings;
2436
+ }
2437
+
2438
+ export interface ActionStopAIAssistantParams {
2439
+ /**
2440
+ * Use this field to add state to every subsequent webhook. It must be a valid
2441
+ * Base-64 encoded string.
2442
+ */
2443
+ client_state?: string;
2444
+
2445
+ /**
2446
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
2447
+ * the same `command_id` for the same `call_control_id`.
2448
+ */
2449
+ command_id?: string;
2450
+ }
2451
+
2452
+ export interface ActionAnswerParams {
2453
+ /**
2454
+ * AI Assistant configuration. All fields except `id` are optional — the
2455
+ * assistant's stored configuration will be used as fallback for any omitted
2329
2456
  * fields.
2330
2457
  */
2331
2458
  assistant?: CallsAPI.CallAssistantRequest;
@@ -2719,6 +2846,14 @@ export interface ActionBridgeParams {
2719
2846
  video_room_id?: string;
2720
2847
  }
2721
2848
 
2849
+ export interface ActionUpdateClientStateParams {
2850
+ /**
2851
+ * Use this field to add state to every subsequent webhook. It must be a valid
2852
+ * Base-64 encoded string.
2853
+ */
2854
+ client_state: string;
2855
+ }
2856
+
2722
2857
  export interface ActionEnqueueParams {
2723
2858
  /**
2724
2859
  * The name of the queue the call should be put in. If a queue with a given name
@@ -2757,6 +2892,59 @@ export interface ActionEnqueueParams {
2757
2892
  max_wait_time_secs?: number;
2758
2893
  }
2759
2894
 
2895
+ export interface ActionStartForkingParams {
2896
+ /**
2897
+ * Use this field to add state to every subsequent webhook. It must be a valid
2898
+ * Base-64 encoded string.
2899
+ */
2900
+ client_state?: string;
2901
+
2902
+ /**
2903
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
2904
+ * the same `command_id` for the same `call_control_id`.
2905
+ */
2906
+ command_id?: string;
2907
+
2908
+ /**
2909
+ * The network target, <udp:ip_address:port>, where the call's incoming RTP media
2910
+ * packets should be forwarded.
2911
+ */
2912
+ rx?: string;
2913
+
2914
+ /**
2915
+ * Optionally specify a media type to stream. If `decrypted` selected, Telnyx will
2916
+ * decrypt incoming SIP media before forking to the target. `rx` and `tx` are
2917
+ * required fields if `decrypted` selected.
2918
+ */
2919
+ stream_type?: 'decrypted';
2920
+
2921
+ /**
2922
+ * The network target, <udp:ip_address:port>, where the call's outgoing RTP media
2923
+ * packets should be forwarded.
2924
+ */
2925
+ tx?: string;
2926
+ }
2927
+
2928
+ export interface ActionStopForkingParams {
2929
+ /**
2930
+ * Use this field to add state to every subsequent webhook. It must be a valid
2931
+ * Base-64 encoded string.
2932
+ */
2933
+ client_state?: string;
2934
+
2935
+ /**
2936
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
2937
+ * the same `command_id` for the same `call_control_id`.
2938
+ */
2939
+ command_id?: string;
2940
+
2941
+ /**
2942
+ * Optionally specify a `stream_type`. This should match the `stream_type` that was
2943
+ * used in `fork_start` command to properly stop the fork.
2944
+ */
2945
+ stream_type?: 'raw' | 'decrypted';
2946
+ }
2947
+
2760
2948
  export interface ActionGatherParams {
2761
2949
  /**
2762
2950
  * Use this field to add state to every subsequent webhook. It must be a valid
@@ -2814,6 +3002,20 @@ export interface ActionGatherParams {
2814
3002
  valid_digits?: string;
2815
3003
  }
2816
3004
 
3005
+ export interface ActionStopGatherParams {
3006
+ /**
3007
+ * Use this field to add state to every subsequent webhook. It must be a valid
3008
+ * Base-64 encoded string.
3009
+ */
3010
+ client_state?: string;
3011
+
3012
+ /**
3013
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
3014
+ * the same `command_id` for the same `call_control_id`.
3015
+ */
3016
+ command_id?: string;
3017
+ }
3018
+
2817
3019
  export interface ActionGatherUsingAIParams {
2818
3020
  /**
2819
3021
  * The parameters described as a JSON Schema object that needs to be gathered by
@@ -3235,14 +3437,7 @@ export interface ActionHangupParams {
3235
3437
  custom_headers?: Array<CallsAPI.CustomSipHeader>;
3236
3438
  }
3237
3439
 
3238
- export interface ActionJoinAIAssistantParams {
3239
- /**
3240
- * The ID of the AI assistant conversation to join.
3241
- */
3242
- conversation_id: string;
3243
-
3244
- participant: AIAssistantJoinParticipant;
3245
-
3440
+ export interface ActionLeaveQueueParams {
3246
3441
  /**
3247
3442
  * Use this field to add state to every subsequent webhook. It must be a valid
3248
3443
  * Base-64 encoded string.
@@ -3256,21 +3451,25 @@ export interface ActionJoinAIAssistantParams {
3256
3451
  command_id?: string;
3257
3452
  }
3258
3453
 
3259
- export interface ActionLeaveQueueParams {
3454
+ export interface ActionStartPlaybackParams {
3260
3455
  /**
3261
- * Use this field to add state to every subsequent webhook. It must be a valid
3262
- * Base-64 encoded string.
3456
+ * Specifies the type of audio provided in `audio_url` or `playback_content`.
3263
3457
  */
3264
- client_state?: string;
3458
+ audio_type?: 'mp3' | 'wav';
3265
3459
 
3266
3460
  /**
3267
- * Use this field to avoid duplicate commands. Telnyx will ignore any command with
3268
- * the same `command_id` for the same `call_control_id`.
3461
+ * The URL of a file to be played back on the call. The URL can point to either a
3462
+ * WAV or MP3 file. media_name and audio_url cannot be used together in one
3463
+ * request.
3269
3464
  */
3270
- command_id?: string;
3271
- }
3465
+ audio_url?: string;
3466
+
3467
+ /**
3468
+ * Caches the audio file. Useful when playing the same audio file multiple times
3469
+ * during the call.
3470
+ */
3471
+ cache_audio?: boolean;
3272
3472
 
3273
- export interface ActionPauseRecordingParams {
3274
3473
  /**
3275
3474
  * Use this field to add state to every subsequent webhook. It must be a valid
3276
3475
  * Base-64 encoded string.
@@ -3284,58 +3483,49 @@ export interface ActionPauseRecordingParams {
3284
3483
  command_id?: string;
3285
3484
 
3286
3485
  /**
3287
- * Uniquely identifies the resource.
3288
- */
3289
- recording_id?: string;
3290
- }
3291
-
3292
- export interface ActionReferParams {
3293
- /**
3294
- * The SIP URI to which the call will be referred to.
3295
- */
3296
- sip_address: string;
3297
-
3298
- /**
3299
- * Use this field to add state to every subsequent webhook. It must be a valid
3300
- * Base-64 encoded string.
3486
+ * The number of times the audio file should be played. If supplied, the value must
3487
+ * be an integer between 1 and 100, or the special string `infinity` for an endless
3488
+ * loop.
3301
3489
  */
3302
- client_state?: string;
3490
+ loop?: Loopcount;
3303
3491
 
3304
3492
  /**
3305
- * Use this field to avoid execution of duplicate commands. Telnyx will ignore
3306
- * subsequent commands with the same `command_id` as one that has already been
3307
- * executed.
3493
+ * The media_name of a file to be played back on the call. The media_name must
3494
+ * point to a file previously uploaded to api.telnyx.com/v2/media by the same
3495
+ * user/organization. The file must either be a WAV or MP3 file.
3308
3496
  */
3309
- command_id?: string;
3497
+ media_name?: string;
3310
3498
 
3311
3499
  /**
3312
- * Custom headers to be added to the SIP INVITE.
3500
+ * When enabled, audio will be mixed on top of any other audio that is actively
3501
+ * being played back. Note that `overlay: true` will only work if there is another
3502
+ * audio file already being played on the call.
3313
3503
  */
3314
- custom_headers?: Array<CallsAPI.CustomSipHeader>;
3504
+ overlay?: boolean;
3315
3505
 
3316
3506
  /**
3317
- * SIP Authentication password used for SIP challenges.
3507
+ * Allows a user to provide base64 encoded mp3 or wav. Note: when using this
3508
+ * parameter, `media_url` and `media_name` in the `playback_started` and
3509
+ * `playback_ended` webhooks will be empty
3318
3510
  */
3319
- sip_auth_password?: string;
3511
+ playback_content?: string;
3320
3512
 
3321
3513
  /**
3322
- * SIP Authentication username used for SIP challenges.
3514
+ * When specified, it stops the current audio being played. Specify `current` to
3515
+ * stop the current audio being played, and to play the next file in the queue.
3516
+ * Specify `all` to stop the current audio file being played and to also clear all
3517
+ * audio files from the queue.
3323
3518
  */
3324
- sip_auth_username?: string;
3519
+ stop?: string;
3325
3520
 
3326
3521
  /**
3327
- * SIP headers to be added to the request. Currently only User-to-User header is
3328
- * supported.
3522
+ * Specifies the leg or legs on which audio will be played. If supplied, the value
3523
+ * must be either `self`, `opposite` or `both`.
3329
3524
  */
3330
- sip_headers?: Array<CallsAPI.SipHeader>;
3525
+ target_legs?: string;
3331
3526
  }
3332
3527
 
3333
- export interface ActionRejectParams {
3334
- /**
3335
- * Cause for call rejection.
3336
- */
3337
- cause: 'CALL_REJECTED' | 'USER_BUSY';
3338
-
3528
+ export interface ActionStopPlaybackParams {
3339
3529
  /**
3340
3530
  * Use this field to add state to every subsequent webhook. It must be a valid
3341
3531
  * Base-64 encoded string.
@@ -3347,9 +3537,20 @@ export interface ActionRejectParams {
3347
3537
  * the same `command_id` for the same `call_control_id`.
3348
3538
  */
3349
3539
  command_id?: string;
3540
+
3541
+ /**
3542
+ * When enabled, it stops the audio being played in the overlay queue.
3543
+ */
3544
+ overlay?: boolean;
3545
+
3546
+ /**
3547
+ * Use `current` to stop the current audio being played. Use `all` to stop the
3548
+ * current audio file being played and clear all audio files from the queue.
3549
+ */
3550
+ stop?: string;
3350
3551
  }
3351
3552
 
3352
- export interface ActionResumeRecordingParams {
3553
+ export interface ActionPauseRecordingParams {
3353
3554
  /**
3354
3555
  * Use this field to add state to every subsequent webhook. It must be a valid
3355
3556
  * Base-64 encoded string.
@@ -3368,13 +3569,7 @@ export interface ActionResumeRecordingParams {
3368
3569
  recording_id?: string;
3369
3570
  }
3370
3571
 
3371
- export interface ActionSendDtmfParams {
3372
- /**
3373
- * DTMF digits to send. Valid digits are 0-9, A-D, \*, and #. Pauses can be added
3374
- * using w (0.5s) and W (1s).
3375
- */
3376
- digits: string;
3377
-
3572
+ export interface ActionResumeRecordingParams {
3378
3573
  /**
3379
3574
  * Use this field to add state to every subsequent webhook. It must be a valid
3380
3575
  * Base-64 encoded string.
@@ -3388,23 +3583,23 @@ export interface ActionSendDtmfParams {
3388
3583
  command_id?: string;
3389
3584
 
3390
3585
  /**
3391
- * Specifies for how many milliseconds each digit will be played in the audio
3392
- * stream. Ranges from 100 to 500ms
3586
+ * Uniquely identifies the resource.
3393
3587
  */
3394
- duration_millis?: number;
3588
+ recording_id?: string;
3395
3589
  }
3396
3590
 
3397
- export interface ActionSendSipInfoParams {
3591
+ export interface ActionStartRecordingParams {
3398
3592
  /**
3399
- * Content of the SIP INFO
3593
+ * When `dual`, final audio file will be stereo recorded with the first leg on
3594
+ * channel A, and the rest on channel B.
3400
3595
  */
3401
- body: string;
3596
+ channels: 'single' | 'dual';
3402
3597
 
3403
3598
  /**
3404
- * Content type of the INFO body. Must be MIME type compliant. There is a 1,400
3405
- * bytes limit
3599
+ * The audio file format used when storing the call recording. Can be either `mp3`
3600
+ * or `wav`.
3406
3601
  */
3407
- content_type: string;
3602
+ format: 'wav' | 'mp3';
3408
3603
 
3409
3604
  /**
3410
3605
  * Use this field to add state to every subsequent webhook. It must be a valid
@@ -3417,165 +3612,333 @@ export interface ActionSendSipInfoParams {
3417
3612
  * the same `command_id` for the same `call_control_id`.
3418
3613
  */
3419
3614
  command_id?: string;
3420
- }
3421
3615
 
3422
- export interface ActionSpeakParams {
3423
3616
  /**
3424
- * The text or SSML to be converted into speech. There is a 3,000 character limit.
3617
+ * The custom recording file name to be used instead of the default `call_leg_id`.
3618
+ * Telnyx will still add a Unix timestamp suffix.
3425
3619
  */
3426
- payload: string;
3620
+ custom_file_name?: string;
3427
3621
 
3428
3622
  /**
3429
- * Specifies the voice used in speech synthesis.
3430
- *
3431
- * - Define voices using the format `<Provider>.<Model>.<VoiceId>`. Specifying only
3432
- * the provider will give default values for voice_id and model_id.
3433
- *
3434
- * **Supported Providers:**
3435
- *
3436
- * - **AWS:** Use `AWS.Polly.<VoiceId>` (e.g., `AWS.Polly.Joanna`). For neural
3437
- * voices, which provide more realistic, human-like speech, append `-Neural` to
3438
- * the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
3439
- * [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
3440
- * for compatibility.
3441
- * - **Azure:** Use `Azure.<VoiceId>` (e.g., `Azure.en-CA-ClaraNeural`,
3442
- * `Azure.en-US-BrianMultilingualNeural`,
3443
- * `Azure.en-US-Ava:DragonHDLatestNeural`). For a complete list of voices, go to
3444
- * [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery). Use
3445
- * `voice_settings` to configure custom deployments, regions, or API keys.
3446
- * - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
3447
- * `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
3448
- * is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
3449
- * integration identifier secret in
3450
- * `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. See
3451
- * [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
3452
- * for details. Check
3453
- * [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
3454
- * - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>` (e.g., `Telnyx.KokoroTTS.af`).
3455
- * Use `voice_settings` to configure voice_speed and other synthesis parameters.
3456
- * - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
3457
- * `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
3458
- * `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Use `voice_settings`
3459
- * to configure speed, volume, pitch, and language_boost.
3460
- * - **Rime:** Use `Rime.<model_id>.<voice_id>` (e.g., `Rime.Arcana.cove`).
3461
- * Supported model_ids: `Arcana`, `Mist`, `ArcanaV3`, `Coda`. Use
3462
- * `voice_settings` to configure voice_speed.
3463
- * - **Resemble:** Use `Resemble.Turbo.<voice_id>` (e.g.,
3464
- * `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
3465
- * `voice_settings` to configure precision, sample_rate, and format.
3466
- * - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
3467
- * `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
3468
- * `Max`, `TTS2`. Use `voice_settings` to configure `delivery_mode` (`STABLE`,
3469
- * `BALANCED`, `CREATIVE`), supported by `TTS2` only.
3470
- * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
3471
- * `ara`, `rex`, `sal`, `leo`.
3472
- *
3473
- * For service_level basic, you may define the gender of the speaker (male or
3474
- * female).
3623
+ * Defines the maximum length for the recording in seconds. The minimum value is 0.
3624
+ * The maximum value is 14400. The default value is 0 (infinite)
3475
3625
  */
3476
- voice: string;
3626
+ max_length?: number;
3477
3627
 
3478
3628
  /**
3479
- * Use this field to add state to every subsequent webhook. It must be a valid
3480
- * Base-64 encoded string.
3629
+ * If enabled, a beep sound will be played at the start of a recording.
3481
3630
  */
3482
- client_state?: string;
3631
+ play_beep?: boolean;
3483
3632
 
3484
3633
  /**
3485
- * Use this field to avoid duplicate commands. Telnyx will ignore any command with
3486
- * the same `command_id` for the same `call_control_id`.
3634
+ * The audio track to be recorded. Can be either `both`, `inbound` or `outbound`.
3635
+ * If only single track is specified (`inbound`, `outbound`), `channels`
3636
+ * configuration is ignored and it will be recorded as mono (single channel).
3487
3637
  */
3488
- command_id?: string;
3638
+ recording_track?: 'both' | 'inbound' | 'outbound';
3489
3639
 
3490
3640
  /**
3491
- * The language you want spoken. This parameter is ignored when a `Polly.*` voice
3492
- * is specified.
3641
+ * The number of seconds that Telnyx will wait for the recording to be stopped if
3642
+ * silence is detected. The timer only starts when the speech is detected. Please
3643
+ * note that call transcription is used to detect silence and the related charge
3644
+ * will be applied. The minimum value is 0. The default value is 0 (infinite)
3493
3645
  */
3494
- language?:
3495
- | 'arb'
3496
- | 'cmn-CN'
3497
- | 'cy-GB'
3646
+ timeout_secs?: number;
3647
+
3648
+ /**
3649
+ * Enable post recording transcription. The default value is false.
3650
+ */
3651
+ transcription?: boolean;
3652
+
3653
+ /**
3654
+ * Engine to use for speech recognition. `A` - `Google`, `B` - `Telnyx`,
3655
+ * `deepgram/nova-3` - `Deepgram Nova-3`. Note: `deepgram/nova-3` supports only
3656
+ * `en` and `en-{Region}` languages.
3657
+ */
3658
+ transcription_engine?: 'A' | 'B' | 'deepgram/nova-3';
3659
+
3660
+ /**
3661
+ * Language code for transcription. Note: Not all languages are supported by all
3662
+ * transcription engines (google, telnyx, deepgram). See engine-specific
3663
+ * documentation for supported values.
3664
+ */
3665
+ transcription_language?:
3666
+ | 'af'
3667
+ | 'af-ZA'
3668
+ | 'am'
3669
+ | 'am-ET'
3670
+ | 'ar'
3671
+ | 'ar-AE'
3672
+ | 'ar-BH'
3673
+ | 'ar-DZ'
3674
+ | 'ar-EG'
3675
+ | 'ar-IL'
3676
+ | 'ar-IQ'
3677
+ | 'ar-JO'
3678
+ | 'ar-KW'
3679
+ | 'ar-LB'
3680
+ | 'ar-MA'
3681
+ | 'ar-MR'
3682
+ | 'ar-OM'
3683
+ | 'ar-PS'
3684
+ | 'ar-QA'
3685
+ | 'ar-SA'
3686
+ | 'ar-TN'
3687
+ | 'ar-YE'
3688
+ | 'as'
3689
+ | 'auto_detect'
3690
+ | 'az'
3691
+ | 'az-AZ'
3692
+ | 'ba'
3693
+ | 'be'
3694
+ | 'bg'
3695
+ | 'bg-BG'
3696
+ | 'bn'
3697
+ | 'bn-BD'
3698
+ | 'bn-IN'
3699
+ | 'bo'
3700
+ | 'br'
3701
+ | 'bs'
3702
+ | 'bs-BA'
3703
+ | 'ca'
3704
+ | 'ca-ES'
3705
+ | 'cs'
3706
+ | 'cs-CZ'
3707
+ | 'cy'
3708
+ | 'da'
3498
3709
  | 'da-DK'
3710
+ | 'de'
3711
+ | 'de-AT'
3712
+ | 'de-CH'
3499
3713
  | 'de-DE'
3714
+ | 'el'
3715
+ | 'el-GR'
3716
+ | 'en'
3500
3717
  | 'en-AU'
3718
+ | 'en-CA'
3501
3719
  | 'en-GB'
3502
- | 'en-GB-WLS'
3720
+ | 'en-GH'
3721
+ | 'en-HK'
3722
+ | 'en-IE'
3503
3723
  | 'en-IN'
3724
+ | 'en-KE'
3725
+ | 'en-NG'
3726
+ | 'en-NZ'
3727
+ | 'en-PH'
3728
+ | 'en-PK'
3729
+ | 'en-SG'
3730
+ | 'en-TZ'
3504
3731
  | 'en-US'
3732
+ | 'en-ZA'
3733
+ | 'es'
3734
+ | 'es-419'
3735
+ | 'es-AR'
3736
+ | 'es-BO'
3737
+ | 'es-CL'
3738
+ | 'es-CO'
3739
+ | 'es-CR'
3740
+ | 'es-DO'
3741
+ | 'es-EC'
3505
3742
  | 'es-ES'
3743
+ | 'es-GT'
3744
+ | 'es-HN'
3506
3745
  | 'es-MX'
3746
+ | 'es-NI'
3747
+ | 'es-PA'
3748
+ | 'es-PE'
3749
+ | 'es-PR'
3750
+ | 'es-PY'
3751
+ | 'es-SV'
3507
3752
  | 'es-US'
3753
+ | 'es-UY'
3754
+ | 'es-VE'
3755
+ | 'et'
3756
+ | 'et-EE'
3757
+ | 'eu'
3758
+ | 'eu-ES'
3759
+ | 'fa'
3760
+ | 'fa-IR'
3761
+ | 'fi'
3762
+ | 'fi-FI'
3763
+ | 'fil-PH'
3764
+ | 'fo'
3765
+ | 'fr'
3766
+ | 'fr-BE'
3508
3767
  | 'fr-CA'
3768
+ | 'fr-CH'
3509
3769
  | 'fr-FR'
3770
+ | 'gl'
3771
+ | 'gl-ES'
3772
+ | 'gu'
3773
+ | 'gu-IN'
3774
+ | 'ha'
3775
+ | 'haw'
3776
+ | 'he'
3777
+ | 'hi'
3510
3778
  | 'hi-IN'
3779
+ | 'hr'
3780
+ | 'hr-HR'
3781
+ | 'ht'
3782
+ | 'hu'
3783
+ | 'hu-HU'
3784
+ | 'hy'
3785
+ | 'hy-AM'
3786
+ | 'id'
3787
+ | 'id-ID'
3788
+ | 'is'
3511
3789
  | 'is-IS'
3790
+ | 'it'
3791
+ | 'it-CH'
3512
3792
  | 'it-IT'
3793
+ | 'iw-IL'
3794
+ | 'ja'
3513
3795
  | 'ja-JP'
3514
- | 'ko-KR'
3515
- | 'nb-NO'
3796
+ | 'jv-ID'
3797
+ | 'jw'
3798
+ | 'ka'
3799
+ | 'ka-GE'
3800
+ | 'kk'
3801
+ | 'kk-KZ'
3802
+ | 'km'
3803
+ | 'km-KH'
3804
+ | 'kn'
3805
+ | 'kn-IN'
3806
+ | 'ko'
3807
+ | 'ko-KR'
3808
+ | 'la'
3809
+ | 'lb'
3810
+ | 'ln'
3811
+ | 'lo'
3812
+ | 'lo-LA'
3813
+ | 'lt'
3814
+ | 'lt-LT'
3815
+ | 'lv'
3816
+ | 'lv-LV'
3817
+ | 'mg'
3818
+ | 'mi'
3819
+ | 'mk'
3820
+ | 'mk-MK'
3821
+ | 'ml'
3822
+ | 'ml-IN'
3823
+ | 'mn'
3824
+ | 'mn-MN'
3825
+ | 'mr'
3826
+ | 'mr-IN'
3827
+ | 'ms'
3828
+ | 'ms-MY'
3829
+ | 'mt'
3830
+ | 'my'
3831
+ | 'my-MM'
3832
+ | 'ne'
3833
+ | 'ne-NP'
3834
+ | 'nl'
3835
+ | 'nl-BE'
3516
3836
  | 'nl-NL'
3837
+ | 'nn'
3838
+ | 'no'
3839
+ | 'no-NO'
3840
+ | 'oc'
3841
+ | 'pa'
3842
+ | 'pa-Guru-IN'
3843
+ | 'pl'
3517
3844
  | 'pl-PL'
3845
+ | 'ps'
3846
+ | 'pt'
3518
3847
  | 'pt-BR'
3519
3848
  | 'pt-PT'
3849
+ | 'ro'
3520
3850
  | 'ro-RO'
3851
+ | 'ru'
3521
3852
  | 'ru-RU'
3853
+ | 'rw-RW'
3854
+ | 'sa'
3855
+ | 'sd'
3856
+ | 'si'
3857
+ | 'si-LK'
3858
+ | 'sk'
3859
+ | 'sk-SK'
3860
+ | 'sl'
3861
+ | 'sl-SI'
3862
+ | 'sn'
3863
+ | 'so'
3864
+ | 'sq'
3865
+ | 'sq-AL'
3866
+ | 'sr'
3867
+ | 'sr-RS'
3868
+ | 'ss-latn-za'
3869
+ | 'st-ZA'
3870
+ | 'su'
3871
+ | 'su-ID'
3872
+ | 'sv'
3522
3873
  | 'sv-SE'
3523
- | 'tr-TR';
3524
-
3525
- /**
3526
- * The number of times to play the audio file. Use `infinity` to loop indefinitely.
3527
- * Defaults to 1.
3528
- */
3529
- loop?: Loopcount;
3874
+ | 'sw'
3875
+ | 'sw-KE'
3876
+ | 'sw-TZ'
3877
+ | 'ta'
3878
+ | 'ta-IN'
3879
+ | 'ta-LK'
3880
+ | 'ta-MY'
3881
+ | 'ta-SG'
3882
+ | 'te'
3883
+ | 'te-IN'
3884
+ | 'tg'
3885
+ | 'th'
3886
+ | 'th-TH'
3887
+ | 'tk'
3888
+ | 'tl'
3889
+ | 'tn-latn-za'
3890
+ | 'tr'
3891
+ | 'tr-TR'
3892
+ | 'ts-ZA'
3893
+ | 'tt'
3894
+ | 'uk'
3895
+ | 'uk-UA'
3896
+ | 'ur'
3897
+ | 'ur-IN'
3898
+ | 'ur-PK'
3899
+ | 'uz'
3900
+ | 'uz-UZ'
3901
+ | 've-ZA'
3902
+ | 'vi'
3903
+ | 'vi-VN'
3904
+ | 'xh-ZA'
3905
+ | 'yi'
3906
+ | 'yo'
3907
+ | 'yue-Hant-HK'
3908
+ | 'zh'
3909
+ | 'zh-TW'
3910
+ | 'zu-ZA';
3530
3911
 
3531
3912
  /**
3532
- * The type of the provided payload. The payload can either be plain text, or
3533
- * Speech Synthesis Markup Language (SSML).
3913
+ * Defines maximum number of speakers in the conversation. Applies to `google`
3914
+ * engine only.
3534
3915
  */
3535
- payload_type?: 'text' | 'ssml';
3916
+ transcription_max_speaker_count?: number;
3536
3917
 
3537
3918
  /**
3538
- * This parameter impacts speech quality, language options and payload types. When
3539
- * using `basic`, only the `en-US` language and payload type `text` are allowed.
3919
+ * Defines minimum number of speakers in the conversation. Applies to `google`
3920
+ * engine only.
3540
3921
  */
3541
- service_level?: 'basic' | 'premium';
3922
+ transcription_min_speaker_count?: number;
3542
3923
 
3543
3924
  /**
3544
- * When specified, it stops the current audio being played. Specify `current` to
3545
- * stop the current audio being played, and to play the next file in the queue.
3546
- * Specify `all` to stop the current audio file being played and to also clear all
3547
- * audio files from the queue.
3925
+ * Enables profanity_filter. Applies to `google` engine only.
3548
3926
  */
3549
- stop?: string;
3927
+ transcription_profanity_filter?: boolean;
3550
3928
 
3551
3929
  /**
3552
- * Specifies which legs of the call should receive the spoken audio.
3930
+ * Enables speaker diarization. Applies to `google` engine only.
3553
3931
  */
3554
- target_legs?: 'self' | 'opposite' | 'both';
3932
+ transcription_speaker_diarization?: boolean;
3555
3933
 
3556
3934
  /**
3557
- * The settings associated with the voice selected
3935
+ * When set to `trim-silence`, silence will be removed from the beginning and end
3936
+ * of the recording.
3558
3937
  */
3559
- voice_settings?:
3560
- | ElevenLabsVoiceSettings
3561
- | TelnyxVoiceSettings
3562
- | AwsVoiceSettings
3563
- | Shared.MinimaxVoiceSettings
3564
- | Shared.AzureVoiceSettings
3565
- | Shared.RimeVoiceSettings
3566
- | Shared.ResembleVoiceSettings
3567
- | Shared.InworldVoiceSettings
3568
- | Shared.XaiVoiceSettings;
3938
+ trim?: 'trim-silence';
3569
3939
  }
3570
3940
 
3571
- export interface ActionStartAIAssistantParams {
3572
- /**
3573
- * AI Assistant configuration. All fields except `id` are optional — the
3574
- * assistant's stored configuration will be used as fallback for any omitted
3575
- * fields.
3576
- */
3577
- assistant?: CallsAPI.CallAssistantRequest;
3578
-
3941
+ export interface ActionStopRecordingParams {
3579
3942
  /**
3580
3943
  * Use this field to add state to every subsequent webhook. It must be a valid
3581
3944
  * Base-64 encoded string.
@@ -3589,96 +3952,61 @@ export interface ActionStartAIAssistantParams {
3589
3952
  command_id?: string;
3590
3953
 
3591
3954
  /**
3592
- * Text that will be played when the assistant starts, if none then nothing will be
3593
- * played when the assistant starts. The greeting can be text for any voice or SSML
3594
- * for `AWS.Polly.<voice_id>` voices. There is a 3,000 character limit.
3955
+ * Uniquely identifies the resource.
3595
3956
  */
3596
- greeting?: string;
3957
+ recording_id?: string;
3958
+ }
3597
3959
 
3960
+ export interface ActionReferParams {
3598
3961
  /**
3599
- * Settings for handling user interruptions during assistant speech
3962
+ * The SIP URI to which the call will be referred to.
3600
3963
  */
3601
- interruption_settings?: InterruptionSettings;
3964
+ sip_address: string;
3602
3965
 
3603
3966
  /**
3604
- * A list of messages to seed the conversation history before the assistant starts.
3605
- * Follows the same message format as the `ai_assistant_add_messages` command.
3967
+ * Use this field to add state to every subsequent webhook. It must be a valid
3968
+ * Base-64 encoded string.
3606
3969
  */
3607
- message_history?: Array<UserMessage | AssistantMessage | ToolMessage | SystemMessage | DeveloperMessage>;
3970
+ client_state?: string;
3608
3971
 
3609
3972
  /**
3610
- * A list of participants to add to the conversation when it starts.
3973
+ * Use this field to avoid execution of duplicate commands. Telnyx will ignore
3974
+ * subsequent commands with the same `command_id` as one that has already been
3975
+ * executed.
3611
3976
  */
3612
- participants?: Array<AIAssistantJoinParticipant>;
3977
+ command_id?: string;
3613
3978
 
3614
3979
  /**
3615
- * When `true`, a webhook is sent each time the conversation message history is
3616
- * updated.
3980
+ * Custom headers to be added to the SIP INVITE.
3617
3981
  */
3618
- send_message_history_updates?: boolean;
3982
+ custom_headers?: Array<CallsAPI.CustomSipHeader>;
3619
3983
 
3620
3984
  /**
3621
- * The settings associated with speech to text for the voice assistant. This is
3622
- * only relevant if the assistant uses a text-to-text language model. Any assistant
3623
- * using a model with native audio support (e.g. `fixie-ai/ultravox-v0_4`) will
3624
- * ignore this field.
3985
+ * SIP Authentication password used for SIP challenges.
3625
3986
  */
3626
- transcription?: TranscriptionConfig;
3987
+ sip_auth_password?: string;
3627
3988
 
3628
3989
  /**
3629
- * The voice to be used by the voice assistant. Currently we support ElevenLabs,
3630
- * Telnyx and AWS voices.
3631
- *
3632
- * **Supported Providers:**
3633
- *
3634
- * - **AWS:** Use `AWS.Polly.<VoiceId>` (e.g., `AWS.Polly.Joanna`). For neural
3635
- * voices, which provide more realistic, human-like speech, append `-Neural` to
3636
- * the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
3637
- * [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
3638
- * for compatibility.
3639
- * - **Azure:** Use `Azure.<VoiceId>. (e.g. Azure.en-CA-ClaraNeural,
3640
- * Azure.en-CA-LiamNeural, Azure.en-US-BrianMultilingualNeural,
3641
- * Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to
3642
- * [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).)
3643
- * - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
3644
- * `ElevenLabs.BaseModel.John`). The `ModelId` part is optional. To use
3645
- * ElevenLabs, you must provide your ElevenLabs API key as an integration secret
3646
- * under `"voice_settings": {"api_key_ref": "<secret_id>"}`. See
3647
- * [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
3648
- * for details. Check
3649
- * [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
3650
- * - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
3651
- * - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
3652
- * `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
3653
- * `Max`, `TTS2`.
3654
- * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
3655
- * `ara`, `rex`, `sal`, `leo`.
3990
+ * SIP Authentication username used for SIP challenges.
3656
3991
  */
3657
- voice?: string;
3992
+ sip_auth_username?: string;
3658
3993
 
3659
3994
  /**
3660
- * The settings associated with the voice selected
3995
+ * SIP headers to be added to the request. Currently only User-to-User header is
3996
+ * supported.
3661
3997
  */
3662
- voice_settings?:
3663
- | ElevenLabsVoiceSettings
3664
- | TelnyxVoiceSettings
3665
- | AwsVoiceSettings
3666
- | Shared.AzureVoiceSettings
3667
- | Shared.RimeVoiceSettings
3668
- | Shared.ResembleVoiceSettings
3669
- | Shared.XaiVoiceSettings;
3998
+ sip_headers?: Array<CallsAPI.SipHeader>;
3670
3999
  }
3671
4000
 
3672
- export interface ActionStartConversationRelayParams {
4001
+ export interface ActionRejectParams {
3673
4002
  /**
3674
- * Custom parameters for the Conversation Relay session. Pass key-value data as
3675
- * `assistant.dynamic_variables` to make it available to the relay session.
4003
+ * Cause for call rejection.
3676
4004
  */
3677
- assistant?: ActionStartConversationRelayParams.Assistant;
4005
+ cause: 'CALL_REJECTED' | 'USER_BUSY';
3678
4006
 
3679
4007
  /**
3680
- * Use this field to add state to subsequent webhooks. It must be a valid Base-64
3681
- * encoded string.
4008
+ * Use this field to add state to every subsequent webhook. It must be a valid
4009
+ * Base-64 encoded string.
3682
4010
  */
3683
4011
  client_state?: string;
3684
4012
 
@@ -3687,159 +4015,249 @@ export interface ActionStartConversationRelayParams {
3687
4015
  * the same `command_id` for the same `call_control_id`.
3688
4016
  */
3689
4017
  command_id?: string;
4018
+ }
3690
4019
 
4020
+ export interface ActionSendDtmfParams {
3691
4021
  /**
3692
- * Enable DTMF detection for the relay session.
4022
+ * DTMF digits to send. Valid digits are 0-9, A-D, \*, and #. Pauses can be added
4023
+ * using w (0.5s) and W (1s).
3693
4024
  */
3694
- conversation_relay_dtmf_detection?: boolean;
4025
+ digits: string;
3695
4026
 
3696
4027
  /**
3697
- * Conversation Relay connection settings. This object can provide `url`,
3698
- * `dtmf_detection`, `interruptible`, `interruptible_greeting`, and `languages`.
3699
- * Top-level aliases override nested values when both are present.
4028
+ * Use this field to add state to every subsequent webhook. It must be a valid
4029
+ * Base-64 encoded string.
3700
4030
  */
3701
- conversation_relay_settings?: ActionStartConversationRelayParams.ConversationRelaySettings;
4031
+ client_state?: string;
3702
4032
 
3703
4033
  /**
3704
- * WebSocket URL for your Conversation Relay server. Must start with `ws://` or
3705
- * `wss://`.
4034
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4035
+ * the same `command_id` for the same `call_control_id`.
3706
4036
  */
3707
- conversation_relay_url?: string;
4037
+ command_id?: string;
3708
4038
 
3709
4039
  /**
3710
- * Custom key-value parameters forwarded to the relay session as
3711
- * `assistant.dynamic_variables`. If `assistant.dynamic_variables` is also present,
3712
- * these values are merged in.
4040
+ * Specifies for how many milliseconds each digit will be played in the audio
4041
+ * stream. Ranges from 100 to 500ms
3713
4042
  */
3714
- custom_parameters?: { [key: string]: unknown };
4043
+ duration_millis?: number;
4044
+ }
3715
4045
 
4046
+ export interface ActionSendSipInfoParams {
3716
4047
  /**
3717
- * Public alias for `conversation_relay_dtmf_detection`. If both are present, this
3718
- * value wins.
4048
+ * Content of the SIP INFO
3719
4049
  */
3720
- dtmf_detection?: boolean;
4050
+ body: string;
3721
4051
 
3722
4052
  /**
3723
- * Text played when the relay session starts.
4053
+ * Content type of the INFO body. Must be MIME type compliant. There is a 1,400
4054
+ * bytes limit
3724
4055
  */
3725
- greeting?: string;
4056
+ content_type: string;
3726
4057
 
3727
4058
  /**
3728
- * Controls when caller input can interrupt assistant speech. `any` allows speech
3729
- * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
3730
- * only; `dtmf` allows DTMF only.
4059
+ * Use this field to add state to every subsequent webhook. It must be a valid
4060
+ * Base-64 encoded string.
3731
4061
  */
3732
- interruptible?: ConversationRelayInterruptible;
4062
+ client_state?: string;
3733
4063
 
3734
4064
  /**
3735
- * Controls when caller input can interrupt assistant speech. `any` allows speech
3736
- * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
3737
- * only; `dtmf` allows DTMF only.
4065
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4066
+ * the same `command_id` for the same `call_control_id`.
3738
4067
  */
3739
- interruptible_greeting?: ConversationRelayInterruptible;
4068
+ command_id?: string;
4069
+ }
3740
4070
 
4071
+ export interface ActionStartSiprecParams {
3741
4072
  /**
3742
- * Settings for handling caller interruptions during Conversation Relay speech.
4073
+ * Use this field to add state to every subsequent webhook. It must be a valid
4074
+ * Base-64 encoded string.
3743
4075
  */
3744
- interruption_settings?: CallsAPI.ConversationRelayInterruptionSettings;
4076
+ client_state?: string;
3745
4077
 
3746
4078
  /**
3747
- * Default language for the relay session. This value is used for both
3748
- * text-to-speech and speech recognition.
4079
+ * Name of configured SIPREC connector to be used.
3749
4080
  */
3750
- language?: string;
4081
+ connector_name?: string;
3751
4082
 
3752
4083
  /**
3753
- * Per-language TTS and transcription settings.
4084
+ * When set, custom parameters will be added as metadata
4085
+ * (recording.session.ExtensionParameters). Otherwise, they’ll be added to sip
4086
+ * headers.
3754
4087
  */
3755
- languages?: Array<CallsAPI.ConversationRelayLanguage>;
4088
+ include_metadata_custom_headers?: true | false;
3756
4089
 
3757
4090
  /**
3758
- * Structured voice provider. Must be supplied together with `structured_provider`.
4091
+ * Controls whether to encrypt media sent to your SRS using SRTP and TLS. When set
4092
+ * you need to configure SRS port in your connector to 5061.
3759
4093
  */
3760
- provider?: string;
4094
+ secure?: true | false;
3761
4095
 
3762
4096
  /**
3763
- * Provider-specific structured voice settings. Must be supplied together with
3764
- * `provider`; Telnyx sends the value as the nested provider configuration for
3765
- * Conversation Relay.
4097
+ * Sets `Session-Expires` header to the INVITE. A reinvite is sent every half the
4098
+ * value set. Usefull for session keep alive. Minimum value is 90, set to 0 to
4099
+ * disable.
3766
4100
  */
3767
- structured_provider?: { [key: string]: unknown };
4101
+ session_timeout_secs?: number;
3768
4102
 
3769
4103
  /**
3770
- * @deprecated Not supported for Conversation Relay start requests. Use
3771
- * `transcription_engine` and `transcription_engine_config` instead.
4104
+ * Specifies SIP transport protocol.
3772
4105
  */
3773
- transcription?: { [key: string]: unknown };
4106
+ sip_transport?: 'udp' | 'tcp' | 'tls';
3774
4107
 
3775
4108
  /**
3776
- * Engine to use for speech recognition. Legacy values `A` - `Google`, `B` -
3777
- * `Telnyx` are supported for backward compatibility. For Conversation Relay, use
3778
- * this field with `transcription_engine_config`; the `transcription` object is not
3779
- * supported.
4109
+ * Specifies which track should be sent on siprec session.
3780
4110
  */
3781
- transcription_engine?:
3782
- | 'Google'
3783
- | 'Telnyx'
3784
- | 'Deepgram'
3785
- | 'Azure'
3786
- | 'xAI'
3787
- | 'AssemblyAI'
3788
- | 'Speechmatics'
3789
- | 'Soniox'
3790
- | 'A'
3791
- | 'B';
4111
+ siprec_track?: 'inbound_track' | 'outbound_track' | 'both_tracks';
4112
+ }
3792
4113
 
4114
+ export interface ActionStopSiprecParams {
3793
4115
  /**
3794
- * Engine-specific transcription settings for Conversation Relay. This accepts the
3795
- * same provider-specific options used by the Call Transcription Start command,
3796
- * such as `transcription_model`, without requiring the engine discriminator to be
3797
- * repeated inside this object.
4116
+ * Use this field to add state to every subsequent webhook. It must be a valid
4117
+ * Base-64 encoded string.
3798
4118
  */
3799
- transcription_engine_config?: { [key: string]: unknown };
4119
+ client_state?: string;
3800
4120
 
3801
4121
  /**
3802
- * Text-to-speech provider. If omitted, Telnyx derives it from `voice` or
3803
- * `provider`.
4122
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4123
+ * the same `command_id` for the same `call_control_id`.
3804
4124
  */
3805
- tts_provider?: string;
4125
+ command_id?: string;
4126
+ }
3806
4127
 
4128
+ export interface ActionSpeakParams {
3807
4129
  /**
3808
- * Public alias for `conversation_relay_url`. Must start with `ws://` or `wss://`.
3809
- * If both are present, this value wins.
4130
+ * The text or SSML to be converted into speech. There is a 3,000 character limit.
3810
4131
  */
3811
- url?: string;
4132
+ payload: string;
3812
4133
 
3813
4134
  /**
3814
- * The voice to be used by the voice assistant. Currently we support ElevenLabs,
3815
- * Telnyx and AWS voices.
4135
+ * Specifies the voice used in speech synthesis.
3816
4136
  *
3817
- * **Supported Providers:**
4137
+ * - Define voices using the format `<Provider>.<Model>.<VoiceId>`. Specifying only
4138
+ * the provider will give default values for voice_id and model_id.
4139
+ *
4140
+ * **Supported Providers:**
3818
4141
  *
3819
4142
  * - **AWS:** Use `AWS.Polly.<VoiceId>` (e.g., `AWS.Polly.Joanna`). For neural
3820
4143
  * voices, which provide more realistic, human-like speech, append `-Neural` to
3821
4144
  * the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
3822
4145
  * [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
3823
4146
  * for compatibility.
3824
- * - **Azure:** Use `Azure.<VoiceId>. (e.g. Azure.en-CA-ClaraNeural,
3825
- * Azure.en-CA-LiamNeural, Azure.en-US-BrianMultilingualNeural,
3826
- * Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to
3827
- * [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).)
4147
+ * - **Azure:** Use `Azure.<VoiceId>` (e.g., `Azure.en-CA-ClaraNeural`,
4148
+ * `Azure.en-US-BrianMultilingualNeural`,
4149
+ * `Azure.en-US-Ava:DragonHDLatestNeural`). For a complete list of voices, go to
4150
+ * [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery). Use
4151
+ * `voice_settings` to configure custom deployments, regions, or API keys.
3828
4152
  * - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
3829
- * `ElevenLabs.BaseModel.John`). The `ModelId` part is optional. To use
3830
- * ElevenLabs, you must provide your ElevenLabs API key as an integration secret
3831
- * under `"voice_settings": {"api_key_ref": "<secret_id>"}`. See
4153
+ * `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
4154
+ * is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
4155
+ * integration identifier secret in
4156
+ * `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. See
3832
4157
  * [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
3833
4158
  * for details. Check
3834
4159
  * [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
3835
- * - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
4160
+ * - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>` (e.g., `Telnyx.KokoroTTS.af`).
4161
+ * Use `voice_settings` to configure voice_speed and other synthesis parameters.
4162
+ * - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
4163
+ * `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
4164
+ * `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Use `voice_settings`
4165
+ * to configure speed, volume, pitch, and language_boost.
4166
+ * - **Rime:** Use `Rime.<model_id>.<voice_id>` (e.g., `Rime.Arcana.cove`).
4167
+ * Supported model_ids: `Arcana`, `Mist`, `ArcanaV3`, `Coda`. Use
4168
+ * `voice_settings` to configure voice_speed.
4169
+ * - **Resemble:** Use `Resemble.Turbo.<voice_id>` (e.g.,
4170
+ * `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
4171
+ * `voice_settings` to configure precision, sample_rate, and format.
3836
4172
  * - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
3837
4173
  * `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
3838
- * `Max`, `TTS2`.
4174
+ * `Max`, `TTS2`. Use `voice_settings` to configure `delivery_mode` (`STABLE`,
4175
+ * `BALANCED`, `CREATIVE`), supported by `TTS2` only.
3839
4176
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
3840
4177
  * `ara`, `rex`, `sal`, `leo`.
4178
+ *
4179
+ * For service_level basic, you may define the gender of the speaker (male or
4180
+ * female).
3841
4181
  */
3842
- voice?: string;
4182
+ voice: string;
4183
+
4184
+ /**
4185
+ * Use this field to add state to every subsequent webhook. It must be a valid
4186
+ * Base-64 encoded string.
4187
+ */
4188
+ client_state?: string;
4189
+
4190
+ /**
4191
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4192
+ * the same `command_id` for the same `call_control_id`.
4193
+ */
4194
+ command_id?: string;
4195
+
4196
+ /**
4197
+ * The language you want spoken. This parameter is ignored when a `Polly.*` voice
4198
+ * is specified.
4199
+ */
4200
+ language?:
4201
+ | 'arb'
4202
+ | 'cmn-CN'
4203
+ | 'cy-GB'
4204
+ | 'da-DK'
4205
+ | 'de-DE'
4206
+ | 'en-AU'
4207
+ | 'en-GB'
4208
+ | 'en-GB-WLS'
4209
+ | 'en-IN'
4210
+ | 'en-US'
4211
+ | 'es-ES'
4212
+ | 'es-MX'
4213
+ | 'es-US'
4214
+ | 'fr-CA'
4215
+ | 'fr-FR'
4216
+ | 'hi-IN'
4217
+ | 'is-IS'
4218
+ | 'it-IT'
4219
+ | 'ja-JP'
4220
+ | 'ko-KR'
4221
+ | 'nb-NO'
4222
+ | 'nl-NL'
4223
+ | 'pl-PL'
4224
+ | 'pt-BR'
4225
+ | 'pt-PT'
4226
+ | 'ro-RO'
4227
+ | 'ru-RU'
4228
+ | 'sv-SE'
4229
+ | 'tr-TR';
4230
+
4231
+ /**
4232
+ * The number of times to play the audio file. Use `infinity` to loop indefinitely.
4233
+ * Defaults to 1.
4234
+ */
4235
+ loop?: Loopcount;
4236
+
4237
+ /**
4238
+ * The type of the provided payload. The payload can either be plain text, or
4239
+ * Speech Synthesis Markup Language (SSML).
4240
+ */
4241
+ payload_type?: 'text' | 'ssml';
4242
+
4243
+ /**
4244
+ * This parameter impacts speech quality, language options and payload types. When
4245
+ * using `basic`, only the `en-US` language and payload type `text` are allowed.
4246
+ */
4247
+ service_level?: 'basic' | 'premium';
4248
+
4249
+ /**
4250
+ * When specified, it stops the current audio being played. Specify `current` to
4251
+ * stop the current audio being played, and to play the next file in the queue.
4252
+ * Specify `all` to stop the current audio file being played and to also clear all
4253
+ * audio files from the queue.
4254
+ */
4255
+ stop?: string;
4256
+
4257
+ /**
4258
+ * Specifies which legs of the call should receive the spoken audio.
4259
+ */
4260
+ target_legs?: 'self' | 'opposite' | 'both';
3843
4261
 
3844
4262
  /**
3845
4263
  * The settings associated with the voice selected
@@ -3856,59 +4274,90 @@ export interface ActionStartConversationRelayParams {
3856
4274
  | Shared.XaiVoiceSettings;
3857
4275
  }
3858
4276
 
3859
- export namespace ActionStartConversationRelayParams {
4277
+ export interface ActionStartStreamingParams {
3860
4278
  /**
3861
- * Custom parameters for the Conversation Relay session. Pass key-value data as
3862
- * `assistant.dynamic_variables` to make it available to the relay session.
4279
+ * Use this field to add state to every subsequent webhook. It must be a valid
4280
+ * Base-64 encoded string.
3863
4281
  */
3864
- export interface Assistant {
3865
- /**
3866
- * Custom key-value parameters forwarded to the Conversation Relay session.
3867
- */
3868
- dynamic_variables?: { [key: string]: string };
4282
+ client_state?: string;
3869
4283
 
3870
- [k: string]: unknown;
3871
- }
4284
+ /**
4285
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4286
+ * the same `command_id` for the same `call_control_id`.
4287
+ */
4288
+ command_id?: string;
3872
4289
 
3873
4290
  /**
3874
- * Conversation Relay connection settings. This object can provide `url`,
3875
- * `dtmf_detection`, `interruptible`, `interruptible_greeting`, and `languages`.
3876
- * Top-level aliases override nested values when both are present.
4291
+ * Custom parameters to be sent as part of the WebSocket connection.
3877
4292
  */
3878
- export interface ConversationRelaySettings {
3879
- /**
3880
- * WebSocket URL for your Conversation Relay server. Must start with `ws://` or
3881
- * `wss://`.
3882
- */
3883
- url: string;
4293
+ custom_parameters?: Array<ActionStartStreamingParams.CustomParameter>;
3884
4294
 
3885
- /**
3886
- * Whether to enable DTMF detection during the relay session.
3887
- */
3888
- dtmf_detection?: boolean;
4295
+ dialogflow_config?: CallsAPI.DialogflowConfig;
3889
4296
 
3890
- /**
3891
- * Controls when caller input can interrupt assistant speech. `any` allows speech
3892
- * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
3893
- * only; `dtmf` allows DTMF only.
3894
- */
3895
- interruptible?: ActionsAPI.ConversationRelayInterruptible;
4297
+ /**
4298
+ * Enables Dialogflow for the current call. The default value is false.
4299
+ */
4300
+ enable_dialogflow?: boolean;
4301
+
4302
+ /**
4303
+ * An authentication token to be sent as part of the WebSocket connection. Maximum
4304
+ * length is 4000 characters.
4305
+ */
4306
+ stream_auth_token?: string;
4307
+
4308
+ /**
4309
+ * Indicates codec for bidirectional streaming RTP payloads. Used only with
4310
+ * stream_bidirectional_mode=rtp. Case sensitive.
4311
+ */
4312
+ stream_bidirectional_codec?: CallsAPI.StreamBidirectionalCodec;
4313
+
4314
+ /**
4315
+ * Configures method of bidirectional streaming (mp3, rtp).
4316
+ */
4317
+ stream_bidirectional_mode?: CallsAPI.StreamBidirectionalMode;
4318
+
4319
+ /**
4320
+ * Audio sampling rate.
4321
+ */
4322
+ stream_bidirectional_sampling_rate?: CallsAPI.StreamBidirectionalSamplingRate;
4323
+
4324
+ /**
4325
+ * Specifies which call legs should receive the bidirectional stream audio.
4326
+ */
4327
+ stream_bidirectional_target_legs?: CallsAPI.StreamBidirectionalTargetLegs;
4328
+
4329
+ /**
4330
+ * Specifies the codec to be used for the streamed audio. When set to 'default' or
4331
+ * when transcoding is not possible, the codec from the call will be used.
4332
+ */
4333
+ stream_codec?: CallsAPI.StreamCodec;
4334
+
4335
+ /**
4336
+ * Specifies which track should be streamed.
4337
+ */
4338
+ stream_track?: 'inbound_track' | 'outbound_track' | 'both_tracks';
4339
+
4340
+ /**
4341
+ * The destination WebSocket address where the stream is going to be delivered.
4342
+ */
4343
+ stream_url?: string;
4344
+ }
3896
4345
 
4346
+ export namespace ActionStartStreamingParams {
4347
+ export interface CustomParameter {
3897
4348
  /**
3898
- * Controls when caller input can interrupt assistant speech. `any` allows speech
3899
- * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
3900
- * only; `dtmf` allows DTMF only.
4349
+ * The name of the custom parameter.
3901
4350
  */
3902
- interruptible_greeting?: ActionsAPI.ConversationRelayInterruptible;
4351
+ name?: string;
3903
4352
 
3904
4353
  /**
3905
- * Language-specific TTS and transcription settings.
4354
+ * The value of the custom parameter.
3906
4355
  */
3907
- languages?: Array<CallsAPI.ConversationRelayLanguage>;
4356
+ value?: string;
3908
4357
  }
3909
4358
  }
3910
4359
 
3911
- export interface ActionStartForkingParams {
4360
+ export interface ActionStopStreamingParams {
3912
4361
  /**
3913
4362
  * Use this field to add state to every subsequent webhook. It must be a valid
3914
4363
  * Base-64 encoded string.
@@ -3922,23 +4371,10 @@ export interface ActionStartForkingParams {
3922
4371
  command_id?: string;
3923
4372
 
3924
4373
  /**
3925
- * The network target, <udp:ip_address:port>, where the call's incoming RTP media
3926
- * packets should be forwarded.
3927
- */
3928
- rx?: string;
3929
-
3930
- /**
3931
- * Optionally specify a media type to stream. If `decrypted` selected, Telnyx will
3932
- * decrypt incoming SIP media before forking to the target. `rx` and `tx` are
3933
- * required fields if `decrypted` selected.
3934
- */
3935
- stream_type?: 'decrypted';
3936
-
3937
- /**
3938
- * The network target, <udp:ip_address:port>, where the call's outgoing RTP media
3939
- * packets should be forwarded.
4374
+ * Identifies the stream. If the `stream_id` is not provided the command stops all
4375
+ * streams associated with a given `call_control_id`.
3940
4376
  */
3941
- tx?: string;
4377
+ stream_id?: string;
3942
4378
  }
3943
4379
 
3944
4380
  export interface ActionStartNoiseSuppressionParams {
@@ -4039,25 +4475,29 @@ export namespace ActionStartNoiseSuppressionParams {
4039
4475
  }
4040
4476
  }
4041
4477
 
4042
- export interface ActionStartPlaybackParams {
4478
+ export interface ActionStopNoiseSuppressionParams {
4043
4479
  /**
4044
- * Specifies the type of audio provided in `audio_url` or `playback_content`.
4480
+ * Use this field to add state to every subsequent webhook. It must be a valid
4481
+ * Base-64 encoded string.
4045
4482
  */
4046
- audio_type?: 'mp3' | 'wav';
4483
+ client_state?: string;
4047
4484
 
4048
4485
  /**
4049
- * The URL of a file to be played back on the call. The URL can point to either a
4050
- * WAV or MP3 file. media_name and audio_url cannot be used together in one
4051
- * request.
4486
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4487
+ * the same `command_id` for the same `call_control_id`.
4052
4488
  */
4053
- audio_url?: string;
4489
+ command_id?: string;
4490
+ }
4054
4491
 
4492
+ export interface ActionSwitchSupervisorRoleParams {
4055
4493
  /**
4056
- * Caches the audio file. Useful when playing the same audio file multiple times
4057
- * during the call.
4494
+ * The supervisor role to switch to. 'barge' allows speaking to both parties,
4495
+ * 'whisper' allows speaking to caller only, 'monitor' allows listening only.
4058
4496
  */
4059
- cache_audio?: boolean;
4497
+ role: 'barge' | 'whisper' | 'monitor';
4498
+ }
4060
4499
 
4500
+ export interface ActionStartTranscriptionParams {
4061
4501
  /**
4062
4502
  * Use this field to add state to every subsequent webhook. It must be a valid
4063
4503
  * Base-64 encoded string.
@@ -4071,60 +4511,103 @@ export interface ActionStartPlaybackParams {
4071
4511
  command_id?: string;
4072
4512
 
4073
4513
  /**
4074
- * The number of times the audio file should be played. If supplied, the value must
4075
- * be an integer between 1 and 100, or the special string `infinity` for an endless
4076
- * loop.
4514
+ * Engine to use for speech recognition. Legacy values `A` - `Google`, `B` -
4515
+ * `Telnyx` are supported for backward compatibility.
4077
4516
  */
4078
- loop?: Loopcount;
4517
+ transcription_engine?:
4518
+ | 'Google'
4519
+ | 'Telnyx'
4520
+ | 'Deepgram'
4521
+ | 'Azure'
4522
+ | 'xAI'
4523
+ | 'AssemblyAI'
4524
+ | 'Speechmatics'
4525
+ | 'Soniox'
4526
+ | 'Parakeet'
4527
+ | 'A'
4528
+ | 'B';
4529
+
4530
+ transcription_engine_config?:
4531
+ | TranscriptionEngineGoogleConfig
4532
+ | TranscriptionEngineTelnyxConfig
4533
+ | TranscriptionEngineAzureConfig
4534
+ | TranscriptionEngineXaiConfig
4535
+ | TranscriptionEngineAssemblyaiConfig
4536
+ | TranscriptionEngineSpeechmaticsConfig
4537
+ | TranscriptionEngineSonioxConfig
4538
+ | TranscriptionEngineParakeetConfig
4539
+ | TranscriptionEngineAConfig
4540
+ | TranscriptionEngineBConfig
4541
+ | DeepgramNova2Config
4542
+ | DeepgramNova3Config;
4079
4543
 
4080
4544
  /**
4081
- * The media_name of a file to be played back on the call. The media_name must
4082
- * point to a file previously uploaded to api.telnyx.com/v2/media by the same
4083
- * user/organization. The file must either be a WAV or MP3 file.
4545
+ * Indicates which leg of the call will be transcribed. Use `inbound` for the leg
4546
+ * that requested the transcription, `outbound` for the other leg, and `both` for
4547
+ * both legs of the call. Will default to `inbound`.
4084
4548
  */
4085
- media_name?: string;
4549
+ transcription_tracks?: string;
4550
+ }
4086
4551
 
4552
+ export interface ActionStopTranscriptionParams {
4087
4553
  /**
4088
- * When enabled, audio will be mixed on top of any other audio that is actively
4089
- * being played back. Note that `overlay: true` will only work if there is another
4090
- * audio file already being played on the call.
4554
+ * Use this field to add state to every subsequent webhook. It must be a valid
4555
+ * Base-64 encoded string.
4091
4556
  */
4092
- overlay?: boolean;
4557
+ client_state?: string;
4093
4558
 
4094
4559
  /**
4095
- * Allows a user to provide base64 encoded mp3 or wav. Note: when using this
4096
- * parameter, `media_url` and `media_name` in the `playback_started` and
4097
- * `playback_ended` webhooks will be empty
4560
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4561
+ * the same `command_id` for the same `call_control_id`.
4098
4562
  */
4099
- playback_content?: string;
4563
+ command_id?: string;
4564
+ }
4100
4565
 
4566
+ export interface ActionTransferParams {
4101
4567
  /**
4102
- * When specified, it stops the current audio being played. Specify `current` to
4103
- * stop the current audio being played, and to play the next file in the queue.
4104
- * Specify `all` to stop the current audio file being played and to also clear all
4105
- * audio files from the queue.
4568
+ * The DID or SIP URI to dial out to. For SIP URI destinations, append
4569
+ * `;secure=true` or `;secure=srtp` to enable SRTP media encryption for that
4570
+ * endpoint, or `;secure=dtls` to enable DTLS media encryption for that endpoint.
4571
+ * If `media_encryption` is set to `SRTP` or `DTLS`, it takes precedence over any
4572
+ * per-endpoint `secure` URI parameter. You may also append a comma followed by
4573
+ * DTMF digits (e.g. `+18004247767,200`) to play those digits as DTMF once the
4574
+ * transfer destination answers — equivalent to setting `send_digits_on_answer`
4575
+ * separately. If both are present, the explicit `send_digits_on_answer` parameter
4576
+ * takes precedence.
4106
4577
  */
4107
- stop?: string;
4578
+ to: string;
4108
4579
 
4109
4580
  /**
4110
- * Specifies the leg or legs on which audio will be played. If supplied, the value
4111
- * must be either `self`, `opposite` or `both`.
4581
+ * Enables Answering Machine Detection. When a call is answered, Telnyx runs
4582
+ * real-time detection to determine if it was picked up by a human or a machine and
4583
+ * sends an `call.machine.detection.ended` webhook with the analysis result. If
4584
+ * 'greeting_end' or 'detect_words' is used and a 'machine' is detected, you will
4585
+ * receive another 'call.machine.greeting.ended' webhook when the answering machine
4586
+ * greeting ends with a beep or silence. If `detect_beep` is used, you will only
4587
+ * receive 'call.machine.greeting.ended' if a beep is detected.
4112
4588
  */
4113
- target_legs?: string;
4114
- }
4589
+ answering_machine_detection?:
4590
+ | 'premium'
4591
+ | 'detect'
4592
+ | 'detect_beep'
4593
+ | 'detect_words'
4594
+ | 'greeting_end'
4595
+ | 'disabled';
4115
4596
 
4116
- export interface ActionStartRecordingParams {
4117
4597
  /**
4118
- * When `dual`, final audio file will be stereo recorded with the first leg on
4119
- * channel A, and the rest on channel B.
4598
+ * Optional configuration parameters to modify 'answering_machine_detection'
4599
+ * performance. Only `total_analysis_time_millis` and `greeting_duration_millis`
4600
+ * parameters are applicable when `premium` is selected as
4601
+ * answering_machine_detection.
4120
4602
  */
4121
- channels: 'single' | 'dual';
4603
+ answering_machine_detection_config?: ActionTransferParams.AnsweringMachineDetectionConfig;
4122
4604
 
4123
4605
  /**
4124
- * The audio file format used when storing the call recording. Can be either `mp3`
4125
- * or `wav`.
4606
+ * The URL of a file to be played back when the transfer destination answers before
4607
+ * bridging the call. The URL can point to either a WAV or MP3 file. media_name and
4608
+ * audio_url cannot be used together in one request.
4126
4609
  */
4127
- format: 'wav' | 'mp3';
4610
+ audio_url?: string;
4128
4611
 
4129
4612
  /**
4130
4613
  * Use this field to add state to every subsequent webhook. It must be a valid
@@ -4139,1039 +4622,587 @@ export interface ActionStartRecordingParams {
4139
4622
  command_id?: string;
4140
4623
 
4141
4624
  /**
4142
- * The custom recording file name to be used instead of the default `call_leg_id`.
4143
- * Telnyx will still add a Unix timestamp suffix.
4625
+ * Custom headers to be added to the SIP INVITE.
4144
4626
  */
4145
- custom_file_name?: string;
4627
+ custom_headers?: Array<CallsAPI.CustomSipHeader>;
4146
4628
 
4147
4629
  /**
4148
- * Defines the maximum length for the recording in seconds. The minimum value is 0.
4149
- * The maximum value is 14400. The default value is 0 (infinite)
4630
+ * If set to false, early media will not be passed to the originating leg.
4150
4631
  */
4151
- max_length?: number;
4632
+ early_media?: boolean;
4152
4633
 
4153
4634
  /**
4154
- * If enabled, a beep sound will be played at the start of a recording.
4155
- */
4156
- play_beep?: boolean;
4157
-
4158
- /**
4159
- * The audio track to be recorded. Can be either `both`, `inbound` or `outbound`.
4160
- * If only single track is specified (`inbound`, `outbound`), `channels`
4161
- * configuration is ignored and it will be recorded as mono (single channel).
4162
- */
4163
- recording_track?: 'both' | 'inbound' | 'outbound';
4164
-
4165
- /**
4166
- * The number of seconds that Telnyx will wait for the recording to be stopped if
4167
- * silence is detected. The timer only starts when the speech is detected. Please
4168
- * note that call transcription is used to detect silence and the related charge
4169
- * will be applied. The minimum value is 0. The default value is 0 (infinite)
4170
- */
4171
- timeout_secs?: number;
4172
-
4173
- /**
4174
- * Enable post recording transcription. The default value is false.
4175
- */
4176
- transcription?: boolean;
4177
-
4178
- /**
4179
- * Engine to use for speech recognition. `A` - `Google`, `B` - `Telnyx`,
4180
- * `deepgram/nova-3` - `Deepgram Nova-3`. Note: `deepgram/nova-3` supports only
4181
- * `en` and `en-{Region}` languages.
4182
- */
4183
- transcription_engine?: 'A' | 'B' | 'deepgram/nova-3';
4184
-
4185
- /**
4186
- * Language code for transcription. Note: Not all languages are supported by all
4187
- * transcription engines (google, telnyx, deepgram). See engine-specific
4188
- * documentation for supported values.
4189
- */
4190
- transcription_language?:
4191
- | 'af'
4192
- | 'af-ZA'
4193
- | 'am'
4194
- | 'am-ET'
4195
- | 'ar'
4196
- | 'ar-AE'
4197
- | 'ar-BH'
4198
- | 'ar-DZ'
4199
- | 'ar-EG'
4200
- | 'ar-IL'
4201
- | 'ar-IQ'
4202
- | 'ar-JO'
4203
- | 'ar-KW'
4204
- | 'ar-LB'
4205
- | 'ar-MA'
4206
- | 'ar-MR'
4207
- | 'ar-OM'
4208
- | 'ar-PS'
4209
- | 'ar-QA'
4210
- | 'ar-SA'
4211
- | 'ar-TN'
4212
- | 'ar-YE'
4213
- | 'as'
4214
- | 'auto_detect'
4215
- | 'az'
4216
- | 'az-AZ'
4217
- | 'ba'
4218
- | 'be'
4219
- | 'bg'
4220
- | 'bg-BG'
4221
- | 'bn'
4222
- | 'bn-BD'
4223
- | 'bn-IN'
4224
- | 'bo'
4225
- | 'br'
4226
- | 'bs'
4227
- | 'bs-BA'
4228
- | 'ca'
4229
- | 'ca-ES'
4230
- | 'cs'
4231
- | 'cs-CZ'
4232
- | 'cy'
4233
- | 'da'
4234
- | 'da-DK'
4235
- | 'de'
4236
- | 'de-AT'
4237
- | 'de-CH'
4238
- | 'de-DE'
4239
- | 'el'
4240
- | 'el-GR'
4241
- | 'en'
4242
- | 'en-AU'
4243
- | 'en-CA'
4244
- | 'en-GB'
4245
- | 'en-GH'
4246
- | 'en-HK'
4247
- | 'en-IE'
4248
- | 'en-IN'
4249
- | 'en-KE'
4250
- | 'en-NG'
4251
- | 'en-NZ'
4252
- | 'en-PH'
4253
- | 'en-PK'
4254
- | 'en-SG'
4255
- | 'en-TZ'
4256
- | 'en-US'
4257
- | 'en-ZA'
4258
- | 'es'
4259
- | 'es-419'
4260
- | 'es-AR'
4261
- | 'es-BO'
4262
- | 'es-CL'
4263
- | 'es-CO'
4264
- | 'es-CR'
4265
- | 'es-DO'
4266
- | 'es-EC'
4267
- | 'es-ES'
4268
- | 'es-GT'
4269
- | 'es-HN'
4270
- | 'es-MX'
4271
- | 'es-NI'
4272
- | 'es-PA'
4273
- | 'es-PE'
4274
- | 'es-PR'
4275
- | 'es-PY'
4276
- | 'es-SV'
4277
- | 'es-US'
4278
- | 'es-UY'
4279
- | 'es-VE'
4280
- | 'et'
4281
- | 'et-EE'
4282
- | 'eu'
4283
- | 'eu-ES'
4284
- | 'fa'
4285
- | 'fa-IR'
4286
- | 'fi'
4287
- | 'fi-FI'
4288
- | 'fil-PH'
4289
- | 'fo'
4290
- | 'fr'
4291
- | 'fr-BE'
4292
- | 'fr-CA'
4293
- | 'fr-CH'
4294
- | 'fr-FR'
4295
- | 'gl'
4296
- | 'gl-ES'
4297
- | 'gu'
4298
- | 'gu-IN'
4299
- | 'ha'
4300
- | 'haw'
4301
- | 'he'
4302
- | 'hi'
4303
- | 'hi-IN'
4304
- | 'hr'
4305
- | 'hr-HR'
4306
- | 'ht'
4307
- | 'hu'
4308
- | 'hu-HU'
4309
- | 'hy'
4310
- | 'hy-AM'
4311
- | 'id'
4312
- | 'id-ID'
4313
- | 'is'
4314
- | 'is-IS'
4315
- | 'it'
4316
- | 'it-CH'
4317
- | 'it-IT'
4318
- | 'iw-IL'
4319
- | 'ja'
4320
- | 'ja-JP'
4321
- | 'jv-ID'
4322
- | 'jw'
4323
- | 'ka'
4324
- | 'ka-GE'
4325
- | 'kk'
4326
- | 'kk-KZ'
4327
- | 'km'
4328
- | 'km-KH'
4329
- | 'kn'
4330
- | 'kn-IN'
4331
- | 'ko'
4332
- | 'ko-KR'
4333
- | 'la'
4334
- | 'lb'
4335
- | 'ln'
4336
- | 'lo'
4337
- | 'lo-LA'
4338
- | 'lt'
4339
- | 'lt-LT'
4340
- | 'lv'
4341
- | 'lv-LV'
4342
- | 'mg'
4343
- | 'mi'
4344
- | 'mk'
4345
- | 'mk-MK'
4346
- | 'ml'
4347
- | 'ml-IN'
4348
- | 'mn'
4349
- | 'mn-MN'
4350
- | 'mr'
4351
- | 'mr-IN'
4352
- | 'ms'
4353
- | 'ms-MY'
4354
- | 'mt'
4355
- | 'my'
4356
- | 'my-MM'
4357
- | 'ne'
4358
- | 'ne-NP'
4359
- | 'nl'
4360
- | 'nl-BE'
4361
- | 'nl-NL'
4362
- | 'nn'
4363
- | 'no'
4364
- | 'no-NO'
4365
- | 'oc'
4366
- | 'pa'
4367
- | 'pa-Guru-IN'
4368
- | 'pl'
4369
- | 'pl-PL'
4370
- | 'ps'
4371
- | 'pt'
4372
- | 'pt-BR'
4373
- | 'pt-PT'
4374
- | 'ro'
4375
- | 'ro-RO'
4376
- | 'ru'
4377
- | 'ru-RU'
4378
- | 'rw-RW'
4379
- | 'sa'
4380
- | 'sd'
4381
- | 'si'
4382
- | 'si-LK'
4383
- | 'sk'
4384
- | 'sk-SK'
4385
- | 'sl'
4386
- | 'sl-SI'
4387
- | 'sn'
4388
- | 'so'
4389
- | 'sq'
4390
- | 'sq-AL'
4391
- | 'sr'
4392
- | 'sr-RS'
4393
- | 'ss-latn-za'
4394
- | 'st-ZA'
4395
- | 'su'
4396
- | 'su-ID'
4397
- | 'sv'
4398
- | 'sv-SE'
4399
- | 'sw'
4400
- | 'sw-KE'
4401
- | 'sw-TZ'
4402
- | 'ta'
4403
- | 'ta-IN'
4404
- | 'ta-LK'
4405
- | 'ta-MY'
4406
- | 'ta-SG'
4407
- | 'te'
4408
- | 'te-IN'
4409
- | 'tg'
4410
- | 'th'
4411
- | 'th-TH'
4412
- | 'tk'
4413
- | 'tl'
4414
- | 'tn-latn-za'
4415
- | 'tr'
4416
- | 'tr-TR'
4417
- | 'ts-ZA'
4418
- | 'tt'
4419
- | 'uk'
4420
- | 'uk-UA'
4421
- | 'ur'
4422
- | 'ur-IN'
4423
- | 'ur-PK'
4424
- | 'uz'
4425
- | 'uz-UZ'
4426
- | 've-ZA'
4427
- | 'vi'
4428
- | 'vi-VN'
4429
- | 'xh-ZA'
4430
- | 'yi'
4431
- | 'yo'
4432
- | 'yue-Hant-HK'
4433
- | 'zh'
4434
- | 'zh-TW'
4435
- | 'zu-ZA';
4436
-
4437
- /**
4438
- * Defines maximum number of speakers in the conversation. Applies to `google`
4439
- * engine only.
4440
- */
4441
- transcription_max_speaker_count?: number;
4442
-
4443
- /**
4444
- * Defines minimum number of speakers in the conversation. Applies to `google`
4445
- * engine only.
4446
- */
4447
- transcription_min_speaker_count?: number;
4448
-
4449
- /**
4450
- * Enables profanity_filter. Applies to `google` engine only.
4451
- */
4452
- transcription_profanity_filter?: boolean;
4453
-
4454
- /**
4455
- * Enables speaker diarization. Applies to `google` engine only.
4456
- */
4457
- transcription_speaker_diarization?: boolean;
4458
-
4459
- /**
4460
- * When set to `trim-silence`, silence will be removed from the beginning and end
4461
- * of the recording.
4462
- */
4463
- trim?: 'trim-silence';
4464
- }
4465
-
4466
- export interface ActionStartSiprecParams {
4467
- /**
4468
- * Use this field to add state to every subsequent webhook. It must be a valid
4469
- * Base-64 encoded string.
4470
- */
4471
- client_state?: string;
4472
-
4473
- /**
4474
- * Name of configured SIPREC connector to be used.
4475
- */
4476
- connector_name?: string;
4477
-
4478
- /**
4479
- * When set, custom parameters will be added as metadata
4480
- * (recording.session.ExtensionParameters). Otherwise, they’ll be added to sip
4481
- * headers.
4482
- */
4483
- include_metadata_custom_headers?: true | false;
4484
-
4485
- /**
4486
- * Controls whether to encrypt media sent to your SRS using SRTP and TLS. When set
4487
- * you need to configure SRS port in your connector to 5061.
4488
- */
4489
- secure?: true | false;
4490
-
4491
- /**
4492
- * Sets `Session-Expires` header to the INVITE. A reinvite is sent every half the
4493
- * value set. Usefull for session keep alive. Minimum value is 90, set to 0 to
4494
- * disable.
4495
- */
4496
- session_timeout_secs?: number;
4497
-
4498
- /**
4499
- * Specifies SIP transport protocol.
4500
- */
4501
- sip_transport?: 'udp' | 'tcp' | 'tls';
4502
-
4503
- /**
4504
- * Specifies which track should be sent on siprec session.
4505
- */
4506
- siprec_track?: 'inbound_track' | 'outbound_track' | 'both_tracks';
4507
- }
4508
-
4509
- export interface ActionStartStreamingParams {
4510
- /**
4511
- * Use this field to add state to every subsequent webhook. It must be a valid
4512
- * Base-64 encoded string.
4513
- */
4514
- client_state?: string;
4515
-
4516
- /**
4517
- * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4518
- * the same `command_id` for the same `call_control_id`.
4519
- */
4520
- command_id?: string;
4521
-
4522
- /**
4523
- * Custom parameters to be sent as part of the WebSocket connection.
4524
- */
4525
- custom_parameters?: Array<ActionStartStreamingParams.CustomParameter>;
4526
-
4527
- dialogflow_config?: CallsAPI.DialogflowConfig;
4528
-
4529
- /**
4530
- * Enables Dialogflow for the current call. The default value is false.
4531
- */
4532
- enable_dialogflow?: boolean;
4533
-
4534
- /**
4535
- * An authentication token to be sent as part of the WebSocket connection. Maximum
4536
- * length is 4000 characters.
4537
- */
4538
- stream_auth_token?: string;
4539
-
4540
- /**
4541
- * Indicates codec for bidirectional streaming RTP payloads. Used only with
4542
- * stream_bidirectional_mode=rtp. Case sensitive.
4543
- */
4544
- stream_bidirectional_codec?: CallsAPI.StreamBidirectionalCodec;
4545
-
4546
- /**
4547
- * Configures method of bidirectional streaming (mp3, rtp).
4548
- */
4549
- stream_bidirectional_mode?: CallsAPI.StreamBidirectionalMode;
4550
-
4551
- /**
4552
- * Audio sampling rate.
4553
- */
4554
- stream_bidirectional_sampling_rate?: CallsAPI.StreamBidirectionalSamplingRate;
4555
-
4556
- /**
4557
- * Specifies which call legs should receive the bidirectional stream audio.
4558
- */
4559
- stream_bidirectional_target_legs?: CallsAPI.StreamBidirectionalTargetLegs;
4560
-
4561
- /**
4562
- * Specifies the codec to be used for the streamed audio. When set to 'default' or
4563
- * when transcoding is not possible, the codec from the call will be used.
4564
- */
4565
- stream_codec?: CallsAPI.StreamCodec;
4566
-
4567
- /**
4568
- * Specifies which track should be streamed.
4569
- */
4570
- stream_track?: 'inbound_track' | 'outbound_track' | 'both_tracks';
4571
-
4572
- /**
4573
- * The destination WebSocket address where the stream is going to be delivered.
4574
- */
4575
- stream_url?: string;
4576
- }
4577
-
4578
- export namespace ActionStartStreamingParams {
4579
- export interface CustomParameter {
4580
- /**
4581
- * The name of the custom parameter.
4582
- */
4583
- name?: string;
4584
-
4585
- /**
4586
- * The value of the custom parameter.
4587
- */
4588
- value?: string;
4589
- }
4590
- }
4591
-
4592
- export interface ActionStartTranscriptionParams {
4593
- /**
4594
- * Use this field to add state to every subsequent webhook. It must be a valid
4595
- * Base-64 encoded string.
4596
- */
4597
- client_state?: string;
4598
-
4599
- /**
4600
- * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4601
- * the same `command_id` for the same `call_control_id`.
4602
- */
4603
- command_id?: string;
4604
-
4605
- /**
4606
- * Engine to use for speech recognition. Legacy values `A` - `Google`, `B` -
4607
- * `Telnyx` are supported for backward compatibility.
4608
- */
4609
- transcription_engine?:
4610
- | 'Google'
4611
- | 'Telnyx'
4612
- | 'Deepgram'
4613
- | 'Azure'
4614
- | 'xAI'
4615
- | 'AssemblyAI'
4616
- | 'Speechmatics'
4617
- | 'Soniox'
4618
- | 'Parakeet'
4619
- | 'A'
4620
- | 'B';
4621
-
4622
- transcription_engine_config?:
4623
- | TranscriptionEngineGoogleConfig
4624
- | TranscriptionEngineTelnyxConfig
4625
- | TranscriptionEngineAzureConfig
4626
- | TranscriptionEngineXaiConfig
4627
- | TranscriptionEngineAssemblyaiConfig
4628
- | TranscriptionEngineSpeechmaticsConfig
4629
- | TranscriptionEngineSonioxConfig
4630
- | TranscriptionEngineParakeetConfig
4631
- | TranscriptionEngineAConfig
4632
- | TranscriptionEngineBConfig
4633
- | DeepgramNova2Config
4634
- | DeepgramNova3Config;
4635
-
4636
- /**
4637
- * Indicates which leg of the call will be transcribed. Use `inbound` for the leg
4638
- * that requested the transcription, `outbound` for the other leg, and `both` for
4639
- * both legs of the call. Will default to `inbound`.
4640
- */
4641
- transcription_tracks?: string;
4642
- }
4643
-
4644
- export interface ActionStopAIAssistantParams {
4645
- /**
4646
- * Use this field to add state to every subsequent webhook. It must be a valid
4647
- * Base-64 encoded string.
4648
- */
4649
- client_state?: string;
4650
-
4651
- /**
4652
- * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4653
- * the same `command_id` for the same `call_control_id`.
4654
- */
4655
- command_id?: string;
4656
- }
4657
-
4658
- export interface ActionStopConversationRelayParams {
4659
- /**
4660
- * Use this field to add state to subsequent webhooks. It must be a valid Base-64
4661
- * encoded string.
4662
- */
4663
- client_state?: string;
4664
-
4665
- /**
4666
- * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4667
- * the same `command_id` for the same `call_control_id`.
4668
- */
4669
- command_id?: string;
4670
- }
4671
-
4672
- export interface ActionStopForkingParams {
4673
- /**
4674
- * Use this field to add state to every subsequent webhook. It must be a valid
4675
- * Base-64 encoded string.
4676
- */
4677
- client_state?: string;
4678
-
4679
- /**
4680
- * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4681
- * the same `command_id` for the same `call_control_id`.
4635
+ * The `from` number to be used as the caller id presented to the destination (`to`
4636
+ * number). The number should be in +E164 format. This attribute will default to
4637
+ * the `to` number of the original call if omitted.
4682
4638
  */
4683
- command_id?: string;
4639
+ from?: string;
4684
4640
 
4685
4641
  /**
4686
- * Optionally specify a `stream_type`. This should match the `stream_type` that was
4687
- * used in `fork_start` command to properly stop the fork.
4642
+ * The `from_display_name` string to be used as the caller id name (SIP From
4643
+ * Display Name) presented to the destination (`to` number). The string should have
4644
+ * a maximum of 128 characters, containing only letters, numbers, spaces, and
4645
+ * -\_~!.+ special characters. If ommited, the display name will be the same as the
4646
+ * number in the `from` field.
4688
4647
  */
4689
- stream_type?: 'raw' | 'decrypted';
4690
- }
4648
+ from_display_name?: string;
4691
4649
 
4692
- export interface ActionStopGatherParams {
4693
4650
  /**
4694
- * Use this field to add state to every subsequent webhook. It must be a valid
4695
- * Base-64 encoded string.
4651
+ * Defines whether media should be encrypted on the new call leg. For SIP URI
4652
+ * destinations, media encryption can also be requested per endpoint with the
4653
+ * `secure` URI parameter: `;secure=true` or `;secure=srtp` enables SRTP, and
4654
+ * `;secure=dtls` enables DTLS. This parameter, when set to `SRTP` or `DTLS`, takes
4655
+ * precedence over the per-endpoint `secure` value.
4696
4656
  */
4697
- client_state?: string;
4657
+ media_encryption?: 'disabled' | 'SRTP' | 'DTLS';
4698
4658
 
4699
4659
  /**
4700
- * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4701
- * the same `command_id` for the same `call_control_id`.
4660
+ * The media_name of a file to be played back when the transfer destination answers
4661
+ * before bridging the call. The media_name must point to a file previously
4662
+ * uploaded to api.telnyx.com/v2/media by the same user/organization. The file must
4663
+ * either be a WAV or MP3 file.
4702
4664
  */
4703
- command_id?: string;
4704
- }
4665
+ media_name?: string;
4705
4666
 
4706
- export interface ActionStopNoiseSuppressionParams {
4707
4667
  /**
4708
- * Use this field to add state to every subsequent webhook. It must be a valid
4709
- * Base-64 encoded string.
4668
+ * When enabled, DTMF tones are not passed to the call participant. The webhooks
4669
+ * containing the DTMF information will be sent.
4710
4670
  */
4711
- client_state?: string;
4671
+ mute_dtmf?: 'none' | 'both' | 'self' | 'opposite';
4712
4672
 
4713
4673
  /**
4714
- * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4715
- * the same `command_id` for the same `call_control_id`.
4674
+ * Specifies behavior after the bridge ends (i.e. the opposite leg either hangs up
4675
+ * or is transferred). If supplied with the value `self`, the current leg will be
4676
+ * parked after unbridge. If not set, the default behavior is to hang up the leg.
4716
4677
  */
4717
- command_id?: string;
4718
- }
4678
+ park_after_unbridge?: string;
4719
4679
 
4720
- export interface ActionStopPlaybackParams {
4721
4680
  /**
4722
- * Use this field to add state to every subsequent webhook. It must be a valid
4723
- * Base-64 encoded string.
4681
+ * The list of comma-separated codecs in order of preference to be used during the
4682
+ * call. The codecs supported are `G722`, `PCMU`, `PCMA`, `G729`, `OPUS`, `VP8`,
4683
+ * `H264`, `AMR-WB`.
4724
4684
  */
4725
- client_state?: string;
4685
+ preferred_codecs?: string;
4726
4686
 
4727
4687
  /**
4728
- * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4729
- * the same `command_id` for the same `call_control_id`.
4688
+ * Indicates the privacy level to be used for the call. When set to `id`, caller ID
4689
+ * information (name and number) will be hidden from the called party. When set to
4690
+ * `none` or omitted, caller ID will be shown normally.
4730
4691
  */
4731
- command_id?: string;
4692
+ privacy?: 'id' | 'none';
4732
4693
 
4733
4694
  /**
4734
- * When enabled, it stops the audio being played in the overlay queue.
4695
+ * Start recording automatically after an event. Disabled by default.
4735
4696
  */
4736
- overlay?: boolean;
4697
+ record?: 'record-from-answer';
4737
4698
 
4738
4699
  /**
4739
- * Use `current` to stop the current audio being played. Use `all` to stop the
4740
- * current audio file being played and clear all audio files from the queue.
4700
+ * Defines which channel should be recorded ('single' or 'dual') when `record` is
4701
+ * specified.
4741
4702
  */
4742
- stop?: string;
4743
- }
4703
+ record_channels?: 'single' | 'dual';
4744
4704
 
4745
- export interface ActionStopRecordingParams {
4746
4705
  /**
4747
- * Use this field to add state to every subsequent webhook. It must be a valid
4748
- * Base-64 encoded string.
4706
+ * The custom recording file name to be used instead of the default `call_leg_id`.
4707
+ * Telnyx will still add a Unix timestamp suffix.
4749
4708
  */
4750
- client_state?: string;
4709
+ record_custom_file_name?: string;
4751
4710
 
4752
4711
  /**
4753
- * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4754
- * the same `command_id` for the same `call_control_id`.
4712
+ * Defines the format of the recording ('wav' or 'mp3') when `record` is specified.
4755
4713
  */
4756
- command_id?: string;
4714
+ record_format?: 'wav' | 'mp3';
4757
4715
 
4758
4716
  /**
4759
- * Uniquely identifies the resource.
4717
+ * Defines the maximum length for the recording in seconds when `record` is
4718
+ * specified. The minimum value is 0. The maximum value is 43200. The default value
4719
+ * is 0 (infinite).
4760
4720
  */
4761
- recording_id?: string;
4762
- }
4721
+ record_max_length?: number;
4763
4722
 
4764
- export interface ActionStopSiprecParams {
4765
4723
  /**
4766
- * Use this field to add state to every subsequent webhook. It must be a valid
4767
- * Base-64 encoded string.
4724
+ * The number of seconds that Telnyx will wait for the recording to be stopped if
4725
+ * silence is detected when `record` is specified. The timer only starts when the
4726
+ * speech is detected. Please note that call transcription is used to detect
4727
+ * silence and the related charge will be applied. The minimum value is 0. The
4728
+ * default value is 0 (infinite).
4768
4729
  */
4769
- client_state?: string;
4730
+ record_timeout_secs?: number;
4770
4731
 
4771
4732
  /**
4772
- * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4773
- * the same `command_id` for the same `call_control_id`.
4733
+ * The audio track to be recorded. Can be either `both`, `inbound` or `outbound`.
4734
+ * If only single track is specified (`inbound`, `outbound`), `channels`
4735
+ * configuration is ignored and it will be recorded as mono (single channel).
4774
4736
  */
4775
- command_id?: string;
4776
- }
4737
+ record_track?: 'both' | 'inbound' | 'outbound';
4777
4738
 
4778
- export interface ActionStopStreamingParams {
4779
4739
  /**
4780
- * Use this field to add state to every subsequent webhook. It must be a valid
4781
- * Base-64 encoded string.
4740
+ * When set to `trim-silence`, silence will be removed from the beginning and end
4741
+ * of the recording.
4782
4742
  */
4783
- client_state?: string;
4743
+ record_trim?: 'trim-silence';
4784
4744
 
4785
4745
  /**
4786
- * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4787
- * the same `command_id` for the same `call_control_id`.
4746
+ * DTMF digits to send automatically after the transfer destination answers. Useful
4747
+ * for reaching an extension behind an IVR (e.g. `"200"` to dial extension 200 once
4748
+ * the called party picks up). Allowed characters: `0-9`, `A-D`, `w` (0.5s pause),
4749
+ * `W` (1s pause), `*`, `#`. Maximum 64 characters. When omitted, no automatic DTMF
4750
+ * is sent. May also be supplied inline by appending `,<digits>` to `to` (e.g.
4751
+ * `to=+18004247767,200`); if both forms are present, this explicit field takes
4752
+ * precedence.
4788
4753
  */
4789
- command_id?: string;
4754
+ send_digits_on_answer?: string;
4790
4755
 
4791
4756
  /**
4792
- * Identifies the stream. If the `stream_id` is not provided the command stops all
4793
- * streams associated with a given `call_control_id`.
4757
+ * SIP Authentication password used for SIP challenges.
4794
4758
  */
4795
- stream_id?: string;
4796
- }
4759
+ sip_auth_password?: string;
4797
4760
 
4798
- export interface ActionStopTranscriptionParams {
4799
4761
  /**
4800
- * Use this field to add state to every subsequent webhook. It must be a valid
4801
- * Base-64 encoded string.
4762
+ * SIP Authentication username used for SIP challenges.
4802
4763
  */
4803
- client_state?: string;
4764
+ sip_auth_username?: string;
4804
4765
 
4805
4766
  /**
4806
- * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4807
- * the same `command_id` for the same `call_control_id`.
4767
+ * SIP headers to be added to the SIP INVITE. Currently only User-to-User header is
4768
+ * supported.
4808
4769
  */
4809
- command_id?: string;
4810
- }
4770
+ sip_headers?: Array<CallsAPI.SipHeader>;
4811
4771
 
4812
- export interface ActionSwitchSupervisorRoleParams {
4813
4772
  /**
4814
- * The supervisor role to switch to. 'barge' allows speaking to both parties,
4815
- * 'whisper' allows speaking to caller only, 'monitor' allows listening only.
4773
+ * Defines the SIP region to be used for the call.
4816
4774
  */
4817
- role: 'barge' | 'whisper' | 'monitor';
4818
- }
4775
+ sip_region?: 'US' | 'Europe' | 'Canada' | 'Australia' | 'Middle East';
4819
4776
 
4820
- export interface ActionTransferParams {
4821
4777
  /**
4822
- * The DID or SIP URI to dial out to. For SIP URI destinations, append
4823
- * `;secure=true` or `;secure=srtp` to enable SRTP media encryption for that
4824
- * endpoint, or `;secure=dtls` to enable DTLS media encryption for that endpoint.
4825
- * If `media_encryption` is set to `SRTP` or `DTLS`, it takes precedence over any
4826
- * per-endpoint `secure` URI parameter. You may also append a comma followed by
4827
- * DTMF digits (e.g. `+18004247767,200`) to play those digits as DTMF once the
4828
- * transfer destination answers — equivalent to setting `send_digits_on_answer`
4829
- * separately. If both are present, the explicit `send_digits_on_answer` parameter
4830
- * takes precedence.
4778
+ * Defines SIP transport protocol to be used on the call.
4831
4779
  */
4832
- to: string;
4780
+ sip_transport_protocol?: 'UDP' | 'TCP' | 'TLS';
4833
4781
 
4834
4782
  /**
4835
- * Enables Answering Machine Detection. When a call is answered, Telnyx runs
4836
- * real-time detection to determine if it was picked up by a human or a machine and
4837
- * sends an `call.machine.detection.ended` webhook with the analysis result. If
4838
- * 'greeting_end' or 'detect_words' is used and a 'machine' is detected, you will
4839
- * receive another 'call.machine.greeting.ended' webhook when the answering machine
4840
- * greeting ends with a beep or silence. If `detect_beep` is used, you will only
4841
- * receive 'call.machine.greeting.ended' if a beep is detected.
4783
+ * Use this field to modify sound effects, for example adjust the pitch.
4842
4784
  */
4843
- answering_machine_detection?:
4844
- | 'premium'
4845
- | 'detect'
4846
- | 'detect_beep'
4847
- | 'detect_words'
4848
- | 'greeting_end'
4849
- | 'disabled';
4785
+ sound_modifications?: CallsAPI.SoundModifications;
4850
4786
 
4851
4787
  /**
4852
- * Optional configuration parameters to modify 'answering_machine_detection'
4853
- * performance. Only `total_analysis_time_millis` and `greeting_duration_millis`
4854
- * parameters are applicable when `premium` is selected as
4855
- * answering_machine_detection.
4788
+ * Use this field to add state to every subsequent webhook for the new leg. It must
4789
+ * be a valid Base-64 encoded string.
4856
4790
  */
4857
- answering_machine_detection_config?: ActionTransferParams.AnsweringMachineDetectionConfig;
4791
+ target_leg_client_state?: string;
4858
4792
 
4859
4793
  /**
4860
- * The URL of a file to be played back when the transfer destination answers before
4861
- * bridging the call. The URL can point to either a WAV or MP3 file. media_name and
4862
- * audio_url cannot be used together in one request.
4794
+ * Sets the maximum duration of a Call Control Leg in seconds. If the time limit is
4795
+ * reached, the call will hangup and a `call.hangup` webhook with a `hangup_cause`
4796
+ * of `time_limit` will be sent. For example, by setting a time limit of 120
4797
+ * seconds, a Call Leg will be automatically terminated two minutes after being
4798
+ * answered. The default time limit is 14400 seconds or 4 hours and this is also
4799
+ * the maximum allowed call length.
4863
4800
  */
4864
- audio_url?: string;
4801
+ time_limit_secs?: number;
4865
4802
 
4866
4803
  /**
4867
- * Use this field to add state to every subsequent webhook. It must be a valid
4868
- * Base-64 encoded string.
4804
+ * The number of seconds that Telnyx will wait for the call to be answered by the
4805
+ * destination to which it is being transferred. If the timeout is reached before
4806
+ * an answer is received, the call will hangup and a `call.hangup` webhook with a
4807
+ * `hangup_cause` of `timeout` will be sent. Minimum value is 5 seconds. Maximum
4808
+ * value is 600 seconds.
4869
4809
  */
4870
- client_state?: string;
4810
+ timeout_secs?: number;
4871
4811
 
4872
4812
  /**
4873
- * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4874
- * the same `command_id` for the same `call_control_id`.
4813
+ * A map of event types to retry policies. Each retry policy contains an array of
4814
+ * `retries_ms` specifying the delays between retry attempts in milliseconds.
4815
+ * Maximum 5 retries, total delay cannot exceed 60 seconds.
4875
4816
  */
4876
- command_id?: string;
4817
+ webhook_retries_policies?: { [key: string]: ActionTransferParams.WebhookRetriesPolicies };
4877
4818
 
4878
4819
  /**
4879
- * Custom headers to be added to the SIP INVITE.
4820
+ * Use this field to override the URL for which Telnyx will send subsequent
4821
+ * webhooks to for this call.
4880
4822
  */
4881
- custom_headers?: Array<CallsAPI.CustomSipHeader>;
4823
+ webhook_url?: string;
4882
4824
 
4883
4825
  /**
4884
- * If set to false, early media will not be passed to the originating leg.
4826
+ * HTTP request type used for `webhook_url`.
4885
4827
  */
4886
- early_media?: boolean;
4828
+ webhook_url_method?: 'POST' | 'GET';
4887
4829
 
4888
4830
  /**
4889
- * The `from` number to be used as the caller id presented to the destination (`to`
4890
- * number). The number should be in +E164 format. This attribute will default to
4891
- * the `to` number of the original call if omitted.
4831
+ * A map of event types to webhook URLs. When an event of the specified type
4832
+ * occurs, the webhook URL associated with that event type will be called instead
4833
+ * of `webhook_url`. Events not mapped here will use the default `webhook_url`.
4892
4834
  */
4893
- from?: string;
4835
+ webhook_urls?: { [key: string]: string };
4894
4836
 
4895
4837
  /**
4896
- * The `from_display_name` string to be used as the caller id name (SIP From
4897
- * Display Name) presented to the destination (`to` number). The string should have
4898
- * a maximum of 128 characters, containing only letters, numbers, spaces, and
4899
- * -\_~!.+ special characters. If ommited, the display name will be the same as the
4900
- * number in the `from` field.
4838
+ * HTTP request method to invoke `webhook_urls`.
4901
4839
  */
4902
- from_display_name?: string;
4840
+ webhook_urls_method?: 'POST' | 'GET';
4841
+ }
4903
4842
 
4843
+ export namespace ActionTransferParams {
4904
4844
  /**
4905
- * Defines whether media should be encrypted on the new call leg. For SIP URI
4906
- * destinations, media encryption can also be requested per endpoint with the
4907
- * `secure` URI parameter: `;secure=true` or `;secure=srtp` enables SRTP, and
4908
- * `;secure=dtls` enables DTLS. This parameter, when set to `SRTP` or `DTLS`, takes
4909
- * precedence over the per-endpoint `secure` value.
4845
+ * Optional configuration parameters to modify 'answering_machine_detection'
4846
+ * performance. Only `total_analysis_time_millis` and `greeting_duration_millis`
4847
+ * parameters are applicable when `premium` is selected as
4848
+ * answering_machine_detection.
4910
4849
  */
4911
- media_encryption?: 'disabled' | 'SRTP' | 'DTLS';
4850
+ export interface AnsweringMachineDetectionConfig {
4851
+ /**
4852
+ * Silence duration threshold after a greeting message or voice for it be
4853
+ * considered human.
4854
+ */
4855
+ after_greeting_silence_millis?: number;
4856
+
4857
+ /**
4858
+ * Maximum threshold for silence between words.
4859
+ */
4860
+ between_words_silence_millis?: number;
4861
+
4862
+ /**
4863
+ * Maximum threshold of a human greeting. If greeting longer than this value,
4864
+ * considered machine.
4865
+ */
4866
+ greeting_duration_millis?: number;
4867
+
4868
+ /**
4869
+ * If machine already detected, maximum threshold for silence between words. If
4870
+ * exceeded, the greeting is considered ended.
4871
+ */
4872
+ greeting_silence_duration_millis?: number;
4873
+
4874
+ /**
4875
+ * If machine already detected, maximum timeout threshold to determine the end of
4876
+ * the machine greeting.
4877
+ */
4878
+ greeting_total_analysis_time_millis?: number;
4879
+
4880
+ /**
4881
+ * If initial silence duration is greater than this value, consider it a machine.
4882
+ */
4883
+ initial_silence_millis?: number;
4884
+
4885
+ /**
4886
+ * If number of detected words is greater than this value, consder it a machine.
4887
+ */
4888
+ maximum_number_of_words?: number;
4889
+
4890
+ /**
4891
+ * If a single word lasts longer than this threshold, consider it a machine.
4892
+ */
4893
+ maximum_word_length_millis?: number;
4894
+
4895
+ /**
4896
+ * Minimum noise threshold for any analysis.
4897
+ */
4898
+ silence_threshold?: number;
4899
+
4900
+ /**
4901
+ * Maximum timeout threshold for overall detection.
4902
+ */
4903
+ total_analysis_time_millis?: number;
4904
+ }
4912
4905
 
4906
+ export interface WebhookRetriesPolicies {
4907
+ /**
4908
+ * Array of delays in milliseconds between retry attempts. Total sum cannot exceed
4909
+ * 60000ms.
4910
+ */
4911
+ retries_ms?: Array<number>;
4912
+ }
4913
+ }
4914
+
4915
+ export interface ActionAddAIAssistantMessagesParams {
4913
4916
  /**
4914
- * The media_name of a file to be played back when the transfer destination answers
4915
- * before bridging the call. The media_name must point to a file previously
4916
- * uploaded to api.telnyx.com/v2/media by the same user/organization. The file must
4917
- * either be a WAV or MP3 file.
4917
+ * Use this field to add state to every subsequent webhook. It must be a valid
4918
+ * Base-64 encoded string.
4918
4919
  */
4919
- media_name?: string;
4920
+ client_state?: string;
4920
4921
 
4921
4922
  /**
4922
- * When enabled, DTMF tones are not passed to the call participant. The webhooks
4923
- * containing the DTMF information will be sent.
4923
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4924
+ * the same `command_id` for the same `call_control_id`.
4924
4925
  */
4925
- mute_dtmf?: 'none' | 'both' | 'self' | 'opposite';
4926
+ command_id?: string;
4926
4927
 
4927
4928
  /**
4928
- * Specifies behavior after the bridge ends (i.e. the opposite leg either hangs up
4929
- * or is transferred). If supplied with the value `self`, the current leg will be
4930
- * parked after unbridge. If not set, the default behavior is to hang up the leg.
4929
+ * The messages to add to the conversation.
4931
4930
  */
4932
- park_after_unbridge?: string;
4931
+ messages?: Array<UserMessage | AssistantMessage | ToolMessage | SystemMessage | DeveloperMessage>;
4932
+ }
4933
4933
 
4934
+ export interface ActionJoinAIAssistantParams {
4934
4935
  /**
4935
- * The list of comma-separated codecs in order of preference to be used during the
4936
- * call. The codecs supported are `G722`, `PCMU`, `PCMA`, `G729`, `OPUS`, `VP8`,
4937
- * `H264`, `AMR-WB`.
4936
+ * The ID of the AI assistant conversation to join.
4938
4937
  */
4939
- preferred_codecs?: string;
4938
+ conversation_id: string;
4939
+
4940
+ participant: AIAssistantJoinParticipant;
4940
4941
 
4941
4942
  /**
4942
- * Indicates the privacy level to be used for the call. When set to `id`, caller ID
4943
- * information (name and number) will be hidden from the called party. When set to
4944
- * `none` or omitted, caller ID will be shown normally.
4943
+ * Use this field to add state to every subsequent webhook. It must be a valid
4944
+ * Base-64 encoded string.
4945
4945
  */
4946
- privacy?: 'id' | 'none';
4946
+ client_state?: string;
4947
4947
 
4948
4948
  /**
4949
- * Start recording automatically after an event. Disabled by default.
4949
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4950
+ * the same `command_id` for the same `call_control_id`.
4950
4951
  */
4951
- record?: 'record-from-answer';
4952
+ command_id?: string;
4953
+ }
4952
4954
 
4955
+ export interface ActionStartConversationRelayParams {
4953
4956
  /**
4954
- * Defines which channel should be recorded ('single' or 'dual') when `record` is
4955
- * specified.
4957
+ * Custom parameters for the Conversation Relay session. Pass key-value data as
4958
+ * `assistant.dynamic_variables` to make it available to the relay session.
4956
4959
  */
4957
- record_channels?: 'single' | 'dual';
4960
+ assistant?: ActionStartConversationRelayParams.Assistant;
4958
4961
 
4959
4962
  /**
4960
- * The custom recording file name to be used instead of the default `call_leg_id`.
4961
- * Telnyx will still add a Unix timestamp suffix.
4963
+ * Use this field to add state to subsequent webhooks. It must be a valid Base-64
4964
+ * encoded string.
4962
4965
  */
4963
- record_custom_file_name?: string;
4966
+ client_state?: string;
4964
4967
 
4965
4968
  /**
4966
- * Defines the format of the recording ('wav' or 'mp3') when `record` is specified.
4969
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
4970
+ * the same `command_id` for the same `call_control_id`.
4967
4971
  */
4968
- record_format?: 'wav' | 'mp3';
4972
+ command_id?: string;
4969
4973
 
4970
4974
  /**
4971
- * Defines the maximum length for the recording in seconds when `record` is
4972
- * specified. The minimum value is 0. The maximum value is 43200. The default value
4973
- * is 0 (infinite).
4975
+ * Enable DTMF detection for the relay session.
4974
4976
  */
4975
- record_max_length?: number;
4977
+ conversation_relay_dtmf_detection?: boolean;
4976
4978
 
4977
4979
  /**
4978
- * The number of seconds that Telnyx will wait for the recording to be stopped if
4979
- * silence is detected when `record` is specified. The timer only starts when the
4980
- * speech is detected. Please note that call transcription is used to detect
4981
- * silence and the related charge will be applied. The minimum value is 0. The
4982
- * default value is 0 (infinite).
4980
+ * Conversation Relay connection settings. This object can provide `url`,
4981
+ * `dtmf_detection`, `interruptible`, `interruptible_greeting`, and `languages`.
4982
+ * Top-level aliases override nested values when both are present.
4983
4983
  */
4984
- record_timeout_secs?: number;
4984
+ conversation_relay_settings?: ActionStartConversationRelayParams.ConversationRelaySettings;
4985
4985
 
4986
4986
  /**
4987
- * The audio track to be recorded. Can be either `both`, `inbound` or `outbound`.
4988
- * If only single track is specified (`inbound`, `outbound`), `channels`
4989
- * configuration is ignored and it will be recorded as mono (single channel).
4987
+ * WebSocket URL for your Conversation Relay server. Must start with `ws://` or
4988
+ * `wss://`.
4990
4989
  */
4991
- record_track?: 'both' | 'inbound' | 'outbound';
4990
+ conversation_relay_url?: string;
4992
4991
 
4993
4992
  /**
4994
- * When set to `trim-silence`, silence will be removed from the beginning and end
4995
- * of the recording.
4993
+ * Custom key-value parameters forwarded to the relay session as
4994
+ * `assistant.dynamic_variables`. If `assistant.dynamic_variables` is also present,
4995
+ * these values are merged in.
4996
4996
  */
4997
- record_trim?: 'trim-silence';
4997
+ custom_parameters?: { [key: string]: unknown };
4998
4998
 
4999
4999
  /**
5000
- * DTMF digits to send automatically after the transfer destination answers. Useful
5001
- * for reaching an extension behind an IVR (e.g. `"200"` to dial extension 200 once
5002
- * the called party picks up). Allowed characters: `0-9`, `A-D`, `w` (0.5s pause),
5003
- * `W` (1s pause), `*`, `#`. Maximum 64 characters. When omitted, no automatic DTMF
5004
- * is sent. May also be supplied inline by appending `,<digits>` to `to` (e.g.
5005
- * `to=+18004247767,200`); if both forms are present, this explicit field takes
5006
- * precedence.
5000
+ * Public alias for `conversation_relay_dtmf_detection`. If both are present, this
5001
+ * value wins.
5007
5002
  */
5008
- send_digits_on_answer?: string;
5003
+ dtmf_detection?: boolean;
5009
5004
 
5010
5005
  /**
5011
- * SIP Authentication password used for SIP challenges.
5006
+ * Text played when the relay session starts.
5012
5007
  */
5013
- sip_auth_password?: string;
5008
+ greeting?: string;
5014
5009
 
5015
5010
  /**
5016
- * SIP Authentication username used for SIP challenges.
5011
+ * Controls when caller input can interrupt assistant speech. `any` allows speech
5012
+ * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
5013
+ * only; `dtmf` allows DTMF only.
5017
5014
  */
5018
- sip_auth_username?: string;
5015
+ interruptible?: ConversationRelayInterruptible;
5016
+
5017
+ /**
5018
+ * Controls when caller input can interrupt assistant speech. `any` allows speech
5019
+ * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
5020
+ * only; `dtmf` allows DTMF only.
5021
+ */
5022
+ interruptible_greeting?: ConversationRelayInterruptible;
5019
5023
 
5020
5024
  /**
5021
- * SIP headers to be added to the SIP INVITE. Currently only User-to-User header is
5022
- * supported.
5025
+ * Settings for handling caller interruptions during Conversation Relay speech.
5023
5026
  */
5024
- sip_headers?: Array<CallsAPI.SipHeader>;
5027
+ interruption_settings?: CallsAPI.ConversationRelayInterruptionSettings;
5025
5028
 
5026
5029
  /**
5027
- * Defines the SIP region to be used for the call.
5030
+ * Default language for the relay session. This value is used for both
5031
+ * text-to-speech and speech recognition.
5028
5032
  */
5029
- sip_region?: 'US' | 'Europe' | 'Canada' | 'Australia' | 'Middle East';
5033
+ language?: string;
5030
5034
 
5031
5035
  /**
5032
- * Defines SIP transport protocol to be used on the call.
5036
+ * Per-language TTS and transcription settings.
5033
5037
  */
5034
- sip_transport_protocol?: 'UDP' | 'TCP' | 'TLS';
5038
+ languages?: Array<CallsAPI.ConversationRelayLanguage>;
5035
5039
 
5036
5040
  /**
5037
- * Use this field to modify sound effects, for example adjust the pitch.
5041
+ * Structured voice provider. Must be supplied together with `structured_provider`.
5038
5042
  */
5039
- sound_modifications?: CallsAPI.SoundModifications;
5043
+ provider?: string;
5040
5044
 
5041
5045
  /**
5042
- * Use this field to add state to every subsequent webhook for the new leg. It must
5043
- * be a valid Base-64 encoded string.
5046
+ * Provider-specific structured voice settings. Must be supplied together with
5047
+ * `provider`; Telnyx sends the value as the nested provider configuration for
5048
+ * Conversation Relay.
5044
5049
  */
5045
- target_leg_client_state?: string;
5050
+ structured_provider?: { [key: string]: unknown };
5046
5051
 
5047
5052
  /**
5048
- * Sets the maximum duration of a Call Control Leg in seconds. If the time limit is
5049
- * reached, the call will hangup and a `call.hangup` webhook with a `hangup_cause`
5050
- * of `time_limit` will be sent. For example, by setting a time limit of 120
5051
- * seconds, a Call Leg will be automatically terminated two minutes after being
5052
- * answered. The default time limit is 14400 seconds or 4 hours and this is also
5053
- * the maximum allowed call length.
5053
+ * @deprecated Not supported for Conversation Relay start requests. Use
5054
+ * `transcription_engine` and `transcription_engine_config` instead.
5054
5055
  */
5055
- time_limit_secs?: number;
5056
+ transcription?: { [key: string]: unknown };
5056
5057
 
5057
5058
  /**
5058
- * The number of seconds that Telnyx will wait for the call to be answered by the
5059
- * destination to which it is being transferred. If the timeout is reached before
5060
- * an answer is received, the call will hangup and a `call.hangup` webhook with a
5061
- * `hangup_cause` of `timeout` will be sent. Minimum value is 5 seconds. Maximum
5062
- * value is 600 seconds.
5059
+ * Engine to use for speech recognition. Legacy values `A` - `Google`, `B` -
5060
+ * `Telnyx` are supported for backward compatibility. For Conversation Relay, use
5061
+ * this field with `transcription_engine_config`; the `transcription` object is not
5062
+ * supported.
5063
5063
  */
5064
- timeout_secs?: number;
5064
+ transcription_engine?:
5065
+ | 'Google'
5066
+ | 'Telnyx'
5067
+ | 'Deepgram'
5068
+ | 'Azure'
5069
+ | 'xAI'
5070
+ | 'AssemblyAI'
5071
+ | 'Speechmatics'
5072
+ | 'Soniox'
5073
+ | 'A'
5074
+ | 'B';
5065
5075
 
5066
5076
  /**
5067
- * A map of event types to retry policies. Each retry policy contains an array of
5068
- * `retries_ms` specifying the delays between retry attempts in milliseconds.
5069
- * Maximum 5 retries, total delay cannot exceed 60 seconds.
5077
+ * Engine-specific transcription settings for Conversation Relay. This accepts the
5078
+ * same provider-specific options used by the Call Transcription Start command,
5079
+ * such as `transcription_model`, without requiring the engine discriminator to be
5080
+ * repeated inside this object.
5070
5081
  */
5071
- webhook_retries_policies?: { [key: string]: ActionTransferParams.WebhookRetriesPolicies };
5082
+ transcription_engine_config?: { [key: string]: unknown };
5072
5083
 
5073
5084
  /**
5074
- * Use this field to override the URL for which Telnyx will send subsequent
5075
- * webhooks to for this call.
5085
+ * Text-to-speech provider. If omitted, Telnyx derives it from `voice` or
5086
+ * `provider`.
5076
5087
  */
5077
- webhook_url?: string;
5088
+ tts_provider?: string;
5078
5089
 
5079
5090
  /**
5080
- * HTTP request type used for `webhook_url`.
5091
+ * Public alias for `conversation_relay_url`. Must start with `ws://` or `wss://`.
5092
+ * If both are present, this value wins.
5081
5093
  */
5082
- webhook_url_method?: 'POST' | 'GET';
5094
+ url?: string;
5083
5095
 
5084
5096
  /**
5085
- * A map of event types to webhook URLs. When an event of the specified type
5086
- * occurs, the webhook URL associated with that event type will be called instead
5087
- * of `webhook_url`. Events not mapped here will use the default `webhook_url`.
5097
+ * The voice to be used by the voice assistant. Currently we support ElevenLabs,
5098
+ * Telnyx and AWS voices.
5099
+ *
5100
+ * **Supported Providers:**
5101
+ *
5102
+ * - **AWS:** Use `AWS.Polly.<VoiceId>` (e.g., `AWS.Polly.Joanna`). For neural
5103
+ * voices, which provide more realistic, human-like speech, append `-Neural` to
5104
+ * the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
5105
+ * [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
5106
+ * for compatibility.
5107
+ * - **Azure:** Use `Azure.<VoiceId>. (e.g. Azure.en-CA-ClaraNeural,
5108
+ * Azure.en-CA-LiamNeural, Azure.en-US-BrianMultilingualNeural,
5109
+ * Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to
5110
+ * [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).)
5111
+ * - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
5112
+ * `ElevenLabs.BaseModel.John`). The `ModelId` part is optional. To use
5113
+ * ElevenLabs, you must provide your ElevenLabs API key as an integration secret
5114
+ * under `"voice_settings": {"api_key_ref": "<secret_id>"}`. See
5115
+ * [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
5116
+ * for details. Check
5117
+ * [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
5118
+ * - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
5119
+ * - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
5120
+ * `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
5121
+ * `Max`, `TTS2`.
5122
+ * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
5123
+ * `ara`, `rex`, `sal`, `leo`.
5088
5124
  */
5089
- webhook_urls?: { [key: string]: string };
5125
+ voice?: string;
5090
5126
 
5091
5127
  /**
5092
- * HTTP request method to invoke `webhook_urls`.
5128
+ * The settings associated with the voice selected
5093
5129
  */
5094
- webhook_urls_method?: 'POST' | 'GET';
5130
+ voice_settings?:
5131
+ | ElevenLabsVoiceSettings
5132
+ | TelnyxVoiceSettings
5133
+ | AwsVoiceSettings
5134
+ | Shared.MinimaxVoiceSettings
5135
+ | Shared.AzureVoiceSettings
5136
+ | Shared.RimeVoiceSettings
5137
+ | Shared.ResembleVoiceSettings
5138
+ | Shared.InworldVoiceSettings
5139
+ | Shared.XaiVoiceSettings;
5095
5140
  }
5096
5141
 
5097
- export namespace ActionTransferParams {
5142
+ export namespace ActionStartConversationRelayParams {
5098
5143
  /**
5099
- * Optional configuration parameters to modify 'answering_machine_detection'
5100
- * performance. Only `total_analysis_time_millis` and `greeting_duration_millis`
5101
- * parameters are applicable when `premium` is selected as
5102
- * answering_machine_detection.
5144
+ * Custom parameters for the Conversation Relay session. Pass key-value data as
5145
+ * `assistant.dynamic_variables` to make it available to the relay session.
5103
5146
  */
5104
- export interface AnsweringMachineDetectionConfig {
5105
- /**
5106
- * Silence duration threshold after a greeting message or voice for it be
5107
- * considered human.
5108
- */
5109
- after_greeting_silence_millis?: number;
5110
-
5111
- /**
5112
- * Maximum threshold for silence between words.
5113
- */
5114
- between_words_silence_millis?: number;
5115
-
5116
- /**
5117
- * Maximum threshold of a human greeting. If greeting longer than this value,
5118
- * considered machine.
5119
- */
5120
- greeting_duration_millis?: number;
5121
-
5122
- /**
5123
- * If machine already detected, maximum threshold for silence between words. If
5124
- * exceeded, the greeting is considered ended.
5125
- */
5126
- greeting_silence_duration_millis?: number;
5127
-
5147
+ export interface Assistant {
5128
5148
  /**
5129
- * If machine already detected, maximum timeout threshold to determine the end of
5130
- * the machine greeting.
5149
+ * Custom key-value parameters forwarded to the Conversation Relay session.
5131
5150
  */
5132
- greeting_total_analysis_time_millis?: number;
5151
+ dynamic_variables?: { [key: string]: string };
5133
5152
 
5134
- /**
5135
- * If initial silence duration is greater than this value, consider it a machine.
5136
- */
5137
- initial_silence_millis?: number;
5153
+ [k: string]: unknown;
5154
+ }
5138
5155
 
5156
+ /**
5157
+ * Conversation Relay connection settings. This object can provide `url`,
5158
+ * `dtmf_detection`, `interruptible`, `interruptible_greeting`, and `languages`.
5159
+ * Top-level aliases override nested values when both are present.
5160
+ */
5161
+ export interface ConversationRelaySettings {
5139
5162
  /**
5140
- * If number of detected words is greater than this value, consder it a machine.
5163
+ * WebSocket URL for your Conversation Relay server. Must start with `ws://` or
5164
+ * `wss://`.
5141
5165
  */
5142
- maximum_number_of_words?: number;
5166
+ url: string;
5143
5167
 
5144
5168
  /**
5145
- * If a single word lasts longer than this threshold, consider it a machine.
5169
+ * Whether to enable DTMF detection during the relay session.
5146
5170
  */
5147
- maximum_word_length_millis?: number;
5171
+ dtmf_detection?: boolean;
5148
5172
 
5149
5173
  /**
5150
- * Minimum noise threshold for any analysis.
5174
+ * Controls when caller input can interrupt assistant speech. `any` allows speech
5175
+ * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
5176
+ * only; `dtmf` allows DTMF only.
5151
5177
  */
5152
- silence_threshold?: number;
5178
+ interruptible?: ActionsAPI.ConversationRelayInterruptible;
5153
5179
 
5154
5180
  /**
5155
- * Maximum timeout threshold for overall detection.
5181
+ * Controls when caller input can interrupt assistant speech. `any` allows speech
5182
+ * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
5183
+ * only; `dtmf` allows DTMF only.
5156
5184
  */
5157
- total_analysis_time_millis?: number;
5158
- }
5185
+ interruptible_greeting?: ActionsAPI.ConversationRelayInterruptible;
5159
5186
 
5160
- export interface WebhookRetriesPolicies {
5161
5187
  /**
5162
- * Array of delays in milliseconds between retry attempts. Total sum cannot exceed
5163
- * 60000ms.
5188
+ * Language-specific TTS and transcription settings.
5164
5189
  */
5165
- retries_ms?: Array<number>;
5190
+ languages?: Array<CallsAPI.ConversationRelayLanguage>;
5166
5191
  }
5167
5192
  }
5168
5193
 
5169
- export interface ActionUpdateClientStateParams {
5194
+ export interface ActionStopConversationRelayParams {
5170
5195
  /**
5171
- * Use this field to add state to every subsequent webhook. It must be a valid
5172
- * Base-64 encoded string.
5196
+ * Use this field to add state to subsequent webhooks. It must be a valid Base-64
5197
+ * encoded string.
5173
5198
  */
5174
- client_state: string;
5199
+ client_state?: string;
5200
+
5201
+ /**
5202
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
5203
+ * the same `command_id` for the same `call_control_id`.
5204
+ */
5205
+ command_id?: string;
5175
5206
  }
5176
5207
 
5177
5208
  export declare namespace Actions {
@@ -5248,45 +5279,45 @@ export declare namespace Actions {
5248
5279
  type ActionSwitchSupervisorRoleResponse as ActionSwitchSupervisorRoleResponse,
5249
5280
  type ActionTransferResponse as ActionTransferResponse,
5250
5281
  type ActionUpdateClientStateResponse as ActionUpdateClientStateResponse,
5251
- type ActionAddAIAssistantMessagesParams as ActionAddAIAssistantMessagesParams,
5282
+ type ActionStartAIAssistantParams as ActionStartAIAssistantParams,
5283
+ type ActionStopAIAssistantParams as ActionStopAIAssistantParams,
5252
5284
  type ActionAnswerParams as ActionAnswerParams,
5253
5285
  type ActionBridgeParams as ActionBridgeParams,
5286
+ type ActionUpdateClientStateParams as ActionUpdateClientStateParams,
5254
5287
  type ActionEnqueueParams as ActionEnqueueParams,
5288
+ type ActionStartForkingParams as ActionStartForkingParams,
5289
+ type ActionStopForkingParams as ActionStopForkingParams,
5255
5290
  type ActionGatherParams as ActionGatherParams,
5291
+ type ActionStopGatherParams as ActionStopGatherParams,
5256
5292
  type ActionGatherUsingAIParams as ActionGatherUsingAIParams,
5257
5293
  type ActionGatherUsingAudioParams as ActionGatherUsingAudioParams,
5258
5294
  type ActionGatherUsingSpeakParams as ActionGatherUsingSpeakParams,
5259
5295
  type ActionHangupParams as ActionHangupParams,
5260
- type ActionJoinAIAssistantParams as ActionJoinAIAssistantParams,
5261
5296
  type ActionLeaveQueueParams as ActionLeaveQueueParams,
5297
+ type ActionStartPlaybackParams as ActionStartPlaybackParams,
5298
+ type ActionStopPlaybackParams as ActionStopPlaybackParams,
5262
5299
  type ActionPauseRecordingParams as ActionPauseRecordingParams,
5300
+ type ActionResumeRecordingParams as ActionResumeRecordingParams,
5301
+ type ActionStartRecordingParams as ActionStartRecordingParams,
5302
+ type ActionStopRecordingParams as ActionStopRecordingParams,
5263
5303
  type ActionReferParams as ActionReferParams,
5264
5304
  type ActionRejectParams as ActionRejectParams,
5265
- type ActionResumeRecordingParams as ActionResumeRecordingParams,
5266
5305
  type ActionSendDtmfParams as ActionSendDtmfParams,
5267
5306
  type ActionSendSipInfoParams as ActionSendSipInfoParams,
5268
- type ActionSpeakParams as ActionSpeakParams,
5269
- type ActionStartAIAssistantParams as ActionStartAIAssistantParams,
5270
- type ActionStartConversationRelayParams as ActionStartConversationRelayParams,
5271
- type ActionStartForkingParams as ActionStartForkingParams,
5272
- type ActionStartNoiseSuppressionParams as ActionStartNoiseSuppressionParams,
5273
- type ActionStartPlaybackParams as ActionStartPlaybackParams,
5274
- type ActionStartRecordingParams as ActionStartRecordingParams,
5275
5307
  type ActionStartSiprecParams as ActionStartSiprecParams,
5276
- type ActionStartStreamingParams as ActionStartStreamingParams,
5277
- type ActionStartTranscriptionParams as ActionStartTranscriptionParams,
5278
- type ActionStopAIAssistantParams as ActionStopAIAssistantParams,
5279
- type ActionStopConversationRelayParams as ActionStopConversationRelayParams,
5280
- type ActionStopForkingParams as ActionStopForkingParams,
5281
- type ActionStopGatherParams as ActionStopGatherParams,
5282
- type ActionStopNoiseSuppressionParams as ActionStopNoiseSuppressionParams,
5283
- type ActionStopPlaybackParams as ActionStopPlaybackParams,
5284
- type ActionStopRecordingParams as ActionStopRecordingParams,
5285
5308
  type ActionStopSiprecParams as ActionStopSiprecParams,
5309
+ type ActionSpeakParams as ActionSpeakParams,
5310
+ type ActionStartStreamingParams as ActionStartStreamingParams,
5286
5311
  type ActionStopStreamingParams as ActionStopStreamingParams,
5287
- type ActionStopTranscriptionParams as ActionStopTranscriptionParams,
5312
+ type ActionStartNoiseSuppressionParams as ActionStartNoiseSuppressionParams,
5313
+ type ActionStopNoiseSuppressionParams as ActionStopNoiseSuppressionParams,
5288
5314
  type ActionSwitchSupervisorRoleParams as ActionSwitchSupervisorRoleParams,
5315
+ type ActionStartTranscriptionParams as ActionStartTranscriptionParams,
5316
+ type ActionStopTranscriptionParams as ActionStopTranscriptionParams,
5289
5317
  type ActionTransferParams as ActionTransferParams,
5290
- type ActionUpdateClientStateParams as ActionUpdateClientStateParams,
5318
+ type ActionAddAIAssistantMessagesParams as ActionAddAIAssistantMessagesParams,
5319
+ type ActionJoinAIAssistantParams as ActionJoinAIAssistantParams,
5320
+ type ActionStartConversationRelayParams as ActionStartConversationRelayParams,
5321
+ type ActionStopConversationRelayParams as ActionStopConversationRelayParams,
5291
5322
  };
5292
5323
  }