@wix/auto_sdk_blog_posts 1.0.26 → 1.0.28

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 (45) hide show
  1. package/build/cjs/src/blog-v3-post-posts.http.d.ts +19 -21
  2. package/build/cjs/src/blog-v3-post-posts.http.js +19 -21
  3. package/build/cjs/src/blog-v3-post-posts.http.js.map +1 -1
  4. package/build/cjs/src/blog-v3-post-posts.public.d.ts +22 -29
  5. package/build/cjs/src/blog-v3-post-posts.public.js +5 -5
  6. package/build/cjs/src/blog-v3-post-posts.public.js.map +1 -1
  7. package/build/cjs/src/blog-v3-post-posts.types.d.ts +134 -52
  8. package/build/cjs/src/blog-v3-post-posts.types.js.map +1 -1
  9. package/build/cjs/src/blog-v3-post-posts.universal.d.ts +161 -88
  10. package/build/cjs/src/blog-v3-post-posts.universal.js +24 -31
  11. package/build/cjs/src/blog-v3-post-posts.universal.js.map +1 -1
  12. package/build/es/src/blog-v3-post-posts.http.d.ts +19 -21
  13. package/build/es/src/blog-v3-post-posts.http.js +19 -21
  14. package/build/es/src/blog-v3-post-posts.http.js.map +1 -1
  15. package/build/es/src/blog-v3-post-posts.public.d.ts +22 -29
  16. package/build/es/src/blog-v3-post-posts.public.js +5 -5
  17. package/build/es/src/blog-v3-post-posts.public.js.map +1 -1
  18. package/build/es/src/blog-v3-post-posts.types.d.ts +134 -52
  19. package/build/es/src/blog-v3-post-posts.types.js.map +1 -1
  20. package/build/es/src/blog-v3-post-posts.universal.d.ts +161 -88
  21. package/build/es/src/blog-v3-post-posts.universal.js +24 -31
  22. package/build/es/src/blog-v3-post-posts.universal.js.map +1 -1
  23. package/build/internal/cjs/src/blog-v3-post-posts.http.d.ts +19 -21
  24. package/build/internal/cjs/src/blog-v3-post-posts.http.js +19 -21
  25. package/build/internal/cjs/src/blog-v3-post-posts.http.js.map +1 -1
  26. package/build/internal/cjs/src/blog-v3-post-posts.public.d.ts +22 -29
  27. package/build/internal/cjs/src/blog-v3-post-posts.public.js +5 -5
  28. package/build/internal/cjs/src/blog-v3-post-posts.public.js.map +1 -1
  29. package/build/internal/cjs/src/blog-v3-post-posts.types.d.ts +134 -52
  30. package/build/internal/cjs/src/blog-v3-post-posts.types.js.map +1 -1
  31. package/build/internal/cjs/src/blog-v3-post-posts.universal.d.ts +161 -88
  32. package/build/internal/cjs/src/blog-v3-post-posts.universal.js +24 -31
  33. package/build/internal/cjs/src/blog-v3-post-posts.universal.js.map +1 -1
  34. package/build/internal/es/src/blog-v3-post-posts.http.d.ts +19 -21
  35. package/build/internal/es/src/blog-v3-post-posts.http.js +19 -21
  36. package/build/internal/es/src/blog-v3-post-posts.http.js.map +1 -1
  37. package/build/internal/es/src/blog-v3-post-posts.public.d.ts +22 -29
  38. package/build/internal/es/src/blog-v3-post-posts.public.js +5 -5
  39. package/build/internal/es/src/blog-v3-post-posts.public.js.map +1 -1
  40. package/build/internal/es/src/blog-v3-post-posts.types.d.ts +134 -52
  41. package/build/internal/es/src/blog-v3-post-posts.types.js.map +1 -1
  42. package/build/internal/es/src/blog-v3-post-posts.universal.d.ts +161 -88
  43. package/build/internal/es/src/blog-v3-post-posts.universal.js +24 -31
  44. package/build/internal/es/src/blog-v3-post-posts.universal.js.map +1 -1
  45. package/package.json +3 -3
