@shotstack/schemas 1.4.3 → 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.string().default('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.string().default('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.string().default('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.string().default('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.string().default('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,43 +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.string().default('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"])),
833
+ download: zod_1.z.optional(zod_1.z.boolean()),
834
+ add: zod_1.z.optional(zod_1.z.boolean()),
838
835
  });
839
836
  exports.vimeoDestinationPrivacyOptionsSchema = exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema;
840
837
  /**
@@ -844,15 +841,15 @@ exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema = zod_1.z.object({
844
841
  name: zod_1.z.optional(zod_1.z.string()),
845
842
  description: zod_1.z.optional(zod_1.z.string()),
846
843
  privacy: zod_1.z.optional(exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema),
847
- folderUri: zod_1.z.optional(zod_1.z.string())
844
+ folderUri: zod_1.z.optional(zod_1.z.string()),
848
845
  });
849
846
  exports.vimeoDestinationOptionsSchema = exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema;
850
847
  /**
851
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.
852
849
  */
853
850
  exports.vimeoDestinationVimeoDestinationSchema = zod_1.z.object({
854
- provider: zod_1.z.string().default('vimeo'),
855
- options: zod_1.z.optional(exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema)
851
+ provider: zod_1.z.literal("vimeo"),
852
+ options: zod_1.z.optional(exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema),
856
853
  });
857
854
  exports.vimeoDestinationSchema = exports.vimeoDestinationVimeoDestinationSchema;
858
855
  /**
@@ -860,28 +857,14 @@ exports.vimeoDestinationSchema = exports.vimeoDestinationVimeoDestinationSchema;
860
857
  *
861
858
  * By default all ingested and generated assets are automatically sent to the [Shotstack hosting destination](https://shotstack.io/docs/guide/serving-assets/hosting/). You can [opt-out](https://shotstack.io/docs/guide/serving-assets/self-host/) from by setting the Shotstack destination **exclude** property to **true**.
862
859
  */
863
- exports.destinationsDestinationsSchema = zod_1.z.union([
864
- zod_1.z.object({
865
- destinations: zod_1.z.optional(zod_1.z.literal('shotstackDestination_ShotstackDestination'))
866
- }).and(exports.shotstackDestinationShotstackDestinationSchema),
867
- zod_1.z.object({
868
- destinations: zod_1.z.optional(zod_1.z.literal('muxDestination_MuxDestination'))
869
- }).and(exports.muxDestinationMuxDestinationSchema),
870
- zod_1.z.object({
871
- destinations: zod_1.z.optional(zod_1.z.literal('s3Destination_S3Destination'))
872
- }).and(exports.s3DestinationS3DestinationSchema),
873
- zod_1.z.object({
874
- destinations: zod_1.z.optional(zod_1.z.literal('googleCloudStorageDestination_GoogleCloudStorageDestination'))
875
- }).and(exports.googleCloudStorageDestinationGoogleCloudStorageDestinationSchema),
876
- zod_1.z.object({
877
- destinations: zod_1.z.optional(zod_1.z.literal('googleDriveDestination_GoogleDriveDestination'))
878
- }).and(exports.googleDriveDestinationGoogleDriveDestinationSchema),
879
- zod_1.z.object({
880
- destinations: zod_1.z.optional(zod_1.z.literal('vimeoDestination_VimeoDestination'))
881
- }).and(exports.vimeoDestinationVimeoDestinationSchema),
882
- zod_1.z.object({
883
- destinations: zod_1.z.optional(zod_1.z.literal('tiktokDestination_TiktokDestination'))
884
- }).and(exports.tiktokDestinationTiktokDestinationSchema)
860
+ exports.destinationsDestinationsSchema = zod_1.z.discriminatedUnion("provider", [
861
+ exports.shotstackDestinationShotstackDestinationSchema,
862
+ exports.muxDestinationMuxDestinationSchema,
863
+ exports.s3DestinationS3DestinationSchema,
864
+ exports.googleCloudStorageDestinationGoogleCloudStorageDestinationSchema,
865
+ exports.googleDriveDestinationGoogleDriveDestinationSchema,
866
+ exports.vimeoDestinationVimeoDestinationSchema,
867
+ exports.tiktokDestinationTiktokDestinationSchema
885
868
  ]);
886
869
  exports.destinationsSchema = exports.destinationsDestinationsSchema;
887
870
  /**
@@ -889,14 +872,14 @@ exports.destinationsSchema = exports.destinationsDestinationsSchema;
889
872
  */
890
873
  exports.fliptransformationFlipTransformationSchema = zod_1.z.object({
891
874
  horizontal: zod_1.z.optional(zod_1.z.boolean()),
892
- vertical: zod_1.z.optional(zod_1.z.boolean())
875
+ vertical: zod_1.z.optional(zod_1.z.boolean()),
893
876
  });
894
877
  exports.flipTransformationSchema = exports.fliptransformationFlipTransformationSchema;
895
878
  /**
896
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.
897
880
  */
898
881
  exports.fontFontSchema = zod_1.z.object({
899
- src: zod_1.z.string()
882
+ src: zod_1.z.string(),
900
883
  });
901
884
  exports.fontSchema = exports.fontFontSchema;
902
885
  /**
@@ -910,7 +893,7 @@ exports.fontSchema = exports.fontFontSchema;
910
893
  * @deprecated
911
894
  */
912
895
  exports.htmlassetHtmlAssetSchema = zod_1.z.object({
913
- type: zod_1.z.enum(['html']),
896
+ type: zod_1.z.enum(["html"]),
914
897
  html: zod_1.z.string(),
915
898
  css: zod_1.z.optional(zod_1.z.string()),
916
899
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -923,48 +906,40 @@ exports.htmlassetHtmlAssetSchema = zod_1.z.object({
923
906
  return Number(v); return v; }), zod_1.z.number().int())),
924
907
  background: zod_1.z.optional(zod_1.z.string()),
925
908
  position: zod_1.z.optional(zod_1.z.enum([
926
- 'top',
927
- 'topRight',
928
- 'right',
929
- 'bottomRight',
930
- 'bottom',
931
- 'bottomLeft',
932
- 'left',
933
- 'topLeft',
934
- 'center'
935
- ]))
909
+ "top",
910
+ "topRight",
911
+ "right",
912
+ "bottomRight",
913
+ "bottom",
914
+ "bottomLeft",
915
+ "left",
916
+ "topLeft",
917
+ "center",
918
+ ])),
936
919
  });
937
920
  exports.htmlAssetSchema = exports.htmlassetHtmlAssetSchema;
938
921
  /**
939
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.
940
923
  */
941
924
  exports.imageassetImageAssetSchema = zod_1.z.object({
942
- type: zod_1.z.enum(['image']),
925
+ type: zod_1.z.enum(["image"]),
943
926
  src: zod_1.z.string(),
944
- crop: zod_1.z.optional(exports.cropCropSchema)
927
+ crop: zod_1.z.optional(exports.cropCropSchema),
945
928
  });
946
929
  exports.imageAssetSchema = exports.imageassetImageAssetSchema;
947
930
  /**
948
931
  * The ImageToVideoAsset lets you create a video from an image and a text prompt.
949
932
  */
950
933
  exports.imagetovideoassetImageToVideoAssetSchema = zod_1.z.object({
951
- 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"])),
952
935
  src: zod_1.z.optional(zod_1.z.string()),
953
936
  prompt: zod_1.z.optional(zod_1.z.string()),
954
- aspectRatio: zod_1.z.optional(zod_1.z.enum([
955
- '1:1',
956
- '4:3',
957
- '16:9',
958
- '9:16',
959
- '3:4',
960
- '21:9',
961
- '9:21'
962
- ])),
937
+ aspectRatio: zod_1.z.optional(zod_1.z.enum(["1:1", "4:3", "16:9", "9:16", "3:4", "21:9", "9:21"])),
963
938
  speed: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
964
939
  return undefined; if (Array.isArray(v))
965
940
  return v; if (typeof v === 'string')
966
941
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(10))),
967
- crop: zod_1.z.optional(exports.cropCropSchema)
942
+ crop: zod_1.z.optional(exports.cropCropSchema),
968
943
  });
969
944
  exports.imageToVideoAssetSchema = exports.imagetovideoassetImageToVideoAssetSchema;
970
945
  /**
@@ -972,24 +947,24 @@ exports.imageToVideoAssetSchema = exports.imagetovideoassetImageToVideoAssetSche
972
947
  */
973
948
  exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema = zod_1.z.object({
974
949
  preset: zod_1.z.enum([
975
- 'conference',
976
- 'interview',
977
- 'lecture',
978
- 'meeting',
979
- 'mobile_phone',
980
- 'music',
981
- 'podcast',
982
- 'studio',
983
- 'voice_over'
984
- ])
950
+ "conference",
951
+ "interview",
952
+ "lecture",
953
+ "meeting",
954
+ "mobile_phone",
955
+ "music",
956
+ "podcast",
957
+ "studio",
958
+ "voice_over",
959
+ ]),
985
960
  });
986
961
  exports.dolbyEnhancementOptionsSchema = exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema;
987
962
  /**
988
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.
989
964
  */
990
965
  exports.dolbyEnhancementDolbyEnhancementSchema = zod_1.z.object({
991
- provider: zod_1.z.string().default('dolby'),
992
- options: exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema
966
+ provider: zod_1.z.string().default("dolby"),
967
+ options: exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema,
993
968
  });
994
969
  exports.dolbyEnhancementSchema = exports.dolbyEnhancementDolbyEnhancementSchema;
995
970
  /**
@@ -998,15 +973,17 @@ exports.dolbyEnhancementSchema = exports.dolbyEnhancementDolbyEnhancementSchema;
998
973
  * <li><a href="#tocs_dolbyenhancement">DolbyEnhancement</a></li>
999
974
  * </ul>
1000
975
  */
1001
- exports.audioEnhancementAudioEnhancementSchema = zod_1.z.object({
1002
- enhancement: zod_1.z.literal('dolbyEnhancement_DolbyEnhancement')
1003
- }).and(exports.dolbyEnhancementDolbyEnhancementSchema);
976
+ exports.audioEnhancementAudioEnhancementSchema = zod_1.z
977
+ .object({
978
+ enhancement: zod_1.z.literal("dolbyEnhancement_DolbyEnhancement"),
979
+ })
980
+ .and(exports.dolbyEnhancementDolbyEnhancementSchema);
1004
981
  exports.audioEnhancementSchema = exports.audioEnhancementAudioEnhancementSchema;
1005
982
  /**
1006
983
  * Enhancements that can be applied to a rendition. Currently only supports the Dolby audio enhancement.
1007
984
  */
1008
985
  exports.enhancementsEnhancementsSchema = zod_1.z.object({
1009
- audio: zod_1.z.optional(exports.audioEnhancementAudioEnhancementSchema)
986
+ audio: zod_1.z.optional(exports.audioEnhancementAudioEnhancementSchema),
1010
987
  });
1011
988
  exports.enhancementsSchema = exports.enhancementsEnhancementsSchema;
1012
989
  /**
@@ -1015,14 +992,14 @@ exports.enhancementsSchema = exports.enhancementsEnhancementsSchema;
1015
992
  exports.ingesterrorresponsedataIngestErrorResponseDataSchema = zod_1.z.object({
1016
993
  status: zod_1.z.string(),
1017
994
  title: zod_1.z.string(),
1018
- detail: zod_1.z.string()
995
+ detail: zod_1.z.string(),
1019
996
  });
1020
997
  exports.ingestErrorResponseDataSchema = exports.ingesterrorresponsedataIngestErrorResponseDataSchema;
1021
998
  /**
1022
999
  * Error response data for validation and other errors returned by the Ingest API.
1023
1000
  */
1024
1001
  exports.ingesterrorresponseIngestErrorResponseSchema = zod_1.z.object({
1025
- errors: zod_1.z.array(exports.ingesterrorresponsedataIngestErrorResponseDataSchema)
1002
+ errors: zod_1.z.array(exports.ingesterrorresponsedataIngestErrorResponseDataSchema),
1026
1003
  });
1027
1004
  exports.ingestErrorResponseSchema = exports.ingesterrorresponseIngestErrorResponseSchema;
1028
1005
  /**
@@ -1030,14 +1007,14 @@ exports.ingestErrorResponseSchema = exports.ingesterrorresponseIngestErrorRespon
1030
1007
  */
1031
1008
  exports.queuedsourceresponsedataQueuedSourceResponseDataSchema = zod_1.z.object({
1032
1009
  type: zod_1.z.string(),
1033
- id: zod_1.z.string()
1010
+ id: zod_1.z.string(),
1034
1011
  });
1035
1012
  exports.queuedSourceResponseDataSchema = exports.queuedsourceresponsedataQueuedSourceResponseDataSchema;
1036
1013
  /**
1037
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.
1038
1015
  */
1039
1016
  exports.queuedsourceresponseQueuedSourceResponseSchema = zod_1.z.object({
1040
- data: exports.queuedsourceresponsedataQueuedSourceResponseDataSchema
1017
+ data: exports.queuedsourceresponsedataQueuedSourceResponseDataSchema,
1041
1018
  });
1042
1019
  exports.queuedSourceResponseSchema = exports.queuedsourceresponseQueuedSourceResponseSchema;
1043
1020
  /**
@@ -1046,7 +1023,7 @@ exports.queuedSourceResponseSchema = exports.queuedsourceresponseQueuedSourceRes
1046
1023
  exports.uploadresponseattributesUploadResponseAttributesSchema = zod_1.z.object({
1047
1024
  id: zod_1.z.string(),
1048
1025
  url: zod_1.z.string(),
1049
- expires: zod_1.z.string()
1026
+ expires: zod_1.z.string(),
1050
1027
  });
1051
1028
  exports.uploadResponseAttributesSchema = exports.uploadresponseattributesUploadResponseAttributesSchema;
1052
1029
  /**
@@ -1055,14 +1032,14 @@ exports.uploadResponseAttributesSchema = exports.uploadresponseattributesUploadR
1055
1032
  exports.uploadresponsedataUploadResponseDataSchema = zod_1.z.object({
1056
1033
  type: zod_1.z.string(),
1057
1034
  id: zod_1.z.string(),
1058
- attributes: exports.uploadresponseattributesUploadResponseAttributesSchema
1035
+ attributes: exports.uploadresponseattributesUploadResponseAttributesSchema,
1059
1036
  });
1060
1037
  exports.uploadResponseDataSchema = exports.uploadresponsedataUploadResponseDataSchema;
1061
1038
  /**
1062
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.
1063
1040
  */
