@shotstack/schemas 1.8.7 → 1.9.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.
@@ -51,7 +51,7 @@ exports.captionpropertiesCaptionBackgroundSchema = zod_1.z.object({
51
51
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
52
52
  return v;
53
53
  return Number(v);
54
- } return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
54
+ } return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
55
55
  }).strict();
56
56
  exports.captionBackgroundSchema = exports.captionpropertiesCaptionBackgroundSchema;
57
57
  /**
@@ -88,7 +88,7 @@ exports.captionpropertiesCaptionFontSchema = zod_1.z.object({
88
88
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
89
89
  return v;
90
90
  return Number(v);
91
- } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
91
+ } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
92
92
  }).strict();
93
93
  exports.captionFontSchema = exports.captionpropertiesCaptionFontSchema;
94
94
  /**
@@ -115,7 +115,7 @@ exports.captionpropertiesCaptionMarginSchema = zod_1.z.object({
115
115
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
116
116
  return v;
117
117
  return Number(v);
118
- } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
118
+ } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
119
119
  }).strict();
120
120
  exports.captionMarginSchema = exports.captionpropertiesCaptionMarginSchema;
121
121
  /**
@@ -131,7 +131,7 @@ exports.captionMarginSchema = exports.captionpropertiesCaptionMarginSchema;
131
131
  *
132
132
  */
133
133
  exports.captionassetCaptionAssetSchema = zod_1.z.object({
134
- type: zod_1.z.enum(["caption"]),
134
+ type: zod_1.z.enum(['caption']),
135
135
  src: zod_1.z.string().min(1).regex(/\S/),
136
136
  font: zod_1.z.optional(exports.captionpropertiesCaptionFontSchema),
137
137
  background: zod_1.z.optional(exports.captionpropertiesCaptionBackgroundSchema),
@@ -149,7 +149,7 @@ exports.captionassetCaptionAssetSchema = zod_1.z.object({
149
149
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
150
150
  return v;
151
151
  return Number(v);
152
- } return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
152
+ } return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
153
153
  }).strict();
154
154
  exports.captionAssetSchema = exports.captionassetCaptionAssetSchema;
155
155
  /**
@@ -170,17 +170,23 @@ exports.chromakeyChromaKeySchema = zod_1.z.object({
170
170
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
171
171
  return v;
172
172
  return Number(v);
173
- } return v; }), zod_1.z.number().int().gte(0).lte(250)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
173
+ } return v; }), zod_1.z.number().int().gte(0).lte(250)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
174
174
  }).strict();
175
175
  exports.chromaKeySchema = exports.chromakeyChromaKeySchema;
176
176
  /**
177
177
  * Options for the D-ID text-to-avatar service. Set the text to be converted to an avatar and configure the avatar and background. The output will be generated as an MP4 video file.
178
178
  */
179
179
  exports.didTextToAvatarOptionsDidTextToAvatarOptionsSchema = zod_1.z.object({
180
- type: zod_1.z.enum(["text-to-avatar"]),
180
+ type: zod_1.z.enum(['text-to-avatar']),
181
181
  text: zod_1.z.string(),
182
- avatar: zod_1.z.enum(["jack", "lana", "lily", "matt", "rian"]),
183
- background: zod_1.z.optional(zod_1.z.string()),
182
+ avatar: zod_1.z.enum([
183
+ 'jack',
184
+ 'lana',
185
+ 'lily',
186
+ 'matt',
187
+ 'rian'
188
+ ]),
189
+ background: zod_1.z.optional(zod_1.z.string())
184
190
  }).strict();
185
191
  exports.didTextToAvatarOptionsSchema = exports.didTextToAvatarOptionsDidTextToAvatarOptionsSchema;
186
192
  /**
@@ -190,37 +196,35 @@ exports.didTextToAvatarOptionsSchema = exports.didTextToAvatarOptionsDidTextToAv
190
196
  * <li><a href="#tocs_didtexttoavataroptions">DidTextToAvatarOptions</a></li>
191
197
  * </ul>
192
198
  */
193
- exports.didGeneratedAssetOptionsDidGeneratedAssetOptionsSchema = zod_1.z
194
- .object({
195
- type: zod_1.z.literal("didTextToAvatarOptions_DIDTextToAvatarOptions"),
196
- })
197
- .and(exports.didTextToAvatarOptionsDidTextToAvatarOptionsSchema);
199
+ exports.didGeneratedAssetOptionsDidGeneratedAssetOptionsSchema = zod_1.z.object({
200
+ type: zod_1.z.literal('didTextToAvatarOptions_DIDTextToAvatarOptions')
201
+ }).strict().and(exports.didTextToAvatarOptionsDidTextToAvatarOptionsSchema);
198
202
  exports.didGeneratedAssetOptionsSchema = exports.didGeneratedAssetOptionsDidGeneratedAssetOptionsSchema;
199
203
  /**
200
204
  * Generate assets using D-ID. D-ID provide a text-to-avatar service. The D-ID provider works on a bring-your-own-key basis, credentials are required and must be added via the [dashboard](https://dashboard.shotstack.io/integrations/d-id), not in the request.
201
205
  */
202
206
  exports.didGeneratedAssetDidGeneratedAssetSchema = zod_1.z.object({
203
- provider: zod_1.z.enum(["d-id"]),
204
- options: exports.didGeneratedAssetOptionsDidGeneratedAssetOptionsSchema,
207
+ provider: zod_1.z.enum(['d-id']),
208
+ options: exports.didGeneratedAssetOptionsDidGeneratedAssetOptionsSchema
205
209
  }).strict();
206
210
  exports.didGeneratedAssetSchema = exports.didGeneratedAssetDidGeneratedAssetSchema;
207
211
  /**
208
212
  * Options for the ElevenLabs text-to-speech service. Set the text to be converted to speech and choose a voice to set the speaking style. The output will be generated as an MP3 audio file available at the URL returned in the response.
209
213
  */
210
214
  exports.elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema = zod_1.z.object({
211
- type: zod_1.z.enum(["text-to-speech"]),
215
+ type: zod_1.z.enum(['text-to-speech']),
212
216
  text: zod_1.z.string(),
213
217
  voice: zod_1.z.enum([
214
- "Adam",
215
- "Antoni",
216
- "Arnold",
217
- "Bella",
218
- "Domi",
219
- "Elli",
220
- "Josh",
221
- "Rachel",
222
- "Sam",
223
- ]),
218
+ 'Adam',
219
+ 'Antoni',
220
+ 'Arnold',
221
+ 'Bella',
222
+ 'Domi',
223
+ 'Elli',
224
+ 'Josh',
225
+ 'Rachel',
226
+ 'Sam'
227
+ ])
224
228
  }).strict();
225
229
  exports.elevenLabsTextToSpeechOptionsSchema = exports.elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema;
226
230
  /**
@@ -230,143 +234,141 @@ exports.elevenLabsTextToSpeechOptionsSchema = exports.elevenlabsTextToSpeechOpti
230
234
  * <li><a href="#tocs_elevenlabstexttospeechoptions">ElevenLabsTextToSpeechOptions</a></li>
231
235
  * </ul>
232
236
  */
233
- exports.elevenlabsGeneratedAssetOptionsElevenLabsGeneratedAssetOptionsSchema = zod_1.z
234
- .object({
235
- type: zod_1.z.literal("elevenlabsTextToSpeechOptions_ElevenLabsTextToSpeechOptions"),
236
- })
237
- .and(exports.elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema);
237
+ exports.elevenlabsGeneratedAssetOptionsElevenLabsGeneratedAssetOptionsSchema = zod_1.z.object({
238
+ type: zod_1.z.literal('elevenlabsTextToSpeechOptions_ElevenLabsTextToSpeechOptions')
239
+ }).strict().and(exports.elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema);
238
240
  exports.elevenLabsGeneratedAssetOptionsSchema = exports.elevenlabsGeneratedAssetOptionsElevenLabsGeneratedAssetOptionsSchema;
239
241
  /**
240
242
  * Generate assets using ElevenLabs. ElevenLabs provide a text-to-speech service. The ElevenLabs provider works on a bring-your-own-key basis, credentials are required and must be added via the [dashboard](https://dashboard.shotstack.io/integrations/elevenlabs), not in the request.
241
243
  */
242
244
  exports.elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema = zod_1.z.object({
243
- provider: zod_1.z.enum(["elevenlabs"]),
244
- options: exports.elevenlabsGeneratedAssetOptionsElevenLabsGeneratedAssetOptionsSchema,
245
+ provider: zod_1.z.enum(['elevenlabs']),
246
+ options: exports.elevenlabsGeneratedAssetOptionsElevenLabsGeneratedAssetOptionsSchema
245
247
  }).strict();
246
248
  exports.elevenLabsGeneratedAssetSchema = exports.elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema;
247
249
  /**
248
250
  * Options for the HeyGen text-to-avatar service. Set the text to be converted to an avatar and configure the avatars voice, speaking style, appearance and background. The output will be generated as an MP4 video file available at the URL returned in the response.
249
251
  */
250
252
  exports.heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema = zod_1.z.object({
251
- type: zod_1.z.enum(["text-to-avatar"]),
253
+ type: zod_1.z.enum(['text-to-avatar']),
252
254
  text: zod_1.z.string(),
253
255
  avatar: zod_1.z.enum([
254
- "Angela",
255
- "Bill",
256
- "Daisy",
257
- "Derek",
258
- "Eva",
259
- "Jake",
260
- "Jeff",
261
- "Jerome",
262
- "Joon",
263
- "Kayla",
264
- "Kent",
265
- "Luna",
266
- "Mark",
267
- "Matthew",
268
- "Monica",
269
- "Peter",
270
- "Selina",
271
- "Tanya",
272
- "Thomas",
273
- "Tina",
274
- "Tyler",
275
- "Vanessa",
276
- "Vera",
277
- "Wilson",
278
- "Zoey",
256
+ 'Angela',
257
+ 'Bill',
258
+ 'Daisy',
259
+ 'Derek',
260
+ 'Eva',
261
+ 'Jake',
262
+ 'Jeff',
263
+ 'Jerome',
264
+ 'Joon',
265
+ 'Kayla',
266
+ 'Kent',
267
+ 'Luna',
268
+ 'Mark',
269
+ 'Matthew',
270
+ 'Monica',
271
+ 'Peter',
272
+ 'Selina',
273
+ 'Tanya',
274
+ 'Thomas',
275
+ 'Tina',
276
+ 'Tyler',
277
+ 'Vanessa',
278
+ 'Vera',
279
+ 'Wilson',
280
+ 'Zoey'
279
281
  ]),
280
282
  voice: zod_1.z.enum([
281
- "Abbi - Natural",
282
- "Adam - Natural",
283
- "Aiston - Friendly",
284
- "Alice - Newscaster",
285
- "Alison - Cheerful",
286
- "Amber - Friendly",
287
- "Amy - Warm",
288
- "Ana - Cheerful",
289
- "Antoni - Friendly",
290
- "Aria - Newscaster",
291
- "Arnold - Cheerful",
292
- "Arthur - Natural",
293
- "Bella - Friendly",
294
- "Belle - Natural",
295
- "Brandon - Warm",
296
- "Brian - Natural",
297
- "Bruce - Natural",
298
- "Cerise - Cheerful",
299
- "Christopher - Calm",
300
- "Clara - Professional",
301
- "Connor - Natural",
302
- "Dahlia - Friendly",
303
- "Davis - Professional",
304
- "Dean - Natural",
305
- "Delbert - Cheerful",
306
- "Edward - Friendly",
307
- "Elaine - Calm",
308
- "Emily - Natural",
309
- "Emma - Newscaster",
310
- "Eric - Newscaster",
311
- "Grace - Natural",
312
- "Hailey - Calm",
313
- "Indira - Cheerful",
314
- "Isabella - Cheerful",
315
- "Jacob - Natural",
316
- "Jahmai - Friendly",
317
- "Jane - Serious",
318
- "Jason - Serious",
319
- "Jelle - Friendly",
320
- "Jen - Natural",
321
- "Jenny - Professional",
322
- "Jodi - Cheerful",
323
- "Joey - Calm",
324
- "Johan - Friendly",
325
- "Josie - Cheerful",
326
- "Keanan - Natural",
327
- "Keith - Cheerful",
328
- "Kellie - Friendly",
329
- "Lauren - Friendly",
330
- "Leah - Natural",
331
- "Liam - Professional",
332
- "Libby - Natural",
333
- "Lily - Professional",
334
- "Lucas - Natural",
335
- "Luke - Professional",
336
- "Luna - Natural",
337
- "Marieke - Natural",
338
- "Matthew - Professional",
339
- "Michelle - Natural",
340
- "Mitchell - Natural",
341
- "Molly - Newscaster",
342
- "Monica - Calm",
343
- "Natasha - Professional",
344
- "Neerja - Newscaster",
345
- "Noah - Serious",
346
- "Oliver - Newscaster",
347
- "Olivia - Calm",
348
- "Paul - Natural",
349
- "Prabhat - Natural",
350
- "Raveena - Natural",
351
- "Rudi - Friendly",
352
- "Ryan - Professional",
353
- "Sam - Natural",
354
- "Sara - Cheerful",
355
- "Sherry - Friendly",
356
- "Sonia - Warm",
357
- "Thomas - Natural",
358
- "Todd - Professional",
359
- "Tony - Professional",
360
- "Tracy - Cheerful",
361
- "Wayne - Natural",
362
- "Wilder - Natural",
363
- "Wille - Natural",
364
- "William - Friendly",
283
+ 'Abbi - Natural',
284
+ 'Adam - Natural',
285
+ 'Aiston - Friendly',
286
+ 'Alice - Newscaster',
287
+ 'Alison - Cheerful',
288
+ 'Amber - Friendly',
289
+ 'Amy - Warm',
290
+ 'Ana - Cheerful',
291
+ 'Antoni - Friendly',
292
+ 'Aria - Newscaster',
293
+ 'Arnold - Cheerful',
294
+ 'Arthur - Natural',
295
+ 'Bella - Friendly',
296
+ 'Belle - Natural',
297
+ 'Brandon - Warm',
298
+ 'Brian - Natural',
299
+ 'Bruce - Natural',
300
+ 'Cerise - Cheerful',
301
+ 'Christopher - Calm',
302
+ 'Clara - Professional',
303
+ 'Connor - Natural',
304
+ 'Dahlia - Friendly',
305
+ 'Davis - Professional',
306
+ 'Dean - Natural',
307
+ 'Delbert - Cheerful',
308
+ 'Edward - Friendly',
309
+ 'Elaine - Calm',
310
+ 'Emily - Natural',
311
+ 'Emma - Newscaster',
312
+ 'Eric - Newscaster',
313
+ 'Grace - Natural',
314
+ 'Hailey - Calm',
315
+ 'Indira - Cheerful',
316
+ 'Isabella - Cheerful',
317
+ 'Jacob - Natural',
318
+ 'Jahmai - Friendly',
319
+ 'Jane - Serious',
320
+ 'Jason - Serious',
321
+ 'Jelle - Friendly',
322
+ 'Jen - Natural',
323
+ 'Jenny - Professional',
324
+ 'Jodi - Cheerful',
325
+ 'Joey - Calm',
326
+ 'Johan - Friendly',
327
+ 'Josie - Cheerful',
328
+ 'Keanan - Natural',
329
+ 'Keith - Cheerful',
330
+ 'Kellie - Friendly',
331
+ 'Lauren - Friendly',
332
+ 'Leah - Natural',
333
+ 'Liam - Professional',
334
+ 'Libby - Natural',
335
+ 'Lily - Professional',
336
+ 'Lucas - Natural',
337
+ 'Luke - Professional',
338
+ 'Luna - Natural',
339
+ 'Marieke - Natural',
340
+ 'Matthew - Professional',
341
+ 'Michelle - Natural',
342
+ 'Mitchell - Natural',
343
+ 'Molly - Newscaster',
344
+ 'Monica - Calm',
345
+ 'Natasha - Professional',
346
+ 'Neerja - Newscaster',
347
+ 'Noah - Serious',
348
+ 'Oliver - Newscaster',
349
+ 'Olivia - Calm',
350
+ 'Paul - Natural',
351
+ 'Prabhat - Natural',
352
+ 'Raveena - Natural',
353
+ 'Rudi - Friendly',
354
+ 'Ryan - Professional',
355
+ 'Sam - Natural',
356
+ 'Sara - Cheerful',
357
+ 'Sherry - Friendly',
358
+ 'Sonia - Warm',
359
+ 'Thomas - Natural',
360
+ 'Todd - Professional',
361
+ 'Tony - Professional',
362
+ 'Tracy - Cheerful',
363
+ 'Wayne - Natural',
364
+ 'Wilder - Natural',
365
+ 'Wille - Natural',
366
+ 'William - Friendly'
365
367
  ]),
366
- avatarStyle: zod_1.z.optional(zod_1.z.enum(["normal", "circle"])),
368
+ avatarStyle: zod_1.z.optional(zod_1.z.enum(['normal', 'circle'])),
367
369
  background: zod_1.z.optional(zod_1.z.string()),
368
- ratio: zod_1.z.optional(zod_1.z.enum(["16:9", "9:16"])),
369
- test: zod_1.z.optional(zod_1.z.boolean()),
370
+ ratio: zod_1.z.optional(zod_1.z.enum(['16:9', '9:16'])),
371
+ test: zod_1.z.optional(zod_1.z.boolean())
370
372
  }).strict();
371
373
  exports.heyGenTextToAvatarOptionsSchema = exports.heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema;
372
374
  /**
@@ -376,28 +378,26 @@ exports.heyGenTextToAvatarOptionsSchema = exports.heygenTextToAvatarOptionsHeyGe
376
378
  * <li><a href="#tocs_heygentexttoavataroptions">HeyGenTextToAvatarOptions</a></li>
377
379
  * </ul>
378
380
  */
379
- exports.heygenGeneratedAssetOptionsHeyGenGeneratedAssetOptionsSchema = zod_1.z
380
- .object({
381
- type: zod_1.z.literal("heygenTextToAvatarOptions_HeyGenTextToAvatarOptions"),
382
- })
383
- .and(exports.heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema);
381
+ exports.heygenGeneratedAssetOptionsHeyGenGeneratedAssetOptionsSchema = zod_1.z.object({
382
+ type: zod_1.z.literal('heygenTextToAvatarOptions_HeyGenTextToAvatarOptions')
383
+ }).strict().and(exports.heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema);
384
384
  exports.heyGenGeneratedAssetOptionsSchema = exports.heygenGeneratedAssetOptionsHeyGenGeneratedAssetOptionsSchema;
385
385
  /**
386
386
  * Generate assets using HeyGen. HeyGen provide a text-to-avatar service. The HeyGen provider works on a bring-your-own-key basis, credentials are required and must be added via the [dashboard](https://dashboard.shotstack.io/integrations/heygen), not in the request.
387
387
  */
388
388
  exports.heygenGeneratedAssetHeyGenGeneratedAssetSchema = zod_1.z.object({
389
- provider: zod_1.z.enum(["heygen"]),
390
- options: exports.heygenGeneratedAssetOptionsHeyGenGeneratedAssetOptionsSchema,
389
+ provider: zod_1.z.enum(['heygen']),
390
+ options: exports.heygenGeneratedAssetOptionsHeyGenGeneratedAssetOptionsSchema
391
391
  }).strict();
392
392
  exports.heyGenGeneratedAssetSchema = exports.heygenGeneratedAssetHeyGenGeneratedAssetSchema;
393
393
  /**
394
394
  * Options for the OpenAI text-generator service. Set a text prompt that will be used to generate a new body of text. The output will be generated as a text (txt) file available at the URL returned in the response.
395
395
  */
396
396
  exports.openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema = zod_1.z.object({
397
- type: zod_1.z.enum(["text-generator"]),
397
+ type: zod_1.z.enum(['text-generator']),
398
398
  prompt: zod_1.z.string(),
399
- model: zod_1.z.enum(["gpt-3.5-turbo", "gpt-4"]),
400
- systemPrompt: zod_1.z.optional(zod_1.z.string()),
399
+ model: zod_1.z.enum(['gpt-3.5-turbo', 'gpt-4']),
400
+ systemPrompt: zod_1.z.optional(zod_1.z.string())
401
401
  }).strict();
402
402
  exports.openAiTextGeneratorOptionsSchema = exports.openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema;
403
403
  /**
@@ -407,18 +407,16 @@ exports.openAiTextGeneratorOptionsSchema = exports.openaiTextGeneratorOptionsOpe
407
407
  * <li><a href="#tocs_openaitextgeneratoroptions">OpenAiTextGeneratorOptions</a></li>
408
408
  * </ul>
409
409
  */
410
- exports.openaiGeneratedAssetOptionsOpenAiGeneratedAssetOptionsSchema = zod_1.z
411
- .object({
412
- type: zod_1.z.literal("openaiTextGeneratorOptions_OpenAiTextGeneratorOptions"),
413
- })
414
- .and(exports.openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema);
410
+ exports.openaiGeneratedAssetOptionsOpenAiGeneratedAssetOptionsSchema = zod_1.z.object({
411
+ type: zod_1.z.literal('openaiTextGeneratorOptions_OpenAiTextGeneratorOptions')
412
+ }).strict().and(exports.openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema);
415
413
  exports.openAiGeneratedAssetOptionsSchema = exports.openaiGeneratedAssetOptionsOpenAiGeneratedAssetOptionsSchema;
416
414
  /**
417
415
  * Generate assets using OpenAI. OpenAI provide a text generation service using ChatGPT 3.5 and 4. The OpenAI provider works on a bring-your-own-key basis, credentials are required and must be added via the [dashboard](https://dashboard.shotstack.io/integrations/openai), not in the request.
418
416
  */
419
417
  exports.openaiGeneratedAssetOpenAiGeneratedAssetSchema = zod_1.z.object({
420
- provider: zod_1.z.enum(["openai"]),
421
- options: exports.openaiGeneratedAssetOptionsOpenAiGeneratedAssetOptionsSchema,
418
+ provider: zod_1.z.enum(['openai']),
419
+ options: exports.openaiGeneratedAssetOptionsOpenAiGeneratedAssetOptionsSchema
422
420
  }).strict();
423
421
  exports.openAiGeneratedAssetSchema = exports.openaiGeneratedAssetOpenAiGeneratedAssetSchema;
424
422
  /**
@@ -427,14 +425,14 @@ exports.openAiGeneratedAssetSchema = exports.openaiGeneratedAssetOpenAiGenerated
427
425
  exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema = zod_1.z.object({
428
426
  status: zod_1.z.string(),
429
427
  title: zod_1.z.string(),
430
- detail: zod_1.z.string(),
428
+ detail: zod_1.z.string()
431
429
  }).strict();
432
430
  exports.generatedAssetErrorResponseDataSchema = exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema;
433
431
  /**
434
432
  * Error response data for validation and other errors returned by the Create API.
435
433
  */
436
434
  exports.generatedAssetErrorResponseGeneratedAssetErrorResponseSchema = zod_1.z.object({
437
- errors: zod_1.z.array(exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema),
435
+ errors: zod_1.z.array(exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema)
438
436
  }).strict();
439
437
  exports.generatedAssetErrorResponseSchema = exports.generatedAssetErrorResponseGeneratedAssetErrorResponseSchema;
440
438
  /**
@@ -442,12 +440,23 @@ exports.generatedAssetErrorResponseSchema = exports.generatedAssetErrorResponseG
442
440
  */
443
441
  exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema = zod_1.z.object({
444
442
  owner: zod_1.z.string(),
445
- provider: zod_1.z.enum(["shotstack", "elevenlabs", "heygen", "d-id"]),
446
- type: zod_1.z.enum(["text-to-speech", "text-to-avatar"]),
443
+ provider: zod_1.z.enum([
444
+ 'shotstack',
445
+ 'elevenlabs',
446
+ 'heygen',
447
+ 'd-id'
448
+ ]),
449
+ type: zod_1.z.enum(['text-to-speech', 'text-to-avatar']),
447
450
  url: zod_1.z.optional(zod_1.z.string()),
448
- status: zod_1.z.enum(["queued", "processing", "saving", "done", "failed"]),
451
+ status: zod_1.z.enum([
452
+ 'queued',
453
+ 'processing',
454
+ 'saving',
455
+ 'done',
456
+ 'failed'
457
+ ]),
449
458
  created: zod_1.z.string(),
450
- updated: zod_1.z.string(),
459
+ updated: zod_1.z.string()
451
460
  }).strict();
