transloadit 4.13.1 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (637) hide show
  1. package/README.md +58 -6
  2. package/dist/ApiError.d.ts +6 -2
  3. package/dist/ApiError.d.ts.map +1 -1
  4. package/dist/ApiError.js +6 -2
  5. package/dist/ApiError.js.map +1 -1
  6. package/dist/Transloadit.d.ts +2 -0
  7. package/dist/Transloadit.d.ts.map +1 -1
  8. package/dist/Transloadit.js +15 -4
  9. package/dist/Transloadit.js.map +1 -1
  10. package/dist/alphalib/aiMessages.d.ts +33254 -0
  11. package/dist/alphalib/aiMessages.d.ts.map +1 -0
  12. package/dist/alphalib/aiMessages.js +479 -0
  13. package/dist/alphalib/aiMessages.js.map +1 -0
  14. package/dist/alphalib/assembly-linter.d.ts.map +1 -1
  15. package/dist/alphalib/assembly-linter.js +20 -15
  16. package/dist/alphalib/assembly-linter.js.map +1 -1
  17. package/dist/alphalib/englishList.d.ts +3 -0
  18. package/dist/alphalib/englishList.d.ts.map +1 -0
  19. package/dist/alphalib/englishList.js +12 -0
  20. package/dist/alphalib/englishList.js.map +1 -0
  21. package/dist/alphalib/errors.d.ts +16 -0
  22. package/dist/alphalib/errors.d.ts.map +1 -1
  23. package/dist/alphalib/errors.js +124 -13
  24. package/dist/alphalib/errors.js.map +1 -1
  25. package/dist/alphalib/imagemagickDensity.d.ts.map +1 -1
  26. package/dist/alphalib/imagemagickDensity.js +2 -2
  27. package/dist/alphalib/imagemagickDensity.js.map +1 -1
  28. package/dist/alphalib/lib/zodInputSemantics.d.ts +18 -0
  29. package/dist/alphalib/lib/zodInputSemantics.d.ts.map +1 -0
  30. package/dist/alphalib/lib/zodInputSemantics.js +86 -0
  31. package/dist/alphalib/lib/zodInputSemantics.js.map +1 -0
  32. package/dist/alphalib/object.d.ts +42 -2
  33. package/dist/alphalib/object.d.ts.map +1 -1
  34. package/dist/alphalib/object.js +133 -0
  35. package/dist/alphalib/object.js.map +1 -1
  36. package/dist/alphalib/stepParsing.d.ts +1 -0
  37. package/dist/alphalib/stepParsing.d.ts.map +1 -1
  38. package/dist/alphalib/stepParsing.js +9 -1
  39. package/dist/alphalib/stepParsing.js.map +1 -1
  40. package/dist/alphalib/types/apiParameterDescription.d.ts +14 -0
  41. package/dist/alphalib/types/apiParameterDescription.d.ts.map +1 -0
  42. package/dist/alphalib/types/apiParameterDescription.js +20 -0
  43. package/dist/alphalib/types/apiParameterDescription.js.map +1 -0
  44. package/dist/alphalib/types/assembliesGet.d.ts +1 -1
  45. package/dist/alphalib/types/assemblyReplay.d.ts +4 -4
  46. package/dist/alphalib/types/assemblyStatus.d.ts +7196 -64686
  47. package/dist/alphalib/types/assemblyStatus.d.ts.map +1 -1
  48. package/dist/alphalib/types/assemblyStatus.js +74 -55
  49. package/dist/alphalib/types/assemblyStatus.js.map +1 -1
  50. package/dist/alphalib/types/errorReason.d.ts +7 -0
  51. package/dist/alphalib/types/errorReason.d.ts.map +1 -0
  52. package/dist/alphalib/types/errorReason.js +14 -0
  53. package/dist/alphalib/types/errorReason.js.map +1 -0
  54. package/dist/alphalib/types/file.d.ts +7 -0
  55. package/dist/alphalib/types/file.d.ts.map +1 -1
  56. package/dist/alphalib/types/file.js +15 -0
  57. package/dist/alphalib/types/file.js.map +1 -1
  58. package/dist/alphalib/types/fileHash.d.ts +16 -0
  59. package/dist/alphalib/types/fileHash.d.ts.map +1 -0
  60. package/dist/alphalib/types/fileHash.js +10 -0
  61. package/dist/alphalib/types/fileHash.js.map +1 -0
  62. package/dist/alphalib/types/responseErrors/HttpImportRobot.d.ts +23 -0
  63. package/dist/alphalib/types/responseErrors/HttpImportRobot.d.ts.map +1 -0
  64. package/dist/alphalib/types/responseErrors/HttpImportRobot.js +23 -0
  65. package/dist/alphalib/types/responseErrors/HttpImportRobot.js.map +1 -0
  66. package/dist/alphalib/types/robots/_ai-models.d.ts +28 -0
  67. package/dist/alphalib/types/robots/_ai-models.d.ts.map +1 -0
  68. package/dist/alphalib/types/robots/_ai-models.js +80 -0
  69. package/dist/alphalib/types/robots/_ai-models.js.map +1 -0
  70. package/dist/alphalib/types/robots/_index.d.ts +713 -1329
  71. package/dist/alphalib/types/robots/_index.d.ts.map +1 -1
  72. package/dist/alphalib/types/robots/_index.js +4 -0
  73. package/dist/alphalib/types/robots/_index.js.map +1 -1
  74. package/dist/alphalib/types/robots/_instructions-primitives.d.ts +504 -129
  75. package/dist/alphalib/types/robots/_instructions-primitives.d.ts.map +1 -1
  76. package/dist/alphalib/types/robots/_instructions-primitives.js +629 -280
  77. package/dist/alphalib/types/robots/_instructions-primitives.js.map +1 -1
  78. package/dist/alphalib/types/robots/ai-chat.d.ts +952 -2189
  79. package/dist/alphalib/types/robots/ai-chat.d.ts.map +1 -1
  80. package/dist/alphalib/types/robots/ai-chat.js +235 -367
  81. package/dist/alphalib/types/robots/ai-chat.js.map +1 -1
  82. package/dist/alphalib/types/robots/assembly-savejson.d.ts +28 -16
  83. package/dist/alphalib/types/robots/assembly-savejson.d.ts.map +1 -1
  84. package/dist/alphalib/types/robots/assembly-savejson.js +2 -11
  85. package/dist/alphalib/types/robots/assembly-savejson.js.map +1 -1
  86. package/dist/alphalib/types/robots/audio-artwork.d.ts +80 -67
  87. package/dist/alphalib/types/robots/audio-artwork.d.ts.map +1 -1
  88. package/dist/alphalib/types/robots/audio-artwork.js +9 -38
  89. package/dist/alphalib/types/robots/audio-artwork.js.map +1 -1
  90. package/dist/alphalib/types/robots/audio-concat.d.ts +94 -81
  91. package/dist/alphalib/types/robots/audio-concat.d.ts.map +1 -1
  92. package/dist/alphalib/types/robots/audio-concat.js +11 -25
  93. package/dist/alphalib/types/robots/audio-concat.js.map +1 -1
  94. package/dist/alphalib/types/robots/audio-encode.d.ts +80 -67
  95. package/dist/alphalib/types/robots/audio-encode.d.ts.map +1 -1
  96. package/dist/alphalib/types/robots/audio-encode.js +13 -43
  97. package/dist/alphalib/types/robots/audio-encode.js.map +1 -1
  98. package/dist/alphalib/types/robots/audio-loop.d.ts +80 -67
  99. package/dist/alphalib/types/robots/audio-loop.d.ts.map +1 -1
  100. package/dist/alphalib/types/robots/audio-loop.js +12 -40
  101. package/dist/alphalib/types/robots/audio-loop.js.map +1 -1
  102. package/dist/alphalib/types/robots/audio-merge.d.ts +94 -81
  103. package/dist/alphalib/types/robots/audio-merge.d.ts.map +1 -1
  104. package/dist/alphalib/types/robots/audio-merge.js +11 -25
  105. package/dist/alphalib/types/robots/audio-merge.js.map +1 -1
  106. package/dist/alphalib/types/robots/audio-split.d.ts +80 -67
  107. package/dist/alphalib/types/robots/audio-split.d.ts.map +1 -1
  108. package/dist/alphalib/types/robots/audio-split.js +15 -45
  109. package/dist/alphalib/types/robots/audio-split.js.map +1 -1
  110. package/dist/alphalib/types/robots/audio-waveform.d.ts +120 -107
  111. package/dist/alphalib/types/robots/audio-waveform.d.ts.map +1 -1
  112. package/dist/alphalib/types/robots/audio-waveform.js +15 -39
  113. package/dist/alphalib/types/robots/audio-waveform.js.map +1 -1
  114. package/dist/alphalib/types/robots/azure-import.d.ts +48 -35
  115. package/dist/alphalib/types/robots/azure-import.d.ts.map +1 -1
  116. package/dist/alphalib/types/robots/azure-import.js +5 -35
  117. package/dist/alphalib/types/robots/azure-import.js.map +1 -1
  118. package/dist/alphalib/types/robots/azure-store.d.ts +87 -71
  119. package/dist/alphalib/types/robots/azure-store.d.ts.map +1 -1
  120. package/dist/alphalib/types/robots/azure-store.js +11 -50
  121. package/dist/alphalib/types/robots/azure-store.js.map +1 -1
  122. package/dist/alphalib/types/robots/backblaze-import.d.ts +48 -35
  123. package/dist/alphalib/types/robots/backblaze-import.d.ts.map +1 -1
  124. package/dist/alphalib/types/robots/backblaze-import.js +6 -39
  125. package/dist/alphalib/types/robots/backblaze-import.js.map +1 -1
  126. package/dist/alphalib/types/robots/backblaze-store.d.ts +80 -67
  127. package/dist/alphalib/types/robots/backblaze-store.d.ts.map +1 -1
  128. package/dist/alphalib/types/robots/backblaze-store.js +8 -44
  129. package/dist/alphalib/types/robots/backblaze-store.js.map +1 -1
  130. package/dist/alphalib/types/robots/box-import.d.ts +44 -27
  131. package/dist/alphalib/types/robots/box-import.d.ts.map +1 -1
  132. package/dist/alphalib/types/robots/box-import.js +7 -33
  133. package/dist/alphalib/types/robots/box-import.js.map +1 -1
  134. package/dist/alphalib/types/robots/box-store.d.ts +85 -68
  135. package/dist/alphalib/types/robots/box-store.d.ts.map +1 -1
  136. package/dist/alphalib/types/robots/box-store.js +8 -40
  137. package/dist/alphalib/types/robots/box-store.js.map +1 -1
  138. package/dist/alphalib/types/robots/cloudfiles-import.d.ts +48 -35
  139. package/dist/alphalib/types/robots/cloudfiles-import.d.ts.map +1 -1
  140. package/dist/alphalib/types/robots/cloudfiles-import.js +8 -45
  141. package/dist/alphalib/types/robots/cloudfiles-import.js.map +1 -1
  142. package/dist/alphalib/types/robots/cloudfiles-store.d.ts +80 -67
  143. package/dist/alphalib/types/robots/cloudfiles-store.d.ts.map +1 -1
  144. package/dist/alphalib/types/robots/cloudfiles-store.js +5 -36
  145. package/dist/alphalib/types/robots/cloudfiles-store.js.map +1 -1
  146. package/dist/alphalib/types/robots/cloudflare-import.d.ts +48 -35
  147. package/dist/alphalib/types/robots/cloudflare-import.d.ts.map +1 -1
  148. package/dist/alphalib/types/robots/cloudflare-import.js +10 -57
  149. package/dist/alphalib/types/robots/cloudflare-import.js.map +1 -1
  150. package/dist/alphalib/types/robots/cloudflare-store.d.ts +80 -67
  151. package/dist/alphalib/types/robots/cloudflare-store.d.ts.map +1 -1
  152. package/dist/alphalib/types/robots/cloudflare-store.js +11 -54
  153. package/dist/alphalib/types/robots/cloudflare-store.js.map +1 -1
  154. package/dist/alphalib/types/robots/digitalocean-import.d.ts +56 -43
  155. package/dist/alphalib/types/robots/digitalocean-import.d.ts.map +1 -1
  156. package/dist/alphalib/types/robots/digitalocean-import.js +8 -49
  157. package/dist/alphalib/types/robots/digitalocean-import.js.map +1 -1
  158. package/dist/alphalib/types/robots/digitalocean-store.d.ts +88 -75
  159. package/dist/alphalib/types/robots/digitalocean-store.d.ts.map +1 -1
  160. package/dist/alphalib/types/robots/digitalocean-store.js +8 -56
  161. package/dist/alphalib/types/robots/digitalocean-store.js.map +1 -1
  162. package/dist/alphalib/types/robots/document-autorotate.d.ts +80 -67
  163. package/dist/alphalib/types/robots/document-autorotate.d.ts.map +1 -1
  164. package/dist/alphalib/types/robots/document-autorotate.js +5 -32
  165. package/dist/alphalib/types/robots/document-autorotate.js.map +1 -1
  166. package/dist/alphalib/types/robots/document-convert.d.ts +84 -71
  167. package/dist/alphalib/types/robots/document-convert.d.ts.map +1 -1
  168. package/dist/alphalib/types/robots/document-convert.js +7 -33
  169. package/dist/alphalib/types/robots/document-convert.js.map +1 -1
  170. package/dist/alphalib/types/robots/document-extract.d.ts +80 -67
  171. package/dist/alphalib/types/robots/document-extract.d.ts.map +1 -1
  172. package/dist/alphalib/types/robots/document-extract.js +10 -36
  173. package/dist/alphalib/types/robots/document-extract.js.map +1 -1
  174. package/dist/alphalib/types/robots/document-merge.d.ts +80 -67
  175. package/dist/alphalib/types/robots/document-merge.d.ts.map +1 -1
  176. package/dist/alphalib/types/robots/document-merge.js +4 -25
  177. package/dist/alphalib/types/robots/document-merge.js.map +1 -1
  178. package/dist/alphalib/types/robots/document-ocr.d.ts +80 -67
  179. package/dist/alphalib/types/robots/document-ocr.d.ts.map +1 -1
  180. package/dist/alphalib/types/robots/document-ocr.js +10 -47
  181. package/dist/alphalib/types/robots/document-ocr.js.map +1 -1
  182. package/dist/alphalib/types/robots/document-optimize.d.ts +80 -67
  183. package/dist/alphalib/types/robots/document-optimize.d.ts.map +1 -1
  184. package/dist/alphalib/types/robots/document-optimize.js +7 -31
  185. package/dist/alphalib/types/robots/document-optimize.js.map +1 -1
  186. package/dist/alphalib/types/robots/document-split.d.ts +80 -67
  187. package/dist/alphalib/types/robots/document-split.d.ts.map +1 -1
  188. package/dist/alphalib/types/robots/document-split.js +7 -34
  189. package/dist/alphalib/types/robots/document-split.js.map +1 -1
  190. package/dist/alphalib/types/robots/document-thumbs.d.ts +120 -101
  191. package/dist/alphalib/types/robots/document-thumbs.d.ts.map +1 -1
  192. package/dist/alphalib/types/robots/document-thumbs.js +24 -31
  193. package/dist/alphalib/types/robots/document-thumbs.js.map +1 -1
  194. package/dist/alphalib/types/robots/dropbox-import.d.ts +40 -27
  195. package/dist/alphalib/types/robots/dropbox-import.d.ts.map +1 -1
  196. package/dist/alphalib/types/robots/dropbox-import.js +5 -35
  197. package/dist/alphalib/types/robots/dropbox-import.js.map +1 -1
  198. package/dist/alphalib/types/robots/dropbox-store.d.ts +84 -68
  199. package/dist/alphalib/types/robots/dropbox-store.d.ts.map +1 -1
  200. package/dist/alphalib/types/robots/dropbox-store.js +8 -42
  201. package/dist/alphalib/types/robots/dropbox-store.js.map +1 -1
  202. package/dist/alphalib/types/robots/edgly-deliver.d.ts +32 -19
  203. package/dist/alphalib/types/robots/edgly-deliver.d.ts.map +1 -1
  204. package/dist/alphalib/types/robots/edgly-deliver.js +4 -24
  205. package/dist/alphalib/types/robots/edgly-deliver.js.map +1 -1
  206. package/dist/alphalib/types/robots/file-compress.d.ts +80 -67
  207. package/dist/alphalib/types/robots/file-compress.d.ts.map +1 -1
  208. package/dist/alphalib/types/robots/file-compress.js +4 -20
  209. package/dist/alphalib/types/robots/file-compress.js.map +1 -1
  210. package/dist/alphalib/types/robots/file-decompress.d.ts +96 -83
  211. package/dist/alphalib/types/robots/file-decompress.d.ts.map +1 -1
  212. package/dist/alphalib/types/robots/file-decompress.js +10 -41
  213. package/dist/alphalib/types/robots/file-decompress.js.map +1 -1
  214. package/dist/alphalib/types/robots/file-filter.d.ts +99 -87
  215. package/dist/alphalib/types/robots/file-filter.d.ts.map +1 -1
  216. package/dist/alphalib/types/robots/file-filter.js +11 -40
  217. package/dist/alphalib/types/robots/file-filter.js.map +1 -1
  218. package/dist/alphalib/types/robots/file-hash.d.ts +84 -71
  219. package/dist/alphalib/types/robots/file-hash.d.ts.map +1 -1
  220. package/dist/alphalib/types/robots/file-hash.js +12 -43
  221. package/dist/alphalib/types/robots/file-hash.js.map +1 -1
  222. package/dist/alphalib/types/robots/file-preview.d.ts +113 -100
  223. package/dist/alphalib/types/robots/file-preview.d.ts.map +1 -1
  224. package/dist/alphalib/types/robots/file-preview.js +14 -39
  225. package/dist/alphalib/types/robots/file-preview.js.map +1 -1
  226. package/dist/alphalib/types/robots/file-read.d.ts +80 -67
  227. package/dist/alphalib/types/robots/file-read.d.ts.map +1 -1
  228. package/dist/alphalib/types/robots/file-read.js +5 -26
  229. package/dist/alphalib/types/robots/file-read.js.map +1 -1
  230. package/dist/alphalib/types/robots/file-serve.d.ts +81 -68
  231. package/dist/alphalib/types/robots/file-serve.d.ts.map +1 -1
  232. package/dist/alphalib/types/robots/file-serve.js +4 -21
  233. package/dist/alphalib/types/robots/file-serve.js.map +1 -1
  234. package/dist/alphalib/types/robots/file-verify.d.ts +88 -75
  235. package/dist/alphalib/types/robots/file-verify.d.ts.map +1 -1
  236. package/dist/alphalib/types/robots/file-verify.js +11 -41
  237. package/dist/alphalib/types/robots/file-verify.js.map +1 -1
  238. package/dist/alphalib/types/robots/file-virusscan.d.ts +83 -67
  239. package/dist/alphalib/types/robots/file-virusscan.d.ts.map +1 -1
  240. package/dist/alphalib/types/robots/file-virusscan.js +16 -42
  241. package/dist/alphalib/types/robots/file-virusscan.js.map +1 -1
  242. package/dist/alphalib/types/robots/file-watermark.d.ts +81 -67
  243. package/dist/alphalib/types/robots/file-watermark.d.ts.map +1 -1
  244. package/dist/alphalib/types/robots/file-watermark.js +10 -29
  245. package/dist/alphalib/types/robots/file-watermark.js.map +1 -1
  246. package/dist/alphalib/types/robots/ftp-import.d.ts +40 -27
  247. package/dist/alphalib/types/robots/ftp-import.d.ts.map +1 -1
  248. package/dist/alphalib/types/robots/ftp-import.js +5 -33
  249. package/dist/alphalib/types/robots/ftp-import.js.map +1 -1
  250. package/dist/alphalib/types/robots/ftp-store.d.ts +85 -67
  251. package/dist/alphalib/types/robots/ftp-store.d.ts.map +1 -1
  252. package/dist/alphalib/types/robots/ftp-store.js +7 -34
  253. package/dist/alphalib/types/robots/ftp-store.js.map +1 -1
  254. package/dist/alphalib/types/robots/google-import.d.ts +48 -35
  255. package/dist/alphalib/types/robots/google-import.d.ts.map +1 -1
  256. package/dist/alphalib/types/robots/google-import.js +10 -43
  257. package/dist/alphalib/types/robots/google-import.js.map +1 -1
  258. package/dist/alphalib/types/robots/google-store.d.ts +80 -67
  259. package/dist/alphalib/types/robots/google-store.d.ts.map +1 -1
  260. package/dist/alphalib/types/robots/google-store.js +10 -41
  261. package/dist/alphalib/types/robots/google-store.js.map +1 -1
  262. package/dist/alphalib/types/robots/html-convert.d.ts +107 -89
  263. package/dist/alphalib/types/robots/html-convert.d.ts.map +1 -1
  264. package/dist/alphalib/types/robots/html-convert.js +6 -22
  265. package/dist/alphalib/types/robots/html-convert.js.map +1 -1
  266. package/dist/alphalib/types/robots/http-import.d.ts +76 -63
  267. package/dist/alphalib/types/robots/http-import.d.ts.map +1 -1
  268. package/dist/alphalib/types/robots/http-import.js +14 -19
  269. package/dist/alphalib/types/robots/http-import.js.map +1 -1
  270. package/dist/alphalib/types/robots/http-request.d.ts +538 -0
  271. package/dist/alphalib/types/robots/http-request.d.ts.map +1 -0
  272. package/dist/alphalib/types/robots/http-request.js +162 -0
  273. package/dist/alphalib/types/robots/http-request.js.map +1 -0
  274. package/dist/alphalib/types/robots/image-bgremove.d.ts +80 -67
  275. package/dist/alphalib/types/robots/image-bgremove.d.ts.map +1 -1
  276. package/dist/alphalib/types/robots/image-bgremove.js +6 -33
  277. package/dist/alphalib/types/robots/image-bgremove.js.map +1 -1
  278. package/dist/alphalib/types/robots/image-copyrightdetect.d.ts +92 -79
  279. package/dist/alphalib/types/robots/image-copyrightdetect.d.ts.map +1 -1
  280. package/dist/alphalib/types/robots/image-copyrightdetect.js +9 -33
  281. package/dist/alphalib/types/robots/image-copyrightdetect.js.map +1 -1
  282. package/dist/alphalib/types/robots/image-describe.d.ts +80 -67
  283. package/dist/alphalib/types/robots/image-describe.d.ts.map +1 -1
  284. package/dist/alphalib/types/robots/image-describe.js +8 -37
  285. package/dist/alphalib/types/robots/image-describe.js.map +1 -1
  286. package/dist/alphalib/types/robots/image-enhance.d.ts +80 -67
  287. package/dist/alphalib/types/robots/image-enhance.d.ts.map +1 -1
  288. package/dist/alphalib/types/robots/image-enhance.js +7 -31
  289. package/dist/alphalib/types/robots/image-enhance.js.map +1 -1
  290. package/dist/alphalib/types/robots/image-facedetect.d.ts +88 -75
  291. package/dist/alphalib/types/robots/image-facedetect.d.ts.map +1 -1
  292. package/dist/alphalib/types/robots/image-facedetect.js +16 -44
  293. package/dist/alphalib/types/robots/image-facedetect.js.map +1 -1
  294. package/dist/alphalib/types/robots/image-generate.d.ts +96 -86
  295. package/dist/alphalib/types/robots/image-generate.d.ts.map +1 -1
  296. package/dist/alphalib/types/robots/image-generate.js +20 -25
  297. package/dist/alphalib/types/robots/image-generate.js.map +1 -1
  298. package/dist/alphalib/types/robots/image-merge.d.ts +96 -83
  299. package/dist/alphalib/types/robots/image-merge.d.ts.map +1 -1
  300. package/dist/alphalib/types/robots/image-merge.js +9 -40
  301. package/dist/alphalib/types/robots/image-merge.js.map +1 -1
  302. package/dist/alphalib/types/robots/image-ocr.d.ts +80 -67
  303. package/dist/alphalib/types/robots/image-ocr.d.ts.map +1 -1
  304. package/dist/alphalib/types/robots/image-ocr.js +11 -47
  305. package/dist/alphalib/types/robots/image-ocr.js.map +1 -1
  306. package/dist/alphalib/types/robots/image-optimize.d.ts +88 -75
  307. package/dist/alphalib/types/robots/image-optimize.d.ts.map +1 -1
  308. package/dist/alphalib/types/robots/image-optimize.js +6 -32
  309. package/dist/alphalib/types/robots/image-optimize.js.map +1 -1
  310. package/dist/alphalib/types/robots/image-resize.d.ts +217 -112
  311. package/dist/alphalib/types/robots/image-resize.d.ts.map +1 -1
  312. package/dist/alphalib/types/robots/image-resize.js +15 -42
  313. package/dist/alphalib/types/robots/image-resize.js.map +1 -1
  314. package/dist/alphalib/types/robots/image-upscale.d.ts +97 -81
  315. package/dist/alphalib/types/robots/image-upscale.d.ts.map +1 -1
  316. package/dist/alphalib/types/robots/image-upscale.js +23 -42
  317. package/dist/alphalib/types/robots/image-upscale.js.map +1 -1
  318. package/dist/alphalib/types/robots/mega-import.d.ts +48 -35
  319. package/dist/alphalib/types/robots/mega-import.d.ts.map +1 -1
  320. package/dist/alphalib/types/robots/mega-import.js +12 -59
  321. package/dist/alphalib/types/robots/mega-import.js.map +1 -1
  322. package/dist/alphalib/types/robots/mega-store.d.ts +80 -67
  323. package/dist/alphalib/types/robots/mega-store.d.ts.map +1 -1
  324. package/dist/alphalib/types/robots/mega-store.js +14 -60
  325. package/dist/alphalib/types/robots/mega-store.js.map +1 -1
  326. package/dist/alphalib/types/robots/meta-read.d.ts +30 -16
  327. package/dist/alphalib/types/robots/meta-read.d.ts.map +1 -1
  328. package/dist/alphalib/types/robots/meta-read.js +4 -20
  329. package/dist/alphalib/types/robots/meta-read.js.map +1 -1
  330. package/dist/alphalib/types/robots/meta-write.d.ts +80 -67
  331. package/dist/alphalib/types/robots/meta-write.d.ts.map +1 -1
  332. package/dist/alphalib/types/robots/meta-write.js +9 -32
  333. package/dist/alphalib/types/robots/meta-write.js.map +1 -1
  334. package/dist/alphalib/types/robots/minio-import.d.ts +48 -35
  335. package/dist/alphalib/types/robots/minio-import.d.ts.map +1 -1
  336. package/dist/alphalib/types/robots/minio-import.js +9 -60
  337. package/dist/alphalib/types/robots/minio-import.js.map +1 -1
  338. package/dist/alphalib/types/robots/minio-store.d.ts +80 -67
  339. package/dist/alphalib/types/robots/minio-store.d.ts.map +1 -1
  340. package/dist/alphalib/types/robots/minio-store.js +9 -50
  341. package/dist/alphalib/types/robots/minio-store.js.map +1 -1
  342. package/dist/alphalib/types/robots/progress-simulate.d.ts +34 -28
  343. package/dist/alphalib/types/robots/progress-simulate.d.ts.map +1 -1
  344. package/dist/alphalib/types/robots/progress-simulate.js +8 -28
  345. package/dist/alphalib/types/robots/progress-simulate.js.map +1 -1
  346. package/dist/alphalib/types/robots/s3-import.d.ts +48 -35
  347. package/dist/alphalib/types/robots/s3-import.d.ts.map +1 -1
  348. package/dist/alphalib/types/robots/s3-import.js +7 -38
  349. package/dist/alphalib/types/robots/s3-import.js.map +1 -1
  350. package/dist/alphalib/types/robots/s3-store.d.ts +84 -68
  351. package/dist/alphalib/types/robots/s3-store.d.ts.map +1 -1
  352. package/dist/alphalib/types/robots/s3-store.js +14 -44
  353. package/dist/alphalib/types/robots/s3-store.js.map +1 -1
  354. package/dist/alphalib/types/robots/script-run.d.ts +83 -67
  355. package/dist/alphalib/types/robots/script-run.d.ts.map +1 -1
  356. package/dist/alphalib/types/robots/script-run.js +9 -27
  357. package/dist/alphalib/types/robots/script-run.js.map +1 -1
  358. package/dist/alphalib/types/robots/sftp-import.d.ts +51 -35
  359. package/dist/alphalib/types/robots/sftp-import.d.ts.map +1 -1
  360. package/dist/alphalib/types/robots/sftp-import.js +7 -36
  361. package/dist/alphalib/types/robots/sftp-import.js.map +1 -1
  362. package/dist/alphalib/types/robots/sftp-store.d.ts +83 -67
  363. package/dist/alphalib/types/robots/sftp-store.d.ts.map +1 -1
  364. package/dist/alphalib/types/robots/sftp-store.js +9 -41
  365. package/dist/alphalib/types/robots/sftp-store.js.map +1 -1
  366. package/dist/alphalib/types/robots/speech-transcribe.d.ts +102 -85
  367. package/dist/alphalib/types/robots/speech-transcribe.d.ts.map +1 -1
  368. package/dist/alphalib/types/robots/speech-transcribe.js +23 -44
  369. package/dist/alphalib/types/robots/speech-transcribe.js.map +1 -1
  370. package/dist/alphalib/types/robots/supabase-import.d.ts +48 -35
  371. package/dist/alphalib/types/robots/supabase-import.d.ts.map +1 -1
  372. package/dist/alphalib/types/robots/supabase-import.js +12 -59
  373. package/dist/alphalib/types/robots/supabase-import.js.map +1 -1
  374. package/dist/alphalib/types/robots/supabase-store.d.ts +80 -79
  375. package/dist/alphalib/types/robots/supabase-store.d.ts.map +1 -1
  376. package/dist/alphalib/types/robots/supabase-store.js +12 -56
  377. package/dist/alphalib/types/robots/supabase-store.js.map +1 -1
  378. package/dist/alphalib/types/robots/swift-import.d.ts +48 -47
  379. package/dist/alphalib/types/robots/swift-import.d.ts.map +1 -1
  380. package/dist/alphalib/types/robots/swift-import.js +14 -55
  381. package/dist/alphalib/types/robots/swift-import.js.map +1 -1
  382. package/dist/alphalib/types/robots/swift-store.d.ts +80 -79
  383. package/dist/alphalib/types/robots/swift-store.d.ts.map +1 -1
  384. package/dist/alphalib/types/robots/swift-store.js +14 -62
  385. package/dist/alphalib/types/robots/swift-store.js.map +1 -1
  386. package/dist/alphalib/types/robots/text-speak.d.ts +80 -67
  387. package/dist/alphalib/types/robots/text-speak.d.ts.map +1 -1
  388. package/dist/alphalib/types/robots/text-speak.js +11 -37
  389. package/dist/alphalib/types/robots/text-speak.js.map +1 -1
  390. package/dist/alphalib/types/robots/text-translate.d.ts +92 -79
  391. package/dist/alphalib/types/robots/text-translate.d.ts.map +1 -1
  392. package/dist/alphalib/types/robots/text-translate.js +9 -36
  393. package/dist/alphalib/types/robots/text-translate.js.map +1 -1
  394. package/dist/alphalib/types/robots/tigris-import.d.ts +48 -35
  395. package/dist/alphalib/types/robots/tigris-import.d.ts.map +1 -1
  396. package/dist/alphalib/types/robots/tigris-import.js +9 -60
  397. package/dist/alphalib/types/robots/tigris-import.js.map +1 -1
  398. package/dist/alphalib/types/robots/tigris-store.d.ts +80 -67
  399. package/dist/alphalib/types/robots/tigris-store.d.ts.map +1 -1
  400. package/dist/alphalib/types/robots/tigris-store.js +7 -48
  401. package/dist/alphalib/types/robots/tigris-store.js.map +1 -1
  402. package/dist/alphalib/types/robots/tlcdn-deliver.d.ts +32 -19
  403. package/dist/alphalib/types/robots/tlcdn-deliver.d.ts.map +1 -1
  404. package/dist/alphalib/types/robots/tlcdn-deliver.js +4 -25
  405. package/dist/alphalib/types/robots/tlcdn-deliver.js.map +1 -1
  406. package/dist/alphalib/types/robots/transloadit-import.d.ts +58 -45
  407. package/dist/alphalib/types/robots/transloadit-import.d.ts.map +1 -1
  408. package/dist/alphalib/types/robots/transloadit-import.js +17 -21
  409. package/dist/alphalib/types/robots/transloadit-import.js.map +1 -1
  410. package/dist/alphalib/types/robots/transloadit-store.d.ts +70 -57
  411. package/dist/alphalib/types/robots/transloadit-store.d.ts.map +1 -1
  412. package/dist/alphalib/types/robots/transloadit-store.js +14 -6
  413. package/dist/alphalib/types/robots/transloadit-store.js.map +1 -1
  414. package/dist/alphalib/types/robots/tus-store.d.ts +84 -71
  415. package/dist/alphalib/types/robots/tus-store.d.ts.map +1 -1
  416. package/dist/alphalib/types/robots/tus-store.js +8 -37
  417. package/dist/alphalib/types/robots/tus-store.js.map +1 -1
  418. package/dist/alphalib/types/robots/upload-handle.d.ts +32 -19
  419. package/dist/alphalib/types/robots/upload-handle.d.ts.map +1 -1
  420. package/dist/alphalib/types/robots/upload-handle.js +4 -19
  421. package/dist/alphalib/types/robots/upload-handle.js.map +1 -1
  422. package/dist/alphalib/types/robots/video-adaptive.d.ts +112 -99
  423. package/dist/alphalib/types/robots/video-adaptive.d.ts.map +1 -1
  424. package/dist/alphalib/types/robots/video-adaptive.js +4 -26
  425. package/dist/alphalib/types/robots/video-adaptive.js.map +1 -1
  426. package/dist/alphalib/types/robots/video-artwork.d.ts +80 -67
  427. package/dist/alphalib/types/robots/video-artwork.d.ts.map +1 -1
  428. package/dist/alphalib/types/robots/video-artwork.js +7 -32
  429. package/dist/alphalib/types/robots/video-artwork.js.map +1 -1
  430. package/dist/alphalib/types/robots/video-concat.d.ts +104 -91
  431. package/dist/alphalib/types/robots/video-concat.d.ts.map +1 -1
  432. package/dist/alphalib/types/robots/video-concat.js +6 -27
  433. package/dist/alphalib/types/robots/video-concat.js.map +1 -1
  434. package/dist/alphalib/types/robots/video-encode.d.ts +121 -103
  435. package/dist/alphalib/types/robots/video-encode.d.ts.map +1 -1
  436. package/dist/alphalib/types/robots/video-encode.js +13 -38
  437. package/dist/alphalib/types/robots/video-encode.js.map +1 -1
  438. package/dist/alphalib/types/robots/video-generate.d.ts +96 -86
  439. package/dist/alphalib/types/robots/video-generate.d.ts.map +1 -1
  440. package/dist/alphalib/types/robots/video-generate.js +11 -18
  441. package/dist/alphalib/types/robots/video-generate.js.map +1 -1
  442. package/dist/alphalib/types/robots/video-merge.d.ts +135 -119
  443. package/dist/alphalib/types/robots/video-merge.d.ts.map +1 -1
  444. package/dist/alphalib/types/robots/video-merge.js +12 -32
  445. package/dist/alphalib/types/robots/video-merge.js.map +1 -1
  446. package/dist/alphalib/types/robots/video-ondemand.d.ts +156 -139
  447. package/dist/alphalib/types/robots/video-ondemand.d.ts.map +1 -1
  448. package/dist/alphalib/types/robots/video-ondemand.js +11 -27
  449. package/dist/alphalib/types/robots/video-ondemand.js.map +1 -1
  450. package/dist/alphalib/types/robots/video-split.d.ts +104 -91
  451. package/dist/alphalib/types/robots/video-split.d.ts.map +1 -1
  452. package/dist/alphalib/types/robots/video-split.js +11 -39
  453. package/dist/alphalib/types/robots/video-split.js.map +1 -1
  454. package/dist/alphalib/types/robots/video-subtitle.d.ts +104 -91
  455. package/dist/alphalib/types/robots/video-subtitle.d.ts.map +1 -1
  456. package/dist/alphalib/types/robots/video-subtitle.js +7 -30
  457. package/dist/alphalib/types/robots/video-subtitle.js.map +1 -1
  458. package/dist/alphalib/types/robots/video-thumbs.d.ts +112 -95
  459. package/dist/alphalib/types/robots/video-thumbs.d.ts.map +1 -1
  460. package/dist/alphalib/types/robots/video-thumbs.js +46 -53
  461. package/dist/alphalib/types/robots/video-thumbs.js.map +1 -1
  462. package/dist/alphalib/types/robots/vimeo-import.d.ts +30 -17
  463. package/dist/alphalib/types/robots/vimeo-import.d.ts.map +1 -1
  464. package/dist/alphalib/types/robots/vimeo-import.js +7 -17
  465. package/dist/alphalib/types/robots/vimeo-import.js.map +1 -1
  466. package/dist/alphalib/types/robots/vimeo-store.d.ts +83 -67
  467. package/dist/alphalib/types/robots/vimeo-store.d.ts.map +1 -1
  468. package/dist/alphalib/types/robots/vimeo-store.js +11 -37
  469. package/dist/alphalib/types/robots/vimeo-store.js.map +1 -1
  470. package/dist/alphalib/types/robots/wasabi-import.d.ts +48 -35
  471. package/dist/alphalib/types/robots/wasabi-import.d.ts.map +1 -1
  472. package/dist/alphalib/types/robots/wasabi-import.js +9 -56
  473. package/dist/alphalib/types/robots/wasabi-import.js.map +1 -1
  474. package/dist/alphalib/types/robots/wasabi-store.d.ts +80 -67
  475. package/dist/alphalib/types/robots/wasabi-store.d.ts.map +1 -1
  476. package/dist/alphalib/types/robots/wasabi-store.js +10 -52
  477. package/dist/alphalib/types/robots/wasabi-store.js.map +1 -1
  478. package/dist/alphalib/types/robots/youtube-store.d.ts +98 -85
  479. package/dist/alphalib/types/robots/youtube-store.d.ts.map +1 -1
  480. package/dist/alphalib/types/robots/youtube-store.js +42 -63
  481. package/dist/alphalib/types/robots/youtube-store.js.map +1 -1
  482. package/dist/alphalib/types/stackVersions.d.ts +40 -1
  483. package/dist/alphalib/types/stackVersions.d.ts.map +1 -1
  484. package/dist/alphalib/types/stackVersions.js +25 -3
  485. package/dist/alphalib/types/stackVersions.js.map +1 -1
  486. package/dist/alphalib/types/storageAsset.d.ts +55 -23
  487. package/dist/alphalib/types/storageAsset.d.ts.map +1 -1
  488. package/dist/alphalib/types/storageAsset.js +33 -9
  489. package/dist/alphalib/types/storageAsset.js.map +1 -1
  490. package/dist/alphalib/types/template.d.ts +16 -16
  491. package/dist/alphalib/types/templateCredential.d.ts +2 -2
  492. package/dist/alphalib/types/utility.d.ts +22 -0
  493. package/dist/alphalib/types/utility.d.ts.map +1 -0
  494. package/dist/alphalib/types/utility.js +2 -0
  495. package/dist/alphalib/types/utility.js.map +1 -0
  496. package/dist/cli/commands/storage.d.ts +1 -0
  497. package/dist/cli/commands/storage.d.ts.map +1 -1
  498. package/dist/cli/commands/storage.js +27 -2
  499. package/dist/cli/commands/storage.js.map +1 -1
  500. package/dist/cli/semanticIntents/imageGenerate.d.ts +2 -2
  501. package/dist/cli/semanticIntents/imageGenerate.js +4 -4
  502. package/dist/cli/semanticIntents/imageGenerate.js.map +1 -1
  503. package/dist/cli/storageReceipts.d.ts.map +1 -1
  504. package/dist/cli/storageReceipts.js +4 -1
  505. package/dist/cli/storageReceipts.js.map +1 -1
  506. package/dist/storageImage.d.ts +6 -3
  507. package/dist/storageImage.d.ts.map +1 -1
  508. package/dist/storageImage.js +13 -0
  509. package/dist/storageImage.js.map +1 -1
  510. package/package.json +1 -2
  511. package/src/ApiError.ts +11 -4
  512. package/src/Transloadit.ts +24 -5
  513. package/src/alphalib/aiMessages.ts +554 -0
  514. package/src/alphalib/assembly-linter.ts +9 -2
  515. package/src/alphalib/englishList.ts +11 -0
  516. package/src/alphalib/errors.ts +159 -13
  517. package/src/alphalib/imagemagickDensity.ts +2 -1
  518. package/src/alphalib/lib/zodInputSemantics.ts +114 -0
  519. package/src/alphalib/object.ts +178 -3
  520. package/src/alphalib/stepParsing.ts +10 -2
  521. package/src/alphalib/types/apiParameterDescription.ts +41 -0
  522. package/src/alphalib/types/assemblyStatus.ts +121 -83
  523. package/src/alphalib/types/errorReason.ts +14 -0
  524. package/src/alphalib/types/file.ts +18 -0
  525. package/src/alphalib/types/fileHash.ts +10 -0
  526. package/src/alphalib/types/responseErrors/HttpImportRobot.ts +22 -0
  527. package/src/alphalib/types/robots/_ai-models.ts +91 -0
  528. package/src/alphalib/types/robots/_index.ts +14 -0
  529. package/src/alphalib/types/robots/_instructions-primitives.ts +841 -308
  530. package/src/alphalib/types/robots/ai-chat.ts +358 -459
  531. package/src/alphalib/types/robots/assembly-savejson.ts +2 -11
  532. package/src/alphalib/types/robots/audio-artwork.ts +35 -61
  533. package/src/alphalib/types/robots/audio-concat.ts +17 -25
  534. package/src/alphalib/types/robots/audio-encode.ts +35 -65
  535. package/src/alphalib/types/robots/audio-loop.ts +34 -61
  536. package/src/alphalib/types/robots/audio-merge.ts +17 -25
  537. package/src/alphalib/types/robots/audio-split.ts +37 -67
  538. package/src/alphalib/types/robots/audio-waveform.ts +42 -65
  539. package/src/alphalib/types/robots/azure-import.ts +26 -57
  540. package/src/alphalib/types/robots/azure-store.ts +48 -72
  541. package/src/alphalib/types/robots/backblaze-import.ts +30 -63
  542. package/src/alphalib/types/robots/backblaze-store.ts +37 -66
  543. package/src/alphalib/types/robots/box-import.ts +32 -55
  544. package/src/alphalib/types/robots/box-store.ts +40 -63
  545. package/src/alphalib/types/robots/cloudfiles-import.ts +34 -70
  546. package/src/alphalib/types/robots/cloudfiles-store.ts +28 -59
  547. package/src/alphalib/types/robots/cloudflare-import.ts +37 -83
  548. package/src/alphalib/types/robots/cloudflare-store.ts +37 -77
  549. package/src/alphalib/types/robots/digitalocean-import.ts +35 -75
  550. package/src/alphalib/types/robots/digitalocean-store.ts +35 -79
  551. package/src/alphalib/types/robots/document-autorotate.ts +36 -58
  552. package/src/alphalib/types/robots/document-convert.ts +37 -59
  553. package/src/alphalib/types/robots/document-extract.ts +45 -62
  554. package/src/alphalib/types/robots/document-merge.ts +25 -47
  555. package/src/alphalib/types/robots/document-ocr.ts +32 -70
  556. package/src/alphalib/types/robots/document-optimize.ts +38 -57
  557. package/src/alphalib/types/robots/document-split.ts +33 -56
  558. package/src/alphalib/types/robots/document-thumbs.ts +66 -67
  559. package/src/alphalib/types/robots/dropbox-import.ts +27 -57
  560. package/src/alphalib/types/robots/dropbox-store.ts +39 -65
  561. package/src/alphalib/types/robots/edgly-deliver.ts +26 -49
  562. package/src/alphalib/types/robots/file-compress.ts +31 -45
  563. package/src/alphalib/types/robots/file-decompress.ts +41 -68
  564. package/src/alphalib/types/robots/file-filter.ts +36 -65
  565. package/src/alphalib/types/robots/file-hash.ts +37 -64
  566. package/src/alphalib/types/robots/file-preview.ts +39 -65
  567. package/src/alphalib/types/robots/file-read.ts +33 -50
  568. package/src/alphalib/types/robots/file-serve.ts +32 -46
  569. package/src/alphalib/types/robots/file-verify.ts +37 -63
  570. package/src/alphalib/types/robots/file-virusscan.ts +49 -67
  571. package/src/alphalib/types/robots/file-watermark.ts +35 -54
  572. package/src/alphalib/types/robots/ftp-import.ts +26 -54
  573. package/src/alphalib/types/robots/ftp-store.ts +44 -63
  574. package/src/alphalib/types/robots/google-import.ts +32 -66
  575. package/src/alphalib/types/robots/google-store.ts +37 -63
  576. package/src/alphalib/types/robots/html-convert.ts +38 -49
  577. package/src/alphalib/types/robots/http-import.ts +21 -19
  578. package/src/alphalib/types/robots/http-request.ts +196 -0
  579. package/src/alphalib/types/robots/image-bgremove.ts +28 -55
  580. package/src/alphalib/types/robots/image-copyrightdetect.ts +38 -56
  581. package/src/alphalib/types/robots/image-describe.ts +31 -60
  582. package/src/alphalib/types/robots/image-enhance.ts +30 -56
  583. package/src/alphalib/types/robots/image-facedetect.ts +43 -71
  584. package/src/alphalib/types/robots/image-generate.ts +32 -25
  585. package/src/alphalib/types/robots/image-merge.ts +34 -65
  586. package/src/alphalib/types/robots/image-ocr.ts +33 -69
  587. package/src/alphalib/types/robots/image-optimize.ts +28 -54
  588. package/src/alphalib/types/robots/image-resize.ts +72 -96
  589. package/src/alphalib/types/robots/image-upscale.ts +52 -64
  590. package/src/alphalib/types/robots/mega-import.ts +36 -84
  591. package/src/alphalib/types/robots/mega-store.ts +44 -81
  592. package/src/alphalib/types/robots/meta-read.ts +21 -36
  593. package/src/alphalib/types/robots/meta-write.ts +35 -53
  594. package/src/alphalib/types/robots/minio-import.ts +34 -86
  595. package/src/alphalib/types/robots/minio-store.ts +37 -72
  596. package/src/alphalib/types/robots/progress-simulate.ts +14 -28
  597. package/src/alphalib/types/robots/s3-import.ts +32 -63
  598. package/src/alphalib/types/robots/s3-store.ts +53 -74
  599. package/src/alphalib/types/robots/script-run.ts +44 -55
  600. package/src/alphalib/types/robots/sftp-import.ts +34 -61
  601. package/src/alphalib/types/robots/sftp-store.ts +42 -65
  602. package/src/alphalib/types/robots/speech-transcribe.ts +53 -71
  603. package/src/alphalib/types/robots/supabase-import.ts +37 -84
  604. package/src/alphalib/types/robots/supabase-store.ts +41 -78
  605. package/src/alphalib/types/robots/swift-import.ts +38 -80
  606. package/src/alphalib/types/robots/swift-store.ts +44 -84
  607. package/src/alphalib/types/robots/text-speak.ts +36 -62
  608. package/src/alphalib/types/robots/text-translate.ts +35 -62
  609. package/src/alphalib/types/robots/tigris-import.ts +34 -86
  610. package/src/alphalib/types/robots/tigris-store.ts +35 -70
  611. package/src/alphalib/types/robots/tlcdn-deliver.ts +23 -47
  612. package/src/alphalib/types/robots/transloadit-import.ts +24 -29
  613. package/src/alphalib/types/robots/transloadit-store.ts +20 -7
  614. package/src/alphalib/types/robots/tus-store.ts +34 -58
  615. package/src/alphalib/types/robots/upload-handle.ts +23 -41
  616. package/src/alphalib/types/robots/video-adaptive.ts +28 -51
  617. package/src/alphalib/types/robots/video-artwork.ts +28 -54
  618. package/src/alphalib/types/robots/video-concat.ts +29 -52
  619. package/src/alphalib/types/robots/video-encode.ts +39 -62
  620. package/src/alphalib/types/robots/video-generate.ts +20 -18
  621. package/src/alphalib/types/robots/video-merge.ts +36 -55
  622. package/src/alphalib/types/robots/video-ondemand.ts +48 -62
  623. package/src/alphalib/types/robots/video-split.ts +32 -61
  624. package/src/alphalib/types/robots/video-subtitle.ts +30 -52
  625. package/src/alphalib/types/robots/video-thumbs.ts +74 -78
  626. package/src/alphalib/types/robots/vimeo-import.ts +12 -17
  627. package/src/alphalib/types/robots/vimeo-store.ts +46 -65
  628. package/src/alphalib/types/robots/wasabi-import.ts +33 -81
  629. package/src/alphalib/types/robots/wasabi-store.ts +38 -74
  630. package/src/alphalib/types/robots/youtube-store.ts +81 -91
  631. package/src/alphalib/types/stackVersions.ts +26 -3
  632. package/src/alphalib/types/storageAsset.ts +85 -29
  633. package/src/alphalib/types/utility.ts +52 -0
  634. package/src/cli/commands/storage.ts +28 -2
  635. package/src/cli/semanticIntents/imageGenerate.ts +4 -4
  636. package/src/cli/storageReceipts.ts +4 -1
  637. package/src/storageImage.ts +18 -3
