@shotstack/shotstack-studio 2.0.0-beta.35 → 2.0.0-beta.36

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.
@@ -29,7 +29,7 @@ const K = r.object({
29
29
  if (!(e === "" || e === null || e === void 0))
30
30
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
31
31
  }, r.number().int()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
32
- }), M = r.object({
32
+ }).strict(), M = r.object({
33
33
  family: r.optional(r.string()),
34
34
  color: r.optional(r.string()),
35
35
  opacity: r.optional(r.union([r.preprocess((e) => {
@@ -49,7 +49,7 @@ const K = r.object({
49
49
  if (!(e === "" || e === null || e === void 0))
50
50
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
51
51
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
52
- }), W = r.object({
52
+ }).strict(), W = r.object({
53
53
  top: r.optional(r.union([r.preprocess((e) => {
54
54
  if (!(e === "" || e === null || e === void 0))
55
55
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -62,7 +62,7 @@ const K = r.object({
62
62
  if (!(e === "" || e === null || e === void 0))
63
63
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
64
64
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
65
- }), g = r.object({
65
+ }).strict(), g = r.object({
66
66
  type: r.enum(["caption"]),
67
67
  src: r.string().min(1).regex(/\S/),
68
68
  font: r.optional(M),
@@ -76,7 +76,7 @@ const K = r.object({
76
76
  if (!(e === "" || e === null || e === void 0))
77
77
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
78
78
  }, r.number().gte(0).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
79
- }), vr = g, Q = r.object({
79
+ }).strict(), st = g, Q = r.object({
80
80
  color: r.union([r.string().regex(/^#[0-9a-fA-F]{6}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
81
81
  threshold: r.optional(r.union([r.preprocess((e) => {
82
82
  if (!(e === "" || e === null || e === void 0))
@@ -86,17 +86,17 @@ const K = r.object({
86
86
  if (!(e === "" || e === null || e === void 0))
87
87
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
88
88
  }, r.number().int().gte(0).lte(250)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
89
- }), X = r.object({
89
+ }).strict(), X = r.object({
90
90
  type: r.enum(["text-to-avatar"]),
91
91
  text: r.string(),
92
92
  avatar: r.enum(["jack", "lana", "lily", "matt", "rian"]),
93
93
  background: r.optional(r.string())
94
- }), Y = r.object({
94
+ }).strict(), Y = r.object({
95
95
  type: r.literal("didTextToAvatarOptions_DIDTextToAvatarOptions")
96
96
  }).and(X), v = r.object({
97
97
  provider: r.enum(["d-id"]),
98
98
  options: Y
99
- }), ee = r.object({
99
+ }).strict(), ee = r.object({
100
100
  type: r.enum(["text-to-speech"]),
101
101
  text: r.string(),
102
102
  voice: r.enum([
@@ -110,12 +110,12 @@ const K = r.object({
110
110
  "Rachel",
111
111
  "Sam"
112
112
  ])
113
- }), re = r.object({
113
+ }).strict(), re = r.object({
114
114
  type: r.literal("elevenlabsTextToSpeechOptions_ElevenLabsTextToSpeechOptions")
115
115
  }).and(ee), te = r.object({
116
116
  provider: r.enum(["elevenlabs"]),
117
117
  options: re
118
- }), ne = r.object({
118
+ }).strict(), ne = r.object({
119
119
  type: r.enum(["text-to-avatar"]),
120
120
  text: r.string(),
121
121
  avatar: r.enum([
@@ -235,29 +235,29 @@ const K = r.object({
235
235
  background: r.optional(r.string()),
236
236
  ratio: r.optional(r.enum(["16:9", "9:16"])),
237
237
  test: r.optional(r.boolean())
238
- }), ie = r.object({
238
+ }).strict(), ie = r.object({
239
239
  type: r.literal("heygenTextToAvatarOptions_HeyGenTextToAvatarOptions")
240
240
  }).and(ne), se = r.object({
241
241
  provider: r.enum(["heygen"]),
242
242
  options: ie
243
- }), oe = r.object({
243
+ }).strict(), oe = r.object({
244
244
  type: r.enum(["text-generator"]),
245
245
  prompt: r.string(),
246
246
  model: r.enum(["gpt-3.5-turbo", "gpt-4"]),
247
247
  systemPrompt: r.optional(r.string())
248
- }), ae = r.object({
248
+ }).strict(), ae = r.object({
249
249
  type: r.literal("openaiTextGeneratorOptions_OpenAiTextGeneratorOptions")
250
250
  }).and(oe), ue = r.object({
251
251
  provider: r.enum(["openai"]),
252
252
  options: ae
253
- }), fe = r.object({
253
+ }).strict(), fe = r.object({
254
254
  status: r.string(),
255
255
  title: r.string(),
256
256
  detail: r.string()
257
- });
257
+ }).strict();
258
258
  r.object({
259
259
  errors: r.array(fe)
260
- });
260
+ }).strict();
261
261
  const le = r.object({
262
262
  owner: r.string(),
263
263
  provider: r.enum(["shotstack", "elevenlabs", "heygen", "d-id"]),
@@ -266,15 +266,15 @@ const le = r.object({
266
266
  status: r.enum(["queued", "processing", "saving", "done", "failed"]),
267
267
  created: r.string(),
268
268
  updated: r.string()
269
- }), pe = r.object({
269
+ }).strict(), pe = r.object({
270
270
  type: r.string(),
271
271
  id: r.string(),
272
272
  attributes: le
273
- });
273
+ }).strict();
274
274
  r.object({
275
275
  data: pe
276
- });
277
- const de = r.object({
276
+ }).strict();
277
+ const ce = r.object({
278
278
  type: r.enum(["image-to-video"]),
279
279
  imageUrl: r.string(),
280
280
  guidanceScale: r.optional(r.union([r.preprocess((e) => {
@@ -285,10 +285,10 @@ const de = r.object({
285
285
  if (!(e === "" || e === null || e === void 0))
286
286
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
287
287
  }, r.number().int()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(127)
288
- }), ce = r.object({
288
+ }).strict(), de = r.object({
289
289
  type: r.enum(["text-generator"]),
290
290
  prompt: r.string()
291
- }), ge = r.object({
291
+ }).strict(), ge = r.object({
292
292
  type: r.enum(["text-to-image"]),
293
293
  prompt: r.string(),
294
294
  width: r.union([r.preprocess((e) => {
@@ -299,7 +299,7 @@ const de = r.object({
299
299
  if (!(e === "" || e === null || e === void 0))
300
300
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
301
301
  }, r.number().int()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
302
- }), me = r.object({
302
+ }).strict(), me = r.object({
303
303
  type: r.enum(["text-to-speech"]),
304
304
  text: r.string(),
305
305
  voice: r.enum([
@@ -393,7 +393,7 @@ const de = r.object({
393
393
  "fi-FI"
394
394
  ])),
395
395
  newscaster: r.optional(r.boolean()).default(!1)
396
- }), Ae = r.union([
396
+ }).strict(), Ae = r.union([
397
397
  r.object({
398
398
  type: r.literal("shotstackTextToSpeechOptions_ShotstackTextToSpeechOptions")
399
399
  }).and(me),
@@ -402,14 +402,14 @@ const de = r.object({
402
402
  }).and(ge),
403
403
  r.object({
404
404
  type: r.literal("shotstackTextGeneratorOptions_ShotstackTextGeneratorOptions")
405
- }).and(ce),
405
+ }).and(de),
406
406
  r.object({
407
407
  type: r.literal("shotstackImageToVideoOptions_ShotstackImageToVideoOptions")
408
- }).and(de)
408
+ }).and(ce)
409
409
  ]), ye = r.object({
410
410
  provider: r.enum(["shotstack"]),
411
411
  options: Ae
412
- }), be = r.object({
412
+ }).strict(), be = r.object({
413
413
  type: r.enum(["text-to-image"]),
414
414
  prompt: r.string(),
415
415
  engine: r.optional(r.enum([
@@ -458,12 +458,12 @@ const de = r.object({
458
458
  "pixel-art",
459
459
  "tile-texture"
460
460
  ]))
461
- }), he = r.object({
461
+ }).strict(), he = r.object({
462
462
  type: r.literal("stabilityAiTextToImageOptions_StabilityAiTextToImageOptions")
463
463
  }).and(be), ze = r.object({
464
464
  provider: r.enum(["stability-ai"]),
465
465
  options: he
466
- }), $e = r.union([
466
+ }).strict(), $e = r.union([
467
467
  r.object({
468
468
  provider: r.literal("shotstackGeneratedAsset_ShotstackGeneratedAsset")
469
469
  }).and(ye),
@@ -499,61 +499,61 @@ const de = r.object({
499
499
  if (!(e === "" || e === null || e === void 0))
500
500
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
501
501
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
502
- }), et = i, Ze = r.object({
502
+ }).strict(), ot = i, Ze = r.object({
503
503
  bucket: r.string(),
504
504
  prefix: r.optional(r.string()),
505
505
  filename: r.optional(r.string())
506
- }), _e = r.object({
506
+ }).strict(), _e = r.object({
507
507
  provider: r.literal("google-cloud-storage"),
508
508
  options: r.optional(Ze)
509
- }), Se = r.object({
509
+ }).strict(), Se = r.object({
510
510
  folderId: r.string(),
511
511
  filename: r.optional(r.string())
512
- }), xe = r.object({
512
+ }).strict(), xe = r.object({
513
513
  provider: r.literal("google-drive"),
514
514
  options: Se
515
- }), Ne = r.object({
515
+ }).strict(), Ne = r.object({
516
516
  playbackPolicy: r.optional(r.array(r.enum(["public", "signed"]))),
517
517
  passthrough: r.optional(r.string().max(255))
518
- }), je = r.object({
518
+ }).strict(), je = r.object({
519
519
  provider: r.literal("mux"),
520
520
  options: r.optional(Ne)
521
- }), we = r.object({
521
+ }).strict(), we = r.object({
522
522
  region: r.string(),
523
523
  bucket: r.string(),
524
524
  prefix: r.optional(r.string()),
525
525
  filename: r.optional(r.string()),
526
526
  acl: r.optional(r.string())
527
- }), Te = r.object({
527
+ }).strict(), Te = r.object({
528
528
  provider: r.literal("s3"),
529
529
  options: r.optional(we)
530
- }), ke = r.object({
530
+ }).strict(), ke = r.object({
531
531
  provider: r.literal("shotstack"),
532
532
  exclude: r.optional(r.boolean())
533
- }), Fe = r.object({
533
+ }).strict(), Fe = r.object({
534
534
  title: r.optional(r.string().max(150)),
535
535
  privacyLevel: r.optional(r.enum(["public", "friends", "private"])),
536
536
  disableDuet: r.optional(r.boolean()).default(!1),
537
537
  disableStitch: r.optional(r.boolean()).default(!1),
538
538
  disableComment: r.optional(r.boolean()).default(!1)
539
- }), Re = r.object({
539
+ }).strict(), Re = r.object({
540
540
  provider: r.literal("tiktok"),
541
541
  options: r.optional(Fe)
542
- }), Oe = r.object({
542
+ }).strict(), Oe = r.object({
543
543
  view: r.optional(r.enum(["anybody", "nobody", "contacts", "password", "unlisted"])),
544
544
  embed: r.optional(r.enum(["public", "private", "whitelist"])),
545
545
  comments: r.optional(r.enum(["anybody", "nobody", "contacts"])),
546
546
  download: r.optional(r.boolean()),
547
547
  add: r.optional(r.boolean())
548
- }), De = r.object({
548
+ }).strict(), De = r.object({
549
549
  name: r.optional(r.string()),
550
550
  description: r.optional(r.string()),
551
551
  privacy: r.optional(Oe),
552
552
  folderUri: r.optional(r.string())
553
- }), Le = r.object({
553
+ }).strict(), Le = r.object({
554
554
  provider: r.literal("vimeo"),
555
555
  options: r.optional(De)
556
- }), a = r.discriminatedUnion("provider", [
556
+ }).strict(), a = r.discriminatedUnion("provider", [
557
557
  ke,
558
558
  je,
559
559
  Te,
@@ -564,9 +564,9 @@ const de = r.object({
564
564
  ]), Ie = a, Ge = r.object({
565
565
  horizontal: r.optional(r.boolean()),
566
566
  vertical: r.optional(r.boolean())
567
- }), Ce = r.object({
567
+ }).strict(), Ce = r.object({
568
568
  src: r.string()
569
- }), m = r.object({
569
+ }).strict(), m = r.object({
570
570
  type: r.enum(["html"]),
571
571
  html: r.string(),
572
572
  css: r.optional(r.string()),
@@ -590,11 +590,11 @@ const de = r.object({
590
590
  "topLeft",
591
591
  "center"
592
592
  ]))
593
- }), rt = m, A = r.object({
593
+ }).strict(), at = m, A = r.object({
594
594
  type: r.enum(["image"]),
595
595
  src: r.string().min(1).regex(/\S/),
596
596
  crop: r.optional(i)
597
- }), tt = A, y = r.object({
597
+ }).strict(), ut = A, y = r.object({
598
598
  type: r.enum(["image-to-video"]),
599
599
  src: r.string().min(1),
600
600
  prompt: r.optional(r.string()),
@@ -604,7 +604,7 @@ const de = r.object({
604
604
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
605
605
  }, r.number().gte(0).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
606
606
  crop: r.optional(i)
607
- }), nt = y, Be = r.object({
607
+ }).strict(), ft = y, Be = r.object({
608
608
  preset: r.enum([
609
609
  "conference",
610
610
  "interview",
@@ -616,64 +616,64 @@ const de = r.object({
616
616
  "studio",
617
617
  "voice_over"
618
618
  ])
619
- }), Ee = r.object({
619
+ }).strict(), Ee = r.object({
620
620
  provider: r.string().default("dolby"),
621
621
  options: Be
622
- }), qe = r.object({
622
+ }).strict(), qe = r.object({
623
623
  enhancement: r.literal("dolbyEnhancement_DolbyEnhancement")
624
624
  }).and(Ee), Pe = r.object({
625
625
  audio: r.optional(qe)
626
- }), Ue = r.object({
626
+ }).strict(), Ue = r.object({
627
627
  status: r.string(),
628
628
  title: r.string(),
629
629
  detail: r.string()
630
- });
630
+ }).strict();
631
631
  r.object({
632
632
  errors: r.array(Ue)
633
- });
633
+ }).strict();
634
634
  const Je = r.object({
635
635
  type: r.string(),
636
636
  id: r.string()
637
- });
637
+ }).strict();
638
638
  r.object({
639
639
  data: Je
640
- });
640
+ }).strict();
641
641
  const Ve = r.object({
642
642
  id: r.string(),
643
643
  url: r.string(),
644
644
  expires: r.string()
645
- }), He = r.object({
645
+ }).strict(), He = r.object({
646
646
  type: r.string(),
647
647
  id: r.string(),
648
648
  attributes: Ve
649
- });
649
+ }).strict();
650
650
  r.object({
651
651
  data: He
652
- });
652
+ }).strict();
653
653
  const Ke = r.object({
654
654
  speed: r.optional(r.union([r.preprocess((e) => {
655
655
  if (!(e === "" || e === null || e === void 0))
656
656
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
657
657
  }, r.number().gte(0).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
658
658
  preservePitch: r.optional(r.boolean())
659
- }), Me = r.object({
659
+ }).strict(), Me = r.object({
660
660
  format: r.optional(r.enum(["srt", "vtt"]))
661
- }), b = r.object({
661
+ }).strict(), b = r.object({
662
662
  type: r.enum(["luma"]),
663
663
  src: r.string().min(1).regex(/\S/),
664
664
  trim: r.optional(r.union([r.preprocess((e) => {
665
665
  if (!(e === "" || e === null || e === void 0))
666
666
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
667
667
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
668
- }), it = b, h = r.object({
668
+ }).strict(), lt = b, h = r.object({
669
669
  find: r.string(),
670
670
  replace: r.union([r.string(), r.number(), r.boolean(), r.null(), r.record(r.string(), r.unknown()), r.array(r.unknown())])
671
- }), We = r.object({
671
+ }).strict(), We = r.object({
672
672
  capture: r.union([r.preprocess((e) => {
673
673
  if (!(e === "" || e === null || e === void 0))
674
674
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
675
675
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
676
- }), Qe = r.object({
676
+ }).strict(), Qe = r.object({
677
677
  start: r.optional(r.union([r.preprocess((e) => {
678
678
  if (!(e === "" || e === null || e === void 0))
679
679
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -682,7 +682,7 @@ const Ke = r.object({
682
682
  if (!(e === "" || e === null || e === void 0))
683
683
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
684
684
  }, r.number().gte(0)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
685
- }), Xe = r.object({
685
+ }).strict(), Xe = r.object({
686
686
  id: r.string(),
687
687
  owner: r.string(),
688
688
  region: r.optional(r.string()),
@@ -693,53 +693,53 @@ const Ke = r.object({
693
693
  status: r.enum(["importing", "ready", "failed", "deleted"]),
694
694
  created: r.optional(r.string()),
695
695
  updated: r.optional(r.string())
696
- }), z = r.object({
696
+ }).strict(), z = r.object({
697
697
  type: r.string(),
698
698
  attributes: Xe
699
- });
699
+ }).strict();
700
700
  r.object({
701
701
  data: r.array(z)
702
- });
702
+ }).strict();
703
703
  r.object({
704
704
  data: z
705
- });
705
+ }).strict();
706
706
  r.object({
707
707
  success: r.boolean(),
708
708
  message: r.string(),
709
709
  response: r.record(r.string(), r.unknown())
710
- });
710
+ }).strict();
711
711
  const Ye = r.object({
712
712
  message: r.string(),
713
713
  id: r.string()
714
- });
714
+ }).strict();
715
715
  r.object({
716
716
  success: r.boolean(),
717
717
  message: r.string(),
718
718
  response: Ye
719
- });
719
+ }).strict();
720
720
  const ve = r.object({
721
721
  id: r.string(),
722
722
  name: r.string(),
723
723
  created: r.optional(r.string()),
724
724
  updated: r.optional(r.string())
725
- }), er = r.object({
725
+ }).strict(), er = r.object({
726
726
  owner: r.string(),
727
727
  templates: r.array(ve)
728
- });
728
+ }).strict();
729
729
  r.object({
730
730
  success: r.boolean(),
731
731
  message: r.string(),
732
732
  response: er
733
- });
733
+ }).strict();
734
734
  const rr = r.object({
735
735
  message: r.string(),
736
736
  id: r.string()
737
- });
737
+ }).strict();
738
738
  r.object({
739
739
  success: r.boolean(),
740
740
  message: r.string(),
741
741
  response: rr
742
- });
742
+ }).strict();
743
743
  const tr = r.object({
744
744
  color: r.optional(r.union([r.string().regex(/^#[A-Fa-f0-9]{6}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#ffff00"),
745
745
  background: r.optional(r.union([r.string().regex(/^#[A-Fa-f0-9]{6}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
@@ -747,7 +747,7 @@ const tr = r.object({
747
747
  if (!(e === "" || e === null || e === void 0))
748
748
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
749
749
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1)
750
- }), nr = r.object({
750
+ }).strict(), nr = r.object({
751
751
  style: r.enum([
752
752
  "karaoke",
753
753
  "highlight",
@@ -763,7 +763,7 @@ const tr = r.object({
763
763
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
764
764
  }, r.number().gte(0.5).lte(2)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
765
765
  direction: r.optional(r.enum(["left", "right", "up", "down"]))
766
- }), ir = r.object({
766
+ }).strict(), ir = r.object({
767
767
  text: r.string().min(1),
768
768
  start: r.union([r.preprocess((e) => {
769
769
  if (!(e === "" || e === null || e === void 0))
@@ -777,10 +777,10 @@ const tr = r.object({
777
777
  if (!(e === "" || e === null || e === void 0))
778
778
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
779
779
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
780
- }), $ = r.object({
780
+ }).strict(), $ = r.object({
781
781
  horizontal: r.optional(r.enum(["left", "center", "right"])),
782
782
  vertical: r.optional(r.enum(["top", "middle", "bottom"]))
783
- }), sr = r.object({
783
+ }).strict(), sr = r.object({
784
784
  preset: r.enum([
785
785
  "fadeIn",
786
786
  "slideIn",
@@ -795,7 +795,7 @@ const tr = r.object({
795
795
  }, r.number().gte(0.1).lte(30)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
796
796
  style: r.optional(r.enum(["character", "word"])),
797
797
  direction: r.optional(r.enum(["left", "right", "up", "down"]))
798
- }), Z = r.object({
798
+ }).strict(), Z = r.object({
799
799
  color: r.optional(r.union([r.string().regex(/^#[A-Fa-f0-9]{6}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
800
800
  opacity: r.optional(r.union([r.preprocess((e) => {
801
801
  if (!(e === "" || e === null || e === void 0))
@@ -805,7 +805,7 @@ const tr = r.object({
805
805
  if (!(e === "" || e === null || e === void 0))
806
806
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
807
807
  }, r.number().gte(0)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
808
- }), or = r.object({
808
+ }).strict(), or = r.object({
809
809
  width: r.optional(r.union([r.preprocess((e) => {
810
810
  if (!(e === "" || e === null || e === void 0))
811
811
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -819,7 +819,7 @@ const tr = r.object({
819
819
  if (!(e === "" || e === null || e === void 0))
820
820
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
821
821
  }, r.number().gte(0)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
822
- }), ar = r.object({
822
+ }).strict(), ar = r.object({
823
823
  type: r.optional(r.enum(["linear", "radial"])),
824
824
  angle: r.optional(r.union([r.preprocess((e) => {
825
825
  if (!(e === "" || e === null || e === void 0))
@@ -832,7 +832,7 @@ const tr = r.object({
832
832
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
833
833
  color: r.union([r.string().regex(/^#[A-Fa-f0-9]{6}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
834
834
  })).min(2)
835
- }), _ = r.object({
835
+ }).strict(), _ = r.object({
836
836
  top: r.optional(r.union([r.preprocess((e) => {
837
837
  if (!(e === "" || e === null || e === void 0))
838
838
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -849,7 +849,7 @@ const tr = r.object({
849
849
  if (!(e === "" || e === null || e === void 0))
850
850
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
851
851
  }, r.number().gte(0)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
852
- }), S = r.object({
852
+ }).strict(), S = r.object({
853
853
  offsetX: r.optional(r.union([r.preprocess((e) => {
854
854
  if (!(e === "" || e === null || e === void 0))
855
855
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -867,7 +867,7 @@ const tr = r.object({
867
867
  if (!(e === "" || e === null || e === void 0))
868
868
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
869
869
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5)
870
- }), u = r.object({
870
+ }).strict(), u = r.object({
871
871
  width: r.optional(r.union([r.preprocess((e) => {
872
872
  if (!(e === "" || e === null || e === void 0))
873
873
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -877,14 +877,14 @@ const tr = r.object({
877
877
  if (!(e === "" || e === null || e === void 0))
878
878
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
879
879
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1)
880
- }), ur = r.object({
880
+ }).strict(), ur = r.object({
881
881
  font: r.optional(tr),
882
882
  stroke: r.optional(u),
883
883
  scale: r.optional(r.union([r.preprocess((e) => {
884
884
  if (!(e === "" || e === null || e === void 0))
885
885
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
886
886
  }, r.number().gte(0.5).lte(2)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1)
887
- }), x = r.object({
887
+ }).strict(), x = r.object({
888
888
  family: r.optional(r.string()).default("Open Sans"),
889
889
  size: r.optional(r.union([r.preprocess((e) => {
890
890
  if (!(e === "" || e === null || e === void 0))
@@ -898,7 +898,7 @@ const tr = r.object({
898
898
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
899
899
  background: r.optional(r.union([r.string().regex(/^#[A-Fa-f0-9]{6}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
900
900
  stroke: r.optional(u)
901
- }), N = r.object({
901
+ }).strict(), N = r.object({
902
902
  letterSpacing: r.optional(r.union([r.preprocess((e) => {
903
903
  if (!(e === "" || e === null || e === void 0))
904
904
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -914,7 +914,7 @@ const tr = r.object({
914
914
  textTransform: r.optional(r.enum(["none", "uppercase", "lowercase", "capitalize"])),
915
915
  textDecoration: r.optional(r.enum(["none", "underline", "line-through"])),
916
916
  gradient: r.optional(ar)
917
- }), fr = r.object({
917
+ }).strict(), fr = r.object({
918
918
  type: r.enum(["rich-caption"]),
919
919
  src: r.optional(r.string().min(1)),
920
920
  words: r.optional(r.array(ir).max(1e5)),
@@ -939,7 +939,7 @@ const tr = r.object({
939
939
  if (!(e === "" || e === null || e === void 0))
940
940
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
941
941
  }, r.number().int().gte(1).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(2)
942
- }), j = r.object({
942
+ }).strict(), j = r.object({
943
943
  type: r.enum(["rich-text"]),
944
944
  text: r.string().max(5e3),
945
945
  font: r.optional(x),
@@ -954,23 +954,23 @@ const tr = r.object({
954
954
  }, r.number().gte(0)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), _])),
955
955
  align: r.optional($),
956
956
  animation: r.optional(sr)
957
- }), st = j, lr = r.object({
957
+ }).strict(), pt = j, lr = r.object({
958
958
  id: r.optional(r.string()),
959
959
  owner: r.optional(r.string()),
960
960
  status: r.optional(r.enum(["queued", "failed"])),
961
961
  created: r.optional(r.string())
962
- }), pr = r.object({
962
+ }).strict(), pr = r.object({
963
963
  type: r.optional(r.string()),
964
964
  attributes: r.optional(lr)
965
- });
965
+ }).strict();
966
966
  r.object({
967
967
  data: pr
968
- });
969
- const dr = r.object({
968
+ }).strict();
969
+ const cr = r.object({
970
970
  url: r.string(),
971
971
  id: r.string(),
972
972
  destinations: r.array(a)
973
- }), w = r.object({
973
+ }).strict(), w = r.object({
974
974
  type: r.enum(["shape"]),
975
975
  shape: r.enum(["rectangle", "circle", "line"]),
976
976
  width: r.optional(r.union([r.preprocess((e) => {
@@ -1025,7 +1025,7 @@ const dr = r.object({
1025
1025
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1026
1026
  }, r.number().int()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1027
1027
  }))
1028
- }), ot = w, d = r.object({
1028
+ }).strict(), ct = w, c = r.object({
1029
1029
  width: r.optional(r.union([r.preprocess((e) => {
1030
1030
  if (!(e === "" || e === null || e === void 0))
1031
1031
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -1034,7 +1034,7 @@ const dr = r.object({
1034
1034
  if (!(e === "" || e === null || e === void 0))
1035
1035
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1036
1036
  }, r.number().int().gte(1).lte(4096)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1037
- }), cr = d, T = r.object({
1037
+ }).strict(), dr = c, T = r.object({
1038
1038
  format: r.optional(r.enum([
1039
1039
  "mp4",
1040
1040
  "webm",
@@ -1052,7 +1052,7 @@ const dr = r.object({
1052
1052
  "webp",
1053
1053
  "tif"
1054
1054
  ])),
1055
- size: r.optional(d),
1055
+ size: r.optional(c),
1056
1056
  fit: r.optional(r.enum(["cover", "contain", "crop"])),
1057
1057
  resolution: r.optional(r.enum(["preview", "mobile", "sd", "hd", "fhd"])),
1058
1058
  quality: r.optional(r.union([r.preprocess((e) => {
@@ -1081,10 +1081,10 @@ const dr = r.object({
1081
1081
  fixRotation: r.optional(r.boolean()),
1082
1082
  enhance: r.optional(Pe),
1083
1083
  filename: r.optional(r.string())
1084
- }), gr = r.object({
1084
+ }).strict(), gr = r.object({
1085
1085
  renditions: r.optional(r.array(T)),
1086
1086
  transcription: r.optional(Me)
1087
- }), mr = r.object({
1087
+ }).strict(), mr = r.object({
1088
1088
  id: r.string(),
1089
1089
  status: r.optional(r.enum([
1090
1090
  "queued",
@@ -1116,9 +1116,9 @@ const dr = r.object({
1116
1116
  if (!(e === "" || e === null || e === void 0))
1117
1117
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1118
1118
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1119
- }), Ar = r.object({
1119
+ }).strict(), Ar = r.object({
1120
1120
  renditions: r.optional(r.array(mr))
1121
- }), yr = r.object({
1121
+ }).strict(), yr = r.object({
1122
1122
  id: r.string(),
1123
1123
  owner: r.string(),
1124
1124
  input: r.optional(r.string()),
@@ -1150,36 +1150,36 @@ const dr = r.object({
1150
1150
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1151
1151
  created: r.optional(r.string()),
1152
1152
  updated: r.optional(r.string())
1153
- }), k = r.object({
1153
+ }).strict(), k = r.object({
1154
1154
  type: r.string(),
1155
1155
  id: r.string(),
1156
1156
  attributes: yr
1157
- });
1157
+ }).strict();
1158
1158
  r.object({
1159
1159
  data: r.array(k)
1160
- });
1160
+ }).strict();
1161
1161
  r.object({
1162
1162
  data: k
1163
- });
1163
+ }).strict();
1164
1164
  const br = r.object({
1165
1165
  url: r.optional(r.string()),
1166
1166
  outputs: r.optional(gr),
1167
1167
  destinations: r.optional(a),
1168
1168
  callback: r.optional(r.string())
1169
- }), hr = r.object({
1169
+ }).strict(), hr = r.object({
1170
1170
  src: r.string().min(1).regex(/\S/),
1171
1171
  effect: r.optional(r.enum(["fadeIn", "fadeOut", "fadeInFadeOut"])),
1172
1172
  volume: r.optional(r.union([r.preprocess((e) => {
1173
1173
  if (!(e === "" || e === null || e === void 0))
1174
1174
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1175
1175
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1176
- }), F = r.object({
1176
+ }).strict(), F = r.object({
1177
1177
  offset: r.union([r.preprocess((e) => {
1178
1178
  if (!(e === "" || e === null || e === void 0))
1179
1179
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1180
1180
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1181
1181
  color: r.union([r.string().regex(/^#[A-Fa-f0-9]{6}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1182
- }), zr = r.object({
1182
+ }).strict(), zr = r.object({
1183
1183
  type: r.enum(["linear"]),
1184
1184
  angle: r.optional(r.union([r.preprocess((e) => {
1185
1185
  if (!(e === "" || e === null || e === void 0))
@@ -1190,14 +1190,14 @@ const br = r.object({
1190
1190
  if (!(e === "" || e === null || e === void 0))
1191
1191
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1192
1192
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1)
1193
- }), $r = r.object({
1193
+ }).strict(), $r = r.object({
1194
1194
  type: r.enum(["radial"]),
1195
1195
  stops: r.array(F).min(2),
1196
1196
  opacity: r.optional(r.union([r.preprocess((e) => {
1197
1197
  if (!(e === "" || e === null || e === void 0))
1198
1198
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1199
1199
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1)
1200
- }), Zr = r.object({
1200
+ }).strict(), Zr = r.object({
1201
1201
  offsetX: r.optional(r.union([r.preprocess((e) => {
1202
1202
  if (!(e === "" || e === null || e === void 0))
1203
1203
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -1215,14 +1215,14 @@ const br = r.object({
1215
1215
  if (!(e === "" || e === null || e === void 0))
1216
1216
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1217
1217
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5)
1218
- }), _r = r.object({
1218
+ }).strict(), _r = r.object({
1219
1219
  type: r.enum(["solid"]),
1220
1220
  color: r.string().regex(/^#[A-Fa-f0-9]{6}$/).default("#000000"),
1221
1221
  opacity: r.optional(r.union([r.preprocess((e) => {
1222
1222
  if (!(e === "" || e === null || e === void 0))
1223
1223
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1224
1224
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1)
1225
- }), Sr = r.discriminatedUnion("type", [
1225
+ }).strict(), Sr = r.discriminatedUnion("type", [
1226
1226
  _r,
1227
1227
  zr,
1228
1228
  $r
@@ -1246,7 +1246,7 @@ const br = r.object({
1246
1246
  if (!(e === "" || e === null || e === void 0))
1247
1247
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1248
1248
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
1249
- }), Nr = r.object({
1249
+ }).strict(), Nr = r.object({
1250
1250
  x: r.optional(r.union([r.preprocess((e) => {
1251
1251
  if (!(e === "" || e === null || e === void 0))
1252
1252
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -1271,7 +1271,7 @@ const br = r.object({
1271
1271
  if (!(e === "" || e === null || e === void 0))
1272
1272
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1273
1273
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5)
1274
- }), jr = r.object({
1274
+ }).strict(), jr = r.object({
1275
1275
  type: r.enum(["arrow"]),
1276
1276
  length: r.union([r.preprocess((e) => {
1277
1277
  if (!(e === "" || e === null || e === void 0))
@@ -1289,13 +1289,13 @@ const br = r.object({
1289
1289
  if (!(e === "" || e === null || e === void 0))
1290
1290
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1291
1291
  }, r.number().gte(1).lte(1e3)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1292
- }), wr = r.object({
1292
+ }).strict(), wr = r.object({
1293
1293
  type: r.enum(["circle"]),
1294
1294
  radius: r.union([r.preprocess((e) => {
1295
1295
  if (!(e === "" || e === null || e === void 0))
1296
1296
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1297
1297
  }, r.number().gte(1).lte(2048)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1298
- }), Tr = r.object({
1298
+ }).strict(), Tr = r.object({
1299
1299
  type: r.enum(["cross"]),
1300
1300
  width: r.union([r.preprocess((e) => {
1301
1301
  if (!(e === "" || e === null || e === void 0))
@@ -1309,7 +1309,7 @@ const br = r.object({
1309
1309
  if (!(e === "" || e === null || e === void 0))
1310
1310
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1311
1311
  }, r.number().gte(1).lte(500)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1312
- }), kr = r.object({
1312
+ }).strict(), kr = r.object({
1313
1313
  type: r.enum(["ellipse"]),
1314
1314
  radiusX: r.union([r.preprocess((e) => {
1315
1315
  if (!(e === "" || e === null || e === void 0))
@@ -1319,13 +1319,13 @@ const br = r.object({
1319
1319
  if (!(e === "" || e === null || e === void 0))
1320
1320
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1321
1321
  }, r.number().gte(1).lte(2048)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1322
- }), Fr = r.object({
1322
+ }).strict(), Fr = r.object({
1323
1323
  type: r.enum(["heart"]),
1324
1324
  size: r.union([r.preprocess((e) => {
1325
1325
  if (!(e === "" || e === null || e === void 0))
1326
1326
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1327
1327
  }, r.number().gte(1).lte(4096)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1328
- }), Rr = r.object({
1328
+ }).strict(), Rr = r.object({
1329
1329
  type: r.enum(["line"]),
1330
1330
  length: r.union([r.preprocess((e) => {
1331
1331
  if (!(e === "" || e === null || e === void 0))
@@ -1335,10 +1335,10 @@ const br = r.object({
1335
1335
  if (!(e === "" || e === null || e === void 0))
1336
1336
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1337
1337
  }, r.number().gte(1).lte(500)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1338
- }), Or = r.object({
1338
+ }).strict(), Or = r.object({
1339
1339
  type: r.enum(["path"]),
1340
1340
  d: r.string().min(1).max(1e5)
1341
- }), Dr = r.object({
1341
+ }).strict(), Dr = r.object({
1342
1342
  type: r.enum(["polygon"]),
1343
1343
  sides: r.union([r.preprocess((e) => {
1344
1344
  if (!(e === "" || e === null || e === void 0))
@@ -1348,7 +1348,7 @@ const br = r.object({
1348
1348
  if (!(e === "" || e === null || e === void 0))
1349
1349
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1350
1350
  }, r.number().gte(1).lte(2048)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1351
- }), Lr = r.object({
1351
+ }).strict(), Lr = r.object({
1352
1352
  type: r.enum(["rectangle"]),
1353
1353
  width: r.union([r.preprocess((e) => {
1354
1354
  if (!(e === "" || e === null || e === void 0))
@@ -1362,7 +1362,7 @@ const br = r.object({
1362
1362
  if (!(e === "" || e === null || e === void 0))
1363
1363
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1364
1364
  }, r.number().gte(0).lte(2048)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
1365
- }), Ir = r.object({
1365
+ }).strict(), Ir = r.object({
1366
1366
  type: r.enum(["ring"]),
1367
1367
  outerRadius: r.union([r.preprocess((e) => {
1368
1368
  if (!(e === "" || e === null || e === void 0))
@@ -1372,7 +1372,7 @@ const br = r.object({
1372
1372
  if (!(e === "" || e === null || e === void 0))
1373
1373
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1374
1374
  }, r.number().gte(0).lte(2048)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1375
- }), Gr = r.object({
1375
+ }).strict(), Gr = r.object({
1376
1376
  type: r.enum(["star"]),
1377
1377
  points: r.union([r.preprocess((e) => {
1378
1378
  if (!(e === "" || e === null || e === void 0))
@@ -1386,7 +1386,7 @@ const br = r.object({
1386
1386
  if (!(e === "" || e === null || e === void 0))
1387
1387
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1388
1388
  }, r.number().gte(1).lte(2048)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1389
- }), Cr = r.discriminatedUnion("type", [
1389
+ }).strict(), Cr = r.discriminatedUnion("type", [
1390
1390
  Lr,
1391
1391
  wr,
1392
1392
  kr,
@@ -1418,7 +1418,7 @@ const br = r.object({
1418
1418
  if (!(e === "" || e === null || e === void 0))
1419
1419
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1420
1420
  }, r.number().int().gte(1).lte(4096)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1421
- }).superRefine((e, o) => {
1421
+ }).strict().superRefine((e, o) => {
1422
1422
  const l = e.shape !== void 0, n = e.src !== void 0 && e.src.trim() !== "";
1423
1423
  if (!l && !n && o.addIssue({
1424
1424
  code: r.ZodIssueCode.custom,
@@ -1437,19 +1437,19 @@ const br = r.object({
1437
1437
  path: [p]
1438
1438
  });
1439
1439
  }
1440
- }), at = R, Br = r.object({
1440
+ }), dt = R, Br = r.object({
1441
1441
  id: r.string(),
1442
1442
  merge: r.optional(r.array(h))
1443
- }), Er = r.object({
1443
+ }).strict(), Er = r.object({
1444
1444
  horizontal: r.optional(r.enum(["left", "center", "right"])),
1445
1445
  vertical: r.optional(r.enum(["top", "center", "bottom"]))
1446
- }), qr = r.object({
1446
+ }).strict(), qr = r.object({
1447
1447
  preset: r.enum(["typewriter"]),
1448
1448
  duration: r.optional(r.union([r.preprocess((e) => {
1449
1449
  if (!(e === "" || e === null || e === void 0))
1450
1450
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1451
1451
  }, r.number().gte(0.1).lte(30)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1452
- }), Pr = r.object({
1452
+ }).strict(), Pr = r.object({
1453
1453
  color: r.optional(r.union([r.string().regex(/^#[A-Fa-f0-9]{6}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1454
1454
  opacity: r.optional(r.union([r.preprocess((e) => {
1455
1455
  if (!(e === "" || e === null || e === void 0))
@@ -1463,7 +1463,7 @@ const br = r.object({
1463
1463
  if (!(e === "" || e === null || e === void 0))
1464
1464
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1465
1465
  }, r.number().gte(0)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1466
- }), Ur = r.object({
1466
+ }).strict(), Ur = r.object({
1467
1467
  family: r.optional(r.string()),
1468
1468
  color: r.optional(r.string()),
1469
1469
  opacity: r.optional(r.union([r.preprocess((e) => {
@@ -1482,13 +1482,13 @@ const br = r.object({
1482
1482
  if (!(e === "" || e === null || e === void 0))
1483
1483
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1484
1484
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1485
- }), Jr = r.object({
1485
+ }).strict(), Jr = r.object({
1486
1486
  width: r.optional(r.union([r.preprocess((e) => {
1487
1487
  if (!(e === "" || e === null || e === void 0))
1488
1488
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1489
1489
  }, r.number().gte(0).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1490
1490
  color: r.optional(r.union([r.string().regex(/^#[A-Fa-f0-9]{6}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1491
- }), O = r.object({
1491
+ }).strict(), O = r.object({
1492
1492
  type: r.enum(["text"]),
1493
1493
  text: r.string(),
1494
1494
  width: r.optional(r.union([r.preprocess((e) => {
@@ -1505,7 +1505,7 @@ const br = r.object({
1505
1505
  stroke: r.optional(Jr),
1506
1506
  animation: r.optional(qr),
1507
1507
  ellipsis: r.optional(r.string())
1508
- }), ut = O, D = r.object({
1508
+ }).strict(), gt = O, D = r.object({
1509
1509
  type: r.enum(["text-to-image"]),
1510
1510
  prompt: r.string(),
1511
1511
  width: r.optional(r.union([r.preprocess((e) => {
@@ -1517,7 +1517,7 @@ const br = r.object({
1517
1517
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1518
1518
  }, r.number().int()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1519
1519
  crop: r.optional(i)
1520
- }), ft = D, Vr = r.object({
1520
+ }).strict(), mt = D, Vr = r.object({
1521
1521
  capture: r.union([r.preprocess((e) => {
1522
1522
  if (!(e === "" || e === null || e === void 0))
1523
1523
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -1526,11 +1526,11 @@ const br = r.object({
1526
1526
  if (!(e === "" || e === null || e === void 0))
1527
1527
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1528
1528
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1529
- }), L = r.object({
1529
+ }).strict(), L = r.object({
1530
1530
  format: r.enum(["mp4", "gif", "mp3", "jpg", "png", "bmp"]),
1531
1531
  resolution: r.optional(r.enum(["preview", "mobile", "sd", "hd", "1080", "4k"])),
1532
1532
  aspectRatio: r.optional(r.enum(["16:9", "9:16", "1:1", "4:5", "4:3"])),
1533
- size: r.optional(d),
1533
+ size: r.optional(c),
1534
1534
  fps: r.optional(r.union([
1535
1535
  r.literal(12),
1536
1536
  r.literal(15),
@@ -1552,7 +1552,7 @@ const br = r.object({
1552
1552
  poster: r.optional(We),
1553
1553
  thumbnail: r.optional(Vr),
1554
1554
  destinations: r.optional(r.array(a))
1555
- }), f = L, I = r.object({
1555
+ }).strict(), f = L, I = r.object({
1556
1556
  in: r.optional(r.enum([
1557
1557
  "none",
1558
1558
  "fade",
@@ -1681,7 +1681,7 @@ const br = r.object({
1681
1681
  "shuffleTopLeftFast",
1682
1682
  "zoom"
1683
1683
  ]))
1684
- }), lt = I, t = r.object({
1684
+ }).strict(), At = I, t = r.object({
1685
1685
  from: r.optional(r.unknown()),
1686
1686
  to: r.optional(r.unknown()),
1687
1687
  start: r.optional(r.union([r.preprocess((e) => {
@@ -1723,7 +1723,7 @@ const br = r.object({
1723
1723
  "easeInOutCirc",
1724
1724
  "easeInOutBack"
1725
1725
  ]))
1726
- }), pt = t, G = r.object({
1726
+ }).strict(), yt = t, G = r.object({
1727
1727
  type: r.enum(["audio"]),
1728
1728
  src: r.string().min(1).regex(/\S/),
1729
1729
  trim: r.optional(r.union([r.preprocess((e) => {
@@ -1739,7 +1739,7 @@ const br = r.object({
1739
1739
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1740
1740
  }, r.number().gte(0).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1741
1741
  effect: r.optional(r.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"]))
1742
- }), dt = G, c = r.object({
1742
+ }).strict(), bt = G, d = r.object({
1743
1743
  x: r.optional(r.union([r.union([r.preprocess((e) => {
1744
1744
  if (!(e === "" || e === null || e === void 0))
1745
1745
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -1748,12 +1748,12 @@ const br = r.object({
1748
1748
  if (!(e === "" || e === null || e === void 0))
1749
1749
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1750
1750
  }, r.number().gte(-10).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), r.array(t)]))
1751
- }), ct = c, Hr = r.object({
1751
+ }).strict(), ht = d, Hr = r.object({
1752
1752
  angle: r.optional(r.union([r.union([r.preprocess((e) => {
1753
1753
  if (!(e === "" || e === null || e === void 0))
1754
1754
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1755
1755
  }, r.number().gte(-360).lte(360)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), r.array(t)]))
1756
- }), Kr = r.object({
1756
+ }).strict(), Kr = r.object({
1757
1757
  x: r.optional(r.union([r.union([r.preprocess((e) => {
1758
1758
  if (!(e === "" || e === null || e === void 0))
1759
1759
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -1762,7 +1762,7 @@ const br = r.object({
1762
1762
  if (!(e === "" || e === null || e === void 0))
1763
1763
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1764
1764
  }, r.number().gte(-100).lte(100)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), r.array(t)]))
1765
- }), C = r.object({
1765
+ }).strict(), C = r.object({
1766
1766
  type: r.enum(["text-to-speech"]),
1767
1767
  text: r.string(),
1768
1768
  voice: r.string(),
@@ -1781,7 +1781,7 @@ const br = r.object({
1781
1781
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1782
1782
  }, r.number().gte(0).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1783
1783
  effect: r.optional(r.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"]))
1784
- }), gt = C, Mr = r.object({
1784
+ }).strict(), zt = C, Mr = r.object({
1785
1785
  type: r.enum(["title"]),
1786
1786
  text: r.string(),
1787
1787
  style: r.optional(r.enum([
@@ -1818,12 +1818,12 @@ const br = r.object({
1818
1818
  "topLeft",
1819
1819
  "center"
1820
1820
  ])),
1821
- offset: r.optional(c)
1822
- }), B = r.object({
1821
+ offset: r.optional(d)
1822
+ }).strict(), B = r.object({
1823
1823
  rotate: r.optional(Hr),
1824
1824
  skew: r.optional(Kr),
1825
1825
  flip: r.optional(Ge)
1826
- }), mt = B, E = r.object({
1826
+ }).strict(), $t = B, E = r.object({
1827
1827
  type: r.enum(["video"]),
1828
1828
  src: r.string().min(1).regex(/\S/),
1829
1829
  transcode: r.optional(r.boolean()),
@@ -1842,7 +1842,7 @@ const br = r.object({
1842
1842
  }, r.number().gte(0).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1843
1843
  crop: r.optional(i),
1844
1844
  chromaKey: r.optional(Q)
1845
- }), At = E, q = r.discriminatedUnion("type", [
1845
+ }).strict(), Zt = E, q = r.discriminatedUnion("type", [
1846
1846
  E,
1847
1847
  A,
1848
1848
  O,
@@ -1858,7 +1858,7 @@ const br = r.object({
1858
1858
  D,
1859
1859
  y,
1860
1860
  C
1861
- ]), yt = q, P = r.object({
1861
+ ]), _t = q, P = r.object({
1862
1862
  asset: q,
1863
1863
  start: r.union([
1864
1864
  r.union([r.preprocess((e) => {
@@ -1898,7 +1898,7 @@ const br = r.object({
1898
1898
  "topLeft",
1899
1899
  "center"
1900
1900
  ])),
1901
- offset: r.optional(c),
1901
+ offset: r.optional(d),
1902
1902
  transition: r.optional(I),
1903
1903
  effect: r.optional(r.enum([
1904
1904
  "zoomIn",
@@ -1937,27 +1937,28 @@ const br = r.object({
1937
1937
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), r.array(t)])),
1938
1938
  transform: r.optional(B),
1939
1939
  alias: r.optional(r.union([r.string().regex(/^[A-Za-z0-9_-]+$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1940
- }), bt = P, Wr = P.transform((e) => {
1940
+ }).strict(), Wr = P, Qr = P.transform((e) => {
1941
1941
  if (e.asset && typeof e.asset == "object" && "type" in e.asset && e.asset.type === "rich-text") {
1942
1942
  const { fit: l, ...n } = e;
1943
1943
  return n;
1944
1944
  }
1945
1945
  return e;
1946
1946
  }), U = r.object({
1947
- clips: r.array(Wr).min(1)
1948
- }), ht = U, J = r.object({
1947
+ clips: r.array(Qr).min(1)
1948
+ }).strict(), Xr = U, J = r.object({
1949
1949
  soundtrack: r.optional(hr),
1950
1950
  background: r.optional(r.string()),
1951
1951
  fonts: r.optional(r.array(Ce)),
1952
1952
  tracks: r.array(U).min(1),
1953
1953
  cache: r.optional(r.boolean())
1954
- }), zt = J, s = r.object({
1954
+ }).strict(), Yr = J, s = r.object({
1955
1955
  timeline: J,
1956
1956
  output: L,
1957
1957
  merge: r.optional(r.array(h)),
1958
1958
  callback: r.optional(r.string()),
1959
- disk: r.optional(r.enum(["local", "mount"]))
1960
- }), $t = s, Qr = r.object({
1959
+ disk: r.optional(r.enum(["local", "mount"])),
1960
+ instance: r.optional(r.enum(["s1", "s2", "a1"]))
1961
+ }).strict(), vr = s, et = r.object({
1961
1962
  id: r.string(),
1962
1963
  owner: r.string(),
1963
1964
  plan: r.optional(r.string()),
@@ -1985,32 +1986,32 @@ const br = r.object({
1985
1986
  data: r.optional(s),
1986
1987
  created: r.optional(r.string()),
1987
1988
  updated: r.optional(r.string())
1988
- });
1989
+ }).strict();
1989
1990
  r.object({
1990
1991
  success: r.boolean(),
1991
1992
  message: r.string(),
1992
- response: Qr
1993
- });
1994
- const Xr = r.object({
1993
+ response: et
1994
+ }).strict();
1995
+ const rt = r.object({
1995
1996
  id: r.string(),
1996
1997
  name: r.string(),
1997
1998
  owner: r.string(),
1998
1999
  template: s
1999
- });
2000
+ }).strict();
2000
2001
  r.object({
2001
2002
  success: r.boolean(),
2002
2003
  message: r.string(),
2003
- response: Xr
2004
- });
2004
+ response: rt
2005
+ }).strict();
2005
2006
  const V = r.object({
2006
2007
  name: r.string(),
2007
2008
  template: r.optional(s)
2008
- });
2009
+ }).strict();
2009
2010
  r.object({
2010
2011
  body: s,
2011
2012
  path: r.optional(r.never()),
2012
2013
  query: r.optional(r.never())
2013
- });
2014
+ }).strict();
2014
2015
  r.object({
2015
2016
  body: r.optional(r.never()),
2016
2017
  path: r.object({
@@ -2020,24 +2021,24 @@ r.object({
2020
2021
  data: r.optional(r.boolean()),
2021
2022
  merged: r.optional(r.boolean())
2022
2023
  }))
2023
- });
2024
+ }).strict();
2024
2025
  r.object({
2025
2026
  body: r.optional(r.never()),
2026
2027
  path: r.optional(r.never()),
2027
2028
  query: r.optional(r.never())
2028
- });
2029
+ }).strict();
2029
2030
  r.object({
2030
2031
  body: V,
2031
2032
  path: r.optional(r.never()),
2032
2033
  query: r.optional(r.never())
2033
- });
2034
+ }).strict();
2034
2035
  r.object({
2035
2036
  body: r.optional(r.never()),
2036
2037
  path: r.object({
2037
2038
  id: r.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}$/)
2038
2039
  }),
2039
2040
  query: r.optional(r.never())
2040
- });
2041
+ }).strict();
2041
2042
  r.void();
2042
2043
  r.object({
2043
2044
  body: r.optional(r.never()),
@@ -2045,33 +2046,33 @@ r.object({
2045
2046
  id: r.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}$/)
2046
2047
  }),
2047
2048
  query: r.optional(r.never())
2048
- });
2049
+ }).strict();
2049
2050
  r.object({
2050
2051
  body: V,
2051
2052
  path: r.object({
2052
2053
  id: r.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}$/)
2053
2054
  }),
2054
2055
  query: r.optional(r.never())
2055
- });
2056
+ }).strict();
2056
2057
  r.object({
2057
2058
  body: Br,
2058
2059
  path: r.optional(r.never()),
2059
2060
  query: r.optional(r.never())
2060
- });
2061
+ }).strict();
2061
2062
  r.object({
2062
2063
  body: r.optional(r.never()),
2063
2064
  path: r.object({
2064
2065
  url: r.string()
2065
2066
  }),
2066
2067
  query: r.optional(r.never())
2067
- });
2068
+ }).strict();
2068
2069
  r.object({
2069
2070
  body: r.optional(r.never()),
2070
2071
  path: r.object({
2071
2072
  id: r.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}$/)
2072
2073
  }),
2073
2074
  query: r.optional(r.never())
2074
- });
2075
+ }).strict();
2075
2076
  r.void();
2076
2077
  r.object({
2077
2078
  body: r.optional(r.never()),
@@ -2079,36 +2080,36 @@ r.object({
2079
2080
  id: r.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}$/)
2080
2081
  }),
2081
2082
  query: r.optional(r.never())
2082
- });
2083
+ }).strict();
2083
2084
  r.object({
2084
2085
  body: r.optional(r.never()),
2085
2086
  path: r.object({
2086
2087
  id: r.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}$/)
2087
2088
  }),
2088
2089
  query: r.optional(r.never())
2089
- });
2090
+ }).strict();
2090
2091
  r.object({
2091
- body: dr,
2092
+ body: cr,
2092
2093
  path: r.optional(r.never()),
2093
2094
  query: r.optional(r.never())
2094
- });
2095
+ }).strict();
2095
2096
  r.object({
2096
2097
  body: r.optional(r.never()),
2097
2098
  path: r.optional(r.never()),
2098
2099
  query: r.optional(r.never())
2099
- });
2100
+ }).strict();
2100
2101
  r.object({
2101
2102
  body: br,
2102
2103
  path: r.optional(r.never()),
2103
2104
  query: r.optional(r.never())
2104
- });
2105
+ }).strict();
2105
2106
  r.object({
2106
2107
  body: r.optional(r.never()),
2107
2108
  path: r.object({
2108
2109
  id: r.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}$/)
2109
2110
  }),
2110
2111
  query: r.optional(r.never())
2111
- });
2112
+ }).strict();
2112
2113
  r.void();
2113
2114
  r.object({
2114
2115
  body: r.optional(r.never()),
@@ -2116,56 +2117,65 @@ r.object({
2116
2117
  id: r.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}$/)
2117
2118
  }),
2118
2119
  query: r.optional(r.never())
2119
- });
2120
+ }).strict();
2120
2121
  r.object({
2121
2122
  body: r.optional(r.never()),
2122
2123
  path: r.optional(r.never()),
2123
2124
  query: r.optional(r.never())
2124
- });
2125
+ }).strict();
2125
2126
  r.object({
2126
2127
  body: $e,
2127
2128
  path: r.optional(r.never()),
2128
2129
  query: r.optional(r.never())
2129
- });
2130
+ }).strict();
2130
2131
  r.object({
2131
2132
  body: r.optional(r.never()),
2132
2133
  path: r.object({
2133
2134
  id: r.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}$/)
2134
2135
  }),
2135
2136
  query: r.optional(r.never())
2137
+ }).strict();
2138
+ const St = Ie, xt = dr, Nt = f.shape.format, jt = f.shape.fps.unwrap(), wt = f.shape.resolution, Tt = f.shape.aspectRatio, kt = r.string().regex(/^#[0-9A-Fa-f]{6}$|^#[0-9A-Fa-f]{8}$/), tt = Wr.extend({ id: r.string() }), nt = Xr.extend({
2139
+ clips: r.array(tt).min(1)
2140
+ }), Ft = vr.extend({
2141
+ timeline: Yr.extend({
2142
+ tracks: r.array(nt).min(1)
2143
+ })
2136
2144
  });
2137
- const Zt = Ie, _t = cr, St = f.shape.format, xt = f.shape.fps.unwrap(), Nt = f.shape.resolution, jt = f.shape.aspectRatio, wt = r.string().regex(/^#[0-9A-Fa-f]{6}$|^#[0-9A-Fa-f]{8}$/);
2138
2145
  export {
2139
- yt as AssetSchema,
2140
- dt as AudioAssetSchema,
2141
- vr as CaptionAssetSchema,
2142
- bt as ClipSchema,
2143
- et as CropSchema,
2144
- Zt as DestinationSchema,
2145
- $t as EditSchema,
2146
- wt as HexColorSchema,
2147
- rt as HtmlAssetSchema,
2148
- tt as ImageAssetSchema,
2149
- nt as ImageToVideoAssetSchema,
2150
- pt as KeyframeSchema,
2151
- it as LumaAssetSchema,
2152
- ct as OffsetSchema,
2153
- jt as OutputAspectRatioSchema,
2154
- St as OutputFormatSchema,
2155
- xt as OutputFpsSchema,
2156
- Nt as OutputResolutionSchema,
2146
+ _t as AssetSchema,
2147
+ bt as AudioAssetSchema,
2148
+ st as CaptionAssetSchema,
2149
+ Wr as ClipSchema,
2150
+ ot as CropSchema,
2151
+ St as DestinationSchema,
2152
+ vr as EditSchema,
2153
+ kt as HexColorSchema,
2154
+ at as HtmlAssetSchema,
2155
+ ut as ImageAssetSchema,
2156
+ ft as ImageToVideoAssetSchema,
2157
+ yt as KeyframeSchema,
2158
+ lt as LumaAssetSchema,
2159
+ ht as OffsetSchema,
2160
+ Tt as OutputAspectRatioSchema,
2161
+ Nt as OutputFormatSchema,
2162
+ jt as OutputFpsSchema,
2163
+ wt as OutputResolutionSchema,
2157
2164
  f as OutputSchema,
2158
- _t as OutputSizeSchema,
2159
- st as RichTextAssetSchema,
2160
- ot as ShapeAssetSchema,
2161
- at as SvgAssetSchema,
2162
- ut as TextAssetSchema,
2163
- ft as TextToImageAssetSchema,
2164
- gt as TextToSpeechAssetSchema,
2165
- zt as TimelineSchema,
2166
- ht as TrackSchema,
2167
- mt as TransformationSchema,
2168
- lt as TransitionSchema,
2169
- pt as TweenSchema,
2170
- At as VideoAssetSchema
2165
+ xt as OutputSizeSchema,
2166
+ tt as ResolvedClipSchema,
2167
+ Ft as ResolvedEditSchema,
2168
+ nt as ResolvedTrackSchema,
2169
+ pt as RichTextAssetSchema,
2170
+ ct as ShapeAssetSchema,
2171
+ dt as SvgAssetSchema,
2172
+ gt as TextAssetSchema,
2173
+ mt as TextToImageAssetSchema,
2174
+ zt as TextToSpeechAssetSchema,
2175
+ Yr as TimelineSchema,
2176
+ Xr as TrackSchema,
2177
+ $t as TransformationSchema,
2178
+ At as TransitionSchema,
2179
+ yt as TweenSchema,
2180
+ Zt as VideoAssetSchema
2171
2181
  };