@shotstack/schemas 1.3.2 → 1.3.3

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.
@@ -77,7 +77,9 @@ export declare const captionMarginSchema: z.ZodObject<{
77
77
  *
78
78
  */
79
79
  export declare const captionassetCaptionAssetSchema: z.ZodObject<{
80
- type: z.ZodDefault<z.ZodString>;
80
+ type: z.ZodEnum<{
81
+ caption: "caption";
82
+ }>;
81
83
  src: z.ZodString;
82
84
  font: z.ZodOptional<z.ZodObject<{
83
85
  family: z.ZodOptional<z.ZodString>;
@@ -103,7 +105,9 @@ export declare const captionassetCaptionAssetSchema: z.ZodObject<{
103
105
  speed: z.ZodOptional<z.ZodNumber>;
104
106
  }, z.core.$strip>;
105
107
  export declare const captionAssetSchema: z.ZodObject<{
106
- type: z.ZodDefault<z.ZodString>;
108
+ type: z.ZodEnum<{
109
+ caption: "caption";
110
+ }>;
107
111
  src: z.ZodString;
108
112
  font: z.ZodOptional<z.ZodObject<{
109
113
  family: z.ZodOptional<z.ZodString>;
@@ -3814,7 +3818,9 @@ export declare const fontSchema: z.ZodObject<{
3814
3818
  * @deprecated
3815
3819
  */
3816
3820
  export declare const htmlassetHtmlAssetSchema: z.ZodObject<{
3817
- type: z.ZodDefault<z.ZodString>;
3821
+ type: z.ZodEnum<{
3822
+ html: "html";
3823
+ }>;
3818
3824
  html: z.ZodString;
3819
3825
  css: z.ZodOptional<z.ZodString>;
3820
3826
  width: z.ZodOptional<z.ZodInt>;
@@ -3833,7 +3839,9 @@ export declare const htmlassetHtmlAssetSchema: z.ZodObject<{
3833
3839
  }>>;
3834
3840
  }, z.core.$strip>;
3835
3841
  export declare const htmlAssetSchema: z.ZodObject<{
3836
- type: z.ZodDefault<z.ZodString>;
3842
+ type: z.ZodEnum<{
3843
+ html: "html";
3844
+ }>;
3837
3845
  html: z.ZodString;
3838
3846
  css: z.ZodOptional<z.ZodString>;
3839
3847
  width: z.ZodOptional<z.ZodInt>;
@@ -3855,7 +3863,9 @@ export declare const htmlAssetSchema: z.ZodObject<{
3855
3863
  * The ImageAsset is used to create video from images to compose an image. The src must be a publicly accessible URL to an image resource such as a jpg or png file.
3856
3864
  */
3857
3865
  export declare const imageassetImageAssetSchema: z.ZodObject<{
3858
- type: z.ZodDefault<z.ZodString>;
3866
+ type: z.ZodEnum<{
3867
+ image: "image";
3868
+ }>;
3859
3869
  src: z.ZodString;
3860
3870
  crop: z.ZodOptional<z.ZodObject<{
3861
3871
  top: z.ZodOptional<z.ZodNumber>;
@@ -3865,7 +3875,9 @@ export declare const imageassetImageAssetSchema: z.ZodObject<{
3865
3875
  }, z.core.$strip>>;
3866
3876
  }, z.core.$strip>;
3867
3877
  export declare const imageAssetSchema: z.ZodObject<{
3868
- type: z.ZodDefault<z.ZodString>;
3878
+ type: z.ZodEnum<{
3879
+ image: "image";
3880
+ }>;
3869
3881
  src: z.ZodString;
3870
3882
  crop: z.ZodOptional<z.ZodObject<{
3871
3883
  top: z.ZodOptional<z.ZodNumber>;
@@ -4217,12 +4229,16 @@ export declare const transcriptionSchema: z.ZodObject<{
4217
4229
  * The LumaAsset is used to create luma matte masks, transitions and effects between other assets. A luma matte is a grey scale image or animated video where the black areas are transparent and the white areas solid. The luma matte animation should be provided as an mp4 video file. The src must be a publicly accessible URL to the file.
4218
4230
  */
4219
4231
  export declare const lumaassetLumaAssetSchema: z.ZodObject<{
4220
- type: z.ZodDefault<z.ZodString>;
4232
+ type: z.ZodEnum<{
4233
+ luma: "luma";
4234
+ }>;
4221
4235
  src: z.ZodString;
4222
4236
  trim: z.ZodOptional<z.ZodNumber>;
4223
4237
  }, z.core.$strip>;
4224
4238
  export declare const lumaAssetSchema: z.ZodObject<{
4225
- type: z.ZodDefault<z.ZodString>;
4239
+ type: z.ZodEnum<{
4240
+ luma: "luma";
4241
+ }>;
4226
4242
  src: z.ZodString;
4227
4243
  trim: z.ZodOptional<z.ZodNumber>;
4228
4244
  }, z.core.$strip>;
@@ -4827,7 +4843,9 @@ export declare const richTextStyleSchema: z.ZodObject<{
4827
4843
  *
4828
4844
  */
4829
4845
  export declare const richtextassetRichTextAssetSchema: z.ZodObject<{
4830
- type: z.ZodDefault<z.ZodString>;
4846
+ type: z.ZodEnum<{
4847
+ "rich-text": "rich-text";
4848
+ }>;
4831
4849
  text: z.ZodString;
4832
4850
  font: z.ZodOptional<z.ZodObject<{
4833
4851
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -4932,7 +4950,9 @@ export declare const richtextassetRichTextAssetSchema: z.ZodObject<{
4932
4950
  }, z.core.$strip>>;
4933
4951
  }, z.core.$strip>;
4934
4952
  export declare const richTextAssetSchema: z.ZodObject<{
4935
- type: z.ZodDefault<z.ZodString>;
4953
+ type: z.ZodEnum<{
4954
+ "rich-text": "rich-text";
4955
+ }>;
4936
4956
  text: z.ZodString;
4937
4957
  font: z.ZodOptional<z.ZodObject<{
4938
4958
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -5308,7 +5328,9 @@ export declare const transferSchema: z.ZodObject<{
5308
5328
  *
5309
5329
  */
5310
5330
  export declare const shapeassetShapeAssetSchema: z.ZodObject<{
5311
- type: z.ZodDefault<z.ZodString>;
5331
+ type: z.ZodEnum<{
5332
+ shape: "shape";
5333
+ }>;
5312
5334
  shape: z.ZodEnum<{
5313
5335
  circle: "circle";
5314
5336
  rectangle: "rectangle";
@@ -5338,7 +5360,9 @@ export declare const shapeassetShapeAssetSchema: z.ZodObject<{
5338
5360
  }, z.core.$strip>>;
5339
5361
  }, z.core.$strip>;
5340
5362
  export declare const shapeAssetSchema: z.ZodObject<{
5341
- type: z.ZodDefault<z.ZodString>;
5363
+ type: z.ZodEnum<{
5364
+ shape: "shape";
5365
+ }>;
5342
5366
  shape: z.ZodEnum<{
5343
5367
  circle: "circle";
5344
5368
  rectangle: "rectangle";
@@ -7329,7 +7353,9 @@ export declare const textpropertiesTextStrokeSchema: z.ZodObject<{
7329
7353
  *
7330
7354
  */
7331
7355
  export declare const textassetTextAssetSchema: z.ZodObject<{
7332
- type: z.ZodDefault<z.ZodString>;
7356
+ type: z.ZodEnum<{
7357
+ text: "text";
7358
+ }>;
7333
7359
  text: z.ZodString;
7334
7360
  width: z.ZodOptional<z.ZodInt>;
7335
7361
  height: z.ZodOptional<z.ZodInt>;
@@ -7372,7 +7398,9 @@ export declare const textassetTextAssetSchema: z.ZodObject<{
7372
7398
  ellipsis: z.ZodOptional<z.ZodString>;
7373
7399
  }, z.core.$strip>;
7374
7400
  export declare const textAssetSchema: z.ZodObject<{
7375
- type: z.ZodDefault<z.ZodString>;
7401
+ type: z.ZodEnum<{
7402
+ text: "text";
7403
+ }>;
7376
7404
  text: z.ZodString;
7377
7405
  width: z.ZodOptional<z.ZodInt>;
7378
7406
  height: z.ZodOptional<z.ZodInt>;
@@ -7422,8 +7450,8 @@ export declare const texttoimageassetTextToImageAssetSchema: z.ZodObject<{
7422
7450
  "text-to-image": "text-to-image";
7423
7451
  }>;
7424
7452
  prompt: z.ZodString;
7425
- width: z.ZodInt;
7426
- height: z.ZodInt;
7453
+ width: z.ZodOptional<z.ZodInt>;
7454
+ height: z.ZodOptional<z.ZodInt>;
7427
7455
  crop: z.ZodOptional<z.ZodObject<{
7428
7456
  top: z.ZodOptional<z.ZodNumber>;
7429
7457
  bottom: z.ZodOptional<z.ZodNumber>;
@@ -7436,8 +7464,8 @@ export declare const textToImageAssetSchema: z.ZodObject<{
7436
7464
  "text-to-image": "text-to-image";
7437
7465
  }>;
7438
7466
  prompt: z.ZodString;
7439
- width: z.ZodInt;
7440
- height: z.ZodInt;
7467
+ width: z.ZodOptional<z.ZodInt>;
7468
+ height: z.ZodOptional<z.ZodInt>;
7441
7469
  crop: z.ZodOptional<z.ZodObject<{
7442
7470
  top: z.ZodOptional<z.ZodNumber>;
7443
7471
  bottom: z.ZodOptional<z.ZodNumber>;
@@ -8110,7 +8138,9 @@ export declare const tweenSchema: z.ZodObject<{
8110
8138
  * The AudioAsset is used to add sound effects and audio at specific intervals on the timeline. The src must be a publicly accessible URL to an audio resource such as an mp3 file.
8111
8139
  */
8112
8140
  export declare const audioassetAudioAssetSchema: z.ZodObject<{
8113
- type: z.ZodDefault<z.ZodString>;
8141
+ type: z.ZodEnum<{
8142
+ audio: "audio";
8143
+ }>;
8114
8144
  src: z.ZodString;
8115
8145
  trim: z.ZodOptional<z.ZodNumber>;
8116
8146
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -8163,7 +8193,9 @@ export declare const audioassetAudioAssetSchema: z.ZodObject<{
8163
8193
  }>>;
8164
8194
  }, z.core.$strip>;
8165
8195
  export declare const audioAssetSchema: z.ZodObject<{
8166
- type: z.ZodDefault<z.ZodString>;
8196
+ type: z.ZodEnum<{
8197
+ audio: "audio";
8198
+ }>;
8167
8199
  src: z.ZodString;
8168
8200
  trim: z.ZodOptional<z.ZodNumber>;
8169
8201
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -8655,7 +8687,9 @@ export declare const skewTransformationSchema: z.ZodObject<{
8655
8687
  * @deprecated
8656
8688
  */
8657
8689
  export declare const titleassetTitleAssetSchema: z.ZodObject<{
8658
- type: z.ZodDefault<z.ZodString>;
8690
+ type: z.ZodEnum<{
8691
+ title: "title";
8692
+ }>;
8659
8693
  text: z.ZodString;
8660
8694
  style: z.ZodOptional<z.ZodEnum<{
8661
8695
  minimal: "minimal";
@@ -8777,7 +8811,9 @@ export declare const titleassetTitleAssetSchema: z.ZodObject<{
8777
8811
  }, z.core.$strip>>;
8778
8812
  }, z.core.$strip>;
8779
8813
  export declare const titleAssetSchema: z.ZodObject<{
8780
- type: z.ZodDefault<z.ZodString>;
8814
+ type: z.ZodEnum<{
8815
+ title: "title";
8816
+ }>;
8781
8817
  text: z.ZodString;
8782
8818
  style: z.ZodOptional<z.ZodEnum<{
8783
8819
  minimal: "minimal";
@@ -9171,7 +9207,9 @@ export declare const transformationSchema: z.ZodObject<{
9171
9207
  * The VideoAsset is used to create video sequences from video files. The src must be a publicly accessible URL to a video resource such as an mp4 file.
9172
9208
  */
9173
9209
  export declare const videoassetVideoAssetSchema: z.ZodObject<{
9174
- type: z.ZodDefault<z.ZodString>;
9210
+ type: z.ZodEnum<{
9211
+ video: "video";
9212
+ }>;
9175
9213
  src: z.ZodString;
9176
9214
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9177
9215
  trim: z.ZodOptional<z.ZodNumber>;
@@ -9236,7 +9274,9 @@ export declare const videoassetVideoAssetSchema: z.ZodObject<{
9236
9274
  }, z.core.$strip>>;
9237
9275
  }, z.core.$strip>;
9238
9276
  export declare const videoAssetSchema: z.ZodObject<{
9239
- type: z.ZodDefault<z.ZodString>;
9277
+ type: z.ZodEnum<{
9278
+ video: "video";
9279
+ }>;
9240
9280
  src: z.ZodString;
9241
9281
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9242
9282
  trim: z.ZodOptional<z.ZodNumber>;
@@ -9303,10 +9343,10 @@ export declare const videoAssetSchema: z.ZodObject<{
9303
9343
  /**
9304
9344
  * The type of asset to display for the duration of the Clip, i.e. a video clip or an image. Choose from one of the available asset types below.
9305
9345
  */
9306
- export declare const assetAssetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
9307
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
9308
- }, z.core.$strip>, z.ZodObject<{
9309
- type: z.ZodDefault<z.ZodString>;
9346
+ export declare const assetAssetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
9347
+ type: z.ZodEnum<{
9348
+ video: "video";
9349
+ }>;
9310
9350
  src: z.ZodString;
9311
9351
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9312
9352
  trim: z.ZodOptional<z.ZodNumber>;
@@ -9369,10 +9409,10 @@ export declare const assetAssetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.
9369
9409
  threshold: z.ZodOptional<z.ZodInt>;
9370
9410
  halo: z.ZodOptional<z.ZodInt>;
9371
9411
  }, z.core.$strip>>;
9372
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
9373
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
9374
9412
  }, z.core.$strip>, z.ZodObject<{
9375
- type: z.ZodDefault<z.ZodString>;
9413
+ type: z.ZodEnum<{
9414
+ image: "image";
9415
+ }>;
9376
9416
  src: z.ZodString;
9377
9417
  crop: z.ZodOptional<z.ZodObject<{
9378
9418
  top: z.ZodOptional<z.ZodNumber>;
@@ -9380,10 +9420,10 @@ export declare const assetAssetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.
9380
9420
  left: z.ZodOptional<z.ZodNumber>;
9381
9421
  right: z.ZodOptional<z.ZodNumber>;
9382
9422
  }, z.core.$strip>>;
9383
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
9384
- asset: z.ZodLiteral<"textasset_TextAsset">;
9385
9423
  }, z.core.$strip>, z.ZodObject<{
9386
- type: z.ZodDefault<z.ZodString>;
9424
+ type: z.ZodEnum<{
9425
+ text: "text";
9426
+ }>;
9387
9427
  text: z.ZodString;
9388
9428
  width: z.ZodOptional<z.ZodInt>;
9389
9429
  height: z.ZodOptional<z.ZodInt>;
@@ -9424,10 +9464,10 @@ export declare const assetAssetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.
9424
9464
  duration: z.ZodOptional<z.ZodNumber>;
9425
9465
  }, z.core.$strip>>;
9426
9466
  ellipsis: z.ZodOptional<z.ZodString>;
9427
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
9428
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
9429
9467
  }, z.core.$strip>, z.ZodObject<{
9430
- type: z.ZodDefault<z.ZodString>;
9468
+ type: z.ZodEnum<{
9469
+ "rich-text": "rich-text";
9470
+ }>;
9431
9471
  text: z.ZodString;
9432
9472
  font: z.ZodOptional<z.ZodObject<{
9433
9473
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -9530,10 +9570,10 @@ export declare const assetAssetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.
9530
9570
  down: "down";
9531
9571
  }>>;
9532
9572
  }, z.core.$strip>>;
9533
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
9534
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
9535
9573
  }, z.core.$strip>, z.ZodObject<{
9536
- type: z.ZodDefault<z.ZodString>;
9574
+ type: z.ZodEnum<{
9575
+ audio: "audio";
9576
+ }>;
9537
9577
  src: z.ZodString;
9538
9578
  trim: z.ZodOptional<z.ZodNumber>;
9539
9579
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -9584,16 +9624,16 @@ export declare const assetAssetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.
9584
9624
  fadeOut: "fadeOut";
9585
9625
  fadeInFadeOut: "fadeInFadeOut";
9586
9626
  }>>;
9587
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
9588
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
9589
9627
  }, z.core.$strip>, z.ZodObject<{
9590
- type: z.ZodDefault<z.ZodString>;
9628
+ type: z.ZodEnum<{
9629
+ luma: "luma";
9630
+ }>;
9591
9631
  src: z.ZodString;
9592
9632
  trim: z.ZodOptional<z.ZodNumber>;
9593
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
9594
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
9595
9633
  }, z.core.$strip>, z.ZodObject<{
9596
- type: z.ZodDefault<z.ZodString>;
9634
+ type: z.ZodEnum<{
9635
+ caption: "caption";
9636
+ }>;
9597
9637
  src: z.ZodString;
9598
9638
  font: z.ZodOptional<z.ZodObject<{
9599
9639
  family: z.ZodOptional<z.ZodString>;
@@ -9617,10 +9657,10 @@ export declare const assetAssetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.
9617
9657
  }, z.core.$strip>>;
9618
9658
  trim: z.ZodOptional<z.ZodNumber>;
9619
9659
  speed: z.ZodOptional<z.ZodNumber>;
9620
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
9621
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
9622
9660
  }, z.core.$strip>, z.ZodObject<{
9623
- type: z.ZodDefault<z.ZodString>;
9661
+ type: z.ZodEnum<{
9662
+ html: "html";
9663
+ }>;
9624
9664
  html: z.ZodString;
9625
9665
  css: z.ZodOptional<z.ZodString>;
9626
9666
  width: z.ZodOptional<z.ZodInt>;
@@ -9637,10 +9677,10 @@ export declare const assetAssetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.
9637
9677
  topLeft: "topLeft";
9638
9678
  center: "center";
9639
9679
  }>>;
9640
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
9641
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
9642
9680
  }, z.core.$strip>, z.ZodObject<{
9643
- type: z.ZodDefault<z.ZodString>;
9681
+ type: z.ZodEnum<{
9682
+ title: "title";
9683
+ }>;
9644
9684
  text: z.ZodString;
9645
9685
  style: z.ZodOptional<z.ZodEnum<{
9646
9686
  minimal: "minimal";
@@ -9760,10 +9800,10 @@ export declare const assetAssetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.
9760
9800
  }>>;
9761
9801
  }, z.core.$strip>>]>>;
9762
9802
  }, z.core.$strip>>;
9763
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
9764
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
9765
9803
  }, z.core.$strip>, z.ZodObject<{
9766
- type: z.ZodDefault<z.ZodString>;
9804
+ type: z.ZodEnum<{
9805
+ shape: "shape";
9806
+ }>;
9767
9807
  shape: z.ZodEnum<{
9768
9808
  circle: "circle";
9769
9809
  rectangle: "rectangle";
@@ -9791,23 +9831,19 @@ export declare const assetAssetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.
9791
9831
  length: z.ZodInt;
9792
9832
  thickness: z.ZodInt;
9793
9833
  }, z.core.$strip>>;
9794
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
9795
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
9796
9834
  }, z.core.$strip>, z.ZodObject<{
9797
9835
  type: z.ZodEnum<{
9798
9836
  "text-to-image": "text-to-image";
9799
9837
  }>;
9800
9838
  prompt: z.ZodString;
9801
- width: z.ZodInt;
9802
- height: z.ZodInt;
9839
+ width: z.ZodOptional<z.ZodInt>;
9840
+ height: z.ZodOptional<z.ZodInt>;
9803
9841
  crop: z.ZodOptional<z.ZodObject<{
9804
9842
  top: z.ZodOptional<z.ZodNumber>;
9805
9843
  bottom: z.ZodOptional<z.ZodNumber>;
9806
9844
  left: z.ZodOptional<z.ZodNumber>;
9807
9845
  right: z.ZodOptional<z.ZodNumber>;
9808
9846
  }, z.core.$strip>>;
9809
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
9810
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
9811
9847
  }, z.core.$strip>, z.ZodObject<{
9812
9848
  type: z.ZodOptional<z.ZodEnum<{
9813
9849
  "image-to-video": "image-to-video";
@@ -9830,11 +9866,11 @@ export declare const assetAssetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.
9830
9866
  left: z.ZodOptional<z.ZodNumber>;
9831
9867
  right: z.ZodOptional<z.ZodNumber>;
9832
9868
  }, z.core.$strip>>;
9833
- }, z.core.$strip>>]>;
9834
- export declare const assetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
9835
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
9836
- }, z.core.$strip>, z.ZodObject<{
9837
- type: z.ZodDefault<z.ZodString>;
9869
+ }, z.core.$strip>], "type">;
9870
+ export declare const assetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
9871
+ type: z.ZodEnum<{
9872
+ video: "video";
9873
+ }>;
9838
9874
  src: z.ZodString;
9839
9875
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9840
9876
  trim: z.ZodOptional<z.ZodNumber>;
@@ -9897,10 +9933,10 @@ export declare const assetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodOb
9897
9933
  threshold: z.ZodOptional<z.ZodInt>;
9898
9934
  halo: z.ZodOptional<z.ZodInt>;
9899
9935
  }, z.core.$strip>>;
9900
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
9901
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
9902
9936
  }, z.core.$strip>, z.ZodObject<{
9903
- type: z.ZodDefault<z.ZodString>;
9937
+ type: z.ZodEnum<{
9938
+ image: "image";
9939
+ }>;
9904
9940
  src: z.ZodString;
9905
9941
  crop: z.ZodOptional<z.ZodObject<{
9906
9942
  top: z.ZodOptional<z.ZodNumber>;
@@ -9908,10 +9944,10 @@ export declare const assetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodOb
9908
9944
  left: z.ZodOptional<z.ZodNumber>;
9909
9945
  right: z.ZodOptional<z.ZodNumber>;
9910
9946
  }, z.core.$strip>>;
9911
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
9912
- asset: z.ZodLiteral<"textasset_TextAsset">;
9913
9947
  }, z.core.$strip>, z.ZodObject<{
9914
- type: z.ZodDefault<z.ZodString>;
9948
+ type: z.ZodEnum<{
9949
+ text: "text";
9950
+ }>;
9915
9951
  text: z.ZodString;
9916
9952
  width: z.ZodOptional<z.ZodInt>;
9917
9953
  height: z.ZodOptional<z.ZodInt>;
@@ -9952,10 +9988,10 @@ export declare const assetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodOb
9952
9988
  duration: z.ZodOptional<z.ZodNumber>;
9953
9989
  }, z.core.$strip>>;
9954
9990
  ellipsis: z.ZodOptional<z.ZodString>;
9955
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
9956
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
9957
9991
  }, z.core.$strip>, z.ZodObject<{
9958
- type: z.ZodDefault<z.ZodString>;
9992
+ type: z.ZodEnum<{
9993
+ "rich-text": "rich-text";
9994
+ }>;
9959
9995
  text: z.ZodString;
9960
9996
  font: z.ZodOptional<z.ZodObject<{
9961
9997
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -10058,10 +10094,10 @@ export declare const assetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodOb
10058
10094
  down: "down";
10059
10095
  }>>;
10060
10096
  }, z.core.$strip>>;
10061
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10062
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
10063
10097
  }, z.core.$strip>, z.ZodObject<{
10064
- type: z.ZodDefault<z.ZodString>;
10098
+ type: z.ZodEnum<{
10099
+ audio: "audio";
10100
+ }>;
10065
10101
  src: z.ZodString;
10066
10102
  trim: z.ZodOptional<z.ZodNumber>;
10067
10103
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -10112,16 +10148,16 @@ export declare const assetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodOb
10112
10148
  fadeOut: "fadeOut";
10113
10149
  fadeInFadeOut: "fadeInFadeOut";
10114
10150
  }>>;
10115
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10116
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
10117
10151
  }, z.core.$strip>, z.ZodObject<{
10118
- type: z.ZodDefault<z.ZodString>;
10152
+ type: z.ZodEnum<{
10153
+ luma: "luma";
10154
+ }>;
10119
10155
  src: z.ZodString;
10120
10156
  trim: z.ZodOptional<z.ZodNumber>;
10121
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10122
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
10123
10157
  }, z.core.$strip>, z.ZodObject<{
10124
- type: z.ZodDefault<z.ZodString>;
10158
+ type: z.ZodEnum<{
10159
+ caption: "caption";
10160
+ }>;
10125
10161
  src: z.ZodString;
10126
10162
  font: z.ZodOptional<z.ZodObject<{
10127
10163
  family: z.ZodOptional<z.ZodString>;
@@ -10145,10 +10181,10 @@ export declare const assetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodOb
10145
10181
  }, z.core.$strip>>;
10146
10182
  trim: z.ZodOptional<z.ZodNumber>;
10147
10183
  speed: z.ZodOptional<z.ZodNumber>;
10148
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10149
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
10150
10184
  }, z.core.$strip>, z.ZodObject<{
10151
- type: z.ZodDefault<z.ZodString>;
10185
+ type: z.ZodEnum<{
10186
+ html: "html";
10187
+ }>;
10152
10188
  html: z.ZodString;
10153
10189
  css: z.ZodOptional<z.ZodString>;
10154
10190
  width: z.ZodOptional<z.ZodInt>;
@@ -10165,10 +10201,10 @@ export declare const assetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodOb
10165
10201
  topLeft: "topLeft";
10166
10202
  center: "center";
10167
10203
  }>>;
10168
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10169
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
10170
10204
  }, z.core.$strip>, z.ZodObject<{
10171
- type: z.ZodDefault<z.ZodString>;
10205
+ type: z.ZodEnum<{
10206
+ title: "title";
10207
+ }>;
10172
10208
  text: z.ZodString;
10173
10209
  style: z.ZodOptional<z.ZodEnum<{
10174
10210
  minimal: "minimal";
@@ -10288,10 +10324,10 @@ export declare const assetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodOb
10288
10324
  }>>;
10289
10325
  }, z.core.$strip>>]>>;
10290
10326
  }, z.core.$strip>>;
10291
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10292
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
10293
10327
  }, z.core.$strip>, z.ZodObject<{
10294
- type: z.ZodDefault<z.ZodString>;
10328
+ type: z.ZodEnum<{
10329
+ shape: "shape";
10330
+ }>;
10295
10331
  shape: z.ZodEnum<{
10296
10332
  circle: "circle";
10297
10333
  rectangle: "rectangle";
@@ -10319,23 +10355,19 @@ export declare const assetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodOb
10319
10355
  length: z.ZodInt;
10320
10356
  thickness: z.ZodInt;
10321
10357
  }, z.core.$strip>>;
10322
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10323
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
10324
10358
  }, z.core.$strip>, z.ZodObject<{
10325
10359
  type: z.ZodEnum<{
10326
10360
  "text-to-image": "text-to-image";
10327
10361
  }>;
10328
10362
  prompt: z.ZodString;
10329
- width: z.ZodInt;
10330
- height: z.ZodInt;
10363
+ width: z.ZodOptional<z.ZodInt>;
10364
+ height: z.ZodOptional<z.ZodInt>;
10331
10365
  crop: z.ZodOptional<z.ZodObject<{
10332
10366
  top: z.ZodOptional<z.ZodNumber>;
10333
10367
  bottom: z.ZodOptional<z.ZodNumber>;
10334
10368
  left: z.ZodOptional<z.ZodNumber>;
10335
10369
  right: z.ZodOptional<z.ZodNumber>;
10336
10370
  }, z.core.$strip>>;
10337
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10338
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
10339
10371
  }, z.core.$strip>, z.ZodObject<{
10340
10372
  type: z.ZodOptional<z.ZodEnum<{
10341
10373
  "image-to-video": "image-to-video";
@@ -10358,15 +10390,15 @@ export declare const assetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodOb
10358
10390
  left: z.ZodOptional<z.ZodNumber>;
10359
10391
  right: z.ZodOptional<z.ZodNumber>;
10360
10392
  }, z.core.$strip>>;
10361
- }, z.core.$strip>>]>;
10393
+ }, z.core.$strip>], "type">;
10362
10394
  /**
10363
10395
  * A clip is a container for a specific type of asset, i.e. a title, image, video, audio or html. You use a Clip to define when an asset will display on the timeline, how long it will play for and transitions, filters and effects to apply to it.
10364
10396
  */
10365
10397
  export declare const clipClipSchema: z.ZodObject<{
10366
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
10367
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
10368
- }, z.core.$strip>, z.ZodObject<{
10369
- type: z.ZodDefault<z.ZodString>;
10398
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
10399
+ type: z.ZodEnum<{
10400
+ video: "video";
10401
+ }>;
10370
10402
  src: z.ZodString;
10371
10403
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10372
10404
  trim: z.ZodOptional<z.ZodNumber>;
@@ -10429,10 +10461,10 @@ export declare const clipClipSchema: z.ZodObject<{
10429
10461
  threshold: z.ZodOptional<z.ZodInt>;
10430
10462
  halo: z.ZodOptional<z.ZodInt>;
10431
10463
  }, z.core.$strip>>;
10432
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10433
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
10434
10464
  }, z.core.$strip>, z.ZodObject<{
10435
- type: z.ZodDefault<z.ZodString>;
10465
+ type: z.ZodEnum<{
10466
+ image: "image";
10467
+ }>;
10436
10468
  src: z.ZodString;
10437
10469
  crop: z.ZodOptional<z.ZodObject<{
10438
10470
  top: z.ZodOptional<z.ZodNumber>;
@@ -10440,10 +10472,10 @@ export declare const clipClipSchema: z.ZodObject<{
10440
10472
  left: z.ZodOptional<z.ZodNumber>;
10441
10473
  right: z.ZodOptional<z.ZodNumber>;
10442
10474
  }, z.core.$strip>>;
10443
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10444
- asset: z.ZodLiteral<"textasset_TextAsset">;
10445
10475
  }, z.core.$strip>, z.ZodObject<{
10446
- type: z.ZodDefault<z.ZodString>;
10476
+ type: z.ZodEnum<{
10477
+ text: "text";
10478
+ }>;
10447
10479
  text: z.ZodString;
10448
10480
  width: z.ZodOptional<z.ZodInt>;
10449
10481
  height: z.ZodOptional<z.ZodInt>;
@@ -10484,10 +10516,10 @@ export declare const clipClipSchema: z.ZodObject<{
10484
10516
  duration: z.ZodOptional<z.ZodNumber>;
10485
10517
  }, z.core.$strip>>;
10486
10518
  ellipsis: z.ZodOptional<z.ZodString>;
10487
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10488
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
10489
10519
  }, z.core.$strip>, z.ZodObject<{
10490
- type: z.ZodDefault<z.ZodString>;
10520
+ type: z.ZodEnum<{
10521
+ "rich-text": "rich-text";
10522
+ }>;
10491
10523
  text: z.ZodString;
10492
10524
  font: z.ZodOptional<z.ZodObject<{
10493
10525
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -10590,10 +10622,10 @@ export declare const clipClipSchema: z.ZodObject<{
10590
10622
  down: "down";
10591
10623
  }>>;
10592
10624
  }, z.core.$strip>>;
10593
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10594
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
10595
10625
  }, z.core.$strip>, z.ZodObject<{
10596
- type: z.ZodDefault<z.ZodString>;
10626
+ type: z.ZodEnum<{
10627
+ audio: "audio";
10628
+ }>;
10597
10629
  src: z.ZodString;
10598
10630
  trim: z.ZodOptional<z.ZodNumber>;
10599
10631
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -10644,16 +10676,16 @@ export declare const clipClipSchema: z.ZodObject<{
10644
10676
  fadeOut: "fadeOut";
10645
10677
  fadeInFadeOut: "fadeInFadeOut";
10646
10678
  }>>;
10647
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10648
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
10649
10679
  }, z.core.$strip>, z.ZodObject<{
10650
- type: z.ZodDefault<z.ZodString>;
10680
+ type: z.ZodEnum<{
10681
+ luma: "luma";
10682
+ }>;
10651
10683
  src: z.ZodString;
10652
10684
  trim: z.ZodOptional<z.ZodNumber>;
10653
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10654
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
10655
10685
  }, z.core.$strip>, z.ZodObject<{
10656
- type: z.ZodDefault<z.ZodString>;
10686
+ type: z.ZodEnum<{
10687
+ caption: "caption";
10688
+ }>;
10657
10689
  src: z.ZodString;
10658
10690
  font: z.ZodOptional<z.ZodObject<{
10659
10691
  family: z.ZodOptional<z.ZodString>;
@@ -10677,10 +10709,10 @@ export declare const clipClipSchema: z.ZodObject<{
10677
10709
  }, z.core.$strip>>;
10678
10710
  trim: z.ZodOptional<z.ZodNumber>;
10679
10711
  speed: z.ZodOptional<z.ZodNumber>;
10680
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10681
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
10682
10712
  }, z.core.$strip>, z.ZodObject<{
10683
- type: z.ZodDefault<z.ZodString>;
10713
+ type: z.ZodEnum<{
10714
+ html: "html";
10715
+ }>;
10684
10716
  html: z.ZodString;
10685
10717
  css: z.ZodOptional<z.ZodString>;
10686
10718
  width: z.ZodOptional<z.ZodInt>;
@@ -10697,10 +10729,10 @@ export declare const clipClipSchema: z.ZodObject<{
10697
10729
  topLeft: "topLeft";
10698
10730
  center: "center";
10699
10731
  }>>;
10700
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10701
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
10702
10732
  }, z.core.$strip>, z.ZodObject<{
10703
- type: z.ZodDefault<z.ZodString>;
10733
+ type: z.ZodEnum<{
10734
+ title: "title";
10735
+ }>;
10704
10736
  text: z.ZodString;
10705
10737
  style: z.ZodOptional<z.ZodEnum<{
10706
10738
  minimal: "minimal";
@@ -10820,10 +10852,10 @@ export declare const clipClipSchema: z.ZodObject<{
10820
10852
  }>>;
10821
10853
  }, z.core.$strip>>]>>;
10822
10854
  }, z.core.$strip>>;
10823
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10824
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
10825
10855
  }, z.core.$strip>, z.ZodObject<{
10826
- type: z.ZodDefault<z.ZodString>;
10856
+ type: z.ZodEnum<{
10857
+ shape: "shape";
10858
+ }>;
10827
10859
  shape: z.ZodEnum<{
10828
10860
  circle: "circle";
10829
10861
  rectangle: "rectangle";
@@ -10851,23 +10883,19 @@ export declare const clipClipSchema: z.ZodObject<{
10851
10883
  length: z.ZodInt;
10852
10884
  thickness: z.ZodInt;
10853
10885
  }, z.core.$strip>>;
10854
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10855
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
10856
10886
  }, z.core.$strip>, z.ZodObject<{
10857
10887
  type: z.ZodEnum<{
10858
10888
  "text-to-image": "text-to-image";
10859
10889
  }>;
10860
10890
  prompt: z.ZodString;
10861
- width: z.ZodInt;
10862
- height: z.ZodInt;
10891
+ width: z.ZodOptional<z.ZodInt>;
10892
+ height: z.ZodOptional<z.ZodInt>;
10863
10893
  crop: z.ZodOptional<z.ZodObject<{
10864
10894
  top: z.ZodOptional<z.ZodNumber>;
10865
10895
  bottom: z.ZodOptional<z.ZodNumber>;
10866
10896
  left: z.ZodOptional<z.ZodNumber>;
10867
10897
  right: z.ZodOptional<z.ZodNumber>;
10868
10898
  }, z.core.$strip>>;
10869
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
10870
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
10871
10899
  }, z.core.$strip>, z.ZodObject<{
10872
10900
  type: z.ZodOptional<z.ZodEnum<{
10873
10901
  "image-to-video": "image-to-video";
@@ -10890,7 +10918,7 @@ export declare const clipClipSchema: z.ZodObject<{
10890
10918
  left: z.ZodOptional<z.ZodNumber>;
10891
10919
  right: z.ZodOptional<z.ZodNumber>;
10892
10920
  }, z.core.$strip>>;
10893
- }, z.core.$strip>>]>;
10921
+ }, z.core.$strip>], "type">;
10894
10922
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
10895
10923
  auto: "auto";
10896
10924
  }>]>;
@@ -11151,6 +11179,7 @@ export declare const clipClipSchema: z.ZodObject<{
11151
11179
  }>>;
11152
11180
  filter: z.ZodOptional<z.ZodEnum<{
11153
11181
  blur: "blur";
11182
+ none: "none";
11154
11183
  boost: "boost";
11155
11184
  contrast: "contrast";
11156
11185
  darken: "darken";
@@ -11336,10 +11365,10 @@ export declare const clipClipSchema: z.ZodObject<{
11336
11365
  alias: z.ZodOptional<z.ZodString>;
11337
11366
  }, z.core.$strip>;
11338
11367
  export declare const clipSchema: z.ZodObject<{
11339
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
11340
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
11341
- }, z.core.$strip>, z.ZodObject<{
11342
- type: z.ZodDefault<z.ZodString>;
11368
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
11369
+ type: z.ZodEnum<{
11370
+ video: "video";
11371
+ }>;
11343
11372
  src: z.ZodString;
11344
11373
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11345
11374
  trim: z.ZodOptional<z.ZodNumber>;
@@ -11402,10 +11431,10 @@ export declare const clipSchema: z.ZodObject<{
11402
11431
  threshold: z.ZodOptional<z.ZodInt>;
11403
11432
  halo: z.ZodOptional<z.ZodInt>;
11404
11433
  }, z.core.$strip>>;
11405
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
11406
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
11407
11434
  }, z.core.$strip>, z.ZodObject<{
11408
- type: z.ZodDefault<z.ZodString>;
11435
+ type: z.ZodEnum<{
11436
+ image: "image";
11437
+ }>;
11409
11438
  src: z.ZodString;
11410
11439
  crop: z.ZodOptional<z.ZodObject<{
11411
11440
  top: z.ZodOptional<z.ZodNumber>;
@@ -11413,10 +11442,10 @@ export declare const clipSchema: z.ZodObject<{
11413
11442
  left: z.ZodOptional<z.ZodNumber>;
11414
11443
  right: z.ZodOptional<z.ZodNumber>;
11415
11444
  }, z.core.$strip>>;
11416
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
11417
- asset: z.ZodLiteral<"textasset_TextAsset">;
11418
11445
  }, z.core.$strip>, z.ZodObject<{
11419
- type: z.ZodDefault<z.ZodString>;
11446
+ type: z.ZodEnum<{
11447
+ text: "text";
11448
+ }>;
11420
11449
  text: z.ZodString;
11421
11450
  width: z.ZodOptional<z.ZodInt>;
11422
11451
  height: z.ZodOptional<z.ZodInt>;
@@ -11457,10 +11486,10 @@ export declare const clipSchema: z.ZodObject<{
11457
11486
  duration: z.ZodOptional<z.ZodNumber>;
11458
11487
  }, z.core.$strip>>;
11459
11488
  ellipsis: z.ZodOptional<z.ZodString>;
11460
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
11461
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
11462
11489
  }, z.core.$strip>, z.ZodObject<{
11463
- type: z.ZodDefault<z.ZodString>;
11490
+ type: z.ZodEnum<{
11491
+ "rich-text": "rich-text";
11492
+ }>;
11464
11493
  text: z.ZodString;
11465
11494
  font: z.ZodOptional<z.ZodObject<{
11466
11495
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -11563,10 +11592,10 @@ export declare const clipSchema: z.ZodObject<{
11563
11592
  down: "down";
11564
11593
  }>>;
11565
11594
  }, z.core.$strip>>;
11566
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
11567
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
11568
11595
  }, z.core.$strip>, z.ZodObject<{
11569
- type: z.ZodDefault<z.ZodString>;
11596
+ type: z.ZodEnum<{
11597
+ audio: "audio";
11598
+ }>;
11570
11599
  src: z.ZodString;
11571
11600
  trim: z.ZodOptional<z.ZodNumber>;
11572
11601
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -11617,16 +11646,16 @@ export declare const clipSchema: z.ZodObject<{
11617
11646
  fadeOut: "fadeOut";
11618
11647
  fadeInFadeOut: "fadeInFadeOut";
11619
11648
  }>>;
11620
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
11621
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
11622
11649
  }, z.core.$strip>, z.ZodObject<{
11623
- type: z.ZodDefault<z.ZodString>;
11650
+ type: z.ZodEnum<{
11651
+ luma: "luma";
11652
+ }>;
11624
11653
  src: z.ZodString;
11625
11654
  trim: z.ZodOptional<z.ZodNumber>;
11626
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
11627
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
11628
11655
  }, z.core.$strip>, z.ZodObject<{
11629
- type: z.ZodDefault<z.ZodString>;
11656
+ type: z.ZodEnum<{
11657
+ caption: "caption";
11658
+ }>;
11630
11659
  src: z.ZodString;
11631
11660
  font: z.ZodOptional<z.ZodObject<{
11632
11661
  family: z.ZodOptional<z.ZodString>;
@@ -11650,10 +11679,10 @@ export declare const clipSchema: z.ZodObject<{
11650
11679
  }, z.core.$strip>>;
11651
11680
  trim: z.ZodOptional<z.ZodNumber>;
11652
11681
  speed: z.ZodOptional<z.ZodNumber>;
11653
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
11654
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
11655
11682
  }, z.core.$strip>, z.ZodObject<{
11656
- type: z.ZodDefault<z.ZodString>;
11683
+ type: z.ZodEnum<{
11684
+ html: "html";
11685
+ }>;
11657
11686
  html: z.ZodString;
11658
11687
  css: z.ZodOptional<z.ZodString>;
11659
11688
  width: z.ZodOptional<z.ZodInt>;
@@ -11670,10 +11699,10 @@ export declare const clipSchema: z.ZodObject<{
11670
11699
  topLeft: "topLeft";
11671
11700
  center: "center";
11672
11701
  }>>;
11673
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
11674
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
11675
11702
  }, z.core.$strip>, z.ZodObject<{
11676
- type: z.ZodDefault<z.ZodString>;
11703
+ type: z.ZodEnum<{
11704
+ title: "title";
11705
+ }>;
11677
11706
  text: z.ZodString;
11678
11707
  style: z.ZodOptional<z.ZodEnum<{
11679
11708
  minimal: "minimal";
@@ -11793,10 +11822,10 @@ export declare const clipSchema: z.ZodObject<{
11793
11822
  }>>;
11794
11823
  }, z.core.$strip>>]>>;
11795
11824
  }, z.core.$strip>>;
11796
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
11797
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
11798
11825
  }, z.core.$strip>, z.ZodObject<{
11799
- type: z.ZodDefault<z.ZodString>;
11826
+ type: z.ZodEnum<{
11827
+ shape: "shape";
11828
+ }>;
11800
11829
  shape: z.ZodEnum<{
11801
11830
  circle: "circle";
11802
11831
  rectangle: "rectangle";
@@ -11824,23 +11853,19 @@ export declare const clipSchema: z.ZodObject<{
11824
11853
  length: z.ZodInt;
11825
11854
  thickness: z.ZodInt;
11826
11855
  }, z.core.$strip>>;
11827
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
11828
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
11829
11856
  }, z.core.$strip>, z.ZodObject<{
11830
11857
  type: z.ZodEnum<{
11831
11858
  "text-to-image": "text-to-image";
11832
11859
  }>;
11833
11860
  prompt: z.ZodString;
11834
- width: z.ZodInt;
11835
- height: z.ZodInt;
11861
+ width: z.ZodOptional<z.ZodInt>;
11862
+ height: z.ZodOptional<z.ZodInt>;
11836
11863
  crop: z.ZodOptional<z.ZodObject<{
11837
11864
  top: z.ZodOptional<z.ZodNumber>;
11838
11865
  bottom: z.ZodOptional<z.ZodNumber>;
11839
11866
  left: z.ZodOptional<z.ZodNumber>;
11840
11867
  right: z.ZodOptional<z.ZodNumber>;
11841
11868
  }, z.core.$strip>>;
11842
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
11843
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
11844
11869
  }, z.core.$strip>, z.ZodObject<{
11845
11870
  type: z.ZodOptional<z.ZodEnum<{
11846
11871
  "image-to-video": "image-to-video";
@@ -11863,7 +11888,7 @@ export declare const clipSchema: z.ZodObject<{
11863
11888
  left: z.ZodOptional<z.ZodNumber>;
11864
11889
  right: z.ZodOptional<z.ZodNumber>;
11865
11890
  }, z.core.$strip>>;
11866
- }, z.core.$strip>>]>;
11891
+ }, z.core.$strip>], "type">;
11867
11892
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
11868
11893
  auto: "auto";
11869
11894
  }>]>;
@@ -12124,6 +12149,7 @@ export declare const clipSchema: z.ZodObject<{
12124
12149
  }>>;
12125
12150
  filter: z.ZodOptional<z.ZodEnum<{
12126
12151
  blur: "blur";
12152
+ none: "none";
12127
12153
  boost: "boost";
12128
12154
  contrast: "contrast";
12129
12155
  darken: "darken";
@@ -12313,10 +12339,10 @@ export declare const clipSchema: z.ZodObject<{
12313
12339
  */
12314
12340
  export declare const trackTrackSchema: z.ZodObject<{
12315
12341
  clips: z.ZodArray<z.ZodObject<{
12316
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
12317
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
12318
- }, z.core.$strip>, z.ZodObject<{
12319
- type: z.ZodDefault<z.ZodString>;
12342
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
12343
+ type: z.ZodEnum<{
12344
+ video: "video";
12345
+ }>;
12320
12346
  src: z.ZodString;
12321
12347
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12322
12348
  trim: z.ZodOptional<z.ZodNumber>;
@@ -12379,10 +12405,10 @@ export declare const trackTrackSchema: z.ZodObject<{
12379
12405
  threshold: z.ZodOptional<z.ZodInt>;
12380
12406
  halo: z.ZodOptional<z.ZodInt>;
12381
12407
  }, z.core.$strip>>;
12382
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
12383
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
12384
12408
  }, z.core.$strip>, z.ZodObject<{
12385
- type: z.ZodDefault<z.ZodString>;
12409
+ type: z.ZodEnum<{
12410
+ image: "image";
12411
+ }>;
12386
12412
  src: z.ZodString;
12387
12413
  crop: z.ZodOptional<z.ZodObject<{
12388
12414
  top: z.ZodOptional<z.ZodNumber>;
@@ -12390,10 +12416,10 @@ export declare const trackTrackSchema: z.ZodObject<{
12390
12416
  left: z.ZodOptional<z.ZodNumber>;
12391
12417
  right: z.ZodOptional<z.ZodNumber>;
12392
12418
  }, z.core.$strip>>;
12393
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
12394
- asset: z.ZodLiteral<"textasset_TextAsset">;
12395
12419
  }, z.core.$strip>, z.ZodObject<{
12396
- type: z.ZodDefault<z.ZodString>;
12420
+ type: z.ZodEnum<{
12421
+ text: "text";
12422
+ }>;
12397
12423
  text: z.ZodString;
12398
12424
  width: z.ZodOptional<z.ZodInt>;
12399
12425
  height: z.ZodOptional<z.ZodInt>;
@@ -12434,10 +12460,10 @@ export declare const trackTrackSchema: z.ZodObject<{
12434
12460
  duration: z.ZodOptional<z.ZodNumber>;
12435
12461
  }, z.core.$strip>>;
12436
12462
  ellipsis: z.ZodOptional<z.ZodString>;
12437
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
12438
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
12439
12463
  }, z.core.$strip>, z.ZodObject<{
12440
- type: z.ZodDefault<z.ZodString>;
12464
+ type: z.ZodEnum<{
12465
+ "rich-text": "rich-text";
12466
+ }>;
12441
12467
  text: z.ZodString;
12442
12468
  font: z.ZodOptional<z.ZodObject<{
12443
12469
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -12540,10 +12566,10 @@ export declare const trackTrackSchema: z.ZodObject<{
12540
12566
  down: "down";
12541
12567
  }>>;
12542
12568
  }, z.core.$strip>>;
12543
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
12544
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
12545
12569
  }, z.core.$strip>, z.ZodObject<{
12546
- type: z.ZodDefault<z.ZodString>;
12570
+ type: z.ZodEnum<{
12571
+ audio: "audio";
12572
+ }>;
12547
12573
  src: z.ZodString;
12548
12574
  trim: z.ZodOptional<z.ZodNumber>;
12549
12575
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -12594,16 +12620,16 @@ export declare const trackTrackSchema: z.ZodObject<{
12594
12620
  fadeOut: "fadeOut";
12595
12621
  fadeInFadeOut: "fadeInFadeOut";
12596
12622
  }>>;
12597
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
12598
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
12599
12623
  }, z.core.$strip>, z.ZodObject<{
12600
- type: z.ZodDefault<z.ZodString>;
12624
+ type: z.ZodEnum<{
12625
+ luma: "luma";
12626
+ }>;
12601
12627
  src: z.ZodString;
12602
12628
  trim: z.ZodOptional<z.ZodNumber>;
12603
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
12604
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
12605
12629
  }, z.core.$strip>, z.ZodObject<{
12606
- type: z.ZodDefault<z.ZodString>;
12630
+ type: z.ZodEnum<{
12631
+ caption: "caption";
12632
+ }>;
12607
12633
  src: z.ZodString;
12608
12634
  font: z.ZodOptional<z.ZodObject<{
12609
12635
  family: z.ZodOptional<z.ZodString>;
@@ -12627,10 +12653,10 @@ export declare const trackTrackSchema: z.ZodObject<{
12627
12653
  }, z.core.$strip>>;
12628
12654
  trim: z.ZodOptional<z.ZodNumber>;
12629
12655
  speed: z.ZodOptional<z.ZodNumber>;
12630
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
12631
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
12632
12656
  }, z.core.$strip>, z.ZodObject<{
12633
- type: z.ZodDefault<z.ZodString>;
12657
+ type: z.ZodEnum<{
12658
+ html: "html";
12659
+ }>;
12634
12660
  html: z.ZodString;
12635
12661
  css: z.ZodOptional<z.ZodString>;
12636
12662
  width: z.ZodOptional<z.ZodInt>;
@@ -12647,10 +12673,10 @@ export declare const trackTrackSchema: z.ZodObject<{
12647
12673
  topLeft: "topLeft";
12648
12674
  center: "center";
12649
12675
  }>>;
12650
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
12651
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
12652
12676
  }, z.core.$strip>, z.ZodObject<{
12653
- type: z.ZodDefault<z.ZodString>;
12677
+ type: z.ZodEnum<{
12678
+ title: "title";
12679
+ }>;
12654
12680
  text: z.ZodString;
12655
12681
  style: z.ZodOptional<z.ZodEnum<{
12656
12682
  minimal: "minimal";
@@ -12770,10 +12796,10 @@ export declare const trackTrackSchema: z.ZodObject<{
12770
12796
  }>>;
12771
12797
  }, z.core.$strip>>]>>;
12772
12798
  }, z.core.$strip>>;
12773
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
12774
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
12775
12799
  }, z.core.$strip>, z.ZodObject<{
12776
- type: z.ZodDefault<z.ZodString>;
12800
+ type: z.ZodEnum<{
12801
+ shape: "shape";
12802
+ }>;
12777
12803
  shape: z.ZodEnum<{
12778
12804
  circle: "circle";
12779
12805
  rectangle: "rectangle";
@@ -12801,23 +12827,19 @@ export declare const trackTrackSchema: z.ZodObject<{
12801
12827
  length: z.ZodInt;
12802
12828
  thickness: z.ZodInt;
12803
12829
  }, z.core.$strip>>;
12804
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
12805
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
12806
12830
  }, z.core.$strip>, z.ZodObject<{
12807
12831
  type: z.ZodEnum<{
12808
12832
  "text-to-image": "text-to-image";
12809
12833
  }>;
12810
12834
  prompt: z.ZodString;
12811
- width: z.ZodInt;
12812
- height: z.ZodInt;
12835
+ width: z.ZodOptional<z.ZodInt>;
12836
+ height: z.ZodOptional<z.ZodInt>;
12813
12837
  crop: z.ZodOptional<z.ZodObject<{
12814
12838
  top: z.ZodOptional<z.ZodNumber>;
12815
12839
  bottom: z.ZodOptional<z.ZodNumber>;
12816
12840
  left: z.ZodOptional<z.ZodNumber>;
12817
12841
  right: z.ZodOptional<z.ZodNumber>;
12818
12842
  }, z.core.$strip>>;
12819
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
12820
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
12821
12843
  }, z.core.$strip>, z.ZodObject<{
12822
12844
  type: z.ZodOptional<z.ZodEnum<{
12823
12845
  "image-to-video": "image-to-video";
@@ -12840,7 +12862,7 @@ export declare const trackTrackSchema: z.ZodObject<{
12840
12862
  left: z.ZodOptional<z.ZodNumber>;
12841
12863
  right: z.ZodOptional<z.ZodNumber>;
12842
12864
  }, z.core.$strip>>;
12843
- }, z.core.$strip>>]>;
12865
+ }, z.core.$strip>], "type">;
12844
12866
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
12845
12867
  auto: "auto";
12846
12868
  }>]>;
@@ -13101,6 +13123,7 @@ export declare const trackTrackSchema: z.ZodObject<{
13101
13123
  }>>;
13102
13124
  filter: z.ZodOptional<z.ZodEnum<{
13103
13125
  blur: "blur";
13126
+ none: "none";
13104
13127
  boost: "boost";
13105
13128
  contrast: "contrast";
13106
13129
  darken: "darken";
@@ -13288,10 +13311,10 @@ export declare const trackTrackSchema: z.ZodObject<{
13288
13311
  }, z.core.$strip>;
13289
13312
  export declare const trackSchema: z.ZodObject<{
13290
13313
  clips: z.ZodArray<z.ZodObject<{
13291
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
13292
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
13293
- }, z.core.$strip>, z.ZodObject<{
13294
- type: z.ZodDefault<z.ZodString>;
13314
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
13315
+ type: z.ZodEnum<{
13316
+ video: "video";
13317
+ }>;
13295
13318
  src: z.ZodString;
13296
13319
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
13297
13320
  trim: z.ZodOptional<z.ZodNumber>;
@@ -13354,10 +13377,10 @@ export declare const trackSchema: z.ZodObject<{
13354
13377
  threshold: z.ZodOptional<z.ZodInt>;
13355
13378
  halo: z.ZodOptional<z.ZodInt>;
13356
13379
  }, z.core.$strip>>;
13357
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
13358
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
13359
13380
  }, z.core.$strip>, z.ZodObject<{
13360
- type: z.ZodDefault<z.ZodString>;
13381
+ type: z.ZodEnum<{
13382
+ image: "image";
13383
+ }>;
13361
13384
  src: z.ZodString;
13362
13385
  crop: z.ZodOptional<z.ZodObject<{
13363
13386
  top: z.ZodOptional<z.ZodNumber>;
@@ -13365,10 +13388,10 @@ export declare const trackSchema: z.ZodObject<{
13365
13388
  left: z.ZodOptional<z.ZodNumber>;
13366
13389
  right: z.ZodOptional<z.ZodNumber>;
13367
13390
  }, z.core.$strip>>;
13368
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
13369
- asset: z.ZodLiteral<"textasset_TextAsset">;
13370
13391
  }, z.core.$strip>, z.ZodObject<{
13371
- type: z.ZodDefault<z.ZodString>;
13392
+ type: z.ZodEnum<{
13393
+ text: "text";
13394
+ }>;
13372
13395
  text: z.ZodString;
13373
13396
  width: z.ZodOptional<z.ZodInt>;
13374
13397
  height: z.ZodOptional<z.ZodInt>;
@@ -13409,10 +13432,10 @@ export declare const trackSchema: z.ZodObject<{
13409
13432
  duration: z.ZodOptional<z.ZodNumber>;
13410
13433
  }, z.core.$strip>>;
13411
13434
  ellipsis: z.ZodOptional<z.ZodString>;
13412
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
13413
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
13414
13435
  }, z.core.$strip>, z.ZodObject<{
13415
- type: z.ZodDefault<z.ZodString>;
13436
+ type: z.ZodEnum<{
13437
+ "rich-text": "rich-text";
13438
+ }>;
13416
13439
  text: z.ZodString;
13417
13440
  font: z.ZodOptional<z.ZodObject<{
13418
13441
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -13515,10 +13538,10 @@ export declare const trackSchema: z.ZodObject<{
13515
13538
  down: "down";
13516
13539
  }>>;
13517
13540
  }, z.core.$strip>>;
13518
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
13519
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
13520
13541
  }, z.core.$strip>, z.ZodObject<{
13521
- type: z.ZodDefault<z.ZodString>;
13542
+ type: z.ZodEnum<{
13543
+ audio: "audio";
13544
+ }>;
13522
13545
  src: z.ZodString;
13523
13546
  trim: z.ZodOptional<z.ZodNumber>;
13524
13547
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -13569,16 +13592,16 @@ export declare const trackSchema: z.ZodObject<{
13569
13592
  fadeOut: "fadeOut";
13570
13593
  fadeInFadeOut: "fadeInFadeOut";
13571
13594
  }>>;
13572
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
13573
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
13574
13595
  }, z.core.$strip>, z.ZodObject<{
13575
- type: z.ZodDefault<z.ZodString>;
13596
+ type: z.ZodEnum<{
13597
+ luma: "luma";
13598
+ }>;
13576
13599
  src: z.ZodString;
13577
13600
  trim: z.ZodOptional<z.ZodNumber>;
13578
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
13579
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
13580
13601
  }, z.core.$strip>, z.ZodObject<{
13581
- type: z.ZodDefault<z.ZodString>;
13602
+ type: z.ZodEnum<{
13603
+ caption: "caption";
13604
+ }>;
13582
13605
  src: z.ZodString;
13583
13606
  font: z.ZodOptional<z.ZodObject<{
13584
13607
  family: z.ZodOptional<z.ZodString>;
@@ -13602,10 +13625,10 @@ export declare const trackSchema: z.ZodObject<{
13602
13625
  }, z.core.$strip>>;
13603
13626
  trim: z.ZodOptional<z.ZodNumber>;
13604
13627
  speed: z.ZodOptional<z.ZodNumber>;
13605
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
13606
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
13607
13628
  }, z.core.$strip>, z.ZodObject<{
13608
- type: z.ZodDefault<z.ZodString>;
13629
+ type: z.ZodEnum<{
13630
+ html: "html";
13631
+ }>;
13609
13632
  html: z.ZodString;
13610
13633
  css: z.ZodOptional<z.ZodString>;
13611
13634
  width: z.ZodOptional<z.ZodInt>;
@@ -13622,10 +13645,10 @@ export declare const trackSchema: z.ZodObject<{
13622
13645
  topLeft: "topLeft";
13623
13646
  center: "center";
13624
13647
  }>>;
13625
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
13626
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
13627
13648
  }, z.core.$strip>, z.ZodObject<{
13628
- type: z.ZodDefault<z.ZodString>;
13649
+ type: z.ZodEnum<{
13650
+ title: "title";
13651
+ }>;
13629
13652
  text: z.ZodString;
13630
13653
  style: z.ZodOptional<z.ZodEnum<{
13631
13654
  minimal: "minimal";
@@ -13745,10 +13768,10 @@ export declare const trackSchema: z.ZodObject<{
13745
13768
  }>>;
13746
13769
  }, z.core.$strip>>]>>;
13747
13770
  }, z.core.$strip>>;
13748
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
13749
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
13750
13771
  }, z.core.$strip>, z.ZodObject<{
13751
- type: z.ZodDefault<z.ZodString>;
13772
+ type: z.ZodEnum<{
13773
+ shape: "shape";
13774
+ }>;
13752
13775
  shape: z.ZodEnum<{
13753
13776
  circle: "circle";
13754
13777
  rectangle: "rectangle";
@@ -13776,23 +13799,19 @@ export declare const trackSchema: z.ZodObject<{
13776
13799
  length: z.ZodInt;
13777
13800
  thickness: z.ZodInt;
13778
13801
  }, z.core.$strip>>;
13779
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
13780
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
13781
13802
  }, z.core.$strip>, z.ZodObject<{
13782
13803
  type: z.ZodEnum<{
13783
13804
  "text-to-image": "text-to-image";
13784
13805
  }>;
13785
13806
  prompt: z.ZodString;
13786
- width: z.ZodInt;
13787
- height: z.ZodInt;
13807
+ width: z.ZodOptional<z.ZodInt>;
13808
+ height: z.ZodOptional<z.ZodInt>;
13788
13809
  crop: z.ZodOptional<z.ZodObject<{
13789
13810
  top: z.ZodOptional<z.ZodNumber>;
13790
13811
  bottom: z.ZodOptional<z.ZodNumber>;
13791
13812
  left: z.ZodOptional<z.ZodNumber>;
13792
13813
  right: z.ZodOptional<z.ZodNumber>;
13793
13814
  }, z.core.$strip>>;
13794
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
13795
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
13796
13815
  }, z.core.$strip>, z.ZodObject<{
13797
13816
  type: z.ZodOptional<z.ZodEnum<{
13798
13817
  "image-to-video": "image-to-video";
@@ -13815,7 +13834,7 @@ export declare const trackSchema: z.ZodObject<{
13815
13834
  left: z.ZodOptional<z.ZodNumber>;
13816
13835
  right: z.ZodOptional<z.ZodNumber>;
13817
13836
  }, z.core.$strip>>;
13818
- }, z.core.$strip>>]>;
13837
+ }, z.core.$strip>], "type">;
13819
13838
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
13820
13839
  auto: "auto";
13821
13840
  }>]>;
@@ -14076,6 +14095,7 @@ export declare const trackSchema: z.ZodObject<{
14076
14095
  }>>;
14077
14096
  filter: z.ZodOptional<z.ZodEnum<{
14078
14097
  blur: "blur";
14098
+ none: "none";
14079
14099
  boost: "boost";
14080
14100
  contrast: "contrast";
14081
14101
  darken: "darken";
@@ -14280,10 +14300,10 @@ export declare const timelineTimelineSchema: z.ZodObject<{
14280
14300
  }, z.core.$strip>>>;
14281
14301
  tracks: z.ZodArray<z.ZodObject<{
14282
14302
  clips: z.ZodArray<z.ZodObject<{
14283
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
14284
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
14285
- }, z.core.$strip>, z.ZodObject<{
14286
- type: z.ZodDefault<z.ZodString>;
14303
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
14304
+ type: z.ZodEnum<{
14305
+ video: "video";
14306
+ }>;
14287
14307
  src: z.ZodString;
14288
14308
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
14289
14309
  trim: z.ZodOptional<z.ZodNumber>;
@@ -14346,10 +14366,10 @@ export declare const timelineTimelineSchema: z.ZodObject<{
14346
14366
  threshold: z.ZodOptional<z.ZodInt>;
14347
14367
  halo: z.ZodOptional<z.ZodInt>;
14348
14368
  }, z.core.$strip>>;
14349
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
14350
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
14351
14369
  }, z.core.$strip>, z.ZodObject<{
14352
- type: z.ZodDefault<z.ZodString>;
14370
+ type: z.ZodEnum<{
14371
+ image: "image";
14372
+ }>;
14353
14373
  src: z.ZodString;
14354
14374
  crop: z.ZodOptional<z.ZodObject<{
14355
14375
  top: z.ZodOptional<z.ZodNumber>;
@@ -14357,10 +14377,10 @@ export declare const timelineTimelineSchema: z.ZodObject<{
14357
14377
  left: z.ZodOptional<z.ZodNumber>;
14358
14378
  right: z.ZodOptional<z.ZodNumber>;
14359
14379
  }, z.core.$strip>>;
14360
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
14361
- asset: z.ZodLiteral<"textasset_TextAsset">;
14362
14380
  }, z.core.$strip>, z.ZodObject<{
14363
- type: z.ZodDefault<z.ZodString>;
14381
+ type: z.ZodEnum<{
14382
+ text: "text";
14383
+ }>;
14364
14384
  text: z.ZodString;
14365
14385
  width: z.ZodOptional<z.ZodInt>;
14366
14386
  height: z.ZodOptional<z.ZodInt>;
@@ -14401,10 +14421,10 @@ export declare const timelineTimelineSchema: z.ZodObject<{
14401
14421
  duration: z.ZodOptional<z.ZodNumber>;
14402
14422
  }, z.core.$strip>>;
14403
14423
  ellipsis: z.ZodOptional<z.ZodString>;
14404
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
14405
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
14406
14424
  }, z.core.$strip>, z.ZodObject<{
14407
- type: z.ZodDefault<z.ZodString>;
14425
+ type: z.ZodEnum<{
14426
+ "rich-text": "rich-text";
14427
+ }>;
14408
14428
  text: z.ZodString;
14409
14429
  font: z.ZodOptional<z.ZodObject<{
14410
14430
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -14507,10 +14527,10 @@ export declare const timelineTimelineSchema: z.ZodObject<{
14507
14527
  down: "down";
14508
14528
  }>>;
14509
14529
  }, z.core.$strip>>;
14510
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
14511
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
14512
14530
  }, z.core.$strip>, z.ZodObject<{
14513
- type: z.ZodDefault<z.ZodString>;
14531
+ type: z.ZodEnum<{
14532
+ audio: "audio";
14533
+ }>;
14514
14534
  src: z.ZodString;
14515
14535
  trim: z.ZodOptional<z.ZodNumber>;
14516
14536
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -14561,16 +14581,16 @@ export declare const timelineTimelineSchema: z.ZodObject<{
14561
14581
  fadeOut: "fadeOut";
14562
14582
  fadeInFadeOut: "fadeInFadeOut";
14563
14583
  }>>;
14564
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
14565
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
14566
14584
  }, z.core.$strip>, z.ZodObject<{
14567
- type: z.ZodDefault<z.ZodString>;
14585
+ type: z.ZodEnum<{
14586
+ luma: "luma";
14587
+ }>;
14568
14588
  src: z.ZodString;
14569
14589
  trim: z.ZodOptional<z.ZodNumber>;
14570
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
14571
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
14572
14590
  }, z.core.$strip>, z.ZodObject<{
14573
- type: z.ZodDefault<z.ZodString>;
14591
+ type: z.ZodEnum<{
14592
+ caption: "caption";
14593
+ }>;
14574
14594
  src: z.ZodString;
14575
14595
  font: z.ZodOptional<z.ZodObject<{
14576
14596
  family: z.ZodOptional<z.ZodString>;
@@ -14594,10 +14614,10 @@ export declare const timelineTimelineSchema: z.ZodObject<{
14594
14614
  }, z.core.$strip>>;
14595
14615
  trim: z.ZodOptional<z.ZodNumber>;
14596
14616
  speed: z.ZodOptional<z.ZodNumber>;
14597
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
14598
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
14599
14617
  }, z.core.$strip>, z.ZodObject<{
14600
- type: z.ZodDefault<z.ZodString>;
14618
+ type: z.ZodEnum<{
14619
+ html: "html";
14620
+ }>;
14601
14621
  html: z.ZodString;
14602
14622
  css: z.ZodOptional<z.ZodString>;
14603
14623
  width: z.ZodOptional<z.ZodInt>;
@@ -14614,10 +14634,10 @@ export declare const timelineTimelineSchema: z.ZodObject<{
14614
14634
  topLeft: "topLeft";
14615
14635
  center: "center";
14616
14636
  }>>;
14617
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
14618
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
14619
14637
  }, z.core.$strip>, z.ZodObject<{
14620
- type: z.ZodDefault<z.ZodString>;
14638
+ type: z.ZodEnum<{
14639
+ title: "title";
14640
+ }>;
14621
14641
  text: z.ZodString;
14622
14642
  style: z.ZodOptional<z.ZodEnum<{
14623
14643
  minimal: "minimal";
@@ -14737,10 +14757,10 @@ export declare const timelineTimelineSchema: z.ZodObject<{
14737
14757
  }>>;
14738
14758
  }, z.core.$strip>>]>>;
14739
14759
  }, z.core.$strip>>;
14740
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
14741
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
14742
14760
  }, z.core.$strip>, z.ZodObject<{
14743
- type: z.ZodDefault<z.ZodString>;
14761
+ type: z.ZodEnum<{
14762
+ shape: "shape";
14763
+ }>;
14744
14764
  shape: z.ZodEnum<{
14745
14765
  circle: "circle";
14746
14766
  rectangle: "rectangle";
@@ -14768,23 +14788,19 @@ export declare const timelineTimelineSchema: z.ZodObject<{
14768
14788
  length: z.ZodInt;
14769
14789
  thickness: z.ZodInt;
14770
14790
  }, z.core.$strip>>;
14771
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
14772
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
14773
14791
  }, z.core.$strip>, z.ZodObject<{
14774
14792
  type: z.ZodEnum<{
14775
14793
  "text-to-image": "text-to-image";
14776
14794
  }>;
14777
14795
  prompt: z.ZodString;
14778
- width: z.ZodInt;
14779
- height: z.ZodInt;
14796
+ width: z.ZodOptional<z.ZodInt>;
14797
+ height: z.ZodOptional<z.ZodInt>;
14780
14798
  crop: z.ZodOptional<z.ZodObject<{
14781
14799
  top: z.ZodOptional<z.ZodNumber>;
14782
14800
  bottom: z.ZodOptional<z.ZodNumber>;
14783
14801
  left: z.ZodOptional<z.ZodNumber>;
14784
14802
  right: z.ZodOptional<z.ZodNumber>;
14785
14803
  }, z.core.$strip>>;
14786
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
14787
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
14788
14804
  }, z.core.$strip>, z.ZodObject<{
14789
14805
  type: z.ZodOptional<z.ZodEnum<{
14790
14806
  "image-to-video": "image-to-video";
@@ -14807,7 +14823,7 @@ export declare const timelineTimelineSchema: z.ZodObject<{
14807
14823
  left: z.ZodOptional<z.ZodNumber>;
14808
14824
  right: z.ZodOptional<z.ZodNumber>;
14809
14825
  }, z.core.$strip>>;
14810
- }, z.core.$strip>>]>;
14826
+ }, z.core.$strip>], "type">;
14811
14827
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
14812
14828
  auto: "auto";
14813
14829
  }>]>;
@@ -15068,6 +15084,7 @@ export declare const timelineTimelineSchema: z.ZodObject<{
15068
15084
  }>>;
15069
15085
  filter: z.ZodOptional<z.ZodEnum<{
15070
15086
  blur: "blur";
15087
+ none: "none";
15071
15088
  boost: "boost";
15072
15089
  contrast: "contrast";
15073
15090
  darken: "darken";
@@ -15271,10 +15288,10 @@ export declare const timelineSchema: z.ZodObject<{
15271
15288
  }, z.core.$strip>>>;
15272
15289
  tracks: z.ZodArray<z.ZodObject<{
15273
15290
  clips: z.ZodArray<z.ZodObject<{
15274
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
15275
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
15276
- }, z.core.$strip>, z.ZodObject<{
15277
- type: z.ZodDefault<z.ZodString>;
15291
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
15292
+ type: z.ZodEnum<{
15293
+ video: "video";
15294
+ }>;
15278
15295
  src: z.ZodString;
15279
15296
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
15280
15297
  trim: z.ZodOptional<z.ZodNumber>;
@@ -15337,10 +15354,10 @@ export declare const timelineSchema: z.ZodObject<{
15337
15354
  threshold: z.ZodOptional<z.ZodInt>;
15338
15355
  halo: z.ZodOptional<z.ZodInt>;
15339
15356
  }, z.core.$strip>>;
15340
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
15341
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
15342
15357
  }, z.core.$strip>, z.ZodObject<{
15343
- type: z.ZodDefault<z.ZodString>;
15358
+ type: z.ZodEnum<{
15359
+ image: "image";
15360
+ }>;
15344
15361
  src: z.ZodString;
15345
15362
  crop: z.ZodOptional<z.ZodObject<{
15346
15363
  top: z.ZodOptional<z.ZodNumber>;
@@ -15348,10 +15365,10 @@ export declare const timelineSchema: z.ZodObject<{
15348
15365
  left: z.ZodOptional<z.ZodNumber>;
15349
15366
  right: z.ZodOptional<z.ZodNumber>;
15350
15367
  }, z.core.$strip>>;
15351
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
15352
- asset: z.ZodLiteral<"textasset_TextAsset">;
15353
15368
  }, z.core.$strip>, z.ZodObject<{
15354
- type: z.ZodDefault<z.ZodString>;
15369
+ type: z.ZodEnum<{
15370
+ text: "text";
15371
+ }>;
15355
15372
  text: z.ZodString;
15356
15373
  width: z.ZodOptional<z.ZodInt>;
15357
15374
  height: z.ZodOptional<z.ZodInt>;
@@ -15392,10 +15409,10 @@ export declare const timelineSchema: z.ZodObject<{
15392
15409
  duration: z.ZodOptional<z.ZodNumber>;
15393
15410
  }, z.core.$strip>>;
15394
15411
  ellipsis: z.ZodOptional<z.ZodString>;
15395
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
15396
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
15397
15412
  }, z.core.$strip>, z.ZodObject<{
15398
- type: z.ZodDefault<z.ZodString>;
15413
+ type: z.ZodEnum<{
15414
+ "rich-text": "rich-text";
15415
+ }>;
15399
15416
  text: z.ZodString;
15400
15417
  font: z.ZodOptional<z.ZodObject<{
15401
15418
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -15498,10 +15515,10 @@ export declare const timelineSchema: z.ZodObject<{
15498
15515
  down: "down";
15499
15516
  }>>;
15500
15517
  }, z.core.$strip>>;
15501
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
15502
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
15503
15518
  }, z.core.$strip>, z.ZodObject<{
15504
- type: z.ZodDefault<z.ZodString>;
15519
+ type: z.ZodEnum<{
15520
+ audio: "audio";
15521
+ }>;
15505
15522
  src: z.ZodString;
15506
15523
  trim: z.ZodOptional<z.ZodNumber>;
15507
15524
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -15552,16 +15569,16 @@ export declare const timelineSchema: z.ZodObject<{
15552
15569
  fadeOut: "fadeOut";
15553
15570
  fadeInFadeOut: "fadeInFadeOut";
15554
15571
  }>>;
15555
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
15556
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
15557
15572
  }, z.core.$strip>, z.ZodObject<{
15558
- type: z.ZodDefault<z.ZodString>;
15573
+ type: z.ZodEnum<{
15574
+ luma: "luma";
15575
+ }>;
15559
15576
  src: z.ZodString;
15560
15577
  trim: z.ZodOptional<z.ZodNumber>;
15561
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
15562
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
15563
15578
  }, z.core.$strip>, z.ZodObject<{
15564
- type: z.ZodDefault<z.ZodString>;
15579
+ type: z.ZodEnum<{
15580
+ caption: "caption";
15581
+ }>;
15565
15582
  src: z.ZodString;
15566
15583
  font: z.ZodOptional<z.ZodObject<{
15567
15584
  family: z.ZodOptional<z.ZodString>;
@@ -15585,10 +15602,10 @@ export declare const timelineSchema: z.ZodObject<{
15585
15602
  }, z.core.$strip>>;
15586
15603
  trim: z.ZodOptional<z.ZodNumber>;
15587
15604
  speed: z.ZodOptional<z.ZodNumber>;
15588
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
15589
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
15590
15605
  }, z.core.$strip>, z.ZodObject<{
15591
- type: z.ZodDefault<z.ZodString>;
15606
+ type: z.ZodEnum<{
15607
+ html: "html";
15608
+ }>;
15592
15609
  html: z.ZodString;
15593
15610
  css: z.ZodOptional<z.ZodString>;
15594
15611
  width: z.ZodOptional<z.ZodInt>;
@@ -15605,10 +15622,10 @@ export declare const timelineSchema: z.ZodObject<{
15605
15622
  topLeft: "topLeft";
15606
15623
  center: "center";
15607
15624
  }>>;
15608
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
15609
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
15610
15625
  }, z.core.$strip>, z.ZodObject<{
15611
- type: z.ZodDefault<z.ZodString>;
15626
+ type: z.ZodEnum<{
15627
+ title: "title";
15628
+ }>;
15612
15629
  text: z.ZodString;
15613
15630
  style: z.ZodOptional<z.ZodEnum<{
15614
15631
  minimal: "minimal";
@@ -15728,10 +15745,10 @@ export declare const timelineSchema: z.ZodObject<{
15728
15745
  }>>;
15729
15746
  }, z.core.$strip>>]>>;
15730
15747
  }, z.core.$strip>>;
15731
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
15732
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
15733
15748
  }, z.core.$strip>, z.ZodObject<{
15734
- type: z.ZodDefault<z.ZodString>;
15749
+ type: z.ZodEnum<{
15750
+ shape: "shape";
15751
+ }>;
15735
15752
  shape: z.ZodEnum<{
15736
15753
  circle: "circle";
15737
15754
  rectangle: "rectangle";
@@ -15759,23 +15776,19 @@ export declare const timelineSchema: z.ZodObject<{
15759
15776
  length: z.ZodInt;
15760
15777
  thickness: z.ZodInt;
15761
15778
  }, z.core.$strip>>;
15762
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
15763
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
15764
15779
  }, z.core.$strip>, z.ZodObject<{
15765
15780
  type: z.ZodEnum<{
15766
15781
  "text-to-image": "text-to-image";
15767
15782
  }>;
15768
15783
  prompt: z.ZodString;
15769
- width: z.ZodInt;
15770
- height: z.ZodInt;
15784
+ width: z.ZodOptional<z.ZodInt>;
15785
+ height: z.ZodOptional<z.ZodInt>;
15771
15786
  crop: z.ZodOptional<z.ZodObject<{
15772
15787
  top: z.ZodOptional<z.ZodNumber>;
15773
15788
  bottom: z.ZodOptional<z.ZodNumber>;
15774
15789
  left: z.ZodOptional<z.ZodNumber>;
15775
15790
  right: z.ZodOptional<z.ZodNumber>;
15776
15791
  }, z.core.$strip>>;
15777
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
15778
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
15779
15792
  }, z.core.$strip>, z.ZodObject<{
15780
15793
  type: z.ZodOptional<z.ZodEnum<{
15781
15794
  "image-to-video": "image-to-video";
@@ -15798,7 +15811,7 @@ export declare const timelineSchema: z.ZodObject<{
15798
15811
  left: z.ZodOptional<z.ZodNumber>;
15799
15812
  right: z.ZodOptional<z.ZodNumber>;
15800
15813
  }, z.core.$strip>>;
15801
- }, z.core.$strip>>]>;
15814
+ }, z.core.$strip>], "type">;
15802
15815
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
15803
15816
  auto: "auto";
15804
15817
  }>]>;
@@ -16059,6 +16072,7 @@ export declare const timelineSchema: z.ZodObject<{
16059
16072
  }>>;
16060
16073
  filter: z.ZodOptional<z.ZodEnum<{
16061
16074
  blur: "blur";
16075
+ none: "none";
16062
16076
  boost: "boost";
16063
16077
  contrast: "contrast";
16064
16078
  darken: "darken";
@@ -16266,10 +16280,10 @@ export declare const editEditSchema: z.ZodObject<{
16266
16280
  }, z.core.$strip>>>;
16267
16281
  tracks: z.ZodArray<z.ZodObject<{
16268
16282
  clips: z.ZodArray<z.ZodObject<{
16269
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
16270
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
16271
- }, z.core.$strip>, z.ZodObject<{
16272
- type: z.ZodDefault<z.ZodString>;
16283
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
16284
+ type: z.ZodEnum<{
16285
+ video: "video";
16286
+ }>;
16273
16287
  src: z.ZodString;
16274
16288
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
16275
16289
  trim: z.ZodOptional<z.ZodNumber>;
@@ -16332,10 +16346,10 @@ export declare const editEditSchema: z.ZodObject<{
16332
16346
  threshold: z.ZodOptional<z.ZodInt>;
16333
16347
  halo: z.ZodOptional<z.ZodInt>;
16334
16348
  }, z.core.$strip>>;
16335
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
16336
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
16337
16349
  }, z.core.$strip>, z.ZodObject<{
16338
- type: z.ZodDefault<z.ZodString>;
16350
+ type: z.ZodEnum<{
16351
+ image: "image";
16352
+ }>;
16339
16353
  src: z.ZodString;
16340
16354
  crop: z.ZodOptional<z.ZodObject<{
16341
16355
  top: z.ZodOptional<z.ZodNumber>;
@@ -16343,10 +16357,10 @@ export declare const editEditSchema: z.ZodObject<{
16343
16357
  left: z.ZodOptional<z.ZodNumber>;
16344
16358
  right: z.ZodOptional<z.ZodNumber>;
16345
16359
  }, z.core.$strip>>;
16346
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
16347
- asset: z.ZodLiteral<"textasset_TextAsset">;
16348
16360
  }, z.core.$strip>, z.ZodObject<{
16349
- type: z.ZodDefault<z.ZodString>;
16361
+ type: z.ZodEnum<{
16362
+ text: "text";
16363
+ }>;
16350
16364
  text: z.ZodString;
16351
16365
  width: z.ZodOptional<z.ZodInt>;
16352
16366
  height: z.ZodOptional<z.ZodInt>;
@@ -16387,10 +16401,10 @@ export declare const editEditSchema: z.ZodObject<{
16387
16401
  duration: z.ZodOptional<z.ZodNumber>;
16388
16402
  }, z.core.$strip>>;
16389
16403
  ellipsis: z.ZodOptional<z.ZodString>;
16390
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
16391
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
16392
16404
  }, z.core.$strip>, z.ZodObject<{
16393
- type: z.ZodDefault<z.ZodString>;
16405
+ type: z.ZodEnum<{
16406
+ "rich-text": "rich-text";
16407
+ }>;
16394
16408
  text: z.ZodString;
16395
16409
  font: z.ZodOptional<z.ZodObject<{
16396
16410
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -16493,10 +16507,10 @@ export declare const editEditSchema: z.ZodObject<{
16493
16507
  down: "down";
16494
16508
  }>>;
16495
16509
  }, z.core.$strip>>;
16496
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
16497
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
16498
16510
  }, z.core.$strip>, z.ZodObject<{
16499
- type: z.ZodDefault<z.ZodString>;
16511
+ type: z.ZodEnum<{
16512
+ audio: "audio";
16513
+ }>;
16500
16514
  src: z.ZodString;
16501
16515
  trim: z.ZodOptional<z.ZodNumber>;
16502
16516
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -16547,16 +16561,16 @@ export declare const editEditSchema: z.ZodObject<{
16547
16561
  fadeOut: "fadeOut";
16548
16562
  fadeInFadeOut: "fadeInFadeOut";
16549
16563
  }>>;
16550
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
16551
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
16552
16564
  }, z.core.$strip>, z.ZodObject<{
16553
- type: z.ZodDefault<z.ZodString>;
16565
+ type: z.ZodEnum<{
16566
+ luma: "luma";
16567
+ }>;
16554
16568
  src: z.ZodString;
16555
16569
  trim: z.ZodOptional<z.ZodNumber>;
16556
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
16557
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
16558
16570
  }, z.core.$strip>, z.ZodObject<{
16559
- type: z.ZodDefault<z.ZodString>;
16571
+ type: z.ZodEnum<{
16572
+ caption: "caption";
16573
+ }>;
16560
16574
  src: z.ZodString;
16561
16575
  font: z.ZodOptional<z.ZodObject<{
16562
16576
  family: z.ZodOptional<z.ZodString>;
@@ -16580,10 +16594,10 @@ export declare const editEditSchema: z.ZodObject<{
16580
16594
  }, z.core.$strip>>;
16581
16595
  trim: z.ZodOptional<z.ZodNumber>;
16582
16596
  speed: z.ZodOptional<z.ZodNumber>;
16583
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
16584
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
16585
16597
  }, z.core.$strip>, z.ZodObject<{
16586
- type: z.ZodDefault<z.ZodString>;
16598
+ type: z.ZodEnum<{
16599
+ html: "html";
16600
+ }>;
16587
16601
  html: z.ZodString;
16588
16602
  css: z.ZodOptional<z.ZodString>;
16589
16603
  width: z.ZodOptional<z.ZodInt>;
@@ -16600,10 +16614,10 @@ export declare const editEditSchema: z.ZodObject<{
16600
16614
  topLeft: "topLeft";
16601
16615
  center: "center";
16602
16616
  }>>;
16603
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
16604
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
16605
16617
  }, z.core.$strip>, z.ZodObject<{
16606
- type: z.ZodDefault<z.ZodString>;
16618
+ type: z.ZodEnum<{
16619
+ title: "title";
16620
+ }>;
16607
16621
  text: z.ZodString;
16608
16622
  style: z.ZodOptional<z.ZodEnum<{
16609
16623
  minimal: "minimal";
@@ -16723,10 +16737,10 @@ export declare const editEditSchema: z.ZodObject<{
16723
16737
  }>>;
16724
16738
  }, z.core.$strip>>]>>;
16725
16739
  }, z.core.$strip>>;
16726
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
16727
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
16728
16740
  }, z.core.$strip>, z.ZodObject<{
16729
- type: z.ZodDefault<z.ZodString>;
16741
+ type: z.ZodEnum<{
16742
+ shape: "shape";
16743
+ }>;
16730
16744
  shape: z.ZodEnum<{
16731
16745
  circle: "circle";
16732
16746
  rectangle: "rectangle";
@@ -16754,23 +16768,19 @@ export declare const editEditSchema: z.ZodObject<{
16754
16768
  length: z.ZodInt;
16755
16769
  thickness: z.ZodInt;
16756
16770
  }, z.core.$strip>>;
16757
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
16758
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
16759
16771
  }, z.core.$strip>, z.ZodObject<{
16760
16772
  type: z.ZodEnum<{
16761
16773
  "text-to-image": "text-to-image";
16762
16774
  }>;
16763
16775
  prompt: z.ZodString;
16764
- width: z.ZodInt;
16765
- height: z.ZodInt;
16776
+ width: z.ZodOptional<z.ZodInt>;
16777
+ height: z.ZodOptional<z.ZodInt>;
16766
16778
  crop: z.ZodOptional<z.ZodObject<{
16767
16779
  top: z.ZodOptional<z.ZodNumber>;
16768
16780
  bottom: z.ZodOptional<z.ZodNumber>;
16769
16781
  left: z.ZodOptional<z.ZodNumber>;
16770
16782
  right: z.ZodOptional<z.ZodNumber>;
16771
16783
  }, z.core.$strip>>;
16772
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
16773
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
16774
16784
  }, z.core.$strip>, z.ZodObject<{
16775
16785
  type: z.ZodOptional<z.ZodEnum<{
16776
16786
  "image-to-video": "image-to-video";
@@ -16793,7 +16803,7 @@ export declare const editEditSchema: z.ZodObject<{
16793
16803
  left: z.ZodOptional<z.ZodNumber>;
16794
16804
  right: z.ZodOptional<z.ZodNumber>;
16795
16805
  }, z.core.$strip>>;
16796
- }, z.core.$strip>>]>;
16806
+ }, z.core.$strip>], "type">;
16797
16807
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
16798
16808
  auto: "auto";
16799
16809
  }>]>;
@@ -17054,6 +17064,7 @@ export declare const editEditSchema: z.ZodObject<{
17054
17064
  }>>;
17055
17065
  filter: z.ZodOptional<z.ZodEnum<{
17056
17066
  blur: "blur";
17067
+ none: "none";
17057
17068
  boost: "boost";
17058
17069
  contrast: "contrast";
17059
17070
  darken: "darken";
@@ -17414,10 +17425,10 @@ export declare const editSchema: z.ZodObject<{
17414
17425
  }, z.core.$strip>>>;
17415
17426
  tracks: z.ZodArray<z.ZodObject<{
17416
17427
  clips: z.ZodArray<z.ZodObject<{
17417
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
17418
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
17419
- }, z.core.$strip>, z.ZodObject<{
17420
- type: z.ZodDefault<z.ZodString>;
17428
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
17429
+ type: z.ZodEnum<{
17430
+ video: "video";
17431
+ }>;
17421
17432
  src: z.ZodString;
17422
17433
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
17423
17434
  trim: z.ZodOptional<z.ZodNumber>;
@@ -17480,10 +17491,10 @@ export declare const editSchema: z.ZodObject<{
17480
17491
  threshold: z.ZodOptional<z.ZodInt>;
17481
17492
  halo: z.ZodOptional<z.ZodInt>;
17482
17493
  }, z.core.$strip>>;
17483
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
17484
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
17485
17494
  }, z.core.$strip>, z.ZodObject<{
17486
- type: z.ZodDefault<z.ZodString>;
17495
+ type: z.ZodEnum<{
17496
+ image: "image";
17497
+ }>;
17487
17498
  src: z.ZodString;
17488
17499
  crop: z.ZodOptional<z.ZodObject<{
17489
17500
  top: z.ZodOptional<z.ZodNumber>;
@@ -17491,10 +17502,10 @@ export declare const editSchema: z.ZodObject<{
17491
17502
  left: z.ZodOptional<z.ZodNumber>;
17492
17503
  right: z.ZodOptional<z.ZodNumber>;
17493
17504
  }, z.core.$strip>>;
17494
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
17495
- asset: z.ZodLiteral<"textasset_TextAsset">;
17496
17505
  }, z.core.$strip>, z.ZodObject<{
17497
- type: z.ZodDefault<z.ZodString>;
17506
+ type: z.ZodEnum<{
17507
+ text: "text";
17508
+ }>;
17498
17509
  text: z.ZodString;
17499
17510
  width: z.ZodOptional<z.ZodInt>;
17500
17511
  height: z.ZodOptional<z.ZodInt>;
@@ -17535,10 +17546,10 @@ export declare const editSchema: z.ZodObject<{
17535
17546
  duration: z.ZodOptional<z.ZodNumber>;
17536
17547
  }, z.core.$strip>>;
17537
17548
  ellipsis: z.ZodOptional<z.ZodString>;
17538
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
17539
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
17540
17549
  }, z.core.$strip>, z.ZodObject<{
17541
- type: z.ZodDefault<z.ZodString>;
17550
+ type: z.ZodEnum<{
17551
+ "rich-text": "rich-text";
17552
+ }>;
17542
17553
  text: z.ZodString;
17543
17554
  font: z.ZodOptional<z.ZodObject<{
17544
17555
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -17641,10 +17652,10 @@ export declare const editSchema: z.ZodObject<{
17641
17652
  down: "down";
17642
17653
  }>>;
17643
17654
  }, z.core.$strip>>;
17644
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
17645
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
17646
17655
  }, z.core.$strip>, z.ZodObject<{
17647
- type: z.ZodDefault<z.ZodString>;
17656
+ type: z.ZodEnum<{
17657
+ audio: "audio";
17658
+ }>;
17648
17659
  src: z.ZodString;
17649
17660
  trim: z.ZodOptional<z.ZodNumber>;
17650
17661
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -17695,16 +17706,16 @@ export declare const editSchema: z.ZodObject<{
17695
17706
  fadeOut: "fadeOut";
17696
17707
  fadeInFadeOut: "fadeInFadeOut";
17697
17708
  }>>;
17698
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
17699
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
17700
17709
  }, z.core.$strip>, z.ZodObject<{
17701
- type: z.ZodDefault<z.ZodString>;
17710
+ type: z.ZodEnum<{
17711
+ luma: "luma";
17712
+ }>;
17702
17713
  src: z.ZodString;
17703
17714
  trim: z.ZodOptional<z.ZodNumber>;
17704
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
17705
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
17706
17715
  }, z.core.$strip>, z.ZodObject<{
17707
- type: z.ZodDefault<z.ZodString>;
17716
+ type: z.ZodEnum<{
17717
+ caption: "caption";
17718
+ }>;
17708
17719
  src: z.ZodString;
17709
17720
  font: z.ZodOptional<z.ZodObject<{
17710
17721
  family: z.ZodOptional<z.ZodString>;
@@ -17728,10 +17739,10 @@ export declare const editSchema: z.ZodObject<{
17728
17739
  }, z.core.$strip>>;
17729
17740
  trim: z.ZodOptional<z.ZodNumber>;
17730
17741
  speed: z.ZodOptional<z.ZodNumber>;
17731
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
17732
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
17733
17742
  }, z.core.$strip>, z.ZodObject<{
17734
- type: z.ZodDefault<z.ZodString>;
17743
+ type: z.ZodEnum<{
17744
+ html: "html";
17745
+ }>;
17735
17746
  html: z.ZodString;
17736
17747
  css: z.ZodOptional<z.ZodString>;
17737
17748
  width: z.ZodOptional<z.ZodInt>;
@@ -17748,10 +17759,10 @@ export declare const editSchema: z.ZodObject<{
17748
17759
  topLeft: "topLeft";
17749
17760
  center: "center";
17750
17761
  }>>;
17751
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
17752
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
17753
17762
  }, z.core.$strip>, z.ZodObject<{
17754
- type: z.ZodDefault<z.ZodString>;
17763
+ type: z.ZodEnum<{
17764
+ title: "title";
17765
+ }>;
17755
17766
  text: z.ZodString;
17756
17767
  style: z.ZodOptional<z.ZodEnum<{
17757
17768
  minimal: "minimal";
@@ -17871,10 +17882,10 @@ export declare const editSchema: z.ZodObject<{
17871
17882
  }>>;
17872
17883
  }, z.core.$strip>>]>>;
17873
17884
  }, z.core.$strip>>;
17874
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
17875
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
17876
17885
  }, z.core.$strip>, z.ZodObject<{
17877
- type: z.ZodDefault<z.ZodString>;
17886
+ type: z.ZodEnum<{
17887
+ shape: "shape";
17888
+ }>;
17878
17889
  shape: z.ZodEnum<{
17879
17890
  circle: "circle";
17880
17891
  rectangle: "rectangle";
@@ -17902,23 +17913,19 @@ export declare const editSchema: z.ZodObject<{
17902
17913
  length: z.ZodInt;
17903
17914
  thickness: z.ZodInt;
17904
17915
  }, z.core.$strip>>;
17905
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
17906
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
17907
17916
  }, z.core.$strip>, z.ZodObject<{
17908
17917
  type: z.ZodEnum<{
17909
17918
  "text-to-image": "text-to-image";
17910
17919
  }>;
17911
17920
  prompt: z.ZodString;
17912
- width: z.ZodInt;
17913
- height: z.ZodInt;
17921
+ width: z.ZodOptional<z.ZodInt>;
17922
+ height: z.ZodOptional<z.ZodInt>;
17914
17923
  crop: z.ZodOptional<z.ZodObject<{
17915
17924
  top: z.ZodOptional<z.ZodNumber>;
17916
17925
  bottom: z.ZodOptional<z.ZodNumber>;
17917
17926
  left: z.ZodOptional<z.ZodNumber>;
17918
17927
  right: z.ZodOptional<z.ZodNumber>;
17919
17928
  }, z.core.$strip>>;
17920
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
17921
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
17922
17929
  }, z.core.$strip>, z.ZodObject<{
17923
17930
  type: z.ZodOptional<z.ZodEnum<{
17924
17931
  "image-to-video": "image-to-video";
@@ -17941,7 +17948,7 @@ export declare const editSchema: z.ZodObject<{
17941
17948
  left: z.ZodOptional<z.ZodNumber>;
17942
17949
  right: z.ZodOptional<z.ZodNumber>;
17943
17950
  }, z.core.$strip>>;
17944
- }, z.core.$strip>>]>;
17951
+ }, z.core.$strip>], "type">;
17945
17952
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
17946
17953
  auto: "auto";
17947
17954
  }>]>;