@@ -1,57 +1,37 @@
1
- import type { RobotMetaInput } from './_instructions-primitives.ts'
1
+ import type {
2
+ RobotDefinition,
3
+ RobotMetaInput,
4
+ RobotSchemaVariantTypes,
5
+ } from './_instructions-primitives.ts'
2
6
 
3
7
  import { z } from 'zod'
4
8
 
5
9
  import {
6
- files_per_page,
7
- interpolateRobot,
8
- page_number,
9
- path,
10
+ bucketImportPath,
11
+ createStorageImportExample,
12
+ defineRobot,
10
13
  recursive,
14
+ recursiveImportPageNumber,
15
+ recursiveImportPageSize,
11
16
  return_file_stubs,
12
17
  robotBase,
13
18
  robotImport,
19
+ robotImportMeta,
14
20
  wasabiBase,
15
21
  } from './_instructions-primitives.ts'
16
22
 
17
23
  export const meta: RobotMetaInput = {
18
- bytescount: 10,
19
- discount_factor: 0.1,
20
- discount_pct: 90,
21
- example_code: {
22
- steps: {
23
- imported: {
24
- robot: '/wasabi/import',
25
- credentials: 'YOUR_WASABI_CREDENTIALS',
26
- path: 'path/to/files/',
27
- recursive: true,
28
- },
29
- },
30
- },
24
+ ...robotImportMeta,
25
+ example_code: createStorageImportExample('/wasabi/import', 'YOUR_WASABI_CREDENTIALS'),
31
26
  example_code_description:
32
27
  'Import files from the `path/to/files` directory and its subdirectories:',
33
28
  has_small_icon: true,
34
- minimum_charge: 0,
35
- output_factor: 1,
36
- override_lvl1: 'File Importing',
37
- purpose_sentence: 'imports whole directories of files from your wasabi bucket',
38
- purpose_verb: 'import',
29
+ purpose_sentence: 'imports whole directories of files from your Wasabi bucket',
39
30
  purpose_word: 'Wasabi',
40
31
  purpose_words: 'Import files from Wasabi',
41
32
  requires_credentials: true,
42
- service_slug: 'file-importing',
43
- slot_count: 20,
44
33
  title: 'Import files from Wasabi',
45
- typical_file_size_mb: 1.2,
46
- typical_file_type: 'file',
47
34
  name: 'WasabiImportRobot',
48
- priceFactor: 6.6666,
49
- queueSlotCount: 20,
50
- isAllowedForUrlTransform: true,
51
- trackOutputFileSize: false,
52
- isInternal: false,
53
- removeJobResultFilesFromDiskRightAfterStoringOnS3: true,
54
- stage: 'ga',
55
35
  }
