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