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
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PhoneNumbers = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const pagination_1 = require("../../core/pagination.js");
7
+ const path_1 = require("../../internal/utils/path.js");
8
+ /**
9
+ * Associate phone numbers with a verified DIR so calls from those numbers carry the DIR's display identity.
10
+ */
11
+ class PhoneNumbers extends resource_1.APIResource {
12
+ /**
13
+ * List the phone numbers registered under a DIR. The enterprise is resolved
14
+ * server-side from the DIR id.
15
+ *
16
+ * @example
17
+ * ```ts
18
+ * // Automatically fetches more pages as needed.
19
+ * for await (const dirPhoneNumber of client.dir.phoneNumbers.list(
20
+ * '16635d38-75a6-4481-82e8-69af60e05011',
21
+ * )) {
22
+ * // ...
23
+ * }
24
+ * ```
25
+ */
26
+ list(dirID, query = {}, options) {
27
+ return this._client.getAPIList((0, path_1.path) `/dir/${dirID}/phone_numbers`, (pagination_1.DefaultFlatPagination), {
28
+ query,
29
+ ...options,
30
+ });
31
+ }
32
+ /**
33
+ * Register phone numbers under a DIR. The enterprise is resolved server-side from
34
+ * the DIR id. Same body, failure modes, and batch semantics whichever path form
35
+ * you use.
36
+ *
37
+ * **Pricing:** This is a billable action. See https://telnyx.com/pricing/numbers
38
+ * for current pricing.
39
+ *
40
+ * @example
41
+ * ```ts
42
+ * const response = await client.dir.phoneNumbers.add(
43
+ * '16635d38-75a6-4481-82e8-69af60e05011',
44
+ * {
45
+ * documents: [
46
+ * {
47
+ * document_id: '2a7e8337-e803-4057-a4ae-26c40eb0bc6c',
48
+ * document_type: 'letter_of_authorization',
49
+ * description:
50
+ * 'LOA authorising Telnyx to register these numbers under the DIR.',
51
+ * },
52
+ * ],
53
+ * phone_numbers: ['+19493253498', '+12134445566'],
54
+ * },
55
+ * );
56
+ * ```
57
+ */
58
+ add(dirID, body, options) {
59
+ return this._client.post((0, path_1.path) `/dir/${dirID}/phone_numbers`, { body, ...options });
60
+ }
61
+ /**
62
+ * Deregister phone numbers from a DIR. The enterprise is resolved server-side from
63
+ * the DIR id. Returns a partial-success envelope.
64
+ *
65
+ * @example
66
+ * ```ts
67
+ * const phoneNumber = await client.dir.phoneNumbers.remove(
68
+ * '16635d38-75a6-4481-82e8-69af60e05011',
69
+ * { phone_numbers: ['+19493253498'] },
70
+ * );
71
+ * ```
72
+ */
73
+ remove(dirID, body, options) {
74
+ return this._client.delete((0, path_1.path) `/dir/${dirID}/phone_numbers`, { body, ...options });
75
+ }
76
+ }
77
+ exports.PhoneNumbers = PhoneNumbers;
78
+ //# sourceMappingURL=phone-numbers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phone-numbers.js","sourceRoot":"","sources":["../../src/resources/dir/phone-numbers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,yDAA6G;AAE7G,uDAAiD;AAEjD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,KAAa,EACb,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAA,WAAI,EAAA,QAAQ,KAAK,gBAAgB,EAAE,CAAA,kCAAqC,CAAA,EAAE;YACvG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,GAAG,CACD,KAAa,EACb,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,QAAQ,KAAK,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,KAAa,EACb,IAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,QAAQ,KAAK,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;CACF;AA/ED,oCA+EC"}
@@ -0,0 +1,74 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { DefaultFlatPagination } from "../../core/pagination.mjs";
4
+ import { path } from "../../internal/utils/path.mjs";
5
+ /**
6
+ * Associate phone numbers with a verified DIR so calls from those numbers carry the DIR's display identity.
7
+ */
8
+ export class PhoneNumbers extends APIResource {
9
+ /**
10
+ * List the phone numbers registered under a DIR. The enterprise is resolved
11
+ * server-side from the DIR id.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * // Automatically fetches more pages as needed.
16
+ * for await (const dirPhoneNumber of client.dir.phoneNumbers.list(
17
+ * '16635d38-75a6-4481-82e8-69af60e05011',
18
+ * )) {
19
+ * // ...
20
+ * }
21
+ * ```
22
+ */
23
+ list(dirID, query = {}, options) {
24
+ return this._client.getAPIList(path `/dir/${dirID}/phone_numbers`, (DefaultFlatPagination), {
25
+ query,
26
+ ...options,
27
+ });
28
+ }
29
+ /**
30
+ * Register phone numbers under a DIR. The enterprise is resolved server-side from
31
+ * the DIR id. Same body, failure modes, and batch semantics whichever path form
32
+ * you use.
33
+ *
34
+ * **Pricing:** This is a billable action. See https://telnyx.com/pricing/numbers
35
+ * for current pricing.
36
+ *
37
+ * @example
38
+ * ```ts
39
+ * const response = await client.dir.phoneNumbers.add(
40
+ * '16635d38-75a6-4481-82e8-69af60e05011',
41
+ * {
42
+ * documents: [
43
+ * {
44
+ * document_id: '2a7e8337-e803-4057-a4ae-26c40eb0bc6c',
45
+ * document_type: 'letter_of_authorization',
46
+ * description:
47
+ * 'LOA authorising Telnyx to register these numbers under the DIR.',
48
+ * },
49
+ * ],
50
+ * phone_numbers: ['+19493253498', '+12134445566'],
51
+ * },
52
+ * );
53
+ * ```
54
+ */
55
+ add(dirID, body, options) {
56
+ return this._client.post(path `/dir/${dirID}/phone_numbers`, { body, ...options });
57
+ }
58
+ /**
59
+ * Deregister phone numbers from a DIR. The enterprise is resolved server-side from
60
+ * the DIR id. Returns a partial-success envelope.
61
+ *
62
+ * @example
63
+ * ```ts
64
+ * const phoneNumber = await client.dir.phoneNumbers.remove(
65
+ * '16635d38-75a6-4481-82e8-69af60e05011',
66
+ * { phone_numbers: ['+19493253498'] },
67
+ * );
68
+ * ```
69
+ */
70
+ remove(dirID, body, options) {
71
+ return this._client.delete(path `/dir/${dirID}/phone_numbers`, { body, ...options });
72
+ }
73
+ }
74
+ //# sourceMappingURL=phone-numbers.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phone-numbers.mjs","sourceRoot":"","sources":["../../src/resources/dir/phone-numbers.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,qBAAqB,EAAiD,kCAA8B;AAE7G,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,KAAa,EACb,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAA,QAAQ,KAAK,gBAAgB,EAAE,CAAA,qBAAqC,CAAA,EAAE;YACvG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,GAAG,CACD,KAAa,EACb,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,QAAQ,KAAK,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,KAAa,EACb,IAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,QAAQ,KAAK,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export * from "./dir/index.mjs";
2
+ //# sourceMappingURL=dir.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dir.d.mts","sourceRoot":"","sources":["../src/resources/dir.ts"],"names":[],"mappings":"AAEA,gCAA4B"}
@@ -0,0 +1,2 @@
1
+ export * from "./dir/index.js";
2
+ //# sourceMappingURL=dir.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dir.d.ts","sourceRoot":"","sources":["../src/resources/dir.ts"],"names":[],"mappings":"AAEA,+BAA4B"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const tslib_1 = require("../internal/tslib.js");
5
+ tslib_1.__exportStar(require("./dir/index.js"), exports);
6
+ //# sourceMappingURL=dir.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dir.js","sourceRoot":"","sources":["../src/resources/dir.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,yDAA4B"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./dir/index.mjs";
3
+ //# sourceMappingURL=dir.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dir.mjs","sourceRoot":"","sources":["../src/resources/dir.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,gCAA4B"}
@@ -1,4 +1,5 @@
1
1
  import { APIResource } from "../core/resource.mjs";
