@wix/auto_sdk_faq_question-entry 1.0.42 → 1.0.44
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/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +72 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +159 -48
- package/build/cjs/index.typings.js +63 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +159 -48
- package/build/cjs/meta.js +63 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +631 -0
- package/build/cjs/schemas.js +1064 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +70 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +159 -48
- package/build/es/index.typings.mjs +61 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +159 -48
- package/build/es/meta.mjs +61 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +631 -0
- package/build/es/schemas.mjs +1008 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +72 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +159 -48
- package/build/internal/cjs/index.typings.js +63 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +159 -48
- package/build/internal/cjs/meta.js +63 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +631 -0
- package/build/internal/cjs/schemas.js +1064 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +70 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +159 -48
- package/build/internal/es/index.typings.mjs +61 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +159 -48
- package/build/internal/es/meta.mjs +61 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +631 -0
- package/build/internal/es/schemas.mjs +1008 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/package.json +12 -5
- package/schemas/package.json +3 -0
|
@@ -168,6 +168,10 @@ interface Node extends NodeDataOneOf {
|
|
|
168
168
|
cardData?: CardData;
|
|
169
169
|
/** Data for a table of contents node. */
|
|
170
170
|
tocData?: TocData;
|
|
171
|
+
/** Data for a smart block node. */
|
|
172
|
+
smartBlockData?: SmartBlockData;
|
|
173
|
+
/** Data for a smart block cell node. */
|
|
174
|
+
smartBlockCellData?: SmartBlockCellData;
|
|
171
175
|
/** 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. */
|
|
172
176
|
type?: NodeTypeWithLiterals;
|
|
173
177
|
/** Node ID. */
|
|
@@ -241,6 +245,10 @@ interface NodeDataOneOf {
|
|
|
241
245
|
cardData?: CardData;
|
|
242
246
|
/** Data for a table of contents node. */
|
|
243
247
|
tocData?: TocData;
|
|
248
|
+
/** Data for a smart block node. */
|
|
249
|
+
smartBlockData?: SmartBlockData;
|
|
250
|
+
/** Data for a smart block cell node. */
|
|
251
|
+
smartBlockCellData?: SmartBlockCellData;
|
|
244
252
|
}
|
|
245
253
|
declare enum NodeType {
|
|
246
254
|
PARAGRAPH = "PARAGRAPH",
|
|
@@ -279,10 +287,12 @@ declare enum NodeType {
|
|
|
279
287
|
LAYOUT_CELL = "LAYOUT_CELL",
|
|
280
288
|
SHAPE = "SHAPE",
|
|
281
289
|
CARD = "CARD",
|
|
282
|
-
TOC = "TOC"
|
|
290
|
+
TOC = "TOC",
|
|
291
|
+
SMART_BLOCK = "SMART_BLOCK",
|
|
292
|
+
SMART_BLOCK_CELL = "SMART_BLOCK_CELL"
|
|
283
293
|
}
|
|
284
294
|
/** @enumType */
|
|
285
|
-
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';
|
|
295
|
+
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';
|
|
286
296
|
interface NodeStyle {
|
|
287
297
|
/** The top padding value in pixels. */
|
|
288
298
|
paddingTop?: string | null;
|
|
@@ -346,7 +356,7 @@ type GradientTypeWithLiterals = GradientType | 'LINEAR' | 'RADIAL';
|
|
|
346
356
|
interface Stop {
|
|
347
357
|
/**
|
|
348
358
|
* Stop color as hex value.
|
|
349
|
-
* @
|
|
359
|
+
* @maxLength 19
|
|
350
360
|
*/
|
|
351
361
|
color?: string | null;
|
|
352
362
|
/** Stop position (0-1). */
|
|
@@ -387,7 +397,7 @@ interface Background {
|
|
|
387
397
|
type?: BackgroundTypeWithLiterals;
|
|
388
398
|
/**
|
|
389
399
|
* Background color as a hexadecimal value.
|
|
390
|
-
* @
|
|
400
|
+
* @maxLength 19
|
|
391
401
|
*/
|
|
392
402
|
color?: string | null;
|
|
393
403
|
/** Gradient configuration. */
|
|
@@ -494,33 +504,33 @@ interface Styles {
|
|
|
494
504
|
borderRadius?: number | null;
|
|
495
505
|
/**
|
|
496
506
|
* Border color as a hexadecimal value.
|
|
497
|
-
* @
|
|
507
|
+
* @maxLength 19
|
|
498
508
|
*/
|
|
499
509
|
borderColor?: string | null;
|
|
500
510
|
/**
|
|
501
511
|
* Border color as a hexadecimal value (hover state).
|
|
502
|
-
* @
|
|
512
|
+
* @maxLength 19
|
|
503
513
|
*/
|
|
504
514
|
borderColorHover?: string | null;
|
|
505
515
|
/**
|
|
506
516
|
* Text color as a hexadecimal value.
|
|
507
|
-
* @
|
|
517
|
+
* @maxLength 19
|
|
508
518
|
*/
|
|
509
519
|
textColor?: string | null;
|
|
510
520
|
/**
|
|
511
521
|
* Text color as a hexadecimal value (hover state).
|
|
512
|
-
* @
|
|
522
|
+
* @maxLength 19
|
|
513
523
|
*/
|
|
514
524
|
textColorHover?: string | null;
|
|
515
525
|
/**
|
|
516
526
|
* Deprecated: Use `background` instead.
|
|
517
|
-
* @
|
|
527
|
+
* @maxLength 19
|
|
518
528
|
* @deprecated
|
|
519
529
|
*/
|
|
520
530
|
backgroundColor?: string | null;
|
|
521
531
|
/**
|
|
522
532
|
* Deprecated: Use `backgroundHover` instead.
|
|
523
|
-
* @
|
|
533
|
+
* @maxLength 19
|
|
524
534
|
* @deprecated
|
|
525
535
|
*/
|
|
526
536
|
backgroundColorHover?: string | null;
|
|
@@ -900,6 +910,8 @@ interface HeadingData {
|
|
|
900
910
|
textStyle?: TextStyle;
|
|
901
911
|
/** Indentation level from 1-4. */
|
|
902
912
|
indentation?: number | null;
|
|
913
|
+
/** Rendered heading level for SEO/accessibility, overrides the HTML tag when set. */
|
|
914
|
+
renderedLevel?: number | null;
|
|
903
915
|
}
|
|
904
916
|
interface HTMLData extends HTMLDataDataOneOf {
|
|
905
917
|
/** The URL for the HTML code for the node. */
|
|
@@ -970,7 +982,7 @@ interface StylesBorder {
|
|
|
970
982
|
width?: number | null;
|
|
971
983
|
/**
|
|
972
984
|
* Border color as a hexadecimal value.
|
|
973
|
-
* @
|
|
985
|
+
* @maxLength 19
|
|
974
986
|
*/
|
|
975
987
|
color?: string | null;
|
|
976
988
|
/** Border radius in pixels. */
|
|
@@ -1011,22 +1023,22 @@ type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HI
|
|
|
1011
1023
|
interface LinkPreviewDataStyles {
|
|
1012
1024
|
/**
|
|
1013
1025
|
* Background color as a hexadecimal value.
|
|
1014
|
-
* @
|
|
1026
|
+
* @maxLength 19
|
|
1015
1027
|
*/
|
|
1016
1028
|
backgroundColor?: string | null;
|
|
1017
1029
|
/**
|
|
1018
1030
|
* Title color as a hexadecimal value.
|
|
1019
|
-
* @
|
|
1031
|
+
* @maxLength 19
|
|
1020
1032
|
*/
|
|
1021
1033
|
titleColor?: string | null;
|
|
1022
1034
|
/**
|
|
1023
1035
|
* Subtitle color as a hexadecimal value.
|
|
1024
|
-
* @
|
|
1036
|
+
* @maxLength 19
|
|
1025
1037
|
*/
|
|
1026
1038
|
subtitleColor?: string | null;
|
|
1027
1039
|
/**
|
|
1028
1040
|
* Link color as a hexadecimal value.
|
|
1029
|
-
* @
|
|
1041
|
+
* @maxLength 19
|
|
1030
1042
|
*/
|
|
1031
1043
|
linkColor?: string | null;
|
|
1032
1044
|
/** Border width in pixels. */
|
|
@@ -1035,7 +1047,7 @@ interface LinkPreviewDataStyles {
|
|
|
1035
1047
|
borderRadius?: number | null;
|
|
1036
1048
|
/**
|
|
1037
1049
|
* Border color as a hexadecimal value.
|
|
1038
|
-
* @
|
|
1050
|
+
* @maxLength 19
|
|
1039
1051
|
*/
|
|
1040
1052
|
borderColor?: string | null;
|
|
1041
1053
|
/** Position of thumbnail. Defaults to `START`. */
|
|
@@ -1186,19 +1198,19 @@ interface BackgroundGradient {
|
|
|
1186
1198
|
angle?: number | null;
|
|
1187
1199
|
/**
|
|
1188
1200
|
* The start color as a hexademical value.
|
|
1189
|
-
* @
|
|
1201
|
+
* @maxLength 19
|
|
1190
1202
|
*/
|
|
1191
1203
|
startColor?: string | null;
|
|
1192
1204
|
/**
|
|
1193
1205
|
* The end color as a hexademical value.
|
|
1194
|
-
* @
|
|
1206
|
+
* @maxLength 19
|
|
1195
1207
|
*/
|
|
1196
1208
|
lastColor?: string | null;
|
|
1197
1209
|
}
|
|
1198
1210
|
interface PollDesignBackground extends PollDesignBackgroundBackgroundOneOf {
|
|
1199
1211
|
/**
|
|
1200
1212
|
* The background color as a hexademical value.
|
|
1201
|
-
* @
|
|
1213
|
+
* @maxLength 19
|
|
1202
1214
|
*/
|
|
1203
1215
|
color?: string | null;
|
|
1204
1216
|
/** An image to use for the background. */
|
|
@@ -1212,7 +1224,7 @@ interface PollDesignBackground extends PollDesignBackgroundBackgroundOneOf {
|
|
|
1212
1224
|
interface PollDesignBackgroundBackgroundOneOf {
|
|
1213
1225
|
/**
|
|
1214
1226
|
* The background color as a hexademical value.
|
|
1215
|
-
* @
|
|
1227
|
+
* @maxLength 19
|
|
1216
1228
|
*/
|
|
1217
1229
|
color?: string | null;
|
|
1218
1230
|
/** An image to use for the background. */
|
|
@@ -1526,32 +1538,32 @@ interface ButtonStyles {
|
|
|
1526
1538
|
borderRadius?: number | null;
|
|
1527
1539
|
/**
|
|
1528
1540
|
* Border color as a hexadecimal value.
|
|
1529
|
-
* @
|
|
1541
|
+
* @maxLength 19
|
|
1530
1542
|
*/
|
|
1531
1543
|
borderColor?: string | null;
|
|
1532
1544
|
/**
|
|
1533
1545
|
* Text color as a hexadecimal value.
|
|
1534
|
-
* @
|
|
1546
|
+
* @maxLength 19
|
|
1535
1547
|
*/
|
|
1536
1548
|
textColor?: string | null;
|
|
1537
1549
|
/**
|
|
1538
1550
|
* Background color as a hexadecimal value.
|
|
1539
|
-
* @
|
|
1551
|
+
* @maxLength 19
|
|
1540
1552
|
*/
|
|
1541
1553
|
backgroundColor?: string | null;
|
|
1542
1554
|
/**
|
|
1543
1555
|
* Border color as a hexadecimal value (hover state).
|
|
1544
|
-
* @
|
|
1556
|
+
* @maxLength 19
|
|
1545
1557
|
*/
|
|
1546
1558
|
borderColorHover?: string | null;
|
|
1547
1559
|
/**
|
|
1548
1560
|
* Text color as a hexadecimal value (hover state).
|
|
1549
|
-
* @
|
|
1561
|
+
* @maxLength 19
|
|
1550
1562
|
*/
|
|
1551
1563
|
textColorHover?: string | null;
|
|
1552
1564
|
/**
|
|
1553
1565
|
* Background color as a hexadecimal value (hover state).
|
|
1554
|
-
* @
|
|
1566
|
+
* @maxLength 19
|
|
1555
1567
|
*/
|
|
1556
1568
|
backgroundColorHover?: string | null;
|
|
1557
1569
|
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
@@ -1568,7 +1580,7 @@ interface ImageStyles {
|
|
|
1568
1580
|
resizing?: ResizingWithLiterals;
|
|
1569
1581
|
/**
|
|
1570
1582
|
* Image border color as a hexadecimal value.
|
|
1571
|
-
* @
|
|
1583
|
+
* @maxLength 19
|
|
1572
1584
|
*/
|
|
1573
1585
|
borderColor?: string | null;
|
|
1574
1586
|
/** Image border width in pixels. */
|
|
@@ -1581,17 +1593,17 @@ interface RibbonStyles {
|
|
|
1581
1593
|
ribbonText?: string | null;
|
|
1582
1594
|
/**
|
|
1583
1595
|
* Ribbon background color as a hexadecimal value.
|
|
1584
|
-
* @
|
|
1596
|
+
* @maxLength 19
|
|
1585
1597
|
*/
|
|
1586
1598
|
backgroundColor?: string | null;
|
|
1587
1599
|
/**
|
|
1588
1600
|
* Ribbon text color as a hexadecimal value.
|
|
1589
|
-
* @
|
|
1601
|
+
* @maxLength 19
|
|
1590
1602
|
*/
|
|
1591
1603
|
textColor?: string | null;
|
|
1592
1604
|
/**
|
|
1593
1605
|
* Ribbon border color as a hexadecimal value.
|
|
1594
|
-
* @
|
|
1606
|
+
* @maxLength 19
|
|
1595
1607
|
*/
|
|
1596
1608
|
borderColor?: string | null;
|
|
1597
1609
|
/** Ribbon border width in pixels. */
|
|
@@ -1604,12 +1616,12 @@ interface RibbonStyles {
|
|
|
1604
1616
|
interface CardStyles {
|
|
1605
1617
|
/**
|
|
1606
1618
|
* Card background color as a hexadecimal value.
|
|
1607
|
-
* @
|
|
1619
|
+
* @maxLength 19
|
|
1608
1620
|
*/
|
|
1609
1621
|
backgroundColor?: string | null;
|
|
1610
1622
|
/**
|
|
1611
1623
|
* Card border color as a hexadecimal value.
|
|
1612
|
-
* @
|
|
1624
|
+
* @maxLength 19
|
|
1613
1625
|
*/
|
|
1614
1626
|
borderColor?: string | null;
|
|
1615
1627
|
/** Card border width in pixels. */
|
|
@@ -1624,12 +1636,12 @@ interface CardStyles {
|
|
|
1624
1636
|
titlePriceLayout?: LayoutWithLiterals;
|
|
1625
1637
|
/**
|
|
1626
1638
|
* Title text color as a hexadecimal value.
|
|
1627
|
-
* @
|
|
1639
|
+
* @maxLength 19
|
|
1628
1640
|
*/
|
|
1629
1641
|
titleColor?: string | null;
|
|
1630
1642
|
/**
|
|
1631
1643
|
* Text color as a hexadecimal value.
|
|
1632
|
-
* @
|
|
1644
|
+
* @maxLength 19
|
|
1633
1645
|
*/
|
|
1634
1646
|
textColor?: string | null;
|
|
1635
1647
|
}
|
|
@@ -1773,6 +1785,8 @@ interface TableData {
|
|
|
1773
1785
|
* @maxSize 4
|
|
1774
1786
|
*/
|
|
1775
1787
|
cellPadding?: number[];
|
|
1788
|
+
/** Table's alternative text. */
|
|
1789
|
+
altText?: string | null;
|
|
1776
1790
|
}
|
|
1777
1791
|
interface Dimensions {
|
|
1778
1792
|
/** An array representing relative width of each column in relation to the other columns. */
|
|
@@ -1809,29 +1823,29 @@ interface CellStyle {
|
|
|
1809
1823
|
verticalAlignment?: VerticalAlignmentWithLiterals;
|
|
1810
1824
|
/**
|
|
1811
1825
|
* Cell background color as a hexadecimal value.
|
|
1812
|
-
* @
|
|
1826
|
+
* @maxLength 19
|
|
1813
1827
|
*/
|
|
1814
1828
|
backgroundColor?: string | null;
|
|
1815
1829
|
}
|
|
1816
1830
|
interface BorderColors {
|
|
1817
1831
|
/**
|
|
1818
1832
|
* Left border color as a hexadecimal value.
|
|
1819
|
-
* @
|
|
1833
|
+
* @maxLength 19
|
|
1820
1834
|
*/
|
|
1821
1835
|
left?: string | null;
|
|
1822
1836
|
/**
|
|
1823
1837
|
* Right border color as a hexadecimal value.
|
|
1824
|
-
* @
|
|
1838
|
+
* @maxLength 19
|
|
1825
1839
|
*/
|
|
1826
1840
|
right?: string | null;
|
|
1827
1841
|
/**
|
|
1828
1842
|
* Top border color as a hexadecimal value.
|
|
1829
|
-
* @
|
|
1843
|
+
* @maxLength 19
|
|
1830
1844
|
*/
|
|
1831
1845
|
top?: string | null;
|
|
1832
1846
|
/**
|
|
1833
1847
|
* Bottom border color as a hexadecimal value.
|
|
1834
|
-
* @
|
|
1848
|
+
* @maxLength 19
|
|
1835
1849
|
*/
|
|
1836
1850
|
bottom?: string | null;
|
|
1837
1851
|
}
|
|
@@ -1906,7 +1920,7 @@ interface CaptionData {
|
|
|
1906
1920
|
interface LayoutData {
|
|
1907
1921
|
/**
|
|
1908
1922
|
* Deprecated: Use `background` instead.
|
|
1909
|
-
* @
|
|
1923
|
+
* @maxLength 19
|
|
1910
1924
|
* @deprecated
|
|
1911
1925
|
*/
|
|
1912
1926
|
backgroundColor?: string | null;
|
|
@@ -1914,7 +1928,7 @@ interface LayoutData {
|
|
|
1914
1928
|
backgroundImage?: LayoutDataBackgroundImage;
|
|
1915
1929
|
/**
|
|
1916
1930
|
* Border color as a hexadecimal value.
|
|
1917
|
-
* @
|
|
1931
|
+
* @maxLength 19
|
|
1918
1932
|
*/
|
|
1919
1933
|
borderColor?: string | null;
|
|
1920
1934
|
/** Border width in pixels. */
|
|
@@ -1923,7 +1937,7 @@ interface LayoutData {
|
|
|
1923
1937
|
borderRadius?: number | null;
|
|
1924
1938
|
/**
|
|
1925
1939
|
* Deprecated: Use `backdrop` instead.
|
|
1926
|
-
* @
|
|
1940
|
+
* @maxLength 19
|
|
1927
1941
|
* @deprecated
|
|
1928
1942
|
*/
|
|
1929
1943
|
backdropColor?: string | null;
|
|
@@ -2061,7 +2075,7 @@ interface LayoutDataBackground {
|
|
|
2061
2075
|
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2062
2076
|
/**
|
|
2063
2077
|
* Background color as a hexadecimal value.
|
|
2064
|
-
* @
|
|
2078
|
+
* @maxLength 19
|
|
2065
2079
|
*/
|
|
2066
2080
|
color?: string | null;
|
|
2067
2081
|
/** Gradient configuration. */
|
|
@@ -2073,7 +2087,7 @@ interface Backdrop {
|
|
|
2073
2087
|
type?: BackdropTypeWithLiterals;
|
|
2074
2088
|
/**
|
|
2075
2089
|
* Backdrop color as a hexadecimal value.
|
|
2076
|
-
* @
|
|
2090
|
+
* @maxLength 19
|
|
2077
2091
|
*/
|
|
2078
2092
|
color?: string | null;
|
|
2079
2093
|
/** Gradient configuration. */
|
|
@@ -2094,7 +2108,7 @@ interface ShapeData {
|
|
|
2094
2108
|
interface ShapeDataStyles {
|
|
2095
2109
|
/**
|
|
2096
2110
|
* Shape fill color as a hexadecimal value.
|
|
2097
|
-
* @
|
|
2111
|
+
* @maxLength 19
|
|
2098
2112
|
*/
|
|
2099
2113
|
color?: string | null;
|
|
2100
2114
|
/** Map of original color keys to their new color values. */
|
|
@@ -2153,7 +2167,7 @@ interface CardDataBackground {
|
|
|
2153
2167
|
type?: CardDataBackgroundTypeWithLiterals;
|
|
2154
2168
|
/**
|
|
2155
2169
|
* Background color as a hexadecimal value.
|
|
2156
|
-
* @
|
|
2170
|
+
* @maxLength 19
|
|
2157
2171
|
*/
|
|
2158
2172
|
color?: string | null;
|
|
2159
2173
|
/** Gradient configuration. */
|
|
@@ -2180,7 +2194,7 @@ interface TocData {
|
|
|
2180
2194
|
itemSpacing?: number | null;
|
|
2181
2195
|
/**
|
|
2182
2196
|
* Optional override for the text color.
|
|
2183
|
-
* @
|
|
2197
|
+
* @maxLength 19
|
|
2184
2198
|
*/
|
|
2185
2199
|
color?: string | null;
|
|
2186
2200
|
/** Indentation style. Default: NESTED. */
|
|
@@ -2214,6 +2228,103 @@ declare enum Indentation {
|
|
|
2214
2228
|
}
|
|
2215
2229
|
/** @enumType */
|
|
2216
2230
|
type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
|
|
2231
|
+
/** Data for a smart block node. */
|
|
2232
|
+
interface SmartBlockData {
|
|
2233
|
+
/** The type of the smart block. */
|
|
2234
|
+
type?: SmartBlockDataTypeWithLiterals;
|
|
2235
|
+
/** Layout orientation. HORIZONTAL or VERTICAL. Optional for variants with fixed orientation. */
|
|
2236
|
+
orientation?: string | null;
|
|
2237
|
+
/** Column size controlling cells per row. */
|
|
2238
|
+
columnSize?: ColumnSizeWithLiterals;
|
|
2239
|
+
/**
|
|
2240
|
+
* Border color (for SOLID_JOINED_BOXES variant).
|
|
2241
|
+
* @maxLength 19
|
|
2242
|
+
*/
|
|
2243
|
+
borderColor?: string | null;
|
|
2244
|
+
/** Border width in pixels (for SOLID_JOINED_BOXES variant). */
|
|
2245
|
+
borderWidth?: number | null;
|
|
2246
|
+
/** Border radius in pixels (for SOLID_JOINED_BOXES variant). */
|
|
2247
|
+
borderRadius?: number | null;
|
|
2248
|
+
}
|
|
2249
|
+
/** Layout type of the smart block */
|
|
2250
|
+
declare enum SmartBlockDataType {
|
|
2251
|
+
/** Grid-based layouts with solid box items containing title, body, and icon/image. */
|
|
2252
|
+
SOLID_BOXES = "SOLID_BOXES",
|
|
2253
|
+
/** Numbered boxes. */
|
|
2254
|
+
NUMBERED_BOXES = "NUMBERED_BOXES",
|
|
2255
|
+
/** Statistics display with large numbers/values. */
|
|
2256
|
+
STATS = "STATS",
|
|
2257
|
+
/** Statistics with circular visual elements. */
|
|
2258
|
+
CIRCLE_STATS = "CIRCLE_STATS",
|
|
2259
|
+
/** Staggered/zigzag grid layout with alternating box positions. */
|
|
2260
|
+
SOLID_BOXES_ALTERNATING = "SOLID_BOXES_ALTERNATING",
|
|
2261
|
+
/** Grid layout with boxes visually joined (no gaps, shared container border). */
|
|
2262
|
+
SOLID_JOINED_BOXES = "SOLID_JOINED_BOXES",
|
|
2263
|
+
/** Transparent cells with only a left side line. */
|
|
2264
|
+
SIDE_LINE_TEXT = "SIDE_LINE_TEXT",
|
|
2265
|
+
/** Transparent cells with only a top line. */
|
|
2266
|
+
TOP_LINE_TEXT = "TOP_LINE_TEXT",
|
|
2267
|
+
/** Outlined boxes with a numbered/icon circle at the top. */
|
|
2268
|
+
OUTLINE_BOXES_WITH_TOP_CIRCLE = "OUTLINE_BOXES_WITH_TOP_CIRCLE",
|
|
2269
|
+
/** Large icon bullets with text content. */
|
|
2270
|
+
BIG_BULLETS = "BIG_BULLETS",
|
|
2271
|
+
/** Small dot bullets with text content. */
|
|
2272
|
+
SMALL_BULLETS = "SMALL_BULLETS",
|
|
2273
|
+
/** Arrow icon bullets with text content. */
|
|
2274
|
+
ARROW_BULLETS = "ARROW_BULLETS",
|
|
2275
|
+
/** Process steps with numbered/icon labels above a horizontal line. */
|
|
2276
|
+
PROCESS_STEPS = "PROCESS_STEPS",
|
|
2277
|
+
/** Statistics with bar visual elements. */
|
|
2278
|
+
BAR_STATS = "BAR_STATS"
|
|
2279
|
+
}
|
|
2280
|
+
/** @enumType */
|
|
2281
|
+
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';
|
|
2282
|
+
/** Column size controlling how many cells appear per row. */
|
|
2283
|
+
declare enum ColumnSize {
|
|
2284
|
+
/** Up to 4 cells in a row. */
|
|
2285
|
+
SMALL = "SMALL",
|
|
2286
|
+
/** Up to 3 cells in a row (default). */
|
|
2287
|
+
MEDIUM = "MEDIUM",
|
|
2288
|
+
/** Up to 2 cells in a row. */
|
|
2289
|
+
LARGE = "LARGE",
|
|
2290
|
+
/** 1 cell in a row. */
|
|
2291
|
+
EXTRA_LARGE = "EXTRA_LARGE"
|
|
2292
|
+
}
|
|
2293
|
+
/** @enumType */
|
|
2294
|
+
type ColumnSizeWithLiterals = ColumnSize | 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
|
|
2295
|
+
/** Data for a smart block cell node. */
|
|
2296
|
+
interface SmartBlockCellData {
|
|
2297
|
+
/** Optional label text for the cell (e.g., for stats variants). */
|
|
2298
|
+
label?: string | null;
|
|
2299
|
+
/** Shape file details. */
|
|
2300
|
+
shape?: Media;
|
|
2301
|
+
/**
|
|
2302
|
+
* Border color of the cell.
|
|
2303
|
+
* @maxLength 19
|
|
2304
|
+
*/
|
|
2305
|
+
borderColor?: string | null;
|
|
2306
|
+
/** Border width in pixels. */
|
|
2307
|
+
borderWidth?: number | null;
|
|
2308
|
+
/** Border radius in pixels. */
|
|
2309
|
+
borderRadius?: number | null;
|
|
2310
|
+
/** The type of the parent smart block (must match parent). */
|
|
2311
|
+
type?: SmartBlockDataTypeWithLiterals;
|
|
2312
|
+
/**
|
|
2313
|
+
* Accent color for non-background variants (e.g., line, bullet, label color).
|
|
2314
|
+
* @maxLength 19
|
|
2315
|
+
*/
|
|
2316
|
+
accentColor?: string | null;
|
|
2317
|
+
/**
|
|
2318
|
+
* Background color for background-based variants (SOLID_BOXES, SOLID_BOXES_ALTERNATING, SOLID_JOINED_BOXES).
|
|
2319
|
+
* @maxLength 19
|
|
2320
|
+
*/
|
|
2321
|
+
backgroundColor?: string | null;
|
|
2322
|
+
/**
|
|
2323
|
+
* Shape fill color as a hexadecimal value.
|
|
2324
|
+
* @maxLength 19
|
|
2325
|
+
*/
|
|
2326
|
+
shapeColor?: string | null;
|
|
2327
|
+
}
|
|
2217
2328
|
interface Metadata {
|
|
2218
2329
|
/** Schema version. */
|
|
2219
2330
|
version?: number;
|
|
@@ -3271,4 +3382,4 @@ interface BulkUpdateQuestionEntryOptions {
|
|
|
3271
3382
|
returnFullEntity?: boolean | null;
|
|
3272
3383
|
}
|
|
3273
3384
|
|
|
3274
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, 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 BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkActionMetadata, type BulkDeleteQuestionEntriesRequest, type BulkDeleteQuestionEntriesResponse, type BulkUpdateQuestionEntryOptions, type BulkUpdateQuestionEntryRequest, type BulkUpdateQuestionEntryResponse, type BulkUpdateQuestionEntryResult, 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, type CommonQueryWithEntityContext, ContentFormat, type ContentFormatWithLiterals, type CreateQuestionEntryRequest, type CreateQuestionEntryResponse, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteQuestionEntryRequest, type DeleteQuestionEntryResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type ExtendedFields, FieldSet, type FieldSetWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetQuestionEntryRequest, type GetQuestionEntryResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, 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, type Label, 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, type ListQuestionEntriesOptions, type ListQuestionEntriesRequest, type ListQuestionEntriesResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MaskedQuestionEntry, type Media, type MentionData, type MessageEnvelope, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type PagingMetadataV2, 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 QueryQuestionEntriesOptions, type QueryQuestionEntriesRequest, QueryQuestionEntriesRequestContentFormat, type QueryQuestionEntriesRequestContentFormatWithLiterals, QueryQuestionEntriesRequestFieldSet, type QueryQuestionEntriesRequestFieldSetWithLiterals, type QueryQuestionEntriesResponse, type QuestionEntriesQueryBuilder, type QuestionEntriesQueryResult, type QuestionEntry, type QuestionEntryAnswerOneOf, type QuestionEntryCreatedEnvelope, type QuestionEntryDeletedEnvelope, type QuestionEntryQuery, type QuestionEntryQuerySpec, type QuestionEntryUpdatedEnvelope, QuestionStatus, type QuestionStatusWithLiterals, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type SetQuestionEntryLabelsOptions, type SetQuestionEntryLabelsRequest, type SetQuestionEntryLabelsResponse, type Settings, type ShapeData, type ShapeDataStyles, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateQuestionEntry, type UpdateQuestionEntryRequest, type UpdateQuestionEntryResponse, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, bulkDeleteQuestionEntries, bulkUpdateQuestionEntry, createQuestionEntry, deleteQuestionEntry, getQuestionEntry, listQuestionEntries, onQuestionEntryCreated, onQuestionEntryDeleted, onQuestionEntryUpdated, queryQuestionEntries, setQuestionEntryLabels, typedQueryQuestionEntries, updateExtendedFields, updateQuestionEntry, utils };
|
|
3385
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, 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 BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkActionMetadata, type BulkDeleteQuestionEntriesRequest, type BulkDeleteQuestionEntriesResponse, type BulkUpdateQuestionEntryOptions, type BulkUpdateQuestionEntryRequest, type BulkUpdateQuestionEntryResponse, type BulkUpdateQuestionEntryResult, 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, type CommonQueryWithEntityContext, ContentFormat, type ContentFormatWithLiterals, type CreateQuestionEntryRequest, type CreateQuestionEntryResponse, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteQuestionEntryRequest, type DeleteQuestionEntryResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type ExtendedFields, FieldSet, type FieldSetWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetQuestionEntryRequest, type GetQuestionEntryResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, 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, type Label, 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, type ListQuestionEntriesOptions, type ListQuestionEntriesRequest, type ListQuestionEntriesResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MaskedQuestionEntry, type Media, type MentionData, type MessageEnvelope, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type PagingMetadataV2, 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 QueryQuestionEntriesOptions, type QueryQuestionEntriesRequest, QueryQuestionEntriesRequestContentFormat, type QueryQuestionEntriesRequestContentFormatWithLiterals, QueryQuestionEntriesRequestFieldSet, type QueryQuestionEntriesRequestFieldSetWithLiterals, type QueryQuestionEntriesResponse, type QuestionEntriesQueryBuilder, type QuestionEntriesQueryResult, type QuestionEntry, type QuestionEntryAnswerOneOf, type QuestionEntryCreatedEnvelope, type QuestionEntryDeletedEnvelope, type QuestionEntryQuery, type QuestionEntryQuerySpec, type QuestionEntryUpdatedEnvelope, QuestionStatus, type QuestionStatusWithLiterals, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type SetQuestionEntryLabelsOptions, type SetQuestionEntryLabelsRequest, type SetQuestionEntryLabelsResponse, type Settings, type ShapeData, type ShapeDataStyles, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateQuestionEntry, type UpdateQuestionEntryRequest, type UpdateQuestionEntryResponse, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, bulkDeleteQuestionEntries, bulkUpdateQuestionEntry, createQuestionEntry, deleteQuestionEntry, getQuestionEntry, listQuestionEntries, onQuestionEntryCreated, onQuestionEntryDeleted, onQuestionEntryUpdated, queryQuestionEntries, setQuestionEntryLabels, typedQueryQuestionEntries, updateExtendedFields, updateQuestionEntry, utils };
|