transloadit 4.7.6 → 4.8.1

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 (518) hide show
  1. package/README.md +97 -22
  2. package/dist/alphalib/assembly-linter.js +1 -1
  3. package/dist/alphalib/assembly-linter.js.map +1 -1
  4. package/dist/alphalib/stepParsing.js +2 -2
  5. package/dist/alphalib/stepParsing.js.map +1 -1
  6. package/dist/alphalib/types/assemblyReplay.d.ts +2 -7860
  7. package/dist/alphalib/types/assemblyReplay.d.ts.map +1 -1
  8. package/dist/alphalib/types/assemblyReplayNotification.d.ts +2 -7860
  9. package/dist/alphalib/types/assemblyReplayNotification.d.ts.map +1 -1
  10. package/dist/alphalib/types/assemblyStatus.d.ts +4807 -298
  11. package/dist/alphalib/types/assemblyStatus.d.ts.map +1 -1
  12. package/dist/alphalib/types/assemblyStatus.js +36 -1
  13. package/dist/alphalib/types/assemblyStatus.js.map +1 -1
  14. package/dist/alphalib/types/robots/_index.d.ts +903 -72620
  15. package/dist/alphalib/types/robots/_index.d.ts.map +1 -1
  16. package/dist/alphalib/types/robots/_index.js +62 -11
  17. package/dist/alphalib/types/robots/_index.js.map +1 -1
  18. package/dist/alphalib/types/robots/_instructions-primitives.d.ts +41 -10
  19. package/dist/alphalib/types/robots/_instructions-primitives.d.ts.map +1 -1
  20. package/dist/alphalib/types/robots/_instructions-primitives.js +89 -3
  21. package/dist/alphalib/types/robots/_instructions-primitives.js.map +1 -1
  22. package/dist/alphalib/types/robots/ai-chat.d.ts +33 -0
  23. package/dist/alphalib/types/robots/ai-chat.d.ts.map +1 -1
  24. package/dist/alphalib/types/robots/ai-chat.js +28 -5
  25. package/dist/alphalib/types/robots/ai-chat.js.map +1 -1
  26. package/dist/alphalib/types/robots/assembly-savejson.d.ts.map +1 -1
  27. package/dist/alphalib/types/robots/assembly-savejson.js +8 -0
  28. package/dist/alphalib/types/robots/assembly-savejson.js.map +1 -1
  29. package/dist/alphalib/types/robots/audio-artwork.d.ts.map +1 -1
  30. package/dist/alphalib/types/robots/audio-artwork.js +4 -5
  31. package/dist/alphalib/types/robots/audio-artwork.js.map +1 -1
  32. package/dist/alphalib/types/robots/audio-concat.d.ts.map +1 -1
  33. package/dist/alphalib/types/robots/audio-concat.js +1 -2
  34. package/dist/alphalib/types/robots/audio-concat.js.map +1 -1
  35. package/dist/alphalib/types/robots/audio-encode.d.ts.map +1 -1
  36. package/dist/alphalib/types/robots/audio-encode.js +1 -2
  37. package/dist/alphalib/types/robots/audio-encode.js.map +1 -1
  38. package/dist/alphalib/types/robots/audio-loop.d.ts.map +1 -1
  39. package/dist/alphalib/types/robots/audio-loop.js +1 -2
  40. package/dist/alphalib/types/robots/audio-loop.js.map +1 -1
  41. package/dist/alphalib/types/robots/audio-merge.d.ts.map +1 -1
  42. package/dist/alphalib/types/robots/audio-merge.js +1 -2
  43. package/dist/alphalib/types/robots/audio-merge.js.map +1 -1
  44. package/dist/alphalib/types/robots/audio-split.d.ts +2936 -0
  45. package/dist/alphalib/types/robots/audio-split.d.ts.map +1 -0
  46. package/dist/alphalib/types/robots/audio-split.js +88 -0
  47. package/dist/alphalib/types/robots/audio-split.js.map +1 -0
  48. package/dist/alphalib/types/robots/audio-waveform.d.ts +92 -6
  49. package/dist/alphalib/types/robots/audio-waveform.d.ts.map +1 -1
  50. package/dist/alphalib/types/robots/audio-waveform.js +72 -6
  51. package/dist/alphalib/types/robots/audio-waveform.js.map +1 -1
  52. package/dist/alphalib/types/robots/azure-import.d.ts.map +1 -1
  53. package/dist/alphalib/types/robots/azure-import.js +0 -1
  54. package/dist/alphalib/types/robots/azure-import.js.map +1 -1
  55. package/dist/alphalib/types/robots/azure-store.d.ts.map +1 -1
  56. package/dist/alphalib/types/robots/azure-store.js +0 -1
  57. package/dist/alphalib/types/robots/azure-store.js.map +1 -1
  58. package/dist/alphalib/types/robots/backblaze-import.d.ts.map +1 -1
  59. package/dist/alphalib/types/robots/backblaze-import.js +0 -1
  60. package/dist/alphalib/types/robots/backblaze-import.js.map +1 -1
  61. package/dist/alphalib/types/robots/backblaze-store.d.ts.map +1 -1
  62. package/dist/alphalib/types/robots/backblaze-store.js +0 -1
  63. package/dist/alphalib/types/robots/backblaze-store.js.map +1 -1
  64. package/dist/alphalib/types/robots/box-import.d.ts +150 -0
  65. package/dist/alphalib/types/robots/box-import.d.ts.map +1 -0
  66. package/dist/alphalib/types/robots/box-import.js +63 -0
  67. package/dist/alphalib/types/robots/box-import.js.map +1 -0
  68. package/dist/alphalib/types/robots/box-store.d.ts +455 -0
  69. package/dist/alphalib/types/robots/box-store.d.ts.map +1 -0
  70. package/dist/alphalib/types/robots/box-store.js +66 -0
  71. package/dist/alphalib/types/robots/box-store.js.map +1 -0
  72. package/dist/alphalib/types/robots/cloudfiles-import.d.ts.map +1 -1
  73. package/dist/alphalib/types/robots/cloudfiles-import.js +0 -1
  74. package/dist/alphalib/types/robots/cloudfiles-import.js.map +1 -1
  75. package/dist/alphalib/types/robots/cloudfiles-store.d.ts.map +1 -1
  76. package/dist/alphalib/types/robots/cloudfiles-store.js +0 -1
  77. package/dist/alphalib/types/robots/cloudfiles-store.js.map +1 -1
  78. package/dist/alphalib/types/robots/cloudflare-import.d.ts.map +1 -1
  79. package/dist/alphalib/types/robots/cloudflare-import.js +0 -1
  80. package/dist/alphalib/types/robots/cloudflare-import.js.map +1 -1
  81. package/dist/alphalib/types/robots/cloudflare-store.d.ts.map +1 -1
  82. package/dist/alphalib/types/robots/cloudflare-store.js +0 -1
  83. package/dist/alphalib/types/robots/cloudflare-store.js.map +1 -1
  84. package/dist/alphalib/types/robots/digitalocean-import.d.ts.map +1 -1
  85. package/dist/alphalib/types/robots/digitalocean-import.js +0 -1
  86. package/dist/alphalib/types/robots/digitalocean-import.js.map +1 -1
  87. package/dist/alphalib/types/robots/digitalocean-store.d.ts.map +1 -1
  88. package/dist/alphalib/types/robots/digitalocean-store.js +0 -1
  89. package/dist/alphalib/types/robots/digitalocean-store.js.map +1 -1
  90. package/dist/alphalib/types/robots/document-autorotate.d.ts.map +1 -1
  91. package/dist/alphalib/types/robots/document-autorotate.js +8 -1
  92. package/dist/alphalib/types/robots/document-autorotate.js.map +1 -1
  93. package/dist/alphalib/types/robots/document-convert.d.ts +8 -8
  94. package/dist/alphalib/types/robots/document-convert.d.ts.map +1 -1
  95. package/dist/alphalib/types/robots/document-convert.js +9 -3
  96. package/dist/alphalib/types/robots/document-convert.js.map +1 -1
  97. package/dist/alphalib/types/robots/document-merge.d.ts.map +1 -1
  98. package/dist/alphalib/types/robots/document-merge.js +0 -1
  99. package/dist/alphalib/types/robots/document-merge.js.map +1 -1
  100. package/dist/alphalib/types/robots/document-ocr.d.ts.map +1 -1
  101. package/dist/alphalib/types/robots/document-ocr.js +0 -1
  102. package/dist/alphalib/types/robots/document-ocr.js.map +1 -1
  103. package/dist/alphalib/types/robots/document-optimize.d.ts.map +1 -1
  104. package/dist/alphalib/types/robots/document-optimize.js +0 -1
  105. package/dist/alphalib/types/robots/document-optimize.js.map +1 -1
  106. package/dist/alphalib/types/robots/document-split.d.ts.map +1 -1
  107. package/dist/alphalib/types/robots/document-split.js +9 -1
  108. package/dist/alphalib/types/robots/document-split.js.map +1 -1
  109. package/dist/alphalib/types/robots/document-thumbs.d.ts +12 -0
  110. package/dist/alphalib/types/robots/document-thumbs.d.ts.map +1 -1
  111. package/dist/alphalib/types/robots/document-thumbs.js +23 -4
  112. package/dist/alphalib/types/robots/document-thumbs.js.map +1 -1
  113. package/dist/alphalib/types/robots/dropbox-import.d.ts.map +1 -1
  114. package/dist/alphalib/types/robots/dropbox-import.js +0 -1
  115. package/dist/alphalib/types/robots/dropbox-import.js.map +1 -1
  116. package/dist/alphalib/types/robots/dropbox-store.d.ts.map +1 -1
  117. package/dist/alphalib/types/robots/dropbox-store.js +0 -1
  118. package/dist/alphalib/types/robots/dropbox-store.js.map +1 -1
  119. package/dist/alphalib/types/robots/edgly-deliver.d.ts.map +1 -1
  120. package/dist/alphalib/types/robots/edgly-deliver.js +8 -1
  121. package/dist/alphalib/types/robots/edgly-deliver.js.map +1 -1
  122. package/dist/alphalib/types/robots/file-compress.d.ts +12 -0
  123. package/dist/alphalib/types/robots/file-compress.d.ts.map +1 -1
  124. package/dist/alphalib/types/robots/file-compress.js +8 -1
  125. package/dist/alphalib/types/robots/file-compress.js.map +1 -1
  126. package/dist/alphalib/types/robots/file-decompress.d.ts +24 -0
  127. package/dist/alphalib/types/robots/file-decompress.d.ts.map +1 -1
  128. package/dist/alphalib/types/robots/file-decompress.js +30 -5
  129. package/dist/alphalib/types/robots/file-decompress.js.map +1 -1
  130. package/dist/alphalib/types/robots/file-filter.d.ts.map +1 -1
  131. package/dist/alphalib/types/robots/file-filter.js +23 -6
  132. package/dist/alphalib/types/robots/file-filter.js.map +1 -1
  133. package/dist/alphalib/types/robots/file-hash.d.ts +24 -0
  134. package/dist/alphalib/types/robots/file-hash.d.ts.map +1 -1
  135. package/dist/alphalib/types/robots/file-hash.js +23 -1
  136. package/dist/alphalib/types/robots/file-hash.js.map +1 -1
  137. package/dist/alphalib/types/robots/file-preview.d.ts +12 -0
  138. package/dist/alphalib/types/robots/file-preview.d.ts.map +1 -1
  139. package/dist/alphalib/types/robots/file-preview.js +8 -1
  140. package/dist/alphalib/types/robots/file-preview.js.map +1 -1
  141. package/dist/alphalib/types/robots/file-read.d.ts.map +1 -1
  142. package/dist/alphalib/types/robots/file-read.js +9 -1
  143. package/dist/alphalib/types/robots/file-read.js.map +1 -1
  144. package/dist/alphalib/types/robots/file-serve.d.ts +12 -0
  145. package/dist/alphalib/types/robots/file-serve.d.ts.map +1 -1
  146. package/dist/alphalib/types/robots/file-serve.js +38 -7
  147. package/dist/alphalib/types/robots/file-serve.js.map +1 -1
  148. package/dist/alphalib/types/robots/file-verify.d.ts.map +1 -1
  149. package/dist/alphalib/types/robots/file-verify.js +0 -1
  150. package/dist/alphalib/types/robots/file-verify.js.map +1 -1
  151. package/dist/alphalib/types/robots/file-virusscan.d.ts.map +1 -1
  152. package/dist/alphalib/types/robots/file-virusscan.js +5 -4
  153. package/dist/alphalib/types/robots/file-virusscan.js.map +1 -1
  154. package/dist/alphalib/types/robots/file-watermark.d.ts.map +1 -1
  155. package/dist/alphalib/types/robots/file-watermark.js +10 -0
  156. package/dist/alphalib/types/robots/file-watermark.js.map +1 -1
  157. package/dist/alphalib/types/robots/ftp-import.d.ts.map +1 -1
  158. package/dist/alphalib/types/robots/ftp-import.js +0 -1
  159. package/dist/alphalib/types/robots/ftp-import.js.map +1 -1
  160. package/dist/alphalib/types/robots/ftp-store.d.ts.map +1 -1
  161. package/dist/alphalib/types/robots/ftp-store.js +0 -1
  162. package/dist/alphalib/types/robots/ftp-store.js.map +1 -1
  163. package/dist/alphalib/types/robots/google-import.d.ts.map +1 -1
  164. package/dist/alphalib/types/robots/google-import.js +0 -1
  165. package/dist/alphalib/types/robots/google-import.js.map +1 -1
  166. package/dist/alphalib/types/robots/google-store.d.ts.map +1 -1
  167. package/dist/alphalib/types/robots/google-store.js +0 -1
  168. package/dist/alphalib/types/robots/google-store.js.map +1 -1
  169. package/dist/alphalib/types/robots/html-convert.d.ts.map +1 -1
  170. package/dist/alphalib/types/robots/html-convert.js +0 -1
  171. package/dist/alphalib/types/robots/html-convert.js.map +1 -1
  172. package/dist/alphalib/types/robots/http-import.d.ts.map +1 -1
  173. package/dist/alphalib/types/robots/http-import.js +0 -1
  174. package/dist/alphalib/types/robots/http-import.js.map +1 -1
  175. package/dist/alphalib/types/robots/image-bgremove.d.ts +8 -8
  176. package/dist/alphalib/types/robots/image-bgremove.d.ts.map +1 -1
  177. package/dist/alphalib/types/robots/image-bgremove.js +4 -2
  178. package/dist/alphalib/types/robots/image-bgremove.js.map +1 -1
  179. package/dist/alphalib/types/robots/image-copyrightdetect.d.ts +465 -0
  180. package/dist/alphalib/types/robots/image-copyrightdetect.d.ts.map +1 -0
  181. package/dist/alphalib/types/robots/image-copyrightdetect.js +136 -0
  182. package/dist/alphalib/types/robots/image-copyrightdetect.js.map +1 -0
  183. package/dist/alphalib/types/robots/image-describe.d.ts.map +1 -1
  184. package/dist/alphalib/types/robots/image-describe.js +0 -1
  185. package/dist/alphalib/types/robots/image-describe.js.map +1 -1
  186. package/dist/alphalib/types/robots/image-enhance.d.ts +502 -0
  187. package/dist/alphalib/types/robots/image-enhance.d.ts.map +1 -0
  188. package/dist/alphalib/types/robots/image-enhance.js +146 -0
  189. package/dist/alphalib/types/robots/image-enhance.js.map +1 -0
  190. package/dist/alphalib/types/robots/image-facedetect.d.ts.map +1 -1
  191. package/dist/alphalib/types/robots/image-facedetect.js +0 -1
  192. package/dist/alphalib/types/robots/image-facedetect.js.map +1 -1
  193. package/dist/alphalib/types/robots/image-generate.d.ts +4 -5
  194. package/dist/alphalib/types/robots/image-generate.d.ts.map +1 -1
  195. package/dist/alphalib/types/robots/image-generate.js +62 -8
  196. package/dist/alphalib/types/robots/image-generate.js.map +1 -1
  197. package/dist/alphalib/types/robots/image-merge.d.ts +12 -12
  198. package/dist/alphalib/types/robots/image-merge.d.ts.map +1 -1
  199. package/dist/alphalib/types/robots/image-merge.js +0 -1
  200. package/dist/alphalib/types/robots/image-merge.js.map +1 -1
  201. package/dist/alphalib/types/robots/image-ocr.d.ts.map +1 -1
  202. package/dist/alphalib/types/robots/image-ocr.js +0 -1
  203. package/dist/alphalib/types/robots/image-ocr.js.map +1 -1
  204. package/dist/alphalib/types/robots/image-optimize.d.ts +12 -0
  205. package/dist/alphalib/types/robots/image-optimize.d.ts.map +1 -1
  206. package/dist/alphalib/types/robots/image-optimize.js +16 -3
  207. package/dist/alphalib/types/robots/image-optimize.js.map +1 -1
  208. package/dist/alphalib/types/robots/image-resize.d.ts +20 -8
  209. package/dist/alphalib/types/robots/image-resize.d.ts.map +1 -1
  210. package/dist/alphalib/types/robots/image-resize.js +37 -1
  211. package/dist/alphalib/types/robots/image-resize.js.map +1 -1
  212. package/dist/alphalib/types/robots/image-upscale.d.ts +447 -0
  213. package/dist/alphalib/types/robots/image-upscale.d.ts.map +1 -0
  214. package/dist/alphalib/types/robots/image-upscale.js +65 -0
  215. package/dist/alphalib/types/robots/image-upscale.js.map +1 -0
  216. package/dist/alphalib/types/robots/mega-import.d.ts +244 -0
  217. package/dist/alphalib/types/robots/mega-import.d.ts.map +1 -0
  218. package/dist/alphalib/types/robots/mega-import.js +84 -0
  219. package/dist/alphalib/types/robots/mega-import.js.map +1 -0
  220. package/dist/alphalib/types/robots/mega-store.d.ts +526 -0
  221. package/dist/alphalib/types/robots/mega-store.d.ts.map +1 -0
  222. package/dist/alphalib/types/robots/mega-store.js +82 -0
  223. package/dist/alphalib/types/robots/mega-store.js.map +1 -0
  224. package/dist/alphalib/types/robots/meta-read.d.ts.map +1 -1
  225. package/dist/alphalib/types/robots/meta-read.js +8 -0
  226. package/dist/alphalib/types/robots/meta-read.js.map +1 -1
  227. package/dist/alphalib/types/robots/meta-write.d.ts.map +1 -1
  228. package/dist/alphalib/types/robots/meta-write.js +0 -1
  229. package/dist/alphalib/types/robots/meta-write.js.map +1 -1
  230. package/dist/alphalib/types/robots/minio-import.d.ts.map +1 -1
  231. package/dist/alphalib/types/robots/minio-import.js +0 -1
  232. package/dist/alphalib/types/robots/minio-import.js.map +1 -1
  233. package/dist/alphalib/types/robots/minio-store.d.ts.map +1 -1
  234. package/dist/alphalib/types/robots/minio-store.js +0 -1
  235. package/dist/alphalib/types/robots/minio-store.js.map +1 -1
  236. package/dist/alphalib/types/robots/progress-simulate.d.ts.map +1 -1
  237. package/dist/alphalib/types/robots/progress-simulate.js +13 -0
  238. package/dist/alphalib/types/robots/progress-simulate.js.map +1 -1
  239. package/dist/alphalib/types/robots/s3-import.d.ts.map +1 -1
  240. package/dist/alphalib/types/robots/s3-import.js +0 -1
  241. package/dist/alphalib/types/robots/s3-import.js.map +1 -1
  242. package/dist/alphalib/types/robots/s3-store.d.ts.map +1 -1
  243. package/dist/alphalib/types/robots/s3-store.js +0 -1
  244. package/dist/alphalib/types/robots/s3-store.js.map +1 -1
  245. package/dist/alphalib/types/robots/script-run.d.ts.map +1 -1
  246. package/dist/alphalib/types/robots/script-run.js +10 -1
  247. package/dist/alphalib/types/robots/script-run.js.map +1 -1
  248. package/dist/alphalib/types/robots/sftp-import.d.ts.map +1 -1
  249. package/dist/alphalib/types/robots/sftp-import.js +0 -1
  250. package/dist/alphalib/types/robots/sftp-import.js.map +1 -1
  251. package/dist/alphalib/types/robots/sftp-store.d.ts.map +1 -1
  252. package/dist/alphalib/types/robots/sftp-store.js +0 -1
  253. package/dist/alphalib/types/robots/sftp-store.js.map +1 -1
  254. package/dist/alphalib/types/robots/speech-transcribe.d.ts.map +1 -1
  255. package/dist/alphalib/types/robots/speech-transcribe.js +0 -1
  256. package/dist/alphalib/types/robots/speech-transcribe.js.map +1 -1
  257. package/dist/alphalib/types/robots/supabase-import.d.ts.map +1 -1
  258. package/dist/alphalib/types/robots/supabase-import.js +0 -1
  259. package/dist/alphalib/types/robots/supabase-import.js.map +1 -1
  260. package/dist/alphalib/types/robots/supabase-store.d.ts.map +1 -1
  261. package/dist/alphalib/types/robots/supabase-store.js +0 -1
  262. package/dist/alphalib/types/robots/supabase-store.js.map +1 -1
  263. package/dist/alphalib/types/robots/swift-import.d.ts.map +1 -1
  264. package/dist/alphalib/types/robots/swift-import.js +0 -1
  265. package/dist/alphalib/types/robots/swift-import.js.map +1 -1
  266. package/dist/alphalib/types/robots/swift-store.d.ts.map +1 -1
  267. package/dist/alphalib/types/robots/swift-store.js +0 -1
  268. package/dist/alphalib/types/robots/swift-store.js.map +1 -1
  269. package/dist/alphalib/types/robots/text-speak.d.ts.map +1 -1
  270. package/dist/alphalib/types/robots/text-speak.js +0 -1
  271. package/dist/alphalib/types/robots/text-speak.js.map +1 -1
  272. package/dist/alphalib/types/robots/text-translate.d.ts.map +1 -1
  273. package/dist/alphalib/types/robots/text-translate.js +0 -1
  274. package/dist/alphalib/types/robots/text-translate.js.map +1 -1
  275. package/dist/alphalib/types/robots/tigris-import.d.ts.map +1 -1
  276. package/dist/alphalib/types/robots/tigris-import.js +0 -1
  277. package/dist/alphalib/types/robots/tigris-import.js.map +1 -1
  278. package/dist/alphalib/types/robots/tigris-store.d.ts.map +1 -1
  279. package/dist/alphalib/types/robots/tigris-store.js +0 -1
  280. package/dist/alphalib/types/robots/tigris-store.js.map +1 -1
  281. package/dist/alphalib/types/robots/tlcdn-deliver.d.ts.map +1 -1
  282. package/dist/alphalib/types/robots/tlcdn-deliver.js +8 -1
  283. package/dist/alphalib/types/robots/tlcdn-deliver.js.map +1 -1
  284. package/dist/alphalib/types/robots/tus-store.d.ts.map +1 -1
  285. package/dist/alphalib/types/robots/tus-store.js +1 -14
  286. package/dist/alphalib/types/robots/tus-store.js.map +1 -1
  287. package/dist/alphalib/types/robots/upload-handle.d.ts.map +1 -1
  288. package/dist/alphalib/types/robots/upload-handle.js +0 -1
  289. package/dist/alphalib/types/robots/upload-handle.js.map +1 -1
  290. package/dist/alphalib/types/robots/video-adaptive.d.ts +32 -8
  291. package/dist/alphalib/types/robots/video-adaptive.d.ts.map +1 -1
  292. package/dist/alphalib/types/robots/video-adaptive.js +22 -6
  293. package/dist/alphalib/types/robots/video-adaptive.js.map +1 -1
  294. package/dist/alphalib/types/robots/video-artwork.d.ts +2855 -0
  295. package/dist/alphalib/types/robots/video-artwork.d.ts.map +1 -0
  296. package/dist/alphalib/types/robots/video-artwork.js +66 -0
  297. package/dist/alphalib/types/robots/video-artwork.js.map +1 -0
  298. package/dist/alphalib/types/robots/video-concat.d.ts +36 -0
  299. package/dist/alphalib/types/robots/video-concat.d.ts.map +1 -1
  300. package/dist/alphalib/types/robots/video-concat.js +30 -1
  301. package/dist/alphalib/types/robots/video-concat.js.map +1 -1
  302. package/dist/alphalib/types/robots/video-encode.d.ts.map +1 -1
  303. package/dist/alphalib/types/robots/video-encode.js +0 -1
  304. package/dist/alphalib/types/robots/video-encode.js.map +1 -1
  305. package/dist/alphalib/types/robots/video-generate.d.ts +594 -0
  306. package/dist/alphalib/types/robots/video-generate.d.ts.map +1 -0
  307. package/dist/alphalib/types/robots/video-generate.js +90 -0
  308. package/dist/alphalib/types/robots/video-generate.js.map +1 -0
  309. package/dist/alphalib/types/robots/video-merge.d.ts +24 -0
  310. package/dist/alphalib/types/robots/video-merge.d.ts.map +1 -1
  311. package/dist/alphalib/types/robots/video-merge.js +33 -1
  312. package/dist/alphalib/types/robots/video-merge.js.map +1 -1
  313. package/dist/alphalib/types/robots/video-ondemand.d.ts.map +1 -1
  314. package/dist/alphalib/types/robots/video-ondemand.js +3 -4
  315. package/dist/alphalib/types/robots/video-ondemand.js.map +1 -1
  316. package/dist/alphalib/types/robots/video-split.d.ts +2939 -0
  317. package/dist/alphalib/types/robots/video-split.d.ts.map +1 -0
  318. package/dist/alphalib/types/robots/video-split.js +78 -0
  319. package/dist/alphalib/types/robots/video-split.js.map +1 -0
  320. package/dist/alphalib/types/robots/video-subtitle.d.ts +52 -4
  321. package/dist/alphalib/types/robots/video-subtitle.d.ts.map +1 -1
  322. package/dist/alphalib/types/robots/video-subtitle.js +61 -8
  323. package/dist/alphalib/types/robots/video-subtitle.js.map +1 -1
  324. package/dist/alphalib/types/robots/video-thumbs.d.ts.map +1 -1
  325. package/dist/alphalib/types/robots/video-thumbs.js +0 -1
  326. package/dist/alphalib/types/robots/video-thumbs.js.map +1 -1
  327. package/dist/alphalib/types/robots/vimeo-import.d.ts +4 -4
  328. package/dist/alphalib/types/robots/vimeo-import.d.ts.map +1 -1
  329. package/dist/alphalib/types/robots/vimeo-import.js +0 -1
  330. package/dist/alphalib/types/robots/vimeo-import.js.map +1 -1
  331. package/dist/alphalib/types/robots/vimeo-store.d.ts +2 -2
  332. package/dist/alphalib/types/robots/vimeo-store.d.ts.map +1 -1
  333. package/dist/alphalib/types/robots/vimeo-store.js +14 -3
  334. package/dist/alphalib/types/robots/vimeo-store.js.map +1 -1
  335. package/dist/alphalib/types/robots/wasabi-import.d.ts.map +1 -1
  336. package/dist/alphalib/types/robots/wasabi-import.js +0 -1
  337. package/dist/alphalib/types/robots/wasabi-import.js.map +1 -1
  338. package/dist/alphalib/types/robots/wasabi-store.d.ts.map +1 -1
  339. package/dist/alphalib/types/robots/wasabi-store.js +0 -1
  340. package/dist/alphalib/types/robots/wasabi-store.js.map +1 -1
  341. package/dist/alphalib/types/robots/youtube-store.d.ts.map +1 -1
  342. package/dist/alphalib/types/robots/youtube-store.js +4 -5
  343. package/dist/alphalib/types/robots/youtube-store.js.map +1 -1
  344. package/dist/alphalib/types/template.d.ts +41 -132175
  345. package/dist/alphalib/types/template.d.ts.map +1 -1
  346. package/dist/alphalib/types/template.js +16 -3
  347. package/dist/alphalib/types/template.js.map +1 -1
  348. package/dist/alphalib/types/templateCredential.d.ts +3 -3
  349. package/dist/alphalib/types/templateCredential.d.ts.map +1 -1
  350. package/dist/alphalib/types/templateCredential.js +1 -0
  351. package/dist/alphalib/types/templateCredential.js.map +1 -1
  352. package/dist/alphalib/zodParseWithContext.d.ts.map +1 -1
  353. package/dist/alphalib/zodParseWithContext.js +15 -11
  354. package/dist/alphalib/zodParseWithContext.js.map +1 -1
  355. package/dist/bearerToken.d.ts +1 -0
  356. package/dist/bearerToken.d.ts.map +1 -1
  357. package/dist/bearerToken.js +5 -3
  358. package/dist/bearerToken.js.map +1 -1
  359. package/dist/cli/commands/BaseCommand.d.ts +0 -1
  360. package/dist/cli/commands/BaseCommand.d.ts.map +1 -1
  361. package/dist/cli/commands/BaseCommand.js +7 -9
  362. package/dist/cli/commands/BaseCommand.js.map +1 -1
  363. package/dist/cli/commands/auth.d.ts.map +1 -1
  364. package/dist/cli/commands/auth.js +49 -29
  365. package/dist/cli/commands/auth.js.map +1 -1
  366. package/dist/cli/generateIntentDocs.d.ts +5 -1
  367. package/dist/cli/generateIntentDocs.d.ts.map +1 -1
  368. package/dist/cli/generateIntentDocs.js +27 -9
  369. package/dist/cli/generateIntentDocs.js.map +1 -1
  370. package/dist/cli/helpers.d.ts +19 -4
  371. package/dist/cli/helpers.d.ts.map +1 -1
  372. package/dist/cli/helpers.js +232 -10
  373. package/dist/cli/helpers.js.map +1 -1
  374. package/dist/cli/intentCommandSpecs.d.ts.map +1 -1
  375. package/dist/cli/intentCommandSpecs.js +4 -6
  376. package/dist/cli/intentCommandSpecs.js.map +1 -1
  377. package/dist/cli/intentRuntime.d.ts.map +1 -1
  378. package/dist/cli/intentRuntime.js +4 -4
  379. package/dist/cli/intentRuntime.js.map +1 -1
  380. package/dist/cli/semanticIntents/imageDescribe.d.ts +3 -1
  381. package/dist/cli/semanticIntents/imageDescribe.d.ts.map +1 -1
  382. package/dist/cli/semanticIntents/imageDescribe.js +1 -1
  383. package/dist/cli/semanticIntents/imageDescribe.js.map +1 -1
  384. package/dist/cli/semanticIntents/imageGenerate.d.ts +94 -0
  385. package/dist/cli/semanticIntents/imageGenerate.d.ts.map +1 -0
  386. package/dist/cli/semanticIntents/imageGenerate.js +215 -0
  387. package/dist/cli/semanticIntents/imageGenerate.js.map +1 -0
  388. package/dist/cli/semanticIntents/index.d.ts +3 -1
  389. package/dist/cli/semanticIntents/index.d.ts.map +1 -1
  390. package/dist/cli/semanticIntents/index.js +2 -0
  391. package/dist/cli/semanticIntents/index.js.map +1 -1
  392. package/dist/cli/semanticIntents/markdownPdf.js +1 -1
  393. package/dist/cli/semanticIntents/markdownPdf.js.map +1 -1
  394. package/dist/cli.d.ts +0 -1
  395. package/dist/cli.d.ts.map +1 -1
  396. package/dist/cli.js +3 -2
  397. package/dist/cli.js.map +1 -1
  398. package/dist/robots.js +2 -2
  399. package/dist/robots.js.map +1 -1
  400. package/package.json +1 -1
  401. package/src/alphalib/assembly-linter.ts +1 -1
  402. package/src/alphalib/stepParsing.ts +2 -2
  403. package/src/alphalib/types/assemblyStatus.ts +41 -2
  404. package/src/alphalib/types/robots/_index.ts +211 -20
  405. package/src/alphalib/types/robots/_instructions-primitives.ts +93 -3
  406. package/src/alphalib/types/robots/ai-chat.ts +35 -5
  407. package/src/alphalib/types/robots/assembly-savejson.ts +8 -0
  408. package/src/alphalib/types/robots/audio-artwork.ts +4 -5
  409. package/src/alphalib/types/robots/audio-concat.ts +1 -2
  410. package/src/alphalib/types/robots/audio-encode.ts +1 -2
  411. package/src/alphalib/types/robots/audio-loop.ts +1 -2
  412. package/src/alphalib/types/robots/audio-merge.ts +1 -2
  413. package/src/alphalib/types/robots/audio-split.ts +130 -0
  414. package/src/alphalib/types/robots/audio-waveform.ts +90 -6
  415. package/src/alphalib/types/robots/azure-import.ts +0 -1
  416. package/src/alphalib/types/robots/azure-store.ts +0 -1
  417. package/src/alphalib/types/robots/backblaze-import.ts +0 -1
  418. package/src/alphalib/types/robots/backblaze-store.ts +0 -1
  419. package/src/alphalib/types/robots/box-import.ts +97 -0
  420. package/src/alphalib/types/robots/box-store.ts +94 -0
  421. package/src/alphalib/types/robots/cloudfiles-import.ts +0 -1
  422. package/src/alphalib/types/robots/cloudfiles-store.ts +0 -1
  423. package/src/alphalib/types/robots/cloudflare-import.ts +0 -1
  424. package/src/alphalib/types/robots/cloudflare-store.ts +0 -1
  425. package/src/alphalib/types/robots/digitalocean-import.ts +0 -1
  426. package/src/alphalib/types/robots/digitalocean-store.ts +0 -1
  427. package/src/alphalib/types/robots/document-autorotate.ts +8 -1
  428. package/src/alphalib/types/robots/document-convert.ts +10 -3
  429. package/src/alphalib/types/robots/document-merge.ts +0 -1
  430. package/src/alphalib/types/robots/document-ocr.ts +0 -1
  431. package/src/alphalib/types/robots/document-optimize.ts +0 -1
  432. package/src/alphalib/types/robots/document-split.ts +9 -1
  433. package/src/alphalib/types/robots/document-thumbs.ts +26 -4
  434. package/src/alphalib/types/robots/dropbox-import.ts +0 -1
  435. package/src/alphalib/types/robots/dropbox-store.ts +0 -1
  436. package/src/alphalib/types/robots/edgly-deliver.ts +8 -1
  437. package/src/alphalib/types/robots/file-compress.ts +8 -1
  438. package/src/alphalib/types/robots/file-decompress.ts +30 -5
  439. package/src/alphalib/types/robots/file-filter.ts +23 -6
  440. package/src/alphalib/types/robots/file-hash.ts +23 -1
  441. package/src/alphalib/types/robots/file-preview.ts +8 -1
  442. package/src/alphalib/types/robots/file-read.ts +9 -1
  443. package/src/alphalib/types/robots/file-serve.ts +39 -7
  444. package/src/alphalib/types/robots/file-verify.ts +0 -1
  445. package/src/alphalib/types/robots/file-virusscan.ts +6 -4
  446. package/src/alphalib/types/robots/file-watermark.ts +10 -0
  447. package/src/alphalib/types/robots/ftp-import.ts +0 -1
  448. package/src/alphalib/types/robots/ftp-store.ts +0 -1
  449. package/src/alphalib/types/robots/google-import.ts +0 -1
  450. package/src/alphalib/types/robots/google-store.ts +0 -1
  451. package/src/alphalib/types/robots/html-convert.ts +0 -1
  452. package/src/alphalib/types/robots/http-import.ts +0 -1
  453. package/src/alphalib/types/robots/image-bgremove.ts +4 -2
  454. package/src/alphalib/types/robots/image-copyrightdetect.ts +167 -0
  455. package/src/alphalib/types/robots/image-describe.ts +0 -1
  456. package/src/alphalib/types/robots/image-enhance.ts +185 -0
  457. package/src/alphalib/types/robots/image-facedetect.ts +0 -1
  458. package/src/alphalib/types/robots/image-generate.ts +74 -8
  459. package/src/alphalib/types/robots/image-merge.ts +0 -1
  460. package/src/alphalib/types/robots/image-ocr.ts +0 -1
  461. package/src/alphalib/types/robots/image-optimize.ts +16 -3
  462. package/src/alphalib/types/robots/image-resize.ts +37 -1
  463. package/src/alphalib/types/robots/image-upscale.ts +93 -0
  464. package/src/alphalib/types/robots/mega-import.ts +123 -0
  465. package/src/alphalib/types/robots/mega-store.ts +109 -0
  466. package/src/alphalib/types/robots/meta-read.ts +8 -0
  467. package/src/alphalib/types/robots/meta-write.ts +0 -1
  468. package/src/alphalib/types/robots/minio-import.ts +0 -1
  469. package/src/alphalib/types/robots/minio-store.ts +0 -1
  470. package/src/alphalib/types/robots/progress-simulate.ts +13 -0
  471. package/src/alphalib/types/robots/s3-import.ts +0 -1
  472. package/src/alphalib/types/robots/s3-store.ts +0 -1
  473. package/src/alphalib/types/robots/script-run.ts +11 -1
  474. package/src/alphalib/types/robots/sftp-import.ts +0 -1
  475. package/src/alphalib/types/robots/sftp-store.ts +0 -1
  476. package/src/alphalib/types/robots/speech-transcribe.ts +0 -1
  477. package/src/alphalib/types/robots/supabase-import.ts +0 -1
  478. package/src/alphalib/types/robots/supabase-store.ts +0 -1
  479. package/src/alphalib/types/robots/swift-import.ts +0 -1
  480. package/src/alphalib/types/robots/swift-store.ts +0 -1
  481. package/src/alphalib/types/robots/text-speak.ts +0 -1
  482. package/src/alphalib/types/robots/text-translate.ts +0 -1
  483. package/src/alphalib/types/robots/tigris-import.ts +0 -1
  484. package/src/alphalib/types/robots/tigris-store.ts +0 -1
  485. package/src/alphalib/types/robots/tlcdn-deliver.ts +8 -1
  486. package/src/alphalib/types/robots/tus-store.ts +1 -14
  487. package/src/alphalib/types/robots/upload-handle.ts +0 -1
  488. package/src/alphalib/types/robots/video-adaptive.ts +22 -6
  489. package/src/alphalib/types/robots/video-artwork.ts +100 -0
  490. package/src/alphalib/types/robots/video-concat.ts +30 -1
  491. package/src/alphalib/types/robots/video-encode.ts +0 -1
  492. package/src/alphalib/types/robots/video-generate.ts +120 -0
  493. package/src/alphalib/types/robots/video-merge.ts +33 -1
  494. package/src/alphalib/types/robots/video-ondemand.ts +3 -4
  495. package/src/alphalib/types/robots/video-split.ts +117 -0
  496. package/src/alphalib/types/robots/video-subtitle.ts +61 -8
  497. package/src/alphalib/types/robots/video-thumbs.ts +0 -1
  498. package/src/alphalib/types/robots/vimeo-import.ts +0 -1
  499. package/src/alphalib/types/robots/vimeo-store.ts +14 -3
  500. package/src/alphalib/types/robots/wasabi-import.ts +0 -1
  501. package/src/alphalib/types/robots/wasabi-store.ts +0 -1
  502. package/src/alphalib/types/robots/youtube-store.ts +4 -5
  503. package/src/alphalib/types/template.ts +47 -15
  504. package/src/alphalib/types/templateCredential.ts +1 -0
  505. package/src/alphalib/zodParseWithContext.ts +19 -12
  506. package/src/bearerToken.ts +14 -3
  507. package/src/cli/commands/BaseCommand.ts +7 -9
  508. package/src/cli/commands/auth.ts +66 -32
  509. package/src/cli/generateIntentDocs.ts +30 -9
  510. package/src/cli/helpers.ts +278 -13
  511. package/src/cli/intentCommandSpecs.ts +4 -9
  512. package/src/cli/intentRuntime.ts +8 -3
  513. package/src/cli/semanticIntents/imageDescribe.ts +4 -1
  514. package/src/cli/semanticIntents/imageGenerate.ts +254 -0
  515. package/src/cli/semanticIntents/index.ts +6 -1
  516. package/src/cli/semanticIntents/markdownPdf.ts +1 -1
  517. package/src/cli.ts +3 -2
  518. package/src/robots.ts +2 -2