452
461
  exports.generatedAssetResponseAttributesSchema = exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema;
453
462
  /**
@@ -456,21 +465,21 @@ exports.generatedAssetResponseAttributesSchema = exports.generatedAssetResponseA
456
465
  exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema = zod_1.z.object({
457
466
  type: zod_1.z.string(),
458
467
  id: zod_1.z.string(),
459
- attributes: exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema,
468
+ attributes: exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema
460
469
  }).strict();
461
470
  exports.generatedAssetResponseDataSchema = exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema;
462
471
  /**
463
472
  * The response returned by the Create API [generate asset](#generate-asset) and [get generated asset](#get-generated-asset) requests. Includes status and details of the generated asset. The response follows the [json:api](https://jsonapi.org/) specification.
464
473
  */
465
474
  exports.generatedAssetResponseGeneratedAssetResponseSchema = zod_1.z.object({
466
- data: exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema,
475
+ data: exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema
467
476
  }).strict();
468
477
  exports.generatedAssetResponseSchema = exports.generatedAssetResponseGeneratedAssetResponseSchema;
469
478
  /**
470
479
  * Options for the Shotstack image-to-video service. Set the URL of an image to convert in to a video. The output will be generated as an MP4 file available at the URL returned in the response.
471
480
  */
472
481
  exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema = zod_1.z.object({
473
- type: zod_1.z.enum(["image-to-video"]),
482
+ type: zod_1.z.enum(['image-to-video']),
474
483
  imageUrl: zod_1.z.string(),
475
484
  guidanceScale: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
476
485
  return undefined; if (Array.isArray(v))
@@ -485,22 +494,22 @@ exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema = zod_1.z
485
494
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
486
495
  return v;
487
496
  return Number(v);
488
- } return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(127),
497
+ } return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(127)
489
498
  }).strict();
490
499
  exports.shotstackImageToVideoOptionsSchema = exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema;
491
500
  /**
492
501
  * Options for the Shotstack text-generator service. Set a text prompt that will be used to generate a new body of text. The output will be generated as a text (txt) file available at the URL returned in the response.
493
502
  */
494
503
  exports.shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema = zod_1.z.object({
495
- type: zod_1.z.enum(["text-generator"]),
496
- prompt: zod_1.z.string(),
504
+ type: zod_1.z.enum(['text-generator']),
505
+ prompt: zod_1.z.string()
497
506
  }).strict();
498
507
  exports.shotstackTextGeneratorOptionsSchema = exports.shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema;
499
508
  /**
500
509
  * Options for the Shotstack text-to-image service. Set a text prompt to generate an image from. The output will be generated as a PNG file available at the URL returned in the response.
501
510
  */
502
511
  exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema = zod_1.z.object({
503
- type: zod_1.z.enum(["text-to-image"]),
512
+ type: zod_1.z.enum(['text-to-image']),
504
513
  prompt: zod_1.z.string(),
505
514
  width: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
506
515
  return undefined; if (Array.isArray(v))
@@ -515,154 +524,146 @@ exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema = zod_1.z.o
515
524
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
516
525
  return v;
517
526
  return Number(v);
518
- } return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
527
+ } return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
519
528
  }).strict();
520
529
  exports.shotstackTextToImageOptionsSchema = exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema;
521
530
  /**
522
531
  * Options for the Shotstack text-to-speech service. Set the text to be converted to speech and choose a voice to set the speaking style. The output will be generated as an MP3 audio file available at the URL returned in the response.
523
532
  */
524
533
  exports.shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema = zod_1.z.object({
525
- type: zod_1.z.enum(["text-to-speech"]),
534
+ type: zod_1.z.enum(['text-to-speech']),
526
535
  text: zod_1.z.string(),
527
536
  voice: zod_1.z.enum([
528
- "Hala",
529
- "Lisa",
530
- "Arlet",
531
- "Hiujin",
532
- "Zhiyu",
533
- "Sofie",
534
- "Laura",
535
- "Olivia",
536
- "Amy",
537
- "Emma",
538
- "Brian",
539
- "Arthur",
540
- "Kajal",
541
- "Niamh",
542
- "Aria",
543
- "Ayanda",
544
- "Ivy",
545
- "Joanna",
546
- "Kendra",
547
- "Kimberly",
548
- "Salli",
549
- "Joey",
550
- "Justin",
551
- "Kevin",
552
- "Matthew",
553
- "Ruth",
554
- "Stephen",
555
- "Suvi",
556
- "Léa",
557
- "Rémi",
558
- "Gabrielle",
559
- "Liam",
560
- "Vicki",
561
- "Daniel",
562
- "Hannah",
563
- "Kajal",
564
- "Bianca",
565
- "Adriano",
566
- "Takumi",
567
- "Kazuha",
568
- "Tomoko",
569
- "Seoyeon",
570
- "Ida",
571
- "Ola",
572
- "Camila",
573
- "Vitória",
574
- "Vitoria",
575
- "Thiago",
576
- "Inês",
577
- "Ines",
578
- "Lucia",
579
- "Sergio",
580
- "Mia",
581
- "Andrés",
582
- "Lupe",
583
- "Pedro",
584
- "Elin",
537
+ 'Hala',
538
+ 'Lisa',
539
+ 'Arlet',
540
+ 'Hiujin',
541
+ 'Zhiyu',
542
+ 'Sofie',
543
+ 'Laura',
544
+ 'Olivia',
545
+ 'Amy',
546
+ 'Emma',
547
+ 'Brian',
548
+ 'Arthur',
549
+ 'Kajal',
550
+ 'Niamh',
551
+ 'Aria',
552
+ 'Ayanda',
553
+ 'Ivy',
554
+ 'Joanna',
555
+ 'Kendra',
556
+ 'Kimberly',
557
+ 'Salli',
558
+ 'Joey',
559
+ 'Justin',
560
+ 'Kevin',
561
+ 'Matthew',
562
+ 'Ruth',
563
+ 'Stephen',
564
+ 'Suvi',
565
+ 'Léa',
566
+ 'Rémi',
567
+ 'Gabrielle',
568
+ 'Liam',
569
+ 'Vicki',
570
+ 'Daniel',
571
+ 'Hannah',
572
+ 'Kajal',
573
+ 'Bianca',
574
+ 'Adriano',
575
+ 'Takumi',
576
+ 'Kazuha',
577
+ 'Tomoko',
578
+ 'Seoyeon',
579
+ 'Ida',
580
+ 'Ola',
581
+ 'Camila',
582
+ 'Vitória',
583
+ 'Vitoria',
584
+ 'Thiago',
585
+ 'Inês',
586
+ 'Ines',
587
+ 'Lucia',
588
+ 'Sergio',
589
+ 'Mia',
590
+ 'Andrés',
591
+ 'Lupe',
592
+ 'Pedro',
593
+ 'Elin'
585
594
  ]),
586
595
  language: zod_1.z.optional(zod_1.z.enum([
587
- "cmn-CN",
588
- "da-DK",
589
- "de-DE",
590
- "en-AU",
591
- "en-GB",
592
- "en-IN",
593
- "en-US",
594
- "es-ES",
595
- "es-MX",
596
- "es-US",
597
- "fr-CA",
598
- "fr-FR",
599
- "it-IT",
600
- "ja-JP",
601
- "hi-IN",
602
- "ko-KR",
603
- "nb-NO",
604
- "nl-NL",
605
- "pl-PL",
606
- "pt-BR",
607
- "pt-PT",
608
- "sv-SE",
609
- "en-NZ",
610
- "en-ZA",
611
- "ca-ES",
612
- "de-AT",
613
- "yue-CN",
614
- "ar-AE",
615
- "fi-FI",
596
+ 'cmn-CN',
597
+ 'da-DK',
598
+ 'de-DE',
599
+ 'en-AU',
600
+ 'en-GB',
601
+ 'en-IN',
602
+ 'en-US',
603
+ 'es-ES',
604
+ 'es-MX',
605
+ 'es-US',
606
+ 'fr-CA',
607
+ 'fr-FR',
608
+ 'it-IT',
609
+ 'ja-JP',
610
+ 'hi-IN',
611
+ 'ko-KR',
612
+ 'nb-NO',
613
+ 'nl-NL',
614
+ 'pl-PL',
615
+ 'pt-BR',
616
+ 'pt-PT',
617
+ 'sv-SE',
618
+ 'en-NZ',
619
+ 'en-ZA',
620
+ 'ca-ES',
621
+ 'de-AT',
622
+ 'yue-CN',
623
+ 'ar-AE',
624
+ 'fi-FI'
616
625
  ])),
617
- newscaster: zod_1.z.optional(zod_1.z.boolean()).default(false),
626
+ newscaster: zod_1.z.optional(zod_1.z.boolean()).default(false)
618
627
  }).strict();
619
628
  exports.shotstackTextToSpeechOptionsSchema = exports.shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema;
620
629
  /**
621
630
  * Generate assets using the native Shotstack provider AI services.
622
631
  */
623
632
  exports.shotstackGeneratedAssetOptionsShotstackGeneratedAssetOptionsSchema = zod_1.z.union([
624
- zod_1.z
625
- .object({
626
- type: zod_1.z.literal("shotstackTextToSpeechOptions_ShotstackTextToSpeechOptions"),
627
- })
628
- .and(exports.shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema),
629
- zod_1.z
630
- .object({
631
- type: zod_1.z.literal("shotstackTextToImageOptions_ShotstackTextToImageOptions"),
632
- })
633
- .and(exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema),
634
- zod_1.z
635
- .object({
636
- type: zod_1.z.literal("shotstackTextGeneratorOptions_ShotstackTextGeneratorOptions"),
637
- })
638
- .and(exports.shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema),
639
- zod_1.z
640
- .object({
641
- type: zod_1.z.literal("shotstackImageToVideoOptions_ShotstackImageToVideoOptions"),
642
- })
643
- .and(exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema),
633
+ zod_1.z.object({
634
+ type: zod_1.z.literal('shotstackTextToSpeechOptions_ShotstackTextToSpeechOptions')
635
+ }).strict().and(exports.shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema),
636
+ zod_1.z.object({
637
+ type: zod_1.z.literal('shotstackTextToImageOptions_ShotstackTextToImageOptions')
638
+ }).strict().and(exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema),
639
+ zod_1.z.object({
640
+ type: zod_1.z.literal('shotstackTextGeneratorOptions_ShotstackTextGeneratorOptions')
641
+ }).strict().and(exports.shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema),
642
+ zod_1.z.object({
643
+ type: zod_1.z.literal('shotstackImageToVideoOptions_ShotstackImageToVideoOptions')
644
+ }).strict().and(exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema)
644
645
  ]);
645
646
  exports.shotstackGeneratedAssetOptionsSchema = exports.shotstackGeneratedAssetOptionsShotstackGeneratedAssetOptionsSchema;
646
647
  /**
647
648
  * Generate assets using the native Shotstack provider. Shotstack provides a text-to-speech and a text-to-image service. The Shotstack provider works natively with your existing API key, no additional credentials are required.
648
649
  */
649
650
  exports.shotstackGeneratedAssetShotstackGeneratedAssetSchema = zod_1.z.object({
650
- provider: zod_1.z.enum(["shotstack"]),
651
- options: exports.shotstackGeneratedAssetOptionsShotstackGeneratedAssetOptionsSchema,
651
+ provider: zod_1.z.enum(['shotstack']),
652
+ options: exports.shotstackGeneratedAssetOptionsShotstackGeneratedAssetOptionsSchema
652
653
  }).strict();
653
654
  exports.shotstackGeneratedAssetSchema = exports.shotstackGeneratedAssetShotstackGeneratedAssetSchema;
654
655
  /**
655
656
  * Options for the Stability AI text-to-image service. Set a text prompt to generate an image from plus other engine and configuration options. The output will be generated as a JPG file available at the URL returned in the response.
656
657
  */
657
658
  exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema = zod_1.z.object({
658
- type: zod_1.z.enum(["text-to-image"]),
659
+ type: zod_1.z.enum(['text-to-image']),
659
660
  prompt: zod_1.z.string(),
660
661
  engine: zod_1.z.optional(zod_1.z.enum([
661
- "stable-diffusion-xl-1024-v0-9",
662
- "stable-diffusion-xl-1024-v1-0",
663
- "stable-diffusion-v1-6",
664
- "stable-diffusion-512-v2-1",
665
- "stable-diffusion-xl-beta-v2-2-2",
662
+ 'stable-diffusion-xl-1024-v0-9',
663
+ 'stable-diffusion-xl-1024-v1-0',
664
+ 'stable-diffusion-v1-6',
665
+ 'stable-diffusion-512-v2-1',
666
+ 'stable-diffusion-xl-beta-v2-2-2'
666
667
  ])),
667
668
  width: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
668
669
  return undefined; if (Array.isArray(v))
@@ -700,24 +701,24 @@ exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema = zod_1
700
701
  return Number(v);
701
702
  } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(7),
702
703
  stylePreset: zod_1.z.optional(zod_1.z.enum([
703
- "3d-model",
704
- "analog-film",
705
- "anime",
706
- "cinematic",
707
- "comic-book",
708
- "digital-art",
709
- "enhance",
710
- "fantasy-art",
711
- "isometric",
712
- "line-art",
713
- "low-poly",
714
- "modeling-compound",
715
- "neon-punk",
716
- "origami",
717
- "photographic",
718
- "pixel-art",
719
- "tile-texture",
720
- ])),
704
+ '3d-model',
705
+ 'analog-film',
706
+ 'anime',
707
+ 'cinematic',
708
+ 'comic-book',
709
+ 'digital-art',
710
+ 'enhance',
711
+ 'fantasy-art',
712
+ 'isometric',
713
+ 'line-art',
714
+ 'low-poly',
715
+ 'modeling-compound',
716
+ 'neon-punk',
717
+ 'origami',
718
+ 'photographic',
719
+ 'pixel-art',
720
+ 'tile-texture'
721
+ ]))
721
722
  }).strict();
722
723
  exports.stabilityAiTextToImageOptionsSchema = exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema;
723
724
  /**
@@ -727,54 +728,40 @@ exports.stabilityAiTextToImageOptionsSchema = exports.stabilityAiTextToImageOpti
727
728
  * <li><a href="#tocs_stabilityaitexttoimageoptions">StabilityAiTextToImageOptions</a></li>
728
729
  * </ul>
729
730
  */
730
- exports.stabilityAiGeneratedAssetOptionsStabilityAiGeneratedAssetOptionsSchema = zod_1.z
731
- .object({
732
- type: zod_1.z.literal("stabilityAiTextToImageOptions_StabilityAiTextToImageOptions"),
733
- })
734
- .and(exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema);
731
+ exports.stabilityAiGeneratedAssetOptionsStabilityAiGeneratedAssetOptionsSchema = zod_1.z.object({
732
+ type: zod_1.z.literal('stabilityAiTextToImageOptions_StabilityAiTextToImageOptions')
733
+ }).strict().and(exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema);
735
734
  exports.stabilityAiGeneratedAssetOptionsSchema = exports.stabilityAiGeneratedAssetOptionsStabilityAiGeneratedAssetOptionsSchema;
736
735
  /**
737
736
  * Generate assets using Stability AI. Stability AI provide a text-to-image service using Stable Diffusion. The Stability AI provider works on a bring-your-own-key basis, credentials are required and must be added via the [dashboard](https://dashboard.shotstack.io/integrations/stability-ai), not in the request.
738
737
  */
739
738
  exports.stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema = zod_1.z.object({
740
- provider: zod_1.z.enum(["stability-ai"]),
741
- options: exports.stabilityAiGeneratedAssetOptionsStabilityAiGeneratedAssetOptionsSchema,
739
+ provider: zod_1.z.enum(['stability-ai']),
740
+ options: exports.stabilityAiGeneratedAssetOptionsStabilityAiGeneratedAssetOptionsSchema
742
741
  }).strict();
743
742
  exports.stabilityAiGeneratedAssetSchema = exports.stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema;
744
743
  /**
745
744
  * A generated asset is a media asset created by the Create API. You can use native or third party providers to generate video, audio and image files using Generative AI services like text-to-speech and text-to-avatar.
746
745
  */
747
746
  exports.generatedAssetGeneratedAssetSchema = zod_1.z.union([
748
- zod_1.z
749
- .object({
750
- provider: zod_1.z.literal("shotstackGeneratedAsset_ShotstackGeneratedAsset"),
751
- })
752
- .and(exports.shotstackGeneratedAssetShotstackGeneratedAssetSchema),
753
- zod_1.z
754
- .object({
755
- provider: zod_1.z.literal("didGeneratedAsset_DIDGeneratedAsset"),
756
- })
757
- .and(exports.didGeneratedAssetDidGeneratedAssetSchema),
758
- zod_1.z
759
- .object({
760
- provider: zod_1.z.literal("elevenlabsGeneratedAsset_ElevenLabsGeneratedAsset"),
761
- })
762
- .and(exports.elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema),
763
- zod_1.z
764
- .object({
765
- provider: zod_1.z.literal("heygenGeneratedAsset_HeyGenGeneratedAsset"),
766
- })
767
- .and(exports.heygenGeneratedAssetHeyGenGeneratedAssetSchema),
768
- zod_1.z
769
- .object({
770
- provider: zod_1.z.literal("openaiGeneratedAsset_OpenAiGeneratedAsset"),
771
- })
772
- .and(exports.openaiGeneratedAssetOpenAiGeneratedAssetSchema),
773
- zod_1.z
774
- .object({
775
- provider: zod_1.z.literal("stabilityAiGeneratedAsset_StabilityAiGeneratedAsset"),
776
- })
777
- .and(exports.stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema),
747
+ zod_1.z.object({
748
+ provider: zod_1.z.literal('shotstackGeneratedAsset_ShotstackGeneratedAsset')
749
+ }).strict().and(exports.shotstackGeneratedAssetShotstackGeneratedAssetSchema),
750
+ zod_1.z.object({
751
+ provider: zod_1.z.literal('didGeneratedAsset_DIDGeneratedAsset')
752
+ }).strict().and(exports.didGeneratedAssetDidGeneratedAssetSchema),
753
+ zod_1.z.object({
754
+ provider: zod_1.z.literal('elevenlabsGeneratedAsset_ElevenLabsGeneratedAsset')
755
+ }).strict().and(exports.elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema),
756
+ zod_1.z.object({
757
+ provider: zod_1.z.literal('heygenGeneratedAsset_HeyGenGeneratedAsset')
758
+ }).strict().and(exports.heygenGeneratedAssetHeyGenGeneratedAssetSchema),
759
+ zod_1.z.object({
760
+ provider: zod_1.z.literal('openaiGeneratedAsset_OpenAiGeneratedAsset')
761
+ }).strict().and(exports.openaiGeneratedAssetOpenAiGeneratedAssetSchema),
762
+ zod_1.z.object({
763
+ provider: zod_1.z.literal('stabilityAiGeneratedAsset_StabilityAiGeneratedAsset')
764
+ }).strict().and(exports.stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema)
778
765
  ]);
779
766
  exports.generatedAssetSchema = exports.generatedAssetGeneratedAssetSchema;
780
767
  /**
@@ -808,7 +795,7 @@ exports.cropCropSchema = zod_1.z.object({
808
795
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
809
796
  return v;
810
797
  return Number(v);
811
- } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
798
+ } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
812
799
  }).strict();
813
800
  exports.cropSchema = exports.cropCropSchema;
814
801
  /**
@@ -818,14 +805,14 @@ exports.akamaiNetStorageDestinationOptionsAkamaiNetStorageDestinationOptionsSche
818
805
  host: zod_1.z.string(),
819
806
  cpCode: zod_1.z.string(),
820
807
  path: zod_1.z.optional(zod_1.z.unknown()),
821
- filename: zod_1.z.optional(zod_1.z.unknown()),
808
+ filename: zod_1.z.optional(zod_1.z.unknown())
822
809
  }).strict();
823
810
  /**
824
811
  * Send videos and assets to [Akamai NetStorage](https://techdocs.akamai.com/netstorage-usage/docs). Send files to your NetStorage upload directory with a custom path and filename. Akamai credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/akamai-netstorage), not in the request.
825
812
  */
826
813
  exports.akamaiNetStorageDestinationAkamaiNetStorageDestinationSchema = zod_1.z.object({
827
814
  provider: zod_1.z.literal("akamai-netstorage"),
828
- options: zod_1.z.optional(exports.akamaiNetStorageDestinationOptionsAkamaiNetStorageDestinationOptionsSchema),
815
+ options: zod_1.z.optional(exports.akamaiNetStorageDestinationOptionsAkamaiNetStorageDestinationOptionsSchema)
829
816
  }).strict();
830
817
  /**
831
818
  * Pass additional options to control how files are stored in Azure Blob Storage.
@@ -834,14 +821,14 @@ exports.azureBlobStorageDestinationOptionsAzureBlobStorageDestinationOptionsSche
834
821
  accountName: zod_1.z.string(),
835
822
  container: zod_1.z.string(),
836
823
  prefix: zod_1.z.optional(zod_1.z.unknown()),
837
- filename: zod_1.z.optional(zod_1.z.unknown()),
824
+ filename: zod_1.z.optional(zod_1.z.unknown())
838
825
  }).strict();
839
826
  /**
840
827
  * Send videos and assets to [Azure Blob Storage](https://learn.microsoft.com/en-us/azure/storage/blobs/). Send files to any container with a custom prefix and filename. Azure credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/azure-blob-storage), not in the request.
841
828
  */
842
829
  exports.azureBlobStorageDestinationAzureBlobStorageDestinationSchema = zod_1.z.object({
843
830
  provider: zod_1.z.literal("azure-blob-storage"),
844
- options: zod_1.z.optional(exports.azureBlobStorageDestinationOptionsAzureBlobStorageDestinationOptionsSchema),
831
+ options: zod_1.z.optional(exports.azureBlobStorageDestinationOptionsAzureBlobStorageDestinationOptionsSchema)
845
832
  }).strict();
846
833
  /**
847
834
  * Pass additional options to control how files are stored in Google Cloud Storage.
@@ -849,7 +836,7 @@ exports.azureBlobStorageDestinationAzureBlobStorageDestinationSchema = zod_1.z.o
849
836
  exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema = zod_1.z.object({
850
837
  bucket: zod_1.z.string(),
851
838
  prefix: zod_1.z.optional(zod_1.z.string()),
852
- filename: zod_1.z.optional(zod_1.z.string()),
839
+ filename: zod_1.z.optional(zod_1.z.string())
853
840
  }).strict();
854
841
  exports.googleCloudStorageDestinationOptionsSchema = exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema;
855
842
  /**
@@ -857,7 +844,7 @@ exports.googleCloudStorageDestinationOptionsSchema = exports.googleCloudStorageD
857
844
  */
858
845
  exports.googleCloudStorageDestinationGoogleCloudStorageDestinationSchema = zod_1.z.object({
859
846
  provider: zod_1.z.literal("google-cloud-storage"),
860
- options: zod_1.z.optional(exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema),
847
+ options: zod_1.z.optional(exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema)
861
848
  }).strict();
862
849
  exports.googleCloudStorageDestinationSchema = exports.googleCloudStorageDestinationGoogleCloudStorageDestinationSchema;
863
850
  /**
@@ -865,7 +852,7 @@ exports.googleCloudStorageDestinationSchema = exports.googleCloudStorageDestinat
865
852
  */
