@transloadit/zod 4.1.3 → 4.1.4

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.
Files changed (141) hide show
  1. package/dist/v3/assemblyReplay.d.ts +801 -799
  2. package/dist/v3/assemblyReplay.d.ts.map +1 -1
  3. package/dist/v3/assemblyReplayNotification.d.ts +801 -799
  4. package/dist/v3/assemblyReplayNotification.d.ts.map +1 -1
  5. package/dist/v3/assemblyStatus.d.ts +12 -12
  6. package/dist/v3/assemblyStatus.d.ts.map +1 -1
  7. package/dist/v3/assemblyStatus.js +1 -0
  8. package/dist/v3/robots/_index.d.ts +1368 -1356
  9. package/dist/v3/robots/_index.d.ts.map +1 -1
  10. package/dist/v3/robots/_instructions-primitives.d.ts +102 -102
  11. package/dist/v3/robots/ai-chat.d.ts +54 -42
  12. package/dist/v3/robots/ai-chat.d.ts.map +1 -1
  13. package/dist/v3/robots/ai-chat.js +18 -25
  14. package/dist/v3/robots/assembly-savejson.d.ts +2 -2
  15. package/dist/v3/robots/audio-artwork.d.ts +114 -114
  16. package/dist/v3/robots/audio-concat.d.ts +118 -118
  17. package/dist/v3/robots/audio-encode.d.ts +116 -116
  18. package/dist/v3/robots/audio-loop.d.ts +114 -114
  19. package/dist/v3/robots/audio-merge.d.ts +116 -116
  20. package/dist/v3/robots/audio-waveform.d.ts +114 -114
  21. package/dist/v3/robots/azure-import.d.ts +12 -12
  22. package/dist/v3/robots/azure-store.d.ts +42 -42
  23. package/dist/v3/robots/backblaze-import.d.ts +4 -4
  24. package/dist/v3/robots/backblaze-store.d.ts +34 -34
  25. package/dist/v3/robots/cloudfiles-import.d.ts +12 -12
  26. package/dist/v3/robots/cloudfiles-store.d.ts +42 -42
  27. package/dist/v3/robots/cloudflare-import.d.ts +12 -12
  28. package/dist/v3/robots/cloudflare-store.d.ts +42 -42
  29. package/dist/v3/robots/digitalocean-import.d.ts +12 -12
  30. package/dist/v3/robots/digitalocean-store.d.ts +42 -42
  31. package/dist/v3/robots/document-autorotate.d.ts +32 -32
  32. package/dist/v3/robots/document-convert.d.ts +42 -42
  33. package/dist/v3/robots/document-merge.d.ts +34 -34
  34. package/dist/v3/robots/document-ocr.d.ts +38 -38
  35. package/dist/v3/robots/document-split.d.ts +34 -34
  36. package/dist/v3/robots/document-thumbs.d.ts +36 -36
  37. package/dist/v3/robots/dropbox-import.d.ts +4 -4
  38. package/dist/v3/robots/dropbox-store.d.ts +34 -34
  39. package/dist/v3/robots/edgly-deliver.d.ts +4 -4
  40. package/dist/v3/robots/file-compress.d.ts +38 -38
  41. package/dist/v3/robots/file-decompress.d.ts +32 -32
  42. package/dist/v3/robots/file-filter.d.ts +41 -41
  43. package/dist/v3/robots/file-filter.d.ts.map +1 -1
  44. package/dist/v3/robots/file-filter.js +3 -1
  45. package/dist/v3/robots/file-hash.d.ts +36 -36
  46. package/dist/v3/robots/file-preview.d.ts +34 -34
  47. package/dist/v3/robots/file-read.d.ts +32 -32
  48. package/dist/v3/robots/file-serve.d.ts +32 -32
  49. package/dist/v3/robots/file-verify.d.ts +32 -32
  50. package/dist/v3/robots/file-virusscan.d.ts +34 -34
  51. package/dist/v3/robots/file-watermark.d.ts +34 -34
  52. package/dist/v3/robots/ftp-import.d.ts +4 -4
  53. package/dist/v3/robots/ftp-store.d.ts +34 -34
  54. package/dist/v3/robots/google-import.d.ts +4 -4
  55. package/dist/v3/robots/google-store.d.ts +40 -40
  56. package/dist/v3/robots/html-convert.d.ts +38 -38
  57. package/dist/v3/robots/http-import.d.ts +4 -4
  58. package/dist/v3/robots/image-bgremove.d.ts +34 -34
  59. package/dist/v3/robots/image-describe.d.ts +38 -38
  60. package/dist/v3/robots/image-facedetect.d.ts +38 -38
  61. package/dist/v3/robots/image-generate.d.ts +35 -35
  62. package/dist/v3/robots/image-merge.d.ts +32 -32
  63. package/dist/v3/robots/image-ocr.d.ts +38 -38
  64. package/dist/v3/robots/image-optimize.d.ts +32 -32
  65. package/dist/v3/robots/image-resize.d.ts +70 -70
  66. package/dist/v3/robots/meta-read.d.ts +4 -4
  67. package/dist/v3/robots/minio-import.d.ts +12 -12
  68. package/dist/v3/robots/minio-store.d.ts +42 -42
  69. package/dist/v3/robots/progress-simulate.d.ts +16 -16
  70. package/dist/v3/robots/s3-import.d.ts +12 -12
  71. package/dist/v3/robots/s3-store.d.ts +46 -46
  72. package/dist/v3/robots/script-run.d.ts +34 -34
  73. package/dist/v3/robots/sftp-import.d.ts +4 -4
  74. package/dist/v3/robots/sftp-store.d.ts +34 -34
  75. package/dist/v3/robots/speech-transcribe.d.ts +38 -38
  76. package/dist/v3/robots/supabase-import.d.ts +12 -12
  77. package/dist/v3/robots/supabase-store.d.ts +42 -42
  78. package/dist/v3/robots/swift-import.d.ts +12 -12
  79. package/dist/v3/robots/swift-store.d.ts +42 -42
  80. package/dist/v3/robots/text-speak.d.ts +34 -34
  81. package/dist/v3/robots/text-translate.d.ts +42 -42
  82. package/dist/v3/robots/tigris-import.d.ts +12 -12
  83. package/dist/v3/robots/tigris-store.d.ts +42 -42
  84. package/dist/v3/robots/tlcdn-deliver.d.ts +4 -4
  85. package/dist/v3/robots/tus-store.d.ts +34 -34
  86. package/dist/v3/robots/upload-handle.d.ts +4 -4
  87. package/dist/v3/robots/video-adaptive.d.ts +114 -114
  88. package/dist/v3/robots/video-concat.d.ts +114 -114
  89. package/dist/v3/robots/video-encode.d.ts +114 -114
  90. package/dist/v3/robots/video-merge.d.ts +114 -114
  91. package/dist/v3/robots/video-ondemand.d.ts +146 -146
  92. package/dist/v3/robots/video-subtitle.d.ts +114 -114
  93. package/dist/v3/robots/video-thumbs.d.ts +114 -114
  94. package/dist/v3/robots/vimeo-import.d.ts +8 -8
  95. package/dist/v3/robots/vimeo-store.d.ts +34 -34
  96. package/dist/v3/robots/wasabi-import.d.ts +12 -12
  97. package/dist/v3/robots/wasabi-store.d.ts +42 -42
  98. package/dist/v3/robots/youtube-store.d.ts +48 -48
  99. package/dist/v3/template.d.ts +6793 -6769
  100. package/dist/v3/template.d.ts.map +1 -1
  101. package/dist/v3/templateCredential.d.ts +2 -2
  102. package/dist/v4/assemblyStatus.d.ts +4 -0
  103. package/dist/v4/assemblyStatus.d.ts.map +1 -1
  104. package/dist/v4/assemblyStatus.js +1 -0
  105. package/dist/v4/robots/_index.d.ts +346 -342
  106. package/dist/v4/robots/_index.d.ts.map +1 -1
  107. package/dist/v4/robots/_instructions-primitives.d.ts +24 -24
  108. package/dist/v4/robots/ai-chat.d.ts +14 -10
  109. package/dist/v4/robots/ai-chat.d.ts.map +1 -1
  110. package/dist/v4/robots/ai-chat.js +18 -25
  111. package/dist/v4/robots/audio-artwork.d.ts +8 -8
  112. package/dist/v4/robots/audio-concat.d.ts +10 -10
  113. package/dist/v4/robots/audio-encode.d.ts +8 -8
  114. package/dist/v4/robots/audio-loop.d.ts +8 -8
  115. package/dist/v4/robots/audio-merge.d.ts +20 -20
  116. package/dist/v4/robots/audio-waveform.d.ts +8 -8
  117. package/dist/v4/robots/document-convert.d.ts +8 -8
  118. package/dist/v4/robots/document-ocr.d.ts +4 -4
  119. package/dist/v4/robots/document-thumbs.d.ts +2 -2
  120. package/dist/v4/robots/file-filter.d.ts +4 -4
  121. package/dist/v4/robots/file-filter.d.ts.map +1 -1
  122. package/dist/v4/robots/file-filter.js +3 -1
  123. package/dist/v4/robots/image-describe.d.ts +4 -4
  124. package/dist/v4/robots/image-facedetect.d.ts +4 -4
  125. package/dist/v4/robots/image-ocr.d.ts +4 -4
  126. package/dist/v4/robots/image-resize.d.ts +115 -115
  127. package/dist/v4/robots/s3-store.d.ts +4 -4
  128. package/dist/v4/robots/speech-transcribe.d.ts +4 -4
  129. package/dist/v4/robots/text-translate.d.ts +96 -96
  130. package/dist/v4/robots/video-adaptive.d.ts +8 -8
  131. package/dist/v4/robots/video-concat.d.ts +8 -8
  132. package/dist/v4/robots/video-encode.d.ts +24 -24
  133. package/dist/v4/robots/video-merge.d.ts +8 -8
  134. package/dist/v4/robots/video-ondemand.d.ts +24 -24
  135. package/dist/v4/robots/video-subtitle.d.ts +24 -24
  136. package/dist/v4/robots/video-thumbs.d.ts +8 -8
  137. package/dist/v4/robots/vimeo-import.d.ts +4 -4
  138. package/dist/v4/robots/youtube-store.d.ts +4 -4
  139. package/dist/v4/template.d.ts +588 -582
  140. package/dist/v4/template.d.ts.map +1 -1
  141. package/package.json +1 -1
