@keystrokehq/openai 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1022) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/add-upload-part.cjs +5 -5
  5. package/dist/actions/add-upload-part.cjs.map +1 -1
  6. package/dist/actions/add-upload-part.d.cts +28 -3
  7. package/dist/actions/add-upload-part.d.cts.map +1 -1
  8. package/dist/actions/add-upload-part.d.mts +28 -3
  9. package/dist/actions/add-upload-part.d.mts.map +1 -1
  10. package/dist/actions/add-upload-part.mjs +5 -5
  11. package/dist/actions/add-upload-part.mjs.map +1 -1
  12. package/dist/actions/cancel-batch.cjs +19 -19
  13. package/dist/actions/cancel-batch.cjs.map +1 -1
  14. package/dist/actions/cancel-batch.d.cts +56 -3
  15. package/dist/actions/cancel-batch.d.cts.map +1 -1
  16. package/dist/actions/cancel-batch.d.mts +56 -3
  17. package/dist/actions/cancel-batch.d.mts.map +1 -1
  18. package/dist/actions/cancel-batch.mjs +19 -19
  19. package/dist/actions/cancel-batch.mjs.map +1 -1
  20. package/dist/actions/cancel-eval-run.cjs +31 -31
  21. package/dist/actions/cancel-eval-run.cjs.map +1 -1
  22. package/dist/actions/cancel-eval-run.d.cts +58 -3
  23. package/dist/actions/cancel-eval-run.d.cts.map +1 -1
  24. package/dist/actions/cancel-eval-run.d.mts +58 -3
  25. package/dist/actions/cancel-eval-run.d.mts.map +1 -1
  26. package/dist/actions/cancel-eval-run.mjs +31 -31
  27. package/dist/actions/cancel-eval-run.mjs.map +1 -1
  28. package/dist/actions/cancel-response.cjs +14 -14
  29. package/dist/actions/cancel-response.cjs.map +1 -1
  30. package/dist/actions/cancel-response.d.cts +73 -3
  31. package/dist/actions/cancel-response.d.cts.map +1 -1
  32. package/dist/actions/cancel-response.d.mts +73 -3
  33. package/dist/actions/cancel-response.d.mts.map +1 -1
  34. package/dist/actions/cancel-response.mjs +14 -14
  35. package/dist/actions/cancel-response.mjs.map +1 -1
  36. package/dist/actions/cancel-run.cjs +21 -21
  37. package/dist/actions/cancel-run.cjs.map +1 -1
  38. package/dist/actions/cancel-run.d.cts +69 -3
  39. package/dist/actions/cancel-run.d.cts.map +1 -1
  40. package/dist/actions/cancel-run.d.mts +69 -3
  41. package/dist/actions/cancel-run.d.mts.map +1 -1
  42. package/dist/actions/cancel-run.mjs +21 -21
  43. package/dist/actions/cancel-run.mjs.map +1 -1
  44. package/dist/actions/cancel-upload.cjs +17 -17
  45. package/dist/actions/cancel-upload.cjs.map +1 -1
  46. package/dist/actions/cancel-upload.d.cts +32 -3
  47. package/dist/actions/cancel-upload.d.cts.map +1 -1
  48. package/dist/actions/cancel-upload.d.mts +32 -3
  49. package/dist/actions/cancel-upload.d.mts.map +1 -1
  50. package/dist/actions/cancel-upload.mjs +17 -17
  51. package/dist/actions/cancel-upload.mjs.map +1 -1
  52. package/dist/actions/compact-response.cjs +21 -21
  53. package/dist/actions/compact-response.cjs.map +1 -1
  54. package/dist/actions/compact-response.d.cts +61 -3
  55. package/dist/actions/compact-response.d.cts.map +1 -1
  56. package/dist/actions/compact-response.d.mts +61 -3
  57. package/dist/actions/compact-response.d.mts.map +1 -1
  58. package/dist/actions/compact-response.mjs +21 -21
  59. package/dist/actions/compact-response.mjs.map +1 -1
  60. package/dist/actions/create-audio-transcription.cjs +3 -3
  61. package/dist/actions/create-audio-transcription.cjs.map +1 -1
  62. package/dist/actions/create-audio-transcription.d.cts +64 -3
  63. package/dist/actions/create-audio-transcription.d.cts.map +1 -1
  64. package/dist/actions/create-audio-transcription.d.mts +64 -3
  65. package/dist/actions/create-audio-transcription.d.mts.map +1 -1
  66. package/dist/actions/create-audio-transcription.mjs +3 -3
  67. package/dist/actions/create-audio-transcription.mjs.map +1 -1
  68. package/dist/actions/create-audio-translation.cjs +1 -1
  69. package/dist/actions/create-audio-translation.cjs.map +1 -1
  70. package/dist/actions/create-audio-translation.d.cts +40 -3
  71. package/dist/actions/create-audio-translation.d.cts.map +1 -1
  72. package/dist/actions/create-audio-translation.d.mts +40 -3
  73. package/dist/actions/create-audio-translation.d.mts.map +1 -1
  74. package/dist/actions/create-audio-translation.mjs +1 -1
  75. package/dist/actions/create-audio-translation.mjs.map +1 -1
  76. package/dist/actions/create-batch.cjs +21 -21
  77. package/dist/actions/create-batch.cjs.map +1 -1
  78. package/dist/actions/create-batch.d.cts +84 -3
  79. package/dist/actions/create-batch.d.cts.map +1 -1
  80. package/dist/actions/create-batch.d.mts +84 -3
  81. package/dist/actions/create-batch.d.mts.map +1 -1
  82. package/dist/actions/create-batch.mjs +21 -21
  83. package/dist/actions/create-batch.mjs.map +1 -1
  84. package/dist/actions/create-chat-completion.cjs +22 -22
  85. package/dist/actions/create-chat-completion.cjs.map +1 -1
  86. package/dist/actions/create-chat-completion.d.cts +186 -3
  87. package/dist/actions/create-chat-completion.d.cts.map +1 -1
  88. package/dist/actions/create-chat-completion.d.mts +186 -3
  89. package/dist/actions/create-chat-completion.d.mts.map +1 -1
  90. package/dist/actions/create-chat-completion.mjs +22 -22
  91. package/dist/actions/create-chat-completion.mjs.map +1 -1
  92. package/dist/actions/create-completion.cjs +18 -18
  93. package/dist/actions/create-completion.cjs.map +1 -1
  94. package/dist/actions/create-completion.d.cts +73 -3
  95. package/dist/actions/create-completion.d.cts.map +1 -1
  96. package/dist/actions/create-completion.d.mts +73 -3
  97. package/dist/actions/create-completion.d.mts.map +1 -1
  98. package/dist/actions/create-completion.mjs +18 -18
  99. package/dist/actions/create-completion.mjs.map +1 -1
  100. package/dist/actions/create-container-file.cjs +8 -8
  101. package/dist/actions/create-container-file.cjs.map +1 -1
  102. package/dist/actions/create-container-file.d.cts +19 -3
  103. package/dist/actions/create-container-file.d.cts.map +1 -1
  104. package/dist/actions/create-container-file.d.mts +19 -3
  105. package/dist/actions/create-container-file.d.mts.map +1 -1
  106. package/dist/actions/create-container-file.mjs +8 -8
  107. package/dist/actions/create-container-file.mjs.map +1 -1
  108. package/dist/actions/create-container.cjs +14 -14
  109. package/dist/actions/create-container.cjs.map +1 -1
  110. package/dist/actions/create-container.d.cts +85 -3
  111. package/dist/actions/create-container.d.cts.map +1 -1
  112. package/dist/actions/create-container.d.mts +85 -3
  113. package/dist/actions/create-container.d.mts.map +1 -1
  114. package/dist/actions/create-container.mjs +14 -14
  115. package/dist/actions/create-container.mjs.map +1 -1
  116. package/dist/actions/create-conversation-items.cjs +10 -10
  117. package/dist/actions/create-conversation-items.cjs.map +1 -1
  118. package/dist/actions/create-conversation-items.d.cts +67 -3
  119. package/dist/actions/create-conversation-items.d.cts.map +1 -1
  120. package/dist/actions/create-conversation-items.d.mts +67 -3
  121. package/dist/actions/create-conversation-items.d.mts.map +1 -1
  122. package/dist/actions/create-conversation-items.mjs +10 -10
  123. package/dist/actions/create-conversation-items.mjs.map +1 -1
  124. package/dist/actions/create-conversation.cjs +6 -6
  125. package/dist/actions/create-conversation.cjs.map +1 -1
  126. package/dist/actions/create-conversation.d.cts +28 -3
  127. package/dist/actions/create-conversation.d.cts.map +1 -1
  128. package/dist/actions/create-conversation.d.mts +28 -3
  129. package/dist/actions/create-conversation.d.mts.map +1 -1
  130. package/dist/actions/create-conversation.mjs +6 -6
  131. package/dist/actions/create-conversation.mjs.map +1 -1
  132. package/dist/actions/create-embeddings.cjs +9 -9
  133. package/dist/actions/create-embeddings.cjs.map +1 -1
  134. package/dist/actions/create-embeddings.d.cts +30 -3
  135. package/dist/actions/create-embeddings.d.cts.map +1 -1
  136. package/dist/actions/create-embeddings.d.mts +30 -3
  137. package/dist/actions/create-embeddings.d.mts.map +1 -1
  138. package/dist/actions/create-embeddings.mjs +9 -9
  139. package/dist/actions/create-embeddings.mjs.map +1 -1
  140. package/dist/actions/create-eval-run.cjs +45 -45
  141. package/dist/actions/create-eval-run.cjs.map +1 -1
  142. package/dist/actions/create-eval-run.d.cts +155 -3
  143. package/dist/actions/create-eval-run.d.cts.map +1 -1
  144. package/dist/actions/create-eval-run.d.mts +155 -3
  145. package/dist/actions/create-eval-run.d.mts.map +1 -1
  146. package/dist/actions/create-eval-run.mjs +45 -45
  147. package/dist/actions/create-eval-run.mjs.map +1 -1
  148. package/dist/actions/create-eval.cjs +14 -14
  149. package/dist/actions/create-eval.cjs.map +1 -1
  150. package/dist/actions/create-eval.d.cts +94 -3
  151. package/dist/actions/create-eval.d.cts.map +1 -1
  152. package/dist/actions/create-eval.d.mts +94 -3
  153. package/dist/actions/create-eval.d.mts.map +1 -1
  154. package/dist/actions/create-eval.mjs +14 -14
  155. package/dist/actions/create-eval.mjs.map +1 -1
  156. package/dist/actions/create-fine-tuning-job.cjs +13 -13
  157. package/dist/actions/create-fine-tuning-job.cjs.map +1 -1
  158. package/dist/actions/create-fine-tuning-job.d.cts +67 -3
  159. package/dist/actions/create-fine-tuning-job.d.cts.map +1 -1
  160. package/dist/actions/create-fine-tuning-job.d.mts +67 -3
  161. package/dist/actions/create-fine-tuning-job.d.mts.map +1 -1
  162. package/dist/actions/create-fine-tuning-job.mjs +13 -13
  163. package/dist/actions/create-fine-tuning-job.mjs.map +1 -1
  164. package/dist/actions/create-image-edit.cjs +6 -6
  165. package/dist/actions/create-image-edit.cjs.map +1 -1
  166. package/dist/actions/create-image-edit.d.cts +82 -3
  167. package/dist/actions/create-image-edit.d.cts.map +1 -1
  168. package/dist/actions/create-image-edit.d.mts +82 -3
  169. package/dist/actions/create-image-edit.d.mts.map +1 -1
  170. package/dist/actions/create-image-edit.mjs +6 -6
  171. package/dist/actions/create-image-edit.mjs.map +1 -1
  172. package/dist/actions/create-image-variation.cjs +3 -3
  173. package/dist/actions/create-image-variation.cjs.map +1 -1
  174. package/dist/actions/create-image-variation.d.cts +39 -3
  175. package/dist/actions/create-image-variation.d.cts.map +1 -1
  176. package/dist/actions/create-image-variation.d.mts +39 -3
  177. package/dist/actions/create-image-variation.d.mts.map +1 -1
  178. package/dist/actions/create-image-variation.mjs +3 -3
  179. package/dist/actions/create-image-variation.mjs.map +1 -1
  180. package/dist/actions/create-image.cjs +10 -10
  181. package/dist/actions/create-image.cjs.map +1 -1
  182. package/dist/actions/create-image.d.cts +70 -3
  183. package/dist/actions/create-image.d.cts.map +1 -1
  184. package/dist/actions/create-image.d.mts +70 -3
  185. package/dist/actions/create-image.d.mts.map +1 -1
  186. package/dist/actions/create-image.mjs +10 -10
  187. package/dist/actions/create-image.mjs.map +1 -1
  188. package/dist/actions/create-message.cjs +24 -24
  189. package/dist/actions/create-message.cjs.map +1 -1
  190. package/dist/actions/create-message.d.cts +101 -3
  191. package/dist/actions/create-message.d.cts.map +1 -1
  192. package/dist/actions/create-message.d.mts +101 -3
  193. package/dist/actions/create-message.d.mts.map +1 -1
  194. package/dist/actions/create-message.mjs +24 -24
  195. package/dist/actions/create-message.mjs.map +1 -1
  196. package/dist/actions/create-moderation.cjs +32 -32
  197. package/dist/actions/create-moderation.cjs.map +1 -1
  198. package/dist/actions/create-moderation.d.cts +69 -3
  199. package/dist/actions/create-moderation.d.cts.map +1 -1
  200. package/dist/actions/create-moderation.d.mts +69 -3
  201. package/dist/actions/create-moderation.d.mts.map +1 -1
  202. package/dist/actions/create-moderation.mjs +32 -32
  203. package/dist/actions/create-moderation.mjs.map +1 -1
  204. package/dist/actions/create-realtime-call.cjs +2 -2
  205. package/dist/actions/create-realtime-call.cjs.map +1 -1
  206. package/dist/actions/create-realtime-call.d.cts +12 -3
  207. package/dist/actions/create-realtime-call.d.cts.map +1 -1
  208. package/dist/actions/create-realtime-call.d.mts +12 -3
  209. package/dist/actions/create-realtime-call.d.mts.map +1 -1
  210. package/dist/actions/create-realtime-call.mjs +2 -2
  211. package/dist/actions/create-realtime-call.mjs.map +1 -1
  212. package/dist/actions/create-realtime-client-secret.cjs +5 -5
  213. package/dist/actions/create-realtime-client-secret.cjs.map +1 -1
  214. package/dist/actions/create-realtime-client-secret.d.cts +55 -3
  215. package/dist/actions/create-realtime-client-secret.d.cts.map +1 -1
  216. package/dist/actions/create-realtime-client-secret.d.mts +55 -3
  217. package/dist/actions/create-realtime-client-secret.d.mts.map +1 -1
  218. package/dist/actions/create-realtime-client-secret.mjs +5 -5
  219. package/dist/actions/create-realtime-client-secret.mjs.map +1 -1
  220. package/dist/actions/create-realtime-session.cjs +12 -12
  221. package/dist/actions/create-realtime-session.cjs.map +1 -1
  222. package/dist/actions/create-realtime-session.d.cts +130 -3
  223. package/dist/actions/create-realtime-session.d.cts.map +1 -1
  224. package/dist/actions/create-realtime-session.d.mts +130 -3
  225. package/dist/actions/create-realtime-session.d.mts.map +1 -1
  226. package/dist/actions/create-realtime-session.mjs +12 -12
  227. package/dist/actions/create-realtime-session.mjs.map +1 -1
  228. package/dist/actions/create-realtime-transcription-session.cjs +6 -6
  229. package/dist/actions/create-realtime-transcription-session.cjs.map +1 -1
  230. package/dist/actions/create-realtime-transcription-session.d.cts +70 -3
  231. package/dist/actions/create-realtime-transcription-session.d.cts.map +1 -1
  232. package/dist/actions/create-realtime-transcription-session.d.mts +70 -3
  233. package/dist/actions/create-realtime-transcription-session.d.mts.map +1 -1
  234. package/dist/actions/create-realtime-transcription-session.mjs +6 -6
  235. package/dist/actions/create-realtime-transcription-session.mjs.map +1 -1
  236. package/dist/actions/create-response.cjs +24 -24
  237. package/dist/actions/create-response.cjs.map +1 -1
  238. package/dist/actions/create-response.d.cts +161 -3
  239. package/dist/actions/create-response.d.cts.map +1 -1
  240. package/dist/actions/create-response.d.mts +161 -3
  241. package/dist/actions/create-response.d.mts.map +1 -1
  242. package/dist/actions/create-response.mjs +24 -24
  243. package/dist/actions/create-response.mjs.map +1 -1
  244. package/dist/actions/create-run.cjs +46 -46
  245. package/dist/actions/create-run.cjs.map +1 -1
  246. package/dist/actions/create-run.d.cts +206 -3
  247. package/dist/actions/create-run.d.cts.map +1 -1
  248. package/dist/actions/create-run.d.mts +206 -3
  249. package/dist/actions/create-run.d.mts.map +1 -1
  250. package/dist/actions/create-run.mjs +46 -46
  251. package/dist/actions/create-run.mjs.map +1 -1
  252. package/dist/actions/create-skill.cjs +10 -10
  253. package/dist/actions/create-skill.cjs.map +1 -1
  254. package/dist/actions/create-skill.d.cts +33 -3
  255. package/dist/actions/create-skill.d.cts.map +1 -1
  256. package/dist/actions/create-skill.d.mts +33 -3
  257. package/dist/actions/create-skill.d.mts.map +1 -1
  258. package/dist/actions/create-skill.mjs +10 -10
  259. package/dist/actions/create-skill.mjs.map +1 -1
  260. package/dist/actions/create-speech.cjs +5 -5
  261. package/dist/actions/create-speech.cjs.map +1 -1
  262. package/dist/actions/create-speech.d.cts +46 -3
  263. package/dist/actions/create-speech.d.cts.map +1 -1
  264. package/dist/actions/create-speech.d.mts +46 -3
  265. package/dist/actions/create-speech.d.mts.map +1 -1
  266. package/dist/actions/create-speech.mjs +5 -5
  267. package/dist/actions/create-speech.mjs.map +1 -1
  268. package/dist/actions/create-thread-and-run.cjs +53 -53
  269. package/dist/actions/create-thread-and-run.cjs.map +1 -1
  270. package/dist/actions/create-thread-and-run.d.cts +263 -3
  271. package/dist/actions/create-thread-and-run.d.cts.map +1 -1
  272. package/dist/actions/create-thread-and-run.d.mts +263 -3
  273. package/dist/actions/create-thread-and-run.d.mts.map +1 -1
  274. package/dist/actions/create-thread-and-run.mjs +53 -53
  275. package/dist/actions/create-thread-and-run.mjs.map +1 -1
  276. package/dist/actions/create-thread.cjs +10 -10
  277. package/dist/actions/create-thread.cjs.map +1 -1
  278. package/dist/actions/create-thread.d.cts +31 -3
  279. package/dist/actions/create-thread.d.cts.map +1 -1
  280. package/dist/actions/create-thread.d.mts +31 -3
  281. package/dist/actions/create-thread.d.mts.map +1 -1
  282. package/dist/actions/create-thread.mjs +10 -10
  283. package/dist/actions/create-thread.mjs.map +1 -1
  284. package/dist/actions/create-upload.cjs +16 -16
  285. package/dist/actions/create-upload.cjs.map +1 -1
  286. package/dist/actions/create-upload.d.cts +53 -3
  287. package/dist/actions/create-upload.d.cts.map +1 -1
  288. package/dist/actions/create-upload.d.mts +53 -3
  289. package/dist/actions/create-upload.d.mts.map +1 -1
  290. package/dist/actions/create-upload.mjs +16 -16
  291. package/dist/actions/create-upload.mjs.map +1 -1
  292. package/dist/actions/create-vector-store-file-batch.cjs +20 -20
  293. package/dist/actions/create-vector-store-file-batch.cjs.map +1 -1
  294. package/dist/actions/create-vector-store-file-batch.d.cts +92 -3
  295. package/dist/actions/create-vector-store-file-batch.d.cts.map +1 -1
  296. package/dist/actions/create-vector-store-file-batch.d.mts +92 -3
  297. package/dist/actions/create-vector-store-file-batch.d.mts.map +1 -1
  298. package/dist/actions/create-vector-store-file-batch.mjs +20 -20
  299. package/dist/actions/create-vector-store-file-batch.mjs.map +1 -1
  300. package/dist/actions/create-vector-store-file.cjs +15 -15
  301. package/dist/actions/create-vector-store-file.cjs.map +1 -1
  302. package/dist/actions/create-vector-store-file.d.cts +58 -3
  303. package/dist/actions/create-vector-store-file.d.cts.map +1 -1
  304. package/dist/actions/create-vector-store-file.d.mts +58 -3
  305. package/dist/actions/create-vector-store-file.d.mts.map +1 -1
  306. package/dist/actions/create-vector-store-file.mjs +15 -15
  307. package/dist/actions/create-vector-store-file.mjs.map +1 -1
  308. package/dist/actions/create-vector-store.cjs +19 -19
  309. package/dist/actions/create-vector-store.cjs.map +1 -1
  310. package/dist/actions/create-vector-store.d.cts +71 -3
  311. package/dist/actions/create-vector-store.d.cts.map +1 -1
  312. package/dist/actions/create-vector-store.d.mts +71 -3
  313. package/dist/actions/create-vector-store.d.mts.map +1 -1
  314. package/dist/actions/create-vector-store.mjs +19 -19
  315. package/dist/actions/create-vector-store.mjs.map +1 -1
  316. package/dist/actions/create-video-remix.cjs +8 -8
  317. package/dist/actions/create-video-remix.cjs.map +1 -1
  318. package/dist/actions/create-video-remix.d.cts +40 -3
  319. package/dist/actions/create-video-remix.d.cts.map +1 -1
  320. package/dist/actions/create-video-remix.d.mts +40 -3
  321. package/dist/actions/create-video-remix.d.mts.map +1 -1
  322. package/dist/actions/create-video-remix.mjs +8 -8
  323. package/dist/actions/create-video-remix.mjs.map +1 -1
  324. package/dist/actions/create-video.cjs +12 -12
  325. package/dist/actions/create-video.cjs.map +1 -1
  326. package/dist/actions/create-video.d.cts +39 -3
  327. package/dist/actions/create-video.d.cts.map +1 -1
  328. package/dist/actions/create-video.d.mts +39 -3
  329. package/dist/actions/create-video.d.mts.map +1 -1
  330. package/dist/actions/create-video.mjs +12 -12
  331. package/dist/actions/create-video.mjs.map +1 -1
  332. package/dist/actions/delete-assistant.cjs +1 -1
  333. package/dist/actions/delete-assistant.cjs.map +1 -1
  334. package/dist/actions/delete-assistant.d.cts +11 -3
  335. package/dist/actions/delete-assistant.d.cts.map +1 -1
  336. package/dist/actions/delete-assistant.d.mts +11 -3
  337. package/dist/actions/delete-assistant.d.mts.map +1 -1
  338. package/dist/actions/delete-assistant.mjs +1 -1
  339. package/dist/actions/delete-assistant.mjs.map +1 -1
  340. package/dist/actions/delete-chat-completion.cjs +4 -4
  341. package/dist/actions/delete-chat-completion.cjs.map +1 -1
  342. package/dist/actions/delete-chat-completion.d.cts +11 -3
  343. package/dist/actions/delete-chat-completion.d.cts.map +1 -1
  344. package/dist/actions/delete-chat-completion.d.mts +11 -3
  345. package/dist/actions/delete-chat-completion.d.mts.map +1 -1
  346. package/dist/actions/delete-chat-completion.mjs +4 -4
  347. package/dist/actions/delete-chat-completion.mjs.map +1 -1
  348. package/dist/actions/delete-container-file.cjs +1 -1
  349. package/dist/actions/delete-container-file.cjs.map +1 -1
  350. package/dist/actions/delete-container-file.d.cts +13 -3
  351. package/dist/actions/delete-container-file.d.cts.map +1 -1
  352. package/dist/actions/delete-container-file.d.mts +13 -3
  353. package/dist/actions/delete-container-file.d.mts.map +1 -1
  354. package/dist/actions/delete-container-file.mjs +1 -1
  355. package/dist/actions/delete-container-file.mjs.map +1 -1
  356. package/dist/actions/delete-container.cjs +4 -4
  357. package/dist/actions/delete-container.cjs.map +1 -1
  358. package/dist/actions/delete-container.d.cts +11 -3
  359. package/dist/actions/delete-container.d.cts.map +1 -1
  360. package/dist/actions/delete-container.d.mts +11 -3
  361. package/dist/actions/delete-container.d.mts.map +1 -1
  362. package/dist/actions/delete-container.mjs +4 -4
  363. package/dist/actions/delete-container.mjs.map +1 -1
  364. package/dist/actions/delete-conversation-item.cjs +1 -1
  365. package/dist/actions/delete-conversation-item.cjs.map +1 -1
  366. package/dist/actions/delete-conversation-item.d.cts +14 -3
  367. package/dist/actions/delete-conversation-item.d.cts.map +1 -1
  368. package/dist/actions/delete-conversation-item.d.mts +14 -3
  369. package/dist/actions/delete-conversation-item.d.mts.map +1 -1
  370. package/dist/actions/delete-conversation-item.mjs +1 -1
  371. package/dist/actions/delete-conversation-item.mjs.map +1 -1
  372. package/dist/actions/delete-conversation.cjs +4 -4
  373. package/dist/actions/delete-conversation.cjs.map +1 -1
  374. package/dist/actions/delete-conversation.d.cts +11 -3
  375. package/dist/actions/delete-conversation.d.cts.map +1 -1
  376. package/dist/actions/delete-conversation.d.mts +11 -3
  377. package/dist/actions/delete-conversation.d.mts.map +1 -1
  378. package/dist/actions/delete-conversation.mjs +4 -4
  379. package/dist/actions/delete-conversation.mjs.map +1 -1
  380. package/dist/actions/delete-eval-run.cjs +4 -4
  381. package/dist/actions/delete-eval-run.cjs.map +1 -1
  382. package/dist/actions/delete-eval-run.d.cts +13 -3
  383. package/dist/actions/delete-eval-run.d.cts.map +1 -1
  384. package/dist/actions/delete-eval-run.d.mts +13 -3
  385. package/dist/actions/delete-eval-run.d.mts.map +1 -1
  386. package/dist/actions/delete-eval-run.mjs +4 -4
  387. package/dist/actions/delete-eval-run.mjs.map +1 -1
  388. package/dist/actions/delete-eval.cjs +4 -4
  389. package/dist/actions/delete-eval.cjs.map +1 -1
  390. package/dist/actions/delete-eval.d.cts +11 -3
  391. package/dist/actions/delete-eval.d.cts.map +1 -1
  392. package/dist/actions/delete-eval.d.mts +11 -3
  393. package/dist/actions/delete-eval.d.mts.map +1 -1
  394. package/dist/actions/delete-eval.mjs +4 -4
  395. package/dist/actions/delete-eval.mjs.map +1 -1
  396. package/dist/actions/delete-file.cjs +4 -4
  397. package/dist/actions/delete-file.cjs.map +1 -1
  398. package/dist/actions/delete-file.d.cts +11 -3
  399. package/dist/actions/delete-file.d.cts.map +1 -1
  400. package/dist/actions/delete-file.d.mts +11 -3
  401. package/dist/actions/delete-file.d.mts.map +1 -1
  402. package/dist/actions/delete-file.mjs +4 -4
  403. package/dist/actions/delete-file.mjs.map +1 -1
  404. package/dist/actions/delete-message.cjs +4 -4
  405. package/dist/actions/delete-message.cjs.map +1 -1
  406. package/dist/actions/delete-message.d.cts +13 -3
  407. package/dist/actions/delete-message.d.cts.map +1 -1
  408. package/dist/actions/delete-message.d.mts +13 -3
  409. package/dist/actions/delete-message.d.mts.map +1 -1
  410. package/dist/actions/delete-message.mjs +4 -4
  411. package/dist/actions/delete-message.mjs.map +1 -1
  412. package/dist/actions/delete-response.cjs +4 -4
  413. package/dist/actions/delete-response.cjs.map +1 -1
  414. package/dist/actions/delete-response.d.cts +11 -3
  415. package/dist/actions/delete-response.d.cts.map +1 -1
  416. package/dist/actions/delete-response.d.mts +11 -3
  417. package/dist/actions/delete-response.d.mts.map +1 -1
  418. package/dist/actions/delete-response.mjs +4 -4
  419. package/dist/actions/delete-response.mjs.map +1 -1
  420. package/dist/actions/delete-skill.cjs +4 -4
  421. package/dist/actions/delete-skill.cjs.map +1 -1
  422. package/dist/actions/delete-skill.d.cts +11 -3
  423. package/dist/actions/delete-skill.d.cts.map +1 -1
  424. package/dist/actions/delete-skill.d.mts +11 -3
  425. package/dist/actions/delete-skill.d.mts.map +1 -1
  426. package/dist/actions/delete-skill.mjs +4 -4
  427. package/dist/actions/delete-skill.mjs.map +1 -1
  428. package/dist/actions/delete-thread.cjs +4 -4
  429. package/dist/actions/delete-thread.cjs.map +1 -1
  430. package/dist/actions/delete-thread.d.cts +11 -3
  431. package/dist/actions/delete-thread.d.cts.map +1 -1
  432. package/dist/actions/delete-thread.d.mts +11 -3
  433. package/dist/actions/delete-thread.d.mts.map +1 -1
  434. package/dist/actions/delete-thread.mjs +4 -4
  435. package/dist/actions/delete-thread.mjs.map +1 -1
  436. package/dist/actions/delete-vector-store-file.cjs +1 -1
  437. package/dist/actions/delete-vector-store-file.cjs.map +1 -1
  438. package/dist/actions/delete-vector-store-file.d.cts +13 -3
  439. package/dist/actions/delete-vector-store-file.d.cts.map +1 -1
  440. package/dist/actions/delete-vector-store-file.d.mts +13 -3
  441. package/dist/actions/delete-vector-store-file.d.mts.map +1 -1
  442. package/dist/actions/delete-vector-store-file.mjs +1 -1
  443. package/dist/actions/delete-vector-store-file.mjs.map +1 -1
  444. package/dist/actions/delete-vector-store.cjs +4 -4
  445. package/dist/actions/delete-vector-store.cjs.map +1 -1
  446. package/dist/actions/delete-vector-store.d.cts +11 -3
  447. package/dist/actions/delete-vector-store.d.cts.map +1 -1
  448. package/dist/actions/delete-vector-store.d.mts +11 -3
  449. package/dist/actions/delete-vector-store.d.mts.map +1 -1
  450. package/dist/actions/delete-vector-store.mjs +4 -4
  451. package/dist/actions/delete-vector-store.mjs.map +1 -1
  452. package/dist/actions/delete-video.cjs +4 -4
  453. package/dist/actions/delete-video.cjs.map +1 -1
  454. package/dist/actions/delete-video.d.cts +11 -3
  455. package/dist/actions/delete-video.d.cts.map +1 -1
  456. package/dist/actions/delete-video.d.mts +11 -3
  457. package/dist/actions/delete-video.d.mts.map +1 -1
  458. package/dist/actions/delete-video.mjs +4 -4
  459. package/dist/actions/delete-video.mjs.map +1 -1
  460. package/dist/actions/download-file.cjs +5 -5
  461. package/dist/actions/download-file.cjs.map +1 -1
  462. package/dist/actions/download-file.d.cts +13 -3
  463. package/dist/actions/download-file.d.cts.map +1 -1
  464. package/dist/actions/download-file.d.mts +13 -3
  465. package/dist/actions/download-file.d.mts.map +1 -1
  466. package/dist/actions/download-file.mjs +5 -5
  467. package/dist/actions/download-file.mjs.map +1 -1
  468. package/dist/actions/download-video.cjs +7 -7
  469. package/dist/actions/download-video.cjs.map +1 -1
  470. package/dist/actions/download-video.d.cts +22 -3
  471. package/dist/actions/download-video.d.cts.map +1 -1
  472. package/dist/actions/download-video.d.mts +22 -3
  473. package/dist/actions/download-video.d.mts.map +1 -1
  474. package/dist/actions/download-video.mjs +7 -7
  475. package/dist/actions/download-video.mjs.map +1 -1
  476. package/dist/actions/get-chat-completion-messages.cjs +8 -8
  477. package/dist/actions/get-chat-completion-messages.cjs.map +1 -1
  478. package/dist/actions/get-chat-completion-messages.d.cts +32 -3
  479. package/dist/actions/get-chat-completion-messages.d.cts.map +1 -1
  480. package/dist/actions/get-chat-completion-messages.d.mts +32 -3
  481. package/dist/actions/get-chat-completion-messages.d.mts.map +1 -1
  482. package/dist/actions/get-chat-completion-messages.mjs +8 -8
  483. package/dist/actions/get-chat-completion-messages.mjs.map +1 -1
  484. package/dist/actions/get-chat-completion.cjs +17 -17
  485. package/dist/actions/get-chat-completion.cjs.map +1 -1
  486. package/dist/actions/get-chat-completion.d.cts +44 -3
  487. package/dist/actions/get-chat-completion.d.cts.map +1 -1
  488. package/dist/actions/get-chat-completion.d.mts +44 -3
  489. package/dist/actions/get-chat-completion.d.mts.map +1 -1
  490. package/dist/actions/get-chat-completion.mjs +17 -17
  491. package/dist/actions/get-chat-completion.mjs.map +1 -1
  492. package/dist/actions/get-chatkit-thread.cjs +10 -10
  493. package/dist/actions/get-chatkit-thread.cjs.map +1 -1
  494. package/dist/actions/get-chatkit-thread.d.cts +22 -3
  495. package/dist/actions/get-chatkit-thread.d.cts.map +1 -1
  496. package/dist/actions/get-chatkit-thread.d.mts +22 -3
  497. package/dist/actions/get-chatkit-thread.d.mts.map +1 -1
  498. package/dist/actions/get-chatkit-thread.mjs +10 -10
  499. package/dist/actions/get-chatkit-thread.mjs.map +1 -1
  500. package/dist/actions/get-conversation-item.cjs +3 -3
  501. package/dist/actions/get-conversation-item.cjs.map +1 -1
  502. package/dist/actions/get-conversation-item.d.cts +41 -3
  503. package/dist/actions/get-conversation-item.d.cts.map +1 -1
  504. package/dist/actions/get-conversation-item.d.mts +41 -3
  505. package/dist/actions/get-conversation-item.d.mts.map +1 -1
  506. package/dist/actions/get-conversation-item.mjs +3 -3
  507. package/dist/actions/get-conversation-item.mjs.map +1 -1
  508. package/dist/actions/get-eval-run-output-item.cjs +21 -21
  509. package/dist/actions/get-eval-run-output-item.cjs.map +1 -1
  510. package/dist/actions/get-eval-run-output-item.d.cts +47 -3
  511. package/dist/actions/get-eval-run-output-item.d.cts.map +1 -1
  512. package/dist/actions/get-eval-run-output-item.d.mts +47 -3
  513. package/dist/actions/get-eval-run-output-item.d.mts.map +1 -1
  514. package/dist/actions/get-eval-run-output-item.mjs +21 -21
  515. package/dist/actions/get-eval-run-output-item.mjs.map +1 -1
  516. package/dist/actions/get-eval-run-output-items.cjs +25 -25
  517. package/dist/actions/get-eval-run-output-items.cjs.map +1 -1
  518. package/dist/actions/get-eval-run-output-items.d.cts +68 -3
  519. package/dist/actions/get-eval-run-output-items.d.cts.map +1 -1
  520. package/dist/actions/get-eval-run-output-items.d.mts +68 -3
  521. package/dist/actions/get-eval-run-output-items.d.mts.map +1 -1
  522. package/dist/actions/get-eval-run-output-items.mjs +25 -25
  523. package/dist/actions/get-eval-run-output-items.mjs.map +1 -1
  524. package/dist/actions/get-eval-run.cjs +36 -36
  525. package/dist/actions/get-eval-run.cjs.map +1 -1
  526. package/dist/actions/get-eval-run.d.cts +76 -3
  527. package/dist/actions/get-eval-run.d.cts.map +1 -1
  528. package/dist/actions/get-eval-run.d.mts +76 -3
  529. package/dist/actions/get-eval-run.d.mts.map +1 -1
  530. package/dist/actions/get-eval-run.mjs +36 -36
  531. package/dist/actions/get-eval-run.mjs.map +1 -1
  532. package/dist/actions/get-eval-runs.cjs +29 -29
  533. package/dist/actions/get-eval-runs.cjs.map +1 -1
  534. package/dist/actions/get-eval-runs.d.cts +64 -3
  535. package/dist/actions/get-eval-runs.d.cts.map +1 -1
  536. package/dist/actions/get-eval-runs.d.mts +64 -3
  537. package/dist/actions/get-eval-runs.d.mts.map +1 -1
  538. package/dist/actions/get-eval-runs.mjs +29 -29
  539. package/dist/actions/get-eval-runs.mjs.map +1 -1
  540. package/dist/actions/get-eval.cjs +5 -5
  541. package/dist/actions/get-eval.cjs.map +1 -1
  542. package/dist/actions/get-eval.d.cts +15 -3
  543. package/dist/actions/get-eval.d.cts.map +1 -1
  544. package/dist/actions/get-eval.d.mts +15 -3
  545. package/dist/actions/get-eval.d.mts.map +1 -1
  546. package/dist/actions/get-eval.mjs +5 -5
  547. package/dist/actions/get-eval.mjs.map +1 -1
  548. package/dist/actions/get-input-token-counts.cjs +3 -3
  549. package/dist/actions/get-input-token-counts.cjs.map +1 -1
  550. package/dist/actions/get-input-token-counts.d.cts +47 -3
  551. package/dist/actions/get-input-token-counts.d.cts.map +1 -1
  552. package/dist/actions/get-input-token-counts.d.mts +47 -3
  553. package/dist/actions/get-input-token-counts.d.mts.map +1 -1
  554. package/dist/actions/get-input-token-counts.mjs +3 -3
  555. package/dist/actions/get-input-token-counts.mjs.map +1 -1
  556. package/dist/actions/get-message.cjs +19 -19
  557. package/dist/actions/get-message.cjs.map +1 -1
  558. package/dist/actions/get-message.d.cts +64 -3
  559. package/dist/actions/get-message.d.cts.map +1 -1
  560. package/dist/actions/get-message.d.mts +64 -3
  561. package/dist/actions/get-message.d.mts.map +1 -1
  562. package/dist/actions/get-message.mjs +19 -19
  563. package/dist/actions/get-message.mjs.map +1 -1
  564. package/dist/actions/get-response.cjs +19 -19
  565. package/dist/actions/get-response.cjs.map +1 -1
  566. package/dist/actions/get-response.d.cts +77 -3
  567. package/dist/actions/get-response.d.cts.map +1 -1
  568. package/dist/actions/get-response.d.mts +77 -3
  569. package/dist/actions/get-response.d.mts.map +1 -1
  570. package/dist/actions/get-response.mjs +19 -19
  571. package/dist/actions/get-response.mjs.map +1 -1
  572. package/dist/actions/get-run-step.cjs +43 -43
  573. package/dist/actions/get-run-step.cjs.map +1 -1
  574. package/dist/actions/get-run-step.d.cts +91 -3
  575. package/dist/actions/get-run-step.d.cts.map +1 -1
  576. package/dist/actions/get-run-step.d.mts +91 -3
  577. package/dist/actions/get-run-step.d.mts.map +1 -1
  578. package/dist/actions/get-run-step.mjs +43 -43
  579. package/dist/actions/get-run-step.mjs.map +1 -1
  580. package/dist/actions/get-vector-store-file-batch.cjs +11 -11
  581. package/dist/actions/get-vector-store-file-batch.cjs.map +1 -1
  582. package/dist/actions/get-vector-store-file-batch.d.cts +27 -3
  583. package/dist/actions/get-vector-store-file-batch.d.cts.map +1 -1
  584. package/dist/actions/get-vector-store-file-batch.d.mts +27 -3
  585. package/dist/actions/get-vector-store-file-batch.d.mts.map +1 -1
  586. package/dist/actions/get-vector-store-file-batch.mjs +11 -11
  587. package/dist/actions/get-vector-store-file-batch.mjs.map +1 -1
  588. package/dist/actions/get-vector-store-file.cjs +12 -12
  589. package/dist/actions/get-vector-store-file.cjs.map +1 -1
  590. package/dist/actions/get-vector-store-file.d.cts +32 -3
  591. package/dist/actions/get-vector-store-file.d.cts.map +1 -1
  592. package/dist/actions/get-vector-store-file.d.mts +32 -3
  593. package/dist/actions/get-vector-store-file.d.mts.map +1 -1
  594. package/dist/actions/get-vector-store-file.mjs +12 -12
  595. package/dist/actions/get-vector-store-file.mjs.map +1 -1
  596. package/dist/actions/get-vector-store.cjs +15 -15
  597. package/dist/actions/get-vector-store.cjs.map +1 -1
  598. package/dist/actions/get-vector-store.d.cts +34 -3
  599. package/dist/actions/get-vector-store.d.cts.map +1 -1
  600. package/dist/actions/get-vector-store.d.mts +34 -3
  601. package/dist/actions/get-vector-store.d.mts.map +1 -1
  602. package/dist/actions/get-vector-store.mjs +15 -15
  603. package/dist/actions/get-vector-store.mjs.map +1 -1
  604. package/dist/actions/get-video.cjs +9 -9
  605. package/dist/actions/get-video.cjs.map +1 -1
  606. package/dist/actions/get-video.d.cts +38 -3
  607. package/dist/actions/get-video.d.cts.map +1 -1
  608. package/dist/actions/get-video.d.mts +38 -3
  609. package/dist/actions/get-video.d.mts.map +1 -1
  610. package/dist/actions/get-video.mjs +9 -9
  611. package/dist/actions/get-video.mjs.map +1 -1
  612. package/dist/actions/list-assistants.cjs +28 -28
  613. package/dist/actions/list-assistants.cjs.map +1 -1
  614. package/dist/actions/list-assistants.d.cts +77 -3
  615. package/dist/actions/list-assistants.d.cts.map +1 -1
  616. package/dist/actions/list-assistants.d.mts +77 -3
  617. package/dist/actions/list-assistants.d.mts.map +1 -1
  618. package/dist/actions/list-assistants.mjs +28 -28
  619. package/dist/actions/list-assistants.mjs.map +1 -1
  620. package/dist/actions/list-batches.cjs +23 -23
  621. package/dist/actions/list-batches.cjs.map +1 -1
  622. package/dist/actions/list-batches.d.cts +64 -3
  623. package/dist/actions/list-batches.d.cts.map +1 -1
  624. package/dist/actions/list-batches.d.mts +64 -3
  625. package/dist/actions/list-batches.d.mts.map +1 -1
  626. package/dist/actions/list-batches.mjs +23 -23
  627. package/dist/actions/list-batches.mjs.map +1 -1
  628. package/dist/actions/list-chat-completions.cjs +14 -14
  629. package/dist/actions/list-chat-completions.cjs.map +1 -1
  630. package/dist/actions/list-chat-completions.d.cts +44 -3
  631. package/dist/actions/list-chat-completions.d.cts.map +1 -1
  632. package/dist/actions/list-chat-completions.d.mts +44 -3
  633. package/dist/actions/list-chat-completions.d.mts.map +1 -1
  634. package/dist/actions/list-chat-completions.mjs +14 -14
  635. package/dist/actions/list-chat-completions.mjs.map +1 -1
  636. package/dist/actions/list-chatkit-thread-items.cjs +9 -9
  637. package/dist/actions/list-chatkit-thread-items.cjs.map +1 -1
  638. package/dist/actions/list-chatkit-thread-items.d.cts +43 -3
  639. package/dist/actions/list-chatkit-thread-items.d.cts.map +1 -1
  640. package/dist/actions/list-chatkit-thread-items.d.mts +43 -3
  641. package/dist/actions/list-chatkit-thread-items.d.mts.map +1 -1
  642. package/dist/actions/list-chatkit-thread-items.mjs +9 -9
  643. package/dist/actions/list-chatkit-thread-items.mjs.map +1 -1
  644. package/dist/actions/list-container-files.cjs +11 -11
  645. package/dist/actions/list-container-files.cjs.map +1 -1
  646. package/dist/actions/list-container-files.d.cts +30 -3
  647. package/dist/actions/list-container-files.d.cts.map +1 -1
  648. package/dist/actions/list-container-files.d.mts +30 -3
  649. package/dist/actions/list-container-files.d.mts.map +1 -1
  650. package/dist/actions/list-container-files.mjs +11 -11
  651. package/dist/actions/list-container-files.mjs.map +1 -1
  652. package/dist/actions/list-containers.cjs +11 -11
  653. package/dist/actions/list-containers.cjs.map +1 -1
  654. package/dist/actions/list-containers.d.cts +38 -3
  655. package/dist/actions/list-containers.d.cts.map +1 -1
  656. package/dist/actions/list-containers.d.mts +38 -3
  657. package/dist/actions/list-containers.d.mts.map +1 -1
  658. package/dist/actions/list-containers.mjs +11 -11
  659. package/dist/actions/list-containers.mjs.map +1 -1
  660. package/dist/actions/list-conversation-items.cjs +6 -6
  661. package/dist/actions/list-conversation-items.cjs.map +1 -1
  662. package/dist/actions/list-conversation-items.d.cts +54 -3
  663. package/dist/actions/list-conversation-items.d.cts.map +1 -1
  664. package/dist/actions/list-conversation-items.d.mts +54 -3
  665. package/dist/actions/list-conversation-items.d.mts.map +1 -1
  666. package/dist/actions/list-conversation-items.mjs +6 -6
  667. package/dist/actions/list-conversation-items.mjs.map +1 -1
  668. package/dist/actions/list-engines.cjs +8 -8
  669. package/dist/actions/list-engines.cjs.map +1 -1
  670. package/dist/actions/list-engines.d.cts +12 -3
  671. package/dist/actions/list-engines.d.cts.map +1 -1
  672. package/dist/actions/list-engines.d.mts +12 -3
  673. package/dist/actions/list-engines.d.mts.map +1 -1
  674. package/dist/actions/list-engines.mjs +8 -8
  675. package/dist/actions/list-engines.mjs.map +1 -1
  676. package/dist/actions/list-evals.cjs +50 -50
  677. package/dist/actions/list-evals.cjs.map +1 -1
  678. package/dist/actions/list-evals.d.cts +138 -3
  679. package/dist/actions/list-evals.d.cts.map +1 -1
  680. package/dist/actions/list-evals.d.mts +138 -3
  681. package/dist/actions/list-evals.d.mts.map +1 -1
  682. package/dist/actions/list-evals.mjs +50 -50
  683. package/dist/actions/list-evals.mjs.map +1 -1
  684. package/dist/actions/list-files-in-vector-store-batch.cjs +15 -15
  685. package/dist/actions/list-files-in-vector-store-batch.cjs.map +1 -1
  686. package/dist/actions/list-files-in-vector-store-batch.d.cts +56 -3
  687. package/dist/actions/list-files-in-vector-store-batch.d.cts.map +1 -1
  688. package/dist/actions/list-files-in-vector-store-batch.d.mts +56 -3
  689. package/dist/actions/list-files-in-vector-store-batch.d.mts.map +1 -1
  690. package/dist/actions/list-files-in-vector-store-batch.mjs +15 -15
  691. package/dist/actions/list-files-in-vector-store-batch.mjs.map +1 -1
  692. package/dist/actions/list-files.cjs +10 -10
  693. package/dist/actions/list-files.cjs.map +1 -1
  694. package/dist/actions/list-files.d.cts +27 -3
  695. package/dist/actions/list-files.d.cts.map +1 -1
  696. package/dist/actions/list-files.d.mts +27 -3
  697. package/dist/actions/list-files.d.mts.map +1 -1
  698. package/dist/actions/list-files.mjs +10 -10
  699. package/dist/actions/list-files.mjs.map +1 -1
  700. package/dist/actions/list-fine-tunes.cjs +25 -25
  701. package/dist/actions/list-fine-tunes.cjs.map +1 -1
  702. package/dist/actions/list-fine-tunes.d.cts +61 -3
  703. package/dist/actions/list-fine-tunes.d.cts.map +1 -1
  704. package/dist/actions/list-fine-tunes.d.mts +61 -3
  705. package/dist/actions/list-fine-tunes.d.mts.map +1 -1
  706. package/dist/actions/list-fine-tunes.mjs +25 -25
  707. package/dist/actions/list-fine-tunes.mjs.map +1 -1
  708. package/dist/actions/list-fine-tuning-events.cjs +9 -9
  709. package/dist/actions/list-fine-tuning-events.cjs.map +1 -1
  710. package/dist/actions/list-fine-tuning-events.d.cts +23 -3
  711. package/dist/actions/list-fine-tuning-events.d.cts.map +1 -1
  712. package/dist/actions/list-fine-tuning-events.d.mts +23 -3
  713. package/dist/actions/list-fine-tuning-events.d.mts.map +1 -1
  714. package/dist/actions/list-fine-tuning-events.mjs +9 -9
  715. package/dist/actions/list-fine-tuning-events.mjs.map +1 -1
  716. package/dist/actions/list-fine-tuning-job-checkpoints.cjs +11 -11
  717. package/dist/actions/list-fine-tuning-job-checkpoints.cjs.map +1 -1
  718. package/dist/actions/list-fine-tuning-job-checkpoints.d.cts +33 -3
  719. package/dist/actions/list-fine-tuning-job-checkpoints.d.cts.map +1 -1
  720. package/dist/actions/list-fine-tuning-job-checkpoints.d.mts +33 -3
  721. package/dist/actions/list-fine-tuning-job-checkpoints.d.mts.map +1 -1
  722. package/dist/actions/list-fine-tuning-job-checkpoints.mjs +11 -11
  723. package/dist/actions/list-fine-tuning-job-checkpoints.mjs.map +1 -1
  724. package/dist/actions/list-input-items.cjs +8 -8
  725. package/dist/actions/list-input-items.cjs.map +1 -1
  726. package/dist/actions/list-input-items.d.cts +52 -3
  727. package/dist/actions/list-input-items.d.cts.map +1 -1
  728. package/dist/actions/list-input-items.d.mts +52 -3
  729. package/dist/actions/list-input-items.d.mts.map +1 -1
  730. package/dist/actions/list-input-items.mjs +8 -8
  731. package/dist/actions/list-input-items.mjs.map +1 -1
  732. package/dist/actions/list-messages.cjs +22 -22
  733. package/dist/actions/list-messages.cjs.map +1 -1
  734. package/dist/actions/list-messages.d.cts +79 -3
  735. package/dist/actions/list-messages.d.cts.map +1 -1
  736. package/dist/actions/list-messages.d.mts +79 -3
  737. package/dist/actions/list-messages.d.mts.map +1 -1
  738. package/dist/actions/list-messages.mjs +22 -22
  739. package/dist/actions/list-messages.mjs.map +1 -1
  740. package/dist/actions/list-models.cjs +19 -19
  741. package/dist/actions/list-models.cjs.map +1 -1
  742. package/dist/actions/list-models.d.cts +27 -3
  743. package/dist/actions/list-models.d.cts.map +1 -1
  744. package/dist/actions/list-models.d.mts +27 -3
  745. package/dist/actions/list-models.d.mts.map +1 -1
  746. package/dist/actions/list-models.mjs +19 -19
  747. package/dist/actions/list-models.mjs.map +1 -1
  748. package/dist/actions/list-run-steps.cjs +46 -46
  749. package/dist/actions/list-run-steps.cjs.map +1 -1
  750. package/dist/actions/list-run-steps.d.cts +106 -3
  751. package/dist/actions/list-run-steps.d.cts.map +1 -1
  752. package/dist/actions/list-run-steps.d.mts +106 -3
  753. package/dist/actions/list-run-steps.d.mts.map +1 -1
  754. package/dist/actions/list-run-steps.mjs +46 -46
  755. package/dist/actions/list-run-steps.mjs.map +1 -1
  756. package/dist/actions/list-runs.cjs +24 -24
  757. package/dist/actions/list-runs.cjs.map +1 -1
  758. package/dist/actions/list-runs.d.cts +77 -3
  759. package/dist/actions/list-runs.d.cts.map +1 -1
  760. package/dist/actions/list-runs.d.mts +77 -3
  761. package/dist/actions/list-runs.d.mts.map +1 -1
  762. package/dist/actions/list-runs.mjs +24 -24
  763. package/dist/actions/list-runs.mjs.map +1 -1
  764. package/dist/actions/list-skills.cjs +11 -11
  765. package/dist/actions/list-skills.cjs.map +1 -1
  766. package/dist/actions/list-skills.d.cts +28 -3
  767. package/dist/actions/list-skills.d.cts.map +1 -1
  768. package/dist/actions/list-skills.d.mts +28 -3
  769. package/dist/actions/list-skills.d.mts.map +1 -1
  770. package/dist/actions/list-skills.mjs +11 -11
  771. package/dist/actions/list-skills.mjs.map +1 -1
  772. package/dist/actions/list-threads.cjs +10 -10
  773. package/dist/actions/list-threads.cjs.map +1 -1
  774. package/dist/actions/list-threads.d.cts +33 -3
  775. package/dist/actions/list-threads.d.cts.map +1 -1
  776. package/dist/actions/list-threads.d.mts +33 -3
  777. package/dist/actions/list-threads.d.mts.map +1 -1
  778. package/dist/actions/list-threads.mjs +10 -10
  779. package/dist/actions/list-threads.mjs.map +1 -1
  780. package/dist/actions/list-vector-store-files.cjs +12 -12
  781. package/dist/actions/list-vector-store-files.cjs.map +1 -1
  782. package/dist/actions/list-vector-store-files.d.cts +49 -3
  783. package/dist/actions/list-vector-store-files.d.cts.map +1 -1
  784. package/dist/actions/list-vector-store-files.d.mts +49 -3
  785. package/dist/actions/list-vector-store-files.d.mts.map +1 -1
  786. package/dist/actions/list-vector-store-files.mjs +12 -12
  787. package/dist/actions/list-vector-store-files.mjs.map +1 -1
  788. package/dist/actions/list-vector-stores.cjs +19 -19
  789. package/dist/actions/list-vector-stores.cjs.map +1 -1
  790. package/dist/actions/list-vector-stores.d.cts +49 -3
  791. package/dist/actions/list-vector-stores.d.cts.map +1 -1
  792. package/dist/actions/list-vector-stores.d.mts +49 -3
  793. package/dist/actions/list-vector-stores.d.mts.map +1 -1
  794. package/dist/actions/list-vector-stores.mjs +19 -19
  795. package/dist/actions/list-vector-stores.mjs.map +1 -1
  796. package/dist/actions/list-videos.cjs +12 -12
  797. package/dist/actions/list-videos.cjs.map +1 -1
  798. package/dist/actions/list-videos.d.cts +51 -3
  799. package/dist/actions/list-videos.d.cts.map +1 -1
  800. package/dist/actions/list-videos.d.mts +51 -3
  801. package/dist/actions/list-videos.d.mts.map +1 -1
  802. package/dist/actions/list-videos.mjs +12 -12
  803. package/dist/actions/list-videos.mjs.map +1 -1
  804. package/dist/actions/modify-assistant.cjs +7 -7
  805. package/dist/actions/modify-assistant.cjs.map +1 -1
  806. package/dist/actions/modify-assistant.d.cts +55 -3
  807. package/dist/actions/modify-assistant.d.cts.map +1 -1
  808. package/dist/actions/modify-assistant.d.mts +55 -3
  809. package/dist/actions/modify-assistant.d.mts.map +1 -1
  810. package/dist/actions/modify-assistant.mjs +7 -7
  811. package/dist/actions/modify-assistant.mjs.map +1 -1
  812. package/dist/actions/modify-message.cjs +18 -18
  813. package/dist/actions/modify-message.cjs.map +1 -1
  814. package/dist/actions/modify-message.d.cts +64 -3
  815. package/dist/actions/modify-message.d.cts.map +1 -1
  816. package/dist/actions/modify-message.d.mts +64 -3
  817. package/dist/actions/modify-message.d.mts.map +1 -1
  818. package/dist/actions/modify-message.mjs +18 -18
  819. package/dist/actions/modify-message.mjs.map +1 -1
  820. package/dist/actions/modify-run.cjs +23 -23
  821. package/dist/actions/modify-run.cjs.map +1 -1
  822. package/dist/actions/modify-run.d.cts +71 -3
  823. package/dist/actions/modify-run.d.cts.map +1 -1
  824. package/dist/actions/modify-run.d.mts +71 -3
  825. package/dist/actions/modify-run.d.mts.map +1 -1
  826. package/dist/actions/modify-run.mjs +23 -23
  827. package/dist/actions/modify-run.mjs.map +1 -1
  828. package/dist/actions/modify-thread.cjs +6 -6
  829. package/dist/actions/modify-thread.cjs.map +1 -1
  830. package/dist/actions/modify-thread.d.cts +14 -3
  831. package/dist/actions/modify-thread.d.cts.map +1 -1
  832. package/dist/actions/modify-thread.d.mts +14 -3
  833. package/dist/actions/modify-thread.d.mts.map +1 -1
  834. package/dist/actions/modify-thread.mjs +6 -6
  835. package/dist/actions/modify-thread.mjs.map +1 -1
  836. package/dist/actions/modify-vector-store.cjs +16 -16
  837. package/dist/actions/modify-vector-store.cjs.map +1 -1
  838. package/dist/actions/modify-vector-store.d.cts +48 -3
  839. package/dist/actions/modify-vector-store.d.cts.map +1 -1
  840. package/dist/actions/modify-vector-store.d.mts +48 -3
  841. package/dist/actions/modify-vector-store.d.mts.map +1 -1
  842. package/dist/actions/modify-vector-store.mjs +16 -16
  843. package/dist/actions/modify-vector-store.mjs.map +1 -1
  844. package/dist/actions/retrieve-assistant.cjs +9 -9
  845. package/dist/actions/retrieve-assistant.cjs.map +1 -1
  846. package/dist/actions/retrieve-assistant.d.cts +26 -3
  847. package/dist/actions/retrieve-assistant.d.cts.map +1 -1
  848. package/dist/actions/retrieve-assistant.d.mts +26 -3
  849. package/dist/actions/retrieve-assistant.d.mts.map +1 -1
  850. package/dist/actions/retrieve-assistant.mjs +9 -9
  851. package/dist/actions/retrieve-assistant.mjs.map +1 -1
  852. package/dist/actions/retrieve-batch.cjs +19 -19
  853. package/dist/actions/retrieve-batch.cjs.map +1 -1
  854. package/dist/actions/retrieve-batch.d.cts +56 -3
  855. package/dist/actions/retrieve-batch.d.cts.map +1 -1
  856. package/dist/actions/retrieve-batch.d.mts +56 -3
  857. package/dist/actions/retrieve-batch.d.mts.map +1 -1
  858. package/dist/actions/retrieve-batch.mjs +19 -19
  859. package/dist/actions/retrieve-batch.mjs.map +1 -1
  860. package/dist/actions/retrieve-container-file-content.cjs +5 -5
  861. package/dist/actions/retrieve-container-file-content.cjs.map +1 -1
  862. package/dist/actions/retrieve-container-file-content.d.cts +15 -3
  863. package/dist/actions/retrieve-container-file-content.d.cts.map +1 -1
  864. package/dist/actions/retrieve-container-file-content.d.mts +15 -3
  865. package/dist/actions/retrieve-container-file-content.d.mts.map +1 -1
  866. package/dist/actions/retrieve-container-file-content.mjs +5 -5
  867. package/dist/actions/retrieve-container-file-content.mjs.map +1 -1
  868. package/dist/actions/retrieve-container-file.cjs +8 -8
  869. package/dist/actions/retrieve-container-file.cjs.map +1 -1
  870. package/dist/actions/retrieve-container-file.d.cts +17 -3
  871. package/dist/actions/retrieve-container-file.d.cts.map +1 -1
  872. package/dist/actions/retrieve-container-file.d.mts +17 -3
  873. package/dist/actions/retrieve-container-file.d.mts.map +1 -1
  874. package/dist/actions/retrieve-container-file.mjs +8 -8
  875. package/dist/actions/retrieve-container-file.mjs.map +1 -1
  876. package/dist/actions/retrieve-container.cjs +9 -9
  877. package/dist/actions/retrieve-container.cjs.map +1 -1
  878. package/dist/actions/retrieve-container.d.cts +33 -3
  879. package/dist/actions/retrieve-container.d.cts.map +1 -1
  880. package/dist/actions/retrieve-container.d.mts +33 -3
  881. package/dist/actions/retrieve-container.d.mts.map +1 -1
  882. package/dist/actions/retrieve-container.mjs +9 -9
  883. package/dist/actions/retrieve-container.mjs.map +1 -1
  884. package/dist/actions/retrieve-engine.cjs +6 -6
  885. package/dist/actions/retrieve-engine.cjs.map +1 -1
  886. package/dist/actions/retrieve-engine.d.cts +13 -3
  887. package/dist/actions/retrieve-engine.d.cts.map +1 -1
  888. package/dist/actions/retrieve-engine.d.mts +13 -3
  889. package/dist/actions/retrieve-engine.d.mts.map +1 -1
  890. package/dist/actions/retrieve-engine.mjs +6 -6
  891. package/dist/actions/retrieve-engine.mjs.map +1 -1
  892. package/dist/actions/retrieve-file.cjs +6 -6
  893. package/dist/actions/retrieve-file.cjs.map +1 -1
  894. package/dist/actions/retrieve-file.d.cts +30 -3
  895. package/dist/actions/retrieve-file.d.cts.map +1 -1
  896. package/dist/actions/retrieve-file.d.mts +30 -3
  897. package/dist/actions/retrieve-file.d.mts.map +1 -1
  898. package/dist/actions/retrieve-file.mjs +6 -6
  899. package/dist/actions/retrieve-file.mjs.map +1 -1
  900. package/dist/actions/retrieve-fine-tuning-job.cjs +13 -13
  901. package/dist/actions/retrieve-fine-tuning-job.cjs.map +1 -1
  902. package/dist/actions/retrieve-fine-tuning-job.d.cts +51 -3
  903. package/dist/actions/retrieve-fine-tuning-job.d.cts.map +1 -1
  904. package/dist/actions/retrieve-fine-tuning-job.d.mts +51 -3
  905. package/dist/actions/retrieve-fine-tuning-job.d.mts.map +1 -1
  906. package/dist/actions/retrieve-fine-tuning-job.mjs +13 -13
  907. package/dist/actions/retrieve-fine-tuning-job.mjs.map +1 -1
  908. package/dist/actions/retrieve-model.cjs +17 -17
  909. package/dist/actions/retrieve-model.cjs.map +1 -1
  910. package/dist/actions/retrieve-model.d.cts +28 -3
  911. package/dist/actions/retrieve-model.d.cts.map +1 -1
  912. package/dist/actions/retrieve-model.d.mts +28 -3
  913. package/dist/actions/retrieve-model.d.mts.map +1 -1
  914. package/dist/actions/retrieve-model.mjs +17 -17
  915. package/dist/actions/retrieve-model.mjs.map +1 -1
  916. package/dist/actions/retrieve-run.cjs +21 -21
  917. package/dist/actions/retrieve-run.cjs.map +1 -1
  918. package/dist/actions/retrieve-run.d.cts +63 -3
  919. package/dist/actions/retrieve-run.d.cts.map +1 -1
  920. package/dist/actions/retrieve-run.d.mts +63 -3
  921. package/dist/actions/retrieve-run.d.mts.map +1 -1
  922. package/dist/actions/retrieve-run.mjs +21 -21
  923. package/dist/actions/retrieve-run.mjs.map +1 -1
  924. package/dist/actions/retrieve-thread.cjs +5 -5
  925. package/dist/actions/retrieve-thread.cjs.map +1 -1
  926. package/dist/actions/retrieve-thread.d.cts +12 -3
  927. package/dist/actions/retrieve-thread.d.cts.map +1 -1
  928. package/dist/actions/retrieve-thread.d.mts +12 -3
  929. package/dist/actions/retrieve-thread.d.mts.map +1 -1
  930. package/dist/actions/retrieve-thread.mjs +5 -5
  931. package/dist/actions/retrieve-thread.mjs.map +1 -1
  932. package/dist/actions/retrieve-vector-store-file-content.cjs +6 -6
  933. package/dist/actions/retrieve-vector-store-file-content.cjs.map +1 -1
  934. package/dist/actions/retrieve-vector-store-file-content.d.cts +17 -3
  935. package/dist/actions/retrieve-vector-store-file-content.d.cts.map +1 -1
  936. package/dist/actions/retrieve-vector-store-file-content.d.mts +17 -3
  937. package/dist/actions/retrieve-vector-store-file-content.d.mts.map +1 -1
  938. package/dist/actions/retrieve-vector-store-file-content.mjs +6 -6
  939. package/dist/actions/retrieve-vector-store-file-content.mjs.map +1 -1
  940. package/dist/actions/run-grader.cjs +27 -27
  941. package/dist/actions/run-grader.cjs.map +1 -1
  942. package/dist/actions/run-grader.d.cts +118 -3
  943. package/dist/actions/run-grader.d.cts.map +1 -1
  944. package/dist/actions/run-grader.d.mts +118 -3
  945. package/dist/actions/run-grader.d.mts.map +1 -1
  946. package/dist/actions/run-grader.mjs +27 -27
  947. package/dist/actions/run-grader.mjs.map +1 -1
  948. package/dist/actions/search-vector-store.cjs +9 -9
  949. package/dist/actions/search-vector-store.cjs.map +1 -1
  950. package/dist/actions/search-vector-store.d.cts +42 -3
  951. package/dist/actions/search-vector-store.d.cts.map +1 -1
  952. package/dist/actions/search-vector-store.d.mts +42 -3
  953. package/dist/actions/search-vector-store.d.mts.map +1 -1
  954. package/dist/actions/search-vector-store.mjs +9 -9
  955. package/dist/actions/search-vector-store.mjs.map +1 -1
  956. package/dist/actions/submit-tool-outputs-to-run.cjs +23 -23
  957. package/dist/actions/submit-tool-outputs-to-run.cjs.map +1 -1
  958. package/dist/actions/submit-tool-outputs-to-run.d.cts +80 -3
  959. package/dist/actions/submit-tool-outputs-to-run.d.cts.map +1 -1
  960. package/dist/actions/submit-tool-outputs-to-run.d.mts +80 -3
  961. package/dist/actions/submit-tool-outputs-to-run.d.mts.map +1 -1
  962. package/dist/actions/submit-tool-outputs-to-run.mjs +23 -23
  963. package/dist/actions/submit-tool-outputs-to-run.mjs.map +1 -1
  964. package/dist/actions/update-chat-completion.cjs +18 -18
  965. package/dist/actions/update-chat-completion.cjs.map +1 -1
  966. package/dist/actions/update-chat-completion.d.cts +46 -3
  967. package/dist/actions/update-chat-completion.d.cts.map +1 -1
  968. package/dist/actions/update-chat-completion.d.mts +46 -3
  969. package/dist/actions/update-chat-completion.d.mts.map +1 -1
  970. package/dist/actions/update-chat-completion.mjs +18 -18
  971. package/dist/actions/update-chat-completion.mjs.map +1 -1
  972. package/dist/actions/update-conversation.cjs +4 -4
  973. package/dist/actions/update-conversation.cjs.map +1 -1
  974. package/dist/actions/update-conversation.d.cts +14 -3
  975. package/dist/actions/update-conversation.d.cts.map +1 -1
  976. package/dist/actions/update-conversation.d.mts +14 -3
  977. package/dist/actions/update-conversation.d.mts.map +1 -1
  978. package/dist/actions/update-conversation.mjs +4 -4
  979. package/dist/actions/update-conversation.mjs.map +1 -1
  980. package/dist/actions/update-eval.cjs +5 -5
  981. package/dist/actions/update-eval.cjs.map +1 -1
  982. package/dist/actions/update-eval.d.cts +19 -3
  983. package/dist/actions/update-eval.d.cts.map +1 -1
  984. package/dist/actions/update-eval.d.mts +19 -3
  985. package/dist/actions/update-eval.d.mts.map +1 -1
  986. package/dist/actions/update-eval.mjs +5 -5
  987. package/dist/actions/update-eval.mjs.map +1 -1
  988. package/dist/actions/update-vector-store-file-attributes.cjs +12 -12
  989. package/dist/actions/update-vector-store-file-attributes.cjs.map +1 -1
  990. package/dist/actions/update-vector-store-file-attributes.d.cts +34 -3
  991. package/dist/actions/update-vector-store-file-attributes.d.cts.map +1 -1
  992. package/dist/actions/update-vector-store-file-attributes.d.mts +34 -3
  993. package/dist/actions/update-vector-store-file-attributes.d.mts.map +1 -1
  994. package/dist/actions/update-vector-store-file-attributes.mjs +12 -12
  995. package/dist/actions/update-vector-store-file-attributes.mjs.map +1 -1
  996. package/dist/actions/upload-file.cjs +8 -8
  997. package/dist/actions/upload-file.cjs.map +1 -1
  998. package/dist/actions/upload-file.d.cts +18 -3
  999. package/dist/actions/upload-file.d.cts.map +1 -1
  1000. package/dist/actions/upload-file.d.mts +18 -3
  1001. package/dist/actions/upload-file.d.mts.map +1 -1
  1002. package/dist/actions/upload-file.mjs +8 -8
  1003. package/dist/actions/upload-file.mjs.map +1 -1
  1004. package/dist/actions/validate-grader.cjs +9 -9
  1005. package/dist/actions/validate-grader.cjs.map +1 -1
  1006. package/dist/actions/validate-grader.d.cts +91 -3
  1007. package/dist/actions/validate-grader.d.cts.map +1 -1
  1008. package/dist/actions/validate-grader.d.mts +91 -3
  1009. package/dist/actions/validate-grader.d.mts.map +1 -1
  1010. package/dist/actions/validate-grader.mjs +9 -9
  1011. package/dist/actions/validate-grader.mjs.map +1 -1
  1012. package/dist/catalog.cjs +14 -1
  1013. package/dist/catalog.cjs.map +1 -1
  1014. package/dist/catalog.d.cts +13 -0
  1015. package/dist/catalog.d.mts +13 -0
  1016. package/dist/catalog.mjs +14 -1
  1017. package/dist/catalog.mjs.map +1 -1
  1018. package/dist/execute.cjs +1 -1
  1019. package/dist/execute.cjs.map +1 -1
  1020. package/dist/execute.mjs +1 -1
  1021. package/dist/execute.mjs.map +1 -1
  1022. package/package.json +2 -2