866
853
  exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema = zod_1.z.object({
867
854
  folderId: zod_1.z.string(),
868
- filename: zod_1.z.optional(zod_1.z.string()),
855
+ filename: zod_1.z.optional(zod_1.z.string())
869
856
  }).strict();
870
857
  exports.googleDriveDestinationOptionsSchema = exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema;
871
858
  /**
@@ -873,15 +860,15 @@ exports.googleDriveDestinationOptionsSchema = exports.googleDriveDestinationOpti
873
860
  */
874
861
  exports.googleDriveDestinationGoogleDriveDestinationSchema = zod_1.z.object({
875
862
  provider: zod_1.z.literal("google-drive"),
876
- options: exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema,
863
+ options: exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema
877
864
  }).strict();
878
865
  exports.googleDriveDestinationSchema = exports.googleDriveDestinationGoogleDriveDestinationSchema;
879
866
  /**
880
867
  * Pass additional options to control how Mux processes video. Currently supports playback_policy and passthrough options.
881
868
  */
882
869
  exports.muxDestinationOptionsMuxDestinationOptionsSchema = zod_1.z.object({
883
- playbackPolicy: zod_1.z.optional(zod_1.z.array(zod_1.z.enum(["public", "signed"]))),
884
- passthrough: zod_1.z.optional(zod_1.z.string().max(255)),
870
+ playbackPolicy: zod_1.z.optional(zod_1.z.array(zod_1.z.enum(['public', 'signed']))),
871
+ passthrough: zod_1.z.optional(zod_1.z.string().max(255))
885
872
  }).strict();
886
873
  exports.muxDestinationOptionsSchema = exports.muxDestinationOptionsMuxDestinationOptionsSchema;
887
874
  /**
@@ -889,7 +876,7 @@ exports.muxDestinationOptionsSchema = exports.muxDestinationOptionsMuxDestinatio
889
876
  */
890
877
  exports.muxDestinationMuxDestinationSchema = zod_1.z.object({
891
878
  provider: zod_1.z.literal("mux"),
892
- options: zod_1.z.optional(exports.muxDestinationOptionsMuxDestinationOptionsSchema),
879
+ options: zod_1.z.optional(exports.muxDestinationOptionsMuxDestinationOptionsSchema)
893
880
  }).strict();
894
881
  exports.muxDestinationSchema = exports.muxDestinationMuxDestinationSchema;
895
882
  /**
@@ -900,7 +887,7 @@ exports.s3DestinationOptionsS3DestinationOptionsSchema = zod_1.z.object({
900
887
  bucket: zod_1.z.string(),
901
888
  prefix: zod_1.z.optional(zod_1.z.string()),
902
889
  filename: zod_1.z.optional(zod_1.z.string()),
903
- acl: zod_1.z.optional(zod_1.z.string()),
890
+ acl: zod_1.z.optional(zod_1.z.string())
904
891
  }).strict();
905
892
  exports.s3DestinationOptionsSchema = exports.s3DestinationOptionsS3DestinationOptionsSchema;
906
893
  /**
@@ -908,7 +895,7 @@ exports.s3DestinationOptionsSchema = exports.s3DestinationOptionsS3DestinationOp
908
895
  */
909
896
  exports.s3DestinationS3DestinationSchema = zod_1.z.object({
910
897
  provider: zod_1.z.literal("s3"),
911
- options: zod_1.z.optional(exports.s3DestinationOptionsS3DestinationOptionsSchema),
898
+ options: zod_1.z.optional(exports.s3DestinationOptionsS3DestinationOptionsSchema)
912
899
  }).strict();
913
900
  exports.s3DestinationSchema = exports.s3DestinationS3DestinationSchema;
914
901
  /**
@@ -916,7 +903,7 @@ exports.s3DestinationSchema = exports.s3DestinationS3DestinationSchema;
916
903
  */
917
904
  exports.shotstackDestinationShotstackDestinationSchema = zod_1.z.object({
918
905
  provider: zod_1.z.literal("shotstack"),
919
- exclude: zod_1.z.optional(zod_1.z.boolean()),
906
+ exclude: zod_1.z.optional(zod_1.z.boolean())
920
907
  }).strict();
921
908
  exports.shotstackDestinationSchema = exports.shotstackDestinationShotstackDestinationSchema;
922
909
  /**
@@ -924,27 +911,45 @@ exports.shotstackDestinationSchema = exports.shotstackDestinationShotstackDestin
924
911
  */
925
912
  exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema = zod_1.z.object({
926
913
  title: zod_1.z.optional(zod_1.z.string().max(150)),
927
- privacyLevel: zod_1.z.optional(zod_1.z.enum(["public", "friends", "private"])),
914
+ privacyLevel: zod_1.z.optional(zod_1.z.enum([
915
+ 'public',
916
+ 'friends',
917
+ 'private'
918
+ ])),
928
919
  disableDuet: zod_1.z.optional(zod_1.z.boolean()).default(false),
929
920
  disableStitch: zod_1.z.optional(zod_1.z.boolean()).default(false),
930
- disableComment: zod_1.z.optional(zod_1.z.boolean()).default(false),
921
+ disableComment: zod_1.z.optional(zod_1.z.boolean()).default(false)
931
922
  }).strict();
932
923
  /**
933
924
  * Send videos to TikTok. TikTok credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/tiktok), not in the request.
934
925
  */
935
926
  exports.tiktokDestinationTiktokDestinationSchema = zod_1.z.object({
936
927
  provider: zod_1.z.literal("tiktok"),
937
- options: zod_1.z.optional(exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema),
928
+ options: zod_1.z.optional(exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema)
938
929
  }).strict();
939
930
  /**
940
931
  * Options to control the visibility of videos and privacy features.
941
932
  */
942
933
  exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema = zod_1.z.object({
943
- view: zod_1.z.optional(zod_1.z.enum(["anybody", "nobody", "contacts", "password", "unlisted"])),
944
- embed: zod_1.z.optional(zod_1.z.enum(["public", "private", "whitelist"])),
945
- comments: zod_1.z.optional(zod_1.z.enum(["anybody", "nobody", "contacts"])),
934
+ view: zod_1.z.optional(zod_1.z.enum([
935
+ 'anybody',
936
+ 'nobody',
937
+ 'contacts',
938
+ 'password',
939
+ 'unlisted'
940
+ ])),
941
+ embed: zod_1.z.optional(zod_1.z.enum([
942
+ 'public',
943
+ 'private',
944
+ 'whitelist'
945
+ ])),
946
+ comments: zod_1.z.optional(zod_1.z.enum([
947
+ 'anybody',
948
+ 'nobody',
949
+ 'contacts'
950
+ ])),
946
951
  download: zod_1.z.optional(zod_1.z.boolean()),
947
- add: zod_1.z.optional(zod_1.z.boolean()),
952
+ add: zod_1.z.optional(zod_1.z.boolean())
948
953
  }).strict();
949
954
  exports.vimeoDestinationPrivacyOptionsSchema = exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema;
950
955
  /**
@@ -954,7 +959,7 @@ exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema = zod_1.z.object({
954
959
  name: zod_1.z.optional(zod_1.z.string()),
955
960
  description: zod_1.z.optional(zod_1.z.string()),
956
961
  privacy: zod_1.z.optional(exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema),
957
- folderUri: zod_1.z.optional(zod_1.z.string()),
962
+ folderUri: zod_1.z.optional(zod_1.z.string())
958
963
  }).strict();
959
964
  exports.vimeoDestinationOptionsSchema = exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema;
960
965
  /**
@@ -962,7 +967,7 @@ exports.vimeoDestinationOptionsSchema = exports.vimeoDestinationOptionsVimeoDest
962
967
  */
963
968
  exports.vimeoDestinationVimeoDestinationSchema = zod_1.z.object({
964
969
  provider: zod_1.z.literal("vimeo"),
965
- options: zod_1.z.optional(exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema),
970
+ options: zod_1.z.optional(exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema)
966
971
  }).strict();
967
972
  exports.vimeoDestinationSchema = exports.vimeoDestinationVimeoDestinationSchema;
968
973
  /**
@@ -987,14 +992,14 @@ exports.destinationsSchema = exports.destinationsDestinationsSchema;
987
992
  */
988
993
  exports.fliptransformationFlipTransformationSchema = zod_1.z.object({
989
994
  horizontal: zod_1.z.optional(zod_1.z.boolean()),
990
- vertical: zod_1.z.optional(zod_1.z.boolean()),
995
+ vertical: zod_1.z.optional(zod_1.z.boolean())
991
996
  }).strict();
992
997
  exports.flipTransformationSchema = exports.fliptransformationFlipTransformationSchema;
993
998
  /**
994
999
  * Download a custom font to use with the HTML asset type, using the font name in the CSS or font tag. See our [custom fonts](https://shotstack.io/learn/html-custom-fonts/) getting started guide for more details.
995
1000
  */
996
1001
  exports.fontFontSchema = zod_1.z.object({
997
- src: zod_1.z.string(),
1002
+ src: zod_1.z.string()
998
1003
  }).strict();
999
1004
  exports.fontSchema = exports.fontFontSchema;
1000
1005
  /**
@@ -1008,7 +1013,7 @@ exports.fontSchema = exports.fontFontSchema;
1008
1013
  * @deprecated
1009
1014
  */
1010
1015
  exports.htmlassetHtmlAssetSchema = zod_1.z.object({
1011
- type: zod_1.z.enum(["html"]),
1016
+ type: zod_1.z.enum(['html']),
1012
1017
  html: zod_1.z.string(),
1013
1018
  css: zod_1.z.optional(zod_1.z.string()),
1014
1019
  width: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1027,35 +1032,43 @@ exports.htmlassetHtmlAssetSchema = zod_1.z.object({
1027
1032
  } return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1028
1033
  background: zod_1.z.optional(zod_1.z.string()),
1029
1034
  position: zod_1.z.optional(zod_1.z.enum([
1030
- "top",
1031
- "topRight",
1032
- "right",
1033
- "bottomRight",
1034
- "bottom",
1035
- "bottomLeft",
1036
- "left",
1037
- "topLeft",
1038
- "center",
1039
- ])),
1035
+ 'top',
1036
+ 'topRight',
1037
+ 'right',
1038
+ 'bottomRight',
1039
+ 'bottom',
1040
+ 'bottomLeft',
1041
+ 'left',
1042
+ 'topLeft',
1043
+ 'center'
1044
+ ]))
1040
1045
  }).strict();
1041
1046
  exports.htmlAssetSchema = exports.htmlassetHtmlAssetSchema;
1042
1047
  /**
1043
1048
  * The ImageAsset is used to create video from images to compose an image. The src must be a publicly accessible URL to an image resource such as a jpg or png file.
1044
1049
  */
1045
1050
  exports.imageassetImageAssetSchema = zod_1.z.object({
1046
- type: zod_1.z.enum(["image"]),
1051
+ type: zod_1.z.enum(['image']),
1047
1052
  src: zod_1.z.string().min(1).regex(/\S/),
1048
- crop: zod_1.z.optional(exports.cropCropSchema),
1053
+ crop: zod_1.z.optional(exports.cropCropSchema)
1049
1054
  }).strict();
1050
1055
  exports.imageAssetSchema = exports.imageassetImageAssetSchema;
1051
1056
  /**
1052
1057
  * The ImageToVideoAsset lets you create a video from an image and a text prompt.
1053
1058
  */
1054
1059
  exports.imagetovideoassetImageToVideoAssetSchema = zod_1.z.object({
1055
- type: zod_1.z.enum(["image-to-video"]),
1060
+ type: zod_1.z.enum(['image-to-video']),
1056
1061
  src: zod_1.z.string().min(1),
1057
1062
  prompt: zod_1.z.optional(zod_1.z.string()),
1058
- aspectRatio: zod_1.z.optional(zod_1.z.enum(["1:1", "4:3", "16:9", "9:16", "3:4", "21:9", "9:21"])),
1063
+ aspectRatio: zod_1.z.optional(zod_1.z.enum([
1064
+ '1:1',
1065
+ '4:3',
1066
+ '16:9',
1067
+ '9:16',
1068
+ '3:4',
1069
+ '21:9',
1070
+ '9:21'
1071
+ ])),
1059
1072
  speed: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1060
1073
  return undefined; if (Array.isArray(v))
1061
1074
  return v; if (typeof v === 'string') {
@@ -1063,7 +1076,7 @@ exports.imagetovideoassetImageToVideoAssetSchema = zod_1.z.object({
1063
1076
  return v;
1064
1077
  return Number(v);
1065
1078
  } return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1066
- crop: zod_1.z.optional(exports.cropCropSchema),
1079
+ crop: zod_1.z.optional(exports.cropCropSchema)
1067
1080
  }).strict();
1068
1081
  exports.imageToVideoAssetSchema = exports.imagetovideoassetImageToVideoAssetSchema;
1069
1082
  /**
@@ -1071,24 +1084,24 @@ exports.imageToVideoAssetSchema = exports.imagetovideoassetImageToVideoAssetSche
1071
1084
  */
1072
1085
  exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema = zod_1.z.object({
1073
1086
  preset: zod_1.z.enum([
1074
- "conference",
1075
- "interview",
1076
- "lecture",
1077
- "meeting",
1078
- "mobile_phone",
1079
- "music",
1080
- "podcast",
1081
- "studio",
1082
- "voice_over",
1083
- ]),
1087
+ 'conference',
1088
+ 'interview',
1089
+ 'lecture',
1090
+ 'meeting',
1091
+ 'mobile_phone',
1092
+ 'music',
1093
+ 'podcast',
1094
+ 'studio',
1095
+ 'voice_over'
1096
+ ])
1084
1097
  }).strict();
1085
1098
  exports.dolbyEnhancementOptionsSchema = exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema;
1086
1099
  /**
1087
1100
  * Dolby.io audio enhancement provider. Credentials are required and must be added via the [dashboard](https://dashboard.shotstack.io/integrations/dolby), not in the request.
1088
1101
  */
1089
1102
  exports.dolbyEnhancementDolbyEnhancementSchema = zod_1.z.object({
1090
- provider: zod_1.z.string().default("dolby"),
1091
- options: exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema,
1103
+ provider: zod_1.z.string().default('dolby'),
1104
+ options: exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema
1092
1105
  }).strict();
1093
1106
  exports.dolbyEnhancementSchema = exports.dolbyEnhancementDolbyEnhancementSchema;
1094
1107
  /**
@@ -1097,17 +1110,15 @@ exports.dolbyEnhancementSchema = exports.dolbyEnhancementDolbyEnhancementSchema;
1097
1110
  * <li><a href="#tocs_dolbyenhancement">DolbyEnhancement</a></li>
1098
1111
  * </ul>
1099
1112
  */
1100
- exports.audioEnhancementAudioEnhancementSchema = zod_1.z
1101
- .object({
1102
- enhancement: zod_1.z.literal("dolbyEnhancement_DolbyEnhancement"),
1103
- })
1104
- .and(exports.dolbyEnhancementDolbyEnhancementSchema);
1113
+ exports.audioEnhancementAudioEnhancementSchema = zod_1.z.object({
1114
+ enhancement: zod_1.z.literal('dolbyEnhancement_DolbyEnhancement')
1115
+ }).strict().and(exports.dolbyEnhancementDolbyEnhancementSchema);
1105
1116
  exports.audioEnhancementSchema = exports.audioEnhancementAudioEnhancementSchema;
1106
1117
  /**
1107
1118
  * Enhancements that can be applied to a rendition. Currently only supports the Dolby audio enhancement.
1108
1119
  */
1109
1120
  exports.enhancementsEnhancementsSchema = zod_1.z.object({
1110
- audio: zod_1.z.optional(exports.audioEnhancementAudioEnhancementSchema),
1121
+ audio: zod_1.z.optional(exports.audioEnhancementAudioEnhancementSchema)
1111
1122
  }).strict();
1112
1123
  exports.enhancementsSchema = exports.enhancementsEnhancementsSchema;
1113
1124
  /**
@@ -1116,14 +1127,14 @@ exports.enhancementsSchema = exports.enhancementsEnhancementsSchema;
1116
1127
  exports.ingesterrorresponsedataIngestErrorResponseDataSchema = zod_1.z.object({
1117
1128
  status: zod_1.z.string(),
1118
1129
  title: zod_1.z.string(),
1119
- detail: zod_1.z.string(),
1130
+ detail: zod_1.z.string()
1120
1131
  }).strict();
1121
1132
  exports.ingestErrorResponseDataSchema = exports.ingesterrorresponsedataIngestErrorResponseDataSchema;
1122
1133
  /**
1123
1134
  * Error response data for validation and other errors returned by the Ingest API.
1124
1135
  */
1125
1136
  exports.ingesterrorresponseIngestErrorResponseSchema = zod_1.z.object({
1126
- errors: zod_1.z.array(exports.ingesterrorresponsedataIngestErrorResponseDataSchema),
1137
+ errors: zod_1.z.array(exports.ingesterrorresponsedataIngestErrorResponseDataSchema)
1127
1138
  }).strict();
1128
1139
  exports.ingestErrorResponseSchema = exports.ingesterrorresponseIngestErrorResponseSchema;
1129
1140
  /**
@@ -1131,14 +1142,14 @@ exports.ingestErrorResponseSchema = exports.ingesterrorresponseIngestErrorRespon
1131
1142
  */
1132
1143
  exports.queuedsourceresponsedataQueuedSourceResponseDataSchema = zod_1.z.object({
1133
1144
  type: zod_1.z.string(),
1134
- id: zod_1.z.string(),
1145
+ id: zod_1.z.string()
1135
1146
  }).strict();
1136
1147
  exports.queuedSourceResponseDataSchema = exports.queuedsourceresponsedataQueuedSourceResponseDataSchema;
1137
1148
  /**
1138
1149
  * The response returned by the Ingest API [fetch source](#fetch-source) request. Includes the id of the source file. The response follows the [json:api](https://jsonapi.org/) specification.
1139
1150
  */
1140
1151
  exports.queuedsourceresponseQueuedSourceResponseSchema = zod_1.z.object({
1141
- data: exports.queuedsourceresponsedataQueuedSourceResponseDataSchema,
1152
+ data: exports.queuedsourceresponsedataQueuedSourceResponseDataSchema
1142
1153
  }).strict();
1143
1154
  exports.queuedSourceResponseSchema = exports.queuedsourceresponseQueuedSourceResponseSchema;
1144
1155
  /**
@@ -1147,7 +1158,7 @@ exports.queuedSourceResponseSchema = exports.queuedsourceresponseQueuedSourceRes
1147
1158
  exports.uploadresponseattributesUploadResponseAttributesSchema = zod_1.z.object({
1148
1159
  id: zod_1.z.string(),
1149
1160
  url: zod_1.z.string(),
1150
- expires: zod_1.z.string(),
1161
+ expires: zod_1.z.string()
1151
1162
  }).strict();
1152
1163
  exports.uploadResponseAttributesSchema = exports.uploadresponseattributesUploadResponseAttributesSchema;
1153
1164
  /**
@@ -1156,14 +1167,14 @@ exports.uploadResponseAttributesSchema = exports.uploadresponseattributesUploadR
1156
1167
  exports.uploadresponsedataUploadResponseDataSchema = zod_1.z.object({
1157
1168
  type: zod_1.z.string(),
1158
1169
  id: zod_1.z.string(),
1159
- attributes: exports.uploadresponseattributesUploadResponseAttributesSchema,
1170
+ attributes: exports.uploadresponseattributesUploadResponseAttributesSchema
1160
1171
  }).strict();
1161
1172
  exports.uploadResponseDataSchema = exports.uploadresponsedataUploadResponseDataSchema;
1162
1173
  /**
1163
1174
  * The response returned by the Ingest API [direct upload](#direct-upload) request. Includes the id of the file and the signed url to send the binary file to. The response follows the [json:api](https://jsonapi.org/) specification.
1164
1175
  */
1165
1176
  exports.uploadresponseUploadResponseSchema = zod_1.z.object({
1166
- data: exports.uploadresponsedataUploadResponseDataSchema,
1177
+ data: exports.uploadresponsedataUploadResponseDataSchema
1167
1178
  }).strict();
1168
1179
  exports.uploadResponseSchema = exports.uploadresponseUploadResponseSchema;
1169
1180
  /**
@@ -1177,21 +1188,21 @@ exports.speedSpeedSchema = zod_1.z.object({
1177
1188
  return v;
1178
1189
  return Number(v);
1179
1190
  } return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1180
- preservePitch: zod_1.z.optional(zod_1.z.boolean()),
1191
+ preservePitch: zod_1.z.optional(zod_1.z.boolean())
1181
1192
  }).strict();
1182
1193
  exports.speedSchema = exports.speedSpeedSchema;
1183
1194
  /**
1184
1195
  * Generate a transcription of the audio in the video. The transcription can be output as a file in SRT or VTT format.
1185
1196
  */
1186
1197
  exports.transcriptionTranscriptionSchema = zod_1.z.object({
1187
- format: zod_1.z.optional(zod_1.z.enum(["srt", "vtt"])),
1198
+ format: zod_1.z.optional(zod_1.z.enum(['srt', 'vtt']))
1188
1199
  }).strict();
1189
1200
  exports.transcriptionSchema = exports.transcriptionTranscriptionSchema;
1190
1201
  /**
1191
1202
  * The LumaAsset is used to create luma matte masks, transitions and effects between other assets. A luma matte is a grey scale image or animated video where the black areas are transparent and the white areas solid. The luma matte animation should be provided as an mp4 video file. The src must be a publicly accessible URL to the file.
1192
1203
  */
1193
1204
  exports.lumaassetLumaAssetSchema = zod_1.z.object({
1194
- type: zod_1.z.enum(["luma"]),
1205
+ type: zod_1.z.enum(['luma']),
1195
1206
  src: zod_1.z.string().min(1).regex(/\S/),
1196
1207
  trim: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1197
1208
  return undefined; if (Array.isArray(v))
@@ -1199,7 +1210,7 @@ exports.lumaassetLumaAssetSchema = zod_1.z.object({
1199
1210
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1200
1211
  return v;
1201
1212
  return Number(v);
1202
- } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1213
+ } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1203
1214
  }).strict();
1204
1215
  exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema;
1205
1216
  /**
@@ -1207,7 +1218,7 @@ exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema;
1207
1218
  */
1208
1219
  exports.mergefieldMergeFieldSchema = zod_1.z.object({
1209
1220
  find: zod_1.z.string(),
1210
- replace: zod_1.z.union([zod_1.z.string(), zod_1.z.number(), zod_1.z.boolean(), zod_1.z.null(), zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()), zod_1.z.array(zod_1.z.unknown())]),
1221
+ replace: zod_1.z.unknown()
1211
1222
  }).strict();
1212
1223
  exports.mergeFieldSchema = exports.mergefieldMergeFieldSchema;
1213
1224
  /**
@@ -1220,7 +1231,7 @@ exports.posterPosterSchema = zod_1.z.object({
1220
1231
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1221
1232
  return v;
1222
1233
  return Number(v);
1223
- } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1234
+ } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1224
1235
  }).strict();
1225
1236
  exports.posterSchema = exports.posterPosterSchema;
1226
1237
  /**
@@ -1240,7 +1251,7 @@ exports.rangeRangeSchema = zod_1.z.object({
1240
1251
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1241
1252
  return v;
1242
1253
  return Number(v);
1243
- } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1254
+ } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1244
1255
  }).strict();
1245
1256
  exports.rangeSchema = exports.rangeRangeSchema;
1246
1257
  /**
@@ -1254,9 +1265,14 @@ exports.assetresponseattributesAssetResponseAttributesSchema = zod_1.z.object({
1254
1265
  providerId: zod_1.z.optional(zod_1.z.string()),
1255
1266
  filename: zod_1.z.optional(zod_1.z.string()),
1256
1267
  url: zod_1.z.optional(zod_1.z.string()),
1257
- status: zod_1.z.enum(["importing", "ready", "failed", "deleted"]),
1268
+ status: zod_1.z.enum([
1269
+ 'importing',
1270
+ 'ready',
1271
+ 'failed',
1272
+ 'deleted'
1273
+ ]),
1258
1274
  created: zod_1.z.optional(zod_1.z.string()),
1259
- updated: zod_1.z.optional(zod_1.z.string()),
1275
+ updated: zod_1.z.optional(zod_1.z.string())
1260
1276
  }).strict();
1261
1277
  exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResponseAttributesSchema;
1262
1278
  /**
@@ -1264,21 +1280,21 @@ exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResp
1264
1280
  */