@@ -18202,6 +18209,7 @@ export declare const editSchema: z.ZodObject<{
18202
18209
  }>>;
18203
18210
  filter: z.ZodOptional<z.ZodEnum<{
18204
18211
  blur: "blur";
18212
+ none: "none";
18205
18213
  boost: "boost";
18206
18214
  contrast: "contrast";
18207
18215
  darken: "darken";
@@ -18584,10 +18592,10 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
18584
18592
  }, z.core.$strip>>>;
18585
18593
  tracks: z.ZodArray<z.ZodObject<{
18586
18594
  clips: z.ZodArray<z.ZodObject<{
18587
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
18588
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
18589
- }, z.core.$strip>, z.ZodObject<{
18590
- type: z.ZodDefault<z.ZodString>;
18595
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
18596
+ type: z.ZodEnum<{
18597
+ video: "video";
18598
+ }>;
18591
18599
  src: z.ZodString;
18592
18600
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18593
18601
  trim: z.ZodOptional<z.ZodNumber>;
@@ -18650,10 +18658,10 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
18650
18658
  threshold: z.ZodOptional<z.ZodInt>;
18651
18659
  halo: z.ZodOptional<z.ZodInt>;
18652
18660
  }, z.core.$strip>>;
18653
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
18654
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
18655
18661
  }, z.core.$strip>, z.ZodObject<{
18656
- type: z.ZodDefault<z.ZodString>;
18662
+ type: z.ZodEnum<{
18663
+ image: "image";
18664
+ }>;
18657
18665
  src: z.ZodString;
18658
18666
  crop: z.ZodOptional<z.ZodObject<{
18659
18667
  top: z.ZodOptional<z.ZodNumber>;
@@ -18661,10 +18669,10 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
18661
18669
  left: z.ZodOptional<z.ZodNumber>;
18662
18670
  right: z.ZodOptional<z.ZodNumber>;
18663
18671
  }, z.core.$strip>>;
18664
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
18665
- asset: z.ZodLiteral<"textasset_TextAsset">;
18666
18672
  }, z.core.$strip>, z.ZodObject<{
18667
- type: z.ZodDefault<z.ZodString>;
18673
+ type: z.ZodEnum<{
18674
+ text: "text";
18675
+ }>;
18668
18676
  text: z.ZodString;
18669
18677
  width: z.ZodOptional<z.ZodInt>;
18670
18678
  height: z.ZodOptional<z.ZodInt>;
@@ -18705,10 +18713,10 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
18705
18713
  duration: z.ZodOptional<z.ZodNumber>;
18706
18714
  }, z.core.$strip>>;
