@shotstack/schemas 1.4.4 → 1.4.5

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.
@@ -42,7 +42,7 @@ exports.captionpropertiesCaptionBackgroundSchema = zod_1.z.object({
42
42
  borderRadius: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
43
43
  return undefined; if (Array.isArray(v))
44
44
  return v; if (typeof v === 'string')
45
- return Number(v); return v; }), zod_1.z.number().int()))
45
+ return Number(v); return v; }), zod_1.z.number().int())),
46
46
  });
47
47
  exports.captionBackgroundSchema = exports.captionpropertiesCaptionBackgroundSchema;
48
48
  /**
@@ -67,7 +67,7 @@ exports.captionpropertiesCaptionFontSchema = zod_1.z.object({
67
67
  strokeWidth: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
68
68
  return undefined; if (Array.isArray(v))
69
69
  return v; if (typeof v === 'string')
70
- return Number(v); return v; }), zod_1.z.number()))
70
+ return Number(v); return v; }), zod_1.z.number())),
71
71
  });
72
72
  exports.captionFontSchema = exports.captionpropertiesCaptionFontSchema;
73
73
  /**
@@ -85,7 +85,7 @@ exports.captionpropertiesCaptionMarginSchema = zod_1.z.object({
85
85
  right: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
86
86
  return undefined; if (Array.isArray(v))
87
87
  return v; if (typeof v === 'string')
88
- return Number(v); return v; }), zod_1.z.number()))
88
+ return Number(v); return v; }), zod_1.z.number())),
89
89
  });
90
90
  exports.captionMarginSchema = exports.captionpropertiesCaptionMarginSchema;
91
91
  /**
@@ -101,7 +101,7 @@ exports.captionMarginSchema = exports.captionpropertiesCaptionMarginSchema;
101
101
  *
102
102
  */
103
103
  exports.captionassetCaptionAssetSchema = zod_1.z.object({
104
- type: zod_1.z.enum(['caption']),
104
+ type: zod_1.z.enum(["caption"]),
105
105
  src: zod_1.z.string(),
106
106
  font: zod_1.z.optional(exports.captionpropertiesCaptionFontSchema),
107
107
  background: zod_1.z.optional(exports.captionpropertiesCaptionBackgroundSchema),
@@ -113,7 +113,7 @@ exports.captionassetCaptionAssetSchema = zod_1.z.object({
113
113
  speed: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
114
114
  return undefined; if (Array.isArray(v))
115
115
  return v; if (typeof v === 'string')
116
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(10)))
116
+ return Number(v); return v; }), zod_1.z.number().gte(0).lte(10))),
117
117
  });
118
118
  exports.captionAssetSchema = exports.captionassetCaptionAssetSchema;
119
119
  /**
@@ -128,23 +128,17 @@ exports.chromakeyChromaKeySchema = zod_1.z.object({
128
128
  halo: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
129
129
  return undefined; if (Array.isArray(v))
130
130
  return v; if (typeof v === 'string')
131
- return Number(v); return v; }), zod_1.z.number().int().gte(0).lte(250)))
131
+ return Number(v); return v; }), zod_1.z.number().int().gte(0).lte(250))),
132
132
  });
133
133
  exports.chromaKeySchema = exports.chromakeyChromaKeySchema;
134
134
  /**
135
135
  * 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.
136
136
  */
137
137
  exports.didTextToAvatarOptionsDidTextToAvatarOptionsSchema = zod_1.z.object({
138
- type: zod_1.z.enum(['text-to-avatar']),
138
+ type: zod_1.z.enum(["text-to-avatar"]),
139
139
  text: zod_1.z.string(),
140
- avatar: zod_1.z.enum([
141
- 'jack',
142
- 'lana',
143
- 'lily',
144
- 'matt',
145
- 'rian'
146
- ]),
147
- background: zod_1.z.optional(zod_1.z.string())
140
+ avatar: zod_1.z.enum(["jack", "lana", "lily", "matt", "rian"]),
141
+ background: zod_1.z.optional(zod_1.z.string()),
148
142
  });
149
143
  exports.didTextToAvatarOptionsSchema = exports.didTextToAvatarOptionsDidTextToAvatarOptionsSchema;
150
144
  /**
@@ -154,35 +148,37 @@ exports.didTextToAvatarOptionsSchema = exports.didTextToAvatarOptionsDidTextToAv
154
148
  * <li><a href="#tocs_didtexttoavataroptions">DidTextToAvatarOptions</a></li>
155
149
  * </ul>
156
150
  */
157
- exports.didGeneratedAssetOptionsDidGeneratedAssetOptionsSchema = zod_1.z.object({
158
- type: zod_1.z.literal('didTextToAvatarOptions_DIDTextToAvatarOptions')
159
- }).and(exports.didTextToAvatarOptionsDidTextToAvatarOptionsSchema);
151
+ exports.didGeneratedAssetOptionsDidGeneratedAssetOptionsSchema = zod_1.z
152
+ .object({
153
+ type: zod_1.z.literal("didTextToAvatarOptions_DIDTextToAvatarOptions"),
154
+ })
155
+ .and(exports.didTextToAvatarOptionsDidTextToAvatarOptionsSchema);
160
156
  exports.didGeneratedAssetOptionsSchema = exports.didGeneratedAssetOptionsDidGeneratedAssetOptionsSchema;
161
157
  /**
162
158
  * 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.
163
159
  */
164
160
  exports.didGeneratedAssetDidGeneratedAssetSchema = zod_1.z.object({
165
- provider: zod_1.z.enum(['d-id']),
166
- options: exports.didGeneratedAssetOptionsDidGeneratedAssetOptionsSchema
161
+ provider: zod_1.z.enum(["d-id"]),
162
+ options: exports.didGeneratedAssetOptionsDidGeneratedAssetOptionsSchema,
167
163
  });
168
164
  exports.didGeneratedAssetSchema = exports.didGeneratedAssetDidGeneratedAssetSchema;
169
165
  /**
170
166
  * 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.
171
167
  */
172
168
  exports.elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema = zod_1.z.object({
173
- type: zod_1.z.enum(['text-to-speech']),
169
+ type: zod_1.z.enum(["text-to-speech"]),
174
170
  text: zod_1.z.string(),
175
171
  voice: zod_1.z.enum([
176
- 'Adam',
177
- 'Antoni',
178
- 'Arnold',
179
- 'Bella',
180
- 'Domi',
181
- 'Elli',
182
- 'Josh',
183
- 'Rachel',
184
- 'Sam'
185
- ])
172
+ "Adam",
173
+ "Antoni",
174
+ "Arnold",
175
+ "Bella",
176
+ "Domi",
177
+ "Elli",
178
+ "Josh",
179
+ "Rachel",
180
+ "Sam",
181
+ ]),
186
182
  });
187
183
  exports.elevenLabsTextToSpeechOptionsSchema = exports.elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema;
188
184
  /**
@@ -192,141 +188,143 @@ exports.elevenLabsTextToSpeechOptionsSchema = exports.elevenlabsTextToSpeechOpti
192
188
  * <li><a href="#tocs_elevenlabstexttospeechoptions">ElevenLabsTextToSpeechOptions</a></li>
193
189
  * </ul>
194
190
  */
195
- exports.elevenlabsGeneratedAssetOptionsElevenLabsGeneratedAssetOptionsSchema = zod_1.z.object({
196
- type: zod_1.z.literal('elevenlabsTextToSpeechOptions_ElevenLabsTextToSpeechOptions')
197
- }).and(exports.elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema);
191
+ exports.elevenlabsGeneratedAssetOptionsElevenLabsGeneratedAssetOptionsSchema = zod_1.z
192
+ .object({
193
+ type: zod_1.z.literal("elevenlabsTextToSpeechOptions_ElevenLabsTextToSpeechOptions"),
194
+ })
195
+ .and(exports.elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema);
198
196
  exports.elevenLabsGeneratedAssetOptionsSchema = exports.elevenlabsGeneratedAssetOptionsElevenLabsGeneratedAssetOptionsSchema;
199
197
  /**
200
198
  * 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.
201
199
  */
202
200
  exports.elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema = zod_1.z.object({
203
- provider: zod_1.z.enum(['elevenlabs']),
204
- options: exports.elevenlabsGeneratedAssetOptionsElevenLabsGeneratedAssetOptionsSchema
201
+ provider: zod_1.z.enum(["elevenlabs"]),
202
+ options: exports.elevenlabsGeneratedAssetOptionsElevenLabsGeneratedAssetOptionsSchema,
205
203
  });
206
204
  exports.elevenLabsGeneratedAssetSchema = exports.elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema;
207
205
  /**
208
206
  * 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.
209
207
  */
210
208
  exports.heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema = zod_1.z.object({
211
- type: zod_1.z.enum(['text-to-avatar']),
209
+ type: zod_1.z.enum(["text-to-avatar"]),
212
210
  text: zod_1.z.string(),
213
211
  avatar: zod_1.z.enum([
214
- 'Angela',
215
- 'Bill',
216
- 'Daisy',
217
- 'Derek',
218
- 'Eva',
219
- 'Jake',
220
- 'Jeff',
221
- 'Jerome',
222
- 'Joon',
223
- 'Kayla',
224
- 'Kent',
225
- 'Luna',
226
- 'Mark',
227
- 'Matthew',
228
- 'Monica',
229
- 'Peter',
230
- 'Selina',
231
- 'Tanya',
232
- 'Thomas',
233
- 'Tina',
234
- 'Tyler',
235
- 'Vanessa',
236
- 'Vera',
237
- 'Wilson',
238
- 'Zoey'
212
+ "Angela",
213
+ "Bill",
214
+ "Daisy",
215
+ "Derek",
216
+ "Eva",
217
+ "Jake",
218
+ "Jeff",
219
+ "Jerome",
220
+ "Joon",
221
+ "Kayla",
222
+ "Kent",
223
+ "Luna",
224
+ "Mark",
225
+ "Matthew",
226
+ "Monica",
227
+ "Peter",
228
+ "Selina",
229
+ "Tanya",
230
+ "Thomas",
231
+ "Tina",
232
+ "Tyler",
233
+ "Vanessa",
234
+ "Vera",
235
+ "Wilson",
236
+ "Zoey",
239
237
  ]),
240
238
  voice: zod_1.z.enum([
241
- 'Abbi - Natural',
242
- 'Adam - Natural',
243
- 'Aiston - Friendly',
244
- 'Alice - Newscaster',
245
- 'Alison - Cheerful',
246
- 'Amber - Friendly',
247
- 'Amy - Warm',
248
- 'Ana - Cheerful',
249
- 'Antoni - Friendly',
250
- 'Aria - Newscaster',
251
- 'Arnold - Cheerful',
252
- 'Arthur - Natural',
253
- 'Bella - Friendly',
254
- 'Belle - Natural',
255
- 'Brandon - Warm',
256
- 'Brian - Natural',
257
- 'Bruce - Natural',
258
- 'Cerise - Cheerful',
259
- 'Christopher - Calm',
260
- 'Clara - Professional',
261
- 'Connor - Natural',
262
- 'Dahlia - Friendly',
263
- 'Davis - Professional',
264
- 'Dean - Natural',
265
- 'Delbert - Cheerful',
266
- 'Edward - Friendly',
267
- 'Elaine - Calm',
268
- 'Emily - Natural',
269
- 'Emma - Newscaster',
270
- 'Eric - Newscaster',
271
- 'Grace - Natural',
272
- 'Hailey - Calm',
273
- 'Indira - Cheerful',
274
- 'Isabella - Cheerful',
275
- 'Jacob - Natural',
276
- 'Jahmai - Friendly',
277
- 'Jane - Serious',
278
- 'Jason - Serious',
279
- 'Jelle - Friendly',
280
- 'Jen - Natural',
281
- 'Jenny - Professional',
282
- 'Jodi - Cheerful',
283
- 'Joey - Calm',
284
- 'Johan - Friendly',
285
- 'Josie - Cheerful',
286
- 'Keanan - Natural',
287
- 'Keith - Cheerful',
288
- 'Kellie - Friendly',
289
- 'Lauren - Friendly',
290
- 'Leah - Natural',
291
- 'Liam - Professional',
292
- 'Libby - Natural',
293
- 'Lily - Professional',
294
- 'Lucas - Natural',
295
- 'Luke - Professional',
296
- 'Luna - Natural',
297
- 'Marieke - Natural',
298
- 'Matthew - Professional',
299
- 'Michelle - Natural',
300
- 'Mitchell - Natural',
301
- 'Molly - Newscaster',
302
- 'Monica - Calm',
303
- 'Natasha - Professional',
304
- 'Neerja - Newscaster',
305
- 'Noah - Serious',
306
- 'Oliver - Newscaster',
307
- 'Olivia - Calm',
308
- 'Paul - Natural',
309
- 'Prabhat - Natural',
310
- 'Raveena - Natural',
311
- 'Rudi - Friendly',
312
- 'Ryan - Professional',
313
- 'Sam - Natural',
314
- 'Sara - Cheerful',
315
- 'Sherry - Friendly',
316
- 'Sonia - Warm',
317
- 'Thomas - Natural',
318
- 'Todd - Professional',
319
- 'Tony - Professional',
320
- 'Tracy - Cheerful',
321
- 'Wayne - Natural',
322
- 'Wilder - Natural',
323
- 'Wille - Natural',
324
- 'William - Friendly'
239
+ "Abbi - Natural",
240
+ "Adam - Natural",
241
+ "Aiston - Friendly",
242
+ "Alice - Newscaster",
243
+ "Alison - Cheerful",
244
+ "Amber - Friendly",
245
+ "Amy - Warm",
246
+ "Ana - Cheerful",
247
+ "Antoni - Friendly",
248
+ "Aria - Newscaster",
249
+ "Arnold - Cheerful",
250
+ "Arthur - Natural",
251
+ "Bella - Friendly",
252
+ "Belle - Natural",
253
+ "Brandon - Warm",
254
+ "Brian - Natural",
255
+ "Bruce - Natural",
256
+ "Cerise - Cheerful",
257
+ "Christopher - Calm",
258
+ "Clara - Professional",
259
+ "Connor - Natural",
260
+ "Dahlia - Friendly",
261
+ "Davis - Professional",
262
+ "Dean - Natural",
263
+ "Delbert - Cheerful",
264
+ "Edward - Friendly",
265
+ "Elaine - Calm",
266
+ "Emily - Natural",
267
+ "Emma - Newscaster",
268
+ "Eric - Newscaster",
269
+ "Grace - Natural",
270
+ "Hailey - Calm",
271
+ "Indira - Cheerful",
272
+ "Isabella - Cheerful",
273
+ "Jacob - Natural",
274
+ "Jahmai - Friendly",
275
+ "Jane - Serious",
276
+ "Jason - Serious",
277
+ "Jelle - Friendly",
278
+ "Jen - Natural",
279
+ "Jenny - Professional",
280
+ "Jodi - Cheerful",
281
+ "Joey - Calm",
282
+ "Johan - Friendly",
283
+ "Josie - Cheerful",
284
+ "Keanan - Natural",
285
+ "Keith - Cheerful",
286
+ "Kellie - Friendly",
287
+ "Lauren - Friendly",
288
+ "Leah - Natural",
289
+ "Liam - Professional",
290
+ "Libby - Natural",
291
+ "Lily - Professional",
292
+ "Lucas - Natural",
293
+ "Luke - Professional",
294
+ "Luna - Natural",
295
+ "Marieke - Natural",
296
+ "Matthew - Professional",
297
+ "Michelle - Natural",
298
+ "Mitchell - Natural",
299
+ "Molly - Newscaster",
300
+ "Monica - Calm",
301
+ "Natasha - Professional",
302
+ "Neerja - Newscaster",
303
+ "Noah - Serious",
304
+ "Oliver - Newscaster",
305
+ "Olivia - Calm",
306
+ "Paul - Natural",
307
+ "Prabhat - Natural",
308
+ "Raveena - Natural",
309
+ "Rudi - Friendly",
310
+ "Ryan - Professional",
311
+ "Sam - Natural",
312
+ "Sara - Cheerful",
313
+ "Sherry - Friendly",
314
+ "Sonia - Warm",
315
+ "Thomas - Natural",
316
+ "Todd - Professional",
317
+ "Tony - Professional",
318
+ "Tracy - Cheerful",
319
+ "Wayne - Natural",
320
+ "Wilder - Natural",
321
+ "Wille - Natural",
322
+ "William - Friendly",
325
323
  ]),
326
- avatarStyle: zod_1.z.optional(zod_1.z.enum(['normal', 'circle'])),
324
+ avatarStyle: zod_1.z.optional(zod_1.z.enum(["normal", "circle"])),
327
325
  background: zod_1.z.optional(zod_1.z.string()),
328
- ratio: zod_1.z.optional(zod_1.z.enum(['16:9', '9:16'])),
329
- test: zod_1.z.optional(zod_1.z.boolean())
326
+ ratio: zod_1.z.optional(zod_1.z.enum(["16:9", "9:16"])),
327
+ test: zod_1.z.optional(zod_1.z.boolean()),
330
328
  });
331
329
  exports.heyGenTextToAvatarOptionsSchema = exports.heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema;
332
330
  /**
@@ -336,26 +334,28 @@ exports.heyGenTextToAvatarOptionsSchema = exports.heygenTextToAvatarOptionsHeyGe
336
334
  * <li><a href="#tocs_heygentexttoavataroptions">HeyGenTextToAvatarOptions</a></li>
337
335
  * </ul>
338
336
  */
339
- exports.heygenGeneratedAssetOptionsHeyGenGeneratedAssetOptionsSchema = zod_1.z.object({
340
- type: zod_1.z.literal('heygenTextToAvatarOptions_HeyGenTextToAvatarOptions')
341
- }).and(exports.heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema);
337
+ exports.heygenGeneratedAssetOptionsHeyGenGeneratedAssetOptionsSchema = zod_1.z
338
+ .object({
339
+ type: zod_1.z.literal("heygenTextToAvatarOptions_HeyGenTextToAvatarOptions"),
340
+ })
341
+ .and(exports.heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema);
342
342
  exports.heyGenGeneratedAssetOptionsSchema = exports.heygenGeneratedAssetOptionsHeyGenGeneratedAssetOptionsSchema;
343
343
  /**
344
344
  * 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.
345
345
  */
346
346
  exports.heygenGeneratedAssetHeyGenGeneratedAssetSchema = zod_1.z.object({
347
- provider: zod_1.z.enum(['heygen']),
348
- options: exports.heygenGeneratedAssetOptionsHeyGenGeneratedAssetOptionsSchema
347
+ provider: zod_1.z.enum(["heygen"]),
348
+ options: exports.heygenGeneratedAssetOptionsHeyGenGeneratedAssetOptionsSchema,
349
349
  });
350
350
  exports.heyGenGeneratedAssetSchema = exports.heygenGeneratedAssetHeyGenGeneratedAssetSchema;
351
351
  /**
352
352
  * 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.
353
353
  */
354
354
  exports.openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema = zod_1.z.object({
355
- type: zod_1.z.enum(['text-generator']),
355
+ type: zod_1.z.enum(["text-generator"]),
356
356
  prompt: zod_1.z.string(),
357
- model: zod_1.z.enum(['gpt-3.5-turbo', 'gpt-4']),
358
- systemPrompt: zod_1.z.optional(zod_1.z.string())
357
+ model: zod_1.z.enum(["gpt-3.5-turbo", "gpt-4"]),
358
+ systemPrompt: zod_1.z.optional(zod_1.z.string()),
359
359
  });
360
360
  exports.openAiTextGeneratorOptionsSchema = exports.openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema;
361
361
  /**
@@ -365,16 +365,18 @@ exports.openAiTextGeneratorOptionsSchema = exports.openaiTextGeneratorOptionsOpe
365
365
  * <li><a href="#tocs_openaitextgeneratoroptions">OpenAiTextGeneratorOptions</a></li>
366
366
  * </ul>
367
367
  */
368
- exports.openaiGeneratedAssetOptionsOpenAiGeneratedAssetOptionsSchema = zod_1.z.object({
369
- type: zod_1.z.literal('openaiTextGeneratorOptions_OpenAiTextGeneratorOptions')
370
- }).and(exports.openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema);
368
+ exports.openaiGeneratedAssetOptionsOpenAiGeneratedAssetOptionsSchema = zod_1.z
369
+ .object({
370
+ type: zod_1.z.literal("openaiTextGeneratorOptions_OpenAiTextGeneratorOptions"),
371
+ })
372
+ .and(exports.openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema);
371
373
  exports.openAiGeneratedAssetOptionsSchema = exports.openaiGeneratedAssetOptionsOpenAiGeneratedAssetOptionsSchema;
372
374
  /**
373
375
  * 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.
374
376
  */
375
377
  exports.openaiGeneratedAssetOpenAiGeneratedAssetSchema = zod_1.z.object({
376
- provider: zod_1.z.enum(['openai']),
377
- options: exports.openaiGeneratedAssetOptionsOpenAiGeneratedAssetOptionsSchema
378
+ provider: zod_1.z.enum(["openai"]),
379
+ options: exports.openaiGeneratedAssetOptionsOpenAiGeneratedAssetOptionsSchema,
378
380
  });
379
381
  exports.openAiGeneratedAssetSchema = exports.openaiGeneratedAssetOpenAiGeneratedAssetSchema;
380
382
  /**
@@ -383,14 +385,14 @@ exports.openAiGeneratedAssetSchema = exports.openaiGeneratedAssetOpenAiGenerated
383
385
  exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema = zod_1.z.object({
384
386
  status: zod_1.z.string(),
385
387
  title: zod_1.z.string(),
386
- detail: zod_1.z.string()
388
+ detail: zod_1.z.string(),
387
389
  });
388
390
  exports.generatedAssetErrorResponseDataSchema = exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema;
389
391
  /**
390
392
  * Error response data for validation and other errors returned by the Create API.
391
393
  */