1265
1281
  exports.assetresponsedataAssetResponseDataSchema = zod_1.z.object({
1266
1282
  type: zod_1.z.string(),
1267
- attributes: exports.assetresponseattributesAssetResponseAttributesSchema,
1283
+ attributes: exports.assetresponseattributesAssetResponseAttributesSchema
1268
1284
  }).strict();
1269
1285
  exports.assetResponseDataSchema = exports.assetresponsedataAssetResponseDataSchema;
1270
1286
  /**
1271
1287
  * The response returned by the Serve API [get asset by render id](#get-asset-by-render-id) request. The response is an array of asset resources, including video, image, audio, thumbnail and poster image. The response follows the [json:api](https://jsonapi.org/) specification.
1272
1288
  */
1273
1289
  exports.assetrenderresponseAssetRenderResponseSchema = zod_1.z.object({
1274
- data: zod_1.z.array(exports.assetresponsedataAssetResponseDataSchema),
1290
+ data: zod_1.z.array(exports.assetresponsedataAssetResponseDataSchema)
1275
1291
  }).strict();
1276
1292
  exports.assetRenderResponseSchema = exports.assetrenderresponseAssetRenderResponseSchema;
1277
1293
  /**
1278
1294
  * The response returned by the Serve API [get asset](#get-asset) request. Includes details of a hosted video, image, audio file, thumbnail or poster image. The response follows the [json:api](https://jsonapi.org/) specification.
1279
1295
  */
1280
1296
  exports.assetresponseAssetResponseSchema = zod_1.z.object({
1281
- data: exports.assetresponsedataAssetResponseDataSchema,
1297
+ data: exports.assetresponsedataAssetResponseDataSchema
1282
1298
  }).strict();
1283
1299
  exports.assetResponseSchema = exports.assetresponseAssetResponseSchema;
1284
1300
  /**
@@ -1287,7 +1303,7 @@ exports.assetResponseSchema = exports.assetresponseAssetResponseSchema;
1287
1303
  exports.proberesponseProbeResponseSchema = zod_1.z.object({
1288
1304
  success: zod_1.z.boolean(),
1289
1305
  message: zod_1.z.string(),
1290
- response: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
1306
+ response: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown())
1291
1307
  }).strict();
1292
1308
  exports.probeResponseSchema = exports.proberesponseProbeResponseSchema;
1293
1309
  /**
@@ -1295,7 +1311,7 @@ exports.probeResponseSchema = exports.proberesponseProbeResponseSchema;
1295
1311
  */
1296
1312
  exports.queuedresponsedataQueuedResponseDataSchema = zod_1.z.object({
1297
1313
  message: zod_1.z.string(),
1298
- id: zod_1.z.string(),
1314
+ id: zod_1.z.string()
1299
1315
  }).strict();
1300
1316
  exports.queuedResponseDataSchema = exports.queuedresponsedataQueuedResponseDataSchema;
1301
1317
  /**
@@ -1304,7 +1320,7 @@ exports.queuedResponseDataSchema = exports.queuedresponsedataQueuedResponseDataS
1304
1320
  exports.queuedresponseQueuedResponseSchema = zod_1.z.object({
1305
1321
  success: zod_1.z.boolean(),
1306
1322
  message: zod_1.z.string(),
1307
- response: exports.queuedresponsedataQueuedResponseDataSchema,
1323
+ response: exports.queuedresponsedataQueuedResponseDataSchema
1308
1324
  }).strict();
1309
1325
  exports.queuedResponseSchema = exports.queuedresponseQueuedResponseSchema;
1310
1326
  /**
@@ -1314,7 +1330,7 @@ exports.templatelistresponseitemTemplateListResponseItemSchema = zod_1.z.object(
1314
1330
  id: zod_1.z.string(),
1315
1331
  name: zod_1.z.string(),
1316
1332
  created: zod_1.z.optional(zod_1.z.string()),
1317
- updated: zod_1.z.optional(zod_1.z.string()),
1333
+ updated: zod_1.z.optional(zod_1.z.string())
1318
1334
  }).strict();
1319
1335
  exports.templateListResponseItemSchema = exports.templatelistresponseitemTemplateListResponseItemSchema;
1320
1336
  /**
@@ -1322,7 +1338,7 @@ exports.templateListResponseItemSchema = exports.templatelistresponseitemTemplat
1322
1338
  */
1323
1339
  exports.templatelistresponsedataTemplateListResponseDataSchema = zod_1.z.object({
1324
1340
  owner: zod_1.z.string(),
1325
- templates: zod_1.z.array(exports.templatelistresponseitemTemplateListResponseItemSchema),
1341
+ templates: zod_1.z.array(exports.templatelistresponseitemTemplateListResponseItemSchema)
1326
1342
  }).strict();
1327
1343
  exports.templateListResponseDataSchema = exports.templatelistresponsedataTemplateListResponseDataSchema;
1328
1344
  /**
@@ -1331,7 +1347,7 @@ exports.templateListResponseDataSchema = exports.templatelistresponsedataTemplat
1331
1347
  exports.templatelistresponseTemplateListResponseSchema = zod_1.z.object({
1332
1348
  success: zod_1.z.boolean(),
1333
1349
  message: zod_1.z.string(),
1334
- response: exports.templatelistresponsedataTemplateListResponseDataSchema,
1350
+ response: exports.templatelistresponsedataTemplateListResponseDataSchema
1335
1351
  }).strict();
1336
1352
  exports.templateListResponseSchema = exports.templatelistresponseTemplateListResponseSchema;
1337
1353
  /**
@@ -1339,7 +1355,7 @@ exports.templateListResponseSchema = exports.templatelistresponseTemplateListRes
1339
1355
  */
1340
1356
  exports.templateresponsedataTemplateResponseDataSchema = zod_1.z.object({
1341
1357
  message: zod_1.z.string(),
1342
- id: zod_1.z.string(),
1358
+ id: zod_1.z.string()
1343
1359
  }).strict();
1344
1360
  exports.templateResponseDataSchema = exports.templateresponsedataTemplateResponseDataSchema;
1345
1361
  /**
@@ -1348,14 +1364,14 @@ exports.templateResponseDataSchema = exports.templateresponsedataTemplateRespons
1348
1364
  exports.templateresponseTemplateResponseSchema = zod_1.z.object({
1349
1365
  success: zod_1.z.boolean(),
1350
1366
  message: zod_1.z.string(),
1351
- response: exports.templateresponsedataTemplateResponseDataSchema,
1367
+ response: exports.templateresponsedataTemplateResponseDataSchema
1352
1368
  }).strict();
1353
1369
  exports.templateResponseSchema = exports.templateresponseTemplateResponseSchema;
1354
1370
  /**
1355
1371
  * Font properties for the active/highlighted word.
1356
1372
  */
1357
1373
  exports.richcaptionpropertiesRichCaptionActiveFontSchema = zod_1.z.object({
1358
- color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#ffff00"),
1374
+ color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default('#ffff00'),
1359
1375
  background: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1360
1376
  opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1361
1377
  return undefined; if (Array.isArray(v))
@@ -1364,13 +1380,18 @@ exports.richcaptionpropertiesRichCaptionActiveFontSchema = zod_1.z.object({
1364
1380
  return v;
1365
1381
  return Number(v);
1366
1382
  } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1383
+ textDecoration: zod_1.z.optional(zod_1.z.enum([
1384
+ 'none',
1385
+ 'underline',
1386
+ 'line-through'
1387
+ ]))
1367
1388
  }).strict();
1368
1389
  exports.richCaptionActiveFontSchema = exports.richcaptionpropertiesRichCaptionActiveFontSchema;
1369
1390
  /**
1370
1391
  * Font properties for rich captions. Defaults to Roboto.
1371
1392
  */
1372
1393
  exports.richcaptionpropertiesRichCaptionFontSchema = zod_1.z.object({
1373
- family: zod_1.z.optional(zod_1.z.string()).default("Roboto"),
1394
+ family: zod_1.z.optional(zod_1.z.string()).default('Roboto'),
1374
1395
  size: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1375
1396
  return undefined; if (Array.isArray(v))
1376
1397
  return v; if (typeof v === 'string') {
@@ -1378,8 +1399,8 @@ exports.richcaptionpropertiesRichCaptionFontSchema = zod_1.z.object({
1378
1399
  return v;
1379
1400
  return Number(v);
1380
1401
  } return v; }), zod_1.z.number().int().gte(1).lte(500)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(24),
1381
- weight: zod_1.z.optional(zod_1.z.unknown()).default("400"),
1382
- color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#ffffff"),
1402
+ weight: zod_1.z.optional(zod_1.z.unknown()).default('400'),
1403
+ color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default('#ffffff'),
1383
1404
  opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1384
1405
  return undefined; if (Array.isArray(v))
1385
1406
  return v; if (typeof v === 'string') {
@@ -1388,37 +1409,48 @@ exports.richcaptionpropertiesRichCaptionFontSchema = zod_1.z.object({
1388
1409
  return Number(v);
1389
1410
  } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1390
1411
  background: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1412
+ textDecoration: zod_1.z.optional(zod_1.z.enum([
1413
+ 'none',
1414
+ 'underline',
1415
+ 'line-through'
1416
+ ]))
1391
1417
  }).strict();
1392
1418
  /**
1393
1419
  * Word-level animation properties for caption effects.
1394
1420
  */
1395
1421
  exports.richcaptionpropertiesRichCaptionWordAnimationSchema = zod_1.z.object({
1396
1422
  style: zod_1.z.enum([
1397
- "karaoke",
1398
- "highlight",
1399
- "pop",
1400
- "fade",
1401
- "slide",
1402
- "bounce",
1403
- "typewriter",
1404
- "none",
1423
+ 'karaoke',
1424
+ 'highlight',
1425
+ 'pop',
1426
+ 'fade',
1427
+ 'slide',
1428
+ 'bounce',
1429
+ 'typewriter',
1430
+ 'none'
1405
1431
  ]),
1406
- speed: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1407
- return undefined; if (Array.isArray(v))
1408
- return v; if (typeof v === 'string') {
1409
- if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1410
- return v;
1411
- return Number(v);
1412
- } return v; }), zod_1.z.number().gte(0.5).lte(2)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1413
- direction: zod_1.z.optional(zod_1.z.enum(["left", "right", "up", "down"])),
1432
+ direction: zod_1.z.optional(zod_1.z.enum([
1433
+ 'left',
1434
+ 'right',
1435
+ 'up',
1436
+ 'down'
1437
+ ]))
1414
1438
  }).strict();
1415
1439
  exports.richCaptionWordAnimationSchema = exports.richcaptionpropertiesRichCaptionWordAnimationSchema;
1416
1440
  /**
1417
1441
  * Text alignment properties (horizontal and vertical).
1418
1442
  */
1419
1443
  exports.richtextpropertiesRichTextAlignmentSchema = zod_1.z.object({
1420
- horizontal: zod_1.z.optional(zod_1.z.enum(["left", "center", "right"])),
1421
- vertical: zod_1.z.optional(zod_1.z.enum(["top", "middle", "bottom"])),
1444
+ horizontal: zod_1.z.optional(zod_1.z.enum([
1445
+ 'left',
1446
+ 'center',
1447
+ 'right'
1448
+ ])),
1449
+ vertical: zod_1.z.optional(zod_1.z.enum([
1450
+ 'top',
1451
+ 'middle',
1452
+ 'bottom'
1453
+ ]))
1422
1454
  }).strict();
1423
1455
  exports.richTextAlignmentSchema = exports.richtextpropertiesRichTextAlignmentSchema;
1424
1456
  /**
@@ -1426,12 +1458,12 @@ exports.richTextAlignmentSchema = exports.richtextpropertiesRichTextAlignmentSch
1426
1458
  */
1427
1459
  exports.richtextpropertiesRichTextAnimationSchema = zod_1.z.object({
1428
1460
  preset: zod_1.z.enum([
1429
- "fadeIn",
1430
- "slideIn",
1431
- "typewriter",
1432
- "ascend",
1433
- "shift",
1434
- "movingLetters",
1461
+ 'fadeIn',
1462
+ 'slideIn',
1463
+ 'typewriter',
1464
+ 'ascend',
1465
+ 'shift',
1466
+ 'movingLetters'
1435
1467
  ]),
1436
1468
  duration: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1437
1469
  return undefined; if (Array.isArray(v))
@@ -1440,8 +1472,13 @@ exports.richtextpropertiesRichTextAnimationSchema = zod_1.z.object({
1440
1472
  return v;
1441
1473
  return Number(v);
1442
1474
  } return v; }), zod_1.z.number().gte(0.1).lte(30)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1443
- style: zod_1.z.optional(zod_1.z.enum(["character", "word"])),
1444
- direction: zod_1.z.optional(zod_1.z.enum(["left", "right", "up", "down"])),
1475
+ style: zod_1.z.optional(zod_1.z.enum(['character', 'word'])),
1476
+ direction: zod_1.z.optional(zod_1.z.enum([
1477
+ 'left',
1478
+ 'right',
1479
+ 'up',
1480
+ 'down'
1481
+ ]))
1445
1482
  }).strict();
1446
1483
  exports.richTextAnimationSchema = exports.richtextpropertiesRichTextAnimationSchema;
1447
1484
  /**
@@ -1462,7 +1499,7 @@ exports.richtextpropertiesRichTextBackgroundSchema = zod_1.z.object({
1462
1499
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1463
1500
  return v;
1464
1501
  return Number(v);
1465
- } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1502
+ } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
1466
1503
  }).strict();
1467
1504
  exports.richTextBackgroundSchema = exports.richtextpropertiesRichTextBackgroundSchema;
1468
1505
  /**
@@ -1476,7 +1513,7 @@ exports.richtextpropertiesRichTextBorderSchema = zod_1.z.object({
1476
1513
  return v;
1477
1514
  return Number(v);
1478
1515
  } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1479
- color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#000000"),
1516
+ color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default('#000000'),
1480
1517
  opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1481
1518
  return undefined; if (Array.isArray(v))
1482
1519
  return v; if (typeof v === 'string') {
@@ -1490,13 +1527,13 @@ exports.richtextpropertiesRichTextBorderSchema = zod_1.z.object({
1490
1527
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1491
1528
  return v;
1492
1529
  return Number(v);
1493
- } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1530
+ } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
1494
1531
  }).strict();
1495
1532
  /**
1496
1533
  * Gradient properties for text fill.
1497
1534
  */
1498
1535
  exports.richtextpropertiesRichTextGradientSchema = zod_1.z.object({
1499
- type: zod_1.z.optional(zod_1.z.enum(["linear", "radial"])),
1536
+ type: zod_1.z.optional(zod_1.z.enum(['linear', 'radial'])),
1500
1537
  angle: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1501
1538
  return undefined; if (Array.isArray(v))
1502
1539
  return v; if (typeof v === 'string') {
@@ -1504,8 +1541,7 @@ exports.richtextpropertiesRichTextGradientSchema = zod_1.z.object({
1504
1541
  return v;
1505
1542
  return Number(v);
1506
1543
  } return v; }), zod_1.z.number().gte(0).lte(360)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1507
- stops: zod_1.z
1508
- .array(zod_1.z.object({
1544
+ stops: zod_1.z.array(zod_1.z.object({
1509
1545
  offset: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1510
1546
  return undefined; if (Array.isArray(v))
1511
1547
  return v; if (typeof v === 'string') {
@@ -1513,9 +1549,8 @@ exports.richtextpropertiesRichTextGradientSchema = zod_1.z.object({
1513
1549
  return v;
1514
1550
  return Number(v);
1515
1551
  } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1516
- color: zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1517
- }))
1518
- .min(2),
1552
+ color: zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1553
+ })).min(2)
1519
1554
  }).strict();
1520
1555
  exports.richTextGradientSchema = exports.richtextpropertiesRichTextGradientSchema;
1521
1556
  /**
@@ -1549,7 +1584,7 @@ exports.richtextpropertiesRichTextPaddingSchema = zod_1.z.object({
1549
1584
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1550
1585
  return v;
1551
1586
  return Number(v);
1552
- } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1587
+ } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
1553
1588
  }).strict();
1554
1589
  /**
1555
1590
  * Text shadow properties.
@@ -1576,14 +1611,14 @@ exports.richtextpropertiesRichTextShadowSchema = zod_1.z.object({
1576
1611
  return v;
1577
1612
  return Number(v);
1578
1613
  } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1579
- color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#000000"),
1614
+ color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default('#000000'),
1580
1615
  opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1581
1616
  return undefined; if (Array.isArray(v))
1582
1617
  return v; if (typeof v === 'string') {
1583
1618
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1584
1619
  return v;
1585
1620
  return Number(v);
1586
- } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5),
1621
+ } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5)
1587
1622
  }).strict();
1588
1623
  exports.richTextShadowSchema = exports.richtextpropertiesRichTextShadowSchema;
1589
1624
  /**
@@ -1597,14 +1632,14 @@ exports.richtextpropertiesRichTextStrokeSchema = zod_1.z.object({
1597
1632
  return v;
1598
1633
  return Number(v);
1599
1634
  } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1600
- color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#000000"),
1635
+ color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default('#000000'),
1601
1636
  opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1602
1637
  return undefined; if (Array.isArray(v))
1603
1638
  return v; if (typeof v === 'string') {
1604
1639
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1605
1640
  return v;
1606
1641
  return Number(v);
1607
- } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1642
+ } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1)
1608
1643
  }).strict();
1609
1644
  exports.richTextStrokeSchema = exports.richtextpropertiesRichTextStrokeSchema;
1610
1645
  /**
@@ -1612,21 +1647,28 @@ exports.richTextStrokeSchema = exports.richtextpropertiesRichTextStrokeSchema;
1612
1647
  */
1613
1648
  exports.richcaptionpropertiesRichCaptionActiveSchema = zod_1.z.object({
1614
1649
  font: zod_1.z.optional(exports.richcaptionpropertiesRichCaptionActiveFontSchema),
1615
- stroke: zod_1.z.optional(exports.richtextpropertiesRichTextStrokeSchema),
1650
+ stroke: zod_1.z.optional(zod_1.z.union([
1651
+ exports.richtextpropertiesRichTextStrokeSchema,
1652
+ zod_1.z.enum(['none'])
1653
+ ])),
1654
+ shadow: zod_1.z.optional(zod_1.z.union([
1655
+ exports.richtextpropertiesRichTextShadowSchema,
1656
+ zod_1.z.enum(['none'])
1657
+ ])),
1616
1658
  scale: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1617
1659
  return undefined; if (Array.isArray(v))
1618
1660
  return v; if (typeof v === 'string') {
1619
1661
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1620
1662
  return v;
1621
1663
  return Number(v);
1622
- } return v; }), zod_1.z.number().gte(0.5).lte(2)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1664
+ } return v; }), zod_1.z.number().gte(0.5).lte(2)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1)
1623
1665
  }).strict();
1624
1666
  exports.richCaptionActiveSchema = exports.richcaptionpropertiesRichCaptionActiveSchema;
1625
1667
  /**
1626
1668
  * Font properties for rich text.
1627
1669
  */
