@keystrokehq/openai 0.1.2 → 0.1.3

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 (773) hide show
  1. package/dist/actions/add-upload-part.cjs +1 -1
  2. package/dist/actions/add-upload-part.cjs.map +1 -1
  3. package/dist/actions/add-upload-part.d.cts +1 -1
  4. package/dist/actions/add-upload-part.d.mts +1 -1
  5. package/dist/actions/add-upload-part.mjs +1 -1
  6. package/dist/actions/add-upload-part.mjs.map +1 -1
  7. package/dist/actions/cancel-batch.cjs +6 -6
  8. package/dist/actions/cancel-batch.cjs.map +1 -1
  9. package/dist/actions/cancel-batch.d.cts +10 -10
  10. package/dist/actions/cancel-batch.d.mts +10 -10
  11. package/dist/actions/cancel-batch.mjs +6 -6
  12. package/dist/actions/cancel-batch.mjs.map +1 -1
  13. package/dist/actions/cancel-eval-run.cjs +8 -8
  14. package/dist/actions/cancel-eval-run.cjs.map +1 -1
  15. package/dist/actions/cancel-eval-run.d.cts +8 -8
  16. package/dist/actions/cancel-eval-run.d.mts +8 -8
  17. package/dist/actions/cancel-eval-run.mjs +8 -8
  18. package/dist/actions/cancel-eval-run.mjs.map +1 -1
  19. package/dist/actions/cancel-response.cjs +11 -11
  20. package/dist/actions/cancel-response.cjs.map +1 -1
  21. package/dist/actions/cancel-response.d.cts +11 -11
  22. package/dist/actions/cancel-response.d.mts +11 -11
  23. package/dist/actions/cancel-response.mjs +11 -11
  24. package/dist/actions/cancel-response.mjs.map +1 -1
  25. package/dist/actions/cancel-run.cjs +7 -7
  26. package/dist/actions/cancel-run.cjs.map +1 -1
  27. package/dist/actions/cancel-run.d.cts +11 -11
  28. package/dist/actions/cancel-run.d.mts +11 -11
  29. package/dist/actions/cancel-run.mjs +7 -7
  30. package/dist/actions/cancel-run.mjs.map +1 -1
  31. package/dist/actions/cancel-upload.cjs +2 -2
  32. package/dist/actions/cancel-upload.cjs.map +1 -1
  33. package/dist/actions/cancel-upload.d.cts +3 -3
  34. package/dist/actions/cancel-upload.d.mts +3 -3
  35. package/dist/actions/cancel-upload.mjs +2 -2
  36. package/dist/actions/cancel-upload.mjs.map +1 -1
  37. package/dist/actions/compact-response.cjs +9 -9
  38. package/dist/actions/compact-response.cjs.map +1 -1
  39. package/dist/actions/compact-response.d.cts +11 -9
  40. package/dist/actions/compact-response.d.mts +11 -9
  41. package/dist/actions/compact-response.mjs +9 -9
  42. package/dist/actions/compact-response.mjs.map +1 -1
  43. package/dist/actions/create-audio-transcription.cjs +3 -3
  44. package/dist/actions/create-audio-transcription.cjs.map +1 -1
  45. package/dist/actions/create-audio-transcription.d.cts +3 -3
  46. package/dist/actions/create-audio-transcription.d.mts +3 -3
  47. package/dist/actions/create-audio-transcription.mjs +3 -3
  48. package/dist/actions/create-audio-transcription.mjs.map +1 -1
  49. package/dist/actions/create-audio-translation.cjs +1 -1
  50. package/dist/actions/create-audio-translation.cjs.map +1 -1
  51. package/dist/actions/create-audio-translation.d.cts +1 -1
  52. package/dist/actions/create-audio-translation.d.mts +1 -1
  53. package/dist/actions/create-audio-translation.mjs +1 -1
  54. package/dist/actions/create-audio-translation.mjs.map +1 -1
  55. package/dist/actions/create-batch.cjs +9 -9
  56. package/dist/actions/create-batch.cjs.map +1 -1
  57. package/dist/actions/create-batch.d.cts +14 -14
  58. package/dist/actions/create-batch.d.mts +14 -14
  59. package/dist/actions/create-batch.mjs +9 -9
  60. package/dist/actions/create-batch.mjs.map +1 -1
  61. package/dist/actions/create-chat-completion.cjs +13 -13
  62. package/dist/actions/create-chat-completion.cjs.map +1 -1
  63. package/dist/actions/create-chat-completion.d.cts +19 -16
  64. package/dist/actions/create-chat-completion.d.mts +19 -16
  65. package/dist/actions/create-chat-completion.mjs +13 -13
  66. package/dist/actions/create-chat-completion.mjs.map +1 -1
  67. package/dist/actions/create-completion.cjs +9 -9
  68. package/dist/actions/create-completion.cjs.map +1 -1
  69. package/dist/actions/create-completion.d.cts +11 -11
  70. package/dist/actions/create-completion.d.mts +11 -11
  71. package/dist/actions/create-completion.mjs +9 -9
  72. package/dist/actions/create-completion.mjs.map +1 -1
  73. package/dist/actions/create-container-file.cjs +1 -1
  74. package/dist/actions/create-container-file.cjs.map +1 -1
  75. package/dist/actions/create-container-file.d.cts +1 -1
  76. package/dist/actions/create-container-file.d.mts +1 -1
  77. package/dist/actions/create-container-file.mjs +1 -1
  78. package/dist/actions/create-container-file.mjs.map +1 -1
  79. package/dist/actions/create-container.cjs +8 -8
  80. package/dist/actions/create-container.cjs.map +1 -1
  81. package/dist/actions/create-container.d.cts +13 -9
  82. package/dist/actions/create-container.d.cts.map +1 -1
  83. package/dist/actions/create-container.d.mts +13 -9
  84. package/dist/actions/create-container.d.mts.map +1 -1
  85. package/dist/actions/create-container.mjs +8 -8
  86. package/dist/actions/create-container.mjs.map +1 -1
  87. package/dist/actions/create-conversation-items.cjs +4 -4
  88. package/dist/actions/create-conversation-items.cjs.map +1 -1
  89. package/dist/actions/create-conversation-items.d.cts +6 -4
  90. package/dist/actions/create-conversation-items.d.cts.map +1 -1
  91. package/dist/actions/create-conversation-items.d.mts +6 -4
  92. package/dist/actions/create-conversation-items.d.mts.map +1 -1
  93. package/dist/actions/create-conversation-items.mjs +4 -4
  94. package/dist/actions/create-conversation-items.mjs.map +1 -1
  95. package/dist/actions/create-conversation.cjs +3 -3
  96. package/dist/actions/create-conversation.cjs.map +1 -1
  97. package/dist/actions/create-conversation.d.cts +5 -4
  98. package/dist/actions/create-conversation.d.cts.map +1 -1
  99. package/dist/actions/create-conversation.d.mts +5 -4
  100. package/dist/actions/create-conversation.d.mts.map +1 -1
  101. package/dist/actions/create-conversation.mjs +3 -3
  102. package/dist/actions/create-conversation.mjs.map +1 -1
  103. package/dist/actions/create-embeddings.cjs +3 -3
  104. package/dist/actions/create-embeddings.cjs.map +1 -1
  105. package/dist/actions/create-embeddings.d.cts +3 -3
  106. package/dist/actions/create-embeddings.d.mts +3 -3
  107. package/dist/actions/create-embeddings.mjs +3 -3
  108. package/dist/actions/create-embeddings.mjs.map +1 -1
  109. package/dist/actions/create-eval-run.cjs +19 -19
  110. package/dist/actions/create-eval-run.cjs.map +1 -1
  111. package/dist/actions/create-eval-run.d.cts +32 -23
  112. package/dist/actions/create-eval-run.d.mts +32 -23
  113. package/dist/actions/create-eval-run.mjs +19 -19
  114. package/dist/actions/create-eval-run.mjs.map +1 -1
  115. package/dist/actions/create-eval.cjs +10 -10
  116. package/dist/actions/create-eval.cjs.map +1 -1
  117. package/dist/actions/create-eval.d.cts +19 -10
  118. package/dist/actions/create-eval.d.mts +19 -10
  119. package/dist/actions/create-eval.mjs +10 -10
  120. package/dist/actions/create-eval.mjs.map +1 -1
  121. package/dist/actions/create-fine-tuning-job.cjs +4 -4
  122. package/dist/actions/create-fine-tuning-job.cjs.map +1 -1
  123. package/dist/actions/create-fine-tuning-job.d.cts +5 -5
  124. package/dist/actions/create-fine-tuning-job.d.mts +5 -5
  125. package/dist/actions/create-fine-tuning-job.mjs +4 -4
  126. package/dist/actions/create-fine-tuning-job.mjs.map +1 -1
  127. package/dist/actions/create-image-edit.cjs +5 -5
  128. package/dist/actions/create-image-edit.cjs.map +1 -1
  129. package/dist/actions/create-image-edit.d.cts +7 -6
  130. package/dist/actions/create-image-edit.d.mts +7 -6
  131. package/dist/actions/create-image-edit.mjs +5 -5
  132. package/dist/actions/create-image-edit.mjs.map +1 -1
  133. package/dist/actions/create-image-variation.cjs +2 -2
  134. package/dist/actions/create-image-variation.cjs.map +1 -1
  135. package/dist/actions/create-image-variation.d.cts +2 -2
  136. package/dist/actions/create-image-variation.d.mts +2 -2
  137. package/dist/actions/create-image-variation.mjs +2 -2
  138. package/dist/actions/create-image-variation.mjs.map +1 -1
  139. package/dist/actions/create-image.cjs +4 -4
  140. package/dist/actions/create-image.cjs.map +1 -1
  141. package/dist/actions/create-image.d.cts +4 -4
  142. package/dist/actions/create-image.d.mts +4 -4
  143. package/dist/actions/create-image.mjs +4 -4
  144. package/dist/actions/create-image.mjs.map +1 -1
  145. package/dist/actions/create-message.cjs +13 -13
  146. package/dist/actions/create-message.cjs.map +1 -1
  147. package/dist/actions/create-message.d.cts +17 -14
  148. package/dist/actions/create-message.d.cts.map +1 -1
  149. package/dist/actions/create-message.d.mts +17 -14
  150. package/dist/actions/create-message.d.mts.map +1 -1
  151. package/dist/actions/create-message.mjs +13 -13
  152. package/dist/actions/create-message.mjs.map +1 -1
  153. package/dist/actions/create-moderation.cjs +7 -7
  154. package/dist/actions/create-moderation.cjs.map +1 -1
  155. package/dist/actions/create-moderation.d.cts +9 -8
  156. package/dist/actions/create-moderation.d.cts.map +1 -1
  157. package/dist/actions/create-moderation.d.mts +9 -8
  158. package/dist/actions/create-moderation.d.mts.map +1 -1
  159. package/dist/actions/create-moderation.mjs +7 -7
  160. package/dist/actions/create-moderation.mjs.map +1 -1
  161. package/dist/actions/create-realtime-call.cjs +1 -1
  162. package/dist/actions/create-realtime-call.cjs.map +1 -1
  163. package/dist/actions/create-realtime-call.d.cts +1 -1
  164. package/dist/actions/create-realtime-call.d.mts +1 -1
  165. package/dist/actions/create-realtime-call.mjs +1 -1
  166. package/dist/actions/create-realtime-call.mjs.map +1 -1
  167. package/dist/actions/create-realtime-client-secret.cjs +3 -3
  168. package/dist/actions/create-realtime-client-secret.cjs.map +1 -1
  169. package/dist/actions/create-realtime-client-secret.d.cts +5 -3
  170. package/dist/actions/create-realtime-client-secret.d.mts +5 -3
  171. package/dist/actions/create-realtime-client-secret.mjs +3 -3
  172. package/dist/actions/create-realtime-client-secret.mjs.map +1 -1
  173. package/dist/actions/create-realtime-session.cjs +6 -6
  174. package/dist/actions/create-realtime-session.cjs.map +1 -1
  175. package/dist/actions/create-realtime-session.d.cts +10 -6
  176. package/dist/actions/create-realtime-session.d.mts +10 -6
  177. package/dist/actions/create-realtime-session.mjs +6 -6
  178. package/dist/actions/create-realtime-session.mjs.map +1 -1
  179. package/dist/actions/create-realtime-transcription-session.cjs +4 -4
  180. package/dist/actions/create-realtime-transcription-session.cjs.map +1 -1
  181. package/dist/actions/create-realtime-transcription-session.d.cts +4 -4
  182. package/dist/actions/create-realtime-transcription-session.d.mts +4 -4
  183. package/dist/actions/create-realtime-transcription-session.mjs +4 -4
  184. package/dist/actions/create-realtime-transcription-session.mjs.map +1 -1
  185. package/dist/actions/create-response.cjs +15 -15
  186. package/dist/actions/create-response.cjs.map +1 -1
  187. package/dist/actions/create-response.d.cts +28 -18
  188. package/dist/actions/create-response.d.mts +28 -18
  189. package/dist/actions/create-response.mjs +15 -15
  190. package/dist/actions/create-response.mjs.map +1 -1
  191. package/dist/actions/create-run.cjs +24 -24
  192. package/dist/actions/create-run.cjs.map +1 -1
  193. package/dist/actions/create-run.d.cts +36 -31
  194. package/dist/actions/create-run.d.mts +36 -31
  195. package/dist/actions/create-run.mjs +24 -24
  196. package/dist/actions/create-run.mjs.map +1 -1
  197. package/dist/actions/create-skill.cjs +3 -3
  198. package/dist/actions/create-skill.cjs.map +1 -1
  199. package/dist/actions/create-skill.d.cts +5 -3
  200. package/dist/actions/create-skill.d.mts +5 -3
  201. package/dist/actions/create-skill.mjs +3 -3
  202. package/dist/actions/create-skill.mjs.map +1 -1
  203. package/dist/actions/create-speech.cjs +2 -2
  204. package/dist/actions/create-speech.cjs.map +1 -1
  205. package/dist/actions/create-speech.d.cts +2 -2
  206. package/dist/actions/create-speech.d.mts +2 -2
  207. package/dist/actions/create-speech.mjs +2 -2
  208. package/dist/actions/create-speech.mjs.map +1 -1
  209. package/dist/actions/create-thread-and-run.cjs +29 -29
  210. package/dist/actions/create-thread-and-run.cjs.map +1 -1
  211. package/dist/actions/create-thread-and-run.d.cts +46 -39
  212. package/dist/actions/create-thread-and-run.d.mts +46 -39
  213. package/dist/actions/create-thread-and-run.mjs +29 -29
  214. package/dist/actions/create-thread-and-run.mjs.map +1 -1
  215. package/dist/actions/create-thread.cjs +5 -5
  216. package/dist/actions/create-thread.cjs.map +1 -1
  217. package/dist/actions/create-thread.d.cts +7 -6
  218. package/dist/actions/create-thread.d.cts.map +1 -1
  219. package/dist/actions/create-thread.d.mts +7 -6
  220. package/dist/actions/create-thread.d.mts.map +1 -1
  221. package/dist/actions/create-thread.mjs +5 -5
  222. package/dist/actions/create-thread.mjs.map +1 -1
  223. package/dist/actions/create-upload.cjs +2 -2
  224. package/dist/actions/create-upload.cjs.map +1 -1
  225. package/dist/actions/create-upload.d.cts +3 -3
  226. package/dist/actions/create-upload.d.mts +3 -3
  227. package/dist/actions/create-upload.mjs +2 -2
  228. package/dist/actions/create-upload.mjs.map +1 -1
  229. package/dist/actions/create-vector-store-file-batch.cjs +11 -11
  230. package/dist/actions/create-vector-store-file-batch.cjs.map +1 -1
  231. package/dist/actions/create-vector-store-file-batch.d.cts +21 -14
  232. package/dist/actions/create-vector-store-file-batch.d.cts.map +1 -1
  233. package/dist/actions/create-vector-store-file-batch.d.mts +21 -14
  234. package/dist/actions/create-vector-store-file-batch.d.mts.map +1 -1
  235. package/dist/actions/create-vector-store-file-batch.mjs +11 -11
  236. package/dist/actions/create-vector-store-file-batch.mjs.map +1 -1
  237. package/dist/actions/create-vector-store-file.cjs +7 -7
  238. package/dist/actions/create-vector-store-file.cjs.map +1 -1
  239. package/dist/actions/create-vector-store-file.d.cts +11 -8
  240. package/dist/actions/create-vector-store-file.d.mts +11 -8
  241. package/dist/actions/create-vector-store-file.mjs +7 -7
  242. package/dist/actions/create-vector-store-file.mjs.map +1 -1
  243. package/dist/actions/create-vector-store.cjs +8 -8
  244. package/dist/actions/create-vector-store.cjs.map +1 -1
  245. package/dist/actions/create-vector-store.d.cts +12 -9
  246. package/dist/actions/create-vector-store.d.mts +12 -9
  247. package/dist/actions/create-vector-store.mjs +8 -8
  248. package/dist/actions/create-vector-store.mjs.map +1 -1
  249. package/dist/actions/create-video-remix.cjs +2 -2
  250. package/dist/actions/create-video-remix.cjs.map +1 -1
  251. package/dist/actions/create-video-remix.d.cts +3 -3
  252. package/dist/actions/create-video-remix.d.mts +3 -3
  253. package/dist/actions/create-video-remix.mjs +2 -2
  254. package/dist/actions/create-video-remix.mjs.map +1 -1
  255. package/dist/actions/create-video.cjs +2 -2
  256. package/dist/actions/create-video.cjs.map +1 -1
  257. package/dist/actions/create-video.d.cts +2 -2
  258. package/dist/actions/create-video.d.mts +2 -2
  259. package/dist/actions/create-video.mjs +2 -2
  260. package/dist/actions/create-video.mjs.map +1 -1
  261. package/dist/actions/delete-assistant.cjs +1 -1
  262. package/dist/actions/delete-assistant.cjs.map +1 -1
  263. package/dist/actions/delete-assistant.d.cts +1 -1
  264. package/dist/actions/delete-assistant.d.mts +1 -1
  265. package/dist/actions/delete-assistant.mjs +1 -1
  266. package/dist/actions/delete-assistant.mjs.map +1 -1
  267. package/dist/actions/delete-chat-completion.cjs +1 -1
  268. package/dist/actions/delete-chat-completion.cjs.map +1 -1
  269. package/dist/actions/delete-chat-completion.d.cts +1 -1
  270. package/dist/actions/delete-chat-completion.d.mts +1 -1
  271. package/dist/actions/delete-chat-completion.mjs +1 -1
  272. package/dist/actions/delete-chat-completion.mjs.map +1 -1
  273. package/dist/actions/delete-container-file.cjs +1 -1
  274. package/dist/actions/delete-container-file.cjs.map +1 -1
  275. package/dist/actions/delete-container-file.d.cts +1 -1
  276. package/dist/actions/delete-container-file.d.mts +1 -1
  277. package/dist/actions/delete-container-file.mjs +1 -1
  278. package/dist/actions/delete-container-file.mjs.map +1 -1
  279. package/dist/actions/delete-container.cjs +1 -1
  280. package/dist/actions/delete-container.cjs.map +1 -1
  281. package/dist/actions/delete-container.d.cts +1 -1
  282. package/dist/actions/delete-container.d.mts +1 -1
  283. package/dist/actions/delete-container.mjs +1 -1
  284. package/dist/actions/delete-container.mjs.map +1 -1
  285. package/dist/actions/delete-conversation-item.cjs +1 -1
  286. package/dist/actions/delete-conversation-item.cjs.map +1 -1
  287. package/dist/actions/delete-conversation-item.d.cts +1 -1
  288. package/dist/actions/delete-conversation-item.d.mts +1 -1
  289. package/dist/actions/delete-conversation-item.mjs +1 -1
  290. package/dist/actions/delete-conversation-item.mjs.map +1 -1
  291. package/dist/actions/delete-conversation.cjs +1 -1
  292. package/dist/actions/delete-conversation.cjs.map +1 -1
  293. package/dist/actions/delete-conversation.d.cts +1 -1
  294. package/dist/actions/delete-conversation.d.mts +1 -1
  295. package/dist/actions/delete-conversation.mjs +1 -1
  296. package/dist/actions/delete-conversation.mjs.map +1 -1
  297. package/dist/actions/delete-eval-run.cjs +1 -1
  298. package/dist/actions/delete-eval-run.cjs.map +1 -1
  299. package/dist/actions/delete-eval-run.d.cts +1 -1
  300. package/dist/actions/delete-eval-run.d.mts +1 -1
  301. package/dist/actions/delete-eval-run.mjs +1 -1
  302. package/dist/actions/delete-eval-run.mjs.map +1 -1
  303. package/dist/actions/delete-eval.cjs +1 -1
  304. package/dist/actions/delete-eval.cjs.map +1 -1
  305. package/dist/actions/delete-eval.d.cts +1 -1
  306. package/dist/actions/delete-eval.d.mts +1 -1
  307. package/dist/actions/delete-eval.mjs +1 -1
  308. package/dist/actions/delete-eval.mjs.map +1 -1
  309. package/dist/actions/delete-file.cjs +1 -1
  310. package/dist/actions/delete-file.cjs.map +1 -1
  311. package/dist/actions/delete-file.d.cts +1 -1
  312. package/dist/actions/delete-file.d.mts +1 -1
  313. package/dist/actions/delete-file.mjs +1 -1
  314. package/dist/actions/delete-file.mjs.map +1 -1
  315. package/dist/actions/delete-message.cjs +1 -1
  316. package/dist/actions/delete-message.cjs.map +1 -1
  317. package/dist/actions/delete-message.d.cts +1 -1
  318. package/dist/actions/delete-message.d.mts +1 -1
  319. package/dist/actions/delete-message.mjs +1 -1
  320. package/dist/actions/delete-message.mjs.map +1 -1
  321. package/dist/actions/delete-response.cjs +1 -1
  322. package/dist/actions/delete-response.cjs.map +1 -1
  323. package/dist/actions/delete-response.d.cts +1 -1
  324. package/dist/actions/delete-response.d.mts +1 -1
  325. package/dist/actions/delete-response.mjs +1 -1
  326. package/dist/actions/delete-response.mjs.map +1 -1
  327. package/dist/actions/delete-skill.cjs +1 -1
  328. package/dist/actions/delete-skill.cjs.map +1 -1
  329. package/dist/actions/delete-skill.d.cts +1 -1
  330. package/dist/actions/delete-skill.d.mts +1 -1
  331. package/dist/actions/delete-skill.mjs +1 -1
  332. package/dist/actions/delete-skill.mjs.map +1 -1
  333. package/dist/actions/delete-thread.cjs +1 -1
  334. package/dist/actions/delete-thread.cjs.map +1 -1
  335. package/dist/actions/delete-thread.d.cts +1 -1
  336. package/dist/actions/delete-thread.d.mts +1 -1
  337. package/dist/actions/delete-thread.mjs +1 -1
  338. package/dist/actions/delete-thread.mjs.map +1 -1
  339. package/dist/actions/delete-vector-store-file.cjs +1 -1
  340. package/dist/actions/delete-vector-store-file.cjs.map +1 -1
  341. package/dist/actions/delete-vector-store-file.d.cts +1 -1
  342. package/dist/actions/delete-vector-store-file.d.mts +1 -1
  343. package/dist/actions/delete-vector-store-file.mjs +1 -1
  344. package/dist/actions/delete-vector-store-file.mjs.map +1 -1
  345. package/dist/actions/delete-vector-store.cjs +1 -1
  346. package/dist/actions/delete-vector-store.cjs.map +1 -1
  347. package/dist/actions/delete-vector-store.d.cts +1 -1
  348. package/dist/actions/delete-vector-store.d.mts +1 -1
  349. package/dist/actions/delete-vector-store.mjs +1 -1
  350. package/dist/actions/delete-vector-store.mjs.map +1 -1
  351. package/dist/actions/delete-video.cjs +1 -1
  352. package/dist/actions/delete-video.cjs.map +1 -1
  353. package/dist/actions/delete-video.d.cts +1 -1
  354. package/dist/actions/delete-video.d.mts +1 -1
  355. package/dist/actions/delete-video.mjs +1 -1
  356. package/dist/actions/delete-video.mjs.map +1 -1
  357. package/dist/actions/download-file.cjs +2 -2
  358. package/dist/actions/download-file.cjs.map +1 -1
  359. package/dist/actions/download-file.d.cts +2 -2
  360. package/dist/actions/download-file.d.mts +2 -2
  361. package/dist/actions/download-file.mjs +2 -2
  362. package/dist/actions/download-file.mjs.map +1 -1
  363. package/dist/actions/download-video.cjs +2 -2
  364. package/dist/actions/download-video.cjs.map +1 -1
  365. package/dist/actions/download-video.d.cts +2 -2
  366. package/dist/actions/download-video.d.mts +2 -2
  367. package/dist/actions/download-video.mjs +2 -2
  368. package/dist/actions/download-video.mjs.map +1 -1
  369. package/dist/actions/get-chat-completion-messages.cjs +2 -2
  370. package/dist/actions/get-chat-completion-messages.cjs.map +1 -1
  371. package/dist/actions/get-chat-completion-messages.d.cts +2 -2
  372. package/dist/actions/get-chat-completion-messages.d.mts +2 -2
  373. package/dist/actions/get-chat-completion-messages.mjs +2 -2
  374. package/dist/actions/get-chat-completion-messages.mjs.map +1 -1
  375. package/dist/actions/get-chat-completion.cjs +7 -7
  376. package/dist/actions/get-chat-completion.cjs.map +1 -1
  377. package/dist/actions/get-chat-completion.d.cts +7 -7
  378. package/dist/actions/get-chat-completion.d.mts +7 -7
  379. package/dist/actions/get-chat-completion.mjs +7 -7
  380. package/dist/actions/get-chat-completion.mjs.map +1 -1
  381. package/dist/actions/get-chatkit-thread.cjs +4 -4
  382. package/dist/actions/get-chatkit-thread.cjs.map +1 -1
  383. package/dist/actions/get-chatkit-thread.d.cts +4 -4
  384. package/dist/actions/get-chatkit-thread.d.mts +4 -4
  385. package/dist/actions/get-chatkit-thread.mjs +4 -4
  386. package/dist/actions/get-chatkit-thread.mjs.map +1 -1
  387. package/dist/actions/get-conversation-item.cjs +1 -1
  388. package/dist/actions/get-conversation-item.cjs.map +1 -1
  389. package/dist/actions/get-conversation-item.d.cts +1 -1
  390. package/dist/actions/get-conversation-item.d.mts +1 -1
  391. package/dist/actions/get-conversation-item.mjs +1 -1
  392. package/dist/actions/get-conversation-item.mjs.map +1 -1
  393. package/dist/actions/get-eval-run-output-item.cjs +5 -5
  394. package/dist/actions/get-eval-run-output-item.cjs.map +1 -1
  395. package/dist/actions/get-eval-run-output-item.d.cts +5 -5
  396. package/dist/actions/get-eval-run-output-item.d.mts +5 -5
  397. package/dist/actions/get-eval-run-output-item.mjs +5 -5
  398. package/dist/actions/get-eval-run-output-item.mjs.map +1 -1
  399. package/dist/actions/get-eval-run-output-items.cjs +6 -6
  400. package/dist/actions/get-eval-run-output-items.cjs.map +1 -1
  401. package/dist/actions/get-eval-run-output-items.d.cts +7 -7
  402. package/dist/actions/get-eval-run-output-items.d.mts +7 -7
  403. package/dist/actions/get-eval-run-output-items.mjs +6 -6
  404. package/dist/actions/get-eval-run-output-items.mjs.map +1 -1
  405. package/dist/actions/get-eval-run.cjs +10 -10
  406. package/dist/actions/get-eval-run.cjs.map +1 -1
  407. package/dist/actions/get-eval-run.d.cts +14 -14
  408. package/dist/actions/get-eval-run.d.mts +14 -14
  409. package/dist/actions/get-eval-run.mjs +10 -10
  410. package/dist/actions/get-eval-run.mjs.map +1 -1
  411. package/dist/actions/get-eval-runs.cjs +6 -6
  412. package/dist/actions/get-eval-runs.cjs.map +1 -1
  413. package/dist/actions/get-eval-runs.d.cts +8 -8
  414. package/dist/actions/get-eval-runs.d.mts +8 -8
  415. package/dist/actions/get-eval-runs.mjs +6 -6
  416. package/dist/actions/get-eval-runs.mjs.map +1 -1
  417. package/dist/actions/get-eval.cjs +1 -1
  418. package/dist/actions/get-eval.cjs.map +1 -1
  419. package/dist/actions/get-eval.d.cts +1 -1
  420. package/dist/actions/get-eval.d.mts +1 -1
  421. package/dist/actions/get-eval.mjs +1 -1
  422. package/dist/actions/get-eval.mjs.map +1 -1
  423. package/dist/actions/get-input-token-counts.cjs +1 -1
  424. package/dist/actions/get-input-token-counts.cjs.map +1 -1
  425. package/dist/actions/get-input-token-counts.d.cts +3 -3
  426. package/dist/actions/get-input-token-counts.d.mts +3 -3
  427. package/dist/actions/get-input-token-counts.mjs +1 -1
  428. package/dist/actions/get-input-token-counts.mjs.map +1 -1
  429. package/dist/actions/get-message.cjs +9 -9
  430. package/dist/actions/get-message.cjs.map +1 -1
  431. package/dist/actions/get-message.d.cts +9 -9
  432. package/dist/actions/get-message.d.mts +9 -9
  433. package/dist/actions/get-message.mjs +9 -9
  434. package/dist/actions/get-message.mjs.map +1 -1
  435. package/dist/actions/get-response.cjs +9 -9
  436. package/dist/actions/get-response.cjs.map +1 -1
  437. package/dist/actions/get-response.d.cts +9 -9
  438. package/dist/actions/get-response.d.mts +9 -9
  439. package/dist/actions/get-response.mjs +9 -9
  440. package/dist/actions/get-response.mjs.map +1 -1
  441. package/dist/actions/get-run-step.cjs +15 -15
  442. package/dist/actions/get-run-step.cjs.map +1 -1
  443. package/dist/actions/get-run-step.d.cts +16 -16
  444. package/dist/actions/get-run-step.d.mts +16 -16
  445. package/dist/actions/get-run-step.mjs +15 -15
  446. package/dist/actions/get-run-step.mjs.map +1 -1
  447. package/dist/actions/get-vector-store-file-batch.cjs +2 -2
  448. package/dist/actions/get-vector-store-file-batch.cjs.map +1 -1
  449. package/dist/actions/get-vector-store-file-batch.d.cts +3 -3
  450. package/dist/actions/get-vector-store-file-batch.d.mts +3 -3
  451. package/dist/actions/get-vector-store-file-batch.mjs +2 -2
  452. package/dist/actions/get-vector-store-file-batch.mjs.map +1 -1
  453. package/dist/actions/get-vector-store-file.cjs +4 -4
  454. package/dist/actions/get-vector-store-file.cjs.map +1 -1
  455. package/dist/actions/get-vector-store-file.d.cts +5 -5
  456. package/dist/actions/get-vector-store-file.d.mts +5 -5
  457. package/dist/actions/get-vector-store-file.mjs +4 -4
  458. package/dist/actions/get-vector-store-file.mjs.map +1 -1
  459. package/dist/actions/get-vector-store.cjs +4 -4
  460. package/dist/actions/get-vector-store.cjs.map +1 -1
  461. package/dist/actions/get-vector-store.d.cts +4 -4
  462. package/dist/actions/get-vector-store.d.mts +4 -4
  463. package/dist/actions/get-vector-store.mjs +4 -4
  464. package/dist/actions/get-vector-store.mjs.map +1 -1
  465. package/dist/actions/get-video.cjs +2 -2
  466. package/dist/actions/get-video.cjs.map +1 -1
  467. package/dist/actions/get-video.d.cts +3 -3
  468. package/dist/actions/get-video.d.mts +3 -3
  469. package/dist/actions/get-video.mjs +2 -2
  470. package/dist/actions/get-video.mjs.map +1 -1
  471. package/dist/actions/list-assistants.cjs +16 -16
  472. package/dist/actions/list-assistants.cjs.map +1 -1
  473. package/dist/actions/list-assistants.d.cts +16 -16
  474. package/dist/actions/list-assistants.d.mts +16 -16
  475. package/dist/actions/list-assistants.mjs +16 -16
  476. package/dist/actions/list-assistants.mjs.map +1 -1
  477. package/dist/actions/list-batches.cjs +8 -8
  478. package/dist/actions/list-batches.cjs.map +1 -1
  479. package/dist/actions/list-batches.d.cts +12 -12
  480. package/dist/actions/list-batches.d.mts +12 -12
  481. package/dist/actions/list-batches.mjs +8 -8
  482. package/dist/actions/list-batches.mjs.map +1 -1
  483. package/dist/actions/list-chat-completions.cjs +4 -4
  484. package/dist/actions/list-chat-completions.cjs.map +1 -1
  485. package/dist/actions/list-chat-completions.d.cts +4 -4
  486. package/dist/actions/list-chat-completions.d.mts +4 -4
  487. package/dist/actions/list-chat-completions.mjs +4 -4
  488. package/dist/actions/list-chat-completions.mjs.map +1 -1
  489. package/dist/actions/list-chatkit-thread-items.cjs +2 -2
  490. package/dist/actions/list-chatkit-thread-items.cjs.map +1 -1
  491. package/dist/actions/list-chatkit-thread-items.d.cts +2 -2
  492. package/dist/actions/list-chatkit-thread-items.d.mts +2 -2
  493. package/dist/actions/list-chatkit-thread-items.mjs +2 -2
  494. package/dist/actions/list-chatkit-thread-items.mjs.map +1 -1
  495. package/dist/actions/list-container-files.cjs +2 -2
  496. package/dist/actions/list-container-files.cjs.map +1 -1
  497. package/dist/actions/list-container-files.d.cts +2 -2
  498. package/dist/actions/list-container-files.d.mts +2 -2
  499. package/dist/actions/list-container-files.mjs +2 -2
  500. package/dist/actions/list-container-files.mjs.map +1 -1
  501. package/dist/actions/list-containers.cjs +4 -4
  502. package/dist/actions/list-containers.cjs.map +1 -1
  503. package/dist/actions/list-containers.d.cts +4 -4
  504. package/dist/actions/list-containers.d.mts +4 -4
  505. package/dist/actions/list-containers.mjs +4 -4
  506. package/dist/actions/list-containers.mjs.map +1 -1
  507. package/dist/actions/list-conversation-items.cjs +2 -2
  508. package/dist/actions/list-conversation-items.cjs.map +1 -1
  509. package/dist/actions/list-conversation-items.d.cts +2 -2
  510. package/dist/actions/list-conversation-items.d.mts +2 -2
  511. package/dist/actions/list-conversation-items.mjs +2 -2
  512. package/dist/actions/list-conversation-items.mjs.map +1 -1
  513. package/dist/actions/list-engines.cjs +2 -2
  514. package/dist/actions/list-engines.cjs.map +1 -1
  515. package/dist/actions/list-engines.d.cts +2 -2
  516. package/dist/actions/list-engines.d.mts +2 -2
  517. package/dist/actions/list-engines.mjs +2 -2
  518. package/dist/actions/list-engines.mjs.map +1 -1
  519. package/dist/actions/list-evals.cjs +14 -14
  520. package/dist/actions/list-evals.cjs.map +1 -1
  521. package/dist/actions/list-evals.d.cts +15 -15
  522. package/dist/actions/list-evals.d.mts +15 -15
  523. package/dist/actions/list-evals.mjs +14 -14
  524. package/dist/actions/list-evals.mjs.map +1 -1
  525. package/dist/actions/list-files-in-vector-store-batch.cjs +5 -5
  526. package/dist/actions/list-files-in-vector-store-batch.cjs.map +1 -1
  527. package/dist/actions/list-files-in-vector-store-batch.d.cts +8 -8
  528. package/dist/actions/list-files-in-vector-store-batch.d.mts +8 -8
  529. package/dist/actions/list-files-in-vector-store-batch.mjs +5 -5
  530. package/dist/actions/list-files-in-vector-store-batch.mjs.map +1 -1
  531. package/dist/actions/list-files.cjs +2 -2
  532. package/dist/actions/list-files.cjs.map +1 -1
  533. package/dist/actions/list-files.d.cts +2 -2
  534. package/dist/actions/list-files.d.mts +2 -2
  535. package/dist/actions/list-files.mjs +2 -2
  536. package/dist/actions/list-files.mjs.map +1 -1
  537. package/dist/actions/list-fine-tunes.cjs +5 -5
  538. package/dist/actions/list-fine-tunes.cjs.map +1 -1
  539. package/dist/actions/list-fine-tunes.d.cts +7 -7
  540. package/dist/actions/list-fine-tunes.d.mts +7 -7
  541. package/dist/actions/list-fine-tunes.mjs +5 -5
  542. package/dist/actions/list-fine-tunes.mjs.map +1 -1
  543. package/dist/actions/list-fine-tuning-events.cjs +2 -2
  544. package/dist/actions/list-fine-tuning-events.cjs.map +1 -1
  545. package/dist/actions/list-fine-tuning-events.d.cts +2 -2
  546. package/dist/actions/list-fine-tuning-events.d.mts +2 -2
  547. package/dist/actions/list-fine-tuning-events.mjs +2 -2
  548. package/dist/actions/list-fine-tuning-events.mjs.map +1 -1
  549. package/dist/actions/list-fine-tuning-job-checkpoints.cjs +3 -3
  550. package/dist/actions/list-fine-tuning-job-checkpoints.cjs.map +1 -1
  551. package/dist/actions/list-fine-tuning-job-checkpoints.d.cts +3 -3
  552. package/dist/actions/list-fine-tuning-job-checkpoints.d.mts +3 -3
  553. package/dist/actions/list-fine-tuning-job-checkpoints.mjs +3 -3
  554. package/dist/actions/list-fine-tuning-job-checkpoints.mjs.map +1 -1
  555. package/dist/actions/list-input-items.cjs +2 -2
  556. package/dist/actions/list-input-items.cjs.map +1 -1
  557. package/dist/actions/list-input-items.d.cts +2 -2
  558. package/dist/actions/list-input-items.d.mts +2 -2
  559. package/dist/actions/list-input-items.mjs +2 -2
  560. package/dist/actions/list-input-items.mjs.map +1 -1
  561. package/dist/actions/list-messages.cjs +10 -10
  562. package/dist/actions/list-messages.cjs.map +1 -1
  563. package/dist/actions/list-messages.d.cts +10 -10
  564. package/dist/actions/list-messages.d.mts +10 -10
  565. package/dist/actions/list-messages.mjs +10 -10
  566. package/dist/actions/list-messages.mjs.map +1 -1
  567. package/dist/actions/list-models.cjs +3 -3
  568. package/dist/actions/list-models.cjs.map +1 -1
  569. package/dist/actions/list-models.d.cts +3 -3
  570. package/dist/actions/list-models.d.mts +3 -3
  571. package/dist/actions/list-models.mjs +3 -3
  572. package/dist/actions/list-models.mjs.map +1 -1
  573. package/dist/actions/list-run-steps.cjs +16 -16
  574. package/dist/actions/list-run-steps.cjs.map +1 -1
  575. package/dist/actions/list-run-steps.d.cts +17 -17
  576. package/dist/actions/list-run-steps.d.mts +17 -17
  577. package/dist/actions/list-run-steps.mjs +16 -16
  578. package/dist/actions/list-run-steps.mjs.map +1 -1
  579. package/dist/actions/list-runs.cjs +8 -8
  580. package/dist/actions/list-runs.cjs.map +1 -1
  581. package/dist/actions/list-runs.d.cts +12 -12
  582. package/dist/actions/list-runs.d.mts +12 -12
  583. package/dist/actions/list-runs.mjs +8 -8
  584. package/dist/actions/list-runs.mjs.map +1 -1
  585. package/dist/actions/list-skills.cjs +2 -2
  586. package/dist/actions/list-skills.cjs.map +1 -1
  587. package/dist/actions/list-skills.d.cts +2 -2
  588. package/dist/actions/list-skills.d.mts +2 -2
  589. package/dist/actions/list-skills.mjs +2 -2
  590. package/dist/actions/list-skills.mjs.map +1 -1
  591. package/dist/actions/list-threads.cjs +4 -4
  592. package/dist/actions/list-threads.cjs.map +1 -1
  593. package/dist/actions/list-threads.d.cts +4 -4
  594. package/dist/actions/list-threads.d.mts +4 -4
  595. package/dist/actions/list-threads.mjs +4 -4
  596. package/dist/actions/list-threads.mjs.map +1 -1
  597. package/dist/actions/list-vector-store-files.cjs +3 -3
  598. package/dist/actions/list-vector-store-files.cjs.map +1 -1
  599. package/dist/actions/list-vector-store-files.d.cts +6 -6
  600. package/dist/actions/list-vector-store-files.d.mts +6 -6
  601. package/dist/actions/list-vector-store-files.mjs +3 -3
  602. package/dist/actions/list-vector-store-files.mjs.map +1 -1
  603. package/dist/actions/list-vector-stores.cjs +5 -5
  604. package/dist/actions/list-vector-stores.cjs.map +1 -1
  605. package/dist/actions/list-vector-stores.d.cts +5 -5
  606. package/dist/actions/list-vector-stores.d.mts +5 -5
  607. package/dist/actions/list-vector-stores.mjs +5 -5
  608. package/dist/actions/list-vector-stores.mjs.map +1 -1
  609. package/dist/actions/list-videos.cjs +3 -3
  610. package/dist/actions/list-videos.cjs.map +1 -1
  611. package/dist/actions/list-videos.d.cts +4 -4
  612. package/dist/actions/list-videos.d.mts +4 -4
  613. package/dist/actions/list-videos.mjs +3 -3
  614. package/dist/actions/list-videos.mjs.map +1 -1
  615. package/dist/actions/modify-assistant.cjs +3 -3
  616. package/dist/actions/modify-assistant.cjs.map +1 -1
  617. package/dist/actions/modify-assistant.d.cts +4 -4
  618. package/dist/actions/modify-assistant.d.mts +4 -4
  619. package/dist/actions/modify-assistant.mjs +3 -3
  620. package/dist/actions/modify-assistant.mjs.map +1 -1
  621. package/dist/actions/modify-message.cjs +9 -9
  622. package/dist/actions/modify-message.cjs.map +1 -1
  623. package/dist/actions/modify-message.d.cts +10 -10
  624. package/dist/actions/modify-message.d.mts +10 -10
  625. package/dist/actions/modify-message.mjs +9 -9
  626. package/dist/actions/modify-message.mjs.map +1 -1
  627. package/dist/actions/modify-run.cjs +8 -8
  628. package/dist/actions/modify-run.cjs.map +1 -1
  629. package/dist/actions/modify-run.d.cts +13 -13
  630. package/dist/actions/modify-run.d.mts +13 -13
  631. package/dist/actions/modify-run.mjs +8 -8
  632. package/dist/actions/modify-run.mjs.map +1 -1
  633. package/dist/actions/modify-thread.cjs +3 -3
  634. package/dist/actions/modify-thread.cjs.map +1 -1
  635. package/dist/actions/modify-thread.d.cts +4 -4
  636. package/dist/actions/modify-thread.d.mts +4 -4
  637. package/dist/actions/modify-thread.mjs +3 -3
  638. package/dist/actions/modify-thread.mjs.map +1 -1
  639. package/dist/actions/modify-vector-store.cjs +5 -5
  640. package/dist/actions/modify-vector-store.cjs.map +1 -1
  641. package/dist/actions/modify-vector-store.d.cts +6 -6
  642. package/dist/actions/modify-vector-store.d.mts +6 -6
  643. package/dist/actions/modify-vector-store.mjs +5 -5
  644. package/dist/actions/modify-vector-store.mjs.map +1 -1
  645. package/dist/actions/retrieve-assistant.cjs +3 -3
  646. package/dist/actions/retrieve-assistant.cjs.map +1 -1
  647. package/dist/actions/retrieve-assistant.d.cts +3 -3
  648. package/dist/actions/retrieve-assistant.d.mts +3 -3
  649. package/dist/actions/retrieve-assistant.mjs +3 -3
  650. package/dist/actions/retrieve-assistant.mjs.map +1 -1
  651. package/dist/actions/retrieve-batch.cjs +6 -6
  652. package/dist/actions/retrieve-batch.cjs.map +1 -1
  653. package/dist/actions/retrieve-batch.d.cts +10 -10
  654. package/dist/actions/retrieve-batch.d.mts +10 -10
  655. package/dist/actions/retrieve-batch.mjs +6 -6
  656. package/dist/actions/retrieve-batch.mjs.map +1 -1
  657. package/dist/actions/retrieve-container-file-content.cjs +2 -2
  658. package/dist/actions/retrieve-container-file-content.cjs.map +1 -1
  659. package/dist/actions/retrieve-container-file-content.d.cts +2 -2
  660. package/dist/actions/retrieve-container-file-content.d.mts +2 -2
  661. package/dist/actions/retrieve-container-file-content.mjs +2 -2
  662. package/dist/actions/retrieve-container-file-content.mjs.map +1 -1
  663. package/dist/actions/retrieve-container-file.cjs +1 -1
  664. package/dist/actions/retrieve-container-file.cjs.map +1 -1
  665. package/dist/actions/retrieve-container-file.d.cts +1 -1
  666. package/dist/actions/retrieve-container-file.d.mts +1 -1
  667. package/dist/actions/retrieve-container-file.mjs +1 -1
  668. package/dist/actions/retrieve-container-file.mjs.map +1 -1
  669. package/dist/actions/retrieve-container.cjs +3 -3
  670. package/dist/actions/retrieve-container.cjs.map +1 -1
  671. package/dist/actions/retrieve-container.d.cts +3 -3
  672. package/dist/actions/retrieve-container.d.mts +3 -3
  673. package/dist/actions/retrieve-container.mjs +3 -3
  674. package/dist/actions/retrieve-container.mjs.map +1 -1
  675. package/dist/actions/retrieve-engine.cjs +1 -1
  676. package/dist/actions/retrieve-engine.cjs.map +1 -1
  677. package/dist/actions/retrieve-engine.d.cts +1 -1
  678. package/dist/actions/retrieve-engine.d.mts +1 -1
  679. package/dist/actions/retrieve-engine.mjs +1 -1
  680. package/dist/actions/retrieve-engine.mjs.map +1 -1
  681. package/dist/actions/retrieve-file.cjs +1 -1
  682. package/dist/actions/retrieve-file.cjs.map +1 -1
  683. package/dist/actions/retrieve-file.d.cts +1 -1
  684. package/dist/actions/retrieve-file.d.mts +1 -1
  685. package/dist/actions/retrieve-file.mjs +1 -1
  686. package/dist/actions/retrieve-file.mjs.map +1 -1
  687. package/dist/actions/retrieve-fine-tuning-job.cjs +4 -4
  688. package/dist/actions/retrieve-fine-tuning-job.cjs.map +1 -1
  689. package/dist/actions/retrieve-fine-tuning-job.d.cts +5 -5
  690. package/dist/actions/retrieve-fine-tuning-job.d.mts +5 -5
  691. package/dist/actions/retrieve-fine-tuning-job.mjs +4 -4
  692. package/dist/actions/retrieve-fine-tuning-job.mjs.map +1 -1
  693. package/dist/actions/retrieve-model.cjs +2 -2
  694. package/dist/actions/retrieve-model.cjs.map +1 -1
  695. package/dist/actions/retrieve-model.d.cts +2 -2
  696. package/dist/actions/retrieve-model.d.mts +2 -2
  697. package/dist/actions/retrieve-model.mjs +2 -2
  698. package/dist/actions/retrieve-model.mjs.map +1 -1
  699. package/dist/actions/retrieve-run.cjs +7 -7
  700. package/dist/actions/retrieve-run.cjs.map +1 -1
  701. package/dist/actions/retrieve-run.d.cts +11 -11
  702. package/dist/actions/retrieve-run.d.mts +11 -11
  703. package/dist/actions/retrieve-run.mjs +7 -7
  704. package/dist/actions/retrieve-run.mjs.map +1 -1
  705. package/dist/actions/retrieve-thread.cjs +2 -2
  706. package/dist/actions/retrieve-thread.cjs.map +1 -1
  707. package/dist/actions/retrieve-thread.d.cts +2 -2
  708. package/dist/actions/retrieve-thread.d.mts +2 -2
  709. package/dist/actions/retrieve-thread.mjs +2 -2
  710. package/dist/actions/retrieve-thread.mjs.map +1 -1
  711. package/dist/actions/retrieve-vector-store-file-content.cjs +2 -2
  712. package/dist/actions/retrieve-vector-store-file-content.cjs.map +1 -1
  713. package/dist/actions/retrieve-vector-store-file-content.d.cts +2 -2
  714. package/dist/actions/retrieve-vector-store-file-content.d.mts +2 -2
  715. package/dist/actions/retrieve-vector-store-file-content.mjs +2 -2
  716. package/dist/actions/retrieve-vector-store-file-content.mjs.map +1 -1
  717. package/dist/actions/run-grader.cjs +8 -8
  718. package/dist/actions/run-grader.cjs.map +1 -1
  719. package/dist/actions/run-grader.d.cts +13 -8
  720. package/dist/actions/run-grader.d.mts +13 -8
  721. package/dist/actions/run-grader.mjs +8 -8
  722. package/dist/actions/run-grader.mjs.map +1 -1
  723. package/dist/actions/search-vector-store.cjs +3 -3
  724. package/dist/actions/search-vector-store.cjs.map +1 -1
  725. package/dist/actions/search-vector-store.d.cts +3 -3
  726. package/dist/actions/search-vector-store.d.mts +3 -3
  727. package/dist/actions/search-vector-store.mjs +3 -3
  728. package/dist/actions/search-vector-store.mjs.map +1 -1
  729. package/dist/actions/submit-tool-outputs-to-run.cjs +8 -8
  730. package/dist/actions/submit-tool-outputs-to-run.cjs.map +1 -1
  731. package/dist/actions/submit-tool-outputs-to-run.d.cts +13 -12
  732. package/dist/actions/submit-tool-outputs-to-run.d.mts +13 -12
  733. package/dist/actions/submit-tool-outputs-to-run.mjs +8 -8
  734. package/dist/actions/submit-tool-outputs-to-run.mjs.map +1 -1
  735. package/dist/actions/update-chat-completion.cjs +8 -8
  736. package/dist/actions/update-chat-completion.cjs.map +1 -1
  737. package/dist/actions/update-chat-completion.d.cts +9 -9
  738. package/dist/actions/update-chat-completion.d.mts +9 -9
  739. package/dist/actions/update-chat-completion.mjs +8 -8
  740. package/dist/actions/update-chat-completion.mjs.map +1 -1
  741. package/dist/actions/update-conversation.cjs +1 -1
  742. package/dist/actions/update-conversation.cjs.map +1 -1
  743. package/dist/actions/update-conversation.d.cts +1 -1
  744. package/dist/actions/update-conversation.d.mts +1 -1
  745. package/dist/actions/update-conversation.mjs +1 -1
  746. package/dist/actions/update-conversation.mjs.map +1 -1
  747. package/dist/actions/update-eval.cjs +1 -1
  748. package/dist/actions/update-eval.cjs.map +1 -1
  749. package/dist/actions/update-eval.d.cts +1 -1
  750. package/dist/actions/update-eval.d.mts +1 -1
  751. package/dist/actions/update-eval.mjs +1 -1
  752. package/dist/actions/update-eval.mjs.map +1 -1
  753. package/dist/actions/update-vector-store-file-attributes.cjs +4 -4
  754. package/dist/actions/update-vector-store-file-attributes.cjs.map +1 -1
  755. package/dist/actions/update-vector-store-file-attributes.d.cts +5 -5
  756. package/dist/actions/update-vector-store-file-attributes.d.mts +5 -5
  757. package/dist/actions/update-vector-store-file-attributes.mjs +4 -4
  758. package/dist/actions/update-vector-store-file-attributes.mjs.map +1 -1
  759. package/dist/actions/upload-file.cjs +1 -1
  760. package/dist/actions/upload-file.cjs.map +1 -1
  761. package/dist/actions/upload-file.d.cts +1 -1
  762. package/dist/actions/upload-file.d.mts +1 -1
  763. package/dist/actions/upload-file.mjs +1 -1
  764. package/dist/actions/upload-file.mjs.map +1 -1
  765. package/dist/actions/validate-grader.cjs +7 -7
  766. package/dist/actions/validate-grader.cjs.map +1 -1
  767. package/dist/actions/validate-grader.d.cts +12 -7
  768. package/dist/actions/validate-grader.d.cts.map +1 -1
  769. package/dist/actions/validate-grader.d.mts +12 -7
  770. package/dist/actions/validate-grader.d.mts.map +1 -1
  771. package/dist/actions/validate-grader.mjs +7 -7
  772. package/dist/actions/validate-grader.mjs.map +1 -1
  773. package/package.json +1 -1
