@shotstack/schemas 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.bundled.json +52 -9
- package/dist/schema.d.ts +36 -85
- package/dist/zod/zod.gen.cjs +40 -87
- package/dist/zod/zod.gen.d.ts +1109 -1136
- package/dist/zod/zod.gen.js +39 -86
- package/dist/zod/zod.gen.ts +41 -88
- package/package.json +3 -2
package/dist/api.bundled.json
CHANGED
|
@@ -1127,8 +1127,9 @@
|
|
|
1127
1127
|
"type": "string"
|
|
1128
1128
|
},
|
|
1129
1129
|
"filter": {
|
|
1130
|
-
"description": "A filter effect to apply to the Clip. <ul>\n <li>`blur` - blur the scene</li>\n <li>`boost` - boost contrast and saturation</li>\n <li>`contrast` - increase contrast</li>\n <li>`darken` - darken the scene</li>\n <li>`greyscale` - remove colour</li>\n <li>`lighten` - lighten the scene</li>\n <li>`muted` - reduce saturation and contrast</li>\n <li>`negative` - negative colors</li>\n</ul>",
|
|
1130
|
+
"description": "A filter effect to apply to the Clip. <ul>\n <li>`none` - no filter applied</li>\n <li>`blur` - blur the scene</li>\n <li>`boost` - boost contrast and saturation</li>\n <li>`contrast` - increase contrast</li>\n <li>`darken` - darken the scene</li>\n <li>`greyscale` - remove colour</li>\n <li>`lighten` - lighten the scene</li>\n <li>`muted` - reduce saturation and contrast</li>\n <li>`negative` - negative colors</li>\n</ul>",
|
|
1131
1131
|
"enum": [
|
|
1132
|
+
"none",
|
|
1132
1133
|
"blur",
|
|
1133
1134
|
"boost",
|
|
1134
1135
|
"contrast",
|
|
@@ -1180,7 +1181,21 @@
|
|
|
1180
1181
|
"type": "object",
|
|
1181
1182
|
"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.",
|
|
1182
1183
|
"discriminator": {
|
|
1183
|
-
"propertyName": "
|
|
1184
|
+
"propertyName": "type",
|
|
1185
|
+
"mapping": {
|
|
1186
|
+
"video": "#/components/schemas/VideoAsset",
|
|
1187
|
+
"image": "#/components/schemas/ImageAsset",
|
|
1188
|
+
"text": "#/components/schemas/TextAsset",
|
|
1189
|
+
"rich-text": "#/components/schemas/RichTextAsset",
|
|
1190
|
+
"audio": "#/components/schemas/AudioAsset",
|
|
1191
|
+
"luma": "#/components/schemas/LumaAsset",
|
|
1192
|
+
"caption": "#/components/schemas/CaptionAsset",
|
|
1193
|
+
"html": "#/components/schemas/HtmlAsset",
|
|
1194
|
+
"title": "#/components/schemas/TitleAsset",
|
|
1195
|
+
"shape": "#/components/schemas/ShapeAsset",
|
|
1196
|
+
"text-to-image": "#/components/schemas/TextToImageAsset",
|
|
1197
|
+
"image-to-video": "#/components/schemas/ImageToVideoAsset"
|
|
1198
|
+
}
|
|
1184
1199
|
},
|
|
1185
1200
|
"oneOf": [
|
|
1186
1201
|
{
|
|
@@ -1227,6 +1242,9 @@
|
|
|
1227
1242
|
"type": "object",
|
|
1228
1243
|
"properties": {
|
|
1229
1244
|
"type": {
|
|
1245
|
+
"enum": [
|
|
1246
|
+
"video"
|
|
1247
|
+
],
|
|
1230
1248
|
"default": "video",
|
|
1231
1249
|
"description": "The type of asset - set to `video` for videos.",
|
|
1232
1250
|
"type": "string"
|
|
@@ -1302,6 +1320,9 @@
|
|
|
1302
1320
|
"type": "object",
|
|
1303
1321
|
"properties": {
|
|
1304
1322
|
"type": {
|
|
1323
|
+
"enum": [
|
|
1324
|
+
"image"
|
|
1325
|
+
],
|
|
1305
1326
|
"default": "image",
|
|
1306
1327
|
"description": "The type of asset - set to `image` for images.",
|
|
1307
1328
|
"type": "string"
|
|
@@ -1325,6 +1346,9 @@
|
|
|
1325
1346
|
"type": "object",
|
|
1326
1347
|
"properties": {
|
|
1327
1348
|
"type": {
|
|
1349
|
+
"enum": [
|
|
1350
|
+
"text"
|
|
1351
|
+
],
|
|
1328
1352
|
"default": "text",
|
|
1329
1353
|
"description": "The type of asset - set to `text` for text.",
|
|
1330
1354
|
"type": "string"
|
|
@@ -1415,6 +1439,9 @@
|
|
|
1415
1439
|
"type": "object",
|
|
1416
1440
|
"properties": {
|
|
1417
1441
|
"type": {
|
|
1442
|
+
"enum": [
|
|
1443
|
+
"rich-text"
|
|
1444
|
+
],
|
|
1418
1445
|
"default": "rich-text",
|
|
1419
1446
|
"description": "The type of asset - set to `rich-text` for rich text.",
|
|
1420
1447
|
"type": "string"
|
|
@@ -1433,10 +1460,6 @@
|
|
|
1433
1460
|
"description": "Text style properties including spacing, line height, and transformations.",
|
|
1434
1461
|
"$ref": "#/components/schemas/RichTextStyle"
|
|
1435
1462
|
},
|
|
1436
|
-
"stroke": {
|
|
1437
|
-
"description": "Text stroke (outline) properties.",
|
|
1438
|
-
"$ref": "#/components/schemas/RichTextStroke"
|
|
1439
|
-
},
|
|
1440
1463
|
"shadow": {
|
|
1441
1464
|
"description": "Text shadow properties.",
|
|
1442
1465
|
"$ref": "#/components/schemas/RichTextShadow"
|
|
@@ -1544,6 +1567,9 @@
|
|
|
1544
1567
|
"type": "object",
|
|
1545
1568
|
"properties": {
|
|
1546
1569
|
"type": {
|
|
1570
|
+
"enum": [
|
|
1571
|
+
"audio"
|
|
1572
|
+
],
|
|
1547
1573
|
"default": "audio",
|
|
1548
1574
|
"description": "The type of asset - set to `audio` for audio assets.",
|
|
1549
1575
|
"type": "string"
|
|
@@ -1606,6 +1632,9 @@
|
|
|
1606
1632
|
"type": "object",
|
|
1607
1633
|
"properties": {
|
|
1608
1634
|
"type": {
|
|
1635
|
+
"enum": [
|
|
1636
|
+
"shape"
|
|
1637
|
+
],
|
|
1609
1638
|
"default": "shape",
|
|
1610
1639
|
"description": "The type of asset - set to `shape` for shape.",
|
|
1611
1640
|
"type": "string"
|
|
@@ -1731,6 +1760,9 @@
|
|
|
1731
1760
|
"type": "object",
|
|
1732
1761
|
"properties": {
|
|
1733
1762
|
"type": {
|
|
1763
|
+
"enum": [
|
|
1764
|
+
"luma"
|
|
1765
|
+
],
|
|
1734
1766
|
"default": "luma",
|
|
1735
1767
|
"description": "The type of asset - set to `luma` for luma mattes.",
|
|
1736
1768
|
"type": "string"
|
|
@@ -1755,6 +1787,9 @@
|
|
|
1755
1787
|
"type": "object",
|
|
1756
1788
|
"properties": {
|
|
1757
1789
|
"type": {
|
|
1790
|
+
"enum": [
|
|
1791
|
+
"caption"
|
|
1792
|
+
],
|
|
1758
1793
|
"default": "caption",
|
|
1759
1794
|
"description": "The type of asset - set to `caption` for captions.",
|
|
1760
1795
|
"type": "string"
|
|
@@ -1827,9 +1862,7 @@
|
|
|
1827
1862
|
},
|
|
1828
1863
|
"required": [
|
|
1829
1864
|
"type",
|
|
1830
|
-
"prompt"
|
|
1831
|
-
"width",
|
|
1832
|
-
"height"
|
|
1865
|
+
"prompt"
|
|
1833
1866
|
]
|
|
1834
1867
|
},
|
|
1835
1868
|
"ImageToVideoAsset": {
|
|
@@ -1886,6 +1919,9 @@
|
|
|
1886
1919
|
"type": "object",
|
|
1887
1920
|
"properties": {
|
|
1888
1921
|
"type": {
|
|
1922
|
+
"enum": [
|
|
1923
|
+
"html"
|
|
1924
|
+
],
|
|
1889
1925
|
"default": "html",
|
|
1890
1926
|
"description": "The type of asset - set to `html` for HTML.",
|
|
1891
1927
|
"type": "string"
|
|
@@ -1941,6 +1977,9 @@
|
|
|
1941
1977
|
"type": "object",
|
|
1942
1978
|
"properties": {
|
|
1943
1979
|
"type": {
|
|
1980
|
+
"enum": [
|
|
1981
|
+
"title"
|
|
1982
|
+
],
|
|
1944
1983
|
"default": "title",
|
|
1945
1984
|
"description": "The type of asset - set to `title` for titles.",
|
|
1946
1985
|
"type": "string"
|
|
@@ -2480,6 +2519,10 @@
|
|
|
2480
2519
|
"maximum": 1,
|
|
2481
2520
|
"default": 1,
|
|
2482
2521
|
"example": 0.9
|
|
2522
|
+
},
|
|
2523
|
+
"stroke": {
|
|
2524
|
+
"description": "Text stroke (outline) properties.",
|
|
2525
|
+
"$ref": "#/components/schemas/RichTextStroke"
|
|
2483
2526
|
}
|
|
2484
2527
|
},
|
|
2485
2528
|
"type": "object"
|
package/dist/schema.d.ts
CHANGED
|
@@ -559,6 +559,7 @@ export interface components {
|
|
|
559
559
|
effect?: "zoomIn" | "zoomInSlow" | "zoomInFast" | "zoomOut" | "zoomOutSlow" | "zoomOutFast" | "slideLeft" | "slideLeftSlow" | "slideLeftFast" | "slideRight" | "slideRightSlow" | "slideRightFast" | "slideUp" | "slideUpSlow" | "slideUpFast" | "slideDown" | "slideDownSlow" | "slideDownFast";
|
|
560
560
|
/**
|
|
561
561
|
* @description A filter effect to apply to the Clip. <ul>
|
|
562
|
+
* <li>`none` - no filter applied</li>
|
|
562
563
|
* <li>`blur` - blur the scene</li>
|
|
563
564
|
* <li>`boost` - boost contrast and saturation</li>
|
|
564
565
|
* <li>`contrast` - increase contrast</li>
|
|
@@ -571,7 +572,7 @@ export interface components {
|
|
|
571
572
|
* @example greyscale
|
|
572
573
|
* @enum {string}
|
|
573
574
|
*/
|
|
574
|
-
filter?: "blur" | "boost" | "contrast" | "darken" | "greyscale" | "lighten" | "muted" | "negative";
|
|
575
|
+
filter?: "none" | "blur" | "boost" | "contrast" | "darken" | "greyscale" | "lighten" | "muted" | "negative";
|
|
575
576
|
/** @description Offset an asset on the horizontal axis (left or right). Use a number or an array of [Tween](./#tocs_tween) objects to create a custom animation. */
|
|
576
577
|
opacity?: number | components["schemas"]["Tween"][];
|
|
577
578
|
/** @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. */
|
|
@@ -587,10 +588,10 @@ export interface components {
|
|
|
587
588
|
/** @description The VideoAsset is used to create video sequences from video files. The src must be a publicly accessible URL to a video resource such as an mp4 file. */
|
|
588
589
|
VideoAsset: {
|
|
589
590
|
/**
|
|
590
|
-
* @description The type of asset - set to `video` for videos.
|
|
591
|
-
* @
|
|
591
|
+
* @description The type of asset - set to `video` for videos. (enum property replaced by openapi-typescript)
|
|
592
|
+
* @enum {string}
|
|
592
593
|
*/
|
|
593
|
-
type:
|
|
594
|
+
type: "video";
|
|
594
595
|
/**
|
|
595
596
|
* @description The video source URL. The URL must be publicly accessible or include credentials.
|
|
596
597
|
* @example https://s3-ap-northeast-1.amazonaws.com/my-bucket/video.mp4
|
|
@@ -626,30 +627,20 @@ export interface components {
|
|
|
626
627
|
speed?: number;
|
|
627
628
|
crop?: components["schemas"]["Crop"];
|
|
628
629
|
chromaKey?: components["schemas"]["ChromaKey"];
|
|
629
|
-
/**
|
|
630
|
-
* @description discriminator enum property added by openapi-typescript
|
|
631
|
-
* @enum {string}
|
|
632
|
-
*/
|
|
633
|
-
asset: "VideoAsset";
|
|
634
630
|
};
|
|
635
631
|
/** @description The ImageAsset is used to create video from images to compose an image. The src must be a publicly accessible URL to an image resource such as a jpg or png file. */
|
|
636
632
|
ImageAsset: {
|
|
637
633
|
/**
|
|
638
|
-
* @description The type of asset - set to `image` for images.
|
|
639
|
-
* @
|
|
634
|
+
* @description The type of asset - set to `image` for images. (enum property replaced by openapi-typescript)
|
|
635
|
+
* @enum {string}
|
|
640
636
|
*/
|
|
641
|
-
type:
|
|
637
|
+
type: "image";
|
|
642
638
|
/**
|
|
643
639
|
* @description The image source URL. The URL must be publicly accessible or include credentials.
|
|
644
640
|
* @example https://s3-ap-northeast-1.amazonaws.com/my-bucket/image.jpg
|
|
645
641
|
*/
|
|
646
642
|
src: string;
|
|
647
643
|
crop?: components["schemas"]["Crop"];
|
|
648
|
-
/**
|
|
649
|
-
* @description discriminator enum property added by openapi-typescript
|
|
650
|
-
* @enum {string}
|
|
651
|
-
*/
|
|
652
|
-
asset: "ImageAsset";
|
|
653
644
|
};
|
|
654
645
|
/**
|
|
655
646
|
* @description The TextAsset is used to add text and titles to a video. The text can be styled with built in and custom
|
|
@@ -657,10 +648,10 @@ export interface components {
|
|
|
657
648
|
*/
|
|
658
649
|
TextAsset: {
|
|
659
650
|
/**
|
|
660
|
-
* @description The type of asset - set to `text` for text.
|
|
661
|
-
* @
|
|
651
|
+
* @description The type of asset - set to `text` for text. (enum property replaced by openapi-typescript)
|
|
652
|
+
* @enum {string}
|
|
662
653
|
*/
|
|
663
|
-
type:
|
|
654
|
+
type: "text";
|
|
664
655
|
/**
|
|
665
656
|
* @description The text string to display.
|
|
666
657
|
* @example Hello World
|
|
@@ -716,11 +707,6 @@ export interface components {
|
|
|
716
707
|
* @example ...
|
|
717
708
|
*/
|
|
718
709
|
ellipsis?: string;
|
|
719
|
-
/**
|
|
720
|
-
* @description discriminator enum property added by openapi-typescript
|
|
721
|
-
* @enum {string}
|
|
722
|
-
*/
|
|
723
|
-
asset: "TextAsset";
|
|
724
710
|
};
|
|
725
711
|
/**
|
|
726
712
|
* @description The RichTextAsset provides advanced text rendering with support for custom fonts, gradients, shadows, strokes,
|
|
@@ -728,10 +714,10 @@ export interface components {
|
|
|
728
714
|
*/
|
|
729
715
|
RichTextAsset: {
|
|
730
716
|
/**
|
|
731
|
-
* @description The type of asset - set to `rich-text` for rich text.
|
|
732
|
-
* @
|
|
717
|
+
* @description The type of asset - set to `rich-text` for rich text. (enum property replaced by openapi-typescript)
|
|
718
|
+
* @enum {string}
|
|
733
719
|
*/
|
|
734
|
-
type:
|
|
720
|
+
type: "rich-text";
|
|
735
721
|
/**
|
|
736
722
|
* @description The text string to display. Maximum 5000 characters.
|
|
737
723
|
* @example Hello World
|
|
@@ -741,8 +727,6 @@ export interface components {
|
|
|
741
727
|
font?: components["schemas"]["RichTextFont"];
|
|
742
728
|
/** @description Text style properties including spacing, line height, and transformations. */
|
|
743
729
|
style?: components["schemas"]["RichTextStyle"];
|
|
744
|
-
/** @description Text stroke (outline) properties. */
|
|
745
|
-
stroke?: components["schemas"]["RichTextStroke"];
|
|
746
730
|
/** @description Text shadow properties. */
|
|
747
731
|
shadow?: components["schemas"]["RichTextShadow"];
|
|
748
732
|
/** @description Background styling properties for the text bounding box. */
|
|
@@ -805,19 +789,14 @@ export interface components {
|
|
|
805
789
|
align?: components["schemas"]["RichTextAlignment"];
|
|
806
790
|
/** @description Animation properties for text entrance effects. */
|
|
807
791
|
animation?: components["schemas"]["RichTextAnimation"];
|
|
808
|
-
/**
|
|
809
|
-
* @description discriminator enum property added by openapi-typescript
|
|
810
|
-
* @enum {string}
|
|
811
|
-
*/
|
|
812
|
-
asset: "RichTextAsset";
|
|
813
792
|
};
|
|
814
793
|
/** @description The AudioAsset is used to add sound effects and audio at specific intervals on the timeline. The src must be a publicly accessible URL to an audio resource such as an mp3 file. */
|
|
815
794
|
AudioAsset: {
|
|
816
795
|
/**
|
|
817
|
-
* @description The type of asset - set to `audio` for audio assets.
|
|
818
|
-
* @
|
|
796
|
+
* @description The type of asset - set to `audio` for audio assets. (enum property replaced by openapi-typescript)
|
|
797
|
+
* @enum {string}
|
|
819
798
|
*/
|
|
820
|
-
type:
|
|
799
|
+
type: "audio";
|
|
821
800
|
/**
|
|
822
801
|
* @description The audio source URL. The URL must be publicly accessible or include credentials.
|
|
823
802
|
* @example https://s3-ap-northeast-1.amazonaws.com/my-bucket/sound.mp3
|
|
@@ -842,11 +821,6 @@ export interface components {
|
|
|
842
821
|
* @enum {string}
|
|
843
822
|
*/
|
|
844
823
|
effect?: "none" | "fadeIn" | "fadeOut" | "fadeInFadeOut";
|
|
845
|
-
/**
|
|
846
|
-
* @description discriminator enum property added by openapi-typescript
|
|
847
|
-
* @enum {string}
|
|
848
|
-
*/
|
|
849
|
-
asset: "AudioAsset";
|
|
850
824
|
};
|
|
851
825
|
/**
|
|
852
826
|
* @description The ShapeAsset is used to add shapes to a video. The shape can be styled with a fill and a stroke.
|
|
@@ -854,10 +828,10 @@ export interface components {
|
|
|
854
828
|
*/
|
|
855
829
|
ShapeAsset: {
|
|
856
830
|
/**
|
|
857
|
-
* @description The type of asset - set to `shape` for shape.
|
|
858
|
-
* @
|
|
831
|
+
* @description The type of asset - set to `shape` for shape. (enum property replaced by openapi-typescript)
|
|
832
|
+
* @enum {string}
|
|
859
833
|
*/
|
|
860
|
-
type:
|
|
834
|
+
type: "shape";
|
|
861
835
|
/**
|
|
862
836
|
* @description The shape to display.
|
|
863
837
|
* @enum {string}
|
|
@@ -938,19 +912,14 @@ export interface components {
|
|
|
938
912
|
*/
|
|
939
913
|
thickness: number;
|
|
940
914
|
};
|
|
941
|
-
/**
|
|
942
|
-
* @description discriminator enum property added by openapi-typescript
|
|
943
|
-
* @enum {string}
|
|
944
|
-
*/
|
|
945
|
-
asset: "ShapeAsset";
|
|
946
915
|
};
|
|
947
916
|
/** @description The LumaAsset is used to create luma matte masks, transitions and effects between other assets. A luma matte is a grey scale image or animated video where the black areas are transparent and the white areas solid. The luma matte animation should be provided as an mp4 video file. The src must be a publicly accessible URL to the file. */
|
|
948
917
|
LumaAsset: {
|
|
949
918
|
/**
|
|
950
|
-
* @description The type of asset - set to `luma` for luma mattes.
|
|
951
|
-
* @
|
|
919
|
+
* @description The type of asset - set to `luma` for luma mattes. (enum property replaced by openapi-typescript)
|
|
920
|
+
* @enum {string}
|
|
952
921
|
*/
|
|
953
|
-
type:
|
|
922
|
+
type: "luma";
|
|
954
923
|
/**
|
|
955
924
|
* @description The luma matte source URL. The URL must be publicly accessible or include credentials.
|
|
956
925
|
* @example https://s3-ap-northeast-1.amazonaws.com/my-bucket/mask.mp4
|
|
@@ -958,11 +927,6 @@ export interface components {
|
|
|
958
927
|
src: string;
|
|
959
928
|
/** @description The start trim point of the luma matte clip, in seconds (defaults to 0). Videos will start from the in trim point. A luma matte video will play until the file ends or the Clip length is reached. */
|
|
960
929
|
trim?: number;
|
|
961
|
-
/**
|
|
962
|
-
* @description discriminator enum property added by openapi-typescript
|
|
963
|
-
* @enum {string}
|
|
964
|
-
*/
|
|
965
|
-
asset: "LumaAsset";
|
|
966
930
|
};
|
|
967
931
|
/**
|
|
968
932
|
* @description The CaptionAsset is used to add captions (subtitles) to a video. It uses a supplied SRT or VTT file which will
|
|
@@ -977,10 +941,10 @@ export interface components {
|
|
|
977
941
|
*/
|
|
978
942
|
CaptionAsset: {
|
|
979
943
|
/**
|
|
980
|
-
* @description The type of asset - set to `caption` for captions.
|
|
981
|
-
* @
|
|
944
|
+
* @description The type of asset - set to `caption` for captions. (enum property replaced by openapi-typescript)
|
|
945
|
+
* @enum {string}
|
|
982
946
|
*/
|
|
983
|
-
type:
|
|
947
|
+
type: "caption";
|
|
984
948
|
/**
|
|
985
949
|
* @description The URL to an SRT or VTT subtitles file. The URL must be publicly accessible or include credentials.
|
|
986
950
|
* @example https://s3-ap-northeast-1.amazonaws.com/my-bucket/captions.srt
|
|
@@ -1003,11 +967,6 @@ export interface components {
|
|
|
1003
967
|
* @example 1
|
|
1004
968
|
*/
|
|
1005
969
|
speed?: number;
|
|
1006
|
-
/**
|
|
1007
|
-
* @description discriminator enum property added by openapi-typescript
|
|
1008
|
-
* @enum {string}
|
|
1009
|
-
*/
|
|
1010
|
-
asset: "CaptionAsset";
|
|
1011
970
|
};
|
|
1012
971
|
/** @description The TextToImageAsset lets you create a dynamic image from a text prompt. */
|
|
1013
972
|
TextToImageAsset: {
|
|
@@ -1026,12 +985,12 @@ export interface components {
|
|
|
1026
985
|
* @description The width of the image in pixels.
|
|
1027
986
|
* @example 512
|
|
1028
987
|
*/
|
|
1029
|
-
width
|
|
988
|
+
width?: number;
|
|
1030
989
|
/**
|
|
1031
990
|
* @description The height of the image in pixels.
|
|
1032
991
|
* @example 512
|
|
1033
992
|
*/
|
|
1034
|
-
height
|
|
993
|
+
height?: number;
|
|
1035
994
|
crop?: components["schemas"]["Crop"];
|
|
1036
995
|
};
|
|
1037
996
|
/** @description The ImageToVideoAsset lets you create a video from an image and a text prompt. */
|
|
@@ -1076,10 +1035,10 @@ export interface components {
|
|
|
1076
1035
|
*/
|
|
1077
1036
|
HtmlAsset: {
|
|
1078
1037
|
/**
|
|
1079
|
-
* @description The type of asset - set to `html` for HTML.
|
|
1080
|
-
* @
|
|
1038
|
+
* @description The type of asset - set to `html` for HTML. (enum property replaced by openapi-typescript)
|
|
1039
|
+
* @enum {string}
|
|
1081
1040
|
*/
|
|
1082
|
-
type:
|
|
1041
|
+
type: "html";
|
|
1083
1042
|
/**
|
|
1084
1043
|
* @description The HTML text string. See list of [supported HTML tags](https://shotstack.io/docs/guide/architecting-an-application/html-support/#supported-html-tags).
|
|
1085
1044
|
* @example <p>Hello <b>World</b></p>
|
|
@@ -1117,11 +1076,6 @@ export interface components {
|
|
|
1117
1076
|
* @enum {string}
|
|
1118
1077
|
*/
|
|
1119
1078
|
position?: "top" | "topRight" | "right" | "bottomRight" | "bottom" | "bottomLeft" | "left" | "topLeft" | "center";
|
|
1120
|
-
/**
|
|
1121
|
-
* @description discriminator enum property added by openapi-typescript
|
|
1122
|
-
* @enum {string}
|
|
1123
|
-
*/
|
|
1124
|
-
asset: "HtmlAsset";
|
|
1125
1079
|
};
|
|
1126
1080
|
/**
|
|
1127
1081
|
* @deprecated
|
|
@@ -1131,10 +1085,10 @@ export interface components {
|
|
|
1131
1085
|
*/
|
|
1132
1086
|
TitleAsset: {
|
|
1133
1087
|
/**
|
|
1134
|
-
* @description The type of asset - set to `title` for titles.
|
|
1135
|
-
* @
|
|
1088
|
+
* @description The type of asset - set to `title` for titles. (enum property replaced by openapi-typescript)
|
|
1089
|
+
* @enum {string}
|
|
1136
1090
|
*/
|
|
1137
|
-
type:
|
|
1091
|
+
type: "title";
|
|
1138
1092
|
/**
|
|
1139
1093
|
* @description The title text string - i.e. "My Title".
|
|
1140
1094
|
* @example Hello World
|
|
@@ -1193,11 +1147,6 @@ export interface components {
|
|
|
1193
1147
|
position?: "top" | "topRight" | "right" | "bottomRight" | "bottom" | "bottomLeft" | "left" | "topLeft" | "center";
|
|
1194
1148
|
/** @description Offset the location of the title relative to its position on the screen. */
|
|
1195
1149
|
offset?: components["schemas"]["Offset"];
|
|
1196
|
-
/**
|
|
1197
|
-
* @description discriminator enum property added by openapi-typescript
|
|
1198
|
-
* @enum {string}
|
|
1199
|
-
*/
|
|
1200
|
-
asset: "TitleAsset";
|
|
1201
1150
|
};
|
|
1202
1151
|
/** @description In and out transitions for a clip - i.e. fade in and fade out */
|
|
1203
1152
|
Transition: {
|
|
@@ -1440,6 +1389,8 @@ export interface components {
|
|
|
1440
1389
|
* @example 0.9
|
|
1441
1390
|
*/
|
|
1442
1391
|
opacity: number;
|
|
1392
|
+
/** @description Text stroke (outline) properties. */
|
|
1393
|
+
stroke?: components["schemas"]["RichTextStroke"];
|
|
1443
1394
|
};
|
|
1444
1395
|
/** @description Text style properties including spacing, line height, and transformations. */
|
|
1445
1396
|
RichTextStyle: {
|