@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,130 +1,151 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
1
|
+
/* Generated by scripts/generate-capabilities.mjs. Do not edit; run `pnpm run generate`. */
|
|
2
|
+
/* Source: creative-production/workflow-builder-api.yaml */
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
})));
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
})));
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
export const
|
|
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
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
export const
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
"
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI component `BatchExecuteRequest`, request (closed).
|
|
6
|
+
* @category Generated
|
|
7
|
+
*/
|
|
8
|
+
export const In_BatchExecuteRequest = z.lazy(() => z.strictObject({
|
|
9
|
+
workflow: In_BatchExecuteWorkflow
|
|
10
|
+
})).describe("Batch execute request payload.");
|
|
11
|
+
/**
|
|
12
|
+
* OpenAPI component `BatchExecuteWorkflow`, request (closed).
|
|
13
|
+
* @category Generated
|
|
14
|
+
*/
|
|
15
|
+
export const In_BatchExecuteWorkflow = z.lazy(() => z.strictObject({
|
|
16
|
+
workflowId: z.string().describe("Identifier of the published workflow to run."),
|
|
17
|
+
inputs: z.array(z.array(In_BatchWorkflowNodeInput).min(1)).describe("Outer list: each element is one parallel batch execution. Inner list: node input mappings for that execution (images, text, templates, and so on).")
|
|
18
|
+
})).describe("Published workflow identifier and per-run input mappings by node ID.");
|
|
19
|
+
/**
|
|
20
|
+
* OpenAPI component `BatchWorkflowNodeInput`, request (closed).
|
|
21
|
+
* @category Generated
|
|
22
|
+
*/
|
|
23
|
+
export const In_BatchWorkflowNodeInput = z.lazy(() => In_OneOf_BatchNodeInputContentAssets_and_2_more_19fa2a);
|
|
24
|
+
/**
|
|
25
|
+
* Union of OpenAPI components `BatchNodeInputContentAssets`, `BatchNodeInputContentText`, `BatchNodeInputTemplate`, request (closed).
|
|
26
|
+
* @category Generated
|
|
27
|
+
*/
|
|
28
|
+
export const In_OneOf_BatchNodeInputContentAssets_and_2_more_19fa2a = z.lazy(() => z.strictObject({
|
|
29
|
+
node_id: z.string(),
|
|
30
|
+
content: z.union([z.array(In_PresignedStorageRef).min(1), z.string()]).optional(),
|
|
31
|
+
template: In_PresignedStorageRef.optional()
|
|
32
|
+
}));
|
|
33
|
+
/**
|
|
34
|
+
* OpenAPI component `PresignedStorageRef`, request (closed).
|
|
35
|
+
* @category Generated
|
|
36
|
+
*/
|
|
37
|
+
export const In_PresignedStorageRef = z.lazy(() => z.strictObject({
|
|
38
|
+
presignedUrl: z.string().describe("Presigned GET URL for the asset."),
|
|
39
|
+
storageType: z.string().optional().describe("Storage provider for the presigned URL.")
|
|
40
|
+
})).describe("Asset location using a presigned URL and storage kind.");
|
|
41
|
+
/**
|
|
42
|
+
* OpenAPI component `BatchAssetCounts`, response (open).
|
|
43
|
+
* @category Generated
|
|
44
|
+
*/
|
|
45
|
+
export const Out_BatchAssetCounts = z.lazy(() => z.looseObject({
|
|
46
|
+
total: z.number().int().optional().describe("Total number of assets in the batch."),
|
|
47
|
+
pending: z.number().int().optional().describe("Assets waiting to be processed."),
|
|
48
|
+
processing: z.number().int().optional().describe("Assets currently being processed."),
|
|
49
|
+
completed: z.number().int().optional().describe("Successfully completed assets."),
|
|
50
|
+
failed: z.number().int().optional().describe("Failed assets.")
|
|
51
|
+
})).describe("Asset counts for batch progress tracking.");
|
|
52
|
+
/**
|
|
53
|
+
* OpenAPI component `BatchExecutionResult`, response (open).
|
|
54
|
+
* @category Generated
|
|
55
|
+
*/
|
|
56
|
+
export const Out_BatchExecutionResult = z.lazy(() => z.looseObject({
|
|
57
|
+
executionId: z.string().optional().describe("Execution ID."),
|
|
58
|
+
batchId: z.string().optional().describe("Batch ID this execution belongs to."),
|
|
59
|
+
assetIndex: z.number().int().optional().describe("Asset index in the batch."),
|
|
60
|
+
inputAsset: z.looseObject({
|
|
61
|
+
index: z.number().int().optional(),
|
|
62
|
+
assetId: z.string().optional(),
|
|
63
|
+
inputs: z.array(z.looseObject({})).optional()
|
|
64
|
+
}).optional().describe("Input asset data."),
|
|
65
|
+
status: z.enum(["pending", "running", "success", "failed"]).optional().describe("Execution status."),
|
|
66
|
+
error: z.string().optional().describe("Error message if failed."),
|
|
67
|
+
outputs: z.array(z.looseObject({})).optional().describe("Output results if successful."),
|
|
68
|
+
startedAt: z.string().optional().describe("Execution start time."),
|
|
69
|
+
completedAt: z.string().optional().describe("Execution completion time."),
|
|
70
|
+
durationMs: z.number().int().optional().describe("Duration in milliseconds.")
|
|
71
|
+
})).describe("Individual execution result within a batch.");
|
|
72
|
+
/**
|
|
73
|
+
* OpenAPI component `BatchExecutionsSummary`, response (open).
|
|
74
|
+
* @category Generated
|
|
75
|
+
*/
|
|
76
|
+
export const Out_BatchExecutionsSummary = z.lazy(() => z.looseObject({
|
|
77
|
+
total: z.number().int().describe("Total number of executions in the batch."),
|
|
78
|
+
completed: z.number().int().describe("Number of executions that finished successfully."),
|
|
79
|
+
failed: z.number().int().describe("Number of executions that failed."),
|
|
80
|
+
allExecutionIds: z.array(z.string()).describe("Identifiers for all executions in the batch."),
|
|
81
|
+
failedExecutionIds: z.array(z.string()).describe("Identifiers of failed executions, suitable for retry or inspection.")
|
|
82
|
+
})).describe("Execution counts and identifiers for a batch.");
|
|
83
|
+
/**
|
|
84
|
+
* OpenAPI component `BatchListItem`, response (open).
|
|
85
|
+
* @category Generated
|
|
86
|
+
*/
|
|
87
|
+
export const Out_BatchListItem = z.lazy(() => z.looseObject({
|
|
88
|
+
batchId: z.string().describe("Unique batch identifier."),
|
|
89
|
+
workflowId: z.string().describe("Identifier of the workflow run for this batch."),
|
|
90
|
+
jobName: z.string().describe("Display name of the workflow job."),
|
|
91
|
+
status: z.enum(["pending", "running", "completed", "failed", "cancelled"]).describe("Current batch status."),
|
|
92
|
+
assets: Out_BatchAssetCounts,
|
|
93
|
+
executions: Out_BatchExecutionsSummary,
|
|
94
|
+
endpoint: z.enum(["batch", "preview", "execute"]).describe("API surface used to create the batch."),
|
|
95
|
+
createdAt: z.string().describe("Batch creation timestamp."),
|
|
96
|
+
updatedAt: z.string().describe("Last update timestamp."),
|
|
97
|
+
completedAt: z.string().nullable().optional().describe("Completion timestamp when the batch has finished, or null if still in progress.")
|
|
98
|
+
})).describe("Summary of a single batch as returned by the list batches endpoint.");
|
|
99
|
+
/**
|
|
100
|
+
* OpenAPI component `BatchListPagination`, response (open).
|
|
101
|
+
* @category Generated
|
|
102
|
+
*/
|
|
103
|
+
export const Out_BatchListPagination = z.lazy(() => z.looseObject({
|
|
104
|
+
limit: z.number().int().describe("Maximum number of batches returned per page."),
|
|
105
|
+
offset: z.number().int().describe("Zero-based index of the first batch in this page."),
|
|
106
|
+
count: z.number().int().describe("Number of batch records returned in this page."),
|
|
107
|
+
hasMore: z.boolean().describe("Whether additional pages exist beyond this result set.")
|
|
108
|
+
})).describe("Pagination metadata for batch list results.");
|
|
109
|
+
/**
|
|
110
|
+
* OpenAPI component `BatchStatusDetailLinks`, response (open).
|
|
111
|
+
* @category Generated
|
|
112
|
+
*/
|
|
113
|
+
export const Out_BatchStatusDetailLinks = z.lazy(() => z.looseObject({
|
|
114
|
+
cancel: z.looseObject({
|
|
115
|
+
href: z.string().describe("Target URL for the related resource.")
|
|
116
|
+
}).describe("Link to cancel the batch job."),
|
|
117
|
+
executions: z.looseObject({
|
|
118
|
+
href: z.string().describe("Target URL for the related resource.")
|
|
119
|
+
}).describe("Link to list per-asset executions for the batch.")
|
|
120
|
+
})).describe("Hypermedia links returned when getting a single batch by ID.");
|
|
121
|
+
/**
|
|
122
|
+
* OpenAPI component `BatchStatusResponse`, response (open).
|
|
123
|
+
* @category Generated
|
|
124
|
+
*/
|
|
125
|
+
export const Out_BatchStatusResponse = z.lazy(() => z.looseObject({
|
|
126
|
+
batchId: z.string().describe("Unique batch identifier."),
|
|
127
|
+
workflowId: z.string().describe("Identifier of the workflow run for this batch."),
|
|
128
|
+
status: z.enum(["pending", "running", "completed", "failed", "cancelled"]).describe("Current batch status."),
|
|
129
|
+
assets: Out_BatchAssetCounts,
|
|
130
|
+
executions: Out_BatchExecutionsSummary,
|
|
131
|
+
createdAt: z.string().describe("Batch creation timestamp."),
|
|
132
|
+
updatedAt: z.string().describe("Last update timestamp."),
|
|
133
|
+
completedAt: z.string().nullable().optional().describe("Completion timestamp when the batch has finished, or null if still in progress."),
|
|
134
|
+
links: Out_BatchStatusDetailLinks
|
|
135
|
+
})).describe("Current status and progress for a single batch job.");
|
|
136
|
+
/**
|
|
137
|
+
* OpenAPI component `ListBatchesResponse`, response (open).
|
|
138
|
+
* @category Generated
|
|
139
|
+
*/
|
|
140
|
+
export const Out_ListBatchesResponse = z.lazy(() => z.looseObject({
|
|
141
|
+
orgId: z.string().describe("IMS organization ID for the authenticated caller."),
|
|
142
|
+
batches: z.array(Out_BatchListItem).optional().describe("Batch summaries, typically sorted with the most recently created first."),
|
|
143
|
+
pagination: Out_BatchListPagination,
|
|
144
|
+
filters: z.looseObject({
|
|
145
|
+
status: z.string().optional().describe("Status filter, if provided."),
|
|
146
|
+
workflowId: z.string().optional().describe("Workflow ID filter, if provided."),
|
|
147
|
+
createdAfter: z.string().optional().describe("Created-after filter, if provided."),
|
|
148
|
+
createdBefore: z.string().optional().describe("Created-before filter, if provided.")
|
|
149
|
+
}).optional().describe("Echo of query parameters applied to this response.")
|
|
150
|
+
})).describe("Paginated list of batches for the authenticated user within their organization.");
|
|
130
151
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/generated/creative-production/schemas.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/generated/creative-production/schemas.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,2DAA2D;AAC3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAc,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC;IAC3E,QAAQ,EAAE,uBAAuB;CAClC,CAAC,CAAC,CAAC,QAAQ,CAAC,gCAAgC,CAAC,CAAA;AAE9C;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAc,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC;IAC5E,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;IAC/E,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,oJAAoJ,CAAC;CAC1N,CAAC,CAAC,CAAC,QAAQ,CAAC,sEAAsE,CAAC,CAAA;AAEpF;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAc,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,sDAAsD,CAAC,CAAA;AAExH;;;GAGG;AACH,MAAM,CAAC,MAAM,sDAAsD,GAAc,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC;IAC3G,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CA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handlers load on first call.
|
|
4
|
+
* @category Generated
|
|
5
|
+
*/
|
|
6
|
+
export declare const expressCapabilities: {
|
|
7
|
+
"express-export-rendition": import("@executioncontrolprotocol/plugin-sdk").CapabilityDefinition<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, Record<string, unknown> | undefined>;
|
|
8
|
+
"express-generate-variation": import("@executioncontrolprotocol/plugin-sdk").CapabilityDefinition<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, Record<string, unknown> | undefined>;
|
|
9
|
+
"express-tagged-document-details": import("@executioncontrolprotocol/plugin-sdk").CapabilityDefinition<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, Record<string, unknown> | undefined>;
|
|
10
|
+
"express-tagged-documents": import("@executioncontrolprotocol/plugin-sdk").CapabilityDefinition<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, Record<string, unknown> | undefined>;
|
|
11
|
+
};
|
|
11
12
|
//# sourceMappingURL=capabilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../src/generated/express/capabilities.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../src/generated/express/capabilities.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;;;CAyD/B,CAAA"}
|
|
@@ -1,67 +1,68 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
3
|
-
import
|
|
1
|
+
/* Generated by scripts/generate-capabilities.mjs. Do not edit; run `pnpm run generate`. */
|
|
2
|
+
/* Source: express/ffs-express-api.json */
|
|
3
|
+
import { capability } from "@executioncontrolprotocol/plugin-sdk";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import * as schemas from "./schemas.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
})
|
|
6
|
+
/**
|
|
7
|
+
* Adobe Express capabilities. Handlers load on first call.
|
|
8
|
+
* @category Generated
|
|
9
|
+
*/
|
|
10
|
+
export const expressCapabilities = {
|
|
11
|
+
"express-export-rendition": capability({
|
|
12
|
+
summary: "Export rendition (Adobe Express).",
|
|
13
|
+
description: "Export one or more pages from an Adobe Express document in supported formats. This endpoint accepts an export request and returns pre-signed URLs for accessing the rendered files. **Supported formats:** - Image formats: `image/jpeg` (JPG), `image/png` (PNG) - Video format: `video/mp4` (MP4) - Document format: `application/pdf` (PDF) **Rendition availability:** - Image renditions: Valid for 4 hours, maximum size 8192px on the longest side - Video and PDF renditions: Valid for 24 hours, maximum size 4096px on the longest side **Asynchronous processing:** Export requests are processed asynchronously. The response includes a `jobId` and `statusUrl` that you can use to track the export progress and retrieve the final rendition URLs. **Restrictions:** | Condition | Behavior | Error | | --- | --- | --- | | Public templates (Adobe-owned documents not copied to the user account) | Export is not allowed | `400 bad_request` | | Document contains Adobe Stock–licensed assets | Export fails | `422 stock_content_detected` | The step submits the Adobe job, waits for it to finish and returns the job result, not the job id.",
|
|
14
|
+
useCases: ["Export an Express design to PNG, PDF or other renditions for downstream channels"],
|
|
15
|
+
projections: ["Keep the output asset URLs or storage references for download or the next edit step; the job envelope is already removed."],
|
|
16
|
+
accepts: z.strictObject({
|
|
17
|
+
id: z.string().optional().describe("The identifier of the document that needs to be rendered."),
|
|
18
|
+
pages: z.string().optional().describe("A comma-separated string of page numbers for which the rendition request is made. For example, \"1,2,3\". Page ranges can also be specified. For example, \"1-3\" includes pages 1, 2, and 3. Another example is \"1,3-5\", which includes pages 1, 3, 4, and 5."),
|
|
19
|
+
options: schemas.In_OneOf_ImageRenditionOptions_or_PdfRenditionOptions_or_VideoRenditionOptions.optional().describe("Options for the requested rendition."),
|
|
20
|
+
body: z.looseObject({}).optional().describe("Rest of the JSON request document. Fields also set as top-level parameters replace the same keys here.")
|
|
21
|
+
}),
|
|
22
|
+
returns: z.looseObject({}).describe("Top-level url fields are promoted to url FileRefs where present."),
|
|
23
|
+
timeoutMs: 600000,
|
|
24
|
+
handler: () => import("./operations.js").then((operations) => operations.load("express-export-rendition")),
|
|
25
|
+
}),
|
|
26
|
+
"express-generate-variation": capability({
|
|
27
|
+
summary: "Generate variation (Adobe Express).",
|
|
28
|
+
description: "This API creates a document variation based on provided input parameters. After processing, it temporarily stores the generated document and makes it available to the user within a designated folder. The document remains accessible for 30 days, after which the system automatically removes it. The step submits the Adobe job, waits for it to finish and returns the job result, not the job id.",
|
|
29
|
+
useCases: ["Produce alternate layouts from an Express template for bulk creative"],
|
|
30
|
+
projections: ["Keep the output asset URLs or storage references for download or the next edit step; the job envelope is already removed."],
|
|
31
|
+
accepts: z.strictObject({
|
|
32
|
+
id: z.string().optional().describe("The identifier of the tagged document."),
|
|
33
|
+
variationDetails: schemas.In_VariationDetails.optional().describe("Specify the details required to generate the requested variation."),
|
|
34
|
+
body: z.looseObject({}).optional().describe("Rest of the JSON request document. Fields also set as top-level parameters replace the same keys here.")
|
|
35
|
+
}),
|
|
36
|
+
returns: schemas.Out_GenerateVariationResponse,
|
|
37
|
+
timeoutMs: 600000,
|
|
38
|
+
handler: () => import("./operations.js").then((operations) => operations.load("express-generate-variation")),
|
|
39
|
+
}),
|
|
40
|
+
"express-tagged-document-details": capability({
|
|
41
|
+
summary: "Get tagged pages and elements inside one Express document (Adobe Express).",
|
|
42
|
+
description: "This API retrieves details of the pages and tagged elements within a specified document. It returns a paginated list of the document's pages and metadata about each page. If the document has tagged elements, the API includes their respective details, such as size and position. If the document does not have tagged elements, it returns an empty array. The response includes pagination information to help users navigate the document’s pages. A maximum of 10 pages can be returned in 1 API call.",
|
|
43
|
+
useCases: ["Read tagged element positions and page structure before bulk generation"],
|
|
44
|
+
projections: ["Read the document facts the next step needs (layer or page names, sizes, ids) instead of carrying the whole result forward."],
|
|
45
|
+
accepts: z.strictObject({
|
|
46
|
+
documentId: z.string().describe("The unique identifier of the document."),
|
|
47
|
+
start: z.number().int().optional().describe("Specifies the starting document page number from which details need to be fetched. Default is 1.")
|
|
48
|
+
}),
|
|
49
|
+
returns: schemas.Out_TaggedDocumentDetailsResponse,
|
|
50
|
+
timeoutMs: 120000,
|
|
51
|
+
handler: () => import("./operations.js").then((operations) => operations.load("express-tagged-document-details")),
|
|
52
|
+
}),
|
|
53
|
+
"express-tagged-documents": capability({
|
|
54
|
+
summary: "List Express documents available for bulk automation (Adobe Express).",
|
|
55
|
+
description: "This API retrieves a list of tagged documents that users can access, including those they own or those shared with them, along with relevant metadata. It supports pagination and sorting, allowing users to specify the starting point, define the number of documents to return, and choose the order in which to list them. The response includes the requested documents and their metadata.",
|
|
56
|
+
useCases: ["Find Express documents that expose tagged fields for automation"],
|
|
57
|
+
projections: ["Take the ids or asset URLs the next step needs from the response."],
|
|
58
|
+
accepts: z.strictObject({
|
|
59
|
+
start: z.number().int().optional().describe("Pagination start index. Default is 0."),
|
|
60
|
+
limit: z.number().int().optional().describe("Pagination limit. Default is 10 and maximum value allowed is 25."),
|
|
61
|
+
sortBy: schemas.In_TaggedDocumentsSortBy.optional().describe("Use `sortBy` to sort the response.")
|
|
62
|
+
}),
|
|
63
|
+
returns: schemas.Out_TaggedDocumentsResponse,
|
|
64
|
+
timeoutMs: 120000,
|
|
65
|
+
handler: () => import("./operations.js").then((operations) => operations.load("express-tagged-documents")),
|
|
66
|
+
}),
|
|
67
|
+
};
|
|
67
68
|
//# sourceMappingURL=capabilities.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../../../src/generated/express/capabilities.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../../../src/generated/express/capabilities.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,0CAA0C;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAA;AACjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AAEvC;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,0BAA0B,EAAE,UAAU,CAAuB;QAC3D,OAAO,EAAE,mCAAmC;QAC5C,WAAW,EAAE,qmCAAqmC;QAClnC,QAAQ,EAAE,CAAC,kFAAkF,CAAC;QAC9F,WAAW,EAAE,CAAC,2HAA2H,CAAC;QAC1I,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC;Y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,QAAQ,EAAE,CAAC,QAAQ,CAAC,kEAAkE,CAAC;YAC/G,MAAM,EAAE,OAAO,CAAC,wBAAwB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;SACnG,CAAC;QACF,OAAO,EAAE,OAAO,CAAC,2BAA2B;QAC5C,SAAS,EAAE,MAAM;QACjB,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;KAC3G,CAAC;CACH,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type AdobeHandlerModule, type AdobeOperation } from "../../runtime/invoke-capability.js";
|
|
2
|
+
/**
|
|
3
|
+
* HTTP operation behind each Adobe Express capability.
|
|
4
|
+
* @category Generated
|
|
5
|
+
*/
|
|
6
|
+
export declare const operations: Record<string, AdobeOperation>;
|
|
7
|
+
/**
|
|
8
|
+
* Handler module for one Adobe Express capability. Called by the lazy
|
|
9
|
+
* `handler` thunk in capabilities.ts.
|
|
10
|
+
* @category Generated
|
|
11
|
+
*/
|
|
12
|
+
export declare function load(name: string): AdobeHandlerModule;
|
|
13
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/generated/express/operations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAGrH;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAqCrD,CAAA;AAED;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,CAIrD"}
|