56
36
 
57
37
  export const robotWasabiImportInstructionsSchema = robotBase
@@ -63,62 +43,34 @@ export const robotWasabiImportInstructionsSchema = robotBase
63
43
  .optional()
64
44
  .describe('Whether the results of this Step should be present in the Assembly Status JSON'),
65
45
  robot: z.literal('/wasabi/import'),
66
- path: path.describe(`
67
- The path in your bucket to the specific file or directory. If the path points to a file, only this file will be imported. For example: \`images/avatar.jpg\`.
68
-
69
- If it points to a directory, indicated by a trailing slash (\`/\`), then all files that are direct descendants of this directory will be imported. For example: \`images/\`.
70
-
71
- Directories are **not** imported recursively. If you want to import files from subdirectories and sub-subdirectories, enable the \`recursive\` parameter.
72
-
73
- If you want to import all files from the root directory, please use \`/\` as the value here. In this case, make sure all your objects belong to a path. If you have objects in the root of your bucket that aren't prefixed with \`/\`, you'll receive an error: \`A client error (NoSuchKey) occurred when calling the GetObject operation: The specified key does not exist.\`
74
-
75
- You can also use an array of path strings here to import multiple paths in the same <dfn>Robot</dfn>'s <dfn>Step</dfn>.
76
- `),
46
+ path: bucketImportPath,
77
47
  recursive: recursive.describe(`
78
48
  Setting this to \`true\` will enable importing files from subfolders and sub-subfolders, etc. of the given path.
79
49
 
80
50
  Please use the pagination parameters \`page_number\` and \`files_per_page\` wisely here.
81
51
  `),