392
394
  exports.generatedAssetErrorResponseGeneratedAssetErrorResponseSchema = zod_1.z.object({
393
- errors: zod_1.z.array(exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema)
395
+ errors: zod_1.z.array(exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema),
394
396
  });
395
397
  exports.generatedAssetErrorResponseSchema = exports.generatedAssetErrorResponseGeneratedAssetErrorResponseSchema;
396
398
  /**
@@ -398,23 +400,12 @@ exports.generatedAssetErrorResponseSchema = exports.generatedAssetErrorResponseG
398
400
  */
399
401
  exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema = zod_1.z.object({
400
402
  owner: zod_1.z.string(),
401
- provider: zod_1.z.enum([
402
- 'shotstack',
403
- 'elevenlabs',
404
- 'heygen',
405
- 'd-id'
406
- ]),
407
- type: zod_1.z.enum(['text-to-speech', 'text-to-avatar']),
403
+ provider: zod_1.z.enum(["shotstack", "elevenlabs", "heygen", "d-id"]),
404
+ type: zod_1.z.enum(["text-to-speech", "text-to-avatar"]),
408
405
  url: zod_1.z.optional(zod_1.z.string()),
409
- status: zod_1.z.enum([
410
- 'queued',
411
- 'processing',
412
- 'saving',
413
- 'done',
414
- 'failed'
415
- ]),
406
+ status: zod_1.z.enum(["queued", "processing", "saving", "done", "failed"]),
416
407
  created: zod_1.z.string(),
417
- updated: zod_1.z.string()
408
+ updated: zod_1.z.string(),
418
409
  });
419
410
  exports.generatedAssetResponseAttributesSchema = exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema;
420
411
  /**
@@ -423,21 +414,21 @@ exports.generatedAssetResponseAttributesSchema = exports.generatedAssetResponseA
423
414
  exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema = zod_1.z.object({
424
415
  type: zod_1.z.string(),
425
416
  id: zod_1.z.string(),
426
- attributes: exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema
417
+ attributes: exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema,
427
418
  });
428
419
  exports.generatedAssetResponseDataSchema = exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema;
429
420
  /**
430
421
  * 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.
431
422
  */
432
423
  exports.generatedAssetResponseGeneratedAssetResponseSchema = zod_1.z.object({
433
- data: exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema
424
+ data: exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema,
434
425
  });
435
426
  exports.generatedAssetResponseSchema = exports.generatedAssetResponseGeneratedAssetResponseSchema;
436
427
  /**
437
428
  * 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.
438
429
  */
439
430
  exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema = zod_1.z.object({
440
- type: zod_1.z.enum(['image-to-video']),
431
+ type: zod_1.z.enum(["image-to-video"]),
441
432
  imageUrl: zod_1.z.string(),
442
433
  guidanceScale: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
443
434
  return undefined; if (Array.isArray(v))
@@ -446,22 +437,22 @@ exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema = zod_1.z
446
437
  motion: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
447
438
  return undefined; if (Array.isArray(v))
448
439
  return v; if (typeof v === 'string')
449
- return Number(v); return v; }), zod_1.z.number().int())).default(127)
440
+ return Number(v); return v; }), zod_1.z.number().int())).default(127),
450
441
  });
451
442
  exports.shotstackImageToVideoOptionsSchema = exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema;
452
443
  /**
453
444
  * 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.
454
445
  */
455
446
  exports.shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema = zod_1.z.object({
456
- type: zod_1.z.enum(['text-generator']),
457
- prompt: zod_1.z.string()
447
+ type: zod_1.z.enum(["text-generator"]),
448
+ prompt: zod_1.z.string(),
458
449
  });
459
450
  exports.shotstackTextGeneratorOptionsSchema = exports.shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema;
460
451
  /**
461
452
  * 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.
462
453
  */
463
454
  exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema = zod_1.z.object({
464
- type: zod_1.z.enum(['text-to-image']),
455
+ type: zod_1.z.enum(["text-to-image"]),
465
456
  prompt: zod_1.z.string(),
466
457
  width: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
467
458
  return undefined; if (Array.isArray(v))
@@ -470,146 +461,154 @@ exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema = zod_1.z.o
470
461
  height: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
471
462
  return undefined; if (Array.isArray(v))
472
463
  return v; if (typeof v === 'string')
473
- return Number(v); return v; }), zod_1.z.number().int())
464
+ return Number(v); return v; }), zod_1.z.number().int()),
474
465
  });
475
466
  exports.shotstackTextToImageOptionsSchema = exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema;
476
467
  /**
477
468
  * 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.
478
469
  */
479
470
  exports.shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema = zod_1.z.object({
480
- type: zod_1.z.enum(['text-to-speech']),
471
+ type: zod_1.z.enum(["text-to-speech"]),
481
472
  text: zod_1.z.string(),
482
473
  voice: zod_1.z.enum([
483
- 'Hala',
484
- 'Lisa',
485
- 'Arlet',
486
- 'Hiujin',
487
- 'Zhiyu',
488
- 'Sofie',
489
- 'Laura',
490
- 'Olivia',
491
- 'Amy',
492
- 'Emma',
493
- 'Brian',
494
- 'Arthur',
495
- 'Kajal',
496
- 'Niamh',
497
- 'Aria',
498
- 'Ayanda',
499
- 'Ivy',
500
- 'Joanna',
501
- 'Kendra',
502
- 'Kimberly',
503
- 'Salli',
504
- 'Joey',
505
- 'Justin',
506
- 'Kevin',
507
- 'Matthew',
508
- 'Ruth',
509
- 'Stephen',
510
- 'Suvi',
511
- 'Léa',
512
- 'Rémi',
513
- 'Gabrielle',
514
- 'Liam',
515
- 'Vicki',
516
- 'Daniel',
517
- 'Hannah',
518
- 'Kajal',
519
- 'Bianca',
520
- 'Adriano',
521
- 'Takumi',
522
- 'Kazuha',
523
- 'Tomoko',
524
- 'Seoyeon',
525
- 'Ida',
526
- 'Ola',
527
- 'Camila',
528
- 'Vitória',
529
- 'Vitoria',
530
- 'Thiago',
531
- 'Inês',
532
- 'Ines',
533
- 'Lucia',
534
- 'Sergio',
535
- 'Mia',
536
- 'Andrés',
537
- 'Lupe',
538
- 'Pedro',
539
- 'Elin'
474
+ "Hala",
475
+ "Lisa",
476
+ "Arlet",
477
+ "Hiujin",
478
+ "Zhiyu",
479
+ "Sofie",
480
+ "Laura",
481
+ "Olivia",
482
+ "Amy",
483
+ "Emma",
484
+ "Brian",
485
+ "Arthur",
486
+ "Kajal",
487
+ "Niamh",
488
+ "Aria",
489
+ "Ayanda",
490
+ "Ivy",
491
+ "Joanna",
492
+ "Kendra",
493
+ "Kimberly",
494
+ "Salli",
495
+ "Joey",
496
+ "Justin",
497
+ "Kevin",
498
+ "Matthew",
499
+ "Ruth",
500
+ "Stephen",
501
+ "Suvi",
502
+ "Léa",
503
+ "Rémi",
504
+ "Gabrielle",
505
+ "Liam",
506
+ "Vicki",
507
+ "Daniel",
508
+ "Hannah",
509
+ "Kajal",
510
+ "Bianca",
511
+ "Adriano",
512
+ "Takumi",
513
+ "Kazuha",
514
+ "Tomoko",
515
+ "Seoyeon",
516
+ "Ida",
517
+ "Ola",
518
+ "Camila",
519
+ "Vitória",
520
+ "Vitoria",
521
+ "Thiago",
522
+ "Inês",
523
+ "Ines",
524
+ "Lucia",
525
+ "Sergio",
526
+ "Mia",
527
+ "Andrés",
528
+ "Lupe",
529
+ "Pedro",
530
+ "Elin",
540
531
  ]),
541
532
  language: zod_1.z.optional(zod_1.z.enum([
542
- 'cmn-CN',
543
- 'da-DK',
544
- 'de-DE',
545
- 'en-AU',
546
- 'en-GB',
547
- 'en-IN',
548
- 'en-US',
549
- 'es-ES',
550
- 'es-MX',
551
- 'es-US',
552
- 'fr-CA',
553
- 'fr-FR',
554
- 'it-IT',
555
- 'ja-JP',
556
- 'hi-IN',
557
- 'ko-KR',
558
- 'nb-NO',
559
- 'nl-NL',
560
- 'pl-PL',
561
- 'pt-BR',
562
- 'pt-PT',
563
- 'sv-SE',
564
- 'en-NZ',
565
- 'en-ZA',
566
- 'ca-ES',
567
- 'de-AT',
568
- 'yue-CN',
569
- 'ar-AE',
570
- 'fi-FI'
533
+ "cmn-CN",
534
+ "da-DK",
535
+ "de-DE",
536
+ "en-AU",
537
+ "en-GB",
538
+ "en-IN",
539
+ "en-US",
540
+ "es-ES",
541
+ "es-MX",
542
+ "es-US",
543
+ "fr-CA",
544
+ "fr-FR",
545
+ "it-IT",
546
+ "ja-JP",
547
+ "hi-IN",
548
+ "ko-KR",
549
+ "nb-NO",
550
+ "nl-NL",
551
+ "pl-PL",
552
+ "pt-BR",
553
+ "pt-PT",
554
+ "sv-SE",
555
+ "en-NZ",
556
+ "en-ZA",
557
+ "ca-ES",
558
+ "de-AT",
559
+ "yue-CN",
560
+ "ar-AE",
561
+ "fi-FI",
571
562
  ])),
572
- newscaster: zod_1.z.optional(zod_1.z.boolean()).default(false)
563
+ newscaster: zod_1.z.optional(zod_1.z.boolean()).default(false),
573
564
  });
574
565
  exports.shotstackTextToSpeechOptionsSchema = exports.shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema;
575
566
  /**
576
567
  * Generate assets using the native Shotstack provider AI services.
577
568
  */
578
569
  exports.shotstackGeneratedAssetOptionsShotstackGeneratedAssetOptionsSchema = zod_1.z.union([
579
- zod_1.z.object({
580
- type: zod_1.z.literal('shotstackTextToSpeechOptions_ShotstackTextToSpeechOptions')
581
- }).and(exports.shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema),
582
- zod_1.z.object({
583
- type: zod_1.z.literal('shotstackTextToImageOptions_ShotstackTextToImageOptions')
584
- }).and(exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema),
585
- zod_1.z.object({
586
- type: zod_1.z.literal('shotstackTextGeneratorOptions_ShotstackTextGeneratorOptions')
587
- }).and(exports.shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema),
588
- zod_1.z.object({
589
- type: zod_1.z.literal('shotstackImageToVideoOptions_ShotstackImageToVideoOptions')
590
- }).and(exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema)
570
+ zod_1.z
571
+ .object({
572
+ type: zod_1.z.literal("shotstackTextToSpeechOptions_ShotstackTextToSpeechOptions"),
573
+ })
574
+ .and(exports.shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema),
575
+ zod_1.z
576
+ .object({
577
+ type: zod_1.z.literal("shotstackTextToImageOptions_ShotstackTextToImageOptions"),
578
+ })
579
+ .and(exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema),
580
+ zod_1.z
581
+ .object({
582
+ type: zod_1.z.literal("shotstackTextGeneratorOptions_ShotstackTextGeneratorOptions"),
583
+ })
584
+ .and(exports.shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema),
585
+ zod_1.z
586
+ .object({
587
+ type: zod_1.z.literal("shotstackImageToVideoOptions_ShotstackImageToVideoOptions"),
588
+ })
589
+ .and(exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema),
591
590
  ]);
592
591
  exports.shotstackGeneratedAssetOptionsSchema = exports.shotstackGeneratedAssetOptionsShotstackGeneratedAssetOptionsSchema;
593
592
  /**
594
593
  * 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.
595
594
  */
596
595
  exports.shotstackGeneratedAssetShotstackGeneratedAssetSchema = zod_1.z.object({
597
- provider: zod_1.z.enum(['shotstack']),
598
- options: exports.shotstackGeneratedAssetOptionsShotstackGeneratedAssetOptionsSchema
596
+ provider: zod_1.z.enum(["shotstack"]),
597
+ options: exports.shotstackGeneratedAssetOptionsShotstackGeneratedAssetOptionsSchema,
599
598
  });
600
599
  exports.shotstackGeneratedAssetSchema = exports.shotstackGeneratedAssetShotstackGeneratedAssetSchema;
601
600
  /**
602
601
  * 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.
603
602
  */
604
603
  exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema = zod_1.z.object({
605
- type: zod_1.z.enum(['text-to-image']),
604
+ type: zod_1.z.enum(["text-to-image"]),
606
605
  prompt: zod_1.z.string(),
607
606
  engine: zod_1.z.optional(zod_1.z.enum([
608
- 'stable-diffusion-xl-1024-v0-9',
609
- 'stable-diffusion-xl-1024-v1-0',
610
- 'stable-diffusion-v1-6',
611
- 'stable-diffusion-512-v2-1',
612
- 'stable-diffusion-xl-beta-v2-2-2'
607
+ "stable-diffusion-xl-1024-v0-9",
608
+ "stable-diffusion-xl-1024-v1-0",
609
+ "stable-diffusion-v1-6",
610
+ "stable-diffusion-512-v2-1",
611
+ "stable-diffusion-xl-beta-v2-2-2",
613
612
  ])),
614
613
  width: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
615
614
  return undefined; if (Array.isArray(v))
@@ -632,24 +631,24 @@ exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema = zod_1
632
631
  return v; if (typeof v === 'string')
633
632
  return Number(v); return v; }), zod_1.z.number())).default(7),
634
633
  stylePreset: zod_1.z.optional(zod_1.z.enum([
635
- '3d-model',
636
- 'analog-film',
637
- 'anime',
638
- 'cinematic',
639
- 'comic-book',
640
- 'digital-art',
641
- 'enhance',
642
- 'fantasy-art',
643
- 'isometric',
644
- 'line-art',
645
- 'low-poly',
646
- 'modeling-compound',
647
- 'neon-punk',
648
- 'origami',
649
- 'photographic',
650
- 'pixel-art',
651
- 'tile-texture'
652
- ]))
634
+ "3d-model",
635
+ "analog-film",
636
+ "anime",
637
+ "cinematic",
638
+ "comic-book",
639
+ "digital-art",
640
+ "enhance",
641
+ "fantasy-art",
642
+ "isometric",
643
+ "line-art",
644
+ "low-poly",
645
+ "modeling-compound",
646
+ "neon-punk",
647
+ "origami",
648
+ "photographic",
649
+ "pixel-art",
650
+ "tile-texture",
651
+ ])),
653
652
  });
654
653
  exports.stabilityAiTextToImageOptionsSchema = exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema;
655
654
  /**
@@ -659,40 +658,54 @@ exports.stabilityAiTextToImageOptionsSchema = exports.stabilityAiTextToImageOpti
659
658
  * <li><a href="#tocs_stabilityaitexttoimageoptions">StabilityAiTextToImageOptions</a></li>
660
659
  * </ul>
661
660
  */
662
- exports.stabilityAiGeneratedAssetOptionsStabilityAiGeneratedAssetOptionsSchema = zod_1.z.object({
663
- type: zod_1.z.literal('stabilityAiTextToImageOptions_StabilityAiTextToImageOptions')
664
- }).and(exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema);
661
+ exports.stabilityAiGeneratedAssetOptionsStabilityAiGeneratedAssetOptionsSchema = zod_1.z
662
+ .object({
663
+ type: zod_1.z.literal("stabilityAiTextToImageOptions_StabilityAiTextToImageOptions"),
664
+ })
665
+ .and(exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema);
665
666
  exports.stabilityAiGeneratedAssetOptionsSchema = exports.stabilityAiGeneratedAssetOptionsStabilityAiGeneratedAssetOptionsSchema;
666
667
  /**
667
668
  * 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.
668
669
  */
669
670
  exports.stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema = zod_1.z.object({
670
- provider: zod_1.z.enum(['stability-ai']),
671
- options: exports.stabilityAiGeneratedAssetOptionsStabilityAiGeneratedAssetOptionsSchema
671
+ provider: zod_1.z.enum(["stability-ai"]),
672
+ options: exports.stabilityAiGeneratedAssetOptionsStabilityAiGeneratedAssetOptionsSchema,
672
673
  });
673
674
  exports.stabilityAiGeneratedAssetSchema = exports.stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema;
674
675
  /**
675
676
  * 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.
676
677
  */
677
678
  exports.generatedAssetGeneratedAssetSchema = zod_1.z.union([
678
- zod_1.z.object({
679
- provider: zod_1.z.literal('shotstackGeneratedAsset_ShotstackGeneratedAsset')
680
- }).and(exports.shotstackGeneratedAssetShotstackGeneratedAssetSchema),
681
- zod_1.z.object({
682
- provider: zod_1.z.literal('didGeneratedAsset_DIDGeneratedAsset')
683
- }).and(exports.didGeneratedAssetDidGeneratedAssetSchema),
684
- zod_1.z.object({
685
- provider: zod_1.z.literal('elevenlabsGeneratedAsset_ElevenLabsGeneratedAsset')
686
- }).and(exports.elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema),
687
- zod_1.z.object({
688
- provider: zod_1.z.literal('heygenGeneratedAsset_HeyGenGeneratedAsset')
689
- }).and(exports.heygenGeneratedAssetHeyGenGeneratedAssetSchema),
690
- zod_1.z.object({
691
- provider: zod_1.z.literal('openaiGeneratedAsset_OpenAiGeneratedAsset')
692
- }).and(exports.openaiGeneratedAssetOpenAiGeneratedAssetSchema),
693
- zod_1.z.object({
694
- provider: zod_1.z.literal('stabilityAiGeneratedAsset_StabilityAiGeneratedAsset')
695
- }).and(exports.stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema)
679
+ zod_1.z
680
+ .object({
681
+ provider: zod_1.z.literal("shotstackGeneratedAsset_ShotstackGeneratedAsset"),
682
+ })
683
+ .and(exports.shotstackGeneratedAssetShotstackGeneratedAssetSchema),
684
+ zod_1.z
685
+ .object({
686
+ provider: zod_1.z.literal("didGeneratedAsset_DIDGeneratedAsset"),
687
+ })
688
+ .and(exports.didGeneratedAssetDidGeneratedAssetSchema),
689
+ zod_1.z
690
+ .object({
691
+ provider: zod_1.z.literal("elevenlabsGeneratedAsset_ElevenLabsGeneratedAsset"),
692
+ })
693
+ .and(exports.elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema),
694
+ zod_1.z
695
+ .object({
696
+ provider: zod_1.z.literal("heygenGeneratedAsset_HeyGenGeneratedAsset"),
697
+ })
698
+ .and(exports.heygenGeneratedAssetHeyGenGeneratedAssetSchema),
699
+ zod_1.z
700
+ .object({
701
+ provider: zod_1.z.literal("openaiGeneratedAsset_OpenAiGeneratedAsset"),
702
+ })
703
+ .and(exports.openaiGeneratedAssetOpenAiGeneratedAssetSchema),
704
+ zod_1.z
705
+ .object({
706
+ provider: zod_1.z.literal("stabilityAiGeneratedAsset_StabilityAiGeneratedAsset"),
707
+ })
708
+ .and(exports.stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema),
696
709
  ]);
697
710
  exports.generatedAssetSchema = exports.generatedAssetGeneratedAssetSchema;
698
711
  /**
@@ -714,7 +727,7 @@ exports.cropCropSchema = zod_1.z.object({
714
727
  right: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
715
728
  return undefined; if (Array.isArray(v))
716
729
  return v; if (typeof v === 'string')
717
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(1)))
730
+ return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))),
718
731
  });
719
732
  exports.cropSchema = exports.cropCropSchema;
720
733
  /**
@@ -723,15 +736,15 @@ exports.cropSchema = exports.cropCropSchema;
723
736
  exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema = zod_1.z.object({
724
737
  bucket: zod_1.z.string(),
725
738
  prefix: zod_1.z.optional(zod_1.z.string()),
726
- filename: zod_1.z.optional(zod_1.z.string())
739
+ filename: zod_1.z.optional(zod_1.z.string()),
727
740
  });
728
741
  exports.googleCloudStorageDestinationOptionsSchema = exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema;
729
742
  /**
730
743
  * Send videos and assets to a [Google Cloud Storage](https://cloud.google.com/storage) bucket. Send files with your own prefix and filename. Google Cloud credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/google-cloud-storage), not in the request.
731
744
  */
732
745
  exports.googleCloudStorageDestinationGoogleCloudStorageDestinationSchema = zod_1.z.object({
733
- provider: zod_1.z.literal('google-cloud-storage'),
734
- options: zod_1.z.optional(exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema)
746
+ provider: zod_1.z.literal("google-cloud-storage"),
747
+ options: zod_1.z.optional(exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema),
735
748
  });
736
749
  exports.googleCloudStorageDestinationSchema = exports.googleCloudStorageDestinationGoogleCloudStorageDestinationSchema;
737
750
  /**
@@ -739,31 +752,31 @@ exports.googleCloudStorageDestinationSchema = exports.googleCloudStorageDestinat
739
752
  */
740
753
  exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema = zod_1.z.object({
741
754
  folderId: zod_1.z.string(),
742
- filename: zod_1.z.optional(zod_1.z.string())
755
+ filename: zod_1.z.optional(zod_1.z.string()),
743
756
  });
744
757
  exports.googleDriveDestinationOptionsSchema = exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema;
745
758
  /**
746
759
  * Send rendered videos and assets to the [Google Drive](https://shotstack.io/docs/guide/serving-assets/destinations/google-drive/) cloud storage service. Google Drive uses OAuth and you must authenticate and link your Google account via [dashboard](https://dashboard.shotstack.io/integrations/google-drive), not in the request.
747
760
  */
