@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,718 +1,811 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
1
|
+
/* Generated by scripts/generate-capabilities.mjs. Do not edit; run `pnpm run generate`. */
|
|
2
|
+
/* Source: photoshop/photoshopv2-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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}))
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
export const
|
|
39
|
-
|
|
40
|
-
})));
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
export const
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
export const
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
export const
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
export const
|
|
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
|
-
export const
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
"
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
}))
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
export const
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
})));
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
export const
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
"
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
export const
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
export const
|
|
381
|
-
|
|
382
|
-
})))
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
export const
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
"
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
"
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
}))
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
export const
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
export const
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
export const
|
|
598
|
-
|
|
599
|
-
"
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
"
|
|
603
|
-
"
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
"
|
|
615
|
-
|
|
616
|
-
"
|
|
617
|
-
}))
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
export const
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
"
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
export const
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
})));
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
})))
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
4
|
+
import { fileRefSchema } from "../../schemas.js";
|
|
5
|
+
/**
|
|
6
|
+
* OpenAPI component `ActionResource`, request (closed).
|
|
7
|
+
* @category Generated
|
|
8
|
+
*/
|
|
9
|
+
export const In_ActionResource = z.lazy(() => z.strictObject({
|
|
10
|
+
actionName: z.string().optional().describe("The name of a specific action to execute within the action set. If omitted, all actions in the file are executed."),
|
|
11
|
+
source: In_OneOf_CreativeCloudFileIdResourceInput_and_4_more_51eef6
|
|
12
|
+
})).describe("Single Photoshop action resource (.atn or inline actionJSON). When present, the 'source' field is required.");
|
|
13
|
+
/**
|
|
14
|
+
* OpenAPI component `ActionsOptions`, request (closed).
|
|
15
|
+
* @category Generated
|
|
16
|
+
*/
|
|
17
|
+
export const In_ActionsOptions = z.lazy(() => z.strictObject({
|
|
18
|
+
actions: z.array(In_ActionResource).min(0).max(10).optional().describe("List of Photoshop actions. Can be .atn files or inline actionJSON. Optional."),
|
|
19
|
+
additionalContents: z.array(In_AdditionalContentResource).min(0).max(25).optional().describe("List of additional resources. Optional. These images, js, brushes can be referenced in inline actionJSON or in UXPusing placeholders `__ADDITIONAL_CONTENTS_PATH_0__`, `__ADDITIONAL_CONTENTS_PATH_1__`, etc. based on their array index."),
|
|
20
|
+
brushes: z.array(In_BrushResource).min(0).max(10).optional().describe("List of brush resources. External references only. Optional."),
|
|
21
|
+
fontOptions: In_FontOptions.optional(),
|
|
22
|
+
patterns: z.array(In_PatternResource).min(0).max(10).optional().describe("List of pattern resources. External references only. Optional."),
|
|
23
|
+
uxp: In_UxpResource.optional()
|
|
24
|
+
})).describe("Options configuration for the actions execution. At least one of actions or uxp is required.");
|
|
25
|
+
/**
|
|
26
|
+
* OpenAPI component `ActionsRequest`, request (closed).
|
|
27
|
+
* @category Generated
|
|
28
|
+
*/
|
|
29
|
+
export const In_ActionsRequest = z.lazy(() => z.strictObject({
|
|
30
|
+
image: In_ImageSource,
|
|
31
|
+
options: In_ActionsOptions,
|
|
32
|
+
outputs: z.array(In_OneOf_JpegOutput_and_5_more_21ce4a).min(1).max(25).describe("List of output asset details. Required. Maximum of 25 outputs allowed.")
|
|
33
|
+
}));
|
|
34
|
+
/**
|
|
35
|
+
* OpenAPI component `AdditionalContentResource`, request (closed).
|
|
36
|
+
* @category Generated
|
|
37
|
+
*/
|
|
38
|
+
export const In_AdditionalContentResource = z.lazy(() => z.strictObject({
|
|
39
|
+
source: In_PortableFileResourceInput
|
|
40
|
+
})).describe("Single additional resource (images, js, brushes, etc.). When present, the 'source' field is required.");
|
|
41
|
+
/**
|
|
42
|
+
* OpenAPI component `AdditionalFont`, request (closed).
|
|
43
|
+
* @category Generated
|
|
44
|
+
*/
|
|
45
|
+
export const In_AdditionalFont = z.lazy(() => z.strictObject({
|
|
46
|
+
source: In_PortableFileResourceInput.optional()
|
|
47
|
+
})).describe("Array of custom fonts needed in this document. Optional.");
|
|
48
|
+
/**
|
|
49
|
+
* OpenAPI component `Anchor`, request (closed).
|
|
50
|
+
* @category Generated
|
|
51
|
+
*/
|
|
52
|
+
export const In_Anchor = z.lazy(() => z.strictObject({
|
|
53
|
+
horizontal: z.number().describe("Horizontal anchor position. Required."),
|
|
54
|
+
vertical: z.number().describe("Vertical anchor position. Required.")
|
|
55
|
+
})).describe("Anchor point coordinates for transformations and positioning.");
|
|
56
|
+
/**
|
|
57
|
+
* OpenAPI component `Apply`, request (closed).
|
|
58
|
+
* @category Generated
|
|
59
|
+
*/
|
|
60
|
+
export const In_Apply = z.lazy(() => z.strictObject({
|
|
61
|
+
from: z.number().int().min(0).describe("From value. Required."),
|
|
62
|
+
to: z.number().int().min(0).describe("To value. Required.")
|
|
63
|
+
})).describe("Inclusive range (from/to) for character or paragraph styling. When present, both 'from' and 'to' are required.");
|
|
64
|
+
/**
|
|
65
|
+
* OpenAPI component `ArtboardImageInput`, request (closed).
|
|
66
|
+
* @category Generated
|
|
67
|
+
*/
|
|
68
|
+
export const In_ArtboardImageInput = z.lazy(() => z.strictObject({
|
|
69
|
+
source: In_FileResourceInput
|
|
70
|
+
})).describe("List of input images for the artboard. Each image must have a source with an external file reference (URL, Creative Cloud file ID, or Creative Cloud path). Required.");
|
|
71
|
+
/**
|
|
72
|
+
* OpenAPI component `AutoCropAspectRatio`, request (closed).
|
|
73
|
+
* @category Generated
|
|
74
|
+
*/
|
|
75
|
+
export const In_AutoCropAspectRatio = z.lazy(() => z.enum(["1:1", "16:9", "9:16", "4:3", "3:4", "4:5", "5:4", "3:2", "2:3", "21:9"])).describe("Desired aspect ratio for generated crops.");
|
|
76
|
+
/**
|
|
77
|
+
* OpenAPI component `AutoCropImageMediaType`, request (closed).
|
|
78
|
+
* @category Generated
|
|
79
|
+
*/
|
|
80
|
+
export const In_AutoCropImageMediaType = z.lazy(() => z.enum(["image/jpeg", "image/png", "image/webp"])).describe("The media type of the input image. Supported values are image/jpeg, image/png, and image/webp.");
|
|
81
|
+
/**
|
|
82
|
+
* OpenAPI component `AutoCropInputImage`, request (closed).
|
|
83
|
+
* @category Generated
|
|
84
|
+
*/
|
|
85
|
+
export const In_AutoCropInputImage = z.lazy(() => z.strictObject({
|
|
86
|
+
mediaType: In_AutoCropImageMediaType.optional(),
|
|
87
|
+
source: In_AutoCropUrlResource
|
|
88
|
+
})).describe("The input image for the auto-crop operation.");
|
|
89
|
+
/**
|
|
90
|
+
* OpenAPI component `AutoCropMode`, request (closed).
|
|
91
|
+
* @category Generated
|
|
92
|
+
*/
|
|
93
|
+
export const In_AutoCropMode = z.lazy(() => z.enum(["smartCrop", "subjectCrop", "fullSceneDetection", "objectDetection"])).describe("Mode for the auto crop operation. 'smartCrop' and 'subjectCrop' generate crops using aspectRatio with optional zoom. 'fullSceneDetection' and 'objectDetection' detect subjects or objects in the scene.");
|
|
94
|
+
/**
|
|
95
|
+
* OpenAPI component `AutoCropOutputType`, request (closed).
|
|
96
|
+
* @category Generated
|
|
97
|
+
*/
|
|
98
|
+
export const In_AutoCropOutputType = z.lazy(() => z.enum(["images", "boundingBoxes"])).describe("Output type for the auto crop operation. 'images' returns cropped images with presigned URLs (default). 'boundingBoxes' returns only bounding box coordinates.");
|
|
99
|
+
/**
|
|
100
|
+
* OpenAPI component `AutoCropRequest`, request (closed).
|
|
101
|
+
* @category Generated
|
|
102
|
+
*/
|
|
103
|
+
export const In_AutoCropRequest = z.lazy(() => z.strictObject({
|
|
104
|
+
aspectRatio: z.union([In_AutoCropAspectRatio, z.array(In_AutoCropAspectRatio)]).optional().describe("Desired aspect ratio(s) for generated crops. Accepts either a single enum string or an array of up to 20 strings. Allowed only for 'smartCrop' and 'subjectCrop'. When omitted, the service defaults to 1:1. An empty array is treated as absent."),
|
|
105
|
+
focus: z.array(z.string()).optional().describe("Focus labels, ordered by preference, used to prioritize objects during cropping or as detection targets. Required for 'subjectCrop' and 'objectDetection'; must be empty for 'smartCrop' and 'fullSceneDetection'."),
|
|
106
|
+
image: In_AutoCropInputImage,
|
|
107
|
+
mode: In_AutoCropMode,
|
|
108
|
+
outputType: In_AutoCropOutputType.optional(),
|
|
109
|
+
zoom: z.union([z.number(), z.array(z.number())]).optional().describe("Optional zoom level(s) paired with aspectRatio. Accepts either a number or an array of up to 20 numbers in (0, 1]. Must not be sent without aspectRatio. When aspectRatio is an array, zoom may be omitted or must be a matching non-empty array.")
|
|
110
|
+
}));
|
|
111
|
+
/**
|
|
112
|
+
* OpenAPI component `AutoCropUrlResource`, request (closed).
|
|
113
|
+
* @category Generated
|
|
114
|
+
*/
|
|
115
|
+
export const In_AutoCropUrlResource = z.lazy(() => z.strictObject({
|
|
116
|
+
url: z.string().describe("The URL of the resource. Only allow-listed domains are accepted as input URLs (e.g. amazonaws.com, windows.net, dropboxusercontent.com, assets.frame.io, storage.googleapis.com, adobe.io, azureedge.net, smartcreatives.stg.walmart.com).")
|
|
117
|
+
})).describe("The source of the input image.");
|
|
118
|
+
/**
|
|
119
|
+
* OpenAPI component `AutoStraighten`, request (closed).
|
|
120
|
+
* @category Generated
|
|
121
|
+
*/
|
|
122
|
+
export const In_AutoStraighten = z.lazy(() => z.strictObject({
|
|
123
|
+
constrainCrop: z.boolean().optional().describe("Whether to constrain crop the straightened image to remove blank edges"),
|
|
124
|
+
enabled: z.boolean().describe("Whether auto straighten is enabled. Defaults to false when omitted. Explicit null is invalid."),
|
|
125
|
+
uprightMode: z.enum(["auto", "full", "level", "vertical"]).optional().describe("Upright mode options for auto straighten")
|
|
126
|
+
})).describe("Auto straighten configuration with options");
|
|
127
|
+
/**
|
|
128
|
+
* OpenAPI component `BlendOptions`, request (closed).
|
|
129
|
+
* @category Generated
|
|
130
|
+
*/
|
|
131
|
+
export const In_BlendOptions = z.lazy(() => z.strictObject({
|
|
132
|
+
blendMode: z.enum(["normal", "dissolve", "darken", "multiply", "color_burn", "linear_burn", "darker_color", "lighten", "screen", "color_dodge", "linear_dodge", "lighter_color", "overlay", "soft_light", "hard_light", "vivid_light", "pin_light", "hard_mix", "difference", "exclusion", "subtract", "divide", "hue", "saturation", "color", "luminosity"]).optional().describe("Blend mode of a layer"),
|
|
133
|
+
opacity: z.number().int().min(0).max(100).optional().describe("Opacity percentage for the blend effect. Range: 0-100. Defaults to 100 when adding new layers. Optional for edits.")
|
|
134
|
+
})).describe("Blend options for layer effects, including opacity settings.");
|
|
135
|
+
/**
|
|
136
|
+
* OpenAPI component `Bounds`, request (closed).
|
|
137
|
+
* @category Generated
|
|
138
|
+
*/
|
|
139
|
+
export const In_Bounds = z.lazy(() => z.strictObject({
|
|
140
|
+
bottom: z.number().int().optional().describe("Bottom coordinate in pixels. Optional."),
|
|
141
|
+
left: z.number().int().optional().describe("Left coordinate in pixels. Optional."),
|
|
142
|
+
right: z.number().int().optional().describe("Right coordinate in pixels. Optional."),
|
|
143
|
+
top: z.number().int().optional().describe("Top coordinate in pixels. Optional.")
|
|
144
|
+
})).describe("Area boundaries");
|
|
145
|
+
/**
|
|
146
|
+
* OpenAPI component `BrightnessContrast`, request (closed).
|
|
147
|
+
* @category Generated
|
|
148
|
+
*/
|
|
149
|
+
export const In_BrightnessContrast = z.lazy(() => z.strictObject({
|
|
150
|
+
brightness: z.number().int().min(-150).max(150).optional().describe("The adjustment layer's brightness. Range: -150 to 150. Defaults to 0 when adding new layers. Optional for edits"),
|
|
151
|
+
contrast: z.number().int().min(-150).max(150).optional().describe("The adjustment layer's contrast. Range: -150 to 150. Defaults to 0 when adding new layers. Optional for edits")
|
|
152
|
+
})).describe("Brightness and contrast adjustment settings");
|
|
153
|
+
/**
|
|
154
|
+
* OpenAPI component `BrushResource`, request (closed).
|
|
155
|
+
* @category Generated
|
|
156
|
+
*/
|
|
157
|
+
export const In_BrushResource = z.lazy(() => z.strictObject({
|
|
158
|
+
source: In_PortableFileResourceInput
|
|
159
|
+
})).describe("Single brush resource (.abr, etc.). When present, the 'source' field is required.");
|
|
160
|
+
/**
|
|
161
|
+
* OpenAPI component `CharacterStyle`, request (closed).
|
|
162
|
+
* @category Generated
|
|
163
|
+
*/
|
|
164
|
+
export const In_CharacterStyle = z.lazy(() => z.strictObject({
|
|
165
|
+
autoLeading: z.boolean().optional().describe("When true, line height is calculated automatically based on the font size. When false, custom lineHeight is applied. Optional."),
|
|
166
|
+
capsOption: z.enum(["normal_caps", "small_caps", "all_caps", "all_small_caps"]).optional().describe("Text capitalization option"),
|
|
167
|
+
font: In_Font.optional(),
|
|
168
|
+
fontAlpha: z.number().min(0).max(1).optional().describe("Font alpha/transparency value. Optional. Default is 1.0."),
|
|
169
|
+
fontColor: In_OneOf_FontCmyk_or_FontGray_or_FontLab_or_FontRgb.optional(),
|
|
170
|
+
fontSize: z.number().optional().describe("Font size in pixels. Optional. Default is 30."),
|
|
171
|
+
letterSpacing: z.number().optional().describe("Letter spacing in pixels. Optional. Default is 0."),
|
|
172
|
+
lineHeight: z.number().optional().describe("Line height (leading) in pixels. Optional. This value represents the unscaled leading stored on the character style. If the text layer carries a non-identity transform, for example because the bounding box was resized in Photoshop, the rendered leading becomes lineHeight x the layer's vertical sc..."),
|
|
173
|
+
syntheticBold: z.boolean().optional().describe("Whether to apply synthetic bold. Optional. Default is false."),
|
|
174
|
+
syntheticItalic: z.boolean().optional().describe("Whether to apply synthetic italic. Optional. Default is false."),
|
|
175
|
+
underline: z.boolean().optional().describe("Whether to apply underline. Optional. Default is false.")
|
|
176
|
+
})).describe("Character-level styling properties for text.");
|
|
177
|
+
/**
|
|
178
|
+
* OpenAPI component `CharacterStyleRange`, request (closed).
|
|
179
|
+
* @category Generated
|
|
180
|
+
*/
|
|
181
|
+
export const In_CharacterStyleRange = z.lazy(() => z.strictObject({
|
|
182
|
+
apply: In_Apply.optional(),
|
|
183
|
+
characterStyle: In_CharacterStyle.optional()
|
|
184
|
+
})).describe("Character style range defining styling for specific text ranges.");
|
|
185
|
+
/**
|
|
186
|
+
* OpenAPI component `ColorAdjustments`, request (closed).
|
|
187
|
+
* @category Generated
|
|
188
|
+
*/
|
|
189
|
+
export const In_ColorAdjustments = z.lazy(() => z.strictObject({
|
|
190
|
+
saturation: z.number().int().min(-100).max(100).optional().describe("Saturation adjustment. Range: -100 to +100"),
|
|
191
|
+
vibrance: z.number().int().min(-100).max(100).optional().describe("Vibrance adjustment. Range: -100 to +100"),
|
|
192
|
+
whiteBalance: z.enum(["As Shot", "Auto", "Cloudy", "Custom", "Daylight", "Flash", "Fluorescent", "Shade", "Tungsten"]).optional().describe("White balance")
|
|
193
|
+
})).describe("Color adjustments for image editing.");
|
|
194
|
+
/**
|
|
195
|
+
* OpenAPI component `ColorBalance`, request (closed).
|
|
196
|
+
* @category Generated
|
|
197
|
+
*/
|
|
198
|
+
export const In_ColorBalance = z.lazy(() => z.strictObject({
|
|
199
|
+
highlightLevels: z.array(z.number().int().min(-100).max(100)).min(3).max(3).optional().describe("Array of 3 integers for highlight levels. Each value must be between -100 and 100. Defaults to [0, 0, 0] when adding new layers. Optional for edits"),
|
|
200
|
+
midtoneLevels: z.array(z.number().int().min(-100).max(100)).min(3).max(3).optional().describe("Array of 3 integers for midtone levels. Each value must be between -100 and 100. Defaults to [0, 0, 0] when adding new layers. Optional for edits"),
|
|
201
|
+
preserveLuminosity: z.boolean().optional().describe("Whether to preserve luminosity. Defaults to true when adding new layers. Optional for edits"),
|
|
202
|
+
shadowLevels: z.array(z.number().int().min(-100).max(100)).min(3).max(3).optional().describe("Array of 3 integers for shadow levels. Each value must be between -100 and 100. Defaults to [0, 0, 0] when adding new layers. Optional for edits")
|
|
203
|
+
})).describe("Color balance adjustment settings");
|
|
204
|
+
/**
|
|
205
|
+
* OpenAPI component `CreateArtboardRequest`, request (closed).
|
|
206
|
+
* @category Generated
|
|
207
|
+
*/
|
|
208
|
+
export const In_CreateArtboardRequest = z.lazy(() => z.strictObject({
|
|
209
|
+
artboardSpacing: z.number().int().optional().describe("Horizontal spacing in pixels between each artboard. Defaults to 50. Optional."),
|
|
210
|
+
images: z.array(In_ArtboardImageInput).min(1).max(25).describe("List of input images for the artboard. Each image must have a source with an external file reference (URL, Creative Cloud file ID, or Creative Cloud path). Required."),
|
|
211
|
+
outputs: z.array(In_OneOf_JpegOutput_and_5_more_21ce4a).min(1).max(25).describe("List of output asset details. Each output specifies destination and output options. Maximum of 25 outputs allowed.")
|
|
212
|
+
}));
|
|
213
|
+
/**
|
|
214
|
+
* OpenAPI component `CreateCompositeRequest`, request (closed).
|
|
215
|
+
* @category Generated
|
|
216
|
+
*/
|
|
217
|
+
export const In_CreateCompositeRequest = z.lazy(() => z.strictObject({
|
|
218
|
+
edits: In_Edits.optional(),
|
|
219
|
+
fontOptions: In_FontOptions.optional(),
|
|
220
|
+
image: In_OneOf_ImageParameters_or_ImageSource,
|
|
221
|
+
outputs: z.array(In_OneOf_JpegOutput_and_5_more_21ce4a).min(1).max(25).describe("List of output asset details. Required. Maximum of 25 outputs allowed.")
|
|
222
|
+
}));
|
|
223
|
+
/**
|
|
224
|
+
* OpenAPI component `Crop`, request (closed).
|
|
225
|
+
* @category Generated
|
|
226
|
+
*/
|
|
227
|
+
export const In_Crop = z.lazy(() => z.strictObject({
|
|
228
|
+
bounds: In_Bounds,
|
|
229
|
+
hide: z.boolean().optional().describe("When true, hides pixels outside the crop bounds (non-destructive). When false, permanently deletes pixels outside the crop bounds (destructive). Defaults to false.")
|
|
230
|
+
})).describe("Options for cropping a document, specifying the bounds to crop to.");
|
|
231
|
+
/**
|
|
232
|
+
* OpenAPI component `Dimension`, request (closed).
|
|
233
|
+
* @category Generated
|
|
234
|
+
*/
|
|
235
|
+
export const In_Dimension = z.lazy(() => z.strictObject({
|
|
236
|
+
height: z.number().int().min(0).max(32000).optional().describe("Height after transformation. Optional."),
|
|
237
|
+
width: z.number().int().min(0).max(32000).optional().describe("Width after transformation. Optional.")
|
|
238
|
+
})).describe("Offset coordinates for positioning elements.");
|
|
239
|
+
/**
|
|
240
|
+
* OpenAPI component `DimensionMeasurement`, request (closed).
|
|
241
|
+
* @category Generated
|
|
242
|
+
*/
|
|
243
|
+
export const In_DimensionMeasurement = z.lazy(() => z.strictObject({
|
|
244
|
+
unit: z.enum(["pixels_unit", "percent_unit", "distance_unit"]).describe("The unit of measurement for the dimension. 'pixels_unit' for absolute pixel measurements, 'percent_unit' for percentage-based scaling, 'distance_unit' for physical measurements using formula: Physical Size (points) = Pixels × (72 ÷ DPI). Defaults to pixels_unit when omitted."),
|
|
245
|
+
value: z.number().int().min(0).optional().describe("The value of the dimension. Must be greater than or equal to 0.")
|
|
246
|
+
})).describe("Represents a dimension measurement for width or height with appropriate units.");
|
|
247
|
+
/**
|
|
248
|
+
* OpenAPI component `Document`, request (closed).
|
|
249
|
+
* @category Generated
|
|
250
|
+
*/
|
|
251
|
+
export const In_Document = z.lazy(() => z.strictObject({
|
|
252
|
+
crop: In_Crop.optional(),
|
|
253
|
+
resize: In_Resize.optional(),
|
|
254
|
+
trim: In_Trim.optional()
|
|
255
|
+
})).describe("Represents the editable document structure, including resize, crop and trim options. Each field corresponds to a specific type of document edit operation.");
|
|
256
|
+
/**
|
|
257
|
+
* OpenAPI component `EditImageInput`, request (closed).
|
|
258
|
+
* @category Generated
|
|
259
|
+
*/
|
|
260
|
+
export const In_EditImageInput = z.lazy(() => z.strictObject({
|
|
261
|
+
source: In_FileResourceInput
|
|
262
|
+
})).describe("The image input for the edit operation. Supported input source mime types: image/jpeg, image/png, image/x-adobe-dng, image/webp, image/tiff, image/vnd.adobe.photoshop, image/x-sony-arw, and other supported raw/camera formats. Required.");
|
|
263
|
+
/**
|
|
264
|
+
* OpenAPI component `EditRequest`, request (closed).
|
|
265
|
+
* @category Generated
|
|
266
|
+
*/
|
|
267
|
+
export const In_EditRequest = z.lazy(() => z.strictObject({
|
|
268
|
+
edits: In_LightroomEdits.optional(),
|
|
269
|
+
image: In_EditImageInput,
|
|
270
|
+
outputs: z.array(In_OneOf_LrDngOutput_or_LrJpegOutput_or_LrPngOutput_or_XmpOutput).min(1).max(25).describe("List of output asset details. Required. Maximum of 25 outputs allowed.")
|
|
271
|
+
}));
|
|
272
|
+
/**
|
|
273
|
+
* OpenAPI component `Edits`, request (closed).
|
|
274
|
+
* @category Generated
|
|
275
|
+
*/
|
|
276
|
+
export const In_Edits = z.lazy(() => z.strictObject({
|
|
277
|
+
document: In_Document.optional(),
|
|
278
|
+
layers: z.array(In_OneOf_AddAdjustmentLayer_and_15_more_6ae795).optional().describe("Array of layer edits to be applied. Optional.")
|
|
279
|
+
})).describe("Edits to be applied to the input asset. Optional.");
|
|
280
|
+
/**
|
|
281
|
+
* OpenAPI component `EffectsAdjustments`, request (closed).
|
|
282
|
+
* @category Generated
|
|
283
|
+
*/
|
|
284
|
+
export const In_EffectsAdjustments = z.lazy(() => z.strictObject({
|
|
285
|
+
clarity: z.number().int().min(-100).max(100).optional().describe("Clarity adjustment. Range: -100 to +100"),
|
|
286
|
+
dehaze: z.number().int().min(-100).max(100).optional().describe("Dehaze adjustment. Range: -100 to +100"),
|
|
287
|
+
texture: z.number().int().min(-100).max(100).optional().describe("Texture adjustment. Range: -100 to +100"),
|
|
288
|
+
vignette: z.number().int().min(-100).max(100).optional().describe("Vignette amount. Range: -100 to +100")
|
|
289
|
+
})).describe("Effects adjustments for image editing.");
|
|
290
|
+
/**
|
|
291
|
+
* OpenAPI component `Exposure`, request (closed).
|
|
292
|
+
* @category Generated
|
|
293
|
+
*/
|
|
294
|
+
export const In_Exposure = z.lazy(() => z.strictObject({
|
|
295
|
+
exposureValue: z.number().min(-20).max(20).optional().describe("The layer's exposure value. Range: -20 to 20. Defaults to 0.0 when adding new layers. Optional for edits"),
|
|
296
|
+
gammaCorrection: z.number().min(0.01).max(9.99).optional().describe("The layer's gamma correction value. Range: 0.01 to 9.99. Defaults to 1.0 when adding new layers. Optional for edits"),
|
|
297
|
+
offset: z.number().min(-0.5).max(0.5).optional().describe("The layer's offset value. Range: -0.5 to 0.5. Defaults to 0.0 when adding new layers. Optional for edits")
|
|
298
|
+
})).describe("Exposure adjustment settings");
|
|
299
|
+
/**
|
|
300
|
+
* OpenAPI component `FileResourceInput`, request (closed).
|
|
301
|
+
* @category Generated
|
|
302
|
+
*/
|
|
303
|
+
export const In_FileResourceInput = z.lazy(() => In_OneOf_CreativeCloudFileIdResourceInput_and_3_more_c290e2).describe("The resource input for the image. Required. Must be a valid FileResourceInput subtype: UrlResourceInput, CreativeCloudResourceInput, CreativeCloudFileIdResourceInput, or LightroomResourceInput.");
|
|
304
|
+
/**
|
|
305
|
+
* OpenAPI component `Fill`, request (closed).
|
|
306
|
+
* @category Generated
|
|
307
|
+
*/
|
|
308
|
+
export const In_Fill = z.lazy(() => z.strictObject({
|
|
309
|
+
solidColor: In_SolidColor.optional()
|
|
310
|
+
})).describe("Fill settings for layers.");
|
|
311
|
+
/**
|
|
312
|
+
* OpenAPI component `Font`, request (closed).
|
|
313
|
+
* @category Generated
|
|
314
|
+
*/
|
|
315
|
+
export const In_Font = z.lazy(() => z.strictObject({
|
|
316
|
+
postScriptName: z.string().optional().describe("PostScript name of the font for precise identification. Optional.")
|
|
317
|
+
})).describe("Font definition with PostScript name.");
|
|
318
|
+
/**
|
|
319
|
+
* OpenAPI component `FontOptions`, request (closed).
|
|
320
|
+
* @category Generated
|
|
321
|
+
*/
|
|
322
|
+
export const In_FontOptions = z.lazy(() => z.strictObject({
|
|
323
|
+
additionalFonts: z.array(In_AdditionalFont).optional().describe("Array of custom fonts needed in this document. Optional."),
|
|
324
|
+
defaultFontPostScriptName: z.string().optional().describe("The full postscript name of the font to be used as the global default for the document. Optional."),
|
|
325
|
+
missingFontStrategy: z.enum(["fail", "use_default"]).optional().describe("Action to take if there are missing fonts. Optional.")
|
|
326
|
+
})).describe("Font options configuration. Optional.");
|
|
327
|
+
/**
|
|
328
|
+
* OpenAPI component `GenerateManifestRequest`, request (closed).
|
|
329
|
+
* @category Generated
|
|
330
|
+
*/
|
|
331
|
+
export const In_GenerateManifestRequest = z.lazy(() => z.strictObject({
|
|
332
|
+
exportOptions: In_OneOf_JpegExportOptions_or_PngExportOptions.optional(),
|
|
333
|
+
extractSmartObjectData: z.boolean().optional().describe("Optional. Extract embedded smart objects and include presigned URLs in the manifest. Only applies to embedded (non-linked) smart objects. Default is false."),
|
|
334
|
+
image: In_Image,
|
|
335
|
+
includeLayerThumbnails: z.boolean().optional().describe("Optional. Indicates whether to generate renditions. Default is false."),
|
|
336
|
+
includeXmp: z.boolean().optional().describe("Optional. Include the XMP metadata in the response."),
|
|
337
|
+
maximumThumbnailDepth: z.number().int().min(0).optional().describe("Optional. Depth for layer renditions. If provided, must be greater than or equal to 0. 0 signifies no limit."),
|
|
338
|
+
outputs: z.array(z.strictObject({
|
|
339
|
+
destination: In_OneOf_CreativeCloudDestination_and_3_more_fbff41,
|
|
340
|
+
mediaType: z.enum(["application/json"]).describe("Supported media types for manifest output")
|
|
341
|
+
})).min(1).max(25).describe("List of output destinations for the manifest. Required. Maximum of 25 outputs allowed."),
|
|
342
|
+
trimToTransparency: z.boolean().optional().describe("Optional. Trim the layer to remove the transparent pixels.")
|
|
343
|
+
}));
|
|
344
|
+
/**
|
|
345
|
+
* OpenAPI component `HueSaturation`, request (closed).
|
|
346
|
+
* @category Generated
|
|
347
|
+
*/
|
|
348
|
+
export const In_HueSaturation = z.lazy(() => z.strictObject({
|
|
349
|
+
colorize: z.boolean().optional().describe("Whether to colorize the layer. When true, LocalRange cannot be used in any adjustment. Defaults to false when adding new layers. Optional for edits"),
|
|
350
|
+
hueSaturationAdjustments: z.array(In_HueSaturationAdjustment).min(1).max(2147483647).optional()
|
|
351
|
+
})).describe("Hue/Saturation adjustment settings. When colorize is true, LocalRange cannot be used. When colorize is false, LocalRange can only be used for non-master channels (reds, yellows, greens, cyans, blues, magentas).");
|
|
352
|
+
/**
|
|
353
|
+
* OpenAPI component `HueSaturationAdjustment`, request (closed).
|
|
354
|
+
* @category Generated
|
|
355
|
+
*/
|
|
356
|
+
export const In_HueSaturationAdjustment = z.lazy(() => z.strictObject({
|
|
357
|
+
hue: z.number().int().optional().describe("The hue adjustment value. When colorize=false: -180 to 180. When colorize=true: 0 to 360. Defaults to 0 when adding new layers. Optional for edits"),
|
|
358
|
+
lightness: z.number().int().optional().describe("The lightness adjustment value. When colorize=false: -100 to 100. When colorize=true: 0 to 100. Defaults to 0 when adding new layers. Optional for edits"),
|
|
359
|
+
localRange: In_LocalRange.optional(),
|
|
360
|
+
saturation: z.number().int().optional().describe("The saturation adjustment value. When colorize=false: -100 to 100. When colorize=true: 0 to 100. Defaults to 0 when adding new layers. Optional for edits")
|
|
361
|
+
})).describe("Array of hue/saturation adjustments. For master channel, LocalRange is not applicable.");
|
|
362
|
+
/**
|
|
363
|
+
* OpenAPI component `IccProfile`, request (closed).
|
|
364
|
+
* @category Generated
|
|
365
|
+
*/
|
|
366
|
+
export const In_IccProfile = z.lazy(() => z.strictObject({
|
|
367
|
+
type: z.enum(["standard", "custom"]).describe("Type of ICC profile. 'standard' for predefined profiles, 'custom' for user-provided profiles. Defaults to standard when omitted; explicit null is invalid.")
|
|
368
|
+
})).describe("ICC profile configuration for color management");
|
|
369
|
+
/**
|
|
370
|
+
* OpenAPI component `Image`, request (closed).
|
|
371
|
+
* @category Generated
|
|
372
|
+
*/
|
|
373
|
+
export const In_Image = z.lazy(() => z.strictObject({
|
|
374
|
+
source: In_FileResourceInput
|
|
375
|
+
})).describe("The image input, which contains a source field of type ResourceInput. Required.");
|
|
376
|
+
/**
|
|
377
|
+
* OpenAPI component `ImageSource`, request (closed).
|
|
378
|
+
* @category Generated
|
|
379
|
+
*/
|
|
380
|
+
export const In_ImageSource = z.lazy(() => z.strictObject({
|
|
381
|
+
source: In_FileResourceInput
|
|
382
|
+
})).describe("The image input for the actions operation. Required.");
|
|
383
|
+
/**
|
|
384
|
+
* OpenAPI component `LightAdjustments`, request (closed).
|
|
385
|
+
* @category Generated
|
|
386
|
+
*/
|
|
387
|
+
export const In_LightAdjustments = z.lazy(() => z.strictObject({
|
|
388
|
+
blacks: z.number().int().min(-100).max(100).optional().describe("Blacks adjustment. Range: -100 to +100"),
|
|
389
|
+
contrast: z.number().int().min(-100).max(100).optional().describe("Contrast adjustment. Range: -100 to +100"),
|
|
390
|
+
exposure: z.number().min(-5).max(5).optional().describe("Exposure adjustment. Range: -5.0 to +5.0"),
|
|
391
|
+
highlights: z.number().int().min(-100).max(100).optional().describe("Highlights adjustment. Range: -100 to +100"),
|
|
392
|
+
shadows: z.number().int().min(-100).max(100).optional().describe("Shadows adjustment. Range: -100 to +100"),
|
|
393
|
+
whites: z.number().int().min(-100).max(100).optional().describe("Whites adjustment. Range: -100 to +100")
|
|
394
|
+
})).describe("Light adjustments for image editing.");
|
|
395
|
+
/**
|
|
396
|
+
* OpenAPI component `LightroomEdits`, request (closed).
|
|
397
|
+
* @category Generated
|
|
398
|
+
*/
|
|
399
|
+
export const In_LightroomEdits = z.lazy(() => z.strictObject({
|
|
400
|
+
autoStraighten: In_AutoStraighten.optional(),
|
|
401
|
+
autoTone: z.boolean().optional().describe("Auto tone adjustment. Optional."),
|
|
402
|
+
color: In_ColorAdjustments.optional(),
|
|
403
|
+
effects: In_EffectsAdjustments.optional(),
|
|
404
|
+
light: In_LightAdjustments.optional(),
|
|
405
|
+
noiseReduction: In_NoiseReduction.optional(),
|
|
406
|
+
presets: z.array(In_FileResourceInput).min(0).max(10).optional().describe("List of preset inputs to apply. Optional."),
|
|
407
|
+
sharpen: In_SharpenAdjustments.optional(),
|
|
408
|
+
sharpness: z.number().int().min(0).max(150).optional().describe("Sharpness value. Optional. Range: 0 to 150"),
|
|
409
|
+
xmp: In_XmpInput.optional()
|
|
410
|
+
})).describe("Lightroom edit adjustments including XMP, presets, and all adjustment parameters. Optional.");
|
|
411
|
+
/**
|
|
412
|
+
* OpenAPI component `LocalRange`, request (closed).
|
|
413
|
+
* @category Generated
|
|
414
|
+
*/
|
|
415
|
+
export const In_LocalRange = z.lazy(() => z.strictObject({
|
|
416
|
+
beginRamp: z.number().int().min(0).max(360).optional().describe("The beginning of the ramp (feather start). Range: 0-360 degrees."),
|
|
417
|
+
beginSustain: z.number().int().min(0).max(360).optional().describe("The beginning of the sustain (full effect start). Range: 0-360 degrees."),
|
|
418
|
+
channelId: z.enum(["REDS", "YELLOWS", "GREENS", "CYANS", "BLUES", "MAGENTAS"]).describe("Channel for local range color adjustments. Allowed values: REDS, YELLOWS, GREENS, CYANS, BLUES, MAGENTAS"),
|
|
419
|
+
endRamp: z.number().int().min(0).max(360).optional().describe("The end of the ramp (feather end). Range: 0-360 degrees."),
|
|
420
|
+
endSustain: z.number().int().min(0).max(360).optional().describe("The end of the sustain (full effect end). Range: 0-360 degrees.")
|
|
421
|
+
})).describe("Local range settings for targeted color adjustments. Defines the hue range boundaries for the adjustment.");
|
|
422
|
+
/**
|
|
423
|
+
* OpenAPI component `Mask`, request (closed).
|
|
424
|
+
* @category Generated
|
|
425
|
+
*/
|
|
426
|
+
export const In_Mask = z.lazy(() => z.strictObject({
|
|
427
|
+
digest: z.string().describe("Fingerprint/digest of the mask for dictionary lookup. Required."),
|
|
428
|
+
source: In_FileResourceInput
|
|
429
|
+
})).describe("Mask input for XMP operations. Contains source file reference and digest for dictionary lookup.");
|
|
430
|
+
/**
|
|
431
|
+
* OpenAPI component `NoiseReduction`, request (closed).
|
|
432
|
+
* @category Generated
|
|
433
|
+
*/
|
|
434
|
+
export const In_NoiseReduction = z.lazy(() => z.strictObject({
|
|
435
|
+
color: z.number().int().min(0).max(100).optional().describe("Color noise reduction. Range: 0 to 100"),
|
|
436
|
+
luminance: z.number().int().min(0).max(100).optional().describe("Luminance noise reduction. Range: 0 to 100")
|
|
437
|
+
})).describe("Noise reduction settings for image editing.");
|
|
438
|
+
/**
|
|
439
|
+
* OpenAPI component `Offset`, request (closed).
|
|
440
|
+
* @category Generated
|
|
441
|
+
*/
|
|
442
|
+
export const In_Offset = z.lazy(() => z.strictObject({
|
|
443
|
+
horizontal: z.number().int().optional().describe("Horizontal offset in pixels. Defaults to 0 when adding new layers. Optional for edits."),
|
|
444
|
+
vertical: z.number().int().optional().describe("Vertical offset in pixels. Defaults to 0 when adding new layers. Optional for edits.")
|
|
445
|
+
})).describe("Offset coordinates for positioning elements.");
|
|
446
|
+
/**
|
|
447
|
+
* Union of OpenAPI components `AddAdjustmentLayer`, `AddBackgroundLayer`, `AddGroupLayer`, `AddLayer`, `AddSmartObjectLayer`, `AddSolidColorLayer`, `AddTextLayer`, `DeleteLayer`, `EditAdjustmentLayer`, `EditBackgroundLayer`, `EditGroupLayer`, `EditLayer`, `EditSmartObjectLayer`, `EditSolidColorLayer`, `EditTextLayer`, `MoveLayer`, request (closed).
|
|
448
|
+
* @category Generated
|
|
449
|
+
*/
|
|
450
|
+
export const In_OneOf_AddAdjustmentLayer_and_15_more_6ae795 = z.lazy(() => z.strictObject({
|
|
451
|
+
id: z.number().int().optional().describe("Layer ID"),
|
|
452
|
+
name: z.string().optional().describe("Layer name"),
|
|
453
|
+
operation: In_OneOf_AddOperation_or_DeleteOperation_or_EditOperation_or_MoveOperation,
|
|
454
|
+
adjustments: In_OneOf_BrightnessContrastAdjustments_and_3_more_8d6668.optional(),
|
|
455
|
+
blendOptions: In_BlendOptions.optional(),
|
|
456
|
+
isClipped: z.boolean().optional(),
|
|
457
|
+
isVisible: z.boolean().optional().describe("Whether the layer is visible. Defaults to true when adding layers. Optional for edits."),
|
|
458
|
+
pixelMask: In_OneOf_EditPixelMask_or_PixelMask.optional(),
|
|
459
|
+
protection: z.array(z.enum(["none", "all", "transparency", "composite", "position", "artboard_autonest"])).optional().describe("Protection flags for the layer (e.g. none, all, transparency, composite, position, artboard_autonest). Defaults to 'none' when adding layers. Optional for edits; omit, null, or empty array [] mean 'don't change'. When 'none' or 'all' is used, the array must contain only that element."),
|
|
460
|
+
transform: In_Transform.optional(),
|
|
461
|
+
transformMode: z.enum(["fit", "fill", "custom", "none"]).optional().describe("Transform mode applied to the layer. Defaults to 'none' when adding layers. Optional for edits. Modes: 'none' — applies no scaling. 'fit' — scales the layer uniformly to fit within the canvas bounds while preserving aspect ratio."),
|
|
462
|
+
type: z.enum(["layer", "solid_color_layer", "text_layer", "smart_object_layer", "adjustment_layer", "group_layer", "background_layer"]).optional().describe("Layer type enum"),
|
|
463
|
+
image: fileRefSchema({ access: "url" }).optional(),
|
|
464
|
+
children: z.array(z.looseObject({}).describe("Nested AddAdjustmentLayer, AddBackgroundLayer, AddGroupLayer, AddLayer, AddSmartObjectLayer, AddSolidColorLayer, AddTextLayer, DeleteLayer, EditAdjustmentLayer, EditBackgroundLayer, EditGroupLayer, EditLayer, EditSmartObjectLayer, EditSolidColorLayer, EditTextLayer, MoveLayer (recursive; checked by the API, not here).")).optional().describe("Child layers in this group. Optional."),
|
|
465
|
+
smartObject: In_OneOf_EditSmartObject_or_SmartObject.optional(),
|
|
466
|
+
fill: In_Fill.optional(),
|
|
467
|
+
text: In_Text.optional(),
|
|
468
|
+
convertToLayer: z.boolean().optional().describe("When true, promotes the background layer to a regular layer. Mutually exclusive with image."),
|
|
469
|
+
convertedLayerName: z.string().optional().describe("Name to set on the layer after conversion. Only applicable when convertToLayer is true. Optional.")
|
|
470
|
+
}));
|
|
471
|
+
/**
|
|
472
|
+
* Union of OpenAPI components `AddOperation`, `DeleteOperation`, `EditOperation`, `MoveOperation`, request (closed).
|
|
473
|
+
* @category Generated
|
|
474
|
+
*/
|
|
475
|
+
export const In_OneOf_AddOperation_or_DeleteOperation_or_EditOperation_or_MoveOperation = z.lazy(() => z.strictObject({
|
|
476
|
+
type: z.enum(["add", "edit", "delete", "move"]).describe("Operation type enum"),
|
|
477
|
+
placement: In_Placement.optional(),
|
|
478
|
+
shouldIncludeChildren: z.boolean().optional()
|
|
479
|
+
}));
|
|
480
|
+
/**
|
|
481
|
+
* Union of OpenAPI components `AreaFrame`, `PointFrame`, request (closed).
|
|
482
|
+
* @category Generated
|
|
483
|
+
*/
|
|
484
|
+
export const In_OneOf_AreaFrame_or_PointFrame = z.lazy(() => z.strictObject({
|
|
485
|
+
type: z.enum(["point", "area"]).describe("Text frame type"),
|
|
486
|
+
bounds: In_Bounds.optional(),
|
|
487
|
+
origin: In_Origin.optional()
|
|
488
|
+
}));
|
|
489
|
+
/**
|
|
490
|
+
* Union of OpenAPI components `BrightnessContrastAdjustments`, `ColorBalanceAdjustments`, `ExposureAdjustments`, `HueSaturationAdjustments`, request (closed).
|
|
491
|
+
* @category Generated
|
|
492
|
+
*/
|
|
493
|
+
export const In_OneOf_BrightnessContrastAdjustments_and_3_more_8d6668 = z.lazy(() => z.strictObject({
|
|
494
|
+
type: z.enum(["hue_saturation", "brightness_contrast", "exposure", "color_balance"]).describe("Adjustment type. Allowed values: hue_saturation, brightness_contrast, exposure, color_balance"),
|
|
495
|
+
brightnessContrast: In_BrightnessContrast.optional(),
|
|
496
|
+
colorBalance: In_ColorBalance.optional(),
|
|
497
|
+
exposure: In_Exposure.optional(),
|
|
498
|
+
hueSaturation: In_HueSaturation.optional()
|
|
499
|
+
}));
|
|
500
|
+
/**
|
|
501
|
+
* Union of OpenAPI components `CreativeCloudDestination`, `EmbeddedDestination`, `HostedDestination`, `UrlDestination`, request (closed).
|
|
502
|
+
* @category Generated
|
|
503
|
+
*/
|
|
504
|
+
export const In_OneOf_CreativeCloudDestination_and_3_more_fbff41 = z.lazy(() => z.strictObject({
|
|
505
|
+
creativeCloudPath: z.string().optional().describe("Path to Creative Cloud storage. Required."),
|
|
506
|
+
creativeCloudProjectId: z.string().optional().describe("The Creative Cloud project ID. Optional. Must be a valid URN starting with 'urn:aaid:sc:'. Example: urn:aaid:sc:US:a21c8629-413f-55d9-..."),
|
|
507
|
+
embedded: z.enum(["string", "base64", "json"]).optional().describe("Embedded format (string, base64, or json). Defaults to string when omitted."),
|
|
508
|
+
validityPeriod: z.number().int().min(60).max(86400).optional().describe("Validity period in seconds. Minimum: 60 seconds (1 minute). Maximum: 86400 seconds (1 day). Defaults to 3600 seconds (1 hour) when omitted."),
|
|
509
|
+
storageType: z.enum(["azure", "dropbox"]).optional().describe("Storage type for the destination. Optional."),
|
|
510
|
+
url: z.string().optional().describe("Pre-signed URL for external storage. Must be HTTPS. Required.")
|
|
511
|
+
}));
|
|
512
|
+
/**
|
|
513
|
+
* Union of OpenAPI components `CreativeCloudFileIdResourceInput`, `CreativeCloudResourceInput`, `UrlResourceInput`, request (closed).
|
|
514
|
+
* @category Generated
|
|
515
|
+
*/
|
|
516
|
+
export const In_OneOf_CreativeCloudFileIdResourceInput_and_2_more_d026de = z.lazy(() => z.strictObject({
|
|
517
|
+
url: z.string().optional().describe("The pre-signed URL of the resource. Required."),
|
|
518
|
+
creativeCloudPath: z.string().optional().describe("The path to the asset in Creative Cloud. Required."),
|
|
519
|
+
creativeCloudProjectId: z.string().optional().describe("The Creative Cloud project ID. Optional. Must be a valid URN starting with 'urn:aaid:sc:'. Example: urn:aaid:sc:US:a21c8629-413f-55d9-..."),
|
|
520
|
+
creativeCloudFileId: z.string().optional().describe("The file ID of the asset in Creative Cloud. Required. Must start with 'urn:aaid' (case-insensitive).")
|
|
521
|
+
}));
|
|
522
|
+
/**
|
|
523
|
+
* Union of OpenAPI components `CreativeCloudFileIdResourceInput`, `CreativeCloudResourceInput`, `LightroomResourceInput`, `UrlResourceInput`, request (closed).
|
|
524
|
+
* @category Generated
|
|
525
|
+
*/
|
|
526
|
+
export const In_OneOf_CreativeCloudFileIdResourceInput_and_3_more_c290e2 = z.lazy(() => z.strictObject({
|
|
527
|
+
url: z.string().optional().describe("The pre-signed URL of the resource. Required."),
|
|
528
|
+
creativeCloudPath: z.string().optional().describe("The path to the asset in Creative Cloud. Required."),
|
|
529
|
+
creativeCloudProjectId: z.string().optional().describe("The Creative Cloud project ID. Optional. Must be a valid URN starting with 'urn:aaid:sc:'. Example: urn:aaid:sc:US:a21c8629-413f-55d9-..."),
|
|
530
|
+
creativeCloudFileId: z.string().optional().describe("The file ID of the asset in Creative Cloud. Required. Must start with 'urn:aaid' (case-insensitive)."),
|
|
531
|
+
lightroomPath: z.string().optional().describe("The path to the asset in Lightroom. Required.")
|
|
532
|
+
}));
|
|
533
|
+
/**
|
|
534
|
+
* Union of OpenAPI components `CreativeCloudFileIdResourceInput`, `CreativeCloudResourceInput`, `InlineContentResourceInput`, `LightroomResourceInput`, `UrlResourceInput`, request (closed).
|
|
535
|
+
* @category Generated
|
|
536
|
+
*/
|
|
537
|
+
export const In_OneOf_CreativeCloudFileIdResourceInput_and_4_more_51eef6 = z.lazy(() => z.strictObject({
|
|
538
|
+
creativeCloudFileId: z.string().optional().describe("The file ID of the asset in Creative Cloud. Required. Must start with 'urn:aaid' (case-insensitive)."),
|
|
539
|
+
creativeCloudPath: z.string().optional().describe("The path to the asset in Creative Cloud. Required."),
|
|
540
|
+
creativeCloudProjectId: z.string().optional().describe("The Creative Cloud project ID. Optional. Must be a valid URN starting with 'urn:aaid:sc:'. Example: urn:aaid:sc:US:a21c8629-413f-55d9-..."),
|
|
541
|
+
content: z.string().max(51200).optional().describe("Inline content as string (for scripts, JSON, or other text-based content). Required. Maximum size: 50KB (51,200 characters)."),
|
|
542
|
+
contentType: z.string().optional().describe("MIME type of the content. Optional but recommended for proper processing."),
|
|
543
|
+
lightroomPath: z.string().optional().describe("The path to the asset in Lightroom. Required."),
|
|
544
|
+
url: z.string().optional().describe("The pre-signed URL of the resource. Required.")
|
|
545
|
+
}));
|
|
546
|
+
/**
|
|
547
|
+
* Union of OpenAPI components `CustomIccProfile`, `StandardIccProfile`, request (closed).
|
|
548
|
+
* @category Generated
|
|
549
|
+
*/
|
|
550
|
+
export const In_OneOf_CustomIccProfile_or_StandardIccProfile = z.lazy(() => z.strictObject({
|
|
551
|
+
type: z.enum(["standard", "custom"]).describe("Type of ICC profile. 'standard' for predefined profiles, 'custom' for user-provided profiles. Defaults to standard when omitted; explicit null is invalid."),
|
|
552
|
+
imageMode: z.enum(["rgb", "grayscale", "cmyk"]).optional().describe("Image mode for custom ICC profiles. Allowed values: rgb, grayscale, cmyk. Optional"),
|
|
553
|
+
name: z.union([z.string().max(255), z.enum(["Adobe RGB (1998)", "Apple RGB", "ColorMatch RGB", "sRGB IEC61966-2.1", "Dot Gain 10%", "Dot Gain 15%", "Dot Gain 20%", "Dot Gain 25%", "Dot Gain 30%", "Gray Gamma 1.8", "Gray Gamma 2.2"])]),
|
|
554
|
+
source: In_FileResourceInput.optional()
|
|
555
|
+
}));
|
|
556
|
+
/**
|
|
557
|
+
* Union of OpenAPI components `EditPixelMask`, `PixelMask`, request (closed).
|
|
558
|
+
* @category Generated
|
|
559
|
+
*/
|
|
560
|
+
export const In_OneOf_EditPixelMask_or_PixelMask = z.lazy(() => z.strictObject({
|
|
561
|
+
isEnabled: z.boolean().optional().describe("Whether the pixel mask is enabled. Optional. Defaults to true when adding new layers. Optional for edits"),
|
|
562
|
+
isLinked: z.boolean().optional().describe("Whether the pixel mask is linked to the layer. Optional. Defaults to true when adding new layers. Optional for edits"),
|
|
563
|
+
offset: In_Offset.optional(),
|
|
564
|
+
source: In_FileResourceInput.optional(),
|
|
565
|
+
delete: z.boolean().optional().describe("When true, removes the pixel mask from the layer. Takes precedence over all other options. Defaults to false.")
|
|
566
|
+
}));
|
|
567
|
+
/**
|
|
568
|
+
* Union of OpenAPI components `EditSmartObject`, `SmartObject`, request (closed).
|
|
569
|
+
* @category Generated
|
|
570
|
+
*/
|
|
571
|
+
export const In_OneOf_EditSmartObject_or_SmartObject = z.lazy(() => z.strictObject({
|
|
572
|
+
isLinked: z.boolean().optional().describe("Whether the smart object is linked to the layer."),
|
|
573
|
+
smartObjectFile: In_SmartObjectFile.optional(),
|
|
574
|
+
autoResize: z.boolean().optional().describe("Controls how the embedded smart object content is sized when a replacement file is provided. Only applies to embedded smart objects (isLinked=false) with raster (PNG, JPEG, TIFF, PSD) or PDF/AI replacement files.")
|
|
575
|
+
}));
|
|
576
|
+
/**
|
|
577
|
+
* Union of OpenAPI components `FontCmyk`, `FontGray`, `FontLab`, `FontRgb`, request (closed).
|
|
578
|
+
* @category Generated
|
|
579
|
+
*/
|
|
580
|
+
export const In_OneOf_FontCmyk_or_FontGray_or_FontLab_or_FontRgb = z.lazy(() => z.strictObject({
|
|
581
|
+
black: z.number().int().min(0).max(32768).optional().describe("Black component value (0-32768). 16-bit unsigned. Defaults to 0 when omitted."),
|
|
582
|
+
cyan: z.number().int().min(0).max(32768).optional().describe("Cyan component value (0-32768). 16-bit unsigned. Defaults to 0 when omitted."),
|
|
583
|
+
magenta: z.number().int().min(0).max(32768).optional().describe("Magenta component value (0-32768). 16-bit unsigned. Defaults to 0 when omitted."),
|
|
584
|
+
yellow: z.number().int().min(0).max(32768).optional().describe("Yellow component value (0-32768). 16-bit unsigned. Defaults to 0 when omitted."),
|
|
585
|
+
gray: z.number().int().min(0).max(32768).optional().describe("Gray component value (0-32768). 16-bit unsigned. 0 is black, 32768 is white. Defaults to 0 when omitted."),
|
|
586
|
+
a: z.number().int().min(-16384).max(16384).optional().describe("A component value (-16384 to 16384). 16-bit signed. Defaults to 0 when omitted."),
|
|
587
|
+
b: z.number().int().min(-16384).max(16384).optional().describe("B component value (-16384 to 16384). 16-bit signed. Defaults to 0 when omitted."),
|
|
588
|
+
l: z.number().int().min(0).max(32768).optional().describe("Lightness component value (0-32768). 16-bit unsigned. Defaults to 0 when omitted."),
|
|
589
|
+
blue: z.number().int().min(0).max(32768).optional().describe("Blue component value (0-32768). 16-bit unsigned. Defaults to 0 when omitted."),
|
|
590
|
+
green: z.number().int().min(0).max(32768).optional().describe("Green component value (0-32768). 16-bit unsigned. Defaults to 0 when omitted."),
|
|
591
|
+
red: z.number().int().min(0).max(32768).optional().describe("Red component value (0-32768). 16-bit unsigned. Defaults to 0 when omitted.")
|
|
592
|
+
}));
|
|
593
|
+
/**
|
|
594
|
+
* Union of OpenAPI components `ImageParameters`, `ImageSource`, request (closed).
|
|
595
|
+
* @category Generated
|
|
596
|
+
*/
|
|
597
|
+
export const In_OneOf_ImageParameters_or_ImageSource = z.lazy(() => z.strictObject({
|
|
598
|
+
depth: z.enum(["1", "8", "16", "32"]).optional().describe("Bit depth options for image processing"),
|
|
599
|
+
fill: z.enum(["white", "background_color", "transparent"]).optional().describe("Type of fill for the background layer"),
|
|
600
|
+
height: z.number().int().min(1).max(32000).optional().describe("Height in pixels. Defaults to 100 when omitted."),
|
|
601
|
+
iccProfile: In_IccProfile.optional(),
|
|
602
|
+
mode: z.enum(["rgb", "bitmap", "grayscale", "indexed", "hsb", "cmyk", "lab", "duotone", "multichannel"]).optional().describe("Color mode for document creation. Supported depths vary by mode: bitmap(1), grayscale(8,16,32), indexed(8), rgb(8,16,32), cmyk(8,16), lab(8,16), hsb(8,16,32), multichannel(8,16), duotone(8)."),
|
|
603
|
+
name: z.string().max(255).optional().describe("Name/title of the document. Optional. Maximum 255 characters."),
|
|
604
|
+
pixelScaleFactor: z.number().min(0.1).optional().describe("Pixel scale factor. Optional. Must be positive (minimum 0.1)."),
|
|
605
|
+
resolution: In_ResolutionMeasurement.optional(),
|
|
606
|
+
width: z.number().int().min(1).max(32000).optional().describe("Width in pixels. Defaults to 100 when omitted."),
|
|
607
|
+
source: In_FileResourceInput.optional()
|
|
608
|
+
}));
|
|
609
|
+
/**
|
|
610
|
+
* Union of OpenAPI components `JpegExportOptions`, `PngExportOptions`, request (closed).
|
|
611
|
+
* @category Generated
|
|
612
|
+
*/
|
|
613
|
+
export const In_OneOf_JpegExportOptions_or_PngExportOptions = z.lazy(() => z.strictObject({
|
|
614
|
+
mediaType: z.enum(["image/jpeg", "image/png", "image/tiff", "image/vnd.adobe.photoshop", "document/vnd.adobe.cpsd+dcxucf", "document/vnd.adobe.cpsd+dcx", "application/json"]).describe("Supported media types for output"),
|
|
615
|
+
quality: z.enum(["very_poor", "poor", "low", "medium", "high", "maximum", "photoshop_max"]).optional().describe("JPEG quality levels"),
|
|
616
|
+
compression: z.enum(["none", "very_low", "low", "medium_low", "medium", "medium_high", "default", "high", "very_high", "maximum"]).optional().describe("PNG compression levels, from no compression to maximum compression. Values follow zlib/libpng standards.")
|
|
617
|
+
}));
|
|
618
|
+
/**
|
|
619
|
+
* Union of OpenAPI components `JpegOutput`, `JsonOutput`, `PngOutput`, `PsdOutput`, `PsdcOutput`, `TiffOutput`, request (closed).
|
|
620
|
+
* @category Generated
|
|
621
|
+
*/
|
|
622
|
+
export const In_OneOf_JpegOutput_and_5_more_21ce4a = z.lazy(() => z.strictObject({
|
|
623
|
+
cropMode: z.enum(["trim_to_transparency", "document_bounds", "layer_bounds"]).optional().describe("Crop mode for export output"),
|
|
624
|
+
destination: In_OneOf_CreativeCloudDestination_and_3_more_fbff41,
|
|
625
|
+
height: z.number().int().min(0).optional().describe("Height in pixels. Must be >= 0. Optional."),
|
|
626
|
+
iccProfile: In_OneOf_CustomIccProfile_or_StandardIccProfile.optional(),
|
|
627
|
+
layers: z.array(In_ReferenceLayer).min(0).max(100).optional().describe("Layers to export. Specify layers by id, name, or both. Optional."),
|
|
628
|
+
maxWidth: z.number().int().min(0).optional().describe("Maximum width constraint in pixels. Must be >= 0. If specified and (width > maxWidth OR documentWidth > maxWidth), the output will be constrained to maxWidth. Optional."),
|
|
629
|
+
mediaType: z.enum(["image/jpeg", "image/png", "image/tiff", "image/vnd.adobe.photoshop", "document/vnd.adobe.cpsd+dcxucf", "document/vnd.adobe.cpsd+dcx", "application/json"]).describe("Supported media types for output"),
|
|
630
|
+
resample: z.enum(["nearest_neighbor", "bilinear", "bicubic", "bicubic_smoother", "bicubic_sharper"]).optional().describe("Resampling algorithm used when resizing output to a target width. Valid values: nearest_neighbor, bilinear, bicubic, bicubic_smoother, bicubic_sharper. Defaults to bicubic_sharper when width or maxWidth is specified and this field is omitted. Optional."),
|
|
631
|
+
scriptOutputPattern: z.string().max(255).optional().describe("Pattern for matching script output files in the UXP output directory. Supports both exact filenames and glob patterns. Examples: 'output.json' (matches single specific file), '*.json' (matches all JSON files), 'result-*.png' (matches result-1.png, result-2.png, etc.)."),
|
|
632
|
+
shouldOverwrite: z.boolean().optional().describe("Whether to overwrite existing files. Optional."),
|
|
633
|
+
width: z.number().int().min(0).optional().describe("Width in pixels. Must be >= 0. Optional."),
|
|
634
|
+
quality: z.enum(["very_poor", "poor", "low", "medium", "high", "maximum", "photoshop_max"]).optional().describe("JPEG quality levels"),
|
|
635
|
+
compression: z.enum(["none", "very_low", "low", "medium_low", "medium", "medium_high", "default", "high", "very_high", "maximum"]).optional().describe("PNG compression levels, from no compression to maximum compression. Values follow zlib/libpng standards.")
|
|
636
|
+
}));
|
|
637
|
+
/**
|
|
638
|
+
* Union of OpenAPI components `LrDngOutput`, `LrJpegOutput`, `LrPngOutput`, `XmpOutput`, request (closed).
|
|
639
|
+
* @category Generated
|
|
640
|
+
*/
|
|
641
|
+
export const In_OneOf_LrDngOutput_or_LrJpegOutput_or_LrPngOutput_or_XmpOutput = z.lazy(() => z.strictObject({
|
|
642
|
+
destination: In_OneOf_CreativeCloudDestination_and_3_more_fbff41,
|
|
643
|
+
mediaType: z.enum(["image/jpeg", "image/png", "image/x-adobe-dng", "application/rdf+xml"]).describe("Supported media types for edit output"),
|
|
644
|
+
quality: z.enum(["very_poor", "poor", "low", "medium", "high", "maximum", "photoshop_max"]).optional().describe("JPEG quality levels"),
|
|
645
|
+
compression: z.enum(["none", "very_low", "low", "medium_low", "medium", "medium_high", "default", "high", "very_high", "maximum"]).optional().describe("PNG compression levels, from no compression to maximum compression. Values follow zlib/libpng standards.")
|
|
646
|
+
}));
|
|
647
|
+
/**
|
|
648
|
+
* OpenAPI component `Origin`, request (closed).
|
|
649
|
+
* @category Generated
|
|
650
|
+
*/
|
|
651
|
+
export const In_Origin = z.lazy(() => z.strictObject({
|
|
652
|
+
x: z.number().int().optional().describe("X coordinate"),
|
|
653
|
+
y: z.number().int().optional().describe("Y coordinate")
|
|
654
|
+
})).describe("2D point coordinates");
|
|
655
|
+
/**
|
|
656
|
+
* OpenAPI component `ParagraphStyle`, request (closed).
|
|
657
|
+
* @category Generated
|
|
658
|
+
*/
|
|
659
|
+
export const In_ParagraphStyle = z.lazy(() => z.strictObject({
|
|
660
|
+
alignment: z.enum(["left", "center", "right", "justify", "justify_left", "justify_right", "justify_center"]).optional().describe("Text alignment options"),
|
|
661
|
+
endIndent: z.number().optional().describe("End indent in pixels. Optional. Default is 0."),
|
|
662
|
+
firstLineIndent: z.number().optional().describe("First line indent in pixels. Optional. Default is 0."),
|
|
663
|
+
spaceAfter: z.number().optional().describe("Space after paragraph in pixels. Optional. Default is 0."),
|
|
664
|
+
spaceBefore: z.number().optional().describe("Space before paragraph in pixels. Optional. Default is 0."),
|
|
665
|
+
startIndent: z.number().optional().describe("Start indent in pixels. Optional. Default is 0."),
|
|
666
|
+
writingDirection: z.enum(["left_to_right", "right_to_left"]).optional().describe("Text writing direction")
|
|
667
|
+
})).describe("Paragraph style properties.");
|
|
668
|
+
/**
|
|
669
|
+
* OpenAPI component `ParagraphStyleRange`, request (closed).
|
|
670
|
+
* @category Generated
|
|
671
|
+
*/
|
|
672
|
+
export const In_ParagraphStyleRange = z.lazy(() => z.strictObject({
|
|
673
|
+
apply: In_Apply.optional(),
|
|
674
|
+
paragraphStyle: In_ParagraphStyle.optional()
|
|
675
|
+
})).describe("Paragraph style range defining paragraph formatting for specific text ranges.");
|
|
676
|
+
/**
|
|
677
|
+
* OpenAPI component `PatternResource`, request (closed).
|
|
678
|
+
* @category Generated
|
|
679
|
+
*/
|
|
680
|
+
export const In_PatternResource = z.lazy(() => z.strictObject({
|
|
681
|
+
source: In_PortableFileResourceInput
|
|
682
|
+
})).describe("External pattern file reference. Requires source (URL, Creative Cloud path, or Creative Cloud file ID). Inline content is not supported.");
|
|
683
|
+
/**
|
|
684
|
+
* OpenAPI component `Placement`, request (closed).
|
|
685
|
+
* @category Generated
|
|
686
|
+
*/
|
|
687
|
+
export const In_Placement = z.lazy(() => z.strictObject({
|
|
688
|
+
referenceLayer: In_ReferenceLayer.optional(),
|
|
689
|
+
type: z.enum(["below", "into", "top", "bottom", "above"]).describe("Type of placement operation (below, into, top, bottom, above). Defaults to top when omitted.")
|
|
690
|
+
})).describe("Placement settings for positioning elements with alignment and insertion point.");
|
|
691
|
+
/**
|
|
692
|
+
* OpenAPI component `PortableFileResourceInput`, request (closed).
|
|
693
|
+
* @category Generated
|
|
694
|
+
*/
|
|
695
|
+
export const In_PortableFileResourceInput = z.lazy(() => In_OneOf_CreativeCloudFileIdResourceInput_and_2_more_d026de).describe("External file reference. Must be a URL, Creative Cloud path, or Creative Cloud file ID. Lightroom resources are not supported.");
|
|
696
|
+
/**
|
|
697
|
+
* OpenAPI component `ReferenceLayer`, request (closed).
|
|
698
|
+
* @category Generated
|
|
699
|
+
*/
|
|
700
|
+
export const In_ReferenceLayer = z.lazy(() => z.strictObject({
|
|
701
|
+
id: z.number().int().optional(),
|
|
702
|
+
name: z.string().optional()
|
|
703
|
+
})).describe("Layers to export. Specify layers by id, name, or both. Optional.");
|
|
704
|
+
/**
|
|
705
|
+
* OpenAPI component `Resize`, request (closed).
|
|
706
|
+
* @category Generated
|
|
707
|
+
*/
|
|
708
|
+
export const In_Resize = z.lazy(() => z.strictObject({
|
|
709
|
+
constrainProportions: z.boolean().optional().describe("Whether to constrain proportions during resizing."),
|
|
710
|
+
height: In_DimensionMeasurement.optional(),
|
|
711
|
+
rasterize: z.boolean().optional().describe("Whether to rasterize the image during resizing. Optional."),
|
|
712
|
+
resample: z.enum(["nearest_neighbor", "bilinear", "bicubic", "bicubic_smoother", "bicubic_sharper"]).optional().describe("The resampling method to use when resizing."),
|
|
713
|
+
resolution: In_ResolutionMeasurement.optional(),
|
|
714
|
+
scaleStyles: z.boolean().optional().describe("Whether to scale styles during resizing."),
|
|
715
|
+
width: In_DimensionMeasurement.optional()
|
|
716
|
+
})).describe("Options for resizing a document, including width, height, resolution, resample type, and additional flags.");
|
|
717
|
+
/**
|
|
718
|
+
* OpenAPI component `ResolutionMeasurement`, request (closed).
|
|
719
|
+
* @category Generated
|
|
720
|
+
*/
|
|
721
|
+
export const In_ResolutionMeasurement = z.lazy(() => z.strictObject({
|
|
722
|
+
unit: z.enum(["density_unit"]).describe("The unit of measurement for resolution. 'density_unit' represents pixel density measurements like DPI (dots per inch) or PPI (pixels per inch). Defaults to density_unit when omitted."),
|
|
723
|
+
value: z.number().int().min(1).optional().describe("The value of the resolution. Must be greater than or equal to 1.")
|
|
724
|
+
})).describe("Represents a resolution measurement with density unit.");
|
|
725
|
+
/**
|
|
726
|
+
* OpenAPI component `Rgb`, request (closed).
|
|
727
|
+
* @category Generated
|
|
728
|
+
*/
|
|
729
|
+
export const In_Rgb = z.lazy(() => z.strictObject({
|
|
730
|
+
blue: z.number().int().min(0).max(255).describe("Blue component value (0-255). Defaults to 0 when omitted."),
|
|
731
|
+
green: z.number().int().min(0).max(255).describe("Green component value (0-255). Defaults to 0 when omitted."),
|
|
732
|
+
red: z.number().int().min(0).max(255).describe("Red component value (0-255). Defaults to 0 when omitted.")
|
|
733
|
+
})).describe("RGB color values with red, green, and blue components.");
|
|
734
|
+
/**
|
|
735
|
+
* OpenAPI component `SharpenAdjustments`, request (closed).
|
|
736
|
+
* @category Generated
|
|
737
|
+
*/
|
|
738
|
+
export const In_SharpenAdjustments = z.lazy(() => z.strictObject({
|
|
739
|
+
detail: z.number().int().min(0).max(100).optional().describe("Sharpen detail. Range: 0 to 100"),
|
|
740
|
+
edgeMasking: z.number().int().min(0).max(100).optional().describe("Sharpen edge masking. Range: 0 to 100"),
|
|
741
|
+
radius: z.number().min(0.5).max(3).optional().describe("Sharpen radius. Range: 0.5 to 3.0")
|
|
742
|
+
})).describe("Sharpen adjustments for image editing.");
|
|
743
|
+
/**
|
|
744
|
+
* OpenAPI component `Skew`, request (closed).
|
|
745
|
+
* @category Generated
|
|
746
|
+
*/
|
|
747
|
+
export const In_Skew = z.lazy(() => z.strictObject({
|
|
748
|
+
horizontal: z.number().int().describe("Horizontal skew. Required."),
|
|
749
|
+
vertical: z.number().int().describe("Vertical skew. Required.")
|
|
750
|
+
})).describe("Skew transformation settings for horizontal and vertical distortion.");
|
|
751
|
+
/**
|
|
752
|
+
* OpenAPI component `SmartObjectFile`, request (closed).
|
|
753
|
+
* @category Generated
|
|
754
|
+
*/
|
|
755
|
+
export const In_SmartObjectFile = fileRefSchema({ access: "url" }).describe("File reference for the smart object. Supported file formats: PSD, PNG, JPEG, TIFF, SVG. Optional.");
|
|
756
|
+
/**
|
|
757
|
+
* OpenAPI component `SolidColor`, request (closed).
|
|
758
|
+
* @category Generated
|
|
759
|
+
*/
|
|
760
|
+
export const In_SolidColor = z.lazy(() => z.strictObject({
|
|
761
|
+
rgb: In_Rgb
|
|
762
|
+
})).describe("Solid color definition using RGB values.");
|
|
763
|
+
/**
|
|
764
|
+
* OpenAPI component `Text`, request (closed).
|
|
765
|
+
* @category Generated
|
|
766
|
+
*/
|
|
767
|
+
export const In_Text = z.lazy(() => z.strictObject({
|
|
768
|
+
antiAliasing: z.enum(["none", "sharp", "crisp", "strong", "smooth"]).optional().describe("Anti-aliasing mode for text rendering"),
|
|
769
|
+
characterStyles: z.array(In_CharacterStyleRange).optional().describe("Character styles applied to text ranges. Optional."),
|
|
770
|
+
content: z.string().optional().describe("The text content. Optional."),
|
|
771
|
+
frame: In_OneOf_AreaFrame_or_PointFrame.optional(),
|
|
772
|
+
paragraphStyles: z.array(In_ParagraphStyleRange).optional().describe("Paragraph styles applied to text ranges. Optional."),
|
|
773
|
+
textOrientation: z.enum(["horizontal", "vertical"]).optional().describe("Text orientation")
|
|
774
|
+
})).describe("Text content and formatting settings for text layers.");
|
|
775
|
+
/**
|
|
776
|
+
* OpenAPI component `Transform`, request (closed).
|
|
777
|
+
* @category Generated
|
|
778
|
+
*/
|
|
779
|
+
export const In_Transform = z.lazy(() => z.strictObject({
|
|
780
|
+
anchor: In_Anchor.optional(),
|
|
781
|
+
angle: z.number().optional().describe("Rotation angle in degrees"),
|
|
782
|
+
dimension: In_Dimension.optional(),
|
|
783
|
+
horizontalAlign: z.enum(["left", "center", "right"]).optional().describe("Horizontal alignment options"),
|
|
784
|
+
offset: In_Offset.optional(),
|
|
785
|
+
skew: In_Skew.optional(),
|
|
786
|
+
verticalAlign: z.enum(["top", "center", "bottom"]).optional().describe("Vertical alignment options")
|
|
787
|
+
})).describe("Transformation applied to the smart object or layer, optional");
|
|
788
|
+
/**
|
|
789
|
+
* OpenAPI component `Trim`, request (closed).
|
|
790
|
+
* @category Generated
|
|
791
|
+
*/
|
|
792
|
+
export const In_Trim = z.lazy(() => z.strictObject({
|
|
793
|
+
trimUpon: z.enum(["transparent_pixels"]).optional().describe("The basis for the trim operation (background or transparent). Optional.")
|
|
794
|
+
})).describe("Options for trimming a document, specifying the basis for the trim operation.");
|
|
795
|
+
/**
|
|
796
|
+
* OpenAPI component `UxpResource`, request (closed).
|
|
797
|
+
* @category Generated
|
|
798
|
+
*/
|
|
799
|
+
export const In_UxpResource = z.lazy(() => z.strictObject({
|
|
800
|
+
source: In_OneOf_CreativeCloudFileIdResourceInput_and_4_more_51eef6
|
|
801
|
+
})).describe("UXP plugin script resource. Requires source (external file reference or inline script content).");
|
|
802
|
+
/**
|
|
803
|
+
* OpenAPI component `XmpInput`, request (closed).
|
|
804
|
+
* @category Generated
|
|
805
|
+
*/
|
|
806
|
+
export const In_XmpInput = z.lazy(() => z.strictObject({
|
|
807
|
+
masks: z.array(In_Mask).optional().describe("List of mask inputs. Optional. Each mask contains a source file reference and digest for dictionary lookup."),
|
|
808
|
+
orientation: z.enum(["top_left", "top_right", "bottom_right", "bottom_left", "left_top", "right_top", "right_bottom", "left_bottom"]).optional().describe("XMP orientation values following EXIF/TIFF specification"),
|
|
809
|
+
source: In_FileResourceInput
|
|
810
|
+
})).describe("XMP metadata input. Requires source (external file reference). Inline content is not supported.");
|
|
718
811
|
//# sourceMappingURL=schemas.js.map
|