@keystrokehq/openai 0.1.2 → 0.1.4

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 (779) hide show
  1. package/dist/actions/add-upload-part.cjs +1 -1
  2. package/dist/actions/add-upload-part.cjs.map +1 -1
  3. package/dist/actions/add-upload-part.d.cts +1 -1
  4. package/dist/actions/add-upload-part.d.mts +1 -1
  5. package/dist/actions/add-upload-part.mjs +1 -1
  6. package/dist/actions/add-upload-part.mjs.map +1 -1
  7. package/dist/actions/cancel-batch.cjs +6 -6
  8. package/dist/actions/cancel-batch.cjs.map +1 -1
  9. package/dist/actions/cancel-batch.d.cts +10 -10
  10. package/dist/actions/cancel-batch.d.mts +10 -10
  11. package/dist/actions/cancel-batch.mjs +6 -6
  12. package/dist/actions/cancel-batch.mjs.map +1 -1
  13. package/dist/actions/cancel-eval-run.cjs +8 -8
  14. package/dist/actions/cancel-eval-run.cjs.map +1 -1
  15. package/dist/actions/cancel-eval-run.d.cts +8 -8
  16. package/dist/actions/cancel-eval-run.d.mts +8 -8
  17. package/dist/actions/cancel-eval-run.mjs +8 -8
  18. package/dist/actions/cancel-eval-run.mjs.map +1 -1
  19. package/dist/actions/cancel-response.cjs +11 -11
  20. package/dist/actions/cancel-response.cjs.map +1 -1
  21. package/dist/actions/cancel-response.d.cts +11 -11
  22. package/dist/actions/cancel-response.d.mts +11 -11
  23. package/dist/actions/cancel-response.mjs +11 -11
  24. package/dist/actions/cancel-response.mjs.map +1 -1
  25. package/dist/actions/cancel-run.cjs +7 -7
  26. package/dist/actions/cancel-run.cjs.map +1 -1
  27. package/dist/actions/cancel-run.d.cts +11 -11
  28. package/dist/actions/cancel-run.d.mts +11 -11
  29. package/dist/actions/cancel-run.mjs +7 -7
  30. package/dist/actions/cancel-run.mjs.map +1 -1
  31. package/dist/actions/cancel-upload.cjs +2 -2
  32. package/dist/actions/cancel-upload.cjs.map +1 -1
  33. package/dist/actions/cancel-upload.d.cts +3 -3
  34. package/dist/actions/cancel-upload.d.mts +3 -3
  35. package/dist/actions/cancel-upload.mjs +2 -2
  36. package/dist/actions/cancel-upload.mjs.map +1 -1
  37. package/dist/actions/compact-response.cjs +9 -9
  38. package/dist/actions/compact-response.cjs.map +1 -1
  39. package/dist/actions/compact-response.d.cts +11 -9
  40. package/dist/actions/compact-response.d.mts +11 -9
  41. package/dist/actions/compact-response.mjs +9 -9
  42. package/dist/actions/compact-response.mjs.map +1 -1
  43. package/dist/actions/create-audio-transcription.cjs +3 -3
  44. package/dist/actions/create-audio-transcription.cjs.map +1 -1
  45. package/dist/actions/create-audio-transcription.d.cts +3 -3
  46. package/dist/actions/create-audio-transcription.d.mts +3 -3
  47. package/dist/actions/create-audio-transcription.mjs +3 -3
  48. package/dist/actions/create-audio-transcription.mjs.map +1 -1
  49. package/dist/actions/create-audio-translation.cjs +1 -1
  50. package/dist/actions/create-audio-translation.cjs.map +1 -1
  51. package/dist/actions/create-audio-translation.d.cts +1 -1
  52. package/dist/actions/create-audio-translation.d.mts +1 -1
  53. package/dist/actions/create-audio-translation.mjs +1 -1
  54. package/dist/actions/create-audio-translation.mjs.map +1 -1
  55. package/dist/actions/create-batch.cjs +9 -9
  56. package/dist/actions/create-batch.cjs.map +1 -1
  57. package/dist/actions/create-batch.d.cts +14 -14
  58. package/dist/actions/create-batch.d.mts +14 -14
  59. package/dist/actions/create-batch.mjs +9 -9
  60. package/dist/actions/create-batch.mjs.map +1 -1
  61. package/dist/actions/create-chat-completion.cjs +13 -13
  62. package/dist/actions/create-chat-completion.cjs.map +1 -1
  63. package/dist/actions/create-chat-completion.d.cts +19 -16
  64. package/dist/actions/create-chat-completion.d.mts +19 -16
  65. package/dist/actions/create-chat-completion.mjs +13 -13
  66. package/dist/actions/create-chat-completion.mjs.map +1 -1
  67. package/dist/actions/create-completion.cjs +9 -9
  68. package/dist/actions/create-completion.cjs.map +1 -1
  69. package/dist/actions/create-completion.d.cts +12 -12
  70. package/dist/actions/create-completion.d.mts +12 -12
  71. package/dist/actions/create-completion.mjs +9 -9
  72. package/dist/actions/create-completion.mjs.map +1 -1
  73. package/dist/actions/create-container-file.cjs +1 -1
  74. package/dist/actions/create-container-file.cjs.map +1 -1
  75. package/dist/actions/create-container-file.d.cts +1 -1
  76. package/dist/actions/create-container-file.d.mts +1 -1
  77. package/dist/actions/create-container-file.mjs +1 -1
  78. package/dist/actions/create-container-file.mjs.map +1 -1
  79. package/dist/actions/create-container.cjs +8 -8
  80. package/dist/actions/create-container.cjs.map +1 -1
  81. package/dist/actions/create-container.d.cts +13 -9
  82. package/dist/actions/create-container.d.cts.map +1 -1
  83. package/dist/actions/create-container.d.mts +13 -9
  84. package/dist/actions/create-container.d.mts.map +1 -1
  85. package/dist/actions/create-container.mjs +8 -8
  86. package/dist/actions/create-container.mjs.map +1 -1
  87. package/dist/actions/create-conversation-items.cjs +4 -4
  88. package/dist/actions/create-conversation-items.cjs.map +1 -1
  89. package/dist/actions/create-conversation-items.d.cts +6 -4
  90. package/dist/actions/create-conversation-items.d.cts.map +1 -1
  91. package/dist/actions/create-conversation-items.d.mts +6 -4
  92. package/dist/actions/create-conversation-items.d.mts.map +1 -1
  93. package/dist/actions/create-conversation-items.mjs +4 -4
  94. package/dist/actions/create-conversation-items.mjs.map +1 -1
  95. package/dist/actions/create-conversation.cjs +3 -3
  96. package/dist/actions/create-conversation.cjs.map +1 -1
  97. package/dist/actions/create-conversation.d.cts +5 -4
  98. package/dist/actions/create-conversation.d.cts.map +1 -1
  99. package/dist/actions/create-conversation.d.mts +5 -4
  100. package/dist/actions/create-conversation.d.mts.map +1 -1
  101. package/dist/actions/create-conversation.mjs +3 -3
  102. package/dist/actions/create-conversation.mjs.map +1 -1
  103. package/dist/actions/create-embeddings.cjs +3 -3
  104. package/dist/actions/create-embeddings.cjs.map +1 -1
  105. package/dist/actions/create-embeddings.d.cts +4 -4
  106. package/dist/actions/create-embeddings.d.mts +4 -4
  107. package/dist/actions/create-embeddings.mjs +3 -3
  108. package/dist/actions/create-embeddings.mjs.map +1 -1
  109. package/dist/actions/create-eval-run.cjs +19 -19
  110. package/dist/actions/create-eval-run.cjs.map +1 -1
  111. package/dist/actions/create-eval-run.d.cts +32 -23
  112. package/dist/actions/create-eval-run.d.mts +32 -23
  113. package/dist/actions/create-eval-run.mjs +19 -19
  114. package/dist/actions/create-eval-run.mjs.map +1 -1
  115. package/dist/actions/create-eval.cjs +10 -10
  116. package/dist/actions/create-eval.cjs.map +1 -1
  117. package/dist/actions/create-eval.d.cts +19 -10
  118. package/dist/actions/create-eval.d.mts +19 -10
  119. package/dist/actions/create-eval.mjs +10 -10
  120. package/dist/actions/create-eval.mjs.map +1 -1
  121. package/dist/actions/create-fine-tuning-job.cjs +4 -4
  122. package/dist/actions/create-fine-tuning-job.cjs.map +1 -1
  123. package/dist/actions/create-fine-tuning-job.d.cts +5 -5
  124. package/dist/actions/create-fine-tuning-job.d.mts +5 -5
  125. package/dist/actions/create-fine-tuning-job.mjs +4 -4
  126. package/dist/actions/create-fine-tuning-job.mjs.map +1 -1
  127. package/dist/actions/create-image-edit.cjs +5 -5
  128. package/dist/actions/create-image-edit.cjs.map +1 -1
  129. package/dist/actions/create-image-edit.d.cts +9 -8
  130. package/dist/actions/create-image-edit.d.mts +9 -8
  131. package/dist/actions/create-image-edit.mjs +5 -5
  132. package/dist/actions/create-image-edit.mjs.map +1 -1
  133. package/dist/actions/create-image-variation.cjs +2 -2
  134. package/dist/actions/create-image-variation.cjs.map +1 -1
  135. package/dist/actions/create-image-variation.d.cts +2 -2
  136. package/dist/actions/create-image-variation.d.mts +2 -2
  137. package/dist/actions/create-image-variation.mjs +2 -2
  138. package/dist/actions/create-image-variation.mjs.map +1 -1
  139. package/dist/actions/create-image.cjs +4 -4
  140. package/dist/actions/create-image.cjs.map +1 -1
  141. package/dist/actions/create-image.d.cts +6 -6
  142. package/dist/actions/create-image.d.mts +6 -6
  143. package/dist/actions/create-image.mjs +4 -4
  144. package/dist/actions/create-image.mjs.map +1 -1
  145. package/dist/actions/create-message.cjs +13 -13
  146. package/dist/actions/create-message.cjs.map +1 -1
  147. package/dist/actions/create-message.d.cts +17 -14
  148. package/dist/actions/create-message.d.cts.map +1 -1
  149. package/dist/actions/create-message.d.mts +17 -14
  150. package/dist/actions/create-message.d.mts.map +1 -1
  151. package/dist/actions/create-message.mjs +13 -13
  152. package/dist/actions/create-message.mjs.map +1 -1
  153. package/dist/actions/create-moderation.cjs +7 -7
  154. package/dist/actions/create-moderation.cjs.map +1 -1
  155. package/dist/actions/create-moderation.d.cts +9 -8
  156. package/dist/actions/create-moderation.d.cts.map +1 -1
  157. package/dist/actions/create-moderation.d.mts +9 -8
  158. package/dist/actions/create-moderation.d.mts.map +1 -1
  159. package/dist/actions/create-moderation.mjs +7 -7
  160. package/dist/actions/create-moderation.mjs.map +1 -1
  161. package/dist/actions/create-realtime-call.cjs +1 -1
  162. package/dist/actions/create-realtime-call.cjs.map +1 -1
  163. package/dist/actions/create-realtime-call.d.cts +1 -1
  164. package/dist/actions/create-realtime-call.d.mts +1 -1
  165. package/dist/actions/create-realtime-call.mjs +1 -1
  166. package/dist/actions/create-realtime-call.mjs.map +1 -1
  167. package/dist/actions/create-realtime-client-secret.cjs +3 -3
  168. package/dist/actions/create-realtime-client-secret.cjs.map +1 -1
  169. package/dist/actions/create-realtime-client-secret.d.cts +5 -3
  170. package/dist/actions/create-realtime-client-secret.d.mts +5 -3
  171. package/dist/actions/create-realtime-client-secret.mjs +3 -3
  172. package/dist/actions/create-realtime-client-secret.mjs.map +1 -1
  173. package/dist/actions/create-realtime-session.cjs +6 -6
  174. package/dist/actions/create-realtime-session.cjs.map +1 -1
  175. package/dist/actions/create-realtime-session.d.cts +10 -6
  176. package/dist/actions/create-realtime-session.d.mts +10 -6
  177. package/dist/actions/create-realtime-session.mjs +6 -6
  178. package/dist/actions/create-realtime-session.mjs.map +1 -1
  179. package/dist/actions/create-realtime-transcription-session.cjs +4 -4
  180. package/dist/actions/create-realtime-transcription-session.cjs.map +1 -1
  181. package/dist/actions/create-realtime-transcription-session.d.cts +4 -4
  182. package/dist/actions/create-realtime-transcription-session.d.mts +4 -4
  183. package/dist/actions/create-realtime-transcription-session.mjs +4 -4
  184. package/dist/actions/create-realtime-transcription-session.mjs.map +1 -1
  185. package/dist/actions/create-response.cjs +15 -15
  186. package/dist/actions/create-response.cjs.map +1 -1
  187. package/dist/actions/create-response.d.cts +28 -18
  188. package/dist/actions/create-response.d.mts +28 -18
  189. package/dist/actions/create-response.mjs +15 -15
  190. package/dist/actions/create-response.mjs.map +1 -1
  191. package/dist/actions/create-run.cjs +24 -24
  192. package/dist/actions/create-run.cjs.map +1 -1
  193. package/dist/actions/create-run.d.cts +36 -31
  194. package/dist/actions/create-run.d.mts +36 -31
  195. package/dist/actions/create-run.mjs +24 -24
  196. package/dist/actions/create-run.mjs.map +1 -1
  197. package/dist/actions/create-skill.cjs +3 -3
  198. package/dist/actions/create-skill.cjs.map +1 -1
  199. package/dist/actions/create-skill.d.cts +5 -3
  200. package/dist/actions/create-skill.d.mts +5 -3
  201. package/dist/actions/create-skill.mjs +3 -3
  202. package/dist/actions/create-skill.mjs.map +1 -1
  203. package/dist/actions/create-speech.cjs +2 -2
  204. package/dist/actions/create-speech.cjs.map +1 -1
  205. package/dist/actions/create-speech.d.cts +2 -2
  206. package/dist/actions/create-speech.d.mts +2 -2
  207. package/dist/actions/create-speech.mjs +2 -2
  208. package/dist/actions/create-speech.mjs.map +1 -1
  209. package/dist/actions/create-thread-and-run.cjs +29 -29
  210. package/dist/actions/create-thread-and-run.cjs.map +1 -1
  211. package/dist/actions/create-thread-and-run.d.cts +46 -39
  212. package/dist/actions/create-thread-and-run.d.mts +46 -39
  213. package/dist/actions/create-thread-and-run.mjs +29 -29
  214. package/dist/actions/create-thread-and-run.mjs.map +1 -1
  215. package/dist/actions/create-thread.cjs +5 -5
  216. package/dist/actions/create-thread.cjs.map +1 -1
  217. package/dist/actions/create-thread.d.cts +7 -6
  218. package/dist/actions/create-thread.d.cts.map +1 -1
  219. package/dist/actions/create-thread.d.mts +7 -6
  220. package/dist/actions/create-thread.d.mts.map +1 -1
  221. package/dist/actions/create-thread.mjs +5 -5
  222. package/dist/actions/create-thread.mjs.map +1 -1
  223. package/dist/actions/create-upload.cjs +2 -2
  224. package/dist/actions/create-upload.cjs.map +1 -1
  225. package/dist/actions/create-upload.d.cts +3 -3
  226. package/dist/actions/create-upload.d.mts +3 -3
  227. package/dist/actions/create-upload.mjs +2 -2
  228. package/dist/actions/create-upload.mjs.map +1 -1
  229. package/dist/actions/create-vector-store-file-batch.cjs +11 -11
  230. package/dist/actions/create-vector-store-file-batch.cjs.map +1 -1
  231. package/dist/actions/create-vector-store-file-batch.d.cts +21 -14
  232. package/dist/actions/create-vector-store-file-batch.d.cts.map +1 -1
  233. package/dist/actions/create-vector-store-file-batch.d.mts +21 -14
  234. package/dist/actions/create-vector-store-file-batch.d.mts.map +1 -1
  235. package/dist/actions/create-vector-store-file-batch.mjs +11 -11
  236. package/dist/actions/create-vector-store-file-batch.mjs.map +1 -1
  237. package/dist/actions/create-vector-store-file.cjs +7 -7
  238. package/dist/actions/create-vector-store-file.cjs.map +1 -1
  239. package/dist/actions/create-vector-store-file.d.cts +11 -8
  240. package/dist/actions/create-vector-store-file.d.mts +11 -8
  241. package/dist/actions/create-vector-store-file.mjs +7 -7
  242. package/dist/actions/create-vector-store-file.mjs.map +1 -1
  243. package/dist/actions/create-vector-store.cjs +8 -8
  244. package/dist/actions/create-vector-store.cjs.map +1 -1
  245. package/dist/actions/create-vector-store.d.cts +12 -9
  246. package/dist/actions/create-vector-store.d.mts +12 -9
  247. package/dist/actions/create-vector-store.mjs +8 -8
  248. package/dist/actions/create-vector-store.mjs.map +1 -1
  249. package/dist/actions/create-video-remix.cjs +2 -2
  250. package/dist/actions/create-video-remix.cjs.map +1 -1
  251. package/dist/actions/create-video-remix.d.cts +3 -3
  252. package/dist/actions/create-video-remix.d.mts +3 -3
  253. package/dist/actions/create-video-remix.mjs +2 -2
  254. package/dist/actions/create-video-remix.mjs.map +1 -1
  255. package/dist/actions/create-video.cjs +2 -2
  256. package/dist/actions/create-video.cjs.map +1 -1
  257. package/dist/actions/create-video.d.cts +2 -2
  258. package/dist/actions/create-video.d.mts +2 -2
  259. package/dist/actions/create-video.mjs +2 -2
  260. package/dist/actions/create-video.mjs.map +1 -1
  261. package/dist/actions/delete-assistant.cjs +1 -1
  262. package/dist/actions/delete-assistant.cjs.map +1 -1
  263. package/dist/actions/delete-assistant.d.cts +1 -1
  264. package/dist/actions/delete-assistant.d.mts +1 -1
  265. package/dist/actions/delete-assistant.mjs +1 -1
  266. package/dist/actions/delete-assistant.mjs.map +1 -1
  267. package/dist/actions/delete-chat-completion.cjs +1 -1
  268. package/dist/actions/delete-chat-completion.cjs.map +1 -1
  269. package/dist/actions/delete-chat-completion.d.cts +1 -1
  270. package/dist/actions/delete-chat-completion.d.mts +1 -1
  271. package/dist/actions/delete-chat-completion.mjs +1 -1
  272. package/dist/actions/delete-chat-completion.mjs.map +1 -1
  273. package/dist/actions/delete-container-file.cjs +1 -1
  274. package/dist/actions/delete-container-file.cjs.map +1 -1
  275. package/dist/actions/delete-container-file.d.cts +1 -1
  276. package/dist/actions/delete-container-file.d.mts +1 -1
  277. package/dist/actions/delete-container-file.mjs +1 -1
  278. package/dist/actions/delete-container-file.mjs.map +1 -1
  279. package/dist/actions/delete-container.cjs +1 -1
  280. package/dist/actions/delete-container.cjs.map +1 -1
  281. package/dist/actions/delete-container.d.cts +1 -1
  282. package/dist/actions/delete-container.d.mts +1 -1
  283. package/dist/actions/delete-container.mjs +1 -1
  284. package/dist/actions/delete-container.mjs.map +1 -1
  285. package/dist/actions/delete-conversation-item.cjs +1 -1
  286. package/dist/actions/delete-conversation-item.cjs.map +1 -1
  287. package/dist/actions/delete-conversation-item.d.cts +1 -1
  288. package/dist/actions/delete-conversation-item.d.mts +1 -1
  289. package/dist/actions/delete-conversation-item.mjs +1 -1
  290. package/dist/actions/delete-conversation-item.mjs.map +1 -1
  291. package/dist/actions/delete-conversation.cjs +1 -1
  292. package/dist/actions/delete-conversation.cjs.map +1 -1
  293. package/dist/actions/delete-conversation.d.cts +1 -1
  294. package/dist/actions/delete-conversation.d.mts +1 -1
  295. package/dist/actions/delete-conversation.mjs +1 -1
  296. package/dist/actions/delete-conversation.mjs.map +1 -1
  297. package/dist/actions/delete-eval-run.cjs +1 -1
  298. package/dist/actions/delete-eval-run.cjs.map +1 -1
  299. package/dist/actions/delete-eval-run.d.cts +1 -1
  300. package/dist/actions/delete-eval-run.d.mts +1 -1
  301. package/dist/actions/delete-eval-run.mjs +1 -1
  302. package/dist/actions/delete-eval-run.mjs.map +1 -1
  303. package/dist/actions/delete-eval.cjs +1 -1
  304. package/dist/actions/delete-eval.cjs.map +1 -1
  305. package/dist/actions/delete-eval.d.cts +1 -1
  306. package/dist/actions/delete-eval.d.mts +1 -1
  307. package/dist/actions/delete-eval.mjs +1 -1
  308. package/dist/actions/delete-eval.mjs.map +1 -1
  309. package/dist/actions/delete-file.cjs +1 -1
  310. package/dist/actions/delete-file.cjs.map +1 -1
  311. package/dist/actions/delete-file.d.cts +1 -1
  312. package/dist/actions/delete-file.d.mts +1 -1
  313. package/dist/actions/delete-file.mjs +1 -1
  314. package/dist/actions/delete-file.mjs.map +1 -1
  315. package/dist/actions/delete-message.cjs +1 -1
  316. package/dist/actions/delete-message.cjs.map +1 -1
  317. package/dist/actions/delete-message.d.cts +1 -1
  318. package/dist/actions/delete-message.d.mts +1 -1
  319. package/dist/actions/delete-message.mjs +1 -1
  320. package/dist/actions/delete-message.mjs.map +1 -1
  321. package/dist/actions/delete-response.cjs +1 -1
  322. package/dist/actions/delete-response.cjs.map +1 -1
  323. package/dist/actions/delete-response.d.cts +1 -1
  324. package/dist/actions/delete-response.d.mts +1 -1
  325. package/dist/actions/delete-response.mjs +1 -1
  326. package/dist/actions/delete-response.mjs.map +1 -1
  327. package/dist/actions/delete-skill.cjs +1 -1
  328. package/dist/actions/delete-skill.cjs.map +1 -1
  329. package/dist/actions/delete-skill.d.cts +1 -1
  330. package/dist/actions/delete-skill.d.mts +1 -1
  331. package/dist/actions/delete-skill.mjs +1 -1
  332. package/dist/actions/delete-skill.mjs.map +1 -1
  333. package/dist/actions/delete-thread.cjs +1 -1
  334. package/dist/actions/delete-thread.cjs.map +1 -1
  335. package/dist/actions/delete-thread.d.cts +1 -1
  336. package/dist/actions/delete-thread.d.mts +1 -1
  337. package/dist/actions/delete-thread.mjs +1 -1
  338. package/dist/actions/delete-thread.mjs.map +1 -1
  339. package/dist/actions/delete-vector-store-file.cjs +1 -1
  340. package/dist/actions/delete-vector-store-file.cjs.map +1 -1
  341. package/dist/actions/delete-vector-store-file.d.cts +1 -1
  342. package/dist/actions/delete-vector-store-file.d.mts +1 -1
  343. package/dist/actions/delete-vector-store-file.mjs +1 -1
  344. package/dist/actions/delete-vector-store-file.mjs.map +1 -1
  345. package/dist/actions/delete-vector-store.cjs +1 -1
  346. package/dist/actions/delete-vector-store.cjs.map +1 -1
  347. package/dist/actions/delete-vector-store.d.cts +1 -1
  348. package/dist/actions/delete-vector-store.d.mts +1 -1
  349. package/dist/actions/delete-vector-store.mjs +1 -1
  350. package/dist/actions/delete-vector-store.mjs.map +1 -1
  351. package/dist/actions/delete-video.cjs +1 -1
  352. package/dist/actions/delete-video.cjs.map +1 -1
  353. package/dist/actions/delete-video.d.cts +1 -1
  354. package/dist/actions/delete-video.d.mts +1 -1
  355. package/dist/actions/delete-video.mjs +1 -1
  356. package/dist/actions/delete-video.mjs.map +1 -1
  357. package/dist/actions/download-file.cjs +2 -2
  358. package/dist/actions/download-file.cjs.map +1 -1
  359. package/dist/actions/download-file.d.cts +2 -2
  360. package/dist/actions/download-file.d.mts +2 -2
  361. package/dist/actions/download-file.mjs +2 -2
  362. package/dist/actions/download-file.mjs.map +1 -1
  363. package/dist/actions/download-video.cjs +2 -2
  364. package/dist/actions/download-video.cjs.map +1 -1
  365. package/dist/actions/download-video.d.cts +2 -2
  366. package/dist/actions/download-video.d.mts +2 -2
  367. package/dist/actions/download-video.mjs +2 -2
  368. package/dist/actions/download-video.mjs.map +1 -1
  369. package/dist/actions/get-chat-completion-messages.cjs +2 -2
  370. package/dist/actions/get-chat-completion-messages.cjs.map +1 -1
  371. package/dist/actions/get-chat-completion-messages.d.cts +2 -2
  372. package/dist/actions/get-chat-completion-messages.d.mts +2 -2
  373. package/dist/actions/get-chat-completion-messages.mjs +2 -2
  374. package/dist/actions/get-chat-completion-messages.mjs.map +1 -1
  375. package/dist/actions/get-chat-completion.cjs +7 -7
  376. package/dist/actions/get-chat-completion.cjs.map +1 -1
  377. package/dist/actions/get-chat-completion.d.cts +7 -7
  378. package/dist/actions/get-chat-completion.d.mts +7 -7
  379. package/dist/actions/get-chat-completion.mjs +7 -7
  380. package/dist/actions/get-chat-completion.mjs.map +1 -1
  381. package/dist/actions/get-chatkit-thread.cjs +4 -4
  382. package/dist/actions/get-chatkit-thread.cjs.map +1 -1
  383. package/dist/actions/get-chatkit-thread.d.cts +4 -4
  384. package/dist/actions/get-chatkit-thread.d.mts +4 -4
  385. package/dist/actions/get-chatkit-thread.mjs +4 -4
  386. package/dist/actions/get-chatkit-thread.mjs.map +1 -1
  387. package/dist/actions/get-conversation-item.cjs +1 -1
  388. package/dist/actions/get-conversation-item.cjs.map +1 -1
  389. package/dist/actions/get-conversation-item.d.cts +1 -1
  390. package/dist/actions/get-conversation-item.d.mts +1 -1
  391. package/dist/actions/get-conversation-item.mjs +1 -1
  392. package/dist/actions/get-conversation-item.mjs.map +1 -1
  393. package/dist/actions/get-eval-run-output-item.cjs +5 -5
  394. package/dist/actions/get-eval-run-output-item.cjs.map +1 -1
  395. package/dist/actions/get-eval-run-output-item.d.cts +5 -5
  396. package/dist/actions/get-eval-run-output-item.d.mts +5 -5
  397. package/dist/actions/get-eval-run-output-item.mjs +5 -5
  398. package/dist/actions/get-eval-run-output-item.mjs.map +1 -1
  399. package/dist/actions/get-eval-run-output-items.cjs +6 -6
  400. package/dist/actions/get-eval-run-output-items.cjs.map +1 -1
  401. package/dist/actions/get-eval-run-output-items.d.cts +7 -7
  402. package/dist/actions/get-eval-run-output-items.d.mts +7 -7
  403. package/dist/actions/get-eval-run-output-items.mjs +6 -6
  404. package/dist/actions/get-eval-run-output-items.mjs.map +1 -1
  405. package/dist/actions/get-eval-run.cjs +10 -10
  406. package/dist/actions/get-eval-run.cjs.map +1 -1
  407. package/dist/actions/get-eval-run.d.cts +14 -14
  408. package/dist/actions/get-eval-run.d.mts +14 -14
  409. package/dist/actions/get-eval-run.mjs +10 -10
  410. package/dist/actions/get-eval-run.mjs.map +1 -1
  411. package/dist/actions/get-eval-runs.cjs +6 -6
  412. package/dist/actions/get-eval-runs.cjs.map +1 -1
  413. package/dist/actions/get-eval-runs.d.cts +8 -8
  414. package/dist/actions/get-eval-runs.d.mts +8 -8
  415. package/dist/actions/get-eval-runs.mjs +6 -6
  416. package/dist/actions/get-eval-runs.mjs.map +1 -1
  417. package/dist/actions/get-eval.cjs +1 -1
  418. package/dist/actions/get-eval.cjs.map +1 -1
  419. package/dist/actions/get-eval.d.cts +1 -1
  420. package/dist/actions/get-eval.d.mts +1 -1
  421. package/dist/actions/get-eval.mjs +1 -1
  422. package/dist/actions/get-eval.mjs.map +1 -1
  423. package/dist/actions/get-input-token-counts.cjs +1 -1
  424. package/dist/actions/get-input-token-counts.cjs.map +1 -1
  425. package/dist/actions/get-input-token-counts.d.cts +1 -1
  426. package/dist/actions/get-input-token-counts.d.mts +1 -1
  427. package/dist/actions/get-input-token-counts.mjs +1 -1
  428. package/dist/actions/get-input-token-counts.mjs.map +1 -1
  429. package/dist/actions/get-message.cjs +9 -9
  430. package/dist/actions/get-message.cjs.map +1 -1
  431. package/dist/actions/get-message.d.cts +9 -9
  432. package/dist/actions/get-message.d.mts +9 -9
  433. package/dist/actions/get-message.mjs +9 -9
  434. package/dist/actions/get-message.mjs.map +1 -1
  435. package/dist/actions/get-response.cjs +9 -9
  436. package/dist/actions/get-response.cjs.map +1 -1
  437. package/dist/actions/get-response.d.cts +9 -9
  438. package/dist/actions/get-response.d.mts +9 -9
  439. package/dist/actions/get-response.mjs +9 -9
  440. package/dist/actions/get-response.mjs.map +1 -1
  441. package/dist/actions/get-run-step.cjs +15 -15
  442. package/dist/actions/get-run-step.cjs.map +1 -1
  443. package/dist/actions/get-run-step.d.cts +16 -16
  444. package/dist/actions/get-run-step.d.mts +16 -16
  445. package/dist/actions/get-run-step.mjs +15 -15
  446. package/dist/actions/get-run-step.mjs.map +1 -1
  447. package/dist/actions/get-vector-store-file-batch.cjs +2 -2
  448. package/dist/actions/get-vector-store-file-batch.cjs.map +1 -1
  449. package/dist/actions/get-vector-store-file-batch.d.cts +3 -3
  450. package/dist/actions/get-vector-store-file-batch.d.mts +3 -3
  451. package/dist/actions/get-vector-store-file-batch.mjs +2 -2
  452. package/dist/actions/get-vector-store-file-batch.mjs.map +1 -1
  453. package/dist/actions/get-vector-store-file.cjs +4 -4
  454. package/dist/actions/get-vector-store-file.cjs.map +1 -1
  455. package/dist/actions/get-vector-store-file.d.cts +5 -5
  456. package/dist/actions/get-vector-store-file.d.mts +5 -5
  457. package/dist/actions/get-vector-store-file.mjs +4 -4
  458. package/dist/actions/get-vector-store-file.mjs.map +1 -1
  459. package/dist/actions/get-vector-store.cjs +4 -4
  460. package/dist/actions/get-vector-store.cjs.map +1 -1
  461. package/dist/actions/get-vector-store.d.cts +4 -4
  462. package/dist/actions/get-vector-store.d.mts +4 -4
  463. package/dist/actions/get-vector-store.mjs +4 -4
  464. package/dist/actions/get-vector-store.mjs.map +1 -1
  465. package/dist/actions/get-video.cjs +2 -2
  466. package/dist/actions/get-video.cjs.map +1 -1
  467. package/dist/actions/get-video.d.cts +3 -3
  468. package/dist/actions/get-video.d.mts +3 -3
  469. package/dist/actions/get-video.mjs +2 -2
  470. package/dist/actions/get-video.mjs.map +1 -1
  471. package/dist/actions/list-assistants.cjs +16 -16
  472. package/dist/actions/list-assistants.cjs.map +1 -1
  473. package/dist/actions/list-assistants.d.cts +16 -16
  474. package/dist/actions/list-assistants.d.mts +16 -16
  475. package/dist/actions/list-assistants.mjs +16 -16
  476. package/dist/actions/list-assistants.mjs.map +1 -1
  477. package/dist/actions/list-batches.cjs +8 -8
  478. package/dist/actions/list-batches.cjs.map +1 -1
  479. package/dist/actions/list-batches.d.cts +12 -12
  480. package/dist/actions/list-batches.d.mts +12 -12
  481. package/dist/actions/list-batches.mjs +8 -8
  482. package/dist/actions/list-batches.mjs.map +1 -1
  483. package/dist/actions/list-chat-completions.cjs +4 -4
  484. package/dist/actions/list-chat-completions.cjs.map +1 -1
  485. package/dist/actions/list-chat-completions.d.cts +4 -4
  486. package/dist/actions/list-chat-completions.d.mts +4 -4
  487. package/dist/actions/list-chat-completions.mjs +4 -4
  488. package/dist/actions/list-chat-completions.mjs.map +1 -1
  489. package/dist/actions/list-chatkit-thread-items.cjs +2 -2
  490. package/dist/actions/list-chatkit-thread-items.cjs.map +1 -1
  491. package/dist/actions/list-chatkit-thread-items.d.cts +2 -2
  492. package/dist/actions/list-chatkit-thread-items.d.mts +2 -2
  493. package/dist/actions/list-chatkit-thread-items.mjs +2 -2
  494. package/dist/actions/list-chatkit-thread-items.mjs.map +1 -1
  495. package/dist/actions/list-container-files.cjs +2 -2
  496. package/dist/actions/list-container-files.cjs.map +1 -1
  497. package/dist/actions/list-container-files.d.cts +2 -2
  498. package/dist/actions/list-container-files.d.mts +2 -2
  499. package/dist/actions/list-container-files.mjs +2 -2
  500. package/dist/actions/list-container-files.mjs.map +1 -1
  501. package/dist/actions/list-containers.cjs +4 -4
  502. package/dist/actions/list-containers.cjs.map +1 -1
  503. package/dist/actions/list-containers.d.cts +4 -4
  504. package/dist/actions/list-containers.d.mts +4 -4
  505. package/dist/actions/list-containers.mjs +4 -4
  506. package/dist/actions/list-containers.mjs.map +1 -1
  507. package/dist/actions/list-conversation-items.cjs +2 -2
  508. package/dist/actions/list-conversation-items.cjs.map +1 -1
  509. package/dist/actions/list-conversation-items.d.cts +2 -2
  510. package/dist/actions/list-conversation-items.d.mts +2 -2
  511. package/dist/actions/list-conversation-items.mjs +2 -2
  512. package/dist/actions/list-conversation-items.mjs.map +1 -1
  513. package/dist/actions/list-engines.cjs +2 -2
  514. package/dist/actions/list-engines.cjs.map +1 -1
  515. package/dist/actions/list-engines.d.cts +2 -2
  516. package/dist/actions/list-engines.d.mts +2 -2
  517. package/dist/actions/list-engines.mjs +2 -2
  518. package/dist/actions/list-engines.mjs.map +1 -1
  519. package/dist/actions/list-evals.cjs +14 -14
  520. package/dist/actions/list-evals.cjs.map +1 -1
  521. package/dist/actions/list-evals.d.cts +15 -15
  522. package/dist/actions/list-evals.d.mts +15 -15
  523. package/dist/actions/list-evals.mjs +14 -14
  524. package/dist/actions/list-evals.mjs.map +1 -1
  525. package/dist/actions/list-files-in-vector-store-batch.cjs +5 -5
  526. package/dist/actions/list-files-in-vector-store-batch.cjs.map +1 -1
  527. package/dist/actions/list-files-in-vector-store-batch.d.cts +8 -8
  528. package/dist/actions/list-files-in-vector-store-batch.d.mts +8 -8
  529. package/dist/actions/list-files-in-vector-store-batch.mjs +5 -5
  530. package/dist/actions/list-files-in-vector-store-batch.mjs.map +1 -1
  531. package/dist/actions/list-files.cjs +2 -2
  532. package/dist/actions/list-files.cjs.map +1 -1
  533. package/dist/actions/list-files.d.cts +2 -2
  534. package/dist/actions/list-files.d.mts +2 -2
  535. package/dist/actions/list-files.mjs +2 -2
  536. package/dist/actions/list-files.mjs.map +1 -1
  537. package/dist/actions/list-fine-tunes.cjs +5 -5
  538. package/dist/actions/list-fine-tunes.cjs.map +1 -1
  539. package/dist/actions/list-fine-tunes.d.cts +7 -7
  540. package/dist/actions/list-fine-tunes.d.mts +7 -7
  541. package/dist/actions/list-fine-tunes.mjs +5 -5
  542. package/dist/actions/list-fine-tunes.mjs.map +1 -1
  543. package/dist/actions/list-fine-tuning-events.cjs +2 -2
  544. package/dist/actions/list-fine-tuning-events.cjs.map +1 -1
  545. package/dist/actions/list-fine-tuning-events.d.cts +2 -2
  546. package/dist/actions/list-fine-tuning-events.d.mts +2 -2
  547. package/dist/actions/list-fine-tuning-events.mjs +2 -2
  548. package/dist/actions/list-fine-tuning-events.mjs.map +1 -1
  549. package/dist/actions/list-fine-tuning-job-checkpoints.cjs +3 -3
  550. package/dist/actions/list-fine-tuning-job-checkpoints.cjs.map +1 -1
  551. package/dist/actions/list-fine-tuning-job-checkpoints.d.cts +3 -3
  552. package/dist/actions/list-fine-tuning-job-checkpoints.d.mts +3 -3
  553. package/dist/actions/list-fine-tuning-job-checkpoints.mjs +3 -3
  554. package/dist/actions/list-fine-tuning-job-checkpoints.mjs.map +1 -1
  555. package/dist/actions/list-input-items.cjs +2 -2
  556. package/dist/actions/list-input-items.cjs.map +1 -1
  557. package/dist/actions/list-input-items.d.cts +2 -2
  558. package/dist/actions/list-input-items.d.mts +2 -2
  559. package/dist/actions/list-input-items.mjs +2 -2
  560. package/dist/actions/list-input-items.mjs.map +1 -1
  561. package/dist/actions/list-messages.cjs +10 -10
  562. package/dist/actions/list-messages.cjs.map +1 -1
  563. package/dist/actions/list-messages.d.cts +10 -10
  564. package/dist/actions/list-messages.d.mts +10 -10
  565. package/dist/actions/list-messages.mjs +10 -10
  566. package/dist/actions/list-messages.mjs.map +1 -1
  567. package/dist/actions/list-models.cjs +3 -3
  568. package/dist/actions/list-models.cjs.map +1 -1
  569. package/dist/actions/list-models.d.cts +3 -3
  570. package/dist/actions/list-models.d.mts +3 -3
  571. package/dist/actions/list-models.mjs +3 -3
  572. package/dist/actions/list-models.mjs.map +1 -1
  573. package/dist/actions/list-run-steps.cjs +16 -16
  574. package/dist/actions/list-run-steps.cjs.map +1 -1
  575. package/dist/actions/list-run-steps.d.cts +17 -17
  576. package/dist/actions/list-run-steps.d.mts +17 -17
  577. package/dist/actions/list-run-steps.mjs +16 -16
  578. package/dist/actions/list-run-steps.mjs.map +1 -1
  579. package/dist/actions/list-runs.cjs +8 -8
  580. package/dist/actions/list-runs.cjs.map +1 -1
  581. package/dist/actions/list-runs.d.cts +12 -12
  582. package/dist/actions/list-runs.d.mts +12 -12
  583. package/dist/actions/list-runs.mjs +8 -8
  584. package/dist/actions/list-runs.mjs.map +1 -1
  585. package/dist/actions/list-skills.cjs +2 -2
  586. package/dist/actions/list-skills.cjs.map +1 -1
  587. package/dist/actions/list-skills.d.cts +2 -2
  588. package/dist/actions/list-skills.d.mts +2 -2
  589. package/dist/actions/list-skills.mjs +2 -2
  590. package/dist/actions/list-skills.mjs.map +1 -1
  591. package/dist/actions/list-threads.cjs +4 -4
  592. package/dist/actions/list-threads.cjs.map +1 -1
  593. package/dist/actions/list-threads.d.cts +4 -4
  594. package/dist/actions/list-threads.d.mts +4 -4
  595. package/dist/actions/list-threads.mjs +4 -4
  596. package/dist/actions/list-threads.mjs.map +1 -1
  597. package/dist/actions/list-vector-store-files.cjs +3 -3
  598. package/dist/actions/list-vector-store-files.cjs.map +1 -1
  599. package/dist/actions/list-vector-store-files.d.cts +6 -6
  600. package/dist/actions/list-vector-store-files.d.mts +6 -6
  601. package/dist/actions/list-vector-store-files.mjs +3 -3
  602. package/dist/actions/list-vector-store-files.mjs.map +1 -1
  603. package/dist/actions/list-vector-stores.cjs +5 -5
  604. package/dist/actions/list-vector-stores.cjs.map +1 -1
  605. package/dist/actions/list-vector-stores.d.cts +5 -5
  606. package/dist/actions/list-vector-stores.d.mts +5 -5
  607. package/dist/actions/list-vector-stores.mjs +5 -5
  608. package/dist/actions/list-vector-stores.mjs.map +1 -1
  609. package/dist/actions/list-videos.cjs +3 -3
  610. package/dist/actions/list-videos.cjs.map +1 -1
  611. package/dist/actions/list-videos.d.cts +4 -4
  612. package/dist/actions/list-videos.d.mts +4 -4
  613. package/dist/actions/list-videos.mjs +3 -3
  614. package/dist/actions/list-videos.mjs.map +1 -1
  615. package/dist/actions/modify-assistant.cjs +3 -3
  616. package/dist/actions/modify-assistant.cjs.map +1 -1
  617. package/dist/actions/modify-assistant.d.cts +4 -4
  618. package/dist/actions/modify-assistant.d.mts +4 -4
  619. package/dist/actions/modify-assistant.mjs +3 -3
  620. package/dist/actions/modify-assistant.mjs.map +1 -1
  621. package/dist/actions/modify-message.cjs +9 -9
  622. package/dist/actions/modify-message.cjs.map +1 -1
  623. package/dist/actions/modify-message.d.cts +10 -10
  624. package/dist/actions/modify-message.d.mts +10 -10
  625. package/dist/actions/modify-message.mjs +9 -9
  626. package/dist/actions/modify-message.mjs.map +1 -1
  627. package/dist/actions/modify-run.cjs +8 -8
  628. package/dist/actions/modify-run.cjs.map +1 -1
  629. package/dist/actions/modify-run.d.cts +13 -13
  630. package/dist/actions/modify-run.d.mts +13 -13
  631. package/dist/actions/modify-run.mjs +8 -8
  632. package/dist/actions/modify-run.mjs.map +1 -1
  633. package/dist/actions/modify-thread.cjs +3 -3
  634. package/dist/actions/modify-thread.cjs.map +1 -1
  635. package/dist/actions/modify-thread.d.cts +4 -4
  636. package/dist/actions/modify-thread.d.mts +4 -4
  637. package/dist/actions/modify-thread.mjs +3 -3
  638. package/dist/actions/modify-thread.mjs.map +1 -1
  639. package/dist/actions/modify-vector-store.cjs +5 -5
  640. package/dist/actions/modify-vector-store.cjs.map +1 -1
  641. package/dist/actions/modify-vector-store.d.cts +6 -6
  642. package/dist/actions/modify-vector-store.d.mts +6 -6
  643. package/dist/actions/modify-vector-store.mjs +5 -5
  644. package/dist/actions/modify-vector-store.mjs.map +1 -1
  645. package/dist/actions/retrieve-assistant.cjs +3 -3
  646. package/dist/actions/retrieve-assistant.cjs.map +1 -1
  647. package/dist/actions/retrieve-assistant.d.cts +3 -3
  648. package/dist/actions/retrieve-assistant.d.mts +3 -3
  649. package/dist/actions/retrieve-assistant.mjs +3 -3
  650. package/dist/actions/retrieve-assistant.mjs.map +1 -1
  651. package/dist/actions/retrieve-batch.cjs +6 -6
  652. package/dist/actions/retrieve-batch.cjs.map +1 -1
  653. package/dist/actions/retrieve-batch.d.cts +10 -10
  654. package/dist/actions/retrieve-batch.d.mts +10 -10
  655. package/dist/actions/retrieve-batch.mjs +6 -6
  656. package/dist/actions/retrieve-batch.mjs.map +1 -1
  657. package/dist/actions/retrieve-container-file-content.cjs +2 -2
  658. package/dist/actions/retrieve-container-file-content.cjs.map +1 -1
  659. package/dist/actions/retrieve-container-file-content.d.cts +2 -2
  660. package/dist/actions/retrieve-container-file-content.d.mts +2 -2
  661. package/dist/actions/retrieve-container-file-content.mjs +2 -2
  662. package/dist/actions/retrieve-container-file-content.mjs.map +1 -1
  663. package/dist/actions/retrieve-container-file.cjs +1 -1
  664. package/dist/actions/retrieve-container-file.cjs.map +1 -1
  665. package/dist/actions/retrieve-container-file.d.cts +1 -1
  666. package/dist/actions/retrieve-container-file.d.mts +1 -1
  667. package/dist/actions/retrieve-container-file.mjs +1 -1
  668. package/dist/actions/retrieve-container-file.mjs.map +1 -1
  669. package/dist/actions/retrieve-container.cjs +3 -3
  670. package/dist/actions/retrieve-container.cjs.map +1 -1
  671. package/dist/actions/retrieve-container.d.cts +3 -3
  672. package/dist/actions/retrieve-container.d.mts +3 -3
  673. package/dist/actions/retrieve-container.mjs +3 -3
  674. package/dist/actions/retrieve-container.mjs.map +1 -1
  675. package/dist/actions/retrieve-engine.cjs +1 -1
  676. package/dist/actions/retrieve-engine.cjs.map +1 -1
  677. package/dist/actions/retrieve-engine.d.cts +1 -1
  678. package/dist/actions/retrieve-engine.d.mts +1 -1
  679. package/dist/actions/retrieve-engine.mjs +1 -1
  680. package/dist/actions/retrieve-engine.mjs.map +1 -1
  681. package/dist/actions/retrieve-file.cjs +1 -1
  682. package/dist/actions/retrieve-file.cjs.map +1 -1
  683. package/dist/actions/retrieve-file.d.cts +1 -1
  684. package/dist/actions/retrieve-file.d.mts +1 -1
  685. package/dist/actions/retrieve-file.mjs +1 -1
  686. package/dist/actions/retrieve-file.mjs.map +1 -1
  687. package/dist/actions/retrieve-fine-tuning-job.cjs +4 -4
  688. package/dist/actions/retrieve-fine-tuning-job.cjs.map +1 -1
  689. package/dist/actions/retrieve-fine-tuning-job.d.cts +5 -5
  690. package/dist/actions/retrieve-fine-tuning-job.d.mts +5 -5
  691. package/dist/actions/retrieve-fine-tuning-job.mjs +4 -4
  692. package/dist/actions/retrieve-fine-tuning-job.mjs.map +1 -1
  693. package/dist/actions/retrieve-model.cjs +2 -2
  694. package/dist/actions/retrieve-model.cjs.map +1 -1
  695. package/dist/actions/retrieve-model.d.cts +2 -2
  696. package/dist/actions/retrieve-model.d.mts +2 -2
  697. package/dist/actions/retrieve-model.mjs +2 -2
  698. package/dist/actions/retrieve-model.mjs.map +1 -1
  699. package/dist/actions/retrieve-run.cjs +7 -7
  700. package/dist/actions/retrieve-run.cjs.map +1 -1
  701. package/dist/actions/retrieve-run.d.cts +11 -11
  702. package/dist/actions/retrieve-run.d.mts +11 -11
  703. package/dist/actions/retrieve-run.mjs +7 -7
  704. package/dist/actions/retrieve-run.mjs.map +1 -1
  705. package/dist/actions/retrieve-thread.cjs +2 -2
  706. package/dist/actions/retrieve-thread.cjs.map +1 -1
  707. package/dist/actions/retrieve-thread.d.cts +2 -2
  708. package/dist/actions/retrieve-thread.d.mts +2 -2
  709. package/dist/actions/retrieve-thread.mjs +2 -2
  710. package/dist/actions/retrieve-thread.mjs.map +1 -1
  711. package/dist/actions/retrieve-vector-store-file-content.cjs +2 -2
  712. package/dist/actions/retrieve-vector-store-file-content.cjs.map +1 -1
  713. package/dist/actions/retrieve-vector-store-file-content.d.cts +2 -2
  714. package/dist/actions/retrieve-vector-store-file-content.d.mts +2 -2
  715. package/dist/actions/retrieve-vector-store-file-content.mjs +2 -2
  716. package/dist/actions/retrieve-vector-store-file-content.mjs.map +1 -1
  717. package/dist/actions/run-grader.cjs +8 -8
  718. package/dist/actions/run-grader.cjs.map +1 -1
  719. package/dist/actions/run-grader.d.cts +13 -8
  720. package/dist/actions/run-grader.d.mts +13 -8
  721. package/dist/actions/run-grader.mjs +8 -8
  722. package/dist/actions/run-grader.mjs.map +1 -1
  723. package/dist/actions/search-vector-store.cjs +3 -3
  724. package/dist/actions/search-vector-store.cjs.map +1 -1
  725. package/dist/actions/search-vector-store.d.cts +3 -3
  726. package/dist/actions/search-vector-store.d.mts +3 -3
  727. package/dist/actions/search-vector-store.mjs +3 -3
  728. package/dist/actions/search-vector-store.mjs.map +1 -1
  729. package/dist/actions/submit-tool-outputs-to-run.cjs +8 -8
  730. package/dist/actions/submit-tool-outputs-to-run.cjs.map +1 -1
  731. package/dist/actions/submit-tool-outputs-to-run.d.cts +13 -12
  732. package/dist/actions/submit-tool-outputs-to-run.d.mts +13 -12
  733. package/dist/actions/submit-tool-outputs-to-run.mjs +8 -8
  734. package/dist/actions/submit-tool-outputs-to-run.mjs.map +1 -1
  735. package/dist/actions/update-chat-completion.cjs +8 -8
  736. package/dist/actions/update-chat-completion.cjs.map +1 -1
  737. package/dist/actions/update-chat-completion.d.cts +9 -9
  738. package/dist/actions/update-chat-completion.d.mts +9 -9
  739. package/dist/actions/update-chat-completion.mjs +8 -8
  740. package/dist/actions/update-chat-completion.mjs.map +1 -1
  741. package/dist/actions/update-conversation.cjs +1 -1
  742. package/dist/actions/update-conversation.cjs.map +1 -1
  743. package/dist/actions/update-conversation.d.cts +1 -1
  744. package/dist/actions/update-conversation.d.mts +1 -1
  745. package/dist/actions/update-conversation.mjs +1 -1
  746. package/dist/actions/update-conversation.mjs.map +1 -1
  747. package/dist/actions/update-eval.cjs +1 -1
  748. package/dist/actions/update-eval.cjs.map +1 -1
  749. package/dist/actions/update-eval.d.cts +1 -1
  750. package/dist/actions/update-eval.d.mts +1 -1
  751. package/dist/actions/update-eval.mjs +1 -1
  752. package/dist/actions/update-eval.mjs.map +1 -1
  753. package/dist/actions/update-vector-store-file-attributes.cjs +4 -4
  754. package/dist/actions/update-vector-store-file-attributes.cjs.map +1 -1
  755. package/dist/actions/update-vector-store-file-attributes.d.cts +5 -5
  756. package/dist/actions/update-vector-store-file-attributes.d.mts +5 -5
  757. package/dist/actions/update-vector-store-file-attributes.mjs +4 -4
  758. package/dist/actions/update-vector-store-file-attributes.mjs.map +1 -1
  759. package/dist/actions/upload-file.cjs +1 -1
  760. package/dist/actions/upload-file.cjs.map +1 -1
  761. package/dist/actions/upload-file.d.cts +1 -1
  762. package/dist/actions/upload-file.d.mts +1 -1
  763. package/dist/actions/upload-file.mjs +1 -1
  764. package/dist/actions/upload-file.mjs.map +1 -1
  765. package/dist/actions/validate-grader.cjs +7 -7
  766. package/dist/actions/validate-grader.cjs.map +1 -1
  767. package/dist/actions/validate-grader.d.cts +12 -7
  768. package/dist/actions/validate-grader.d.cts.map +1 -1
  769. package/dist/actions/validate-grader.d.mts +12 -7
  770. package/dist/actions/validate-grader.d.mts.map +1 -1
  771. package/dist/actions/validate-grader.mjs +7 -7
  772. package/dist/actions/validate-grader.mjs.map +1 -1
  773. package/dist/catalog.cjs +1 -1
  774. package/dist/catalog.cjs.map +1 -1
  775. package/dist/catalog.d.cts +1 -1
  776. package/dist/catalog.d.mts +1 -1
  777. package/dist/catalog.mjs +1 -1
  778. package/dist/catalog.mjs.map +1 -1
  779. package/package.json +1 -1
