@wix/auto_sdk_multilingual_machine-translation 1.0.45 → 1.0.47

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 (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +45 -3
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +159 -48
  5. package/build/cjs/index.typings.js +45 -3
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +159 -48
  8. package/build/cjs/meta.js +45 -3
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +43 -3
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +159 -48
  14. package/build/es/index.typings.mjs +43 -3
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +159 -48
  17. package/build/es/meta.mjs +43 -3
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +45 -3
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +159 -48
  23. package/build/internal/cjs/index.typings.js +45 -3
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +159 -48
  26. package/build/internal/cjs/meta.js +45 -3
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +43 -3
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +159 -48
  32. package/build/internal/es/index.typings.mjs +43 -3
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +159 -48
  35. package/build/internal/es/meta.mjs +43 -3
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -127,6 +127,10 @@ interface Node extends NodeDataOneOf {
127
127
  cardData?: CardData;
128
128
  /** Data for a table of contents node. */
129
129
  tocData?: TocData;
130
+ /** Data for a smart block node. */
131
+ smartBlockData?: SmartBlockData;
132
+ /** Data for a smart block cell node. */
133
+ smartBlockCellData?: SmartBlockCellData;
130
134
  /** 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. */
131
135
  type?: NodeTypeWithLiterals;
132
136
  /** Node ID. */
@@ -200,6 +204,10 @@ interface NodeDataOneOf {
200
204
  cardData?: CardData;
201
205
  /** Data for a table of contents node. */
202
206
  tocData?: TocData;
207
+ /** Data for a smart block node. */
208
+ smartBlockData?: SmartBlockData;
209
+ /** Data for a smart block cell node. */
210
+ smartBlockCellData?: SmartBlockCellData;
203
211
  }
204
212
  declare enum NodeType {
205
213
  PARAGRAPH = "PARAGRAPH",
@@ -238,10 +246,12 @@ declare enum NodeType {
238
246
  LAYOUT_CELL = "LAYOUT_CELL",
239
247
  SHAPE = "SHAPE",
240
248
  CARD = "CARD",
241
- TOC = "TOC"
249
+ TOC = "TOC",
250
+ SMART_BLOCK = "SMART_BLOCK",
251
+ SMART_BLOCK_CELL = "SMART_BLOCK_CELL"
242
252
  }
243
253
  /** @enumType */
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';
254
+ 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' | 'SMART_BLOCK' | 'SMART_BLOCK_CELL';
245
255
  interface NodeStyle {
246
256
  /** The top padding value in pixels. */
247
257
  paddingTop?: string | null;
@@ -305,7 +315,7 @@ type GradientTypeWithLiterals = GradientType | 'LINEAR' | 'RADIAL';
305
315
  interface Stop {
306
316
  /**
307
317
  * Stop color as hex value.
308
- * @format COLOR_HEX
318
+ * @maxLength 19
309
319
  */
310
320
  color?: string | null;
311
321
  /** Stop position (0-1). */
@@ -346,7 +356,7 @@ interface Background {
346
356
  type?: BackgroundTypeWithLiterals;
347
357
  /**
348
358
  * Background color as a hexadecimal value.
349
- * @format COLOR_HEX
359
+ * @maxLength 19
350
360
  */
351
361
  color?: string | null;
352
362
  /** Gradient configuration. */
@@ -453,33 +463,33 @@ interface Styles {
453
463
  borderRadius?: number | null;
454
464
  /**
455
465
  * Border color as a hexadecimal value.
456
- * @format COLOR_HEX
466
+ * @maxLength 19
457
467
  */
458
468
  borderColor?: string | null;
459
469
  /**
460
470
  * Border color as a hexadecimal value (hover state).
461
- * @format COLOR_HEX
471
+ * @maxLength 19
462
472
  */
463
473
  borderColorHover?: string | null;
464
474
  /**
465
475
  * Text color as a hexadecimal value.
466
- * @format COLOR_HEX
476
+ * @maxLength 19
467
477
  */
468
478
  textColor?: string | null;
469
479
  /**
470
480
  * Text color as a hexadecimal value (hover state).
471
- * @format COLOR_HEX
481
+ * @maxLength 19
472
482
  */
473
483
  textColorHover?: string | null;
474
484
  /**
475
485
  * Deprecated: Use `background` instead.
476
- * @format COLOR_HEX
486
+ * @maxLength 19
477
487
  * @deprecated
478
488
  */
479
489
  backgroundColor?: string | null;
480
490
  /**
481
491
  * Deprecated: Use `backgroundHover` instead.
482
- * @format COLOR_HEX
492
+ * @maxLength 19
483
493
  * @deprecated
484
494
  */
485
495
  backgroundColorHover?: string | null;
@@ -859,6 +869,8 @@ interface HeadingData {
859
869
  textStyle?: TextStyle;
860
870
  /** Indentation level from 1-4. */
861
871
  indentation?: number | null;
872
+ /** Rendered heading level for SEO/accessibility, overrides the HTML tag when set. */
873
+ renderedLevel?: number | null;
862
874
  }
863
875
  interface HTMLData extends HTMLDataDataOneOf {
864
876
  /** The URL for the HTML code for the node. */
@@ -929,7 +941,7 @@ interface StylesBorder {
929
941
  width?: number | null;
930
942
  /**
931
943
  * Border color as a hexadecimal value.
932
- * @format COLOR_HEX
944
+ * @maxLength 19
933
945
  */
934
946
  color?: string | null;
935
947
  /** Border radius in pixels. */
@@ -970,22 +982,22 @@ type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HI
970
982
  interface LinkPreviewDataStyles {
971
983
  /**
972
984
  * Background color as a hexadecimal value.
973
- * @format COLOR_HEX
985
+ * @maxLength 19
974
986
  */
975
987
  backgroundColor?: string | null;
976
988
  /**
977
989
  * Title color as a hexadecimal value.
978
- * @format COLOR_HEX
990
+ * @maxLength 19
979
991
  */
980
992
  titleColor?: string | null;
981
993
  /**
982
994
  * Subtitle color as a hexadecimal value.
983
- * @format COLOR_HEX
995
+ * @maxLength 19
984
996
  */
985
997
  subtitleColor?: string | null;
986
998
  /**
987
999
  * Link color as a hexadecimal value.
988
- * @format COLOR_HEX
1000
+ * @maxLength 19
989
1001
  */
990
1002
  linkColor?: string | null;
991
1003
  /** Border width in pixels. */
@@ -994,7 +1006,7 @@ interface LinkPreviewDataStyles {
994
1006
  borderRadius?: number | null;
995
1007
  /**
996
1008
  * Border color as a hexadecimal value.
997
- * @format COLOR_HEX
1009
+ * @maxLength 19
998
1010
  */
999
1011
  borderColor?: string | null;
1000
1012
  /** Position of thumbnail. Defaults to `START`. */
@@ -1145,19 +1157,19 @@ interface BackgroundGradient {
1145
1157
  angle?: number | null;
1146
1158
  /**
1147
1159
  * The start color as a hexademical value.
1148
- * @format COLOR_HEX
1160
+ * @maxLength 19
1149
1161
  */
1150
1162
  startColor?: string | null;
1151
1163
  /**
1152
1164
  * The end color as a hexademical value.
1153
- * @format COLOR_HEX
1165
+ * @maxLength 19
1154
1166
  */
1155
1167
  lastColor?: string | null;
1156
1168
  }
1157
1169
  interface PollDesignBackground extends PollDesignBackgroundBackgroundOneOf {
1158
1170
  /**
1159
1171
  * The background color as a hexademical value.
1160
- * @format COLOR_HEX
1172
+ * @maxLength 19
1161
1173
  */
1162
1174
  color?: string | null;
1163
1175
  /** An image to use for the background. */
@@ -1171,7 +1183,7 @@ interface PollDesignBackground extends PollDesignBackgroundBackgroundOneOf {
1171
1183
  interface PollDesignBackgroundBackgroundOneOf {
1172
1184
  /**
1173
1185
  * The background color as a hexademical value.
1174
- * @format COLOR_HEX
1186
+ * @maxLength 19
1175
1187
  */
1176
1188
  color?: string | null;
1177
1189
  /** An image to use for the background. */
@@ -1485,32 +1497,32 @@ interface ButtonStyles {
1485
1497
  borderRadius?: number | null;
1486
1498
  /**
1487
1499
  * Border color as a hexadecimal value.
1488
- * @format COLOR_HEX
1500
+ * @maxLength 19
1489
1501
  */
1490
1502
  borderColor?: string | null;
1491
1503
  /**
1492
1504
  * Text color as a hexadecimal value.
1493
- * @format COLOR_HEX
1505
+ * @maxLength 19
1494
1506
  */
1495
1507
  textColor?: string | null;
1496
1508
  /**
1497
1509
  * Background color as a hexadecimal value.
1498
- * @format COLOR_HEX
1510
+ * @maxLength 19
1499
1511
  */
1500
1512
  backgroundColor?: string | null;
1501
1513
  /**
1502
1514
  * Border color as a hexadecimal value (hover state).
1503
- * @format COLOR_HEX
1515
+ * @maxLength 19
1504
1516
  */
1505
1517
  borderColorHover?: string | null;
1506
1518
  /**
1507
1519
  * Text color as a hexadecimal value (hover state).
1508
- * @format COLOR_HEX
1520
+ * @maxLength 19
1509
1521
  */
1510
1522
  textColorHover?: string | null;
1511
1523
  /**
1512
1524
  * Background color as a hexadecimal value (hover state).
1513
- * @format COLOR_HEX
1525
+ * @maxLength 19
1514
1526
  */
1515
1527
  backgroundColorHover?: string | null;
1516
1528
  /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
@@ -1527,7 +1539,7 @@ interface ImageStyles {
1527
1539
  resizing?: ResizingWithLiterals;
1528
1540
  /**
1529
1541
  * Image border color as a hexadecimal value.
1530
- * @format COLOR_HEX
1542
+ * @maxLength 19
1531
1543
  */
1532
1544
  borderColor?: string | null;
1533
1545
  /** Image border width in pixels. */
@@ -1540,17 +1552,17 @@ interface RibbonStyles {
1540
1552
  ribbonText?: string | null;
1541
1553
  /**
1542
1554
  * Ribbon background color as a hexadecimal value.
1543
- * @format COLOR_HEX
1555
+ * @maxLength 19
1544
1556
  */
1545
1557
  backgroundColor?: string | null;
1546
1558
  /**
1547
1559
  * Ribbon text color as a hexadecimal value.
1548
- * @format COLOR_HEX
1560
+ * @maxLength 19
1549
1561
  */
1550
1562
  textColor?: string | null;
1551
1563
  /**
1552
1564
  * Ribbon border color as a hexadecimal value.
1553
- * @format COLOR_HEX
1565
+ * @maxLength 19
1554
1566
  */
1555
1567
  borderColor?: string | null;
1556
1568
  /** Ribbon border width in pixels. */
@@ -1563,12 +1575,12 @@ interface RibbonStyles {
1563
1575
  interface CardStyles {
1564
1576
  /**
1565
1577
  * Card background color as a hexadecimal value.
1566
- * @format COLOR_HEX
1578
+ * @maxLength 19
1567
1579
  */
1568
1580
  backgroundColor?: string | null;
1569
1581
  /**
1570
1582
  * Card border color as a hexadecimal value.
1571
- * @format COLOR_HEX
1583
+ * @maxLength 19
1572
1584
  */
1573
1585
  borderColor?: string | null;
1574
1586
  /** Card border width in pixels. */
@@ -1583,12 +1595,12 @@ interface CardStyles {
1583
1595
  titlePriceLayout?: LayoutWithLiterals;
1584
1596
  /**
1585
1597
  * Title text color as a hexadecimal value.
1586
- * @format COLOR_HEX
1598
+ * @maxLength 19
1587
1599
  */
1588
1600
  titleColor?: string | null;
1589
1601
  /**
1590
1602
  * Text color as a hexadecimal value.
1591
- * @format COLOR_HEX
1603
+ * @maxLength 19
1592
1604
  */
1593
1605
  textColor?: string | null;
1594
1606
  }
@@ -1732,6 +1744,8 @@ interface TableData {
1732
1744
  * @maxSize 4
1733
1745
  */
1734
1746
  cellPadding?: number[];
1747
+ /** Table's alternative text. */
1748
+ altText?: string | null;
1735
1749
  }
1736
1750
  interface Dimensions {
1737
1751
  /** An array representing relative width of each column in relation to the other columns. */
@@ -1768,29 +1782,29 @@ interface CellStyle {
1768
1782
  verticalAlignment?: VerticalAlignmentWithLiterals;
1769
1783
  /**
1770
1784
  * Cell background color as a hexadecimal value.
1771
- * @format COLOR_HEX
1785
+ * @maxLength 19
1772
1786
  */
1773
1787
  backgroundColor?: string | null;
1774
1788
  }
1775
1789
  interface BorderColors {
1776
1790
  /**
1777
1791
  * Left border color as a hexadecimal value.
1778
- * @format COLOR_HEX
1792
+ * @maxLength 19
1779
1793
  */
1780
1794
  left?: string | null;
1781
1795
  /**
1782
1796
  * Right border color as a hexadecimal value.
1783
- * @format COLOR_HEX
1797
+ * @maxLength 19
1784
1798
  */
1785
1799
  right?: string | null;
1786
1800
  /**
1787
1801
  * Top border color as a hexadecimal value.
1788
- * @format COLOR_HEX
1802
+ * @maxLength 19
1789
1803
  */
1790
1804
  top?: string | null;
1791
1805
  /**
1792
1806
  * Bottom border color as a hexadecimal value.
1793
- * @format COLOR_HEX
1807
+ * @maxLength 19
1794
1808
  */
1795
1809
  bottom?: string | null;
1796
1810
  }
@@ -1865,7 +1879,7 @@ interface CaptionData {
1865
1879
  interface LayoutData {
1866
1880
  /**
1867
1881
  * Deprecated: Use `background` instead.
1868
- * @format COLOR_HEX
1882
+ * @maxLength 19
1869
1883
  * @deprecated
1870
1884
  */
1871
1885
  backgroundColor?: string | null;
@@ -1873,7 +1887,7 @@ interface LayoutData {
1873
1887
  backgroundImage?: LayoutDataBackgroundImage;
1874
1888
  /**
1875
1889
  * Border color as a hexadecimal value.
1876
- * @format COLOR_HEX
1890
+ * @maxLength 19
1877
1891
  */
1878
1892
  borderColor?: string | null;
1879
1893
  /** Border width in pixels. */
@@ -1882,7 +1896,7 @@ interface LayoutData {
1882
1896
  borderRadius?: number | null;
1883
1897
  /**
1884
1898
  * Deprecated: Use `backdrop` instead.
1885
- * @format COLOR_HEX
1899
+ * @maxLength 19
1886
1900
  * @deprecated
1887
1901
  */
1888
1902
  backdropColor?: string | null;
@@ -2020,7 +2034,7 @@ interface LayoutDataBackground {
2020
2034
  type?: LayoutDataBackgroundTypeWithLiterals;
2021
2035
  /**
2022
2036
  * Background color as a hexadecimal value.
2023
- * @format COLOR_HEX
2037
+ * @maxLength 19
2024
2038
  */
2025
2039
  color?: string | null;
2026
2040
  /** Gradient configuration. */
@@ -2032,7 +2046,7 @@ interface Backdrop {
2032
2046
  type?: BackdropTypeWithLiterals;
2033
2047
  /**
2034
2048
  * Backdrop color as a hexadecimal value.
2035
- * @format COLOR_HEX
2049
+ * @maxLength 19
2036
2050
  */
2037
2051
  color?: string | null;
2038
2052
  /** Gradient configuration. */
@@ -2053,7 +2067,7 @@ interface ShapeData {
2053
2067
  interface ShapeDataStyles {
2054
2068
  /**
2055
2069
  * Shape fill color as a hexadecimal value.
2056
- * @format COLOR_HEX
2070
+ * @maxLength 19
2057
2071
  */
2058
2072
  color?: string | null;
2059
2073
  /** Map of original color keys to their new color values. */
@@ -2112,7 +2126,7 @@ interface CardDataBackground {
2112
2126
  type?: CardDataBackgroundTypeWithLiterals;
2113
2127
  /**
2114
2128
  * Background color as a hexadecimal value.
2115
- * @format COLOR_HEX
2129
+ * @maxLength 19
2116
2130
  */
2117
2131
  color?: string | null;
2118
2132
  /** Gradient configuration. */
@@ -2139,7 +2153,7 @@ interface TocData {
2139
2153
  itemSpacing?: number | null;
2140
2154
  /**
2141
2155
  * Optional override for the text color.
2142
- * @format COLOR_HEX
2156
+ * @maxLength 19
2143
2157
  */
2144
2158
  color?: string | null;
2145
2159
  /** Indentation style. Default: NESTED. */
@@ -2173,6 +2187,103 @@ declare enum Indentation {
2173
2187
  }
2174
2188
  /** @enumType */
2175
2189
  type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
2190
+ /** Data for a smart block node. */
2191
+ interface SmartBlockData {
2192
+ /** The type of the smart block. */
2193
+ type?: SmartBlockDataTypeWithLiterals;
2194
+ /** Layout orientation. HORIZONTAL or VERTICAL. Optional for variants with fixed orientation. */
2195
+ orientation?: string | null;
2196
+ /** Column size controlling cells per row. */
2197
+ columnSize?: ColumnSizeWithLiterals;
2198
+ /**
2199
+ * Border color (for SOLID_JOINED_BOXES variant).
2200
+ * @maxLength 19
2201
+ */
2202
+ borderColor?: string | null;
2203
+ /** Border width in pixels (for SOLID_JOINED_BOXES variant). */
2204
+ borderWidth?: number | null;
2205
+ /** Border radius in pixels (for SOLID_JOINED_BOXES variant). */
2206
+ borderRadius?: number | null;
2207
+ }
2208
+ /** Layout type of the smart block */
2209
+ declare enum SmartBlockDataType {
2210
+ /** Grid-based layouts with solid box items containing title, body, and icon/image. */
2211
+ SOLID_BOXES = "SOLID_BOXES",
2212
+ /** Numbered boxes. */
2213
+ NUMBERED_BOXES = "NUMBERED_BOXES",
2214
+ /** Statistics display with large numbers/values. */
2215
+ STATS = "STATS",
2216
+ /** Statistics with circular visual elements. */
2217
+ CIRCLE_STATS = "CIRCLE_STATS",
2218
+ /** Staggered/zigzag grid layout with alternating box positions. */
2219
+ SOLID_BOXES_ALTERNATING = "SOLID_BOXES_ALTERNATING",
2220
+ /** Grid layout with boxes visually joined (no gaps, shared container border). */
2221
+ SOLID_JOINED_BOXES = "SOLID_JOINED_BOXES",
2222
+ /** Transparent cells with only a left side line. */
2223
+ SIDE_LINE_TEXT = "SIDE_LINE_TEXT",
2224
+ /** Transparent cells with only a top line. */
2225
+ TOP_LINE_TEXT = "TOP_LINE_TEXT",
2226
+ /** Outlined boxes with a numbered/icon circle at the top. */
2227
+ OUTLINE_BOXES_WITH_TOP_CIRCLE = "OUTLINE_BOXES_WITH_TOP_CIRCLE",
2228
+ /** Large icon bullets with text content. */
2229
+ BIG_BULLETS = "BIG_BULLETS",
2230
+ /** Small dot bullets with text content. */
2231
+ SMALL_BULLETS = "SMALL_BULLETS",
2232
+ /** Arrow icon bullets with text content. */
2233
+ ARROW_BULLETS = "ARROW_BULLETS",
2234
+ /** Process steps with numbered/icon labels above a horizontal line. */
2235
+ PROCESS_STEPS = "PROCESS_STEPS",
2236
+ /** Statistics with bar visual elements. */
2237
+ BAR_STATS = "BAR_STATS"
2238
+ }
2239
+ /** @enumType */
2240
+ type SmartBlockDataTypeWithLiterals = SmartBlockDataType | 'SOLID_BOXES' | 'NUMBERED_BOXES' | 'STATS' | 'CIRCLE_STATS' | 'SOLID_BOXES_ALTERNATING' | 'SOLID_JOINED_BOXES' | 'SIDE_LINE_TEXT' | 'TOP_LINE_TEXT' | 'OUTLINE_BOXES_WITH_TOP_CIRCLE' | 'BIG_BULLETS' | 'SMALL_BULLETS' | 'ARROW_BULLETS' | 'PROCESS_STEPS' | 'BAR_STATS';
2241
+ /** Column size controlling how many cells appear per row. */
2242
+ declare enum ColumnSize {
2243
+ /** Up to 4 cells in a row. */
2244
+ SMALL = "SMALL",
2245
+ /** Up to 3 cells in a row (default). */
2246
+ MEDIUM = "MEDIUM",
2247
+ /** Up to 2 cells in a row. */
2248
+ LARGE = "LARGE",
2249
+ /** 1 cell in a row. */
2250
+ EXTRA_LARGE = "EXTRA_LARGE"
2251
+ }
2252
+ /** @enumType */
2253
+ type ColumnSizeWithLiterals = ColumnSize | 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
2254
+ /** Data for a smart block cell node. */
2255
+ interface SmartBlockCellData {
2256
+ /** Optional label text for the cell (e.g., for stats variants). */
2257
+ label?: string | null;
2258
+ /** Shape file details. */
2259
+ shape?: Media;
2260
+ /**
2261
+ * Border color of the cell.
2262
+ * @maxLength 19
2263
+ */
2264
+ borderColor?: string | null;
2265
+ /** Border width in pixels. */
2266
+ borderWidth?: number | null;
2267
+ /** Border radius in pixels. */
2268
+ borderRadius?: number | null;
2269
+ /** The type of the parent smart block (must match parent). */
2270
+ type?: SmartBlockDataTypeWithLiterals;
2271
+ /**
2272
+ * Accent color for non-background variants (e.g., line, bullet, label color).
2273
+ * @maxLength 19
2274
+ */
2275
+ accentColor?: string | null;
2276
+ /**
2277
+ * Background color for background-based variants (SOLID_BOXES, SOLID_BOXES_ALTERNATING, SOLID_JOINED_BOXES).
2278
+ * @maxLength 19
2279
+ */
2280
+ backgroundColor?: string | null;
2281
+ /**
2282
+ * Shape fill color as a hexadecimal value.
2283
+ * @maxLength 19
2284
+ */
2285
+ shapeColor?: string | null;
2286
+ }
2176
2287
  interface Metadata {
2177
2288
  /** Schema version. */
2178
2289
  version?: number;
@@ -2700,4 +2811,4 @@ interface BulkMachineTranslateOptions {
2700
2811
  contentToTranslate?: TranslatableContent[];
2701
2812
  }
2702
2813
 
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 };
2814
+ 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, ColumnSize, type ColumnSizeWithLiterals, 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, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, 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 };
@@ -27,6 +27,7 @@ __export(index_typings_exports, {
27
27
  BackgroundType: () => BackgroundType,
28
28
  ButtonDataType: () => ButtonDataType,
29
29
  CardDataBackgroundType: () => CardDataBackgroundType,
30
+ ColumnSize: () => ColumnSize,
30
31
  Crop: () => Crop,
31
32
  DecorationType: () => DecorationType,
32
33
  DesignTarget: () => DesignTarget,
@@ -60,6 +61,7 @@ __export(index_typings_exports, {
60
61
  Resizing: () => Resizing,
61
62
  ResponsivenessBehaviour: () => ResponsivenessBehaviour,
62
63
  Scaling: () => Scaling,
64
+ SmartBlockDataType: () => SmartBlockDataType,
63
65
  Source: () => Source,
64
66
  StylesPosition: () => StylesPosition,
65
67
  SupportedLanguage: () => SupportedLanguage,
@@ -253,7 +255,10 @@ function machineTranslate(payload) {
253
255
  path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.media.duration"
254
256
  },
255
257
  { path: "contentToTranslate.richContent.nodes.tocData.fontSize" },
256
- { path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" }
258
+ { path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" },
259
+ {
260
+ path: "contentToTranslate.richContent.nodes.smartBlockCellData.shape.duration"
261
+ }
257
262
  ]
258
263
  },
259
264
  {
@@ -387,6 +392,9 @@ function machineTranslate(payload) {
387
392
  { path: "translatedContent.richContent.nodes.tocData.fontSize" },
388
393
  {
389
394
  path: "translatedContent.richContent.nodes.tocData.itemSpacing"
395
+ },
396
+ {
397
+ path: "translatedContent.richContent.nodes.smartBlockCellData.shape.duration"
390
398
  }
391
399
  ]
392
400
  },
@@ -516,7 +524,10 @@ function bulkMachineTranslate(payload) {
516
524
  path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.media.duration"
517
525
  },
518
526
  { path: "contentToTranslate.richContent.nodes.tocData.fontSize" },
519
- { path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" }
527
+ { path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" },
528
+ {
529
+ path: "contentToTranslate.richContent.nodes.smartBlockCellData.shape.duration"
530
+ }
520
531
  ]
521
532
  },
522
533
  {
@@ -648,7 +659,10 @@ function bulkMachineTranslate(payload) {
648
659
  path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
649
660
  },
650
661
  { path: "results.item.richContent.nodes.tocData.fontSize" },
651
- { path: "results.item.richContent.nodes.tocData.itemSpacing" }
662
+ { path: "results.item.richContent.nodes.tocData.itemSpacing" },
663
+ {
664
+ path: "results.item.richContent.nodes.smartBlockCellData.shape.duration"
665
+ }
652
666
  ]
653
667
  },
654
668
  {
@@ -709,6 +723,8 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
709
723
  NodeType2["SHAPE"] = "SHAPE";
710
724
  NodeType2["CARD"] = "CARD";
711
725
  NodeType2["TOC"] = "TOC";
726
+ NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
727
+ NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
712
728
  return NodeType2;
713
729
  })(NodeType || {});
714
730
  var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
@@ -1036,6 +1052,30 @@ var Indentation = /* @__PURE__ */ ((Indentation2) => {
1036
1052
  Indentation2["FLAT"] = "FLAT";
1037
1053
  return Indentation2;
1038
1054
  })(Indentation || {});
1055
+ var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
1056
+ SmartBlockDataType2["SOLID_BOXES"] = "SOLID_BOXES";
1057
+ SmartBlockDataType2["NUMBERED_BOXES"] = "NUMBERED_BOXES";
1058
+ SmartBlockDataType2["STATS"] = "STATS";
1059
+ SmartBlockDataType2["CIRCLE_STATS"] = "CIRCLE_STATS";
1060
+ SmartBlockDataType2["SOLID_BOXES_ALTERNATING"] = "SOLID_BOXES_ALTERNATING";
1061
+ SmartBlockDataType2["SOLID_JOINED_BOXES"] = "SOLID_JOINED_BOXES";
1062
+ SmartBlockDataType2["SIDE_LINE_TEXT"] = "SIDE_LINE_TEXT";
1063
+ SmartBlockDataType2["TOP_LINE_TEXT"] = "TOP_LINE_TEXT";
1064
+ SmartBlockDataType2["OUTLINE_BOXES_WITH_TOP_CIRCLE"] = "OUTLINE_BOXES_WITH_TOP_CIRCLE";
1065
+ SmartBlockDataType2["BIG_BULLETS"] = "BIG_BULLETS";
1066
+ SmartBlockDataType2["SMALL_BULLETS"] = "SMALL_BULLETS";
1067
+ SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
1068
+ SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
1069
+ SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
1070
+ return SmartBlockDataType2;
1071
+ })(SmartBlockDataType || {});
1072
+ var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {
1073
+ ColumnSize2["SMALL"] = "SMALL";
1074
+ ColumnSize2["MEDIUM"] = "MEDIUM";
1075
+ ColumnSize2["LARGE"] = "LARGE";
1076
+ ColumnSize2["EXTRA_LARGE"] = "EXTRA_LARGE";
1077
+ return ColumnSize2;
1078
+ })(ColumnSize || {});
1039
1079
  var SupportedLanguage = /* @__PURE__ */ ((SupportedLanguage2) => {
1040
1080
  SupportedLanguage2["AF"] = "AF";
1041
1081
  SupportedLanguage2["SQ"] = "SQ";
@@ -1259,6 +1299,7 @@ async function bulkMachineTranslate2(sourceLanguage, options) {
1259
1299
  BackgroundType,
1260
1300
  ButtonDataType,
1261
1301
  CardDataBackgroundType,
1302
+ ColumnSize,
1262
1303
  Crop,
1263
1304
  DecorationType,
1264
1305
  DesignTarget,
@@ -1292,6 +1333,7 @@ async function bulkMachineTranslate2(sourceLanguage, options) {
1292
1333
  Resizing,
1293
1334
  ResponsivenessBehaviour,
1294
1335
  Scaling,
1336
+ SmartBlockDataType,
1295
1337
  Source,
1296
1338
  StylesPosition,
1297
1339
  SupportedLanguage,