748
761
  exports.googleDriveDestinationGoogleDriveDestinationSchema = zod_1.z.object({
749
- provider: zod_1.z.literal('google-drive'),
750
- options: exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema
762
+ provider: zod_1.z.literal("google-drive"),
763
+ options: exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema,
751
764
  });
752
765
  exports.googleDriveDestinationSchema = exports.googleDriveDestinationGoogleDriveDestinationSchema;
753
766
  /**
754
767
  * Pass additional options to control how Mux processes video. Currently supports playback_policy and passthrough options.
755
768
  */
756
769
  exports.muxDestinationOptionsMuxDestinationOptionsSchema = zod_1.z.object({
757
- playbackPolicy: zod_1.z.optional(zod_1.z.array(zod_1.z.enum(['public', 'signed']))),
758
- passthrough: zod_1.z.optional(zod_1.z.string().max(255))
770
+ playbackPolicy: zod_1.z.optional(zod_1.z.array(zod_1.z.enum(["public", "signed"]))),
771
+ passthrough: zod_1.z.optional(zod_1.z.string().max(255)),
759
772
  });
760
773
  exports.muxDestinationOptionsSchema = exports.muxDestinationOptionsMuxDestinationOptionsSchema;
761
774
  /**
762
775
  * Send videos to the [Mux](https://shotstack.io/docs/guide/serving-assets/destinations/mux/) video hosting and streaming service. Mux credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/mux), not in the request.
763
776
  */
764
777
  exports.muxDestinationMuxDestinationSchema = zod_1.z.object({
765
- provider: zod_1.z.literal('mux'),
766
- options: zod_1.z.optional(exports.muxDestinationOptionsMuxDestinationOptionsSchema)
778
+ provider: zod_1.z.literal("mux"),
779
+ options: zod_1.z.optional(exports.muxDestinationOptionsMuxDestinationOptionsSchema),
767
780
  });
768
781
  exports.muxDestinationSchema = exports.muxDestinationMuxDestinationSchema;
769
782
  /**
@@ -774,23 +787,23 @@ exports.s3DestinationOptionsS3DestinationOptionsSchema = zod_1.z.object({
774
787
  bucket: zod_1.z.string(),
775
788
  prefix: zod_1.z.optional(zod_1.z.string()),
776
789
  filename: zod_1.z.optional(zod_1.z.string()),
777
- acl: zod_1.z.optional(zod_1.z.string())
790
+ acl: zod_1.z.optional(zod_1.z.string()),
778
791
  });
779
792
  exports.s3DestinationOptionsSchema = exports.s3DestinationOptionsS3DestinationOptionsSchema;
780
793
  /**
781
794
  * Send videos and assets to an [Amazon S3](https://shotstack.io/docs/guide/serving-assets/destinations/s3/) bucket. Send files to any region with your own prefix and filename. AWS credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/s3), not in the request.
782
795
  */
783
796
  exports.s3DestinationS3DestinationSchema = zod_1.z.object({
784
- provider: zod_1.z.literal('s3'),
785
- options: zod_1.z.optional(exports.s3DestinationOptionsS3DestinationOptionsSchema)
797
+ provider: zod_1.z.literal("s3"),
798
+ options: zod_1.z.optional(exports.s3DestinationOptionsS3DestinationOptionsSchema),
786
799
  });
787
800
  exports.s3DestinationSchema = exports.s3DestinationS3DestinationSchema;
788
801
  /**
789
802
  * Send videos and assets to the [Shotstack hosting and CDN](https://shotstack.io/docs/guide/serving-assets/destinations/shotstack/) service. This destination is enabled by default.
790
803
  */
791
804
  exports.shotstackDestinationShotstackDestinationSchema = zod_1.z.object({
792
- provider: zod_1.z.literal('shotstack'),
793
- exclude: zod_1.z.optional(zod_1.z.boolean())
805
+ provider: zod_1.z.literal("shotstack"),
806
+ exclude: zod_1.z.optional(zod_1.z.boolean()),
794
807
  });
795
808
  exports.shotstackDestinationSchema = exports.shotstackDestinationShotstackDestinationSchema;
796
809
  /**
@@ -798,45 +811,27 @@ exports.shotstackDestinationSchema = exports.shotstackDestinationShotstackDestin
798
811
  */
799
812
  exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema = zod_1.z.object({
800
813
  title: zod_1.z.optional(zod_1.z.string().max(150)),
801
- privacyLevel: zod_1.z.optional(zod_1.z.enum([
802
- 'public',
803
- 'friends',
804
- 'private'
805
- ])),
814
+ privacyLevel: zod_1.z.optional(zod_1.z.enum(["public", "friends", "private"])),
806
815
  disableDuet: zod_1.z.optional(zod_1.z.boolean()).default(false),
807
816
  disableStitch: zod_1.z.optional(zod_1.z.boolean()).default(false),
808
- disableComment: zod_1.z.optional(zod_1.z.boolean()).default(false)
817
+ disableComment: zod_1.z.optional(zod_1.z.boolean()).default(false),
809
818
  });
810
819
  /**
811
820
  * Send videos to TikTok. TikTok credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/tiktok), not in the request.
812
821
  */
813
822
  exports.tiktokDestinationTiktokDestinationSchema = zod_1.z.object({
814
- provider: zod_1.z.literal('tiktok'),
815
- options: zod_1.z.optional(exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema)
823
+ provider: zod_1.z.literal("tiktok"),
824
+ options: zod_1.z.optional(exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema),
816
825
  });
817
826
  /**
818
827
  * Options to control the visibility of videos and privacy features.
819
828
  */
820
829
  exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema = zod_1.z.object({
821
- view: zod_1.z.optional(zod_1.z.enum([
822
- 'anybody',
823
- 'nobody',
824
- 'contacts',
825
- 'password',
826
- 'unlisted'
827
- ])),
828
- embed: zod_1.z.optional(zod_1.z.enum([
829
- 'public',
830
- 'private',
831
- 'whitelist'
832
- ])),
833
- comments: zod_1.z.optional(zod_1.z.enum([
834
- 'anybody',
835
- 'nobody',
836
- 'contacts'
837
- ])),
830
+ view: zod_1.z.optional(zod_1.z.enum(["anybody", "nobody", "contacts", "password", "unlisted"])),
831
+ embed: zod_1.z.optional(zod_1.z.enum(["public", "private", "whitelist"])),
832
+ comments: zod_1.z.optional(zod_1.z.enum(["anybody", "nobody", "contacts"])),
838
833
  download: zod_1.z.optional(zod_1.z.boolean()),
839
- add: zod_1.z.optional(zod_1.z.boolean())
834
+ add: zod_1.z.optional(zod_1.z.boolean()),
840
835
  });
841
836
  exports.vimeoDestinationPrivacyOptionsSchema = exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema;
842
837
  /**
@@ -846,15 +841,15 @@ exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema = zod_1.z.object({
846
841
  name: zod_1.z.optional(zod_1.z.string()),
847
842
  description: zod_1.z.optional(zod_1.z.string()),
848
843
  privacy: zod_1.z.optional(exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema),
849
- folderUri: zod_1.z.optional(zod_1.z.string())
844
+ folderUri: zod_1.z.optional(zod_1.z.string()),
850
845
  });
851
846
  exports.vimeoDestinationOptionsSchema = exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema;
852
847
  /**
853
848
  * Send videos to [Vimeo](https://shotstack.io/docs/guide/serving-assets/destinations/vimeo/) video hosting and streaming service. Vimeo credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/vimeo), not in the request.
854
849
  */
855
850
  exports.vimeoDestinationVimeoDestinationSchema = zod_1.z.object({
856
- provider: zod_1.z.literal('vimeo'),
857
- options: zod_1.z.optional(exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema)
851
+ provider: zod_1.z.literal("vimeo"),
852
+ options: zod_1.z.optional(exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema),
858
853
  });
859
854
  exports.vimeoDestinationSchema = exports.vimeoDestinationVimeoDestinationSchema;
860
855
  /**
@@ -877,14 +872,14 @@ exports.destinationsSchema = exports.destinationsDestinationsSchema;
877
872
  */
878
873
  exports.fliptransformationFlipTransformationSchema = zod_1.z.object({
879
874
  horizontal: zod_1.z.optional(zod_1.z.boolean()),
880
- vertical: zod_1.z.optional(zod_1.z.boolean())
875
+ vertical: zod_1.z.optional(zod_1.z.boolean()),
881
876
  });
882
877
  exports.flipTransformationSchema = exports.fliptransformationFlipTransformationSchema;
883
878
  /**
884
879
  * 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.
885
880
  */
886
881
  exports.fontFontSchema = zod_1.z.object({
887
- src: zod_1.z.string()
882
+ src: zod_1.z.string(),
888
883
  });
889
884
  exports.fontSchema = exports.fontFontSchema;
890
885
  /**
@@ -898,7 +893,7 @@ exports.fontSchema = exports.fontFontSchema;
898
893
  * @deprecated
899
894
  */
900
895
  exports.htmlassetHtmlAssetSchema = zod_1.z.object({
901
- type: zod_1.z.enum(['html']),
896
+ type: zod_1.z.enum(["html"]),
902
897
  html: zod_1.z.string(),
903
898
  css: zod_1.z.optional(zod_1.z.string()),
904
899
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -911,48 +906,40 @@ exports.htmlassetHtmlAssetSchema = zod_1.z.object({
911
906
  return Number(v); return v; }), zod_1.z.number().int())),
912
907
  background: zod_1.z.optional(zod_1.z.string()),
913
908
  position: zod_1.z.optional(zod_1.z.enum([
914
- 'top',
915
- 'topRight',
916
- 'right',
917
- 'bottomRight',
918
- 'bottom',
919
- 'bottomLeft',
920
- 'left',
921
- 'topLeft',
922
- 'center'
923
- ]))
909
+ "top",
910
+ "topRight",
911
+ "right",
912
+ "bottomRight",
913
+ "bottom",
914
+ "bottomLeft",
915
+ "left",
916
+ "topLeft",
917
+ "center",
918
+ ])),
924
919
  });
925
920
  exports.htmlAssetSchema = exports.htmlassetHtmlAssetSchema;
926
921
  /**
927
922
  * 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.
928
923
  */
929
924
  exports.imageassetImageAssetSchema = zod_1.z.object({
930
- type: zod_1.z.enum(['image']),
925
+ type: zod_1.z.enum(["image"]),
931
926
  src: zod_1.z.string(),
932
- crop: zod_1.z.optional(exports.cropCropSchema)
927
+ crop: zod_1.z.optional(exports.cropCropSchema),
933
928
  });
934
929
  exports.imageAssetSchema = exports.imageassetImageAssetSchema;
935
930
  /**
936
931
  * The ImageToVideoAsset lets you create a video from an image and a text prompt.
937
932
  */
938
933
  exports.imagetovideoassetImageToVideoAssetSchema = zod_1.z.object({
939
- type: zod_1.z.optional(zod_1.z.enum(['image-to-video'])),
934
+ type: zod_1.z.optional(zod_1.z.enum(["image-to-video"])),
940
935
  src: zod_1.z.optional(zod_1.z.string()),
941
936
  prompt: zod_1.z.optional(zod_1.z.string()),
942
- aspectRatio: zod_1.z.optional(zod_1.z.enum([
943
- '1:1',
944
- '4:3',
945
- '16:9',
946
- '9:16',
947
- '3:4',
948
- '21:9',
949
- '9:21'
950
- ])),
937
+ aspectRatio: zod_1.z.optional(zod_1.z.enum(["1:1", "4:3", "16:9", "9:16", "3:4", "21:9", "9:21"])),
951
938
  speed: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
952
939
  return undefined; if (Array.isArray(v))
953
940
  return v; if (typeof v === 'string')
954
941
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(10))),
955
- crop: zod_1.z.optional(exports.cropCropSchema)
942
+ crop: zod_1.z.optional(exports.cropCropSchema),
956
943
  });
957
944
  exports.imageToVideoAssetSchema = exports.imagetovideoassetImageToVideoAssetSchema;
958
945
  /**
@@ -960,24 +947,24 @@ exports.imageToVideoAssetSchema = exports.imagetovideoassetImageToVideoAssetSche
960
947
  */
961
948
  exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema = zod_1.z.object({
962
949
  preset: zod_1.z.enum([
963
- 'conference',
964
- 'interview',
965
- 'lecture',
966
- 'meeting',
967
- 'mobile_phone',
968
- 'music',
969
- 'podcast',
970
- 'studio',
971
- 'voice_over'
972
- ])
950
+ "conference",
951
+ "interview",
952
+ "lecture",
953
+ "meeting",
954
+ "mobile_phone",
955
+ "music",
956
+ "podcast",
957
+ "studio",
958
+ "voice_over",
959
+ ]),
973
960
  });
974
961
  exports.dolbyEnhancementOptionsSchema = exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema;
975
962
  /**
976
963
  * 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.
977
964
  */
978
965
  exports.dolbyEnhancementDolbyEnhancementSchema = zod_1.z.object({
979
- provider: zod_1.z.string().default('dolby'),
980
- options: exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema
966
+ provider: zod_1.z.string().default("dolby"),
967
+ options: exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema,
981
968
  });
982
969
  exports.dolbyEnhancementSchema = exports.dolbyEnhancementDolbyEnhancementSchema;
983
970
  /**
@@ -986,15 +973,17 @@ exports.dolbyEnhancementSchema = exports.dolbyEnhancementDolbyEnhancementSchema;
986
973
  * <li><a href="#tocs_dolbyenhancement">DolbyEnhancement</a></li>
987
974
  * </ul>
988
975
  */
989
- exports.audioEnhancementAudioEnhancementSchema = zod_1.z.object({
990
- enhancement: zod_1.z.literal('dolbyEnhancement_DolbyEnhancement')
991
- }).and(exports.dolbyEnhancementDolbyEnhancementSchema);
976
+ exports.audioEnhancementAudioEnhancementSchema = zod_1.z
977
+ .object({
978
+ enhancement: zod_1.z.literal("dolbyEnhancement_DolbyEnhancement"),
979
+ })
980
+ .and(exports.dolbyEnhancementDolbyEnhancementSchema);
992
981
  exports.audioEnhancementSchema = exports.audioEnhancementAudioEnhancementSchema;
993
982
  /**
994
983
  * Enhancements that can be applied to a rendition. Currently only supports the Dolby audio enhancement.
995
984
  */
996
985
  exports.enhancementsEnhancementsSchema = zod_1.z.object({
997
- audio: zod_1.z.optional(exports.audioEnhancementAudioEnhancementSchema)
986
+ audio: zod_1.z.optional(exports.audioEnhancementAudioEnhancementSchema),
998
987
  });
999
988
  exports.enhancementsSchema = exports.enhancementsEnhancementsSchema;
1000
989
  /**
@@ -1003,14 +992,14 @@ exports.enhancementsSchema = exports.enhancementsEnhancementsSchema;
1003
992
  exports.ingesterrorresponsedataIngestErrorResponseDataSchema = zod_1.z.object({
1004
993
  status: zod_1.z.string(),
1005
994
  title: zod_1.z.string(),
1006
- detail: zod_1.z.string()
995
+ detail: zod_1.z.string(),
1007
996
  });
1008
997
  exports.ingestErrorResponseDataSchema = exports.ingesterrorresponsedataIngestErrorResponseDataSchema;
1009
998
  /**
1010
999
  * Error response data for validation and other errors returned by the Ingest API.
1011
1000
  */
1012
1001
  exports.ingesterrorresponseIngestErrorResponseSchema = zod_1.z.object({
1013
- errors: zod_1.z.array(exports.ingesterrorresponsedataIngestErrorResponseDataSchema)
1002
+ errors: zod_1.z.array(exports.ingesterrorresponsedataIngestErrorResponseDataSchema),
1014
1003
  });
1015
1004
  exports.ingestErrorResponseSchema = exports.ingesterrorresponseIngestErrorResponseSchema;
1016
1005
  /**
@@ -1018,14 +1007,14 @@ exports.ingestErrorResponseSchema = exports.ingesterrorresponseIngestErrorRespon
1018
1007
  */
1019
1008
  exports.queuedsourceresponsedataQueuedSourceResponseDataSchema = zod_1.z.object({
1020
1009
  type: zod_1.z.string(),
1021
- id: zod_1.z.string()
1010
+ id: zod_1.z.string(),
1022
1011
  });
1023
1012
  exports.queuedSourceResponseDataSchema = exports.queuedsourceresponsedataQueuedSourceResponseDataSchema;
1024
1013
  /**
1025
1014
  * 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.
1026
1015
  */
1027
1016
  exports.queuedsourceresponseQueuedSourceResponseSchema = zod_1.z.object({
1028
- data: exports.queuedsourceresponsedataQueuedSourceResponseDataSchema
1017
+ data: exports.queuedsourceresponsedataQueuedSourceResponseDataSchema,
1029
1018
  });
1030
1019
  exports.queuedSourceResponseSchema = exports.queuedsourceresponseQueuedSourceResponseSchema;
1031
1020
  /**
@@ -1034,7 +1023,7 @@ exports.queuedSourceResponseSchema = exports.queuedsourceresponseQueuedSourceRes
1034
1023
  exports.uploadresponseattributesUploadResponseAttributesSchema = zod_1.z.object({
1035
1024
  id: zod_1.z.string(),
1036
1025
  url: zod_1.z.string(),
1037
- expires: zod_1.z.string()
1026
+ expires: zod_1.z.string(),
1038
1027
  });
1039
1028
  exports.uploadResponseAttributesSchema = exports.uploadresponseattributesUploadResponseAttributesSchema;
1040
1029
  /**
@@ -1043,14 +1032,14 @@ exports.uploadResponseAttributesSchema = exports.uploadresponseattributesUploadR
1043
1032
  exports.uploadresponsedataUploadResponseDataSchema = zod_1.z.object({
1044
1033
  type: zod_1.z.string(),
1045
1034
  id: zod_1.z.string(),
1046
- attributes: exports.uploadresponseattributesUploadResponseAttributesSchema
1035
+ attributes: exports.uploadresponseattributesUploadResponseAttributesSchema,
1047
1036
  });
1048
1037
  exports.uploadResponseDataSchema = exports.uploadresponsedataUploadResponseDataSchema;
1049
1038
  /**
1050
1039
  * 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.
1051
1040
  */
1052
1041
  exports.uploadresponseUploadResponseSchema = zod_1.z.object({
1053
- data: exports.uploadresponsedataUploadResponseDataSchema
1042
+ data: exports.uploadresponsedataUploadResponseDataSchema,
1054
1043
  });
1055
1044
  exports.uploadResponseSchema = exports.uploadresponseUploadResponseSchema;
1056
1045
  /**
@@ -1061,26 +1050,26 @@ exports.speedSpeedSchema = zod_1.z.object({
1061
1050
  return undefined; if (Array.isArray(v))
1062
1051
  return v; if (typeof v === 'string')
1063
1052
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(10))),
1064
- preservePitch: zod_1.z.optional(zod_1.z.boolean())
1053
+ preservePitch: zod_1.z.optional(zod_1.z.boolean()),
1065
1054
  });
1066
1055
  exports.speedSchema = exports.speedSpeedSchema;
1067
1056
  /**
1068
1057
  * Generate a transcription of the audio in the video. The transcription can be output as a file in SRT or VTT format.
1069
1058
  */
1070
1059
  exports.transcriptionTranscriptionSchema = zod_1.z.object({
1071
- format: zod_1.z.optional(zod_1.z.enum(['srt', 'vtt']))
1060
+ format: zod_1.z.optional(zod_1.z.enum(["srt", "vtt"])),
1072
1061
  });
1073
1062
  exports.transcriptionSchema = exports.transcriptionTranscriptionSchema;
1074
1063
  /**
1075
1064
  * 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.
1076
1065
  */
1077
1066
  exports.lumaassetLumaAssetSchema = zod_1.z.object({
1078
- type: zod_1.z.enum(['luma']),
1067
+ type: zod_1.z.enum(["luma"]),
1079
1068
  src: zod_1.z.string(),
1080
1069
  trim: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1081
1070
  return undefined; if (Array.isArray(v))
1082
1071
  return v; if (typeof v === 'string')
1083
- return Number(v); return v; }), zod_1.z.number()))
1072
+ return Number(v); return v; }), zod_1.z.number())),
1084
1073
  });
1085
1074
  exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema;
1086
1075
  /**
@@ -1088,7 +1077,7 @@ exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema;
1088
1077
  */
1089
1078
  exports.mergefieldMergeFieldSchema = zod_1.z.object({
1090
1079
  find: zod_1.z.string(),
1091
- replace: zod_1.z.unknown()
1080
+ replace: zod_1.z.unknown(),
1092
1081
  });
1093
1082
  exports.mergeFieldSchema = exports.mergefieldMergeFieldSchema;
1094
1083
  /**
@@ -1098,7 +1087,7 @@ exports.posterPosterSchema = zod_1.z.object({
1098
1087
  capture: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1099
1088
  return undefined; if (Array.isArray(v))
1100
1089
  return v; if (typeof v === 'string')
1101
- return Number(v); return v; }), zod_1.z.number())
1090
+ return Number(v); return v; }), zod_1.z.number()),
1102
1091
  });
1103
1092
  exports.posterSchema = exports.posterPosterSchema;
1104
1093
  /**
@@ -1112,7 +1101,7 @@ exports.rangeRangeSchema = zod_1.z.object({
1112
1101
  length: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1113
1102
  return undefined; if (Array.isArray(v))
1114
1103
  return v; if (typeof v === 'string')
1115
- return Number(v); return v; }), zod_1.z.number().gte(0)))
1104
+ return Number(v); return v; }), zod_1.z.number().gte(0))),
1116
1105
  });
1117
1106
  exports.rangeSchema = exports.rangeRangeSchema;
1118
1107
  /**
@@ -1126,14 +1115,9 @@ exports.assetresponseattributesAssetResponseAttributesSchema = zod_1.z.object({
1126
1115
  providerId: zod_1.z.optional(zod_1.z.string()),
1127
1116
  filename: zod_1.z.optional(zod_1.z.string()),
1128
1117
  url: zod_1.z.optional(zod_1.z.string()),
1129
- status: zod_1.z.enum([
1130
- 'importing',
1131
- 'ready',
1132
- 'failed',
1133
- 'deleted'
1134
- ]),
1118
+ status: zod_1.z.enum(["importing", "ready", "failed", "deleted"]),
1135
1119
  created: zod_1.z.optional(zod_1.z.string()),
1136
- updated: zod_1.z.optional(zod_1.z.string())
1120
+ updated: zod_1.z.optional(zod_1.z.string()),
1137
1121
  });
1138
1122
  exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResponseAttributesSchema;
1139
1123
  /**
@@ -1141,21 +1125,21 @@ exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResp
1141
1125
  */