1064
1041
  exports.uploadresponseUploadResponseSchema = zod_1.z.object({
1065
- data: exports.uploadresponsedataUploadResponseDataSchema
1042
+ data: exports.uploadresponsedataUploadResponseDataSchema,
1066
1043
  });
1067
1044
  exports.uploadResponseSchema = exports.uploadresponseUploadResponseSchema;
1068
1045
  /**
@@ -1073,26 +1050,26 @@ exports.speedSpeedSchema = zod_1.z.object({
1073
1050
  return undefined; if (Array.isArray(v))
1074
1051
  return v; if (typeof v === 'string')
1075
1052
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(10))),
1076
- preservePitch: zod_1.z.optional(zod_1.z.boolean())
1053
+ preservePitch: zod_1.z.optional(zod_1.z.boolean()),
1077
1054
  });
1078
1055
  exports.speedSchema = exports.speedSpeedSchema;
1079
1056
  /**
1080
1057
  * Generate a transcription of the audio in the video. The transcription can be output as a file in SRT or VTT format.
1081
1058
  */
1082
1059
  exports.transcriptionTranscriptionSchema = zod_1.z.object({
1083
- format: zod_1.z.optional(zod_1.z.enum(['srt', 'vtt']))
1060
+ format: zod_1.z.optional(zod_1.z.enum(["srt", "vtt"])),
1084
1061
  });
1085
1062
  exports.transcriptionSchema = exports.transcriptionTranscriptionSchema;
1086
1063
  /**
1087
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.
1088
1065
  */
1089
1066
  exports.lumaassetLumaAssetSchema = zod_1.z.object({
1090
- type: zod_1.z.enum(['luma']),
1067
+ type: zod_1.z.enum(["luma"]),
1091
1068
  src: zod_1.z.string(),
1092
1069
  trim: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1093
1070
  return undefined; if (Array.isArray(v))
1094
1071
  return v; if (typeof v === 'string')
1095
- return Number(v); return v; }), zod_1.z.number()))
1072
+ return Number(v); return v; }), zod_1.z.number())),
1096
1073
  });
1097
1074
  exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema;
1098
1075
  /**
@@ -1100,7 +1077,7 @@ exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema;
1100
1077
  */
1101
1078
  exports.mergefieldMergeFieldSchema = zod_1.z.object({
1102
1079
  find: zod_1.z.string(),
1103
- replace: zod_1.z.unknown()
1080
+ replace: zod_1.z.unknown(),
1104
1081
  });
1105
1082
  exports.mergeFieldSchema = exports.mergefieldMergeFieldSchema;
1106
1083
  /**
@@ -1110,7 +1087,7 @@ exports.posterPosterSchema = zod_1.z.object({
1110
1087
  capture: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1111
1088
  return undefined; if (Array.isArray(v))
1112
1089
  return v; if (typeof v === 'string')
1113
- return Number(v); return v; }), zod_1.z.number())
1090
+ return Number(v); return v; }), zod_1.z.number()),
1114
1091
  });
1115
1092
  exports.posterSchema = exports.posterPosterSchema;
1116
1093
  /**
@@ -1124,7 +1101,7 @@ exports.rangeRangeSchema = zod_1.z.object({
1124
1101
  length: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1125
1102
  return undefined; if (Array.isArray(v))
1126
1103
  return v; if (typeof v === 'string')
1127
- return Number(v); return v; }), zod_1.z.number().gte(0)))
1104
+ return Number(v); return v; }), zod_1.z.number().gte(0))),
1128
1105
  });
1129
1106
  exports.rangeSchema = exports.rangeRangeSchema;
1130
1107
  /**
@@ -1138,14 +1115,9 @@ exports.assetresponseattributesAssetResponseAttributesSchema = zod_1.z.object({
1138
1115
  providerId: zod_1.z.optional(zod_1.z.string()),
1139
1116
  filename: zod_1.z.optional(zod_1.z.string()),
1140
1117
  url: zod_1.z.optional(zod_1.z.string()),
1141
- status: zod_1.z.enum([
1142
- 'importing',
1143
- 'ready',
1144
- 'failed',
1145
- 'deleted'
1146
- ]),
1118
+ status: zod_1.z.enum(["importing", "ready", "failed", "deleted"]),
1147
1119
  created: zod_1.z.optional(zod_1.z.string()),
1148
- updated: zod_1.z.optional(zod_1.z.string())
1120
+ updated: zod_1.z.optional(zod_1.z.string()),
1149
1121
  });
1150
1122
  exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResponseAttributesSchema;
1151
1123
  /**
@@ -1153,21 +1125,21 @@ exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResp
1153
1125
  */
1154
1126
  exports.assetresponsedataAssetResponseDataSchema = zod_1.z.object({
1155
1127
  type: zod_1.z.string(),
1156
- attributes: exports.assetresponseattributesAssetResponseAttributesSchema
1128
+ attributes: exports.assetresponseattributesAssetResponseAttributesSchema,
1157
1129
  });
1158
1130
  exports.assetResponseDataSchema = exports.assetresponsedataAssetResponseDataSchema;
1159
1131
  /**
1160
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.
1161
1133
  */
1162
1134
  exports.assetrenderresponseAssetRenderResponseSchema = zod_1.z.object({
1163
- data: zod_1.z.array(exports.assetresponsedataAssetResponseDataSchema)
1135
+ data: zod_1.z.array(exports.assetresponsedataAssetResponseDataSchema),
1164
1136
  });
1165
1137
  exports.assetRenderResponseSchema = exports.assetrenderresponseAssetRenderResponseSchema;
1166
1138
  /**
1167
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.
1168
1140
  */
1169
1141
  exports.assetresponseAssetResponseSchema = zod_1.z.object({
1170
- data: exports.assetresponsedataAssetResponseDataSchema
1142
+ data: exports.assetresponsedataAssetResponseDataSchema,
1171
1143
  });
1172
1144
  exports.assetResponseSchema = exports.assetresponseAssetResponseSchema;
1173
1145
  /**
@@ -1176,7 +1148,7 @@ exports.assetResponseSchema = exports.assetresponseAssetResponseSchema;
1176
1148
  exports.proberesponseProbeResponseSchema = zod_1.z.object({
1177
1149
  success: zod_1.z.boolean(),
1178
1150
  message: zod_1.z.string(),
1179
- 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()),
1180
1152
  });
1181
1153
  exports.probeResponseSchema = exports.proberesponseProbeResponseSchema;
1182
1154
  /**
@@ -1184,7 +1156,7 @@ exports.probeResponseSchema = exports.proberesponseProbeResponseSchema;
1184
1156
  */
1185
1157
  exports.queuedresponsedataQueuedResponseDataSchema = zod_1.z.object({
1186
1158
  message: zod_1.z.string(),
1187
- id: zod_1.z.string()
1159
+ id: zod_1.z.string(),
1188
1160
  });
1189
1161
  exports.queuedResponseDataSchema = exports.queuedresponsedataQueuedResponseDataSchema;
1190
1162
  /**
@@ -1193,7 +1165,7 @@ exports.queuedResponseDataSchema = exports.queuedresponsedataQueuedResponseDataS
1193
1165
  exports.queuedresponseQueuedResponseSchema = zod_1.z.object({
1194
1166
  success: zod_1.z.boolean(),
1195
1167
  message: zod_1.z.string(),
1196
- response: exports.queuedresponsedataQueuedResponseDataSchema
1168
+ response: exports.queuedresponsedataQueuedResponseDataSchema,
1197
1169
  });
1198
1170
  exports.queuedResponseSchema = exports.queuedresponseQueuedResponseSchema;
1199
1171
  /**
@@ -1203,7 +1175,7 @@ exports.templatelistresponseitemTemplateListResponseItemSchema = zod_1.z.object(
1203
1175
  id: zod_1.z.string(),
1204
1176
  name: zod_1.z.string(),
1205
1177
  created: zod_1.z.optional(zod_1.z.string()),
1206
- updated: zod_1.z.optional(zod_1.z.string())
1178
+ updated: zod_1.z.optional(zod_1.z.string()),
1207
1179
  });
1208
1180
  exports.templateListResponseItemSchema = exports.templatelistresponseitemTemplateListResponseItemSchema;
1209
1181
  /**
@@ -1211,7 +1183,7 @@ exports.templateListResponseItemSchema = exports.templatelistresponseitemTemplat
1211
1183
  */
1212
1184
  exports.templatelistresponsedataTemplateListResponseDataSchema = zod_1.z.object({
1213
1185
  owner: zod_1.z.string(),
1214
- templates: zod_1.z.array(exports.templatelistresponseitemTemplateListResponseItemSchema)
1186
+ templates: zod_1.z.array(exports.templatelistresponseitemTemplateListResponseItemSchema),
1215
1187
  });
1216
1188
  exports.templateListResponseDataSchema = exports.templatelistresponsedataTemplateListResponseDataSchema;
1217
1189
  /**
@@ -1220,7 +1192,7 @@ exports.templateListResponseDataSchema = exports.templatelistresponsedataTemplat
1220
1192
  exports.templatelistresponseTemplateListResponseSchema = zod_1.z.object({
1221
1193
  success: zod_1.z.boolean(),
1222
1194
  message: zod_1.z.string(),
1223
- response: exports.templatelistresponsedataTemplateListResponseDataSchema
1195
+ response: exports.templatelistresponsedataTemplateListResponseDataSchema,
1224
1196
  });
1225
1197
  exports.templateListResponseSchema = exports.templatelistresponseTemplateListResponseSchema;
1226
1198
  /**
@@ -1228,7 +1200,7 @@ exports.templateListResponseSchema = exports.templatelistresponseTemplateListRes
1228
1200
  */
1229
1201
  exports.templateresponsedataTemplateResponseDataSchema = zod_1.z.object({
1230
1202
  message: zod_1.z.string(),
1231
- id: zod_1.z.string()
1203
+ id: zod_1.z.string(),
1232
1204
  });
1233
1205
  exports.templateResponseDataSchema = exports.templateresponsedataTemplateResponseDataSchema;
1234
1206
  /**
@@ -1237,23 +1209,15 @@ exports.templateResponseDataSchema = exports.templateresponsedataTemplateRespons
1237
1209
  exports.templateresponseTemplateResponseSchema = zod_1.z.object({
1238
1210
  success: zod_1.z.boolean(),
1239
1211
  message: zod_1.z.string(),
1240
- response: exports.templateresponsedataTemplateResponseDataSchema
1212
+ response: exports.templateresponsedataTemplateResponseDataSchema,
1241
1213
  });
1242
1214
  exports.templateResponseSchema = exports.templateresponseTemplateResponseSchema;
1243
1215
  /**
1244
1216
  * Text alignment properties (horizontal and vertical).
1245
1217
  */
1246
1218
  exports.richtextpropertiesRichTextAlignmentSchema = zod_1.z.object({
1247
- horizontal: zod_1.z.optional(zod_1.z.enum([
1248
- 'left',
1249
- 'center',
1250
- 'right'
1251
- ])),
1252
- vertical: zod_1.z.optional(zod_1.z.enum([
1253
- 'top',
1254
- 'middle',
1255
- 'bottom'
1256
- ]))
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"])),
1257
1221
  });
1258
1222
  exports.richTextAlignmentSchema = exports.richtextpropertiesRichTextAlignmentSchema;
1259
1223
  /**
@@ -1261,12 +1225,12 @@ exports.richTextAlignmentSchema = exports.richtextpropertiesRichTextAlignmentSch
1261
1225
  */
1262
1226
  exports.richtextpropertiesRichTextAnimationSchema = zod_1.z.object({
1263
1227
  preset: zod_1.z.enum([
1264
- 'fadeIn',
1265
- 'slideIn',
1266
- 'typewriter',
1267
- 'ascend',
1268
- 'shift',
1269
- 'movingLetters'
1228
+ "fadeIn",
1229
+ "slideIn",
1230
+ "typewriter",
1231
+ "ascend",
1232
+ "shift",
1233
+ "movingLetters",
1270
1234
  ]),
1271
1235
  speed: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1272
1236
  return undefined; if (Array.isArray(v))
@@ -1276,13 +1240,8 @@ exports.richtextpropertiesRichTextAnimationSchema = zod_1.z.object({
1276
1240
  return undefined; if (Array.isArray(v))
1277
1241
  return v; if (typeof v === 'string')
1278
1242
  return Number(v); return v; }), zod_1.z.number().gte(0.1).lte(30))),
1279
- style: zod_1.z.optional(zod_1.z.enum(['character', 'word'])),
1280
- direction: zod_1.z.optional(zod_1.z.enum([
1281
- 'left',
1282
- 'right',
1283
- 'up',
1284
- 'down'
1285
- ]))
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"])),
1286
1245
  });
1287
1246
  exports.richTextAnimationSchema = exports.richtextpropertiesRichTextAnimationSchema;
1288
1247
  /**
@@ -1297,7 +1256,7 @@ exports.richtextpropertiesRichTextBackgroundSchema = zod_1.z.object({
1297
1256
  borderRadius: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1298
1257
  return undefined; if (Array.isArray(v))
1299
1258
  return v; if (typeof v === 'string')
1300
- 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),
1301
1260
  });
1302
1261
  exports.richTextBackgroundSchema = exports.richtextpropertiesRichTextBackgroundSchema;
1303
1262
  /**
@@ -1308,7 +1267,7 @@ exports.richtextpropertiesRichTextBorderSchema = zod_1.z.object({
1308
1267
  return undefined; if (Array.isArray(v))
1309
1268
  return v; if (typeof v === 'string')
1310
1269
  return Number(v); return v; }), zod_1.z.number().gte(0))).default(0),
1311
- 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"),
1312
1271
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1313
1272
  return undefined; if (Array.isArray(v))
1314
1273
  return v; if (typeof v === 'string')
@@ -1316,24 +1275,26 @@ exports.richtextpropertiesRichTextBorderSchema = zod_1.z.object({
1316
1275
  radius: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1317
1276
  return undefined; if (Array.isArray(v))
1318
1277
  return v; if (typeof v === 'string')
1319
- 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),
1320
1279
  });
1321
1280
  /**
1322
1281
  * Gradient properties for text fill.
1323
1282
  */