82
- page_number: page_number.describe(`
83
- The pagination page number. For now, in order to not break backwards compatibility in non-recursive imports, this only works when recursive is set to \`true\`.
84
-
85
- When doing big imports, make sure no files are added or removed from other scripts within your path, otherwise you might get weird results with the pagination.
86
- `),
87
- files_per_page: files_per_page.describe(`
88
- The pagination page size. This only works when recursive is \`true\` for now, in order to not break backwards compatibility in non-recursive imports.
89
- `),
52
+ page_number: recursiveImportPageNumber,
53
+ files_per_page: recursiveImportPageSize,
90
54
  return_file_stubs,
91
55
  })
92
56
  .strict()
93
57
 
94
- export const robotWasabiImportInstructionsWithHiddenFieldsSchema =
95
- robotWasabiImportInstructionsSchema.extend({
96
- result: z
97
- .union([z.literal('debug'), robotWasabiImportInstructionsSchema.shape.result])
98
- .optional(),
99
- })
100
-
101
- export type RobotWasabiImportInstructions = z.infer<typeof robotWasabiImportInstructionsSchema>
102
- export type RobotWasabiImportInstructionsWithHiddenFields = z.infer<
103
- typeof robotWasabiImportInstructionsWithHiddenFieldsSchema
104
- >
58
+ export const robotDefinition: RobotDefinition<typeof robotWasabiImportInstructionsSchema.shape> =
59
+ defineRobot(meta, robotWasabiImportInstructionsSchema)
105
60
 
