@shotstack/schemas 1.4.2 → 1.4.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.
@@ -1026,10 +1026,9 @@
1026
1026
  },
1027
1027
  {
1028
1028
  "type": "string",
1029
- "description": "The start position using a [smart clip property](/docs/guide/architecting-an-application/smart-clips/). Set to `auto` to automatically play the clip after the previous clip finishes.",
1030
- "enum": [
1031
- "auto"
1032
- ]
1029
+ "description": "The start position using a [smart clip property](/docs/guide/architecting-an-application/smart-clips/). Set to `auto` to automatically play the clip after the previous clip finishes. Use `alias://clip-name` to inherit the start time from the referenced clip.",
1030
+ "pattern": "^(auto|alias://[A-Za-z0-9_-]+)$",
1031
+ "example": "auto"
1033
1032
  }
1034
1033
  ]
1035
1034
  },
@@ -1043,11 +1042,9 @@
1043
1042
  },
1044
1043
  {
1045
1044
  "type": "string",
1046
- "description": "The duration the Clip should play for using a [smart clip property](/docs/guide/architecting-an-application/smart-clips/). Set to `auto` to play the Clip for the duration of the asset. Set to `end` to display or play the clip to the end of the timeline.",
1047
- "enum": [
1048
- "auto",
1049
- "end"
1050
- ]
1045
+ "description": "The duration the Clip should play for using a [smart clip property](/docs/guide/architecting-an-application/smart-clips/). Set to `auto` to play the Clip for the duration of the asset. Set to `end` to display or play the clip to the end of the timeline. Use `alias://clip-name` to inherit the length from the referenced clip.",
1046
+ "pattern": "^(auto|end|alias://[A-Za-z0-9_-]+)$",
1047
+ "example": "auto"
1051
1048
  }
1052
1049
  ]
1053
1050
  },
@@ -1811,7 +1808,7 @@
1811
1808
  "type": "string"
1812
1809
  },
1813
1810
  "src": {
1814
- "description": "The URL to an SRT or VTT subtitles file. The URL must be publicly accessible or include credentials.",
1811
+ "description": "The URL to an SRT or VTT subtitles file, or an alias reference to auto-generate captions from an audio or video clip. For file URLs, the URL must be publicly accessible or include credentials. For auto-captioning, use the format `alias://clip-name` where clip-name is the alias of an audio, video, or text-to-speech clip. The system will automatically transcribe the audio and detect the language.",
1815
1812
  "type": "string",
1816
1813
  "example": "https://s3-ap-northeast-1.amazonaws.com/my-bucket/captions.srt"
1817
1814
  },
@@ -1828,7 +1825,7 @@
1828
1825
  "$ref": "#/components/schemas/CaptionMargin"
1829
1826
  },
1830
1827
  "trim": {
1831
- "description": "The start trim point of the captions, in seconds (defaults to 0). Remove the trim length from teh start of the captions and allow it to be synced with video or audio. The captions will play until the file ends or the Clip length is reached.",
1828
+ "description": "The start trim point of the captions, in seconds (defaults to 0). Remove the trim length from the start of the captions and allow it to be synced with video or audio. The captions will play until the file ends or the Clip length is reached.",
1832
1829
  "type": "number",
1833
1830
  "example": 2
1834
1831
  },
@@ -3746,11 +3743,12 @@
3746
3743
  "type": "object"
3747
3744
  },
3748
3745
  "ChromaKey": {
3749
- "description": "Chroma key, commonly known as green screen, is a technique that replaces a specific color in a video with a different background image or video, enabling seamless integration of diverse environments.",
3746
+ "description": "Chroma key is a technique that replaces a specific color in a video with a different background image or video, enabling seamless integration of diverse environments. Commonly used for green screen and blue screen effects.",
3750
3747
  "properties": {
3751
3748
  "color": {
3752
- "description": "The chroma key color as a hex value. For a green screen, use a green hex value.",
3749
+ "description": "The chroma key color as a hex value. Use green (#00b140) for green screens or blue (#0000FF) for blue screens. Any valid hex color can be used as the key color.",
3753
3750
  "type": "string",
3751
+ "pattern": "^#[0-9a-fA-F]{6}$",
3754
3752
  "example": "#00b140"
3755
3753
  },
3756
3754
  "threshold": {
@@ -3768,6 +3766,9 @@
3768
3766
  "example": 100
3769
3767
  }
3770
3768
  },
3769
+ "required": [
3770
+ "color"
3771
+ ],
3771
3772
  "type": "object"
3772
3773
  },