@@ -65,18 +65,16 @@ export declare const robotImageMergeInstructionsSchema: z.ZodObject<{
65
65
  adaptive_filtering: z.ZodDefault<z.ZodBoolean>;
66
66
  quality: z.ZodDefault<z.ZodNumber>;
67
67
  }, "strict", z.ZodTypeAny, {
68
+ robot: "/image/merge";
68
69
  result: boolean;
69
70
  force_accept: boolean;
70
71
  ignore_errors: string[];
71
72
  background: string;
72
- robot: "/image/merge";
73
73
  format: "jpg" | "png";
74
74
  direction: "horizontal" | "vertical";
75
75
  border: number;
76
76
  adaptive_filtering: boolean;
77
77
  quality: number;
78
- output_meta?: boolean | string[] | Record<string, boolean> | undefined;
79
- queue?: "batch" | undefined;
80
78
  use?: string | string[] | {
81
79
  name: string;
82
80
  fields?: string | undefined;
@@ -91,13 +89,10 @@ export declare const robotImageMergeInstructionsSchema: z.ZodObject<{
91
89
  bundle_steps?: boolean | undefined;
92
90
  group_by_original?: boolean | undefined;
93
91
  } | undefined;
94
- }, {
95
- robot: "/image/merge";
96
92
  output_meta?: boolean | string[] | Record<string, boolean> | undefined;
97
- result?: boolean | undefined;
98
93
  queue?: "batch" | undefined;
99
- force_accept?: boolean | undefined;
100
- ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
94
+ }, {
95
+ robot: "/image/merge";
101
96
  use?: string | string[] | {
102
97
  name: string;
103
98
  fields?: string | undefined;
@@ -112,6 +107,11 @@ export declare const robotImageMergeInstructionsSchema: z.ZodObject<{
112
107
  bundle_steps?: boolean | undefined;
113
108
  group_by_original?: boolean | undefined;
114
109
  } | undefined;
110
+ output_meta?: boolean | string[] | Record<string, boolean> | undefined;
111
+ result?: boolean | undefined;
112
+ queue?: "batch" | undefined;
113
+ force_accept?: boolean | undefined;
114
+ ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
115
115
  background?: string | undefined;
116
116
  format?: "jpg" | "png" | undefined;
117
117
  direction?: "horizontal" | "vertical" | undefined;
@@ -182,18 +182,15 @@ export declare const robotImageMergeInstructionsWithHiddenFieldsSchema: z.ZodObj
182
182
  } & {
183
183
  result: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"debug">, z.ZodDefault<z.ZodBoolean>]>>;
184
184
  }, "strict", z.ZodTypeAny, {
185
+ robot: "/image/merge";
185
186
  force_accept: boolean;
186
187
  ignore_errors: string[];
187
188
  background: string;
188
- robot: "/image/merge";
189
189
  format: "jpg" | "png";
190
190
  direction: "horizontal" | "vertical";
191
191
  border: number;
192
192
  adaptive_filtering: boolean;
193
193
  quality: number;
194
- output_meta?: boolean | string[] | Record<string, boolean> | undefined;
195
- result?: boolean | "debug" | undefined;
196
- queue?: "batch" | undefined;
197
194
  use?: string | string[] | {
198
195
  name: string;
199
196
  fields?: string | undefined;
@@ -208,13 +205,11 @@ export declare const robotImageMergeInstructionsWithHiddenFieldsSchema: z.ZodObj
208
205
  bundle_steps?: boolean | undefined;
209
206
  group_by_original?: boolean | undefined;
210
207
  } | undefined;
211
- }, {
212
- robot: "/image/merge";
213
208
  output_meta?: boolean | string[] | Record<string, boolean> | undefined;
214
209
  result?: boolean | "debug" | undefined;
215
210
  queue?: "batch" | undefined;
216
- force_accept?: boolean | undefined;
217
- ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
211
+ }, {
212
+ robot: "/image/merge";
218
213
  use?: string | string[] | {
219
214
  name: string;
220
215
  fields?: string | undefined;
@@ -229,6 +224,11 @@ export declare const robotImageMergeInstructionsWithHiddenFieldsSchema: z.ZodObj
229
224
  bundle_steps?: boolean | undefined;
230
225
  group_by_original?: boolean | undefined;
231
226
  } | undefined;
227
+ output_meta?: boolean | string[] | Record<string, boolean> | undefined;
228
+ result?: boolean | "debug" | undefined;
229
+ queue?: "batch" | undefined;
230
+ force_accept?: boolean | undefined;
231
+ ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
232
232
  background?: string | undefined;
233
233
  format?: "jpg" | "png" | undefined;
234
234
  direction?: "horizontal" | "vertical" | undefined;
@@ -300,18 +300,16 @@ export declare const interpolatableRobotImageMergeInstructionsSchema: z.ZodObjec
300
300
  adaptive_filtering: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
301
301
  quality: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
302
302
  }, "strict", z.ZodTypeAny, {
303
+ robot: "/image/merge";
303
304
  result: string | boolean;
304
305
  force_accept: string | boolean;
305
306
  ignore_errors: string | string[];
306
307
  background: string;
307
- robot: "/image/merge";
308
308
  format: string;
309
309
  direction: string;
310
310
  border: string | number;
311
311
  adaptive_filtering: string | boolean;
312
312
  quality: string | number;
313
- output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
314
- queue?: string | undefined;
315
313
  use?: string | string[] | {
316
314
  name: string;
317
315
  fields?: string | undefined;
@@ -326,13 +324,10 @@ export declare const interpolatableRobotImageMergeInstructionsSchema: z.ZodObjec
326
324
  bundle_steps?: boolean | undefined;
327
325
  group_by_original?: boolean | undefined;
328
326
  } | undefined;
329
- }, {
330
- robot: "/image/merge";
331
327
  output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
332
- result?: string | boolean | undefined;
333
328
  queue?: string | undefined;
334
- force_accept?: string | boolean | undefined;
335
- ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
329
+ }, {
330
+ robot: "/image/merge";
336
331
  use?: string | string[] | {
337
332
  name: string;
338
333
  fields?: string | undefined;
@@ -347,6 +342,11 @@ export declare const interpolatableRobotImageMergeInstructionsSchema: z.ZodObjec
347
342
  bundle_steps?: boolean | undefined;
348
343
  group_by_original?: boolean | undefined;
349
344
  } | undefined;
345
+ output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
346
+ result?: string | boolean | undefined;
347
+ queue?: string | undefined;
348
+ force_accept?: string | boolean | undefined;
349
+ ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
350
350
  background?: string | undefined;
351
351
  format?: string | undefined;
352
352
  direction?: string | undefined;
@@ -418,18 +418,15 @@ export declare const interpolatableRobotImageMergeInstructionsWithHiddenFieldsSc
418
418
  quality: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
419
419
  result: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<"debug">]>, z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>]>>;
