ogx-client 0.7.2-rc1

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 (552) hide show
  1. package/CHANGELOG.md +512 -0
  2. package/LICENSE +7 -0
  3. package/README.md +391 -0
  4. package/_shims/MultipartBody.d.ts +9 -0
  5. package/_shims/MultipartBody.d.ts.map +1 -0
  6. package/_shims/MultipartBody.js +21 -0
  7. package/_shims/MultipartBody.js.map +1 -0
  8. package/_shims/MultipartBody.mjs +17 -0
  9. package/_shims/MultipartBody.mjs.map +1 -0
  10. package/_shims/README.md +46 -0
  11. package/_shims/auto/runtime-bun.d.ts +5 -0
  12. package/_shims/auto/runtime-bun.d.ts.map +1 -0
  13. package/_shims/auto/runtime-bun.js +26 -0
  14. package/_shims/auto/runtime-bun.js.map +1 -0
  15. package/_shims/auto/runtime-bun.mjs +7 -0
  16. package/_shims/auto/runtime-bun.mjs.map +1 -0
  17. package/_shims/auto/runtime-node.d.ts +5 -0
  18. package/_shims/auto/runtime-node.d.ts.map +1 -0
  19. package/_shims/auto/runtime-node.js +26 -0
  20. package/_shims/auto/runtime-node.js.map +1 -0
  21. package/_shims/auto/runtime-node.mjs +7 -0
  22. package/_shims/auto/runtime-node.mjs.map +1 -0
  23. package/_shims/auto/runtime.d.ts +5 -0
  24. package/_shims/auto/runtime.d.ts.map +1 -0
  25. package/_shims/auto/runtime.js +26 -0
  26. package/_shims/auto/runtime.js.map +1 -0
  27. package/_shims/auto/runtime.mjs +7 -0
  28. package/_shims/auto/runtime.mjs.map +1 -0
  29. package/_shims/auto/types-node.d.ts +5 -0
  30. package/_shims/auto/types-node.d.ts.map +1 -0
  31. package/_shims/auto/types-node.js +26 -0
  32. package/_shims/auto/types-node.js.map +1 -0
  33. package/_shims/auto/types-node.mjs +7 -0
  34. package/_shims/auto/types-node.mjs.map +1 -0
  35. package/_shims/auto/types.d.ts +107 -0
  36. package/_shims/auto/types.js +9 -0
  37. package/_shims/auto/types.mjs +10 -0
  38. package/_shims/bun-runtime.d.ts +6 -0
  39. package/_shims/bun-runtime.d.ts.map +1 -0
  40. package/_shims/bun-runtime.js +19 -0
  41. package/_shims/bun-runtime.js.map +1 -0
  42. package/_shims/bun-runtime.mjs +15 -0
  43. package/_shims/bun-runtime.mjs.map +1 -0
  44. package/_shims/index.d.ts +89 -0
  45. package/_shims/index.js +23 -0
  46. package/_shims/index.mjs +18 -0
  47. package/_shims/manual-types.d.ts +18 -0
  48. package/_shims/manual-types.js +9 -0
  49. package/_shims/manual-types.mjs +10 -0
  50. package/_shims/node-runtime.d.ts +3 -0
  51. package/_shims/node-runtime.d.ts.map +1 -0
  52. package/_shims/node-runtime.js +94 -0
  53. package/_shims/node-runtime.js.map +1 -0
  54. package/_shims/node-runtime.mjs +61 -0
  55. package/_shims/node-runtime.mjs.map +1 -0
  56. package/_shims/node-types.d.ts +48 -0
  57. package/_shims/node-types.js +9 -0
  58. package/_shims/node-types.mjs +10 -0
  59. package/_shims/registry.d.ts +37 -0
  60. package/_shims/registry.d.ts.map +1 -0
  61. package/_shims/registry.js +46 -0
  62. package/_shims/registry.js.map +1 -0
  63. package/_shims/registry.mjs +42 -0
  64. package/_shims/registry.mjs.map +1 -0
  65. package/_shims/web-runtime.d.ts +5 -0
  66. package/_shims/web-runtime.d.ts.map +1 -0
  67. package/_shims/web-runtime.js +83 -0
  68. package/_shims/web-runtime.js.map +1 -0
  69. package/_shims/web-runtime.mjs +76 -0
  70. package/_shims/web-runtime.mjs.map +1 -0
  71. package/_shims/web-types.d.ts +89 -0
  72. package/_shims/web-types.js +9 -0
  73. package/_shims/web-types.mjs +10 -0
  74. package/core.d.ts +257 -0
  75. package/core.d.ts.map +1 -0
  76. package/core.js +936 -0
  77. package/core.js.map +1 -0
  78. package/core.mjs +904 -0
  79. package/core.mjs.map +1 -0
  80. package/error.d.ts +47 -0
  81. package/error.d.ts.map +1 -0
  82. package/error.js +119 -0
  83. package/error.js.map +1 -0
  84. package/error.mjs +101 -0
  85. package/error.mjs.map +1 -0
  86. package/index.d.mts +233 -0
  87. package/index.d.ts +233 -0
  88. package/index.d.ts.map +1 -0
  89. package/index.js +254 -0
  90. package/index.js.map +1 -0
  91. package/index.mjs +210 -0
  92. package/index.mjs.map +1 -0
  93. package/internal/decoders/line.d.ts +21 -0
  94. package/internal/decoders/line.d.ts.map +1 -0
  95. package/internal/decoders/line.js +155 -0
  96. package/internal/decoders/line.js.map +1 -0
  97. package/internal/decoders/line.mjs +150 -0
  98. package/internal/decoders/line.mjs.map +1 -0
  99. package/internal/qs/formats.d.ts +6 -0
  100. package/internal/qs/formats.d.ts.map +1 -0
  101. package/internal/qs/formats.js +16 -0
  102. package/internal/qs/formats.js.map +1 -0
  103. package/internal/qs/formats.mjs +13 -0
  104. package/internal/qs/formats.mjs.map +1 -0
  105. package/internal/qs/index.d.ts +10 -0
  106. package/internal/qs/index.d.ts.map +1 -0
  107. package/internal/qs/index.js +19 -0
  108. package/internal/qs/index.js.map +1 -0
  109. package/internal/qs/index.mjs +15 -0
  110. package/internal/qs/index.mjs.map +1 -0
  111. package/internal/qs/stringify.d.ts +3 -0
  112. package/internal/qs/stringify.d.ts.map +1 -0
  113. package/internal/qs/stringify.js +285 -0
  114. package/internal/qs/stringify.js.map +1 -0
  115. package/internal/qs/stringify.mjs +281 -0
  116. package/internal/qs/stringify.mjs.map +1 -0
  117. package/internal/qs/types.d.ts +57 -0
  118. package/internal/qs/types.d.ts.map +1 -0
  119. package/internal/qs/types.js +8 -0
  120. package/internal/qs/types.js.map +1 -0
  121. package/internal/qs/types.mjs +7 -0
  122. package/internal/qs/types.mjs.map +1 -0
  123. package/internal/qs/utils.d.ts +14 -0
  124. package/internal/qs/utils.d.ts.map +1 -0
  125. package/internal/qs/utils.js +234 -0
  126. package/internal/qs/utils.js.map +1 -0
  127. package/internal/qs/utils.mjs +222 -0
  128. package/internal/qs/utils.mjs.map +1 -0
  129. package/internal/stream-utils.d.ts +8 -0
  130. package/internal/stream-utils.d.ts.map +1 -0
  131. package/internal/stream-utils.js +44 -0
  132. package/internal/stream-utils.js.map +1 -0
  133. package/internal/stream-utils.mjs +40 -0
  134. package/internal/stream-utils.mjs.map +1 -0
  135. package/internal/utils/query.d.ts +2 -0
  136. package/internal/utils/query.d.ts.map +1 -0
  137. package/internal/utils/query.js +39 -0
  138. package/internal/utils/query.js.map +1 -0
  139. package/internal/utils/query.mjs +12 -0
  140. package/internal/utils/query.mjs.map +1 -0
  141. package/lib/response-helpers.d.ts +23 -0
  142. package/lib/response-helpers.d.ts.map +1 -0
  143. package/lib/response-helpers.js +53 -0
  144. package/lib/response-helpers.js.map +1 -0
  145. package/lib/response-helpers.mjs +49 -0
  146. package/lib/response-helpers.mjs.map +1 -0
  147. package/ogx-client-0.7.2-rc1.tgz +0 -0
  148. package/package.json +108 -0
  149. package/pagination.d.ts +21 -0
  150. package/pagination.d.ts.map +1 -0
  151. package/pagination.js +53 -0
  152. package/pagination.js.map +1 -0
  153. package/pagination.mjs +47 -0
  154. package/pagination.mjs.map +1 -0
  155. package/resource.d.ts +6 -0
  156. package/resource.d.ts.map +1 -0
  157. package/resource.js +15 -0
  158. package/resource.js.map +1 -0
  159. package/resource.mjs +11 -0
  160. package/resource.mjs.map +1 -0
  161. package/resources/alpha/admin.d.ts +44 -0
  162. package/resources/alpha/admin.d.ts.map +1 -0
  163. package/resources/alpha/admin.js +49 -0
  164. package/resources/alpha/admin.js.map +1 -0
  165. package/resources/alpha/admin.mjs +45 -0
  166. package/resources/alpha/admin.mjs.map +1 -0
  167. package/resources/alpha/alpha.d.ts +14 -0
  168. package/resources/alpha/alpha.d.ts.map +1 -0
  169. package/resources/alpha/alpha.js +49 -0
  170. package/resources/alpha/alpha.js.map +1 -0
  171. package/resources/alpha/alpha.mjs +22 -0
  172. package/resources/alpha/alpha.mjs.map +1 -0
  173. package/resources/alpha/benchmarks.d.ts +104 -0
  174. package/resources/alpha/benchmarks.d.ts.map +1 -0
  175. package/resources/alpha/benchmarks.js +50 -0
  176. package/resources/alpha/benchmarks.js.map +1 -0
  177. package/resources/alpha/benchmarks.mjs +44 -0
  178. package/resources/alpha/benchmarks.mjs.map +1 -0
  179. package/resources/alpha/index.d.ts +4 -0
  180. package/resources/alpha/index.d.ts.map +1 -0
  181. package/resources/alpha/index.js +17 -0
  182. package/resources/alpha/index.js.map +1 -0
  183. package/resources/alpha/index.mjs +11 -0
  184. package/resources/alpha/index.mjs.map +1 -0
  185. package/resources/alpha/inference.d.ts +144 -0
  186. package/resources/alpha/inference.d.ts.map +1 -0
  187. package/resources/alpha/inference.js +29 -0
  188. package/resources/alpha/inference.js.map +1 -0
  189. package/resources/alpha/inference.mjs +25 -0
  190. package/resources/alpha/inference.mjs.map +1 -0
  191. package/resources/alpha.d.ts +2 -0
  192. package/resources/alpha.d.ts.map +1 -0
  193. package/resources/alpha.js +25 -0
  194. package/resources/alpha.js.map +1 -0
  195. package/resources/alpha.mjs +9 -0
  196. package/resources/alpha.mjs.map +1 -0
  197. package/resources/batches.d.ts +442 -0
  198. package/resources/batches.d.ts.map +1 -0
  199. package/resources/batches.js +53 -0
  200. package/resources/batches.js.map +1 -0
  201. package/resources/batches.mjs +48 -0
  202. package/resources/batches.mjs.map +1 -0
  203. package/resources/chat/chat.d.ts +276 -0
  204. package/resources/chat/chat.d.ts.map +1 -0
  205. package/resources/chat/chat.js +45 -0
  206. package/resources/chat/chat.js.map +1 -0
  207. package/resources/chat/chat.mjs +18 -0
  208. package/resources/chat/chat.mjs.map +1 -0
  209. package/resources/chat/completions.d.ts +2021 -0
  210. package/resources/chat/completions.d.ts.map +1 -0
  211. package/resources/chat/completions.js +39 -0
  212. package/resources/chat/completions.js.map +1 -0
  213. package/resources/chat/completions.mjs +35 -0
  214. package/resources/chat/completions.mjs.map +1 -0
  215. package/resources/chat/index.d.ts +3 -0
  216. package/resources/chat/index.d.ts.map +1 -0
  217. package/resources/chat/index.js +15 -0
  218. package/resources/chat/index.js.map +1 -0
  219. package/resources/chat/index.mjs +10 -0
  220. package/resources/chat/index.mjs.map +1 -0
  221. package/resources/chat.d.ts +2 -0
  222. package/resources/chat.d.ts.map +1 -0
  223. package/resources/chat.js +25 -0
  224. package/resources/chat.js.map +1 -0
  225. package/resources/chat.mjs +9 -0
  226. package/resources/chat.mjs.map +1 -0
  227. package/resources/completions.d.ts +273 -0
  228. package/resources/completions.d.ts.map +1 -0
  229. package/resources/completions.js +26 -0
  230. package/resources/completions.js.map +1 -0
  231. package/resources/completions.mjs +22 -0
  232. package/resources/completions.mjs.map +1 -0
  233. package/resources/conversations/conversations.d.ts +429 -0
  234. package/resources/conversations/conversations.d.ts.map +1 -0
  235. package/resources/conversations/conversations.js +73 -0
  236. package/resources/conversations/conversations.js.map +1 -0
  237. package/resources/conversations/conversations.mjs +46 -0
  238. package/resources/conversations/conversations.mjs.map +1 -0
  239. package/resources/conversations/index.d.ts +3 -0
  240. package/resources/conversations/index.d.ts.map +1 -0
  241. package/resources/conversations/index.js +16 -0
  242. package/resources/conversations/index.js.map +1 -0
  243. package/resources/conversations/index.mjs +10 -0
  244. package/resources/conversations/index.mjs.map +1 -0
  245. package/resources/conversations/items.d.ts +1408 -0
  246. package/resources/conversations/items.d.ts.map +1 -0
  247. package/resources/conversations/items.js +48 -0
  248. package/resources/conversations/items.js.map +1 -0
  249. package/resources/conversations/items.mjs +43 -0
  250. package/resources/conversations/items.mjs.map +1 -0
  251. package/resources/conversations.d.ts +2 -0
  252. package/resources/conversations.d.ts.map +1 -0
  253. package/resources/conversations.js +25 -0
  254. package/resources/conversations.js.map +1 -0
  255. package/resources/conversations.mjs +9 -0
  256. package/resources/conversations.mjs.map +1 -0
  257. package/resources/embeddings.d.ts +98 -0
  258. package/resources/embeddings.d.ts.map +1 -0
  259. package/resources/embeddings.js +30 -0
  260. package/resources/embeddings.js.map +1 -0
  261. package/resources/embeddings.mjs +26 -0
  262. package/resources/embeddings.mjs.map +1 -0
  263. package/resources/files.d.ts +159 -0
  264. package/resources/files.d.ts.map +1 -0
  265. package/resources/files.js +78 -0
  266. package/resources/files.js.map +1 -0
  267. package/resources/files.mjs +50 -0
  268. package/resources/files.mjs.map +1 -0
  269. package/resources/index.d.ts +20 -0
  270. package/resources/index.d.ts.map +1 -0
  271. package/resources/index.js +66 -0
  272. package/resources/index.js.map +1 -0
  273. package/resources/index.mjs +27 -0
  274. package/resources/index.mjs.map +1 -0
  275. package/resources/inspect.d.ts +17 -0
  276. package/resources/inspect.d.ts.map +1 -0
  277. package/resources/inspect.js +30 -0
  278. package/resources/inspect.js.map +1 -0
  279. package/resources/inspect.mjs +26 -0
  280. package/resources/inspect.mjs.map +1 -0
  281. package/resources/models/index.d.ts +3 -0
  282. package/resources/models/index.d.ts.map +1 -0
  283. package/resources/models/index.js +15 -0
  284. package/resources/models/index.js.map +1 -0
  285. package/resources/models/index.mjs +10 -0
  286. package/resources/models/index.mjs.map +1 -0
  287. package/resources/models/models.d.ts +97 -0
  288. package/resources/models/models.d.ts.map +1 -0
  289. package/resources/models/models.js +57 -0
  290. package/resources/models/models.js.map +1 -0
  291. package/resources/models/models.mjs +30 -0
  292. package/resources/models/models.mjs.map +1 -0
  293. package/resources/models/openai.d.ts +10 -0
  294. package/resources/models/openai.d.ts.map +1 -0
  295. package/resources/models/openai.js +21 -0
  296. package/resources/models/openai.js.map +1 -0
  297. package/resources/models/openai.mjs +17 -0
  298. package/resources/models/openai.mjs.map +1 -0
  299. package/resources/models.d.ts +2 -0
  300. package/resources/models.d.ts.map +1 -0
  301. package/resources/models.js +25 -0
  302. package/resources/models.js.map +1 -0
  303. package/resources/models.mjs +9 -0
  304. package/resources/models.mjs.map +1 -0
  305. package/resources/moderations.d.ts +83 -0
  306. package/resources/moderations.d.ts.map +1 -0
  307. package/resources/moderations.js +24 -0
  308. package/resources/moderations.js.map +1 -0
  309. package/resources/moderations.mjs +20 -0
  310. package/resources/moderations.mjs.map +1 -0
  311. package/resources/prompts/index.d.ts +3 -0
  312. package/resources/prompts/index.d.ts.map +1 -0
  313. package/resources/prompts/index.js +15 -0
  314. package/resources/prompts/index.js.map +1 -0
  315. package/resources/prompts/index.mjs +10 -0
  316. package/resources/prompts/index.mjs.map +1 -0
  317. package/resources/prompts/prompts.d.ts +113 -0
  318. package/resources/prompts/prompts.d.ts.map +1 -0
  319. package/resources/prompts/prompts.js +88 -0
  320. package/resources/prompts/prompts.js.map +1 -0
  321. package/resources/prompts/prompts.mjs +61 -0
  322. package/resources/prompts/prompts.mjs.map +1 -0
  323. package/resources/prompts/versions.d.ts +13 -0
  324. package/resources/prompts/versions.d.ts.map +1 -0
  325. package/resources/prompts/versions.js +24 -0
  326. package/resources/prompts/versions.js.map +1 -0
  327. package/resources/prompts/versions.mjs +20 -0
  328. package/resources/prompts/versions.mjs.map +1 -0
  329. package/resources/prompts.d.ts +2 -0
  330. package/resources/prompts.d.ts.map +1 -0
  331. package/resources/prompts.js +25 -0
  332. package/resources/prompts.js.map +1 -0
  333. package/resources/prompts.mjs +9 -0
  334. package/resources/prompts.mjs.map +1 -0
  335. package/resources/providers.d.ts +24 -0
  336. package/resources/providers.d.ts.map +1 -0
  337. package/resources/providers.js +30 -0
  338. package/resources/providers.js.map +1 -0
  339. package/resources/providers.mjs +26 -0
  340. package/resources/providers.mjs.map +1 -0
  341. package/resources/responses/index.d.ts +3 -0
  342. package/resources/responses/index.d.ts.map +1 -0
  343. package/resources/responses/index.js +16 -0
  344. package/resources/responses/index.js.map +1 -0
  345. package/resources/responses/index.mjs +10 -0
  346. package/resources/responses/index.mjs.map +1 -0
  347. package/resources/responses/input-items.d.ts +382 -0
  348. package/resources/responses/input-items.d.ts.map +1 -0
  349. package/resources/responses/input-items.js +25 -0
  350. package/resources/responses/input-items.js.map +1 -0
  351. package/resources/responses/input-items.mjs +21 -0
  352. package/resources/responses/input-items.mjs.map +1 -0
  353. package/resources/responses/responses.d.ts +4808 -0
  354. package/resources/responses/responses.d.ts.map +1 -0
  355. package/resources/responses/responses.js +85 -0
  356. package/resources/responses/responses.js.map +1 -0
  357. package/resources/responses/responses.mjs +57 -0
  358. package/resources/responses/responses.mjs.map +1 -0
  359. package/resources/responses.d.ts +2 -0
  360. package/resources/responses.d.ts.map +1 -0
  361. package/resources/responses.js +25 -0
  362. package/resources/responses.js.map +1 -0
  363. package/resources/responses.mjs +9 -0
  364. package/resources/responses.mjs.map +1 -0
  365. package/resources/routes.d.ts +30 -0
  366. package/resources/routes.d.ts.map +1 -0
  367. package/resources/routes.js +25 -0
  368. package/resources/routes.js.map +1 -0
  369. package/resources/routes.mjs +21 -0
  370. package/resources/routes.mjs.map +1 -0
  371. package/resources/safety.d.ts +297 -0
  372. package/resources/safety.d.ts.map +1 -0
  373. package/resources/safety.js +24 -0
  374. package/resources/safety.js.map +1 -0
  375. package/resources/safety.mjs +20 -0
  376. package/resources/safety.mjs.map +1 -0
  377. package/resources/shared.d.ts +447 -0
  378. package/resources/shared.d.ts.map +1 -0
  379. package/resources/shared.js +10 -0
  380. package/resources/shared.js.map +1 -0
  381. package/resources/shared.mjs +9 -0
  382. package/resources/shared.mjs.map +1 -0
  383. package/resources/shields.d.ts +82 -0
  384. package/resources/shields.d.ts.map +1 -0
  385. package/resources/shields.js +46 -0
  386. package/resources/shields.js.map +1 -0
  387. package/resources/shields.mjs +42 -0
  388. package/resources/shields.mjs.map +1 -0
  389. package/resources/vector-io.d.ts +375 -0
  390. package/resources/vector-io.d.ts.map +1 -0
  391. package/resources/vector-io.js +31 -0
  392. package/resources/vector-io.js.map +1 -0
  393. package/resources/vector-io.mjs +27 -0
  394. package/resources/vector-io.mjs.map +1 -0
  395. package/resources/vector-stores/file-batches.d.ts +268 -0
  396. package/resources/vector-stores/file-batches.d.ts.map +1 -0
  397. package/resources/vector-stores/file-batches.js +42 -0
  398. package/resources/vector-stores/file-batches.js.map +1 -0
  399. package/resources/vector-stores/file-batches.mjs +38 -0
  400. package/resources/vector-stores/file-batches.mjs.map +1 -0
  401. package/resources/vector-stores/files.d.ts +335 -0
  402. package/resources/vector-stores/files.d.ts.map +1 -0
  403. package/resources/vector-stores/files.js +60 -0
  404. package/resources/vector-stores/files.js.map +1 -0
  405. package/resources/vector-stores/files.mjs +55 -0
  406. package/resources/vector-stores/files.mjs.map +1 -0
  407. package/resources/vector-stores/index.d.ts +4 -0
  408. package/resources/vector-stores/index.d.ts.map +1 -0
  409. package/resources/vector-stores/index.js +19 -0
  410. package/resources/vector-stores/index.js.map +1 -0
  411. package/resources/vector-stores/index.mjs +11 -0
  412. package/resources/vector-stores/index.mjs.map +1 -0
  413. package/resources/vector-stores/vector-stores.d.ts +412 -0
  414. package/resources/vector-stores/vector-stores.d.ts.map +1 -0
  415. package/resources/vector-stores/vector-stores.js +92 -0
  416. package/resources/vector-stores/vector-stores.js.map +1 -0
  417. package/resources/vector-stores/vector-stores.mjs +64 -0
  418. package/resources/vector-stores/vector-stores.mjs.map +1 -0
  419. package/resources/vector-stores.d.ts +2 -0
  420. package/resources/vector-stores.d.ts.map +1 -0
  421. package/resources/vector-stores.js +25 -0
  422. package/resources/vector-stores.js.map +1 -0
  423. package/resources/vector-stores.mjs +9 -0
  424. package/resources/vector-stores.mjs.map +1 -0
  425. package/resources.d.ts +2 -0
  426. package/resources.d.ts.map +1 -0
  427. package/resources.js +23 -0
  428. package/resources.js.map +1 -0
  429. package/resources.mjs +7 -0
  430. package/resources.mjs.map +1 -0
  431. package/shims/node.d.ts +30 -0
  432. package/shims/node.d.ts.map +1 -0
  433. package/shims/node.js +36 -0
  434. package/shims/node.js.map +1 -0
  435. package/shims/node.mjs +10 -0
  436. package/shims/node.mjs.map +1 -0
  437. package/shims/web.d.ts +26 -0
  438. package/shims/web.d.ts.map +1 -0
  439. package/shims/web.js +36 -0
  440. package/shims/web.js.map +1 -0
  441. package/shims/web.mjs +10 -0
  442. package/shims/web.mjs.map +1 -0
  443. package/src/_shims/MultipartBody.ts +15 -0
  444. package/src/_shims/README.md +46 -0
  445. package/src/_shims/auto/runtime-bun.ts +10 -0
  446. package/src/_shims/auto/runtime-node.ts +10 -0
  447. package/src/_shims/auto/runtime.ts +10 -0
  448. package/src/_shims/auto/types-node.ts +10 -0
  449. package/src/_shims/auto/types.d.ts +107 -0
  450. package/src/_shims/auto/types.js +9 -0
  451. package/src/_shims/auto/types.mjs +10 -0
  452. package/src/_shims/bun-runtime.ts +20 -0
  453. package/src/_shims/index.d.ts +89 -0
  454. package/src/_shims/index.js +23 -0
  455. package/src/_shims/index.mjs +18 -0
  456. package/src/_shims/manual-types.d.ts +18 -0
  457. package/src/_shims/manual-types.js +9 -0
  458. package/src/_shims/manual-types.mjs +10 -0
  459. package/src/_shims/node-runtime.ts +87 -0
  460. package/src/_shims/node-types.d.ts +48 -0
  461. package/src/_shims/node-types.js +9 -0
  462. package/src/_shims/node-types.mjs +10 -0
  463. package/src/_shims/registry.ts +73 -0
  464. package/src/_shims/web-runtime.ts +109 -0
  465. package/src/_shims/web-types.d.ts +89 -0
  466. package/src/_shims/web-types.js +9 -0
  467. package/src/_shims/web-types.mjs +10 -0
  468. package/src/core.ts +1253 -0
  469. package/src/error.ts +137 -0
  470. package/src/index.ts +554 -0
  471. package/src/internal/decoders/line.ts +182 -0
  472. package/src/internal/qs/LICENSE.md +13 -0
  473. package/src/internal/qs/README.md +3 -0
  474. package/src/internal/qs/formats.ts +15 -0
  475. package/src/internal/qs/index.ts +19 -0
  476. package/src/internal/qs/stringify.ts +394 -0
  477. package/src/internal/qs/types.ts +77 -0
  478. package/src/internal/qs/utils.ts +271 -0
  479. package/src/internal/stream-utils.ts +38 -0
  480. package/src/internal/utils/query.ts +13 -0
  481. package/src/lib/response-helpers.ts +60 -0
  482. package/src/pagination.ts +80 -0
  483. package/src/resource.ts +18 -0
  484. package/src/resources/alpha/admin.ts +87 -0
  485. package/src/resources/alpha/alpha.ts +31 -0
  486. package/src/resources/alpha/benchmarks.ts +152 -0
  487. package/src/resources/alpha/index.ts +11 -0
  488. package/src/resources/alpha/inference.ts +191 -0
  489. package/src/resources/alpha.ts +9 -0
  490. package/src/resources/batches.ts +692 -0
  491. package/src/resources/chat/chat.ts +351 -0
  492. package/src/resources/chat/completions.ts +2430 -0
  493. package/src/resources/chat/index.ts +19 -0
  494. package/src/resources/chat.ts +9 -0
  495. package/src/resources/completions.ts +350 -0
  496. package/src/resources/conversations/conversations.ts +627 -0
  497. package/src/resources/conversations/index.ts +25 -0
  498. package/src/resources/conversations/items.ts +2061 -0
  499. package/src/resources/conversations.ts +9 -0
  500. package/src/resources/embeddings.ts +130 -0
  501. package/src/resources/files.ts +225 -0
  502. package/src/resources/index.ts +104 -0
  503. package/src/resources/inspect.ts +30 -0
  504. package/src/resources/models/index.ts +10 -0
  505. package/src/resources/models/models.ts +133 -0
  506. package/src/resources/models/openai.ts +20 -0
  507. package/src/resources/models.ts +9 -0
  508. package/src/resources/moderations.ts +97 -0
  509. package/src/resources/prompts/index.ts +19 -0
  510. package/src/resources/prompts/prompts.ts +188 -0
  511. package/src/resources/prompts/versions.ts +27 -0
  512. package/src/resources/prompts.ts +9 -0
  513. package/src/resources/providers.ts +41 -0
  514. package/src/resources/responses/index.ts +26 -0
  515. package/src/resources/responses/input-items.ts +571 -0
  516. package/src/resources/responses/responses.ts +6718 -0
  517. package/src/resources/responses.ts +9 -0
  518. package/src/resources/routes.ts +55 -0
  519. package/src/resources/safety.ts +367 -0
  520. package/src/resources/shared.ts +544 -0
  521. package/src/resources/shields.ts +119 -0
  522. package/src/resources/vector-io.ts +485 -0
  523. package/src/resources/vector-stores/file-batches.ts +386 -0
  524. package/src/resources/vector-stores/files.ts +496 -0
  525. package/src/resources/vector-stores/index.ts +38 -0
  526. package/src/resources/vector-stores/vector-stores.ts +588 -0
  527. package/src/resources/vector-stores.ts +9 -0
  528. package/src/resources.ts +7 -0
  529. package/src/shims/node.ts +56 -0
  530. package/src/shims/web.ts +56 -0
  531. package/src/streaming.ts +315 -0
  532. package/src/tsconfig.json +11 -0
  533. package/src/uploads.ts +261 -0
  534. package/src/version.ts +7 -0
  535. package/streaming.d.ts +32 -0
  536. package/streaming.d.ts.map +1 -0
  537. package/streaming.js +272 -0
  538. package/streaming.js.map +1 -0
  539. package/streaming.mjs +267 -0
  540. package/streaming.mjs.map +1 -0
  541. package/uploads.d.ts +75 -0
  542. package/uploads.d.ts.map +1 -0
  543. package/uploads.js +176 -0
  544. package/uploads.js.map +1 -0
  545. package/uploads.mjs +163 -0
  546. package/uploads.mjs.map +1 -0
  547. package/version.d.ts +2 -0
  548. package/version.d.ts.map +1 -0
  549. package/version.js +10 -0
  550. package/version.js.map +1 -0
  551. package/version.mjs +7 -0
  552. package/version.mjs.map +1 -0