18707
18715
  ellipsis: z.ZodOptional<z.ZodString>;
18708
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
18709
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
18710
18716
  }, z.core.$strip>, z.ZodObject<{
18711
- type: z.ZodDefault<z.ZodString>;
18717
+ type: z.ZodEnum<{
18718
+ "rich-text": "rich-text";
18719
+ }>;
18712
18720
  text: z.ZodString;
18713
18721
  font: z.ZodOptional<z.ZodObject<{
18714
18722
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -18811,10 +18819,10 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
18811
18819
  down: "down";
18812
18820
  }>>;
18813
18821
  }, z.core.$strip>>;
18814
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
18815
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
18816
18822
  }, z.core.$strip>, z.ZodObject<{
18817
- type: z.ZodDefault<z.ZodString>;
18823
+ type: z.ZodEnum<{
18824
+ audio: "audio";
18825
+ }>;
18818
18826
  src: z.ZodString;
18819
18827
  trim: z.ZodOptional<z.ZodNumber>;
18820
18828
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -18865,16 +18873,16 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
18865
18873
  fadeOut: "fadeOut";
18866
18874
  fadeInFadeOut: "fadeInFadeOut";
18867
18875
  }>>;
18868
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
18869
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
18870
18876
  }, z.core.$strip>, z.ZodObject<{
18871
- type: z.ZodDefault<z.ZodString>;
18877
+ type: z.ZodEnum<{
18878
+ luma: "luma";
18879
+ }>;
18872
18880
  src: z.ZodString;
18873
18881
  trim: z.ZodOptional<z.ZodNumber>;
18874
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
18875
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
18876
18882
  }, z.core.$strip>, z.ZodObject<{
18877
- type: z.ZodDefault<z.ZodString>;
18883
+ type: z.ZodEnum<{
18884
+ caption: "caption";
18885
+ }>;
18878
18886
  src: z.ZodString;
18879
18887
  font: z.ZodOptional<z.ZodObject<{
18880
18888
  family: z.ZodOptional<z.ZodString>;
@@ -18898,10 +18906,10 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
18898
18906
  }, z.core.$strip>>;
18899
18907
  trim: z.ZodOptional<z.ZodNumber>;
18900
18908
  speed: z.ZodOptional<z.ZodNumber>;
18901
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
18902
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
18903
18909
  }, z.core.$strip>, z.ZodObject<{
18904
- type: z.ZodDefault<z.ZodString>;
18910
+ type: z.ZodEnum<{
18911
+ html: "html";
18912
+ }>;
18905
18913
  html: z.ZodString;
18906
18914
  css: z.ZodOptional<z.ZodString>;
18907
18915
  width: z.ZodOptional<z.ZodInt>;
@@ -18918,10 +18926,10 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
18918
18926
  topLeft: "topLeft";
18919
18927
  center: "center";
18920
18928
  }>>;
