casedev 0.67.2 → 0.69.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (808) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/client.d.mts +8 -17
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +8 -17
  5. package/client.d.ts.map +1 -1
  6. package/client.js +15 -16
  7. package/client.js.map +1 -1
  8. package/client.mjs +15 -16
  9. package/client.mjs.map +1 -1
  10. package/internal/parse.d.mts.map +1 -1
  11. package/internal/parse.d.ts.map +1 -1
  12. package/internal/parse.js +0 -10
  13. package/internal/parse.js.map +1 -1
  14. package/internal/parse.mjs +0 -10
  15. package/internal/parse.mjs.map +1 -1
  16. package/internal/request-options.d.mts +0 -2
  17. package/internal/request-options.d.mts.map +1 -1
  18. package/internal/request-options.d.ts +0 -2
  19. package/internal/request-options.d.ts.map +1 -1
  20. package/internal/request-options.js.map +1 -1
  21. package/internal/request-options.mjs.map +1 -1
  22. package/internal/tslib.js +17 -17
  23. package/package.json +9 -25
  24. package/resources/connectors/connectors.d.mts +10 -0
  25. package/resources/connectors/connectors.d.mts.map +1 -0
  26. package/resources/connectors/connectors.d.ts +10 -0
  27. package/resources/connectors/connectors.d.ts.map +1 -0
  28. package/resources/{format/format.js → connectors/connectors.js} +5 -5
  29. package/resources/connectors/connectors.js.map +1 -0
  30. package/resources/{format/format.mjs → connectors/connectors.mjs} +3 -3
  31. package/resources/connectors/connectors.mjs.map +1 -0
  32. package/resources/connectors/index.d.mts +3 -0
  33. package/resources/connectors/index.d.mts.map +1 -0
  34. package/resources/connectors/index.d.ts +3 -0
  35. package/resources/connectors/index.d.ts.map +1 -0
  36. package/resources/{format → connectors}/index.js +3 -3
  37. package/resources/connectors/index.js.map +1 -0
  38. package/resources/connectors/index.mjs +4 -0
  39. package/resources/connectors/index.mjs.map +1 -0
  40. package/resources/connectors/v1/connections.d.mts +109 -0
  41. package/resources/connectors/v1/connections.d.mts.map +1 -0
  42. package/resources/connectors/v1/connections.d.ts +109 -0
  43. package/resources/connectors/v1/connections.d.ts.map +1 -0
  44. package/resources/connectors/v1/connections.js +58 -0
  45. package/resources/connectors/v1/connections.js.map +1 -0
  46. package/resources/connectors/v1/connections.mjs +54 -0
  47. package/resources/connectors/v1/connections.mjs.map +1 -0
  48. package/resources/connectors/v1/index.d.mts +5 -0
  49. package/resources/connectors/v1/index.d.mts.map +1 -0
  50. package/resources/connectors/v1/index.d.ts +5 -0
  51. package/resources/connectors/v1/index.d.ts.map +1 -0
  52. package/resources/connectors/v1/index.js +13 -0
  53. package/resources/connectors/v1/index.js.map +1 -0
  54. package/resources/connectors/v1/index.mjs +6 -0
  55. package/resources/connectors/v1/index.mjs.map +1 -0
  56. package/resources/connectors/v1/installations/index.d.mts +3 -0
  57. package/resources/connectors/v1/installations/index.d.mts.map +1 -0
  58. package/resources/connectors/v1/installations/index.d.ts +3 -0
  59. package/resources/connectors/v1/installations/index.d.ts.map +1 -0
  60. package/resources/connectors/v1/installations/index.js +9 -0
  61. package/resources/connectors/v1/installations/index.js.map +1 -0
  62. package/resources/connectors/v1/installations/index.mjs +4 -0
  63. package/resources/connectors/v1/installations/index.mjs.map +1 -0
  64. package/resources/connectors/v1/installations/installations.d.mts +40 -0
  65. package/resources/connectors/v1/installations/installations.d.mts.map +1 -0
  66. package/resources/connectors/v1/installations/installations.d.ts +40 -0
  67. package/resources/connectors/v1/installations/installations.d.ts.map +1 -0
  68. package/resources/connectors/v1/installations/installations.js +43 -0
  69. package/resources/connectors/v1/installations/installations.js.map +1 -0
  70. package/resources/connectors/v1/installations/installations.mjs +38 -0
  71. package/resources/connectors/v1/installations/installations.mjs.map +1 -0
  72. package/resources/connectors/v1/installations/vaults.d.mts +56 -0
  73. package/resources/connectors/v1/installations/vaults.d.mts.map +1 -0
  74. package/resources/connectors/v1/installations/vaults.d.ts +56 -0
  75. package/resources/connectors/v1/installations/vaults.d.ts.map +1 -0
  76. package/resources/connectors/v1/installations/vaults.js +47 -0
  77. package/resources/connectors/v1/installations/vaults.js.map +1 -0
  78. package/resources/connectors/v1/installations/vaults.mjs +43 -0
  79. package/resources/connectors/v1/installations/vaults.mjs.map +1 -0
  80. package/resources/connectors/v1/installations.d.mts +2 -0
  81. package/resources/connectors/v1/installations.d.mts.map +1 -0
  82. package/resources/connectors/v1/installations.d.ts +2 -0
  83. package/resources/connectors/v1/installations.d.ts.map +1 -0
  84. package/resources/{agent/v1/chat.js → connectors/v1/installations.js} +2 -2
  85. package/resources/connectors/v1/installations.js.map +1 -0
  86. package/resources/{agent/skills.mjs → connectors/v1/installations.mjs} +2 -2
  87. package/resources/connectors/v1/installations.mjs.map +1 -0
  88. package/resources/connectors/v1/links.d.mts +57 -0
  89. package/resources/connectors/v1/links.d.mts.map +1 -0
  90. package/resources/connectors/v1/links.d.ts +57 -0
  91. package/resources/connectors/v1/links.d.ts.map +1 -0
  92. package/resources/connectors/v1/links.js +69 -0
  93. package/resources/connectors/v1/links.js.map +1 -0
  94. package/resources/connectors/v1/links.mjs +65 -0
  95. package/resources/connectors/v1/links.mjs.map +1 -0
  96. package/resources/connectors/v1/v1.d.mts +100 -0
  97. package/resources/connectors/v1/v1.d.mts.map +1 -0
  98. package/resources/connectors/v1/v1.d.ts +100 -0
  99. package/resources/connectors/v1/v1.d.ts.map +1 -0
  100. package/resources/connectors/v1/v1.js +47 -0
  101. package/resources/connectors/v1/v1.js.map +1 -0
  102. package/resources/connectors/v1/v1.mjs +42 -0
  103. package/resources/connectors/v1/v1.mjs.map +1 -0
  104. package/resources/connectors/v1.d.mts.map +1 -0
  105. package/resources/connectors/v1.d.ts.map +1 -0
  106. package/resources/connectors/v1.js.map +1 -0
  107. package/resources/connectors/v1.mjs.map +1 -0
  108. package/resources/connectors.d.mts +2 -0
  109. package/resources/connectors.d.mts.map +1 -0
  110. package/resources/connectors.d.ts +2 -0
  111. package/resources/connectors.d.ts.map +1 -0
  112. package/resources/{agent.js → connectors.js} +2 -2
  113. package/resources/connectors.js.map +1 -0
  114. package/resources/{agent.mjs → connectors.mjs} +2 -2
  115. package/resources/connectors.mjs.map +1 -0
  116. package/resources/index.d.mts +3 -6
  117. package/resources/index.d.mts.map +1 -1
  118. package/resources/index.d.ts +3 -6
  119. package/resources/index.d.ts.map +1 -1
  120. package/resources/index.js +5 -11
  121. package/resources/index.js.map +1 -1
  122. package/resources/index.mjs +2 -5
  123. package/resources/index.mjs.map +1 -1
  124. package/resources/legal/index.d.mts +1 -1
  125. package/resources/legal/index.d.mts.map +1 -1
  126. package/resources/legal/index.d.ts +1 -1
  127. package/resources/legal/index.d.ts.map +1 -1
  128. package/resources/legal/index.js.map +1 -1
  129. package/resources/legal/index.mjs.map +1 -1
  130. package/resources/legal/legal.d.mts +2 -2
  131. package/resources/legal/legal.d.mts.map +1 -1
  132. package/resources/legal/legal.d.ts +2 -2
  133. package/resources/legal/legal.d.ts.map +1 -1
  134. package/resources/legal/legal.js.map +1 -1
  135. package/resources/legal/legal.mjs.map +1 -1
  136. package/resources/legal/v1.d.mts +3 -80
  137. package/resources/legal/v1.d.mts.map +1 -1
  138. package/resources/legal/v1.d.ts +3 -80
  139. package/resources/legal/v1.d.ts.map +1 -1
  140. package/resources/legal/v1.js +0 -8
  141. package/resources/legal/v1.js.map +1 -1
  142. package/resources/legal/v1.mjs +0 -8
  143. package/resources/legal/v1.mjs.map +1 -1
  144. package/resources/linc/index.d.mts +3 -0
  145. package/resources/linc/index.d.mts.map +1 -0
  146. package/resources/linc/index.d.ts +3 -0
  147. package/resources/linc/index.d.ts.map +1 -0
  148. package/resources/{mail → linc}/index.js +3 -3
  149. package/resources/{mail → linc}/index.js.map +1 -1
  150. package/resources/{mail → linc}/index.mjs +1 -1
  151. package/resources/{mail → linc}/index.mjs.map +1 -1
  152. package/resources/{mail/mail.d.mts → linc/linc.d.mts} +3 -3
  153. package/resources/{mail/mail.d.mts.map → linc/linc.d.mts.map} +1 -1
  154. package/resources/{mail/mail.d.ts → linc/linc.d.ts} +3 -3
  155. package/resources/{mail/mail.d.ts.map → linc/linc.d.ts.map} +1 -1
  156. package/resources/{mail/mail.js → linc/linc.js} +5 -5
  157. package/resources/{mail/mail.js.map → linc/linc.js.map} +1 -1
  158. package/resources/{mail/mail.mjs → linc/linc.mjs} +3 -3
  159. package/resources/{mail/mail.mjs.map → linc/linc.mjs.map} +1 -1
  160. package/resources/linc/v1/index.d.mts +3 -0
  161. package/resources/linc/v1/index.d.mts.map +1 -0
  162. package/resources/linc/v1/index.d.ts +3 -0
  163. package/resources/linc/v1/index.d.ts.map +1 -0
  164. package/resources/{mail → linc}/v1/index.js +3 -3
  165. package/resources/linc/v1/index.js.map +1 -0
  166. package/resources/{mail → linc}/v1/index.mjs +1 -1
  167. package/resources/linc/v1/index.mjs.map +1 -0
  168. package/resources/linc/v1/sessions.d.mts +169 -0
  169. package/resources/linc/v1/sessions.d.mts.map +1 -0
  170. package/resources/linc/v1/sessions.d.ts +169 -0
  171. package/resources/linc/v1/sessions.d.ts.map +1 -0
  172. package/resources/linc/v1/sessions.js +103 -0
  173. package/resources/linc/v1/sessions.js.map +1 -0
  174. package/resources/linc/v1/sessions.mjs +99 -0
  175. package/resources/linc/v1/sessions.mjs.map +1 -0
  176. package/resources/linc/v1/v1.d.mts +10 -0
  177. package/resources/linc/v1/v1.d.mts.map +1 -0
  178. package/resources/linc/v1/v1.d.ts +10 -0
  179. package/resources/linc/v1/v1.d.ts.map +1 -0
  180. package/resources/{mail → linc}/v1/v1.js +4 -4
  181. package/resources/linc/v1/v1.js.map +1 -0
  182. package/resources/{mail → linc}/v1/v1.mjs +4 -4
  183. package/resources/linc/v1/v1.mjs.map +1 -0
  184. package/resources/{mail → linc}/v1.d.mts.map +1 -1
  185. package/resources/{mail → linc}/v1.d.ts.map +1 -1
  186. package/resources/linc/v1.js.map +1 -0
  187. package/resources/linc/v1.mjs.map +1 -0
  188. package/resources/linc.d.mts +2 -0
  189. package/resources/linc.d.mts.map +1 -0
  190. package/resources/linc.d.ts +2 -0
  191. package/resources/linc.d.ts.map +1 -0
  192. package/resources/{mail.js → linc.js} +2 -2
  193. package/resources/linc.js.map +1 -0
  194. package/resources/{agent/v1/chat.mjs → linc.mjs} +2 -2
  195. package/resources/linc.mjs.map +1 -0
  196. package/resources/llm/v1/chat.d.mts +3 -2
  197. package/resources/llm/v1/chat.d.mts.map +1 -1
  198. package/resources/llm/v1/chat.d.ts +3 -2
  199. package/resources/llm/v1/chat.d.ts.map +1 -1
  200. package/resources/matters/v1/index.d.mts +1 -1
  201. package/resources/matters/v1/index.d.mts.map +1 -1
  202. package/resources/matters/v1/index.d.ts +1 -1
  203. package/resources/matters/v1/index.d.ts.map +1 -1
  204. package/resources/matters/v1/index.js.map +1 -1
  205. package/resources/matters/v1/index.mjs.map +1 -1
  206. package/resources/matters/v1/v1.d.mts +2 -2
  207. package/resources/matters/v1/v1.d.mts.map +1 -1
  208. package/resources/matters/v1/v1.d.ts +2 -2
  209. package/resources/matters/v1/v1.d.ts.map +1 -1
  210. package/resources/matters/v1/v1.js.map +1 -1
  211. package/resources/matters/v1/v1.mjs.map +1 -1
  212. package/resources/matters/v1/work-items.d.mts +3 -15
  213. package/resources/matters/v1/work-items.d.mts.map +1 -1
  214. package/resources/matters/v1/work-items.d.ts +3 -15
  215. package/resources/matters/v1/work-items.d.ts.map +1 -1
  216. package/resources/matters/v1/work-items.js +1 -12
  217. package/resources/matters/v1/work-items.js.map +1 -1
  218. package/resources/matters/v1/work-items.mjs +1 -12
  219. package/resources/matters/v1/work-items.mjs.map +1 -1
  220. package/resources/media/v1/clips.d.mts +3 -0
  221. package/resources/media/v1/clips.d.mts.map +1 -1
  222. package/resources/media/v1/clips.d.ts +3 -0
  223. package/resources/media/v1/clips.d.ts.map +1 -1
  224. package/resources/media/v1/clips.js +3 -0
  225. package/resources/media/v1/clips.js.map +1 -1
  226. package/resources/media/v1/clips.mjs +3 -0
  227. package/resources/media/v1/clips.mjs.map +1 -1
  228. package/resources/media/v1/transcripts/index.d.mts +1 -0
  229. package/resources/media/v1/transcripts/index.d.mts.map +1 -1
  230. package/resources/media/v1/transcripts/index.d.ts +1 -0
  231. package/resources/media/v1/transcripts/index.d.ts.map +1 -1
  232. package/resources/media/v1/transcripts/index.js +3 -1
  233. package/resources/media/v1/transcripts/index.js.map +1 -1
  234. package/resources/media/v1/transcripts/index.mjs +1 -0
  235. package/resources/media/v1/transcripts/index.mjs.map +1 -1
  236. package/resources/media/v1/transcripts/retrieve.d.mts +70 -0
  237. package/resources/media/v1/transcripts/retrieve.d.mts.map +1 -0
  238. package/resources/media/v1/transcripts/retrieve.d.ts +70 -0
  239. package/resources/media/v1/transcripts/retrieve.d.ts.map +1 -0
  240. package/resources/media/v1/transcripts/retrieve.js +21 -0
  241. package/resources/media/v1/transcripts/retrieve.js.map +1 -0
  242. package/resources/media/v1/transcripts/retrieve.mjs +17 -0
  243. package/resources/media/v1/transcripts/retrieve.mjs.map +1 -0
  244. package/resources/media/v1/transcripts/search.d.mts +3 -0
  245. package/resources/media/v1/transcripts/search.d.mts.map +1 -1
  246. package/resources/media/v1/transcripts/search.d.ts +3 -0
  247. package/resources/media/v1/transcripts/search.d.ts.map +1 -1
  248. package/resources/media/v1/transcripts/search.js +3 -0
  249. package/resources/media/v1/transcripts/search.js.map +1 -1
  250. package/resources/media/v1/transcripts/search.mjs +3 -0
  251. package/resources/media/v1/transcripts/search.mjs.map +1 -1
  252. package/resources/media/v1/transcripts/transcripts.d.mts +4 -0
  253. package/resources/media/v1/transcripts/transcripts.d.mts.map +1 -1
  254. package/resources/media/v1/transcripts/transcripts.d.ts +4 -0
  255. package/resources/media/v1/transcripts/transcripts.d.ts.map +1 -1
  256. package/resources/media/v1/transcripts/transcripts.js +4 -0
  257. package/resources/media/v1/transcripts/transcripts.js.map +1 -1
  258. package/resources/media/v1/transcripts/transcripts.mjs +4 -0
  259. package/resources/media/v1/transcripts/transcripts.mjs.map +1 -1
  260. package/resources/ocr/v1.d.mts +4 -4
  261. package/resources/ocr/v1.d.ts +4 -4
  262. package/resources/ocr/v1.js +2 -2
  263. package/resources/ocr/v1.mjs +2 -2
  264. package/resources/search/index.d.mts +1 -1
  265. package/resources/search/index.d.mts.map +1 -1
  266. package/resources/search/index.d.ts +1 -1
  267. package/resources/search/index.d.ts.map +1 -1
  268. package/resources/search/index.js.map +1 -1
  269. package/resources/search/index.mjs.map +1 -1
  270. package/resources/search/search.d.mts +2 -2
  271. package/resources/search/search.d.mts.map +1 -1
  272. package/resources/search/search.d.ts +2 -2
  273. package/resources/search/search.d.ts.map +1 -1
  274. package/resources/search/search.js.map +1 -1
  275. package/resources/search/search.mjs.map +1 -1
  276. package/resources/search/v1.d.mts +2 -129
  277. package/resources/search/v1.d.mts.map +1 -1
  278. package/resources/search/v1.d.ts +2 -129
  279. package/resources/search/v1.d.ts.map +1 -1
  280. package/resources/search/v1.js +1 -19
  281. package/resources/search/v1.js.map +1 -1
  282. package/resources/search/v1.mjs +1 -19
  283. package/resources/search/v1.mjs.map +1 -1
  284. package/resources/skills/index.d.mts +1 -1
  285. package/resources/skills/index.d.mts.map +1 -1
  286. package/resources/skills/index.d.ts +1 -1
  287. package/resources/skills/index.d.ts.map +1 -1
  288. package/resources/skills/index.js.map +1 -1
  289. package/resources/skills/index.mjs.map +1 -1
  290. package/resources/skills/skills.d.mts +67 -1
  291. package/resources/skills/skills.d.mts.map +1 -1
  292. package/resources/skills/skills.d.ts +67 -1
  293. package/resources/skills/skills.d.ts.map +1 -1
  294. package/resources/skills/skills.js +7 -0
  295. package/resources/skills/skills.js.map +1 -1
  296. package/resources/skills/skills.mjs +7 -0
  297. package/resources/skills/skills.mjs.map +1 -1
  298. package/resources/translate/index.d.mts +1 -1
  299. package/resources/translate/index.d.mts.map +1 -1
  300. package/resources/translate/index.d.ts +1 -1
  301. package/resources/translate/index.d.ts.map +1 -1
  302. package/resources/translate/index.js.map +1 -1
  303. package/resources/translate/index.mjs.map +1 -1
  304. package/resources/translate/translate.d.mts +2 -2
  305. package/resources/translate/translate.d.mts.map +1 -1
  306. package/resources/translate/translate.d.ts +2 -2
  307. package/resources/translate/translate.d.ts.map +1 -1
  308. package/resources/translate/translate.js.map +1 -1
  309. package/resources/translate/translate.mjs.map +1 -1
  310. package/resources/translate/v1.d.mts +37 -1
  311. package/resources/translate/v1.d.mts.map +1 -1
  312. package/resources/translate/v1.d.ts +37 -1
  313. package/resources/translate/v1.d.ts.map +1 -1
  314. package/resources/translate/v1.js +30 -0
  315. package/resources/translate/v1.js.map +1 -1
  316. package/resources/translate/v1.mjs +30 -0
  317. package/resources/translate/v1.mjs.map +1 -1
  318. package/resources/usage/v1/v1.d.mts +10 -0
  319. package/resources/usage/v1/v1.d.mts.map +1 -1
  320. package/resources/usage/v1/v1.d.ts +10 -0
  321. package/resources/usage/v1/v1.d.ts.map +1 -1
  322. package/resources/usage/v1/v1.js.map +1 -1
  323. package/resources/usage/v1/v1.mjs.map +1 -1
  324. package/resources/vault/events/subscriptions.d.mts +1 -1
  325. package/resources/vault/events/subscriptions.d.ts +1 -1
  326. package/resources/vault/events/subscriptions.js +1 -1
  327. package/resources/vault/events/subscriptions.mjs +1 -1
  328. package/resources/vault/index.d.mts +2 -3
  329. package/resources/vault/index.d.mts.map +1 -1
  330. package/resources/vault/index.d.ts +2 -3
  331. package/resources/vault/index.d.ts.map +1 -1
  332. package/resources/vault/index.js +1 -3
  333. package/resources/vault/index.js.map +1 -1
  334. package/resources/vault/index.mjs +0 -1
  335. package/resources/vault/index.mjs.map +1 -1
  336. package/resources/vault/memory.d.mts +1 -1
  337. package/resources/vault/memory.d.ts +1 -1
  338. package/resources/vault/memory.js +1 -1
  339. package/resources/vault/memory.mjs +1 -1
  340. package/resources/vault/multipart.d.mts +94 -1
  341. package/resources/vault/multipart.d.mts.map +1 -1
  342. package/resources/vault/multipart.d.ts +94 -1
  343. package/resources/vault/multipart.d.ts.map +1 -1
  344. package/resources/vault/multipart.js +40 -0
  345. package/resources/vault/multipart.js.map +1 -1
  346. package/resources/vault/multipart.mjs +40 -0
  347. package/resources/vault/multipart.mjs.map +1 -1
  348. package/resources/vault/objects.d.mts +161 -62
  349. package/resources/vault/objects.d.mts.map +1 -1
  350. package/resources/vault/objects.d.ts +161 -62
  351. package/resources/vault/objects.d.ts.map +1 -1
  352. package/resources/vault/objects.js +48 -20
  353. package/resources/vault/objects.js.map +1 -1
  354. package/resources/vault/objects.mjs +48 -20
  355. package/resources/vault/objects.mjs.map +1 -1
  356. package/resources/vault/vault.d.mts +103 -75
  357. package/resources/vault/vault.d.mts.map +1 -1
  358. package/resources/vault/vault.d.ts +103 -75
  359. package/resources/vault/vault.d.ts.map +1 -1
  360. package/resources/vault/vault.js +22 -20
  361. package/resources/vault/vault.js.map +1 -1
  362. package/resources/vault/vault.mjs +22 -20
  363. package/resources/vault/vault.mjs.map +1 -1
  364. package/resources/voice/transcription.d.mts +19 -7
  365. package/resources/voice/transcription.d.mts.map +1 -1
  366. package/resources/voice/transcription.d.ts +19 -7
  367. package/resources/voice/transcription.d.ts.map +1 -1
  368. package/resources/voice/transcription.js +5 -3
  369. package/resources/voice/transcription.js.map +1 -1
  370. package/resources/voice/transcription.mjs +5 -3
  371. package/resources/voice/transcription.mjs.map +1 -1
  372. package/src/client.ts +22 -25
  373. package/src/internal/parse.ts +0 -14
  374. package/src/internal/request-options.ts +0 -2
  375. package/src/resources/connectors/connectors.ts +21 -0
  376. package/src/resources/connectors/index.ts +10 -0
  377. package/src/resources/connectors/v1/connections.ts +186 -0
  378. package/src/resources/connectors/v1/index.ts +31 -0
  379. package/src/resources/connectors/v1/installations/index.ts +4 -0
  380. package/src/resources/connectors/v1/installations/installations.ts +72 -0
  381. package/src/resources/connectors/v1/installations/vaults.ts +88 -0
  382. package/src/resources/{agent/skills.ts → connectors/v1/installations.ts} +1 -1
  383. package/src/resources/connectors/v1/links.ts +121 -0
  384. package/src/resources/connectors/v1/v1.ts +186 -0
  385. package/src/resources/{agent.ts → connectors.ts} +1 -1
  386. package/src/resources/index.ts +4 -5
  387. package/src/resources/legal/index.ts +0 -2
  388. package/src/resources/legal/legal.ts +0 -4
  389. package/src/resources/legal/v1.ts +2 -100
  390. package/src/resources/{mail → linc}/index.ts +1 -1
  391. package/src/resources/{mail/mail.ts → linc/linc.ts} +3 -3
  392. package/src/resources/linc/v1/index.ts +12 -0
  393. package/src/resources/linc/v1/sessions.ts +270 -0
  394. package/src/resources/linc/v1/v1.ts +31 -0
  395. package/src/resources/{format/v1.ts → linc.ts} +1 -1
  396. package/src/resources/llm/v1/chat.ts +3 -2
  397. package/src/resources/matters/v1/index.ts +0 -1
  398. package/src/resources/matters/v1/v1.ts +0 -2
  399. package/src/resources/matters/v1/work-items.ts +2 -28
  400. package/src/resources/media/v1/clips.ts +3 -0
  401. package/src/resources/media/v1/transcripts/index.ts +1 -0
  402. package/src/resources/media/v1/transcripts/retrieve.ts +94 -0
  403. package/src/resources/media/v1/transcripts/search.ts +3 -0
  404. package/src/resources/media/v1/transcripts/transcripts.ts +10 -0
  405. package/src/resources/ocr/v1.ts +4 -4
  406. package/src/resources/search/index.ts +0 -4
  407. package/src/resources/search/search.ts +0 -8
  408. package/src/resources/search/v1.ts +1 -172
  409. package/src/resources/skills/index.ts +2 -0
  410. package/src/resources/skills/skills.ts +104 -0
  411. package/src/resources/translate/index.ts +1 -0
  412. package/src/resources/translate/translate.ts +2 -0
  413. package/src/resources/translate/v1.ts +56 -0
  414. package/src/resources/usage/v1/v1.ts +12 -0
  415. package/src/resources/vault/events/subscriptions.ts +1 -1
  416. package/src/resources/vault/index.ts +8 -9
  417. package/src/resources/vault/memory.ts +1 -1
  418. package/src/resources/vault/multipart.ts +126 -0
  419. package/src/resources/vault/objects.ts +230 -83
  420. package/src/resources/vault/vault.ts +135 -94
  421. package/src/resources/voice/transcription.ts +21 -7
  422. package/src/version.ts +1 -1
  423. package/version.d.mts +1 -1
  424. package/version.d.ts +1 -1
  425. package/version.js +1 -1
  426. package/version.mjs +1 -1
  427. package/core/streaming.d.mts +0 -33
  428. package/core/streaming.d.mts.map +0 -1
  429. package/core/streaming.d.ts +0 -33
  430. package/core/streaming.d.ts.map +0 -1
  431. package/core/streaming.js +0 -263
  432. package/core/streaming.js.map +0 -1
  433. package/core/streaming.mjs +0 -258
  434. package/core/streaming.mjs.map +0 -1
  435. package/internal/decoders/line.d.mts +0 -17
  436. package/internal/decoders/line.d.mts.map +0 -1
  437. package/internal/decoders/line.d.ts +0 -17
  438. package/internal/decoders/line.d.ts.map +0 -1
  439. package/internal/decoders/line.js +0 -113
  440. package/internal/decoders/line.js.map +0 -1
  441. package/internal/decoders/line.mjs +0 -108
  442. package/internal/decoders/line.mjs.map +0 -1
  443. package/resources/agent/agent.d.mts +0 -14
  444. package/resources/agent/agent.d.mts.map +0 -1
  445. package/resources/agent/agent.d.ts +0 -14
  446. package/resources/agent/agent.d.ts.map +0 -1
  447. package/resources/agent/agent.js +0 -21
  448. package/resources/agent/agent.js.map +0 -1
  449. package/resources/agent/agent.mjs +0 -16
  450. package/resources/agent/agent.mjs.map +0 -1
  451. package/resources/agent/index.d.mts +0 -4
  452. package/resources/agent/index.d.mts.map +0 -1
  453. package/resources/agent/index.d.ts +0 -4
  454. package/resources/agent/index.d.ts.map +0 -1
  455. package/resources/agent/index.js +0 -11
  456. package/resources/agent/index.js.map +0 -1
  457. package/resources/agent/index.mjs +0 -5
  458. package/resources/agent/index.mjs.map +0 -1
  459. package/resources/agent/skills/index.d.mts +0 -3
  460. package/resources/agent/skills/index.d.mts.map +0 -1
  461. package/resources/agent/skills/index.d.ts +0 -3
  462. package/resources/agent/skills/index.d.ts.map +0 -1
  463. package/resources/agent/skills/index.js +0 -9
  464. package/resources/agent/skills/index.js.map +0 -1
  465. package/resources/agent/skills/index.mjs +0 -4
  466. package/resources/agent/skills/index.mjs.map +0 -1
  467. package/resources/agent/skills/namespaces.d.mts +0 -66
  468. package/resources/agent/skills/namespaces.d.mts.map +0 -1
  469. package/resources/agent/skills/namespaces.d.ts +0 -66
  470. package/resources/agent/skills/namespaces.d.ts.map +0 -1
  471. package/resources/agent/skills/namespaces.js +0 -84
  472. package/resources/agent/skills/namespaces.js.map +0 -1
  473. package/resources/agent/skills/namespaces.mjs +0 -80
  474. package/resources/agent/skills/namespaces.mjs.map +0 -1
  475. package/resources/agent/skills/skills.d.mts +0 -10
  476. package/resources/agent/skills/skills.d.mts.map +0 -1
  477. package/resources/agent/skills/skills.d.ts +0 -10
  478. package/resources/agent/skills/skills.d.ts.map +0 -1
  479. package/resources/agent/skills/skills.js +0 -17
  480. package/resources/agent/skills/skills.js.map +0 -1
  481. package/resources/agent/skills/skills.mjs +0 -12
  482. package/resources/agent/skills/skills.mjs.map +0 -1
  483. package/resources/agent/skills.d.mts +0 -2
  484. package/resources/agent/skills.d.mts.map +0 -1
  485. package/resources/agent/skills.d.ts +0 -2
  486. package/resources/agent/skills.d.ts.map +0 -1
  487. package/resources/agent/skills.js +0 -6
  488. package/resources/agent/skills.js.map +0 -1
  489. package/resources/agent/skills.mjs.map +0 -1
  490. package/resources/agent/v1/agents.d.mts +0 -205
  491. package/resources/agent/v1/agents.d.mts.map +0 -1
  492. package/resources/agent/v1/agents.d.ts +0 -205
  493. package/resources/agent/v1/agents.d.ts.map +0 -1
  494. package/resources/agent/v1/agents.js +0 -44
  495. package/resources/agent/v1/agents.js.map +0 -1
  496. package/resources/agent/v1/agents.mjs +0 -40
  497. package/resources/agent/v1/agents.mjs.map +0 -1
  498. package/resources/agent/v1/chat/chat.d.mts +0 -163
  499. package/resources/agent/v1/chat/chat.d.mts.map +0 -1
  500. package/resources/agent/v1/chat/chat.d.ts +0 -163
  501. package/resources/agent/v1/chat/chat.d.ts.map +0 -1
  502. package/resources/agent/v1/chat/chat.js +0 -109
  503. package/resources/agent/v1/chat/chat.js.map +0 -1
  504. package/resources/agent/v1/chat/chat.mjs +0 -104
  505. package/resources/agent/v1/chat/chat.mjs.map +0 -1
  506. package/resources/agent/v1/chat/files.d.mts +0 -42
  507. package/resources/agent/v1/chat/files.d.mts.map +0 -1
  508. package/resources/agent/v1/chat/files.d.ts +0 -42
  509. package/resources/agent/v1/chat/files.d.ts.map +0 -1
  510. package/resources/agent/v1/chat/files.js +0 -33
  511. package/resources/agent/v1/chat/files.js.map +0 -1
  512. package/resources/agent/v1/chat/files.mjs +0 -29
  513. package/resources/agent/v1/chat/files.mjs.map +0 -1
  514. package/resources/agent/v1/chat/index.d.mts +0 -3
  515. package/resources/agent/v1/chat/index.d.mts.map +0 -1
  516. package/resources/agent/v1/chat/index.d.ts +0 -3
  517. package/resources/agent/v1/chat/index.d.ts.map +0 -1
  518. package/resources/agent/v1/chat/index.js +0 -9
  519. package/resources/agent/v1/chat/index.js.map +0 -1
  520. package/resources/agent/v1/chat/index.mjs +0 -4
  521. package/resources/agent/v1/chat/index.mjs.map +0 -1
  522. package/resources/agent/v1/chat.d.mts +0 -2
  523. package/resources/agent/v1/chat.d.mts.map +0 -1
  524. package/resources/agent/v1/chat.d.ts +0 -2
  525. package/resources/agent/v1/chat.d.ts.map +0 -1
  526. package/resources/agent/v1/chat.js.map +0 -1
  527. package/resources/agent/v1/chat.mjs.map +0 -1
  528. package/resources/agent/v1/execute.d.mts +0 -95
  529. package/resources/agent/v1/execute.d.mts.map +0 -1
  530. package/resources/agent/v1/execute.d.ts +0 -95
  531. package/resources/agent/v1/execute.d.ts.map +0 -1
  532. package/resources/agent/v1/execute.js +0 -27
  533. package/resources/agent/v1/execute.js.map +0 -1
  534. package/resources/agent/v1/execute.mjs +0 -23
  535. package/resources/agent/v1/execute.mjs.map +0 -1
  536. package/resources/agent/v1/index.d.mts +0 -6
  537. package/resources/agent/v1/index.d.mts.map +0 -1
  538. package/resources/agent/v1/index.d.ts +0 -6
  539. package/resources/agent/v1/index.d.ts.map +0 -1
  540. package/resources/agent/v1/index.js +0 -15
  541. package/resources/agent/v1/index.js.map +0 -1
  542. package/resources/agent/v1/index.mjs +0 -7
  543. package/resources/agent/v1/index.mjs.map +0 -1
  544. package/resources/agent/v1/run.d.mts +0 -304
  545. package/resources/agent/v1/run.d.mts.map +0 -1
  546. package/resources/agent/v1/run.d.ts +0 -304
  547. package/resources/agent/v1/run.d.ts.map +0 -1
  548. package/resources/agent/v1/run.js +0 -74
  549. package/resources/agent/v1/run.js.map +0 -1
  550. package/resources/agent/v1/run.mjs +0 -70
  551. package/resources/agent/v1/run.mjs.map +0 -1
  552. package/resources/agent/v1/v1.d.mts +0 -22
  553. package/resources/agent/v1/v1.d.mts.map +0 -1
  554. package/resources/agent/v1/v1.d.ts +0 -22
  555. package/resources/agent/v1/v1.d.ts.map +0 -1
  556. package/resources/agent/v1/v1.js +0 -29
  557. package/resources/agent/v1/v1.js.map +0 -1
  558. package/resources/agent/v1/v1.mjs +0 -24
  559. package/resources/agent/v1/v1.mjs.map +0 -1
  560. package/resources/agent/v1.d.mts.map +0 -1
  561. package/resources/agent/v1.d.ts.map +0 -1
  562. package/resources/agent/v1.js.map +0 -1
  563. package/resources/agent/v1.mjs.map +0 -1
  564. package/resources/agent.d.mts +0 -2
  565. package/resources/agent.d.mts.map +0 -1
  566. package/resources/agent.d.ts +0 -2
  567. package/resources/agent.d.ts.map +0 -1
  568. package/resources/agent.js.map +0 -1
  569. package/resources/agent.mjs.map +0 -1
  570. package/resources/database/database.d.mts +0 -10
  571. package/resources/database/database.d.mts.map +0 -1
  572. package/resources/database/database.d.ts +0 -10
  573. package/resources/database/database.d.ts.map +0 -1
  574. package/resources/database/database.js +0 -17
  575. package/resources/database/database.js.map +0 -1
  576. package/resources/database/database.mjs +0 -12
  577. package/resources/database/database.mjs.map +0 -1
  578. package/resources/database/index.d.mts +0 -3
  579. package/resources/database/index.d.mts.map +0 -1
  580. package/resources/database/index.d.ts +0 -3
  581. package/resources/database/index.d.ts.map +0 -1
  582. package/resources/database/index.js +0 -9
  583. package/resources/database/index.js.map +0 -1
  584. package/resources/database/index.mjs +0 -4
  585. package/resources/database/index.mjs.map +0 -1
  586. package/resources/database/v1/index.d.mts +0 -3
  587. package/resources/database/v1/index.d.mts.map +0 -1
  588. package/resources/database/v1/index.d.ts +0 -3
  589. package/resources/database/v1/index.d.ts.map +0 -1
  590. package/resources/database/v1/index.js +0 -9
  591. package/resources/database/v1/index.js.map +0 -1
  592. package/resources/database/v1/index.mjs +0 -4
  593. package/resources/database/v1/index.mjs.map +0 -1
  594. package/resources/database/v1/projects.d.mts +0 -467
  595. package/resources/database/v1/projects.d.mts.map +0 -1
  596. package/resources/database/v1/projects.d.ts +0 -467
  597. package/resources/database/v1/projects.d.ts.map +0 -1
  598. package/resources/database/v1/projects.js +0 -125
  599. package/resources/database/v1/projects.js.map +0 -1
  600. package/resources/database/v1/projects.mjs +0 -121
  601. package/resources/database/v1/projects.mjs.map +0 -1
  602. package/resources/database/v1/v1.d.mts +0 -144
  603. package/resources/database/v1/v1.d.mts.map +0 -1
  604. package/resources/database/v1/v1.d.ts +0 -144
  605. package/resources/database/v1/v1.d.ts.map +0 -1
  606. package/resources/database/v1/v1.js +0 -33
  607. package/resources/database/v1/v1.js.map +0 -1
  608. package/resources/database/v1/v1.mjs +0 -28
  609. package/resources/database/v1/v1.mjs.map +0 -1
  610. package/resources/database/v1.d.mts.map +0 -1
  611. package/resources/database/v1.d.ts.map +0 -1
  612. package/resources/database/v1.js.map +0 -1
  613. package/resources/database/v1.mjs.map +0 -1
  614. package/resources/database.d.mts +0 -2
  615. package/resources/database.d.mts.map +0 -1
  616. package/resources/database.d.ts +0 -2
  617. package/resources/database.d.ts.map +0 -1
  618. package/resources/database.js +0 -6
  619. package/resources/database.js.map +0 -1
  620. package/resources/database.mjs +0 -3
  621. package/resources/database.mjs.map +0 -1
  622. package/resources/format/format.d.mts +0 -10
  623. package/resources/format/format.d.mts.map +0 -1
  624. package/resources/format/format.d.ts +0 -10
  625. package/resources/format/format.d.ts.map +0 -1
  626. package/resources/format/format.js.map +0 -1
  627. package/resources/format/format.mjs.map +0 -1
  628. package/resources/format/index.d.mts +0 -3
  629. package/resources/format/index.d.mts.map +0 -1
  630. package/resources/format/index.d.ts +0 -3
  631. package/resources/format/index.d.ts.map +0 -1
  632. package/resources/format/index.js.map +0 -1
  633. package/resources/format/index.mjs +0 -4
  634. package/resources/format/index.mjs.map +0 -1
  635. package/resources/format/v1/index.d.mts +0 -3
  636. package/resources/format/v1/index.d.mts.map +0 -1
  637. package/resources/format/v1/index.d.ts +0 -3
  638. package/resources/format/v1/index.d.ts.map +0 -1
  639. package/resources/format/v1/index.js +0 -9
  640. package/resources/format/v1/index.js.map +0 -1
  641. package/resources/format/v1/index.mjs +0 -4
  642. package/resources/format/v1/index.mjs.map +0 -1
  643. package/resources/format/v1/templates.d.mts +0 -160
  644. package/resources/format/v1/templates.d.mts.map +0 -1
  645. package/resources/format/v1/templates.d.ts +0 -160
  646. package/resources/format/v1/templates.d.ts.map +0 -1
  647. package/resources/format/v1/templates.js +0 -40
  648. package/resources/format/v1/templates.js.map +0 -1
  649. package/resources/format/v1/templates.mjs +0 -36
  650. package/resources/format/v1/templates.mjs.map +0 -1
  651. package/resources/format/v1/v1.d.mts +0 -73
  652. package/resources/format/v1/v1.d.mts.map +0 -1
  653. package/resources/format/v1/v1.d.ts +0 -73
  654. package/resources/format/v1/v1.d.ts.map +0 -1
  655. package/resources/format/v1/v1.js +0 -34
  656. package/resources/format/v1/v1.js.map +0 -1
  657. package/resources/format/v1/v1.mjs +0 -29
  658. package/resources/format/v1/v1.mjs.map +0 -1
  659. package/resources/format/v1.d.mts +0 -2
  660. package/resources/format/v1.d.mts.map +0 -1
  661. package/resources/format/v1.d.ts +0 -2
  662. package/resources/format/v1.d.ts.map +0 -1
  663. package/resources/format/v1.js +0 -6
  664. package/resources/format/v1.js.map +0 -1
  665. package/resources/format/v1.mjs +0 -3
  666. package/resources/format/v1.mjs.map +0 -1
  667. package/resources/format.d.mts +0 -2
  668. package/resources/format.d.mts.map +0 -1
  669. package/resources/format.d.ts +0 -2
  670. package/resources/format.d.ts.map +0 -1
  671. package/resources/format.js +0 -6
  672. package/resources/format.js.map +0 -1
  673. package/resources/format.mjs +0 -3
  674. package/resources/format.mjs.map +0 -1
  675. package/resources/mail/index.d.mts +0 -3
  676. package/resources/mail/index.d.mts.map +0 -1
  677. package/resources/mail/index.d.ts +0 -3
  678. package/resources/mail/index.d.ts.map +0 -1
  679. package/resources/mail/v1/inboxes.d.mts +0 -94
  680. package/resources/mail/v1/inboxes.d.mts.map +0 -1
  681. package/resources/mail/v1/inboxes.d.ts +0 -94
  682. package/resources/mail/v1/inboxes.d.ts.map +0 -1
  683. package/resources/mail/v1/inboxes.js +0 -118
  684. package/resources/mail/v1/inboxes.js.map +0 -1
  685. package/resources/mail/v1/inboxes.mjs +0 -114
  686. package/resources/mail/v1/inboxes.mjs.map +0 -1
  687. package/resources/mail/v1/index.d.mts +0 -3
  688. package/resources/mail/v1/index.d.mts.map +0 -1
  689. package/resources/mail/v1/index.d.ts +0 -3
  690. package/resources/mail/v1/index.d.ts.map +0 -1
  691. package/resources/mail/v1/index.js.map +0 -1
  692. package/resources/mail/v1/index.mjs.map +0 -1
  693. package/resources/mail/v1/v1.d.mts +0 -10
  694. package/resources/mail/v1/v1.d.mts.map +0 -1
  695. package/resources/mail/v1/v1.d.ts +0 -10
  696. package/resources/mail/v1/v1.d.ts.map +0 -1
  697. package/resources/mail/v1/v1.js.map +0 -1
  698. package/resources/mail/v1/v1.mjs.map +0 -1
  699. package/resources/mail/v1.d.mts +0 -2
  700. package/resources/mail/v1.d.ts +0 -2
  701. package/resources/mail/v1.js +0 -6
  702. package/resources/mail/v1.js.map +0 -1
  703. package/resources/mail/v1.mjs +0 -3
  704. package/resources/mail/v1.mjs.map +0 -1
  705. package/resources/mail.d.mts +0 -2
  706. package/resources/mail.d.mts.map +0 -1
  707. package/resources/mail.d.ts +0 -2
  708. package/resources/mail.d.ts.map +0 -1
  709. package/resources/mail.js.map +0 -1
  710. package/resources/mail.mjs +0 -3
  711. package/resources/mail.mjs.map +0 -1
  712. package/resources/superdoc/index.d.mts +0 -3
  713. package/resources/superdoc/index.d.mts.map +0 -1
  714. package/resources/superdoc/index.d.ts +0 -3
  715. package/resources/superdoc/index.d.ts.map +0 -1
  716. package/resources/superdoc/index.js +0 -9
  717. package/resources/superdoc/index.js.map +0 -1
  718. package/resources/superdoc/index.mjs +0 -4
  719. package/resources/superdoc/index.mjs.map +0 -1
  720. package/resources/superdoc/superdoc.d.mts +0 -10
  721. package/resources/superdoc/superdoc.d.mts.map +0 -1
  722. package/resources/superdoc/superdoc.d.ts +0 -10
  723. package/resources/superdoc/superdoc.d.ts.map +0 -1
  724. package/resources/superdoc/superdoc.js +0 -17
  725. package/resources/superdoc/superdoc.js.map +0 -1
  726. package/resources/superdoc/superdoc.mjs +0 -12
  727. package/resources/superdoc/superdoc.mjs.map +0 -1
  728. package/resources/superdoc/v1.d.mts +0 -107
  729. package/resources/superdoc/v1.d.mts.map +0 -1
  730. package/resources/superdoc/v1.d.ts +0 -107
  731. package/resources/superdoc/v1.d.ts.map +0 -1
  732. package/resources/superdoc/v1.js +0 -39
  733. package/resources/superdoc/v1.js.map +0 -1
  734. package/resources/superdoc/v1.mjs +0 -35
  735. package/resources/superdoc/v1.mjs.map +0 -1
  736. package/resources/superdoc.d.mts +0 -2
  737. package/resources/superdoc.d.mts.map +0 -1
  738. package/resources/superdoc.d.ts +0 -2
  739. package/resources/superdoc.d.ts.map +0 -1
  740. package/resources/superdoc.js +0 -6
  741. package/resources/superdoc.js.map +0 -1
  742. package/resources/superdoc.mjs +0 -3
  743. package/resources/superdoc.mjs.map +0 -1
  744. package/resources/vault/graphrag.d.mts +0 -132
  745. package/resources/vault/graphrag.d.mts.map +0 -1
  746. package/resources/vault/graphrag.d.ts +0 -132
  747. package/resources/vault/graphrag.d.ts.map +0 -1
  748. package/resources/vault/graphrag.js +0 -58
  749. package/resources/vault/graphrag.js.map +0 -1
  750. package/resources/vault/graphrag.mjs +0 -54
  751. package/resources/vault/graphrag.mjs.map +0 -1
  752. package/src/core/streaming.ts +0 -315
  753. package/src/internal/decoders/line.ts +0 -135
  754. package/src/resources/agent/agent.ts +0 -21
  755. package/src/resources/agent/index.ts +0 -5
  756. package/src/resources/agent/skills/index.ts +0 -4
  757. package/src/resources/agent/skills/namespaces.ts +0 -126
  758. package/src/resources/agent/skills/skills.ts +0 -19
  759. package/src/resources/agent/v1/agents.ts +0 -305
  760. package/src/resources/agent/v1/chat/chat.ts +0 -267
  761. package/src/resources/agent/v1/chat/files.ts +0 -63
  762. package/src/resources/agent/v1/chat/index.ts +0 -16
  763. package/src/resources/agent/v1/chat.ts +0 -3
  764. package/src/resources/agent/v1/execute.ts +0 -118
  765. package/src/resources/agent/v1/index.ts +0 -43
  766. package/src/resources/agent/v1/run.ts +0 -456
  767. package/src/resources/agent/v1/v1.ts +0 -109
  768. package/src/resources/database/database.ts +0 -15
  769. package/src/resources/database/index.ts +0 -4
  770. package/src/resources/database/v1/index.ts +0 -16
  771. package/src/resources/database/v1/projects.ts +0 -597
  772. package/src/resources/database/v1/v1.ts +0 -212
  773. package/src/resources/database.ts +0 -3
  774. package/src/resources/format/format.ts +0 -15
  775. package/src/resources/format/index.ts +0 -4
  776. package/src/resources/format/v1/index.ts +0 -11
  777. package/src/resources/format/v1/templates.ts +0 -210
  778. package/src/resources/format/v1/v1.ts +0 -111
  779. package/src/resources/format.ts +0 -3
  780. package/src/resources/mail/v1/inboxes.ts +0 -190
  781. package/src/resources/mail/v1/index.ts +0 -11
  782. package/src/resources/mail/v1/v1.ts +0 -29
  783. package/src/resources/mail/v1.ts +0 -3
  784. package/src/resources/mail.ts +0 -3
  785. package/src/resources/superdoc/index.ts +0 -4
  786. package/src/resources/superdoc/superdoc.ts +0 -15
  787. package/src/resources/superdoc/v1.ts +0 -149
  788. package/src/resources/superdoc.ts +0 -3
  789. package/src/resources/vault/graphrag.ts +0 -176
  790. package/src/streaming.ts +0 -2
  791. package/streaming.d.mts +0 -3
  792. package/streaming.d.mts.map +0 -1
  793. package/streaming.d.ts +0 -3
  794. package/streaming.d.ts.map +0 -1
  795. package/streaming.js +0 -6
  796. package/streaming.js.map +0 -1
  797. package/streaming.mjs +0 -3
  798. package/streaming.mjs.map +0 -1
  799. /package/resources/{agent → connectors}/v1.d.mts +0 -0
  800. /package/resources/{agent → connectors}/v1.d.ts +0 -0
  801. /package/resources/{agent → connectors}/v1.js +0 -0
  802. /package/resources/{agent → connectors}/v1.mjs +0 -0
  803. /package/resources/{database → linc}/v1.d.mts +0 -0
  804. /package/resources/{database → linc}/v1.d.ts +0 -0
  805. /package/resources/{database → linc}/v1.js +0 -0
  806. /package/resources/{database → linc}/v1.mjs +0 -0
  807. /package/src/resources/{agent → connectors}/v1.ts +0 -0
  808. /package/src/resources/{database → linc}/v1.ts +0 -0