3773
3774
  "Tween": {
package/dist/schema.d.ts CHANGED
@@ -498,9 +498,9 @@ export interface components {
498
498
  Clip: {
499
499
  asset: components["schemas"]["Asset"];
500
500
  /** @description The start position of the Clip on the timeline. */
501
- start: number | "auto";
501
+ start: number | string;
502
502
  /** @description The duration the Clip should play for. */
503
- length: number | ("auto" | "end");
503
+ length: number | string;
504
504
  /**
505
505
  * @description Set how the asset should be scaled to fit the viewport using one of the following options:
506
506
  * <ul>
@@ -942,7 +942,7 @@ export interface components {
942
942
  */
943
943
  type: "caption";
944
944
  /**
945
- * @description The URL to an SRT or VTT subtitles file. The URL must be publicly accessible or include credentials.
945
+ * @description The URL to an SRT or VTT subtitles file, or an alias reference to auto-generate captions from an audio or video clip. For file URLs, the URL must be publicly accessible or include credentials. For auto-captioning, use the format `alias://clip-name` where clip-name is the alias of an audio, video, or text-to-speech clip. The system will automatically transcribe the audio and detect the language.
946
946
  * @example https://s3-ap-northeast-1.amazonaws.com/my-bucket/captions.srt
947
947
  */
948
948
  src: string;
@@ -953,7 +953,7 @@ export interface components {
953
953
  /** @description Margin properties. */
954
954
  margin?: components["schemas"]["CaptionMargin"];
955
955
  /**
956
- * @description The start trim point of the captions, in seconds (defaults to 0). Remove the trim length from teh start of the captions and allow it to be synced with video or audio. The captions will play until the file ends or the Clip length is reached.
956
+ * @description The start trim point of the captions, in seconds (defaults to 0). Remove the trim length from the start of the captions and allow it to be synced with video or audio. The captions will play until the file ends or the Clip length is reached.
957
957
  * @example 2
958
958
  */
959
959
  trim?: number;
@@ -2344,13 +2344,13 @@ export interface components {
2344
2344
  */
2345
2345
  right?: number;
2346
2346
  };
2347
- /** @description Chroma key, commonly known as green screen, is a technique that replaces a specific color in a video with a different background image or video, enabling seamless integration of diverse environments. */
2347
+ /** @description Chroma key is a technique that replaces a specific color in a video with a different background image or video, enabling seamless integration of diverse environments. Commonly used for green screen and blue screen effects. */
2348
2348
  ChromaKey: {
2349
2349
  /**
2350
- * @description The chroma key color as a hex value. For a green screen, use a green hex value.
2350
+ * @description The chroma key color as a hex value. Use green (#00b140) for green screens or blue (#0000FF) for blue screens. Any valid hex color can be used as the key color.
2351
2351
  * @example #00b140
2352
2352
  */
2353
- color?: string;
2353
+ color: string;
2354
2354
  /**
2355
2355
  * @description Pixels within this distance from the key color are eliminated by setting their alpha values to zero.
2356
2356
  * @example 150
@@ -117,10 +117,10 @@ exports.captionassetCaptionAssetSchema = zod_1.z.object({
117
117
  });
118
118
  exports.captionAssetSchema = exports.captionassetCaptionAssetSchema;
119
119
  /**
120
- * Chroma key, commonly known as green screen, is a technique that replaces a specific color in a video with a different background image or video, enabling seamless integration of diverse environments.
120
+ * Chroma key is a technique that replaces a specific color in a video with a different background image or video, enabling seamless integration of diverse environments. Commonly used for green screen and blue screen effects.
121
121
  */
122
122
  exports.chromakeyChromaKeySchema = zod_1.z.object({
123
- color: zod_1.z.optional(zod_1.z.string()),
123
+ color: zod_1.z.string().regex(/^#[0-9a-fA-F]{6}$/),
124
124
  threshold: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
125
125
  return undefined; if (Array.isArray(v))
126
126
  return v; if (typeof v === 'string')
@@ -2864,15 +2864,14 @@ exports.clipClipSchema = zod_1.z.object({
2864
2864
  return undefined; if (Array.isArray(v))
2865
2865
  return v; if (typeof v === 'string')
2866
2866
  return Number(v); return v; }), zod_1.z.number()),
2867
- zod_1.z.enum(['auto'])
2867
+ zod_1.z.string().regex(/^(auto|alias:\/\/[A-Za-z0-9_-]+)$/)
2868
2868
  ]),
2869
2869
  length: zod_1.z.union([
2870
2870
  zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2871
2871
  return undefined; if (Array.isArray(v))
2872
2872
  return v; if (typeof v === 'string')
2873
2873
  return Number(v); return v; }), zod_1.z.number()),
2874
- zod_1.z.literal('auto'),
2875
- zod_1.z.literal('end')
2874
+ zod_1.z.string().regex(/^(auto|end|alias:\/\/[A-Za-z0-9_-]+)$/)
2876
2875
  ]),
2877
2876
  fit: zod_1.z.optional(zod_1.z.enum([
2878
2877
  'cover',
@@ -133,15 +133,15 @@ export declare const captionAssetSchema: z.ZodObject<{
133
133
  speed: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
134
134
  }, z.core.$strip>;
135
135
  /**
136
- * Chroma key, commonly known as green screen, is a technique that replaces a specific color in a video with a different background image or video, enabling seamless integration of diverse environments.
136
+ * Chroma key is a technique that replaces a specific color in a video with a different background image or video, enabling seamless integration of diverse environments. Commonly used for green screen and blue screen effects.
137
137
  */
138
138
  export declare const chromakeyChromaKeySchema: z.ZodObject<{
139
- color: z.ZodOptional<z.ZodString>;
139
+ color: z.ZodString;
140
140
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
141
141
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
142
142
  }, z.core.$strip>;
143
143
  export declare const chromaKeySchema: z.ZodObject<{
144
- color: z.ZodOptional<z.ZodString>;
144
+ color: z.ZodString;
145
145
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
146
146
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
147
147
  }, z.core.$strip>;
@@ -10154,7 +10154,7 @@ export declare const videoassetVideoAssetSchema: z.ZodObject<{
10154
10154
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
10155
10155
  }, z.core.$strip>>;
10156
10156
  chromaKey: z.ZodOptional<z.ZodObject<{
10157
- color: z.ZodOptional<z.ZodString>;
10157
+ color: z.ZodString;
10158
10158
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
10159
10159
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
10160
10160
  }, z.core.$strip>>;
@@ -10221,7 +10221,7 @@ export declare const videoAssetSchema: z.ZodObject<{
10221
10221
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
10222
10222
  }, z.core.$strip>>;
10223
10223
  chromaKey: z.ZodOptional<z.ZodObject<{
10224
- color: z.ZodOptional<z.ZodString>;
10224
+ color: z.ZodString;
10225
10225
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
10226
10226
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
10227
10227
  }, z.core.$strip>>;
@@ -10291,7 +10291,7 @@ export declare const assetAssetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10291
10291
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
10292
10292
  }, z.core.$strip>>;
10293
10293
  chromaKey: z.ZodOptional<z.ZodObject<{
10294
- color: z.ZodOptional<z.ZodString>;
10294
+ color: z.ZodString;
10295
10295
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
10296
10296
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
10297
10297
  }, z.core.$strip>>;
@@ -10946,7 +10946,7 @@ export declare const assetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10946
10946
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
10947
10947
  }, z.core.$strip>>;
10948
10948
  chromaKey: z.ZodOptional<z.ZodObject<{
10949
- color: z.ZodOptional<z.ZodString>;
10949
+ color: z.ZodString;
10950
10950
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
10951
10951
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
10952
10952
  }, z.core.$strip>>;
@@ -11605,7 +11605,7 @@ export declare const clipClipSchema: z.ZodObject<{
11605
11605
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
11606
11606
  }, z.core.$strip>>;
11607
11607
  chromaKey: z.ZodOptional<z.ZodObject<{
11608
- color: z.ZodOptional<z.ZodString>;
11608
+ color: z.ZodString;
11609
11609
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
11610
11610
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
11611
11611
  }, z.core.$strip>>;
@@ -12198,10 +12198,8 @@ export declare const clipClipSchema: z.ZodObject<{
12198
12198
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
12199
12199
  }, z.core.$strip>>;
12200
12200
  }, z.core.$strip>], "type">;
12201
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
12202
- auto: "auto";
12203
- }>]>;
12204
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
12201
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
12202
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
12205
12203
  fit: z.ZodOptional<z.ZodEnum<{
12206
12204
  crop: "crop";
12207
12205
  none: "none";
@@ -12746,7 +12744,7 @@ export declare const clipSchema: z.ZodObject<{
12746
12744
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
12747
12745
  }, z.core.$strip>>;
12748
12746
  chromaKey: z.ZodOptional<z.ZodObject<{
12749
- color: z.ZodOptional<z.ZodString>;
12747
+ color: z.ZodString;
12750
12748
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
12751
12749
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
12752
12750
  }, z.core.$strip>>;
@@ -13339,10 +13337,8 @@ export declare const clipSchema: z.ZodObject<{
13339
13337
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
13340
13338
  }, z.core.$strip>>;
13341
13339
  }, z.core.$strip>], "type">;