@@ -4,25 +4,25 @@ import { z } from "zod";
4
4
  const OpenaiCreateVectorStoreFileBatchInput = z.object({
5
5
  files: z.array(z.object({
6
6
  file_id: z.string().describe("The ID of the file to attach to the vector store."),
7
- attributes: z.object({}).describe("Optional metadata attributes for this specific file. All values must be strings.").optional(),
8
- chunking_strategy: z.union([z.object({ type: z.enum(["auto", "static"]).default("auto").describe("Always 'auto' for auto chunking strategy.").optional() }).describe("Auto chunking strategy configuration."), z.object({
7
+ attributes: z.record(z.string(), z.unknown()).describe("Optional metadata attributes for this specific file. All values must be strings.").optional(),
8
+ chunking_strategy: z.union([z.object({ type: z.enum(["auto", "static"]).default("auto").describe("Always 'auto' for auto chunking strategy.").optional() }).passthrough().describe("Auto chunking strategy configuration."), z.object({
9
9
  type: z.enum(["auto", "static"]).default("static").describe("Always 'static' for static chunking strategy.").optional(),
10
10
  static: z.object({
11
11
  chunk_overlap_tokens: z.number().int().describe("The number of tokens that overlap between chunks. The default value is 400. Note that the overlap must not exceed half of max_chunk_size_tokens."),
12
12
  max_chunk_size_tokens: z.number().int().describe("The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.")
13
- }).describe("The static chunking strategy configuration.")
14
- }).describe("Static chunking strategy configuration.")]).optional()
15
- }).describe("File object with optional attributes and chunking strategy.")).describe("A list of objects that each include a file_id plus optional attributes or chunking_strategy. Use this when you need to override metadata for specific files. The global attributes or chunking_strategy will be ignored and must be specified for each file. Mutually exclusive with 'file_ids'.").optional(),
13
+ }).passthrough().describe("The static chunking strategy configuration.")
14
+ }).passthrough().describe("Static chunking strategy configuration.")]).optional()
15
+ }).passthrough().describe("File object with optional attributes and chunking strategy.")).describe("A list of objects that each include a file_id plus optional attributes or chunking_strategy. Use this when you need to override metadata for specific files. The global attributes or chunking_strategy will be ignored and must be specified for each file. Mutually exclusive with 'file_ids'.").optional(),
16
16
  file_ids: z.array(z.string()).describe("A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. If attributes or chunking_strategy are provided at the top level, they will be applied to all files in the batch. Mutually exclusive with 'files'.").optional(),