420
420
  }, "strict", z.ZodTypeAny, {
421
+ robot: "/image/merge";
421
422
  force_accept: string | boolean;
422
423
  ignore_errors: string | string[];
423
424
  background: string;
424
- robot: "/image/merge";
425
425
  format: string;
426
426
  direction: string;
427
427
  border: string | number;
428
428
  adaptive_filtering: string | boolean;
429
429
  quality: string | number;
430
- output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
431
- result?: string | boolean | undefined;
432
- queue?: string | undefined;
433
430
  use?: string | string[] | {
434
431
  name: string;
435
432
  fields?: string | undefined;
@@ -444,13 +441,11 @@ export declare const interpolatableRobotImageMergeInstructionsWithHiddenFieldsSc
444
441
  bundle_steps?: boolean | undefined;
445
442
  group_by_original?: boolean | undefined;
446
443
  } | undefined;
447
- }, {
448
- robot: "/image/merge";
449
444
  output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
450
445
  result?: string | boolean | undefined;
451
446
  queue?: string | undefined;
452
- force_accept?: string | boolean | undefined;
453
- ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
447
+ }, {
448
+ robot: "/image/merge";
454
449
  use?: string | string[] | {
455
450
  name: string;
456
451
  fields?: string | undefined;
@@ -465,6 +460,11 @@ export declare const interpolatableRobotImageMergeInstructionsWithHiddenFieldsSc
465
460
  bundle_steps?: boolean | undefined;
466
461
  group_by_original?: boolean | undefined;
467
462
  } | undefined;
463
+ output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
464
+ result?: string | boolean | undefined;
465
+ queue?: string | undefined;
466
+ force_accept?: string | boolean | undefined;
467
+ ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
468
468
  background?: string | undefined;
469
469
  format?: string | undefined;
470
470
  direction?: string | undefined;
@@ -62,15 +62,13 @@ export declare const robotImageOcrInstructionsSchema: z.ZodObject<{
62
62
  granularity: z.ZodDefault<z.ZodEnum<["full", "list"]>>;
63
63
  format: z.ZodDefault<z.ZodEnum<["json", "meta", "text"]>>;
64
64
  }, "strict", z.ZodTypeAny, {
65
+ robot: "/image/ocr";
65
66
  result: boolean;
66
67
  force_accept: boolean;
67
68
  ignore_errors: string[];
68
- robot: "/image/ocr";
69
- format: "meta" | "json" | "text";
69
+ format: "meta" | "text" | "json";
70
70
  provider: "aws" | "gcp" | "replicate" | "fal" | "transloadit";
71
71
  granularity: "full" | "list";
72
- output_meta?: boolean | string[] | Record<string, boolean> | undefined;
73
- queue?: "batch" | undefined;
74
72
  use?: string | string[] | {
75
73
  name: string;
76
74
  fields?: string | undefined;
@@ -85,14 +83,11 @@ export declare const robotImageOcrInstructionsSchema: z.ZodObject<{
85
83
  bundle_steps?: boolean | undefined;
86
84
  group_by_original?: boolean | undefined;
87
85
  } | undefined;
86
+ output_meta?: boolean | string[] | Record<string, boolean> | undefined;
87
+ queue?: "batch" | undefined;
88
88
  }, {
89
89
  robot: "/image/ocr";
90
90
  provider: "aws" | "gcp" | "replicate" | "fal" | "transloadit";
91
- output_meta?: boolean | string[] | Record<string, boolean> | undefined;
92
- result?: boolean | undefined;
93
- queue?: "batch" | undefined;
94
- force_accept?: boolean | undefined;
95
- ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
96
91
  use?: string | string[] | {
97
92
  name: string;
98
93
  fields?: string | undefined;
@@ -107,7 +102,12 @@ export declare const robotImageOcrInstructionsSchema: z.ZodObject<{
107
102
  bundle_steps?: boolean | undefined;
108
103
  group_by_original?: boolean | undefined;
109
104
  } | undefined;
110
- format?: "meta" | "json" | "text" | undefined;
105
+ output_meta?: boolean | string[] | Record<string, boolean> | undefined;
106
+ result?: boolean | undefined;
107
+ queue?: "batch" | undefined;
108
+ force_accept?: boolean | undefined;
109
+ ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
110
+ format?: "meta" | "text" | "json" | undefined;
111
111
  granularity?: "full" | "list" | undefined;
112
112
  }>;
113
113
  export declare const robotImageOcrInstructionsWithHiddenFieldsSchema: z.ZodObject<{
@@ -170,15 +170,12 @@ export declare const robotImageOcrInstructionsWithHiddenFieldsSchema: z.ZodObjec
170
170
  } & {
171
171
  result: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"debug">, z.ZodDefault<z.ZodBoolean>]>>;
172
172
  }, "strict", z.ZodTypeAny, {
173
+ robot: "/image/ocr";
173
174
  force_accept: boolean;
174
175
  ignore_errors: string[];
175
- robot: "/image/ocr";
176
- format: "meta" | "json" | "text";
176
+ format: "meta" | "text" | "json";
177
177
  provider: "aws" | "gcp" | "replicate" | "fal" | "transloadit";
178
178
  granularity: "full" | "list";
179
- output_meta?: boolean | string[] | Record<string, boolean> | undefined;
180
- result?: boolean | "debug" | undefined;
181
- queue?: "batch" | undefined;
182
179
  use?: string | string[] | {
183
180
  name: string;
184
181
  fields?: string | undefined;
@@ -193,14 +190,12 @@ export declare const robotImageOcrInstructionsWithHiddenFieldsSchema: z.ZodObjec
193
190
  bundle_steps?: boolean | undefined;
194
191
  group_by_original?: boolean | undefined;
195
192
  } | undefined;
196
- }, {
197
- robot: "/image/ocr";
198
- provider: "aws" | "gcp" | "replicate" | "fal" | "transloadit";
199
193
  output_meta?: boolean | string[] | Record<string, boolean> | undefined;
200
194
  result?: boolean | "debug" | undefined;
201
195
  queue?: "batch" | undefined;
202
- force_accept?: boolean | undefined;
203
- ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
196
+ }, {
197
+ robot: "/image/ocr";
198
+ provider: "aws" | "gcp" | "replicate" | "fal" | "transloadit";
204
199
  use?: string | string[] | {
205
200
  name: string;
206
201
  fields?: string | undefined;
@@ -215,7 +210,12 @@ export declare const robotImageOcrInstructionsWithHiddenFieldsSchema: z.ZodObjec
215
210
  bundle_steps?: boolean | undefined;
216
211
  group_by_original?: boolean | undefined;
217
212
  } | undefined;
218
- format?: "meta" | "json" | "text" | undefined;
213
+ output_meta?: boolean | string[] | Record<string, boolean> | undefined;
214
+ result?: boolean | "debug" | undefined;
215
+ queue?: "batch" | undefined;
216
+ force_accept?: boolean | undefined;
217
+ ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
218
+ format?: "meta" | "text" | "json" | undefined;
219
219
  granularity?: "full" | "list" | undefined;
220
220
  }>;
221
221
  export type RobotImageOcrInstructions = z.infer<typeof robotImageOcrInstructionsSchema>;
@@ -279,15 +279,13 @@ export declare const interpolatableRobotImageOcrInstructionsSchema: z.ZodObject<
279
279
  granularity: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodEnum<["full", "list"]>]>>;
280
280
  format: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodEnum<["json", "meta", "text"]>]>>;
