telnyx 6.74.2 → 7.1.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 (1311) hide show
  1. package/CHANGELOG.md +266 -3
  2. package/README.md +1 -49
  3. package/client.d.mts +96 -85
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +96 -85
  6. package/client.d.ts.map +1 -1
  7. package/client.js +19 -7
  8. package/client.js.map +1 -1
  9. package/client.mjs +20 -8
  10. package/client.mjs.map +1 -1
  11. package/index.d.mts +0 -1
  12. package/index.d.mts.map +1 -1
  13. package/index.d.ts +0 -1
  14. package/index.d.ts.map +1 -1
  15. package/index.js +1 -4
  16. package/index.js.map +1 -1
  17. package/index.mjs +0 -1
  18. package/index.mjs.map +1 -1
  19. package/package.json +1 -2
  20. package/resources/advanced-orders.d.mts +9 -59
  21. package/resources/advanced-orders.d.mts.map +1 -1
  22. package/resources/advanced-orders.d.ts +9 -59
  23. package/resources/advanced-orders.d.ts.map +1 -1
  24. package/resources/advanced-orders.js +1 -1
  25. package/resources/advanced-orders.mjs +1 -1
  26. package/resources/ai/ai.d.mts +266 -26
  27. package/resources/ai/ai.d.mts.map +1 -1
  28. package/resources/ai/ai.d.ts +266 -26
  29. package/resources/ai/ai.d.ts.map +1 -1
  30. package/resources/ai/ai.js +68 -6
  31. package/resources/ai/ai.js.map +1 -1
  32. package/resources/ai/ai.mjs +71 -9
  33. package/resources/ai/ai.mjs.map +1 -1
  34. package/resources/ai/assistants/assistants.d.mts +675 -11
  35. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  36. package/resources/ai/assistants/assistants.d.ts +675 -11
  37. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  38. package/resources/ai/assistants/assistants.js +4 -0
  39. package/resources/ai/assistants/assistants.js.map +1 -1
  40. package/resources/ai/assistants/assistants.mjs +5 -1
  41. package/resources/ai/assistants/assistants.mjs.map +1 -1
  42. package/resources/ai/assistants/index.d.mts +4 -3
  43. package/resources/ai/assistants/index.d.mts.map +1 -1
  44. package/resources/ai/assistants/index.d.ts +4 -3
  45. package/resources/ai/assistants/index.d.ts.map +1 -1
  46. package/resources/ai/assistants/index.js +3 -1
  47. package/resources/ai/assistants/index.js.map +1 -1
  48. package/resources/ai/assistants/index.mjs +2 -1
  49. package/resources/ai/assistants/index.mjs.map +1 -1
  50. package/resources/ai/assistants/instructions.d.mts +53 -0
  51. package/resources/ai/assistants/instructions.d.mts.map +1 -0
  52. package/resources/ai/assistants/instructions.d.ts +53 -0
  53. package/resources/ai/assistants/instructions.d.ts.map +1 -0
  54. package/resources/ai/assistants/instructions.js +47 -0
  55. package/resources/ai/assistants/instructions.js.map +1 -0
  56. package/resources/ai/assistants/instructions.mjs +43 -0
  57. package/resources/ai/assistants/instructions.mjs.map +1 -0
  58. package/resources/ai/assistants/scheduled-events.d.mts +41 -1
  59. package/resources/ai/assistants/scheduled-events.d.mts.map +1 -1
  60. package/resources/ai/assistants/scheduled-events.d.ts +41 -1
  61. package/resources/ai/assistants/scheduled-events.d.ts.map +1 -1
  62. package/resources/ai/assistants/tags.d.mts +14 -16
  63. package/resources/ai/assistants/tags.d.mts.map +1 -1
  64. package/resources/ai/assistants/tags.d.ts +14 -16
  65. package/resources/ai/assistants/tags.d.ts.map +1 -1
  66. package/resources/ai/assistants/tags.js +6 -5
  67. package/resources/ai/assistants/tags.js.map +1 -1
  68. package/resources/ai/assistants/tags.mjs +6 -5
  69. package/resources/ai/assistants/tags.mjs.map +1 -1
  70. package/resources/ai/assistants/tests/runs.d.mts +3 -0
  71. package/resources/ai/assistants/tests/runs.d.mts.map +1 -1
  72. package/resources/ai/assistants/tests/runs.d.ts +3 -0
  73. package/resources/ai/assistants/tests/runs.d.ts.map +1 -1
  74. package/resources/ai/assistants/tools.d.mts +7 -1
  75. package/resources/ai/assistants/tools.d.mts.map +1 -1
  76. package/resources/ai/assistants/tools.d.ts +7 -1
  77. package/resources/ai/assistants/tools.d.ts.map +1 -1
  78. package/resources/ai/assistants/versions.d.mts +25 -3
  79. package/resources/ai/assistants/versions.d.mts.map +1 -1
  80. package/resources/ai/assistants/versions.d.ts +25 -3
  81. package/resources/ai/assistants/versions.d.ts.map +1 -1
  82. package/resources/ai/chat.d.mts +171 -1
  83. package/resources/ai/chat.d.mts.map +1 -1
  84. package/resources/ai/chat.d.ts +171 -1
  85. package/resources/ai/chat.d.ts.map +1 -1
  86. package/resources/ai/clusters.d.mts +3 -0
  87. package/resources/ai/clusters.d.mts.map +1 -1
  88. package/resources/ai/clusters.d.ts +3 -0
  89. package/resources/ai/clusters.d.ts.map +1 -1
  90. package/resources/ai/index.d.mts +8 -8
  91. package/resources/ai/index.d.mts.map +1 -1
  92. package/resources/ai/index.d.ts +8 -8
  93. package/resources/ai/index.d.ts.map +1 -1
  94. package/resources/ai/index.js.map +1 -1
  95. package/resources/ai/index.mjs +2 -2
  96. package/resources/ai/index.mjs.map +1 -1
  97. package/resources/ai/integrations/index.d.mts +1 -1
  98. package/resources/ai/integrations/index.d.mts.map +1 -1
  99. package/resources/ai/integrations/index.d.ts +1 -1
  100. package/resources/ai/integrations/index.d.ts.map +1 -1
  101. package/resources/ai/integrations/index.js.map +1 -1
  102. package/resources/ai/integrations/index.mjs.map +1 -1
  103. package/resources/ai/integrations/integrations.d.mts +4 -15
  104. package/resources/ai/integrations/integrations.d.mts.map +1 -1
  105. package/resources/ai/integrations/integrations.d.ts +4 -15
  106. package/resources/ai/integrations/integrations.d.ts.map +1 -1
  107. package/resources/ai/integrations/integrations.js.map +1 -1
  108. package/resources/ai/integrations/integrations.mjs.map +1 -1
  109. package/resources/ai/mcp-servers.d.mts +14 -35
  110. package/resources/ai/mcp-servers.d.mts.map +1 -1
  111. package/resources/ai/mcp-servers.d.ts +14 -35
  112. package/resources/ai/mcp-servers.d.ts.map +1 -1
  113. package/resources/ai/mcp-servers.js +5 -2
  114. package/resources/ai/mcp-servers.js.map +1 -1
  115. package/resources/ai/mcp-servers.mjs +5 -2
  116. package/resources/ai/mcp-servers.mjs.map +1 -1
  117. package/resources/ai/missions/index.d.mts +2 -2
  118. package/resources/ai/missions/index.d.mts.map +1 -1
  119. package/resources/ai/missions/index.d.ts +2 -2
  120. package/resources/ai/missions/index.d.ts.map +1 -1
  121. package/resources/ai/missions/index.js.map +1 -1
  122. package/resources/ai/missions/index.mjs.map +1 -1
  123. package/resources/ai/missions/knowledge-bases.d.mts +9 -0
  124. package/resources/ai/missions/knowledge-bases.d.mts.map +1 -1
  125. package/resources/ai/missions/knowledge-bases.d.ts +9 -0
  126. package/resources/ai/missions/knowledge-bases.d.ts.map +1 -1
  127. package/resources/ai/missions/mcp-servers.d.mts +9 -0
  128. package/resources/ai/missions/mcp-servers.d.mts.map +1 -1
  129. package/resources/ai/missions/mcp-servers.d.ts +9 -0
  130. package/resources/ai/missions/mcp-servers.d.ts.map +1 -1
  131. package/resources/ai/missions/missions.d.mts +25 -21
  132. package/resources/ai/missions/missions.d.mts.map +1 -1
  133. package/resources/ai/missions/missions.d.ts +25 -21
  134. package/resources/ai/missions/missions.d.ts.map +1 -1
  135. package/resources/ai/missions/missions.js +6 -5
  136. package/resources/ai/missions/missions.js.map +1 -1
  137. package/resources/ai/missions/missions.mjs +6 -5
  138. package/resources/ai/missions/missions.mjs.map +1 -1
  139. package/resources/ai/missions/runs/events.d.mts +28 -23
  140. package/resources/ai/missions/runs/events.d.mts.map +1 -1
  141. package/resources/ai/missions/runs/events.d.ts +28 -23
  142. package/resources/ai/missions/runs/events.d.ts.map +1 -1
  143. package/resources/ai/missions/runs/events.js +10 -9
  144. package/resources/ai/missions/runs/events.js.map +1 -1
  145. package/resources/ai/missions/runs/events.mjs +10 -9
  146. package/resources/ai/missions/runs/events.mjs.map +1 -1
  147. package/resources/ai/missions/runs/index.d.mts +3 -3
  148. package/resources/ai/missions/runs/index.d.mts.map +1 -1
  149. package/resources/ai/missions/runs/index.d.ts +3 -3
  150. package/resources/ai/missions/runs/index.d.ts.map +1 -1
  151. package/resources/ai/missions/runs/index.js.map +1 -1
  152. package/resources/ai/missions/runs/index.mjs.map +1 -1
  153. package/resources/ai/missions/runs/plan.d.mts +53 -61
  154. package/resources/ai/missions/runs/plan.d.mts.map +1 -1
  155. package/resources/ai/missions/runs/plan.d.ts +53 -61
  156. package/resources/ai/missions/runs/plan.d.ts.map +1 -1
  157. package/resources/ai/missions/runs/plan.js +17 -16
  158. package/resources/ai/missions/runs/plan.js.map +1 -1
  159. package/resources/ai/missions/runs/plan.mjs +17 -16
  160. package/resources/ai/missions/runs/plan.mjs.map +1 -1
  161. package/resources/ai/missions/runs/runs.d.mts +67 -52
  162. package/resources/ai/missions/runs/runs.d.mts.map +1 -1
  163. package/resources/ai/missions/runs/runs.d.ts +67 -52
  164. package/resources/ai/missions/runs/runs.d.ts.map +1 -1
  165. package/resources/ai/missions/runs/runs.js +29 -23
  166. package/resources/ai/missions/runs/runs.js.map +1 -1
  167. package/resources/ai/missions/runs/runs.mjs +29 -23
  168. package/resources/ai/missions/runs/runs.mjs.map +1 -1
  169. package/resources/ai/missions/runs/telnyx-agents.d.mts +10 -1
  170. package/resources/ai/missions/runs/telnyx-agents.d.mts.map +1 -1
  171. package/resources/ai/missions/runs/telnyx-agents.d.ts +10 -1
  172. package/resources/ai/missions/runs/telnyx-agents.d.ts.map +1 -1
  173. package/resources/ai/missions/tools.d.mts +9 -0
  174. package/resources/ai/missions/tools.d.mts.map +1 -1
  175. package/resources/ai/missions/tools.d.ts +9 -0
  176. package/resources/ai/missions/tools.d.ts.map +1 -1
  177. package/resources/ai/openai/index.d.mts +1 -1
  178. package/resources/ai/openai/index.d.mts.map +1 -1
  179. package/resources/ai/openai/index.d.ts +1 -1
  180. package/resources/ai/openai/index.d.ts.map +1 -1
  181. package/resources/ai/openai/index.js.map +1 -1
  182. package/resources/ai/openai/index.mjs +1 -1
  183. package/resources/ai/openai/index.mjs.map +1 -1
  184. package/resources/ai/openai/openai.d.mts +9 -11
  185. package/resources/ai/openai/openai.d.mts.map +1 -1
  186. package/resources/ai/openai/openai.d.ts +9 -11
  187. package/resources/ai/openai/openai.d.ts.map +1 -1
  188. package/resources/ai/openai/openai.js +4 -4
  189. package/resources/ai/openai/openai.js.map +1 -1
  190. package/resources/ai/openai/openai.mjs +4 -4
  191. package/resources/ai/openai/openai.mjs.map +1 -1
  192. package/resources/ai/tools.d.mts +21 -41
  193. package/resources/ai/tools.d.mts.map +1 -1
  194. package/resources/ai/tools.d.ts +21 -41
  195. package/resources/ai/tools.d.ts.map +1 -1
  196. package/resources/ai/tools.js +8 -4
  197. package/resources/ai/tools.js.map +1 -1
  198. package/resources/ai/tools.mjs +8 -4
  199. package/resources/ai/tools.mjs.map +1 -1
  200. package/resources/bulk-sim-card-actions.d.mts +11 -46
  201. package/resources/bulk-sim-card-actions.d.mts.map +1 -1
  202. package/resources/bulk-sim-card-actions.d.ts +11 -46
  203. package/resources/bulk-sim-card-actions.d.ts.map +1 -1
  204. package/resources/bulk-sim-card-actions.js.map +1 -1
  205. package/resources/bulk-sim-card-actions.mjs.map +1 -1
  206. package/resources/call-reasons.d.mts +111 -0
  207. package/resources/call-reasons.d.mts.map +1 -0
  208. package/resources/call-reasons.d.ts +111 -0
  209. package/resources/call-reasons.d.ts.map +1 -0
  210. package/resources/call-reasons.js +51 -0
  211. package/resources/call-reasons.js.map +1 -0
  212. package/resources/call-reasons.mjs +47 -0
  213. package/resources/call-reasons.mjs.map +1 -0
  214. package/resources/calls/actions.d.mts +198 -446
  215. package/resources/calls/actions.d.mts.map +1 -1
  216. package/resources/calls/actions.d.ts +198 -446
  217. package/resources/calls/actions.d.ts.map +1 -1
  218. package/resources/calls/calls.d.mts +128 -128
  219. package/resources/calls/calls.d.mts.map +1 -1
  220. package/resources/calls/calls.d.ts +128 -128
  221. package/resources/calls/calls.d.ts.map +1 -1
  222. package/resources/calls/calls.js.map +1 -1
  223. package/resources/calls/calls.mjs.map +1 -1
  224. package/resources/calls/index.d.mts +2 -2
  225. package/resources/calls/index.d.mts.map +1 -1
  226. package/resources/calls/index.d.ts +2 -2
  227. package/resources/calls/index.d.ts.map +1 -1
  228. package/resources/calls/index.js.map +1 -1
  229. package/resources/calls/index.mjs.map +1 -1
  230. package/resources/channel-zones.d.mts +5 -24
  231. package/resources/channel-zones.d.mts.map +1 -1
  232. package/resources/channel-zones.d.ts +5 -24
  233. package/resources/channel-zones.d.ts.map +1 -1
  234. package/resources/channel-zones.js.map +1 -1
  235. package/resources/channel-zones.mjs.map +1 -1
  236. package/resources/conferences/actions.d.mts +24 -17
  237. package/resources/conferences/actions.d.mts.map +1 -1
  238. package/resources/conferences/actions.d.ts +24 -17
  239. package/resources/conferences/actions.d.ts.map +1 -1
  240. package/resources/conferences/conferences.d.mts +14 -16
  241. package/resources/conferences/conferences.d.mts.map +1 -1
  242. package/resources/conferences/conferences.d.ts +14 -16
  243. package/resources/conferences/conferences.d.ts.map +1 -1
  244. package/resources/conferences/conferences.js +6 -5
  245. package/resources/conferences/conferences.js.map +1 -1
  246. package/resources/conferences/conferences.mjs +6 -5
  247. package/resources/conferences/conferences.mjs.map +1 -1
  248. package/resources/conferences/index.d.mts +2 -2
  249. package/resources/conferences/index.d.mts.map +1 -1
  250. package/resources/conferences/index.d.ts +2 -2
  251. package/resources/conferences/index.d.ts.map +1 -1
  252. package/resources/conferences/index.js.map +1 -1
  253. package/resources/conferences/index.mjs.map +1 -1
  254. package/resources/connections.d.mts +7 -59
  255. package/resources/connections.d.mts.map +1 -1
  256. package/resources/connections.d.ts +7 -59
  257. package/resources/connections.d.ts.map +1 -1
  258. package/resources/connections.js +1 -4
  259. package/resources/connections.js.map +1 -1
  260. package/resources/connections.mjs +1 -4
  261. package/resources/connections.mjs.map +1 -1
  262. package/resources/credential-connections/credential-connections.d.mts +11 -4
  263. package/resources/credential-connections/credential-connections.d.mts.map +1 -1
  264. package/resources/credential-connections/credential-connections.d.ts +11 -4
  265. package/resources/credential-connections/credential-connections.d.ts.map +1 -1
  266. package/resources/credential-connections/credential-connections.js.map +1 -1
  267. package/resources/credential-connections/credential-connections.mjs.map +1 -1
  268. package/resources/credential-connections/index.d.mts +1 -1
  269. package/resources/credential-connections/index.d.mts.map +1 -1
  270. package/resources/credential-connections/index.d.ts +1 -1
  271. package/resources/credential-connections/index.d.ts.map +1 -1
  272. package/resources/credential-connections/index.js.map +1 -1
  273. package/resources/credential-connections/index.mjs.map +1 -1
  274. package/resources/custom-storage-credentials.d.mts +19 -43
  275. package/resources/custom-storage-credentials.d.mts.map +1 -1
  276. package/resources/custom-storage-credentials.d.ts +19 -43
  277. package/resources/custom-storage-credentials.d.ts.map +1 -1
  278. package/resources/custom-storage-credentials.js +3 -3
  279. package/resources/custom-storage-credentials.js.map +1 -1
  280. package/resources/custom-storage-credentials.mjs +3 -3
  281. package/resources/custom-storage-credentials.mjs.map +1 -1
  282. package/resources/dialogflow-connections.d.mts +10 -60
  283. package/resources/dialogflow-connections.d.mts.map +1 -1
  284. package/resources/dialogflow-connections.d.ts +10 -60
  285. package/resources/dialogflow-connections.d.ts.map +1 -1
  286. package/resources/dialogflow-connections.js +3 -3
  287. package/resources/dialogflow-connections.mjs +3 -3
  288. package/resources/dir/comments.d.mts +100 -0
  289. package/resources/dir/comments.d.mts.map +1 -0
  290. package/resources/dir/comments.d.ts +100 -0
  291. package/resources/dir/comments.d.ts.map +1 -0
  292. package/resources/dir/comments.js +54 -0
  293. package/resources/dir/comments.js.map +1 -0
  294. package/resources/dir/comments.mjs +50 -0
  295. package/resources/dir/comments.mjs.map +1 -0
  296. package/resources/dir/dir.d.mts +466 -0
  297. package/resources/dir/dir.d.mts.map +1 -0
  298. package/resources/dir/dir.d.ts +466 -0
  299. package/resources/dir/dir.d.ts.map +1 -0
  300. package/resources/dir/dir.js +224 -0
  301. package/resources/dir/dir.js.map +1 -0
  302. package/resources/dir/dir.mjs +219 -0
  303. package/resources/dir/dir.mjs.map +1 -0
  304. package/resources/dir/index.d.mts +5 -0
  305. package/resources/dir/index.d.mts.map +1 -0
  306. package/resources/dir/index.d.ts +5 -0
  307. package/resources/dir/index.d.ts.map +1 -0
  308. package/resources/dir/index.js +13 -0
  309. package/resources/dir/index.js.map +1 -0
  310. package/resources/dir/index.mjs +6 -0
  311. package/resources/dir/index.mjs.map +1 -0
  312. package/resources/dir/phone-number-batches.d.mts +120 -0
  313. package/resources/dir/phone-number-batches.d.mts.map +1 -0
  314. package/resources/dir/phone-number-batches.d.ts +120 -0
  315. package/resources/dir/phone-number-batches.d.ts.map +1 -0
  316. package/resources/dir/phone-number-batches.js +48 -0
  317. package/resources/dir/phone-number-batches.js.map +1 -0
  318. package/resources/dir/phone-number-batches.mjs +44 -0
  319. package/resources/dir/phone-number-batches.mjs.map +1 -0
  320. package/resources/dir/phone-numbers.d.mts +202 -0
  321. package/resources/dir/phone-numbers.d.mts.map +1 -0
  322. package/resources/dir/phone-numbers.d.ts +202 -0
  323. package/resources/dir/phone-numbers.d.ts.map +1 -0
  324. package/resources/dir/phone-numbers.js +78 -0
  325. package/resources/dir/phone-numbers.js.map +1 -0
  326. package/resources/dir/phone-numbers.mjs +74 -0
  327. package/resources/dir/phone-numbers.mjs.map +1 -0
  328. package/resources/dir.d.mts +2 -0
  329. package/resources/dir.d.mts.map +1 -0
  330. package/resources/dir.d.ts +2 -0
  331. package/resources/dir.d.ts.map +1 -0
  332. package/resources/dir.js +6 -0
  333. package/resources/dir.js.map +1 -0
  334. package/resources/dir.mjs +3 -0
  335. package/resources/dir.mjs.map +1 -0
  336. package/resources/document-links.d.mts +2 -13
  337. package/resources/document-links.d.mts.map +1 -1
  338. package/resources/document-links.d.ts +2 -13
  339. package/resources/document-links.d.ts.map +1 -1
  340. package/resources/document-links.js.map +1 -1
  341. package/resources/document-links.mjs.map +1 -1
  342. package/resources/documents.d.mts +20 -14
  343. package/resources/documents.d.mts.map +1 -1
  344. package/resources/documents.d.ts +20 -14
  345. package/resources/documents.d.ts.map +1 -1
  346. package/resources/documents.js +1 -1
  347. package/resources/documents.js.map +1 -1
  348. package/resources/documents.mjs +1 -1
  349. package/resources/documents.mjs.map +1 -1
  350. package/resources/enterprises/dir.d.mts +167 -0
  351. package/resources/enterprises/dir.d.mts.map +1 -0
  352. package/resources/enterprises/dir.d.ts +167 -0
  353. package/resources/enterprises/dir.d.ts.map +1 -0
  354. package/resources/enterprises/dir.js +87 -0
  355. package/resources/enterprises/dir.js.map +1 -0
  356. package/resources/enterprises/dir.mjs +83 -0
  357. package/resources/enterprises/dir.mjs.map +1 -0
  358. package/resources/enterprises/enterprises.d.mts +239 -239
  359. package/resources/enterprises/enterprises.d.mts.map +1 -1
  360. package/resources/enterprises/enterprises.d.ts +239 -239
  361. package/resources/enterprises/enterprises.d.ts.map +1 -1
  362. package/resources/enterprises/enterprises.js +135 -40
  363. package/resources/enterprises/enterprises.js.map +1 -1
  364. package/resources/enterprises/enterprises.mjs +135 -40
  365. package/resources/enterprises/enterprises.mjs.map +1 -1
  366. package/resources/enterprises/index.d.mts +3 -2
  367. package/resources/enterprises/index.d.mts.map +1 -1
  368. package/resources/enterprises/index.d.ts +3 -2
  369. package/resources/enterprises/index.d.ts.map +1 -1
  370. package/resources/enterprises/index.js +3 -1
  371. package/resources/enterprises/index.js.map +1 -1
  372. package/resources/enterprises/index.mjs +1 -0
  373. package/resources/enterprises/index.mjs.map +1 -1
  374. package/resources/enterprises/reputation/index.d.mts +4 -2
  375. package/resources/enterprises/reputation/index.d.mts.map +1 -1
  376. package/resources/enterprises/reputation/index.d.ts +4 -2
  377. package/resources/enterprises/reputation/index.d.ts.map +1 -1
  378. package/resources/enterprises/reputation/index.js +5 -1
  379. package/resources/enterprises/reputation/index.js.map +1 -1
  380. package/resources/enterprises/reputation/index.mjs +2 -0
  381. package/resources/enterprises/reputation/index.mjs.map +1 -1
  382. package/resources/enterprises/reputation/loa.d.mts +103 -0
  383. package/resources/enterprises/reputation/loa.d.mts.map +1 -0
  384. package/resources/enterprises/reputation/loa.d.ts +103 -0
  385. package/resources/enterprises/reputation/loa.d.ts.map +1 -0
  386. package/resources/enterprises/reputation/loa.js +62 -0
  387. package/resources/enterprises/reputation/loa.js.map +1 -0
  388. package/resources/enterprises/reputation/loa.mjs +58 -0
  389. package/resources/enterprises/reputation/loa.mjs.map +1 -0
  390. package/resources/enterprises/reputation/numbers.d.mts +127 -88
  391. package/resources/enterprises/reputation/numbers.d.mts.map +1 -1
  392. package/resources/enterprises/reputation/numbers.d.ts +127 -88
  393. package/resources/enterprises/reputation/numbers.d.ts.map +1 -1
  394. package/resources/enterprises/reputation/numbers.js +50 -51
  395. package/resources/enterprises/reputation/numbers.js.map +1 -1
  396. package/resources/enterprises/reputation/numbers.mjs +50 -51
  397. package/resources/enterprises/reputation/numbers.mjs.map +1 -1
  398. package/resources/enterprises/reputation/remediation.d.mts +192 -0
  399. package/resources/enterprises/reputation/remediation.d.mts.map +1 -0
  400. package/resources/enterprises/reputation/remediation.d.ts +192 -0
  401. package/resources/enterprises/reputation/remediation.d.ts.map +1 -0
  402. package/resources/enterprises/reputation/remediation.js +81 -0
  403. package/resources/enterprises/reputation/remediation.js.map +1 -0
  404. package/resources/enterprises/reputation/remediation.mjs +77 -0
  405. package/resources/enterprises/reputation/remediation.mjs.map +1 -0
  406. package/resources/enterprises/reputation/reputation.d.mts +83 -92
  407. package/resources/enterprises/reputation/reputation.d.mts.map +1 -1
  408. package/resources/enterprises/reputation/reputation.d.ts +83 -92
  409. package/resources/enterprises/reputation/reputation.d.ts.map +1 -1
  410. package/resources/enterprises/reputation/reputation.js +50 -58
  411. package/resources/enterprises/reputation/reputation.js.map +1 -1
  412. package/resources/enterprises/reputation/reputation.mjs +50 -58
  413. package/resources/enterprises/reputation/reputation.mjs.map +1 -1
  414. package/resources/external-connections/external-connections.d.mts +4 -4
  415. package/resources/external-connections/external-connections.d.mts.map +1 -1
  416. package/resources/external-connections/external-connections.d.ts +4 -4
  417. package/resources/external-connections/external-connections.d.ts.map +1 -1
  418. package/resources/external-connections/external-connections.mjs.map +1 -1
  419. package/resources/external-connections/index.d.mts +2 -2
  420. package/resources/external-connections/index.d.mts.map +1 -1
  421. package/resources/external-connections/index.d.ts +2 -2
  422. package/resources/external-connections/index.d.ts.map +1 -1
  423. package/resources/external-connections/log-messages.d.mts +11 -42
  424. package/resources/external-connections/log-messages.d.mts.map +1 -1
  425. package/resources/external-connections/log-messages.d.ts +11 -42
  426. package/resources/external-connections/log-messages.d.ts.map +1 -1
  427. package/resources/external-connections/log-messages.js +1 -1
  428. package/resources/external-connections/log-messages.js.map +1 -1
  429. package/resources/external-connections/log-messages.mjs +1 -1
  430. package/resources/external-connections/log-messages.mjs.map +1 -1
  431. package/resources/external-connections/releases.d.mts +18 -41
  432. package/resources/external-connections/releases.d.mts.map +1 -1
  433. package/resources/external-connections/releases.d.ts +18 -41
  434. package/resources/external-connections/releases.d.ts.map +1 -1
  435. package/resources/external-connections/releases.js +1 -1
  436. package/resources/external-connections/releases.js.map +1 -1
  437. package/resources/external-connections/releases.mjs +1 -1
  438. package/resources/external-connections/releases.mjs.map +1 -1
  439. package/resources/faxes/faxes.d.mts +9 -3
  440. package/resources/faxes/faxes.d.mts.map +1 -1
  441. package/resources/faxes/faxes.d.ts +9 -3
  442. package/resources/faxes/faxes.d.ts.map +1 -1
  443. package/resources/faxes/faxes.js.map +1 -1
  444. package/resources/faxes/faxes.mjs.map +1 -1
  445. package/resources/faxes/index.d.mts +1 -1
  446. package/resources/faxes/index.d.mts.map +1 -1
  447. package/resources/faxes/index.d.ts +1 -1
  448. package/resources/faxes/index.d.ts.map +1 -1
  449. package/resources/faxes/index.js.map +1 -1
  450. package/resources/faxes/index.mjs.map +1 -1
  451. package/resources/fqdn-connections.d.mts +3 -3
  452. package/resources/fqdn-connections.d.mts.map +1 -1
  453. package/resources/fqdn-connections.d.ts +3 -3
  454. package/resources/fqdn-connections.d.ts.map +1 -1
  455. package/resources/global-ip-health-checks.d.mts +12 -66
  456. package/resources/global-ip-health-checks.d.mts.map +1 -1
  457. package/resources/global-ip-health-checks.d.ts +12 -66
  458. package/resources/global-ip-health-checks.d.ts.map +1 -1
  459. package/resources/global-ip-health-checks.js +5 -2
  460. package/resources/global-ip-health-checks.js.map +1 -1
  461. package/resources/global-ip-health-checks.mjs +5 -2
  462. package/resources/global-ip-health-checks.mjs.map +1 -1
  463. package/resources/global-ips.d.mts +12 -78
  464. package/resources/global-ips.d.mts.map +1 -1
  465. package/resources/global-ips.d.ts +12 -78
  466. package/resources/global-ips.d.ts.map +1 -1
  467. package/resources/global-ips.js +2 -5
  468. package/resources/global-ips.js.map +1 -1
  469. package/resources/global-ips.mjs +2 -5
  470. package/resources/global-ips.mjs.map +1 -1
  471. package/resources/index.d.mts +41 -38
  472. package/resources/index.d.mts.map +1 -1
  473. package/resources/index.d.ts +41 -38
  474. package/resources/index.d.ts.map +1 -1
  475. package/resources/index.js +10 -4
  476. package/resources/index.js.map +1 -1
  477. package/resources/index.mjs +4 -1
  478. package/resources/index.mjs.map +1 -1
  479. package/resources/infringement-claims.d.mts +162 -0
  480. package/resources/infringement-claims.d.mts.map +1 -0
  481. package/resources/infringement-claims.d.ts +162 -0
  482. package/resources/infringement-claims.d.ts.map +1 -0
  483. package/resources/infringement-claims.js +68 -0
  484. package/resources/infringement-claims.js.map +1 -0
  485. package/resources/infringement-claims.mjs +64 -0
  486. package/resources/infringement-claims.mjs.map +1 -0
  487. package/resources/ip-connections.d.mts +3 -3
  488. package/resources/ip-connections.d.mts.map +1 -1
  489. package/resources/ip-connections.d.ts +3 -3
  490. package/resources/ip-connections.d.ts.map +1 -1
  491. package/resources/legacy/reporting/usage-reports/usage-reports.d.mts +6 -0
  492. package/resources/legacy/reporting/usage-reports/usage-reports.d.mts.map +1 -1
  493. package/resources/legacy/reporting/usage-reports/usage-reports.d.ts +6 -0
  494. package/resources/legacy/reporting/usage-reports/usage-reports.d.ts.map +1 -1
  495. package/resources/legacy/reporting/usage-reports/usage-reports.js.map +1 -1
  496. package/resources/legacy/reporting/usage-reports/usage-reports.mjs.map +1 -1
  497. package/resources/messages/index.d.mts +1 -1
  498. package/resources/messages/index.d.mts.map +1 -1
  499. package/resources/messages/index.d.ts +1 -1
  500. package/resources/messages/index.d.ts.map +1 -1
  501. package/resources/messages/index.js.map +1 -1
  502. package/resources/messages/index.mjs.map +1 -1
  503. package/resources/messages/messages.d.mts +3 -24
  504. package/resources/messages/messages.d.mts.map +1 -1
  505. package/resources/messages/messages.d.ts +3 -24
  506. package/resources/messages/messages.d.ts.map +1 -1
  507. package/resources/messages/messages.js.map +1 -1
  508. package/resources/messages/messages.mjs.map +1 -1
  509. package/resources/messaging-10dlc/brand/brand.d.mts +58 -84
  510. package/resources/messaging-10dlc/brand/brand.d.mts.map +1 -1
  511. package/resources/messaging-10dlc/brand/brand.d.ts +58 -84
  512. package/resources/messaging-10dlc/brand/brand.d.ts.map +1 -1
  513. package/resources/messaging-10dlc/brand/brand.js +4 -4
  514. package/resources/messaging-10dlc/brand/brand.js.map +1 -1
  515. package/resources/messaging-10dlc/brand/brand.mjs +5 -5
  516. package/resources/messaging-10dlc/brand/brand.mjs.map +1 -1
  517. package/resources/messaging-10dlc/brand/external-vetting.d.mts +9 -79
  518. package/resources/messaging-10dlc/brand/external-vetting.d.mts.map +1 -1
  519. package/resources/messaging-10dlc/brand/external-vetting.d.ts +9 -79
  520. package/resources/messaging-10dlc/brand/external-vetting.d.ts.map +1 -1
  521. package/resources/messaging-10dlc/brand/external-vetting.js +5 -5
  522. package/resources/messaging-10dlc/brand/external-vetting.js.map +1 -1
  523. package/resources/messaging-10dlc/brand/external-vetting.mjs +3 -3
  524. package/resources/messaging-10dlc/brand/external-vetting.mjs.map +1 -1
  525. package/resources/messaging-10dlc/brand/index.d.mts +2 -2
  526. package/resources/messaging-10dlc/brand/index.d.mts.map +1 -1
  527. package/resources/messaging-10dlc/brand/index.d.ts +2 -2
  528. package/resources/messaging-10dlc/brand/index.d.ts.map +1 -1
  529. package/resources/messaging-10dlc/brand/index.js +2 -2
  530. package/resources/messaging-10dlc/brand/index.js.map +1 -1
  531. package/resources/messaging-10dlc/brand/index.mjs +1 -1
  532. package/resources/messaging-10dlc/brand/index.mjs.map +1 -1
  533. package/resources/messaging-10dlc/campaign/campaign.d.mts +3 -0
  534. package/resources/messaging-10dlc/campaign/campaign.d.mts.map +1 -1
  535. package/resources/messaging-10dlc/campaign/campaign.d.ts +3 -0
  536. package/resources/messaging-10dlc/campaign/campaign.d.ts.map +1 -1
  537. package/resources/messaging-10dlc/campaign/campaign.js.map +1 -1
  538. package/resources/messaging-10dlc/campaign/campaign.mjs.map +1 -1
  539. package/resources/messaging-10dlc/campaign/usecase.d.mts +3 -0
  540. package/resources/messaging-10dlc/campaign/usecase.d.mts.map +1 -1
  541. package/resources/messaging-10dlc/campaign/usecase.d.ts +3 -0
  542. package/resources/messaging-10dlc/campaign/usecase.d.ts.map +1 -1
  543. package/resources/messaging-10dlc/campaign-builder/brand.d.mts +3 -0
  544. package/resources/messaging-10dlc/campaign-builder/brand.d.mts.map +1 -1
  545. package/resources/messaging-10dlc/campaign-builder/brand.d.ts +3 -0
  546. package/resources/messaging-10dlc/campaign-builder/brand.d.ts.map +1 -1
  547. package/resources/messaging-10dlc/index.d.mts +1 -1
  548. package/resources/messaging-10dlc/index.d.mts.map +1 -1
  549. package/resources/messaging-10dlc/index.d.ts +1 -1
  550. package/resources/messaging-10dlc/index.d.ts.map +1 -1
  551. package/resources/messaging-10dlc/index.js.map +1 -1
  552. package/resources/messaging-10dlc/index.mjs.map +1 -1
  553. package/resources/messaging-10dlc/messaging-10dlc.d.mts +2 -2
  554. package/resources/messaging-10dlc/messaging-10dlc.d.mts.map +1 -1
  555. package/resources/messaging-10dlc/messaging-10dlc.d.ts +2 -2
  556. package/resources/messaging-10dlc/messaging-10dlc.d.ts.map +1 -1
  557. package/resources/messaging-10dlc/messaging-10dlc.js.map +1 -1
  558. package/resources/messaging-10dlc/messaging-10dlc.mjs.map +1 -1
  559. package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.mts +12 -0
  560. package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.mts.map +1 -1
  561. package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.ts +12 -0
  562. package/resources/messaging-10dlc/phone-number-assignment-by-profile.d.ts.map +1 -1
  563. package/resources/messaging-hosted-numbers.d.mts +23 -1
  564. package/resources/messaging-hosted-numbers.d.mts.map +1 -1
  565. package/resources/messaging-hosted-numbers.d.ts +23 -1
  566. package/resources/messaging-hosted-numbers.d.ts.map +1 -1
  567. package/resources/messaging-profile-metrics.d.mts +6 -2
  568. package/resources/messaging-profile-metrics.d.mts.map +1 -1
  569. package/resources/messaging-profile-metrics.d.ts +6 -2
  570. package/resources/messaging-profile-metrics.d.ts.map +1 -1
  571. package/resources/messaging-profiles/autoresp-configs.d.mts +10 -1
  572. package/resources/messaging-profiles/autoresp-configs.d.mts.map +1 -1
  573. package/resources/messaging-profiles/autoresp-configs.d.ts +10 -1
  574. package/resources/messaging-profiles/autoresp-configs.d.ts.map +1 -1
  575. package/resources/messaging-profiles/messaging-profiles.d.mts +6 -1
  576. package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
  577. package/resources/messaging-profiles/messaging-profiles.d.ts +6 -1
  578. package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
  579. package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
  580. package/resources/messaging-profiles/messaging-profiles.mjs.map +1 -1
  581. package/resources/messaging-tollfree/verification/requests.d.mts +14 -3
  582. package/resources/messaging-tollfree/verification/requests.d.mts.map +1 -1
  583. package/resources/messaging-tollfree/verification/requests.d.ts +14 -3
  584. package/resources/messaging-tollfree/verification/requests.d.ts.map +1 -1
  585. package/resources/mobile-phone-numbers/index.d.mts +1 -1
  586. package/resources/mobile-phone-numbers/index.d.mts.map +1 -1
  587. package/resources/mobile-phone-numbers/index.d.ts +1 -1
  588. package/resources/mobile-phone-numbers/index.d.ts.map +1 -1
  589. package/resources/mobile-phone-numbers/messaging.d.mts +9 -72
  590. package/resources/mobile-phone-numbers/messaging.d.mts.map +1 -1
  591. package/resources/mobile-phone-numbers/messaging.d.ts +9 -72
  592. package/resources/mobile-phone-numbers/messaging.d.ts.map +1 -1
  593. package/resources/mobile-phone-numbers/messaging.js.map +1 -1
  594. package/resources/mobile-phone-numbers/messaging.mjs.map +1 -1
  595. package/resources/mobile-phone-numbers/mobile-phone-numbers.d.mts +2 -2
  596. package/resources/mobile-phone-numbers/mobile-phone-numbers.d.mts.map +1 -1
  597. package/resources/mobile-phone-numbers/mobile-phone-numbers.d.ts +2 -2
  598. package/resources/mobile-phone-numbers/mobile-phone-numbers.d.ts.map +1 -1
  599. package/resources/networks/default-gateway.d.mts +20 -54
  600. package/resources/networks/default-gateway.d.mts.map +1 -1
  601. package/resources/networks/default-gateway.d.ts +20 -54
  602. package/resources/networks/default-gateway.d.ts.map +1 -1
  603. package/resources/networks/default-gateway.js +3 -3
  604. package/resources/networks/default-gateway.js.map +1 -1
  605. package/resources/networks/default-gateway.mjs +1 -1
  606. package/resources/networks/default-gateway.mjs.map +1 -1
  607. package/resources/networks/index.d.mts +2 -2
  608. package/resources/networks/index.d.mts.map +1 -1
  609. package/resources/networks/index.d.ts +2 -2
  610. package/resources/networks/index.d.ts.map +1 -1
  611. package/resources/networks/index.js +2 -2
  612. package/resources/networks/index.js.map +1 -1
  613. package/resources/networks/index.mjs +1 -1
  614. package/resources/networks/index.mjs.map +1 -1
  615. package/resources/networks/networks.d.mts +21 -63
  616. package/resources/networks/networks.d.mts.map +1 -1
  617. package/resources/networks/networks.d.ts +21 -63
  618. package/resources/networks/networks.d.ts.map +1 -1
  619. package/resources/networks/networks.js +12 -13
  620. package/resources/networks/networks.js.map +1 -1
  621. package/resources/networks/networks.mjs +13 -14
  622. package/resources/networks/networks.mjs.map +1 -1
  623. package/resources/porting/events.d.mts +6 -6
  624. package/resources/porting/events.d.mts.map +1 -1
  625. package/resources/porting/events.d.ts +6 -6
  626. package/resources/porting/events.d.ts.map +1 -1
  627. package/resources/porting/events.js +1 -1
  628. package/resources/porting/events.js.map +1 -1
  629. package/resources/porting/events.mjs +1 -1
  630. package/resources/porting/events.mjs.map +1 -1
  631. package/resources/porting/index.d.mts +1 -1
  632. package/resources/porting/index.d.mts.map +1 -1
  633. package/resources/porting/index.d.ts +1 -1
  634. package/resources/porting/index.d.ts.map +1 -1
  635. package/resources/porting/porting.d.mts +2 -2
  636. package/resources/porting/porting.d.mts.map +1 -1
  637. package/resources/porting/porting.d.ts +2 -2
  638. package/resources/porting/porting.d.ts.map +1 -1
  639. package/resources/porting/porting.mjs.map +1 -1
  640. package/resources/porting-orders/action-requirements.d.mts +6 -50
  641. package/resources/porting-orders/action-requirements.d.mts.map +1 -1
  642. package/resources/porting-orders/action-requirements.d.ts +6 -50
  643. package/resources/porting-orders/action-requirements.d.ts.map +1 -1
  644. package/resources/porting-orders/action-requirements.js +1 -1
  645. package/resources/porting-orders/action-requirements.js.map +1 -1
  646. package/resources/porting-orders/action-requirements.mjs +1 -1
  647. package/resources/porting-orders/action-requirements.mjs.map +1 -1
  648. package/resources/porting-orders/additional-documents.d.mts +8 -48
  649. package/resources/porting-orders/additional-documents.d.mts.map +1 -1
  650. package/resources/porting-orders/additional-documents.d.ts +8 -48
  651. package/resources/porting-orders/additional-documents.d.ts.map +1 -1
  652. package/resources/porting-orders/additional-documents.js +1 -1
  653. package/resources/porting-orders/additional-documents.js.map +1 -1
  654. package/resources/porting-orders/additional-documents.mjs +1 -1
  655. package/resources/porting-orders/additional-documents.mjs.map +1 -1
  656. package/resources/porting-orders/comments.d.mts +8 -30
  657. package/resources/porting-orders/comments.d.mts.map +1 -1
  658. package/resources/porting-orders/comments.d.ts +8 -30
  659. package/resources/porting-orders/comments.d.ts.map +1 -1
  660. package/resources/porting-orders/comments.js +1 -1
  661. package/resources/porting-orders/comments.js.map +1 -1
  662. package/resources/porting-orders/comments.mjs +1 -1
  663. package/resources/porting-orders/comments.mjs.map +1 -1
  664. package/resources/porting-orders/index.d.mts +5 -5
  665. package/resources/porting-orders/index.d.mts.map +1 -1
  666. package/resources/porting-orders/index.d.ts +5 -5
  667. package/resources/porting-orders/index.d.ts.map +1 -1
  668. package/resources/porting-orders/phone-number-blocks.d.mts +2 -1
  669. package/resources/porting-orders/phone-number-blocks.d.mts.map +1 -1
  670. package/resources/porting-orders/phone-number-blocks.d.ts +2 -1
  671. package/resources/porting-orders/phone-number-blocks.d.ts.map +1 -1
  672. package/resources/porting-orders/phone-number-blocks.js.map +1 -1
  673. package/resources/porting-orders/phone-number-blocks.mjs.map +1 -1
  674. package/resources/porting-orders/phone-number-configurations.d.mts +8 -36
  675. package/resources/porting-orders/phone-number-configurations.d.mts.map +1 -1
  676. package/resources/porting-orders/phone-number-configurations.d.ts +8 -36
  677. package/resources/porting-orders/phone-number-configurations.d.ts.map +1 -1
  678. package/resources/porting-orders/phone-number-configurations.js +1 -1
  679. package/resources/porting-orders/phone-number-configurations.js.map +1 -1
  680. package/resources/porting-orders/phone-number-configurations.mjs +1 -1
  681. package/resources/porting-orders/phone-number-configurations.mjs.map +1 -1
  682. package/resources/porting-orders/porting-orders.d.mts +13 -53
  683. package/resources/porting-orders/porting-orders.d.mts.map +1 -1
  684. package/resources/porting-orders/porting-orders.d.ts +13 -53
  685. package/resources/porting-orders/porting-orders.d.ts.map +1 -1
  686. package/resources/porting-orders/porting-orders.js.map +1 -1
  687. package/resources/porting-orders/porting-orders.mjs.map +1 -1
  688. package/resources/porting-orders/verification-codes.d.mts +6 -38
  689. package/resources/porting-orders/verification-codes.d.mts.map +1 -1
  690. package/resources/porting-orders/verification-codes.d.ts +6 -38
  691. package/resources/porting-orders/verification-codes.d.ts.map +1 -1
  692. package/resources/porting-orders/verification-codes.js +1 -1
  693. package/resources/porting-orders/verification-codes.js.map +1 -1
  694. package/resources/porting-orders/verification-codes.mjs +1 -1
  695. package/resources/porting-orders/verification-codes.mjs.map +1 -1
  696. package/resources/porting-phone-numbers.d.mts +9 -5
  697. package/resources/porting-phone-numbers.d.mts.map +1 -1
  698. package/resources/porting-phone-numbers.d.ts +9 -5
  699. package/resources/porting-phone-numbers.d.ts.map +1 -1
  700. package/resources/porting-phone-numbers.js +4 -1
  701. package/resources/porting-phone-numbers.js.map +1 -1
  702. package/resources/porting-phone-numbers.mjs +4 -1
  703. package/resources/porting-phone-numbers.mjs.map +1 -1
  704. package/resources/portouts/events.d.mts +6 -6
  705. package/resources/portouts/events.d.mts.map +1 -1
  706. package/resources/portouts/events.d.ts +6 -6
  707. package/resources/portouts/events.d.ts.map +1 -1
  708. package/resources/portouts/events.js +1 -1
  709. package/resources/portouts/events.js.map +1 -1
  710. package/resources/portouts/events.mjs +1 -1
  711. package/resources/portouts/events.mjs.map +1 -1
  712. package/resources/portouts/index.d.mts +1 -1
  713. package/resources/portouts/index.d.mts.map +1 -1
  714. package/resources/portouts/index.d.ts +1 -1
  715. package/resources/portouts/index.d.ts.map +1 -1
  716. package/resources/portouts/portouts.d.mts +2 -2
  717. package/resources/portouts/portouts.d.mts.map +1 -1
  718. package/resources/portouts/portouts.d.ts +2 -2
  719. package/resources/portouts/portouts.d.ts.map +1 -1
  720. package/resources/portouts/portouts.mjs.map +1 -1
  721. package/resources/pronunciation-dicts.d.mts +17 -29
  722. package/resources/pronunciation-dicts.d.mts.map +1 -1
  723. package/resources/pronunciation-dicts.d.ts +17 -29
  724. package/resources/pronunciation-dicts.d.ts.map +1 -1
  725. package/resources/pronunciation-dicts.js +3 -3
  726. package/resources/pronunciation-dicts.mjs +3 -3
  727. package/resources/public-internet-gateways.d.mts +19 -44
  728. package/resources/public-internet-gateways.d.mts.map +1 -1
  729. package/resources/public-internet-gateways.d.ts +19 -44
  730. package/resources/public-internet-gateways.d.ts.map +1 -1
  731. package/resources/public-internet-gateways.js +3 -32
  732. package/resources/public-internet-gateways.js.map +1 -1
  733. package/resources/public-internet-gateways.mjs +3 -32
  734. package/resources/public-internet-gateways.mjs.map +1 -1
  735. package/resources/queues/calls.d.mts +8 -59
  736. package/resources/queues/calls.d.mts.map +1 -1
  737. package/resources/queues/calls.d.ts +8 -59
  738. package/resources/queues/calls.d.ts.map +1 -1
  739. package/resources/queues/calls.js +5 -2
  740. package/resources/queues/calls.js.map +1 -1
  741. package/resources/queues/calls.mjs +5 -2
  742. package/resources/queues/calls.mjs.map +1 -1
  743. package/resources/queues/index.d.mts +1 -1
  744. package/resources/queues/index.d.mts.map +1 -1
  745. package/resources/queues/index.d.ts +1 -1
  746. package/resources/queues/index.d.ts.map +1 -1
  747. package/resources/queues/queues.d.mts +2 -2
  748. package/resources/queues/queues.d.mts.map +1 -1
  749. package/resources/queues/queues.d.ts +2 -2
  750. package/resources/queues/queues.d.ts.map +1 -1
  751. package/resources/queues/queues.mjs.map +1 -1
  752. package/resources/recordings/index.d.mts +1 -1
  753. package/resources/recordings/index.d.mts.map +1 -1
  754. package/resources/recordings/index.d.ts +1 -1
  755. package/resources/recordings/index.d.ts.map +1 -1
  756. package/resources/recordings/index.js.map +1 -1
  757. package/resources/recordings/index.mjs.map +1 -1
  758. package/resources/recordings/recordings.d.mts +8 -11
  759. package/resources/recordings/recordings.d.mts.map +1 -1
  760. package/resources/recordings/recordings.d.ts +8 -11
  761. package/resources/recordings/recordings.d.ts.map +1 -1
  762. package/resources/recordings/recordings.js +2 -2
  763. package/resources/recordings/recordings.js.map +1 -1
  764. package/resources/recordings/recordings.mjs +2 -2
  765. package/resources/recordings/recordings.mjs.map +1 -1
  766. package/resources/reports/cdr-usage-reports.d.mts +15 -0
  767. package/resources/reports/cdr-usage-reports.d.mts.map +1 -1
  768. package/resources/reports/cdr-usage-reports.d.ts +15 -0
  769. package/resources/reports/cdr-usage-reports.d.ts.map +1 -1
  770. package/resources/reports/mdr-usage-reports.d.mts +12 -0
  771. package/resources/reports/mdr-usage-reports.d.mts.map +1 -1
  772. package/resources/reports/mdr-usage-reports.d.ts +12 -0
  773. package/resources/reports/mdr-usage-reports.d.ts.map +1 -1
  774. package/resources/reports/reports.d.mts +16 -17
  775. package/resources/reports/reports.d.mts.map +1 -1
  776. package/resources/reports/reports.d.ts +16 -17
  777. package/resources/reports/reports.d.ts.map +1 -1
  778. package/resources/reports/reports.js.map +1 -1
  779. package/resources/reports/reports.mjs.map +1 -1
  780. package/resources/reputation/index.d.mts +1 -1
  781. package/resources/reputation/index.d.mts.map +1 -1
  782. package/resources/reputation/index.d.ts +1 -1
  783. package/resources/reputation/index.d.ts.map +1 -1
  784. package/resources/reputation/index.js.map +1 -1
  785. package/resources/reputation/index.mjs +1 -1
  786. package/resources/reputation/index.mjs.map +1 -1
  787. package/resources/reputation/numbers.d.mts +26 -25
  788. package/resources/reputation/numbers.d.mts.map +1 -1
  789. package/resources/reputation/numbers.d.ts +26 -25
  790. package/resources/reputation/numbers.d.ts.map +1 -1
  791. package/resources/reputation/numbers.js +8 -12
  792. package/resources/reputation/numbers.js.map +1 -1
  793. package/resources/reputation/numbers.mjs +8 -12
  794. package/resources/reputation/numbers.mjs.map +1 -1
  795. package/resources/reputation/reputation.d.mts +2 -2
  796. package/resources/reputation/reputation.d.mts.map +1 -1
  797. package/resources/reputation/reputation.d.ts +2 -2
  798. package/resources/reputation/reputation.d.ts.map +1 -1
  799. package/resources/reputation/reputation.js.map +1 -1
  800. package/resources/reputation/reputation.mjs.map +1 -1
  801. package/resources/requirements.d.mts +8 -50
  802. package/resources/requirements.d.mts.map +1 -1
  803. package/resources/requirements.d.ts +8 -50
  804. package/resources/requirements.d.ts.map +1 -1
  805. package/resources/requirements.js +1 -1
  806. package/resources/requirements.js.map +1 -1
  807. package/resources/requirements.mjs +1 -1
  808. package/resources/requirements.mjs.map +1 -1
  809. package/resources/room-recordings.d.mts +7 -72
  810. package/resources/room-recordings.d.mts.map +1 -1
  811. package/resources/room-recordings.d.ts +7 -72
  812. package/resources/room-recordings.d.ts.map +1 -1
  813. package/resources/room-recordings.js.map +1 -1
  814. package/resources/room-recordings.mjs.map +1 -1
  815. package/resources/shared.d.mts +33 -65
  816. package/resources/shared.d.mts.map +1 -1
  817. package/resources/shared.d.ts +33 -65
  818. package/resources/shared.d.ts.map +1 -1
  819. package/resources/sip-registration-status.d.mts +37 -9
  820. package/resources/sip-registration-status.d.mts.map +1 -1
  821. package/resources/sip-registration-status.d.ts +37 -9
  822. package/resources/sip-registration-status.d.ts.map +1 -1
  823. package/resources/siprec-connectors.d.mts +10 -74
  824. package/resources/siprec-connectors.d.mts.map +1 -1
  825. package/resources/siprec-connectors.d.ts +10 -74
  826. package/resources/siprec-connectors.d.ts.map +1 -1
  827. package/resources/siprec-connectors.js +3 -3
  828. package/resources/siprec-connectors.js.map +1 -1
  829. package/resources/siprec-connectors.mjs +3 -3
  830. package/resources/siprec-connectors.mjs.map +1 -1
  831. package/resources/speech-to-text/index.d.mts +1 -1
  832. package/resources/speech-to-text/index.d.mts.map +1 -1
  833. package/resources/speech-to-text/index.d.ts +1 -1
  834. package/resources/speech-to-text/index.d.ts.map +1 -1
  835. package/resources/speech-to-text/index.js.map +1 -1
  836. package/resources/speech-to-text/index.mjs.map +1 -1
  837. package/resources/speech-to-text/speech-to-text.d.mts +112 -18
  838. package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
  839. package/resources/speech-to-text/speech-to-text.d.ts +112 -18
  840. package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
  841. package/resources/speech-to-text/speech-to-text.js +34 -7
  842. package/resources/speech-to-text/speech-to-text.js.map +1 -1
  843. package/resources/speech-to-text/speech-to-text.mjs +34 -7
  844. package/resources/speech-to-text/speech-to-text.mjs.map +1 -1
  845. package/resources/terms-of-service/agreements.d.mts +71 -0
  846. package/resources/terms-of-service/agreements.d.mts.map +1 -0
  847. package/resources/terms-of-service/agreements.d.ts +71 -0
  848. package/resources/terms-of-service/agreements.d.ts.map +1 -0
  849. package/resources/terms-of-service/agreements.js +39 -0
  850. package/resources/terms-of-service/agreements.js.map +1 -0
  851. package/resources/terms-of-service/agreements.mjs +35 -0
  852. package/resources/terms-of-service/agreements.mjs.map +1 -0
  853. package/resources/terms-of-service/branded-calling.d.mts +20 -0
  854. package/resources/terms-of-service/branded-calling.d.mts.map +1 -0
  855. package/resources/terms-of-service/branded-calling.d.ts +20 -0
  856. package/resources/terms-of-service/branded-calling.d.ts.map +1 -0
  857. package/resources/terms-of-service/branded-calling.js +24 -0
  858. package/resources/terms-of-service/branded-calling.js.map +1 -0
  859. package/resources/terms-of-service/branded-calling.mjs +20 -0
  860. package/resources/terms-of-service/branded-calling.mjs.map +1 -0
  861. package/resources/terms-of-service/index.d.mts +3 -1
  862. package/resources/terms-of-service/index.d.mts.map +1 -1
  863. package/resources/terms-of-service/index.d.ts +3 -1
  864. package/resources/terms-of-service/index.d.ts.map +1 -1
  865. package/resources/terms-of-service/index.js +5 -1
  866. package/resources/terms-of-service/index.js.map +1 -1
  867. package/resources/terms-of-service/index.mjs +3 -1
  868. package/resources/terms-of-service/index.mjs.map +1 -1
  869. package/resources/terms-of-service/number-reputation.d.mts +6 -6
  870. package/resources/terms-of-service/number-reputation.d.mts.map +1 -1
  871. package/resources/terms-of-service/number-reputation.d.ts +6 -6
  872. package/resources/terms-of-service/number-reputation.d.ts.map +1 -1
  873. package/resources/terms-of-service/number-reputation.js +5 -10
  874. package/resources/terms-of-service/number-reputation.js.map +1 -1
  875. package/resources/terms-of-service/number-reputation.mjs +5 -10
  876. package/resources/terms-of-service/number-reputation.mjs.map +1 -1
  877. package/resources/terms-of-service/terms-of-service.d.mts +94 -0
  878. package/resources/terms-of-service/terms-of-service.d.mts.map +1 -1
  879. package/resources/terms-of-service/terms-of-service.d.ts +94 -0
  880. package/resources/terms-of-service/terms-of-service.d.ts.map +1 -1
  881. package/resources/terms-of-service/terms-of-service.js +30 -0
  882. package/resources/terms-of-service/terms-of-service.js.map +1 -1
  883. package/resources/terms-of-service/terms-of-service.mjs +30 -0
  884. package/resources/terms-of-service/terms-of-service.mjs.map +1 -1
  885. package/resources/texml/accounts/accounts.d.mts +14 -84
  886. package/resources/texml/accounts/accounts.d.mts.map +1 -1
  887. package/resources/texml/accounts/accounts.d.ts +14 -84
  888. package/resources/texml/accounts/accounts.d.ts.map +1 -1
  889. package/resources/texml/accounts/accounts.js +1 -1
  890. package/resources/texml/accounts/accounts.js.map +1 -1
  891. package/resources/texml/accounts/accounts.mjs +1 -1
  892. package/resources/texml/accounts/accounts.mjs.map +1 -1
  893. package/resources/texml/accounts/calls/calls.d.mts +511 -233
  894. package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
  895. package/resources/texml/accounts/calls/calls.d.ts +511 -233
  896. package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
  897. package/resources/texml/accounts/calls/calls.js +15 -18
  898. package/resources/texml/accounts/calls/calls.js.map +1 -1
  899. package/resources/texml/accounts/calls/calls.mjs +15 -18
  900. package/resources/texml/accounts/calls/calls.mjs.map +1 -1
  901. package/resources/texml/accounts/calls/index.d.mts +3 -3
  902. package/resources/texml/accounts/calls/index.d.mts.map +1 -1
  903. package/resources/texml/accounts/calls/index.d.ts +3 -3
  904. package/resources/texml/accounts/calls/index.d.ts.map +1 -1
  905. package/resources/texml/accounts/calls/index.js.map +1 -1
  906. package/resources/texml/accounts/calls/index.mjs +1 -1
  907. package/resources/texml/accounts/calls/index.mjs.map +1 -1
  908. package/resources/texml/accounts/calls/recordings-json.d.mts +14 -9
  909. package/resources/texml/accounts/calls/recordings-json.d.mts.map +1 -1
  910. package/resources/texml/accounts/calls/recordings-json.d.ts +14 -9
  911. package/resources/texml/accounts/calls/recordings-json.d.ts.map +1 -1
  912. package/resources/texml/accounts/calls/recordings-json.js +2 -2
  913. package/resources/texml/accounts/calls/recordings-json.mjs +2 -2
  914. package/resources/texml/accounts/calls/recordings.d.mts +4 -41
  915. package/resources/texml/accounts/calls/recordings.d.mts.map +1 -1
  916. package/resources/texml/accounts/calls/recordings.d.ts +4 -41
  917. package/resources/texml/accounts/calls/recordings.d.ts.map +1 -1
  918. package/resources/texml/accounts/calls/recordings.js +1 -1
  919. package/resources/texml/accounts/calls/recordings.js.map +1 -1
  920. package/resources/texml/accounts/calls/recordings.mjs +1 -1
  921. package/resources/texml/accounts/calls/recordings.mjs.map +1 -1
  922. package/resources/texml/accounts/conferences/conferences.d.mts +12 -155
  923. package/resources/texml/accounts/conferences/conferences.d.mts.map +1 -1
  924. package/resources/texml/accounts/conferences/conferences.d.ts +12 -155
  925. package/resources/texml/accounts/conferences/conferences.d.ts.map +1 -1
  926. package/resources/texml/accounts/conferences/conferences.js +3 -3
  927. package/resources/texml/accounts/conferences/conferences.js.map +1 -1
  928. package/resources/texml/accounts/conferences/conferences.mjs +3 -3
  929. package/resources/texml/accounts/conferences/conferences.mjs.map +1 -1
  930. package/resources/texml/accounts/conferences/index.d.mts +2 -2
  931. package/resources/texml/accounts/conferences/index.d.mts.map +1 -1
  932. package/resources/texml/accounts/conferences/index.d.ts +2 -2
  933. package/resources/texml/accounts/conferences/index.d.ts.map +1 -1
  934. package/resources/texml/accounts/conferences/index.js.map +1 -1
  935. package/resources/texml/accounts/conferences/index.mjs.map +1 -1
  936. package/resources/texml/accounts/conferences/participants.d.mts +7 -133
  937. package/resources/texml/accounts/conferences/participants.d.mts.map +1 -1
  938. package/resources/texml/accounts/conferences/participants.d.ts +7 -133
  939. package/resources/texml/accounts/conferences/participants.d.ts.map +1 -1
  940. package/resources/texml/accounts/conferences/participants.js +2 -2
  941. package/resources/texml/accounts/conferences/participants.mjs +2 -2
  942. package/resources/texml/accounts/index.d.mts +4 -4
  943. package/resources/texml/accounts/index.d.mts.map +1 -1
  944. package/resources/texml/accounts/index.d.ts +4 -4
  945. package/resources/texml/accounts/index.d.ts.map +1 -1
  946. package/resources/texml/accounts/index.js.map +1 -1
  947. package/resources/texml/accounts/index.mjs.map +1 -1
  948. package/resources/texml/accounts/queues.d.mts +18 -139
  949. package/resources/texml/accounts/queues.d.mts.map +1 -1
  950. package/resources/texml/accounts/queues.d.ts +18 -139
  951. package/resources/texml/accounts/queues.d.ts.map +1 -1
  952. package/resources/texml/accounts/queues.js +11 -12
  953. package/resources/texml/accounts/queues.js.map +1 -1
  954. package/resources/texml/accounts/queues.mjs +11 -12
  955. package/resources/texml/accounts/queues.mjs.map +1 -1
  956. package/resources/texml/accounts/transcriptions/index.d.mts +1 -1
  957. package/resources/texml/accounts/transcriptions/index.d.mts.map +1 -1
  958. package/resources/texml/accounts/transcriptions/index.d.ts +1 -1
  959. package/resources/texml/accounts/transcriptions/index.d.ts.map +1 -1
  960. package/resources/texml/accounts/transcriptions/json.d.mts +4 -4
  961. package/resources/texml/accounts/transcriptions/json.d.mts.map +1 -1
  962. package/resources/texml/accounts/transcriptions/json.d.ts +4 -4
  963. package/resources/texml/accounts/transcriptions/json.d.ts.map +1 -1
  964. package/resources/texml/accounts/transcriptions/json.js +1 -1
  965. package/resources/texml/accounts/transcriptions/json.mjs +1 -1
  966. package/resources/texml/accounts/transcriptions/transcriptions.d.mts +2 -2
  967. package/resources/texml/accounts/transcriptions/transcriptions.d.mts.map +1 -1
  968. package/resources/texml/accounts/transcriptions/transcriptions.d.ts +2 -2
  969. package/resources/texml/accounts/transcriptions/transcriptions.d.ts.map +1 -1
  970. package/resources/texml/index.d.mts +1 -1
  971. package/resources/texml/index.d.mts.map +1 -1
  972. package/resources/texml/index.d.ts +1 -1
  973. package/resources/texml/index.d.ts.map +1 -1
  974. package/resources/texml/index.js.map +1 -1
  975. package/resources/texml/index.mjs.map +1 -1
  976. package/resources/texml/texml.d.mts +2 -2
  977. package/resources/texml/texml.d.mts.map +1 -1
  978. package/resources/texml/texml.d.ts +2 -2
  979. package/resources/texml/texml.d.ts.map +1 -1
  980. package/resources/texml/texml.js.map +1 -1
  981. package/resources/texml/texml.mjs.map +1 -1
  982. package/resources/text-to-speech/index.d.mts +2 -2
  983. package/resources/text-to-speech/index.d.mts.map +1 -1
  984. package/resources/text-to-speech/index.d.ts +2 -2
  985. package/resources/text-to-speech/index.d.ts.map +1 -1
  986. package/resources/text-to-speech/index.js +1 -3
  987. package/resources/text-to-speech/index.js.map +1 -1
  988. package/resources/text-to-speech/index.mjs +0 -1
  989. package/resources/text-to-speech/index.mjs.map +1 -1
  990. package/resources/text-to-speech/internal-base.d.mts +70 -1
  991. package/resources/text-to-speech/internal-base.d.mts.map +1 -1
  992. package/resources/text-to-speech/internal-base.d.ts +70 -1
  993. package/resources/text-to-speech/internal-base.d.ts.map +1 -1
  994. package/resources/text-to-speech/internal-base.js +44 -5
  995. package/resources/text-to-speech/internal-base.js.map +1 -1
  996. package/resources/text-to-speech/internal-base.mjs +40 -1
  997. package/resources/text-to-speech/internal-base.mjs.map +1 -1
  998. package/resources/text-to-speech/text-to-speech.d.mts +34 -80
  999. package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
  1000. package/resources/text-to-speech/text-to-speech.d.ts +34 -80
  1001. package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
  1002. package/resources/text-to-speech/text-to-speech.js +12 -25
  1003. package/resources/text-to-speech/text-to-speech.js.map +1 -1
  1004. package/resources/text-to-speech/text-to-speech.mjs +12 -25
  1005. package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
  1006. package/resources/text-to-speech/ws-base.d.mts +105 -1
  1007. package/resources/text-to-speech/ws-base.d.mts.map +1 -1
  1008. package/resources/text-to-speech/ws-base.d.ts +105 -1
  1009. package/resources/text-to-speech/ws-base.d.ts.map +1 -1
  1010. package/resources/text-to-speech/ws-base.js +471 -2
  1011. package/resources/text-to-speech/ws-base.js.map +1 -1
  1012. package/resources/text-to-speech/ws-base.mjs +470 -1
  1013. package/resources/text-to-speech/ws-base.mjs.map +1 -1
  1014. package/resources/text-to-speech/ws.d.mts +12 -2
  1015. package/resources/text-to-speech/ws.d.mts.map +1 -1
  1016. package/resources/text-to-speech/ws.d.ts +12 -2
  1017. package/resources/text-to-speech/ws.d.ts.map +1 -1
  1018. package/resources/text-to-speech/ws.js +26 -2
  1019. package/resources/text-to-speech/ws.js.map +1 -1
  1020. package/resources/text-to-speech/ws.mjs +24 -1
  1021. package/resources/text-to-speech/ws.mjs.map +1 -1
  1022. package/resources/uac-connections/index.d.mts +1 -1
  1023. package/resources/uac-connections/index.d.mts.map +1 -1
  1024. package/resources/uac-connections/index.d.ts +1 -1
  1025. package/resources/uac-connections/index.d.ts.map +1 -1
  1026. package/resources/uac-connections/index.js.map +1 -1
  1027. package/resources/uac-connections/index.mjs.map +1 -1
  1028. package/resources/uac-connections/uac-connections.d.mts +72 -142
  1029. package/resources/uac-connections/uac-connections.d.mts.map +1 -1
  1030. package/resources/uac-connections/uac-connections.d.ts +72 -142
  1031. package/resources/uac-connections/uac-connections.d.ts.map +1 -1
  1032. package/resources/uac-connections/uac-connections.js.map +1 -1
  1033. package/resources/uac-connections/uac-connections.mjs.map +1 -1
  1034. package/resources/verifications/index.d.mts +1 -1
  1035. package/resources/verifications/index.d.mts.map +1 -1
  1036. package/resources/verifications/index.d.ts +1 -1
  1037. package/resources/verifications/index.d.ts.map +1 -1
  1038. package/resources/verifications/index.js.map +1 -1
  1039. package/resources/verifications/index.mjs.map +1 -1
  1040. package/resources/verifications/verifications.d.mts +22 -1
  1041. package/resources/verifications/verifications.d.mts.map +1 -1
  1042. package/resources/verifications/verifications.d.ts +22 -1
  1043. package/resources/verifications/verifications.d.ts.map +1 -1
  1044. package/resources/verifications/verifications.js.map +1 -1
  1045. package/resources/verifications/verifications.mjs.map +1 -1
  1046. package/resources/virtual-cross-connects.d.mts +143 -1
  1047. package/resources/virtual-cross-connects.d.mts.map +1 -1
  1048. package/resources/virtual-cross-connects.d.ts +143 -1
  1049. package/resources/virtual-cross-connects.d.ts.map +1 -1
  1050. package/resources/virtual-cross-connects.js.map +1 -1
  1051. package/resources/virtual-cross-connects.mjs.map +1 -1
  1052. package/resources/voice-clones.d.mts +34 -30
  1053. package/resources/voice-clones.d.mts.map +1 -1
  1054. package/resources/voice-clones.d.ts +34 -30
  1055. package/resources/voice-clones.d.ts.map +1 -1
  1056. package/resources/voice-clones.js +19 -18
  1057. package/resources/voice-clones.js.map +1 -1
  1058. package/resources/voice-clones.mjs +19 -18
  1059. package/resources/voice-clones.mjs.map +1 -1
  1060. package/resources/voice-designs.d.mts +16 -60
  1061. package/resources/voice-designs.d.mts.map +1 -1
  1062. package/resources/voice-designs.d.ts +16 -60
  1063. package/resources/voice-designs.d.ts.map +1 -1
  1064. package/resources/voice-designs.js +8 -8
  1065. package/resources/voice-designs.js.map +1 -1
  1066. package/resources/voice-designs.mjs +8 -8
  1067. package/resources/voice-designs.mjs.map +1 -1
  1068. package/resources/voice-sdk-call-reports.d.mts +35 -186
  1069. package/resources/voice-sdk-call-reports.d.mts.map +1 -1
  1070. package/resources/voice-sdk-call-reports.d.ts +35 -186
  1071. package/resources/voice-sdk-call-reports.d.ts.map +1 -1
  1072. package/resources/voice-sdk-call-reports.js +4 -1
  1073. package/resources/voice-sdk-call-reports.js.map +1 -1
  1074. package/resources/voice-sdk-call-reports.mjs +4 -1
  1075. package/resources/voice-sdk-call-reports.mjs.map +1 -1
  1076. package/resources/webhook-deliveries.d.mts +12 -79
  1077. package/resources/webhook-deliveries.d.mts.map +1 -1
  1078. package/resources/webhook-deliveries.d.ts +12 -79
  1079. package/resources/webhook-deliveries.d.ts.map +1 -1
  1080. package/resources/webhook-deliveries.js +4 -1
  1081. package/resources/webhook-deliveries.js.map +1 -1
  1082. package/resources/webhook-deliveries.mjs +4 -1
  1083. package/resources/webhook-deliveries.mjs.map +1 -1
  1084. package/resources/webhooks.d.mts +5 -3
  1085. package/resources/webhooks.d.mts.map +1 -1
  1086. package/resources/webhooks.d.ts +5 -3
  1087. package/resources/webhooks.d.ts.map +1 -1
  1088. package/resources/webhooks.js +11 -4
  1089. package/resources/webhooks.js.map +1 -1
  1090. package/resources/webhooks.mjs +11 -4
  1091. package/resources/webhooks.mjs.map +1 -1
  1092. package/resources/whatsapp/index.d.mts +1 -1
  1093. package/resources/whatsapp/index.d.mts.map +1 -1
  1094. package/resources/whatsapp/index.d.ts +1 -1
  1095. package/resources/whatsapp/index.d.ts.map +1 -1
  1096. package/resources/whatsapp/index.js.map +1 -1
  1097. package/resources/whatsapp/index.mjs.map +1 -1
  1098. package/resources/whatsapp/templates.d.mts +149 -151
  1099. package/resources/whatsapp/templates.d.mts.map +1 -1
  1100. package/resources/whatsapp/templates.d.ts +149 -151
  1101. package/resources/whatsapp/templates.d.ts.map +1 -1
  1102. package/resources/whatsapp/whatsapp.d.mts +2 -2
  1103. package/resources/whatsapp/whatsapp.d.mts.map +1 -1
  1104. package/resources/whatsapp/whatsapp.d.ts +2 -2
  1105. package/resources/whatsapp/whatsapp.d.ts.map +1 -1
  1106. package/resources/whatsapp/whatsapp.js.map +1 -1
  1107. package/resources/whatsapp/whatsapp.mjs +1 -1
  1108. package/resources/whatsapp/whatsapp.mjs.map +1 -1
  1109. package/resources/whatsapp-message-templates.d.mts +2 -162
  1110. package/resources/whatsapp-message-templates.d.mts.map +1 -1
  1111. package/resources/whatsapp-message-templates.d.ts +2 -162
  1112. package/resources/whatsapp-message-templates.d.ts.map +1 -1
  1113. package/resources/whatsapp-message-templates.js.map +1 -1
  1114. package/resources/whatsapp-message-templates.mjs.map +1 -1
  1115. package/resources/wireguard-interfaces.d.mts +24 -50
  1116. package/resources/wireguard-interfaces.d.mts.map +1 -1
  1117. package/resources/wireguard-interfaces.d.ts +24 -50
  1118. package/resources/wireguard-interfaces.d.ts.map +1 -1
  1119. package/resources/wireguard-interfaces.js +3 -34
  1120. package/resources/wireguard-interfaces.js.map +1 -1
  1121. package/resources/wireguard-interfaces.mjs +3 -34
  1122. package/resources/wireguard-interfaces.mjs.map +1 -1
  1123. package/resources/wireguard-peers.d.mts +30 -109
  1124. package/resources/wireguard-peers.d.mts.map +1 -1
  1125. package/resources/wireguard-peers.d.ts +30 -109
  1126. package/resources/wireguard-peers.d.ts.map +1 -1
  1127. package/resources/wireguard-peers.js +5 -5
  1128. package/resources/wireguard-peers.js.map +1 -1
  1129. package/resources/wireguard-peers.mjs +5 -5
  1130. package/resources/wireguard-peers.mjs.map +1 -1
  1131. package/src/client.ts +219 -131
  1132. package/src/index.ts +0 -1
  1133. package/src/resources/advanced-orders.ts +9 -94
  1134. package/src/resources/ai/ai.ts +342 -57
  1135. package/src/resources/ai/assistants/assistants.ts +797 -17
  1136. package/src/resources/ai/assistants/index.ts +13 -8
  1137. package/src/resources/ai/assistants/instructions.ts +74 -0
  1138. package/src/resources/ai/assistants/scheduled-events.ts +44 -0
  1139. package/src/resources/ai/assistants/tags.ts +14 -20
  1140. package/src/resources/ai/assistants/tests/runs.ts +3 -0
  1141. package/src/resources/ai/assistants/tools.ts +7 -1
  1142. package/src/resources/ai/assistants/versions.ts +27 -3
  1143. package/src/resources/ai/chat.ts +206 -0
  1144. package/src/resources/ai/clusters.ts +3 -0
  1145. package/src/resources/ai/index.ts +25 -27
  1146. package/src/resources/ai/integrations/index.ts +1 -1
  1147. package/src/resources/ai/integrations/integrations.ts +4 -25
  1148. package/src/resources/ai/mcp-servers.ts +19 -70
  1149. package/src/resources/ai/missions/index.ts +6 -9
  1150. package/src/resources/ai/missions/knowledge-bases.ts +9 -0
  1151. package/src/resources/ai/missions/mcp-servers.ts +9 -0
  1152. package/src/resources/ai/missions/missions.ts +34 -35
  1153. package/src/resources/ai/missions/runs/events.ts +38 -42
  1154. package/src/resources/ai/missions/runs/index.ts +9 -12
  1155. package/src/resources/ai/missions/runs/plan.ts +64 -72
  1156. package/src/resources/ai/missions/runs/runs.ts +77 -67
  1157. package/src/resources/ai/missions/runs/telnyx-agents.ts +10 -1
  1158. package/src/resources/ai/missions/tools.ts +9 -0
  1159. package/src/resources/ai/openai/index.ts +1 -6
  1160. package/src/resources/ai/openai/openai.ts +6 -13
  1161. package/src/resources/ai/tools.ts +23 -58
  1162. package/src/resources/bulk-sim-card-actions.ts +17 -57
  1163. package/src/resources/call-reasons.ts +149 -0
  1164. package/src/resources/calls/actions.ts +234 -512
  1165. package/src/resources/calls/calls.ts +171 -154
  1166. package/src/resources/calls/index.ts +9 -0
  1167. package/src/resources/channel-zones.ts +7 -34
  1168. package/src/resources/conferences/actions.ts +25 -16
  1169. package/src/resources/conferences/conferences.ts +15 -17
  1170. package/src/resources/conferences/index.ts +2 -2
  1171. package/src/resources/connections.ts +10 -77
  1172. package/src/resources/credential-connections/credential-connections.ts +12 -3
  1173. package/src/resources/credential-connections/index.ts +1 -0
  1174. package/src/resources/custom-storage-credentials.ts +22 -57
  1175. package/src/resources/dialogflow-connections.ts +10 -74
  1176. package/src/resources/dir/comments.ts +148 -0
  1177. package/src/resources/dir/dir.ts +692 -0
  1178. package/src/resources/dir/index.ts +46 -0
  1179. package/src/resources/dir/phone-number-batches.ts +170 -0
  1180. package/src/resources/dir/phone-numbers.ts +266 -0
  1181. package/src/resources/dir.ts +3 -0
  1182. package/src/resources/document-links.ts +2 -16
  1183. package/src/resources/documents.ts +25 -17
  1184. package/src/resources/enterprises/dir.ts +220 -0
  1185. package/src/resources/enterprises/enterprises.ts +351 -255
  1186. package/src/resources/enterprises/index.ts +5 -6
  1187. package/src/resources/enterprises/reputation/index.ts +20 -5
  1188. package/src/resources/enterprises/reputation/loa.ts +147 -0
  1189. package/src/resources/enterprises/reputation/numbers.ts +157 -93
  1190. package/src/resources/enterprises/reputation/remediation.ts +273 -0
  1191. package/src/resources/enterprises/reputation/reputation.ts +130 -97
  1192. package/src/resources/external-connections/external-connections.ts +8 -8
  1193. package/src/resources/external-connections/index.ts +4 -4
  1194. package/src/resources/external-connections/log-messages.ts +14 -55
  1195. package/src/resources/external-connections/releases.ts +23 -52
  1196. package/src/resources/faxes/faxes.ts +10 -2
  1197. package/src/resources/faxes/index.ts +1 -0
  1198. package/src/resources/fqdn-connections.ts +3 -3
  1199. package/src/resources/global-ip-health-checks.ts +18 -77
  1200. package/src/resources/global-ips.ts +15 -90
  1201. package/src/resources/index.ts +100 -62
  1202. package/src/resources/infringement-claims.ts +207 -0
  1203. package/src/resources/ip-connections.ts +3 -3
  1204. package/src/resources/legacy/reporting/usage-reports/usage-reports.ts +6 -0
  1205. package/src/resources/messages/index.ts +0 -1
  1206. package/src/resources/messages/messages.ts +2 -29
  1207. package/src/resources/messaging-10dlc/brand/brand.ts +69 -108
  1208. package/src/resources/messaging-10dlc/brand/external-vetting.ts +9 -94
  1209. package/src/resources/messaging-10dlc/brand/index.ts +3 -5
  1210. package/src/resources/messaging-10dlc/campaign/campaign.ts +3 -0
  1211. package/src/resources/messaging-10dlc/campaign/usecase.ts +3 -0
  1212. package/src/resources/messaging-10dlc/campaign-builder/brand.ts +3 -0
  1213. package/src/resources/messaging-10dlc/index.ts +1 -2
  1214. package/src/resources/messaging-10dlc/messaging-10dlc.ts +2 -4
  1215. package/src/resources/messaging-10dlc/phone-number-assignment-by-profile.ts +12 -0
  1216. package/src/resources/messaging-hosted-numbers.ts +26 -0
  1217. package/src/resources/messaging-profile-metrics.ts +7 -1
  1218. package/src/resources/messaging-profiles/autoresp-configs.ts +10 -1
  1219. package/src/resources/messaging-profiles/messaging-profiles.ts +7 -1
  1220. package/src/resources/messaging-tollfree/verification/requests.ts +14 -3
  1221. package/src/resources/mobile-phone-numbers/index.ts +2 -2
  1222. package/src/resources/mobile-phone-numbers/messaging.ts +16 -89
  1223. package/src/resources/mobile-phone-numbers/mobile-phone-numbers.ts +4 -4
  1224. package/src/resources/networks/default-gateway.ts +22 -61
  1225. package/src/resources/networks/index.ts +4 -3
  1226. package/src/resources/networks/networks.ts +31 -75
  1227. package/src/resources/porting/events.ts +15 -21
  1228. package/src/resources/porting/index.ts +2 -2
  1229. package/src/resources/porting/porting.ts +4 -4
  1230. package/src/resources/porting-orders/action-requirements.ts +8 -63
  1231. package/src/resources/porting-orders/additional-documents.ts +12 -61
  1232. package/src/resources/porting-orders/comments.ts +11 -39
  1233. package/src/resources/porting-orders/index.ts +10 -10
  1234. package/src/resources/porting-orders/phone-number-blocks.ts +2 -14
  1235. package/src/resources/porting-orders/phone-number-configurations.ts +12 -49
  1236. package/src/resources/porting-orders/porting-orders.ts +23 -111
  1237. package/src/resources/porting-orders/verification-codes.ts +8 -48
  1238. package/src/resources/porting-phone-numbers.ts +29 -25
  1239. package/src/resources/portouts/events.ts +12 -12
  1240. package/src/resources/portouts/index.ts +2 -2
  1241. package/src/resources/portouts/portouts.ts +4 -4
  1242. package/src/resources/pronunciation-dicts.ts +19 -33
  1243. package/src/resources/public-internet-gateways.ts +22 -45
  1244. package/src/resources/queues/calls.ts +14 -78
  1245. package/src/resources/queues/index.ts +2 -2
  1246. package/src/resources/queues/queues.ts +4 -4
  1247. package/src/resources/recordings/index.ts +1 -2
  1248. package/src/resources/recordings/recordings.ts +9 -14
  1249. package/src/resources/reports/cdr-usage-reports.ts +15 -0
  1250. package/src/resources/reports/mdr-usage-reports.ts +12 -0
  1251. package/src/resources/reports/reports.ts +16 -17
  1252. package/src/resources/reputation/index.ts +1 -6
  1253. package/src/resources/reputation/numbers.ts +29 -34
  1254. package/src/resources/reputation/reputation.ts +1 -2
  1255. package/src/resources/requirements.ts +11 -62
  1256. package/src/resources/room-recordings.ts +10 -92
  1257. package/src/resources/shared.ts +39 -77
  1258. package/src/resources/sip-registration-status.ts +43 -9
  1259. package/src/resources/siprec-connectors.ts +10 -95
  1260. package/src/resources/speech-to-text/index.ts +2 -0
  1261. package/src/resources/speech-to-text/speech-to-text.ts +156 -18
  1262. package/src/resources/terms-of-service/agreements.ts +102 -0
  1263. package/src/resources/terms-of-service/branded-calling.ts +24 -0
  1264. package/src/resources/terms-of-service/index.ts +16 -1
  1265. package/src/resources/terms-of-service/number-reputation.ts +7 -11
  1266. package/src/resources/terms-of-service/terms-of-service.ts +145 -0
  1267. package/src/resources/texml/accounts/accounts.ts +15 -125
  1268. package/src/resources/texml/accounts/calls/calls.ts +624 -284
  1269. package/src/resources/texml/accounts/calls/index.ts +6 -9
  1270. package/src/resources/texml/accounts/calls/recordings-json.ts +26 -17
  1271. package/src/resources/texml/accounts/calls/recordings.ts +4 -66
  1272. package/src/resources/texml/accounts/conferences/conferences.ts +12 -196
  1273. package/src/resources/texml/accounts/conferences/index.ts +2 -5
  1274. package/src/resources/texml/accounts/conferences/participants.ts +7 -164
  1275. package/src/resources/texml/accounts/index.ts +4 -11
  1276. package/src/resources/texml/accounts/queues.ts +20 -173
  1277. package/src/resources/texml/accounts/transcriptions/index.ts +1 -1
  1278. package/src/resources/texml/accounts/transcriptions/json.ts +4 -4
  1279. package/src/resources/texml/accounts/transcriptions/transcriptions.ts +2 -2
  1280. package/src/resources/texml/index.ts +0 -1
  1281. package/src/resources/texml/texml.ts +0 -2
  1282. package/src/resources/text-to-speech/index.ts +3 -4
  1283. package/src/resources/text-to-speech/internal-base.ts +111 -6
  1284. package/src/resources/text-to-speech/text-to-speech.ts +46 -117
  1285. package/src/resources/text-to-speech/ws-base.ts +613 -5
  1286. package/src/resources/text-to-speech/ws.ts +40 -2
  1287. package/src/resources/uac-connections/index.ts +1 -0
  1288. package/src/resources/uac-connections/uac-connections.ts +85 -167
  1289. package/src/resources/verifications/index.ts +1 -0
  1290. package/src/resources/verifications/verifications.ts +26 -0
  1291. package/src/resources/virtual-cross-connects.ts +173 -0
  1292. package/src/resources/voice-clones.ts +42 -41
  1293. package/src/resources/voice-designs.ts +19 -72
  1294. package/src/resources/voice-sdk-call-reports.ts +44 -210
  1295. package/src/resources/webhook-deliveries.ts +18 -98
  1296. package/src/resources/webhooks.ts +14 -5
  1297. package/src/resources/whatsapp/index.ts +5 -0
  1298. package/src/resources/whatsapp/templates.ts +171 -168
  1299. package/src/resources/whatsapp/whatsapp.ts +16 -1
  1300. package/src/resources/whatsapp-message-templates.ts +6 -195
  1301. package/src/resources/wireguard-interfaces.ts +32 -52
  1302. package/src/resources/wireguard-peers.ts +38 -126
  1303. package/src/version.ts +1 -1
  1304. package/version.d.mts +1 -1
  1305. package/version.d.mts.map +1 -1
  1306. package/version.d.ts +1 -1
  1307. package/version.d.ts.map +1 -1
  1308. package/version.js +1 -1
  1309. package/version.js.map +1 -1
  1310. package/version.mjs +1 -1
  1311. package/version.mjs.map +1 -1