17
- attributes: z.object({}).describe("Optional metadata attributes to apply to all files in the batch. All values must be strings. Ignored if 'files' is provided instead of 'file_ids'.").optional(),
17
+ attributes: z.record(z.string(), z.unknown()).describe("Optional metadata attributes to apply to all files in the batch. All values must be strings. Ignored if 'files' is provided instead of 'file_ids'.").optional(),
18
18
  vector_store_id: z.string().describe("The ID of the vector store for which to create a file batch."),
19
- chunking_strategy: z.union([z.object({ type: z.enum(["auto", "static"]).default("auto").describe("Always 'auto' for auto chunking strategy.").optional() }).describe("Auto chunking strategy configuration."), z.object({
19
+ chunking_strategy: z.union([z.object({ type: z.enum(["auto", "static"]).default("auto").describe("Always 'auto' for auto chunking strategy.").optional() }).passthrough().describe("Auto chunking strategy configuration."), z.object({
20
20
  type: z.enum(["auto", "static"]).default("static").describe("Always 'static' for static chunking strategy.").optional(),
21
21
  static: z.object({
22
22
  chunk_overlap_tokens: z.number().int().describe("The number of tokens that overlap between chunks. The default value is 400. Note that the overlap must not exceed half of max_chunk_size_tokens."),
23
23
  max_chunk_size_tokens: z.number().int().describe("The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.")
24
- }).describe("The static chunking strategy configuration.")
25
- }).describe("Static chunking strategy configuration.")]).optional()
24
+ }).passthrough().describe("The static chunking strategy configuration.")
25
+ }).passthrough().describe("Static chunking strategy configuration.")]).optional()
26
26
  }).describe("Request model for creating a vector store file batch.");