281
281
  }, "strict", z.ZodTypeAny, {
282
+ robot: "/image/ocr";
282
283
  result: string | boolean;
283
284
  force_accept: string | boolean;
284
285
  ignore_errors: string | string[];
285
- robot: "/image/ocr";
286
286
  format: string;
287
287
  provider: string;
288
288
  granularity: string;
289
- output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
290
- queue?: string | undefined;
291
289
  use?: string | string[] | {
292
290
  name: string;
293
291
  fields?: string | undefined;
@@ -302,14 +300,11 @@ export declare const interpolatableRobotImageOcrInstructionsSchema: z.ZodObject<
302
300
  bundle_steps?: boolean | undefined;
303
301
  group_by_original?: boolean | undefined;
304
302
  } | undefined;
303
+ output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
304
+ queue?: string | undefined;
305
305
  }, {
306
306
  robot: "/image/ocr";
307
307
  provider: string;
308
- output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
309
- result?: string | boolean | undefined;
310
- queue?: string | undefined;
311
- force_accept?: string | boolean | undefined;
312
- ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
313
308
  use?: string | string[] | {
314
309
  name: string;
315
310
  fields?: string | undefined;
@@ -324,6 +319,11 @@ export declare const interpolatableRobotImageOcrInstructionsSchema: z.ZodObject<
324
319
  bundle_steps?: boolean | undefined;
325
320
  group_by_original?: boolean | undefined;
326
321
  } | undefined;
322
+ output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
323
+ result?: string | boolean | undefined;
324
+ queue?: string | undefined;
325
+ force_accept?: string | boolean | undefined;
326
+ ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
327
327
  format?: string | undefined;
328
328
  granularity?: string | undefined;
329
329
  }>;
