@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,143 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
|
+
import { azureBase, interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
|
|
5
|
+
|
|
6
|
+
export const meta: RobotMetaInput = {
|
|
7
|
+
allowed_for_url_transform: true,
|
|
8
|
+
bytescount: 6,
|
|
9
|
+
discount_factor: 0.15000150001500018,
|
|
10
|
+
discount_pct: 84.99984999849998,
|
|
11
|
+
example_code: {
|
|
12
|
+
steps: {
|
|
13
|
+
exported: {
|
|
14
|
+
robot: '/azure/store',
|
|
15
|
+
use: ':original',
|
|
16
|
+
credentials: 'YOUR_AZURE_CREDENTIALS',
|
|
17
|
+
path: 'my_target_folder/${unique_prefix}/${file.url_name}',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
example_code_description: 'Export uploaded files to `my_target_folder` on Azure:',
|
|
22
|
+
has_small_icon: true,
|
|
23
|
+
minimum_charge: 0,
|
|
24
|
+
output_factor: 1,
|
|
25
|
+
override_lvl1: 'File Exporting',
|
|
26
|
+
purpose_sentence: 'exports encoding results to Microsoft Azure',
|
|
27
|
+
purpose_verb: 'export',
|
|
28
|
+
purpose_word: 'Azure',
|
|
29
|
+
purpose_words: 'Export files to Microsoft Azure',
|
|
30
|
+
service_slug: 'file-exporting',
|
|
31
|
+
slot_count: 10,
|
|
32
|
+
title: 'Export files to Microsoft Azure',
|
|
33
|
+
typical_file_size_mb: 1.2,
|
|
34
|
+
typical_file_type: 'file',
|
|
35
|
+
name: 'AzureStoreRobot',
|
|
36
|
+
priceFactor: 6.6666,
|
|
37
|
+
queueSlotCount: 10,
|
|
38
|
+
isAllowedForUrlTransform: true,
|
|
39
|
+
trackOutputFileSize: false,
|
|
40
|
+
isInternal: false,
|
|
41
|
+
removeJobResultFilesFromDiskRightAfterStoringOnS3: false,
|
|
42
|
+
stage: 'ga',
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export const robotAzureStoreInstructionsSchema = robotBase
|
|
46
|
+
.merge(robotUse)
|
|
47
|
+
.merge(azureBase)
|
|
48
|
+
.extend({
|
|
49
|
+
robot: z.literal('/azure/store'),
|
|
50
|
+
path: z
|
|
51
|
+
.string()
|
|
52
|
+
.default('${unique_prefix}/${file.url_name}')
|
|
53
|
+
.describe(`
|
|
54
|
+
The path at which the file is to be stored. This may include any available [Assembly variables](/docs/topics/assembly-instructions/#assembly-variables).
|
|
55
|
+
`),
|
|
56
|
+
content_type: z
|
|
57
|
+
.string()
|
|
58
|
+
.optional()
|
|
59
|
+
.describe(`
|
|
60
|
+
The content type with which to store the file. By default this will be guessed by Azure.
|
|
61
|
+
`),
|
|
62
|
+
content_encoding: z
|
|
63
|
+
.string()
|
|
64
|
+
.optional()
|
|
65
|
+
.describe(`
|
|
66
|
+
The content encoding with which to store the file. By default this will be guessed by Azure.
|
|
67
|
+
`),
|
|
68
|
+
content_language: z
|
|
69
|
+
.string()
|
|
70
|
+
.optional()
|
|
71
|
+
.describe(`
|
|
72
|
+
The content language with which to store the file. By default this will be guessed by Azure.
|
|
73
|
+
`),
|
|
74
|
+
content_disposition: z
|
|
75
|
+
.string()
|
|
76
|
+
.optional()
|
|
77
|
+
.describe(`
|
|
78
|
+
The content disposition with which to store the file. By default this will be guessed by Azure.
|
|
79
|
+
`),
|
|
80
|
+
cache_control: z
|
|
81
|
+
.string()
|
|
82
|
+
.optional()
|
|
83
|
+
.describe(`
|
|
84
|
+
The cache control header with which to store the file.
|
|
85
|
+
`),
|
|
86
|
+
// TODO: verify if this is correct.
|
|
87
|
+
metadata: z
|
|
88
|
+
.record(z.string())
|
|
89
|
+
.default({})
|
|
90
|
+
.describe(`
|
|
91
|
+
A JavaScript object containing a list of metadata to be set for this file on Azure, such as \`{ FileURL: "\${file.url_name}" }\`. This can also include any available [Assembly variables](/docs/topics/assembly-instructions/#assembly-variables).
|
|
92
|
+
`),
|
|
93
|
+
sas_expires_in: z
|
|
94
|
+
.number()
|
|
95
|
+
.int()
|
|
96
|
+
.min(0)
|
|
97
|
+
.optional()
|
|
98
|
+
.describe(`
|
|
99
|
+
Set this to a number to enable shared access signatures for your stored object. This reflects the number of seconds that the signature will be valid for once the object is stored. Enabling this will attach the shared access signature (SAS) to the result URL of your object.
|
|
100
|
+
`),
|
|
101
|
+
sas_permissions: z
|
|
102
|
+
.string()
|
|
103
|
+
.regex(/^[rdw]+$/)
|
|
104
|
+
.min(0)
|
|
105
|
+
.max(3)
|
|
106
|
+
.optional()
|
|
107
|
+
.describe(`
|
|
108
|
+
Set this to a combination of \`r\` (read), \`w\` (write) and \`d\` (delete) for your shared access signatures (SAS) permissions.
|
|
109
|
+
`),
|
|
110
|
+
})
|
|
111
|
+
.strict()
|
|
112
|
+
|
|
113
|
+
export const robotAzureStoreInstructionsWithHiddenFieldsSchema =
|
|
114
|
+
robotAzureStoreInstructionsSchema.extend({
|
|
115
|
+
result: z
|
|
116
|
+
.union([z.literal('debug'), robotAzureStoreInstructionsSchema.shape.result])
|
|
117
|
+
.optional(),
|
|
118
|
+
})
|
|
119
|
+
|
|
120
|
+
export type RobotAzureStoreInstructions = z.infer<typeof robotAzureStoreInstructionsSchema>
|
|
121
|
+
export type RobotAzureStoreInstructionsWithHiddenFields = z.infer<
|
|
122
|
+
typeof robotAzureStoreInstructionsWithHiddenFieldsSchema
|
|
123
|
+
>
|
|
124
|
+
|
|
125
|
+
export const interpolatableRobotAzureStoreInstructionsSchema = interpolateRobot(
|
|
126
|
+
robotAzureStoreInstructionsSchema,
|
|
127
|
+
)
|
|
128
|
+
export type InterpolatableRobotAzureStoreInstructions =
|
|
129
|
+
InterpolatableRobotAzureStoreInstructionsInput
|
|
130
|
+
|
|
131
|
+
export type InterpolatableRobotAzureStoreInstructionsInput = z.input<
|
|
132
|
+
typeof interpolatableRobotAzureStoreInstructionsSchema
|
|
133
|
+
>
|
|
134
|
+
|
|
135
|
+
export const interpolatableRobotAzureStoreInstructionsWithHiddenFieldsSchema = interpolateRobot(
|
|
136
|
+
robotAzureStoreInstructionsWithHiddenFieldsSchema,
|
|
137
|
+
)
|
|
138
|
+
export type InterpolatableRobotAzureStoreInstructionsWithHiddenFields = z.infer<
|
|
139
|
+
typeof interpolatableRobotAzureStoreInstructionsWithHiddenFieldsSchema
|
|
140
|
+
>
|
|
141
|
+
export type InterpolatableRobotAzureStoreInstructionsWithHiddenFieldsInput = z.input<
|
|
142
|
+
typeof interpolatableRobotAzureStoreInstructionsWithHiddenFieldsSchema
|
|
143
|
+
>
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
|
+
import {
|
|
5
|
+
backblazeBase,
|
|
6
|
+
files_per_page,
|
|
7
|
+
interpolateRobot,
|
|
8
|
+
path,
|
|
9
|
+
recursive,
|
|
10
|
+
robotBase,
|
|
11
|
+
robotImport,
|
|
12
|
+
} from './_instructions-primitives.ts'
|
|
13
|
+
|
|
14
|
+
export const meta: RobotMetaInput = {
|
|
15
|
+
allowed_for_url_transform: true,
|
|
16
|
+
bytescount: 10,
|
|
17
|
+
discount_factor: 0.1,
|
|
18
|
+
discount_pct: 90,
|
|
19
|
+
example_code: {
|
|
20
|
+
steps: {
|
|
21
|
+
imported: {
|
|
22
|
+
robot: '/backblaze/import',
|
|
23
|
+
credentials: 'YOUR_BACKBLAZE_CREDENTIALS',
|
|
24
|
+
path: 'path/to/files/',
|
|
25
|
+
recursive: true,
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
example_code_description:
|
|
30
|
+
'Import files from the `path/to/files` directory and its subdirectories:',
|
|
31
|
+
has_small_icon: true,
|
|
32
|
+
minimum_charge: 0,
|
|
33
|
+
output_factor: 1,
|
|
34
|
+
override_lvl1: 'File Importing',
|
|
35
|
+
purpose_sentence: 'imports whole directories of files from your Backblaze bucket',
|
|
36
|
+
purpose_verb: 'import',
|
|
37
|
+
purpose_word: 'Backblaze',
|
|
38
|
+
purpose_words: 'Import files from Backblaze',
|
|
39
|
+
requires_credentials: true,
|
|
40
|
+
service_slug: 'file-importing',
|
|
41
|
+
slot_count: 20,
|
|
42
|
+
title: 'Import files from Backblaze',
|
|
43
|
+
typical_file_size_mb: 1.2,
|
|
44
|
+
typical_file_type: 'file',
|
|
45
|
+
name: 'BackblazeImportRobot',
|
|
46
|
+
priceFactor: 6.6666,
|
|
47
|
+
queueSlotCount: 20,
|
|
48
|
+
isAllowedForUrlTransform: true,
|
|
49
|
+
trackOutputFileSize: false,
|
|
50
|
+
isInternal: false,
|
|
51
|
+
removeJobResultFilesFromDiskRightAfterStoringOnS3: true,
|
|
52
|
+
stage: 'ga',
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export const robotBackblazeImportInstructionsSchema = robotBase
|
|
56
|
+
.merge(robotImport)
|
|
57
|
+
.merge(backblazeBase)
|
|
58
|
+
.extend({
|
|
59
|
+
robot: z.literal('/backblaze/import'),
|
|
60
|
+
path: path.describe(`
|
|
61
|
+
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\`.
|
|
62
|
+
|
|
63
|
+
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/\`.
|
|
64
|
+
|
|
65
|
+
Directories are **not** imported recursively. If you want to import files from subdirectories and sub-subdirectories, enable the \`recursive\` parameter.
|
|
66
|
+
|
|
67
|
+
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 a 404 \`BACKBLAZE_IMPORT_NOT_FOUND\` error.
|
|
68
|
+
|
|
69
|
+
You can also use an array of path strings here to import multiple paths in the same <dfn>Robot</dfn>'s <dfn>Step</dfn>.
|
|
70
|
+
`),
|
|
71
|
+
recursive: recursive.describe(`
|
|
72
|
+
Setting this to \`true\` will enable importing files from subdirectories and sub-subdirectories (etc.) of the given path.
|
|
73
|
+
|
|
74
|
+
Please use the pagination parameters \`start_file_name\` and \`files_per_page\` wisely here.
|
|
75
|
+
`),
|
|
76
|
+
start_file_name: z
|
|
77
|
+
.string()
|
|
78
|
+
.default('')
|
|
79
|
+
.describe(`
|
|
80
|
+
The name of the last file from the previous paging call. This tells the <dfn>Robot</dfn> to ignore all files up to and including this file.
|
|
81
|
+
`),
|
|
82
|
+
files_per_page: files_per_page.describe(`
|
|
83
|
+
The pagination page size. This only works when recursive is \`true\` for now, in order to not break backwards compatibility in non-recursive imports.
|
|
84
|
+
`),
|
|
85
|
+
})
|
|
86
|
+
.strict()
|
|
87
|
+
|
|
88
|
+
export const robotBackblazeImportInstructionsWithHiddenFieldsSchema =
|
|
89
|
+
robotBackblazeImportInstructionsSchema.extend({
|
|
90
|
+
result: z
|
|
91
|
+
.union([z.literal('debug'), robotBackblazeImportInstructionsSchema.shape.result])
|
|
92
|
+
.optional(),
|
|
93
|
+
})
|
|
94
|
+
|
|
95
|
+
export type RobotBackblazeImportInstructions = z.infer<
|
|
96
|
+
typeof robotBackblazeImportInstructionsSchema
|
|
97
|
+
>
|
|
98
|
+
export type RobotBackblazeImportInstructionsWithHiddenFields = z.infer<
|
|
99
|
+
typeof robotBackblazeImportInstructionsWithHiddenFieldsSchema
|
|
100
|
+
>
|
|
101
|
+
|
|
102
|
+
export const interpolatableRobotBackblazeImportInstructionsSchema = interpolateRobot(
|
|
103
|
+
robotBackblazeImportInstructionsSchema,
|
|
104
|
+
)
|
|
105
|
+
export type InterpolatableRobotBackblazeImportInstructions =
|
|
106
|
+
InterpolatableRobotBackblazeImportInstructionsInput
|
|
107
|
+
|
|
108
|
+
export type InterpolatableRobotBackblazeImportInstructionsInput = z.input<
|
|
109
|
+
typeof interpolatableRobotBackblazeImportInstructionsSchema
|
|
110
|
+
>
|
|
111
|
+
|
|
112
|
+
export const interpolatableRobotBackblazeImportInstructionsWithHiddenFieldsSchema =
|
|
113
|
+
interpolateRobot(robotBackblazeImportInstructionsWithHiddenFieldsSchema)
|
|
114
|
+
export type InterpolatableRobotBackblazeImportInstructionsWithHiddenFields = z.infer<
|
|
115
|
+
typeof interpolatableRobotBackblazeImportInstructionsWithHiddenFieldsSchema
|
|
116
|
+
>
|
|
117
|
+
export type InterpolatableRobotBackblazeImportInstructionsWithHiddenFieldsInput = z.input<
|
|
118
|
+
typeof interpolatableRobotBackblazeImportInstructionsWithHiddenFieldsSchema
|
|
119
|
+
>
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
|
+
import { backblazeBase, interpolateRobot, robotBase, robotUse } from './_instructions-primitives.ts'
|
|
5
|
+
|
|
6
|
+
export const meta: RobotMetaInput = {
|
|
7
|
+
allowed_for_url_transform: true,
|
|
8
|
+
bytescount: 6,
|
|
9
|
+
discount_factor: 0.15000150001500018,
|
|
10
|
+
discount_pct: 84.99984999849998,
|
|
11
|
+
example_code: {
|
|
12
|
+
steps: {
|
|
13
|
+
exported: {
|
|
14
|
+
robot: '/backblaze/store',
|
|
15
|
+
use: ':original',
|
|
16
|
+
credentials: 'YOUR_BACKBLAZE_CREDENTIALS',
|
|
17
|
+
path: 'my_target_folder/${unique_prefix}/${file.url_name}',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
example_code_description: 'Export uploaded files to `my_target_folder` on Backblaze:',
|
|
22
|
+
extended_description: `
|
|
23
|
+
## Access
|
|
24
|
+
|
|
25
|
+
Your Backblaze buckets need to have the \`listBuckets\` (to obtain a bucket ID from a bucket name), \`writeFiles\` and \`listFiles\` permissions.
|
|
26
|
+
`,
|
|
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 Backblaze',
|
|
32
|
+
purpose_verb: 'export',
|
|
33
|
+
purpose_word: 'Backblaze',
|
|
34
|
+
purpose_words: 'Export files to Backblaze',
|
|
35
|
+
service_slug: 'file-exporting',
|
|
36
|
+
slot_count: 10,
|
|
37
|
+
title: 'Export files to Backblaze',
|
|
38
|
+
typical_file_size_mb: 1.2,
|
|
39
|
+
typical_file_type: 'file',
|
|
40
|
+
name: 'BackblazeStoreRobot',
|
|
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 robotBackblazeStoreInstructionsSchema = robotBase
|
|
51
|
+
.merge(robotUse)
|
|
52
|
+
.merge(backblazeBase)
|
|
53
|
+
.extend({
|
|
54
|
+
robot: z.literal('/backblaze/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).
|
|
60
|
+
`),
|
|
61
|
+
headers: z
|
|
62
|
+
.record(z.string())
|
|
63
|
+
.default({})
|
|
64
|
+
.describe(`
|
|
65
|
+
An object containing a list of headers to be set for this file on backblaze, such as \`{ FileURL: "\${file.url_name}" }\`. This can also include any available [Assembly Variables](/docs/topics/assembly-instructions/#assembly-variables).
|
|
66
|
+
|
|
67
|
+
[Here](https://www.backblaze.com/b2/docs/b2_upload_file.html) you can find a list of available headers.
|
|
68
|
+
|
|
69
|
+
Object Metadata can be specified using \`X-Bz-Info-*\` headers.
|
|
70
|
+
`),
|
|
71
|
+
})
|
|
72
|
+
.strict()
|
|
73
|
+
|
|
74
|
+
export const robotBackblazeStoreInstructionsWithHiddenFieldsSchema =
|
|
75
|
+
robotBackblazeStoreInstructionsSchema.extend({
|
|
76
|
+
result: z
|
|
77
|
+
.union([z.literal('debug'), robotBackblazeStoreInstructionsSchema.shape.result])
|
|
78
|
+
.optional(),
|
|
79
|
+
})
|
|
80
|
+
|
|
81
|
+
export type RobotBackblazeStoreInstructions = z.infer<typeof robotBackblazeStoreInstructionsSchema>
|
|
82
|
+
export type RobotBackblazeStoreInstructionsWithHiddenFields = z.infer<
|
|
83
|
+
typeof robotBackblazeStoreInstructionsWithHiddenFieldsSchema
|
|
84
|
+
>
|
|
85
|
+
|
|
86
|
+
export const interpolatableRobotBackblazeStoreInstructionsSchema = interpolateRobot(
|
|
87
|
+
robotBackblazeStoreInstructionsSchema,
|
|
88
|
+
)
|
|
89
|
+
export type InterpolatableRobotBackblazeStoreInstructions =
|
|
90
|
+
InterpolatableRobotBackblazeStoreInstructionsInput
|
|
91
|
+
|
|
92
|
+
export type InterpolatableRobotBackblazeStoreInstructionsInput = z.input<
|
|
93
|
+
typeof interpolatableRobotBackblazeStoreInstructionsSchema
|
|
94
|
+
>
|
|
95
|
+
|
|
96
|
+
export const interpolatableRobotBackblazeStoreInstructionsWithHiddenFieldsSchema = interpolateRobot(
|
|
97
|
+
robotBackblazeStoreInstructionsWithHiddenFieldsSchema,
|
|
98
|
+
)
|
|
99
|
+
export type InterpolatableRobotBackblazeStoreInstructionsWithHiddenFields = z.infer<
|
|
100
|
+
typeof interpolatableRobotBackblazeStoreInstructionsWithHiddenFieldsSchema
|
|
101
|
+
>
|
|
102
|
+
export type InterpolatableRobotBackblazeStoreInstructionsWithHiddenFieldsInput = z.input<
|
|
103
|
+
typeof interpolatableRobotBackblazeStoreInstructionsWithHiddenFieldsSchema
|
|
104
|
+
>
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
|
+
import {
|
|
5
|
+
cloudfilesBase,
|
|
6
|
+
files_per_page,
|
|
7
|
+
interpolateRobot,
|
|
8
|
+
page_number,
|
|
9
|
+
path,
|
|
10
|
+
robotBase,
|
|
11
|
+
robotImport,
|
|
12
|
+
} from './_instructions-primitives.ts'
|
|
13
|
+
|
|
14
|
+
export const meta: RobotMetaInput = {
|
|
15
|
+
allowed_for_url_transform: true,
|
|
16
|
+
bytescount: 10,
|
|
17
|
+
discount_factor: 0.1,
|
|
18
|
+
discount_pct: 90,
|
|
19
|
+
example_code: {
|
|
20
|
+
steps: {
|
|
21
|
+
imported: {
|
|
22
|
+
robot: '/cloudfiles/import',
|
|
23
|
+
credentials: 'YOUR_CLOUDFILES_CREDENTIALS',
|
|
24
|
+
path: 'path/to/files/',
|
|
25
|
+
recursive: true,
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
example_code_description:
|
|
30
|
+
'Import files from the `path/to/files` directory and its subdirectories:',
|
|
31
|
+
minimum_charge: 0,
|
|
32
|
+
output_factor: 1,
|
|
33
|
+
override_lvl1: 'File Importing',
|
|
34
|
+
purpose_sentence: 'imports whole directories of files from your Rackspace Cloud Files container',
|
|
35
|
+
purpose_verb: 'import',
|
|
36
|
+
purpose_word: 'Rackspace Cloud Files',
|
|
37
|
+
purpose_words: 'Import files from Rackspace Cloud Files',
|
|
38
|
+
requires_credentials: true,
|
|
39
|
+
service_slug: 'file-importing',
|
|
40
|
+
slot_count: 20,
|
|
41
|
+
title: 'Import files from Rackspace Cloud Files',
|
|
42
|
+
typical_file_size_mb: 1.2,
|
|
43
|
+
typical_file_type: 'file',
|
|
44
|
+
name: 'CloudfilesImportRobot',
|
|
45
|
+
priceFactor: 6.6666,
|
|
46
|
+
queueSlotCount: 20,
|
|
47
|
+
isAllowedForUrlTransform: true,
|
|
48
|
+
trackOutputFileSize: false,
|
|
49
|
+
isInternal: false,
|
|
50
|
+
removeJobResultFilesFromDiskRightAfterStoringOnS3: true,
|
|
51
|
+
stage: 'ga',
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export const robotCloudfilesImportInstructionsSchema = robotBase
|
|
55
|
+
.merge(robotImport)
|
|
56
|
+
.merge(cloudfilesBase)
|
|
57
|
+
.extend({
|
|
58
|
+
robot: z.literal('/cloudfiles/import'),
|
|
59
|
+
path: path.describe(`
|
|
60
|
+
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\`.
|
|
61
|
+
|
|
62
|
+
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/\`.
|
|
63
|
+
|
|
64
|
+
Directories are **not** imported recursively. If you want to import files from subdirectories and sub-subdirectories, enable the \`recursive\` parameter.
|
|
65
|
+
|
|
66
|
+
You can also use an array of path strings here to import multiple paths in the same <dfn>Robot</dfn>'s <dfn>Step</dfn>.
|
|
67
|
+
`),
|
|
68
|
+
recursive: z
|
|
69
|
+
.boolean()
|
|
70
|
+
.default(false)
|
|
71
|
+
.describe(`
|
|
72
|
+
Setting this to \`true\` will enable importing files from subdirectories and sub-subdirectories (etc.) of the given path.
|
|
73
|
+
|
|
74
|
+
Please use the pagination parameters \`page_number\` and \`files_per_page\`wisely here.
|
|
75
|
+
`),
|
|
76
|
+
page_number: page_number.describe(`
|
|
77
|
+
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\`.
|
|
78
|
+
|
|
79
|
+
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.
|
|
80
|
+
`),
|
|
81
|
+
files_per_page: files_per_page.describe(`
|
|
82
|
+
The pagination page size. This only works when recursive is \`true\` for now, in order to not break backwards compatibility in non-recursive imports.
|
|
83
|
+
`),
|
|
84
|
+
})
|
|
85
|
+
.strict()
|
|
86
|
+
|
|
87
|
+
export const robotCloudfilesImportInstructionsWithHiddenFieldsSchema =
|
|
88
|
+
robotCloudfilesImportInstructionsSchema.extend({
|
|
89
|
+
result: z
|
|
90
|
+
.union([z.literal('debug'), robotCloudfilesImportInstructionsSchema.shape.result])
|
|
91
|
+
.optional(),
|
|
92
|
+
})
|
|
93
|
+
|
|
94
|
+
export type RobotCloudfilesImportInstructions = z.infer<
|
|
95
|
+
typeof robotCloudfilesImportInstructionsSchema
|
|
96
|
+
>
|
|
97
|
+
export type RobotCloudfilesImportInstructionsWithHiddenFields = z.infer<
|
|
98
|
+
typeof robotCloudfilesImportInstructionsWithHiddenFieldsSchema
|
|
99
|
+
>
|
|
100
|
+
|
|
101
|
+
export const interpolatableRobotCloudfilesImportInstructionsSchema = interpolateRobot(
|
|
102
|
+
robotCloudfilesImportInstructionsSchema,
|
|
103
|
+
)
|
|
104
|
+
export type InterpolatableRobotCloudfilesImportInstructions =
|
|
105
|
+
InterpolatableRobotCloudfilesImportInstructionsInput
|
|
106
|
+
|
|
107
|
+
export type InterpolatableRobotCloudfilesImportInstructionsInput = z.input<
|
|
108
|
+
typeof interpolatableRobotCloudfilesImportInstructionsSchema
|
|
109
|
+
>
|
|
110
|
+
|
|
111
|
+
export const interpolatableRobotCloudfilesImportInstructionsWithHiddenFieldsSchema =
|
|
112
|
+
interpolateRobot(robotCloudfilesImportInstructionsWithHiddenFieldsSchema)
|
|
113
|
+
export type InterpolatableRobotCloudfilesImportInstructionsWithHiddenFields = z.infer<
|
|
114
|
+
typeof interpolatableRobotCloudfilesImportInstructionsWithHiddenFieldsSchema
|
|
115
|
+
>
|
|
116
|
+
export type InterpolatableRobotCloudfilesImportInstructionsWithHiddenFieldsInput = z.input<
|
|
117
|
+
typeof interpolatableRobotCloudfilesImportInstructionsWithHiddenFieldsSchema
|
|
118
|
+
>
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
import type { RobotMetaInput } from './_instructions-primitives.ts'
|
|
4
|
+
import {
|
|
5
|
+
cloudfilesBase,
|
|
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: '/cloudfiles/store',
|
|
20
|
+
use: ':original',
|
|
21
|
+
credentials: 'YOUR_CLOUDFILES_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 Rackspace Cloud Files:',
|
|
27
|
+
extended_description: `
|
|
28
|
+
<a id="export-to-rackspace-cloudfiles" aria-hidden="true"></a>
|
|
29
|
+
|
|
30
|
+
## A note about URLs
|
|
31
|
+
|
|
32
|
+
If your container is CDN-enabled, the resulting \`file.url\` indicates the path to the file in your
|
|
33
|
+
CDN container, or is \`null\` otherwise.
|
|
34
|
+
|
|
35
|
+
The storage container URL for this file is always available via \`file.meta.storage_url\`.
|
|
36
|
+
`,
|
|
37
|
+
minimum_charge: 0,
|
|
38
|
+
output_factor: 1,
|
|
39
|
+
override_lvl1: 'File Exporting',
|
|
40
|
+
purpose_sentence: 'exports encoding results to Rackspace Cloud Files',
|
|
41
|
+
purpose_verb: 'export',
|
|
42
|
+
purpose_word: 'Rackspace Cloud Files',
|
|
43
|
+
purpose_words: 'Export files to Rackspace Cloud Files',
|
|
44
|
+
service_slug: 'file-exporting',
|
|
45
|
+
slot_count: 10,
|
|
46
|
+
title: 'Export files to Rackspace Cloud Files',
|
|
47
|
+
typical_file_size_mb: 1.2,
|
|
48
|
+
typical_file_type: 'file',
|
|
49
|
+
name: 'CloudfilesStoreRobot',
|
|
50
|
+
priceFactor: 6.6666,
|
|
51
|
+
queueSlotCount: 10,
|
|
52
|
+
isAllowedForUrlTransform: true,
|
|
53
|
+
trackOutputFileSize: false,
|
|
54
|
+
isInternal: false,
|
|
55
|
+
removeJobResultFilesFromDiskRightAfterStoringOnS3: false,
|
|
56
|
+
stage: 'ga',
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export const robotCloudfilesStoreInstructionsSchema = robotBase
|
|
60
|
+
.merge(robotUse)
|
|
61
|
+
.merge(cloudfilesBase)
|
|
62
|
+
.extend({
|
|
63
|
+
robot: z.literal('/cloudfiles/store'),
|
|
64
|
+
path: z
|
|
65
|
+
.string()
|
|
66
|
+
.default('${unique_prefix}/${file.url_name}')
|
|
67
|
+
.describe(`
|
|
68
|
+
The path at which to store the file. This value can also contain [Assembly variables](/docs/topics/assembly-instructions/#assembly-variables).
|
|
69
|
+
`),
|
|
70
|
+
})
|
|
71
|
+
.strict()
|
|
72
|
+
|
|
73
|
+
export const robotCloudfilesStoreInstructionsWithHiddenFieldsSchema =
|
|
74
|
+
robotCloudfilesStoreInstructionsSchema.extend({
|
|
75
|
+
result: z
|
|
76
|
+
.union([z.literal('debug'), robotCloudfilesStoreInstructionsSchema.shape.result])
|
|
77
|
+
.optional(),
|
|
78
|
+
})
|
|
79
|
+
|
|
80
|
+
export type RobotCloudfilesStoreInstructions = z.infer<
|
|
81
|
+
typeof robotCloudfilesStoreInstructionsSchema
|
|
82
|
+
>
|
|
83
|
+
export type RobotCloudfilesStoreInstructionsWithHiddenFields = z.infer<
|
|
84
|
+
typeof robotCloudfilesStoreInstructionsWithHiddenFieldsSchema
|
|
85
|
+
>
|
|
86
|
+
|
|
87
|
+
export const interpolatableRobotCloudfilesStoreInstructionsSchema = interpolateRobot(
|
|
88
|
+
robotCloudfilesStoreInstructionsSchema,
|
|
89
|
+
)
|
|
90
|
+
export type InterpolatableRobotCloudfilesStoreInstructions =
|
|
91
|
+
InterpolatableRobotCloudfilesStoreInstructionsInput
|
|
92
|
+
|
|
93
|
+
export type InterpolatableRobotCloudfilesStoreInstructionsInput = z.input<
|
|
94
|
+
typeof interpolatableRobotCloudfilesStoreInstructionsSchema
|
|
95
|
+
>
|
|
96
|
+
|
|
97
|
+
export const interpolatableRobotCloudfilesStoreInstructionsWithHiddenFieldsSchema =
|
|
98
|
+
interpolateRobot(robotCloudfilesStoreInstructionsWithHiddenFieldsSchema)
|
|
99
|
+
export type InterpolatableRobotCloudfilesStoreInstructionsWithHiddenFields = z.infer<
|
|
100
|
+
typeof interpolatableRobotCloudfilesStoreInstructionsWithHiddenFieldsSchema
|
|
101
|
+
>
|
|
102
|
+
export type InterpolatableRobotCloudfilesStoreInstructionsWithHiddenFieldsInput = z.input<
|
|
103
|
+
typeof interpolatableRobotCloudfilesStoreInstructionsWithHiddenFieldsSchema
|
|
104
|
+
>
|