106
- export const interpolatableRobotWasabiImportInstructionsSchema = interpolateRobot(
107
- robotWasabiImportInstructionsSchema,
108
- )
109
- export type InterpolatableRobotWasabiImportInstructions =
110
- InterpolatableRobotWasabiImportInstructionsInput
61
+ export const {
62
+ withHiddenFields: robotWasabiImportInstructionsWithHiddenFieldsSchema,
63
+ interpolatable: interpolatableRobotWasabiImportInstructionsSchema,
64
+ interpolatableWithHiddenFields: interpolatableRobotWasabiImportInstructionsWithHiddenFieldsSchema,
65
+ } = robotDefinition
111
66
 
112
- export type InterpolatableRobotWasabiImportInstructionsInput = z.input<
113
- typeof interpolatableRobotWasabiImportInstructionsSchema
114
- >
67
+ type Instructions = RobotSchemaVariantTypes<typeof robotDefinition>
115
68
 
116
- export const interpolatableRobotWasabiImportInstructionsWithHiddenFieldsSchema = interpolateRobot(
117
- robotWasabiImportInstructionsWithHiddenFieldsSchema,
118
- )
119
- export type InterpolatableRobotWasabiImportInstructionsWithHiddenFields = z.infer<
120
- typeof interpolatableRobotWasabiImportInstructionsWithHiddenFieldsSchema
121
- >
122
- export type InterpolatableRobotWasabiImportInstructionsWithHiddenFieldsInput = z.input<
123
- typeof interpolatableRobotWasabiImportInstructionsWithHiddenFieldsSchema
124
- >
69
+ export type RobotWasabiImportInstructions = Instructions['output']
70
+ export type RobotWasabiImportInstructionsWithHiddenFields = Instructions['hiddenOutput']
71
+ export type InterpolatableRobotWasabiImportInstructions = Instructions['interpolatableInput']
72
+ export type InterpolatableRobotWasabiImportInstructionsInput = Instructions['interpolatableInput']
73
+ export type InterpolatableRobotWasabiImportInstructionsWithHiddenFields =
74
+ Instructions['interpolatableHiddenOutput']
75
+ export type InterpolatableRobotWasabiImportInstructionsWithHiddenFieldsInput =
76
+ Instructions['interpolatableHiddenInput']
@@ -1,45 +1,32 @@
1
- import type { RobotMetaInput } from './_instructions-primitives.ts'
1
+ import type {
2
+ RobotDefinition,
3
+ RobotMetaInput,
4
+ RobotSchemaVariantTypes,
5
+ } from './_instructions-primitives.ts'
2
6
 
