@keystrokehq/openai 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1042) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-upload-part.cjs +31 -0
  7. package/dist/actions/add-upload-part.cjs.map +1 -0
  8. package/dist/actions/add-upload-part.d.cts +9 -0
  9. package/dist/actions/add-upload-part.d.cts.map +1 -0
  10. package/dist/actions/add-upload-part.d.mts +9 -0
  11. package/dist/actions/add-upload-part.d.mts.map +1 -0
  12. package/dist/actions/add-upload-part.mjs +28 -0
  13. package/dist/actions/add-upload-part.mjs.map +1 -0
  14. package/dist/actions/cancel-batch.cjs +66 -0
  15. package/dist/actions/cancel-batch.cjs.map +1 -0
  16. package/dist/actions/cancel-batch.d.cts +9 -0
  17. package/dist/actions/cancel-batch.d.cts.map +1 -0
  18. package/dist/actions/cancel-batch.d.mts +9 -0
  19. package/dist/actions/cancel-batch.d.mts.map +1 -0
  20. package/dist/actions/cancel-batch.mjs +65 -0
  21. package/dist/actions/cancel-batch.mjs.map +1 -0
  22. package/dist/actions/cancel-eval-run.cjs +79 -0
  23. package/dist/actions/cancel-eval-run.cjs.map +1 -0
  24. package/dist/actions/cancel-eval-run.d.cts +9 -0
  25. package/dist/actions/cancel-eval-run.d.cts.map +1 -0
  26. package/dist/actions/cancel-eval-run.d.mts +9 -0
  27. package/dist/actions/cancel-eval-run.d.mts.map +1 -0
  28. package/dist/actions/cancel-eval-run.mjs +78 -0
  29. package/dist/actions/cancel-eval-run.mjs.map +1 -0
  30. package/dist/actions/cancel-response.cjs +82 -0
  31. package/dist/actions/cancel-response.cjs.map +1 -0
  32. package/dist/actions/cancel-response.d.cts +9 -0
  33. package/dist/actions/cancel-response.d.cts.map +1 -0
  34. package/dist/actions/cancel-response.d.mts +9 -0
  35. package/dist/actions/cancel-response.d.mts.map +1 -0
  36. package/dist/actions/cancel-response.mjs +81 -0
  37. package/dist/actions/cancel-response.mjs.map +1 -0
  38. package/dist/actions/cancel-run.cjs +79 -0
  39. package/dist/actions/cancel-run.cjs.map +1 -0
  40. package/dist/actions/cancel-run.d.cts +9 -0
  41. package/dist/actions/cancel-run.d.cts.map +1 -0
  42. package/dist/actions/cancel-run.d.mts +9 -0
  43. package/dist/actions/cancel-run.d.mts.map +1 -0
  44. package/dist/actions/cancel-run.mjs +78 -0
  45. package/dist/actions/cancel-run.mjs.map +1 -0
  46. package/dist/actions/cancel-upload.cjs +42 -0
  47. package/dist/actions/cancel-upload.cjs.map +1 -0
  48. package/dist/actions/cancel-upload.d.cts +9 -0
  49. package/dist/actions/cancel-upload.d.cts.map +1 -0
  50. package/dist/actions/cancel-upload.d.mts +9 -0
  51. package/dist/actions/cancel-upload.d.mts.map +1 -0
  52. package/dist/actions/cancel-upload.mjs +41 -0
  53. package/dist/actions/cancel-upload.mjs.map +1 -0
  54. package/dist/actions/compact-response.cjs +66 -0
  55. package/dist/actions/compact-response.cjs.map +1 -0
  56. package/dist/actions/compact-response.d.cts +9 -0
  57. package/dist/actions/compact-response.d.cts.map +1 -0
  58. package/dist/actions/compact-response.d.mts +9 -0
  59. package/dist/actions/compact-response.d.mts.map +1 -0
  60. package/dist/actions/compact-response.mjs +65 -0
  61. package/dist/actions/compact-response.mjs.map +1 -0
  62. package/dist/actions/create-audio-transcription.cjs +61 -0
  63. package/dist/actions/create-audio-transcription.cjs.map +1 -0
  64. package/dist/actions/create-audio-transcription.d.cts +9 -0
  65. package/dist/actions/create-audio-transcription.d.cts.map +1 -0
  66. package/dist/actions/create-audio-transcription.d.mts +9 -0
  67. package/dist/actions/create-audio-transcription.d.mts.map +1 -0
  68. package/dist/actions/create-audio-transcription.mjs +60 -0
  69. package/dist/actions/create-audio-transcription.mjs.map +1 -0
  70. package/dist/actions/create-audio-translation.cjs +40 -0
  71. package/dist/actions/create-audio-translation.cjs.map +1 -0
  72. package/dist/actions/create-audio-translation.d.cts +9 -0
  73. package/dist/actions/create-audio-translation.d.cts.map +1 -0
  74. package/dist/actions/create-audio-translation.d.mts +9 -0
  75. package/dist/actions/create-audio-translation.d.mts.map +1 -0
  76. package/dist/actions/create-audio-translation.mjs +37 -0
  77. package/dist/actions/create-audio-translation.mjs.map +1 -0
  78. package/dist/actions/create-batch.cjs +85 -0
  79. package/dist/actions/create-batch.cjs.map +1 -0
  80. package/dist/actions/create-batch.d.cts +9 -0
  81. package/dist/actions/create-batch.d.cts.map +1 -0
  82. package/dist/actions/create-batch.d.mts +9 -0
  83. package/dist/actions/create-batch.d.mts.map +1 -0
  84. package/dist/actions/create-batch.mjs +84 -0
  85. package/dist/actions/create-batch.mjs.map +1 -0
  86. package/dist/actions/create-chat-completion.cjs +135 -0
  87. package/dist/actions/create-chat-completion.cjs.map +1 -0
  88. package/dist/actions/create-chat-completion.d.cts +9 -0
  89. package/dist/actions/create-chat-completion.d.cts.map +1 -0
  90. package/dist/actions/create-chat-completion.d.mts +9 -0
  91. package/dist/actions/create-chat-completion.d.mts.map +1 -0
  92. package/dist/actions/create-chat-completion.mjs +134 -0
  93. package/dist/actions/create-chat-completion.mjs.map +1 -0
  94. package/dist/actions/create-completion.cjs +77 -0
  95. package/dist/actions/create-completion.cjs.map +1 -0
  96. package/dist/actions/create-completion.d.cts +9 -0
  97. package/dist/actions/create-completion.d.cts.map +1 -0
  98. package/dist/actions/create-completion.d.mts +9 -0
  99. package/dist/actions/create-completion.d.mts.map +1 -0
  100. package/dist/actions/create-completion.mjs +76 -0
  101. package/dist/actions/create-completion.mjs.map +1 -0
  102. package/dist/actions/create-container-file.cjs +28 -0
  103. package/dist/actions/create-container-file.cjs.map +1 -0
  104. package/dist/actions/create-container-file.d.cts +9 -0
  105. package/dist/actions/create-container-file.d.cts.map +1 -0
  106. package/dist/actions/create-container-file.d.mts +9 -0
  107. package/dist/actions/create-container-file.d.mts.map +1 -0
  108. package/dist/actions/create-container-file.mjs +25 -0
  109. package/dist/actions/create-container-file.mjs.map +1 -0
  110. package/dist/actions/create-container.cjs +64 -0
  111. package/dist/actions/create-container.cjs.map +1 -0
  112. package/dist/actions/create-container.d.cts +9 -0
  113. package/dist/actions/create-container.d.cts.map +1 -0
  114. package/dist/actions/create-container.d.mts +9 -0
  115. package/dist/actions/create-container.d.mts.map +1 -0
  116. package/dist/actions/create-container.mjs +63 -0
  117. package/dist/actions/create-container.mjs.map +1 -0
  118. package/dist/actions/create-conversation-items.cjs +80 -0
  119. package/dist/actions/create-conversation-items.cjs.map +1 -0
  120. package/dist/actions/create-conversation-items.d.cts +9 -0
  121. package/dist/actions/create-conversation-items.d.cts.map +1 -0
  122. package/dist/actions/create-conversation-items.d.mts +9 -0
  123. package/dist/actions/create-conversation-items.d.mts.map +1 -0
  124. package/dist/actions/create-conversation-items.mjs +79 -0
  125. package/dist/actions/create-conversation-items.mjs.map +1 -0
  126. package/dist/actions/create-conversation.cjs +33 -0
  127. package/dist/actions/create-conversation.cjs.map +1 -0
  128. package/dist/actions/create-conversation.d.cts +9 -0
  129. package/dist/actions/create-conversation.d.cts.map +1 -0
  130. package/dist/actions/create-conversation.d.mts +9 -0
  131. package/dist/actions/create-conversation.d.mts.map +1 -0
  132. package/dist/actions/create-conversation.mjs +30 -0
  133. package/dist/actions/create-conversation.mjs.map +1 -0
  134. package/dist/actions/create-embeddings.cjs +41 -0
  135. package/dist/actions/create-embeddings.cjs.map +1 -0
  136. package/dist/actions/create-embeddings.d.cts +9 -0
  137. package/dist/actions/create-embeddings.d.cts.map +1 -0
  138. package/dist/actions/create-embeddings.d.mts +9 -0
  139. package/dist/actions/create-embeddings.d.mts.map +1 -0
  140. package/dist/actions/create-embeddings.mjs +40 -0
  141. package/dist/actions/create-embeddings.mjs.map +1 -0
  142. package/dist/actions/create-eval-run.cjs +126 -0
  143. package/dist/actions/create-eval-run.cjs.map +1 -0
  144. package/dist/actions/create-eval-run.d.cts +9 -0
  145. package/dist/actions/create-eval-run.d.cts.map +1 -0
  146. package/dist/actions/create-eval-run.d.mts +9 -0
  147. package/dist/actions/create-eval-run.d.mts.map +1 -0
  148. package/dist/actions/create-eval-run.mjs +125 -0
  149. package/dist/actions/create-eval-run.mjs.map +1 -0
  150. package/dist/actions/create-eval.cjs +71 -0
  151. package/dist/actions/create-eval.cjs.map +1 -0
  152. package/dist/actions/create-eval.d.cts +9 -0
  153. package/dist/actions/create-eval.d.cts.map +1 -0
  154. package/dist/actions/create-eval.d.mts +9 -0
  155. package/dist/actions/create-eval.d.mts.map +1 -0
  156. package/dist/actions/create-eval.mjs +68 -0
  157. package/dist/actions/create-eval.mjs.map +1 -0
  158. package/dist/actions/create-fine-tuning-job.cjs +75 -0
  159. package/dist/actions/create-fine-tuning-job.cjs.map +1 -0
  160. package/dist/actions/create-fine-tuning-job.d.cts +9 -0
  161. package/dist/actions/create-fine-tuning-job.d.cts.map +1 -0
  162. package/dist/actions/create-fine-tuning-job.d.mts +9 -0
  163. package/dist/actions/create-fine-tuning-job.d.mts.map +1 -0
  164. package/dist/actions/create-fine-tuning-job.mjs +74 -0
  165. package/dist/actions/create-fine-tuning-job.mjs.map +1 -0
  166. package/dist/actions/create-image-edit.cjs +74 -0
  167. package/dist/actions/create-image-edit.cjs.map +1 -0
  168. package/dist/actions/create-image-edit.d.cts +9 -0
  169. package/dist/actions/create-image-edit.d.cts.map +1 -0
  170. package/dist/actions/create-image-edit.d.mts +9 -0
  171. package/dist/actions/create-image-edit.d.mts.map +1 -0
  172. package/dist/actions/create-image-edit.mjs +73 -0
  173. package/dist/actions/create-image-edit.mjs.map +1 -0
  174. package/dist/actions/create-image-variation.cjs +39 -0
  175. package/dist/actions/create-image-variation.cjs.map +1 -0
  176. package/dist/actions/create-image-variation.d.cts +9 -0
  177. package/dist/actions/create-image-variation.d.cts.map +1 -0
  178. package/dist/actions/create-image-variation.d.mts +9 -0
  179. package/dist/actions/create-image-variation.d.mts.map +1 -0
  180. package/dist/actions/create-image-variation.mjs +38 -0
  181. package/dist/actions/create-image-variation.mjs.map +1 -0
  182. package/dist/actions/create-image.cjs +67 -0
  183. package/dist/actions/create-image.cjs.map +1 -0
  184. package/dist/actions/create-image.d.cts +9 -0
  185. package/dist/actions/create-image.d.cts.map +1 -0
  186. package/dist/actions/create-image.d.mts +9 -0
  187. package/dist/actions/create-image.d.mts.map +1 -0
  188. package/dist/actions/create-image.mjs +66 -0
  189. package/dist/actions/create-image.mjs.map +1 -0
  190. package/dist/actions/create-message.cjs +93 -0
  191. package/dist/actions/create-message.cjs.map +1 -0
  192. package/dist/actions/create-message.d.cts +9 -0
  193. package/dist/actions/create-message.d.cts.map +1 -0
  194. package/dist/actions/create-message.d.mts +9 -0
  195. package/dist/actions/create-message.d.mts.map +1 -0
  196. package/dist/actions/create-message.mjs +92 -0
  197. package/dist/actions/create-message.mjs.map +1 -0
  198. package/dist/actions/create-moderation.cjs +78 -0
  199. package/dist/actions/create-moderation.cjs.map +1 -0
  200. package/dist/actions/create-moderation.d.cts +9 -0
  201. package/dist/actions/create-moderation.d.cts.map +1 -0
  202. package/dist/actions/create-moderation.d.mts +9 -0
  203. package/dist/actions/create-moderation.d.mts.map +1 -0
  204. package/dist/actions/create-moderation.mjs +77 -0
  205. package/dist/actions/create-moderation.mjs.map +1 -0
  206. package/dist/actions/create-realtime-call.cjs +22 -0
  207. package/dist/actions/create-realtime-call.cjs.map +1 -0
  208. package/dist/actions/create-realtime-call.d.cts +9 -0
  209. package/dist/actions/create-realtime-call.d.cts.map +1 -0
  210. package/dist/actions/create-realtime-call.d.mts +9 -0
  211. package/dist/actions/create-realtime-call.d.mts.map +1 -0
  212. package/dist/actions/create-realtime-call.mjs +19 -0
  213. package/dist/actions/create-realtime-call.mjs.map +1 -0
  214. package/dist/actions/create-realtime-client-secret.cjs +43 -0
  215. package/dist/actions/create-realtime-client-secret.cjs.map +1 -0
  216. package/dist/actions/create-realtime-client-secret.d.cts +9 -0
  217. package/dist/actions/create-realtime-client-secret.d.cts.map +1 -0
  218. package/dist/actions/create-realtime-client-secret.d.mts +9 -0
  219. package/dist/actions/create-realtime-client-secret.d.mts.map +1 -0
  220. package/dist/actions/create-realtime-client-secret.mjs +40 -0
  221. package/dist/actions/create-realtime-client-secret.mjs.map +1 -0
  222. package/dist/actions/create-realtime-session.cjs +90 -0
  223. package/dist/actions/create-realtime-session.cjs.map +1 -0
  224. package/dist/actions/create-realtime-session.d.cts +9 -0
  225. package/dist/actions/create-realtime-session.d.cts.map +1 -0
  226. package/dist/actions/create-realtime-session.d.mts +9 -0
  227. package/dist/actions/create-realtime-session.d.mts.map +1 -0
  228. package/dist/actions/create-realtime-session.mjs +89 -0
  229. package/dist/actions/create-realtime-session.mjs.map +1 -0
  230. package/dist/actions/create-realtime-transcription-session.cjs +62 -0
  231. package/dist/actions/create-realtime-transcription-session.cjs.map +1 -0
  232. package/dist/actions/create-realtime-transcription-session.d.cts +9 -0
  233. package/dist/actions/create-realtime-transcription-session.d.cts.map +1 -0
  234. package/dist/actions/create-realtime-transcription-session.d.mts +9 -0
  235. package/dist/actions/create-realtime-transcription-session.d.mts.map +1 -0
  236. package/dist/actions/create-realtime-transcription-session.mjs +61 -0
  237. package/dist/actions/create-realtime-transcription-session.mjs.map +1 -0
  238. package/dist/actions/create-response.cjs +105 -0
  239. package/dist/actions/create-response.cjs.map +1 -0
  240. package/dist/actions/create-response.d.cts +9 -0
  241. package/dist/actions/create-response.d.cts.map +1 -0
  242. package/dist/actions/create-response.d.mts +9 -0
  243. package/dist/actions/create-response.d.mts.map +1 -0
  244. package/dist/actions/create-response.mjs +104 -0
  245. package/dist/actions/create-response.mjs.map +1 -0
  246. package/dist/actions/create-run.cjs +168 -0
  247. package/dist/actions/create-run.cjs.map +1 -0
  248. package/dist/actions/create-run.d.cts +9 -0
  249. package/dist/actions/create-run.d.cts.map +1 -0
  250. package/dist/actions/create-run.d.mts +9 -0
  251. package/dist/actions/create-run.d.mts.map +1 -0
  252. package/dist/actions/create-run.mjs +167 -0
  253. package/dist/actions/create-run.mjs.map +1 -0
  254. package/dist/actions/create-skill.cjs +32 -0
  255. package/dist/actions/create-skill.cjs.map +1 -0
  256. package/dist/actions/create-skill.d.cts +9 -0
  257. package/dist/actions/create-skill.d.cts.map +1 -0
  258. package/dist/actions/create-skill.d.mts +9 -0
  259. package/dist/actions/create-skill.d.mts.map +1 -0
  260. package/dist/actions/create-skill.mjs +29 -0
  261. package/dist/actions/create-skill.mjs.map +1 -0
  262. package/dist/actions/create-speech.cjs +54 -0
  263. package/dist/actions/create-speech.cjs.map +1 -0
  264. package/dist/actions/create-speech.d.cts +9 -0
  265. package/dist/actions/create-speech.d.cts.map +1 -0
  266. package/dist/actions/create-speech.d.mts +9 -0
  267. package/dist/actions/create-speech.d.mts.map +1 -0
  268. package/dist/actions/create-speech.mjs +53 -0
  269. package/dist/actions/create-speech.mjs.map +1 -0
  270. package/dist/actions/create-thread-and-run.cjs +192 -0
  271. package/dist/actions/create-thread-and-run.cjs.map +1 -0
  272. package/dist/actions/create-thread-and-run.d.cts +9 -0
  273. package/dist/actions/create-thread-and-run.d.cts.map +1 -0
  274. package/dist/actions/create-thread-and-run.d.mts +9 -0
  275. package/dist/actions/create-thread-and-run.d.mts.map +1 -0
  276. package/dist/actions/create-thread-and-run.mjs +191 -0
  277. package/dist/actions/create-thread-and-run.mjs.map +1 -0
  278. package/dist/actions/create-thread.cjs +32 -0
  279. package/dist/actions/create-thread.cjs.map +1 -0
  280. package/dist/actions/create-thread.d.cts +9 -0
  281. package/dist/actions/create-thread.d.cts.map +1 -0
  282. package/dist/actions/create-thread.d.mts +9 -0
  283. package/dist/actions/create-thread.d.mts.map +1 -0
  284. package/dist/actions/create-thread.mjs +31 -0
  285. package/dist/actions/create-thread.mjs.map +1 -0
  286. package/dist/actions/create-upload.cjs +57 -0
  287. package/dist/actions/create-upload.cjs.map +1 -0
  288. package/dist/actions/create-upload.d.cts +9 -0
  289. package/dist/actions/create-upload.d.cts.map +1 -0
  290. package/dist/actions/create-upload.d.mts +9 -0
  291. package/dist/actions/create-upload.d.mts.map +1 -0
  292. package/dist/actions/create-upload.mjs +56 -0
  293. package/dist/actions/create-upload.mjs.map +1 -0
  294. package/dist/actions/create-vector-store-file-batch.cjs +58 -0
  295. package/dist/actions/create-vector-store-file-batch.cjs.map +1 -0
  296. package/dist/actions/create-vector-store-file-batch.d.cts +9 -0
  297. package/dist/actions/create-vector-store-file-batch.d.cts.map +1 -0
  298. package/dist/actions/create-vector-store-file-batch.d.mts +9 -0
  299. package/dist/actions/create-vector-store-file-batch.d.mts.map +1 -0
  300. package/dist/actions/create-vector-store-file-batch.mjs +57 -0
  301. package/dist/actions/create-vector-store-file-batch.mjs.map +1 -0
  302. package/dist/actions/create-vector-store-file.cjs +50 -0
  303. package/dist/actions/create-vector-store-file.cjs.map +1 -0
  304. package/dist/actions/create-vector-store-file.d.cts +9 -0
  305. package/dist/actions/create-vector-store-file.d.cts.map +1 -0
  306. package/dist/actions/create-vector-store-file.d.mts +9 -0
  307. package/dist/actions/create-vector-store-file.d.mts.map +1 -0
  308. package/dist/actions/create-vector-store-file.mjs +49 -0
  309. package/dist/actions/create-vector-store-file.mjs.map +1 -0
  310. package/dist/actions/create-vector-store.cjs +59 -0
  311. package/dist/actions/create-vector-store.cjs.map +1 -0
  312. package/dist/actions/create-vector-store.d.cts +9 -0
  313. package/dist/actions/create-vector-store.d.cts.map +1 -0
  314. package/dist/actions/create-vector-store.d.mts +9 -0
  315. package/dist/actions/create-vector-store.d.mts.map +1 -0
  316. package/dist/actions/create-vector-store.mjs +58 -0
  317. package/dist/actions/create-vector-store.mjs.map +1 -0
  318. package/dist/actions/create-video-remix.cjs +54 -0
  319. package/dist/actions/create-video-remix.cjs.map +1 -0
  320. package/dist/actions/create-video-remix.d.cts +9 -0
  321. package/dist/actions/create-video-remix.d.cts.map +1 -0
  322. package/dist/actions/create-video-remix.d.mts +9 -0
  323. package/dist/actions/create-video-remix.d.mts.map +1 -0
  324. package/dist/actions/create-video-remix.mjs +53 -0
  325. package/dist/actions/create-video-remix.mjs.map +1 -0
  326. package/dist/actions/create-video.cjs +48 -0
  327. package/dist/actions/create-video.cjs.map +1 -0
  328. package/dist/actions/create-video.d.cts +9 -0
  329. package/dist/actions/create-video.d.cts.map +1 -0
  330. package/dist/actions/create-video.d.mts +9 -0
  331. package/dist/actions/create-video.d.mts.map +1 -0
  332. package/dist/actions/create-video.mjs +47 -0
  333. package/dist/actions/create-video.mjs.map +1 -0
  334. package/dist/actions/delete-assistant.cjs +20 -0
  335. package/dist/actions/delete-assistant.cjs.map +1 -0
  336. package/dist/actions/delete-assistant.d.cts +9 -0
  337. package/dist/actions/delete-assistant.d.cts.map +1 -0
  338. package/dist/actions/delete-assistant.d.mts +9 -0
  339. package/dist/actions/delete-assistant.d.mts.map +1 -0
  340. package/dist/actions/delete-assistant.mjs +17 -0
  341. package/dist/actions/delete-assistant.mjs.map +1 -0
  342. package/dist/actions/delete-chat-completion.cjs +20 -0
  343. package/dist/actions/delete-chat-completion.cjs.map +1 -0
  344. package/dist/actions/delete-chat-completion.d.cts +9 -0
  345. package/dist/actions/delete-chat-completion.d.cts.map +1 -0
  346. package/dist/actions/delete-chat-completion.d.mts +9 -0
  347. package/dist/actions/delete-chat-completion.d.mts.map +1 -0
  348. package/dist/actions/delete-chat-completion.mjs +17 -0
  349. package/dist/actions/delete-chat-completion.mjs.map +1 -0
  350. package/dist/actions/delete-container-file.cjs +23 -0
  351. package/dist/actions/delete-container-file.cjs.map +1 -0
  352. package/dist/actions/delete-container-file.d.cts +9 -0
  353. package/dist/actions/delete-container-file.d.cts.map +1 -0
  354. package/dist/actions/delete-container-file.d.mts +9 -0
  355. package/dist/actions/delete-container-file.d.mts.map +1 -0
  356. package/dist/actions/delete-container-file.mjs +20 -0
  357. package/dist/actions/delete-container-file.mjs.map +1 -0
  358. package/dist/actions/delete-container.cjs +20 -0
  359. package/dist/actions/delete-container.cjs.map +1 -0
  360. package/dist/actions/delete-container.d.cts +9 -0
  361. package/dist/actions/delete-container.d.cts.map +1 -0
  362. package/dist/actions/delete-container.d.mts +9 -0
  363. package/dist/actions/delete-container.d.mts.map +1 -0
  364. package/dist/actions/delete-container.mjs +17 -0
  365. package/dist/actions/delete-container.mjs.map +1 -0
  366. package/dist/actions/delete-conversation-item.cjs +24 -0
  367. package/dist/actions/delete-conversation-item.cjs.map +1 -0
  368. package/dist/actions/delete-conversation-item.d.cts +9 -0
  369. package/dist/actions/delete-conversation-item.d.cts.map +1 -0
  370. package/dist/actions/delete-conversation-item.d.mts +9 -0
  371. package/dist/actions/delete-conversation-item.d.mts.map +1 -0
  372. package/dist/actions/delete-conversation-item.mjs +21 -0
  373. package/dist/actions/delete-conversation-item.mjs.map +1 -0
  374. package/dist/actions/delete-conversation.cjs +20 -0
  375. package/dist/actions/delete-conversation.cjs.map +1 -0
  376. package/dist/actions/delete-conversation.d.cts +9 -0
  377. package/dist/actions/delete-conversation.d.cts.map +1 -0
  378. package/dist/actions/delete-conversation.d.mts +9 -0
  379. package/dist/actions/delete-conversation.d.mts.map +1 -0
  380. package/dist/actions/delete-conversation.mjs +17 -0
  381. package/dist/actions/delete-conversation.mjs.map +1 -0
  382. package/dist/actions/delete-eval-run.cjs +23 -0
  383. package/dist/actions/delete-eval-run.cjs.map +1 -0
  384. package/dist/actions/delete-eval-run.d.cts +9 -0
  385. package/dist/actions/delete-eval-run.d.cts.map +1 -0
  386. package/dist/actions/delete-eval-run.d.mts +9 -0
  387. package/dist/actions/delete-eval-run.d.mts.map +1 -0
  388. package/dist/actions/delete-eval-run.mjs +20 -0
  389. package/dist/actions/delete-eval-run.mjs.map +1 -0
  390. package/dist/actions/delete-eval.cjs +20 -0
  391. package/dist/actions/delete-eval.cjs.map +1 -0
  392. package/dist/actions/delete-eval.d.cts +9 -0
  393. package/dist/actions/delete-eval.d.cts.map +1 -0
  394. package/dist/actions/delete-eval.d.mts +9 -0
  395. package/dist/actions/delete-eval.d.mts.map +1 -0
  396. package/dist/actions/delete-eval.mjs +17 -0
  397. package/dist/actions/delete-eval.mjs.map +1 -0
  398. package/dist/actions/delete-file.cjs +20 -0
  399. package/dist/actions/delete-file.cjs.map +1 -0
  400. package/dist/actions/delete-file.d.cts +9 -0
  401. package/dist/actions/delete-file.d.cts.map +1 -0
  402. package/dist/actions/delete-file.d.mts +9 -0
  403. package/dist/actions/delete-file.d.mts.map +1 -0
  404. package/dist/actions/delete-file.mjs +17 -0
  405. package/dist/actions/delete-file.mjs.map +1 -0
  406. package/dist/actions/delete-message.cjs +23 -0
  407. package/dist/actions/delete-message.cjs.map +1 -0
  408. package/dist/actions/delete-message.d.cts +9 -0
  409. package/dist/actions/delete-message.d.cts.map +1 -0
  410. package/dist/actions/delete-message.d.mts +9 -0
  411. package/dist/actions/delete-message.d.mts.map +1 -0
  412. package/dist/actions/delete-message.mjs +20 -0
  413. package/dist/actions/delete-message.mjs.map +1 -0
  414. package/dist/actions/delete-response.cjs +20 -0
  415. package/dist/actions/delete-response.cjs.map +1 -0
  416. package/dist/actions/delete-response.d.cts +9 -0
  417. package/dist/actions/delete-response.d.cts.map +1 -0
  418. package/dist/actions/delete-response.d.mts +9 -0
  419. package/dist/actions/delete-response.d.mts.map +1 -0
  420. package/dist/actions/delete-response.mjs +17 -0
  421. package/dist/actions/delete-response.mjs.map +1 -0
  422. package/dist/actions/delete-skill.cjs +20 -0
  423. package/dist/actions/delete-skill.cjs.map +1 -0
  424. package/dist/actions/delete-skill.d.cts +9 -0
  425. package/dist/actions/delete-skill.d.cts.map +1 -0
  426. package/dist/actions/delete-skill.d.mts +9 -0
  427. package/dist/actions/delete-skill.d.mts.map +1 -0
  428. package/dist/actions/delete-skill.mjs +17 -0
  429. package/dist/actions/delete-skill.mjs.map +1 -0
  430. package/dist/actions/delete-thread.cjs +20 -0
  431. package/dist/actions/delete-thread.cjs.map +1 -0
  432. package/dist/actions/delete-thread.d.cts +9 -0
  433. package/dist/actions/delete-thread.d.cts.map +1 -0
  434. package/dist/actions/delete-thread.d.mts +9 -0
  435. package/dist/actions/delete-thread.d.mts.map +1 -0
  436. package/dist/actions/delete-thread.mjs +17 -0
  437. package/dist/actions/delete-thread.mjs.map +1 -0
  438. package/dist/actions/delete-vector-store-file.cjs +23 -0
  439. package/dist/actions/delete-vector-store-file.cjs.map +1 -0
  440. package/dist/actions/delete-vector-store-file.d.cts +9 -0
  441. package/dist/actions/delete-vector-store-file.d.cts.map +1 -0
  442. package/dist/actions/delete-vector-store-file.d.mts +9 -0
  443. package/dist/actions/delete-vector-store-file.d.mts.map +1 -0
  444. package/dist/actions/delete-vector-store-file.mjs +20 -0
  445. package/dist/actions/delete-vector-store-file.mjs.map +1 -0
  446. package/dist/actions/delete-vector-store.cjs +20 -0
  447. package/dist/actions/delete-vector-store.cjs.map +1 -0
  448. package/dist/actions/delete-vector-store.d.cts +9 -0
  449. package/dist/actions/delete-vector-store.d.cts.map +1 -0
  450. package/dist/actions/delete-vector-store.d.mts +9 -0
  451. package/dist/actions/delete-vector-store.d.mts.map +1 -0
  452. package/dist/actions/delete-vector-store.mjs +17 -0
  453. package/dist/actions/delete-vector-store.mjs.map +1 -0
  454. package/dist/actions/delete-video.cjs +20 -0
  455. package/dist/actions/delete-video.cjs.map +1 -0
  456. package/dist/actions/delete-video.d.cts +9 -0
  457. package/dist/actions/delete-video.d.cts.map +1 -0
  458. package/dist/actions/delete-video.d.mts +9 -0
  459. package/dist/actions/delete-video.d.mts.map +1 -0
  460. package/dist/actions/delete-video.mjs +17 -0
  461. package/dist/actions/delete-video.mjs.map +1 -0
  462. package/dist/actions/download-file.cjs +21 -0
  463. package/dist/actions/download-file.cjs.map +1 -0
  464. package/dist/actions/download-file.d.cts +9 -0
  465. package/dist/actions/download-file.d.cts.map +1 -0
  466. package/dist/actions/download-file.d.mts +9 -0
  467. package/dist/actions/download-file.d.mts.map +1 -0
  468. package/dist/actions/download-file.mjs +20 -0
  469. package/dist/actions/download-file.mjs.map +1 -0
  470. package/dist/actions/download-video.cjs +33 -0
  471. package/dist/actions/download-video.cjs.map +1 -0
  472. package/dist/actions/download-video.d.cts +9 -0
  473. package/dist/actions/download-video.d.cts.map +1 -0
  474. package/dist/actions/download-video.d.mts +9 -0
  475. package/dist/actions/download-video.d.mts.map +1 -0
  476. package/dist/actions/download-video.mjs +32 -0
  477. package/dist/actions/download-video.mjs.map +1 -0
  478. package/dist/actions/get-chat-completion-messages.cjs +38 -0
  479. package/dist/actions/get-chat-completion-messages.cjs.map +1 -0
  480. package/dist/actions/get-chat-completion-messages.d.cts +9 -0
  481. package/dist/actions/get-chat-completion-messages.d.cts.map +1 -0
  482. package/dist/actions/get-chat-completion-messages.d.mts +9 -0
  483. package/dist/actions/get-chat-completion-messages.d.mts.map +1 -0
  484. package/dist/actions/get-chat-completion-messages.mjs +37 -0
  485. package/dist/actions/get-chat-completion-messages.mjs.map +1 -0
  486. package/dist/actions/get-chat-completion.cjs +59 -0
  487. package/dist/actions/get-chat-completion.cjs.map +1 -0
  488. package/dist/actions/get-chat-completion.d.cts +9 -0
  489. package/dist/actions/get-chat-completion.d.cts.map +1 -0
  490. package/dist/actions/get-chat-completion.d.mts +9 -0
  491. package/dist/actions/get-chat-completion.d.mts.map +1 -0
  492. package/dist/actions/get-chat-completion.mjs +58 -0
  493. package/dist/actions/get-chat-completion.mjs.map +1 -0
  494. package/dist/actions/get-chatkit-thread.cjs +36 -0
  495. package/dist/actions/get-chatkit-thread.cjs.map +1 -0
  496. package/dist/actions/get-chatkit-thread.d.cts +9 -0
  497. package/dist/actions/get-chatkit-thread.d.cts.map +1 -0
  498. package/dist/actions/get-chatkit-thread.d.mts +9 -0
  499. package/dist/actions/get-chatkit-thread.d.mts.map +1 -0
  500. package/dist/actions/get-chatkit-thread.mjs +35 -0
  501. package/dist/actions/get-chatkit-thread.mjs.map +1 -0
  502. package/dist/actions/get-conversation-item.cjs +58 -0
  503. package/dist/actions/get-conversation-item.cjs.map +1 -0
  504. package/dist/actions/get-conversation-item.d.cts +9 -0
  505. package/dist/actions/get-conversation-item.d.cts.map +1 -0
  506. package/dist/actions/get-conversation-item.d.mts +9 -0
  507. package/dist/actions/get-conversation-item.d.mts.map +1 -0
  508. package/dist/actions/get-conversation-item.mjs +55 -0
  509. package/dist/actions/get-conversation-item.mjs.map +1 -0
  510. package/dist/actions/get-eval-run-output-item.cjs +60 -0
  511. package/dist/actions/get-eval-run-output-item.cjs.map +1 -0
  512. package/dist/actions/get-eval-run-output-item.d.cts +9 -0
  513. package/dist/actions/get-eval-run-output-item.d.cts.map +1 -0
  514. package/dist/actions/get-eval-run-output-item.d.mts +9 -0
  515. package/dist/actions/get-eval-run-output-item.d.mts.map +1 -0
  516. package/dist/actions/get-eval-run-output-item.mjs +59 -0
  517. package/dist/actions/get-eval-run-output-item.mjs.map +1 -0
  518. package/dist/actions/get-eval-run-output-items.cjs +70 -0
  519. package/dist/actions/get-eval-run-output-items.cjs.map +1 -0
  520. package/dist/actions/get-eval-run-output-items.d.cts +9 -0
  521. package/dist/actions/get-eval-run-output-items.d.cts.map +1 -0
  522. package/dist/actions/get-eval-run-output-items.d.mts +9 -0
  523. package/dist/actions/get-eval-run-output-items.d.mts.map +1 -0
  524. package/dist/actions/get-eval-run-output-items.mjs +69 -0
  525. package/dist/actions/get-eval-run-output-items.mjs.map +1 -0
  526. package/dist/actions/get-eval-run.cjs +87 -0
  527. package/dist/actions/get-eval-run.cjs.map +1 -0
  528. package/dist/actions/get-eval-run.d.cts +9 -0
  529. package/dist/actions/get-eval-run.d.cts.map +1 -0
  530. package/dist/actions/get-eval-run.d.mts +9 -0
  531. package/dist/actions/get-eval-run.d.mts.map +1 -0
  532. package/dist/actions/get-eval-run.mjs +86 -0
  533. package/dist/actions/get-eval-run.mjs.map +1 -0
  534. package/dist/actions/get-eval-runs.cjs +73 -0
  535. package/dist/actions/get-eval-runs.cjs.map +1 -0
  536. package/dist/actions/get-eval-runs.d.cts +9 -0
  537. package/dist/actions/get-eval-runs.d.cts.map +1 -0
  538. package/dist/actions/get-eval-runs.d.mts +9 -0
  539. package/dist/actions/get-eval-runs.d.mts.map +1 -0
  540. package/dist/actions/get-eval-runs.mjs +72 -0
  541. package/dist/actions/get-eval-runs.mjs.map +1 -0
  542. package/dist/actions/get-eval.cjs +24 -0
  543. package/dist/actions/get-eval.cjs.map +1 -0
  544. package/dist/actions/get-eval.d.cts +9 -0
  545. package/dist/actions/get-eval.d.cts.map +1 -0
  546. package/dist/actions/get-eval.d.mts +9 -0
  547. package/dist/actions/get-eval.d.mts.map +1 -0
  548. package/dist/actions/get-eval.mjs +21 -0
  549. package/dist/actions/get-eval.mjs.map +1 -0
  550. package/dist/actions/get-input-token-counts.cjs +38 -0
  551. package/dist/actions/get-input-token-counts.cjs.map +1 -0
  552. package/dist/actions/get-input-token-counts.d.cts +9 -0
  553. package/dist/actions/get-input-token-counts.d.cts.map +1 -0
  554. package/dist/actions/get-input-token-counts.d.mts +9 -0
  555. package/dist/actions/get-input-token-counts.d.mts.map +1 -0
  556. package/dist/actions/get-input-token-counts.mjs +35 -0
  557. package/dist/actions/get-input-token-counts.mjs.map +1 -0
  558. package/dist/actions/get-message.cjs +74 -0
  559. package/dist/actions/get-message.cjs.map +1 -0
  560. package/dist/actions/get-message.d.cts +9 -0
  561. package/dist/actions/get-message.d.cts.map +1 -0
  562. package/dist/actions/get-message.d.mts +9 -0
  563. package/dist/actions/get-message.d.mts.map +1 -0
  564. package/dist/actions/get-message.mjs +73 -0
  565. package/dist/actions/get-message.mjs.map +1 -0
  566. package/dist/actions/get-response.cjs +84 -0
  567. package/dist/actions/get-response.cjs.map +1 -0
  568. package/dist/actions/get-response.d.cts +9 -0
  569. package/dist/actions/get-response.d.cts.map +1 -0
  570. package/dist/actions/get-response.d.mts +9 -0
  571. package/dist/actions/get-response.d.mts.map +1 -0
  572. package/dist/actions/get-response.mjs +83 -0
  573. package/dist/actions/get-response.mjs.map +1 -0
  574. package/dist/actions/get-run-step.cjs +110 -0
  575. package/dist/actions/get-run-step.cjs.map +1 -0
  576. package/dist/actions/get-run-step.d.cts +9 -0
  577. package/dist/actions/get-run-step.d.cts.map +1 -0
  578. package/dist/actions/get-run-step.d.mts +9 -0
  579. package/dist/actions/get-run-step.d.mts.map +1 -0
  580. package/dist/actions/get-run-step.mjs +109 -0
  581. package/dist/actions/get-run-step.mjs.map +1 -0
  582. package/dist/actions/get-vector-store-file-batch.cjs +42 -0
  583. package/dist/actions/get-vector-store-file-batch.cjs.map +1 -0
  584. package/dist/actions/get-vector-store-file-batch.d.cts +9 -0
  585. package/dist/actions/get-vector-store-file-batch.d.cts.map +1 -0
  586. package/dist/actions/get-vector-store-file-batch.d.mts +9 -0
  587. package/dist/actions/get-vector-store-file-batch.d.mts.map +1 -0
  588. package/dist/actions/get-vector-store-file-batch.mjs +41 -0
  589. package/dist/actions/get-vector-store-file-batch.mjs.map +1 -0
  590. package/dist/actions/get-vector-store-file.cjs +44 -0
  591. package/dist/actions/get-vector-store-file.cjs.map +1 -0
  592. package/dist/actions/get-vector-store-file.d.cts +9 -0
  593. package/dist/actions/get-vector-store-file.d.cts.map +1 -0
  594. package/dist/actions/get-vector-store-file.d.mts +9 -0
  595. package/dist/actions/get-vector-store-file.d.mts.map +1 -0
  596. package/dist/actions/get-vector-store-file.mjs +43 -0
  597. package/dist/actions/get-vector-store-file.mjs.map +1 -0
  598. package/dist/actions/get-vector-store.cjs +45 -0
  599. package/dist/actions/get-vector-store.cjs.map +1 -0
  600. package/dist/actions/get-vector-store.d.cts +9 -0
  601. package/dist/actions/get-vector-store.d.cts.map +1 -0
  602. package/dist/actions/get-vector-store.d.mts +9 -0
  603. package/dist/actions/get-vector-store.d.mts.map +1 -0
  604. package/dist/actions/get-vector-store.mjs +44 -0
  605. package/dist/actions/get-vector-store.mjs.map +1 -0
  606. package/dist/actions/get-video.cjs +51 -0
  607. package/dist/actions/get-video.cjs.map +1 -0
  608. package/dist/actions/get-video.d.cts +9 -0
  609. package/dist/actions/get-video.d.cts.map +1 -0
  610. package/dist/actions/get-video.d.mts +9 -0
  611. package/dist/actions/get-video.d.mts.map +1 -0
  612. package/dist/actions/get-video.mjs +50 -0
  613. package/dist/actions/get-video.mjs.map +1 -0
  614. package/dist/actions/index.cjs +253 -0
  615. package/dist/actions/index.d.cts +127 -0
  616. package/dist/actions/index.d.mts +127 -0
  617. package/dist/actions/index.mjs +127 -0
  618. package/dist/actions/list-assistants.cjs +92 -0
  619. package/dist/actions/list-assistants.cjs.map +1 -0
  620. package/dist/actions/list-assistants.d.cts +9 -0
  621. package/dist/actions/list-assistants.d.cts.map +1 -0
  622. package/dist/actions/list-assistants.d.mts +9 -0
  623. package/dist/actions/list-assistants.d.mts.map +1 -0
  624. package/dist/actions/list-assistants.mjs +91 -0
  625. package/dist/actions/list-assistants.mjs.map +1 -0
  626. package/dist/actions/list-batches.cjs +76 -0
  627. package/dist/actions/list-batches.cjs.map +1 -0
  628. package/dist/actions/list-batches.d.cts +9 -0
  629. package/dist/actions/list-batches.d.cts.map +1 -0
  630. package/dist/actions/list-batches.d.mts +9 -0
  631. package/dist/actions/list-batches.d.mts.map +1 -0
  632. package/dist/actions/list-batches.mjs +75 -0
  633. package/dist/actions/list-batches.mjs.map +1 -0
  634. package/dist/actions/list-chat-completions.cjs +51 -0
  635. package/dist/actions/list-chat-completions.cjs.map +1 -0
  636. package/dist/actions/list-chat-completions.d.cts +9 -0
  637. package/dist/actions/list-chat-completions.d.cts.map +1 -0
  638. package/dist/actions/list-chat-completions.d.mts +9 -0
  639. package/dist/actions/list-chat-completions.d.mts.map +1 -0
  640. package/dist/actions/list-chat-completions.mjs +50 -0
  641. package/dist/actions/list-chat-completions.mjs.map +1 -0
  642. package/dist/actions/list-chatkit-thread-items.cjs +48 -0
  643. package/dist/actions/list-chatkit-thread-items.cjs.map +1 -0
  644. package/dist/actions/list-chatkit-thread-items.d.cts +9 -0
  645. package/dist/actions/list-chatkit-thread-items.d.cts.map +1 -0
  646. package/dist/actions/list-chatkit-thread-items.d.mts +9 -0
  647. package/dist/actions/list-chatkit-thread-items.d.mts.map +1 -0
  648. package/dist/actions/list-chatkit-thread-items.mjs +47 -0
  649. package/dist/actions/list-chatkit-thread-items.mjs.map +1 -0
  650. package/dist/actions/list-container-files.cjs +36 -0
  651. package/dist/actions/list-container-files.cjs.map +1 -0
  652. package/dist/actions/list-container-files.d.cts +9 -0
  653. package/dist/actions/list-container-files.d.cts.map +1 -0
  654. package/dist/actions/list-container-files.d.mts +9 -0
  655. package/dist/actions/list-container-files.d.mts.map +1 -0
  656. package/dist/actions/list-container-files.mjs +35 -0
  657. package/dist/actions/list-container-files.mjs.map +1 -0
  658. package/dist/actions/list-containers.cjs +50 -0
  659. package/dist/actions/list-containers.cjs.map +1 -0
  660. package/dist/actions/list-containers.d.cts +9 -0
  661. package/dist/actions/list-containers.d.cts.map +1 -0
  662. package/dist/actions/list-containers.d.mts +9 -0
  663. package/dist/actions/list-containers.d.mts.map +1 -0
  664. package/dist/actions/list-containers.mjs +49 -0
  665. package/dist/actions/list-containers.mjs.map +1 -0
  666. package/dist/actions/list-conversation-items.cjs +67 -0
  667. package/dist/actions/list-conversation-items.cjs.map +1 -0
  668. package/dist/actions/list-conversation-items.d.cts +9 -0
  669. package/dist/actions/list-conversation-items.d.cts.map +1 -0
  670. package/dist/actions/list-conversation-items.d.mts +9 -0
  671. package/dist/actions/list-conversation-items.d.mts.map +1 -0
  672. package/dist/actions/list-conversation-items.mjs +66 -0
  673. package/dist/actions/list-conversation-items.mjs.map +1 -0
  674. package/dist/actions/list-engines.cjs +26 -0
  675. package/dist/actions/list-engines.cjs.map +1 -0
  676. package/dist/actions/list-engines.d.cts +9 -0
  677. package/dist/actions/list-engines.d.cts.map +1 -0
  678. package/dist/actions/list-engines.d.mts +9 -0
  679. package/dist/actions/list-engines.d.mts.map +1 -0
  680. package/dist/actions/list-engines.mjs +25 -0
  681. package/dist/actions/list-engines.mjs.map +1 -0
  682. package/dist/actions/list-evals.cjs +158 -0
  683. package/dist/actions/list-evals.cjs.map +1 -0
  684. package/dist/actions/list-evals.d.cts +9 -0
  685. package/dist/actions/list-evals.d.cts.map +1 -0
  686. package/dist/actions/list-evals.d.mts +9 -0
  687. package/dist/actions/list-evals.d.mts.map +1 -0
  688. package/dist/actions/list-evals.mjs +157 -0
  689. package/dist/actions/list-evals.mjs.map +1 -0
  690. package/dist/actions/list-files-in-vector-store-batch.cjs +61 -0
  691. package/dist/actions/list-files-in-vector-store-batch.cjs.map +1 -0
  692. package/dist/actions/list-files-in-vector-store-batch.d.cts +9 -0
  693. package/dist/actions/list-files-in-vector-store-batch.d.cts.map +1 -0
  694. package/dist/actions/list-files-in-vector-store-batch.d.mts +9 -0
  695. package/dist/actions/list-files-in-vector-store-batch.d.mts.map +1 -0
  696. package/dist/actions/list-files-in-vector-store-batch.mjs +60 -0
  697. package/dist/actions/list-files-in-vector-store-batch.mjs.map +1 -0
  698. package/dist/actions/list-files.cjs +34 -0
  699. package/dist/actions/list-files.cjs.map +1 -0
  700. package/dist/actions/list-files.d.cts +9 -0
  701. package/dist/actions/list-files.d.cts.map +1 -0
  702. package/dist/actions/list-files.d.mts +9 -0
  703. package/dist/actions/list-files.d.mts.map +1 -0
  704. package/dist/actions/list-files.mjs +33 -0
  705. package/dist/actions/list-files.mjs.map +1 -0
  706. package/dist/actions/list-fine-tunes.cjs +61 -0
  707. package/dist/actions/list-fine-tunes.cjs.map +1 -0
  708. package/dist/actions/list-fine-tunes.d.cts +9 -0
  709. package/dist/actions/list-fine-tunes.d.cts.map +1 -0
  710. package/dist/actions/list-fine-tunes.d.mts +9 -0
  711. package/dist/actions/list-fine-tunes.d.mts.map +1 -0
  712. package/dist/actions/list-fine-tunes.mjs +60 -0
  713. package/dist/actions/list-fine-tunes.mjs.map +1 -0
  714. package/dist/actions/list-fine-tuning-events.cjs +33 -0
  715. package/dist/actions/list-fine-tuning-events.cjs.map +1 -0
  716. package/dist/actions/list-fine-tuning-events.d.cts +9 -0
  717. package/dist/actions/list-fine-tuning-events.d.cts.map +1 -0
  718. package/dist/actions/list-fine-tuning-events.d.mts +9 -0
  719. package/dist/actions/list-fine-tuning-events.d.mts.map +1 -0
  720. package/dist/actions/list-fine-tuning-events.mjs +32 -0
  721. package/dist/actions/list-fine-tuning-events.mjs.map +1 -0
  722. package/dist/actions/list-fine-tuning-job-checkpoints.cjs +44 -0
  723. package/dist/actions/list-fine-tuning-job-checkpoints.cjs.map +1 -0
  724. package/dist/actions/list-fine-tuning-job-checkpoints.d.cts +9 -0
  725. package/dist/actions/list-fine-tuning-job-checkpoints.d.cts.map +1 -0
  726. package/dist/actions/list-fine-tuning-job-checkpoints.d.mts +9 -0
  727. package/dist/actions/list-fine-tuning-job-checkpoints.d.mts.map +1 -0
  728. package/dist/actions/list-fine-tuning-job-checkpoints.mjs +43 -0
  729. package/dist/actions/list-fine-tuning-job-checkpoints.mjs.map +1 -0
  730. package/dist/actions/list-input-items.cjs +57 -0
  731. package/dist/actions/list-input-items.cjs.map +1 -0
  732. package/dist/actions/list-input-items.d.cts +9 -0
  733. package/dist/actions/list-input-items.d.cts.map +1 -0
  734. package/dist/actions/list-input-items.d.mts +9 -0
  735. package/dist/actions/list-input-items.d.mts.map +1 -0
  736. package/dist/actions/list-input-items.mjs +56 -0
  737. package/dist/actions/list-input-items.mjs.map +1 -0
  738. package/dist/actions/list-messages.cjs +83 -0
  739. package/dist/actions/list-messages.cjs.map +1 -0
  740. package/dist/actions/list-messages.d.cts +9 -0
  741. package/dist/actions/list-messages.d.cts.map +1 -0
  742. package/dist/actions/list-messages.d.mts +9 -0
  743. package/dist/actions/list-messages.d.mts.map +1 -0
  744. package/dist/actions/list-messages.mjs +82 -0
  745. package/dist/actions/list-messages.mjs.map +1 -0
  746. package/dist/actions/list-models.cjs +42 -0
  747. package/dist/actions/list-models.cjs.map +1 -0
  748. package/dist/actions/list-models.d.cts +9 -0
  749. package/dist/actions/list-models.d.cts.map +1 -0
  750. package/dist/actions/list-models.d.mts +9 -0
  751. package/dist/actions/list-models.d.mts.map +1 -0
  752. package/dist/actions/list-models.mjs +41 -0
  753. package/dist/actions/list-models.mjs.map +1 -0
  754. package/dist/actions/list-run-steps.cjs +120 -0
  755. package/dist/actions/list-run-steps.cjs.map +1 -0
  756. package/dist/actions/list-run-steps.d.cts +9 -0
  757. package/dist/actions/list-run-steps.d.cts.map +1 -0
  758. package/dist/actions/list-run-steps.d.mts +9 -0
  759. package/dist/actions/list-run-steps.d.mts.map +1 -0
  760. package/dist/actions/list-run-steps.mjs +119 -0
  761. package/dist/actions/list-run-steps.mjs.map +1 -0
  762. package/dist/actions/list-runs.cjs +85 -0
  763. package/dist/actions/list-runs.cjs.map +1 -0
  764. package/dist/actions/list-runs.d.cts +9 -0
  765. package/dist/actions/list-runs.d.cts.map +1 -0
  766. package/dist/actions/list-runs.d.mts +9 -0
  767. package/dist/actions/list-runs.d.mts.map +1 -0
  768. package/dist/actions/list-runs.mjs +84 -0
  769. package/dist/actions/list-runs.mjs.map +1 -0
  770. package/dist/actions/list-skills.cjs +35 -0
  771. package/dist/actions/list-skills.cjs.map +1 -0
  772. package/dist/actions/list-skills.d.cts +9 -0
  773. package/dist/actions/list-skills.d.cts.map +1 -0
  774. package/dist/actions/list-skills.d.mts +9 -0
  775. package/dist/actions/list-skills.d.mts.map +1 -0
  776. package/dist/actions/list-skills.mjs +34 -0
  777. package/dist/actions/list-skills.mjs.map +1 -0
  778. package/dist/actions/list-threads.cjs +37 -0
  779. package/dist/actions/list-threads.cjs.map +1 -0
  780. package/dist/actions/list-threads.d.cts +9 -0
  781. package/dist/actions/list-threads.d.cts.map +1 -0
  782. package/dist/actions/list-threads.d.mts +9 -0
  783. package/dist/actions/list-threads.d.mts.map +1 -0
  784. package/dist/actions/list-threads.mjs +36 -0
  785. package/dist/actions/list-threads.mjs.map +1 -0
  786. package/dist/actions/list-vector-store-files.cjs +55 -0
  787. package/dist/actions/list-vector-store-files.cjs.map +1 -0
  788. package/dist/actions/list-vector-store-files.d.cts +9 -0
  789. package/dist/actions/list-vector-store-files.d.cts.map +1 -0
  790. package/dist/actions/list-vector-store-files.d.mts +9 -0
  791. package/dist/actions/list-vector-store-files.d.mts.map +1 -0
  792. package/dist/actions/list-vector-store-files.mjs +54 -0
  793. package/dist/actions/list-vector-store-files.mjs.map +1 -0
  794. package/dist/actions/list-vector-stores.cjs +57 -0
  795. package/dist/actions/list-vector-stores.cjs.map +1 -0
  796. package/dist/actions/list-vector-stores.d.cts +9 -0
  797. package/dist/actions/list-vector-stores.d.cts.map +1 -0
  798. package/dist/actions/list-vector-stores.d.mts +9 -0
  799. package/dist/actions/list-vector-stores.d.mts.map +1 -0
  800. package/dist/actions/list-vector-stores.mjs +56 -0
  801. package/dist/actions/list-vector-stores.mjs.map +1 -0
  802. package/dist/actions/list-videos.cjs +62 -0
  803. package/dist/actions/list-videos.cjs.map +1 -0
  804. package/dist/actions/list-videos.d.cts +9 -0
  805. package/dist/actions/list-videos.d.cts.map +1 -0
  806. package/dist/actions/list-videos.d.mts +9 -0
  807. package/dist/actions/list-videos.d.mts.map +1 -0
  808. package/dist/actions/list-videos.mjs +61 -0
  809. package/dist/actions/list-videos.mjs.map +1 -0
  810. package/dist/actions/modify-assistant.cjs +45 -0
  811. package/dist/actions/modify-assistant.cjs.map +1 -0
  812. package/dist/actions/modify-assistant.d.cts +9 -0
  813. package/dist/actions/modify-assistant.d.cts.map +1 -0
  814. package/dist/actions/modify-assistant.d.mts +9 -0
  815. package/dist/actions/modify-assistant.d.mts.map +1 -0
  816. package/dist/actions/modify-assistant.mjs +42 -0
  817. package/dist/actions/modify-assistant.mjs.map +1 -0
  818. package/dist/actions/modify-message.cjs +74 -0
  819. package/dist/actions/modify-message.cjs.map +1 -0
  820. package/dist/actions/modify-message.d.cts +9 -0
  821. package/dist/actions/modify-message.d.cts.map +1 -0
  822. package/dist/actions/modify-message.d.mts +9 -0
  823. package/dist/actions/modify-message.d.mts.map +1 -0
  824. package/dist/actions/modify-message.mjs +73 -0
  825. package/dist/actions/modify-message.mjs.map +1 -0
  826. package/dist/actions/modify-run.cjs +80 -0
  827. package/dist/actions/modify-run.cjs.map +1 -0
  828. package/dist/actions/modify-run.d.cts +9 -0
  829. package/dist/actions/modify-run.d.cts.map +1 -0
  830. package/dist/actions/modify-run.d.mts +9 -0
  831. package/dist/actions/modify-run.d.mts.map +1 -0
  832. package/dist/actions/modify-run.mjs +79 -0
  833. package/dist/actions/modify-run.mjs.map +1 -0
  834. package/dist/actions/modify-thread.cjs +24 -0
  835. package/dist/actions/modify-thread.cjs.map +1 -0
  836. package/dist/actions/modify-thread.d.cts +9 -0
  837. package/dist/actions/modify-thread.d.cts.map +1 -0
  838. package/dist/actions/modify-thread.d.mts +9 -0
  839. package/dist/actions/modify-thread.d.mts.map +1 -0
  840. package/dist/actions/modify-thread.mjs +21 -0
  841. package/dist/actions/modify-thread.mjs.map +1 -0
  842. package/dist/actions/modify-vector-store.cjs +53 -0
  843. package/dist/actions/modify-vector-store.cjs.map +1 -0
  844. package/dist/actions/modify-vector-store.d.cts +9 -0
  845. package/dist/actions/modify-vector-store.d.cts.map +1 -0
  846. package/dist/actions/modify-vector-store.d.mts +9 -0
  847. package/dist/actions/modify-vector-store.d.mts.map +1 -0
  848. package/dist/actions/modify-vector-store.mjs +52 -0
  849. package/dist/actions/modify-vector-store.mjs.map +1 -0
  850. package/dist/actions/retrieve-assistant.cjs +37 -0
  851. package/dist/actions/retrieve-assistant.cjs.map +1 -0
  852. package/dist/actions/retrieve-assistant.d.cts +9 -0
  853. package/dist/actions/retrieve-assistant.d.cts.map +1 -0
  854. package/dist/actions/retrieve-assistant.d.mts +9 -0
  855. package/dist/actions/retrieve-assistant.d.mts.map +1 -0
  856. package/dist/actions/retrieve-assistant.mjs +36 -0
  857. package/dist/actions/retrieve-assistant.mjs.map +1 -0
  858. package/dist/actions/retrieve-batch.cjs +66 -0
  859. package/dist/actions/retrieve-batch.cjs.map +1 -0
  860. package/dist/actions/retrieve-batch.d.cts +9 -0
  861. package/dist/actions/retrieve-batch.d.cts.map +1 -0
  862. package/dist/actions/retrieve-batch.d.mts +9 -0
  863. package/dist/actions/retrieve-batch.d.mts.map +1 -0
  864. package/dist/actions/retrieve-batch.mjs +65 -0
  865. package/dist/actions/retrieve-batch.mjs.map +1 -0
  866. package/dist/actions/retrieve-container-file-content.cjs +24 -0
  867. package/dist/actions/retrieve-container-file-content.cjs.map +1 -0
  868. package/dist/actions/retrieve-container-file-content.d.cts +9 -0
  869. package/dist/actions/retrieve-container-file-content.d.cts.map +1 -0
  870. package/dist/actions/retrieve-container-file-content.d.mts +9 -0
  871. package/dist/actions/retrieve-container-file-content.d.mts.map +1 -0
  872. package/dist/actions/retrieve-container-file-content.mjs +23 -0
  873. package/dist/actions/retrieve-container-file-content.mjs.map +1 -0
  874. package/dist/actions/retrieve-container-file.cjs +27 -0
  875. package/dist/actions/retrieve-container-file.cjs.map +1 -0
  876. package/dist/actions/retrieve-container-file.d.cts +9 -0
  877. package/dist/actions/retrieve-container-file.d.cts.map +1 -0
  878. package/dist/actions/retrieve-container-file.d.mts +9 -0
  879. package/dist/actions/retrieve-container-file.d.mts.map +1 -0
  880. package/dist/actions/retrieve-container-file.mjs +24 -0
  881. package/dist/actions/retrieve-container-file.mjs.map +1 -0
  882. package/dist/actions/retrieve-container.cjs +42 -0
  883. package/dist/actions/retrieve-container.cjs.map +1 -0
  884. package/dist/actions/retrieve-container.d.cts +9 -0
  885. package/dist/actions/retrieve-container.d.cts.map +1 -0
  886. package/dist/actions/retrieve-container.d.mts +9 -0
  887. package/dist/actions/retrieve-container.d.mts.map +1 -0
  888. package/dist/actions/retrieve-container.mjs +41 -0
  889. package/dist/actions/retrieve-container.mjs.map +1 -0
  890. package/dist/actions/retrieve-engine.cjs +22 -0
  891. package/dist/actions/retrieve-engine.cjs.map +1 -0
  892. package/dist/actions/retrieve-engine.d.cts +9 -0
  893. package/dist/actions/retrieve-engine.d.cts.map +1 -0
  894. package/dist/actions/retrieve-engine.d.mts +9 -0
  895. package/dist/actions/retrieve-engine.d.mts.map +1 -0
  896. package/dist/actions/retrieve-engine.mjs +19 -0
  897. package/dist/actions/retrieve-engine.mjs.map +1 -0
  898. package/dist/actions/retrieve-file.cjs +41 -0
  899. package/dist/actions/retrieve-file.cjs.map +1 -0
  900. package/dist/actions/retrieve-file.d.cts +9 -0
  901. package/dist/actions/retrieve-file.d.cts.map +1 -0
  902. package/dist/actions/retrieve-file.d.mts +9 -0
  903. package/dist/actions/retrieve-file.d.mts.map +1 -0
  904. package/dist/actions/retrieve-file.mjs +40 -0
  905. package/dist/actions/retrieve-file.mjs.map +1 -0
  906. package/dist/actions/retrieve-fine-tuning-job.cjs +65 -0
  907. package/dist/actions/retrieve-fine-tuning-job.cjs.map +1 -0
  908. package/dist/actions/retrieve-fine-tuning-job.d.cts +9 -0
  909. package/dist/actions/retrieve-fine-tuning-job.d.cts.map +1 -0
  910. package/dist/actions/retrieve-fine-tuning-job.d.mts +9 -0
  911. package/dist/actions/retrieve-fine-tuning-job.d.mts.map +1 -0
  912. package/dist/actions/retrieve-fine-tuning-job.mjs +64 -0
  913. package/dist/actions/retrieve-fine-tuning-job.mjs.map +1 -0
  914. package/dist/actions/retrieve-model.cjs +38 -0
  915. package/dist/actions/retrieve-model.cjs.map +1 -0
  916. package/dist/actions/retrieve-model.d.cts +9 -0
  917. package/dist/actions/retrieve-model.d.cts.map +1 -0
  918. package/dist/actions/retrieve-model.d.mts +9 -0
  919. package/dist/actions/retrieve-model.d.mts.map +1 -0
  920. package/dist/actions/retrieve-model.mjs +37 -0
  921. package/dist/actions/retrieve-model.mjs.map +1 -0
  922. package/dist/actions/retrieve-run.cjs +76 -0
  923. package/dist/actions/retrieve-run.cjs.map +1 -0
  924. package/dist/actions/retrieve-run.d.cts +9 -0
  925. package/dist/actions/retrieve-run.d.cts.map +1 -0
  926. package/dist/actions/retrieve-run.d.mts +9 -0
  927. package/dist/actions/retrieve-run.d.mts.map +1 -0
  928. package/dist/actions/retrieve-run.mjs +75 -0
  929. package/dist/actions/retrieve-run.mjs.map +1 -0
  930. package/dist/actions/retrieve-thread.cjs +21 -0
  931. package/dist/actions/retrieve-thread.cjs.map +1 -0
  932. package/dist/actions/retrieve-thread.d.cts +9 -0
  933. package/dist/actions/retrieve-thread.d.cts.map +1 -0
  934. package/dist/actions/retrieve-thread.d.mts +9 -0
  935. package/dist/actions/retrieve-thread.d.mts.map +1 -0
  936. package/dist/actions/retrieve-thread.mjs +18 -0
  937. package/dist/actions/retrieve-thread.mjs.map +1 -0
  938. package/dist/actions/retrieve-vector-store-file-content.cjs +28 -0
  939. package/dist/actions/retrieve-vector-store-file-content.cjs.map +1 -0
  940. package/dist/actions/retrieve-vector-store-file-content.d.cts +9 -0
  941. package/dist/actions/retrieve-vector-store-file-content.d.cts.map +1 -0
  942. package/dist/actions/retrieve-vector-store-file-content.d.mts +9 -0
  943. package/dist/actions/retrieve-vector-store-file-content.d.mts.map +1 -0
  944. package/dist/actions/retrieve-vector-store-file-content.mjs +27 -0
  945. package/dist/actions/retrieve-vector-store-file-content.mjs.map +1 -0
  946. package/dist/actions/run-grader.cjs +102 -0
  947. package/dist/actions/run-grader.cjs.map +1 -0
  948. package/dist/actions/run-grader.d.cts +9 -0
  949. package/dist/actions/run-grader.d.cts.map +1 -0
  950. package/dist/actions/run-grader.d.mts +9 -0
  951. package/dist/actions/run-grader.d.mts.map +1 -0
  952. package/dist/actions/run-grader.mjs +101 -0
  953. package/dist/actions/run-grader.mjs.map +1 -0
  954. package/dist/actions/search-vector-store.cjs +47 -0
  955. package/dist/actions/search-vector-store.cjs.map +1 -0
  956. package/dist/actions/search-vector-store.d.cts +9 -0
  957. package/dist/actions/search-vector-store.d.cts.map +1 -0
  958. package/dist/actions/search-vector-store.d.mts +9 -0
  959. package/dist/actions/search-vector-store.d.mts.map +1 -0
  960. package/dist/actions/search-vector-store.mjs +46 -0
  961. package/dist/actions/search-vector-store.mjs.map +1 -0
  962. package/dist/actions/submit-tool-outputs-to-run.cjs +84 -0
  963. package/dist/actions/submit-tool-outputs-to-run.cjs.map +1 -0
  964. package/dist/actions/submit-tool-outputs-to-run.d.cts +9 -0
  965. package/dist/actions/submit-tool-outputs-to-run.d.cts.map +1 -0
  966. package/dist/actions/submit-tool-outputs-to-run.d.mts +9 -0
  967. package/dist/actions/submit-tool-outputs-to-run.d.mts.map +1 -0
  968. package/dist/actions/submit-tool-outputs-to-run.mjs +83 -0
  969. package/dist/actions/submit-tool-outputs-to-run.mjs.map +1 -0
  970. package/dist/actions/update-chat-completion.cjs +62 -0
  971. package/dist/actions/update-chat-completion.cjs.map +1 -0
  972. package/dist/actions/update-chat-completion.d.cts +9 -0
  973. package/dist/actions/update-chat-completion.d.cts.map +1 -0
  974. package/dist/actions/update-chat-completion.d.mts +9 -0
  975. package/dist/actions/update-chat-completion.d.mts.map +1 -0
  976. package/dist/actions/update-chat-completion.mjs +61 -0
  977. package/dist/actions/update-chat-completion.mjs.map +1 -0
  978. package/dist/actions/update-conversation.cjs +24 -0
  979. package/dist/actions/update-conversation.cjs.map +1 -0
  980. package/dist/actions/update-conversation.d.cts +9 -0
  981. package/dist/actions/update-conversation.d.cts.map +1 -0
  982. package/dist/actions/update-conversation.d.mts +9 -0
  983. package/dist/actions/update-conversation.d.mts.map +1 -0
  984. package/dist/actions/update-conversation.mjs +21 -0
  985. package/dist/actions/update-conversation.mjs.map +1 -0
  986. package/dist/actions/update-eval.cjs +28 -0
  987. package/dist/actions/update-eval.cjs.map +1 -0
  988. package/dist/actions/update-eval.d.cts +9 -0
  989. package/dist/actions/update-eval.d.cts.map +1 -0
  990. package/dist/actions/update-eval.d.mts +9 -0
  991. package/dist/actions/update-eval.d.mts.map +1 -0
  992. package/dist/actions/update-eval.mjs +25 -0
  993. package/dist/actions/update-eval.mjs.map +1 -0
  994. package/dist/actions/update-vector-store-file-attributes.cjs +45 -0
  995. package/dist/actions/update-vector-store-file-attributes.cjs.map +1 -0
  996. package/dist/actions/update-vector-store-file-attributes.d.cts +9 -0
  997. package/dist/actions/update-vector-store-file-attributes.d.cts.map +1 -0
  998. package/dist/actions/update-vector-store-file-attributes.d.mts +9 -0
  999. package/dist/actions/update-vector-store-file-attributes.d.mts.map +1 -0
  1000. package/dist/actions/update-vector-store-file-attributes.mjs +44 -0
  1001. package/dist/actions/update-vector-store-file-attributes.mjs.map +1 -0
  1002. package/dist/actions/upload-file.cjs +28 -0
  1003. package/dist/actions/upload-file.cjs.map +1 -0
  1004. package/dist/actions/upload-file.d.cts +9 -0
  1005. package/dist/actions/upload-file.d.cts.map +1 -0
  1006. package/dist/actions/upload-file.d.mts +9 -0
  1007. package/dist/actions/upload-file.d.mts.map +1 -0
  1008. package/dist/actions/upload-file.mjs +25 -0
  1009. package/dist/actions/upload-file.mjs.map +1 -0
  1010. package/dist/actions/validate-grader.cjs +71 -0
  1011. package/dist/actions/validate-grader.cjs.map +1 -0
  1012. package/dist/actions/validate-grader.d.cts +9 -0
  1013. package/dist/actions/validate-grader.d.cts.map +1 -0
  1014. package/dist/actions/validate-grader.d.mts +9 -0
  1015. package/dist/actions/validate-grader.d.mts.map +1 -0
  1016. package/dist/actions/validate-grader.mjs +70 -0
  1017. package/dist/actions/validate-grader.mjs.map +1 -0
  1018. package/dist/app.cjs +9 -0
  1019. package/dist/app.cjs.map +1 -0
  1020. package/dist/app.d.cts +5 -0
  1021. package/dist/app.d.cts.map +1 -0
  1022. package/dist/app.d.mts +5 -0
  1023. package/dist/app.d.mts.map +1 -0
  1024. package/dist/app.mjs +10 -0
  1025. package/dist/app.mjs.map +1 -0
  1026. package/dist/catalog.cjs +15 -0
  1027. package/dist/catalog.cjs.map +1 -0
  1028. package/dist/catalog.d.cts +14 -0
  1029. package/dist/catalog.d.cts.map +1 -0
  1030. package/dist/catalog.d.mts +14 -0
  1031. package/dist/catalog.d.mts.map +1 -0
  1032. package/dist/catalog.mjs +15 -0
  1033. package/dist/catalog.mjs.map +1 -0
  1034. package/dist/execute.cjs +18 -0
  1035. package/dist/execute.cjs.map +1 -0
  1036. package/dist/execute.mjs +18 -0
  1037. package/dist/execute.mjs.map +1 -0
  1038. package/dist/index.cjs +258 -0
  1039. package/dist/index.d.cts +129 -0
  1040. package/dist/index.d.mts +129 -0
  1041. package/dist/index.mjs +130 -0
  1042. package/package.json +49 -0