18921
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
18922
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
18923
18929
  }, z.core.$strip>, z.ZodObject<{
18924
- type: z.ZodDefault<z.ZodString>;
18930
+ type: z.ZodEnum<{
18931
+ title: "title";
18932
+ }>;
18925
18933
  text: z.ZodString;
18926
18934
  style: z.ZodOptional<z.ZodEnum<{
18927
18935
  minimal: "minimal";
@@ -19041,10 +19049,10 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
19041
19049
  }>>;
19042
19050
  }, z.core.$strip>>]>>;
19043
19051
  }, z.core.$strip>>;
19044
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
19045
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
19046
19052
  }, z.core.$strip>, z.ZodObject<{
19047
- type: z.ZodDefault<z.ZodString>;
19053
+ type: z.ZodEnum<{
19054
+ shape: "shape";
19055
+ }>;
19048
19056
  shape: z.ZodEnum<{
19049
19057
  circle: "circle";
19050
19058
  rectangle: "rectangle";
@@ -19072,23 +19080,19 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
19072
19080
  length: z.ZodInt;
19073
19081
  thickness: z.ZodInt;
19074
19082
  }, z.core.$strip>>;
19075
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
19076
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
19077
19083
  }, z.core.$strip>, z.ZodObject<{
19078
19084
  type: z.ZodEnum<{
19079
19085
  "text-to-image": "text-to-image";
19080
19086
  }>;
19081
19087
  prompt: z.ZodString;
19082
- width: z.ZodInt;
19083
- height: z.ZodInt;
19088
+ width: z.ZodOptional<z.ZodInt>;
19089
+ height: z.ZodOptional<z.ZodInt>;
19084
19090
  crop: z.ZodOptional<z.ZodObject<{
19085
19091
  top: z.ZodOptional<z.ZodNumber>;
19086
19092
  bottom: z.ZodOptional<z.ZodNumber>;
19087
19093
  left: z.ZodOptional<z.ZodNumber>;
19088
19094
  right: z.ZodOptional<z.ZodNumber>;
19089
19095
  }, z.core.$strip>>;
19090
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
19091
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
19092
19096
  }, z.core.$strip>, z.ZodObject<{
19093
19097
  type: z.ZodOptional<z.ZodEnum<{
19094
19098
  "image-to-video": "image-to-video";
@@ -19111,7 +19115,7 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
19111
19115
  left: z.ZodOptional<z.ZodNumber>;
19112
19116
  right: z.ZodOptional<z.ZodNumber>;
19113
19117
  }, z.core.$strip>>;
19114
- }, z.core.$strip>>]>;
19118
+ }, z.core.$strip>], "type">;
19115
19119
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
19116
19120
  auto: "auto";
19117
19121
  }>]>;
@@ -19372,6 +19376,7 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
19372
19376
  }>>;
19373
19377
  filter: z.ZodOptional<z.ZodEnum<{
19374
19378
  blur: "blur";
19379
+ none: "none";
19375
19380
  boost: "boost";
19376
19381
  contrast: "contrast";
19377
19382
  darken: "darken";
@@ -19754,10 +19759,10 @@ export declare const renderResponseDataSchema: z.ZodObject<{
19754
19759
  }, z.core.$strip>>>;
19755
19760
  tracks: z.ZodArray<z.ZodObject<{
19756
19761
  clips: z.ZodArray<z.ZodObject<{
19757
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
19758
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
19759
- }, z.core.$strip>, z.ZodObject<{
19760
- type: z.ZodDefault<z.ZodString>;
19762
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
19763
+ type: z.ZodEnum<{
19764
+ video: "video";
19765
+ }>;
19761
19766
  src: z.ZodString;
19762
19767
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
19763
19768
  trim: z.ZodOptional<z.ZodNumber>;
@@ -19820,10 +19825,10 @@ export declare const renderResponseDataSchema: z.ZodObject<{
19820
19825
  threshold: z.ZodOptional<z.ZodInt>;
19821
19826
  halo: z.ZodOptional<z.ZodInt>;
19822
19827
  }, z.core.$strip>>;
19823
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
19824
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
19825
19828
  }, z.core.$strip>, z.ZodObject<{
19826
- type: z.ZodDefault<z.ZodString>;
19829
+ type: z.ZodEnum<{
19830
+ image: "image";
19831
+ }>;
19827
19832
  src: z.ZodString;
19828
19833
  crop: z.ZodOptional<z.ZodObject<{
19829
19834
  top: z.ZodOptional<z.ZodNumber>;
@@ -19831,10 +19836,10 @@ export declare const renderResponseDataSchema: z.ZodObject<{
19831
19836
  left: z.ZodOptional<z.ZodNumber>;
19832
19837
  right: z.ZodOptional<z.ZodNumber>;
19833
19838
  }, z.core.$strip>>;
19834
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
19835
- asset: z.ZodLiteral<"textasset_TextAsset">;
19836
19839
  }, z.core.$strip>, z.ZodObject<{
19837
- type: z.ZodDefault<z.ZodString>;
19840
+ type: z.ZodEnum<{
19841
+ text: "text";
19842
+ }>;
19838
19843
  text: z.ZodString;
19839
19844
  width: z.ZodOptional<z.ZodInt>;
19840
19845
  height: z.ZodOptional<z.ZodInt>;
@@ -19875,10 +19880,10 @@ export declare const renderResponseDataSchema: z.ZodObject<{
19875
19880
  duration: z.ZodOptional<z.ZodNumber>;
19876
19881
  }, z.core.$strip>>;
19877
19882
  ellipsis: z.ZodOptional<z.ZodString>;
19878
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
19879
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
19880
19883
  }, z.core.$strip>, z.ZodObject<{
19881
- type: z.ZodDefault<z.ZodString>;
19884
+ type: z.ZodEnum<{
19885
+ "rich-text": "rich-text";
19886
+ }>;
19882
19887
  text: z.ZodString;
19883
19888
  font: z.ZodOptional<z.ZodObject<{
19884
19889
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -19981,10 +19986,10 @@ export declare const renderResponseDataSchema: z.ZodObject<{
19981
19986
  down: "down";
19982
19987
  }>>;
19983
19988
  }, z.core.$strip>>;
19984
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
19985
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
19986
19989
  }, z.core.$strip>, z.ZodObject<{
19987
- type: z.ZodDefault<z.ZodString>;
19990
+ type: z.ZodEnum<{
19991
+ audio: "audio";
19992
+ }>;
19988
19993
  src: z.ZodString;
19989
19994
  trim: z.ZodOptional<z.ZodNumber>;
19990
19995
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -20035,16 +20040,16 @@ export declare const renderResponseDataSchema: z.ZodObject<{
20035
20040
  fadeOut: "fadeOut";
20036
20041
  fadeInFadeOut: "fadeInFadeOut";
20037
20042
  }>>;
20038
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
20039
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
20040
20043
  }, z.core.$strip>, z.ZodObject<{
20041
- type: z.ZodDefault<z.ZodString>;
20044
+ type: z.ZodEnum<{
20045
+ luma: "luma";
20046
+ }>;
20042
20047
  src: z.ZodString;
20043
20048
  trim: z.ZodOptional<z.ZodNumber>;
20044
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
20045
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
20046
20049
  }, z.core.$strip>, z.ZodObject<{
20047
- type: z.ZodDefault<z.ZodString>;
20050
+ type: z.ZodEnum<{
20051
+ caption: "caption";
20052
+ }>;
20048
20053
  src: z.ZodString;
20049
20054
  font: z.ZodOptional<z.ZodObject<{
20050
20055
  family: z.ZodOptional<z.ZodString>;
@@ -20068,10 +20073,10 @@ export declare const renderResponseDataSchema: z.ZodObject<{
20068
20073
  }, z.core.$strip>>;
20069
20074
  trim: z.ZodOptional<z.ZodNumber>;
20070
20075
  speed: z.ZodOptional<z.ZodNumber>;
20071
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
20072
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
20073
20076
  }, z.core.$strip>, z.ZodObject<{
20074
- type: z.ZodDefault<z.ZodString>;
20077
+ type: z.ZodEnum<{
20078
+ html: "html";
20079
+ }>;
20075
20080
  html: z.ZodString;
20076
20081
  css: z.ZodOptional<z.ZodString>;
20077
20082
  width: z.ZodOptional<z.ZodInt>;
@@ -20088,10 +20093,10 @@ export declare const renderResponseDataSchema: z.ZodObject<{
20088
20093
  topLeft: "topLeft";
20089
20094
  center: "center";
20090
20095
  }>>;
20091
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
20092
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
20093
20096
  }, z.core.$strip>, z.ZodObject<{
20094
- type: z.ZodDefault<z.ZodString>;
20097
+ type: z.ZodEnum<{
20098
+ title: "title";
20099
+ }>;
20095
20100
  text: z.ZodString;
20096
20101
  style: z.ZodOptional<z.ZodEnum<{
20097
20102
  minimal: "minimal";
@@ -20211,10 +20216,10 @@ export declare const renderResponseDataSchema: z.ZodObject<{
20211
20216
  }>>;
20212
20217
  }, z.core.$strip>>]>>;
20213
20218
  }, z.core.$strip>>;
20214
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
20215
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
20216
20219
  }, z.core.$strip>, z.ZodObject<{
20217
- type: z.ZodDefault<z.ZodString>;
20220
+ type: z.ZodEnum<{
20221
+ shape: "shape";
20222
+ }>;
20218
20223
  shape: z.ZodEnum<{
20219
20224
  circle: "circle";
20220
20225
  rectangle: "rectangle";
@@ -20242,23 +20247,19 @@ export declare const renderResponseDataSchema: z.ZodObject<{
20242
20247
  length: z.ZodInt;
20243
20248
  thickness: z.ZodInt;
20244
20249
  }, z.core.$strip>>;
20245
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
20246
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
20247
20250
  }, z.core.$strip>, z.ZodObject<{
20248
20251
  type: z.ZodEnum<{
20249
20252
  "text-to-image": "text-to-image";
20250
20253
  }>;
20251
20254
  prompt: z.ZodString;
20252
- width: z.ZodInt;
20253
- height: z.ZodInt;
20255
+ width: z.ZodOptional<z.ZodInt>;
20256
+ height: z.ZodOptional<z.ZodInt>;
20254
20257
  crop: z.ZodOptional<z.ZodObject<{
20255
20258
  top: z.ZodOptional<z.ZodNumber>;
20256
20259
  bottom: z.ZodOptional<z.ZodNumber>;
20257
20260
  left: z.ZodOptional<z.ZodNumber>;
20258
20261
  right: z.ZodOptional<z.ZodNumber>;
20259
20262
  }, z.core.$strip>>;
20260
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
20261
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
20262
20263
  }, z.core.$strip>, z.ZodObject<{
20263
20264
  type: z.ZodOptional<z.ZodEnum<{
20264
20265
  "image-to-video": "image-to-video";
@@ -20281,7 +20282,7 @@ export declare const renderResponseDataSchema: z.ZodObject<{
20281
20282
  left: z.ZodOptional<z.ZodNumber>;
20282
20283
  right: z.ZodOptional<z.ZodNumber>;
20283
20284
  }, z.core.$strip>>;
20284
- }, z.core.$strip>>]>;
20285
+ }, z.core.$strip>], "type">;
20285
20286
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
20286
20287
  auto: "auto";
20287
20288
  }>]>;
