@transloadit/node 4.7.6 → 4.7.7

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 (463) hide show
  1. package/dist/alphalib/assembly-linter.js +1 -1
  2. package/dist/alphalib/assembly-linter.js.map +1 -1
  3. package/dist/alphalib/stepParsing.js +2 -2
  4. package/dist/alphalib/stepParsing.js.map +1 -1
  5. package/dist/alphalib/types/assemblyReplay.d.ts +2 -7860
  6. package/dist/alphalib/types/assemblyReplay.d.ts.map +1 -1
  7. package/dist/alphalib/types/assemblyReplayNotification.d.ts +2 -7860
  8. package/dist/alphalib/types/assemblyReplayNotification.d.ts.map +1 -1
  9. package/dist/alphalib/types/assemblyStatus.d.ts +4807 -298
  10. package/dist/alphalib/types/assemblyStatus.d.ts.map +1 -1
  11. package/dist/alphalib/types/assemblyStatus.js +36 -1
  12. package/dist/alphalib/types/assemblyStatus.js.map +1 -1
  13. package/dist/alphalib/types/robots/_index.d.ts +903 -72620
  14. package/dist/alphalib/types/robots/_index.d.ts.map +1 -1
  15. package/dist/alphalib/types/robots/_index.js +62 -11
  16. package/dist/alphalib/types/robots/_index.js.map +1 -1
  17. package/dist/alphalib/types/robots/_instructions-primitives.d.ts +41 -10
  18. package/dist/alphalib/types/robots/_instructions-primitives.d.ts.map +1 -1
  19. package/dist/alphalib/types/robots/_instructions-primitives.js +89 -3
  20. package/dist/alphalib/types/robots/_instructions-primitives.js.map +1 -1
  21. package/dist/alphalib/types/robots/ai-chat.d.ts +33 -0
  22. package/dist/alphalib/types/robots/ai-chat.d.ts.map +1 -1
  23. package/dist/alphalib/types/robots/ai-chat.js +28 -5
  24. package/dist/alphalib/types/robots/ai-chat.js.map +1 -1
  25. package/dist/alphalib/types/robots/assembly-savejson.d.ts.map +1 -1
  26. package/dist/alphalib/types/robots/assembly-savejson.js +8 -0
  27. package/dist/alphalib/types/robots/assembly-savejson.js.map +1 -1
  28. package/dist/alphalib/types/robots/audio-artwork.d.ts.map +1 -1
  29. package/dist/alphalib/types/robots/audio-artwork.js +4 -5
  30. package/dist/alphalib/types/robots/audio-artwork.js.map +1 -1
  31. package/dist/alphalib/types/robots/audio-concat.d.ts.map +1 -1
  32. package/dist/alphalib/types/robots/audio-concat.js +1 -2
  33. package/dist/alphalib/types/robots/audio-concat.js.map +1 -1
  34. package/dist/alphalib/types/robots/audio-encode.d.ts.map +1 -1
  35. package/dist/alphalib/types/robots/audio-encode.js +1 -2
  36. package/dist/alphalib/types/robots/audio-encode.js.map +1 -1
  37. package/dist/alphalib/types/robots/audio-loop.d.ts.map +1 -1
  38. package/dist/alphalib/types/robots/audio-loop.js +1 -2
  39. package/dist/alphalib/types/robots/audio-loop.js.map +1 -1
  40. package/dist/alphalib/types/robots/audio-merge.d.ts.map +1 -1
  41. package/dist/alphalib/types/robots/audio-merge.js +1 -2
  42. package/dist/alphalib/types/robots/audio-merge.js.map +1 -1
  43. package/dist/alphalib/types/robots/audio-split.d.ts +2936 -0
  44. package/dist/alphalib/types/robots/audio-split.d.ts.map +1 -0
  45. package/dist/alphalib/types/robots/audio-split.js +88 -0
  46. package/dist/alphalib/types/robots/audio-split.js.map +1 -0
  47. package/dist/alphalib/types/robots/audio-waveform.d.ts +92 -6
  48. package/dist/alphalib/types/robots/audio-waveform.d.ts.map +1 -1
  49. package/dist/alphalib/types/robots/audio-waveform.js +72 -6
  50. package/dist/alphalib/types/robots/audio-waveform.js.map +1 -1
  51. package/dist/alphalib/types/robots/azure-import.d.ts.map +1 -1
  52. package/dist/alphalib/types/robots/azure-import.js +0 -1
  53. package/dist/alphalib/types/robots/azure-import.js.map +1 -1
  54. package/dist/alphalib/types/robots/azure-store.d.ts.map +1 -1
  55. package/dist/alphalib/types/robots/azure-store.js +0 -1
  56. package/dist/alphalib/types/robots/azure-store.js.map +1 -1
  57. package/dist/alphalib/types/robots/backblaze-import.d.ts.map +1 -1
  58. package/dist/alphalib/types/robots/backblaze-import.js +0 -1
  59. package/dist/alphalib/types/robots/backblaze-import.js.map +1 -1
  60. package/dist/alphalib/types/robots/backblaze-store.d.ts.map +1 -1
  61. package/dist/alphalib/types/robots/backblaze-store.js +0 -1
  62. package/dist/alphalib/types/robots/backblaze-store.js.map +1 -1
  63. package/dist/alphalib/types/robots/box-import.d.ts +150 -0
  64. package/dist/alphalib/types/robots/box-import.d.ts.map +1 -0
  65. package/dist/alphalib/types/robots/box-import.js +63 -0
  66. package/dist/alphalib/types/robots/box-import.js.map +1 -0
  67. package/dist/alphalib/types/robots/box-store.d.ts +455 -0
  68. package/dist/alphalib/types/robots/box-store.d.ts.map +1 -0
  69. package/dist/alphalib/types/robots/box-store.js +66 -0
  70. package/dist/alphalib/types/robots/box-store.js.map +1 -0
  71. package/dist/alphalib/types/robots/cloudfiles-import.d.ts.map +1 -1
  72. package/dist/alphalib/types/robots/cloudfiles-import.js +0 -1
  73. package/dist/alphalib/types/robots/cloudfiles-import.js.map +1 -1
  74. package/dist/alphalib/types/robots/cloudfiles-store.d.ts.map +1 -1
  75. package/dist/alphalib/types/robots/cloudfiles-store.js +0 -1
  76. package/dist/alphalib/types/robots/cloudfiles-store.js.map +1 -1
  77. package/dist/alphalib/types/robots/cloudflare-import.d.ts.map +1 -1
  78. package/dist/alphalib/types/robots/cloudflare-import.js +0 -1
  79. package/dist/alphalib/types/robots/cloudflare-import.js.map +1 -1
  80. package/dist/alphalib/types/robots/cloudflare-store.d.ts.map +1 -1
  81. package/dist/alphalib/types/robots/cloudflare-store.js +0 -1
  82. package/dist/alphalib/types/robots/cloudflare-store.js.map +1 -1
  83. package/dist/alphalib/types/robots/digitalocean-import.d.ts.map +1 -1
  84. package/dist/alphalib/types/robots/digitalocean-import.js +0 -1
  85. package/dist/alphalib/types/robots/digitalocean-import.js.map +1 -1
  86. package/dist/alphalib/types/robots/digitalocean-store.d.ts.map +1 -1
  87. package/dist/alphalib/types/robots/digitalocean-store.js +0 -1
  88. package/dist/alphalib/types/robots/digitalocean-store.js.map +1 -1
  89. package/dist/alphalib/types/robots/document-autorotate.d.ts.map +1 -1
  90. package/dist/alphalib/types/robots/document-autorotate.js +8 -1
  91. package/dist/alphalib/types/robots/document-autorotate.js.map +1 -1
  92. package/dist/alphalib/types/robots/document-convert.d.ts +8 -8
  93. package/dist/alphalib/types/robots/document-convert.d.ts.map +1 -1
  94. package/dist/alphalib/types/robots/document-convert.js +9 -3
  95. package/dist/alphalib/types/robots/document-convert.js.map +1 -1
  96. package/dist/alphalib/types/robots/document-merge.d.ts.map +1 -1
  97. package/dist/alphalib/types/robots/document-merge.js +0 -1
  98. package/dist/alphalib/types/robots/document-merge.js.map +1 -1
  99. package/dist/alphalib/types/robots/document-ocr.d.ts.map +1 -1
  100. package/dist/alphalib/types/robots/document-ocr.js +0 -1
  101. package/dist/alphalib/types/robots/document-ocr.js.map +1 -1
  102. package/dist/alphalib/types/robots/document-optimize.d.ts.map +1 -1
  103. package/dist/alphalib/types/robots/document-optimize.js +0 -1
  104. package/dist/alphalib/types/robots/document-optimize.js.map +1 -1
  105. package/dist/alphalib/types/robots/document-split.d.ts.map +1 -1
  106. package/dist/alphalib/types/robots/document-split.js +9 -1
  107. package/dist/alphalib/types/robots/document-split.js.map +1 -1
  108. package/dist/alphalib/types/robots/document-thumbs.d.ts +12 -0
  109. package/dist/alphalib/types/robots/document-thumbs.d.ts.map +1 -1
  110. package/dist/alphalib/types/robots/document-thumbs.js +23 -4
  111. package/dist/alphalib/types/robots/document-thumbs.js.map +1 -1
  112. package/dist/alphalib/types/robots/dropbox-import.d.ts.map +1 -1
  113. package/dist/alphalib/types/robots/dropbox-import.js +0 -1
  114. package/dist/alphalib/types/robots/dropbox-import.js.map +1 -1
  115. package/dist/alphalib/types/robots/dropbox-store.d.ts.map +1 -1
  116. package/dist/alphalib/types/robots/dropbox-store.js +0 -1
  117. package/dist/alphalib/types/robots/dropbox-store.js.map +1 -1
  118. package/dist/alphalib/types/robots/edgly-deliver.d.ts.map +1 -1
  119. package/dist/alphalib/types/robots/edgly-deliver.js +8 -1
  120. package/dist/alphalib/types/robots/edgly-deliver.js.map +1 -1
  121. package/dist/alphalib/types/robots/file-compress.d.ts +12 -0
  122. package/dist/alphalib/types/robots/file-compress.d.ts.map +1 -1
  123. package/dist/alphalib/types/robots/file-compress.js +8 -1
  124. package/dist/alphalib/types/robots/file-compress.js.map +1 -1
  125. package/dist/alphalib/types/robots/file-decompress.d.ts +24 -0
  126. package/dist/alphalib/types/robots/file-decompress.d.ts.map +1 -1
  127. package/dist/alphalib/types/robots/file-decompress.js +30 -5
  128. package/dist/alphalib/types/robots/file-decompress.js.map +1 -1
  129. package/dist/alphalib/types/robots/file-filter.d.ts.map +1 -1
  130. package/dist/alphalib/types/robots/file-filter.js +23 -6
  131. package/dist/alphalib/types/robots/file-filter.js.map +1 -1
  132. package/dist/alphalib/types/robots/file-hash.d.ts +24 -0
  133. package/dist/alphalib/types/robots/file-hash.d.ts.map +1 -1
  134. package/dist/alphalib/types/robots/file-hash.js +23 -1
  135. package/dist/alphalib/types/robots/file-hash.js.map +1 -1
  136. package/dist/alphalib/types/robots/file-preview.d.ts +12 -0
  137. package/dist/alphalib/types/robots/file-preview.d.ts.map +1 -1
  138. package/dist/alphalib/types/robots/file-preview.js +8 -1
  139. package/dist/alphalib/types/robots/file-preview.js.map +1 -1
  140. package/dist/alphalib/types/robots/file-read.d.ts.map +1 -1
  141. package/dist/alphalib/types/robots/file-read.js +9 -1
  142. package/dist/alphalib/types/robots/file-read.js.map +1 -1
  143. package/dist/alphalib/types/robots/file-serve.d.ts +12 -0
  144. package/dist/alphalib/types/robots/file-serve.d.ts.map +1 -1
  145. package/dist/alphalib/types/robots/file-serve.js +38 -7
  146. package/dist/alphalib/types/robots/file-serve.js.map +1 -1
  147. package/dist/alphalib/types/robots/file-verify.d.ts.map +1 -1
  148. package/dist/alphalib/types/robots/file-verify.js +0 -1
  149. package/dist/alphalib/types/robots/file-verify.js.map +1 -1
  150. package/dist/alphalib/types/robots/file-virusscan.d.ts.map +1 -1
  151. package/dist/alphalib/types/robots/file-virusscan.js +5 -4
  152. package/dist/alphalib/types/robots/file-virusscan.js.map +1 -1
  153. package/dist/alphalib/types/robots/file-watermark.d.ts.map +1 -1
  154. package/dist/alphalib/types/robots/file-watermark.js +10 -0
  155. package/dist/alphalib/types/robots/file-watermark.js.map +1 -1
  156. package/dist/alphalib/types/robots/ftp-import.d.ts.map +1 -1
  157. package/dist/alphalib/types/robots/ftp-import.js +0 -1
  158. package/dist/alphalib/types/robots/ftp-import.js.map +1 -1
  159. package/dist/alphalib/types/robots/ftp-store.d.ts.map +1 -1
  160. package/dist/alphalib/types/robots/ftp-store.js +0 -1
  161. package/dist/alphalib/types/robots/ftp-store.js.map +1 -1
  162. package/dist/alphalib/types/robots/google-import.d.ts.map +1 -1
  163. package/dist/alphalib/types/robots/google-import.js +0 -1
  164. package/dist/alphalib/types/robots/google-import.js.map +1 -1
  165. package/dist/alphalib/types/robots/google-store.d.ts.map +1 -1
  166. package/dist/alphalib/types/robots/google-store.js +0 -1
  167. package/dist/alphalib/types/robots/google-store.js.map +1 -1
  168. package/dist/alphalib/types/robots/html-convert.d.ts.map +1 -1
  169. package/dist/alphalib/types/robots/html-convert.js +0 -1
  170. package/dist/alphalib/types/robots/html-convert.js.map +1 -1
  171. package/dist/alphalib/types/robots/http-import.d.ts.map +1 -1
  172. package/dist/alphalib/types/robots/http-import.js +0 -1
  173. package/dist/alphalib/types/robots/http-import.js.map +1 -1
  174. package/dist/alphalib/types/robots/image-bgremove.d.ts +8 -8
  175. package/dist/alphalib/types/robots/image-bgremove.d.ts.map +1 -1
  176. package/dist/alphalib/types/robots/image-bgremove.js +4 -2
  177. package/dist/alphalib/types/robots/image-bgremove.js.map +1 -1
  178. package/dist/alphalib/types/robots/image-copyrightdetect.d.ts +465 -0
  179. package/dist/alphalib/types/robots/image-copyrightdetect.d.ts.map +1 -0
  180. package/dist/alphalib/types/robots/image-copyrightdetect.js +136 -0
  181. package/dist/alphalib/types/robots/image-copyrightdetect.js.map +1 -0
  182. package/dist/alphalib/types/robots/image-describe.d.ts.map +1 -1
  183. package/dist/alphalib/types/robots/image-describe.js +0 -1
  184. package/dist/alphalib/types/robots/image-describe.js.map +1 -1
  185. package/dist/alphalib/types/robots/image-enhance.d.ts +502 -0
  186. package/dist/alphalib/types/robots/image-enhance.d.ts.map +1 -0
  187. package/dist/alphalib/types/robots/image-enhance.js +146 -0
  188. package/dist/alphalib/types/robots/image-enhance.js.map +1 -0
  189. package/dist/alphalib/types/robots/image-facedetect.d.ts.map +1 -1
  190. package/dist/alphalib/types/robots/image-facedetect.js +0 -1
  191. package/dist/alphalib/types/robots/image-facedetect.js.map +1 -1
  192. package/dist/alphalib/types/robots/image-generate.d.ts +4 -5
  193. package/dist/alphalib/types/robots/image-generate.d.ts.map +1 -1
  194. package/dist/alphalib/types/robots/image-generate.js +62 -8
  195. package/dist/alphalib/types/robots/image-generate.js.map +1 -1
  196. package/dist/alphalib/types/robots/image-merge.d.ts +12 -12
  197. package/dist/alphalib/types/robots/image-merge.d.ts.map +1 -1
  198. package/dist/alphalib/types/robots/image-merge.js +0 -1
  199. package/dist/alphalib/types/robots/image-merge.js.map +1 -1
  200. package/dist/alphalib/types/robots/image-ocr.d.ts.map +1 -1
  201. package/dist/alphalib/types/robots/image-ocr.js +0 -1
  202. package/dist/alphalib/types/robots/image-ocr.js.map +1 -1
  203. package/dist/alphalib/types/robots/image-optimize.d.ts +12 -0
  204. package/dist/alphalib/types/robots/image-optimize.d.ts.map +1 -1
  205. package/dist/alphalib/types/robots/image-optimize.js +16 -3
  206. package/dist/alphalib/types/robots/image-optimize.js.map +1 -1
  207. package/dist/alphalib/types/robots/image-resize.d.ts +20 -8
  208. package/dist/alphalib/types/robots/image-resize.d.ts.map +1 -1
  209. package/dist/alphalib/types/robots/image-resize.js +37 -1
  210. package/dist/alphalib/types/robots/image-resize.js.map +1 -1
  211. package/dist/alphalib/types/robots/image-upscale.d.ts +447 -0
  212. package/dist/alphalib/types/robots/image-upscale.d.ts.map +1 -0
  213. package/dist/alphalib/types/robots/image-upscale.js +65 -0
  214. package/dist/alphalib/types/robots/image-upscale.js.map +1 -0
  215. package/dist/alphalib/types/robots/mega-import.d.ts +244 -0
  216. package/dist/alphalib/types/robots/mega-import.d.ts.map +1 -0
  217. package/dist/alphalib/types/robots/mega-import.js +84 -0
  218. package/dist/alphalib/types/robots/mega-import.js.map +1 -0
  219. package/dist/alphalib/types/robots/mega-store.d.ts +526 -0
  220. package/dist/alphalib/types/robots/mega-store.d.ts.map +1 -0
  221. package/dist/alphalib/types/robots/mega-store.js +82 -0
  222. package/dist/alphalib/types/robots/mega-store.js.map +1 -0
  223. package/dist/alphalib/types/robots/meta-read.d.ts.map +1 -1
  224. package/dist/alphalib/types/robots/meta-read.js +8 -0
  225. package/dist/alphalib/types/robots/meta-read.js.map +1 -1
  226. package/dist/alphalib/types/robots/meta-write.d.ts.map +1 -1
  227. package/dist/alphalib/types/robots/meta-write.js +0 -1
  228. package/dist/alphalib/types/robots/meta-write.js.map +1 -1
  229. package/dist/alphalib/types/robots/minio-import.d.ts.map +1 -1
  230. package/dist/alphalib/types/robots/minio-import.js +0 -1
  231. package/dist/alphalib/types/robots/minio-import.js.map +1 -1
  232. package/dist/alphalib/types/robots/minio-store.d.ts.map +1 -1
  233. package/dist/alphalib/types/robots/minio-store.js +0 -1
  234. package/dist/alphalib/types/robots/minio-store.js.map +1 -1
  235. package/dist/alphalib/types/robots/progress-simulate.d.ts.map +1 -1
  236. package/dist/alphalib/types/robots/progress-simulate.js +13 -0
  237. package/dist/alphalib/types/robots/progress-simulate.js.map +1 -1
  238. package/dist/alphalib/types/robots/s3-import.d.ts.map +1 -1
  239. package/dist/alphalib/types/robots/s3-import.js +0 -1
  240. package/dist/alphalib/types/robots/s3-import.js.map +1 -1
  241. package/dist/alphalib/types/robots/s3-store.d.ts.map +1 -1
  242. package/dist/alphalib/types/robots/s3-store.js +0 -1
  243. package/dist/alphalib/types/robots/s3-store.js.map +1 -1
  244. package/dist/alphalib/types/robots/script-run.d.ts.map +1 -1
  245. package/dist/alphalib/types/robots/script-run.js +10 -1
  246. package/dist/alphalib/types/robots/script-run.js.map +1 -1
  247. package/dist/alphalib/types/robots/sftp-import.d.ts.map +1 -1
  248. package/dist/alphalib/types/robots/sftp-import.js +0 -1
  249. package/dist/alphalib/types/robots/sftp-import.js.map +1 -1
  250. package/dist/alphalib/types/robots/sftp-store.d.ts.map +1 -1
  251. package/dist/alphalib/types/robots/sftp-store.js +0 -1
  252. package/dist/alphalib/types/robots/sftp-store.js.map +1 -1
  253. package/dist/alphalib/types/robots/speech-transcribe.d.ts.map +1 -1
  254. package/dist/alphalib/types/robots/speech-transcribe.js +0 -1
  255. package/dist/alphalib/types/robots/speech-transcribe.js.map +1 -1
  256. package/dist/alphalib/types/robots/supabase-import.d.ts.map +1 -1
  257. package/dist/alphalib/types/robots/supabase-import.js +0 -1
  258. package/dist/alphalib/types/robots/supabase-import.js.map +1 -1
  259. package/dist/alphalib/types/robots/supabase-store.d.ts.map +1 -1
  260. package/dist/alphalib/types/robots/supabase-store.js +0 -1
  261. package/dist/alphalib/types/robots/supabase-store.js.map +1 -1
  262. package/dist/alphalib/types/robots/swift-import.d.ts.map +1 -1
  263. package/dist/alphalib/types/robots/swift-import.js +0 -1
  264. package/dist/alphalib/types/robots/swift-import.js.map +1 -1
  265. package/dist/alphalib/types/robots/swift-store.d.ts.map +1 -1
  266. package/dist/alphalib/types/robots/swift-store.js +0 -1
  267. package/dist/alphalib/types/robots/swift-store.js.map +1 -1
  268. package/dist/alphalib/types/robots/text-speak.d.ts.map +1 -1
  269. package/dist/alphalib/types/robots/text-speak.js +0 -1
  270. package/dist/alphalib/types/robots/text-speak.js.map +1 -1
  271. package/dist/alphalib/types/robots/text-translate.d.ts.map +1 -1
  272. package/dist/alphalib/types/robots/text-translate.js +0 -1
  273. package/dist/alphalib/types/robots/text-translate.js.map +1 -1
  274. package/dist/alphalib/types/robots/tigris-import.d.ts.map +1 -1
  275. package/dist/alphalib/types/robots/tigris-import.js +0 -1
  276. package/dist/alphalib/types/robots/tigris-import.js.map +1 -1
  277. package/dist/alphalib/types/robots/tigris-store.d.ts.map +1 -1
  278. package/dist/alphalib/types/robots/tigris-store.js +0 -1
  279. package/dist/alphalib/types/robots/tigris-store.js.map +1 -1
  280. package/dist/alphalib/types/robots/tlcdn-deliver.d.ts.map +1 -1
  281. package/dist/alphalib/types/robots/tlcdn-deliver.js +8 -1
  282. package/dist/alphalib/types/robots/tlcdn-deliver.js.map +1 -1
  283. package/dist/alphalib/types/robots/tus-store.d.ts.map +1 -1
  284. package/dist/alphalib/types/robots/tus-store.js +1 -14
  285. package/dist/alphalib/types/robots/tus-store.js.map +1 -1
  286. package/dist/alphalib/types/robots/upload-handle.d.ts.map +1 -1
  287. package/dist/alphalib/types/robots/upload-handle.js +0 -1
  288. package/dist/alphalib/types/robots/upload-handle.js.map +1 -1
  289. package/dist/alphalib/types/robots/video-adaptive.d.ts +32 -8
  290. package/dist/alphalib/types/robots/video-adaptive.d.ts.map +1 -1
  291. package/dist/alphalib/types/robots/video-adaptive.js +22 -6
  292. package/dist/alphalib/types/robots/video-adaptive.js.map +1 -1
  293. package/dist/alphalib/types/robots/video-artwork.d.ts +2855 -0
  294. package/dist/alphalib/types/robots/video-artwork.d.ts.map +1 -0
  295. package/dist/alphalib/types/robots/video-artwork.js +66 -0
  296. package/dist/alphalib/types/robots/video-artwork.js.map +1 -0
  297. package/dist/alphalib/types/robots/video-concat.d.ts +36 -0
  298. package/dist/alphalib/types/robots/video-concat.d.ts.map +1 -1
  299. package/dist/alphalib/types/robots/video-concat.js +30 -1
  300. package/dist/alphalib/types/robots/video-concat.js.map +1 -1
  301. package/dist/alphalib/types/robots/video-encode.d.ts.map +1 -1
  302. package/dist/alphalib/types/robots/video-encode.js +0 -1
  303. package/dist/alphalib/types/robots/video-encode.js.map +1 -1
  304. package/dist/alphalib/types/robots/video-generate.d.ts +594 -0
  305. package/dist/alphalib/types/robots/video-generate.d.ts.map +1 -0
  306. package/dist/alphalib/types/robots/video-generate.js +90 -0
  307. package/dist/alphalib/types/robots/video-generate.js.map +1 -0
  308. package/dist/alphalib/types/robots/video-merge.d.ts +24 -0
  309. package/dist/alphalib/types/robots/video-merge.d.ts.map +1 -1
  310. package/dist/alphalib/types/robots/video-merge.js +33 -1
  311. package/dist/alphalib/types/robots/video-merge.js.map +1 -1
  312. package/dist/alphalib/types/robots/video-ondemand.d.ts.map +1 -1
  313. package/dist/alphalib/types/robots/video-ondemand.js +3 -4
  314. package/dist/alphalib/types/robots/video-ondemand.js.map +1 -1
  315. package/dist/alphalib/types/robots/video-split.d.ts +2939 -0
  316. package/dist/alphalib/types/robots/video-split.d.ts.map +1 -0
  317. package/dist/alphalib/types/robots/video-split.js +78 -0
  318. package/dist/alphalib/types/robots/video-split.js.map +1 -0
  319. package/dist/alphalib/types/robots/video-subtitle.d.ts +52 -4
  320. package/dist/alphalib/types/robots/video-subtitle.d.ts.map +1 -1
  321. package/dist/alphalib/types/robots/video-subtitle.js +61 -8
  322. package/dist/alphalib/types/robots/video-subtitle.js.map +1 -1
  323. package/dist/alphalib/types/robots/video-thumbs.d.ts.map +1 -1
  324. package/dist/alphalib/types/robots/video-thumbs.js +0 -1
  325. package/dist/alphalib/types/robots/video-thumbs.js.map +1 -1
  326. package/dist/alphalib/types/robots/vimeo-import.d.ts +4 -4
  327. package/dist/alphalib/types/robots/vimeo-import.d.ts.map +1 -1
  328. package/dist/alphalib/types/robots/vimeo-import.js +0 -1
  329. package/dist/alphalib/types/robots/vimeo-import.js.map +1 -1
  330. package/dist/alphalib/types/robots/vimeo-store.d.ts +2 -2
  331. package/dist/alphalib/types/robots/vimeo-store.d.ts.map +1 -1
  332. package/dist/alphalib/types/robots/vimeo-store.js +14 -3
  333. package/dist/alphalib/types/robots/vimeo-store.js.map +1 -1
  334. package/dist/alphalib/types/robots/wasabi-import.d.ts.map +1 -1
  335. package/dist/alphalib/types/robots/wasabi-import.js +0 -1
  336. package/dist/alphalib/types/robots/wasabi-import.js.map +1 -1
  337. package/dist/alphalib/types/robots/wasabi-store.d.ts.map +1 -1
  338. package/dist/alphalib/types/robots/wasabi-store.js +0 -1
  339. package/dist/alphalib/types/robots/wasabi-store.js.map +1 -1
  340. package/dist/alphalib/types/robots/youtube-store.d.ts.map +1 -1
  341. package/dist/alphalib/types/robots/youtube-store.js +4 -5
  342. package/dist/alphalib/types/robots/youtube-store.js.map +1 -1
  343. package/dist/alphalib/types/template.d.ts +41 -132175
  344. package/dist/alphalib/types/template.d.ts.map +1 -1
  345. package/dist/alphalib/types/template.js +16 -3
  346. package/dist/alphalib/types/template.js.map +1 -1
  347. package/dist/alphalib/types/templateCredential.d.ts +3 -3
  348. package/dist/alphalib/types/templateCredential.d.ts.map +1 -1
  349. package/dist/alphalib/types/templateCredential.js +1 -0
  350. package/dist/alphalib/types/templateCredential.js.map +1 -1
  351. package/dist/alphalib/zodParseWithContext.d.ts.map +1 -1
  352. package/dist/alphalib/zodParseWithContext.js +15 -11
  353. package/dist/alphalib/zodParseWithContext.js.map +1 -1
  354. package/dist/cli.js +0 -0
  355. package/dist/robots.js +2 -2
  356. package/dist/robots.js.map +1 -1
  357. package/package.json +2 -2
  358. package/src/alphalib/assembly-linter.ts +1 -1
  359. package/src/alphalib/stepParsing.ts +2 -2
  360. package/src/alphalib/types/assemblyStatus.ts +41 -2
  361. package/src/alphalib/types/robots/_index.ts +211 -20
  362. package/src/alphalib/types/robots/_instructions-primitives.ts +93 -3
  363. package/src/alphalib/types/robots/ai-chat.ts +35 -5
  364. package/src/alphalib/types/robots/assembly-savejson.ts +8 -0
  365. package/src/alphalib/types/robots/audio-artwork.ts +4 -5
  366. package/src/alphalib/types/robots/audio-concat.ts +1 -2
  367. package/src/alphalib/types/robots/audio-encode.ts +1 -2
  368. package/src/alphalib/types/robots/audio-loop.ts +1 -2
  369. package/src/alphalib/types/robots/audio-merge.ts +1 -2
  370. package/src/alphalib/types/robots/audio-split.ts +130 -0
  371. package/src/alphalib/types/robots/audio-waveform.ts +90 -6
  372. package/src/alphalib/types/robots/azure-import.ts +0 -1
  373. package/src/alphalib/types/robots/azure-store.ts +0 -1
  374. package/src/alphalib/types/robots/backblaze-import.ts +0 -1
  375. package/src/alphalib/types/robots/backblaze-store.ts +0 -1
  376. package/src/alphalib/types/robots/box-import.ts +97 -0
  377. package/src/alphalib/types/robots/box-store.ts +94 -0
  378. package/src/alphalib/types/robots/cloudfiles-import.ts +0 -1
  379. package/src/alphalib/types/robots/cloudfiles-store.ts +0 -1
  380. package/src/alphalib/types/robots/cloudflare-import.ts +0 -1
  381. package/src/alphalib/types/robots/cloudflare-store.ts +0 -1
  382. package/src/alphalib/types/robots/digitalocean-import.ts +0 -1
  383. package/src/alphalib/types/robots/digitalocean-store.ts +0 -1
  384. package/src/alphalib/types/robots/document-autorotate.ts +8 -1
  385. package/src/alphalib/types/robots/document-convert.ts +10 -3
  386. package/src/alphalib/types/robots/document-merge.ts +0 -1
  387. package/src/alphalib/types/robots/document-ocr.ts +0 -1
  388. package/src/alphalib/types/robots/document-optimize.ts +0 -1
  389. package/src/alphalib/types/robots/document-split.ts +9 -1
  390. package/src/alphalib/types/robots/document-thumbs.ts +26 -4
  391. package/src/alphalib/types/robots/dropbox-import.ts +0 -1
  392. package/src/alphalib/types/robots/dropbox-store.ts +0 -1
  393. package/src/alphalib/types/robots/edgly-deliver.ts +8 -1
  394. package/src/alphalib/types/robots/file-compress.ts +8 -1
  395. package/src/alphalib/types/robots/file-decompress.ts +30 -5
  396. package/src/alphalib/types/robots/file-filter.ts +23 -6
  397. package/src/alphalib/types/robots/file-hash.ts +23 -1
  398. package/src/alphalib/types/robots/file-preview.ts +8 -1
  399. package/src/alphalib/types/robots/file-read.ts +9 -1
  400. package/src/alphalib/types/robots/file-serve.ts +39 -7
  401. package/src/alphalib/types/robots/file-verify.ts +0 -1
  402. package/src/alphalib/types/robots/file-virusscan.ts +6 -4
  403. package/src/alphalib/types/robots/file-watermark.ts +10 -0
  404. package/src/alphalib/types/robots/ftp-import.ts +0 -1
  405. package/src/alphalib/types/robots/ftp-store.ts +0 -1
  406. package/src/alphalib/types/robots/google-import.ts +0 -1
  407. package/src/alphalib/types/robots/google-store.ts +0 -1
  408. package/src/alphalib/types/robots/html-convert.ts +0 -1
  409. package/src/alphalib/types/robots/http-import.ts +0 -1
  410. package/src/alphalib/types/robots/image-bgremove.ts +4 -2
  411. package/src/alphalib/types/robots/image-copyrightdetect.ts +167 -0
  412. package/src/alphalib/types/robots/image-describe.ts +0 -1
  413. package/src/alphalib/types/robots/image-enhance.ts +185 -0
  414. package/src/alphalib/types/robots/image-facedetect.ts +0 -1
  415. package/src/alphalib/types/robots/image-generate.ts +74 -8
  416. package/src/alphalib/types/robots/image-merge.ts +0 -1
  417. package/src/alphalib/types/robots/image-ocr.ts +0 -1
  418. package/src/alphalib/types/robots/image-optimize.ts +16 -3
  419. package/src/alphalib/types/robots/image-resize.ts +37 -1
  420. package/src/alphalib/types/robots/image-upscale.ts +93 -0
  421. package/src/alphalib/types/robots/mega-import.ts +123 -0
  422. package/src/alphalib/types/robots/mega-store.ts +109 -0
  423. package/src/alphalib/types/robots/meta-read.ts +8 -0
  424. package/src/alphalib/types/robots/meta-write.ts +0 -1
  425. package/src/alphalib/types/robots/minio-import.ts +0 -1
  426. package/src/alphalib/types/robots/minio-store.ts +0 -1
  427. package/src/alphalib/types/robots/progress-simulate.ts +13 -0
  428. package/src/alphalib/types/robots/s3-import.ts +0 -1
  429. package/src/alphalib/types/robots/s3-store.ts +0 -1
  430. package/src/alphalib/types/robots/script-run.ts +11 -1
  431. package/src/alphalib/types/robots/sftp-import.ts +0 -1
  432. package/src/alphalib/types/robots/sftp-store.ts +0 -1
  433. package/src/alphalib/types/robots/speech-transcribe.ts +0 -1
  434. package/src/alphalib/types/robots/supabase-import.ts +0 -1
  435. package/src/alphalib/types/robots/supabase-store.ts +0 -1
  436. package/src/alphalib/types/robots/swift-import.ts +0 -1
  437. package/src/alphalib/types/robots/swift-store.ts +0 -1
  438. package/src/alphalib/types/robots/text-speak.ts +0 -1
  439. package/src/alphalib/types/robots/text-translate.ts +0 -1
  440. package/src/alphalib/types/robots/tigris-import.ts +0 -1
  441. package/src/alphalib/types/robots/tigris-store.ts +0 -1
  442. package/src/alphalib/types/robots/tlcdn-deliver.ts +8 -1
  443. package/src/alphalib/types/robots/tus-store.ts +1 -14
  444. package/src/alphalib/types/robots/upload-handle.ts +0 -1
  445. package/src/alphalib/types/robots/video-adaptive.ts +22 -6
  446. package/src/alphalib/types/robots/video-artwork.ts +100 -0
  447. package/src/alphalib/types/robots/video-concat.ts +30 -1
  448. package/src/alphalib/types/robots/video-encode.ts +0 -1
  449. package/src/alphalib/types/robots/video-generate.ts +120 -0
  450. package/src/alphalib/types/robots/video-merge.ts +33 -1
  451. package/src/alphalib/types/robots/video-ondemand.ts +3 -4
  452. package/src/alphalib/types/robots/video-split.ts +117 -0
  453. package/src/alphalib/types/robots/video-subtitle.ts +61 -8
  454. package/src/alphalib/types/robots/video-thumbs.ts +0 -1
  455. package/src/alphalib/types/robots/vimeo-import.ts +0 -1
  456. package/src/alphalib/types/robots/vimeo-store.ts +14 -3
  457. package/src/alphalib/types/robots/wasabi-import.ts +0 -1
  458. package/src/alphalib/types/robots/wasabi-store.ts +0 -1
  459. package/src/alphalib/types/robots/youtube-store.ts +4 -5
  460. package/src/alphalib/types/template.ts +47 -15
  461. package/src/alphalib/types/templateCredential.ts +1 -0
  462. package/src/alphalib/zodParseWithContext.ts +19 -12
  463. package/src/robots.ts +2 -2