1324
1283
  exports.richtextpropertiesRichTextGradientSchema = zod_1.z.object({
1325
- type: zod_1.z.optional(zod_1.z.enum(['linear', 'radial'])),
1284
+ type: zod_1.z.optional(zod_1.z.enum(["linear", "radial"])),
1326
1285
  angle: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1327
1286
  return undefined; if (Array.isArray(v))
1328
1287
  return v; if (typeof v === 'string')
1329
1288
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(360))).default(0),
1330
- stops: zod_1.z.array(zod_1.z.object({
1289
+ stops: zod_1.z
1290
+ .array(zod_1.z.object({
1331
1291
  offset: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1332
1292
  return undefined; if (Array.isArray(v))
1333
1293
  return v; if (typeof v === 'string')
1334
1294
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(1)),
1335
- color: zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)
1336
- })).min(2)
1295
+ color: zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/),
1296
+ }))
1297
+ .min(2),
1337
1298
  });
1338
1299
  exports.richTextGradientSchema = exports.richtextpropertiesRichTextGradientSchema;
1339
1300
  /**
@@ -1355,7 +1316,7 @@ exports.richtextpropertiesRichTextPaddingSchema = zod_1.z.object({
1355
1316
  left: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1356
1317
  return undefined; if (Array.isArray(v))
1357
1318
  return v; if (typeof v === 'string')
1358
- 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),
1359
1320
  });
1360
1321
  /**
1361
1322
  * Text shadow properties.
@@ -1373,11 +1334,11 @@ exports.richtextpropertiesRichTextShadowSchema = zod_1.z.object({
1373
1334
  return undefined; if (Array.isArray(v))
1374
1335
  return v; if (typeof v === 'string')
1375
1336
  return Number(v); return v; }), zod_1.z.number().gte(0))).default(0),
1376
- 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"),
1377
1338
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1378
1339
  return undefined; if (Array.isArray(v))
1379
1340
  return v; if (typeof v === 'string')
1380
- 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),
1381
1342
  });
1382
1343
  exports.richTextShadowSchema = exports.richtextpropertiesRichTextShadowSchema;
1383
1344
  /**
@@ -1388,30 +1349,30 @@ exports.richtextpropertiesRichTextStrokeSchema = zod_1.z.object({
1388
1349
  return undefined; if (Array.isArray(v))
1389
1350
  return v; if (typeof v === 'string')
1390
1351
  return Number(v); return v; }), zod_1.z.number().gte(0))).default(0),
1391
- 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"),
1392
1353
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1393
1354
  return undefined; if (Array.isArray(v))
1394
1355
  return v; if (typeof v === 'string')
1395
- 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),
1396
1357
  });
1397
1358
  exports.richTextStrokeSchema = exports.richtextpropertiesRichTextStrokeSchema;
1398
1359
  /**
1399
1360
  * Font properties for rich text.
1400
1361
  */
1401
1362
  exports.richtextpropertiesRichTextFontSchema = zod_1.z.object({
1402
- 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"),
1403
1364
  size: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1404
1365
  return undefined; if (Array.isArray(v))
1405
1366
  return v; if (typeof v === 'string')
1406
1367
  return Number(v); return v; }), zod_1.z.number().int().gte(1).lte(500))).default(24),
1407
- weight: zod_1.z.optional(zod_1.z.unknown()).default('400'),
1408
- 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"),
1409
1370
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1410
1371
  return undefined; if (Array.isArray(v))
1411
1372
  return v; if (typeof v === 'string')
1412
1373
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(1),
1413
1374
  background: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)),
1414
- stroke: zod_1.z.optional(exports.richtextpropertiesRichTextStrokeSchema)
1375
+ stroke: zod_1.z.optional(exports.richtextpropertiesRichTextStrokeSchema),
1415
1376
  });
1416
1377
  exports.richTextFontSchema = exports.richtextpropertiesRichTextFontSchema;
1417
1378
  /**
@@ -1426,18 +1387,9 @@ exports.richtextpropertiesRichTextStyleSchema = zod_1.z.object({
1426
1387
  return undefined; if (Array.isArray(v))
1427
1388
  return v; if (typeof v === 'string')
1428
1389
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(10))).default(1.2),
1429
- textTransform: zod_1.z.optional(zod_1.z.enum([
1430
- 'none',
1431
- 'uppercase',
1432
- 'lowercase',
1433
- 'capitalize'
1434
- ])),
1435
- textDecoration: zod_1.z.optional(zod_1.z.enum([
1436
- 'none',
1437
- 'underline',
1438
- 'line-through'
1439
- ])),
1440
- 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),
1441
1393
  });
1442
1394
  exports.richTextStyleSchema = exports.richtextpropertiesRichTextStyleSchema;
1443
1395
  /**
@@ -1446,22 +1398,19 @@ exports.richTextStyleSchema = exports.richtextpropertiesRichTextStyleSchema;
1446
1398
  *
1447
1399
  */
1448
1400
  exports.richtextassetRichTextAssetSchema = zod_1.z.object({
1449
- type: zod_1.z.enum(['rich-text']),
1401
+ type: zod_1.z.enum(["rich-text"]),
1450
1402
  text: zod_1.z.string().max(5000),
1451
1403
  font: zod_1.z.optional(exports.richtextpropertiesRichTextFontSchema),
1452
1404
  style: zod_1.z.optional(exports.richtextpropertiesRichTextStyleSchema),
1453
1405
  shadow: zod_1.z.optional(exports.richtextpropertiesRichTextShadowSchema),
1454
1406
  background: zod_1.z.optional(exports.richtextpropertiesRichTextBackgroundSchema),
1455
1407
  border: zod_1.z.optional(exports.richtextpropertiesRichTextBorderSchema),
1456
- padding: zod_1.z.optional(zod_1.z.union([
1457
- 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)
1458
1409
  return undefined; if (Array.isArray(v))
1459
1410
  return v; if (typeof v === 'string')
1460
- return Number(v); return v; }), zod_1.z.number().gte(0)),
1461
- exports.richtextpropertiesRichTextPaddingSchema
1462
- ])),
1411
+ return Number(v); return v; }), zod_1.z.number().gte(0)), exports.richtextpropertiesRichTextPaddingSchema])),
1463
1412
  align: zod_1.z.optional(exports.richtextpropertiesRichTextAlignmentSchema),
1464
- animation: zod_1.z.optional(exports.richtextpropertiesRichTextAnimationSchema)
1413
+ animation: zod_1.z.optional(exports.richtextpropertiesRichTextAnimationSchema),
1465
1414
  });
1466
1415
  exports.richTextAssetSchema = exports.richtextassetRichTextAssetSchema;
1467
1416
  /**
@@ -1470,8 +1419,8 @@ exports.richTextAssetSchema = exports.richtextassetRichTextAssetSchema;
1470
1419
  exports.transferresponseattributesTransferResponseAttributesSchema = zod_1.z.object({
1471
1420
  id: zod_1.z.optional(zod_1.z.string()),
1472
1421
  owner: zod_1.z.optional(zod_1.z.string()),
1473
- status: zod_1.z.optional(zod_1.z.enum(['queued', 'failed'])),
1474
- 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()),
1475
1424
  });
1476
1425
  exports.transferResponseAttributesSchema = exports.transferresponseattributesTransferResponseAttributesSchema;
1477
1426
  /**
@@ -1479,14 +1428,14 @@ exports.transferResponseAttributesSchema = exports.transferresponseattributesTra
1479
1428
  */
1480
1429
  exports.transferresponsedataTransferResponseDataSchema = zod_1.z.object({
1481
1430
  type: zod_1.z.optional(zod_1.z.string()),
1482
- attributes: zod_1.z.optional(exports.transferresponseattributesTransferResponseAttributesSchema)
1431
+ attributes: zod_1.z.optional(exports.transferresponseattributesTransferResponseAttributesSchema),
1483
1432
  });
1484
1433
  exports.transferResponseDataSchema = exports.transferresponsedataTransferResponseDataSchema;
1485
1434
  /**
1486
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.
1487
1436
  */
1488
1437
  exports.transferresponseTransferResponseSchema = zod_1.z.object({
1489
- data: exports.transferresponsedataTransferResponseDataSchema
1438
+ data: exports.transferresponsedataTransferResponseDataSchema,
1490
1439
  });
1491
1440
  exports.transferResponseSchema = exports.transferresponseTransferResponseSchema;
1492
1441
  /**
@@ -1495,7 +1444,7 @@ exports.transferResponseSchema = exports.transferresponseTransferResponseSchema;
1495
1444
  exports.transferTransferSchema = zod_1.z.object({
1496
1445
  url: zod_1.z.string(),
1497
1446
  id: zod_1.z.string(),
1498
- destinations: zod_1.z.array(exports.destinationsDestinationsSchema)
1447
+ destinations: zod_1.z.array(exports.destinationsDestinationsSchema),
1499
1448
  });
1500
1449
  exports.transferSchema = exports.transferTransferSchema;
1501
1450
  /**
@@ -1504,12 +1453,8 @@ exports.transferSchema = exports.transferTransferSchema;
1504
1453
  *
1505
1454
  */
1506
1455
  exports.shapeassetShapeAssetSchema = zod_1.z.object({
1507
- type: zod_1.z.enum(['shape']),
1508
- shape: zod_1.z.enum([
1509
- 'rectangle',
1510
- 'circle',
1511
- 'line'
1512
- ]),
1456
+ type: zod_1.z.enum(["shape"]),
1457
+ shape: zod_1.z.enum(["rectangle", "circle", "line"]),
1513
1458
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1514
1459
  return undefined; if (Array.isArray(v))
1515
1460
  return v; if (typeof v === 'string')
@@ -1523,14 +1468,14 @@ exports.shapeassetShapeAssetSchema = zod_1.z.object({
1523
1468
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1524
1469
  return undefined; if (Array.isArray(v))
1525
1470
  return v; if (typeof v === 'string')
1526
- return Number(v); return v; }), zod_1.z.number()))
1471
+ return Number(v); return v; }), zod_1.z.number())),
1527
1472
  })),
1528
1473
  stroke: zod_1.z.optional(zod_1.z.object({
1529
1474
  color: zod_1.z.optional(zod_1.z.string()),
1530
1475
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1531
1476
  return undefined; if (Array.isArray(v))
1532
1477
  return v; if (typeof v === 'string')
1533
- return Number(v); return v; }), zod_1.z.number()))
1478
+ return Number(v); return v; }), zod_1.z.number())),
1534
1479
  })),
1535
1480
  rectangle: zod_1.z.optional(zod_1.z.object({
1536
1481
  width: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1544,13 +1489,13 @@ exports.shapeassetShapeAssetSchema = zod_1.z.object({
1544
1489
  cornerRadius: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1545
1490
  return undefined; if (Array.isArray(v))
1546
1491
  return v; if (typeof v === 'string')
1547
- return Number(v); return v; }), zod_1.z.number().int()))
1492
+ return Number(v); return v; }), zod_1.z.number().int())),
1548
1493
  })),
1549
1494
  circle: zod_1.z.optional(zod_1.z.object({
1550
1495
  radius: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1551
1496
  return undefined; if (Array.isArray(v))
1552
1497
  return v; if (typeof v === 'string')
1553
- return Number(v); return v; }), zod_1.z.number().int())
1498
+ return Number(v); return v; }), zod_1.z.number().int()),
1554
1499
  })),
1555
1500
  line: zod_1.z.optional(zod_1.z.object({
1556
1501
  length: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1560,8 +1505,8 @@ exports.shapeassetShapeAssetSchema = zod_1.z.object({
1560
1505
  thickness: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1561
1506
  return undefined; if (Array.isArray(v))
1562
1507
  return v; if (typeof v === 'string')
1563
- return Number(v); return v; }), zod_1.z.number().int())
1564
- }))
1508
+ return Number(v); return v; }), zod_1.z.number().int()),
1509
+ })),
1565
1510
  });
1566
1511
  exports.shapeAssetSchema = exports.shapeassetShapeAssetSchema;
1567
1512
  /**
@@ -1575,7 +1520,7 @@ exports.sizeSizeSchema = zod_1.z.object({
1575
1520
  height: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1576
1521
  return undefined; if (Array.isArray(v))
1577
1522
  return v; if (typeof v === 'string')
1578
- 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))),
1579
1524
  });
1580
1525
  exports.sizeSchema = exports.sizeSizeSchema;
1581
1526
  /**
@@ -1583,35 +1528,25 @@ exports.sizeSchema = exports.sizeSizeSchema;
1583
1528
  */