@@ -20542,6 +20543,7 @@ export declare const renderResponseDataSchema: z.ZodObject<{
20542
20543
  }>>;
20543
20544
  filter: z.ZodOptional<z.ZodEnum<{
20544
20545
  blur: "blur";
20546
+ none: "none";
20545
20547
  boost: "boost";
20546
20548
  contrast: "contrast";
20547
20549
  darken: "darken";
@@ -20930,10 +20932,10 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
20930
20932
  }, z.core.$strip>>>;
20931
20933
  tracks: z.ZodArray<z.ZodObject<{
20932
20934
  clips: z.ZodArray<z.ZodObject<{
20933
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
20934
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
20935
- }, z.core.$strip>, z.ZodObject<{
20936
- type: z.ZodDefault<z.ZodString>;
20935
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
20936
+ type: z.ZodEnum<{
20937
+ video: "video";
20938
+ }>;
20937
20939
  src: z.ZodString;
20938
20940
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
20939
20941
  trim: z.ZodOptional<z.ZodNumber>;
@@ -20996,10 +20998,10 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
20996
20998
  threshold: z.ZodOptional<z.ZodInt>;
20997
20999
  halo: z.ZodOptional<z.ZodInt>;
20998
21000
  }, z.core.$strip>>;
20999
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
21000
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
21001
21001
  }, z.core.$strip>, z.ZodObject<{
21002
- type: z.ZodDefault<z.ZodString>;
21002
+ type: z.ZodEnum<{
21003
+ image: "image";
21004
+ }>;
21003
21005
  src: z.ZodString;
21004
21006
  crop: z.ZodOptional<z.ZodObject<{
21005
21007
  top: z.ZodOptional<z.ZodNumber>;
@@ -21007,10 +21009,10 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
21007
21009
  left: z.ZodOptional<z.ZodNumber>;
21008
21010
  right: z.ZodOptional<z.ZodNumber>;
21009
21011
  }, z.core.$strip>>;
21010
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
21011
- asset: z.ZodLiteral<"textasset_TextAsset">;
21012
21012
  }, z.core.$strip>, z.ZodObject<{
21013
- type: z.ZodDefault<z.ZodString>;
21013
+ type: z.ZodEnum<{
21014
+ text: "text";
21015
+ }>;
21014
21016
  text: z.ZodString;
21015
21017
  width: z.ZodOptional<z.ZodInt>;
21016
21018
  height: z.ZodOptional<z.ZodInt>;
@@ -21051,10 +21053,10 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
21051
21053
  duration: z.ZodOptional<z.ZodNumber>;
21052
21054
  }, z.core.$strip>>;
21053
21055
  ellipsis: z.ZodOptional<z.ZodString>;
21054
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
21055
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
21056
21056
  }, z.core.$strip>, z.ZodObject<{
21057
- type: z.ZodDefault<z.ZodString>;
21057
+ type: z.ZodEnum<{
21058
+ "rich-text": "rich-text";
21059
+ }>;
21058
21060
  text: z.ZodString;
21059
21061
  font: z.ZodOptional<z.ZodObject<{
21060
21062
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -21157,10 +21159,10 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
21157
21159
  down: "down";
21158
21160
  }>>;
21159
21161
  }, z.core.$strip>>;
21160
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
21161
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
21162
21162
  }, z.core.$strip>, z.ZodObject<{
21163
- type: z.ZodDefault<z.ZodString>;
21163
+ type: z.ZodEnum<{
21164
+ audio: "audio";
21165
+ }>;
21164
21166
  src: z.ZodString;
21165
21167
  trim: z.ZodOptional<z.ZodNumber>;
21166
21168
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -21211,16 +21213,16 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
21211
21213
  fadeOut: "fadeOut";
21212
21214
  fadeInFadeOut: "fadeInFadeOut";
21213
21215
  }>>;
21214
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
21215
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
21216
21216
  }, z.core.$strip>, z.ZodObject<{
21217
- type: z.ZodDefault<z.ZodString>;
21217
+ type: z.ZodEnum<{
21218
+ luma: "luma";
21219
+ }>;
21218
21220
  src: z.ZodString;
21219
21221
  trim: z.ZodOptional<z.ZodNumber>;
21220
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
21221
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
21222
21222
  }, z.core.$strip>, z.ZodObject<{
21223
- type: z.ZodDefault<z.ZodString>;
21223
+ type: z.ZodEnum<{
21224
+ caption: "caption";
21225
+ }>;
21224
21226
  src: z.ZodString;
21225
21227
  font: z.ZodOptional<z.ZodObject<{
21226
21228
  family: z.ZodOptional<z.ZodString>;
@@ -21244,10 +21246,10 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
21244
21246
  }, z.core.$strip>>;
21245
21247
  trim: z.ZodOptional<z.ZodNumber>;
21246
21248
  speed: z.ZodOptional<z.ZodNumber>;
21247
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
21248
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
21249
21249
  }, z.core.$strip>, z.ZodObject<{
21250
- type: z.ZodDefault<z.ZodString>;
21250
+ type: z.ZodEnum<{
21251
+ html: "html";
21252
+ }>;
21251
21253
  html: z.ZodString;
21252
21254
  css: z.ZodOptional<z.ZodString>;
21253
21255
  width: z.ZodOptional<z.ZodInt>;
@@ -21264,10 +21266,10 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
21264
21266
  topLeft: "topLeft";
21265
21267
  center: "center";
21266
21268
  }>>;
21267
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
21268
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
21269
21269
  }, z.core.$strip>, z.ZodObject<{
21270
- type: z.ZodDefault<z.ZodString>;
21270
+ type: z.ZodEnum<{
21271
+ title: "title";
21272
+ }>;
21271
21273
  text: z.ZodString;
21272
21274
  style: z.ZodOptional<z.ZodEnum<{
21273
21275
  minimal: "minimal";
@@ -21387,10 +21389,10 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
21387
21389
  }>>;
21388
21390
  }, z.core.$strip>>]>>;
21389
21391
  }, z.core.$strip>>;
21390
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
21391
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
21392
21392
  }, z.core.$strip>, z.ZodObject<{
21393
- type: z.ZodDefault<z.ZodString>;
21393
+ type: z.ZodEnum<{
21394
+ shape: "shape";
21395
+ }>;
21394
21396
  shape: z.ZodEnum<{
21395
21397
  circle: "circle";
21396
21398
  rectangle: "rectangle";
@@ -21418,23 +21420,19 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
21418
21420
  length: z.ZodInt;
21419
21421
  thickness: z.ZodInt;
21420
21422
  }, z.core.$strip>>;
21421
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
21422
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
21423
21423
  }, z.core.$strip>, z.ZodObject<{
21424
21424
  type: z.ZodEnum<{
21425
21425
  "text-to-image": "text-to-image";
21426
21426
  }>;
21427
21427
  prompt: z.ZodString;
21428
- width: z.ZodInt;
21429
- height: z.ZodInt;
21428
+ width: z.ZodOptional<z.ZodInt>;
21429
+ height: z.ZodOptional<z.ZodInt>;
21430
21430
  crop: z.ZodOptional<z.ZodObject<{
21431
21431
  top: z.ZodOptional<z.ZodNumber>;
21432
21432
  bottom: z.ZodOptional<z.ZodNumber>;
21433
21433
  left: z.ZodOptional<z.ZodNumber>;
21434
21434
  right: z.ZodOptional<z.ZodNumber>;
21435
21435
  }, z.core.$strip>>;
21436
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
21437
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
21438
21436
  }, z.core.$strip>, z.ZodObject<{
21439
21437
  type: z.ZodOptional<z.ZodEnum<{
21440
21438
  "image-to-video": "image-to-video";
@@ -21457,7 +21455,7 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
21457
21455
  left: z.ZodOptional<z.ZodNumber>;
21458
21456
  right: z.ZodOptional<z.ZodNumber>;
21459
21457
  }, z.core.$strip>>;
21460
- }, z.core.$strip>>]>;
21458
+ }, z.core.$strip>], "type">;
21461
21459
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
21462
21460
  auto: "auto";
21463
21461
  }>]>;
@@ -21718,6 +21716,7 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
21718
21716
  }>>;
21719
21717
  filter: z.ZodOptional<z.ZodEnum<{
21720
21718
  blur: "blur";
21719
+ none: "none";
21721
21720
  boost: "boost";
21722
21721
  contrast: "contrast";
21723
21722
  darken: "darken";
@@ -22104,10 +22103,10 @@ export declare const renderResponseSchema: z.ZodObject<{
22104
22103
  }, z.core.$strip>>>;
22105
22104
  tracks: z.ZodArray<z.ZodObject<{
22106
22105
  clips: z.ZodArray<z.ZodObject<{
22107
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
22108
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
22109
- }, z.core.$strip>, z.ZodObject<{
22110
- type: z.ZodDefault<z.ZodString>;
22106
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
22107
+ type: z.ZodEnum<{
22108
+ video: "video";
22109
+ }>;
22111
22110
  src: z.ZodString;
22112
22111
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
22113
22112
  trim: z.ZodOptional<z.ZodNumber>;
@@ -22170,10 +22169,10 @@ export declare const renderResponseSchema: z.ZodObject<{
22170
22169
  threshold: z.ZodOptional<z.ZodInt>;
22171
22170
  halo: z.ZodOptional<z.ZodInt>;
22172
22171
  }, z.core.$strip>>;
22173
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
22174
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
22175
22172
  }, z.core.$strip>, z.ZodObject<{
22176
- type: z.ZodDefault<z.ZodString>;
22173
+ type: z.ZodEnum<{
22174
+ image: "image";
22175
+ }>;
22177
22176
  src: z.ZodString;
22178
22177
  crop: z.ZodOptional<z.ZodObject<{
22179
22178
  top: z.ZodOptional<z.ZodNumber>;
@@ -22181,10 +22180,10 @@ export declare const renderResponseSchema: z.ZodObject<{
22181
22180
  left: z.ZodOptional<z.ZodNumber>;
22182
22181
  right: z.ZodOptional<z.ZodNumber>;
22183
22182
  }, z.core.$strip>>;
22184
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
22185
- asset: z.ZodLiteral<"textasset_TextAsset">;
22186
22183
  }, z.core.$strip>, z.ZodObject<{
22187
- type: z.ZodDefault<z.ZodString>;
22184
+ type: z.ZodEnum<{
22185
+ text: "text";
22186
+ }>;
22188
22187
  text: z.ZodString;
22189
22188
  width: z.ZodOptional<z.ZodInt>;
22190
22189
  height: z.ZodOptional<z.ZodInt>;
@@ -22225,10 +22224,10 @@ export declare const renderResponseSchema: z.ZodObject<{
22225
22224
  duration: z.ZodOptional<z.ZodNumber>;
22226
22225
  }, z.core.$strip>>;
22227
22226
  ellipsis: z.ZodOptional<z.ZodString>;
22228
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
22229
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
22230
22227
  }, z.core.$strip>, z.ZodObject<{
22231
- type: z.ZodDefault<z.ZodString>;
22228
+ type: z.ZodEnum<{
22229
+ "rich-text": "rich-text";
22230
+ }>;
22232
22231
  text: z.ZodString;
22233
22232
  font: z.ZodOptional<z.ZodObject<{
22234
22233
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -22331,10 +22330,10 @@ export declare const renderResponseSchema: z.ZodObject<{
22331
22330
  down: "down";
22332
22331
  }>>;
22333
22332
  }, z.core.$strip>>;
22334
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
22335
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
22336
22333
  }, z.core.$strip>, z.ZodObject<{
22337
- type: z.ZodDefault<z.ZodString>;
22334
+ type: z.ZodEnum<{
22335
+ audio: "audio";
22336
+ }>;
22338
22337
  src: z.ZodString;
22339
22338
  trim: z.ZodOptional<z.ZodNumber>;
22340
22339
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -22385,16 +22384,16 @@ export declare const renderResponseSchema: z.ZodObject<{
22385
22384
  fadeOut: "fadeOut";
22386
22385
  fadeInFadeOut: "fadeInFadeOut";
22387
22386
  }>>;
22388
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
22389
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
22390
22387
  }, z.core.$strip>, z.ZodObject<{
22391
- type: z.ZodDefault<z.ZodString>;
22388
+ type: z.ZodEnum<{
22389
+ luma: "luma";
22390
+ }>;
22392
22391
  src: z.ZodString;
22393
22392
  trim: z.ZodOptional<z.ZodNumber>;
22394
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
22395
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
22396
22393
  }, z.core.$strip>, z.ZodObject<{
22397
- type: z.ZodDefault<z.ZodString>;
22394
+ type: z.ZodEnum<{
22395
+ caption: "caption";
22396
+ }>;
22398
22397
  src: z.ZodString;
22399
22398
  font: z.ZodOptional<z.ZodObject<{
22400
22399
  family: z.ZodOptional<z.ZodString>;
@@ -22418,10 +22417,10 @@ export declare const renderResponseSchema: z.ZodObject<{
22418
22417
  }, z.core.$strip>>;
22419
22418
  trim: z.ZodOptional<z.ZodNumber>;
22420
22419
  speed: z.ZodOptional<z.ZodNumber>;
22421
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
22422
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
22423
22420
  }, z.core.$strip>, z.ZodObject<{
22424
- type: z.ZodDefault<z.ZodString>;
22421
+ type: z.ZodEnum<{
22422
+ html: "html";
22423
+ }>;
22425
22424
  html: z.ZodString;
22426
22425
  css: z.ZodOptional<z.ZodString>;
22427
22426
  width: z.ZodOptional<z.ZodInt>;
@@ -22438,10 +22437,10 @@ export declare const renderResponseSchema: z.ZodObject<{
22438
22437
  topLeft: "topLeft";
22439
22438
  center: "center";
22440
22439
  }>>;
22441
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
22442
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
22443
22440
  }, z.core.$strip>, z.ZodObject<{
22444
- type: z.ZodDefault<z.ZodString>;
22441
+ type: z.ZodEnum<{
22442
+ title: "title";
22443
+ }>;
22445
22444
  text: z.ZodString;
22446
22445
  style: z.ZodOptional<z.ZodEnum<{
22447
22446
  minimal: "minimal";
@@ -22561,10 +22560,10 @@ export declare const renderResponseSchema: z.ZodObject<{
22561
22560
  }>>;
22562
22561
  }, z.core.$strip>>]>>;
22563
22562
  }, z.core.$strip>>;
22564
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
22565
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
22566
22563
  }, z.core.$strip>, z.ZodObject<{
22567
- type: z.ZodDefault<z.ZodString>;
22564
+ type: z.ZodEnum<{
22565
+ shape: "shape";
22566
+ }>;
22568
22567
  shape: z.ZodEnum<{
22569
22568
  circle: "circle";
22570
22569
  rectangle: "rectangle";
@@ -22592,23 +22591,19 @@ export declare const renderResponseSchema: z.ZodObject<{
22592
22591
  length: z.ZodInt;
22593
22592
  thickness: z.ZodInt;
22594
22593
  }, z.core.$strip>>;
22595
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
22596
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
22597
22594
  }, z.core.$strip>, z.ZodObject<{
22598
22595
  type: z.ZodEnum<{
22599
22596
  "text-to-image": "text-to-image";
22600
22597
  }>;
22601
22598
  prompt: z.ZodString;
22602
- width: z.ZodInt;
22603
- height: z.ZodInt;
22599
+ width: z.ZodOptional<z.ZodInt>;
22600
+ height: z.ZodOptional<z.ZodInt>;
22604
22601
  crop: z.ZodOptional<z.ZodObject<{
22605
22602
  top: z.ZodOptional<z.ZodNumber>;
22606
22603
  bottom: z.ZodOptional<z.ZodNumber>;
22607
22604
  left: z.ZodOptional<z.ZodNumber>;
22608
22605
  right: z.ZodOptional<z.ZodNumber>;
22609
22606
  }, z.core.$strip>>;
22610
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
22611
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
22612
22607
  }, z.core.$strip>, z.ZodObject<{
22613
22608
  type: z.ZodOptional<z.ZodEnum<{
22614
22609
  "image-to-video": "image-to-video";
@@ -22631,7 +22626,7 @@ export declare const renderResponseSchema: z.ZodObject<{
22631
22626
  left: z.ZodOptional<z.ZodNumber>;
22632
22627
  right: z.ZodOptional<z.ZodNumber>;
22633
22628
  }, z.core.$strip>>;
22634
- }, z.core.$strip>>]>;
22629
+ }, z.core.$strip>], "type">;
22635
22630
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
22636
22631
  auto: "auto";
22637
22632
  }>]>;
@@ -22892,6 +22887,7 @@ export declare const renderResponseSchema: z.ZodObject<{
22892
22887
  }>>;
22893
22888
  filter: z.ZodOptional<z.ZodEnum<{
22894
22889
  blur: "blur";
22890
+ none: "none";
22895
22891
  boost: "boost";
22896
22892
  contrast: "contrast";
22897
22893
  darken: "darken";
@@ -23263,10 +23259,10 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
23263
23259
  }, z.core.$strip>>>;
23264
23260
  tracks: z.ZodArray<z.ZodObject<{
23265
23261
  clips: z.ZodArray<z.ZodObject<{
23266
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
23267
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
23268
- }, z.core.$strip>, z.ZodObject<{
23269
- type: z.ZodDefault<z.ZodString>;
23262
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
23263
+ type: z.ZodEnum<{
23264
+ video: "video";
23265
+ }>;
23270
23266
  src: z.ZodString;
23271
23267
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
23272
23268
  trim: z.ZodOptional<z.ZodNumber>;
@@ -23329,10 +23325,10 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
23329
23325
  threshold: z.ZodOptional<z.ZodInt>;
23330
23326
  halo: z.ZodOptional<z.ZodInt>;
23331
23327
  }, z.core.$strip>>;
23332
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
23333
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
23334
23328
  }, z.core.$strip>, z.ZodObject<{
23335
- type: z.ZodDefault<z.ZodString>;
23329
+ type: z.ZodEnum<{
23330
+ image: "image";
23331
+ }>;
23336
23332
  src: z.ZodString;
23337
23333
  crop: z.ZodOptional<z.ZodObject<{
23338
23334
  top: z.ZodOptional<z.ZodNumber>;
@@ -23340,10 +23336,10 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
23340
23336
  left: z.ZodOptional<z.ZodNumber>;
23341
23337
  right: z.ZodOptional<z.ZodNumber>;
23342
23338
  }, z.core.$strip>>;
23343
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
23344
- asset: z.ZodLiteral<"textasset_TextAsset">;
23345
23339
  }, z.core.$strip>, z.ZodObject<{
23346
- type: z.ZodDefault<z.ZodString>;
23340
+ type: z.ZodEnum<{
23341
+ text: "text";
23342
+ }>;
23347
23343
  text: z.ZodString;
23348
23344
  width: z.ZodOptional<z.ZodInt>;
23349
23345
  height: z.ZodOptional<z.ZodInt>;
@@ -23384,10 +23380,10 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
23384
23380
  duration: z.ZodOptional<z.ZodNumber>;
23385
23381
  }, z.core.$strip>>;
23386
23382
  ellipsis: z.ZodOptional<z.ZodString>;
23387
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
23388
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
23389
23383
  }, z.core.$strip>, z.ZodObject<{
23390
- type: z.ZodDefault<z.ZodString>;
23384
+ type: z.ZodEnum<{
23385
+ "rich-text": "rich-text";
23386
+ }>;
23391
23387
  text: z.ZodString;
23392
23388
  font: z.ZodOptional<z.ZodObject<{
23393
23389
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -23490,10 +23486,10 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
23490
23486
  down: "down";
23491
23487
  }>>;
23492
23488
  }, z.core.$strip>>;
23493
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
23494
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
23495
23489
  }, z.core.$strip>, z.ZodObject<{
23496
- type: z.ZodDefault<z.ZodString>;
23490
+ type: z.ZodEnum<{
23491
+ audio: "audio";
23492
+ }>;
23497
23493
  src: z.ZodString;
23498
23494
  trim: z.ZodOptional<z.ZodNumber>;
23499
23495
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -23544,16 +23540,16 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
23544
23540
  fadeOut: "fadeOut";
23545
23541
  fadeInFadeOut: "fadeInFadeOut";
23546
23542
  }>>;
23547
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
23548
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
23549
23543
  }, z.core.$strip>, z.ZodObject<{
23550
- type: z.ZodDefault<z.ZodString>;
23544
+ type: z.ZodEnum<{
23545
+ luma: "luma";
23546
+ }>;
23551
23547
  src: z.ZodString;
23552
23548
  trim: z.ZodOptional<z.ZodNumber>;
23553
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
23554
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
23555
23549
  }, z.core.$strip>, z.ZodObject<{
23556
- type: z.ZodDefault<z.ZodString>;
23550
+ type: z.ZodEnum<{
23551
+ caption: "caption";
23552
+ }>;
23557
23553
  src: z.ZodString;
23558
23554
  font: z.ZodOptional<z.ZodObject<{
23559
23555
  family: z.ZodOptional<z.ZodString>;
@@ -23577,10 +23573,10 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
23577
23573
  }, z.core.$strip>>;
23578
23574
  trim: z.ZodOptional<z.ZodNumber>;
23579
23575
  speed: z.ZodOptional<z.ZodNumber>;
23580
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
23581
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
23582
23576
  }, z.core.$strip>, z.ZodObject<{
23583
- type: z.ZodDefault<z.ZodString>;
23577
+ type: z.ZodEnum<{
23578
+ html: "html";
23579
+ }>;
23584
23580
  html: z.ZodString;
23585
23581
  css: z.ZodOptional<z.ZodString>;
23586
23582
  width: z.ZodOptional<z.ZodInt>;
@@ -23597,10 +23593,10 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
23597
23593
  topLeft: "topLeft";
23598
23594
  center: "center";
23599
23595
  }>>;
23600
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
23601
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
23602
23596
  }, z.core.$strip>, z.ZodObject<{
23603
- type: z.ZodDefault<z.ZodString>;
23597
+ type: z.ZodEnum<{
23598
+ title: "title";
23599
+ }>;
23604
23600
  text: z.ZodString;
23605
23601
  style: z.ZodOptional<z.ZodEnum<{
23606
23602
  minimal: "minimal";
@@ -23720,10 +23716,10 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
23720
23716
  }>>;
23721
23717
  }, z.core.$strip>>]>>;
23722
23718
  }, z.core.$strip>>;
23723
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
23724
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
23725
23719
  }, z.core.$strip>, z.ZodObject<{
23726
- type: z.ZodDefault<z.ZodString>;
23720
+ type: z.ZodEnum<{
23721
+ shape: "shape";
23722
+ }>;
23727
23723
  shape: z.ZodEnum<{
23728
23724
  circle: "circle";
23729
23725
  rectangle: "rectangle";
@@ -23751,23 +23747,19 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
23751
23747
  length: z.ZodInt;
23752
23748
  thickness: z.ZodInt;
23753
23749
  }, z.core.$strip>>;
23754
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
23755
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
23756
23750
  }, z.core.$strip>, z.ZodObject<{
23757
23751
  type: z.ZodEnum<{
23758
23752
  "text-to-image": "text-to-image";
23759
23753
  }>;
23760
23754
  prompt: z.ZodString;
23761
- width: z.ZodInt;
23762
- height: z.ZodInt;
23755
+ width: z.ZodOptional<z.ZodInt>;
23756
+ height: z.ZodOptional<z.ZodInt>;
23763
23757
  crop: z.ZodOptional<z.ZodObject<{
23764
23758
  top: z.ZodOptional<z.ZodNumber>;
23765
23759
  bottom: z.ZodOptional<z.ZodNumber>;
23766
23760
  left: z.ZodOptional<z.ZodNumber>;
23767
23761
  right: z.ZodOptional<z.ZodNumber>;
23768
23762
  }, z.core.$strip>>;
23769
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
23770
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
23771
23763
  }, z.core.$strip>, z.ZodObject<{
23772
23764
  type: z.ZodOptional<z.ZodEnum<{
23773
23765
  "image-to-video": "image-to-video";
@@ -23790,7 +23782,7 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
23790
23782
  left: z.ZodOptional<z.ZodNumber>;
23791
23783
  right: z.ZodOptional<z.ZodNumber>;
23792
23784
  }, z.core.$strip>>;
23793
- }, z.core.$strip>>]>;
23785
+ }, z.core.$strip>], "type">;
23794
23786
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
23795
23787
  auto: "auto";
23796
23788
  }>]>;
@@ -24051,6 +24043,7 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
24051
24043
  }>>;
24052
24044
  filter: z.ZodOptional<z.ZodEnum<{
24053
24045
  blur: "blur";
24046
+ none: "none";
24054
24047
  boost: "boost";
24055
24048
  contrast: "contrast";
24056
24049
  darken: "darken";
@@ -24416,10 +24409,10 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
24416
24409
  }, z.core.$strip>>>;
24417
24410
  tracks: z.ZodArray<z.ZodObject<{
24418
24411
  clips: z.ZodArray<z.ZodObject<{
24419
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
24420
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
24421
- }, z.core.$strip>, z.ZodObject<{
24422
- type: z.ZodDefault<z.ZodString>;
24412
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
24413
+ type: z.ZodEnum<{
24414
+ video: "video";
24415
+ }>;
24423
24416
  src: z.ZodString;
24424
24417
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
24425
24418
  trim: z.ZodOptional<z.ZodNumber>;
@@ -24482,10 +24475,10 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
24482
24475
  threshold: z.ZodOptional<z.ZodInt>;
24483
24476
  halo: z.ZodOptional<z.ZodInt>;
24484
24477
  }, z.core.$strip>>;
24485
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
24486
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
24487
24478
  }, z.core.$strip>, z.ZodObject<{
24488
- type: z.ZodDefault<z.ZodString>;
24479
+ type: z.ZodEnum<{
24480
+ image: "image";
24481
+ }>;
24489
24482
  src: z.ZodString;
24490
24483
  crop: z.ZodOptional<z.ZodObject<{
24491
24484
  top: z.ZodOptional<z.ZodNumber>;
@@ -24493,10 +24486,10 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
24493
24486
  left: z.ZodOptional<z.ZodNumber>;
24494
24487
  right: z.ZodOptional<z.ZodNumber>;
24495
24488
  }, z.core.$strip>>;
24496
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
24497
- asset: z.ZodLiteral<"textasset_TextAsset">;
24498
24489
  }, z.core.$strip>, z.ZodObject<{
24499
- type: z.ZodDefault<z.ZodString>;
24490
+ type: z.ZodEnum<{
24491
+ text: "text";
24492
+ }>;
24500
24493
  text: z.ZodString;
24501
24494
  width: z.ZodOptional<z.ZodInt>;
24502
24495
  height: z.ZodOptional<z.ZodInt>;
@@ -24537,10 +24530,10 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
24537
24530
  duration: z.ZodOptional<z.ZodNumber>;
24538
24531
  }, z.core.$strip>>;
