@transloadit/zod 6.0.0 → 7.0.0
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/dist/v3/englishInteger.d.ts +3 -0
- package/dist/v3/englishInteger.d.ts.map +1 -0
- package/dist/v3/englishInteger.js +12 -0
- package/dist/v3/lib/zodInputSemantics.d.ts +3 -1
- package/dist/v3/lib/zodInputSemantics.d.ts.map +1 -1
- package/dist/v3/lib/zodInputSemantics.js +17 -0
- package/dist/v3/robots/_image-describe-output.d.ts +55 -0
- package/dist/v3/robots/_image-describe-output.d.ts.map +1 -0
- package/dist/v3/robots/_image-describe-output.js +15 -0
- package/dist/v3/robots/_image-facedetect-output.d.ts +30 -0
- package/dist/v3/robots/_image-facedetect-output.d.ts.map +1 -0
- package/dist/v3/robots/_image-facedetect-output.js +14 -0
- package/dist/v3/robots/_index.d.ts +582 -48
- package/dist/v3/robots/_index.d.ts.map +1 -1
- package/dist/v3/robots/_index.js +84 -80
- package/dist/v3/robots/_instructions-primitives.d.ts +82 -0
- package/dist/v3/robots/_instructions-primitives.d.ts.map +1 -1
- package/dist/v3/robots/_instructions-primitives.js +46 -2
- package/dist/v3/robots/_ocr-output.d.ts +75 -0
- package/dist/v3/robots/_ocr-output.d.ts.map +1 -0
- package/dist/v3/robots/_ocr-output.js +14 -0
- package/dist/v3/robots/ai-chat.d.ts +12 -12
- package/dist/v3/robots/audio-encode.d.ts.map +1 -1
- package/dist/v3/robots/audio-encode.js +8 -1
- package/dist/v3/robots/audio-split.d.ts.map +1 -1
- package/dist/v3/robots/audio-split.js +2 -0
- package/dist/v3/robots/digitalocean-store.d.ts +4 -4
- package/dist/v3/robots/digitalocean-store.js +1 -1
- package/dist/v3/robots/document-convert.d.ts +8 -6
- package/dist/v3/robots/document-convert.d.ts.map +1 -1
- package/dist/v3/robots/document-convert.js +5 -5
- package/dist/v3/robots/document-extract.d.ts +4 -4
- package/dist/v3/robots/document-ocr.d.ts +8 -8
- package/dist/v3/robots/google-store.d.ts +32 -8
- package/dist/v3/robots/google-store.d.ts.map +1 -1
- package/dist/v3/robots/google-store.js +10 -2
- package/dist/v3/robots/image-bgremove.d.ts +16 -16
- package/dist/v3/robots/image-describe.d.ts +17 -17
- package/dist/v3/robots/image-describe.d.ts.map +1 -1
- package/dist/v3/robots/image-describe.js +2 -1
- package/dist/v3/robots/image-facedetect.d.ts +9 -35
- package/dist/v3/robots/image-facedetect.d.ts.map +1 -1
- package/dist/v3/robots/image-facedetect.js +1 -11
- package/dist/v3/robots/image-generate.d.ts +20 -20
- package/dist/v3/robots/image-generate.js +1 -1
- package/dist/v3/robots/image-ocr.d.ts +8 -8
- package/dist/v3/robots/image-upscale.d.ts +17 -12
- package/dist/v3/robots/image-upscale.d.ts.map +1 -1
- package/dist/v3/robots/image-upscale.js +14 -2
- package/dist/v3/robots/mega-store.d.ts +4 -4
- package/dist/v3/robots/mega-store.js +1 -1
- package/dist/v3/robots/s3-store.d.ts +8 -8
- package/dist/v3/robots/s3-store.d.ts.map +1 -1
- package/dist/v3/robots/s3-store.js +14 -2
- package/dist/v3/robots/speech-transcribe.d.ts +12 -12
- package/dist/v3/robots/text-speak.d.ts +8 -8
- package/dist/v3/robots/text-translate.d.ts +8 -8
- package/dist/v3/robots/video-adaptive.d.ts +16 -19
- package/dist/v3/robots/video-adaptive.d.ts.map +1 -1
- package/dist/v3/robots/video-adaptive.js +37 -3
- package/dist/v3/robots/video-concat.d.ts.map +1 -1
- package/dist/v3/robots/video-concat.js +7 -3
- package/dist/v3/robots/video-encode.d.ts.map +1 -1
- package/dist/v3/robots/video-encode.js +6 -0
- package/dist/v3/robots/video-generate.d.ts +20 -20
- package/dist/v3/robots/video-generate.js +1 -1
- package/dist/v3/robots/video-merge.d.ts.map +1 -1
- package/dist/v3/robots/video-merge.js +15 -1
- package/dist/v3/robots/video-split.d.ts.map +1 -1
- package/dist/v3/robots/video-split.js +2 -0
- package/dist/v3/robots/video-subtitle.d.ts +47 -4
- package/dist/v3/robots/video-subtitle.d.ts.map +1 -1
- package/dist/v3/robots/video-subtitle.js +59 -46
- package/dist/v3/robots/vimeo-import.d.ts.map +1 -1
- package/dist/v3/robots/vimeo-import.js +1 -1
- package/dist/v3/robots/youtube-store.d.ts +37 -20
- package/dist/v3/robots/youtube-store.d.ts.map +1 -1
- package/dist/v3/robots/youtube-store.js +17 -29
- package/dist/v3/youtubeCategories.d.ts +20 -0
- package/dist/v3/youtubeCategories.d.ts.map +1 -0
- package/dist/v3/youtubeCategories.js +20 -0
- package/dist/v4/englishInteger.d.ts +3 -0
- package/dist/v4/englishInteger.d.ts.map +1 -0
- package/dist/v4/englishInteger.js +12 -0
- package/dist/v4/lib/zodInputSemantics.d.ts +3 -1
- package/dist/v4/lib/zodInputSemantics.d.ts.map +1 -1
- package/dist/v4/lib/zodInputSemantics.js +6 -0
- package/dist/v4/robots/_image-describe-output.d.ts +23 -0
- package/dist/v4/robots/_image-describe-output.d.ts.map +1 -0
- package/dist/v4/robots/_image-describe-output.js +15 -0
- package/dist/v4/robots/_image-facedetect-output.d.ts +14 -0
- package/dist/v4/robots/_image-facedetect-output.d.ts.map +1 -0
- package/dist/v4/robots/_image-facedetect-output.js +15 -0
- package/dist/v4/robots/_index.d.ts +582 -48
- package/dist/v4/robots/_index.d.ts.map +1 -1
- package/dist/v4/robots/_index.js +84 -80
- package/dist/v4/robots/_instructions-primitives.d.ts +16 -0
- package/dist/v4/robots/_instructions-primitives.d.ts.map +1 -1
- package/dist/v4/robots/_instructions-primitives.js +45 -2
- package/dist/v4/robots/_ocr-output.d.ts +29 -0
- package/dist/v4/robots/_ocr-output.d.ts.map +1 -0
- package/dist/v4/robots/_ocr-output.js +14 -0
- package/dist/v4/robots/audio-encode.d.ts.map +1 -1
- package/dist/v4/robots/audio-encode.js +8 -1
- package/dist/v4/robots/audio-split.d.ts.map +1 -1
- package/dist/v4/robots/audio-split.js +2 -0
- package/dist/v4/robots/digitalocean-store.d.ts +8 -8
- package/dist/v4/robots/digitalocean-store.js +1 -1
- package/dist/v4/robots/document-convert.d.ts +22 -8
- package/dist/v4/robots/document-convert.d.ts.map +1 -1
- package/dist/v4/robots/document-convert.js +5 -5
- package/dist/v4/robots/google-store.d.ts +16 -4
- package/dist/v4/robots/google-store.d.ts.map +1 -1
- package/dist/v4/robots/google-store.js +10 -2
- package/dist/v4/robots/image-describe.d.ts +1 -5
- package/dist/v4/robots/image-describe.d.ts.map +1 -1
- package/dist/v4/robots/image-describe.js +2 -1
- package/dist/v4/robots/image-facedetect.d.ts +1 -11
- package/dist/v4/robots/image-facedetect.d.ts.map +1 -1
- package/dist/v4/robots/image-facedetect.js +1 -12
- package/dist/v4/robots/image-generate.d.ts +0 -4
- package/dist/v4/robots/image-generate.d.ts.map +1 -1
- package/dist/v4/robots/image-generate.js +1 -1
- package/dist/v4/robots/image-upscale.d.ts +5 -0
- package/dist/v4/robots/image-upscale.d.ts.map +1 -1
- package/dist/v4/robots/image-upscale.js +14 -2
- package/dist/v4/robots/mega-store.d.ts +8 -8
- package/dist/v4/robots/mega-store.js +1 -1
- package/dist/v4/robots/s3-store.d.ts +20 -0
- package/dist/v4/robots/s3-store.d.ts.map +1 -1
- package/dist/v4/robots/s3-store.js +14 -2
- package/dist/v4/robots/video-adaptive.d.ts +16 -16
- package/dist/v4/robots/video-adaptive.d.ts.map +1 -1
- package/dist/v4/robots/video-adaptive.js +38 -5
- package/dist/v4/robots/video-concat.d.ts.map +1 -1
- package/dist/v4/robots/video-concat.js +7 -3
- package/dist/v4/robots/video-encode.d.ts.map +1 -1
- package/dist/v4/robots/video-encode.js +6 -0
- package/dist/v4/robots/video-generate.d.ts +0 -4
- package/dist/v4/robots/video-generate.d.ts.map +1 -1
- package/dist/v4/robots/video-generate.js +1 -1
- package/dist/v4/robots/video-merge.d.ts.map +1 -1
- package/dist/v4/robots/video-merge.js +15 -1
- package/dist/v4/robots/video-split.d.ts.map +1 -1
- package/dist/v4/robots/video-split.js +2 -0
- package/dist/v4/robots/video-subtitle.d.ts +31 -4
- package/dist/v4/robots/video-subtitle.d.ts.map +1 -1
- package/dist/v4/robots/video-subtitle.js +58 -46
- package/dist/v4/robots/vimeo-import.d.ts.map +1 -1
- package/dist/v4/robots/vimeo-import.js +1 -1
- package/dist/v4/robots/youtube-store.d.ts +25 -76
- package/dist/v4/robots/youtube-store.d.ts.map +1 -1
- package/dist/v4/robots/youtube-store.js +18 -29
- package/dist/v4/youtubeCategories.d.ts +20 -0
- package/dist/v4/youtubeCategories.d.ts.map +1 -0
- package/dist/v4/youtubeCategories.js +20 -0
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RobotDefinitionWithHiddenFields, RobotMetaInput, RobotSchemaVariantTypes } from './_instructions-primitives.ts';
|
|
2
2
|
import { z } from 'zod/v3';
|
|
3
3
|
export declare const meta: RobotMetaInput;
|
|
4
4
|
export declare const robotYoutubeStoreInstructionsSchema: z.ZodObject<{
|
|
@@ -63,9 +63,9 @@ export declare const robotYoutubeStoreInstructionsSchema: z.ZodObject<{
|
|
|
63
63
|
credentials: z.ZodString;
|
|
64
64
|
title: z.ZodEffects<z.ZodString, string, string>;
|
|
65
65
|
description: z.ZodString;
|
|
66
|
-
category: z.ZodEffects<z.ZodEnum<["autos & vehicles"
|
|
66
|
+
category: z.ZodEffects<z.ZodEnum<["autos & vehicles" | "comedy" | "education" | "entertainment" | "film & animation" | "gaming" | "howto & style" | "music" | "news & politics" | "people & blogs" | "pets & animals" | "science & technology" | "sports" | "travel & events", ...("autos & vehicles" | "comedy" | "education" | "entertainment" | "film & animation" | "gaming" | "howto & style" | "music" | "news & politics" | "people & blogs" | "pets & animals" | "science & technology" | "sports" | "travel & events")[]]>, "autos & vehicles" | "comedy" | "education" | "entertainment" | "film & animation" | "gaming" | "howto & style" | "music" | "news & politics" | "people & blogs" | "pets & animals" | "science & technology" | "sports" | "travel & events", unknown>;
|
|
67
67
|
keywords: z.ZodString;
|
|
68
|
-
visibility: z.ZodEnum<["public", "private", "unlisted"]
|
|
68
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "private", "unlisted"]>>;
|
|
69
69
|
}, "strict", z.ZodTypeAny, {
|
|
70
70
|
description: string;
|
|
71
71
|
result: boolean;
|
|
@@ -101,7 +101,6 @@ export declare const robotYoutubeStoreInstructionsSchema: z.ZodObject<{
|
|
|
101
101
|
robot: "/youtube/store";
|
|
102
102
|
credentials: string;
|
|
103
103
|
keywords: string;
|
|
104
|
-
visibility: "private" | "public" | "unlisted";
|
|
105
104
|
result?: boolean | undefined;
|
|
106
105
|
use?: string | string[] | {
|
|
107
106
|
name: string;
|
|
@@ -124,8 +123,14 @@ export declare const robotYoutubeStoreInstructionsSchema: z.ZodObject<{
|
|
|
124
123
|
force_accept?: boolean | undefined;
|
|
125
124
|
ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
|
|
126
125
|
category?: unknown;
|
|
126
|
+
visibility?: "private" | "public" | "unlisted" | undefined;
|
|
127
127
|
}>;
|
|
128
|
-
|
|
128
|
+
declare const hiddenFields: {
|
|
129
|
+
access_token: z.ZodOptional<z.ZodString>;
|
|
130
|
+
credentials: z.ZodOptional<z.ZodString>;
|
|
131
|
+
refresh_token: z.ZodOptional<z.ZodString>;
|
|
132
|
+
};
|
|
133
|
+
export declare const robotDefinition: RobotDefinitionWithHiddenFields<typeof robotYoutubeStoreInstructionsSchema.shape, typeof hiddenFields>;
|
|
129
134
|
export declare const robotYoutubeStoreInstructionsWithHiddenFieldsSchema: z.ZodObject<{
|
|
130
135
|
interpolate: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">, z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>]>>;
|
|
131
136
|
output_meta: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodBoolean>, z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -182,14 +187,16 @@ export declare const robotYoutubeStoreInstructionsWithHiddenFieldsSchema: z.ZodO
|
|
|
182
187
|
group_by_original?: boolean | undefined;
|
|
183
188
|
}>]>>;
|
|
184
189
|
robot: z.ZodLiteral<"/youtube/store">;
|
|
185
|
-
credentials: z.ZodString;
|
|
186
190
|
title: z.ZodEffects<z.ZodString, string, string>;
|
|
187
191
|
description: z.ZodString;
|
|
188
|
-
category: z.ZodEffects<z.ZodEnum<["autos & vehicles"
|
|
192
|
+
category: z.ZodEffects<z.ZodEnum<["autos & vehicles" | "comedy" | "education" | "entertainment" | "film & animation" | "gaming" | "howto & style" | "music" | "news & politics" | "people & blogs" | "pets & animals" | "science & technology" | "sports" | "travel & events", ...("autos & vehicles" | "comedy" | "education" | "entertainment" | "film & animation" | "gaming" | "howto & style" | "music" | "news & politics" | "people & blogs" | "pets & animals" | "science & technology" | "sports" | "travel & events")[]]>, "autos & vehicles" | "comedy" | "education" | "entertainment" | "film & animation" | "gaming" | "howto & style" | "music" | "news & politics" | "people & blogs" | "pets & animals" | "science & technology" | "sports" | "travel & events", unknown>;
|
|
189
193
|
keywords: z.ZodString;
|
|
190
|
-
visibility: z.ZodEnum<["public", "private", "unlisted"]
|
|
194
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "private", "unlisted"]>>;
|
|
191
195
|
} & {
|
|
192
196
|
result: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"debug">, z.ZodDefault<z.ZodBoolean>]>>;
|
|
197
|
+
access_token: z.ZodOptional<z.ZodString>;
|
|
198
|
+
credentials: z.ZodOptional<z.ZodString>;
|
|
199
|
+
refresh_token: z.ZodOptional<z.ZodString>;
|
|
193
200
|
}, "strict", z.ZodTypeAny, {
|
|
194
201
|
description: string;
|
|
195
202
|
title: string;
|
|
@@ -197,7 +204,6 @@ export declare const robotYoutubeStoreInstructionsWithHiddenFieldsSchema: z.ZodO
|
|
|
197
204
|
user_meta: Record<string, unknown>;
|
|
198
205
|
force_accept: boolean;
|
|
199
206
|
ignore_errors: string[];
|
|
200
|
-
credentials: string;
|
|
201
207
|
category: "autos & vehicles" | "comedy" | "education" | "entertainment" | "film & animation" | "gaming" | "howto & style" | "music" | "news & politics" | "people & blogs" | "pets & animals" | "science & technology" | "sports" | "travel & events";
|
|
202
208
|
keywords: string;
|
|
203
209
|
visibility: "private" | "public" | "unlisted";
|
|
@@ -219,13 +225,14 @@ export declare const robotYoutubeStoreInstructionsWithHiddenFieldsSchema: z.ZodO
|
|
|
219
225
|
interpolate?: boolean | Record<string, boolean> | undefined;
|
|
220
226
|
output_meta?: boolean | string[] | Record<string, boolean> | undefined;
|
|
221
227
|
queue?: "batch" | undefined;
|
|
228
|
+
credentials?: string | undefined;
|
|
229
|
+
access_token?: string | undefined;
|
|
230
|
+
refresh_token?: string | undefined;
|
|
222
231
|
}, {
|
|
223
232
|
description: string;
|
|
224
233
|
title: string;
|
|
225
234
|
robot: "/youtube/store";
|
|
226
|
-
credentials: string;
|
|
227
235
|
keywords: string;
|
|
228
|
-
visibility: "private" | "public" | "unlisted";
|
|
229
236
|
result?: boolean | "debug" | undefined;
|
|
230
237
|
use?: string | string[] | {
|
|
231
238
|
name: string;
|
|
@@ -247,7 +254,11 @@ export declare const robotYoutubeStoreInstructionsWithHiddenFieldsSchema: z.ZodO
|
|
|
247
254
|
queue?: "batch" | undefined;
|
|
248
255
|
force_accept?: boolean | undefined;
|
|
249
256
|
ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
|
|
257
|
+
credentials?: string | undefined;
|
|
258
|
+
access_token?: string | undefined;
|
|
259
|
+
refresh_token?: string | undefined;
|
|
250
260
|
category?: unknown;
|
|
261
|
+
visibility?: "private" | "public" | "unlisted" | undefined;
|
|
251
262
|
}>, interpolatableRobotYoutubeStoreInstructionsSchema: z.ZodObject<{
|
|
252
263
|
interpolate: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">, z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>]>>;
|
|
253
264
|
output_meta: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>;
|
|
@@ -308,9 +319,9 @@ export declare const robotYoutubeStoreInstructionsWithHiddenFieldsSchema: z.ZodO
|
|
|
308
319
|
credentials: z.ZodString;
|
|
309
320
|
title: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodString, string, string>]>;
|
|
310
321
|
description: z.ZodString;
|
|
311
|
-
category: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodEnum<["autos & vehicles"
|
|
322
|
+
category: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodEnum<["autos & vehicles" | "comedy" | "education" | "entertainment" | "film & animation" | "gaming" | "howto & style" | "music" | "news & politics" | "people & blogs" | "pets & animals" | "science & technology" | "sports" | "travel & events", ...("autos & vehicles" | "comedy" | "education" | "entertainment" | "film & animation" | "gaming" | "howto & style" | "music" | "news & politics" | "people & blogs" | "pets & animals" | "science & technology" | "sports" | "travel & events")[]]>, "autos & vehicles" | "comedy" | "education" | "entertainment" | "film & animation" | "gaming" | "howto & style" | "music" | "news & politics" | "people & blogs" | "pets & animals" | "science & technology" | "sports" | "travel & events", unknown>]>;
|
|
312
323
|
keywords: z.ZodString;
|
|
313
|
-
visibility: z.ZodUnion<[z.ZodString, z.ZodEnum<["public", "private", "unlisted"]>]
|
|
324
|
+
visibility: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodEnum<["public", "private", "unlisted"]>]>>;
|
|
314
325
|
}, "strict", z.ZodTypeAny, {
|
|
315
326
|
description: string;
|
|
316
327
|
result: string | boolean;
|
|
@@ -346,7 +357,6 @@ export declare const robotYoutubeStoreInstructionsWithHiddenFieldsSchema: z.ZodO
|
|
|
346
357
|
robot: "/youtube/store";
|
|
347
358
|
credentials: string;
|
|
348
359
|
keywords: string;
|
|
349
|
-
visibility: string;
|
|
350
360
|
result?: string | boolean | undefined;
|
|
351
361
|
use?: string | string[] | {
|
|
352
362
|
name: string;
|
|
@@ -369,6 +379,7 @@ export declare const robotYoutubeStoreInstructionsWithHiddenFieldsSchema: z.ZodO
|
|
|
369
379
|
force_accept?: string | boolean | undefined;
|
|
370
380
|
ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
|
|
371
381
|
category?: unknown;
|
|
382
|
+
visibility?: string | undefined;
|
|
372
383
|
}>, interpolatableRobotYoutubeStoreInstructionsWithHiddenFieldsSchema: z.ZodObject<{
|
|
373
384
|
interpolate: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">, z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>]>>;
|
|
374
385
|
output_meta: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>;
|
|
@@ -425,13 +436,15 @@ export declare const robotYoutubeStoreInstructionsWithHiddenFieldsSchema: z.ZodO
|
|
|
425
436
|
group_by_original?: boolean | undefined;
|
|
426
437
|
}>]>>;
|
|
427
438
|
robot: z.ZodLiteral<"/youtube/store">;
|
|
428
|
-
credentials: z.ZodString;
|
|
429
439
|
title: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodString, string, string>]>;
|
|
430
440
|
description: z.ZodString;
|
|
431
|
-
category: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodEnum<["autos & vehicles"
|
|
441
|
+
category: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodEnum<["autos & vehicles" | "comedy" | "education" | "entertainment" | "film & animation" | "gaming" | "howto & style" | "music" | "news & politics" | "people & blogs" | "pets & animals" | "science & technology" | "sports" | "travel & events", ...("autos & vehicles" | "comedy" | "education" | "entertainment" | "film & animation" | "gaming" | "howto & style" | "music" | "news & politics" | "people & blogs" | "pets & animals" | "science & technology" | "sports" | "travel & events")[]]>, "autos & vehicles" | "comedy" | "education" | "entertainment" | "film & animation" | "gaming" | "howto & style" | "music" | "news & politics" | "people & blogs" | "pets & animals" | "science & technology" | "sports" | "travel & events", unknown>]>;
|
|
432
442
|
keywords: z.ZodString;
|
|
433
|
-
visibility: z.ZodUnion<[z.ZodString, z.ZodEnum<["public", "private", "unlisted"]>]
|
|
443
|
+
visibility: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodEnum<["public", "private", "unlisted"]>]>>;
|
|
434
444
|
result: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<"debug">]>, z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>]>>;
|
|
445
|
+
access_token: z.ZodOptional<z.ZodString>;
|
|
446
|
+
credentials: z.ZodOptional<z.ZodString>;
|
|
447
|
+
refresh_token: z.ZodOptional<z.ZodString>;
|
|
435
448
|
}, "strict", z.ZodTypeAny, {
|
|
436
449
|
description: string;
|
|
437
450
|
title: string;
|
|
@@ -439,7 +452,6 @@ export declare const robotYoutubeStoreInstructionsWithHiddenFieldsSchema: z.ZodO
|
|
|
439
452
|
user_meta: Record<string, unknown>;
|
|
440
453
|
force_accept: string | boolean;
|
|
441
454
|
ignore_errors: string | string[];
|
|
442
|
-
credentials: string;
|
|
443
455
|
category: string;
|
|
444
456
|
keywords: string;
|
|
445
457
|
visibility: string;
|
|
@@ -461,13 +473,14 @@ export declare const robotYoutubeStoreInstructionsWithHiddenFieldsSchema: z.ZodO
|
|
|
461
473
|
interpolate?: boolean | Record<string, boolean> | undefined;
|
|
462
474
|
output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
|
|
463
475
|
queue?: string | undefined;
|
|
476
|
+
credentials?: string | undefined;
|
|
477
|
+
access_token?: string | undefined;
|
|
478
|
+
refresh_token?: string | undefined;
|
|
464
479
|
}, {
|
|
465
480
|
description: string;
|
|
466
481
|
title: string;
|
|
467
482
|
robot: "/youtube/store";
|
|
468
|
-
credentials: string;
|
|
469
483
|
keywords: string;
|
|
470
|
-
visibility: string;
|
|
471
484
|
result?: string | boolean | undefined;
|
|
472
485
|
use?: string | string[] | {
|
|
473
486
|
name: string;
|
|
@@ -489,7 +502,11 @@ export declare const robotYoutubeStoreInstructionsWithHiddenFieldsSchema: z.ZodO
|
|
|
489
502
|
queue?: string | undefined;
|
|
490
503
|
force_accept?: string | boolean | undefined;
|
|
491
504
|
ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
|
|
505
|
+
credentials?: string | undefined;
|
|
506
|
+
access_token?: string | undefined;
|
|
507
|
+
refresh_token?: string | undefined;
|
|
492
508
|
category?: unknown;
|
|
509
|
+
visibility?: string | undefined;
|
|
493
510
|
}>;
|
|
494
511
|
type Instructions = RobotSchemaVariantTypes<typeof robotDefinition>;
|
|
495
512
|
export type RobotYoutubeStoreInstructions = Instructions['output'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"youtube-store.d.ts","sourceRoot":"","sources":["../../../src/v3/robots/youtube-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"youtube-store.d.ts","sourceRoot":"","sources":["../../../src/v3/robots/youtube-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAC/B,cAAc,EACd,uBAAuB,EACxB,MAAM,+BAA+B,CAAA;AAEtC,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAoB1B,eAAO,MAAM,IAAI,EAAE,cAiBlB,CAAA;AAED,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoDrC,CAAA;AAIX,QAAA,MAAM,YAAY;;;;CAIjB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,+BAA+B,CAC3D,OAAO,mCAAmC,CAAC,KAAK,EAChD,OAAO,YAAY,CACmE,CAAA;AAExF,eAAO,MACa,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACrD,iDAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACjC,iEAAiE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAChF,CAAA;AAEnB,KAAK,YAAY,GAAG,uBAAuB,CAAC,OAAO,eAAe,CAAC,CAAA;AAEnE,MAAM,MAAM,6BAA6B,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAA;AAClE,MAAM,MAAM,6CAA6C,GAAG,YAAY,CAAC,cAAc,CAAC,CAAA;AACxF,MAAM,MAAM,2CAA2C,GAAG,YAAY,CAAC,qBAAqB,CAAC,CAAA;AAC7F,MAAM,MAAM,gDAAgD,GAAG,YAAY,CAAC,qBAAqB,CAAC,CAAA;AAClG,MAAM,MAAM,2DAA2D,GACrE,YAAY,CAAC,4BAA4B,CAAC,CAAA;AAC5C,MAAM,MAAM,gEAAgE,GAC1E,YAAY,CAAC,2BAA2B,CAAC,CAAA"}
|
|
@@ -1,32 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod/v3';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
'autos & vehicles',
|
|
6
|
-
'comedy',
|
|
7
|
-
'education',
|
|
8
|
-
'entertainment',
|
|
9
|
-
'film & animation',
|
|
10
|
-
'gaming',
|
|
11
|
-
'howto & style',
|
|
12
|
-
'music',
|
|
13
|
-
'news & politics',
|
|
14
|
-
'people & blogs',
|
|
15
|
-
'pets & animals',
|
|
16
|
-
'science & technology',
|
|
17
|
-
'sports',
|
|
18
|
-
'travel & events',
|
|
19
|
-
];
|
|
20
|
-
function asciiCaseInsensitiveLiteral(value) {
|
|
21
|
-
return [...value]
|
|
22
|
-
.map((character) => character >= 'a' && character <= 'z' ? `[${character}${character.toUpperCase()}]` : character)
|
|
23
|
-
.join('');
|
|
24
|
-
}
|
|
2
|
+
import { zodCaseInsensitiveEnum, zodCodePointLength } from "../lib/zodInputSemantics.js";
|
|
3
|
+
import { youtubeCategories } from "../youtubeCategories.js";
|
|
4
|
+
import { createProcessingExample, defineRobotWithHiddenFields, robotBase, robotStoreMeta, robotUse, } from "./_instructions-primitives.js";
|
|
25
5
|
const youtubeCategoryValueSchema = z.enum(youtubeCategories);
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
.regex(new RegExp(`^(?:${youtubeCategories.map(asciiCaseInsensitiveLiteral).join('|')})$`, 'u'));
|
|
29
|
-
const youtubeCategorySchema = zodWithJsonInputSchema(z.preprocess((value) => (typeof value === 'string' ? value.toLowerCase() : value), youtubeCategoryValueSchema), youtubeCategoryInputSchema);
|
|
6
|
+
// Preserve the existing SDK input type for this already-preprocessed field.
|
|
7
|
+
const youtubeCategorySchema = zodCaseInsensitiveEnum(youtubeCategoryValueSchema);
|
|
30
8
|
export const meta = {
|
|
31
9
|
...robotStoreMeta,
|
|
32
10
|
hideCredentialsWarning: true,
|
|
@@ -90,10 +68,20 @@ The category to which this video will be assigned.
|
|
|
90
68
|
keywords: z.string().describe(`
|
|
91
69
|
Tags used to describe the video, separated by commas. These tags will also be displayed on YouTube.
|
|
92
70
|
`),
|
|
93
|
-
visibility: z
|
|
71
|
+
visibility: z
|
|
72
|
+
.enum(['public', 'private', 'unlisted'])
|
|
73
|
+
.default('public')
|
|
74
|
+
.describe(`
|
|
94
75
|
Defines the visibility of the uploaded video.
|
|
95
76
|
`),
|
|
96
77
|
})
|
|
97
78
|
.strict();
|
|
98
|
-
|
|
79
|
+
// Credential alternatives stay optional while Templates and Assembly overrides are merged.
|
|
80
|
+
// YoutubeStoreRobot validates the resolved tokens after credential injection.
|
|
81
|
+
const hiddenFields = {
|
|
82
|
+
access_token: z.string().optional(),
|
|
83
|
+
credentials: robotYoutubeStoreInstructionsSchema.shape.credentials.optional(),
|
|
84
|
+
refresh_token: z.string().optional(),
|
|
85
|
+
};
|
|
86
|
+
export const robotDefinition = defineRobotWithHiddenFields(meta, robotYoutubeStoreInstructionsSchema, hiddenFields);
|
|
99
87
|
export const { withHiddenFields: robotYoutubeStoreInstructionsWithHiddenFieldsSchema, interpolatable: interpolatableRobotYoutubeStoreInstructionsSchema, interpolatableWithHiddenFields: interpolatableRobotYoutubeStoreInstructionsWithHiddenFieldsSchema, } = robotDefinition;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** YouTube upload categories shared by authored instructions and execution. */
|
|
2
|
+
export declare const youtubeCategoryIds: {
|
|
3
|
+
'autos & vehicles': string;
|
|
4
|
+
comedy: string;
|
|
5
|
+
education: string;
|
|
6
|
+
entertainment: string;
|
|
7
|
+
'film & animation': string;
|
|
8
|
+
gaming: string;
|
|
9
|
+
'howto & style': string;
|
|
10
|
+
music: string;
|
|
11
|
+
'news & politics': string;
|
|
12
|
+
'people & blogs': string;
|
|
13
|
+
'pets & animals': string;
|
|
14
|
+
'science & technology': string;
|
|
15
|
+
sports: string;
|
|
16
|
+
'travel & events': string;
|
|
17
|
+
};
|
|
18
|
+
/** Canonical category spellings; authoring and execution also accept case variants. */
|
|
19
|
+
export declare const youtubeCategories: [keyof typeof youtubeCategoryIds, ...(keyof typeof youtubeCategoryIds)[]];
|
|
20
|
+
//# sourceMappingURL=youtubeCategories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"youtubeCategories.d.ts","sourceRoot":"","sources":["../../src/v3/youtubeCategories.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;CAeG,CAAA;AAElC,uFAAuF;AAEvF,eAAO,MAAM,iBAAiB,EAAsC,CAClE,MAAM,OAAO,kBAAkB,EAC/B,GAAG,CAAC,MAAM,OAAO,kBAAkB,CAAC,EAAE,CACvC,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** YouTube upload categories shared by authored instructions and execution. */
|
|
2
|
+
export const youtubeCategoryIds = {
|
|
3
|
+
'autos & vehicles': '2',
|
|
4
|
+
comedy: '23',
|
|
5
|
+
education: '27',
|
|
6
|
+
entertainment: '24',
|
|
7
|
+
'film & animation': '1',
|
|
8
|
+
gaming: '20',
|
|
9
|
+
'howto & style': '26',
|
|
10
|
+
music: '10',
|
|
11
|
+
'news & politics': '25',
|
|
12
|
+
'people & blogs': '22',
|
|
13
|
+
'pets & animals': '15',
|
|
14
|
+
'science & technology': '28',
|
|
15
|
+
sports: '17',
|
|
16
|
+
'travel & events': '19',
|
|
17
|
+
};
|
|
18
|
+
/** Canonical category spellings; authoring and execution also accept case variants. */
|
|
19
|
+
// Object.keys loses literal keys and nonemptiness, both guaranteed by the map above.
|
|
20
|
+
export const youtubeCategories = Object.keys(youtubeCategoryIds);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"englishInteger.d.ts","sourceRoot":"","sources":["../../src/v4/englishInteger.ts"],"names":[],"mappings":"AAAA,yFAAyF;AACzF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAY1D"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Format canonical English integers without depending on the host's ICU locale data. */
|
|
2
|
+
export function formatEnglishInteger(value) {
|
|
3
|
+
if (!Number.isSafeInteger(value)) {
|
|
4
|
+
throw new Error(`API-reference English integers must be safe integers, received ${value}`);
|
|
5
|
+
}
|
|
6
|
+
const digits = Math.abs(value).toString();
|
|
7
|
+
const groups = [];
|
|
8
|
+
for (let end = digits.length; end > 0; end -= 3) {
|
|
9
|
+
groups.unshift(digits.slice(Math.max(0, end - 3), end));
|
|
10
|
+
}
|
|
11
|
+
return `${value < 0 ? '-' : ''}${groups.join(',')}`;
|
|
12
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
2
|
export interface ZodCodePointLengthOptions {
|
|
3
3
|
readonly max?: number;
|
|
4
4
|
readonly min?: number;
|
|
5
5
|
}
|
|
6
6
|
/** ECMAScript whitespace for the runtime regular expressions in shared Robot schemas. */
|
|
7
7
|
export declare const ecmaWhitespaceCharacterClass: string;
|
|
8
|
+
/** Accept ASCII case variants and return the enum’s canonical spelling. */
|
|
9
|
+
export declare function zodCaseInsensitiveEnum<Schema extends z.ZodEnum<Record<string, string>>>(schema: Schema): z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, Schema>;
|
|
8
10
|
/** Apply the Robot's output transform using the public Zod API. */
|
|
9
11
|
export declare function zodInputPreservingTransform<Schema extends z.ZodTypeAny, Output>(schema: Schema, transform: (value: z.output<Schema>) => Output): z.ZodPipe<Schema, z.ZodTransform<Awaited<Output>, z.core.output<Schema>>>;
|
|
10
12
|
/** JSON input projections belong to API2's publisher; the SDK validates with the original schema. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zodInputSemantics.d.ts","sourceRoot":"","sources":["../../../src/v4/lib/zodInputSemantics.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"zodInputSemantics.d.ts","sourceRoot":"","sources":["../../../src/v4/lib/zodInputSemantics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,yFAAyF;AACzF,eAAO,MAAM,4BAA4B,QAAmB,CAAA;AAE5D,2EAA2E;AAC3E,wBAAgB,sBAAsB,CAAC,MAAM,SAAS,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,6EAKtG;AAED,mEAAmE;AACnE,wBAAgB,2BAA2B,CAAC,MAAM,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,EAC7E,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,MAAM,6EAI/C;AAED,qGAAqG;AACrG,wBAAgB,sBAAsB,CAAC,MAAM,SAAS,CAAC,CAAC,UAAU,EAChE,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,CAAC,CAAC,UAAU,GAC7B,MAAM,CAER;AAED,oGAAoG;AACpG,wBAAgB,kCAAkC,CAAC,MAAM,SAAS,CAAC,CAAC,UAAU,EAC5E,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,CAAC,CAAC,UAAU,GAC7B,MAAM,CAER;AAuBD,6EAA6E;AAC7E,wBAAgB,oBAAoB,CAAC,MAAM,SAAS,CAAC,CAAC,UAAU,EAC9D,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC,yBAYlD;AAQD,wFAAwF;AACxF,wBAAgB,kBAAkB,CAAC,MAAM,SAAS,CAAC,CAAC,SAAS,EAC3D,MAAM,EAAE,MAAM,EACd,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,yBAAyB,UA+BxC"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
1
2
|
/** ECMAScript whitespace for the runtime regular expressions in shared Robot schemas. */
|
|
2
3
|
export const ecmaWhitespaceCharacterClass = String.raw `[\s]`;
|
|
4
|
+
/** Accept ASCII case variants and return the enum’s canonical spelling. */
|
|
5
|
+
export function zodCaseInsensitiveEnum(schema) {
|
|
6
|
+
const lowercaseAscii = (value) => value.replace(/[A-Z]/gu, (character) => character.toLowerCase());
|
|
7
|
+
return z.string().transform((value) => schema.options.find((option) => lowercaseAscii(option) === lowercaseAscii(value)) ?? value).pipe(schema);
|
|
8
|
+
}
|
|
3
9
|
/** Apply the Robot's output transform using the public Zod API. */
|
|
4
10
|
export function zodInputPreservingTransform(schema, transform) {
|
|
5
11
|
// Inference retains each Zod version's native effect/pipe type for generated schema consumers.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
/** An AWS/GCP full-granularity image description, including explicit-content labels. */
|
|
3
|
+
export declare const imageDescribeLabelSchema: z.ZodObject<{
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
confidence: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
/** Full-granularity JSON output from image description providers. */
|
|
8
|
+
export declare const imageDescribeFullOutputSchema: z.ZodArray<z.ZodObject<{
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
confidence: z.ZodNumber;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
/** Full-granularity metadata projection with descriptions required. */
|
|
13
|
+
export declare const imageDescribeFullMetaSchema: z.ZodObject<{
|
|
14
|
+
descriptions: z.ZodArray<z.ZodObject<{
|
|
15
|
+
name: z.ZodString;
|
|
16
|
+
confidence: z.ZodNumber;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
/** List-granularity metadata projection with description names required. */
|
|
20
|
+
export declare const imageDescribeListMetaSchema: z.ZodObject<{
|
|
21
|
+
descriptions: z.ZodArray<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
//# sourceMappingURL=_image-describe-output.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_image-describe-output.d.ts","sourceRoot":"","sources":["../../../src/v4/robots/_image-describe-output.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAI1B,wFAAwF;AACxF,eAAO,MAAM,wBAAwB;;;iBAGnC,CAAA;AAEF,qEAAqE;AACrE,eAAO,MAAM,6BAA6B;;;kBAAoC,CAAA;AAE9E,uEAAuE;AACvE,eAAO,MAAM,2BAA2B;;;;;iBAEtC,CAAA;AAEF,4EAA4E;AAC5E,eAAO,MAAM,2BAA2B;;iBAAkD,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
// Assembly Status browser consumers must not initialize Robot instruction definitions.
|
|
3
|
+
/** An AWS/GCP full-granularity image description, including explicit-content labels. */
|
|
4
|
+
export const imageDescribeLabelSchema = z.object({
|
|
5
|
+
name: z.string(),
|
|
6
|
+
confidence: z.number(),
|
|
7
|
+
});
|
|
8
|
+
/** Full-granularity JSON output from image description providers. */
|
|
9
|
+
export const imageDescribeFullOutputSchema = z.array(imageDescribeLabelSchema);
|
|
10
|
+
/** Full-granularity metadata projection with descriptions required. */
|
|
11
|
+
export const imageDescribeFullMetaSchema = z.object({
|
|
12
|
+
descriptions: imageDescribeFullOutputSchema,
|
|
13
|
+
});
|
|
14
|
+
/** List-granularity metadata projection with description names required. */
|
|
15
|
+
export const imageDescribeListMetaSchema = z.object({ descriptions: z.array(z.string()) });
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
/** Provider face coordinates retain optional endpoints and confidence, plus unknown fields. */
|
|
3
|
+
export declare const imageFacedetectFaceCoordinatesSchema: z.ZodObject<{
|
|
4
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
height: z.ZodNumber;
|
|
6
|
+
width: z.ZodNumber;
|
|
7
|
+
x1: z.ZodNumber;
|
|
8
|
+
x2: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
y1: z.ZodNumber;
|
|
10
|
+
y2: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
12
|
+
/** Face coordinates emitted by the AWS/GCP provider boundary. */
|
|
13
|
+
export type ImageFacedetectFaceCoordinates = z.infer<typeof imageFacedetectFaceCoordinatesSchema>;
|
|
14
|
+
//# sourceMappingURL=_image-facedetect-output.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_image-facedetect-output.d.ts","sourceRoot":"","sources":["../../../src/v4/robots/_image-facedetect-output.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAI1B,+FAA+F;AAC/F,eAAO,MAAM,oCAAoC;;;;;;;;kCAUzB,CAAA;AAExB,iEAAiE;AACjE,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { optionalWithV3Semantics } from "../lib/sdkZodOptional.js";
|
|
2
|
+
import { z } from 'zod/v4';
|
|
3
|
+
// Assembly Status browser consumers must not initialize Robot instruction definitions.
|
|
4
|
+
/** Provider face coordinates retain optional endpoints and confidence, plus unknown fields. */
|
|
5
|
+
export const imageFacedetectFaceCoordinatesSchema = z
|
|
6
|
+
.object({
|
|
7
|
+
confidence: optionalWithV3Semantics(z.number()),
|
|
8
|
+
height: z.number(),
|
|
9
|
+
width: z.number(),
|
|
10
|
+
x1: z.number(),
|
|
11
|
+
x2: optionalWithV3Semantics(z.number()),
|
|
12
|
+
y1: z.number(),
|
|
13
|
+
y2: optionalWithV3Semantics(z.number()),
|
|
14
|
+
})
|
|
15
|
+
.catchall(z.unknown());
|