@shotstack/schemas 1.5.6 → 1.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,7 +42,7 @@ export const captionpropertiesCaptionBackgroundSchema = z.object({
42
42
  opacity: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
43
43
  padding: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
44
44
  borderRadius: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
45
- });
45
+ }).strict();
46
46
 
47
47
  export const captionBackgroundSchema = captionpropertiesCaptionBackgroundSchema;
48
48
 
@@ -57,7 +57,7 @@ export const captionpropertiesCaptionFontSchema = z.object({
57
57
  lineHeight: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
58
58
  stroke: z.optional(z.string()),
59
59
  strokeWidth: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
60
- });
60
+ }).strict();
61
61
 
62
62
  export const captionFontSchema = captionpropertiesCaptionFontSchema;
63
63
 
@@ -68,7 +68,7 @@ export const captionpropertiesCaptionMarginSchema = z.object({
68
68
  top: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
69
69
  left: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
70
70
  right: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
71
- });
71
+ }).strict();
72
72
 
73
73
  export const captionMarginSchema = captionpropertiesCaptionMarginSchema;
74
74
 
@@ -92,7 +92,7 @@ export const captionassetCaptionAssetSchema = z.object({
92
92
  margin: z.optional(captionpropertiesCaptionMarginSchema),
93
93
  trim: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
94
94
  speed: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(10)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
95
- });
95
+ }).strict();
96
96
 
97
97
  export const captionAssetSchema = captionassetCaptionAssetSchema;
98
98
 
@@ -103,7 +103,7 @@ export const chromakeyChromaKeySchema = z.object({
103
103
  color: z.union([z.string().regex(/^#[0-9a-fA-F]{6}$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
104
104
  threshold: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int().gte(0).lte(250)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
105
105
  halo: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int().gte(0).lte(250)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
106
- });
106
+ }).strict();
107
107
 
108
108
  export const chromaKeySchema = chromakeyChromaKeySchema;
109
109
 
@@ -115,7 +115,7 @@ export const didTextToAvatarOptionsDidTextToAvatarOptionsSchema = z.object({
115
115
  text: z.string(),
116
116
  avatar: z.enum(["jack", "lana", "lily", "matt", "rian"]),
117
117
  background: z.optional(z.string()),
118
- });
118
+ }).strict();
119
119
 
120
120
  export const didTextToAvatarOptionsSchema =
121
121
  didTextToAvatarOptionsDidTextToAvatarOptionsSchema;
@@ -142,7 +142,7 @@ export const didGeneratedAssetOptionsSchema =
142
142
  export const didGeneratedAssetDidGeneratedAssetSchema = z.object({
143
143
  provider: z.enum(["d-id"]),
144
144
  options: didGeneratedAssetOptionsDidGeneratedAssetOptionsSchema,
145
- });
145
+ }).strict();
146
146
 
147
147
  export const didGeneratedAssetSchema = didGeneratedAssetDidGeneratedAssetSchema;
148
148
 
@@ -164,7 +164,7 @@ export const elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema =
164
164
  "Rachel",
165
165
  "Sam",
166
166
  ]),
167
- });
167
+ }).strict();
168
168
 
169
169
  export const elevenLabsTextToSpeechOptionsSchema =
170
170
  elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema;
@@ -194,7 +194,7 @@ export const elevenLabsGeneratedAssetOptionsSchema =
194
194
  export const elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema = z.object({
195
195
  provider: z.enum(["elevenlabs"]),
196
196
  options: elevenlabsGeneratedAssetOptionsElevenLabsGeneratedAssetOptionsSchema,
197
- });
197
+ }).strict();
198
198
 
199
199
  export const elevenLabsGeneratedAssetSchema =
200
200
  elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema;
@@ -323,7 +323,7 @@ export const heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema =
323
323
  background: z.optional(z.string()),
324
324
  ratio: z.optional(z.enum(["16:9", "9:16"])),
325
325
  test: z.optional(z.boolean()),
326
- });
326
+ }).strict();
327
327
 
328
328
  export const heyGenTextToAvatarOptionsSchema =
329
329
  heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema;
@@ -350,7 +350,7 @@ export const heyGenGeneratedAssetOptionsSchema =
350
350
  export const heygenGeneratedAssetHeyGenGeneratedAssetSchema = z.object({
351
351
  provider: z.enum(["heygen"]),
352
352
  options: heygenGeneratedAssetOptionsHeyGenGeneratedAssetOptionsSchema,
353
- });
353
+ }).strict();
354
354
 
355
355
  export const heyGenGeneratedAssetSchema =
356
356
  heygenGeneratedAssetHeyGenGeneratedAssetSchema;
@@ -364,7 +364,7 @@ export const openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema =
364
364
  prompt: z.string(),
365
365
  model: z.enum(["gpt-3.5-turbo", "gpt-4"]),
366
366
  systemPrompt: z.optional(z.string()),
367
- });
367
+ }).strict();
368
368
 
369
369
  export const openAiTextGeneratorOptionsSchema =
370
370
  openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema;
@@ -391,7 +391,7 @@ export const openAiGeneratedAssetOptionsSchema =
391
391
  export const openaiGeneratedAssetOpenAiGeneratedAssetSchema = z.object({
392
392
  provider: z.enum(["openai"]),
393
393
  options: openaiGeneratedAssetOptionsOpenAiGeneratedAssetOptionsSchema,
394
- });
394
+ }).strict();
395
395
 
396
396
  export const openAiGeneratedAssetSchema =
397
397
  openaiGeneratedAssetOpenAiGeneratedAssetSchema;
@@ -404,7 +404,7 @@ export const generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchem
404
404
  status: z.string(),
405
405
  title: z.string(),
406
406
  detail: z.string(),
407
- });
407
+ }).strict();
408
408
 
409
409
  export const generatedAssetErrorResponseDataSchema =
410
410
  generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema;
@@ -417,7 +417,7 @@ export const generatedAssetErrorResponseGeneratedAssetErrorResponseSchema =
417
417
  errors: z.array(
418
418
  generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema,
419
419
  ),
420
- });
420
+ }).strict();
421
421
 
422
422
  export const generatedAssetErrorResponseSchema =
423
423
  generatedAssetErrorResponseGeneratedAssetErrorResponseSchema;
@@ -434,7 +434,7 @@ export const generatedAssetResponseAttributesGeneratedAssetResponseAttributesSch
434
434
  status: z.enum(["queued", "processing", "saving", "done", "failed"]),
435
435
  created: z.string(),
436
436
  updated: z.string(),
437
- });
437
+ }).strict();
438
438
 
439
439
  export const generatedAssetResponseAttributesSchema =
440
440
  generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema;
@@ -448,7 +448,7 @@ export const generatedAssetResponseDataGeneratedAssetResponseDataSchema =
448
448
  id: z.string(),
449
449
  attributes:
450
450
  generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema,
451
- });
451
+ }).strict();
452
452
 
453
453
  export const generatedAssetResponseDataSchema =
454
454
  generatedAssetResponseDataGeneratedAssetResponseDataSchema;
@@ -458,7 +458,7 @@ export const generatedAssetResponseDataSchema =
458
458
  */
459
459
  export const generatedAssetResponseGeneratedAssetResponseSchema = z.object({
460
460
  data: generatedAssetResponseDataGeneratedAssetResponseDataSchema,
461
- });
461
+ }).strict();
462
462
 
463
463
  export const generatedAssetResponseSchema =
464
464
  generatedAssetResponseGeneratedAssetResponseSchema;
@@ -472,7 +472,7 @@ export const shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema =
472
472
  imageUrl: z.string(),
473
473
  guidanceScale: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1.8),
474
474
  motion: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(127),
475
- });
475
+ }).strict();
476
476
 
477
477
  export const shotstackImageToVideoOptionsSchema =
478
478
  shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema;
@@ -484,7 +484,7 @@ export const shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema =
484
484
  z.object({
485
485
  type: z.enum(["text-generator"]),
486
486
  prompt: z.string(),
487
- });
487
+ }).strict();
488
488
 
489
489
  export const shotstackTextGeneratorOptionsSchema =
490
490
  shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema;
@@ -498,7 +498,7 @@ export const shotstackTextToImageOptionsShotstackTextToImageOptionsSchema =
498
498
  prompt: z.string(),
499
499
  width: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
500
500
  height: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
501
- });
501
+ }).strict();
502
502
 
503
503
  export const shotstackTextToImageOptionsSchema =
504
504
  shotstackTextToImageOptionsShotstackTextToImageOptionsSchema;
@@ -603,7 +603,7 @@ export const shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema =
603
603
  ]),
604
604
  ),
605
605
  newscaster: z.optional(z.boolean()).default(false),
606
- });
606
+ }).strict();
607
607
 
608
608
  export const shotstackTextToSpeechOptionsSchema =
609
609
  shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema;
@@ -652,7 +652,7 @@ export const shotstackGeneratedAssetOptionsSchema =
652
652
  export const shotstackGeneratedAssetShotstackGeneratedAssetSchema = z.object({
653
653
  provider: z.enum(["shotstack"]),
654
654
  options: shotstackGeneratedAssetOptionsShotstackGeneratedAssetOptionsSchema,
655
- });
655
+ }).strict();
656
656
 
657
657
  export const shotstackGeneratedAssetSchema =
658
658
  shotstackGeneratedAssetShotstackGeneratedAssetSchema;
@@ -699,7 +699,7 @@ export const stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema =
699
699
  "tile-texture",
700
700
  ]),
701
701
  ),
702
- });
702
+ }).strict();
703
703
 