1142
1126
  exports.assetresponsedataAssetResponseDataSchema = zod_1.z.object({
1143
1127
  type: zod_1.z.string(),
1144
- attributes: exports.assetresponseattributesAssetResponseAttributesSchema
1128
+ attributes: exports.assetresponseattributesAssetResponseAttributesSchema,
1145
1129
  });
1146
1130
  exports.assetResponseDataSchema = exports.assetresponsedataAssetResponseDataSchema;
1147
1131
  /**
1148
1132
  * 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.
1149
1133
  */
1150
1134
  exports.assetrenderresponseAssetRenderResponseSchema = zod_1.z.object({
1151
- data: zod_1.z.array(exports.assetresponsedataAssetResponseDataSchema)
1135
+ data: zod_1.z.array(exports.assetresponsedataAssetResponseDataSchema),
1152
1136
  });
1153
1137
  exports.assetRenderResponseSchema = exports.assetrenderresponseAssetRenderResponseSchema;
1154
1138
  /**
1155
1139
  * 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.
1156
1140
  */
1157
1141
  exports.assetresponseAssetResponseSchema = zod_1.z.object({
1158
- data: exports.assetresponsedataAssetResponseDataSchema
1142
+ data: exports.assetresponsedataAssetResponseDataSchema,
1159
1143
  });
1160
1144
  exports.assetResponseSchema = exports.assetresponseAssetResponseSchema;
1161
1145
  /**
@@ -1164,7 +1148,7 @@ exports.assetResponseSchema = exports.assetresponseAssetResponseSchema;
1164
1148
  exports.proberesponseProbeResponseSchema = zod_1.z.object({
1165
1149
  success: zod_1.z.boolean(),
1166
1150
  message: zod_1.z.string(),
1167
- response: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown())
1151
+ response: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
1168
1152
  });
1169
1153
  exports.probeResponseSchema = exports.proberesponseProbeResponseSchema;
1170
1154
  /**
@@ -1172,7 +1156,7 @@ exports.probeResponseSchema = exports.proberesponseProbeResponseSchema;
1172
1156
  */
1173
1157
  exports.queuedresponsedataQueuedResponseDataSchema = zod_1.z.object({
1174
1158
  message: zod_1.z.string(),
1175
- id: zod_1.z.string()
1159
+ id: zod_1.z.string(),
1176
1160
  });
1177
1161
  exports.queuedResponseDataSchema = exports.queuedresponsedataQueuedResponseDataSchema;
1178
1162
  /**
@@ -1181,7 +1165,7 @@ exports.queuedResponseDataSchema = exports.queuedresponsedataQueuedResponseDataS
1181
1165
  exports.queuedresponseQueuedResponseSchema = zod_1.z.object({
1182
1166
  success: zod_1.z.boolean(),
1183
1167
  message: zod_1.z.string(),
1184
- response: exports.queuedresponsedataQueuedResponseDataSchema
1168
+ response: exports.queuedresponsedataQueuedResponseDataSchema,
1185
1169
  });
1186
1170
  exports.queuedResponseSchema = exports.queuedresponseQueuedResponseSchema;
1187
1171
  /**
@@ -1191,7 +1175,7 @@ exports.templatelistresponseitemTemplateListResponseItemSchema = zod_1.z.object(
1191
1175
  id: zod_1.z.string(),
1192
1176
  name: zod_1.z.string(),
1193
1177
  created: zod_1.z.optional(zod_1.z.string()),
1194
- updated: zod_1.z.optional(zod_1.z.string())
1178
+ updated: zod_1.z.optional(zod_1.z.string()),
1195
1179
  });
1196
1180
  exports.templateListResponseItemSchema = exports.templatelistresponseitemTemplateListResponseItemSchema;
1197
1181
  /**
@@ -1199,7 +1183,7 @@ exports.templateListResponseItemSchema = exports.templatelistresponseitemTemplat
1199
1183
  */
1200
1184
  exports.templatelistresponsedataTemplateListResponseDataSchema = zod_1.z.object({
1201
1185
  owner: zod_1.z.string(),
1202
- templates: zod_1.z.array(exports.templatelistresponseitemTemplateListResponseItemSchema)
1186
+ templates: zod_1.z.array(exports.templatelistresponseitemTemplateListResponseItemSchema),
1203
1187
  });
1204
1188
  exports.templateListResponseDataSchema = exports.templatelistresponsedataTemplateListResponseDataSchema;
1205
1189
  /**
@@ -1208,7 +1192,7 @@ exports.templateListResponseDataSchema = exports.templatelistresponsedataTemplat
1208
1192
  exports.templatelistresponseTemplateListResponseSchema = zod_1.z.object({
1209
1193
  success: zod_1.z.boolean(),
1210
1194
  message: zod_1.z.string(),
1211
- response: exports.templatelistresponsedataTemplateListResponseDataSchema
1195
+ response: exports.templatelistresponsedataTemplateListResponseDataSchema,
1212
1196
  });
1213
1197
  exports.templateListResponseSchema = exports.templatelistresponseTemplateListResponseSchema;
1214
1198
  /**
@@ -1216,7 +1200,7 @@ exports.templateListResponseSchema = exports.templatelistresponseTemplateListRes
1216
1200
  */
1217
1201
  exports.templateresponsedataTemplateResponseDataSchema = zod_1.z.object({
1218
1202
  message: zod_1.z.string(),
1219
- id: zod_1.z.string()
1203
+ id: zod_1.z.string(),
1220
1204
  });
1221
1205
  exports.templateResponseDataSchema = exports.templateresponsedataTemplateResponseDataSchema;
1222
1206
  /**
@@ -1225,23 +1209,15 @@ exports.templateResponseDataSchema = exports.templateresponsedataTemplateRespons
1225
1209
  exports.templateresponseTemplateResponseSchema = zod_1.z.object({
1226
1210
  success: zod_1.z.boolean(),
1227
1211
  message: zod_1.z.string(),
1228
- response: exports.templateresponsedataTemplateResponseDataSchema
1212
+ response: exports.templateresponsedataTemplateResponseDataSchema,
1229
1213
  });
1230
1214
  exports.templateResponseSchema = exports.templateresponseTemplateResponseSchema;
1231
1215
  /**
1232
1216
  * Text alignment properties (horizontal and vertical).
1233
1217
  */
1234
1218
  exports.richtextpropertiesRichTextAlignmentSchema = zod_1.z.object({
1235
- horizontal: zod_1.z.optional(zod_1.z.enum([
1236
- 'left',
1237
- 'center',
1238
- 'right'
1239
- ])),
1240
- vertical: zod_1.z.optional(zod_1.z.enum([
1241
- 'top',
1242
- 'middle',
1243
- 'bottom'
1244
- ]))
1219
+ horizontal: zod_1.z.optional(zod_1.z.enum(["left", "center", "right"])),
1220
+ vertical: zod_1.z.optional(zod_1.z.enum(["top", "middle", "bottom"])),
1245
1221
  });
1246
1222
  exports.richTextAlignmentSchema = exports.richtextpropertiesRichTextAlignmentSchema;
1247
1223
  /**
@@ -1249,12 +1225,12 @@ exports.richTextAlignmentSchema = exports.richtextpropertiesRichTextAlignmentSch
1249
1225
  */
1250
1226
  exports.richtextpropertiesRichTextAnimationSchema = zod_1.z.object({
1251
1227
  preset: zod_1.z.enum([
1252
- 'fadeIn',
1253
- 'slideIn',
1254
- 'typewriter',
1255
- 'ascend',
1256
- 'shift',
1257
- 'movingLetters'
1228
+ "fadeIn",
1229
+ "slideIn",
1230
+ "typewriter",
1231
+ "ascend",
1232
+ "shift",
1233
+ "movingLetters",
1258
1234
  ]),
1259
1235
  speed: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1260
1236
  return undefined; if (Array.isArray(v))
@@ -1264,13 +1240,8 @@ exports.richtextpropertiesRichTextAnimationSchema = zod_1.z.object({
1264
1240
  return undefined; if (Array.isArray(v))
1265
1241
  return v; if (typeof v === 'string')
1266
1242
  return Number(v); return v; }), zod_1.z.number().gte(0.1).lte(30))),
1267
- style: zod_1.z.optional(zod_1.z.enum(['character', 'word'])),
1268
- direction: zod_1.z.optional(zod_1.z.enum([
1269
- 'left',
1270
- 'right',
1271
- 'up',
1272
- 'down'
1273
- ]))
1243
+ style: zod_1.z.optional(zod_1.z.enum(["character", "word"])),
1244
+ direction: zod_1.z.optional(zod_1.z.enum(["left", "right", "up", "down"])),
1274
1245
  });
1275
1246
  exports.richTextAnimationSchema = exports.richtextpropertiesRichTextAnimationSchema;
1276
1247
  /**
@@ -1285,7 +1256,7 @@ exports.richtextpropertiesRichTextBackgroundSchema = zod_1.z.object({
1285
1256
  borderRadius: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1286
1257
  return undefined; if (Array.isArray(v))
1287
1258
  return v; if (typeof v === 'string')
1288
- return Number(v); return v; }), zod_1.z.number().gte(0))).default(0)
1259
+ return Number(v); return v; }), zod_1.z.number().gte(0))).default(0),
1289
1260
  });
1290
1261
  exports.richTextBackgroundSchema = exports.richtextpropertiesRichTextBackgroundSchema;
1291
1262
  /**
@@ -1296,7 +1267,7 @@ exports.richtextpropertiesRichTextBorderSchema = zod_1.z.object({
1296
1267
  return undefined; if (Array.isArray(v))
1297
1268
  return v; if (typeof v === 'string')
1298
1269
  return Number(v); return v; }), zod_1.z.number().gte(0))).default(0),
1299
- color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)).default('#000000'),
1270
+ color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#000000"),
1300
1271
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1301
1272
  return undefined; if (Array.isArray(v))
1302
1273
  return v; if (typeof v === 'string')
@@ -1304,24 +1275,26 @@ exports.richtextpropertiesRichTextBorderSchema = zod_1.z.object({
1304
1275
  radius: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1305
1276
  return undefined; if (Array.isArray(v))
1306
1277
  return v; if (typeof v === 'string')
1307
- return Number(v); return v; }), zod_1.z.number().gte(0))).default(0)
1278
+ return Number(v); return v; }), zod_1.z.number().gte(0))).default(0),
1308
1279
  });
1309
1280
  /**
1310
1281
  * Gradient properties for text fill.
1311
1282
  */
1312
1283
  exports.richtextpropertiesRichTextGradientSchema = zod_1.z.object({
1313
- type: zod_1.z.optional(zod_1.z.enum(['linear', 'radial'])),
1284
+ type: zod_1.z.optional(zod_1.z.enum(["linear", "radial"])),
1314
1285
  angle: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1315
1286
  return undefined; if (Array.isArray(v))
1316
1287
  return v; if (typeof v === 'string')
1317
1288
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(360))).default(0),
1318
- stops: zod_1.z.array(zod_1.z.object({
1289
+ stops: zod_1.z
1290
+ .array(zod_1.z.object({
1319
1291
  offset: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1320
1292
  return undefined; if (Array.isArray(v))
1321
1293
  return v; if (typeof v === 'string')
1322
1294
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(1)),
1323
- color: zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)
1324
- })).min(2)
1295
+ color: zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/),
1296
+ }))
1297
+ .min(2),
1325
1298
  });
1326
1299
  exports.richTextGradientSchema = exports.richtextpropertiesRichTextGradientSchema;
1327
1300
  /**
@@ -1343,7 +1316,7 @@ exports.richtextpropertiesRichTextPaddingSchema = zod_1.z.object({
1343
1316
  left: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1344
1317
  return undefined; if (Array.isArray(v))
1345
1318
  return v; if (typeof v === 'string')
1346
- return Number(v); return v; }), zod_1.z.number().gte(0))).default(0)
1319
+ return Number(v); return v; }), zod_1.z.number().gte(0))).default(0),
1347
1320
  });
1348
1321
  /**
1349
1322
  * Text shadow properties.
@@ -1361,11 +1334,11 @@ exports.richtextpropertiesRichTextShadowSchema = zod_1.z.object({
1361
1334
  return undefined; if (Array.isArray(v))
1362
1335
  return v; if (typeof v === 'string')
1363
1336
  return Number(v); return v; }), zod_1.z.number().gte(0))).default(0),
1364
- color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)).default('#000000'),
1337
+ color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#000000"),
1365
1338
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1366
1339
  return undefined; if (Array.isArray(v))
1367
1340
  return v; if (typeof v === 'string')
1368
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(0.5)
1341
+ return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(0.5),
1369
1342
  });
1370
1343
  exports.richTextShadowSchema = exports.richtextpropertiesRichTextShadowSchema;
1371
1344
  /**
@@ -1376,30 +1349,30 @@ exports.richtextpropertiesRichTextStrokeSchema = zod_1.z.object({
1376
1349
  return undefined; if (Array.isArray(v))
1377
1350
  return v; if (typeof v === 'string')
1378
1351
  return Number(v); return v; }), zod_1.z.number().gte(0))).default(0),
1379
- color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)).default('#000000'),
1352
+ color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#000000"),
1380
1353
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1381
1354
  return undefined; if (Array.isArray(v))
1382
1355
  return v; if (typeof v === 'string')
1383
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(1)
1356
+ return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(1),
1384
1357
  });
1385
1358
  exports.richTextStrokeSchema = exports.richtextpropertiesRichTextStrokeSchema;
1386
1359
  /**
1387
1360
  * Font properties for rich text.
1388
1361
  */
1389
1362
  exports.richtextpropertiesRichTextFontSchema = zod_1.z.object({
1390
- family: zod_1.z.optional(zod_1.z.string()).default('Open Sans'),
1363
+ family: zod_1.z.optional(zod_1.z.string()).default("Open Sans"),
1391
1364
  size: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1392
1365
  return undefined; if (Array.isArray(v))
1393
1366
  return v; if (typeof v === 'string')
1394
1367
  return Number(v); return v; }), zod_1.z.number().int().gte(1).lte(500))).default(24),
1395
- weight: zod_1.z.optional(zod_1.z.unknown()).default('400'),
1396
- color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)).default('#ffffff'),
1368
+ weight: zod_1.z.optional(zod_1.z.unknown()).default("400"),
1369
+ color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#ffffff"),
1397
1370
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1398
1371
  return undefined; if (Array.isArray(v))
1399
1372
  return v; if (typeof v === 'string')
1400
1373
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(1),
1401
1374
  background: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)),
1402
- stroke: zod_1.z.optional(exports.richtextpropertiesRichTextStrokeSchema)
1375
+ stroke: zod_1.z.optional(exports.richtextpropertiesRichTextStrokeSchema),
1403
1376
  });
1404
1377
  exports.richTextFontSchema = exports.richtextpropertiesRichTextFontSchema;
1405
1378
  /**
@@ -1414,18 +1387,9 @@ exports.richtextpropertiesRichTextStyleSchema = zod_1.z.object({
1414
1387
  return undefined; if (Array.isArray(v))
1415
1388
  return v; if (typeof v === 'string')
1416
1389
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(10))).default(1.2),
1417
- textTransform: zod_1.z.optional(zod_1.z.enum([
1418
- 'none',
1419
- 'uppercase',
1420
- 'lowercase',
1421
- 'capitalize'
1422
- ])),
1423
- textDecoration: zod_1.z.optional(zod_1.z.enum([
1424
- 'none',
1425
- 'underline',
1426
- 'line-through'
1427
- ])),
1428
- gradient: zod_1.z.optional(exports.richtextpropertiesRichTextGradientSchema)
1390
+ textTransform: zod_1.z.optional(zod_1.z.enum(["none", "uppercase", "lowercase", "capitalize"])),
1391
+ textDecoration: zod_1.z.optional(zod_1.z.enum(["none", "underline", "line-through"])),
1392
+ gradient: zod_1.z.optional(exports.richtextpropertiesRichTextGradientSchema),
1429
1393
  });
1430
1394
  exports.richTextStyleSchema = exports.richtextpropertiesRichTextStyleSchema;
1431
1395
  /**
@@ -1434,22 +1398,19 @@ exports.richTextStyleSchema = exports.richtextpropertiesRichTextStyleSchema;
1434
1398
  *
1435
1399
  */
1436
1400
  exports.richtextassetRichTextAssetSchema = zod_1.z.object({
1437
- type: zod_1.z.enum(['rich-text']),
1401
+ type: zod_1.z.enum(["rich-text"]),
1438
1402
  text: zod_1.z.string().max(5000),
1439
1403
  font: zod_1.z.optional(exports.richtextpropertiesRichTextFontSchema),
1440
1404
  style: zod_1.z.optional(exports.richtextpropertiesRichTextStyleSchema),
1441
1405
  shadow: zod_1.z.optional(exports.richtextpropertiesRichTextShadowSchema),
1442
1406
  background: zod_1.z.optional(exports.richtextpropertiesRichTextBackgroundSchema),
1443
1407
  border: zod_1.z.optional(exports.richtextpropertiesRichTextBorderSchema),
1444
- padding: zod_1.z.optional(zod_1.z.union([
1445
- zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1408
+ padding: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1446
1409
  return undefined; if (Array.isArray(v))
1447
1410
  return v; if (typeof v === 'string')
1448
- return Number(v); return v; }), zod_1.z.number().gte(0)),
1449
- exports.richtextpropertiesRichTextPaddingSchema
1450
- ])),
1411
+ return Number(v); return v; }), zod_1.z.number().gte(0)), exports.richtextpropertiesRichTextPaddingSchema])),
1451
1412
  align: zod_1.z.optional(exports.richtextpropertiesRichTextAlignmentSchema),
1452
- animation: zod_1.z.optional(exports.richtextpropertiesRichTextAnimationSchema)
1413
+ animation: zod_1.z.optional(exports.richtextpropertiesRichTextAnimationSchema),
1453
1414
  });
1454
1415
  exports.richTextAssetSchema = exports.richtextassetRichTextAssetSchema;
1455
1416
  /**
@@ -1458,8 +1419,8 @@ exports.richTextAssetSchema = exports.richtextassetRichTextAssetSchema;
1458
1419
  exports.transferresponseattributesTransferResponseAttributesSchema = zod_1.z.object({
1459
1420
  id: zod_1.z.optional(zod_1.z.string()),
1460
1421
  owner: zod_1.z.optional(zod_1.z.string()),
1461
- status: zod_1.z.optional(zod_1.z.enum(['queued', 'failed'])),
1462
- created: zod_1.z.optional(zod_1.z.string())
1422
+ status: zod_1.z.optional(zod_1.z.enum(["queued", "failed"])),
1423
+ created: zod_1.z.optional(zod_1.z.string()),
1463
1424
  });
1464
1425
  exports.transferResponseAttributesSchema = exports.transferresponseattributesTransferResponseAttributesSchema;
1465
1426
  /**
@@ -1467,14 +1428,14 @@ exports.transferResponseAttributesSchema = exports.transferresponseattributesTra
1467
1428
  */
1468
1429
  exports.transferresponsedataTransferResponseDataSchema = zod_1.z.object({
1469
1430
  type: zod_1.z.optional(zod_1.z.string()),
1470
- attributes: zod_1.z.optional(exports.transferresponseattributesTransferResponseAttributesSchema)
1431
+ attributes: zod_1.z.optional(exports.transferresponseattributesTransferResponseAttributesSchema),
1471
1432
  });
1472
1433
  exports.transferResponseDataSchema = exports.transferresponsedataTransferResponseDataSchema;
1473
1434
  /**
1474
1435
  * 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.
1475
1436
  */
1476
1437
  exports.transferresponseTransferResponseSchema = zod_1.z.object({
1477
- data: exports.transferresponsedataTransferResponseDataSchema
1438
+ data: exports.transferresponsedataTransferResponseDataSchema,
1478
1439
  });
1479
1440
  exports.transferResponseSchema = exports.transferresponseTransferResponseSchema;
1480
1441
  /**
@@ -1483,7 +1444,7 @@ exports.transferResponseSchema = exports.transferresponseTransferResponseSchema;
1483
1444
  exports.transferTransferSchema = zod_1.z.object({
1484
1445
  url: zod_1.z.string(),
1485
1446
  id: zod_1.z.string(),
1486
- destinations: zod_1.z.array(exports.destinationsDestinationsSchema)
1447
+ destinations: zod_1.z.array(exports.destinationsDestinationsSchema),
1487
1448
  });
1488
1449
  exports.transferSchema = exports.transferTransferSchema;
1489
1450
  /**
@@ -1492,12 +1453,8 @@ exports.transferSchema = exports.transferTransferSchema;
1492
1453
  *
1493
1454
  */
1494
1455
  exports.shapeassetShapeAssetSchema = zod_1.z.object({
1495
- type: zod_1.z.enum(['shape']),
1496
- shape: zod_1.z.enum([
1497
- 'rectangle',
1498
- 'circle',
1499
- 'line'
1500
- ]),
1456
+ type: zod_1.z.enum(["shape"]),
1457
+ shape: zod_1.z.enum(["rectangle", "circle", "line"]),
1501
1458
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1502
1459
  return undefined; if (Array.isArray(v))
1503
1460
  return v; if (typeof v === 'string')
@@ -1511,14 +1468,14 @@ exports.shapeassetShapeAssetSchema = zod_1.z.object({
1511
1468
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1512
1469
  return undefined; if (Array.isArray(v))
1513
1470
  return v; if (typeof v === 'string')
1514
- return Number(v); return v; }), zod_1.z.number()))
1471
+ return Number(v); return v; }), zod_1.z.number())),
1515
1472
  })),