@@ -2,15 +2,15 @@ import { APIResource } from "../../core/resource.js";
2
2
  import * as AudioAPI from "./audio.js";
3
3
  import { Audio, AudioTranscribeParams, AudioTranscribeResponse } from "./audio.js";
4
4
  import * as ChatAPI from "./chat.js";
5
- import { BucketIDs, Chat, ChatCreateCompletionParams, ChatCreateCompletionResponse } from "./chat.js";
5
+ import { BucketIDs, Chat, ChatCompletionRequest, ChatCreateCompletionParams, ChatCreateCompletionResponse } from "./chat.js";
6
6
  import * as ClustersAPI from "./clusters.js";
7
7
  import { ClusterComputeParams, ClusterComputeResponse, ClusterFetchGraphParams, ClusterListParams, ClusterListResponse, ClusterListResponsesDefaultFlatPagination, ClusterRetrieveParams, ClusterRetrieveResponse, Clusters, RecursiveCluster } from "./clusters.js";
8
8
  import * as McpServersAPI from "./mcp-servers.js";
9
- import { McpServerCreateParams, McpServerCreateResponse, McpServerListParams, McpServerListResponse, McpServerListResponsesDefaultFlatPaginationTopLevelArray, McpServerRetrieveResponse, McpServerUpdateParams, McpServerUpdateResponse, McpServers } from "./mcp-servers.js";
9
+ import { McpServer, McpServerCreateParams, McpServerListParams, McpServerUpdateParams, McpServers, McpServersDefaultFlatPaginationTopLevelArray } from "./mcp-servers.js";
10
10
  import * as ToolsAPI from "./tools.js";