704
704
  export const stabilityAiTextToImageOptionsSchema =
705
705
  stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema;
@@ -731,7 +731,7 @@ export const stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema =
731
731
  provider: z.enum(["stability-ai"]),
732
732
  options:
733
733
  stabilityAiGeneratedAssetOptionsStabilityAiGeneratedAssetOptionsSchema,
734
- });
734
+ }).strict();
735
735
 
736
736
  export const stabilityAiGeneratedAssetSchema =
737
737
  stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema;
@@ -784,7 +784,7 @@ export const cropCropSchema = z.object({
784
784
  bottom: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
785
785
  left: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
786
786
  right: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
787
- });
787
+ }).strict();
788
788
 
789
789
  export const cropSchema = cropCropSchema;
790
790
 
@@ -796,7 +796,7 @@ export const googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOp
796
796
  bucket: z.string(),
797
797
  prefix: z.optional(z.string()),
798
798
  filename: z.optional(z.string()),
799
- });
799
+ }).strict();
800
800
 
801
801
  export const googleCloudStorageDestinationOptionsSchema =
802
802
  googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema;
@@ -810,7 +810,7 @@ export const googleCloudStorageDestinationGoogleCloudStorageDestinationSchema =
810
810
  options: z.optional(
811
811
  googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema,
812
812
  ),
813
- });
813
+ }).strict();
814
814
 
815
815
  export const googleCloudStorageDestinationSchema =
816
816
  googleCloudStorageDestinationGoogleCloudStorageDestinationSchema;
@@ -822,7 +822,7 @@ export const googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema =
822
822
  z.object({
823
823
  folderId: z.string(),
824
824
  filename: z.optional(z.string()),
825
- });
825
+ }).strict();
826
826
 
827
827
  export const googleDriveDestinationOptionsSchema =
828
828
  googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema;
@@ -833,7 +833,7 @@ export const googleDriveDestinationOptionsSchema =
833
833
  export const googleDriveDestinationGoogleDriveDestinationSchema = z.object({
834
834
  provider: z.literal("google-drive"),
835
835
  options: googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema,
836
- });
836
+ }).strict();
837
837
 
838
838
  export const googleDriveDestinationSchema =
839
839
  googleDriveDestinationGoogleDriveDestinationSchema;
@@ -844,7 +844,7 @@ export const googleDriveDestinationSchema =
844
844
  export const muxDestinationOptionsMuxDestinationOptionsSchema = z.object({
845
845
  playbackPolicy: z.optional(z.array(z.enum(["public", "signed"]))),
846
846
  passthrough: z.optional(z.string().max(255)),
847
- });
847
+ }).strict();
848
848
 
849
849
  export const muxDestinationOptionsSchema =
850
850
  muxDestinationOptionsMuxDestinationOptionsSchema;
@@ -855,7 +855,7 @@ export const muxDestinationOptionsSchema =
855
855
  export const muxDestinationMuxDestinationSchema = z.object({
856
856
  provider: z.literal("mux"),
857
857
  options: z.optional(muxDestinationOptionsMuxDestinationOptionsSchema),
858
- });
858
+ }).strict();
859
859
 
860
860
  export const muxDestinationSchema = muxDestinationMuxDestinationSchema;
861
861
 
@@ -868,7 +868,7 @@ export const s3DestinationOptionsS3DestinationOptionsSchema = z.object({
868
868
  prefix: z.optional(z.string()),
869
869
  filename: z.optional(z.string()),
870
870
  acl: z.optional(z.string()),
871
- });
871
+ }).strict();
872
872
 
873
873
  export const s3DestinationOptionsSchema =
874
874
  s3DestinationOptionsS3DestinationOptionsSchema;
@@ -879,7 +879,7 @@ export const s3DestinationOptionsSchema =
879
879
  export const s3DestinationS3DestinationSchema = z.object({
880
880
  provider: z.literal("s3"),
881
881
  options: z.optional(s3DestinationOptionsS3DestinationOptionsSchema),
882
- });
882
+ }).strict();
883
883
 
884
884
  export const s3DestinationSchema = s3DestinationS3DestinationSchema;
885
885
 
@@ -889,7 +889,7 @@ export const s3DestinationSchema = s3DestinationS3DestinationSchema;
889
889
  export const shotstackDestinationShotstackDestinationSchema = z.object({
890
890
  provider: z.literal("shotstack"),
891
891
  exclude: z.optional(z.boolean()),
892
- });
892
+ }).strict();
893
893
 
894
894
  export const shotstackDestinationSchema =
895
895
  shotstackDestinationShotstackDestinationSchema;
@@ -903,7 +903,7 @@ export const tiktokDestinationOptionsTiktokDestinationOptionsSchema = z.object({
903
903
  disableDuet: z.optional(z.boolean()).default(false),
904
904
  disableStitch: z.optional(z.boolean()).default(false),
905
905
  disableComment: z.optional(z.boolean()).default(false),
906
- });
906
+ }).strict();
907
907
 
908
908
  /**
909
909
  * Send videos to TikTok. TikTok credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/tiktok), not in the request.
@@ -911,7 +911,7 @@ export const tiktokDestinationOptionsTiktokDestinationOptionsSchema = z.object({
911
911
  export const tiktokDestinationTiktokDestinationSchema = z.object({
912
912
  provider: z.literal("tiktok"),
913
913
  options: z.optional(tiktokDestinationOptionsTiktokDestinationOptionsSchema),
914
- });
914
+ }).strict();
915
915
 
916
916
  /**
917
917
  * Options to control the visibility of videos and privacy features.
@@ -925,7 +925,7 @@ export const vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema
925
925
  comments: z.optional(z.enum(["anybody", "nobody", "contacts"])),
926
926
  download: z.optional(z.boolean()),
927
927
  add: z.optional(z.boolean()),
928
- });
928
+ }).strict();
929
929
 
930
930
  export const vimeoDestinationPrivacyOptionsSchema =
931
931
  vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema;
@@ -940,7 +940,7 @@ export const vimeoDestinationOptionsVimeoDestinationOptionsSchema = z.object({
940
940
  vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema,
941
941
  ),
942
942
  folderUri: z.optional(z.string()),
943
- });
943
+ }).strict();
944
944
 
945
945
  export const vimeoDestinationOptionsSchema =
946
946
  vimeoDestinationOptionsVimeoDestinationOptionsSchema;
@@ -951,7 +951,7 @@ export const vimeoDestinationOptionsSchema =
951
951
  export const vimeoDestinationVimeoDestinationSchema = z.object({
952
952
  provider: z.literal("vimeo"),
953
953
  options: z.optional(vimeoDestinationOptionsVimeoDestinationOptionsSchema),
954
- });
954
+ }).strict();
955
955
 
956
956
  export const vimeoDestinationSchema = vimeoDestinationVimeoDestinationSchema;
957
957
 
@@ -978,7 +978,7 @@ export const destinationsSchema = destinationsDestinationsSchema;
978
978
  export const fliptransformationFlipTransformationSchema = z.object({
979
979
  horizontal: z.optional(z.boolean()),
980
980
  vertical: z.optional(z.boolean()),
981
- });
981
+ }).strict();
982
982
 
983
983
  export const flipTransformationSchema =
984
984
  fliptransformationFlipTransformationSchema;
@@ -988,7 +988,7 @@ export const flipTransformationSchema =
988
988
  */
989
989
  export const fontFontSchema = z.object({
990
990
  src: z.string(),
991
- });
991
+ }).strict();
992
992
 
993
993
  export const fontSchema = fontFontSchema;
994
994
 
@@ -1022,7 +1022,7 @@ export const htmlassetHtmlAssetSchema = z.object({
1022
1022
  "center",
1023
1023
  ]),
1024
1024
  ),
1025
- });
1025
+ }).strict();
1026
1026
 
1027
1027
  export const htmlAssetSchema = htmlassetHtmlAssetSchema;
1028
1028
 
@@ -1033,7 +1033,7 @@ export const imageassetImageAssetSchema = z.object({
1033
1033
  type: z.enum(["image"]),
1034
1034
  src: z.string().min(1).regex(/\S/),
1035
1035
  crop: z.optional(cropCropSchema),
1036
- });
1036
+ }).strict();
1037
1037
 
1038
1038
  export const imageAssetSchema = imageassetImageAssetSchema;
1039
1039
 
@@ -1049,7 +1049,7 @@ export const imagetovideoassetImageToVideoAssetSchema = z.object({
1049
1049
  ),
1050
1050
  speed: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(10)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1051
1051
  crop: z.optional(cropCropSchema),
1052
- });
1052
+ }).strict();
1053
1053
 
1054
1054
  export const imageToVideoAssetSchema = imagetovideoassetImageToVideoAssetSchema;
1055
1055
 
@@ -1068,7 +1068,7 @@ export const dolbyEnhancementOptionsDolbyEnhancementOptionsSchema = z.object({
1068
1068
  "studio",
1069
1069
  "voice_over",
1070
1070
  ]),
1071
- });
1071
+ }).strict();
1072
1072
 
1073
1073
  export const dolbyEnhancementOptionsSchema =
1074
1074
  dolbyEnhancementOptionsDolbyEnhancementOptionsSchema;
@@ -1079,7 +1079,7 @@ export const dolbyEnhancementOptionsSchema =
1079
1079
  export const dolbyEnhancementDolbyEnhancementSchema = z.object({
1080
1080
  provider: z.string().default("dolby"),
1081
1081
  options: dolbyEnhancementOptionsDolbyEnhancementOptionsSchema,
1082
- });
1082
+ }).strict();
1083
1083
 