3
7
  import { z } from 'zod'
4
8
 
5
- import { interpolateRobot, robotBase, robotUse, wasabiBase } from './_instructions-primitives.ts'
9
+ import {
10
+ createStorageStoreExample,
11
+ defineRobot,
12
+ robotBase,
13
+ robotStoreMeta,
14
+ robotUse,
15
+ signedSslUrlLifetime,
16
+ storeFilePath,
17
+ wasabiBase,
18
+ } from './_instructions-primitives.ts'
6
19
 
7
20
  export const meta: RobotMetaInput = {
8
- bytescount: 6,
9
- discount_factor: 0.15000150001500018,
10
- discount_pct: 84.99984999849998,
11
- example_code: {
12
- steps: {
13
- exported: {
14
- robot: '/wasabi/store',
15
- use: ':original',
16
- credentials: 'YOUR_WASABI_CREDENTIALS',
17
- path: 'my_target_folder/${unique_prefix}/${file.url_name}',
18
- },
19
- },
20
- },
21
+ ...robotStoreMeta,
22
+ example_code: createStorageStoreExample('/wasabi/store', 'YOUR_WASABI_CREDENTIALS'),
21
23
  example_code_description: 'Export uploaded files to `my_target_folder` on Wasabi:',
22
24
  has_small_icon: true,
23
- minimum_charge: 0,
24
- output_factor: 1,
25
- override_lvl1: 'File Exporting',
26
25
  purpose_sentence: 'exports encoding results to Wasabi buckets',
27
- purpose_verb: 'export',
28
26
  purpose_word: 'Wasabi',
29
27
  purpose_words: 'Export files to Wasabi',
30
- service_slug: 'file-exporting',
31
- slot_count: 10,
32
28
  title: 'Export files to Wasabi',
33
- typical_file_size_mb: 1.2,
34
- typical_file_type: 'file',
35
29
  name: 'WasabiStoreRobot',
36
- priceFactor: 6.6666,
37
- queueSlotCount: 10,
38
- isAllowedForUrlTransform: true,
39
- trackOutputFileSize: false,
40
- isInternal: false,
41
- removeJobResultFilesFromDiskRightAfterStoringOnS3: false,
42
- stage: 'ga',
43
30
  }
