@shotstack/schemas 1.20.1 → 1.20.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 +416 -91
- package/dist/json-schema/edit.json +95 -88
- package/dist/json-schema/index.cjs +1 -1
- package/dist/json-schema/index.js +1 -1
- package/dist/schema.d.ts +408 -76
- package/dist/zod/zod.gen.cjs +8 -6
- package/dist/zod/zod.gen.d.ts +14 -2
- package/dist/zod/zod.gen.js +4 -2
- package/dist/zod/zod.gen.ts +6 -2
- package/package.json +3 -2
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
]
|
|
25
25
|
},
|
|
26
26
|
"disk": {
|
|
27
|
-
"description": "**Notice: This option is now deprecated and will be removed. Disk types are handled automatically. Setting a disk type has no effect.**\n\nThe disk type to use for storing footage and assets for each render
|
|
27
|
+
"description": "**Notice: This option is now deprecated and will be removed. Disk types are handled automatically. Setting a disk type has no effect.**\n\nThe disk type to use for storing footage and assets for each render.\n\n- `local` - optimized for high speed rendering with up to 512MB storage\n\n- `mount` - optimized for larger file sizes and longer videos with 5GB for source footage and 512MB for output render",
|
|
28
28
|
"type": "string",
|
|
29
29
|
"enum": [
|
|
30
30
|
"local",
|
|
@@ -732,7 +732,7 @@
|
|
|
732
732
|
]
|
|
733
733
|
},
|
|
734
734
|
{
|
|
735
|
-
"description": "Send videos and assets to [Akamai NetStorage](https://techdocs.akamai.com/netstorage
|
|
735
|
+
"description": "Send videos and assets to [Akamai NetStorage](https://techdocs.akamai.com/netstorage/docs). Send files to your NetStorage upload directory with a custom path and filename. Akamai credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/akamai-netstorage), not in the request.",
|
|
736
736
|
"properties": {
|
|
737
737
|
"provider": {
|
|
738
738
|
"description": "The destination to send assets to - set to `akamai-netstorage` for Akamai NetStorage.",
|
|
@@ -1128,7 +1128,7 @@
|
|
|
1128
1128
|
"description": "The generation model to use when `prompt` is set (e.g. `flux-schnell`, `nano-banana-2`). Defaults to `nano-banana-2` if omitted. Each model's available options are defined by the model registry.",
|
|
1129
1129
|
"type": "string",
|
|
1130
1130
|
"examples": [
|
|
1131
|
-
"
|
|
1131
|
+
"nano-banana-2"
|
|
1132
1132
|
]
|
|
1133
1133
|
},
|
|
1134
1134
|
"options": {
|
|
@@ -1271,7 +1271,7 @@
|
|
|
1271
1271
|
]
|
|
1272
1272
|
},
|
|
1273
1273
|
"MuxDestination": {
|
|
1274
|
-
"description": "Send videos to the [Mux](https://
|
|
1274
|
+
"description": "Send videos to the [Mux](https://www.mux.com/docs) video hosting and streaming service. Mux credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/mux), not in the request.",
|
|
1275
1275
|
"properties": {
|
|
1276
1276
|
"provider": {
|
|
1277
1277
|
"description": "The destination to send video to - set to `mux` for Mux.",
|
|
@@ -1851,7 +1851,7 @@
|
|
|
1851
1851
|
},
|
|
1852
1852
|
"border": {
|
|
1853
1853
|
"description": "Border styling properties for the caption bounding box.",
|
|
1854
|
-
"$ref": "#/$defs/
|
|
1854
|
+
"$ref": "#/$defs/RichTextBorder"
|
|
1855
1855
|
},
|
|
1856
1856
|
"padding": {
|
|
1857
1857
|
"description": "Padding inside the caption bounding box. Can be a single number (applied to all sides) or an object with individual sides.",
|
|
@@ -1865,7 +1865,7 @@
|
|
|
1865
1865
|
]
|
|
1866
1866
|
},
|
|
1867
1867
|
{
|
|
1868
|
-
"$ref": "#/$defs/
|
|
1868
|
+
"$ref": "#/$defs/RichTextPadding"
|
|
1869
1869
|
}
|
|
1870
1870
|
]
|
|
1871
1871
|
},
|
|
@@ -2021,47 +2021,7 @@
|
|
|
2021
2021
|
},
|
|
2022
2022
|
"border": {
|
|
2023
2023
|
"description": "Border styling properties for the text bounding box.",
|
|
2024
|
-
"
|
|
2025
|
-
"width": {
|
|
2026
|
-
"description": "The width of the border in pixels. Must be 0 or greater.",
|
|
2027
|
-
"type": "number",
|
|
2028
|
-
"minimum": 0,
|
|
2029
|
-
"default": 0,
|
|
2030
|
-
"examples": [
|
|
2031
|
-
2
|
|
2032
|
-
]
|
|
2033
|
-
},
|
|
2034
|
-
"color": {
|
|
2035
|
-
"description": "The border color using hexadecimal color notation.",
|
|
2036
|
-
"type": "string",
|
|
2037
|
-
"pattern": "^#[A-Fa-f0-9]{6}$",
|
|
2038
|
-
"default": "#000000",
|
|
2039
|
-
"examples": [
|
|
2040
|
-
"#ff0000"
|
|
2041
|
-
]
|
|
2042
|
-
},
|
|
2043
|
-
"opacity": {
|
|
2044
|
-
"description": "The opacity of the border where 1 is opaque and 0 is transparent.",
|
|
2045
|
-
"type": "number",
|
|
2046
|
-
"minimum": 0,
|
|
2047
|
-
"maximum": 1,
|
|
2048
|
-
"default": 1,
|
|
2049
|
-
"examples": [
|
|
2050
|
-
0.8
|
|
2051
|
-
]
|
|
2052
|
-
},
|
|
2053
|
-
"radius": {
|
|
2054
|
-
"description": "The border radius in pixels for rounded corners. Must be 0 or greater.",
|
|
2055
|
-
"type": "number",
|
|
2056
|
-
"minimum": 0,
|
|
2057
|
-
"default": 0,
|
|
2058
|
-
"examples": [
|
|
2059
|
-
10
|
|
2060
|
-
]
|
|
2061
|
-
}
|
|
2062
|
-
},
|
|
2063
|
-
"additionalProperties": false,
|
|
2064
|
-
"type": "object"
|
|
2024
|
+
"$ref": "#/$defs/RichTextBorder"
|
|
2065
2025
|
},
|
|
2066
2026
|
"padding": {
|
|
2067
2027
|
"description": "Padding inside the text bounding box. Can be a single number (applied to all sides) or an object with individual sides.",
|
|
@@ -2075,47 +2035,7 @@
|
|
|
2075
2035
|
]
|
|
2076
2036
|
},
|
|
2077
2037
|
{
|
|
2078
|
-
"
|
|
2079
|
-
"properties": {
|
|
2080
|
-
"top": {
|
|
2081
|
-
"description": "Top padding in pixels.",
|
|
2082
|
-
"type": "number",
|
|
2083
|
-
"minimum": 0,
|
|
2084
|
-
"default": 0,
|
|
2085
|
-
"examples": [
|
|
2086
|
-
10
|
|
2087
|
-
]
|
|
2088
|
-
},
|
|
2089
|
-
"right": {
|
|
2090
|
-
"description": "Right padding in pixels.",
|
|
2091
|
-
"type": "number",
|
|
2092
|
-
"minimum": 0,
|
|
2093
|
-
"default": 0,
|
|
2094
|
-
"examples": [
|
|
2095
|
-
10
|
|
2096
|
-
]
|
|
2097
|
-
},
|
|
2098
|
-
"bottom": {
|
|
2099
|
-
"description": "Bottom padding in pixels.",
|
|
2100
|
-
"type": "number",
|
|
2101
|
-
"minimum": 0,
|
|
2102
|
-
"default": 0,
|
|
2103
|
-
"examples": [
|
|
2104
|
-
10
|
|
2105
|
-
]
|
|
2106
|
-
},
|
|
2107
|
-
"left": {
|
|
2108
|
-
"description": "Left padding in pixels.",
|
|
2109
|
-
"type": "number",
|
|
2110
|
-
"minimum": 0,
|
|
2111
|
-
"default": 0,
|
|
2112
|
-
"examples": [
|
|
2113
|
-
10
|
|
2114
|
-
]
|
|
2115
|
-
}
|
|
2116
|
-
},
|
|
2117
|
-
"additionalProperties": false,
|
|
2118
|
-
"type": "object"
|
|
2038
|
+
"$ref": "#/$defs/RichTextPadding"
|
|
2119
2039
|
}
|
|
2120
2040
|
]
|
|
2121
2041
|
},
|
|
@@ -2185,6 +2105,50 @@
|
|
|
2185
2105
|
"additionalProperties": false,
|
|
2186
2106
|
"type": "object"
|
|
2187
2107
|
},
|
|
2108
|
+
"RichTextBorder": {
|
|
2109
|
+
"description": "Border styling properties for the text bounding box.",
|
|
2110
|
+
"properties": {
|
|
2111
|
+
"width": {
|
|
2112
|
+
"description": "The width of the border in pixels. Must be 0 or greater.",
|
|
2113
|
+
"type": "number",
|
|
2114
|
+
"minimum": 0,
|
|
2115
|
+
"default": 0,
|
|
2116
|
+
"examples": [
|
|
2117
|
+
2
|
|
2118
|
+
]
|
|
2119
|
+
},
|
|
2120
|
+
"color": {
|
|
2121
|
+
"description": "The border color using hexadecimal color notation.",
|
|
2122
|
+
"type": "string",
|
|
2123
|
+
"pattern": "^#[A-Fa-f0-9]{6}$",
|
|
2124
|
+
"default": "#000000",
|
|
2125
|
+
"examples": [
|
|
2126
|
+
"#ff0000"
|
|
2127
|
+
]
|
|
2128
|
+
},
|
|
2129
|
+
"opacity": {
|
|
2130
|
+
"description": "The opacity of the border where 1 is opaque and 0 is transparent.",
|
|
2131
|
+
"type": "number",
|
|
2132
|
+
"minimum": 0,
|
|
2133
|
+
"maximum": 1,
|
|
2134
|
+
"default": 1,
|
|
2135
|
+
"examples": [
|
|
2136
|
+
0.8
|
|
2137
|
+
]
|
|
2138
|
+
},
|
|
2139
|
+
"radius": {
|
|
2140
|
+
"description": "The border radius in pixels for rounded corners. Must be 0 or greater.",
|
|
2141
|
+
"type": "number",
|
|
2142
|
+
"minimum": 0,
|
|
2143
|
+
"default": 0,
|
|
2144
|
+
"examples": [
|
|
2145
|
+
10
|
|
2146
|
+
]
|
|
2147
|
+
}
|
|
2148
|
+
},
|
|
2149
|
+
"additionalProperties": false,
|
|
2150
|
+
"type": "object"
|
|
2151
|
+
},
|
|
2188
2152
|
"RichTextFont": {
|
|
2189
2153
|
"description": "Font properties for rich text.",
|
|
2190
2154
|
"properties": {
|
|
@@ -2321,6 +2285,49 @@
|
|
|
2321
2285
|
"additionalProperties": false,
|
|
2322
2286
|
"type": "object"
|
|
2323
2287
|
},
|
|
2288
|
+
"RichTextPadding": {
|
|
2289
|
+
"description": "Padding properties for individual sides of the text bounding box.",
|
|
2290
|
+
"properties": {
|
|
2291
|
+
"top": {
|
|
2292
|
+
"description": "Top padding in pixels.",
|
|
2293
|
+
"type": "number",
|
|
2294
|
+
"minimum": 0,
|
|
2295
|
+
"default": 0,
|
|
2296
|
+
"examples": [
|
|
2297
|
+
10
|
|
2298
|
+
]
|
|
2299
|
+
},
|
|
2300
|
+
"right": {
|
|
2301
|
+
"description": "Right padding in pixels.",
|
|
2302
|
+
"type": "number",
|
|
2303
|
+
"minimum": 0,
|
|
2304
|
+
"default": 0,
|
|
2305
|
+
"examples": [
|
|
2306
|
+
10
|
|
2307
|
+
]
|
|
2308
|
+
},
|
|
2309
|
+
"bottom": {
|
|
2310
|
+
"description": "Bottom padding in pixels.",
|
|
2311
|
+
"type": "number",
|
|
2312
|
+
"minimum": 0,
|
|
2313
|
+
"default": 0,
|
|
2314
|
+
"examples": [
|
|
2315
|
+
10
|
|
2316
|
+
]
|
|
2317
|
+
},
|
|
2318
|
+
"left": {
|
|
2319
|
+
"description": "Left padding in pixels.",
|
|
2320
|
+
"type": "number",
|
|
2321
|
+
"minimum": 0,
|
|
2322
|
+
"default": 0,
|
|
2323
|
+
"examples": [
|
|
2324
|
+
10
|
|
2325
|
+
]
|
|
2326
|
+
}
|
|
2327
|
+
},
|
|
2328
|
+
"additionalProperties": false,
|
|
2329
|
+
"type": "object"
|
|
2330
|
+
},
|
|
2324
2331
|
"RichTextShadow": {
|
|
2325
2332
|
"description": "Text shadow properties.",
|
|
2326
2333
|
"properties": {
|