@@ -388,15 +388,12 @@ export declare const interpolatableRobotImageOcrInstructionsWithHiddenFieldsSche
388
388
  format: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodEnum<["json", "meta", "text"]>]>>;
389
389
  result: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<"debug">]>, z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>]>>;
390
390
  }, "strict", z.ZodTypeAny, {
391
+ robot: "/image/ocr";
391
392
  force_accept: string | boolean;
392
393
  ignore_errors: string | string[];
393
- robot: "/image/ocr";
394
394
  format: string;
395
395
  provider: string;
396
396
  granularity: string;
397
- output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
398
- result?: string | boolean | undefined;
399
- queue?: string | undefined;
400
397
  use?: string | string[] | {
401
398
  name: string;
402
399
  fields?: string | undefined;
@@ -411,14 +408,12 @@ export declare const interpolatableRobotImageOcrInstructionsWithHiddenFieldsSche
411
408
  bundle_steps?: boolean | undefined;
412
409
  group_by_original?: boolean | undefined;
413
410
  } | undefined;
414
- }, {
415
- robot: "/image/ocr";
416
- provider: string;
417
411
  output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
418
412
  result?: string | boolean | undefined;
419
413
  queue?: string | undefined;
420
- force_accept?: string | boolean | undefined;
421
- ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
414
+ }, {
415
+ robot: "/image/ocr";
416
+ provider: string;
422
417
  use?: string | string[] | {
423
418
  name: string;
424
419
  fields?: string | undefined;
@@ -433,6 +428,11 @@ export declare const interpolatableRobotImageOcrInstructionsWithHiddenFieldsSche
433
428
  bundle_steps?: boolean | undefined;
434
429
  group_by_original?: boolean | undefined;
435
430
  } | undefined;
431
+ output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
432
+ result?: string | boolean | undefined;
433
+ queue?: string | undefined;
434
+ force_accept?: string | boolean | undefined;
435
+ ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
436
436
  format?: string | undefined;
437
437
  granularity?: string | undefined;
438
438
  }>;
