@shotstack/schemas 1.6.0 → 1.7.0

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