27
27
  const OpenaiCreateVectorStoreFileBatch_VectorStoreFileBatchStatusSchema = z.enum([
28
28
  "in_progress",
@@ -36,7 +36,7 @@ const OpenaiCreateVectorStoreFileBatch_FileCountsSchema = z.object({
36
36
  cancelled: z.number().int().describe("The number of files that were cancelled.").nullable(),
37
37
  completed: z.number().int().describe("The number of files that have been processed.").nullable(),
38
38
  in_progress: z.number().int().describe("The number of files that are currently being processed.").nullable()
39
- }).describe("File counts for a vector store file batch.");
39
+ }).passthrough().describe("File counts for a vector store file batch.");
40
40
  const openaiCreateVectorStoreFileBatch = action("OPENAI_CREATE_VECTOR_STORE_FILE_BATCH", {
41
41
  slug: "openai-create-vector-store-file-batch",
42
42
  name: "Create vector store file batch",
@@ -49,7 +49,7 @@ const openaiCreateVectorStoreFileBatch = action("OPENAI_CREATE_VECTOR_STORE_FILE
49
49
  created_at: z.number().int().describe("The Unix timestamp (in seconds) for when the vector store files batch was created.").nullable(),
50
50
  file_counts: OpenaiCreateVectorStoreFileBatch_FileCountsSchema.nullable(),
51
51
  vector_store_id: z.string().describe("The ID of the vector store that the file batch is attached to.").nullable()
52
- }).describe("Response model for created vector store file batch.")
52
+ }).passthrough().describe("Response model for created vector store file batch.")
53
53
  });