44
31
 
45
32
  export const robotWasabiStoreInstructionsSchema = robotBase
@@ -49,15 +36,11 @@ export const robotWasabiStoreInstructionsSchema = robotBase
49
36
  robot: z.literal('/wasabi/store').describe(`
50
37
  The URL to the result file will be returned in the <dfn>Assembly Status JSON</dfn>.
51
38
  `),
52
- path: z
53
- .string()
54
- .default('${unique_prefix}/${file.url_name}')
55
- .describe(`
56
- The path at which the file is to be stored. This may include any available [Assembly variables](/docs/topics/assembly-instructions/#assembly-variables). The path must not be a directory.
57
- `),
39
+ path: storeFilePath,
58
40
  acl: z
59
41
  .enum(['private', 'public-read'])
60
- .default('public-read')
42
+ // API2 already treats an omitted ACL as private; consumer copies follow after this source lands.
43
+ .default('private')
61
44
  .describe(`
62
45
  The permissions used for this file.
63
46
  `),
@@ -65,49 +48,30 @@ The permissions used for this file.
65
48
  .record(z.string())
66
49
  .default({ 'Content-Type': '${file.mime}' })
67
50
  .describe(`
68
- An object containing a list of headers to be set for this file on Wasabi Spaces, such as \`{ FileURL: "\${file.url_name}" }\`. This can also include any available [Assembly Variables](/docs/topics/assembly-instructions/#assembly-variables).
51
+ An object containing a list of headers to be set for this file in your Wasabi bucket, such as \`{ FileURL: "\${file.url_name}" }\`. This can also include any available [Assembly Variables](/docs/topics/assembly-instructions/#assembly-variables).
69
52
 
70
53
  Object Metadata can be specified using \`x-amz-meta-*\` headers. Note that these headers [do not support non-ASCII metadata values](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#UserMetadata).
71
54
  `),
72
- sign_urls_for: z
73
- .number()
74
- .int()
75
- .min(0)
76
- .optional()
77
- .describe(`
78
- This parameter provides signed URLs in the result JSON (in the \`signed_ssl_url\` property). The number that you set this parameter to is the URL expiry time in seconds. If this parameter is not used, no URL signing is done.
79
- `),
55
+ sign_urls_for: signedSslUrlLifetime,
80
56
  })
81
57
  .strict()
82
58
 
83
- export const robotWasabiStoreInstructionsWithHiddenFieldsSchema =
84
- robotWasabiStoreInstructionsSchema.extend({
85
- result: z
86
- .union([z.literal('debug'), robotWasabiStoreInstructionsSchema.shape.result])
87
- .optional(),
88
- })
89
-
90
- export type RobotWasabiStoreInstructions = z.infer<typeof robotWasabiStoreInstructionsSchema>
91
- export type RobotWasabiStoreInstructionsWithHiddenFields = z.infer<
92
- typeof robotWasabiStoreInstructionsWithHiddenFieldsSchema
93
- >
59
+ export const robotDefinition: RobotDefinition<typeof robotWasabiStoreInstructionsSchema.shape> =
60
+ defineRobot(meta, robotWasabiStoreInstructionsSchema)
94
61
 
95
- export const interpolatableRobotWasabiStoreInstructionsSchema = interpolateRobot(
96
- robotWasabiStoreInstructionsSchema,
97
- )
98
- export type InterpolatableRobotWasabiStoreInstructions =
99
- InterpolatableRobotWasabiStoreInstructionsInput
62
+ export const {
63
+ withHiddenFields: robotWasabiStoreInstructionsWithHiddenFieldsSchema,
64
+ interpolatable: interpolatableRobotWasabiStoreInstructionsSchema,
65
+ interpolatableWithHiddenFields: interpolatableRobotWasabiStoreInstructionsWithHiddenFieldsSchema,
66
+ } = robotDefinition
100
67
 
101
- export type InterpolatableRobotWasabiStoreInstructionsInput = z.input<
102
- typeof interpolatableRobotWasabiStoreInstructionsSchema
103
- >
68
+ type Instructions = RobotSchemaVariantTypes<typeof robotDefinition>
104
69
 
105
- export const interpolatableRobotWasabiStoreInstructionsWithHiddenFieldsSchema = interpolateRobot(
106
- robotWasabiStoreInstructionsWithHiddenFieldsSchema,
107
- )
108
- export type InterpolatableRobotWasabiStoreInstructionsWithHiddenFields = z.infer<
109
- typeof interpolatableRobotWasabiStoreInstructionsWithHiddenFieldsSchema
110
- >
111
- export type InterpolatableRobotWasabiStoreInstructionsWithHiddenFieldsInput = z.input<
112
- typeof interpolatableRobotWasabiStoreInstructionsWithHiddenFieldsSchema
113
- >
70
+ export type RobotWasabiStoreInstructions = Instructions['output']
71
+ export type RobotWasabiStoreInstructionsWithHiddenFields = Instructions['hiddenOutput']
72
+ export type InterpolatableRobotWasabiStoreInstructions = Instructions['interpolatableInput']
73
+ export type InterpolatableRobotWasabiStoreInstructionsInput = Instructions['interpolatableInput']
74
+ export type InterpolatableRobotWasabiStoreInstructionsWithHiddenFields =
75
+ Instructions['interpolatableHiddenOutput']
76
+ export type InterpolatableRobotWasabiStoreInstructionsWithHiddenFieldsInput =
77
+ Instructions['interpolatableHiddenInput']
@@ -1,49 +1,74 @@
1
- import type { RobotMetaInput } from './_instructions-primitives.ts'
1
+ import type {
2
+ RobotDefinition,
3
+ RobotMetaInput,
4
+ RobotSchemaVariantTypes,
5
+ } from './_instructions-primitives.ts'
2
6
 
3
7
  import { z } from 'zod'
4
8
 