11
- import { ToolCreateParams, ToolCreateResponse, ToolDeleteResponse, ToolListParams, ToolListResponse, ToolListResponsesDefaultFlatPagination, ToolRetrieveResponse, ToolUpdateParams, ToolUpdateResponse, Tools } from "./tools.js";
11
+ import { SharedToolResponse, SharedToolResponsesDefaultFlatPagination, ToolCreateParams, ToolDeleteResponse, ToolListParams, ToolUpdateParams, Tools } from "./tools.js";
12
12
  import * as AssistantsAPI from "./assistants/assistants.js";
13
- import { Assistant, AssistantChatParams, AssistantChatResponse, AssistantCreateParams, AssistantDeleteResponse, AssistantGetTexmlResponse, AssistantImportsParams, AssistantIntegration, AssistantMcpServer, AssistantRetrieveParams, AssistantSendSMSParams, AssistantSendSMSResponse, AssistantTool, AssistantUpdateParams, Assistants, AssistantsList, AudioVisualizerConfig, EnabledFeatures, ExternalLlm, ExternalLlmReq, FallbackConfig, FallbackConfigReq, HangupTool, HangupToolParams, ImportMetadata, InferenceEmbedding, InferenceEmbeddingInterruptionSettings, InferenceEmbeddingWebhookToolParams, InsightSettings, MessagingSettings, Observability, ObservabilityReq, PostConversationSettings, PostConversationSettingsReq, PrivacySettings, RetrievalTool, StartSpeakingPlan, TelephonySettings, TranscriptionEndpointingPlan, TranscriptionSettings, TranscriptionSettingsConfig, TransferTool, VoiceSettings, WebhookTool, WidgetSettings } from "./assistants/assistants.js";
13
+ import { ArithmeticExpression, Assistant, AssistantChatParams, AssistantChatResponse, AssistantCreateParams, AssistantDeleteResponse, AssistantGetTexmlResponse, AssistantImportsParams, AssistantIntegration, AssistantMcpServer, AssistantRetrieveParams, AssistantSendSMSParams, AssistantSendSMSResponse, AssistantTool, AssistantUpdateParams, Assistants, AssistantsList, AudioVisualizerConfig, AuthenticationMethod, BooleanOpExpression, ComparisonExpression, ConversationFlowReq, EnabledFeatures, Expression, ExternalLlm, ExternalLlmReq, FallbackConfig, FallbackConfigReq, FlowEdge, HangupTool, HangupToolParams, ImportMetadata, InferenceEmbedding, InferenceEmbeddingInterruptionSettings, InferenceEmbeddingWebhookToolParams, InsightSettings, MessagingSettings, NodePosition, Observability, ObservabilityReq, ObservabilityStatus, PostConversationSettings, PostConversationSettingsReq, PrivacySettings, PromptSyncStatus, RetrievalTool, StartSpeakingPlan, TelephonySettings, TranscriptionEndpointingPlan, TranscriptionSettings, TranscriptionSettingsConfig, TransferTool, VoiceSettings, WebhookTool, WidgetSettings } from "./assistants/assistants.js";
14
14
  import * as ConversationsAPI from "./conversations/conversations.js";
