@shotstack/shotstack-studio 2.0.0-beta.21 → 2.0.0-beta.22

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.
@@ -62,7 +62,7 @@ const E = 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
+ }), c = r.object({
66
66
  type: r.enum(["caption"]),
67
67
  src: r.string().min(1).regex(/\S/),
68
68
  font: r.optional(q),
@@ -76,7 +76,7 @@ const E = 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
- }), Kr = g, U = r.object({
79
+ }), Kr = c, U = 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))
@@ -89,13 +89,7 @@ const E = r.object({
89
89
  }), J = r.object({
90
90
  type: r.enum(["text-to-avatar"]),
91
91
  text: r.string(),
92
- avatar: r.enum([
93
- "jack",
94
- "lana",
95
- "lily",
96
- "matt",
97
- "rian"
98
- ]),
92
+ avatar: r.enum(["jack", "lana", "lily", "matt", "rian"]),
99
93
  background: r.optional(r.string())
100
94
  }), V = r.object({
101
95
  type: r.literal("didTextToAvatarOptions_DIDTextToAvatarOptions")
@@ -266,21 +260,10 @@ r.object({
266
260
  });
267
261
  const ne = r.object({
268
262
  owner: r.string(),
269
- provider: r.enum([
270
- "shotstack",
271
- "elevenlabs",
272
- "heygen",
273
- "d-id"
274
- ]),
263
+ provider: r.enum(["shotstack", "elevenlabs", "heygen", "d-id"]),
275
264
  type: r.enum(["text-to-speech", "text-to-avatar"]),
276
265
  url: r.optional(r.string()),
277
- status: r.enum([
278
- "queued",
279
- "processing",
280
- "saving",
281
- "done",
282
- "failed"
283
- ]),
266
+ status: r.enum(["queued", "processing", "saving", "done", "failed"]),
284
267
  created: r.string(),
285
268
  updated: r.string()
286
269
  }), ie = r.object({
@@ -477,10 +460,10 @@ const se = r.object({
477
460
  ]))
478
461
  }), de = r.object({
479
462
  type: r.literal("stabilityAiTextToImageOptions_StabilityAiTextToImageOptions")
480
- }).and(pe), ge = r.object({
463
+ }).and(pe), ce = r.object({
481
464
  provider: r.enum(["stability-ai"]),
482
465
  options: de
483
- }), ce = r.union([
466
+ }), ge = r.union([
484
467
  r.object({
485
468
  provider: r.literal("shotstackGeneratedAsset_ShotstackGeneratedAsset")
486
469
  }).and(le),
@@ -498,7 +481,7 @@ const se = r.object({
498
481
  }).and(re),
499
482
  r.object({
500
483
  provider: r.literal("stabilityAiGeneratedAsset_StabilityAiGeneratedAsset")
501
- }).and(ge)
484
+ }).and(ce)
502
485
  ]), n = r.object({
503
486
  top: r.optional(r.union([r.preprocess((e) => {
504
487
  if (!(e === "" || e === null || e === void 0))
@@ -541,43 +524,25 @@ const se = r.object({
541
524
  prefix: r.optional(r.string()),
542
525
  filename: r.optional(r.string()),
543
526
  acl: r.optional(r.string())
544
- }), Ze = r.object({
527
+ }), Se = r.object({
545
528
  provider: r.literal("s3"),
546
529
  options: r.optional($e)
547
- }), _e = r.object({
530
+ }), Ze = r.object({
548
531
  provider: r.literal("shotstack"),
549
532
  exclude: r.optional(r.boolean())
550
- }), Se = r.object({
533
+ }), _e = r.object({
551
534
  title: r.optional(r.string().max(150)),
552
- privacyLevel: r.optional(r.enum([
553
- "public",
554
- "friends",
555
- "private"
556
- ])),
535
+ privacyLevel: r.optional(r.enum(["public", "friends", "private"])),
557
536
  disableDuet: r.optional(r.boolean()).default(!1),
558
537
  disableStitch: r.optional(r.boolean()).default(!1),
559
538
  disableComment: r.optional(r.boolean()).default(!1)
560
539
  }), xe = r.object({
561
540
  provider: r.literal("tiktok"),
562
- options: r.optional(Se)
541
+ options: r.optional(_e)
563
542
  }), Ne = r.object({
564
- view: r.optional(r.enum([
565
- "anybody",
566
- "nobody",
567
- "contacts",
568
- "password",
569
- "unlisted"
570
- ])),
571
- embed: r.optional(r.enum([
572
- "public",
573
- "private",
574
- "whitelist"
575
- ])),
576
- comments: r.optional(r.enum([
577
- "anybody",
578
- "nobody",
579
- "contacts"
580
- ])),
543
+ view: r.optional(r.enum(["anybody", "nobody", "contacts", "password", "unlisted"])),
544
+ embed: r.optional(r.enum(["public", "private", "whitelist"])),
545
+ comments: r.optional(r.enum(["anybody", "nobody", "contacts"])),
581
546
  download: r.optional(r.boolean()),
582
547
  add: r.optional(r.boolean())
583
548
  }), je = r.object({
@@ -589,9 +554,9 @@ const se = r.object({
589
554
  provider: r.literal("vimeo"),
590
555
  options: r.optional(je)
591
556
  }), s = r.discriminatedUnion("provider", [
592
- _e,
593
- ze,
594
557
  Ze,
558
+ ze,
559
+ Se,
595
560
  Ae,
596
561
  be,
597
562
  we,
@@ -601,7 +566,7 @@ const se = r.object({
601
566
  vertical: r.optional(r.boolean())
602
567
  }), ke = r.object({
603
568
  src: r.string()
604
- }), c = r.object({
569
+ }), g = r.object({
605
570
  type: r.enum(["html"]),
606
571
  html: r.string(),
607
572
  css: r.optional(r.string()),
@@ -625,7 +590,7 @@ const se = r.object({
625
590
  "topLeft",
626
591
  "center"
627
592
  ]))
628
- }), Qr = c, m = r.object({
593
+ }), Qr = g, m = r.object({
629
594
  type: r.enum(["image"]),
630
595
  src: r.string().min(1).regex(/\S/),
631
596
  crop: r.optional(n)
@@ -633,15 +598,7 @@ const se = r.object({
633
598
  type: r.enum(["image-to-video"]),
634
599
  src: r.string().min(1),
635
600
  prompt: r.optional(r.string()),
636
- aspectRatio: r.optional(r.enum([
637
- "1:1",
638
- "4:3",
639
- "16:9",
640
- "9:16",
641
- "3:4",
642
- "21:9",
643
- "9:21"
644
- ])),
601
+ aspectRatio: r.optional(r.enum(["1:1", "4:3", "16:9", "9:16", "3:4", "21:9", "9:21"])),
645
602
  speed: r.optional(r.union([r.preprocess((e) => {
646
603
  if (!(e === "" || e === null || e === void 0))
647
604
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -710,7 +667,7 @@ const Ee = r.object({
710
667
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
711
668
  }), Yr = y, b = r.object({
712
669
  find: r.string(),
713
- replace: r.unknown()
670
+ replace: r.union([r.string(), r.number(), r.boolean(), r.null(), r.record(r.string(), r.unknown()), r.array(r.unknown())])
714
671
  }), Pe = r.object({
715
672
  capture: r.union([r.preprocess((e) => {
716
673
  if (!(e === "" || e === null || e === void 0))
@@ -733,12 +690,7 @@ const Ee = r.object({
733
690
  providerId: r.optional(r.string()),
734
691
  filename: r.optional(r.string()),
735
692
  url: r.optional(r.string()),
736
- status: r.enum([
737
- "importing",
738
- "ready",
739
- "failed",
740
- "deleted"
741
- ]),
693
+ status: r.enum(["importing", "ready", "failed", "deleted"]),
742
694
  created: r.optional(r.string()),
743
695
  updated: r.optional(r.string())
744
696
  }), h = r.object({
@@ -789,16 +741,8 @@ r.object({
789
741
  response: Me
790
742
  });
791
743
  const Qe = r.object({
792
- horizontal: r.optional(r.enum([
793
- "left",
794
- "center",
795
- "right"
796
- ])),
797
- vertical: r.optional(r.enum([
798
- "top",
799
- "middle",
800
- "bottom"
801
- ]))
744
+ horizontal: r.optional(r.enum(["left", "center", "right"])),
745
+ vertical: r.optional(r.enum(["top", "middle", "bottom"]))
802
746
  }), We = r.object({
803
747
  preset: r.enum([
804
748
  "fadeIn",
@@ -813,12 +757,7 @@ const Qe = r.object({
813
757
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
814
758
  }, r.number().gte(0.1).lte(30)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
815
759
  style: r.optional(r.enum(["character", "word"])),
816
- direction: r.optional(r.enum([
817
- "left",
818
- "right",
819
- "up",
820
- "down"
821
- ]))
760
+ direction: r.optional(r.enum(["left", "right", "up", "down"]))
822
761
  }), Xe = r.object({
823
762
  color: r.optional(r.union([r.string().regex(/^#[A-Fa-f0-9]{6}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
824
763
  opacity: r.optional(r.union([r.preprocess((e) => {
@@ -924,17 +863,8 @@ const Qe = r.object({
924
863
  if (!(e === "" || e === null || e === void 0))
925
864
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
926
865
  }, r.number().gte(0).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1.2),
927
- textTransform: r.optional(r.enum([
928
- "none",
929
- "uppercase",
930
- "lowercase",
931
- "capitalize"
932
- ])),
933
- textDecoration: r.optional(r.enum([
934
- "none",
935
- "underline",
936
- "line-through"
937
- ])),
866
+ textTransform: r.optional(r.enum(["none", "uppercase", "lowercase", "capitalize"])),
867
+ textDecoration: r.optional(r.enum(["none", "underline", "line-through"])),
938
868
  gradient: r.optional(ve)
939
869
  }), z = r.object({
940
870
  type: r.enum(["rich-text"]),
@@ -944,13 +874,10 @@ const Qe = r.object({
944
874
  shadow: r.optional(rr),
945
875
  background: r.optional(Xe),
946
876
  border: r.optional(Ye),
947
- padding: r.optional(r.union([
948
- r.union([r.preprocess((e) => {
949
- if (!(e === "" || e === null || e === void 0))
950
- return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
951
- }, r.number().gte(0)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
952
- er
953
- ])),
877
+ padding: r.optional(r.union([r.union([r.preprocess((e) => {
878
+ if (!(e === "" || e === null || e === void 0))
879
+ return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
880
+ }, r.number().gte(0)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), er])),
954
881
  align: r.optional(Qe),
955
882
  animation: r.optional(We)
956
883
  }), vr = z, sr = r.object({
@@ -971,11 +898,7 @@ const ar = r.object({
971
898
  destinations: r.array(s)
972
899
  }), $ = r.object({
973
900
  type: r.enum(["shape"]),
974
- shape: r.enum([
975
- "rectangle",
976
- "circle",
977
- "line"
978
- ]),
901
+ shape: r.enum(["rectangle", "circle", "line"]),
979
902
  width: r.optional(r.union([r.preprocess((e) => {
980
903
  if (!(e === "" || e === null || e === void 0))
981
904
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -1037,7 +960,7 @@ const ar = r.object({
1037
960
  if (!(e === "" || e === null || e === void 0))
1038
961
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1039
962
  }, r.number().int().gte(1).lte(4096)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1040
- }), ur = l, Z = r.object({
963
+ }), ur = l, S = r.object({
1041
964
  format: r.optional(r.enum([
1042
965
  "mp4",
1043
966
  "webm",
@@ -1056,18 +979,8 @@ const ar = r.object({
1056
979
  "tif"
1057
980
  ])),
1058
981
  size: r.optional(l),
1059
- fit: r.optional(r.enum([
1060
- "cover",
1061
- "contain",
1062
- "crop"
1063
- ])),
1064
- resolution: r.optional(r.enum([
1065
- "preview",
1066
- "mobile",
1067
- "sd",
1068
- "hd",
1069
- "fhd"
1070
- ])),
982
+ fit: r.optional(r.enum(["cover", "contain", "crop"])),
983
+ resolution: r.optional(r.enum(["preview", "mobile", "sd", "hd", "fhd"])),
1071
984
  quality: r.optional(r.union([r.preprocess((e) => {
1072
985
  if (!(e === "" || e === null || e === void 0))
1073
986
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -1095,7 +1008,7 @@ const ar = r.object({
1095
1008
  enhance: r.optional(Le),
1096
1009
  filename: r.optional(r.string())
1097
1010
  }), fr = r.object({
1098
- renditions: r.optional(r.array(Z)),
1011
+ renditions: r.optional(r.array(S)),
1099
1012
  transcription: r.optional(qe)
1100
1013
  }), lr = r.object({
1101
1014
  id: r.string(),
@@ -1112,7 +1025,7 @@ const ar = r.object({
1112
1025
  if (!(e === "" || e === null || e === void 0))
1113
1026
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1114
1027
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1115
- transformation: r.optional(Z),
1028
+ transformation: r.optional(S),
1116
1029
  width: r.optional(r.union([r.preprocess((e) => {
1117
1030
  if (!(e === "" || e === null || e === void 0))
1118
1031
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -1163,34 +1076,30 @@ const ar = r.object({
1163
1076
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1164
1077
  created: r.optional(r.string()),
1165
1078
  updated: r.optional(r.string())
1166
- }), _ = r.object({
1079
+ }), Z = r.object({
1167
1080
  type: r.string(),
1168
1081
  id: r.string(),
1169
1082
  attributes: dr
1170
1083
  });
1171
1084
  r.object({
1172
- data: r.array(_)
1085
+ data: r.array(Z)
1173
1086
  });
1174
1087
  r.object({
1175
- data: _
1088
+ data: Z
1176
1089
  });
1177
- const gr = r.object({
1090
+ const cr = r.object({
1178
1091
  url: r.optional(r.string()),
1179
1092
  outputs: r.optional(fr),
1180
1093
  destinations: r.optional(s),
1181
1094
  callback: r.optional(r.string())
1182
- }), cr = r.object({
1095
+ }), gr = r.object({
1183
1096
  src: r.string().min(1).regex(/\S/),
1184
- effect: r.optional(r.enum([
1185
- "fadeIn",
1186
- "fadeOut",
1187
- "fadeInFadeOut"
1188
- ])),
1097
+ effect: r.optional(r.enum(["fadeIn", "fadeOut", "fadeInFadeOut"])),
1189
1098
  volume: r.optional(r.union([r.preprocess((e) => {
1190
1099
  if (!(e === "" || e === null || e === void 0))
1191
1100
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1192
1101
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1193
- }), S = r.object({
1102
+ }), _ = r.object({
1194
1103
  offset: r.union([r.preprocess((e) => {
1195
1104
  if (!(e === "" || e === null || e === void 0))
1196
1105
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -1202,14 +1111,14 @@ const gr = r.object({
1202
1111
  if (!(e === "" || e === null || e === void 0))
1203
1112
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1204
1113
  }, r.number().gte(0).lte(360)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1205
- stops: r.array(S).min(2),
1114
+ stops: r.array(_).min(2),
1206
1115
  opacity: r.optional(r.union([r.preprocess((e) => {
1207
1116
  if (!(e === "" || e === null || e === void 0))
1208
1117
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1209
1118
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1)
1210
1119
  }), Ar = r.object({
1211
1120
  type: r.enum(["radial"]),
1212
- stops: r.array(S).min(2),
1121
+ stops: r.array(_).min(2),
1213
1122
  opacity: r.optional(r.union([r.preprocess((e) => {
1214
1123
  if (!(e === "" || e === null || e === void 0))
1215
1124
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -1253,16 +1162,8 @@ const gr = r.object({
1253
1162
  if (!(e === "" || e === null || e === void 0))
1254
1163
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1255
1164
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1256
- lineCap: r.optional(r.enum([
1257
- "butt",
1258
- "round",
1259
- "square"
1260
- ])),
1261
- lineJoin: r.optional(r.enum([
1262
- "miter",
1263
- "round",
1264
- "bevel"
1265
- ])),
1165
+ lineCap: r.optional(r.enum(["butt", "round", "square"])),
1166
+ lineJoin: r.optional(r.enum(["miter", "round", "bevel"])),
1266
1167
  dashArray: r.optional(r.array(r.union([r.preprocess((e) => {
1267
1168
  if (!(e === "" || e === null || e === void 0))
1268
1169
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -1296,7 +1197,7 @@ const gr = r.object({
1296
1197
  if (!(e === "" || e === null || e === void 0))
1297
1198
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1298
1199
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5)
1299
- }), Zr = r.object({
1200
+ }), Sr = r.object({
1300
1201
  type: r.enum(["arrow"]),
1301
1202
  length: r.union([r.preprocess((e) => {
1302
1203
  if (!(e === "" || e === null || e === void 0))
@@ -1314,13 +1215,13 @@ const gr = r.object({
1314
1215
  if (!(e === "" || e === null || e === void 0))
1315
1216
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1316
1217
  }, r.number().gte(1).lte(1e3)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1317
- }), _r = r.object({
1218
+ }), Zr = r.object({
1318
1219
  type: r.enum(["circle"]),
1319
1220
  radius: r.union([r.preprocess((e) => {
1320
1221
  if (!(e === "" || e === null || e === void 0))
1321
1222
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1322
1223
  }, r.number().gte(1).lte(2048)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1323
- }), Sr = r.object({
1224
+ }), _r = r.object({
1324
1225
  type: r.enum(["cross"]),
1325
1226
  width: r.union([r.preprocess((e) => {
1326
1227
  if (!(e === "" || e === null || e === void 0))
@@ -1413,14 +1314,14 @@ const gr = r.object({
1413
1314
  }, r.number().gte(1).lte(2048)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1414
1315
  }), Or = r.discriminatedUnion("type", [
1415
1316
  Fr,
1416
- _r,
1317
+ Zr,
1417
1318
  xr,
1418
1319
  jr,
1419
1320
  Tr,
1420
1321
  Rr,
1421
- Zr,
1422
- Nr,
1423
1322
  Sr,
1323
+ Nr,
1324
+ _r,
1424
1325
  kr,
1425
1326
  wr
1426
1327
  ]), x = r.object({
@@ -1466,16 +1367,8 @@ const gr = r.object({
1466
1367
  id: r.string(),
1467
1368
  merge: r.optional(r.array(b))
1468
1369
  }), Lr = r.object({
1469
- horizontal: r.optional(r.enum([
1470
- "left",
1471
- "center",
1472
- "right"
1473
- ])),
1474
- vertical: r.optional(r.enum([
1475
- "top",
1476
- "center",
1477
- "bottom"
1478
- ]))
1370
+ horizontal: r.optional(r.enum(["left", "center", "right"])),
1371
+ vertical: r.optional(r.enum(["top", "center", "bottom"]))
1479
1372
  }), Ir = r.object({
1480
1373
  preset: r.enum(["typewriter"]),
1481
1374
  duration: r.optional(r.union([r.preprocess((e) => {
@@ -1560,29 +1453,9 @@ const gr = r.object({
1560
1453
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1561
1454
  }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1562
1455
  }), w = r.object({
1563
- format: r.enum([
1564
- "mp4",
1565
- "gif",
1566
- "mp3",
1567
- "jpg",
1568
- "png",
1569
- "bmp"
1570
- ]),
1571
- resolution: r.optional(r.enum([
1572
- "preview",
1573
- "mobile",
1574
- "sd",
1575
- "hd",
1576
- "1080",
1577
- "4k"
1578
- ])),
1579
- aspectRatio: r.optional(r.enum([
1580
- "16:9",
1581
- "9:16",
1582
- "1:1",
1583
- "4:5",
1584
- "4:3"
1585
- ])),
1456
+ format: r.enum(["mp4", "gif", "mp3", "jpg", "png", "bmp"]),
1457
+ resolution: r.optional(r.enum(["preview", "mobile", "sd", "hd", "1080", "4k"])),
1458
+ aspectRatio: r.optional(r.enum(["16:9", "9:16", "1:1", "4:5", "4:3"])),
1586
1459
  size: r.optional(l),
1587
1460
  fps: r.optional(r.union([
1588
1461
  r.literal(12),
@@ -1597,21 +1470,8 @@ const gr = r.object({
1597
1470
  r.literal(59.94),
1598
1471
  r.literal(60)
1599
1472
  ])),
1600
- scaleTo: r.optional(r.enum([
1601
- "preview",
1602
- "mobile",
1603
- "sd",
1604
- "hd",
1605
- "1080",
1606
- "4k"
1607
- ])),
1608
- quality: r.optional(r.enum([
1609
- "verylow",
1610
- "low",
1611
- "medium",
1612
- "high",
1613
- "veryhigh"
1614
- ])),
1473
+ scaleTo: r.optional(r.enum(["preview", "mobile", "sd", "hd", "1080", "4k"])),
1474
+ quality: r.optional(r.enum(["verylow", "low", "medium", "high", "veryhigh"])),
1615
1475
  repeat: r.optional(r.boolean()),
1616
1476
  mute: r.optional(r.boolean()),
1617
1477
  range: r.optional(Ue),
@@ -1758,11 +1618,7 @@ const gr = r.object({
1758
1618
  if (!(e === "" || e === null || e === void 0))
1759
1619
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1760
1620
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1761
- interpolation: r.optional(r.enum([
1762
- "linear",
1763
- "bezier",
1764
- "constant"
1765
- ])),
1621
+ interpolation: r.optional(r.enum(["linear", "bezier", "constant"])),
1766
1622
  easing: r.optional(r.enum([
1767
1623
  "ease",
1768
1624
  "easeIn",
@@ -1800,61 +1656,38 @@ const gr = r.object({
1800
1656
  if (!(e === "" || e === null || e === void 0))
1801
1657
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1802
1658
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1803
- volume: r.optional(r.union([
1804
- r.union([r.preprocess((e) => {
1805
- if (!(e === "" || e === null || e === void 0))
1806
- return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1807
- }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1808
- r.array(t)
1809
- ])),
1659
+ volume: r.optional(r.union([r.union([r.preprocess((e) => {
1660
+ if (!(e === "" || e === null || e === void 0))
1661
+ return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1662
+ }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), r.array(t)])),
1810
1663
  speed: r.optional(r.union([r.preprocess((e) => {
1811
1664
  if (!(e === "" || e === null || e === void 0))
1812
1665
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1813
1666
  }, r.number().gte(0).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1814
- effect: r.optional(r.enum([
1815
- "none",
1816
- "fadeIn",
1817
- "fadeOut",
1818
- "fadeInFadeOut"
1819
- ]))
1667
+ effect: r.optional(r.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"]))
1820
1668
  }), ot = F, p = r.object({
1821
- x: r.optional(r.union([
1822
- r.union([r.preprocess((e) => {
1823
- if (!(e === "" || e === null || e === void 0))
1824
- return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1825
- }, r.number().gte(-10).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1826
- r.array(t)
1827
- ])),
1828
- y: r.optional(r.union([
1829
- r.union([r.preprocess((e) => {
1830
- if (!(e === "" || e === null || e === void 0))
1831
- return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1832
- }, r.number().gte(-10).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1833
- r.array(t)
1834
- ]))
1669
+ x: r.optional(r.union([r.union([r.preprocess((e) => {
1670
+ if (!(e === "" || e === null || e === void 0))
1671
+ return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1672
+ }, r.number().gte(-10).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), r.array(t)])),
1673
+ y: r.optional(r.union([r.union([r.preprocess((e) => {
1674
+ if (!(e === "" || e === null || e === void 0))
1675
+ return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1676
+ }, r.number().gte(-10).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), r.array(t)]))
1835
1677
  }), at = p, qr = r.object({
1836
- angle: r.optional(r.union([
1837
- r.union([r.preprocess((e) => {
1838
- if (!(e === "" || e === null || e === void 0))
1839
- return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1840
- }, r.number().gte(-360).lte(360)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1841
- r.array(t)
1842
- ]))
1678
+ angle: r.optional(r.union([r.union([r.preprocess((e) => {
1679
+ if (!(e === "" || e === null || e === void 0))
1680
+ return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1681
+ }, r.number().gte(-360).lte(360)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), r.array(t)]))
1843
1682
  }), Pr = r.object({
1844
- x: r.optional(r.union([
1845
- r.union([r.preprocess((e) => {
1846
- if (!(e === "" || e === null || e === void 0))
1847
- return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1848
- }, r.number().gte(-100).lte(100)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1849
- r.array(t)
1850
- ])),
1851
- y: r.optional(r.union([
1852
- r.union([r.preprocess((e) => {
1853
- if (!(e === "" || e === null || e === void 0))
1854
- return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1855
- }, r.number().gte(-100).lte(100)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1856
- r.array(t)
1857
- ]))
1683
+ x: r.optional(r.union([r.union([r.preprocess((e) => {
1684
+ if (!(e === "" || e === null || e === void 0))
1685
+ return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1686
+ }, r.number().gte(-100).lte(100)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), r.array(t)])),
1687
+ y: r.optional(r.union([r.union([r.preprocess((e) => {
1688
+ if (!(e === "" || e === null || e === void 0))
1689
+ return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1690
+ }, r.number().gte(-100).lte(100)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), r.array(t)]))
1858
1691
  }), k = r.object({
1859
1692
  type: r.enum(["text-to-speech"]),
1860
1693
  text: r.string(),
@@ -1865,23 +1698,15 @@ const gr = r.object({
1865
1698
  if (!(e === "" || e === null || e === void 0))
1866
1699
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1867
1700
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1868
- volume: r.optional(r.union([
1869
- r.union([r.preprocess((e) => {
1870
- if (!(e === "" || e === null || e === void 0))
1871
- return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1872
- }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1873
- r.array(t)
1874
- ])),
1701
+ volume: r.optional(r.union([r.union([r.preprocess((e) => {
1702
+ if (!(e === "" || e === null || e === void 0))
1703
+ return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1704
+ }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), r.array(t)])),
1875
1705
  speed: r.optional(r.union([r.preprocess((e) => {
1876
1706
  if (!(e === "" || e === null || e === void 0))
1877
1707
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1878
1708
  }, r.number().gte(0).lte(10)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1879
- effect: r.optional(r.enum([
1880
- "none",
1881
- "fadeIn",
1882
- "fadeOut",
1883
- "fadeInFadeOut"
1884
- ]))
1709
+ effect: r.optional(r.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"]))
1885
1710
  }), ut = k, Ur = r.object({
1886
1711
  type: r.enum(["title"]),
1887
1712
  text: r.string(),
@@ -1932,19 +1757,11 @@ const gr = r.object({
1932
1757
  if (!(e === "" || e === null || e === void 0))
1933
1758
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1934
1759
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1935
- volume: r.optional(r.union([
1936
- r.union([r.preprocess((e) => {
1937
- if (!(e === "" || e === null || e === void 0))
1938
- return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1939
- }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1940
- r.array(t)
1941
- ])),
1942
- volumeEffect: r.optional(r.enum([
1943
- "none",
1944
- "fadeIn",
1945
- "fadeOut",
1946
- "fadeInFadeOut"
1947
- ])),
1760
+ volume: r.optional(r.union([r.union([r.preprocess((e) => {
1761
+ if (!(e === "" || e === null || e === void 0))
1762
+ return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1763
+ }, r.number().gte(0).lte(1)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), r.array(t)])),
1764
+ volumeEffect: r.optional(r.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
1948
1765
  speed: r.optional(r.union([r.preprocess((e) => {
1949
1766
  if (!(e === "" || e === null || e === void 0))
1950
1767
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -1958,8 +1775,8 @@ const gr = r.object({
1958
1775
  z,
1959
1776
  F,
1960
1777
  y,
1961
- g,
1962
1778
  c,
1779
+ g,
1963
1780
  Ur,
1964
1781
  $,
1965
1782
  x,
@@ -1982,19 +1799,11 @@ const gr = r.object({
1982
1799
  }, r.number().gte(0)), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1983
1800
  r.union([r.string().regex(/^(auto|end|alias:\/\/[A-Za-z0-9_-]+)$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1984
1801
  ]),
1985
- fit: r.optional(r.enum([
1986
- "cover",
1987
- "contain",
1988
- "crop",
1989
- "none"
1990
- ])),
1991
- scale: r.optional(r.union([
1992
- r.union([r.preprocess((e) => {
1993
- if (!(e === "" || e === null || e === void 0))
1994
- return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1995
- }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1996
- r.array(t)
1997
- ])),
1802
+ fit: r.optional(r.enum(["cover", "contain", "crop", "none"])),
1803
+ scale: r.optional(r.union([r.union([r.preprocess((e) => {
1804
+ if (!(e === "" || e === null || e === void 0))
1805
+ return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1806
+ }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), r.array(t)])),
1998
1807
  width: r.optional(r.union([r.preprocess((e) => {
1999
1808
  if (!(e === "" || e === null || e === void 0))
2000
1809
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
@@ -2047,24 +1856,21 @@ const gr = r.object({
2047
1856
  "muted",
2048
1857
  "negative"
2049
1858
  ])),
2050
- opacity: r.optional(r.union([
2051
- r.union([r.preprocess((e) => {
2052
- if (!(e === "" || e === null || e === void 0))
2053
- return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
2054
- }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2055
- r.array(t)
2056
- ])),
1859
+ opacity: r.optional(r.union([r.union([r.preprocess((e) => {
1860
+ if (!(e === "" || e === null || e === void 0))
1861
+ return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
1862
+ }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), r.array(t)])),
2057
1863
  transform: r.optional(R),
2058
1864
  alias: r.optional(r.union([r.string().regex(/^[A-Za-z0-9_-]+$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
2059
1865
  }), dt = L, I = r.object({
2060
1866
  clips: r.array(L).min(1)
2061
- }), gt = I, G = r.object({
2062
- soundtrack: r.optional(cr),
1867
+ }), ct = I, G = r.object({
1868
+ soundtrack: r.optional(gr),
2063
1869
  background: r.optional(r.string()),
2064
1870
  fonts: r.optional(r.array(ke)),
2065
1871
  tracks: r.array(I).min(1),
2066
1872
  cache: r.optional(r.boolean())
2067
- }), ct = G, i = r.object({
1873
+ }), gt = G, i = r.object({
2068
1874
  timeline: G,
2069
1875
  output: w,
2070
1876
  merge: r.optional(r.array(b)),
@@ -2093,14 +1899,8 @@ const gr = r.object({
2093
1899
  return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
2094
1900
  }, r.number()), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2095
1901
  url: r.optional(r.string()),
2096
- poster: r.optional(r.union([
2097
- r.string(),
2098
- r.null()
2099
- ])),
2100
- thumbnail: r.optional(r.union([
2101
- r.string(),
2102
- r.null()
2103
- ])),
1902
+ poster: r.optional(r.union([r.string(), r.null()])),
1903
+ thumbnail: r.optional(r.union([r.string(), r.null()])),
2104
1904
  data: r.optional(i),
2105
1905
  created: r.optional(r.string()),
2106
1906
  updated: r.optional(r.string())
@@ -2133,7 +1933,7 @@ r.object({
2133
1933
  r.object({
2134
1934
  body: r.optional(r.never()),
2135
1935
  path: r.object({
2136
- id: r.union([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}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1936
+ 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}$/)
2137
1937
  }),
2138
1938
  query: r.optional(r.object({
2139
1939
  data: r.optional(r.boolean()),
@@ -2153,7 +1953,7 @@ r.object({
2153
1953
  r.object({
2154
1954
  body: r.optional(r.never()),
2155
1955
  path: r.object({
2156
- id: r.union([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}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1956
+ 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}$/)
2157
1957
  }),
2158
1958
  query: r.optional(r.never())
2159
1959
  });
@@ -2161,14 +1961,14 @@ r.void();
2161
1961
  r.object({
2162
1962
  body: r.optional(r.never()),
2163
1963
  path: r.object({
2164
- id: r.union([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}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1964
+ 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}$/)
2165
1965
  }),
2166
1966
  query: r.optional(r.never())
2167
1967
  });
2168
1968
  r.object({
2169
1969
  body: C,
2170
1970
  path: r.object({
2171
- id: r.union([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}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1971
+ 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}$/)
2172
1972
  }),
2173
1973
  query: r.optional(r.never())
2174
1974
  });
@@ -2187,7 +1987,7 @@ r.object({
2187
1987
  r.object({
2188
1988
  body: r.optional(r.never()),
2189
1989
  path: r.object({
2190
- id: r.union([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}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1990
+ 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}$/)
2191
1991
  }),
2192
1992
  query: r.optional(r.never())
2193
1993
  });
@@ -2195,14 +1995,14 @@ r.void();
2195
1995
  r.object({
2196
1996
  body: r.optional(r.never()),
2197
1997
  path: r.object({
2198
- id: r.union([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}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
1998
+ 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}$/)
2199
1999
  }),
2200
2000
  query: r.optional(r.never())
2201
2001
  });
2202
2002
  r.object({
2203
2003
  body: r.optional(r.never()),
2204
2004
  path: r.object({
2205
- id: r.union([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}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
2005
+ 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}$/)
2206
2006
  }),
2207
2007
  query: r.optional(r.never())
2208
2008
  });
@@ -2217,14 +2017,14 @@ r.object({
2217
2017
  query: r.optional(r.never())
2218
2018
  });
2219
2019
  r.object({
2220
- body: gr,
2020
+ body: cr,
2221
2021
  path: r.optional(r.never()),
2222
2022
  query: r.optional(r.never())
2223
2023
  });
2224
2024
  r.object({
2225
2025
  body: r.optional(r.never()),
2226
2026
  path: r.object({
2227
- id: r.union([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}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
2027
+ 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}$/)
2228
2028
  }),
2229
2029
  query: r.optional(r.never())
2230
2030
  });
@@ -2232,7 +2032,7 @@ r.void();
2232
2032
  r.object({
2233
2033
  body: r.optional(r.never()),
2234
2034
  path: r.object({
2235
- id: r.union([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}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
2035
+ 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}$/)
2236
2036
  }),
2237
2037
  query: r.optional(r.never())
2238
2038
  });
@@ -2242,18 +2042,18 @@ r.object({
2242
2042
  query: r.optional(r.never())
2243
2043
  });
2244
2044
  r.object({
2245
- body: ce,
2045
+ body: ge,
2246
2046
  path: r.optional(r.never()),
2247
2047
  query: r.optional(r.never())
2248
2048
  });
2249
2049
  r.object({
2250
2050
  body: r.optional(r.never()),
2251
2051
  path: r.object({
2252
- id: r.union([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}$/), r.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
2052
+ 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}$/)
2253
2053
  }),
2254
2054
  query: r.optional(r.never())
2255
2055
  });
2256
- const At = Te, yt = ur, bt = o.shape.format, ht = o.shape.fps.unwrap(), zt = o.shape.resolution, $t = o.shape.aspectRatio, Zt = r.string().regex(/^#[0-9A-Fa-f]{6}$|^#[0-9A-Fa-f]{8}$/);
2056
+ const At = Te, yt = ur, bt = o.shape.format, ht = o.shape.fps.unwrap(), zt = o.shape.resolution, $t = o.shape.aspectRatio, St = r.string().regex(/^#[0-9A-Fa-f]{6}$|^#[0-9A-Fa-f]{8}$/);
2257
2057
  export {
2258
2058
  pt as AssetSchema,
2259
2059
  ot as AudioAssetSchema,
@@ -2262,7 +2062,7 @@ export {
2262
2062
  Mr as CropSchema,
2263
2063
  At as DestinationSchema,
2264
2064
  mt as EditSchema,
2265
- Zt as HexColorSchema,
2065
+ St as HexColorSchema,
2266
2066
  Qr as HtmlAssetSchema,
2267
2067
  Wr as ImageAssetSchema,
2268
2068
  Xr as ImageToVideoAssetSchema,
@@ -2281,8 +2081,8 @@ export {
2281
2081
  tt as TextAssetSchema,
2282
2082
  nt as TextToImageAssetSchema,
2283
2083
  ut as TextToSpeechAssetSchema,
2284
- ct as TimelineSchema,
2285
- gt as TrackSchema,
2084
+ gt as TimelineSchema,
2085
+ ct as TrackSchema,
2286
2086
  ft as TransformationSchema,
2287
2087
  it as TransitionSchema,
2288
2088
  st as TweenSchema,