@shotstack/shotstack-studio 2.0.0-beta.9 → 2.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +143 -1943
- package/dist/internal.d.ts +476 -0
- package/dist/internal.es.js +45784 -0
- package/dist/internal.umd.js +228 -0
- package/dist/shotstack-studio.es.js +35722 -27658
- package/dist/shotstack-studio.umd.js +496 -258
- package/package.json +20 -17
- package/readme.md +151 -144
- package/dist/schema/assets/fonts/Arapey-Regular.ttf +0 -0
- package/dist/schema/assets/fonts/ClearSans-Regular.ttf +0 -0
- package/dist/schema/assets/fonts/DidactGothic-Regular.ttf +0 -0
- package/dist/schema/assets/fonts/Montserrat-ExtraBold.ttf +0 -0
- package/dist/schema/assets/fonts/Montserrat-SemiBold.ttf +0 -0
- package/dist/schema/assets/fonts/Montserrat.ttf +0 -0
- package/dist/schema/assets/fonts/MovLette.ttf +0 -0
- package/dist/schema/assets/fonts/OpenSans-Bold.ttf +0 -0
- package/dist/schema/assets/fonts/OpenSans.ttf +0 -0
- package/dist/schema/assets/fonts/PermanentMarker-Regular.ttf +0 -0
- package/dist/schema/assets/fonts/Roboto-BlackItalic.ttf +0 -0
- package/dist/schema/assets/fonts/Roboto.ttf +0 -0
- package/dist/schema/assets/fonts/SueEllenFrancisco.ttf +0 -0
- package/dist/schema/assets/fonts/UniNeue-Bold.otf +0 -0
- package/dist/schema/assets/fonts/WorkSans-Light.ttf +0 -0
- package/dist/schema/assets/fonts/WorkSans.ttf +0 -0
- package/dist/schema/assets/images/typescript.svg +0 -1
- package/dist/schema/hb.wasm +0 -0
- package/dist/schema/index.cjs +0 -1
- package/dist/schema/index.d.ts +0 -2475
- package/dist/schema/index.mjs +0 -1555
package/dist/schema/index.mjs
DELETED
|
@@ -1,1555 +0,0 @@
|
|
|
1
|
-
import { z as e } from "zod";
|
|
2
|
-
e.unknown();
|
|
3
|
-
e.unknown();
|
|
4
|
-
e.unknown();
|
|
5
|
-
e.unknown();
|
|
6
|
-
e.unknown();
|
|
7
|
-
e.unknown();
|
|
8
|
-
e.unknown();
|
|
9
|
-
e.unknown();
|
|
10
|
-
e.unknown();
|
|
11
|
-
e.unknown();
|
|
12
|
-
e.unknown();
|
|
13
|
-
e.unknown();
|
|
14
|
-
e.unknown();
|
|
15
|
-
e.unknown();
|
|
16
|
-
e.unknown();
|
|
17
|
-
e.unknown();
|
|
18
|
-
const L = e.object({
|
|
19
|
-
color: e.optional(e.string()),
|
|
20
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
21
|
-
padding: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
22
|
-
borderRadius: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int()))
|
|
23
|
-
}), G = e.object({
|
|
24
|
-
family: e.optional(e.string()),
|
|
25
|
-
color: e.optional(e.string()),
|
|
26
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
27
|
-
size: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
28
|
-
lineHeight: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
29
|
-
stroke: e.optional(e.string()),
|
|
30
|
-
strokeWidth: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number()))
|
|
31
|
-
}), I = e.object({
|
|
32
|
-
top: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
33
|
-
left: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
34
|
-
right: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number()))
|
|
35
|
-
}), c = e.object({
|
|
36
|
-
type: e.enum(["caption"]),
|
|
37
|
-
src: e.string(),
|
|
38
|
-
font: e.optional(G),
|
|
39
|
-
background: e.optional(L),
|
|
40
|
-
margin: e.optional(I),
|
|
41
|
-
trim: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
42
|
-
speed: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(10)))
|
|
43
|
-
}), $t = c, C = e.object({
|
|
44
|
-
color: e.optional(e.string()),
|
|
45
|
-
threshold: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int().gte(0).lte(250))),
|
|
46
|
-
halo: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int().gte(0).lte(250)))
|
|
47
|
-
}), z = e.object({
|
|
48
|
-
type: e.enum(["text-to-avatar"]),
|
|
49
|
-
text: e.string(),
|
|
50
|
-
avatar: e.enum(["jack", "lana", "lily", "matt", "rian"]),
|
|
51
|
-
background: e.optional(e.string())
|
|
52
|
-
}), B = e.object({
|
|
53
|
-
type: e.literal("didTextToAvatarOptions_DIDTextToAvatarOptions")
|
|
54
|
-
}).and(z), E = e.object({
|
|
55
|
-
provider: e.enum(["d-id"]),
|
|
56
|
-
options: B
|
|
57
|
-
}), q = e.object({
|
|
58
|
-
type: e.enum(["text-to-speech"]),
|
|
59
|
-
text: e.string(),
|
|
60
|
-
voice: e.enum([
|
|
61
|
-
"Adam",
|
|
62
|
-
"Antoni",
|
|
63
|
-
"Arnold",
|
|
64
|
-
"Bella",
|
|
65
|
-
"Domi",
|
|
66
|
-
"Elli",
|
|
67
|
-
"Josh",
|
|
68
|
-
"Rachel",
|
|
69
|
-
"Sam"
|
|
70
|
-
])
|
|
71
|
-
}), P = e.object({
|
|
72
|
-
type: e.literal("elevenlabsTextToSpeechOptions_ElevenLabsTextToSpeechOptions")
|
|
73
|
-
}).and(q), _ = e.object({
|
|
74
|
-
provider: e.enum(["elevenlabs"]),
|
|
75
|
-
options: P
|
|
76
|
-
}), $ = e.object({
|
|
77
|
-
type: e.enum(["text-to-avatar"]),
|
|
78
|
-
text: e.string(),
|
|
79
|
-
avatar: e.enum([
|
|
80
|
-
"Angela",
|
|
81
|
-
"Bill",
|
|
82
|
-
"Daisy",
|
|
83
|
-
"Derek",
|
|
84
|
-
"Eva",
|
|
85
|
-
"Jake",
|
|
86
|
-
"Jeff",
|
|
87
|
-
"Jerome",
|
|
88
|
-
"Joon",
|
|
89
|
-
"Kayla",
|
|
90
|
-
"Kent",
|
|
91
|
-
"Luna",
|
|
92
|
-
"Mark",
|
|
93
|
-
"Matthew",
|
|
94
|
-
"Monica",
|
|
95
|
-
"Peter",
|
|
96
|
-
"Selina",
|
|
97
|
-
"Tanya",
|
|
98
|
-
"Thomas",
|
|
99
|
-
"Tina",
|
|
100
|
-
"Tyler",
|
|
101
|
-
"Vanessa",
|
|
102
|
-
"Vera",
|
|
103
|
-
"Wilson",
|
|
104
|
-
"Zoey"
|
|
105
|
-
]),
|
|
106
|
-
voice: e.enum([
|
|
107
|
-
"Abbi - Natural",
|
|
108
|
-
"Adam - Natural",
|
|
109
|
-
"Aiston - Friendly",
|
|
110
|
-
"Alice - Newscaster",
|
|
111
|
-
"Alison - Cheerful",
|
|
112
|
-
"Amber - Friendly",
|
|
113
|
-
"Amy - Warm",
|
|
114
|
-
"Ana - Cheerful",
|
|
115
|
-
"Antoni - Friendly",
|
|
116
|
-
"Aria - Newscaster",
|
|
117
|
-
"Arnold - Cheerful",
|
|
118
|
-
"Arthur - Natural",
|
|
119
|
-
"Bella - Friendly",
|
|
120
|
-
"Belle - Natural",
|
|
121
|
-
"Brandon - Warm",
|
|
122
|
-
"Brian - Natural",
|
|
123
|
-
"Bruce - Natural",
|
|
124
|
-
"Cerise - Cheerful",
|
|
125
|
-
"Christopher - Calm",
|
|
126
|
-
"Clara - Professional",
|
|
127
|
-
"Connor - Natural",
|
|
128
|
-
"Dahlia - Friendly",
|
|
129
|
-
"Davis - Professional",
|
|
130
|
-
"Dean - Natural",
|
|
131
|
-
"Delbert - Cheerful",
|
|
132
|
-
"Edward - Friendly",
|
|
133
|
-
"Elaine - Calm",
|
|
134
|
-
"Emily - Natural",
|
|
135
|
-
"Emma - Newscaster",
|
|
136
|
-
"Eric - Newscaster",
|
|
137
|
-
"Grace - Natural",
|
|
138
|
-
"Hailey - Calm",
|
|
139
|
-
"Indira - Cheerful",
|
|
140
|
-
"Isabella - Cheerful",
|
|
141
|
-
"Jacob - Natural",
|
|
142
|
-
"Jahmai - Friendly",
|
|
143
|
-
"Jane - Serious",
|
|
144
|
-
"Jason - Serious",
|
|
145
|
-
"Jelle - Friendly",
|
|
146
|
-
"Jen - Natural",
|
|
147
|
-
"Jenny - Professional",
|
|
148
|
-
"Jodi - Cheerful",
|
|
149
|
-
"Joey - Calm",
|
|
150
|
-
"Johan - Friendly",
|
|
151
|
-
"Josie - Cheerful",
|
|
152
|
-
"Keanan - Natural",
|
|
153
|
-
"Keith - Cheerful",
|
|
154
|
-
"Kellie - Friendly",
|
|
155
|
-
"Lauren - Friendly",
|
|
156
|
-
"Leah - Natural",
|
|
157
|
-
"Liam - Professional",
|
|
158
|
-
"Libby - Natural",
|
|
159
|
-
"Lily - Professional",
|
|
160
|
-
"Lucas - Natural",
|
|
161
|
-
"Luke - Professional",
|
|
162
|
-
"Luna - Natural",
|
|
163
|
-
"Marieke - Natural",
|
|
164
|
-
"Matthew - Professional",
|
|
165
|
-
"Michelle - Natural",
|
|
166
|
-
"Mitchell - Natural",
|
|
167
|
-
"Molly - Newscaster",
|
|
168
|
-
"Monica - Calm",
|
|
169
|
-
"Natasha - Professional",
|
|
170
|
-
"Neerja - Newscaster",
|
|
171
|
-
"Noah - Serious",
|
|
172
|
-
"Oliver - Newscaster",
|
|
173
|
-
"Olivia - Calm",
|
|
174
|
-
"Paul - Natural",
|
|
175
|
-
"Prabhat - Natural",
|
|
176
|
-
"Raveena - Natural",
|
|
177
|
-
"Rudi - Friendly",
|
|
178
|
-
"Ryan - Professional",
|
|
179
|
-
"Sam - Natural",
|
|
180
|
-
"Sara - Cheerful",
|
|
181
|
-
"Sherry - Friendly",
|
|
182
|
-
"Sonia - Warm",
|
|
183
|
-
"Thomas - Natural",
|
|
184
|
-
"Todd - Professional",
|
|
185
|
-
"Tony - Professional",
|
|
186
|
-
"Tracy - Cheerful",
|
|
187
|
-
"Wayne - Natural",
|
|
188
|
-
"Wilder - Natural",
|
|
189
|
-
"Wille - Natural",
|
|
190
|
-
"William - Friendly"
|
|
191
|
-
]),
|
|
192
|
-
avatarStyle: e.optional(e.enum(["normal", "circle"])),
|
|
193
|
-
background: e.optional(e.string()),
|
|
194
|
-
ratio: e.optional(e.enum(["16:9", "9:16"])),
|
|
195
|
-
test: e.optional(e.boolean())
|
|
196
|
-
}), U = e.object({
|
|
197
|
-
type: e.literal("heygenTextToAvatarOptions_HeyGenTextToAvatarOptions")
|
|
198
|
-
}).and($), J = e.object({
|
|
199
|
-
provider: e.enum(["heygen"]),
|
|
200
|
-
options: U
|
|
201
|
-
}), Z = e.object({
|
|
202
|
-
type: e.enum(["text-generator"]),
|
|
203
|
-
prompt: e.string(),
|
|
204
|
-
model: e.enum(["gpt-3.5-turbo", "gpt-4"]),
|
|
205
|
-
systemPrompt: e.optional(e.string())
|
|
206
|
-
}), M = e.object({
|
|
207
|
-
type: e.literal("openaiTextGeneratorOptions_OpenAiTextGeneratorOptions")
|
|
208
|
-
}).and(Z), H = e.object({
|
|
209
|
-
provider: e.enum(["openai"]),
|
|
210
|
-
options: M
|
|
211
|
-
}), K = e.object({
|
|
212
|
-
status: e.string(),
|
|
213
|
-
title: e.string(),
|
|
214
|
-
detail: e.string()
|
|
215
|
-
});
|
|
216
|
-
e.object({
|
|
217
|
-
errors: e.array(K)
|
|
218
|
-
});
|
|
219
|
-
const V = e.object({
|
|
220
|
-
owner: e.string(),
|
|
221
|
-
provider: e.enum(["shotstack", "elevenlabs", "heygen", "d-id"]),
|
|
222
|
-
type: e.enum(["text-to-speech", "text-to-avatar"]),
|
|
223
|
-
url: e.optional(e.string()),
|
|
224
|
-
status: e.enum(["queued", "processing", "saving", "done", "failed"]),
|
|
225
|
-
created: e.string(),
|
|
226
|
-
updated: e.string()
|
|
227
|
-
}), Q = e.object({
|
|
228
|
-
type: e.string(),
|
|
229
|
-
id: e.string(),
|
|
230
|
-
attributes: V
|
|
231
|
-
});
|
|
232
|
-
e.object({
|
|
233
|
-
data: Q
|
|
234
|
-
});
|
|
235
|
-
const W = e.object({
|
|
236
|
-
type: e.enum(["image-to-video"]),
|
|
237
|
-
imageUrl: e.string(),
|
|
238
|
-
guidanceScale: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())).default(1.8),
|
|
239
|
-
motion: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())).default(127)
|
|
240
|
-
}), X = e.object({
|
|
241
|
-
type: e.enum(["text-generator"]),
|
|
242
|
-
prompt: e.string()
|
|
243
|
-
}), Y = e.object({
|
|
244
|
-
type: e.enum(["text-to-image"]),
|
|
245
|
-
prompt: e.string(),
|
|
246
|
-
width: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int()),
|
|
247
|
-
height: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())
|
|
248
|
-
}), v = e.object({
|
|
249
|
-
type: e.enum(["text-to-speech"]),
|
|
250
|
-
text: e.string(),
|
|
251
|
-
voice: e.enum([
|
|
252
|
-
"Hala",
|
|
253
|
-
"Lisa",
|
|
254
|
-
"Arlet",
|
|
255
|
-
"Hiujin",
|
|
256
|
-
"Zhiyu",
|
|
257
|
-
"Sofie",
|
|
258
|
-
"Laura",
|
|
259
|
-
"Olivia",
|
|
260
|
-
"Amy",
|
|
261
|
-
"Emma",
|
|
262
|
-
"Brian",
|
|
263
|
-
"Arthur",
|
|
264
|
-
"Kajal",
|
|
265
|
-
"Niamh",
|
|
266
|
-
"Aria",
|
|
267
|
-
"Ayanda",
|
|
268
|
-
"Ivy",
|
|
269
|
-
"Joanna",
|
|
270
|
-
"Kendra",
|
|
271
|
-
"Kimberly",
|
|
272
|
-
"Salli",
|
|
273
|
-
"Joey",
|
|
274
|
-
"Justin",
|
|
275
|
-
"Kevin",
|
|
276
|
-
"Matthew",
|
|
277
|
-
"Ruth",
|
|
278
|
-
"Stephen",
|
|
279
|
-
"Suvi",
|
|
280
|
-
"Léa",
|
|
281
|
-
"Rémi",
|
|
282
|
-
"Gabrielle",
|
|
283
|
-
"Liam",
|
|
284
|
-
"Vicki",
|
|
285
|
-
"Daniel",
|
|
286
|
-
"Hannah",
|
|
287
|
-
"Kajal",
|
|
288
|
-
"Bianca",
|
|
289
|
-
"Adriano",
|
|
290
|
-
"Takumi",
|
|
291
|
-
"Kazuha",
|
|
292
|
-
"Tomoko",
|
|
293
|
-
"Seoyeon",
|
|
294
|
-
"Ida",
|
|
295
|
-
"Ola",
|
|
296
|
-
"Camila",
|
|
297
|
-
"Vitória",
|
|
298
|
-
"Vitoria",
|
|
299
|
-
"Thiago",
|
|
300
|
-
"Inês",
|
|
301
|
-
"Ines",
|
|
302
|
-
"Lucia",
|
|
303
|
-
"Sergio",
|
|
304
|
-
"Mia",
|
|
305
|
-
"Andrés",
|
|
306
|
-
"Lupe",
|
|
307
|
-
"Pedro",
|
|
308
|
-
"Elin"
|
|
309
|
-
]),
|
|
310
|
-
language: e.optional(e.enum([
|
|
311
|
-
"cmn-CN",
|
|
312
|
-
"da-DK",
|
|
313
|
-
"de-DE",
|
|
314
|
-
"en-AU",
|
|
315
|
-
"en-GB",
|
|
316
|
-
"en-IN",
|
|
317
|
-
"en-US",
|
|
318
|
-
"es-ES",
|
|
319
|
-
"es-MX",
|
|
320
|
-
"es-US",
|
|
321
|
-
"fr-CA",
|
|
322
|
-
"fr-FR",
|
|
323
|
-
"it-IT",
|
|
324
|
-
"ja-JP",
|
|
325
|
-
"hi-IN",
|
|
326
|
-
"ko-KR",
|
|
327
|
-
"nb-NO",
|
|
328
|
-
"nl-NL",
|
|
329
|
-
"pl-PL",
|
|
330
|
-
"pt-BR",
|
|
331
|
-
"pt-PT",
|
|
332
|
-
"sv-SE",
|
|
333
|
-
"en-NZ",
|
|
334
|
-
"en-ZA",
|
|
335
|
-
"ca-ES",
|
|
336
|
-
"de-AT",
|
|
337
|
-
"yue-CN",
|
|
338
|
-
"ar-AE",
|
|
339
|
-
"fi-FI"
|
|
340
|
-
])),
|
|
341
|
-
newscaster: e.optional(e.boolean()).default(!1)
|
|
342
|
-
}), ee = e.union([
|
|
343
|
-
e.object({
|
|
344
|
-
type: e.literal("shotstackTextToSpeechOptions_ShotstackTextToSpeechOptions")
|
|
345
|
-
}).and(v),
|
|
346
|
-
e.object({
|
|
347
|
-
type: e.literal("shotstackTextToImageOptions_ShotstackTextToImageOptions")
|
|
348
|
-
}).and(Y),
|
|
349
|
-
e.object({
|
|
350
|
-
type: e.literal("shotstackTextGeneratorOptions_ShotstackTextGeneratorOptions")
|
|
351
|
-
}).and(X),
|
|
352
|
-
e.object({
|
|
353
|
-
type: e.literal("shotstackImageToVideoOptions_ShotstackImageToVideoOptions")
|
|
354
|
-
}).and(W)
|
|
355
|
-
]), te = e.object({
|
|
356
|
-
provider: e.enum(["shotstack"]),
|
|
357
|
-
options: ee
|
|
358
|
-
}), oe = e.object({
|
|
359
|
-
type: e.enum(["text-to-image"]),
|
|
360
|
-
prompt: e.string(),
|
|
361
|
-
engine: e.optional(e.enum([
|
|
362
|
-
"stable-diffusion-xl-1024-v0-9",
|
|
363
|
-
"stable-diffusion-xl-1024-v1-0",
|
|
364
|
-
"stable-diffusion-v1-6",
|
|
365
|
-
"stable-diffusion-512-v2-1",
|
|
366
|
-
"stable-diffusion-xl-beta-v2-2-2"
|
|
367
|
-
])),
|
|
368
|
-
width: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int()),
|
|
369
|
-
height: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int()),
|
|
370
|
-
steps: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())).default(30),
|
|
371
|
-
seed: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())).default(0),
|
|
372
|
-
cfgScale: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())).default(7),
|
|
373
|
-
stylePreset: e.optional(e.enum([
|
|
374
|
-
"3d-model",
|
|
375
|
-
"analog-film",
|
|
376
|
-
"anime",
|
|
377
|
-
"cinematic",
|
|
378
|
-
"comic-book",
|
|
379
|
-
"digital-art",
|
|
380
|
-
"enhance",
|
|
381
|
-
"fantasy-art",
|
|
382
|
-
"isometric",
|
|
383
|
-
"line-art",
|
|
384
|
-
"low-poly",
|
|
385
|
-
"modeling-compound",
|
|
386
|
-
"neon-punk",
|
|
387
|
-
"origami",
|
|
388
|
-
"photographic",
|
|
389
|
-
"pixel-art",
|
|
390
|
-
"tile-texture"
|
|
391
|
-
]))
|
|
392
|
-
}), ae = e.object({
|
|
393
|
-
type: e.literal("stabilityAiTextToImageOptions_StabilityAiTextToImageOptions")
|
|
394
|
-
}).and(oe), re = e.object({
|
|
395
|
-
provider: e.enum(["stability-ai"]),
|
|
396
|
-
options: ae
|
|
397
|
-
}), ne = e.union([
|
|
398
|
-
e.object({
|
|
399
|
-
provider: e.literal("shotstackGeneratedAsset_ShotstackGeneratedAsset")
|
|
400
|
-
}).and(te),
|
|
401
|
-
e.object({
|
|
402
|
-
provider: e.literal("didGeneratedAsset_DIDGeneratedAsset")
|
|
403
|
-
}).and(E),
|
|
404
|
-
e.object({
|
|
405
|
-
provider: e.literal("elevenlabsGeneratedAsset_ElevenLabsGeneratedAsset")
|
|
406
|
-
}).and(_),
|
|
407
|
-
e.object({
|
|
408
|
-
provider: e.literal("heygenGeneratedAsset_HeyGenGeneratedAsset")
|
|
409
|
-
}).and(J),
|
|
410
|
-
e.object({
|
|
411
|
-
provider: e.literal("openaiGeneratedAsset_OpenAiGeneratedAsset")
|
|
412
|
-
}).and(H),
|
|
413
|
-
e.object({
|
|
414
|
-
provider: e.literal("stabilityAiGeneratedAsset_StabilityAiGeneratedAsset")
|
|
415
|
-
}).and(re)
|
|
416
|
-
]), a = e.object({
|
|
417
|
-
top: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))),
|
|
418
|
-
bottom: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))),
|
|
419
|
-
left: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))),
|
|
420
|
-
right: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1)))
|
|
421
|
-
}), Ut = a, se = e.object({
|
|
422
|
-
bucket: e.string(),
|
|
423
|
-
prefix: e.optional(e.string()),
|
|
424
|
-
filename: e.optional(e.string())
|
|
425
|
-
}), ie = e.object({
|
|
426
|
-
provider: e.string().default("google-cloud-storage"),
|
|
427
|
-
options: e.optional(se)
|
|
428
|
-
}), ce = e.object({
|
|
429
|
-
folderId: e.string(),
|
|
430
|
-
filename: e.optional(e.string())
|
|
431
|
-
}), pe = e.object({
|
|
432
|
-
provider: e.string().default("google-drive"),
|
|
433
|
-
options: ce
|
|
434
|
-
}), le = e.object({
|
|
435
|
-
playbackPolicy: e.optional(e.array(e.enum(["public", "signed"]))),
|
|
436
|
-
passthrough: e.optional(e.string().max(255))
|
|
437
|
-
}), ue = e.object({
|
|
438
|
-
provider: e.string().default("mux"),
|
|
439
|
-
options: e.optional(le)
|
|
440
|
-
}), me = e.object({
|
|
441
|
-
region: e.string(),
|
|
442
|
-
bucket: e.string(),
|
|
443
|
-
prefix: e.optional(e.string()),
|
|
444
|
-
filename: e.optional(e.string()),
|
|
445
|
-
acl: e.optional(e.string())
|
|
446
|
-
}), de = e.object({
|
|
447
|
-
provider: e.string().default("s3"),
|
|
448
|
-
options: e.optional(me)
|
|
449
|
-
}), he = e.object({
|
|
450
|
-
provider: e.string().default("shotstack"),
|
|
451
|
-
exclude: e.optional(e.boolean())
|
|
452
|
-
}), ge = e.object({
|
|
453
|
-
title: e.optional(e.string().max(150)),
|
|
454
|
-
privacyLevel: e.optional(e.enum(["public", "friends", "private"])),
|
|
455
|
-
disableDuet: e.optional(e.boolean()).default(!1),
|
|
456
|
-
disableStitch: e.optional(e.boolean()).default(!1),
|
|
457
|
-
disableComment: e.optional(e.boolean()).default(!1)
|
|
458
|
-
}), ye = e.object({
|
|
459
|
-
provider: e.string().default("tiktok"),
|
|
460
|
-
options: e.optional(ge)
|
|
461
|
-
}), be = e.object({
|
|
462
|
-
view: e.optional(e.enum(["anybody", "nobody", "contacts", "password", "unlisted"])),
|
|
463
|
-
embed: e.optional(e.enum(["public", "private", "whitelist"])),
|
|
464
|
-
comments: e.optional(e.enum(["anybody", "nobody", "contacts"]))
|
|
465
|
-
}), Ae = e.object({
|
|
466
|
-
name: e.optional(e.string()),
|
|
467
|
-
description: e.optional(e.string()),
|
|
468
|
-
privacy: e.optional(be),
|
|
469
|
-
folderUri: e.optional(e.string())
|
|
470
|
-
}), fe = e.object({
|
|
471
|
-
provider: e.string().default("vimeo"),
|
|
472
|
-
options: e.optional(Ae)
|
|
473
|
-
}), n = e.union([
|
|
474
|
-
e.object({
|
|
475
|
-
destinations: e.optional(e.literal("shotstackDestination_ShotstackDestination"))
|
|
476
|
-
}).and(he),
|
|
477
|
-
e.object({
|
|
478
|
-
destinations: e.optional(e.literal("muxDestination_MuxDestination"))
|
|
479
|
-
}).and(ue),
|
|
480
|
-
e.object({
|
|
481
|
-
destinations: e.optional(e.literal("s3Destination_S3Destination"))
|
|
482
|
-
}).and(de),
|
|
483
|
-
e.object({
|
|
484
|
-
destinations: e.optional(e.literal("googleCloudStorageDestination_GoogleCloudStorageDestination"))
|
|
485
|
-
}).and(ie),
|
|
486
|
-
e.object({
|
|
487
|
-
destinations: e.optional(e.literal("googleDriveDestination_GoogleDriveDestination"))
|
|
488
|
-
}).and(pe),
|
|
489
|
-
e.object({
|
|
490
|
-
destinations: e.optional(e.literal("vimeoDestination_VimeoDestination"))
|
|
491
|
-
}).and(fe),
|
|
492
|
-
e.object({
|
|
493
|
-
destinations: e.optional(e.literal("tiktokDestination_TiktokDestination"))
|
|
494
|
-
}).and(ye)
|
|
495
|
-
]), Ne = n, Se = e.object({
|
|
496
|
-
horizontal: e.optional(e.boolean()),
|
|
497
|
-
vertical: e.optional(e.boolean())
|
|
498
|
-
}), je = e.object({
|
|
499
|
-
src: e.string()
|
|
500
|
-
}), p = e.object({
|
|
501
|
-
type: e.enum(["html"]),
|
|
502
|
-
html: e.string(),
|
|
503
|
-
css: e.optional(e.string()),
|
|
504
|
-
width: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
505
|
-
height: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
506
|
-
background: e.optional(e.string()),
|
|
507
|
-
position: e.optional(e.enum([
|
|
508
|
-
"top",
|
|
509
|
-
"topRight",
|
|
510
|
-
"right",
|
|
511
|
-
"bottomRight",
|
|
512
|
-
"bottom",
|
|
513
|
-
"bottomLeft",
|
|
514
|
-
"left",
|
|
515
|
-
"topLeft",
|
|
516
|
-
"center"
|
|
517
|
-
]))
|
|
518
|
-
}), Jt = p, l = e.object({
|
|
519
|
-
type: e.enum(["image"]),
|
|
520
|
-
src: e.string(),
|
|
521
|
-
crop: e.optional(a)
|
|
522
|
-
}), Zt = l, we = e.object({
|
|
523
|
-
type: e.optional(e.enum(["image-to-video"])),
|
|
524
|
-
src: e.optional(e.string()),
|
|
525
|
-
prompt: e.optional(e.string()),
|
|
526
|
-
aspectRatio: e.optional(e.enum(["1:1", "4:3", "16:9", "9:16", "3:4", "21:9", "9:21"])),
|
|
527
|
-
speed: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(10))),
|
|
528
|
-
crop: e.optional(a)
|
|
529
|
-
}), xe = e.object({
|
|
530
|
-
preset: e.enum([
|
|
531
|
-
"conference",
|
|
532
|
-
"interview",
|
|
533
|
-
"lecture",
|
|
534
|
-
"meeting",
|
|
535
|
-
"mobile_phone",
|
|
536
|
-
"music",
|
|
537
|
-
"podcast",
|
|
538
|
-
"studio",
|
|
539
|
-
"voice_over"
|
|
540
|
-
])
|
|
541
|
-
}), Te = e.object({
|
|
542
|
-
provider: e.string().default("dolby"),
|
|
543
|
-
options: xe
|
|
544
|
-
}), ke = e.object({
|
|
545
|
-
enhancement: e.literal("dolbyEnhancement_DolbyEnhancement")
|
|
546
|
-
}).and(Te), Fe = e.object({
|
|
547
|
-
audio: e.optional(ke)
|
|
548
|
-
}), Re = e.object({
|
|
549
|
-
status: e.string(),
|
|
550
|
-
title: e.string(),
|
|
551
|
-
detail: e.string()
|
|
552
|
-
});
|
|
553
|
-
e.object({
|
|
554
|
-
errors: e.array(Re)
|
|
555
|
-
});
|
|
556
|
-
const Oe = e.object({
|
|
557
|
-
type: e.string(),
|
|
558
|
-
id: e.string()
|
|
559
|
-
});
|
|
560
|
-
e.object({
|
|
561
|
-
data: Oe
|
|
562
|
-
});
|
|
563
|
-
const De = e.object({
|
|
564
|
-
id: e.string(),
|
|
565
|
-
url: e.string(),
|
|
566
|
-
expires: e.string()
|
|
567
|
-
}), Le = e.object({
|
|
568
|
-
type: e.string(),
|
|
569
|
-
id: e.string(),
|
|
570
|
-
attributes: De
|
|
571
|
-
});
|
|
572
|
-
e.object({
|
|
573
|
-
data: Le
|
|
574
|
-
});
|
|
575
|
-
const Ge = e.object({
|
|
576
|
-
speed: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(10))),
|
|
577
|
-
preservePitch: e.optional(e.boolean())
|
|
578
|
-
}), Ie = e.object({
|
|
579
|
-
format: e.optional(e.enum(["srt", "vtt"]))
|
|
580
|
-
}), u = e.object({
|
|
581
|
-
type: e.enum(["luma"]),
|
|
582
|
-
src: e.string(),
|
|
583
|
-
trim: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number()))
|
|
584
|
-
}), Mt = u, m = e.object({
|
|
585
|
-
find: e.string(),
|
|
586
|
-
replace: e.unknown()
|
|
587
|
-
}), Ce = e.object({
|
|
588
|
-
capture: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())
|
|
589
|
-
}), ze = e.object({
|
|
590
|
-
start: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0))),
|
|
591
|
-
length: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0)))
|
|
592
|
-
}), Be = e.object({
|
|
593
|
-
id: e.string(),
|
|
594
|
-
owner: e.string(),
|
|
595
|
-
region: e.optional(e.string()),
|
|
596
|
-
renderId: e.optional(e.string()),
|
|
597
|
-
providerId: e.optional(e.string()),
|
|
598
|
-
filename: e.optional(e.string()),
|
|
599
|
-
url: e.optional(e.string()),
|
|
600
|
-
status: e.enum(["importing", "ready", "failed", "deleted"]),
|
|
601
|
-
created: e.optional(e.string()),
|
|
602
|
-
updated: e.optional(e.string())
|
|
603
|
-
}), d = e.object({
|
|
604
|
-
type: e.string(),
|
|
605
|
-
attributes: Be
|
|
606
|
-
});
|
|
607
|
-
e.object({
|
|
608
|
-
data: e.array(d)
|
|
609
|
-
});
|
|
610
|
-
e.object({
|
|
611
|
-
data: d
|
|
612
|
-
});
|
|
613
|
-
e.object({
|
|
614
|
-
success: e.boolean(),
|
|
615
|
-
message: e.string(),
|
|
616
|
-
response: e.record(e.string(), e.unknown())
|
|
617
|
-
});
|
|
618
|
-
const Ee = e.object({
|
|
619
|
-
message: e.string(),
|
|
620
|
-
id: e.string()
|
|
621
|
-
});
|
|
622
|
-
e.object({
|
|
623
|
-
success: e.boolean(),
|
|
624
|
-
message: e.string(),
|
|
625
|
-
response: Ee
|
|
626
|
-
});
|
|
627
|
-
const qe = e.object({
|
|
628
|
-
id: e.string(),
|
|
629
|
-
name: e.string(),
|
|
630
|
-
created: e.optional(e.string()),
|
|
631
|
-
updated: e.optional(e.string())
|
|
632
|
-
}), Pe = e.object({
|
|
633
|
-
owner: e.string(),
|
|
634
|
-
templates: e.array(qe)
|
|
635
|
-
});
|
|
636
|
-
e.object({
|
|
637
|
-
success: e.boolean(),
|
|
638
|
-
message: e.string(),
|
|
639
|
-
response: Pe
|
|
640
|
-
});
|
|
641
|
-
const _e = e.object({
|
|
642
|
-
message: e.string(),
|
|
643
|
-
id: e.string()
|
|
644
|
-
});
|
|
645
|
-
e.object({
|
|
646
|
-
success: e.boolean(),
|
|
647
|
-
message: e.string(),
|
|
648
|
-
response: _e
|
|
649
|
-
});
|
|
650
|
-
const $e = e.object({
|
|
651
|
-
horizontal: e.optional(e.enum(["left", "center", "right"])),
|
|
652
|
-
vertical: e.optional(e.enum(["top", "middle", "bottom"]))
|
|
653
|
-
}), Ue = e.object({
|
|
654
|
-
preset: e.enum([
|
|
655
|
-
"fadeIn",
|
|
656
|
-
"slideIn",
|
|
657
|
-
"typewriter",
|
|
658
|
-
"ascend",
|
|
659
|
-
"shift",
|
|
660
|
-
"movingLetters"
|
|
661
|
-
]),
|
|
662
|
-
speed: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0.1).lte(10))).default(1),
|
|
663
|
-
duration: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0.1).lte(30))),
|
|
664
|
-
style: e.optional(e.enum(["character", "word"])),
|
|
665
|
-
direction: e.optional(e.enum(["left", "right", "up", "down"]))
|
|
666
|
-
}), Je = e.object({
|
|
667
|
-
color: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/)),
|
|
668
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))).default(1),
|
|
669
|
-
borderRadius: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0))).default(0)
|
|
670
|
-
}), Ze = e.object({
|
|
671
|
-
width: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0))).default(0),
|
|
672
|
-
color: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#000000"),
|
|
673
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))).default(1),
|
|
674
|
-
radius: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0))).default(0)
|
|
675
|
-
}), Me = e.object({
|
|
676
|
-
type: e.optional(e.enum(["linear", "radial"])),
|
|
677
|
-
angle: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(360))).default(0),
|
|
678
|
-
stops: e.array(e.object({
|
|
679
|
-
offset: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1)),
|
|
680
|
-
color: e.string().regex(/^#[A-Fa-f0-9]{6}$/)
|
|
681
|
-
})).min(2)
|
|
682
|
-
}), He = e.object({
|
|
683
|
-
top: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0))).default(0),
|
|
684
|
-
right: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0))).default(0),
|
|
685
|
-
bottom: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0))).default(0),
|
|
686
|
-
left: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0))).default(0)
|
|
687
|
-
}), Ke = e.object({
|
|
688
|
-
offsetX: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())).default(0),
|
|
689
|
-
offsetY: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())).default(0),
|
|
690
|
-
blur: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0))).default(0),
|
|
691
|
-
color: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#000000"),
|
|
692
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))).default(0.5)
|
|
693
|
-
}), Ve = e.object({
|
|
694
|
-
width: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0))).default(0),
|
|
695
|
-
color: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#000000"),
|
|
696
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))).default(1)
|
|
697
|
-
}), Qe = e.object({
|
|
698
|
-
family: e.optional(e.string()).default("Open Sans"),
|
|
699
|
-
size: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int().gte(1).lte(500))).default(24),
|
|
700
|
-
weight: e.optional(e.unknown()).default("400"),
|
|
701
|
-
color: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#ffffff"),
|
|
702
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))).default(1),
|
|
703
|
-
background: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/)),
|
|
704
|
-
stroke: e.optional(Ve)
|
|
705
|
-
}), We = e.object({
|
|
706
|
-
letterSpacing: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())).default(0),
|
|
707
|
-
lineHeight: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(10))).default(1.2),
|
|
708
|
-
textTransform: e.optional(e.enum(["none", "uppercase", "lowercase", "capitalize"])),
|
|
709
|
-
textDecoration: e.optional(e.enum(["none", "underline", "line-through"])),
|
|
710
|
-
gradient: e.optional(Me)
|
|
711
|
-
}), h = e.object({
|
|
712
|
-
type: e.enum(["rich-text"]),
|
|
713
|
-
text: e.string().max(5e3),
|
|
714
|
-
font: e.optional(Qe),
|
|
715
|
-
style: e.optional(We),
|
|
716
|
-
shadow: e.optional(Ke),
|
|
717
|
-
background: e.optional(Je),
|
|
718
|
-
border: e.optional(Ze),
|
|
719
|
-
padding: e.optional(e.union([e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0)), He])),
|
|
720
|
-
align: e.optional($e),
|
|
721
|
-
animation: e.optional(Ue)
|
|
722
|
-
}), Ht = h, Xe = e.object({
|
|
723
|
-
id: e.optional(e.string()),
|
|
724
|
-
owner: e.optional(e.string()),
|
|
725
|
-
status: e.optional(e.enum(["queued", "failed"])),
|
|
726
|
-
created: e.optional(e.string())
|
|
727
|
-
}), Ye = e.object({
|
|
728
|
-
type: e.optional(e.string()),
|
|
729
|
-
attributes: e.optional(Xe)
|
|
730
|
-
});
|
|
731
|
-
e.object({
|
|
732
|
-
data: Ye
|
|
733
|
-
});
|
|
734
|
-
const ve = e.object({
|
|
735
|
-
url: e.string(),
|
|
736
|
-
id: e.string(),
|
|
737
|
-
destinations: e.array(n)
|
|
738
|
-
}), g = e.object({
|
|
739
|
-
type: e.enum(["shape"]),
|
|
740
|
-
shape: e.enum(["rectangle", "circle", "line"]),
|
|
741
|
-
width: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
742
|
-
height: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
743
|
-
fill: e.optional(e.object({
|
|
744
|
-
color: e.optional(e.string()),
|
|
745
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number()))
|
|
746
|
-
})),
|
|
747
|
-
stroke: e.optional(e.object({
|
|
748
|
-
color: e.optional(e.string()),
|
|
749
|
-
width: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number()))
|
|
750
|
-
})),
|
|
751
|
-
rectangle: e.optional(e.object({
|
|
752
|
-
width: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int()),
|
|
753
|
-
height: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int()),
|
|
754
|
-
cornerRadius: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int()))
|
|
755
|
-
})),
|
|
756
|
-
circle: e.optional(e.object({
|
|
757
|
-
radius: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())
|
|
758
|
-
})),
|
|
759
|
-
line: e.optional(e.object({
|
|
760
|
-
length: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int()),
|
|
761
|
-
thickness: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())
|
|
762
|
-
}))
|
|
763
|
-
}), Kt = g, s = e.object({
|
|
764
|
-
width: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int().gte(1).lte(4096))),
|
|
765
|
-
height: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int().gte(1).lte(4096)))
|
|
766
|
-
}), et = s, y = e.object({
|
|
767
|
-
format: e.optional(e.enum([
|
|
768
|
-
"mp4",
|
|
769
|
-
"webm",
|
|
770
|
-
"mov",
|
|
771
|
-
"avi",
|
|
772
|
-
"mkv",
|
|
773
|
-
"ogv",
|
|
774
|
-
"wmv",
|
|
775
|
-
"avif",
|
|
776
|
-
"gif",
|
|
777
|
-
"mp3",
|
|
778
|
-
"wav",
|
|
779
|
-
"jpg",
|
|
780
|
-
"png",
|
|
781
|
-
"webp",
|
|
782
|
-
"tif"
|
|
783
|
-
])),
|
|
784
|
-
size: e.optional(s),
|
|
785
|
-
fit: e.optional(e.enum(["cover", "contain", "crop"])),
|
|
786
|
-
resolution: e.optional(e.enum(["preview", "mobile", "sd", "hd", "fhd"])),
|
|
787
|
-
quality: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int().gte(1).lte(100))),
|
|
788
|
-
fps: e.optional(e.union([
|
|
789
|
-
e.literal(12),
|
|
790
|
-
e.literal(15),
|
|
791
|
-
e.literal(23.976),
|
|
792
|
-
e.literal(24),
|
|
793
|
-
e.literal(25),
|
|
794
|
-
e.literal(29.97),
|
|
795
|
-
e.literal(30),
|
|
796
|
-
e.literal(48),
|
|
797
|
-
e.literal(50),
|
|
798
|
-
e.literal(59.94),
|
|
799
|
-
e.literal(60)
|
|
800
|
-
])),
|
|
801
|
-
speed: e.optional(Ge),
|
|
802
|
-
keyframeInterval: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int().gte(1).lte(300))),
|
|
803
|
-
fixOffset: e.optional(e.boolean()),
|
|
804
|
-
fixRotation: e.optional(e.boolean()),
|
|
805
|
-
enhance: e.optional(Fe),
|
|
806
|
-
filename: e.optional(e.string())
|
|
807
|
-
}), tt = e.object({
|
|
808
|
-
renditions: e.optional(e.array(y)),
|
|
809
|
-
transcription: e.optional(Ie)
|
|
810
|
-
}), ot = e.object({
|
|
811
|
-
id: e.string(),
|
|
812
|
-
status: e.optional(e.enum([
|
|
813
|
-
"queued",
|
|
814
|
-
"importing",
|
|
815
|
-
"ready",
|
|
816
|
-
"failed",
|
|
817
|
-
"deleted",
|
|
818
|
-
"overwritten"
|
|
819
|
-
])),
|
|
820
|
-
url: e.optional(e.string()),
|
|
821
|
-
executionTime: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
822
|
-
transformation: e.optional(y),
|
|
823
|
-
width: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
824
|
-
height: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
825
|
-
duration: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
826
|
-
fps: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number()))
|
|
827
|
-
}), at = e.object({
|
|
828
|
-
renditions: e.optional(e.array(ot))
|
|
829
|
-
}), rt = e.object({
|
|
830
|
-
id: e.string(),
|
|
831
|
-
owner: e.string(),
|
|
832
|
-
input: e.optional(e.string()),
|
|
833
|
-
source: e.optional(e.string()),
|
|
834
|
-
status: e.optional(e.enum(["queued", "importing", "ready", "failed", "deleted", "overwritten"])),
|
|
835
|
-
outputs: e.optional(at),
|
|
836
|
-
width: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
837
|
-
height: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
838
|
-
duration: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
839
|
-
fps: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
840
|
-
created: e.optional(e.string()),
|
|
841
|
-
updated: e.optional(e.string())
|
|
842
|
-
}), b = e.object({
|
|
843
|
-
type: e.string(),
|
|
844
|
-
id: e.string(),
|
|
845
|
-
attributes: rt
|
|
846
|
-
});
|
|
847
|
-
e.object({
|
|
848
|
-
data: e.array(b)
|
|
849
|
-
});
|
|
850
|
-
e.object({
|
|
851
|
-
data: b
|
|
852
|
-
});
|
|
853
|
-
const nt = e.object({
|
|
854
|
-
url: e.optional(e.string()),
|
|
855
|
-
outputs: e.optional(tt),
|
|
856
|
-
destinations: e.optional(n),
|
|
857
|
-
callback: e.optional(e.string())
|
|
858
|
-
}), st = e.object({
|
|
859
|
-
src: e.string(),
|
|
860
|
-
effect: e.optional(e.enum(["fadeIn", "fadeOut", "fadeInFadeOut"])),
|
|
861
|
-
volume: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number()))
|
|
862
|
-
}), A = e.object({
|
|
863
|
-
offset: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1)),
|
|
864
|
-
color: e.string().regex(/^#[A-Fa-f0-9]{6}$/)
|
|
865
|
-
}), it = e.object({
|
|
866
|
-
type: e.enum(["linear"]),
|
|
867
|
-
angle: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(360))).default(0),
|
|
868
|
-
stops: e.array(A).min(2),
|
|
869
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))).default(1)
|
|
870
|
-
}), ct = e.object({
|
|
871
|
-
type: e.enum(["radial"]),
|
|
872
|
-
stops: e.array(A).min(2),
|
|
873
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))).default(1)
|
|
874
|
-
}), pt = e.object({
|
|
875
|
-
offsetX: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())).default(0),
|
|
876
|
-
offsetY: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())).default(0),
|
|
877
|
-
blur: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0))).default(0),
|
|
878
|
-
color: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#000000"),
|
|
879
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))).default(0.5)
|
|
880
|
-
}), lt = e.object({
|
|
881
|
-
type: e.enum(["solid"]),
|
|
882
|
-
color: e.string().regex(/^#[A-Fa-f0-9]{6}$/).default("#000000"),
|
|
883
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))).default(1)
|
|
884
|
-
}), ut = e.discriminatedUnion("type", [
|
|
885
|
-
lt,
|
|
886
|
-
it,
|
|
887
|
-
ct
|
|
888
|
-
]), mt = e.object({
|
|
889
|
-
color: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#000000"),
|
|
890
|
-
width: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(100))).default(1),
|
|
891
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))).default(1),
|
|
892
|
-
lineCap: e.optional(e.enum(["butt", "round", "square"])),
|
|
893
|
-
lineJoin: e.optional(e.enum(["miter", "round", "bevel"])),
|
|
894
|
-
dashArray: e.optional(e.array(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0)))),
|
|
895
|
-
dashOffset: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())).default(0)
|
|
896
|
-
}), dt = e.object({
|
|
897
|
-
x: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())).default(0),
|
|
898
|
-
y: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())).default(0),
|
|
899
|
-
rotation: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(-360).lte(360))).default(0),
|
|
900
|
-
scale: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0.01).lte(100))).default(1),
|
|
901
|
-
originX: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))).default(0.5),
|
|
902
|
-
originY: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))).default(0.5)
|
|
903
|
-
}), ht = e.object({
|
|
904
|
-
type: e.enum(["arrow"]),
|
|
905
|
-
length: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(4096)),
|
|
906
|
-
headWidth: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(1e3)),
|
|
907
|
-
headLength: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(1e3)),
|
|
908
|
-
shaftWidth: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(1e3))
|
|
909
|
-
}), gt = e.object({
|
|
910
|
-
type: e.enum(["circle"]),
|
|
911
|
-
radius: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(2048))
|
|
912
|
-
}), yt = e.object({
|
|
913
|
-
type: e.enum(["cross"]),
|
|
914
|
-
width: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(4096)),
|
|
915
|
-
height: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(4096)),
|
|
916
|
-
thickness: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(500))
|
|
917
|
-
}), bt = e.object({
|
|
918
|
-
type: e.enum(["ellipse"]),
|
|
919
|
-
radiusX: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(2048)),
|
|
920
|
-
radiusY: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(2048))
|
|
921
|
-
}), At = e.object({
|
|
922
|
-
type: e.enum(["heart"]),
|
|
923
|
-
size: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(4096))
|
|
924
|
-
}), ft = e.object({
|
|
925
|
-
type: e.enum(["line"]),
|
|
926
|
-
length: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(4096)),
|
|
927
|
-
thickness: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(500))
|
|
928
|
-
}), Nt = e.object({
|
|
929
|
-
type: e.enum(["path"]),
|
|
930
|
-
d: e.string().min(1).max(1e5)
|
|
931
|
-
}), St = e.object({
|
|
932
|
-
type: e.enum(["polygon"]),
|
|
933
|
-
sides: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int().gte(3).lte(100)),
|
|
934
|
-
radius: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(2048))
|
|
935
|
-
}), jt = e.object({
|
|
936
|
-
type: e.enum(["rectangle"]),
|
|
937
|
-
width: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(4096)),
|
|
938
|
-
height: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(4096)),
|
|
939
|
-
cornerRadius: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(2048))).default(0)
|
|
940
|
-
}), wt = e.object({
|
|
941
|
-
type: e.enum(["ring"]),
|
|
942
|
-
outerRadius: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(2048)),
|
|
943
|
-
innerRadius: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(2048))
|
|
944
|
-
}), xt = e.object({
|
|
945
|
-
type: e.enum(["star"]),
|
|
946
|
-
points: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int().gte(3).lte(100)),
|
|
947
|
-
outerRadius: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(2048)),
|
|
948
|
-
innerRadius: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(1).lte(2048))
|
|
949
|
-
}), Tt = e.discriminatedUnion("type", [
|
|
950
|
-
jt,
|
|
951
|
-
gt,
|
|
952
|
-
bt,
|
|
953
|
-
ft,
|
|
954
|
-
St,
|
|
955
|
-
xt,
|
|
956
|
-
ht,
|
|
957
|
-
At,
|
|
958
|
-
yt,
|
|
959
|
-
wt,
|
|
960
|
-
Nt
|
|
961
|
-
]), kt = e.object({
|
|
962
|
-
type: e.enum(["svg"]),
|
|
963
|
-
shape: Tt,
|
|
964
|
-
fill: e.optional(ut),
|
|
965
|
-
stroke: e.optional(mt),
|
|
966
|
-
shadow: e.optional(pt),
|
|
967
|
-
transform: e.optional(dt),
|
|
968
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))).default(1),
|
|
969
|
-
width: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int().gte(1).lte(4096))),
|
|
970
|
-
height: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int().gte(1).lte(4096)))
|
|
971
|
-
}), Ft = e.object({
|
|
972
|
-
id: e.string(),
|
|
973
|
-
merge: e.optional(e.array(m))
|
|
974
|
-
}), Rt = e.object({
|
|
975
|
-
horizontal: e.optional(e.enum(["left", "center", "right"])),
|
|
976
|
-
vertical: e.optional(e.enum(["top", "center", "bottom"]))
|
|
977
|
-
}), Ot = e.object({
|
|
978
|
-
preset: e.enum(["typewriter"]),
|
|
979
|
-
duration: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0.1).lte(30)))
|
|
980
|
-
}), Dt = e.object({
|
|
981
|
-
color: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/)),
|
|
982
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))),
|
|
983
|
-
padding: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(100))),
|
|
984
|
-
borderRadius: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0)))
|
|
985
|
-
}), Lt = e.object({
|
|
986
|
-
family: e.optional(e.string()),
|
|
987
|
-
color: e.optional(e.string()),
|
|
988
|
-
opacity: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
989
|
-
size: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
990
|
-
weight: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
991
|
-
lineHeight: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number()))
|
|
992
|
-
}), Gt = e.object({
|
|
993
|
-
width: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(10))),
|
|
994
|
-
color: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/))
|
|
995
|
-
}), f = e.object({
|
|
996
|
-
type: e.enum(["text"]),
|
|
997
|
-
text: e.string(),
|
|
998
|
-
width: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
999
|
-
height: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
1000
|
-
font: e.optional(Lt),
|
|
1001
|
-
background: e.optional(Dt),
|
|
1002
|
-
alignment: e.optional(Rt),
|
|
1003
|
-
stroke: e.optional(Gt),
|
|
1004
|
-
animation: e.optional(Ot),
|
|
1005
|
-
ellipsis: e.optional(e.string())
|
|
1006
|
-
}), Vt = f, It = e.object({
|
|
1007
|
-
type: e.enum(["text-to-image"]),
|
|
1008
|
-
prompt: e.string(),
|
|
1009
|
-
width: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
1010
|
-
height: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int())),
|
|
1011
|
-
crop: e.optional(a)
|
|
1012
|
-
}), Ct = e.object({
|
|
1013
|
-
capture: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number()),
|
|
1014
|
-
scale: e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1))
|
|
1015
|
-
}), N = e.object({
|
|
1016
|
-
format: e.enum(["mp4", "gif", "mp3", "jpg", "png", "bmp"]),
|
|
1017
|
-
resolution: e.optional(e.enum(["preview", "mobile", "sd", "hd", "1080", "4k"])),
|
|
1018
|
-
aspectRatio: e.optional(e.enum(["16:9", "9:16", "1:1", "4:5", "4:3"])),
|
|
1019
|
-
size: e.optional(s),
|
|
1020
|
-
fps: e.optional(e.union([
|
|
1021
|
-
e.literal(12),
|
|
1022
|
-
e.literal(15),
|
|
1023
|
-
e.literal(23.976),
|
|
1024
|
-
e.literal(24),
|
|
1025
|
-
e.literal(25),
|
|
1026
|
-
e.literal(29.97),
|
|
1027
|
-
e.literal(30),
|
|
1028
|
-
e.literal(48),
|
|
1029
|
-
e.literal(50),
|
|
1030
|
-
e.literal(59.94),
|
|
1031
|
-
e.literal(60)
|
|
1032
|
-
])),
|
|
1033
|
-
scaleTo: e.optional(e.enum(["preview", "mobile", "sd", "hd", "1080", "4k"])),
|
|
1034
|
-
quality: e.optional(e.enum(["verylow", "low", "medium", "high", "veryhigh"])),
|
|
1035
|
-
repeat: e.optional(e.boolean()),
|
|
1036
|
-
mute: e.optional(e.boolean()),
|
|
1037
|
-
range: e.optional(ze),
|
|
1038
|
-
poster: e.optional(Ce),
|
|
1039
|
-
thumbnail: e.optional(Ct),
|
|
1040
|
-
destinations: e.optional(e.array(n))
|
|
1041
|
-
}), S = N, j = e.object({
|
|
1042
|
-
in: e.optional(e.enum([
|
|
1043
|
-
"none",
|
|
1044
|
-
"fade",
|
|
1045
|
-
"fadeSlow",
|
|
1046
|
-
"fadeFast",
|
|
1047
|
-
"reveal",
|
|
1048
|
-
"revealSlow",
|
|
1049
|
-
"revealFast",
|
|
1050
|
-
"wipeLeft",
|
|
1051
|
-
"wipeLeftSlow",
|
|
1052
|
-
"wipeLeftFast",
|
|
1053
|
-
"wipeRight",
|
|
1054
|
-
"wipeRightSlow",
|
|
1055
|
-
"wipeRightFast",
|
|
1056
|
-
"slideLeft",
|
|
1057
|
-
"slideLeftSlow",
|
|
1058
|
-
"slideLeftFast",
|
|
1059
|
-
"slideRight",
|
|
1060
|
-
"slideRightSlow",
|
|
1061
|
-
"slideRightFast",
|
|
1062
|
-
"slideUp",
|
|
1063
|
-
"slideUpSlow",
|
|
1064
|
-
"slideUpFast",
|
|
1065
|
-
"slideDown",
|
|
1066
|
-
"slideDownSlow",
|
|
1067
|
-
"slideDownFast",
|
|
1068
|
-
"carouselLeft",
|
|
1069
|
-
"carouselLeftSlow",
|
|
1070
|
-
"carouselLeftFast",
|
|
1071
|
-
"carouselRight",
|
|
1072
|
-
"carouselRightSlow",
|
|
1073
|
-
"carouselRightFast",
|
|
1074
|
-
"carouselUp",
|
|
1075
|
-
"carouselUpSlow",
|
|
1076
|
-
"carouselUpFast",
|
|
1077
|
-
"carouselDown",
|
|
1078
|
-
"carouselDownSlow",
|
|
1079
|
-
"carouselDownFast",
|
|
1080
|
-
"shuffleTopRight",
|
|
1081
|
-
"shuffleTopRightSlow",
|
|
1082
|
-
"shuffleTopRightFast",
|
|
1083
|
-
"shuffleRightTop",
|
|
1084
|
-
"shuffleRightTopSlow",
|
|
1085
|
-
"shuffleRightTopFast",
|
|
1086
|
-
"shuffleRightBottom",
|
|
1087
|
-
"shuffleRightBottomSlow",
|
|
1088
|
-
"shuffleRightBottomFast",
|
|
1089
|
-
"shuffleBottomRight",
|
|
1090
|
-
"shuffleBottomRightSlow",
|
|
1091
|
-
"shuffleBottomRightFast",
|
|
1092
|
-
"shuffleBottomLeft",
|
|
1093
|
-
"shuffleBottomLeftSlow",
|
|
1094
|
-
"shuffleBottomLeftFast",
|
|
1095
|
-
"shuffleLeftBottom",
|
|
1096
|
-
"shuffleLeftBottomSlow",
|
|
1097
|
-
"shuffleLeftBottomFast",
|
|
1098
|
-
"shuffleLeftTop",
|
|
1099
|
-
"shuffleLeftTopSlow",
|
|
1100
|
-
"shuffleLeftTopFast",
|
|
1101
|
-
"shuffleTopLeft",
|
|
1102
|
-
"shuffleTopLeftSlow",
|
|
1103
|
-
"shuffleTopLeftFast",
|
|
1104
|
-
"zoom"
|
|
1105
|
-
])),
|
|
1106
|
-
out: e.optional(e.enum([
|
|
1107
|
-
"none",
|
|
1108
|
-
"fade",
|
|
1109
|
-
"fadeSlow",
|
|
1110
|
-
"fadeFast",
|
|
1111
|
-
"reveal",
|
|
1112
|
-
"revealSlow",
|
|
1113
|
-
"revealFast",
|
|
1114
|
-
"wipeLeft",
|
|
1115
|
-
"wipeLeftSlow",
|
|
1116
|
-
"wipeLeftFast",
|
|
1117
|
-
"wipeRight",
|
|
1118
|
-
"wipeRightSlow",
|
|
1119
|
-
"wipeRightFast",
|
|
1120
|
-
"slideLeft",
|
|
1121
|
-
"slideLeftSlow",
|
|
1122
|
-
"slideLeftFast",
|
|
1123
|
-
"slideRight",
|
|
1124
|
-
"slideRightSlow",
|
|
1125
|
-
"slideRightFast",
|
|
1126
|
-
"slideUp",
|
|
1127
|
-
"slideUpSlow",
|
|
1128
|
-
"slideUpFast",
|
|
1129
|
-
"slideDown",
|
|
1130
|
-
"slideDownSlow",
|
|
1131
|
-
"slideDownFast",
|
|
1132
|
-
"carouselLeft",
|
|
1133
|
-
"carouselLeftSlow",
|
|
1134
|
-
"carouselLeftFast",
|
|
1135
|
-
"carouselRight",
|
|
1136
|
-
"carouselRightSlow",
|
|
1137
|
-
"carouselRightFast",
|
|
1138
|
-
"carouselUp",
|
|
1139
|
-
"carouselUpSlow",
|
|
1140
|
-
"carouselUpFast",
|
|
1141
|
-
"carouselDown",
|
|
1142
|
-
"carouselDownSlow",
|
|
1143
|
-
"carouselDownFast",
|
|
1144
|
-
"shuffleTopRight",
|
|
1145
|
-
"shuffleTopRightSlow",
|
|
1146
|
-
"shuffleTopRightFast",
|
|
1147
|
-
"shuffleRightTop",
|
|
1148
|
-
"shuffleRightTopSlow",
|
|
1149
|
-
"shuffleRightTopFast",
|
|
1150
|
-
"shuffleRightBottom",
|
|
1151
|
-
"shuffleRightBottomSlow",
|
|
1152
|
-
"shuffleRightBottomFast",
|
|
1153
|
-
"shuffleBottomRight",
|
|
1154
|
-
"shuffleBottomRightSlow",
|
|
1155
|
-
"shuffleBottomRightFast",
|
|
1156
|
-
"shuffleBottomLeft",
|
|
1157
|
-
"shuffleBottomLeftSlow",
|
|
1158
|
-
"shuffleBottomLeftFast",
|
|
1159
|
-
"shuffleLeftBottom",
|
|
1160
|
-
"shuffleLeftBottomSlow",
|
|
1161
|
-
"shuffleLeftBottomFast",
|
|
1162
|
-
"shuffleLeftTop",
|
|
1163
|
-
"shuffleLeftTopSlow",
|
|
1164
|
-
"shuffleLeftTopFast",
|
|
1165
|
-
"shuffleTopLeft",
|
|
1166
|
-
"shuffleTopLeftSlow",
|
|
1167
|
-
"shuffleTopLeftFast",
|
|
1168
|
-
"zoom"
|
|
1169
|
-
]))
|
|
1170
|
-
}), Qt = j, o = e.object({
|
|
1171
|
-
from: e.optional(e.unknown()),
|
|
1172
|
-
to: e.optional(e.unknown()),
|
|
1173
|
-
start: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
1174
|
-
length: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
1175
|
-
interpolation: e.optional(e.enum(["linear", "bezier", "constant"])),
|
|
1176
|
-
easing: e.optional(e.enum([
|
|
1177
|
-
"ease",
|
|
1178
|
-
"easeIn",
|
|
1179
|
-
"easeOut",
|
|
1180
|
-
"easeInOut",
|
|
1181
|
-
"easeInQuad",
|
|
1182
|
-
"easeInCubic",
|
|
1183
|
-
"easeInQuart",
|
|
1184
|
-
"easeInQuint",
|
|
1185
|
-
"easeInSine",
|
|
1186
|
-
"easeInExpo",
|
|
1187
|
-
"easeInCirc",
|
|
1188
|
-
"easeInBack",
|
|
1189
|
-
"easeOutQuad",
|
|
1190
|
-
"easeOutCubic",
|
|
1191
|
-
"easeOutQuart",
|
|
1192
|
-
"easeOutQuint",
|
|
1193
|
-
"easeOutSine",
|
|
1194
|
-
"easeOutExpo",
|
|
1195
|
-
"easeOutCirc",
|
|
1196
|
-
"easeOutBack",
|
|
1197
|
-
"easeInOutQuad",
|
|
1198
|
-
"easeInOutCubic",
|
|
1199
|
-
"easeInOutQuart",
|
|
1200
|
-
"easeInOutQuint",
|
|
1201
|
-
"easeInOutSine",
|
|
1202
|
-
"easeInOutExpo",
|
|
1203
|
-
"easeInOutCirc",
|
|
1204
|
-
"easeInOutBack"
|
|
1205
|
-
]))
|
|
1206
|
-
}), Wt = o, w = e.object({
|
|
1207
|
-
type: e.enum(["audio"]),
|
|
1208
|
-
src: e.string(),
|
|
1209
|
-
trim: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
1210
|
-
volume: e.optional(e.union([e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1)), e.array(o)])),
|
|
1211
|
-
speed: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(10))),
|
|
1212
|
-
effect: e.optional(e.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"]))
|
|
1213
|
-
}), Xt = w, i = e.object({
|
|
1214
|
-
x: e.optional(e.union([e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(-10).lte(10)), e.array(o)])),
|
|
1215
|
-
y: e.optional(e.union([e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(-10).lte(10)), e.array(o)]))
|
|
1216
|
-
}), Yt = i, zt = e.object({
|
|
1217
|
-
angle: e.optional(e.union([e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(-360).lte(360)), e.array(o)]))
|
|
1218
|
-
}), Bt = e.object({
|
|
1219
|
-
x: e.optional(e.union([e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(-100).lte(100)), e.array(o)])),
|
|
1220
|
-
y: e.optional(e.union([e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(-100).lte(100)), e.array(o)]))
|
|
1221
|
-
}), Et = e.object({
|
|
1222
|
-
type: e.enum(["title"]),
|
|
1223
|
-
text: e.string(),
|
|
1224
|
-
style: e.optional(e.enum([
|
|
1225
|
-
"minimal",
|
|
1226
|
-
"blockbuster",
|
|
1227
|
-
"vogue",
|
|
1228
|
-
"sketchy",
|
|
1229
|
-
"skinny",
|
|
1230
|
-
"chunk",
|
|
1231
|
-
"chunkLight",
|
|
1232
|
-
"marker",
|
|
1233
|
-
"future",
|
|
1234
|
-
"subtitle"
|
|
1235
|
-
])),
|
|
1236
|
-
color: e.optional(e.string()),
|
|
1237
|
-
size: e.optional(e.enum([
|
|
1238
|
-
"xx-small",
|
|
1239
|
-
"x-small",
|
|
1240
|
-
"small",
|
|
1241
|
-
"medium",
|
|
1242
|
-
"large",
|
|
1243
|
-
"x-large",
|
|
1244
|
-
"xx-large"
|
|
1245
|
-
])),
|
|
1246
|
-
background: e.optional(e.string()),
|
|
1247
|
-
position: e.optional(e.enum([
|
|
1248
|
-
"top",
|
|
1249
|
-
"topRight",
|
|
1250
|
-
"right",
|
|
1251
|
-
"bottomRight",
|
|
1252
|
-
"bottom",
|
|
1253
|
-
"bottomLeft",
|
|
1254
|
-
"left",
|
|
1255
|
-
"topLeft",
|
|
1256
|
-
"center"
|
|
1257
|
-
])),
|
|
1258
|
-
offset: e.optional(i)
|
|
1259
|
-
}), x = e.object({
|
|
1260
|
-
rotate: e.optional(zt),
|
|
1261
|
-
skew: e.optional(Bt),
|
|
1262
|
-
flip: e.optional(Se)
|
|
1263
|
-
}), vt = x, T = e.object({
|
|
1264
|
-
type: e.enum(["video"]),
|
|
1265
|
-
src: e.string(),
|
|
1266
|
-
transcode: e.optional(e.boolean()),
|
|
1267
|
-
trim: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
1268
|
-
volume: e.optional(e.union([e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(1)), e.array(o)])),
|
|
1269
|
-
volumeEffect: e.optional(e.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
|
|
1270
|
-
speed: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().gte(0).lte(10))),
|
|
1271
|
-
crop: e.optional(a),
|
|
1272
|
-
chromaKey: e.optional(C)
|
|
1273
|
-
}), eo = T, k = e.discriminatedUnion("type", [
|
|
1274
|
-
T,
|
|
1275
|
-
l,
|
|
1276
|
-
f,
|
|
1277
|
-
h,
|
|
1278
|
-
w,
|
|
1279
|
-
u,
|
|
1280
|
-
c,
|
|
1281
|
-
p,
|
|
1282
|
-
Et,
|
|
1283
|
-
g,
|
|
1284
|
-
kt,
|
|
1285
|
-
It,
|
|
1286
|
-
we
|
|
1287
|
-
]), to = k, F = e.object({
|
|
1288
|
-
asset: k,
|
|
1289
|
-
start: e.union([e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number()), e.enum(["auto"])]),
|
|
1290
|
-
length: e.union([e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number()), e.literal("auto"), e.literal("end")]),
|
|
1291
|
-
fit: e.optional(e.enum(["cover", "contain", "crop", "none"])),
|
|
1292
|
-
scale: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
1293
|
-
width: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int().gte(1).lte(3840))),
|
|
1294
|
-
height: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number().int().gte(1).lte(2160))),
|
|
1295
|
-
position: e.optional(e.enum([
|
|
1296
|
-
"top",
|
|
1297
|
-
"topRight",
|
|
1298
|
-
"right",
|
|
1299
|
-
"bottomRight",
|
|
1300
|
-
"bottom",
|
|
1301
|
-
"bottomLeft",
|
|
1302
|
-
"left",
|
|
1303
|
-
"topLeft",
|
|
1304
|
-
"center"
|
|
1305
|
-
])),
|
|
1306
|
-
offset: e.optional(i),
|
|
1307
|
-
transition: e.optional(j),
|
|
1308
|
-
effect: e.optional(e.enum([
|
|
1309
|
-
"zoomIn",
|
|
1310
|
-
"zoomInSlow",
|
|
1311
|
-
"zoomInFast",
|
|
1312
|
-
"zoomOut",
|
|
1313
|
-
"zoomOutSlow",
|
|
1314
|
-
"zoomOutFast",
|
|
1315
|
-
"slideLeft",
|
|
1316
|
-
"slideLeftSlow",
|
|
1317
|
-
"slideLeftFast",
|
|
1318
|
-
"slideRight",
|
|
1319
|
-
"slideRightSlow",
|
|
1320
|
-
"slideRightFast",
|
|
1321
|
-
"slideUp",
|
|
1322
|
-
"slideUpSlow",
|
|
1323
|
-
"slideUpFast",
|
|
1324
|
-
"slideDown",
|
|
1325
|
-
"slideDownSlow",
|
|
1326
|
-
"slideDownFast"
|
|
1327
|
-
])),
|
|
1328
|
-
filter: e.optional(e.enum([
|
|
1329
|
-
"none",
|
|
1330
|
-
"blur",
|
|
1331
|
-
"boost",
|
|
1332
|
-
"contrast",
|
|
1333
|
-
"darken",
|
|
1334
|
-
"greyscale",
|
|
1335
|
-
"lighten",
|
|
1336
|
-
"muted",
|
|
1337
|
-
"negative"
|
|
1338
|
-
])),
|
|
1339
|
-
opacity: e.optional(e.union([e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number()), e.array(o)])),
|
|
1340
|
-
transform: e.optional(x),
|
|
1341
|
-
alias: e.optional(e.string().regex(/^[A-Za-z0-9_-]+$/))
|
|
1342
|
-
}), oo = F, R = e.object({
|
|
1343
|
-
clips: e.array(F)
|
|
1344
|
-
}), ao = R, O = e.object({
|
|
1345
|
-
soundtrack: e.optional(st),
|
|
1346
|
-
background: e.optional(e.string()),
|
|
1347
|
-
fonts: e.optional(e.array(je)),
|
|
1348
|
-
tracks: e.array(R),
|
|
1349
|
-
cache: e.optional(e.boolean())
|
|
1350
|
-
}), ro = O, r = e.object({
|
|
1351
|
-
timeline: O,
|
|
1352
|
-
output: N,
|
|
1353
|
-
merge: e.optional(e.array(m)),
|
|
1354
|
-
callback: e.optional(e.string()),
|
|
1355
|
-
disk: e.optional(e.enum(["local", "mount"]))
|
|
1356
|
-
}), no = r, qt = e.object({
|
|
1357
|
-
id: e.string(),
|
|
1358
|
-
owner: e.string(),
|
|
1359
|
-
plan: e.optional(e.string()),
|
|
1360
|
-
status: e.enum([
|
|
1361
|
-
"queued",
|
|
1362
|
-
"fetching",
|
|
1363
|
-
"preprocessing",
|
|
1364
|
-
"rendering",
|
|
1365
|
-
"saving",
|
|
1366
|
-
"done",
|
|
1367
|
-
"failed"
|
|
1368
|
-
]),
|
|
1369
|
-
error: e.optional(e.string()),
|
|
1370
|
-
duration: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
1371
|
-
renderTime: e.optional(e.preprocess((t) => t === "" || Array.isArray(t) ? NaN : t, e.coerce.number())),
|
|
1372
|
-
url: e.optional(e.string()),
|
|
1373
|
-
poster: e.optional(e.union([e.string(), e.null()])),
|
|
1374
|
-
thumbnail: e.optional(e.union([e.string(), e.null()])),
|
|
1375
|
-
data: e.optional(r),
|
|
1376
|
-
created: e.optional(e.string()),
|
|
1377
|
-
updated: e.optional(e.string())
|
|
1378
|
-
});
|
|
1379
|
-
e.object({
|
|
1380
|
-
success: e.boolean(),
|
|
1381
|
-
message: e.string(),
|
|
1382
|
-
response: qt
|
|
1383
|
-
});
|
|
1384
|
-
const Pt = e.object({
|
|
1385
|
-
id: e.string(),
|
|
1386
|
-
name: e.string(),
|
|
1387
|
-
owner: e.string(),
|
|
1388
|
-
template: r
|
|
1389
|
-
});
|
|
1390
|
-
e.object({
|
|
1391
|
-
success: e.boolean(),
|
|
1392
|
-
message: e.string(),
|
|
1393
|
-
response: Pt
|
|
1394
|
-
});
|
|
1395
|
-
const D = e.object({
|
|
1396
|
-
name: e.string(),
|
|
1397
|
-
template: e.optional(r)
|
|
1398
|
-
});
|
|
1399
|
-
e.object({
|
|
1400
|
-
body: r,
|
|
1401
|
-
path: e.optional(e.never()),
|
|
1402
|
-
query: e.optional(e.never())
|
|
1403
|
-
});
|
|
1404
|
-
e.object({
|
|
1405
|
-
body: e.optional(e.never()),
|
|
1406
|
-
path: e.object({
|
|
1407
|
-
id: e.string().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/)
|
|
1408
|
-
}),
|
|
1409
|
-
query: e.optional(e.object({
|
|
1410
|
-
data: e.optional(e.boolean()),
|
|
1411
|
-
merged: e.optional(e.boolean())
|
|
1412
|
-
}))
|
|
1413
|
-
});
|
|
1414
|
-
e.object({
|
|
1415
|
-
body: e.optional(e.never()),
|
|
1416
|
-
path: e.optional(e.never()),
|
|
1417
|
-
query: e.optional(e.never())
|
|
1418
|
-
});
|
|
1419
|
-
e.object({
|
|
1420
|
-
body: D,
|
|
1421
|
-
path: e.optional(e.never()),
|
|
1422
|
-
query: e.optional(e.never())
|
|
1423
|
-
});
|
|
1424
|
-
e.object({
|
|
1425
|
-
body: e.optional(e.never()),
|
|
1426
|
-
path: e.object({
|
|
1427
|
-
id: e.string().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/)
|
|
1428
|
-
}),
|
|
1429
|
-
query: e.optional(e.never())
|
|
1430
|
-
});
|
|
1431
|
-
e.void();
|
|
1432
|
-
e.object({
|
|
1433
|
-
body: e.optional(e.never()),
|
|
1434
|
-
path: e.object({
|
|
1435
|
-
id: e.string().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/)
|
|
1436
|
-
}),
|
|
1437
|
-
query: e.optional(e.never())
|
|
1438
|
-
});
|
|
1439
|
-
e.object({
|
|
1440
|
-
body: D,
|
|
1441
|
-
path: e.object({
|
|
1442
|
-
id: e.string().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/)
|
|
1443
|
-
}),
|
|
1444
|
-
query: e.optional(e.never())
|
|
1445
|
-
});
|
|
1446
|
-
e.object({
|
|
1447
|
-
body: Ft,
|
|
1448
|
-
path: e.optional(e.never()),
|
|
1449
|
-
query: e.optional(e.never())
|
|
1450
|
-
});
|
|
1451
|
-
e.object({
|
|
1452
|
-
body: e.optional(e.never()),
|
|
1453
|
-
path: e.object({
|
|
1454
|
-
url: e.string()
|
|
1455
|
-
}),
|
|
1456
|
-
query: e.optional(e.never())
|
|
1457
|
-
});
|
|
1458
|
-
e.object({
|
|
1459
|
-
body: e.optional(e.never()),
|
|
1460
|
-
path: e.object({
|
|
1461
|
-
id: e.string().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/)
|
|
1462
|
-
}),
|
|
1463
|
-
query: e.optional(e.never())
|
|
1464
|
-
});
|
|
1465
|
-
e.void();
|
|
1466
|
-
e.object({
|
|
1467
|
-
body: e.optional(e.never()),
|
|
1468
|
-
path: e.object({
|
|
1469
|
-
id: e.string().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/)
|
|
1470
|
-
}),
|
|
1471
|
-
query: e.optional(e.never())
|
|
1472
|
-
});
|
|
1473
|
-
e.object({
|
|
1474
|
-
body: e.optional(e.never()),
|
|
1475
|
-
path: e.object({
|
|
1476
|
-
id: e.string().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/)
|
|
1477
|
-
}),
|
|
1478
|
-
query: e.optional(e.never())
|
|
1479
|
-
});
|
|
1480
|
-
e.object({
|
|
1481
|
-
body: ve,
|
|
1482
|
-
path: e.optional(e.never()),
|
|
1483
|
-
query: e.optional(e.never())
|
|
1484
|
-
});
|
|
1485
|
-
e.object({
|
|
1486
|
-
body: e.optional(e.never()),
|
|
1487
|
-
path: e.optional(e.never()),
|
|
1488
|
-
query: e.optional(e.never())
|
|
1489
|
-
});
|
|
1490
|
-
e.object({
|
|
1491
|
-
body: nt,
|
|
1492
|
-
path: e.optional(e.never()),
|
|
1493
|
-
query: e.optional(e.never())
|
|
1494
|
-
});
|
|
1495
|
-
e.object({
|
|
1496
|
-
body: e.optional(e.never()),
|
|
1497
|
-
path: e.object({
|
|
1498
|
-
id: e.string().regex(/^[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}$/)
|
|
1499
|
-
}),
|
|
1500
|
-
query: e.optional(e.never())
|
|
1501
|
-
});
|
|
1502
|
-
e.void();
|
|
1503
|
-
e.object({
|
|
1504
|
-
body: e.optional(e.never()),
|
|
1505
|
-
path: e.object({
|
|
1506
|
-
id: e.string().regex(/^[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}$/)
|
|
1507
|
-
}),
|
|
1508
|
-
query: e.optional(e.never())
|
|
1509
|
-
});
|
|
1510
|
-
e.object({
|
|
1511
|
-
body: e.optional(e.never()),
|
|
1512
|
-
path: e.optional(e.never()),
|
|
1513
|
-
query: e.optional(e.never())
|
|
1514
|
-
});
|
|
1515
|
-
e.object({
|
|
1516
|
-
body: ne,
|
|
1517
|
-
path: e.optional(e.never()),
|
|
1518
|
-
query: e.optional(e.never())
|
|
1519
|
-
});
|
|
1520
|
-
e.object({
|
|
1521
|
-
body: e.optional(e.never()),
|
|
1522
|
-
path: e.object({
|
|
1523
|
-
id: e.string().regex(/^[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}$/)
|
|
1524
|
-
}),
|
|
1525
|
-
query: e.optional(e.never())
|
|
1526
|
-
});
|
|
1527
|
-
const so = Ne, io = et, co = S.shape.format, po = S.shape.fps.unwrap(), lo = e.string().regex(/^#[0-9A-Fa-f]{6}$|^#[0-9A-Fa-f]{8}$/);
|
|
1528
|
-
export {
|
|
1529
|
-
to as AssetSchema,
|
|
1530
|
-
Xt as AudioAssetSchema,
|
|
1531
|
-
$t as CaptionAssetSchema,
|
|
1532
|
-
oo as ClipSchema,
|
|
1533
|
-
Ut as CropSchema,
|
|
1534
|
-
so as DestinationSchema,
|
|
1535
|
-
no as EditSchema,
|
|
1536
|
-
lo as HexColorSchema,
|
|
1537
|
-
Jt as HtmlAssetSchema,
|
|
1538
|
-
Zt as ImageAssetSchema,
|
|
1539
|
-
Wt as KeyframeSchema,
|
|
1540
|
-
Mt as LumaAssetSchema,
|
|
1541
|
-
Yt as OffsetSchema,
|
|
1542
|
-
co as OutputFormatSchema,
|
|
1543
|
-
po as OutputFpsSchema,
|
|
1544
|
-
S as OutputSchema,
|
|
1545
|
-
io as OutputSizeSchema,
|
|
1546
|
-
Ht as RichTextAssetSchema,
|
|
1547
|
-
Kt as ShapeAssetSchema,
|
|
1548
|
-
Vt as TextAssetSchema,
|
|
1549
|
-
ro as TimelineSchema,
|
|
1550
|
-
ao as TrackSchema,
|
|
1551
|
-
vt as TransformationSchema,
|
|
1552
|
-
Qt as TransitionSchema,
|
|
1553
|
-
Wt as TweenSchema,
|
|
1554
|
-
eo as VideoAssetSchema
|
|
1555
|
-
};
|