@@ -12,36 +12,36 @@ const OpenaiCompactResponseInput = z.object({
12
12
  content: z.array(z.object({
13
13
  text: z.string().describe("The text content"),
14
14
  type: z.string().describe("Content type, must be 'input_text'")
15
- }).describe("Text content for input messages.")).describe("Array of content objects with text")
16
- }).describe("Message in the input array for compaction.")).describe("Array of message objects to compact. Each message should have role, content array with type and text, and type field. Either input or previous_response_id is required.").optional(),
15
+ }).passthrough().describe("Text content for input messages.")).describe("Array of content objects with text")
16
+ }).passthrough().describe("Message in the input array for compaction.")).describe("Array of message objects to compact. Each message should have role, content array with type and text, and type field. Either input or previous_response_id is required.").optional(),
17
17
  model: z.string().describe("Model ID to use for compaction (e.g., 'gpt-4', 'gpt-5', 'o3-mini')"),
18
18
  instructions: z.string().describe("Optional instructions for the compaction process").optional(),
19
19
  previous_response_id: z.string().describe("ID of a previous response to compact. Either input or previous_response_id is required.").optional()
20
20
  }).describe("Request parameters for compacting a response to reduce token usage.");
21
- const OpenaiCompactResponse_InputTokensDetailsSchema = z.object({ cached_tokens: z.number().int().describe("Number of tokens from cached content").nullable() }).describe("Detailed breakdown of input tokens.");
22
- const OpenaiCompactResponse_OutputTokensDetailsSchema = z.object({ reasoning_tokens: z.number().int().describe("Number of reasoning tokens used").nullable() }).describe("Detailed breakdown of output tokens.");
21
+ const OpenaiCompactResponse_InputTokensDetailsSchema = z.object({ cached_tokens: z.number().int().describe("Number of tokens from cached content").nullable() }).passthrough().describe("Detailed breakdown of input tokens.");
22
+ const OpenaiCompactResponse_OutputTokensDetailsSchema = z.object({ reasoning_tokens: z.number().int().describe("Number of reasoning tokens used").nullable() }).passthrough().describe("Detailed breakdown of output tokens.");
23
23
  const OpenaiCompactResponse_UsageInfoSchema = z.object({
24
24
  input_tokens: z.number().int().describe("Number of input tokens").nullable(),
25
25
  total_tokens: z.number().int().describe("Total tokens used (input + output)").nullable(),
26
26
  output_tokens: z.number().int().describe("Number of output tokens").nullable(),
27
27
  input_tokens_details: OpenaiCompactResponse_InputTokensDetailsSchema.nullable(),
28
28
  output_tokens_details: OpenaiCompactResponse_OutputTokensDetailsSchema.nullable()
29
- }).describe("Token usage information for the compaction.");
29
+ }).passthrough().describe("Token usage information for the compaction.");
30
30
  const OpenaiCompactResponse_OutputMessageContentSchema = z.object({
31
31
  text: z.string().describe("Text content if available").nullable().optional(),
32
32
  type: z.string().describe("Content type, e.g., 'input_text'").nullable()
33
- }).describe("Content within an output message.");
33
+ }).passthrough().describe("Content within an output message.");
34
34
  const OpenaiCompactResponse_OutputMessageSchema = z.object({
35
35
  role: z.string().describe("Role of the message, e.g., 'user'").nullable(),
36
36
  type: z.string().describe("Type of output item, e.g., 'message'").nullable(),
37
37
  content: z.array(OpenaiCompactResponse_OutputMessageContentSchema).describe("Array of content objects")
38
- }).describe("Message item in the output array.");
38
+ }).passthrough().describe("Message item in the output array.");
39
39
  const OpenaiCompactResponse_CompactionItemSchema = z.object({
40
40
  id: z.string().describe("Unique identifier for the compaction item").nullable(),
41
41
  type: z.string().describe("Type must be 'compaction'").nullable(),
42
42
  created_by: z.string().describe("Model that created this compaction").nullable().optional(),
43
43
  encrypted_content: z.string().describe("Encrypted summary content from compaction").nullable()
44
- }).describe("Compaction item in the output array.");
44
+ }).passthrough().describe("Compaction item in the output array.");
45
45
  const openaiCompactResponse = action("OPENAI_COMPACT_RESPONSE", {
46
46
  slug: "openai-compact-response",
47
47
  name: "Compact Response",
@@ -57,7 +57,7 @@ const openaiCompactResponse = action("OPENAI_COMPACT_RESPONSE", {
57
57
  z.record(z.string(), z.unknown())
58
58
  ])).describe("The compacted list of output items"),
59
59
  created_at: z.number().int().describe("Unix timestamp (in seconds) when the compacted conversation was created").nullable()
60
- }).describe("Response schema for the compact response endpoint.")
60
+ }).passthrough().describe("Response schema for the compact response endpoint.")
61
61
  });
