transloadit 4.7.6 → 4.8.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.
- package/README.md +46 -19
- package/dist/alphalib/assembly-linter.js +1 -1
- package/dist/alphalib/assembly-linter.js.map +1 -1
- package/dist/alphalib/stepParsing.js +2 -2
- package/dist/alphalib/stepParsing.js.map +1 -1
- package/dist/alphalib/types/assemblyReplay.d.ts +2 -7860
- package/dist/alphalib/types/assemblyReplay.d.ts.map +1 -1
- package/dist/alphalib/types/assemblyReplayNotification.d.ts +2 -7860
- package/dist/alphalib/types/assemblyReplayNotification.d.ts.map +1 -1
- package/dist/alphalib/types/assemblyStatus.d.ts +4807 -298
- package/dist/alphalib/types/assemblyStatus.d.ts.map +1 -1
- package/dist/alphalib/types/assemblyStatus.js +36 -1
- package/dist/alphalib/types/assemblyStatus.js.map +1 -1
- package/dist/alphalib/types/robots/_index.d.ts +903 -72620
- package/dist/alphalib/types/robots/_index.d.ts.map +1 -1
- package/dist/alphalib/types/robots/_index.js +62 -11
- package/dist/alphalib/types/robots/_index.js.map +1 -1
- package/dist/alphalib/types/robots/_instructions-primitives.d.ts +41 -10
- package/dist/alphalib/types/robots/_instructions-primitives.d.ts.map +1 -1
- package/dist/alphalib/types/robots/_instructions-primitives.js +89 -3
- package/dist/alphalib/types/robots/_instructions-primitives.js.map +1 -1
- package/dist/alphalib/types/robots/ai-chat.d.ts +33 -0
- package/dist/alphalib/types/robots/ai-chat.d.ts.map +1 -1
- package/dist/alphalib/types/robots/ai-chat.js +28 -5
- package/dist/alphalib/types/robots/ai-chat.js.map +1 -1
- package/dist/alphalib/types/robots/assembly-savejson.d.ts.map +1 -1
- package/dist/alphalib/types/robots/assembly-savejson.js +8 -0
- package/dist/alphalib/types/robots/assembly-savejson.js.map +1 -1
- package/dist/alphalib/types/robots/audio-artwork.d.ts.map +1 -1
- package/dist/alphalib/types/robots/audio-artwork.js +4 -5
- package/dist/alphalib/types/robots/audio-artwork.js.map +1 -1
- package/dist/alphalib/types/robots/audio-concat.d.ts.map +1 -1
- package/dist/alphalib/types/robots/audio-concat.js +1 -2
- package/dist/alphalib/types/robots/audio-concat.js.map +1 -1
- package/dist/alphalib/types/robots/audio-encode.d.ts.map +1 -1
- package/dist/alphalib/types/robots/audio-encode.js +1 -2
- package/dist/alphalib/types/robots/audio-encode.js.map +1 -1
- package/dist/alphalib/types/robots/audio-loop.d.ts.map +1 -1
- package/dist/alphalib/types/robots/audio-loop.js +1 -2
- package/dist/alphalib/types/robots/audio-loop.js.map +1 -1
- package/dist/alphalib/types/robots/audio-merge.d.ts.map +1 -1
- package/dist/alphalib/types/robots/audio-merge.js +1 -2
- package/dist/alphalib/types/robots/audio-merge.js.map +1 -1
- package/dist/alphalib/types/robots/audio-split.d.ts +2936 -0
- package/dist/alphalib/types/robots/audio-split.d.ts.map +1 -0
- package/dist/alphalib/types/robots/audio-split.js +88 -0
- package/dist/alphalib/types/robots/audio-split.js.map +1 -0
- package/dist/alphalib/types/robots/audio-waveform.d.ts +92 -6
- package/dist/alphalib/types/robots/audio-waveform.d.ts.map +1 -1
- package/dist/alphalib/types/robots/audio-waveform.js +72 -6
- package/dist/alphalib/types/robots/audio-waveform.js.map +1 -1
- package/dist/alphalib/types/robots/azure-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/azure-import.js +0 -1
- package/dist/alphalib/types/robots/azure-import.js.map +1 -1
- package/dist/alphalib/types/robots/azure-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/azure-store.js +0 -1
- package/dist/alphalib/types/robots/azure-store.js.map +1 -1
- package/dist/alphalib/types/robots/backblaze-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/backblaze-import.js +0 -1
- package/dist/alphalib/types/robots/backblaze-import.js.map +1 -1
- package/dist/alphalib/types/robots/backblaze-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/backblaze-store.js +0 -1
- package/dist/alphalib/types/robots/backblaze-store.js.map +1 -1
- package/dist/alphalib/types/robots/box-import.d.ts +150 -0
- package/dist/alphalib/types/robots/box-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/box-import.js +63 -0
- package/dist/alphalib/types/robots/box-import.js.map +1 -0
- package/dist/alphalib/types/robots/box-store.d.ts +455 -0
- package/dist/alphalib/types/robots/box-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/box-store.js +66 -0
- package/dist/alphalib/types/robots/box-store.js.map +1 -0
- package/dist/alphalib/types/robots/cloudfiles-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/cloudfiles-import.js +0 -1
- package/dist/alphalib/types/robots/cloudfiles-import.js.map +1 -1
- package/dist/alphalib/types/robots/cloudfiles-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/cloudfiles-store.js +0 -1
- package/dist/alphalib/types/robots/cloudfiles-store.js.map +1 -1
- package/dist/alphalib/types/robots/cloudflare-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/cloudflare-import.js +0 -1
- package/dist/alphalib/types/robots/cloudflare-import.js.map +1 -1
- package/dist/alphalib/types/robots/cloudflare-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/cloudflare-store.js +0 -1
- package/dist/alphalib/types/robots/cloudflare-store.js.map +1 -1
- package/dist/alphalib/types/robots/digitalocean-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/digitalocean-import.js +0 -1
- package/dist/alphalib/types/robots/digitalocean-import.js.map +1 -1
- package/dist/alphalib/types/robots/digitalocean-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/digitalocean-store.js +0 -1
- package/dist/alphalib/types/robots/digitalocean-store.js.map +1 -1
- package/dist/alphalib/types/robots/document-autorotate.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-autorotate.js +8 -1
- package/dist/alphalib/types/robots/document-autorotate.js.map +1 -1
- package/dist/alphalib/types/robots/document-convert.d.ts +8 -8
- package/dist/alphalib/types/robots/document-convert.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-convert.js +9 -3
- package/dist/alphalib/types/robots/document-convert.js.map +1 -1
- package/dist/alphalib/types/robots/document-merge.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-merge.js +0 -1
- package/dist/alphalib/types/robots/document-merge.js.map +1 -1
- package/dist/alphalib/types/robots/document-ocr.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-ocr.js +0 -1
- package/dist/alphalib/types/robots/document-ocr.js.map +1 -1
- package/dist/alphalib/types/robots/document-optimize.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-optimize.js +0 -1
- package/dist/alphalib/types/robots/document-optimize.js.map +1 -1
- package/dist/alphalib/types/robots/document-split.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-split.js +9 -1
- package/dist/alphalib/types/robots/document-split.js.map +1 -1
- package/dist/alphalib/types/robots/document-thumbs.d.ts +12 -0
- package/dist/alphalib/types/robots/document-thumbs.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-thumbs.js +23 -4
- package/dist/alphalib/types/robots/document-thumbs.js.map +1 -1
- package/dist/alphalib/types/robots/dropbox-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/dropbox-import.js +0 -1
- package/dist/alphalib/types/robots/dropbox-import.js.map +1 -1
- package/dist/alphalib/types/robots/dropbox-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/dropbox-store.js +0 -1
- package/dist/alphalib/types/robots/dropbox-store.js.map +1 -1
- package/dist/alphalib/types/robots/edgly-deliver.d.ts.map +1 -1
- package/dist/alphalib/types/robots/edgly-deliver.js +8 -1
- package/dist/alphalib/types/robots/edgly-deliver.js.map +1 -1
- package/dist/alphalib/types/robots/file-compress.d.ts +12 -0
- package/dist/alphalib/types/robots/file-compress.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-compress.js +8 -1
- package/dist/alphalib/types/robots/file-compress.js.map +1 -1
- package/dist/alphalib/types/robots/file-decompress.d.ts +24 -0
- package/dist/alphalib/types/robots/file-decompress.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-decompress.js +30 -5
- package/dist/alphalib/types/robots/file-decompress.js.map +1 -1
- package/dist/alphalib/types/robots/file-filter.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-filter.js +23 -6
- package/dist/alphalib/types/robots/file-filter.js.map +1 -1
- package/dist/alphalib/types/robots/file-hash.d.ts +24 -0
- package/dist/alphalib/types/robots/file-hash.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-hash.js +23 -1
- package/dist/alphalib/types/robots/file-hash.js.map +1 -1
- package/dist/alphalib/types/robots/file-preview.d.ts +12 -0
- package/dist/alphalib/types/robots/file-preview.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-preview.js +8 -1
- package/dist/alphalib/types/robots/file-preview.js.map +1 -1
- package/dist/alphalib/types/robots/file-read.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-read.js +9 -1
- package/dist/alphalib/types/robots/file-read.js.map +1 -1
- package/dist/alphalib/types/robots/file-serve.d.ts +12 -0
- package/dist/alphalib/types/robots/file-serve.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-serve.js +38 -7
- package/dist/alphalib/types/robots/file-serve.js.map +1 -1
- package/dist/alphalib/types/robots/file-verify.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-verify.js +0 -1
- package/dist/alphalib/types/robots/file-verify.js.map +1 -1
- package/dist/alphalib/types/robots/file-virusscan.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-virusscan.js +5 -4
- package/dist/alphalib/types/robots/file-virusscan.js.map +1 -1
- package/dist/alphalib/types/robots/file-watermark.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-watermark.js +10 -0
- package/dist/alphalib/types/robots/file-watermark.js.map +1 -1
- package/dist/alphalib/types/robots/ftp-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/ftp-import.js +0 -1
- package/dist/alphalib/types/robots/ftp-import.js.map +1 -1
- package/dist/alphalib/types/robots/ftp-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/ftp-store.js +0 -1
- package/dist/alphalib/types/robots/ftp-store.js.map +1 -1
- package/dist/alphalib/types/robots/google-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/google-import.js +0 -1
- package/dist/alphalib/types/robots/google-import.js.map +1 -1
- package/dist/alphalib/types/robots/google-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/google-store.js +0 -1
- package/dist/alphalib/types/robots/google-store.js.map +1 -1
- package/dist/alphalib/types/robots/html-convert.d.ts.map +1 -1
- package/dist/alphalib/types/robots/html-convert.js +0 -1
- package/dist/alphalib/types/robots/html-convert.js.map +1 -1
- package/dist/alphalib/types/robots/http-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/http-import.js +0 -1
- package/dist/alphalib/types/robots/http-import.js.map +1 -1
- package/dist/alphalib/types/robots/image-bgremove.d.ts +8 -8
- package/dist/alphalib/types/robots/image-bgremove.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-bgremove.js +4 -2
- package/dist/alphalib/types/robots/image-bgremove.js.map +1 -1
- package/dist/alphalib/types/robots/image-copyrightdetect.d.ts +465 -0
- package/dist/alphalib/types/robots/image-copyrightdetect.d.ts.map +1 -0
- package/dist/alphalib/types/robots/image-copyrightdetect.js +136 -0
- package/dist/alphalib/types/robots/image-copyrightdetect.js.map +1 -0
- package/dist/alphalib/types/robots/image-describe.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-describe.js +0 -1
- package/dist/alphalib/types/robots/image-describe.js.map +1 -1
- package/dist/alphalib/types/robots/image-enhance.d.ts +502 -0
- package/dist/alphalib/types/robots/image-enhance.d.ts.map +1 -0
- package/dist/alphalib/types/robots/image-enhance.js +146 -0
- package/dist/alphalib/types/robots/image-enhance.js.map +1 -0
- package/dist/alphalib/types/robots/image-facedetect.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-facedetect.js +0 -1
- package/dist/alphalib/types/robots/image-facedetect.js.map +1 -1
- package/dist/alphalib/types/robots/image-generate.d.ts +4 -5
- package/dist/alphalib/types/robots/image-generate.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-generate.js +62 -8
- package/dist/alphalib/types/robots/image-generate.js.map +1 -1
- package/dist/alphalib/types/robots/image-merge.d.ts +12 -12
- package/dist/alphalib/types/robots/image-merge.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-merge.js +0 -1
- package/dist/alphalib/types/robots/image-merge.js.map +1 -1
- package/dist/alphalib/types/robots/image-ocr.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-ocr.js +0 -1
- package/dist/alphalib/types/robots/image-ocr.js.map +1 -1
- package/dist/alphalib/types/robots/image-optimize.d.ts +12 -0
- package/dist/alphalib/types/robots/image-optimize.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-optimize.js +16 -3
- package/dist/alphalib/types/robots/image-optimize.js.map +1 -1
- package/dist/alphalib/types/robots/image-resize.d.ts +20 -8
- package/dist/alphalib/types/robots/image-resize.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-resize.js +37 -1
- package/dist/alphalib/types/robots/image-resize.js.map +1 -1
- package/dist/alphalib/types/robots/image-upscale.d.ts +447 -0
- package/dist/alphalib/types/robots/image-upscale.d.ts.map +1 -0
- package/dist/alphalib/types/robots/image-upscale.js +65 -0
- package/dist/alphalib/types/robots/image-upscale.js.map +1 -0
- package/dist/alphalib/types/robots/mega-import.d.ts +244 -0
- package/dist/alphalib/types/robots/mega-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/mega-import.js +84 -0
- package/dist/alphalib/types/robots/mega-import.js.map +1 -0
- package/dist/alphalib/types/robots/mega-store.d.ts +526 -0
- package/dist/alphalib/types/robots/mega-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/mega-store.js +82 -0
- package/dist/alphalib/types/robots/mega-store.js.map +1 -0
- package/dist/alphalib/types/robots/meta-read.d.ts.map +1 -1
- package/dist/alphalib/types/robots/meta-read.js +8 -0
- package/dist/alphalib/types/robots/meta-read.js.map +1 -1
- package/dist/alphalib/types/robots/meta-write.d.ts.map +1 -1
- package/dist/alphalib/types/robots/meta-write.js +0 -1
- package/dist/alphalib/types/robots/meta-write.js.map +1 -1
- package/dist/alphalib/types/robots/minio-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/minio-import.js +0 -1
- package/dist/alphalib/types/robots/minio-import.js.map +1 -1
- package/dist/alphalib/types/robots/minio-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/minio-store.js +0 -1
- package/dist/alphalib/types/robots/minio-store.js.map +1 -1
- package/dist/alphalib/types/robots/progress-simulate.d.ts.map +1 -1
- package/dist/alphalib/types/robots/progress-simulate.js +13 -0
- package/dist/alphalib/types/robots/progress-simulate.js.map +1 -1
- package/dist/alphalib/types/robots/s3-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/s3-import.js +0 -1
- package/dist/alphalib/types/robots/s3-import.js.map +1 -1
- package/dist/alphalib/types/robots/s3-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/s3-store.js +0 -1
- package/dist/alphalib/types/robots/s3-store.js.map +1 -1
- package/dist/alphalib/types/robots/script-run.d.ts.map +1 -1
- package/dist/alphalib/types/robots/script-run.js +10 -1
- package/dist/alphalib/types/robots/script-run.js.map +1 -1
- package/dist/alphalib/types/robots/sftp-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/sftp-import.js +0 -1
- package/dist/alphalib/types/robots/sftp-import.js.map +1 -1
- package/dist/alphalib/types/robots/sftp-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/sftp-store.js +0 -1
- package/dist/alphalib/types/robots/sftp-store.js.map +1 -1
- package/dist/alphalib/types/robots/speech-transcribe.d.ts.map +1 -1
- package/dist/alphalib/types/robots/speech-transcribe.js +0 -1
- package/dist/alphalib/types/robots/speech-transcribe.js.map +1 -1
- package/dist/alphalib/types/robots/supabase-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/supabase-import.js +0 -1
- package/dist/alphalib/types/robots/supabase-import.js.map +1 -1
- package/dist/alphalib/types/robots/supabase-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/supabase-store.js +0 -1
- package/dist/alphalib/types/robots/supabase-store.js.map +1 -1
- package/dist/alphalib/types/robots/swift-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/swift-import.js +0 -1
- package/dist/alphalib/types/robots/swift-import.js.map +1 -1
- package/dist/alphalib/types/robots/swift-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/swift-store.js +0 -1
- package/dist/alphalib/types/robots/swift-store.js.map +1 -1
- package/dist/alphalib/types/robots/text-speak.d.ts.map +1 -1
- package/dist/alphalib/types/robots/text-speak.js +0 -1
- package/dist/alphalib/types/robots/text-speak.js.map +1 -1
- package/dist/alphalib/types/robots/text-translate.d.ts.map +1 -1
- package/dist/alphalib/types/robots/text-translate.js +0 -1
- package/dist/alphalib/types/robots/text-translate.js.map +1 -1
- package/dist/alphalib/types/robots/tigris-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/tigris-import.js +0 -1
- package/dist/alphalib/types/robots/tigris-import.js.map +1 -1
- package/dist/alphalib/types/robots/tigris-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/tigris-store.js +0 -1
- package/dist/alphalib/types/robots/tigris-store.js.map +1 -1
- package/dist/alphalib/types/robots/tlcdn-deliver.d.ts.map +1 -1
- package/dist/alphalib/types/robots/tlcdn-deliver.js +8 -1
- package/dist/alphalib/types/robots/tlcdn-deliver.js.map +1 -1
- package/dist/alphalib/types/robots/tus-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/tus-store.js +1 -14
- package/dist/alphalib/types/robots/tus-store.js.map +1 -1
- package/dist/alphalib/types/robots/upload-handle.d.ts.map +1 -1
- package/dist/alphalib/types/robots/upload-handle.js +0 -1
- package/dist/alphalib/types/robots/upload-handle.js.map +1 -1
- package/dist/alphalib/types/robots/video-adaptive.d.ts +32 -8
- package/dist/alphalib/types/robots/video-adaptive.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-adaptive.js +22 -6
- package/dist/alphalib/types/robots/video-adaptive.js.map +1 -1
- package/dist/alphalib/types/robots/video-artwork.d.ts +2855 -0
- package/dist/alphalib/types/robots/video-artwork.d.ts.map +1 -0
- package/dist/alphalib/types/robots/video-artwork.js +66 -0
- package/dist/alphalib/types/robots/video-artwork.js.map +1 -0
- package/dist/alphalib/types/robots/video-concat.d.ts +36 -0
- package/dist/alphalib/types/robots/video-concat.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-concat.js +30 -1
- package/dist/alphalib/types/robots/video-concat.js.map +1 -1
- package/dist/alphalib/types/robots/video-encode.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-encode.js +0 -1
- package/dist/alphalib/types/robots/video-encode.js.map +1 -1
- package/dist/alphalib/types/robots/video-generate.d.ts +594 -0
- package/dist/alphalib/types/robots/video-generate.d.ts.map +1 -0
- package/dist/alphalib/types/robots/video-generate.js +90 -0
- package/dist/alphalib/types/robots/video-generate.js.map +1 -0
- package/dist/alphalib/types/robots/video-merge.d.ts +24 -0
- package/dist/alphalib/types/robots/video-merge.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-merge.js +33 -1
- package/dist/alphalib/types/robots/video-merge.js.map +1 -1
- package/dist/alphalib/types/robots/video-ondemand.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-ondemand.js +3 -4
- package/dist/alphalib/types/robots/video-ondemand.js.map +1 -1
- package/dist/alphalib/types/robots/video-split.d.ts +2939 -0
- package/dist/alphalib/types/robots/video-split.d.ts.map +1 -0
- package/dist/alphalib/types/robots/video-split.js +78 -0
- package/dist/alphalib/types/robots/video-split.js.map +1 -0
- package/dist/alphalib/types/robots/video-subtitle.d.ts +52 -4
- package/dist/alphalib/types/robots/video-subtitle.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-subtitle.js +61 -8
- package/dist/alphalib/types/robots/video-subtitle.js.map +1 -1
- package/dist/alphalib/types/robots/video-thumbs.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-thumbs.js +0 -1
- package/dist/alphalib/types/robots/video-thumbs.js.map +1 -1
- package/dist/alphalib/types/robots/vimeo-import.d.ts +4 -4
- package/dist/alphalib/types/robots/vimeo-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/vimeo-import.js +0 -1
- package/dist/alphalib/types/robots/vimeo-import.js.map +1 -1
- package/dist/alphalib/types/robots/vimeo-store.d.ts +2 -2
- package/dist/alphalib/types/robots/vimeo-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/vimeo-store.js +14 -3
- package/dist/alphalib/types/robots/vimeo-store.js.map +1 -1
- package/dist/alphalib/types/robots/wasabi-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/wasabi-import.js +0 -1
- package/dist/alphalib/types/robots/wasabi-import.js.map +1 -1
- package/dist/alphalib/types/robots/wasabi-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/wasabi-store.js +0 -1
- package/dist/alphalib/types/robots/wasabi-store.js.map +1 -1
- package/dist/alphalib/types/robots/youtube-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/youtube-store.js +4 -5
- package/dist/alphalib/types/robots/youtube-store.js.map +1 -1
- package/dist/alphalib/types/template.d.ts +41 -132175
- package/dist/alphalib/types/template.d.ts.map +1 -1
- package/dist/alphalib/types/template.js +16 -3
- package/dist/alphalib/types/template.js.map +1 -1
- package/dist/alphalib/types/templateCredential.d.ts +3 -3
- package/dist/alphalib/types/templateCredential.d.ts.map +1 -1
- package/dist/alphalib/types/templateCredential.js +1 -0
- package/dist/alphalib/types/templateCredential.js.map +1 -1
- package/dist/alphalib/zodParseWithContext.d.ts.map +1 -1
- package/dist/alphalib/zodParseWithContext.js +15 -11
- package/dist/alphalib/zodParseWithContext.js.map +1 -1
- package/dist/cli/generateIntentDocs.d.ts +5 -1
- package/dist/cli/generateIntentDocs.d.ts.map +1 -1
- package/dist/cli/generateIntentDocs.js +25 -9
- package/dist/cli/generateIntentDocs.js.map +1 -1
- package/dist/cli/intentCommandSpecs.d.ts.map +1 -1
- package/dist/cli/intentCommandSpecs.js +4 -6
- package/dist/cli/intentCommandSpecs.js.map +1 -1
- package/dist/cli/intentRuntime.d.ts.map +1 -1
- package/dist/cli/intentRuntime.js +4 -4
- package/dist/cli/intentRuntime.js.map +1 -1
- package/dist/cli/semanticIntents/imageDescribe.d.ts +3 -1
- package/dist/cli/semanticIntents/imageDescribe.d.ts.map +1 -1
- package/dist/cli/semanticIntents/imageDescribe.js +1 -1
- package/dist/cli/semanticIntents/imageDescribe.js.map +1 -1
- package/dist/cli/semanticIntents/imageGenerate.d.ts +94 -0
- package/dist/cli/semanticIntents/imageGenerate.d.ts.map +1 -0
- package/dist/cli/semanticIntents/imageGenerate.js +215 -0
- package/dist/cli/semanticIntents/imageGenerate.js.map +1 -0
- package/dist/cli/semanticIntents/index.d.ts +3 -1
- package/dist/cli/semanticIntents/index.d.ts.map +1 -1
- package/dist/cli/semanticIntents/index.js +2 -0
- package/dist/cli/semanticIntents/index.js.map +1 -1
- package/dist/cli/semanticIntents/markdownPdf.js +1 -1
- package/dist/cli/semanticIntents/markdownPdf.js.map +1 -1
- package/dist/cli.js +0 -0
- package/dist/robots.js +2 -2
- package/dist/robots.js.map +1 -1
- package/package.json +1 -1
- package/src/alphalib/assembly-linter.ts +1 -1
- package/src/alphalib/stepParsing.ts +2 -2
- package/src/alphalib/types/assemblyStatus.ts +41 -2
- package/src/alphalib/types/robots/_index.ts +211 -20
- package/src/alphalib/types/robots/_instructions-primitives.ts +93 -3
- package/src/alphalib/types/robots/ai-chat.ts +35 -5
- package/src/alphalib/types/robots/assembly-savejson.ts +8 -0
- package/src/alphalib/types/robots/audio-artwork.ts +4 -5
- package/src/alphalib/types/robots/audio-concat.ts +1 -2
- package/src/alphalib/types/robots/audio-encode.ts +1 -2
- package/src/alphalib/types/robots/audio-loop.ts +1 -2
- package/src/alphalib/types/robots/audio-merge.ts +1 -2
- package/src/alphalib/types/robots/audio-split.ts +130 -0
- package/src/alphalib/types/robots/audio-waveform.ts +90 -6
- package/src/alphalib/types/robots/azure-import.ts +0 -1
- package/src/alphalib/types/robots/azure-store.ts +0 -1
- package/src/alphalib/types/robots/backblaze-import.ts +0 -1
- package/src/alphalib/types/robots/backblaze-store.ts +0 -1
- package/src/alphalib/types/robots/box-import.ts +97 -0
- package/src/alphalib/types/robots/box-store.ts +94 -0
- package/src/alphalib/types/robots/cloudfiles-import.ts +0 -1
- package/src/alphalib/types/robots/cloudfiles-store.ts +0 -1
- package/src/alphalib/types/robots/cloudflare-import.ts +0 -1
- package/src/alphalib/types/robots/cloudflare-store.ts +0 -1
- package/src/alphalib/types/robots/digitalocean-import.ts +0 -1
- package/src/alphalib/types/robots/digitalocean-store.ts +0 -1
- package/src/alphalib/types/robots/document-autorotate.ts +8 -1
- package/src/alphalib/types/robots/document-convert.ts +10 -3
- package/src/alphalib/types/robots/document-merge.ts +0 -1
- package/src/alphalib/types/robots/document-ocr.ts +0 -1
- package/src/alphalib/types/robots/document-optimize.ts +0 -1
- package/src/alphalib/types/robots/document-split.ts +9 -1
- package/src/alphalib/types/robots/document-thumbs.ts +26 -4
- package/src/alphalib/types/robots/dropbox-import.ts +0 -1
- package/src/alphalib/types/robots/dropbox-store.ts +0 -1
- package/src/alphalib/types/robots/edgly-deliver.ts +8 -1
- package/src/alphalib/types/robots/file-compress.ts +8 -1
- package/src/alphalib/types/robots/file-decompress.ts +30 -5
- package/src/alphalib/types/robots/file-filter.ts +23 -6
- package/src/alphalib/types/robots/file-hash.ts +23 -1
- package/src/alphalib/types/robots/file-preview.ts +8 -1
- package/src/alphalib/types/robots/file-read.ts +9 -1
- package/src/alphalib/types/robots/file-serve.ts +39 -7
- package/src/alphalib/types/robots/file-verify.ts +0 -1
- package/src/alphalib/types/robots/file-virusscan.ts +6 -4
- package/src/alphalib/types/robots/file-watermark.ts +10 -0
- package/src/alphalib/types/robots/ftp-import.ts +0 -1
- package/src/alphalib/types/robots/ftp-store.ts +0 -1
- package/src/alphalib/types/robots/google-import.ts +0 -1
- package/src/alphalib/types/robots/google-store.ts +0 -1
- package/src/alphalib/types/robots/html-convert.ts +0 -1
- package/src/alphalib/types/robots/http-import.ts +0 -1
- package/src/alphalib/types/robots/image-bgremove.ts +4 -2
- package/src/alphalib/types/robots/image-copyrightdetect.ts +167 -0
- package/src/alphalib/types/robots/image-describe.ts +0 -1
- package/src/alphalib/types/robots/image-enhance.ts +185 -0
- package/src/alphalib/types/robots/image-facedetect.ts +0 -1
- package/src/alphalib/types/robots/image-generate.ts +74 -8
- package/src/alphalib/types/robots/image-merge.ts +0 -1
- package/src/alphalib/types/robots/image-ocr.ts +0 -1
- package/src/alphalib/types/robots/image-optimize.ts +16 -3
- package/src/alphalib/types/robots/image-resize.ts +37 -1
- package/src/alphalib/types/robots/image-upscale.ts +93 -0
- package/src/alphalib/types/robots/mega-import.ts +123 -0
- package/src/alphalib/types/robots/mega-store.ts +109 -0
- package/src/alphalib/types/robots/meta-read.ts +8 -0
- package/src/alphalib/types/robots/meta-write.ts +0 -1
- package/src/alphalib/types/robots/minio-import.ts +0 -1
- package/src/alphalib/types/robots/minio-store.ts +0 -1
- package/src/alphalib/types/robots/progress-simulate.ts +13 -0
- package/src/alphalib/types/robots/s3-import.ts +0 -1
- package/src/alphalib/types/robots/s3-store.ts +0 -1
- package/src/alphalib/types/robots/script-run.ts +11 -1
- package/src/alphalib/types/robots/sftp-import.ts +0 -1
- package/src/alphalib/types/robots/sftp-store.ts +0 -1
- package/src/alphalib/types/robots/speech-transcribe.ts +0 -1
- package/src/alphalib/types/robots/supabase-import.ts +0 -1
- package/src/alphalib/types/robots/supabase-store.ts +0 -1
- package/src/alphalib/types/robots/swift-import.ts +0 -1
- package/src/alphalib/types/robots/swift-store.ts +0 -1
- package/src/alphalib/types/robots/text-speak.ts +0 -1
- package/src/alphalib/types/robots/text-translate.ts +0 -1
- package/src/alphalib/types/robots/tigris-import.ts +0 -1
- package/src/alphalib/types/robots/tigris-store.ts +0 -1
- package/src/alphalib/types/robots/tlcdn-deliver.ts +8 -1
- package/src/alphalib/types/robots/tus-store.ts +1 -14
- package/src/alphalib/types/robots/upload-handle.ts +0 -1
- package/src/alphalib/types/robots/video-adaptive.ts +22 -6
- package/src/alphalib/types/robots/video-artwork.ts +100 -0
- package/src/alphalib/types/robots/video-concat.ts +30 -1
- package/src/alphalib/types/robots/video-encode.ts +0 -1
- package/src/alphalib/types/robots/video-generate.ts +120 -0
- package/src/alphalib/types/robots/video-merge.ts +33 -1
- package/src/alphalib/types/robots/video-ondemand.ts +3 -4
- package/src/alphalib/types/robots/video-split.ts +117 -0
- package/src/alphalib/types/robots/video-subtitle.ts +61 -8
- package/src/alphalib/types/robots/video-thumbs.ts +0 -1
- package/src/alphalib/types/robots/vimeo-import.ts +0 -1
- package/src/alphalib/types/robots/vimeo-store.ts +14 -3
- package/src/alphalib/types/robots/wasabi-import.ts +0 -1
- package/src/alphalib/types/robots/wasabi-store.ts +0 -1
- package/src/alphalib/types/robots/youtube-store.ts +4 -5
- package/src/alphalib/types/template.ts +47 -15
- package/src/alphalib/types/templateCredential.ts +1 -0
- package/src/alphalib/zodParseWithContext.ts +19 -12
- package/src/cli/generateIntentDocs.ts +28 -9
- package/src/cli/intentCommandSpecs.ts +4 -9
- package/src/cli/intentRuntime.ts +8 -3
- package/src/cli/semanticIntents/imageDescribe.ts +4 -1
- package/src/cli/semanticIntents/imageGenerate.ts +254 -0
- package/src/cli/semanticIntents/index.ts +6 -1
- package/src/cli/semanticIntents/markdownPdf.ts +1 -1
- package/src/robots.ts +2 -2
|
@@ -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
|
+
>
|
|
@@ -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:
|
|
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,
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
|
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()
|
|
@@ -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()
|
|
@@ -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: 0.8,
|
|
10
9
|
discount_pct: 20,
|
|
@@ -46,9 +45,9 @@ export const robotFileDecompressInstructionsSchema = robotBase
|
|
|
46
45
|
robot: z.literal('/file/decompress').describe(`
|
|
47
46
|
This Robot supports the following archive formats:
|
|
48
47
|
|
|
49
|
-
- ZIP archives (with uncompressed or "deflate"-compressed entries)
|
|
50
|
-
- 7-Zip archives
|
|
51
|
-
- RAR archives
|
|
48
|
+
- ZIP archives (with uncompressed or "deflate"-compressed entries, including password-protected)
|
|
49
|
+
- 7-Zip archives (including AES-256 encrypted)
|
|
50
|
+
- RAR archives (including encrypted)
|
|
52
51
|
- GNU tar format (including GNU long filenames, long link names, and sparse files)
|
|
53
52
|
- Solaris 9 extended tar format (including ACLs)
|
|
54
53
|
- Old V7 tar archives
|
|
@@ -74,7 +73,21 @@ This <dfn>Robot</dfn> also detects and handles any of the following before evalu
|
|
|
74
73
|
- compress/LZW compression
|
|
75
74
|
- lzma, lzip, and xz compression
|
|
76
75
|
|
|
77
|
-
For security reasons, archives that contain symlinks to outside the archived dir, will error out the <dfn>Assembly</dfn>.
|
|
76
|
+
For security reasons, archives that contain symlinks to outside the archived dir, will error out the <dfn>Assembly</dfn>.
|
|
77
|
+
|
|
78
|
+
Password-protected archives (ZIP with ZipCrypto or AES encryption, RAR encrypted, 7z with AES-256) are supported via the \`password\` parameter.
|
|
79
|
+
`),
|
|
80
|
+
password: z
|
|
81
|
+
.string()
|
|
82
|
+
.optional()
|
|
83
|
+
.describe(`
|
|
84
|
+
The password to use for decrypting password-protected archives.
|
|
85
|
+
|
|
86
|
+
Supports encrypted ZIP (ZipCrypto and AES), RAR (encrypted), and 7z (AES-256 encrypted) archives.
|
|
87
|
+
|
|
88
|
+
For security, this value should be passed via Template Variables (\`\${fields.archive_password}\`) or Template Credentials rather than hardcoded in your Assembly Instructions. The password is never logged or included in Assembly status responses.
|
|
89
|
+
|
|
90
|
+
If the archive is encrypted and no password is provided, or if the password is incorrect, the <dfn>Assembly</dfn> will fail with a \`FILE_DECOMPRESS_PASSWORD_REQUIRED\` or \`FILE_DECOMPRESS_PASSWORD_INCORRECT\` error.
|
|
78
91
|
`),
|
|
79
92
|
ignore_errors: z
|
|
80
93
|
.union([z.boolean(), z.array(z.enum(['meta', 'execute']))])
|
|
@@ -88,6 +101,18 @@ A possible array member is only \`"meta"\`.
|
|
|
88
101
|
You might see an error when trying to extract metadata from the files inside your archive. This happens, for example, for files with a size of zero bytes. Setting this to \`true\` will cause the <dfn>Robot</dfn> to not stop the file decompression (and the entire <dfn>Assembly</dfn>) when that happens.
|
|
89
102
|
|
|
90
103
|
To keep backwards compatibility, setting this parameter to \`true\` will set it to \`["meta"]\` internally.
|
|
104
|
+
`),
|
|
105
|
+
turbo: z
|
|
106
|
+
.boolean()
|
|
107
|
+
.default(true)
|
|
108
|
+
.describe(`
|
|
109
|
+
Enables Turbo Mode for \`/file/decompress\`.
|
|
110
|
+
|
|
111
|
+
This setting defaults to \`true\`. Set it to \`false\` to disable Turbo Mode.
|
|
112
|
+
|
|
113
|
+
When enabled, extracted files are emitted as soon as they are available, which can speed up downstream processing for large archives.
|
|
114
|
+
|
|
115
|
+
Turbo Mode also changes usage accounting: emitted extracted-file bytes and original input-archive bytes are billed with a surcharge (25% by default).
|
|
91
116
|
`),
|
|
92
117
|
})
|
|
93
118
|
.strict()
|
|
@@ -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: 0,
|
|
14
13
|
discount_factor: 0,
|
|
15
14
|
discount_pct: 100,
|
|
@@ -18,7 +17,7 @@ export const meta: RobotMetaInput = {
|
|
|
18
17
|
filtered: {
|
|
19
18
|
robot: '/file/filter',
|
|
20
19
|
use: ':original',
|
|
21
|
-
declines: [['${file.size}', '>', '
|
|
20
|
+
declines: [['${file.size}', '>', '20mb']],
|
|
22
21
|
error_on_decline: true,
|
|
23
22
|
error_msg: 'File size must not exceed 20 MB',
|
|
24
23
|
},
|
|
@@ -74,9 +73,21 @@ Examples:
|
|
|
74
73
|
|
|
75
74
|
- \`[["\${file.meta.width}", ">", "\${file.meta.height}"]]\`
|
|
76
75
|
- \`[["\${file.size}", "<=", "720"]]\`
|
|
76
|
+
- \`[["\${file.size}", ">", "20mb"]]\`
|
|
77
77
|
- \`[["720", ">=", "\${file.size}"]]\`
|
|
78
78
|
- \`[["\${file.mime}", "regex", "image"]]\`
|
|
79
79
|
|
|
80
|
+
When you match against \`\${file.mime}\`, the value is typically based on Transloadit’s
|
|
81
|
+
server-side metadata extraction in the normal upload flow, rather than only the MIME type reported
|
|
82
|
+
by the client or browser. This makes \`/file/filter\` suitable for rejecting mislabeled files.
|
|
83
|
+
Depending on the file container and the detection tools involved, some formats may be reported under
|
|
84
|
+
closely related MIME types such as \`image/heic\` or \`image/heif\`.
|
|
85
|
+
|
|
86
|
+
If you only want formats that browsers consistently render, prefer an explicit allowlist such as
|
|
87
|
+
\`^(image/jpeg|image/png|image/gif|image/webp|image/avif)$\` over a broad \`^image/\` rule.
|
|
88
|
+
|
|
89
|
+
For numeric comparisons (\`<\`, \`>\`, \`<=\`, \`>=\`), you can use human-readable byte values such as \`"20mb"\`, \`"1gb"\`, or \`"512kb"\`. These use binary (1024-based) multipliers. Supported units: \`b\`, \`kb\`, \`mb\`, \`gb\`, \`tb\`, \`pb\` (and their IEC equivalents \`kib\`, \`mib\`, \`gib\`, \`tib\`, \`pib\`).
|
|
90
|
+
|
|
80
91
|
The \`includes\` and \`!includes\` operators work with arrays or strings (strings use substring checks).
|
|
81
92
|
|
|
82
93
|
> [!Warning]
|
|
@@ -98,9 +109,12 @@ As indicated, we charge for this via [🤖/script/run](/docs/robots/script-run/)
|
|
|
98
109
|
accepts: filterCondition
|
|
99
110
|
.describe(
|
|
100
111
|
`
|
|
101
|
-
Files that match at least one requirement will be accepted, or declined otherwise. If the value is \`null\`, all files will be accepted. If the array is empty, no files will be accepted.
|
|
112
|
+
Files that match at least one requirement will be accepted, or declined otherwise. If the value is \`null\`, all files will be accepted. If the array is empty, no files will be accepted. Examples:
|
|
102
113
|
|
|
103
|
-
\`[["\${file.mime}", "==", "image/gif"]]
|
|
114
|
+
\`[["\${file.mime}", "==", "image/gif"]]\`
|
|
115
|
+
\`[["\${file.size}", "<", "5kb"]]\`
|
|
116
|
+
|
|
117
|
+
For numeric comparisons (\`<\`, \`>\`, \`<=\`, \`>=\`), human-readable byte values such as \`"20mb"\`, \`"1gb"\`, or \`"512kb"\` are supported.
|
|
104
118
|
|
|
105
119
|
If the \`condition_type\` parameter is set to \`"and"\`, then all requirements must match for the file to be accepted.
|
|
106
120
|
|
|
@@ -111,9 +125,12 @@ If \`accepts\` and \`declines\` are both provided, the requirements in \`accepts
|
|
|
111
125
|
declines: filterCondition
|
|
112
126
|
.describe(
|
|
113
127
|
`
|
|
114
|
-
Files that match at least one requirement will be declined, or accepted otherwise. If the value is \`null\` or an empty array, no files will be declined.
|
|
128
|
+
Files that match at least one requirement will be declined, or accepted otherwise. If the value is \`null\` or an empty array, no files will be declined. Examples:
|
|
129
|
+
|
|
130
|
+
\`[["\${file.size}", ">", "1024"]]\`
|
|
131
|
+
\`[["\${file.size}", ">", "20mb"]]\`
|
|
115
132
|
|
|
116
|
-
\`
|
|
133
|
+
For numeric comparisons (\`<\`, \`>\`, \`<=\`, \`>=\`), human-readable byte values such as \`"20mb"\`, \`"1gb"\`, or \`"512kb"\` are supported.
|
|
117
134
|
|
|
118
135
|
If the \`condition_type\` parameter is set to \`"and"\`, then all requirements must match for the file to be declined.
|
|
119
136
|
|
|
@@ -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: 5,
|
|
9
8
|
discount_factor: 0.2,
|
|
10
9
|
discount_pct: 80,
|
|
@@ -52,6 +51,29 @@ This <dfn>Robot</dfn> allows you to hash any file as part of the <dfn>Assembly</
|
|
|
52
51
|
The hashing algorithm to use.
|
|
53
52
|
|
|
54
53
|
The file hash is exported as \`file.meta.hash\`.
|
|
54
|
+
`),
|
|
55
|
+
partial: z
|
|
56
|
+
.enum(['full', 'first', 'last', 'both'])
|
|
57
|
+
.default('full')
|
|
58
|
+
.describe(`
|
|
59
|
+
Specifies which portion of the file to hash. This is useful for fast fingerprinting of large files.
|
|
60
|
+
|
|
61
|
+
- \`"full"\` (default): Hash the entire file.
|
|
62
|
+
- \`"first"\`: Hash only the first N bytes (specified by \`partial_size\`).
|
|
63
|
+
- \`"last"\`: Hash only the last N bytes (specified by \`partial_size\`).
|
|
64
|
+
- \`"both"\`: Hash the first N bytes concatenated with the last N bytes.
|
|
65
|
+
|
|
66
|
+
When using partial hashing, \`file.meta.hash_partial\` indicates the mode used, and \`file.meta.hash_partial_size\` indicates the number of bytes hashed from each portion.
|
|
67
|
+
`),
|
|
68
|
+
partial_size: z
|
|
69
|
+
.number()
|
|
70
|
+
.int()
|
|
71
|
+
.positive()
|
|
72
|
+
.default(1048576)
|
|
73
|
+
.describe(`
|
|
74
|
+
The number of bytes to hash when using partial hashing. Defaults to \`1048576\` (1 MB).
|
|
75
|
+
|
|
76
|
+
This parameter is only used when \`partial\` is set to \`"first"\`, \`"last"\`, or \`"both"\`.
|
|
55
77
|
`),
|
|
56
78
|
})
|
|
57
79
|
.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: 1,
|
|
18
17
|
discount_factor: 1,
|
|
19
18
|
discount_pct: 0,
|
|
@@ -83,6 +82,14 @@ See the list of available [resize strategies](/docs/topics/resize-strategies/) f
|
|
|
83
82
|
`),
|
|
84
83
|
background: color_with_alpha.default('#ffffffff').describe(`
|
|
85
84
|
The hexadecimal code of the color used to fill the background (only used for the pad resize strategy). The format is \`#rrggbb[aa]\` (red, green, blue, alpha). Use \`#00000000\` for a transparent padding.
|
|
85
|
+
`),
|
|
86
|
+
zoom: z
|
|
87
|
+
.boolean()
|
|
88
|
+
.default(true)
|
|
89
|
+
.describe(`
|
|
90
|
+
If set to \`false\`, smaller images will not be stretched to the desired \`width\` and \`height\`. This is useful if you want to retain the original image dimensions and only limit the output to a maximum size. For details about the impact of zooming for your preferred resize strategy, see the list of available [resize strategies](/docs/topics/resize-strategies/).
|
|
91
|
+
|
|
92
|
+
Note that this parameter only affects strategies that produce a still image. Animated clips generated by the \`clip\` strategy are not affected.
|
|
86
93
|
`),
|
|
87
94
|
strategy: z
|
|
88
95
|
.object({
|
|
@@ -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: 5,
|
|
9
8
|
discount_factor: 0.2,
|
|
10
9
|
discount_pct: 80,
|
|
10
|
+
example_code: {
|
|
11
|
+
steps: {
|
|
12
|
+
read: {
|
|
13
|
+
robot: '/file/read',
|
|
14
|
+
use: ':original',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
example_code_description: 'Read UTF-8 text content from an uploaded file:',
|
|
11
19
|
minimum_charge: 512000,
|
|
12
20
|
output_factor: 1,
|
|
13
21
|
override_lvl1: 'Document Processing',
|