@@ -1,4 +1,7 @@
1
1
  import { z } from 'zod'
2
+
3
+ type RobotSchemaOption = z.ZodObject<any>
4
+ type RobotSchemaOptions = [RobotSchemaOption, ...RobotSchemaOption[]]
2
5
  import {
3
6
  meta as aiChatMeta,
4
7
  interpolatableRobotAiChatInstructionsSchema,
@@ -29,6 +32,11 @@ import {
29
32
  interpolatableRobotAudioMergeInstructionsSchema,
30
33
  interpolatableRobotAudioMergeInstructionsWithHiddenFieldsSchema,
31
34
  } from './audio-merge.ts'
35
+ import {
36
+ meta as audioSplitMeta,
37
+ interpolatableRobotAudioSplitInstructionsSchema,
38
+ interpolatableRobotAudioSplitInstructionsWithHiddenFieldsSchema,
39
+ } from './audio-split.ts'
32
40
  import {
33
41
  meta as audioWaveformMeta,
34
42
  interpolatableRobotAudioWaveformInstructionsSchema,
@@ -54,6 +62,16 @@ import {
54
62
  interpolatableRobotBackblazeStoreInstructionsSchema,
55
63
  interpolatableRobotBackblazeStoreInstructionsWithHiddenFieldsSchema,
56
64
  } from './backblaze-store.ts'
65
+ import {
66
+ meta as boxImportMeta,
67
+ interpolatableRobotBoxImportInstructionsSchema,
68
+ interpolatableRobotBoxImportInstructionsWithHiddenFieldsSchema,
69
+ } from './box-import.ts'
70
+ import {
71
+ meta as boxStoreMeta,
72
+ interpolatableRobotBoxStoreInstructionsSchema,
73
+ interpolatableRobotBoxStoreInstructionsWithHiddenFieldsSchema,
74
+ } from './box-store.ts'
57
75
  import {
58
76
  meta as cloudfilesImportMeta,
59
77
  interpolatableRobotCloudfilesImportInstructionsSchema,
@@ -218,11 +236,21 @@ import {
218
236
  interpolatableRobotImageBgremoveInstructionsSchema,
219
237
  interpolatableRobotImageBgremoveInstructionsWithHiddenFieldsSchema,
220
238
  } from './image-bgremove.ts'
239
+ import {
240
+ meta as imageCopyrightdetectMeta,
241
+ interpolatableRobotImageCopyrightdetectInstructionsSchema,
242
+ interpolatableRobotImageCopyrightdetectInstructionsWithHiddenFieldsSchema,
243
+ } from './image-copyrightdetect.ts'
221
244
  import {
222
245
  meta as imageDescribeMeta,
223
246
  interpolatableRobotImageDescribeInstructionsSchema,
224
247
  interpolatableRobotImageDescribeInstructionsWithHiddenFieldsSchema,
225
248
  } from './image-describe.ts'
249
+ import {
250
+ meta as imageEnhanceMeta,
251
+ interpolatableRobotImageEnhanceInstructionsSchema,
252
+ interpolatableRobotImageEnhanceInstructionsWithHiddenFieldsSchema,
253
+ } from './image-enhance.ts'
226
254
  import {
227
255
  meta as imageFacedetectMeta,
228
256
  interpolatableRobotImageFacedetectInstructionsSchema,
@@ -253,6 +281,21 @@ import {
253
281
  interpolatableRobotImageResizeInstructionsSchema,
254
282
  interpolatableRobotImageResizeInstructionsWithHiddenFieldsSchema,
255
283
  } from './image-resize.ts'
284
+ import {
285
+ meta as imageUpscaleMeta,
286
+ interpolatableRobotImageUpscaleInstructionsSchema,
287
+ interpolatableRobotImageUpscaleInstructionsWithHiddenFieldsSchema,
288
+ } from './image-upscale.ts'
289
+ import {
290
+ interpolatableRobotMegaImportInstructionsSchema,
291
+ interpolatableRobotMegaImportInstructionsWithHiddenFieldsSchema,
292
+ meta as megaImportMeta,
293
+ } from './mega-import.ts'
294
+ import {
295
+ interpolatableRobotMegaStoreInstructionsSchema,
296
+ interpolatableRobotMegaStoreInstructionsWithHiddenFieldsSchema,
297
+ meta as megaStoreMeta,
298
+ } from './mega-store.ts'
256
299
  import {
257
300
  interpolatableRobotMetaReadInstructionsSchema,
258
301
  interpolatableRobotMetaReadInstructionsWithHiddenFieldsSchema,
@@ -363,6 +406,11 @@ import {
363
406
  interpolatableRobotVideoAdaptiveInstructionsWithHiddenFieldsSchema,
364
407
  meta as videoAdaptiveMeta,
365
408
  } from './video-adaptive.ts'
409
+ import {
410
+ interpolatableRobotVideoArtworkInstructionsSchema,
411
+ interpolatableRobotVideoArtworkInstructionsWithHiddenFieldsSchema,
412
+ meta as videoArtworkMeta,
413
+ } from './video-artwork.ts'
366
414
  import {
367
415
  interpolatableRobotVideoConcatInstructionsSchema,
368
416
  interpolatableRobotVideoConcatInstructionsWithHiddenFieldsSchema,
@@ -373,6 +421,11 @@ import {
373
421
  interpolatableRobotVideoEncodeInstructionsWithHiddenFieldsSchema,
374
422
  meta as videoEncodeMeta,
375
423
  } from './video-encode.ts'
424
+ import {
425
+ interpolatableRobotVideoGenerateInstructionsSchema,
426
+ interpolatableRobotVideoGenerateInstructionsWithHiddenFieldsSchema,
427
+ meta as videoGenerateMeta,
428
+ } from './video-generate.ts'
376
429
  import {
377
430
  interpolatableRobotVideoMergeInstructionsSchema,
378
431
  interpolatableRobotVideoMergeInstructionsWithHiddenFieldsSchema,
@@ -383,6 +436,11 @@ import {
383
436
  interpolatableRobotVideoOndemandInstructionsWithHiddenFieldsSchema,
384
437
  meta as videoOndemandMeta,
385
438
  } from './video-ondemand.ts'
439
+ import {
440
+ interpolatableRobotVideoSplitInstructionsSchema,
441
+ interpolatableRobotVideoSplitInstructionsWithHiddenFieldsSchema,
442
+ meta as videoSplitMeta,
443
+ } from './video-split.ts'
386
444
  import {
387
445
  interpolatableRobotVideoSubtitleInstructionsSchema,
388
446
  interpolatableRobotVideoSubtitleInstructionsWithHiddenFieldsSchema,
@@ -419,9 +477,10 @@ import {
419
477
  meta as youtubeStoreMeta,
420
478
  } from './youtube-store.ts'
421
479
 
422
- const robotStepsInstructions = [
480
+ const robotStepsInstructions: RobotSchemaOptions = [
423
481
  interpolatableRobotAudioArtworkInstructionsSchema,
424
482
  interpolatableRobotAudioConcatInstructionsSchema,
483
+ interpolatableRobotAudioSplitInstructionsSchema,
425
484
  interpolatableRobotAudioEncodeInstructionsSchema,
426
485
  interpolatableRobotAudioLoopInstructionsSchema,
427
486
  interpolatableRobotAudioMergeInstructionsSchema,
@@ -430,6 +489,10 @@ const robotStepsInstructions = [
430
489
  interpolatableRobotAzureStoreInstructionsSchema,
431
490
  interpolatableRobotBackblazeImportInstructionsSchema,
432
491
  interpolatableRobotBackblazeStoreInstructionsSchema,
492
+ interpolatableRobotBoxImportInstructionsSchema,
493
+ interpolatableRobotBoxStoreInstructionsSchema,
494
+ interpolatableRobotMegaImportInstructionsSchema,
495
+ interpolatableRobotMegaStoreInstructionsSchema,
433
496
  interpolatableRobotCloudfilesImportInstructionsSchema,
434
497
  interpolatableRobotCloudfilesStoreInstructionsSchema,
435
498
  interpolatableRobotCloudflareImportInstructionsSchema,
@@ -462,9 +525,12 @@ const robotStepsInstructions = [
462
525
  interpolatableRobotHtmlConvertInstructionsSchema,
463
526
  interpolatableRobotHttpImportInstructionsSchema,
464
527
  interpolatableRobotImageBgremoveInstructionsSchema,
528
+ interpolatableRobotImageCopyrightdetectInstructionsSchema,
465
529
  interpolatableRobotImageDescribeInstructionsSchema,
530
+ interpolatableRobotImageEnhanceInstructionsSchema,
466
531
  interpolatableRobotImageFacedetectInstructionsSchema,
467
532
  interpolatableRobotImageGenerateInstructionsSchema,
533
+ interpolatableRobotImageUpscaleInstructionsSchema,
468
534
  interpolatableRobotImageMergeInstructionsSchema,
469
535
  interpolatableRobotImageOcrInstructionsSchema,
470
536
  interpolatableRobotImageOptimizeInstructionsSchema,
@@ -491,10 +557,13 @@ const robotStepsInstructions = [
491
557
  interpolatableRobotTusStoreInstructionsSchema,
492
558
  interpolatableRobotUploadHandleInstructionsSchema,
493
559
  interpolatableRobotVideoAdaptiveInstructionsSchema,
560
+ interpolatableRobotVideoArtworkInstructionsSchema,
494
561
  interpolatableRobotVideoConcatInstructionsSchema,
495
562
  interpolatableRobotVideoEncodeInstructionsSchema,
563
+ interpolatableRobotVideoGenerateInstructionsSchema,
496
564
  interpolatableRobotVideoMergeInstructionsSchema,
497
565
  interpolatableRobotVideoOndemandInstructionsSchema,
566
+ interpolatableRobotVideoSplitInstructionsSchema,
498
567
  interpolatableRobotVideoSubtitleInstructionsSchema,
499
568
  interpolatableRobotVideoThumbsInstructionsSchema,
500
569
  interpolatableRobotVimeoImportInstructionsSchema,
@@ -504,9 +573,10 @@ const robotStepsInstructions = [
504
573
  interpolatableRobotYoutubeStoreInstructionsSchema,
505
574
  ] as const
506
575
 
507
- const robotStepsInstructionsWithHiddenFields = [
576
+ const robotStepsInstructionsWithHiddenFields: RobotSchemaOptions = [
508
577
  interpolatableRobotAudioArtworkInstructionsWithHiddenFieldsSchema,
509
578
  interpolatableRobotAudioConcatInstructionsWithHiddenFieldsSchema,
579
+ interpolatableRobotAudioSplitInstructionsWithHiddenFieldsSchema,
510
580
  interpolatableRobotAudioEncodeInstructionsWithHiddenFieldsSchema,
511
581
  interpolatableRobotAudioLoopInstructionsWithHiddenFieldsSchema,
512
582
  interpolatableRobotAudioMergeInstructionsWithHiddenFieldsSchema,
@@ -515,6 +585,10 @@ const robotStepsInstructionsWithHiddenFields = [
515
585
  interpolatableRobotAzureStoreInstructionsWithHiddenFieldsSchema,
516
586
  interpolatableRobotBackblazeImportInstructionsWithHiddenFieldsSchema,
517
587
  interpolatableRobotBackblazeStoreInstructionsWithHiddenFieldsSchema,
588
+ interpolatableRobotBoxImportInstructionsWithHiddenFieldsSchema,
589
+ interpolatableRobotBoxStoreInstructionsWithHiddenFieldsSchema,
590
+ interpolatableRobotMegaImportInstructionsWithHiddenFieldsSchema,
591
+ interpolatableRobotMegaStoreInstructionsWithHiddenFieldsSchema,
518
592
  interpolatableRobotCloudfilesImportInstructionsWithHiddenFieldsSchema,
519
593
  interpolatableRobotCloudfilesStoreInstructionsWithHiddenFieldsSchema,
520
594
  interpolatableRobotCloudflareImportInstructionsWithHiddenFieldsSchema,
@@ -548,9 +622,12 @@ const robotStepsInstructionsWithHiddenFields = [
548
622
  interpolatableRobotHtmlConvertInstructionsWithHiddenFieldsSchema,
549
623
  interpolatableRobotHttpImportInstructionsWithHiddenFieldsSchema,
550
624
  interpolatableRobotImageBgremoveInstructionsWithHiddenFieldsSchema,
625
+ interpolatableRobotImageCopyrightdetectInstructionsWithHiddenFieldsSchema,
551
626
  interpolatableRobotImageDescribeInstructionsWithHiddenFieldsSchema,
627
+ interpolatableRobotImageEnhanceInstructionsWithHiddenFieldsSchema,
552
628
  interpolatableRobotImageFacedetectInstructionsWithHiddenFieldsSchema,
553
629
  interpolatableRobotImageGenerateInstructionsWithHiddenFieldsSchema,
630
+ interpolatableRobotImageUpscaleInstructionsWithHiddenFieldsSchema,
554
631
  interpolatableRobotImageMergeInstructionsWithHiddenFieldsSchema,
555
632
  interpolatableRobotImageOcrInstructionsWithHiddenFieldsSchema,
556
633
  interpolatableRobotImageOptimizeInstructionsWithHiddenFieldsSchema,
@@ -577,10 +654,13 @@ const robotStepsInstructionsWithHiddenFields = [
577
654
  interpolatableRobotTusStoreInstructionsWithHiddenFieldsSchema,
578
655
  interpolatableRobotUploadHandleInstructionsWithHiddenFieldsSchema,
579
656
  interpolatableRobotVideoAdaptiveInstructionsWithHiddenFieldsSchema,
657
+ interpolatableRobotVideoArtworkInstructionsWithHiddenFieldsSchema,
580
658
  interpolatableRobotVideoConcatInstructionsWithHiddenFieldsSchema,
581
659
  interpolatableRobotVideoEncodeInstructionsWithHiddenFieldsSchema,
660
+ interpolatableRobotVideoGenerateInstructionsWithHiddenFieldsSchema,
582
661
  interpolatableRobotVideoMergeInstructionsWithHiddenFieldsSchema,
583
662
  interpolatableRobotVideoOndemandInstructionsWithHiddenFieldsSchema,
663
+ interpolatableRobotVideoSplitInstructionsWithHiddenFieldsSchema,
584
664
  interpolatableRobotVideoSubtitleInstructionsWithHiddenFieldsSchema,
585
665
  interpolatableRobotVideoThumbsInstructionsWithHiddenFieldsSchema,
586
666
  interpolatableRobotVimeoImportInstructionsWithHiddenFieldsSchema,
@@ -590,37 +670,72 @@ const robotStepsInstructionsWithHiddenFields = [
590
670
  interpolatableRobotYoutubeStoreInstructionsWithHiddenFieldsSchema,
591
671
  ] as const
592
672
 
593
- /**
594
- * Public robot instructions
595
- */
596
- export type RobotsSchema = z.infer<typeof robotsSchema>
597
- export const robotsSchema = z.discriminatedUnion('robot', [...robotStepsInstructions])
598
- export const robotsWithHiddenFieldsSchema = z.discriminatedUnion('robot', [
599
- ...robotStepsInstructionsWithHiddenFields,
600
- ])
601
-
602
- /**
603
- * All robot instructions, including private ones.
604
- */
605
- export const robotsWithHiddenBotsSchema = z.discriminatedUnion('robot', [
673
+ const robotsWithHiddenBotOptions: RobotSchemaOptions = [
606
674
  ...robotStepsInstructions,
607
675
  interpolatableRobotFileWatermarkInstructionsSchema,
608
676
  interpolatableRobotMetaReadInstructionsSchema,
609
677
  interpolatableRobotProgressSimulateInstructionsSchema,
610
- ])
611
- export const robotsWithHiddenBotsAndFieldsSchema = z.discriminatedUnion('robot', [
678
+ ]
679
+ const robotsWithHiddenBotAndFieldOptions: RobotSchemaOptions = [
612
680
  ...robotStepsInstructionsWithHiddenFields,
613
681
  interpolatableRobotMetaReadInstructionsWithHiddenFieldsSchema,
614
682
  interpolatableRobotProgressSimulateInstructionsSchema,
615
- ])
683
+ ]
684
+
685
+ const robotsSchemaInternal = z.discriminatedUnion('robot', robotStepsInstructions)
686
+ const robotsWithHiddenFieldsSchemaInternal = z.discriminatedUnion(
687
+ 'robot',
688
+ robotStepsInstructionsWithHiddenFields,
689
+ )
690
+ const robotsWithHiddenBotsSchemaInternal = z.discriminatedUnion(
691
+ 'robot',
692
+ robotsWithHiddenBotOptions,
693
+ )
694
+ const robotsWithHiddenBotsAndFieldsSchemaInternal = z.discriminatedUnion(
695
+ 'robot',
696
+ robotsWithHiddenBotAndFieldOptions,
697
+ )
698
+
699
+ export interface PublicRobotInstructions {
700
+ robot: string
701
+ [key: string]: any
702
+ }
703
+
704
+ export interface PublicRobotInstructionsWithHiddenFields extends PublicRobotInstructions {}
616
705
 
617
- export type RobotsWithHiddenBots = z.infer<typeof robotsWithHiddenBotsSchema>
618
- export type RobotsWithHiddenBotsAndFields = z.infer<typeof robotsWithHiddenBotsAndFieldsSchema>
706
+ export interface HiddenRobotInstructions extends PublicRobotInstructions {}
707
+
708
+ export interface HiddenRobotInstructionsWithFields extends PublicRobotInstructionsWithHiddenFields {}
709
+
710
+ /**
711
+ * Public robot instructions
712
+ */
713
+ export type RobotsSchema = PublicRobotInstructions
714
+ export const robotsSchema: z.ZodType<PublicRobotInstructions> =
715
+ robotsSchemaInternal as unknown as z.ZodType<PublicRobotInstructions>
716
+ export const robotsWithHiddenFieldsSchema: z.ZodType<PublicRobotInstructionsWithHiddenFields> =
717
+ robotsWithHiddenFieldsSchemaInternal as unknown as z.ZodType<PublicRobotInstructionsWithHiddenFields>
718
+
719
+ /**
720
+ * All robot instructions, including private ones.
721
+ */
722
+ export const robotsWithHiddenBotsSchema: z.ZodType<HiddenRobotInstructions> =
723
+ robotsWithHiddenBotsSchemaInternal as unknown as z.ZodType<HiddenRobotInstructions>
724
+ export const robotsWithHiddenBotsAndFieldsSchema: z.ZodType<HiddenRobotInstructionsWithFields> =
725
+ robotsWithHiddenBotsAndFieldsSchemaInternal as unknown as z.ZodType<HiddenRobotInstructionsWithFields>
726
+
727
+ export type RobotsWithHiddenBots = HiddenRobotInstructions
728
+ export type RobotsWithHiddenBotsAndFields = HiddenRobotInstructionsWithFields
729
+
730
+ export function getRobotSchemaOptions(): readonly RobotSchemaOption[] {
731
+ return [...robotStepsInstructions]
732
+ }
619
733
 
620
734
  export const robotsMeta = {
621
735
  aiChatMeta,
622
736
  audioArtworkMeta,
623
737
  audioConcatMeta,
738
+ audioSplitMeta,
624
739
  audioEncodeMeta,
625
740
  audioLoopMeta,
626
741
  audioMergeMeta,
@@ -629,6 +744,10 @@ export const robotsMeta = {
629
744
  azureStoreMeta,
630
745
  backblazeImportMeta,
631
746
  backblazeStoreMeta,
747
+ boxImportMeta,
748
+ boxStoreMeta,
749
+ megaImportMeta,
750
+ megaStoreMeta,
632
751
  cloudfilesImportMeta,
633
752
  cloudfilesStoreMeta,
634
753
  cloudflareImportMeta,
@@ -660,9 +779,12 @@ export const robotsMeta = {
660
779
  googleStoreMeta,
661
780
  htmlConvertMeta,
662
781
  httpImportMeta,
782
+ imageCopyrightdetectMeta,
663
783
  imageDescribeMeta,
784
+ imageEnhanceMeta,
664
785
  imageFacedetectMeta,
665
786
  imageBgremoveMeta,
787
+ imageUpscaleMeta,
666
788
  imageGenerateMeta,
667
789
  imageMergeMeta,
668
790
  imageOcrMeta,
@@ -689,10 +811,13 @@ export const robotsMeta = {
689
811
  tusStoreMeta,
690
812
  uploadHandleMeta,
691
813
  videoAdaptiveMeta,
814
+ videoArtworkMeta,
692
815
  videoConcatMeta,
693
816
  videoEncodeMeta,
817
+ videoGenerateMeta,
694
818
  videoMergeMeta,
695
819
  videoOndemandMeta,
820
+ videoSplitMeta,
696
821
  videoSubtitleMeta,
697
822
  videoThumbsMeta,
698
823
  vimeoImportMeta,
@@ -742,6 +867,12 @@ export type {
742
867
  InterpolatableRobotAudioMergeInstructionsWithHiddenFields,
743
868
  InterpolatableRobotAudioMergeInstructionsWithHiddenFieldsInput,
744
869
  } from './audio-merge.ts'
870
+ export type {
871
+ InterpolatableRobotAudioSplitInstructions,
872
+ InterpolatableRobotAudioSplitInstructionsInput,
873
+ InterpolatableRobotAudioSplitInstructionsWithHiddenFields,
874
+ InterpolatableRobotAudioSplitInstructionsWithHiddenFieldsInput,
875
+ } from './audio-split.ts'
745
876
  export type {
746
877
  InterpolatableRobotAudioWaveformInstructions,
747
878
  InterpolatableRobotAudioWaveformInstructionsInput,
@@ -772,6 +903,18 @@ export type {
772
903
  InterpolatableRobotBackblazeStoreInstructionsWithHiddenFields,
773
904
  InterpolatableRobotBackblazeStoreInstructionsWithHiddenFieldsInput,
774
905
  } from './backblaze-store.ts'
906
+ export type {
907
+ InterpolatableRobotBoxImportInstructions,
908
+ InterpolatableRobotBoxImportInstructionsInput,
909
+ InterpolatableRobotBoxImportInstructionsWithHiddenFields,
910
+ InterpolatableRobotBoxImportInstructionsWithHiddenFieldsInput,
911
+ } from './box-import.ts'
912
+ export type {
913
+ InterpolatableRobotBoxStoreInstructions,
914
+ InterpolatableRobotBoxStoreInstructionsInput,
915
+ InterpolatableRobotBoxStoreInstructionsWithHiddenFields,
916
+ InterpolatableRobotBoxStoreInstructionsWithHiddenFieldsInput,
917
+ } from './box-store.ts'
775
918
  export type {
776
919
  InterpolatableRobotCloudfilesImportInstructions,
777
920
  InterpolatableRobotCloudfilesImportInstructionsInput,
@@ -970,12 +1113,24 @@ export type {
970
1113
  InterpolatableRobotImageBgremoveInstructionsWithHiddenFields,
971
1114
  InterpolatableRobotImageBgremoveInstructionsWithHiddenFieldsInput,
972
1115
  } from './image-bgremove.ts'
1116
+ export type {
1117
+ InterpolatableRobotImageCopyrightdetectInstructions,
1118
+ InterpolatableRobotImageCopyrightdetectInstructionsInput,
1119
+ InterpolatableRobotImageCopyrightdetectInstructionsWithHiddenFields,
1120
+ InterpolatableRobotImageCopyrightdetectInstructionsWithHiddenFieldsInput,
1121
+ } from './image-copyrightdetect.ts'
973
1122
  export type {
974
1123
  InterpolatableRobotImageDescribeInstructions,
975
1124
  InterpolatableRobotImageDescribeInstructionsInput,
976
1125
  InterpolatableRobotImageDescribeInstructionsWithHiddenFields,
977
1126
  InterpolatableRobotImageDescribeInstructionsWithHiddenFieldsInput,
978
1127
  } from './image-describe.ts'
1128
+ export type {
1129
+ InterpolatableRobotImageEnhanceInstructions,
1130
+ InterpolatableRobotImageEnhanceInstructionsInput,
1131
+ InterpolatableRobotImageEnhanceInstructionsWithHiddenFields,
1132
+ InterpolatableRobotImageEnhanceInstructionsWithHiddenFieldsInput,
1133
+ } from './image-enhance.ts'
979
1134
  export type {
980
1135
  InterpolatableRobotImageFacedetectInstructions,
981
1136
  InterpolatableRobotImageFacedetectInstructionsInput,
@@ -1012,6 +1167,24 @@ export type {
1012
1167
  InterpolatableRobotImageResizeInstructionsWithHiddenFields,
1013
1168
  InterpolatableRobotImageResizeInstructionsWithHiddenFieldsInput,
1014
1169
  } from './image-resize.ts'
1170
+ export type {
1171
+ InterpolatableRobotImageUpscaleInstructions,
1172
+ InterpolatableRobotImageUpscaleInstructionsInput,
1173
+ InterpolatableRobotImageUpscaleInstructionsWithHiddenFields,
1174
+ InterpolatableRobotImageUpscaleInstructionsWithHiddenFieldsInput,
1175
+ } from './image-upscale.ts'
1176
+ export type {
1177
+ InterpolatableRobotMegaImportInstructions,
1178
+ InterpolatableRobotMegaImportInstructionsInput,
1179
+ InterpolatableRobotMegaImportInstructionsWithHiddenFields,
1180
+ InterpolatableRobotMegaImportInstructionsWithHiddenFieldsInput,
1181
+ } from './mega-import.ts'
1182
+ export type {
1183
+ InterpolatableRobotMegaStoreInstructions,
1184
+ InterpolatableRobotMegaStoreInstructionsInput,
1185
+ InterpolatableRobotMegaStoreInstructionsWithHiddenFields,
1186
+ InterpolatableRobotMegaStoreInstructionsWithHiddenFieldsInput,
1187
+ } from './mega-store.ts'
1015
1188
  export type {
1016
1189
  InterpolatableRobotMetaReadInstructions,
1017
1190
  InterpolatableRobotMetaReadInstructionsInput,
@@ -1147,6 +1320,12 @@ export type {
1147
1320
  InterpolatableRobotVideoAdaptiveInstructionsWithHiddenFields,
1148
1321
  InterpolatableRobotVideoAdaptiveInstructionsWithHiddenFieldsInput,
1149
1322
  } from './video-adaptive.ts'
1323
+ export type {
1324
+ InterpolatableRobotVideoArtworkInstructions,
1325
+ InterpolatableRobotVideoArtworkInstructionsInput,
1326
+ InterpolatableRobotVideoArtworkInstructionsWithHiddenFields,
1327
+ InterpolatableRobotVideoArtworkInstructionsWithHiddenFieldsInput,
1328
+ } from './video-artwork.ts'
1150
1329
  export type {
1151
1330
  InterpolatableRobotVideoConcatInstructions,
1152
1331
  InterpolatableRobotVideoConcatInstructionsInput,
@@ -1159,6 +1338,12 @@ export type {
1159
1338
  InterpolatableRobotVideoEncodeInstructionsWithHiddenFields,
1160
1339
  InterpolatableRobotVideoEncodeInstructionsWithHiddenFieldsInput,
1161
1340
  } from './video-encode.ts'
1341
+ export type {
1342
+ InterpolatableRobotVideoGenerateInstructions,
1343
+ InterpolatableRobotVideoGenerateInstructionsInput,
1344
+ InterpolatableRobotVideoGenerateInstructionsWithHiddenFields,
1345
+ InterpolatableRobotVideoGenerateInstructionsWithHiddenFieldsInput,
1346
+ } from './video-generate.ts'
1162
1347
  export type {
1163
1348
  InterpolatableRobotVideoMergeInstructions,
1164
1349
  InterpolatableRobotVideoMergeInstructionsInput,
@@ -1171,6 +1356,12 @@ export type {
1171
1356
  InterpolatableRobotVideoOndemandInstructionsWithHiddenFields,
1172
1357
  InterpolatableRobotVideoOndemandInstructionsWithHiddenFieldsInput,
1173
1358
  } from './video-ondemand.ts'
1359
+ export type {
1360
+ InterpolatableRobotVideoSplitInstructions,
1361
+ InterpolatableRobotVideoSplitInstructionsInput,
1362
+ InterpolatableRobotVideoSplitInstructionsWithHiddenFields,
1363
+ InterpolatableRobotVideoSplitInstructionsWithHiddenFieldsInput,
1364
+ } from './video-split.ts'
1174
1365
  export type {
1175
1366
  InterpolatableRobotVideoSubtitleInstructions,
1176
1367
  InterpolatableRobotVideoSubtitleInstructionsInput,
@@ -22,12 +22,20 @@ export const robotNames = z.enum([
22
22
  'AudioConcatRobot',
23
23
  'AudioMergeRobot',
24
24
  'AudioArtworkRobot',
25
+ 'AudioSplitRobot',
26
+ 'BoxImportRobot',
27
+ 'BoxStoreRobot',
28
+ 'VideoArtworkRobot',
25
29
  'ImageFacedetectRobot',
26
30
  'ImageDescribeRobot',
31
+ 'ImageCopyrightdetectRobot',
27
32
  'ImageOcrRobot',
28
33
  'ImageBgremoveRobot',
34
+ 'ImageUpscaleRobot',
29
35
  'ImageGenerateRobot',
36
+ 'ImageEnhanceRobot',
30
37
  'DocumentOcrRobot',
38
+ 'DocumentOptimizeRobot',
31
39
  'SpeechTranscribeRobot',
32
40
  'VideoThumbsRobot',
33
41
  'FileVirusscanRobot',
@@ -52,10 +60,12 @@ export const robotNames = z.enum([
52
60
  'BackblazeImportRobot',
53
61
  'BackblazeStoreRobot',
54
62
  'MinioImportRobot',
63
+ 'MegaImportRobot',
55
64
  'TigrisImportRobot',
56
65
  'CloudflareImportRobot',
57
66
  'SupabaseImportRobot',
58
67
  'MinioStoreRobot',
68
+ 'MegaStoreRobot',
59
69
  'TigrisStoreRobot',
60
70
  'CloudflareStoreRobot',
61
71
  'SupabaseStoreRobot',
@@ -84,6 +94,8 @@ export const robotNames = z.enum([
84
94
  'FileHashRobot',
85
95
  'FileReadRobot',
86
96
  'VideoOndemandRobot',
97
+ 'VideoSplitRobot',
98
+ 'VideoGenerateRobot',
87
99
  'FileFilterRobot',
88
100
  'TextSpeakRobot',
89
101
  'TextTranslateRobot',
@@ -125,7 +137,6 @@ export const robotMetaSchema = z.object({
125
137
  extraChargeForImageResize: z.number().optional(),
126
138
 
127
139
  // Original keys from content repo:
128
- allowed_for_url_transform: z.boolean(),
129
140
  bytescount: z.number(),
130
141
  description: z.string().optional(),
131
142
  discount_factor: z.number(),
@@ -152,6 +163,7 @@ export const robotMetaSchema = z.object({
152
163
  'convert',
153
164
  'decompress',
154
165
  'detect',
166
+ 'enhance',
155
167
  'encode',
156
168
  'export',
157
169
  'extract',
@@ -169,6 +181,7 @@ export const robotMetaSchema = z.object({
169
181
  'scan',
170
182
  'serve',
171
183
  'speak',
184
+ 'split',
172
185
  'subtitle',
173
186
  'take',
174
187
  'transcode',
@@ -181,6 +194,7 @@ export const robotMetaSchema = z.object({
181
194
  ]),
182
195
  purpose_word: z.string(),
183
196
  purpose_words: z.string(),
197
+ hideCredentialsWarning: z.boolean().optional(),
184
198
  requires_credentials: z.literal(true).optional(),
185
199
  service_slug: z.enum([
186
200
  'artificial-intelligence',
@@ -443,6 +457,8 @@ Allows you to specify a set of metadata that is more expensive on CPU power to c
443
457
 
444
458
  For images, you can add \`"has_transparency": true\` in this object to extract if the image contains transparent parts and \`"dominant_colors": true\` to extract an array of hexadecimal color codes from the image.
445
459
 
460
+ For images, you can also add \`"blurhash": true\` to extract a [BlurHash](https://blurha.sh) string — a compact representation of a placeholder for the image, useful for showing a blurred preview while the full image loads.
461
+
446
462
  For videos, you can add the \`"colorspace: true"\` parameter to extract the colorspace of the output video.
447
463
 
448
464
  For audio, you can add \`"mean_volume": true\` to get a single value representing the mean average volume of the audio file.
@@ -571,6 +587,22 @@ Specifies which Step(s) to use as input.
571
587
  ]
572
588
  }
573
589
  \`\`\`
590
+ - You can also tag an input Step with \`as\` to pass semantic intent to robots:
591
+ - You can also tag input Steps with \`as\` to pass semantic intent to robots:
592
+ \`\`\`json
593
+ {
594
+ "use": [
595
+ {
596
+ "name": ":original",
597
+ "as": "image"
598
+ },
599
+ {
600
+ "name": ":original",
601
+ "as": "mask"
602
+ }
603
+ ]
604
+ }
605
+ \`\`\`
574
606
 
575
607
  > [!Tip]
576
608
  > That's likely all you need to know about \`use\`, but you can view [Advanced use cases](/docs/topics/use-parameter/).
@@ -600,6 +632,22 @@ Specifies which Step(s) to use as input.
600
632
  ]
601
633
  }
602
634
  \`\`\`
635
+ - You can also tag an input Step with \`as\` to pass semantic intent to robots:
636
+ - You can also tag input Steps with \`as\` to pass semantic intent to robots:
637
+ \`\`\`json
638
+ {
639
+ "use": [
640
+ {
641
+ "name": ":original",
642
+ "as": "image"
643
+ },
644
+ {
645
+ "name": ":original",
646
+ "as": "mask"
647
+ }
648
+ ]
649
+ }
650
+ \`\`\`
603
651
 
604
652
  > [!Tip]
605
653
  > That's likely all you need to know about \`use\`, but you can view [Advanced use cases](/docs/topics/use-parameter/).
@@ -621,7 +669,7 @@ export const complexWidthSchema = z.preprocess((val) => {
621
669
  return num
622
670
  }
623
671
  return val
624
- }, z.number().int().min(1).max(7680))
672
+ }, z.number().int().min(1).max(25_000))
625
673
 
626
674
  export const complexHeightSchema = z.preprocess((val) => {
627
675
  if (typeof val === 'string' && val.startsWith('${')) {
@@ -635,7 +683,7 @@ export const complexHeightSchema = z.preprocess((val) => {
635
683
  return num
636
684
  }
637
685
  return val
638
- }, z.number().int().min(1).max(4320))
686
+ }, z.number().int().min(1).max(25_000))
639
687
 
640
688
  /**
641
689
  * A robot that uses FFmpeg.
@@ -1252,6 +1300,24 @@ While we recommend to use <dfn>Template Credentials</dfn> at all times, some use
1252
1300
  })
1253
1301
  .strict()
1254
1302
 
1303
+ export type BoxBase = z.infer<typeof boxBase>
1304
+ export const boxBase = z
1305
+ .object({
1306
+ credentials: z
1307
+ .string()
1308
+ .optional()
1309
+ .describe(`
1310
+ Create a Box app in the [Box Developer Console](https://app.box.com/developers/console) using **Server Authentication (JWT)**.
1311
+
1312
+ Generate a public/private keypair for that app. Box will download a JSON config file (with \`boxAppSettings\` and \`appAuth\`) that includes your JWT private key material.
1313
+
1314
+ In your Transloadit account, create [Template Credentials](/c/template-credentials/) of type Box and paste that full JSON file into \`key_file_contents\`. Then set this \`credentials\` parameter to the Template Credentials name.
1315
+
1316
+ If your Box enterprise requires it, make sure the app is authorized by an admin before using it in production.
1317
+ `),
1318
+ })
1319
+ .strict()
1320
+
1255
1321
  export type CloudfilesBase = z.infer<typeof cloudfilesBase>
1256
1322
  export const cloudfilesBase = z
1257
1323
  .object({
@@ -1389,6 +1455,30 @@ While we recommend to use <dfn>Template Credentials</dfn> at all times, some use
1389
1455
  })
1390
1456
  .strict()
1391
1457
 
1458
+ export type MegaBase = z.infer<typeof megaBase>
1459
+ export const megaBase = z
1460
+ .object({
1461
+ credentials: z
1462
+ .string()
1463
+ .optional()
1464
+ .describe(`
1465
+ Please create your associated <dfn>Template Credentials</dfn> in your Transloadit account and use the name of your <dfn>Template Credentials</dfn> as this parameter's value. They will contain the values for your MEGA object storage bucket, Key, Secret and Bucket region.
1466
+
1467
+ While we recommend to use <dfn>Template Credentials</dfn> at all times, some use cases demand dynamic credentials for which using <dfn>Template Credentials</dfn> is too unwieldy because of their static nature. If you have this requirement, feel free to use the following parameters instead: \`"bucket"\`, \`"bucket_region"\`, \`"key"\`, \`"secret"\`.
1468
+ `),
1469
+ bucket: z.string().optional(),
1470
+ bucket_region: z
1471
+ .string()
1472
+ .optional()
1473
+ .describe(`
1474
+ The region where the bucket is located.
1475
+ `),
1476
+ host: z.string().optional(),
1477
+ key: z.string().optional(),
1478
+ secret: z.string().optional(),
1479
+ })
1480
+ .strict()
1481
+
1392
1482
  export type S3Base = z.infer<typeof s3Base>
1393
1483
  export const s3Base = z
1394
1484
  .object({