1516
1473
  stroke: zod_1.z.optional(zod_1.z.object({
1517
1474
  color: zod_1.z.optional(zod_1.z.string()),
1518
1475
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1519
1476
  return undefined; if (Array.isArray(v))
1520
1477
  return v; if (typeof v === 'string')
1521
- return Number(v); return v; }), zod_1.z.number()))
1478
+ return Number(v); return v; }), zod_1.z.number())),
1522
1479
  })),
1523
1480
  rectangle: zod_1.z.optional(zod_1.z.object({
1524
1481
  width: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1532,13 +1489,13 @@ exports.shapeassetShapeAssetSchema = zod_1.z.object({
1532
1489
  cornerRadius: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1533
1490
  return undefined; if (Array.isArray(v))
1534
1491
  return v; if (typeof v === 'string')
1535
- return Number(v); return v; }), zod_1.z.number().int()))
1492
+ return Number(v); return v; }), zod_1.z.number().int())),
1536
1493
  })),
1537
1494
  circle: zod_1.z.optional(zod_1.z.object({
1538
1495
  radius: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1539
1496
  return undefined; if (Array.isArray(v))
1540
1497
  return v; if (typeof v === 'string')
1541
- return Number(v); return v; }), zod_1.z.number().int())
1498
+ return Number(v); return v; }), zod_1.z.number().int()),
1542
1499
  })),
1543
1500
  line: zod_1.z.optional(zod_1.z.object({
1544
1501
  length: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1548,8 +1505,8 @@ exports.shapeassetShapeAssetSchema = zod_1.z.object({
1548
1505
  thickness: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1549
1506
  return undefined; if (Array.isArray(v))
1550
1507
  return v; if (typeof v === 'string')
1551
- return Number(v); return v; }), zod_1.z.number().int())
1552
- }))
1508
+ return Number(v); return v; }), zod_1.z.number().int()),
1509
+ })),
1553
1510
  });
1554
1511
  exports.shapeAssetSchema = exports.shapeassetShapeAssetSchema;
1555
1512
  /**
@@ -1563,7 +1520,7 @@ exports.sizeSizeSchema = zod_1.z.object({
1563
1520
  height: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1564
1521
  return undefined; if (Array.isArray(v))
1565
1522
  return v; if (typeof v === 'string')
1566
- return Number(v); return v; }), zod_1.z.number().int().gte(1).lte(4096)))
1523
+ return Number(v); return v; }), zod_1.z.number().int().gte(1).lte(4096))),
1567
1524
  });
1568
1525
  exports.sizeSchema = exports.sizeSizeSchema;
1569
1526
  /**
@@ -1571,35 +1528,25 @@ exports.sizeSchema = exports.sizeSizeSchema;
1571
1528
  */
1572
1529
  exports.renditionRenditionSchema = zod_1.z.object({
1573
1530
  format: zod_1.z.optional(zod_1.z.enum([
1574
- 'mp4',
1575
- 'webm',
1576
- 'mov',
1577
- 'avi',
1578
- 'mkv',
1579
- 'ogv',
1580
- 'wmv',
1581
- 'avif',
1582
- 'gif',
1583
- 'mp3',
1584
- 'wav',
1585
- 'jpg',
1586
- 'png',
1587
- 'webp',
1588
- 'tif'
1531
+ "mp4",
1532
+ "webm",
1533
+ "mov",
1534
+ "avi",
1535
+ "mkv",
1536
+ "ogv",
1537
+ "wmv",
1538
+ "avif",
1539
+ "gif",
1540
+ "mp3",
1541
+ "wav",
1542
+ "jpg",
1543
+ "png",
1544
+ "webp",
1545
+ "tif",
1589
1546
  ])),
1590
1547
  size: zod_1.z.optional(exports.sizeSizeSchema),
1591
- fit: zod_1.z.optional(zod_1.z.enum([
1592
- 'cover',
1593
- 'contain',
1594
- 'crop'
1595
- ])),
1596
- resolution: zod_1.z.optional(zod_1.z.enum([
1597
- 'preview',
1598
- 'mobile',
1599
- 'sd',
1600
- 'hd',
1601
- 'fhd'
1602
- ])),
1548
+ fit: zod_1.z.optional(zod_1.z.enum(["cover", "contain", "crop"])),
1549
+ resolution: zod_1.z.optional(zod_1.z.enum(["preview", "mobile", "sd", "hd", "fhd"])),
1603
1550
  quality: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1604
1551
  return undefined; if (Array.isArray(v))
1605
1552
  return v; if (typeof v === 'string')
@@ -1615,7 +1562,7 @@ exports.renditionRenditionSchema = zod_1.z.object({
1615
1562
  zod_1.z.literal(48),
1616
1563
  zod_1.z.literal(50),
1617
1564
  zod_1.z.literal(59.94),
1618
- zod_1.z.literal(60)
1565
+ zod_1.z.literal(60),
1619
1566
  ])),
1620
1567
  speed: zod_1.z.optional(exports.speedSpeedSchema),
1621
1568
  keyframeInterval: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1625,7 +1572,7 @@ exports.renditionRenditionSchema = zod_1.z.object({
1625
1572
  fixOffset: zod_1.z.optional(zod_1.z.boolean()),
1626
1573
  fixRotation: zod_1.z.optional(zod_1.z.boolean()),
1627
1574
  enhance: zod_1.z.optional(exports.enhancementsEnhancementsSchema),
1628
- filename: zod_1.z.optional(zod_1.z.string())
1575
+ filename: zod_1.z.optional(zod_1.z.string()),
1629
1576
  });
1630
1577
  exports.renditionSchema = exports.renditionRenditionSchema;
1631
1578
  /**
@@ -1633,7 +1580,7 @@ exports.renditionSchema = exports.renditionRenditionSchema;
1633
1580
  */
1634
1581
  exports.outputsOutputsSchema = zod_1.z.object({
1635
1582
  renditions: zod_1.z.optional(zod_1.z.array(exports.renditionRenditionSchema)),
1636
- transcription: zod_1.z.optional(exports.transcriptionTranscriptionSchema)
1583
+ transcription: zod_1.z.optional(exports.transcriptionTranscriptionSchema),
1637
1584
  });
1638
1585
  exports.outputsSchema = exports.outputsOutputsSchema;
1639
1586
  /**
@@ -1642,12 +1589,12 @@ exports.outputsSchema = exports.outputsOutputsSchema;
1642
1589
  exports.renditionresponseattributesRenditionResponseAttributesSchema = zod_1.z.object({
1643
1590
  id: zod_1.z.string(),
1644
1591
  status: zod_1.z.optional(zod_1.z.enum([
1645
- 'queued',
1646
- 'importing',
1647
- 'ready',
1648
- 'failed',
1649
- 'deleted',
1650
- 'overwritten'
1592
+ "queued",
1593
+ "importing",
1594
+ "ready",
1595
+ "failed",
1596
+ "deleted",
1597
+ "overwritten",
1651
1598
  ])),
1652
1599
  url: zod_1.z.optional(zod_1.z.string()),
1653
1600
  executionTime: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1670,14 +1617,14 @@ exports.renditionresponseattributesRenditionResponseAttributesSchema = zod_1.z.o
1670
1617
  fps: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1671
1618
  return undefined; if (Array.isArray(v))
1672
1619
  return v; if (typeof v === 'string')
1673
- return Number(v); return v; }), zod_1.z.number()))
1620
+ return Number(v); return v; }), zod_1.z.number())),
1674
1621
  });
1675
1622
  exports.renditionResponseAttributesSchema = exports.renditionresponseattributesRenditionResponseAttributesSchema;
1676
1623
  /**
1677
1624
  * The list of outputs generated from the source file. Currently supports renditions which are versions of the source file with different transformations applied.
1678
1625
  */
1679
1626
  exports.outputsresponseOutputsResponseSchema = zod_1.z.object({
1680
- renditions: zod_1.z.optional(zod_1.z.array(exports.renditionresponseattributesRenditionResponseAttributesSchema))
1627
+ renditions: zod_1.z.optional(zod_1.z.array(exports.renditionresponseattributesRenditionResponseAttributesSchema)),
1681
1628
  });
1682
1629
  exports.outputsResponseSchema = exports.outputsresponseOutputsResponseSchema;
1683
1630
  /**
@@ -1689,12 +1636,12 @@ exports.sourceresponseattributesSourceResponseAttributesSchema = zod_1.z.object(
1689
1636
  input: zod_1.z.optional(zod_1.z.string()),
1690
1637
  source: zod_1.z.optional(zod_1.z.string()),
1691
1638
  status: zod_1.z.optional(zod_1.z.enum([
1692
- 'queued',
1693
- 'importing',
1694
- 'ready',
1695
- 'failed',
1696
- 'deleted',
1697
- 'overwritten'
1639
+ "queued",
1640
+ "importing",
1641
+ "ready",
1642
+ "failed",
1643
+ "deleted",
1644
+ "overwritten",
1698
1645
  ])),
1699
1646
  outputs: zod_1.z.optional(exports.outputsresponseOutputsResponseSchema),
1700
1647
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1714,7 +1661,7 @@ exports.sourceresponseattributesSourceResponseAttributesSchema = zod_1.z.object(
1714
1661
  return v; if (typeof v === 'string')
1715
1662
  return Number(v); return v; }), zod_1.z.number())),
1716
1663
  created: zod_1.z.optional(zod_1.z.string()),
1717
- updated: zod_1.z.optional(zod_1.z.string())
1664
+ updated: zod_1.z.optional(zod_1.z.string()),
1718
1665
  });
1719
1666
  exports.sourceResponseAttributesSchema = exports.sourceresponseattributesSourceResponseAttributesSchema;
1720
1667
  /**
@@ -1723,21 +1670,21 @@ exports.sourceResponseAttributesSchema = exports.sourceresponseattributesSourceR
1723
1670
  exports.sourceresponsedataSourceResponseDataSchema = zod_1.z.object({
1724
1671
  type: zod_1.z.string(),
1725
1672
  id: zod_1.z.string(),
1726
- attributes: exports.sourceresponseattributesSourceResponseAttributesSchema
1673
+ attributes: exports.sourceresponseattributesSourceResponseAttributesSchema,
1727
1674
  });
1728
1675
  exports.sourceResponseDataSchema = exports.sourceresponsedataSourceResponseDataSchema;
1729
1676
  /**
1730
1677
  * A list of all ingested source files fetched or uploaded to a users account.
1731
1678
  */
1732
1679
  exports.sourcelistresponseSourceListResponseSchema = zod_1.z.object({
1733
- data: zod_1.z.array(exports.sourceresponsedataSourceResponseDataSchema)
1680
+ data: zod_1.z.array(exports.sourceresponsedataSourceResponseDataSchema),
1734
1681
  });
1735
1682
  exports.sourceListResponseSchema = exports.sourcelistresponseSourceListResponseSchema;
1736
1683
  /**
1737
1684
  * 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.
1738
1685
  */
1739
1686
  exports.sourceresponseSourceResponseSchema = zod_1.z.object({
1740
- data: exports.sourceresponsedataSourceResponseDataSchema
1687
+ data: exports.sourceresponsedataSourceResponseDataSchema,
1741
1688
  });
1742
1689
  exports.sourceResponseSchema = exports.sourceresponseSourceResponseSchema;
1743
1690
  /**
@@ -1748,7 +1695,7 @@ exports.sourceSourceSchema = zod_1.z.object({
1748
1695
  url: zod_1.z.optional(zod_1.z.string()),
1749
1696
  outputs: zod_1.z.optional(exports.outputsOutputsSchema),
1750
1697
  destinations: zod_1.z.optional(exports.destinationsDestinationsSchema),
1751
- callback: zod_1.z.optional(zod_1.z.string())
1698
+ callback: zod_1.z.optional(zod_1.z.string()),
1752
1699
  });
1753
1700
  exports.sourceSchema = exports.sourceSourceSchema;
1754
1701
  /**
@@ -1756,15 +1703,11 @@ exports.sourceSchema = exports.sourceSourceSchema;
1756
1703
  */
1757
1704
  exports.soundtrackSoundtrackSchema = zod_1.z.object({
1758
1705
  src: zod_1.z.string(),
1759
- effect: zod_1.z.optional(zod_1.z.enum([
1760
- 'fadeIn',
1761
- 'fadeOut',
1762
- 'fadeInFadeOut'
1763
- ])),
1706
+ effect: zod_1.z.optional(zod_1.z.enum(["fadeIn", "fadeOut", "fadeInFadeOut"])),
1764
1707
  volume: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1765
1708
  return undefined; if (Array.isArray(v))
1766
1709
  return v; if (typeof v === 'string')
1767
- return Number(v); return v; }), zod_1.z.number()))
1710
+ return Number(v); return v; }), zod_1.z.number())),
1768
1711
  });
1769
1712
  exports.soundtrackSchema = exports.soundtrackSoundtrackSchema;
1770
1713
  /**
@@ -1777,7 +1720,7 @@ exports.svgpropertiesSvgGradientStopSchema = zod_1.z.object({
1777
1720
  return undefined; if (Array.isArray(v))
1778
1721
  return v; if (typeof v === 'string')
1779
1722
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(1)),
1780
- color: zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)
1723
+ color: zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/),
1781
1724
  });
1782
1725
  exports.svgGradientStopSchema = exports.svgpropertiesSvgGradientStopSchema;
1783
1726
  /**
@@ -1786,7 +1729,7 @@ exports.svgGradientStopSchema = exports.svgpropertiesSvgGradientStopSchema;
1786
1729
  *
1787
1730
  */
1788
1731
  exports.svgpropertiesSvgLinearGradientFillSchema = zod_1.z.object({
1789
- type: zod_1.z.enum(['linear']),
1732
+ type: zod_1.z.enum(["linear"]),
1790
1733
  angle: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1791
1734
  return undefined; if (Array.isArray(v))
1792
1735
  return v; if (typeof v === 'string')
@@ -1795,7 +1738,7 @@ exports.svgpropertiesSvgLinearGradientFillSchema = zod_1.z.object({
1795
1738
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1796
1739
  return undefined; if (Array.isArray(v))
1797
1740
  return v; if (typeof v === 'string')
1798
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(1)
1741
+ return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(1),
1799
1742
  });
1800
1743
  exports.svgLinearGradientFillSchema = exports.svgpropertiesSvgLinearGradientFillSchema;
1801
1744
  /**
@@ -1804,12 +1747,12 @@ exports.svgLinearGradientFillSchema = exports.svgpropertiesSvgLinearGradientFill
1804
1747
  *
1805
1748
  */
1806
1749
  exports.svgpropertiesSvgRadialGradientFillSchema = zod_1.z.object({
1807
- type: zod_1.z.enum(['radial']),
1750
+ type: zod_1.z.enum(["radial"]),
1808
1751
  stops: zod_1.z.array(exports.svgpropertiesSvgGradientStopSchema).min(2),
1809
1752
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1810
1753
  return undefined; if (Array.isArray(v))
1811
1754
  return v; if (typeof v === 'string')
1812
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(1)
1755
+ return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(1),
1813
1756
  });
1814
1757
  exports.svgRadialGradientFillSchema = exports.svgpropertiesSvgRadialGradientFillSchema;
1815
1758
  /**
@@ -1829,23 +1772,26 @@ exports.svgpropertiesSvgShadowSchema = zod_1.z.object({
1829
1772
  return undefined; if (Array.isArray(v))
1830
1773
  return v; if (typeof v === 'string')
1831
1774
  return Number(v); return v; }), zod_1.z.number().gte(0))).default(0),
1832
- color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)).default('#000000'),
1775
+ color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#000000"),
1833
1776
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1834
1777
  return undefined; if (Array.isArray(v))
1835
1778
  return v; if (typeof v === 'string')
1836
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(0.5)
1779
+ return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(0.5),
1837
1780
  });
1838
1781
  exports.svgShadowSchema = exports.svgpropertiesSvgShadowSchema;
1839
1782
  /**
1840
1783
  * A solid color fill for SVG shapes.
1841
1784
  */
1842
1785
  exports.svgpropertiesSvgSolidFillSchema = zod_1.z.object({
1843
- type: zod_1.z.enum(['solid']),
1844
- color: zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/).default('#000000'),
1786
+ type: zod_1.z.enum(["solid"]),
1787
+ color: zod_1.z
1788
+ .string()
1789
+ .regex(/^#[A-Fa-f0-9]{6}$/)
1790
+ .default("#000000"),
1845
1791
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1846
1792
  return undefined; if (Array.isArray(v))
1847
1793
  return v; if (typeof v === 'string')
1848
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(1)
1794
+ return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(1),
1849
1795
  });
1850
1796
  exports.svgSolidFillSchema = exports.svgpropertiesSvgSolidFillSchema;
1851
1797
  /**
@@ -1865,7 +1811,7 @@ exports.svgFillSchema = exports.svgpropertiesSvgFillSchema;
1865
1811
  *
1866
1812
  */
1867
1813
  exports.svgpropertiesSvgStrokeSchema = zod_1.z.object({
1868
- color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)).default('#000000'),
1814
+ color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#000000"),
1869
1815
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1870
1816
  return undefined; if (Array.isArray(v))
1871
1817
  return v; if (typeof v === 'string')
@@ -1874,16 +1820,8 @@ exports.svgpropertiesSvgStrokeSchema = zod_1.z.object({
1874
1820
  return undefined; if (Array.isArray(v))
1875
1821
  return v; if (typeof v === 'string')
1876
1822
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(1),
1877
- lineCap: zod_1.z.optional(zod_1.z.enum([
1878
- 'butt',
1879
- 'round',
1880
- 'square'
1881
- ])),
1882
- lineJoin: zod_1.z.optional(zod_1.z.enum([
1883
- 'miter',
1884
- 'round',
1885
- 'bevel'
1886
- ])),
1823
+ lineCap: zod_1.z.optional(zod_1.z.enum(["butt", "round", "square"])),
1824
+ lineJoin: zod_1.z.optional(zod_1.z.enum(["miter", "round", "bevel"])),
1887
1825
  dashArray: zod_1.z.optional(zod_1.z.array(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1888
1826
  return undefined; if (Array.isArray(v))
1889
1827
  return v; if (typeof v === 'string')
@@ -1891,7 +1829,7 @@ exports.svgpropertiesSvgStrokeSchema = zod_1.z.object({
1891
1829
  dashOffset: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1892
1830
  return undefined; if (Array.isArray(v))
1893
1831
  return v; if (typeof v === 'string')
1894
- return Number(v); return v; }), zod_1.z.number())).default(0)
1832
+ return Number(v); return v; }), zod_1.z.number())).default(0),
1895
1833
  });
1896
1834
  exports.svgStrokeSchema = exports.svgpropertiesSvgStrokeSchema;
1897
1835
  /**
@@ -1922,7 +1860,7 @@ exports.svgpropertiesSvgTransformSchema = zod_1.z.object({
1922
1860
  originY: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1923
1861
  return undefined; if (Array.isArray(v))
1924
1862
  return v; if (typeof v === 'string')
1925
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(0.5)
1863
+ return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(0.5),
1926
1864
  });
1927
1865
  exports.svgTransformSchema = exports.svgpropertiesSvgTransformSchema;
1928
1866
  /**
@@ -1931,7 +1869,7 @@ exports.svgTransformSchema = exports.svgpropertiesSvgTransformSchema;
1931
1869
  *
1932
1870
  */
1933
1871
  exports.svgshapesSvgArrowShapeSchema = zod_1.z.object({
1934
- type: zod_1.z.enum(['arrow']),
1872
+ type: zod_1.z.enum(["arrow"]),
1935
1873
  length: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1936
1874
  return undefined; if (Array.isArray(v))
1937
1875
  return v; if (typeof v === 'string')
@@ -1947,7 +1885,7 @@ exports.svgshapesSvgArrowShapeSchema = zod_1.z.object({
1947
1885
  shaftWidth: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1948
1886
  return undefined; if (Array.isArray(v))
1949
1887
  return v; if (typeof v === 'string')
1950
- return Number(v); return v; }), zod_1.z.number().gte(1).lte(1000))
1888
+ return Number(v); return v; }), zod_1.z.number().gte(1).lte(1000)),
1951
1889
  });
1952
1890
  exports.svgArrowShapeSchema = exports.svgshapesSvgArrowShapeSchema;
1953
1891
  /**
@@ -1956,11 +1894,11 @@ exports.svgArrowShapeSchema = exports.svgshapesSvgArrowShapeSchema;
1956
1894
  *
1957
1895
  */
1958
1896
  exports.svgshapesSvgCircleShapeSchema = zod_1.z.object({
1959
- type: zod_1.z.enum(['circle']),
1897
+ type: zod_1.z.enum(["circle"]),
1960
1898
  radius: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1961
1899
  return undefined; if (Array.isArray(v))
1962
1900
  return v; if (typeof v === 'string')
1963
- return Number(v); return v; }), zod_1.z.number().gte(1).lte(2048))
1901
+ return Number(v); return v; }), zod_1.z.number().gte(1).lte(2048)),
1964
1902
  });
1965
1903
  exports.svgCircleShapeSchema = exports.svgshapesSvgCircleShapeSchema;
1966
1904
  /**
@@ -1969,7 +1907,7 @@ exports.svgCircleShapeSchema = exports.svgshapesSvgCircleShapeSchema;
1969
1907
  *
1970
1908
  */