1584
1529
  exports.renditionRenditionSchema = zod_1.z.object({
1585
1530
  format: zod_1.z.optional(zod_1.z.enum([
1586
- 'mp4',
1587
- 'webm',
1588
- 'mov',
1589
- 'avi',
1590
- 'mkv',
1591
- 'ogv',
1592
- 'wmv',
1593
- 'avif',
1594
- 'gif',
1595
- 'mp3',
1596
- 'wav',
1597
- 'jpg',
1598
- 'png',
1599
- 'webp',
1600
- '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",
1601
1546
  ])),
1602
1547
  size: zod_1.z.optional(exports.sizeSizeSchema),
1603
- fit: zod_1.z.optional(zod_1.z.enum([
1604
- 'cover',
1605
- 'contain',
1606
- 'crop'
1607
- ])),
1608
- resolution: zod_1.z.optional(zod_1.z.enum([
1609
- 'preview',
1610
- 'mobile',
1611
- 'sd',
1612
- 'hd',
1613
- 'fhd'
1614
- ])),
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"])),
1615
1550
  quality: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1616
1551
  return undefined; if (Array.isArray(v))
1617
1552
  return v; if (typeof v === 'string')
@@ -1627,7 +1562,7 @@ exports.renditionRenditionSchema = zod_1.z.object({
1627
1562
  zod_1.z.literal(48),
1628
1563
  zod_1.z.literal(50),
1629
1564
  zod_1.z.literal(59.94),
1630
- zod_1.z.literal(60)
1565
+ zod_1.z.literal(60),
1631
1566
  ])),
1632
1567
  speed: zod_1.z.optional(exports.speedSpeedSchema),
1633
1568
  keyframeInterval: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1637,7 +1572,7 @@ exports.renditionRenditionSchema = zod_1.z.object({
1637
1572
  fixOffset: zod_1.z.optional(zod_1.z.boolean()),
1638
1573
  fixRotation: zod_1.z.optional(zod_1.z.boolean()),
1639
1574
  enhance: zod_1.z.optional(exports.enhancementsEnhancementsSchema),
1640
- filename: zod_1.z.optional(zod_1.z.string())
1575
+ filename: zod_1.z.optional(zod_1.z.string()),
1641
1576
  });
1642
1577
  exports.renditionSchema = exports.renditionRenditionSchema;
1643
1578
  /**
@@ -1645,7 +1580,7 @@ exports.renditionSchema = exports.renditionRenditionSchema;
1645
1580
  */
1646
1581
  exports.outputsOutputsSchema = zod_1.z.object({
1647
1582
  renditions: zod_1.z.optional(zod_1.z.array(exports.renditionRenditionSchema)),
1648
- transcription: zod_1.z.optional(exports.transcriptionTranscriptionSchema)
1583
+ transcription: zod_1.z.optional(exports.transcriptionTranscriptionSchema),
1649
1584
  });
1650
1585
  exports.outputsSchema = exports.outputsOutputsSchema;
1651
1586
  /**
@@ -1654,12 +1589,12 @@ exports.outputsSchema = exports.outputsOutputsSchema;
1654
1589
  exports.renditionresponseattributesRenditionResponseAttributesSchema = zod_1.z.object({
1655
1590
  id: zod_1.z.string(),
1656
1591
  status: zod_1.z.optional(zod_1.z.enum([
1657
- 'queued',
1658
- 'importing',
1659
- 'ready',
1660
- 'failed',
1661
- 'deleted',
1662
- 'overwritten'
1592
+ "queued",
1593
+ "importing",
1594
+ "ready",
1595
+ "failed",
1596
+ "deleted",
1597
+ "overwritten",
1663
1598
  ])),
1664
1599
  url: zod_1.z.optional(zod_1.z.string()),
1665
1600
  executionTime: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1682,14 +1617,14 @@ exports.renditionresponseattributesRenditionResponseAttributesSchema = zod_1.z.o
1682
1617
  fps: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1683
1618
  return undefined; if (Array.isArray(v))
1684
1619
  return v; if (typeof v === 'string')
1685
- return Number(v); return v; }), zod_1.z.number()))
1620
+ return Number(v); return v; }), zod_1.z.number())),
1686
1621
  });
1687
1622
  exports.renditionResponseAttributesSchema = exports.renditionresponseattributesRenditionResponseAttributesSchema;
1688
1623
  /**
1689
1624
  * The list of outputs generated from the source file. Currently supports renditions which are versions of the source file with different transformations applied.
1690
1625
  */
1691
1626
  exports.outputsresponseOutputsResponseSchema = zod_1.z.object({
1692
- renditions: zod_1.z.optional(zod_1.z.array(exports.renditionresponseattributesRenditionResponseAttributesSchema))
1627
+ renditions: zod_1.z.optional(zod_1.z.array(exports.renditionresponseattributesRenditionResponseAttributesSchema)),
1693
1628
  });
1694
1629
  exports.outputsResponseSchema = exports.outputsresponseOutputsResponseSchema;
1695
1630
  /**
@@ -1701,12 +1636,12 @@ exports.sourceresponseattributesSourceResponseAttributesSchema = zod_1.z.object(
1701
1636
  input: zod_1.z.optional(zod_1.z.string()),
1702
1637
  source: zod_1.z.optional(zod_1.z.string()),
1703
1638
  status: zod_1.z.optional(zod_1.z.enum([
1704
- 'queued',
1705
- 'importing',
1706
- 'ready',
1707
- 'failed',
1708
- 'deleted',
1709
- 'overwritten'
1639
+ "queued",
1640
+ "importing",
1641
+ "ready",
1642
+ "failed",
1643
+ "deleted",
1644
+ "overwritten",
1710
1645
  ])),
1711
1646
  outputs: zod_1.z.optional(exports.outputsresponseOutputsResponseSchema),
1712
1647
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -1726,7 +1661,7 @@ exports.sourceresponseattributesSourceResponseAttributesSchema = zod_1.z.object(
1726
1661
  return v; if (typeof v === 'string')
1727
1662
  return Number(v); return v; }), zod_1.z.number())),
1728
1663
  created: zod_1.z.optional(zod_1.z.string()),
1729
- updated: zod_1.z.optional(zod_1.z.string())
1664
+ updated: zod_1.z.optional(zod_1.z.string()),
1730
1665
  });
1731
1666
  exports.sourceResponseAttributesSchema = exports.sourceresponseattributesSourceResponseAttributesSchema;
1732
1667
  /**
@@ -1735,21 +1670,21 @@ exports.sourceResponseAttributesSchema = exports.sourceresponseattributesSourceR
1735
1670
  exports.sourceresponsedataSourceResponseDataSchema = zod_1.z.object({
1736
1671
  type: zod_1.z.string(),
1737
1672
  id: zod_1.z.string(),
1738
- attributes: exports.sourceresponseattributesSourceResponseAttributesSchema
1673
+ attributes: exports.sourceresponseattributesSourceResponseAttributesSchema,
1739
1674
  });
1740
1675
  exports.sourceResponseDataSchema = exports.sourceresponsedataSourceResponseDataSchema;
1741
1676
  /**
1742
1677
  * A list of all ingested source files fetched or uploaded to a users account.
1743
1678
  */
1744
1679
  exports.sourcelistresponseSourceListResponseSchema = zod_1.z.object({
1745
- data: zod_1.z.array(exports.sourceresponsedataSourceResponseDataSchema)
1680
+ data: zod_1.z.array(exports.sourceresponsedataSourceResponseDataSchema),
1746
1681
  });
1747
1682
  exports.sourceListResponseSchema = exports.sourcelistresponseSourceListResponseSchema;
1748
1683
  /**
1749
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.
1750
1685
  */
1751
1686
  exports.sourceresponseSourceResponseSchema = zod_1.z.object({
1752
- data: exports.sourceresponsedataSourceResponseDataSchema
1687
+ data: exports.sourceresponsedataSourceResponseDataSchema,
1753
1688
  });
1754
1689
  exports.sourceResponseSchema = exports.sourceresponseSourceResponseSchema;
1755
1690
  /**
@@ -1760,7 +1695,7 @@ exports.sourceSourceSchema = zod_1.z.object({
1760
1695
  url: zod_1.z.optional(zod_1.z.string()),
1761
1696
  outputs: zod_1.z.optional(exports.outputsOutputsSchema),
1762
1697
  destinations: zod_1.z.optional(exports.destinationsDestinationsSchema),
1763
- callback: zod_1.z.optional(zod_1.z.string())
1698
+ callback: zod_1.z.optional(zod_1.z.string()),
1764
1699
  });
1765
1700
  exports.sourceSchema = exports.sourceSourceSchema;
1766
1701
  /**
@@ -1768,15 +1703,11 @@ exports.sourceSchema = exports.sourceSourceSchema;
1768
1703
  */
1769
1704
  exports.soundtrackSoundtrackSchema = zod_1.z.object({
1770
1705
  src: zod_1.z.string(),
1771
- effect: zod_1.z.optional(zod_1.z.enum([
1772
- 'fadeIn',
1773
- 'fadeOut',
1774
- 'fadeInFadeOut'
1775
- ])),
1706
+ effect: zod_1.z.optional(zod_1.z.enum(["fadeIn", "fadeOut", "fadeInFadeOut"])),
1776
1707
  volume: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1777
1708
  return undefined; if (Array.isArray(v))
1778
1709
  return v; if (typeof v === 'string')
1779
- return Number(v); return v; }), zod_1.z.number()))
1710
+ return Number(v); return v; }), zod_1.z.number())),
1780
1711
  });
1781
1712
  exports.soundtrackSchema = exports.soundtrackSoundtrackSchema;
1782
1713
  /**
@@ -1789,7 +1720,7 @@ exports.svgpropertiesSvgGradientStopSchema = zod_1.z.object({
1789
1720
  return undefined; if (Array.isArray(v))
1790
1721
  return v; if (typeof v === 'string')
1791
1722
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(1)),
1792
- color: zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)
1723
+ color: zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/),
1793
1724
  });
1794
1725
  exports.svgGradientStopSchema = exports.svgpropertiesSvgGradientStopSchema;
1795
1726
  /**
@@ -1798,7 +1729,7 @@ exports.svgGradientStopSchema = exports.svgpropertiesSvgGradientStopSchema;
1798
1729
  *
1799
1730
  */
1800
1731
  exports.svgpropertiesSvgLinearGradientFillSchema = zod_1.z.object({
1801
- type: zod_1.z.enum(['linear']),
1732
+ type: zod_1.z.enum(["linear"]),
1802
1733
  angle: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1803
1734
  return undefined; if (Array.isArray(v))
1804
1735
  return v; if (typeof v === 'string')
@@ -1807,7 +1738,7 @@ exports.svgpropertiesSvgLinearGradientFillSchema = zod_1.z.object({
1807
1738
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1808
1739
  return undefined; if (Array.isArray(v))
1809
1740
  return v; if (typeof v === 'string')
1810
- 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),
1811
1742
  });
1812
1743
  exports.svgLinearGradientFillSchema = exports.svgpropertiesSvgLinearGradientFillSchema;
1813
1744
  /**
@@ -1816,12 +1747,12 @@ exports.svgLinearGradientFillSchema = exports.svgpropertiesSvgLinearGradientFill
1816
1747
  *
1817
1748
  */
1818
1749
  exports.svgpropertiesSvgRadialGradientFillSchema = zod_1.z.object({
1819
- type: zod_1.z.enum(['radial']),
1750
+ type: zod_1.z.enum(["radial"]),
1820
1751
  stops: zod_1.z.array(exports.svgpropertiesSvgGradientStopSchema).min(2),
1821
1752
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1822
1753
  return undefined; if (Array.isArray(v))
1823
1754
  return v; if (typeof v === 'string')
1824
- 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),
1825
1756
  });
1826
1757
  exports.svgRadialGradientFillSchema = exports.svgpropertiesSvgRadialGradientFillSchema;
1827
1758
  /**
@@ -1841,23 +1772,26 @@ exports.svgpropertiesSvgShadowSchema = zod_1.z.object({
1841
1772
  return undefined; if (Array.isArray(v))
1842
1773
  return v; if (typeof v === 'string')
1843
1774
  return Number(v); return v; }), zod_1.z.number().gte(0))).default(0),
1844
- 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"),
1845
1776
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1846
1777
  return undefined; if (Array.isArray(v))
1847
1778
  return v; if (typeof v === 'string')
1848
- 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),
1849
1780
  });
1850
1781
  exports.svgShadowSchema = exports.svgpropertiesSvgShadowSchema;
1851
1782
  /**
1852
1783
  * A solid color fill for SVG shapes.
1853
1784
  */
1854
1785
  exports.svgpropertiesSvgSolidFillSchema = zod_1.z.object({
1855
- type: zod_1.z.enum(['solid']),
1856
- 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"),
1857
1791
  opacity: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1858
1792
  return undefined; if (Array.isArray(v))
1859
1793
  return v; if (typeof v === 'string')
1860
- 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),
1861
1795
  });
1862
1796
  exports.svgSolidFillSchema = exports.svgpropertiesSvgSolidFillSchema;
1863
1797
  /**
@@ -1877,7 +1811,7 @@ exports.svgFillSchema = exports.svgpropertiesSvgFillSchema;
1877
1811
  *
1878
1812
  */
1879
1813
  exports.svgpropertiesSvgStrokeSchema = zod_1.z.object({
1880
- 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"),
1881
1815
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1882
1816
  return undefined; if (Array.isArray(v))
1883
1817
  return v; if (typeof v === 'string')
@@ -1886,16 +1820,8 @@ exports.svgpropertiesSvgStrokeSchema = zod_1.z.object({
1886
1820
  return undefined; if (Array.isArray(v))
1887
1821
  return v; if (typeof v === 'string')
1888
1822
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(1))).default(1),
1889
- lineCap: zod_1.z.optional(zod_1.z.enum([
1890
- 'butt',
1891
- 'round',
1892
- 'square'
1893
- ])),
1894
- lineJoin: zod_1.z.optional(zod_1.z.enum([
1895
- 'miter',
1896
- 'round',
1897
- 'bevel'
1898
- ])),
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"])),
1899
1825
  dashArray: zod_1.z.optional(zod_1.z.array(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1900
1826
  return undefined; if (Array.isArray(v))
1901
1827
  return v; if (typeof v === 'string')
@@ -1903,7 +1829,7 @@ exports.svgpropertiesSvgStrokeSchema = zod_1.z.object({
1903
1829
  dashOffset: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1904
1830
  return undefined; if (Array.isArray(v))
1905
1831
  return v; if (typeof v === 'string')
1906
- return Number(v); return v; }), zod_1.z.number())).default(0)
1832
+ return Number(v); return v; }), zod_1.z.number())).default(0),
1907
1833
  });
1908
1834
  exports.svgStrokeSchema = exports.svgpropertiesSvgStrokeSchema;
1909
1835
  /**
@@ -1934,7 +1860,7 @@ exports.svgpropertiesSvgTransformSchema = zod_1.z.object({
1934
1860
  originY: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1935
1861
  return undefined; if (Array.isArray(v))
1936
1862
  return v; if (typeof v === 'string')
1937
- 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),
1938
1864
  });
1939
1865
  exports.svgTransformSchema = exports.svgpropertiesSvgTransformSchema;
1940
1866
  /**
@@ -1943,7 +1869,7 @@ exports.svgTransformSchema = exports.svgpropertiesSvgTransformSchema;
1943
1869
  *
1944
1870
  */
