@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.
- 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.js +0 -0
- package/dist/robots.js +2 -2
- package/dist/robots.js.map +1 -1
- package/package.json +2 -2
- 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/robots.ts +2 -2
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
|
+
import { interpolateRobot, megaBase, 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: '/mega/store',
|
|
14
|
+
use: ':original',
|
|
15
|
+
credentials: 'YOUR_MEGA_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 MEGA object storage:',
|
|
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 MEGA object storage buckets',
|
|
26
|
+
purpose_verb: 'export',
|
|
27
|
+
purpose_word: 'MEGA',
|
|
28
|
+
purpose_words: 'Export files to MEGA',
|
|
29
|
+
service_slug: 'file-exporting',
|
|
30
|
+
slot_count: 10,
|
|
31
|
+
title: 'Export files to MEGA',
|
|
32
|
+
typical_file_size_mb: 1.2,
|
|
33
|
+
typical_file_type: 'file',
|
|
34
|
+
name: 'MegaStoreRobot',
|
|
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 robotMegaStoreInstructionsSchema = robotBase
|
|
45
|
+
.merge(robotUse)
|
|
46
|
+
.merge(megaBase)
|
|
47
|
+
.extend({
|
|
48
|
+
robot: z.literal('/mega/store').describe(`
|
|
49
|
+
The URL to the result file will be returned in the <dfn>Assembly Status JSON</dfn>.
|
|
50
|
+
`),
|
|
51
|
+
path: z
|
|
52
|
+
.string()
|
|
53
|
+
.default('${unique_prefix}/${file.url_name}')
|
|
54
|
+
.describe(`
|
|
55
|
+
The path at which the file is to be stored. This may include any available [Assembly variables](/docs/topics/assembly-instructions/#assembly-variables). The path must not be a directory.
|
|
56
|
+
`),
|
|
57
|
+
acl: z
|
|
58
|
+
.enum(['private', 'public-read'])
|
|
59
|
+
.default('public-read')
|
|
60
|
+
.describe(`
|
|
61
|
+
The permissions used for this file.
|
|
62
|
+
`),
|
|
63
|
+
headers: z
|
|
64
|
+
.record(z.string())
|
|
65
|
+
.default({ 'Content-Type': '${file.mime}' })
|
|
66
|
+
.describe(`
|
|
67
|
+
An object containing a list of headers to be set for this file on MEGA object storage, such as \`{ FileURL: "\${file.url_name}" }\`. This can also include any available [Assembly Variables](/docs/topics/assembly-instructions/#assembly-variables).
|
|
68
|
+
|
|
69
|
+
Object Metadata can be specified using \`x-amz-meta-*\` headers. Note that these headers [do not support non-ASCII metadata values](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#UserMetadata).
|
|
70
|
+
`),
|
|
71
|
+
sign_urls_for: z
|
|
72
|
+
.number()
|
|
73
|
+
.int()
|
|
74
|
+
.min(0)
|
|
75
|
+
.optional()
|
|
76
|
+
.describe(`
|
|
77
|
+
This parameter provides signed URLs in the result JSON (in the \`signed_ssl_url\` property). The number that you set this parameter to is the URL expiry time in seconds. If this parameter is not used, no URL signing is done.
|
|
78
|
+
`),
|
|
79
|
+
})
|
|
80
|
+
.strict()
|
|
81
|
+
|
|
82
|
+
export const robotMegaStoreInstructionsWithHiddenFieldsSchema =
|
|
83
|
+
robotMegaStoreInstructionsSchema.extend({
|
|
84
|
+
result: z.union([z.literal('debug'), robotMegaStoreInstructionsSchema.shape.result]).optional(),
|
|
85
|
+
})
|
|
86
|
+
|
|
87
|
+
export type RobotMegaStoreInstructions = z.infer<typeof robotMegaStoreInstructionsSchema>
|
|
88
|
+
export type RobotMegaStoreInstructionsWithHiddenFields = z.infer<
|
|
89
|
+
typeof robotMegaStoreInstructionsWithHiddenFieldsSchema
|
|
90
|
+
>
|
|
91
|
+
|
|
92
|
+
export const interpolatableRobotMegaStoreInstructionsSchema = interpolateRobot(
|
|
93
|
+
robotMegaStoreInstructionsSchema,
|
|
94
|
+
)
|
|
95
|
+
export type InterpolatableRobotMegaStoreInstructions = InterpolatableRobotMegaStoreInstructionsInput
|
|
96
|
+
|
|
97
|
+
export type InterpolatableRobotMegaStoreInstructionsInput = z.input<
|
|
98
|
+
typeof interpolatableRobotMegaStoreInstructionsSchema
|
|
99
|
+
>
|
|
100
|
+
|
|
101
|
+
export const interpolatableRobotMegaStoreInstructionsWithHiddenFieldsSchema = interpolateRobot(
|
|
102
|
+
robotMegaStoreInstructionsWithHiddenFieldsSchema,
|
|
103
|
+
)
|
|
104
|
+
export type InterpolatableRobotMegaStoreInstructionsWithHiddenFields = z.infer<
|
|
105
|
+
typeof interpolatableRobotMegaStoreInstructionsWithHiddenFieldsSchema
|
|
106
|
+
>
|
|
107
|
+
export type InterpolatableRobotMegaStoreInstructionsWithHiddenFieldsInput = z.input<
|
|
108
|
+
typeof interpolatableRobotMegaStoreInstructionsWithHiddenFieldsSchema
|
|
109
|
+
>
|
|
@@ -5,6 +5,14 @@ import { interpolateRobot, robotBase } from './_instructions-primitives.ts'
|
|
|
5
5
|
// @ts-expect-error - MetaReadRobot is not ready yet @TODO please supply missing keys
|
|
6
6
|
export const meta: RobotMetaInput = {
|
|
7
7
|
name: 'MetaReadRobot',
|
|
8
|
+
example_code: {
|
|
9
|
+
steps: {
|
|
10
|
+
metadata: {
|
|
11
|
+
robot: '/meta/read',
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
example_code_description: 'Read metadata from uploaded files:',
|
|
8
16
|
priceFactor: 0,
|
|
9
17
|
queueSlotCount: 15,
|
|
10
18
|
isAllowedForUrlTransform: true,
|
|
@@ -5,7 +5,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
|
5
5
|
import { interpolateRobot, robotBase, robotFFmpeg, robotUse } from './_instructions-primitives.ts'
|
|
6
6
|
|
|
7
7
|
export const meta: RobotMetaInput = {
|
|
8
|
-
allowed_for_url_transform: true,
|
|
9
8
|
bytescount: 1,
|
|
10
9
|
discount_factor: 1,
|
|
11
10
|
discount_pct: 0,
|
|
@@ -4,7 +4,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
|
4
4
|
import { interpolateRobot, minioBase, 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,
|
|
@@ -6,6 +6,19 @@ import { interpolateRobot, robotBase, robotUse } from './_instructions-primitive
|
|
|
6
6
|
// @ts-expect-error - ProgressSimulateRobot is not ready yet @TODO please supply missing keys
|
|
7
7
|
export const meta: RobotMetaInput = {
|
|
8
8
|
name: 'ProgressSimulateRobot',
|
|
9
|
+
example_code: {
|
|
10
|
+
steps: {
|
|
11
|
+
simulate: {
|
|
12
|
+
robot: '/progress/simulate',
|
|
13
|
+
use: ':original',
|
|
14
|
+
duration: 10,
|
|
15
|
+
output_files: 3,
|
|
16
|
+
emit_progress: true,
|
|
17
|
+
predict_output: true,
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
example_code_description: 'Simulate Step progress and output generation for testing:',
|
|
9
22
|
priceFactor: 1,
|
|
10
23
|
queueSlotCount: 20,
|
|
11
24
|
isAllowedForUrlTransform: false,
|
|
@@ -4,7 +4,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
|
4
4
|
import { interpolateRobot, robotBase, robotUse, s3Base } from './_instructions-primitives.ts'
|
|
5
5
|
|
|
6
6
|
export const meta: RobotMetaInput = {
|
|
7
|
-
allowed_for_url_transform: true,
|
|
8
7
|
bytescount: 10,
|
|
9
8
|
discount_factor: 0.1,
|
|
10
9
|
discount_pct: 90,
|
|
@@ -4,10 +4,20 @@ 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: 10,
|
|
9
8
|
discount_factor: 0.1,
|
|
10
9
|
discount_pct: 90,
|
|
10
|
+
example_code: {
|
|
11
|
+
steps: {
|
|
12
|
+
evaluate: {
|
|
13
|
+
robot: '/script/run',
|
|
14
|
+
use: ':original',
|
|
15
|
+
script:
|
|
16
|
+
'({ width: file.meta.width, height: file.meta.height, area: file.meta.width * file.meta.height })',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
example_code_description: 'Run JavaScript against uploaded file metadata:',
|
|
11
21
|
minimum_charge: 0,
|
|
12
22
|
output_factor: 1,
|
|
13
23
|
override_lvl1: 'Code Evaluation',
|
|
@@ -4,7 +4,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
|
4
4
|
import { interpolateRobot, robotBase, robotImport, sftpBase } from './_instructions-primitives.ts'
|
|
5
5
|
|
|
6
6
|
export const meta: RobotMetaInput = {
|
|
7
|
-
allowed_for_url_transform: true,
|
|
8
7
|
bytescount: 10,
|
|
9
8
|
discount_factor: 0.1,
|
|
10
9
|
discount_pct: 90,
|
|
@@ -4,7 +4,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
|
4
4
|
import { interpolateRobot, robotBase, robotUse, sftpBase } 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,
|
|
@@ -4,7 +4,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
|
4
4
|
import { interpolateRobot, robotBase, robotUse, supabaseBase } 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,
|
|
@@ -4,7 +4,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
|
4
4
|
import { interpolateRobot, robotBase, robotUse, swiftBase } 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,
|
|
@@ -4,7 +4,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
|
4
4
|
import { interpolateRobot, robotBase, robotUse, tigrisBase } 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: '/tlcdn/deliver',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
example_code_description: 'Cache and deliver files over Smart CDN using the tlcdn.com 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: true,
|
|
8
7
|
bytescount: 10,
|
|
9
8
|
discount_factor: 0.1,
|
|
10
9
|
discount_pct: 90,
|
|
@@ -43,19 +42,7 @@ export const meta: RobotMetaInput = {
|
|
|
43
42
|
export const robotTusStoreInstructionsSchema = robotBase
|
|
44
43
|
.merge(robotUse)
|
|
45
44
|
.extend({
|
|
46
|
-
robot: z.literal('/tus/store')
|
|
47
|
-
> [!Note]
|
|
48
|
-
> This <dfn>Robot</dfn> only accepts videos.
|
|
49
|
-
|
|
50
|
-
> [!Warning]
|
|
51
|
-
> Vimeo's API limits the number of concurrent uploads per minute based on your Vimeo account plan. To see how many videos can be uploaded at once based on your plan, click the following [link](https://developer.vimeo.com/guidelines/rate-limiting#table-1).
|
|
52
|
-
|
|
53
|
-
## Installation
|
|
54
|
-
|
|
55
|
-
Since Vimeo works with OAuth, you will need to generate [Template Credentials](https://transloadit.com/c/template-credentials/) to use this <dfn>Robot</dfn>.
|
|
56
|
-
|
|
57
|
-
To change the \`title\` or \`description\` per video, we recommend to [inject variables into your Template](/docs/topics/templates/).
|
|
58
|
-
`),
|
|
45
|
+
robot: z.literal('/tus/store'),
|
|
59
46
|
endpoint: z
|
|
60
47
|
.string()
|
|
61
48
|
.url()
|
|
@@ -4,7 +4,6 @@ import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
|
4
4
|
import { interpolateRobot, robotBase } from './_instructions-primitives.ts'
|
|
5
5
|
|
|
6
6
|
export const meta: RobotMetaInput = {
|
|
7
|
-
allowed_for_url_transform: false,
|
|
8
7
|
bytescount: 10,
|
|
9
8
|
discount_factor: 0.1,
|
|
10
9
|
discount_pct: 90,
|
|
@@ -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: Number.POSITIVE_INFINITY,
|
|
15
14
|
discount_factor: 1,
|
|
16
15
|
discount_pct: 0,
|
|
@@ -54,13 +53,13 @@ export const meta: RobotMetaInput = {
|
|
|
54
53
|
output_factor: 1.2,
|
|
55
54
|
override_lvl1: 'Video Encoding',
|
|
56
55
|
purpose_sentence:
|
|
57
|
-
'encodes videos into HTTP Live Streaming (HLS)
|
|
56
|
+
'encodes videos into HTTP Live Streaming (HLS), MPEG-Dash and CMAF supported formats and generates the necessary manifest and playlist files',
|
|
58
57
|
purpose_verb: 'convert',
|
|
59
58
|
purpose_word: 'make adaptive',
|
|
60
|
-
purpose_words: 'Convert videos to HLS
|
|
59
|
+
purpose_words: 'Convert videos to HLS, MPEG-Dash and CMAF',
|
|
61
60
|
service_slug: 'video-encoding',
|
|
62
61
|
slot_count: 60,
|
|
63
|
-
title: 'Convert videos to HLS
|
|
62
|
+
title: 'Convert videos to HLS, MPEG-Dash and CMAF',
|
|
64
63
|
typical_file_size_mb: 80,
|
|
65
64
|
typical_file_type: 'video',
|
|
66
65
|
name: 'VideoAdaptiveRobot',
|
|
@@ -119,16 +118,23 @@ The <dfn>Robot</dfn> gives its result files (segments, initialization segments,
|
|
|
119
118
|
In the \`path\` parameter of the storage <dfn>Robot</dfn> of your choice, use the <dfn>Assembly Variable</dfn> \`\${file.meta.relative_path}\` to store files in the proper paths to make the playlist files work.
|
|
120
119
|
`),
|
|
121
120
|
technique: z
|
|
122
|
-
.enum(['dash', 'hls'])
|
|
121
|
+
.enum(['dash', 'hls', 'cmaf'])
|
|
123
122
|
.default('dash')
|
|
124
123
|
.describe(`
|
|
125
|
-
Determines which streaming technique should be used.
|
|
124
|
+
Determines which streaming technique should be used. Supports \`"dash"\` for MPEG-Dash, \`"hls"\` for HTTP Live Streaming and \`"cmaf"\` for FFmpeg-based CMAF output with both MPEG-Dash and HLS manifests that reference the same fMP4 segments.
|
|
126
125
|
`),
|
|
127
126
|
playlist_name: z
|
|
128
127
|
.string()
|
|
129
128
|
.optional()
|
|
130
129
|
.describe(`
|
|
131
130
|
The filename for the generated manifest/playlist file. The default is \`"playlist.mpd"\` if your \`technique\` is \`"dash"\`, and \`"playlist.m3u8"\` if your \`technique\` is \`"hls"\`.
|
|
131
|
+
For \`"cmaf"\`, this value names the MPEG-Dash manifest and defaults to \`"playlist.mpd"\`.
|
|
132
|
+
`),
|
|
133
|
+
hls_playlist_name: z
|
|
134
|
+
.string()
|
|
135
|
+
.optional()
|
|
136
|
+
.describe(`
|
|
137
|
+
Only used when \`technique\` is \`"cmaf"\`. Defines the filename for the generated HLS master playlist. The default is \`"playlist.m3u8"\`.
|
|
132
138
|
`),
|
|
133
139
|
segment_duration: z
|
|
134
140
|
.number()
|
|
@@ -142,6 +148,16 @@ The duration for each segment in seconds.
|
|
|
142
148
|
.default(true)
|
|
143
149
|
.describe(`
|
|
144
150
|
Determines whether you want closed caption support when using the \`"hls"\` technique.
|
|
151
|
+
`),
|
|
152
|
+
audio_group: z
|
|
153
|
+
.boolean()
|
|
154
|
+
.default(false)
|
|
155
|
+
.describe(`
|
|
156
|
+
When set to \`true\` and using the \`"hls"\` technique, audio-only input files are treated as alternate audio renditions instead of standalone stream variants. This enables players to offer audio track selection (e.g. for multiple languages). Audio-only files are listed as \`#EXT-X-MEDIA:TYPE=AUDIO\` entries in the multivariant playlist, and video variants reference them via the \`AUDIO\` attribute.
|
|
157
|
+
|
|
158
|
+
When enabled, video inputs only include their video stream in the output segments (any muxed audio is excluded). Provide audio separately as audio-only input files.
|
|
159
|
+
|
|
160
|
+
This option is only supported for the \`"hls"\` technique and has no effect when using \`"dash"\`.
|
|
145
161
|
`),
|
|
146
162
|
})
|
|
147
163
|
.strict()
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
import { stackVersions } from '../stackVersions.ts'
|
|
4
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
5
|
+
import {
|
|
6
|
+
interpolateRobot,
|
|
7
|
+
robotBase,
|
|
8
|
+
robotFFmpegAudio,
|
|
9
|
+
robotUse,
|
|
10
|
+
} from './_instructions-primitives.ts'
|
|
11
|
+
|
|
12
|
+
export const meta: RobotMetaInput = {
|
|
13
|
+
bytescount: 1,
|
|
14
|
+
discount_factor: 1,
|
|
15
|
+
discount_pct: 0,
|
|
16
|
+
example_code: {
|
|
17
|
+
steps: {
|
|
18
|
+
artwork_extracted: {
|
|
19
|
+
robot: '/video/artwork',
|
|
20
|
+
use: ':original',
|
|
21
|
+
ffmpeg_stack: stackVersions.ffmpeg.recommendedVersion,
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
example_code_description: 'Extract embedded cover artwork from uploaded video files:',
|
|
26
|
+
minimum_charge: 0,
|
|
27
|
+
output_factor: 0.8,
|
|
28
|
+
override_lvl1: 'Video Encoding',
|
|
29
|
+
purpose_sentence:
|
|
30
|
+
'extracts embedded cover artwork from video files or inserts a new cover image into them. Extracted artwork can be piped into other Steps such as /image/resize. Use `method: "insert"` to embed artwork into video files like MP4, MOV, or M4V',
|
|
31
|
+
purpose_verb: 'extract',
|
|
32
|
+
purpose_word: 'extract/insert artwork',
|
|
33
|
+
purpose_words: 'Extract or insert video artwork',
|
|
34
|
+
service_slug: 'video-encoding',
|
|
35
|
+
slot_count: 20,
|
|
36
|
+
title: 'Extract or insert video artwork',
|
|
37
|
+
typical_file_size_mb: 3.8,
|
|
38
|
+
typical_file_type: 'video',
|
|
39
|
+
uses_tools: ['ffmpeg'],
|
|
40
|
+
name: 'VideoArtworkRobot',
|
|
41
|
+
priceFactor: 1,
|
|
42
|
+
queueSlotCount: 20,
|
|
43
|
+
isAllowedForUrlTransform: true,
|
|
44
|
+
trackOutputFileSize: true,
|
|
45
|
+
isInternal: false,
|
|
46
|
+
removeJobResultFilesFromDiskRightAfterStoringOnS3: false,
|
|
47
|
+
stage: 'ga',
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export const robotVideoArtworkInstructionsSchema = robotBase
|
|
51
|
+
.merge(robotUse)
|
|
52
|
+
.merge(robotFFmpegAudio)
|
|
53
|
+
.extend({
|
|
54
|
+
robot: z.literal('/video/artwork').describe(`
|
|
55
|
+
This <dfn>Robot</dfn> extracts or inserts cover artwork in video files.
|
|
56
|
+
|
|
57
|
+
For extraction, it uses the image format embedded within the video file — most often, this is JPEG. If you need the image in a different format, pipe the result into [🤖/image/resize](/docs/robots/image-resize/).
|
|
58
|
+
|
|
59
|
+
For insertion, provide both a video file (as \`"video"\`) and an image file (as \`"image"\`) via the \`use\` parameter, and set \`method\` to \`"insert"\`. The image will be embedded as the cover artwork of the video file.
|
|
60
|
+
`),
|
|
61
|
+
method: z
|
|
62
|
+
.enum(['extract', 'insert'])
|
|
63
|
+
.default('extract')
|
|
64
|
+
.describe(`
|
|
65
|
+
What should be done with the video file. A value of \`"extract"\` means video artwork will be extracted. A value of \`"insert"\` means the provided image will be inserted as video artwork.
|
|
66
|
+
`),
|
|
67
|
+
})
|
|
68
|
+
.strict()
|
|
69
|
+
|
|
70
|
+
export const robotVideoArtworkInstructionsWithHiddenFieldsSchema =
|
|
71
|
+
robotVideoArtworkInstructionsSchema.extend({
|
|
72
|
+
result: z
|
|
73
|
+
.union([z.literal('debug'), robotVideoArtworkInstructionsSchema.shape.result])
|
|
74
|
+
.optional(),
|
|
75
|
+
})
|
|
76
|
+
|
|
77
|
+
export type RobotVideoArtworkInstructions = z.infer<typeof robotVideoArtworkInstructionsSchema>
|
|
78
|
+
export type RobotVideoArtworkInstructionsWithHiddenFields = z.infer<
|
|
79
|
+
typeof robotVideoArtworkInstructionsWithHiddenFieldsSchema
|
|
80
|
+
>
|
|
81
|
+
|
|
82
|
+
export const interpolatableRobotVideoArtworkInstructionsSchema = interpolateRobot(
|
|
83
|
+
robotVideoArtworkInstructionsSchema,
|
|
84
|
+
)
|
|
85
|
+
export type InterpolatableRobotVideoArtworkInstructions =
|
|
86
|
+
InterpolatableRobotVideoArtworkInstructionsInput
|
|
87
|
+
|
|
88
|
+
export type InterpolatableRobotVideoArtworkInstructionsInput = z.input<
|
|
89
|
+
typeof interpolatableRobotVideoArtworkInstructionsSchema
|
|
90
|
+
>
|
|
91
|
+
|
|
92
|
+
export const interpolatableRobotVideoArtworkInstructionsWithHiddenFieldsSchema = interpolateRobot(
|
|
93
|
+
robotVideoArtworkInstructionsWithHiddenFieldsSchema,
|
|
94
|
+
)
|
|
95
|
+
export type InterpolatableRobotVideoArtworkInstructionsWithHiddenFields = z.infer<
|
|
96
|
+
typeof interpolatableRobotVideoArtworkInstructionsWithHiddenFieldsSchema
|
|
97
|
+
>
|
|
98
|
+
export type InterpolatableRobotVideoArtworkInstructionsWithHiddenFieldsInput = z.input<
|
|
99
|
+
typeof interpolatableRobotVideoArtworkInstructionsWithHiddenFieldsSchema
|
|
100
|
+
>
|
|
@@ -9,7 +9,6 @@ import {
|
|
|
9
9
|
} from './_instructions-primitives.ts'
|
|
10
10
|
|
|
11
11
|
export const meta: RobotMetaInput = {
|
|
12
|
-
allowed_for_url_transform: false,
|
|
13
12
|
bytescount: 4,
|
|
14
13
|
discount_factor: 0.25,
|
|
15
14
|
discount_pct: 75,
|
|
@@ -93,6 +92,36 @@ When used this adds an audio fade in and out effect between each section of your
|
|
|
93
92
|
This parameter does not add an audio fade effect at the beginning or end of your video. If you want to do so, create an additional [🤖/video/encode](/docs/robots/video-encode/] Step and use our \`ffmpeg\` parameter as shown in this [demo](/demos/audio-encoding/ffmpeg-fade-in-and-out/).
|
|
94
93
|
|
|
95
94
|
Please note this parameter is independent of adding video fades between sections.
|
|
95
|
+
`),
|
|
96
|
+
chapter_markers: z
|
|
97
|
+
.boolean()
|
|
98
|
+
.default(false)
|
|
99
|
+
.describe(`
|
|
100
|
+
When set to \`true\`, the concatenated video will contain chapter markers at the positions where the input videos are joined. Each chapter will be titled with the basename of the corresponding input video file.
|
|
101
|
+
|
|
102
|
+
This is useful for navigation in video players that support chapter-based seeking.
|
|
103
|
+
`),
|
|
104
|
+
transition: z
|
|
105
|
+
.enum(['none', 'crossfade', 'fade_to_black'])
|
|
106
|
+
.default('none')
|
|
107
|
+
.describe(`
|
|
108
|
+
Specifies the transition effect to apply between concatenated video clips.
|
|
109
|
+
|
|
110
|
+
- \`"none"\` (default): No transition effect. Videos are joined end-to-end.
|
|
111
|
+
- \`"crossfade"\`: Applies a crossfade transition where the end of one clip gradually blends into the beginning of the next clip. Both video and audio are crossfaded.
|
|
112
|
+
- \`"fade_to_black"\`: Applies a fade-to-black transition where each clip fades out to black before the next clip fades in from black.
|
|
113
|
+
|
|
114
|
+
When using \`"crossfade"\` or \`"fade_to_black"\`, the \`transition_duration\` parameter controls how long the transition lasts. Note that crossfade transitions will reduce the total output duration since clips overlap during the transition.
|
|
115
|
+
`),
|
|
116
|
+
transition_duration: z
|
|
117
|
+
.number()
|
|
118
|
+
.default(1)
|
|
119
|
+
.describe(`
|
|
120
|
+
The duration of the transition effect in seconds. Only applies when \`transition\` is set to \`"crossfade"\` or \`"fade_to_black"\`.
|
|
121
|
+
|
|
122
|
+
For example, a value of \`1.0\` creates a 1-second transition between clips. The value can be a float for sub-second precision (e.g., \`0.5\` for 500 milliseconds) and must be greater than \`0\` whenever transitions are enabled.
|
|
123
|
+
|
|
124
|
+
For crossfade transitions, this is the overlap duration where both clips are visible. For fade_to_black transitions, this is the total time for the fade out and fade in (half for each). The applied transition is capped at half of the shorter clip in each transition pair.
|
|
96
125
|
`),
|
|
97
126
|
})
|
|
98
127
|
.strict()
|