@@ -10,7 +10,6 @@ import {
10
10
  } from './_instructions-primitives.ts'
11
11
 
12
12
  export const meta: RobotMetaInput = {
13
- allowed_for_url_transform: false,
14
13
  bytescount: 1,
15
14
  discount_factor: 1,
16
15
  discount_pct: 0,
@@ -52,7 +51,7 @@ Here is an example waveform image:
52
51
  priceFactor: 1,
53
52
  queueSlotCount: 20,
54
53
  minimumCharge: 1048576,
55
- isAllowedForUrlTransform: false,
54
+ isAllowedForUrlTransform: true,
56
55
  trackOutputFileSize: true,
57
56
  isInternal: false,
58
57
  removeJobResultFilesFromDiskRightAfterStoringOnS3: false,
@@ -74,6 +73,7 @@ Similarly, if you need the output image in a different format, please pipe the r
74
73
  .default('image')
75
74
  .describe(`
76
75
  The format of the result file. Can be \`"image"\` or \`"json"\`. If \`"image"\` is supplied, a PNG image will be created, otherwise a JSON file.
76
+ When \`style\` is \`"spectrogram"\`, only \`"image"\` is supported.
77
77
  `),
78
78
  width: z
79
79
  .number()
@@ -110,15 +110,50 @@ The color used in the outer parts of the gradient. The format is "rrggbbaa" (red
110
110
 
111
111
  const styleSchema = z.preprocess(
112
112
  (val) => {
113
- // Backwards compatibility: historically this robot used numeric styles 0/1/2.
114
- // The new API is `style: "v0" | "v1"`. Old v2 values are mapped to v1.
113
+ // Backwards compatibility: historically this robot used numeric styles 0/1.
114
+ // The new API is `style: "v0" | "v1" | "spectrogram"`.
115
115
  if (val === 'v1' || val === 1 || val === '1') return 'v1'
116
116
  if (val === 'v0' || val === 0 || val === '0') return 'v0'
117
+ if (val === 'spectrogram') return 'spectrogram'
117
118
  return val
118
119
  },
119
- z.enum(['v0', 'v1']).default('v0'),
120
+ z.enum(['v0', 'v1', 'spectrogram']).default('v0'),
120
121
  )
121
122
 
123
+ // Color maps for spectrogram visualization
124
+ export type SpectrogramColorMap =
125
+ | 'viridis'
126
+ | 'plasma'
127
+ | 'magma'
128
+ | 'cividis'
129
+ | 'cool'
130
+ | 'rainbow'
131
+ | 'moreland'
132
+ | 'nebulae'
133
+ | 'fire'
134
+ | 'fiery'
135
+ | 'fruit'
136
+ | 'green'
137
+ | 'terrain'
138
+ | 'gray'
139
+
140
+ export const spectrogramColorMaps = [
141
+ 'viridis',
142
+ 'plasma',
143
+ 'magma',
144
+ 'cividis',
145
+ 'cool',
146
+ 'rainbow',
147
+ 'moreland',
148
+ 'nebulae',
149
+ 'fire',
150
+ 'fiery',
151
+ 'fruit',
152
+ 'green',
153
+ 'terrain',
154
+ 'gray',
155
+ ] as const satisfies readonly SpectrogramColorMap[]
156
+
122
157
  // Unified schema: all parameters exist for both styles, but v1-only parameters only apply when
123
158
  // `style` is `v1` (they are accepted for v0 but have no effect).
124
159
  export const robotAudioWaveformInstructionsSchema = robotAudioWaveformInstructionsBaseSchema
@@ -128,8 +163,9 @@ Waveform style version.
128
163
 
129
164
  - \`"v0"\`: Legacy waveform generation (default).
130
165
  - \`"v1"\`: Advanced waveform generation with additional parameters.
166
+ - \`"spectrogram"\`: Spectrogram visualization showing frequency content over time.
131
167
 
132
- For backwards compatibility, numeric values \`0\`, \`1\`, \`2\` are also accepted and mapped to \`"v0"\` (0) and \`"v1"\` (1/2).
168
+ For backwards compatibility, numeric values \`0\` and \`1\` are also accepted and mapped to \`"v0"\` and \`"v1"\`.
133
169
  `),
134
170
 
135
171
  // v1-only parameters (accepted for v0 but have no effect)
@@ -241,6 +277,54 @@ Available when style is \`"v1"\`. Amplitude scale factor.
241
277
  .optional()
242
278
  .describe(`
243
279
  Available when style is \`"v1"\`. PNG compression level: 0 (none) to 9 (best), or -1 (default). Only applicable when format is "image".
280
+ `),
281
+
282
+ // Spectrogram-specific parameters (only apply when style is "spectrogram")
283
+ color_map: z
284
+ .enum(spectrogramColorMaps)
285
+ .optional()
286
+ .describe(`
287
+ Available when style is \`"spectrogram"\`. Color scheme for the spectrogram visualization. Defaults to \`"viridis"\`.
288
+ `),
289
+ frequency_scale: z
290
+ .enum(['linear', 'logarithmic'])
291
+ .optional()
292
+ .describe(`
293
+ Available when style is \`"spectrogram"\`. Frequency scale for the spectrogram. \`"linear"\` shows frequencies evenly spaced, \`"logarithmic"\` emphasizes lower frequencies. Defaults to \`"logarithmic"\`.
294
+ `),
295
+ frequency_min: z
296
+ .number()
297
+ .min(0)
298
+ .optional()
299
+ .describe(`
300
+ Available when style is \`"spectrogram"\`. Minimum frequency in Hz to display. Defaults to \`0\`.
301
+ `),
302
+ frequency_max: z
303
+ .number()
304
+ .min(1)
305
+ .optional()
306
+ .describe(`
307
+ Available when style is \`"spectrogram"\`. Maximum frequency in Hz to display. Defaults to half the sample rate (Nyquist frequency).
308
+ `),
309
+ legend: z
310
+ .boolean()
311
+ .optional()
312
+ .describe(`
313
+ Available when style is \`"spectrogram"\`. Whether to include a legend showing the frequency and time scales. Defaults to \`false\`.
314
+ `),
315
+ gain: z
316
+ .number()
317
+ .min(0)
318
+ .max(128)
319
+ .optional()
320
+ .describe(`
321
+ Available when style is \`"spectrogram"\`. Linear gain factor for spectrogram intensity. Defaults to \`1\`.
322
+ `),
323
+ orientation: z
324
+ .enum(['vertical', 'horizontal'])
325
+ .optional()
326
+ .describe(`
327
+ Available when style is \`"spectrogram"\`. Orientation of the spectrogram. \`"horizontal"\` shows time on the x-axis (default), \`"vertical"\` shows time on the y-axis.
244
328
  `),