13342
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
13343
- auto: "auto";
13344
- }>]>;
13345
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
13340
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
13341
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
13346
13342
  fit: z.ZodOptional<z.ZodEnum<{
13347
13343
  crop: "crop";
13348
13344
  none: "none";
@@ -13891,7 +13887,7 @@ export declare const trackTrackSchema: z.ZodObject<{
13891
13887
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
13892
13888
  }, z.core.$strip>>;
13893
13889
  chromaKey: z.ZodOptional<z.ZodObject<{
13894
- color: z.ZodOptional<z.ZodString>;
13890
+ color: z.ZodString;
13895
13891
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
13896
13892
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
13897
13893
  }, z.core.$strip>>;
@@ -14484,10 +14480,8 @@ export declare const trackTrackSchema: z.ZodObject<{
14484
14480
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
14485
14481
  }, z.core.$strip>>;
14486
14482
  }, z.core.$strip>], "type">;
14487
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
14488
- auto: "auto";
14489
- }>]>;
14490
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
14483
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
14484
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
14491
14485
  fit: z.ZodOptional<z.ZodEnum<{
14492
14486
  crop: "crop";
14493
14487
  none: "none";
@@ -15034,7 +15028,7 @@ export declare const trackSchema: z.ZodObject<{
15034
15028
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
15035
15029
  }, z.core.$strip>>;
15036
15030
  chromaKey: z.ZodOptional<z.ZodObject<{
15037
- color: z.ZodOptional<z.ZodString>;
15031
+ color: z.ZodString;
15038
15032
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
15039
15033
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
15040
15034
  }, z.core.$strip>>;
@@ -15627,10 +15621,8 @@ export declare const trackSchema: z.ZodObject<{
15627
15621
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
15628
15622
  }, z.core.$strip>>;
15629
15623
  }, z.core.$strip>], "type">;