1971
1909
  exports.svgshapesSvgCrossShapeSchema = zod_1.z.object({
1972
- type: zod_1.z.enum(['cross']),
1910
+ type: zod_1.z.enum(["cross"]),
1973
1911
  width: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1974
1912
  return undefined; if (Array.isArray(v))
1975
1913
  return v; if (typeof v === 'string')
@@ -1981,7 +1919,7 @@ exports.svgshapesSvgCrossShapeSchema = zod_1.z.object({
1981
1919
  thickness: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1982
1920
  return undefined; if (Array.isArray(v))
1983
1921
  return v; if (typeof v === 'string')
1984
- return Number(v); return v; }), zod_1.z.number().gte(1).lte(500))
1922
+ return Number(v); return v; }), zod_1.z.number().gte(1).lte(500)),
1985
1923
  });
1986
1924
  exports.svgCrossShapeSchema = exports.svgshapesSvgCrossShapeSchema;
1987
1925
  /**
@@ -1990,7 +1928,7 @@ exports.svgCrossShapeSchema = exports.svgshapesSvgCrossShapeSchema;
1990
1928
  *
1991
1929
  */
1992
1930
  exports.svgshapesSvgEllipseShapeSchema = zod_1.z.object({
1993
- type: zod_1.z.enum(['ellipse']),
1931
+ type: zod_1.z.enum(["ellipse"]),
1994
1932
  radiusX: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1995
1933
  return undefined; if (Array.isArray(v))
1996
1934
  return v; if (typeof v === 'string')
@@ -1998,7 +1936,7 @@ exports.svgshapesSvgEllipseShapeSchema = zod_1.z.object({
1998
1936
  radiusY: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1999
1937
  return undefined; if (Array.isArray(v))
2000
1938
  return v; if (typeof v === 'string')
2001
- return Number(v); return v; }), zod_1.z.number().gte(1).lte(2048))
1939
+ return Number(v); return v; }), zod_1.z.number().gte(1).lte(2048)),
2002
1940
  });
2003
1941
  exports.svgEllipseShapeSchema = exports.svgshapesSvgEllipseShapeSchema;
2004
1942
  /**
@@ -2007,11 +1945,11 @@ exports.svgEllipseShapeSchema = exports.svgshapesSvgEllipseShapeSchema;
2007
1945
  *
2008
1946
  */
2009
1947
  exports.svgshapesSvgHeartShapeSchema = zod_1.z.object({
2010
- type: zod_1.z.enum(['heart']),
1948
+ type: zod_1.z.enum(["heart"]),
2011
1949
  size: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2012
1950
  return undefined; if (Array.isArray(v))
2013
1951
  return v; if (typeof v === 'string')
2014
- return Number(v); return v; }), zod_1.z.number().gte(1).lte(4096))
1952
+ return Number(v); return v; }), zod_1.z.number().gte(1).lte(4096)),
2015
1953
  });
2016
1954
  exports.svgHeartShapeSchema = exports.svgshapesSvgHeartShapeSchema;
2017
1955
  /**
@@ -2020,7 +1958,7 @@ exports.svgHeartShapeSchema = exports.svgshapesSvgHeartShapeSchema;
2020
1958
  *
2021
1959
  */
2022
1960
  exports.svgshapesSvgLineShapeSchema = zod_1.z.object({
2023
- type: zod_1.z.enum(['line']),
1961
+ type: zod_1.z.enum(["line"]),
2024
1962
  length: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2025
1963
  return undefined; if (Array.isArray(v))
2026
1964
  return v; if (typeof v === 'string')
@@ -2028,7 +1966,7 @@ exports.svgshapesSvgLineShapeSchema = zod_1.z.object({
2028
1966
  thickness: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2029
1967
  return undefined; if (Array.isArray(v))
2030
1968
  return v; if (typeof v === 'string')
2031
- return Number(v); return v; }), zod_1.z.number().gte(1).lte(500))
1969
+ return Number(v); return v; }), zod_1.z.number().gte(1).lte(500)),
2032
1970
  });
2033
1971
  exports.svgLineShapeSchema = exports.svgshapesSvgLineShapeSchema;
2034
1972
  /**
@@ -2049,8 +1987,8 @@ exports.svgLineShapeSchema = exports.svgshapesSvgLineShapeSchema;
2049
1987
  *
2050
1988
  */
2051
1989
  exports.svgshapesSvgPathShapeSchema = zod_1.z.object({
2052
- type: zod_1.z.enum(['path']),
2053
- d: zod_1.z.string().min(1).max(100000)
1990
+ type: zod_1.z.enum(["path"]),
1991
+ d: zod_1.z.string().min(1).max(100000),
2054
1992
  });
2055
1993
  exports.svgPathShapeSchema = exports.svgshapesSvgPathShapeSchema;
2056
1994
  /**
@@ -2060,7 +1998,7 @@ exports.svgPathShapeSchema = exports.svgshapesSvgPathShapeSchema;
2060
1998
  *
2061
1999
  */
2062
2000
  exports.svgshapesSvgPolygonShapeSchema = zod_1.z.object({
2063
- type: zod_1.z.enum(['polygon']),
2001
+ type: zod_1.z.enum(["polygon"]),
2064
2002
  sides: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2065
2003
  return undefined; if (Array.isArray(v))
2066
2004
  return v; if (typeof v === 'string')
@@ -2068,7 +2006,7 @@ exports.svgshapesSvgPolygonShapeSchema = zod_1.z.object({
2068
2006
  radius: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2069
2007
  return undefined; if (Array.isArray(v))
2070
2008
  return v; if (typeof v === 'string')
2071
- return Number(v); return v; }), zod_1.z.number().gte(1).lte(2048))
2009
+ return Number(v); return v; }), zod_1.z.number().gte(1).lte(2048)),
2072
2010
  });
2073
2011
  exports.svgPolygonShapeSchema = exports.svgshapesSvgPolygonShapeSchema;
2074
2012
  /**
@@ -2077,7 +2015,7 @@ exports.svgPolygonShapeSchema = exports.svgshapesSvgPolygonShapeSchema;
2077
2015
  *
2078
2016
  */
2079
2017
  exports.svgshapesSvgRectangleShapeSchema = zod_1.z.object({
2080
- type: zod_1.z.enum(['rectangle']),
2018
+ type: zod_1.z.enum(["rectangle"]),
2081
2019
  width: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2082
2020
  return undefined; if (Array.isArray(v))
2083
2021
  return v; if (typeof v === 'string')
@@ -2089,7 +2027,7 @@ exports.svgshapesSvgRectangleShapeSchema = zod_1.z.object({
2089
2027
  cornerRadius: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2090
2028
  return undefined; if (Array.isArray(v))
2091
2029
  return v; if (typeof v === 'string')
2092
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(2048))).default(0)
2030
+ return Number(v); return v; }), zod_1.z.number().gte(0).lte(2048))).default(0),
2093
2031
  });
2094
2032
  exports.svgRectangleShapeSchema = exports.svgshapesSvgRectangleShapeSchema;
2095
2033
  /**
@@ -2098,7 +2036,7 @@ exports.svgRectangleShapeSchema = exports.svgshapesSvgRectangleShapeSchema;
2098
2036
  *
2099
2037
  */
2100
2038
  exports.svgshapesSvgRingShapeSchema = zod_1.z.object({
2101
- type: zod_1.z.enum(['ring']),
2039
+ type: zod_1.z.enum(["ring"]),
2102
2040
  outerRadius: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2103
2041
  return undefined; if (Array.isArray(v))
2104
2042
  return v; if (typeof v === 'string')
@@ -2106,7 +2044,7 @@ exports.svgshapesSvgRingShapeSchema = zod_1.z.object({
2106
2044
  innerRadius: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2107
2045
  return undefined; if (Array.isArray(v))
2108
2046
  return v; if (typeof v === 'string')
2109
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(2048))
2047
+ return Number(v); return v; }), zod_1.z.number().gte(0).lte(2048)),
2110
2048
  });
2111
2049
  exports.svgRingShapeSchema = exports.svgshapesSvgRingShapeSchema;
2112
2050
  /**
@@ -2116,7 +2054,7 @@ exports.svgRingShapeSchema = exports.svgshapesSvgRingShapeSchema;
2116
2054
  *
2117
2055
  */
2118
2056
  exports.svgshapesSvgStarShapeSchema = zod_1.z.object({
2119
- type: zod_1.z.enum(['star']),
2057
+ type: zod_1.z.enum(["star"]),
2120
2058
  points: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2121
2059
  return undefined; if (Array.isArray(v))
2122
2060
  return v; if (typeof v === 'string')
@@ -2128,7 +2066,7 @@ exports.svgshapesSvgStarShapeSchema = zod_1.z.object({
2128
2066
  innerRadius: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2129
2067
  return undefined; if (Array.isArray(v))
2130
2068
  return v; if (typeof v === 'string')
2131
- return Number(v); return v; }), zod_1.z.number().gte(1).lte(2048))
2069
+ return Number(v); return v; }), zod_1.z.number().gte(1).lte(2048)),
2132
2070
  });
2133
2071
  exports.svgStarShapeSchema = exports.svgshapesSvgStarShapeSchema;
2134
2072
  /**
@@ -2259,34 +2197,26 @@ exports.svgAssetSchema = exports.svgassetSvgAssetSchema;
2259
2197
  */
2260
2198
  exports.templaterenderTemplateRenderSchema = zod_1.z.object({
2261
2199
  id: zod_1.z.string(),
2262
- merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema))
2200
+ merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema)),
2263
2201
  });
2264
2202
  exports.templateRenderSchema = exports.templaterenderTemplateRenderSchema;
2265
2203
  /**
2266
2204
  * Horizontal and vertical alignment properties for text.
2267
2205
  */
2268
2206
  exports.textpropertiesTextAlignmentSchema = zod_1.z.object({
2269
- horizontal: zod_1.z.optional(zod_1.z.enum([
2270
- 'left',
2271
- 'center',
2272
- 'right'
2273
- ])),
2274
- vertical: zod_1.z.optional(zod_1.z.enum([
2275
- 'top',
2276
- 'center',
2277
- 'bottom'
2278
- ]))
2207
+ horizontal: zod_1.z.optional(zod_1.z.enum(["left", "center", "right"])),
2208
+ vertical: zod_1.z.optional(zod_1.z.enum(["top", "center", "bottom"])),
2279
2209
  });
2280
2210
  exports.textAlignmentSchema = exports.textpropertiesTextAlignmentSchema;
2281
2211
  /**
2282
2212
  * Animation properties for text entrance effects.
2283
2213
  */
2284
2214
  exports.textpropertiesTextAnimationSchema = zod_1.z.object({
2285
- preset: zod_1.z.enum(['typewriter']),
2215
+ preset: zod_1.z.enum(["typewriter"]),
2286
2216
  duration: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2287
2217
  return undefined; if (Array.isArray(v))
2288
2218
  return v; if (typeof v === 'string')
2289
- return Number(v); return v; }), zod_1.z.number().gte(0.1).lte(30)))
2219
+ return Number(v); return v; }), zod_1.z.number().gte(0.1).lte(30))),
2290
2220
  });
2291
2221
  /**
2292
2222
  * Displays a background box behind the text.
@@ -2304,7 +2234,7 @@ exports.textpropertiesTextBackgroundSchema = zod_1.z.object({
2304
2234
  borderRadius: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2305
2235
  return undefined; if (Array.isArray(v))
2306
2236
  return v; if (typeof v === 'string')
2307
- return Number(v); return v; }), zod_1.z.number().gte(0)))
2237
+ return Number(v); return v; }), zod_1.z.number().gte(0))),
2308
2238
  });
2309
2239
  exports.textBackgroundSchema = exports.textpropertiesTextBackgroundSchema;
2310
2240
  /**
@@ -2328,7 +2258,7 @@ exports.textpropertiesTextFontSchema = zod_1.z.object({
2328
2258
  lineHeight: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2329
2259
  return undefined; if (Array.isArray(v))
2330
2260
  return v; if (typeof v === 'string')
2331
- return Number(v); return v; }), zod_1.z.number()))
2261
+ return Number(v); return v; }), zod_1.z.number())),
2332
2262
  });
2333
2263
  exports.textFontSchema = exports.textpropertiesTextFontSchema;
2334
2264
  /**
@@ -2339,7 +2269,7 @@ exports.textpropertiesTextStrokeSchema = zod_1.z.object({
2339
2269
  return undefined; if (Array.isArray(v))
2340
2270
  return v; if (typeof v === 'string')
2341
2271
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(10))),
2342
- color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/))
2272
+ color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)),
2343
2273
  });
2344
2274
  /**
2345
2275
  * The TextAsset is used to add text and titles to a video. The text can be styled with built in and custom
@@ -2347,7 +2277,7 @@ exports.textpropertiesTextStrokeSchema = zod_1.z.object({
2347
2277
  *
2348
2278
  */
2349
2279
  exports.textassetTextAssetSchema = zod_1.z.object({
2350
- type: zod_1.z.enum(['text']),
2280
+ type: zod_1.z.enum(["text"]),
2351
2281
  text: zod_1.z.string(),
2352
2282
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2353
2283
  return undefined; if (Array.isArray(v))
@@ -2362,14 +2292,14 @@ exports.textassetTextAssetSchema = zod_1.z.object({
2362
2292
  alignment: zod_1.z.optional(exports.textpropertiesTextAlignmentSchema),
2363
2293
  stroke: zod_1.z.optional(exports.textpropertiesTextStrokeSchema),
2364
2294
  animation: zod_1.z.optional(exports.textpropertiesTextAnimationSchema),
2365
- ellipsis: zod_1.z.optional(zod_1.z.string())
2295
+ ellipsis: zod_1.z.optional(zod_1.z.string()),
2366
2296
  });
2367
2297
  exports.textAssetSchema = exports.textassetTextAssetSchema;
2368
2298
  /**
2369
2299
  * The TextToImageAsset lets you create a dynamic image from a text prompt.
2370
2300
  */
2371
2301
  exports.texttoimageassetTextToImageAssetSchema = zod_1.z.object({
2372
- type: zod_1.z.enum(['text-to-image']),
2302
+ type: zod_1.z.enum(["text-to-image"]),
2373
2303
  prompt: zod_1.z.string(),
2374
2304
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2375
2305
  return undefined; if (Array.isArray(v))
@@ -2379,7 +2309,7 @@ exports.texttoimageassetTextToImageAssetSchema = zod_1.z.object({
2379
2309
  return undefined; if (Array.isArray(v))
2380
2310
  return v; if (typeof v === 'string')
2381
2311
  return Number(v); return v; }), zod_1.z.number().int())),
2382
- crop: zod_1.z.optional(exports.cropCropSchema)
2312
+ crop: zod_1.z.optional(exports.cropCropSchema),
2383
2313
  });
2384
2314
  exports.textToImageAssetSchema = exports.texttoimageassetTextToImageAssetSchema;
2385
2315
  /**
@@ -2393,36 +2323,16 @@ exports.thumbnailThumbnailSchema = zod_1.z.object({
2393
2323
  scale: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2394
2324
  return undefined; if (Array.isArray(v))
2395
2325
  return v; if (typeof v === 'string')
2396
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))
2326
+ return Number(v); return v; }), zod_1.z.number().gte(0).lte(1)),
2397
2327
  });
2398
2328
  exports.thumbnailSchema = exports.thumbnailThumbnailSchema;
2399
2329
  /**
2400
2330
  * The output format, render range and type of media to generate.
2401
2331
  */
2402
2332
  exports.outputOutputSchema = zod_1.z.object({
2403
- format: zod_1.z.enum([
2404
- 'mp4',
2405
- 'gif',
2406
- 'mp3',
2407
- 'jpg',
2408
- 'png',
2409
- 'bmp'
2410
- ]),
2411
- resolution: zod_1.z.optional(zod_1.z.enum([
2412
- 'preview',
2413
- 'mobile',
2414
- 'sd',
2415
- 'hd',
2416
- '1080',
2417
- '4k'
2418
- ])),
2419
- aspectRatio: zod_1.z.optional(zod_1.z.enum([
2420
- '16:9',
2421
- '9:16',
2422
- '1:1',
2423
- '4:5',
2424
- '4:3'
2425
- ])),
2333
+ format: zod_1.z.enum(["mp4", "gif", "mp3", "jpg", "png", "bmp"]),
2334
+ resolution: zod_1.z.optional(zod_1.z.enum(["preview", "mobile", "sd", "hd", "1080", "4k"])),
2335
+ aspectRatio: zod_1.z.optional(zod_1.z.enum(["16:9", "9:16", "1:1", "4:5", "4:3"])),
2426
2336
  size: zod_1.z.optional(exports.sizeSizeSchema),
2427
2337
  fps: zod_1.z.optional(zod_1.z.union([
2428
2338
  zod_1.z.literal(12),
@@ -2435,29 +2345,16 @@ exports.outputOutputSchema = zod_1.z.object({
2435
2345
  zod_1.z.literal(48),
2436
2346
  zod_1.z.literal(50),
2437
2347
  zod_1.z.literal(59.94),
2438
- zod_1.z.literal(60)
2439
- ])),
2440
- scaleTo: zod_1.z.optional(zod_1.z.enum([
2441
- 'preview',
2442
- 'mobile',
2443
- 'sd',
2444
- 'hd',
2445
- '1080',
2446
- '4k'
2447
- ])),
2448
- quality: zod_1.z.optional(zod_1.z.enum([
2449
- 'verylow',
2450
- 'low',
2451
- 'medium',
2452
- 'high',
2453
- 'veryhigh'
2348
+ zod_1.z.literal(60),
2454
2349
  ])),
2350
+ scaleTo: zod_1.z.optional(zod_1.z.enum(["preview", "mobile", "sd", "hd", "1080", "4k"])),
2351
+ quality: zod_1.z.optional(zod_1.z.enum(["verylow", "low", "medium", "high", "veryhigh"])),
2455
2352
  repeat: zod_1.z.optional(zod_1.z.boolean()),
2456
2353
  mute: zod_1.z.optional(zod_1.z.boolean()),
2457
2354
  range: zod_1.z.optional(exports.rangeRangeSchema),
2458
2355
  poster: zod_1.z.optional(exports.posterPosterSchema),
2459
2356
  thumbnail: zod_1.z.optional(exports.thumbnailThumbnailSchema),
2460
- destinations: zod_1.z.optional(zod_1.z.array(exports.destinationsDestinationsSchema))
2357
+ destinations: zod_1.z.optional(zod_1.z.array(exports.destinationsDestinationsSchema)),
2461
2358
  });
2462
2359
  exports.outputSchema = exports.outputOutputSchema;
2463
2360
  /**
@@ -2465,133 +2362,133 @@ exports.outputSchema = exports.outputOutputSchema;
2465
2362
  */
2466
2363
  exports.transitionTransitionSchema = zod_1.z.object({
2467
2364
  in: zod_1.z.optional(zod_1.z.enum([
2468
- 'none',
2469
- 'fade',
2470
- 'fadeSlow',
2471
- 'fadeFast',
2472
- 'reveal',
2473
- 'revealSlow',
2474
- 'revealFast',
2475
- 'wipeLeft',
2476
- 'wipeLeftSlow',
2477
- 'wipeLeftFast',
2478
- 'wipeRight',
2479
- 'wipeRightSlow',
2480
- 'wipeRightFast',
2481
- 'slideLeft',
2482
- 'slideLeftSlow',
2483
- 'slideLeftFast',
2484
- 'slideRight',
2485
- 'slideRightSlow',
2486
- 'slideRightFast',
2487
- 'slideUp',
2488
- 'slideUpSlow',
2489
- 'slideUpFast',
2490
- 'slideDown',
2491
- 'slideDownSlow',
2492
- 'slideDownFast',
2493
- 'carouselLeft',
2494
- 'carouselLeftSlow',
2495
- 'carouselLeftFast',
2496
- 'carouselRight',
2497
- 'carouselRightSlow',
2498
- 'carouselRightFast',
2499
- 'carouselUp',
2500
- 'carouselUpSlow',
2501
- 'carouselUpFast',
2502
- 'carouselDown',
2503
- 'carouselDownSlow',
2504
- 'carouselDownFast',
2505
- 'shuffleTopRight',
2506
- 'shuffleTopRightSlow',
2507
- 'shuffleTopRightFast',
2508
- 'shuffleRightTop',
2509
- 'shuffleRightTopSlow',
2510
- 'shuffleRightTopFast',
2511
- 'shuffleRightBottom',
2512
- 'shuffleRightBottomSlow',
2513
- 'shuffleRightBottomFast',
2514
- 'shuffleBottomRight',
2515
- 'shuffleBottomRightSlow',
2516
- 'shuffleBottomRightFast',
2517
- 'shuffleBottomLeft',
2518
- 'shuffleBottomLeftSlow',
2519
- 'shuffleBottomLeftFast',
2520
- 'shuffleLeftBottom',
2521
- 'shuffleLeftBottomSlow',
2522
- 'shuffleLeftBottomFast',
2523
- 'shuffleLeftTop',
2524
- 'shuffleLeftTopSlow',
2525
- 'shuffleLeftTopFast',
2526
- 'shuffleTopLeft',
2527
- 'shuffleTopLeftSlow',
2528
- 'shuffleTopLeftFast',
2529
- 'zoom'
2365
+ "none",
2366
+ "fade",
2367
+ "fadeSlow",
2368
+ "fadeFast",
2369
+ "reveal",
2370
+ "revealSlow",
2371
+ "revealFast",
2372
+ "wipeLeft",
2373
+ "wipeLeftSlow",
2374
+ "wipeLeftFast",
2375
+ "wipeRight",
2376
+ "wipeRightSlow",
2377
+ "wipeRightFast",
2378
+ "slideLeft",
2379
+ "slideLeftSlow",
2380
+ "slideLeftFast",
2381
+ "slideRight",
2382
+ "slideRightSlow",
2383
+ "slideRightFast",
2384
+ "slideUp",
2385
+ "slideUpSlow",
2386
+ "slideUpFast",
2387
+ "slideDown",
2388
+ "slideDownSlow",
2389
+ "slideDownFast",
2390
+ "carouselLeft",
2391
+ "carouselLeftSlow",
2392
+ "carouselLeftFast",
2393
+ "carouselRight",
2394
+ "carouselRightSlow",
2395
+ "carouselRightFast",
2396
+ "carouselUp",
2397
+ "carouselUpSlow",
2398
+ "carouselUpFast",
2399
+ "carouselDown",
2400
+ "carouselDownSlow",
2401
+ "carouselDownFast",
2402
+ "shuffleTopRight",
2403
+ "shuffleTopRightSlow",
2404
+ "shuffleTopRightFast",
2405
+ "shuffleRightTop",
2406
+ "shuffleRightTopSlow",
2407
+ "shuffleRightTopFast",
2408
+ "shuffleRightBottom",
2409
+ "shuffleRightBottomSlow",
2410
+ "shuffleRightBottomFast",
2411
+ "shuffleBottomRight",
2412
+ "shuffleBottomRightSlow",
2413
+ "shuffleBottomRightFast",
2414
+ "shuffleBottomLeft",
2415
+ "shuffleBottomLeftSlow",
2416
+ "shuffleBottomLeftFast",
2417
+ "shuffleLeftBottom",
2418
+ "shuffleLeftBottomSlow",
2419
+ "shuffleLeftBottomFast",
2420
+ "shuffleLeftTop",
2421
+ "shuffleLeftTopSlow",
2422
+ "shuffleLeftTopFast",
2423
+ "shuffleTopLeft",
2424
+ "shuffleTopLeftSlow",
2425
+ "shuffleTopLeftFast",
2426
+ "zoom",
2530
2427
  ])),
2531
2428
  out: zod_1.z.optional(zod_1.z.enum([
2532
- 'none',
2533
- 'fade',
2534
- 'fadeSlow',
2535
- 'fadeFast',
2536
- 'reveal',
2537
- 'revealSlow',
2538
- 'revealFast',
2539
- 'wipeLeft',
2540
- 'wipeLeftSlow',
2541
- 'wipeLeftFast',
2542
- 'wipeRight',
2543
- 'wipeRightSlow',
2544
- 'wipeRightFast',
2545
- 'slideLeft',
2546
- 'slideLeftSlow',
2547
- 'slideLeftFast',
2548
- 'slideRight',
2549
- 'slideRightSlow',
2550
- 'slideRightFast',
2551
- 'slideUp',
2552
- 'slideUpSlow',
2553
- 'slideUpFast',
2554
- 'slideDown',
2555
- 'slideDownSlow',
2556
- 'slideDownFast',
2557
- 'carouselLeft',
2558
- 'carouselLeftSlow',
2559
- 'carouselLeftFast',
2560
- 'carouselRight',
2561
- 'carouselRightSlow',
2562
- 'carouselRightFast',
2563
- 'carouselUp',
2564
- 'carouselUpSlow',
2565
- 'carouselUpFast',
2566
- 'carouselDown',
2567
- 'carouselDownSlow',
2568
- 'carouselDownFast',
2569
- 'shuffleTopRight',
2570
- 'shuffleTopRightSlow',
2571
- 'shuffleTopRightFast',
2572
- 'shuffleRightTop',
2573
- 'shuffleRightTopSlow',
2574
- 'shuffleRightTopFast',
2575
- 'shuffleRightBottom',
2576
- 'shuffleRightBottomSlow',
2577
- 'shuffleRightBottomFast',
2578
- 'shuffleBottomRight',
2579
- 'shuffleBottomRightSlow',
2580
- 'shuffleBottomRightFast',
2581
- 'shuffleBottomLeft',
2582
- 'shuffleBottomLeftSlow',
2583
- 'shuffleBottomLeftFast',
2584
- 'shuffleLeftBottom',
2585
- 'shuffleLeftBottomSlow',
2586
- 'shuffleLeftBottomFast',
2587
- 'shuffleLeftTop',
2588
- 'shuffleLeftTopSlow',
2589
- 'shuffleLeftTopFast',
2590
- 'shuffleTopLeft',
2591
- 'shuffleTopLeftSlow',
2592
- 'shuffleTopLeftFast',
2593
- 'zoom'
2594
- ]))
2429
+ "none",
2430
+ "fade",
2431
+ "fadeSlow",
2432
+ "fadeFast",
2433
+ "reveal",
2434
+ "revealSlow",
2435
+ "revealFast",
2436
+ "wipeLeft",
2437
+ "wipeLeftSlow",
2438
+ "wipeLeftFast",
2439
+ "wipeRight",
2440
+ "wipeRightSlow",
2441
+ "wipeRightFast",
2442
+ "slideLeft",
2443
+ "slideLeftSlow",
2444
+ "slideLeftFast",
2445
+ "slideRight",
2446
+ "slideRightSlow",
2447
+ "slideRightFast",
2448
+ "slideUp",
2449
+ "slideUpSlow",
2450
+ "slideUpFast",
2451
+ "slideDown",
2452
+ "slideDownSlow",
2453
+ "slideDownFast",
2454
+ "carouselLeft",
2455
+ "carouselLeftSlow",
2456
+ "carouselLeftFast",
2457
+ "carouselRight",
2458
+ "carouselRightSlow",
2459
+ "carouselRightFast",
2460
+ "carouselUp",
2461
+ "carouselUpSlow",
2462
+ "carouselUpFast",
2463
+ "carouselDown",
2464
+ "carouselDownSlow",
2465
+ "carouselDownFast",
2466
+ "shuffleTopRight",
2467
+ "shuffleTopRightSlow",
2468
+ "shuffleTopRightFast",
2469
+ "shuffleRightTop",
2470
+ "shuffleRightTopSlow",
2471
+ "shuffleRightTopFast",
2472
+ "shuffleRightBottom",
2473
+ "shuffleRightBottomSlow",
2474
+ "shuffleRightBottomFast",
2475
+ "shuffleBottomRight",
2476
+ "shuffleBottomRightSlow",
2477
+ "shuffleBottomRightFast",
2478
+ "shuffleBottomLeft",
2479
+ "shuffleBottomLeftSlow",
2480
+ "shuffleBottomLeftFast",
2481
+ "shuffleLeftBottom",
2482
+ "shuffleLeftBottomSlow",
2483
+ "shuffleLeftBottomFast",
2484
+ "shuffleLeftTop",
2485
+ "shuffleLeftTopSlow",
2486
+ "shuffleLeftTopFast",
2487
+ "shuffleTopLeft",
2488
+ "shuffleTopLeftSlow",
2489
+ "shuffleTopLeftFast",
2490
+ "zoom",
2491
+ ])),
2595
2492
  });