@@ -11,87 +11,87 @@ const OpenaiListRunStepsInput = zod.z.object({
11
11
  thread_id: zod.z.string().describe("The ID of the thread that was run")
12
12
  }).describe("Request model for listing run steps in a thread run.");
13
13
  const OpenaiListRunSteps_UsageSchema = zod.z.object({
14
- total_tokens: zod.z.number().int().describe("Total tokens used"),
15
- prompt_tokens: zod.z.number().int().describe("Number of prompt tokens used"),
16
- completion_tokens: zod.z.number().int().describe("Number of completion tokens used")
17
- }).describe("Token usage statistics for the run step.");
14
+ total_tokens: zod.z.number().int().describe("Total tokens used").nullable(),
15
+ prompt_tokens: zod.z.number().int().describe("Number of prompt tokens used").nullable(),
16
+ completion_tokens: zod.z.number().int().describe("Number of completion tokens used").nullable()
17
+ }).passthrough().describe("Token usage statistics for the run step.");
18
18
  const OpenaiListRunSteps_LastErrorSchema = zod.z.object({
19
- code: zod.z.enum(["server_error", "rate_limit_exceeded"]).describe("Error code: 'server_error' or 'rate_limit_exceeded'"),
20
- message: zod.z.string().describe("Human-readable error message")
21
- }).describe("Error information for a failed run step.");
22
- const OpenaiListRunSteps_MessageCreationSchema = zod.z.object({ message_id: zod.z.string().describe("ID of the message that was created") }).describe("Details of message creation in a run step.");
19
+ code: zod.z.enum(["server_error", "rate_limit_exceeded"]).describe("Error code: 'server_error' or 'rate_limit_exceeded'").nullable(),
20
+ message: zod.z.string().describe("Human-readable error message").nullable()
21
+ }).passthrough().describe("Error information for a failed run step.");
22
+ const OpenaiListRunSteps_MessageCreationSchema = zod.z.object({ message_id: zod.z.string().describe("ID of the message that was created").nullable() }).passthrough().describe("Details of message creation in a run step.");
23
23
  const OpenaiListRunSteps_MessageCreationStepDetailsSchema = zod.z.object({
24
- type: zod.z.string().describe("Type of step, always 'message_creation'"),
24
+ type: zod.z.string().describe("Type of step, always 'message_creation'").nullable(),
25
25
  message_creation: OpenaiListRunSteps_MessageCreationSchema.nullable()
26
- }).describe("Step details for a message creation run step.");
26
+ }).passthrough().describe("Step details for a message creation run step.");
27
27
  const OpenaiListRunSteps_CodeInterpreterOutputSchema = zod.z.object({
28
28
  logs: zod.z.string().describe("Text output from code interpreter").nullable().optional(),
29
- type: zod.z.enum(["logs", "image"]).describe("Type of output"),
29
+ type: zod.z.enum(["logs", "image"]).describe("Type of output").nullable(),
30
30
  image: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Image output details").nullable().optional()
31
- }).describe("Output from the code interpreter.");
31
+ }).passthrough().describe("Output from the code interpreter.");
32
32
  const OpenaiListRunSteps_CodeInterpreterSchema = zod.z.object({
33
- input: zod.z.string().describe("The input to the code interpreter"),
33
+ input: zod.z.string().describe("The input to the code interpreter").nullable(),
34
34
  outputs: zod.z.array(OpenaiListRunSteps_CodeInterpreterOutputSchema).describe("The outputs from the code interpreter call")
35
- }).describe("Details of a code interpreter call.");
35
+ }).passthrough().describe("Details of a code interpreter call.");
36
36
  const OpenaiListRunSteps_CodeInterpreterToolCallSchema = zod.z.object({
37
- id: zod.z.string().describe("The ID of the tool call"),
38
- type: zod.z.string().describe("Type of tool call, always 'code_interpreter'"),
37
+ id: zod.z.string().describe("The ID of the tool call").nullable(),
38
+ type: zod.z.string().describe("Type of tool call, always 'code_interpreter'").nullable(),
39
39
  code_interpreter: OpenaiListRunSteps_CodeInterpreterSchema.nullable()
40
- }).describe("A code interpreter tool call.");
40
+ }).passthrough().describe("A code interpreter tool call.");
41
41
  const OpenaiListRunSteps_FileSearchResultSchema = zod.z.object({
42
- score: zod.z.number().describe("Relevance score of the result"),
42
+ score: zod.z.number().describe("Relevance score of the result").nullable(),
43
43
  content: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("The content of the matched text (if include parameter specified)").nullable().optional(),
44
- file_id: zod.z.string().describe("The ID of the file that was searched"),
45
- file_name: zod.z.string().describe("The name of the file")
46
- }).describe("A single file search result.");
44
+ file_id: zod.z.string().describe("The ID of the file that was searched").nullable(),
45
+ file_name: zod.z.string().describe("The name of the file").nullable()
46
+ }).passthrough().describe("A single file search result.");
47
47
  const OpenaiListRunSteps_FileSearchSchema = zod.z.object({
48
48
  results: zod.z.array(OpenaiListRunSteps_FileSearchResultSchema).describe("The file search results").nullable().optional(),
49
49
  ranking_options: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Ranking options used for the file search").nullable().optional()
50
- }).describe("Details of a file search operation.");
50
+ }).passthrough().describe("Details of a file search operation.");
51
51
  const OpenaiListRunSteps_FileSearchToolCallSchema = zod.z.object({
52
- id: zod.z.string().describe("The ID of the tool call"),
53
- type: zod.z.string().describe("Type of tool call, always 'file_search'"),
52
+ id: zod.z.string().describe("The ID of the tool call").nullable(),
53
+ type: zod.z.string().describe("Type of tool call, always 'file_search'").nullable(),
54
54
  file_search: OpenaiListRunSteps_FileSearchSchema.nullable()
55
- }).describe("A file search tool call.");
55
+ }).passthrough().describe("A file search tool call.");
56
56
  const OpenaiListRunSteps_FunctionCallSchema = zod.z.object({
57
- name: zod.z.string().describe("The name of the function"),
57
+ name: zod.z.string().describe("The name of the function").nullable(),
58
58
  output: zod.z.string().describe("The output of the function (null if not yet submitted)").nullable().optional(),
59
- arguments: zod.z.string().describe("The arguments passed to the function as JSON string")
60
- }).describe("Details of a function call.");
59
+ arguments: zod.z.string().describe("The arguments passed to the function as JSON string").nullable()
60
+ }).passthrough().describe("Details of a function call.");
61
61
  const OpenaiListRunSteps_FunctionToolCallSchema = zod.z.object({
62
- id: zod.z.string().describe("The ID of the tool call"),
63
- type: zod.z.string().describe("Type of tool call, always 'function'"),
62
+ id: zod.z.string().describe("The ID of the tool call").nullable(),
63
+ type: zod.z.string().describe("Type of tool call, always 'function'").nullable(),
64
64
  "function": OpenaiListRunSteps_FunctionCallSchema.nullable()
65
- }).describe("A function tool call.");
65
+ }).passthrough().describe("A function tool call.");
66
66
  const OpenaiListRunSteps_ToolCallsStepDetailsSchema = zod.z.object({
67
- type: zod.z.string().describe("Type of step, always 'tool_calls'"),
67
+ type: zod.z.string().describe("Type of step, always 'tool_calls'").nullable(),
68
68
  tool_calls: zod.z.array(zod.z.union([
69
69
  OpenaiListRunSteps_CodeInterpreterToolCallSchema,
70
70
  OpenaiListRunSteps_FileSearchToolCallSchema,
71
71
  OpenaiListRunSteps_FunctionToolCallSchema,
72
72
  zod.z.record(zod.z.string(), zod.z.unknown())
73
73
  ])).describe("List of tool calls made in this step")
74
- }).describe("Step details for a tool calls run step.");
74
+ }).passthrough().describe("Step details for a tool calls run step.");
75
75
  const OpenaiListRunSteps_RunStepSchema = zod.z.object({
76
- id: zod.z.string().describe("The identifier of the run step"),
77
- type: zod.z.enum(["message_creation", "tool_calls"]).describe("Type of run step: 'message_creation' or 'tool_calls'"),
76
+ id: zod.z.string().describe("The identifier of the run step").nullable(),
77
+ type: zod.z.enum(["message_creation", "tool_calls"]).describe("Type of run step: 'message_creation' or 'tool_calls'").nullable(),
78
78
  usage: OpenaiListRunSteps_UsageSchema.nullable().optional(),
79
- object: zod.z.string().describe("Object type, always 'thread.run.step'"),
80
- run_id: zod.z.string().describe("The ID of the run this step belongs to"),
79
+ object: zod.z.string().describe("Object type, always 'thread.run.step'").nullable(),
80
+ run_id: zod.z.string().describe("The ID of the run this step belongs to").nullable(),
81
81
  status: zod.z.enum([
82
82
  "in_progress",
83
83
  "cancelled",
84
84
  "failed",
85
85
  "completed",
86
86
  "expired"
87
- ]).describe("The status of the run step"),
88
- metadata: zod.z.object({}).describe("Metadata key-value pairs attached to the run step").nullable().optional(),
87
+ ]).describe("The status of the run step").nullable(),
88
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Metadata key-value pairs attached to the run step").nullable().optional(),
89
89
  failed_at: zod.z.number().int().describe("Unix timestamp when the run step failed").nullable().optional(),
