@shotstack/schemas 1.1.2 → 1.3.0
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.
- package/dist/api.bundled.json +241 -7
- package/dist/schema.d.ts +170 -10
- package/dist/zod/zod.gen.cjs +80 -12
- package/dist/zod/zod.gen.d.ts +1409 -8
- package/dist/zod/zod.gen.js +75 -7
- package/dist/zod/zod.gen.ts +91 -7
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -513,10 +513,20 @@ export interface components {
|
|
|
513
513
|
*/
|
|
514
514
|
fit?: "cover" | "contain" | "crop" | "none";
|
|
515
515
|
/**
|
|
516
|
-
* @description Scale the asset to a fraction of the viewport size - i.e. setting the scale to 0.5 will scale asset to half the size of the viewport. This is useful for picture-in-picture video and
|
|
516
|
+
* @description Scale the asset to a fraction of the viewport size - i.e. setting the scale to 0.5 will scale asset to half the size of the viewport. This is useful for picture-in-picture video and scaling images such as logos and watermarks.
|
|
517
517
|
* @example 0
|
|
518
518
|
*/
|
|
519
519
|
scale?: number;
|
|
520
|
+
/**
|
|
521
|
+
* @description Set the width of the clip bounding box in pixels. This constrains the width of the clip, overriding the default behavior where clips fill the viewport width.
|
|
522
|
+
* @example 800
|
|
523
|
+
*/
|
|
524
|
+
width?: number;
|
|
525
|
+
/**
|
|
526
|
+
* @description Set the height of the clip bounding box in pixels. This constrains the height of the clip, overriding the default behavior where clips fill the viewport height.
|
|
527
|
+
* @example 600
|
|
528
|
+
*/
|
|
529
|
+
height?: number;
|
|
520
530
|
/**
|
|
521
531
|
* @description Place the asset in one of nine predefined positions of the viewport. This is most effective for when the asset is scaled and you want to position the element to a specific position. <ul>
|
|
522
532
|
* <li>`top` - top (center)</li>
|
|
@@ -566,6 +576,11 @@ export interface components {
|
|
|
566
576
|
opacity?: number | components["schemas"]["Tween"][];
|
|
567
577
|
/** @description A transformation lets you modify the visual properties of a clip. Available transformations are <b>rotate</b>, <b>skew</b> and <b>flip</b>. Transformations can be combined to create interesting new shapes and effects. */
|
|
568
578
|
transform?: components["schemas"]["Transformation"];
|
|
579
|
+
/**
|
|
580
|
+
* @description A unique identifier for this clip that can be used to reference it from other clips using the `alias://` protocol in asset sources. This is useful for features like auto-captioning where a caption asset needs to reference the audio from another clip.
|
|
581
|
+
* @example MY_VIDEO_CLIP
|
|
582
|
+
*/
|
|
583
|
+
alias?: string;
|
|
569
584
|
};
|
|
570
585
|
/** @description 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. */
|
|
571
586
|
Asset: components["schemas"]["VideoAsset"] | components["schemas"]["ImageAsset"] | components["schemas"]["TextAsset"] | components["schemas"]["RichTextAsset"] | components["schemas"]["AudioAsset"] | components["schemas"]["LumaAsset"] | components["schemas"]["CaptionAsset"] | components["schemas"]["HtmlAsset"] | components["schemas"]["TitleAsset"] | components["schemas"]["ShapeAsset"] | components["schemas"]["TextToImageAsset"] | components["schemas"]["ImageToVideoAsset"];
|
|
@@ -602,7 +617,7 @@ export interface components {
|
|
|
602
617
|
* </ul>
|
|
603
618
|
* @enum {string}
|
|
604
619
|
*/
|
|
605
|
-
volumeEffect?: "fadeIn" | "fadeOut" | "fadeInFadeOut";
|
|
620
|
+
volumeEffect?: "none" | "fadeIn" | "fadeOut" | "fadeInFadeOut";
|
|
606
621
|
/**
|
|
607
622
|
* Format: float
|
|
608
623
|
* @description Adjust the playback speed of the video clip between 0 (paused) and 10 (10x normal speed) where 1 is normal speed (defaults to 1). Adjusting the speed will also adjust the duration of the clip and may require you to adjust the Clip length. For example, if you set speed to 0.5, the clip will need to be 2x as long to play the entire video (i.e. original length / 0.5). If you set speed to 2, the clip will need to be half as long to play the entire video (i.e. original length / 2).
|
|
@@ -667,6 +682,40 @@ export interface components {
|
|
|
667
682
|
background?: components["schemas"]["TextBackground"];
|
|
668
683
|
/** @description Alignment properties. */
|
|
669
684
|
alignment?: components["schemas"]["TextAlignment"];
|
|
685
|
+
/** @description Text stroke (outline) properties. */
|
|
686
|
+
stroke?: {
|
|
687
|
+
/**
|
|
688
|
+
* @description The width of the stroke in pixels.
|
|
689
|
+
* @example 2
|
|
690
|
+
*/
|
|
691
|
+
width?: number;
|
|
692
|
+
/**
|
|
693
|
+
* @description The stroke color using hexadecimal color notation.
|
|
694
|
+
* @example #000000
|
|
695
|
+
*/
|
|
696
|
+
color?: string;
|
|
697
|
+
};
|
|
698
|
+
/** @description Animation properties for text entrance effects. */
|
|
699
|
+
animation?: {
|
|
700
|
+
/**
|
|
701
|
+
* @description The animation preset to apply. <ul>
|
|
702
|
+
* <li>`typewriter` - typewriter effect where characters appear one at a time</li>
|
|
703
|
+
* </ul>
|
|
704
|
+
* @example typewriter
|
|
705
|
+
* @enum {string}
|
|
706
|
+
*/
|
|
707
|
+
preset: "typewriter";
|
|
708
|
+
/**
|
|
709
|
+
* @description The duration of the animation in seconds.
|
|
710
|
+
* @example 2
|
|
711
|
+
*/
|
|
712
|
+
duration?: number;
|
|
713
|
+
};
|
|
714
|
+
/**
|
|
715
|
+
* @description The string to display when text overflows its bounding box. Set to an ellipsis character or custom string to indicate truncated text.
|
|
716
|
+
* @example ...
|
|
717
|
+
*/
|
|
718
|
+
ellipsis?: string;
|
|
670
719
|
/**
|
|
671
720
|
* @description discriminator enum property added by openapi-typescript
|
|
672
721
|
* @enum {string}
|
|
@@ -694,7 +743,7 @@ export interface components {
|
|
|
694
743
|
*/
|
|
695
744
|
width?: number;
|
|
696
745
|
/**
|
|
697
|
-
* @description Set the height of the rich text asset bounding box in pixels. Text and elements will be masked if they
|
|
746
|
+
* @description Set the height of the rich text asset bounding box in pixels. Text and elements will be masked if they exceed the height of the bounding box. Minimum 1px, maximum 4096px.
|
|
698
747
|
* @example 600
|
|
699
748
|
*/
|
|
700
749
|
height?: number;
|
|
@@ -708,6 +757,60 @@ export interface components {
|
|
|
708
757
|
shadow?: components["schemas"]["RichTextShadow"];
|
|
709
758
|
/** @description Background styling properties for the text bounding box. */
|
|
710
759
|
background?: components["schemas"]["RichTextBackground"];
|
|
760
|
+
/** @description Border styling properties for the text bounding box. */
|
|
761
|
+
border?: {
|
|
762
|
+
/**
|
|
763
|
+
* @description The width of the border in pixels. Must be 0 or greater.
|
|
764
|
+
* @default 0
|
|
765
|
+
* @example 2
|
|
766
|
+
*/
|
|
767
|
+
width: number;
|
|
768
|
+
/**
|
|
769
|
+
* @description The border color using hexadecimal color notation.
|
|
770
|
+
* @default #000000
|
|
771
|
+
* @example #ff0000
|
|
772
|
+
*/
|
|
773
|
+
color: string;
|
|
774
|
+
/**
|
|
775
|
+
* @description The opacity of the border where 1 is opaque and 0 is transparent.
|
|
776
|
+
* @default 1
|
|
777
|
+
* @example 0.8
|
|
778
|
+
*/
|
|
779
|
+
opacity: number;
|
|
780
|
+
/**
|
|
781
|
+
* @description The border radius in pixels for rounded corners. Must be 0 or greater.
|
|
782
|
+
* @default 0
|
|
783
|
+
* @example 10
|
|
784
|
+
*/
|
|
785
|
+
radius: number;
|
|
786
|
+
};
|
|
787
|
+
/** @description Padding inside the text bounding box. Can be a single number (applied to all sides) or an object with individual sides. */
|
|
788
|
+
padding?: number | {
|
|
789
|
+
/**
|
|
790
|
+
* @description Top padding in pixels.
|
|
791
|
+
* @default 0
|
|
792
|
+
* @example 10
|
|
793
|
+
*/
|
|
794
|
+
top: number;
|
|
795
|
+
/**
|
|
796
|
+
* @description Right padding in pixels.
|
|
797
|
+
* @default 0
|
|
798
|
+
* @example 10
|
|
799
|
+
*/
|
|
800
|
+
right: number;
|
|
801
|
+
/**
|
|
802
|
+
* @description Bottom padding in pixels.
|
|
803
|
+
* @default 0
|
|
804
|
+
* @example 10
|
|
805
|
+
*/
|
|
806
|
+
bottom: number;
|
|
807
|
+
/**
|
|
808
|
+
* @description Left padding in pixels.
|
|
809
|
+
* @default 0
|
|
810
|
+
* @example 10
|
|
811
|
+
*/
|
|
812
|
+
left: number;
|
|
813
|
+
};
|
|
711
814
|
/** @description Text alignment properties (horizontal and vertical). */
|
|
712
815
|
align?: components["schemas"]["RichTextAlignment"];
|
|
713
816
|
/** @description Animation properties for text entrance effects. */
|
|
@@ -748,7 +851,7 @@ export interface components {
|
|
|
748
851
|
* </ul>
|
|
749
852
|
* @enum {string}
|
|
750
853
|
*/
|
|
751
|
-
effect?: "fadeIn" | "fadeOut" | "fadeInFadeOut";
|
|
854
|
+
effect?: "none" | "fadeIn" | "fadeOut" | "fadeInFadeOut";
|
|
752
855
|
/**
|
|
753
856
|
* @description discriminator enum property added by openapi-typescript
|
|
754
857
|
* @enum {string}
|
|
@@ -1136,7 +1239,7 @@ export interface components {
|
|
|
1136
1239
|
* The transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`.
|
|
1137
1240
|
* @enum {string}
|
|
1138
1241
|
*/
|
|
1139
|
-
in?: "fade" | "fadeSlow" | "fadeFast" | "reveal" | "revealSlow" | "revealFast" | "wipeLeft" | "wipeLeftSlow" | "wipeLeftFast" | "wipeRight" | "wipeRightSlow" | "wipeRightFast" | "slideLeft" | "slideLeftSlow" | "slideLeftFast" | "slideRight" | "slideRightSlow" | "slideRightFast" | "slideUp" | "slideUpSlow" | "slideUpFast" | "slideDown" | "slideDownSlow" | "slideDownFast" | "carouselLeft" | "carouselLeftSlow" | "carouselLeftFast" | "carouselRight" | "carouselRightSlow" | "carouselRightFast" | "carouselUp" | "carouselUpSlow" | "carouselUpFast" | "carouselDown" | "carouselDownSlow" | "carouselDownFast" | "shuffleTopRight" | "shuffleTopRightSlow" | "shuffleTopRightFast" | "shuffleRightTop" | "shuffleRightTopSlow" | "shuffleRightTopFast" | "shuffleRightBottom" | "shuffleRightBottomSlow" | "shuffleRightBottomFast" | "shuffleBottomRight" | "shuffleBottomRightSlow" | "shuffleBottomRightFast" | "shuffleBottomLeft" | "shuffleBottomLeftSlow" | "shuffleBottomLeftFast" | "shuffleLeftBottom" | "shuffleLeftBottomSlow" | "shuffleLeftBottomFast" | "shuffleLeftTop" | "shuffleLeftTopSlow" | "shuffleLeftTopFast" | "shuffleTopLeft" | "shuffleTopLeftSlow" | "shuffleTopLeftFast" | "zoom";
|
|
1242
|
+
in?: "none" | "fade" | "fadeSlow" | "fadeFast" | "reveal" | "revealSlow" | "revealFast" | "wipeLeft" | "wipeLeftSlow" | "wipeLeftFast" | "wipeRight" | "wipeRightSlow" | "wipeRightFast" | "slideLeft" | "slideLeftSlow" | "slideLeftFast" | "slideRight" | "slideRightSlow" | "slideRightFast" | "slideUp" | "slideUpSlow" | "slideUpFast" | "slideDown" | "slideDownSlow" | "slideDownFast" | "carouselLeft" | "carouselLeftSlow" | "carouselLeftFast" | "carouselRight" | "carouselRightSlow" | "carouselRightFast" | "carouselUp" | "carouselUpSlow" | "carouselUpFast" | "carouselDown" | "carouselDownSlow" | "carouselDownFast" | "shuffleTopRight" | "shuffleTopRightSlow" | "shuffleTopRightFast" | "shuffleRightTop" | "shuffleRightTopSlow" | "shuffleRightTopFast" | "shuffleRightBottom" | "shuffleRightBottomSlow" | "shuffleRightBottomFast" | "shuffleBottomRight" | "shuffleBottomRightSlow" | "shuffleBottomRightFast" | "shuffleBottomLeft" | "shuffleBottomLeftSlow" | "shuffleBottomLeftFast" | "shuffleLeftBottom" | "shuffleLeftBottomSlow" | "shuffleLeftBottomFast" | "shuffleLeftTop" | "shuffleLeftTopSlow" | "shuffleLeftTopFast" | "shuffleTopLeft" | "shuffleTopLeftSlow" | "shuffleTopLeftFast" | "zoom";
|
|
1140
1243
|
/**
|
|
1141
1244
|
* @description The transition out. Available transitions are:
|
|
1142
1245
|
* <ul>
|
|
@@ -1165,7 +1268,7 @@ export interface components {
|
|
|
1165
1268
|
* The transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`.
|
|
1166
1269
|
* @enum {string}
|
|
1167
1270
|
*/
|
|
1168
|
-
out?: "fade" | "fadeSlow" | "fadeFast" | "reveal" | "revealSlow" | "revealFast" | "wipeLeft" | "wipeLeftSlow" | "wipeLeftFast" | "wipeRight" | "wipeRightSlow" | "wipeRightFast" | "slideLeft" | "slideLeftSlow" | "slideLeftFast" | "slideRight" | "slideRightSlow" | "slideRightFast" | "slideUp" | "slideUpSlow" | "slideUpFast" | "slideDown" | "slideDownSlow" | "slideDownFast" | "carouselLeft" | "carouselLeftSlow" | "carouselLeftFast" | "carouselRight" | "carouselRightSlow" | "carouselRightFast" | "carouselUp" | "carouselUpSlow" | "carouselUpFast" | "carouselDown" | "carouselDownSlow" | "carouselDownFast" | "shuffleTopRight" | "shuffleTopRightSlow" | "shuffleTopRightFast" | "shuffleRightTop" | "shuffleRightTopSlow" | "shuffleRightTopFast" | "shuffleRightBottom" | "shuffleRightBottomSlow" | "shuffleRightBottomFast" | "shuffleBottomRight" | "shuffleBottomRightSlow" | "shuffleBottomRightFast" | "shuffleBottomLeft" | "shuffleBottomLeftSlow" | "shuffleBottomLeftFast" | "shuffleLeftBottom" | "shuffleLeftBottomSlow" | "shuffleLeftBottomFast" | "shuffleLeftTop" | "shuffleLeftTopSlow" | "shuffleLeftTopFast" | "shuffleTopLeft" | "shuffleTopLeftSlow" | "shuffleTopLeftFast" | "zoom";
|
|
1271
|
+
out?: "none" | "fade" | "fadeSlow" | "fadeFast" | "reveal" | "revealSlow" | "revealFast" | "wipeLeft" | "wipeLeftSlow" | "wipeLeftFast" | "wipeRight" | "wipeRightSlow" | "wipeRightFast" | "slideLeft" | "slideLeftSlow" | "slideLeftFast" | "slideRight" | "slideRightSlow" | "slideRightFast" | "slideUp" | "slideUpSlow" | "slideUpFast" | "slideDown" | "slideDownSlow" | "slideDownFast" | "carouselLeft" | "carouselLeftSlow" | "carouselLeftFast" | "carouselRight" | "carouselRightSlow" | "carouselRightFast" | "carouselUp" | "carouselUpSlow" | "carouselUpFast" | "carouselDown" | "carouselDownSlow" | "carouselDownFast" | "shuffleTopRight" | "shuffleTopRightSlow" | "shuffleTopRightFast" | "shuffleRightTop" | "shuffleRightTopSlow" | "shuffleRightTopFast" | "shuffleRightBottom" | "shuffleRightBottomSlow" | "shuffleRightBottomFast" | "shuffleBottomRight" | "shuffleBottomRightSlow" | "shuffleBottomRightFast" | "shuffleBottomLeft" | "shuffleBottomLeftSlow" | "shuffleBottomLeftFast" | "shuffleLeftBottom" | "shuffleLeftBottomSlow" | "shuffleLeftBottomFast" | "shuffleLeftTop" | "shuffleLeftTopSlow" | "shuffleLeftTopFast" | "shuffleTopLeft" | "shuffleTopLeftSlow" | "shuffleTopLeftFast" | "zoom";
|
|
1169
1272
|
};
|
|
1170
1273
|
/** @description Offsets the position of an asset horizontally or vertically by a relative distance. */
|
|
1171
1274
|
Offset: {
|
|
@@ -1210,7 +1313,7 @@ export interface components {
|
|
|
1210
1313
|
/** @description Rotate a clip by the specified angle in degrees. Use a number or an array of [Tween](./#tocs_tween) objects to create a custom animation. */
|
|
1211
1314
|
angle?: number | components["schemas"]["Tween"][];
|
|
1212
1315
|
};
|
|
1213
|
-
/** @description Skew a clip so its edges are sheared at an angle. Use values between
|
|
1316
|
+
/** @description Skew a clip so its edges are sheared at an angle. Use values between -100 and 100. Values over 3 or under -3 will skew the clip almost flat. */
|
|
1214
1317
|
SkewTransformation: {
|
|
1215
1318
|
/** @description Skew the clip along it's x axis. */
|
|
1216
1319
|
x?: number | components["schemas"]["Tween"][];
|
|
@@ -1270,6 +1373,21 @@ export interface components {
|
|
|
1270
1373
|
* @example #000000
|
|
1271
1374
|
*/
|
|
1272
1375
|
color?: string;
|
|
1376
|
+
/**
|
|
1377
|
+
* @description The opacity of the background where 1 is opaque and 0 is transparent.
|
|
1378
|
+
* @example 0.8
|
|
1379
|
+
*/
|
|
1380
|
+
opacity?: number;
|
|
1381
|
+
/**
|
|
1382
|
+
* @description Padding inside the background box in pixels.
|
|
1383
|
+
* @example 10
|
|
1384
|
+
*/
|
|
1385
|
+
padding?: number;
|
|
1386
|
+
/**
|
|
1387
|
+
* @description The border radius of the background box in pixels for rounded corners.
|
|
1388
|
+
* @example 5
|
|
1389
|
+
*/
|
|
1390
|
+
borderRadius?: number;
|
|
1273
1391
|
};
|
|
1274
1392
|
/** @description Horizontal and vertical alignment properties for text. */
|
|
1275
1393
|
TextAlignment: {
|
|
@@ -1297,7 +1415,7 @@ export interface components {
|
|
|
1297
1415
|
/** @description Font properties for rich text. */
|
|
1298
1416
|
RichTextFont: {
|
|
1299
1417
|
/**
|
|
1300
|
-
* @description The font family name. This must be the Family name embedded in the font, i.e. "Open Sans".
|
|
1418
|
+
* @description The font family name. This must be the Family name embedded in the font, i.e. "Open Sans".
|
|
1301
1419
|
* @default Open Sans
|
|
1302
1420
|
* @example Open Sans
|
|
1303
1421
|
*/
|
|
@@ -1754,7 +1872,7 @@ export interface components {
|
|
|
1754
1872
|
* </ul>
|
|
1755
1873
|
* @enum {string}
|
|
1756
1874
|
*/
|
|
1757
|
-
scaleTo?: "preview" | "mobile" | "sd" | "hd" | "1080";
|
|
1875
|
+
scaleTo?: "preview" | "mobile" | "sd" | "hd" | "1080" | "4k";
|
|
1758
1876
|
/**
|
|
1759
1877
|
* @description Adjust the output quality of the video, image or audio. Adjusting quality affects render speed, download speeds and storage requirements due to file size. The default `medium` provides the most optimized choice for all three factors. <ul>
|
|
1760
1878
|
* <li>`verylow` - reduced quality, smallest file size</li>
|
|
@@ -1839,7 +1957,44 @@ export interface components {
|
|
|
1839
1957
|
*
|
|
1840
1958
|
* By default all ingested and generated assets are automatically sent to the [Shotstack hosting destination](https://shotstack.io/docs/guide/serving-assets/hosting/). You can [opt-out](https://shotstack.io/docs/guide/serving-assets/self-host/) from by setting the Shotstack destination **exclude** property to **true**.
|
|
1841
1959
|
*/
|
|
1842
|
-
Destinations: components["schemas"]["ShotstackDestination"] | components["schemas"]["MuxDestination"] | components["schemas"]["S3Destination"] | components["schemas"]["GoogleCloudStorageDestination"] | components["schemas"]["GoogleDriveDestination"] | components["schemas"]["VimeoDestination"]
|
|
1960
|
+
Destinations: components["schemas"]["ShotstackDestination"] | components["schemas"]["MuxDestination"] | components["schemas"]["S3Destination"] | components["schemas"]["GoogleCloudStorageDestination"] | components["schemas"]["GoogleDriveDestination"] | components["schemas"]["VimeoDestination"] | {
|
|
1961
|
+
/**
|
|
1962
|
+
* @description The destination to send video to - set to `tiktok` for TikTok.
|
|
1963
|
+
* @default tiktok
|
|
1964
|
+
* @example tiktok
|
|
1965
|
+
*/
|
|
1966
|
+
provider: string;
|
|
1967
|
+
/** @description Additional TikTok configuration options. */
|
|
1968
|
+
options?: {
|
|
1969
|
+
/** @description A title for the video that will be displayed on TikTok. */
|
|
1970
|
+
title?: string;
|
|
1971
|
+
/**
|
|
1972
|
+
* @description The privacy level for the video. Options are: <ul>
|
|
1973
|
+
* <li>`public` - video is visible to everyone</li>
|
|
1974
|
+
* <li>`friends` - video is visible to friends only</li>
|
|
1975
|
+
* <li>`private` - video is only visible to you</li>
|
|
1976
|
+
* </ul>
|
|
1977
|
+
* @default private
|
|
1978
|
+
* @enum {string}
|
|
1979
|
+
*/
|
|
1980
|
+
privacyLevel: "public" | "friends" | "private";
|
|
1981
|
+
/**
|
|
1982
|
+
* @description Disable the Duet feature for this video.
|
|
1983
|
+
* @default false
|
|
1984
|
+
*/
|
|
1985
|
+
disableDuet: boolean;
|
|
1986
|
+
/**
|
|
1987
|
+
* @description Disable the Stitch feature for this video.
|
|
1988
|
+
* @default false
|
|
1989
|
+
*/
|
|
1990
|
+
disableStitch: boolean;
|
|
1991
|
+
/**
|
|
1992
|
+
* @description Disable comments on this video.
|
|
1993
|
+
* @default false
|
|
1994
|
+
*/
|
|
1995
|
+
disableComment: boolean;
|
|
1996
|
+
};
|
|
1997
|
+
};
|
|
1843
1998
|
/** @description Send videos and assets to the [Shotstack hosting and CDN](https://shotstack.io/docs/guide/serving-assets/destinations/shotstack/) service. This destination is enabled by default. */
|
|
1844
1999
|
ShotstackDestination: {
|
|
1845
2000
|
/**
|
|
@@ -1983,6 +2138,11 @@ export interface components {
|
|
|
1983
2138
|
description?: string;
|
|
1984
2139
|
/** @description Options to control the visibility of videos and privacy features. */
|
|
1985
2140
|
privacy?: components["schemas"]["VimeoDestinationPrivacyOptions"];
|
|
2141
|
+
/**
|
|
2142
|
+
* @description The Vimeo folder URI to upload the video to. The folder must already exist in your Vimeo account.
|
|
2143
|
+
* @example /users/12345678/projects/87654321
|
|
2144
|
+
*/
|
|
2145
|
+
folderUri?: string;
|
|
1986
2146
|
};
|
|
1987
2147
|
/** @description Options to control the visibility of videos and privacy features. */
|
|
1988
2148
|
VimeoDestinationPrivacyOptions: {
|
package/dist/zod/zod.gen.cjs
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.openAiGeneratedAssetSchema = exports.openaiGeneratedAssetOpenAiGeneratedAssetSchema = exports.openAiGeneratedAssetOptionsSchema = exports.openaiGeneratedAssetOptionsOpenAiGeneratedAssetOptionsSchema = exports.openAiTextGeneratorOptionsSchema = exports.openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema = exports.heyGenGeneratedAssetSchema = exports.heygenGeneratedAssetHeyGenGeneratedAssetSchema = exports.heyGenGeneratedAssetOptionsSchema = exports.heygenGeneratedAssetOptionsHeyGenGeneratedAssetOptionsSchema = exports.heyGenTextToAvatarOptionsSchema = exports.heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema = exports.elevenLabsGeneratedAssetSchema = exports.elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema = exports.elevenLabsGeneratedAssetOptionsSchema = exports.elevenlabsGeneratedAssetOptionsElevenLabsGeneratedAssetOptionsSchema = exports.elevenLabsTextToSpeechOptionsSchema = exports.elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema = exports.didGeneratedAssetSchema = exports.didGeneratedAssetDidGeneratedAssetSchema = exports.didGeneratedAssetOptionsSchema = exports.didGeneratedAssetOptionsDidGeneratedAssetOptionsSchema = exports.didTextToAvatarOptionsSchema = exports.didTextToAvatarOptionsDidTextToAvatarOptionsSchema = exports.chromaKeySchema = exports.chromakeyChromaKeySchema = exports.captionAssetSchema = exports.captionassetCaptionAssetSchema = exports.captionMarginSchema = exports.captionpropertiesCaptionMarginSchema = exports.captionFontSchema = exports.captionpropertiesCaptionFontSchema = exports.captionBackgroundSchema = exports.captionpropertiesCaptionBackgroundSchema = exports.uploadRootSchema = exports.templatesrenderRootSchema = exports.templatesidRootSchema = exports.templatesRootSchema = exports.sourcesidRootSchema = exports.sourcesRootSchema = exports.renderidRootSchema = exports.renderRootSchema = exports.probeRootSchema = exports.generateassetidRootSchema = exports.generateassetRootSchema = exports.assetsrenderidRootSchema = exports.assetsidRootSchema = exports.assetsRootSchema = exports.sourceRootSchema = exports.editRootSchema = void 0;
|
|
5
5
|
exports.shotstackDestinationSchema = exports.shotstackDestinationShotstackDestinationSchema = exports.s3DestinationSchema = exports.s3DestinationS3DestinationSchema = exports.s3DestinationOptionsSchema = exports.s3DestinationOptionsS3DestinationOptionsSchema = exports.muxDestinationSchema = exports.muxDestinationMuxDestinationSchema = exports.muxDestinationOptionsSchema = exports.muxDestinationOptionsMuxDestinationOptionsSchema = exports.googleDriveDestinationSchema = exports.googleDriveDestinationGoogleDriveDestinationSchema = exports.googleDriveDestinationOptionsSchema = exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema = exports.googleCloudStorageDestinationSchema = exports.googleCloudStorageDestinationGoogleCloudStorageDestinationSchema = exports.googleCloudStorageDestinationOptionsSchema = exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema = exports.cropSchema = exports.cropCropSchema = exports.generatedAssetSchema = exports.generatedAssetGeneratedAssetSchema = exports.stabilityAiGeneratedAssetSchema = exports.stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema = exports.stabilityAiGeneratedAssetOptionsSchema = exports.stabilityAiGeneratedAssetOptionsStabilityAiGeneratedAssetOptionsSchema = exports.stabilityAiTextToImageOptionsSchema = exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema = exports.shotstackGeneratedAssetSchema = exports.shotstackGeneratedAssetShotstackGeneratedAssetSchema = exports.shotstackGeneratedAssetOptionsSchema = exports.shotstackGeneratedAssetOptionsShotstackGeneratedAssetOptionsSchema = exports.shotstackTextToSpeechOptionsSchema = exports.shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema = exports.shotstackTextToImageOptionsSchema = exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema = exports.shotstackTextGeneratorOptionsSchema = exports.shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema = exports.shotstackImageToVideoOptionsSchema = exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema = exports.generatedAssetResponseSchema = exports.generatedAssetResponseGeneratedAssetResponseSchema = exports.generatedAssetResponseDataSchema = exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema = exports.generatedAssetResponseAttributesSchema = exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema = exports.generatedAssetErrorResponseSchema = exports.generatedAssetErrorResponseGeneratedAssetErrorResponseSchema = exports.generatedAssetErrorResponseDataSchema = exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema = void 0;
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.getGeneratedAssetResponse = exports.getGeneratedAssetRequest = exports.postGenerateAssetResponse = exports.postGenerateAssetRequest = exports.getUploadSignedUrlResponse = exports.getUploadSignedUrlRequest = exports.getSourceResponse = exports.getSourceRequest = exports.deleteSourceResponse = exports.deleteSourceRequest = exports.postSourceResponse = exports.postSourceRequest = exports.getSourcesResponse = exports.getSourcesRequest = exports.postServeAssetResponse = exports.postServeAssetRequest = exports.getAssetByRenderIdResponse = exports.getAssetByRenderIdRequest = exports.getAssetResponse = exports.getAssetRequest = void 0;
|
|
6
|
+
exports.mergeFieldSchema = exports.mergefieldMergeFieldSchema = exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema = exports.transcriptionSchema = exports.transcriptionTranscriptionSchema = exports.speedSchema = exports.speedSpeedSchema = exports.uploadResponseSchema = exports.uploadresponseUploadResponseSchema = exports.uploadResponseDataSchema = exports.uploadresponsedataUploadResponseDataSchema = exports.uploadResponseAttributesSchema = exports.uploadresponseattributesUploadResponseAttributesSchema = exports.queuedSourceResponseSchema = exports.queuedsourceresponseQueuedSourceResponseSchema = exports.queuedSourceResponseDataSchema = exports.queuedsourceresponsedataQueuedSourceResponseDataSchema = exports.ingestErrorResponseSchema = exports.ingesterrorresponseIngestErrorResponseSchema = exports.ingestErrorResponseDataSchema = exports.ingesterrorresponsedataIngestErrorResponseDataSchema = exports.enhancementsSchema = exports.enhancementsEnhancementsSchema = exports.audioEnhancementSchema = exports.audioEnhancementAudioEnhancementSchema = exports.dolbyEnhancementSchema = exports.dolbyEnhancementDolbyEnhancementSchema = exports.dolbyEnhancementOptionsSchema = exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema = exports.imageToVideoAssetSchema = exports.imagetovideoassetImageToVideoAssetSchema = exports.imageAssetSchema = exports.imageassetImageAssetSchema = exports.htmlAssetSchema = exports.htmlassetHtmlAssetSchema = exports.fontSchema = exports.fontFontSchema = exports.flipTransformationSchema = exports.fliptransformationFlipTransformationSchema = exports.destinationsSchema = exports.destinationsDestinationsSchema = exports.vimeoDestinationSchema = exports.vimeoDestinationVimeoDestinationSchema = exports.vimeoDestinationOptionsSchema = exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema = exports.vimeoDestinationPrivacyOptionsSchema = exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema = exports.tiktokDestinationTiktokDestinationSchema = exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema = void 0;
|
|
7
|
+
exports.transferResponseAttributesSchema = exports.transferresponseattributesTransferResponseAttributesSchema = exports.richTextAssetSchema = exports.richtextassetRichTextAssetSchema = exports.richTextStyleSchema = exports.richtextpropertiesRichTextStyleSchema = exports.richTextStrokeSchema = exports.richtextpropertiesRichTextStrokeSchema = exports.richTextShadowSchema = exports.richtextpropertiesRichTextShadowSchema = exports.richtextpropertiesRichTextPaddingSchema = exports.richTextGradientSchema = exports.richtextpropertiesRichTextGradientSchema = exports.richTextFontSchema = exports.richtextpropertiesRichTextFontSchema = exports.richtextpropertiesRichTextBorderSchema = exports.richTextBackgroundSchema = exports.richtextpropertiesRichTextBackgroundSchema = exports.richTextAnimationSchema = exports.richtextpropertiesRichTextAnimationSchema = exports.richTextAlignmentSchema = exports.richtextpropertiesRichTextAlignmentSchema = exports.templateResponseSchema = exports.templateresponseTemplateResponseSchema = exports.templateResponseDataSchema = exports.templateresponsedataTemplateResponseDataSchema = exports.templateListResponseSchema = exports.templatelistresponseTemplateListResponseSchema = exports.templateListResponseDataSchema = exports.templatelistresponsedataTemplateListResponseDataSchema = exports.templateListResponseItemSchema = exports.templatelistresponseitemTemplateListResponseItemSchema = exports.queuedResponseSchema = exports.queuedresponseQueuedResponseSchema = exports.queuedResponseDataSchema = exports.queuedresponsedataQueuedResponseDataSchema = exports.probeResponseSchema = exports.proberesponseProbeResponseSchema = exports.assetResponseSchema = exports.assetresponseAssetResponseSchema = exports.assetRenderResponseSchema = exports.assetrenderresponseAssetRenderResponseSchema = exports.assetResponseDataSchema = exports.assetresponsedataAssetResponseDataSchema = exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResponseAttributesSchema = exports.rangeSchema = exports.rangeRangeSchema = exports.posterSchema = exports.posterPosterSchema = void 0;
|
|
8
|
+
exports.transitionSchema = exports.transitionTransitionSchema = exports.outputSchema = exports.outputOutputSchema = exports.thumbnailSchema = exports.thumbnailThumbnailSchema = exports.textToImageAssetSchema = exports.texttoimageassetTextToImageAssetSchema = exports.textAssetSchema = exports.textassetTextAssetSchema = exports.textpropertiesTextStrokeSchema = exports.textFontSchema = exports.textpropertiesTextFontSchema = exports.textBackgroundSchema = exports.textpropertiesTextBackgroundSchema = exports.textpropertiesTextAnimationSchema = exports.textAlignmentSchema = exports.textpropertiesTextAlignmentSchema = exports.templateRenderSchema = exports.templaterenderTemplateRenderSchema = exports.soundtrackSchema = exports.soundtrackSoundtrackSchema = exports.sourceSchema = exports.sourceSourceSchema = exports.sourceResponseSchema = exports.sourceresponseSourceResponseSchema = exports.sourceListResponseSchema = exports.sourcelistresponseSourceListResponseSchema = exports.sourceResponseDataSchema = exports.sourceresponsedataSourceResponseDataSchema = exports.sourceResponseAttributesSchema = exports.sourceresponseattributesSourceResponseAttributesSchema = exports.outputsResponseSchema = exports.outputsresponseOutputsResponseSchema = exports.renditionResponseAttributesSchema = exports.renditionresponseattributesRenditionResponseAttributesSchema = exports.outputsSchema = exports.outputsOutputsSchema = exports.renditionSchema = exports.renditionRenditionSchema = exports.sizeSchema = exports.sizeSizeSchema = exports.shapeAssetSchema = exports.shapeassetShapeAssetSchema = exports.transferSchema = exports.transferTransferSchema = exports.transferResponseSchema = exports.transferresponseTransferResponseSchema = exports.transferResponseDataSchema = exports.transferresponsedataTransferResponseDataSchema = void 0;
|
|
9
|
+
exports.putTemplateResponse = exports.putTemplateRequest = exports.getTemplateResponse = exports.getTemplateRequest = exports.deleteTemplateResponse = exports.deleteTemplateRequest = exports.postTemplateResponse = exports.postTemplateRequest = exports.getTemplatesResponse = exports.getTemplatesRequest = exports.getRenderResponse = exports.getRenderRequest = exports.postRenderResponse = exports.postRenderRequest = exports.templateSchema = exports.templateTemplateSchema = exports.templateDataResponseSchema = exports.templatedataresponseTemplateDataResponseSchema = exports.templateDataResponseDataSchema = exports.templatedataresponsedataTemplateDataResponseDataSchema = exports.renderResponseSchema = exports.renderresponseRenderResponseSchema = exports.renderResponseDataSchema = exports.renderresponsedataRenderResponseDataSchema = exports.editSchema = exports.editEditSchema = exports.timelineSchema = exports.timelineTimelineSchema = exports.trackSchema = exports.trackTrackSchema = exports.clipSchema = exports.clipClipSchema = exports.assetSchema = exports.assetAssetSchema = exports.videoAssetSchema = exports.videoassetVideoAssetSchema = exports.transformationSchema = exports.transformationTransformationSchema = exports.titleAssetSchema = exports.titleassetTitleAssetSchema = exports.skewTransformationSchema = exports.skewtransformationSkewTransformationSchema = exports.rotateTransformationSchema = exports.rotatetransformationRotateTransformationSchema = exports.offsetSchema = exports.offsetOffsetSchema = exports.audioAssetSchema = exports.audioassetAudioAssetSchema = exports.tweenSchema = exports.tweenTweenSchema = void 0;
|
|
10
|
+
exports.getGeneratedAssetResponse = exports.getGeneratedAssetRequest = exports.postGenerateAssetResponse = exports.postGenerateAssetRequest = exports.getUploadSignedUrlResponse = exports.getUploadSignedUrlRequest = exports.getSourceResponse = exports.getSourceRequest = exports.deleteSourceResponse = exports.deleteSourceRequest = exports.postSourceResponse = exports.postSourceRequest = exports.getSourcesResponse = exports.getSourcesRequest = exports.postServeAssetResponse = exports.postServeAssetRequest = exports.getAssetByRenderIdResponse = exports.getAssetByRenderIdRequest = exports.getAssetResponse = exports.getAssetRequest = exports.deleteAssetResponse = exports.deleteAssetRequest = exports.probeResponse = exports.probeRequest = exports.postTemplateRenderResponse = exports.postTemplateRenderRequest = void 0;
|
|
11
11
|
const zod_1 = require("zod");
|
|
12
12
|
exports.editRootSchema = zod_1.z.unknown();
|
|
13
13
|
exports.sourceRootSchema = zod_1.z.unknown();
|
|
@@ -724,6 +724,23 @@ exports.shotstackDestinationShotstackDestinationSchema = zod_1.z.object({
|
|
|
724
724
|
exclude: zod_1.z.optional(zod_1.z.boolean()),
|
|
725
725
|
});
|
|
726
726
|
exports.shotstackDestinationSchema = exports.shotstackDestinationShotstackDestinationSchema;
|
|
727
|
+
/**
|
|
728
|
+
* Pass additional options to control how TikTok publishes video.
|
|
729
|
+
*/
|
|
730
|
+
exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema = zod_1.z.object({
|
|
731
|
+
title: zod_1.z.optional(zod_1.z.string().max(150)),
|
|
732
|
+
privacyLevel: zod_1.z.optional(zod_1.z.enum(["public", "friends", "private"])),
|
|
733
|
+
disableDuet: zod_1.z.optional(zod_1.z.boolean()).default(false),
|
|
734
|
+
disableStitch: zod_1.z.optional(zod_1.z.boolean()).default(false),
|
|
735
|
+
disableComment: zod_1.z.optional(zod_1.z.boolean()).default(false),
|
|
736
|
+
});
|
|
737
|
+
/**
|
|
738
|
+
* Send videos to TikTok. TikTok credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/tiktok), not in the request.
|
|
739
|
+
*/
|
|
740
|
+
exports.tiktokDestinationTiktokDestinationSchema = zod_1.z.object({
|
|
741
|
+
provider: zod_1.z.string().default("tiktok"),
|
|
742
|
+
options: zod_1.z.optional(exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema),
|
|
743
|
+
});
|
|
727
744
|
/**
|
|
728
745
|
* Options to control the visibility of videos and privacy features.
|
|
729
746
|
*/
|
|
@@ -740,6 +757,7 @@ exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema = zod_1.z.object({
|
|
|
740
757
|
name: zod_1.z.optional(zod_1.z.string()),
|
|
741
758
|
description: zod_1.z.optional(zod_1.z.string()),
|
|
742
759
|
privacy: zod_1.z.optional(exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema),
|
|
760
|
+
folderUri: zod_1.z.optional(zod_1.z.string()),
|
|
743
761
|
});
|
|
744
762
|
exports.vimeoDestinationOptionsSchema = exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema;
|
|
745
763
|
/**
|
|
@@ -786,6 +804,11 @@ exports.destinationsDestinationsSchema = zod_1.z.union([
|
|
|
786
804
|
destinations: zod_1.z.optional(zod_1.z.literal("vimeoDestination_VimeoDestination")),
|
|
787
805
|
})
|
|
788
806
|
.and(exports.vimeoDestinationVimeoDestinationSchema),
|
|
807
|
+
zod_1.z
|
|
808
|
+
.object({
|
|
809
|
+
destinations: zod_1.z.optional(zod_1.z.literal("tiktokDestination_TiktokDestination")),
|
|
810
|
+
})
|
|
811
|
+
.and(exports.tiktokDestinationTiktokDestinationSchema),
|
|
789
812
|
]);
|
|
790
813
|
exports.destinationsSchema = exports.destinationsDestinationsSchema;
|
|
791
814
|
/**
|
|
@@ -1144,6 +1167,15 @@ exports.richtextpropertiesRichTextBackgroundSchema = zod_1.z.object({
|
|
|
1144
1167
|
borderRadius: zod_1.z.optional(zod_1.z.number().gte(0)).default(0),
|
|
1145
1168
|
});
|
|
1146
1169
|
exports.richTextBackgroundSchema = exports.richtextpropertiesRichTextBackgroundSchema;
|
|
1170
|
+
/**
|
|
1171
|
+
* Border styling properties for the text bounding box.
|
|
1172
|
+
*/
|
|
1173
|
+
exports.richtextpropertiesRichTextBorderSchema = zod_1.z.object({
|
|
1174
|
+
width: zod_1.z.optional(zod_1.z.number().gte(0)).default(0),
|
|
1175
|
+
color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)).default("#000000"),
|
|
1176
|
+
opacity: zod_1.z.optional(zod_1.z.number().gte(0).lte(1)).default(1),
|
|
1177
|
+
radius: zod_1.z.optional(zod_1.z.number().gte(0)).default(0),
|
|
1178
|
+
});
|
|
1147
1179
|
/**
|
|
1148
1180
|
* Font properties for rich text.
|
|
1149
1181
|
*/
|
|
@@ -1170,6 +1202,15 @@ exports.richtextpropertiesRichTextGradientSchema = zod_1.z.object({
|
|
|
1170
1202
|
.min(2),
|
|
1171
1203
|
});
|
|
1172
1204
|
exports.richTextGradientSchema = exports.richtextpropertiesRichTextGradientSchema;
|
|
1205
|
+
/**
|
|
1206
|
+
* Padding properties for individual sides of the text bounding box.
|
|
1207
|
+
*/
|
|
1208
|
+
exports.richtextpropertiesRichTextPaddingSchema = zod_1.z.object({
|
|
1209
|
+
top: zod_1.z.optional(zod_1.z.number().gte(0)).default(0),
|
|
1210
|
+
right: zod_1.z.optional(zod_1.z.number().gte(0)).default(0),
|
|
1211
|
+
bottom: zod_1.z.optional(zod_1.z.number().gte(0)).default(0),
|
|
1212
|
+
left: zod_1.z.optional(zod_1.z.number().gte(0)).default(0),
|
|
1213
|
+
});
|
|
1173
1214
|
/**
|
|
1174
1215
|
* Text shadow properties.
|
|
1175
1216
|
*/
|
|
@@ -1216,6 +1257,8 @@ exports.richtextassetRichTextAssetSchema = zod_1.z.object({
|
|
|
1216
1257
|
stroke: zod_1.z.optional(exports.richtextpropertiesRichTextStrokeSchema),
|
|
1217
1258
|
shadow: zod_1.z.optional(exports.richtextpropertiesRichTextShadowSchema),
|
|
1218
1259
|
background: zod_1.z.optional(exports.richtextpropertiesRichTextBackgroundSchema),
|
|
1260
|
+
border: zod_1.z.optional(exports.richtextpropertiesRichTextBorderSchema),
|
|
1261
|
+
padding: zod_1.z.optional(zod_1.z.union([zod_1.z.number().gte(0), exports.richtextpropertiesRichTextPaddingSchema])),
|
|
1219
1262
|
align: zod_1.z.optional(exports.richtextpropertiesRichTextAlignmentSchema),
|
|
1220
1263
|
animation: zod_1.z.optional(exports.richtextpropertiesRichTextAnimationSchema),
|
|
1221
1264
|
});
|
|
@@ -1454,11 +1497,21 @@ exports.textpropertiesTextAlignmentSchema = zod_1.z.object({
|
|
|
1454
1497
|
vertical: zod_1.z.optional(zod_1.z.enum(["top", "center", "bottom"])),
|
|
1455
1498
|
});
|
|
1456
1499
|
exports.textAlignmentSchema = exports.textpropertiesTextAlignmentSchema;
|
|
1500
|
+
/**
|
|
1501
|
+
* Animation properties for text entrance effects.
|
|
1502
|
+
*/
|
|
1503
|
+
exports.textpropertiesTextAnimationSchema = zod_1.z.object({
|
|
1504
|
+
preset: zod_1.z.enum(["typewriter"]),
|
|
1505
|
+
duration: zod_1.z.optional(zod_1.z.number().gte(0.1).lte(30)),
|
|
1506
|
+
});
|
|
1457
1507
|
/**
|
|
1458
1508
|
* Displays a background box behind the text.
|
|
1459
1509
|
*/
|
|
1460
1510
|
exports.textpropertiesTextBackgroundSchema = zod_1.z.object({
|
|
1461
|
-
color: zod_1.z.optional(zod_1.z.string()),
|
|
1511
|
+
color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)),
|
|
1512
|
+
opacity: zod_1.z.optional(zod_1.z.number().gte(0).lte(1)),
|
|
1513
|
+
padding: zod_1.z.optional(zod_1.z.number().gte(0).lte(100)),
|
|
1514
|
+
borderRadius: zod_1.z.optional(zod_1.z.number().gte(0)),
|
|
1462
1515
|
});
|
|
1463
1516
|
exports.textBackgroundSchema = exports.textpropertiesTextBackgroundSchema;
|
|
1464
1517
|
/**
|
|
@@ -1473,6 +1526,13 @@ exports.textpropertiesTextFontSchema = zod_1.z.object({
|
|
|
1473
1526
|
lineHeight: zod_1.z.optional(zod_1.z.number()),
|
|
1474
1527
|
});
|
|
1475
1528
|
exports.textFontSchema = exports.textpropertiesTextFontSchema;
|
|
1529
|
+
/**
|
|
1530
|
+
* Text stroke (outline) properties.
|
|
1531
|
+
*/
|
|
1532
|
+
exports.textpropertiesTextStrokeSchema = zod_1.z.object({
|
|
1533
|
+
width: zod_1.z.optional(zod_1.z.number().gte(0).lte(10)),
|
|
1534
|
+
color: zod_1.z.optional(zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/)),
|
|
1535
|
+
});
|
|
1476
1536
|
/**
|
|
1477
1537
|
* The TextAsset is used to add text and titles to a video. The text can be styled with built in and custom
|
|
1478
1538
|
* [Fonts](#tocs_font). You can also add a background bounding box used to control wrapping and overflow. Emoticons are also supported.
|
|
@@ -1486,6 +1546,9 @@ exports.textassetTextAssetSchema = zod_1.z.object({
|
|
|
1486
1546
|
font: zod_1.z.optional(exports.textpropertiesTextFontSchema),
|
|
1487
1547
|
background: zod_1.z.optional(exports.textpropertiesTextBackgroundSchema),
|
|
1488
1548
|
alignment: zod_1.z.optional(exports.textpropertiesTextAlignmentSchema),
|
|
1549
|
+
stroke: zod_1.z.optional(exports.textpropertiesTextStrokeSchema),
|
|
1550
|
+
animation: zod_1.z.optional(exports.textpropertiesTextAnimationSchema),
|
|
1551
|
+
ellipsis: zod_1.z.optional(zod_1.z.string()),
|
|
1489
1552
|
});
|
|
1490
1553
|
exports.textAssetSchema = exports.textassetTextAssetSchema;
|
|
1491
1554
|
/**
|
|
@@ -1528,7 +1591,7 @@ exports.outputOutputSchema = zod_1.z.object({
|
|
|
1528
1591
|
zod_1.z.literal(59.94),
|
|
1529
1592
|
zod_1.z.literal(60),
|
|
1530
1593
|
])),
|
|
1531
|
-
scaleTo: zod_1.z.optional(zod_1.z.enum(["preview", "mobile", "sd", "hd", "1080"])),
|
|
1594
|
+
scaleTo: zod_1.z.optional(zod_1.z.enum(["preview", "mobile", "sd", "hd", "1080", "4k"])),
|
|
1532
1595
|
quality: zod_1.z.optional(zod_1.z.enum(["verylow", "low", "medium", "high", "veryhigh"])),
|
|
1533
1596
|
repeat: zod_1.z.optional(zod_1.z.boolean()),
|
|
1534
1597
|
mute: zod_1.z.optional(zod_1.z.boolean()),
|
|
@@ -1543,6 +1606,7 @@ exports.outputSchema = exports.outputOutputSchema;
|
|
|
1543
1606
|
*/
|
|
1544
1607
|
exports.transitionTransitionSchema = zod_1.z.object({
|
|
1545
1608
|
in: zod_1.z.optional(zod_1.z.enum([
|
|
1609
|
+
"none",
|
|
1546
1610
|
"fade",
|
|
1547
1611
|
"fadeSlow",
|
|
1548
1612
|
"fadeFast",
|
|
@@ -1606,6 +1670,7 @@ exports.transitionTransitionSchema = zod_1.z.object({
|
|
|
1606
1670
|
"zoom",
|
|
1607
1671
|
])),
|
|
1608
1672
|
out: zod_1.z.optional(zod_1.z.enum([
|
|
1673
|
+
"none",
|
|
1609
1674
|
"fade",
|
|
1610
1675
|
"fadeSlow",
|
|
1611
1676
|
"fadeFast",
|
|
@@ -1727,7 +1792,7 @@ exports.audioassetAudioAssetSchema = zod_1.z.object({
|
|
|
1727
1792
|
trim: zod_1.z.optional(zod_1.z.number()),
|
|
1728
1793
|
volume: zod_1.z.optional(zod_1.z.union([zod_1.z.number().gte(0).lte(1), zod_1.z.array(exports.tweenTweenSchema)])),
|
|
1729
1794
|
speed: zod_1.z.optional(zod_1.z.number().gte(0).lte(10)),
|
|
1730
|
-
effect: zod_1.z.optional(zod_1.z.enum(["fadeIn", "fadeOut", "fadeInFadeOut"])),
|
|
1795
|
+
effect: zod_1.z.optional(zod_1.z.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
|
|
1731
1796
|
});
|
|
1732
1797
|
exports.audioAssetSchema = exports.audioassetAudioAssetSchema;
|
|
1733
1798
|
/**
|
|
@@ -1746,11 +1811,11 @@ exports.rotatetransformationRotateTransformationSchema = zod_1.z.object({
|
|
|
1746
1811
|
});
|
|
1747
1812
|
exports.rotateTransformationSchema = exports.rotatetransformationRotateTransformationSchema;
|
|
1748
1813
|
/**
|
|
1749
|
-
* Skew a clip so its edges are sheared at an angle. Use values between
|
|
1814
|
+
* Skew a clip so its edges are sheared at an angle. Use values between -100 and 100. Values over 3 or under -3 will skew the clip almost flat.
|
|
1750
1815
|
*/
|
|
1751
1816
|
exports.skewtransformationSkewTransformationSchema = zod_1.z.object({
|
|
1752
|
-
x: zod_1.z.optional(zod_1.z.union([zod_1.z.number(), zod_1.z.array(exports.tweenTweenSchema)])),
|
|
1753
|
-
y: zod_1.z.optional(zod_1.z.union([zod_1.z.number(), zod_1.z.array(exports.tweenTweenSchema)])),
|
|
1817
|
+
x: zod_1.z.optional(zod_1.z.union([zod_1.z.number().gte(-100).lte(100), zod_1.z.array(exports.tweenTweenSchema)])),
|
|
1818
|
+
y: zod_1.z.optional(zod_1.z.union([zod_1.z.number().gte(-100).lte(100), zod_1.z.array(exports.tweenTweenSchema)])),
|
|
1754
1819
|
});
|
|
1755
1820
|
exports.skewTransformationSchema = exports.skewtransformationSkewTransformationSchema;
|
|
1756
1821
|
/**
|
|
@@ -1819,7 +1884,7 @@ exports.videoassetVideoAssetSchema = zod_1.z.object({
|
|
|
1819
1884
|
transcode: zod_1.z.optional(zod_1.z.boolean()).default(false),
|
|
1820
1885
|
trim: zod_1.z.optional(zod_1.z.number()),
|
|
1821
1886
|
volume: zod_1.z.optional(zod_1.z.union([zod_1.z.number().gte(0).lte(1), zod_1.z.array(exports.tweenTweenSchema)])),
|
|
1822
|
-
volumeEffect: zod_1.z.optional(zod_1.z.enum(["fadeIn", "fadeOut", "fadeInFadeOut"])),
|
|
1887
|
+
volumeEffect: zod_1.z.optional(zod_1.z.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
|
|
1823
1888
|
speed: zod_1.z.optional(zod_1.z.number().gte(0).lte(10)),
|
|
1824
1889
|
crop: zod_1.z.optional(exports.cropCropSchema),
|
|
1825
1890
|
chromaKey: zod_1.z.optional(exports.chromakeyChromaKeySchema),
|
|
@@ -1900,6 +1965,8 @@ exports.clipClipSchema = zod_1.z.object({
|
|
|
1900
1965
|
length: zod_1.z.union([zod_1.z.number(), zod_1.z.literal("auto"), zod_1.z.literal("end")]),
|
|
1901
1966
|
fit: zod_1.z.optional(zod_1.z.enum(["cover", "contain", "crop", "none"])),
|
|
1902
1967
|
scale: zod_1.z.optional(zod_1.z.number()),
|
|
1968
|
+
width: zod_1.z.optional(zod_1.z.int().gte(1).lte(3840)),
|
|
1969
|
+
height: zod_1.z.optional(zod_1.z.int().gte(1).lte(2160)),
|
|
1903
1970
|
position: zod_1.z.optional(zod_1.z.enum([
|
|
1904
1971
|
"top",
|
|
1905
1972
|
"topRight",
|
|
@@ -1945,6 +2012,7 @@ exports.clipClipSchema = zod_1.z.object({
|
|
|
1945
2012
|
])),
|
|
1946
2013
|
opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.number(), zod_1.z.array(exports.tweenTweenSchema)])),
|
|
1947
2014
|
transform: zod_1.z.optional(exports.transformationTransformationSchema),
|
|
2015
|
+
alias: zod_1.z.optional(zod_1.z.string().regex(/^[A-Za-z0-9_-]+$/)),
|
|
1948
2016
|
});
|
|
1949
2017
|
exports.clipSchema = exports.clipClipSchema;
|
|
1950
2018
|
/**
|