15630
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
15631
- auto: "auto";
15632
- }>]>;
15633
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
15624
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
15625
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
15634
15626
  fit: z.ZodOptional<z.ZodEnum<{
15635
15627
  crop: "crop";
15636
15628
  none: "none";
@@ -16194,7 +16186,7 @@ export declare const timelineTimelineSchema: z.ZodObject<{
16194
16186
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
16195
16187
  }, z.core.$strip>>;
16196
16188
  chromaKey: z.ZodOptional<z.ZodObject<{
16197
- color: z.ZodOptional<z.ZodString>;
16189
+ color: z.ZodString;
16198
16190
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
16199
16191
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
16200
16192
  }, z.core.$strip>>;
@@ -16787,10 +16779,8 @@ export declare const timelineTimelineSchema: z.ZodObject<{
16787
16779
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
16788
16780
  }, z.core.$strip>>;
16789
16781
  }, z.core.$strip>], "type">;
16790
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
16791
- auto: "auto";
16792
- }>]>;
16793
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
16782
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
16783
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
16794
16784
  fit: z.ZodOptional<z.ZodEnum<{
16795
16785
  crop: "crop";
16796
16786
  none: "none";
@@ -17353,7 +17343,7 @@ export declare const timelineSchema: z.ZodObject<{
17353
17343
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
17354
17344
  }, z.core.$strip>>;
17355
17345
  chromaKey: z.ZodOptional<z.ZodObject<{
17356
- color: z.ZodOptional<z.ZodString>;
17346
+ color: z.ZodString;
17357
17347
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
17358
17348
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
17359
17349
  }, z.core.$strip>>;
@@ -17946,10 +17936,8 @@ export declare const timelineSchema: z.ZodObject<{
17946
17936
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
17947
17937
  }, z.core.$strip>>;
17948
17938
  }, z.core.$strip>], "type">;
17949
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
17950
- auto: "auto";
17951
- }>]>;
17952
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
17939
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
17940
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
17953
17941
  fit: z.ZodOptional<z.ZodEnum<{
17954
17942
  crop: "crop";
17955
17943
  none: "none";
@@ -18516,7 +18504,7 @@ export declare const editEditSchema: z.ZodObject<{
18516
18504
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
18517
18505
  }, z.core.$strip>>;
18518
18506
  chromaKey: z.ZodOptional<z.ZodObject<{
18519
- color: z.ZodOptional<z.ZodString>;
18507
+ color: z.ZodString;
18520
18508
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
18521
18509
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
18522
18510
  }, z.core.$strip>>;
@@ -19109,10 +19097,8 @@ export declare const editEditSchema: z.ZodObject<{
19109
19097
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
19110
19098
  }, z.core.$strip>>;
19111
19099
  }, z.core.$strip>], "type">;
