@wix/auto_sdk_blog_posts 1.0.25 → 1.0.27

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.
@@ -366,7 +366,7 @@ export interface Node extends NodeDataOneOf {
366
366
  /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
367
367
  layoutCellData?: LayoutCellData;
368
368
  /** 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. */
369
- type?: NodeType;
369
+ type?: NodeTypeWithLiterals;
370
370
  /** Node ID. */
371
371
  id?: string;
372
372
  /** A list of child nodes. */
@@ -467,6 +467,8 @@ export declare enum NodeType {
467
467
  LAYOUT = "LAYOUT",
468
468
  LAYOUT_CELL = "LAYOUT_CELL"
469
469
  }
470
+ /** @enumType */
471
+ export 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';
470
472
  export interface NodeStyle {
471
473
  /** The top padding value in pixels. */
472
474
  paddingTop?: string | null;
@@ -479,7 +481,7 @@ export interface ButtonData {
479
481
  /** Styling for the button's container. */
480
482
  containerData?: PluginContainerData;
481
483
  /** The button type. */
482
- type?: Type;
484
+ type?: TypeWithLiterals;
483
485
  /** Styling for the button. */
484
486
  styles?: Styles;
485
487
  /** The text to display on the button. */
@@ -505,7 +507,7 @@ export interface PluginContainerData {
505
507
  /** The width of the node when it's displayed. */
506
508
  width?: PluginContainerDataWidth;
507
509
  /** The node's alignment within its container. */
508
- alignment?: PluginContainerDataAlignment;
510
+ alignment?: PluginContainerDataAlignmentWithLiterals;
509
511
  /** Spoiler cover settings for the node. */
510
512
  spoiler?: Spoiler;
511
513
  /** The height of the node when it's displayed. */
@@ -523,6 +525,8 @@ export declare enum WidthType {
523
525
  /** coast-to-coast display */
524
526
  FULL_WIDTH = "FULL_WIDTH"
525
527
  }
528
+ /** @enumType */
529
+ export type WidthTypeWithLiterals = WidthType | 'CONTENT' | 'SMALL' | 'ORIGINAL' | 'FULL_WIDTH';
526
530
  export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
527
531
  /**
528
532
  * One of the following predefined width options:
@@ -531,7 +535,7 @@ export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOn
531
535
  * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
532
536
  * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
533
537
  */
534
- size?: WidthType;
538
+ size?: WidthTypeWithLiterals;
535
539
  /** A custom width value in pixels. */
536
540
  custom?: string | null;
537
541
  }
@@ -544,7 +548,7 @@ export interface PluginContainerDataWidthDataOneOf {
544
548
  * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
545
549
  * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
546
550
  */
547
- size?: WidthType;
551
+ size?: WidthTypeWithLiterals;
548
552
  /** A custom width value in pixels. */
549
553
  custom?: string | null;
550
554
  }
@@ -556,6 +560,8 @@ export declare enum PluginContainerDataAlignment {
556
560
  /** Right Alignment */
557
561
  RIGHT = "RIGHT"
558
562
  }
563
+ /** @enumType */
564
+ export type PluginContainerDataAlignmentWithLiterals = PluginContainerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
559
565
  export interface Spoiler {
560
566
  /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
561
567
  enabled?: boolean | null;
@@ -574,6 +580,8 @@ export declare enum Type {
574
580
  /** Triggers custom action that is defined in plugin configuration by the consumer */
575
581
  ACTION = "ACTION"
576
582
  }
583
+ /** @enumType */
584
+ export type TypeWithLiterals = Type | 'LINK' | 'ACTION';
577
585
  export interface Styles {
578
586
  /** Border attributes. */
579
587
  border?: Border;
@@ -592,7 +600,7 @@ export interface Link extends LinkDataOneOf {
592
600
  * `PARENT` - Opens the linked document in the link's parent frame.
593
601
  * `TOP` - Opens the linked document in the full body of the link's browser tab or window.
594
602
  */
595
- target?: Target;
603
+ target?: TargetWithLiterals;
596
604
  /** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */
597
605
  rel?: Rel;
598
606
  /** A serialized object used for a custom or external link panel. */
@@ -615,6 +623,8 @@ export declare enum Target {
615
623
  /** Opens the linked document in the full body of the window */
616
624
  TOP = "TOP"
617
625
  }
626
+ /** @enumType */
627
+ export type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';
618
628
  export interface Rel {
619
629
  /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
620
630
  nofollow?: boolean | null;
@@ -631,7 +641,7 @@ export interface CodeBlockData {
631
641
  }
632
642
  export interface TextStyle {
633
643
  /** Text alignment. Defaults to `AUTO`. */
634
- textAlignment?: TextAlignment;
644
+ textAlignment?: TextAlignmentWithLiterals;
635
645
  /** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */
636
646
  lineHeight?: string | null;
637
647
  }
@@ -647,15 +657,17 @@ export declare enum TextAlignment {
647
657
  /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */
648
658
  JUSTIFY = "JUSTIFY"
649
659
  }
660
+ /** @enumType */
661
+ export type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
650
662
  export interface DividerData {
651
663
  /** Styling for the divider's container. */
652
664
  containerData?: PluginContainerData;
653
665
  /** Divider line style. */
654
- lineStyle?: LineStyle;
666
+ lineStyle?: LineStyleWithLiterals;
655
667
  /** Divider width. */
656
- width?: Width;
668
+ width?: WidthWithLiterals;
657
669
  /** Divider alignment. */
658
- alignment?: Alignment;
670
+ alignment?: AlignmentWithLiterals;
659
671
  }
660
672
  export declare enum LineStyle {
661
673
  /** Single Line */
@@ -667,6 +679,8 @@ export declare enum LineStyle {
667
679
  /** Dotted Line */
668
680
  DOTTED = "DOTTED"
669
681
  }
682
+ /** @enumType */
683
+ export type LineStyleWithLiterals = LineStyle | 'SINGLE' | 'DOUBLE' | 'DASHED' | 'DOTTED';
670
684
  export declare enum Width {
671
685
  /** Large line */
672
686
  LARGE = "LARGE",
@@ -675,6 +689,8 @@ export declare enum Width {
675
689
  /** Small line */
676
690
  SMALL = "SMALL"
677
691
  }
692
+ /** @enumType */
693
+ export type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
678
694
  export declare enum Alignment {
679
695
  /** Center alignment */
680
696
  CENTER = "CENTER",
@@ -683,6 +699,8 @@ export declare enum Alignment {
683
699
  /** Right alignment */
684
700
  RIGHT = "RIGHT"
685
701
  }
702
+ /** @enumType */
703
+ export type AlignmentWithLiterals = Alignment | 'CENTER' | 'LEFT' | 'RIGHT';
686
704
  export interface FileData {
687
705
  /** Styling for the file's container. */
688
706
  containerData?: PluginContainerData;
@@ -714,6 +732,8 @@ export declare enum ViewMode {
714
732
  /** Mini PDF view */
715
733
  MINI = "MINI"
716
734
  }
735
+ /** @enumType */
736
+ export type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';
717
737
  export interface FileSource extends FileSourceDataOneOf {
718
738
  /** The absolute URL for the file's source. */
719
739
  url?: string | null;
@@ -746,7 +766,7 @@ export interface PDFSettings {
746
766
  * `FULL` : A full page view of the PDF is displayed.
747
767
  * `MINI` : A mini view of the PDF is displayed.
748
768
  */
749
- viewMode?: ViewMode;
769
+ viewMode?: ViewModeWithLiterals;
750
770
  /** Sets whether the PDF download button is disabled. Defaults to `false`. */
751
771
  disableDownload?: boolean | null;
752
772
  /** Sets whether the PDF print button is disabled. Defaults to `false`. */
@@ -833,18 +853,24 @@ export declare enum LayoutType {
833
853
  /** Fullsize images type */
834
854
  FULLSIZE = "FULLSIZE"
835
855
  }
856
+ /** @enumType */
857
+ export type LayoutTypeWithLiterals = LayoutType | 'COLLAGE' | 'MASONRY' | 'GRID' | 'THUMBNAIL' | 'SLIDER' | 'SLIDESHOW' | 'PANORAMA' | 'COLUMN' | 'MAGIC' | 'FULLSIZE';
836
858
  export declare enum Orientation {
837
859
  /** Rows Orientation */
838
860
  ROWS = "ROWS",
839
861
  /** Columns Orientation */
840
862
  COLUMNS = "COLUMNS"
841
863
  }
864
+ /** @enumType */
865
+ export type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';
842
866
  export declare enum Crop {
843
867
  /** Crop to fill */
844
868
  FILL = "FILL",
845
869
  /** Crop to fit */
846
870
  FIT = "FIT"
847
871
  }
872
+ /** @enumType */
873
+ export type CropWithLiterals = Crop | 'FILL' | 'FIT';
848
874
  export declare enum ThumbnailsAlignment {
849
875
  /** Top alignment */
850
876
  TOP = "TOP",
@@ -857,13 +883,15 @@ export declare enum ThumbnailsAlignment {
857
883
  /** No thumbnail */
858
884
  NONE = "NONE"
859
885
  }
886
+ /** @enumType */
887
+ export type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
860
888
  export interface Layout {
861
889
  /** Gallery layout type. */
862
- type?: LayoutType;
890
+ type?: LayoutTypeWithLiterals;
863
891
  /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
864
892
  horizontalScroll?: boolean | null;
865
893
  /** Gallery orientation. */
866
- orientation?: Orientation;
894
+ orientation?: OrientationWithLiterals;
867
895
  /** The number of columns to display on full size screens. */
868
896
  numberOfColumns?: number | null;
869
897
  /** The number of columns to display on mobile screens. */
@@ -875,13 +903,13 @@ export interface ItemStyle {
875
903
  /** Item ratio */
876
904
  ratio?: number | null;
877
905
  /** Sets how item images are cropped. */
878
- crop?: Crop;
906
+ crop?: CropWithLiterals;
879
907
  /** The spacing between items in pixels. */
880
908
  spacing?: number | null;
881
909
  }
882
910
  export interface Thumbnails {
883
911
  /** Thumbnail alignment. */
884
- placement?: ThumbnailsAlignment;
912
+ placement?: ThumbnailsAlignmentWithLiterals;
885
913
  /** Spacing between thumbnails in pixels. */
886
914
  spacing?: number | null;
887
915
  }
@@ -897,7 +925,7 @@ export interface GIFData {
897
925
  /** Width in pixels. */
898
926
  width?: number;
899
927
  /** Type of GIF (Sticker or GIF). Defaults to `GIF`. */
900
- gifType?: GIFType;
928
+ gifType?: GIFTypeWithLiterals;
901
929
  }
902
930
  export interface GIF {
903
931
  /**
@@ -920,6 +948,8 @@ export declare enum GIFType {
920
948
  GIF = "GIF",
921
949
  STICKER = "STICKER"
922
950
  }
951
+ /** @enumType */
952
+ export type GIFTypeWithLiterals = GIFType | 'GIF' | 'STICKER';
923
953
  export interface HeadingData {
924
954
  /** Heading level from 1-6. */
925
955
  level?: number;
@@ -941,7 +971,7 @@ export interface HTMLData extends HTMLDataDataOneOf {
941
971
  /** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
942
972
  containerData?: PluginContainerData;
943
973
  /** The type of HTML code. */
944
- source?: Source;
974
+ source?: SourceWithLiterals;
945
975
  /** If container height is aligned with its content height. Defaults to `true`. */
946
976
  autoHeight?: boolean | null;
947
977
  }
@@ -961,6 +991,8 @@ export declare enum Source {
961
991
  HTML = "HTML",
962
992
  ADSENSE = "ADSENSE"
963
993
  }
994
+ /** @enumType */
995
+ export type SourceWithLiterals = Source | 'HTML' | 'ADSENSE';
964
996
  export interface ImageData {
965
997
  /** Styling for the image's container. */
966
998
  containerData?: PluginContainerData;
@@ -1019,6 +1051,8 @@ export declare enum Position {
1019
1051
  /** Thumbnail hidden and not displayed */
1020
1052
  HIDDEN = "HIDDEN"
1021
1053
  }
1054
+ /** @enumType */
1055
+ export type PositionWithLiterals = Position | 'START' | 'END' | 'TOP' | 'HIDDEN';
1022
1056
  export interface LinkPreviewDataStyles {
1023
1057
  /**
1024
1058
  * Background color as a hexadecimal value.
@@ -1050,7 +1084,7 @@ export interface LinkPreviewDataStyles {
1050
1084
  */
1051
1085
  borderColor?: string | null;
1052
1086
  /** Position of thumbnail. Defaults to `START`. */
1053
- thumbnailPosition?: Position;
1087
+ thumbnailPosition?: PositionWithLiterals;
1054
1088
  }
1055
1089
  export interface MapData {
1056
1090
  /** Styling for the map's container. */
@@ -1080,7 +1114,7 @@ export interface MapSettings {
1080
1114
  /** Initial zoom value. */
1081
1115
  initialZoom?: number | null;
1082
1116
  /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
1083
- mapType?: MapType;
1117
+ mapType?: MapTypeWithLiterals;
1084
1118
  }
1085
1119
  export declare enum MapType {
1086
1120
  /** Roadmap map type */
@@ -1092,6 +1126,8 @@ export declare enum MapType {
1092
1126
  /** Terrain map type */
1093
1127
  TERRAIN = "TERRAIN"
1094
1128
  }
1129
+ /** @enumType */
1130
+ export type MapTypeWithLiterals = MapType | 'ROADMAP' | 'SATELITE' | 'HYBRID' | 'TERRAIN';
1095
1131
  export interface ParagraphData {
1096
1132
  /** Styling for the paragraph text. */
1097
1133
  textStyle?: TextStyle;
@@ -1118,17 +1154,21 @@ export declare enum ViewRole {
1118
1154
  /** Anyone can see the results, even if one didn't vote */
1119
1155
  EVERYONE = "EVERYONE"
1120
1156
  }
1157
+ /** @enumType */
1158
+ export type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';
1121
1159
  export declare enum VoteRole {
1122
1160
  /** Logged in member */
1123
1161
  SITE_MEMBERS = "SITE_MEMBERS",
1124
1162
  /** Anyone */
1125
1163
  ALL = "ALL"
1126
1164
  }
1165
+ /** @enumType */
1166
+ export type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';
1127
1167
  export interface Permissions {
1128
1168
  /** Sets who can view the poll results. */
1129
- view?: ViewRole;
1169
+ view?: ViewRoleWithLiterals;
1130
1170
  /** Sets who can vote. */
1131
- vote?: VoteRole;
1171
+ vote?: VoteRoleWithLiterals;
1132
1172
  /** Sets whether one voter can vote multiple times. Defaults to `false`. */
1133
1173
  allowMultipleVotes?: boolean | null;
1134
1174
  }
@@ -1154,17 +1194,21 @@ export declare enum PollLayoutType {
1154
1194
  /** Grid */
1155
1195
  GRID = "GRID"
1156
1196
  }
1197
+ /** @enumType */
1198
+ export type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';
1157
1199
  export declare enum PollLayoutDirection {
1158
1200
  /** Left-to-right */
1159
1201
  LTR = "LTR",
1160
1202
  /** Right-to-left */
1161
1203
  RTL = "RTL"
1162
1204
  }
1205
+ /** @enumType */
1206
+ export type PollLayoutDirectionWithLiterals = PollLayoutDirection | 'LTR' | 'RTL';
1163
1207
  export interface PollLayout {
1164
1208
  /** The layout for displaying the voting options. */
1165
- type?: PollLayoutType;
1209
+ type?: PollLayoutTypeWithLiterals;
1166
1210
  /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
1167
- direction?: PollLayoutDirection;
1211
+ direction?: PollLayoutDirectionWithLiterals;
1168
1212
  /** Sets whether to display the main poll image. Defaults to `false`. */
1169
1213
  enableImage?: boolean | null;
1170
1214
  }
@@ -1180,6 +1224,8 @@ export declare enum BackgroundType {
1180
1224
  /** Gradiant background type */
1181
1225
  GRADIENT = "GRADIENT"
1182
1226
  }
1227
+ /** @enumType */
1228
+ export type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
1183
1229
  export interface Gradient {
1184
1230
  /** The gradient angle in degrees. */
1185
1231
  angle?: number | null;
@@ -1205,7 +1251,7 @@ export interface Background extends BackgroundBackgroundOneOf {
1205
1251
  /** Details for a gradient background. */
1206
1252
  gradient?: Gradient;
1207
1253
  /** Background type. For each option, include the relevant details. */
1208
- type?: BackgroundType;
1254
+ type?: BackgroundTypeWithLiterals;
1209
1255
  }
1210
1256
  /** @oneof */
1211
1257
  export interface BackgroundBackgroundOneOf {
@@ -1282,7 +1328,7 @@ export interface Decoration extends DecorationDataOneOf {
1282
1328
  /** Data for a spoiler decoration. */
1283
1329
  spoilerData?: SpoilerData;
1284
1330
  /** The type of decoration to apply. */
1285
- type?: DecorationType;
1331
+ type?: DecorationTypeWithLiterals;
1286
1332
  }
1287
1333
  /** @oneof */
1288
1334
  export interface DecorationDataOneOf {
@@ -1317,6 +1363,8 @@ export declare enum DecorationType {
1317
1363
  FONT_SIZE = "FONT_SIZE",
1318
1364
  EXTERNAL = "EXTERNAL"
1319
1365
  }
1366
+ /** @enumType */
1367
+ export type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL';
1320
1368
  export interface AnchorData {
1321
1369
  /** The target node's ID. */
1322
1370
  anchor?: string;
@@ -1341,7 +1389,7 @@ export interface MentionData {
1341
1389
  }
1342
1390
  export interface FontSizeData {
1343
1391
  /** The units used for the font size. */
1344
- unit?: FontType;
1392
+ unit?: FontTypeWithLiterals;
1345
1393
  /** Font size value. */
1346
1394
  value?: number | null;
1347
1395
  }
@@ -1349,6 +1397,8 @@ export declare enum FontType {
1349
1397
  PX = "PX",
1350
1398
  EM = "EM"
1351
1399
  }
1400
+ /** @enumType */
1401
+ export type FontTypeWithLiterals = FontType | 'PX' | 'EM';
1352
1402
  export interface SpoilerData {
1353
1403
  /** Spoiler ID. */
1354
1404
  id?: string | null;
@@ -1359,7 +1409,7 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1359
1409
  /** Data for embedded Wix Events content. */
1360
1410
  eventData?: EventData;
1361
1411
  /** The type of Wix App content being embedded. */
1362
- type?: AppType;
1412
+ type?: AppTypeWithLiterals;
1363
1413
  /** The ID of the embedded content. */
1364
1414
  itemId?: string | null;
1365
1415
  /** The name of the embedded content. */
@@ -1386,6 +1436,8 @@ export declare enum AppType {
1386
1436
  EVENT = "EVENT",
1387
1437
  BOOKING = "BOOKING"
1388
1438
  }
1439
+ /** @enumType */
1440
+ export type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';
1389
1441
  export interface BookingData {
1390
1442
  /** Booking duration in minutes. */
1391
1443
  durations?: string | null;
@@ -1464,9 +1516,9 @@ export interface CollapsibleListData {
1464
1516
  /** If `true`, only one item can be expanded at a time. Defaults to `false`. */
1465
1517
  expandOnlyOne?: boolean | null;
1466
1518
  /** Sets which items are expanded when the page loads. */
1467
- initialExpandedItems?: InitialExpandedItems;
1519
+ initialExpandedItems?: InitialExpandedItemsWithLiterals;
1468
1520
  /** The direction of the text in the list. Either left-to-right or right-to-left. */
1469
- direction?: Direction;
1521
+ direction?: DirectionWithLiterals;
1470
1522
  /** If `true`, The collapsible item will appear in search results as an FAQ. */
1471
1523
  isQapageData?: boolean | null;
1472
1524
  }
@@ -1478,12 +1530,16 @@ export declare enum InitialExpandedItems {
1478
1530
  /** All items collapsed initally */
1479
1531
  NONE = "NONE"
1480
1532
  }
1533
+ /** @enumType */
1534
+ export type InitialExpandedItemsWithLiterals = InitialExpandedItems | 'FIRST' | 'ALL' | 'NONE';
1481
1535
  export declare enum Direction {
1482
1536
  /** Left-to-right */
1483
1537
  LTR = "LTR",
1484
1538
  /** Right-to-left */
1485
1539
  RTL = "RTL"
1486
1540
  }
1541
+ /** @enumType */
1542
+ export type DirectionWithLiterals = Direction | 'LTR' | 'RTL';
1487
1543
  export interface TableData {
1488
1544
  /** Styling for the table's container. */
1489
1545
  containerData?: PluginContainerData;
@@ -1521,9 +1577,11 @@ export declare enum VerticalAlignment {
1521
1577
  /** Bottom alignment */
1522
1578
  BOTTOM = "BOTTOM"
1523
1579
  }
1580
+ /** @enumType */
1581
+ export type VerticalAlignmentWithLiterals = VerticalAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
1524
1582
  export interface CellStyle {
1525
1583
  /** Vertical alignment for the cell's text. */
1526
- verticalAlignment?: VerticalAlignment;
1584
+ verticalAlignment?: VerticalAlignmentWithLiterals;
1527
1585
  /**
1528
1586
  * Cell background color as a hexadecimal value.
1529
1587
  * @format COLOR_HEX
@@ -1562,6 +1620,8 @@ export declare enum NullValue {
1562
1620
  /** Null value. */
1563
1621
  NULL_VALUE = "NULL_VALUE"
1564
1622
  }
1623
+ /** @enumType */
1624
+ export type NullValueWithLiterals = NullValue | 'NULL_VALUE';
1565
1625
  /**
1566
1626
  * `ListValue` is a wrapper around a repeated field of values.
1567
1627
  *
@@ -1666,7 +1726,7 @@ export interface ModerationDetails {
1666
1726
  /** Date the post was submitted for review. */
1667
1727
  submittedDate?: Date | null;
1668
1728
  /** Status indicating whether the submission was approved or rejected by the moderator. */
1669
- status?: ModerationStatusStatus;
1729
+ status?: ModerationStatusStatusWithLiterals;
1670
1730
  /**
1671
1731
  * Member ID of the person who approved or rejected the post.
1672
1732
  * @format GUID
@@ -1680,6 +1740,8 @@ export declare enum ModerationStatusStatus {
1680
1740
  APPROVED = "APPROVED",
1681
1741
  REJECTED = "REJECTED"
1682
1742
  }
1743
+ /** @enumType */
1744
+ export type ModerationStatusStatusWithLiterals = ModerationStatusStatus | 'UNKNOWN' | 'APPROVED' | 'REJECTED';
1683
1745
  export interface Media extends MediaMediaOneOf {
1684
1746
  /** Wix Media details. */
1685
1747
  wixMedia?: WixMedia;
@@ -1820,7 +1882,7 @@ export interface QueryPublicationsCountStatsRequest {
1820
1882
  /** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
1821
1883
  rangeEnd?: Date | null;
1822
1884
  /** Order of the returned results. */
1823
- order?: QueryPublicationsCountStatsRequestOrder;
1885
+ order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
1824
1886
  /** Number of months to include in the response. */
1825
1887
  months?: number;
1826
1888
  /**
@@ -1842,6 +1904,8 @@ export declare enum QueryPublicationsCountStatsRequestOrder {
1842
1904
  OLDEST = "OLDEST",
1843
1905
  NEWEST = "NEWEST"
1844
1906
  }
1907
+ /** @enumType */
1908
+ export type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
1845
1909
  /** Get Blog Publications Count Stats response */
1846
1910
  export interface QueryPublicationsCountStatsResponse {
1847
1911
  /** Chronologically ordered list of publications. */
@@ -1866,7 +1930,7 @@ export interface QueryPostCountStatsRequest {
1866
1930
  *
1867
1931
  * Default: `OLDEST`
1868
1932
  */
1869
- order?: Order;
1933
+ order?: OrderWithLiterals;
1870
1934
  /** Number of months to include in response. */
1871
1935
  months?: number;
1872
1936
  /**
@@ -1891,6 +1955,8 @@ export declare enum Order {
1891
1955
  OLDEST = "OLDEST",
1892
1956
  NEWEST = "NEWEST"
1893
1957
  }
1958
+ /** @enumType */
1959
+ export type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
1894
1960
  /** Get Blog Post Count Stats response */
1895
1961
  export interface QueryPostCountStatsResponse {
1896
1962
  /** List of published post counts by month. */
@@ -2037,7 +2103,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
2037
2103
  */
2038
2104
  appId?: string;
2039
2105
  /** @readonly */
2040
- identityType?: WebhookIdentityType;
2106
+ identityType?: WebhookIdentityTypeWithLiterals;
2041
2107
  }
2042
2108
  /** @oneof */
2043
2109
  export interface IdentificationDataIdOneOf {
@@ -2069,6 +2135,8 @@ export declare enum WebhookIdentityType {
2069
2135
  WIX_USER = "WIX_USER",
2070
2136
  APP = "APP"
2071
2137
  }
2138
+ /** @enumType */
2139
+ export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
2072
2140
  export interface ListTemplatesRequest {
2073
2141
  /**
2074
2142
  * Filter post templates by given template category ids
@@ -2084,7 +2152,7 @@ export interface ListTemplatesRequest {
2084
2152
  /** Returns post template categories when set to TRUE */
2085
2153
  listTemplateCategories?: boolean;
2086
2154
  /** Sort order by ascending/descending publish date. Default is ascending publish date sort */
2087
- sort?: GetPostTemplatesSort;
2155
+ sort?: GetPostTemplatesSortWithLiterals;
2088
2156
  /** Pagination options. */
2089
2157
  paging?: BlogPaging;
2090
2158
  }
@@ -2094,6 +2162,8 @@ export declare enum GetPostTemplatesSort {
2094
2162
  /** Sort by descending publishing date. */
2095
2163
  PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
2096
2164
  }
2165
+ /** @enumType */
2166
+ export type GetPostTemplatesSortWithLiterals = GetPostTemplatesSort | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC';
2097
2167
  export interface BlogPaging {
2098
2168
  /**
2099
2169
  * Number of items to skip in the current sort order.
@@ -2340,7 +2410,7 @@ export interface DraftPost {
2340
2410
  * Status of the draft post.
2341
2411
  * @readonly
2342
2412
  */
2343
- status?: Status;
2413
+ status?: StatusWithLiterals;
2344
2414
  /** Details of the draft post in review. Only relevant to posts submitted by guest writers. */
2345
2415
  moderationDetails?: ModerationDetails;
2346
2416
  /**
@@ -2455,6 +2525,8 @@ export declare enum Origin {
2455
2525
  /** Saved automatically by AI tool. */
2456
2526
  AI_AUTO_SAVE = "AI_AUTO_SAVE"
2457
2527
  }
2528
+ /** @enumType */
2529
+ export type OriginWithLiterals = Origin | 'UNKNOWN' | 'ADMIN' | 'ADD_CATEGORIES' | 'AUTO_SAVE' | 'COPY_TEMPLATE' | 'IMPORT' | 'IMPORT_BULK' | 'IMPORT_HTML' | 'IMPORT_PATCH' | 'LANGUAGE_CHANGE' | 'MANUAL_SAVE' | 'MIGRATION' | 'MODERATION' | 'MOVE_TO_TRASH' | 'PRICING_PLANS_CHANGE' | 'PROVISION' | 'PUBLISH' | 'REASSIGN_OWNER' | 'REBLOG' | 'RESTORE' | 'REVERT_TO_DRAFT' | 'TRANSLATION' | 'UNPUBLISH' | 'UNSCHEDULE' | 'NEW_EDIT_SESSION' | 'SCHEDULING_SERVICE_SCHEDULE' | 'SCHEDULING_SERVICE_UNSCHEDULE' | 'SCHEDULING_SERVICE_PUBLISH' | 'SCHEDULE' | 'REMOVE_FROM_MODERATION' | 'REJECT_FROM_MODERATION' | 'APPROVE_IN_MODERATION' | 'DELETE_TAG' | 'PIN' | 'UNPIN' | 'AI_AUTO_SAVE';
2458
2530
  export declare enum Status {
2459
2531
  UNKNOWN = "UNKNOWN",
2460
2532
  /** Status indicating the draft post is published. */
@@ -2468,6 +2540,8 @@ export declare enum Status {
2468
2540
  /** Status indicating the draft post is in review. */
2469
2541
  IN_REVIEW = "IN_REVIEW"
2470
2542
  }
2543
+ /** @enumType */
2544
+ export type StatusWithLiterals = Status | 'UNKNOWN' | 'PUBLISHED' | 'UNPUBLISHED' | 'SCHEDULED' | 'DELETED' | 'IN_REVIEW';
2471
2545
  export interface DraftPostTranslation {
2472
2546
  /**
2473
2547
  * Post ID.
@@ -2475,7 +2549,7 @@ export interface DraftPostTranslation {
2475
2549
  */
2476
2550
  _id?: string;
2477
2551
  /** Post status. */
2478
- status?: Status;
2552
+ status?: StatusWithLiterals;
2479
2553
  /**
2480
2554
  * Language the post is written in.
2481
2555
  * @format LANGUAGE_TAG
@@ -2579,7 +2653,7 @@ export interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
2579
2653
  */
2580
2654
  postId?: string;
2581
2655
  /** Field of the updated counter. */
2582
- updatedCounterField?: Field;
2656
+ updatedCounterField?: FieldWithLiterals;
2583
2657
  /** New counter value. */
2584
2658
  counter?: number;
2585
2659
  }
@@ -2608,6 +2682,8 @@ export declare enum Field {
2608
2682
  /** Rating count field. */
2609
2683
  RATING_COUNT = "RATING_COUNT"
2610
2684
  }
2685
+ /** @enumType */
2686
+ export type FieldWithLiterals = Field | 'UNKNOWN' | 'TOTAL_COMMENTS' | 'LIKE_COUNT' | 'VIEW_COUNT' | 'RATING_COUNT';
2611
2687
  export interface PostOwnerChanged {
2612
2688
  }
2613
2689
  export interface InitialPostsCopied {
@@ -2627,7 +2703,7 @@ export interface GetPostRequest {
2627
2703
  * only the post’s base fields are returned.
2628
2704
  * @maxSize 20
2629
2705
  */
2630
- fieldsets?: PostFieldField[];
2706
+ fieldsets?: PostFieldFieldWithLiterals[];
2631
2707
  }
2632
2708
  export declare enum PostFieldField {
2633
2709
  UNKNOWN = "UNKNOWN",
@@ -2646,6 +2722,8 @@ export declare enum PostFieldField {
2646
2722
  /** Includes post reference ID field. */
2647
2723
  REFERENCE_ID = "REFERENCE_ID"
2648
2724
  }
2725
+ /** @enumType */
2726
+ export type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
2649
2727
  export interface GetPostResponse {
2650
2728
  /** Retrieved post info. */
2651
2729
  post?: Post;
@@ -2663,7 +2741,7 @@ export interface GetPostBySlugRequest {
2663
2741
  * only the post’s base fields are returned.
2664
2742
  * @maxSize 20
2665
2743
  */
2666
- fieldsets?: PostFieldField[];
2744
+ fieldsets?: PostFieldFieldWithLiterals[];
2667
2745
  }
2668
2746
  export interface GetPostBySlugResponse {
2669
2747
  /** Retrieved post info. */
@@ -2708,7 +2786,7 @@ export interface ListPostsRequest {
2708
2786
  *
2709
2787
  * Default: `FEED`
2710
2788
  */
2711
- sort?: GetPostsSort;
2789
+ sort?: GetPostsSortWithLiterals;
2712
2790
  /** Pagination options. */
2713
2791
  paging?: BlogPaging;
2714
2792
  /**
@@ -2731,7 +2809,7 @@ export interface ListPostsRequest {
2731
2809
  * only the post’s base fields are returned.
2732
2810
  * @maxSize 20
2733
2811
  */
2734
- fieldsets?: PostFieldField[];
2812
+ fieldsets?: PostFieldFieldWithLiterals[];
2735
2813
  }
2736
2814
  export declare enum GetPostsSort {
2737
2815
  /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
@@ -2749,6 +2827,8 @@ export declare enum GetPostsSort {
2749
2827
  /** Ordered by `title` in descending order. */
2750
2828
  TITLE_DESC = "TITLE_DESC"
2751
2829
  }
2830
+ /** @enumType */
2831
+ export type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
2752
2832
  export interface ListPostsResponse {
2753
2833
  /** List of retrieved posts. */
2754
2834
  posts?: Post[];
@@ -2764,7 +2844,7 @@ export interface QueryPostsRequest {
2764
2844
  * only the post’s base fields are returned.
2765
2845
  * @maxSize 20
2766
2846
  */
2767
- fieldsets?: PostFieldField[];
2847
+ fieldsets?: PostFieldFieldWithLiterals[];
2768
2848
  }
2769
2849
  export interface Sorting {
2770
2850
  /**
@@ -2773,12 +2853,14 @@ export interface Sorting {
2773
2853
  */
2774
2854
  fieldName?: string;
2775
2855
  /** Sort order. */
2776
- order?: SortOrder;
2856
+ order?: SortOrderWithLiterals;
2777
2857
  }
2778
2858
  export declare enum SortOrder {
2779
2859
  ASC = "ASC",
2780
2860
  DESC = "DESC"
2781
2861
  }
2862
+ /** @enumType */
2863
+ export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
2782
2864
  export interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
2783
2865
  /** Paging options to limit and skip the number of items. */
2784
2866
  paging?: Paging;
@@ -2911,7 +2993,7 @@ export interface LikePostRequest {
2911
2993
  * only the post’s base fields are returned.
2912
2994
  * @maxSize 20
2913
2995
  */
2914
- fieldsets?: PostFieldField[];
2996
+ fieldsets?: PostFieldFieldWithLiterals[];
2915
2997
  }
2916
2998
  export interface LikePostResponse {
2917
2999
  /** Post info. */
@@ -2930,7 +3012,7 @@ export interface UnlikePostRequest {
2930
3012
  * only the post’s base fields are returned.
2931
3013
  * @maxSize 20
2932
3014
  */
2933
- fieldsets?: PostFieldField[];
3015
+ fieldsets?: PostFieldFieldWithLiterals[];
2934
3016
  }
2935
3017
  export interface UnlikePostResponse {
2936
3018
  /** Post info. */
@@ -2949,7 +3031,7 @@ export interface PinPostRequest {
2949
3031
  * only the post’s base fields are returned.
2950
3032
  * @maxSize 20
2951
3033
  */
2952
- fieldsets?: PostFieldField[];
3034
+ fieldsets?: PostFieldFieldWithLiterals[];
2953
3035
  }
2954
3036
  export interface PinPostResponse {
2955
3037
  /** Post info. */
@@ -2968,7 +3050,7 @@ export interface UnpinPostRequest {
2968
3050
  * only the post’s base fields are returned.
2969
3051
  * @maxSize 20
2970
3052
  */
2971
- fieldsets?: PostFieldField[];
3053
+ fieldsets?: PostFieldFieldWithLiterals[];
2972
3054
  }
2973
3055
  export interface UnpinPostResponse {
2974
3056
  /** Post info. */
@@ -3009,7 +3091,7 @@ export interface ListPostsArchiveRequest {
3009
3091
  * only the post’s base fields are returned.
3010
3092
  * @maxSize 20
3011
3093
  */
3012
- fieldsets?: PostFieldField[];
3094
+ fieldsets?: PostFieldFieldWithLiterals[];
3013
3095
  }
3014
3096
  export interface ListPostsArchiveResponse {
3015
3097
  /** List of posts. */
@@ -3086,7 +3168,7 @@ export interface ListDemoPostsRequest {
3086
3168
  *
3087
3169
  * Default: `FEED`
3088
3170
  */
3089
- sort?: GetPostsSort;
3171
+ sort?: GetPostsSortWithLiterals;
3090
3172
  /** Pagination options. */
3091
3173
  paging?: BlogPaging;
3092
3174
  /**
@@ -3102,7 +3184,7 @@ export interface ListDemoPostsRequest {
3102
3184
  * @replacedBy fieldsets
3103
3185
  * @targetRemovalDate 2024-06-30
3104
3186
  */
3105
- fieldsToInclude?: PostFieldField[];
3187
+ fieldsToInclude?: PostFieldFieldWithLiterals[];
3106
3188
  /**
3107
3189
  * Language filter.
3108
3190
  *
@@ -3123,7 +3205,7 @@ export interface ListDemoPostsRequest {
3123
3205
  * only the post’s base fields are returned.
3124
3206
  * @maxSize 20
3125
3207
  */
3126
- fieldsets?: PostFieldField[];
3208
+ fieldsets?: PostFieldFieldWithLiterals[];
3127
3209
  }
3128
3210
  export interface ListDemoPostsResponse {
3129
3211
  /** List of posts. */
@@ -3348,7 +3430,7 @@ export interface QueryPostCountStatsOptions {
3348
3430
  *
3349
3431
  * Default: `OLDEST`
3350
3432
  */
3351
- order?: Order;
3433
+ order?: OrderWithLiterals;
3352
3434
  /** Number of months to include in response. */
3353
3435
  months?: number;
3354
3436
  /**
@@ -3419,7 +3501,7 @@ export interface GetPostOptions {
3419
3501
  * only the post’s base fields are returned.
3420
3502
  * @maxSize 20
3421
3503
  */
3422
- fieldsets?: PostFieldField[];
3504
+ fieldsets?: PostFieldFieldWithLiterals[];
3423
3505
  }
3424
3506
  /**
3425
3507
  * Retrieves a post with the provided slug.
@@ -3452,7 +3534,7 @@ export interface GetPostBySlugOptions {
3452
3534
  * only the post’s base fields are returned.
3453
3535
  * @maxSize 20
3454
3536
  */
3455
- fieldsets?: PostFieldField[];
3537
+ fieldsets?: PostFieldFieldWithLiterals[];
3456
3538
  }
3457
3539
  /**
3458
3540
  * Retrieves a list of up to 100 published posts per request.
@@ -3515,7 +3597,7 @@ export interface ListPostsOptions {
3515
3597
  *
3516
3598
  * Default: `FEED`
3517
3599
  */
3518
- sort?: GetPostsSort;
3600
+ sort?: GetPostsSortWithLiterals;
3519
3601
  /** Pagination options. */
3520
3602
  paging?: BlogPaging;
3521
3603
  /**
@@ -3538,7 +3620,7 @@ export interface ListPostsOptions {
3538
3620
  * only the post’s base fields are returned.
3539
3621
  * @maxSize 20
3540
3622
  */
3541
- fieldsets?: PostFieldField[];
3623
+ fieldsets?: PostFieldFieldWithLiterals[];
3542
3624
  }
3543
3625
  /**
3544
3626
  * Retrieves a list of up to 100 posts, given the provided paging, filtering, and sorting.
@@ -3577,7 +3659,7 @@ export interface QueryPostsOptions {
3577
3659
  * only the post’s base fields are returned.
3578
3660
  * @maxSize 20
3579
3661
  */
3580
- fieldsets?: PostFieldField[] | undefined;
3662
+ fieldsets?: PostFieldFieldWithLiterals[] | undefined;
3581
3663
  }
3582
3664
  interface QueryCursorResult {
3583
3665
  cursors: Cursors;