1084
1084
  export const dolbyEnhancementSchema = dolbyEnhancementDolbyEnhancementSchema;
1085
1085
 
@@ -1102,7 +1102,7 @@ export const audioEnhancementSchema = audioEnhancementAudioEnhancementSchema;
1102
1102
  */
1103
1103
  export const enhancementsEnhancementsSchema = z.object({
1104
1104
  audio: z.optional(audioEnhancementAudioEnhancementSchema),
1105
- });
1105
+ }).strict();
1106
1106
 
1107
1107
  export const enhancementsSchema = enhancementsEnhancementsSchema;
1108
1108
 
@@ -1113,7 +1113,7 @@ export const ingesterrorresponsedataIngestErrorResponseDataSchema = z.object({
1113
1113
  status: z.string(),
1114
1114
  title: z.string(),
1115
1115
  detail: z.string(),
1116
- });
1116
+ }).strict();
1117
1117
 
1118
1118
  export const ingestErrorResponseDataSchema =
1119
1119
  ingesterrorresponsedataIngestErrorResponseDataSchema;
@@ -1123,7 +1123,7 @@ export const ingestErrorResponseDataSchema =
1123
1123
  */
1124
1124
  export const ingesterrorresponseIngestErrorResponseSchema = z.object({
1125
1125
  errors: z.array(ingesterrorresponsedataIngestErrorResponseDataSchema),
1126
- });
1126
+ }).strict();
1127
1127
 
1128
1128
  export const ingestErrorResponseSchema =
1129
1129
  ingesterrorresponseIngestErrorResponseSchema;
@@ -1134,7 +1134,7 @@ export const ingestErrorResponseSchema =
1134
1134
  export const queuedsourceresponsedataQueuedSourceResponseDataSchema = z.object({
1135
1135
  type: z.string(),
1136
1136
  id: z.string(),
1137
- });
1137
+ }).strict();
1138
1138
 
1139
1139
  export const queuedSourceResponseDataSchema =
1140
1140
  queuedsourceresponsedataQueuedSourceResponseDataSchema;
@@ -1144,7 +1144,7 @@ export const queuedSourceResponseDataSchema =
1144
1144
  */
1145
1145
  export const queuedsourceresponseQueuedSourceResponseSchema = z.object({
1146
1146
  data: queuedsourceresponsedataQueuedSourceResponseDataSchema,
1147
- });
1147
+ }).strict();
1148
1148
 
1149
1149
  export const queuedSourceResponseSchema =
1150
1150
  queuedsourceresponseQueuedSourceResponseSchema;
@@ -1156,7 +1156,7 @@ export const uploadresponseattributesUploadResponseAttributesSchema = z.object({
1156
1156
  id: z.string(),
1157
1157
  url: z.string(),
1158
1158
  expires: z.string(),
1159
- });
1159
+ }).strict();
1160
1160
 
1161
1161
  export const uploadResponseAttributesSchema =
1162
1162
  uploadresponseattributesUploadResponseAttributesSchema;
@@ -1168,7 +1168,7 @@ export const uploadresponsedataUploadResponseDataSchema = z.object({
1168
1168
  type: z.string(),
1169
1169
  id: z.string(),
1170
1170
  attributes: uploadresponseattributesUploadResponseAttributesSchema,
1171
- });
1171
+ }).strict();
1172
1172
 
1173
1173
  export const uploadResponseDataSchema =
1174
1174
  uploadresponsedataUploadResponseDataSchema;
@@ -1178,7 +1178,7 @@ export const uploadResponseDataSchema =
1178
1178
  */
1179
1179
  export const uploadresponseUploadResponseSchema = z.object({
1180
1180
  data: uploadresponsedataUploadResponseDataSchema,
1181
- });
1181
+ }).strict();
1182
1182
 
1183
1183
  export const uploadResponseSchema = uploadresponseUploadResponseSchema;
1184
1184
 
@@ -1188,7 +1188,7 @@ export const uploadResponseSchema = uploadresponseUploadResponseSchema;
1188
1188
  export const speedSpeedSchema = z.object({
1189
1189
  speed: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(10)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1190
1190
  preservePitch: z.optional(z.boolean()),
1191
- });
1191
+ }).strict();
1192
1192
 
1193
1193
  export const speedSchema = speedSpeedSchema;
1194
1194
 
@@ -1197,7 +1197,7 @@ export const speedSchema = speedSpeedSchema;
1197
1197
  */
1198
1198
  export const transcriptionTranscriptionSchema = z.object({
1199
1199
  format: z.optional(z.enum(["srt", "vtt"])),
1200
- });
1200
+ }).strict();
1201
1201
 
1202
1202
  export const transcriptionSchema = transcriptionTranscriptionSchema;
1203
1203
 
@@ -1208,7 +1208,7 @@ export const lumaassetLumaAssetSchema = z.object({
1208
1208
  type: z.enum(["luma"]),
1209
1209
  src: z.string().min(1).regex(/\S/),
1210
1210
  trim: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1211
- });
1211
+ }).strict();
1212
1212
 
1213
1213
  export const lumaAssetSchema = lumaassetLumaAssetSchema;
1214
1214
 
@@ -1218,7 +1218,7 @@ export const lumaAssetSchema = lumaassetLumaAssetSchema;
1218
1218
  export const mergefieldMergeFieldSchema = z.object({
1219
1219
  find: z.string(),
1220
1220
  replace: z.union([z.string(), z.number(), z.boolean(), z.null(), z.record(z.string(), z.unknown()), z.array(z.unknown())]),
1221
- });
1221
+ }).strict();
1222
1222
 
1223
1223
  export const mergeFieldSchema = mergefieldMergeFieldSchema;
1224
1224
 
@@ -1227,7 +1227,7 @@ export const mergeFieldSchema = mergefieldMergeFieldSchema;
1227
1227
  */
1228
1228
  export const posterPosterSchema = z.object({
1229
1229
  capture: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1230
- });
1230
+ }).strict();
1231
1231
 
1232
1232
  export const posterSchema = posterPosterSchema;
1233
1233
 
@@ -1237,7 +1237,7 @@ export const posterSchema = posterPosterSchema;
1237
1237
  export const rangeRangeSchema = z.object({
1238
1238
  start: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1239
1239
  length: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1240
- });
1240
+ }).strict();
1241
1241
 
1242
1242
  export const rangeSchema = rangeRangeSchema;
1243
1243
 
@@ -1255,7 +1255,7 @@ export const assetresponseattributesAssetResponseAttributesSchema = z.object({
1255
1255
  status: z.enum(["importing", "ready", "failed", "deleted"]),
1256
1256
  created: z.optional(z.string()),
1257
1257
  updated: z.optional(z.string()),
1258
- });
1258
+ }).strict();
1259
1259
 
1260
1260
  export const assetResponseAttributesSchema =
1261
1261
  assetresponseattributesAssetResponseAttributesSchema;
@@ -1266,7 +1266,7 @@ export const assetResponseAttributesSchema =
1266
1266
  export const assetresponsedataAssetResponseDataSchema = z.object({
1267
1267
  type: z.string(),
1268
1268
  attributes: assetresponseattributesAssetResponseAttributesSchema,
1269
- });
1269
+ }).strict();
1270
1270
 
1271
1271
  export const assetResponseDataSchema = assetresponsedataAssetResponseDataSchema;
1272
1272
 
@@ -1275,7 +1275,7 @@ export const assetResponseDataSchema = assetresponsedataAssetResponseDataSchema;
1275
1275
  */
1276
1276
  export const assetrenderresponseAssetRenderResponseSchema = z.object({
1277
1277
  data: z.array(assetresponsedataAssetResponseDataSchema),
1278
- });
1278
+ }).strict();
1279
1279
 
1280
1280
  export const assetRenderResponseSchema =
1281
1281
  assetrenderresponseAssetRenderResponseSchema;
@@ -1285,7 +1285,7 @@ export const assetRenderResponseSchema =
1285
1285
  */
1286
1286
  export const assetresponseAssetResponseSchema = z.object({
1287
1287
  data: assetresponsedataAssetResponseDataSchema,
1288
- });
1288
+ }).strict();
1289
1289
 
1290
1290
  export const assetResponseSchema = assetresponseAssetResponseSchema;
1291
1291
 
@@ -1296,7 +1296,7 @@ export const proberesponseProbeResponseSchema = z.object({
1296
1296
  success: z.boolean(),
1297
1297
  message: z.string(),
1298
1298
  response: z.record(z.string(), z.unknown()),
1299
- });
1299
+ }).strict();
1300
1300
 
1301
1301
  export const probeResponseSchema = proberesponseProbeResponseSchema;
1302
1302
 
@@ -1306,7 +1306,7 @@ export const probeResponseSchema = proberesponseProbeResponseSchema;
1306
1306
  export const queuedresponsedataQueuedResponseDataSchema = z.object({
1307
1307
  message: z.string(),
1308
1308
  id: z.string(),
1309
- });
1309
+ }).strict();
1310
1310
 
1311
1311
  export const queuedResponseDataSchema =
1312
1312
  queuedresponsedataQueuedResponseDataSchema;
@@ -1318,7 +1318,7 @@ export const queuedresponseQueuedResponseSchema = z.object({
1318
1318
  success: z.boolean(),
1319
1319
  message: z.string(),
1320
1320
  response: queuedresponsedataQueuedResponseDataSchema,
1321
- });
1321
+ }).strict();
1322
1322
 
1323
1323
  export const queuedResponseSchema = queuedresponseQueuedResponseSchema;
1324
1324
 