24539
24532
  ellipsis: z.ZodOptional<z.ZodString>;
24540
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
24541
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
24542
24533
  }, z.core.$strip>, z.ZodObject<{
24543
- type: z.ZodDefault<z.ZodString>;
24534
+ type: z.ZodEnum<{
24535
+ "rich-text": "rich-text";
24536
+ }>;
24544
24537
  text: z.ZodString;
24545
24538
  font: z.ZodOptional<z.ZodObject<{
24546
24539
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -24643,10 +24636,10 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
24643
24636
  down: "down";
24644
24637
  }>>;
24645
24638
  }, z.core.$strip>>;
24646
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
24647
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
24648
24639
  }, z.core.$strip>, z.ZodObject<{
24649
- type: z.ZodDefault<z.ZodString>;
24640
+ type: z.ZodEnum<{
24641
+ audio: "audio";
24642
+ }>;
24650
24643
  src: z.ZodString;
24651
24644
  trim: z.ZodOptional<z.ZodNumber>;
24652
24645
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -24697,16 +24690,16 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
24697
24690
  fadeOut: "fadeOut";
24698
24691
  fadeInFadeOut: "fadeInFadeOut";
24699
24692
  }>>;
24700
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
24701
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
24702
24693
  }, z.core.$strip>, z.ZodObject<{
24703
- type: z.ZodDefault<z.ZodString>;
24694
+ type: z.ZodEnum<{
24695
+ luma: "luma";
24696
+ }>;
24704
24697
  src: z.ZodString;
24705
24698
  trim: z.ZodOptional<z.ZodNumber>;
24706
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
24707
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
24708
24699
  }, z.core.$strip>, z.ZodObject<{
24709
- type: z.ZodDefault<z.ZodString>;
24700
+ type: z.ZodEnum<{
24701
+ caption: "caption";
24702
+ }>;
24710
24703
  src: z.ZodString;
24711
24704
  font: z.ZodOptional<z.ZodObject<{
24712
24705
  family: z.ZodOptional<z.ZodString>;
@@ -24730,10 +24723,10 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
24730
24723
  }, z.core.$strip>>;
24731
24724
  trim: z.ZodOptional<z.ZodNumber>;
24732
24725
  speed: z.ZodOptional<z.ZodNumber>;
24733
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
24734
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
24735
24726
  }, z.core.$strip>, z.ZodObject<{
24736
- type: z.ZodDefault<z.ZodString>;
24727
+ type: z.ZodEnum<{
24728
+ html: "html";
24729
+ }>;
24737
24730
  html: z.ZodString;
24738
24731
  css: z.ZodOptional<z.ZodString>;
24739
24732
  width: z.ZodOptional<z.ZodInt>;
@@ -24750,10 +24743,10 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
24750
24743
  topLeft: "topLeft";
24751
24744
  center: "center";
24752
24745
  }>>;
24753
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
24754
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
24755
24746
  }, z.core.$strip>, z.ZodObject<{
24756
- type: z.ZodDefault<z.ZodString>;
24747
+ type: z.ZodEnum<{
24748
+ title: "title";
24749
+ }>;
24757
24750
  text: z.ZodString;
24758
24751
  style: z.ZodOptional<z.ZodEnum<{
24759
24752
  minimal: "minimal";
@@ -24873,10 +24866,10 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
24873
24866
  }>>;
24874
24867
  }, z.core.$strip>>]>>;
24875
24868
  }, z.core.$strip>>;
24876
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
24877
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
24878
24869
  }, z.core.$strip>, z.ZodObject<{
24879
- type: z.ZodDefault<z.ZodString>;
24870
+ type: z.ZodEnum<{
24871
+ shape: "shape";
24872
+ }>;
24880
24873
  shape: z.ZodEnum<{
24881
24874
  circle: "circle";
24882
24875
  rectangle: "rectangle";
@@ -24904,23 +24897,19 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
24904
24897
  length: z.ZodInt;
24905
24898
  thickness: z.ZodInt;
24906
24899
  }, z.core.$strip>>;
24907
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
24908
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
24909
24900
  }, z.core.$strip>, z.ZodObject<{
24910
24901
  type: z.ZodEnum<{
24911
24902
  "text-to-image": "text-to-image";
24912
24903
  }>;
24913
24904
  prompt: z.ZodString;
24914
- width: z.ZodInt;
24915
- height: z.ZodInt;
24905
+ width: z.ZodOptional<z.ZodInt>;
24906
+ height: z.ZodOptional<z.ZodInt>;
24916
24907
  crop: z.ZodOptional<z.ZodObject<{
24917
24908
  top: z.ZodOptional<z.ZodNumber>;
24918
24909
  bottom: z.ZodOptional<z.ZodNumber>;
24919
24910
  left: z.ZodOptional<z.ZodNumber>;
24920
24911
  right: z.ZodOptional<z.ZodNumber>;
24921
24912
  }, z.core.$strip>>;
24922
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
24923
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
24924
24913
  }, z.core.$strip>, z.ZodObject<{
24925
24914
  type: z.ZodOptional<z.ZodEnum<{
24926
24915
  "image-to-video": "image-to-video";
@@ -24943,7 +24932,7 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
24943
24932
  left: z.ZodOptional<z.ZodNumber>;
24944
24933
  right: z.ZodOptional<z.ZodNumber>;
24945
24934
  }, z.core.$strip>>;
24946
- }, z.core.$strip>>]>;
24935
+ }, z.core.$strip>], "type">;
24947
24936
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
24948
24937
  auto: "auto";
24949
24938
  }>]>;
@@ -25204,6 +25193,7 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
25204
25193
  }>>;
25205
25194
  filter: z.ZodOptional<z.ZodEnum<{
25206
25195
  blur: "blur";
25196
+ none: "none";
25207
25197
  boost: "boost";
25208
25198
  contrast: "contrast";
25209
25199
  darken: "darken";
@@ -25575,10 +25565,10 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
25575
25565
  }, z.core.$strip>>>;
25576
25566
  tracks: z.ZodArray<z.ZodObject<{
25577
25567
  clips: z.ZodArray<z.ZodObject<{
25578
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
25579
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
25580
- }, z.core.$strip>, z.ZodObject<{
25581
- type: z.ZodDefault<z.ZodString>;
25568
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
25569
+ type: z.ZodEnum<{
25570
+ video: "video";
25571
+ }>;
25582
25572
  src: z.ZodString;
25583
25573
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
25584
25574
  trim: z.ZodOptional<z.ZodNumber>;
@@ -25641,10 +25631,10 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
25641
25631
  threshold: z.ZodOptional<z.ZodInt>;
25642
25632
  halo: z.ZodOptional<z.ZodInt>;
25643
25633
  }, z.core.$strip>>;
25644
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
25645
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
25646
25634
  }, z.core.$strip>, z.ZodObject<{
25647
- type: z.ZodDefault<z.ZodString>;
25635
+ type: z.ZodEnum<{
25636
+ image: "image";
25637
+ }>;
25648
25638
  src: z.ZodString;
25649
25639
  crop: z.ZodOptional<z.ZodObject<{
25650
25640
  top: z.ZodOptional<z.ZodNumber>;
@@ -25652,10 +25642,10 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
25652
25642
  left: z.ZodOptional<z.ZodNumber>;
25653
25643
  right: z.ZodOptional<z.ZodNumber>;
25654
25644
  }, z.core.$strip>>;
25655
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
25656
- asset: z.ZodLiteral<"textasset_TextAsset">;
25657
25645
  }, z.core.$strip>, z.ZodObject<{
25658
- type: z.ZodDefault<z.ZodString>;
25646
+ type: z.ZodEnum<{
25647
+ text: "text";
25648
+ }>;
25659
25649
  text: z.ZodString;
25660
25650
  width: z.ZodOptional<z.ZodInt>;
25661
25651
  height: z.ZodOptional<z.ZodInt>;
@@ -25696,10 +25686,10 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
25696
25686
  duration: z.ZodOptional<z.ZodNumber>;
25697
25687
  }, z.core.$strip>>;
25698
25688
  ellipsis: z.ZodOptional<z.ZodString>;
25699
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
25700
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
25701
25689
  }, z.core.$strip>, z.ZodObject<{
25702
- type: z.ZodDefault<z.ZodString>;
25690
+ type: z.ZodEnum<{
25691
+ "rich-text": "rich-text";
25692
+ }>;
25703
25693
  text: z.ZodString;
25704
25694
  font: z.ZodOptional<z.ZodObject<{
25705
25695
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -25802,10 +25792,10 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
25802
25792
  down: "down";
25803
25793
  }>>;
25804
25794
  }, z.core.$strip>>;
25805
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
25806
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
25807
25795
  }, z.core.$strip>, z.ZodObject<{
25808
- type: z.ZodDefault<z.ZodString>;
25796
+ type: z.ZodEnum<{
25797
+ audio: "audio";
25798
+ }>;
25809
25799
  src: z.ZodString;
25810
25800
  trim: z.ZodOptional<z.ZodNumber>;
25811
25801
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -25856,16 +25846,16 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
25856
25846
  fadeOut: "fadeOut";
25857
25847
  fadeInFadeOut: "fadeInFadeOut";
25858
25848
  }>>;
25859
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
25860
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
25861
25849
  }, z.core.$strip>, z.ZodObject<{
25862
- type: z.ZodDefault<z.ZodString>;
25850
+ type: z.ZodEnum<{
25851
+ luma: "luma";
25852
+ }>;
25863
25853
  src: z.ZodString;
25864
25854
  trim: z.ZodOptional<z.ZodNumber>;
25865
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
25866
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
25867
25855
  }, z.core.$strip>, z.ZodObject<{
25868
- type: z.ZodDefault<z.ZodString>;
25856
+ type: z.ZodEnum<{
25857
+ caption: "caption";
25858
+ }>;
25869
25859
  src: z.ZodString;
25870
25860
  font: z.ZodOptional<z.ZodObject<{
25871
25861
  family: z.ZodOptional<z.ZodString>;
@@ -25889,10 +25879,10 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
25889
25879
  }, z.core.$strip>>;
25890
25880
  trim: z.ZodOptional<z.ZodNumber>;
25891
25881
  speed: z.ZodOptional<z.ZodNumber>;
25892
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
25893
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
25894
25882
  }, z.core.$strip>, z.ZodObject<{
25895
- type: z.ZodDefault<z.ZodString>;
25883
+ type: z.ZodEnum<{
25884
+ html: "html";
25885
+ }>;
25896
25886
  html: z.ZodString;
25897
25887
  css: z.ZodOptional<z.ZodString>;
25898
25888
  width: z.ZodOptional<z.ZodInt>;
@@ -25909,10 +25899,10 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
25909
25899
  topLeft: "topLeft";
25910
25900
  center: "center";
25911
25901
  }>>;
25912
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
25913
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
25914
25902
  }, z.core.$strip>, z.ZodObject<{
25915
- type: z.ZodDefault<z.ZodString>;
25903
+ type: z.ZodEnum<{
25904
+ title: "title";
25905
+ }>;
25916
25906
  text: z.ZodString;
25917
25907
  style: z.ZodOptional<z.ZodEnum<{
25918
25908
  minimal: "minimal";
@@ -26032,10 +26022,10 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
26032
26022
  }>>;
26033
26023
  }, z.core.$strip>>]>>;
26034
26024
  }, z.core.$strip>>;
26035
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
26036
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
26037
26025
  }, z.core.$strip>, z.ZodObject<{
26038
- type: z.ZodDefault<z.ZodString>;
26026
+ type: z.ZodEnum<{
26027
+ shape: "shape";
26028
+ }>;
26039
26029
  shape: z.ZodEnum<{
26040
26030
  circle: "circle";
26041
26031
  rectangle: "rectangle";
@@ -26063,23 +26053,19 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
26063
26053
  length: z.ZodInt;
26064
26054
  thickness: z.ZodInt;
26065
26055
  }, z.core.$strip>>;
26066
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
26067
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
26068
26056
  }, z.core.$strip>, z.ZodObject<{
26069
26057
  type: z.ZodEnum<{
26070
26058
  "text-to-image": "text-to-image";
26071
26059
  }>;
26072
26060
  prompt: z.ZodString;
26073
- width: z.ZodInt;
26074
- height: z.ZodInt;
26061
+ width: z.ZodOptional<z.ZodInt>;
26062
+ height: z.ZodOptional<z.ZodInt>;
26075
26063
  crop: z.ZodOptional<z.ZodObject<{
26076
26064
  top: z.ZodOptional<z.ZodNumber>;
26077
26065
  bottom: z.ZodOptional<z.ZodNumber>;
26078
26066
  left: z.ZodOptional<z.ZodNumber>;
26079
26067
  right: z.ZodOptional<z.ZodNumber>;
26080
26068
  }, z.core.$strip>>;
26081
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
26082
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
26083
26069
  }, z.core.$strip>, z.ZodObject<{
26084
26070
  type: z.ZodOptional<z.ZodEnum<{
26085
26071
  "image-to-video": "image-to-video";
@@ -26102,7 +26088,7 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
26102
26088
  left: z.ZodOptional<z.ZodNumber>;
26103
26089
  right: z.ZodOptional<z.ZodNumber>;
26104
26090
  }, z.core.$strip>>;
26105
- }, z.core.$strip>>]>;
26091
+ }, z.core.$strip>], "type">;
26106
26092
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
26107
26093
  auto: "auto";
26108
26094
  }>]>;
@@ -26363,6 +26349,7 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
26363
26349
  }>>;
26364
26350
  filter: z.ZodOptional<z.ZodEnum<{
26365
26351
  blur: "blur";
26352
+ none: "none";
26366
26353
  boost: "boost";
26367
26354
  contrast: "contrast";
26368
26355
  darken: "darken";
@@ -26732,10 +26719,10 @@ export declare const templateDataResponseSchema: z.ZodObject<{
26732
26719
  }, z.core.$strip>>>;
26733
26720
  tracks: z.ZodArray<z.ZodObject<{
26734
26721
  clips: z.ZodArray<z.ZodObject<{
26735
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
26736
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
26737
- }, z.core.$strip>, z.ZodObject<{
26738
- type: z.ZodDefault<z.ZodString>;
26722
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
26723
+ type: z.ZodEnum<{
26724
+ video: "video";
26725
+ }>;
26739
26726
  src: z.ZodString;
26740
26727
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
26741
26728
  trim: z.ZodOptional<z.ZodNumber>;
@@ -26798,10 +26785,10 @@ export declare const templateDataResponseSchema: z.ZodObject<{
26798
26785
  threshold: z.ZodOptional<z.ZodInt>;
26799
26786
  halo: z.ZodOptional<z.ZodInt>;
26800
26787
  }, z.core.$strip>>;
26801
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
26802
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
26803
26788
  }, z.core.$strip>, z.ZodObject<{
26804
- type: z.ZodDefault<z.ZodString>;
26789
+ type: z.ZodEnum<{
26790
+ image: "image";
26791
+ }>;
26805
26792
  src: z.ZodString;
26806
26793
  crop: z.ZodOptional<z.ZodObject<{
26807
26794
  top: z.ZodOptional<z.ZodNumber>;
@@ -26809,10 +26796,10 @@ export declare const templateDataResponseSchema: z.ZodObject<{
26809
26796
  left: z.ZodOptional<z.ZodNumber>;
26810
26797
  right: z.ZodOptional<z.ZodNumber>;
26811
26798
  }, z.core.$strip>>;
26812
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
26813
- asset: z.ZodLiteral<"textasset_TextAsset">;
26814
26799
  }, z.core.$strip>, z.ZodObject<{
26815
- type: z.ZodDefault<z.ZodString>;
26800
+ type: z.ZodEnum<{
26801
+ text: "text";
26802
+ }>;
26816
26803
  text: z.ZodString;
26817
26804
  width: z.ZodOptional<z.ZodInt>;
26818
26805
  height: z.ZodOptional<z.ZodInt>;
@@ -26853,10 +26840,10 @@ export declare const templateDataResponseSchema: z.ZodObject<{
26853
26840
  duration: z.ZodOptional<z.ZodNumber>;
26854
26841
  }, z.core.$strip>>;
26855
26842
  ellipsis: z.ZodOptional<z.ZodString>;
26856
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
26857
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
26858
26843
  }, z.core.$strip>, z.ZodObject<{
26859
- type: z.ZodDefault<z.ZodString>;
26844
+ type: z.ZodEnum<{
26845
+ "rich-text": "rich-text";
26846
+ }>;
26860
26847
  text: z.ZodString;
26861
26848
  font: z.ZodOptional<z.ZodObject<{
26862
26849
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -26959,10 +26946,10 @@ export declare const templateDataResponseSchema: z.ZodObject<{
26959
26946
  down: "down";
26960
26947
  }>>;
26961
26948
  }, z.core.$strip>>;
26962
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
26963
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
26964
26949
  }, z.core.$strip>, z.ZodObject<{
26965
- type: z.ZodDefault<z.ZodString>;
26950
+ type: z.ZodEnum<{
26951
+ audio: "audio";
26952
+ }>;
26966
26953
  src: z.ZodString;
26967
26954
  trim: z.ZodOptional<z.ZodNumber>;
26968
26955
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -27013,16 +27000,16 @@ export declare const templateDataResponseSchema: z.ZodObject<{
27013
27000
  fadeOut: "fadeOut";
27014
27001
  fadeInFadeOut: "fadeInFadeOut";
27015
27002
  }>>;
27016
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
27017
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
27018
27003
  }, z.core.$strip>, z.ZodObject<{
27019
- type: z.ZodDefault<z.ZodString>;
27004
+ type: z.ZodEnum<{
27005
+ luma: "luma";
27006
+ }>;
27020
27007
  src: z.ZodString;
27021
27008
  trim: z.ZodOptional<z.ZodNumber>;
27022
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
27023
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
27024
27009
  }, z.core.$strip>, z.ZodObject<{
27025
- type: z.ZodDefault<z.ZodString>;
27010
+ type: z.ZodEnum<{
27011
+ caption: "caption";
27012
+ }>;
27026
27013
  src: z.ZodString;
27027
27014
  font: z.ZodOptional<z.ZodObject<{
27028
27015
  family: z.ZodOptional<z.ZodString>;
@@ -27046,10 +27033,10 @@ export declare const templateDataResponseSchema: z.ZodObject<{
27046
27033
  }, z.core.$strip>>;
27047
27034
  trim: z.ZodOptional<z.ZodNumber>;
27048
27035
  speed: z.ZodOptional<z.ZodNumber>;
27049
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
27050
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
27051
27036
  }, z.core.$strip>, z.ZodObject<{
27052
- type: z.ZodDefault<z.ZodString>;
27037
+ type: z.ZodEnum<{
27038
+ html: "html";
27039
+ }>;
27053
27040
  html: z.ZodString;
27054
27041
  css: z.ZodOptional<z.ZodString>;
27055
27042
  width: z.ZodOptional<z.ZodInt>;
@@ -27066,10 +27053,10 @@ export declare const templateDataResponseSchema: z.ZodObject<{
27066
27053
  topLeft: "topLeft";
27067
27054
  center: "center";
27068
27055
  }>>;
27069
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
27070
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
27071
27056
  }, z.core.$strip>, z.ZodObject<{
27072
- type: z.ZodDefault<z.ZodString>;
27057
+ type: z.ZodEnum<{
27058
+ title: "title";
27059
+ }>;
27073
27060
  text: z.ZodString;
27074
27061
  style: z.ZodOptional<z.ZodEnum<{
27075
27062
  minimal: "minimal";
@@ -27189,10 +27176,10 @@ export declare const templateDataResponseSchema: z.ZodObject<{
27189
27176
  }>>;
27190
27177
  }, z.core.$strip>>]>>;
27191
27178
  }, z.core.$strip>>;
27192
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
27193
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
27194
27179
  }, z.core.$strip>, z.ZodObject<{
27195
- type: z.ZodDefault<z.ZodString>;
27180
+ type: z.ZodEnum<{
27181
+ shape: "shape";
27182
+ }>;
27196
27183
  shape: z.ZodEnum<{
27197
27184
  circle: "circle";
27198
27185
  rectangle: "rectangle";
@@ -27220,23 +27207,19 @@ export declare const templateDataResponseSchema: z.ZodObject<{
27220
27207
  length: z.ZodInt;
27221
27208
  thickness: z.ZodInt;
27222
27209
  }, z.core.$strip>>;
27223
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
27224
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
27225
27210
  }, z.core.$strip>, z.ZodObject<{
27226
27211
  type: z.ZodEnum<{
27227
27212
  "text-to-image": "text-to-image";
27228
27213
  }>;
27229
27214
  prompt: z.ZodString;
27230
- width: z.ZodInt;
27231
- height: z.ZodInt;
27215
+ width: z.ZodOptional<z.ZodInt>;
27216
+ height: z.ZodOptional<z.ZodInt>;
27232
27217
  crop: z.ZodOptional<z.ZodObject<{
27233
27218
  top: z.ZodOptional<z.ZodNumber>;
27234
27219
  bottom: z.ZodOptional<z.ZodNumber>;
27235
27220
  left: z.ZodOptional<z.ZodNumber>;
27236
27221
  right: z.ZodOptional<z.ZodNumber>;
27237
27222
  }, z.core.$strip>>;
27238
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
27239
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
27240
27223
  }, z.core.$strip>, z.ZodObject<{
27241
27224
  type: z.ZodOptional<z.ZodEnum<{
27242
27225
  "image-to-video": "image-to-video";
@@ -27259,7 +27242,7 @@ export declare const templateDataResponseSchema: z.ZodObject<{
27259
27242
  left: z.ZodOptional<z.ZodNumber>;
27260
27243
  right: z.ZodOptional<z.ZodNumber>;
27261
27244
  }, z.core.$strip>>;
27262
- }, z.core.$strip>>]>;
27245
+ }, z.core.$strip>], "type">;
27263
27246
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
27264
27247
  auto: "auto";
27265
27248
  }>]>;
@@ -27520,6 +27503,7 @@ export declare const templateDataResponseSchema: z.ZodObject<{
27520
27503
  }>>;
27521
27504
  filter: z.ZodOptional<z.ZodEnum<{
27522
27505
  blur: "blur";
27506
+ none: "none";
27523
27507
  boost: "boost";
27524
27508
  contrast: "contrast";
27525
27509
  darken: "darken";
@@ -27887,10 +27871,10 @@ export declare const templateTemplateSchema: z.ZodObject<{
27887
27871
  }, z.core.$strip>>>;
27888
27872
  tracks: z.ZodArray<z.ZodObject<{
27889
27873
  clips: z.ZodArray<z.ZodObject<{
27890
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
27891
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
27892
- }, z.core.$strip>, z.ZodObject<{
27893
- type: z.ZodDefault<z.ZodString>;
27874
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
27875
+ type: z.ZodEnum<{
27876
+ video: "video";
27877
+ }>;
27894
27878
  src: z.ZodString;
27895
27879
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
27896
27880
  trim: z.ZodOptional<z.ZodNumber>;
@@ -27953,10 +27937,10 @@ export declare const templateTemplateSchema: z.ZodObject<{
27953
27937
  threshold: z.ZodOptional<z.ZodInt>;
27954
27938
  halo: z.ZodOptional<z.ZodInt>;
27955
27939
  }, z.core.$strip>>;
27956
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
27957
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
27958
27940
  }, z.core.$strip>, z.ZodObject<{
27959
- type: z.ZodDefault<z.ZodString>;
27941
+ type: z.ZodEnum<{
27942
+ image: "image";
27943
+ }>;
27960
27944
  src: z.ZodString;
27961
27945
  crop: z.ZodOptional<z.ZodObject<{
27962
27946
  top: z.ZodOptional<z.ZodNumber>;
@@ -27964,10 +27948,10 @@ export declare const templateTemplateSchema: z.ZodObject<{
27964
27948
  left: z.ZodOptional<z.ZodNumber>;
27965
27949
  right: z.ZodOptional<z.ZodNumber>;
27966
27950
  }, z.core.$strip>>;
27967
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
27968
- asset: z.ZodLiteral<"textasset_TextAsset">;
27969
27951
  }, z.core.$strip>, z.ZodObject<{
27970
- type: z.ZodDefault<z.ZodString>;
27952
+ type: z.ZodEnum<{
27953
+ text: "text";
27954
+ }>;
27971
27955
  text: z.ZodString;
27972
27956
  width: z.ZodOptional<z.ZodInt>;
27973
27957
  height: z.ZodOptional<z.ZodInt>;
@@ -28008,10 +27992,10 @@ export declare const templateTemplateSchema: z.ZodObject<{
28008
27992
  duration: z.ZodOptional<z.ZodNumber>;
28009
27993
  }, z.core.$strip>>;
28010
27994
  ellipsis: z.ZodOptional<z.ZodString>;
28011
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
28012
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
28013
27995
  }, z.core.$strip>, z.ZodObject<{
28014
- type: z.ZodDefault<z.ZodString>;
27996
+ type: z.ZodEnum<{
27997
+ "rich-text": "rich-text";
27998
+ }>;
28015
27999
  text: z.ZodString;
28016
28000
  font: z.ZodOptional<z.ZodObject<{
28017
28001
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -28114,10 +28098,10 @@ export declare const templateTemplateSchema: z.ZodObject<{
28114
28098
  down: "down";
28115
28099
  }>>;
28116
28100
  }, z.core.$strip>>;
28117
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
28118
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
28119
28101
  }, z.core.$strip>, z.ZodObject<{
28120
- type: z.ZodDefault<z.ZodString>;
28102
+ type: z.ZodEnum<{
28103
+ audio: "audio";
28104
+ }>;
28121
28105
  src: z.ZodString;
28122
28106
  trim: z.ZodOptional<z.ZodNumber>;
28123
28107
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -28168,16 +28152,16 @@ export declare const templateTemplateSchema: z.ZodObject<{
28168
28152
  fadeOut: "fadeOut";
28169
28153
  fadeInFadeOut: "fadeInFadeOut";
28170
28154
  }>>;
28171
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
28172
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
28173
28155
  }, z.core.$strip>, z.ZodObject<{
28174
- type: z.ZodDefault<z.ZodString>;
28156
+ type: z.ZodEnum<{
28157
+ luma: "luma";
28158
+ }>;
28175
28159
  src: z.ZodString;
28176
28160
  trim: z.ZodOptional<z.ZodNumber>;
28177
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
28178
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
28179
28161
  }, z.core.$strip>, z.ZodObject<{
28180
- type: z.ZodDefault<z.ZodString>;
28162
+ type: z.ZodEnum<{
28163
+ caption: "caption";
28164
+ }>;
28181
28165
  src: z.ZodString;
28182
28166
  font: z.ZodOptional<z.ZodObject<{
28183
28167
  family: z.ZodOptional<z.ZodString>;
@@ -28201,10 +28185,10 @@ export declare const templateTemplateSchema: z.ZodObject<{
28201
28185
  }, z.core.$strip>>;
28202
28186
  trim: z.ZodOptional<z.ZodNumber>;
28203
28187
  speed: z.ZodOptional<z.ZodNumber>;
28204
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
28205
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
28206
28188
  }, z.core.$strip>, z.ZodObject<{
28207
- type: z.ZodDefault<z.ZodString>;
28189
+ type: z.ZodEnum<{
28190
+ html: "html";
28191
+ }>;
28208
28192
  html: z.ZodString;
28209
28193
  css: z.ZodOptional<z.ZodString>;
28210
28194
  width: z.ZodOptional<z.ZodInt>;
@@ -28221,10 +28205,10 @@ export declare const templateTemplateSchema: z.ZodObject<{
28221
28205
  topLeft: "topLeft";
28222
28206
  center: "center";
28223
28207
  }>>;
28224
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
28225
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
28226
28208
  }, z.core.$strip>, z.ZodObject<{
28227
- type: z.ZodDefault<z.ZodString>;
28209
+ type: z.ZodEnum<{
28210
+ title: "title";
28211
+ }>;
28228
28212
  text: z.ZodString;
28229
28213
  style: z.ZodOptional<z.ZodEnum<{
28230
28214
  minimal: "minimal";
@@ -28344,10 +28328,10 @@ export declare const templateTemplateSchema: z.ZodObject<{
28344
28328
  }>>;
28345
28329
  }, z.core.$strip>>]>>;
28346
28330
  }, z.core.$strip>>;
28347
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
28348
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
28349
28331
  }, z.core.$strip>, z.ZodObject<{
28350
- type: z.ZodDefault<z.ZodString>;
28332
+ type: z.ZodEnum<{
28333
+ shape: "shape";
28334
+ }>;
28351
28335
  shape: z.ZodEnum<{
28352
28336
  circle: "circle";
28353
28337
  rectangle: "rectangle";
@@ -28375,23 +28359,19 @@ export declare const templateTemplateSchema: z.ZodObject<{
28375
28359
  length: z.ZodInt;
28376
28360
  thickness: z.ZodInt;
28377
28361
  }, z.core.$strip>>;
28378
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
28379
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
28380
28362
  }, z.core.$strip>, z.ZodObject<{
28381
28363
  type: z.ZodEnum<{
28382
28364
  "text-to-image": "text-to-image";
28383
28365
  }>;
28384
28366
  prompt: z.ZodString;
28385
- width: z.ZodInt;
28386
- height: z.ZodInt;
28367
+ width: z.ZodOptional<z.ZodInt>;
28368
+ height: z.ZodOptional<z.ZodInt>;
28387
28369
  crop: z.ZodOptional<z.ZodObject<{
28388
28370
  top: z.ZodOptional<z.ZodNumber>;
28389
28371
  bottom: z.ZodOptional<z.ZodNumber>;
28390
28372
  left: z.ZodOptional<z.ZodNumber>;
28391
28373
  right: z.ZodOptional<z.ZodNumber>;
28392
28374
  }, z.core.$strip>>;
28393
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
28394
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
28395
28375
  }, z.core.$strip>, z.ZodObject<{
28396
28376
  type: z.ZodOptional<z.ZodEnum<{
28397
28377
  "image-to-video": "image-to-video";
@@ -28414,7 +28394,7 @@ export declare const templateTemplateSchema: z.ZodObject<{
28414
28394
  left: z.ZodOptional<z.ZodNumber>;
28415
28395
  right: z.ZodOptional<z.ZodNumber>;
28416
28396
  }, z.core.$strip>>;
28417
- }, z.core.$strip>>]>;
28397
+ }, z.core.$strip>], "type">;
28418
28398
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
28419
28399
  auto: "auto";
28420
28400
  }>]>;