90
- thread_id: zod.z.string().describe("The ID of the thread this run step belongs to"),
91
- created_at: zod.z.number().int().describe("Unix timestamp (in seconds) when the run step was created"),
90
+ thread_id: zod.z.string().describe("The ID of the thread this run step belongs to").nullable(),
91
+ created_at: zod.z.number().int().describe("Unix timestamp (in seconds) when the run step was created").nullable(),
92
92
  expired_at: zod.z.number().int().describe("Unix timestamp when the run step expired").nullable().optional(),
93
93
  last_error: OpenaiListRunSteps_LastErrorSchema.nullable().optional(),
94
- assistant_id: zod.z.string().describe("The ID of the assistant associated with this run step"),
94
+ assistant_id: zod.z.string().describe("The ID of the assistant associated with this run step").nullable(),
95
95
  cancelled_at: zod.z.number().int().describe("Unix timestamp when the run step was cancelled").nullable().optional(),
96
96
  completed_at: zod.z.number().int().describe("Unix timestamp when the run step was completed").nullable().optional(),
97
97
  step_details: zod.z.union([
@@ -99,14 +99,14 @@ const OpenaiListRunSteps_RunStepSchema = zod.z.object({
99
99
  OpenaiListRunSteps_ToolCallsStepDetailsSchema,
100
100
  zod.z.record(zod.z.string(), zod.z.unknown())
101
101
  ])
102
- }).describe("A run step object representing a step in the execution of a run.");
102
+ }).passthrough().describe("A run step object representing a step in the execution of a run.");
103
103
  const OpenaiListRunStepsOutput = zod.z.object({
104
104
  data: zod.z.array(OpenaiListRunSteps_RunStepSchema).describe("Array of run step objects"),
105
- object: zod.z.string().describe("Object type, always 'list'"),
105
+ object: zod.z.string().describe("Object type, always 'list'").nullable(),
106
106
  last_id: zod.z.string().describe("ID of the last run step in the list").nullable().optional(),
107
107
  first_id: zod.z.string().describe("ID of the first run step in the list").nullable().optional(),
108
- has_more: zod.z.boolean().describe("Whether there are more run steps available for pagination")
109
- }).describe("Response model for listing run steps.");
108
+ has_more: zod.z.boolean().describe("Whether there are more run steps available for pagination").nullable()
109
+ }).passthrough().describe("Response model for listing run steps.");
110
110
  const openaiListRunSteps = require_action.action("OPENAI_LIST_RUN_STEPS", {
111
111
  slug: "openai-list-run-steps",
112
112
  name: "List Run Steps",
@@ -1 +1 @@
1
- {"version":3,"file":"list-run-steps.cjs","names":["z","action"],"sources":["../../src/actions/list-run-steps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiListRunStepsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor for pagination. Provide an object ID to fetch the next page after that ID.\").optional(),\n limit: z.number().int().describe(\"Limit on the number of run steps to return (1-100). Default is 20.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order by created_at timestamp: 'asc' for ascending, 'desc' for descending. Default is 'desc'.\").optional(),\n before: z.string().describe(\"Cursor for pagination. Provide an object ID to fetch the previous page before that ID.\").optional(),\n run_id: z.string().describe(\"The ID of the run to list steps from\"),\n include: z.array(z.string()).describe(\"Additional fields to include in the response. Use 'step_details.tool_calls[*].file_search.results[*].content' to include file search result content.\").optional(),\n thread_id: z.string().describe(\"The ID of the thread that was run\"),\n}).describe(\"Request model for listing run steps in a thread run.\");\nconst OpenaiListRunSteps_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(\"Token usage statistics for the run step.\");\nconst OpenaiListRunSteps_LastErrorSchema: z.ZodTypeAny = z.object({\n code: z.enum([\"server_error\", \"rate_limit_exceeded\"]).describe(\"Error code: 'server_error' or 'rate_limit_exceeded'\"),\n message: z.string().describe(\"Human-readable error message\"),\n}).describe(\"Error information for a failed run step.\");\nconst OpenaiListRunSteps_MessageCreationSchema: z.ZodTypeAny = z.object({\n message_id: z.string().describe(\"ID of the message that was created\"),\n}).describe(\"Details of message creation in a run step.\");\nconst OpenaiListRunSteps_MessageCreationStepDetailsSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of step, always 'message_creation'\"),\n message_creation: OpenaiListRunSteps_MessageCreationSchema.nullable(),\n}).describe(\"Step details for a message creation run step.\");\nconst OpenaiListRunSteps_CodeInterpreterOutputSchema: z.ZodTypeAny = z.object({\n logs: z.string().describe(\"Text output from code interpreter\").nullable().optional(),\n type: z.enum([\"logs\", \"image\"]).describe(\"Type of output\"),\n image: z.record(z.string(), z.unknown()).describe(\"Image output details\").nullable().optional(),\n}).describe(\"Output from the code interpreter.\");\nconst OpenaiListRunSteps_CodeInterpreterSchema: z.ZodTypeAny = z.object({\n input: z.string().describe(\"The input to the code interpreter\"),\n outputs: z.array(OpenaiListRunSteps_CodeInterpreterOutputSchema).describe(\"The outputs from the code interpreter call\"),\n}).describe(\"Details of a code interpreter call.\");\nconst OpenaiListRunSteps_CodeInterpreterToolCallSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the tool call\"),\n type: z.string().describe(\"Type of tool call, always 'code_interpreter'\"),\n code_interpreter: OpenaiListRunSteps_CodeInterpreterSchema.nullable(),\n}).describe(\"A code interpreter tool call.\");\nconst OpenaiListRunSteps_FileSearchResultSchema: z.ZodTypeAny = z.object({\n score: z.number().describe(\"Relevance score of the result\"),\n content: z.array(z.record(z.string(), z.unknown())).describe(\"The content of the matched text (if include parameter specified)\").nullable().optional(),\n file_id: z.string().describe(\"The ID of the file that was searched\"),\n file_name: z.string().describe(\"The name of the file\"),\n}).describe(\"A single file search result.\");\nconst OpenaiListRunSteps_FileSearchSchema: z.ZodTypeAny = z.object({\n results: z.array(OpenaiListRunSteps_FileSearchResultSchema).describe(\"The file search results\").nullable().optional(),\n ranking_options: z.record(z.string(), z.unknown()).describe(\"Ranking options used for the file search\").nullable().optional(),\n}).describe(\"Details of a file search operation.\");\nconst OpenaiListRunSteps_FileSearchToolCallSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the tool call\"),\n type: z.string().describe(\"Type of tool call, always 'file_search'\"),\n file_search: OpenaiListRunSteps_FileSearchSchema.nullable(),\n}).describe(\"A file search tool call.\");\nconst OpenaiListRunSteps_FunctionCallSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the function\"),\n output: z.string().describe(\"The output of the function (null if not yet submitted)\").nullable().optional(),\n arguments: z.string().describe(\"The arguments passed to the function as JSON string\"),\n}).describe(\"Details of a function call.\");\nconst OpenaiListRunSteps_FunctionToolCallSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the tool call\"),\n type: z.string().describe(\"Type of tool call, always 'function'\"),\n \"function\": OpenaiListRunSteps_FunctionCallSchema.nullable(),\n}).describe(\"A function tool call.\");\nconst OpenaiListRunSteps_ToolCallsStepDetailsSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of step, always 'tool_calls'\"),\n tool_calls: z.array(z.union([OpenaiListRunSteps_CodeInterpreterToolCallSchema, OpenaiListRunSteps_FileSearchToolCallSchema, OpenaiListRunSteps_FunctionToolCallSchema, z.record(z.string(), z.unknown())])).describe(\"List of tool calls made in this step\"),\n}).describe(\"Step details for a tool calls run step.\");\nconst OpenaiListRunSteps_RunStepSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The identifier of the run step\"),\n type: z.enum([\"message_creation\", \"tool_calls\"]).describe(\"Type of run step: 'message_creation' or 'tool_calls'\"),\n usage: OpenaiListRunSteps_UsageSchema.nullable().optional(),\n object: z.string().describe(\"Object type, always 'thread.run.step'\"),\n run_id: z.string().describe(\"The ID of the run this step belongs to\"),\n status: z.enum([\"in_progress\", \"cancelled\", \"failed\", \"completed\", \"expired\"]).describe(\"The status of the run step\"),\n metadata: z.object({}).describe(\"Metadata key-value pairs attached to the run step\").nullable().optional(),\n failed_at: z.number().int().describe(\"Unix timestamp when the run step failed\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the thread this run step belongs to\"),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the run step was created\"),\n expired_at: z.number().int().describe(\"Unix timestamp when the run step expired\").nullable().optional(),\n last_error: OpenaiListRunSteps_LastErrorSchema.nullable().optional(),\n assistant_id: z.string().describe(\"The ID of the assistant associated with this run step\"),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the run step was cancelled\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp when the run step was completed\").nullable().optional(),\n step_details: z.union([OpenaiListRunSteps_MessageCreationStepDetailsSchema, OpenaiListRunSteps_ToolCallsStepDetailsSchema, z.record(z.string(), z.unknown())]),\n}).describe(\"A run step object representing a step in the execution of a run.\");\nexport const OpenaiListRunStepsOutput: z.ZodTypeAny = z.object({\n data: z.array(OpenaiListRunSteps_RunStepSchema).describe(\"Array of run step objects\"),\n object: z.string().describe(\"Object type, always 'list'\"),\n last_id: z.string().describe(\"ID of the last run step in the list\").nullable().optional(),\n first_id: z.string().describe(\"ID of the first run step in the list\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether there are more run steps available for pagination\"),\n}).describe(\"Response model for listing run steps.\");\n\nexport const openaiListRunSteps = action(\"OPENAI_LIST_RUN_STEPS\", {\n slug: \"openai-list-run-steps\",\n name: \"List Run Steps\",\n description: \"Tool to list run steps for an Assistants API run to track detailed execution progress, inspect tool calls, and view message creation events. Use after creating a run to monitor its step-by-step execution or to retrieve tool call details after completion. When polling to monitor active runs, use reasonable intervals to avoid rate-limit errors.\",\n input: OpenaiListRunStepsInput,\n output: OpenaiListRunStepsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACzH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACvJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAClE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACvM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACpE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACvE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;AACjF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAM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AAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D;AAC5F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-run-steps.cjs","names":["z","action"],"sources":["../../src/actions/list-run-steps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiListRunStepsInput = z.object({\n after: z.string().describe(\"Cursor for pagination. Provide an object ID to fetch the next page after that ID.\").optional(),\n limit: z.number().int().describe(\"Limit on the number of run steps to return (1-100). Default is 20.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order by created_at timestamp: 'asc' for ascending, 'desc' for descending. Default is 'desc'.\").optional(),\n before: z.string().describe(\"Cursor for pagination. Provide an object ID to fetch the previous page before that ID.\").optional(),\n run_id: z.string().describe(\"The ID of the run to list steps from\"),\n include: z.array(z.string()).describe(\"Additional fields to include in the response. Use 'step_details.tool_calls[*].file_search.results[*].content' to include file search result content.\").optional(),\n thread_id: z.string().describe(\"The ID of the thread that was run\"),\n}).describe(\"Request model for listing run steps in a thread run.\");\nconst OpenaiListRunSteps_UsageSchema = z.object({\n total_tokens: z.number().int().describe(\"Total tokens used\").nullable(),\n prompt_tokens: z.number().int().describe(\"Number of prompt tokens used\").nullable(),\n completion_tokens: z.number().int().describe(\"Number of completion tokens used\").nullable(),\n}).passthrough().describe(\"Token usage statistics for the run step.\");\nconst OpenaiListRunSteps_LastErrorSchema = z.object({\n code: z.enum([\"server_error\", \"rate_limit_exceeded\"]).describe(\"Error code: 'server_error' or 'rate_limit_exceeded'\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error information for a failed run step.\");\nconst OpenaiListRunSteps_MessageCreationSchema = z.object({\n message_id: z.string().describe(\"ID of the message that was created\").nullable(),\n}).passthrough().describe(\"Details of message creation in a run step.\");\nconst OpenaiListRunSteps_MessageCreationStepDetailsSchema = z.object({\n type: z.string().describe(\"Type of step, always 'message_creation'\").nullable(),\n message_creation: OpenaiListRunSteps_MessageCreationSchema.nullable(),\n}).passthrough().describe(\"Step details for a message creation run step.\");\nconst OpenaiListRunSteps_CodeInterpreterOutputSchema = z.object({\n logs: z.string().describe(\"Text output from code interpreter\").nullable().optional(),\n type: z.enum([\"logs\", \"image\"]).describe(\"Type of output\").nullable(),\n image: z.record(z.string(), z.unknown()).describe(\"Image output details\").nullable().optional(),\n}).passthrough().describe(\"Output from the code interpreter.\");\nconst OpenaiListRunSteps_CodeInterpreterSchema = z.object({\n input: z.string().describe(\"The input to the code interpreter\").nullable(),\n outputs: z.array(OpenaiListRunSteps_CodeInterpreterOutputSchema).describe(\"The outputs from the code interpreter call\"),\n}).passthrough().describe(\"Details of a code interpreter call.\");\nconst OpenaiListRunSteps_CodeInterpreterToolCallSchema = z.object({\n id: z.string().describe(\"The ID of the tool call\").nullable(),\n type: z.string().describe(\"Type of tool call, always 'code_interpreter'\").nullable(),\n code_interpreter: OpenaiListRunSteps_CodeInterpreterSchema.nullable(),\n}).passthrough().describe(\"A code interpreter tool call.\");\nconst OpenaiListRunSteps_FileSearchResultSchema = z.object({\n score: z.number().describe(\"Relevance score of the result\").nullable(),\n content: z.array(z.record(z.string(), z.unknown())).describe(\"The content of the matched text (if include parameter specified)\").nullable().optional(),\n file_id: z.string().describe(\"The ID of the file that was searched\").nullable(),\n file_name: z.string().describe(\"The name of the file\").nullable(),\n}).passthrough().describe(\"A single file search result.\");\nconst OpenaiListRunSteps_FileSearchSchema = z.object({\n results: z.array(OpenaiListRunSteps_FileSearchResultSchema).describe(\"The file search results\").nullable().optional(),\n ranking_options: z.record(z.string(), z.unknown()).describe(\"Ranking options used for the file search\").nullable().optional(),\n}).passthrough().describe(\"Details of a file search operation.\");\nconst OpenaiListRunSteps_FileSearchToolCallSchema = z.object({\n id: z.string().describe(\"The ID of the tool call\").nullable(),\n type: z.string().describe(\"Type of tool call, always 'file_search'\").nullable(),\n file_search: OpenaiListRunSteps_FileSearchSchema.nullable(),\n}).passthrough().describe(\"A file search tool call.\");\nconst OpenaiListRunSteps_FunctionCallSchema = z.object({\n name: z.string().describe(\"The name of the function\").nullable(),\n output: z.string().describe(\"The output of the function (null if not yet submitted)\").nullable().optional(),\n arguments: z.string().describe(\"The arguments passed to the function as JSON string\").nullable(),\n}).passthrough().describe(\"Details of a function call.\");\nconst OpenaiListRunSteps_FunctionToolCallSchema = z.object({\n id: z.string().describe(\"The ID of the tool call\").nullable(),\n type: z.string().describe(\"Type of tool call, always 'function'\").nullable(),\n \"function\": OpenaiListRunSteps_FunctionCallSchema.nullable(),\n}).passthrough().describe(\"A function tool call.\");\nconst OpenaiListRunSteps_ToolCallsStepDetailsSchema = z.object({\n type: z.string().describe(\"Type of step, always 'tool_calls'\").nullable(),\n tool_calls: z.array(z.union([OpenaiListRunSteps_CodeInterpreterToolCallSchema, OpenaiListRunSteps_FileSearchToolCallSchema, OpenaiListRunSteps_FunctionToolCallSchema, z.record(z.string(), z.unknown())])).describe(\"List of tool calls made in this step\"),\n}).passthrough().describe(\"Step details for a tool calls run step.\");\nconst OpenaiListRunSteps_RunStepSchema = z.object({\n id: z.string().describe(\"The identifier of the run step\").nullable(),\n type: z.enum([\"message_creation\", \"tool_calls\"]).describe(\"Type of run step: 'message_creation' or 'tool_calls'\").nullable(),\n usage: OpenaiListRunSteps_UsageSchema.nullable().optional(),\n object: z.string().describe(\"Object type, always 'thread.run.step'\").nullable(),\n run_id: z.string().describe(\"The ID of the run this step belongs to\").nullable(),\n status: z.enum([\"in_progress\", \"cancelled\", \"failed\", \"completed\", \"expired\"]).describe(\"The status of the run step\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs attached to the run step\").nullable().optional(),\n failed_at: z.number().int().describe(\"Unix timestamp when the run step failed\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the thread this run step belongs to\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the run step was created\").nullable(),\n expired_at: z.number().int().describe(\"Unix timestamp when the run step expired\").nullable().optional(),\n last_error: OpenaiListRunSteps_LastErrorSchema.nullable().optional(),\n assistant_id: z.string().describe(\"The ID of the assistant associated with this run step\").nullable(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the run step was cancelled\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp when the run step was completed\").nullable().optional(),\n step_details: z.union([OpenaiListRunSteps_MessageCreationStepDetailsSchema, OpenaiListRunSteps_ToolCallsStepDetailsSchema, z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"A run step object representing a step in the execution of a run.\");\nexport const OpenaiListRunStepsOutput = z.object({\n data: z.array(OpenaiListRunSteps_RunStepSchema).describe(\"Array of run step objects\"),\n object: z.string().describe(\"Object type, always 'list'\").nullable(),\n last_id: z.string().describe(\"ID of the last run step in the list\").nullable().optional(),\n first_id: z.string().describe(\"ID of the first run step in the list\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether there are more run steps available for pagination\").nullable(),\n}).passthrough().describe(\"Response model for listing run steps.\");\n\nexport const openaiListRunSteps = action(\"OPENAI_LIST_RUN_STEPS\", {\n slug: \"openai-list-run-steps\",\n name: \"List Run Steps\",\n description: \"Tool to list run steps for an Assistants API run to track detailed execution progress, inspect tool calls, and view message creation events. Use after creating a run to monitor its step-by-step execution or to retrieve tool call details after completion. When polling to monitor active runs, use reasonable intervals to avoid rate-limit errors.\",\n input: OpenaiListRunStepsInput,\n output: OpenaiListRunStepsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACzH,OAAOA,IAAAA,EAAE,OAA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EAA+CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC;AAC/J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAC5F,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,2BAA2B;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,112 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-run-steps.d.ts
4
- declare const OpenaiListRunStepsInput: z.ZodTypeAny;
5
- declare const OpenaiListRunStepsOutput: z.ZodTypeAny;
6
- declare const openaiListRunSteps: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenaiListRunStepsInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ order: z.ZodOptional<z.ZodEnum<{
8
+ asc: "asc";
9
+ desc: "desc";
10
+ }>>;
11
+ before: z.ZodOptional<z.ZodString>;
12
+ run_id: z.ZodString;
13
+ include: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
+ thread_id: z.ZodString;
15
+ }, z.core.$strip>;
16
+ declare const OpenaiListRunStepsOutput: z.ZodObject<{
17
+ data: z.ZodArray<z.ZodObject<{
18
+ id: z.ZodNullable<z.ZodString>;
19
+ type: z.ZodNullable<z.ZodEnum<{
20
+ tool_calls: "tool_calls";
21
+ message_creation: "message_creation";
22
+ }>>;
23
+ usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ total_tokens: z.ZodNullable<z.ZodNumber>;
25
+ prompt_tokens: z.ZodNullable<z.ZodNumber>;
26
+ completion_tokens: z.ZodNullable<z.ZodNumber>;
27
+ }, z.core.$loose>>>;
28
+ object: z.ZodNullable<z.ZodString>;
29
+ run_id: z.ZodNullable<z.ZodString>;
30
+ status: z.ZodNullable<z.ZodEnum<{
31
+ failed: "failed";
32
+ in_progress: "in_progress";
33
+ completed: "completed";
34
+ expired: "expired";
35
+ cancelled: "cancelled";
36
+ }>>;
37
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
38
+ failed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
+ thread_id: z.ZodNullable<z.ZodString>;
40
+ created_at: z.ZodNullable<z.ZodNumber>;
41
+ expired_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
+ last_error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
+ code: z.ZodNullable<z.ZodEnum<{
44
+ server_error: "server_error";
45
+ rate_limit_exceeded: "rate_limit_exceeded";
46
+ }>>;
47
+ message: z.ZodNullable<z.ZodString>;
48
+ }, z.core.$loose>>>;
49
+ assistant_id: z.ZodNullable<z.ZodString>;
50
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
51
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
52
+ step_details: z.ZodUnion<readonly [z.ZodObject<{
53
+ type: z.ZodNullable<z.ZodString>;
54
+ message_creation: z.ZodNullable<z.ZodObject<{
55
+ message_id: z.ZodNullable<z.ZodString>;
56
+ }, z.core.$loose>>;
57
+ }, z.core.$loose>, z.ZodObject<{
58
+ type: z.ZodNullable<z.ZodString>;
59
+ tool_calls: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
60
+ id: z.ZodNullable<z.ZodString>;
61
+ type: z.ZodNullable<z.ZodString>;
62
+ code_interpreter: z.ZodNullable<z.ZodObject<{
63
+ input: z.ZodNullable<z.ZodString>;
64
+ outputs: z.ZodArray<z.ZodObject<{
65
+ logs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ type: z.ZodNullable<z.ZodEnum<{
67
+ image: "image";
68
+ logs: "logs";
69
+ }>>;
70
+ image: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
71
+ }, z.core.$loose>>;
72
+ }, z.core.$loose>>;
73
+ }, z.core.$loose>, z.ZodObject<{
74
+ id: z.ZodNullable<z.ZodString>;
75
+ type: z.ZodNullable<z.ZodString>;
76
+ file_search: z.ZodNullable<z.ZodObject<{
77
+ results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
78
+ score: z.ZodNullable<z.ZodNumber>;
79
+ content: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
80
+ file_id: z.ZodNullable<z.ZodString>;
81
+ file_name: z.ZodNullable<z.ZodString>;
82
+ }, z.core.$loose>>>>;
83
+ ranking_options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
84
+ }, z.core.$loose>>;
85
+ }, z.core.$loose>, z.ZodObject<{
86
+ id: z.ZodNullable<z.ZodString>;
87
+ type: z.ZodNullable<z.ZodString>;
88
+ function: z.ZodNullable<z.ZodObject<{
89
+ name: z.ZodNullable<z.ZodString>;
90
+ output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ arguments: z.ZodNullable<z.ZodString>;
92
+ }, z.core.$loose>>;
93
+ }, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
94
+ }, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
95
+ }, z.core.$loose>>;
96
+ object: z.ZodNullable<z.ZodString>;
97
+ last_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
+ first_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
+ has_more: z.ZodNullable<z.ZodBoolean>;
100
+ }, z.core.$loose>;
101
+ declare const openaiListRunSteps: import("@keystrokehq/action").WorkflowActionDefinition<{
102
+ run_id: string;
103
+ thread_id: string;
104
+ after?: string | undefined;
105
+ limit?: number | undefined;
106
+ order?: "asc" | "desc" | undefined;
107
+ before?: string | undefined;
108
+ include?: string[] | undefined;
109
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
110
  //#endregion
8
111
  export { openaiListRunSteps };
9
112
  //# sourceMappingURL=list-run-steps.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-run-steps.d.cts","names":[],"sources":["../../src/actions/list-run-steps.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAQ2B;AAAA,cA8EtD,wBAAA,EAA0B,CAAA,CAAE,UAMW;AAAA,cAEvC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-run-steps.d.cts","names":[],"sources":["../../src/actions/list-run-steps.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAsFvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,112 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-run-steps.d.ts
4
- declare const OpenaiListRunStepsInput: z.ZodTypeAny;
5
- declare const OpenaiListRunStepsOutput: z.ZodTypeAny;
6
- declare const openaiListRunSteps: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenaiListRunStepsInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ order: z.ZodOptional<z.ZodEnum<{
8
+ asc: "asc";
9
+ desc: "desc";
10
+ }>>;
11
+ before: z.ZodOptional<z.ZodString>;
12
+ run_id: z.ZodString;
13
+ include: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
+ thread_id: z.ZodString;
15
+ }, z.core.$strip>;
16
+ declare const OpenaiListRunStepsOutput: z.ZodObject<{
17
+ data: z.ZodArray<z.ZodObject<{
18
+ id: z.ZodNullable<z.ZodString>;
19
+ type: z.ZodNullable<z.ZodEnum<{
20
+ tool_calls: "tool_calls";
21
+ message_creation: "message_creation";
22
+ }>>;
23
+ usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ total_tokens: z.ZodNullable<z.ZodNumber>;
25
+ prompt_tokens: z.ZodNullable<z.ZodNumber>;
26
+ completion_tokens: z.ZodNullable<z.ZodNumber>;
27
+ }, z.core.$loose>>>;
28
+ object: z.ZodNullable<z.ZodString>;
29
+ run_id: z.ZodNullable<z.ZodString>;
30
+ status: z.ZodNullable<z.ZodEnum<{
31
+ failed: "failed";
32
+ in_progress: "in_progress";
33
+ completed: "completed";
34
+ expired: "expired";
35
+ cancelled: "cancelled";
36
+ }>>;
37
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
38
+ failed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
+ thread_id: z.ZodNullable<z.ZodString>;
40
+ created_at: z.ZodNullable<z.ZodNumber>;
41
+ expired_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
+ last_error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
+ code: z.ZodNullable<z.ZodEnum<{
44
+ server_error: "server_error";
45
+ rate_limit_exceeded: "rate_limit_exceeded";
46
+ }>>;
47
+ message: z.ZodNullable<z.ZodString>;
48
+ }, z.core.$loose>>>;
49
+ assistant_id: z.ZodNullable<z.ZodString>;
50
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
51
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
52
+ step_details: z.ZodUnion<readonly [z.ZodObject<{
53
+ type: z.ZodNullable<z.ZodString>;
54
+ message_creation: z.ZodNullable<z.ZodObject<{
55
+ message_id: z.ZodNullable<z.ZodString>;
56
+ }, z.core.$loose>>;
57
+ }, z.core.$loose>, z.ZodObject<{
58
+ type: z.ZodNullable<z.ZodString>;
59
+ tool_calls: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
60
+ id: z.ZodNullable<z.ZodString>;
61
+ type: z.ZodNullable<z.ZodString>;
62
+ code_interpreter: z.ZodNullable<z.ZodObject<{
63
+ input: z.ZodNullable<z.ZodString>;
64
+ outputs: z.ZodArray<z.ZodObject<{
65
+ logs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ type: z.ZodNullable<z.ZodEnum<{
67
+ image: "image";
68
+ logs: "logs";
69
+ }>>;
70
+ image: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
71
+ }, z.core.$loose>>;
72
+ }, z.core.$loose>>;
73
+ }, z.core.$loose>, z.ZodObject<{
74
+ id: z.ZodNullable<z.ZodString>;
75
+ type: z.ZodNullable<z.ZodString>;
76
+ file_search: z.ZodNullable<z.ZodObject<{
77
+ results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
78
+ score: z.ZodNullable<z.ZodNumber>;
79
+ content: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
80
+ file_id: z.ZodNullable<z.ZodString>;
81
+ file_name: z.ZodNullable<z.ZodString>;
82
+ }, z.core.$loose>>>>;
83
+ ranking_options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
84
+ }, z.core.$loose>>;
85
+ }, z.core.$loose>, z.ZodObject<{
86
+ id: z.ZodNullable<z.ZodString>;
87
+ type: z.ZodNullable<z.ZodString>;
88
+ function: z.ZodNullable<z.ZodObject<{
89
+ name: z.ZodNullable<z.ZodString>;
90
+ output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ arguments: z.ZodNullable<z.ZodString>;
92
+ }, z.core.$loose>>;
93
+ }, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
94
+ }, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
95
+ }, z.core.$loose>>;
96
+ object: z.ZodNullable<z.ZodString>;
97
+ last_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
+ first_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
+ has_more: z.ZodNullable<z.ZodBoolean>;
100
+ }, z.core.$loose>;
101
+ declare const openaiListRunSteps: import("@keystrokehq/action").WorkflowActionDefinition<{
102
+ run_id: string;
103
+ thread_id: string;
104
+ after?: string | undefined;
105
+ limit?: number | undefined;
106
+ order?: "asc" | "desc" | undefined;
107
+ before?: string | undefined;
108
+ include?: string[] | undefined;
109
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
110
  //#endregion
8
111
  export { openaiListRunSteps };
9
112
  //# sourceMappingURL=list-run-steps.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-run-steps.d.mts","names":[],"sources":["../../src/actions/list-run-steps.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAQ2B;AAAA,cA8EtD,wBAAA,EAA0B,CAAA,CAAE,UAMW;AAAA,cAEvC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-run-steps.d.mts","names":[],"sources":["../../src/actions/list-run-steps.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAsFvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
@@ -11,87 +11,87 @@ const OpenaiListRunStepsInput = z.object({
11
11
  thread_id: z.string().describe("The ID of the thread that was run")
12
12
  }).describe("Request model for listing run steps in a thread run.");
13
13
  const OpenaiListRunSteps_UsageSchema = z.object({
14
- total_tokens: z.number().int().describe("Total tokens used"),
15
- prompt_tokens: z.number().int().describe("Number of prompt tokens used"),
16
- completion_tokens: z.number().int().describe("Number of completion tokens used")
17
- }).describe("Token usage statistics for the run step.");
14
+ total_tokens: z.number().int().describe("Total tokens used").nullable(),
15
+ prompt_tokens: z.number().int().describe("Number of prompt tokens used").nullable(),
16
+ completion_tokens: z.number().int().describe("Number of completion tokens used").nullable()
17
+ }).passthrough().describe("Token usage statistics for the run step.");
18
18
  const OpenaiListRunSteps_LastErrorSchema = z.object({
19
- code: z.enum(["server_error", "rate_limit_exceeded"]).describe("Error code: 'server_error' or 'rate_limit_exceeded'"),
20
- message: z.string().describe("Human-readable error message")
21
- }).describe("Error information for a failed run step.");
22
- const OpenaiListRunSteps_MessageCreationSchema = z.object({ message_id: z.string().describe("ID of the message that was created") }).describe("Details of message creation in a run step.");
19
+ code: z.enum(["server_error", "rate_limit_exceeded"]).describe("Error code: 'server_error' or 'rate_limit_exceeded'").nullable(),
20
+ message: z.string().describe("Human-readable error message").nullable()
21
+ }).passthrough().describe("Error information for a failed run step.");
22
+ const OpenaiListRunSteps_MessageCreationSchema = z.object({ message_id: z.string().describe("ID of the message that was created").nullable() }).passthrough().describe("Details of message creation in a run step.");
23
23
  const OpenaiListRunSteps_MessageCreationStepDetailsSchema = z.object({
24
- type: z.string().describe("Type of step, always 'message_creation'"),
24
+ type: z.string().describe("Type of step, always 'message_creation'").nullable(),
25
25
  message_creation: OpenaiListRunSteps_MessageCreationSchema.nullable()
26
- }).describe("Step details for a message creation run step.");
26
+ }).passthrough().describe("Step details for a message creation run step.");
27
27
  const OpenaiListRunSteps_CodeInterpreterOutputSchema = z.object({
28
28
  logs: z.string().describe("Text output from code interpreter").nullable().optional(),
29
- type: z.enum(["logs", "image"]).describe("Type of output"),
29
+ type: z.enum(["logs", "image"]).describe("Type of output").nullable(),
30
30
  image: z.record(z.string(), z.unknown()).describe("Image output details").nullable().optional()
31
- }).describe("Output from the code interpreter.");
31
+ }).passthrough().describe("Output from the code interpreter.");
32
32
  const OpenaiListRunSteps_CodeInterpreterSchema = z.object({
33
- input: z.string().describe("The input to the code interpreter"),
33
+ input: z.string().describe("The input to the code interpreter").nullable(),
34
34
  outputs: z.array(OpenaiListRunSteps_CodeInterpreterOutputSchema).describe("The outputs from the code interpreter call")
35
- }).describe("Details of a code interpreter call.");
35
+ }).passthrough().describe("Details of a code interpreter call.");
36
36
  const OpenaiListRunSteps_CodeInterpreterToolCallSchema = z.object({
37
- id: z.string().describe("The ID of the tool call"),
38
- type: z.string().describe("Type of tool call, always 'code_interpreter'"),
37
+ id: z.string().describe("The ID of the tool call").nullable(),
38
+ type: z.string().describe("Type of tool call, always 'code_interpreter'").nullable(),
39
39
  code_interpreter: OpenaiListRunSteps_CodeInterpreterSchema.nullable()
40
- }).describe("A code interpreter tool call.");
40
+ }).passthrough().describe("A code interpreter tool call.");
41
41
  const OpenaiListRunSteps_FileSearchResultSchema = z.object({
42
- score: z.number().describe("Relevance score of the result"),
42
+ score: z.number().describe("Relevance score of the result").nullable(),
43
43
  content: z.array(z.record(z.string(), z.unknown())).describe("The content of the matched text (if include parameter specified)").nullable().optional(),
44
- file_id: z.string().describe("The ID of the file that was searched"),
45
- file_name: z.string().describe("The name of the file")
46
- }).describe("A single file search result.");
44
+ file_id: z.string().describe("The ID of the file that was searched").nullable(),
45
+ file_name: z.string().describe("The name of the file").nullable()
46
+ }).passthrough().describe("A single file search result.");
47
47
  const OpenaiListRunSteps_FileSearchSchema = z.object({
48
48
  results: z.array(OpenaiListRunSteps_FileSearchResultSchema).describe("The file search results").nullable().optional(),
49
49
  ranking_options: z.record(z.string(), z.unknown()).describe("Ranking options used for the file search").nullable().optional()
50
- }).describe("Details of a file search operation.");
50
+ }).passthrough().describe("Details of a file search operation.");
51
51
  const OpenaiListRunSteps_FileSearchToolCallSchema = z.object({
52
- id: z.string().describe("The ID of the tool call"),
53
- type: z.string().describe("Type of tool call, always 'file_search'"),
52
+ id: z.string().describe("The ID of the tool call").nullable(),
53
+ type: z.string().describe("Type of tool call, always 'file_search'").nullable(),
54
54
  file_search: OpenaiListRunSteps_FileSearchSchema.nullable()
55
- }).describe("A file search tool call.");
55
+ }).passthrough().describe("A file search tool call.");
56
56
  const OpenaiListRunSteps_FunctionCallSchema = z.object({
57
- name: z.string().describe("The name of the function"),
57
+ name: z.string().describe("The name of the function").nullable(),
58
58
  output: z.string().describe("The output of the function (null if not yet submitted)").nullable().optional(),
59
- arguments: z.string().describe("The arguments passed to the function as JSON string")
60
- }).describe("Details of a function call.");
59
+ arguments: z.string().describe("The arguments passed to the function as JSON string").nullable()
60
+ }).passthrough().describe("Details of a function call.");
61
61
  const OpenaiListRunSteps_FunctionToolCallSchema = z.object({
62
- id: z.string().describe("The ID of the tool call"),
63
- type: z.string().describe("Type of tool call, always 'function'"),
62
+ id: z.string().describe("The ID of the tool call").nullable(),
63
+ type: z.string().describe("Type of tool call, always 'function'").nullable(),
64
64
  "function": OpenaiListRunSteps_FunctionCallSchema.nullable()
65
- }).describe("A function tool call.");
65
+ }).passthrough().describe("A function tool call.");
66
66
  const OpenaiListRunSteps_ToolCallsStepDetailsSchema = z.object({
67
- type: z.string().describe("Type of step, always 'tool_calls'"),
67
+ type: z.string().describe("Type of step, always 'tool_calls'").nullable(),
68
68
  tool_calls: z.array(z.union([
69
69
  OpenaiListRunSteps_CodeInterpreterToolCallSchema,
70
70
  OpenaiListRunSteps_FileSearchToolCallSchema,
71
71
  OpenaiListRunSteps_FunctionToolCallSchema,
72
72
  z.record(z.string(), z.unknown())
73
73
  ])).describe("List of tool calls made in this step")
74
- }).describe("Step details for a tool calls run step.");
74
+ }).passthrough().describe("Step details for a tool calls run step.");
75
75
  const OpenaiListRunSteps_RunStepSchema = z.object({
76
- id: z.string().describe("The identifier of the run step"),
77
- type: z.enum(["message_creation", "tool_calls"]).describe("Type of run step: 'message_creation' or 'tool_calls'"),
76
+ id: z.string().describe("The identifier of the run step").nullable(),
77
+ type: z.enum(["message_creation", "tool_calls"]).describe("Type of run step: 'message_creation' or 'tool_calls'").nullable(),
78
78
  usage: OpenaiListRunSteps_UsageSchema.nullable().optional(),
79
- object: z.string().describe("Object type, always 'thread.run.step'"),
80
- run_id: z.string().describe("The ID of the run this step belongs to"),
79
+ object: z.string().describe("Object type, always 'thread.run.step'").nullable(),
80
+ run_id: z.string().describe("The ID of the run this step belongs to").nullable(),
81
81
  status: z.enum([
82
82
  "in_progress",
83
83
  "cancelled",
84
84
  "failed",
85
85
  "completed",
86
86
  "expired"
87
- ]).describe("The status of the run step"),
88
- metadata: z.object({}).describe("Metadata key-value pairs attached to the run step").nullable().optional(),
87
+ ]).describe("The status of the run step").nullable(),
88
+ metadata: z.record(z.string(), z.unknown()).describe("Metadata key-value pairs attached to the run step").nullable().optional(),
89
89
  failed_at: z.number().int().describe("Unix timestamp when the run step failed").nullable().optional(),