@@ -1330,7 +1330,7 @@ export const templatelistresponseitemTemplateListResponseItemSchema = z.object({
1330
1330
  name: z.string(),
1331
1331
  created: z.optional(z.string()),
1332
1332
  updated: z.optional(z.string()),
1333
- });
1333
+ }).strict();
1334
1334
 
1335
1335
  export const templateListResponseItemSchema =
1336
1336
  templatelistresponseitemTemplateListResponseItemSchema;
@@ -1341,7 +1341,7 @@ export const templateListResponseItemSchema =
1341
1341
  export const templatelistresponsedataTemplateListResponseDataSchema = z.object({
1342
1342
  owner: z.string(),
1343
1343
  templates: z.array(templatelistresponseitemTemplateListResponseItemSchema),
1344
- });
1344
+ }).strict();
1345
1345
 
1346
1346
  export const templateListResponseDataSchema =
1347
1347
  templatelistresponsedataTemplateListResponseDataSchema;
@@ -1353,7 +1353,7 @@ export const templatelistresponseTemplateListResponseSchema = z.object({
1353
1353
  success: z.boolean(),
1354
1354
  message: z.string(),
1355
1355
  response: templatelistresponsedataTemplateListResponseDataSchema,
1356
- });
1356
+ }).strict();
1357
1357
 
1358
1358
  export const templateListResponseSchema =
1359
1359
  templatelistresponseTemplateListResponseSchema;
@@ -1364,7 +1364,7 @@ export const templateListResponseSchema =
1364
1364
  export const templateresponsedataTemplateResponseDataSchema = z.object({
1365
1365
  message: z.string(),
1366
1366
  id: z.string(),
1367
- });
1367
+ }).strict();
1368
1368
 
1369
1369
  export const templateResponseDataSchema =
1370
1370
  templateresponsedataTemplateResponseDataSchema;
@@ -1376,17 +1376,62 @@ export const templateresponseTemplateResponseSchema = z.object({
1376
1376
  success: z.boolean(),
1377
1377
  message: z.string(),
1378
1378
  response: templateresponsedataTemplateResponseDataSchema,
1379
- });
1379
+ }).strict();
1380
1380
 
1381
1381
  export const templateResponseSchema = templateresponseTemplateResponseSchema;
1382
1382
 
1383
+ /**
1384
+ * Font properties for the active/highlighted word.
1385
+ */
1386
+ export const richcaptionpropertiesRichCaptionActiveFontSchema = z.object({
1387
+ color: z.optional(z.union([z.string().regex(/^#[A-Fa-f0-9]{6}$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#ffff00"),
1388
+ background: z.optional(z.union([z.string().regex(/^#[A-Fa-f0-9]{6}$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1389
+ opacity: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1390
+ }).strict();
1391
+
1392
+ export const richCaptionActiveFontSchema =
1393
+ richcaptionpropertiesRichCaptionActiveFontSchema;
1394
+
1395
+ /**
1396
+ * Word-level animation properties for caption effects.
1397
+ */
1398
+ export const richcaptionpropertiesRichCaptionWordAnimationSchema = z.object({
1399
+ style: z.enum([
1400
+ "karaoke",
1401
+ "highlight",
1402
+ "pop",
1403
+ "fade",
1404
+ "slide",
1405
+ "bounce",
1406
+ "typewriter",
1407
+ "none",
1408
+ ]),
1409
+ speed: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0.5).lte(2)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1410
+ direction: z.optional(z.enum(["left", "right", "up", "down"])),
1411
+ }).strict();
1412
+
1413
+ export const richCaptionWordAnimationSchema =
1414
+ richcaptionpropertiesRichCaptionWordAnimationSchema;
1415
+
1416
+ /**
1417
+ * Word-level timing information for caption animation.
1418
+ */
1419
+ export const richcaptionpropertiesWordTimingSchema = z.object({
1420
+ text: z.string().min(1),
1421
+ start: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1422
+ end: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1423
+ confidence: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1424
+ }).strict();
1425
+
1426
+ export const wordTimingSchema = richcaptionpropertiesWordTimingSchema;
1427
+
1383
1428
  /**
1384
1429
  * Text alignment properties (horizontal and vertical).
1385
1430
  */
1386
1431
  export const richtextpropertiesRichTextAlignmentSchema = z.object({
1387
1432
  horizontal: z.optional(z.enum(["left", "center", "right"])),
1388
1433
  vertical: z.optional(z.enum(["top", "middle", "bottom"])),
1389
- });
1434
+ }).strict();
1390
1435
 
1391
1436
  export const richTextAlignmentSchema =
1392
1437
  richtextpropertiesRichTextAlignmentSchema;
@@ -1406,7 +1451,7 @@ export const richtextpropertiesRichTextAnimationSchema = z.object({
1406
1451
  duration: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0.1).lte(30)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1407
1452
  style: z.optional(z.enum(["character", "word"])),
1408
1453
  direction: z.optional(z.enum(["left", "right", "up", "down"])),
1409
- });
1454
+ }).strict();
1410
1455
 
1411
1456
  export const richTextAnimationSchema =
1412
1457
  richtextpropertiesRichTextAnimationSchema;
@@ -1418,7 +1463,7 @@ export const richtextpropertiesRichTextBackgroundSchema = z.object({
1418
1463
  color: z.optional(z.union([z.string().regex(/^#[A-Fa-f0-9]{6}$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1419
1464
  opacity: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1420
1465
  borderRadius: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1421
- });
1466
+ }).strict();
1422
1467
 
1423
1468
  export const richTextBackgroundSchema =
1424
1469
  richtextpropertiesRichTextBackgroundSchema;
@@ -1431,7 +1476,7 @@ export const richtextpropertiesRichTextBorderSchema = z.object({
1431
1476
  color: z.optional(z.union([z.string().regex(/^#[A-Fa-f0-9]{6}$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#000000"),
1432
1477
  opacity: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1433
1478
  radius: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1434
- });
1479
+ }).strict();
1435
1480
 
1436
1481
  /**
1437
1482
  * Gradient properties for text fill.
@@ -1447,7 +1492,7 @@ export const richtextpropertiesRichTextGradientSchema = z.object({
1447
1492
  }),
1448
1493
  )
1449
1494
  .min(2),
1450
- });
1495
+ }).strict();
1451
1496
 
1452
1497
  export const richTextGradientSchema = richtextpropertiesRichTextGradientSchema;
1453
1498
 
@@ -1459,7 +1504,7 @@ export const richtextpropertiesRichTextPaddingSchema = z.object({
1459
1504
  right: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1460
1505
  bottom: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1461
1506
  left: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1462
- });
1507
+ }).strict();
1463
1508
 
1464
1509
  /**
1465
1510
  * Text shadow properties.
@@ -1470,7 +1515,7 @@ export const richtextpropertiesRichTextShadowSchema = z.object({
1470
1515
  blur: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1471
1516
  color: z.optional(z.union([z.string().regex(/^#[A-Fa-f0-9]{6}$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#000000"),
1472
1517
  opacity: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5),
1473
- });
1518
+ }).strict();
1474
1519
 
1475
1520
  export const richTextShadowSchema = richtextpropertiesRichTextShadowSchema;
1476
1521
 
@@ -1481,10 +1526,22 @@ export const richtextpropertiesRichTextStrokeSchema = z.object({
1481
1526
  width: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1482
1527
  color: z.optional(z.union([z.string().regex(/^#[A-Fa-f0-9]{6}$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#000000"),
1483
1528
  opacity: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1484
- });
1529
+ }).strict();
1485
1530
 
1486
1531
  export const richTextStrokeSchema = richtextpropertiesRichTextStrokeSchema;
1487
1532
 
1533
+ /**
1534
+ * Styling properties for the active/highlighted word.
1535
+ */
1536
+ export const richcaptionpropertiesRichCaptionActiveSchema = z.object({
1537
+ font: z.optional(richcaptionpropertiesRichCaptionActiveFontSchema),
1538
+ stroke: z.optional(richtextpropertiesRichTextStrokeSchema),
1539
+ scale: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0.5).lte(2)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1540
+ }).strict();
1541
+
1542
+ export const richCaptionActiveSchema =
1543
+ richcaptionpropertiesRichCaptionActiveSchema;
1544
+
1488
1545
  /**
1489
1546
  * Font properties for rich text.
1490
1547
  */
@@ -1492,11 +1549,11 @@ export const richtextpropertiesRichTextFontSchema = z.object({
1492
1549
  family: z.optional(z.string()).default("Open Sans"),
1493
1550
  size: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int().gte(1).lte(500)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(24),
1494
1551
  weight: z.optional(z.unknown()).default("400"),
1495
- color: z.optional(z.union([z.string().regex(/^#[A-Fa-f0-9]{6}$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#ffffff"),
1552
+ color: z.optional(z.union([z.string().regex(/^#[A-Fa-f0-9]{6}$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#000000"),
1496
1553
  opacity: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1497
1554
  background: z.optional(z.union([z.string().regex(/^#[A-Fa-f0-9]{6}$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1498
1555
  stroke: z.optional(richtextpropertiesRichTextStrokeSchema),
1499
- });
1556
+ }).strict();
1500
1557
 
1501
1558
  export const richTextFontSchema = richtextpropertiesRichTextFontSchema;
1502
1559
 
@@ -1505,16 +1562,47 @@ export const richTextFontSchema = richtextpropertiesRichTextFontSchema;
1505
1562
  */
1506
1563
  export const richtextpropertiesRichTextStyleSchema = z.object({
1507
1564
  letterSpacing: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1565
+ wordSpacing: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1508
1566
  lineHeight: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(10)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1.2),
1509
1567
  textTransform: z.optional(
1510
1568
  z.enum(["none", "uppercase", "lowercase", "capitalize"]),
1511
1569
  ),
1512
1570
  textDecoration: z.optional(z.enum(["none", "underline", "line-through"])),
1513
1571
  gradient: z.optional(richtextpropertiesRichTextGradientSchema),
1514
- });
1572
+ }).strict();
1515
1573
 
1516
1574
  export const richTextStyleSchema = richtextpropertiesRichTextStyleSchema;
1517
1575
 
1576
+ /**
1577
+ * The RichCaptionAsset provides word-level caption animations with rich-text styling. It supports
1578
+ * karaoke-style highlighting, word-by-word animations, and advanced typography. Use with SRT/VTT
1579
+ * files or auto-transcription via aliases.
1580
+ *
1581
+ */
1582
+ export const richcaptionassetRichCaptionAssetSchema = z.object({
1583
+ type: z.enum(["rich-caption"]),
1584
+ src: z.optional(z.string().min(1)),
1585
+ words: z.optional(z.array(richcaptionpropertiesWordTimingSchema).max(100000)),
1586
+ font: z.optional(richtextpropertiesRichTextFontSchema),
1587
+ style: z.optional(richtextpropertiesRichTextStyleSchema),
1588
+ stroke: z.optional(richtextpropertiesRichTextStrokeSchema),
1589
+ shadow: z.optional(richtextpropertiesRichTextShadowSchema),
1590
+ background: z.optional(richtextpropertiesRichTextBackgroundSchema),
1591
+ padding: z.optional(
1592
+ z.union([z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), richtextpropertiesRichTextPaddingSchema]),
1593
+ ),
1594
+ align: z.optional(richtextpropertiesRichTextAlignmentSchema),
1595
+ active: z.optional(richcaptionpropertiesRichCaptionActiveSchema),
1596
+ wordAnimation: z.optional(
1597
+ richcaptionpropertiesRichCaptionWordAnimationSchema,
1598
+ ),
1599
+ position: z.optional(z.enum(["top", "center", "bottom"])),
1600
+ maxWidth: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0.1).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.9),
1601
+ maxLines: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int().gte(1).lte(10)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(2),
1602
+ }).strict();
1603
+
1604
+ export const richCaptionAssetSchema = richcaptionassetRichCaptionAssetSchema;
1605
+
1518
1606
  /**
1519
1607
  * The RichTextAsset provides advanced text rendering with support for custom fonts, gradients, shadows, strokes,
1520
1608
  * animations, and styling options. It offers more flexibility and visual effects than the basic TextAsset.
@@ -1534,7 +1622,7 @@ export const richtextassetRichTextAssetSchema = z.object({
1534
1622
  ),
1535
1623
  align: z.optional(richtextpropertiesRichTextAlignmentSchema),
1536
1624
  animation: z.optional(richtextpropertiesRichTextAnimationSchema),
1537
- });
1625
+ }).strict();
1538
1626
 
1539
1627
  export const richTextAssetSchema = richtextassetRichTextAssetSchema;
1540
1628
 
@@ -1547,7 +1635,7 @@ export const transferresponseattributesTransferResponseAttributesSchema =
1547
1635
  owner: z.optional(z.string()),
1548
1636
  status: z.optional(z.enum(["queued", "failed"])),
1549
1637
  created: z.optional(z.string()),
1550
- });
1638
+ }).strict();
1551
1639
 
1552
1640
  export const transferResponseAttributesSchema =
1553
1641
  transferresponseattributesTransferResponseAttributesSchema;
@@ -1560,7 +1648,7 @@ export const transferresponsedataTransferResponseDataSchema = z.object({
1560
1648
  attributes: z.optional(
1561
1649
  transferresponseattributesTransferResponseAttributesSchema,
1562
1650
  ),
1563
- });
1651
+ }).strict();
1564
1652
 
1565
1653
  export const transferResponseDataSchema =
1566
1654
  transferresponsedataTransferResponseDataSchema;
@@ -1570,7 +1658,7 @@ export const transferResponseDataSchema =
1570
1658
  */
1571
1659
  export const transferresponseTransferResponseSchema = z.object({
1572
1660
  data: transferresponsedataTransferResponseDataSchema,
1573
- });
1661
+ }).strict();
1574
1662
 
1575
1663
  export const transferResponseSchema = transferresponseTransferResponseSchema;
1576
1664
 
@@ -1581,7 +1669,7 @@ export const transferTransferSchema = z.object({
1581
1669
  url: z.string(),
1582
1670
  id: z.string(),
1583
1671
  destinations: z.array(destinationsDestinationsSchema),
1584
- });
1672
+ }).strict();
1585
1673
 
1586
1674
  export const transferSchema = transferTransferSchema;
1587
1675
 
@@ -1625,7 +1713,7 @@ export const shapeassetShapeAssetSchema = z.object({
1625
1713
  thickness: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1626
1714
  }),
1627
1715
  ),
1628
- });
1716
+ }).strict();
1629
1717
 