@@ -0,0 +1,80 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/modify-run.ts
4
+ const OpenaiModifyRunInput = zod.z.object({
5
+ run_id: zod.z.string().describe("The ID of the run to modify"),
6
+ metadata: zod.z.object({}).describe("Set of up to 16 key-value pairs that can be attached to the run. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. This can be useful for storing additional information about the run in a structured format").optional(),
7
+ thread_id: zod.z.string().describe("The ID of the thread that was run")
8
+ }).describe("Request model for modifying a run.");
9
+ const OpenaiModifyRun_UsageSchema = zod.z.object({
10
+ total_tokens: zod.z.number().int().describe("Total tokens used"),
11
+ prompt_tokens: zod.z.number().int().describe("Number of prompt tokens used"),
12
+ completion_tokens: zod.z.number().int().describe("Number of completion tokens used")
13
+ }).describe("Usage statistics for the run.");
14
+ const OpenaiModifyRun_LastErrorSchema = zod.z.object({
15
+ code: zod.z.enum([
16
+ "server_error",
17
+ "rate_limit_exceeded",
18
+ "invalid_prompt"
19
+ ]).describe("One of server_error, rate_limit_exceeded, or invalid_prompt"),
20
+ message: zod.z.string().describe("A human-readable description of the error")
21
+ }).describe("Last error associated with the run.");
22
+ const OpenaiModifyRun_RequiredActionSchema = zod.z.object({
23
+ type: zod.z.string().describe("For now, this is always submit_tool_outputs"),
24
+ submit_tool_outputs: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Details on the tool outputs needed for this run to continue")
25
+ }).describe("Details on the action required to continue the run.");
26
+ const OpenaiModifyRun_IncompleteDetailsSchema = zod.z.object({ reason: zod.z.enum(["max_completion_tokens", "max_prompt_tokens"]).describe("The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run").nullable().optional() }).describe("Details on why the run is incomplete.");
27
+ const OpenaiModifyRun_TruncationStrategySchema = zod.z.object({
28
+ type: zod.z.string().describe("Truncation strategy type"),
29
+ last_messages: zod.z.unknown().describe("Number of most recent messages to retain").nullable().optional()
30
+ }).describe("Thread truncation controls.");
31
+ const OpenaiModifyRunOutput = zod.z.object({
32
+ id: zod.z.string().describe("The identifier, which can be referenced in API endpoints"),
33
+ model: zod.z.string().describe("The model that the assistant used for this run"),
34
+ tools: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("The list of tools that the assistant used for this run"),
35
+ top_p: zod.z.number().describe("The nucleus sampling value used for this run. If not set, defaults to 1").nullable().optional(),
36
+ usage: OpenaiModifyRun_UsageSchema.nullable().optional(),
37
+ object: zod.z.string().describe("The object type, which is always thread.run"),
38
+ status: zod.z.enum([
39
+ "queued",
40
+ "in_progress",
41
+ "requires_action",
42
+ "cancelling",
43
+ "cancelled",
44
+ "failed",
45
+ "completed",
46
+ "incomplete",
47
+ "expired"
48
+ ]).describe("The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, incomplete, or expired"),
49
+ metadata: zod.z.object({}).describe("Set of 16 key-value pairs for storing additional information").nullable().optional(),
50
+ failed_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the run failed").nullable().optional(),
51
+ thread_id: zod.z.string().describe("The ID of the thread that was executed on as a part of this run"),
52
+ created_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the run was created"),
53
+ expires_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the run will expire").nullable().optional(),
54
+ last_error: OpenaiModifyRun_LastErrorSchema.nullable().optional(),
55
+ started_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the run was started").nullable().optional(),
56
+ temperature: zod.z.number().describe("The sampling temperature used for this run. If not set, defaults to 1").nullable().optional(),
57
+ tool_choice: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
58
+ assistant_id: zod.z.string().describe("The ID of the assistant used for execution of this run"),
59
+ cancelled_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the run was cancelled").nullable().optional(),
60
+ completed_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the run was completed").nullable().optional(),
61
+ instructions: zod.z.string().describe("The instructions that the assistant used for this run").nullable().optional(),
62
+ required_action: OpenaiModifyRun_RequiredActionSchema.nullable().optional(),
63
+ response_format: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
64
+ max_prompt_tokens: zod.z.number().int().describe("The maximum number of prompt tokens specified to have been used over the course of the run").nullable().optional(),
65
+ incomplete_details: OpenaiModifyRun_IncompleteDetailsSchema.nullable().optional(),
66
+ parallel_tool_calls: zod.z.boolean().describe("Whether to enable parallel function calling during tool use"),
67
+ truncation_strategy: OpenaiModifyRun_TruncationStrategySchema.nullable().optional(),
68
+ max_completion_tokens: zod.z.number().int().describe("The maximum number of completion tokens specified to have been used over the course of the run").nullable().optional()
69
+ }).describe("Response schema for a modified run.");
70
+ const openaiModifyRun = require_action.action("OPENAI_MODIFY_RUN", {
71
+ slug: "openai-modify-run",
72
+ name: "Modify Run",
73
+ description: "Tool to modify a run's metadata. Use when you need to update metadata information for a specific run.",
74
+ input: OpenaiModifyRunInput,
75
+ output: OpenaiModifyRunOutput
76
+ });
77
+ //#endregion
78
+ exports.openaiModifyRun = openaiModifyRun;
79
+
80
+ //# sourceMappingURL=modify-run.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modify-run.cjs","names":["z","action"],"sources":["../../src/actions/modify-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyRunInput: z.ZodTypeAny = z.object({\n run_id: z.string().describe(\"The ID of the run to modify\"),\n metadata: z.object({}).describe(\"Set of up to 16 key-value pairs that can be attached to the run. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. This can be useful for storing additional information about the run in a structured format\").optional(),\n thread_id: z.string().describe(\"The ID of the thread that was run\"),\n}).describe(\"Request model for modifying a run.\");\nconst OpenaiModifyRun_UsageSchema: z.ZodTypeAny = z.object({\n total_tokens: z.number().int().describe(\"Total tokens used\"),\n prompt_tokens: z.number().int().describe(\"Number of prompt tokens used\"),\n completion_tokens: z.number().int().describe(\"Number of completion tokens used\"),\n}).describe(\"Usage statistics for the run.\");\nconst OpenaiModifyRun_LastErrorSchema: z.ZodTypeAny = z.object({\n code: z.enum([\"server_error\", \"rate_limit_exceeded\", \"invalid_prompt\"]).describe(\"One of server_error, rate_limit_exceeded, or invalid_prompt\"),\n message: z.string().describe(\"A human-readable description of the error\"),\n}).describe(\"Last error associated with the run.\");\nconst OpenaiModifyRun_RequiredActionSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"For now, this is always submit_tool_outputs\"),\n submit_tool_outputs: z.record(z.string(), z.unknown()).describe(\"Details on the tool outputs needed for this run to continue\"),\n}).describe(\"Details on the action required to continue the run.\");\nconst OpenaiModifyRun_IncompleteDetailsSchema: z.ZodTypeAny = z.object({\n reason: z.enum([\"max_completion_tokens\", \"max_prompt_tokens\"]).describe(\"The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run\").nullable().optional(),\n}).describe(\"Details on why the run is incomplete.\");\nconst OpenaiModifyRun_TruncationStrategySchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Truncation strategy type\"),\n last_messages: z.unknown().describe(\"Number of most recent messages to retain\").nullable().optional(),\n}).describe(\"Thread truncation controls.\");\nexport const OpenaiModifyRunOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\"),\n model: z.string().describe(\"The model that the assistant used for this run\"),\n tools: z.array(z.record(z.string(), z.unknown())).describe(\"The list of tools that the assistant used for this run\"),\n top_p: z.number().describe(\"The nucleus sampling value used for this run. If not set, defaults to 1\").nullable().optional(),\n usage: OpenaiModifyRun_UsageSchema.nullable().optional(),\n object: z.string().describe(\"The object type, which is always thread.run\"),\n status: z.enum([\"queued\", \"in_progress\", \"requires_action\", \"cancelling\", \"cancelled\", \"failed\", \"completed\", \"incomplete\", \"expired\"]).describe(\"The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, incomplete, or expired\"),\n metadata: z.object({}).describe(\"Set of 16 key-value pairs for storing additional information\").nullable().optional(),\n failed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run failed\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the thread that was executed on as a part of this run\"),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was created\"),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run will expire\").nullable().optional(),\n last_error: OpenaiModifyRun_LastErrorSchema.nullable().optional(),\n started_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was started\").nullable().optional(),\n temperature: z.number().describe(\"The sampling temperature used for this run. If not set, defaults to 1\").nullable().optional(),\n tool_choice: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n assistant_id: z.string().describe(\"The ID of the assistant used for execution of this run\"),\n cancelled_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was cancelled\").nullable().optional(),\n completed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was completed\").nullable().optional(),\n instructions: z.string().describe(\"The instructions that the assistant used for this run\").nullable().optional(),\n required_action: OpenaiModifyRun_RequiredActionSchema.nullable().optional(),\n response_format: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n max_prompt_tokens: z.number().int().describe(\"The maximum number of prompt tokens specified to have been used over the course of the run\").nullable().optional(),\n incomplete_details: OpenaiModifyRun_IncompleteDetailsSchema.nullable().optional(),\n parallel_tool_calls: z.boolean().describe(\"Whether to enable parallel function calling during tool use\"),\n truncation_strategy: OpenaiModifyRun_TruncationStrategySchema.nullable().optional(),\n max_completion_tokens: z.number().int().describe(\"The maximum number of completion tokens specified to have been used over the course of the run\").nullable().optional(),\n}).describe(\"Response schema for a modified run.\");\n\nexport const openaiModifyRun = action(\"OPENAI_MODIFY_RUN\", {\n slug: \"openai-modify-run\",\n name: \"Modify Run\",\n description: \"Tool to modify a run's metadata. Use when you need to update metadata information for a specific run.\",\n input: OpenaiModifyRunInput,\n output: OpenaiModifyRunOutput,\n});\n"],"mappings":"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"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/modify-run.d.ts
4
+ declare const OpenaiModifyRunInput: z.ZodTypeAny;
5
+ declare const OpenaiModifyRunOutput: z.ZodTypeAny;
6
+ declare const openaiModifyRun: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { openaiModifyRun };
9
+ //# sourceMappingURL=modify-run.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modify-run.d.cts","names":[],"sources":["../../src/actions/modify-run.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAIY;AAAA,cAqBpC,qBAAA,EAAuB,CAAA,CAAE,UA4BY;AAAA,cAErC,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/modify-run.d.ts
4
+ declare const OpenaiModifyRunInput: z.ZodTypeAny;
5
+ declare const OpenaiModifyRunOutput: z.ZodTypeAny;
6
+ declare const openaiModifyRun: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { openaiModifyRun };
9
+ //# sourceMappingURL=modify-run.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modify-run.d.mts","names":[],"sources":["../../src/actions/modify-run.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAIY;AAAA,cAqBpC,qBAAA,EAAuB,CAAA,CAAE,UA4BY;AAAA,cAErC,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,79 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/modify-run.ts
4
+ const OpenaiModifyRunInput = z.object({
5
+ run_id: z.string().describe("The ID of the run to modify"),
6
+ metadata: z.object({}).describe("Set of up to 16 key-value pairs that can be attached to the run. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. This can be useful for storing additional information about the run in a structured format").optional(),
7
+ thread_id: z.string().describe("The ID of the thread that was run")
8
+ }).describe("Request model for modifying a run.");
9
+ const OpenaiModifyRun_UsageSchema = z.object({
10
+ total_tokens: z.number().int().describe("Total tokens used"),
11
+ prompt_tokens: z.number().int().describe("Number of prompt tokens used"),
12
+ completion_tokens: z.number().int().describe("Number of completion tokens used")
13
+ }).describe("Usage statistics for the run.");
14
+ const OpenaiModifyRun_LastErrorSchema = z.object({
15
+ code: z.enum([
16
+ "server_error",
17
+ "rate_limit_exceeded",
18
+ "invalid_prompt"
19
+ ]).describe("One of server_error, rate_limit_exceeded, or invalid_prompt"),
20
+ message: z.string().describe("A human-readable description of the error")
21
+ }).describe("Last error associated with the run.");
22
+ const OpenaiModifyRun_RequiredActionSchema = z.object({
23
+ type: z.string().describe("For now, this is always submit_tool_outputs"),
24
+ submit_tool_outputs: z.record(z.string(), z.unknown()).describe("Details on the tool outputs needed for this run to continue")
25
+ }).describe("Details on the action required to continue the run.");
26
+ const OpenaiModifyRun_IncompleteDetailsSchema = z.object({ reason: z.enum(["max_completion_tokens", "max_prompt_tokens"]).describe("The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run").nullable().optional() }).describe("Details on why the run is incomplete.");
27
+ const OpenaiModifyRun_TruncationStrategySchema = z.object({
28
+ type: z.string().describe("Truncation strategy type"),
29
+ last_messages: z.unknown().describe("Number of most recent messages to retain").nullable().optional()
30
+ }).describe("Thread truncation controls.");
31
+ const openaiModifyRun = action("OPENAI_MODIFY_RUN", {
32
+ slug: "openai-modify-run",
33
+ name: "Modify Run",
34
+ description: "Tool to modify a run's metadata. Use when you need to update metadata information for a specific run.",
35
+ input: OpenaiModifyRunInput,
36
+ output: z.object({
37
+ id: z.string().describe("The identifier, which can be referenced in API endpoints"),
38
+ model: z.string().describe("The model that the assistant used for this run"),
39
+ tools: z.array(z.record(z.string(), z.unknown())).describe("The list of tools that the assistant used for this run"),
40
+ top_p: z.number().describe("The nucleus sampling value used for this run. If not set, defaults to 1").nullable().optional(),
41
+ usage: OpenaiModifyRun_UsageSchema.nullable().optional(),
42
+ object: z.string().describe("The object type, which is always thread.run"),
43
+ status: z.enum([
44
+ "queued",
45
+ "in_progress",
46
+ "requires_action",
47
+ "cancelling",
48
+ "cancelled",
49
+ "failed",
50
+ "completed",
51
+ "incomplete",
52
+ "expired"
53
+ ]).describe("The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, incomplete, or expired"),
54
+ metadata: z.object({}).describe("Set of 16 key-value pairs for storing additional information").nullable().optional(),
55
+ failed_at: z.number().int().describe("The Unix timestamp (in seconds) for when the run failed").nullable().optional(),
56
+ thread_id: z.string().describe("The ID of the thread that was executed on as a part of this run"),
57
+ created_at: z.number().int().describe("The Unix timestamp (in seconds) for when the run was created"),
58
+ expires_at: z.number().int().describe("The Unix timestamp (in seconds) for when the run will expire").nullable().optional(),
59
+ last_error: OpenaiModifyRun_LastErrorSchema.nullable().optional(),
60
+ started_at: z.number().int().describe("The Unix timestamp (in seconds) for when the run was started").nullable().optional(),
61
+ temperature: z.number().describe("The sampling temperature used for this run. If not set, defaults to 1").nullable().optional(),
62
+ tool_choice: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),
63
+ assistant_id: z.string().describe("The ID of the assistant used for execution of this run"),
64
+ cancelled_at: z.number().int().describe("The Unix timestamp (in seconds) for when the run was cancelled").nullable().optional(),
65
+ completed_at: z.number().int().describe("The Unix timestamp (in seconds) for when the run was completed").nullable().optional(),
66
+ instructions: z.string().describe("The instructions that the assistant used for this run").nullable().optional(),
67
+ required_action: OpenaiModifyRun_RequiredActionSchema.nullable().optional(),
68
+ response_format: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),
69
+ max_prompt_tokens: z.number().int().describe("The maximum number of prompt tokens specified to have been used over the course of the run").nullable().optional(),
70
+ incomplete_details: OpenaiModifyRun_IncompleteDetailsSchema.nullable().optional(),
71
+ parallel_tool_calls: z.boolean().describe("Whether to enable parallel function calling during tool use"),
72
+ truncation_strategy: OpenaiModifyRun_TruncationStrategySchema.nullable().optional(),
73
+ max_completion_tokens: z.number().int().describe("The maximum number of completion tokens specified to have been used over the course of the run").nullable().optional()
74
+ }).describe("Response schema for a modified run.")
75
+ });
76
+ //#endregion
77
+ export { openaiModifyRun };
78
+
79
+ //# sourceMappingURL=modify-run.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modify-run.mjs","names":[],"sources":["../../src/actions/modify-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyRunInput: z.ZodTypeAny = z.object({\n run_id: z.string().describe(\"The ID of the run to modify\"),\n metadata: z.object({}).describe(\"Set of up to 16 key-value pairs that can be attached to the run. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. This can be useful for storing additional information about the run in a structured format\").optional(),\n thread_id: z.string().describe(\"The ID of the thread that was run\"),\n}).describe(\"Request model for modifying a run.\");\nconst OpenaiModifyRun_UsageSchema: z.ZodTypeAny = z.object({\n total_tokens: z.number().int().describe(\"Total tokens used\"),\n prompt_tokens: z.number().int().describe(\"Number of prompt tokens used\"),\n completion_tokens: z.number().int().describe(\"Number of completion tokens used\"),\n}).describe(\"Usage statistics for the run.\");\nconst OpenaiModifyRun_LastErrorSchema: z.ZodTypeAny = z.object({\n code: z.enum([\"server_error\", \"rate_limit_exceeded\", \"invalid_prompt\"]).describe(\"One of server_error, rate_limit_exceeded, or invalid_prompt\"),\n message: z.string().describe(\"A human-readable description of the error\"),\n}).describe(\"Last error associated with the run.\");\nconst OpenaiModifyRun_RequiredActionSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"For now, this is always submit_tool_outputs\"),\n submit_tool_outputs: z.record(z.string(), z.unknown()).describe(\"Details on the tool outputs needed for this run to continue\"),\n}).describe(\"Details on the action required to continue the run.\");\nconst OpenaiModifyRun_IncompleteDetailsSchema: z.ZodTypeAny = z.object({\n reason: z.enum([\"max_completion_tokens\", \"max_prompt_tokens\"]).describe(\"The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run\").nullable().optional(),\n}).describe(\"Details on why the run is incomplete.\");\nconst OpenaiModifyRun_TruncationStrategySchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Truncation strategy type\"),\n last_messages: z.unknown().describe(\"Number of most recent messages to retain\").nullable().optional(),\n}).describe(\"Thread truncation controls.\");\nexport const OpenaiModifyRunOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\"),\n model: z.string().describe(\"The model that the assistant used for this run\"),\n tools: z.array(z.record(z.string(), z.unknown())).describe(\"The list of tools that the assistant used for this run\"),\n top_p: z.number().describe(\"The nucleus sampling value used for this run. If not set, defaults to 1\").nullable().optional(),\n usage: OpenaiModifyRun_UsageSchema.nullable().optional(),\n object: z.string().describe(\"The object type, which is always thread.run\"),\n status: z.enum([\"queued\", \"in_progress\", \"requires_action\", \"cancelling\", \"cancelled\", \"failed\", \"completed\", \"incomplete\", \"expired\"]).describe(\"The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, incomplete, or expired\"),\n metadata: z.object({}).describe(\"Set of 16 key-value pairs for storing additional information\").nullable().optional(),\n failed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run failed\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the thread that was executed on as a part of this run\"),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was created\"),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run will expire\").nullable().optional(),\n last_error: OpenaiModifyRun_LastErrorSchema.nullable().optional(),\n started_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was started\").nullable().optional(),\n temperature: z.number().describe(\"The sampling temperature used for this run. If not set, defaults to 1\").nullable().optional(),\n tool_choice: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n assistant_id: z.string().describe(\"The ID of the assistant used for execution of this run\"),\n cancelled_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was cancelled\").nullable().optional(),\n completed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was completed\").nullable().optional(),\n instructions: z.string().describe(\"The instructions that the assistant used for this run\").nullable().optional(),\n required_action: OpenaiModifyRun_RequiredActionSchema.nullable().optional(),\n response_format: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n max_prompt_tokens: z.number().int().describe(\"The maximum number of prompt tokens specified to have been used over the course of the run\").nullable().optional(),\n incomplete_details: OpenaiModifyRun_IncompleteDetailsSchema.nullable().optional(),\n parallel_tool_calls: z.boolean().describe(\"Whether to enable parallel function calling during tool use\"),\n truncation_strategy: OpenaiModifyRun_TruncationStrategySchema.nullable().optional(),\n max_completion_tokens: z.number().int().describe(\"The maximum number of completion tokens specified to have been used over the course of the run\").nullable().optional(),\n}).describe(\"Response schema for a modified run.\");\n\nexport const openaiModifyRun = action(\"OPENAI_MODIFY_RUN\", {\n slug: \"openai-modify-run\",\n name: \"Modify Run\",\n description: \"Tool to modify a run's metadata. Use when you need to update metadata information for a specific run.\",\n input: OpenaiModifyRunInput,\n output: OpenaiModifyRunOutput,\n});\n"],"mappings":"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"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/modify-thread.ts
4
+ const OpenaiModifyThreadInput = zod.z.object({
5
+ metadata: zod.z.object({}).describe("Arbitrary JSON metadata to attach to the thread Values must be short strings; large, nested, or complex payloads are rejected.").optional(),
6
+ thread_id: zod.z.string().describe("ID of the thread to modify")
7
+ }).describe("Request model for modifying an existing thread.");
8
+ const OpenaiModifyThreadOutput = zod.z.object({
9
+ id: zod.z.string().describe("The thread's unique identifier"),
10
+ object: zod.z.string().describe("Object type, always 'thread'"),
11
+ metadata: zod.z.object({}).describe("Metadata key-value pairs attached to the thread"),
12
+ created_at: zod.z.number().int().describe("Unix timestamp when the thread was created")
13
+ }).describe("Response schema for the modified thread.");
14
+ const openaiModifyThread = require_action.action("OPENAI_MODIFY_THREAD", {
15
+ slug: "openai-modify-thread",
16
+ name: "Modify thread",
17
+ description: "Tool to modify an existing thread's metadata. Use after obtaining the thread ID when you need to update metadata.",
18
+ input: OpenaiModifyThreadInput,
19
+ output: OpenaiModifyThreadOutput
20
+ });
21
+ //#endregion
22
+ exports.openaiModifyThread = openaiModifyThread;
23
+
24
+ //# sourceMappingURL=modify-thread.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modify-thread.cjs","names":["z","action"],"sources":["../../src/actions/modify-thread.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyThreadInput: z.ZodTypeAny = z.object({\n metadata: z.object({}).describe(\"Arbitrary JSON metadata to attach to the thread Values must be short strings; large, nested, or complex payloads are rejected.\").optional(),\n thread_id: z.string().describe(\"ID of the thread to modify\"),\n}).describe(\"Request model for modifying an existing thread.\");\nexport const OpenaiModifyThreadOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The thread's unique identifier\"),\n object: z.string().describe(\"Object type, always 'thread'\"),\n metadata: z.object({}).describe(\"Metadata key-value pairs attached to the thread\"),\n created_at: z.number().int().describe(\"Unix timestamp when the thread was created\"),\n}).describe(\"Response schema for the modified thread.\");\n\nexport const openaiModifyThread = action(\"OPENAI_MODIFY_THREAD\", {\n slug: \"openai-modify-thread\",\n name: \"Modify thread\",\n description: \"Tool to modify an existing thread's metadata. Use after obtaining the thread ID when you need to update metadata.\",\n input: OpenaiModifyThreadInput,\n output: OpenaiModifyThreadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CAC3K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AAC7D,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACpF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/modify-thread.d.ts
4
+ declare const OpenaiModifyThreadInput: z.ZodTypeAny;
5
+ declare const OpenaiModifyThreadOutput: z.ZodTypeAny;
6
+ declare const openaiModifyThread: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { openaiModifyThread };
9
+ //# sourceMappingURL=modify-thread.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modify-thread.d.cts","names":[],"sources":["../../src/actions/modify-thread.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGsB;AAAA,cACjD,wBAAA,EAA0B,CAAA,CAAE,UAKc;AAAA,cAE1C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/modify-thread.d.ts
4
+ declare const OpenaiModifyThreadInput: z.ZodTypeAny;
5
+ declare const OpenaiModifyThreadOutput: z.ZodTypeAny;
6
+ declare const openaiModifyThread: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { openaiModifyThread };
9
+ //# sourceMappingURL=modify-thread.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modify-thread.d.mts","names":[],"sources":["../../src/actions/modify-thread.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGsB;AAAA,cACjD,wBAAA,EAA0B,CAAA,CAAE,UAKc;AAAA,cAE1C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,21 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const openaiModifyThread = action("OPENAI_MODIFY_THREAD", {
4
+ slug: "openai-modify-thread",
5
+ name: "Modify thread",
6
+ description: "Tool to modify an existing thread's metadata. Use after obtaining the thread ID when you need to update metadata.",
7
+ input: z.object({
8
+ metadata: z.object({}).describe("Arbitrary JSON metadata to attach to the thread Values must be short strings; large, nested, or complex payloads are rejected.").optional(),
9
+ thread_id: z.string().describe("ID of the thread to modify")
10
+ }).describe("Request model for modifying an existing thread."),
11
+ output: z.object({
12
+ id: z.string().describe("The thread's unique identifier"),
13
+ object: z.string().describe("Object type, always 'thread'"),
14
+ metadata: z.object({}).describe("Metadata key-value pairs attached to the thread"),
15
+ created_at: z.number().int().describe("Unix timestamp when the thread was created")
16
+ }).describe("Response schema for the modified thread.")
17
+ });
18
+ //#endregion
19
+ export { openaiModifyThread };
20
+
21
+ //# sourceMappingURL=modify-thread.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modify-thread.mjs","names":[],"sources":["../../src/actions/modify-thread.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyThreadInput: z.ZodTypeAny = z.object({\n metadata: z.object({}).describe(\"Arbitrary JSON metadata to attach to the thread Values must be short strings; large, nested, or complex payloads are rejected.\").optional(),\n thread_id: z.string().describe(\"ID of the thread to modify\"),\n}).describe(\"Request model for modifying an existing thread.\");\nexport const OpenaiModifyThreadOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The thread's unique identifier\"),\n object: z.string().describe(\"Object type, always 'thread'\"),\n metadata: z.object({}).describe(\"Metadata key-value pairs attached to the thread\"),\n created_at: z.number().int().describe(\"Unix timestamp when the thread was created\"),\n}).describe(\"Response schema for the modified thread.\");\n\nexport const openaiModifyThread = action(\"OPENAI_MODIFY_THREAD\", {\n slug: \"openai-modify-thread\",\n name: \"Modify thread\",\n description: \"Tool to modify an existing thread's metadata. Use after obtaining the thread ID when you need to update metadata.\",\n input: OpenaiModifyThreadInput,\n output: OpenaiModifyThreadOutput,\n});\n"],"mappings":";;AAeA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmD,EAAE,OAAO;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;EAC3K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC7D,CAAC,CAAC,CAAC,SAAS,iDAYH;CACP,QAZoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;EACjF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CACpF,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
@@ -0,0 +1,53 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/modify-vector-store.ts
4
+ const OpenaiModifyVectorStoreInput = zod.z.object({
5
+ name: zod.z.string().describe("The name of the vector store.").optional(),
6
+ 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. Pass null to clear existing metadata.").optional(),
7
+ expires_after: zod.z.object({
8
+ days: zod.z.number().int().describe("The number of days after the anchor time that the vector store will expire."),
9
+ anchor: zod.z.enum(["last_active_at"]).describe("Anchor timestamp after which the expiration policy applies. Supported anchors: 'last_active_at'.")
10
+ }).describe("Expiration policy for a vector store.").optional(),
11
+ vector_store_id: zod.z.string().describe("The ID of the vector store to modify.")
12
+ }).describe("Request model for modifying a vector store.");
13
+ const OpenaiModifyVectorStore_VectorStoreStatusSchema = zod.z.enum([
14
+ "expired",
15
+ "in_progress",
16
+ "completed"
17
+ ]).describe("Status of a vector store.");
18
+ const OpenaiModifyVectorStore_FileCountsSchema = zod.z.object({
19
+ total: zod.z.number().int().describe("The total number of files"),
20
+ failed: zod.z.number().int().describe("The number of files that have failed to process"),
21
+ cancelled: zod.z.number().int().describe("The number of files that were cancelled"),
22
+ completed: zod.z.number().int().describe("The number of files that have been successfully processed"),
23
+ in_progress: zod.z.number().int().describe("The number of files that are currently being processed")
24
+ }).describe("File processing counts for a vector store.");
25
+ const OpenaiModifyVectorStore_ExpirationAnchorSchema = zod.z.enum(["last_active_at"]).describe("Anchor timestamp for expiration policy.");
26
+ const OpenaiModifyVectorStore_ExpirationPolicySchema = zod.z.object({
27
+ days: zod.z.number().int().describe("The number of days after the anchor time that the vector store will expire."),
28
+ anchor: OpenaiModifyVectorStore_ExpirationAnchorSchema.nullable()
29
+ }).describe("Expiration policy for a vector store.");
30
+ const OpenaiModifyVectorStoreOutput = zod.z.object({
31
+ id: zod.z.string().describe("The identifier, which can be referenced in API endpoints"),
32
+ name: zod.z.string().describe("The name of the vector store"),
33
+ object: zod.z.string().describe("The object type, which is always 'vector_store'"),
34
+ status: OpenaiModifyVectorStore_VectorStoreStatusSchema.nullable(),
35
+ metadata: zod.z.object({}).describe("Set of up to 16 key-value pairs attached to the vector store").nullable().optional(),
36
+ created_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the vector store was created"),
37
+ expires_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the vector store will expire").nullable().optional(),
38
+ file_counts: OpenaiModifyVectorStore_FileCountsSchema.nullable(),
39
+ usage_bytes: zod.z.number().int().describe("The total number of bytes used by the files in the vector store"),
40
+ expires_after: OpenaiModifyVectorStore_ExpirationPolicySchema.nullable().optional(),
41
+ last_active_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the vector store was last active").nullable().optional()
42
+ }).describe("Response schema for modified vector store.");
43
+ const openaiModifyVectorStore = require_action.action("OPENAI_MODIFY_VECTOR_STORE", {
44
+ slug: "openai-modify-vector-store",
45
+ name: "Modify Vector Store",
46
+ description: "Tool to modify an existing vector store. Use when you need to update the name, expiration policy, or metadata of a vector store.",
47
+ input: OpenaiModifyVectorStoreInput,
48
+ output: OpenaiModifyVectorStoreOutput
49
+ });
50
+ //#endregion
51
+ exports.openaiModifyVectorStore = openaiModifyVectorStore;
52
+
53
+ //# sourceMappingURL=modify-vector-store.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modify-vector-store.cjs","names":["z","action"],"sources":["../../src/actions/modify-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyVectorStoreInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the vector store.\").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. Pass null to clear existing metadata.\").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.\"),\n anchor: z.enum([\"last_active_at\"]).describe(\"Anchor timestamp after which the expiration policy applies. Supported anchors: 'last_active_at'.\"),\n}).describe(\"Expiration policy for a vector store.\").optional(),\n vector_store_id: z.string().describe(\"The ID of the vector store to modify.\"),\n}).describe(\"Request model for modifying a vector store.\");\nconst OpenaiModifyVectorStore_VectorStoreStatusSchema: z.ZodTypeAny = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiModifyVectorStore_FileCountsSchema: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"The total number of files\"),\n failed: z.number().int().describe(\"The number of files that have failed to process\"),\n cancelled: z.number().int().describe(\"The number of files that were cancelled\"),\n completed: z.number().int().describe(\"The number of files that have been successfully processed\"),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed\"),\n}).describe(\"File processing counts for a vector store.\");\nconst OpenaiModifyVectorStore_ExpirationAnchorSchema: z.ZodTypeAny = z.enum([\"last_active_at\"]).describe(\"Anchor timestamp for expiration policy.\");\nconst OpenaiModifyVectorStore_ExpirationPolicySchema: z.ZodTypeAny = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\"),\n anchor: OpenaiModifyVectorStore_ExpirationAnchorSchema.nullable(),\n}).describe(\"Expiration policy for a vector store.\");\nexport const OpenaiModifyVectorStoreOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\"),\n name: z.string().describe(\"The name of the vector store\"),\n object: z.string().describe(\"The object type, which is always 'vector_store'\"),\n status: OpenaiModifyVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.object({}).describe(\"Set of up to 16 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\"),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store will expire\").nullable().optional(),\n file_counts: OpenaiModifyVectorStore_FileCountsSchema.nullable(),\n usage_bytes: z.number().int().describe(\"The total number of bytes used by the files in the vector store\"),\n expires_after: OpenaiModifyVectorStore_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 modified vector store.\");\n\nexport const openaiModifyVectorStore = action(\"OPENAI_MODIFY_VECTOR_STORE\", {\n slug: \"openai-modify-vector-store\",\n name: \"Modify Vector Store\",\n description: \"Tool to modify an existing vector store. Use when you need to update the name, expiration policy, or metadata of a vector store.\",\n input: OpenaiModifyVectorStoreInput,\n output: OpenaiModifyVectorStoreOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iNAAiN,CAAC,CAAC,SAAS;CAC5P,eAAeA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E;EAC7G,QAAQA,IAAAA,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,kGAAkG;CAChJ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC9E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,kDAAgEA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAe;AAAW,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAC1J,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;AACjG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAA+DA,IAAAA,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAClJ,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E;CAC7G,QAAQ,+CAA+C,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC7E,QAAQ,gDAAgD,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAa,yCAAyC,SAAS;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE;CACxG,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,SAAS,4CAA4C;AAExD,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/modify-vector-store.d.ts
4
+ declare const OpenaiModifyVectorStoreInput: z.ZodTypeAny;
5
+ declare const OpenaiModifyVectorStoreOutput: z.ZodTypeAny;
6
+ declare const openaiModifyVectorStore: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { openaiModifyVectorStore };
9
+ //# sourceMappingURL=modify-vector-store.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modify-vector-store.d.cts","names":[],"sources":["../../src/actions/modify-vector-store.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAQa;AAAA,cAc7C,6BAAA,EAA+B,CAAA,CAAE,UAYW;AAAA,cAE5C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/modify-vector-store.d.ts
4
+ declare const OpenaiModifyVectorStoreInput: z.ZodTypeAny;
5
+ declare const OpenaiModifyVectorStoreOutput: z.ZodTypeAny;
6
+ declare const openaiModifyVectorStore: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { openaiModifyVectorStore };
9
+ //# sourceMappingURL=modify-vector-store.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modify-vector-store.d.mts","names":[],"sources":["../../src/actions/modify-vector-store.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAQa;AAAA,cAc7C,6BAAA,EAA+B,CAAA,CAAE,UAYW;AAAA,cAE5C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,52 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/modify-vector-store.ts
4
+ const OpenaiModifyVectorStoreInput = z.object({
5
+ name: z.string().describe("The name of the vector store.").optional(),
6
+ 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. Pass null to clear existing metadata.").optional(),
7
+ expires_after: z.object({
8
+ days: z.number().int().describe("The number of days after the anchor time that the vector store will expire."),
9
+ anchor: z.enum(["last_active_at"]).describe("Anchor timestamp after which the expiration policy applies. Supported anchors: 'last_active_at'.")
10
+ }).describe("Expiration policy for a vector store.").optional(),
11
+ vector_store_id: z.string().describe("The ID of the vector store to modify.")
12
+ }).describe("Request model for modifying a vector store.");
13
+ const OpenaiModifyVectorStore_VectorStoreStatusSchema = z.enum([
14
+ "expired",
15
+ "in_progress",
16
+ "completed"
17
+ ]).describe("Status of a vector store.");
18
+ const OpenaiModifyVectorStore_FileCountsSchema = z.object({
19
+ total: z.number().int().describe("The total number of files"),
20
+ failed: z.number().int().describe("The number of files that have failed to process"),
21
+ cancelled: z.number().int().describe("The number of files that were cancelled"),
22
+ completed: z.number().int().describe("The number of files that have been successfully processed"),
23
+ in_progress: z.number().int().describe("The number of files that are currently being processed")
24
+ }).describe("File processing counts for a vector store.");
25
+ const OpenaiModifyVectorStore_ExpirationAnchorSchema = z.enum(["last_active_at"]).describe("Anchor timestamp for expiration policy.");
26
+ const OpenaiModifyVectorStore_ExpirationPolicySchema = z.object({
27
+ days: z.number().int().describe("The number of days after the anchor time that the vector store will expire."),
28
+ anchor: OpenaiModifyVectorStore_ExpirationAnchorSchema.nullable()
29
+ }).describe("Expiration policy for a vector store.");
30
+ const openaiModifyVectorStore = action("OPENAI_MODIFY_VECTOR_STORE", {
31
+ slug: "openai-modify-vector-store",
32
+ name: "Modify Vector Store",
33
+ description: "Tool to modify an existing vector store. Use when you need to update the name, expiration policy, or metadata of a vector store.",
34
+ input: OpenaiModifyVectorStoreInput,
35
+ output: z.object({
36
+ id: z.string().describe("The identifier, which can be referenced in API endpoints"),
37
+ name: z.string().describe("The name of the vector store"),
38
+ object: z.string().describe("The object type, which is always 'vector_store'"),
39
+ status: OpenaiModifyVectorStore_VectorStoreStatusSchema.nullable(),
40
+ metadata: z.object({}).describe("Set of up to 16 key-value pairs attached to the vector store").nullable().optional(),
41
+ created_at: z.number().int().describe("The Unix timestamp (in seconds) for when the vector store was created"),
42
+ expires_at: z.number().int().describe("The Unix timestamp (in seconds) for when the vector store will expire").nullable().optional(),
43
+ file_counts: OpenaiModifyVectorStore_FileCountsSchema.nullable(),
44
+ usage_bytes: z.number().int().describe("The total number of bytes used by the files in the vector store"),
45
+ expires_after: OpenaiModifyVectorStore_ExpirationPolicySchema.nullable().optional(),
46
+ last_active_at: z.number().int().describe("The Unix timestamp (in seconds) for when the vector store was last active").nullable().optional()
47
+ }).describe("Response schema for modified vector store.")
48
+ });
49
+ //#endregion
50
+ export { openaiModifyVectorStore };
51
+
52
+ //# sourceMappingURL=modify-vector-store.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modify-vector-store.mjs","names":[],"sources":["../../src/actions/modify-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyVectorStoreInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the vector store.\").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. Pass null to clear existing metadata.\").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.\"),\n anchor: z.enum([\"last_active_at\"]).describe(\"Anchor timestamp after which the expiration policy applies. Supported anchors: 'last_active_at'.\"),\n}).describe(\"Expiration policy for a vector store.\").optional(),\n vector_store_id: z.string().describe(\"The ID of the vector store to modify.\"),\n}).describe(\"Request model for modifying a vector store.\");\nconst OpenaiModifyVectorStore_VectorStoreStatusSchema: z.ZodTypeAny = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiModifyVectorStore_FileCountsSchema: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"The total number of files\"),\n failed: z.number().int().describe(\"The number of files that have failed to process\"),\n cancelled: z.number().int().describe(\"The number of files that were cancelled\"),\n completed: z.number().int().describe(\"The number of files that have been successfully processed\"),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed\"),\n}).describe(\"File processing counts for a vector store.\");\nconst OpenaiModifyVectorStore_ExpirationAnchorSchema: z.ZodTypeAny = z.enum([\"last_active_at\"]).describe(\"Anchor timestamp for expiration policy.\");\nconst OpenaiModifyVectorStore_ExpirationPolicySchema: z.ZodTypeAny = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\"),\n anchor: OpenaiModifyVectorStore_ExpirationAnchorSchema.nullable(),\n}).describe(\"Expiration policy for a vector store.\");\nexport const OpenaiModifyVectorStoreOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\"),\n name: z.string().describe(\"The name of the vector store\"),\n object: z.string().describe(\"The object type, which is always 'vector_store'\"),\n status: OpenaiModifyVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.object({}).describe(\"Set of up to 16 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\"),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store will expire\").nullable().optional(),\n file_counts: OpenaiModifyVectorStore_FileCountsSchema.nullable(),\n usage_bytes: z.number().int().describe(\"The total number of bytes used by the files in the vector store\"),\n expires_after: OpenaiModifyVectorStore_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 modified vector store.\");\n\nexport const openaiModifyVectorStore = action(\"OPENAI_MODIFY_VECTOR_STORE\", {\n slug: \"openai-modify-vector-store\",\n name: \"Modify Vector Store\",\n description: \"Tool to modify an existing vector store. Use when you need to update the name, expiration policy, or metadata of a vector store.\",\n input: OpenaiModifyVectorStoreInput,\n output: OpenaiModifyVectorStoreOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iNAAiN,CAAC,CAAC,SAAS;CAC5P,eAAe,EAAE,OAAO;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E;EAC7G,QAAQ,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,kGAAkG;CAChJ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC9E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,kDAAgE,EAAE,KAAK;CAAC;CAAW;CAAe;AAAW,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAC1J,MAAM,2CAAyD,EAAE,OAAO;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;AACjG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAA+D,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAClJ,MAAM,iDAA+D,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E;CAC7G,QAAQ,+CAA+C,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAenD,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnByD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC7E,QAAQ,gDAAgD,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,aAAa,yCAAyC,SAAS;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE;EACxG,eAAe,+CAA+C,SAAS,CAAC,CAAC,SAAS;EAClF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
@@ -0,0 +1,37 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/retrieve-assistant.ts
4
+ const OpenaiRetrieveAssistantInput = zod.z.object({ assistant_id: zod.z.string().describe("Identifier of the assistant to retrieve (path parameter) Must be a valid, stored OpenAI assistant ID; stale or incorrect IDs cause failed retrievals and require additional lookup calls.") }).describe("Request model for retrieving an assistant.");
5
+ const OpenaiRetrieveAssistant_AssistantToolParametersSchema = zod.z.object({
6
+ type: zod.z.string().describe("Must be 'object'"),
7
+ required: zod.z.array(zod.z.string()).describe("List of required parameter names"),
8
+ properties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Schema properties mapping parameter names to schemas")
9
+ }).describe("JSON schema for an assistant tool's parameters.");
10
+ const OpenaiRetrieveAssistant_AssistantToolSchema = zod.z.object({
11
+ name: zod.z.string().describe("Unique name of the tool"),
12
+ parameters: OpenaiRetrieveAssistant_AssistantToolParametersSchema.nullable().optional(),
13
+ description: zod.z.string().describe("Short description of the tool's purpose").nullable().optional()
14
+ }).describe("Definition of a tool usable by the assistant.");
15
+ const OpenaiRetrieveAssistantOutput = zod.z.object({
16
+ id: zod.z.string().describe("Unique identifier for the assistant"),
17
+ name: zod.z.string().describe("User-friendly name of the assistant").nullable().optional(),
18
+ model: zod.z.string().describe("Model ID used by the assistant"),
19
+ tools: zod.z.array(OpenaiRetrieveAssistant_AssistantToolSchema).describe("Tools assigned to the assistant").nullable().optional(),
20
+ object: zod.z.string().describe("Object type, always 'assistant'"),
21
+ file_ids: zod.z.array(zod.z.string()).describe("IDs of files associated with the assistant").nullable().optional(),
22
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata attached to the assistant").nullable().optional(),
23
+ created_at: zod.z.number().int().describe("Unix time (seconds) when created"),
24
+ description: zod.z.string().describe("Description of the assistant").nullable().optional(),
25
+ instructions: zod.z.string().describe("System instructions for the assistant").nullable().optional()
26
+ }).describe("Response schema for retrieving an assistant.");
27
+ const openaiRetrieveAssistant = require_action.action("OPENAI_RETRIEVE_ASSISTANT", {
28
+ slug: "openai-retrieve-assistant",
29
+ name: "Retrieve assistant",
30
+ description: "Tool to retrieve details of a specific assistant. Use when you need to confirm assistant metadata before performing further operations. Prefer this over repeated OPENAI_CREATE_ASSISTANT calls to avoid cluttering assistant configurations.",
31
+ input: OpenaiRetrieveAssistantInput,
32
+ output: OpenaiRetrieveAssistantOutput
33
+ });
34
+ //#endregion
35
+ exports.openaiRetrieveAssistant = openaiRetrieveAssistant;
36
+
37
+ //# sourceMappingURL=retrieve-assistant.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-assistant.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiRetrieveAssistantInput: z.ZodTypeAny = z.object({\n assistant_id: z.string().describe(\"Identifier of the assistant to retrieve (path parameter) Must be a valid, stored OpenAI assistant ID; stale or incorrect IDs cause failed retrievals and require additional lookup calls.\"),\n}).describe(\"Request model for retrieving an assistant.\");\nconst OpenaiRetrieveAssistant_AssistantToolParametersSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Must be 'object'\"),\n required: z.array(z.string()).describe(\"List of required parameter names\"),\n properties: z.record(z.string(), z.unknown()).describe(\"Schema properties mapping parameter names to schemas\"),\n}).describe(\"JSON schema for an assistant tool's parameters.\");\nconst OpenaiRetrieveAssistant_AssistantToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique name of the tool\"),\n parameters: OpenaiRetrieveAssistant_AssistantToolParametersSchema.nullable().optional(),\n description: z.string().describe(\"Short description of the tool's purpose\").nullable().optional(),\n}).describe(\"Definition of a tool usable by the assistant.\");\nexport const OpenaiRetrieveAssistantOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the assistant\"),\n name: z.string().describe(\"User-friendly name of the assistant\").nullable().optional(),\n model: z.string().describe(\"Model ID used by the assistant\"),\n tools: z.array(OpenaiRetrieveAssistant_AssistantToolSchema).describe(\"Tools assigned to the assistant\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'assistant'\"),\n file_ids: z.array(z.string()).describe(\"IDs of files associated with the assistant\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata attached to the assistant\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix time (seconds) when created\"),\n description: z.string().describe(\"Description of the assistant\").nullable().optional(),\n instructions: z.string().describe(\"System instructions for the assistant\").nullable().optional(),\n}).describe(\"Response schema for retrieving an assistant.\");\n\nexport const openaiRetrieveAssistant = action(\"OPENAI_RETRIEVE_ASSISTANT\", {\n slug: \"openai-retrieve-assistant\",\n name: \"Retrieve assistant\",\n description: \"Tool to retrieve details of a specific assistant. Use when you need to confirm assistant metadata before performing further operations. Prefer this over repeated OPENAI_CREATE_ASSISTANT calls to avoid cluttering assistant configurations.\",\n input: OpenaiRetrieveAssistantInput,\n output: OpenaiRetrieveAssistantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,EAC/N,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC;CACzE,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAC/G,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,YAAY,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,OAAOA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC7D,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/retrieve-assistant.d.ts
4
+ declare const OpenaiRetrieveAssistantInput: z.ZodTypeAny;
5
+ declare const OpenaiRetrieveAssistantOutput: z.ZodTypeAny;
6
+ declare const openaiRetrieveAssistant: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { openaiRetrieveAssistant };
9
+ //# sourceMappingURL=retrieve-assistant.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-assistant.d.cts","names":[],"sources":["../../src/actions/retrieve-assistant.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEY;AAAA,cAW5C,6BAAA,EAA+B,CAAA,CAAE,UAWa;AAAA,cAE9C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/retrieve-assistant.d.ts
4
+ declare const OpenaiRetrieveAssistantInput: z.ZodTypeAny;
5
+ declare const OpenaiRetrieveAssistantOutput: z.ZodTypeAny;
6
+ declare const openaiRetrieveAssistant: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { openaiRetrieveAssistant };
9
+ //# sourceMappingURL=retrieve-assistant.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-assistant.d.mts","names":[],"sources":["../../src/actions/retrieve-assistant.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEY;AAAA,cAW5C,6BAAA,EAA+B,CAAA,CAAE,UAWa;AAAA,cAE9C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}