54
54
  //#endregion
55
55
  export { openaiCreateVectorStoreFileBatch };
@@ -1 +1 @@
1
- {"version":3,"file":"create-vector-store-file-batch.mjs","names":[],"sources":["../../src/actions/create-vector-store-file-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreFileBatchInput = z.object({\n files: z.array(z.object({\n file_id: z.string().describe(\"The ID of the file to attach to the vector store.\"),\n attributes: z.object({}).describe(\"Optional metadata attributes for this specific file. All values must be strings.\").optional(),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Always 'auto' for auto chunking strategy.\").optional(),\n}).describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Always 'static' for static chunking strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400. Note that the overlap must not exceed half of max_chunk_size_tokens.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).describe(\"The static chunking strategy configuration.\"),\n}).describe(\"Static chunking strategy configuration.\")]).optional(),\n}).describe(\"File object with optional attributes and chunking strategy.\")).describe(\"A list of objects that each include a file_id plus optional attributes or chunking_strategy. Use this when you need to override metadata for specific files. The global attributes or chunking_strategy will be ignored and must be specified for each file. Mutually exclusive with 'file_ids'.\").optional(),\n file_ids: z.array(z.string()).describe(\"A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. If attributes or chunking_strategy are provided at the top level, they will be applied to all files in the batch. Mutually exclusive with 'files'.\").optional(),\n attributes: z.object({}).describe(\"Optional metadata attributes to apply to all files in the batch. All values must be strings. Ignored if 'files' is provided instead of 'file_ids'.\").optional(),\n vector_store_id: z.string().describe(\"The ID of the vector store for which to create a file batch.\"),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Always 'auto' for auto chunking strategy.\").optional(),\n}).describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Always 'static' for static chunking strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400. Note that the overlap must not exceed half of max_chunk_size_tokens.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).describe(\"The static chunking strategy configuration.\"),\n}).describe(\"Static chunking strategy configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store file batch.\");\nconst OpenaiCreateVectorStoreFileBatch_VectorStoreFileBatchStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file batch.\");\nconst OpenaiCreateVectorStoreFileBatch_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files.\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process.\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that were cancelled.\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been processed.\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed.\").nullable(),\n}).describe(\"File counts for a vector store file batch.\");\nexport const OpenaiCreateVectorStoreFileBatchOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.files_batch'.\").nullable(),\n status: OpenaiCreateVectorStoreFileBatch_VectorStoreFileBatchStatusSchema.nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store files batch was created.\").nullable(),\n file_counts: OpenaiCreateVectorStoreFileBatch_FileCountsSchema.nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the file batch is attached to.\").nullable(),\n}).describe(\"Response model for created vector store file batch.\");\n\nexport const openaiCreateVectorStoreFileBatch = action(\"OPENAI_CREATE_VECTOR_STORE_FILE_BATCH\", {\n slug: \"openai-create-vector-store-file-batch\",\n name: \"Create vector store file batch\",\n description: \"Tool to create a vector store file batch. Use when attaching multiple files to a vector store for file search capabilities.\",\n input: OpenaiCreateVectorStoreFileBatchInput,\n output: OpenaiCreateVectorStoreFileBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,MAAM,EAAE,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,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrG,QAAQ,kEAAkE,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EACrI,aAAa,kDAAkD,SAAS;EACxE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-vector-store-file-batch.mjs","names":[],"sources":["../../src/actions/create-vector-store-file-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreFileBatchInput = z.object({\n files: z.array(z.object({\n file_id: z.string().describe(\"The ID of the file to attach to the vector store.\"),\n attributes: z.record(z.string(), z.unknown()).describe(\"Optional metadata attributes for this specific file. All values must be strings.\").optional(),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Always 'auto' for auto chunking strategy.\").optional(),\n}).passthrough().describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Always 'static' for static chunking strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400. Note that the overlap must not exceed half of max_chunk_size_tokens.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).passthrough().describe(\"The static chunking strategy configuration.\"),\n}).passthrough().describe(\"Static chunking strategy configuration.\")]).optional(),\n}).passthrough().describe(\"File object with optional attributes and chunking strategy.\")).describe(\"A list of objects that each include a file_id plus optional attributes or chunking_strategy. Use this when you need to override metadata for specific files. The global attributes or chunking_strategy will be ignored and must be specified for each file. Mutually exclusive with 'file_ids'.\").optional(),\n file_ids: z.array(z.string()).describe(\"A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. If attributes or chunking_strategy are provided at the top level, they will be applied to all files in the batch. Mutually exclusive with 'files'.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Optional metadata attributes to apply to all files in the batch. All values must be strings. Ignored if 'files' is provided instead of 'file_ids'.\").optional(),\n vector_store_id: z.string().describe(\"The ID of the vector store for which to create a file batch.\"),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Always 'auto' for auto chunking strategy.\").optional(),\n}).passthrough().describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Always 'static' for static chunking strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400. Note that the overlap must not exceed half of max_chunk_size_tokens.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).passthrough().describe(\"The static chunking strategy configuration.\"),\n}).passthrough().describe(\"Static chunking strategy configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store file batch.\");\nconst OpenaiCreateVectorStoreFileBatch_VectorStoreFileBatchStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file batch.\");\nconst OpenaiCreateVectorStoreFileBatch_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files.\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process.\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that were cancelled.\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been processed.\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed.\").nullable(),\n}).passthrough().describe(\"File counts for a vector store file batch.\");\nexport const OpenaiCreateVectorStoreFileBatchOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.files_batch'.\").nullable(),\n status: OpenaiCreateVectorStoreFileBatch_VectorStoreFileBatchStatusSchema.nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store files batch was created.\").nullable(),\n file_counts: OpenaiCreateVectorStoreFileBatch_FileCountsSchema.nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the file batch is attached to.\").nullable(),\n}).passthrough().describe(\"Response model for created vector store file batch.\");\n\nexport const openaiCreateVectorStoreFileBatch = action(\"OPENAI_CREATE_VECTOR_STORE_FILE_BATCH\", {\n slug: \"openai-create-vector-store-file-batch\",\n name: \"Create vector store file batch\",\n description: \"Tool to create a vector store file batch. Use when attaching multiple files to a vector store for file search capabilities.\",\n input: OpenaiCreateVectorStoreFileBatchInput,\n output: OpenaiCreateVectorStoreFileBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAChF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACpJ,mBAAmB,EAAE,MAAM,CAAC,EAAE,OAAO,EACrC,MAAM,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC,GAAG,EAAE,OAAO;GAC3E,MAAM,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;GACtH,QAAQ,EAAE,OAAO;IACjB,sBAAs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AAC,SAAS,qDAOhB;AACV,CAAC"}
@@ -4,13 +4,13 @@ let zod = require("zod");
4
4
  const OpenaiCreateVectorStoreFileInput = zod.z.object({
5
5
  file_id: zod.z.string().describe("A File ID that the vector store should use. Useful for tools like file_search that can access files."),
6
6
  vector_store_id: zod.z.string().describe("The ID of the vector store for which to create a File."),
7
- chunking_strategy: zod.z.union([zod.z.object({ type: zod.z.enum(["auto", "static"]).default("auto").describe("The type of chunking strategy. Set to 'auto' to use the default strategy.").optional() }).describe("Auto chunking strategy - uses OpenAI's default chunking."), zod.z.object({
7
+ chunking_strategy: zod.z.union([zod.z.object({ type: zod.z.enum(["auto", "static"]).default("auto").describe("The type of chunking strategy. Set to 'auto' to use the default strategy.").optional() }).passthrough().describe("Auto chunking strategy - uses OpenAI's default chunking."), zod.z.object({
8
8
  type: zod.z.enum(["auto", "static"]).default("static").describe("The type of chunking strategy. Set to 'static' to use the static strategy.").optional(),
9
9
  static: zod.z.object({
10
10
  chunk_overlap_tokens: zod.z.number().int().describe("The number of tokens that overlap between chunks. The default value is 400."),
11
11
  max_chunk_size_tokens: zod.z.number().int().describe("The maximum number of tokens in each chunk. The default is 800. The minimum value is 100 and the maximum value is 4096.")
12
- }).describe("The static chunking configuration.")
13
- }).describe("Static chunking strategy with custom configuration.")]).optional()
12
+ }).passthrough().describe("The static chunking configuration.")
13
+ }).passthrough().describe("Static chunking strategy with custom configuration.")]).optional()
14
14
  }).describe("Request model for creating a vector store file.");