1630
1718
  export const shapeAssetSchema = shapeassetShapeAssetSchema;
1631
1719
 
@@ -1635,7 +1723,7 @@ export const shapeAssetSchema = shapeassetShapeAssetSchema;
1635
1723
  export const sizeSizeSchema = z.object({
1636
1724
  width: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int().gte(1).lte(4096)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1637
1725
  height: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int().gte(1).lte(4096)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1638
- });
1726
+ }).strict();
1639
1727
 
1640
1728
  export const sizeSchema = sizeSizeSchema;
1641
1729
 
@@ -1687,7 +1775,7 @@ export const renditionRenditionSchema = z.object({
1687
1775
  fixRotation: z.optional(z.boolean()),
1688
1776
  enhance: z.optional(enhancementsEnhancementsSchema),
1689
1777
  filename: z.optional(z.string()),
1690
- });
1778
+ }).strict();
1691
1779
 
1692
1780
  export const renditionSchema = renditionRenditionSchema;
1693
1781
 
@@ -1697,7 +1785,7 @@ export const renditionSchema = renditionRenditionSchema;
1697
1785
  export const outputsOutputsSchema = z.object({
1698
1786
  renditions: z.optional(z.array(renditionRenditionSchema)),
1699
1787
  transcription: z.optional(transcriptionTranscriptionSchema),
1700
- });
1788
+ }).strict();
1701
1789
 
1702
1790
  export const outputsSchema = outputsOutputsSchema;
1703
1791
 
@@ -1724,7 +1812,7 @@ export const renditionresponseattributesRenditionResponseAttributesSchema =
1724
1812
  height: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1725
1813
  duration: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1726
1814
  fps: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1727
- });
1815
+ }).strict();
1728
1816
 
1729
1817
  export const renditionResponseAttributesSchema =
1730
1818
  renditionresponseattributesRenditionResponseAttributesSchema;
@@ -1736,7 +1824,7 @@ export const outputsresponseOutputsResponseSchema = z.object({
1736
1824
  renditions: z.optional(
1737
1825
  z.array(renditionresponseattributesRenditionResponseAttributesSchema),
1738
1826
  ),
1739
- });
1827
+ }).strict();
1740
1828
 
1741
1829
  export const outputsResponseSchema = outputsresponseOutputsResponseSchema;
1742
1830
 
@@ -1765,7 +1853,7 @@ export const sourceresponseattributesSourceResponseAttributesSchema = z.object({
1765
1853
  fps: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1766
1854
  created: z.optional(z.string()),
1767
1855
  updated: z.optional(z.string()),
1768
- });
1856
+ }).strict();
1769
1857
 
1770
1858
  export const sourceResponseAttributesSchema =
1771
1859
  sourceresponseattributesSourceResponseAttributesSchema;
@@ -1777,7 +1865,7 @@ export const sourceresponsedataSourceResponseDataSchema = z.object({
1777
1865
  type: z.string(),
1778
1866
  id: z.string(),
1779
1867
  attributes: sourceresponseattributesSourceResponseAttributesSchema,
1780
- });
1868
+ }).strict();
1781
1869
 
1782
1870
  export const sourceResponseDataSchema =
1783
1871
  sourceresponsedataSourceResponseDataSchema;
@@ -1787,7 +1875,7 @@ export const sourceResponseDataSchema =
1787
1875
  */
1788
1876
  export const sourcelistresponseSourceListResponseSchema = z.object({
1789
1877
  data: z.array(sourceresponsedataSourceResponseDataSchema),
1790
- });
1878
+ }).strict();
1791
1879
 
1792
1880
  export const sourceListResponseSchema =
1793
1881
  sourcelistresponseSourceListResponseSchema;
@@ -1797,7 +1885,7 @@ export const sourceListResponseSchema =
1797
1885
  */
1798
1886
  export const sourceresponseSourceResponseSchema = z.object({
1799
1887
  data: sourceresponsedataSourceResponseDataSchema,
1800
- });
1888
+ }).strict();
1801
1889
 
1802
1890
  export const sourceResponseSchema = sourceresponseSourceResponseSchema;
1803
1891
 
@@ -1810,7 +1898,7 @@ export const sourceSourceSchema = z.object({
1810
1898
  outputs: z.optional(outputsOutputsSchema),
1811
1899
  destinations: z.optional(destinationsDestinationsSchema),
1812
1900
  callback: z.optional(z.string()),
1813
- });
1901
+ }).strict();
1814
1902
 
1815
1903
  export const sourceSchema = sourceSourceSchema;
1816
1904
 
@@ -1821,7 +1909,7 @@ export const soundtrackSoundtrackSchema = z.object({
1821
1909
  src: z.string().min(1).regex(/\S/),
1822
1910
  effect: z.optional(z.enum(["fadeIn", "fadeOut", "fadeInFadeOut"])),
1823
1911
  volume: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
1824
- });
1912
+ }).strict();
1825
1913
 
