@shotstack/shotstack-studio 2.0.0-beta.2 → 2.0.0-beta.4

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.
@@ -1,413 +1,1445 @@
1
- import * as t from "zod";
2
- const j = t.enum(["linear", "bezier", "constant"]), v = t.enum([
3
- "smooth",
4
- "ease",
5
- "easeIn",
6
- "easeOut",
7
- "easeInOut",
8
- "easeInQuad",
9
- "easeInCubic",
10
- "easeInQuart",
11
- "easeInQuint",
12
- "easeInSine",
13
- "easeInExpo",
14
- "easeInCirc",
15
- "easeInBack",
16
- "easeOutQuad",
17
- "easeOutCubic",
18
- "easeOutQuart",
19
- "easeOutQuint",
20
- "easeOutSine",
21
- "easeOutExpo",
22
- "easeOutCirc",
23
- "easeOutBack",
24
- "easeInOutQuad",
25
- "easeInOutCubic",
26
- "easeInOutQuart",
27
- "easeInOutQuint",
28
- "easeInOutSine",
29
- "easeInOutExpo",
30
- "easeInOutCirc",
31
- "easeInOutBack"
32
- ]), n = t.object({
33
- from: t.number(),
34
- to: t.number(),
35
- start: t.number().min(0),
36
- length: t.number().positive(),
37
- interpolation: j.optional(),
38
- easing: v.optional()
39
- }).strict(), I = t.string().url("Invalid audio url format."), C = n.extend({
40
- from: t.number().min(0).max(1),
41
- to: t.number().min(0).max(1)
42
- }).array().or(t.number().min(0).max(1)), k = t.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"]), s = t.object({
43
- type: t.literal("audio"),
44
- src: I,
45
- trim: t.number().optional(),
46
- volume: C.optional(),
47
- effect: k.optional()
48
- }).strict(), a = t.string().regex(/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})|transparent$/, "Invalid color format."), O = t.object({
49
- family: t.string().optional(),
50
- size: t.coerce.number().min(1).max(512).optional(),
51
- weight: t.number().optional(),
52
- color: a.optional(),
53
- lineHeight: t.number().min(0).max(10).optional(),
54
- opacity: t.number().min(0).max(1).optional()
55
- }).strict(), T = t.object({
56
- width: t.number().min(0).max(10).optional(),
57
- color: a.optional()
58
- }).strict(), F = t.object({
59
- color: a.optional(),
60
- opacity: t.number().min(0).max(1).optional(),
61
- padding: t.number().min(0).max(100).optional(),
62
- borderRadius: t.number().min(0).optional()
63
- }).strict(), R = t.object({
64
- horizontal: t.enum(["left", "center", "right"]).optional(),
65
- vertical: t.enum(["top", "center", "bottom"]).optional()
66
- }).strict(), w = /^alias:\/\/[a-zA-Z0-9_-]+$/, c = t.object({
67
- type: t.literal("caption"),
68
- src: t.union([
69
- t.string().url("Invalid subtitle URL format."),
70
- t.string().regex(w, "Invalid alias reference format.")
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 D = e.object({
19
+ color: e.optional(e.string()),
20
+ opacity: e.optional(e.number()),
21
+ padding: e.optional(e.int()),
22
+ borderRadius: e.optional(e.int())
23
+ }), N = e.object({
24
+ family: e.optional(e.string()),
25
+ color: e.optional(e.string()),
26
+ opacity: e.optional(e.number()),
27
+ size: e.optional(e.int()),
28
+ lineHeight: e.optional(e.number()),
29
+ stroke: e.optional(e.string()),
30
+ strokeWidth: e.optional(e.number())
31
+ }), L = e.object({
32
+ top: e.optional(e.number()),
33
+ left: e.optional(e.number()),
34
+ right: e.optional(e.number())
35
+ }), l = e.object({
36
+ type: e.enum(["caption"]),
37
+ src: e.string(),
38
+ font: e.optional(N),
39
+ background: e.optional(D),
40
+ margin: e.optional(L),
41
+ trim: e.optional(e.preprocess((t) => typeof t == "string" && t !== "" && !isNaN(Number(t)) ? Number(t) : t, e.number())),
42
+ speed: e.optional(e.preprocess((t) => typeof t == "string" && t !== "" && !isNaN(Number(t)) ? Number(t) : t, e.number().gte(0).lte(10)))
43
+ }), At = l, G = e.object({
44
+ color: e.optional(e.string()),
45
+ threshold: e.optional(e.int().gte(0).lte(250)),
46
+ halo: e.optional(e.int().gte(0).lte(250))
47
+ }), I = 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
+ }), C = e.object({
53
+ type: e.literal("didTextToAvatarOptions_DIDTextToAvatarOptions")
54
+ }).and(I), B = e.object({
55
+ provider: e.enum(["d-id"]),
56
+ options: C
57
+ }), z = 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
+ }), E = e.object({
72
+ type: e.literal("elevenlabsTextToSpeechOptions_ElevenLabsTextToSpeechOptions")
73
+ }).and(z), q = e.object({
74
+ provider: e.enum(["elevenlabs"]),
75
+ options: E
76
+ }), P = 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"
71
105
  ]),
