@cartesia/cartesia-js 2.2.9 → 3.0.0-b11

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 (1908) hide show
  1. package/CHANGELOG.md +120 -0
  2. package/LICENSE +201 -0
  3. package/README.md +273 -516
  4. package/api-promise.d.mts +2 -0
  5. package/api-promise.d.mts.map +1 -0
  6. package/api-promise.d.ts +2 -0
  7. package/api-promise.d.ts.map +1 -0
  8. package/api-promise.js +6 -0
  9. package/api-promise.js.map +1 -0
  10. package/api-promise.mjs +2 -0
  11. package/api-promise.mjs.map +1 -0
  12. package/backcompat/errors.d.mts +16 -0
  13. package/backcompat/errors.d.mts.map +1 -0
  14. package/backcompat/errors.d.ts +16 -0
  15. package/backcompat/errors.d.ts.map +1 -0
  16. package/backcompat/errors.js +46 -0
  17. package/backcompat/errors.js.map +1 -0
  18. package/backcompat/errors.mjs +40 -0
  19. package/backcompat/errors.mjs.map +1 -0
  20. package/backcompat/index.d.mts +22 -0
  21. package/backcompat/index.d.mts.map +1 -0
  22. package/backcompat/index.d.ts +22 -0
  23. package/backcompat/index.d.ts.map +1 -0
  24. package/backcompat/index.js +77 -0
  25. package/backcompat/index.js.map +1 -0
  26. package/backcompat/index.mjs +72 -0
  27. package/backcompat/index.mjs.map +1 -0
  28. package/backcompat/tts-wrapper.d.mts +86 -0
  29. package/backcompat/tts-wrapper.d.mts.map +1 -0
  30. package/backcompat/tts-wrapper.d.ts +86 -0
  31. package/backcompat/tts-wrapper.d.ts.map +1 -0
  32. package/backcompat/tts-wrapper.js +269 -0
  33. package/backcompat/tts-wrapper.js.map +1 -0
  34. package/backcompat/tts-wrapper.mjs +263 -0
  35. package/backcompat/tts-wrapper.mjs.map +1 -0
  36. package/backcompat/types.d.mts +18 -0
  37. package/backcompat/types.d.mts.map +1 -0
  38. package/backcompat/types.d.ts +18 -0
  39. package/backcompat/types.d.ts.map +1 -0
  40. package/backcompat/types.js +3 -0
  41. package/backcompat/types.js.map +1 -0
  42. package/backcompat/types.mjs +2 -0
  43. package/backcompat/types.mjs.map +1 -0
  44. package/backcompat/voice-changer-wrapper.d.mts +19 -0
  45. package/backcompat/voice-changer-wrapper.d.mts.map +1 -0
  46. package/backcompat/voice-changer-wrapper.d.ts +19 -0
  47. package/backcompat/voice-changer-wrapper.d.ts.map +1 -0
  48. package/backcompat/voice-changer-wrapper.js +49 -0
  49. package/backcompat/voice-changer-wrapper.js.map +1 -0
  50. package/backcompat/voice-changer-wrapper.mjs +45 -0
  51. package/backcompat/voice-changer-wrapper.mjs.map +1 -0
  52. package/backcompat/voices-wrapper.d.mts +36 -0
  53. package/backcompat/voices-wrapper.d.mts.map +1 -0
  54. package/backcompat/voices-wrapper.d.ts +36 -0
  55. package/backcompat/voices-wrapper.d.ts.map +1 -0
  56. package/backcompat/voices-wrapper.js +82 -0
  57. package/backcompat/voices-wrapper.js.map +1 -0
  58. package/backcompat/voices-wrapper.mjs +78 -0
  59. package/backcompat/voices-wrapper.mjs.map +1 -0
  60. package/client.d.mts +220 -0
  61. package/client.d.mts.map +1 -0
  62. package/client.d.ts +220 -0
  63. package/client.d.ts.map +1 -0
  64. package/client.js +517 -0
  65. package/client.js.map +1 -0
  66. package/client.mjs +513 -0
  67. package/client.mjs.map +1 -0
  68. package/core/EventEmitter.d.mts +45 -0
  69. package/core/EventEmitter.d.mts.map +1 -0
  70. package/core/EventEmitter.d.ts +45 -0
  71. package/core/EventEmitter.d.ts.map +1 -0
  72. package/core/EventEmitter.js +79 -0
  73. package/core/EventEmitter.js.map +1 -0
  74. package/core/EventEmitter.mjs +75 -0
  75. package/core/EventEmitter.mjs.map +1 -0
  76. package/core/api-promise.d.mts +46 -0
  77. package/core/api-promise.d.mts.map +1 -0
  78. package/core/api-promise.d.ts +46 -0
  79. package/core/api-promise.d.ts.map +1 -0
  80. package/core/api-promise.js +74 -0
  81. package/core/api-promise.js.map +1 -0
  82. package/core/api-promise.mjs +70 -0
  83. package/core/api-promise.mjs.map +1 -0
  84. package/core/error.d.mts +46 -0
  85. package/core/error.d.mts.map +1 -0
  86. package/core/error.d.ts +46 -0
  87. package/core/error.d.ts.map +1 -0
  88. package/core/error.js +113 -0
  89. package/core/error.js.map +1 -0
  90. package/core/error.mjs +97 -0
  91. package/core/error.mjs.map +1 -0
  92. package/core/pagination.d.mts +54 -0
  93. package/core/pagination.d.mts.map +1 -0
  94. package/core/pagination.d.ts +54 -0
  95. package/core/pagination.d.ts.map +1 -0
  96. package/core/pagination.js +115 -0
  97. package/core/pagination.js.map +1 -0
  98. package/core/pagination.mjs +109 -0
  99. package/core/pagination.mjs.map +1 -0
  100. package/core/resource.d.mts +6 -0
  101. package/core/resource.d.mts.map +1 -0
  102. package/core/resource.d.ts +6 -0
  103. package/core/resource.d.ts.map +1 -0
  104. package/core/resource.js +11 -0
  105. package/core/resource.js.map +1 -0
  106. package/core/resource.mjs +7 -0
  107. package/core/resource.mjs.map +1 -0
  108. package/core/uploads.d.mts +3 -0
  109. package/core/uploads.d.mts.map +1 -0
  110. package/core/uploads.d.ts +3 -0
  111. package/core/uploads.d.ts.map +1 -0
  112. package/core/uploads.js +6 -0
  113. package/core/uploads.js.map +1 -0
  114. package/core/uploads.mjs +2 -0
  115. package/core/uploads.mjs.map +1 -0
  116. package/error.d.mts +2 -0
  117. package/error.d.mts.map +1 -0
  118. package/error.d.ts +2 -0
  119. package/error.d.ts.map +1 -0
  120. package/error.js +6 -0
  121. package/error.js.map +1 -0
  122. package/error.mjs +2 -0
  123. package/error.mjs.map +1 -0
  124. package/index.d.mts +8 -0
  125. package/index.d.mts.map +1 -0
  126. package/index.d.ts +8 -7
  127. package/index.d.ts.map +1 -0
  128. package/index.js +32 -51
  129. package/index.js.map +1 -0
  130. package/index.mjs +9 -0
  131. package/index.mjs.map +1 -0
  132. package/internal/builtin-types.d.mts +73 -0
  133. package/internal/builtin-types.d.mts.map +1 -0
  134. package/internal/builtin-types.d.ts +73 -0
  135. package/internal/builtin-types.d.ts.map +1 -0
  136. package/internal/builtin-types.js +4 -0
  137. package/internal/builtin-types.js.map +1 -0
  138. package/internal/builtin-types.mjs +3 -0
  139. package/internal/builtin-types.mjs.map +1 -0
  140. package/internal/detect-platform.d.mts +15 -0
  141. package/internal/detect-platform.d.mts.map +1 -0
  142. package/internal/detect-platform.d.ts +15 -0
  143. package/internal/detect-platform.d.ts.map +1 -0
  144. package/internal/detect-platform.js +162 -0
  145. package/internal/detect-platform.js.map +1 -0
  146. package/internal/detect-platform.mjs +157 -0
  147. package/internal/detect-platform.mjs.map +1 -0
  148. package/internal/errors.d.mts +3 -0
  149. package/internal/errors.d.mts.map +1 -0
  150. package/internal/errors.d.ts +3 -0
  151. package/internal/errors.d.ts.map +1 -0
  152. package/internal/errors.js +41 -0
  153. package/internal/errors.js.map +1 -0
  154. package/internal/errors.mjs +36 -0
  155. package/internal/errors.mjs.map +1 -0
  156. package/internal/headers.d.mts +20 -0
  157. package/internal/headers.d.mts.map +1 -0
  158. package/internal/headers.d.ts +20 -0
  159. package/internal/headers.d.ts.map +1 -0
  160. package/internal/headers.js +79 -0
  161. package/internal/headers.js.map +1 -0
  162. package/internal/headers.mjs +74 -0
  163. package/internal/headers.mjs.map +1 -0
  164. package/internal/parse.d.mts +12 -0
  165. package/internal/parse.d.mts.map +1 -0
  166. package/internal/parse.d.ts +12 -0
  167. package/internal/parse.d.ts.map +1 -0
  168. package/internal/parse.js +35 -0
  169. package/internal/parse.js.map +1 -0
  170. package/internal/parse.mjs +32 -0
  171. package/internal/parse.mjs.map +1 -0
  172. package/internal/qs/formats.d.mts +7 -0
  173. package/internal/qs/formats.d.mts.map +1 -0
  174. package/internal/qs/formats.d.ts +7 -0
  175. package/internal/qs/formats.d.ts.map +1 -0
  176. package/internal/qs/formats.js +13 -0
  177. package/internal/qs/formats.js.map +1 -0
  178. package/internal/qs/formats.mjs +9 -0
  179. package/internal/qs/formats.mjs.map +1 -0
  180. package/internal/qs/index.d.mts +10 -0
  181. package/internal/qs/index.d.mts.map +1 -0
  182. package/internal/qs/index.d.ts +10 -0
  183. package/internal/qs/index.d.ts.map +1 -0
  184. package/internal/qs/index.js +14 -0
  185. package/internal/qs/index.js.map +1 -0
  186. package/internal/qs/index.mjs +10 -0
  187. package/internal/qs/index.mjs.map +1 -0
  188. package/internal/qs/stringify.d.mts +3 -0
  189. package/internal/qs/stringify.d.mts.map +1 -0
  190. package/internal/qs/stringify.d.ts +3 -0
  191. package/internal/qs/stringify.d.ts.map +1 -0
  192. package/internal/qs/stringify.js +277 -0
  193. package/internal/qs/stringify.js.map +1 -0
  194. package/internal/qs/stringify.mjs +274 -0
  195. package/internal/qs/stringify.mjs.map +1 -0
  196. package/internal/qs/types.d.mts +57 -0
  197. package/internal/qs/types.d.mts.map +1 -0
  198. package/internal/qs/types.d.ts +57 -0
  199. package/internal/qs/types.d.ts.map +1 -0
  200. package/internal/qs/types.js +3 -0
  201. package/internal/qs/types.js.map +1 -0
  202. package/internal/qs/types.mjs +2 -0
  203. package/internal/qs/types.mjs.map +1 -0
  204. package/internal/qs/utils.d.mts +15 -0
  205. package/internal/qs/utils.d.mts.map +1 -0
  206. package/internal/qs/utils.d.ts +15 -0
  207. package/internal/qs/utils.d.ts.map +1 -0
  208. package/internal/qs/utils.js +230 -0
  209. package/internal/qs/utils.js.map +1 -0
  210. package/internal/qs/utils.mjs +217 -0
  211. package/internal/qs/utils.mjs.map +1 -0
  212. package/internal/request-options.d.mts +75 -0
  213. package/internal/request-options.d.mts.map +1 -0
  214. package/internal/request-options.d.ts +75 -0
  215. package/internal/request-options.d.ts.map +1 -0
  216. package/internal/request-options.js +14 -0
  217. package/internal/request-options.js.map +1 -0
  218. package/internal/request-options.mjs +10 -0
  219. package/internal/request-options.mjs.map +1 -0
  220. package/internal/shim-types.d.mts +17 -0
  221. package/internal/shim-types.d.mts.map +1 -0
  222. package/internal/shim-types.d.ts +17 -0
  223. package/internal/shim-types.d.ts.map +1 -0
  224. package/internal/shim-types.js +4 -0
  225. package/internal/shim-types.js.map +1 -0
  226. package/internal/shim-types.mjs +3 -0
  227. package/internal/shim-types.mjs.map +1 -0
  228. package/internal/shims.d.mts +20 -0
  229. package/internal/shims.d.mts.map +1 -0
  230. package/internal/shims.d.ts +20 -0
  231. package/internal/shims.d.ts.map +1 -0
  232. package/internal/shims.js +92 -0
  233. package/internal/shims.js.map +1 -0
  234. package/internal/shims.mjs +85 -0
  235. package/internal/shims.mjs.map +1 -0
  236. package/internal/to-file.d.mts +45 -0
  237. package/internal/to-file.d.mts.map +1 -0
  238. package/internal/to-file.d.ts +45 -0
  239. package/internal/to-file.d.ts.map +1 -0
  240. package/internal/to-file.js +91 -0
  241. package/internal/to-file.js.map +1 -0
  242. package/internal/to-file.mjs +88 -0
  243. package/internal/to-file.mjs.map +1 -0
  244. package/internal/tslib.js +85 -0
  245. package/internal/tslib.mjs +17 -0
  246. package/internal/types.d.mts +69 -0
  247. package/internal/types.d.mts.map +1 -0
  248. package/internal/types.d.ts +69 -0
  249. package/internal/types.d.ts.map +1 -0
  250. package/internal/types.js +4 -0
  251. package/internal/types.js.map +1 -0
  252. package/internal/types.mjs +3 -0
  253. package/internal/types.mjs.map +1 -0
  254. package/internal/uploads.d.mts +42 -0
  255. package/internal/uploads.d.mts.map +1 -0
  256. package/internal/uploads.d.ts +42 -0
  257. package/internal/uploads.d.ts.map +1 -0
  258. package/internal/uploads.js +141 -0
  259. package/internal/uploads.js.map +1 -0
  260. package/internal/uploads.mjs +131 -0
  261. package/internal/uploads.mjs.map +1 -0
  262. package/internal/utils/base64.d.mts +3 -0
  263. package/internal/utils/base64.d.mts.map +1 -0
  264. package/internal/utils/base64.d.ts +3 -0
  265. package/internal/utils/base64.d.ts.map +1 -0
  266. package/internal/utils/base64.js +38 -0
  267. package/internal/utils/base64.js.map +1 -0
  268. package/internal/utils/base64.mjs +33 -0
  269. package/internal/utils/base64.mjs.map +1 -0
  270. package/internal/utils/bytes.d.mts +4 -0
  271. package/internal/utils/bytes.d.mts.map +1 -0
  272. package/internal/utils/bytes.d.ts +4 -0
  273. package/internal/utils/bytes.d.ts.map +1 -0
  274. package/internal/utils/bytes.js +31 -0
  275. package/internal/utils/bytes.js.map +1 -0
  276. package/internal/utils/bytes.mjs +26 -0
  277. package/internal/utils/bytes.mjs.map +1 -0
  278. package/internal/utils/env.d.mts +9 -0
  279. package/internal/utils/env.d.mts.map +1 -0
  280. package/internal/utils/env.d.ts +9 -0
  281. package/internal/utils/env.d.ts.map +1 -0
  282. package/internal/utils/env.js +22 -0
  283. package/internal/utils/env.js.map +1 -0
  284. package/internal/utils/env.mjs +18 -0
  285. package/internal/utils/env.mjs.map +1 -0
  286. package/internal/utils/log.d.mts +37 -0
  287. package/internal/utils/log.d.mts.map +1 -0
  288. package/internal/utils/log.d.ts +37 -0
  289. package/internal/utils/log.d.ts.map +1 -0
  290. package/internal/utils/log.js +85 -0
  291. package/internal/utils/log.js.map +1 -0
  292. package/internal/utils/log.mjs +79 -0
  293. package/internal/utils/log.mjs.map +1 -0
  294. package/internal/utils/path.d.mts +15 -0
  295. package/internal/utils/path.d.mts.map +1 -0
  296. package/internal/utils/path.d.ts +15 -0
  297. package/internal/utils/path.d.ts.map +1 -0
  298. package/internal/utils/path.js +79 -0
  299. package/internal/utils/path.js.map +1 -0
  300. package/internal/utils/path.mjs +74 -0
  301. package/internal/utils/path.mjs.map +1 -0
  302. package/internal/utils/sleep.d.mts +2 -0
  303. package/internal/utils/sleep.d.mts.map +1 -0
  304. package/internal/utils/sleep.d.ts +2 -0
  305. package/internal/utils/sleep.d.ts.map +1 -0
  306. package/internal/utils/sleep.js +7 -0
  307. package/internal/utils/sleep.js.map +1 -0
  308. package/internal/utils/sleep.mjs +3 -0
  309. package/internal/utils/sleep.mjs.map +1 -0
  310. package/internal/utils/uuid.d.mts +5 -0
  311. package/internal/utils/uuid.d.mts.map +1 -0
  312. package/internal/utils/uuid.d.ts +5 -0
  313. package/internal/utils/uuid.d.ts.map +1 -0
  314. package/internal/utils/uuid.js +19 -0
  315. package/internal/utils/uuid.js.map +1 -0
  316. package/internal/utils/uuid.mjs +15 -0
  317. package/internal/utils/uuid.mjs.map +1 -0
  318. package/internal/utils/values.d.mts +18 -0
  319. package/internal/utils/values.d.mts.map +1 -0
  320. package/internal/utils/values.d.ts +18 -0
  321. package/internal/utils/values.d.ts.map +1 -0
  322. package/internal/utils/values.js +112 -0
  323. package/internal/utils/values.js.map +1 -0
  324. package/internal/utils/values.mjs +94 -0
  325. package/internal/utils/values.mjs.map +1 -0
  326. package/internal/utils.d.mts +7 -0
  327. package/internal/utils.d.mts.map +1 -0
  328. package/internal/utils.d.ts +7 -0
  329. package/internal/utils.d.ts.map +1 -0
  330. package/internal/utils.js +11 -0
  331. package/internal/utils.js.map +1 -0
  332. package/internal/utils.mjs +8 -0
  333. package/internal/utils.mjs.map +1 -0
  334. package/package.json +164 -45
  335. package/pagination.d.mts +2 -0
  336. package/pagination.d.mts.map +1 -0
  337. package/pagination.d.ts +2 -0
  338. package/pagination.d.ts.map +1 -0
  339. package/pagination.js +6 -0
  340. package/pagination.js.map +1 -0
  341. package/pagination.mjs +2 -0
  342. package/pagination.mjs.map +1 -0
  343. package/resource.d.mts +2 -0
  344. package/resource.d.mts.map +1 -0
  345. package/resource.d.ts +2 -0
  346. package/resource.d.ts.map +1 -0
  347. package/resource.js +6 -0
  348. package/resource.js.map +1 -0
  349. package/resource.mjs +2 -0
  350. package/resource.mjs.map +1 -0
  351. package/resources/access-token.d.mts +53 -0
  352. package/resources/access-token.d.mts.map +1 -0
  353. package/resources/access-token.d.ts +53 -0
  354. package/resources/access-token.d.ts.map +1 -0
  355. package/resources/access-token.js +16 -0
  356. package/resources/access-token.js.map +1 -0
  357. package/resources/access-token.mjs +12 -0
  358. package/resources/access-token.mjs.map +1 -0
  359. package/resources/agents/agents.d.mts +244 -0
  360. package/resources/agents/agents.d.mts.map +1 -0
  361. package/resources/agents/agents.d.ts +244 -0
  362. package/resources/agents/agents.d.ts.map +1 -0
  363. package/resources/agents/agents.js +68 -0
  364. package/resources/agents/agents.js.map +1 -0
  365. package/resources/agents/agents.mjs +63 -0
  366. package/resources/agents/agents.mjs.map +1 -0
  367. package/resources/agents/calls.d.mts +218 -0
  368. package/resources/agents/calls.d.mts.map +1 -0
  369. package/resources/agents/calls.d.ts +218 -0
  370. package/resources/agents/calls.d.ts.map +1 -0
  371. package/resources/agents/calls.js +37 -0
  372. package/resources/agents/calls.js.map +1 -0
  373. package/resources/agents/calls.mjs +33 -0
  374. package/resources/agents/calls.mjs.map +1 -0
  375. package/resources/agents/deployments.d.mts +92 -0
  376. package/resources/agents/deployments.d.mts.map +1 -0
  377. package/resources/agents/deployments.d.ts +92 -0
  378. package/resources/agents/deployments.d.ts.map +1 -0
  379. package/resources/agents/deployments.js +22 -0
  380. package/resources/agents/deployments.js.map +1 -0
  381. package/resources/agents/deployments.mjs +18 -0
  382. package/resources/agents/deployments.mjs.map +1 -0
  383. package/resources/agents/index.d.mts +5 -0
  384. package/resources/agents/index.d.mts.map +1 -0
  385. package/resources/agents/index.d.ts +5 -0
  386. package/resources/agents/index.d.ts.map +1 -0
  387. package/resources/agents/index.js +13 -0
  388. package/resources/agents/index.js.map +1 -0
  389. package/resources/agents/index.mjs +6 -0
  390. package/resources/agents/index.mjs.map +1 -0
  391. package/resources/agents/metrics/index.d.mts +3 -0
  392. package/resources/agents/metrics/index.d.mts.map +1 -0
  393. package/resources/agents/metrics/index.d.ts +3 -0
  394. package/resources/agents/metrics/index.d.ts.map +1 -0
  395. package/resources/agents/metrics/index.js +9 -0
  396. package/resources/agents/metrics/index.js.map +1 -0
  397. package/resources/agents/metrics/index.mjs +4 -0
  398. package/resources/agents/metrics/index.mjs.map +1 -0
  399. package/resources/agents/metrics/metrics.d.mts +114 -0
  400. package/resources/agents/metrics/metrics.d.mts.map +1 -0
  401. package/resources/agents/metrics/metrics.d.ts +114 -0
  402. package/resources/agents/metrics/metrics.d.ts.map +1 -0
  403. package/resources/agents/metrics/metrics.js +60 -0
  404. package/resources/agents/metrics/metrics.js.map +1 -0
  405. package/resources/agents/metrics/metrics.mjs +55 -0
  406. package/resources/agents/metrics/metrics.mjs.map +1 -0
  407. package/resources/agents/metrics/results.d.mts +144 -0
  408. package/resources/agents/metrics/results.d.mts.map +1 -0
  409. package/resources/agents/metrics/results.d.ts +144 -0
  410. package/resources/agents/metrics/results.d.ts.map +1 -0
  411. package/resources/agents/metrics/results.js +32 -0
  412. package/resources/agents/metrics/results.js.map +1 -0
  413. package/resources/agents/metrics/results.mjs +28 -0
  414. package/resources/agents/metrics/results.mjs.map +1 -0
  415. package/resources/agents/metrics.d.mts +2 -0
  416. package/resources/agents/metrics.d.mts.map +1 -0
  417. package/resources/agents/metrics.d.ts +2 -0
  418. package/resources/agents/metrics.d.ts.map +1 -0
  419. package/resources/agents/metrics.js +6 -0
  420. package/resources/agents/metrics.js.map +1 -0
  421. package/resources/agents/metrics.mjs +3 -0
  422. package/resources/agents/metrics.mjs.map +1 -0
  423. package/resources/agents.d.mts +2 -0
  424. package/resources/agents.d.mts.map +1 -0
  425. package/resources/agents.d.ts +2 -0
  426. package/resources/agents.d.ts.map +1 -0
  427. package/resources/agents.js +6 -0
  428. package/resources/agents.js.map +1 -0
  429. package/resources/agents.mjs +3 -0
  430. package/resources/agents.mjs.map +1 -0
  431. package/resources/datasets/datasets.d.mts +82 -0
  432. package/resources/datasets/datasets.d.mts.map +1 -0
  433. package/resources/datasets/datasets.d.ts +82 -0
  434. package/resources/datasets/datasets.d.ts.map +1 -0
  435. package/resources/datasets/datasets.js +57 -0
  436. package/resources/datasets/datasets.js.map +1 -0
  437. package/resources/datasets/datasets.mjs +52 -0
  438. package/resources/datasets/datasets.mjs.map +1 -0
  439. package/resources/datasets/files.d.mts +64 -0
  440. package/resources/datasets/files.d.mts.map +1 -0
  441. package/resources/datasets/files.d.ts +64 -0
  442. package/resources/datasets/files.d.ts.map +1 -0
  443. package/resources/datasets/files.js +38 -0
  444. package/resources/datasets/files.js.map +1 -0
  445. package/resources/datasets/files.mjs +34 -0
  446. package/resources/datasets/files.mjs.map +1 -0
  447. package/resources/datasets/index.d.mts +3 -0
  448. package/resources/datasets/index.d.mts.map +1 -0
  449. package/resources/datasets/index.d.ts +3 -0
  450. package/resources/datasets/index.d.ts.map +1 -0
  451. package/resources/datasets/index.js +9 -0
  452. package/resources/datasets/index.js.map +1 -0
  453. package/resources/datasets/index.mjs +4 -0
  454. package/resources/datasets/index.mjs.map +1 -0
  455. package/resources/datasets.d.mts +2 -0
  456. package/resources/datasets.d.mts.map +1 -0
  457. package/resources/datasets.d.ts +2 -0
  458. package/resources/datasets.d.ts.map +1 -0
  459. package/resources/datasets.js +6 -0
  460. package/resources/datasets.js.map +1 -0
  461. package/resources/datasets.mjs +3 -0
  462. package/resources/datasets.mjs.map +1 -0
  463. package/resources/fine-tunes.d.mts +101 -0
  464. package/resources/fine-tunes.d.mts.map +1 -0
  465. package/resources/fine-tunes.d.ts +101 -0
  466. package/resources/fine-tunes.d.ts.map +1 -0
  467. package/resources/fine-tunes.js +48 -0
  468. package/resources/fine-tunes.js.map +1 -0
  469. package/resources/fine-tunes.mjs +44 -0
  470. package/resources/fine-tunes.mjs.map +1 -0
  471. package/resources/index.d.mts +12 -0
  472. package/resources/index.d.mts.map +1 -0
  473. package/resources/index.d.ts +12 -0
  474. package/resources/index.d.ts.map +1 -0
  475. package/resources/index.js +25 -0
  476. package/resources/index.js.map +1 -0
  477. package/resources/index.mjs +12 -0
  478. package/resources/index.mjs.map +1 -0
  479. package/resources/infill.d.mts +71 -0
  480. package/resources/infill.d.mts.map +1 -0
  481. package/resources/infill.d.ts +71 -0
  482. package/resources/infill.d.ts.map +1 -0
  483. package/resources/infill.js +40 -0
  484. package/resources/infill.js.map +1 -0
  485. package/resources/infill.mjs +36 -0
  486. package/resources/infill.mjs.map +1 -0
  487. package/resources/pronunciation-dicts.d.mts +99 -0
  488. package/resources/pronunciation-dicts.d.mts.map +1 -0
  489. package/resources/pronunciation-dicts.d.ts +99 -0
  490. package/resources/pronunciation-dicts.d.ts.map +1 -0
  491. package/resources/pronunciation-dicts.js +48 -0
  492. package/resources/pronunciation-dicts.js.map +1 -0
  493. package/resources/pronunciation-dicts.mjs +44 -0
  494. package/resources/pronunciation-dicts.mjs.map +1 -0
  495. package/resources/stt.d.mts +105 -0
  496. package/resources/stt.d.mts.map +1 -0
  497. package/resources/stt.d.ts +105 -0
  498. package/resources/stt.d.ts.map +1 -0
  499. package/resources/stt.js +33 -0
  500. package/resources/stt.js.map +1 -0
  501. package/resources/stt.mjs +29 -0
  502. package/resources/stt.mjs.map +1 -0
  503. package/resources/top-level.d.mts +8 -0
  504. package/resources/top-level.d.mts.map +1 -0
  505. package/resources/top-level.d.ts +8 -0
  506. package/resources/top-level.d.ts.map +1 -0
  507. package/resources/top-level.js +4 -0
  508. package/resources/top-level.js.map +1 -0
  509. package/resources/top-level.mjs +3 -0
  510. package/resources/top-level.mjs.map +1 -0
  511. package/resources/tts/index.d.mts +2 -0
  512. package/resources/tts/index.d.mts.map +1 -0
  513. package/resources/tts/index.d.ts +2 -0
  514. package/resources/tts/index.d.ts.map +1 -0
  515. package/resources/tts/index.js +7 -0
  516. package/resources/tts/index.js.map +1 -0
  517. package/resources/tts/index.mjs +3 -0
  518. package/resources/tts/index.mjs.map +1 -0
  519. package/resources/tts/internal-base.d.mts +40 -0
  520. package/resources/tts/internal-base.d.mts.map +1 -0
  521. package/resources/tts/internal-base.d.ts +40 -0
  522. package/resources/tts/internal-base.d.ts.map +1 -0
  523. package/resources/tts/internal-base.js +48 -0
  524. package/resources/tts/internal-base.js.map +1 -0
  525. package/resources/tts/internal-base.mjs +42 -0
  526. package/resources/tts/internal-base.mjs.map +1 -0
  527. package/resources/tts/tts.d.mts +373 -0
  528. package/resources/tts/tts.d.mts.map +1 -0
  529. package/resources/tts/tts.d.ts +373 -0
  530. package/resources/tts/tts.d.ts.map +1 -0
  531. package/resources/tts/tts.js +31 -0
  532. package/resources/tts/tts.js.map +1 -0
  533. package/resources/tts/tts.mjs +27 -0
  534. package/resources/tts/tts.mjs.map +1 -0
  535. package/resources/tts/ws.d.mts +17 -0
  536. package/resources/tts/ws.d.mts.map +1 -0
  537. package/resources/tts/ws.d.ts +17 -0
  538. package/resources/tts/ws.d.ts.map +1 -0
  539. package/resources/tts/ws.js +73 -0
  540. package/resources/tts/ws.js.map +1 -0
  541. package/resources/tts/ws.mjs +68 -0
  542. package/resources/tts/ws.mjs.map +1 -0
  543. package/resources/tts.d.mts +2 -0
  544. package/resources/tts.d.mts.map +1 -0
  545. package/resources/tts.d.ts +2 -0
  546. package/resources/tts.d.ts.map +1 -0
  547. package/resources/tts.js +6 -0
  548. package/resources/tts.js.map +1 -0
  549. package/resources/tts.mjs +3 -0
  550. package/resources/tts.mjs.map +1 -0
  551. package/resources/voice-changer.d.mts +50 -0
  552. package/resources/voice-changer.d.mts.map +1 -0
  553. package/resources/voice-changer.d.ts +50 -0
  554. package/resources/voice-changer.d.ts.map +1 -0
  555. package/resources/voice-changer.js +31 -0
  556. package/resources/voice-changer.js.map +1 -0
  557. package/resources/voice-changer.mjs +27 -0
  558. package/resources/voice-changer.mjs.map +1 -0
  559. package/resources/voices.d.mts +249 -0
  560. package/resources/voices.d.mts.map +1 -0
  561. package/resources/voices.d.ts +249 -0
  562. package/resources/voices.d.ts.map +1 -0
  563. package/resources/voices.js +99 -0
  564. package/resources/voices.js.map +1 -0
  565. package/resources/voices.mjs +95 -0
  566. package/resources/voices.mjs.map +1 -0
  567. package/resources.d.mts +2 -0
  568. package/resources.d.mts.map +1 -0
  569. package/resources.d.ts +2 -0
  570. package/resources.d.ts.map +1 -0
  571. package/resources.js +5 -0
  572. package/resources.js.map +1 -0
  573. package/resources.mjs +2 -0
  574. package/resources.mjs.map +1 -0
  575. package/src/api-promise.ts +2 -0
  576. package/src/backcompat/errors.ts +52 -0
  577. package/src/backcompat/index.ts +89 -0
  578. package/src/backcompat/tts-wrapper.ts +351 -0
  579. package/src/backcompat/types.ts +19 -0
  580. package/src/backcompat/voice-changer-wrapper.ts +71 -0
  581. package/src/backcompat/voices-wrapper.ts +163 -0
  582. package/src/client.ts +949 -0
  583. package/src/core/EventEmitter.ts +98 -0
  584. package/src/core/README.md +3 -0
  585. package/src/core/api-promise.ts +92 -0
  586. package/src/core/error.ts +130 -0
  587. package/src/core/pagination.ts +175 -0
  588. package/src/core/resource.ts +11 -0
  589. package/src/core/uploads.ts +2 -0
  590. package/src/error.ts +2 -0
  591. package/src/index.ts +24 -0
  592. package/src/internal/README.md +3 -0
  593. package/src/internal/builtin-types.ts +93 -0
  594. package/src/internal/detect-platform.ts +196 -0
  595. package/src/internal/errors.ts +33 -0
  596. package/src/internal/headers.ts +97 -0
  597. package/src/internal/parse.ts +50 -0
  598. package/src/internal/qs/LICENSE.md +13 -0
  599. package/src/internal/qs/README.md +3 -0
  600. package/src/internal/qs/formats.ts +10 -0
  601. package/src/internal/qs/index.ts +13 -0
  602. package/src/internal/qs/stringify.ts +385 -0
  603. package/src/internal/qs/types.ts +71 -0
  604. package/src/internal/qs/utils.ts +265 -0
  605. package/src/internal/request-options.ts +91 -0
  606. package/src/internal/shim-types.ts +26 -0
  607. package/src/internal/shims.ts +107 -0
  608. package/src/internal/to-file.ts +154 -0
  609. package/src/internal/types.ts +95 -0
  610. package/src/internal/uploads.ts +187 -0
  611. package/src/internal/utils/base64.ts +40 -0
  612. package/src/internal/utils/bytes.ts +32 -0
  613. package/src/internal/utils/env.ts +18 -0
  614. package/src/internal/utils/log.ts +126 -0
  615. package/src/internal/utils/path.ts +88 -0
  616. package/src/internal/utils/sleep.ts +3 -0
  617. package/src/internal/utils/uuid.ts +17 -0
  618. package/src/internal/utils/values.ts +105 -0
  619. package/src/internal/utils.ts +8 -0
  620. package/src/lib/.keep +4 -0
  621. package/src/pagination.ts +2 -0
  622. package/src/resource.ts +2 -0
  623. package/src/resources/access-token.ts +67 -0
  624. package/src/resources/agents/agents.ts +351 -0
  625. package/src/resources/agents/calls.ts +274 -0
  626. package/src/resources/agents/deployments.ts +119 -0
  627. package/src/resources/agents/index.ts +27 -0
  628. package/src/resources/agents/metrics/index.ts +19 -0
  629. package/src/resources/agents/metrics/metrics.ts +188 -0
  630. package/src/resources/agents/metrics/results.ts +196 -0
  631. package/src/resources/agents/metrics.ts +3 -0
  632. package/src/resources/agents.ts +3 -0
  633. package/src/resources/datasets/datasets.ts +145 -0
  634. package/src/resources/datasets/files.ts +110 -0
  635. package/src/resources/datasets/index.ts +18 -0
  636. package/src/resources/datasets.ts +3 -0
  637. package/src/resources/fine-tunes.ts +155 -0
  638. package/src/resources/index.ts +69 -0
  639. package/src/resources/infill.ts +105 -0
  640. package/src/resources/pronunciation-dicts.ts +152 -0
  641. package/src/resources/stt.ts +232 -0
  642. package/src/resources/top-level.ts +11 -0
  643. package/src/resources/tts/index.ts +14 -0
  644. package/src/resources/tts/internal-base.ts +89 -0
  645. package/src/resources/tts/tts.ts +551 -0
  646. package/src/resources/tts/ws.ts +79 -0
  647. package/src/resources/tts.ts +3 -0
  648. package/src/resources/voice-changer.ts +92 -0
  649. package/src/resources/voices.ts +392 -0
  650. package/src/resources.ts +1 -0
  651. package/src/tsconfig.json +11 -0
  652. package/src/uploads.ts +2 -0
  653. package/src/version.ts +1 -0
  654. package/uploads.d.mts +2 -0
  655. package/uploads.d.mts.map +1 -0
  656. package/uploads.d.ts +2 -0
  657. package/uploads.d.ts.map +1 -0
  658. package/uploads.js +6 -0
  659. package/uploads.js.map +1 -0
  660. package/uploads.mjs +2 -0
  661. package/uploads.mjs.map +1 -0
  662. package/version.d.mts +2 -0
  663. package/version.d.mts.map +1 -0
  664. package/version.d.ts +2 -1
  665. package/version.d.ts.map +1 -0
  666. package/version.js +3 -2
  667. package/version.js.map +1 -0
  668. package/version.mjs +2 -0
  669. package/version.mjs.map +1 -0
  670. package/Client.d.ts +0 -53
  671. package/Client.js +0 -47
  672. package/api/index.d.ts +0 -1
  673. package/api/index.js +0 -17
  674. package/api/resources/apiStatus/client/Client.d.ts +0 -43
  675. package/api/resources/apiStatus/client/Client.js +0 -113
  676. package/api/resources/apiStatus/client/index.d.ts +0 -1
  677. package/api/resources/apiStatus/client/index.js +0 -2
  678. package/api/resources/apiStatus/index.d.ts +0 -2
  679. package/api/resources/apiStatus/index.js +0 -18
  680. package/api/resources/apiStatus/types/ApiInfo.d.ts +0 -7
  681. package/api/resources/apiStatus/types/ApiInfo.js +0 -5
  682. package/api/resources/apiStatus/types/index.d.ts +0 -1
  683. package/api/resources/apiStatus/types/index.js +0 -17
  684. package/api/resources/auth/client/Client.d.ts +0 -68
  685. package/api/resources/auth/client/Client.js +0 -143
  686. package/api/resources/auth/client/index.d.ts +0 -1
  687. package/api/resources/auth/client/index.js +0 -2
  688. package/api/resources/auth/index.d.ts +0 -2
  689. package/api/resources/auth/index.js +0 -18
  690. package/api/resources/auth/types/TokenGrant.d.ts +0 -9
  691. package/api/resources/auth/types/TokenGrant.js +0 -5
  692. package/api/resources/auth/types/TokenRequest.d.ts +0 -10
  693. package/api/resources/auth/types/TokenRequest.js +0 -5
  694. package/api/resources/auth/types/TokenResponse.d.ts +0 -7
  695. package/api/resources/auth/types/TokenResponse.js +0 -5
  696. package/api/resources/auth/types/index.d.ts +0 -3
  697. package/api/resources/auth/types/index.js +0 -19
  698. package/api/resources/embedding/index.d.ts +0 -1
  699. package/api/resources/embedding/index.js +0 -17
  700. package/api/resources/embedding/types/Embedding.d.ts +0 -10
  701. package/api/resources/embedding/types/Embedding.js +0 -5
  702. package/api/resources/embedding/types/index.d.ts +0 -1
  703. package/api/resources/embedding/types/index.js +0 -17
  704. package/api/resources/index.d.ts +0 -19
  705. package/api/resources/index.js +0 -58
  706. package/api/resources/infill/client/Client.d.ts +0 -57
  707. package/api/resources/infill/client/Client.js +0 -156
  708. package/api/resources/infill/client/index.d.ts +0 -1
  709. package/api/resources/infill/client/index.js +0 -17
  710. package/api/resources/infill/client/requests/InfillBytesRequest.d.ts +0 -63
  711. package/api/resources/infill/client/requests/InfillBytesRequest.js +0 -5
  712. package/api/resources/infill/client/requests/index.d.ts +0 -1
  713. package/api/resources/infill/client/requests/index.js +0 -2
  714. package/api/resources/infill/index.d.ts +0 -1
  715. package/api/resources/infill/index.js +0 -17
  716. package/api/resources/stt/client/Client.d.ts +0 -71
  717. package/api/resources/stt/client/Client.js +0 -166
  718. package/api/resources/stt/client/index.d.ts +0 -1
  719. package/api/resources/stt/client/index.js +0 -17
  720. package/api/resources/stt/client/requests/TranscriptionRequest.d.ts +0 -147
  721. package/api/resources/stt/client/requests/TranscriptionRequest.js +0 -5
  722. package/api/resources/stt/client/requests/index.d.ts +0 -1
  723. package/api/resources/stt/client/requests/index.js +0 -2
  724. package/api/resources/stt/index.d.ts +0 -2
  725. package/api/resources/stt/index.js +0 -18
  726. package/api/resources/stt/types/DoneMessage.d.ts +0 -10
  727. package/api/resources/stt/types/DoneMessage.js +0 -5
  728. package/api/resources/stt/types/ErrorMessage.d.ts +0 -9
  729. package/api/resources/stt/types/ErrorMessage.js +0 -5
  730. package/api/resources/stt/types/FlushDoneMessage.d.ts +0 -10
  731. package/api/resources/stt/types/FlushDoneMessage.js +0 -5
  732. package/api/resources/stt/types/StreamingTranscriptionResponse.d.ts +0 -22
  733. package/api/resources/stt/types/StreamingTranscriptionResponse.js +0 -5
  734. package/api/resources/stt/types/SttEncoding.d.ts +0 -15
  735. package/api/resources/stt/types/SttEncoding.js +0 -14
  736. package/api/resources/stt/types/TimestampGranularity.d.ts +0 -12
  737. package/api/resources/stt/types/TimestampGranularity.js +0 -9
  738. package/api/resources/stt/types/TranscriptMessage.d.ts +0 -22
  739. package/api/resources/stt/types/TranscriptMessage.js +0 -5
  740. package/api/resources/stt/types/TranscriptionResponse.d.ts +0 -14
  741. package/api/resources/stt/types/TranscriptionResponse.js +0 -5
  742. package/api/resources/stt/types/TranscriptionWord.d.ts +0 -11
  743. package/api/resources/stt/types/TranscriptionWord.js +0 -5
  744. package/api/resources/stt/types/index.d.ts +0 -9
  745. package/api/resources/stt/types/index.js +0 -25
  746. package/api/resources/tts/client/Client.d.ts +0 -39
  747. package/api/resources/tts/client/Client.js +0 -162
  748. package/api/resources/tts/client/index.d.ts +0 -1
  749. package/api/resources/tts/client/index.js +0 -2
  750. package/api/resources/tts/index.d.ts +0 -2
  751. package/api/resources/tts/index.js +0 -18
  752. package/api/resources/tts/types/CancelContextRequest.d.ts +0 -10
  753. package/api/resources/tts/types/CancelContextRequest.js +0 -5
  754. package/api/resources/tts/types/ContextId.d.ts +0 -9
  755. package/api/resources/tts/types/ContextId.js +0 -5
  756. package/api/resources/tts/types/Controls.d.ts +0 -8
  757. package/api/resources/tts/types/Controls.js +0 -5
  758. package/api/resources/tts/types/Emotion.d.ts +0 -7
  759. package/api/resources/tts/types/Emotion.js +0 -5
  760. package/api/resources/tts/types/EmotionDeprecated.d.ts +0 -38
  761. package/api/resources/tts/types/EmotionDeprecated.js +0 -33
  762. package/api/resources/tts/types/FlushId.d.ts +0 -9
  763. package/api/resources/tts/types/FlushId.js +0 -5
  764. package/api/resources/tts/types/GenerationConfig.d.ts +0 -15
  765. package/api/resources/tts/types/GenerationConfig.js +0 -5
  766. package/api/resources/tts/types/GenerationRequest.d.ts +0 -44
  767. package/api/resources/tts/types/GenerationRequest.js +0 -5
  768. package/api/resources/tts/types/ModelSpeed.d.ts +0 -16
  769. package/api/resources/tts/types/ModelSpeed.js +0 -11
  770. package/api/resources/tts/types/Mp3OutputFormat.d.ts +0 -9
  771. package/api/resources/tts/types/Mp3OutputFormat.js +0 -5
  772. package/api/resources/tts/types/NaturalSpecifier.d.ts +0 -11
  773. package/api/resources/tts/types/NaturalSpecifier.js +0 -13
  774. package/api/resources/tts/types/NumericalSpecifier.d.ts +0 -4
  775. package/api/resources/tts/types/NumericalSpecifier.js +0 -5
  776. package/api/resources/tts/types/OutputFormat.d.ts +0 -16
  777. package/api/resources/tts/types/OutputFormat.js +0 -5
  778. package/api/resources/tts/types/PhonemeTimestamps.d.ts +0 -8
  779. package/api/resources/tts/types/PhonemeTimestamps.js +0 -5
  780. package/api/resources/tts/types/RawEncoding.d.ts +0 -10
  781. package/api/resources/tts/types/RawEncoding.js +0 -12
  782. package/api/resources/tts/types/RawOutputFormat.d.ts +0 -10
  783. package/api/resources/tts/types/RawOutputFormat.js +0 -5
  784. package/api/resources/tts/types/Speed.d.ts +0 -10
  785. package/api/resources/tts/types/Speed.js +0 -5
  786. package/api/resources/tts/types/SseOutputFormat.d.ts +0 -10
  787. package/api/resources/tts/types/SseOutputFormat.js +0 -5
  788. package/api/resources/tts/types/SupportedLanguage.d.ts +0 -26
  789. package/api/resources/tts/types/SupportedLanguage.js +0 -23
  790. package/api/resources/tts/types/TtsRequest.d.ts +0 -21
  791. package/api/resources/tts/types/TtsRequest.js +0 -5
  792. package/api/resources/tts/types/TtsRequestEmbeddingSpecifier.d.ts +0 -9
  793. package/api/resources/tts/types/TtsRequestEmbeddingSpecifier.js +0 -5
  794. package/api/resources/tts/types/TtsRequestIdSpecifier.d.ts +0 -9
  795. package/api/resources/tts/types/TtsRequestIdSpecifier.js +0 -5
  796. package/api/resources/tts/types/TtsRequestVoiceSpecifier.d.ts +0 -5
  797. package/api/resources/tts/types/TtsRequestVoiceSpecifier.js +0 -5
  798. package/api/resources/tts/types/TtssseRequest.d.ts +0 -29
  799. package/api/resources/tts/types/TtssseRequest.js +0 -5
  800. package/api/resources/tts/types/WavOutputFormat.d.ts +0 -6
  801. package/api/resources/tts/types/WavOutputFormat.js +0 -5
  802. package/api/resources/tts/types/WebSocketBaseResponse.d.ts +0 -9
  803. package/api/resources/tts/types/WebSocketBaseResponse.js +0 -5
  804. package/api/resources/tts/types/WebSocketChunkResponse.d.ts +0 -8
  805. package/api/resources/tts/types/WebSocketChunkResponse.js +0 -5
  806. package/api/resources/tts/types/WebSocketDoneResponse.d.ts +0 -6
  807. package/api/resources/tts/types/WebSocketDoneResponse.js +0 -5
  808. package/api/resources/tts/types/WebSocketErrorResponse.d.ts +0 -7
  809. package/api/resources/tts/types/WebSocketErrorResponse.js +0 -5
  810. package/api/resources/tts/types/WebSocketFlushDoneResponse.d.ts +0 -8
  811. package/api/resources/tts/types/WebSocketFlushDoneResponse.js +0 -5
  812. package/api/resources/tts/types/WebSocketPhonemeTimestampsResponse.d.ts +0 -7
  813. package/api/resources/tts/types/WebSocketPhonemeTimestampsResponse.js +0 -5
  814. package/api/resources/tts/types/WebSocketRawOutputFormat.d.ts +0 -10
  815. package/api/resources/tts/types/WebSocketRawOutputFormat.js +0 -5
  816. package/api/resources/tts/types/WebSocketRequest.d.ts +0 -11
  817. package/api/resources/tts/types/WebSocketRequest.js +0 -5
  818. package/api/resources/tts/types/WebSocketResponse.d.ts +0 -25
  819. package/api/resources/tts/types/WebSocketResponse.js +0 -5
  820. package/api/resources/tts/types/WebSocketStreamOptions.d.ts +0 -6
  821. package/api/resources/tts/types/WebSocketStreamOptions.js +0 -5
  822. package/api/resources/tts/types/WebSocketTimestampsResponse.d.ts +0 -7
  823. package/api/resources/tts/types/WebSocketTimestampsResponse.js +0 -5
  824. package/api/resources/tts/types/WebSocketTtsOutput.d.ts +0 -12
  825. package/api/resources/tts/types/WebSocketTtsOutput.js +0 -5
  826. package/api/resources/tts/types/WebSocketTtsRequest.d.ts +0 -25
  827. package/api/resources/tts/types/WebSocketTtsRequest.js +0 -5
  828. package/api/resources/tts/types/WordTimestamps.d.ts +0 -8
  829. package/api/resources/tts/types/WordTimestamps.js +0 -5
  830. package/api/resources/tts/types/index.d.ts +0 -39
  831. package/api/resources/tts/types/index.js +0 -55
  832. package/api/resources/voiceChanger/client/Client.d.ts +0 -46
  833. package/api/resources/voiceChanger/client/Client.js +0 -195
  834. package/api/resources/voiceChanger/client/index.d.ts +0 -1
  835. package/api/resources/voiceChanger/client/index.js +0 -17
  836. package/api/resources/voiceChanger/client/requests/VoiceChangerBytesRequest.d.ts +0 -39
  837. package/api/resources/voiceChanger/client/requests/VoiceChangerBytesRequest.js +0 -5
  838. package/api/resources/voiceChanger/client/requests/VoiceChangerSseRequest.d.ts +0 -39
  839. package/api/resources/voiceChanger/client/requests/VoiceChangerSseRequest.js +0 -5
  840. package/api/resources/voiceChanger/client/requests/index.d.ts +0 -2
  841. package/api/resources/voiceChanger/client/requests/index.js +0 -2
  842. package/api/resources/voiceChanger/index.d.ts +0 -2
  843. package/api/resources/voiceChanger/index.js +0 -18
  844. package/api/resources/voiceChanger/types/OutputFormatContainer.d.ts +0 -9
  845. package/api/resources/voiceChanger/types/OutputFormatContainer.js +0 -11
  846. package/api/resources/voiceChanger/types/StreamingResponse.d.ts +0 -16
  847. package/api/resources/voiceChanger/types/StreamingResponse.js +0 -5
  848. package/api/resources/voiceChanger/types/index.d.ts +0 -2
  849. package/api/resources/voiceChanger/types/index.js +0 -18
  850. package/api/resources/voices/client/Client.d.ts +0 -150
  851. package/api/resources/voices/client/Client.js +0 -530
  852. package/api/resources/voices/client/index.d.ts +0 -1
  853. package/api/resources/voices/client/index.js +0 -17
  854. package/api/resources/voices/client/requests/CloneVoiceRequest.d.ts +0 -35
  855. package/api/resources/voices/client/requests/CloneVoiceRequest.js +0 -5
  856. package/api/resources/voices/client/requests/index.d.ts +0 -1
  857. package/api/resources/voices/client/requests/index.js +0 -2
  858. package/api/resources/voices/index.d.ts +0 -2
  859. package/api/resources/voices/index.js +0 -18
  860. package/api/resources/voices/types/BaseVoiceId.d.ts +0 -8
  861. package/api/resources/voices/types/BaseVoiceId.js +0 -5
  862. package/api/resources/voices/types/CloneMode.d.ts +0 -8
  863. package/api/resources/voices/types/CloneMode.js +0 -10
  864. package/api/resources/voices/types/CreateVoiceRequest.d.ts +0 -13
  865. package/api/resources/voices/types/CreateVoiceRequest.js +0 -5
  866. package/api/resources/voices/types/EmbeddingResponse.d.ts +0 -7
  867. package/api/resources/voices/types/EmbeddingResponse.js +0 -5
  868. package/api/resources/voices/types/EmbeddingSpecifier.d.ts +0 -8
  869. package/api/resources/voices/types/EmbeddingSpecifier.js +0 -5
  870. package/api/resources/voices/types/Gender.d.ts +0 -8
  871. package/api/resources/voices/types/Gender.js +0 -10
  872. package/api/resources/voices/types/IdSpecifier.d.ts +0 -8
  873. package/api/resources/voices/types/IdSpecifier.js +0 -5
  874. package/api/resources/voices/types/LocalizeDialect.d.ts +0 -20
  875. package/api/resources/voices/types/LocalizeDialect.js +0 -5
  876. package/api/resources/voices/types/LocalizeEnglishDialect.d.ts +0 -11
  877. package/api/resources/voices/types/LocalizeEnglishDialect.js +0 -13
  878. package/api/resources/voices/types/LocalizeFrenchDialect.d.ts +0 -8
  879. package/api/resources/voices/types/LocalizeFrenchDialect.js +0 -10
  880. package/api/resources/voices/types/LocalizePortugueseDialect.d.ts +0 -8
  881. package/api/resources/voices/types/LocalizePortugueseDialect.js +0 -10
  882. package/api/resources/voices/types/LocalizeSpanishDialect.d.ts +0 -8
  883. package/api/resources/voices/types/LocalizeSpanishDialect.js +0 -10
  884. package/api/resources/voices/types/LocalizeTargetLanguage.d.ts +0 -26
  885. package/api/resources/voices/types/LocalizeTargetLanguage.js +0 -23
  886. package/api/resources/voices/types/LocalizeVoiceRequest.d.ts +0 -15
  887. package/api/resources/voices/types/LocalizeVoiceRequest.js +0 -5
  888. package/api/resources/voices/types/MixVoiceSpecifier.d.ts +0 -5
  889. package/api/resources/voices/types/MixVoiceSpecifier.js +0 -5
  890. package/api/resources/voices/types/MixVoicesRequest.d.ts +0 -7
  891. package/api/resources/voices/types/MixVoicesRequest.js +0 -5
  892. package/api/resources/voices/types/UpdateVoiceRequest.d.ts +0 -9
  893. package/api/resources/voices/types/UpdateVoiceRequest.js +0 -5
  894. package/api/resources/voices/types/Voice.d.ts +0 -19
  895. package/api/resources/voices/types/Voice.js +0 -5
  896. package/api/resources/voices/types/VoiceId.d.ts +0 -7
  897. package/api/resources/voices/types/VoiceId.js +0 -5
  898. package/api/resources/voices/types/VoiceMetadata.d.ts +0 -18
  899. package/api/resources/voices/types/VoiceMetadata.js +0 -5
  900. package/api/resources/voices/types/Weight.d.ts +0 -7
  901. package/api/resources/voices/types/Weight.js +0 -5
  902. package/api/resources/voices/types/index.d.ts +0 -21
  903. package/api/resources/voices/types/index.js +0 -37
  904. package/core/fetcher/APIResponse.d.ts +0 -10
  905. package/core/fetcher/APIResponse.js +0 -2
  906. package/core/fetcher/Fetcher.d.ts +0 -39
  907. package/core/fetcher/Fetcher.js +0 -100
  908. package/core/fetcher/Supplier.d.ts +0 -4
  909. package/core/fetcher/Supplier.js +0 -22
  910. package/core/fetcher/createRequestUrl.d.ts +0 -1
  911. package/core/fetcher/createRequestUrl.js +0 -12
  912. package/core/fetcher/getFetchFn.d.ts +0 -4
  913. package/core/fetcher/getFetchFn.js +0 -68
  914. package/core/fetcher/getHeader.d.ts +0 -1
  915. package/core/fetcher/getHeader.js +0 -11
  916. package/core/fetcher/getRequestBody.d.ts +0 -7
  917. package/core/fetcher/getRequestBody.js +0 -23
  918. package/core/fetcher/getResponseBody.d.ts +0 -1
  919. package/core/fetcher/getResponseBody.js +0 -54
  920. package/core/fetcher/index.d.ts +0 -5
  921. package/core/fetcher/index.js +0 -9
  922. package/core/fetcher/makeRequest.d.ts +0 -1
  923. package/core/fetcher/makeRequest.js +0 -42
  924. package/core/fetcher/requestWithRetries.d.ts +0 -1
  925. package/core/fetcher/requestWithRetries.js +0 -40
  926. package/core/fetcher/signals.d.ts +0 -11
  927. package/core/fetcher/signals.js +0 -36
  928. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  929. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  930. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  931. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  932. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  933. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  934. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  935. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  936. package/core/form-data-utils/FormDataWrapper.d.ts +0 -60
  937. package/core/form-data-utils/FormDataWrapper.js +0 -184
  938. package/core/form-data-utils/index.d.ts +0 -1
  939. package/core/form-data-utils/index.js +0 -17
  940. package/core/index.d.ts +0 -5
  941. package/core/index.js +0 -44
  942. package/core/json.d.ts +0 -15
  943. package/core/json.js +0 -24
  944. package/core/runtime/index.d.ts +0 -1
  945. package/core/runtime/index.js +0 -5
  946. package/core/runtime/runtime.d.ts +0 -9
  947. package/core/runtime/runtime.js +0 -103
  948. package/core/schemas/Schema.d.ts +0 -87
  949. package/core/schemas/Schema.js +0 -24
  950. package/core/schemas/builders/bigint/bigint.d.ts +0 -2
  951. package/core/schemas/builders/bigint/bigint.js +0 -53
  952. package/core/schemas/builders/bigint/index.d.ts +0 -1
  953. package/core/schemas/builders/bigint/index.js +0 -5
  954. package/core/schemas/builders/date/date.d.ts +0 -2
  955. package/core/schemas/builders/date/date.js +0 -62
  956. package/core/schemas/builders/date/index.d.ts +0 -1
  957. package/core/schemas/builders/date/index.js +0 -5
  958. package/core/schemas/builders/enum/enum.d.ts +0 -2
  959. package/core/schemas/builders/enum/enum.js +0 -38
  960. package/core/schemas/builders/enum/index.d.ts +0 -1
  961. package/core/schemas/builders/enum/index.js +0 -5
  962. package/core/schemas/builders/index.d.ts +0 -14
  963. package/core/schemas/builders/index.js +0 -30
  964. package/core/schemas/builders/lazy/index.d.ts +0 -3
  965. package/core/schemas/builders/lazy/index.js +0 -7
  966. package/core/schemas/builders/lazy/lazy.d.ts +0 -5
  967. package/core/schemas/builders/lazy/lazy.js +0 -24
  968. package/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
  969. package/core/schemas/builders/lazy/lazyObject.js +0 -11
  970. package/core/schemas/builders/list/index.d.ts +0 -1
  971. package/core/schemas/builders/list/index.js +0 -5
  972. package/core/schemas/builders/list/list.d.ts +0 -2
  973. package/core/schemas/builders/list/list.js +0 -54
  974. package/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
  975. package/core/schemas/builders/literals/booleanLiteral.js +0 -28
  976. package/core/schemas/builders/literals/index.d.ts +0 -2
  977. package/core/schemas/builders/literals/index.js +0 -7
  978. package/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
  979. package/core/schemas/builders/literals/stringLiteral.js +0 -28
  980. package/core/schemas/builders/object/index.d.ts +0 -6
  981. package/core/schemas/builders/object/index.js +0 -11
  982. package/core/schemas/builders/object/object.d.ts +0 -3
  983. package/core/schemas/builders/object/object.js +0 -261
  984. package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
  985. package/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
  986. package/core/schemas/builders/object/property.d.ts +0 -8
  987. package/core/schemas/builders/object/property.js +0 -15
  988. package/core/schemas/builders/object/types.d.ts +0 -31
  989. package/core/schemas/builders/object/types.js +0 -2
  990. package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
  991. package/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
  992. package/core/schemas/builders/object-like/index.d.ts +0 -2
  993. package/core/schemas/builders/object-like/index.js +0 -6
  994. package/core/schemas/builders/object-like/types.d.ts +0 -7
  995. package/core/schemas/builders/object-like/types.js +0 -2
  996. package/core/schemas/builders/primitives/any.d.ts +0 -1
  997. package/core/schemas/builders/primitives/any.js +0 -6
  998. package/core/schemas/builders/primitives/boolean.d.ts +0 -1
  999. package/core/schemas/builders/primitives/boolean.js +0 -25
  1000. package/core/schemas/builders/primitives/index.d.ts +0 -5
  1001. package/core/schemas/builders/primitives/index.js +0 -13
  1002. package/core/schemas/builders/primitives/number.d.ts +0 -1
  1003. package/core/schemas/builders/primitives/number.js +0 -25
  1004. package/core/schemas/builders/primitives/string.d.ts +0 -1
  1005. package/core/schemas/builders/primitives/string.js +0 -25
  1006. package/core/schemas/builders/primitives/unknown.d.ts +0 -1
  1007. package/core/schemas/builders/primitives/unknown.js +0 -6
  1008. package/core/schemas/builders/record/index.d.ts +0 -2
  1009. package/core/schemas/builders/record/index.js +0 -5
  1010. package/core/schemas/builders/record/record.d.ts +0 -3
  1011. package/core/schemas/builders/record/record.js +0 -93
  1012. package/core/schemas/builders/record/types.d.ts +0 -4
  1013. package/core/schemas/builders/record/types.js +0 -2
  1014. package/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
  1015. package/core/schemas/builders/schema-utils/JsonError.js +0 -12
  1016. package/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
  1017. package/core/schemas/builders/schema-utils/ParseError.js +0 -12
  1018. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -21
  1019. package/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -145
  1020. package/core/schemas/builders/schema-utils/index.d.ts +0 -4
  1021. package/core/schemas/builders/schema-utils/index.js +0 -11
  1022. package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
  1023. package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
  1024. package/core/schemas/builders/set/index.d.ts +0 -1
  1025. package/core/schemas/builders/set/index.js +0 -5
  1026. package/core/schemas/builders/set/set.d.ts +0 -2
  1027. package/core/schemas/builders/set/set.js +0 -43
  1028. package/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
  1029. package/core/schemas/builders/undiscriminated-union/index.js +0 -5
  1030. package/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
  1031. package/core/schemas/builders/undiscriminated-union/types.js +0 -2
  1032. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
  1033. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
  1034. package/core/schemas/builders/union/discriminant.d.ts +0 -5
  1035. package/core/schemas/builders/union/discriminant.js +0 -9
  1036. package/core/schemas/builders/union/index.d.ts +0 -4
  1037. package/core/schemas/builders/union/index.js +0 -7
  1038. package/core/schemas/builders/union/types.d.ts +0 -13
  1039. package/core/schemas/builders/union/types.js +0 -2
  1040. package/core/schemas/builders/union/union.d.ts +0 -4
  1041. package/core/schemas/builders/union/union.js +0 -129
  1042. package/core/schemas/index.d.ts +0 -2
  1043. package/core/schemas/index.js +0 -17
  1044. package/core/schemas/utils/MaybePromise.d.ts +0 -1
  1045. package/core/schemas/utils/MaybePromise.js +0 -2
  1046. package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
  1047. package/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
  1048. package/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
  1049. package/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
  1050. package/core/schemas/utils/entries.d.ts +0 -1
  1051. package/core/schemas/utils/entries.js +0 -6
  1052. package/core/schemas/utils/filterObject.d.ts +0 -1
  1053. package/core/schemas/utils/filterObject.js +0 -13
  1054. package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
  1055. package/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
  1056. package/core/schemas/utils/isPlainObject.d.ts +0 -1
  1057. package/core/schemas/utils/isPlainObject.js +0 -17
  1058. package/core/schemas/utils/keys.d.ts +0 -1
  1059. package/core/schemas/utils/keys.js +0 -6
  1060. package/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
  1061. package/core/schemas/utils/maybeSkipValidation.js +0 -27
  1062. package/core/schemas/utils/partition.d.ts +0 -1
  1063. package/core/schemas/utils/partition.js +0 -15
  1064. package/core/streaming-fetcher/Stream.d.ts +0 -47
  1065. package/core/streaming-fetcher/Stream.js +0 -169
  1066. package/core/streaming-fetcher/index.d.ts +0 -1
  1067. package/core/streaming-fetcher/index.js +0 -5
  1068. package/core/websocket/events.d.ts +0 -36
  1069. package/core/websocket/events.js +0 -27
  1070. package/core/websocket/index.d.ts +0 -1
  1071. package/core/websocket/index.js +0 -17
  1072. package/core/websocket/ws.d.ts +0 -137
  1073. package/core/websocket/ws.js +0 -448
  1074. package/dist/Client.d.ts +0 -53
  1075. package/dist/Client.js +0 -47
  1076. package/dist/api/index.d.ts +0 -1
  1077. package/dist/api/index.js +0 -17
  1078. package/dist/api/resources/apiStatus/client/Client.d.ts +0 -43
  1079. package/dist/api/resources/apiStatus/client/Client.js +0 -113
  1080. package/dist/api/resources/apiStatus/client/index.d.ts +0 -1
  1081. package/dist/api/resources/apiStatus/client/index.js +0 -2
  1082. package/dist/api/resources/apiStatus/index.d.ts +0 -2
  1083. package/dist/api/resources/apiStatus/index.js +0 -18
  1084. package/dist/api/resources/apiStatus/types/ApiInfo.d.ts +0 -7
  1085. package/dist/api/resources/apiStatus/types/ApiInfo.js +0 -5
  1086. package/dist/api/resources/apiStatus/types/index.d.ts +0 -1
  1087. package/dist/api/resources/apiStatus/types/index.js +0 -17
  1088. package/dist/api/resources/auth/client/Client.d.ts +0 -68
  1089. package/dist/api/resources/auth/client/Client.js +0 -143
  1090. package/dist/api/resources/auth/client/index.d.ts +0 -1
  1091. package/dist/api/resources/auth/client/index.js +0 -2
  1092. package/dist/api/resources/auth/index.d.ts +0 -2
  1093. package/dist/api/resources/auth/index.js +0 -18
  1094. package/dist/api/resources/auth/types/TokenGrant.d.ts +0 -9
  1095. package/dist/api/resources/auth/types/TokenGrant.js +0 -5
  1096. package/dist/api/resources/auth/types/TokenRequest.d.ts +0 -10
  1097. package/dist/api/resources/auth/types/TokenRequest.js +0 -5
  1098. package/dist/api/resources/auth/types/TokenResponse.d.ts +0 -7
  1099. package/dist/api/resources/auth/types/TokenResponse.js +0 -5
  1100. package/dist/api/resources/auth/types/index.d.ts +0 -3
  1101. package/dist/api/resources/auth/types/index.js +0 -19
  1102. package/dist/api/resources/embedding/index.d.ts +0 -1
  1103. package/dist/api/resources/embedding/index.js +0 -17
  1104. package/dist/api/resources/embedding/types/Embedding.d.ts +0 -10
  1105. package/dist/api/resources/embedding/types/Embedding.js +0 -5
  1106. package/dist/api/resources/embedding/types/index.d.ts +0 -1
  1107. package/dist/api/resources/embedding/types/index.js +0 -17
  1108. package/dist/api/resources/index.d.ts +0 -19
  1109. package/dist/api/resources/index.js +0 -58
  1110. package/dist/api/resources/infill/client/Client.d.ts +0 -57
  1111. package/dist/api/resources/infill/client/Client.js +0 -156
  1112. package/dist/api/resources/infill/client/index.d.ts +0 -1
  1113. package/dist/api/resources/infill/client/index.js +0 -17
  1114. package/dist/api/resources/infill/client/requests/InfillBytesRequest.d.ts +0 -63
  1115. package/dist/api/resources/infill/client/requests/InfillBytesRequest.js +0 -5
  1116. package/dist/api/resources/infill/client/requests/index.d.ts +0 -1
  1117. package/dist/api/resources/infill/client/requests/index.js +0 -2
  1118. package/dist/api/resources/infill/index.d.ts +0 -1
  1119. package/dist/api/resources/infill/index.js +0 -17
  1120. package/dist/api/resources/stt/client/Client.d.ts +0 -71
  1121. package/dist/api/resources/stt/client/Client.js +0 -166
  1122. package/dist/api/resources/stt/client/index.d.ts +0 -1
  1123. package/dist/api/resources/stt/client/index.js +0 -17
  1124. package/dist/api/resources/stt/client/requests/TranscriptionRequest.d.ts +0 -147
  1125. package/dist/api/resources/stt/client/requests/TranscriptionRequest.js +0 -5
  1126. package/dist/api/resources/stt/client/requests/index.d.ts +0 -1
  1127. package/dist/api/resources/stt/client/requests/index.js +0 -2
  1128. package/dist/api/resources/stt/index.d.ts +0 -2
  1129. package/dist/api/resources/stt/index.js +0 -18
  1130. package/dist/api/resources/stt/types/DoneMessage.d.ts +0 -10
  1131. package/dist/api/resources/stt/types/DoneMessage.js +0 -5
  1132. package/dist/api/resources/stt/types/ErrorMessage.d.ts +0 -9
  1133. package/dist/api/resources/stt/types/ErrorMessage.js +0 -5
  1134. package/dist/api/resources/stt/types/FlushDoneMessage.d.ts +0 -10
  1135. package/dist/api/resources/stt/types/FlushDoneMessage.js +0 -5
  1136. package/dist/api/resources/stt/types/StreamingTranscriptionResponse.d.ts +0 -22
  1137. package/dist/api/resources/stt/types/StreamingTranscriptionResponse.js +0 -5
  1138. package/dist/api/resources/stt/types/SttEncoding.d.ts +0 -15
  1139. package/dist/api/resources/stt/types/SttEncoding.js +0 -14
  1140. package/dist/api/resources/stt/types/TimestampGranularity.d.ts +0 -12
  1141. package/dist/api/resources/stt/types/TimestampGranularity.js +0 -9
  1142. package/dist/api/resources/stt/types/TranscriptMessage.d.ts +0 -22
  1143. package/dist/api/resources/stt/types/TranscriptMessage.js +0 -5
  1144. package/dist/api/resources/stt/types/TranscriptionResponse.d.ts +0 -14
  1145. package/dist/api/resources/stt/types/TranscriptionResponse.js +0 -5
  1146. package/dist/api/resources/stt/types/TranscriptionWord.d.ts +0 -11
  1147. package/dist/api/resources/stt/types/TranscriptionWord.js +0 -5
  1148. package/dist/api/resources/stt/types/index.d.ts +0 -9
  1149. package/dist/api/resources/stt/types/index.js +0 -25
  1150. package/dist/api/resources/tts/client/Client.d.ts +0 -39
  1151. package/dist/api/resources/tts/client/Client.js +0 -162
  1152. package/dist/api/resources/tts/client/index.d.ts +0 -1
  1153. package/dist/api/resources/tts/client/index.js +0 -2
  1154. package/dist/api/resources/tts/index.d.ts +0 -2
  1155. package/dist/api/resources/tts/index.js +0 -18
  1156. package/dist/api/resources/tts/types/CancelContextRequest.d.ts +0 -10
  1157. package/dist/api/resources/tts/types/CancelContextRequest.js +0 -5
  1158. package/dist/api/resources/tts/types/ContextId.d.ts +0 -9
  1159. package/dist/api/resources/tts/types/ContextId.js +0 -5
  1160. package/dist/api/resources/tts/types/Controls.d.ts +0 -8
  1161. package/dist/api/resources/tts/types/Controls.js +0 -5
  1162. package/dist/api/resources/tts/types/Emotion.d.ts +0 -7
  1163. package/dist/api/resources/tts/types/Emotion.js +0 -5
  1164. package/dist/api/resources/tts/types/EmotionDeprecated.d.ts +0 -38
  1165. package/dist/api/resources/tts/types/EmotionDeprecated.js +0 -33
  1166. package/dist/api/resources/tts/types/FlushId.d.ts +0 -9
  1167. package/dist/api/resources/tts/types/FlushId.js +0 -5
  1168. package/dist/api/resources/tts/types/GenerationConfig.d.ts +0 -15
  1169. package/dist/api/resources/tts/types/GenerationConfig.js +0 -5
  1170. package/dist/api/resources/tts/types/GenerationRequest.d.ts +0 -44
  1171. package/dist/api/resources/tts/types/GenerationRequest.js +0 -5
  1172. package/dist/api/resources/tts/types/ModelSpeed.d.ts +0 -16
  1173. package/dist/api/resources/tts/types/ModelSpeed.js +0 -11
  1174. package/dist/api/resources/tts/types/Mp3OutputFormat.d.ts +0 -9
  1175. package/dist/api/resources/tts/types/Mp3OutputFormat.js +0 -5
  1176. package/dist/api/resources/tts/types/NaturalSpecifier.d.ts +0 -11
  1177. package/dist/api/resources/tts/types/NaturalSpecifier.js +0 -13
  1178. package/dist/api/resources/tts/types/NumericalSpecifier.d.ts +0 -4
  1179. package/dist/api/resources/tts/types/NumericalSpecifier.js +0 -5
  1180. package/dist/api/resources/tts/types/OutputFormat.d.ts +0 -16
  1181. package/dist/api/resources/tts/types/OutputFormat.js +0 -5
  1182. package/dist/api/resources/tts/types/PhonemeTimestamps.d.ts +0 -8
  1183. package/dist/api/resources/tts/types/PhonemeTimestamps.js +0 -5
  1184. package/dist/api/resources/tts/types/RawEncoding.d.ts +0 -10
  1185. package/dist/api/resources/tts/types/RawEncoding.js +0 -12
  1186. package/dist/api/resources/tts/types/RawOutputFormat.d.ts +0 -10
  1187. package/dist/api/resources/tts/types/RawOutputFormat.js +0 -5
  1188. package/dist/api/resources/tts/types/Speed.d.ts +0 -10
  1189. package/dist/api/resources/tts/types/Speed.js +0 -5
  1190. package/dist/api/resources/tts/types/SseOutputFormat.d.ts +0 -10
  1191. package/dist/api/resources/tts/types/SseOutputFormat.js +0 -5
  1192. package/dist/api/resources/tts/types/SupportedLanguage.d.ts +0 -26
  1193. package/dist/api/resources/tts/types/SupportedLanguage.js +0 -23
  1194. package/dist/api/resources/tts/types/TtsRequest.d.ts +0 -21
  1195. package/dist/api/resources/tts/types/TtsRequest.js +0 -5
  1196. package/dist/api/resources/tts/types/TtsRequestEmbeddingSpecifier.d.ts +0 -9
  1197. package/dist/api/resources/tts/types/TtsRequestEmbeddingSpecifier.js +0 -5
  1198. package/dist/api/resources/tts/types/TtsRequestIdSpecifier.d.ts +0 -9
  1199. package/dist/api/resources/tts/types/TtsRequestIdSpecifier.js +0 -5
  1200. package/dist/api/resources/tts/types/TtsRequestVoiceSpecifier.d.ts +0 -5
  1201. package/dist/api/resources/tts/types/TtsRequestVoiceSpecifier.js +0 -5
  1202. package/dist/api/resources/tts/types/TtssseRequest.d.ts +0 -29
  1203. package/dist/api/resources/tts/types/TtssseRequest.js +0 -5
  1204. package/dist/api/resources/tts/types/WavOutputFormat.d.ts +0 -6
  1205. package/dist/api/resources/tts/types/WavOutputFormat.js +0 -5
  1206. package/dist/api/resources/tts/types/WebSocketBaseResponse.d.ts +0 -9
  1207. package/dist/api/resources/tts/types/WebSocketBaseResponse.js +0 -5
  1208. package/dist/api/resources/tts/types/WebSocketChunkResponse.d.ts +0 -8
  1209. package/dist/api/resources/tts/types/WebSocketChunkResponse.js +0 -5
  1210. package/dist/api/resources/tts/types/WebSocketDoneResponse.d.ts +0 -6
  1211. package/dist/api/resources/tts/types/WebSocketDoneResponse.js +0 -5
  1212. package/dist/api/resources/tts/types/WebSocketErrorResponse.d.ts +0 -7
  1213. package/dist/api/resources/tts/types/WebSocketErrorResponse.js +0 -5
  1214. package/dist/api/resources/tts/types/WebSocketFlushDoneResponse.d.ts +0 -8
  1215. package/dist/api/resources/tts/types/WebSocketFlushDoneResponse.js +0 -5
  1216. package/dist/api/resources/tts/types/WebSocketPhonemeTimestampsResponse.d.ts +0 -7
  1217. package/dist/api/resources/tts/types/WebSocketPhonemeTimestampsResponse.js +0 -5
  1218. package/dist/api/resources/tts/types/WebSocketRawOutputFormat.d.ts +0 -10
  1219. package/dist/api/resources/tts/types/WebSocketRawOutputFormat.js +0 -5
  1220. package/dist/api/resources/tts/types/WebSocketRequest.d.ts +0 -11
  1221. package/dist/api/resources/tts/types/WebSocketRequest.js +0 -5
  1222. package/dist/api/resources/tts/types/WebSocketResponse.d.ts +0 -25
  1223. package/dist/api/resources/tts/types/WebSocketResponse.js +0 -5
  1224. package/dist/api/resources/tts/types/WebSocketStreamOptions.d.ts +0 -6
  1225. package/dist/api/resources/tts/types/WebSocketStreamOptions.js +0 -5
  1226. package/dist/api/resources/tts/types/WebSocketTimestampsResponse.d.ts +0 -7
  1227. package/dist/api/resources/tts/types/WebSocketTimestampsResponse.js +0 -5
  1228. package/dist/api/resources/tts/types/WebSocketTtsOutput.d.ts +0 -12
  1229. package/dist/api/resources/tts/types/WebSocketTtsOutput.js +0 -5
  1230. package/dist/api/resources/tts/types/WebSocketTtsRequest.d.ts +0 -25
  1231. package/dist/api/resources/tts/types/WebSocketTtsRequest.js +0 -5
  1232. package/dist/api/resources/tts/types/WordTimestamps.d.ts +0 -8
  1233. package/dist/api/resources/tts/types/WordTimestamps.js +0 -5
  1234. package/dist/api/resources/tts/types/index.d.ts +0 -39
  1235. package/dist/api/resources/tts/types/index.js +0 -55
  1236. package/dist/api/resources/voiceChanger/client/Client.d.ts +0 -46
  1237. package/dist/api/resources/voiceChanger/client/Client.js +0 -195
  1238. package/dist/api/resources/voiceChanger/client/index.d.ts +0 -1
  1239. package/dist/api/resources/voiceChanger/client/index.js +0 -17
  1240. package/dist/api/resources/voiceChanger/client/requests/VoiceChangerBytesRequest.d.ts +0 -39
  1241. package/dist/api/resources/voiceChanger/client/requests/VoiceChangerBytesRequest.js +0 -5
  1242. package/dist/api/resources/voiceChanger/client/requests/VoiceChangerSseRequest.d.ts +0 -39
  1243. package/dist/api/resources/voiceChanger/client/requests/VoiceChangerSseRequest.js +0 -5
  1244. package/dist/api/resources/voiceChanger/client/requests/index.d.ts +0 -2
  1245. package/dist/api/resources/voiceChanger/client/requests/index.js +0 -2
  1246. package/dist/api/resources/voiceChanger/index.d.ts +0 -2
  1247. package/dist/api/resources/voiceChanger/index.js +0 -18
  1248. package/dist/api/resources/voiceChanger/types/OutputFormatContainer.d.ts +0 -9
  1249. package/dist/api/resources/voiceChanger/types/OutputFormatContainer.js +0 -11
  1250. package/dist/api/resources/voiceChanger/types/StreamingResponse.d.ts +0 -16
  1251. package/dist/api/resources/voiceChanger/types/StreamingResponse.js +0 -5
  1252. package/dist/api/resources/voiceChanger/types/index.d.ts +0 -2
  1253. package/dist/api/resources/voiceChanger/types/index.js +0 -18
  1254. package/dist/api/resources/voices/client/Client.d.ts +0 -150
  1255. package/dist/api/resources/voices/client/Client.js +0 -530
  1256. package/dist/api/resources/voices/client/index.d.ts +0 -1
  1257. package/dist/api/resources/voices/client/index.js +0 -17
  1258. package/dist/api/resources/voices/client/requests/CloneVoiceRequest.d.ts +0 -35
  1259. package/dist/api/resources/voices/client/requests/CloneVoiceRequest.js +0 -5
  1260. package/dist/api/resources/voices/client/requests/index.d.ts +0 -1
  1261. package/dist/api/resources/voices/client/requests/index.js +0 -2
  1262. package/dist/api/resources/voices/index.d.ts +0 -2
  1263. package/dist/api/resources/voices/index.js +0 -18
  1264. package/dist/api/resources/voices/types/BaseVoiceId.d.ts +0 -8
  1265. package/dist/api/resources/voices/types/BaseVoiceId.js +0 -5
  1266. package/dist/api/resources/voices/types/CloneMode.d.ts +0 -8
  1267. package/dist/api/resources/voices/types/CloneMode.js +0 -10
  1268. package/dist/api/resources/voices/types/CreateVoiceRequest.d.ts +0 -13
  1269. package/dist/api/resources/voices/types/CreateVoiceRequest.js +0 -5
  1270. package/dist/api/resources/voices/types/EmbeddingResponse.d.ts +0 -7
  1271. package/dist/api/resources/voices/types/EmbeddingResponse.js +0 -5
  1272. package/dist/api/resources/voices/types/EmbeddingSpecifier.d.ts +0 -8
  1273. package/dist/api/resources/voices/types/EmbeddingSpecifier.js +0 -5
  1274. package/dist/api/resources/voices/types/Gender.d.ts +0 -8
  1275. package/dist/api/resources/voices/types/Gender.js +0 -10
  1276. package/dist/api/resources/voices/types/IdSpecifier.d.ts +0 -8
  1277. package/dist/api/resources/voices/types/IdSpecifier.js +0 -5
  1278. package/dist/api/resources/voices/types/LocalizeDialect.d.ts +0 -20
  1279. package/dist/api/resources/voices/types/LocalizeDialect.js +0 -5
  1280. package/dist/api/resources/voices/types/LocalizeEnglishDialect.d.ts +0 -11
  1281. package/dist/api/resources/voices/types/LocalizeEnglishDialect.js +0 -13
  1282. package/dist/api/resources/voices/types/LocalizeFrenchDialect.d.ts +0 -8
  1283. package/dist/api/resources/voices/types/LocalizeFrenchDialect.js +0 -10
  1284. package/dist/api/resources/voices/types/LocalizePortugueseDialect.d.ts +0 -8
  1285. package/dist/api/resources/voices/types/LocalizePortugueseDialect.js +0 -10
  1286. package/dist/api/resources/voices/types/LocalizeSpanishDialect.d.ts +0 -8
  1287. package/dist/api/resources/voices/types/LocalizeSpanishDialect.js +0 -10
  1288. package/dist/api/resources/voices/types/LocalizeTargetLanguage.d.ts +0 -26
  1289. package/dist/api/resources/voices/types/LocalizeTargetLanguage.js +0 -23
  1290. package/dist/api/resources/voices/types/LocalizeVoiceRequest.d.ts +0 -15
  1291. package/dist/api/resources/voices/types/LocalizeVoiceRequest.js +0 -5
  1292. package/dist/api/resources/voices/types/MixVoiceSpecifier.d.ts +0 -5
  1293. package/dist/api/resources/voices/types/MixVoiceSpecifier.js +0 -5
  1294. package/dist/api/resources/voices/types/MixVoicesRequest.d.ts +0 -7
  1295. package/dist/api/resources/voices/types/MixVoicesRequest.js +0 -5
  1296. package/dist/api/resources/voices/types/UpdateVoiceRequest.d.ts +0 -9
  1297. package/dist/api/resources/voices/types/UpdateVoiceRequest.js +0 -5
  1298. package/dist/api/resources/voices/types/Voice.d.ts +0 -19
  1299. package/dist/api/resources/voices/types/Voice.js +0 -5
  1300. package/dist/api/resources/voices/types/VoiceId.d.ts +0 -7
  1301. package/dist/api/resources/voices/types/VoiceId.js +0 -5
  1302. package/dist/api/resources/voices/types/VoiceMetadata.d.ts +0 -18
  1303. package/dist/api/resources/voices/types/VoiceMetadata.js +0 -5
  1304. package/dist/api/resources/voices/types/Weight.d.ts +0 -7
  1305. package/dist/api/resources/voices/types/Weight.js +0 -5
  1306. package/dist/api/resources/voices/types/index.d.ts +0 -21
  1307. package/dist/api/resources/voices/types/index.js +0 -37
  1308. package/dist/core/fetcher/APIResponse.d.ts +0 -10
  1309. package/dist/core/fetcher/APIResponse.js +0 -2
  1310. package/dist/core/fetcher/Fetcher.d.ts +0 -39
  1311. package/dist/core/fetcher/Fetcher.js +0 -100
  1312. package/dist/core/fetcher/Supplier.d.ts +0 -4
  1313. package/dist/core/fetcher/Supplier.js +0 -22
  1314. package/dist/core/fetcher/createRequestUrl.d.ts +0 -1
  1315. package/dist/core/fetcher/createRequestUrl.js +0 -12
  1316. package/dist/core/fetcher/getFetchFn.d.ts +0 -4
  1317. package/dist/core/fetcher/getFetchFn.js +0 -68
  1318. package/dist/core/fetcher/getHeader.d.ts +0 -1
  1319. package/dist/core/fetcher/getHeader.js +0 -11
  1320. package/dist/core/fetcher/getRequestBody.d.ts +0 -7
  1321. package/dist/core/fetcher/getRequestBody.js +0 -23
  1322. package/dist/core/fetcher/getResponseBody.d.ts +0 -1
  1323. package/dist/core/fetcher/getResponseBody.js +0 -54
  1324. package/dist/core/fetcher/index.d.ts +0 -5
  1325. package/dist/core/fetcher/index.js +0 -9
  1326. package/dist/core/fetcher/makeRequest.d.ts +0 -1
  1327. package/dist/core/fetcher/makeRequest.js +0 -42
  1328. package/dist/core/fetcher/requestWithRetries.d.ts +0 -1
  1329. package/dist/core/fetcher/requestWithRetries.js +0 -40
  1330. package/dist/core/fetcher/signals.d.ts +0 -11
  1331. package/dist/core/fetcher/signals.js +0 -36
  1332. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  1333. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  1334. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  1335. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  1336. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  1337. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  1338. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  1339. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  1340. package/dist/core/form-data-utils/FormDataWrapper.d.ts +0 -60
  1341. package/dist/core/form-data-utils/FormDataWrapper.js +0 -184
  1342. package/dist/core/form-data-utils/index.d.ts +0 -1
  1343. package/dist/core/form-data-utils/index.js +0 -17
  1344. package/dist/core/index.d.ts +0 -5
  1345. package/dist/core/index.js +0 -44
  1346. package/dist/core/json.d.ts +0 -15
  1347. package/dist/core/json.js +0 -24
  1348. package/dist/core/runtime/index.d.ts +0 -1
  1349. package/dist/core/runtime/index.js +0 -5
  1350. package/dist/core/runtime/runtime.d.ts +0 -9
  1351. package/dist/core/runtime/runtime.js +0 -103
  1352. package/dist/core/schemas/Schema.d.ts +0 -87
  1353. package/dist/core/schemas/Schema.js +0 -24
  1354. package/dist/core/schemas/builders/bigint/bigint.d.ts +0 -2
  1355. package/dist/core/schemas/builders/bigint/bigint.js +0 -53
  1356. package/dist/core/schemas/builders/bigint/index.d.ts +0 -1
  1357. package/dist/core/schemas/builders/bigint/index.js +0 -5
  1358. package/dist/core/schemas/builders/date/date.d.ts +0 -2
  1359. package/dist/core/schemas/builders/date/date.js +0 -62
  1360. package/dist/core/schemas/builders/date/index.d.ts +0 -1
  1361. package/dist/core/schemas/builders/date/index.js +0 -5
  1362. package/dist/core/schemas/builders/enum/enum.d.ts +0 -2
  1363. package/dist/core/schemas/builders/enum/enum.js +0 -38
  1364. package/dist/core/schemas/builders/enum/index.d.ts +0 -1
  1365. package/dist/core/schemas/builders/enum/index.js +0 -5
  1366. package/dist/core/schemas/builders/index.d.ts +0 -14
  1367. package/dist/core/schemas/builders/index.js +0 -30
  1368. package/dist/core/schemas/builders/lazy/index.d.ts +0 -3
  1369. package/dist/core/schemas/builders/lazy/index.js +0 -7
  1370. package/dist/core/schemas/builders/lazy/lazy.d.ts +0 -5
  1371. package/dist/core/schemas/builders/lazy/lazy.js +0 -24
  1372. package/dist/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
  1373. package/dist/core/schemas/builders/lazy/lazyObject.js +0 -11
  1374. package/dist/core/schemas/builders/list/index.d.ts +0 -1
  1375. package/dist/core/schemas/builders/list/index.js +0 -5
  1376. package/dist/core/schemas/builders/list/list.d.ts +0 -2
  1377. package/dist/core/schemas/builders/list/list.js +0 -54
  1378. package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
  1379. package/dist/core/schemas/builders/literals/booleanLiteral.js +0 -28
  1380. package/dist/core/schemas/builders/literals/index.d.ts +0 -2
  1381. package/dist/core/schemas/builders/literals/index.js +0 -7
  1382. package/dist/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
  1383. package/dist/core/schemas/builders/literals/stringLiteral.js +0 -28
  1384. package/dist/core/schemas/builders/object/index.d.ts +0 -6
  1385. package/dist/core/schemas/builders/object/index.js +0 -11
  1386. package/dist/core/schemas/builders/object/object.d.ts +0 -3
  1387. package/dist/core/schemas/builders/object/object.js +0 -261
  1388. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
  1389. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
  1390. package/dist/core/schemas/builders/object/property.d.ts +0 -8
  1391. package/dist/core/schemas/builders/object/property.js +0 -15
  1392. package/dist/core/schemas/builders/object/types.d.ts +0 -31
  1393. package/dist/core/schemas/builders/object/types.js +0 -2
  1394. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
  1395. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
  1396. package/dist/core/schemas/builders/object-like/index.d.ts +0 -2
  1397. package/dist/core/schemas/builders/object-like/index.js +0 -6
  1398. package/dist/core/schemas/builders/object-like/types.d.ts +0 -7
  1399. package/dist/core/schemas/builders/object-like/types.js +0 -2
  1400. package/dist/core/schemas/builders/primitives/any.d.ts +0 -1
  1401. package/dist/core/schemas/builders/primitives/any.js +0 -6
  1402. package/dist/core/schemas/builders/primitives/boolean.d.ts +0 -1
  1403. package/dist/core/schemas/builders/primitives/boolean.js +0 -25
  1404. package/dist/core/schemas/builders/primitives/index.d.ts +0 -5
  1405. package/dist/core/schemas/builders/primitives/index.js +0 -13
  1406. package/dist/core/schemas/builders/primitives/number.d.ts +0 -1
  1407. package/dist/core/schemas/builders/primitives/number.js +0 -25
  1408. package/dist/core/schemas/builders/primitives/string.d.ts +0 -1
  1409. package/dist/core/schemas/builders/primitives/string.js +0 -25
  1410. package/dist/core/schemas/builders/primitives/unknown.d.ts +0 -1
  1411. package/dist/core/schemas/builders/primitives/unknown.js +0 -6
  1412. package/dist/core/schemas/builders/record/index.d.ts +0 -2
  1413. package/dist/core/schemas/builders/record/index.js +0 -5
  1414. package/dist/core/schemas/builders/record/record.d.ts +0 -3
  1415. package/dist/core/schemas/builders/record/record.js +0 -93
  1416. package/dist/core/schemas/builders/record/types.d.ts +0 -4
  1417. package/dist/core/schemas/builders/record/types.js +0 -2
  1418. package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
  1419. package/dist/core/schemas/builders/schema-utils/JsonError.js +0 -12
  1420. package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
  1421. package/dist/core/schemas/builders/schema-utils/ParseError.js +0 -12
  1422. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -21
  1423. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -145
  1424. package/dist/core/schemas/builders/schema-utils/index.d.ts +0 -4
  1425. package/dist/core/schemas/builders/schema-utils/index.js +0 -11
  1426. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
  1427. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
  1428. package/dist/core/schemas/builders/set/index.d.ts +0 -1
  1429. package/dist/core/schemas/builders/set/index.js +0 -5
  1430. package/dist/core/schemas/builders/set/set.d.ts +0 -2
  1431. package/dist/core/schemas/builders/set/set.js +0 -43
  1432. package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
  1433. package/dist/core/schemas/builders/undiscriminated-union/index.js +0 -5
  1434. package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
  1435. package/dist/core/schemas/builders/undiscriminated-union/types.js +0 -2
  1436. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
  1437. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
  1438. package/dist/core/schemas/builders/union/discriminant.d.ts +0 -5
  1439. package/dist/core/schemas/builders/union/discriminant.js +0 -9
  1440. package/dist/core/schemas/builders/union/index.d.ts +0 -4
  1441. package/dist/core/schemas/builders/union/index.js +0 -7
  1442. package/dist/core/schemas/builders/union/types.d.ts +0 -13
  1443. package/dist/core/schemas/builders/union/types.js +0 -2
  1444. package/dist/core/schemas/builders/union/union.d.ts +0 -4
  1445. package/dist/core/schemas/builders/union/union.js +0 -129
  1446. package/dist/core/schemas/index.d.ts +0 -2
  1447. package/dist/core/schemas/index.js +0 -17
  1448. package/dist/core/schemas/utils/MaybePromise.d.ts +0 -1
  1449. package/dist/core/schemas/utils/MaybePromise.js +0 -2
  1450. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
  1451. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
  1452. package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
  1453. package/dist/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
  1454. package/dist/core/schemas/utils/entries.d.ts +0 -1
  1455. package/dist/core/schemas/utils/entries.js +0 -6
  1456. package/dist/core/schemas/utils/filterObject.d.ts +0 -1
  1457. package/dist/core/schemas/utils/filterObject.js +0 -13
  1458. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
  1459. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
  1460. package/dist/core/schemas/utils/isPlainObject.d.ts +0 -1
  1461. package/dist/core/schemas/utils/isPlainObject.js +0 -17
  1462. package/dist/core/schemas/utils/keys.d.ts +0 -1
  1463. package/dist/core/schemas/utils/keys.js +0 -6
  1464. package/dist/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
  1465. package/dist/core/schemas/utils/maybeSkipValidation.js +0 -27
  1466. package/dist/core/schemas/utils/partition.d.ts +0 -1
  1467. package/dist/core/schemas/utils/partition.js +0 -15
  1468. package/dist/core/streaming-fetcher/Stream.d.ts +0 -47
  1469. package/dist/core/streaming-fetcher/Stream.js +0 -169
  1470. package/dist/core/streaming-fetcher/index.d.ts +0 -1
  1471. package/dist/core/streaming-fetcher/index.js +0 -5
  1472. package/dist/core/websocket/events.d.ts +0 -36
  1473. package/dist/core/websocket/events.js +0 -27
  1474. package/dist/core/websocket/index.d.ts +0 -1
  1475. package/dist/core/websocket/index.js +0 -17
  1476. package/dist/core/websocket/ws.d.ts +0 -137
  1477. package/dist/core/websocket/ws.js +0 -448
  1478. package/dist/environments.d.ts +0 -7
  1479. package/dist/environments.js +0 -9
  1480. package/dist/errors/CartesiaError.d.ts +0 -12
  1481. package/dist/errors/CartesiaError.js +0 -33
  1482. package/dist/errors/CartesiaTimeoutError.d.ts +0 -6
  1483. package/dist/errors/CartesiaTimeoutError.js +0 -13
  1484. package/dist/errors/index.d.ts +0 -2
  1485. package/dist/errors/index.js +0 -7
  1486. package/dist/index.d.ts +0 -7
  1487. package/dist/index.js +0 -53
  1488. package/dist/serialization/index.d.ts +0 -1
  1489. package/dist/serialization/index.js +0 -17
  1490. package/dist/serialization/resources/apiStatus/index.d.ts +0 -1
  1491. package/dist/serialization/resources/apiStatus/index.js +0 -17
  1492. package/dist/serialization/resources/apiStatus/types/ApiInfo.d.ts +0 -13
  1493. package/dist/serialization/resources/apiStatus/types/ApiInfo.js +0 -44
  1494. package/dist/serialization/resources/apiStatus/types/index.d.ts +0 -1
  1495. package/dist/serialization/resources/apiStatus/types/index.js +0 -17
  1496. package/dist/serialization/resources/auth/index.d.ts +0 -1
  1497. package/dist/serialization/resources/auth/index.js +0 -17
  1498. package/dist/serialization/resources/auth/types/TokenGrant.d.ts +0 -13
  1499. package/dist/serialization/resources/auth/types/TokenGrant.js +0 -44
  1500. package/dist/serialization/resources/auth/types/TokenRequest.d.ts +0 -14
  1501. package/dist/serialization/resources/auth/types/TokenRequest.js +0 -45
  1502. package/dist/serialization/resources/auth/types/TokenResponse.d.ts +0 -12
  1503. package/dist/serialization/resources/auth/types/TokenResponse.js +0 -43
  1504. package/dist/serialization/resources/auth/types/index.d.ts +0 -3
  1505. package/dist/serialization/resources/auth/types/index.js +0 -19
  1506. package/dist/serialization/resources/embedding/index.d.ts +0 -1
  1507. package/dist/serialization/resources/embedding/index.js +0 -17
  1508. package/dist/serialization/resources/embedding/types/Embedding.d.ts +0 -10
  1509. package/dist/serialization/resources/embedding/types/Embedding.js +0 -41
  1510. package/dist/serialization/resources/embedding/types/index.d.ts +0 -1
  1511. package/dist/serialization/resources/embedding/types/index.js +0 -17
  1512. package/dist/serialization/resources/index.d.ts +0 -14
  1513. package/dist/serialization/resources/index.js +0 -53
  1514. package/dist/serialization/resources/stt/index.d.ts +0 -1
  1515. package/dist/serialization/resources/stt/index.js +0 -17
  1516. package/dist/serialization/resources/stt/types/DoneMessage.d.ts +0 -12
  1517. package/dist/serialization/resources/stt/types/DoneMessage.js +0 -43
  1518. package/dist/serialization/resources/stt/types/ErrorMessage.d.ts +0 -13
  1519. package/dist/serialization/resources/stt/types/ErrorMessage.js +0 -44
  1520. package/dist/serialization/resources/stt/types/FlushDoneMessage.d.ts +0 -12
  1521. package/dist/serialization/resources/stt/types/FlushDoneMessage.js +0 -43
  1522. package/dist/serialization/resources/stt/types/StreamingTranscriptionResponse.d.ts +0 -26
  1523. package/dist/serialization/resources/stt/types/StreamingTranscriptionResponse.js +0 -55
  1524. package/dist/serialization/resources/stt/types/SttEncoding.d.ts +0 -10
  1525. package/dist/serialization/resources/stt/types/SttEncoding.js +0 -41
  1526. package/dist/serialization/resources/stt/types/TimestampGranularity.d.ts +0 -10
  1527. package/dist/serialization/resources/stt/types/TimestampGranularity.js +0 -41
  1528. package/dist/serialization/resources/stt/types/TranscriptMessage.d.ts +0 -18
  1529. package/dist/serialization/resources/stt/types/TranscriptMessage.js +0 -49
  1530. package/dist/serialization/resources/stt/types/TranscriptionResponse.d.ts +0 -16
  1531. package/dist/serialization/resources/stt/types/TranscriptionResponse.js +0 -47
  1532. package/dist/serialization/resources/stt/types/TranscriptionWord.d.ts +0 -14
  1533. package/dist/serialization/resources/stt/types/TranscriptionWord.js +0 -45
  1534. package/dist/serialization/resources/stt/types/index.d.ts +0 -9
  1535. package/dist/serialization/resources/stt/types/index.js +0 -25
  1536. package/dist/serialization/resources/tts/index.d.ts +0 -1
  1537. package/dist/serialization/resources/tts/index.js +0 -17
  1538. package/dist/serialization/resources/tts/types/CancelContextRequest.d.ts +0 -14
  1539. package/dist/serialization/resources/tts/types/CancelContextRequest.js +0 -45
  1540. package/dist/serialization/resources/tts/types/ContextId.d.ts +0 -10
  1541. package/dist/serialization/resources/tts/types/ContextId.js +0 -41
  1542. package/dist/serialization/resources/tts/types/Controls.d.ts +0 -15
  1543. package/dist/serialization/resources/tts/types/Controls.js +0 -46
  1544. package/dist/serialization/resources/tts/types/Emotion.d.ts +0 -10
  1545. package/dist/serialization/resources/tts/types/Emotion.js +0 -41
  1546. package/dist/serialization/resources/tts/types/EmotionDeprecated.d.ts +0 -10
  1547. package/dist/serialization/resources/tts/types/EmotionDeprecated.js +0 -67
  1548. package/dist/serialization/resources/tts/types/FlushId.d.ts +0 -10
  1549. package/dist/serialization/resources/tts/types/FlushId.js +0 -41
  1550. package/dist/serialization/resources/tts/types/GenerationConfig.d.ts +0 -15
  1551. package/dist/serialization/resources/tts/types/GenerationConfig.js +0 -46
  1552. package/dist/serialization/resources/tts/types/GenerationRequest.d.ts +0 -33
  1553. package/dist/serialization/resources/tts/types/GenerationRequest.js +0 -64
  1554. package/dist/serialization/resources/tts/types/ModelSpeed.d.ts +0 -10
  1555. package/dist/serialization/resources/tts/types/ModelSpeed.js +0 -41
  1556. package/dist/serialization/resources/tts/types/Mp3OutputFormat.d.ts +0 -13
  1557. package/dist/serialization/resources/tts/types/Mp3OutputFormat.js +0 -44
  1558. package/dist/serialization/resources/tts/types/NaturalSpecifier.d.ts +0 -10
  1559. package/dist/serialization/resources/tts/types/NaturalSpecifier.js +0 -41
  1560. package/dist/serialization/resources/tts/types/NumericalSpecifier.d.ts +0 -10
  1561. package/dist/serialization/resources/tts/types/NumericalSpecifier.js +0 -41
  1562. package/dist/serialization/resources/tts/types/OutputFormat.d.ts +0 -22
  1563. package/dist/serialization/resources/tts/types/OutputFormat.js +0 -53
  1564. package/dist/serialization/resources/tts/types/PhonemeTimestamps.d.ts +0 -14
  1565. package/dist/serialization/resources/tts/types/PhonemeTimestamps.js +0 -45
  1566. package/dist/serialization/resources/tts/types/RawEncoding.d.ts +0 -10
  1567. package/dist/serialization/resources/tts/types/RawEncoding.js +0 -41
  1568. package/dist/serialization/resources/tts/types/RawOutputFormat.d.ts +0 -15
  1569. package/dist/serialization/resources/tts/types/RawOutputFormat.js +0 -46
  1570. package/dist/serialization/resources/tts/types/Speed.d.ts +0 -12
  1571. package/dist/serialization/resources/tts/types/Speed.js +0 -43
  1572. package/dist/serialization/resources/tts/types/SseOutputFormat.d.ts +0 -15
  1573. package/dist/serialization/resources/tts/types/SseOutputFormat.js +0 -46
  1574. package/dist/serialization/resources/tts/types/SupportedLanguage.d.ts +0 -10
  1575. package/dist/serialization/resources/tts/types/SupportedLanguage.js +0 -57
  1576. package/dist/serialization/resources/tts/types/TtsRequest.d.ts +0 -25
  1577. package/dist/serialization/resources/tts/types/TtsRequest.js +0 -56
  1578. package/dist/serialization/resources/tts/types/TtsRequestEmbeddingSpecifier.d.ts +0 -16
  1579. package/dist/serialization/resources/tts/types/TtsRequestEmbeddingSpecifier.js +0 -47
  1580. package/dist/serialization/resources/tts/types/TtsRequestIdSpecifier.d.ts +0 -16
  1581. package/dist/serialization/resources/tts/types/TtsRequestIdSpecifier.js +0 -47
  1582. package/dist/serialization/resources/tts/types/TtsRequestVoiceSpecifier.d.ts +0 -12
  1583. package/dist/serialization/resources/tts/types/TtsRequestVoiceSpecifier.js +0 -43
  1584. package/dist/serialization/resources/tts/types/TtssseRequest.d.ts +0 -30
  1585. package/dist/serialization/resources/tts/types/TtssseRequest.js +0 -61
  1586. package/dist/serialization/resources/tts/types/WavOutputFormat.d.ts +0 -12
  1587. package/dist/serialization/resources/tts/types/WavOutputFormat.js +0 -42
  1588. package/dist/serialization/resources/tts/types/WebSocketBaseResponse.d.ts +0 -15
  1589. package/dist/serialization/resources/tts/types/WebSocketBaseResponse.js +0 -46
  1590. package/dist/serialization/resources/tts/types/WebSocketChunkResponse.d.ts +0 -14
  1591. package/dist/serialization/resources/tts/types/WebSocketChunkResponse.js +0 -47
  1592. package/dist/serialization/resources/tts/types/WebSocketDoneResponse.d.ts +0 -12
  1593. package/dist/serialization/resources/tts/types/WebSocketDoneResponse.js +0 -42
  1594. package/dist/serialization/resources/tts/types/WebSocketErrorResponse.d.ts +0 -13
  1595. package/dist/serialization/resources/tts/types/WebSocketErrorResponse.js +0 -46
  1596. package/dist/serialization/resources/tts/types/WebSocketFlushDoneResponse.d.ts +0 -15
  1597. package/dist/serialization/resources/tts/types/WebSocketFlushDoneResponse.js +0 -48
  1598. package/dist/serialization/resources/tts/types/WebSocketPhonemeTimestampsResponse.d.ts +0 -14
  1599. package/dist/serialization/resources/tts/types/WebSocketPhonemeTimestampsResponse.js +0 -47
  1600. package/dist/serialization/resources/tts/types/WebSocketRawOutputFormat.d.ts +0 -15
  1601. package/dist/serialization/resources/tts/types/WebSocketRawOutputFormat.js +0 -46
  1602. package/dist/serialization/resources/tts/types/WebSocketRequest.d.ts +0 -12
  1603. package/dist/serialization/resources/tts/types/WebSocketRequest.js +0 -43
  1604. package/dist/serialization/resources/tts/types/WebSocketResponse.d.ts +0 -34
  1605. package/dist/serialization/resources/tts/types/WebSocketResponse.js +0 -59
  1606. package/dist/serialization/resources/tts/types/WebSocketStreamOptions.d.ts +0 -12
  1607. package/dist/serialization/resources/tts/types/WebSocketStreamOptions.js +0 -43
  1608. package/dist/serialization/resources/tts/types/WebSocketTimestampsResponse.d.ts +0 -14
  1609. package/dist/serialization/resources/tts/types/WebSocketTimestampsResponse.js +0 -47
  1610. package/dist/serialization/resources/tts/types/WebSocketTtsOutput.d.ts +0 -21
  1611. package/dist/serialization/resources/tts/types/WebSocketTtsOutput.js +0 -52
  1612. package/dist/serialization/resources/tts/types/WebSocketTtsRequest.d.ts +0 -30
  1613. package/dist/serialization/resources/tts/types/WebSocketTtsRequest.js +0 -61
  1614. package/dist/serialization/resources/tts/types/WordTimestamps.d.ts +0 -14
  1615. package/dist/serialization/resources/tts/types/WordTimestamps.js +0 -45
  1616. package/dist/serialization/resources/tts/types/index.d.ts +0 -39
  1617. package/dist/serialization/resources/tts/types/index.js +0 -55
  1618. package/dist/serialization/resources/voiceChanger/index.d.ts +0 -1
  1619. package/dist/serialization/resources/voiceChanger/index.js +0 -17
  1620. package/dist/serialization/resources/voiceChanger/types/OutputFormatContainer.d.ts +0 -10
  1621. package/dist/serialization/resources/voiceChanger/types/OutputFormatContainer.js +0 -41
  1622. package/dist/serialization/resources/voiceChanger/types/StreamingResponse.d.ts +0 -22
  1623. package/dist/serialization/resources/voiceChanger/types/StreamingResponse.js +0 -53
  1624. package/dist/serialization/resources/voiceChanger/types/index.d.ts +0 -2
  1625. package/dist/serialization/resources/voiceChanger/types/index.js +0 -18
  1626. package/dist/serialization/resources/voices/client/index.d.ts +0 -1
  1627. package/dist/serialization/resources/voices/client/index.js +0 -37
  1628. package/dist/serialization/resources/voices/client/list.d.ts +0 -11
  1629. package/dist/serialization/resources/voices/client/list.js +0 -42
  1630. package/dist/serialization/resources/voices/index.d.ts +0 -2
  1631. package/dist/serialization/resources/voices/index.js +0 -18
  1632. package/dist/serialization/resources/voices/types/BaseVoiceId.d.ts +0 -11
  1633. package/dist/serialization/resources/voices/types/BaseVoiceId.js +0 -8
  1634. package/dist/serialization/resources/voices/types/CloneMode.d.ts +0 -10
  1635. package/dist/serialization/resources/voices/types/CloneMode.js +0 -41
  1636. package/dist/serialization/resources/voices/types/CreateVoiceRequest.d.ts +0 -19
  1637. package/dist/serialization/resources/voices/types/CreateVoiceRequest.js +0 -50
  1638. package/dist/serialization/resources/voices/types/EmbeddingResponse.d.ts +0 -13
  1639. package/dist/serialization/resources/voices/types/EmbeddingResponse.js +0 -44
  1640. package/dist/serialization/resources/voices/types/EmbeddingSpecifier.d.ts +0 -15
  1641. package/dist/serialization/resources/voices/types/EmbeddingSpecifier.js +0 -46
  1642. package/dist/serialization/resources/voices/types/Gender.d.ts +0 -10
  1643. package/dist/serialization/resources/voices/types/Gender.js +0 -44
  1644. package/dist/serialization/resources/voices/types/IdSpecifier.d.ts +0 -15
  1645. package/dist/serialization/resources/voices/types/IdSpecifier.js +0 -46
  1646. package/dist/serialization/resources/voices/types/LocalizeDialect.d.ts +0 -14
  1647. package/dist/serialization/resources/voices/types/LocalizeDialect.js +0 -50
  1648. package/dist/serialization/resources/voices/types/LocalizeEnglishDialect.d.ts +0 -10
  1649. package/dist/serialization/resources/voices/types/LocalizeEnglishDialect.js +0 -41
  1650. package/dist/serialization/resources/voices/types/LocalizeFrenchDialect.d.ts +0 -10
  1651. package/dist/serialization/resources/voices/types/LocalizeFrenchDialect.js +0 -41
  1652. package/dist/serialization/resources/voices/types/LocalizePortugueseDialect.d.ts +0 -10
  1653. package/dist/serialization/resources/voices/types/LocalizePortugueseDialect.js +0 -41
  1654. package/dist/serialization/resources/voices/types/LocalizeSpanishDialect.d.ts +0 -10
  1655. package/dist/serialization/resources/voices/types/LocalizeSpanishDialect.js +0 -41
  1656. package/dist/serialization/resources/voices/types/LocalizeTargetLanguage.d.ts +0 -10
  1657. package/dist/serialization/resources/voices/types/LocalizeTargetLanguage.js +0 -57
  1658. package/dist/serialization/resources/voices/types/LocalizeVoiceRequest.d.ts +0 -20
  1659. package/dist/serialization/resources/voices/types/LocalizeVoiceRequest.js +0 -51
  1660. package/dist/serialization/resources/voices/types/MixVoiceSpecifier.d.ts +0 -12
  1661. package/dist/serialization/resources/voices/types/MixVoiceSpecifier.js +0 -43
  1662. package/dist/serialization/resources/voices/types/MixVoicesRequest.d.ts +0 -13
  1663. package/dist/serialization/resources/voices/types/MixVoicesRequest.js +0 -44
  1664. package/dist/serialization/resources/voices/types/UpdateVoiceRequest.d.ts +0 -13
  1665. package/dist/serialization/resources/voices/types/UpdateVoiceRequest.js +0 -44
  1666. package/dist/serialization/resources/voices/types/Voice.d.ts +0 -22
  1667. package/dist/serialization/resources/voices/types/Voice.js +0 -53
  1668. package/dist/serialization/resources/voices/types/VoiceId.d.ts +0 -10
  1669. package/dist/serialization/resources/voices/types/VoiceId.js +0 -41
  1670. package/dist/serialization/resources/voices/types/VoiceMetadata.d.ts +0 -20
  1671. package/dist/serialization/resources/voices/types/VoiceMetadata.js +0 -51
  1672. package/dist/serialization/resources/voices/types/Weight.d.ts +0 -10
  1673. package/dist/serialization/resources/voices/types/Weight.js +0 -41
  1674. package/dist/serialization/resources/voices/types/index.d.ts +0 -21
  1675. package/dist/serialization/resources/voices/types/index.js +0 -37
  1676. package/dist/version.d.ts +0 -1
  1677. package/dist/version.js +0 -4
  1678. package/dist/wrapper/Client.d.ts +0 -9
  1679. package/dist/wrapper/Client.js +0 -17
  1680. package/dist/wrapper/StreamingSTTClient.d.ts +0 -26
  1681. package/dist/wrapper/StreamingSTTClient.js +0 -140
  1682. package/dist/wrapper/StreamingTTSClient.d.ts +0 -16
  1683. package/dist/wrapper/StreamingTTSClient.js +0 -23
  1684. package/dist/wrapper/SttWebsocket.d.ts +0 -34
  1685. package/dist/wrapper/SttWebsocket.js +0 -219
  1686. package/dist/wrapper/WebPlayer.d.ts +0 -44
  1687. package/dist/wrapper/WebPlayer.js +0 -141
  1688. package/dist/wrapper/Websocket.d.ts +0 -40
  1689. package/dist/wrapper/Websocket.js +0 -243
  1690. package/dist/wrapper/source.d.ts +0 -65
  1691. package/dist/wrapper/source.js +0 -179
  1692. package/dist/wrapper/utils.d.ts +0 -105
  1693. package/dist/wrapper/utils.js +0 -173
  1694. package/environments.d.ts +0 -7
  1695. package/environments.js +0 -9
  1696. package/errors/CartesiaError.d.ts +0 -12
  1697. package/errors/CartesiaError.js +0 -33
  1698. package/errors/CartesiaTimeoutError.d.ts +0 -6
  1699. package/errors/CartesiaTimeoutError.js +0 -13
  1700. package/errors/index.d.ts +0 -2
  1701. package/errors/index.js +0 -7
  1702. package/jest.config.mjs +0 -8
  1703. package/reference.md +0 -1052
  1704. package/scripts/rename-to-esm-files.js +0 -115
  1705. package/serialization/index.d.ts +0 -1
  1706. package/serialization/index.js +0 -17
  1707. package/serialization/resources/apiStatus/index.d.ts +0 -1
  1708. package/serialization/resources/apiStatus/index.js +0 -17
  1709. package/serialization/resources/apiStatus/types/ApiInfo.d.ts +0 -13
  1710. package/serialization/resources/apiStatus/types/ApiInfo.js +0 -44
  1711. package/serialization/resources/apiStatus/types/index.d.ts +0 -1
  1712. package/serialization/resources/apiStatus/types/index.js +0 -17
  1713. package/serialization/resources/auth/index.d.ts +0 -1
  1714. package/serialization/resources/auth/index.js +0 -17
  1715. package/serialization/resources/auth/types/TokenGrant.d.ts +0 -13
  1716. package/serialization/resources/auth/types/TokenGrant.js +0 -44
  1717. package/serialization/resources/auth/types/TokenRequest.d.ts +0 -14
  1718. package/serialization/resources/auth/types/TokenRequest.js +0 -45
  1719. package/serialization/resources/auth/types/TokenResponse.d.ts +0 -12
  1720. package/serialization/resources/auth/types/TokenResponse.js +0 -43
  1721. package/serialization/resources/auth/types/index.d.ts +0 -3
  1722. package/serialization/resources/auth/types/index.js +0 -19
  1723. package/serialization/resources/embedding/index.d.ts +0 -1
  1724. package/serialization/resources/embedding/index.js +0 -17
  1725. package/serialization/resources/embedding/types/Embedding.d.ts +0 -10
  1726. package/serialization/resources/embedding/types/Embedding.js +0 -41
  1727. package/serialization/resources/embedding/types/index.d.ts +0 -1
  1728. package/serialization/resources/embedding/types/index.js +0 -17
  1729. package/serialization/resources/index.d.ts +0 -14
  1730. package/serialization/resources/index.js +0 -53
  1731. package/serialization/resources/stt/index.d.ts +0 -1
  1732. package/serialization/resources/stt/index.js +0 -17
  1733. package/serialization/resources/stt/types/DoneMessage.d.ts +0 -12
  1734. package/serialization/resources/stt/types/DoneMessage.js +0 -43
  1735. package/serialization/resources/stt/types/ErrorMessage.d.ts +0 -13
  1736. package/serialization/resources/stt/types/ErrorMessage.js +0 -44
  1737. package/serialization/resources/stt/types/FlushDoneMessage.d.ts +0 -12
  1738. package/serialization/resources/stt/types/FlushDoneMessage.js +0 -43
  1739. package/serialization/resources/stt/types/StreamingTranscriptionResponse.d.ts +0 -26
  1740. package/serialization/resources/stt/types/StreamingTranscriptionResponse.js +0 -55
  1741. package/serialization/resources/stt/types/SttEncoding.d.ts +0 -10
  1742. package/serialization/resources/stt/types/SttEncoding.js +0 -41
  1743. package/serialization/resources/stt/types/TimestampGranularity.d.ts +0 -10
  1744. package/serialization/resources/stt/types/TimestampGranularity.js +0 -41
  1745. package/serialization/resources/stt/types/TranscriptMessage.d.ts +0 -18
  1746. package/serialization/resources/stt/types/TranscriptMessage.js +0 -49
  1747. package/serialization/resources/stt/types/TranscriptionResponse.d.ts +0 -16
  1748. package/serialization/resources/stt/types/TranscriptionResponse.js +0 -47
  1749. package/serialization/resources/stt/types/TranscriptionWord.d.ts +0 -14
  1750. package/serialization/resources/stt/types/TranscriptionWord.js +0 -45
  1751. package/serialization/resources/stt/types/index.d.ts +0 -9
  1752. package/serialization/resources/stt/types/index.js +0 -25
  1753. package/serialization/resources/tts/index.d.ts +0 -1
  1754. package/serialization/resources/tts/index.js +0 -17
  1755. package/serialization/resources/tts/types/CancelContextRequest.d.ts +0 -14
  1756. package/serialization/resources/tts/types/CancelContextRequest.js +0 -45
  1757. package/serialization/resources/tts/types/ContextId.d.ts +0 -10
  1758. package/serialization/resources/tts/types/ContextId.js +0 -41
  1759. package/serialization/resources/tts/types/Controls.d.ts +0 -15
  1760. package/serialization/resources/tts/types/Controls.js +0 -46
  1761. package/serialization/resources/tts/types/Emotion.d.ts +0 -10
  1762. package/serialization/resources/tts/types/Emotion.js +0 -41
  1763. package/serialization/resources/tts/types/EmotionDeprecated.d.ts +0 -10
  1764. package/serialization/resources/tts/types/EmotionDeprecated.js +0 -67
  1765. package/serialization/resources/tts/types/FlushId.d.ts +0 -10
  1766. package/serialization/resources/tts/types/FlushId.js +0 -41
  1767. package/serialization/resources/tts/types/GenerationConfig.d.ts +0 -15
  1768. package/serialization/resources/tts/types/GenerationConfig.js +0 -46
  1769. package/serialization/resources/tts/types/GenerationRequest.d.ts +0 -33
  1770. package/serialization/resources/tts/types/GenerationRequest.js +0 -64
  1771. package/serialization/resources/tts/types/ModelSpeed.d.ts +0 -10
  1772. package/serialization/resources/tts/types/ModelSpeed.js +0 -41
  1773. package/serialization/resources/tts/types/Mp3OutputFormat.d.ts +0 -13
  1774. package/serialization/resources/tts/types/Mp3OutputFormat.js +0 -44
  1775. package/serialization/resources/tts/types/NaturalSpecifier.d.ts +0 -10
  1776. package/serialization/resources/tts/types/NaturalSpecifier.js +0 -41
  1777. package/serialization/resources/tts/types/NumericalSpecifier.d.ts +0 -10
  1778. package/serialization/resources/tts/types/NumericalSpecifier.js +0 -41
  1779. package/serialization/resources/tts/types/OutputFormat.d.ts +0 -22
  1780. package/serialization/resources/tts/types/OutputFormat.js +0 -53
  1781. package/serialization/resources/tts/types/PhonemeTimestamps.d.ts +0 -14
  1782. package/serialization/resources/tts/types/PhonemeTimestamps.js +0 -45
  1783. package/serialization/resources/tts/types/RawEncoding.d.ts +0 -10
  1784. package/serialization/resources/tts/types/RawEncoding.js +0 -41
  1785. package/serialization/resources/tts/types/RawOutputFormat.d.ts +0 -15
  1786. package/serialization/resources/tts/types/RawOutputFormat.js +0 -46
  1787. package/serialization/resources/tts/types/Speed.d.ts +0 -12
  1788. package/serialization/resources/tts/types/Speed.js +0 -43
  1789. package/serialization/resources/tts/types/SseOutputFormat.d.ts +0 -15
  1790. package/serialization/resources/tts/types/SseOutputFormat.js +0 -46
  1791. package/serialization/resources/tts/types/SupportedLanguage.d.ts +0 -10
  1792. package/serialization/resources/tts/types/SupportedLanguage.js +0 -57
  1793. package/serialization/resources/tts/types/TtsRequest.d.ts +0 -25
  1794. package/serialization/resources/tts/types/TtsRequest.js +0 -56
  1795. package/serialization/resources/tts/types/TtsRequestEmbeddingSpecifier.d.ts +0 -16
  1796. package/serialization/resources/tts/types/TtsRequestEmbeddingSpecifier.js +0 -47
  1797. package/serialization/resources/tts/types/TtsRequestIdSpecifier.d.ts +0 -16
  1798. package/serialization/resources/tts/types/TtsRequestIdSpecifier.js +0 -47
  1799. package/serialization/resources/tts/types/TtsRequestVoiceSpecifier.d.ts +0 -12
  1800. package/serialization/resources/tts/types/TtsRequestVoiceSpecifier.js +0 -43
  1801. package/serialization/resources/tts/types/TtssseRequest.d.ts +0 -30
  1802. package/serialization/resources/tts/types/TtssseRequest.js +0 -61
  1803. package/serialization/resources/tts/types/WavOutputFormat.d.ts +0 -12
  1804. package/serialization/resources/tts/types/WavOutputFormat.js +0 -42
  1805. package/serialization/resources/tts/types/WebSocketBaseResponse.d.ts +0 -15
  1806. package/serialization/resources/tts/types/WebSocketBaseResponse.js +0 -46
  1807. package/serialization/resources/tts/types/WebSocketChunkResponse.d.ts +0 -14
  1808. package/serialization/resources/tts/types/WebSocketChunkResponse.js +0 -47
  1809. package/serialization/resources/tts/types/WebSocketDoneResponse.d.ts +0 -12
  1810. package/serialization/resources/tts/types/WebSocketDoneResponse.js +0 -42
  1811. package/serialization/resources/tts/types/WebSocketErrorResponse.d.ts +0 -13
  1812. package/serialization/resources/tts/types/WebSocketErrorResponse.js +0 -46
  1813. package/serialization/resources/tts/types/WebSocketFlushDoneResponse.d.ts +0 -15
  1814. package/serialization/resources/tts/types/WebSocketFlushDoneResponse.js +0 -48
  1815. package/serialization/resources/tts/types/WebSocketPhonemeTimestampsResponse.d.ts +0 -14
  1816. package/serialization/resources/tts/types/WebSocketPhonemeTimestampsResponse.js +0 -47
  1817. package/serialization/resources/tts/types/WebSocketRawOutputFormat.d.ts +0 -15
  1818. package/serialization/resources/tts/types/WebSocketRawOutputFormat.js +0 -46
  1819. package/serialization/resources/tts/types/WebSocketRequest.d.ts +0 -12
  1820. package/serialization/resources/tts/types/WebSocketRequest.js +0 -43
  1821. package/serialization/resources/tts/types/WebSocketResponse.d.ts +0 -34
  1822. package/serialization/resources/tts/types/WebSocketResponse.js +0 -59
  1823. package/serialization/resources/tts/types/WebSocketStreamOptions.d.ts +0 -12
  1824. package/serialization/resources/tts/types/WebSocketStreamOptions.js +0 -43
  1825. package/serialization/resources/tts/types/WebSocketTimestampsResponse.d.ts +0 -14
  1826. package/serialization/resources/tts/types/WebSocketTimestampsResponse.js +0 -47
  1827. package/serialization/resources/tts/types/WebSocketTtsOutput.d.ts +0 -21
  1828. package/serialization/resources/tts/types/WebSocketTtsOutput.js +0 -52
  1829. package/serialization/resources/tts/types/WebSocketTtsRequest.d.ts +0 -30
  1830. package/serialization/resources/tts/types/WebSocketTtsRequest.js +0 -61
  1831. package/serialization/resources/tts/types/WordTimestamps.d.ts +0 -14
  1832. package/serialization/resources/tts/types/WordTimestamps.js +0 -45
  1833. package/serialization/resources/tts/types/index.d.ts +0 -39
  1834. package/serialization/resources/tts/types/index.js +0 -55
  1835. package/serialization/resources/voiceChanger/index.d.ts +0 -1
  1836. package/serialization/resources/voiceChanger/index.js +0 -17
  1837. package/serialization/resources/voiceChanger/types/OutputFormatContainer.d.ts +0 -10
  1838. package/serialization/resources/voiceChanger/types/OutputFormatContainer.js +0 -41
  1839. package/serialization/resources/voiceChanger/types/StreamingResponse.d.ts +0 -22
  1840. package/serialization/resources/voiceChanger/types/StreamingResponse.js +0 -53
  1841. package/serialization/resources/voiceChanger/types/index.d.ts +0 -2
  1842. package/serialization/resources/voiceChanger/types/index.js +0 -18
  1843. package/serialization/resources/voices/client/index.d.ts +0 -1
  1844. package/serialization/resources/voices/client/index.js +0 -37
  1845. package/serialization/resources/voices/client/list.d.ts +0 -11
  1846. package/serialization/resources/voices/client/list.js +0 -42
  1847. package/serialization/resources/voices/index.d.ts +0 -2
  1848. package/serialization/resources/voices/index.js +0 -18
  1849. package/serialization/resources/voices/types/BaseVoiceId.d.ts +0 -11
  1850. package/serialization/resources/voices/types/BaseVoiceId.js +0 -8
  1851. package/serialization/resources/voices/types/CloneMode.d.ts +0 -10
  1852. package/serialization/resources/voices/types/CloneMode.js +0 -41
  1853. package/serialization/resources/voices/types/CreateVoiceRequest.d.ts +0 -19
  1854. package/serialization/resources/voices/types/CreateVoiceRequest.js +0 -50
  1855. package/serialization/resources/voices/types/EmbeddingResponse.d.ts +0 -13
  1856. package/serialization/resources/voices/types/EmbeddingResponse.js +0 -44
  1857. package/serialization/resources/voices/types/EmbeddingSpecifier.d.ts +0 -15
  1858. package/serialization/resources/voices/types/EmbeddingSpecifier.js +0 -46
  1859. package/serialization/resources/voices/types/Gender.d.ts +0 -10
  1860. package/serialization/resources/voices/types/Gender.js +0 -44
  1861. package/serialization/resources/voices/types/IdSpecifier.d.ts +0 -15
  1862. package/serialization/resources/voices/types/IdSpecifier.js +0 -46
  1863. package/serialization/resources/voices/types/LocalizeDialect.d.ts +0 -14
  1864. package/serialization/resources/voices/types/LocalizeDialect.js +0 -50
  1865. package/serialization/resources/voices/types/LocalizeEnglishDialect.d.ts +0 -10
  1866. package/serialization/resources/voices/types/LocalizeEnglishDialect.js +0 -41
  1867. package/serialization/resources/voices/types/LocalizeFrenchDialect.d.ts +0 -10
  1868. package/serialization/resources/voices/types/LocalizeFrenchDialect.js +0 -41
  1869. package/serialization/resources/voices/types/LocalizePortugueseDialect.d.ts +0 -10
  1870. package/serialization/resources/voices/types/LocalizePortugueseDialect.js +0 -41
  1871. package/serialization/resources/voices/types/LocalizeSpanishDialect.d.ts +0 -10
  1872. package/serialization/resources/voices/types/LocalizeSpanishDialect.js +0 -41
  1873. package/serialization/resources/voices/types/LocalizeTargetLanguage.d.ts +0 -10
  1874. package/serialization/resources/voices/types/LocalizeTargetLanguage.js +0 -57
  1875. package/serialization/resources/voices/types/LocalizeVoiceRequest.d.ts +0 -20
  1876. package/serialization/resources/voices/types/LocalizeVoiceRequest.js +0 -51
  1877. package/serialization/resources/voices/types/MixVoiceSpecifier.d.ts +0 -12
  1878. package/serialization/resources/voices/types/MixVoiceSpecifier.js +0 -43
  1879. package/serialization/resources/voices/types/MixVoicesRequest.d.ts +0 -13
  1880. package/serialization/resources/voices/types/MixVoicesRequest.js +0 -44
  1881. package/serialization/resources/voices/types/UpdateVoiceRequest.d.ts +0 -13
  1882. package/serialization/resources/voices/types/UpdateVoiceRequest.js +0 -44
  1883. package/serialization/resources/voices/types/Voice.d.ts +0 -22
  1884. package/serialization/resources/voices/types/Voice.js +0 -53
  1885. package/serialization/resources/voices/types/VoiceId.d.ts +0 -10
  1886. package/serialization/resources/voices/types/VoiceId.js +0 -41
  1887. package/serialization/resources/voices/types/VoiceMetadata.d.ts +0 -20
  1888. package/serialization/resources/voices/types/VoiceMetadata.js +0 -51
  1889. package/serialization/resources/voices/types/Weight.d.ts +0 -10
  1890. package/serialization/resources/voices/types/Weight.js +0 -41
  1891. package/serialization/resources/voices/types/index.d.ts +0 -21
  1892. package/serialization/resources/voices/types/index.js +0 -37
  1893. package/wrapper/Client.d.ts +0 -9
  1894. package/wrapper/Client.js +0 -17
  1895. package/wrapper/StreamingSTTClient.d.ts +0 -26
  1896. package/wrapper/StreamingSTTClient.js +0 -140
  1897. package/wrapper/StreamingTTSClient.d.ts +0 -16
  1898. package/wrapper/StreamingTTSClient.js +0 -23
  1899. package/wrapper/SttWebsocket.d.ts +0 -34
  1900. package/wrapper/SttWebsocket.js +0 -219
  1901. package/wrapper/WebPlayer.d.ts +0 -44
  1902. package/wrapper/WebPlayer.js +0 -141
  1903. package/wrapper/Websocket.d.ts +0 -40
  1904. package/wrapper/Websocket.js +0 -243
  1905. package/wrapper/source.d.ts +0 -65
  1906. package/wrapper/source.js +0 -179
  1907. package/wrapper/utils.d.ts +0 -105
  1908. package/wrapper/utils.js +0 -173