2
+ import * as DocumentsAPI from "./documents.mjs";
2
3
  import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../core/pagination.mjs";
3
4
  import { RequestOptions } from "../internal/request-options.mjs";
4
5
  /**
@@ -11,15 +12,7 @@ export declare class DocumentLinks extends APIResource {
11
12
  list(query?: DocumentLinkListParams | null | undefined, options?: RequestOptions): PagePromise<DocumentLinkListResponsesDefaultFlatPagination, DocumentLinkListResponse>;
12
13
  }
13
14
  export type DocumentLinkListResponsesDefaultFlatPagination = DefaultFlatPagination<DocumentLinkListResponse>;
14
- export interface DocumentLinkListResponse {
15
- /**
16
- * Identifies the resource.
17
- */
18
- id?: string;
19
- /**
20
- * ISO 8601 formatted date-time indicating when the resource was created.
21
- */
22
- created_at?: string;
15
+ export interface DocumentLinkListResponse extends DocumentsAPI.DocServiceRecord {
23
16
  /**
24
17
  * Identifies the associated document.
25
18
  */
@@ -36,10 +29,6 @@ export interface DocumentLinkListResponse {
36
29
  * Identifies the type of the resource.
37
30
  */
38
31
  record_type?: string;
39
- /**
40
- * ISO 8601 formatted date-time indicating when the resource was updated.
41
- */
42
- updated_at?: string;
43
32
  }
44
33
  export interface DocumentLinkListParams extends DefaultFlatPaginationParams {
45
34
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"document-links.d.mts","sourceRoot":"","sources":["../src/resources/document-links.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,+BAA2B;AAC1G,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,8CAA8C,EAAE,wBAAwB,CAAC;CAMzF;AAED,MAAM,MAAM,8CAA8C,GAAG,qBAAqB,CAAC,wBAAwB,CAAC,CAAC;AAE7G,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,sBAAuB,SAAQ,2BAA2B;IACzE;;;OAGG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC,MAAM,CAAC;CACxC;AAED,yBAAiB,sBAAsB,CAAC;IACtC;;;OAGG;IACH,UAAiB,MAAM;QACrB;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;KAC7B;CACF;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,8CAA8C,IAAI,8CAA8C,EACrG,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
1
+ {"version":3,"file":"document-links.d.mts","sourceRoot":"","sources":["../src/resources/document-links.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,+BAA2B;AAC1G,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,8CAA8C,EAAE,wBAAwB,CAAC;CAMzF;AAED,MAAM,MAAM,8CAA8C,GAAG,qBAAqB,CAAC,wBAAwB,CAAC,CAAC;AAE7G,MAAM,WAAW,wBAAyB,SAAQ,YAAY,CAAC,gBAAgB;IAC7E;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,sBAAuB,SAAQ,2BAA2B;IACzE;;;OAGG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC,MAAM,CAAC;CACxC;AAED,yBAAiB,sBAAsB,CAAC;IACtC;;;OAGG;IACH,UAAiB,MAAM;QACrB;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;KAC7B;CACF;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,8CAA8C,IAAI,8CAA8C,EACrG,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -1,4 +1,5 @@
1
1
  import { APIResource } from "../core/resource.js";
2
+ import * as DocumentsAPI from "./documents.js";
2
3
  import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../core/pagination.js";
3
4
  import { RequestOptions } from "../internal/request-options.js";
4
5
  /**
@@ -11,15 +12,7 @@ export declare class DocumentLinks extends APIResource {
11
12
  list(query?: DocumentLinkListParams | null | undefined, options?: RequestOptions): PagePromise<DocumentLinkListResponsesDefaultFlatPagination, DocumentLinkListResponse>;
12
13
  }
13
14
  export type DocumentLinkListResponsesDefaultFlatPagination = DefaultFlatPagination<DocumentLinkListResponse>;
14
- export interface DocumentLinkListResponse {
15
- /**
16
- * Identifies the resource.
17
- */
18
- id?: string;
19
- /**
20
- * ISO 8601 formatted date-time indicating when the resource was created.
21
- */
22
- created_at?: string;
15
+ export interface DocumentLinkListResponse extends DocumentsAPI.DocServiceRecord {
23
16
  /**
24
17
  * Identifies the associated document.
25
18
  */
@@ -36,10 +29,6 @@ export interface DocumentLinkListResponse {
36
29
  * Identifies the type of the resource.
37
30
  */
38
31
  record_type?: string;
39
- /**
40
- * ISO 8601 formatted date-time indicating when the resource was updated.
41
- */
42
- updated_at?: string;
43
32
  }
44
33
  export interface DocumentLinkListParams extends DefaultFlatPaginationParams {
45
34
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"document-links.d.ts","sourceRoot":"","sources":["../src/resources/document-links.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,8BAA2B;AAC1G,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,8CAA8C,EAAE,wBAAwB,CAAC;CAMzF;AAED,MAAM,MAAM,8CAA8C,GAAG,qBAAqB,CAAC,wBAAwB,CAAC,CAAC;AAE7G,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAA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CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,sBAAuB,SAAQ,2BAA2B;IACzE;;;OAGG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC,MAAM,CAAC;CACxC;AAED,yBAAiB,sBAAsB,CAAC;IACtC;;;OAGG;IACH,UAAiB,MAAM;QACrB;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;KAC7B;CACF;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,8CAA8C,IAAI,8CAA8C,EACrG,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"document-links.js","sourceRoot":"","sources":["../src/resources/document-links.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAC/C,sDAA0G;AAG1G;;GAEG;AACH,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;OAEG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,kCAA+C,CAAA,EAAE;YACjG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAbD,sCAaC"}
1
+ {"version":3,"file":"document-links.js","sourceRoot":"","sources":["../src/resources/document-links.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA0G;AAG1G;;GAEG;AACH,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;OAEG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,kCAA+C,CAAA,EAAE;YACjG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAbD,sCAaC"}
@@ -1 +1 @@
1
- {"version":3,"file":"document-links.mjs","sourceRoot":"","sources":["../src/resources/document-links.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,qBAAqB,EAAiD,+BAA2B;AAG1G;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,qBAA+C,CAAA,EAAE;YACjG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"document-links.mjs","sourceRoot":"","sources":["../src/resources/document-links.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,qBAAqB,EAAiD,+BAA2B;AAG1G;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,qBAA+C,CAAA,EAAE;YACjG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -106,11 +106,7 @@ export declare class Documents extends APIResource {
106
106
  uploadJson(params: DocumentUploadJsonParams, options?: RequestOptions): APIPromise<DocumentUploadJsonResponse>;
107
107
  }
108
108
  export type DocServiceDocumentsDefaultFlatPagination = DefaultFlatPagination<DocServiceDocument>;
109
- export interface DocServiceDocument {
110
- /**
111
- * Identifies the resource.
112
- */
113
- id?: string;
109
+ export interface DocServiceDocument extends DocServiceRecord {
114
110
  /**
115
111
  * The antivirus scan status of the document.
116
112
  */
@@ -119,10 +115,6 @@ export interface DocServiceDocument {
119
115
  * The document's content_type.
120
116
  */
121
117
  content_type?: string;
122
- /**
123
- * ISO 8601 formatted date-time indicating when the resource was created.
124
- */
125
- created_at?: string;
126
118
  /**
127
119
  * Optional reference string for customer tracking.
128
120
  */
@@ -147,10 +139,6 @@ export interface DocServiceDocument {
147
139
  * Indicates the current document reviewing status
148
140
  */
149
141
  status?: 'pending' | 'verified' | 'denied';
150
- /**
151
- * ISO 8601 formatted date-time indicating when the resource was updated.
152
- */
153
- updated_at?: string;
154
142
  }
155
143
  export declare namespace DocServiceDocument {
156
144
  /**
@@ -167,6 +155,24 @@ export declare namespace DocServiceDocument {
167
155
  unit?: string;
168
156
  }
169
157
  }
158
+ export interface DocServiceRecord {
159
+ /**
160
+ * Identifies the resource.
161
+ */
162
+ id?: string;
163
+ /**
164
+ * ISO 8601 formatted date-time indicating when the resource was created.
165
+ */
166
+ created_at?: string;
167
+ /**
168
+ * Identifies the type of the resource.
169
+ */
170
+ record_type?: string;
171
+ /**
172
+ * ISO 8601 formatted date-time indicating when the resource was updated.
173
+ */
174
+ updated_at?: string;
175
+ }
170
176
  export interface DocumentRetrieveResponse {
171
177
  data?: DocServiceDocument;
172
178
  }
@@ -306,6 +312,6 @@ export declare namespace DocumentUploadJsonParams {
306
312
  }
307
313
  }
308
314
  export declare namespace Documents {
309
- export { type DocServiceDocument as DocServiceDocument, type DocumentRetrieveResponse as DocumentRetrieveResponse, type DocumentUpdateResponse as DocumentUpdateResponse, type DocumentDeleteResponse as DocumentDeleteResponse, type DocumentGenerateDownloadLinkResponse as DocumentGenerateDownloadLinkResponse, type DocumentUploadResponse as DocumentUploadResponse, type DocumentUploadJsonResponse as DocumentUploadJsonResponse, type DocServiceDocumentsDefaultFlatPagination as DocServiceDocumentsDefaultFlatPagination, type DocumentUpdateParams as DocumentUpdateParams, type DocumentListParams as DocumentListParams, type DocumentUploadParams as DocumentUploadParams, type DocumentUploadJsonParams as DocumentUploadJsonParams, };
315
+ export { type DocServiceDocument as DocServiceDocument, type DocServiceRecord as DocServiceRecord, type DocumentRetrieveResponse as DocumentRetrieveResponse, type DocumentUpdateResponse as DocumentUpdateResponse, type DocumentDeleteResponse as DocumentDeleteResponse, type DocumentGenerateDownloadLinkResponse as DocumentGenerateDownloadLinkResponse, type DocumentUploadResponse as DocumentUploadResponse, type DocumentUploadJsonResponse as DocumentUploadJsonResponse, type DocServiceDocumentsDefaultFlatPagination as DocServiceDocumentsDefaultFlatPagination, type DocumentUpdateParams as DocumentUpdateParams, type DocumentListParams as DocumentListParams, type DocumentUploadParams as DocumentUploadParams, type DocumentUploadJsonParams as DocumentUploadJsonParams, };
310
316
  }
311
317
  //# sourceMappingURL=documents.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"documents.d.mts","sourceRoot":"","sources":["../src/resources/documents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,+BAA2B;AAE1G,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpF;;;;;;;;;OASG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAIrC;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,wCAAwC,EAAE,kBAAkB,CAAC;IAO5E;;;;;;;;;;;OAWG;IACH,MAAM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AM,CAAC;KACd;CACF;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
@@ -106,11 +106,7 @@ export declare class Documents extends APIResource {
106
106
  uploadJson(params: DocumentUploadJsonParams, options?: RequestOptions): APIPromise<DocumentUploadJsonResponse>;
107
107
  }
108
108
  export type DocServiceDocumentsDefaultFlatPagination = DefaultFlatPagination<DocServiceDocument>;
109
- export interface DocServiceDocument {
110
- /**
111
- * Identifies the resource.
112
- */
113
- id?: string;
109
+ export interface DocServiceDocument extends DocServiceRecord {
114
110
  /**
115
111
  * The antivirus scan status of the document.
116
112
  */
@@ -119,10 +115,6 @@ export interface DocServiceDocument {
119
115
  * The document's content_type.
120
116
  */
121
117
  content_type?: string;
122
- /**
123
- * ISO 8601 formatted date-time indicating when the resource was created.
124
- */
125
- created_at?: string;
126
118
  /**
127
119
  * Optional reference string for customer tracking.
128
120
  */
@@ -147,10 +139,6 @@ export interface DocServiceDocument {
147
139
  * Indicates the current document reviewing status
148
140
  */
149
141
  status?: 'pending' | 'verified' | 'denied';
150
- /**
151
- * ISO 8601 formatted date-time indicating when the resource was updated.
152
- */
153
- updated_at?: string;
154
142
  }
155
143
  export declare namespace DocServiceDocument {
156
144
  /**
@@ -167,6 +155,24 @@ export declare namespace DocServiceDocument {
167
155
  unit?: string;
168
156
  }
169
157
  }
158
+ export interface DocServiceRecord {
159
+ /**
160
+ * Identifies the resource.
161
+ */
162
+ id?: string;
163
+ /**
164
+ * ISO 8601 formatted date-time indicating when the resource was created.
165
+ */
166
+ created_at?: string;
167
+ /**
168
+ * Identifies the type of the resource.
169
+ */
170
+ record_type?: string;
171
+ /**
172
+ * ISO 8601 formatted date-time indicating when the resource was updated.
173
+ */
174
+ updated_at?: string;
175
+ }
170
176
  export interface DocumentRetrieveResponse {
171
177
  data?: DocServiceDocument;
172
178
  }
@@ -306,6 +312,6 @@ export declare namespace DocumentUploadJsonParams {
306
312
  }
307
313
  }
308
314
  export declare namespace Documents {
309
- export { type DocServiceDocument as DocServiceDocument, type DocumentRetrieveResponse as DocumentRetrieveResponse, type DocumentUpdateResponse as DocumentUpdateResponse, type DocumentDeleteResponse as DocumentDeleteResponse, type DocumentGenerateDownloadLinkResponse as DocumentGenerateDownloadLinkResponse, type DocumentUploadResponse as DocumentUploadResponse, type DocumentUploadJsonResponse as DocumentUploadJsonResponse, type DocServiceDocumentsDefaultFlatPagination as DocServiceDocumentsDefaultFlatPagination, type DocumentUpdateParams as DocumentUpdateParams, type DocumentListParams as DocumentListParams, type DocumentUploadParams as DocumentUploadParams, type DocumentUploadJsonParams as DocumentUploadJsonParams, };
315
+ export { type DocServiceDocument as DocServiceDocument, type DocServiceRecord as DocServiceRecord, type DocumentRetrieveResponse as DocumentRetrieveResponse, type DocumentUpdateResponse as DocumentUpdateResponse, type DocumentDeleteResponse as DocumentDeleteResponse, type DocumentGenerateDownloadLinkResponse as DocumentGenerateDownloadLinkResponse, type DocumentUploadResponse as DocumentUploadResponse, type DocumentUploadJsonResponse as DocumentUploadJsonResponse, type DocServiceDocumentsDefaultFlatPagination as DocServiceDocumentsDefaultFlatPagination, type DocumentUpdateParams as DocumentUpdateParams, type DocumentListParams as DocumentListParams, type DocumentUploadParams as DocumentUploadParams, type DocumentUploadJsonParams as DocumentUploadJsonParams, };
310
316
  }
311
317
  //# sourceMappingURL=documents.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"documents.d.ts","sourceRoot":"","sources":["../src/resources/documents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,8BAA2B;AAE1G,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpF;;;;;;;;;OASG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAIrC;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,wCAAwC,EAAE,kBAAkB,CAAC;IAO5E;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIhF;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;IAQpE;;;;;;;;;;;OAWG;IACH,oBAAoB,CAClB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oCAAoC,CAAC;IAInD;;;;;;;;;;OAUG;IACH,MAAM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AwC,IAAI,wCAAwC,EACzF,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
@@ -84,7 +84,7 @@ class Documents extends resource_1.APIResource {
84
84
  download(id, options) {
85
85
  return this._client.get((0, path_1.path) `/documents/${id}/download`, {
86
86
  ...options,
87
- headers: (0, headers_1.buildHeaders)([{ Accept: 'application/octet-stream' }, options?.headers]),
87
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*' }, options?.headers]),
88
88
  __binaryResponse: true,
89
89
  });
90
90
  }
@@ -1 +1 @@
1
- {"version":3,"file":"documents.js","sourceRoot":"","sources":["../src/resources/documents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA0G;AAC1G,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,cAAc,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CACJ,UAAkB,EAClB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,cAAc,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,EAAE,CAAA,kCAAyC,CAAA,EAAE;YACtF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,C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EAAE,OAAO,CAAC,CAAC;YAC1D,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,oBAAoB,CAClB,EAAU,EACV,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,cAAc,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,MAA4B,EAAE,OAAwB;QAC3D,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mCAAmC,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;;;;;OAUG;IACH,UAAU,CACR,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;CACF;AAhJD,8BAgJC"}
@@ -81,7 +81,7 @@ export class Documents extends APIResource {
81
81
  download(id, options) {
82
82
  return this._client.get(path `/documents/${id}/download`, {
83
83
  ...options,
84
- headers: buildHeaders([{ Accept: 'application/octet-stream' }, options?.headers]),
84
+ headers: buildHeaders([{ Accept: '*' }, options?.headers]),
85
85
  __binaryResponse: true,
86
86
  });
87
87
  }
@@ -1 +1 @@
1
- {"version":3,"file":"documents.mjs","sourceRoot":"","sources":["../src/resources/documents.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,qBAAqB,EAAiD,+BAA2B;AAC1G,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,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