1826
1914
  export const soundtrackSchema = soundtrackSoundtrackSchema;
1827
1915
 
@@ -1833,7 +1921,7 @@ export const soundtrackSchema = soundtrackSoundtrackSchema;
1833
1921
  export const svgpropertiesSvgGradientStopSchema = z.object({
1834
1922
  offset: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1835
1923
  color: z.union([z.string().regex(/^#[A-Fa-f0-9]{6}$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1836
- });
1924
+ }).strict();
1837
1925
 
1838
1926
  export const svgGradientStopSchema = svgpropertiesSvgGradientStopSchema;
1839
1927
 
@@ -1847,7 +1935,7 @@ export const svgpropertiesSvgLinearGradientFillSchema = z.object({
1847
1935
  angle: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(360)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1848
1936
  stops: z.array(svgpropertiesSvgGradientStopSchema).min(2),
1849
1937
  opacity: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1850
- });
1938
+ }).strict();
1851
1939
 
1852
1940
  export const svgLinearGradientFillSchema =
1853
1941
  svgpropertiesSvgLinearGradientFillSchema;
@@ -1861,7 +1949,7 @@ export const svgpropertiesSvgRadialGradientFillSchema = z.object({
1861
1949
  type: z.enum(["radial"]),
1862
1950
  stops: z.array(svgpropertiesSvgGradientStopSchema).min(2),
1863
1951
  opacity: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1864
- });
1952
+ }).strict();
1865
1953
 
1866
1954
  export const svgRadialGradientFillSchema =
1867
1955
  svgpropertiesSvgRadialGradientFillSchema;
@@ -1876,7 +1964,7 @@ export const svgpropertiesSvgShadowSchema = z.object({
1876
1964
  blur: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1877
1965
  color: z.optional(z.union([z.string().regex(/^#[A-Fa-f0-9]{6}$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#000000"),
1878
1966
  opacity: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5),
1879
- });
1967
+ }).strict();
1880
1968
 
1881
1969
  export const svgShadowSchema = svgpropertiesSvgShadowSchema;
1882
1970
 
@@ -1890,7 +1978,7 @@ export const svgpropertiesSvgSolidFillSchema = z.object({
1890
1978
  .regex(/^#[A-Fa-f0-9]{6}$/)
1891
1979
  .default("#000000"),
1892
1980
  opacity: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1893
- });
1981
+ }).strict();
1894
1982
 
1895
1983
  export const svgSolidFillSchema = svgpropertiesSvgSolidFillSchema;
1896
1984
 
@@ -1920,7 +2008,7 @@ export const svgpropertiesSvgStrokeSchema = z.object({
1920
2008
  lineJoin: z.optional(z.enum(["miter", "round", "bevel"])),
1921
2009
  dashArray: z.optional(z.array(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))),
1922
2010
  dashOffset: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
1923
- });
2011
+ }).strict();
1924
2012
 
1925
2013
  export const svgStrokeSchema = svgpropertiesSvgStrokeSchema;
1926
2014
 
@@ -1935,7 +2023,7 @@ export const svgpropertiesSvgTransformSchema = z.object({
1935
2023
  scale: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0.01).lte(100)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
1936
2024
  originX: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5),
1937
2025
  originY: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5),
1938
- });
2026
+ }).strict();
1939
2027
 
1940
2028
  export const svgTransformSchema = svgpropertiesSvgTransformSchema;
1941
2029
 
@@ -1950,7 +2038,7 @@ export const svgshapesSvgArrowShapeSchema = z.object({
1950
2038
  headWidth: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(1000)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1951
2039
  headLength: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(1000)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1952
2040
  shaftWidth: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(1000)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1953
- });
2041
+ }).strict();
1954
2042
 
1955
2043
  export const svgArrowShapeSchema = svgshapesSvgArrowShapeSchema;
1956
2044
 
@@ -1962,7 +2050,7 @@ export const svgArrowShapeSchema = svgshapesSvgArrowShapeSchema;
1962
2050
  export const svgshapesSvgCircleShapeSchema = z.object({
1963
2051
  type: z.enum(["circle"]),
1964
2052
  radius: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(2048)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1965
- });
2053
+ }).strict();
1966
2054
 
1967
2055
  export const svgCircleShapeSchema = svgshapesSvgCircleShapeSchema;
1968
2056
 
@@ -1976,7 +2064,7 @@ export const svgshapesSvgCrossShapeSchema = z.object({
1976
2064
  width: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(4096)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1977
2065
  height: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(4096)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1978
2066
  thickness: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(500)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1979
- });
2067
+ }).strict();
1980
2068
 
1981
2069
  export const svgCrossShapeSchema = svgshapesSvgCrossShapeSchema;
1982
2070
 
@@ -1989,7 +2077,7 @@ export const svgshapesSvgEllipseShapeSchema = z.object({
1989
2077
  type: z.enum(["ellipse"]),
1990
2078
  radiusX: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(2048)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1991
2079
  radiusY: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(2048)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
1992
- });
2080
+ }).strict();
1993
2081
 
1994
2082
  export const svgEllipseShapeSchema = svgshapesSvgEllipseShapeSchema;
1995
2083
 
@@ -2001,7 +2089,7 @@ export const svgEllipseShapeSchema = svgshapesSvgEllipseShapeSchema;
2001
2089
  export const svgshapesSvgHeartShapeSchema = z.object({
2002
2090
  type: z.enum(["heart"]),
2003
2091
  size: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(4096)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2004
- });
2092
+ }).strict();
2005
2093
 
2006
2094
  export const svgHeartShapeSchema = svgshapesSvgHeartShapeSchema;
2007
2095
 
@@ -2014,7 +2102,7 @@ export const svgshapesSvgLineShapeSchema = z.object({
2014
2102
  type: z.enum(["line"]),
2015
2103
  length: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(4096)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2016
2104
  thickness: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(500)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2017
- });
2105
+ }).strict();
2018
2106
 
2019
2107
  export const svgLineShapeSchema = svgshapesSvgLineShapeSchema;
2020
2108
 
@@ -2038,7 +2126,7 @@ export const svgLineShapeSchema = svgshapesSvgLineShapeSchema;
2038
2126
  export const svgshapesSvgPathShapeSchema = z.object({
2039
2127
  type: z.enum(["path"]),
2040
2128
  d: z.string().min(1).max(100000),
2041
- });
2129
+ }).strict();
2042
2130
 
2043
2131
  export const svgPathShapeSchema = svgshapesSvgPathShapeSchema;
2044
2132
 
@@ -2052,7 +2140,7 @@ export const svgshapesSvgPolygonShapeSchema = z.object({
2052
2140
  type: z.enum(["polygon"]),
2053
2141
  sides: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int().gte(3).lte(100)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2054
2142
  radius: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(2048)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2055
- });
2143
+ }).strict();
2056
2144
 
2057
2145
  export const svgPolygonShapeSchema = svgshapesSvgPolygonShapeSchema;
2058
2146
 
@@ -2066,7 +2154,7 @@ export const svgshapesSvgRectangleShapeSchema = z.object({
2066
2154
  width: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(4096)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2067
2155
  height: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(4096)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2068
2156
  cornerRadius: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(2048)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
2069
- });
2157
+ }).strict();
2070
2158
 
2071
2159
  export const svgRectangleShapeSchema = svgshapesSvgRectangleShapeSchema;
2072
2160
 
@@ -2079,7 +2167,7 @@ export const svgshapesSvgRingShapeSchema = z.object({
2079
2167
  type: z.enum(["ring"]),
2080
2168
  outerRadius: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(2048)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2081
2169
  innerRadius: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(2048)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2082
- });
2170
+ }).strict();
2083
2171
 
2084
2172
  export const svgRingShapeSchema = svgshapesSvgRingShapeSchema;
2085
2173
 
@@ -2094,7 +2182,7 @@ export const svgshapesSvgStarShapeSchema = z.object({
2094
2182
  points: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int().gte(3).lte(100)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2095
2183
  outerRadius: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(2048)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2096
2184
  innerRadius: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(1).lte(2048)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2097
- });
2185
+ }).strict();
2098
2186
 
2099
2187
  export const svgStarShapeSchema = svgshapesSvgStarShapeSchema;
2100
2188
 
@@ -2174,7 +2262,7 @@ export const svgassetSvgAssetSchema = z.object({
2174
2262
  opacity: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
2175
2263
  width: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int().gte(1).lte(4096)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2176
2264
  height: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int().gte(1).lte(4096)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2177
- }).superRefine((data, ctx) => {
2265
+ }).strict().superRefine((data, ctx) => {
2178
2266
  const hasShape = data.shape !== undefined;
2179
2267
  const hasSrc = data.src !== undefined && data.src.trim() !== "";
2180
2268
 
@@ -2216,7 +2304,7 @@ export const svgAssetSchema = svgassetSvgAssetSchema;
2216
2304
  export const templaterenderTemplateRenderSchema = z.object({
2217
2305
  id: z.string(),
2218
2306
  merge: z.optional(z.array(mergefieldMergeFieldSchema)),
2219
- });
2307
+ }).strict();
2220
2308
 
2221
2309
  export const templateRenderSchema = templaterenderTemplateRenderSchema;
2222
2310
 
@@ -2226,7 +2314,7 @@ export const templateRenderSchema = templaterenderTemplateRenderSchema;
2226
2314
  export const textpropertiesTextAlignmentSchema = z.object({
2227
2315
  horizontal: z.optional(z.enum(["left", "center", "right"])),
2228
2316
  vertical: z.optional(z.enum(["top", "center", "bottom"])),
2229
- });
2317
+ }).strict();
2230
2318
 