72
- font: O.optional(),
73
- stroke: T.optional(),
74
- background: F.optional(),
75
- alignment: R.optional(),
76
- width: t.number().min(1).optional(),
77
- height: t.number().min(1).optional(),
78
- trim: t.number().min(0).optional()
79
- }).strict(), E = t.enum(["top", "topRight", "right", "bottomRight", "bottom", "bottomLeft", "left", "topLeft", "center"]), m = t.object({
80
- type: t.literal("html"),
81
- html: t.string(),
82
- css: t.string(),
83
- width: t.number().positive().optional(),
84
- height: t.number().positive().optional(),
85
- position: E.optional()
86
- }).strict(), P = t.string().url("Invalid image url format."), z = t.object({
87
- top: t.number().min(0).optional(),
88
- right: t.number().min(0).optional(),
89
- bottom: t.number().min(0).optional(),
90
- left: t.number().min(0).optional()
91
- }).strict(), l = t.object({
92
- type: t.literal("image"),
93
- src: P,
94
- crop: z.optional()
95
- }).strict(), L = t.string().url("Invalid luma url format."), u = t.object({
96
- type: t.literal("luma"),
97
- src: L
98
- }).strict(), o = t.string().regex(/^#[A-Fa-f0-9]{6}$/, "Invalid hex color format"), D = t.object({
99
- offset: t.number().min(0).max(1),
100
- color: o
101
- }).strict(), H = t.object({
102
- type: t.enum(["linear", "radial"]).default("linear"),
103
- angle: t.number().min(0).max(360).default(0),
104
- stops: t.array(D).min(2)
105
- }).strict(), V = t.object({
106
- width: t.number().min(0).default(0),
107
- color: o.default("#000000"),
108
- opacity: t.number().min(0).max(1).default(1)
109
- }).strict(), Q = t.object({
110
- family: t.string().default("Roboto"),
111
- size: t.number().min(8).max(500).default(48),
112
- weight: t.union([t.string(), t.number()]).default("400"),
113
- color: o.default("#000000"),
114
- opacity: t.number().min(0).max(1).default(1),
115
- background: o.optional(),
116
- stroke: V.optional()
117
- }).strict(), $ = t.object({
118
- letterSpacing: t.number().default(0),
119
- lineHeight: t.number().min(0.1).max(10).default(1.2),
120
- textTransform: t.enum(["none", "uppercase", "lowercase", "capitalize"]).default("none"),
121
- textDecoration: t.enum(["none", "underline", "line-through"]).default("none"),
122
- gradient: H.optional()
123
- }).strict(), B = t.object({
124
- offsetX: t.number().default(0),
125
- offsetY: t.number().default(0),
126
- blur: t.number().min(0).default(0),
127
- color: o.default("#000000"),
128
- opacity: t.number().min(0).max(1).default(0.5)
129
- }).strict(), U = t.object({
130
- width: t.number().min(0).default(0),
131
- color: o.default("#000000"),
132
- opacity: t.number().min(0).max(1).default(1),
133
- radius: t.number().min(0).default(0)
134
- }).strict(), _ = t.object({
135
- color: o.optional(),
136
- opacity: t.number().min(0).max(1).default(1)
137
- }).strict(), M = t.union([
138
- t.number().min(0),
139
- t.object({
140
- top: t.number().min(0).default(0),
141
- right: t.number().min(0).default(0),
142
- bottom: t.number().min(0).default(0),
143
- left: t.number().min(0).default(0)
144
- }).strict()
145
- ]), G = t.object({
146
- horizontal: t.enum(["left", "center", "right"]).default("left"),
147
- vertical: t.enum(["top", "middle", "bottom"]).default("middle")
148
- }).strict(), N = t.object({
149
- preset: t.enum(["typewriter", "fadeIn", "slideIn", "ascend", "shift", "movingLetters"]),
150
- duration: t.number().min(0.1).max(60).optional(),
151
- style: t.enum(["character", "word"]).optional(),
152
- direction: t.enum(["left", "right", "up", "down"]).optional()
153
- }).strict(), p = t.object({
154
- type: t.literal("rich-text"),
155
- text: t.string().max(1e4).default(""),
156
- font: Q.optional(),
157
- style: $.optional(),
158
- shadow: B.optional(),
159
- background: _.optional(),
160
- border: U.optional(),
161
- padding: M.optional(),
162
- align: G.optional(),
163
- animation: N.optional()
164
- }).strict(), A = t.string().regex(/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})|transparent$/, "Invalid color format."), b = t.object({
165
- width: t.number().positive(),
166
- height: t.number().positive()
167
- }).strict(), f = t.object({
168
- radius: t.number().positive()
169
- }).strict(), d = t.object({
170
- length: t.number().positive(),
171
- thickness: t.number().positive()
172
- }).strict(), W = t.object({
173
- color: A,
174
- opacity: t.number().min(0).max(1)
175
- }).strict(), K = t.object({
176
- color: A.optional(),
177
- width: t.number().min(0).optional()
178
- }).strict(), h = t.object({
179
- type: t.literal("shape"),
180
- width: t.number().positive().optional(),
181
- height: t.number().positive().optional(),
182
- shape: t.enum(["rectangle", "circle", "line"]),
183
- fill: W.optional(),
184
- stroke: K.optional(),
185
- rectangle: b.optional(),
186
- circle: f.optional(),
187
- line: d.optional()
188
- }).strict().refine((e) => e.shape === "rectangle" ? b.safeParse(e.rectangle) : e.shape === "circle" ? f.safeParse(e.circle) : e.shape === "line" ? d.safeParse(e.line) : !1), r = t.string().regex(/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})|transparent$/, "Invalid color format."), X = t.object({
189
- color: r.optional(),
190
- family: t.string().optional(),
191
- size: t.coerce.number().positive().optional(),
192
- weight: t.number().optional(),
193
- lineHeight: t.number().optional(),
194
- opacity: t.number().min(0).max(1).optional()
195
- }).strict(), Y = t.object({
196
- horizontal: t.enum(["left", "center", "right"]).optional(),
197
- vertical: t.enum(["top", "center", "bottom"]).optional()
198
- }).strict(), Z = t.object({
199
- color: r.optional(),
200
- opacity: t.number().min(0).max(1).default(1),
201
- padding: t.number().min(0).max(100).optional(),
202
- borderRadius: t.number().min(0).optional()
203
- }).strict(), q = t.object({
204
- width: t.number().min(0).optional(),
205
- color: r.optional()
206
- }).strict(), g = t.object({
207
- type: t.literal("text"),
208
- text: t.string().optional(),
209
- width: t.number().positive().optional(),
210
- height: t.number().positive().optional(),
211
- font: X.optional(),
212
- alignment: Y.optional(),
213
- background: Z.optional(),
214
- stroke: q.optional()
215
- }).strict(), J = t.string().url("Invalid video url format."), tt = t.object({
216
- top: t.number().min(0).optional(),
217
- right: t.number().min(0).optional(),
218
- bottom: t.number().min(0).optional(),
219
- left: t.number().min(0).optional()
220
- }).strict(), et = n.extend({
221
- from: t.number().min(0).max(1),
222
- to: t.number().min(0).max(1)
223
- }).array().or(t.number().min(0).max(1)), S = t.object({
224
- type: t.literal("video"),
225
- src: J,
226
- trim: t.number().optional(),
227
- crop: tt.optional(),
228
- volume: et.optional()
229
- }).strict(), ot = t.union([
230
- g,
231
- p,
232
- h,
233
- m,
234
- l,
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
+ }), _ = e.object({
197
+ type: e.literal("heygenTextToAvatarOptions_HeyGenTextToAvatarOptions")
198
+ }).and(P), U = e.object({
199
+ provider: e.enum(["heygen"]),
200
+ options: _
201
+ }), $ = 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
+ }), J = e.object({
207
+ type: e.literal("openaiTextGeneratorOptions_OpenAiTextGeneratorOptions")
208
+ }).and($), Z = e.object({
209
+ provider: e.enum(["openai"]),
210
+ options: J
211
+ }), M = e.object({
212
+ status: e.string(),
213
+ title: e.string(),
214
+ detail: e.string()
215
+ });
216
+ e.object({
217
+ errors: e.array(M)
218
+ });
219
+ const K = 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
+ }), V = e.object({
228
+ type: e.string(),
229
+ id: e.string(),
230
+ attributes: K
231
+ });
232
+ e.object({
233
+ data: V
234
+ });
235
+ const H = e.object({
236
+ type: e.enum(["image-to-video"]),
237
+ imageUrl: e.string(),
238
+ guidanceScale: e.optional(e.number()).default(1.8),
239
+ motion: e.optional(e.int()).default(127)
240
+ }), Q = e.object({
241
+ type: e.enum(["text-generator"]),
242
+ prompt: e.string()
243
+ }), W = e.object({
244
+ type: e.enum(["text-to-image"]),
245
+ prompt: e.string(),
246
+ width: e.int(),
247
+ height: e.int()
248
+ }), X = 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
+ }), Y = e.union([
343
+ e.object({
344
+ type: e.literal("shotstackTextToSpeechOptions_ShotstackTextToSpeechOptions")
345
+ }).and(X),
346
+ e.object({
347
+ type: e.literal("shotstackTextToImageOptions_ShotstackTextToImageOptions")
348
+ }).and(W),
349
+ e.object({
350
+ type: e.literal("shotstackTextGeneratorOptions_ShotstackTextGeneratorOptions")
351
+ }).and(Q),
352
+ e.object({
353
+ type: e.literal("shotstackImageToVideoOptions_ShotstackImageToVideoOptions")
354
+ }).and(H)
355
+ ]), ee = e.object({
356
+ provider: e.enum(["shotstack"]),
357
+ options: Y
358
+ }), te = 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.int(),
369
+ height: e.int(),
370
+ steps: e.optional(e.int()).default(30),
371
+ seed: e.optional(e.int()).default(0),
372
+ cfgScale: e.optional(e.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
+ }), oe = e.object({
393
+ type: e.literal("stabilityAiTextToImageOptions_StabilityAiTextToImageOptions")
394
+ }).and(te), ne = e.object({
395
+ provider: e.enum(["stability-ai"]),
396
+ options: oe
397
+ }), ae = e.union([
398
+ e.object({
399
+ provider: e.literal("shotstackGeneratedAsset_ShotstackGeneratedAsset")
400
+ }).and(ee),
401
+ e.object({
402
+ provider: e.literal("didGeneratedAsset_DIDGeneratedAsset")
403
+ }).and(B),
404
+ e.object({
405
+ provider: e.literal("elevenlabsGeneratedAsset_ElevenLabsGeneratedAsset")
406
+ }).and(q),
407
+ e.object({
408
+ provider: e.literal("heygenGeneratedAsset_HeyGenGeneratedAsset")
409
+ }).and(U),
410
+ e.object({
411
+ provider: e.literal("openaiGeneratedAsset_OpenAiGeneratedAsset")
412
+ }).and(Z),
413
+ e.object({
414
+ provider: e.literal("stabilityAiGeneratedAsset_StabilityAiGeneratedAsset")
415
+ }).and(ne)
416
+ ]), n = e.object({
417
+ top: e.optional(e.number().gte(0).lte(1)),
418
+ bottom: e.optional(e.number().gte(0).lte(1)),
419
+ left: e.optional(e.number().gte(0).lte(1)),
420
+ right: e.optional(e.number().gte(0).lte(1))
421
+ }), jt = n, ie = e.object({
422
+ bucket: e.string(),
423
+ prefix: e.optional(e.string()),
424
+ filename: e.optional(e.string())
425
+ }), se = e.object({
426
+ provider: e.string().default("google-cloud-storage"),
427
+ options: e.optional(ie)
428
+ }), re = e.object({
429
+ folderId: e.string(),
430
+ filename: e.optional(e.string())
431
+ }), le = e.object({
432
+ provider: e.string().default("google-drive"),
433
+ options: re
434
+ }), pe = e.object({
435
+ playbackPolicy: e.optional(e.array(e.enum(["public", "signed"]))),
436
+ passthrough: e.optional(e.string().max(255))
437
+ }), ce = e.object({
438
+ provider: e.string().default("mux"),
439
+ options: e.optional(pe)
440
+ }), ue = 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
+ }), me = e.object({
447
+ provider: e.string().default("s3"),
448
+ options: e.optional(ue)
449
+ }), de = e.object({
450
+ provider: e.string().default("shotstack"),
451
+ exclude: e.optional(e.boolean())
452
+ }), he = 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
+ }), ge = e.object({
459
+ provider: e.string().default("tiktok"),
460
+ options: e.optional(he)
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
+ }), fe = 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
+ }), Se = e.object({
471
+ provider: e.string().default("vimeo"),
472
+ options: e.optional(fe)
473
+ }), i = e.union([
474
+ e.object({
475
+ destinations: e.optional(e.literal("shotstackDestination_ShotstackDestination"))
476
+ }).and(de),
477
+ e.object({
478
+ destinations: e.optional(e.literal("muxDestination_MuxDestination"))
479
+ }).and(ce),
480
+ e.object({
481
+ destinations: e.optional(e.literal("s3Destination_S3Destination"))
482
+ }).and(me),
483
+ e.object({
484
+ destinations: e.optional(e.literal("googleCloudStorageDestination_GoogleCloudStorageDestination"))
485
+ }).and(se),
486
+ e.object({
487
+ destinations: e.optional(e.literal("googleDriveDestination_GoogleDriveDestination"))
488
+ }).and(le),
489
+ e.object({
490
+ destinations: e.optional(e.literal("vimeoDestination_VimeoDestination"))
491
+ }).and(Se),
492
+ e.object({
493
+ destinations: e.optional(e.literal("tiktokDestination_TiktokDestination"))
494
+ }).and(ge)
495
+ ]), ye = i, Ae = 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.int()),
505
+ height: e.optional(e.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
+ }), wt = p, c = e.object({
519
+ type: e.enum(["image"]),
520
+ src: e.string(),
521
+ crop: e.optional(n)
522
+ }), Tt = c, 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) => typeof t == "string" && t !== "" && !isNaN(Number(t)) ? Number(t) : t, e.number().gte(0).lte(10))),
528
+ crop: e.optional(n)
529
+ }), Te = 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
+ }), xe = e.object({
542
+ provider: e.string().default("dolby"),
543
+ options: Te
544
+ }), ke = e.object({
545
+ enhancement: e.literal("dolbyEnhancement_DolbyEnhancement")
546
+ }).and(xe), ve = e.object({
547
+ audio: e.optional(ke)
548
+ }), Fe = e.object({
549
+ status: e.string(),
550
+ title: e.string(),
551
+ detail: e.string()
552
+ });
553
+ e.object({
554
+ errors: e.array(Fe)
555
+ });
556
+ const Oe = e.object({
557
+ type: e.string(),
558
+ id: e.string()
559
+ });
560
+ e.object({
561
+ data: Oe
562
+ });
563
+ const Re = e.object({
564
+ id: e.string(),
565
+ url: e.string(),
566
+ expires: e.string()
567
+ }), De = e.object({
568
+ type: e.string(),
569
+ id: e.string(),
570
+ attributes: Re
571
+ });
572
+ e.object({
573
+ data: De
574
+ });
575
+ const Ne = e.object({
576
+ speed: e.optional(e.preprocess((t) => typeof t == "string" && t !== "" && !isNaN(Number(t)) ? Number(t) : t, e.number().gte(0).lte(10))),
577
+ preservePitch: e.optional(e.boolean())
578
+ }), Le = 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) => typeof t == "string" && t !== "" && !isNaN(Number(t)) ? Number(t) : t, e.number()))
584
+ }), xt = u, m = e.object({
585
+ find: e.string(),
586
+ replace: e.unknown()
587
+ }), Ge = e.object({
588
+ capture: e.number()
589
+ }), Ie = e.object({
590
+ start: e.optional(e.number().gte(0)),
591
+ length: e.optional(e.number().gte(0))
592
+ }), Ce = 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: Ce
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 Be = e.object({
619
+ message: e.string(),
620
+ id: e.string()
621
+ });
622
+ e.object({
623
+ success: e.boolean(),
624
+ message: e.string(),
625
+ response: Be
626
+ });
627
+ const ze = e.object({
628
+ id: e.string(),
629
+ name: e.string(),
630
+ created: e.optional(e.string()),
631
+ updated: e.optional(e.string())
632
+ }), Ee = e.object({
633
+ owner: e.string(),
634
+ templates: e.array(ze)
635
+ });
636
+ e.object({
637
+ success: e.boolean(),
638
+ message: e.string(),
639
+ response: Ee
640
+ });
641
+ const qe = e.object({
642
+ message: e.string(),
643
+ id: e.string()
644
+ });
645
+ e.object({
646
+ success: e.boolean(),
647
+ message: e.string(),
648
+ response: qe
649
+ });
650
+ const Pe = e.object({
651
+ horizontal: e.optional(e.enum(["left", "center", "right"])),
652
+ vertical: e.optional(e.enum(["top", "middle", "bottom"]))
653
+ }), _e = e.object({
654
+ preset: e.enum([
655
+ "fadeIn",
656
+ "slideIn",
657
+ "typewriter",
658
+ "ascend",
659
+ "shift",
660
+ "movingLetters"
661
+ ]),
662
+ speed: e.optional(e.number().gte(0.1).lte(10)).default(1),
663
+ duration: e.optional(e.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
+ }), Ue = e.object({
667
+ color: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/)),
668
+ opacity: e.optional(e.number().gte(0).lte(1)).default(1),
669
+ borderRadius: e.optional(e.number().gte(0)).default(0)
670
+ }), $e = e.object({
671
+ width: e.optional(e.number().gte(0)).default(0),
672
+ color: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#000000"),
673
+ opacity: e.optional(e.number().gte(0).lte(1)).default(1),
674
+ radius: e.optional(e.number().gte(0)).default(0)
675
+ }), Je = e.object({
676
+ type: e.optional(e.enum(["linear", "radial"])),
677
+ angle: e.optional(e.number().gte(0).lte(360)).default(0),
678
+ stops: e.array(e.object({
679
+ offset: e.number().gte(0).lte(1),
680
+ color: e.string().regex(/^#[A-Fa-f0-9]{6}$/)
681
+ })).min(2)
682
+ }), Ze = e.object({
683
+ top: e.optional(e.number().gte(0)).default(0),
684
+ right: e.optional(e.number().gte(0)).default(0),
685
+ bottom: e.optional(e.number().gte(0)).default(0),
686
+ left: e.optional(e.number().gte(0)).default(0)
687
+ }), Me = e.object({
688
+ offsetX: e.optional(e.number()).default(0),
689
+ offsetY: e.optional(e.number()).default(0),
690
+ blur: e.optional(e.number().gte(0)).default(0),
691
+ color: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#000000"),
692
+ opacity: e.optional(e.number().gte(0).lte(1)).default(0.5)
693
+ }), Ke = e.object({
694
+ width: e.optional(e.number().gte(0)).default(0),
695
+ color: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#000000"),
696
+ opacity: e.optional(e.number().gte(0).lte(1)).default(1)
697
+ }), Ve = e.object({
698
+ family: e.optional(e.string()).default("Open Sans"),
699
+ size: e.optional(e.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.number().gte(0).lte(1)).default(1),
703
+ background: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/)),
704
+ stroke: e.optional(Ke)
705
+ }), He = e.object({
706
+ letterSpacing: e.optional(e.number()).default(0),
707
+ lineHeight: e.optional(e.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(Je)
711
+ }), h = e.object({
712
+ type: e.enum(["rich-text"]),
713
+ text: e.string().max(5e3),
714
+ font: e.optional(Ve),
715
+ style: e.optional(He),
716
+ shadow: e.optional(Me),
717
+ background: e.optional(Ue),
718
+ border: e.optional($e),
719
+ padding: e.optional(e.union([e.number().gte(0), Ze])),
720
+ align: e.optional(Pe),
721
+ animation: e.optional(_e)
722
+ }), kt = h, Qe = 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
+ }), We = e.object({
728
+ type: e.optional(e.string()),
729
+ attributes: e.optional(Qe)
730
+ });
731
+ e.object({
732
+ data: We
733
+ });
734
+ const Xe = e.object({
735
+ url: e.string(),
736
+ id: e.string(),
737
+ destinations: e.array(i)
738
+ }), g = e.object({
739
+ type: e.enum(["shape"]),
740
+ shape: e.enum(["rectangle", "circle", "line"]),
741
+ width: e.optional(e.int()),
742
+ height: e.optional(e.int()),
743
+ fill: e.optional(e.object({
744
+ color: e.optional(e.string()),
745
+ opacity: e.optional(e.number())
746
+ })),
747
+ stroke: e.optional(e.object({
748
+ color: e.optional(e.string()),
749
+ width: e.optional(e.number())
750
+ })),
751
+ rectangle: e.optional(e.object({
752
+ width: e.int(),
753
+ height: e.int(),
754
+ cornerRadius: e.optional(e.int())
755
+ })),
756
+ circle: e.optional(e.object({
757
+ radius: e.int()
758
+ })),
759
+ line: e.optional(e.object({
760
+ length: e.int(),
761
+ thickness: e.int()
762
+ }))
763
+ }), vt = g, s = e.object({
764
+ width: e.optional(e.int().gte(1).lte(4096)),
765
+ height: e.optional(e.int().gte(1).lte(4096))
766
+ }), Ye = s, b = 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.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(Ne),
802
+ keyframeInterval: e.optional(e.int().gte(1).lte(300)),
803
+ fixOffset: e.optional(e.boolean()),
804
+ fixRotation: e.optional(e.boolean()),
805
+ enhance: e.optional(ve),
806
+ filename: e.optional(e.string())
807
+ }), et = e.object({
808
+ renditions: e.optional(e.array(b)),
809
+ transcription: e.optional(Le)
810
+ }), tt = 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.number()),
822
+ transformation: e.optional(b),
823
+ width: e.optional(e.int()),
824
+ height: e.optional(e.int()),
825
+ duration: e.optional(e.number()),
826
+ fps: e.optional(e.number())
827
+ }), ot = e.object({
828
+ renditions: e.optional(e.array(tt))
829
+ }), nt = 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(ot),
836
+ width: e.optional(e.int()),
837
+ height: e.optional(e.string()),
838
+ duration: e.optional(e.number()),
839
+ fps: e.optional(e.number()),
840
+ created: e.optional(e.string()),
841
+ updated: e.optional(e.string())
842
+ }), f = e.object({
843
+ type: e.string(),
844
+ id: e.string(),
845
+ attributes: nt
846
+ });
847
+ e.object({
848
+ data: e.array(f)
849
+ });
850
+ e.object({
851
+ data: f
852
+ });
853
+ const at = e.object({
854
+ url: e.optional(e.string()),
855
+ outputs: e.optional(et),
856
+ destinations: e.optional(i),
857
+ callback: e.optional(e.string())
858
+ }), it = e.object({
859
+ src: e.string(),
860
+ effect: e.optional(e.enum(["fadeIn", "fadeOut", "fadeInFadeOut"])),
861
+ volume: e.optional(e.number())
862
+ }), st = e.object({
863
+ id: e.string(),
864
+ merge: e.optional(e.array(m))
865
+ }), rt = e.object({
866
+ horizontal: e.optional(e.enum(["left", "center", "right"])),
867
+ vertical: e.optional(e.enum(["top", "center", "bottom"]))
868
+ }), lt = e.object({
869
+ preset: e.enum(["typewriter"]),
870
+ duration: e.optional(e.number().gte(0.1).lte(30))
871
+ }), pt = e.object({
872
+ color: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/)),
873
+ opacity: e.optional(e.number().gte(0).lte(1)),
874
+ padding: e.optional(e.number().gte(0).lte(100)),
875
+ borderRadius: e.optional(e.number().gte(0))
876
+ }), ct = e.object({
877
+ family: e.optional(e.string()),
878
+ color: e.optional(e.string()),
879
+ opacity: e.optional(e.number()),
880
+ size: e.optional(e.int()),
881
+ weight: e.optional(e.int()),
882
+ lineHeight: e.optional(e.number())
883
+ }), ut = e.object({
884
+ width: e.optional(e.number().gte(0).lte(10)),
885
+ color: e.optional(e.string().regex(/^#[A-Fa-f0-9]{6}$/))
886
+ }), S = e.object({
887
+ type: e.enum(["text"]),
888
+ text: e.string(),
889
+ width: e.optional(e.int()),
890
+ height: e.optional(e.int()),
891
+ font: e.optional(ct),
892
+ background: e.optional(pt),
893
+ alignment: e.optional(rt),
894
+ stroke: e.optional(ut),
895
+ animation: e.optional(lt),
896
+ ellipsis: e.optional(e.string())
897
+ }), Ft = S, mt = e.object({
898
+ type: e.enum(["text-to-image"]),
899
+ prompt: e.string(),
900
+ width: e.optional(e.int()),
901
+ height: e.optional(e.int()),
902
+ crop: e.optional(n)
903
+ }), dt = e.object({
904
+ capture: e.number(),
905
+ scale: e.number().gte(0).lte(1)
906
+ }), y = e.object({
907
+ format: e.enum(["mp4", "gif", "mp3", "jpg", "png", "bmp"]),
908
+ resolution: e.optional(e.enum(["preview", "mobile", "sd", "hd", "1080", "4k"])),
909
+ aspectRatio: e.optional(e.enum(["16:9", "9:16", "1:1", "4:5", "4:3"])),
910
+ size: e.optional(s),
911
+ fps: e.optional(e.union([
912
+ e.literal(12),
913
+ e.literal(15),
914
+ e.literal(23.976),
915
+ e.literal(24),
916
+ e.literal(25),
917
+ e.literal(29.97),
918
+ e.literal(30),
919
+ e.literal(48),
920
+ e.literal(50),
921
+ e.literal(59.94),
922
+ e.literal(60)
923
+ ])),
924
+ scaleTo: e.optional(e.enum(["preview", "mobile", "sd", "hd", "1080", "4k"])),
925
+ quality: e.optional(e.enum(["verylow", "low", "medium", "high", "veryhigh"])),
926
+ repeat: e.optional(e.boolean()),
927
+ mute: e.optional(e.boolean()),
928
+ range: e.optional(Ie),
929
+ poster: e.optional(Ge),
930
+ thumbnail: e.optional(dt),
931
+ destinations: e.optional(e.array(i))
932
+ }), A = y, j = e.object({
933
+ in: e.optional(e.enum([
934
+ "none",
935
+ "fade",
936
+ "fadeSlow",
937
+ "fadeFast",
938
+ "reveal",
939
+ "revealSlow",
940
+ "revealFast",
941
+ "wipeLeft",
942
+ "wipeLeftSlow",
943
+ "wipeLeftFast",
944
+ "wipeRight",
945
+ "wipeRightSlow",
946
+ "wipeRightFast",
947
+ "slideLeft",
948
+ "slideLeftSlow",
949
+ "slideLeftFast",
950
+ "slideRight",
951
+ "slideRightSlow",
952
+ "slideRightFast",
953
+ "slideUp",
954
+ "slideUpSlow",
955
+ "slideUpFast",
956
+ "slideDown",
957
+ "slideDownSlow",
958
+ "slideDownFast",
959
+ "carouselLeft",
960
+ "carouselLeftSlow",
961
+ "carouselLeftFast",
962
+ "carouselRight",
963
+ "carouselRightSlow",
964
+ "carouselRightFast",
965
+ "carouselUp",
966
+ "carouselUpSlow",
967
+ "carouselUpFast",
968
+ "carouselDown",
969
+ "carouselDownSlow",
970
+ "carouselDownFast",
971
+ "shuffleTopRight",
972
+ "shuffleTopRightSlow",
973
+ "shuffleTopRightFast",
974
+ "shuffleRightTop",
975
+ "shuffleRightTopSlow",
976
+ "shuffleRightTopFast",
977
+ "shuffleRightBottom",
978
+ "shuffleRightBottomSlow",
979
+ "shuffleRightBottomFast",
980
+ "shuffleBottomRight",
981
+ "shuffleBottomRightSlow",
982
+ "shuffleBottomRightFast",
983
+ "shuffleBottomLeft",
984
+ "shuffleBottomLeftSlow",
985
+ "shuffleBottomLeftFast",
986
+ "shuffleLeftBottom",
987
+ "shuffleLeftBottomSlow",
988
+ "shuffleLeftBottomFast",
989
+ "shuffleLeftTop",
990
+ "shuffleLeftTopSlow",
991
+ "shuffleLeftTopFast",
992
+ "shuffleTopLeft",
993
+ "shuffleTopLeftSlow",
994
+ "shuffleTopLeftFast",
995
+ "zoom"
996
+ ])),
997
+ out: e.optional(e.enum([
998
+ "none",
999
+ "fade",
1000
+ "fadeSlow",
1001
+ "fadeFast",
1002
+ "reveal",
1003
+ "revealSlow",
1004
+ "revealFast",
1005
+ "wipeLeft",
1006
+ "wipeLeftSlow",
1007
+ "wipeLeftFast",
1008
+ "wipeRight",
1009
+ "wipeRightSlow",
1010
+ "wipeRightFast",
1011
+ "slideLeft",
1012
+ "slideLeftSlow",
1013
+ "slideLeftFast",
1014
+ "slideRight",
1015
+ "slideRightSlow",
1016
+ "slideRightFast",
1017
+ "slideUp",
1018
+ "slideUpSlow",
1019
+ "slideUpFast",
1020
+ "slideDown",
1021
+ "slideDownSlow",
1022
+ "slideDownFast",
1023
+ "carouselLeft",
1024
+ "carouselLeftSlow",
1025
+ "carouselLeftFast",
1026
+ "carouselRight",
1027
+ "carouselRightSlow",
1028
+ "carouselRightFast",
1029
+ "carouselUp",
1030
+ "carouselUpSlow",
1031
+ "carouselUpFast",
1032
+ "carouselDown",
1033
+ "carouselDownSlow",
1034
+ "carouselDownFast",
1035
+ "shuffleTopRight",
1036
+ "shuffleTopRightSlow",
1037
+ "shuffleTopRightFast",
1038
+ "shuffleRightTop",
1039
+ "shuffleRightTopSlow",
1040
+ "shuffleRightTopFast",
1041
+ "shuffleRightBottom",
1042
+ "shuffleRightBottomSlow",
1043
+ "shuffleRightBottomFast",
1044
+ "shuffleBottomRight",
1045
+ "shuffleBottomRightSlow",
1046
+ "shuffleBottomRightFast",
1047
+ "shuffleBottomLeft",
1048
+ "shuffleBottomLeftSlow",
1049
+ "shuffleBottomLeftFast",
1050
+ "shuffleLeftBottom",
1051
+ "shuffleLeftBottomSlow",
1052
+ "shuffleLeftBottomFast",
1053
+ "shuffleLeftTop",
1054
+ "shuffleLeftTopSlow",
1055
+ "shuffleLeftTopFast",
1056
+ "shuffleTopLeft",
1057
+ "shuffleTopLeftSlow",
1058
+ "shuffleTopLeftFast",
1059
+ "zoom"
1060
+ ]))
1061
+ }), Ot = j, o = e.object({
1062
+ from: e.optional(e.unknown()),
1063
+ to: e.optional(e.unknown()),
1064
+ start: e.optional(e.number()),
1065
+ length: e.optional(e.number()),
1066
+ interpolation: e.optional(e.enum(["linear", "bezier", "constant"])),
1067
+ easing: e.optional(e.enum([
1068
+ "ease",
1069
+ "easeIn",
1070
+ "easeOut",
1071
+ "easeInOut",
1072
+ "easeInQuad",
1073
+ "easeInCubic",
1074
+ "easeInQuart",
1075
+ "easeInQuint",
1076
+ "easeInSine",
1077
+ "easeInExpo",
1078
+ "easeInCirc",
1079
+ "easeInBack",
1080
+ "easeOutQuad",
1081
+ "easeOutCubic",
1082
+ "easeOutQuart",
1083
+ "easeOutQuint",
1084
+ "easeOutSine",
1085
+ "easeOutExpo",
1086
+ "easeOutCirc",
1087
+ "easeOutBack",
1088
+ "easeInOutQuad",
1089
+ "easeInOutCubic",
1090
+ "easeInOutQuart",
1091
+ "easeInOutQuint",
1092
+ "easeInOutSine",
1093
+ "easeInOutExpo",
1094
+ "easeInOutCirc",
1095
+ "easeInOutBack"
1096
+ ]))
1097
+ }), Rt = o, w = e.object({
1098
+ type: e.enum(["audio"]),
1099
+ src: e.string(),
1100
+ trim: e.optional(e.preprocess((t) => typeof t == "string" && t !== "" && !isNaN(Number(t)) ? Number(t) : t, e.number())),
1101
+ volume: e.optional(e.union([e.number().gte(0).lte(1), e.array(o)])),
1102
+ speed: e.optional(e.preprocess((t) => typeof t == "string" && t !== "" && !isNaN(Number(t)) ? Number(t) : t, e.number().gte(0).lte(10))),
1103
+ effect: e.optional(e.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"]))
1104
+ }), Dt = w, r = e.object({
1105
+ x: e.optional(e.union([e.number().gte(-10).lte(10), e.array(o)])),
1106
+ y: e.optional(e.union([e.number().gte(-10).lte(10), e.array(o)]))
1107
+ }), Nt = r, ht = e.object({
1108
+ angle: e.optional(e.union([e.int().gte(-360).lte(360), e.array(o)]))
1109
+ }), gt = e.object({
1110
+ x: e.optional(e.union([e.number().gte(-100).lte(100), e.array(o)])),
1111
+ y: e.optional(e.union([e.number().gte(-100).lte(100), e.array(o)]))
1112
+ }), bt = e.object({
1113
+ type: e.enum(["title"]),
1114
+ text: e.string(),
1115
+ style: e.optional(e.enum([
1116
+ "minimal",
1117
+ "blockbuster",
1118
+ "vogue",
1119
+ "sketchy",
1120
+ "skinny",
1121
+ "chunk",
1122
+ "chunkLight",
1123
+ "marker",
1124
+ "future",
1125
+ "subtitle"
1126
+ ])),
1127
+ color: e.optional(e.string()),
1128
+ size: e.optional(e.enum([
1129
+ "xx-small",
1130
+ "x-small",
1131
+ "small",
1132
+ "medium",
1133
+ "large",
1134
+ "x-large",
1135
+ "xx-large"
1136
+ ])),
1137
+ background: e.optional(e.string()),
1138
+ position: e.optional(e.enum([
1139
+ "top",
1140
+ "topRight",
1141
+ "right",
1142
+ "bottomRight",
1143
+ "bottom",
1144
+ "bottomLeft",
1145
+ "left",
1146
+ "topLeft",
1147
+ "center"
1148
+ ])),
1149
+ offset: e.optional(r)
1150
+ }), T = e.object({
1151
+ rotate: e.optional(ht),
1152
+ skew: e.optional(gt),
1153
+ flip: e.optional(Ae)
1154
+ }), Lt = T, x = e.object({
1155
+ type: e.enum(["video"]),
1156
+ src: e.string(),
1157
+ transcode: e.optional(e.boolean()),
1158
+ trim: e.optional(e.preprocess((t) => typeof t == "string" && t !== "" && !isNaN(Number(t)) ? Number(t) : t, e.number())),
1159
+ volume: e.optional(e.union([e.number().gte(0).lte(1), e.array(o)])),
1160
+ volumeEffect: e.optional(e.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
1161
+ speed: e.optional(e.preprocess((t) => typeof t == "string" && t !== "" && !isNaN(Number(t)) ? Number(t) : t, e.number().gte(0).lte(10))),
1162
+ crop: e.optional(n),
1163
+ chromaKey: e.optional(G)
1164
+ }), Gt = x, k = e.discriminatedUnion("type", [
1165
+ x,
1166
+ c,
235
1167
  S,
1168
+ h,
1169
+ w,
236
1170
  u,
237
- s,
238
- c
239
- ]).refine((e) => e.type === "text" ? g.safeParse(e) : e.type === "rich-text" ? p.safeParse(e) : e.type === "shape" ? h.safeParse(e) : e.type === "html" ? m.safeParse(e) : e.type === "image" ? l.safeParse(e) : e.type === "video" ? S.safeParse(e) : e.type === "luma" ? u.safeParse(e) : e.type === "audio" ? s.safeParse(e) : e.type === "caption" ? c.safeParse(e) : !1), x = /^alias:\/\/[a-zA-Z0-9_-]+$/, nt = t.enum(["topLeft", "top", "topRight", "left", "center", "right", "bottomLeft", "bottom", "bottomRight"]), it = t.enum(["crop", "cover", "contain", "none"]), i = t.coerce.number().min(-10).max(10).default(0), at = n.extend({
240
- from: i,
241
- to: i
242
- }).array().or(i), rt = n.extend({
243
- from: i,
244
- to: i
245
- }).array().or(i), st = t.object({
246
- x: at.default(0),
247
- y: rt.default(0)
248
- }).strict(), ct = n.extend({
249
- from: t.number().min(0).max(1),
250
- to: t.number().min(0).max(1)
251
- }).array().or(t.number().min(0).max(1)), mt = n.extend({
252
- from: t.number().min(0),
253
- to: t.number().min(0)
254
- }).array().or(t.number().min(0)), lt = t.object({
255
- angle: n.extend({
256
- from: t.number(),
257
- to: t.number()
258
- }).array().or(t.number())
259
- }).strict(), ut = t.string(), y = t.string(), pt = t.object({
260
- in: y.optional(),
261
- out: y.optional()
262
- }).strict(), bt = t.object({
263
- rotate: lt.default({ angle: 0 })
264
- }).strict(), ft = t.object({
265
- asset: ot,
266
- start: t.union([t.number().min(0), t.literal("auto"), t.string().regex(x)]),
267
- length: t.union([t.number().positive(), t.literal("auto"), t.literal("end"), t.string().regex(x)]),
268
- alias: t.string().optional(),
269
- position: nt.default("center").optional(),
270
- fit: it.optional(),
271
- offset: st.default({ x: 0, y: 0 }).optional(),
272
- opacity: ct.default(1).optional(),
273
- scale: mt.default(1).optional(),
274
- transform: bt.default({ rotate: { angle: 0 } }).optional(),
275
- effect: ut.optional(),
276
- transition: pt.optional(),
277
- width: t.number().min(1).max(3840).optional(),
278
- height: t.number().min(1).max(2160).optional()
279
- }).strict().transform((e) => ({
280
- ...e,
281
- fit: e.fit ?? (e.asset.type === "rich-text" ? "cover" : "crop")
282
- })), dt = t.object({
283
- clips: ft.array()
284
- }).strict(), ht = t.string().url("Invalid image url format."), gt = t.object({
285
- src: ht
286
- }).strict(), St = t.enum(["fadeIn", "fadeOut", "fadeInFadeOut"]), xt = t.object({
287
- src: t.string().url(),
288
- effect: St.optional(),
289
- volume: t.number().min(0).max(1).optional()
290
- }).strict(), yt = t.string().regex(/^#[A-Fa-f0-9]{6}$/, "Must be a valid hex color (e.g., #000000)"), At = t.object({
291
- background: yt.optional(),
292
- fonts: gt.array().optional(),
293
- tracks: dt.array(),
294
- soundtrack: xt.optional()
295
- }).strict(), jt = t.object({
296
- provider: t.literal("shotstack"),
297
- exclude: t.boolean().optional()
298
- }).strict(), vt = t.object({
299
- provider: t.literal("s3"),
300
- options: t.object({
301
- region: t.string(),
302
- bucket: t.string().min(3).max(63),
303
- prefix: t.string().optional(),
304
- filename: t.string().optional(),
305
- acl: t.string().optional()
306
- }).strict()
307
- }).strict(), It = t.object({
308
- provider: t.literal("mux"),
309
- options: t.object({
310
- playbackPolicy: t.array(t.enum(["public", "signed"])).optional(),
311
- passthrough: t.string().max(255).optional()
312
- }).strict().optional()
313
- }).strict(), Ct = t.object({
314
- provider: t.literal("google-cloud-storage"),
315
- options: t.object({
316
- bucket: t.string().optional(),
317
- prefix: t.string().optional(),
318
- filename: t.string().optional()
319
- }).strict().optional()
320
- }).strict(), kt = t.object({
321
- provider: t.literal("google-drive"),
322
- options: t.object({
323
- filename: t.string().optional(),
324
- folderId: t.string().optional()
325
- }).strict().optional()
326
- }).strict(), Ot = t.object({
327
- provider: t.literal("vimeo"),
328
- options: t.object({
329
- name: t.string().optional(),
330
- description: t.string().optional(),
331
- privacy: t.object({
332
- view: t.enum(["anybody", "nobody", "contacts", "password", "unlisted"]).optional(),
333
- embed: t.enum(["public", "private", "whitelist"]).optional(),
334
- comments: t.enum(["anybody", "nobody", "contacts"]).optional()
335
- }).strict().optional(),
336
- folderUri: t.string().optional()
337
- }).strict().optional()
338
- }).strict(), Tt = t.object({
339
- provider: t.literal("tiktok")
340
- }).strict(), Ft = t.union([
341
- jt,
342
- vt,
343
- It,
344
- Ct,
345
- kt,
346
- Ot,
347
- Tt
348
- ]), Rt = t.enum(["mp4", "gif", "mp3", "jpg", "png", "bmp"], {
349
- errorMap: () => ({ message: "Must be one of mp4, gif, mp3, jpg, png, bmp" })
350
- }), wt = [12, 15, 23.976, 24, 25, 29.97, 30, 48, 50, 59.94, 60], Et = t.number().refine((e) => wt.includes(e), {
351
- message: "Must be one of 12, 15, 23.976, 24, 25, 29.97, 30, 48, 50, 59.94, 60"
352
- }), Pt = t.object({
353
- width: t.number({ message: "Width must be a number" }).int({ message: "Width must be an integer" }).min(1, { message: "Width must be at least 1" }).max(3840, { message: "Width must be at most 3840" }),
354
- height: t.number({ message: "Height must be a number" }).int({ message: "Height must be an integer" }).min(1, { message: "Height must be at least 1" }).max(3840, { message: "Height must be at most 3840" })
355
- }).strict(), zt = t.object({
356
- size: Pt,
357
- fps: Et.optional(),
358
- format: Rt,
359
- destinations: t.array(Ft).optional()
360
- }).strict(), Lt = t.object({
361
- find: t.string().min(1),
362
- replace: t.string()
363
- }), Dt = t.object({
364
- timeline: At,
365
- output: zt,
366
- merge: t.array(Lt).optional()
367
- }).strict();
1171
+ l,
1172
+ p,
1173
+ bt,
1174
+ g,
1175
+ mt,
1176
+ we
1177
+ ]), It = k, v = e.object({
1178
+ asset: k,
1179
+ start: e.union([e.preprocess((t) => typeof t == "string" && t !== "" && !isNaN(Number(t)) ? Number(t) : t, e.number()), e.enum(["auto"])]),
1180
+ length: e.union([e.preprocess((t) => typeof t == "string" && t !== "" && !isNaN(Number(t)) ? Number(t) : t, e.number()), e.literal("auto"), e.literal("end")]),
1181
+ fit: e.optional(e.enum(["cover", "contain", "crop", "none"])),
1182
+ scale: e.optional(e.preprocess((t) => typeof t == "string" && t !== "" && !isNaN(Number(t)) ? Number(t) : t, e.number())),
1183
+ width: e.optional(e.int().gte(1).lte(3840)),
1184
+ height: e.optional(e.int().gte(1).lte(2160)),
1185
+ position: e.optional(e.enum([
1186
+ "top",
1187
+ "topRight",
1188
+ "right",
1189
+ "bottomRight",
1190
+ "bottom",
1191
+ "bottomLeft",
1192
+ "left",
1193
+ "topLeft",
1194
+ "center"
1195
+ ])),
1196
+ offset: e.optional(r),
1197
+ transition: e.optional(j),
1198
+ effect: e.optional(e.enum([
1199
+ "zoomIn",
1200
+ "zoomInSlow",
1201
+ "zoomInFast",
1202
+ "zoomOut",
1203
+ "zoomOutSlow",
1204
+ "zoomOutFast",
1205
+ "slideLeft",
1206
+ "slideLeftSlow",
1207
+ "slideLeftFast",
1208
+ "slideRight",
1209
+ "slideRightSlow",
1210
+ "slideRightFast",
1211
+ "slideUp",
1212
+ "slideUpSlow",
1213
+ "slideUpFast",
1214
+ "slideDown",
1215
+ "slideDownSlow",
1216
+ "slideDownFast"
1217
+ ])),
1218
+ filter: e.optional(e.enum([
1219
+ "none",
1220
+ "blur",
1221
+ "boost",
1222
+ "contrast",
1223
+ "darken",
1224
+ "greyscale",
1225
+ "lighten",
1226
+ "muted",
1227
+ "negative"
1228
+ ])),
1229
+ opacity: e.optional(e.union([e.number(), e.array(o)])),
1230
+ transform: e.optional(T),
1231
+ alias: e.optional(e.string().regex(/^[A-Za-z0-9_-]+$/))
1232
+ }), Ct = v, F = e.object({
1233
+ clips: e.array(v)
1234
+ }), Bt = F, O = e.object({
1235
+ soundtrack: e.optional(it),
1236
+ background: e.optional(e.string()),
1237
+ fonts: e.optional(e.array(je)),
1238
+ tracks: e.array(F),
1239
+ cache: e.optional(e.boolean())
1240
+ }), zt = O, a = e.object({
1241
+ timeline: O,
1242
+ output: y,
1243
+ merge: e.optional(e.array(m)),
1244
+ callback: e.optional(e.string()),
1245
+ disk: e.optional(e.enum(["local", "mount"]))
1246
+ }), Et = a, ft = e.object({
1247
+ id: e.string(),
1248
+ owner: e.string(),
1249
+ plan: e.optional(e.string()),
1250
+ status: e.enum([
1251
+ "queued",
1252
+ "fetching",
1253
+ "preprocessing",
1254
+ "rendering",
1255
+ "saving",
1256
+ "done",
1257
+ "failed"
1258
+ ]),
1259
+ error: e.optional(e.string()),
1260
+ duration: e.optional(e.number()),
1261
+ renderTime: e.optional(e.number()),
1262
+ url: e.optional(e.string()),
1263
+ poster: e.optional(e.union([e.string(), e.null()])),
1264
+ thumbnail: e.optional(e.union([e.string(), e.null()])),
1265
+ data: e.optional(a),
1266
+ created: e.optional(e.string()),
1267
+ updated: e.optional(e.string())
1268
+ });
1269
+ e.object({
1270
+ success: e.boolean(),
1271
+ message: e.string(),
1272
+ response: ft
1273
+ });
1274
+ const St = e.object({
1275
+ id: e.string(),
1276
+ name: e.string(),
1277
+ owner: e.string(),
1278
+ template: a
1279
+ });
1280
+ e.object({
1281
+ success: e.boolean(),
1282
+ message: e.string(),
1283
+ response: St
1284
+ });
1285
+ const R = e.object({
1286
+ name: e.string(),
1287
+ template: e.optional(a)
1288
+ });
1289
+ e.object({
1290
+ body: a,
1291
+ path: e.optional(e.never()),
1292
+ query: e.optional(e.never())
1293
+ });
1294
+ e.object({
1295
+ body: e.optional(e.never()),
1296
+ path: e.object({
1297
+ 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}$/)
1298
+ }),
1299
+ query: e.optional(e.object({
1300
+ data: e.optional(e.boolean()),
1301
+ merged: e.optional(e.boolean())
1302
+ }))
1303
+ });
1304
+ e.object({
1305
+ body: e.optional(e.never()),
1306
+ path: e.optional(e.never()),
1307
+ query: e.optional(e.never())
1308
+ });
1309
+ e.object({
1310
+ body: R,
1311
+ path: e.optional(e.never()),
1312
+ query: e.optional(e.never())
1313
+ });
1314
+ e.object({
1315
+ body: e.optional(e.never()),
1316
+ path: e.object({
1317
+ 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}$/)
1318
+ }),
1319
+ query: e.optional(e.never())
1320
+ });
1321
+ e.void();
1322
+ e.object({
1323
+ body: e.optional(e.never()),
1324
+ path: e.object({
1325
+ 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}$/)
1326
+ }),
1327
+ query: e.optional(e.never())
1328
+ });
1329
+ e.object({
1330
+ body: R,
1331
+ path: e.object({
1332
+ 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}$/)
1333
+ }),
1334
+ query: e.optional(e.never())
1335
+ });
1336
+ e.object({
1337
+ body: st,
1338
+ path: e.optional(e.never()),
1339
+ query: e.optional(e.never())
1340
+ });
1341
+ e.object({
1342
+ body: e.optional(e.never()),
1343
+ path: e.object({
1344
+ url: e.string()
1345
+ }),
1346
+ query: e.optional(e.never())
1347
+ });
1348
+ e.object({
1349
+ body: e.optional(e.never()),
1350
+ path: e.object({
1351
+ 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}$/)
1352
+ }),
1353
+ query: e.optional(e.never())
1354
+ });
1355
+ e.void();
1356
+ e.object({
1357
+ body: e.optional(e.never()),
1358
+ path: e.object({
1359
+ 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}$/)
1360
+ }),
1361
+ query: e.optional(e.never())
1362
+ });
1363
+ e.object({
1364
+ body: e.optional(e.never()),
1365
+ path: e.object({
1366
+ 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}$/)
1367
+ }),
1368
+ query: e.optional(e.never())
1369
+ });
1370
+ e.object({
1371
+ body: Xe,
1372
+ path: e.optional(e.never()),
1373
+ query: e.optional(e.never())
1374
+ });
1375
+ e.object({
1376
+ body: e.optional(e.never()),
1377
+ path: e.optional(e.never()),
1378
+ query: e.optional(e.never())
1379
+ });
1380
+ e.object({
1381
+ body: at,
1382
+ path: e.optional(e.never()),
1383
+ query: e.optional(e.never())
1384
+ });
1385
+ e.object({
1386
+ body: e.optional(e.never()),
1387
+ path: e.object({
1388
+ 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}$/)
1389
+ }),
1390
+ query: e.optional(e.never())
1391
+ });
1392
+ e.void();
1393
+ e.object({
1394
+ body: e.optional(e.never()),
1395
+ path: e.object({
1396
+ 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}$/)
1397
+ }),
1398
+ query: e.optional(e.never())
1399
+ });
1400
+ e.object({
1401
+ body: e.optional(e.never()),
1402
+ path: e.optional(e.never()),
1403
+ query: e.optional(e.never())
1404
+ });
1405
+ e.object({
1406
+ body: ae,
1407
+ path: e.optional(e.never()),
1408
+ query: e.optional(e.never())
1409
+ });
1410
+ e.object({
1411
+ body: e.optional(e.never()),
1412
+ path: e.object({
1413
+ 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}$/)
1414
+ }),
1415
+ query: e.optional(e.never())
1416
+ });
1417
+ const qt = ye, Pt = Ye, _t = A.shape.format, Ut = A.shape.fps.unwrap(), $t = e.string().regex(/^#[0-9A-Fa-f]{6}$|^#[0-9A-Fa-f]{8}$/);
368
1418
  export {
369
- ot as AssetSchema,
370
- s as AudioAssetSchema,
371
- I as AudioAssetUrlSchema,
372
- C as AudioAssetVolumeSchema,
373
- R as CaptionAssetAlignmentSchema,
374
- F as CaptionAssetBackgroundSchema,
375
- a as CaptionAssetColorSchema,
376
- O as CaptionAssetFontSchema,
377
- c as CaptionAssetSchema,
378
- T as CaptionAssetStrokeSchema,
379
- ft as ClipSchema,
380
- Dt as EditSchema,
381
- gt as FontSourceSchema,
382
- ht as FontSourceUrlSchema,
383
- m as HtmlAssetSchema,
384
- z as ImageAssetCropSchema,
385
- l as ImageAssetSchema,
386
- P as ImageAssetUrlSchema,
387
- v as KeyframeEasingSchema,
388
- j as KeyframeInterpolationSchema,
389
- n as KeyframeSchema,
390
- u as LumaAssetSchema,
391
- L as LumaAssetUrlSchema,
392
- zt as OutputSchema,
393
- p as RichTextAssetSchema,
394
- f as ShapeAssetCircleSchema,
395
- A as ShapeAssetColorSchema,
396
- W as ShapeAssetFillSchema,
397
- d as ShapeAssetLineSchema,
398
- b as ShapeAssetRectangleSchema,
399
- h as ShapeAssetSchema,
400
- K as ShapeAssetStrokeSchema,
401
- Y as TextAssetAlignmentSchema,
402
- Z as TextAssetBackgroundSchema,
403
- r as TextAssetColorSchema,
404
- X as TextAssetFontSchema,
405
- g as TextAssetSchema,
406
- q as TextAssetStrokeSchema,
407
- At as TimelineSchema,
408
- dt as TrackSchema,
409
- tt as VideoAssetCropSchema,
410
- S as VideoAssetSchema,
411
- J as VideoAssetUrlSchema,
412
- et as VideoAssetVolumeSchema
1419
+ It as AssetSchema,
1420
+ Dt as AudioAssetSchema,
1421
+ At as CaptionAssetSchema,
1422
+ Ct as ClipSchema,
1423
+ jt as CropSchema,
1424
+ qt as DestinationSchema,
1425
+ Et as EditSchema,
1426
+ $t as HexColorSchema,
1427
+ wt as HtmlAssetSchema,
1428
+ Tt as ImageAssetSchema,
1429
+ Rt as KeyframeSchema,
1430
+ xt as LumaAssetSchema,
1431
+ Nt as OffsetSchema,
1432
+ _t as OutputFormatSchema,
1433
+ Ut as OutputFpsSchema,
1434
+ A as OutputSchema,
1435
+ Pt as OutputSizeSchema,
1436
+ kt as RichTextAssetSchema,
1437
+ vt as ShapeAssetSchema,
1438
+ Ft as TextAssetSchema,
1439
+ zt as TimelineSchema,
1440
+ Bt as TrackSchema,
1441
+ Lt as TransformationSchema,
1442
+ Ot as TransitionSchema,
1443
+ Rt as TweenSchema,
1444
+ Gt as VideoAssetSchema
413
1445
  };