5
- import { interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
9
+ import { zodCodePointLength, zodWithJsonInputSchema } from '../../lib/zodInputSemantics.ts'
10
+ import {
11
+ createProcessingExample,
12
+ defineRobot,
13
+ robotBase,
14
+ robotStoreMeta,
15
+ robotUse,
16
+ } from './_instructions-primitives.ts'
17
+
18
+ const youtubeCategories = [
19
+ 'autos & vehicles',
20
+ 'comedy',
21
+ 'education',
22
+ 'entertainment',
23
+ 'film & animation',
24
+ 'gaming',
25
+ 'howto & style',
26
+ 'music',
27
+ 'news & politics',
28
+ 'people & blogs',
29
+ 'pets & animals',
30
+ 'science & technology',
31
+ 'sports',
32
+ 'travel & events',
33
+ ] as const
34
+
35
+ function asciiCaseInsensitiveLiteral(value: string): string {
36
+ return [...value]
37
+ .map((character) =>
38
+ character >= 'a' && character <= 'z' ? `[${character}${character.toUpperCase()}]` : character,
39
+ )
40
+ .join('')
41
+ }
42
+
43
+ const youtubeCategoryValueSchema = z.enum(youtubeCategories)
44
+ const youtubeCategoryInputSchema = z
45
+ .string()
46
+ .regex(new RegExp(`^(?:${youtubeCategories.map(asciiCaseInsensitiveLiteral).join('|')})$`, 'u'))
47
+ const youtubeCategorySchema = zodWithJsonInputSchema(
48
+ z.preprocess(
49
+ (value) => (typeof value === 'string' ? value.toLowerCase() : value),
50
+ youtubeCategoryValueSchema,
51
+ ),
52
+ youtubeCategoryInputSchema,
53
+ )
6
54
 
7
55
  export const meta: RobotMetaInput = {
8
- bytescount: 6,
9
- discount_factor: 0.15000150001500018,
10
- discount_pct: 84.99984999849998,
56
+ ...robotStoreMeta,
11
57
  hideCredentialsWarning: true,
12
- example_code: {
13
- steps: {
14
- exported: {
15
- robot: '/youtube/store',
16
- use: ':original',
17
- credentials: 'YOUR_YOUTUBE_CREDENTIALS',
18
- title: 'Transloadit: Video Example',
19
- description: 'Some nice description',
20
- category: 'science & technology',
21
- keywords: 'transloadit, robots, botty',
22
- visibility: 'private',
23
- },
24
- },
25
- },
58
+ example_code: createProcessingExample('exported', '/youtube/store', {
59
+ credentials: 'YOUR_YOUTUBE_CREDENTIALS',
60
+ title: 'Transloadit: Video Example',
61
+ description: 'Some nice description',
62
+ category: 'science & technology',
63
+ keywords: 'transloadit, robots, botty',
64
+ visibility: 'private',
65
+ }),
26
66
  example_code_description: 'Export an uploaded video to YouTube and set some basic parameters:',
27
- minimum_charge: 0,
28
- output_factor: 1,
29
- override_lvl1: 'File Exporting',
30
67
  purpose_sentence: 'exports encoding results to YouTube',
31
- purpose_verb: 'export',
32
68
  purpose_word: 'YouTube',
33
69
  purpose_words: 'Export files to YouTube',
34
- service_slug: 'file-exporting',
35
- slot_count: 10,
36
70
  title: 'Export files to YouTube',
37
- typical_file_size_mb: 1.2,
38
- typical_file_type: 'file',
39
71
  name: 'YoutubeStoreRobot',
40
- priceFactor: 6.6666,
41
- queueSlotCount: 10,
42
- isAllowedForUrlTransform: true,
43
- trackOutputFileSize: false,
44
- isInternal: false,
45
- removeJobResultFilesFromDiskRightAfterStoringOnS3: false,
46
- stage: 'ga',
47
72
  }
48
73
 
49
74
  export const robotYoutubeStoreInstructionsSchema = robotBase
@@ -72,15 +97,12 @@ You can add a custom thumbnail to your video on YouTube by using our \`"as"\` sy
72
97
  },
73
98
  \`\`\`
74
99
 
75
- If you encounter an error such as "The authenticated user doesnʼt have permissions to upload and set custom video thumbnails", you should go to your YouTube account and try adding a custom thumbnail to one of your existing videos. Youʼll be prompted to add your phone number. Once youʼve added it, the error should go away.
100
+ If you encounter an error such as "The authenticated user doesn’t have permissions to upload and set custom video thumbnails", you should go to your YouTube account and try adding a custom thumbnail to one of your existing videos. You’ll be prompted to add your phone number. Once you’ve added it, the error should go away.
76
101
  `),
77
102
  credentials: z.string().describe(`
78
103
  The authentication Template credentials used for your YouTube account. You can generate them on the [Template Credentials page](/c/template-credentials/). Simply add the name of your YouTube channel, and you will be redirected to a Google verification page. Accept the presented permissions and you will be good to go.
79
104
  `),
80
- title: z
81
- .string()
82
- .max(80)
83
- .describe(`
105
+ title: zodCodePointLength(z.string(), { max: 80 }).describe(`
84
106
  The title of the video to be displayed on YouTube.
85
107
 
86
108
  Note that since the YouTube API requires titles to be within 80 characters, longer titles may be truncated.
@@ -88,27 +110,7 @@ Note that since the YouTube API requires titles to be within 80 characters, long
88
110
  description: z.string().describe(`
89
111
  The description of the video to be displayed on YouTube. This can be up to 5000 characters, including \`\\n\` for new-lines.
90
112
  `),
91
- category: z
92
- .preprocess(
93
- (val) => (typeof val === 'string' ? val.toLowerCase() : val),
94
- z.enum([
95
- 'autos & vehicles',
96
- 'comedy',
97
- 'education',
98
- 'entertainment',
99
- 'film & animation',
100
- 'gaming',
101
- 'howto & style',
102
- 'music',
103
- 'news & politics',
104
- 'people & blogs',
105
- 'pets & animals',
106
- 'science & technology',
107
- 'sports',
108
- 'travel & events',
109
- ]),
110
- )
111
- .describe(`
113
+ category: youtubeCategorySchema.describe(`
112
114
  The category to which this video will be assigned.
113
115
  `),
114
116
  keywords: z.string().describe(`
@@ -120,34 +122,22 @@ Defines the visibility of the uploaded video.
120
122
  })
121
123
  .strict()
122
124
 
123
- export const robotYoutubeStoreInstructionsWithHiddenFieldsSchema =
124
- robotYoutubeStoreInstructionsSchema.extend({
125
- result: z
126
- .union([z.literal('debug'), robotYoutubeStoreInstructionsSchema.shape.result])
127
- .optional(),
128
- })
129
-
130
- export type RobotYoutubeStoreInstructions = z.infer<typeof robotYoutubeStoreInstructionsSchema>
131
- export type RobotYoutubeStoreInstructionsWithHiddenFields = z.infer<
132
- typeof robotYoutubeStoreInstructionsWithHiddenFieldsSchema
133
- >
134
-
135
- export const interpolatableRobotYoutubeStoreInstructionsSchema = interpolateRobot(
136
- robotYoutubeStoreInstructionsSchema,
137
- )
138
- export type InterpolatableRobotYoutubeStoreInstructions =
139
- InterpolatableRobotYoutubeStoreInstructionsInput
140
-
141
- export type InterpolatableRobotYoutubeStoreInstructionsInput = z.input<
142
- typeof interpolatableRobotYoutubeStoreInstructionsSchema
143
- >
144
-
145
- export const interpolatableRobotYoutubeStoreInstructionsWithHiddenFieldsSchema = interpolateRobot(
146
- robotYoutubeStoreInstructionsWithHiddenFieldsSchema,
147
- )
148
- export type InterpolatableRobotYoutubeStoreInstructionsWithHiddenFields = z.infer<
149
- typeof interpolatableRobotYoutubeStoreInstructionsWithHiddenFieldsSchema
150
- >
151
- export type InterpolatableRobotYoutubeStoreInstructionsWithHiddenFieldsInput = z.input<
152
- typeof interpolatableRobotYoutubeStoreInstructionsWithHiddenFieldsSchema
153
- >
125
+ export const robotDefinition: RobotDefinition<typeof robotYoutubeStoreInstructionsSchema.shape> =
126
+ defineRobot(meta, robotYoutubeStoreInstructionsSchema)
127
+
128
+ export const {
129
+ withHiddenFields: robotYoutubeStoreInstructionsWithHiddenFieldsSchema,
130
+ interpolatable: interpolatableRobotYoutubeStoreInstructionsSchema,
131
+ interpolatableWithHiddenFields: interpolatableRobotYoutubeStoreInstructionsWithHiddenFieldsSchema,
132
+ } = robotDefinition
133
+
134
+ type Instructions = RobotSchemaVariantTypes<typeof robotDefinition>
135
+
136
+ export type RobotYoutubeStoreInstructions = Instructions['output']
137
+ export type RobotYoutubeStoreInstructionsWithHiddenFields = Instructions['hiddenOutput']
138
+ export type InterpolatableRobotYoutubeStoreInstructions = Instructions['interpolatableInput']
139
+ export type InterpolatableRobotYoutubeStoreInstructionsInput = Instructions['interpolatableInput']
140
+ export type InterpolatableRobotYoutubeStoreInstructionsWithHiddenFields =
141
+ Instructions['interpolatableHiddenOutput']
142
+ export type InterpolatableRobotYoutubeStoreInstructionsWithHiddenFieldsInput =
143
+ Instructions['interpolatableHiddenInput']
@@ -1,12 +1,35 @@
1
+ /** Runtime stack selection, ordered oldest to newest; stack IDs are not tool version numbers. */
2
+ export const runtimeStackVersions = {
3
+ exiftool: { default: 'v13.36', valid: ['v13.36'] },
4
+ mplayer: { default: 'v1.5.0', valid: ['v1.5.0'] },
5
+ mediainfo: { default: 'v23.10', valid: ['v23.10'] },
6
+ imagemagick: {
7
+ default: 'v2.0.10',
8
+ // Normalizers upgrade these versions; AssemblyValidator supplies deprecation warnings.
9
+ deprecated: { 'v2.0.9': 'v2.0.10', 'v3.0.0': 'v3.0.1' },
10
+ valid: ['v2.0.10', 'v3.0.1'],
11
+ },
12
+ ffmpeg: {
13
+ default: 'v6.0.0',
14
+ // v5 remains accepted input but its binary has been retired after this cutoff.
15
+ deprecated: { 'v5.0.0': 'v6.0.0' },
16
+ autoUpgradeAfter: { 'v5.0.0': '2026-04-30T00:00:00.000Z' },
17
+ valid: ['v6.0.0', 'v7.0.0', 'v8.0.0'],
18
+ highest: 'v8.0.0',
19
+ },
20
+ file: { default: 'v5.46', valid: ['v5.46'] },
21
+ } as const
22
+
23
+ /** Public authoring recommendations, deliberately distinct from applied runtime defaults. */
1
24
  export const stackVersions = {
2
25
  ffmpeg: {
3
- recommendedVersion: 'v6' as const,
4
- test: /^v?[5-8](\.\d+)?(\.\d+)?$/,
26
+ recommendedVersion: 'v7' as const,
27
+ test: /^v?[5-8](\.[0-9]+)?(\.[0-9]+)?$/u,
5
28
  suggestedValues: ['v6', 'v7', 'v8'] as const,
6
29
  },
7
30
  imagemagick: {
8
31
  recommendedVersion: 'v3' as const,
9
- test: /^v?[23](\.\d+)?(\.\d+)?$/,
32
+ test: /^v?[23](\.[0-9]+)?(\.[0-9]+)?$/u,
10
33
  suggestedValues: ['v2', 'v3'] as const,
11
34
  },
12
35
  }