245
329
  })
246
330
  .strict()
@@ -13,7 +13,6 @@ import {
13
13
  } from './_instructions-primitives.ts'
14
14
 
15
15
  export const meta: RobotMetaInput = {
16
- allowed_for_url_transform: true,
17
16
  bytescount: 10,
18
17
  discount_factor: 0.1,
19
18
  discount_pct: 90,
@@ -4,7 +4,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
4
4
  import { azureBase, interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
5
5
 
6
6
  export const meta: RobotMetaInput = {
7
- allowed_for_url_transform: true,
8
7
  bytescount: 6,
9
8
  discount_factor: 0.15000150001500018,
10
9
  discount_pct: 84.99984999849998,
@@ -12,7 +12,6 @@ import {
12
12
  } from './_instructions-primitives.ts'
13
13
 
14
14
  export const meta: RobotMetaInput = {
15
- allowed_for_url_transform: true,
16
15
  bytescount: 10,
17
16
  discount_factor: 0.1,
18
17
  discount_pct: 90,
@@ -4,7 +4,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
4
4
  import { backblazeBase, interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
5
5
 
6
6
  export const meta: RobotMetaInput = {
7
- allowed_for_url_transform: true,
8
7
  bytescount: 6,
9
8
  discount_factor: 0.15000150001500018,
10
9
  discount_pct: 84.99984999849998,
@@ -0,0 +1,97 @@
1
+ import { z } from 'zod'
2
+
3
+ import type { RobotMetaInput } from './_instructions-primitives.ts'
4
+ import {
5
+ boxBase,
6
+ interpolateRobot,
7
+ path,
8
+ robotBase,
9
+ robotImport,
10
+ } from './_instructions-primitives.ts'
11
+
12
+ export const meta: RobotMetaInput = {
13
+ bytescount: 10,
14
+ discount_factor: 0.1,
15
+ discount_pct: 90,
16
+ example_code: {
17
+ steps: {
18
+ imported: {
19
+ robot: '/box/import',
20
+ credentials: 'YOUR_BOX_CREDENTIALS',
21
+ path: 'path/to/files/',
22
+ },
23
+ },
24
+ },
25
+ example_code_description:
26
+ 'Import files from the `path/to/files` directory and its subdirectories:',
27
+ has_small_icon: true,
28
+ minimum_charge: 0,
29
+ output_factor: 1,
30
+ override_lvl1: 'File Importing',
31
+ purpose_sentence: 'imports whole directories of files from your Box',
32
+ purpose_verb: 'import',
33
+ purpose_word: 'Box',
34
+ purpose_words: 'Import files from Box',
35
+ requires_credentials: true,
36
+ service_slug: 'file-importing',
37
+ slot_count: 20,
38
+ title: 'Import files from Box',
39
+ typical_file_size_mb: 1.2,
40
+ typical_file_type: 'file',
41
+ name: 'BoxImportRobot',
42
+ priceFactor: 6.6666,
43
+ queueSlotCount: 20,
44
+ isAllowedForUrlTransform: true,
45
+ trackOutputFileSize: false,
46
+ isInternal: false,
47
+ removeJobResultFilesFromDiskRightAfterStoringOnS3: true,
48
+ stage: 'ga',
49
+ }
50
+
51
+ export const robotBoxImportInstructionsSchema = robotBase
52
+ .merge(robotImport)
53
+ .merge(boxBase)
54
+ .extend({
55
+ robot: z.literal('/box/import'),
56
+ path: path.describe(`
57
+ The path in your Box to the specific file or directory. If the path points to a file, only this file will be imported. For example: \`images/avatar.jpg\`.
58
+
59
+ If it points to a directory, indicated by a trailing slash (\`/\`), then all files that are descendants of this directory are recursively imported. For example: \`images/\`.
60
+
61
+ If you want to import all files from the root directory, please use \`/\` as the value here.
62
+
63
+ You can also use an array of path strings here to import multiple paths in the same <dfn>Robot</dfn>'s <dfn>Step</dfn>.
64
+ `),
65
+ })
66
+ .strict()
67
+
68
+ export const robotBoxImportInstructionsWithHiddenFieldsSchema =
69
+ robotBoxImportInstructionsSchema.extend({
70
+ result: z.union([z.literal('debug'), robotBoxImportInstructionsSchema.shape.result]).optional(),
71
+ access_token: z.string().optional(),
72
+ key_file_contents: z.string().optional(),
73
+ })
74
+
75
+ export type RobotBoxImportInstructions = z.infer<typeof robotBoxImportInstructionsSchema>
76
+ export type RobotBoxImportInstructionsWithHiddenFields = z.infer<
77
+ typeof robotBoxImportInstructionsWithHiddenFieldsSchema
78
+ >
79
+
80
+ export const interpolatableRobotBoxImportInstructionsSchema = interpolateRobot(
81
+ robotBoxImportInstructionsSchema,
82
+ )
83
+ export type InterpolatableRobotBoxImportInstructions = InterpolatableRobotBoxImportInstructionsInput
84
+
85
+ export type InterpolatableRobotBoxImportInstructionsInput = z.input<
86
+ typeof interpolatableRobotBoxImportInstructionsSchema
87
+ >
88
+
89
+ export const interpolatableRobotBoxImportInstructionsWithHiddenFieldsSchema = interpolateRobot(
90
+ robotBoxImportInstructionsWithHiddenFieldsSchema,
91
+ )
92
+ export type InterpolatableRobotBoxImportInstructionsWithHiddenFields = z.infer<
93
+ typeof interpolatableRobotBoxImportInstructionsWithHiddenFieldsSchema
94
+ >
95
+ export type InterpolatableRobotBoxImportInstructionsWithHiddenFieldsInput = z.input<
96
+ typeof interpolatableRobotBoxImportInstructionsWithHiddenFieldsSchema
97
+ >
@@ -0,0 +1,94 @@
1
+ import { z } from 'zod'
2
+
3
+ import type { RobotMetaInput } from './_instructions-primitives.ts'
4
+ import { boxBase, interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
5
+
6
+ export const meta: RobotMetaInput = {
7
+ bytescount: 6,
8
+ discount_factor: 0.15000150001500018,
9
+ discount_pct: 84.99984999849998,
10
+ example_code: {
11
+ steps: {
12
+ exported: {
13
+ robot: '/box/store',
14
+ use: ':original',
15
+ credentials: 'YOUR_BOX_CREDENTIALS',
16
+ path: 'my_target_folder/${unique_prefix}/${file.url_name}',
17
+ },
18
+ },
19
+ },
20
+ example_code_description: 'Export uploaded files to `my_target_folder` on Box:',
21
+ has_small_icon: true,
22
+ minimum_charge: 0,
23
+ output_factor: 1,
24
+ override_lvl1: 'File Exporting',
25
+ purpose_sentence: 'exports encoding results to Box',
26
+ purpose_verb: 'export',
27
+ purpose_word: 'Box',
28
+ purpose_words: 'Export files to Box',
29
+ service_slug: 'file-exporting',
30
+ slot_count: 10,
31
+ title: 'Export files to Box',
32
+ typical_file_size_mb: 1.2,
33
+ typical_file_type: 'file',
34
+ name: 'BoxStoreRobot',
35
+ priceFactor: 6.6666,
36
+ queueSlotCount: 10,
37
+ isAllowedForUrlTransform: true,
38
+ trackOutputFileSize: false,
39
+ isInternal: false,
40
+ removeJobResultFilesFromDiskRightAfterStoringOnS3: false,
41
+ stage: 'ga',
42
+ }
43
+
44
+ export const robotBoxStoreInstructionsSchema = robotBase
45
+ .merge(robotUse)
46
+ .merge(boxBase)
47
+ .extend({
48
+ robot: z.literal('/box/store'),
49
+ path: z
50
+ .string()
51
+ .default('${unique_prefix}/${file.url_name}')
52
+ .describe(`
53
+ The path at which the file is to be stored. This may include any available [Assembly variables](/docs/topics/assembly-instructions/#assembly-variables).
54
+ `),
55
+ create_sharing_link: z
56
+ .boolean()
57
+ .default(false)
58
+ .describe(`
59
+ Whether to create a URL to this file for sharing with other people. This will overwrite the file's \`"url"\` property.
60
+ `),
61
+ })
62
+ .strict()
63
+
64
+ export const robotBoxStoreInstructionsWithHiddenFieldsSchema =
65
+ robotBoxStoreInstructionsSchema.extend({
66
+ result: z.union([z.literal('debug'), robotBoxStoreInstructionsSchema.shape.result]).optional(),
67
+ access_token: z.string().optional(),
68
+ key_file_contents: z.string().optional(),
69
+ })
70
+
71
+ export type RobotBoxStoreInstructions = z.infer<typeof robotBoxStoreInstructionsSchema>
72
+ export type RobotBoxStoreInstructionsInput = z.input<typeof robotBoxStoreInstructionsSchema>
73
+ export type RobotBoxStoreInstructionsWithHiddenFields = z.infer<
74
+ typeof robotBoxStoreInstructionsWithHiddenFieldsSchema
75
+ >
76
+
77
+ export const interpolatableRobotBoxStoreInstructionsSchema = interpolateRobot(
78
+ robotBoxStoreInstructionsSchema,
79
+ )
80
+ export type InterpolatableRobotBoxStoreInstructions = InterpolatableRobotBoxStoreInstructionsInput
81
+
82
+ export type InterpolatableRobotBoxStoreInstructionsInput = z.input<
83
+ typeof interpolatableRobotBoxStoreInstructionsSchema
84
+ >
85
+
86
+ export const interpolatableRobotBoxStoreInstructionsWithHiddenFieldsSchema = interpolateRobot(
87
+ robotBoxStoreInstructionsWithHiddenFieldsSchema,
88
+ )
89
+ export type InterpolatableRobotBoxStoreInstructionsWithHiddenFields = z.infer<
90
+ typeof interpolatableRobotBoxStoreInstructionsWithHiddenFieldsSchema
91
+ >
92
+ export type InterpolatableRobotBoxStoreInstructionsWithHiddenFieldsInput = z.input<
93
+ typeof interpolatableRobotBoxStoreInstructionsWithHiddenFieldsSchema
94
+ >
@@ -12,7 +12,6 @@ import {
12
12
  } from './_instructions-primitives.ts'
13
13
 
14
14
  export const meta: RobotMetaInput = {
15
- allowed_for_url_transform: true,
16
15
  bytescount: 10,
17
16
  discount_factor: 0.1,
18
17
  discount_pct: 90,
@@ -9,7 +9,6 @@ import {
9
9
  } from './_instructions-primitives.ts'
10
10
 
11
11
  export const meta: RobotMetaInput = {
12
- allowed_for_url_transform: true,
13
12
  bytescount: 6,
14
13
  discount_factor: 0.15000150001500018,
15
14
  discount_pct: 84.99984999849998,
@@ -14,7 +14,6 @@ import {
14
14
  } from './_instructions-primitives.ts'
15
15
 
16
16
  export const meta: RobotMetaInput = {
17
- allowed_for_url_transform: true,
18
17
  bytescount: 10,
19
18
  discount_factor: 0.1,
20
19
  discount_pct: 90,
@@ -9,7 +9,6 @@ import {
9
9
  } from './_instructions-primitives.ts'
10
10
 
11
11
  export const meta: RobotMetaInput = {
12
- allowed_for_url_transform: true,
13
12
  bytescount: 6,
14
13
  discount_factor: 0.15000150001500018,
15
14
  discount_pct: 84.99984999849998,
@@ -14,7 +14,6 @@ import {
14
14
  } from './_instructions-primitives.ts'
15
15
 
16
16
  export const meta: RobotMetaInput = {
17
- allowed_for_url_transform: true,
18
17
  bytescount: 10,
19
18
  discount_factor: 0.1,
20
19
  discount_pct: 90,
@@ -9,7 +9,6 @@ import {
9
9
  } from './_instructions-primitives.ts'
10
10
 
11
11
  export const meta: RobotMetaInput = {
12
- allowed_for_url_transform: true,
13
12
  bytescount: 6,
14
13
  discount_factor: 0.15000150001500018,
15
14
  discount_pct: 84.99984999849998,
@@ -4,10 +4,17 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
4
4
  import { interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
5
5
 
6
6
  export const meta: RobotMetaInput = {
7
- allowed_for_url_transform: true,
8
7
  bytescount: 1,
9
8
  discount_factor: 1,
10
9
  discount_pct: 0,
10
+ example_code: {
11
+ steps: {
12
+ rotated: {
13
+ robot: '/document/autorotate',
14
+ use: ':original',
15
+ },
16
+ },
17
+ },
11
18
  example_code_description:
12
19
  'Auto-rotate individual pages of a documents to the correction orientation:',
13
20
  minimum_charge: 2097152,
@@ -4,7 +4,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
4
4
  import { interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
5
5
 
6
6
  export const meta: RobotMetaInput = {
7
- allowed_for_url_transform: true,
8
7
  bytescount: 1,
9
8
  discount_factor: 1,
10
9
  discount_pct: 0,
@@ -54,9 +53,11 @@ The following file formats can be converted from:
54
53
  - \`ps\`
55
54
  - \`rtf\`
56
55
  - \`rtx\`
56
+ - \`srt\`
57
57
  - \`svg\`
58
58
  - \`text\`
59
59
  - \`txt\`
60
+ - \`vtt\`
60
61
  - \`xhtml\`
61
62
  - \`xla\`
62
63
  - \`xls\`
@@ -84,7 +85,10 @@ The following file formats can be converted from:
84
85
  queueSlotCount: 32,
85
86
  minimumCharge: 1048576,
86
87
  lazyLoad: true,
87
- installVersionFile: process.env.API2_UNOCONV_INSTALL_VERSION_FILE || '',
88
+ installVersionFile:
89
+ typeof process !== 'undefined' && process.env.API2_UNOCONV_INSTALL_VERSION_FILE
90
+ ? process.env.API2_UNOCONV_INSTALL_VERSION_FILE
91
+ : '',
88
92
  isAllowedForUrlTransform: true,
89
93
  trackOutputFileSize: true,
90
94
  // we cannot use coreConfig.numUnoconvDaemons, because it does not live in alphalib
@@ -106,7 +110,7 @@ Sometimes, a certain file type might not support what you are trying to accompli
106
110
  Using this Robot, you can bypass the issues that certain file types may bring, by converting your file into the most suitable format. This also works in conjunction with our other Robots, allowing for even greater versatility when using our services.
107
111
 
108
112
  > [!Warning]
109
- > A general rule of this Robot is that converting files into an alien format category will result in an error. For example, SRT files can be converted into the VTT format, but not to an image.
113
+ > A general rule of this Robot is that converting files into an alien format category will result in an error. For example, SRT files can be converted into the VTT format (and vice versa), but not to an image.
110
114
 
111
115
  The following file formats can be converted from:
112
116
 
@@ -133,9 +137,11 @@ The following file formats can be converted from:
133
137
  - \`ps\`
134
138
  - \`rtf\`
135
139
  - \`rtx\`
140
+ - \`srt\`
136
141
  - \`svg\`
137
142
  - \`text\`
138
143
  - \`txt\`
144
+ - \`vtt\`
139
145
  - \`xhtml\`
140
146
  - \`xla\`
141
147
  - \`xls\`
@@ -154,6 +160,7 @@ The following file formats can be converted from:
154
160
  'jpeg',
155
161
  'jpg',
156
162
  'latex',
163
+ 'md',
157
164
  'oda',
158
165
  'odd',
159
166
  'odt',
@@ -4,7 +4,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
4
4
  import { interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
5
5
 
6
6
  export const meta: RobotMetaInput = {
7
- allowed_for_url_transform: true,
8
7
  bytescount: 1,
9
8
  discount_factor: 1,
10
9
  discount_pct: 0,
@@ -10,7 +10,6 @@ import {
10
10
  } from './_instructions-primitives.ts'
11
11
 
12
12
  export const meta: RobotMetaInput = {
13
- allowed_for_url_transform: true,
14
13
  bytescount: 1,
15
14
  discount_factor: 1,
16
15
  discount_pct: 0,
@@ -4,7 +4,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
4
4
  import { interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
5
5
 
6
6
  export const meta: RobotMetaInput = {
7
- allowed_for_url_transform: true,
8
7
  bytescount: 1,
9
8
  discount_factor: 1,
10
9
  discount_pct: 0,
@@ -4,10 +4,18 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
4
4
  import { interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
5
5
 
6
6
  export const meta: RobotMetaInput = {
7
- allowed_for_url_transform: true,
8
7
  bytescount: 1,
9
8
  discount_factor: 1,
10
9
  discount_pct: 0,
10
+ example_code: {
11
+ steps: {
12
+ extracted_pages: {
13
+ robot: '/document/split',
14
+ use: ':original',
15
+ pages: ['1', '3-5'],
16
+ },
17
+ },
18
+ },
11
19
  example_code_description: 'Extract single or multiple pages from a PDF document:',
12
20
  minimum_charge: 2097152,
13
21
  output_factor: 1,
@@ -10,7 +10,6 @@ import {
10
10
  } from './_instructions-primitives.ts'
11
11
 
12
12
  export const meta: RobotMetaInput = {
13
- allowed_for_url_transform: true,
14
13
  bytescount: 1,
15
14
  discount_factor: 1,
16
15
  discount_pct: 0,
@@ -68,6 +67,23 @@ export const robotDocumentThumbsInstructionsSchema = robotBase
68
67
  .default(null)
69
68
  .describe(`
70
69
  The PDF page that you want to convert to an image. By default the value is \`null\` which means that all pages will be converted into images.
70
+ `),
71
+ page_range: z
72
+ .string()
73
+ .regex(/^\d+-\d+$/)
74
+ .refine(
75
+ (val) => {
76
+ const [start, end] = val.split('-').map(Number)
77
+ return start >= 1 && end >= start
78
+ },
79
+ { message: 'Start must be ≥ 1 and end must be ≥ start (e.g. "1-20")' },
80
+ )
81
+ .nullable()
82
+ .default(null)
83
+ .describe(`
84
+ A page range to extract, in the format \`"start-end"\` (e.g., \`"1-20"\`). Extraction starts from the first page in the range and proceeds sequentially, stopping gracefully when a page does not exist. This is useful for PDFs where the total page count cannot be determined.
85
+
86
+ This parameter cannot be used together with \`page\`, and is not supported with GIF format. When \`page_range\` is set, the robot does not need to know the total page count upfront, making it robust for PDFs that fail page count detection.
71
87
  `),
72
88
  format: z
73
89
  .enum(['gif', 'jpeg', 'jpg', 'png'])
@@ -169,11 +185,17 @@ Some PDF documents lie about their dimensions. For instance they'll say they are
169
185
  .boolean()
170
186
  .default(true)
171
187
  .describe(`
172
- If you set this to \`false\`, the robot will not emit files as they become available. This is useful if you are only interested in the final result and not in the intermediate steps.
188
+ Enables high-performance mode for faster document processing.
189
+
190
+ When enabled, Turbo Mode provides two key optimizations:
191
+
192
+ 1. **Parallel page extraction**: For documents with more than 5 pages, multiple processes run in parallel to extract pages simultaneously. The number of parallel processes scales with the document size (up to 4 processes for documents with 13+ pages).
193
+
194
+ 2. **Distributed resizing**: Extracted pages are resized concurrently on multiple machines, providing up to 20 times faster processing for large documents.
173
195
 
174
- Also, extracted pages will be resized a lot faster as they are sent off to other machines for the resizing. This is especially useful for large documents with many pages to get up to 20 times faster processing.
196
+ Files are emitted as they become available during processing. If you set this to \`false\`, pages are extracted sequentially using a single process, and files are emitted only after all processing is complete.
175
197
 
176
- Turbo Mode increases pricing, though, in that the input document's file size is added for every extracted page. There are no performance benefits nor increased charges for single-page documents.
198
+ Turbo Mode increases pricing in that the input document's file size is added for every extracted page. There are no performance benefits nor increased charges for single-page documents.
177
199
  `),
178
200
  })
179
201
  .strict()
@@ -10,7 +10,6 @@ import {
10
10
  } from './_instructions-primitives.ts'
11
11
 
12
12
  export const meta: RobotMetaInput = {
13
- allowed_for_url_transform: true,
14
13
  bytescount: 10,
15
14
  discount_factor: 0.1,
16
15
  discount_pct: 90,
@@ -4,7 +4,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
4
4
  import { dropboxBase, interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
5
5
 
6
6
  export const meta: RobotMetaInput = {
7
- allowed_for_url_transform: true,
8
7
  bytescount: 6,
9
8
  discount_factor: 0.15000150001500018,
10
9
  discount_pct: 84.99984999849998,
@@ -3,10 +3,17 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
3
3
  import { interpolateRobot, robotBase } from './_instructions-primitives.ts'
4
4
 
5
5
  export const meta: RobotMetaInput = {
6
- allowed_for_url_transform: false,
7
6
  bytescount: 20,
8
7
  discount_factor: 0.05,
9
8
  discount_pct: 95,
9
+ example_code: {
10
+ steps: {
11
+ deliver: {
12
+ robot: '/edgly/deliver',
13
+ },
14
+ },
15
+ },
16
+ example_code_description: 'Cache and deliver files over Smart CDN using the edgly.net domain:',
10
17
  minimum_charge: 102400,
11
18
  output_factor: 1,
12
19
  override_lvl1: 'Content Delivery',
@@ -4,7 +4,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
4
4
  import { interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
5
5
 
6
6
  export const meta: RobotMetaInput = {
7
- allowed_for_url_transform: false,
8
7
  bytescount: 1,
9
8
  discount_factor: 1,
10
9
  discount_pct: 0,
@@ -130,6 +129,14 @@ Files with same names are numbered in the \`"simple"\` file layout to avoid nami
130
129
  .optional()
131
130
  .describe(`
132
131
  The name of the archive file to be created (without the file extension).
132
+ `),
133
+ path: z
134
+ .string()
135
+ .optional()
136
+ .describe(`
137
+ The path at which each file is to be placed inside the archive. This may include any available [Assembly variables](/docs/topics/assembly-instructions/#assembly-variables). Variables are evaluated per file, allowing templates like \`"\${file.meta.archive_directory}/\${file.name}"\` to preserve the original directory structure from a previously extracted archive.
138
+
139
+ When this parameter is set, the \`file_layout\` parameter is ignored.
133
140
  `),
134
141
  })
135
142
  .strict()