@@ -6,7 +6,7 @@ const resource_1 = require("../../../core/resource.js");
6
6
  const headers_1 = require("../../../internal/headers.js");
7
7
  const path_1 = require("../../../internal/utils/path.js");
8
8
  /**
9
- * Secure document storage with semantic search and GraphRAG
9
+ * Vault-scoped event subscriptions and delivery testing
10
10
  */
11
11
  class Subscriptions extends resource_1.APIResource {
12
12
  /**
@@ -3,7 +3,7 @@ import { APIResource } from "../../../core/resource.mjs";
3
3
  import { buildHeaders } from "../../../internal/headers.mjs";
4
4
  import { path } from "../../../internal/utils/path.mjs";
5
5
  /**
6
- * Secure document storage with semantic search and GraphRAG
6
+ * Vault-scoped event subscriptions and delivery testing
7
7
  */
8
8
  export class Subscriptions extends APIResource {
9
9
  /**
@@ -1,8 +1,7 @@
1
1
  export { Events } from "./events/index.mjs";
2
- export { Graphrag, type GraphragGetStatsResponse, type GraphragInitResponse, type GraphragProcessObjectResponse, type GraphragProcessObjectParams, } from "./graphrag.mjs";
3
2
  export { Groups, type GroupCreateParams, type GroupUpdateParams } from "./groups.mjs";
4
3
  export { Memory, type MemoryCreateResponse, type MemoryListResponse, type MemorySearchResponse, type MemoryCreateParams, type MemoryUpdateParams, type MemoryDeleteParams, type MemorySearchParams, } from "./memory.mjs";
5
- export { Multipart, type MultipartGetPartURLsResponse, type MultipartAbortParams, type MultipartGetPartURLsParams, } from "./multipart.mjs";
6
- export { Objects, type ObjectRetrieveResponse, type ObjectUpdateResponse, type ObjectListResponse, type ObjectDeleteResponse, type ObjectCreatePresignedURLResponse, type ObjectGetChunksResponse, type ObjectGetOcrWordsResponse, type ObjectGetPagesResponse, type ObjectGetSummarizeJobResponse, type ObjectGetTextResponse, type ObjectRetrieveParams, type ObjectUpdateParams, type ObjectDeleteParams, type ObjectCreatePresignedURLParams, type ObjectDownloadParams, type ObjectGetChunksParams, type ObjectGetOcrWordsParams, type ObjectGetPagesParams, type ObjectGetSummarizeJobParams, type ObjectGetTextParams, } from "./objects.mjs";
4
+ export { Multipart, type MultipartGetPartURLsResponse, type MultipartInitResponse, type MultipartAbortParams, type MultipartCompleteParams, type MultipartGetPartURLsParams, type MultipartInitParams, } from "./multipart.mjs";
5
+ export { Objects, type ObjectRetrieveResponse, type ObjectUpdateResponse, type ObjectListResponse, type ObjectDeleteResponse, type ObjectAppendResponse, type ObjectCreatePresignedURLResponse, type ObjectGetChunksResponse, type ObjectGetOcrWordsResponse, type ObjectGetPagesResponse, type ObjectGetTextResponse, type ObjectMergeResponse, type ObjectRetrieveParams, type ObjectUpdateParams, type ObjectListParams, type ObjectDeleteParams, type ObjectAppendParams, type ObjectCreatePresignedURLParams, type ObjectDownloadParams, type ObjectGetChunksParams, type ObjectGetOcrWordsParams, type ObjectGetPagesParams, type ObjectGetTextParams, type ObjectMergeParams, } from "./objects.mjs";
7
6
  export { Vault, type VaultCreateResponse, type VaultRetrieveResponse, type VaultUpdateResponse, type VaultListResponse, type VaultDeleteResponse, type VaultConfirmUploadResponse, type VaultIngestResponse, type VaultSearchResponse, type VaultUploadResponse, type VaultCreateParams, type VaultUpdateParams, type VaultDeleteParams, type VaultConfirmUploadParams, type VaultIngestParams, type VaultSearchParams, type VaultUploadParams, } from "./vault.mjs";
8
7
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources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K,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,oBAAgB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/vault/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,2BAAuB;AACxC,OAAO,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,qBAAiB;AAClF,OAAO,EACL,MAAM,EACN,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,qBAAiB;AAClB,OAAO,EACL,SAAS,EACT,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,GACzB,wBAAoB;AACrB,OAAO,EACL,OAAO,EACP,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,gCAAgC,EACrC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,8BAA8B,EACnC,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,sBAAkB;AACnB,OAAO,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,oBAAgB"}
@@ -1,8 +1,7 @@
1
1
  export { Events } from "./events/index.js";
2
- export { Graphrag, type GraphragGetStatsResponse, type GraphragInitResponse, type GraphragProcessObjectResponse, type GraphragProcessObjectParams, } from "./graphrag.js";
3
2
  export { Groups, type GroupCreateParams, type GroupUpdateParams } from "./groups.js";
4
3
  export { Memory, type MemoryCreateResponse, type MemoryListResponse, type MemorySearchResponse, type MemoryCreateParams, type MemoryUpdateParams, type MemoryDeleteParams, type MemorySearchParams, } from "./memory.js";
5
- export { Multipart, type MultipartGetPartURLsResponse, type MultipartAbortParams, type MultipartGetPartURLsParams, } from "./multipart.js";
6
- export { Objects, type ObjectRetrieveResponse, type ObjectUpdateResponse, type ObjectListResponse, type ObjectDeleteResponse, type ObjectCreatePresignedURLResponse, type ObjectGetChunksResponse, type ObjectGetOcrWordsResponse, type ObjectGetPagesResponse, type ObjectGetSummarizeJobResponse, type ObjectGetTextResponse, type ObjectRetrieveParams, type ObjectUpdateParams, type ObjectDeleteParams, type ObjectCreatePresignedURLParams, type ObjectDownloadParams, type ObjectGetChunksParams, type ObjectGetOcrWordsParams, type ObjectGetPagesParams, type ObjectGetSummarizeJobParams, type ObjectGetTextParams, } from "./objects.js";
4
+ export { Multipart, type MultipartGetPartURLsResponse, type MultipartInitResponse, type MultipartAbortParams, type MultipartCompleteParams, type MultipartGetPartURLsParams, type MultipartInitParams, } from "./multipart.js";
5
+ export { Objects, type ObjectRetrieveResponse, type ObjectUpdateResponse, type ObjectListResponse, type ObjectDeleteResponse, type ObjectAppendResponse, type ObjectCreatePresignedURLResponse, type ObjectGetChunksResponse, type ObjectGetOcrWordsResponse, type ObjectGetPagesResponse, type ObjectGetTextResponse, type ObjectMergeResponse, type ObjectRetrieveParams, type ObjectUpdateParams, type ObjectListParams, type ObjectDeleteParams, type ObjectAppendParams, type ObjectCreatePresignedURLParams, type ObjectDownloadParams, type ObjectGetChunksParams, type ObjectGetOcrWordsParams, type ObjectGetPagesParams, type ObjectGetTextParams, type ObjectMergeParams, } from "./objects.js";
7
6
  export { Vault, type VaultCreateResponse, type VaultRetrieveResponse, type VaultUpdateResponse, type VaultListResponse, type VaultDeleteResponse, type VaultConfirmUploadResponse, type VaultIngestResponse, type VaultSearchResponse, type VaultUploadResponse, type VaultCreateParams, type VaultUpdateParams, type VaultDeleteParams, type VaultConfirmUploadParams, type VaultIngestParams, type VaultSearchParams, type VaultUploadParams, } from "./vault.js";
8
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/vault/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,0BAAuB;AACxC,OAAO,EACL,QAAQ,EACR,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,GACjC,sBAAmB;AACpB,OAAO,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,oBAAiB;AAClF,OAAO,EACL,MAAM,EACN,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,oBAAiB;AAClB,OAAO,EACL,SAAS,EACT,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,GAChC,uBAAoB;AACrB,OAAO,EACL,OAAO,EACP,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gCAAgC,EACrC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,8BAA8B,EACnC,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,GACzB,qBAAkB;AACnB,OAAO,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,mBAAgB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/vault/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,0BAAuB;AACxC,OAAO,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,oBAAiB;AAClF,OAAO,EACL,MAAM,EACN,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,oBAAiB;AAClB,OAAO,EACL,SAAS,EACT,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,GACzB,uBAAoB;AACrB,OAAO,EACL,OAAO,EACP,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,gCAAgC,EACrC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,8BAA8B,EACnC,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,qBAAkB;AACnB,OAAO,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,mBAAgB"}
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Vault = exports.Objects = exports.Multipart = exports.Memory = exports.Groups = exports.Graphrag = exports.Events = void 0;
4
+ exports.Vault = exports.Objects = exports.Multipart = exports.Memory = exports.Groups = exports.Events = void 0;
5
5
  var index_1 = require("./events/index.js");
6
6
  Object.defineProperty(exports, "Events", { enumerable: true, get: function () { return index_1.Events; } });
7
- var graphrag_1 = require("./graphrag.js");
8
- Object.defineProperty(exports, "Graphrag", { enumerable: true, get: function () { return graphrag_1.Graphrag; } });
9
7
  var groups_1 = require("./groups.js");
10
8
  Object.defineProperty(exports, "Groups", { enumerable: true, get: function () { return groups_1.Groups; } });
11
9
  var memory_1 = require("./memory.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/vault/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2CAAwC;AAA/B,+FAAA,MAAM,OAAA;AACf,0CAMoB;AALlB,oGAAA,QAAQ,OAAA;AAMV,sCAAkF;AAAzE,gGAAA,MAAM,OAAA;AACf,sCASkB;AARhB,gGAAA,MAAM,OAAA;AASR,4CAKqB;AAJnB,sGAAA,SAAS,OAAA;AAKX,wCAsBmB;AArBjB,kGAAA,OAAO,OAAA;AAsBT,oCAkBiB;AAjBf,8FAAA,KAAK,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/vault/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2CAAwC;AAA/B,+FAAA,MAAM,OAAA;AACf,sCAAkF;AAAzE,gGAAA,MAAM,OAAA;AACf,sCASkB;AARhB,gGAAA,MAAM,OAAA;AASR,4CAQqB;AAPnB,sGAAA,SAAS,OAAA;AAQX,wCAyBmB;AAxBjB,kGAAA,OAAO,OAAA;AAyBT,oCAkBiB;AAjBf,8FAAA,KAAK,OAAA"}
@@ -1,6 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { Events } from "./events/index.mjs";
3
- export { Graphrag, } from "./graphrag.mjs";
4
3
  export { Groups } from "./groups.mjs";
5
4
  export { Memory, } from "./memory.mjs";
6
5
  export { Multipart, } from "./multipart.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/vault/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,MAAM,EAAE,2BAAuB;AACxC,OAAO,EACL,QAAQ,GAKT,uBAAmB;AACpB,OAAO,EAAE,MAAM,EAAkD,qBAAiB;AAClF,OAAO,EACL,MAAM,GAQP,qBAAiB;AAClB,OAAO,EACL,SAAS,GAIV,wBAAoB;AACrB,OAAO,EACL,OAAO,GAqBR,sBAAkB;AACnB,OAAO,EACL,KAAK,GAiBN,oBAAgB"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/vault/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,MAAM,EAAE,2BAAuB;AACxC,OAAO,EAAE,MAAM,EAAkD,qBAAiB;AAClF,OAAO,EACL,MAAM,GAQP,qBAAiB;AAClB,OAAO,EACL,SAAS,GAOV,wBAAoB;AACrB,OAAO,EACL,OAAO,GAwBR,sBAAkB;AACnB,OAAO,EACL,KAAK,GAiBN,oBAAgB"}
@@ -2,7 +2,7 @@ import { APIResource } from "../../core/resource.mjs";
2
2
  import { APIPromise } from "../../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../../internal/request-options.mjs";
4
4
  /**
5
- * Secure document storage with semantic search and GraphRAG
5
+ * Vault-scoped persistent memory and semantic retrieval
6
6
  */
7
7
  export declare class Memory extends APIResource {
8
8
  /**
@@ -2,7 +2,7 @@ import { APIResource } from "../../core/resource.js";
2
2
  import { APIPromise } from "../../core/api-promise.js";
3
3
  import { RequestOptions } from "../../internal/request-options.js";
4
4
  /**
5
- * Secure document storage with semantic search and GraphRAG
5
+ * Vault-scoped persistent memory and semantic retrieval
6
6
  */
7
7
  export declare class Memory extends APIResource {
8
8
  /**
@@ -6,7 +6,7 @@ const resource_1 = require("../../core/resource.js");
6
6
  const headers_1 = require("../../internal/headers.js");
7
7
  const path_1 = require("../../internal/utils/path.js");
8
8
  /**
9
- * Secure document storage with semantic search and GraphRAG
9
+ * Vault-scoped persistent memory and semantic retrieval
10
10
  */
11
11
  class Memory extends resource_1.APIResource {
12
12
  /**
@@ -3,7 +3,7 @@ import { APIResource } from "../../core/resource.mjs";
3
3
  import { buildHeaders } from "../../internal/headers.mjs";
4
4
  import { path } from "../../internal/utils/path.mjs";
5
5
  /**
6
- * Secure document storage with semantic search and GraphRAG
6
+ * Vault-scoped persistent memory and semantic retrieval
7
7
  */
8
8
  export class Memory extends APIResource {
9
9
  /**
@@ -17,6 +17,22 @@ export declare class Multipart extends APIResource {
17
17
  * ```
18
18
  */
19
19
  abort(id: string, body: MultipartAbortParams, options?: RequestOptions): APIPromise<void>;
20
+ /**
21
+ * Complete a multipart upload by providing the list of part numbers and ETags
22
+ * (live). Single PUT uploads are capped at 5GB; multipart default max is 16GB
23
+ * (configurable).
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * await client.vault.multipart.complete('id', {
28
+ * objectId: 'objectId',
29
+ * parts: [{ etag: 'etag', partNumber: 1 }],
30
+ * sizeBytes: 1,
31
+ * uploadId: 'uploadId',
32
+ * });
33
+ * ```
34
+ */
35
+ complete(id: string, body: MultipartCompleteParams, options?: RequestOptions): APIPromise<void>;
20
36
  /**
21
37
  * Generate presigned URLs for individual multipart upload parts (live).
22
38
  *
@@ -33,6 +49,22 @@ export declare class Multipart extends APIResource {
33
49
  * ```
34
50
  */
35
51
  getPartURLs(id: string, body: MultipartGetPartURLsParams, options?: RequestOptions): APIPromise<MultipartGetPartURLsResponse>;
52
+ /**
53
+ * Initiate a multipart upload for large files (>5GB). Single PUT uploads are
54
+ * capped at 5GB; multipart default max is 16GB (configurable). Multipart uploads
55
+ * are supported in production. Returns an uploadId and object metadata. Use part
56
+ * URLs endpoint to upload parts and complete endpoint to finalize.
57
+ *
58
+ * @example
59
+ * ```ts
60
+ * const response = await client.vault.multipart.init('id', {
61
+ * contentType: 'contentType',
62
+ * filename: 'filename',
63
+ * sizeBytes: 1,
64
+ * });
65
+ * ```
66
+ */
67
+ init(id: string, body: MultipartInitParams, options?: RequestOptions): APIPromise<MultipartInitResponse>;
36
68
  }
37
69
  export interface MultipartGetPartURLsResponse {
38
70
  urls?: Array<MultipartGetPartURLsResponse.URL>;
@@ -43,6 +75,14 @@ export declare namespace MultipartGetPartURLsResponse {
43
75
  url?: string;
44
76
  }
45
77
  }
78
+ export interface MultipartInitResponse {
79
+ next_step?: string;
80
+ objectId?: string;
81
+ partCount?: number;
82
+ partSizeBytes?: number;
83
+ s3Key?: string;
84
+ uploadId?: string;
85
+ }
46
86
  export interface MultipartAbortParams {
47
87
  /**
48
88
  * Vault object ID associated with the multipart upload
@@ -53,6 +93,22 @@ export interface MultipartAbortParams {
53
93
  */
54
94
  uploadId: string;
55
95
  }
96
+ export interface MultipartCompleteParams {
97
+ objectId: string;
98
+ parts: Array<MultipartCompleteParams.Part>;
99
+ /**
100
+ * File size in bytes (default max 16GB). Configure via
101
+ * VAULT_MULTIPART_MAX_FILE_SIZE_BYTES.
102
+ */
103
+ sizeBytes: number;
104
+ uploadId: string;
105
+ }
106
+ export declare namespace MultipartCompleteParams {
107
+ interface Part {
108
+ etag: string;
109
+ partNumber: number;
110
+ }
111
+ }
56
112
  export interface MultipartGetPartURLsParams {
57
113
  /**
58
114
  * Vault object ID associated with the multipart upload
@@ -79,7 +135,44 @@ export declare namespace MultipartGetPartURLsParams {
79
135
  sizeBytes: number;
80
136
  }
81
137
  }
138
+ export interface MultipartInitParams {
139
+ /**
140
+ * MIME type of the file
141
+ */
142
+ contentType: string;
143
+ /**
144
+ * Name of the file to upload
145
+ */
146
+ filename: string;
147
+ /**
148
+ * File size in bytes (required, default max 16GB). Configure via
149
+ * VAULT_MULTIPART_MAX_FILE_SIZE_BYTES.
150
+ */
151
+ sizeBytes: number;
152
+ /**
153
+ * Whether to automatically process and index the file for search
154
+ */
155
+ auto_index?: boolean;
156
+ /**
157
+ * Marks the file as AI-generated work product (e.g. uploaded by an agent) rather
158
+ * than a user-provided source document. Persisted on the object and returned by
159
+ * object listings so clients can distinguish provenance.
160
+ */
161
+ is_ai_generated?: boolean;
162
+ /**
163
+ * Additional metadata to associate with the file
164
+ */
165
+ metadata?: unknown;
166
+ /**
167
+ * Multipart part size in bytes (min 5MB, max 5GB). Defaults to 64MB.
168
+ */
169
+ partSizeBytes?: number;
170
+ /**
171
+ * Optional folder path for hierarchy preservation
172
+ */
173
+ path?: string;
174
+ }
82
175
  export declare namespace Multipart {
83
- export { type MultipartGetPartURLsResponse as MultipartGetPartURLsResponse, type MultipartAbortParams as MultipartAbortParams, type MultipartGetPartURLsParams as MultipartGetPartURLsParams, };
176
+ export { type MultipartGetPartURLsResponse as MultipartGetPartURLsResponse, type MultipartInitResponse as MultipartInitResponse, type MultipartAbortParams as MultipartAbortParams, type MultipartCompleteParams as MultipartCompleteParams, type MultipartGetPartURLsParams as MultipartGetPartURLsParams, type MultipartInitParams as MultipartInitParams, };
84
177
  }
85
178
  //# sourceMappingURL=multipart.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"multipart.d.mts","sourceRoot":"","sources":["../../src/resources/vault/multipart.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;OAUG;IACH,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQzF;;;;;;;;;;;;;;OAcG;IACH,WAAW,CACT,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;CAG5C;AAED,MAAM,WAAW,4BAA4B;IAC3C,IAAI,CAAC,EAAE,KAAK,CAAC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ED,yBAAiB,uBAAuB,CAAC;IACvC,UAAiB,IAAI;QACnB,IAAI,EAAE,MAAM,CAAC;QAEb,UAAU,EAAE,MAAM,CAAC;KACpB;CACF;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,0BAA0B,CAAC,IAAI,CAAC,CAAC;IAE9C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,IAAI;QACnB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -17,6 +17,22 @@ export declare class Multipart extends APIResource {
17
17
  * ```
18
18
  */
19
19
  abort(id: string, body: MultipartAbortParams, options?: RequestOptions): APIPromise<void>;
20
+ /**
21
+ * Complete a multipart upload by providing the list of part numbers and ETags
22
+ * (live). Single PUT uploads are capped at 5GB; multipart default max is 16GB
23
+ * (configurable).
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * await client.vault.multipart.complete('id', {
28
+ * objectId: 'objectId',
29
+ * parts: [{ etag: 'etag', partNumber: 1 }],
30
+ * sizeBytes: 1,
31
+ * uploadId: 'uploadId',
32
+ * });
33
+ * ```
34
+ */
35
+ complete(id: string, body: MultipartCompleteParams, options?: RequestOptions): APIPromise<void>;
20
36
  /**
21
37
  * Generate presigned URLs for individual multipart upload parts (live).
22
38
  *
@@ -33,6 +49,22 @@ export declare class Multipart extends APIResource {
33
49
  * ```
34
50
  */
35
51
  getPartURLs(id: string, body: MultipartGetPartURLsParams, options?: RequestOptions): APIPromise<MultipartGetPartURLsResponse>;
52
+ /**
53
+ * Initiate a multipart upload for large files (>5GB). Single PUT uploads are
54
+ * capped at 5GB; multipart default max is 16GB (configurable). Multipart uploads
55
+ * are supported in production. Returns an uploadId and object metadata. Use part
56
+ * URLs endpoint to upload parts and complete endpoint to finalize.
57
+ *
58
+ * @example
59
+ * ```ts
60
+ * const response = await client.vault.multipart.init('id', {
61
+ * contentType: 'contentType',
62
+ * filename: 'filename',
63
+ * sizeBytes: 1,
64
+ * });
65
+ * ```
66
+ */
67
+ init(id: string, body: MultipartInitParams, options?: RequestOptions): APIPromise<MultipartInitResponse>;
36
68
  }
37
69
  export interface MultipartGetPartURLsResponse {
38
70
  urls?: Array<MultipartGetPartURLsResponse.URL>;
@@ -43,6 +75,14 @@ export declare namespace MultipartGetPartURLsResponse {
43
75
  url?: string;
44
76
  }
45
77
  }
78
+ export interface MultipartInitResponse {
79
+ next_step?: string;
80
+ objectId?: string;
81
+ partCount?: number;
82
+ partSizeBytes?: number;
83
+ s3Key?: string;
84
+ uploadId?: string;
85
+ }
46
86
  export interface MultipartAbortParams {
47
87
  /**
48
88
  * Vault object ID associated with the multipart upload
@@ -53,6 +93,22 @@ export interface MultipartAbortParams {
53
93
  */
54
94
  uploadId: string;
55
95
  }
96
+ export interface MultipartCompleteParams {
97
+ objectId: string;
98
+ parts: Array<MultipartCompleteParams.Part>;
99
+ /**
100
+ * File size in bytes (default max 16GB). Configure via
101
+ * VAULT_MULTIPART_MAX_FILE_SIZE_BYTES.
102
+ */
103
+ sizeBytes: number;
104
+ uploadId: string;
105
+ }
106
+ export declare namespace MultipartCompleteParams {
107
+ interface Part {
108
+ etag: string;
109
+ partNumber: number;
110
+ }
111
+ }
56
112
  export interface MultipartGetPartURLsParams {
57
113
  /**
58
114
  * Vault object ID associated with the multipart upload
@@ -79,7 +135,44 @@ export declare namespace MultipartGetPartURLsParams {
79
135
  sizeBytes: number;
80
136
  }
81
137
  }
138
+ export interface MultipartInitParams {
139
+ /**
140
+ * MIME type of the file
141
+ */
142
+ contentType: string;
143
+ /**
144
+ * Name of the file to upload
145
+ */
146
+ filename: string;
147
+ /**
148
+ * File size in bytes (required, default max 16GB). Configure via
149
+ * VAULT_MULTIPART_MAX_FILE_SIZE_BYTES.
150
+ */
151
+ sizeBytes: number;
152
+ /**
153
+ * Whether to automatically process and index the file for search
154
+ */
155
+ auto_index?: boolean;
156
+ /**
157
+ * Marks the file as AI-generated work product (e.g. uploaded by an agent) rather
158
+ * than a user-provided source document. Persisted on the object and returned by
159
+ * object listings so clients can distinguish provenance.
160
+ */
161
+ is_ai_generated?: boolean;
162
+ /**
163
+ * Additional metadata to associate with the file
164
+ */
165
+ metadata?: unknown;
166
+ /**
167
+ * Multipart part size in bytes (min 5MB, max 5GB). Defaults to 64MB.
168
+ */
169
+ partSizeBytes?: number;
170
+ /**
171
+ * Optional folder path for hierarchy preservation
172
+ */
173
+ path?: string;
174
+ }
82
175
  export declare namespace Multipart {
83
- export { type MultipartGetPartURLsResponse as MultipartGetPartURLsResponse, type MultipartAbortParams as MultipartAbortParams, type MultipartGetPartURLsParams as MultipartGetPartURLsParams, };
176
+ export { type MultipartGetPartURLsResponse as MultipartGetPartURLsResponse, type MultipartInitResponse as MultipartInitResponse, type MultipartAbortParams as MultipartAbortParams, type MultipartCompleteParams as MultipartCompleteParams, type MultipartGetPartURLsParams as MultipartGetPartURLsParams, type MultipartInitParams as MultipartInitParams, };
84
177
  }
85
178
  //# sourceMappingURL=multipart.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"multipart.d.ts","sourceRoot":"","sources":["../../src/resources/vault/multipart.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;OAUG;IACH,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQzF;;;;;;;;;;;;;;OAcG;IACH,WAAW,CACT,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;CAG5C;AAED,MAAM,WAAW,4BAA4B;IAC3C,IAAI,CAAC,EAAE,KAAK,CAAC,4BAA4B,CAAC,GAAG,CAAC,CAAC;CAChD;AAED,yBAAiB,4BAA4B,CAAC;IAC5C,UAAiB,GAAG;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,GAAG,CAAC,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC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QAEnB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -27,6 +27,28 @@ class Multipart extends resource_1.APIResource {
27
27
  headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
28
28
  });
29
29
  }
30
+ /**
31
+ * Complete a multipart upload by providing the list of part numbers and ETags
32
+ * (live). Single PUT uploads are capped at 5GB; multipart default max is 16GB
33
+ * (configurable).
34
+ *
35
+ * @example
36
+ * ```ts
37
+ * await client.vault.multipart.complete('id', {
38
+ * objectId: 'objectId',
39
+ * parts: [{ etag: 'etag', partNumber: 1 }],
40
+ * sizeBytes: 1,
41
+ * uploadId: 'uploadId',
42
+ * });
43
+ * ```
44
+ */
45
+ complete(id, body, options) {
46
+ return this._client.post((0, path_1.path) `/vault/${id}/multipart/complete`, {
47
+ body,
48
+ ...options,
49
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
50
+ });
51
+ }
30
52
  /**
31
53
  * Generate presigned URLs for individual multipart upload parts (live).
32
54
  *
@@ -45,6 +67,24 @@ class Multipart extends resource_1.APIResource {
45
67
  getPartURLs(id, body, options) {
46
68
  return this._client.post((0, path_1.path) `/vault/${id}/multipart/part-urls`, { body, ...options });
47
69
  }
70
+ /**
71
+ * Initiate a multipart upload for large files (>5GB). Single PUT uploads are
72
+ * capped at 5GB; multipart default max is 16GB (configurable). Multipart uploads
73
+ * are supported in production. Returns an uploadId and object metadata. Use part
74
+ * URLs endpoint to upload parts and complete endpoint to finalize.
75
+ *
76
+ * @example
77
+ * ```ts
78
+ * const response = await client.vault.multipart.init('id', {
79
+ * contentType: 'contentType',
80
+ * filename: 'filename',
81
+ * sizeBytes: 1,
82
+ * });
83
+ * ```
84
+ */
85
+ init(id, body, options) {
86
+ return this._client.post((0, path_1.path) `/vault/${id}/multipart/init`, { body, ...options });
87
+ }
48
88
  }