62
62
  //#endregion
63
63
  export { openaiCompactResponse };
@@ -1 +1 @@
1
- {"version":3,"file":"compact-response.mjs","names":[],"sources":["../../src/actions/compact-response.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCompactResponseInput = z.object({\n input: z.array(z.object({\n role: z.enum([\"user\", \"assistant\", \"system\"]).describe(\"Role of the message sender\"),\n type: z.string().describe(\"Type must be 'message'\"),\n content: z.array(z.object({\n text: z.string().describe(\"The text content\"),\n type: z.string().describe(\"Content type, must be 'input_text'\"),\n}).describe(\"Text content for input messages.\")).describe(\"Array of content objects with text\"),\n}).describe(\"Message in the input array for compaction.\")).describe(\"Array of message objects to compact. Each message should have role, content array with type and text, and type field. Either input or previous_response_id is required.\").optional(),\n model: z.string().describe(\"Model ID to use for compaction (e.g., 'gpt-4', 'gpt-5', 'o3-mini')\"),\n instructions: z.string().describe(\"Optional instructions for the compaction process\").optional(),\n previous_response_id: z.string().describe(\"ID of a previous response to compact. Either input or previous_response_id is required.\").optional(),\n}).describe(\"Request parameters for compacting a response to reduce token usage.\");\nconst OpenaiCompactResponse_InputTokensDetailsSchema = z.object({\n cached_tokens: z.number().int().describe(\"Number of tokens from cached content\").nullable(),\n}).describe(\"Detailed breakdown of input tokens.\");\nconst OpenaiCompactResponse_OutputTokensDetailsSchema = z.object({\n reasoning_tokens: z.number().int().describe(\"Number of reasoning tokens used\").nullable(),\n}).describe(\"Detailed breakdown of output tokens.\");\nconst OpenaiCompactResponse_UsageInfoSchema = z.object({\n input_tokens: z.number().int().describe(\"Number of input tokens\").nullable(),\n total_tokens: z.number().int().describe(\"Total tokens used (input + output)\").nullable(),\n output_tokens: z.number().int().describe(\"Number of output tokens\").nullable(),\n input_tokens_details: OpenaiCompactResponse_InputTokensDetailsSchema.nullable(),\n output_tokens_details: OpenaiCompactResponse_OutputTokensDetailsSchema.nullable(),\n}).describe(\"Token usage information for the compaction.\");\nconst OpenaiCompactResponse_OutputMessageContentSchema = z.object({\n text: z.string().describe(\"Text content if available\").nullable().optional(),\n type: z.string().describe(\"Content type, e.g., 'input_text'\").nullable(),\n}).describe(\"Content within an output message.\");\nconst OpenaiCompactResponse_OutputMessageSchema = z.object({\n role: z.string().describe(\"Role of the message, e.g., 'user'\").nullable(),\n type: z.string().describe(\"Type of output item, e.g., 'message'\").nullable(),\n content: z.array(OpenaiCompactResponse_OutputMessageContentSchema).describe(\"Array of content objects\"),\n}).describe(\"Message item in the output array.\");\nconst OpenaiCompactResponse_CompactionItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the compaction item\").nullable(),\n type: z.string().describe(\"Type must be 'compaction'\").nullable(),\n created_by: z.string().describe(\"Model that created this compaction\").nullable().optional(),\n encrypted_content: z.string().describe(\"Encrypted summary content from compaction\").nullable(),\n}).describe(\"Compaction item in the output array.\");\nexport const OpenaiCompactResponseOutput = z.object({\n id: z.string().describe(\"Unique identifier for the compacted response\").nullable(),\n usage: OpenaiCompactResponse_UsageInfoSchema.nullable(),\n object: z.string().describe(\"Object type, always 'response.compaction'\").nullable(),\n output: z.array(z.union([OpenaiCompactResponse_OutputMessageSchema, OpenaiCompactResponse_CompactionItemSchema, z.record(z.string(), z.unknown())])).describe(\"The compacted list of output items\"),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the compacted conversation was created\").nullable(),\n}).describe(\"Response schema for the compact response endpoint.\");\n\nexport const openaiCompactResponse = action(\"OPENAI_COMPACT_RESPONSE\", {\n slug: \"openai-compact-response\",\n name: \"Compact Response\",\n description: \"Tool to compact a conversation or response to reduce token usage. Use when you need to reduce the size of long conversations while preserving important context. Either provide an array of input messages or reference a previous response ID to compact.\",\n input: OpenaiCompactResponseInput,\n output: OpenaiCompactResponseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAa;EAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAClD,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;GAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAChE,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,CAAC,SAAS,oCAAoC;CAC9F,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;CACtP,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC/F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,iDAAiD,EAAE,OAAO,EAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,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E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AASlD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACjF,OAAO,sCAAsC,SAAS;EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,QAAQ,EAAE,MAAM,EAAE,MAAM;GAAC;GAA2C;GAA4C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC;EAClM,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"compact-response.mjs","names":[],"sources":["../../src/actions/compact-response.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCompactResponseInput = z.object({\n input: z.array(z.object({\n role: z.enum([\"user\", \"assistant\", \"system\"]).describe(\"Role of the message sender\"),\n type: z.string().describe(\"Type must be 'message'\"),\n content: z.array(z.object({\n text: z.string().describe(\"The text content\"),\n type: z.string().describe(\"Content type, must be 'input_text'\"),\n}).passthrough().describe(\"Text content for input messages.\")).describe(\"Array of content objects with text\"),\n}).passthrough().describe(\"Message in the input array for compaction.\")).describe(\"Array of message objects to compact. Each message should have role, content array with type and text, and type field. Either input or previous_response_id is required.\").optional(),\n model: z.string().describe(\"Model ID to use for compaction (e.g., 'gpt-4', 'gpt-5', 'o3-mini')\"),\n instructions: z.string().describe(\"Optional instructions for the compaction process\").optional(),\n previous_response_id: z.string().describe(\"ID of a previous response to compact. Either input or previous_response_id is required.\").optional(),\n}).describe(\"Request parameters for compacting a response to reduce token usage.\");\nconst OpenaiCompactResponse_InputTokensDetailsSchema = z.object({\n cached_tokens: z.number().int().describe(\"Number of tokens from cached content\").nullable(),\n}).passthrough().describe(\"Detailed breakdown of input tokens.\");\nconst OpenaiCompactResponse_OutputTokensDetailsSchema = z.object({\n reasoning_tokens: z.number().int().describe(\"Number of reasoning tokens used\").nullable(),\n}).passthrough().describe(\"Detailed breakdown of output tokens.\");\nconst OpenaiCompactResponse_UsageInfoSchema = z.object({\n input_tokens: z.number().int().describe(\"Number of input tokens\").nullable(),\n total_tokens: z.number().int().describe(\"Total tokens used (input + output)\").nullable(),\n output_tokens: z.number().int().describe(\"Number of output tokens\").nullable(),\n input_tokens_details: OpenaiCompactResponse_InputTokensDetailsSchema.nullable(),\n output_tokens_details: OpenaiCompactResponse_OutputTokensDetailsSchema.nullable(),\n}).passthrough().describe(\"Token usage information for the compaction.\");\nconst OpenaiCompactResponse_OutputMessageContentSchema = z.object({\n text: z.string().describe(\"Text content if available\").nullable().optional(),\n type: z.string().describe(\"Content type, e.g., 'input_text'\").nullable(),\n}).passthrough().describe(\"Content within an output message.\");\nconst OpenaiCompactResponse_OutputMessageSchema = z.object({\n role: z.string().describe(\"Role of the message, e.g., 'user'\").nullable(),\n type: z.string().describe(\"Type of output item, e.g., 'message'\").nullable(),\n content: z.array(OpenaiCompactResponse_OutputMessageContentSchema).describe(\"Array of content objects\"),\n}).passthrough().describe(\"Message item in the output array.\");\nconst OpenaiCompactResponse_CompactionItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the compaction item\").nullable(),\n type: z.string().describe(\"Type must be 'compaction'\").nullable(),\n created_by: z.string().describe(\"Model that created this compaction\").nullable().optional(),\n encrypted_content: z.string().describe(\"Encrypted summary content from compaction\").nullable(),\n}).passthrough().describe(\"Compaction item in the output array.\");\nexport const OpenaiCompactResponseOutput = z.object({\n id: z.string().describe(\"Unique identifier for the compacted response\").nullable(),\n usage: OpenaiCompactResponse_UsageInfoSchema.nullable(),\n object: z.string().describe(\"Object type, always 'response.compaction'\").nullable(),\n output: z.array(z.union([OpenaiCompactResponse_OutputMessageSchema, OpenaiCompactResponse_CompactionItemSchema, z.record(z.string(), z.unknown())])).describe(\"The compacted list of output items\"),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the compacted conversation was created\").nullable(),\n}).passthrough().describe(\"Response schema for the compact response endpoint.\");\n\nexport const openaiCompactResponse = action(\"OPENAI_COMPACT_RESPONSE\", {\n slug: \"openai-compact-response\",\n name: \"Compact Response\",\n description: \"Tool to compact a conversation or response to reduce token usage. Use when you need to reduce the size of long conversations while preserving important context. Either provide an array of input messages or reference a previous response ID to compact.\",\n input: OpenaiCompactResponseInput,\n output: OpenaiCompactResponseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAa;EAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAClD,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;GAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,CAAC,SAAS,oCAAoC;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;CACpQ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CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -27,7 +27,7 @@ const OpenaiCreateAudioTranscription_TranscriptionWordSchema = zod.z.object({
27
27
  end: zod.z.number().describe("End time of the word in seconds").nullable().optional(),
28
28
  word: zod.z.string().describe("The transcribed word").nullable().optional(),
29
29
  start: zod.z.number().describe("Start time of the word in seconds").nullable().optional()
30
- }).describe("A word in the transcription with timing information.");
30
+ }).passthrough().describe("A word in the transcription with timing information.");
31
31
  const OpenaiCreateAudioTranscription_TranscriptionSegmentSchema = zod.z.object({
32
32
  id: zod.z.number().int().describe("Unique identifier for the segment").nullable().optional(),
33
33
  end: zod.z.number().describe("End time of the segment in seconds").nullable().optional(),
@@ -39,7 +39,7 @@ const OpenaiCreateAudioTranscription_TranscriptionSegmentSchema = zod.z.object({
39
39
  temperature: zod.z.number().describe("Temperature used for this segment").nullable().optional(),
40
40
  no_speech_prob: zod.z.number().describe("Probability that the segment contains no speech").nullable().optional(),
41
41
  compression_ratio: zod.z.number().describe("Compression ratio of the segment").nullable().optional()
42
- }).describe("A segment of the transcription with timing information.");
42
+ }).passthrough().describe("A segment of the transcription with timing information.");
43
43
  const OpenaiCreateAudioTranscriptionOutput = zod.z.object({
44
44
  task: zod.z.string().describe("The task performed, typically 'transcribe' (only in verbose_json)").nullable().optional(),
45
45
  text: zod.z.string().describe("The transcribed text from the audio file").nullable().optional(),
@@ -47,7 +47,7 @@ const OpenaiCreateAudioTranscriptionOutput = zod.z.object({
47
47
  duration: zod.z.number().describe("Duration of the audio in seconds (only in verbose_json)").nullable().optional(),
48
48
  language: zod.z.string().describe("Detected language of the audio (only in verbose_json)").nullable().optional(),
49
49
  segments: zod.z.array(OpenaiCreateAudioTranscription_TranscriptionSegmentSchema).describe("Array of transcription segments with timing information (only in verbose_json with segment granularity)").nullable().optional()
50
- }).describe("Response model for audio transcription.\n\nStructure varies based on response_format:\n- json: Contains 'text' field only\n- verbose_json: Contains task, language, duration, text, segments, and optionally words\n- text/srt/vtt: Returns as plain text (stored in 'text' field)");
50
+ }).passthrough().describe("Response model for audio transcription.\n\nStructure varies based on response_format:\n- json: Contains 'text' field only\n- verbose_json: Contains task, language, duration, text, segments, and optionally words\n- text/srt/vtt: Returns as plain text (stored in 'text' field)");
51
51
  const openaiCreateAudioTranscription = require_action.action("OPENAI_CREATE_AUDIO_TRANSCRIPTION", {
52
52
  slug: "openai-create-audio-transcription",
53
53
  name: "Create Audio Transcription",
@@ -1 +1 @@
1
- {"version":3,"file":"create-audio-transcription.cjs","names":["z","action"],"sources":["../../src/actions/create-audio-transcription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateAudioTranscriptionInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Audio file to transcribe. Supported formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm. If not provided, use raw_content with raw_filename and raw_mimetype instead.\").optional(),\n model: z.string().describe(\"ID of the model to use for transcription. Options: 'whisper-1', 'gpt-4o-transcribe', 'gpt-4o-mini-transcribe', 'gpt-4o-mini-transcribe-2025-12-15', 'gpt-4o-transcribe-diarize'.\"),\n prompt: z.string().describe(\"Optional text to guide the model's style or continue a previous audio segment. The prompt should match the audio language. Supported by gpt-4o-transcribe and gpt-4o-mini-transcribe models.\").optional(),\n language: z.string().describe(\"Language of the input audio in ISO-639-1 format (e.g., 'en' for English, 'es' for Spanish). Providing the language can improve accuracy and speed.\").optional(),\n raw_content: z.union([z.string(), z.string()]).optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1. Higher values (e.g., 0.8) make output more random, lower values (e.g., 0.2) make it more focused and deterministic.\").optional(),\n raw_filename: z.string().describe(\"Filename for the inline audio content (e.g., 'audio.mp3', 'recording.wav'). Required when using raw_content.\").optional(),\n raw_mimetype: z.string().describe(\"MIME type for the inline audio content (e.g., 'audio/mpeg', 'audio/wav'). Defaults to 'audio/mpeg' if not provided.\").optional(),\n response_format: z.enum([\"json\", \"text\", \"srt\", \"vtt\", \"verbose_json\"]).describe(\"Format of the transcription output. 'json' returns {text: '...'}. 'verbose_json' includes task, language, duration, segments, and optionally words (with timestamp_granularities). 'text' returns plain text. 'srt' and 'vtt' return subtitle formats. whisper-1 supports all formats. gpt-4o-transcribe and gpt-4o-mini-transcribe support json or text only.\").optional(),\n timestamp_granularities: z.array(z.enum([\"word\", \"segment\"])).describe(\"Timestamp granularities to include in the response. Use ['word'] for word-level timestamps, ['segment'] for segment-level, or both ['word', 'segment']. Only available when response_format is 'verbose_json'.\").optional(),\n}).describe(\"Request model for creating an audio transcription.\");\nconst OpenaiCreateAudioTranscription_TranscriptionWordSchema = z.object({\n end: z.number().describe(\"End time of the word in seconds\").nullable().optional(),\n word: z.string().describe(\"The transcribed word\").nullable().optional(),\n start: z.number().describe(\"Start time of the word in seconds\").nullable().optional(),\n}).describe(\"A word in the transcription with timing information.\");\nconst OpenaiCreateAudioTranscription_TranscriptionSegmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the segment\").nullable().optional(),\n end: z.number().describe(\"End time of the segment in seconds\").nullable().optional(),\n seek: z.number().int().describe(\"Seek position in the audio\").nullable().optional(),\n text: z.string().describe(\"Text content of the segment\").nullable().optional(),\n start: z.number().describe(\"Start time of the segment in seconds\").nullable().optional(),\n tokens: z.array(z.number().int()).describe(\"Token IDs for the segment\").nullable().optional(),\n avg_logprob: z.number().describe(\"Average log probability of the segment\").nullable().optional(),\n temperature: z.number().describe(\"Temperature used for this segment\").nullable().optional(),\n no_speech_prob: z.number().describe(\"Probability that the segment contains no speech\").nullable().optional(),\n compression_ratio: z.number().describe(\"Compression ratio of the segment\").nullable().optional(),\n}).describe(\"A segment of the transcription with timing information.\");\nexport const OpenaiCreateAudioTranscriptionOutput = z.object({\n task: z.string().describe(\"The task performed, typically 'transcribe' (only in verbose_json)\").nullable().optional(),\n text: z.string().describe(\"The transcribed text from the audio file\").nullable().optional(),\n words: z.array(OpenaiCreateAudioTranscription_TranscriptionWordSchema).describe(\"Array of transcribed words with timing information (only in verbose_json with word granularity)\").nullable().optional(),\n duration: z.number().describe(\"Duration of the audio in seconds (only in verbose_json)\").nullable().optional(),\n language: z.string().describe(\"Detected language of the audio (only in verbose_json)\").nullable().optional(),\n segments: z.array(OpenaiCreateAudioTranscription_TranscriptionSegmentSchema).describe(\"Array of transcription segments with timing information (only in verbose_json with segment granularity)\").nullable().optional(),\n}).describe(\"Response model for audio transcription.\\n\\nStructure varies based on response_format:\\n- json: Contains 'text' field only\\n- verbose_json: Contains task, language, duration, text, segments, and optionally words\\n- text/srt/vtt: Returns as plain text (stored in 'text' field)\");\n\nexport const openaiCreateAudioTranscription = action(\"OPENAI_CREATE_AUDIO_TRANSCRIPTION\", {\n slug: \"openai-create-audio-transcription\",\n name: \"Create Audio Transcription\",\n description: \"Tool to transcribe audio files to text via OpenAI Audio Transcriptions API. Use when you need to convert speech in audio files to written text, optionally with timestamps or speaker diarization.\",\n input: OpenaiCreateAudioTranscriptionInput,\n output: OpenaiCreateAudioTranscriptionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CACjM,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL;CAC7M,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,C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IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvM,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvN,CAAC,CAAC,CAAC,SAAS,oRAAoR;AAEhS,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-audio-transcription.cjs","names":["z","action"],"sources":["../../src/actions/create-audio-transcription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateAudioTranscriptionInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Audio file to transcribe. Supported formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm. If not provided, use raw_content with raw_filename and raw_mimetype instead.\").optional(),\n model: z.string().describe(\"ID of the model to use for transcription. Options: 'whisper-1', 'gpt-4o-transcribe', 'gpt-4o-mini-transcribe', 'gpt-4o-mini-transcribe-2025-12-15', 'gpt-4o-transcribe-diarize'.\"),\n prompt: z.string().describe(\"Optional text to guide the model's style or continue a previous audio segment. The prompt should match the audio language. Supported by gpt-4o-transcribe and gpt-4o-mini-transcribe models.\").optional(),\n language: z.string().describe(\"Language of the input audio in ISO-639-1 format (e.g., 'en' for English, 'es' for Spanish). Providing the language can improve accuracy and speed.\").optional(),\n raw_content: z.union([z.string(), z.string()]).optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1. Higher values (e.g., 0.8) make output more random, lower values (e.g., 0.2) make it more focused and deterministic.\").optional(),\n raw_filename: z.string().describe(\"Filename for the inline audio content (e.g., 'audio.mp3', 'recording.wav'). Required when using raw_content.\").optional(),\n raw_mimetype: z.string().describe(\"MIME type for the inline audio content (e.g., 'audio/mpeg', 'audio/wav'). Defaults to 'audio/mpeg' if not provided.\").optional(),\n response_format: z.enum([\"json\", \"text\", \"srt\", \"vtt\", \"verbose_json\"]).describe(\"Format of the transcription output. 'json' returns {text: '...'}. 'verbose_json' includes task, language, duration, segments, and optionally words (with timestamp_granularities). 'text' returns plain text. 'srt' and 'vtt' return subtitle formats. whisper-1 supports all formats. gpt-4o-transcribe and gpt-4o-mini-transcribe support json or text only.\").optional(),\n timestamp_granularities: z.array(z.enum([\"word\", \"segment\"])).describe(\"Timestamp granularities to include in the response. Use ['word'] for word-level timestamps, ['segment'] for segment-level, or both ['word', 'segment']. Only available when response_format is 'verbose_json'.\").optional(),\n}).describe(\"Request model for creating an audio transcription.\");\nconst OpenaiCreateAudioTranscription_TranscriptionWordSchema = z.object({\n end: z.number().describe(\"End time of the word in seconds\").nullable().optional(),\n word: z.string().describe(\"The transcribed word\").nullable().optional(),\n start: z.number().describe(\"Start time of the word in seconds\").nullable().optional(),\n}).passthrough().describe(\"A word in the transcription with timing information.\");\nconst OpenaiCreateAudioTranscription_TranscriptionSegmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the segment\").nullable().optional(),\n end: z.number().describe(\"End time of the segment in seconds\").nullable().optional(),\n seek: z.number().int().describe(\"Seek position in the audio\").nullable().optional(),\n text: z.string().describe(\"Text content of the segment\").nullable().optional(),\n start: z.number().describe(\"Start time of the segment in seconds\").nullable().optional(),\n tokens: z.array(z.number().int()).describe(\"Token IDs for the segment\").nullable().optional(),\n avg_logprob: z.number().describe(\"Average log probability of the segment\").nullable().optional(),\n temperature: z.number().describe(\"Temperature used for this segment\").nullable().optional(),\n no_speech_prob: z.number().describe(\"Probability that the segment contains no speech\").nullable().optional(),\n compression_ratio: z.number().describe(\"Compression ratio of the segment\").nullable().optional(),\n}).passthrough().describe(\"A segment of the transcription with timing information.\");\nexport const OpenaiCreateAudioTranscriptionOutput = z.object({\n task: z.string().describe(\"The task performed, typically 'transcribe' (only in verbose_json)\").nullable().optional(),\n text: z.string().describe(\"The transcribed text from the audio file\").nullable().optional(),\n words: z.array(OpenaiCreateAudioTranscription_TranscriptionWordSchema).describe(\"Array of transcribed words with timing information (only in verbose_json with word granularity)\").nullable().optional(),\n duration: z.number().describe(\"Duration of the audio in seconds (only in verbose_json)\").nullable().optional(),\n language: z.string().describe(\"Detected language of the audio (only in verbose_json)\").nullable().optional(),\n segments: z.array(OpenaiCreateAudioTranscription_TranscriptionSegmentSchema).describe(\"Array of transcription segments with timing information (only in verbose_json with segment granularity)\").nullable().optional(),\n}).passthrough().describe(\"Response model for audio transcription.\\n\\nStructure varies based on response_format:\\n- json: Contains 'text' field only\\n- verbose_json: Contains task, language, duration, text, segments, and optionally words\\n- text/srt/vtt: Returns as plain text (stored in 'text' field)\");\n\nexport const openaiCreateAudioTranscription = action(\"OPENAI_CREATE_AUDIO_TRANSCRIPTION\", {\n slug: \"openai-create-audio-transcription\",\n name: \"Create Audio Transcription\",\n description: \"Tool to transcribe audio files to text via OpenAI Audio Transcriptions API. Use when you need to convert speech in audio files to written text, optionally with timestamps or speaker diarization.\",\n input: OpenaiCreateAudioTranscriptionInput,\n output: OpenaiCreateAudioTranscriptionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OA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SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvM,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oRAAoR;AAE9S,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -33,7 +33,7 @@ declare const OpenaiCreateAudioTranscriptionOutput: z.ZodObject<{
33
33
  end: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
34
  word: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  start: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
- }, z.core.$strip>>>>;
36
+ }, z.core.$loose>>>>;
37
37
  duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
38
  language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  segments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -47,8 +47,8 @@ declare const OpenaiCreateAudioTranscriptionOutput: z.ZodObject<{
47
47
  temperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
48
  no_speech_prob: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
49
  compression_ratio: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
- }, z.core.$strip>>>>;
51
- }, z.core.$strip>;
50
+ }, z.core.$loose>>>>;
51
+ }, z.core.$loose>;
52
52
  declare const openaiCreateAudioTranscription: import("@keystrokehq/action").WorkflowActionDefinition<{
53
53
  model: string;
54
54
  file?: {
@@ -33,7 +33,7 @@ declare const OpenaiCreateAudioTranscriptionOutput: z.ZodObject<{
33
33
  end: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
34
  word: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  start: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
- }, z.core.$strip>>>>;
36
+ }, z.core.$loose>>>>;
37
37
  duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
38
  language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  segments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -47,8 +47,8 @@ declare const OpenaiCreateAudioTranscriptionOutput: z.ZodObject<{
47
47
  temperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
48
  no_speech_prob: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
49
  compression_ratio: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
- }, z.core.$strip>>>>;
51
- }, z.core.$strip>;
50
+ }, z.core.$loose>>>>;
51
+ }, z.core.$loose>;
52
52
  declare const openaiCreateAudioTranscription: import("@keystrokehq/action").WorkflowActionDefinition<{
53
53
  model: string;
54
54
  file?: {
@@ -27,7 +27,7 @@ const OpenaiCreateAudioTranscription_TranscriptionWordSchema = z.object({
27
27
  end: z.number().describe("End time of the word in seconds").nullable().optional(),
28
28
  word: z.string().describe("The transcribed word").nullable().optional(),
29
29
  start: z.number().describe("Start time of the word in seconds").nullable().optional()
30
- }).describe("A word in the transcription with timing information.");
30
+ }).passthrough().describe("A word in the transcription with timing information.");
31
31
  const OpenaiCreateAudioTranscription_TranscriptionSegmentSchema = z.object({
32
32
  id: z.number().int().describe("Unique identifier for the segment").nullable().optional(),
33
33
  end: z.number().describe("End time of the segment in seconds").nullable().optional(),
@@ -39,7 +39,7 @@ const OpenaiCreateAudioTranscription_TranscriptionSegmentSchema = z.object({
39
39
  temperature: z.number().describe("Temperature used for this segment").nullable().optional(),
40
40
  no_speech_prob: z.number().describe("Probability that the segment contains no speech").nullable().optional(),
41
41
  compression_ratio: z.number().describe("Compression ratio of the segment").nullable().optional()
42
- }).describe("A segment of the transcription with timing information.");
42
+ }).passthrough().describe("A segment of the transcription with timing information.");
43
43
  const openaiCreateAudioTranscription = action("OPENAI_CREATE_AUDIO_TRANSCRIPTION", {
44
44
  slug: "openai-create-audio-transcription",
45
45
  name: "Create Audio Transcription",
@@ -52,7 +52,7 @@ const openaiCreateAudioTranscription = action("OPENAI_CREATE_AUDIO_TRANSCRIPTION
52
52
  duration: z.number().describe("Duration of the audio in seconds (only in verbose_json)").nullable().optional(),
53
53
  language: z.string().describe("Detected language of the audio (only in verbose_json)").nullable().optional(),
54
54
  segments: z.array(OpenaiCreateAudioTranscription_TranscriptionSegmentSchema).describe("Array of transcription segments with timing information (only in verbose_json with segment granularity)").nullable().optional()
55
- }).describe("Response model for audio transcription.\n\nStructure varies based on response_format:\n- json: Contains 'text' field only\n- verbose_json: Contains task, language, duration, text, segments, and optionally words\n- text/srt/vtt: Returns as plain text (stored in 'text' field)")
55
+ }).passthrough().describe("Response model for audio transcription.\n\nStructure varies based on response_format:\n- json: Contains 'text' field only\n- verbose_json: Contains task, language, duration, text, segments, and optionally words\n- text/srt/vtt: Returns as plain text (stored in 'text' field)")
56
56
  });