2231
2319
  export const textAlignmentSchema = textpropertiesTextAlignmentSchema;
2232
2320
 
@@ -2236,7 +2324,7 @@ export const textAlignmentSchema = textpropertiesTextAlignmentSchema;
2236
2324
  export const textpropertiesTextAnimationSchema = z.object({
2237
2325
  preset: z.enum(["typewriter"]),
2238
2326
  duration: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0.1).lte(30)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2239
- });
2327
+ }).strict();
2240
2328
 
2241
2329
  /**
2242
2330
  * Displays a background box behind the text.
@@ -2246,7 +2334,7 @@ export const textpropertiesTextBackgroundSchema = z.object({
2246
2334
  opacity: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2247
2335
  padding: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(100)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2248
2336
  borderRadius: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2249
- });
2337
+ }).strict();
2250
2338
 
2251
2339
  export const textBackgroundSchema = textpropertiesTextBackgroundSchema;
2252
2340
 
@@ -2260,7 +2348,7 @@ export const textpropertiesTextFontSchema = z.object({
2260
2348
  size: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2261
2349
  weight: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2262
2350
  lineHeight: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2263
- });
2351
+ }).strict();
2264
2352
 
2265
2353
  export const textFontSchema = textpropertiesTextFontSchema;
2266
2354
 
@@ -2270,7 +2358,7 @@ export const textFontSchema = textpropertiesTextFontSchema;
2270
2358
  export const textpropertiesTextStrokeSchema = z.object({
2271
2359
  width: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(10)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2272
2360
  color: z.optional(z.union([z.string().regex(/^#[A-Fa-f0-9]{6}$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2273
- });
2361
+ }).strict();
2274
2362
 
2275
2363
  /**
2276
2364
  * The TextAsset is used to add text and titles to a video. The text can be styled with built in and custom
@@ -2288,7 +2376,7 @@ export const textassetTextAssetSchema = z.object({
2288
2376
  stroke: z.optional(textpropertiesTextStrokeSchema),
2289
2377
  animation: z.optional(textpropertiesTextAnimationSchema),
2290
2378
  ellipsis: z.optional(z.string()),
2291
- });
2379
+ }).strict();
2292
2380
 
2293
2381
  export const textAssetSchema = textassetTextAssetSchema;
2294
2382
 
@@ -2301,7 +2389,7 @@ export const texttoimageassetTextToImageAssetSchema = z.object({
2301
2389
  width: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2302
2390
  height: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().int()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2303
2391
  crop: z.optional(cropCropSchema),
2304
- });
2392
+ }).strict();
2305
2393
 
2306
2394
  export const textToImageAssetSchema = texttoimageassetTextToImageAssetSchema;
2307
2395
 
@@ -2311,7 +2399,7 @@ export const textToImageAssetSchema = texttoimageassetTextToImageAssetSchema;
2311
2399
  export const thumbnailThumbnailSchema = z.object({
2312
2400
  capture: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2313
2401
  scale: z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(1)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2314
- });
2402
+ }).strict();
2315
2403
 
2316
2404
  export const thumbnailSchema = thumbnailThumbnailSchema;
2317
2405
 
@@ -2348,7 +2436,7 @@ export const outputOutputSchema = z.object({
2348
2436
  poster: z.optional(posterPosterSchema),
2349
2437
  thumbnail: z.optional(thumbnailThumbnailSchema),
2350
2438
  destinations: z.optional(z.array(destinationsDestinationsSchema)),
2351
- });
2439
+ }).strict();
2352
2440
 
2353
2441
  export const outputSchema = outputOutputSchema;
2354
2442
 
@@ -2488,7 +2576,7 @@ export const transitionTransitionSchema = z.object({
2488
2576
  "zoom",
2489
2577
  ]),
2490
2578
  ),
2491
- });
2579
+ }).strict();
2492
2580
 
2493
2581
  export const transitionSchema = transitionTransitionSchema;
2494
2582
 
@@ -2540,7 +2628,7 @@ export const tweenTweenSchema = z.object({
2540
2628
  "easeInOutBack",
2541
2629
  ]),
2542
2630
  ),
2543
- });
2631
+ }).strict();
2544
2632
 
2545
2633
  export const tweenSchema = tweenTweenSchema;
2546
2634
 
@@ -2556,7 +2644,7 @@ export const audioassetAudioAssetSchema = z.object({
2556
2644
  ),
2557
2645
  speed: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(10)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2558
2646
  effect: z.optional(z.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
2559
- });
2647
+ }).strict();
2560
2648
 
2561
2649
  export const audioAssetSchema = audioassetAudioAssetSchema;
2562
2650
 
@@ -2570,7 +2658,7 @@ export const offsetOffsetSchema = z.object({
2570
2658
  y: z.optional(
2571
2659
  z.union([z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(-10).lte(10)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), z.array(tweenTweenSchema)]),
2572
2660
  ),
2573
- });
2661
+ }).strict();
2574
2662
 
2575
2663
  export const offsetSchema = offsetOffsetSchema;
2576
2664
 
@@ -2581,7 +2669,7 @@ export const rotatetransformationRotateTransformationSchema = z.object({
2581
2669
  angle: z.optional(
2582
2670
  z.union([z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(-360).lte(360)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), z.array(tweenTweenSchema)]),
2583
2671
  ),
2584
- });
2672
+ }).strict();
2585
2673
 
2586
2674
  export const rotateTransformationSchema =
2587
2675
  rotatetransformationRotateTransformationSchema;
@@ -2596,7 +2684,7 @@ export const skewtransformationSkewTransformationSchema = z.object({
2596
2684
  y: z.optional(
2597
2685
  z.union([z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(-100).lte(100)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), z.array(tweenTweenSchema)]),
2598
2686
  ),
2599
- });
2687
+ }).strict();
2600
2688
 
2601
2689
  export const skewTransformationSchema =
2602
2690
  skewtransformationSkewTransformationSchema;
@@ -2616,7 +2704,7 @@ export const texttospeechassetTextToSpeechAssetSchema = z.object({
2616
2704
  ),
2617
2705
  speed: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(10)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2618
2706
  effect: z.optional(z.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
2619
- });
2707
+ }).strict();
2620
2708
 
2621
2709
  export const textToSpeechAssetSchema = texttospeechassetTextToSpeechAssetSchema;
2622
2710
 
@@ -2672,7 +2760,7 @@ export const titleassetTitleAssetSchema = z.object({
2672
2760
  ]),
2673
2761
  ),
2674
2762
  offset: z.optional(offsetOffsetSchema),
2675
- });
2763
+ }).strict();
2676
2764
 
2677
2765
  export const titleAssetSchema = titleassetTitleAssetSchema;
2678
2766
 
@@ -2683,7 +2771,7 @@ export const transformationTransformationSchema = z.object({
2683
2771
  rotate: z.optional(rotatetransformationRotateTransformationSchema),
2684
2772
  skew: z.optional(skewtransformationSkewTransformationSchema),
2685
2773
  flip: z.optional(fliptransformationFlipTransformationSchema),
2686
- });
2774
+ }).strict();
2687
2775
 
2688
2776
  export const transformationSchema = transformationTransformationSchema;
2689
2777
 
@@ -2704,7 +2792,7 @@ export const videoassetVideoAssetSchema = z.object({
2704
2792
  speed: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0).lte(10)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2705
2793
  crop: z.optional(cropCropSchema),
2706
2794
  chromaKey: z.optional(chromakeyChromaKeySchema),
2707
- });
2795
+ }).strict();
2708
2796
 
2709
2797
  export const videoAssetSchema = videoassetVideoAssetSchema;
2710
2798
 
@@ -2719,6 +2807,7 @@ export const assetAssetSchema = z.discriminatedUnion("type", [
2719
2807
  audioassetAudioAssetSchema,
2720
2808
  lumaassetLumaAssetSchema,
2721
2809
  captionassetCaptionAssetSchema,
2810
+ richcaptionassetRichCaptionAssetSchema,
2722
2811
  htmlassetHtmlAssetSchema,
2723
2812
  titleassetTitleAssetSchema,
2724
2813
  shapeassetShapeAssetSchema,
@@ -2800,7 +2889,7 @@ export const clipClipSchema = z.object({
2800
2889
  opacity: z.optional(z.union([z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), z.array(tweenTweenSchema)])),
2801
2890
  transform: z.optional(transformationTransformationSchema),
2802
2891
  alias: z.optional(z.union([z.string().regex(/^[A-Za-z0-9_-]+$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
2803
- });
2892
+ }).strict();
2804
2893
 
2805
2894
  export const clipSchema = clipClipSchema;
2806
2895
 
@@ -2822,7 +2911,7 @@ const clipClipSchemaWithFitFilter = clipClipSchema.transform((clip) => {
2822
2911
  */
2823
2912
  export const trackTrackSchema = z.object({
2824
2913
  clips: z.array(clipClipSchemaWithFitFilter).min(1),
2825
- });
2914
+ }).strict();
2826
2915
 
2827
2916
  export const trackSchema = trackTrackSchema;
2828
2917
 
@@ -2835,7 +2924,7 @@ export const timelineTimelineSchema = z.object({
2835
2924
  fonts: z.optional(z.array(fontFontSchema)),
2836
2925
  tracks: z.array(trackTrackSchema).min(1),
2837
2926
  cache: z.optional(z.boolean()),
2838
- });
2927
+ }).strict();
2839
2928
 