1628
1670
  exports.richtextpropertiesRichTextFontSchema = zod_1.z.object({
1629
- family: zod_1.z.optional(zod_1.z.string()).default("Open Sans"),
1671
+ family: zod_1.z.optional(zod_1.z.string()).default('Open Sans'),
1630
1672
  size: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1631
1673
  return undefined; if (Array.isArray(v))
1632
1674
  return v; if (typeof v === 'string') {
@@ -1634,8 +1676,8 @@ exports.richtextpropertiesRichTextFontSchema = zod_1.z.object({
1634
1676
  return v;
1635
1677
  return Number(v);
1636
1678
  } return v; }), zod_1.z.number().int().gte(1).lte(500)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(24),
1637
- weight: zod_1.z.optional(zod_1.z.unknown()).default("400"),
1638
- color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#000000"),
1679
+ weight: zod_1.z.optional(zod_1.z.unknown()).default('400'),
1680
+ color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default('#000000'),
1639
1681
  opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1640
1682
  return undefined; if (Array.isArray(v))
1641
1683
  return v; if (typeof v === 'string') {
@@ -1644,7 +1686,7 @@ exports.richtextpropertiesRichTextFontSchema = zod_1.z.object({
1644
1686
  return Number(v);
1645
1687
  } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1646
1688
  background: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1647
- stroke: zod_1.z.optional(exports.richtextpropertiesRichTextStrokeSchema),
1689
+ stroke: zod_1.z.optional(exports.richtextpropertiesRichTextStrokeSchema)
1648
1690
  }).strict();
1649
1691
  exports.richTextFontSchema = exports.richtextpropertiesRichTextFontSchema;
1650
1692
  /**
@@ -1672,9 +1714,18 @@ exports.richtextpropertiesRichTextStyleSchema = zod_1.z.object({
1672
1714
  return v;
1673
1715
  return Number(v);
1674
1716
  } return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1.2),
1675
- textTransform: zod_1.z.optional(zod_1.z.enum(["none", "uppercase", "lowercase", "capitalize"])),
1676
- textDecoration: zod_1.z.optional(zod_1.z.enum(["none", "underline", "line-through"])),
1677
- gradient: zod_1.z.optional(exports.richtextpropertiesRichTextGradientSchema),
1717
+ textTransform: zod_1.z.optional(zod_1.z.enum([
1718
+ 'none',
1719
+ 'uppercase',
1720
+ 'lowercase',
1721
+ 'capitalize'
1722
+ ])),
1723
+ textDecoration: zod_1.z.optional(zod_1.z.enum([
1724
+ 'none',
1725
+ 'underline',
1726
+ 'line-through'
1727
+ ])),
1728
+ gradient: zod_1.z.optional(exports.richtextpropertiesRichTextGradientSchema)
1678
1729
  }).strict();
1679
1730
  exports.richTextStyleSchema = exports.richtextpropertiesRichTextStyleSchema;
1680
1731
  /**
@@ -1684,7 +1735,7 @@ exports.richTextStyleSchema = exports.richtextpropertiesRichTextStyleSchema;
1684
1735
  *
1685
1736
  */
1686
1737
  exports.richcaptionassetRichCaptionAssetSchema = zod_1.z.object({
1687
- type: zod_1.z.enum(["rich-caption"]),
1738
+ type: zod_1.z.enum(['rich-caption']),
1688
1739
  src: zod_1.z.string().min(1),
1689
1740
  font: zod_1.z.optional(exports.richcaptionpropertiesRichCaptionFontSchema),
1690
1741
  style: zod_1.z.optional(exports.richtextpropertiesRichTextStyleSchema),
@@ -1692,16 +1743,19 @@ exports.richcaptionassetRichCaptionAssetSchema = zod_1.z.object({
1692
1743
  shadow: zod_1.z.optional(exports.richtextpropertiesRichTextShadowSchema),
1693
1744
  background: zod_1.z.optional(exports.richtextpropertiesRichTextBackgroundSchema),
1694
1745
  border: zod_1.z.optional(exports.richtextpropertiesRichTextBorderSchema),
1695
- padding: zod_1.z.optional(zod_1.z.union([zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1746
+ padding: zod_1.z.optional(zod_1.z.union([
1747
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1696
1748
  return undefined; if (Array.isArray(v))
1697
1749
  return v; if (typeof v === 'string') {
1698
1750
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1699
1751
  return v;
1700
1752
  return Number(v);
1701
- } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), exports.richtextpropertiesRichTextPaddingSchema])),
1753
+ } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1754
+ exports.richtextpropertiesRichTextPaddingSchema
1755
+ ])),
1702
1756
  align: zod_1.z.optional(exports.richtextpropertiesRichTextAlignmentSchema),
1703
1757
  active: zod_1.z.optional(exports.richcaptionpropertiesRichCaptionActiveSchema),
1704
- wordAnimation: zod_1.z.optional(exports.richcaptionpropertiesRichCaptionWordAnimationSchema),
1758
+ wordAnimation: zod_1.z.optional(exports.richcaptionpropertiesRichCaptionWordAnimationSchema)
1705
1759
  }).strict();
1706
1760
  exports.richCaptionAssetSchema = exports.richcaptionassetRichCaptionAssetSchema;
1707
1761
  /**
@@ -1710,7 +1764,7 @@ exports.richCaptionAssetSchema = exports.richcaptionassetRichCaptionAssetSchema;
1710
1764
  *
1711
1765
  */
1712
1766
  exports.richtextassetRichTextAssetSchema = zod_1.z.object({
1713
- type: zod_1.z.enum(["rich-text"]),
1767
+ type: zod_1.z.enum(['rich-text']),
1714
1768
  text: zod_1.z.string().max(5000),
1715
1769
  font: zod_1.z.optional(exports.richtextpropertiesRichTextFontSchema),
1716
1770
  style: zod_1.z.optional(exports.richtextpropertiesRichTextStyleSchema),
@@ -1718,15 +1772,18 @@ exports.richtextassetRichTextAssetSchema = zod_1.z.object({
1718
1772
  shadow: zod_1.z.optional(exports.richtextpropertiesRichTextShadowSchema),
1719
1773
  background: zod_1.z.optional(exports.richtextpropertiesRichTextBackgroundSchema),
1720
1774
  border: zod_1.z.optional(exports.richtextpropertiesRichTextBorderSchema),
1721
- padding: zod_1.z.optional(zod_1.z.union([zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1775
+ padding: zod_1.z.optional(zod_1.z.union([
1776
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1722
1777
  return undefined; if (Array.isArray(v))
1723
1778
  return v; if (typeof v === 'string') {
1724
1779
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1725
1780
  return v;
1726
1781
  return Number(v);
1727
- } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), exports.richtextpropertiesRichTextPaddingSchema])),
1782
+ } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1783
+ exports.richtextpropertiesRichTextPaddingSchema
1784
+ ])),
1728
1785
  align: zod_1.z.optional(exports.richtextpropertiesRichTextAlignmentSchema),
1729
- animation: zod_1.z.optional(exports.richtextpropertiesRichTextAnimationSchema),
1786
+ animation: zod_1.z.optional(exports.richtextpropertiesRichTextAnimationSchema)
1730
1787
  }).strict();
1731
1788
  exports.richTextAssetSchema = exports.richtextassetRichTextAssetSchema;
1732
1789
  /**
@@ -1735,8 +1792,8 @@ exports.richTextAssetSchema = exports.richtextassetRichTextAssetSchema;
1735
1792
  exports.transferresponseattributesTransferResponseAttributesSchema = zod_1.z.object({
1736
1793
  id: zod_1.z.optional(zod_1.z.string()),
1737
1794
  owner: zod_1.z.optional(zod_1.z.string()),
1738
- status: zod_1.z.optional(zod_1.z.enum(["queued", "failed"])),
1739
- created: zod_1.z.optional(zod_1.z.string()),
1795
+ status: zod_1.z.optional(zod_1.z.enum(['queued', 'failed'])),
1796
+ created: zod_1.z.optional(zod_1.z.string())
1740
1797
  }).strict();
1741
1798
  exports.transferResponseAttributesSchema = exports.transferresponseattributesTransferResponseAttributesSchema;
1742
1799
  /**
@@ -1744,14 +1801,14 @@ exports.transferResponseAttributesSchema = exports.transferresponseattributesTra
1744
1801
  */
1745
1802
  exports.transferresponsedataTransferResponseDataSchema = zod_1.z.object({
1746
1803
  type: zod_1.z.optional(zod_1.z.string()),
1747
- attributes: zod_1.z.optional(exports.transferresponseattributesTransferResponseAttributesSchema),
1804
+ attributes: zod_1.z.optional(exports.transferresponseattributesTransferResponseAttributesSchema)
1748
1805
  }).strict();
1749
1806
  exports.transferResponseDataSchema = exports.transferresponsedataTransferResponseDataSchema;
1750
1807
  /**
1751
1808
  * The response returned by the Serve API [transfer asset](#transfer-asset) request. The response includes the ID and transfer status. The response follows the [json:api](https://jsonapi.org/) specification.
1752
1809
  */
1753
1810
  exports.transferresponseTransferResponseSchema = zod_1.z.object({
1754
- data: exports.transferresponsedataTransferResponseDataSchema,
1811
+ data: exports.transferresponsedataTransferResponseDataSchema
1755
1812
  }).strict();
1756
1813
  exports.transferResponseSchema = exports.transferresponseTransferResponseSchema;
1757
1814
  /**
@@ -1760,7 +1817,7 @@ exports.transferResponseSchema = exports.transferresponseTransferResponseSchema;
1760
1817
  exports.transferTransferSchema = zod_1.z.object({
1761
1818
  url: zod_1.z.string(),
1762
1819
  id: zod_1.z.string(),
1763
- destinations: zod_1.z.array(exports.destinationsDestinationsSchema),
1820
+ destinations: zod_1.z.array(exports.destinationsDestinationsSchema)
1764
1821
  }).strict();
1765
1822
  exports.transferSchema = exports.transferTransferSchema;
1766
1823
  /**
@@ -1769,8 +1826,12 @@ exports.transferSchema = exports.transferTransferSchema;
1769
1826
  *
1770
1827
  */
1771
1828
  exports.shapeassetShapeAssetSchema = zod_1.z.object({
1772
- type: zod_1.z.enum(["shape"]),
1773
- shape: zod_1.z.enum(["rectangle", "circle", "line"]),
1829
+ type: zod_1.z.enum(['shape']),
1830
+ shape: zod_1.z.enum([
1831
+ 'rectangle',
1832
+ 'circle',
1833
+ 'line'
1834
+ ]),
1774
1835
  width: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1775
1836
  return undefined; if (Array.isArray(v))
1776
1837
  return v; if (typeof v === 'string') {
@@ -1793,7 +1854,7 @@ exports.shapeassetShapeAssetSchema = zod_1.z.object({
1793
1854
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1794
1855
  return v;
1795
1856
  return Number(v);
1796
- } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1857
+ } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1797
1858
  })),
1798
1859
  stroke: zod_1.z.optional(zod_1.z.object({
1799
1860
  color: zod_1.z.optional(zod_1.z.string()),
@@ -1803,7 +1864,7 @@ exports.shapeassetShapeAssetSchema = zod_1.z.object({
1803
1864
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1804
1865
  return v;
1805
1866
  return Number(v);
1806
- } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1867
+ } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1807
1868
  })),
1808
1869
  rectangle: zod_1.z.optional(zod_1.z.object({
1809
1870
  width: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1826,7 +1887,7 @@ exports.shapeassetShapeAssetSchema = zod_1.z.object({
1826
1887
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1827
1888
  return v;
1828
1889
  return Number(v);
1829
- } return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1890
+ } return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1830
1891
  })),
1831
1892
  circle: zod_1.z.optional(zod_1.z.object({
1832
1893
  radius: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1835,7 +1896,7 @@ exports.shapeassetShapeAssetSchema = zod_1.z.object({
1835
1896
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1836
1897
  return v;
1837
1898
  return Number(v);
1838
- } return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1899
+ } return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1839
1900
  })),
1840
1901
  line: zod_1.z.optional(zod_1.z.object({
1841
1902
  length: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1851,8 +1912,8 @@ exports.shapeassetShapeAssetSchema = zod_1.z.object({
1851
1912
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1852
1913
  return v;
1853
1914
  return Number(v);
1854
- } return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1855
- })),
1915
+ } return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1916
+ }))
1856
1917
  }).strict();
1857
1918
  exports.shapeAssetSchema = exports.shapeassetShapeAssetSchema;
1858
1919
  /**
@@ -1872,7 +1933,7 @@ exports.sizeSizeSchema = zod_1.z.object({
1872
1933
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1873
1934
  return v;
1874
1935
  return Number(v);
1875
- } return v; }), zod_1.z.number().int().gte(1).lte(4096)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1936
+ } return v; }), zod_1.z.number().int().gte(1).lte(4096)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1876
1937
  }).strict();
1877
1938
  exports.sizeSchema = exports.sizeSizeSchema;
1878
1939
  /**
@@ -1880,25 +1941,35 @@ exports.sizeSchema = exports.sizeSizeSchema;
1880
1941
  */
1881
1942
  exports.renditionRenditionSchema = zod_1.z.object({
1882
1943
  format: zod_1.z.optional(zod_1.z.enum([
1883
- "mp4",
1884
- "webm",
1885
- "mov",
1886
- "avi",
1887
- "mkv",
1888
- "ogv",
1889
- "wmv",
1890
- "avif",
1891
- "gif",
1892
- "mp3",
1893
- "wav",
1894
- "jpg",
1895
- "png",
1896
- "webp",
1897
- "tif",
1944
+ 'mp4',
1945
+ 'webm',
1946
+ 'mov',
1947
+ 'avi',
1948
+ 'mkv',
1949
+ 'ogv',
1950
+ 'wmv',
1951
+ 'avif',
1952
+ 'gif',
1953
+ 'mp3',
1954
+ 'wav',
1955
+ 'jpg',
1956
+ 'png',
1957
+ 'webp',
1958
+ 'tif'
1898
1959
  ])),
1899
1960
  size: zod_1.z.optional(exports.sizeSizeSchema),
1900
- fit: zod_1.z.optional(zod_1.z.enum(["cover", "contain", "crop"])),
1901
- resolution: zod_1.z.optional(zod_1.z.enum(["preview", "mobile", "sd", "hd", "fhd"])),
1961
+ fit: zod_1.z.optional(zod_1.z.enum([
1962
+ 'cover',
1963
+ 'contain',
1964
+ 'crop'
1965
+ ])),
1966
+ resolution: zod_1.z.optional(zod_1.z.enum([
1967
+ 'preview',
1968
+ 'mobile',
1969
+ 'sd',
1970
+ 'hd',
1971
+ 'fhd'
1972
+ ])),
1902
1973
  quality: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1903
1974
  return undefined; if (Array.isArray(v))
1904
1975
  return v; if (typeof v === 'string') {
@@ -1917,7 +1988,7 @@ exports.renditionRenditionSchema = zod_1.z.object({
1917
1988
  zod_1.z.literal(48),
1918
1989
  zod_1.z.literal(50),
1919
1990
  zod_1.z.literal(59.94),
1920
- zod_1.z.literal(60),
1991
+ zod_1.z.literal(60)
1921
1992
  ])),
1922
1993
  speed: zod_1.z.optional(exports.speedSpeedSchema),
1923
1994
  keyframeInterval: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1930,7 +2001,7 @@ exports.renditionRenditionSchema = zod_1.z.object({
1930
2001
  fixOffset: zod_1.z.optional(zod_1.z.boolean()),
1931
2002
  fixRotation: zod_1.z.optional(zod_1.z.boolean()),
1932
2003
  enhance: zod_1.z.optional(exports.enhancementsEnhancementsSchema),
1933
- filename: zod_1.z.optional(zod_1.z.string()),
2004
+ filename: zod_1.z.optional(zod_1.z.string())
1934
2005
  }).strict();
1935
2006
  exports.renditionSchema = exports.renditionRenditionSchema;
1936
2007
  /**
@@ -1938,7 +2009,7 @@ exports.renditionSchema = exports.renditionRenditionSchema;
1938
2009
  */
1939
2010
  exports.outputsOutputsSchema = zod_1.z.object({
1940
2011
  renditions: zod_1.z.optional(zod_1.z.array(exports.renditionRenditionSchema)),
1941
- transcription: zod_1.z.optional(exports.transcriptionTranscriptionSchema),
2012
+ transcription: zod_1.z.optional(exports.transcriptionTranscriptionSchema)
1942
2013
  }).strict();
1943
2014
  exports.outputsSchema = exports.outputsOutputsSchema;
1944
2015
  /**
@@ -1947,12 +2018,12 @@ exports.outputsSchema = exports.outputsOutputsSchema;
1947
2018
  exports.renditionresponseattributesRenditionResponseAttributesSchema = zod_1.z.object({
1948
2019
  id: zod_1.z.string(),
1949
2020
  status: zod_1.z.optional(zod_1.z.enum([
1950
- "queued",
1951
- "importing",
1952
- "ready",
1953
- "failed",
1954
- "deleted",
1955
- "overwritten",
2021
+ 'queued',
2022
+ 'importing',
2023
+ 'ready',
2024
+ 'failed',
2025
+ 'deleted',
2026
+ 'overwritten'
1956
2027
  ])),
1957
2028
  url: zod_1.z.optional(zod_1.z.string()),
1958
2029
  executionTime: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1990,14 +2061,14 @@ exports.renditionresponseattributesRenditionResponseAttributesSchema = zod_1.z.o
1990
2061
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
1991
2062
  return v;
1992
2063
  return Number(v);
1993
- } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2064
+ } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1994
2065
  }).strict();
1995
2066
  exports.renditionResponseAttributesSchema = exports.renditionresponseattributesRenditionResponseAttributesSchema;
1996
2067
  /**
1997
2068
  * The list of outputs generated from the source file. Currently supports renditions which are versions of the source file with different transformations applied.
1998
2069
  */
1999
2070
  exports.outputsresponseOutputsResponseSchema = zod_1.z.object({
2000
- renditions: zod_1.z.optional(zod_1.z.array(exports.renditionresponseattributesRenditionResponseAttributesSchema)),
2071
+ renditions: zod_1.z.optional(zod_1.z.array(exports.renditionresponseattributesRenditionResponseAttributesSchema))
2001
2072
  }).strict();
2002
2073
  exports.outputsResponseSchema = exports.outputsresponseOutputsResponseSchema;
2003
2074
  /**
@@ -2009,12 +2080,12 @@ exports.sourceresponseattributesSourceResponseAttributesSchema = zod_1.z.object(
2009
2080
  input: zod_1.z.optional(zod_1.z.string()),
2010
2081
  source: zod_1.z.optional(zod_1.z.string()),
2011
2082
  status: zod_1.z.optional(zod_1.z.enum([
2012
- "queued",
2013
- "importing",
2014
- "ready",
2015
- "failed",
2016
- "deleted",
2017
- "overwritten",
2083
+ 'queued',
2084
+ 'importing',
2085
+ 'ready',
2086
+ 'failed',
2087
+ 'deleted',
2088
+ 'overwritten'
2018
2089
  ])),
2019
2090
  outputs: zod_1.z.optional(exports.outputsresponseOutputsResponseSchema),
2020
2091
  width: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -2046,7 +2117,7 @@ exports.sourceresponseattributesSourceResponseAttributesSchema = zod_1.z.object(
2046
2117
  return Number(v);
2047
2118
  } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2048
2119
  created: zod_1.z.optional(zod_1.z.string()),
2049
- updated: zod_1.z.optional(zod_1.z.string()),
2120
+ updated: zod_1.z.optional(zod_1.z.string())
2050
2121
  }).strict();
2051
2122
  exports.sourceResponseAttributesSchema = exports.sourceresponseattributesSourceResponseAttributesSchema;
2052
2123
  /**
@@ -2055,21 +2126,21 @@ exports.sourceResponseAttributesSchema = exports.sourceresponseattributesSourceR
2055
2126
  exports.sourceresponsedataSourceResponseDataSchema = zod_1.z.object({
2056
2127
  type: zod_1.z.string(),
2057
2128
  id: zod_1.z.string(),
2058
- attributes: exports.sourceresponseattributesSourceResponseAttributesSchema,
2129
+ attributes: exports.sourceresponseattributesSourceResponseAttributesSchema
2059
2130
  }).strict();
2060
2131
  exports.sourceResponseDataSchema = exports.sourceresponsedataSourceResponseDataSchema;
2061
2132
  /**
2062
2133
  * A list of all ingested source files fetched or uploaded to a users account.
2063
2134
  */
2064
2135
  exports.sourcelistresponseSourceListResponseSchema = zod_1.z.object({
2065
- data: zod_1.z.array(exports.sourceresponsedataSourceResponseDataSchema),
2136
+ data: zod_1.z.array(exports.sourceresponsedataSourceResponseDataSchema)
2066
2137
  }).strict();
2067
2138
  exports.sourceListResponseSchema = exports.sourcelistresponseSourceListResponseSchema;
2068
2139
  /**
2069
2140
  * The response returned by the Ingest API [get source](#get-source) request. Includes details of the ingested source file. The response follows the [json:api](https://jsonapi.org/) specification.
2070
2141
  */
2071
2142
  exports.sourceresponseSourceResponseSchema = zod_1.z.object({
2072
- data: exports.sourceresponsedataSourceResponseDataSchema,
2143
+ data: exports.sourceresponsedataSourceResponseDataSchema
2073
2144
  }).strict();
2074
2145
  exports.sourceResponseSchema = exports.sourceresponseSourceResponseSchema;
2075
2146
  /**
@@ -2080,7 +2151,7 @@ exports.sourceSourceSchema = zod_1.z.object({
2080
2151
  url: zod_1.z.optional(zod_1.z.string()),
2081
2152
  outputs: zod_1.z.optional(exports.outputsOutputsSchema),
2082
2153
  destinations: zod_1.z.optional(exports.destinationsDestinationsSchema),
2083
- callback: zod_1.z.optional(zod_1.z.string()),
2154
+ callback: zod_1.z.optional(zod_1.z.string())
2084
2155
  }).strict();
2085
2156
  exports.sourceSchema = exports.sourceSourceSchema;
2086
2157
  /**
@@ -2088,14 +2159,18 @@ exports.sourceSchema = exports.sourceSourceSchema;
2088
2159
  */
2089
2160
  exports.soundtrackSoundtrackSchema = zod_1.z.object({
2090
2161
  src: zod_1.z.string().min(1).regex(/\S/),
2091
- effect: zod_1.z.optional(zod_1.z.enum(["fadeIn", "fadeOut", "fadeInFadeOut"])),
2162
+ effect: zod_1.z.optional(zod_1.z.enum([
2163
+ 'fadeIn',
2164
+ 'fadeOut',
2165
+ 'fadeInFadeOut'
2166
+ ])),
2092
2167
  volume: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2093
2168
  return undefined; if (Array.isArray(v))
2094
2169
  return v; if (typeof v === 'string') {
2095
2170
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2096
2171
  return v;
2097
2172
  return Number(v);
2098
- } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2173
+ } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
2099
2174
  }).strict();
2100
2175
  exports.soundtrackSchema = exports.soundtrackSoundtrackSchema;
2101
2176
  /**
@@ -2111,7 +2186,7 @@ exports.svgpropertiesSvgGradientStopSchema = zod_1.z.object({
2111
2186
  return v;
2112
2187
  return Number(v);
2113
2188
  } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2114
- color: zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2189
+ color: zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
2115
2190
  }).strict();
2116
2191
  exports.svgGradientStopSchema = exports.svgpropertiesSvgGradientStopSchema;
2117
2192
  /**
@@ -2120,7 +2195,7 @@ exports.svgGradientStopSchema = exports.svgpropertiesSvgGradientStopSchema;
2120
2195
  *
2121
2196
  */
2122
2197
  exports.svgpropertiesSvgLinearGradientFillSchema = zod_1.z.object({
2123
- type: zod_1.z.enum(["linear"]),
2198
+ type: zod_1.z.enum(['linear']),
2124
2199
  angle: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2125
2200
  return undefined; if (Array.isArray(v))
2126
2201
  return v; if (typeof v === 'string') {
@@ -2135,7 +2210,7 @@ exports.svgpropertiesSvgLinearGradientFillSchema = zod_1.z.object({
2135
2210
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2136
2211
  return v;
2137
2212
  return Number(v);
2138
- } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
2213
+ } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1)
2139
2214
  }).strict();
2140
2215
  exports.svgLinearGradientFillSchema = exports.svgpropertiesSvgLinearGradientFillSchema;
2141
2216
  /**
@@ -2144,7 +2219,7 @@ exports.svgLinearGradientFillSchema = exports.svgpropertiesSvgLinearGradientFill
2144
2219
  *
2145
2220
  */
2146
2221
  exports.svgpropertiesSvgRadialGradientFillSchema = zod_1.z.object({
2147
- type: zod_1.z.enum(["radial"]),
2222
+ type: zod_1.z.enum(['radial']),
2148
2223
  stops: zod_1.z.array(exports.svgpropertiesSvgGradientStopSchema).min(2),
2149
2224
  opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2150
2225
  return undefined; if (Array.isArray(v))
@@ -2152,7 +2227,7 @@ exports.svgpropertiesSvgRadialGradientFillSchema = zod_1.z.object({
2152
2227
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2153
2228
  return v;
2154
2229
  return Number(v);
2155
- } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
2230
+ } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1)
2156
2231
  }).strict();
2157
2232
  exports.svgRadialGradientFillSchema = exports.svgpropertiesSvgRadialGradientFillSchema;
2158
2233
  /**
@@ -2181,32 +2256,29 @@ exports.svgpropertiesSvgShadowSchema = zod_1.z.object({
2181
2256
  return v;
2182
2257
  return Number(v);
2183
2258
  } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
2184
- color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#000000"),
2259
+ color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default('#000000'),
2185
2260
  opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2186
2261
  return undefined; if (Array.isArray(v))
2187
2262
  return v; if (typeof v === 'string') {
2188
2263
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2189
2264
  return v;
2190
2265
  return Number(v);
2191
- } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5),
2266
+ } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5)
2192
2267
  }).strict();
2193
2268
  exports.svgShadowSchema = exports.svgpropertiesSvgShadowSchema;
2194
2269
  /**
2195
2270
  * A solid color fill for SVG shapes.
2196
2271
  */
2197
2272
  exports.svgpropertiesSvgSolidFillSchema = zod_1.z.object({
2198
- type: zod_1.z.enum(["solid"]),
2199
- color: zod_1.z
2200
- .string()
2201
- .regex(/^#[A-Fa-f0-9]{6}$/)
2202
- .default("#000000"),
2273
+ type: zod_1.z.enum(['solid']),
2274
+ color: zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/).default('#000000'),
2203
2275
  opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2204
2276
  return undefined; if (Array.isArray(v))
2205
2277
  return v; if (typeof v === 'string') {
2206
2278
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2207
2279
  return v;
2208
2280
  return Number(v);
2209
- } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
2281
+ } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1)
2210
2282
  }).strict();
2211
2283
  exports.svgSolidFillSchema = exports.svgpropertiesSvgSolidFillSchema;
2212
2284
  /**
@@ -2226,7 +2298,7 @@ exports.svgFillSchema = exports.svgpropertiesSvgFillSchema;
2226
2298
  *
2227
2299
  */