49
89
  exports.Multipart = Multipart;
50
90
  //# sourceMappingURL=multipart.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"multipart.js","sourceRoot":"","sources":["../../src/resources/vault/multipart.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;;OAUG;IACH,KAAK,CAAC,EAAU,EAAE,IAA0B,EAAE,OAAwB;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,UAAU,EAAE,kBAAkB,EAAE;YAC3D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;OAcG;IAC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AAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,IAAI,CAAC,EAAU,EAAE,IAAyB,EAAE,OAAwB;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,UAAU,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;CACF;AApFD,8BAoFC"}
@@ -24,6 +24,28 @@ export class Multipart extends APIResource {
24
24
  headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
25
25
  });
26
26
  }
27
+ /**
28
+ * Complete a multipart upload by providing the list of part numbers and ETags
29
+ * (live). Single PUT uploads are capped at 5GB; multipart default max is 16GB
30
+ * (configurable).
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * await client.vault.multipart.complete('id', {
35
+ * objectId: 'objectId',
36
+ * parts: [{ etag: 'etag', partNumber: 1 }],
37
+ * sizeBytes: 1,
38
+ * uploadId: 'uploadId',
39
+ * });
40
+ * ```
41
+ */
42
+ complete(id, body, options) {
43
+ return this._client.post(path `/vault/${id}/multipart/complete`, {
44
+ body,
45
+ ...options,
46
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
47
+ });
48
+ }
27
49
  /**
28
50
  * Generate presigned URLs for individual multipart upload parts (live).
29
51
  *
@@ -42,5 +64,23 @@ export class Multipart extends APIResource {
42
64
  getPartURLs(id, body, options) {
43
65
  return this._client.post(path `/vault/${id}/multipart/part-urls`, { body, ...options });
44
66
  }
67
+ /**
68
+ * Initiate a multipart upload for large files (>5GB). Single PUT uploads are
69
+ * capped at 5GB; multipart default max is 16GB (configurable). Multipart uploads
70
+ * are supported in production. Returns an uploadId and object metadata. Use part
71
+ * URLs endpoint to upload parts and complete endpoint to finalize.
72
+ *
73
+ * @example
74
+ * ```ts
75
+ * const response = await client.vault.multipart.init('id', {
76
+ * contentType: 'contentType',
77
+ * filename: 'filename',
78
+ * sizeBytes: 1,
79
+ * });
80
+ * ```
81
+ */
82
+ init(id, body, options) {
83
+ return this._client.post(path `/vault/${id}/multipart/init`, { body, ...options });
84
+ }
45
85
  }
46
86
  //# sourceMappingURL=multipart.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"multipart.mjs","sourceRoot":"","sources":["../../src/resources/vault/multipart.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;OAUG;IACH,KAAK,CAAC,EAAU,EAAE,IAA0B,EAAE,OAAwB;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,UAAU,EAAE,kBAAkB,EAAE;YAC3D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,WAAW,CACT,EAAU,EACV,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,UAAU,EAAE,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF"}
1
+ {"version":3,"file":"multipart.mjs","sourceRoot":"","sources":["../../src/resources/vault/multipart.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OA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