1945
1871
  exports.svgshapesSvgArrowShapeSchema = zod_1.z.object({
1946
- type: zod_1.z.enum(['arrow']),
1872
+ type: zod_1.z.enum(["arrow"]),
1947
1873
  length: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1948
1874
  return undefined; if (Array.isArray(v))
1949
1875
  return v; if (typeof v === 'string')
@@ -1959,7 +1885,7 @@ exports.svgshapesSvgArrowShapeSchema = zod_1.z.object({
1959
1885
  shaftWidth: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1960
1886
  return undefined; if (Array.isArray(v))
1961
1887
  return v; if (typeof v === 'string')
1962
- 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)),
1963
1889
  });
1964
1890
  exports.svgArrowShapeSchema = exports.svgshapesSvgArrowShapeSchema;
1965
1891
  /**
@@ -1968,11 +1894,11 @@ exports.svgArrowShapeSchema = exports.svgshapesSvgArrowShapeSchema;
1968
1894
  *
1969
1895
  */
1970
1896
  exports.svgshapesSvgCircleShapeSchema = zod_1.z.object({
1971
- type: zod_1.z.enum(['circle']),
1897
+ type: zod_1.z.enum(["circle"]),
1972
1898
  radius: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1973
1899
  return undefined; if (Array.isArray(v))
1974
1900
  return v; if (typeof v === 'string')
1975
- 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)),
1976
1902
  });
1977
1903
  exports.svgCircleShapeSchema = exports.svgshapesSvgCircleShapeSchema;
1978
1904
  /**
@@ -1981,7 +1907,7 @@ exports.svgCircleShapeSchema = exports.svgshapesSvgCircleShapeSchema;
1981
1907
  *
1982
1908
  */
1983
1909
  exports.svgshapesSvgCrossShapeSchema = zod_1.z.object({
1984
- type: zod_1.z.enum(['cross']),
1910
+ type: zod_1.z.enum(["cross"]),
1985
1911
  width: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1986
1912
  return undefined; if (Array.isArray(v))
1987
1913
  return v; if (typeof v === 'string')
@@ -1993,7 +1919,7 @@ exports.svgshapesSvgCrossShapeSchema = zod_1.z.object({
1993
1919
  thickness: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
1994
1920
  return undefined; if (Array.isArray(v))
1995
1921
  return v; if (typeof v === 'string')
1996
- 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)),
1997
1923
  });
1998
1924
  exports.svgCrossShapeSchema = exports.svgshapesSvgCrossShapeSchema;
1999
1925
  /**
@@ -2002,7 +1928,7 @@ exports.svgCrossShapeSchema = exports.svgshapesSvgCrossShapeSchema;
2002
1928
  *
2003
1929
  */
2004
1930
  exports.svgshapesSvgEllipseShapeSchema = zod_1.z.object({
2005
- type: zod_1.z.enum(['ellipse']),
1931
+ type: zod_1.z.enum(["ellipse"]),
2006
1932
  radiusX: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2007
1933
  return undefined; if (Array.isArray(v))
2008
1934
  return v; if (typeof v === 'string')
@@ -2010,7 +1936,7 @@ exports.svgshapesSvgEllipseShapeSchema = zod_1.z.object({
2010
1936
  radiusY: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2011
1937
  return undefined; if (Array.isArray(v))
2012
1938
  return v; if (typeof v === 'string')
2013
- 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)),
2014
1940
  });
2015
1941
  exports.svgEllipseShapeSchema = exports.svgshapesSvgEllipseShapeSchema;
2016
1942
  /**
@@ -2019,11 +1945,11 @@ exports.svgEllipseShapeSchema = exports.svgshapesSvgEllipseShapeSchema;
2019
1945
  *
2020
1946
  */
2021
1947
  exports.svgshapesSvgHeartShapeSchema = zod_1.z.object({
2022
- type: zod_1.z.enum(['heart']),
1948
+ type: zod_1.z.enum(["heart"]),
2023
1949
  size: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2024
1950
  return undefined; if (Array.isArray(v))
2025
1951
  return v; if (typeof v === 'string')
2026
- 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)),
2027
1953
  });
2028
1954
  exports.svgHeartShapeSchema = exports.svgshapesSvgHeartShapeSchema;
2029
1955
  /**
@@ -2032,7 +1958,7 @@ exports.svgHeartShapeSchema = exports.svgshapesSvgHeartShapeSchema;
2032
1958
  *
2033
1959
  */
2034
1960
  exports.svgshapesSvgLineShapeSchema = zod_1.z.object({
2035
- type: zod_1.z.enum(['line']),
1961
+ type: zod_1.z.enum(["line"]),
2036
1962
  length: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2037
1963
  return undefined; if (Array.isArray(v))
2038
1964
  return v; if (typeof v === 'string')
@@ -2040,7 +1966,7 @@ exports.svgshapesSvgLineShapeSchema = zod_1.z.object({
2040
1966
  thickness: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2041
1967
  return undefined; if (Array.isArray(v))
2042
1968
  return v; if (typeof v === 'string')
2043
- 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)),
2044
1970
  });
2045
1971
  exports.svgLineShapeSchema = exports.svgshapesSvgLineShapeSchema;
2046
1972
  /**
@@ -2061,8 +1987,8 @@ exports.svgLineShapeSchema = exports.svgshapesSvgLineShapeSchema;
2061
1987
  *
2062
1988
  */
2063
1989
  exports.svgshapesSvgPathShapeSchema = zod_1.z.object({
2064
- type: zod_1.z.enum(['path']),
2065
- 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),
2066
1992
  });
2067
1993
  exports.svgPathShapeSchema = exports.svgshapesSvgPathShapeSchema;
2068
1994
  /**
@@ -2072,7 +1998,7 @@ exports.svgPathShapeSchema = exports.svgshapesSvgPathShapeSchema;
2072
1998
  *
2073
1999
  */
2074
2000
  exports.svgshapesSvgPolygonShapeSchema = zod_1.z.object({
2075
- type: zod_1.z.enum(['polygon']),
2001
+ type: zod_1.z.enum(["polygon"]),
2076
2002
  sides: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2077
2003
  return undefined; if (Array.isArray(v))
2078
2004
  return v; if (typeof v === 'string')
@@ -2080,7 +2006,7 @@ exports.svgshapesSvgPolygonShapeSchema = zod_1.z.object({
2080
2006
  radius: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2081
2007
  return undefined; if (Array.isArray(v))
2082
2008
  return v; if (typeof v === 'string')
2083
- 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)),
2084
2010
  });
2085
2011
  exports.svgPolygonShapeSchema = exports.svgshapesSvgPolygonShapeSchema;
2086
2012
  /**
@@ -2089,7 +2015,7 @@ exports.svgPolygonShapeSchema = exports.svgshapesSvgPolygonShapeSchema;
2089
2015
  *
2090
2016
  */
2091
2017
  exports.svgshapesSvgRectangleShapeSchema = zod_1.z.object({
2092
- type: zod_1.z.enum(['rectangle']),
2018
+ type: zod_1.z.enum(["rectangle"]),
2093
2019
  width: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2094
2020
  return undefined; if (Array.isArray(v))
2095
2021
  return v; if (typeof v === 'string')
@@ -2101,7 +2027,7 @@ exports.svgshapesSvgRectangleShapeSchema = zod_1.z.object({
2101
2027
  cornerRadius: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2102
2028
  return undefined; if (Array.isArray(v))
2103
2029
  return v; if (typeof v === 'string')
2104
- 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),
2105
2031
  });
2106
2032
  exports.svgRectangleShapeSchema = exports.svgshapesSvgRectangleShapeSchema;
2107
2033
  /**
@@ -2110,7 +2036,7 @@ exports.svgRectangleShapeSchema = exports.svgshapesSvgRectangleShapeSchema;
2110
2036
  *
2111
2037
  */
2112
2038
  exports.svgshapesSvgRingShapeSchema = zod_1.z.object({
2113
- type: zod_1.z.enum(['ring']),
2039
+ type: zod_1.z.enum(["ring"]),
2114
2040
  outerRadius: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2115
2041
  return undefined; if (Array.isArray(v))
2116
2042
  return v; if (typeof v === 'string')
@@ -2118,7 +2044,7 @@ exports.svgshapesSvgRingShapeSchema = zod_1.z.object({
2118
2044
  innerRadius: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2119
2045
  return undefined; if (Array.isArray(v))
2120
2046
  return v; if (typeof v === 'string')
2121
- 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)),
2122
2048
  });
2123
2049
  exports.svgRingShapeSchema = exports.svgshapesSvgRingShapeSchema;
2124
2050
  /**
@@ -2128,7 +2054,7 @@ exports.svgRingShapeSchema = exports.svgshapesSvgRingShapeSchema;
2128
2054
  *
2129
2055
  */
2130
2056
  exports.svgshapesSvgStarShapeSchema = zod_1.z.object({
2131
- type: zod_1.z.enum(['star']),
2057
+ type: zod_1.z.enum(["star"]),
2132
2058
  points: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2133
2059
  return undefined; if (Array.isArray(v))
2134
2060
  return v; if (typeof v === 'string')
@@ -2140,7 +2066,7 @@ exports.svgshapesSvgStarShapeSchema = zod_1.z.object({
2140
2066
  innerRadius: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2141
2067
  return undefined; if (Array.isArray(v))
2142
2068
  return v; if (typeof v === 'string')
2143
- 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)),
2144
2070
  });
2145
2071
  exports.svgStarShapeSchema = exports.svgshapesSvgStarShapeSchema;
2146
2072
  /**
@@ -2271,34 +2197,26 @@ exports.svgAssetSchema = exports.svgassetSvgAssetSchema;
2271
2197
  */
2272
2198
  exports.templaterenderTemplateRenderSchema = zod_1.z.object({
2273
2199
  id: zod_1.z.string(),
2274
- merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema))
2200
+ merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema)),
2275
2201
  });
2276
2202
  exports.templateRenderSchema = exports.templaterenderTemplateRenderSchema;
2277
2203
  /**
2278
2204
  * Horizontal and vertical alignment properties for text.
2279
2205
  */
2280
2206
  exports.textpropertiesTextAlignmentSchema = zod_1.z.object({
2281
- horizontal: zod_1.z.optional(zod_1.z.enum([
2282
- 'left',
2283
- 'center',
2284
- 'right'
2285
- ])),
2286
- vertical: zod_1.z.optional(zod_1.z.enum([
2287
- 'top',
2288
- 'center',
2289
- 'bottom'
2290
- ]))
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"])),
2291
2209
  });
2292
2210
  exports.textAlignmentSchema = exports.textpropertiesTextAlignmentSchema;
2293
2211
  /**
2294
2212
  * Animation properties for text entrance effects.
2295
2213
  */
2296
2214
  exports.textpropertiesTextAnimationSchema = zod_1.z.object({
2297
- preset: zod_1.z.enum(['typewriter']),
2215
+ preset: zod_1.z.enum(["typewriter"]),
2298
2216
  duration: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2299
2217
  return undefined; if (Array.isArray(v))
2300
2218
  return v; if (typeof v === 'string')
2301
- 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))),
2302
2220
  });
2303
2221
  /**
2304
2222
  * Displays a background box behind the text.
@@ -2316,7 +2234,7 @@ exports.textpropertiesTextBackgroundSchema = zod_1.z.object({
2316
2234
  borderRadius: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2317
2235
  return undefined; if (Array.isArray(v))
2318
2236
  return v; if (typeof v === 'string')
2319
- return Number(v); return v; }), zod_1.z.number().gte(0)))
2237
+ return Number(v); return v; }), zod_1.z.number().gte(0))),
2320
2238
  });
2321
2239
  exports.textBackgroundSchema = exports.textpropertiesTextBackgroundSchema;
2322
2240
  /**
@@ -2340,7 +2258,7 @@ exports.textpropertiesTextFontSchema = zod_1.z.object({
2340
2258
  lineHeight: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2341
2259
  return undefined; if (Array.isArray(v))
2342
2260
  return v; if (typeof v === 'string')
2343
- return Number(v); return v; }), zod_1.z.number()))
2261
+ return Number(v); return v; }), zod_1.z.number())),
2344
2262
  });
2345
2263
  exports.textFontSchema = exports.textpropertiesTextFontSchema;
2346
2264
  /**
@@ -2351,7 +2269,7 @@ exports.textpropertiesTextStrokeSchema = zod_1.z.object({
2351
2269
  return undefined; if (Array.isArray(v))
2352
2270
  return v; if (typeof v === 'string')
2353
2271
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(10))),
2354
- 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}$/)),
2355
2273
  });
2356
2274
  /**
2357
2275
  * The TextAsset is used to add text and titles to a video. The text can be styled with built in and custom
@@ -2359,7 +2277,7 @@ exports.textpropertiesTextStrokeSchema = zod_1.z.object({
2359
2277
  *
2360
2278
  */
2361
2279
  exports.textassetTextAssetSchema = zod_1.z.object({
2362
- type: zod_1.z.enum(['text']),
2280
+ type: zod_1.z.enum(["text"]),
2363
2281
  text: zod_1.z.string(),
2364
2282
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2365
2283
  return undefined; if (Array.isArray(v))
@@ -2374,14 +2292,14 @@ exports.textassetTextAssetSchema = zod_1.z.object({
2374
2292
  alignment: zod_1.z.optional(exports.textpropertiesTextAlignmentSchema),
2375
2293
  stroke: zod_1.z.optional(exports.textpropertiesTextStrokeSchema),
2376
2294
  animation: zod_1.z.optional(exports.textpropertiesTextAnimationSchema),
2377
- ellipsis: zod_1.z.optional(zod_1.z.string())
2295
+ ellipsis: zod_1.z.optional(zod_1.z.string()),
2378
2296
  });
2379
2297
  exports.textAssetSchema = exports.textassetTextAssetSchema;
2380
2298
  /**
2381
2299
  * The TextToImageAsset lets you create a dynamic image from a text prompt.
2382
2300
  */
2383
2301
  exports.texttoimageassetTextToImageAssetSchema = zod_1.z.object({
2384
- type: zod_1.z.enum(['text-to-image']),
2302
+ type: zod_1.z.enum(["text-to-image"]),
2385
2303
  prompt: zod_1.z.string(),
2386
2304
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2387
2305
  return undefined; if (Array.isArray(v))
@@ -2391,7 +2309,7 @@ exports.texttoimageassetTextToImageAssetSchema = zod_1.z.object({
2391
2309
  return undefined; if (Array.isArray(v))
2392
2310
  return v; if (typeof v === 'string')
2393
2311
  return Number(v); return v; }), zod_1.z.number().int())),
2394
- crop: zod_1.z.optional(exports.cropCropSchema)
2312
+ crop: zod_1.z.optional(exports.cropCropSchema),
2395
2313
  });