package/CHANGELOG.md ADDED
@@ -0,0 +1,120 @@
1
+ # Changelog
2
+
3
+ ## 3.0.0-b11 (2026-01-20)
4
+
5
+ Full Changelog: [v3.0.0-b10...v3.0.0-b11](https://github.com/cartesia-ai/cartesia-js-internal/compare/v3.0.0-b10...v3.0.0-b11)
6
+
7
+ ### Features
8
+
9
+ * **api:** binary response types ([5bdf3e3](https://github.com/cartesia-ai/cartesia-js-internal/commit/5bdf3e3be2867099b8187c186745a509991df91e))
10
+
11
+ ## 3.0.0-b10 (2026-01-20)
12
+
13
+ Full Changelog: [v3.0.0-b9...v3.0.0-b10](https://github.com/cartesia-ai/cartesia-js-internal/compare/v3.0.0-b9...v3.0.0-b10)
14
+
15
+ ### Features
16
+
17
+ * **api:** voice changer response ([5ca129b](https://github.com/cartesia-ai/cartesia-js-internal/commit/5ca129b1dfa59043560c7866a2cdd87fb03b42bf))
18
+
19
+ ## 3.0.0-b9 (2026-01-16)
20
+
21
+ Full Changelog: [v3.0.0-b8...v3.0.0-b9](https://github.com/cartesia-ai/cartesia-js-internal/compare/v3.0.0-b8...v3.0.0-b9)
22
+
23
+ ### Features
24
+
25
+ * refine backcompat layer with strict Node stream return types ([0fc86b8](https://github.com/cartesia-ai/cartesia-js-internal/commit/0fc86b840a7b94fa6017aa454225ef6ee3a31d5f))
26
+
27
+ ## 3.0.0-b8 (2026-01-16)
28
+
29
+ Full Changelog: [v3.0.0-b7...v3.0.0-b8](https://github.com/cartesia-ai/cartesia-js-internal/compare/v3.0.0-b7...v3.0.0-b8)
30
+
31
+ ### Chores
32
+
33
+ * fix typo in descriptions ([895a99d](https://github.com/cartesia-ai/cartesia-js-internal/commit/895a99d1f9436866184ffa6982635e771cfc16ce))
34
+ * **internal:** update `actions/checkout` version ([78c57e2](https://github.com/cartesia-ai/cartesia-js-internal/commit/78c57e297e0a578a04d03e8b1f3dadc3d2c1ce3d))
35
+ * **internal:** upgrade babel, qs, js-yaml ([b9f1b07](https://github.com/cartesia-ai/cartesia-js-internal/commit/b9f1b0705e635b7d3e0690886adf89349ffe5597))
36
+
37
+ ## 3.0.0-b7 (2026-01-13)
38
+
39
+ Full Changelog: [v3.0.0-b6...v3.0.0-b7](https://github.com/cartesia-ai/cartesia-js-internal/compare/v3.0.0-b6...v3.0.0-b7)
40
+
41
+ ## 3.0.0-b6 (2026-01-09)
42
+
43
+ Full Changelog: [v3.0.0-b5...v3.0.0-b6](https://github.com/cartesia-ai/cartesia-js-internal/compare/v3.0.0-b5...v3.0.0-b6)
44
+
45
+ ## 3.0.0-b5 (2026-01-07)
46
+
47
+ Full Changelog: [v3.0.0-b4...v3.0.0-b5](https://github.com/cartesia-ai/cartesia-js-internal/compare/v3.0.0-b4...v3.0.0-b5)
48
+
49
+ ### Features
50
+
51
+ * **api:** fix readme ([91bd83c](https://github.com/cartesia-ai/cartesia-js-internal/commit/91bd83cb75d8b92778928cf7aebab908f7723b79))
52
+
53
+ ## 3.0.0-b4 (2026-01-07)
54
+
55
+ Full Changelog: [v3.0.0-b3...v3.0.0-b4](https://github.com/cartesia-ai/cartesia-js-internal/compare/v3.0.0-b3...v3.0.0-b4)
56
+
57
+ ### Features
58
+
59
+ * **api:** fix list/get uri mismatch ([cf74b40](https://github.com/cartesia-ai/cartesia-js-internal/commit/cf74b40daedb940dec1740d8c2c8d63d9a758e33))
60
+ * **api:** sync openapi spec ([d4def66](https://github.com/cartesia-ai/cartesia-js-internal/commit/d4def66cab22c20f2433f502b06c05eb622105ad))
61
+
62
+ ## 3.0.0-b3 (2026-01-06)
63
+
64
+ Full Changelog: [v3.0.0-b2...v3.0.0-b3](https://github.com/cartesia-ai/cartesia-js-internal/compare/v3.0.0-b2...v3.0.0-b3)
65
+
66
+ ### Features
67
+
68
+ * **api:** add generation_config and generation_request to types export ([55b3d0c](https://github.com/cartesia-ai/cartesia-js-internal/commit/55b3d0ca52fa9b1a63dde5bb3c806708bd1424c7))
69
+ * **api:** move connect into tts ([50b07ef](https://github.com/cartesia-ai/cartesia-js-internal/commit/50b07efcba3abf7183ee5fe0061e855eeb39c40e))
70
+ * **client:** add support for websockets ([d241a31](https://github.com/cartesia-ai/cartesia-js-internal/commit/d241a3181979a106a00aab920538a880152f9106))
71
+
72
+
73
+ ### Bug Fixes
74
+
75
+ * correct client name ([dd6b170](https://github.com/cartesia-ai/cartesia-js-internal/commit/dd6b170533ba66a9ac7b1fb6bf81a8716c74c264))
76
+ * **mcp:** correct code tool API endpoint ([d17b424](https://github.com/cartesia-ai/cartesia-js-internal/commit/d17b424670152b357440ae90a6fe30dd56baf799))
77
+ * **mcp:** return correct lines on typescript errors ([3912828](https://github.com/cartesia-ai/cartesia-js-internal/commit/39128283aeaf2aa5a7b5ea03db5e3dfcc3d04e15))
78
+
79
+
80
+ ### Chores
81
+
82
+ * break long lines in snippets into multiline ([124c326](https://github.com/cartesia-ai/cartesia-js-internal/commit/124c326d47d192810aa610dc2a71d7ed8163992d))
83
+ * **client:** fix logger property type ([8fec3fb](https://github.com/cartesia-ai/cartesia-js-internal/commit/8fec3fbbcb0f7123b9b13bfaf74e9c03579ef2cf))
84
+ * **internal:** codegen related update ([4cbab21](https://github.com/cartesia-ai/cartesia-js-internal/commit/4cbab218f2a5f82eac61aee26c8b51cdabd343a1))
85
+ * **internal:** codegen related update ([80c80ee](https://github.com/cartesia-ai/cartesia-js-internal/commit/80c80ee6e3cefc3c027769e24129d90c40eda894))
86
+ * **internal:** codegen related update ([d70b514](https://github.com/cartesia-ai/cartesia-js-internal/commit/d70b5149a5fcead62befde97799ee4f73530f19a))
87
+ * **internal:** upgrade eslint ([b5ec6d3](https://github.com/cartesia-ai/cartesia-js-internal/commit/b5ec6d37f1cb738c287c8bc69b98514662a2f6ce))
88
+
89
+
90
+ ### Documentation
91
+
92
+ * prominently feature MCP server setup in root SDK readmes ([e432267](https://github.com/cartesia-ai/cartesia-js-internal/commit/e432267d940ea2dec986465ad77872fc67784751))
93
+
94
+ ## 3.0.0-b2 (2025-11-26)
95
+
96
+ Full Changelog: [v0.0.1...v3.0.0-b2](https://github.com/cartesia-ai/cartesia-js-internal/compare/v0.0.1...v3.0.0-b2)
97
+
98
+ ### Features
99
+
100
+ * **api:** ws allOf updates ([13201f8](https://github.com/cartesia-ai/cartesia-js-internal/commit/13201f873fc0245c6fed160975907de80f332b2e))
101
+
102
+
103
+ ### Bug Fixes
104
+
105
+ * bytes returns arraybuffer ([#26](https://github.com/cartesia-ai/cartesia-js-internal/issues/26)) ([229ea0f](https://github.com/cartesia-ai/cartesia-js-internal/commit/229ea0f08c21d9a5fb56be8fac2a044368a33c34))
106
+ * export correct client ([#21](https://github.com/cartesia-ai/cartesia-js-internal/issues/21)) ([e8456dd](https://github.com/cartesia-ai/cartesia-js-internal/commit/e8456dd39a91f55cb27cd038cef0dbcd1b1acf3e))
107
+ * include message in `TimeoutError` for `.fernignore` clients. ([#41](https://github.com/cartesia-ai/cartesia-js-internal/issues/41)) ([d50a5b9](https://github.com/cartesia-ai/cartesia-js-internal/commit/d50a5b9a30a3c7001572d60314a6a3bb752ac28f))
108
+ * upgrade qs from 6.11.2 to 6.13.0 ([#24](https://github.com/cartesia-ai/cartesia-js-internal/issues/24)) ([fddd4ac](https://github.com/cartesia-ai/cartesia-js-internal/commit/fddd4acef6bd20d3859712b25f8774c6d04c2031))
109
+
110
+
111
+ ### Chores
112
+
113
+ * downgrade emittery for cjs compatiblity ([#23](https://github.com/cartesia-ai/cartesia-js-internal/issues/23)) ([015d941](https://github.com/cartesia-ai/cartesia-js-internal/commit/015d9414cff876e44adf776cecca73bc081c2b48))
114
+ * export `WebPlayer` ([#31](https://github.com/cartesia-ai/cartesia-js-internal/issues/31)) ([e31186e](https://github.com/cartesia-ai/cartesia-js-internal/commit/e31186e75fbb22c5a79d82ddea5b160f3dd05e04))
115
+ * remove `ci.yml` branch ([#22](https://github.com/cartesia-ai/cartesia-js-internal/issues/22)) ([6d2201a](https://github.com/cartesia-ai/cartesia-js-internal/commit/6d2201a7d13172768b5d17c2e8dc5ebfd3d9bcd2))
116
+ * sync repo ([8cb58ff](https://github.com/cartesia-ai/cartesia-js-internal/commit/8cb58ffa568f67697748f9ea50ce28bd7119d517))
117
+ * update `apiKeyHeader` to `apiKey` ([#20](https://github.com/cartesia-ai/cartesia-js-internal/issues/20)) ([0f54d2e](https://github.com/cartesia-ai/cartesia-js-internal/commit/0f54d2ee812cd080c8722a55a157b63a37f885d5))
118
+ * Update README.md ([#32](https://github.com/cartesia-ai/cartesia-js-internal/issues/32)) ([8d36b88](https://github.com/cartesia-ai/cartesia-js-internal/commit/8d36b88f76a56b470e57d16190f127d915e934e9))
119
+ * update SDK settings ([958847f](https://github.com/cartesia-ai/cartesia-js-internal/commit/958847f762544bb6b592f29d583ab7a2c1f609c9))
120
+ * update SDK settings ([8b43493](https://github.com/cartesia-ai/cartesia-js-internal/commit/8b434934e6ec6288d973b5caa7c4c1e3fa3639a7))
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Cartesia
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.