@shotstack/schemas 1.5.9 → 1.7.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.
Files changed (91) hide show
  1. package/README.md +89 -89
  2. package/dist/json-schema/asset.json +3123 -0
  3. package/dist/json-schema/audio-asset.json +180 -0
  4. package/dist/json-schema/caption-asset.json +285 -0
  5. package/dist/json-schema/caption-background.json +61 -0
  6. package/dist/json-schema/caption-font.json +97 -0
  7. package/dist/json-schema/caption-margin.json +49 -0
  8. package/dist/json-schema/chroma-key.json +46 -0
  9. package/dist/json-schema/clip.json +3575 -0
  10. package/dist/json-schema/crop.json +69 -0
  11. package/dist/json-schema/destinations.json +495 -0
  12. package/dist/json-schema/edit.json +4540 -0
  13. package/dist/json-schema/flip-transformation.json +37 -0
  14. package/dist/json-schema/font.json +18 -0
  15. package/dist/json-schema/google-cloud-storage-destination-options.json +42 -0
  16. package/dist/json-schema/google-cloud-storage-destination.json +73 -0
  17. package/dist/json-schema/google-drive-destination-options.json +30 -0
  18. package/dist/json-schema/google-drive-destination.json +54 -0
  19. package/dist/json-schema/image-asset.json +104 -0
  20. package/dist/json-schema/image-to-video-asset.json +151 -0
  21. package/dist/json-schema/index.cjs +1 -0
  22. package/dist/json-schema/index.d.ts +6 -0
  23. package/dist/json-schema/index.js +3 -0
  24. package/dist/json-schema/luma-asset.json +38 -0
  25. package/dist/json-schema/merge-field.json +23 -0
  26. package/dist/json-schema/offset.json +145 -0
  27. package/dist/json-schema/output.json +771 -0
  28. package/dist/json-schema/poster.json +18 -0
  29. package/dist/json-schema/range.json +39 -0
  30. package/dist/json-schema/rich-caption-active-font.json +54 -0
  31. package/dist/json-schema/rich-caption-active.json +154 -0
  32. package/dist/json-schema/rich-caption-asset.json +1098 -0
  33. package/dist/json-schema/rich-caption-word-animation.json +60 -0
  34. package/dist/json-schema/rich-text-alignment.json +47 -0
  35. package/dist/json-schema/rich-text-animation.json +74 -0
  36. package/dist/json-schema/rich-text-asset.json +737 -0
  37. package/dist/json-schema/rich-text-background.json +52 -0
  38. package/dist/json-schema/rich-text-font.json +157 -0
  39. package/dist/json-schema/rich-text-gradient.json +68 -0
  40. package/dist/json-schema/rich-text-shadow.json +79 -0
  41. package/dist/json-schema/rich-text-stroke.json +55 -0
  42. package/dist/json-schema/rich-text-style.json +165 -0
  43. package/dist/json-schema/rotate-transformation.json +123 -0
  44. package/dist/json-schema/s3destination-options.json +59 -0
  45. package/dist/json-schema/s3destination.json +90 -0
  46. package/dist/json-schema/schemas.json +4983 -0
  47. package/dist/json-schema/shape-asset.json +225 -0
  48. package/dist/json-schema/shotstack-destination.json +33 -0
  49. package/dist/json-schema/size.json +41 -0
  50. package/dist/json-schema/skew-transformation.json +145 -0
  51. package/dist/json-schema/soundtrack.json +47 -0
  52. package/dist/json-schema/svg-arrow-shape.json +49 -0
  53. package/dist/json-schema/svg-asset.json +877 -0
  54. package/dist/json-schema/svg-circle-shape.json +28 -0
  55. package/dist/json-schema/svg-cross-shape.json +42 -0
  56. package/dist/json-schema/svg-ellipse-shape.json +35 -0
  57. package/dist/json-schema/svg-fill.json +169 -0
  58. package/dist/json-schema/svg-gradient-stop.json +25 -0
  59. package/dist/json-schema/svg-heart-shape.json +28 -0
  60. package/dist/json-schema/svg-line-shape.json +35 -0
  61. package/dist/json-schema/svg-linear-gradient-fill.json +80 -0
  62. package/dist/json-schema/svg-path-shape.json +26 -0
  63. package/dist/json-schema/svg-polygon-shape.json +35 -0
  64. package/dist/json-schema/svg-radial-gradient-fill.json +66 -0
  65. package/dist/json-schema/svg-rectangle-shape.json +49 -0
  66. package/dist/json-schema/svg-ring-shape.json +35 -0
  67. package/dist/json-schema/svg-shadow.json +79 -0
  68. package/dist/json-schema/svg-shape.json +404 -0
  69. package/dist/json-schema/svg-solid-fill.json +40 -0
  70. package/dist/json-schema/svg-star-shape.json +42 -0
  71. package/dist/json-schema/svg-stroke.json +115 -0
  72. package/dist/json-schema/svg-transform.json +93 -0
  73. package/dist/json-schema/text-to-image-asset.json +128 -0
  74. package/dist/json-schema/text-to-speech-asset.json +209 -0
  75. package/dist/json-schema/thumbnail.json +25 -0
  76. package/dist/json-schema/timeline.json +3703 -0
  77. package/dist/json-schema/track.json +3590 -0
  78. package/dist/json-schema/transformation.json +251 -0
  79. package/dist/json-schema/transition.json +37 -0
  80. package/dist/json-schema/tween.json +90 -0
  81. package/dist/json-schema/video-asset.json +321 -0
  82. package/dist/json-schema/vimeo-destination-options.json +149 -0
  83. package/dist/json-schema/vimeo-destination-privacy-options.json +90 -0
  84. package/dist/json-schema/vimeo-destination.json +178 -0
  85. package/dist/json-schema/word-timing.json +44 -0
  86. package/dist/schema.d.ts +77 -77
  87. package/dist/zod/zod.gen.cjs +1080 -921
  88. package/dist/zod/zod.gen.d.ts +139 -139
  89. package/dist/zod/zod.gen.js +1081 -922
  90. package/dist/zod/zod.gen.ts +1583 -1648
  91. package/package.json +79 -73
