@transloadit/zod 6.0.0 → 7.1.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/builtinTemplates.d.ts +40 -0
- package/dist/v3/builtinTemplates.d.ts.map +1 -1
- package/dist/v3/builtinTemplates.js +29 -0
- 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/responseErrors/DocumentConvertRobot.d.ts +17 -0
- package/dist/v3/responseErrors/DocumentConvertRobot.d.ts.map +1 -0
- package/dist/v3/responseErrors/DocumentConvertRobot.js +16 -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 +24 -5
- package/dist/v3/robots/document-extract.d.ts +28 -16
- package/dist/v3/robots/document-extract.d.ts.map +1 -1
- package/dist/v3/robots/document-extract.js +51 -1
- 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/html-convert.d.ts.map +1 -1
- package/dist/v3/robots/html-convert.js +1 -0
- 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 +26 -12
- package/dist/v3/robots/speech-transcribe.d.ts.map +1 -1
- package/dist/v3/robots/speech-transcribe.js +42 -2
- 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 +11 -0
- package/dist/v3/robots/video-split.d.ts.map +1 -1
- package/dist/v3/robots/video-split.js +4 -1
- package/dist/v3/robots/video-subtitle.d.ts +71 -28
- package/dist/v3/robots/video-subtitle.d.ts.map +1 -1
- package/dist/v3/robots/video-subtitle.js +63 -49
- package/dist/v3/robots/video-thumbs.d.ts +36 -36
- package/dist/v3/robots/video-thumbs.d.ts.map +1 -1
- package/dist/v3/robots/video-thumbs.js +8 -3
- 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/template.d.ts.map +1 -1
- package/dist/v3/template.js +5 -2
- 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/assemblyStatus.d.ts +2 -2
- package/dist/v4/builtinTemplates.d.ts +22 -0
- package/dist/v4/builtinTemplates.d.ts.map +1 -1
- package/dist/v4/builtinTemplates.js +29 -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/responseErrors/DocumentConvertRobot.d.ts +17 -0
- package/dist/v4/responseErrors/DocumentConvertRobot.d.ts.map +1 -0
- package/dist/v4/responseErrors/DocumentConvertRobot.js +16 -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 +50 -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 +24 -5
- package/dist/v4/robots/document-extract.d.ts +12 -0
- package/dist/v4/robots/document-extract.d.ts.map +1 -1
- package/dist/v4/robots/document-extract.js +51 -1
- 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/html-convert.d.ts.map +1 -1
- package/dist/v4/robots/html-convert.js +1 -0
- 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/speech-transcribe.d.ts +6 -0
- package/dist/v4/robots/speech-transcribe.d.ts.map +1 -1
- package/dist/v4/robots/speech-transcribe.js +42 -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 +5 -0
- package/dist/v4/robots/video-split.d.ts.map +1 -1
- package/dist/v4/robots/video-split.js +4 -1
- package/dist/v4/robots/video-subtitle.d.ts +43 -16
- package/dist/v4/robots/video-subtitle.d.ts.map +1 -1
- package/dist/v4/robots/video-subtitle.js +65 -55
- package/dist/v4/robots/video-thumbs.d.ts +12 -12
- package/dist/v4/robots/video-thumbs.d.ts.map +1 -1
- package/dist/v4/robots/video-thumbs.js +10 -5
- 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/template.d.ts.map +1 -1
- package/dist/v4/template.js +5 -2
- 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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../src/v3/template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,OAAO,KAAK,EACV,YAAY,EACZ,6BAA6B,EAC9B,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAA;
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../src/v3/template.ts"],"names":[],"mappings":"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"}
|
package/dist/v3/template.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod/v3';
|
|
2
2
|
import { robotsSchema, robotsWithHiddenBotsAndFieldsSchema, } from "./robots/_index.js";
|
|
3
|
+
import { refineDocumentExtractOcr } from "./robots/document-extract.js";
|
|
3
4
|
import { refineTransloaditImportSelector } from "./robots/transloadit-import.js";
|
|
4
5
|
export const stepSchema = z
|
|
5
6
|
.object({
|
|
@@ -9,7 +10,8 @@ export const stepSchema = z
|
|
|
9
10
|
.describe('Identifier of the [robot](https://transloadit.com/docs/robots/) to execute'),
|
|
10
11
|
})
|
|
11
12
|
.and(robotsSchema)
|
|
12
|
-
.superRefine(refineTransloaditImportSelector)
|
|
13
|
+
.superRefine(refineTransloaditImportSelector)
|
|
14
|
+
.superRefine(refineDocumentExtractOcr);
|
|
13
15
|
export const stepsSchema = z
|
|
14
16
|
.record(stepSchema)
|
|
15
17
|
.describe('Contains Assembly Instructions.');
|
|
@@ -22,7 +24,8 @@ export const stepSchemaWithHiddenFields = z
|
|
|
22
24
|
.describe('Identifier of the [robot](https://transloadit.com/docs/robots/) to execute'),
|
|
23
25
|
})
|
|
24
26
|
.and(robotsWithHiddenBotsAndFieldsSchema)
|
|
25
|
-
.superRefine(refineTransloaditImportSelector)
|
|
27
|
+
.superRefine(refineTransloaditImportSelector)
|
|
28
|
+
.superRefine(refineDocumentExtractOcr);
|
|
26
29
|
export const stepsSchemaWithHiddenFields = z
|
|
27
30
|
.record(stepSchemaWithHiddenFields)
|
|
28
31
|
.describe('Contains Assembly Instructions.');
|
|
@@ -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);
|
|
@@ -16,6 +16,8 @@ export declare const assemblyStatusOkCodeSchema: z.ZodEnum<{
|
|
|
16
16
|
export type AssemblyStatusOkCode = z.infer<typeof assemblyStatusOkCodeSchema>;
|
|
17
17
|
/** Runtime and stored errors, including historical codes omitted from API2's public catalog. */
|
|
18
18
|
export declare const assemblyStatusErrCodeSchema: z.ZodEnum<{
|
|
19
|
+
DOCUMENT_CONVERT_VALIDATION: "DOCUMENT_CONVERT_VALIDATION";
|
|
20
|
+
DOCUMENT_CONVERT_UNSUPPORTED_CONVERSION: "DOCUMENT_CONVERT_UNSUPPORTED_CONVERSION";
|
|
19
21
|
HTTP_IMPORT_VALIDATION: "HTTP_IMPORT_VALIDATION";
|
|
20
22
|
HTTP_IMPORT_FAILURE: "HTTP_IMPORT_FAILURE";
|
|
21
23
|
HTTP_IMPORT_NOT_FOUND: "HTTP_IMPORT_NOT_FOUND";
|
|
@@ -134,8 +136,6 @@ export declare const assemblyStatusErrCodeSchema: z.ZodEnum<{
|
|
|
134
136
|
DIGITALOCEAN_STORE_VALIDATION: "DIGITALOCEAN_STORE_VALIDATION";
|
|
135
137
|
DIGITALOCEAN_STORE_WRONG_REGION: "DIGITALOCEAN_STORE_WRONG_REGION";
|
|
136
138
|
DOCUMENT_AUTOROTATE_VALIDATION: "DOCUMENT_AUTOROTATE_VALIDATION";
|
|
137
|
-
DOCUMENT_CONVERT_UNSUPPORTED_CONVERSION: "DOCUMENT_CONVERT_UNSUPPORTED_CONVERSION";
|
|
138
|
-
DOCUMENT_CONVERT_VALIDATION: "DOCUMENT_CONVERT_VALIDATION";
|
|
139
139
|
DOCUMENT_EXTRACT_VALIDATION: "DOCUMENT_EXTRACT_VALIDATION";
|
|
140
140
|
DOCUMENT_MERGE_UNSUPPORTED_CONVERSION: "DOCUMENT_MERGE_UNSUPPORTED_CONVERSION";
|
|
141
141
|
DOCUMENT_MERGE_VALIDATION: "DOCUMENT_MERGE_VALIDATION";
|
|
@@ -32,4 +32,26 @@ export declare const builtinTemplateDocsSchema: z.ZodArray<z.ZodObject<{
|
|
|
32
32
|
}, z.core.$strict>>;
|
|
33
33
|
}, z.core.$strict>>;
|
|
34
34
|
export type BuiltinTemplateDoc = z.infer<typeof builtinTemplateDocSchema>;
|
|
35
|
+
/** Standalone catalog JSON Schema, or null when a Builtin has no declared fields contract. */
|
|
36
|
+
export declare const builtinTemplateFieldsSchema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
37
|
+
/**
|
|
38
|
+
* Runtime catalog projection used by Builtin clients. API2 supplies descriptions, field schemas
|
|
39
|
+
* and defaults; absent and null schemas remain distinct, and neither declares a usable contract.
|
|
40
|
+
*/
|
|
41
|
+
export declare const builtinTemplateCatalogItemSchema: z.ZodObject<{
|
|
42
|
+
id: z.ZodString;
|
|
43
|
+
description: z.ZodOptional<z.ZodString>;
|
|
44
|
+
fields_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
45
|
+
content: z.ZodObject<{
|
|
46
|
+
fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
/** Runtime catalog item after missing fields have been normalized to an empty object. */
|
|
50
|
+
export type BuiltinTemplateCatalogItem = z.infer<typeof builtinTemplateCatalogItemSchema>;
|
|
51
|
+
/**
|
|
52
|
+
* MCP channel approvals: exact reviewed versions and temporarily excluded field values.
|
|
53
|
+
* Membership is explicit; a catalog schema, a new Builtin version, or Storage eligibility does
|
|
54
|
+
* not grant MCP approval. Keep runtime descriptions, schemas and defaults in API2's catalog.
|
|
55
|
+
*/
|
|
56
|
+
export declare const mcpBuiltinTemplateManifest: Readonly<Record<string, Readonly<Record<string, readonly string[]>>>>;
|
|
35
57
|
//# sourceMappingURL=builtinTemplates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builtinTemplates.d.ts","sourceRoot":"","sources":["../../src/v4/builtinTemplates.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;kBAiB1B,CAAA;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;mBAAoC,CAAA;AAE1E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"builtinTemplates.d.ts","sourceRoot":"","sources":["../../src/v4/builtinTemplates.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;kBAiB1B,CAAA;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;mBAAoC,CAAA;AAE1E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEzE,8FAA8F;AAC9F,eAAO,MAAM,2BAA2B,uDAA+C,CAAA;AAEvF;;;GAGG;AACH,eAAO,MAAM,gCAAgC;;;;;;;iBAK3C,CAAA;AAEF,yFAAyF;AACzF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAEzF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAC/C,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC,CAAC,CAY5D,CAAA"}
|
|
@@ -17,3 +17,32 @@ export const builtinTemplateDocSchema = z
|
|
|
17
17
|
})
|
|
18
18
|
.strict();
|
|
19
19
|
export const builtinTemplateDocsSchema = z.array(builtinTemplateDocSchema);
|
|
20
|
+
/** Standalone catalog JSON Schema, or null when a Builtin has no declared fields contract. */
|
|
21
|
+
export const builtinTemplateFieldsSchema = z.record(z.string(), z.unknown()).nullable();
|
|
22
|
+
/**
|
|
23
|
+
* Runtime catalog projection used by Builtin clients. API2 supplies descriptions, field schemas
|
|
24
|
+
* and defaults; absent and null schemas remain distinct, and neither declares a usable contract.
|
|
25
|
+
*/
|
|
26
|
+
export const builtinTemplateCatalogItemSchema = z.object({
|
|
27
|
+
id: z.string(),
|
|
28
|
+
description: optionalWithV3Semantics(z.string()),
|
|
29
|
+
fields_schema: optionalWithV3Semantics(builtinTemplateFieldsSchema),
|
|
30
|
+
content: z.object({ fields: z.record(z.string(), z.unknown()).default({}) }),
|
|
31
|
+
});
|
|
32
|
+
/**
|
|
33
|
+
* MCP channel approvals: exact reviewed versions and temporarily excluded field values.
|
|
34
|
+
* Membership is explicit; a catalog schema, a new Builtin version, or Storage eligibility does
|
|
35
|
+
* not grant MCP approval. Keep runtime descriptions, schemas and defaults in API2's catalog.
|
|
36
|
+
*/
|
|
37
|
+
export const mcpBuiltinTemplateManifest = {
|
|
38
|
+
'builtin/caption-video@0.0.1': {},
|
|
39
|
+
'builtin/capture-webpage@0.0.1': {},
|
|
40
|
+
'builtin/convert-to-pdf@0.0.1': {},
|
|
41
|
+
// Remove only after api2#9960 is deployed and its VP8/turbo output is verified.
|
|
42
|
+
'builtin/encode-video@0.0.1': { preset: ['webm'] },
|
|
43
|
+
'builtin/extract-text@0.0.1': {},
|
|
44
|
+
'builtin/prepare-image@0.0.1': {},
|
|
45
|
+
'builtin/remove-background@0.0.1': {},
|
|
46
|
+
'builtin/transcribe@0.0.1': {},
|
|
47
|
+
'builtin/video-covers@0.0.1': {},
|
|
48
|
+
};
|
|
@@ -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,17 @@
|
|
|
1
|
+
/** Public reason when diagnostics identify a service-side document-loading failure. */
|
|
2
|
+
export declare const documentConvertLoadInternalErrorReason = "LibreOffice could not load the document. Please contact support.";
|
|
3
|
+
/** Public reason for a load refusal without evidence of a service-side failure. */
|
|
4
|
+
export declare const documentConvertLoadUserErrorReason = "LibreOffice could not load the document. It may be damaged, password-protected, or in an unsupported format. If it opens elsewhere, please contact support.";
|
|
5
|
+
/** DocumentConvertRobot error payloads shared by runtime and the Assembly Status contract. */
|
|
6
|
+
export declare const documentConvertRobotErrors: {
|
|
7
|
+
readonly DOCUMENT_CONVERT_VALIDATION: {
|
|
8
|
+
readonly error: "DOCUMENT_CONVERT_VALIDATION";
|
|
9
|
+
readonly http_code: 400;
|
|
10
|
+
};
|
|
11
|
+
readonly DOCUMENT_CONVERT_UNSUPPORTED_CONVERSION: {
|
|
12
|
+
readonly error: "DOCUMENT_CONVERT_UNSUPPORTED_CONVERSION";
|
|
13
|
+
readonly http_code: 400;
|
|
14
|
+
readonly message: "The conversion from the input file's format to the desired output format is not supported.";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=DocumentConvertRobot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentConvertRobot.d.ts","sourceRoot":"","sources":["../../../src/v4/responseErrors/DocumentConvertRobot.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,eAAO,MAAM,sCAAsC,qEACiB,CAAA;AAEpE,mFAAmF;AACnF,eAAO,MAAM,kCAAkC,gKACgH,CAAA;AAE/J,8FAA8F;AAC9F,eAAO,MAAM,0BAA0B;;;;;;;;;;CAW7B,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Public reason when diagnostics identify a service-side document-loading failure. */
|
|
2
|
+
export const documentConvertLoadInternalErrorReason = 'LibreOffice could not load the document. Please contact support.';
|
|
3
|
+
/** Public reason for a load refusal without evidence of a service-side failure. */
|
|
4
|
+
export const documentConvertLoadUserErrorReason = 'LibreOffice could not load the document. It may be damaged, password-protected, or in an unsupported format. If it opens elsewhere, please contact support.';
|
|
5
|
+
/** DocumentConvertRobot error payloads shared by runtime and the Assembly Status contract. */
|
|
6
|
+
export const documentConvertRobotErrors = {
|
|
7
|
+
DOCUMENT_CONVERT_VALIDATION: {
|
|
8
|
+
error: 'DOCUMENT_CONVERT_VALIDATION',
|
|
9
|
+
http_code: 400,
|
|
10
|
+
},
|
|
11
|
+
DOCUMENT_CONVERT_UNSUPPORTED_CONVERSION: {
|
|
12
|
+
error: 'DOCUMENT_CONVERT_UNSUPPORTED_CONVERSION',
|
|
13
|
+
http_code: 400,
|
|
14
|
+
message: "The conversion from the input file's format to the desired output format is not supported.",
|
|
15
|
+
},
|
|
16
|
+
};
|
|
@@ -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"}
|