15
15
  const OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema = zod.z.enum([
16
16
  "in_progress",
@@ -21,12 +21,12 @@ const OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema = zod.z.enum([
21
21
  const OpenaiCreateVectorStoreFile_LastErrorInfoSchema = zod.z.object({
22
22
  code: zod.z.string().describe("Error code").nullable(),
23
23
  message: zod.z.string().describe("Error message").nullable()
24
- }).describe("Information about the last error that occurred.");
24
+ }).passthrough().describe("Information about the last error that occurred.");
25
25
  const OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema = zod.z.object({
26
26
  type: zod.z.string().describe("The type of chunking strategy").nullable(),
27
27
  static: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The static chunking configuration")
28
- }).describe("Static chunking strategy in response.");
29
- const OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema = zod.z.object({ type: zod.z.string().describe("The type of chunking strategy").nullable() }).describe("Other chunking strategy in response.");
28
+ }).passthrough().describe("Static chunking strategy in response.");
29
+ const OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema = zod.z.object({ type: zod.z.string().describe("The type of chunking strategy").nullable() }).passthrough().describe("Other chunking strategy in response.");
30
30
  const OpenaiCreateVectorStoreFileOutput = zod.z.object({
31
31
  id: zod.z.string().describe("The identifier, which can be referenced in API endpoints.").nullable(),
32
32
  object: zod.z.string().describe("The object type, which is always 'vector_store.file'.").nullable(),
@@ -36,7 +36,7 @@ const OpenaiCreateVectorStoreFileOutput = zod.z.object({
36
36
  usage_bytes: zod.z.number().int().describe("The total vector store usage in bytes. Note that this may be different from the original file size.").nullable(),
37
37
  vector_store_id: zod.z.string().describe("The ID of the vector store that the File is attached to.").nullable(),
38
38
  chunking_strategy: zod.z.union([OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional()
39
- }).describe("Response model for created vector store file.");
39
+ }).passthrough().describe("Response model for created vector store file.");
40
40
  const openaiCreateVectorStoreFile = require_action.action("OPENAI_CREATE_VECTOR_STORE_FILE", {
41
41
  slug: "openai-create-vector-store-file",
42
42
  name: "Create Vector Store File",
@@ -1 +1 @@
1
- {"version":3,"file":"create-vector-store-file.cjs","names":["z","action"],"sources":["../../src/actions/create-vector-store-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreFileInput = z.object({\n file_id: z.string().describe(\"A File ID that the vector store should use. Useful for tools like file_search that can access files.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store for which to create a File.\"),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"The type of chunking strategy. Set to 'auto' to use the default strategy.\").optional(),\n}).describe(\"Auto chunking strategy - uses OpenAI's default chunking.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"The type of chunking strategy. Set to 'static' to use the static strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).describe(\"The static chunking configuration.\"),\n}).describe(\"Static chunking strategy with custom configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store file.\");\nconst OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file.\");\nconst OpenaiCreateVectorStoreFile_LastErrorInfoSchema = z.object({\n code: z.string().describe(\"Error code\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).describe(\"Information about the last error that occurred.\");\nconst OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n static: z.record(z.string(), z.unknown()).describe(\"The static chunking configuration\"),\n}).describe(\"Static chunking strategy in response.\");\nconst OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).describe(\"Other chunking strategy in response.\");\nexport const OpenaiCreateVectorStoreFileOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.file'.\").nullable(),\n status: OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema.nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store file was created.\").nullable(),\n last_error: OpenaiCreateVectorStoreFile_LastErrorInfoSchema.nullable().optional(),\n usage_bytes: z.number().int().describe(\"The total vector store usage in bytes. Note that this may be different from the original file size.\").nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n chunking_strategy: z.union([OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional(),\n}).describe(\"Response model for created vector store file.\");\n\nexport const openaiCreateVectorStoreFile = action(\"OPENAI_CREATE_VECTOR_STORE_FILE\", {\n slug: \"openai-create-vector-store-file\",\n name: \"Create Vector Store File\",\n description: \"Tool to create a vector store file by attaching a File to a vector store. Use when you need to add files to a vector store for file search capabilities.\",\n input: OpenaiCreateVectorStoreFileInput,\n output: OpenaiCreateVectorStoreFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CACnI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC7F,mBAAmBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,EACrC,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,SAAS,0DAA0D,GAAGA,IAAAA,EAAE,OAAO;EAChF,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACnJ,QAAQA,IAAAA,EAAE,OAAO;GACjB,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EA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A,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC9H,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACvJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC1G,mBAAmBA,IAAAA,EAAE,MAAM,CAAC,kEAAkE,+DAA+D,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-vector-store-file.cjs","names":["z","action"],"sources":["../../src/actions/create-vector-store-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreFileInput = z.object({\n file_id: z.string().describe(\"A File ID that the vector store should use. Useful for tools like file_search that can access files.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store for which to create a File.\"),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"The type of chunking strategy. Set to 'auto' to use the default strategy.\").optional(),\n}).passthrough().describe(\"Auto chunking strategy - uses OpenAI's default chunking.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"The type of chunking strategy. Set to 'static' to use the static strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).passthrough().describe(\"The static chunking configuration.\"),\n}).passthrough().describe(\"Static chunking strategy with custom configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store file.\");\nconst OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file.\");\nconst OpenaiCreateVectorStoreFile_LastErrorInfoSchema = z.object({\n code: z.string().describe(\"Error code\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Information about the last error that occurred.\");\nconst OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n static: z.record(z.string(), z.unknown()).describe(\"The static chunking configuration\"),\n}).passthrough().describe(\"Static chunking strategy in response.\");\nconst OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).passthrough().describe(\"Other chunking strategy in response.\");\nexport const OpenaiCreateVectorStoreFileOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.file'.\").nullable(),\n status: OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema.nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store file was created.\").nullable(),\n last_error: OpenaiCreateVectorStoreFile_LastErrorInfoSchema.nullable().optional(),\n usage_bytes: z.number().int().describe(\"The total vector store usage in bytes. Note that this may be different from the original file size.\").nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n chunking_strategy: z.union([OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional(),\n}).passthrough().describe(\"Response model for created vector store file.\");\n\nexport const openaiCreateVectorStoreFile = action(\"OPENAI_CREATE_VECTOR_STORE_FILE\", {\n slug: \"openai-create-vector-store-file\",\n name: \"Create Vector Store File\",\n description: \"Tool to create a vector store file by attaching a File to a vector store. Use when you need to add files to a vector store for file search capabilities.\",\n input: OpenaiCreateVectorStoreFileInput,\n output: OpenaiCreateVectorStoreFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CACnI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC7F,mBAAmBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,EACrC,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,GAAGA,IAAAA,EAAE,OAAO;EAC9F,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACnJ,QAAQA,IAAAA,EAAE,OAAO;GACjB,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E;GAC7H,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yHAAyH;EAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;CAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,0DAA0DA,IAAAA,EAAE,KAAK;CAAC;CAAe;CAAa;CAAa;AAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC;AACrK,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D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AE,MAAM,CAAC,kEAAkE,+DAA+D,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,7 +9,7 @@ declare const OpenaiCreateVectorStoreFileInput: z.ZodObject<{
9
9
  auto: "auto";
10
10
  static: "static";
11
11
  }>>>;
12
- }, z.core.$strip>, z.ZodObject<{
12
+ }, z.core.$loose>, z.ZodObject<{
13
13
  type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
14
14
  auto: "auto";
15
15
  static: "static";
@@ -17,8 +17,8 @@ declare const OpenaiCreateVectorStoreFileInput: z.ZodObject<{
17
17
  static: z.ZodObject<{
18
18
  chunk_overlap_tokens: z.ZodNumber;
19
19
  max_chunk_size_tokens: z.ZodNumber;
20
- }, z.core.$strip>;
21
- }, z.core.$strip>]>>;
20
+ }, z.core.$loose>;
21
+ }, z.core.$loose>]>>;
22
22
  }, z.core.$strip>;
23
23
  declare const OpenaiCreateVectorStoreFileOutput: z.ZodObject<{
24
24
  id: z.ZodNullable<z.ZodString>;
@@ -26,30 +26,33 @@ declare const OpenaiCreateVectorStoreFileOutput: z.ZodObject<{
26
26
  status: z.ZodNullable<z.ZodEnum<{
27
27
  failed: "failed";
28
28
  in_progress: "in_progress";
29
- cancelled: "cancelled";
30
29
  completed: "completed";
30
+ cancelled: "cancelled";
31
31
  }>>;
32
32
  created_at: z.ZodNullable<z.ZodNumber>;
33
33
  last_error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
34
  code: z.ZodNullable<z.ZodString>;
35
35
  message: z.ZodNullable<z.ZodString>;
36
- }, z.core.$strip>>>;
36
+ }, z.core.$loose>>>;
37
37
  usage_bytes: z.ZodNullable<z.ZodNumber>;
38
38
  vector_store_id: z.ZodNullable<z.ZodString>;
39
39
  chunking_strategy: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
40
40
  type: z.ZodNullable<z.ZodString>;
41
41
  static: z.ZodRecord<z.ZodString, z.ZodUnknown>;
42
- }, z.core.$strip>, z.ZodObject<{
42
+ }, z.core.$loose>, z.ZodObject<{
43
43
  type: z.ZodNullable<z.ZodString>;
44
- }, z.core.$strip>]>>>;
45
- }, z.core.$strip>;
44
+ }, z.core.$loose>]>>>;
45
+ }, z.core.$loose>;
46
46
  declare const openaiCreateVectorStoreFile: import("@keystrokehq/action").WorkflowActionDefinition<{
47
47
  file_id: string;
48
48
  vector_store_id: string;
49
49
  chunking_strategy?: {
50
+ [x: string]: unknown;
50
51
  type?: "auto" | "static" | undefined;
51
52
  } | {
53
+ [x: string]: unknown;
52
54
  static: {
55
+ [x: string]: unknown;
53
56
  chunk_overlap_tokens: number;
54
57
  max_chunk_size_tokens: number;
55
58
  };
@@ -9,7 +9,7 @@ declare const OpenaiCreateVectorStoreFileInput: z.ZodObject<{
9
9
  auto: "auto";
10
10
  static: "static";
11
11
  }>>>;
12
- }, z.core.$strip>, z.ZodObject<{
12
+ }, z.core.$loose>, z.ZodObject<{
13
13
  type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
14
14
  auto: "auto";
15
15
  static: "static";
@@ -17,8 +17,8 @@ declare const OpenaiCreateVectorStoreFileInput: z.ZodObject<{
17
17
  static: z.ZodObject<{
18
18
  chunk_overlap_tokens: z.ZodNumber;
19
19
  max_chunk_size_tokens: z.ZodNumber;
20
- }, z.core.$strip>;
21
- }, z.core.$strip>]>>;
20
+ }, z.core.$loose>;
21
+ }, z.core.$loose>]>>;
22
22
  }, z.core.$strip>;