19112
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
19113
- auto: "auto";
19114
- }>]>;
19115
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
19100
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
19101
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
19116
19102
  fit: z.ZodOptional<z.ZodEnum<{
19117
19103
  crop: "crop";
19118
19104
  none: "none";
@@ -19832,7 +19818,7 @@ export declare const editSchema: z.ZodObject<{
19832
19818
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
19833
19819
  }, z.core.$strip>>;
19834
19820
  chromaKey: z.ZodOptional<z.ZodObject<{
19835
- color: z.ZodOptional<z.ZodString>;
19821
+ color: z.ZodString;
19836
19822
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
19837
19823
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
19838
19824
  }, z.core.$strip>>;
@@ -20425,10 +20411,8 @@ export declare const editSchema: z.ZodObject<{
20425
20411
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
20426
20412
  }, z.core.$strip>>;
20427
20413
  }, z.core.$strip>], "type">;
20428
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
20429
- auto: "auto";
20430
- }>]>;
20431
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
20414
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
20415
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
20432
20416
  fit: z.ZodOptional<z.ZodEnum<{
20433
20417
  crop: "crop";
20434
20418
  none: "none";
@@ -21170,7 +21154,7 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
21170
21154
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
21171
21155
  }, z.core.$strip>>;
21172
21156
  chromaKey: z.ZodOptional<z.ZodObject<{
21173
- color: z.ZodOptional<z.ZodString>;
21157
+ color: z.ZodString;
21174
21158
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
21175
21159
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
21176
21160
  }, z.core.$strip>>;
@@ -21763,10 +21747,8 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
21763
21747
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
21764
21748
  }, z.core.$strip>>;
21765
21749
  }, z.core.$strip>], "type">;
21766
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
21767
- auto: "auto";
21768
- }>]>;
21769
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
21750
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
21751
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
21770
21752
  fit: z.ZodOptional<z.ZodEnum<{
21771
21753
  crop: "crop";
21772
21754
  none: "none";
@@ -22508,7 +22490,7 @@ export declare const renderResponseDataSchema: z.ZodObject<{
22508
22490
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
22509
22491
  }, z.core.$strip>>;
22510
22492
  chromaKey: z.ZodOptional<z.ZodObject<{
22511
- color: z.ZodOptional<z.ZodString>;
22493
+ color: z.ZodString;
22512
22494
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
22513
22495
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
22514
22496
  }, z.core.$strip>>;
@@ -23101,10 +23083,8 @@ export declare const renderResponseDataSchema: z.ZodObject<{
23101
23083
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
23102
23084
  }, z.core.$strip>>;
23103
23085
  }, z.core.$strip>], "type">;
23104
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
23105
- auto: "auto";
23106
- }>]>;
23107
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
23086
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
23087
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
23108
23088
  fit: z.ZodOptional<z.ZodEnum<{
23109
23089
  crop: "crop";
23110
23090
  none: "none";
@@ -23852,7 +23832,7 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
23852
23832
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
23853
23833
  }, z.core.$strip>>;
23854
23834
  chromaKey: z.ZodOptional<z.ZodObject<{
23855
- color: z.ZodOptional<z.ZodString>;
23835
+ color: z.ZodString;
23856
23836
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
23857
23837
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
23858
23838
  }, z.core.$strip>>;
@@ -24445,10 +24425,8 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
24445
24425
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
24446
24426
  }, z.core.$strip>>;
24447
24427
  }, z.core.$strip>], "type">;
24448
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
24449
- auto: "auto";
24450
- }>]>;
24451
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
24428
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
24429
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
24452
24430
  fit: z.ZodOptional<z.ZodEnum<{
24453
24431
  crop: "crop";
24454
24432
  none: "none";
@@ -25194,7 +25172,7 @@ export declare const renderResponseSchema: z.ZodObject<{
25194
25172
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
25195
25173
  }, z.core.$strip>>;
25196
25174
  chromaKey: z.ZodOptional<z.ZodObject<{
25197
- color: z.ZodOptional<z.ZodString>;
25175
+ color: z.ZodString;
25198
25176
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
25199
25177
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
25200
25178
  }, z.core.$strip>>;
@@ -25787,10 +25765,8 @@ export declare const renderResponseSchema: z.ZodObject<{
25787
25765
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
25788
25766
  }, z.core.$strip>>;
25789
25767
  }, z.core.$strip>], "type">;