90
- thread_id: z.string().describe("The ID of the thread this run step belongs to"),
91
- created_at: z.number().int().describe("Unix timestamp (in seconds) when the run step was created"),
90
+ thread_id: z.string().describe("The ID of the thread this run step belongs to").nullable(),
91
+ created_at: z.number().int().describe("Unix timestamp (in seconds) when the run step was created").nullable(),
92
92
  expired_at: z.number().int().describe("Unix timestamp when the run step expired").nullable().optional(),
93
93
  last_error: OpenaiListRunSteps_LastErrorSchema.nullable().optional(),
94
- assistant_id: z.string().describe("The ID of the assistant associated with this run step"),
94
+ assistant_id: z.string().describe("The ID of the assistant associated with this run step").nullable(),
95
95
  cancelled_at: z.number().int().describe("Unix timestamp when the run step was cancelled").nullable().optional(),
96
96
  completed_at: z.number().int().describe("Unix timestamp when the run step was completed").nullable().optional(),
97
97
  step_details: z.union([
@@ -99,7 +99,7 @@ const OpenaiListRunSteps_RunStepSchema = z.object({
99
99
  OpenaiListRunSteps_ToolCallsStepDetailsSchema,
100
100
  z.record(z.string(), z.unknown())
101
101
  ])
102
- }).describe("A run step object representing a step in the execution of a run.");
102
+ }).passthrough().describe("A run step object representing a step in the execution of a run.");
103
103
  const openaiListRunSteps = action("OPENAI_LIST_RUN_STEPS", {
104
104
  slug: "openai-list-run-steps",
105
105
  name: "List Run Steps",
@@ -107,11 +107,11 @@ const openaiListRunSteps = action("OPENAI_LIST_RUN_STEPS", {
107
107
  input: OpenaiListRunStepsInput,
108
108
  output: z.object({
109
109
  data: z.array(OpenaiListRunSteps_RunStepSchema).describe("Array of run step objects"),
110
- object: z.string().describe("Object type, always 'list'"),
110
+ object: z.string().describe("Object type, always 'list'").nullable(),
111
111
  last_id: z.string().describe("ID of the last run step in the list").nullable().optional(),
112
112
  first_id: z.string().describe("ID of the first run step in the list").nullable().optional(),
113
- has_more: z.boolean().describe("Whether there are more run steps available for pagination")
114
- }).describe("Response model for listing run steps.")
113
+ has_more: z.boolean().describe("Whether there are more run steps available for pagination").nullable()
114
+ }).passthrough().describe("Response model for listing run steps.")
115
115
  });
116
116
  //#endregion
117
117
  export { openaiListRunSteps };