package/dist/schema.d.ts CHANGED
@@ -457,7 +457,7 @@ export interface components {
457
457
  * @default s1
458
458
  * @enum {string}
459
459
  */
460
- instance: "s1" | "s2" | "a1";
460
+ instance?: "s1" | "s2" | "a1";
461
461
  };
462
462
  /** @description A timeline represents the contents of a video edit over time, an audio edit over time, in seconds, or an image layout. A timeline consists of layers called tracks. Tracks are composed of titles, images, audio, html or video segments referred to as clips which are placed along the track at specific starting point and lasting for a specific amount of time. */
463
463
  Timeline: {
@@ -748,25 +748,25 @@ export interface components {
748
748
  * @default 0
749
749
  * @example 2
750
750
  */
751
- width: number;
751
+ width?: number;
752
752
  /**
753
753
  * @description The border color using hexadecimal color notation.
754
754
  * @default #000000
755
755
  * @example #ff0000
756
756
  */
757
- color: string;
757
+ color?: string;
758
758
  /**
759
759
  * @description The opacity of the border where 1 is opaque and 0 is transparent.
760
760
  * @default 1
761
761
  * @example 0.8
762
762
  */
763
- opacity: number;
763
+ opacity?: number;
764
764
  /**
765
765
  * @description The border radius in pixels for rounded corners. Must be 0 or greater.
766
766
  * @default 0
767
767
  * @example 10
768
768
  */
769
- radius: number;
769
+ radius?: number;
770
770
  };
771
771
  /** @description Padding inside the text bounding box. Can be a single number (applied to all sides) or an object with individual sides. */
772
772
  padding?: number | {
@@ -775,25 +775,25 @@ export interface components {
775
775
  * @default 0
776
776
  * @example 10
777
777
  */
778
- top: number;
778
+ top?: number;
779
779
  /**
780
780
  * @description Right padding in pixels.
781
781
  * @default 0
782
782
  * @example 10
783
783
  */
784
- right: number;
784
+ right?: number;
785
785
  /**
786
786
  * @description Bottom padding in pixels.
787
787
  * @default 0
788
788
  * @example 10
789
789
  */
790
- bottom: number;
790
+ bottom?: number;
791
791
  /**
792
792
  * @description Left padding in pixels.
793
793
  * @default 0
794
794
  * @example 10
795
795
  */
796
- left: number;
796
+ left?: number;
797
797
  };
798
798
  /** @description Text alignment properties (horizontal and vertical). */
799
799
  align?: components["schemas"]["RichTextAlignment"];
@@ -1020,19 +1020,19 @@ export interface components {
1020
1020
  * @example bottom
1021
1021
  * @enum {string}
1022
1022
  */
1023
- position: "top" | "center" | "bottom";
1023
+ position?: "top" | "center" | "bottom";
1024
1024
  /**
1025
1025
  * @description Maximum width of the caption as a ratio of the frame width. Must be between 0.1 and 1.
1026
1026
  * @default 0.9
1027
1027
  * @example 0.85
1028
1028
  */
1029
- maxWidth: number;
1029
+ maxWidth?: number;
1030
1030
  /**
1031
1031
  * @description Maximum number of lines to display at once. Must be between 1 and 10.
1032
1032
  * @default 2
1033
1033
  * @example 2
1034
1034
  */
1035
- maxLines: number;
1035
+ maxLines?: number;
1036
1036
  };
1037
1037
  /** @description Word-level timing information for caption animation. */
1038
1038
  WordTiming: {
@@ -1064,7 +1064,7 @@ export interface components {
1064
1064
  * @default #ffff00
1065
1065
  * @example #ffff00
1066
1066
  */
1067
- color: string;
1067
+ color?: string;
1068
1068
  /**
1069
1069
  * @description The background color behind the active word using hexadecimal color notation.
1070
1070
  * @example #000000
@@ -1075,7 +1075,7 @@ export interface components {
1075
1075
  * @default 1
1076
1076
  * @example 1
1077
1077
  */
1078
- opacity: number;
1078
+ opacity?: number;
1079
1079
  };
1080
1080
  /** @description Styling properties for the active/highlighted word. */
1081
1081
  RichCaptionActive: {
@@ -1088,7 +1088,7 @@ export interface components {
1088
1088
  * @default 1
1089
1089
  * @example 1.2
1090
1090
  */
1091
- scale: number;
1091
+ scale?: number;
1092
1092
  };
1093
1093
  /** @description Word-level animation properties for caption effects. */
1094
1094
  RichCaptionWordAnimation: {
@@ -1113,14 +1113,14 @@ export interface components {
1113
1113
  * @default 1
1114
1114
  * @example 1
1115
1115
  */
1116
- speed: number;
1116
+ speed?: number;
1117
1117
  /**
1118
1118
  * @description Direction for directional animations (slide). Only applicable when style is `slide`.
1119
1119
  * @default up
1120
1120
  * @example up
1121
1121
  * @enum {string}
1122
1122
  */
1123
- direction: "left" | "right" | "up" | "down";
1123
+ direction?: "left" | "right" | "up" | "down";
1124
1124
  };
1125
1125
  /** @description The TextToImageAsset lets you create a dynamic image from a text prompt. */
1126
1126
  TextToImageAsset: {
@@ -1203,7 +1203,7 @@ export interface components {
1203
1203
  * @description Set the voice to newscaster mode.
1204
1204
  * @default false
1205
1205
  */
1206
- newscaster: boolean;
1206
+ newscaster?: boolean;
1207
1207
  /** @description The start trim point of the audio clip, in seconds (defaults to 0). Audio will start from the trim point. The audio will play until the file ends or the Clip length is reached. */
1208
1208
  trim?: number;
1209
1209
  /** @description Set the volume of the audio clip. Use a number or an array of [Tween](./#tocs_tween) objects to create custom volume transitions. */
@@ -1498,7 +1498,7 @@ export interface components {
1498
1498
  * @default 1
1499
1499
  * @example 1
1500
1500
  */
1501
- opacity: number;
1501
+ opacity?: number;
1502
1502
  /**
1503
1503
  * @description The width of the bounding box in pixels.
1504
1504
  * If specified, the shape may be scaled to fit within this width.
@@ -1550,7 +1550,7 @@ export interface components {
1550
1550
  * @default 0
1551
1551
  * @example 10
1552
1552
  */
1553
- cornerRadius: number;
1553
+ cornerRadius?: number;
1554
1554
  };
1555
1555
  /**
1556
1556
  * @description A perfect circle shape defined by its radius.
@@ -1814,7 +1814,7 @@ export interface components {
1814
1814
  * @default 1
1815
1815
  * @example 0.8
1816
1816
  */
1817
- opacity: number;
1817
+ opacity?: number;
1818
1818
  };
1819
1819
  /**
1820
1820
  * @description A linear gradient fill that transitions colors along a straight line.
@@ -1832,7 +1832,7 @@ export interface components {
1832
1832
  * @default 0
1833
1833
  * @example 45
1834
1834
  */
1835
- angle: number;
1835
+ angle?: number;
1836
1836
  /**
1837
1837
  * @description Array of color stops that define the gradient colors and their positions.
1838
1838
  * Must have at least 2 stops. Offsets should increase from 0 to 1.
@@ -1843,7 +1843,7 @@ export interface components {
1843
1843
  * @default 1
1844
1844
  * @example 1
1845
1845
  */
1846
- opacity: number;
1846
+ opacity?: number;
1847
1847
  };
1848
1848
  /**
1849
1849
  * @description A radial gradient fill that transitions colors radiating outward from a center point.
@@ -1865,7 +1865,7 @@ export interface components {
1865
1865
  * @default 1
1866
1866
  * @example 1
1867
1867
  */
1868
- opacity: number;
1868
+ opacity?: number;
1869
1869
  };
1870
1870
  /**
1871
1871
  * @description A color stop in a gradient. Each stop defines a color at a specific position
@@ -1894,20 +1894,20 @@ export interface components {
1894
1894
  * @default #000000
1895
1895
  * @example #2c3e50
1896
1896
  */
1897
- color: string;
1897
+ color?: string;
1898
1898
  /**
1899
1899
  * @description The width of the stroke in pixels. Must be greater than 0.
1900
1900
  * Larger values create thicker outlines.
1901
1901
  * @default 1
1902
1902
  * @example 2
1903
1903
  */
1904
- width: number;
1904
+ width?: number;
1905
1905
  /**
1906
1906
  * @description The opacity of the stroke where `1` is opaque and `0` is transparent.
1907
1907
  * @default 1
1908
1908
  * @example 1
1909
1909
  */
1910
- opacity: number;
1910
+ opacity?: number;
1911
1911
  /**
1912
1912
  * @description The shape at the end of open paths (lines, polylines, unclosed paths).
1913
1913
  * <ul>
@@ -1919,7 +1919,7 @@ export interface components {
1919
1919
  * @example round
1920
1920
  * @enum {string}
1921
1921
  */
1922
- lineCap: "butt" | "round" | "square";
1922
+ lineCap?: "butt" | "round" | "square";
1923
1923
  /**
1924
1924
  * @description The shape at the corners where two lines meet.
1925
1925
  * <ul>
@@ -1931,7 +1931,7 @@ export interface components {
1931
1931
  * @example round
1932
1932
  * @enum {string}
1933
1933
  */
1934
- lineJoin: "miter" | "round" | "bevel";
1934
+ lineJoin?: "miter" | "round" | "bevel";
1935
1935
  /**
1936
1936
  * @description Pattern of dashes and gaps for the stroke. An array of numbers where
1937
1937
  * odd indices are dash lengths and even indices are gap lengths.
@@ -1949,7 +1949,7 @@ export interface components {
1949
1949
  * @default 0
1950
1950
  * @example 5
1951
1951
  */
1952
- dashOffset: number;
1952
+ dashOffset?: number;
1953
1953
  };
1954
1954
  /** @description Drop shadow properties for SVG shapes. Creates a shadow effect behind the shape. */
1955
1955
  SvgShadow: {
@@ -1959,32 +1959,32 @@ export interface components {
1959
1959
  * @default 0
1960
1960
  * @example 4
1961
1961
  */
1962
- offsetX: number;
1962
+ offsetX?: number;
1963
1963
  /**
1964
1964
  * @description Vertical offset of the shadow in pixels.
1965
1965
  * Positive values move the shadow down, negative values move it up.
1966
1966
  * @default 0
1967
1967
  * @example 4
1968
1968
  */
1969
- offsetY: number;
1969
+ offsetY?: number;
1970
1970
  /**
1971
1971
  * @description The blur radius of the shadow in pixels. Must be 0 or greater.
1972
1972
  * @default 0
1973
1973
  * @example 8
1974
1974
  */
1975
- blur: number;
1975
+ blur?: number;
1976
1976
  /**
1977
1977
  * @description The shadow color using hexadecimal color notation.
1978
1978
  * @default #000000
1979
1979
  * @example #000000
1980
1980
  */
1981
- color: string;
1981
+ color?: string;
1982
1982
  /**
1983
1983
  * @description The opacity of the shadow where `1` is opaque and `0` is transparent.
1984
1984
  * @default 0.5
1985
1985
  * @example 0.3
1986
1986
  */
1987
- opacity: number;
1987
+ opacity?: number;
1988
1988
  };
1989
1989
  /** @description Transformation properties for positioning, rotating, and scaling SVG shapes. */
1990
1990
  SvgTransform: {
@@ -1994,42 +1994,42 @@ export interface components {
1994
1994
  * @default 0
1995
1995
  * @example 100
1996
1996
  */
1997
- x: number;
1997
+ x?: number;
1998
1998
  /**
1999
1999
  * @description The y-coordinate position of the shape in pixels.
2000
2000
  * Relative to the top-left corner of the viewport.
2001
2001
  * @default 0
2002
2002
  * @example 100
2003
2003
  */
2004
- y: number;
2004
+ y?: number;
2005
2005
  /**
2006
2006
  * @description Rotation angle in degrees. Positive values rotate clockwise,
2007
2007
  * negative values rotate counter-clockwise. Range: -360 to 360.
2008
2008
  * @default 0
2009
2009
  * @example 45
2010
2010
  */
2011
- rotation: number;
2011
+ rotation?: number;
2012
2012
  /**
2013
2013
  * @description Scale factor for the shape. `1` is original size, `2` is double size,
2014
2014
  * `0.5` is half size. Must be greater than 0.
2015
2015
  * @default 1
2016
2016
  * @example 1.5
2017
2017
  */
2018
- scale: number;
2018
+ scale?: number;
2019
2019
  /**
2020
2020
  * @description The x-coordinate of the transformation origin as a value from 0 to 1.
2021
2021
  * `0` is the left edge, `0.5` is the center, `1` is the right edge.
2022
2022
  * @default 0.5
2023
2023
  * @example 0.5
2024
2024
  */
2025
- originX: number;
2025
+ originX?: number;
2026
2026
  /**
2027
2027
  * @description The y-coordinate of the transformation origin as a value from 0 to 1.
2028
2028
  * `0` is the top edge, `0.5` is the center, `1` is the bottom edge.
2029
2029
  * @default 0.5
2030
2030
  * @example 0.5
2031
2031
  */
2032
- originY: number;
2032
+ originY?: number;
2033
2033
  };
2034
2034
  /** @description In and out transitions for a clip - i.e. fade in and fade out */
2035
2035
  Transition: {
@@ -2241,30 +2241,30 @@ export interface components {
2241
2241
  * @default Open Sans
2242
2242
  * @example Open Sans
2243
2243
  */
2244
- family: string;
2244
+ family?: string;
2245
2245
  /**
2246
2246
  * @description The size of the font in pixels (px). Must be between 1 and 500.
2247
2247
  * @default 24
2248
2248
  * @example 48
2249
2249
  */
2250
- size: number;
2250
+ size?: number;
2251
2251
  /**
2252
2252
  * @description The weight of the font. Can be a number (100-900) or a string ('normal', 'bold', etc.). 100 is lightest, 900 is heaviest (boldest).
2253
2253
  * @default 400
2254
2254
  */
2255
- weight: unknown;
2255
+ weight?: unknown;
2256
2256
  /**
2257
2257
  * @description The text color using hexadecimal color notation.
2258
2258
  * @default #000000
2259
2259
  * @example #ff0000
2260
2260
  */
2261
- color: string;
2261
+ color?: string;
2262
2262
  /**
2263
2263
  * @description The opacity of the text where 1 is opaque and 0 is transparent.
2264
2264
  * @default 1
2265
2265
  * @example 0.9
2266
2266
  */
2267
- opacity: number;
2267
+ opacity?: number;
2268
2268
  /**
2269
2269
  * @description The background color behind the text using hexadecimal color notation.
2270
2270
  * @example #000000
@@ -2280,33 +2280,33 @@ export interface components {
2280
2280
  * @default 0
2281
2281
  * @example 2
2282
2282
  */
2283
- letterSpacing: number;
2283
+ letterSpacing?: number;
2284
2284
  /**
2285
2285
  * @description Additional spacing between words in pixels. A value of 0 uses the font's natural space width.
2286
2286
  * @default 0
2287
2287
  * @example 10
2288
2288
  */
2289
- wordSpacing: number;
2289
+ wordSpacing?: number;
2290
2290
  /**
2291
2291
  * @description The line height as a multiplier of the font size. Must be between 0 and 10.
2292
2292
  * @default 1.2
2293
2293
  * @example 1.5
2294
2294
  */
2295
- lineHeight: number;
2295
+ lineHeight?: number;
2296
2296
  /**
2297
2297
  * @description Text transformation to apply.
2298
2298
  * @default none
2299
2299
  * @example uppercase
2300
2300
  * @enum {string}
2301
2301
  */
2302
- textTransform: "none" | "uppercase" | "lowercase" | "capitalize";
2302
+ textTransform?: "none" | "uppercase" | "lowercase" | "capitalize";
2303
2303
  /**
2304
2304
  * @description Text decoration to apply.
2305
2305
  * @default none
2306
2306
  * @example underline
2307
2307
  * @enum {string}
2308
2308
  */
2309
- textDecoration: "none" | "underline" | "line-through";
2309
+ textDecoration?: "none" | "underline" | "line-through";
2310
2310
  /** @description Gradient fill for text instead of solid color. */
2311
2311
  gradient?: components["schemas"]["RichTextGradient"];
2312
2312
  };
@@ -2318,13 +2318,13 @@ export interface components {
2318
2318
  * @example linear
2319
2319
  * @enum {string}
2320
2320
  */
2321
- type: "linear" | "radial";
2321
+ type?: "linear" | "radial";
2322
2322
  /**
2323
2323
  * @description The angle of the gradient in degrees (for linear gradients). Must be between 0 and 360.
2324
2324
  * @default 0
2325
2325
  * @example 45
2326
2326
  */
2327
- angle: number;
2327
+ angle?: number;
2328
2328
  /** @description Gradient color stops. Must have at least 2 stops. */
2329
2329
  stops: {
2330
2330
  /**
@@ -2346,19 +2346,19 @@ export interface components {
2346
2346
  * @default 0
2347
2347
  * @example 2
2348
2348
  */
2349
- width: number;
2349
+ width?: number;
2350
2350
  /**
2351
2351
  * @description The stroke color using hexadecimal color notation.
2352
2352
  * @default #000000
2353
2353
  * @example #000000
2354
2354
  */
2355
- color: string;
2355
+ color?: string;
2356
2356
  /**
2357
2357
  * @description The opacity of the stroke where 1 is opaque and 0 is transparent.
2358
2358
  * @default 1
2359
2359
  * @example 0.8
2360
2360
  */
2361
- opacity: number;
2361
+ opacity?: number;
2362
2362
  };
2363
2363
  /** @description Text shadow properties. */
2364
2364
  RichTextShadow: {
@@ -2367,31 +2367,31 @@ export interface components {
2367
2367
  * @default 0
2368
2368
  * @example 4
2369
2369
  */
2370
- offsetX: number;
2370
+ offsetX?: number;
2371
2371
  /**
2372
2372
  * @description Vertical offset of the shadow in pixels. Positive values move down, negative up.
2373
2373
  * @default 0
2374
2374
  * @example 4
2375
2375
  */
2376
- offsetY: number;
2376
+ offsetY?: number;
2377
2377
  /**
2378
2378
  * @description The blur radius of the shadow in pixels. Must be 0 or greater.
2379
2379
  * @default 0
2380
2380
  * @example 8
2381
2381
  */
2382
- blur: number;
2382
+ blur?: number;
2383
2383
  /**
2384
2384
  * @description The shadow color using hexadecimal color notation.
2385
2385
  * @default #000000
2386
2386
  * @example #000000
2387
2387
  */
2388
- color: string;
2388
+ color?: string;
2389
2389
  /**
2390
2390
  * @description The opacity of the shadow where 1 is opaque and 0 is transparent.
2391
2391
  * @default 0.5
2392
2392
  * @example 0.7
2393
2393
  */
2394
- opacity: number;
2394
+ opacity?: number;
2395
2395
  };
2396
2396
  /** @description Background styling properties for the text bounding box. */
2397
2397
  RichTextBackground: {
@@ -2405,13 +2405,13 @@ export interface components {
2405
2405
  * @default 1
2406
2406
  * @example 0.5
2407
2407
  */
2408
- opacity: number;
2408
+ opacity?: number;
2409
2409
  /**
2410
2410
  * @description The border radius of the background box in pixels. Must be 0 or greater.
2411
2411
  * @default 0
2412
2412
  * @example 10
2413
2413
  */
2414
- borderRadius: number;
2414
+ borderRadius?: number;
2415
2415
  };
2416
2416
  /** @description Text alignment properties (horizontal and vertical). */
2417
2417
  RichTextAlignment: {
@@ -2421,14 +2421,14 @@ export interface components {
2421
2421
  * @example center
2422
2422
  * @enum {string}
2423
2423
  */
2424
- horizontal: "left" | "center" | "right";
2424
+ horizontal?: "left" | "center" | "right";
2425
2425
  /**
2426
2426
  * @description The vertical alignment of the text within the bounding box.
2427
2427
  * @default middle
2428
2428
  * @example middle
2429
2429
  * @enum {string}
2430
2430
  */
2431
- vertical: "top" | "middle" | "bottom";
2431
+ vertical?: "top" | "middle" | "bottom";
2432
2432
  };
2433
2433
  /** @description Animation properties for text entrance effects. */
2434
2434
  RichTextAnimation: {
@@ -2799,22 +2799,22 @@ export interface components {
2799
2799
  * @default private
2800
2800
  * @enum {string}
2801
2801
  */
2802
- privacyLevel: "public" | "friends" | "private";
2802
+ privacyLevel?: "public" | "friends" | "private";
2803
2803
  /**
2804
2804
  * @description Disable the Duet feature for this video.
2805
2805
  * @default false
2806
2806
  */
2807
- disableDuet: boolean;
2807
+ disableDuet?: boolean;
2808
2808
  /**
2809
2809
  * @description Disable the Stitch feature for this video.
2810
2810
  * @default false
2811
2811
  */
2812
- disableStitch: boolean;
2812
+ disableStitch?: boolean;
2813
2813
  /**
2814
2814
  * @description Disable comments on this video.
2815
2815
  * @default false
2816
2816
  */
2817
- disableComment: boolean;
2817
+ disableComment?: boolean;
2818
2818
  };
2819
2819
  };
2820
2820
  /** @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. */
@@ -3450,12 +3450,12 @@ export interface components {
3450
3450
  * @default en-US
3451
3451
  * @enum {string}
3452
3452
  */
3453
- language: "cmn-CN" | "da-DK" | "de-DE" | "en-AU" | "en-GB" | "en-IN" | "en-US" | "es-ES" | "es-MX" | "es-US" | "fr-CA" | "fr-FR" | "it-IT" | "ja-JP" | "hi-IN" | "ko-KR" | "nb-NO" | "nl-NL" | "pl-PL" | "pt-BR" | "pt-PT" | "sv-SE" | "en-NZ" | "en-ZA" | "ca-ES" | "de-AT" | "yue-CN" | "ar-AE" | "fi-FI";
3453
+ language?: "cmn-CN" | "da-DK" | "de-DE" | "en-AU" | "en-GB" | "en-IN" | "en-US" | "es-ES" | "es-MX" | "es-US" | "fr-CA" | "fr-FR" | "it-IT" | "ja-JP" | "hi-IN" | "ko-KR" | "nb-NO" | "nl-NL" | "pl-PL" | "pt-BR" | "pt-PT" | "sv-SE" | "en-NZ" | "en-ZA" | "ca-ES" | "de-AT" | "yue-CN" | "ar-AE" | "fi-FI";
3454
3454
  /**
3455
3455
  * @description Set the voice to newscaster mode.<br /><br /> *Only Matthew and Joanna for US English (en-US), Lupe for US Spanish (es-US), and Amy for British English (en-GB) are available in the newscaster voice.
3456
3456
  * @default false
3457
3457
  */
3458
- newscaster: boolean;
3458
+ newscaster?: boolean;
3459
3459
  };
3460
3460
  /** @description Options for the Shotstack text-to-image service. Set a text prompt to generate an image from. The output will be generated as a PNG file available at the URL returned in the response. */
3461
3461
  ShotstackTextToImageOptions: {
@@ -3499,13 +3499,13 @@ export interface components {
3499
3499
  * @default 1.8
3500
3500
  * @example 1.8
3501
3501
  */
3502
- guidanceScale: number;
3502
+ guidanceScale?: number;
3503
3503
  /**
3504
3504
  * @description The amount of motion in the video. A number between 1 and 255.
3505
3505
  * @default 127
3506
3506
  * @example 127
3507
3507
  */
3508
- motion: number;
3508
+ motion?: number;
3509
3509
  };
3510
3510
  /** @description Options for the Shotstack text-generator service. Set a text prompt that will be used to generate a new body of text. The output will be generated as a text (txt) file available at the URL returned in the response. */
3511
3511
  ShotstackTextGeneratorOptions: {
@@ -3875,7 +3875,7 @@ export interface components {
3875
3875
  * @example stable-diffusion-xl-1024-v1-0
3876
3876
  * @enum {string}
3877
3877
  */
3878
- engine: "stable-diffusion-xl-1024-v0-9" | "stable-diffusion-xl-1024-v1-0" | "stable-diffusion-v1-6" | "stable-diffusion-512-v2-1" | "stable-diffusion-xl-beta-v2-2-2";
3878
+ engine?: "stable-diffusion-xl-1024-v0-9" | "stable-diffusion-xl-1024-v1-0" | "stable-diffusion-v1-6" | "stable-diffusion-512-v2-1" | "stable-diffusion-xl-beta-v2-2-2";
3879
3879
  /**
3880
3880
  * @description The width of the image in pixels. Must be divisible by 64.
3881
3881
  * @example 512
@@ -3891,19 +3891,19 @@ export interface components {
3891
3891
  * @default 30
3892
3892
  * @example 30
3893
3893
  */
3894
- steps: number;
3894
+ steps?: number;
3895
3895
  /**
3896
3896
  * @description Using the same seed can help you create images that look similar. Set to 0 for a random seed. A number between 0 and 4294967295.
3897
3897
  * @default 0
3898
3898
  * @example 0
3899
3899
  */
3900
- seed: number;
3900
+ seed?: number;
3901
3901
  /**
3902
3902
  * @description Determines how closely the generated image will match the prompt. Lower numbers allow for more creative freedom. A number between 0 and 35.
3903
3903
  * @default 7
3904
3904
  * @example 7
3905
3905
  */
3906
- cfgScale: number;
3906
+ cfgScale?: number;
3907
3907
  /**
3908
3908
  * @description Apply a preset to generate an image in a particular style. Select from the list of available presets: <ul>
3909
3909
  * <li>`3d-model`</li>