@executioncontrolprotocol/adobe-firefly-services 0.14.0 → 0.60.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/README.md +113 -84
- package/dist/auth/ims.d.ts +47 -14
- package/dist/auth/ims.d.ts.map +1 -1
- package/dist/auth/ims.js +127 -26
- package/dist/auth/ims.js.map +1 -1
- package/dist/config.d.ts +27 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +51 -0
- package/dist/config.js.map +1 -0
- package/dist/errors.d.ts +42 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +53 -0
- package/dist/errors.js.map +1 -0
- package/dist/generated/audio-video/capabilities.d.ts +21 -36
- package/dist/generated/audio-video/capabilities.d.ts.map +1 -1
- package/dist/generated/audio-video/capabilities.js +295 -259
- package/dist/generated/audio-video/capabilities.js.map +1 -1
- package/dist/generated/audio-video/operations.d.ts +13 -0
- package/dist/generated/audio-video/operations.d.ts.map +1 -0
- package/dist/generated/audio-video/operations.js +182 -0
- package/dist/generated/audio-video/operations.js.map +1 -0
- package/dist/generated/audio-video/schemas.d.ts +245 -82
- package/dist/generated/audio-video/schemas.d.ts.map +1 -1
- package/dist/generated/audio-video/schemas.js +552 -466
- package/dist/generated/audio-video/schemas.js.map +1 -1
- package/dist/generated/creative-production/capabilities.d.ts +10 -10
- package/dist/generated/creative-production/capabilities.d.ts.map +1 -1
- package/dist/generated/creative-production/capabilities.js +64 -77
- package/dist/generated/creative-production/capabilities.js.map +1 -1
- package/dist/generated/creative-production/operations.d.ts +13 -0
- package/dist/generated/creative-production/operations.d.ts.map +1 -0
- package/dist/generated/creative-production/operations.js +48 -0
- package/dist/generated/creative-production/operations.js.map +1 -0
- package/dist/generated/creative-production/schemas.d.ts +65 -21
- package/dist/generated/creative-production/schemas.d.ts.map +1 -1
- package/dist/generated/creative-production/schemas.js +149 -128
- package/dist/generated/creative-production/schemas.js.map +1 -1
- package/dist/generated/express/capabilities.d.ts +11 -10
- package/dist/generated/express/capabilities.d.ts.map +1 -1
- package/dist/generated/express/capabilities.js +65 -64
- package/dist/generated/express/capabilities.js.map +1 -1
- package/dist/generated/express/operations.d.ts +13 -0
- package/dist/generated/express/operations.d.ts.map +1 -0
- package/dist/generated/express/operations.js +58 -0
- package/dist/generated/express/operations.js.map +1 -0
- package/dist/generated/express/schemas.d.ts +100 -34
- package/dist/generated/express/schemas.d.ts.map +1 -1
- package/dist/generated/express/schemas.js +165 -134
- package/dist/generated/express/schemas.js.map +1 -1
- package/dist/generated/firefly/capabilities.d.ts +18 -28
- package/dist/generated/firefly/capabilities.d.ts.map +1 -1
- package/dist/generated/firefly/capabilities.js +289 -172
- package/dist/generated/firefly/capabilities.js.map +1 -1
- package/dist/generated/firefly/operations.d.ts +13 -0
- package/dist/generated/firefly/operations.d.ts.map +1 -0
- package/dist/generated/firefly/operations.js +145 -0
- package/dist/generated/firefly/operations.js.map +1 -0
- package/dist/generated/firefly/schemas.d.ts +250 -105
- package/dist/generated/firefly/schemas.d.ts.map +1 -1
- package/dist/generated/firefly/schemas.js +462 -451
- package/dist/generated/firefly/schemas.js.map +1 -1
- package/dist/generated/illustrator/capabilities.d.ts +11 -16
- package/dist/generated/illustrator/capabilities.d.ts.map +1 -1
- package/dist/generated/illustrator/capabilities.js +99 -100
- package/dist/generated/illustrator/capabilities.js.map +1 -1
- package/dist/generated/illustrator/operations.d.ts +13 -0
- package/dist/generated/illustrator/operations.d.ts.map +1 -0
- package/dist/generated/illustrator/operations.js +65 -0
- package/dist/generated/illustrator/operations.js.map +1 -0
- package/dist/generated/illustrator/schemas.d.ts +85 -54
- package/dist/generated/illustrator/schemas.d.ts.map +1 -1
- package/dist/generated/illustrator/schemas.js +187 -233
- package/dist/generated/illustrator/schemas.js.map +1 -1
- package/dist/generated/indesign/capabilities.d.ts +19 -32
- package/dist/generated/indesign/capabilities.d.ts.map +1 -1
- package/dist/generated/indesign/capabilities.js +394 -197
- package/dist/generated/indesign/capabilities.js.map +1 -1
- package/dist/generated/indesign/operations.d.ts +13 -0
- package/dist/generated/indesign/operations.d.ts.map +1 -0
- package/dist/generated/indesign/operations.js +133 -0
- package/dist/generated/indesign/operations.js.map +1 -0
- package/dist/generated/indesign/schemas.d.ts +75 -24
- package/dist/generated/indesign/schemas.d.ts.map +1 -1
- package/dist/generated/indesign/schemas.js +351 -240
- package/dist/generated/indesign/schemas.js.map +1 -1
- package/dist/generated/index.d.ts +74 -3
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +28 -97
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/photoshop/capabilities.d.ts +13 -14
- package/dist/generated/photoshop/capabilities.d.ts.map +1 -1
- package/dist/generated/photoshop/capabilities.js +133 -90
- package/dist/generated/photoshop/capabilities.js.map +1 -1
- package/dist/generated/photoshop/operations.d.ts +13 -0
- package/dist/generated/photoshop/operations.d.ts.map +1 -0
- package/dist/generated/photoshop/operations.js +88 -0
- package/dist/generated/photoshop/operations.js.map +1 -0
- package/dist/generated/photoshop/schemas.d.ts +430 -152
- package/dist/generated/photoshop/schemas.d.ts.map +1 -1
- package/dist/generated/photoshop/schemas.js +809 -716
- package/dist/generated/photoshop/schemas.js.map +1 -1
- package/dist/generated/substance3d/capabilities.d.ts +16 -22
- package/dist/generated/substance3d/capabilities.d.ts.map +1 -1
- package/dist/generated/substance3d/capabilities.js +181 -136
- package/dist/generated/substance3d/capabilities.js.map +1 -1
- package/dist/generated/substance3d/operations.d.ts +13 -0
- package/dist/generated/substance3d/operations.d.ts.map +1 -0
- package/dist/generated/substance3d/operations.js +114 -0
- package/dist/generated/substance3d/operations.js.map +1 -0
- package/dist/generated/substance3d/schemas.d.ts +305 -76
- package/dist/generated/substance3d/schemas.d.ts.map +1 -1
- package/dist/generated/substance3d/schemas.js +634 -515
- package/dist/generated/substance3d/schemas.js.map +1 -1
- package/dist/http/async-job.d.ts +24 -14
- package/dist/http/async-job.d.ts.map +1 -1
- package/dist/http/async-job.js +135 -69
- package/dist/http/async-job.js.map +1 -1
- package/dist/http/client.d.ts +54 -26
- package/dist/http/client.d.ts.map +1 -1
- package/dist/http/client.js +136 -53
- package/dist/http/client.js.map +1 -1
- package/dist/http/request-limit.d.ts +42 -0
- package/dist/http/request-limit.d.ts.map +1 -0
- package/dist/http/request-limit.js +46 -0
- package/dist/http/request-limit.js.map +1 -0
- package/dist/index.d.ts +84 -30
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -34
- package/dist/index.js.map +1 -1
- package/dist/runtime/abort.d.ts +17 -0
- package/dist/runtime/abort.d.ts.map +1 -0
- package/dist/runtime/abort.js +51 -0
- package/dist/runtime/abort.js.map +1 -0
- package/dist/runtime/assemble.d.ts +99 -0
- package/dist/runtime/assemble.d.ts.map +1 -0
- package/dist/runtime/assemble.js +159 -0
- package/dist/runtime/assemble.js.map +1 -0
- package/dist/runtime/invoke-capability.d.ts +46 -0
- package/dist/runtime/invoke-capability.d.ts.map +1 -0
- package/dist/runtime/invoke-capability.js +68 -0
- package/dist/runtime/invoke-capability.js.map +1 -0
- package/dist/runtime/product-shape.d.ts +49 -0
- package/dist/runtime/product-shape.d.ts.map +1 -0
- package/dist/runtime/product-shape.js +309 -0
- package/dist/runtime/product-shape.js.map +1 -0
- package/dist/schemas.d.ts +13 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +7 -0
- package/dist/schemas.js.map +1 -0
- package/ecp.manifest.json +840 -0
- package/ecp.schema.json +23498 -0
- package/package.json +28 -21
- package/dist/generated/audio-video/capabilities.browser.d.ts +0 -37
- package/dist/generated/audio-video/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/audio-video/capabilities.browser.js +0 -44
- package/dist/generated/audio-video/capabilities.browser.js.map +0 -1
- package/dist/generated/audio-video/index.d.ts +0 -3
- package/dist/generated/audio-video/index.d.ts.map +0 -1
- package/dist/generated/audio-video/index.js +0 -3
- package/dist/generated/audio-video/index.js.map +0 -1
- package/dist/generated/audio-video/shells.d.ts +0 -39
- package/dist/generated/audio-video/shells.d.ts.map +0 -1
- package/dist/generated/audio-video/shells.js +0 -290
- package/dist/generated/audio-video/shells.js.map +0 -1
- package/dist/generated/creative-production/capabilities.browser.d.ts +0 -11
- package/dist/generated/creative-production/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/creative-production/capabilities.browser.js +0 -18
- package/dist/generated/creative-production/capabilities.browser.js.map +0 -1
- package/dist/generated/creative-production/index.d.ts +0 -3
- package/dist/generated/creative-production/index.d.ts.map +0 -1
- package/dist/generated/creative-production/index.js +0 -3
- package/dist/generated/creative-production/index.js.map +0 -1
- package/dist/generated/creative-production/shells.d.ts +0 -13
- package/dist/generated/creative-production/shells.d.ts.map +0 -1
- package/dist/generated/creative-production/shells.js +0 -108
- package/dist/generated/creative-production/shells.js.map +0 -1
- package/dist/generated/express/capabilities.browser.d.ts +0 -11
- package/dist/generated/express/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/express/capabilities.browser.js +0 -18
- package/dist/generated/express/capabilities.browser.js.map +0 -1
- package/dist/generated/express/index.d.ts +0 -3
- package/dist/generated/express/index.d.ts.map +0 -1
- package/dist/generated/express/index.js +0 -3
- package/dist/generated/express/index.js.map +0 -1
- package/dist/generated/express/shells.d.ts +0 -13
- package/dist/generated/express/shells.d.ts.map +0 -1
- package/dist/generated/express/shells.js +0 -72
- package/dist/generated/express/shells.js.map +0 -1
- package/dist/generated/firefly/capabilities.browser.d.ts +0 -29
- package/dist/generated/firefly/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/firefly/capabilities.browser.js +0 -36
- package/dist/generated/firefly/capabilities.browser.js.map +0 -1
- package/dist/generated/firefly/index.d.ts +0 -3
- package/dist/generated/firefly/index.d.ts.map +0 -1
- package/dist/generated/firefly/index.js +0 -3
- package/dist/generated/firefly/index.js.map +0 -1
- package/dist/generated/firefly/shells.d.ts +0 -31
- package/dist/generated/firefly/shells.d.ts.map +0 -1
- package/dist/generated/firefly/shells.js +0 -199
- package/dist/generated/firefly/shells.js.map +0 -1
- package/dist/generated/illustrator/capabilities.browser.d.ts +0 -17
- package/dist/generated/illustrator/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/illustrator/capabilities.browser.js +0 -24
- package/dist/generated/illustrator/capabilities.browser.js.map +0 -1
- package/dist/generated/illustrator/index.d.ts +0 -3
- package/dist/generated/illustrator/index.d.ts.map +0 -1
- package/dist/generated/illustrator/index.js +0 -3
- package/dist/generated/illustrator/index.js.map +0 -1
- package/dist/generated/illustrator/shells.d.ts +0 -19
- package/dist/generated/illustrator/shells.d.ts.map +0 -1
- package/dist/generated/illustrator/shells.js +0 -106
- package/dist/generated/illustrator/shells.js.map +0 -1
- package/dist/generated/indesign/capabilities.browser.d.ts +0 -33
- package/dist/generated/indesign/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/indesign/capabilities.browser.js +0 -40
- package/dist/generated/indesign/capabilities.browser.js.map +0 -1
- package/dist/generated/indesign/index.d.ts +0 -3
- package/dist/generated/indesign/index.d.ts.map +0 -1
- package/dist/generated/indesign/index.js +0 -3
- package/dist/generated/indesign/index.js.map +0 -1
- package/dist/generated/indesign/shells.d.ts +0 -35
- package/dist/generated/indesign/shells.d.ts.map +0 -1
- package/dist/generated/indesign/shells.js +0 -208
- package/dist/generated/indesign/shells.js.map +0 -1
- package/dist/generated/index.browser.d.ts +0 -4
- package/dist/generated/index.browser.d.ts.map +0 -1
- package/dist/generated/index.browser.js +0 -98
- package/dist/generated/index.browser.js.map +0 -1
- package/dist/generated/photoshop/capabilities.browser.d.ts +0 -15
- package/dist/generated/photoshop/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/photoshop/capabilities.browser.js +0 -22
- package/dist/generated/photoshop/capabilities.browser.js.map +0 -1
- package/dist/generated/photoshop/index.d.ts +0 -3
- package/dist/generated/photoshop/index.d.ts.map +0 -1
- package/dist/generated/photoshop/index.js +0 -3
- package/dist/generated/photoshop/index.js.map +0 -1
- package/dist/generated/photoshop/shells.d.ts +0 -17
- package/dist/generated/photoshop/shells.d.ts.map +0 -1
- package/dist/generated/photoshop/shells.js +0 -92
- package/dist/generated/photoshop/shells.js.map +0 -1
- package/dist/generated/substance3d/capabilities.browser.d.ts +0 -23
- package/dist/generated/substance3d/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/substance3d/capabilities.browser.js +0 -30
- package/dist/generated/substance3d/capabilities.browser.js.map +0 -1
- package/dist/generated/substance3d/index.d.ts +0 -3
- package/dist/generated/substance3d/index.d.ts.map +0 -1
- package/dist/generated/substance3d/index.js +0 -3
- package/dist/generated/substance3d/index.js.map +0 -1
- package/dist/generated/substance3d/shells.d.ts +0 -25
- package/dist/generated/substance3d/shells.d.ts.map +0 -1
- package/dist/generated/substance3d/shells.js +0 -146
- package/dist/generated/substance3d/shells.js.map +0 -1
- package/dist/index.browser.d.ts +0 -19
- package/dist/index.browser.d.ts.map +0 -1
- package/dist/index.browser.js +0 -27
- package/dist/index.browser.js.map +0 -1
- package/dist/runtime/invoke.d.ts +0 -67
- package/dist/runtime/invoke.d.ts.map +0 -1
- package/dist/runtime/invoke.js +0 -69
- package/dist/runtime/invoke.js.map +0 -1
- package/dist/runtime/photoshop-manifest.d.ts +0 -40
- package/dist/runtime/photoshop-manifest.d.ts.map +0 -1
- package/dist/runtime/photoshop-manifest.js +0 -115
- package/dist/runtime/photoshop-manifest.js.map +0 -1
- package/dist/shared.d.ts +0 -11
- package/dist/shared.d.ts.map +0 -1
- package/dist/shared.js +0 -39
- package/dist/shared.js.map +0 -1
- package/openapi/audio-video/audio-video-api.json +0 -8333
- package/openapi/audio-video/translate-lipsync-openapi.json +0 -1967
- package/openapi/content-tagging/SOURCE.md +0 -10
- package/openapi/creative-production/workflow-builder-api.yaml +0 -1002
- package/openapi/express/ffs-express-api.json +0 -2262
- package/openapi/firefly/firefly-api.json +0 -4964
- package/openapi/illustrator/illustrator-api-beta.json +0 -1329
- package/openapi/illustrator/illustrator-api.json +0 -2447
- package/openapi/indesign/indesignapi.json +0 -2907
- package/openapi/overlays/schema-fixes.json +0 -95
- package/openapi/photoshop/photoshopv2-api.json +0 -5395
- package/openapi/substance3d/openapi.yaml +0 -3583
|
@@ -1,56 +1,87 @@
|
|
|
1
|
-
/** Generated from illustrator/illustrator-api-beta.json, illustrator/illustrator-api.json — do not edit. */
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export declare const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export declare const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export declare const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export declare const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export declare const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
export declare const
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
export declare const
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
export declare const
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
export declare const
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
2
|
+
/**
|
|
3
|
+
* OpenAPI component `CreateRenditionOutputMediaType`, request (closed).
|
|
4
|
+
* @category Generated
|
|
5
|
+
*/
|
|
6
|
+
export declare const In_CreateRenditionOutputMediaType: z.ZodType;
|
|
7
|
+
/**
|
|
8
|
+
* OpenAPI component `CreateRenditionRequest`, request (closed).
|
|
9
|
+
* @category Generated
|
|
10
|
+
*/
|
|
11
|
+
export declare const In_CreateRenditionRequest: z.ZodType;
|
|
12
|
+
/**
|
|
13
|
+
* OpenAPI component `CreateRenditionSourceMediaType`, request (closed).
|
|
14
|
+
* @category Generated
|
|
15
|
+
*/
|
|
16
|
+
export declare const In_CreateRenditionSourceMediaType: z.ZodType;
|
|
17
|
+
/**
|
|
18
|
+
* OpenAPI component `CustomScriptExecuteRequest`, request (closed).
|
|
19
|
+
* @category Generated
|
|
20
|
+
*/
|
|
21
|
+
export declare const In_CustomScriptExecuteRequest: z.ZodType;
|
|
22
|
+
/**
|
|
23
|
+
* OpenAPI component `DataMergeFontFile`, request (closed).
|
|
24
|
+
* @category Generated
|
|
25
|
+
*/
|
|
26
|
+
export declare const In_DataMergeFontFile: z.ZodType;
|
|
27
|
+
/**
|
|
28
|
+
* OpenAPI component `DataMergeFontFileMediaType`, request (closed).
|
|
29
|
+
* @category Generated
|
|
30
|
+
*/
|
|
31
|
+
export declare const In_DataMergeFontFileMediaType: z.ZodType;
|
|
32
|
+
/**
|
|
33
|
+
* OpenAPI component `DataMergeOutputMediaType`, request (closed).
|
|
34
|
+
* @category Generated
|
|
35
|
+
*/
|
|
36
|
+
export declare const In_DataMergeOutputMediaType: z.ZodType;
|
|
37
|
+
/**
|
|
38
|
+
* OpenAPI component `DataMergeRequest`, request (closed).
|
|
39
|
+
* @category Generated
|
|
40
|
+
*/
|
|
41
|
+
export declare const In_DataMergeRequest: z.ZodType;
|
|
42
|
+
/**
|
|
43
|
+
* OpenAPI component `VectorizeInputMediaType`, request (closed).
|
|
44
|
+
* @category Generated
|
|
45
|
+
*/
|
|
46
|
+
export declare const In_VectorizeInputMediaType: z.ZodType;
|
|
47
|
+
/**
|
|
48
|
+
* OpenAPI component `VectorizeRequest`, request (closed).
|
|
49
|
+
* @category Generated
|
|
50
|
+
*/
|
|
51
|
+
export declare const In_VectorizeRequest: z.ZodType;
|
|
52
|
+
/**
|
|
53
|
+
* OpenAPI component `CustomScriptJobConversionDetails`, response (open).
|
|
54
|
+
* @category Generated
|
|
55
|
+
*/
|
|
56
|
+
export declare const Out_CustomScriptJobConversionDetails: z.ZodType;
|
|
57
|
+
/**
|
|
58
|
+
* OpenAPI component `CustomScriptJobSucceededResponse`, response (open).
|
|
59
|
+
* @category Generated
|
|
60
|
+
*/
|
|
61
|
+
export declare const Out_CustomScriptJobSucceededResponse: z.ZodType;
|
|
62
|
+
/**
|
|
63
|
+
* OpenAPI component `CustomScriptOutputItem`, response (open).
|
|
64
|
+
* @category Generated
|
|
65
|
+
*/
|
|
66
|
+
export declare const Out_CustomScriptOutputItem: z.ZodType;
|
|
67
|
+
/**
|
|
68
|
+
* OpenAPI component `DataMergeJobApiResponse`, response (open).
|
|
69
|
+
* @category Generated
|
|
70
|
+
*/
|
|
71
|
+
export declare const Out_DataMergeJobApiResponse: z.ZodType;
|
|
72
|
+
/**
|
|
73
|
+
* OpenAPI component `DataMergeOutputWithRow`, response (open).
|
|
74
|
+
* @category Generated
|
|
75
|
+
*/
|
|
76
|
+
export declare const Out_DataMergeOutputWithRow: z.ZodType;
|
|
77
|
+
/**
|
|
78
|
+
* OpenAPI component `ImageTraceJobApiResponse`, response (open).
|
|
79
|
+
* @category Generated
|
|
80
|
+
*/
|
|
81
|
+
export declare const Out_ImageTraceJobApiResponse: z.ZodType;
|
|
82
|
+
/**
|
|
83
|
+
* OpenAPI component `ImageTraceOutput`, response (open).
|
|
84
|
+
* @category Generated
|
|
85
|
+
*/
|
|
86
|
+
export declare const Out_ImageTraceOutput: z.ZodType;
|
|
56
87
|
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/generated/illustrator/schemas.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/generated/illustrator/schemas.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;GAGG;AACH,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAkM,CAAA;AAEpP;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAevC,CAAA;AAEH;;;GAGG;AACH,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAA0G,CAAA;AAE5J;;;GAGG;AACH,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAasD,CAAA;AAEpG;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAKlC,CAAA;AAEH;;;GAGG;AACH,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAqI,CAAA;AAEnL;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAiN,CAAA;AAE7P;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,OAuBjC,CAAA;AAEH;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAgH,CAAA;AAE3J;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,OAU0D,CAAA;AAE9F;;;GAGG;AACH,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAIgB,CAAA;AAErE;;;GAGG;AACH,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAQuB,CAAA;AAE5E;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAKxC,CAAA;AAEH;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAIkE,CAAA;AAE9G;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAMiB,CAAA;AAE5D;;;GAGG;AACH,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAI2B,CAAA;AAExE;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAKlC,CAAA"}
|
|
@@ -1,237 +1,191 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
1
|
+
/* Generated by scripts/generate-capabilities.mjs. Do not edit; run `pnpm run generate`. */
|
|
2
|
+
/* Source: illustrator/illustrator-api-beta.json, illustrator/illustrator-api.json */
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI component `CreateRenditionOutputMediaType`, request (closed).
|
|
6
|
+
* @category Generated
|
|
7
|
+
*/
|
|
8
|
+
export const In_CreateRenditionOutputMediaType = z.lazy(() => z.enum(["image/png", "image/jpeg", "image/webp", "image/svg+xml", "application/pdf", "application/eps"])).describe("The desired output media type for the converted file.");
|
|
9
|
+
/**
|
|
10
|
+
* OpenAPI component `CreateRenditionRequest`, request (closed).
|
|
11
|
+
* @category Generated
|
|
12
|
+
*/
|
|
13
|
+
export const In_CreateRenditionRequest = z.lazy(() => z.strictObject({
|
|
14
|
+
input: z.strictObject({
|
|
15
|
+
source: z.strictObject({
|
|
16
|
+
url: z.string().describe("The URL pointing to the Adobe Illustrator file. Only the following allow-listed domains can be used: amazonaws.com, windows.net, dropboxusercontent.com, assets.frame.io, storage.googleapis.com.")
|
|
17
|
+
}).describe("The source containing the Adobe Illustrator file."),
|
|
18
|
+
mediaType: In_CreateRenditionSourceMediaType.optional().describe("The media type of the source file. Optional, defaults to application/illustrator.")
|
|
19
|
+
}).describe("The input object containing source and media type."),
|
|
20
|
+
output: z.strictObject({
|
|
21
|
+
mediaType: In_CreateRenditionOutputMediaType
|
|
22
|
+
}).describe("Output specification for the rendition operation with desired media type."),
|
|
23
|
+
settings: z.strictObject({
|
|
24
|
+
documentLevel: z.union([z.literal(0), z.literal(1)]).describe("Document level - 0 for artboard level, 1 for document level"),
|
|
25
|
+
artboardRange: z.string().optional().describe("Artboard range to export (e.g., '1-3', '1,2,5'). Required when documentLevel is 0."),
|
|
26
|
+
resolution: z.number().min(4).max(2400).optional().describe("Resolution in DPI (dots per inch) for the output. Must be an integer between 4 and 2400 for PNG and JPEG formats. Defaults to 72. Not applicable for other formats (PDF, EPS, SVG, or WEBP).")
|
|
27
|
+
}).describe("Settings for controlling the rendition process.")
|
|
28
|
+
}));
|
|
29
|
+
/**
|
|
30
|
+
* OpenAPI component `CreateRenditionSourceMediaType`, request (closed).
|
|
31
|
+
* @category Generated
|
|
32
|
+
*/
|
|
33
|
+
export const In_CreateRenditionSourceMediaType = z.lazy(() => z.enum(["application/illustrator"])).describe("The media type of the source file.");
|
|
34
|
+
/**
|
|
35
|
+
* OpenAPI component `CustomScriptExecuteRequest`, request (closed).
|
|
36
|
+
* @category Generated
|
|
37
|
+
*/
|
|
38
|
+
export const In_CustomScriptExecuteRequest = z.lazy(() => z.strictObject({
|
|
39
|
+
assets: z.array(z.strictObject({
|
|
40
|
+
source: z.strictObject({
|
|
41
|
+
url: z.string().describe("Presigned URL pointing to the asset.")
|
|
42
|
+
}).describe("Presigned URL for the asset."),
|
|
43
|
+
destination: z.string().describe("Local filename for the asset in the job workspace (referenced by `targetDocument` and other params). Path relative to the job workspace. Cannot contain `..`, a leading `/`, or `./`. Must be a valid filename.")
|
|
44
|
+
})).describe("Array of **Input assets**. Information about the assets, which will be used to process the job (for example AI documents, font archives, packaged assets, and so on)."),
|
|
45
|
+
params: z.strictObject({
|
|
46
|
+
targetDocument: z.string().describe("Filename of the Illustrator document to process."),
|
|
47
|
+
outputFolderPath: z.string().describe("Output folder path for generated files."),
|
|
48
|
+
zip: z.string().optional().describe("Optional. Destination filename of a zipped asset when inputs are packaged as a ZIP."),
|
|
49
|
+
fontFolderPath: z.string().optional().describe("Optional. Relative path to a font folder when required by the script. Path relative to the job workspace. Cannot contain `..`, a leading `/`, or `./`. Must be a valid filename. To use this parameter, the `zip` parameter must also be provided.")
|
|
21
50
|
}).optional()
|
|
22
|
-
})));
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
51
|
+
})).describe("This job request object specifies parameters for the execution of the custom script.");
|
|
52
|
+
/**
|
|
53
|
+
* OpenAPI component `DataMergeFontFile`, request (closed).
|
|
54
|
+
* @category Generated
|
|
55
|
+
*/
|
|
56
|
+
export const In_DataMergeFontFile = z.lazy(() => z.strictObject({
|
|
57
|
+
source: z.strictObject({
|
|
58
|
+
url: z.string().describe("The URL pointing to the resource. Only the following allow-listed domains can be used: amazonaws.com, windows.net, dropboxusercontent.com, assets.frame.io, storage.googleapis.com.")
|
|
59
|
+
}).describe("The source containing the font file."),
|
|
60
|
+
mediaType: In_DataMergeFontFileMediaType
|
|
61
|
+
}));
|
|
62
|
+
/**
|
|
63
|
+
* OpenAPI component `DataMergeFontFileMediaType`, request (closed).
|
|
64
|
+
* @category Generated
|
|
65
|
+
*/
|
|
66
|
+
export const In_DataMergeFontFileMediaType = z.lazy(() => z.enum(["font/ttf", "font/otf"])).describe("The media type of the font file. Supports font/ttf and font/otf.");
|
|
67
|
+
/**
|
|
68
|
+
* OpenAPI component `DataMergeOutputMediaType`, request (closed).
|
|
69
|
+
* @category Generated
|
|
70
|
+
*/
|
|
71
|
+
export const In_DataMergeOutputMediaType = z.lazy(() => z.enum(["image/png", "image/jpeg", "application/pdf", "image/svg+xml", "application/illustrator", "application/eps"])).describe("The desired output media type for the merged documents.");
|
|
72
|
+
/**
|
|
73
|
+
* OpenAPI component `DataMergeRequest`, request (closed).
|
|
74
|
+
* @category Generated
|
|
75
|
+
*/
|
|
76
|
+
export const In_DataMergeRequest = z.lazy(() => z.strictObject({
|
|
77
|
+
data: z.strictObject({
|
|
78
|
+
source: z.strictObject({
|
|
79
|
+
url: z.string().describe("The URL pointing to the resource. Only the following allow-listed domains can be used: amazonaws.com, windows.net, dropboxusercontent.com, assets.frame.io, storage.googleapis.com.")
|
|
80
|
+
}).describe("The source containing the CSV file with variable data. The media type defaults to `text/csv`.")
|
|
81
|
+
}).describe("The data source containing variable data. Must be a CSV file."),
|
|
82
|
+
template: z.strictObject({
|
|
83
|
+
source: z.strictObject({
|
|
84
|
+
url: z.string().describe("The URL pointing to the resource. Only the following allow-listed domains can be used: amazonaws.com, windows.net, dropboxusercontent.com, assets.frame.io, storage.googleapis.com.")
|
|
85
|
+
}).describe("The source containing the Adobe Illustrator template file.")
|
|
86
|
+
}).describe("The template source (Adobe Illustrator file)."),
|
|
87
|
+
fontFiles: z.array(In_DataMergeFontFile).optional().describe("Optional array of font files to be used in the template. Supports .ttf and .otf font formats."),
|
|
88
|
+
settings: z.strictObject({
|
|
89
|
+
fontSettings: z.strictObject({
|
|
90
|
+
autoReduceFontSizeToFit: z.boolean().optional().describe("Automatically reduce font size to fit text within text boxes. Defaults to false if not specified."),
|
|
91
|
+
minFontSize: z.number().optional().describe("Minimum font size (in points) when `autoReduceFontSizeToFit` is enabled. Must be a positive number."),
|
|
92
|
+
fallBackFont: z.string().optional().describe("A case-sensitive PostScript font name (like Roboto-Thin, Oxygen, or SourceSansPro-Bold) to use as a fallback when the fonts are missing in the template file.")
|
|
93
|
+
}).optional().describe("Settings for font handling during the merge operation.")
|
|
94
|
+
}).optional().describe("Settings for the data merge operation."),
|
|
95
|
+
output: z.strictObject({
|
|
96
|
+
fileName: z.string().describe("The output file name. May or may not have an extension. It is recommended to provide with extension (e.g., 'result.png', 'output.pdf')."),
|
|
97
|
+
mediaType: In_DataMergeOutputMediaType
|
|
98
|
+
}).describe("Output specification for the merge operation with file name and media type.")
|
|
99
|
+
}));
|
|
100
|
+
/**
|
|
101
|
+
* OpenAPI component `VectorizeInputMediaType`, request (closed).
|
|
102
|
+
* @category Generated
|
|
103
|
+
*/
|
|
104
|
+
export const In_VectorizeInputMediaType = z.lazy(() => z.enum(["image/png", "image/jpeg"])).describe("The media type of the input raster file.");
|
|
105
|
+
/**
|
|
106
|
+
* OpenAPI component `VectorizeRequest`, request (closed).
|
|
107
|
+
* @category Generated
|
|
108
|
+
*/
|
|
109
|
+
export const In_VectorizeRequest = z.lazy(() => z.strictObject({
|
|
110
|
+
input: z.strictObject({
|
|
111
|
+
source: z.strictObject({
|
|
112
|
+
url: z.string().describe("The URL pointing to the input raster file.")
|
|
113
|
+
}).describe("The source containing the raster file to vectorize."),
|
|
114
|
+
mediaType: In_VectorizeInputMediaType.describe("The media type of the source file.")
|
|
115
|
+
}).describe("Input raster source and media type."),
|
|
116
|
+
settings: z.strictObject({
|
|
117
|
+
preset: z.enum(["enhanced_general", "high_fidelity_photo"]).optional().describe("Vectorization preset. `enhanced_general` favors a clean, vector-style look. `high_fidelity_photo` favors photorealistic tracing. Omit to use the service default. Other values return 400.")
|
|
118
|
+
}).optional().describe("Optional vectorization preset (`preset` only).")
|
|
119
|
+
})).describe("Request body for an Image Trace job. Input accepts PNG or JPEG; output is SVG.");
|
|
120
|
+
/**
|
|
121
|
+
* OpenAPI component `CustomScriptJobConversionDetails`, response (open).
|
|
122
|
+
* @category Generated
|
|
123
|
+
*/
|
|
124
|
+
export const Out_CustomScriptJobConversionDetails = z.lazy(() => z.looseObject({
|
|
125
|
+
inputFile: z.string().optional().describe("Name of the input Illustrator file."),
|
|
126
|
+
outputFolderPath: z.string().optional().describe("Name of the output folder."),
|
|
127
|
+
success: z.boolean().optional().describe("Whether conversion succeeded.")
|
|
128
|
+
})).describe("Details of the conversion performed during execution.");
|
|
129
|
+
/**
|
|
130
|
+
* OpenAPI component `CustomScriptJobSucceededResponse`, response (open).
|
|
131
|
+
* @category Generated
|
|
132
|
+
*/
|
|
133
|
+
export const Out_CustomScriptJobSucceededResponse = z.lazy(() => z.looseObject({
|
|
134
|
+
jobId: z.string().describe("The job ID."),
|
|
135
|
+
timestamp: z.string().describe("ISO 8601 timestamp of when the status was recorded."),
|
|
136
|
+
status: z.enum(["succeeded"]),
|
|
137
|
+
data: z.looseObject({
|
|
138
|
+
conversionDetails: Out_CustomScriptJobConversionDetails.optional()
|
|
44
139
|
}).optional(),
|
|
45
|
-
|
|
46
|
-
})));
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"
|
|
76
|
-
})));
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
export const
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
"data": Schema_DataMergeData,
|
|
97
|
-
"template": Schema_DataMergeTemplate,
|
|
98
|
-
"fontFiles": z.array(Schema_DataMergeFontFile).optional(),
|
|
99
|
-
"settings": Schema_DataMergeSettings.optional(),
|
|
100
|
-
"output": Schema_DataMergeOutputSpec
|
|
101
|
-
})));
|
|
102
|
-
export const Schema_JobLinkResponse = z.lazy(() => (z.object({
|
|
103
|
-
"jobId": z.string(),
|
|
104
|
-
"statusUrl": z.string()
|
|
105
|
-
})));
|
|
106
|
-
export const Schema_JobError = z.lazy(() => (z.object({
|
|
107
|
-
"error_code": z.string(),
|
|
108
|
-
"message": z.string().optional(),
|
|
109
|
-
"validation_errors": z.array(z.string()).optional()
|
|
110
|
-
})));
|
|
111
|
-
export const Schema_UnauthorizedError = z.lazy(() => (z.object({
|
|
112
|
-
"title": z.string().optional(),
|
|
113
|
-
"status": z.number().int(),
|
|
114
|
-
"error_code": z.number().int(),
|
|
115
|
-
"message": z.string().optional()
|
|
116
|
-
})));
|
|
117
|
-
export const Schema_ForbiddenError = z.lazy(() => (z.object({
|
|
118
|
-
"title": z.string().optional(),
|
|
119
|
-
"status": z.number().int(),
|
|
120
|
-
"error_code": z.number().int(),
|
|
121
|
-
"message": z.string().optional()
|
|
122
|
-
})));
|
|
123
|
-
export const Schema_LongJobError = z.lazy(() => (z.object({
|
|
124
|
-
"title": z.string().optional(),
|
|
125
|
-
"status": z.number().int(),
|
|
126
|
-
"error_code": z.number().int(),
|
|
127
|
-
"message": z.string().optional()
|
|
128
|
-
})));
|
|
129
|
-
export const Schema_JobStatus = z.lazy(() => (z.enum(["running", "failed", "succeeded"])));
|
|
130
|
-
export const Schema_DataMergeOutputDestination = z.lazy(() => (z.object({
|
|
131
|
-
"url": z.string()
|
|
132
|
-
})));
|
|
133
|
-
export const Schema_DataMergeJobApiResponse = z.lazy(() => (z.object({
|
|
134
|
-
"status": z.enum(["succeeded"]),
|
|
135
|
-
"jobId": z.string(),
|
|
136
|
-
"outputs": z.array(Schema_DataMergeOutputWithRow)
|
|
137
|
-
})));
|
|
138
|
-
export const Schema_DataMergeOutputWithRow = z.lazy(() => (z.object({
|
|
139
|
-
"row": z.number().int(),
|
|
140
|
-
"destination": Schema_DataMergeOutputDestination,
|
|
141
|
-
"mediaType": z.string()
|
|
142
|
-
})));
|
|
143
|
-
export const Schema_JobStatusPollPayload = z.lazy(() => (z.object({
|
|
144
|
-
"status": z.intersection(Schema_JobStatus, z.enum(["running"])),
|
|
145
|
-
"jobId": z.string(),
|
|
146
|
-
"Retry-After": z.string()
|
|
147
|
-
})));
|
|
148
|
-
export const Schema_DataMergeJobFailedResponse = z.lazy(() => (z.object({
|
|
149
|
-
"jobId": z.string(),
|
|
150
|
-
"status": z.enum(["failed"]),
|
|
151
|
-
"error_code": z.string(),
|
|
152
|
-
"message": z.string()
|
|
153
|
-
})));
|
|
154
|
-
export const Schema_DataMergeRowRange = z.lazy(() => (z.object({
|
|
155
|
-
"start": z.number().int(),
|
|
156
|
-
"end": z.number().int()
|
|
157
|
-
})));
|
|
158
|
-
export const Schema_DataMergeNeedsRerunItem = z.lazy(() => (z.object({
|
|
159
|
-
"rowRange": Schema_DataMergeRowRange
|
|
160
|
-
})));
|
|
161
|
-
export const Schema_DataMergePartialSuccessError = z.lazy(() => (z.object({
|
|
162
|
-
"row": z.number().int(),
|
|
163
|
-
"error_code": z.string(),
|
|
164
|
-
"message": z.string()
|
|
165
|
-
})));
|
|
166
|
-
export const Schema_DataMergeJobPartiallySucceededResponse = z.lazy(() => (z.object({
|
|
167
|
-
"jobId": z.string(),
|
|
168
|
-
"status": z.enum(["partially_succeeded"]),
|
|
169
|
-
"outputs": z.array(Schema_DataMergeOutputWithRow),
|
|
170
|
-
"errors": z.array(Schema_DataMergePartialSuccessError),
|
|
171
|
-
"needsRerun": z.array(Schema_DataMergeNeedsRerunItem)
|
|
172
|
-
})));
|
|
173
|
-
export const Schema_CreateRenditionSourceUrl = z.lazy(() => (z.object({
|
|
174
|
-
"url": z.string()
|
|
175
|
-
})));
|
|
176
|
-
export const Schema_CreateRenditionSourceMediaType = z.lazy(() => (z.enum(["application/illustrator"])));
|
|
177
|
-
export const Schema_CreateRenditionInput = z.lazy(() => (z.object({
|
|
178
|
-
"source": Schema_CreateRenditionSourceUrl,
|
|
179
|
-
"mediaType": Schema_CreateRenditionSourceMediaType.optional()
|
|
180
|
-
})));
|
|
181
|
-
export const Schema_CreateRenditionOutputMediaType = z.lazy(() => (z.enum(["image/png", "image/jpeg", "image/webp", "image/svg+xml", "application/pdf", "application/eps"])));
|
|
182
|
-
export const Schema_CreateRenditionOutputSpec = z.lazy(() => (z.object({
|
|
183
|
-
"mediaType": Schema_CreateRenditionOutputMediaType
|
|
184
|
-
})));
|
|
185
|
-
export const Schema_CreateRenditionSettings = z.lazy(() => (z.object({
|
|
186
|
-
"documentLevel": z.union([z.literal(0), z.literal(1)]),
|
|
187
|
-
"artboardRange": z.string().optional(),
|
|
188
|
-
"resolution": z.number().min(4).max(2400).optional()
|
|
189
|
-
})));
|
|
190
|
-
export const Schema_CreateRenditionRequest = z.lazy(() => (z.object({
|
|
191
|
-
"input": Schema_CreateRenditionInput,
|
|
192
|
-
"output": Schema_CreateRenditionOutputSpec,
|
|
193
|
-
"settings": Schema_CreateRenditionSettings
|
|
194
|
-
})));
|
|
195
|
-
export const Schema_CreateRenditionOutputDestination = z.lazy(() => (z.object({
|
|
196
|
-
"url": z.string()
|
|
197
|
-
})));
|
|
198
|
-
export const Schema_CreateRenditionOutput = z.lazy(() => (z.object({
|
|
199
|
-
"destination": Schema_CreateRenditionOutputDestination,
|
|
200
|
-
"mediaType": z.string()
|
|
201
|
-
})));
|
|
202
|
-
export const Schema_CreateRenditionJobApiResponse = z.lazy(() => (z.object({
|
|
203
|
-
"status": z.enum(["succeeded"]),
|
|
204
|
-
"jobId": z.string(),
|
|
205
|
-
"outputs": z.array(Schema_CreateRenditionOutput)
|
|
206
|
-
})));
|
|
207
|
-
export const Schema_VectorizeRequest = z.lazy(() => (z.object({
|
|
208
|
-
"input": Schema_VectorizeInput,
|
|
209
|
-
"settings": Schema_VectorizeSettings.optional()
|
|
210
|
-
})));
|
|
211
|
-
export const Schema_VectorizeInput = z.lazy(() => (z.object({
|
|
212
|
-
"source": Schema_VectorizeSourceUrl,
|
|
213
|
-
"mediaType": Schema_VectorizeInputMediaType
|
|
214
|
-
})));
|
|
215
|
-
export const Schema_VectorizeSourceUrl = z.lazy(() => (z.object({
|
|
216
|
-
"url": z.string()
|
|
217
|
-
})));
|
|
218
|
-
export const Schema_VectorizeInputMediaType = z.lazy(() => (z.enum(["image/png", "image/jpeg"])));
|
|
219
|
-
export const Schema_VectorizeSettings = z.lazy(() => (z.object({
|
|
220
|
-
"preset": z.enum(["enhanced_general", "high_fidelity_photo"]).optional()
|
|
221
|
-
})));
|
|
222
|
-
export const Schema_ImageTraceOutput = z.lazy(() => (z.object({
|
|
223
|
-
"destination": Schema_CreateRenditionOutputDestination,
|
|
224
|
-
"mediaType": z.enum(["image/svg+xml"])
|
|
225
|
-
})));
|
|
226
|
-
export const Schema_ImageTraceJobApiResponse = z.lazy(() => (z.object({
|
|
227
|
-
"status": z.enum(["succeeded"]),
|
|
228
|
-
"jobId": z.string(),
|
|
229
|
-
"outputs": z.array(Schema_ImageTraceOutput)
|
|
230
|
-
})));
|
|
231
|
-
export const Schema_ImageTraceJobFailedResponse = z.lazy(() => (z.object({
|
|
232
|
-
"jobId": z.string(),
|
|
233
|
-
"status": z.enum(["failed"]),
|
|
234
|
-
"error_code": z.string(),
|
|
235
|
-
"message": z.string()
|
|
236
|
-
})));
|
|
140
|
+
outputs: z.array(Out_CustomScriptOutputItem).describe("Presigned download URLs for each output file.")
|
|
141
|
+
})).describe("Returned when the Custom Scripts job completes successfully.");
|
|
142
|
+
/**
|
|
143
|
+
* OpenAPI component `CustomScriptOutputItem`, response (open).
|
|
144
|
+
* @category Generated
|
|
145
|
+
*/
|
|
146
|
+
export const Out_CustomScriptOutputItem = z.lazy(() => z.looseObject({
|
|
147
|
+
destination: z.looseObject({
|
|
148
|
+
url: z.string().describe("Presigned download URL.")
|
|
149
|
+
}).describe("Presigned URL to download the output file."),
|
|
150
|
+
source: z.string().describe("Relative path of the output file within the output folder.")
|
|
151
|
+
}));
|
|
152
|
+
/**
|
|
153
|
+
* OpenAPI component `DataMergeJobApiResponse`, response (open).
|
|
154
|
+
* @category Generated
|
|
155
|
+
*/
|
|
156
|
+
export const Out_DataMergeJobApiResponse = z.lazy(() => z.looseObject({
|
|
157
|
+
status: z.enum(["succeeded"]).describe("The job status."),
|
|
158
|
+
jobId: z.string().describe("The job ID."),
|
|
159
|
+
outputs: z.array(Out_DataMergeOutputWithRow).describe("Array of output files from the data merge operation, one per CSV row.")
|
|
160
|
+
})).describe("Returned when a Data Merge job completes successfully. Each output includes the CSV row index.");
|
|
161
|
+
/**
|
|
162
|
+
* OpenAPI component `DataMergeOutputWithRow`, response (open).
|
|
163
|
+
* @category Generated
|
|
164
|
+
*/
|
|
165
|
+
export const Out_DataMergeOutputWithRow = z.lazy(() => z.looseObject({
|
|
166
|
+
row: z.number().int().describe("The CSV row index for this output."),
|
|
167
|
+
destination: z.looseObject({
|
|
168
|
+
url: z.string().describe("The URL to the output file.")
|
|
169
|
+
}).describe("Details of the location where the output is located."),
|
|
170
|
+
mediaType: z.string().describe("Media type of the output.")
|
|
171
|
+
})).describe("A merged output file for a specific CSV row.");
|
|
172
|
+
/**
|
|
173
|
+
* OpenAPI component `ImageTraceJobApiResponse`, response (open).
|
|
174
|
+
* @category Generated
|
|
175
|
+
*/
|
|
176
|
+
export const Out_ImageTraceJobApiResponse = z.lazy(() => z.looseObject({
|
|
177
|
+
status: z.enum(["succeeded"]).describe("The job status."),
|
|
178
|
+
jobId: z.string().describe("The job ID."),
|
|
179
|
+
outputs: z.array(Out_ImageTraceOutput).describe("Array of generated SVG output files.")
|
|
180
|
+
})).describe("Returned when an Image Trace job completes successfully.");
|
|
181
|
+
/**
|
|
182
|
+
* OpenAPI component `ImageTraceOutput`, response (open).
|
|
183
|
+
* @category Generated
|
|
184
|
+
*/
|
|
185
|
+
export const Out_ImageTraceOutput = z.lazy(() => z.looseObject({
|
|
186
|
+
destination: z.looseObject({
|
|
187
|
+
url: z.string().describe("The URL to the output file.")
|
|
188
|
+
}).describe("Details of the location where the output is located."),
|
|
189
|
+
mediaType: z.enum(["image/svg+xml"]).describe("Media type of the generated output.")
|
|
190
|
+
}));
|
|
237
191
|
//# sourceMappingURL=schemas.js.map
|