2228
2300
  exports.svgpropertiesSvgStrokeSchema = zod_1.z.object({
2229
- color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#000000"),
2301
+ color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default('#000000'),
2230
2302
  width: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2231
2303
  return undefined; if (Array.isArray(v))
2232
2304
  return v; if (typeof v === 'string') {
@@ -2241,8 +2313,16 @@ exports.svgpropertiesSvgStrokeSchema = zod_1.z.object({
2241
2313
  return v;
2242
2314
  return Number(v);
2243
2315
  } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
2244
- lineCap: zod_1.z.optional(zod_1.z.enum(["butt", "round", "square"])),
2245
- lineJoin: zod_1.z.optional(zod_1.z.enum(["miter", "round", "bevel"])),
2316
+ lineCap: zod_1.z.optional(zod_1.z.enum([
2317
+ 'butt',
2318
+ 'round',
2319
+ 'square'
2320
+ ])),
2321
+ lineJoin: zod_1.z.optional(zod_1.z.enum([
2322
+ 'miter',
2323
+ 'round',
2324
+ 'bevel'
2325
+ ])),
2246
2326
  dashArray: zod_1.z.optional(zod_1.z.array(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2247
2327
  return undefined; if (Array.isArray(v))
2248
2328
  return v; if (typeof v === 'string') {
@@ -2256,7 +2336,7 @@ exports.svgpropertiesSvgStrokeSchema = zod_1.z.object({
2256
2336
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2257
2337
  return v;
2258
2338
  return Number(v);
2259
- } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
2339
+ } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
2260
2340
  }).strict();
2261
2341
  exports.svgStrokeSchema = exports.svgpropertiesSvgStrokeSchema;
2262
2342
  /**
@@ -2305,7 +2385,7 @@ exports.svgpropertiesSvgTransformSchema = zod_1.z.object({
2305
2385
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2306
2386
  return v;
2307
2387
  return Number(v);
2308
- } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5),
2388
+ } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5)
2309
2389
  }).strict();
2310
2390
  exports.svgTransformSchema = exports.svgpropertiesSvgTransformSchema;
2311
2391
  /**
@@ -2314,7 +2394,7 @@ exports.svgTransformSchema = exports.svgpropertiesSvgTransformSchema;
2314
2394
  *
2315
2395
  */
2316
2396
  exports.svgshapesSvgArrowShapeSchema = zod_1.z.object({
2317
- type: zod_1.z.enum(["arrow"]),
2397
+ type: zod_1.z.enum(['arrow']),
2318
2398
  length: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2319
2399
  return undefined; if (Array.isArray(v))
2320
2400
  return v; if (typeof v === 'string') {
@@ -2342,7 +2422,7 @@ exports.svgshapesSvgArrowShapeSchema = zod_1.z.object({
2342
2422
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2343
2423
  return v;
2344
2424
  return Number(v);
2345
- } return v; }), zod_1.z.number().gte(1).lte(1000)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2425
+ } return v; }), zod_1.z.number().gte(1).lte(1000)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
2346
2426
  }).strict();
2347
2427
  exports.svgArrowShapeSchema = exports.svgshapesSvgArrowShapeSchema;
2348
2428
  /**
@@ -2351,14 +2431,14 @@ exports.svgArrowShapeSchema = exports.svgshapesSvgArrowShapeSchema;
2351
2431
  *
2352
2432
  */
2353
2433
  exports.svgshapesSvgCircleShapeSchema = zod_1.z.object({
2354
- type: zod_1.z.enum(["circle"]),
2434
+ type: zod_1.z.enum(['circle']),
2355
2435
  radius: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2356
2436
  return undefined; if (Array.isArray(v))
2357
2437
  return v; if (typeof v === 'string') {
2358
2438
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2359
2439
  return v;
2360
2440
  return Number(v);
2361
- } return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2441
+ } return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
2362
2442
  }).strict();
2363
2443
  exports.svgCircleShapeSchema = exports.svgshapesSvgCircleShapeSchema;
2364
2444
  /**
@@ -2367,7 +2447,7 @@ exports.svgCircleShapeSchema = exports.svgshapesSvgCircleShapeSchema;
2367
2447
  *
2368
2448
  */
2369
2449
  exports.svgshapesSvgCrossShapeSchema = zod_1.z.object({
2370
- type: zod_1.z.enum(["cross"]),
2450
+ type: zod_1.z.enum(['cross']),
2371
2451
  width: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2372
2452
  return undefined; if (Array.isArray(v))
2373
2453
  return v; if (typeof v === 'string') {
@@ -2388,7 +2468,7 @@ exports.svgshapesSvgCrossShapeSchema = zod_1.z.object({
2388
2468
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2389
2469
  return v;
2390
2470
  return Number(v);
2391
- } return v; }), zod_1.z.number().gte(1).lte(500)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2471
+ } return v; }), zod_1.z.number().gte(1).lte(500)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
2392
2472
  }).strict();
2393
2473
  exports.svgCrossShapeSchema = exports.svgshapesSvgCrossShapeSchema;
2394
2474
  /**
@@ -2397,7 +2477,7 @@ exports.svgCrossShapeSchema = exports.svgshapesSvgCrossShapeSchema;
2397
2477
  *
2398
2478
  */
2399
2479
  exports.svgshapesSvgEllipseShapeSchema = zod_1.z.object({
2400
- type: zod_1.z.enum(["ellipse"]),
2480
+ type: zod_1.z.enum(['ellipse']),
2401
2481
  radiusX: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2402
2482
  return undefined; if (Array.isArray(v))
2403
2483
  return v; if (typeof v === 'string') {
@@ -2411,7 +2491,7 @@ exports.svgshapesSvgEllipseShapeSchema = zod_1.z.object({
2411
2491
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2412
2492
  return v;
2413
2493
  return Number(v);
2414
- } return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2494
+ } return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
2415
2495
  }).strict();
2416
2496
  exports.svgEllipseShapeSchema = exports.svgshapesSvgEllipseShapeSchema;
2417
2497
  /**
@@ -2420,14 +2500,14 @@ exports.svgEllipseShapeSchema = exports.svgshapesSvgEllipseShapeSchema;
2420
2500
  *
2421
2501
  */
2422
2502
  exports.svgshapesSvgHeartShapeSchema = zod_1.z.object({
2423
- type: zod_1.z.enum(["heart"]),
2503
+ type: zod_1.z.enum(['heart']),
2424
2504
  size: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2425
2505
  return undefined; if (Array.isArray(v))
2426
2506
  return v; if (typeof v === 'string') {
2427
2507
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2428
2508
  return v;
2429
2509
  return Number(v);
2430
- } return v; }), zod_1.z.number().gte(1).lte(4096)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2510
+ } return v; }), zod_1.z.number().gte(1).lte(4096)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
2431
2511
  }).strict();
2432
2512
  exports.svgHeartShapeSchema = exports.svgshapesSvgHeartShapeSchema;
2433
2513
  /**
@@ -2436,7 +2516,7 @@ exports.svgHeartShapeSchema = exports.svgshapesSvgHeartShapeSchema;
2436
2516
  *
2437
2517
  */
2438
2518
  exports.svgshapesSvgLineShapeSchema = zod_1.z.object({
2439
- type: zod_1.z.enum(["line"]),
2519
+ type: zod_1.z.enum(['line']),
2440
2520
  length: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2441
2521
  return undefined; if (Array.isArray(v))
2442
2522
  return v; if (typeof v === 'string') {
@@ -2450,7 +2530,7 @@ exports.svgshapesSvgLineShapeSchema = zod_1.z.object({
2450
2530
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2451
2531
  return v;
2452
2532
  return Number(v);
2453
- } return v; }), zod_1.z.number().gte(1).lte(500)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2533
+ } return v; }), zod_1.z.number().gte(1).lte(500)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
2454
2534
  }).strict();
2455
2535
  exports.svgLineShapeSchema = exports.svgshapesSvgLineShapeSchema;
2456
2536
  /**
@@ -2471,8 +2551,8 @@ exports.svgLineShapeSchema = exports.svgshapesSvgLineShapeSchema;
2471
2551
  *
2472
2552
  */
2473
2553
  exports.svgshapesSvgPathShapeSchema = zod_1.z.object({
2474
- type: zod_1.z.enum(["path"]),
2475
- d: zod_1.z.string().min(1).max(100000),
2554
+ type: zod_1.z.enum(['path']),
2555
+ d: zod_1.z.string().min(1).max(100000)
2476
2556
  }).strict();
2477
2557
  exports.svgPathShapeSchema = exports.svgshapesSvgPathShapeSchema;
2478
2558
  /**
@@ -2482,7 +2562,7 @@ exports.svgPathShapeSchema = exports.svgshapesSvgPathShapeSchema;
2482
2562
  *
2483
2563
  */
2484
2564
  exports.svgshapesSvgPolygonShapeSchema = zod_1.z.object({
2485
- type: zod_1.z.enum(["polygon"]),
2565
+ type: zod_1.z.enum(['polygon']),
2486
2566
  sides: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2487
2567
  return undefined; if (Array.isArray(v))
2488
2568
  return v; if (typeof v === 'string') {
@@ -2496,7 +2576,7 @@ exports.svgshapesSvgPolygonShapeSchema = zod_1.z.object({
2496
2576
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2497
2577
  return v;
2498
2578
  return Number(v);
2499
- } return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2579
+ } return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
2500
2580
  }).strict();
2501
2581
  exports.svgPolygonShapeSchema = exports.svgshapesSvgPolygonShapeSchema;
2502
2582
  /**
@@ -2505,7 +2585,7 @@ exports.svgPolygonShapeSchema = exports.svgshapesSvgPolygonShapeSchema;
2505
2585
  *
2506
2586
  */
2507
2587
  exports.svgshapesSvgRectangleShapeSchema = zod_1.z.object({
2508
- type: zod_1.z.enum(["rectangle"]),
2588
+ type: zod_1.z.enum(['rectangle']),
2509
2589
  width: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2510
2590
  return undefined; if (Array.isArray(v))
2511
2591
  return v; if (typeof v === 'string') {
@@ -2526,7 +2606,7 @@ exports.svgshapesSvgRectangleShapeSchema = zod_1.z.object({
2526
2606
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2527
2607
  return v;
2528
2608
  return Number(v);
2529
- } return v; }), zod_1.z.number().gte(0).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
2609
+ } return v; }), zod_1.z.number().gte(0).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
2530
2610
  }).strict();
2531
2611
  exports.svgRectangleShapeSchema = exports.svgshapesSvgRectangleShapeSchema;
2532
2612
  /**
@@ -2535,7 +2615,7 @@ exports.svgRectangleShapeSchema = exports.svgshapesSvgRectangleShapeSchema;
2535
2615
  *
2536
2616
  */
2537
2617
  exports.svgshapesSvgRingShapeSchema = zod_1.z.object({
2538
- type: zod_1.z.enum(["ring"]),
2618
+ type: zod_1.z.enum(['ring']),
2539
2619
  outerRadius: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2540
2620
  return undefined; if (Array.isArray(v))
2541
2621
  return v; if (typeof v === 'string') {
@@ -2549,7 +2629,7 @@ exports.svgshapesSvgRingShapeSchema = zod_1.z.object({
2549
2629
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2550
2630
  return v;
2551
2631
  return Number(v);
2552
- } return v; }), zod_1.z.number().gte(0).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2632
+ } return v; }), zod_1.z.number().gte(0).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
2553
2633
  }).strict();
2554
2634
  exports.svgRingShapeSchema = exports.svgshapesSvgRingShapeSchema;
2555
2635
  /**
@@ -2559,7 +2639,7 @@ exports.svgRingShapeSchema = exports.svgshapesSvgRingShapeSchema;
2559
2639
  *
2560
2640
  */
2561
2641
  exports.svgshapesSvgStarShapeSchema = zod_1.z.object({
2562
- type: zod_1.z.enum(["star"]),
2642
+ type: zod_1.z.enum(['star']),
2563
2643
  points: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2564
2644
  return undefined; if (Array.isArray(v))
2565
2645
  return v; if (typeof v === 'string') {
@@ -2580,7 +2660,7 @@ exports.svgshapesSvgStarShapeSchema = zod_1.z.object({
2580
2660
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2581
2661
  return v;
2582
2662
  return Number(v);
2583
- } return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2663
+ } return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
2584
2664
  }).strict();
2585
2665
  exports.svgStarShapeSchema = exports.svgshapesSvgStarShapeSchema;
2586
2666
  /**
@@ -2711,29 +2791,37 @@ exports.svgAssetSchema = exports.svgassetSvgAssetSchema;
2711
2791
  */
2712
2792
  exports.templaterenderTemplateRenderSchema = zod_1.z.object({
2713
2793
  id: zod_1.z.string(),
2714
- merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema)),
2794
+ merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema))
2715
2795
  }).strict();
2716
2796
  exports.templateRenderSchema = exports.templaterenderTemplateRenderSchema;
2717
2797
  /**
2718
2798
  * Horizontal and vertical alignment properties for text.
2719
2799
  */
2720
2800
  exports.textpropertiesTextAlignmentSchema = zod_1.z.object({
2721
- horizontal: zod_1.z.optional(zod_1.z.enum(["left", "center", "right"])),
2722
- vertical: zod_1.z.optional(zod_1.z.enum(["top", "center", "bottom"])),
2801
+ horizontal: zod_1.z.optional(zod_1.z.enum([
2802
+ 'left',
2803
+ 'center',
2804
+ 'right'
2805
+ ])),
2806
+ vertical: zod_1.z.optional(zod_1.z.enum([
2807
+ 'top',
2808
+ 'center',
2809
+ 'bottom'
2810
+ ]))
2723
2811
  }).strict();
2724
2812
  exports.textAlignmentSchema = exports.textpropertiesTextAlignmentSchema;
2725
2813
  /**
2726
2814
  * Animation properties for text entrance effects.
2727
2815
  */
2728
2816
  exports.textpropertiesTextAnimationSchema = zod_1.z.object({
2729
- preset: zod_1.z.enum(["typewriter"]),
2817
+ preset: zod_1.z.enum(['typewriter']),
2730
2818
  duration: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2731
2819
  return undefined; if (Array.isArray(v))
2732
2820
  return v; if (typeof v === 'string') {
2733
2821
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2734
2822
  return v;
2735
2823
  return Number(v);
2736
- } return v; }), zod_1.z.number().gte(0.1).lte(30)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2824
+ } return v; }), zod_1.z.number().gte(0.1).lte(30)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
2737
2825
  }).strict();
2738
2826
  /**
2739
2827
  * Displays a background box behind the text.
@@ -2760,7 +2848,7 @@ exports.textpropertiesTextBackgroundSchema = zod_1.z.object({
2760
2848
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2761
2849
  return v;
2762
2850
  return Number(v);
2763
- } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2851
+ } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
2764
2852
  }).strict();
2765
2853
  exports.textBackgroundSchema = exports.textpropertiesTextBackgroundSchema;
2766
2854
  /**
@@ -2796,7 +2884,7 @@ exports.textpropertiesTextFontSchema = zod_1.z.object({
2796
2884
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2797
2885
  return v;
2798
2886
  return Number(v);
2799
- } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2887
+ } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
2800
2888
  }).strict();
2801
2889
  exports.textFontSchema = exports.textpropertiesTextFontSchema;
2802
2890
  /**
@@ -2810,7 +2898,7 @@ exports.textpropertiesTextStrokeSchema = zod_1.z.object({
2810
2898
  return v;
2811
2899
  return Number(v);
2812
2900
  } return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2813
- color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2901
+ color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
2814
2902
  }).strict();
2815
2903
  /**
2816
2904
  * The TextAsset is used to add text and titles to a video. The text can be styled with built in and custom
@@ -2818,7 +2906,7 @@ exports.textpropertiesTextStrokeSchema = zod_1.z.object({
2818
2906
  *
2819
2907
  */