2596
2493
  exports.transitionSchema = exports.transitionTransitionSchema;
2597
2494
  /**
@@ -2615,123 +2512,96 @@ exports.tweenTweenSchema = zod_1.z.object({
2615
2512
  return undefined; if (Array.isArray(v))
2616
2513
  return v; if (typeof v === 'string')
2617
2514
  return Number(v); return v; }), zod_1.z.number())),
2618
- interpolation: zod_1.z.optional(zod_1.z.enum([
2619
- 'linear',
2620
- 'bezier',
2621
- 'constant'
2622
- ])),
2515
+ interpolation: zod_1.z.optional(zod_1.z.enum(["linear", "bezier", "constant"])),
2623
2516
  easing: zod_1.z.optional(zod_1.z.enum([
2624
- 'ease',
2625
- 'easeIn',
2626
- 'easeOut',
2627
- 'easeInOut',
2628
- 'easeInQuad',
2629
- 'easeInCubic',
2630
- 'easeInQuart',
2631
- 'easeInQuint',
2632
- 'easeInSine',
2633
- 'easeInExpo',
2634
- 'easeInCirc',
2635
- 'easeInBack',
2636
- 'easeOutQuad',
2637
- 'easeOutCubic',
2638
- 'easeOutQuart',
2639
- 'easeOutQuint',
2640
- 'easeOutSine',
2641
- 'easeOutExpo',
2642
- 'easeOutCirc',
2643
- 'easeOutBack',
2644
- 'easeInOutQuad',
2645
- 'easeInOutCubic',
2646
- 'easeInOutQuart',
2647
- 'easeInOutQuint',
2648
- 'easeInOutSine',
2649
- 'easeInOutExpo',
2650
- 'easeInOutCirc',
2651
- 'easeInOutBack'
2652
- ]))
2517
+ "ease",
2518
+ "easeIn",
2519
+ "easeOut",
2520
+ "easeInOut",
2521
+ "easeInQuad",
2522
+ "easeInCubic",
2523
+ "easeInQuart",
2524
+ "easeInQuint",
2525
+ "easeInSine",
2526
+ "easeInExpo",
2527
+ "easeInCirc",
2528
+ "easeInBack",
2529
+ "easeOutQuad",
2530
+ "easeOutCubic",
2531
+ "easeOutQuart",
2532
+ "easeOutQuint",
2533
+ "easeOutSine",
2534
+ "easeOutExpo",
2535
+ "easeOutCirc",
2536
+ "easeOutBack",
2537
+ "easeInOutQuad",
2538
+ "easeInOutCubic",
2539
+ "easeInOutQuart",
2540
+ "easeInOutQuint",
2541
+ "easeInOutSine",
2542
+ "easeInOutExpo",
2543
+ "easeInOutCirc",
2544
+ "easeInOutBack",
2545
+ ])),
2653
2546
  });
2654
2547
  exports.tweenSchema = exports.tweenTweenSchema;
2655
2548
  /**
2656
2549
  * 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.
2657
2550
  */
2658
2551
  exports.audioassetAudioAssetSchema = zod_1.z.object({
2659
- type: zod_1.z.enum(['audio']),
2552
+ type: zod_1.z.enum(["audio"]),
2660
2553
  src: zod_1.z.string(),
2661
2554
  trim: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2662
2555
  return undefined; if (Array.isArray(v))
2663
2556
  return v; if (typeof v === 'string')
2664
2557
  return Number(v); return v; }), zod_1.z.number())),
2665
- volume: zod_1.z.optional(zod_1.z.union([
2666
- zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2558
+ volume: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2667
2559
  return undefined; if (Array.isArray(v))
2668
2560
  return v; if (typeof v === 'string')
2669
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(1)),
2670
- zod_1.z.array(exports.tweenTweenSchema)
2671
- ])),
2561
+ return Number(v); return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.array(exports.tweenTweenSchema)])),
2672
2562
  speed: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2673
2563
  return undefined; if (Array.isArray(v))
2674
2564
  return v; if (typeof v === 'string')
2675
2565
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(10))),
2676
- effect: zod_1.z.optional(zod_1.z.enum([
2677
- 'none',
2678
- 'fadeIn',
2679
- 'fadeOut',
2680
- 'fadeInFadeOut'
2681
- ]))
2566
+ effect: zod_1.z.optional(zod_1.z.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
2682
2567
  });
2683
2568
  exports.audioAssetSchema = exports.audioassetAudioAssetSchema;
2684
2569
  /**
2685
2570
  * Offsets the position of an asset horizontally or vertically by a relative distance.
2686
2571
  */
2687
2572
  exports.offsetOffsetSchema = zod_1.z.object({
2688
- x: zod_1.z.optional(zod_1.z.union([
2689
- zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2573
+ x: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2690
2574
  return undefined; if (Array.isArray(v))
2691
2575
  return v; if (typeof v === 'string')
2692
- return Number(v); return v; }), zod_1.z.number().gte(-10).lte(10)),
2693
- zod_1.z.array(exports.tweenTweenSchema)
2694
- ])),
2695
- y: zod_1.z.optional(zod_1.z.union([
2696
- zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2576
+ return Number(v); return v; }), zod_1.z.number().gte(-10).lte(10)), zod_1.z.array(exports.tweenTweenSchema)])),
2577
+ y: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2697
2578
  return undefined; if (Array.isArray(v))
2698
2579
  return v; if (typeof v === 'string')
2699
- return Number(v); return v; }), zod_1.z.number().gte(-10).lte(10)),
2700
- zod_1.z.array(exports.tweenTweenSchema)
2701
- ]))
2580
+ return Number(v); return v; }), zod_1.z.number().gte(-10).lte(10)), zod_1.z.array(exports.tweenTweenSchema)])),
2702
2581
  });
2703
2582
  exports.offsetSchema = exports.offsetOffsetSchema;
2704
2583
  /**
2705
2584
  * Rotate a clip by the specified angle in degrees. Rotation origin is set based on the clips `position`.
2706
2585
  */
2707
2586
  exports.rotatetransformationRotateTransformationSchema = zod_1.z.object({
2708
- angle: zod_1.z.optional(zod_1.z.union([
2709
- zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2587
+ angle: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2710
2588
  return undefined; if (Array.isArray(v))
2711
2589
  return v; if (typeof v === 'string')
2712
- return Number(v); return v; }), zod_1.z.number().gte(-360).lte(360)),
2713
- zod_1.z.array(exports.tweenTweenSchema)
2714
- ]))
2590
+ return Number(v); return v; }), zod_1.z.number().gte(-360).lte(360)), zod_1.z.array(exports.tweenTweenSchema)])),
2715
2591
  });
2716
2592
  exports.rotateTransformationSchema = exports.rotatetransformationRotateTransformationSchema;
2717
2593
  /**
2718
2594
  * 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.
2719
2595
  */
2720
2596
  exports.skewtransformationSkewTransformationSchema = zod_1.z.object({
2721
- x: zod_1.z.optional(zod_1.z.union([
2722
- zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2597
+ x: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2723
2598
  return undefined; if (Array.isArray(v))
2724
2599
  return v; if (typeof v === 'string')
2725
- return Number(v); return v; }), zod_1.z.number().gte(-100).lte(100)),
2726
- zod_1.z.array(exports.tweenTweenSchema)
2727
- ])),
2728
- y: zod_1.z.optional(zod_1.z.union([
2729
- zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2600
+ return Number(v); return v; }), zod_1.z.number().gte(-100).lte(100)), zod_1.z.array(exports.tweenTweenSchema)])),
2601
+ y: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2730
2602
  return undefined; if (Array.isArray(v))
2731
2603
  return v; if (typeof v === 'string')
2732
- return Number(v); return v; }), zod_1.z.number().gte(-100).lte(100)),
2733
- zod_1.z.array(exports.tweenTweenSchema)
2734
- ]))
2604
+ return Number(v); return v; }), zod_1.z.number().gte(-100).lte(100)), zod_1.z.array(exports.tweenTweenSchema)])),
2735
2605
  });
2736
2606
  exports.skewTransformationSchema = exports.skewtransformationSkewTransformationSchema;
2737
2607
  /**
@@ -2743,43 +2613,43 @@ exports.skewTransformationSchema = exports.skewtransformationSkewTransformationS
2743
2613
  * @deprecated
2744
2614
  */
2745
2615
  exports.titleassetTitleAssetSchema = zod_1.z.object({
2746
- type: zod_1.z.enum(['title']),
2616
+ type: zod_1.z.enum(["title"]),
2747
2617
  text: zod_1.z.string(),
2748
2618
  style: zod_1.z.optional(zod_1.z.enum([
2749
- 'minimal',
2750
- 'blockbuster',
2751
- 'vogue',
2752
- 'sketchy',
2753
- 'skinny',
2754
- 'chunk',
2755
- 'chunkLight',
2756
- 'marker',
2757
- 'future',
2758
- 'subtitle'
2619
+ "minimal",
2620
+ "blockbuster",
2621
+ "vogue",
2622
+ "sketchy",
2623
+ "skinny",
2624
+ "chunk",
2625
+ "chunkLight",
2626
+ "marker",
2627
+ "future",
2628
+ "subtitle",
2759
2629
  ])),
2760
2630
  color: zod_1.z.optional(zod_1.z.string()),
2761
2631
  size: zod_1.z.optional(zod_1.z.enum([
2762
- 'xx-small',
2763
- 'x-small',
2764
- 'small',
2765
- 'medium',
2766
- 'large',
2767
- 'x-large',
2768
- 'xx-large'
2632
+ "xx-small",
2633
+ "x-small",
2634
+ "small",
2635
+ "medium",
2636
+ "large",
2637
+ "x-large",
2638
+ "xx-large",
2769
2639
  ])),
2770
2640
  background: zod_1.z.optional(zod_1.z.string()),
2771
2641
  position: zod_1.z.optional(zod_1.z.enum([
2772
- 'top',
2773
- 'topRight',
2774
- 'right',
2775
- 'bottomRight',
2776
- 'bottom',
2777
- 'bottomLeft',
2778
- 'left',
2779
- 'topLeft',
2780
- 'center'
2642
+ "top",
2643
+ "topRight",
2644
+ "right",
2645
+ "bottomRight",
2646
+ "bottom",
2647
+ "bottomLeft",
2648
+ "left",
2649
+ "topLeft",
2650
+ "center",
2781
2651
  ])),
2782
- offset: zod_1.z.optional(exports.offsetOffsetSchema)
2652
+ offset: zod_1.z.optional(exports.offsetOffsetSchema),
2783
2653
  });
2784
2654
  exports.titleAssetSchema = exports.titleassetTitleAssetSchema;
2785
2655
  /**
@@ -2788,39 +2658,31 @@ exports.titleAssetSchema = exports.titleassetTitleAssetSchema;
2788
2658
  exports.transformationTransformationSchema = zod_1.z.object({
2789
2659
  rotate: zod_1.z.optional(exports.rotatetransformationRotateTransformationSchema),
2790
2660
  skew: zod_1.z.optional(exports.skewtransformationSkewTransformationSchema),
2791
- flip: zod_1.z.optional(exports.fliptransformationFlipTransformationSchema)
2661
+ flip: zod_1.z.optional(exports.fliptransformationFlipTransformationSchema),
2792
2662
  });
2793
2663
  exports.transformationSchema = exports.transformationTransformationSchema;
2794
2664
  /**
2795
2665
  * 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.
2796
2666
  */
2797
2667
  exports.videoassetVideoAssetSchema = zod_1.z.object({
2798
- type: zod_1.z.enum(['video']),
2668
+ type: zod_1.z.enum(["video"]),
2799
2669
  src: zod_1.z.string(),
2800
2670
  transcode: zod_1.z.optional(zod_1.z.boolean()),
2801
2671
  trim: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2802
2672
  return undefined; if (Array.isArray(v))
2803
2673
  return v; if (typeof v === 'string')
2804
2674
  return Number(v); return v; }), zod_1.z.number())),
2805
- volume: zod_1.z.optional(zod_1.z.union([
2806
- zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2675
+ volume: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2807
2676
  return undefined; if (Array.isArray(v))
2808
2677
  return v; if (typeof v === 'string')
2809
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(1)),
2810
- zod_1.z.array(exports.tweenTweenSchema)
2811
- ])),
2812
- volumeEffect: zod_1.z.optional(zod_1.z.enum([
2813
- 'none',
2814
- 'fadeIn',
2815
- 'fadeOut',
2816
- 'fadeInFadeOut'
2817
- ])),
2678
+ return Number(v); return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.array(exports.tweenTweenSchema)])),
2679
+ volumeEffect: zod_1.z.optional(zod_1.z.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
2818
2680
  speed: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2819
2681
  return undefined; if (Array.isArray(v))
2820
2682
  return v; if (typeof v === 'string')
2821
2683
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(10))),
2822
2684
  crop: zod_1.z.optional(exports.cropCropSchema),
2823
- chromaKey: zod_1.z.optional(exports.chromakeyChromaKeySchema)
2685
+ chromaKey: zod_1.z.optional(exports.chromakeyChromaKeySchema),
2824
2686
  });
2825
2687
  exports.videoAssetSchema = exports.videoassetVideoAssetSchema;
