@wix/auto_sdk_multilingual_machine-translation 1.0.41 → 1.0.43

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 (50) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +296 -17
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +272 -32
  5. package/build/cjs/index.typings.js +296 -17
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +272 -32
  8. package/build/cjs/meta.js +296 -17
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +677 -0
  11. package/build/cjs/schemas.js +760 -0
  12. package/build/cjs/schemas.js.map +1 -0
  13. package/build/es/index.d.mts +1 -1
  14. package/build/es/index.mjs +287 -17
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +272 -32
  17. package/build/es/index.typings.mjs +287 -17
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +272 -32
  20. package/build/es/meta.mjs +287 -17
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +677 -0
  23. package/build/es/schemas.mjs +720 -0
  24. package/build/es/schemas.mjs.map +1 -0
  25. package/build/internal/cjs/index.d.ts +1 -1
  26. package/build/internal/cjs/index.js +296 -17
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +272 -32
  29. package/build/internal/cjs/index.typings.js +296 -17
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +272 -32
  32. package/build/internal/cjs/meta.js +296 -17
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +677 -0
  35. package/build/internal/cjs/schemas.js +760 -0
  36. package/build/internal/cjs/schemas.js.map +1 -0
  37. package/build/internal/es/index.d.mts +1 -1
  38. package/build/internal/es/index.mjs +287 -17
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +272 -32
  41. package/build/internal/es/index.typings.mjs +287 -17
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +272 -32
  44. package/build/internal/es/meta.mjs +287 -17
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +677 -0
  47. package/build/internal/es/schemas.mjs +720 -0
  48. package/build/internal/es/schemas.mjs.map +1 -0
  49. package/package.json +12 -5
  50. package/schemas/package.json +3 -0
@@ -47,8 +47,6 @@ interface TranslatableContentContentOneOf {
47
47
  richContent?: RichContent;
48
48
  }