@@ -63,16 +63,14 @@ export declare const robotImageOptimizeInstructionsSchema: z.ZodObject<{
63
63
  preserve_meta_data: z.ZodDefault<z.ZodBoolean>;
64
64
  fix_breaking_images: z.ZodDefault<z.ZodBoolean>;
65
65
  }, "strict", z.ZodTypeAny, {
66
+ robot: "/image/optimize";
66
67
  result: boolean;
67
68
  force_accept: boolean;
68
69
  ignore_errors: string[];
69
- robot: "/image/optimize";
70
70
  priority: "compression-ratio" | "conversion-speed";
71
71
  progressive: boolean;
72
72
  preserve_meta_data: boolean;
73
73
  fix_breaking_images: boolean;
74
- output_meta?: boolean | string[] | Record<string, boolean> | undefined;
75
- queue?: "batch" | undefined;
76
74
  use?: string | string[] | {
77
75
  name: string;
78
76
  fields?: string | undefined;
@@ -87,13 +85,10 @@ export declare const robotImageOptimizeInstructionsSchema: z.ZodObject<{
87
85
  bundle_steps?: boolean | undefined;
88
86
  group_by_original?: boolean | undefined;
89
87
  } | undefined;
90
- }, {
91
- robot: "/image/optimize";
92
88
  output_meta?: boolean | string[] | Record<string, boolean> | undefined;
93
- result?: boolean | undefined;
94
89
  queue?: "batch" | undefined;
95
- force_accept?: boolean | undefined;
96
- ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
90
+ }, {
91
+ robot: "/image/optimize";
97
92
  use?: string | string[] | {
98
93
  name: string;
99
94
  fields?: string | undefined;
@@ -108,6 +103,11 @@ export declare const robotImageOptimizeInstructionsSchema: z.ZodObject<{
108
103
  bundle_steps?: boolean | undefined;
109
104
  group_by_original?: boolean | undefined;
110
105
  } | undefined;
106
+ output_meta?: boolean | string[] | Record<string, boolean> | undefined;
107
+ result?: boolean | undefined;
108
+ queue?: "batch" | undefined;
109
+ force_accept?: boolean | undefined;
110
+ ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
111
111
  priority?: "compression-ratio" | "conversion-speed" | undefined;
112
112
  progressive?: boolean | undefined;
113
113
  preserve_meta_data?: boolean | undefined;
@@ -174,16 +174,13 @@ export declare const robotImageOptimizeInstructionsWithHiddenFieldsSchema: z.Zod
174
174
  } & {
175
175
  result: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"debug">, z.ZodDefault<z.ZodBoolean>]>>;
176
176
  }, "strict", z.ZodTypeAny, {
177
+ robot: "/image/optimize";
177
178
  force_accept: boolean;
178
179
  ignore_errors: string[];
179
- robot: "/image/optimize";
180
180
  priority: "compression-ratio" | "conversion-speed";
181
181
  progressive: boolean;
182
182
  preserve_meta_data: boolean;
183
183
  fix_breaking_images: boolean;
184
- output_meta?: boolean | string[] | Record<string, boolean> | undefined;
185
- result?: boolean | "debug" | undefined;
186
- queue?: "batch" | undefined;
187
184
  use?: string | string[] | {
188
185
  name: string;
189
186
  fields?: string | undefined;
@@ -198,13 +195,11 @@ export declare const robotImageOptimizeInstructionsWithHiddenFieldsSchema: z.Zod
198
195
  bundle_steps?: boolean | undefined;
199
196
  group_by_original?: boolean | undefined;
200
197
  } | undefined;
201
- }, {
202
- robot: "/image/optimize";
203
198
  output_meta?: boolean | string[] | Record<string, boolean> | undefined;
204
199
  result?: boolean | "debug" | undefined;
205
200
  queue?: "batch" | undefined;
206
- force_accept?: boolean | undefined;
207
- ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
201
+ }, {
202
+ robot: "/image/optimize";
208
203
  use?: string | string[] | {
209
204
  name: string;
210
205
  fields?: string | undefined;
@@ -219,6 +214,11 @@ export declare const robotImageOptimizeInstructionsWithHiddenFieldsSchema: z.Zod
219
214
  bundle_steps?: boolean | undefined;
220
215
  group_by_original?: boolean | undefined;
221
216
  } | undefined;
217
+ output_meta?: boolean | string[] | Record<string, boolean> | undefined;
218
+ result?: boolean | "debug" | undefined;
219
+ queue?: "batch" | undefined;
220
+ force_accept?: boolean | undefined;
221
+ ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
222
222
  priority?: "compression-ratio" | "conversion-speed" | undefined;
223
223
  progressive?: boolean | undefined;
224
224
  preserve_meta_data?: boolean | undefined;
@@ -286,16 +286,14 @@ export declare const interpolatableRobotImageOptimizeInstructionsSchema: z.ZodOb
286
286
  preserve_meta_data: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
287
287
  fix_breaking_images: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
288
288
  }, "strict", z.ZodTypeAny, {
289
+ robot: "/image/optimize";
289
290
  result: string | boolean;
290
291
  force_accept: string | boolean;
291
292
  ignore_errors: string | string[];
292
- robot: "/image/optimize";
293
293
  priority: string;
294
294
  progressive: string | boolean;
295
295
  preserve_meta_data: string | boolean;
296
296
  fix_breaking_images: string | boolean;
297
- output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
298
- queue?: string | undefined;
299
297
  use?: string | string[] | {
300
298
  name: string;
301
299
  fields?: string | undefined;
@@ -310,13 +308,10 @@ export declare const interpolatableRobotImageOptimizeInstructionsSchema: z.ZodOb
310
308
  bundle_steps?: boolean | undefined;
311
309
  group_by_original?: boolean | undefined;
312
310
  } | undefined;
313
- }, {
314
- robot: "/image/optimize";
315
311
  output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
316
- result?: string | boolean | undefined;
317
312
  queue?: string | undefined;
318
- force_accept?: string | boolean | undefined;
319
- ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
313
+ }, {
314
+ robot: "/image/optimize";
320
315
  use?: string | string[] | {
321
316
  name: string;
322
317
  fields?: string | undefined;
@@ -331,6 +326,11 @@ export declare const interpolatableRobotImageOptimizeInstructionsSchema: z.ZodOb
331
326
  bundle_steps?: boolean | undefined;
332
327
  group_by_original?: boolean | undefined;
333
328
  } | undefined;
329
+ output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
330
+ result?: string | boolean | undefined;
331
+ queue?: string | undefined;
332
+ force_accept?: string | boolean | undefined;
333
+ ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
334
334
  priority?: string | undefined;
335
335
  progressive?: string | boolean | undefined;
336
336
  preserve_meta_data?: string | boolean | undefined;
@@ -398,16 +398,13 @@ export declare const interpolatableRobotImageOptimizeInstructionsWithHiddenField
398
398
  fix_breaking_images: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
399
399
  result: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<"debug">]>, z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>]>>;