23
23
  declare const OpenaiCreateVectorStoreFileOutput: z.ZodObject<{
24
24
  id: z.ZodNullable<z.ZodString>;
@@ -26,30 +26,33 @@ declare const OpenaiCreateVectorStoreFileOutput: z.ZodObject<{
26
26
  status: z.ZodNullable<z.ZodEnum<{
27
27
  failed: "failed";
28
28
  in_progress: "in_progress";
29
- cancelled: "cancelled";
30
29
  completed: "completed";
30
+ cancelled: "cancelled";
31
31
  }>>;
32
32
  created_at: z.ZodNullable<z.ZodNumber>;
33
33
  last_error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
34
  code: z.ZodNullable<z.ZodString>;
35
35
  message: z.ZodNullable<z.ZodString>;
36
- }, z.core.$strip>>>;
36
+ }, z.core.$loose>>>;
37
37
  usage_bytes: z.ZodNullable<z.ZodNumber>;
38
38
  vector_store_id: z.ZodNullable<z.ZodString>;
39
39
  chunking_strategy: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
40
40
  type: z.ZodNullable<z.ZodString>;
41
41
  static: z.ZodRecord<z.ZodString, z.ZodUnknown>;
42
- }, z.core.$strip>, z.ZodObject<{
42
+ }, z.core.$loose>, z.ZodObject<{
43
43
  type: z.ZodNullable<z.ZodString>;
44
- }, z.core.$strip>]>>>;
45
- }, z.core.$strip>;
44
+ }, z.core.$loose>]>>>;
45
+ }, z.core.$loose>;
46
46
  declare const openaiCreateVectorStoreFile: import("@keystrokehq/action").WorkflowActionDefinition<{
47
47
  file_id: string;
48
48
  vector_store_id: string;
49
49
  chunking_strategy?: {
50
+ [x: string]: unknown;
50
51
  type?: "auto" | "static" | undefined;
51
52
  } | {
53
+ [x: string]: unknown;
52
54
  static: {
55
+ [x: string]: unknown;
53
56
  chunk_overlap_tokens: number;
54
57
  max_chunk_size_tokens: number;
55
58
  };
@@ -4,13 +4,13 @@ import { z } from "zod";
4
4
  const OpenaiCreateVectorStoreFileInput = z.object({
5
5
  file_id: z.string().describe("A File ID that the vector store should use. Useful for tools like file_search that can access files."),
6
6
  vector_store_id: z.string().describe("The ID of the vector store for which to create a File."),
7
- chunking_strategy: z.union([z.object({ type: z.enum(["auto", "static"]).default("auto").describe("The type of chunking strategy. Set to 'auto' to use the default strategy.").optional() }).describe("Auto chunking strategy - uses OpenAI's default chunking."), z.object({
7
+ chunking_strategy: z.union([z.object({ type: z.enum(["auto", "static"]).default("auto").describe("The type of chunking strategy. Set to 'auto' to use the default strategy.").optional() }).passthrough().describe("Auto chunking strategy - uses OpenAI's default chunking."), z.object({
8
8
  type: z.enum(["auto", "static"]).default("static").describe("The type of chunking strategy. Set to 'static' to use the static strategy.").optional(),
9
9
  static: z.object({
10
10
  chunk_overlap_tokens: z.number().int().describe("The number of tokens that overlap between chunks. The default value is 400."),
11
11
  max_chunk_size_tokens: z.number().int().describe("The maximum number of tokens in each chunk. The default is 800. The minimum value is 100 and the maximum value is 4096.")
12
- }).describe("The static chunking configuration.")
13
- }).describe("Static chunking strategy with custom configuration.")]).optional()
12
+ }).passthrough().describe("The static chunking configuration.")
13
+ }).passthrough().describe("Static chunking strategy with custom configuration.")]).optional()
14
14
  }).describe("Request model for creating a vector store file.");
15
15
  const OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema = z.enum([
16
16
  "in_progress",
@@ -21,12 +21,12 @@ const OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema = z.enum([
21
21
  const OpenaiCreateVectorStoreFile_LastErrorInfoSchema = z.object({
22
22
  code: z.string().describe("Error code").nullable(),
23
23
  message: z.string().describe("Error message").nullable()
24
- }).describe("Information about the last error that occurred.");
24
+ }).passthrough().describe("Information about the last error that occurred.");
25
25
  const OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema = z.object({
26
26
  type: z.string().describe("The type of chunking strategy").nullable(),
27
27
  static: z.record(z.string(), z.unknown()).describe("The static chunking configuration")
28
- }).describe("Static chunking strategy in response.");
29
- const OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({ type: z.string().describe("The type of chunking strategy").nullable() }).describe("Other chunking strategy in response.");
28
+ }).passthrough().describe("Static chunking strategy in response.");
29
+ const OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({ type: z.string().describe("The type of chunking strategy").nullable() }).passthrough().describe("Other chunking strategy in response.");
30
30
  const openaiCreateVectorStoreFile = action("OPENAI_CREATE_VECTOR_STORE_FILE", {
31
31
  slug: "openai-create-vector-store-file",
32
32
  name: "Create Vector Store File",
@@ -41,7 +41,7 @@ const openaiCreateVectorStoreFile = action("OPENAI_CREATE_VECTOR_STORE_FILE", {
41
41
  usage_bytes: z.number().int().describe("The total vector store usage in bytes. Note that this may be different from the original file size.").nullable(),
42
42
  vector_store_id: z.string().describe("The ID of the vector store that the File is attached to.").nullable(),
43
43
  chunking_strategy: z.union([OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional()
44
- }).describe("Response model for created vector store file.")
44
+ }).passthrough().describe("Response model for created vector store file.")
45
45
  });
46
46
  //#endregion
47
47
  export { openaiCreateVectorStoreFile };