2396
2314
  exports.textToImageAssetSchema = exports.texttoimageassetTextToImageAssetSchema;
2397
2315
  /**
@@ -2405,36 +2323,16 @@ exports.thumbnailThumbnailSchema = zod_1.z.object({
2405
2323
  scale: zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2406
2324
  return undefined; if (Array.isArray(v))
2407
2325
  return v; if (typeof v === 'string')
2408
- 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)),
2409
2327
  });
2410
2328
  exports.thumbnailSchema = exports.thumbnailThumbnailSchema;
2411
2329
  /**
2412
2330
  * The output format, render range and type of media to generate.
2413
2331
  */
2414
2332
  exports.outputOutputSchema = zod_1.z.object({
2415
- format: zod_1.z.enum([
2416
- 'mp4',
2417
- 'gif',
2418
- 'mp3',
2419
- 'jpg',
2420
- 'png',
2421
- 'bmp'
2422
- ]),
2423
- resolution: zod_1.z.optional(zod_1.z.enum([
2424
- 'preview',
2425
- 'mobile',
2426
- 'sd',
2427
- 'hd',
2428
- '1080',
2429
- '4k'
2430
- ])),
2431
- aspectRatio: zod_1.z.optional(zod_1.z.enum([
2432
- '16:9',
2433
- '9:16',
2434
- '1:1',
2435
- '4:5',
2436
- '4:3'
2437
- ])),
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"])),
2438
2336
  size: zod_1.z.optional(exports.sizeSizeSchema),
2439
2337
  fps: zod_1.z.optional(zod_1.z.union([
2440
2338
  zod_1.z.literal(12),
@@ -2447,29 +2345,16 @@ exports.outputOutputSchema = zod_1.z.object({
2447
2345
  zod_1.z.literal(48),
2448
2346
  zod_1.z.literal(50),
2449
2347
  zod_1.z.literal(59.94),
2450
- zod_1.z.literal(60)
2451
- ])),
2452
- scaleTo: zod_1.z.optional(zod_1.z.enum([
2453
- 'preview',
2454
- 'mobile',
2455
- 'sd',
2456
- 'hd',
2457
- '1080',
2458
- '4k'
2459
- ])),
2460
- quality: zod_1.z.optional(zod_1.z.enum([
2461
- 'verylow',
2462
- 'low',
2463
- 'medium',
2464
- 'high',
2465
- 'veryhigh'
2348
+ zod_1.z.literal(60),
2466
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"])),
2467
2352
  repeat: zod_1.z.optional(zod_1.z.boolean()),
2468
2353
  mute: zod_1.z.optional(zod_1.z.boolean()),
2469
2354
  range: zod_1.z.optional(exports.rangeRangeSchema),
2470
2355
  poster: zod_1.z.optional(exports.posterPosterSchema),
2471
2356
  thumbnail: zod_1.z.optional(exports.thumbnailThumbnailSchema),
2472
- destinations: zod_1.z.optional(zod_1.z.array(exports.destinationsDestinationsSchema))
2357
+ destinations: zod_1.z.optional(zod_1.z.array(exports.destinationsDestinationsSchema)),
2473
2358
  });
2474
2359
  exports.outputSchema = exports.outputOutputSchema;
2475
2360
  /**
@@ -2477,133 +2362,133 @@ exports.outputSchema = exports.outputOutputSchema;
2477
2362
  */
2478
2363
  exports.transitionTransitionSchema = zod_1.z.object({
2479
2364
  in: zod_1.z.optional(zod_1.z.enum([
2480
- 'none',
2481
- 'fade',
2482
- 'fadeSlow',
2483
- 'fadeFast',
2484
- 'reveal',
2485
- 'revealSlow',
2486
- 'revealFast',
2487
- 'wipeLeft',
2488
- 'wipeLeftSlow',
2489
- 'wipeLeftFast',
2490
- 'wipeRight',
2491
- 'wipeRightSlow',
2492
- 'wipeRightFast',
2493
- 'slideLeft',
2494
- 'slideLeftSlow',
2495
- 'slideLeftFast',
2496
- 'slideRight',
2497
- 'slideRightSlow',
2498
- 'slideRightFast',
2499
- 'slideUp',
2500
- 'slideUpSlow',
2501
- 'slideUpFast',
2502
- 'slideDown',
2503
- 'slideDownSlow',
2504
- 'slideDownFast',
2505
- 'carouselLeft',
2506
- 'carouselLeftSlow',
2507
- 'carouselLeftFast',
2508
- 'carouselRight',
2509
- 'carouselRightSlow',
2510
- 'carouselRightFast',
2511
- 'carouselUp',
2512
- 'carouselUpSlow',
2513
- 'carouselUpFast',
2514
- 'carouselDown',
2515
- 'carouselDownSlow',
2516
- 'carouselDownFast',
2517
- 'shuffleTopRight',
2518
- 'shuffleTopRightSlow',
2519
- 'shuffleTopRightFast',
2520
- 'shuffleRightTop',
2521
- 'shuffleRightTopSlow',
2522
- 'shuffleRightTopFast',
2523
- 'shuffleRightBottom',
2524
- 'shuffleRightBottomSlow',
2525
- 'shuffleRightBottomFast',
2526
- 'shuffleBottomRight',
2527
- 'shuffleBottomRightSlow',
2528
- 'shuffleBottomRightFast',
2529
- 'shuffleBottomLeft',
2530
- 'shuffleBottomLeftSlow',
2531
- 'shuffleBottomLeftFast',
2532
- 'shuffleLeftBottom',
2533
- 'shuffleLeftBottomSlow',
2534
- 'shuffleLeftBottomFast',
2535
- 'shuffleLeftTop',
2536
- 'shuffleLeftTopSlow',
2537
- 'shuffleLeftTopFast',
2538
- 'shuffleTopLeft',
2539
- 'shuffleTopLeftSlow',
2540
- 'shuffleTopLeftFast',
2541
- '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",
2542
2427
  ])),
2543
2428
  out: zod_1.z.optional(zod_1.z.enum([
2544
- 'none',
2545
- 'fade',
2546
- 'fadeSlow',
2547
- 'fadeFast',
2548
- 'reveal',
2549
- 'revealSlow',
2550
- 'revealFast',
2551
- 'wipeLeft',
2552
- 'wipeLeftSlow',
2553
- 'wipeLeftFast',
2554
- 'wipeRight',
2555
- 'wipeRightSlow',
2556
- 'wipeRightFast',
2557
- 'slideLeft',
2558
- 'slideLeftSlow',
2559
- 'slideLeftFast',
2560
- 'slideRight',
2561
- 'slideRightSlow',
2562
- 'slideRightFast',
2563
- 'slideUp',
2564
- 'slideUpSlow',
2565
- 'slideUpFast',
2566
- 'slideDown',
2567
- 'slideDownSlow',
2568
- 'slideDownFast',
2569
- 'carouselLeft',
2570
- 'carouselLeftSlow',
2571
- 'carouselLeftFast',
2572
- 'carouselRight',
2573
- 'carouselRightSlow',
2574
- 'carouselRightFast',
2575
- 'carouselUp',
2576
- 'carouselUpSlow',
2577
- 'carouselUpFast',
2578
- 'carouselDown',
2579
- 'carouselDownSlow',
2580
- 'carouselDownFast',
2581
- 'shuffleTopRight',
2582
- 'shuffleTopRightSlow',
2583
- 'shuffleTopRightFast',
2584
- 'shuffleRightTop',
2585
- 'shuffleRightTopSlow',
2586
- 'shuffleRightTopFast',
2587
- 'shuffleRightBottom',
2588
- 'shuffleRightBottomSlow',
2589
- 'shuffleRightBottomFast',
2590
- 'shuffleBottomRight',
2591
- 'shuffleBottomRightSlow',
2592
- 'shuffleBottomRightFast',
2593
- 'shuffleBottomLeft',
2594
- 'shuffleBottomLeftSlow',
2595
- 'shuffleBottomLeftFast',
2596
- 'shuffleLeftBottom',
2597
- 'shuffleLeftBottomSlow',
2598
- 'shuffleLeftBottomFast',
2599
- 'shuffleLeftTop',
2600
- 'shuffleLeftTopSlow',
2601
- 'shuffleLeftTopFast',
2602
- 'shuffleTopLeft',
2603
- 'shuffleTopLeftSlow',
2604
- 'shuffleTopLeftFast',
2605
- 'zoom'
2606
- ]))
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
+ ])),
2607
2492
  });
2608
2493
  exports.transitionSchema = exports.transitionTransitionSchema;
2609
2494
  /**
@@ -2627,123 +2512,96 @@ exports.tweenTweenSchema = zod_1.z.object({
2627
2512
  return undefined; if (Array.isArray(v))
2628
2513
  return v; if (typeof v === 'string')
2629
2514
  return Number(v); return v; }), zod_1.z.number())),
2630
- interpolation: zod_1.z.optional(zod_1.z.enum([
2631
- 'linear',
2632
- 'bezier',
2633
- 'constant'
2634
- ])),
2515
+ interpolation: zod_1.z.optional(zod_1.z.enum(["linear", "bezier", "constant"])),
2635
2516
  easing: zod_1.z.optional(zod_1.z.enum([
2636
- 'ease',
2637
- 'easeIn',
2638
- 'easeOut',
2639
- 'easeInOut',
2640
- 'easeInQuad',
2641
- 'easeInCubic',
2642
- 'easeInQuart',
2643
- 'easeInQuint',
2644
- 'easeInSine',
2645
- 'easeInExpo',
2646
- 'easeInCirc',
2647
- 'easeInBack',
2648
- 'easeOutQuad',
2649
- 'easeOutCubic',
2650
- 'easeOutQuart',
2651
- 'easeOutQuint',
2652
- 'easeOutSine',
2653
- 'easeOutExpo',
2654
- 'easeOutCirc',
2655
- 'easeOutBack',
2656
- 'easeInOutQuad',
2657
- 'easeInOutCubic',
2658
- 'easeInOutQuart',
2659
- 'easeInOutQuint',
2660
- 'easeInOutSine',
2661
- 'easeInOutExpo',
2662
- 'easeInOutCirc',
2663
- 'easeInOutBack'
2664
- ]))
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
+ ])),
2665
2546
  });
2666
2547
  exports.tweenSchema = exports.tweenTweenSchema;
2667
2548
  /**
2668
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.
2669
2550
  */
2670
2551
  exports.audioassetAudioAssetSchema = zod_1.z.object({
2671
- type: zod_1.z.enum(['audio']),
2552
+ type: zod_1.z.enum(["audio"]),
2672
2553
  src: zod_1.z.string(),
2673
2554
  trim: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2674
2555
  return undefined; if (Array.isArray(v))
2675
2556
  return v; if (typeof v === 'string')
2676
2557
  return Number(v); return v; }), zod_1.z.number())),
2677
- volume: zod_1.z.optional(zod_1.z.union([
2678
- 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)
2679
2559
  return undefined; if (Array.isArray(v))
2680
2560
  return v; if (typeof v === 'string')
2681
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(1)),
2682
- zod_1.z.array(exports.tweenTweenSchema)
2683
- ])),
2561
+ return Number(v); return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.array(exports.tweenTweenSchema)])),
2684
2562
  speed: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2685
2563
  return undefined; if (Array.isArray(v))
2686
2564
  return v; if (typeof v === 'string')
2687
2565
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(10))),
2688
- effect: zod_1.z.optional(zod_1.z.enum([
2689
- 'none',
2690
- 'fadeIn',
2691
- 'fadeOut',
2692
- 'fadeInFadeOut'
2693
- ]))
2566
+ effect: zod_1.z.optional(zod_1.z.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
2694
2567
  });
2695
2568
  exports.audioAssetSchema = exports.audioassetAudioAssetSchema;
2696
2569
  /**
2697
2570
  * Offsets the position of an asset horizontally or vertically by a relative distance.
2698
2571
  */
2699
2572
  exports.offsetOffsetSchema = zod_1.z.object({
2700
- x: zod_1.z.optional(zod_1.z.union([
2701
- 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)
2702
2574
  return undefined; if (Array.isArray(v))
2703
2575
  return v; if (typeof v === 'string')
2704
- return Number(v); return v; }), zod_1.z.number().gte(-10).lte(10)),
2705
- zod_1.z.array(exports.tweenTweenSchema)
2706
- ])),
2707
- y: zod_1.z.optional(zod_1.z.union([
2708
- 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)
2709
2578
  return undefined; if (Array.isArray(v))
2710
2579
  return v; if (typeof v === 'string')
2711
- return Number(v); return v; }), zod_1.z.number().gte(-10).lte(10)),
2712
- zod_1.z.array(exports.tweenTweenSchema)
2713
- ]))
2580
+ return Number(v); return v; }), zod_1.z.number().gte(-10).lte(10)), zod_1.z.array(exports.tweenTweenSchema)])),
2714
2581
  });
2715
2582
  exports.offsetSchema = exports.offsetOffsetSchema;
2716
2583
  /**
2717
2584
  * Rotate a clip by the specified angle in degrees. Rotation origin is set based on the clips `position`.
2718
2585
  */
2719
2586
  exports.rotatetransformationRotateTransformationSchema = zod_1.z.object({
2720
- angle: zod_1.z.optional(zod_1.z.union([
2721
- 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)
2722
2588
  return undefined; if (Array.isArray(v))
2723
2589
  return v; if (typeof v === 'string')
2724
- return Number(v); return v; }), zod_1.z.number().gte(-360).lte(360)),
2725
- zod_1.z.array(exports.tweenTweenSchema)
2726
- ]))
2590
+ return Number(v); return v; }), zod_1.z.number().gte(-360).lte(360)), zod_1.z.array(exports.tweenTweenSchema)])),
2727
2591
  });