400
400
  }, "strict", z.ZodTypeAny, {
401
+ robot: "/image/optimize";
401
402
  force_accept: string | boolean;
402
403
  ignore_errors: string | string[];
403
- robot: "/image/optimize";
404
404
  priority: string;
405
405
  progressive: string | boolean;
406
406
  preserve_meta_data: string | boolean;
407
407
  fix_breaking_images: string | boolean;
408
- output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
409
- result?: string | boolean | undefined;
410
- queue?: string | undefined;
411
408
  use?: string | string[] | {
412
409
  name: string;
413
410
  fields?: string | undefined;
@@ -422,13 +419,11 @@ export declare const interpolatableRobotImageOptimizeInstructionsWithHiddenField
422
419
  bundle_steps?: boolean | undefined;
423
420
  group_by_original?: boolean | undefined;
424
421
  } | undefined;
425
- }, {
426
- robot: "/image/optimize";
427
422
  output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
428
423
  result?: string | boolean | undefined;
429
424
  queue?: string | undefined;
430
- force_accept?: string | boolean | undefined;
431
- ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
425
+ }, {
426
+ robot: "/image/optimize";
432
427
  use?: string | string[] | {
433
428
  name: string;
434
429
  fields?: string | undefined;
@@ -443,6 +438,11 @@ export declare const interpolatableRobotImageOptimizeInstructionsWithHiddenField
443
438
  bundle_steps?: boolean | undefined;
444
439
  group_by_original?: boolean | undefined;
445
440
  } | undefined;
441
+ output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
442
+ result?: string | boolean | undefined;
443
+ queue?: string | undefined;
444
+ force_accept?: string | boolean | undefined;
445
+ ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
446
446
  priority?: string | undefined;
447
447
  progressive?: string | boolean | undefined;
448
448
  preserve_meta_data?: string | boolean | undefined;