25790
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
25791
- auto: "auto";
25792
- }>]>;
25793
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
25768
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
25769
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
25794
25770
  fit: z.ZodOptional<z.ZodEnum<{
25795
25771
  crop: "crop";
25796
25772
  none: "none";
@@ -26521,7 +26497,7 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
26521
26497
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
26522
26498
  }, z.core.$strip>>;
26523
26499
  chromaKey: z.ZodOptional<z.ZodObject<{
26524
- color: z.ZodOptional<z.ZodString>;
26500
+ color: z.ZodString;
26525
26501
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
26526
26502
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
26527
26503
  }, z.core.$strip>>;
@@ -27114,10 +27090,8 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
27114
27090
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
27115
27091
  }, z.core.$strip>>;
27116
27092
  }, z.core.$strip>], "type">;
27117
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
27118
- auto: "auto";
27119
- }>]>;
27120
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
27093
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
27094
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
27121
27095
  fit: z.ZodOptional<z.ZodEnum<{
27122
27096
  crop: "crop";
27123
27097
  none: "none";
@@ -27842,7 +27816,7 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
27842
27816
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
27843
27817
  }, z.core.$strip>>;
27844
27818
  chromaKey: z.ZodOptional<z.ZodObject<{
27845
- color: z.ZodOptional<z.ZodString>;
27819
+ color: z.ZodString;
27846
27820
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
27847
27821
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
27848
27822
  }, z.core.$strip>>;
@@ -28435,10 +28409,8 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
28435
28409
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
28436
28410
  }, z.core.$strip>>;
28437
28411
  }, z.core.$strip>], "type">;
28438
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
28439
- auto: "auto";
28440
- }>]>;
28441
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
28412
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
28413
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
28442
28414
  fit: z.ZodOptional<z.ZodEnum<{
28443
28415
  crop: "crop";
28444
28416
  none: "none";
@@ -29169,7 +29141,7 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
29169
29141
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
29170
29142
  }, z.core.$strip>>;
29171
29143
  chromaKey: z.ZodOptional<z.ZodObject<{
29172
- color: z.ZodOptional<z.ZodString>;
29144
+ color: z.ZodString;
29173
29145
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
29174
29146
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
29175
29147
  }, z.core.$strip>>;
@@ -29762,10 +29734,8 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
29762
29734
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
29763
29735
  }, z.core.$strip>>;
29764
29736
  }, z.core.$strip>], "type">;
29765
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
29766
- auto: "auto";
29767
- }>]>;
29768
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
29737
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
29738
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
29769
29739
  fit: z.ZodOptional<z.ZodEnum<{
29770
29740
  crop: "crop";
29771
29741
  none: "none";
@@ -30494,7 +30464,7 @@ export declare const templateDataResponseSchema: z.ZodObject<{
30494
30464
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
30495
30465
  }, z.core.$strip>>;
30496
30466
  chromaKey: z.ZodOptional<z.ZodObject<{
30497
- color: z.ZodOptional<z.ZodString>;
30467
+ color: z.ZodString;
30498
30468
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
30499
30469
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
30500
30470
  }, z.core.$strip>>;
@@ -31087,10 +31057,8 @@ export declare const templateDataResponseSchema: z.ZodObject<{
31087
31057
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
31088
31058
  }, z.core.$strip>>;
31089
31059
  }, z.core.$strip>], "type">;
31090
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
31091
- auto: "auto";
31092
- }>]>;
31093
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
31060
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
31061
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
31094
31062
  fit: z.ZodOptional<z.ZodEnum<{
31095
31063
  crop: "crop";
31096
31064
  none: "none";
@@ -31817,7 +31785,7 @@ export declare const templateTemplateSchema: z.ZodObject<{
31817
31785
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
31818
31786
  }, z.core.$strip>>;
31819
31787
  chromaKey: z.ZodOptional<z.ZodObject<{
31820
- color: z.ZodOptional<z.ZodString>;
31788
+ color: z.ZodString;
31821
31789
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
31822
31790
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
31823
31791
  }, z.core.$strip>>;
@@ -32410,10 +32378,8 @@ export declare const templateTemplateSchema: z.ZodObject<{
32410
32378
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
32411
32379
  }, z.core.$strip>>;
32412
32380
  }, z.core.$strip>], "type">;