2820
2908
  exports.textassetTextAssetSchema = zod_1.z.object({
2821
- type: zod_1.z.enum(["text"]),
2909
+ type: zod_1.z.enum(['text']),
2822
2910
  text: zod_1.z.string(),
2823
2911
  width: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2824
2912
  return undefined; if (Array.isArray(v))
@@ -2839,14 +2927,14 @@ exports.textassetTextAssetSchema = zod_1.z.object({
2839
2927
  alignment: zod_1.z.optional(exports.textpropertiesTextAlignmentSchema),
2840
2928
  stroke: zod_1.z.optional(exports.textpropertiesTextStrokeSchema),
2841
2929
  animation: zod_1.z.optional(exports.textpropertiesTextAnimationSchema),
2842
- ellipsis: zod_1.z.optional(zod_1.z.string()),
2930
+ ellipsis: zod_1.z.optional(zod_1.z.string())
2843
2931
  }).strict();
2844
2932
  exports.textAssetSchema = exports.textassetTextAssetSchema;
2845
2933
  /**
2846
2934
  * The TextToImageAsset lets you create a dynamic image from a text prompt.
2847
2935
  */
2848
2936
  exports.texttoimageassetTextToImageAssetSchema = zod_1.z.object({
2849
- type: zod_1.z.enum(["text-to-image"]),
2937
+ type: zod_1.z.enum(['text-to-image']),
2850
2938
  prompt: zod_1.z.string(),
2851
2939
  width: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2852
2940
  return undefined; if (Array.isArray(v))
@@ -2862,7 +2950,7 @@ exports.texttoimageassetTextToImageAssetSchema = zod_1.z.object({
2862
2950
  return v;
2863
2951
  return Number(v);
2864
2952
  } return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2865
- crop: zod_1.z.optional(exports.cropCropSchema),
2953
+ crop: zod_1.z.optional(exports.cropCropSchema)
2866
2954
  }).strict();
2867
2955
  exports.textToImageAssetSchema = exports.texttoimageassetTextToImageAssetSchema;
2868
2956
  /**
@@ -2882,16 +2970,36 @@ exports.thumbnailThumbnailSchema = zod_1.z.object({
2882
2970
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2883
2971
  return v;
2884
2972
  return Number(v);
2885
- } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2973
+ } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
2886
2974
  }).strict();
2887
2975
  exports.thumbnailSchema = exports.thumbnailThumbnailSchema;
2888
2976
  /**
2889
2977
  * The output format, render range and type of media to generate.
2890
2978
  */
2891
2979
  exports.outputOutputSchema = zod_1.z.object({
2892
- format: zod_1.z.enum(["mp4", "gif", "mp3", "jpg", "png", "bmp"]),
2893
- resolution: zod_1.z.optional(zod_1.z.enum(["preview", "mobile", "sd", "hd", "1080", "4k"])),
2894
- aspectRatio: zod_1.z.optional(zod_1.z.enum(["16:9", "9:16", "1:1", "4:5", "4:3"])),
2980
+ format: zod_1.z.enum([
2981
+ 'mp4',
2982
+ 'gif',
2983
+ 'mp3',
2984
+ 'jpg',
2985
+ 'png',
2986
+ 'bmp'
2987
+ ]),
2988
+ resolution: zod_1.z.optional(zod_1.z.enum([
2989
+ 'preview',
2990
+ 'mobile',
2991
+ 'sd',
2992
+ 'hd',
2993
+ '1080',
2994
+ '4k'
2995
+ ])),
2996
+ aspectRatio: zod_1.z.optional(zod_1.z.enum([
2997
+ '16:9',
2998
+ '9:16',
2999
+ '1:1',
3000
+ '4:5',
3001
+ '4:3'
3002
+ ])),
2895
3003
  size: zod_1.z.optional(exports.sizeSizeSchema),
2896
3004
  fps: zod_1.z.optional(zod_1.z.union([
2897
3005
  zod_1.z.literal(12),
@@ -2904,16 +3012,29 @@ exports.outputOutputSchema = zod_1.z.object({
2904
3012
  zod_1.z.literal(48),
2905
3013
  zod_1.z.literal(50),
2906
3014
  zod_1.z.literal(59.94),
2907
- zod_1.z.literal(60),
3015
+ zod_1.z.literal(60)
3016
+ ])),
3017
+ scaleTo: zod_1.z.optional(zod_1.z.enum([
3018
+ 'preview',
3019
+ 'mobile',
3020
+ 'sd',
3021
+ 'hd',
3022
+ '1080',
3023
+ '4k'
3024
+ ])),
3025
+ quality: zod_1.z.optional(zod_1.z.enum([
3026
+ 'verylow',
3027
+ 'low',
3028
+ 'medium',
3029
+ 'high',
3030
+ 'veryhigh'
2908
3031
  ])),
2909
- scaleTo: zod_1.z.optional(zod_1.z.enum(["preview", "mobile", "sd", "hd", "1080", "4k"])),
2910
- quality: zod_1.z.optional(zod_1.z.enum(["verylow", "low", "medium", "high", "veryhigh"])),
2911
3032
  repeat: zod_1.z.optional(zod_1.z.boolean()),
2912
3033
  mute: zod_1.z.optional(zod_1.z.boolean()),
2913
3034
  range: zod_1.z.optional(exports.rangeRangeSchema),
2914
3035
  poster: zod_1.z.optional(exports.posterPosterSchema),
2915
3036
  thumbnail: zod_1.z.optional(exports.thumbnailThumbnailSchema),
2916
- destinations: zod_1.z.optional(zod_1.z.array(exports.destinationsDestinationsSchema)),
3037
+ destinations: zod_1.z.optional(zod_1.z.array(exports.destinationsDestinationsSchema))
2917
3038
  }).strict();
2918
3039
  exports.outputSchema = exports.outputOutputSchema;
2919
3040
  /**
@@ -2921,133 +3042,133 @@ exports.outputSchema = exports.outputOutputSchema;
2921
3042
  */
2922
3043
  exports.transitionTransitionSchema = zod_1.z.object({
2923
3044
  in: zod_1.z.optional(zod_1.z.enum([
2924
- "none",
2925
- "fade",
2926
- "fadeSlow",
2927
- "fadeFast",
2928
- "reveal",
2929
- "revealSlow",
2930
- "revealFast",
2931
- "wipeLeft",
2932
- "wipeLeftSlow",
2933
- "wipeLeftFast",
2934
- "wipeRight",
2935
- "wipeRightSlow",
2936
- "wipeRightFast",
2937
- "slideLeft",
2938
- "slideLeftSlow",
2939
- "slideLeftFast",
2940
- "slideRight",
2941
- "slideRightSlow",
2942
- "slideRightFast",
2943
- "slideUp",
2944
- "slideUpSlow",
2945
- "slideUpFast",
2946
- "slideDown",
2947
- "slideDownSlow",
2948
- "slideDownFast",
2949
- "carouselLeft",
2950
- "carouselLeftSlow",
2951
- "carouselLeftFast",
2952
- "carouselRight",
2953
- "carouselRightSlow",
2954
- "carouselRightFast",
2955
- "carouselUp",
2956
- "carouselUpSlow",
2957
- "carouselUpFast",
2958
- "carouselDown",
2959
- "carouselDownSlow",
2960
- "carouselDownFast",
2961
- "shuffleTopRight",
2962
- "shuffleTopRightSlow",
2963
- "shuffleTopRightFast",
2964
- "shuffleRightTop",
2965
- "shuffleRightTopSlow",
2966
- "shuffleRightTopFast",
2967
- "shuffleRightBottom",
2968
- "shuffleRightBottomSlow",
2969
- "shuffleRightBottomFast",
2970
- "shuffleBottomRight",
2971
- "shuffleBottomRightSlow",
2972
- "shuffleBottomRightFast",
2973
- "shuffleBottomLeft",
2974
- "shuffleBottomLeftSlow",
2975
- "shuffleBottomLeftFast",
2976
- "shuffleLeftBottom",
2977
- "shuffleLeftBottomSlow",
2978
- "shuffleLeftBottomFast",
2979
- "shuffleLeftTop",
2980
- "shuffleLeftTopSlow",
2981
- "shuffleLeftTopFast",
2982
- "shuffleTopLeft",
2983
- "shuffleTopLeftSlow",
2984
- "shuffleTopLeftFast",
2985
- "zoom",
3045
+ 'none',
3046
+ 'fade',
3047
+ 'fadeSlow',
3048
+ 'fadeFast',
3049
+ 'reveal',
3050
+ 'revealSlow',
3051
+ 'revealFast',
3052
+ 'wipeLeft',
3053
+ 'wipeLeftSlow',
3054
+ 'wipeLeftFast',
3055
+ 'wipeRight',
3056
+ 'wipeRightSlow',
3057
+ 'wipeRightFast',
3058
+ 'slideLeft',
3059
+ 'slideLeftSlow',
3060
+ 'slideLeftFast',
3061
+ 'slideRight',
3062
+ 'slideRightSlow',
3063
+ 'slideRightFast',
3064
+ 'slideUp',
3065
+ 'slideUpSlow',
3066
+ 'slideUpFast',
3067
+ 'slideDown',
3068
+ 'slideDownSlow',
3069
+ 'slideDownFast',
3070
+ 'carouselLeft',
3071
+ 'carouselLeftSlow',
3072
+ 'carouselLeftFast',
3073
+ 'carouselRight',
3074
+ 'carouselRightSlow',
3075
+ 'carouselRightFast',
3076
+ 'carouselUp',
3077
+ 'carouselUpSlow',
3078
+ 'carouselUpFast',
3079
+ 'carouselDown',
3080
+ 'carouselDownSlow',
3081
+ 'carouselDownFast',
3082
+ 'shuffleTopRight',
3083
+ 'shuffleTopRightSlow',
3084
+ 'shuffleTopRightFast',
3085
+ 'shuffleRightTop',
3086
+ 'shuffleRightTopSlow',
3087
+ 'shuffleRightTopFast',
3088
+ 'shuffleRightBottom',
3089
+ 'shuffleRightBottomSlow',
3090
+ 'shuffleRightBottomFast',
3091
+ 'shuffleBottomRight',
3092
+ 'shuffleBottomRightSlow',
3093
+ 'shuffleBottomRightFast',
3094
+ 'shuffleBottomLeft',
3095
+ 'shuffleBottomLeftSlow',
3096
+ 'shuffleBottomLeftFast',
3097
+ 'shuffleLeftBottom',
3098
+ 'shuffleLeftBottomSlow',
3099
+ 'shuffleLeftBottomFast',
3100
+ 'shuffleLeftTop',
3101
+ 'shuffleLeftTopSlow',
3102
+ 'shuffleLeftTopFast',
3103
+ 'shuffleTopLeft',
3104
+ 'shuffleTopLeftSlow',
3105
+ 'shuffleTopLeftFast',
3106
+ 'zoom'
2986
3107
  ])),
2987
3108
  out: zod_1.z.optional(zod_1.z.enum([
2988
- "none",
2989
- "fade",
2990
- "fadeSlow",
2991
- "fadeFast",
2992
- "reveal",
2993
- "revealSlow",
2994
- "revealFast",
2995
- "wipeLeft",
2996
- "wipeLeftSlow",
2997
- "wipeLeftFast",
2998
- "wipeRight",
2999
- "wipeRightSlow",
3000
- "wipeRightFast",
3001
- "slideLeft",
3002
- "slideLeftSlow",
3003
- "slideLeftFast",
3004
- "slideRight",
3005
- "slideRightSlow",
3006
- "slideRightFast",
3007
- "slideUp",
3008
- "slideUpSlow",
3009
- "slideUpFast",
3010
- "slideDown",
3011
- "slideDownSlow",
3012
- "slideDownFast",
3013
- "carouselLeft",
3014
- "carouselLeftSlow",
3015
- "carouselLeftFast",
3016
- "carouselRight",
3017
- "carouselRightSlow",
3018
- "carouselRightFast",
3019
- "carouselUp",
3020
- "carouselUpSlow",
3021
- "carouselUpFast",
3022
- "carouselDown",
3023
- "carouselDownSlow",
3024
- "carouselDownFast",
3025
- "shuffleTopRight",
3026
- "shuffleTopRightSlow",
3027
- "shuffleTopRightFast",
3028
- "shuffleRightTop",
3029
- "shuffleRightTopSlow",
3030
- "shuffleRightTopFast",
3031
- "shuffleRightBottom",
3032
- "shuffleRightBottomSlow",
3033
- "shuffleRightBottomFast",
3034
- "shuffleBottomRight",
3035
- "shuffleBottomRightSlow",
3036
- "shuffleBottomRightFast",
3037
- "shuffleBottomLeft",
3038
- "shuffleBottomLeftSlow",
3039
- "shuffleBottomLeftFast",
3040
- "shuffleLeftBottom",
3041
- "shuffleLeftBottomSlow",
3042
- "shuffleLeftBottomFast",
3043
- "shuffleLeftTop",
3044
- "shuffleLeftTopSlow",
3045
- "shuffleLeftTopFast",
3046
- "shuffleTopLeft",
3047
- "shuffleTopLeftSlow",
3048
- "shuffleTopLeftFast",
3049
- "zoom",
3050
- ])),
3109
+ 'none',
3110
+ 'fade',
3111
+ 'fadeSlow',
3112
+ 'fadeFast',
3113
+ 'reveal',
3114
+ 'revealSlow',
3115
+ 'revealFast',
3116
+ 'wipeLeft',
3117
+ 'wipeLeftSlow',
3118
+ 'wipeLeftFast',
3119
+ 'wipeRight',
3120
+ 'wipeRightSlow',
3121
+ 'wipeRightFast',
3122
+ 'slideLeft',
3123
+ 'slideLeftSlow',
3124
+ 'slideLeftFast',
3125
+ 'slideRight',
3126
+ 'slideRightSlow',
3127
+ 'slideRightFast',
3128
+ 'slideUp',
3129
+ 'slideUpSlow',
3130
+ 'slideUpFast',
3131
+ 'slideDown',
3132
+ 'slideDownSlow',
3133
+ 'slideDownFast',
3134
+ 'carouselLeft',
3135
+ 'carouselLeftSlow',
3136
+ 'carouselLeftFast',
3137
+ 'carouselRight',
3138
+ 'carouselRightSlow',
3139
+ 'carouselRightFast',
3140
+ 'carouselUp',
3141
+ 'carouselUpSlow',
3142
+ 'carouselUpFast',
3143
+ 'carouselDown',
3144
+ 'carouselDownSlow',
3145
+ 'carouselDownFast',
3146
+ 'shuffleTopRight',
3147
+ 'shuffleTopRightSlow',
3148
+ 'shuffleTopRightFast',
3149
+ 'shuffleRightTop',
3150
+ 'shuffleRightTopSlow',
3151
+ 'shuffleRightTopFast',
3152
+ 'shuffleRightBottom',
3153
+ 'shuffleRightBottomSlow',
3154
+ 'shuffleRightBottomFast',
3155
+ 'shuffleBottomRight',
3156
+ 'shuffleBottomRightSlow',
3157
+ 'shuffleBottomRightFast',
3158
+ 'shuffleBottomLeft',
3159
+ 'shuffleBottomLeftSlow',
3160
+ 'shuffleBottomLeftFast',
3161
+ 'shuffleLeftBottom',
3162
+ 'shuffleLeftBottomSlow',
3163
+ 'shuffleLeftBottomFast',
3164
+ 'shuffleLeftTop',
3165
+ 'shuffleLeftTopSlow',
3166
+ 'shuffleLeftTopFast',
3167
+ 'shuffleTopLeft',
3168
+ 'shuffleTopLeftSlow',
3169
+ 'shuffleTopLeftFast',
3170
+ 'zoom'
3171
+ ]))
3051
3172
  }).strict();
3052
3173
  exports.transitionSchema = exports.transitionTransitionSchema;
3053
3174
  /**
@@ -3077,44 +3198,48 @@ exports.tweenTweenSchema = zod_1.z.object({
3077
3198
  return v;
3078
3199
  return Number(v);
3079
3200
  } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
3080
- interpolation: zod_1.z.optional(zod_1.z.enum(["linear", "bezier", "constant"])),
3081
- easing: zod_1.z.optional(zod_1.z.enum([
3082
- "ease",
3083
- "easeIn",
3084
- "easeOut",
3085
- "easeInOut",
3086
- "easeInQuad",
3087
- "easeInCubic",
3088
- "easeInQuart",
3089
- "easeInQuint",
3090
- "easeInSine",
3091
- "easeInExpo",
3092
- "easeInCirc",
3093
- "easeInBack",
3094
- "easeOutQuad",
3095
- "easeOutCubic",
3096
- "easeOutQuart",
3097
- "easeOutQuint",
3098
- "easeOutSine",
3099
- "easeOutExpo",
3100
- "easeOutCirc",
3101
- "easeOutBack",
3102
- "easeInOutQuad",
3103
- "easeInOutCubic",
3104
- "easeInOutQuart",
3105
- "easeInOutQuint",
3106
- "easeInOutSine",
3107
- "easeInOutExpo",
3108
- "easeInOutCirc",
3109
- "easeInOutBack",
3201
+ interpolation: zod_1.z.optional(zod_1.z.enum([
3202
+ 'linear',
3203
+ 'bezier',
3204
+ 'constant'
3110
3205
  ])),
3206
+ easing: zod_1.z.optional(zod_1.z.enum([
3207
+ 'ease',
3208
+ 'easeIn',
3209
+ 'easeOut',
3210
+ 'easeInOut',
3211
+ 'easeInQuad',
3212
+ 'easeInCubic',
3213
+ 'easeInQuart',
3214
+ 'easeInQuint',
3215
+ 'easeInSine',
3216
+ 'easeInExpo',
3217
+ 'easeInCirc',
3218
+ 'easeInBack',
3219
+ 'easeOutQuad',
3220
+ 'easeOutCubic',
3221
+ 'easeOutQuart',
3222
+ 'easeOutQuint',
3223
+ 'easeOutSine',
3224
+ 'easeOutExpo',
3225
+ 'easeOutCirc',
3226
+ 'easeOutBack',
3227
+ 'easeInOutQuad',
3228
+ 'easeInOutCubic',
3229
+ 'easeInOutQuart',
3230
+ 'easeInOutQuint',
3231
+ 'easeInOutSine',
3232
+ 'easeInOutExpo',
3233
+ 'easeInOutCirc',
3234
+ 'easeInOutBack'
3235
+ ]))
3111
3236
  }).strict();
3112
3237
  exports.tweenSchema = exports.tweenTweenSchema;
3113
3238
  /**
3114
3239
  * The AudioAsset is used to add sound effects and audio at specific intervals on the timeline. The src must be a publicly accessible URL to an audio resource such as an mp3 file.
3115
3240
  */
3116
3241
  exports.audioassetAudioAssetSchema = zod_1.z.object({
3117
- type: zod_1.z.enum(["audio"]),
3242
+ type: zod_1.z.enum(['audio']),
3118
3243
  src: zod_1.z.string().min(1).regex(/\S/),
3119
3244
  trim: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3120
3245
  return undefined; if (Array.isArray(v))
@@ -3123,13 +3248,16 @@ exports.audioassetAudioAssetSchema = zod_1.z.object({
3123
3248
  return v;
3124
3249
  return Number(v);
3125
3250
  } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
3126
- volume: zod_1.z.optional(zod_1.z.union([zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3251
+ volume: zod_1.z.optional(zod_1.z.union([
3252
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3127
3253
  return undefined; if (Array.isArray(v))
3128
3254
  return v; if (typeof v === 'string') {
3129
3255
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
3130
3256
  return v;
3131
3257
  return Number(v);
3132
- } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
3258
+ } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
3259
+ zod_1.z.array(exports.tweenTweenSchema)
3260
+ ])),
3133
3261
  speed: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3134
3262
  return undefined; if (Array.isArray(v))
3135
3263
  return v; if (typeof v === 'string') {
@@ -3137,67 +3265,87 @@ exports.audioassetAudioAssetSchema = zod_1.z.object({
3137
3265
  return v;
3138
3266
  return Number(v);
3139
3267
  } return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
3140
- effect: zod_1.z.optional(zod_1.z.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
3268
+ effect: zod_1.z.optional(zod_1.z.enum([
3269
+ 'none',
3270
+ 'fadeIn',
3271
+ 'fadeOut',
3272
+ 'fadeInFadeOut'
3273
+ ]))
3141
3274
  }).strict();
3142
3275
  exports.audioAssetSchema = exports.audioassetAudioAssetSchema;
3143
3276
  /**
3144
3277
  * Offsets the position of an asset horizontally or vertically by a relative distance.
3145
3278
  */
3146
3279
  exports.offsetOffsetSchema = zod_1.z.object({
3147
- x: zod_1.z.optional(zod_1.z.union([zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3280
+ x: zod_1.z.optional(zod_1.z.union([
3281
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3148
3282
  return undefined; if (Array.isArray(v))
3149
3283
  return v; if (typeof v === 'string') {
3150
3284
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
3151
3285
  return v;
3152
3286
  return Number(v);
3153
- } return v; }), zod_1.z.number().gte(-10).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
3154
- y: zod_1.z.optional(zod_1.z.union([zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3287
+ } return v; }), zod_1.z.number().gte(-10).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
3288
+ zod_1.z.array(exports.tweenTweenSchema)
3289
+ ])),
3290
+ y: zod_1.z.optional(zod_1.z.union([
3291
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3155
3292
  return undefined; if (Array.isArray(v))
3156
3293
  return v; if (typeof v === 'string') {
3157
3294
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
3158
3295
  return v;
3159
3296
  return Number(v);
3160
- } return v; }), zod_1.z.number().gte(-10).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
3297
+ } return v; }), zod_1.z.number().gte(-10).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
3298
+ zod_1.z.array(exports.tweenTweenSchema)
3299
+ ]))
3161
3300
  }).strict();
3162
3301
  exports.offsetSchema = exports.offsetOffsetSchema;
3163
3302
  /**
3164
3303
  * Rotate a clip by the specified angle in degrees. Rotation origin is set based on the clips `position`.
3165
3304
  */
3166
3305
  exports.rotatetransformationRotateTransformationSchema = zod_1.z.object({
3167
- angle: zod_1.z.optional(zod_1.z.union([zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3306
+ angle: zod_1.z.optional(zod_1.z.union([
3307
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3168
3308
  return undefined; if (Array.isArray(v))
3169
3309
  return v; if (typeof v === 'string') {
3170
3310
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
3171
3311
  return v;
3172
3312
  return Number(v);
3173
- } return v; }), zod_1.z.number().gte(-360).lte(360)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
3313
+ } return v; }), zod_1.z.number().gte(-360).lte(360)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
3314
+ zod_1.z.array(exports.tweenTweenSchema)
3315
+ ]))
3174
3316
  }).strict();
3175
3317
  exports.rotateTransformationSchema = exports.rotatetransformationRotateTransformationSchema;
3176
3318
  /**
3177
3319
  * Skew a clip so its edges are sheared at an angle. Use values between -100 and 100. Values over 3 or under -3 will skew the clip almost flat.
3178
3320
  */
3179
3321
  exports.skewtransformationSkewTransformationSchema = zod_1.z.object({
3180
- x: zod_1.z.optional(zod_1.z.union([zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3322
+ x: zod_1.z.optional(zod_1.z.union([
3323
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3181
3324
  return undefined; if (Array.isArray(v))
3182
3325
  return v; if (typeof v === 'string') {
3183
3326
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
3184
3327
  return v;
3185
3328
  return Number(v);
3186
- } return v; }), zod_1.z.number().gte(-100).lte(100)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
3187
- y: zod_1.z.optional(zod_1.z.union([zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3329
+ } return v; }), zod_1.z.number().gte(-100).lte(100)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
3330
+ zod_1.z.array(exports.tweenTweenSchema)
3331
+ ])),
3332
+ y: zod_1.z.optional(zod_1.z.union([
3333
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3188
3334
  return undefined; if (Array.isArray(v))
3189
3335
  return v; if (typeof v === 'string') {
3190
3336
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
3191
3337
  return v;
3192
3338
  return Number(v);
3193
- } return v; }), zod_1.z.number().gte(-100).lte(100)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
3339
+ } return v; }), zod_1.z.number().gte(-100).lte(100)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
3340
+ zod_1.z.array(exports.tweenTweenSchema)
3341
+ ]))
3194
3342
  }).strict();
3195
3343
  exports.skewTransformationSchema = exports.skewtransformationSkewTransformationSchema;
3196
3344
  /**
3197
3345
  * The TextToSpeechAsset lets you generate a voice over from text using a text-to-speech service. The generated audio can be trimmed, faded and have its volume and speed adjusted using the same properties available on the AudioAsset.
3198
3346
  */