@@ -0,0 +1,335 @@
1
+ import { APIResource } from "../../resource.js";
2
+ import * as Core from "../../core.js";
3
+ import { OpenAICursorPage, type OpenAICursorPageParams } from "../../pagination.js";
4
+ export declare class Files extends APIResource {
5
+ /**
6
+ * Attach a file to a vector store (OpenAI-compatible).
7
+ */
8
+ create(vectorStoreId: string, body: FileCreateParams, options?: Core.RequestOptions): Core.APIPromise<VectorStoreFile>;
9
+ /**
10
+ * Retrieve a vector store file (OpenAI-compatible).
11
+ */
12
+ retrieve(vectorStoreId: string, fileId: string, options?: Core.RequestOptions): Core.APIPromise<VectorStoreFile>;
13
+ /**
14
+ * Update a vector store file (OpenAI-compatible).
15
+ */
16
+ update(vectorStoreId: string, fileId: string, body: FileUpdateParams, options?: Core.RequestOptions): Core.APIPromise<VectorStoreFile>;
17
+ /**
18
+ * List files in a vector store (OpenAI-compatible).
19
+ */
20
+ list(vectorStoreId: string, query?: FileListParams, options?: Core.RequestOptions): Core.PagePromise<VectorStoreFilesOpenAICursorPage, VectorStoreFile>;
21
+ list(vectorStoreId: string, options?: Core.RequestOptions): Core.PagePromise<VectorStoreFilesOpenAICursorPage, VectorStoreFile>;
22
+ /**
23
+ * Delete a vector store file (OpenAI-compatible).
24
+ */
25
+ delete(vectorStoreId: string, fileId: string, options?: Core.RequestOptions): Core.APIPromise<FileDeleteResponse>;
26
+ /**
27
+ * Retrieve vector store file contents (OpenAI-compatible).
28
+ */
29
+ content(vectorStoreId: string, fileId: string, query?: FileContentParams, options?: Core.RequestOptions): Core.APIPromise<FileContentResponse>;
30
+ content(vectorStoreId: string, fileId: string, options?: Core.RequestOptions): Core.APIPromise<FileContentResponse>;
31
+ }
32
+ export declare class VectorStoreFilesOpenAICursorPage extends OpenAICursorPage<VectorStoreFile> {
33
+ }
34
+ /**
35
+ * OpenAI Vector Store File object.
36
+ */
37
+ export interface VectorStoreFile {
38
+ id: string;
39
+ /**
40
+ * Automatic chunking strategy for vector store files.
41
+ */
42
+ chunking_strategy: VectorStoreFile.VectorStoreChunkingStrategyAuto | VectorStoreFile.VectorStoreChunkingStrategyStatic | VectorStoreFile.VectorStoreChunkingStrategyContextual;
43
+ created_at: number;
44
+ status: 'in_progress' | 'completed' | 'cancelled' | 'failed';
45
+ vector_store_id: string;
46
+ /**
47
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful
48
+ * for storing additional information about the object in a structured format, and
49
+ * querying for objects via API or the dashboard. Keys are strings with a maximum
50
+ * length of 64 characters. Values are strings with a maximum length of 512
51
+ * characters, booleans, or numbers.
52
+ */
53
+ attributes?: {
54
+ [key: string]: string | number | boolean;
55
+ } | null;
56
+ /**
57
+ * Error information for failed vector store file processing.
58
+ */
59
+ last_error?: VectorStoreFile.LastError | null;
60
+ object?: 'vector_store.file';
61
+ usage_bytes?: number;
62
+ }
63
+ export declare namespace VectorStoreFile {
64
+ /**
65
+ * Automatic chunking strategy for vector store files.
66
+ */
67
+ interface VectorStoreChunkingStrategyAuto {
68
+ type?: 'auto';
69
+ }
70
+ /**
71
+ * Static chunking strategy with configurable parameters.
72
+ */
73
+ interface VectorStoreChunkingStrategyStatic {
74
+ /**
75
+ * Configuration for static chunking strategy.
76
+ */
77
+ static: VectorStoreChunkingStrategyStatic.Static;
78
+ type?: 'static';
79
+ }
80
+ namespace VectorStoreChunkingStrategyStatic {
81
+ /**
82
+ * Configuration for static chunking strategy.
83
+ */
84
+ interface Static {
85
+ chunk_overlap_tokens?: number;
86
+ max_chunk_size_tokens?: number;
87
+ }
88
+ }
89
+ /**
90
+ * Contextual chunking strategy that uses an LLM to situate chunks within the
91
+ * document.
92
+ */
93
+ interface VectorStoreChunkingStrategyContextual {
94
+ /**
95
+ * Configuration for contextual chunking.
96
+ */
97
+ contextual: VectorStoreChunkingStrategyContextual.Contextual;
98
+ /**
99
+ * Strategy type identifier.
100
+ */
101
+ type?: 'contextual';
102
+ }
103
+ namespace VectorStoreChunkingStrategyContextual {
104
+ /**
105
+ * Configuration for contextual chunking.
106
+ */
107
+ interface Contextual {
108
+ /**
109
+ * Tokens to overlap between adjacent chunks. Must be less than
110
+ * max_chunk_size_tokens.
111
+ */
112
+ chunk_overlap_tokens?: number;
113
+ /**
114
+ * Prompt template for contextual retrieval. Uses WHOLE_DOCUMENT and CHUNK_CONTENT
115
+ * placeholders wrapped in double curly braces.
116
+ */
117
+ context_prompt?: string;
118
+ /**
119
+ * Maximum tokens per chunk. Suggested ~700 to allow room for prepended context.
120
+ */
121
+ max_chunk_size_tokens?: number;
122
+ /**
123
+ * Maximum concurrent LLM calls. Falls back to config default if not provided.
124
+ */
125
+ max_concurrency?: number | null;
126
+ /**
127
+ * LLM model for generating context. Falls back to
128
+ * VectorStoresConfig.contextual_retrieval_params.model if not provided.
129
+ */
130
+ model_id?: string | null;
131
+ /**
132
+ * Timeout per LLM call in seconds. Falls back to config default if not provided.
133
+ */
134
+ timeout_seconds?: number | null;
135
+ }
136
+ }
137
+ /**
138
+ * Error information for failed vector store file processing.
139
+ */
140
+ interface LastError {
141
+ code: 'server_error' | 'unsupported_file' | 'invalid_file';
142
+ message: string;
143
+ }
144
+ }
145
+ /**
146
+ * Response from deleting a vector store file.
147
+ */
148
+ export interface FileDeleteResponse {
149
+ id: string;
150
+ deleted: boolean;
151
+ object?: 'vector_store.file.deleted';
152
+ }
153
+ /**
154
+ * Represents the parsed content of a vector store file.
155
+ */
156
+ export interface FileContentResponse {
157
+ data: Array<FileContentResponse.Data>;
158
+ has_more: boolean;
159
+ next_page?: string | null;
160
+ object?: 'vector_store.file_content.page';
161
+ }
162
+ export declare namespace FileContentResponse {
163
+ /**
164
+ * Content item from a vector store file or search result.
165
+ */
166
+ interface Data {
167
+ text: string;
168
+ type: 'text';
169
+ /**
170
+ * `ChunkMetadata` is backend metadata for a `Chunk` that is used to store
171
+ * additional information about the chunk that will not be used in the context
172
+ * during inference, but is required for backend functionality. The `ChunkMetadata`
173
+ * is set during chunk creation in `FileSearchToolRuntimeImpl().insert()`and is not
174
+ * expected to change after. Use `Chunk.metadata` for metadata that will be used in
175
+ * the context during inference.
176
+ */
177
+ chunk_metadata?: Data.ChunkMetadata | null;
178
+ embedding?: Array<number> | null;
179
+ metadata?: {
180
+ [key: string]: unknown;
181
+ } | null;
182
+ }
183
+ namespace Data {
184
+ /**
185
+ * `ChunkMetadata` is backend metadata for a `Chunk` that is used to store
186
+ * additional information about the chunk that will not be used in the context
187
+ * during inference, but is required for backend functionality. The `ChunkMetadata`
188
+ * is set during chunk creation in `FileSearchToolRuntimeImpl().insert()`and is not
189
+ * expected to change after. Use `Chunk.metadata` for metadata that will be used in
190
+ * the context during inference.
191
+ */
192
+ interface ChunkMetadata {
193
+ chunk_id?: string | null;
194
+ chunk_tokenizer?: string | null;
195
+ chunk_window?: string | null;
196
+ content_token_count?: number | null;
197
+ created_timestamp?: number | null;
198
+ document_id?: string | null;
199
+ metadata_token_count?: number | null;
200
+ source?: string | null;
201
+ updated_timestamp?: number | null;
202
+ }
203
+ }
204
+ }
205
+ export interface FileCreateParams {
206
+ /**
207
+ * The ID of the file to attach.
208
+ */
209
+ file_id: string;
210
+ /**
211
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful
212
+ * for storing additional information about the object in a structured format, and
213
+ * querying for objects via API or the dashboard. Keys are strings with a maximum
214
+ * length of 64 characters. Values are strings with a maximum length of 512
215
+ * characters, booleans, or numbers.
216
+ */
217
+ attributes?: {
218
+ [key: string]: string | number | boolean;
219
+ } | null;
220
+ /**
221
+ * Strategy for chunking the file content.
222
+ */
223
+ chunking_strategy?: FileCreateParams.VectorStoreChunkingStrategyAuto | FileCreateParams.VectorStoreChunkingStrategyStatic | FileCreateParams.VectorStoreChunkingStrategyContextual | null;
224
+ }
225
+ export declare namespace FileCreateParams {
226
+ /**
227
+ * Automatic chunking strategy for vector store files.
228
+ */
229
+ interface VectorStoreChunkingStrategyAuto {
230
+ type?: 'auto';
231
+ }
232
+ /**
233
+ * Static chunking strategy with configurable parameters.
234
+ */
235
+ interface VectorStoreChunkingStrategyStatic {
236
+ /**
237
+ * Configuration for static chunking strategy.
238
+ */
239
+ static: VectorStoreChunkingStrategyStatic.Static;
240
+ type?: 'static';
241
+ }
242
+ namespace VectorStoreChunkingStrategyStatic {
243
+ /**
244
+ * Configuration for static chunking strategy.
245
+ */
246
+ interface Static {
247
+ chunk_overlap_tokens?: number;
248
+ max_chunk_size_tokens?: number;
249
+ }
250
+ }
251
+ /**
252
+ * Contextual chunking strategy that uses an LLM to situate chunks within the
253
+ * document.
254
+ */
255
+ interface VectorStoreChunkingStrategyContextual {
256
+ /**
257
+ * Configuration for contextual chunking.
258
+ */
259
+ contextual: VectorStoreChunkingStrategyContextual.Contextual;
260
+ /**
261
+ * Strategy type identifier.
262
+ */
263
+ type?: 'contextual';
264
+ }
265
+ namespace VectorStoreChunkingStrategyContextual {
266
+ /**
267
+ * Configuration for contextual chunking.
268
+ */
269
+ interface Contextual {
270
+ /**
271
+ * Tokens to overlap between adjacent chunks. Must be less than
272
+ * max_chunk_size_tokens.
273
+ */
274
+ chunk_overlap_tokens?: number;
275
+ /**
276
+ * Prompt template for contextual retrieval. Uses WHOLE_DOCUMENT and CHUNK_CONTENT
277
+ * placeholders wrapped in double curly braces.
278
+ */
279
+ context_prompt?: string;
280
+ /**
281
+ * Maximum tokens per chunk. Suggested ~700 to allow room for prepended context.
282
+ */
283
+ max_chunk_size_tokens?: number;
284
+ /**
285
+ * Maximum concurrent LLM calls. Falls back to config default if not provided.
286
+ */
287
+ max_concurrency?: number | null;
288
+ /**
289
+ * LLM model for generating context. Falls back to
290
+ * VectorStoresConfig.contextual_retrieval_params.model if not provided.
291
+ */
292
+ model_id?: string | null;
293
+ /**
294
+ * Timeout per LLM call in seconds. Falls back to config default if not provided.
295
+ */
296
+ timeout_seconds?: number | null;
297
+ }
298
+ }
299
+ }
300
+ export interface FileUpdateParams {
301
+ /**
302
+ * The new attributes for the file.
303
+ */
304
+ attributes: {
305
+ [key: string]: unknown;
306
+ };
307
+ }
308
+ export interface FileListParams extends OpenAICursorPageParams {
309
+ /**
310
+ * Pagination cursor (before).
311
+ */
312
+ before?: string | null;
313
+ /**
314
+ * Filter by file status.
315
+ */
316
+ filter?: 'in_progress' | 'completed' | 'cancelled' | 'failed' | null;
317
+ /**
318
+ * Sort order by created_at: asc or desc.
319
+ */
320
+ order?: string | null;
321
+ }
322
+ export interface FileContentParams {
323
+ /**
324
+ * Include embedding vectors.
325
+ */
326
+ include_embeddings?: boolean | null;
327
+ /**
328
+ * Include chunk metadata.
329
+ */
330
+ include_metadata?: boolean | null;
331
+ }
332
+ export declare namespace Files {
333
+ export { type VectorStoreFile as VectorStoreFile, type FileDeleteResponse as FileDeleteResponse, type FileContentResponse as FileContentResponse, VectorStoreFilesOpenAICursorPage as VectorStoreFilesOpenAICursorPage, type FileCreateParams as FileCreateParams, type FileUpdateParams as FileUpdateParams, type FileListParams as FileListParams, type FileContentParams as FileContentParams, };
334
+ }
335
+ //# sourceMappingURL=files.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/resources/vector-stores/files.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAEjF,qBAAa,KAAM,SAAQ,WAAW;IACpC;;O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AAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,gCAAgC,IAAI,gCAAgC,EACpE,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ // Copyright (c) The OGX Contributors.
3
+ // All rights reserved.
4
+ //
5
+ // This source code is licensed under the terms described in the LICENSE file in
6
+ // the root directory of this source tree.
7
+ //
8
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.VectorStoreFilesOpenAICursorPage = exports.Files = void 0;
11
+ const resource_1 = require("../../resource.js");
12
+ const core_1 = require("../../core.js");
13
+ const pagination_1 = require("../../pagination.js");
14
+ class Files extends resource_1.APIResource {
15
+ /**
16
+ * Attach a file to a vector store (OpenAI-compatible).
17
+ */
18
+ create(vectorStoreId, body, options) {
19
+ return this._client.post(`/v1/vector_stores/${vectorStoreId}/files`, { body, ...options });
20
+ }
21
+ /**
22
+ * Retrieve a vector store file (OpenAI-compatible).
23
+ */
24
+ retrieve(vectorStoreId, fileId, options) {
25
+ return this._client.get(`/v1/vector_stores/${vectorStoreId}/files/${fileId}`, options);
26
+ }
27
+ /**
28
+ * Update a vector store file (OpenAI-compatible).
29
+ */
30
+ update(vectorStoreId, fileId, body, options) {
31
+ return this._client.post(`/v1/vector_stores/${vectorStoreId}/files/${fileId}`, { body, ...options });
32
+ }
33
+ list(vectorStoreId, query = {}, options) {
34
+ if ((0, core_1.isRequestOptions)(query)) {
35
+ return this.list(vectorStoreId, {}, query);
36
+ }
37
+ return this._client.getAPIList(`/v1/vector_stores/${vectorStoreId}/files`, VectorStoreFilesOpenAICursorPage, { query, ...options });
38
+ }
39
+ /**
40
+ * Delete a vector store file (OpenAI-compatible).
41
+ */
42
+ delete(vectorStoreId, fileId, options) {
43
+ return this._client.delete(`/v1/vector_stores/${vectorStoreId}/files/${fileId}`, options);
44
+ }
45
+ content(vectorStoreId, fileId, query = {}, options) {
46
+ if ((0, core_1.isRequestOptions)(query)) {
47
+ return this.content(vectorStoreId, fileId, {}, query);
48
+ }
49
+ return this._client.get(`/v1/vector_stores/${vectorStoreId}/files/${fileId}/content`, {
50
+ query,
51
+ ...options,
52
+ });
53
+ }
54
+ }
55
+ exports.Files = Files;
56
+ class VectorStoreFilesOpenAICursorPage extends pagination_1.OpenAICursorPage {
57
+ }
58
+ exports.VectorStoreFilesOpenAICursorPage = VectorStoreFilesOpenAICursorPage;
59
+ Files.VectorStoreFilesOpenAICursorPage = VectorStoreFilesOpenAICursorPage;
60
+ //# sourceMappingURL=files.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files.js","sourceRoot":"","sources":["../../src/resources/vector-stores/files.ts"],"names":[],"mappings":";AAAA,sCAAsC;AACtC,uBAAuB;AACvB,EAAE;AACF,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,sFAAsF;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAE9C,oDAAiF;AAEjF,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,MAAM,CACJ,aAAqB,EACrB,IAAsB,EACtB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,aAAa,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,aAAqB,EACrB,MAAc,EACd,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,aAAa,UAAU,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACzF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,CAAC"}
@@ -0,0 +1,55 @@
1
+ // Copyright (c) The OGX Contributors.
2
+ // All rights reserved.
3
+ //
4
+ // This source code is licensed under the terms described in the LICENSE file in
5
+ // the root directory of this source tree.
6
+ //
7
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
8
+ import { APIResource } from "../../resource.mjs";
9
+ import { isRequestOptions } from "../../core.mjs";
10
+ import { OpenAICursorPage } from "../../pagination.mjs";
11
+ export class Files extends APIResource {
12
+ /**
13
+ * Attach a file to a vector store (OpenAI-compatible).
14
+ */
15
+ create(vectorStoreId, body, options) {
16
+ return this._client.post(`/v1/vector_stores/${vectorStoreId}/files`, { body, ...options });
17
+ }
18
+ /**
19
+ * Retrieve a vector store file (OpenAI-compatible).
20
+ */
21
+ retrieve(vectorStoreId, fileId, options) {
22
+ return this._client.get(`/v1/vector_stores/${vectorStoreId}/files/${fileId}`, options);
23
+ }
24
+ /**
25
+ * Update a vector store file (OpenAI-compatible).
26
+ */
27
+ update(vectorStoreId, fileId, body, options) {
28
+ return this._client.post(`/v1/vector_stores/${vectorStoreId}/files/${fileId}`, { body, ...options });
29
+ }
30
+ list(vectorStoreId, query = {}, options) {
31
+ if (isRequestOptions(query)) {
32
+ return this.list(vectorStoreId, {}, query);
33
+ }
34
+ return this._client.getAPIList(`/v1/vector_stores/${vectorStoreId}/files`, VectorStoreFilesOpenAICursorPage, { query, ...options });
35
+ }
36
+ /**
37
+ * Delete a vector store file (OpenAI-compatible).
38
+ */
39
+ delete(vectorStoreId, fileId, options) {
40
+ return this._client.delete(`/v1/vector_stores/${vectorStoreId}/files/${fileId}`, options);
41
+ }
42
+ content(vectorStoreId, fileId, query = {}, options) {
43
+ if (isRequestOptions(query)) {
44
+ return this.content(vectorStoreId, fileId, {}, query);
45
+ }
46
+ return this._client.get(`/v1/vector_stores/${vectorStoreId}/files/${fileId}/content`, {
47
+ query,
48
+ ...options,
49
+ });
50
+ }
51
+ }
52
+ export class VectorStoreFilesOpenAICursorPage extends OpenAICursorPage {
53
+ }
54
+ Files.VectorStoreFilesOpenAICursorPage = VectorStoreFilesOpenAICursorPage;
55
+ //# sourceMappingURL=files.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files.mjs","sourceRoot":"","sources":["../../src/resources/vector-stores/files.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,uBAAuB;AACvB,EAAE;AACF,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,EAAE,gBAAgB,EAA+B;AAExD,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CACJ,aAAqB,EACrB,IAAsB,EACtB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,aAAa,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,aAAqB,EACrB,MAAc,EACd,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,aAAa,UAAU,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,aAAqB,EACrB,MAAc,EACd,IAAsB,EACtB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,aAAa,UAAU,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAcD,IAAI,CACF,aAAqB,EACrB,QAA8C,EAAE,EAChD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;SAC5C;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,qBAAqB,aAAa,QAAQ,EAC1C,gCAAgC,EAChC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,aAAqB,EACrB,MAAc,EACd,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,qBAAqB,aAAa,UAAU,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;IAgBD,OAAO,CACL,aAAqB,EACrB,MAAc,EACd,QAAiD,EAAE,EACnD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;SACvD;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,aAAa,UAAU,MAAM,UAAU,EAAE;YACpF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,gCAAiC,SAAQ,gBAAiC;CAAG;AA8W1F,KAAK,CAAC,gCAAgC,GAAG,gCAAgC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { FileBatches, type ListVectorStoreFilesInBatchResponse, type VectorStoreFileBatches, type FileBatchCreateParams, type FileBatchListFilesParams, } from "./file-batches.js";
2
+ export { VectorStoreFilesOpenAICursorPage, Files, type VectorStoreFile, type FileDeleteResponse, type FileContentResponse, type FileCreateParams, type FileUpdateParams, type FileListParams, type FileContentParams, } from "./files.js";
3
+ export { VectorStoresOpenAICursorPage, VectorStores, type ListVectorStoresResponse, type VectorStore, type VectorStoreDeleteResponse, type VectorStoreSearchResponse, type VectorStoreCreateParams, type VectorStoreUpdateParams, type VectorStoreListParams, type VectorStoreSearchParams, } from "./vector-stores.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/vector-stores/index.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,WAAW,EACX,KAAK,mCAAmC,EACxC,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,GAC9B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,gCAAgC,EAChC,KAAK,EACL,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACvB,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,4BAA4B,EAC5B,YAAY,EACZ,KAAK,wBAAwB,EAC7B,KAAK,WAAW,EAChB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,GAC7B,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ // Copyright (c) The OGX Contributors.
3
+ // All rights reserved.
4
+ //
5
+ // This source code is licensed under the terms described in the LICENSE file in
6
+ // the root directory of this source tree.
7
+ //
8
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.VectorStores = exports.VectorStoresOpenAICursorPage = exports.Files = exports.VectorStoreFilesOpenAICursorPage = exports.FileBatches = void 0;
11
+ var file_batches_1 = require("./file-batches.js");
12
+ Object.defineProperty(exports, "FileBatches", { enumerable: true, get: function () { return file_batches_1.FileBatches; } });
13
+ var files_1 = require("./files.js");
14
+ Object.defineProperty(exports, "VectorStoreFilesOpenAICursorPage", { enumerable: true, get: function () { return files_1.VectorStoreFilesOpenAICursorPage; } });
15
+ Object.defineProperty(exports, "Files", { enumerable: true, get: function () { return files_1.Files; } });
16
+ var vector_stores_1 = require("./vector-stores.js");
17
+ Object.defineProperty(exports, "VectorStoresOpenAICursorPage", { enumerable: true, get: function () { return vector_stores_1.VectorStoresOpenAICursorPage; } });
18
+ Object.defineProperty(exports, "VectorStores", { enumerable: true, get: function () { return vector_stores_1.VectorStores; } });
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/vector-stores/index.ts"],"names":[],"mappings":";AAAA,sCAAsC;AACtC,uBAAuB;AACvB,EAAE;AACF,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,sFAAsF;;;AAEtF,kDAMwB;AALtB,2GAAA,WAAW,OAAA;AAMb,oCAUiB;AATf,yHAAA,gCAAgC,OAAA;AAChC,8FAAA,KAAK,OAAA;AASP,oDAWyB;AAVvB,6HAAA,4BAA4B,OAAA;AAC5B,6GAAA,YAAY,OAAA"}
@@ -0,0 +1,11 @@
1
+ // Copyright (c) The OGX Contributors.
2
+ // All rights reserved.
3
+ //
4
+ // This source code is licensed under the terms described in the LICENSE file in
5
+ // the root directory of this source tree.
6
+ //
7
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
8
+ export { FileBatches, } from "./file-batches.mjs";
9
+ export { VectorStoreFilesOpenAICursorPage, Files, } from "./files.mjs";
10
+ export { VectorStoresOpenAICursorPage, VectorStores, } from "./vector-stores.mjs";
11
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/vector-stores/index.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,uBAAuB;AACvB,EAAE;AACF,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,sFAAsF;OAE/E,EACL,WAAW,GAKZ;OACM,EACL,gCAAgC,EAChC,KAAK,GAQN;OACM,EACL,4BAA4B,EAC5B,YAAY,GASb"}