2728
2592
  exports.rotateTransformationSchema = exports.rotatetransformationRotateTransformationSchema;
2729
2593
  /**
2730
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.
2731
2595
  */
2732
2596
  exports.skewtransformationSkewTransformationSchema = zod_1.z.object({
2733
- x: zod_1.z.optional(zod_1.z.union([
2734
- 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)
2735
2598
  return undefined; if (Array.isArray(v))
2736
2599
  return v; if (typeof v === 'string')
2737
- return Number(v); return v; }), zod_1.z.number().gte(-100).lte(100)),
2738
- zod_1.z.array(exports.tweenTweenSchema)
2739
- ])),
2740
- y: zod_1.z.optional(zod_1.z.union([
2741
- 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)
2742
2602
  return undefined; if (Array.isArray(v))
2743
2603
  return v; if (typeof v === 'string')
2744
- return Number(v); return v; }), zod_1.z.number().gte(-100).lte(100)),
2745
- zod_1.z.array(exports.tweenTweenSchema)
2746
- ]))
2604
+ return Number(v); return v; }), zod_1.z.number().gte(-100).lte(100)), zod_1.z.array(exports.tweenTweenSchema)])),
2747
2605
  });
2748
2606
  exports.skewTransformationSchema = exports.skewtransformationSkewTransformationSchema;
2749
2607
  /**
@@ -2755,43 +2613,43 @@ exports.skewTransformationSchema = exports.skewtransformationSkewTransformationS
2755
2613
  * @deprecated
2756
2614
  */
2757
2615
  exports.titleassetTitleAssetSchema = zod_1.z.object({
2758
- type: zod_1.z.enum(['title']),
2616
+ type: zod_1.z.enum(["title"]),
2759
2617
  text: zod_1.z.string(),
2760
2618
  style: zod_1.z.optional(zod_1.z.enum([
2761
- 'minimal',
2762
- 'blockbuster',
2763
- 'vogue',
2764
- 'sketchy',
2765
- 'skinny',
2766
- 'chunk',
2767
- 'chunkLight',
2768
- 'marker',
2769
- 'future',
2770
- 'subtitle'
2619
+ "minimal",
2620
+ "blockbuster",
2621
+ "vogue",
2622
+ "sketchy",
2623
+ "skinny",
2624
+ "chunk",
2625
+ "chunkLight",
2626
+ "marker",
2627
+ "future",
2628
+ "subtitle",
2771
2629
  ])),
2772
2630
  color: zod_1.z.optional(zod_1.z.string()),
2773
2631
  size: zod_1.z.optional(zod_1.z.enum([
2774
- 'xx-small',
2775
- 'x-small',
2776
- 'small',
2777
- 'medium',
2778
- 'large',
2779
- 'x-large',
2780
- 'xx-large'
2632
+ "xx-small",
2633
+ "x-small",
2634
+ "small",
2635
+ "medium",
2636
+ "large",
2637
+ "x-large",
2638
+ "xx-large",
2781
2639
  ])),
2782
2640
  background: zod_1.z.optional(zod_1.z.string()),
2783
2641
  position: zod_1.z.optional(zod_1.z.enum([
2784
- 'top',
2785
- 'topRight',
2786
- 'right',
2787
- 'bottomRight',
2788
- 'bottom',
2789
- 'bottomLeft',
2790
- 'left',
2791
- 'topLeft',
2792
- 'center'
2642
+ "top",
2643
+ "topRight",
2644
+ "right",
2645
+ "bottomRight",
2646
+ "bottom",
2647
+ "bottomLeft",
2648
+ "left",
2649
+ "topLeft",
2650
+ "center",
2793
2651
  ])),
2794
- offset: zod_1.z.optional(exports.offsetOffsetSchema)
2652
+ offset: zod_1.z.optional(exports.offsetOffsetSchema),
2795
2653
  });
2796
2654
  exports.titleAssetSchema = exports.titleassetTitleAssetSchema;
2797
2655
  /**
@@ -2800,39 +2658,31 @@ exports.titleAssetSchema = exports.titleassetTitleAssetSchema;
2800
2658
  exports.transformationTransformationSchema = zod_1.z.object({
2801
2659
  rotate: zod_1.z.optional(exports.rotatetransformationRotateTransformationSchema),
2802
2660
  skew: zod_1.z.optional(exports.skewtransformationSkewTransformationSchema),
2803
- flip: zod_1.z.optional(exports.fliptransformationFlipTransformationSchema)
2661
+ flip: zod_1.z.optional(exports.fliptransformationFlipTransformationSchema),
2804
2662
  });
2805
2663
  exports.transformationSchema = exports.transformationTransformationSchema;
2806
2664
  /**
2807
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.
2808
2666
  */
2809
2667
  exports.videoassetVideoAssetSchema = zod_1.z.object({
2810
- type: zod_1.z.enum(['video']),
2668
+ type: zod_1.z.enum(["video"]),
2811
2669
  src: zod_1.z.string(),
2812
2670
  transcode: zod_1.z.optional(zod_1.z.boolean()),
2813
2671
  trim: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2814
2672
  return undefined; if (Array.isArray(v))
2815
2673
  return v; if (typeof v === 'string')
2816
2674
  return Number(v); return v; }), zod_1.z.number())),
2817
- volume: zod_1.z.optional(zod_1.z.union([
2818
- 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)
2819
2676
  return undefined; if (Array.isArray(v))
2820
2677
  return v; if (typeof v === 'string')
2821
- return Number(v); return v; }), zod_1.z.number().gte(0).lte(1)),
2822
- zod_1.z.array(exports.tweenTweenSchema)
2823
- ])),
2824
- volumeEffect: zod_1.z.optional(zod_1.z.enum([
2825
- 'none',
2826
- 'fadeIn',
2827
- 'fadeOut',
2828
- 'fadeInFadeOut'
2829
- ])),
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"])),
2830
2680
  speed: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2831
2681
  return undefined; if (Array.isArray(v))
2832
2682
  return v; if (typeof v === 'string')
2833
2683
  return Number(v); return v; }), zod_1.z.number().gte(0).lte(10))),
2834
2684
  crop: zod_1.z.optional(exports.cropCropSchema),
2835
- chromaKey: zod_1.z.optional(exports.chromakeyChromaKeySchema)
2685
+ chromaKey: zod_1.z.optional(exports.chromakeyChromaKeySchema),
2836
2686
  });
2837
2687
  exports.videoAssetSchema = exports.videoassetVideoAssetSchema;
2838
2688
  /**
@@ -2864,96 +2714,85 @@ exports.clipClipSchema = zod_1.z.object({
2864
2714
  return undefined; if (Array.isArray(v))
2865
2715
  return v; if (typeof v === 'string')
2866
2716
  return Number(v); return v; }), zod_1.z.number()),
2867
- zod_1.z.string().regex(/^(auto|alias:\/\/[A-Za-z0-9_-]+)$/)
2717
+ zod_1.z.string().regex(/^(auto|alias:\/\/[A-Za-z0-9_-]+)$/),
2868
2718
  ]),
2869
2719
  length: zod_1.z.union([
2870
2720
  zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2871
2721
  return undefined; if (Array.isArray(v))
2872
2722
  return v; if (typeof v === 'string')
2873
2723
  return Number(v); return v; }), zod_1.z.number()),
2874
- 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_-]+)$/),
2875
2725
  ]),
2876
- fit: zod_1.z.optional(zod_1.z.enum([
2877
- 'cover',
2878
- 'contain',
2879
- 'crop',
2880
- 'none'
2881
- ])),
2882
- scale: zod_1.z.optional(zod_1.z.union([
2883
- 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)
2884
2728
  return undefined; if (Array.isArray(v))
2885
2729
  return v; if (typeof v === 'string')
2886
- return Number(v); return v; }), zod_1.z.number()),
2887
- zod_1.z.array(exports.tweenTweenSchema)
2888
- ])),
2730
+ return Number(v); return v; }), zod_1.z.number()), zod_1.z.array(exports.tweenTweenSchema)])),
2889
2731
  width: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2890
2732
  return undefined; if (Array.isArray(v))
2891
2733
  return v; if (typeof v === 'string')
2892
- 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))),
2893
2735
  height: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2894
2736
  return undefined; if (Array.isArray(v))
2895
2737
  return v; if (typeof v === 'string')
2896
- 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))),
2897
2739
  position: zod_1.z.optional(zod_1.z.enum([
2898
- 'top',
2899
- 'topRight',
2900
- 'right',
2901
- 'bottomRight',
2902
- 'bottom',
2903
- 'bottomLeft',
2904
- 'left',
2905
- 'topLeft',
2906
- 'center'
2740
+ "top",
2741
+ "topRight",
2742
+ "right",
2743
+ "bottomRight",
2744
+ "bottom",
2745
+ "bottomLeft",
2746
+ "left",
2747
+ "topLeft",
2748
+ "center",
2907
2749
  ])),
2908
2750
  offset: zod_1.z.optional(exports.offsetOffsetSchema),
2909
2751
  transition: zod_1.z.optional(exports.transitionTransitionSchema),
2910
2752
  effect: zod_1.z.optional(zod_1.z.enum([
2911
- 'zoomIn',
2912
- 'zoomInSlow',
2913
- 'zoomInFast',
2914
- 'zoomOut',
2915
- 'zoomOutSlow',
2916
- 'zoomOutFast',
2917
- 'slideLeft',
2918
- 'slideLeftSlow',
2919
- 'slideLeftFast',
2920
- 'slideRight',
2921
- 'slideRightSlow',
2922
- 'slideRightFast',
2923
- 'slideUp',
2924
- 'slideUpSlow',
2925
- 'slideUpFast',
2926
- 'slideDown',
2927
- 'slideDownSlow',
2928
- '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",
2929
2771
  ])),
2930
2772
  filter: zod_1.z.optional(zod_1.z.enum([
2931
- 'none',
2932
- 'blur',
2933
- 'boost',
2934
- 'contrast',
2935
- 'darken',
2936
- 'greyscale',
2937
- 'lighten',
2938
- 'muted',
2939
- 'negative'
2773
+ "none",
2774
+ "blur",
2775
+ "boost",
2776
+ "contrast",
2777
+ "darken",
2778
+ "greyscale",
2779
+ "lighten",
2780
+ "muted",
2781
+ "negative",
2940
2782
  ])),
2941
- opacity: zod_1.z.optional(zod_1.z.union([
2942
- 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)
2943
2784
  return undefined; if (Array.isArray(v))
2944
2785
  return v; if (typeof v === 'string')
2945
- return Number(v); return v; }), zod_1.z.number()),
2946
- zod_1.z.array(exports.tweenTweenSchema)
2947
- ])),
2786
+ return Number(v); return v; }), zod_1.z.number()), zod_1.z.array(exports.tweenTweenSchema)])),
2948
2787
  transform: zod_1.z.optional(exports.transformationTransformationSchema),
2949
- 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_-]+$/)),
2950
2789
  });
2951
2790
  exports.clipSchema = exports.clipClipSchema;
2952
2791
  /**
2953
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.
2954
2793
  */
2955
2794
  exports.trackTrackSchema = zod_1.z.object({
2956
- clips: zod_1.z.array(exports.clipClipSchema)
2795
+ clips: zod_1.z.array(exports.clipClipSchema),
2957
2796
  });
2958
2797
  exports.trackSchema = exports.trackTrackSchema;
2959
2798
  /**
@@ -2964,7 +2803,7 @@ exports.timelineTimelineSchema = zod_1.z.object({
2964
2803
  background: zod_1.z.optional(zod_1.z.string()),
2965
2804
  fonts: zod_1.z.optional(zod_1.z.array(exports.fontFontSchema)),
2966
2805
  tracks: zod_1.z.array(exports.trackTrackSchema),
2967
- cache: zod_1.z.optional(zod_1.z.boolean())
2806
+ cache: zod_1.z.optional(zod_1.z.boolean()),
2968
2807
  });
2969
2808
  exports.timelineSchema = exports.timelineTimelineSchema;
2970
2809
  /**
@@ -2975,7 +2814,7 @@ exports.editEditSchema = zod_1.z.object({
2975
2814
  output: exports.outputOutputSchema,
2976
2815
  merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema)),
2977
2816
  callback: zod_1.z.optional(zod_1.z.string()),
2978
- disk: zod_1.z.optional(zod_1.z.enum(['local', 'mount']))
2817
+ disk: zod_1.z.optional(zod_1.z.enum(["local", "mount"])),
2979
2818
  });
2980
2819
  exports.editSchema = exports.editEditSchema;
2981
2820
  /**
@@ -2986,13 +2825,13 @@ exports.renderresponsedataRenderResponseDataSchema = zod_1.z.object({
2986
2825
  owner: zod_1.z.string(),
2987
2826
  plan: zod_1.z.optional(zod_1.z.string()),
2988
2827
  status: zod_1.z.enum([
2989
- 'queued',
2990
- 'fetching',
2991
- 'preprocessing',
2992
- 'rendering',
2993
- 'saving',
2994
- 'done',
2995
- 'failed'
2828
+ "queued",
2829
+ "fetching",
2830
+ "preprocessing",
2831
+ "rendering",
2832
+ "saving",
2833
+ "done",
2834
+ "failed",
2996
2835
  ]),
2997
2836
  error: zod_1.z.optional(zod_1.z.string()),
2998
2837
  duration: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
@@ -3004,17 +2843,11 @@ exports.renderresponsedataRenderResponseDataSchema = zod_1.z.object({
3004
2843
  return v; if (typeof v === 'string')
3005
2844
  return Number(v); return v; }), zod_1.z.number())),
3006
2845
  url: zod_1.z.optional(zod_1.z.string()),
3007
- poster: zod_1.z.optional(zod_1.z.union([
3008
- zod_1.z.string(),
3009
- zod_1.z.null()
3010
- ])),
3011
- thumbnail: zod_1.z.optional(zod_1.z.union([
3012
- zod_1.z.string(),
3013
- zod_1.z.null()
3014
- ])),
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()])),
3015
2848
  data: zod_1.z.optional(exports.editEditSchema),
3016
2849
  created: zod_1.z.optional(zod_1.z.string()),
3017
- updated: zod_1.z.optional(zod_1.z.string())
2850
+ updated: zod_1.z.optional(zod_1.z.string()),
3018
2851
  });
3019
2852
  exports.renderResponseDataSchema = exports.renderresponsedataRenderResponseDataSchema;
3020
2853
  /**
@@ -3023,7 +2856,7 @@ exports.renderResponseDataSchema = exports.renderresponsedataRenderResponseDataS
3023
2856
  exports.renderresponseRenderResponseSchema = zod_1.z.object({
3024
2857
  success: zod_1.z.boolean(),
3025
2858
  message: zod_1.z.string(),
3026
- response: exports.renderresponsedataRenderResponseDataSchema
2859
+ response: exports.renderresponsedataRenderResponseDataSchema,
3027
2860
  });
3028
2861
  exports.renderResponseSchema = exports.renderresponseRenderResponseSchema;
3029
2862
  /**
@@ -3033,7 +2866,7 @@ exports.templatedataresponsedataTemplateDataResponseDataSchema = zod_1.z.object(
3033
2866
  id: zod_1.z.string(),
3034
2867
  name: zod_1.z.string(),
3035
2868
  owner: zod_1.z.string(),
3036
- template: exports.editEditSchema
2869
+ template: exports.editEditSchema,
3037
2870
  });
3038
2871
  exports.templateDataResponseDataSchema = exports.templatedataresponsedataTemplateDataResponseDataSchema;
3039
2872
  /**
@@ -3042,7 +2875,7 @@ exports.templateDataResponseDataSchema = exports.templatedataresponsedataTemplat
3042
2875
  exports.templatedataresponseTemplateDataResponseSchema = zod_1.z.object({
3043
2876
  success: zod_1.z.boolean(),
3044
2877
  message: zod_1.z.string(),
3045
- response: exports.templatedataresponsedataTemplateDataResponseDataSchema
2878
+ response: exports.templatedataresponsedataTemplateDataResponseDataSchema,
3046
2879
  });
3047
2880
  exports.templateDataResponseSchema = exports.templatedataresponseTemplateDataResponseSchema;
3048
2881
  /**
@@ -3050,13 +2883,13 @@ exports.templateDataResponseSchema = exports.templatedataresponseTemplateDataRes
3050
2883
  */