57
57
  //#endregion
58
58
  export { openaiCreateAudioTranscription };
@@ -1 +1 @@
1
- {"version":3,"file":"create-audio-transcription.mjs","names":[],"sources":["../../src/actions/create-audio-transcription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateAudioTranscriptionInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Audio file to transcribe. Supported formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm. If not provided, use raw_content with raw_filename and raw_mimetype instead.\").optional(),\n model: z.string().describe(\"ID of the model to use for transcription. Options: 'whisper-1', 'gpt-4o-transcribe', 'gpt-4o-mini-transcribe', 'gpt-4o-mini-transcribe-2025-12-15', 'gpt-4o-transcribe-diarize'.\"),\n prompt: z.string().describe(\"Optional text to guide the model's style or continue a previous audio segment. The prompt should match the audio language. Supported by gpt-4o-transcribe and gpt-4o-mini-transcribe models.\").optional(),\n language: z.string().describe(\"Language of the input audio in ISO-639-1 format (e.g., 'en' for English, 'es' for Spanish). Providing the language can improve accuracy and speed.\").optional(),\n raw_content: z.union([z.string(), z.string()]).optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1. Higher values (e.g., 0.8) make output more random, lower values (e.g., 0.2) make it more focused and deterministic.\").optional(),\n raw_filename: z.string().describe(\"Filename for the inline audio content (e.g., 'audio.mp3', 'recording.wav'). Required when using raw_content.\").optional(),\n raw_mimetype: z.string().describe(\"MIME type for the inline audio content (e.g., 'audio/mpeg', 'audio/wav'). Defaults to 'audio/mpeg' if not provided.\").optional(),\n response_format: z.enum([\"json\", \"text\", \"srt\", \"vtt\", \"verbose_json\"]).describe(\"Format of the transcription output. 'json' returns {text: '...'}. 'verbose_json' includes task, language, duration, segments, and optionally words (with timestamp_granularities). 'text' returns plain text. 'srt' and 'vtt' return subtitle formats. whisper-1 supports all formats. gpt-4o-transcribe and gpt-4o-mini-transcribe support json or text only.\").optional(),\n timestamp_granularities: z.array(z.enum([\"word\", \"segment\"])).describe(\"Timestamp granularities to include in the response. Use ['word'] for word-level timestamps, ['segment'] for segment-level, or both ['word', 'segment']. Only available when response_format is 'verbose_json'.\").optional(),\n}).describe(\"Request model for creating an audio transcription.\");\nconst OpenaiCreateAudioTranscription_TranscriptionWordSchema = z.object({\n end: z.number().describe(\"End time of the word in seconds\").nullable().optional(),\n word: z.string().describe(\"The transcribed word\").nullable().optional(),\n start: z.number().describe(\"Start time of the word in seconds\").nullable().optional(),\n}).describe(\"A word in the transcription with timing information.\");\nconst OpenaiCreateAudioTranscription_TranscriptionSegmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the segment\").nullable().optional(),\n end: z.number().describe(\"End time of the segment in seconds\").nullable().optional(),\n seek: z.number().int().describe(\"Seek position in the audio\").nullable().optional(),\n text: z.string().describe(\"Text content of the segment\").nullable().optional(),\n start: z.number().describe(\"Start time of the segment in seconds\").nullable().optional(),\n tokens: z.array(z.number().int()).describe(\"Token IDs for the segment\").nullable().optional(),\n avg_logprob: z.number().describe(\"Average log probability of the segment\").nullable().optional(),\n temperature: z.number().describe(\"Temperature used for this segment\").nullable().optional(),\n no_speech_prob: z.number().describe(\"Probability that the segment contains no speech\").nullable().optional(),\n compression_ratio: z.number().describe(\"Compression ratio of the segment\").nullable().optional(),\n}).describe(\"A segment of the transcription with timing information.\");\nexport const OpenaiCreateAudioTranscriptionOutput = z.object({\n task: z.string().describe(\"The task performed, typically 'transcribe' (only in verbose_json)\").nullable().optional(),\n text: z.string().describe(\"The transcribed text from the audio file\").nullable().optional(),\n words: z.array(OpenaiCreateAudioTranscription_TranscriptionWordSchema).describe(\"Array of transcribed words with timing information (only in verbose_json with word granularity)\").nullable().optional(),\n duration: z.number().describe(\"Duration of the audio in seconds (only in verbose_json)\").nullable().optional(),\n language: z.string().describe(\"Detected language of the audio (only in verbose_json)\").nullable().optional(),\n segments: z.array(OpenaiCreateAudioTranscription_TranscriptionSegmentSchema).describe(\"Array of transcription segments with timing information (only in verbose_json with segment granularity)\").nullable().optional(),\n}).describe(\"Response model for audio transcription.\\n\\nStructure varies based on response_format:\\n- json: Contains 'text' field only\\n- verbose_json: Contains task, language, duration, text, segments, and optionally words\\n- text/srt/vtt: Returns as plain text (stored in 'text' field)\");\n\nexport const openaiCreateAudioTranscription = action(\"OPENAI_CREATE_AUDIO_TRANSCRIPTION\", {\n slug: \"openai-create-audio-transcription\",\n name: \"Create Audio Transcription\",\n description: \"Tool to transcribe audio files to text via OpenAI Audio Transcriptions API. Use when you need to convert speech in audio files to written text, optionally with timestamps or speaker diarization.\",\n input: OpenaiCreateAudioTranscriptionInput,\n output: OpenaiCreateAudioTranscriptionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CACjM,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL;CAC7M,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CACrO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC7L,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CACvM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAC3J,cAAc,EAAE,OAA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AA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAUrE,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvM,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,UAAU,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvN,CAAC,CAAC,CAAC,SAAS,oRAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-audio-transcription.mjs","names":[],"sources":["../../src/actions/create-audio-transcription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateAudioTranscriptionInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Audio file to transcribe. Supported formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm. If not provided, use raw_content with raw_filename and raw_mimetype instead.\").optional(),\n model: z.string().describe(\"ID of the model to use for transcription. Options: 'whisper-1', 'gpt-4o-transcribe', 'gpt-4o-mini-transcribe', 'gpt-4o-mini-transcribe-2025-12-15', 'gpt-4o-transcribe-diarize'.\"),\n prompt: z.string().describe(\"Optional text to guide the model's style or continue a previous audio segment. The prompt should match the audio language. Supported by gpt-4o-transcribe and gpt-4o-mini-transcribe models.\").optional(),\n language: z.string().describe(\"Language of the input audio in ISO-639-1 format (e.g., 'en' for English, 'es' for Spanish). Providing the language can improve accuracy and speed.\").optional(),\n raw_content: z.union([z.string(), z.string()]).optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1. Higher values (e.g., 0.8) make output more random, lower values (e.g., 0.2) make it more focused and deterministic.\").optional(),\n raw_filename: z.string().describe(\"Filename for the inline audio content (e.g., 'audio.mp3', 'recording.wav'). Required when using raw_content.\").optional(),\n raw_mimetype: z.string().describe(\"MIME type for the inline audio content (e.g., 'audio/mpeg', 'audio/wav'). Defaults to 'audio/mpeg' if not provided.\").optional(),\n response_format: z.enum([\"json\", \"text\", \"srt\", \"vtt\", \"verbose_json\"]).describe(\"Format of the transcription output. 'json' returns {text: '...'}. 'verbose_json' includes task, language, duration, segments, and optionally words (with timestamp_granularities). 'text' returns plain text. 'srt' and 'vtt' return subtitle formats. whisper-1 supports all formats. gpt-4o-transcribe and gpt-4o-mini-transcribe support json or text only.\").optional(),\n timestamp_granularities: z.array(z.enum([\"word\", \"segment\"])).describe(\"Timestamp granularities to include in the response. Use ['word'] for word-level timestamps, ['segment'] for segment-level, or both ['word', 'segment']. Only available when response_format is 'verbose_json'.\").optional(),\n}).describe(\"Request model for creating an audio transcription.\");\nconst OpenaiCreateAudioTranscription_TranscriptionWordSchema = z.object({\n end: z.number().describe(\"End time of the word in seconds\").nullable().optional(),\n word: z.string().describe(\"The transcribed word\").nullable().optional(),\n start: z.number().describe(\"Start time of the word in seconds\").nullable().optional(),\n}).passthrough().describe(\"A word in the transcription with timing information.\");\nconst OpenaiCreateAudioTranscription_TranscriptionSegmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the segment\").nullable().optional(),\n end: z.number().describe(\"End time of the segment in seconds\").nullable().optional(),\n seek: z.number().int().describe(\"Seek position in the audio\").nullable().optional(),\n text: z.string().describe(\"Text content of the segment\").nullable().optional(),\n start: z.number().describe(\"Start time of the segment in seconds\").nullable().optional(),\n tokens: z.array(z.number().int()).describe(\"Token IDs for the segment\").nullable().optional(),\n avg_logprob: z.number().describe(\"Average log probability of the segment\").nullable().optional(),\n temperature: z.number().describe(\"Temperature used for this segment\").nullable().optional(),\n no_speech_prob: z.number().describe(\"Probability that the segment contains no speech\").nullable().optional(),\n compression_ratio: z.number().describe(\"Compression ratio of the segment\").nullable().optional(),\n}).passthrough().describe(\"A segment of the transcription with timing information.\");\nexport const OpenaiCreateAudioTranscriptionOutput = z.object({\n task: z.string().describe(\"The task performed, typically 'transcribe' (only in verbose_json)\").nullable().optional(),\n text: z.string().describe(\"The transcribed text from the audio file\").nullable().optional(),\n words: z.array(OpenaiCreateAudioTranscription_TranscriptionWordSchema).describe(\"Array of transcribed words with timing information (only in verbose_json with word granularity)\").nullable().optional(),\n duration: z.number().describe(\"Duration of the audio in seconds (only in verbose_json)\").nullable().optional(),\n language: z.string().describe(\"Detected language of the audio (only in verbose_json)\").nullable().optional(),\n segments: z.array(OpenaiCreateAudioTranscription_TranscriptionSegmentSchema).describe(\"Array of transcription segments with timing information (only in verbose_json with segment granularity)\").nullable().optional(),\n}).passthrough().describe(\"Response model for audio transcription.\\n\\nStructure varies based on response_format:\\n- json: Contains 'text' field only\\n- verbose_json: Contains task, language, duration, text, segments, and optionally words\\n- text/srt/vtt: Returns as plain text (stored in 'text' field)\");\n\nexport const openaiCreateAudioTranscription = action(\"OPENAI_CREATE_AUDIO_TRANSCRIPTION\", {\n slug: \"openai-create-audio-transcription\",\n name: \"Create Audio Transcription\",\n description: \"Tool to transcribe audio files to text via OpenAI Audio Transcriptions API. Use when you need to convert speech in audio files to written text, optionally with timestamps or speaker diarization.\",\n input: OpenaiCreateAudioTranscriptionInput,\n output: OpenaiCreateAudioTranscriptionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CACjM,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL;CAC7M,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CACrO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC7L,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CACvM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAC3J,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAClK,iBAAiB,EAAE,KAAK;EAAC;EAAQ;EAAQ;E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C,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAUnF,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvM,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,UAAU,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oRAOhB;AACV,CAAC"}
@@ -26,7 +26,7 @@ const OpenaiCreateAudioTranslationOutput = zod.z.object({
26
26
  text: zod.z.string().describe("The translated text from the audio file in English").nullable().optional(),
27
27
  duration: zod.z.number().describe("Duration of the audio in seconds (only in verbose_json)").nullable().optional(),
28
28
  language: zod.z.string().describe("Detected language of the audio (only in verbose_json)").nullable().optional()
29
- }).describe("Response model for audio translation.\n\nStructure varies based on response_format:\n- json: Contains 'text' field only\n- verbose_json: Contains task, language, duration, and text\n- text/srt/vtt: Returns as plain text (stored in 'text' field)");
29
+ }).passthrough().describe("Response model for audio translation.\n\nStructure varies based on response_format:\n- json: Contains 'text' field only\n- verbose_json: Contains task, language, duration, and text\n- text/srt/vtt: Returns as plain text (stored in 'text' field)");
30
30
  const openaiCreateAudioTranslation = require_action.action("OPENAI_CREATE_AUDIO_TRANSLATION", {
31
31
  slug: "openai-create-audio-translation",
32
32
  name: "Create Audio Translation",
@@ -1 +1 @@
1
- {"version":3,"file":"create-audio-translation.cjs","names":["z","action"],"sources":["../../src/actions/create-audio-translation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateAudioTranslationInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Audio file to translate to English. Supported formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm. If not provided, use raw_content with raw_filename and raw_mimetype instead.\").optional(),\n model: z.string().describe(\"ID of the model to use for translation. Only 'whisper-1' (powered by Whisper V2 model) is currently available.\"),\n prompt: z.string().describe(\"Optional text to guide the model's style or continue a previous audio segment. The prompt should be in English.\").optional(),\n raw_content: z.union([z.string(), z.string()]).optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1. Higher values (e.g., 0.8) make output more random, lower values (e.g., 0.2) make it more focused and deterministic. If set to 0, the model will use log probability to automatically increase the temperature until certain thresholds are hit.\").optional(),\n raw_filename: z.string().describe(\"Filename for the inline audio content (e.g., 'audio.mp3', 'recording.wav'). Required when using raw_content.\").optional(),\n raw_mimetype: z.string().describe(\"MIME type for the inline audio content (e.g., 'audio/mpeg', 'audio/wav'). Defaults to 'audio/mpeg' if not provided.\").optional(),\n response_format: z.enum([\"json\", \"text\", \"srt\", \"vtt\", \"verbose_json\"]).describe(\"Format of the translation output. 'json' returns {text: '...'}. 'verbose_json' includes task, language, duration, and text. 'text' returns plain text. 'srt' and 'vtt' return subtitle formats. Default is 'json'.\").optional(),\n}).describe(\"Request model for creating an audio translation.\");\nexport const OpenaiCreateAudioTranslationOutput = z.object({\n task: z.string().describe(\"The task performed, typically 'translate' (only in verbose_json)\").nullable().optional(),\n text: z.string().describe(\"The translated text from the audio file in English\").nullable().optional(),\n duration: z.number().describe(\"Duration of the audio in seconds (only in verbose_json)\").nullable().optional(),\n language: z.string().describe(\"Detected language of the audio (only in verbose_json)\").nullable().optional(),\n}).describe(\"Response model for audio translation.\\n\\nStructure varies based on response_format:\\n- json: Contains 'text' field only\\n- verbose_json: Contains task, language, duration, and text\\n- text/srt/vtt: Returns as plain text (stored in 'text' field)\");\n\nexport const openaiCreateAudioTranslation = action(\"OPENAI_CREATE_AUDIO_TRANSLATION\", {\n slug: \"openai-create-audio-translation\",\n name: \"Create Audio Translation\",\n description: \"Tool to translate audio files to English text via OpenAI Audio Translations API. Use when you need to convert speech in audio files (any language) to English text.\",\n input: OpenaiCreateAudioTranslationInput,\n output: OpenaiCreateAudioTranslationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,sLAAsL,CAAC,CAAC,SAAS;CAC3M,OAAOA,IAAAA,EAAE,OAAO,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],"sources":["../../src/actions/create-audio-translation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateAudioTranslationInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Audio file to translate to English. Supported formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm. If not provided, use raw_content with raw_filename and raw_mimetype instead.\").optional(),\n model: z.string().describe(\"ID of the model to use for translation. Only 'whisper-1' (powered by Whisper V2 model) is currently available.\"),\n prompt: z.string().describe(\"Optional text to guide the model's style or continue a previous audio segment. The prompt should be in English.\").optional(),\n raw_content: z.union([z.string(), z.string()]).optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1. Higher values (e.g., 0.8) make output more random, lower values (e.g., 0.2) make it more focused and deterministic. If set to 0, the model will use log probability to automatically increase the temperature until certain thresholds are hit.\").optional(),\n raw_filename: z.string().describe(\"Filename for the inline audio content (e.g., 'audio.mp3', 'recording.wav'). Required when using raw_content.\").optional(),\n raw_mimetype: z.string().describe(\"MIME type for the inline audio content (e.g., 'audio/mpeg', 'audio/wav'). Defaults to 'audio/mpeg' if not provided.\").optional(),\n response_format: z.enum([\"json\", \"text\", \"srt\", \"vtt\", \"verbose_json\"]).describe(\"Format of the translation output. 'json' returns {text: '...'}. 'verbose_json' includes task, language, duration, and text. 'text' returns plain text. 'srt' and 'vtt' return subtitle formats. Default is 'json'.\").optional(),\n}).describe(\"Request model for creating an audio translation.\");\nexport const OpenaiCreateAudioTranslationOutput = z.object({\n task: z.string().describe(\"The task performed, typically 'translate' (only in verbose_json)\").nullable().optional(),\n text: z.string().describe(\"The translated text from the audio file in English\").nullable().optional(),\n duration: z.number().describe(\"Duration of the audio in seconds (only in verbose_json)\").nullable().optional(),\n language: z.string().describe(\"Detected language of the audio (only in verbose_json)\").nullable().optional(),\n}).passthrough().describe(\"Response model for audio translation.\\n\\nStructure varies based on response_format:\\n- json: Contains 'text' field only\\n- verbose_json: Contains task, language, duration, and text\\n- text/srt/vtt: Returns as plain text (stored in 'text' field)\");\n\nexport const openaiCreateAudioTranslation = action(\"OPENAI_CREATE_AUDIO_TRANSLATION\", {\n slug: \"openai-create-audio-translation\",\n name: \"Create Audio Translation\",\n description: \"Tool to translate audio files to English text via OpenAI Audio Translations API. Use when you need to convert speech in audio files (any language) to English text.\",\n input: OpenaiCreateAudioTranslationInput,\n output: OpenaiCreateAudioTranslationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,sLAAsL,CAAC,CAAC,SAAS;CAC3M,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;CAC3I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACxJ,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uRAAuR,CAAC,CAAC,SAAS;CACnU,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAC3J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAClK,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;EAAO;CAAc,CAAC,CAAC,CAAC,SAAS,oNAAoN,CAAC,CAAC,SAAS;AAClT,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sPAAsP;AAEhR,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -26,7 +26,7 @@ declare const OpenaiCreateAudioTranslationOutput: z.ZodObject<{
26
26
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
28
  language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, z.core.$strip>;
29
+ }, z.core.$loose>;
30
30
  declare const openaiCreateAudioTranslation: import("@keystrokehq/action").WorkflowActionDefinition<{
31
31
  model: string;
32
32
  file?: {
@@ -26,7 +26,7 @@ declare const OpenaiCreateAudioTranslationOutput: z.ZodObject<{
26
26
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
28
  language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, z.core.$strip>;
29
+ }, z.core.$loose>;
30
30
  declare const openaiCreateAudioTranslation: import("@keystrokehq/action").WorkflowActionDefinition<{
31
31
  model: string;
32
32
  file?: {
@@ -29,7 +29,7 @@ const openaiCreateAudioTranslation = action("OPENAI_CREATE_AUDIO_TRANSLATION", {
29
29
  text: z.string().describe("The translated text from the audio file in English").nullable().optional(),
30
30
  duration: z.number().describe("Duration of the audio in seconds (only in verbose_json)").nullable().optional(),
31
31
  language: z.string().describe("Detected language of the audio (only in verbose_json)").nullable().optional()
32
- }).describe("Response model for audio translation.\n\nStructure varies based on response_format:\n- json: Contains 'text' field only\n- verbose_json: Contains task, language, duration, and text\n- text/srt/vtt: Returns as plain text (stored in 'text' field)")
32
+ }).passthrough().describe("Response model for audio translation.\n\nStructure varies based on response_format:\n- json: Contains 'text' field only\n- verbose_json: Contains task, language, duration, and text\n- text/srt/vtt: Returns as plain text (stored in 'text' field)")
33
33
  });
34
34
  //#endregion
35
35
  export { openaiCreateAudioTranslation };
@@ -1 +1 @@
1
- {"version":3,"file":"create-audio-translation.mjs","names":[],"sources":["../../src/actions/create-audio-translation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateAudioTranslationInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Audio file to translate to English. Supported formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm. If not provided, use raw_content with raw_filename and raw_mimetype instead.\").optional(),\n model: z.string().describe(\"ID of the model to use for translation. Only 'whisper-1' (powered by Whisper V2 model) is currently available.\"),\n prompt: z.string().describe(\"Optional text to guide the model's style or continue a previous audio segment. The prompt should be in English.\").optional(),\n raw_content: z.union([z.string(), z.string()]).optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1. Higher values (e.g., 0.8) make output more random, lower values (e.g., 0.2) make it more focused and deterministic. If set to 0, the model will use log probability to automatically increase the temperature until certain thresholds are hit.\").optional(),\n raw_filename: z.string().describe(\"Filename for the inline audio content (e.g., 'audio.mp3', 'recording.wav'). Required when using raw_content.\").optional(),\n raw_mimetype: z.string().describe(\"MIME type for the inline audio content (e.g., 'audio/mpeg', 'audio/wav'). Defaults to 'audio/mpeg' if not provided.\").optional(),\n response_format: z.enum([\"json\", \"text\", \"srt\", \"vtt\", \"verbose_json\"]).describe(\"Format of the translation output. 'json' returns {text: '...'}. 'verbose_json' includes task, language, duration, and text. 'text' returns plain text. 'srt' and 'vtt' return subtitle formats. Default is 'json'.\").optional(),\n}).describe(\"Request model for creating an audio translation.\");\nexport const OpenaiCreateAudioTranslationOutput = z.object({\n task: z.string().describe(\"The task performed, typically 'translate' (only in verbose_json)\").nullable().optional(),\n text: z.string().describe(\"The translated text from the audio file in English\").nullable().optional(),\n duration: z.number().describe(\"Duration of the audio in seconds (only in verbose_json)\").nullable().optional(),\n language: z.string().describe(\"Detected language of the audio (only in verbose_json)\").nullable().optional(),\n}).describe(\"Response model for audio translation.\\n\\nStructure varies based on response_format:\\n- json: Contains 'text' field only\\n- verbose_json: Contains task, language, duration, and text\\n- text/srt/vtt: Returns as plain text (stored in 'text' field)\");\n\nexport const openaiCreateAudioTranslation = action(\"OPENAI_CREATE_AUDIO_TRANSLATION\", {\n slug: \"openai-create-audio-translation\",\n name: \"Create Audio Translation\",\n description: \"Tool to translate audio files to English text via OpenAI Audio Translations API. Use when you need to convert speech in audio files (any language) to English text.\",\n input: OpenaiCreateAudioTranslationInput,\n output: OpenaiCreateAudioTranslationOutput,\n});\n"],"mappings":";;AAyBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,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ions/create-audio-translation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateAudioTranslationInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Audio file to translate to English. Supported formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm. If not provided, use raw_content with raw_filename and raw_mimetype instead.\").optional(),\n model: z.string().describe(\"ID of the model to use for translation. Only 'whisper-1' (powered by Whisper V2 model) is currently available.\"),\n prompt: z.string().describe(\"Optional text to guide the model's style or continue a previous audio segment. The prompt should be in English.\").optional(),\n raw_content: z.union([z.string(), z.string()]).optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1. Higher values (e.g., 0.8) make output more random, lower values (e.g., 0.2) make it more focused and deterministic. If set to 0, the model will use log probability to automatically increase the temperature until certain thresholds are hit.\").optional(),\n raw_filename: z.string().describe(\"Filename for the inline audio content (e.g., 'audio.mp3', 'recording.wav'). Required when using raw_content.\").optional(),\n raw_mimetype: z.string().describe(\"MIME type for the inline audio content (e.g., 'audio/mpeg', 'audio/wav'). Defaults to 'audio/mpeg' if not provided.\").optional(),\n response_format: z.enum([\"json\", \"text\", \"srt\", \"vtt\", \"verbose_json\"]).describe(\"Format of the translation output. 'json' returns {text: '...'}. 'verbose_json' includes task, language, duration, and text. 'text' returns plain text. 'srt' and 'vtt' return subtitle formats. Default is 'json'.\").optional(),\n}).describe(\"Request model for creating an audio translation.\");\nexport const OpenaiCreateAudioTranslationOutput = z.object({\n task: z.string().describe(\"The task performed, typically 'translate' (only in verbose_json)\").nullable().optional(),\n text: z.string().describe(\"The translated text from the audio file in English\").nullable().optional(),\n duration: z.number().describe(\"Duration of the audio in seconds (only in verbose_json)\").nullable().optional(),\n language: z.string().describe(\"Detected language of the audio (only in verbose_json)\").nullable().optional(),\n}).passthrough().describe(\"Response model for audio translation.\\n\\nStructure varies based on response_format:\\n- json: Contains 'text' field only\\n- verbose_json: Contains task, language, duration, and text\\n- text/srt/vtt: Returns as plain text (stored in 'text' field)\");\n\nexport const openaiCreateAudioTranslation = action(\"OPENAI_CREATE_AUDIO_TRANSLATION\", {\n slug: \"openai-create-audio-translation\",\n name: \"Create Audio Translation\",\n description: \"Tool to translate audio files to English text via OpenAI Audio Translations API. Use when you need to convert speech in audio files (any language) to English text.\",\n input: OpenaiCreateAudioTranslationInput,\n output: OpenaiCreateAudioTranslationOutput,\n});\n"],"mappings":";;AAyBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,sLAAsL,CAAC,CAAC,SAAS;EAC3M,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;EAC3I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EACxJ,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;EACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uRAAuR,CAAC,CAAC,SAAS;EACnU,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EAC3J,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAClK,iBAAiB,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAO;GAAO;EAAc,CAAC,CAAC,CAAC,SAAS,oNAAoN,CAAC,CAAC,SAAS;CAClT,CAAC,CAAC,CAAC,SAAS,kDAYH;CACP,QAZgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sPAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const OpenaiCreateBatchInput = zod.z.object({
11
11
  "/v1/images/generations",
12
12
  "/v1/images/edits"
13
13
  ]).describe("The endpoint to be used for all requests in the batch. Supported endpoints include /v1/responses, /v1/chat/completions, /v1/embeddings, /v1/completions, /v1/moderations, /v1/images/generations, and /v1/images/edits. Note that /v1/embeddings batches are restricted to a maximum of 50,000 embedding inputs across all requests."),
14
- metadata: zod.z.object({}).describe("Optional custom metadata for the batch. All values must be strings.").optional(),
14
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional custom metadata for the batch. All values must be strings.").optional(),
15
15
  input_file_id: zod.z.string().describe("ID of an uploaded file containing requests for the batch. The file must be formatted as JSONL and uploaded with purpose 'batch'. Can contain up to 50,000 requests and be up to 200 MB in size."),
16
16
  completion_window: zod.z.enum(["24h"]).describe("Time frame within which the batch should be processed. Currently only '24h' is supported."),
17
17
  output_expires_after: zod.z.object({
@@ -19,20 +19,20 @@ const OpenaiCreateBatchInput = zod.z.object({
19
19
  seconds: zod.z.number().int().describe("Number of seconds after the anchor time that the file will expire. Must be between 3600 (1 hour) and 2592000 (30 days).")
20
20
  }).describe("Expiration policy for batch output and error files.").optional()
21
21
  }).describe("Request parameters for creating a batch.");
22
- const OpenaiCreateBatch_InputTokensDetailsSchema = zod.z.object({ cached_tokens: zod.z.number().int().describe("Number of cached input tokens.").nullable() }).describe("Detailed breakdown of input tokens.");
23
- const OpenaiCreateBatch_OutputTokensDetailsSchema = zod.z.object({ reasoning_tokens: zod.z.number().int().describe("Number of reasoning tokens used.").nullable() }).describe("Detailed breakdown of output tokens.");
22
+ const OpenaiCreateBatch_InputTokensDetailsSchema = zod.z.object({ cached_tokens: zod.z.number().int().describe("Number of cached input tokens.").nullable() }).passthrough().describe("Detailed breakdown of input tokens.");
23
+ const OpenaiCreateBatch_OutputTokensDetailsSchema = zod.z.object({ reasoning_tokens: zod.z.number().int().describe("Number of reasoning tokens used.").nullable() }).passthrough().describe("Detailed breakdown of output tokens.");
24
24
  const OpenaiCreateBatch_BatchUsageSchema = zod.z.object({
25
25
  input_tokens: zod.z.number().int().describe("The number of input tokens.").nullable(),
26
26
  total_tokens: zod.z.number().int().describe("The total number of tokens used.").nullable(),
27
27
  output_tokens: zod.z.number().int().describe("The number of output tokens.").nullable(),
28
28
  input_tokens_details: OpenaiCreateBatch_InputTokensDetailsSchema.nullable(),
29
29
  output_tokens_details: OpenaiCreateBatch_OutputTokensDetailsSchema.nullable()
30
- }).describe("Token usage details for the batch.");
31
- const OpenaiCreateBatch_ErrorDataSchema = zod.z.object({ object: zod.z.string().describe("Object type.").nullable().optional() }).describe("Individual error in batch processing.");
30
+ }).passthrough().describe("Token usage details for the batch.");
31
+ const OpenaiCreateBatch_ErrorDataSchema = zod.z.object({ object: zod.z.string().describe("Object type.").nullable().optional() }).passthrough().describe("Individual error in batch processing.");
32
32
  const OpenaiCreateBatch_BatchErrorsSchema = zod.z.object({
33
33
  data: zod.z.array(OpenaiCreateBatch_ErrorDataSchema).describe("List of error objects.").nullable().optional(),
34
34
  object: zod.z.string().describe("The object type, which is always 'list'.").nullable().optional()
35
- }).describe("Errors that occurred during batch processing.");
35
+ }).passthrough().describe("Errors that occurred during batch processing.");
36
36
  const OpenaiCreateBatch_BatchStatusSchema = zod.z.enum([
37
37
  "validating",
38
38
  "failed",
@@ -47,7 +47,7 @@ const OpenaiCreateBatch_RequestCountsSchema = zod.z.object({
47
47
  total: zod.z.number().int().describe("Total number of requests in the batch.").nullable(),
48
48
  failed: zod.z.number().int().describe("Number of requests that have failed.").nullable(),
49
49
  completed: zod.z.number().int().describe("Number of requests that have been completed successfully.").nullable()
50
- }).describe("Request counts for different statuses within the batch.");
50
+ }).passthrough().describe("Request counts for different statuses within the batch.");
51
51
  const OpenaiCreateBatchOutput = zod.z.object({
52
52
  id: zod.z.string().describe("Unique identifier for the batch.").nullable(),
53
53
  model: zod.z.string().describe("Model ID used to process the batch, like 'gpt-5-2025-08-07'.").nullable().optional(),
@@ -56,7 +56,7 @@ const OpenaiCreateBatchOutput = zod.z.object({
56
56
  object: zod.z.string().describe("The object type, which is always 'batch'.").nullable(),
57
57
  status: OpenaiCreateBatch_BatchStatusSchema.nullable(),
58
58
  endpoint: zod.z.string().describe("The OpenAI API endpoint used by the batch.").nullable(),
59
- metadata: zod.z.object({}).describe("Custom metadata attached to the batch.").nullable().optional(),
59
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata attached to the batch.").nullable().optional(),
60
60
  failed_at: zod.z.number().int().describe("Unix timestamp (in seconds) for when the batch failed.").nullable().optional(),
61
61
  created_at: zod.z.number().int().describe("Unix timestamp (in seconds) for when the batch was created.").nullable(),
62
62
  expired_at: zod.z.number().int().describe("Unix timestamp (in seconds) for when the batch expired.").nullable().optional(),
@@ -71,7 +71,7 @@ const OpenaiCreateBatchOutput = zod.z.object({
71
71
  output_file_id: zod.z.string().describe("The ID of the file containing the outputs of successfully executed requests.").nullable().optional(),
72
72
  request_counts: OpenaiCreateBatch_RequestCountsSchema.nullable().optional(),
73
73
  completion_window: zod.z.string().describe("The time frame within which the batch should be processed.").nullable()
74
- }).describe("Response schema for batch creation.");
74
+ }).passthrough().describe("Response schema for batch creation.");
75
75
  const openaiCreateBatch = require_action.action("OPENAI_CREATE_BATCH", {
76
76
  slug: "openai-create-batch",
77
77
  name: "Create Batch",
@@ -1 +1 @@
1
- {"version":3,"file":"create-batch.cjs","names":["z","action"],"sources":["../../src/actions/create-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateBatchInput = z.object({\n endpoint: z.enum([\"/v1/responses\", \"/v1/chat/completions\", \"/v1/embeddings\", \"/v1/completions\", \"/v1/moderations\", \"/v1/images/generations\", \"/v1/images/edits\"]).describe(\"The endpoint to be used for all requests in the batch. Supported endpoints include /v1/responses, /v1/chat/completions, /v1/embeddings, /v1/completions, /v1/moderations, /v1/images/generations, and /v1/images/edits. Note that /v1/embeddings batches are restricted to a maximum of 50,000 embedding inputs across all requests.\"),\n metadata: z.object({}).describe(\"Optional custom metadata for the batch. All values must be strings.\").optional(),\n input_file_id: z.string().describe(\"ID of an uploaded file containing requests for the batch. The file must be formatted as JSONL and uploaded with purpose 'batch'. Can contain up to 50,000 requests and be up to 200 MB in size.\"),\n completion_window: z.enum([\"24h\"]).describe(\"Time frame within which the batch should be processed. Currently only '24h' is supported.\"),\n output_expires_after: z.object({\n anchor: z.enum([\"created_at\"]).describe(\"Anchor timestamp after which the expiration policy applies. Currently only 'created_at' is supported.\"),\n seconds: z.number().int().describe(\"Number of seconds after the anchor time that the file will expire. Must be between 3600 (1 hour) and 2592000 (30 days).\"),\n}).describe(\"Expiration policy for batch output and error files.\").optional(),\n}).describe(\"Request parameters for creating a batch.\");\nconst OpenaiCreateBatch_InputTokensDetailsSchema = z.object({\n cached_tokens: z.number().int().describe(\"Number of cached input tokens.\").nullable(),\n}).describe(\"Detailed breakdown of input tokens.\");\nconst OpenaiCreateBatch_OutputTokensDetailsSchema = z.object({\n reasoning_tokens: z.number().int().describe(\"Number of reasoning tokens used.\").nullable(),\n}).describe(\"Detailed breakdown of output tokens.\");\nconst OpenaiCreateBatch_BatchUsageSchema = z.object({\n input_tokens: z.number().int().describe(\"The number of input tokens.\").nullable(),\n total_tokens: z.number().int().describe(\"The total number of tokens used.\").nullable(),\n output_tokens: z.number().int().describe(\"The number of output tokens.\").nullable(),\n input_tokens_details: OpenaiCreateBatch_InputTokensDetailsSchema.nullable(),\n output_tokens_details: OpenaiCreateBatch_OutputTokensDetailsSchema.nullable(),\n}).describe(\"Token usage details for the batch.\");\nconst OpenaiCreateBatch_ErrorDataSchema = z.object({\n object: z.string().describe(\"Object type.\").nullable().optional(),\n}).describe(\"Individual error in batch processing.\");\nconst OpenaiCreateBatch_BatchErrorsSchema = z.object({\n data: z.array(OpenaiCreateBatch_ErrorDataSchema).describe(\"List of error objects.\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'list'.\").nullable().optional(),\n}).describe(\"Errors that occurred during batch processing.\");\nconst OpenaiCreateBatch_BatchStatusSchema = z.enum([\"validating\", \"failed\", \"in_progress\", \"finalizing\", \"completed\", \"expired\", \"cancelling\", \"cancelled\"]).describe(\"Status values for batch processing.\");\nconst OpenaiCreateBatch_RequestCountsSchema = z.object({\n total: z.number().int().describe(\"Total number of requests in the batch.\").nullable(),\n failed: z.number().int().describe(\"Number of requests that have failed.\").nullable(),\n completed: z.number().int().describe(\"Number of requests that have been completed successfully.\").nullable(),\n}).describe(\"Request counts for different statuses within the batch.\");\nexport const OpenaiCreateBatchOutput = z.object({\n id: z.string().describe(\"Unique identifier for the batch.\").nullable(),\n model: z.string().describe(\"Model ID used to process the batch, like 'gpt-5-2025-08-07'.\").nullable().optional(),\n usage: OpenaiCreateBatch_BatchUsageSchema.nullable().optional(),\n errors: OpenaiCreateBatch_BatchErrorsSchema.nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'batch'.\").nullable(),\n status: OpenaiCreateBatch_BatchStatusSchema.nullable(),\n endpoint: z.string().describe(\"The OpenAI API endpoint used by the batch.\").nullable(),\n metadata: z.object({}).describe(\"Custom metadata attached to the batch.\").nullable().optional(),\n failed_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch failed.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch was created.\").nullable(),\n expired_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch expired.\").nullable().optional(),\n expires_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch will expire.\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch was cancelled.\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch was completed.\").nullable().optional(),\n cancelling_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch started cancelling.\").nullable().optional(),\n error_file_id: z.string().describe(\"The ID of the file containing the outputs of requests with errors.\").nullable().optional(),\n finalizing_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch started finalizing.\").nullable().optional(),\n input_file_id: z.string().describe(\"The ID of the input file for the batch.\").nullable(),\n in_progress_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch started processing.\").nullable().optional(),\n output_file_id: z.string().describe(\"The ID of the file containing the outputs of successfully executed requests.\").nullable().optional(),\n request_counts: OpenaiCreateBatch_RequestCountsSchema.nullable().optional(),\n completion_window: z.string().describe(\"The time frame within which the batch should be processed.\").nullable(),\n}).describe(\"Response schema for batch creation.\");\n\nexport const openaiCreateBatch = action(\"OPENAI_CREATE_BATCH\", {\n slug: \"openai-create-batch\",\n name: \"Create Batch\",\n description: \"Tool to create and execute a batch from an uploaded file of requests. Use after uploading a JSONL file with purpose 'batch' to process multiple API requests in a single batch operation.\",\n input: OpenaiCreateBatchInput,\n output: OpenaiCreateBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAwB;EAAkB;EAAmB;EAAmB;EAA0B;CAAkB,CAAC,CAAC,CAAC,SAAS,sUAAs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AAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,gBAAgB,sCAAsC,SAAS,CAAC,CAAC,SAAS;CAC1E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-batch.cjs","names":["z","action"],"sources":["../../src/actions/create-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateBatchInput = z.object({\n endpoint: z.enum([\"/v1/responses\", \"/v1/chat/completions\", \"/v1/embeddings\", \"/v1/completions\", \"/v1/moderations\", \"/v1/images/generations\", \"/v1/images/edits\"]).describe(\"The endpoint to be used for all requests in the batch. Supported endpoints include /v1/responses, /v1/chat/completions, /v1/embeddings, /v1/completions, /v1/moderations, /v1/images/generations, and /v1/images/edits. Note that /v1/embeddings batches are restricted to a maximum of 50,000 embedding inputs across all requests.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional custom metadata for the batch. All values must be strings.\").optional(),\n input_file_id: z.string().describe(\"ID of an uploaded file containing requests for the batch. The file must be formatted as JSONL and uploaded with purpose 'batch'. Can contain up to 50,000 requests and be up to 200 MB in size.\"),\n completion_window: z.enum([\"24h\"]).describe(\"Time frame within which the batch should be processed. Currently only '24h' is supported.\"),\n output_expires_after: z.object({\n anchor: z.enum([\"created_at\"]).describe(\"Anchor timestamp after which the expiration policy applies. Currently only 'created_at' is supported.\"),\n seconds: z.number().int().describe(\"Number of seconds after the anchor time that the file will expire. Must be between 3600 (1 hour) and 2592000 (30 days).\"),\n}).describe(\"Expiration policy for batch output and error files.\").optional(),\n}).describe(\"Request parameters for creating a batch.\");\nconst OpenaiCreateBatch_InputTokensDetailsSchema = z.object({\n cached_tokens: z.number().int().describe(\"Number of cached input tokens.\").nullable(),\n}).passthrough().describe(\"Detailed breakdown of input tokens.\");\nconst OpenaiCreateBatch_OutputTokensDetailsSchema = z.object({\n reasoning_tokens: z.number().int().describe(\"Number of reasoning tokens used.\").nullable(),\n}).passthrough().describe(\"Detailed breakdown of output tokens.\");\nconst OpenaiCreateBatch_BatchUsageSchema = z.object({\n input_tokens: z.number().int().describe(\"The number of input tokens.\").nullable(),\n total_tokens: z.number().int().describe(\"The total number of tokens used.\").nullable(),\n output_tokens: z.number().int().describe(\"The number of output tokens.\").nullable(),\n input_tokens_details: OpenaiCreateBatch_InputTokensDetailsSchema.nullable(),\n output_tokens_details: OpenaiCreateBatch_OutputTokensDetailsSchema.nullable(),\n}).passthrough().describe(\"Token usage details for the batch.\");\nconst OpenaiCreateBatch_ErrorDataSchema = z.object({\n object: z.string().describe(\"Object type.\").nullable().optional(),\n}).passthrough().describe(\"Individual error in batch processing.\");\nconst OpenaiCreateBatch_BatchErrorsSchema = z.object({\n data: z.array(OpenaiCreateBatch_ErrorDataSchema).describe(\"List of error objects.\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'list'.\").nullable().optional(),\n}).passthrough().describe(\"Errors that occurred during batch processing.\");\nconst OpenaiCreateBatch_BatchStatusSchema = z.enum([\"validating\", \"failed\", \"in_progress\", \"finalizing\", \"completed\", \"expired\", \"cancelling\", \"cancelled\"]).describe(\"Status values for batch processing.\");\nconst OpenaiCreateBatch_RequestCountsSchema = z.object({\n total: z.number().int().describe(\"Total number of requests in the batch.\").nullable(),\n failed: z.number().int().describe(\"Number of requests that have failed.\").nullable(),\n completed: z.number().int().describe(\"Number of requests that have been completed successfully.\").nullable(),\n}).passthrough().describe(\"Request counts for different statuses within the batch.\");\nexport const OpenaiCreateBatchOutput = z.object({\n id: z.string().describe(\"Unique identifier for the batch.\").nullable(),\n model: z.string().describe(\"Model ID used to process the batch, like 'gpt-5-2025-08-07'.\").nullable().optional(),\n usage: OpenaiCreateBatch_BatchUsageSchema.nullable().optional(),\n errors: OpenaiCreateBatch_BatchErrorsSchema.nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'batch'.\").nullable(),\n status: OpenaiCreateBatch_BatchStatusSchema.nullable(),\n endpoint: z.string().describe(\"The OpenAI API endpoint used by the batch.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata attached to the batch.\").nullable().optional(),\n failed_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch failed.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch was created.\").nullable(),\n expired_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch expired.\").nullable().optional(),\n expires_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch will expire.\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch was cancelled.\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch was completed.\").nullable().optional(),\n cancelling_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch started cancelling.\").nullable().optional(),\n error_file_id: z.string().describe(\"The ID of the file containing the outputs of requests with errors.\").nullable().optional(),\n finalizing_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch started finalizing.\").nullable().optional(),\n input_file_id: z.string().describe(\"The ID of the input file for the batch.\").nullable(),\n in_progress_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the batch started processing.\").nullable().optional(),\n output_file_id: z.string().describe(\"The ID of the file containing the outputs of successfully executed requests.\").nullable().optional(),\n request_counts: OpenaiCreateBatch_RequestCountsSchema.nullable().optional(),\n completion_window: z.string().describe(\"The time frame within which the batch should be processed.\").nullable(),\n}).passthrough().describe(\"Response schema for batch creation.\");\n\nexport const openaiCreateBatch = action(\"OPENAI_CREATE_BATCH\", {\n slug: \"openai-create-batch\",\n name: \"Create Batch\",\n description: \"Tool to create and execute a batch from an uploaded file of requests. Use after uploading a JSONL file with purpose 'batch' to process multiple API requests in a single batch operation.\",\n input: OpenaiCreateBatchInput,\n output: OpenaiCreateBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAwB;EAAkB;EAAmB;EAAmB;EAA0B;CAAkB,CAAC,CAAC,CAAC,SAAS,sUAAsU;CACjf,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACrI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iMAAiM;CACpO,mBAAmBA,IAAAA,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,2FAA2F;CACvI,sBAAsBA,IAAAA,EAAE,OAAO;EAC/B,QAAQA,IAAAA,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,uGAAuG;EAC/I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yHAAyH;CAC9J,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO,EAC1D,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SAAS;CACxI,gBAAgB,sCAAsC,SAAS,CAAC,CAAC,SAAS;CAC1E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,7 +11,7 @@ declare const OpenaiCreateBatchInput: z.ZodObject<{
11
11
  "/v1/images/generations": "/v1/images/generations";
12
12
  "/v1/images/edits": "/v1/images/edits";
13
13
  }>;
14
- metadata: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
14
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15
15
  input_file_id: z.ZodString;
16
16
  completion_window: z.ZodEnum<{
17
17
  "24h": "24h";
@@ -32,30 +32,30 @@ declare const OpenaiCreateBatchOutput: z.ZodObject<{
32
32
  output_tokens: z.ZodNullable<z.ZodNumber>;
33
33
  input_tokens_details: z.ZodNullable<z.ZodObject<{
34
34
  cached_tokens: z.ZodNullable<z.ZodNumber>;
35
- }, z.core.$strip>>;
35
+ }, z.core.$loose>>;
36
36
  output_tokens_details: z.ZodNullable<z.ZodObject<{
37
37
  reasoning_tokens: z.ZodNullable<z.ZodNumber>;
38
- }, z.core.$strip>>;
39
- }, z.core.$strip>>>;
38
+ }, z.core.$loose>>;
39
+ }, z.core.$loose>>>;
40
40
  errors: z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
41
  data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
42
42
  object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
- }, z.core.$strip>>>>;
43
+ }, z.core.$loose>>>>;
44
44
  object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
- }, z.core.$strip>>>;
45
+ }, z.core.$loose>>>;
46
46
  object: z.ZodNullable<z.ZodString>;