@@ -413,7 +413,7 @@ export interface Node extends NodeDataOneOf {
413
413
  /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
414
414
  layoutCellData?: LayoutCellData;
415
415
  /** 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. */
416
- type?: NodeType;
416
+ type?: NodeTypeWithLiterals;
417
417
  /** Node ID. */
418
418
  id?: string;
419
419
  /** A list of child nodes. */
@@ -514,6 +514,8 @@ export declare enum NodeType {
514
514
  LAYOUT = "LAYOUT",
515
515
  LAYOUT_CELL = "LAYOUT_CELL"
516
516
  }
517
+ /** @enumType */
518
+ 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';
517
519
  export interface NodeStyle {
518
520
  /** The top padding value in pixels. */
519
521
  paddingTop?: string | null;
@@ -526,7 +528,7 @@ export interface ButtonData {
526
528
  /** Styling for the button's container. */
527
529
  containerData?: PluginContainerData;
528
530
  /** The button type. */
529
- type?: Type;
531
+ type?: TypeWithLiterals;
530
532
  /** Styling for the button. */
531
533
  styles?: Styles;
532
534
  /** The text to display on the button. */
@@ -552,7 +554,7 @@ export interface PluginContainerData {
552
554
  /** The width of the node when it's displayed. */
553
555
  width?: PluginContainerDataWidth;
554
556
  /** The node's alignment within its container. */
555
- alignment?: PluginContainerDataAlignment;
557
+ alignment?: PluginContainerDataAlignmentWithLiterals;
556
558
  /** Spoiler cover settings for the node. */
557
559
  spoiler?: Spoiler;
558
560
  /** The height of the node when it's displayed. */
@@ -570,6 +572,8 @@ export declare enum WidthType {
570
572
  /** coast-to-coast display */
571
573
  FULL_WIDTH = "FULL_WIDTH"
572
574
  }
575
+ /** @enumType */
576
+ export type WidthTypeWithLiterals = WidthType | 'CONTENT' | 'SMALL' | 'ORIGINAL' | 'FULL_WIDTH';
573
577
  export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
574
578
  /**
575
579
  * One of the following predefined width options:
@@ -578,7 +582,7 @@ export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOn
578
582
  * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
579
583
  * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
580
584
  */
581
- size?: WidthType;
585
+ size?: WidthTypeWithLiterals;
582
586
  /** A custom width value in pixels. */
583
587
  custom?: string | null;
584
588
  }
@@ -591,7 +595,7 @@ export interface PluginContainerDataWidthDataOneOf {
591
595
  * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
592
596
  * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
593
597
  */
594
- size?: WidthType;
598
+ size?: WidthTypeWithLiterals;
595
599
  /** A custom width value in pixels. */
596
600
  custom?: string | null;
597
601
  }
@@ -603,6 +607,8 @@ export declare enum PluginContainerDataAlignment {
603
607
  /** Right Alignment */
604
608
  RIGHT = "RIGHT"
605
609
  }
610
+ /** @enumType */
611
+ export type PluginContainerDataAlignmentWithLiterals = PluginContainerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
606
612
  export interface Spoiler {
607
613
  /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
608
614
  enabled?: boolean | null;
@@ -621,6 +627,8 @@ export declare enum Type {
621
627
  /** Triggers custom action that is defined in plugin configuration by the consumer */
622
628
  ACTION = "ACTION"
623
629
  }
630
+ /** @enumType */
631
+ export type TypeWithLiterals = Type | 'LINK' | 'ACTION';
624
632
  export interface Styles {
625
633
  /** Border attributes. */
626
634
  border?: Border;
@@ -639,7 +647,7 @@ export interface Link extends LinkDataOneOf {
639
647
  * `PARENT` - Opens the linked document in the link's parent frame.
640
648
  * `TOP` - Opens the linked document in the full body of the link's browser tab or window.
641
649
  */
642
- target?: Target;
650
+ target?: TargetWithLiterals;
643
651
  /** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */
644
652
  rel?: Rel;
645
653
  /** A serialized object used for a custom or external link panel. */
@@ -662,6 +670,8 @@ export declare enum Target {
662
670
  /** Opens the linked document in the full body of the window */
663
671
  TOP = "TOP"
664
672
  }
673
+ /** @enumType */
674
+ export type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';
665
675
  export interface Rel {
666
676
  /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
667
677
  nofollow?: boolean | null;
@@ -678,7 +688,7 @@ export interface CodeBlockData {
678
688
  }
679
689
  export interface TextStyle {
680
690
  /** Text alignment. Defaults to `AUTO`. */
681
- textAlignment?: TextAlignment;
691
+ textAlignment?: TextAlignmentWithLiterals;
682
692
  /** 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. */
683
693
  lineHeight?: string | null;
684
694
  }
@@ -694,15 +704,17 @@ export declare enum TextAlignment {
694
704
  /** 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 */
695
705
  JUSTIFY = "JUSTIFY"
696
706
  }
707
+ /** @enumType */
708
+ export type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
697
709
  export interface DividerData {
698
710
  /** Styling for the divider's container. */
699
711
  containerData?: PluginContainerData;
700
712
  /** Divider line style. */
701
- lineStyle?: LineStyle;
713
+ lineStyle?: LineStyleWithLiterals;
702
714
  /** Divider width. */
703
- width?: Width;
715
+ width?: WidthWithLiterals;
704
716
  /** Divider alignment. */
705
- alignment?: Alignment;
717
+ alignment?: AlignmentWithLiterals;
706
718
  }
707
719
  export declare enum LineStyle {
708
720
  /** Single Line */
@@ -714,6 +726,8 @@ export declare enum LineStyle {
714
726
  /** Dotted Line */
715
727
  DOTTED = "DOTTED"
716
728
  }
729
+ /** @enumType */
730
+ export type LineStyleWithLiterals = LineStyle | 'SINGLE' | 'DOUBLE' | 'DASHED' | 'DOTTED';
717
731
  export declare enum Width {
718
732
  /** Large line */
719
733
  LARGE = "LARGE",
@@ -722,6 +736,8 @@ export declare enum Width {
722
736
  /** Small line */
723
737
  SMALL = "SMALL"
724
738
  }
739
+ /** @enumType */
740
+ export type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
725
741
  export declare enum Alignment {
726
742
  /** Center alignment */
727
743
  CENTER = "CENTER",
@@ -730,6 +746,8 @@ export declare enum Alignment {
730
746
  /** Right alignment */
731
747
  RIGHT = "RIGHT"
732
748
  }
749
+ /** @enumType */
750
+ export type AlignmentWithLiterals = Alignment | 'CENTER' | 'LEFT' | 'RIGHT';
733
751
  export interface FileData {
734
752
  /** Styling for the file's container. */
735
753
  containerData?: PluginContainerData;
@@ -761,6 +779,8 @@ export declare enum ViewMode {
761
779
  /** Mini PDF view */
762
780
  MINI = "MINI"
763
781
  }
782
+ /** @enumType */
783
+ export type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';
764
784
  export interface FileSource extends FileSourceDataOneOf {
765
785
  /** The absolute URL for the file's source. */
766
786
  url?: string | null;
@@ -793,7 +813,7 @@ export interface PDFSettings {
793
813
  * `FULL` : A full page view of the PDF is displayed.
794
814
  * `MINI` : A mini view of the PDF is displayed.
795
815
  */
796
- viewMode?: ViewMode;
816
+ viewMode?: ViewModeWithLiterals;
797
817
  /** Sets whether the PDF download button is disabled. Defaults to `false`. */
798
818
  disableDownload?: boolean | null;
799
819
  /** Sets whether the PDF print button is disabled. Defaults to `false`. */
@@ -880,18 +900,24 @@ export declare enum LayoutType {
880
900
  /** Fullsize images type */
881
901
  FULLSIZE = "FULLSIZE"
882
902
  }
903
+ /** @enumType */
904
+ export type LayoutTypeWithLiterals = LayoutType | 'COLLAGE' | 'MASONRY' | 'GRID' | 'THUMBNAIL' | 'SLIDER' | 'SLIDESHOW' | 'PANORAMA' | 'COLUMN' | 'MAGIC' | 'FULLSIZE';
883
905
  export declare enum Orientation {
884
906
  /** Rows Orientation */
885
907
  ROWS = "ROWS",
886
908
  /** Columns Orientation */
887
909
  COLUMNS = "COLUMNS"
888
910
  }
911
+ /** @enumType */
912
+ export type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';
889
913
  export declare enum Crop {
890
914
  /** Crop to fill */
891
915
  FILL = "FILL",
892
916
  /** Crop to fit */
893
917
  FIT = "FIT"
894
918
  }
919
+ /** @enumType */
920
+ export type CropWithLiterals = Crop | 'FILL' | 'FIT';
895
921
  export declare enum ThumbnailsAlignment {
896
922
  /** Top alignment */
897
923
  TOP = "TOP",
@@ -904,13 +930,15 @@ export declare enum ThumbnailsAlignment {
904
930
  /** No thumbnail */
905
931
  NONE = "NONE"
906
932
  }
933
+ /** @enumType */
934
+ export type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
907
935
  export interface Layout {
908
936
  /** Gallery layout type. */
909
- type?: LayoutType;
937
+ type?: LayoutTypeWithLiterals;
910
938
  /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
911
939
  horizontalScroll?: boolean | null;
912
940
  /** Gallery orientation. */
913
- orientation?: Orientation;
941
+ orientation?: OrientationWithLiterals;
914
942
  /** The number of columns to display on full size screens. */
915
943
  numberOfColumns?: number | null;
916
944
  /** The number of columns to display on mobile screens. */
@@ -922,13 +950,13 @@ export interface ItemStyle {
922
950
  /** Item ratio */
923
951
  ratio?: number | null;
924
952
  /** Sets how item images are cropped. */
925
- crop?: Crop;
953
+ crop?: CropWithLiterals;
926
954
  /** The spacing between items in pixels. */
927
955
  spacing?: number | null;
928
956
  }
929
957
  export interface Thumbnails {
930
958
  /** Thumbnail alignment. */
931
- placement?: ThumbnailsAlignment;
959
+ placement?: ThumbnailsAlignmentWithLiterals;
932
960
  /** Spacing between thumbnails in pixels. */
933
961
  spacing?: number | null;
934
962
  }
@@ -944,7 +972,7 @@ export interface GIFData {
944
972
  /** Width in pixels. */
945
973
  width?: number;
946
974
  /** Type of GIF (Sticker or GIF). Defaults to `GIF`. */
947
- gifType?: GIFType;
975
+ gifType?: GIFTypeWithLiterals;
948
976
  }
949
977
  export interface GIF {
950
978
  /**
@@ -967,6 +995,8 @@ export declare enum GIFType {
967
995
  GIF = "GIF",
968
996
  STICKER = "STICKER"
969
997
  }
998
+ /** @enumType */
999
+ export type GIFTypeWithLiterals = GIFType | 'GIF' | 'STICKER';
970
1000
  export interface HeadingData {
971
1001
  /** Heading level from 1-6. */
972
1002
  level?: number;
@@ -988,7 +1018,7 @@ export interface HTMLData extends HTMLDataDataOneOf {
988
1018
  /** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
989
1019
  containerData?: PluginContainerData;
990
1020
  /** The type of HTML code. */
991
- source?: Source;
1021
+ source?: SourceWithLiterals;
992
1022
  /** If container height is aligned with its content height. Defaults to `true`. */
993
1023
  autoHeight?: boolean | null;
994
1024
  }
@@ -1008,6 +1038,8 @@ export declare enum Source {
1008
1038
  HTML = "HTML",
1009
1039
  ADSENSE = "ADSENSE"
1010
1040
  }
1041
+ /** @enumType */
1042
+ export type SourceWithLiterals = Source | 'HTML' | 'ADSENSE';
1011
1043
  export interface ImageData {
1012
1044
  /** Styling for the image's container. */
1013
1045
  containerData?: PluginContainerData;
@@ -1066,6 +1098,8 @@ export declare enum Position {
1066
1098
  /** Thumbnail hidden and not displayed */
1067
1099
  HIDDEN = "HIDDEN"
1068
1100
  }
1101
+ /** @enumType */
1102
+ export type PositionWithLiterals = Position | 'START' | 'END' | 'TOP' | 'HIDDEN';
1069
1103
  export interface LinkPreviewDataStyles {
1070
1104
  /**
1071
1105
  * Background color as a hexadecimal value.
@@ -1097,7 +1131,7 @@ export interface LinkPreviewDataStyles {
1097
1131
  */
1098
1132
  borderColor?: string | null;
1099
1133
  /** Position of thumbnail. Defaults to `START`. */
1100
- thumbnailPosition?: Position;
1134
+ thumbnailPosition?: PositionWithLiterals;
1101
1135
  }
1102
1136
  export interface MapData {
1103
1137
  /** Styling for the map's container. */
@@ -1127,7 +1161,7 @@ export interface MapSettings {
1127
1161
  /** Initial zoom value. */
1128
1162
  initialZoom?: number | null;
1129
1163
  /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
1130
- mapType?: MapType;
1164
+ mapType?: MapTypeWithLiterals;
1131
1165
  }
1132
1166
  export declare enum MapType {
1133
1167
  /** Roadmap map type */
@@ -1139,6 +1173,8 @@ export declare enum MapType {
1139
1173
  /** Terrain map type */
1140
1174
  TERRAIN = "TERRAIN"
1141
1175
  }
1176
+ /** @enumType */
1177
+ export type MapTypeWithLiterals = MapType | 'ROADMAP' | 'SATELITE' | 'HYBRID' | 'TERRAIN';
1142
1178
  export interface ParagraphData {
1143
1179
  /** Styling for the paragraph text. */
1144
1180
  textStyle?: TextStyle;
@@ -1165,17 +1201,21 @@ export declare enum ViewRole {
1165
1201
  /** Anyone can see the results, even if one didn't vote */
1166
1202
  EVERYONE = "EVERYONE"
1167
1203
  }
1204
+ /** @enumType */
1205
+ export type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';
1168
1206
  export declare enum VoteRole {
1169
1207
  /** Logged in member */
1170
1208
  SITE_MEMBERS = "SITE_MEMBERS",
1171
1209
  /** Anyone */
1172
1210
  ALL = "ALL"
1173
1211
  }
1212
+ /** @enumType */
1213
+ export type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';
1174
1214
  export interface Permissions {
1175
1215
  /** Sets who can view the poll results. */
1176
- view?: ViewRole;
1216
+ view?: ViewRoleWithLiterals;
1177
1217
  /** Sets who can vote. */
1178
- vote?: VoteRole;
1218
+ vote?: VoteRoleWithLiterals;
1179
1219
  /** Sets whether one voter can vote multiple times. Defaults to `false`. */
1180
1220
  allowMultipleVotes?: boolean | null;
1181
1221
  }
@@ -1201,17 +1241,21 @@ export declare enum PollLayoutType {
1201
1241
  /** Grid */
1202
1242
  GRID = "GRID"
1203
1243
  }
1244
+ /** @enumType */
1245
+ export type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';
1204
1246
  export declare enum PollLayoutDirection {
1205
1247
  /** Left-to-right */
1206
1248
  LTR = "LTR",
1207
1249
  /** Right-to-left */
1208
1250
  RTL = "RTL"
1209
1251
  }
1252
+ /** @enumType */
1253
+ export type PollLayoutDirectionWithLiterals = PollLayoutDirection | 'LTR' | 'RTL';
1210
1254
  export interface PollLayout {
1211
1255
  /** The layout for displaying the voting options. */
1212
- type?: PollLayoutType;
1256
+ type?: PollLayoutTypeWithLiterals;
1213
1257
  /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
1214
- direction?: PollLayoutDirection;
1258
+ direction?: PollLayoutDirectionWithLiterals;
1215
1259
  /** Sets whether to display the main poll image. Defaults to `false`. */
1216
1260
  enableImage?: boolean | null;
1217
1261
  }
@@ -1227,6 +1271,8 @@ export declare enum BackgroundType {
1227
1271
  /** Gradiant background type */
1228
1272
  GRADIENT = "GRADIENT"
1229
1273
  }
1274
+ /** @enumType */
1275
+ export type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
1230
1276
  export interface Gradient {
1231
1277
  /** The gradient angle in degrees. */
1232
1278
  angle?: number | null;
@@ -1252,7 +1298,7 @@ export interface Background extends BackgroundBackgroundOneOf {
1252
1298
  /** Details for a gradient background. */
1253
1299
  gradient?: Gradient;
1254
1300
  /** Background type. For each option, include the relevant details. */
1255
- type?: BackgroundType;
1301
+ type?: BackgroundTypeWithLiterals;
1256
1302
  }
1257
1303
  /** @oneof */
1258
1304
  export interface BackgroundBackgroundOneOf {
@@ -1329,7 +1375,7 @@ export interface Decoration extends DecorationDataOneOf {
1329
1375
  /** Data for a spoiler decoration. */
1330
1376
  spoilerData?: SpoilerData;
1331
1377
  /** The type of decoration to apply. */
1332
- type?: DecorationType;
1378
+ type?: DecorationTypeWithLiterals;
1333
1379
  }
1334
1380
  /** @oneof */
1335
1381
  export interface DecorationDataOneOf {
@@ -1364,6 +1410,8 @@ export declare enum DecorationType {
1364
1410
  FONT_SIZE = "FONT_SIZE",
1365
1411
  EXTERNAL = "EXTERNAL"
1366
1412
  }
1413
+ /** @enumType */
1414
+ export type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL';
1367
1415
  export interface AnchorData {
1368
1416
  /** The target node's ID. */
1369
1417
  anchor?: string;
@@ -1388,7 +1436,7 @@ export interface MentionData {
1388
1436
  }
1389
1437
  export interface FontSizeData {
1390
1438
  /** The units used for the font size. */
1391
- unit?: FontType;
1439
+ unit?: FontTypeWithLiterals;
1392
1440
  /** Font size value. */
1393
1441
  value?: number | null;
1394
1442
  }
@@ -1396,6 +1444,8 @@ export declare enum FontType {
1396
1444
  PX = "PX",
1397
1445
  EM = "EM"
1398
1446
  }
1447
+ /** @enumType */
1448
+ export type FontTypeWithLiterals = FontType | 'PX' | 'EM';
1399
1449
  export interface SpoilerData {
1400
1450
  /** Spoiler ID. */
1401
1451
  id?: string | null;
@@ -1406,7 +1456,7 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1406
1456
  /** Data for embedded Wix Events content. */
1407
1457
  eventData?: EventData;
1408
1458
  /** The type of Wix App content being embedded. */
1409
- type?: AppType;
1459
+ type?: AppTypeWithLiterals;
1410
1460
  /** The ID of the embedded content. */
1411
1461
  itemId?: string | null;
1412
1462
  /** The name of the embedded content. */
@@ -1433,6 +1483,8 @@ export declare enum AppType {
1433
1483
  EVENT = "EVENT",
1434
1484
  BOOKING = "BOOKING"
1435
1485
  }
1486
+ /** @enumType */
1487
+ export type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';
1436
1488
  export interface BookingData {
1437
1489
  /** Booking duration in minutes. */
1438
1490
  durations?: string | null;
@@ -1511,9 +1563,9 @@ export interface CollapsibleListData {
1511
1563
  /** If `true`, only one item can be expanded at a time. Defaults to `false`. */
1512
1564
  expandOnlyOne?: boolean | null;
1513
1565
  /** Sets which items are expanded when the page loads. */
1514
- initialExpandedItems?: InitialExpandedItems;
1566
+ initialExpandedItems?: InitialExpandedItemsWithLiterals;
1515
1567
  /** The direction of the text in the list. Either left-to-right or right-to-left. */
1516
- direction?: Direction;
1568
+ direction?: DirectionWithLiterals;
1517
1569
  /** If `true`, The collapsible item will appear in search results as an FAQ. */
1518
1570
  isQapageData?: boolean | null;
1519
1571
  }
@@ -1525,12 +1577,16 @@ export declare enum InitialExpandedItems {
1525
1577
  /** All items collapsed initally */
1526
1578
  NONE = "NONE"
1527
1579
  }
1580
+ /** @enumType */
1581
+ export type InitialExpandedItemsWithLiterals = InitialExpandedItems | 'FIRST' | 'ALL' | 'NONE';
1528
1582
  export declare enum Direction {
1529
1583
  /** Left-to-right */
1530
1584
  LTR = "LTR",
1531
1585
  /** Right-to-left */
1532
1586
  RTL = "RTL"
1533
1587
  }
1588
+ /** @enumType */
1589
+ export type DirectionWithLiterals = Direction | 'LTR' | 'RTL';
1534
1590
  export interface TableData {
1535
1591
  /** Styling for the table's container. */
1536
1592
  containerData?: PluginContainerData;
@@ -1568,9 +1624,11 @@ export declare enum VerticalAlignment {
1568
1624
  /** Bottom alignment */
1569
1625
  BOTTOM = "BOTTOM"
1570
1626
  }
1627
+ /** @enumType */
1628
+ export type VerticalAlignmentWithLiterals = VerticalAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
1571
1629
  export interface CellStyle {
1572
1630
  /** Vertical alignment for the cell's text. */
1573
- verticalAlignment?: VerticalAlignment;
1631
+ verticalAlignment?: VerticalAlignmentWithLiterals;
1574
1632
  /**
1575
1633
  * Cell background color as a hexadecimal value.
1576
1634
  * @format COLOR_HEX
@@ -1609,6 +1667,8 @@ export declare enum NullValue {
1609
1667
  /** Null value. */
1610
1668
  NULL_VALUE = "NULL_VALUE"
1611
1669
  }
1670
+ /** @enumType */
1671
+ export type NullValueWithLiterals = NullValue | 'NULL_VALUE';
1612
1672
  /**
1613
1673
  * `ListValue` is a wrapper around a repeated field of values.
1614
1674
  *
@@ -1713,7 +1773,7 @@ export interface ModerationDetails {
1713
1773
  /** Date the post was submitted for review. */
1714
1774
  submittedDate?: Date | null;
1715
1775
  /** Status indicating whether the submission was approved or rejected by the moderator. */
1716
- status?: ModerationStatusStatus;
1776
+ status?: ModerationStatusStatusWithLiterals;
1717
1777
  /**
1718
1778
  * Member ID of the person who approved or rejected the post.
1719
1779
  * @format GUID
@@ -1727,6 +1787,8 @@ export declare enum ModerationStatusStatus {
1727
1787
  APPROVED = "APPROVED",
1728
1788
  REJECTED = "REJECTED"
1729
1789
  }
1790
+ /** @enumType */
1791
+ export type ModerationStatusStatusWithLiterals = ModerationStatusStatus | 'UNKNOWN' | 'APPROVED' | 'REJECTED';
1730
1792
  export interface Media extends MediaMediaOneOf {
1731
1793
  /** Wix Media details. */
1732
1794
  wixMedia?: WixMedia;
@@ -1882,7 +1944,7 @@ export interface QueryPublicationsCountStatsRequest {
1882
1944
  /** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
1883
1945
  rangeEnd?: Date | null;
1884
1946
  /** Order of the returned results. */
1885
- order?: QueryPublicationsCountStatsRequestOrder;
1947
+ order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
1886
1948
  /** Number of months to include in the response. */
1887
1949
  months?: number;
1888
1950
  /**
@@ -1904,6 +1966,8 @@ export declare enum QueryPublicationsCountStatsRequestOrder {
1904
1966
  OLDEST = "OLDEST",
1905
1967
  NEWEST = "NEWEST"
1906
1968
  }
1969
+ /** @enumType */
1970
+ export type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
1907
1971
  /** Get Blog Publications Count Stats response */
1908
1972
  export interface QueryPublicationsCountStatsResponse {
1909
1973
  /** Chronologically ordered list of publications. */
@@ -1928,7 +1992,7 @@ export interface QueryPostCountStatsRequest {
1928
1992
  *
1929
1993
  * Default: `OLDEST`
1930
1994
  */
1931
- order?: Order;
1995
+ order?: OrderWithLiterals;
1932
1996
  /** Number of months to include in response. */
1933
1997
  months?: number;
1934
1998
  /**
@@ -1953,6 +2017,8 @@ export declare enum Order {
1953
2017
  OLDEST = "OLDEST",
1954
2018
  NEWEST = "NEWEST"
1955
2019
  }
2020
+ /** @enumType */
2021
+ export type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
1956
2022
  /** Get Blog Post Count Stats response */
1957
2023
  export interface QueryPostCountStatsResponse {
1958
2024
  /** List of published post counts by month. */
@@ -2101,7 +2167,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
2101
2167
  */
2102
2168
  appId?: string;
2103
2169
  /** @readonly */
2104
- identityType?: WebhookIdentityType;
2170
+ identityType?: WebhookIdentityTypeWithLiterals;
2105
2171
  }
2106
2172
  /** @oneof */
2107
2173
  export interface IdentificationDataIdOneOf {
@@ -2133,6 +2199,8 @@ export declare enum WebhookIdentityType {
2133
2199
  WIX_USER = "WIX_USER",
2134
2200
  APP = "APP"
2135
2201
  }
2202
+ /** @enumType */
2203
+ export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
2136
2204
  export interface ListTemplatesRequest {
2137
2205
  /**
2138
2206
  * Filter post templates by given template category ids
@@ -2148,7 +2216,7 @@ export interface ListTemplatesRequest {
2148
2216
  /** Returns post template categories when set to TRUE */
2149
2217
  listTemplateCategories?: boolean;
2150
2218
  /** Sort order by ascending/descending publish date. Default is ascending publish date sort */
2151
- sort?: GetPostTemplatesSort;
2219
+ sort?: GetPostTemplatesSortWithLiterals;
2152
2220
  /** Pagination options. */
2153
2221
  paging?: BlogPaging;
2154
2222
  }
@@ -2158,6 +2226,8 @@ export declare enum GetPostTemplatesSort {
2158
2226
  /** Sort by descending publishing date. */
2159
2227
  PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
2160
2228
  }
2229
+ /** @enumType */
2230
+ export type GetPostTemplatesSortWithLiterals = GetPostTemplatesSort | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC';
2161
2231
  export interface BlogPaging {
2162
2232
  /**
2163
2233
  * Number of items to skip in the current sort order.
@@ -2404,7 +2474,7 @@ export interface DraftPost {
2404
2474
  * Status of the draft post.
2405
2475
  * @readonly
2406
2476
  */
2407
- status?: Status;
2477
+ status?: StatusWithLiterals;
2408
2478
  /** Details of the draft post in review. Only relevant to posts submitted by guest writers. */
2409
2479
  moderationDetails?: ModerationDetails;
2410
2480
  /**
@@ -2519,6 +2589,8 @@ export declare enum Origin {
2519
2589
  /** Saved automatically by AI tool. */
2520
2590
  AI_AUTO_SAVE = "AI_AUTO_SAVE"
2521
2591
  }
2592
+ /** @enumType */
2593
+ 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';
2522
2594
  export declare enum Status {
2523
2595
  UNKNOWN = "UNKNOWN",
2524
2596
  /** Status indicating the draft post is published. */
@@ -2532,6 +2604,8 @@ export declare enum Status {
2532
2604
  /** Status indicating the draft post is in review. */
2533
2605
  IN_REVIEW = "IN_REVIEW"
2534
2606
  }
2607
+ /** @enumType */
2608
+ export type StatusWithLiterals = Status | 'UNKNOWN' | 'PUBLISHED' | 'UNPUBLISHED' | 'SCHEDULED' | 'DELETED' | 'IN_REVIEW';
2535
2609
  export interface DraftPostTranslation {
2536
2610
  /**
2537
2611
  * Post ID.
@@ -2539,7 +2613,7 @@ export interface DraftPostTranslation {
2539
2613
  */
2540
2614
  id?: string;
2541
2615
  /** Post status. */
2542
- status?: Status;
2616
+ status?: StatusWithLiterals;
2543
2617
  /**
2544
2618
  * Language the post is written in.
2545
2619
  * @format LANGUAGE_TAG
@@ -2643,7 +2717,7 @@ export interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
2643
2717
  */
2644
2718
  postId?: string;
2645
2719
  /** Field of the updated counter. */
2646
- updatedCounterField?: Field;
2720
+ updatedCounterField?: FieldWithLiterals;
2647
2721
  /** New counter value. */
2648
2722
  counter?: number;
2649
2723
  }
@@ -2672,6 +2746,8 @@ export declare enum Field {
2672
2746
  /** Rating count field. */
2673
2747
  RATING_COUNT = "RATING_COUNT"
2674
2748
  }
2749
+ /** @enumType */
2750
+ export type FieldWithLiterals = Field | 'UNKNOWN' | 'TOTAL_COMMENTS' | 'LIKE_COUNT' | 'VIEW_COUNT' | 'RATING_COUNT';
2675
2751
  export interface PostOwnerChanged {
2676
2752
  }
2677
2753
  export interface InitialPostsCopied {
@@ -2691,7 +2767,7 @@ export interface GetPostRequest {
2691
2767
  * only the post’s base fields are returned.
2692
2768
  * @maxSize 20
2693
2769
  */
2694
- fieldsets?: PostFieldField[];
2770
+ fieldsets?: PostFieldFieldWithLiterals[];
2695
2771
  }
2696
2772
  export declare enum PostFieldField {
2697
2773
  UNKNOWN = "UNKNOWN",
@@ -2710,6 +2786,8 @@ export declare enum PostFieldField {
2710
2786
  /** Includes post reference ID field. */
2711
2787
  REFERENCE_ID = "REFERENCE_ID"
2712
2788
  }
2789
+ /** @enumType */
2790
+ export type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
2713
2791
  export interface GetPostResponse {
2714
2792
  /** Retrieved post info. */
2715
2793
  post?: Post;
@@ -2727,7 +2805,7 @@ export interface GetPostBySlugRequest {
2727
2805
  * only the post’s base fields are returned.
2728
2806
  * @maxSize 20
2729
2807
  */
2730
- fieldsets?: PostFieldField[];
2808
+ fieldsets?: PostFieldFieldWithLiterals[];
2731
2809
  }
2732
2810
  export interface GetPostBySlugResponse {
2733
2811
  /** Retrieved post info. */
@@ -2772,7 +2850,7 @@ export interface ListPostsRequest {
2772
2850
  *
2773
2851
  * Default: `FEED`
2774
2852
  */
2775
- sort?: GetPostsSort;
2853
+ sort?: GetPostsSortWithLiterals;
2776
2854
  /** Pagination options. */
2777
2855
  paging?: BlogPaging;
2778
2856
  /**
@@ -2795,7 +2873,7 @@ export interface ListPostsRequest {
2795
2873
  * only the post’s base fields are returned.
2796
2874
  * @maxSize 20
2797
2875
  */
2798
- fieldsets?: PostFieldField[];
2876
+ fieldsets?: PostFieldFieldWithLiterals[];
2799
2877
  }
2800
2878
  export declare enum GetPostsSort {
2801
2879
  /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
@@ -2813,6 +2891,8 @@ export declare enum GetPostsSort {
2813
2891
  /** Ordered by `title` in descending order. */
2814
2892
  TITLE_DESC = "TITLE_DESC"
2815
2893
  }
2894
+ /** @enumType */
2895
+ export type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
2816
2896
  export interface ListPostsResponse {
2817
2897
  /** List of retrieved posts. */
2818
2898
  posts?: Post[];
@@ -2828,7 +2908,7 @@ export interface QueryPostsRequest {
2828
2908
  * only the post’s base fields are returned.
2829
2909
  * @maxSize 20
2830
2910
  */
2831
- fieldsets?: PostFieldField[];
2911
+ fieldsets?: PostFieldFieldWithLiterals[];
2832
2912
  }
2833
2913
  export interface Sorting {
2834
2914
  /**
@@ -2837,12 +2917,14 @@ export interface Sorting {
2837
2917
  */
2838
2918
  fieldName?: string;
2839
2919
  /** Sort order. */
2840
- order?: SortOrder;
2920
+ order?: SortOrderWithLiterals;
2841
2921
  }
2842
2922
  export declare enum SortOrder {
2843
2923
  ASC = "ASC",
2844
2924
  DESC = "DESC"
2845
2925
  }
2926
+ /** @enumType */
2927
+ export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
2846
2928
  export interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
2847
2929
  /** Paging options to limit and skip the number of items. */
2848
2930
  paging?: Paging;
@@ -2975,7 +3057,7 @@ export interface LikePostRequest {
2975
3057
  * only the post’s base fields are returned.
2976
3058
  * @maxSize 20
2977
3059
  */
2978
- fieldsets?: PostFieldField[];
3060
+ fieldsets?: PostFieldFieldWithLiterals[];
2979
3061
  }
2980
3062
  export interface LikePostResponse {
2981
3063
  /** Post info. */
@@ -2994,7 +3076,7 @@ export interface UnlikePostRequest {
2994
3076
  * only the post’s base fields are returned.
2995
3077
  * @maxSize 20
2996
3078
  */
2997
- fieldsets?: PostFieldField[];
3079
+ fieldsets?: PostFieldFieldWithLiterals[];
2998
3080
  }
2999
3081
  export interface UnlikePostResponse {
3000
3082
  /** Post info. */
@@ -3013,7 +3095,7 @@ export interface PinPostRequest {
3013
3095
  * only the post’s base fields are returned.
3014
3096
  * @maxSize 20
3015
3097
  */
3016
- fieldsets?: PostFieldField[];
3098
+ fieldsets?: PostFieldFieldWithLiterals[];
3017
3099
  }
3018
3100
  export interface PinPostResponse {
3019
3101
  /** Post info. */
@@ -3032,7 +3114,7 @@ export interface UnpinPostRequest {
3032
3114
  * only the post’s base fields are returned.
3033
3115
  * @maxSize 20
3034
3116
  */
3035
- fieldsets?: PostFieldField[];
3117
+ fieldsets?: PostFieldFieldWithLiterals[];
3036
3118
  }
3037
3119
  export interface UnpinPostResponse {
3038
3120
  /** Post info. */
@@ -3073,7 +3155,7 @@ export interface ListPostsArchiveRequest {
3073
3155
  * only the post’s base fields are returned.
3074
3156
  * @maxSize 20
3075
3157
  */
3076
- fieldsets?: PostFieldField[];
3158
+ fieldsets?: PostFieldFieldWithLiterals[];
3077
3159
  }
3078
3160
  export interface ListPostsArchiveResponse {
3079
3161
  /** List of posts. */
@@ -3150,7 +3232,7 @@ export interface ListDemoPostsRequest {
3150
3232
  *
3151
3233
  * Default: `FEED`
3152
3234
  */
3153
- sort?: GetPostsSort;
3235
+ sort?: GetPostsSortWithLiterals;
3154
3236
  /** Pagination options. */
3155
3237
  paging?: BlogPaging;
3156
3238
  /**
@@ -3166,7 +3248,7 @@ export interface ListDemoPostsRequest {
3166
3248
  * @replacedBy fieldsets
3167
3249
  * @targetRemovalDate 2024-06-30
3168
3250
  */
3169
- fieldsToInclude?: PostFieldField[];
3251
+ fieldsToInclude?: PostFieldFieldWithLiterals[];
3170
3252
  /**
3171
3253
  * Language filter.
3172
3254
  *
@@ -3187,7 +3269,7 @@ export interface ListDemoPostsRequest {
3187
3269
  * only the post’s base fields are returned.
3188
3270
  * @maxSize 20
3189
3271
  */
3190
- fieldsets?: PostFieldField[];
3272
+ fieldsets?: PostFieldFieldWithLiterals[];
3191
3273
  }
3192
3274
  export interface ListDemoPostsResponse {
3193
3275
  /** List of posts. */