2826
2688
  /**
@@ -2852,96 +2714,85 @@ exports.clipClipSchema = zod_1.z.object({
2852
2714
  return undefined; if (Array.isArray(v))
2853
2715
  return v; if (typeof v === 'string')
2854
2716
  return Number(v); return v; }), zod_1.z.number()),
2855
- zod_1.z.string().regex(/^(auto|alias:\/\/[A-Za-z0-9_-]+)$/)
2717
+ zod_1.z.string().regex(/^(auto|alias:\/\/[A-Za-z0-9_-]+)$/),
2856
2718
  ]),
2857
2719
  length: zod_1.z.union([
2858
2720
  zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2859
2721
  return undefined; if (Array.isArray(v))
2860
2722
  return v; if (typeof v === 'string')
2861
2723
  return Number(v); return v; }), zod_1.z.number()),
2862
- zod_1.z.string().regex(/^(auto|end|alias:\/\/[A-Za-z0-9_-]+)$/)
2724
+ zod_1.z.string().regex(/^(auto|end|alias:\/\/[A-Za-z0-9_-]+)$/),
2863
2725
  ]),
2864
- fit: zod_1.z.optional(zod_1.z.enum([
2865
- 'cover',
2866
- 'contain',
2867
- 'crop',
2868
- 'none'
2869
- ])),
2870
- scale: zod_1.z.optional(zod_1.z.union([
2871
- zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2726
+ fit: zod_1.z.optional(zod_1.z.enum(["cover", "contain", "crop", "none"])),
2727
+ scale: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2872
2728
  return undefined; if (Array.isArray(v))
2873
2729
  return v; if (typeof v === 'string')
2874
- return Number(v); return v; }), zod_1.z.number()),
2875
- zod_1.z.array(exports.tweenTweenSchema)
2876
- ])),
2730
+ return Number(v); return v; }), zod_1.z.number()), zod_1.z.array(exports.tweenTweenSchema)])),
2877
2731
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2878
2732
  return undefined; if (Array.isArray(v))
2879
2733
  return v; if (typeof v === 'string')
2880
- return Number(v); return v; }), zod_1.z.number().int().gte(1).lte(3840))),
2734
+ return Number(v); return v; }), zod_1.z.number().gte(1).lte(3840))),
2881
2735
  height: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2882
2736
  return undefined; if (Array.isArray(v))
2883
2737
  return v; if (typeof v === 'string')
2884
- return Number(v); return v; }), zod_1.z.number().int().gte(1).lte(2160))),
2738
+ return Number(v); return v; }), zod_1.z.number().gte(1).lte(2160))),
2885
2739
  position: zod_1.z.optional(zod_1.z.enum([
2886
- 'top',
2887
- 'topRight',
2888
- 'right',
2889
- 'bottomRight',
2890
- 'bottom',
2891
- 'bottomLeft',
2892
- 'left',
2893
- 'topLeft',
2894
- 'center'
2740
+ "top",
2741
+ "topRight",
2742
+ "right",
2743
+ "bottomRight",
2744
+ "bottom",
2745
+ "bottomLeft",
2746
+ "left",
2747
+ "topLeft",
2748
+ "center",
2895
2749
  ])),
2896
2750
  offset: zod_1.z.optional(exports.offsetOffsetSchema),
2897
2751
  transition: zod_1.z.optional(exports.transitionTransitionSchema),
2898
2752
  effect: zod_1.z.optional(zod_1.z.enum([
2899
- 'zoomIn',
2900
- 'zoomInSlow',
2901
- 'zoomInFast',
2902
- 'zoomOut',
2903
- 'zoomOutSlow',
2904
- 'zoomOutFast',
2905
- 'slideLeft',
2906
- 'slideLeftSlow',
2907
- 'slideLeftFast',
2908
- 'slideRight',
2909
- 'slideRightSlow',
2910
- 'slideRightFast',
2911
- 'slideUp',
2912
- 'slideUpSlow',
2913
- 'slideUpFast',
2914
- 'slideDown',
2915
- 'slideDownSlow',
2916
- 'slideDownFast'
2753
+ "zoomIn",
2754
+ "zoomInSlow",
2755
+ "zoomInFast",
2756
+ "zoomOut",
2757
+ "zoomOutSlow",
2758
+ "zoomOutFast",
2759
+ "slideLeft",
2760
+ "slideLeftSlow",
2761
+ "slideLeftFast",
2762
+ "slideRight",
2763
+ "slideRightSlow",
2764
+ "slideRightFast",
2765
+ "slideUp",
2766
+ "slideUpSlow",
2767
+ "slideUpFast",
2768
+ "slideDown",
2769
+ "slideDownSlow",
2770
+ "slideDownFast",
2917
2771
  ])),
2918
2772
  filter: zod_1.z.optional(zod_1.z.enum([
2919
- 'none',
2920
- 'blur',
2921
- 'boost',
2922
- 'contrast',
2923
- 'darken',
2924
- 'greyscale',
2925
- 'lighten',
2926
- 'muted',
2927
- 'negative'
2773
+ "none",
2774
+ "blur",
2775
+ "boost",
2776
+ "contrast",
2777
+ "darken",
2778
+ "greyscale",
2779
+ "lighten",
2780
+ "muted",
2781
+ "negative",
2928
2782
  ])),
2929
- opacity: zod_1.z.optional(zod_1.z.union([
2930
- zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2783
+ opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2931
2784
  return undefined; if (Array.isArray(v))
2932
2785
  return v; if (typeof v === 'string')
2933
- return Number(v); return v; }), zod_1.z.number()),
2934
- zod_1.z.array(exports.tweenTweenSchema)
2935
- ])),
2786
+ return Number(v); return v; }), zod_1.z.number()), zod_1.z.array(exports.tweenTweenSchema)])),
2936
2787
  transform: zod_1.z.optional(exports.transformationTransformationSchema),
2937
- alias: zod_1.z.optional(zod_1.z.string().regex(/^[A-Za-z0-9_-]+$/))
2788
+ alias: zod_1.z.optional(zod_1.z.string().regex(/^[A-Za-z0-9_-]+$/)),
2938
2789
  });
2939
2790
  exports.clipSchema = exports.clipClipSchema;
2940
2791
  /**
2941
2792
  * 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.
2942
2793
  */
2943
2794
  exports.trackTrackSchema = zod_1.z.object({
2944
- clips: zod_1.z.array(exports.clipClipSchema)
2795
+ clips: zod_1.z.array(exports.clipClipSchema),
2945
2796
  });
2946
2797
  exports.trackSchema = exports.trackTrackSchema;
2947
2798
  /**
@@ -2952,7 +2803,7 @@ exports.timelineTimelineSchema = zod_1.z.object({
2952
2803
  background: zod_1.z.optional(zod_1.z.string()),
2953
2804
  fonts: zod_1.z.optional(zod_1.z.array(exports.fontFontSchema)),
2954
2805
  tracks: zod_1.z.array(exports.trackTrackSchema),
2955
- cache: zod_1.z.optional(zod_1.z.boolean())
2806
+ cache: zod_1.z.optional(zod_1.z.boolean()),
2956
2807
  });
2957
2808
  exports.timelineSchema = exports.timelineTimelineSchema;
2958
2809
  /**
@@ -2963,7 +2814,7 @@ exports.editEditSchema = zod_1.z.object({
2963
2814
  output: exports.outputOutputSchema,
2964
2815
  merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema)),
2965
2816
  callback: zod_1.z.optional(zod_1.z.string()),
2966
- disk: zod_1.z.optional(zod_1.z.enum(['local', 'mount']))
2817
+ disk: zod_1.z.optional(zod_1.z.enum(["local", "mount"])),
2967
2818
  });
2968
2819
  exports.editSchema = exports.editEditSchema;
2969
2820
  /**
@@ -2974,13 +2825,13 @@ exports.renderresponsedataRenderResponseDataSchema = zod_1.z.object({
2974
2825
  owner: zod_1.z.string(),
2975
2826
  plan: zod_1.z.optional(zod_1.z.string()),
2976
2827
  status: zod_1.z.enum([
2977
- 'queued',
2978
- 'fetching',
2979
- 'preprocessing',
2980
- 'rendering',
2981
- 'saving',
2982
- 'done',
2983
- 'failed'
2828
+ "queued",
2829
+ "fetching",
2830
+ "preprocessing",
2831
+ "rendering",
2832
+ "saving",
2833
+ "done",
2834
+ "failed",
2984
2835
  ]),
2985
2836
  error: zod_1.z.optional(zod_1.z.string()),
2986
2837
  duration: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -2992,17 +2843,11 @@ exports.renderresponsedataRenderResponseDataSchema = zod_1.z.object({
2992
2843
  return v; if (typeof v === 'string')
2993
2844
  return Number(v); return v; }), zod_1.z.number())),
2994
2845
  url: zod_1.z.optional(zod_1.z.string()),
2995
- poster: zod_1.z.optional(zod_1.z.union([
2996
- zod_1.z.string(),
2997
- zod_1.z.null()
2998
- ])),
2999
- thumbnail: zod_1.z.optional(zod_1.z.union([
3000
- zod_1.z.string(),
3001
- zod_1.z.null()
3002
- ])),
2846
+ poster: zod_1.z.optional(zod_1.z.union([zod_1.z.string(), zod_1.z.null()])),
2847
+ thumbnail: zod_1.z.optional(zod_1.z.union([zod_1.z.string(), zod_1.z.null()])),
3003
2848
  data: zod_1.z.optional(exports.editEditSchema),
3004
2849
  created: zod_1.z.optional(zod_1.z.string()),
3005
- updated: zod_1.z.optional(zod_1.z.string())
2850
+ updated: zod_1.z.optional(zod_1.z.string()),
3006
2851
  });
3007
2852
  exports.renderResponseDataSchema = exports.renderresponsedataRenderResponseDataSchema;
3008
2853
  /**
@@ -3011,7 +2856,7 @@ exports.renderResponseDataSchema = exports.renderresponsedataRenderResponseDataS
3011
2856
  exports.renderresponseRenderResponseSchema = zod_1.z.object({
3012
2857
  success: zod_1.z.boolean(),
3013
2858
  message: zod_1.z.string(),
3014
- response: exports.renderresponsedataRenderResponseDataSchema
2859
+ response: exports.renderresponsedataRenderResponseDataSchema,
3015
2860
  });
3016
2861
  exports.renderResponseSchema = exports.renderresponseRenderResponseSchema;
3017
2862
  /**
@@ -3021,7 +2866,7 @@ exports.templatedataresponsedataTemplateDataResponseDataSchema = zod_1.z.object(
3021
2866
  id: zod_1.z.string(),
3022
2867
  name: zod_1.z.string(),
3023
2868
  owner: zod_1.z.string(),
3024
- template: exports.editEditSchema
2869
+ template: exports.editEditSchema,
3025
2870
  });
3026
2871
  exports.templateDataResponseDataSchema = exports.templatedataresponsedataTemplateDataResponseDataSchema;
3027
2872
  /**
@@ -3030,7 +2875,7 @@ exports.templateDataResponseDataSchema = exports.templatedataresponsedataTemplat
3030
2875
  exports.templatedataresponseTemplateDataResponseSchema = zod_1.z.object({
3031
2876
  success: zod_1.z.boolean(),
3032
2877
  message: zod_1.z.string(),
3033
- response: exports.templatedataresponsedataTemplateDataResponseDataSchema
2878
+ response: exports.templatedataresponsedataTemplateDataResponseDataSchema,
3034
2879
  });
3035
2880
  exports.templateDataResponseSchema = exports.templatedataresponseTemplateDataResponseSchema;
3036
2881
  /**
@@ -3038,13 +2883,13 @@ exports.templateDataResponseSchema = exports.templatedataresponseTemplateDataRes
3038
2883
  */
3039
2884
  exports.templateTemplateSchema = zod_1.z.object({
3040
2885
  name: zod_1.z.string(),
3041
- template: zod_1.z.optional(exports.editEditSchema)
2886
+ template: zod_1.z.optional(exports.editEditSchema),
3042
2887
  });
3043
2888
  exports.templateSchema = exports.templateTemplateSchema;
3044
2889
  exports.postRenderRequest = zod_1.z.object({
3045
2890
  body: exports.editEditSchema,
3046
2891
  path: zod_1.z.optional(zod_1.z.never()),
3047
- query: zod_1.z.optional(zod_1.z.never())
2892
+ query: zod_1.z.optional(zod_1.z.never()),
3048
2893
  });
3049
2894
  /**
3050
2895
  * The queued render details
@@ -3053,12 +2898,14 @@ exports.postRenderResponse = exports.queuedresponseQueuedResponseSchema;
3053
2898
  exports.getRenderRequest = zod_1.z.object({
3054
2899
  body: zod_1.z.optional(zod_1.z.never()),
3055
2900
  path: zod_1.z.object({
3056
- id: 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}$/)
2901
+ id: zod_1.z
2902
+ .string()
2903
+ .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}$/),
3057
2904
  }),
3058
2905
  query: zod_1.z.optional(zod_1.z.object({
3059
2906
  data: zod_1.z.optional(zod_1.z.boolean()),
3060
- merged: zod_1.z.optional(zod_1.z.boolean())
3061
- }))
2907
+ merged: zod_1.z.optional(zod_1.z.boolean()),
2908
+ })),
3062
2909
  });
3063
2910
  /**
3064
2911
  * The render status details
@@ -3067,7 +2914,7 @@ exports.getRenderResponse = exports.renderresponseRenderResponseSchema;
3067
2914
  exports.getTemplatesRequest = zod_1.z.object({
3068
2915
  body: zod_1.z.optional(zod_1.z.never()),
3069
2916
  path: zod_1.z.optional(zod_1.z.never()),
3070
- query: zod_1.z.optional(zod_1.z.never())
2917
+ query: zod_1.z.optional(zod_1.z.never()),
3071
2918
  });
3072
2919
  /**
3073
2920
  * The list of templates stored against a users account
@@ -3076,7 +2923,7 @@ exports.getTemplatesResponse = exports.templatelistresponseTemplateListResponseS
3076
2923
  exports.postTemplateRequest = zod_1.z.object({
3077
2924
  body: exports.templateTemplateSchema,
3078
2925
  path: zod_1.z.optional(zod_1.z.never()),
3079
- query: zod_1.z.optional(zod_1.z.never())
2926
+ query: zod_1.z.optional(zod_1.z.never()),
3080
2927
  });
3081
2928
  /**
3082
2929
  * The saved template status including the id
@@ -3085,9 +2932,11 @@ exports.postTemplateResponse = exports.templateresponseTemplateResponseSchema;
3085
2932
  exports.deleteTemplateRequest = zod_1.z.object({
3086
2933
  body: zod_1.z.optional(zod_1.z.never()),
3087
2934
  path: zod_1.z.object({
3088
- id: 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}$/)
2935
+ id: zod_1.z
2936
+ .string()
2937
+ .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}$/),
3089
2938
  }),
3090
- query: zod_1.z.optional(zod_1.z.never())
2939
+ query: zod_1.z.optional(zod_1.z.never()),
3091
2940
  });
3092
2941
  /**
3093
2942
  * An empty response signifying the template has been deleted
@@ -3096,9 +2945,11 @@ exports.deleteTemplateResponse = zod_1.z.void();
3096
2945
  exports.getTemplateRequest = zod_1.z.object({
3097
2946
  body: zod_1.z.optional(zod_1.z.never()),
3098
2947
  path: zod_1.z.object({
3099
- id: 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}$/)
2948
+ id: zod_1.z
2949
+ .string()
2950
+ .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}$/),
3100
2951
  }),
3101
- query: zod_1.z.optional(zod_1.z.never())
2952
+ query: zod_1.z.optional(zod_1.z.never()),
3102
2953
  });
3103
2954
  /**
3104
2955
  * The template details including the [Edit](#tocs_edit)
@@ -3107,9 +2958,11 @@ exports.getTemplateResponse = exports.templatedataresponseTemplateDataResponseSc
3107
2958
  exports.putTemplateRequest = zod_1.z.object({
3108
2959
  body: exports.templateTemplateSchema,
3109
2960
  path: zod_1.z.object({
3110
- id: 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}$/)
2961
+ id: zod_1.z
2962
+ .string()
2963
+ .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}$/),
3111
2964
  }),
3112
- query: zod_1.z.optional(zod_1.z.never())
2965
+ query: zod_1.z.optional(zod_1.z.never()),
3113
2966
  });
3114
2967
  /**
3115
2968
  * Update a templates name and [Edit](#tocs_edit)
@@ -3118,7 +2971,7 @@ exports.putTemplateResponse = exports.templateresponseTemplateResponseSchema;
3118
2971
  exports.postTemplateRenderRequest = zod_1.z.object({
3119
2972
  body: exports.templaterenderTemplateRenderSchema,
3120
2973
  path: zod_1.z.optional(zod_1.z.never()),
3121
- query: zod_1.z.optional(zod_1.z.never())
2974
+ query: zod_1.z.optional(zod_1.z.never()),
3122
2975
  });
3123
2976
  /**
3124
2977
  * The queued status including the render id. Check the status of the render using the id and the [render status](#get-render-status) endpoint.
@@ -3127,9 +2980,9 @@ exports.postTemplateRenderResponse = exports.queuedresponseQueuedResponseSchema;
3127
2980
  exports.probeRequest = zod_1.z.object({
3128
2981
  body: zod_1.z.optional(zod_1.z.never()),
3129
2982
  path: zod_1.z.object({
3130
- url: zod_1.z.string()
2983
+ url: zod_1.z.string(),
3131
2984
  }),
3132
- query: zod_1.z.optional(zod_1.z.never())
2985
+ query: zod_1.z.optional(zod_1.z.never()),
3133
2986
  });
3134
2987
  /**
3135
2988
  * FFprobe response formatted as JSON.
@@ -3138,9 +2991,11 @@ exports.probeResponse = exports.proberesponseProbeResponseSchema;
3138
2991
  exports.deleteAssetRequest = zod_1.z.object({
3139
2992
  body: zod_1.z.optional(zod_1.z.never()),
3140
2993
  path: zod_1.z.object({
3141
- id: 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}$/)
2994
+ id: zod_1.z
2995
+ .string()
2996
+ .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}$/),
3142
2997
  }),
3143
- query: zod_1.z.optional(zod_1.z.never())
2998
+ query: zod_1.z.optional(zod_1.z.never()),
3144
2999
  });
3145
3000
  /**
3146
3001
  * An empty response signifying the asset has been deleted
@@ -3149,9 +3004,11 @@ exports.deleteAssetResponse = zod_1.z.void();
3149
3004
  exports.getAssetRequest = zod_1.z.object({
3150
3005
  body: zod_1.z.optional(zod_1.z.never()),
3151
3006
  path: zod_1.z.object({
3152
- id: 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}$/)
3007
+ id: zod_1.z
3008
+ .string()
3009
+ .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}$/),
3153
3010
  }),
3154
- query: zod_1.z.optional(zod_1.z.never())
3011
+ query: zod_1.z.optional(zod_1.z.never()),
3155
3012
  });
3156
3013
  /**
3157
3014
  * Get asset by asset id
@@ -3160,9 +3017,11 @@ exports.getAssetResponse = exports.assetresponseAssetResponseSchema;
3160
3017
  exports.getAssetByRenderIdRequest = zod_1.z.object({
3161
3018
  body: zod_1.z.optional(zod_1.z.never()),
3162
3019
  path: zod_1.z.object({
3163
- id: 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}$/)
3020
+ id: zod_1.z
3021
+ .string()
3022
+ .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}$/),
3164
3023
  }),
3165
- query: zod_1.z.optional(zod_1.z.never())
3024
+ query: zod_1.z.optional(zod_1.z.never()),
3166
3025
  });
3167
3026
  /**
3168
3027
  * Get one or more assets by render id
@@ -3171,7 +3030,7 @@ exports.getAssetByRenderIdResponse = exports.assetrenderresponseAssetRenderRespo
3171
3030
  exports.postServeAssetRequest = zod_1.z.object({
3172
3031
  body: exports.transferTransferSchema,
3173
3032
  path: zod_1.z.optional(zod_1.z.never()),
3174
- query: zod_1.z.optional(zod_1.z.never())
3033
+ query: zod_1.z.optional(zod_1.z.never()),
3175
3034
  });
3176
3035
  /**
3177
3036
  * The transfer request details and status
@@ -3180,7 +3039,7 @@ exports.postServeAssetResponse = exports.transferresponseTransferResponseSchema;
3180
3039
  exports.getSourcesRequest = zod_1.z.object({
3181
3040
  body: zod_1.z.optional(zod_1.z.never()),
3182
3041
  path: zod_1.z.optional(zod_1.z.never()),
3183
- query: zod_1.z.optional(zod_1.z.never())
3042
+ query: zod_1.z.optional(zod_1.z.never()),
3184
3043
  });
3185
3044
  /**
3186
3045
  * The list of ingested source files stored against a users account
@@ -3189,7 +3048,7 @@ exports.getSourcesResponse = exports.sourcelistresponseSourceListResponseSchema;
3189
3048
  exports.postSourceRequest = zod_1.z.object({
3190
3049
  body: exports.sourceSourceSchema,
3191
3050
  path: zod_1.z.optional(zod_1.z.never()),
3192
- query: zod_1.z.optional(zod_1.z.never())
3051
+ query: zod_1.z.optional(zod_1.z.never()),
3193
3052
  });
3194
3053
  /**
3195
3054
  * The queued source file details
@@ -3198,9 +3057,11 @@ exports.postSourceResponse = exports.queuedsourceresponseQueuedSourceResponseSch
3198
3057
  exports.deleteSourceRequest = zod_1.z.object({
3199
3058
  body: zod_1.z.optional(zod_1.z.never()),
3200
3059
  path: zod_1.z.object({
3201
- id: 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}$/)
3060
+ id: zod_1.z
3061
+ .string()
3062
+ .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}$/),
3202
3063
  }),
3203
- query: zod_1.z.optional(zod_1.z.never())
3064
+ query: zod_1.z.optional(zod_1.z.never()),
3204
3065
  });
3205
3066
  /**
3206
3067
  * An empty response signifying the ingested source file has been deleted.
@@ -3209,9 +3070,11 @@ exports.deleteSourceResponse = zod_1.z.void();
3209
3070
  exports.getSourceRequest = zod_1.z.object({
3210
3071
  body: zod_1.z.optional(zod_1.z.never()),
3211
3072
  path: zod_1.z.object({
3212
- id: 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}$/)
3073
+ id: zod_1.z
3074
+ .string()
3075
+ .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}$/),
3213
3076
  }),
3214
- query: zod_1.z.optional(zod_1.z.never())
3077
+ query: zod_1.z.optional(zod_1.z.never()),
3215
3078
  });
3216
3079
  /**
3217
3080
  * Get source file details by id
@@ -3220,7 +3083,7 @@ exports.getSourceResponse = exports.sourceresponseSourceResponseSchema;
3220
3083
  exports.getUploadSignedUrlRequest = zod_1.z.object({
3221
3084
  body: zod_1.z.optional(zod_1.z.never()),
3222
3085
  path: zod_1.z.optional(zod_1.z.never()),
3223
- query: zod_1.z.optional(zod_1.z.never())
3086
+ query: zod_1.z.optional(zod_1.z.never()),
3224
3087
  });
3225
3088
  /**
3226
3089
  * The id and signed URL to upload to.
@@ -3229,7 +3092,7 @@ exports.getUploadSignedUrlResponse = exports.uploadresponseUploadResponseSchema;
3229
3092
  exports.postGenerateAssetRequest = zod_1.z.object({
3230
3093
  body: exports.generatedAssetGeneratedAssetSchema,
3231
3094
  path: zod_1.z.optional(zod_1.z.never()),
3232
- query: zod_1.z.optional(zod_1.z.never())
3095
+ query: zod_1.z.optional(zod_1.z.never()),
3233
3096
  });
3234
3097
  /**
3235
3098
  * The generated asset details
@@ -3238,9 +3101,11 @@ exports.postGenerateAssetResponse = exports.generatedAssetResponseGeneratedAsset
3238
3101
  exports.getGeneratedAssetRequest = zod_1.z.object({
3239
3102
  body: zod_1.z.optional(zod_1.z.never()),
3240
3103
  path: zod_1.z.object({
3241
- id: 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}$/)
3104
+ id: zod_1.z
3105
+ .string()
3106
+ .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}$/),
3242
3107
  }),
3243
- query: zod_1.z.optional(zod_1.z.never())
3108
+ query: zod_1.z.optional(zod_1.z.never()),
3244
3109
  });
3245
3110
  /**
3246
3111
  * The generated asset details