@transloadit/node 4.10.4 → 4.10.6
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 +44 -9
- package/dist/ApiError.d.ts.map +1 -1
- package/dist/ApiError.js.map +1 -1
- package/dist/PaginationStream.d.ts +1 -1
- package/dist/PaginationStream.d.ts.map +1 -1
- package/dist/PaginationStream.js.map +1 -1
- package/dist/Transloadit.d.ts +8 -8
- package/dist/Transloadit.d.ts.map +1 -1
- package/dist/Transloadit.js.map +1 -1
- package/dist/alphalib/errors.d.ts +1 -0
- package/dist/alphalib/errors.d.ts.map +1 -1
- package/dist/alphalib/errors.js +15 -0
- package/dist/alphalib/errors.js.map +1 -1
- package/dist/alphalib/types/assemblyStatus.d.ts +22 -10
- package/dist/alphalib/types/assemblyStatus.d.ts.map +1 -1
- package/dist/alphalib/types/assemblyStatus.js +8 -8
- package/dist/alphalib/types/assemblyStatus.js.map +1 -1
- package/dist/alphalib/types/assemblyUrls.d.ts.map +1 -1
- package/dist/alphalib/types/assemblyUrls.js.map +1 -1
- package/dist/alphalib/types/file.d.ts +4 -0
- package/dist/alphalib/types/file.d.ts.map +1 -0
- package/dist/alphalib/types/file.js +3 -0
- package/dist/alphalib/types/file.js.map +1 -0
- package/dist/alphalib/types/robots/_index.d.ts +93 -93
- package/dist/alphalib/types/robots/_instructions-primitives.d.ts +8 -8
- package/dist/alphalib/types/robots/_instructions-primitives.d.ts.map +1 -1
- package/dist/alphalib/types/robots/_instructions-primitives.js +5 -2
- package/dist/alphalib/types/robots/_instructions-primitives.js.map +1 -1
- package/dist/alphalib/types/robots/ai-chat.d.ts +1 -1
- package/dist/alphalib/types/robots/ai-chat.d.ts.map +1 -1
- package/dist/alphalib/types/robots/ai-chat.js +3 -0
- package/dist/alphalib/types/robots/ai-chat.js.map +1 -1
- package/dist/alphalib/types/robots/assembly-savejson.d.ts +1 -1
- package/dist/alphalib/types/robots/assembly-savejson.d.ts.map +1 -1
- package/dist/alphalib/types/robots/assembly-savejson.js.map +1 -1
- package/dist/alphalib/types/robots/audio-artwork.d.ts +5 -5
- package/dist/alphalib/types/robots/audio-artwork.d.ts.map +1 -1
- package/dist/alphalib/types/robots/audio-artwork.js.map +1 -1
- package/dist/alphalib/types/robots/audio-concat.d.ts +5 -5
- package/dist/alphalib/types/robots/audio-concat.d.ts.map +1 -1
- package/dist/alphalib/types/robots/audio-concat.js.map +1 -1
- package/dist/alphalib/types/robots/audio-encode.d.ts +5 -5
- package/dist/alphalib/types/robots/audio-encode.d.ts.map +1 -1
- package/dist/alphalib/types/robots/audio-encode.js.map +1 -1
- package/dist/alphalib/types/robots/audio-loop.d.ts +5 -5
- package/dist/alphalib/types/robots/audio-loop.d.ts.map +1 -1
- package/dist/alphalib/types/robots/audio-loop.js.map +1 -1
- package/dist/alphalib/types/robots/audio-merge.d.ts +5 -5
- package/dist/alphalib/types/robots/audio-merge.d.ts.map +1 -1
- package/dist/alphalib/types/robots/audio-merge.js.map +1 -1
- package/dist/alphalib/types/robots/audio-split.d.ts +5 -5
- package/dist/alphalib/types/robots/audio-split.d.ts.map +1 -1
- package/dist/alphalib/types/robots/audio-split.js.map +1 -1
- package/dist/alphalib/types/robots/audio-waveform.d.ts +5 -5
- package/dist/alphalib/types/robots/audio-waveform.d.ts.map +1 -1
- package/dist/alphalib/types/robots/audio-waveform.js.map +1 -1
- package/dist/alphalib/types/robots/azure-import.d.ts +1 -1
- package/dist/alphalib/types/robots/azure-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/azure-import.js.map +1 -1
- package/dist/alphalib/types/robots/azure-store.d.ts +15 -9
- package/dist/alphalib/types/robots/azure-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/azure-store.js +5 -2
- package/dist/alphalib/types/robots/azure-store.js.map +1 -1
- package/dist/alphalib/types/robots/backblaze-import.d.ts +1 -1
- package/dist/alphalib/types/robots/backblaze-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/backblaze-import.js.map +1 -1
- package/dist/alphalib/types/robots/backblaze-store.d.ts +1 -1
- package/dist/alphalib/types/robots/backblaze-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/backblaze-store.js.map +1 -1
- package/dist/alphalib/types/robots/box-import.d.ts +1 -1
- package/dist/alphalib/types/robots/box-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/box-import.js.map +1 -1
- package/dist/alphalib/types/robots/box-store.d.ts +1 -1
- package/dist/alphalib/types/robots/box-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/box-store.js.map +1 -1
- package/dist/alphalib/types/robots/cloudfiles-import.d.ts +1 -1
- package/dist/alphalib/types/robots/cloudfiles-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/cloudfiles-import.js.map +1 -1
- package/dist/alphalib/types/robots/cloudfiles-store.d.ts +1 -1
- package/dist/alphalib/types/robots/cloudfiles-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/cloudfiles-store.js.map +1 -1
- package/dist/alphalib/types/robots/cloudflare-import.d.ts +1 -1
- package/dist/alphalib/types/robots/cloudflare-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/cloudflare-import.js.map +1 -1
- package/dist/alphalib/types/robots/cloudflare-store.d.ts +1 -1
- package/dist/alphalib/types/robots/cloudflare-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/cloudflare-store.js.map +1 -1
- package/dist/alphalib/types/robots/digitalocean-import.d.ts +1 -1
- package/dist/alphalib/types/robots/digitalocean-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/digitalocean-import.js.map +1 -1
- package/dist/alphalib/types/robots/digitalocean-store.d.ts +1 -1
- package/dist/alphalib/types/robots/digitalocean-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/digitalocean-store.js.map +1 -1
- package/dist/alphalib/types/robots/document-autorotate.d.ts +1 -1
- package/dist/alphalib/types/robots/document-autorotate.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-autorotate.js.map +1 -1
- package/dist/alphalib/types/robots/document-convert.d.ts +1 -1
- package/dist/alphalib/types/robots/document-convert.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-convert.js.map +1 -1
- package/dist/alphalib/types/robots/document-extract.d.ts +573 -0
- package/dist/alphalib/types/robots/document-extract.d.ts.map +1 -0
- package/dist/alphalib/types/robots/document-extract.js +152 -0
- package/dist/alphalib/types/robots/document-extract.js.map +1 -0
- package/dist/alphalib/types/robots/document-merge.d.ts +1 -1
- package/dist/alphalib/types/robots/document-merge.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-merge.js.map +1 -1
- package/dist/alphalib/types/robots/document-ocr.d.ts +1 -1
- package/dist/alphalib/types/robots/document-ocr.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-ocr.js.map +1 -1
- package/dist/alphalib/types/robots/document-optimize.d.ts +1 -1
- package/dist/alphalib/types/robots/document-optimize.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-optimize.js.map +1 -1
- package/dist/alphalib/types/robots/document-split.d.ts +1 -1
- package/dist/alphalib/types/robots/document-split.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-split.js.map +1 -1
- package/dist/alphalib/types/robots/document-thumbs.d.ts +1 -1
- package/dist/alphalib/types/robots/document-thumbs.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-thumbs.js.map +1 -1
- package/dist/alphalib/types/robots/dropbox-import.d.ts +21 -3
- package/dist/alphalib/types/robots/dropbox-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/dropbox-import.js +12 -1
- package/dist/alphalib/types/robots/dropbox-import.js.map +1 -1
- package/dist/alphalib/types/robots/dropbox-store.d.ts +1 -1
- package/dist/alphalib/types/robots/dropbox-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/dropbox-store.js.map +1 -1
- package/dist/alphalib/types/robots/edgly-deliver.d.ts +1 -1
- package/dist/alphalib/types/robots/edgly-deliver.d.ts.map +1 -1
- package/dist/alphalib/types/robots/edgly-deliver.js.map +1 -1
- package/dist/alphalib/types/robots/file-compress.d.ts +1 -1
- package/dist/alphalib/types/robots/file-compress.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-compress.js.map +1 -1
- package/dist/alphalib/types/robots/file-decompress.d.ts +1 -1
- package/dist/alphalib/types/robots/file-decompress.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-decompress.js.map +1 -1
- package/dist/alphalib/types/robots/file-filter.d.ts +1 -1
- package/dist/alphalib/types/robots/file-filter.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-filter.js.map +1 -1
- package/dist/alphalib/types/robots/file-hash.d.ts +1 -1
- package/dist/alphalib/types/robots/file-hash.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-hash.js.map +1 -1
- package/dist/alphalib/types/robots/file-preview.d.ts +1 -1
- package/dist/alphalib/types/robots/file-preview.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-preview.js.map +1 -1
- package/dist/alphalib/types/robots/file-read.d.ts +1 -1
- package/dist/alphalib/types/robots/file-read.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-read.js.map +1 -1
- package/dist/alphalib/types/robots/file-serve.d.ts +1 -1
- package/dist/alphalib/types/robots/file-serve.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-serve.js.map +1 -1
- package/dist/alphalib/types/robots/file-verify.d.ts +1 -1
- package/dist/alphalib/types/robots/file-verify.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-verify.js.map +1 -1
- package/dist/alphalib/types/robots/file-virusscan.d.ts +1 -1
- package/dist/alphalib/types/robots/file-virusscan.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-virusscan.js.map +1 -1
- package/dist/alphalib/types/robots/file-watermark.d.ts +1 -1
- package/dist/alphalib/types/robots/file-watermark.d.ts.map +1 -1
- package/dist/alphalib/types/robots/file-watermark.js.map +1 -1
- package/dist/alphalib/types/robots/ftp-import.d.ts +1 -1
- package/dist/alphalib/types/robots/ftp-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/ftp-import.js.map +1 -1
- package/dist/alphalib/types/robots/ftp-store.d.ts +1 -1
- package/dist/alphalib/types/robots/ftp-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/ftp-store.js.map +1 -1
- package/dist/alphalib/types/robots/google-import.d.ts +1 -1
- package/dist/alphalib/types/robots/google-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/google-import.js.map +1 -1
- package/dist/alphalib/types/robots/google-store.d.ts +1 -1
- package/dist/alphalib/types/robots/google-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/google-store.js.map +1 -1
- package/dist/alphalib/types/robots/html-convert.d.ts +1 -1
- package/dist/alphalib/types/robots/html-convert.d.ts.map +1 -1
- package/dist/alphalib/types/robots/html-convert.js.map +1 -1
- package/dist/alphalib/types/robots/http-import.d.ts +1 -1
- package/dist/alphalib/types/robots/http-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/http-import.js.map +1 -1
- package/dist/alphalib/types/robots/image-bgremove.d.ts +1 -1
- package/dist/alphalib/types/robots/image-bgremove.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-bgremove.js.map +1 -1
- package/dist/alphalib/types/robots/image-copyrightdetect.d.ts +1 -1
- package/dist/alphalib/types/robots/image-copyrightdetect.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-copyrightdetect.js.map +1 -1
- package/dist/alphalib/types/robots/image-describe.d.ts +1 -1
- package/dist/alphalib/types/robots/image-describe.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-describe.js.map +1 -1
- package/dist/alphalib/types/robots/image-enhance.d.ts +1 -1
- package/dist/alphalib/types/robots/image-enhance.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-enhance.js.map +1 -1
- package/dist/alphalib/types/robots/image-facedetect.d.ts +1 -1
- package/dist/alphalib/types/robots/image-facedetect.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-facedetect.js.map +1 -1
- package/dist/alphalib/types/robots/image-generate.d.ts +1 -1
- package/dist/alphalib/types/robots/image-generate.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-generate.js.map +1 -1
- package/dist/alphalib/types/robots/image-merge.d.ts +1 -1
- package/dist/alphalib/types/robots/image-merge.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-merge.js.map +1 -1
- package/dist/alphalib/types/robots/image-ocr.d.ts +1 -1
- package/dist/alphalib/types/robots/image-ocr.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-ocr.js.map +1 -1
- package/dist/alphalib/types/robots/image-optimize.d.ts +1 -1
- package/dist/alphalib/types/robots/image-optimize.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-optimize.js.map +1 -1
- package/dist/alphalib/types/robots/image-resize.d.ts +1 -1
- package/dist/alphalib/types/robots/image-resize.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-resize.js +1 -5
- package/dist/alphalib/types/robots/image-resize.js.map +1 -1
- package/dist/alphalib/types/robots/image-upscale.d.ts +1 -1
- package/dist/alphalib/types/robots/image-upscale.d.ts.map +1 -1
- package/dist/alphalib/types/robots/image-upscale.js.map +1 -1
- package/dist/alphalib/types/robots/mega-import.d.ts +1 -1
- package/dist/alphalib/types/robots/mega-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/mega-import.js.map +1 -1
- package/dist/alphalib/types/robots/mega-store.d.ts +1 -1
- package/dist/alphalib/types/robots/mega-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/mega-store.js.map +1 -1
- package/dist/alphalib/types/robots/meta-read.d.ts +1 -1
- package/dist/alphalib/types/robots/meta-read.d.ts.map +1 -1
- package/dist/alphalib/types/robots/meta-read.js.map +1 -1
- package/dist/alphalib/types/robots/meta-write.d.ts +5 -5
- package/dist/alphalib/types/robots/meta-write.d.ts.map +1 -1
- package/dist/alphalib/types/robots/meta-write.js.map +1 -1
- package/dist/alphalib/types/robots/minio-import.d.ts +1 -1
- package/dist/alphalib/types/robots/minio-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/minio-import.js.map +1 -1
- package/dist/alphalib/types/robots/minio-store.d.ts +1 -1
- package/dist/alphalib/types/robots/minio-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/minio-store.js.map +1 -1
- package/dist/alphalib/types/robots/progress-simulate.d.ts +1 -1
- package/dist/alphalib/types/robots/progress-simulate.d.ts.map +1 -1
- package/dist/alphalib/types/robots/progress-simulate.js.map +1 -1
- package/dist/alphalib/types/robots/s3-import.d.ts +1 -1
- package/dist/alphalib/types/robots/s3-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/s3-import.js.map +1 -1
- package/dist/alphalib/types/robots/s3-store.d.ts +1 -1
- package/dist/alphalib/types/robots/s3-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/s3-store.js.map +1 -1
- package/dist/alphalib/types/robots/script-run.d.ts +1 -1
- package/dist/alphalib/types/robots/script-run.d.ts.map +1 -1
- package/dist/alphalib/types/robots/script-run.js.map +1 -1
- package/dist/alphalib/types/robots/sftp-import.d.ts +1 -1
- package/dist/alphalib/types/robots/sftp-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/sftp-import.js.map +1 -1
- package/dist/alphalib/types/robots/sftp-store.d.ts +1 -1
- package/dist/alphalib/types/robots/sftp-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/sftp-store.js.map +1 -1
- package/dist/alphalib/types/robots/speech-transcribe.d.ts +11 -11
- package/dist/alphalib/types/robots/speech-transcribe.d.ts.map +1 -1
- package/dist/alphalib/types/robots/speech-transcribe.js +12 -5
- package/dist/alphalib/types/robots/speech-transcribe.js.map +1 -1
- package/dist/alphalib/types/robots/supabase-import.d.ts +1 -1
- package/dist/alphalib/types/robots/supabase-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/supabase-import.js.map +1 -1
- package/dist/alphalib/types/robots/supabase-store.d.ts +1 -1
- package/dist/alphalib/types/robots/supabase-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/supabase-store.js.map +1 -1
- package/dist/alphalib/types/robots/swift-import.d.ts +1 -1
- package/dist/alphalib/types/robots/swift-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/swift-import.js.map +1 -1
- package/dist/alphalib/types/robots/swift-store.d.ts +1 -1
- package/dist/alphalib/types/robots/swift-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/swift-store.js.map +1 -1
- package/dist/alphalib/types/robots/text-speak.d.ts +1 -1
- package/dist/alphalib/types/robots/text-speak.d.ts.map +1 -1
- package/dist/alphalib/types/robots/text-speak.js.map +1 -1
- package/dist/alphalib/types/robots/text-translate.d.ts +1 -1
- package/dist/alphalib/types/robots/text-translate.d.ts.map +1 -1
- package/dist/alphalib/types/robots/text-translate.js.map +1 -1
- package/dist/alphalib/types/robots/tigris-import.d.ts +1 -1
- package/dist/alphalib/types/robots/tigris-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/tigris-import.js.map +1 -1
- package/dist/alphalib/types/robots/tigris-store.d.ts +1 -1
- package/dist/alphalib/types/robots/tigris-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/tigris-store.js.map +1 -1
- package/dist/alphalib/types/robots/tlcdn-deliver.d.ts +1 -1
- package/dist/alphalib/types/robots/tlcdn-deliver.d.ts.map +1 -1
- package/dist/alphalib/types/robots/tlcdn-deliver.js.map +1 -1
- package/dist/alphalib/types/robots/tus-store.d.ts +1 -1
- package/dist/alphalib/types/robots/tus-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/tus-store.js.map +1 -1
- package/dist/alphalib/types/robots/upload-handle.d.ts +1 -1
- package/dist/alphalib/types/robots/upload-handle.d.ts.map +1 -1
- package/dist/alphalib/types/robots/upload-handle.js.map +1 -1
- package/dist/alphalib/types/robots/video-adaptive.d.ts +5 -5
- package/dist/alphalib/types/robots/video-adaptive.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-adaptive.js.map +1 -1
- package/dist/alphalib/types/robots/video-artwork.d.ts +5 -5
- package/dist/alphalib/types/robots/video-artwork.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-artwork.js.map +1 -1
- package/dist/alphalib/types/robots/video-concat.d.ts +5 -5
- package/dist/alphalib/types/robots/video-concat.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-concat.js.map +1 -1
- package/dist/alphalib/types/robots/video-encode.d.ts +11 -5
- package/dist/alphalib/types/robots/video-encode.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-encode.js +2 -1
- package/dist/alphalib/types/robots/video-encode.js.map +1 -1
- package/dist/alphalib/types/robots/video-generate.d.ts +1 -1
- package/dist/alphalib/types/robots/video-generate.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-generate.js.map +1 -1
- package/dist/alphalib/types/robots/video-merge.d.ts +11 -5
- package/dist/alphalib/types/robots/video-merge.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-merge.js +1 -0
- package/dist/alphalib/types/robots/video-merge.js.map +1 -1
- package/dist/alphalib/types/robots/video-ondemand.d.ts +5 -5
- package/dist/alphalib/types/robots/video-ondemand.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-ondemand.js.map +1 -1
- package/dist/alphalib/types/robots/video-split.d.ts +5 -5
- package/dist/alphalib/types/robots/video-split.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-split.js.map +1 -1
- package/dist/alphalib/types/robots/video-subtitle.d.ts +5 -5
- package/dist/alphalib/types/robots/video-subtitle.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-subtitle.js.map +1 -1
- package/dist/alphalib/types/robots/video-thumbs.d.ts +5 -5
- package/dist/alphalib/types/robots/video-thumbs.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-thumbs.js.map +1 -1
- package/dist/alphalib/types/robots/vimeo-import.d.ts +1 -1
- package/dist/alphalib/types/robots/vimeo-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/vimeo-import.js.map +1 -1
- package/dist/alphalib/types/robots/vimeo-store.d.ts +1 -1
- package/dist/alphalib/types/robots/vimeo-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/vimeo-store.js.map +1 -1
- package/dist/alphalib/types/robots/wasabi-import.d.ts +1 -1
- package/dist/alphalib/types/robots/wasabi-import.d.ts.map +1 -1
- package/dist/alphalib/types/robots/wasabi-import.js.map +1 -1
- package/dist/alphalib/types/robots/wasabi-store.d.ts +1 -1
- package/dist/alphalib/types/robots/wasabi-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/wasabi-store.js.map +1 -1
- package/dist/alphalib/types/robots/youtube-store.d.ts +1 -1
- package/dist/alphalib/types/robots/youtube-store.d.ts.map +1 -1
- package/dist/alphalib/types/robots/youtube-store.js.map +1 -1
- package/dist/alphalib/types/stackVersions.d.ts +1 -1
- package/dist/alphalib/types/stackVersions.js +2 -2
- package/dist/apiTypes.d.ts +1 -1
- package/dist/apiTypes.d.ts.map +1 -1
- package/dist/apiTypes.js.map +1 -1
- package/dist/cli/commands/BaseCommand.d.ts +1 -1
- package/dist/cli/commands/BaseCommand.d.ts.map +1 -1
- package/dist/cli/commands/BaseCommand.js.map +1 -1
- package/dist/cli/commands/assemblies.d.ts.map +1 -1
- package/dist/cli/commands/assemblies.js.map +1 -1
- package/dist/cli/commands/auth.d.ts.map +1 -1
- package/dist/cli/commands/auth.js.map +1 -1
- package/dist/cli/commands/bills.d.ts.map +1 -1
- package/dist/cli/commands/bills.js.map +1 -1
- package/dist/cli/commands/docs.d.ts.map +1 -1
- package/dist/cli/commands/docs.js.map +1 -1
- package/dist/cli/commands/notifications.d.ts.map +1 -1
- package/dist/cli/commands/notifications.js.map +1 -1
- package/dist/cli/commands/templates.d.ts.map +1 -1
- package/dist/cli/commands/templates.js.map +1 -1
- package/dist/cli/commands/upload.d.ts.map +1 -1
- package/dist/cli/commands/upload.js.map +1 -1
- package/dist/cli/generateIntentDocs.d.ts.map +1 -1
- package/dist/cli/generateIntentDocs.js.map +1 -1
- package/dist/cli/helpers.d.ts.map +1 -1
- package/dist/cli/helpers.js.map +1 -1
- package/dist/cli/intentCommandSpecs.d.ts.map +1 -1
- package/dist/cli/intentCommandSpecs.js +5 -0
- package/dist/cli/intentCommandSpecs.js.map +1 -1
- package/dist/cli/intentCommands.d.ts.map +1 -1
- package/dist/cli/intentCommands.js.map +1 -1
- package/dist/cli/intentFields.d.ts.map +1 -1
- package/dist/cli/intentFields.js.map +1 -1
- package/dist/cli/intentRuntime.d.ts +1 -1
- package/dist/cli/intentRuntime.d.ts.map +1 -1
- package/dist/cli/intentRuntime.js.map +1 -1
- package/dist/cli/resultUrls.d.ts.map +1 -1
- package/dist/cli/resultUrls.js.map +1 -1
- package/dist/cli/semanticIntents/imageDescribe.d.ts.map +1 -1
- package/dist/cli/semanticIntents/imageDescribe.js.map +1 -1
- package/dist/cli/semanticIntents/imageGenerate.d.ts.map +1 -1
- package/dist/cli/semanticIntents/imageGenerate.js.map +1 -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.d.ts.map +1 -1
- package/dist/cli/semanticIntents/markdownPdf.js.map +1 -1
- package/dist/cli/semanticIntents/speechTranscribe.d.ts +57 -0
- package/dist/cli/semanticIntents/speechTranscribe.d.ts.map +1 -0
- package/dist/cli/semanticIntents/speechTranscribe.js +111 -0
- package/dist/cli/semanticIntents/speechTranscribe.js.map +1 -0
- package/dist/cli/stepsInput.d.ts.map +1 -1
- package/dist/cli/stepsInput.js.map +1 -1
- package/dist/cli/template-last-modified.d.ts.map +1 -1
- package/dist/cli/template-last-modified.js.map +1 -1
- package/dist/cli/types.d.ts +1 -1
- package/dist/cli/types.d.ts.map +1 -1
- package/dist/cli/types.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/inputFiles.d.ts.map +1 -1
- package/dist/inputFiles.js.map +1 -1
- package/dist/lintAssemblyInput.d.ts.map +1 -1
- package/dist/lintAssemblyInput.js.map +1 -1
- package/dist/lintAssemblyInstructions.d.ts.map +1 -1
- package/dist/lintAssemblyInstructions.js.map +1 -1
- package/dist/robots.d.ts.map +1 -1
- package/dist/robots.js.map +1 -1
- package/dist/tus.d.ts.map +1 -1
- package/dist/tus.js.map +1 -1
- package/package.json +1 -1
- package/src/ApiError.ts +1 -0
- package/src/PaginationStream.ts +2 -1
- package/src/Transloadit.ts +43 -36
- package/src/alphalib/errors.ts +18 -0
- package/src/alphalib/types/assemblyStatus.ts +9 -8
- package/src/alphalib/types/assemblyUrls.ts +1 -0
- package/src/alphalib/types/file.ts +4 -0
- package/src/alphalib/types/robots/_instructions-primitives.ts +6 -2
- package/src/alphalib/types/robots/ai-chat.ts +6 -1
- package/src/alphalib/types/robots/assembly-savejson.ts +3 -1
- package/src/alphalib/types/robots/audio-artwork.ts +2 -1
- package/src/alphalib/types/robots/audio-concat.ts +2 -1
- package/src/alphalib/types/robots/audio-encode.ts +2 -1
- package/src/alphalib/types/robots/audio-loop.ts +2 -1
- package/src/alphalib/types/robots/audio-merge.ts +2 -1
- package/src/alphalib/types/robots/audio-split.ts +2 -1
- package/src/alphalib/types/robots/audio-waveform.ts +2 -1
- package/src/alphalib/types/robots/azure-import.ts +2 -1
- package/src/alphalib/types/robots/azure-store.ts +8 -3
- package/src/alphalib/types/robots/backblaze-import.ts +2 -1
- package/src/alphalib/types/robots/backblaze-store.ts +2 -1
- package/src/alphalib/types/robots/box-import.ts +2 -1
- package/src/alphalib/types/robots/box-store.ts +2 -1
- package/src/alphalib/types/robots/cloudfiles-import.ts +2 -1
- package/src/alphalib/types/robots/cloudfiles-store.ts +2 -1
- package/src/alphalib/types/robots/cloudflare-import.ts +2 -1
- package/src/alphalib/types/robots/cloudflare-store.ts +2 -1
- package/src/alphalib/types/robots/digitalocean-import.ts +2 -1
- package/src/alphalib/types/robots/digitalocean-store.ts +2 -1
- package/src/alphalib/types/robots/document-autorotate.ts +2 -1
- package/src/alphalib/types/robots/document-convert.ts +2 -1
- package/src/alphalib/types/robots/document-extract.ts +183 -0
- package/src/alphalib/types/robots/document-merge.ts +2 -1
- package/src/alphalib/types/robots/document-ocr.ts +2 -1
- package/src/alphalib/types/robots/document-optimize.ts +2 -1
- package/src/alphalib/types/robots/document-split.ts +2 -1
- package/src/alphalib/types/robots/document-thumbs.ts +2 -1
- package/src/alphalib/types/robots/dropbox-import.ts +14 -2
- package/src/alphalib/types/robots/dropbox-store.ts +2 -1
- package/src/alphalib/types/robots/edgly-deliver.ts +3 -1
- package/src/alphalib/types/robots/file-compress.ts +2 -1
- package/src/alphalib/types/robots/file-decompress.ts +2 -1
- package/src/alphalib/types/robots/file-filter.ts +2 -1
- package/src/alphalib/types/robots/file-hash.ts +2 -1
- package/src/alphalib/types/robots/file-preview.ts +2 -1
- package/src/alphalib/types/robots/file-read.ts +2 -1
- package/src/alphalib/types/robots/file-serve.ts +2 -1
- package/src/alphalib/types/robots/file-verify.ts +2 -1
- package/src/alphalib/types/robots/file-virusscan.ts +2 -1
- package/src/alphalib/types/robots/file-watermark.ts +2 -1
- package/src/alphalib/types/robots/ftp-import.ts +2 -1
- package/src/alphalib/types/robots/ftp-store.ts +2 -1
- package/src/alphalib/types/robots/google-import.ts +2 -1
- package/src/alphalib/types/robots/google-store.ts +2 -1
- package/src/alphalib/types/robots/html-convert.ts +2 -1
- package/src/alphalib/types/robots/http-import.ts +2 -1
- package/src/alphalib/types/robots/image-bgremove.ts +2 -1
- package/src/alphalib/types/robots/image-copyrightdetect.ts +2 -1
- package/src/alphalib/types/robots/image-describe.ts +2 -1
- package/src/alphalib/types/robots/image-enhance.ts +2 -1
- package/src/alphalib/types/robots/image-facedetect.ts +2 -1
- package/src/alphalib/types/robots/image-generate.ts +2 -1
- package/src/alphalib/types/robots/image-merge.ts +2 -1
- package/src/alphalib/types/robots/image-ocr.ts +2 -1
- package/src/alphalib/types/robots/image-optimize.ts +2 -1
- package/src/alphalib/types/robots/image-resize.ts +3 -6
- package/src/alphalib/types/robots/image-upscale.ts +2 -1
- package/src/alphalib/types/robots/mega-import.ts +2 -1
- package/src/alphalib/types/robots/mega-store.ts +2 -1
- package/src/alphalib/types/robots/meta-read.ts +3 -1
- package/src/alphalib/types/robots/meta-write.ts +2 -1
- package/src/alphalib/types/robots/minio-import.ts +2 -1
- package/src/alphalib/types/robots/minio-store.ts +2 -1
- package/src/alphalib/types/robots/progress-simulate.ts +2 -1
- package/src/alphalib/types/robots/s3-import.ts +2 -1
- package/src/alphalib/types/robots/s3-store.ts +2 -1
- package/src/alphalib/types/robots/script-run.ts +2 -1
- package/src/alphalib/types/robots/sftp-import.ts +2 -1
- package/src/alphalib/types/robots/sftp-store.ts +2 -1
- package/src/alphalib/types/robots/speech-transcribe.ts +14 -6
- package/src/alphalib/types/robots/supabase-import.ts +2 -1
- package/src/alphalib/types/robots/supabase-store.ts +2 -1
- package/src/alphalib/types/robots/swift-import.ts +2 -1
- package/src/alphalib/types/robots/swift-store.ts +2 -1
- package/src/alphalib/types/robots/text-speak.ts +2 -1
- package/src/alphalib/types/robots/text-translate.ts +2 -1
- package/src/alphalib/types/robots/tigris-import.ts +2 -1
- package/src/alphalib/types/robots/tigris-store.ts +2 -1
- package/src/alphalib/types/robots/tlcdn-deliver.ts +3 -1
- package/src/alphalib/types/robots/tus-store.ts +2 -1
- package/src/alphalib/types/robots/upload-handle.ts +2 -1
- package/src/alphalib/types/robots/video-adaptive.ts +2 -1
- package/src/alphalib/types/robots/video-artwork.ts +2 -1
- package/src/alphalib/types/robots/video-concat.ts +2 -1
- package/src/alphalib/types/robots/video-encode.ts +4 -2
- package/src/alphalib/types/robots/video-generate.ts +2 -1
- package/src/alphalib/types/robots/video-merge.ts +3 -1
- package/src/alphalib/types/robots/video-ondemand.ts +2 -1
- package/src/alphalib/types/robots/video-split.ts +2 -1
- package/src/alphalib/types/robots/video-subtitle.ts +2 -1
- package/src/alphalib/types/robots/video-thumbs.ts +2 -1
- package/src/alphalib/types/robots/vimeo-import.ts +2 -1
- package/src/alphalib/types/robots/vimeo-store.ts +2 -1
- package/src/alphalib/types/robots/wasabi-import.ts +2 -1
- package/src/alphalib/types/robots/wasabi-store.ts +2 -1
- package/src/alphalib/types/robots/youtube-store.ts +2 -1
- package/src/alphalib/types/stackVersions.ts +2 -2
- package/src/apiTypes.ts +2 -1
- package/src/cli/commands/BaseCommand.ts +3 -1
- package/src/cli/commands/assemblies.ts +12 -8
- package/src/cli/commands/auth.ts +8 -4
- package/src/cli/commands/bills.ts +4 -2
- package/src/cli/commands/docs.ts +1 -0
- package/src/cli/commands/notifications.ts +4 -2
- package/src/cli/commands/templates.ts +7 -4
- package/src/cli/commands/upload.ts +5 -2
- package/src/cli/generateIntentDocs.ts +5 -3
- package/src/cli/helpers.ts +4 -1
- package/src/cli/intentCommandSpecs.ts +6 -0
- package/src/cli/intentCommands.ts +10 -8
- package/src/cli/intentFields.ts +2 -1
- package/src/cli/intentRuntime.ts +8 -5
- package/src/cli/resultUrls.ts +1 -0
- package/src/cli/semanticIntents/imageDescribe.ts +2 -1
- package/src/cli/semanticIntents/imageGenerate.ts +3 -1
- package/src/cli/semanticIntents/index.ts +3 -0
- package/src/cli/semanticIntents/markdownPdf.ts +1 -0
- package/src/cli/semanticIntents/speechTranscribe.ts +140 -0
- package/src/cli/stepsInput.ts +2 -1
- package/src/cli/template-last-modified.ts +1 -0
- package/src/cli/types.ts +3 -1
- package/src/cli.ts +1 -0
- package/src/inputFiles.ts +10 -5
- package/src/lintAssemblyInput.ts +3 -2
- package/src/lintAssemblyInstructions.ts +3 -2
- package/src/robots.ts +1 -0
- package/src/tus.ts +8 -4
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import { interpolateRobot, robotBase, robotUse, s3Base } from './_instructions-primitives.ts'
|
|
5
6
|
|
|
6
7
|
export const meta: RobotMetaInput = {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import { interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
|
|
5
6
|
|
|
6
7
|
export const meta: RobotMetaInput = {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import { interpolateRobot, robotBase, robotImport, sftpBase } from './_instructions-primitives.ts'
|
|
5
6
|
|
|
6
7
|
export const meta: RobotMetaInput = {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import { interpolateRobot, robotBase, robotUse, sftpBase } from './_instructions-primitives.ts'
|
|
5
6
|
|
|
6
7
|
export const meta: RobotMetaInput = {
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import {
|
|
5
|
-
aiProviderSchema,
|
|
6
6
|
granularitySchema,
|
|
7
7
|
interpolateRobot,
|
|
8
8
|
robotBase,
|
|
9
9
|
robotUse,
|
|
10
10
|
} from './_instructions-primitives.ts'
|
|
11
11
|
|
|
12
|
+
const speechTranscribeProviderSchema = z.enum(['aws', 'gcp', 'replicate']).default('replicate')
|
|
13
|
+
const speechTranscribeProviderWithHiddenFieldsSchema = z
|
|
14
|
+
.enum(['aws', 'gcp', 'replicate', 'transloadit'])
|
|
15
|
+
.default('replicate')
|
|
16
|
+
|
|
12
17
|
export const meta: RobotMetaInput = {
|
|
13
18
|
bytescount: 1,
|
|
14
19
|
discount_factor: 1,
|
|
@@ -18,7 +23,7 @@ export const meta: RobotMetaInput = {
|
|
|
18
23
|
transcribed: {
|
|
19
24
|
robot: '/speech/transcribe',
|
|
20
25
|
use: ':original',
|
|
21
|
-
provider: '
|
|
26
|
+
provider: 'replicate',
|
|
22
27
|
source_language: 'fr-FR',
|
|
23
28
|
format: 'text',
|
|
24
29
|
},
|
|
@@ -28,7 +33,7 @@ export const meta: RobotMetaInput = {
|
|
|
28
33
|
'Transcribe speech in French from uploaded audio or video, and save it to a text file:',
|
|
29
34
|
extended_description: `
|
|
30
35
|
> [!Warning]
|
|
31
|
-
> Transloadit aims to be deterministic, but this <dfn>Robot</dfn> uses
|
|
36
|
+
> Transloadit aims to be deterministic, but this <dfn>Robot</dfn> uses AI services. The providers will evolve their models over time, giving different responses for the same input media. Avoid relying on exact responses in your tests and application.
|
|
32
37
|
`,
|
|
33
38
|
minimum_charge: 1048576,
|
|
34
39
|
output_factor: 0.05,
|
|
@@ -64,10 +69,12 @@ You can use the text that we return in your application, or you can pass the tex
|
|
|
64
69
|
|
|
65
70
|
Another common use case is automatically subtitling videos, or making audio searchable.
|
|
66
71
|
`),
|
|
67
|
-
provider:
|
|
72
|
+
provider: speechTranscribeProviderSchema.describe(`
|
|
68
73
|
Which AI provider to leverage.
|
|
69
74
|
|
|
70
|
-
|
|
75
|
+
Defaults to \`"replicate"\`, which currently uses our highest-quality deployed transcription path while ElevenLabs Scribe support is being prepared.
|
|
76
|
+
|
|
77
|
+
Transloadit abstracts the interface so you can expect the same data structures, but different latencies and information being returned. Different cloud vendors have different areas they shine in, and we recommend to try out and see what yields the best results for your use case.
|
|
71
78
|
`),
|
|
72
79
|
granularity: granularitySchema.describe(`
|
|
73
80
|
Whether to return a full response (\`"full"\`), or a flat list of descriptions (\`"list"\`).
|
|
@@ -106,6 +113,7 @@ The language should be specified in the [BCP-47](https://www.rfc-editor.org/rfc/
|
|
|
106
113
|
|
|
107
114
|
export const robotSpeechTranscribeInstructionsWithHiddenFieldsSchema =
|
|
108
115
|
robotSpeechTranscribeInstructionsSchema.extend({
|
|
116
|
+
provider: speechTranscribeProviderWithHiddenFieldsSchema,
|
|
109
117
|
result: z
|
|
110
118
|
.union([z.literal('debug'), robotSpeechTranscribeInstructionsSchema.shape.result])
|
|
111
119
|
.optional(),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import { interpolateRobot, robotBase, robotUse, supabaseBase } from './_instructions-primitives.ts'
|
|
5
6
|
|
|
6
7
|
export const meta: RobotMetaInput = {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import { interpolateRobot, robotBase, robotUse, swiftBase } from './_instructions-primitives.ts'
|
|
5
6
|
|
|
6
7
|
export const meta: RobotMetaInput = {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import { interpolateRobot, robotBase, robotUse, tigrisBase } from './_instructions-primitives.ts'
|
|
5
6
|
|
|
6
7
|
export const meta: RobotMetaInput = {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import { interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
|
|
5
6
|
|
|
6
7
|
export const meta: RobotMetaInput = {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import { interpolateRobot, robotBase } from './_instructions-primitives.ts'
|
|
5
6
|
|
|
6
7
|
export const meta: RobotMetaInput = {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
5
|
import { stackVersions } from '../stackVersions.ts'
|
|
4
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
5
6
|
import {
|
|
6
7
|
interpolateRobot,
|
|
7
8
|
robotBase,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
5
|
import { stackVersions } from '../stackVersions.ts'
|
|
4
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
5
6
|
import {
|
|
6
7
|
interpolateRobot,
|
|
7
8
|
robotBase,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import {
|
|
5
6
|
interpolateRobot,
|
|
6
7
|
robotBase,
|
|
@@ -55,7 +56,7 @@ The /video/encode Robot is a versatile tool for video processing that handles tr
|
|
|
55
56
|
|
|
56
57
|
## Adding text overlays with FFmpeg
|
|
57
58
|
|
|
58
|
-
You can add text overlays to videos using FFmpeg's \`drawtext\` filter through this <
|
|
59
|
+
You can add text overlays to videos using FFmpeg's \`drawtext\` filter through this <dfn>Robot</dfn>'s \`ffmpeg\` parameter. Here are two examples — one with the default font and one with a custom font family name:
|
|
59
60
|
|
|
60
61
|
\`\`\`json
|
|
61
62
|
{
|
|
@@ -111,6 +112,7 @@ export const robotVideoEncodeInstructionsWithHiddenFieldsSchema =
|
|
|
111
112
|
.union([z.literal('debug'), robotVideoEncodeInstructionsSchema.shape.result])
|
|
112
113
|
.optional(),
|
|
113
114
|
chunked_transcoding: z.boolean().optional(),
|
|
115
|
+
freeze_detect: z.boolean().optional(),
|
|
114
116
|
realtime: z.boolean().optional(),
|
|
115
117
|
})
|
|
116
118
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import { interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
|
|
5
6
|
|
|
6
7
|
export const meta: RobotMetaInput = {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import {
|
|
5
6
|
color_with_alpha,
|
|
6
7
|
interpolateRobot,
|
|
@@ -142,6 +143,7 @@ export const robotVideoMergeInstructionsWithHiddenFieldsSchema =
|
|
|
142
143
|
result: z
|
|
143
144
|
.union([z.literal('debug'), robotVideoMergeInstructionsSchema.shape.result])
|
|
144
145
|
.optional(),
|
|
146
|
+
turbo: z.boolean().optional(),
|
|
145
147
|
})
|
|
146
148
|
|
|
147
149
|
export type RobotVideoMergeInstructions = z.infer<typeof robotVideoMergeInstructionsSchema>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
5
|
import { stackVersions } from '../stackVersions.ts'
|
|
4
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
5
6
|
import {
|
|
6
7
|
interpolateRobot,
|
|
7
8
|
robotBase,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
5
|
import { stackVersions } from '../stackVersions.ts'
|
|
4
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
5
6
|
import {
|
|
6
7
|
color_with_alpha,
|
|
7
8
|
color_without_alpha,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
5
|
import { stackVersions } from '../stackVersions.ts'
|
|
4
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
5
6
|
import {
|
|
6
7
|
color_with_alpha,
|
|
7
8
|
interpolateRobot,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import { interpolateRobot, robotBase, robotUse, vimeoBase } from './_instructions-primitives.ts'
|
|
5
6
|
|
|
6
7
|
export const meta: RobotMetaInput = {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import { interpolateRobot, robotBase, robotUse, wasabiBase } from './_instructions-primitives.ts'
|
|
5
6
|
|
|
6
7
|
export const meta: RobotMetaInput = {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
2
|
+
|
|
1
3
|
import { z } from 'zod'
|
|
2
4
|
|
|
3
|
-
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
5
|
import { interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
|
|
5
6
|
|
|
6
7
|
export const meta: RobotMetaInput = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export const stackVersions = {
|
|
2
2
|
ffmpeg: {
|
|
3
3
|
recommendedVersion: 'v6' as const,
|
|
4
|
-
test: /^v?[
|
|
5
|
-
suggestedValues: ['
|
|
4
|
+
test: /^v?[5-8](\.\d+)?(\.\d+)?$/,
|
|
5
|
+
suggestedValues: ['v6', 'v7', 'v8'] as const,
|
|
6
6
|
},
|
|
7
7
|
imagemagick: {
|
|
8
8
|
recommendedVersion: 'v3' as const,
|
package/src/apiTypes.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { AssemblyInstructions, AssemblyInstructionsInput } from './alphalib/types/template.ts'
|
|
2
2
|
|
|
3
|
+
export type { AssemblyInstructions, AssemblyInstructionsInput } from './alphalib/types/template.ts'
|
|
4
|
+
|
|
3
5
|
export {
|
|
4
6
|
type AssemblyIndexItem,
|
|
5
7
|
assemblyIndexItemSchema,
|
|
6
8
|
assemblyStatusSchema,
|
|
7
9
|
} from './alphalib/types/assemblyStatus.ts'
|
|
8
|
-
export type { AssemblyInstructions, AssemblyInstructionsInput } from './alphalib/types/template.ts'
|
|
9
10
|
export { assemblyInstructionsSchema } from './alphalib/types/template.ts'
|
|
10
11
|
|
|
11
12
|
export interface OptionalAuthParams {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import type { IOutputCtl } from '../OutputCtl.ts'
|
|
2
|
+
|
|
1
3
|
import { Command, Option } from 'clipanion'
|
|
4
|
+
|
|
2
5
|
import { Transloadit as TransloaditClient } from '../../Transloadit.ts'
|
|
3
6
|
import { buildMissingAuthMessage, resolveCliConfig } from '../helpers.ts'
|
|
4
|
-
import type { IOutputCtl } from '../OutputCtl.ts'
|
|
5
7
|
import OutputCtl, { LOG_LEVEL_DEFAULT, LOG_LEVEL_NAMES, parseLogLevel } from '../OutputCtl.ts'
|
|
6
8
|
|
|
7
9
|
abstract class BaseCommand extends Command {
|
|
@@ -1,27 +1,34 @@
|
|
|
1
|
+
import type { Readable } from 'node:stream'
|
|
2
|
+
|
|
3
|
+
import type { StepsInput } from '../../alphalib/types/template.ts'
|
|
4
|
+
import type { CreateAssemblyParams, ReplayAssemblyParams } from '../../apiTypes.ts'
|
|
5
|
+
import type { LintFatalLevel } from '../../lintAssemblyInstructions.ts'
|
|
6
|
+
import type { CreateAssemblyOptions, Transloadit } from '../../Transloadit.ts'
|
|
7
|
+
import type { IOutputCtl } from '../OutputCtl.ts'
|
|
8
|
+
import type { NormalizedAssemblyResultFile, NormalizedAssemblyResults } from '../resultFiles.ts'
|
|
9
|
+
import type { ResultUrlRow } from '../resultUrls.ts'
|
|
10
|
+
|
|
1
11
|
import { randomUUID } from 'node:crypto'
|
|
2
12
|
import EventEmitter from 'node:events'
|
|
3
13
|
import fs from 'node:fs'
|
|
4
14
|
import fsp from 'node:fs/promises'
|
|
5
15
|
import path from 'node:path'
|
|
6
16
|
import process from 'node:process'
|
|
7
|
-
import type { Readable } from 'node:stream'
|
|
8
17
|
import { Writable } from 'node:stream'
|
|
9
18
|
import { pipeline } from 'node:stream/promises'
|
|
10
19
|
import { setTimeout as delay } from 'node:timers/promises'
|
|
11
20
|
import { promisify } from 'node:util'
|
|
21
|
+
|
|
12
22
|
import { Command, Option } from 'clipanion'
|
|
13
23
|
import got from 'got'
|
|
14
24
|
import PQueue from 'p-queue'
|
|
15
25
|
import * as t from 'typanion'
|
|
16
26
|
import { z } from 'zod'
|
|
27
|
+
|
|
17
28
|
import { formatLintIssue } from '../../alphalib/assembly-linter.lang.en.ts'
|
|
18
29
|
import { tryCatch } from '../../alphalib/tryCatch.ts'
|
|
19
|
-
import type { StepsInput } from '../../alphalib/types/template.ts'
|
|
20
|
-
import type { CreateAssemblyParams, ReplayAssemblyParams } from '../../apiTypes.ts'
|
|
21
30
|
import { ensureUniqueCounterValue } from '../../ensureUniqueCounter.ts'
|
|
22
|
-
import type { LintFatalLevel } from '../../lintAssemblyInstructions.ts'
|
|
23
31
|
import { lintAssemblyInstructions } from '../../lintAssemblyInstructions.ts'
|
|
24
|
-
import type { CreateAssemblyOptions, Transloadit } from '../../Transloadit.ts'
|
|
25
32
|
import { lintingExamples } from '../docs/assemblyLintingExamples.ts'
|
|
26
33
|
import {
|
|
27
34
|
concurrencyOption,
|
|
@@ -35,10 +42,7 @@ import {
|
|
|
35
42
|
watchOption,
|
|
36
43
|
} from '../fileProcessingOptions.ts'
|
|
37
44
|
import { formatAPIError, readCliInput } from '../helpers.ts'
|
|
38
|
-
import type { IOutputCtl } from '../OutputCtl.ts'
|
|
39
|
-
import type { NormalizedAssemblyResultFile, NormalizedAssemblyResults } from '../resultFiles.ts'
|
|
40
45
|
import { normalizeAssemblyResults } from '../resultFiles.ts'
|
|
41
|
-
import type { ResultUrlRow } from '../resultUrls.ts'
|
|
42
46
|
import { collectNormalizedResultUrlRows, printResultUrls } from '../resultUrls.ts'
|
|
43
47
|
import { readStepsInputFile } from '../stepsInput.ts'
|
|
44
48
|
import { ensureError, isErrnoException } from '../types.ts'
|
package/src/cli/commands/auth.ts
CHANGED
|
@@ -1,22 +1,26 @@
|
|
|
1
|
+
import type { ZodIssue } from 'zod'
|
|
2
|
+
|
|
3
|
+
import type { OptionalAuthParams } from '../../apiTypes.ts'
|
|
4
|
+
import type { CliKeySecretCredentials, ResolvedCliConfig } from '../helpers.ts'
|
|
5
|
+
import type { IOutputCtl } from '../OutputCtl.ts'
|
|
6
|
+
|
|
1
7
|
import process from 'node:process'
|
|
8
|
+
|
|
2
9
|
import { Command, Option } from 'clipanion'
|
|
3
|
-
import type { ZodIssue } from 'zod'
|
|
4
10
|
import { z } from 'zod'
|
|
11
|
+
|
|
5
12
|
import {
|
|
6
13
|
assemblyAuthInstructionsSchema,
|
|
7
14
|
assemblyInstructionsSchema,
|
|
8
15
|
} from '../../alphalib/types/template.ts'
|
|
9
|
-
import type { OptionalAuthParams } from '../../apiTypes.ts'
|
|
10
16
|
import { mintBearerTokenWithCredentials } from '../../bearerToken.ts'
|
|
11
17
|
import { Transloadit } from '../../Transloadit.ts'
|
|
12
|
-
import type { CliKeySecretCredentials, ResolvedCliConfig } from '../helpers.ts'
|
|
13
18
|
import {
|
|
14
19
|
buildMissingCredentialsMessage,
|
|
15
20
|
readCliInput,
|
|
16
21
|
requireCliCredentials,
|
|
17
22
|
resolveCliConfig,
|
|
18
23
|
} from '../helpers.ts'
|
|
19
|
-
import type { IOutputCtl } from '../OutputCtl.ts'
|
|
20
24
|
import { UnauthenticatedCommand } from './BaseCommand.ts'
|
|
21
25
|
|
|
22
26
|
type UrlParamPrimitive = string | number | boolean
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import type { Transloadit } from '../../Transloadit.ts'
|
|
2
|
+
import type { IOutputCtl } from '../OutputCtl.ts'
|
|
3
|
+
|
|
1
4
|
import { Command, Option } from 'clipanion'
|
|
2
5
|
import { z } from 'zod'
|
|
6
|
+
|
|
3
7
|
import { tryCatch } from '../../alphalib/tryCatch.ts'
|
|
4
|
-
import type { Transloadit } from '../../Transloadit.ts'
|
|
5
8
|
import { formatAPIError } from '../helpers.ts'
|
|
6
|
-
import type { IOutputCtl } from '../OutputCtl.ts'
|
|
7
9
|
import { AuthenticatedCommand } from './BaseCommand.ts'
|
|
8
10
|
|
|
9
11
|
// --- Types and business logic ---
|
package/src/cli/commands/docs.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { Command, Option } from 'clipanion'
|
|
2
|
-
import { tryCatch } from '../../alphalib/tryCatch.ts'
|
|
3
1
|
import type { Transloadit } from '../../Transloadit.ts'
|
|
4
2
|
import type { IOutputCtl } from '../OutputCtl.ts'
|
|
3
|
+
|
|
4
|
+
import { Command, Option } from 'clipanion'
|
|
5
|
+
|
|
6
|
+
import { tryCatch } from '../../alphalib/tryCatch.ts'
|
|
5
7
|
import { ensureError } from '../types.ts'
|
|
6
8
|
import { AuthenticatedCommand } from './BaseCommand.ts'
|
|
7
9
|
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
+
import type { TemplateContent } from '../../apiTypes.ts'
|
|
2
|
+
import type { Transloadit } from '../../Transloadit.ts'
|
|
3
|
+
import type { IOutputCtl } from '../OutputCtl.ts'
|
|
4
|
+
import type { TemplateFile } from '../types.ts'
|
|
5
|
+
|
|
1
6
|
import fsp from 'node:fs/promises'
|
|
2
7
|
import path from 'node:path'
|
|
3
8
|
import { promisify } from 'node:util'
|
|
9
|
+
|
|
4
10
|
import { Command, Option } from 'clipanion'
|
|
5
11
|
import rreaddir from 'recursive-readdir'
|
|
6
12
|
import { z } from 'zod'
|
|
13
|
+
|
|
7
14
|
import { tryCatch } from '../../alphalib/tryCatch.ts'
|
|
8
|
-
import type { TemplateContent } from '../../apiTypes.ts'
|
|
9
|
-
import type { Transloadit } from '../../Transloadit.ts'
|
|
10
15
|
import { createReadStream, formatAPIError, streamToBuffer } from '../helpers.ts'
|
|
11
|
-
import type { IOutputCtl } from '../OutputCtl.ts'
|
|
12
16
|
import { parseStepsInputJson } from '../stepsInput.ts'
|
|
13
17
|
import ModifiedLookup from '../template-last-modified.ts'
|
|
14
|
-
import type { TemplateFile } from '../types.ts'
|
|
15
18
|
import { ensureError, isTransloaditAPIError, TemplateFileDataSchema } from '../types.ts'
|
|
16
19
|
import { AuthenticatedCommand } from './BaseCommand.ts'
|
|
17
20
|
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import type { AssemblyStatus } from '../../alphalib/types/assemblyStatus.ts'
|
|
2
|
+
import type { IOutputCtl } from '../OutputCtl.ts'
|
|
3
|
+
|
|
1
4
|
import fs from 'node:fs'
|
|
5
|
+
|
|
2
6
|
import { Command, Option } from 'clipanion'
|
|
3
|
-
|
|
7
|
+
|
|
4
8
|
import { sendTusRequest } from '../../tus.ts'
|
|
5
|
-
import type { IOutputCtl } from '../OutputCtl.ts'
|
|
6
9
|
import { UnauthenticatedCommand } from './BaseCommand.ts'
|
|
7
10
|
|
|
8
11
|
export interface UploadOptions {
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
import type { IntentDefinition } from './intentCommandSpecs.ts'
|
|
2
|
+
import type { ResolvedIntentCommandDefinition } from './intentCommands.ts'
|
|
3
|
+
import type { IntentOptionDefinition } from './intentRuntime.ts'
|
|
4
|
+
|
|
1
5
|
import { mkdir, readFile, writeFile } from 'node:fs/promises'
|
|
2
6
|
import { dirname } from 'node:path'
|
|
3
7
|
import { pathToFileURL } from 'node:url'
|
|
8
|
+
|
|
4
9
|
import {
|
|
5
10
|
getConcurrencyOptionDocumentation,
|
|
6
11
|
getDeleteAfterProcessingOptionDocumentation,
|
|
@@ -11,10 +16,7 @@ import {
|
|
|
11
16
|
getSingleAssemblyOptionDocumentation,
|
|
12
17
|
getWatchOptionDocumentation,
|
|
13
18
|
} from './fileProcessingOptions.ts'
|
|
14
|
-
import type { IntentDefinition } from './intentCommandSpecs.ts'
|
|
15
|
-
import type { ResolvedIntentCommandDefinition } from './intentCommands.ts'
|
|
16
19
|
import { resolveIntentCommandDefinitions } from './intentCommands.ts'
|
|
17
|
-
import type { IntentOptionDefinition } from './intentRuntime.ts'
|
|
18
20
|
import { getInputBase64OptionDocumentation, getIntentOptionDefinitions } from './intentRuntime.ts'
|
|
19
21
|
|
|
20
22
|
interface DocOptionRow {
|
package/src/cli/helpers.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import type { Readable } from 'node:stream'
|
|
2
|
+
|
|
1
3
|
import fs from 'node:fs'
|
|
2
4
|
import fsp from 'node:fs/promises'
|
|
3
5
|
import { homedir } from 'node:os'
|
|
4
6
|
import path from 'node:path'
|
|
5
|
-
|
|
7
|
+
|
|
6
8
|
import { parse as parseDotenv } from 'dotenv'
|
|
9
|
+
|
|
7
10
|
import { isAPIError } from './types.ts'
|
|
8
11
|
|
|
9
12
|
export type CliKeySecretCredentials = { authKey: string; authSecret: string }
|