32413
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
32414
- auto: "auto";
32415
- }>]>;
32416
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
32381
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
32382
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
32417
32383
  fit: z.ZodOptional<z.ZodEnum<{
32418
32384
  crop: "crop";
32419
32385
  none: "none";
@@ -33136,7 +33102,7 @@ export declare const templateSchema: z.ZodObject<{
33136
33102
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
33137
33103
  }, z.core.$strip>>;
33138
33104
  chromaKey: z.ZodOptional<z.ZodObject<{
33139
- color: z.ZodOptional<z.ZodString>;
33105
+ color: z.ZodString;
33140
33106
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
33141
33107
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
33142
33108
  }, z.core.$strip>>;
@@ -33729,10 +33695,8 @@ export declare const templateSchema: z.ZodObject<{
33729
33695
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
33730
33696
  }, z.core.$strip>>;
33731
33697
  }, z.core.$strip>], "type">;
33732
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
33733
- auto: "auto";
33734
- }>]>;
33735
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
33698
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
33699
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
33736
33700
  fit: z.ZodOptional<z.ZodEnum<{
33737
33701
  crop: "crop";
33738
33702
  none: "none";
@@ -34454,7 +34418,7 @@ export declare const postRenderRequest: z.ZodObject<{
34454
34418
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
34455
34419
  }, z.core.$strip>>;
34456
34420
  chromaKey: z.ZodOptional<z.ZodObject<{
34457
- color: z.ZodOptional<z.ZodString>;
34421
+ color: z.ZodString;
34458
34422
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
34459
34423
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
34460
34424
  }, z.core.$strip>>;
@@ -35047,10 +35011,8 @@ export declare const postRenderRequest: z.ZodObject<{
35047
35011
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
35048
35012
  }, z.core.$strip>>;
35049
35013
  }, z.core.$strip>], "type">;
35050
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
35051
- auto: "auto";
35052
- }>]>;
35053
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
35014
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
35015
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
35054
35016
  fit: z.ZodOptional<z.ZodEnum<{
35055
35017
  crop: "crop";
35056
35018
  none: "none";
@@ -35819,7 +35781,7 @@ export declare const getRenderResponse: z.ZodObject<{
35819
35781
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
35820
35782
  }, z.core.$strip>>;
35821
35783
  chromaKey: z.ZodOptional<z.ZodObject<{
35822
- color: z.ZodOptional<z.ZodString>;
35784
+ color: z.ZodString;
35823
35785
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
35824
35786
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
35825
35787
  }, z.core.$strip>>;
@@ -36412,10 +36374,8 @@ export declare const getRenderResponse: z.ZodObject<{
36412
36374
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
36413
36375
  }, z.core.$strip>>;
36414
36376
  }, z.core.$strip>], "type">;
36415
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
36416
- auto: "auto";
36417
- }>]>;
36418
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
36377
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
36378
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
36419
36379
  fit: z.ZodOptional<z.ZodEnum<{
36420
36380
  crop: "crop";
36421
36381
  none: "none";
@@ -37163,7 +37123,7 @@ export declare const postTemplateRequest: z.ZodObject<{
37163
37123
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
37164
37124
  }, z.core.$strip>>;
37165
37125
  chromaKey: z.ZodOptional<z.ZodObject<{
37166
- color: z.ZodOptional<z.ZodString>;
37126
+ color: z.ZodString;
37167
37127
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
37168
37128
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
37169
37129
  }, z.core.$strip>>;
@@ -37756,10 +37716,8 @@ export declare const postTemplateRequest: z.ZodObject<{
37756
37716
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
37757
37717
  }, z.core.$strip>>;
37758
37718
  }, z.core.$strip>], "type">;
37759
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
37760
- auto: "auto";
37761
- }>]>;
37762
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
37719
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
37720
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
37763
37721
  fit: z.ZodOptional<z.ZodEnum<{
37764
37722
  crop: "crop";
37765
37723
  none: "none";
@@ -38522,7 +38480,7 @@ export declare const getTemplateResponse: z.ZodObject<{
38522
38480
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
38523
38481
  }, z.core.$strip>>;
38524
38482
  chromaKey: z.ZodOptional<z.ZodObject<{
38525
- color: z.ZodOptional<z.ZodString>;
38483
+ color: z.ZodString;
38526
38484
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
38527
38485
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
38528
38486
  }, z.core.$strip>>;
@@ -39115,10 +39073,8 @@ export declare const getTemplateResponse: z.ZodObject<{
39115
39073
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
39116
39074
  }, z.core.$strip>>;
39117
39075
  }, z.core.$strip>], "type">;