49
49
  declare enum Format {
50
- /** Unspecified format. */
51
- UNKNOWN_FORMAT = "UNKNOWN_FORMAT",
52
50
  /** Plain text content. */
53
51
  PLAIN_TEXT = "PLAIN_TEXT",
54
52
  /** HTML content. */
@@ -57,7 +55,7 @@ declare enum Format {
57
55
  RICH = "RICH"
58
56
  }
59
57
  /** @enumType */
60
- type FormatWithLiterals = Format | 'UNKNOWN_FORMAT' | 'PLAIN_TEXT' | 'HTML' | 'RICH';
58
+ type FormatWithLiterals = Format | 'PLAIN_TEXT' | 'HTML' | 'RICH';
61
59
  interface RichContent {
62
60
  /** Node objects representing a rich content document. */
63
61
  nodes?: Node[];
@@ -125,6 +123,10 @@ interface Node extends NodeDataOneOf {
125
123
  layoutCellData?: LayoutCellData;
126
124
  /** Data for a shape node. */
127
125
  shapeData?: ShapeData;
126
+ /** Data for a card node. */
127
+ cardData?: CardData;
128
+ /** Data for a table of contents node. */
129
+ tocData?: TocData;
128
130
  /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
129
131
  type?: NodeTypeWithLiterals;
130
132
  /** Node ID. */
@@ -194,6 +196,10 @@ interface NodeDataOneOf {
194
196
  layoutCellData?: LayoutCellData;
195
197
  /** Data for a shape node. */
196
198
  shapeData?: ShapeData;
199
+ /** Data for a card node. */
200
+ cardData?: CardData;
201
+ /** Data for a table of contents node. */
202
+ tocData?: TocData;
197
203
  }
198
204
  declare enum NodeType {
199
205
  PARAGRAPH = "PARAGRAPH",
@@ -230,10 +236,12 @@ declare enum NodeType {
230
236
  CAPTION = "CAPTION",
231
237
  LAYOUT = "LAYOUT",
232
238
  LAYOUT_CELL = "LAYOUT_CELL",
233
- SHAPE = "SHAPE"
239
+ SHAPE = "SHAPE",
240
+ CARD = "CARD",
241
+ TOC = "TOC"
234
242
  }
235
243
  /** @enumType */
236
- type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE';
244
+ type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD' | 'TOC';
237
245
  interface NodeStyle {
238
246
  /** The top padding value in pixels. */
239
247
  paddingTop?: string | null;
@@ -254,6 +262,55 @@ interface ButtonData {
254
262
  /** Button link details. */
255
263
  link?: Link;
256
264
  }
265
+ /** Background type */
266
+ declare enum BackgroundType {
267
+ /** Solid color background */
268
+ COLOR = "COLOR",
269
+ /** Gradient background */
270
+ GRADIENT = "GRADIENT"
271
+ }
272
+ /** @enumType */
273
+ type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'GRADIENT';
274
+ interface Gradient {
275
+ /** Gradient type. */
276
+ type?: GradientTypeWithLiterals;
277
+ /**
278
+ * Color stops for the gradient.
279
+ * @maxSize 1000
280
+ */
281
+ stops?: Stop[];
282
+ /** Angle in degrees for linear gradient (0-360). */
283
+ angle?: number | null;
284
+ /**
285
+ * Horizontal center position for radial gradient (0-100).
286
+ * @max 100
287
+ */
288
+ centerX?: number | null;
289
+ /**
290
+ * Vertical center position for radial gradient (0-100).
291
+ * @max 100
292
+ */
293
+ centerY?: number | null;
294
+ }
295
+ /** Gradient type. */
296
+ declare enum GradientType {
297
+ /** Linear gradient. */
298
+ LINEAR = "LINEAR",
299
+ /** Radial gradient. */
300
+ RADIAL = "RADIAL"
301
+ }
302
+ /** @enumType */
303
+ type GradientTypeWithLiterals = GradientType | 'LINEAR' | 'RADIAL';
304
+ /** A single color stop in the gradient. */
305
+ interface Stop {
306
+ /**
307
+ * Stop color as hex value.
308
+ * @format COLOR_HEX
309
+ */
310
+ color?: string | null;
311
+ /** Stop position (0-1). */
312
+ position?: number | null;
313
+ }
257
314
  interface Border {
258
315
  /**
259
316
  * Deprecated: Use `borderWidth` in `styles` instead.
@@ -283,6 +340,18 @@ interface Colors {
283
340
  */
284
341
  background?: string | null;
285
342
  }
343
+ /** Background styling (color or gradient) */
344
+ interface Background {
345
+ /** Background type. */
346
+ type?: BackgroundTypeWithLiterals;
347
+ /**
348
+ * Background color as a hexadecimal value.
349
+ * @format COLOR_HEX
350
+ */
351
+ color?: string | null;
352
+ /** Gradient configuration. */
353
+ gradient?: Gradient;
354
+ }
286
355
  interface PluginContainerData {
287
356
  /** The width of the node when it's displayed. */
288
357
  width?: PluginContainerDataWidth;
@@ -403,17 +472,23 @@ interface Styles {
403
472
  */
404
473
  textColorHover?: string | null;
405
474
  /**
406
- * Background color as a hexadecimal value.
475
+ * Deprecated: Use `background` instead.
407
476
  * @format COLOR_HEX
477
+ * @deprecated
408
478
  */
409
479
  backgroundColor?: string | null;
410
480
  /**
411
- * Background color as a hexadecimal value (hover state).
481
+ * Deprecated: Use `backgroundHover` instead.
412
482
  * @format COLOR_HEX
483
+ * @deprecated
413
484
  */
414
485
  backgroundColorHover?: string | null;
415
486
  /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
416
487
  buttonSize?: string | null;
488
+ /** Background styling (color or gradient). */
489
+ background?: Background;
490
+ /** Background styling for hover state (color or gradient). */
491
+ backgroundHover?: Background;
417
492
  }
418
493
  interface Link extends LinkDataOneOf {
419
494
  /** The absolute URL for the linked document. */
@@ -795,6 +870,8 @@ interface HTMLData extends HTMLDataDataOneOf {
795
870
  * @deprecated
796
871
  */
797
872
  isAdsense?: boolean | null;
873
+ /** The WixelWidget ID for AI_WIDGET source nodes. */
874
+ widgetId?: string;
798
875
  /** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
799
876
  containerData?: PluginContainerData;
800
877
  /** The type of HTML code. */
@@ -813,14 +890,17 @@ interface HTMLDataDataOneOf {
813
890
  * @deprecated
814
891
  */
815
892
  isAdsense?: boolean | null;
893
+ /** The WixelWidget ID for AI_WIDGET source nodes. */
894
+ widgetId?: string;
816
895
  }
817
896
  declare enum Source {
818
897
  HTML = "HTML",
819
898
  ADSENSE = "ADSENSE",
820
- AI = "AI"
899
+ AI = "AI",
900
+ AI_WIDGET = "AI_WIDGET"
821
901
  }
822
902
  /** @enumType */
823
- type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI';
903
+ type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI' | 'AI_WIDGET';
824
904
  interface ImageData {
825
905
  /** Styling for the image's container. */
826
906
  containerData?: PluginContainerData;
@@ -1050,7 +1130,7 @@ interface OptionLayout {
1050
1130
  /** Sets whether to display option images. Defaults to `false`. */
1051
1131
  enableImage?: boolean | null;
1052
1132
  }
1053
- declare enum BackgroundType {
1133
+ declare enum PollDesignBackgroundType {
1054
1134
  /** Color background type */
1055
1135
  COLOR = "COLOR",
1056
1136
  /** Image background type */
@@ -1059,8 +1139,8 @@ declare enum BackgroundType {
1059
1139
  GRADIENT = "GRADIENT"
1060
1140
  }
1061
1141
  /** @enumType */
1062
- type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
1063
- interface Gradient {
1142
+ type PollDesignBackgroundTypeWithLiterals = PollDesignBackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
1143
+ interface BackgroundGradient {
1064
1144
  /** The gradient angle in degrees. */
1065
1145
  angle?: number | null;
1066
1146
  /**
@@ -1074,7 +1154,7 @@ interface Gradient {
1074
1154
  */
1075
1155
  lastColor?: string | null;
1076
1156
  }
1077
- interface Background extends BackgroundBackgroundOneOf {
1157
+ interface PollDesignBackground extends PollDesignBackgroundBackgroundOneOf {
1078
1158
  /**
1079
1159
  * The background color as a hexademical value.
1080
1160
  * @format COLOR_HEX
@@ -1083,12 +1163,12 @@ interface Background extends BackgroundBackgroundOneOf {
1083
1163
  /** An image to use for the background. */
1084
1164
  image?: Media;
1085
1165
  /** Details for a gradient background. */
1086
- gradient?: Gradient;
1166
+ gradient?: BackgroundGradient;
1087
1167
  /** Background type. For each option, include the relevant details. */
1088
- type?: BackgroundTypeWithLiterals;
1168
+ type?: PollDesignBackgroundTypeWithLiterals;
1089
1169
  }
1090
1170
  /** @oneof */
1091
- interface BackgroundBackgroundOneOf {
1171
+ interface PollDesignBackgroundBackgroundOneOf {
1092
1172
  /**
1093
1173
  * The background color as a hexademical value.
1094
1174
  * @format COLOR_HEX
@@ -1097,11 +1177,11 @@ interface BackgroundBackgroundOneOf {
1097
1177
  /** An image to use for the background. */
1098
1178
  image?: Media;
1099
1179
  /** Details for a gradient background. */
1100
- gradient?: Gradient;
1180
+ gradient?: BackgroundGradient;
1101
1181
  }
1102
1182
  interface PollDesign {
1103
1183
  /** Background styling. */
1104
- background?: Background;
1184
+ background?: PollDesignBackground;
1105
1185
  /** Border radius in pixels. */
1106
1186
  borderRadius?: number | null;
1107
1187
  }
@@ -1784,12 +1864,13 @@ interface CaptionData {
1784
1864
  }
1785
1865
  interface LayoutData {
1786
1866
  /**
1787
- * Background color as a hexadecimal value.
1867
+ * Deprecated: Use `background` instead.
1788
1868
  * @format COLOR_HEX
1869
+ * @deprecated
1789
1870
  */
1790
1871
  backgroundColor?: string | null;
1791
1872
  /** Background image. */
1792
- backgroundImage?: BackgroundImage;
1873
+ backgroundImage?: LayoutDataBackgroundImage;
1793
1874
  /**
1794
1875
  * Border color as a hexadecimal value.
1795
1876
  * @format COLOR_HEX
@@ -1797,15 +1878,16 @@ interface LayoutData {
1797
1878
  borderColor?: string | null;
1798
1879
  /** Border width in pixels. */
1799
1880
  borderWidth?: number | null;
1800
- /** Border */
1881
+ /** Border radius in pixels. */
1801
1882
  borderRadius?: number | null;
1802
1883
  /**
1803
- * Backdrop color as a hexadecimal value.
1884
+ * Deprecated: Use `backdrop` instead.
1804
1885
  * @format COLOR_HEX
1886
+ * @deprecated
1805
1887
  */
1806
1888
  backdropColor?: string | null;
1807
- /** Backdrop image.radius in pixels. */
1808
- backdropImage?: BackgroundImage;
1889
+ /** Backdrop image. */
1890
+ backdropImage?: LayoutDataBackgroundImage;
1809
1891
  /** Backdrop top padding. */
1810
1892
  backdropPaddingTop?: number | null;
1811
1893
  /** Backdrop bottom padding */
@@ -1829,8 +1911,12 @@ interface LayoutData {
1829
1911
  designTarget?: DesignTargetWithLiterals;
1830
1912
  /** Banner configuration. When present, this layout is displayed as a banner. */
1831
1913
  banner?: Banner;
1914
+ /** Background styling (color or gradient). */
1915
+ background?: LayoutDataBackground;
1916
+ /** Backdrop styling (color or gradient). */
1917
+ backdrop?: Backdrop;
1832
1918
  }
1833
- declare enum Scaling {
1919
+ declare enum ImageScalingScaling {
1834
1920
  /** Auto image scaling */
1835
1921
  AUTO = "AUTO",
1836
1922
  /** Contain image scaling */
@@ -1839,7 +1925,7 @@ declare enum Scaling {
1839
1925
  COVER = "COVER"
1840
1926
  }
1841
1927
  /** @enumType */
1842
- type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';
1928
+ type ImageScalingScalingWithLiterals = ImageScalingScaling | 'AUTO' | 'CONTAIN' | 'COVER';
1843
1929
  declare enum ImagePosition {
1844
1930
  /** Image positioned at the center */
1845
1931
  CENTER = "CENTER",
@@ -1870,13 +1956,31 @@ declare enum Origin {
1870
1956
  }
1871
1957
  /** @enumType */
1872
1958
  type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';
1873
- interface BackgroundImage {
1959
+ /** Background type */
1960
+ declare enum LayoutDataBackgroundType {
1961
+ /** Solid color background */
1962
+ COLOR = "COLOR",
1963
+ /** Gradient background */
1964
+ GRADIENT = "GRADIENT"
1965
+ }
1966
+ /** @enumType */
1967
+ type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
1968
+ /** Backdrop type */
1969
+ declare enum BackdropType {
1970
+ /** Solid color backdrop */
1971
+ COLOR = "COLOR",
1972
+ /** Gradient backdrop */
1973
+ GRADIENT = "GRADIENT"
1974
+ }
1975
+ /** @enumType */
1976
+ type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';
1977
+ interface LayoutDataBackgroundImage {
1874
1978
  /** Background image. */
1875
1979
  media?: Media;
1876
1980
  /** Background image opacity. */
1877
1981
  opacity?: number | null;
1878
1982
  /** Background image scaling. */
1879
- scaling?: ScalingWithLiterals;
1983
+ scaling?: ImageScalingScalingWithLiterals;
1880
1984
  /** Position of background. Defaults to `CENTER`. */
1881
1985
  position?: ImagePositionWithLiterals;
1882
1986
  }
@@ -1910,6 +2014,30 @@ interface Banner {
1910
2014
  /** Origin of the banner */
1911
2015
  origin?: OriginWithLiterals;
1912
2016
  }
2017
+ /** Background styling (color or gradient) */
2018
+ interface LayoutDataBackground {
2019
+ /** Background type. */
2020
+ type?: LayoutDataBackgroundTypeWithLiterals;
2021
+ /**
2022
+ * Background color as a hexadecimal value.
2023
+ * @format COLOR_HEX
2024
+ */
2025
+ color?: string | null;
2026
+ /** Gradient configuration. */
2027
+ gradient?: Gradient;
2028
+ }
2029
+ /** Backdrop styling (color or gradient) */
2030
+ interface Backdrop {
2031
+ /** Backdrop type. */
2032
+ type?: BackdropTypeWithLiterals;
2033
+ /**
2034
+ * Backdrop color as a hexadecimal value.
2035
+ * @format COLOR_HEX
2036
+ */
2037
+ color?: string | null;
2038
+ /** Gradient configuration. */
2039
+ gradient?: Gradient;
2040
+ }
1913
2041
  interface LayoutCellData {
1914
2042
  /** Size of the cell in 12 columns grid. */
1915
2043
  colSpan?: number | null;
@@ -1931,6 +2059,120 @@ interface ShapeDataStyles {
1931
2059
  /** Map of original color keys to their new color values. */
1932
2060
  colors?: Record<string, string>;
1933
2061
  }
2062
+ interface CardData {
2063
+ /** Background styling (color or gradient). */
2064
+ background?: CardDataBackground;
2065
+ /** Background image. */
2066
+ backgroundImage?: BackgroundImage;
2067
+ }
2068
+ declare enum Scaling {
2069
+ /** Auto image scaling */
2070
+ AUTO = "AUTO",
2071
+ /** Contain image scaling */
2072
+ CONTAIN = "CONTAIN",
2073
+ /** Cover image scaling */
2074
+ COVER = "COVER"
2075
+ }
2076
+ /** @enumType */
2077
+ type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';
2078
+ declare enum ImagePositionPosition {
2079
+ /** Image positioned at the center */
2080
+ CENTER = "CENTER",
2081
+ /** Image positioned on the left */
2082
+ CENTER_LEFT = "CENTER_LEFT",
2083
+ /** Image positioned on the right */
2084
+ CENTER_RIGHT = "CENTER_RIGHT",
2085
+ /** Image positioned at the center top */
2086
+ TOP = "TOP",
2087
+ /** Image positioned at the top left */
2088
+ TOP_LEFT = "TOP_LEFT",
2089
+ /** Image positioned at the top right */
2090
+ TOP_RIGHT = "TOP_RIGHT",
2091
+ /** Image positioned at the center bottom */
2092
+ BOTTOM = "BOTTOM",
2093
+ /** Image positioned at the bottom left */
2094
+ BOTTOM_LEFT = "BOTTOM_LEFT",
2095
+ /** Image positioned at the bottom right */
2096
+ BOTTOM_RIGHT = "BOTTOM_RIGHT"
2097
+ }
2098
+ /** @enumType */
2099
+ type ImagePositionPositionWithLiterals = ImagePositionPosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
2100
+ /** Background type */
2101
+ declare enum CardDataBackgroundType {
2102
+ /** Solid color background */
2103
+ COLOR = "COLOR",
2104
+ /** Gradient background */
2105
+ GRADIENT = "GRADIENT"
2106
+ }
2107
+ /** @enumType */
2108
+ type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
2109
+ /** Background styling (color or gradient) */
2110
+ interface CardDataBackground {
2111
+ /** Background type. */
2112
+ type?: CardDataBackgroundTypeWithLiterals;
2113
+ /**
2114
+ * Background color as a hexadecimal value.
2115
+ * @format COLOR_HEX
2116
+ */
2117
+ color?: string | null;
2118
+ /** Gradient configuration. */
2119
+ gradient?: Gradient;
2120
+ }
2121
+ interface BackgroundImage {
2122
+ /** Background image. */
2123
+ media?: Media;
2124
+ /** Background image opacity. */
2125
+ opacity?: number | null;
2126
+ /** Background image scaling. */
2127
+ scaling?: ScalingWithLiterals;
2128
+ /** Position of background. Defaults to `CENTER`. */
2129
+ position?: ImagePositionPositionWithLiterals;
2130
+ }
2131
+ interface TocData {
2132
+ /** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
2133
+ includedHeadings?: number[];
2134
+ /** List style. Default: PLAIN. */
2135
+ listStyle?: ListStyleWithLiterals;
2136
+ /** Optional override for the font size in pixels. */
2137
+ fontSize?: number | null;
2138
+ /** Optional override for the vertical spacing between items in pixels. */
2139
+ itemSpacing?: number | null;
2140
+ /**
2141
+ * Optional override for the text color.
2142
+ * @format COLOR_HEX
2143
+ */
2144
+ color?: string | null;
2145
+ /** Indentation style. Default: NESTED. */
2146
+ indentation?: IndentationWithLiterals;
2147
+ }
2148
+ /** List style. */
2149
+ declare enum ListStyle {
2150
+ /** No markers (default) */
2151
+ PLAIN = "PLAIN",
2152
+ /** Numbered list */
2153
+ NUMBERED = "NUMBERED",
2154
+ /** Alphabetic letters */
2155
+ LETTERS = "LETTERS",
2156
+ /** Roman numerals */
2157
+ ROMAN = "ROMAN",
2158
+ /** Bulleted list */
2159
+ BULLETED = "BULLETED",
2160
+ /** Alphabetical index */
2161
+ ALPHABETICAL_INDEX = "ALPHABETICAL_INDEX",
2162
+ /** Alphabetical index (compact top-row only) */
2163
+ ALPHABETICAL_INDEX_COMPACT = "ALPHABETICAL_INDEX_COMPACT"
2164
+ }
2165
+ /** @enumType */
2166
+ type ListStyleWithLiterals = ListStyle | 'PLAIN' | 'NUMBERED' | 'LETTERS' | 'ROMAN' | 'BULLETED' | 'ALPHABETICAL_INDEX' | 'ALPHABETICAL_INDEX_COMPACT';
2167
+ /** Indentation style. */
2168
+ declare enum Indentation {
2169
+ /** Sub-headings indented under parents (default) */
2170
+ NESTED = "NESTED",
2171
+ /** All items at the same level */
2172
+ FLAT = "FLAT"
2173
+ }
2174
+ /** @enumType */
2175
+ type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
1934
2176
  interface Metadata {
1935
2177
  /** Schema version. */
1936
2178
  version?: number;
@@ -1985,8 +2227,6 @@ interface MachineTranslateRequest {
1985
2227
  contentToTranslate: TranslatableContent;
1986
2228
  }
1987
2229
  declare enum SupportedLanguage {
1988
- /** Undefined Language */
1989
- UNDEFINED_SUPPORTED_LANGUAGE = "UNDEFINED_SUPPORTED_LANGUAGE",
1990
2230
  /** Afrikaans */
1991
2231
  AF = "AF",
1992
2232
  /** Albanian */
@@ -2259,7 +2499,7 @@ declare enum SupportedLanguage {
2259
2499
  ZU = "ZU"
2260
2500
  }
2261
2501
  /** @enumType */
2262
- type SupportedLanguageWithLiterals = SupportedLanguage | 'UNDEFINED_SUPPORTED_LANGUAGE' | 'AF' | 'SQ' | 'AM' | 'AR' | 'HY' | 'AS' | 'AY' | 'AZ' | 'BM' | 'EU' | 'BE' | 'BN' | 'BHO' | 'BS' | 'BG' | 'CA' | 'CEB' | 'ZH_CN' | 'ZH_TW' | 'ZH' | 'CO' | 'HR' | 'CS' | 'DA' | 'DV' | 'DOI' | 'NL' | 'EN' | 'EO' | 'ET' | 'EE' | 'FIL' | 'FI' | 'FR' | 'FY' | 'GL' | 'KA' | 'DE' | 'EL' | 'GN' | 'GU' | 'HT' | 'HA' | 'HAW' | 'HE' | 'HI' | 'HMN' | 'HU' | 'IS' | 'IG' | 'ILO' | 'ID' | 'GA' | 'IT' | 'JA' | 'JW' | 'KN' | 'KK' | 'KM' | 'RW' | 'GOM' | 'KO' | 'KRI' | 'KU' | 'CKB' | 'KY' | 'LO' | 'LA' | 'LV' | 'LN' | 'LT' | 'LG' | 'LB' | 'MK' | 'MAI' | 'MG' | 'MS' | 'ML' | 'MT' | 'MI' | 'MR' | 'MNI_MTEI' | 'LUS' | 'MN' | 'MY' | 'NE' | 'NO' | 'NY' | 'OR' | 'OM' | 'PS' | 'FA' | 'PL' | 'PT' | 'PA' | 'QU' | 'RO' | 'RU' | 'SM' | 'SA' | 'GD' | 'NSO' | 'SR' | 'ST' | 'SN' | 'SD' | 'SI' | 'SK' | 'SL' | 'SO' | 'ES' | 'SU' | 'SW' | 'SV' | 'TL' | 'TG' | 'TA' | 'TT' | 'TE' | 'TH' | 'TI' | 'TS' | 'TR' | 'TK' | 'AK' | 'UK' | 'UR' | 'UG' | 'UZ' | 'VI' | 'CY' | 'XH' | 'YI' | 'YO' | 'ZU';
2502
+ type SupportedLanguageWithLiterals = SupportedLanguage | 'AF' | 'SQ' | 'AM' | 'AR' | 'HY' | 'AS' | 'AY' | 'AZ' | 'BM' | 'EU' | 'BE' | 'BN' | 'BHO' | 'BS' | 'BG' | 'CA' | 'CEB' | 'ZH_CN' | 'ZH_TW' | 'ZH' | 'CO' | 'HR' | 'CS' | 'DA' | 'DV' | 'DOI' | 'NL' | 'EN' | 'EO' | 'ET' | 'EE' | 'FIL' | 'FI' | 'FR' | 'FY' | 'GL' | 'KA' | 'DE' | 'EL' | 'GN' | 'GU' | 'HT' | 'HA' | 'HAW' | 'HE' | 'HI' | 'HMN' | 'HU' | 'IS' | 'IG' | 'ILO' | 'ID' | 'GA' | 'IT' | 'JA' | 'JW' | 'KN' | 'KK' | 'KM' | 'RW' | 'GOM' | 'KO' | 'KRI' | 'KU' | 'CKB' | 'KY' | 'LO' | 'LA' | 'LV' | 'LN' | 'LT' | 'LG' | 'LB' | 'MK' | 'MAI' | 'MG' | 'MS' | 'ML' | 'MT' | 'MI' | 'MR' | 'MNI_MTEI' | 'LUS' | 'MN' | 'MY' | 'NE' | 'NO' | 'NY' | 'OR' | 'OM' | 'PS' | 'FA' | 'PL' | 'PT' | 'PA' | 'QU' | 'RO' | 'RU' | 'SM' | 'SA' | 'GD' | 'NSO' | 'SR' | 'ST' | 'SN' | 'SD' | 'SI' | 'SK' | 'SL' | 'SO' | 'ES' | 'SU' | 'SW' | 'SV' | 'TL' | 'TG' | 'TA' | 'TT' | 'TE' | 'TH' | 'TI' | 'TS' | 'TR' | 'TK' | 'AK' | 'UK' | 'UR' | 'UG' | 'UZ' | 'VI' | 'CY' | 'XH' | 'YI' | 'YO' | 'ZU';
2263
2503
  interface MachineTranslateResponse {
2264
2504
  /** The translated content. */
2265
2505
  translatedContent?: TranslatableContent;
@@ -2460,4 +2700,4 @@ interface BulkMachineTranslateOptions {
2460
2700
  contentToTranslate?: TranslatableContent[];
2461
2701
  }
2462
2702
 
2463
- export { Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkActionMetadata, type BulkMachineTranslateApplicationErrors, type BulkMachineTranslateOptions, type BulkMachineTranslateRequest, type BulkMachineTranslateResponse, type BulkTranslateResult, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, Crop, type CropWithLiterals, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type EmbedData, type EventData, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, Format, type FormatWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type Image, type ImageData, type ImageDataStyles, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListValue, type MachineTranslateApplicationErrors, type MachineTranslateOptions, type MachineTranslateRequest, type MachineTranslateResponse, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, type NotEnoughCreditsError, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RibbonStyles, type RichContent, type SameLanguageArgumentsError, Scaling, type ScalingWithLiterals, type Settings, type ShapeData, type ShapeDataStyles, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, SupportedLanguage, type SupportedLanguageWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type TextTooLongError, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TranslatableContent, type TranslatableContentContentOneOf, Type, type TypeWithLiterals, type UnknownFormatError, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, bulkMachineTranslate, machineTranslate };
2703
+ export { Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkActionMetadata, type BulkMachineTranslateApplicationErrors, type BulkMachineTranslateOptions, type BulkMachineTranslateRequest, type BulkMachineTranslateResponse, type BulkTranslateResult, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, Crop, type CropWithLiterals, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type EmbedData, type EventData, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, Format, type FormatWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type Image, type ImageData, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, ListStyle, type ListStyleWithLiterals, type ListValue, type MachineTranslateApplicationErrors, type MachineTranslateOptions, type MachineTranslateRequest, type MachineTranslateResponse, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, type NotEnoughCreditsError, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RibbonStyles, type RichContent, type SameLanguageArgumentsError, Scaling, type ScalingWithLiterals, type Settings, type ShapeData, type ShapeDataStyles, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, SupportedLanguage, type SupportedLanguageWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type TextTooLongError, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, type TranslatableContent, type TranslatableContentContentOneOf, Type, type TypeWithLiterals, type UnknownFormatError, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, bulkMachineTranslate, machineTranslate };