@@ -28675,6 +28655,7 @@ export declare const templateTemplateSchema: z.ZodObject<{
28675
28655
  }>>;
28676
28656
  filter: z.ZodOptional<z.ZodEnum<{
28677
28657
  blur: "blur";
28658
+ none: "none";
28678
28659
  boost: "boost";
28679
28660
  contrast: "contrast";
28680
28661
  darken: "darken";
@@ -29038,10 +29019,10 @@ export declare const templateSchema: z.ZodObject<{
29038
29019
  }, z.core.$strip>>>;
29039
29020
  tracks: z.ZodArray<z.ZodObject<{
29040
29021
  clips: z.ZodArray<z.ZodObject<{
29041
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
29042
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
29043
- }, z.core.$strip>, z.ZodObject<{
29044
- type: z.ZodDefault<z.ZodString>;
29022
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
29023
+ type: z.ZodEnum<{
29024
+ video: "video";
29025
+ }>;
29045
29026
  src: z.ZodString;
29046
29027
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
29047
29028
  trim: z.ZodOptional<z.ZodNumber>;
@@ -29104,10 +29085,10 @@ export declare const templateSchema: z.ZodObject<{
29104
29085
  threshold: z.ZodOptional<z.ZodInt>;
29105
29086
  halo: z.ZodOptional<z.ZodInt>;
29106
29087
  }, z.core.$strip>>;
29107
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
29108
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
29109
29088
  }, z.core.$strip>, z.ZodObject<{
29110
- type: z.ZodDefault<z.ZodString>;
29089
+ type: z.ZodEnum<{
29090
+ image: "image";
29091
+ }>;
29111
29092
  src: z.ZodString;
29112
29093
  crop: z.ZodOptional<z.ZodObject<{
29113
29094
  top: z.ZodOptional<z.ZodNumber>;
@@ -29115,10 +29096,10 @@ export declare const templateSchema: z.ZodObject<{
29115
29096
  left: z.ZodOptional<z.ZodNumber>;
29116
29097
  right: z.ZodOptional<z.ZodNumber>;
29117
29098
  }, z.core.$strip>>;
29118
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
29119
- asset: z.ZodLiteral<"textasset_TextAsset">;
29120
29099
  }, z.core.$strip>, z.ZodObject<{
29121
- type: z.ZodDefault<z.ZodString>;
29100
+ type: z.ZodEnum<{
29101
+ text: "text";
29102
+ }>;
29122
29103
  text: z.ZodString;
29123
29104
  width: z.ZodOptional<z.ZodInt>;
29124
29105
  height: z.ZodOptional<z.ZodInt>;
@@ -29159,10 +29140,10 @@ export declare const templateSchema: z.ZodObject<{
29159
29140
  duration: z.ZodOptional<z.ZodNumber>;
29160
29141
  }, z.core.$strip>>;
29161
29142
  ellipsis: z.ZodOptional<z.ZodString>;
29162
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
29163
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
29164
29143
  }, z.core.$strip>, z.ZodObject<{
29165
- type: z.ZodDefault<z.ZodString>;
29144
+ type: z.ZodEnum<{
29145
+ "rich-text": "rich-text";
29146
+ }>;
29166
29147
  text: z.ZodString;
29167
29148
  font: z.ZodOptional<z.ZodObject<{
29168
29149
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -29265,10 +29246,10 @@ export declare const templateSchema: z.ZodObject<{
29265
29246
  down: "down";
29266
29247
  }>>;
29267
29248
  }, z.core.$strip>>;
29268
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
29269
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
29270
29249
  }, z.core.$strip>, z.ZodObject<{
29271
- type: z.ZodDefault<z.ZodString>;
29250
+ type: z.ZodEnum<{
29251
+ audio: "audio";
29252
+ }>;
29272
29253
  src: z.ZodString;
29273
29254
  trim: z.ZodOptional<z.ZodNumber>;
29274
29255
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -29319,16 +29300,16 @@ export declare const templateSchema: z.ZodObject<{
29319
29300
  fadeOut: "fadeOut";
29320
29301
  fadeInFadeOut: "fadeInFadeOut";
29321
29302
  }>>;
29322
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
29323
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
29324
29303
  }, z.core.$strip>, z.ZodObject<{
29325
- type: z.ZodDefault<z.ZodString>;
29304
+ type: z.ZodEnum<{
29305
+ luma: "luma";
29306
+ }>;
29326
29307
  src: z.ZodString;
29327
29308
  trim: z.ZodOptional<z.ZodNumber>;
29328
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
29329
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
29330
29309
  }, z.core.$strip>, z.ZodObject<{
29331
- type: z.ZodDefault<z.ZodString>;
29310
+ type: z.ZodEnum<{
29311
+ caption: "caption";
29312
+ }>;
29332
29313
  src: z.ZodString;
29333
29314
  font: z.ZodOptional<z.ZodObject<{
29334
29315
  family: z.ZodOptional<z.ZodString>;
@@ -29352,10 +29333,10 @@ export declare const templateSchema: z.ZodObject<{
29352
29333
  }, z.core.$strip>>;
29353
29334
  trim: z.ZodOptional<z.ZodNumber>;
29354
29335
  speed: z.ZodOptional<z.ZodNumber>;
29355
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
29356
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
29357
29336
  }, z.core.$strip>, z.ZodObject<{
29358
- type: z.ZodDefault<z.ZodString>;
29337
+ type: z.ZodEnum<{
29338
+ html: "html";
29339
+ }>;
29359
29340
  html: z.ZodString;
29360
29341
  css: z.ZodOptional<z.ZodString>;
29361
29342
  width: z.ZodOptional<z.ZodInt>;
@@ -29372,10 +29353,10 @@ export declare const templateSchema: z.ZodObject<{
29372
29353
  topLeft: "topLeft";
29373
29354
  center: "center";
29374
29355
  }>>;
29375
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
29376
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
29377
29356
  }, z.core.$strip>, z.ZodObject<{
29378
- type: z.ZodDefault<z.ZodString>;
29357
+ type: z.ZodEnum<{
29358
+ title: "title";
29359
+ }>;
29379
29360
  text: z.ZodString;
29380
29361
  style: z.ZodOptional<z.ZodEnum<{
29381
29362
  minimal: "minimal";
@@ -29495,10 +29476,10 @@ export declare const templateSchema: z.ZodObject<{
29495
29476
  }>>;
29496
29477
  }, z.core.$strip>>]>>;
29497
29478
  }, z.core.$strip>>;
29498
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
29499
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
29500
29479
  }, z.core.$strip>, z.ZodObject<{
29501
- type: z.ZodDefault<z.ZodString>;
29480
+ type: z.ZodEnum<{
29481
+ shape: "shape";
29482
+ }>;
29502
29483
  shape: z.ZodEnum<{
29503
29484
  circle: "circle";
29504
29485
  rectangle: "rectangle";
@@ -29526,23 +29507,19 @@ export declare const templateSchema: z.ZodObject<{
29526
29507
  length: z.ZodInt;
29527
29508
  thickness: z.ZodInt;
29528
29509
  }, z.core.$strip>>;
29529
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
29530
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
29531
29510
  }, z.core.$strip>, z.ZodObject<{
29532
29511
  type: z.ZodEnum<{
29533
29512
  "text-to-image": "text-to-image";
29534
29513
  }>;
29535
29514
  prompt: z.ZodString;
29536
- width: z.ZodInt;
29537
- height: z.ZodInt;
29515
+ width: z.ZodOptional<z.ZodInt>;
29516
+ height: z.ZodOptional<z.ZodInt>;
29538
29517
  crop: z.ZodOptional<z.ZodObject<{
29539
29518
  top: z.ZodOptional<z.ZodNumber>;
29540
29519
  bottom: z.ZodOptional<z.ZodNumber>;
29541
29520
  left: z.ZodOptional<z.ZodNumber>;
29542
29521
  right: z.ZodOptional<z.ZodNumber>;
29543
29522
  }, z.core.$strip>>;
29544
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
29545
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
29546
29523
  }, z.core.$strip>, z.ZodObject<{
29547
29524
  type: z.ZodOptional<z.ZodEnum<{
29548
29525
  "image-to-video": "image-to-video";
@@ -29565,7 +29542,7 @@ export declare const templateSchema: z.ZodObject<{
29565
29542
  left: z.ZodOptional<z.ZodNumber>;
29566
29543
  right: z.ZodOptional<z.ZodNumber>;
29567
29544
  }, z.core.$strip>>;
29568
- }, z.core.$strip>>]>;
29545
+ }, z.core.$strip>], "type">;
29569
29546
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
29570
29547
  auto: "auto";
29571
29548
  }>]>;
@@ -29826,6 +29803,7 @@ export declare const templateSchema: z.ZodObject<{
29826
29803
  }>>;
29827
29804
  filter: z.ZodOptional<z.ZodEnum<{
29828
29805
  blur: "blur";
29806
+ none: "none";
29829
29807
  boost: "boost";
29830
29808
  contrast: "contrast";
29831
29809
  darken: "darken";
@@ -30188,10 +30166,10 @@ export declare const postRenderRequest: z.ZodObject<{
30188
30166
  }, z.core.$strip>>>;
30189
30167
  tracks: z.ZodArray<z.ZodObject<{
30190
30168
  clips: z.ZodArray<z.ZodObject<{
30191
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
30192
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
30193
- }, z.core.$strip>, z.ZodObject<{
30194
- type: z.ZodDefault<z.ZodString>;
30169
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
30170
+ type: z.ZodEnum<{
30171
+ video: "video";
30172
+ }>;
30195
30173
  src: z.ZodString;
30196
30174
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
30197
30175
  trim: z.ZodOptional<z.ZodNumber>;
@@ -30254,10 +30232,10 @@ export declare const postRenderRequest: z.ZodObject<{
30254
30232
  threshold: z.ZodOptional<z.ZodInt>;
30255
30233
  halo: z.ZodOptional<z.ZodInt>;
30256
30234
  }, z.core.$strip>>;
30257
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
30258
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
30259
30235
  }, z.core.$strip>, z.ZodObject<{
30260
- type: z.ZodDefault<z.ZodString>;
30236
+ type: z.ZodEnum<{
30237
+ image: "image";
30238
+ }>;
30261
30239
  src: z.ZodString;
30262
30240
  crop: z.ZodOptional<z.ZodObject<{
30263
30241
  top: z.ZodOptional<z.ZodNumber>;
@@ -30265,10 +30243,10 @@ export declare const postRenderRequest: z.ZodObject<{
30265
30243
  left: z.ZodOptional<z.ZodNumber>;
30266
30244
  right: z.ZodOptional<z.ZodNumber>;
30267
30245
  }, z.core.$strip>>;
30268
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
30269
- asset: z.ZodLiteral<"textasset_TextAsset">;
30270
30246
  }, z.core.$strip>, z.ZodObject<{
30271
- type: z.ZodDefault<z.ZodString>;
30247
+ type: z.ZodEnum<{
30248
+ text: "text";
30249
+ }>;
30272
30250
  text: z.ZodString;
30273
30251
  width: z.ZodOptional<z.ZodInt>;
30274
30252
  height: z.ZodOptional<z.ZodInt>;
@@ -30309,10 +30287,10 @@ export declare const postRenderRequest: z.ZodObject<{
30309
30287
  duration: z.ZodOptional<z.ZodNumber>;
30310
30288
  }, z.core.$strip>>;
30311
30289
  ellipsis: z.ZodOptional<z.ZodString>;
30312
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
30313
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
30314
30290
  }, z.core.$strip>, z.ZodObject<{
30315
- type: z.ZodDefault<z.ZodString>;
30291
+ type: z.ZodEnum<{
30292
+ "rich-text": "rich-text";
30293
+ }>;
30316
30294
  text: z.ZodString;
30317
30295
  font: z.ZodOptional<z.ZodObject<{
30318
30296
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -30415,10 +30393,10 @@ export declare const postRenderRequest: z.ZodObject<{
30415
30393
  down: "down";
30416
30394
  }>>;
30417
30395
  }, z.core.$strip>>;
30418
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
30419
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
30420
30396
  }, z.core.$strip>, z.ZodObject<{
30421
- type: z.ZodDefault<z.ZodString>;
30397
+ type: z.ZodEnum<{
30398
+ audio: "audio";
30399
+ }>;
30422
30400
  src: z.ZodString;
30423
30401
  trim: z.ZodOptional<z.ZodNumber>;
30424
30402
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -30469,16 +30447,16 @@ export declare const postRenderRequest: z.ZodObject<{
30469
30447
  fadeOut: "fadeOut";
30470
30448
  fadeInFadeOut: "fadeInFadeOut";
30471
30449
  }>>;
30472
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
30473
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
30474
30450
  }, z.core.$strip>, z.ZodObject<{
30475
- type: z.ZodDefault<z.ZodString>;
30451
+ type: z.ZodEnum<{
30452
+ luma: "luma";
30453
+ }>;
30476
30454
  src: z.ZodString;
30477
30455
  trim: z.ZodOptional<z.ZodNumber>;
30478
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
30479
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
30480
30456
  }, z.core.$strip>, z.ZodObject<{
30481
- type: z.ZodDefault<z.ZodString>;
30457
+ type: z.ZodEnum<{
30458
+ caption: "caption";
30459
+ }>;
30482
30460
  src: z.ZodString;
30483
30461
  font: z.ZodOptional<z.ZodObject<{
30484
30462
  family: z.ZodOptional<z.ZodString>;
@@ -30502,10 +30480,10 @@ export declare const postRenderRequest: z.ZodObject<{
30502
30480
  }, z.core.$strip>>;
30503
30481
  trim: z.ZodOptional<z.ZodNumber>;
30504
30482
  speed: z.ZodOptional<z.ZodNumber>;
30505
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
30506
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
30507
30483
  }, z.core.$strip>, z.ZodObject<{
30508
- type: z.ZodDefault<z.ZodString>;
30484
+ type: z.ZodEnum<{
30485
+ html: "html";
30486
+ }>;
30509
30487
  html: z.ZodString;
30510
30488
  css: z.ZodOptional<z.ZodString>;
30511
30489
  width: z.ZodOptional<z.ZodInt>;
@@ -30522,10 +30500,10 @@ export declare const postRenderRequest: z.ZodObject<{
30522
30500
  topLeft: "topLeft";
30523
30501
  center: "center";
30524
30502
  }>>;
30525
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
30526
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
30527
30503
  }, z.core.$strip>, z.ZodObject<{
30528
- type: z.ZodDefault<z.ZodString>;
30504
+ type: z.ZodEnum<{
30505
+ title: "title";
30506
+ }>;
30529
30507
  text: z.ZodString;
30530
30508
  style: z.ZodOptional<z.ZodEnum<{
30531
30509
  minimal: "minimal";
@@ -30645,10 +30623,10 @@ export declare const postRenderRequest: z.ZodObject<{
30645
30623
  }>>;
30646
30624
  }, z.core.$strip>>]>>;
30647
30625
  }, z.core.$strip>>;
30648
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
30649
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
30650
30626
  }, z.core.$strip>, z.ZodObject<{
30651
- type: z.ZodDefault<z.ZodString>;
30627
+ type: z.ZodEnum<{
30628
+ shape: "shape";
30629
+ }>;
30652
30630
  shape: z.ZodEnum<{
30653
30631
  circle: "circle";
30654
30632
  rectangle: "rectangle";
@@ -30676,23 +30654,19 @@ export declare const postRenderRequest: z.ZodObject<{
30676
30654
  length: z.ZodInt;
30677
30655
  thickness: z.ZodInt;
30678
30656
  }, z.core.$strip>>;
30679
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
30680
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
30681
30657
  }, z.core.$strip>, z.ZodObject<{
30682
30658
  type: z.ZodEnum<{
30683
30659
  "text-to-image": "text-to-image";
30684
30660
  }>;
30685
30661
  prompt: z.ZodString;
30686
- width: z.ZodInt;
30687
- height: z.ZodInt;
30662
+ width: z.ZodOptional<z.ZodInt>;
30663
+ height: z.ZodOptional<z.ZodInt>;
30688
30664
  crop: z.ZodOptional<z.ZodObject<{
30689
30665
  top: z.ZodOptional<z.ZodNumber>;
30690
30666
  bottom: z.ZodOptional<z.ZodNumber>;
30691
30667
  left: z.ZodOptional<z.ZodNumber>;
30692
30668
  right: z.ZodOptional<z.ZodNumber>;
30693
30669
  }, z.core.$strip>>;
30694
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
30695
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
30696
30670
  }, z.core.$strip>, z.ZodObject<{
30697
30671
  type: z.ZodOptional<z.ZodEnum<{
30698
30672
  "image-to-video": "image-to-video";
@@ -30715,7 +30689,7 @@ export declare const postRenderRequest: z.ZodObject<{
30715
30689
  left: z.ZodOptional<z.ZodNumber>;
30716
30690
  right: z.ZodOptional<z.ZodNumber>;
30717
30691
  }, z.core.$strip>>;
30718
- }, z.core.$strip>>]>;
30692
+ }, z.core.$strip>], "type">;
30719
30693
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
30720
30694
  auto: "auto";
30721
30695
  }>]>;
@@ -30976,6 +30950,7 @@ export declare const postRenderRequest: z.ZodObject<{
30976
30950
  }>>;
30977
30951
  filter: z.ZodOptional<z.ZodEnum<{
30978
30952
  blur: "blur";
30953
+ none: "none";
30979
30954
  boost: "boost";
30980
30955
  contrast: "contrast";
30981
30956
  darken: "darken";
@@ -31385,10 +31360,10 @@ export declare const getRenderResponse: z.ZodObject<{
31385
31360
  }, z.core.$strip>>>;
31386
31361
  tracks: z.ZodArray<z.ZodObject<{
31387
31362
  clips: z.ZodArray<z.ZodObject<{
31388
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
31389
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
31390
- }, z.core.$strip>, z.ZodObject<{
31391
- type: z.ZodDefault<z.ZodString>;
31363
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
31364
+ type: z.ZodEnum<{
31365
+ video: "video";
31366
+ }>;
31392
31367
  src: z.ZodString;
31393
31368
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
31394
31369
  trim: z.ZodOptional<z.ZodNumber>;
@@ -31451,10 +31426,10 @@ export declare const getRenderResponse: z.ZodObject<{
31451
31426
  threshold: z.ZodOptional<z.ZodInt>;
31452
31427
  halo: z.ZodOptional<z.ZodInt>;
31453
31428
  }, z.core.$strip>>;
31454
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
31455
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
31456
31429
  }, z.core.$strip>, z.ZodObject<{
31457
- type: z.ZodDefault<z.ZodString>;
31430
+ type: z.ZodEnum<{
31431
+ image: "image";
31432
+ }>;
31458
31433
  src: z.ZodString;
31459
31434
  crop: z.ZodOptional<z.ZodObject<{
31460
31435
  top: z.ZodOptional<z.ZodNumber>;
@@ -31462,10 +31437,10 @@ export declare const getRenderResponse: z.ZodObject<{
31462
31437
  left: z.ZodOptional<z.ZodNumber>;
31463
31438
  right: z.ZodOptional<z.ZodNumber>;
31464
31439
  }, z.core.$strip>>;
31465
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
31466
- asset: z.ZodLiteral<"textasset_TextAsset">;
31467
31440
  }, z.core.$strip>, z.ZodObject<{
31468
- type: z.ZodDefault<z.ZodString>;
31441
+ type: z.ZodEnum<{
31442
+ text: "text";
31443
+ }>;
31469
31444
  text: z.ZodString;
31470
31445
  width: z.ZodOptional<z.ZodInt>;
31471
31446
  height: z.ZodOptional<z.ZodInt>;
@@ -31506,10 +31481,10 @@ export declare const getRenderResponse: z.ZodObject<{
31506
31481
  duration: z.ZodOptional<z.ZodNumber>;
31507
31482
  }, z.core.$strip>>;
31508
31483
  ellipsis: z.ZodOptional<z.ZodString>;
31509
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
31510
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
31511
31484
  }, z.core.$strip>, z.ZodObject<{
31512
- type: z.ZodDefault<z.ZodString>;
31485
+ type: z.ZodEnum<{
31486
+ "rich-text": "rich-text";
31487
+ }>;
31513
31488
  text: z.ZodString;
31514
31489
  font: z.ZodOptional<z.ZodObject<{
31515
31490
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -31612,10 +31587,10 @@ export declare const getRenderResponse: z.ZodObject<{
31612
31587
  down: "down";
31613
31588
  }>>;
31614
31589
  }, z.core.$strip>>;
31615
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
31616
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
31617
31590
  }, z.core.$strip>, z.ZodObject<{
31618
- type: z.ZodDefault<z.ZodString>;
31591
+ type: z.ZodEnum<{
31592
+ audio: "audio";
31593
+ }>;
31619
31594
  src: z.ZodString;
31620
31595
  trim: z.ZodOptional<z.ZodNumber>;
31621
31596
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -31666,16 +31641,16 @@ export declare const getRenderResponse: z.ZodObject<{
31666
31641
  fadeOut: "fadeOut";
31667
31642
  fadeInFadeOut: "fadeInFadeOut";
31668
31643
  }>>;
31669
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
31670
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
31671
31644
  }, z.core.$strip>, z.ZodObject<{
31672
- type: z.ZodDefault<z.ZodString>;
31645
+ type: z.ZodEnum<{
31646
+ luma: "luma";
31647
+ }>;
31673
31648
  src: z.ZodString;
31674
31649
  trim: z.ZodOptional<z.ZodNumber>;
31675
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
31676
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
31677
31650
  }, z.core.$strip>, z.ZodObject<{
31678
- type: z.ZodDefault<z.ZodString>;
31651
+ type: z.ZodEnum<{
31652
+ caption: "caption";
31653
+ }>;
31679
31654
  src: z.ZodString;
31680
31655
  font: z.ZodOptional<z.ZodObject<{
31681
31656
  family: z.ZodOptional<z.ZodString>;
@@ -31699,10 +31674,10 @@ export declare const getRenderResponse: z.ZodObject<{
31699
31674
  }, z.core.$strip>>;
31700
31675
  trim: z.ZodOptional<z.ZodNumber>;
31701
31676
  speed: z.ZodOptional<z.ZodNumber>;
31702
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
31703
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
31704
31677
  }, z.core.$strip>, z.ZodObject<{
31705
- type: z.ZodDefault<z.ZodString>;
31678
+ type: z.ZodEnum<{
31679
+ html: "html";
31680
+ }>;
31706
31681
  html: z.ZodString;
31707
31682
  css: z.ZodOptional<z.ZodString>;
31708
31683
  width: z.ZodOptional<z.ZodInt>;
@@ -31719,10 +31694,10 @@ export declare const getRenderResponse: z.ZodObject<{
31719
31694
  topLeft: "topLeft";
31720
31695
  center: "center";
31721
31696
  }>>;
31722
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
31723
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
31724
31697
  }, z.core.$strip>, z.ZodObject<{
31725
- type: z.ZodDefault<z.ZodString>;
31698
+ type: z.ZodEnum<{
31699
+ title: "title";
31700
+ }>;
31726
31701
  text: z.ZodString;
31727
31702
  style: z.ZodOptional<z.ZodEnum<{
31728
31703
  minimal: "minimal";
@@ -31842,10 +31817,10 @@ export declare const getRenderResponse: z.ZodObject<{
31842
31817
  }>>;
31843
31818
  }, z.core.$strip>>]>>;
31844
31819
  }, z.core.$strip>>;
31845
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
31846
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
31847
31820
  }, z.core.$strip>, z.ZodObject<{
31848
- type: z.ZodDefault<z.ZodString>;
31821
+ type: z.ZodEnum<{
31822
+ shape: "shape";
31823
+ }>;
31849
31824
  shape: z.ZodEnum<{
31850
31825
  circle: "circle";
31851
31826
  rectangle: "rectangle";
@@ -31873,23 +31848,19 @@ export declare const getRenderResponse: z.ZodObject<{
31873
31848
  length: z.ZodInt;
31874
31849
  thickness: z.ZodInt;
31875
31850
  }, z.core.$strip>>;
31876
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
31877
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
31878
31851
  }, z.core.$strip>, z.ZodObject<{
31879
31852
  type: z.ZodEnum<{
31880
31853
  "text-to-image": "text-to-image";
31881
31854
  }>;
31882
31855
  prompt: z.ZodString;
31883
- width: z.ZodInt;
31884
- height: z.ZodInt;
31856
+ width: z.ZodOptional<z.ZodInt>;
31857
+ height: z.ZodOptional<z.ZodInt>;
31885
31858
  crop: z.ZodOptional<z.ZodObject<{
31886
31859
  top: z.ZodOptional<z.ZodNumber>;
31887
31860
  bottom: z.ZodOptional<z.ZodNumber>;
31888
31861
  left: z.ZodOptional<z.ZodNumber>;
31889
31862
  right: z.ZodOptional<z.ZodNumber>;
31890
31863
  }, z.core.$strip>>;
31891
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
31892
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
31893
31864
  }, z.core.$strip>, z.ZodObject<{
31894
31865
  type: z.ZodOptional<z.ZodEnum<{
31895
31866
  "image-to-video": "image-to-video";
@@ -31912,7 +31883,7 @@ export declare const getRenderResponse: z.ZodObject<{
31912
31883
  left: z.ZodOptional<z.ZodNumber>;
31913
31884
  right: z.ZodOptional<z.ZodNumber>;
31914
31885
  }, z.core.$strip>>;
31915
- }, z.core.$strip>>]>;
31886
+ }, z.core.$strip>], "type">;
31916
31887
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
31917
31888
  auto: "auto";
31918
31889
  }>]>;