15
15
  import { Conversation, ConversationAddMessageParams, ConversationCreateParams, ConversationListParams, ConversationListResponse, ConversationRetrieveConversationsInsightsResponse, ConversationRetrieveResponse, ConversationUpdateParams, ConversationUpdateResponse, Conversations } from "./conversations/conversations.js";
16
16
  import * as EmbeddingsAPI from "./embeddings/embeddings.js";
@@ -18,16 +18,13 @@ import { BackgroundTaskStatus, EmbeddingCreateParams, EmbeddingListParams, Embed
18
18
  import * as FineTuningAPI from "./fine-tuning/fine-tuning.js";
19
19
  import { FineTuning } from "./fine-tuning/fine-tuning.js";
20
20
  import * as IntegrationsAPI from "./integrations/integrations.js";
21
- import { IntegrationListResponse, IntegrationRetrieveResponse, Integrations } from "./integrations/integrations.js";
21
+ import { Integration, IntegrationListResponse, Integrations } from "./integrations/integrations.js";
22
22
  import * as MissionsAPI from "./missions/missions.js";
23
- import { MissionCloneMissionResponse, MissionCreateParams, MissionCreateResponse, MissionData, MissionDataDefaultFlatPagination, MissionListEventsParams, MissionListParams, MissionRetrieveResponse, MissionUpdateMissionParams, MissionUpdateMissionResponse, Missions } from "./missions/missions.js";
23
+ import { EventsListResponse, ExecutionMode, MissionCloneMissionResponse, MissionCreateParams, MissionData, MissionDataDefaultFlatPagination, MissionListEventsParams, MissionListParams, MissionResponse, MissionUpdateMissionParams, Missions } from "./missions/missions.js";
24
24
  import * as OpenAIAPI from "./openai/openai.js";
25
- import { OpenAI, OpenAICreateResponseParams, OpenAICreateResponseResponse, OpenAIListModelsResponse } from "./openai/openai.js";
25
+ import { OpenAI, OpenAICreateResponseParams, OpenAICreateResponseResponse } from "./openai/openai.js";
26
26
  import { APIPromise } from "../../core/api-promise.js";
27
27
  import { RequestOptions } from "../../internal/request-options.js";
28
- /**
29
- * Generate text with LLMs
30
- */
31
28
  export declare class AI extends APIResource {
32
29
  assistants: AssistantsAPI.Assistants;
33
30
  audio: AudioAPI.Audio;
@@ -51,7 +48,70 @@ export declare class AI extends APIResource {
51
48
  *
52
49
  * @deprecated
53
50
  */
54
- createResponse(params: AICreateResponseParams, options?: RequestOptions): APIPromise<AICreateResponseResponse>;
51
+ createResponseDeprecated(params: AICreateResponseDeprecatedParams, options?: RequestOptions): APIPromise<AICreateResponseDeprecatedResponse>;
52
+ /**
53
+ * Performs semantic vector search across conversation history records.
54
+ *
55
+ * **How it works:**
56
+ *
57
+ * 1. The query text is embedded into a 1024-dimensional vector using the
58
+ * multilingual-e5-large model.
59
+ * 2. The vector is sent to regional OpenSearch clusters for kNN search using HNSW
60
+ * cosine similarity.
61
+ * 3. When no region is specified, all regions are queried in parallel (fan-out)
62
+ * and results are merged by score.
63
+ * 4. Results are ranked by cosine similarity score (descending) and truncated to
64
+ * `top_k`.
65
+ *
66
+ * **Authentication:** Requires a Telnyx API key via `Authorization: Bearer <key>`.
67
+ * Results are automatically scoped to the caller's organization —
68
+ * `organization_id` is injected from the auth token and cannot be overridden.
69
+ *
70
+ * **Chunking:** Records are split into chunks of up to 480 tokens with 64-token
71
+ * overlap at ingestion time. Each search result represents a single chunk, with
72
+ * `chunk_index` and `chunk_total` indicating its position within the original
73
+ * record.
74
+ *
75
+ * **Filtering:** Use `filter[field][operator]=value` query parameters to narrow
76
+ * results before vector search.
77
+ *
78
+ * Top-level filterable fields: `user_id`, `record_type`, `region`, `document_id`,
79
+ * `record_id`, `record_created_at`, `ingested_at`, `retention`
80
+ *
81
+ * Note: `retention` is filter-only — it can be used to narrow results but is not
82
+ * returned in the response body.
83
+ *
84
+ * Metadata fields: any field not in the list above is resolved to
85
+ * `data.metadata.<field>` in OpenSearch (e.g., `filter[language]=en` →
86
+ * `data.metadata.language`).
87
+ *
88
+ * Supported filter operators:
89
+ *
90
+ * - `eq` — exact match (default when no operator specified)
91
+ * - `in` — match any of comma-separated values
92
+ * - `gte`, `gt`, `lte`, `lt` — range comparisons (useful for date filtering)
93
+ * - `contains` — wildcard substring match
94
+ *
95
+ * **Examples:**
96
+ *
97
+ * ```
98
+ * GET /v2/ai/conversation_histories?q=billing+issue&record_type=voice&top_k=10
99
+ * GET /v2/ai/conversation_histories?q=setup+guide&record_type=knowledge_base&region=USA&min_score=0.5
100
+ * GET /v2/ai/conversation_histories?q=refund&record_type=voice&filter[record_created_at][gte]=2026-01-01T00:00:00Z
101
+ * GET /v2/ai/conversation_histories?q=outage&record_type=voice&filter[region][in]=USA,DEU
102
+ * GET /v2/ai/conversation_histories?q=hold+time&record_type=voice&filter[language]=en
103
+ * ```
104
+ *
105
+ * @example
106
+ * ```ts
107
+ * const response =
108
+ * await client.ai.retrieveConversationHistories({
109
+ * q: 'customer called about billing issue',
110
+ * record_type: 'voice',
111
+ * });
112
+ * ```
113
+ */
114
+ retrieveConversationHistories(query: AIRetrieveConversationHistoriesParams, options?: RequestOptions): APIPromise<AIRetrieveConversationHistoriesResponse>;
55
115
  /**
56
116
  * **Deprecated**: Use `GET /v2/ai/openai/models` instead.
57
117
  *
@@ -65,7 +125,7 @@ export declare class AI extends APIResource {
65
125
  *
66
126
  * @deprecated
67
127
  */
68
- retrieveModels(options?: RequestOptions): APIPromise<AIRetrieveModelsResponse>;
128
+ retrieveModels(options?: RequestOptions): APIPromise<ModelsResponse>;
69
129
  /**
70
130
  * Generate a summary of a file's contents.
71
131
  *
@@ -199,13 +259,122 @@ export interface ModelMetadata {
199
259
  */
200
260
  task?: string;
201
261
  }
202
- export type AICreateResponseResponse = {
203
- [key: string]: unknown;
204
- };
205
- export interface AIRetrieveModelsResponse {
262
+ export interface ModelsResponse {
206
263
  data: Array<ModelMetadata>;
207
264
  object?: string;
208
265
  }
266
+ export type AICreateResponseDeprecatedResponse = {
267
+ [key: string]: unknown;
268
+ };
269
+ /**
270
+ * Search response following the standard Telnyx V2 API format.
271
+ */
272
+ export interface AIRetrieveConversationHistoriesResponse {
273
+ /**
274
+ * Ranked list of matching text chunks, sorted by cosine similarity score
275
+ * descending.
276
+ */
277
+ data: Array<AIRetrieveConversationHistoriesResponse.Data>;
278
+ /**
279
+ * Pagination metadata following the standard Telnyx V2 API format.
280
+ */
281
+ meta: AIRetrieveConversationHistoriesResponse.Meta;
282
+ }
283
+ export declare namespace AIRetrieveConversationHistoriesResponse {
284
+ /**
285
+ * A single search result representing one chunk of a conversation history record.
286
+ * Records are split into chunks of up to 480 tokens with 64-token overlap at
287
+ * ingestion time.
288
+ */
289
+ interface Data {
290
+ /**
291
+ * Unique chunk identifier.
292
+ */
293
+ id: string;
294
+ /**
295
+ * Zero-based index of this chunk within the parent record.
296
+ */
297
+ chunk_index: number;
298
+ /**
299
+ * Total number of chunks the parent record was split into.
300
+ */
301
+ chunk_total: number;
302
+ /**
303
+ * Document identifier. Present only for knowledge_base records; null for all other
304
+ * record types.
305
+ */
306
+ document_id: string | null;
307
+ /**
308
+ * When the record was chunked, embedded, and indexed (ISO 8601).
309
+ */
310
+ ingested_at: string;
311
+ /**
312
+ * Identifier of the organization that owns this record.
313
+ */
314
+ organization_id: string;
315
+ /**
316
+ * When the original record was created (ISO 8601).
317
+ */
318
+ record_created_at: string;
319
+ /**
320
+ * Identifier of the parent record. Multiple chunks from the same record share this
321
+ * ID.
322
+ */
323
+ record_id: string;
324
+ /**
325
+ * Type of the record.
326
+ */
327
+ record_type: 'voice' | 'message' | 'ai_pipeline_storage' | 'knowledge_base';
328
+ /**
329
+ * The region where this record is stored.
330
+ */
331
+ region: 'USA' | 'DEU' | 'AUS' | 'UAE';
332
+ /**
333
+ * Cosine similarity score between the query vector and this chunk's vector. Higher
334
+ * values indicate greater semantic relevance.
335
+ */
336
+ score: number;
337
+ /**
338
+ * The text content of this chunk (up to 480 tokens).
339
+ */
340
+ text: string;
341
+ /**
342
+ * Identifier of the user who owns this record.
343
+ */
344
+ user_id: string;
345
+ /**
346
+ * Arbitrary metadata attached to the record at ingestion time. Stored as a
347
+ * flat_object in OpenSearch and filterable via filter[field]=value query
348
+ * parameters.
349
+ */
350
+ metadata?: {
351
+ [key: string]: unknown;
352
+ };
353
+ }
354
+ /**
355
+ * Pagination metadata following the standard Telnyx V2 API format.
356
+ */
357
+ interface Meta {
358
+ /**
359
+ * Current page number (always 1 — this API does not support pagination, use top_k
360
+ * instead).
361
+ */
362
+ page_number: number;
363
+ /**
364
+ * Number of results per page (equals the effective top_k value).
365
+ */
366
+ page_size: number;
367
+ /**
368
+ * Total number of pages.
369
+ */
370
+ total_pages: number;
371
+ /**
372
+ * Total number of matching results across all queried regions (before top_k
373
+ * truncation).
374
+ */
375
+ total_results: number;
376
+ }
377
+ }
209
378
  export interface AISummarizeResponse {
210
379
  data: AISummarizeResponse.Data;
211
380
  }
@@ -214,11 +383,82 @@ export declare namespace AISummarizeResponse {
214
383
  summary: string;
215
384
  }
216
385
  }
217
- export interface AICreateResponseParams {
218
- input: {
386
+ export interface AICreateResponseDeprecatedParams {
387
+ response_request: {
219
388
  [key: string]: unknown;
220
389
  };
221
390
  }
391
+ export interface AIRetrieveConversationHistoriesParams {
392
+ /**
393
+ * Natural language search query. The text is embedded into a 1024-dimensional
394
+ * vector and compared against indexed record chunks using kNN cosine similarity.
395
+ */
396
+ q: string;
397
+ /**
398
+ * The type of records to search. Each record type is stored in a separate vector
399
+ * index.
400
+ */
401
+ record_type: 'voice' | 'message' | 'ai_pipeline_storage' | 'knowledge_base';
402
+ /**
403
+ * Filter by document identifier (exact match). Populated for knowledge_base
404
+ * records.
405
+ */
406
+ 'filter[document_id]'?: string;
407
+ /**
408
+ * Only include records ingested (chunked, embedded, and indexed) on or after this
409
+ * ISO 8601 timestamp.
410
+ */
411
+ 'filter[ingested_at][gte]'?: string;
412
+ /**
413
+ * Only include records ingested (chunked, embedded, and indexed) on or before this
414
+ * ISO 8601 timestamp.
415
+ */
416
+ 'filter[ingested_at][lte]'?: string;
417
+ /**
418
+ * Only include records whose original creation time is on or after this ISO 8601
419
+ * timestamp.
420
+ */
421
+ 'filter[record_created_at][gte]'?: string;
422
+ /**
423
+ * Only include records whose original creation time is on or before this ISO 8601
424
+ * timestamp.
425
+ */
426
+ 'filter[record_created_at][lte]'?: string;
427
+ /**
428
+ * Filter to chunks belonging to a specific parent record (exact match).
429
+ */
430
+ 'filter[record_id]'?: string;
431
+ /**
432
+ * Filter by the region stored on the record. Comma-separated to match multiple
433
+ * regions (USA, DEU, AUS, UAE). Distinct from the `region` parameter, which
434
+ * selects which cluster(s) are queried.
435
+ */
436
+ 'filter[region][in]'?: string;
437
+ /**
438
+ * Filter by retention policy (exact match). Filter-only: not returned in the
439
+ * response body.
440
+ */
441
+ 'filter[retention]'?: string;
442
+ /**
443
+ * Filter to records owned by a specific user (exact match).
444
+ */
445
+ 'filter[user_id]'?: string;
446
+ /**
447
+ * Minimum cosine similarity score threshold (0.0 to 1.0). Results below this
448
+ * threshold are excluded.
449
+ */
450
+ min_score?: number;
451
+ /**
452
+ * Restrict search to a specific region's OpenSearch cluster. When omitted, all
453
+ * regions are queried in parallel (fan-out) and results are merged by cosine
454
+ * similarity score.
455
+ */
456
+ region?: 'USA' | 'DEU' | 'AUS' | 'UAE';
457
+ /**
458
+ * Maximum number of results to return. Defaults to 20, maximum 100.
459
+ */
460
+ top_k?: number;
461
+ }
222
462
  export interface AISummarizeParams {
223
463
  /**
224
464
  * The name of the bucket that contains the file to be summarized.
@@ -234,18 +474,18 @@ export interface AISummarizeParams {
234
474
  system_prompt?: string;
235
475
  }
236
476
  export declare namespace AI {
237
- export { type ModelMetadata as ModelMetadata, type AICreateResponseResponse as AICreateResponseResponse, type AIRetrieveModelsResponse as AIRetrieveModelsResponse, type AISummarizeResponse as AISummarizeResponse, type AICreateResponseParams as AICreateResponseParams, type AISummarizeParams as AISummarizeParams, };
238
- export { Assistants as Assistants, type Assistant as Assistant, type AssistantIntegration as AssistantIntegration, type AssistantMcpServer as AssistantMcpServer, type AssistantTool as AssistantTool, type AssistantsList as AssistantsList, type AudioVisualizerConfig as AudioVisualizerConfig, type EnabledFeatures as EnabledFeatures, type ExternalLlm as ExternalLlm, type ExternalLlmReq as ExternalLlmReq, type FallbackConfig as FallbackConfig, type FallbackConfigReq as FallbackConfigReq, type HangupTool as HangupTool, type HangupToolParams as HangupToolParams, type ImportMetadata as ImportMetadata, type InferenceEmbedding as InferenceEmbedding, type InferenceEmbeddingInterruptionSettings as InferenceEmbeddingInterruptionSettings, type InferenceEmbeddingWebhookToolParams as InferenceEmbeddingWebhookToolParams, type InsightSettings as InsightSettings, type MessagingSettings as MessagingSettings, type Observability as Observability, type ObservabilityReq as ObservabilityReq, type PostConversationSettings as PostConversationSettings, type PostConversationSettingsReq as PostConversationSettingsReq, type PrivacySettings as PrivacySettings, type RetrievalTool as RetrievalTool, type StartSpeakingPlan as StartSpeakingPlan, type TelephonySettings as TelephonySettings, type TranscriptionEndpointingPlan as TranscriptionEndpointingPlan, type TranscriptionSettings as TranscriptionSettings, type TranscriptionSettingsConfig as TranscriptionSettingsConfig, type TransferTool as TransferTool, type VoiceSettings as VoiceSettings, type WebhookTool as WebhookTool, type WidgetSettings as WidgetSettings, type AssistantDeleteResponse as AssistantDeleteResponse, type AssistantChatResponse as AssistantChatResponse, type AssistantGetTexmlResponse as AssistantGetTexmlResponse, type AssistantSendSMSResponse as AssistantSendSMSResponse, type AssistantCreateParams as AssistantCreateParams, type AssistantRetrieveParams as AssistantRetrieveParams, type AssistantUpdateParams as AssistantUpdateParams, type AssistantChatParams as AssistantChatParams, type AssistantImportsParams as AssistantImportsParams, type AssistantSendSMSParams as AssistantSendSMSParams, };
477
+ export { type ModelMetadata as ModelMetadata, type ModelsResponse as ModelsResponse, type AICreateResponseDeprecatedResponse as AICreateResponseDeprecatedResponse, type AIRetrieveConversationHistoriesResponse as AIRetrieveConversationHistoriesResponse, type AISummarizeResponse as AISummarizeResponse, type AICreateResponseDeprecatedParams as AICreateResponseDeprecatedParams, type AIRetrieveConversationHistoriesParams as AIRetrieveConversationHistoriesParams, type AISummarizeParams as AISummarizeParams, };
478
+ export { Assistants as Assistants, type ArithmeticExpression as ArithmeticExpression, type Assistant as Assistant, type AssistantIntegration as AssistantIntegration, type AssistantMcpServer as AssistantMcpServer, type AssistantTool as AssistantTool, type AssistantsList as AssistantsList, type AudioVisualizerConfig as AudioVisualizerConfig, type AuthenticationMethod as AuthenticationMethod, type BooleanOpExpression as BooleanOpExpression, type ComparisonExpression as ComparisonExpression, type ConversationFlowReq as ConversationFlowReq, type EnabledFeatures as EnabledFeatures, type Expression as Expression, type ExternalLlm as ExternalLlm, type ExternalLlmReq as ExternalLlmReq, type FallbackConfig as FallbackConfig, type FallbackConfigReq as FallbackConfigReq, type FlowEdge as FlowEdge, type HangupTool as HangupTool, type HangupToolParams as HangupToolParams, type ImportMetadata as ImportMetadata, type InferenceEmbedding as InferenceEmbedding, type InferenceEmbeddingInterruptionSettings as InferenceEmbeddingInterruptionSettings, type InferenceEmbeddingWebhookToolParams as InferenceEmbeddingWebhookToolParams, type InsightSettings as InsightSettings, type MessagingSettings as MessagingSettings, type NodePosition as NodePosition, type Observability as Observability, type ObservabilityReq as ObservabilityReq, type ObservabilityStatus as ObservabilityStatus, type PostConversationSettings as PostConversationSettings, type PostConversationSettingsReq as PostConversationSettingsReq, type PrivacySettings as PrivacySettings, type PromptSyncStatus as PromptSyncStatus, type RetrievalTool as RetrievalTool, type StartSpeakingPlan as StartSpeakingPlan, type TelephonySettings as TelephonySettings, type TranscriptionEndpointingPlan as TranscriptionEndpointingPlan, type TranscriptionSettings as TranscriptionSettings, type TranscriptionSettingsConfig as TranscriptionSettingsConfig, type TransferTool as TransferTool, type VoiceSettings as VoiceSettings, type WebhookTool as WebhookTool, type WidgetSettings as WidgetSettings, type AssistantDeleteResponse as AssistantDeleteResponse, type AssistantChatResponse as AssistantChatResponse, type AssistantGetTexmlResponse as AssistantGetTexmlResponse, type AssistantSendSMSResponse as AssistantSendSMSResponse, type AssistantCreateParams as AssistantCreateParams, type AssistantRetrieveParams as AssistantRetrieveParams, type AssistantUpdateParams as AssistantUpdateParams, type AssistantChatParams as AssistantChatParams, type AssistantImportsParams as AssistantImportsParams, type AssistantSendSMSParams as AssistantSendSMSParams, };
239
479
  export { Audio as Audio, type AudioTranscribeResponse as AudioTranscribeResponse, type AudioTranscribeParams as AudioTranscribeParams, };
240
- export { Chat as Chat, type BucketIDs as BucketIDs, type ChatCreateCompletionResponse as ChatCreateCompletionResponse, type ChatCreateCompletionParams as ChatCreateCompletionParams, };
480
+ export { Chat as Chat, type BucketIDs as BucketIDs, type ChatCompletionRequest as ChatCompletionRequest, type ChatCreateCompletionResponse as ChatCreateCompletionResponse, type ChatCreateCompletionParams as ChatCreateCompletionParams, };
241
481
  export { Clusters as Clusters, type RecursiveCluster as RecursiveCluster, type ClusterRetrieveResponse as ClusterRetrieveResponse, type ClusterListResponse as ClusterListResponse, type ClusterComputeResponse as ClusterComputeResponse, type ClusterListResponsesDefaultFlatPagination as ClusterListResponsesDefaultFlatPagination, type ClusterRetrieveParams as ClusterRetrieveParams, type ClusterListParams as ClusterListParams, type ClusterComputeParams as ClusterComputeParams, type ClusterFetchGraphParams as ClusterFetchGraphParams, };
242
482
  export { Conversations as Conversations, type Conversation as Conversation, type ConversationRetrieveResponse as ConversationRetrieveResponse, type ConversationUpdateResponse as ConversationUpdateResponse, type ConversationListResponse as ConversationListResponse, type ConversationRetrieveConversationsInsightsResponse as ConversationRetrieveConversationsInsightsResponse, type ConversationCreateParams as ConversationCreateParams, type ConversationUpdateParams as ConversationUpdateParams, type ConversationListParams as ConversationListParams, type ConversationAddMessageParams as ConversationAddMessageParams, };
243
483
  export { Embeddings as Embeddings, type BackgroundTaskStatus as BackgroundTaskStatus, type EmbeddingResponse as EmbeddingResponse, type EmbeddingRetrieveResponse as EmbeddingRetrieveResponse, type EmbeddingListResponse as EmbeddingListResponse, type EmbeddingSimilaritySearchResponse as EmbeddingSimilaritySearchResponse, type EmbeddingCreateParams as EmbeddingCreateParams, type EmbeddingListParams as EmbeddingListParams, type EmbeddingSimilaritySearchParams as EmbeddingSimilaritySearchParams, type EmbeddingURLParams as EmbeddingURLParams, };
244
484
  export { FineTuning as FineTuning };
245
- export { Integrations as Integrations, type IntegrationRetrieveResponse as IntegrationRetrieveResponse, type IntegrationListResponse as IntegrationListResponse, };
246
- export { McpServers as McpServers, type McpServerCreateResponse as McpServerCreateResponse, type McpServerRetrieveResponse as McpServerRetrieveResponse, type McpServerUpdateResponse as McpServerUpdateResponse, type McpServerListResponse as McpServerListResponse, type McpServerListResponsesDefaultFlatPaginationTopLevelArray as McpServerListResponsesDefaultFlatPaginationTopLevelArray, type McpServerCreateParams as McpServerCreateParams, type McpServerUpdateParams as McpServerUpdateParams, type McpServerListParams as McpServerListParams, };
247
- export { Missions as Missions, type MissionData as MissionData, type MissionCreateResponse as MissionCreateResponse, type MissionRetrieveResponse as MissionRetrieveResponse, type MissionCloneMissionResponse as MissionCloneMissionResponse, type MissionUpdateMissionResponse as MissionUpdateMissionResponse, type MissionDataDefaultFlatPagination as MissionDataDefaultFlatPagination, type MissionCreateParams as MissionCreateParams, type MissionListParams as MissionListParams, type MissionListEventsParams as MissionListEventsParams, type MissionUpdateMissionParams as MissionUpdateMissionParams, };
248
- export { OpenAI as OpenAI, type OpenAICreateResponseResponse as OpenAICreateResponseResponse, type OpenAIListModelsResponse as OpenAIListModelsResponse, type OpenAICreateResponseParams as OpenAICreateResponseParams, };
249
- export { Tools as Tools, type ToolCreateResponse as ToolCreateResponse, type ToolRetrieveResponse as ToolRetrieveResponse, type ToolUpdateResponse as ToolUpdateResponse, type ToolListResponse as ToolListResponse, type ToolDeleteResponse as ToolDeleteResponse, type ToolListResponsesDefaultFlatPagination as ToolListResponsesDefaultFlatPagination, type ToolCreateParams as ToolCreateParams, type ToolUpdateParams as ToolUpdateParams, type ToolListParams as ToolListParams, };
485
+ export { Integrations as Integrations, type Integration as Integration, type IntegrationListResponse as IntegrationListResponse, };
486
+ export { McpServers as McpServers, type McpServer as McpServer, type McpServersDefaultFlatPaginationTopLevelArray as McpServersDefaultFlatPaginationTopLevelArray, type McpServerCreateParams as McpServerCreateParams, type McpServerUpdateParams as McpServerUpdateParams, type McpServerListParams as McpServerListParams, };
487
+ export { Missions as Missions, type EventsListResponse as EventsListResponse, type ExecutionMode as ExecutionMode, type MissionData as MissionData, type MissionResponse as MissionResponse, type MissionCloneMissionResponse as MissionCloneMissionResponse, type MissionDataDefaultFlatPagination as MissionDataDefaultFlatPagination, type MissionCreateParams as MissionCreateParams, type MissionListParams as MissionListParams, type MissionListEventsParams as MissionListEventsParams, type MissionUpdateMissionParams as MissionUpdateMissionParams, };
488
+ export { OpenAI as OpenAI, type OpenAICreateResponseResponse as OpenAICreateResponseResponse, type OpenAICreateResponseParams as OpenAICreateResponseParams, };
489
+ export { Tools as Tools, type SharedToolResponse as SharedToolResponse, type ToolDeleteResponse as ToolDeleteResponse, type SharedToolResponsesDefaultFlatPagination as SharedToolResponsesDefaultFlatPagination, type ToolCreateParams as ToolCreateParams, type ToolUpdateParams as ToolUpdateParams, type ToolListParams as ToolListParams, };
250
490
  }
251
491
  //# sourceMappingURL=ai.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ai.d.ts","sourceRoot":"","sources":["../../src/resources/ai/ai.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EAAE,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,mBAAgB;AAChF,OAAO,KAAK,OAAO,kBAAe;AAClC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,kBAAe;AACnG,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACnB,yCAAyC,EACzC,qBAAqB,EACrB,uBAAuB,EACvB,QAAQ,EACR,gBAAgB,EACjB,sBAAmB;AACpB,OAAO,KAAK,aAAa,yBAAsB;AAC/C,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,wDAAwD,EACxD,yBAAyB,EACzB,qBAAqB,EACrB,uBAAuB,EACvB,UAAU,EACX,yBAAsB;AACvB,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,sCAAsC,EACtC,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,EACN,mBAAgB;AACjB,OAAO,KAAK,aAAa,mCAAg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BAA0B,GAC9D,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
@@ -28,9 +28,6 @@ const MissionsAPI = tslib_1.__importStar(require("./missions/missions.js"));
28
28
  const missions_1 = require("./missions/missions.js");
29
29
  const OpenAIAPI = tslib_1.__importStar(require("./openai/openai.js"));
30
30
  const openai_1 = require("./openai/openai.js");
31
- /**
32
- * Generate text with LLMs
33
- */
34
31
  class AI extends resource_1.APIResource {
35
32
  constructor() {
36
33
  super(...arguments);
@@ -57,9 +54,74 @@ class AI extends resource_1.APIResource {
57
54
  *
58
55
  * @deprecated
59
56
  */
60
- createResponse(params, options) {
61
- const { input } = params;
62
- return this._client.post('/ai/responses', { body: input, ...options });
57
+ createResponseDeprecated(params, options) {
58
+ const { response_request } = params;
59
+ return this._client.post('/ai/responses', { body: response_request, ...options });
60
+ }
61
+ /**
62
+ * Performs semantic vector search across conversation history records.
63
+ *
64
+ * **How it works:**
65
+ *
66
+ * 1. The query text is embedded into a 1024-dimensional vector using the
67
+ * multilingual-e5-large model.
68
+ * 2. The vector is sent to regional OpenSearch clusters for kNN search using HNSW
69
+ * cosine similarity.
70
+ * 3. When no region is specified, all regions are queried in parallel (fan-out)
71
+ * and results are merged by score.
72
+ * 4. Results are ranked by cosine similarity score (descending) and truncated to
73
+ * `top_k`.
74
+ *
75
+ * **Authentication:** Requires a Telnyx API key via `Authorization: Bearer <key>`.
76
+ * Results are automatically scoped to the caller's organization —
77
+ * `organization_id` is injected from the auth token and cannot be overridden.
78
+ *
79
+ * **Chunking:** Records are split into chunks of up to 480 tokens with 64-token
80
+ * overlap at ingestion time. Each search result represents a single chunk, with
81
+ * `chunk_index` and `chunk_total` indicating its position within the original
82
+ * record.
83
+ *
84
+ * **Filtering:** Use `filter[field][operator]=value` query parameters to narrow
85
+ * results before vector search.
86
+ *
87
+ * Top-level filterable fields: `user_id`, `record_type`, `region`, `document_id`,
88
+ * `record_id`, `record_created_at`, `ingested_at`, `retention`
89
+ *
90
+ * Note: `retention` is filter-only — it can be used to narrow results but is not
91
+ * returned in the response body.
92
+ *
93
+ * Metadata fields: any field not in the list above is resolved to
94
+ * `data.metadata.<field>` in OpenSearch (e.g., `filter[language]=en` →
95
+ * `data.metadata.language`).
96
+ *
97
+ * Supported filter operators:
98
+ *
99
+ * - `eq` — exact match (default when no operator specified)
100
+ * - `in` — match any of comma-separated values
101
+ * - `gte`, `gt`, `lte`, `lt` — range comparisons (useful for date filtering)
102
+ * - `contains` — wildcard substring match
103
+ *
104
+ * **Examples:**
105
+ *
106
+ * ```
107
+ * GET /v2/ai/conversation_histories?q=billing+issue&record_type=voice&top_k=10
108
+ * GET /v2/ai/conversation_histories?q=setup+guide&record_type=knowledge_base&region=USA&min_score=0.5
109
+ * GET /v2/ai/conversation_histories?q=refund&record_type=voice&filter[record_created_at][gte]=2026-01-01T00:00:00Z
110
+ * GET /v2/ai/conversation_histories?q=outage&record_type=voice&filter[region][in]=USA,DEU
111
+ * GET /v2/ai/conversation_histories?q=hold+time&record_type=voice&filter[language]=en
112
+ * ```
113
+ *
114
+ * @example
115
+ * ```ts
116
+ * const response =
117
+ * await client.ai.retrieveConversationHistories({
118
+ * q: 'customer called about billing issue',
119
+ * record_type: 'voice',
120
+ * });
121
+ * ```
122
+ */
123
+ retrieveConversationHistories(query, options) {
124
+ return this._client.get('/ai/conversation_histories', { query, ...options });
63
125
  }
64
126
  /**
65
127
  * **Deprecated**: Use `GET /v2/ai/openai/models` instead.
@@ -1 +1 @@
1
- {"version":3,"file":"ai.js","sourceRoot":"","sources":["../../src/resources/ai/ai.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEt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AK,CAAC;AACjB,EAAE,CAAC,IAAI,GAAG,WAAI,CAAC;AACf,EAAE,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AACvB,EAAE,CAAC,aAAa,GAAG,6BAAa,CAAC;AACjC,EAAE,CAAC,UAAU,GAAG,uBAAU,CAAC;AAC3B,EAAE,CAAC,UAAU,GAAG,wBAAU,CAAC;AAC3B,EAAE,CAAC,YAAY,GAAG,2BAAY,CAAC;AAC/B,EAAE,CAAC,UAAU,GAAG,wBAAU,CAAC;AAC3B,EAAE,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AACvB,EAAE,CAAC,MAAM,GAAG,eAAM,CAAC;AACnB,EAAE,CAAC,KAAK,GAAG,aAAK,CAAC"}
@@ -3,7 +3,7 @@ import { APIResource } from "../../core/resource.mjs";
3
3
  import * as AudioAPI from "./audio.mjs";
4
4
  import { Audio } from "./audio.mjs";
5
5
  import * as ChatAPI from "./chat.mjs";
6
- import { Chat } from "./chat.mjs";
6
+ import { Chat, } from "./chat.mjs";
7
7
  import * as ClustersAPI from "./clusters.mjs";
8
8
  import { Clusters, } from "./clusters.mjs";
9
9
  import * as McpServersAPI from "./mcp-servers.mjs";
@@ -19,14 +19,11 @@ import { Embeddings, } from "./embeddings/embeddings.mjs";
19
19
  import * as FineTuningAPI from "./fine-tuning/fine-tuning.mjs";
20
20
  import { FineTuning } from "./fine-tuning/fine-tuning.mjs";
21
21
  import * as IntegrationsAPI from "./integrations/integrations.mjs";
22
- import { Integrations, } from "./integrations/integrations.mjs";
22
+ import { Integrations } from "./integrations/integrations.mjs";
23
23
  import * as MissionsAPI from "./missions/missions.mjs";
24
24
  import { Missions, } from "./missions/missions.mjs";
25
25
  import * as OpenAIAPI from "./openai/openai.mjs";
26
- import { OpenAI, } from "./openai/openai.mjs";
27
- /**
28
- * Generate text with LLMs
29
- */
26
+ import { OpenAI } from "./openai/openai.mjs";
30
27
  export class AI extends APIResource {
31
28
  constructor() {
32
29
  super(...arguments);
@@ -53,9 +50,74 @@ export class AI extends APIResource {
53
50
  *
54
51
  * @deprecated
55
52
  */
56
- createResponse(params, options) {
57
- const { input } = params;
58
- return this._client.post('/ai/responses', { body: input, ...options });
53
+ createResponseDeprecated(params, options) {
54
+ const { response_request } = params;
55
+ return this._client.post('/ai/responses', { body: response_request, ...options });
56
+ }
57
+ /**
58
+ * Performs semantic vector search across conversation history records.
59
+ *
60
+ * **How it works:**
61
+ *
62
+ * 1. The query text is embedded into a 1024-dimensional vector using the
63
+ * multilingual-e5-large model.
64
+ * 2. The vector is sent to regional OpenSearch clusters for kNN search using HNSW
65
+ * cosine similarity.
66
+ * 3. When no region is specified, all regions are queried in parallel (fan-out)
67
+ * and results are merged by score.
68
+ * 4. Results are ranked by cosine similarity score (descending) and truncated to
69
+ * `top_k`.
70
+ *
71
+ * **Authentication:** Requires a Telnyx API key via `Authorization: Bearer <key>`.
72
+ * Results are automatically scoped to the caller's organization —
73
+ * `organization_id` is injected from the auth token and cannot be overridden.
74
+ *
75
+ * **Chunking:** Records are split into chunks of up to 480 tokens with 64-token
76
+ * overlap at ingestion time. Each search result represents a single chunk, with
77
+ * `chunk_index` and `chunk_total` indicating its position within the original
78
+ * record.
79
+ *
80
+ * **Filtering:** Use `filter[field][operator]=value` query parameters to narrow
81
+ * results before vector search.
82
+ *
83
+ * Top-level filterable fields: `user_id`, `record_type`, `region`, `document_id`,
84
+ * `record_id`, `record_created_at`, `ingested_at`, `retention`
85
+ *
86
+ * Note: `retention` is filter-only — it can be used to narrow results but is not
87
+ * returned in the response body.
88
+ *
89
+ * Metadata fields: any field not in the list above is resolved to
90
+ * `data.metadata.<field>` in OpenSearch (e.g., `filter[language]=en` →
91
+ * `data.metadata.language`).
92
+ *
93
+ * Supported filter operators:
94
+ *
95
+ * - `eq` — exact match (default when no operator specified)
96
+ * - `in` — match any of comma-separated values
97
+ * - `gte`, `gt`, `lte`, `lt` — range comparisons (useful for date filtering)
98
+ * - `contains` — wildcard substring match
99
+ *
100
+ * **Examples:**
101
+ *
102
+ * ```
103
+ * GET /v2/ai/conversation_histories?q=billing+issue&record_type=voice&top_k=10
104
+ * GET /v2/ai/conversation_histories?q=setup+guide&record_type=knowledge_base&region=USA&min_score=0.5
105
+ * GET /v2/ai/conversation_histories?q=refund&record_type=voice&filter[record_created_at][gte]=2026-01-01T00:00:00Z
106
+ * GET /v2/ai/conversation_histories?q=outage&record_type=voice&filter[region][in]=USA,DEU
107
+ * GET /v2/ai/conversation_histories?q=hold+time&record_type=voice&filter[language]=en
108
+ * ```
109
+ *
110
+ * @example
111
+ * ```ts
112
+ * const response =
113
+ * await client.ai.retrieveConversationHistories({
114
+ * q: 'customer called about billing issue',
115
+ * record_type: 'voice',
116
+ * });
117
+ * ```
118
+ */
119
+ retrieveConversationHistories(query, options) {
120
+ return this._client.get('/ai/conversation_histories', { query, ...options });
59
121
  }
60
122
  /**
61
123
  * **Deprecated**: Use `GET /v2/ai/openai/models` instead.
@@ -1 +1 @@
1
- {"version":3,"file":"ai.mjs","sourceRoot":"","sources":["../../src/resources/ai/ai.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAAE,KAAK,EAAkD,oBAAgB;AAChF,OAAO,KAAK,OAAO,mBAAe;AAClC,OAAO,EAAa,IAAI,EAA4D,mBAAe;AACnG,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EASL,QAAQ,GAET,uBAAmB;AACpB,OAAO,KAAK,aAAa,0BAAsB;AAC/C,OAAO,EASL,UAAU,GACX,0BAAsB;AACvB,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAUL,KAAK,GACN,oBAAgB;AACjB,OAAO,KAAK,aAAa,oCAAgC;AACzD,OAAO,EAeL,UAAU,GA+BX,oCAAgC;AACjC,OAAO,KAAK,gBAAgB,0CAAsC;AAClE,OAAO,EAUL,aAAa,GACd,0CAAsC;AACvC,OAAO,K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