3051
2884
  exports.templateTemplateSchema = zod_1.z.object({
3052
2885
  name: zod_1.z.string(),
3053
- template: zod_1.z.optional(exports.editEditSchema)
2886
+ template: zod_1.z.optional(exports.editEditSchema),
3054
2887
  });
3055
2888
  exports.templateSchema = exports.templateTemplateSchema;
3056
2889
  exports.postRenderRequest = zod_1.z.object({
3057
2890
  body: exports.editEditSchema,
3058
2891
  path: zod_1.z.optional(zod_1.z.never()),
3059
- query: zod_1.z.optional(zod_1.z.never())
2892
+ query: zod_1.z.optional(zod_1.z.never()),
3060
2893
  });
3061
2894
  /**
3062
2895
  * The queued render details
@@ -3065,12 +2898,14 @@ exports.postRenderResponse = exports.queuedresponseQueuedResponseSchema;
3065
2898
  exports.getRenderRequest = zod_1.z.object({
3066
2899
  body: zod_1.z.optional(zod_1.z.never()),
3067
2900
  path: zod_1.z.object({
3068
- 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}$/),
3069
2904
  }),
3070
2905
  query: zod_1.z.optional(zod_1.z.object({
3071
2906
  data: zod_1.z.optional(zod_1.z.boolean()),
3072
- merged: zod_1.z.optional(zod_1.z.boolean())
3073
- }))
2907
+ merged: zod_1.z.optional(zod_1.z.boolean()),
2908
+ })),
3074
2909
  });
3075
2910
  /**
3076
2911
  * The render status details
@@ -3079,7 +2914,7 @@ exports.getRenderResponse = exports.renderresponseRenderResponseSchema;
3079
2914
  exports.getTemplatesRequest = zod_1.z.object({
3080
2915
  body: zod_1.z.optional(zod_1.z.never()),
3081
2916
  path: zod_1.z.optional(zod_1.z.never()),
3082
- query: zod_1.z.optional(zod_1.z.never())
2917
+ query: zod_1.z.optional(zod_1.z.never()),
3083
2918
  });
3084
2919
  /**
3085
2920
  * The list of templates stored against a users account
@@ -3088,7 +2923,7 @@ exports.getTemplatesResponse = exports.templatelistresponseTemplateListResponseS
3088
2923
  exports.postTemplateRequest = zod_1.z.object({
3089
2924
  body: exports.templateTemplateSchema,
3090
2925
  path: zod_1.z.optional(zod_1.z.never()),
3091
- query: zod_1.z.optional(zod_1.z.never())
2926
+ query: zod_1.z.optional(zod_1.z.never()),
3092
2927
  });
3093
2928
  /**
3094
2929
  * The saved template status including the id
@@ -3097,9 +2932,11 @@ exports.postTemplateResponse = exports.templateresponseTemplateResponseSchema;
3097
2932
  exports.deleteTemplateRequest = zod_1.z.object({
3098
2933
  body: zod_1.z.optional(zod_1.z.never()),
3099
2934
  path: zod_1.z.object({
3100
- 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}$/),
3101
2938
  }),
3102
- query: zod_1.z.optional(zod_1.z.never())
2939
+ query: zod_1.z.optional(zod_1.z.never()),
3103
2940
  });
3104
2941
  /**
3105
2942
  * An empty response signifying the template has been deleted
@@ -3108,9 +2945,11 @@ exports.deleteTemplateResponse = zod_1.z.void();
3108
2945
  exports.getTemplateRequest = zod_1.z.object({
3109
2946
  body: zod_1.z.optional(zod_1.z.never()),
3110
2947
  path: zod_1.z.object({
3111
- 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}$/),
3112
2951
  }),
3113
- query: zod_1.z.optional(zod_1.z.never())
2952
+ query: zod_1.z.optional(zod_1.z.never()),
3114
2953
  });
3115
2954
  /**
3116
2955
  * The template details including the [Edit](#tocs_edit)
@@ -3119,9 +2958,11 @@ exports.getTemplateResponse = exports.templatedataresponseTemplateDataResponseSc
3119
2958
  exports.putTemplateRequest = zod_1.z.object({
3120
2959
  body: exports.templateTemplateSchema,
3121
2960
  path: zod_1.z.object({
3122
- 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}$/),
3123
2964
  }),
3124
- query: zod_1.z.optional(zod_1.z.never())
2965
+ query: zod_1.z.optional(zod_1.z.never()),
3125
2966
  });
3126
2967
  /**
3127
2968
  * Update a templates name and [Edit](#tocs_edit)
@@ -3130,7 +2971,7 @@ exports.putTemplateResponse = exports.templateresponseTemplateResponseSchema;
3130
2971
  exports.postTemplateRenderRequest = zod_1.z.object({
3131
2972
  body: exports.templaterenderTemplateRenderSchema,
3132
2973
  path: zod_1.z.optional(zod_1.z.never()),
3133
- query: zod_1.z.optional(zod_1.z.never())
2974
+ query: zod_1.z.optional(zod_1.z.never()),
3134
2975
  });
3135
2976
  /**
3136
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.
@@ -3139,9 +2980,9 @@ exports.postTemplateRenderResponse = exports.queuedresponseQueuedResponseSchema;
3139
2980
  exports.probeRequest = zod_1.z.object({
3140
2981
  body: zod_1.z.optional(zod_1.z.never()),
3141
2982
  path: zod_1.z.object({
3142
- url: zod_1.z.string()
2983
+ url: zod_1.z.string(),
3143
2984
  }),
3144
- query: zod_1.z.optional(zod_1.z.never())
2985
+ query: zod_1.z.optional(zod_1.z.never()),
3145
2986
  });
3146
2987
  /**
3147
2988
  * FFprobe response formatted as JSON.
@@ -3150,9 +2991,11 @@ exports.probeResponse = exports.proberesponseProbeResponseSchema;
3150
2991
  exports.deleteAssetRequest = zod_1.z.object({
3151
2992
  body: zod_1.z.optional(zod_1.z.never()),
3152
2993
  path: zod_1.z.object({
3153
- 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}$/),
3154
2997
  }),
3155
- query: zod_1.z.optional(zod_1.z.never())
2998
+ query: zod_1.z.optional(zod_1.z.never()),
3156
2999
  });
3157
3000
  /**
3158
3001
  * An empty response signifying the asset has been deleted
@@ -3161,9 +3004,11 @@ exports.deleteAssetResponse = zod_1.z.void();
3161
3004
  exports.getAssetRequest = zod_1.z.object({
3162
3005
  body: zod_1.z.optional(zod_1.z.never()),
3163
3006
  path: zod_1.z.object({
3164
- 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}$/),
3165
3010
  }),
3166
- query: zod_1.z.optional(zod_1.z.never())
3011
+ query: zod_1.z.optional(zod_1.z.never()),
3167
3012
  });
3168
3013
  /**
3169
3014
  * Get asset by asset id
@@ -3172,9 +3017,11 @@ exports.getAssetResponse = exports.assetresponseAssetResponseSchema;
3172
3017
  exports.getAssetByRenderIdRequest = zod_1.z.object({
3173
3018
  body: zod_1.z.optional(zod_1.z.never()),
3174
3019
  path: zod_1.z.object({
3175
- 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}$/),
3176
3023
  }),
3177
- query: zod_1.z.optional(zod_1.z.never())
3024
+ query: zod_1.z.optional(zod_1.z.never()),
3178
3025
  });
3179
3026
  /**
3180
3027
  * Get one or more assets by render id
@@ -3183,7 +3030,7 @@ exports.getAssetByRenderIdResponse = exports.assetrenderresponseAssetRenderRespo
3183
3030
  exports.postServeAssetRequest = zod_1.z.object({
3184
3031
  body: exports.transferTransferSchema,
3185
3032
  path: zod_1.z.optional(zod_1.z.never()),
3186
- query: zod_1.z.optional(zod_1.z.never())
3033
+ query: zod_1.z.optional(zod_1.z.never()),
3187
3034
  });
3188
3035
  /**
3189
3036
  * The transfer request details and status
@@ -3192,7 +3039,7 @@ exports.postServeAssetResponse = exports.transferresponseTransferResponseSchema;
3192
3039
  exports.getSourcesRequest = zod_1.z.object({
3193
3040
  body: zod_1.z.optional(zod_1.z.never()),
3194
3041
  path: zod_1.z.optional(zod_1.z.never()),
3195
- query: zod_1.z.optional(zod_1.z.never())
3042
+ query: zod_1.z.optional(zod_1.z.never()),
3196
3043
  });
3197
3044
  /**
3198
3045
  * The list of ingested source files stored against a users account
@@ -3201,7 +3048,7 @@ exports.getSourcesResponse = exports.sourcelistresponseSourceListResponseSchema;
3201
3048
  exports.postSourceRequest = zod_1.z.object({
3202
3049
  body: exports.sourceSourceSchema,
3203
3050
  path: zod_1.z.optional(zod_1.z.never()),
3204
- query: zod_1.z.optional(zod_1.z.never())
3051
+ query: zod_1.z.optional(zod_1.z.never()),
3205
3052
  });
3206
3053
  /**
3207
3054
  * The queued source file details
@@ -3210,9 +3057,11 @@ exports.postSourceResponse = exports.queuedsourceresponseQueuedSourceResponseSch
3210
3057
  exports.deleteSourceRequest = zod_1.z.object({
3211
3058
  body: zod_1.z.optional(zod_1.z.never()),
3212
3059
  path: zod_1.z.object({
3213
- 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}$/),
3214
3063
  }),
3215
- query: zod_1.z.optional(zod_1.z.never())
3064
+ query: zod_1.z.optional(zod_1.z.never()),
3216
3065
  });
3217
3066
  /**
3218
3067
  * An empty response signifying the ingested source file has been deleted.
@@ -3221,9 +3070,11 @@ exports.deleteSourceResponse = zod_1.z.void();
3221
3070
  exports.getSourceRequest = zod_1.z.object({
3222
3071
  body: zod_1.z.optional(zod_1.z.never()),
3223
3072
  path: zod_1.z.object({
3224
- 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}$/),
3225
3076
  }),
3226
- query: zod_1.z.optional(zod_1.z.never())
3077
+ query: zod_1.z.optional(zod_1.z.never()),
3227
3078
  });
3228
3079
  /**
3229
3080
  * Get source file details by id
@@ -3232,7 +3083,7 @@ exports.getSourceResponse = exports.sourceresponseSourceResponseSchema;
3232
3083
  exports.getUploadSignedUrlRequest = zod_1.z.object({
3233
3084
  body: zod_1.z.optional(zod_1.z.never()),
3234
3085
  path: zod_1.z.optional(zod_1.z.never()),
3235
- query: zod_1.z.optional(zod_1.z.never())
3086
+ query: zod_1.z.optional(zod_1.z.never()),
3236
3087
  });
3237
3088
  /**
3238
3089
  * The id and signed URL to upload to.
@@ -3241,7 +3092,7 @@ exports.getUploadSignedUrlResponse = exports.uploadresponseUploadResponseSchema;
3241
3092
  exports.postGenerateAssetRequest = zod_1.z.object({
3242
3093
  body: exports.generatedAssetGeneratedAssetSchema,
3243
3094
  path: zod_1.z.optional(zod_1.z.never()),
3244
- query: zod_1.z.optional(zod_1.z.never())
3095
+ query: zod_1.z.optional(zod_1.z.never()),
3245
3096
  });
3246
3097
  /**
3247
3098
  * The generated asset details
@@ -3250,9 +3101,11 @@ exports.postGenerateAssetResponse = exports.generatedAssetResponseGeneratedAsset
3250
3101
  exports.getGeneratedAssetRequest = zod_1.z.object({
3251
3102
  body: zod_1.z.optional(zod_1.z.never()),
3252
3103
  path: zod_1.z.object({
3253
- 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}$/),
3254
3107
  }),
3255
- query: zod_1.z.optional(zod_1.z.never())
3108
+ query: zod_1.z.optional(zod_1.z.never()),
3256
3109
  });
3257
3110
  /**
3258
3111
  * The generated asset details