39118
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
39119
- auto: "auto";
39120
- }>]>;
39121
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
39076
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
39077
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
39122
39078
  fit: z.ZodOptional<z.ZodEnum<{
39123
39079
  crop: "crop";
39124
39080
  none: "none";
@@ -39843,7 +39799,7 @@ export declare const putTemplateRequest: z.ZodObject<{
39843
39799
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
39844
39800
  }, z.core.$strip>>;
39845
39801
  chromaKey: z.ZodOptional<z.ZodObject<{
39846
- color: z.ZodOptional<z.ZodString>;
39802
+ color: z.ZodString;
39847
39803
  threshold: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
39848
39804
  halo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
39849
39805
  }, z.core.$strip>>;
@@ -40436,10 +40392,8 @@ export declare const putTemplateRequest: z.ZodObject<{
40436
40392
  right: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>>;
40437
40393
  }, z.core.$strip>>;
40438
40394
  }, z.core.$strip>], "type">;
40439
- start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodEnum<{
40440
- auto: "auto";
40441
- }>]>;
40442
- length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodLiteral<"auto">, z.ZodLiteral<"end">]>;
40395
+ start: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
40396
+ length: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
40443
40397
  fit: z.ZodOptional<z.ZodEnum<{
40444
40398
  crop: "crop";
40445
40399
  none: "none";
@@ -107,10 +107,10 @@ export const captionassetCaptionAssetSchema = z.object({
107
107
  });
108
108
  export const captionAssetSchema = captionassetCaptionAssetSchema;
109
109
  /**
110
- * Chroma key, commonly known as green screen, is a technique that replaces a specific color in a video with a different background image or video, enabling seamless integration of diverse environments.
110
+ * Chroma key is a technique that replaces a specific color in a video with a different background image or video, enabling seamless integration of diverse environments. Commonly used for green screen and blue screen effects.
111
111
  */
112
112
  export const chromakeyChromaKeySchema = z.object({
113
- color: z.optional(z.string()),
113
+ color: z.string().regex(/^#[0-9a-fA-F]{6}$/),
114
114
  threshold: z.optional(z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
115
115
  return undefined; if (Array.isArray(v))
116
116
  return v; if (typeof v === 'string')
@@ -2854,15 +2854,14 @@ export const clipClipSchema = z.object({
2854
2854
  return undefined; if (Array.isArray(v))
2855
2855
  return v; if (typeof v === 'string')
2856
2856
  return Number(v); return v; }), z.number()),
2857
- z.enum(['auto'])
2857
+ z.string().regex(/^(auto|alias:\/\/[A-Za-z0-9_-]+)$/)
2858
2858
  ]),
2859
2859
  length: z.union([
2860
2860
  z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2861
2861
  return undefined; if (Array.isArray(v))
2862
2862
  return v; if (typeof v === 'string')
2863
2863
  return Number(v); return v; }), z.number()),
2864
- z.literal('auto'),
2865
- z.literal('end')
2864
+ z.string().regex(/^(auto|end|alias:\/\/[A-Za-z0-9_-]+)$/)
2866
2865
  ]),
2867
2866
  fit: z.optional(z.enum([
2868
2867
  'cover',
@@ -97,10 +97,10 @@ export const captionassetCaptionAssetSchema = z.object({
97
97
  export const captionAssetSchema = captionassetCaptionAssetSchema;
98
98
 
99
99
  /**
100
- * Chroma key, commonly known as green screen, is a technique that replaces a specific color in a video with a different background image or video, enabling seamless integration of diverse environments.
100
+ * Chroma key is a technique that replaces a specific color in a video with a different background image or video, enabling seamless integration of diverse environments. Commonly used for green screen and blue screen effects.
101
101
  */
102
102
  export const chromakeyChromaKeySchema = z.object({
103
- color: z.optional(z.string()),
103
+ color: z.string().regex(/^#[0-9a-fA-F]{6}$/),
104
104
  threshold: z.optional(z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), z.number().int().gte(0).lte(250))),
105
105
  halo: z.optional(z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), z.number().int().gte(0).lte(250)))
106
106
  });
@@ -2689,12 +2689,11 @@ export const clipClipSchema = z.object({
2689
2689
  asset: assetAssetSchema,
2690
2690
  start: z.union([
2691
2691
  z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), z.number()),
2692
- z.enum(['auto'])
2692
+ z.string().regex(/^(auto|alias:\/\/[A-Za-z0-9_-]+)$/)
2693
2693
  ]),
2694
2694
  length: z.union([
2695
2695
  z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), z.number()),
2696
- z.literal('auto'),
2697
- z.literal('end')
2696
+ z.string().regex(/^(auto|end|alias:\/\/[A-Za-z0-9_-]+)$/)
2698
2697
  ]),
2699
2698
  fit: z.optional(z.enum([
2700
2699
  'cover',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shotstack/schemas",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "Centralized OpenAPI schemas and TypeScript types for Shotstack API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",