47
47
  status: z.ZodNullable<z.ZodEnum<{
48
+ validating: "validating";
48
49
  failed: "failed";
49
50
  in_progress: "in_progress";
50
- cancelling: "cancelling";
51
- cancelled: "cancelled";
51
+ finalizing: "finalizing";
52
52
  completed: "completed";
53
53
  expired: "expired";
54
- validating: "validating";
55
- finalizing: "finalizing";
54
+ cancelling: "cancelling";
55
+ cancelled: "cancelled";
56
56
  }>>;
57
57
  endpoint: z.ZodNullable<z.ZodString>;
58
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
58
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
59
59
  failed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
60
60
  created_at: z.ZodNullable<z.ZodNumber>;
61
61
  expired_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -72,14 +72,14 @@ declare const OpenaiCreateBatchOutput: z.ZodObject<{
72
72
  total: z.ZodNullable<z.ZodNumber>;
73
73
  failed: z.ZodNullable<z.ZodNumber>;
74
74
  completed: z.ZodNullable<z.ZodNumber>;
75
- }, z.core.$strip>>>;
75
+ }, z.core.$loose>>>;
76
76
  completion_window: z.ZodNullable<z.ZodString>;
77
- }, z.core.$strip>;
77
+ }, z.core.$loose>;
78
78
  declare const openaiCreateBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
79
79
  endpoint: "/v1/responses" | "/v1/chat/completions" | "/v1/embeddings" | "/v1/completions" | "/v1/moderations" | "/v1/images/generations" | "/v1/images/edits";
80
80
  input_file_id: string;
81
81
  completion_window: "24h";
82
- metadata?: Record<string, never> | undefined;
82
+ metadata?: Record<string, unknown> | undefined;
83
83
  output_expires_after?: {
84
84
  anchor: "created_at";
85
85
  seconds: number;