3199
3347
  exports.texttospeechassetTextToSpeechAssetSchema = zod_1.z.object({
3200
- type: zod_1.z.enum(["text-to-speech"]),
3348
+ type: zod_1.z.enum(['text-to-speech']),
3201
3349
  text: zod_1.z.string(),
3202
3350
  voice: zod_1.z.string(),
3203
3351
  language: zod_1.z.optional(zod_1.z.string()),
@@ -3209,13 +3357,16 @@ exports.texttospeechassetTextToSpeechAssetSchema = zod_1.z.object({
3209
3357
  return v;
3210
3358
  return Number(v);
3211
3359
  } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
3212
- volume: zod_1.z.optional(zod_1.z.union([zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3360
+ volume: zod_1.z.optional(zod_1.z.union([
3361
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3213
3362
  return undefined; if (Array.isArray(v))
3214
3363
  return v; if (typeof v === 'string') {
3215
3364
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
3216
3365
  return v;
3217
3366
  return Number(v);
3218
- } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
3367
+ } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
3368
+ zod_1.z.array(exports.tweenTweenSchema)
3369
+ ])),
3219
3370
  speed: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3220
3371
  return undefined; if (Array.isArray(v))
3221
3372
  return v; if (typeof v === 'string') {
@@ -3223,7 +3374,12 @@ exports.texttospeechassetTextToSpeechAssetSchema = zod_1.z.object({
3223
3374
  return v;
3224
3375
  return Number(v);
3225
3376
  } return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
3226
- effect: zod_1.z.optional(zod_1.z.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
3377
+ effect: zod_1.z.optional(zod_1.z.enum([
3378
+ 'none',
3379
+ 'fadeIn',
3380
+ 'fadeOut',
3381
+ 'fadeInFadeOut'
3382
+ ]))
3227
3383
  }).strict();
3228
3384
  exports.textToSpeechAssetSchema = exports.texttospeechassetTextToSpeechAssetSchema;
3229
3385
  /**
@@ -3235,43 +3391,43 @@ exports.textToSpeechAssetSchema = exports.texttospeechassetTextToSpeechAssetSche
3235
3391
  * @deprecated
3236
3392
  */
3237
3393
  exports.titleassetTitleAssetSchema = zod_1.z.object({
3238
- type: zod_1.z.enum(["title"]),
3394
+ type: zod_1.z.enum(['title']),
3239
3395
  text: zod_1.z.string(),
3240
3396
  style: zod_1.z.optional(zod_1.z.enum([
3241
- "minimal",
3242
- "blockbuster",
3243
- "vogue",
3244
- "sketchy",
3245
- "skinny",
3246
- "chunk",
3247
- "chunkLight",
3248
- "marker",
3249
- "future",
3250
- "subtitle",
3397
+ 'minimal',
3398
+ 'blockbuster',
3399
+ 'vogue',
3400
+ 'sketchy',
3401
+ 'skinny',
3402
+ 'chunk',
3403
+ 'chunkLight',
3404
+ 'marker',
3405
+ 'future',
3406
+ 'subtitle'
3251
3407
  ])),
3252
3408
  color: zod_1.z.optional(zod_1.z.string()),
3253
3409
  size: zod_1.z.optional(zod_1.z.enum([
3254
- "xx-small",
3255
- "x-small",
3256
- "small",
3257
- "medium",
3258
- "large",
3259
- "x-large",
3260
- "xx-large",
3410
+ 'xx-small',
3411
+ 'x-small',
3412
+ 'small',
3413
+ 'medium',
3414
+ 'large',
3415
+ 'x-large',
3416
+ 'xx-large'
3261
3417
  ])),
3262
3418
  background: zod_1.z.optional(zod_1.z.string()),
3263
3419
  position: zod_1.z.optional(zod_1.z.enum([
3264
- "top",
3265
- "topRight",
3266
- "right",
3267
- "bottomRight",
3268
- "bottom",
3269
- "bottomLeft",
3270
- "left",
3271
- "topLeft",
3272
- "center",
3420
+ 'top',
3421
+ 'topRight',
3422
+ 'right',
3423
+ 'bottomRight',
3424
+ 'bottom',
3425
+ 'bottomLeft',
3426
+ 'left',
3427
+ 'topLeft',
3428
+ 'center'
3273
3429
  ])),
3274
- offset: zod_1.z.optional(exports.offsetOffsetSchema),
3430
+ offset: zod_1.z.optional(exports.offsetOffsetSchema)
3275
3431
  }).strict();
3276
3432
  exports.titleAssetSchema = exports.titleassetTitleAssetSchema;
3277
3433
  /**
@@ -3280,14 +3436,14 @@ exports.titleAssetSchema = exports.titleassetTitleAssetSchema;
3280
3436
  exports.transformationTransformationSchema = zod_1.z.object({
3281
3437
  rotate: zod_1.z.optional(exports.rotatetransformationRotateTransformationSchema),
3282
3438
  skew: zod_1.z.optional(exports.skewtransformationSkewTransformationSchema),
3283
- flip: zod_1.z.optional(exports.fliptransformationFlipTransformationSchema),
3439
+ flip: zod_1.z.optional(exports.fliptransformationFlipTransformationSchema)
3284
3440
  }).strict();
3285
3441
  exports.transformationSchema = exports.transformationTransformationSchema;
3286
3442
  /**
3287
3443
  * The VideoAsset is used to create video sequences from video files. The src must be a publicly accessible URL to a video resource such as an mp4 file.
3288
3444
  */
3289
3445
  exports.videoassetVideoAssetSchema = zod_1.z.object({
3290
- type: zod_1.z.enum(["video"]),
3446
+ type: zod_1.z.enum(['video']),
3291
3447
  src: zod_1.z.string().min(1).regex(/\S/),
3292
3448
  transcode: zod_1.z.optional(zod_1.z.boolean()),
3293
3449
  trim: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -3297,14 +3453,22 @@ exports.videoassetVideoAssetSchema = zod_1.z.object({
3297
3453
  return v;
3298
3454
  return Number(v);
3299
3455
  } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
3300
- volume: zod_1.z.optional(zod_1.z.union([zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3456
+ volume: zod_1.z.optional(zod_1.z.union([
3457
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3301
3458
  return undefined; if (Array.isArray(v))
3302
3459
  return v; if (typeof v === 'string') {
3303
3460
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
3304
3461
  return v;
3305
3462
  return Number(v);
3306
- } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
3307
- volumeEffect: zod_1.z.optional(zod_1.z.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
3463
+ } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
3464
+ zod_1.z.array(exports.tweenTweenSchema)
3465
+ ])),
3466
+ volumeEffect: zod_1.z.optional(zod_1.z.enum([
3467
+ 'none',
3468
+ 'fadeIn',
3469
+ 'fadeOut',
3470
+ 'fadeInFadeOut'
3471
+ ])),
3308
3472
  speed: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3309
3473
  return undefined; if (Array.isArray(v))
3310
3474
  return v; if (typeof v === 'string') {
@@ -3313,7 +3477,7 @@ exports.videoassetVideoAssetSchema = zod_1.z.object({
3313
3477
  return Number(v);
3314
3478
  } return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
3315
3479
  crop: zod_1.z.optional(exports.cropCropSchema),
3316
- chromaKey: zod_1.z.optional(exports.chromakeyChromaKeySchema),
3480
+ chromaKey: zod_1.z.optional(exports.chromakeyChromaKeySchema)
3317
3481
  }).strict();
3318
3482
  exports.videoAssetSchema = exports.videoassetVideoAssetSchema;
3319
3483
  /**
@@ -3350,7 +3514,7 @@ exports.clipClipSchema = zod_1.z.object({
3350
3514
  return v;
3351
3515
  return Number(v);
3352
3516
  } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
3353
- zod_1.z.union([zod_1.z.string().regex(/^(auto|alias:\/\/[A-Za-z0-9_-]+)$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
3517
+ zod_1.z.union([zod_1.z.string().regex(/^(auto|alias:\/\/[A-Za-z0-9_-]+)$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
3354
3518
  ]),
3355
3519
  length: zod_1.z.union([
3356
3520
  zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -3360,16 +3524,24 @@ exports.clipClipSchema = zod_1.z.object({
3360
3524
  return v;
3361
3525
  return Number(v);
3362
3526
  } return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
3363
- zod_1.z.union([zod_1.z.string().regex(/^(auto|end|alias:\/\/[A-Za-z0-9_-]+)$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
3527
+ zod_1.z.union([zod_1.z.string().regex(/^(auto|end|alias:\/\/[A-Za-z0-9_-]+)$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
3364
3528
  ]),
3365
- fit: zod_1.z.optional(zod_1.z.enum(["cover", "contain", "crop", "none"])),
3366
- scale: zod_1.z.optional(zod_1.z.union([zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3529
+ fit: zod_1.z.optional(zod_1.z.enum([
3530
+ 'cover',
3531
+ 'contain',
3532
+ 'crop',
3533
+ 'none'
3534
+ ])),
3535
+ scale: zod_1.z.optional(zod_1.z.union([
3536
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3367
3537
  return undefined; if (Array.isArray(v))
3368
3538
  return v; if (typeof v === 'string') {
3369
3539
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
3370
3540
  return v;
3371
3541
  return Number(v);
3372
- } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
3542
+ } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
3543
+ zod_1.z.array(exports.tweenTweenSchema)
3544
+ ])),
3373
3545
  width: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3374
3546
  return undefined; if (Array.isArray(v))
3375
3547
  return v; if (typeof v === 'string') {
@@ -3385,58 +3557,61 @@ exports.clipClipSchema = zod_1.z.object({
3385
3557
  return Number(v);
3386
3558
  } return v; }), zod_1.z.number().gte(1).lte(2160)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
3387
3559
  position: zod_1.z.optional(zod_1.z.enum([
3388
- "top",
3389
- "topRight",
3390
- "right",
3391
- "bottomRight",
3392
- "bottom",
3393
- "bottomLeft",
3394
- "left",
3395
- "topLeft",
3396
- "center",
3560
+ 'top',
3561
+ 'topRight',
3562
+ 'right',
3563
+ 'bottomRight',
3564
+ 'bottom',
3565
+ 'bottomLeft',
3566
+ 'left',
3567
+ 'topLeft',
3568
+ 'center'
3397
3569
  ])),
3398
3570
  offset: zod_1.z.optional(exports.offsetOffsetSchema),
3399
3571
  transition: zod_1.z.optional(exports.transitionTransitionSchema),
3400
3572
  effect: zod_1.z.optional(zod_1.z.enum([
3401
- "zoomIn",
3402
- "zoomInSlow",
3403
- "zoomInFast",
3404
- "zoomOut",
3405
- "zoomOutSlow",
3406
- "zoomOutFast",
3407
- "slideLeft",
3408
- "slideLeftSlow",
3409
- "slideLeftFast",
3410
- "slideRight",
3411
- "slideRightSlow",
3412
- "slideRightFast",
3413
- "slideUp",
3414
- "slideUpSlow",
3415
- "slideUpFast",
3416
- "slideDown",
3417
- "slideDownSlow",
3418
- "slideDownFast",
3573
+ 'zoomIn',
3574
+ 'zoomInSlow',
3575
+ 'zoomInFast',
3576
+ 'zoomOut',
3577
+ 'zoomOutSlow',
3578
+ 'zoomOutFast',
3579
+ 'slideLeft',
3580
+ 'slideLeftSlow',
3581
+ 'slideLeftFast',
3582
+ 'slideRight',
3583
+ 'slideRightSlow',
3584
+ 'slideRightFast',
3585
+ 'slideUp',
3586
+ 'slideUpSlow',
3587
+ 'slideUpFast',
3588
+ 'slideDown',
3589
+ 'slideDownSlow',
3590
+ 'slideDownFast'
3419
3591
  ])),
3420
3592
  filter: zod_1.z.optional(zod_1.z.enum([
3421
- "none",
3422
- "blur",
3423
- "boost",
3424
- "contrast",
3425
- "darken",
3426
- "greyscale",
3427
- "lighten",
3428
- "muted",
3429
- "negative",
3593
+ 'none',
3594
+ 'blur',
3595
+ 'boost',
3596
+ 'contrast',
3597
+ 'darken',
3598
+ 'greyscale',
3599
+ 'lighten',
3600
+ 'muted',
3601
+ 'negative'
3430
3602
  ])),
3431
- opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3603
+ opacity: zod_1.z.optional(zod_1.z.union([
3604
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
3432
3605
  return undefined; if (Array.isArray(v))
3433
3606
  return v; if (typeof v === 'string') {
3434
3607
  if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
3435
3608
  return v;
3436
3609
  return Number(v);
3437
- } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
3610
+ } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
3611
+ zod_1.z.array(exports.tweenTweenSchema)
3612
+ ])),
3438
3613
  transform: zod_1.z.optional(exports.transformationTransformationSchema),
3439
- alias: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^[A-Za-z0-9_-]+$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
3614
+ alias: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^[A-Za-z0-9_-]+$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
3440
3615
  }).strict();
3441
3616
  exports.clipSchema = exports.clipClipSchema;
3442
3617
  // Clip schema with fit property filter for rich-text assets
@@ -3455,7 +3630,7 @@ const clipClipSchemaWithFitFilter = exports.clipClipSchema.transform((clip) => {
3455
3630
  * A track contains an array of clips. Tracks are layered on top of each other in the order in the array. The top most track will render on top of those below it.
3456
3631
  */
3457
3632
  exports.trackTrackSchema = zod_1.z.object({
3458
- clips: zod_1.z.array(clipClipSchemaWithFitFilter).min(1),
3633
+ clips: zod_1.z.array(clipClipSchemaWithFitFilter).min(1)
3459
3634
  }).strict();
3460
3635
  exports.trackSchema = exports.trackTrackSchema;
3461
3636
  /**
@@ -3466,7 +3641,7 @@ exports.timelineTimelineSchema = zod_1.z.object({
3466
3641
  background: zod_1.z.optional(zod_1.z.string()),
3467
3642
  fonts: zod_1.z.optional(zod_1.z.array(exports.fontFontSchema)),
3468
3643
  tracks: zod_1.z.array(exports.trackTrackSchema).min(1),
3469
- cache: zod_1.z.optional(zod_1.z.boolean()),
3644
+ cache: zod_1.z.optional(zod_1.z.boolean())
3470
3645
  }).strict();
3471
3646
  exports.timelineSchema = exports.timelineTimelineSchema;
3472
3647
  /**
@@ -3477,8 +3652,12 @@ exports.editEditSchema = zod_1.z.object({
3477
3652
  output: exports.outputOutputSchema,
3478
3653
  merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema)),
3479
3654
  callback: zod_1.z.optional(zod_1.z.string()),
3480
- disk: zod_1.z.optional(zod_1.z.enum(["local", "mount"])),
3481
- instance: zod_1.z.optional(zod_1.z.enum(["s1", "s2", "a1"])),
3655
+ disk: zod_1.z.optional(zod_1.z.enum(['local', 'mount'])),
3656
+ instance: zod_1.z.optional(zod_1.z.enum([
3657
+ 's1',
3658
+ 's2',
3659
+ 'a1'
3660
+ ]))
3482
3661
  }).strict();
3483
3662
  exports.editSchema = exports.editEditSchema;
3484
3663
  /**
@@ -3489,13 +3668,13 @@ exports.renderresponsedataRenderResponseDataSchema = zod_1.z.object({
3489
3668
  owner: zod_1.z.string(),
3490
3669
  plan: zod_1.z.optional(zod_1.z.string()),
3491
3670
  status: zod_1.z.enum([
3492
- "queued",
3493
- "fetching",
3494
- "preprocessing",
3495
- "rendering",
3496
- "saving",
3497
- "done",
3498
- "failed",
3671
+ 'queued',
3672
+ 'fetching',
3673
+ 'preprocessing',
3674
+ 'rendering',
3675
+ 'saving',
3676
+ 'done',
3677
+ 'failed'
3499
3678
  ]),
3500
3679
  error: zod_1.z.optional(zod_1.z.string()),
3501
3680
  duration: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -3513,11 +3692,17 @@ exports.renderresponsedataRenderResponseDataSchema = zod_1.z.object({
3513
3692
  return Number(v);
3514
3693
  } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
3515
3694
  url: zod_1.z.optional(zod_1.z.string()),
3516
- poster: zod_1.z.optional(zod_1.z.union([zod_1.z.string(), zod_1.z.null()])),
3517
- thumbnail: zod_1.z.optional(zod_1.z.union([zod_1.z.string(), zod_1.z.null()])),
3695
+ poster: zod_1.z.optional(zod_1.z.union([
3696
+ zod_1.z.string(),
3697
+ zod_1.z.null()
3698
+ ])),
3699
+ thumbnail: zod_1.z.optional(zod_1.z.union([
3700
+ zod_1.z.string(),
3701
+ zod_1.z.null()
3702
+ ])),
3518
3703
  data: zod_1.z.optional(exports.editEditSchema),
3519
3704
  created: zod_1.z.optional(zod_1.z.string()),
3520
- updated: zod_1.z.optional(zod_1.z.string()),
3705
+ updated: zod_1.z.optional(zod_1.z.string())
3521
3706
  }).strict();
3522
3707
  exports.renderResponseDataSchema = exports.renderresponsedataRenderResponseDataSchema;
3523
3708
  /**
@@ -3526,7 +3711,7 @@ exports.renderResponseDataSchema = exports.renderresponsedataRenderResponseDataS
3526
3711
  exports.renderresponseRenderResponseSchema = zod_1.z.object({
3527
3712
  success: zod_1.z.boolean(),
3528
3713
  message: zod_1.z.string(),
3529
- response: exports.renderresponsedataRenderResponseDataSchema,
3714
+ response: exports.renderresponsedataRenderResponseDataSchema
3530
3715
  }).strict();
3531
3716
  exports.renderResponseSchema = exports.renderresponseRenderResponseSchema;
3532
3717
  /**
@@ -3536,7 +3721,7 @@ exports.templatedataresponsedataTemplateDataResponseDataSchema = zod_1.z.object(
3536
3721
  id: zod_1.z.string(),
3537
3722
  name: zod_1.z.string(),
3538
3723
  owner: zod_1.z.string(),
3539
- template: exports.editEditSchema,
3724
+ template: exports.editEditSchema
3540
3725
  }).strict();
3541
3726
  exports.templateDataResponseDataSchema = exports.templatedataresponsedataTemplateDataResponseDataSchema;
3542
3727
  /**
@@ -3545,7 +3730,7 @@ exports.templateDataResponseDataSchema = exports.templatedataresponsedataTemplat
3545
3730
  exports.templatedataresponseTemplateDataResponseSchema = zod_1.z.object({
3546
3731
  success: zod_1.z.boolean(),
3547
3732
  message: zod_1.z.string(),
3548
- response: exports.templatedataresponsedataTemplateDataResponseDataSchema,
3733
+ response: exports.templatedataresponsedataTemplateDataResponseDataSchema
3549
3734
  }).strict();
3550
3735
  exports.templateDataResponseSchema = exports.templatedataresponseTemplateDataResponseSchema;
3551
3736
  /**
@@ -3553,13 +3738,13 @@ exports.templateDataResponseSchema = exports.templatedataresponseTemplateDataRes
3553
3738
  */
3554
3739
  exports.templateTemplateSchema = zod_1.z.object({
3555
3740
  name: zod_1.z.string(),
3556
- template: zod_1.z.optional(exports.editEditSchema),
3741
+ template: zod_1.z.optional(exports.editEditSchema)
3557
3742
  }).strict();
3558
3743
  exports.templateSchema = exports.templateTemplateSchema;
3559
3744
  exports.postRenderRequest = zod_1.z.object({
3560
3745
  body: exports.editEditSchema,
3561
3746
  path: zod_1.z.optional(zod_1.z.never()),
3562
- query: zod_1.z.optional(zod_1.z.never()),
3747
+ query: zod_1.z.optional(zod_1.z.never())
3563
3748
  }).strict();
3564
3749
  /**
3565
3750
  * The queued render details
@@ -3568,14 +3753,12 @@ exports.postRenderResponse = exports.queuedresponseQueuedResponseSchema;
3568
3753
  exports.getRenderRequest = zod_1.z.object({
3569
3754
  body: zod_1.z.optional(zod_1.z.never()),
3570
3755
  path: zod_1.z.object({
3571
- id: zod_1.z
3572
- .string()
3573
- .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}$/),
3756
+ id: zod_1.z.union([zod_1.z.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}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
3574
3757
  }),
3575
3758
  query: zod_1.z.optional(zod_1.z.object({
3576
3759
  data: zod_1.z.optional(zod_1.z.boolean()),
3577
- merged: zod_1.z.optional(zod_1.z.boolean()),
3578
- })),
3760
+ merged: zod_1.z.optional(zod_1.z.boolean())
3761
+ }))
3579
3762
  }).strict();
3580
3763
  /**
3581
3764
  * The render status details
@@ -3584,7 +3767,7 @@ exports.getRenderResponse = exports.renderresponseRenderResponseSchema;
3584
3767
  exports.getTemplatesRequest = zod_1.z.object({
3585
3768
  body: zod_1.z.optional(zod_1.z.never()),
3586
3769
  path: zod_1.z.optional(zod_1.z.never()),
3587
- query: zod_1.z.optional(zod_1.z.never()),
3770
+ query: zod_1.z.optional(zod_1.z.never())
3588
3771
  }).strict();
3589
3772
  /**
3590
3773
  * The list of templates stored against a users account
@@ -3593,7 +3776,7 @@ exports.getTemplatesResponse = exports.templatelistresponseTemplateListResponseS
3593
3776
  exports.postTemplateRequest = zod_1.z.object({
3594
3777
  body: exports.templateTemplateSchema,
3595
3778
  path: zod_1.z.optional(zod_1.z.never()),
3596
- query: zod_1.z.optional(zod_1.z.never()),
3779
+ query: zod_1.z.optional(zod_1.z.never())
3597
3780
  }).strict();
3598
3781
  /**
3599
3782
  * The saved template status including the id
@@ -3602,11 +3785,9 @@ exports.postTemplateResponse = exports.templateresponseTemplateResponseSchema;
3602
3785
  exports.deleteTemplateRequest = zod_1.z.object({
3603
3786
  body: zod_1.z.optional(zod_1.z.never()),
3604
3787
  path: zod_1.z.object({
3605
- id: zod_1.z
3606
- .string()
3607
- .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}$/),
3788
+ id: zod_1.z.union([zod_1.z.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}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
3608
3789
  }),
3609
- query: zod_1.z.optional(zod_1.z.never()),
3790
+ query: zod_1.z.optional(zod_1.z.never())
3610
3791
  }).strict();
3611
3792
  /**
3612
3793
  * An empty response signifying the template has been deleted
@@ -3615,11 +3796,9 @@ exports.deleteTemplateResponse = zod_1.z.void();
3615
3796
  exports.getTemplateRequest = zod_1.z.object({
3616
3797
  body: zod_1.z.optional(zod_1.z.never()),
3617
3798
  path: zod_1.z.object({
3618
- id: zod_1.z
3619
- .string()
3620
- .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}$/),
3799
+ id: zod_1.z.union([zod_1.z.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}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
3621
3800
  }),
3622
- query: zod_1.z.optional(zod_1.z.never()),
3801
+ query: zod_1.z.optional(zod_1.z.never())
3623
3802
  }).strict();
3624
3803
  /**
3625
3804
  * The template details including the [Edit](#tocs_edit)
@@ -3628,11 +3807,9 @@ exports.getTemplateResponse = exports.templatedataresponseTemplateDataResponseSc
3628
3807
  exports.putTemplateRequest = zod_1.z.object({
3629
3808
  body: exports.templateTemplateSchema,
3630
3809
  path: zod_1.z.object({
3631
- id: zod_1.z
3632
- .string()
3633
- .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}$/),
3810
+ id: zod_1.z.union([zod_1.z.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}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
3634
3811
  }),
3635
- query: zod_1.z.optional(zod_1.z.never()),
3812
+ query: zod_1.z.optional(zod_1.z.never())
3636
3813
  }).strict();
3637
3814
  /**
3638
3815
  * Update a templates name and [Edit](#tocs_edit)
@@ -3641,7 +3818,7 @@ exports.putTemplateResponse = exports.templateresponseTemplateResponseSchema;
3641
3818
  exports.postTemplateRenderRequest = zod_1.z.object({
3642
3819
  body: exports.templaterenderTemplateRenderSchema,
3643
3820
  path: zod_1.z.optional(zod_1.z.never()),
3644
- query: zod_1.z.optional(zod_1.z.never()),
3821
+ query: zod_1.z.optional(zod_1.z.never())
3645
3822
  }).strict();
3646
3823
  /**
3647
3824
  * The queued status including the render id. Check the status of the render using the id and the [render status](#get-render-status) endpoint.
@@ -3650,9 +3827,9 @@ exports.postTemplateRenderResponse = exports.queuedresponseQueuedResponseSchema;
3650
3827
  exports.probeRequest = zod_1.z.object({
3651
3828
  body: zod_1.z.optional(zod_1.z.never()),
3652
3829
  path: zod_1.z.object({
3653
- url: zod_1.z.string(),
3830
+ url: zod_1.z.string()
3654
3831
  }),
3655
- query: zod_1.z.optional(zod_1.z.never()),
3832
+ query: zod_1.z.optional(zod_1.z.never())
3656
3833
  }).strict();
3657
3834
  /**
3658
3835
  * FFprobe response formatted as JSON.
@@ -3661,11 +3838,9 @@ exports.probeResponse = exports.proberesponseProbeResponseSchema;
3661
3838
  exports.deleteAssetRequest = zod_1.z.object({
3662
3839
  body: zod_1.z.optional(zod_1.z.never()),
3663
3840
  path: zod_1.z.object({
3664
- id: zod_1.z
3665
- .string()
3666
- .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}$/),
3841
+ id: zod_1.z.union([zod_1.z.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}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
3667
3842
  }),
3668
- query: zod_1.z.optional(zod_1.z.never()),
3843
+ query: zod_1.z.optional(zod_1.z.never())
3669
3844
  }).strict();
3670
3845
  /**
3671
3846
  * An empty response signifying the asset has been deleted
@@ -3674,11 +3849,9 @@ exports.deleteAssetResponse = zod_1.z.void();
3674
3849
  exports.getAssetRequest = zod_1.z.object({
3675
3850
  body: zod_1.z.optional(zod_1.z.never()),
3676
3851
  path: zod_1.z.object({
3677
- id: zod_1.z
3678
- .string()
3679
- .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}$/),
3852
+ id: zod_1.z.union([zod_1.z.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}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
3680
3853
  }),
3681
- query: zod_1.z.optional(zod_1.z.never()),
3854
+ query: zod_1.z.optional(zod_1.z.never())
3682
3855
  }).strict();
3683
3856
  /**
3684
3857
  * Get asset by asset id
@@ -3687,11 +3860,9 @@ exports.getAssetResponse = exports.assetresponseAssetResponseSchema;
3687
3860
  exports.getAssetByRenderIdRequest = zod_1.z.object({
3688
3861
  body: zod_1.z.optional(zod_1.z.never()),
3689
3862
  path: zod_1.z.object({
3690
- id: zod_1.z
3691
- .string()
3692
- .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}$/),
3863
+ id: zod_1.z.union([zod_1.z.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}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
3693
3864
  }),
3694
- query: zod_1.z.optional(zod_1.z.never()),
3865
+ query: zod_1.z.optional(zod_1.z.never())
3695
3866
  }).strict();
3696
3867
  /**
3697
3868
  * Get one or more assets by render id
@@ -3700,7 +3871,7 @@ exports.getAssetByRenderIdResponse = exports.assetrenderresponseAssetRenderRespo
3700
3871
  exports.postServeAssetRequest = zod_1.z.object({
3701
3872
  body: exports.transferTransferSchema,
3702
3873
  path: zod_1.z.optional(zod_1.z.never()),
3703
- query: zod_1.z.optional(zod_1.z.never()),
3874
+ query: zod_1.z.optional(zod_1.z.never())
3704
3875
  }).strict();
3705
3876
  /**
3706
3877
  * The transfer request details and status
@@ -3709,7 +3880,7 @@ exports.postServeAssetResponse = exports.transferresponseTransferResponseSchema;
3709
3880
  exports.getSourcesRequest = zod_1.z.object({
3710
3881
  body: zod_1.z.optional(zod_1.z.never()),
3711
3882
  path: zod_1.z.optional(zod_1.z.never()),
3712
- query: zod_1.z.optional(zod_1.z.never()),
3883
+ query: zod_1.z.optional(zod_1.z.never())
3713
3884
  }).strict();
3714
3885
  /**
3715
3886
  * The list of ingested source files stored against a users account
@@ -3718,7 +3889,7 @@ exports.getSourcesResponse = exports.sourcelistresponseSourceListResponseSchema;
3718
3889
  exports.postSourceRequest = zod_1.z.object({
3719
3890
  body: exports.sourceSourceSchema,
3720
3891
  path: zod_1.z.optional(zod_1.z.never()),
3721
- query: zod_1.z.optional(zod_1.z.never()),
3892
+ query: zod_1.z.optional(zod_1.z.never())
3722
3893
  }).strict();
3723
3894
  /**
3724
3895
  * The queued source file details
@@ -3727,11 +3898,9 @@ exports.postSourceResponse = exports.queuedsourceresponseQueuedSourceResponseSch
3727
3898
  exports.deleteSourceRequest = zod_1.z.object({
3728
3899
  body: zod_1.z.optional(zod_1.z.never()),
3729
3900
  path: zod_1.z.object({
3730
- id: zod_1.z
3731
- .string()
3732
- .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}$/),
3901
+ id: zod_1.z.union([zod_1.z.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}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
3733
3902
  }),
3734
- query: zod_1.z.optional(zod_1.z.never()),
3903
+ query: zod_1.z.optional(zod_1.z.never())
3735
3904
  }).strict();
3736
3905
  /**
3737
3906
  * An empty response signifying the ingested source file has been deleted.
@@ -3740,11 +3909,9 @@ exports.deleteSourceResponse = zod_1.z.void();
3740
3909
  exports.getSourceRequest = zod_1.z.object({
3741
3910
  body: zod_1.z.optional(zod_1.z.never()),
3742
3911
  path: zod_1.z.object({
3743
- id: zod_1.z
3744
- .string()
3745
- .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}$/),
3912
+ id: zod_1.z.union([zod_1.z.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}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
3746
3913
  }),
3747
- query: zod_1.z.optional(zod_1.z.never()),
3914
+ query: zod_1.z.optional(zod_1.z.never())
3748
3915
  }).strict();
3749
3916
  /**
3750
3917
  * Get source file details by id
@@ -3753,7 +3920,7 @@ exports.getSourceResponse = exports.sourceresponseSourceResponseSchema;
3753
3920
  exports.getUploadSignedUrlRequest = zod_1.z.object({
3754
3921
  body: zod_1.z.optional(zod_1.z.never()),
3755
3922
  path: zod_1.z.optional(zod_1.z.never()),
3756
- query: zod_1.z.optional(zod_1.z.never()),
3923
+ query: zod_1.z.optional(zod_1.z.never())
3757
3924
  }).strict();
3758
3925
  /**
3759
3926
  * The id and signed URL to upload to.
@@ -3762,7 +3929,7 @@ exports.getUploadSignedUrlResponse = exports.uploadresponseUploadResponseSchema;
3762
3929
  exports.postGenerateAssetRequest = zod_1.z.object({
3763
3930
  body: exports.generatedAssetGeneratedAssetSchema,
3764
3931
  path: zod_1.z.optional(zod_1.z.never()),
3765
- query: zod_1.z.optional(zod_1.z.never()),
3932
+ query: zod_1.z.optional(zod_1.z.never())
3766
3933
  }).strict();
3767
3934
  /**
3768
3935
  * The generated asset details
@@ -3771,11 +3938,9 @@ exports.postGenerateAssetResponse = exports.generatedAssetResponseGeneratedAsset
3771
3938
  exports.getGeneratedAssetRequest = zod_1.z.object({
3772
3939
  body: zod_1.z.optional(zod_1.z.never()),
3773
3940
  path: zod_1.z.object({
3774
- id: zod_1.z
3775
- .string()
3776
- .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}$/),
3941
+ id: zod_1.z.union([zod_1.z.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}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
3777
3942
  }),
3778
- query: zod_1.z.optional(zod_1.z.never()),
3943
+ query: zod_1.z.optional(zod_1.z.never())
3779
3944
  }).strict();
3780
3945
  /**
3781
3946
  * The generated asset details