@@ -32173,6 +32144,7 @@ export declare const getRenderResponse: z.ZodObject<{
32173
32144
  }>>;
32174
32145
  filter: z.ZodOptional<z.ZodEnum<{
32175
32146
  blur: "blur";
32147
+ none: "none";
32176
32148
  boost: "boost";
32177
32149
  contrast: "contrast";
32178
32150
  darken: "darken";
@@ -32561,10 +32533,10 @@ export declare const postTemplateRequest: z.ZodObject<{
32561
32533
  }, z.core.$strip>>>;
32562
32534
  tracks: z.ZodArray<z.ZodObject<{
32563
32535
  clips: z.ZodArray<z.ZodObject<{
32564
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
32565
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
32566
- }, z.core.$strip>, z.ZodObject<{
32567
- type: z.ZodDefault<z.ZodString>;
32536
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
32537
+ type: z.ZodEnum<{
32538
+ video: "video";
32539
+ }>;
32568
32540
  src: z.ZodString;
32569
32541
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
32570
32542
  trim: z.ZodOptional<z.ZodNumber>;
@@ -32627,10 +32599,10 @@ export declare const postTemplateRequest: z.ZodObject<{
32627
32599
  threshold: z.ZodOptional<z.ZodInt>;
32628
32600
  halo: z.ZodOptional<z.ZodInt>;
32629
32601
  }, z.core.$strip>>;
32630
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
32631
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
32632
32602
  }, z.core.$strip>, z.ZodObject<{
32633
- type: z.ZodDefault<z.ZodString>;
32603
+ type: z.ZodEnum<{
32604
+ image: "image";
32605
+ }>;
32634
32606
  src: z.ZodString;
32635
32607
  crop: z.ZodOptional<z.ZodObject<{
32636
32608
  top: z.ZodOptional<z.ZodNumber>;
@@ -32638,10 +32610,10 @@ export declare const postTemplateRequest: z.ZodObject<{
32638
32610
  left: z.ZodOptional<z.ZodNumber>;
32639
32611
  right: z.ZodOptional<z.ZodNumber>;
32640
32612
  }, z.core.$strip>>;
32641
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
32642
- asset: z.ZodLiteral<"textasset_TextAsset">;
32643
32613
  }, z.core.$strip>, z.ZodObject<{
32644
- type: z.ZodDefault<z.ZodString>;
32614
+ type: z.ZodEnum<{
32615
+ text: "text";
32616
+ }>;
32645
32617
  text: z.ZodString;
32646
32618
  width: z.ZodOptional<z.ZodInt>;
32647
32619
  height: z.ZodOptional<z.ZodInt>;
@@ -32682,10 +32654,10 @@ export declare const postTemplateRequest: z.ZodObject<{
32682
32654
  duration: z.ZodOptional<z.ZodNumber>;
32683
32655
  }, z.core.$strip>>;
32684
32656
  ellipsis: z.ZodOptional<z.ZodString>;
32685
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
32686
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
32687
32657
  }, z.core.$strip>, z.ZodObject<{
32688
- type: z.ZodDefault<z.ZodString>;
32658
+ type: z.ZodEnum<{
32659
+ "rich-text": "rich-text";
32660
+ }>;
32689
32661
  text: z.ZodString;
32690
32662
  font: z.ZodOptional<z.ZodObject<{
32691
32663
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -32788,10 +32760,10 @@ export declare const postTemplateRequest: z.ZodObject<{
32788
32760
  down: "down";
32789
32761
  }>>;
32790
32762
  }, z.core.$strip>>;
32791
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
32792
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
32793
32763
  }, z.core.$strip>, z.ZodObject<{
32794
- type: z.ZodDefault<z.ZodString>;
32764
+ type: z.ZodEnum<{
32765
+ audio: "audio";
32766
+ }>;
32795
32767
  src: z.ZodString;
32796
32768
  trim: z.ZodOptional<z.ZodNumber>;
32797
32769
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -32842,16 +32814,16 @@ export declare const postTemplateRequest: z.ZodObject<{
32842
32814
  fadeOut: "fadeOut";
32843
32815
  fadeInFadeOut: "fadeInFadeOut";
32844
32816
  }>>;
32845
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
32846
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
32847
32817
  }, z.core.$strip>, z.ZodObject<{
32848
- type: z.ZodDefault<z.ZodString>;
32818
+ type: z.ZodEnum<{
32819
+ luma: "luma";
32820
+ }>;
32849
32821
  src: z.ZodString;
32850
32822
  trim: z.ZodOptional<z.ZodNumber>;
32851
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
32852
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
32853
32823
  }, z.core.$strip>, z.ZodObject<{
32854
- type: z.ZodDefault<z.ZodString>;
32824
+ type: z.ZodEnum<{
32825
+ caption: "caption";
32826
+ }>;
32855
32827
  src: z.ZodString;
32856
32828
  font: z.ZodOptional<z.ZodObject<{
32857
32829
  family: z.ZodOptional<z.ZodString>;
@@ -32875,10 +32847,10 @@ export declare const postTemplateRequest: z.ZodObject<{
32875
32847
  }, z.core.$strip>>;
32876
32848
  trim: z.ZodOptional<z.ZodNumber>;
32877
32849
  speed: z.ZodOptional<z.ZodNumber>;
32878
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
32879
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
32880
32850
  }, z.core.$strip>, z.ZodObject<{
32881
- type: z.ZodDefault<z.ZodString>;
32851
+ type: z.ZodEnum<{
32852
+ html: "html";
32853
+ }>;
32882
32854
  html: z.ZodString;
32883
32855
  css: z.ZodOptional<z.ZodString>;
32884
32856
  width: z.ZodOptional<z.ZodInt>;
@@ -32895,10 +32867,10 @@ export declare const postTemplateRequest: z.ZodObject<{
32895
32867
  topLeft: "topLeft";
32896
32868
  center: "center";
32897
32869
  }>>;
32898
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
32899
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
32900
32870
  }, z.core.$strip>, z.ZodObject<{
32901
- type: z.ZodDefault<z.ZodString>;
32871
+ type: z.ZodEnum<{
32872
+ title: "title";
32873
+ }>;
32902
32874
  text: z.ZodString;
32903
32875
  style: z.ZodOptional<z.ZodEnum<{
32904
32876
  minimal: "minimal";
@@ -33018,10 +32990,10 @@ export declare const postTemplateRequest: z.ZodObject<{
33018
32990
  }>>;
33019
32991
  }, z.core.$strip>>]>>;
33020
32992
  }, z.core.$strip>>;
33021
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
33022
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
33023
32993
  }, z.core.$strip>, z.ZodObject<{
33024
- type: z.ZodDefault<z.ZodString>;
32994
+ type: z.ZodEnum<{
32995
+ shape: "shape";
32996
+ }>;
33025
32997
  shape: z.ZodEnum<{
33026
32998
  circle: "circle";
33027
32999
  rectangle: "rectangle";
@@ -33049,23 +33021,19 @@ export declare const postTemplateRequest: z.ZodObject<{
33049
33021
  length: z.ZodInt;
33050
33022
  thickness: z.ZodInt;
33051
33023
  }, z.core.$strip>>;
33052
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
33053
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
33054
33024
  }, z.core.$strip>, z.ZodObject<{
33055
33025
  type: z.ZodEnum<{
33056
33026
  "text-to-image": "text-to-image";
33057
33027
  }>;
33058
33028
  prompt: z.ZodString;
33059
- width: z.ZodInt;
33060
- height: z.ZodInt;
33029
+ width: z.ZodOptional<z.ZodInt>;
33030
+ height: z.ZodOptional<z.ZodInt>;
33061
33031
  crop: z.ZodOptional<z.ZodObject<{
33062
33032
  top: z.ZodOptional<z.ZodNumber>;
33063
33033
  bottom: z.ZodOptional<z.ZodNumber>;
33064
33034
  left: z.ZodOptional<z.ZodNumber>;
33065
33035
  right: z.ZodOptional<z.ZodNumber>;
33066
33036
  }, z.core.$strip>>;
33067
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
33068
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
33069
33037
  }, z.core.$strip>, z.ZodObject<{
33070
33038
  type: z.ZodOptional<z.ZodEnum<{
33071
33039
  "image-to-video": "image-to-video";
@@ -33088,7 +33056,7 @@ export declare const postTemplateRequest: z.ZodObject<{
33088
33056
  left: z.ZodOptional<z.ZodNumber>;
33089
33057
  right: z.ZodOptional<z.ZodNumber>;
33090
33058
  }, z.core.$strip>>;
33091
- }, z.core.$strip>>]>;
33059
+ }, z.core.$strip>], "type">;
33092
33060
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
33093
33061
  auto: "auto";
33094
33062
  }>]>;
@@ -33349,6 +33317,7 @@ export declare const postTemplateRequest: z.ZodObject<{
33349
33317
  }>>;
33350
33318
  filter: z.ZodOptional<z.ZodEnum<{
33351
33319
  blur: "blur";
33320
+ none: "none";
33352
33321
  boost: "boost";
33353
33322
  contrast: "contrast";
33354
33323
  darken: "darken";
@@ -33752,10 +33721,10 @@ export declare const getTemplateResponse: z.ZodObject<{
33752
33721
  }, z.core.$strip>>>;
33753
33722
  tracks: z.ZodArray<z.ZodObject<{
33754
33723
  clips: z.ZodArray<z.ZodObject<{
33755
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
33756
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
33757
- }, z.core.$strip>, z.ZodObject<{
33758
- type: z.ZodDefault<z.ZodString>;
33724
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
33725
+ type: z.ZodEnum<{
33726
+ video: "video";
33727
+ }>;
33759
33728
  src: z.ZodString;
33760
33729
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
33761
33730
  trim: z.ZodOptional<z.ZodNumber>;
@@ -33818,10 +33787,10 @@ export declare const getTemplateResponse: z.ZodObject<{
33818
33787
  threshold: z.ZodOptional<z.ZodInt>;
33819
33788
  halo: z.ZodOptional<z.ZodInt>;
33820
33789
  }, z.core.$strip>>;
33821
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
33822
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
33823
33790
  }, z.core.$strip>, z.ZodObject<{
33824
- type: z.ZodDefault<z.ZodString>;
33791
+ type: z.ZodEnum<{
33792
+ image: "image";
33793
+ }>;
33825
33794
  src: z.ZodString;
33826
33795
  crop: z.ZodOptional<z.ZodObject<{
33827
33796
  top: z.ZodOptional<z.ZodNumber>;
@@ -33829,10 +33798,10 @@ export declare const getTemplateResponse: z.ZodObject<{
33829
33798
  left: z.ZodOptional<z.ZodNumber>;
33830
33799
  right: z.ZodOptional<z.ZodNumber>;
33831
33800
  }, z.core.$strip>>;
33832
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
33833
- asset: z.ZodLiteral<"textasset_TextAsset">;
33834
33801
  }, z.core.$strip>, z.ZodObject<{
33835
- type: z.ZodDefault<z.ZodString>;
33802
+ type: z.ZodEnum<{
33803
+ text: "text";
33804
+ }>;
33836
33805
  text: z.ZodString;
33837
33806
  width: z.ZodOptional<z.ZodInt>;
33838
33807
  height: z.ZodOptional<z.ZodInt>;
@@ -33873,10 +33842,10 @@ export declare const getTemplateResponse: z.ZodObject<{
33873
33842
  duration: z.ZodOptional<z.ZodNumber>;
33874
33843
  }, z.core.$strip>>;
33875
33844
  ellipsis: z.ZodOptional<z.ZodString>;
33876
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
33877
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
33878
33845
  }, z.core.$strip>, z.ZodObject<{
33879
- type: z.ZodDefault<z.ZodString>;
33846
+ type: z.ZodEnum<{
33847
+ "rich-text": "rich-text";
33848
+ }>;
33880
33849
  text: z.ZodString;
33881
33850
  font: z.ZodOptional<z.ZodObject<{
33882
33851
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -33979,10 +33948,10 @@ export declare const getTemplateResponse: z.ZodObject<{
33979
33948
  down: "down";
33980
33949
  }>>;
33981
33950
  }, z.core.$strip>>;
33982
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
33983
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
33984
33951
  }, z.core.$strip>, z.ZodObject<{
33985
- type: z.ZodDefault<z.ZodString>;
33952
+ type: z.ZodEnum<{
33953
+ audio: "audio";
33954
+ }>;
33986
33955
  src: z.ZodString;
33987
33956
  trim: z.ZodOptional<z.ZodNumber>;
33988
33957
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -34033,16 +34002,16 @@ export declare const getTemplateResponse: z.ZodObject<{
34033
34002
  fadeOut: "fadeOut";
34034
34003
  fadeInFadeOut: "fadeInFadeOut";
34035
34004
  }>>;
34036
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
34037
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
34038
34005
  }, z.core.$strip>, z.ZodObject<{
34039
- type: z.ZodDefault<z.ZodString>;
34006
+ type: z.ZodEnum<{
34007
+ luma: "luma";
34008
+ }>;
34040
34009
  src: z.ZodString;
34041
34010
  trim: z.ZodOptional<z.ZodNumber>;
34042
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
34043
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
34044
34011
  }, z.core.$strip>, z.ZodObject<{
34045
- type: z.ZodDefault<z.ZodString>;
34012
+ type: z.ZodEnum<{
34013
+ caption: "caption";
34014
+ }>;
34046
34015
  src: z.ZodString;
34047
34016
  font: z.ZodOptional<z.ZodObject<{
34048
34017
  family: z.ZodOptional<z.ZodString>;
@@ -34066,10 +34035,10 @@ export declare const getTemplateResponse: z.ZodObject<{
34066
34035
  }, z.core.$strip>>;
34067
34036
  trim: z.ZodOptional<z.ZodNumber>;
34068
34037
  speed: z.ZodOptional<z.ZodNumber>;
34069
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
34070
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
34071
34038
  }, z.core.$strip>, z.ZodObject<{
34072
- type: z.ZodDefault<z.ZodString>;
34039
+ type: z.ZodEnum<{
34040
+ html: "html";
34041
+ }>;
34073
34042
  html: z.ZodString;
34074
34043
  css: z.ZodOptional<z.ZodString>;
34075
34044
  width: z.ZodOptional<z.ZodInt>;
@@ -34086,10 +34055,10 @@ export declare const getTemplateResponse: z.ZodObject<{
34086
34055
  topLeft: "topLeft";
34087
34056
  center: "center";
34088
34057
  }>>;
34089
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
34090
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
34091
34058
  }, z.core.$strip>, z.ZodObject<{
34092
- type: z.ZodDefault<z.ZodString>;
34059
+ type: z.ZodEnum<{
34060
+ title: "title";
34061
+ }>;
34093
34062
  text: z.ZodString;
34094
34063
  style: z.ZodOptional<z.ZodEnum<{
34095
34064
  minimal: "minimal";
@@ -34209,10 +34178,10 @@ export declare const getTemplateResponse: z.ZodObject<{
34209
34178
  }>>;
34210
34179
  }, z.core.$strip>>]>>;
34211
34180
  }, z.core.$strip>>;
34212
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
34213
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
34214
34181
  }, z.core.$strip>, z.ZodObject<{
34215
- type: z.ZodDefault<z.ZodString>;
34182
+ type: z.ZodEnum<{
34183
+ shape: "shape";
34184
+ }>;
34216
34185
  shape: z.ZodEnum<{
34217
34186
  circle: "circle";
34218
34187
  rectangle: "rectangle";
@@ -34240,23 +34209,19 @@ export declare const getTemplateResponse: z.ZodObject<{
34240
34209
  length: z.ZodInt;
34241
34210
  thickness: z.ZodInt;
34242
34211
  }, z.core.$strip>>;
34243
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
34244
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
34245
34212
  }, z.core.$strip>, z.ZodObject<{
34246
34213
  type: z.ZodEnum<{
34247
34214
  "text-to-image": "text-to-image";
34248
34215
  }>;
34249
34216
  prompt: z.ZodString;
34250
- width: z.ZodInt;
34251
- height: z.ZodInt;
34217
+ width: z.ZodOptional<z.ZodInt>;
34218
+ height: z.ZodOptional<z.ZodInt>;
34252
34219
  crop: z.ZodOptional<z.ZodObject<{
34253
34220
  top: z.ZodOptional<z.ZodNumber>;
34254
34221
  bottom: z.ZodOptional<z.ZodNumber>;
34255
34222
  left: z.ZodOptional<z.ZodNumber>;
34256
34223
  right: z.ZodOptional<z.ZodNumber>;
34257
34224
  }, z.core.$strip>>;
34258
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
34259
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
34260
34225
  }, z.core.$strip>, z.ZodObject<{
34261
34226
  type: z.ZodOptional<z.ZodEnum<{
34262
34227
  "image-to-video": "image-to-video";
@@ -34279,7 +34244,7 @@ export declare const getTemplateResponse: z.ZodObject<{
34279
34244
  left: z.ZodOptional<z.ZodNumber>;
34280
34245
  right: z.ZodOptional<z.ZodNumber>;
34281
34246
  }, z.core.$strip>>;
34282
- }, z.core.$strip>>]>;
34247
+ }, z.core.$strip>], "type">;
34283
34248
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
34284
34249
  auto: "auto";
34285
34250
  }>]>;
@@ -34540,6 +34505,7 @@ export declare const getTemplateResponse: z.ZodObject<{
34540
34505
  }>>;
34541
34506
  filter: z.ZodOptional<z.ZodEnum<{
34542
34507
  blur: "blur";
34508
+ none: "none";
34543
34509
  boost: "boost";
34544
34510
  contrast: "contrast";
34545
34511
  darken: "darken";
@@ -34905,10 +34871,10 @@ export declare const putTemplateRequest: z.ZodObject<{
34905
34871
  }, z.core.$strip>>>;
34906
34872
  tracks: z.ZodArray<z.ZodObject<{
34907
34873
  clips: z.ZodArray<z.ZodObject<{
34908
- asset: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
34909
- asset: z.ZodLiteral<"videoasset_VideoAsset">;
34910
- }, z.core.$strip>, z.ZodObject<{
34911
- type: z.ZodDefault<z.ZodString>;
34874
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
34875
+ type: z.ZodEnum<{
34876
+ video: "video";
34877
+ }>;
34912
34878
  src: z.ZodString;
34913
34879
  transcode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
34914
34880
  trim: z.ZodOptional<z.ZodNumber>;
@@ -34971,10 +34937,10 @@ export declare const putTemplateRequest: z.ZodObject<{
34971
34937
  threshold: z.ZodOptional<z.ZodInt>;
34972
34938
  halo: z.ZodOptional<z.ZodInt>;
34973
34939
  }, z.core.$strip>>;
34974
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
34975
- asset: z.ZodLiteral<"imageasset_ImageAsset">;
34976
34940
  }, z.core.$strip>, z.ZodObject<{
34977
- type: z.ZodDefault<z.ZodString>;
34941
+ type: z.ZodEnum<{
34942
+ image: "image";
34943
+ }>;
34978
34944
  src: z.ZodString;
34979
34945
  crop: z.ZodOptional<z.ZodObject<{
34980
34946
  top: z.ZodOptional<z.ZodNumber>;
@@ -34982,10 +34948,10 @@ export declare const putTemplateRequest: z.ZodObject<{
34982
34948
  left: z.ZodOptional<z.ZodNumber>;
34983
34949
  right: z.ZodOptional<z.ZodNumber>;
34984
34950
  }, z.core.$strip>>;
34985
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
34986
- asset: z.ZodLiteral<"textasset_TextAsset">;
34987
34951
  }, z.core.$strip>, z.ZodObject<{
34988
- type: z.ZodDefault<z.ZodString>;
34952
+ type: z.ZodEnum<{
34953
+ text: "text";
34954
+ }>;
34989
34955
  text: z.ZodString;
34990
34956
  width: z.ZodOptional<z.ZodInt>;
34991
34957
  height: z.ZodOptional<z.ZodInt>;
@@ -35026,10 +34992,10 @@ export declare const putTemplateRequest: z.ZodObject<{
35026
34992
  duration: z.ZodOptional<z.ZodNumber>;
35027
34993
  }, z.core.$strip>>;
35028
34994
  ellipsis: z.ZodOptional<z.ZodString>;
35029
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
35030
- asset: z.ZodLiteral<"richtextasset_RichTextAsset">;
35031
34995
  }, z.core.$strip>, z.ZodObject<{
35032
- type: z.ZodDefault<z.ZodString>;
34996
+ type: z.ZodEnum<{
34997
+ "rich-text": "rich-text";
34998
+ }>;
35033
34999
  text: z.ZodString;
35034
35000
  font: z.ZodOptional<z.ZodObject<{
35035
35001
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -35132,10 +35098,10 @@ export declare const putTemplateRequest: z.ZodObject<{
35132
35098
  down: "down";
35133
35099
  }>>;
35134
35100
  }, z.core.$strip>>;
35135
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
35136
- asset: z.ZodLiteral<"audioasset_AudioAsset">;
35137
35101
  }, z.core.$strip>, z.ZodObject<{
35138
- type: z.ZodDefault<z.ZodString>;
35102
+ type: z.ZodEnum<{
35103
+ audio: "audio";
35104
+ }>;
35139
35105
  src: z.ZodString;
35140
35106
  trim: z.ZodOptional<z.ZodNumber>;
35141
35107
  volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodObject<{
@@ -35186,16 +35152,16 @@ export declare const putTemplateRequest: z.ZodObject<{
35186
35152
  fadeOut: "fadeOut";
35187
35153
  fadeInFadeOut: "fadeInFadeOut";
35188
35154
  }>>;
35189
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
35190
- asset: z.ZodLiteral<"lumaasset_LumaAsset">;
35191
35155
  }, z.core.$strip>, z.ZodObject<{
35192
- type: z.ZodDefault<z.ZodString>;
35156
+ type: z.ZodEnum<{
35157
+ luma: "luma";
35158
+ }>;
35193
35159
  src: z.ZodString;
35194
35160
  trim: z.ZodOptional<z.ZodNumber>;
35195
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
35196
- asset: z.ZodLiteral<"captionasset_CaptionAsset">;
35197
35161
  }, z.core.$strip>, z.ZodObject<{
35198
- type: z.ZodDefault<z.ZodString>;
35162
+ type: z.ZodEnum<{
35163
+ caption: "caption";
35164
+ }>;
35199
35165
  src: z.ZodString;
35200
35166
  font: z.ZodOptional<z.ZodObject<{
35201
35167
  family: z.ZodOptional<z.ZodString>;
@@ -35219,10 +35185,10 @@ export declare const putTemplateRequest: z.ZodObject<{
35219
35185
  }, z.core.$strip>>;
35220
35186
  trim: z.ZodOptional<z.ZodNumber>;
35221
35187
  speed: z.ZodOptional<z.ZodNumber>;
35222
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
35223
- asset: z.ZodLiteral<"htmlasset_HtmlAsset">;
35224
35188
  }, z.core.$strip>, z.ZodObject<{
35225
- type: z.ZodDefault<z.ZodString>;
35189
+ type: z.ZodEnum<{
35190
+ html: "html";
35191
+ }>;
35226
35192
  html: z.ZodString;
35227
35193
  css: z.ZodOptional<z.ZodString>;
35228
35194
  width: z.ZodOptional<z.ZodInt>;
@@ -35239,10 +35205,10 @@ export declare const putTemplateRequest: z.ZodObject<{
35239
35205
  topLeft: "topLeft";
35240
35206
  center: "center";
35241
35207
  }>>;
35242
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
35243
- asset: z.ZodLiteral<"titleasset_TitleAsset">;
35244
35208
  }, z.core.$strip>, z.ZodObject<{
35245
- type: z.ZodDefault<z.ZodString>;
35209
+ type: z.ZodEnum<{
35210
+ title: "title";
35211
+ }>;
35246
35212
  text: z.ZodString;
35247
35213
  style: z.ZodOptional<z.ZodEnum<{
35248
35214
  minimal: "minimal";
@@ -35362,10 +35328,10 @@ export declare const putTemplateRequest: z.ZodObject<{
35362
35328
  }>>;
35363
35329
  }, z.core.$strip>>]>>;
35364
35330
  }, z.core.$strip>>;
35365
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
35366
- asset: z.ZodLiteral<"shapeasset_ShapeAsset">;
35367
35331
  }, z.core.$strip>, z.ZodObject<{
35368
- type: z.ZodDefault<z.ZodString>;
35332
+ type: z.ZodEnum<{
35333
+ shape: "shape";
35334
+ }>;
35369
35335
  shape: z.ZodEnum<{
35370
35336
  circle: "circle";
35371
35337
  rectangle: "rectangle";
@@ -35393,23 +35359,19 @@ export declare const putTemplateRequest: z.ZodObject<{
35393
35359
  length: z.ZodInt;
35394
35360
  thickness: z.ZodInt;
35395
35361
  }, z.core.$strip>>;
35396
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
35397
- asset: z.ZodLiteral<"texttoimageasset_TextToImageAsset">;
35398
35362
  }, z.core.$strip>, z.ZodObject<{
35399
35363
  type: z.ZodEnum<{
35400
35364
  "text-to-image": "text-to-image";
35401
35365
  }>;
35402
35366
  prompt: z.ZodString;
35403
- width: z.ZodInt;
35404
- height: z.ZodInt;
35367
+ width: z.ZodOptional<z.ZodInt>;
35368
+ height: z.ZodOptional<z.ZodInt>;
35405
35369
  crop: z.ZodOptional<z.ZodObject<{
35406
35370
  top: z.ZodOptional<z.ZodNumber>;
35407
35371
  bottom: z.ZodOptional<z.ZodNumber>;
35408
35372
  left: z.ZodOptional<z.ZodNumber>;
35409
35373
  right: z.ZodOptional<z.ZodNumber>;
35410
35374
  }, z.core.$strip>>;
35411
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
35412
- asset: z.ZodLiteral<"imagetovideoasset_ImageToVideoAsset">;
35413
35375
  }, z.core.$strip>, z.ZodObject<{
35414
35376
  type: z.ZodOptional<z.ZodEnum<{
35415
35377
  "image-to-video": "image-to-video";
@@ -35432,7 +35394,7 @@ export declare const putTemplateRequest: z.ZodObject<{
35432
35394
  left: z.ZodOptional<z.ZodNumber>;
35433
35395
  right: z.ZodOptional<z.ZodNumber>;
35434
35396
  }, z.core.$strip>>;
35435
- }, z.core.$strip>>]>;
35397
+ }, z.core.$strip>], "type">;
35436
35398
  start: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
35437
35399
  auto: "auto";
35438
35400
  }>]>;
@@ -35693,6 +35655,7 @@ export declare const putTemplateRequest: z.ZodObject<{
35693
35655
  }>>;
35694
35656
  filter: z.ZodOptional<z.ZodEnum<{
35695
35657
  blur: "blur";
35658
+ none: "none";
35696
35659
  boost: "boost";
35697
35660
  contrast: "contrast";
35698
35661
  darken: "darken";