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