2840
2929
  export const timelineSchema = timelineTimelineSchema;
2841
2930
 
@@ -2848,7 +2937,7 @@ export const editEditSchema = z.object({
2848
2937
  merge: z.optional(z.array(mergefieldMergeFieldSchema)),
2849
2938
  callback: z.optional(z.string()),
2850
2939
  disk: z.optional(z.enum(["local", "mount"])),
2851
- });
2940
+ }).strict();
2852
2941
 
2853
2942
  export const editSchema = editEditSchema;
2854
2943
 
@@ -2877,7 +2966,7 @@ export const renderresponsedataRenderResponseDataSchema = z.object({
2877
2966
  data: z.optional(editEditSchema),
2878
2967
  created: z.optional(z.string()),
2879
2968
  updated: z.optional(z.string()),
2880
- });
2969
+ }).strict();
2881
2970
 
2882
2971
  export const renderResponseDataSchema =
2883
2972
  renderresponsedataRenderResponseDataSchema;
@@ -2889,7 +2978,7 @@ export const renderresponseRenderResponseSchema = z.object({
2889
2978
  success: z.boolean(),
2890
2979
  message: z.string(),
2891
2980
  response: renderresponsedataRenderResponseDataSchema,
2892
- });
2981
+ }).strict();
2893
2982
 
2894
2983
  export const renderResponseSchema = renderresponseRenderResponseSchema;
2895
2984
 
@@ -2901,7 +2990,7 @@ export const templatedataresponsedataTemplateDataResponseDataSchema = z.object({
2901
2990
  name: z.string(),
2902
2991
  owner: z.string(),
2903
2992
  template: editEditSchema,
2904
- });
2993
+ }).strict();
2905
2994
 
2906
2995
  export const templateDataResponseDataSchema =
2907
2996
  templatedataresponsedataTemplateDataResponseDataSchema;
@@ -2913,7 +3002,7 @@ export const templatedataresponseTemplateDataResponseSchema = z.object({
2913
3002
  success: z.boolean(),
2914
3003
  message: z.string(),
2915
3004
  response: templatedataresponsedataTemplateDataResponseDataSchema,
2916
- });
3005
+ }).strict();
2917
3006
 
2918
3007
  export const templateDataResponseSchema =
2919
3008
  templatedataresponseTemplateDataResponseSchema;
@@ -2924,7 +3013,7 @@ export const templateDataResponseSchema =
2924
3013
  export const templateTemplateSchema = z.object({
2925
3014
  name: z.string(),
2926
3015
  template: z.optional(editEditSchema),
2927
- });
3016
+ }).strict();
2928
3017
 
2929
3018
  export const templateSchema = templateTemplateSchema;
2930
3019
 
@@ -2932,7 +3021,7 @@ export const postRenderRequest = z.object({
2932
3021
  body: editEditSchema,
2933
3022
  path: z.optional(z.never()),
2934
3023
  query: z.optional(z.never()),
2935
- });
3024
+ }).strict();
2936
3025
 
2937
3026
  /**
2938
3027
  * The queued render details
@@ -2954,7 +3043,7 @@ export const getRenderRequest = z.object({
2954
3043
  merged: z.optional(z.boolean()),
2955
3044
  }),
2956
3045
  ),
2957
- });
3046
+ }).strict();
2958
3047
 
2959
3048
  /**
2960
3049
  * The render status details
@@ -2965,7 +3054,7 @@ export const getTemplatesRequest = z.object({
2965
3054
  body: z.optional(z.never()),
2966
3055
  path: z.optional(z.never()),
2967
3056
  query: z.optional(z.never()),
2968
- });
3057
+ }).strict();
2969
3058
 
2970
3059
  /**
2971
3060
  * The list of templates stored against a users account
@@ -2977,7 +3066,7 @@ export const postTemplateRequest = z.object({
2977
3066
  body: templateTemplateSchema,
2978
3067
  path: z.optional(z.never()),
2979
3068
  query: z.optional(z.never()),
2980
- });
3069
+ }).strict();
2981
3070
 
2982
3071
  /**
2983
3072
  * The saved template status including the id
@@ -2994,7 +3083,7 @@ export const deleteTemplateRequest = z.object({
2994
3083
  ),
2995
3084
  }),
2996
3085
  query: z.optional(z.never()),
2997
- });
3086
+ }).strict();
2998
3087
 
2999
3088
  /**
3000
3089
  * An empty response signifying the template has been deleted
@@ -3011,7 +3100,7 @@ export const getTemplateRequest = z.object({
3011
3100
  ),
3012
3101
  }),
3013
3102
  query: z.optional(z.never()),
3014
- });
3103
+ }).strict();
3015
3104
 
3016
3105
  /**
3017
3106
  * The template details including the [Edit](#tocs_edit)
@@ -3029,7 +3118,7 @@ export const putTemplateRequest = z.object({
3029
3118
  ),
3030
3119
  }),
3031
3120
  query: z.optional(z.never()),
3032
- });
3121
+ }).strict();
3033
3122
 
3034
3123
  /**
3035
3124
  * Update a templates name and [Edit](#tocs_edit)
@@ -3040,7 +3129,7 @@ export const postTemplateRenderRequest = z.object({
3040
3129
  body: templaterenderTemplateRenderSchema,
3041
3130
  path: z.optional(z.never()),
3042
3131
  query: z.optional(z.never()),
3043
- });
3132
+ }).strict();
3044
3133
 
3045
3134
  /**
3046
3135
  * The queued status including the render id. Check the status of the render using the id and the [render status](#get-render-status) endpoint.
@@ -3053,7 +3142,7 @@ export const probeRequest = z.object({
3053
3142
  url: z.string(),
3054
3143
  }),
3055
3144
  query: z.optional(z.never()),
3056
- });
3145
+ }).strict();
3057
3146
 
3058
3147
  /**
3059
3148
  * FFprobe response formatted as JSON.
@@ -3070,7 +3159,7 @@ export const deleteAssetRequest = z.object({
3070
3159
  ),
3071
3160
  }),
3072
3161
  query: z.optional(z.never()),
3073
- });
3162
+ }).strict();
3074
3163
 
3075
3164
  /**
3076
3165
  * An empty response signifying the asset has been deleted
@@ -3087,7 +3176,7 @@ export const getAssetRequest = z.object({
3087
3176
  ),
3088
3177
  }),
3089
3178
  query: z.optional(z.never()),
3090
- });
3179
+ }).strict();
3091
3180
 
3092
3181
  /**
3093
3182
  * Get asset by asset id
@@ -3104,7 +3193,7 @@ export const getAssetByRenderIdRequest = z.object({
3104
3193
  ),
3105
3194
  }),
3106
3195
  query: z.optional(z.never()),
3107
- });
3196
+ }).strict();
3108
3197
 
3109
3198
  /**
3110
3199
  * Get one or more assets by render id
@@ -3116,7 +3205,7 @@ export const postServeAssetRequest = z.object({
3116
3205
  body: transferTransferSchema,
3117
3206
  path: z.optional(z.never()),
3118
3207
  query: z.optional(z.never()),
3119
- });
3208
+ }).strict();
3120
3209
 
3121
3210
  /**
3122
3211
  * The transfer request details and status
@@ -3127,7 +3216,7 @@ export const getSourcesRequest = z.object({
3127
3216
  body: z.optional(z.never()),
3128
3217
  path: z.optional(z.never()),
3129
3218
  query: z.optional(z.never()),
3130
- });
3219
+ }).strict();
3131
3220
 
3132
3221
  /**
3133
3222
  * The list of ingested source files stored against a users account
@@ -3138,7 +3227,7 @@ export const postSourceRequest = z.object({
3138
3227
  body: sourceSourceSchema,
3139
3228
  path: z.optional(z.never()),
3140
3229
  query: z.optional(z.never()),
3141
- });
3230
+ }).strict();
3142
3231
 
3143
3232
  /**
3144
3233
  * The queued source file details
@@ -3156,7 +3245,7 @@ export const deleteSourceRequest = z.object({
3156
3245
  ),
3157
3246
  }),
3158
3247
  query: z.optional(z.never()),
3159
- });
3248
+ }).strict();
3160
3249
 
3161
3250
  /**
3162
3251
  * An empty response signifying the ingested source file has been deleted.
@@ -3173,7 +3262,7 @@ export const getSourceRequest = z.object({
3173
3262
  ),
3174
3263
  }),
3175
3264
  query: z.optional(z.never()),
3176
- });
3265
+ }).strict();
3177
3266
 
3178
3267
  /**
3179
3268
  * Get source file details by id
@@ -3184,7 +3273,7 @@ export const getUploadSignedUrlRequest = z.object({
3184
3273
  body: z.optional(z.never()),
3185
3274
  path: z.optional(z.never()),
3186
3275
  query: z.optional(z.never()),
3187
- });
3276
+ }).strict();
3188
3277
 
3189
3278
  /**
3190
3279
  * The id and signed URL to upload to.
@@ -3195,7 +3284,7 @@ export const postGenerateAssetRequest = z.object({
3195
3284
  body: generatedAssetGeneratedAssetSchema,
3196
3285
  path: z.optional(z.never()),
3197
3286
  query: z.optional(z.never()),
3198
- });
3287
+ }).strict();
3199
3288
 
3200
3289
  /**
3201
3290
  * The generated asset details
@@ -3213,7 +3302,7 @@ export const getGeneratedAssetRequest = z.object({
3213
3302
  ),
3214
3303
  }),
3215
3304
  query: z.optional(z.never()),
3216
- });
3305
+ }).strict();
3217
3306
 
3218
3307
  /**
3219
3308
  * The generated asset details