@@ -1 +1 @@
1
- {"version":3,"file":"create-vector-store-file.mjs","names":[],"sources":["../../src/actions/create-vector-store-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreFileInput = z.object({\n file_id: z.string().describe(\"A File ID that the vector store should use. Useful for tools like file_search that can access files.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store for which to create a File.\"),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"The type of chunking strategy. Set to 'auto' to use the default strategy.\").optional(),\n}).describe(\"Auto chunking strategy - uses OpenAI's default chunking.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"The type of chunking strategy. Set to 'static' to use the static strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).describe(\"The static chunking configuration.\"),\n}).describe(\"Static chunking strategy with custom configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store file.\");\nconst OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file.\");\nconst OpenaiCreateVectorStoreFile_LastErrorInfoSchema = z.object({\n code: z.string().describe(\"Error code\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).describe(\"Information about the last error that occurred.\");\nconst OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n static: z.record(z.string(), z.unknown()).describe(\"The static chunking configuration\"),\n}).describe(\"Static chunking strategy in response.\");\nconst OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).describe(\"Other chunking strategy in response.\");\nexport const OpenaiCreateVectorStoreFileOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.file'.\").nullable(),\n status: OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema.nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store file was created.\").nullable(),\n last_error: OpenaiCreateVectorStoreFile_LastErrorInfoSchema.nullable().optional(),\n usage_bytes: z.number().int().describe(\"The total vector store usage in bytes. Note that this may be different from the original file size.\").nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n chunking_strategy: z.union([OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional(),\n}).describe(\"Response model for created vector store file.\");\n\nexport const openaiCreateVectorStoreFile = action(\"OPENAI_CREATE_VECTOR_STORE_FILE\", {\n slug: \"openai-create-vector-store-file\",\n name: \"Create Vector Store File\",\n description: \"Tool to create a vector store file by attaching a File to a vector store. Use when you need to add files to a vector store for file search capabilities.\",\n input: OpenaiCreateV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AS,+BAA+B,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;AACxF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kEAAkE,EAAE,OAAO,EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAYlD,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC9F,QAAQ,wDAAwD,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC9H,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACvJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC1G,mBAAmB,EAAE,MAAM,CAAC,kEAAkE,+DAA+D,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-vector-store-file.mjs","names":[],"sources":["../../src/actions/create-vector-store-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreFileInput = z.object({\n file_id: z.string().describe(\"A File ID that the vector store should use. Useful for tools like file_search that can access files.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store for which to create a File.\"),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"The type of chunking strategy. Set to 'auto' to use the default strategy.\").optional(),\n}).passthrough().describe(\"Auto chunking strategy - uses OpenAI's default chunking.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"The type of chunking strategy. Set to 'static' to use the static strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).passthrough().describe(\"The static chunking configuration.\"),\n}).passthrough().describe(\"Static chunking strategy with custom configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store file.\");\nconst OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file.\");\nconst OpenaiCreateVectorStoreFile_LastErrorInfoSchema = z.object({\n code: z.string().describe(\"Error code\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Information about the last error that occurred.\");\nconst OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n static: z.record(z.string(), z.unknown()).describe(\"The static chunking configuration\"),\n}).passthrough().describe(\"Static chunking strategy in response.\");\nconst OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).passthrough().describe(\"Other chunking strategy in response.\");\nexport const OpenaiCreateVectorStoreFileOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.file'.\").nullable(),\n status: OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema.nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store file was created.\").nullable(),\n last_error: OpenaiCreateVectorStoreFile_LastErrorInfoSchema.nullable().optional(),\n usage_bytes: z.number().int().describe(\"The total vector store usage in bytes. Note that this may be different from the original file size.\").nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n chunking_strategy: z.union([OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional(),\n}).passthrough().describe(\"Response model for created vector store file.\");\n\nexport const openaiCreateVectorStoreFile = action(\"OPENAI_CREATE_VECTOR_STORE_FILE\", {\n slug: \"openai-create-vector-store-file\",\n name: \"Create Vector Store File\",\n description: \"Tool to create a vector store file by attaching a File to a vector store. Use when you need to add files to a vector store for file search capabilities.\",\n input: OpenaiCreateVectorStoreFileInput,\n output: OpenaiCreateVectorStoreFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CACnI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC7F,mBAAmB,EAAE,MAAM,CAAC,EAAE,OAAO,EACrC,MAAM,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,GAAG,EAAE,OAAO;EAC9F,MAAM,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACnJ,QAAQ,EAAE,OAAO;GACjB,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E;GAC7H,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC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CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC9H,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACvJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC1G,mBAAmB,EAAE,MAAM,CAAC,kEAAkE,+DAA+D,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
@@ -4,18 +4,18 @@ let zod = require("zod");
4
4
  const OpenaiCreateVectorStoreInput = zod.z.object({
5
5
  name: zod.z.string().describe("The name of the vector store. If not provided, the vector store will have no name.").optional(),
6
6
  file_ids: zod.z.array(zod.z.string()).describe("A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. Maximum 500 file IDs allowed.").optional(),
7
- metadata: zod.z.object({}).describe("Set of up to 16 key-value pairs that can be attached to the vector store. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.").optional(),
7
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Set of up to 16 key-value pairs that can be attached to the vector store. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.").optional(),
8
8
  expires_after: zod.z.object({
9
9
  days: zod.z.number().int().describe("The number of days after the anchor time that the vector store will expire. Must be between 1 and 365."),
10
10
  anchor: zod.z.string().describe("Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.")
11
11
  }).describe("Expiration policy for a vector store.").optional(),
12
- chunking_strategy: zod.z.union([zod.z.object({ type: zod.z.enum(["auto", "static"]).default("auto").describe("Must be 'auto' for auto chunking strategy").optional() }).describe("Auto chunking strategy configuration."), zod.z.object({
12
+ chunking_strategy: zod.z.union([zod.z.object({ type: zod.z.enum(["auto", "static"]).default("auto").describe("Must be 'auto' for auto chunking strategy").optional() }).passthrough().describe("Auto chunking strategy configuration."), zod.z.object({
13
13
  type: zod.z.enum(["auto", "static"]).default("static").describe("Must be 'static' for static chunking strategy").optional(),
14
14
  static: zod.z.object({
15
15
  chunk_overlap_tokens: zod.z.number().int().describe("The number of tokens that overlap between chunks. Must be non-negative."),
16
16
  max_chunk_size_tokens: zod.z.number().int().describe("The maximum number of tokens in each chunk. Must be between 100 and 4096.")
17
- }).describe("Configuration for static chunking")
18
- }).describe("Static chunking strategy configuration.")]).optional()
17
+ }).passthrough().describe("Configuration for static chunking")
18
+ }).passthrough().describe("Static chunking strategy configuration.")]).optional()
19
19
  }).describe("Request model for creating a vector store.");
20
20
  const OpenaiCreateVectorStore_VectorStoreStatusSchema = zod.z.enum([
21
21
  "expired",
@@ -28,24 +28,24 @@ const OpenaiCreateVectorStore_FileCountsSchema = zod.z.object({
28
28
  cancelled: zod.z.number().int().describe("The number of files that were cancelled").nullable(),
29
29
  completed: zod.z.number().int().describe("The number of files that have been successfully processed").nullable(),
30
30
  in_progress: zod.z.number().int().describe("The number of files that are currently being processed").nullable()
31
- }).describe("File processing counts for a vector store.");
31
+ }).passthrough().describe("File processing counts for a vector store.");
32
32
  const OpenaiCreateVectorStore_ExpirationPolicySchema = zod.z.object({
33
33
  days: zod.z.number().int().describe("The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.").nullable(),
34
34
  anchor: zod.z.string().describe("Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.").nullable()
35
- }).describe("Expiration policy for a vector store.");
35
+ }).passthrough().describe("Expiration policy for a vector store.");
36
36
  const OpenaiCreateVectorStoreOutput = zod.z.object({
37
37
  id: zod.z.string().describe("The identifier of the vector store, which can be referenced in API endpoints").nullable(),
38
38
  name: zod.z.string().describe("The name of the vector store").nullable().optional(),
39
39
  object: zod.z.string().describe("The object type, which is always 'vector_store'").nullable(),
40
40
  status: OpenaiCreateVectorStore_VectorStoreStatusSchema.nullable(),
41
- metadata: zod.z.object({}).describe("Metadata key-value pairs attached to the vector store").nullable().optional(),
41
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Metadata key-value pairs attached to the vector store").nullable().optional(),
42
42
  created_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the vector store was created").nullable(),
43
43
  expires_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the vector store will expire, if applicable").nullable().optional(),
44
44
  file_counts: OpenaiCreateVectorStore_FileCountsSchema.nullable(),
45
45
  usage_bytes: zod.z.number().int().describe("The total number of bytes used by the files in the vector store").nullable(),
46
46
  expires_after: OpenaiCreateVectorStore_ExpirationPolicySchema.nullable().optional(),
47
47
  last_active_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the vector store was last active").nullable().optional()
48
- }).describe("Response schema for created vector store.");
48
+ }).passthrough().describe("Response schema for created vector store.");
49
49
  const openaiCreateVectorStore = require_action.action("OPENAI_CREATE_VECTOR_STORE", {
50
50
  slug: "openai-create-vector-store",
51
51
  name: "Create Vector Store",
@@ -1 +1 @@
1
- {"version":3,"file":"create-vector-store.cjs","names":["z","action"],"sources":["../../src/actions/create-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreInput = z.object({\n name: z.string().describe(\"The name of the vector store. If not provided, the vector store will have no name.\").optional(),\n file_ids: z.array(z.string()).describe(\"A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. Maximum 500 file IDs allowed.\").optional(),\n metadata: z.object({}).describe(\"Set of up to 16 key-value pairs that can be attached to the vector store. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\").optional(),\n expires_after: z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.\"),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\"),\n}).describe(\"Expiration policy for a vector store.\").optional(),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Must be 'auto' for auto chunking strategy\").optional(),\n}).describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Must be 'static' for static chunking strategy\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. Must be non-negative.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. Must be between 100 and 4096.\"),\n}).describe(\"Configuration for static chunking\"),\n}).describe(\"Static chunking strategy configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store.\");\nconst OpenaiCreateVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiCreateVectorStore_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that were cancelled\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been successfully processed\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed\").nullable(),\n}).describe(\"File processing counts for a vector store.\");\nconst OpenaiCreateVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.\").nullable(),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\").nullable(),\n}).describe(\"Expiration policy for a vector store.\");\nexport const OpenaiCreateVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier of the vector store, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiCreateVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.object({}).describe(\"Metadata key-value pairs attached to the vector store\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store will expire, if applicable\").nullable().optional(),\n file_counts: OpenaiCreateVectorStore_FileCountsSchema.nullable(),\n usage_bytes: z.number().int().describe(\"The total number of bytes used by the files in the vector store\").nullable(),\n expires_after: OpenaiCreateVectorStore_ExpirationPolicySchema.nullable().optional(),\n last_active_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was last active\").nullable().optional(),\n}).describe(\"Response schema for created vector store.\");\n\nexport const openaiCreateVectorStore = action(\"OPENAI_CREATE_VECTOR_STORE\", {\n slug: \"openai-create-vector-store\",\n name: \"Create Vector Store\",\n description: \"Tool to create a new vector store. Use when you need to create a collection of processed files for file_search tools.\",\n input: OpenaiCreateVectorStoreInput,\n output: OpenaiCreateVectorStoreOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAC/L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACtN,eAAeA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG;EACxI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACrH,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,mBAAmBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,EACrC,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClH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AAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-vector-store.cjs","names":["z","action"],"sources":["../../src/actions/create-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreInput = z.object({\n name: z.string().describe(\"The name of the vector store. If not provided, the vector store will have no name.\").optional(),\n file_ids: z.array(z.string()).describe(\"A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. Maximum 500 file IDs allowed.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs that can be attached to the vector store. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\").optional(),\n expires_after: z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.\"),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\"),\n}).describe(\"Expiration policy for a vector store.\").optional(),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Must be 'auto' for auto chunking strategy\").optional(),\n}).passthrough().describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Must be 'static' for static chunking strategy\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. Must be non-negative.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. Must be between 100 and 4096.\"),\n}).passthrough().describe(\"Configuration for static chunking\"),\n}).passthrough().describe(\"Static chunking strategy configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store.\");\nconst OpenaiCreateVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiCreateVectorStore_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that were cancelled\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been successfully processed\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed\").nullable(),\n}).passthrough().describe(\"File processing counts for a vector store.\");\nconst OpenaiCreateVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.\").nullable(),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\").nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiCreateVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier of the vector store, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiCreateVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs attached to the vector store\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store will expire, if applicable\").nullable().optional(),\n file_counts: OpenaiCreateVectorStore_FileCountsSchema.nullable(),\n usage_bytes: z.number().int().describe(\"The total number of bytes used by the files in the vector store\").nullable(),\n expires_after: OpenaiCreateVectorStore_ExpirationPolicySchema.nullable().optional(),\n last_active_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was last active\").nullable().optional(),\n}).passthrough().describe(\"Response schema for created vector store.\");\n\nexport const openaiCreateVectorStore = action(\"OPENAI_CREATE_VECTOR_STORE\", {\n slug: \"openai-create-vector-store\",\n name: \"Create Vector Store\",\n description: \"Tool to create a new vector store. Use when you need to create a collection of processed files for file_search tools.\",\n input: OpenaiCreateVectorStoreInput,\n output: OpenaiCreateVectorStoreOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA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AC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,QAAQ,gDAAgD,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,aAAa,yCAAyC,SAAS;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACnH,eAAe,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAClF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const OpenaiCreateVectorStoreInput: z.ZodObject<{
5
5
  name: z.ZodOptional<z.ZodString>;
6
6
  file_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
- metadata: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
7
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
8
  expires_after: z.ZodOptional<z.ZodObject<{
9
9
  days: z.ZodNumber;
10
10
  anchor: z.ZodString;
@@ -14,7 +14,7 @@ declare const OpenaiCreateVectorStoreInput: z.ZodObject<{
14
14
  auto: "auto";
15
15
  static: "static";
16
16
  }>>>;
17
- }, z.core.$strip>, z.ZodObject<{
17
+ }, z.core.$loose>, z.ZodObject<{
18
18
  type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
19
19
  auto: "auto";
20
20
  static: "static";
@@ -22,8 +22,8 @@ declare const OpenaiCreateVectorStoreInput: z.ZodObject<{
22
22
  static: z.ZodObject<{
23
23
  chunk_overlap_tokens: z.ZodNumber;
24
24
  max_chunk_size_tokens: z.ZodNumber;
25
- }, z.core.$strip>;
26
- }, z.core.$strip>]>>;
25
+ }, z.core.$loose>;
26
+ }, z.core.$loose>]>>;
27
27
  }, z.core.$strip>;
28
28
  declare const OpenaiCreateVectorStoreOutput: z.ZodObject<{
29
29
  id: z.ZodNullable<z.ZodString>;
@@ -34,7 +34,7 @@ declare const OpenaiCreateVectorStoreOutput: z.ZodObject<{
34
34
  completed: "completed";
35
35
  expired: "expired";
36
36
  }>>;
37
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
37
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
38
38
  created_at: z.ZodNullable<z.ZodNumber>;
39
39
  expires_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
40
  file_counts: z.ZodNullable<z.ZodObject<{
@@ -43,26 +43,29 @@ declare const OpenaiCreateVectorStoreOutput: z.ZodObject<{
43
43
  cancelled: z.ZodNullable<z.ZodNumber>;
44
44
  completed: z.ZodNullable<z.ZodNumber>;
45
45
  in_progress: z.ZodNullable<z.ZodNumber>;
46
- }, z.core.$strip>>;
46
+ }, z.core.$loose>>;
47
47
  usage_bytes: z.ZodNullable<z.ZodNumber>;
48
48
  expires_after: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
49
  days: z.ZodNullable<z.ZodNumber>;
50
50
  anchor: z.ZodNullable<z.ZodString>;
51
- }, z.core.$strip>>>;
51
+ }, z.core.$loose>>>;
52
52
  last_active_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
53
- }, z.core.$strip>;
53
+ }, z.core.$loose>;
54
54
  declare const openaiCreateVectorStore: import("@keystrokehq/action").WorkflowActionDefinition<{
55
55
  name?: string | undefined;
56
56
  file_ids?: string[] | undefined;
57
- metadata?: Record<string, never> | undefined;
57
+ metadata?: Record<string, unknown> | undefined;
58
58
  expires_after?: {
59
59
  days: number;
60
60
  anchor: string;
61
61
  } | undefined;
62
62
  chunking_strategy?: {
63
+ [x: string]: unknown;
63
64
  type?: "auto" | "static" | undefined;
64
65
  } | {
66
+ [x: string]: unknown;
65
67
  static: {
68
+ [x: string]: unknown;
66
69
  chunk_overlap_tokens: number;
67
70
  max_chunk_size_tokens: number;
68
71
  };
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const OpenaiCreateVectorStoreInput: z.ZodObject<{
5
5
  name: z.ZodOptional<z.ZodString>;
6
6
  file_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
- metadata: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
7
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
8
  expires_after: z.ZodOptional<z.ZodObject<{
9
9
  days: z.ZodNumber;
10
10
  anchor: z.ZodString;
@@ -14,7 +14,7 @@ declare const OpenaiCreateVectorStoreInput: z.ZodObject<{
14
14
  auto: "auto";
15
15
  static: "static";
16
16
  }>>>;
17
- }, z.core.$strip>, z.ZodObject<{
17
+ }, z.core.$loose>, z.ZodObject<{
18
18
  type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
19
19
  auto: "auto";
20
20
  static: "static";
@@ -22,8 +22,8 @@ declare const OpenaiCreateVectorStoreInput: z.ZodObject<{
22
22
  static: z.ZodObject<{
23
23
  chunk_overlap_tokens: z.ZodNumber;
24
24
  max_chunk_size_tokens: z.ZodNumber;
25
- }, z.core.$strip>;
26
- }, z.core.$strip>]>>;
25
+ }, z.core.$loose>;
26
+ }, z.core.$loose>]>>;
27
27
  }, z.core.$strip>;
28
28
  declare const OpenaiCreateVectorStoreOutput: z.ZodObject<{
29
29
  id: z.ZodNullable<z.ZodString>;
@@ -34,7 +34,7 @@ declare const OpenaiCreateVectorStoreOutput: z.ZodObject<{
34
34
  completed: "completed";
35
35
  expired: "expired";
36
36
  }>>;
37
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
37
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
38
38
  created_at: z.ZodNullable<z.ZodNumber>;
39
39
  expires_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
40
  file_counts: z.ZodNullable<z.ZodObject<{
@@ -43,26 +43,29 @@ declare const OpenaiCreateVectorStoreOutput: z.ZodObject<{
43
43
  cancelled: z.ZodNullable<z.ZodNumber>;
44
44
  completed: z.ZodNullable<z.ZodNumber>;
45
45
  in_progress: z.ZodNullable<z.ZodNumber>;
46
- }, z.core.$strip>>;
46
+ }, z.core.$loose>>;
47
47
  usage_bytes: z.ZodNullable<z.ZodNumber>;
48
48
  expires_after: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
49
  days: z.ZodNullable<z.ZodNumber>;
50
50
  anchor: z.ZodNullable<z.ZodString>;
51
- }, z.core.$strip>>>;
51
+ }, z.core.$loose>>>;
52
52
  last_active_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
53
- }, z.core.$strip>;
53
+ }, z.core.$loose>;
54
54
  declare const openaiCreateVectorStore: import("@keystrokehq/action").WorkflowActionDefinition<{
55
55
  name?: string | undefined;
56
56
  file_ids?: string[] | undefined;
57
- metadata?: Record<string, never> | undefined;
57
+ metadata?: Record<string, unknown> | undefined;
58
58
  expires_after?: {
59
59
  days: number;
60
60
  anchor: string;
61
61
  } | undefined;
62
62
  chunking_strategy?: {
63
+ [x: string]: unknown;
63
64
  type?: "auto" | "static" | undefined;
64
65
  } | {
66
+ [x: string]: unknown;
65
67
  static: {
68
+ [x: string]: unknown;
66
69
  chunk_overlap_tokens: number;
67
70
  max_chunk_size_tokens: number;
68
71
  };