@transloadit/node 4.1.3
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/LICENSE +21 -0
- package/README.md +701 -0
- package/dist/ApiError.d.ts +22 -0
- package/dist/ApiError.d.ts.map +1 -0
- package/dist/ApiError.js +33 -0
- package/dist/ApiError.js.map +1 -0
- package/dist/InconsistentResponseError.d.ts +4 -0
- package/dist/InconsistentResponseError.d.ts.map +1 -0
- package/dist/InconsistentResponseError.js +4 -0
- package/dist/InconsistentResponseError.js.map +1 -0
- package/dist/PaginationStream.d.ts +14 -0
- package/dist/PaginationStream.d.ts.map +1 -0
- package/dist/PaginationStream.js +36 -0
- package/dist/PaginationStream.js.map +1 -0
- package/dist/PollingTimeoutError.d.ts +5 -0
- package/dist/PollingTimeoutError.d.ts.map +1 -0
- package/dist/PollingTimeoutError.js +5 -0
- package/dist/PollingTimeoutError.js.map +1 -0
- package/dist/Transloadit.d.ts +250 -0
- package/dist/Transloadit.d.ts.map +1 -0
- package/dist/Transloadit.js +661 -0
- package/dist/Transloadit.js.map +1 -0
- package/dist/alphalib/lib/nativeGlobby.d.ts +14 -0
- package/dist/alphalib/lib/nativeGlobby.d.ts.map +1 -0
- package/dist/alphalib/lib/nativeGlobby.js +181 -0
- package/dist/alphalib/lib/nativeGlobby.js.map +1 -0
- package/dist/alphalib/mcache.d.ts +65 -0
- package/dist/alphalib/mcache.d.ts.map +1 -0
- package/dist/alphalib/mcache.js +135 -0
- package/dist/alphalib/mcache.js.map +1 -0
- package/dist/alphalib/tryCatch.d.ts +21 -0
- package/dist/alphalib/tryCatch.d.ts.map +1 -0
- package/dist/alphalib/tryCatch.js +17 -0
- package/dist/alphalib/tryCatch.js.map +1 -0
- package/dist/alphalib/types/assembliesGet.d.ts +62 -0
- package/dist/alphalib/types/assembliesGet.d.ts.map +1 -0
- package/dist/alphalib/types/assembliesGet.js +33 -0
- package/dist/alphalib/types/assembliesGet.js.map +1 -0
- package/dist/alphalib/types/assemblyReplay.d.ts +7858 -0
- package/dist/alphalib/types/assemblyReplay.d.ts.map +1 -0
- package/dist/alphalib/types/assemblyReplay.js +15 -0
- package/dist/alphalib/types/assemblyReplay.js.map +1 -0
- package/dist/alphalib/types/assemblyReplayNotification.d.ts +7849 -0
- package/dist/alphalib/types/assemblyReplayNotification.d.ts.map +1 -0
- package/dist/alphalib/types/assemblyReplayNotification.js +13 -0
- package/dist/alphalib/types/assemblyReplayNotification.js.map +1 -0
- package/dist/alphalib/types/assemblyStatus.d.ts +71084 -0
- package/dist/alphalib/types/assemblyStatus.d.ts.map +1 -0
- package/dist/alphalib/types/assemblyStatus.js +710 -0
- package/dist/alphalib/types/assemblyStatus.js.map +1 -0
- package/dist/alphalib/types/bill.d.ts +44 -0
- package/dist/alphalib/types/bill.d.ts.map +1 -0
- package/dist/alphalib/types/bill.js +8 -0
- package/dist/alphalib/types/bill.js.map +1 -0
- package/dist/alphalib/types/robots/_index.d.ts +76306 -0
- package/dist/alphalib/types/robots/_index.d.ts.map +1 -0
- package/dist/alphalib/types/robots/_index.js +354 -0
- package/dist/alphalib/types/robots/_index.js.map +1 -0
- package/dist/alphalib/types/robots/_instructions-primitives.d.ts +3533 -0
- package/dist/alphalib/types/robots/_instructions-primitives.d.ts.map +1 -0
- package/dist/alphalib/types/robots/_instructions-primitives.js +1491 -0
- package/dist/alphalib/types/robots/_instructions-primitives.js.map +1 -0
- package/dist/alphalib/types/robots/ai-chat.d.ts +2096 -0
- package/dist/alphalib/types/robots/ai-chat.d.ts.map +1 -0
- package/dist/alphalib/types/robots/ai-chat.js +223 -0
- package/dist/alphalib/types/robots/ai-chat.js.map +1 -0
- package/dist/alphalib/types/robots/assembly-savejson.d.ts +52 -0
- package/dist/alphalib/types/robots/assembly-savejson.d.ts.map +1 -0
- package/dist/alphalib/types/robots/assembly-savejson.js +22 -0
- package/dist/alphalib/types/robots/assembly-savejson.js.map +1 -0
- package/dist/alphalib/types/robots/audio-artwork.d.ts +2867 -0
- package/dist/alphalib/types/robots/audio-artwork.d.ts.map +1 -0
- package/dist/alphalib/types/robots/audio-artwork.js +73 -0
- package/dist/alphalib/types/robots/audio-artwork.js.map +1 -0
- package/dist/alphalib/types/robots/audio-concat.d.ts +2916 -0
- package/dist/alphalib/types/robots/audio-concat.d.ts.map +1 -0
- package/dist/alphalib/types/robots/audio-concat.js +106 -0
- package/dist/alphalib/types/robots/audio-concat.js.map +1 -0
- package/dist/alphalib/types/robots/audio-encode.d.ts +2864 -0
- package/dist/alphalib/types/robots/audio-encode.d.ts.map +1 -0
- package/dist/alphalib/types/robots/audio-encode.js +67 -0
- package/dist/alphalib/types/robots/audio-encode.js.map +1 -0
- package/dist/alphalib/types/robots/audio-loop.d.ts +2879 -0
- package/dist/alphalib/types/robots/audio-loop.d.ts.map +1 -0
- package/dist/alphalib/types/robots/audio-loop.js +67 -0
- package/dist/alphalib/types/robots/audio-loop.js.map +1 -0
- package/dist/alphalib/types/robots/audio-merge.d.ts +2931 -0
- package/dist/alphalib/types/robots/audio-merge.d.ts.map +1 -0
- package/dist/alphalib/types/robots/audio-merge.js +101 -0
- package/dist/alphalib/types/robots/audio-merge.js.map +1 -0
- package/dist/alphalib/types/robots/audio-waveform.d.ts +3131 -0
- package/dist/alphalib/types/robots/audio-waveform.d.ts.map +1 -0
- package/dist/alphalib/types/robots/audio-waveform.js +238 -0
- package/dist/alphalib/types/robots/audio-waveform.js.map +1 -0
- package/dist/alphalib/types/robots/azure-import.d.ts +210 -0
- package/dist/alphalib/types/robots/azure-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/azure-import.js +73 -0
- package/dist/alphalib/types/robots/azure-import.js.map +1 -0
- package/dist/alphalib/types/robots/azure-store.d.ts +562 -0
- package/dist/alphalib/types/robots/azure-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/azure-store.js +115 -0
- package/dist/alphalib/types/robots/azure-store.js.map +1 -0
- package/dist/alphalib/types/robots/backblaze-import.d.ts +210 -0
- package/dist/alphalib/types/robots/backblaze-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/backblaze-import.js +81 -0
- package/dist/alphalib/types/robots/backblaze-import.js.map +1 -0
- package/dist/alphalib/types/robots/backblaze-store.d.ts +478 -0
- package/dist/alphalib/types/robots/backblaze-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/backblaze-store.js +76 -0
- package/dist/alphalib/types/robots/backblaze-store.js.map +1 -0
- package/dist/alphalib/types/robots/cloudfiles-import.d.ts +234 -0
- package/dist/alphalib/types/robots/cloudfiles-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/cloudfiles-import.js +80 -0
- package/dist/alphalib/types/robots/cloudfiles-import.js.map +1 -0
- package/dist/alphalib/types/robots/cloudfiles-store.d.ts +490 -0
- package/dist/alphalib/types/robots/cloudfiles-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/cloudfiles-store.js +70 -0
- package/dist/alphalib/types/robots/cloudfiles-store.js.map +1 -0
- package/dist/alphalib/types/robots/cloudflare-import.d.ts +234 -0
- package/dist/alphalib/types/robots/cloudflare-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/cloudflare-import.js +81 -0
- package/dist/alphalib/types/robots/cloudflare-import.js.map +1 -0
- package/dist/alphalib/types/robots/cloudflare-store.d.ts +514 -0
- package/dist/alphalib/types/robots/cloudflare-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/cloudflare-store.js +86 -0
- package/dist/alphalib/types/robots/cloudflare-store.js.map +1 -0
- package/dist/alphalib/types/robots/digitalocean-import.d.ts +234 -0
- package/dist/alphalib/types/robots/digitalocean-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/digitalocean-import.js +78 -0
- package/dist/alphalib/types/robots/digitalocean-import.js.map +1 -0
- package/dist/alphalib/types/robots/digitalocean-store.d.ts +526 -0
- package/dist/alphalib/types/robots/digitalocean-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/digitalocean-store.js +91 -0
- package/dist/alphalib/types/robots/digitalocean-store.js.map +1 -0
- package/dist/alphalib/types/robots/document-autorotate.d.ts +405 -0
- package/dist/alphalib/types/robots/document-autorotate.d.ts.map +1 -0
- package/dist/alphalib/types/robots/document-autorotate.js +44 -0
- package/dist/alphalib/types/robots/document-autorotate.js.map +1 -0
- package/dist/alphalib/types/robots/document-convert.d.ts +513 -0
- package/dist/alphalib/types/robots/document-convert.d.ts.map +1 -0
- package/dist/alphalib/types/robots/document-convert.js +273 -0
- package/dist/alphalib/types/robots/document-convert.js.map +1 -0
- package/dist/alphalib/types/robots/document-merge.d.ts +429 -0
- package/dist/alphalib/types/robots/document-merge.d.ts.map +1 -0
- package/dist/alphalib/types/robots/document-merge.js +86 -0
- package/dist/alphalib/types/robots/document-merge.js.map +1 -0
- package/dist/alphalib/types/robots/document-ocr.d.ts +441 -0
- package/dist/alphalib/types/robots/document-ocr.d.ts.map +1 -0
- package/dist/alphalib/types/robots/document-ocr.js +86 -0
- package/dist/alphalib/types/robots/document-ocr.js.map +1 -0
- package/dist/alphalib/types/robots/document-split.d.ts +417 -0
- package/dist/alphalib/types/robots/document-split.d.ts.map +1 -0
- package/dist/alphalib/types/robots/document-split.js +48 -0
- package/dist/alphalib/types/robots/document-split.js.map +1 -0
- package/dist/alphalib/types/robots/document-thumbs.d.ts +592 -0
- package/dist/alphalib/types/robots/document-thumbs.d.ts.map +1 -0
- package/dist/alphalib/types/robots/document-thumbs.js +196 -0
- package/dist/alphalib/types/robots/document-thumbs.js.map +1 -0
- package/dist/alphalib/types/robots/dropbox-import.d.ts +144 -0
- package/dist/alphalib/types/robots/dropbox-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/dropbox-import.js +65 -0
- package/dist/alphalib/types/robots/dropbox-import.js.map +1 -0
- package/dist/alphalib/types/robots/dropbox-store.d.ts +449 -0
- package/dist/alphalib/types/robots/dropbox-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/dropbox-store.js +68 -0
- package/dist/alphalib/types/robots/dropbox-store.js.map +1 -0
- package/dist/alphalib/types/robots/edgly-deliver.d.ts +100 -0
- package/dist/alphalib/types/robots/edgly-deliver.d.ts.map +1 -0
- package/dist/alphalib/types/robots/edgly-deliver.js +46 -0
- package/dist/alphalib/types/robots/edgly-deliver.js.map +1 -0
- package/dist/alphalib/types/robots/file-compress.d.ts +477 -0
- package/dist/alphalib/types/robots/file-compress.d.ts.map +1 -0
- package/dist/alphalib/types/robots/file-compress.js +139 -0
- package/dist/alphalib/types/robots/file-compress.js.map +1 -0
- package/dist/alphalib/types/robots/file-decompress.d.ts +404 -0
- package/dist/alphalib/types/robots/file-decompress.d.ts.map +1 -0
- package/dist/alphalib/types/robots/file-decompress.js +94 -0
- package/dist/alphalib/types/robots/file-decompress.js.map +1 -0
- package/dist/alphalib/types/robots/file-filter.d.ts +465 -0
- package/dist/alphalib/types/robots/file-filter.d.ts.map +1 -0
- package/dist/alphalib/types/robots/file-filter.js +136 -0
- package/dist/alphalib/types/robots/file-filter.js.map +1 -0
- package/dist/alphalib/types/robots/file-hash.d.ts +417 -0
- package/dist/alphalib/types/robots/file-hash.d.ts.map +1 -0
- package/dist/alphalib/types/robots/file-hash.js +59 -0
- package/dist/alphalib/types/robots/file-hash.js.map +1 -0
- package/dist/alphalib/types/robots/file-preview.d.ts +854 -0
- package/dist/alphalib/types/robots/file-preview.d.ts.map +1 -0
- package/dist/alphalib/types/robots/file-preview.js +221 -0
- package/dist/alphalib/types/robots/file-preview.js.map +1 -0
- package/dist/alphalib/types/robots/file-read.d.ts +405 -0
- package/dist/alphalib/types/robots/file-read.d.ts.map +1 -0
- package/dist/alphalib/types/robots/file-read.js +44 -0
- package/dist/alphalib/types/robots/file-read.js.map +1 -0
- package/dist/alphalib/types/robots/file-serve.d.ts +418 -0
- package/dist/alphalib/types/robots/file-serve.d.ts.map +1 -0
- package/dist/alphalib/types/robots/file-serve.js +99 -0
- package/dist/alphalib/types/robots/file-serve.js.map +1 -0
- package/dist/alphalib/types/robots/file-verify.d.ts +441 -0
- package/dist/alphalib/types/robots/file-verify.d.ts.map +1 -0
- package/dist/alphalib/types/robots/file-verify.js +73 -0
- package/dist/alphalib/types/robots/file-verify.js.map +1 -0
- package/dist/alphalib/types/robots/file-virusscan.d.ts +435 -0
- package/dist/alphalib/types/robots/file-virusscan.d.ts.map +1 -0
- package/dist/alphalib/types/robots/file-virusscan.js +82 -0
- package/dist/alphalib/types/robots/file-virusscan.js.map +1 -0
- package/dist/alphalib/types/robots/file-watermark.d.ts +417 -0
- package/dist/alphalib/types/robots/file-watermark.d.ts.map +1 -0
- package/dist/alphalib/types/robots/file-watermark.js +28 -0
- package/dist/alphalib/types/robots/file-watermark.js.map +1 -0
- package/dist/alphalib/types/robots/ftp-import.d.ts +198 -0
- package/dist/alphalib/types/robots/ftp-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/ftp-import.js +60 -0
- package/dist/alphalib/types/robots/ftp-import.js.map +1 -0
- package/dist/alphalib/types/robots/ftp-store.d.ts +532 -0
- package/dist/alphalib/types/robots/ftp-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/ftp-store.js +91 -0
- package/dist/alphalib/types/robots/ftp-store.js.map +1 -0
- package/dist/alphalib/types/robots/google-import.d.ts +174 -0
- package/dist/alphalib/types/robots/google-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/google-import.js +77 -0
- package/dist/alphalib/types/robots/google-import.js.map +1 -0
- package/dist/alphalib/types/robots/google-store.d.ts +476 -0
- package/dist/alphalib/types/robots/google-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/google-store.js +111 -0
- package/dist/alphalib/types/robots/google-store.js.map +1 -0
- package/dist/alphalib/types/robots/html-convert.d.ts +531 -0
- package/dist/alphalib/types/robots/html-convert.d.ts.map +1 -0
- package/dist/alphalib/types/robots/html-convert.js +137 -0
- package/dist/alphalib/types/robots/html-convert.js.map +1 -0
- package/dist/alphalib/types/robots/http-import.d.ts +215 -0
- package/dist/alphalib/types/robots/http-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/http-import.js +135 -0
- package/dist/alphalib/types/robots/http-import.js.map +1 -0
- package/dist/alphalib/types/robots/image-bgremove.d.ts +453 -0
- package/dist/alphalib/types/robots/image-bgremove.d.ts.map +1 -0
- package/dist/alphalib/types/robots/image-bgremove.js +65 -0
- package/dist/alphalib/types/robots/image-bgremove.js.map +1 -0
- package/dist/alphalib/types/robots/image-describe.d.ts +453 -0
- package/dist/alphalib/types/robots/image-describe.d.ts.map +1 -0
- package/dist/alphalib/types/robots/image-describe.js +86 -0
- package/dist/alphalib/types/robots/image-describe.js.map +1 -0
- package/dist/alphalib/types/robots/image-facedetect.d.ts +477 -0
- package/dist/alphalib/types/robots/image-facedetect.d.ts.map +1 -0
- package/dist/alphalib/types/robots/image-facedetect.js +151 -0
- package/dist/alphalib/types/robots/image-facedetect.js.map +1 -0
- package/dist/alphalib/types/robots/image-generate.d.ts +522 -0
- package/dist/alphalib/types/robots/image-generate.d.ts.map +1 -0
- package/dist/alphalib/types/robots/image-generate.js +64 -0
- package/dist/alphalib/types/robots/image-generate.js.map +1 -0
- package/dist/alphalib/types/robots/image-merge.d.ts +477 -0
- package/dist/alphalib/types/robots/image-merge.d.ts.map +1 -0
- package/dist/alphalib/types/robots/image-merge.js +92 -0
- package/dist/alphalib/types/robots/image-merge.js.map +1 -0
- package/dist/alphalib/types/robots/image-ocr.d.ts +441 -0
- package/dist/alphalib/types/robots/image-ocr.d.ts.map +1 -0
- package/dist/alphalib/types/robots/image-ocr.js +79 -0
- package/dist/alphalib/types/robots/image-ocr.js.map +1 -0
- package/dist/alphalib/types/robots/image-optimize.d.ts +453 -0
- package/dist/alphalib/types/robots/image-optimize.d.ts.map +1 -0
- package/dist/alphalib/types/robots/image-optimize.js +81 -0
- package/dist/alphalib/types/robots/image-optimize.js.map +1 -0
- package/dist/alphalib/types/robots/image-resize.d.ts +1758 -0
- package/dist/alphalib/types/robots/image-resize.d.ts.map +1 -0
- package/dist/alphalib/types/robots/image-resize.js +602 -0
- package/dist/alphalib/types/robots/image-resize.js.map +1 -0
- package/dist/alphalib/types/robots/meta-read.d.ts +98 -0
- package/dist/alphalib/types/robots/meta-read.d.ts.map +1 -0
- package/dist/alphalib/types/robots/meta-read.js +24 -0
- package/dist/alphalib/types/robots/meta-read.js.map +1 -0
- package/dist/alphalib/types/robots/meta-write.d.ts +2842 -0
- package/dist/alphalib/types/robots/meta-write.d.ts.map +1 -0
- package/dist/alphalib/types/robots/meta-write.js +66 -0
- package/dist/alphalib/types/robots/meta-write.js.map +1 -0
- package/dist/alphalib/types/robots/minio-import.d.ts +234 -0
- package/dist/alphalib/types/robots/minio-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/minio-import.js +81 -0
- package/dist/alphalib/types/robots/minio-import.js.map +1 -0
- package/dist/alphalib/types/robots/minio-store.d.ts +514 -0
- package/dist/alphalib/types/robots/minio-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/minio-store.js +87 -0
- package/dist/alphalib/types/robots/minio-store.js.map +1 -0
- package/dist/alphalib/types/robots/progress-simulate.d.ts +229 -0
- package/dist/alphalib/types/robots/progress-simulate.d.ts.map +1 -0
- package/dist/alphalib/types/robots/progress-simulate.js +25 -0
- package/dist/alphalib/types/robots/progress-simulate.js.map +1 -0
- package/dist/alphalib/types/robots/s3-import.d.ts +246 -0
- package/dist/alphalib/types/robots/s3-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/s3-import.js +137 -0
- package/dist/alphalib/types/robots/s3-import.js.map +1 -0
- package/dist/alphalib/types/robots/s3-store.d.ts +593 -0
- package/dist/alphalib/types/robots/s3-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/s3-store.js +169 -0
- package/dist/alphalib/types/robots/s3-store.js.map +1 -0
- package/dist/alphalib/types/robots/script-run.d.ts +423 -0
- package/dist/alphalib/types/robots/script-run.d.ts.map +1 -0
- package/dist/alphalib/types/robots/script-run.js +95 -0
- package/dist/alphalib/types/robots/script-run.js.map +1 -0
- package/dist/alphalib/types/robots/sftp-import.d.ts +192 -0
- package/dist/alphalib/types/robots/sftp-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/sftp-import.js +62 -0
- package/dist/alphalib/types/robots/sftp-import.js.map +1 -0
- package/dist/alphalib/types/robots/sftp-store.d.ts +520 -0
- package/dist/alphalib/types/robots/sftp-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/sftp-store.js +83 -0
- package/dist/alphalib/types/robots/sftp-store.js.map +1 -0
- package/dist/alphalib/types/robots/speech-transcribe.d.ts +465 -0
- package/dist/alphalib/types/robots/speech-transcribe.d.ts.map +1 -0
- package/dist/alphalib/types/robots/speech-transcribe.js +103 -0
- package/dist/alphalib/types/robots/speech-transcribe.js.map +1 -0
- package/dist/alphalib/types/robots/supabase-import.d.ts +246 -0
- package/dist/alphalib/types/robots/supabase-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/supabase-import.js +83 -0
- package/dist/alphalib/types/robots/supabase-import.js.map +1 -0
- package/dist/alphalib/types/robots/supabase-store.d.ts +514 -0
- package/dist/alphalib/types/robots/supabase-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/supabase-store.js +77 -0
- package/dist/alphalib/types/robots/supabase-store.js.map +1 -0
- package/dist/alphalib/types/robots/swift-import.d.ts +246 -0
- package/dist/alphalib/types/robots/swift-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/swift-import.js +81 -0
- package/dist/alphalib/types/robots/swift-import.js.map +1 -0
- package/dist/alphalib/types/robots/swift-store.d.ts +526 -0
- package/dist/alphalib/types/robots/swift-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/swift-store.js +84 -0
- package/dist/alphalib/types/robots/swift-store.js.map +1 -0
- package/dist/alphalib/types/robots/text-speak.d.ts +465 -0
- package/dist/alphalib/types/robots/text-speak.d.ts.map +1 -0
- package/dist/alphalib/types/robots/text-speak.js +119 -0
- package/dist/alphalib/types/robots/text-speak.js.map +1 -0
- package/dist/alphalib/types/robots/text-translate.d.ts +441 -0
- package/dist/alphalib/types/robots/text-translate.d.ts.map +1 -0
- package/dist/alphalib/types/robots/text-translate.js +211 -0
- package/dist/alphalib/types/robots/text-translate.js.map +1 -0
- package/dist/alphalib/types/robots/tigris-import.d.ts +244 -0
- package/dist/alphalib/types/robots/tigris-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/tigris-import.js +85 -0
- package/dist/alphalib/types/robots/tigris-import.js.map +1 -0
- package/dist/alphalib/types/robots/tigris-store.d.ts +524 -0
- package/dist/alphalib/types/robots/tigris-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/tigris-store.js +91 -0
- package/dist/alphalib/types/robots/tigris-store.js.map +1 -0
- package/dist/alphalib/types/robots/tlcdn-deliver.d.ts +100 -0
- package/dist/alphalib/types/robots/tlcdn-deliver.d.ts.map +1 -0
- package/dist/alphalib/types/robots/tlcdn-deliver.js +46 -0
- package/dist/alphalib/types/robots/tlcdn-deliver.js.map +1 -0
- package/dist/alphalib/types/robots/tus-store.d.ts +477 -0
- package/dist/alphalib/types/robots/tus-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/tus-store.js +102 -0
- package/dist/alphalib/types/robots/tus-store.js.map +1 -0
- package/dist/alphalib/types/robots/upload-handle.d.ts +100 -0
- package/dist/alphalib/types/robots/upload-handle.d.ts.map +1 -0
- package/dist/alphalib/types/robots/upload-handle.js +66 -0
- package/dist/alphalib/types/robots/upload-handle.js.map +1 -0
- package/dist/alphalib/types/robots/video-adaptive.d.ts +2915 -0
- package/dist/alphalib/types/robots/video-adaptive.d.ts.map +1 -0
- package/dist/alphalib/types/robots/video-adaptive.js +144 -0
- package/dist/alphalib/types/robots/video-adaptive.js.map +1 -0
- package/dist/alphalib/types/robots/video-concat.d.ts +2891 -0
- package/dist/alphalib/types/robots/video-concat.d.ts.map +1 -0
- package/dist/alphalib/types/robots/video-concat.js +96 -0
- package/dist/alphalib/types/robots/video-concat.js.map +1 -0
- package/dist/alphalib/types/robots/video-encode.d.ts +3280 -0
- package/dist/alphalib/types/robots/video-encode.d.ts.map +1 -0
- package/dist/alphalib/types/robots/video-encode.js +107 -0
- package/dist/alphalib/types/robots/video-encode.js.map +1 -0
- package/dist/alphalib/types/robots/video-merge.d.ts +2987 -0
- package/dist/alphalib/types/robots/video-merge.d.ts.map +1 -0
- package/dist/alphalib/types/robots/video-merge.js +102 -0
- package/dist/alphalib/types/robots/video-merge.js.map +1 -0
- package/dist/alphalib/types/robots/video-ondemand.d.ts +4553 -0
- package/dist/alphalib/types/robots/video-ondemand.d.ts.map +1 -0
- package/dist/alphalib/types/robots/video-ondemand.js +112 -0
- package/dist/alphalib/types/robots/video-ondemand.js.map +1 -0
- package/dist/alphalib/types/robots/video-subtitle.d.ts +2975 -0
- package/dist/alphalib/types/robots/video-subtitle.d.ts.map +1 -0
- package/dist/alphalib/types/robots/video-subtitle.js +122 -0
- package/dist/alphalib/types/robots/video-subtitle.js.map +1 -0
- package/dist/alphalib/types/robots/video-thumbs.d.ts +2938 -0
- package/dist/alphalib/types/robots/video-thumbs.d.ts.map +1 -0
- package/dist/alphalib/types/robots/video-thumbs.js +122 -0
- package/dist/alphalib/types/robots/video-thumbs.js.map +1 -0
- package/dist/alphalib/types/robots/vimeo-import.d.ts +189 -0
- package/dist/alphalib/types/robots/vimeo-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/vimeo-import.js +92 -0
- package/dist/alphalib/types/robots/vimeo-import.js.map +1 -0
- package/dist/alphalib/types/robots/vimeo-store.d.ts +520 -0
- package/dist/alphalib/types/robots/vimeo-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/vimeo-store.js +115 -0
- package/dist/alphalib/types/robots/vimeo-store.js.map +1 -0
- package/dist/alphalib/types/robots/wasabi-import.d.ts +244 -0
- package/dist/alphalib/types/robots/wasabi-import.d.ts.map +1 -0
- package/dist/alphalib/types/robots/wasabi-import.js +85 -0
- package/dist/alphalib/types/robots/wasabi-import.js.map +1 -0
- package/dist/alphalib/types/robots/wasabi-store.d.ts +526 -0
- package/dist/alphalib/types/robots/wasabi-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/wasabi-store.js +85 -0
- package/dist/alphalib/types/robots/wasabi-store.js.map +1 -0
- package/dist/alphalib/types/robots/youtube-store.d.ts +477 -0
- package/dist/alphalib/types/robots/youtube-store.d.ts.map +1 -0
- package/dist/alphalib/types/robots/youtube-store.js +122 -0
- package/dist/alphalib/types/robots/youtube-store.js.map +1 -0
- package/dist/alphalib/types/stackVersions.d.ts +13 -0
- package/dist/alphalib/types/stackVersions.d.ts.map +1 -0
- package/dist/alphalib/types/stackVersions.js +13 -0
- package/dist/alphalib/types/stackVersions.js.map +1 -0
- package/dist/alphalib/types/template.d.ts +131710 -0
- package/dist/alphalib/types/template.d.ts.map +1 -0
- package/dist/alphalib/types/template.js +218 -0
- package/dist/alphalib/types/template.js.map +1 -0
- package/dist/alphalib/types/templateCredential.d.ts +95 -0
- package/dist/alphalib/types/templateCredential.d.ts.map +1 -0
- package/dist/alphalib/types/templateCredential.js +57 -0
- package/dist/alphalib/types/templateCredential.js.map +1 -0
- package/dist/alphalib/zodParseWithContext.d.ts +17 -0
- package/dist/alphalib/zodParseWithContext.d.ts.map +1 -0
- package/dist/alphalib/zodParseWithContext.js +248 -0
- package/dist/alphalib/zodParseWithContext.js.map +1 -0
- package/dist/apiTypes.d.ts +112 -0
- package/dist/apiTypes.d.ts.map +1 -0
- package/dist/apiTypes.js +3 -0
- package/dist/apiTypes.js.map +1 -0
- package/dist/cli/OutputCtl.d.ts +47 -0
- package/dist/cli/OutputCtl.d.ts.map +1 -0
- package/dist/cli/OutputCtl.js +85 -0
- package/dist/cli/OutputCtl.js.map +1 -0
- package/dist/cli/commands/BaseCommand.d.ts +24 -0
- package/dist/cli/commands/BaseCommand.d.ts.map +1 -0
- package/dist/cli/commands/BaseCommand.js +52 -0
- package/dist/cli/commands/BaseCommand.js.map +1 -0
- package/dist/cli/commands/assemblies.d.ts +93 -0
- package/dist/cli/commands/assemblies.d.ts.map +1 -0
- package/dist/cli/commands/assemblies.js +1021 -0
- package/dist/cli/commands/assemblies.js.map +1 -0
- package/dist/cli/commands/auth.d.ts +28 -0
- package/dist/cli/commands/auth.d.ts.map +1 -0
- package/dist/cli/commands/auth.js +280 -0
- package/dist/cli/commands/auth.js.map +1 -0
- package/dist/cli/commands/bills.d.ts +14 -0
- package/dist/cli/commands/bills.d.ts.map +1 -0
- package/dist/cli/commands/bills.js +69 -0
- package/dist/cli/commands/bills.js.map +1 -0
- package/dist/cli/commands/index.d.ts +3 -0
- package/dist/cli/commands/index.d.ts.map +1 -0
- package/dist/cli/commands/index.js +39 -0
- package/dist/cli/commands/index.js.map +1 -0
- package/dist/cli/commands/notifications.d.ts +9 -0
- package/dist/cli/commands/notifications.d.ts.map +1 -0
- package/dist/cli/commands/notifications.js +44 -0
- package/dist/cli/commands/notifications.js.map +1 -0
- package/dist/cli/commands/templates.d.ts +73 -0
- package/dist/cli/commands/templates.d.ts.map +1 -0
- package/dist/cli/commands/templates.js +428 -0
- package/dist/cli/commands/templates.js.map +1 -0
- package/dist/cli/helpers.d.ts +13 -0
- package/dist/cli/helpers.d.ts.map +1 -0
- package/dist/cli/helpers.js +39 -0
- package/dist/cli/helpers.js.map +1 -0
- package/dist/cli/template-last-modified.d.ts +10 -0
- package/dist/cli/template-last-modified.d.ts.map +1 -0
- package/dist/cli/template-last-modified.js +134 -0
- package/dist/cli/template-last-modified.js.map +1 -0
- package/dist/cli/types.d.ts +78 -0
- package/dist/cli/types.d.ts.map +1 -0
- package/dist/cli/types.js +49 -0
- package/dist/cli/types.js.map +1 -0
- package/dist/cli.d.ts +6 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +41 -0
- package/dist/cli.js.map +1 -0
- package/dist/tus.d.ts +18 -0
- package/dist/tus.d.ts.map +1 -0
- package/dist/tus.js +122 -0
- package/dist/tus.js.map +1 -0
- package/package.json +92 -0
- package/src/ApiError.ts +49 -0
- package/src/InconsistentResponseError.ts +3 -0
- package/src/PaginationStream.ts +54 -0
- package/src/PollingTimeoutError.ts +5 -0
- package/src/Transloadit.ts +980 -0
- package/src/alphalib/lib/nativeGlobby.ts +244 -0
- package/src/alphalib/mcache.ts +184 -0
- package/src/alphalib/tryCatch.ts +30 -0
- package/src/alphalib/types/assembliesGet.ts +42 -0
- package/src/alphalib/types/assemblyReplay.ts +24 -0
- package/src/alphalib/types/assemblyReplayNotification.ts +16 -0
- package/src/alphalib/types/assemblyStatus.ts +794 -0
- package/src/alphalib/types/bill.ts +9 -0
- package/src/alphalib/types/robots/_index.ts +1201 -0
- package/src/alphalib/types/robots/_instructions-primitives.ts +1770 -0
- package/src/alphalib/types/robots/ai-chat.ts +278 -0
- package/src/alphalib/types/robots/assembly-savejson.ts +37 -0
- package/src/alphalib/types/robots/audio-artwork.ts +107 -0
- package/src/alphalib/types/robots/audio-concat.ts +142 -0
- package/src/alphalib/types/robots/audio-encode.ts +103 -0
- package/src/alphalib/types/robots/audio-loop.ts +102 -0
- package/src/alphalib/types/robots/audio-merge.ts +137 -0
- package/src/alphalib/types/robots/audio-waveform.ts +280 -0
- package/src/alphalib/types/robots/azure-import.ts +111 -0
- package/src/alphalib/types/robots/azure-store.ts +143 -0
- package/src/alphalib/types/robots/backblaze-import.ts +119 -0
- package/src/alphalib/types/robots/backblaze-store.ts +104 -0
- package/src/alphalib/types/robots/cloudfiles-import.ts +118 -0
- package/src/alphalib/types/robots/cloudfiles-store.ts +104 -0
- package/src/alphalib/types/robots/cloudflare-import.ts +121 -0
- package/src/alphalib/types/robots/cloudflare-store.ts +120 -0
- package/src/alphalib/types/robots/digitalocean-import.ts +118 -0
- package/src/alphalib/types/robots/digitalocean-store.ts +125 -0
- package/src/alphalib/types/robots/document-autorotate.ts +74 -0
- package/src/alphalib/types/robots/document-convert.ts +302 -0
- package/src/alphalib/types/robots/document-merge.ts +114 -0
- package/src/alphalib/types/robots/document-ocr.ts +120 -0
- package/src/alphalib/types/robots/document-split.ts +78 -0
- package/src/alphalib/types/robots/document-thumbs.ts +231 -0
- package/src/alphalib/types/robots/dropbox-import.ts +100 -0
- package/src/alphalib/types/robots/dropbox-store.ts +97 -0
- package/src/alphalib/types/robots/edgly-deliver.ts +73 -0
- package/src/alphalib/types/robots/file-compress.ts +167 -0
- package/src/alphalib/types/robots/file-decompress.ts +125 -0
- package/src/alphalib/types/robots/file-filter.ts +173 -0
- package/src/alphalib/types/robots/file-hash.ts +86 -0
- package/src/alphalib/types/robots/file-preview.ts +260 -0
- package/src/alphalib/types/robots/file-read.ts +71 -0
- package/src/alphalib/types/robots/file-serve.ts +128 -0
- package/src/alphalib/types/robots/file-verify.ts +102 -0
- package/src/alphalib/types/robots/file-virusscan.ts +113 -0
- package/src/alphalib/types/robots/file-watermark.ts +56 -0
- package/src/alphalib/types/robots/ftp-import.ts +95 -0
- package/src/alphalib/types/robots/ftp-store.ts +119 -0
- package/src/alphalib/types/robots/google-import.ts +115 -0
- package/src/alphalib/types/robots/google-store.ts +139 -0
- package/src/alphalib/types/robots/html-convert.ts +165 -0
- package/src/alphalib/types/robots/http-import.ts +168 -0
- package/src/alphalib/types/robots/image-bgremove.ts +95 -0
- package/src/alphalib/types/robots/image-describe.ts +121 -0
- package/src/alphalib/types/robots/image-facedetect.ts +187 -0
- package/src/alphalib/types/robots/image-generate.ts +92 -0
- package/src/alphalib/types/robots/image-merge.ts +127 -0
- package/src/alphalib/types/robots/image-ocr.ts +112 -0
- package/src/alphalib/types/robots/image-optimize.ts +114 -0
- package/src/alphalib/types/robots/image-resize.ts +653 -0
- package/src/alphalib/types/robots/meta-read.ts +44 -0
- package/src/alphalib/types/robots/meta-write.ts +93 -0
- package/src/alphalib/types/robots/minio-import.ts +120 -0
- package/src/alphalib/types/robots/minio-store.ts +115 -0
- package/src/alphalib/types/robots/progress-simulate.ts +40 -0
- package/src/alphalib/types/robots/s3-import.ts +175 -0
- package/src/alphalib/types/robots/s3-store.ts +198 -0
- package/src/alphalib/types/robots/script-run.ts +122 -0
- package/src/alphalib/types/robots/sftp-import.ts +92 -0
- package/src/alphalib/types/robots/sftp-store.ts +110 -0
- package/src/alphalib/types/robots/speech-transcribe.ts +139 -0
- package/src/alphalib/types/robots/supabase-import.ts +122 -0
- package/src/alphalib/types/robots/supabase-store.ts +105 -0
- package/src/alphalib/types/robots/swift-import.ts +120 -0
- package/src/alphalib/types/robots/swift-store.ts +112 -0
- package/src/alphalib/types/robots/text-speak.ts +152 -0
- package/src/alphalib/types/robots/text-translate.ts +245 -0
- package/src/alphalib/types/robots/tigris-import.ts +124 -0
- package/src/alphalib/types/robots/tigris-store.ts +119 -0
- package/src/alphalib/types/robots/tlcdn-deliver.ts +73 -0
- package/src/alphalib/types/robots/tus-store.ts +129 -0
- package/src/alphalib/types/robots/upload-handle.ts +95 -0
- package/src/alphalib/types/robots/video-adaptive.ts +179 -0
- package/src/alphalib/types/robots/video-concat.ts +130 -0
- package/src/alphalib/types/robots/video-encode.ts +141 -0
- package/src/alphalib/types/robots/video-merge.ts +138 -0
- package/src/alphalib/types/robots/video-ondemand.ts +161 -0
- package/src/alphalib/types/robots/video-subtitle.ts +159 -0
- package/src/alphalib/types/robots/video-thumbs.ts +158 -0
- package/src/alphalib/types/robots/vimeo-import.ts +126 -0
- package/src/alphalib/types/robots/vimeo-store.ts +143 -0
- package/src/alphalib/types/robots/wasabi-import.ts +124 -0
- package/src/alphalib/types/robots/wasabi-store.ts +113 -0
- package/src/alphalib/types/robots/youtube-store.ts +153 -0
- package/src/alphalib/types/stackVersions.ts +12 -0
- package/src/alphalib/types/template.ts +277 -0
- package/src/alphalib/types/templateCredential.ts +61 -0
- package/src/alphalib/zodParseWithContext.ts +306 -0
- package/src/apiTypes.ts +154 -0
- package/src/cli/OutputCtl.ts +115 -0
- package/src/cli/commands/BaseCommand.ts +71 -0
- package/src/cli/commands/assemblies.ts +1373 -0
- package/src/cli/commands/auth.ts +354 -0
- package/src/cli/commands/bills.ts +91 -0
- package/src/cli/commands/index.ts +65 -0
- package/src/cli/commands/notifications.ts +63 -0
- package/src/cli/commands/templates.ts +556 -0
- package/src/cli/helpers.ts +50 -0
- package/src/cli/template-last-modified.ts +156 -0
- package/src/cli/types.ts +70 -0
- package/src/cli.ts +44 -0
- package/src/tus.ts +168 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
|
+
import {
|
|
5
|
+
cloudflareBase,
|
|
6
|
+
files_per_page,
|
|
7
|
+
interpolateRobot,
|
|
8
|
+
page_number,
|
|
9
|
+
path,
|
|
10
|
+
recursive,
|
|
11
|
+
return_file_stubs,
|
|
12
|
+
robotBase,
|
|
13
|
+
robotImport,
|
|
14
|
+
} from './_instructions-primitives.ts'
|
|
15
|
+
|
|
16
|
+
export const meta: RobotMetaInput = {
|
|
17
|
+
allowed_for_url_transform: true,
|
|
18
|
+
bytescount: 10,
|
|
19
|
+
discount_factor: 0.1,
|
|
20
|
+
discount_pct: 90,
|
|
21
|
+
example_code: {
|
|
22
|
+
steps: {
|
|
23
|
+
imported: {
|
|
24
|
+
robot: '/cloudflare/import',
|
|
25
|
+
credentials: 'YOUR_CLOUDFLARE_CREDENTIALS',
|
|
26
|
+
path: 'path/to/files/',
|
|
27
|
+
recursive: true,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
example_code_description:
|
|
32
|
+
'Import files from the `path/to/files` directory and its subdirectories:',
|
|
33
|
+
has_small_icon: true,
|
|
34
|
+
minimum_charge: 0,
|
|
35
|
+
output_factor: 1,
|
|
36
|
+
override_lvl1: 'File Importing',
|
|
37
|
+
purpose_sentence: 'imports whole directories of files from your cloudflare r2 bucket',
|
|
38
|
+
purpose_verb: 'import',
|
|
39
|
+
purpose_word: 'cloudflare',
|
|
40
|
+
purpose_words: 'Import files from Cloudflare R2',
|
|
41
|
+
requires_credentials: true,
|
|
42
|
+
service_slug: 'file-importing',
|
|
43
|
+
slot_count: 20,
|
|
44
|
+
title: 'Import files from Cloudflare R2',
|
|
45
|
+
typical_file_size_mb: 1.2,
|
|
46
|
+
typical_file_type: 'file',
|
|
47
|
+
name: 'CloudflareImportRobot',
|
|
48
|
+
priceFactor: 6.6666,
|
|
49
|
+
queueSlotCount: 20,
|
|
50
|
+
isAllowedForUrlTransform: true,
|
|
51
|
+
trackOutputFileSize: false,
|
|
52
|
+
isInternal: false,
|
|
53
|
+
removeJobResultFilesFromDiskRightAfterStoringOnS3: true,
|
|
54
|
+
stage: 'ga',
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export const robotCloudflareImportInstructionsSchema = robotBase
|
|
58
|
+
.merge(robotImport)
|
|
59
|
+
.merge(cloudflareBase)
|
|
60
|
+
.extend({
|
|
61
|
+
robot: z.literal('/cloudflare/import'),
|
|
62
|
+
path: path.describe(`
|
|
63
|
+
The path in your bucket to the specific file or directory. If the path points to a file, only this file will be imported. For example: \`images/avatar.jpg\`.
|
|
64
|
+
|
|
65
|
+
If it points to a directory, indicated by a trailing slash (\`/\`), then all files that are direct descendants of this directory will be imported. For example: \`images/\`.
|
|
66
|
+
|
|
67
|
+
Directories are **not** imported recursively. If you want to import files from subdirectories and sub-subdirectories, enable the \`recursive\` parameter.
|
|
68
|
+
|
|
69
|
+
If you want to import all files from the root directory, please use \`/\` as the value here. In this case, make sure all your objects belong to a path. If you have objects in the root of your bucket that aren't prefixed with \`/\`, you'll receive an error: \`A client error (NoSuchKey) occurred when calling the GetObject operation: The specified key does not exist.\`
|
|
70
|
+
|
|
71
|
+
You can also use an array of path strings here to import multiple paths in the same <dfn>Robot</dfn>'s <dfn>Step</dfn>.
|
|
72
|
+
`),
|
|
73
|
+
recursive: recursive.describe(`
|
|
74
|
+
Setting this to \`true\` will enable importing files from subfolders and sub-subfolders, etc. of the given path.
|
|
75
|
+
|
|
76
|
+
Please use the pagination parameters \`page_number\` and \`files_per_page\` wisely here.
|
|
77
|
+
`),
|
|
78
|
+
page_number: page_number.describe(`
|
|
79
|
+
The pagination page number. For now, in order to not break backwards compatibility in non-recursive imports, this only works when recursive is set to \`true\`.
|
|
80
|
+
|
|
81
|
+
When doing big imports, make sure no files are added or removed from other scripts within your path, otherwise you might get weird results with the pagination.
|
|
82
|
+
`),
|
|
83
|
+
files_per_page: files_per_page.describe(`
|
|
84
|
+
The pagination page size. This only works when recursive is \`true\` for now, in order to not break backwards compatibility in non-recursive imports.
|
|
85
|
+
`),
|
|
86
|
+
return_file_stubs,
|
|
87
|
+
})
|
|
88
|
+
.strict()
|
|
89
|
+
|
|
90
|
+
export const robotCloudflareImportInstructionsWithHiddenFieldsSchema =
|
|
91
|
+
robotCloudflareImportInstructionsSchema.extend({
|
|
92
|
+
result: z
|
|
93
|
+
.union([z.literal('debug'), robotCloudflareImportInstructionsSchema.shape.result])
|
|
94
|
+
.optional(),
|
|
95
|
+
})
|
|
96
|
+
|
|
97
|
+
export type RobotCloudflareImportInstructions = z.infer<
|
|
98
|
+
typeof robotCloudflareImportInstructionsSchema
|
|
99
|
+
>
|
|
100
|
+
export type RobotCloudflareImportInstructionsWithHiddenFields = z.infer<
|
|
101
|
+
typeof robotCloudflareImportInstructionsWithHiddenFieldsSchema
|
|
102
|
+
>
|
|
103
|
+
|
|
104
|
+
export const interpolatableRobotCloudflareImportInstructionsSchema = interpolateRobot(
|
|
105
|
+
robotCloudflareImportInstructionsSchema,
|
|
106
|
+
)
|
|
107
|
+
export type InterpolatableRobotCloudflareImportInstructions =
|
|
108
|
+
InterpolatableRobotCloudflareImportInstructionsInput
|
|
109
|
+
|
|
110
|
+
export type InterpolatableRobotCloudflareImportInstructionsInput = z.input<
|
|
111
|
+
typeof interpolatableRobotCloudflareImportInstructionsSchema
|
|
112
|
+
>
|
|
113
|
+
|
|
114
|
+
export const interpolatableRobotCloudflareImportInstructionsWithHiddenFieldsSchema =
|
|
115
|
+
interpolateRobot(robotCloudflareImportInstructionsWithHiddenFieldsSchema)
|
|
116
|
+
export type InterpolatableRobotCloudflareImportInstructionsWithHiddenFields = z.infer<
|
|
117
|
+
typeof interpolatableRobotCloudflareImportInstructionsWithHiddenFieldsSchema
|
|
118
|
+
>
|
|
119
|
+
export type InterpolatableRobotCloudflareImportInstructionsWithHiddenFieldsInput = z.input<
|
|
120
|
+
typeof interpolatableRobotCloudflareImportInstructionsWithHiddenFieldsSchema
|
|
121
|
+
>
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
|
+
import {
|
|
5
|
+
cloudflareBase,
|
|
6
|
+
interpolateRobot,
|
|
7
|
+
robotBase,
|
|
8
|
+
robotUse,
|
|
9
|
+
} from './_instructions-primitives.ts'
|
|
10
|
+
|
|
11
|
+
export const meta: RobotMetaInput = {
|
|
12
|
+
allowed_for_url_transform: true,
|
|
13
|
+
bytescount: 6,
|
|
14
|
+
discount_factor: 0.15000150001500018,
|
|
15
|
+
discount_pct: 84.99984999849998,
|
|
16
|
+
example_code: {
|
|
17
|
+
steps: {
|
|
18
|
+
exported: {
|
|
19
|
+
robot: '/cloudflare/store',
|
|
20
|
+
use: ':original',
|
|
21
|
+
credentials: 'YOUR_CLOUDFLARE_CREDENTIALS',
|
|
22
|
+
path: 'my_target_folder/${unique_prefix}/${file.url_name}',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
example_code_description: 'Export uploaded files to `my_target_folder` on cloudflare R2:',
|
|
27
|
+
extended_description: `
|
|
28
|
+
The URL to the result file will be returned in the <dfn>Assembly Status JSON</dfn>.
|
|
29
|
+
`,
|
|
30
|
+
has_small_icon: true,
|
|
31
|
+
minimum_charge: 0,
|
|
32
|
+
output_factor: 1,
|
|
33
|
+
override_lvl1: 'File Exporting',
|
|
34
|
+
purpose_sentence: 'exports encoding results to cloudflare r2 buckets',
|
|
35
|
+
purpose_verb: 'export',
|
|
36
|
+
purpose_word: 'cloudflare',
|
|
37
|
+
purpose_words: 'Export files to Cloudflare R2',
|
|
38
|
+
service_slug: 'file-exporting',
|
|
39
|
+
slot_count: 10,
|
|
40
|
+
title: 'Export files to Cloudflare R2',
|
|
41
|
+
typical_file_size_mb: 1.2,
|
|
42
|
+
typical_file_type: 'file',
|
|
43
|
+
name: 'CloudflareStoreRobot',
|
|
44
|
+
priceFactor: 6.6666,
|
|
45
|
+
queueSlotCount: 10,
|
|
46
|
+
isAllowedForUrlTransform: true,
|
|
47
|
+
trackOutputFileSize: false,
|
|
48
|
+
isInternal: false,
|
|
49
|
+
removeJobResultFilesFromDiskRightAfterStoringOnS3: false,
|
|
50
|
+
stage: 'ga',
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export const robotCloudflareStoreInstructionsSchema = robotBase
|
|
54
|
+
.merge(robotUse)
|
|
55
|
+
.merge(cloudflareBase)
|
|
56
|
+
.extend({
|
|
57
|
+
robot: z.literal('/cloudflare/store'),
|
|
58
|
+
path: z
|
|
59
|
+
.string()
|
|
60
|
+
.default('${unique_prefix}/${file.url_name}')
|
|
61
|
+
.describe(`
|
|
62
|
+
The path at which the file is to be stored. This may include any available [Assembly variables](/docs/topics/assembly-instructions/#assembly-variables). The path must not be a directory.
|
|
63
|
+
`),
|
|
64
|
+
headers: z
|
|
65
|
+
.record(z.string())
|
|
66
|
+
.default({ 'Content-Type': '${file.mime}' })
|
|
67
|
+
.describe(`
|
|
68
|
+
An object containing a list of headers to be set for this file on cloudflare Spaces, such as \`{ FileURL: "\${file.url_name}" }\`. This can also include any available [Assembly Variables](/docs/topics/assembly-instructions/#assembly-variables).
|
|
69
|
+
|
|
70
|
+
Object Metadata can be specified using \`x-amz-meta-*\` headers. Note that these headers [do not support non-ASCII metadata values](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#UserMetadata).
|
|
71
|
+
`),
|
|
72
|
+
sign_urls_for: z
|
|
73
|
+
.number()
|
|
74
|
+
.int()
|
|
75
|
+
.min(0)
|
|
76
|
+
.optional()
|
|
77
|
+
.describe(`
|
|
78
|
+
This parameter provides signed URLs in the result JSON (in the \`signed_ssl_url\` property). The number that you set this parameter to is the URL expiry time in seconds. If this parameter is not used, no URL signing is done.
|
|
79
|
+
`),
|
|
80
|
+
url_prefix: z
|
|
81
|
+
.string()
|
|
82
|
+
.optional()
|
|
83
|
+
.describe(`
|
|
84
|
+
The URL prefix used for accessing files from your Cloudflare R2 bucket. This is typically the custom public URL access host set up in your Cloudflare account.
|
|
85
|
+
`),
|
|
86
|
+
})
|
|
87
|
+
.strict()
|
|
88
|
+
|
|
89
|
+
export const robotCloudflareStoreInstructionsWithHiddenFieldsSchema =
|
|
90
|
+
robotCloudflareStoreInstructionsSchema.extend({
|
|
91
|
+
result: z
|
|
92
|
+
.union([z.literal('debug'), robotCloudflareStoreInstructionsSchema.shape.result])
|
|
93
|
+
.optional(),
|
|
94
|
+
})
|
|
95
|
+
|
|
96
|
+
export type RobotCloudflareStoreInstructions = z.infer<
|
|
97
|
+
typeof robotCloudflareStoreInstructionsSchema
|
|
98
|
+
>
|
|
99
|
+
export type RobotCloudflareStoreInstructionsWithHiddenFields = z.infer<
|
|
100
|
+
typeof robotCloudflareStoreInstructionsWithHiddenFieldsSchema
|
|
101
|
+
>
|
|
102
|
+
|
|
103
|
+
export const interpolatableRobotCloudflareStoreInstructionsSchema = interpolateRobot(
|
|
104
|
+
robotCloudflareStoreInstructionsSchema,
|
|
105
|
+
)
|
|
106
|
+
export type InterpolatableRobotCloudflareStoreInstructions =
|
|
107
|
+
InterpolatableRobotCloudflareStoreInstructionsInput
|
|
108
|
+
|
|
109
|
+
export type InterpolatableRobotCloudflareStoreInstructionsInput = z.input<
|
|
110
|
+
typeof interpolatableRobotCloudflareStoreInstructionsSchema
|
|
111
|
+
>
|
|
112
|
+
|
|
113
|
+
export const interpolatableRobotCloudflareStoreInstructionsWithHiddenFieldsSchema =
|
|
114
|
+
interpolateRobot(robotCloudflareStoreInstructionsWithHiddenFieldsSchema)
|
|
115
|
+
export type InterpolatableRobotCloudflareStoreInstructionsWithHiddenFields = z.infer<
|
|
116
|
+
typeof interpolatableRobotCloudflareStoreInstructionsWithHiddenFieldsSchema
|
|
117
|
+
>
|
|
118
|
+
export type InterpolatableRobotCloudflareStoreInstructionsWithHiddenFieldsInput = z.input<
|
|
119
|
+
typeof interpolatableRobotCloudflareStoreInstructionsWithHiddenFieldsSchema
|
|
120
|
+
>
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
|
+
import {
|
|
5
|
+
digitalOceanBase,
|
|
6
|
+
files_per_page,
|
|
7
|
+
interpolateRobot,
|
|
8
|
+
page_number,
|
|
9
|
+
path,
|
|
10
|
+
recursive,
|
|
11
|
+
return_file_stubs,
|
|
12
|
+
robotBase,
|
|
13
|
+
robotImport,
|
|
14
|
+
} from './_instructions-primitives.ts'
|
|
15
|
+
|
|
16
|
+
export const meta: RobotMetaInput = {
|
|
17
|
+
allowed_for_url_transform: true,
|
|
18
|
+
bytescount: 10,
|
|
19
|
+
discount_factor: 0.1,
|
|
20
|
+
discount_pct: 90,
|
|
21
|
+
example_code: {
|
|
22
|
+
steps: {
|
|
23
|
+
imported: {
|
|
24
|
+
robot: '/digitalocean/import',
|
|
25
|
+
credentials: 'YOUR_DIGITALOCEAN_CREDENTIALS',
|
|
26
|
+
path: 'path/to/files/',
|
|
27
|
+
recursive: true,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
example_code_description:
|
|
32
|
+
'Import files from the `path/to/files` directory and its subdirectories:',
|
|
33
|
+
has_small_icon: true,
|
|
34
|
+
minimum_charge: 0,
|
|
35
|
+
output_factor: 1,
|
|
36
|
+
override_lvl1: 'File Importing',
|
|
37
|
+
purpose_sentence: 'imports whole directories of files from DigitalOcean Spaces',
|
|
38
|
+
purpose_verb: 'import',
|
|
39
|
+
purpose_word: 'DigitalOcean Spaces',
|
|
40
|
+
purpose_words: 'Import files from DigitalOcean Spaces',
|
|
41
|
+
service_slug: 'file-importing',
|
|
42
|
+
slot_count: 20,
|
|
43
|
+
title: 'Import files from DigitalOcean Spaces',
|
|
44
|
+
typical_file_size_mb: 1.2,
|
|
45
|
+
typical_file_type: 'file',
|
|
46
|
+
name: 'DigitalOceanImportRobot',
|
|
47
|
+
priceFactor: 6.6666,
|
|
48
|
+
queueSlotCount: 20,
|
|
49
|
+
isAllowedForUrlTransform: true,
|
|
50
|
+
trackOutputFileSize: false,
|
|
51
|
+
isInternal: false,
|
|
52
|
+
removeJobResultFilesFromDiskRightAfterStoringOnS3: true,
|
|
53
|
+
stage: 'ga',
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export const robotDigitaloceanImportInstructionsSchema = robotBase
|
|
57
|
+
.merge(robotImport)
|
|
58
|
+
.merge(digitalOceanBase)
|
|
59
|
+
.extend({
|
|
60
|
+
robot: z.literal('/digitalocean/import'),
|
|
61
|
+
path: path.describe(`
|
|
62
|
+
The path in your bucket to the specific file or directory. If the path points to a file, only this file will be imported. For example: \`images/avatar.jpg\`.
|
|
63
|
+
|
|
64
|
+
If it points to a directory, indicated by a trailing slash (\`/\`), then all files that are direct descendants of this directory will be imported. For example: \`images/\`.
|
|
65
|
+
|
|
66
|
+
Directories are **not** imported recursively. If you want to import files from subdirectories and sub-subdirectories, enable the \`recursive\` parameter.
|
|
67
|
+
|
|
68
|
+
You can also use an array of path strings here to import multiple paths in the same <dfn>Robot</dfn>'s <dfn>Step</dfn>.
|
|
69
|
+
`),
|
|
70
|
+
recursive: recursive.describe(`
|
|
71
|
+
Setting this to \`true\` will enable importing files from subdirectories and sub-subdirectories (etc.) of the given path.
|
|
72
|
+
|
|
73
|
+
Please use the pagination parameters \`page_number\` and \`files_per_page\` wisely here.
|
|
74
|
+
`),
|
|
75
|
+
page_number: page_number.describe(`
|
|
76
|
+
The pagination page number. For now, in order to not break backwards compatibility in non-recursive imports, this only works when recursive is set to \`true\`.
|
|
77
|
+
|
|
78
|
+
When doing big imports, make sure no files are added or removed from other scripts within your path, otherwise you might get weird results with the pagination.
|
|
79
|
+
`),
|
|
80
|
+
files_per_page: files_per_page.describe(`
|
|
81
|
+
The pagination page size. This only works when recursive is \`true\` for now, in order to not break backwards compatibility in non-recursive imports.
|
|
82
|
+
`),
|
|
83
|
+
return_file_stubs,
|
|
84
|
+
})
|
|
85
|
+
.strict()
|
|
86
|
+
|
|
87
|
+
export const robotDigitaloceanImportInstructionsWithHiddenFieldsSchema =
|
|
88
|
+
robotDigitaloceanImportInstructionsSchema.extend({
|
|
89
|
+
result: z
|
|
90
|
+
.union([z.literal('debug'), robotDigitaloceanImportInstructionsSchema.shape.result])
|
|
91
|
+
.optional(),
|
|
92
|
+
})
|
|
93
|
+
|
|
94
|
+
export type RobotDigitaloceanImportInstructions = z.infer<
|
|
95
|
+
typeof robotDigitaloceanImportInstructionsSchema
|
|
96
|
+
>
|
|
97
|
+
export type RobotDigitaloceanImportInstructionsWithHiddenFields = z.infer<
|
|
98
|
+
typeof robotDigitaloceanImportInstructionsWithHiddenFieldsSchema
|
|
99
|
+
>
|
|
100
|
+
|
|
101
|
+
export const interpolatableRobotDigitaloceanImportInstructionsSchema = interpolateRobot(
|
|
102
|
+
robotDigitaloceanImportInstructionsSchema,
|
|
103
|
+
)
|
|
104
|
+
export type InterpolatableRobotDigitaloceanImportInstructions =
|
|
105
|
+
InterpolatableRobotDigitaloceanImportInstructionsInput
|
|
106
|
+
|
|
107
|
+
export type InterpolatableRobotDigitaloceanImportInstructionsInput = z.input<
|
|
108
|
+
typeof interpolatableRobotDigitaloceanImportInstructionsSchema
|
|
109
|
+
>
|
|
110
|
+
|
|
111
|
+
export const interpolatableRobotDigitaloceanImportInstructionsWithHiddenFieldsSchema =
|
|
112
|
+
interpolateRobot(robotDigitaloceanImportInstructionsWithHiddenFieldsSchema)
|
|
113
|
+
export type InterpolatableRobotDigitaloceanImportInstructionsWithHiddenFields = z.infer<
|
|
114
|
+
typeof interpolatableRobotDigitaloceanImportInstructionsWithHiddenFieldsSchema
|
|
115
|
+
>
|
|
116
|
+
export type InterpolatableRobotDigitaloceanImportInstructionsWithHiddenFieldsInput = z.input<
|
|
117
|
+
typeof interpolatableRobotDigitaloceanImportInstructionsWithHiddenFieldsSchema
|
|
118
|
+
>
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
|
+
import {
|
|
5
|
+
digitalOceanBase,
|
|
6
|
+
interpolateRobot,
|
|
7
|
+
robotBase,
|
|
8
|
+
robotUse,
|
|
9
|
+
} from './_instructions-primitives.ts'
|
|
10
|
+
|
|
11
|
+
export const meta: RobotMetaInput = {
|
|
12
|
+
allowed_for_url_transform: true,
|
|
13
|
+
bytescount: 6,
|
|
14
|
+
discount_factor: 0.15000150001500018,
|
|
15
|
+
discount_pct: 84.99984999849998,
|
|
16
|
+
example_code: {
|
|
17
|
+
steps: {
|
|
18
|
+
exported: {
|
|
19
|
+
robot: '/digitalocean/store',
|
|
20
|
+
use: ':original',
|
|
21
|
+
credentials: 'YOUR_DIGITALOCEAN_CREDENTIALS',
|
|
22
|
+
path: 'my_target_folder/${unique_prefix}/${file.url_name}',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
example_code_description: 'Export uploaded files to `my_target_folder` on DigitalOcean Spaces:',
|
|
27
|
+
has_small_icon: true,
|
|
28
|
+
minimum_charge: 0,
|
|
29
|
+
output_factor: 1,
|
|
30
|
+
override_lvl1: 'File Exporting',
|
|
31
|
+
purpose_sentence: 'exports encoding results to DigitalOcean Spaces',
|
|
32
|
+
purpose_verb: 'export',
|
|
33
|
+
purpose_word: 'DigitalOcean Spaces',
|
|
34
|
+
purpose_words: 'Export files to DigitalOcean Spaces',
|
|
35
|
+
service_slug: 'file-exporting',
|
|
36
|
+
slot_count: 10,
|
|
37
|
+
title: 'Export files to DigitalOcean Spaces',
|
|
38
|
+
typical_file_size_mb: 1.2,
|
|
39
|
+
typical_file_type: 'file',
|
|
40
|
+
name: 'DigitalOceanStoreRobot',
|
|
41
|
+
priceFactor: 6.6666,
|
|
42
|
+
queueSlotCount: 10,
|
|
43
|
+
isAllowedForUrlTransform: true,
|
|
44
|
+
trackOutputFileSize: false,
|
|
45
|
+
isInternal: false,
|
|
46
|
+
removeJobResultFilesFromDiskRightAfterStoringOnS3: false,
|
|
47
|
+
stage: 'ga',
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export const robotDigitaloceanStoreInstructionsSchema = robotBase
|
|
51
|
+
.merge(robotUse)
|
|
52
|
+
.merge(digitalOceanBase)
|
|
53
|
+
.extend({
|
|
54
|
+
robot: z.literal('/digitalocean/store'),
|
|
55
|
+
path: z
|
|
56
|
+
.string()
|
|
57
|
+
.default('${unique_prefix}/${file.url_name}')
|
|
58
|
+
.describe(`
|
|
59
|
+
The path at which the file is to be stored. This may include any available [Assembly variables](/docs/topics/assembly-instructions/#assembly-variables). The path must not be a directory.
|
|
60
|
+
`),
|
|
61
|
+
url_prefix: z
|
|
62
|
+
.string()
|
|
63
|
+
.default('https://{space}.{region}.digitaloceanspaces.com/')
|
|
64
|
+
.describe(`
|
|
65
|
+
The URL prefix used for the returned URL, such as \`"https://my.cdn.com/some/path"\`.
|
|
66
|
+
`),
|
|
67
|
+
acl: z
|
|
68
|
+
.enum(['private', 'public-read'])
|
|
69
|
+
.default('public-read')
|
|
70
|
+
.describe(`
|
|
71
|
+
The permissions used for this file.
|
|
72
|
+
`),
|
|
73
|
+
headers: z
|
|
74
|
+
.record(z.string())
|
|
75
|
+
.default({ 'Content-Type': '${file.mime}' })
|
|
76
|
+
.describe(`
|
|
77
|
+
An object containing a list of headers to be set for this file on DigitalOcean Spaces, such as \`{ FileURL: "\${file.url_name}" }\`. This can also include any available [Assembly Variables](/docs/topics/assembly-instructions/#assembly-variables).
|
|
78
|
+
|
|
79
|
+
[Here](https://developers.digitalocean.com/documentation/spaces/#object) you can find a list of available headers.
|
|
80
|
+
|
|
81
|
+
Object Metadata can be specified using \`x-amz-meta-*\` headers. Note that these headers [do not support non-ASCII metadata values](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#UserMetadata).
|
|
82
|
+
`),
|
|
83
|
+
sign_urls_for: z
|
|
84
|
+
.number()
|
|
85
|
+
.int()
|
|
86
|
+
.min(0)
|
|
87
|
+
.optional()
|
|
88
|
+
.describe(`
|
|
89
|
+
This parameter provides signed URLs in the result JSON (in the \`signed_ssl_url\` property). The number that you set this parameter to is the URL expiry time in seconds. If this parameter is not used, no URL signing is done.
|
|
90
|
+
`),
|
|
91
|
+
})
|
|
92
|
+
.strict()
|
|
93
|
+
|
|
94
|
+
export const robotDigitaloceanStoreInstructionsWithHiddenFieldsSchema =
|
|
95
|
+
robotDigitaloceanStoreInstructionsSchema.extend({
|
|
96
|
+
result: z
|
|
97
|
+
.union([z.literal('debug'), robotDigitaloceanStoreInstructionsSchema.shape.result])
|
|
98
|
+
.optional(),
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
export type RobotDigitaloceanStoreInstructions = z.infer<
|
|
102
|
+
typeof robotDigitaloceanStoreInstructionsSchema
|
|
103
|
+
>
|
|
104
|
+
export type RobotDigitaloceanStoreInstructionsWithHiddenFields = z.infer<
|
|
105
|
+
typeof robotDigitaloceanStoreInstructionsWithHiddenFieldsSchema
|
|
106
|
+
>
|
|
107
|
+
|
|
108
|
+
export const interpolatableRobotDigitaloceanStoreInstructionsSchema = interpolateRobot(
|
|
109
|
+
robotDigitaloceanStoreInstructionsSchema,
|
|
110
|
+
)
|
|
111
|
+
export type InterpolatableRobotDigitaloceanStoreInstructions =
|
|
112
|
+
InterpolatableRobotDigitaloceanStoreInstructionsInput
|
|
113
|
+
|
|
114
|
+
export type InterpolatableRobotDigitaloceanStoreInstructionsInput = z.input<
|
|
115
|
+
typeof interpolatableRobotDigitaloceanStoreInstructionsSchema
|
|
116
|
+
>
|
|
117
|
+
|
|
118
|
+
export const interpolatableRobotDigitaloceanStoreInstructionsWithHiddenFieldsSchema =
|
|
119
|
+
interpolateRobot(robotDigitaloceanStoreInstructionsWithHiddenFieldsSchema)
|
|
120
|
+
export type InterpolatableRobotDigitaloceanStoreInstructionsWithHiddenFields = z.infer<
|
|
121
|
+
typeof interpolatableRobotDigitaloceanStoreInstructionsWithHiddenFieldsSchema
|
|
122
|
+
>
|
|
123
|
+
export type InterpolatableRobotDigitaloceanStoreInstructionsWithHiddenFieldsInput = z.input<
|
|
124
|
+
typeof interpolatableRobotDigitaloceanStoreInstructionsWithHiddenFieldsSchema
|
|
125
|
+
>
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
|
+
import { interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
|
|
5
|
+
|
|
6
|
+
export const meta: RobotMetaInput = {
|
|
7
|
+
allowed_for_url_transform: true,
|
|
8
|
+
bytescount: 1,
|
|
9
|
+
discount_factor: 1,
|
|
10
|
+
discount_pct: 0,
|
|
11
|
+
example_code_description:
|
|
12
|
+
'Auto-rotate individual pages of a documents to the correction orientation:',
|
|
13
|
+
minimum_charge: 2097152,
|
|
14
|
+
output_factor: 1,
|
|
15
|
+
override_lvl1: 'Document Processing',
|
|
16
|
+
purpose_sentence: 'corrects the orientation of documents',
|
|
17
|
+
purpose_verb: 'auto-rotate',
|
|
18
|
+
purpose_word: 'auto-rotate documents',
|
|
19
|
+
purpose_words: 'Auto-rotate documents',
|
|
20
|
+
service_slug: 'document-processing',
|
|
21
|
+
slot_count: 10,
|
|
22
|
+
title: 'Auto-rotate documents to the correct orientation',
|
|
23
|
+
typical_file_size_mb: 0.8,
|
|
24
|
+
typical_file_type: 'document',
|
|
25
|
+
name: 'DocumentAutorotateRobot',
|
|
26
|
+
priceFactor: 1,
|
|
27
|
+
queueSlotCount: 10,
|
|
28
|
+
minimumCharge: 2097152,
|
|
29
|
+
isAllowedForUrlTransform: true,
|
|
30
|
+
trackOutputFileSize: true,
|
|
31
|
+
isInternal: false,
|
|
32
|
+
removeJobResultFilesFromDiskRightAfterStoringOnS3: false,
|
|
33
|
+
stage: 'ga',
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export const robotDocumentAutorotateInstructionsSchema = robotBase
|
|
37
|
+
.merge(robotUse)
|
|
38
|
+
.extend({
|
|
39
|
+
robot: z.literal('/document/autorotate'),
|
|
40
|
+
})
|
|
41
|
+
.strict()
|
|
42
|
+
|
|
43
|
+
export const robotDocumentAutorotateInstructionsWithHiddenFieldsSchema =
|
|
44
|
+
robotDocumentAutorotateInstructionsSchema.extend({
|
|
45
|
+
result: z
|
|
46
|
+
.union([z.literal('debug'), robotDocumentAutorotateInstructionsSchema.shape.result])
|
|
47
|
+
.optional(),
|
|
48
|
+
})
|
|
49
|
+
|
|
50
|
+
export type RobotDocumentAutorotateInstructions = z.infer<
|
|
51
|
+
typeof robotDocumentAutorotateInstructionsSchema
|
|
52
|
+
>
|
|
53
|
+
export type RobotDocumentAutorotateInstructionsWithHiddenFields = z.infer<
|
|
54
|
+
typeof robotDocumentAutorotateInstructionsWithHiddenFieldsSchema
|
|
55
|
+
>
|
|
56
|
+
|
|
57
|
+
export const interpolatableRobotDocumentAutorotateInstructionsSchema = interpolateRobot(
|
|
58
|
+
robotDocumentAutorotateInstructionsSchema,
|
|
59
|
+
)
|
|
60
|
+
export type InterpolatableRobotDocumentAutorotateInstructions =
|
|
61
|
+
InterpolatableRobotDocumentAutorotateInstructionsInput
|
|
62
|
+
|
|
63
|
+
export type InterpolatableRobotDocumentAutorotateInstructionsInput = z.input<
|
|
64
|
+
typeof interpolatableRobotDocumentAutorotateInstructionsSchema
|
|
65
|
+
>
|
|
66
|
+
|
|
67
|
+
export const interpolatableRobotDocumentAutorotateInstructionsWithHiddenFieldsSchema =
|
|
68
|
+
interpolateRobot(robotDocumentAutorotateInstructionsWithHiddenFieldsSchema)
|
|
69
|
+
export type InterpolatableRobotDocumentAutorotateInstructionsWithHiddenFields = z.infer<
|
|
70
|
+
typeof interpolatableRobotDocumentAutorotateInstructionsWithHiddenFieldsSchema
|
|
71
|
+
>
|
|
72
|
+
export type InterpolatableRobotDocumentAutorotateInstructionsWithHiddenFieldsInput = z.input<
|
|
73
|
+
typeof interpolatableRobotDocumentAutorotateInstructionsWithHiddenFieldsSchema
|
|
74
|
+
>
|