@wix/auto_sdk_blog_draft-posts 1.0.89 → 1.0.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +63 -13
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +463 -274
  5. package/build/cjs/index.typings.js +63 -13
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +465 -276
  8. package/build/cjs/meta.js +63 -13
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +60 -13
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +463 -274
  14. package/build/es/index.typings.mjs +60 -13
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +465 -276
  17. package/build/es/meta.mjs +60 -13
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +63 -13
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +905 -395
  23. package/build/internal/cjs/index.typings.js +63 -13
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +879 -334
  26. package/build/internal/cjs/meta.js +63 -13
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +60 -13
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +905 -395
  32. package/build/internal/es/index.typings.mjs +60 -13
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +879 -334
  35. package/build/internal/es/meta.mjs +60 -13
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -82,6 +82,25 @@ interface DraftPost {
82
82
  * @format LANGUAGE_TAG
83
83
  */
84
84
  language?: string | null;
85
+ /**
86
+ * Reserved for internal use.
87
+ * @internal
88
+ * @readonly
89
+ */
90
+ changeOrigin?: OriginWithLiterals;
91
+ /**
92
+ * Reserved for internal use.
93
+ * @internal
94
+ * @readonly
95
+ * @maxLength 24
96
+ */
97
+ contentId?: string | null;
98
+ /**
99
+ * Reserved for internal use.
100
+ * @internal
101
+ * @format GUID
102
+ */
103
+ editingSessionId?: string | null;
85
104
  /**
86
105
  * Draft Post rich content.
87
106
  *
@@ -97,6 +116,13 @@ interface DraftPost {
97
116
  status?: StatusWithLiterals;
98
117
  /** Details of the draft post in review. Only relevant to posts submitted by guest writers. */
99
118
  moderationDetails?: ModerationDetails;
119
+ /**
120
+ * Reserved for internal use.
121
+ * @internal
122
+ * @readonly
123
+ * @format GUID
124
+ */
125
+ mostRecentContributorId?: string | null;
100
126
  /**
101
127
  * Indicates if there are changes made to the draft post that have not yet been published.
102
128
  * @readonly
@@ -112,10 +138,23 @@ interface DraftPost {
112
138
  * @readonly
113
139
  */
114
140
  scheduledPublishDate?: Date | null;
141
+ /**
142
+ * Reserved for internal use.
143
+ * @internal
144
+ */
145
+ content?: Record<string, any> | null;
115
146
  /** Date the post was first published. */
116
147
  firstPublishedDate?: Date | null;
117
148
  /** SEO data. */
118
149
  seoData?: SeoSchema;
150
+ /**
151
+ * Reserved for internal use.
152
+ * @internal
153
+ * @readonly
154
+ * @maxSize 5000
155
+ * @maxLength 100
156
+ */
157
+ slugs?: string[];
119
158
  /**
120
159
  * Draft post URL preview. What the URL will look like once the post is published.
121
160
  * @readonly
@@ -135,6 +174,32 @@ interface DraftPost {
135
174
  media?: Media;
136
175
  /** Number of paragraphs to display in a paid content preview for non-paying users. */
137
176
  previewTextParagraph?: number | null;
177
+ /**
178
+ * List of the post's translated posts.
179
+ * @internal
180
+ * @readonly
181
+ * @maxSize 1000
182
+ */
183
+ translations?: DraftPostTranslation[];
184
+ /**
185
+ * Reserved for internal use, not included in base response.
186
+ * @internal
187
+ * @format GUID
188
+ */
189
+ originPostId?: string | null;
190
+ /**
191
+ * Reserved for internal use, not included in base response.
192
+ * @internal
193
+ * @format GUID
194
+ */
195
+ originPostInstanceId?: string | null;
196
+ /**
197
+ * Reserved for internal use.
198
+ * @internal
199
+ * @readonly
200
+ * @maxLength 24
201
+ */
202
+ internalId?: string | null;
138
203
  }
139
204
  interface Image {
140
205
  /** WixMedia image ID. */
@@ -153,11 +218,29 @@ interface Image {
153
218
  width?: number;
154
219
  /** Image alt text. */
155
220
  altText?: string | null;
221
+ /**
222
+ * Image URL expiration date (when relevant).
223
+ * @internal
224
+ * @readonly
225
+ */
226
+ urlExpirationDate?: Date | null;
156
227
  /**
157
228
  * Image filename.
158
229
  * @readonly
159
230
  */
160
231
  filename?: string | null;
232
+ /**
233
+ * Image size in bytes.
234
+ * @internal
235
+ * @readonly
236
+ * @format DECIMAL_VALUE
237
+ */
238
+ sizeInBytes?: string | null;
239
+ /**
240
+ * Focal point of the image.
241
+ * @internal
242
+ */
243
+ focalPoint?: FocalPoint;
161
244
  }
162
245
  interface FocalPoint {
163
246
  /** X-coordinate of the focal point. */
@@ -468,6 +551,8 @@ interface ButtonData {
468
551
  text?: string | null;
469
552
  /** Button link details. */
470
553
  link?: Link;
554
+ /** Node animation. */
555
+ animation?: Animation;
471
556
  }
472
557
  /** Background type */
473
558
  declare enum BackgroundType {
@@ -744,9 +829,144 @@ interface Rel {
744
829
  /** Indicates that this link protect referral information from being passed to the target website. */
745
830
  noreferrer?: boolean | null;
746
831
  }
832
+ interface Animation {
833
+ /** Animation kind. */
834
+ type?: AnimationTypeWithLiterals;
835
+ /** Entrance animation, played once when the node first enters the viewport. */
836
+ entrance?: EntranceAnimation;
837
+ /** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes. */
838
+ loop?: LoopAnimation;
839
+ }
840
+ declare enum AnimationType {
841
+ /** Animations that play while the node is in view. */
842
+ VIEW = "VIEW"
843
+ }
844
+ /** @enumType */
845
+ type AnimationTypeWithLiterals = AnimationType | 'VIEW';
846
+ interface EntranceAnimation {
847
+ /** The entrance effect to play. */
848
+ effect?: EntranceEffect;
849
+ /** Effect duration in milliseconds. Each effect has its own default. */
850
+ duration?: number | null;
851
+ /** Delay before the effect starts, in milliseconds. */
852
+ delay?: number | null;
853
+ }
854
+ interface EntranceEffect {
855
+ /** The entrance effect type. */
856
+ type?: EntranceEffectTypeWithLiterals;
857
+ /**
858
+ * Direction the effect enters from. Allowed values depend on the effect type (e.g. TOP/RIGHT/BOTTOM/LEFT, the diagonals with or without CENTER, corners, HORIZONTAL/VERTICAL, CLOCKWISE/COUNTER_CLOCKWISE).
859
+ * @maxLength 20
860
+ */
861
+ direction?: string | null;
862
+ /**
863
+ * Clip-path shape: ELLIPSE, CIRCLE, RECTANGLE, or DIAMOND (SHAPE).
864
+ * @maxLength 12
865
+ */
866
+ shape?: string | null;
867
+ /**
868
+ * Motion style: GENTLE, MODERATE, or INTENSE. Only the effects that expose one accept it.
869
+ * @maxLength 100
870
+ */
871
+ easing?: string | null;
872
+ }
873
+ declare enum EntranceEffectType {
874
+ /** Fades in from fully transparent to fully opaque. */
875
+ FADE = "FADE",
876
+ /** Enters along a 3D arc path. */
877
+ ARC = "ARC",
878
+ /** Transitions from blurred to sharp. */
879
+ BLUR = "BLUR",
880
+ /** Bounces into place with an elastic curve. */
881
+ BOUNCE = "BOUNCE",
882
+ /** Shrinks down from a larger size. */
883
+ DROP = "DROP",
884
+ /** Expands from a point, scaling to full size. */
885
+ EXPAND = "EXPAND",
886
+ /** Flips into view with a 3D rotation. */
887
+ FLIP = "FLIP",
888
+ /** Drifts gently into place. */
889
+ FLOAT = "FLOAT",
890
+ /** Unfolds from an edge as if hinged. */
891
+ FOLD = "FOLD",
892
+ /** Glides in smoothly from off-screen. */
893
+ GLIDE = "GLIDE",
894
+ /** Progressively revealed by an expanding clip-path. */
895
+ REVEAL = "REVEAL",
896
+ /** Appears through an expanding geometric clip-path shape. */
897
+ SHAPE = "SHAPE",
898
+ /** Revealed through shutter-like strips. */
899
+ SHUTTERS = "SHUTTERS",
900
+ /** Slides in from one side. */
901
+ SLIDE = "SLIDE",
902
+ /** Spins into view while scaling up. */
903
+ SPIN = "SPIN",
904
+ /** Tilts in from the side with 3D rotation. */
905
+ TILT = "TILT",
906
+ /** Rotates into view around a corner pivot. */
907
+ TURN = "TURN",
908
+ /** Expands from its horizontal or vertical center. */
909
+ WINK = "WINK"
910
+ }
911
+ /** @enumType */
912
+ type EntranceEffectTypeWithLiterals = EntranceEffectType | 'FADE' | 'ARC' | 'BLUR' | 'BOUNCE' | 'DROP' | 'EXPAND' | 'FLIP' | 'FLOAT' | 'FOLD' | 'GLIDE' | 'REVEAL' | 'SHAPE' | 'SHUTTERS' | 'SLIDE' | 'SPIN' | 'TILT' | 'TURN' | 'WINK';
913
+ interface LoopAnimation {
914
+ /** The looping effect to repeat. */
915
+ effect?: LoopEffect;
916
+ /** Duration of a single iteration in milliseconds. Each effect has its own default. */
917
+ duration?: number | null;
918
+ /** Pause between iterations in milliseconds. */
919
+ iterationDelay?: number | null;
920
+ }
921
+ interface LoopEffect {
922
+ /** The looping effect type. */
923
+ type?: LoopEffectTypeWithLiterals;
924
+ /**
925
+ * Direction of the effect. Allowed values depend on the effect type (e.g. TOP/RIGHT/BOTTOM/LEFT, LEFT/RIGHT, HORIZONTAL/VERTICAL with or without CENTER, CLOCKWISE/COUNTER_CLOCKWISE).
926
+ * @maxLength 20
927
+ */
928
+ direction?: string | null;
929
+ /**
930
+ * Motion style: GENTLE, MODERATE, or INTENSE. Only the effects that expose one accept it.
931
+ * @maxLength 100
932
+ */
933
+ easing?: string | null;
934
+ }
935
+ declare enum LoopEffectType {
936
+ /** Bounces up and down in place. */
937
+ BOUNCE = "BOUNCE",
938
+ /** Scales gently in and out along an axis. */
939
+ BREATHE = "BREATHE",
940
+ /** Drifts toward one side, then re-enters from the opposite side. */
941
+ CROSS = "CROSS",
942
+ /** Fades out to fully transparent and back in. */
943
+ FLASH = "FLASH",
944
+ /** Rotates a full turn around its horizontal or vertical axis. */
945
+ FLIP = "FLIP",
946
+ /** Folds back and forth around a hinged edge. */
947
+ FOLD = "FOLD",
948
+ /** Wobbles with a jelly-like skew. */
949
+ JELLO = "JELLO",
950
+ /** Nudges repeatedly toward a direction. */
951
+ POKE = "POKE",
952
+ /** Scales up and back down rhythmically. */
953
+ PULSE = "PULSE",
954
+ /** Stretches and squashes like a rubber band. */
955
+ RUBBER = "RUBBER",
956
+ /** Rotates continuously around its center. */
957
+ SPIN = "SPIN",
958
+ /** Swings back and forth around an edge pivot. */
959
+ SWING = "SWING",
960
+ /** Rocks side to side with an accumulating rotation. */
961
+ WIGGLE = "WIGGLE"
962
+ }
963
+ /** @enumType */
964
+ type LoopEffectTypeWithLiterals = LoopEffectType | 'BOUNCE' | 'BREATHE' | 'CROSS' | 'FLASH' | 'FLIP' | 'FOLD' | 'JELLO' | 'POKE' | 'PULSE' | 'RUBBER' | 'SPIN' | 'SWING' | 'WIGGLE';
747
965
  interface CodeBlockData {
748
966
  /** Styling for the code block's text. */
749
967
  textStyle?: TextStyle;
968
+ /** Node animation. */
969
+ animation?: Animation;
750
970
  }
751
971
  interface TextStyle {
752
972
  /** Text alignment. Defaults to `AUTO`. */
@@ -779,6 +999,8 @@ interface DividerData {
779
999
  alignment?: DividerDataAlignmentWithLiterals;
780
1000
  /** Visual styling for the divider lines. */
781
1001
  styles?: DividerDataStyles;
1002
+ /** Node animation. */
1003
+ animation?: Animation;
782
1004
  }
783
1005
  declare enum LineCap {
784
1006
  /** Square line endings. */
@@ -833,9 +1055,9 @@ interface DividerDataStyles {
833
1055
  * @maxSize 10
834
1056
  */
835
1057
  lineThickness?: number[];
836
- /** Dash length in pixels for dashed dividers. */
1058
+ /** Visible dash length for dashed dividers, in pixels. The pattern is snapped to a whole number of dashes so that the first and last dash touch the divider's edges - narrower containers show fewer dashes at the same size. */
837
1059
  dashLength?: number | null;
838
- /** Gap between dashes or dots in pixels. */
1060
+ /** Visible gap between dashes or dots, in pixels. */
839
1061
  dashGap?: number | null;
840
1062
  /** Gap between divider lines in pixels. */
841
1063
  lineGap?: number | null;
@@ -862,6 +1084,8 @@ interface FileData {
862
1084
  path?: string | null;
863
1085
  /** File size in KB. */
864
1086
  sizeInKb?: string | null;
1087
+ /** Node animation. */
1088
+ animation?: Animation;
865
1089
  }
866
1090
  declare enum ViewMode {
867
1091
  /** No PDF view */
@@ -922,6 +1146,8 @@ interface GalleryData {
922
1146
  disableExpand?: boolean | null;
923
1147
  /** Sets whether the gallery's download button is disabled. Defaults to `false`. */
924
1148
  disableDownload?: boolean | null;
1149
+ /** Node animation. */
1150
+ animation?: Animation;
925
1151
  }
926
1152
  interface V1Media {
927
1153
  /** The source for the media's data. */
@@ -1065,6 +1291,8 @@ interface GIFData {
1065
1291
  width?: number;
1066
1292
  /** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
1067
1293
  gifType?: GIFTypeWithLiterals;
1294
+ /** Node animation. */
1295
+ animation?: Animation;
1068
1296
  }
1069
1297
  interface GIF {
1070
1298
  /**
@@ -1098,6 +1326,8 @@ interface HeadingData {
1098
1326
  indentation?: number | null;
1099
1327
  /** Rendered heading level for SEO/accessibility, overrides the HTML tag when set. */
1100
1328
  renderedLevel?: number | null;
1329
+ /** Node animation. */
1330
+ animation?: Animation;
1101
1331
  }
1102
1332
  interface HTMLData extends HTMLDataDataOneOf {
1103
1333
  /** The URL for the HTML code for the node. */
@@ -1117,6 +1347,8 @@ interface HTMLData extends HTMLDataDataOneOf {
1117
1347
  source?: SourceWithLiterals;
1118
1348
  /** If container height is aligned with its content height. Defaults to `true`. */
1119
1349
  autoHeight?: boolean | null;
1350
+ /** Node animation. */
1351
+ animation?: Animation;
1120
1352
  }
1121
1353
  /** @oneof */
1122
1354
  interface HTMLDataDataOneOf {
@@ -1166,6 +1398,8 @@ interface ImageData {
1166
1398
  crop?: ImageDataCrop;
1167
1399
  /** Optional shape mask applied to the visible crop. Supported values: CIRCLE, OVAL, STAR, PENTAGON, HEXAGON, TRIANGLE, HEART, RHOMBUS, FLUID, WINDOW. */
1168
1400
  cropShape?: string | null;
1401
+ /** Node animation. */
1402
+ animation?: Animation;
1169
1403
  }
1170
1404
  interface StylesBorder {
1171
1405
  /** Border width in pixels. */
@@ -1207,6 +1441,8 @@ interface LinkPreviewData {
1207
1441
  html?: string | null;
1208
1442
  /** Styling for the link preview. */
1209
1443
  styles?: LinkPreviewDataStyles;
1444
+ /** Node animation. */
1445
+ animation?: Animation;
1210
1446
  }
1211
1447
  declare enum StylesPosition {
1212
1448
  /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
@@ -1302,6 +1538,8 @@ interface ParagraphData {
1302
1538
  indentation?: number | null;
1303
1539
  /** Paragraph level */
1304
1540
  level?: number | null;
1541
+ /** Node animation. */
1542
+ animation?: Animation;
1305
1543
  }
1306
1544
  interface PollData {
1307
1545
  /** Styling for the poll's container. */
@@ -1312,6 +1550,8 @@ interface PollData {
1312
1550
  layout?: PollDataLayout;
1313
1551
  /** Styling for the poll and voting options. */
1314
1552
  design?: Design;
1553
+ /** Node animation. */
1554
+ animation?: Animation;
1315
1555
  }
1316
1556
  declare enum ViewRole {
1317
1557
  /** Only Poll creator can view the results */
@@ -1578,6 +1818,8 @@ interface MentionData {
1578
1818
  slug?: string;
1579
1819
  /** Mentioned user's ID. */
1580
1820
  id?: string | null;
1821
+ /** The kind of entity the mention refers to. Any value is accepted, and it's usually used to mark a mention as a group mention (for example, `group`). When empty, the mention refers to a member. */
1822
+ type?: string | null;
1581
1823
  }
1582
1824
  interface FontSizeData {
1583
1825
  /** The units used for the font size. */
@@ -1670,6 +1912,8 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1670
1912
  containerData?: PluginContainerData;
1671
1913
  /** Pricing data for embedded Wix App content. */
1672
1914
  pricingData?: PricingData;
1915
+ /** Node animation. */
1916
+ animation?: Animation;
1673
1917
  }
1674
1918
  /** @oneof */
1675
1919
  interface AppEmbedDataAppDataOneOf {
@@ -1911,6 +2155,8 @@ interface VideoData {
1911
2155
  title?: string | null;
1912
2156
  /** Video options. */
1913
2157
  options?: PlaybackOptions;
2158
+ /** Node animation. */
2159
+ animation?: Animation;
1914
2160
  }
1915
2161
  interface PlaybackOptions {
1916
2162
  /** Sets whether the media will automatically start playing. */
@@ -1927,6 +2173,8 @@ interface EmbedData {
1927
2173
  oembed?: Oembed;
1928
2174
  /** Origin asset source. */
1929
2175
  src?: string | null;
2176
+ /** Node animation. */
2177
+ animation?: Animation;
1930
2178
  }
1931
2179
  interface Oembed {
1932
2180
  /** The resource type. */
@@ -1971,6 +2219,8 @@ interface CollapsibleListData {
1971
2219
  direction?: DirectionWithLiterals;
1972
2220
  /** If `true`, The collapsible item will appear in search results as an FAQ. */
1973
2221
  isQapageData?: boolean | null;
2222
+ /** Node animation. */
2223
+ animation?: Animation;
1974
2224
  }
1975
2225
  declare enum InitialExpandedItems {
1976
2226
  /** First item will be expended initally */
@@ -2013,6 +2263,8 @@ interface TableData {
2013
2263
  cellPadding?: number[];
2014
2264
  /** Table's alternative text. */
2015
2265
  altText?: string | null;
2266
+ /** Node animation. */
2267
+ animation?: Animation;
2016
2268
  }
2017
2269
  interface Dimensions {
2018
2270
  /** An array representing relative width of each column in relation to the other columns. */
@@ -2121,6 +2373,8 @@ interface AudioData {
2121
2373
  authorName?: string | null;
2122
2374
  /** An HTML version of the audio node. */
2123
2375
  html?: string | null;
2376
+ /** Node animation. */
2377
+ animation?: Animation;
2124
2378
  }
2125
2379
  interface OrderedListData {
2126
2380
  /** Indentation level from 0-4. */
@@ -2129,16 +2383,22 @@ interface OrderedListData {
2129
2383
  offset?: number | null;
2130
2384
  /** List start number. */
2131
2385
  start?: number | null;
2386
+ /** Node animation. */
2387
+ animation?: Animation;
2132
2388
  }
2133
2389
  interface BulletedListData {
2134
2390
  /** Indentation level from 0-4. */
2135
2391
  indentation?: number;
2136
2392
  /** Offset level from 0-4. */
2137
2393
  offset?: number | null;
2394
+ /** Node animation. */
2395
+ animation?: Animation;
2138
2396
  }
2139
2397
  interface BlockquoteData {
2140
2398
  /** Indentation level from 1-4. */
2141
2399
  indentation?: number;
2400
+ /** Node animation. */
2401
+ animation?: Animation;
2142
2402
  }
2143
2403
  interface CaptionData {
2144
2404
  textStyle?: TextStyle;
@@ -2196,6 +2456,8 @@ interface LayoutData {
2196
2456
  background?: LayoutDataBackground;
2197
2457
  /** Backdrop styling (color or gradient). */
2198
2458
  backdrop?: Backdrop;
2459
+ /** Node animation. */
2460
+ animation?: Animation;
2199
2461
  }
2200
2462
  declare enum ImageScalingScaling {
2201
2463
  /** Auto image scaling */
@@ -2347,6 +2609,8 @@ interface ShapeData {
2347
2609
  shape?: V1Media;
2348
2610
  /** Styling for the shape. */
2349
2611
  styles?: ShapeDataStyles;
2612
+ /** Node animation. */
2613
+ animation?: Animation;
2350
2614
  }
2351
2615
  interface ShapeDataStyles {
2352
2616
  /**
@@ -2449,6 +2713,8 @@ interface TocData {
2449
2713
  color?: string | null;
2450
2714
  /** Indentation style. Default: NESTED. */
2451
2715
  indentation?: IndentationWithLiterals;
2716
+ /** Node animation. */
2717
+ animation?: Animation;
2452
2718
  }
2453
2719
  /** List style. */
2454
2720
  declare enum ListStyle {
@@ -2495,6 +2761,8 @@ interface SmartBlockData {
2495
2761
  borderWidth?: number | null;
2496
2762
  /** Border radius in pixels (for SOLID_JOINED_BOXES variant). */
2497
2763
  borderRadius?: number | null;
2764
+ /** Node animation. */
2765
+ animation?: Animation;
2498
2766
  }
2499
2767
  /** Layout type of the smart block */
2500
2768
  declare enum SmartBlockDataType {
@@ -2598,10 +2866,14 @@ interface CheckboxListData {
2598
2866
  indentation?: number;
2599
2867
  /** Offset level from 0-4. */
2600
2868
  offset?: number | null;
2869
+ /** Node animation. */
2870
+ animation?: Animation;
2601
2871
  }
2602
2872
  interface ListItemNodeData {
2603
2873
  /** Checkbox list item state. Defaults to `false`. */
2604
2874
  checked?: boolean | null;
2875
+ /** Node animation. */
2876
+ animation?: Animation;
2605
2877
  }
2606
2878
  interface Metadata {
2607
2879
  /** Schema version. */
@@ -2658,6 +2930,13 @@ declare enum Status {
2658
2930
  SCHEDULED = "SCHEDULED",
2659
2931
  /** Status indicating the draft post is deleted. */
2660
2932
  DELETED = "DELETED",
2933
+ /**
2934
+ * Deprecated. Use `IN_REVIEW` instead. Status indicating the draft post is in review.
2935
+ * Target removal date 2024-06-30
2936
+ * Reserved for internal use.
2937
+ * @internal
2938
+ */
2939
+ IN_MODERATION = "IN_MODERATION",
2661
2940
  /** Status indicating the draft post is in review. */
2662
2941
  IN_REVIEW = "IN_REVIEW"
2663
2942
  }
@@ -2784,6 +3063,11 @@ interface WixMedia {
2784
3063
  interface VideoV2 {
2785
3064
  /** WixMedia ID. */
2786
3065
  id?: string;
3066
+ /**
3067
+ * Original video URL.
3068
+ * @internal
3069
+ */
3070
+ url?: string;
2787
3071
  /**
2788
3072
  * Available resolutions for the video, starting with the optimal resolution.
2789
3073
  * @readonly
@@ -2795,6 +3079,55 @@ interface VideoV2 {
2795
3079
  * @readonly
2796
3080
  */
2797
3081
  filename?: string | null;
3082
+ /**
3083
+ * Video posters.
3084
+ * @internal
3085
+ * @readonly
3086
+ */
3087
+ posters?: Image[];
3088
+ /**
3089
+ * Original video size in bytes.
3090
+ * @internal
3091
+ * @readonly
3092
+ * @format DECIMAL_VALUE
3093
+ */
3094
+ sizeInBytes?: string | null;
3095
+ /**
3096
+ * Video URL expiration date (when relevant).
3097
+ * @internal
3098
+ * @readonly
3099
+ */
3100
+ urlExpirationDate?: Date | null;
3101
+ /**
3102
+ * Original video duration in milliseconds.
3103
+ * @internal
3104
+ * @readonly
3105
+ */
3106
+ durationInMilliseconds?: number | null;
3107
+ /**
3108
+ * A short title for the video. will be used for SEO purposes.
3109
+ * @internal
3110
+ * @maxLength 300
3111
+ */
3112
+ title?: string | null;
3113
+ /**
3114
+ * A long description for the video. will be used for SEO purposes.
3115
+ * @internal
3116
+ * @maxLength 2000
3117
+ */
3118
+ description?: string | null;
3119
+ /**
3120
+ * Original video height.
3121
+ * @internal
3122
+ * @readonly
3123
+ */
3124
+ height?: number | null;
3125
+ /**
3126
+ * Original video width.
3127
+ * @internal
3128
+ * @readonly
3129
+ */
3130
+ width?: number | null;
2798
3131
  }
2799
3132
  interface VideoResolution {
2800
3133
  /** Video URL. */
@@ -2803,8 +3136,68 @@ interface VideoResolution {
2803
3136
  height?: number;
2804
3137
  /** Video width. */
2805
3138
  width?: number;
3139
+ /**
3140
+ * Deprecated. Use the `posters` property in the parent entity instead.
3141
+ * @internal
3142
+ * @deprecated
3143
+ */
3144
+ poster?: Image;
2806
3145
  /** Video format for example, mp4, hls. */
2807
3146
  format?: string;
3147
+ /**
3148
+ * Deprecated. Use the `urlExpirationDate` property in the parent entity instead.
3149
+ * @internal
3150
+ * @deprecated
3151
+ */
3152
+ urlExpirationDate?: Date | null;
3153
+ /**
3154
+ * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.
3155
+ * @internal
3156
+ * @format DECIMAL_VALUE
3157
+ * @deprecated
3158
+ */
3159
+ sizeInBytes?: string | null;
3160
+ /**
3161
+ * Video quality. For example: 480p, 720p.
3162
+ * @internal
3163
+ */
3164
+ quality?: string | null;
3165
+ /**
3166
+ * Video filename.
3167
+ * @internal
3168
+ */
3169
+ filename?: string | null;
3170
+ /**
3171
+ * Video duration in seconds.
3172
+ * @internal
3173
+ * @readonly
3174
+ * @deprecated Video duration in seconds.
3175
+ * @replacedBy duration_in_milliseconds
3176
+ * @targetRemovalDate 2024-08-01
3177
+ */
3178
+ durationInSeconds?: number | null;
3179
+ /**
3180
+ * Video duration in milliseconds.
3181
+ * @internal
3182
+ * @readonly
3183
+ */
3184
+ durationInMilliseconds?: number | null;
3185
+ /**
3186
+ * When true, this is a protected asset, and calling the URL will return a 403 error.
3187
+ * In order to access private assets, make a request to:
3188
+ * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request
3189
+ * @internal
3190
+ * @readonly
3191
+ */
3192
+ private?: boolean | null;
3193
+ /**
3194
+ * Key to identify the video resolution's relationship to the original media in WixMedia.
3195
+ * Can be used to request a download for the specific video resolution.
3196
+ * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4
3197
+ * @internal
3198
+ * @readonly
3199
+ */
3200
+ assetKey?: string | null;
2808
3201
  }
2809
3202
  interface EmbedMedia {
2810
3203
  /** Thumbnail details. */
@@ -2857,6 +3250,10 @@ interface DraftPostTranslation {
2857
3250
  /** Post URL. */
2858
3251
  url?: PageUrl;
2859
3252
  }
3253
+ interface InitialDraftPostsCopied {
3254
+ /** Number of draft posts copied. */
3255
+ count?: number;
3256
+ }
2860
3257
  interface DraftCategoriesUpdated {
2861
3258
  /**
2862
3259
  * Draft post ID.
@@ -2895,276 +3292,101 @@ interface DraftTagsUpdated {
2895
3292
  */
2896
3293
  previousTags?: string[];
2897
3294
  }
2898
- interface GetDraftPostTotalsRequest {
3295
+ interface CreateDraftPostRequest {
3296
+ /** Draft post to create. */
3297
+ draftPost: DraftPost;
2899
3298
  /**
2900
- * Group results by fields (defaults to grouping by status).
2901
- * If, for example, grouping by language is passed, language values in response will be filled.
2902
- * If, for example, grouping by language is not passed, null values will be filled in language field in response.
2903
- * @maxSize 10
3299
+ * Whether the draft post should be published on creation.
3300
+ *
3301
+ * Default: `false`
2904
3302
  */
2905
- groupBy?: TotalDraftPostsGroupingFieldWithLiterals[];
3303
+ publish?: boolean;
2906
3304
  /**
2907
- * Optional language filter by provided language code. Useful in multilingual context.
2908
- * @format LANGUAGE_TAG
3305
+ * Save type.
3306
+ * @internal
2909
3307
  */
2910
- language?: string | null;
3308
+ saveType?: TypeWithLiterals;
3309
+ /**
3310
+ * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3311
+ * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
3312
+ * only the draft post's base fields are returned.
3313
+ * @maxSize 10
3314
+ */
3315
+ fieldsets?: FieldWithLiterals[];
2911
3316
  }
2912
- declare enum TotalDraftPostsGroupingField {
2913
- /** Groups results by status. */
2914
- STATUS = "STATUS",
2915
- /** Groups results by language. */
2916
- LANGUAGE = "LANGUAGE"
3317
+ declare enum Type {
3318
+ UNKNOWN = "UNKNOWN",
3319
+ /** Manually saved. */
3320
+ MANUAL = "MANUAL",
3321
+ /** Triggered by autosave. */
3322
+ AUTO_SAVE = "AUTO_SAVE",
3323
+ /** Copied from template during provisioning flow. */
3324
+ PROVISIONING = "PROVISIONING",
3325
+ /** Imported from another blog. */
3326
+ IMPORT = "IMPORT",
3327
+ /** Triggered by autosave when post created by AI tool. */
3328
+ AI_AUTO_SAVE = "AI_AUTO_SAVE"
2917
3329
  }
2918
3330
  /** @enumType */
2919
- type TotalDraftPostsGroupingFieldWithLiterals = TotalDraftPostsGroupingField | 'STATUS' | 'LANGUAGE';
2920
- interface GetDraftPostTotalsResponse {
2921
- /** Draft post totals. */
2922
- totalDraftPosts?: TotalDraftPosts[];
2923
- }
2924
- interface TotalDraftPosts {
2925
- /** Draft post totals in that group. */
2926
- total?: number;
2927
- /** Draft post status (only has value when grouping by status, otherwise null). */
2928
- status?: StatusWithLiterals;
3331
+ type TypeWithLiterals = Type | 'UNKNOWN' | 'MANUAL' | 'AUTO_SAVE' | 'PROVISIONING' | 'IMPORT' | 'AI_AUTO_SAVE';
3332
+ declare enum Field {
3333
+ /** Unknown field. */
3334
+ UNKNOWN = "UNKNOWN",
3335
+ /** Includes draft post preview URL. */
3336
+ URL = "URL",
2929
3337
  /**
2930
- * Draft post language code (only has value when grouping by language, otherwise null).
2931
- * @format LANGUAGE_TAG
3338
+ * Includes internal id field.
3339
+ * Reserved for internal use.
3340
+ * @internal
2932
3341
  */
2933
- language?: string | null;
2934
- }
2935
- interface DomainEvent extends DomainEventBodyOneOf {
2936
- createdEvent?: EntityCreatedEvent;
2937
- updatedEvent?: EntityUpdatedEvent;
2938
- deletedEvent?: EntityDeletedEvent;
2939
- actionEvent?: ActionEvent;
2940
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
2941
- id?: string;
3342
+ INTERNAL_ID = "INTERNAL_ID",
3343
+ /** Includes content field. */
3344
+ CONTENT = "CONTENT",
3345
+ /** Includes rich content field. */
3346
+ RICH_CONTENT = "RICH_CONTENT",
2942
3347
  /**
2943
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
2944
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
3348
+ * Includes draft post translations when present.
3349
+ * @internal
2945
3350
  */
2946
- entityFqdn?: string;
3351
+ TRANSLATIONS = "TRANSLATIONS",
3352
+ /** If the user has not set excerpt, returns the one autogenerated from content. */
3353
+ GENERATED_EXCERPT = "GENERATED_EXCERPT"
3354
+ }
3355
+ /** @enumType */
3356
+ type FieldWithLiterals = Field | 'UNKNOWN' | 'URL' | 'CONTENT' | 'RICH_CONTENT' | 'GENERATED_EXCERPT';
3357
+ interface CreateDraftPostResponse {
3358
+ /** Created draft post info. */
3359
+ draftPost?: DraftPost;
3360
+ }
3361
+ interface BulkCreateDraftPostsRequest {
2947
3362
  /**
2948
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
2949
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
3363
+ * Draft posts to create.
3364
+ * @minSize 1
3365
+ * @maxSize 20
2950
3366
  */
2951
- slug?: string;
2952
- /** ID of the entity associated with the event. */
2953
- entityId?: string;
2954
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
2955
- eventTime?: Date | null;
3367
+ draftPosts: DraftPost[];
3368
+ /** Whether the draft post should be published after creation. */
3369
+ publish?: boolean;
2956
3370
  /**
2957
- * Whether the event was triggered as a result of a privacy regulation application
2958
- * (for example, GDPR).
3371
+ * Save type.
3372
+ * @internal
2959
3373
  */
2960
- triggeredByAnonymizeRequest?: boolean | null;
2961
- /** If present, indicates the action that triggered the event. */
2962
- originatedFrom?: string | null;
3374
+ saveType?: TypeWithLiterals;
3375
+ /** Whether to return the full created draft post entities in the response. */
3376
+ returnFullEntity?: boolean;
2963
3377
  /**
2964
- * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
2965
- * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
3378
+ * List of draft post fields to be included in the response if the entities are present.
3379
+ * Base default fieldset returns all core draft post properties (all properties that are not a supported fieldset value).
3380
+ * For example, when `URL` fieldset is selected, returned draft post will include the set of base properties and the draft post's preview url.
3381
+ * @maxSize 10
2966
3382
  */
2967
- entityEventSequence?: string | null;
3383
+ fieldsets?: FieldWithLiterals[];
2968
3384
  }
2969
- /** @oneof */
2970
- interface DomainEventBodyOneOf {
2971
- createdEvent?: EntityCreatedEvent;
2972
- updatedEvent?: EntityUpdatedEvent;
2973
- deletedEvent?: EntityDeletedEvent;
2974
- actionEvent?: ActionEvent;
2975
- }
2976
- interface EntityCreatedEvent {
2977
- entityAsJson?: string;
2978
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
2979
- restoreInfo?: RestoreInfo;
2980
- }
2981
- interface RestoreInfo {
2982
- deletedDate?: Date | null;
2983
- }
2984
- interface EntityUpdatedEvent {
2985
- /**
2986
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
2987
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
2988
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
2989
- */
2990
- currentEntityAsJson?: string;
2991
- }
2992
- interface EntityDeletedEvent {
2993
- /** Entity that was deleted. */
2994
- deletedEntityAsJson?: string | null;
2995
- }
2996
- interface ActionEvent {
2997
- bodyAsJson?: string;
2998
- }
2999
- interface MessageEnvelope {
3000
- /**
3001
- * App instance ID.
3002
- * @format GUID
3003
- */
3004
- instanceId?: string | null;
3005
- /**
3006
- * Event type.
3007
- * @maxLength 150
3008
- */
3009
- eventType?: string;
3010
- /** The identification type and identity data. */
3011
- identity?: IdentificationData;
3012
- /** Stringify payload. */
3013
- data?: string;
3014
- /** Details related to the account */
3015
- accountInfo?: AccountInfo;
3016
- }
3017
- interface IdentificationData extends IdentificationDataIdOneOf {
3018
- /**
3019
- * ID of a site visitor that has not logged in to the site.
3020
- * @format GUID
3021
- */
3022
- anonymousVisitorId?: string;
3023
- /**
3024
- * ID of a site visitor that has logged in to the site.
3025
- * @format GUID
3026
- */
3027
- memberId?: string;
3028
- /**
3029
- * ID of a Wix user (site owner, contributor, etc.).
3030
- * @format GUID
3031
- */
3032
- wixUserId?: string;
3033
- /**
3034
- * ID of an app.
3035
- * @format GUID
3036
- */
3037
- appId?: string;
3038
- /** @readonly */
3039
- identityType?: WebhookIdentityTypeWithLiterals;
3040
- }
3041
- /** @oneof */
3042
- interface IdentificationDataIdOneOf {
3043
- /**
3044
- * ID of a site visitor that has not logged in to the site.
3045
- * @format GUID
3046
- */
3047
- anonymousVisitorId?: string;
3048
- /**
3049
- * ID of a site visitor that has logged in to the site.
3050
- * @format GUID
3051
- */
3052
- memberId?: string;
3053
- /**
3054
- * ID of a Wix user (site owner, contributor, etc.).
3055
- * @format GUID
3056
- */
3057
- wixUserId?: string;
3058
- /**
3059
- * ID of an app.
3060
- * @format GUID
3061
- */
3062
- appId?: string;
3063
- }
3064
- declare enum WebhookIdentityType {
3065
- UNKNOWN = "UNKNOWN",
3066
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
3067
- MEMBER = "MEMBER",
3068
- WIX_USER = "WIX_USER",
3069
- APP = "APP"
3070
- }
3071
- /** @enumType */
3072
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
3073
- interface AccountInfo {
3074
- /**
3075
- * ID of the Wix account associated with the event.
3076
- * @format GUID
3077
- */
3078
- accountId?: string | null;
3079
- /**
3080
- * ID of the parent Wix account. Only included when accountId belongs to a child account.
3081
- * @format GUID
3082
- */
3083
- parentAccountId?: string | null;
3084
- /**
3085
- * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
3086
- * @format GUID
3087
- */
3088
- siteId?: string | null;
3089
- }
3090
- interface InitialDraftPostsCopied {
3091
- /** Number of draft posts copied. */
3092
- count?: number;
3093
- }
3094
- interface CreateDraftPostRequest {
3095
- /** Draft post to create. */
3096
- draftPost: DraftPost;
3097
- /**
3098
- * Whether the draft post should be published on creation.
3099
- *
3100
- * Default: `false`
3101
- */
3102
- publish?: boolean;
3103
- /**
3104
- * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3105
- * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
3106
- * only the draft post's base fields are returned.
3107
- * @maxSize 10
3108
- */
3109
- fieldsets?: FieldWithLiterals[];
3110
- }
3111
- declare enum Type {
3112
- UNKNOWN = "UNKNOWN",
3113
- /** Manually saved. */
3114
- MANUAL = "MANUAL",
3115
- /** Triggered by autosave. */
3116
- AUTO_SAVE = "AUTO_SAVE",
3117
- /** Copied from template during provisioning flow. */
3118
- PROVISIONING = "PROVISIONING",
3119
- /** Imported from another blog. */
3120
- IMPORT = "IMPORT",
3121
- /** Triggered by autosave when post created by AI tool. */
3122
- AI_AUTO_SAVE = "AI_AUTO_SAVE"
3123
- }
3124
- /** @enumType */
3125
- type TypeWithLiterals = Type | 'UNKNOWN' | 'MANUAL' | 'AUTO_SAVE' | 'PROVISIONING' | 'IMPORT' | 'AI_AUTO_SAVE';
3126
- declare enum Field {
3127
- /** Unknown field. */
3128
- UNKNOWN = "UNKNOWN",
3129
- /** Includes draft post preview URL. */
3130
- URL = "URL",
3131
- /** Includes content field. */
3132
- CONTENT = "CONTENT",
3133
- /** Includes rich content field. */
3134
- RICH_CONTENT = "RICH_CONTENT",
3135
- /** If the user has not set excerpt, returns the one autogenerated from content. */
3136
- GENERATED_EXCERPT = "GENERATED_EXCERPT"
3137
- }
3138
- /** @enumType */
3139
- type FieldWithLiterals = Field | 'UNKNOWN' | 'URL' | 'CONTENT' | 'RICH_CONTENT' | 'GENERATED_EXCERPT';
3140
- interface CreateDraftPostResponse {
3141
- /** Created draft post info. */
3142
- draftPost?: DraftPost;
3143
- }
3144
- interface BulkCreateDraftPostsRequest {
3145
- /**
3146
- * Draft posts to create.
3147
- * @minSize 1
3148
- * @maxSize 20
3149
- */
3150
- draftPosts: DraftPost[];
3151
- /** Whether the draft post should be published after creation. */
3152
- publish?: boolean;
3153
- /** Whether to return the full created draft post entities in the response. */
3154
- returnFullEntity?: boolean;
3155
- /**
3156
- * List of draft post fields to be included in the response if the entities are present.
3157
- * Base default fieldset returns all core draft post properties (all properties that are not a supported fieldset value).
3158
- * For example, when `URL` fieldset is selected, returned draft post will include the set of base properties and the draft post's preview url.
3159
- * @maxSize 10
3160
- */
3161
- fieldsets?: FieldWithLiterals[];
3162
- }
3163
- interface BulkCreateDraftPostsResponse {
3164
- /** Draft posts created by bulk action. */
3165
- results?: BulkDraftPostResult[];
3166
- /** Bulk action metadata. */
3167
- bulkActionMetadata?: BulkActionMetadata;
3385
+ interface BulkCreateDraftPostsResponse {
3386
+ /** Draft posts created by bulk action. */
3387
+ results?: BulkDraftPostResult[];
3388
+ /** Bulk action metadata. */
3389
+ bulkActionMetadata?: BulkActionMetadata;
3168
3390
  }
3169
3391
  interface BulkDraftPostResult {
3170
3392
  /** Bulk actions metadata for draft post. */
@@ -3213,6 +3435,11 @@ interface BulkUpdateDraftPostsRequest {
3213
3435
  action?: ActionWithLiterals;
3214
3436
  /** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */
3215
3437
  scheduledPublishDate?: Date | null;
3438
+ /**
3439
+ * Save type.
3440
+ * @internal
3441
+ */
3442
+ saveType?: TypeWithLiterals;
3216
3443
  /** Whether to return the full updated draft post entities in the response. */
3217
3444
  returnFullEntity?: boolean;
3218
3445
  /**
@@ -3254,6 +3481,18 @@ interface BulkUpdateDraftPostsResponse {
3254
3481
  bulkActionMetadata?: BulkActionMetadata;
3255
3482
  }
3256
3483
  interface DraftPostOwnerChanged {
3484
+ /**
3485
+ * Member ID of the draft post's owner before the change.
3486
+ * @internal
3487
+ * @format GUID
3488
+ */
3489
+ oldMemberId?: string;
3490
+ /**
3491
+ * Member ID of the draft post's owner after the change.
3492
+ * @internal
3493
+ * @format GUID
3494
+ */
3495
+ newMemberId?: string;
3257
3496
  }
3258
3497
  interface ListDeletedDraftPostsRequest {
3259
3498
  /**
@@ -3334,6 +3573,13 @@ interface PagingMetadataV2 {
3334
3573
  tooManyToCount?: boolean | null;
3335
3574
  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
3336
3575
  cursors?: Cursors;
3576
+ /**
3577
+ * Indicates if there are more results after the current page.
3578
+ * If `true`, another page of results can be retrieved.
3579
+ * If `false`, this is the last page.
3580
+ * @internal
3581
+ */
3582
+ hasNext?: boolean | null;
3337
3583
  }
3338
3584
  interface Cursors {
3339
3585
  /**
@@ -3390,6 +3636,16 @@ interface UpdateDraftPostContentResponse {
3390
3636
  interface UpdateDraftPostRequest {
3391
3637
  /** Draft post to update. */
3392
3638
  draftPost: DraftPost;
3639
+ /**
3640
+ * Field mask of fields to update.
3641
+ * @internal
3642
+ */
3643
+ fieldMask?: string[];
3644
+ /**
3645
+ * Save type.
3646
+ * @internal
3647
+ */
3648
+ saveType?: TypeWithLiterals;
3393
3649
  /**
3394
3650
  * Action to perform on the post.
3395
3651
  *
@@ -3570,6 +3826,20 @@ interface Sorting {
3570
3826
  fieldName?: string;
3571
3827
  /** Sort order. */
3572
3828
  order?: SortOrderWithLiterals;
3829
+ /**
3830
+ * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
3831
+ * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
3832
+ *
3833
+ * If multiple filters are provided, they are combined with AND operator.
3834
+ *
3835
+ * Example:
3836
+ * Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
3837
+ * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
3838
+ * { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
3839
+ * @internal
3840
+ * @maxSize 10
3841
+ */
3842
+ selectItemsBy?: Record<string, any>[] | null;
3573
3843
  /**
3574
3844
  * Origin point for geo-distance sorting on a GEO field
3575
3845
  * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
@@ -3671,116 +3941,239 @@ interface DraftPostCount {
3671
3941
  /** Number of posts. */
3672
3942
  postCount?: number;
3673
3943
  }
3674
- interface BulkRevertToUnpublishedRequest {
3944
+ interface DomainEvent extends DomainEventBodyOneOf {
3945
+ createdEvent?: EntityCreatedEvent;
3946
+ updatedEvent?: EntityUpdatedEvent;
3947
+ deletedEvent?: EntityDeletedEvent;
3948
+ actionEvent?: ActionEvent;
3949
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
3950
+ id?: string;
3675
3951
  /**
3676
- * Source post IDs.
3677
- * @minSize 1
3678
- * @maxSize 100
3679
- * @format GUID
3952
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
3953
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
3680
3954
  */
3681
- postIds?: string[];
3682
- /** Should full draft post be returned. */
3683
- returnFullEntity?: boolean;
3684
- }
3685
- interface BulkRevertToUnpublishedResponse {
3686
- /** Bulk action results. */
3687
- results?: BulkDraftPostResult[];
3688
- /** Bulk action metadata. */
3689
- bulkActionMetadata?: BulkActionMetadata;
3690
- }
3691
- interface BulkRejectDraftPostRequest {
3955
+ entityFqdn?: string;
3692
3956
  /**
3693
- * Source post IDs.
3694
- * @minSize 1
3695
- * @maxSize 100
3696
- * @format GUID
3957
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
3958
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
3697
3959
  */
3698
- postIds?: string[];
3699
- /** Should full draft post be returned. */
3700
- returnFullEntity?: boolean;
3701
- }
3702
- interface BulkRejectDraftPostResponse {
3703
- /** Bulk action results. */
3704
- results?: BulkDraftPostResult[];
3705
- /** Bulk action metadata. */
3706
- bulkActionMetadata?: BulkActionMetadata;
3707
- }
3708
- interface RevertToUnpublishedRequest {
3709
- /**
3710
- * Source post ID.
3711
- * @format GUID
3960
+ slug?: string;
3961
+ /** ID of the entity associated with the event. */
3962
+ entityId?: string;
3963
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
3964
+ eventTime?: Date | null;
3965
+ /**
3966
+ * Whether the event was triggered as a result of a privacy regulation application
3967
+ * (for example, GDPR).
3712
3968
  */
3713
- postId?: string;
3969
+ triggeredByAnonymizeRequest?: boolean | null;
3970
+ /** If present, indicates the action that triggered the event. */
3971
+ originatedFrom?: string | null;
3714
3972
  /**
3715
- * List of draft post fields to be included if entities are present in the response.
3716
- * Base fieldset, which is default, will return all core draft post properties.
3717
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3718
- * @maxSize 10
3973
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
3974
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
3719
3975
  */
3720
- fieldsets?: FieldWithLiterals[];
3976
+ entityEventSequence?: string | null;
3721
3977
  }
3722
- interface RevertToUnpublishedResponse {
3723
- /** Updated post draft. */
3724
- draftPost?: DraftPost;
3978
+ /** @oneof */
3979
+ interface DomainEventBodyOneOf {
3980
+ createdEvent?: EntityCreatedEvent;
3981
+ updatedEvent?: EntityUpdatedEvent;
3982
+ deletedEvent?: EntityDeletedEvent;
3983
+ actionEvent?: ActionEvent;
3725
3984
  }
3726
- interface RejectDraftPostRequest {
3985
+ interface EntityCreatedEvent {
3986
+ entityAsJson?: string;
3727
3987
  /**
3728
- * Source post ID.
3988
+ * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity
3989
+ * @internal
3990
+ */
3991
+ triggeredByUndelete?: boolean | null;
3992
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
3993
+ restoreInfo?: RestoreInfo;
3994
+ /**
3995
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
3996
+ * @internal
3997
+ */
3998
+ additionalMetadataAsJson?: string | null;
3999
+ }
4000
+ interface RestoreInfo {
4001
+ deletedDate?: Date | null;
4002
+ }
4003
+ interface EntityUpdatedEvent {
4004
+ /**
4005
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
4006
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
4007
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
4008
+ */
4009
+ currentEntityAsJson?: string;
4010
+ /**
4011
+ * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard
4012
+ * wont populate it / have any reference to it in the API.
4013
+ * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,
4014
+ * the developer should send only the new (current) entity.
4015
+ * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big
4016
+ * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.
4017
+ * @internal
4018
+ * @deprecated
4019
+ */
4020
+ previousEntityAsJson?: string | null;
4021
+ /**
4022
+ * Map of fully qualified field paths to their previous values for fields that changed.
4023
+ * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)
4024
+ * @internal
4025
+ */
4026
+ modifiedFields?: Record<string, any>;
4027
+ /**
4028
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
4029
+ * @internal
4030
+ */
4031
+ additionalMetadataAsJson?: string | null;
4032
+ }
4033
+ interface EntityDeletedEvent {
4034
+ /**
4035
+ * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
4036
+ * @internal
4037
+ */
4038
+ movedToTrash?: boolean | null;
4039
+ /** Entity that was deleted. */
4040
+ deletedEntityAsJson?: string | null;
4041
+ /**
4042
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
4043
+ * @internal
4044
+ */
4045
+ additionalMetadataAsJson?: string | null;
4046
+ }
4047
+ interface ActionEvent {
4048
+ bodyAsJson?: string;
4049
+ }
4050
+ interface MessageEnvelope {
4051
+ /**
4052
+ * App instance ID.
3729
4053
  * @format GUID
3730
4054
  */
3731
- postId?: string;
4055
+ instanceId?: string | null;
3732
4056
  /**
3733
- * List of draft post fields to be included if entities are present in the response.
3734
- * Base fieldset, which is default, will return all core draft post properties.
3735
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3736
- * @maxSize 10
4057
+ * Event type.
4058
+ * @maxLength 150
3737
4059
  */
3738
- fieldsets?: FieldWithLiterals[];
4060
+ eventType?: string;
4061
+ /** The identification type and identity data. */
4062
+ identity?: IdentificationData;
4063
+ /** Stringify payload. */
4064
+ data?: string;
4065
+ /** Details related to the account */
4066
+ accountInfo?: AccountInfo;
3739
4067
  }
3740
- interface RejectDraftPostResponse {
3741
- /** Draft post. */
3742
- draftPost?: DraftPost;
4068
+ interface IdentificationData extends IdentificationDataIdOneOf {
4069
+ /**
4070
+ * ID of a site visitor that has not logged in to the site.
4071
+ * @format GUID
4072
+ */
4073
+ anonymousVisitorId?: string;
4074
+ /**
4075
+ * ID of a site visitor that has logged in to the site.
4076
+ * @format GUID
4077
+ */
4078
+ memberId?: string;
4079
+ /**
4080
+ * ID of a Wix user (site owner, contributor, etc.).
4081
+ * @format GUID
4082
+ */
4083
+ wixUserId?: string;
4084
+ /**
4085
+ * ID of an app.
4086
+ * @format GUID
4087
+ */
4088
+ appId?: string;
4089
+ /** @readonly */
4090
+ identityType?: WebhookIdentityTypeWithLiterals;
3743
4091
  }
3744
- interface ApproveDraftPostRequest {
4092
+ /** @oneof */
4093
+ interface IdentificationDataIdOneOf {
3745
4094
  /**
3746
- * Source post ID.
4095
+ * ID of a site visitor that has not logged in to the site.
3747
4096
  * @format GUID
3748
4097
  */
3749
- postId?: string;
4098
+ anonymousVisitorId?: string;
3750
4099
  /**
3751
- * Scheduled publish date if should be not immediately published.
3752
- * @maxLength 24
4100
+ * ID of a site visitor that has logged in to the site.
4101
+ * @format GUID
3753
4102
  */
3754
- scheduledPublishDate?: string | null;
4103
+ memberId?: string;
3755
4104
  /**
3756
- * List of draft post fields to be included if entities are present in the response.
3757
- * Base fieldset, which is default, will return all core draft post properties.
3758
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3759
- * @maxSize 10
4105
+ * ID of a Wix user (site owner, contributor, etc.).
4106
+ * @format GUID
3760
4107
  */
3761
- fieldsets?: FieldWithLiterals[];
4108
+ wixUserId?: string;
4109
+ /**
4110
+ * ID of an app.
4111
+ * @format GUID
4112
+ */
4113
+ appId?: string;
3762
4114
  }
3763
- interface ApproveDraftPostResponse {
3764
- /** Updated post draft. */
3765
- draftPost?: DraftPost;
4115
+ declare enum WebhookIdentityType {
4116
+ UNKNOWN = "UNKNOWN",
4117
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
4118
+ MEMBER = "MEMBER",
4119
+ WIX_USER = "WIX_USER",
4120
+ APP = "APP"
3766
4121
  }
3767
- interface MarkPostAsInModerationRequest {
4122
+ /** @enumType */
4123
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
4124
+ interface AccountInfo {
3768
4125
  /**
3769
- * Source post ID.
3770
- * @maxLength 38
4126
+ * ID of the Wix account associated with the event.
4127
+ * @format GUID
3771
4128
  */
3772
- postId?: string;
4129
+ accountId?: string | null;
3773
4130
  /**
3774
- * List of draft post fields to be included if entities are present in the response.
3775
- * Base fieldset, which is default, will return all core draft post properties.
3776
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4131
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
4132
+ * @format GUID
4133
+ */
4134
+ parentAccountId?: string | null;
4135
+ /**
4136
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
4137
+ * @format GUID
4138
+ */
4139
+ siteId?: string | null;
4140
+ }
4141
+ interface GetDraftPostTotalsRequest {
4142
+ /**
4143
+ * Group results by fields (defaults to grouping by status).
4144
+ * If, for example, grouping by language is passed, language values in response will be filled.
4145
+ * If, for example, grouping by language is not passed, null values will be filled in language field in response.
3777
4146
  * @maxSize 10
3778
4147
  */
3779
- fieldsets?: FieldWithLiterals[];
4148
+ groupBy?: TotalDraftPostsGroupingFieldWithLiterals[];
4149
+ /**
4150
+ * Optional language filter by provided language code. Useful in multilingual context.
4151
+ * @format LANGUAGE_TAG
4152
+ */
4153
+ language?: string | null;
3780
4154
  }
3781
- interface MarkPostAsInModerationResponse {
3782
- /** Updated post draft. */
3783
- draftPost?: DraftPost;
4155
+ declare enum TotalDraftPostsGroupingField {
4156
+ /** Groups results by status. */
4157
+ STATUS = "STATUS",
4158
+ /** Groups results by language. */
4159
+ LANGUAGE = "LANGUAGE"
4160
+ }
4161
+ /** @enumType */
4162
+ type TotalDraftPostsGroupingFieldWithLiterals = TotalDraftPostsGroupingField | 'STATUS' | 'LANGUAGE';
4163
+ interface GetDraftPostTotalsResponse {
4164
+ /** Draft post totals. */
4165
+ totalDraftPosts?: TotalDraftPosts[];
4166
+ }
4167
+ interface TotalDraftPosts {
4168
+ /** Draft post totals in that group. */
4169
+ total?: number;
4170
+ /** Draft post status (only has value when grouping by status, otherwise null). */
4171
+ status?: StatusWithLiterals;
4172
+ /**
4173
+ * Draft post language code (only has value when grouping by language, otherwise null).
4174
+ * @format LANGUAGE_TAG
4175
+ */
4176
+ language?: string | null;
3784
4177
  }
3785
4178
  interface TranslateDraftRequest {
3786
4179
  /**
@@ -3800,6 +4193,11 @@ interface TranslateDraftRequest {
3800
4193
  * @maxSize 10
3801
4194
  */
3802
4195
  fieldsets?: FieldWithLiterals[];
4196
+ /**
4197
+ * Performs automatic translation of the title and the content of the draft post to the target language.
4198
+ * @internal
4199
+ */
4200
+ useAutoTranslation?: boolean;
3803
4201
  }
3804
4202
  interface TranslateDraftResponse {
3805
4203
  /** Draft post. */
@@ -3855,6 +4253,153 @@ interface UpdateDraftPostLanguageResponse {
3855
4253
  /** Draft post */
3856
4254
  draftPost?: DraftPost;
3857
4255
  }
4256
+ interface BulkRevertToUnpublishedRequest {
4257
+ /**
4258
+ * Source post IDs.
4259
+ * @minSize 1
4260
+ * @maxSize 100
4261
+ * @format GUID
4262
+ */
4263
+ postIds?: string[];
4264
+ /** Should full draft post be returned. */
4265
+ returnFullEntity?: boolean;
4266
+ }
4267
+ interface BulkRevertToUnpublishedResponse {
4268
+ /** Bulk action results. */
4269
+ results?: BulkDraftPostResult[];
4270
+ /** Bulk action metadata. */
4271
+ bulkActionMetadata?: BulkActionMetadata;
4272
+ }
4273
+ interface BulkRejectDraftPostRequest {
4274
+ /**
4275
+ * Source post IDs.
4276
+ * @minSize 1
4277
+ * @maxSize 100
4278
+ * @format GUID
4279
+ */
4280
+ postIds?: string[];
4281
+ /** Should full draft post be returned. */
4282
+ returnFullEntity?: boolean;
4283
+ }
4284
+ interface BulkRejectDraftPostResponse {
4285
+ /** Bulk action results. */
4286
+ results?: BulkDraftPostResult[];
4287
+ /** Bulk action metadata. */
4288
+ bulkActionMetadata?: BulkActionMetadata;
4289
+ }
4290
+ interface RevertToUnpublishedRequest {
4291
+ /**
4292
+ * Source post ID.
4293
+ * @format GUID
4294
+ */
4295
+ postId?: string;
4296
+ /**
4297
+ * List of draft post fields to be included in the response.
4298
+ * @internal
4299
+ * @maxSize 10
4300
+ * @deprecated List of draft post fields to be included in the response.
4301
+ * @replacedBy fieldsets
4302
+ * @targetRemovalDate 2024-06-30
4303
+ */
4304
+ fieldsToInclude?: FieldWithLiterals[];
4305
+ /**
4306
+ * List of draft post fields to be included if entities are present in the response.
4307
+ * Base fieldset, which is default, will return all core draft post properties.
4308
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4309
+ * @maxSize 10
4310
+ */
4311
+ fieldsets?: FieldWithLiterals[];
4312
+ }
4313
+ interface RevertToUnpublishedResponse {
4314
+ /** Updated post draft. */
4315
+ draftPost?: DraftPost;
4316
+ }
4317
+ interface RejectDraftPostRequest {
4318
+ /**
4319
+ * Source post ID.
4320
+ * @format GUID
4321
+ */
4322
+ postId?: string;
4323
+ /**
4324
+ * List of draft post fields to be included in the response.
4325
+ * @internal
4326
+ * @maxSize 10
4327
+ * @deprecated List of draft post fields to be included in the response.
4328
+ * @replacedBy fieldsets
4329
+ * @targetRemovalDate 2024-06-30
4330
+ */
4331
+ fieldsToInclude?: FieldWithLiterals[];
4332
+ /**
4333
+ * List of draft post fields to be included if entities are present in the response.
4334
+ * Base fieldset, which is default, will return all core draft post properties.
4335
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4336
+ * @maxSize 10
4337
+ */
4338
+ fieldsets?: FieldWithLiterals[];
4339
+ }
4340
+ interface RejectDraftPostResponse {
4341
+ /** Draft post. */
4342
+ draftPost?: DraftPost;
4343
+ }
4344
+ interface ApproveDraftPostRequest {
4345
+ /**
4346
+ * Source post ID.
4347
+ * @format GUID
4348
+ */
4349
+ postId?: string;
4350
+ /**
4351
+ * Scheduled publish date if should be not immediately published.
4352
+ * @maxLength 24
4353
+ */
4354
+ scheduledPublishDate?: string | null;
4355
+ /**
4356
+ * List of draft post fields to be included in the response.
4357
+ * @internal
4358
+ * @maxSize 10
4359
+ * @deprecated List of draft post fields to be included in the response.
4360
+ * @replacedBy fieldsets
4361
+ * @targetRemovalDate 2024-06-30
4362
+ */
4363
+ fieldsToInclude?: FieldWithLiterals[];
4364
+ /**
4365
+ * List of draft post fields to be included if entities are present in the response.
4366
+ * Base fieldset, which is default, will return all core draft post properties.
4367
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4368
+ * @maxSize 10
4369
+ */
4370
+ fieldsets?: FieldWithLiterals[];
4371
+ }
4372
+ interface ApproveDraftPostResponse {
4373
+ /** Updated post draft. */
4374
+ draftPost?: DraftPost;
4375
+ }
4376
+ interface MarkPostAsInModerationRequest {
4377
+ /**
4378
+ * Source post ID.
4379
+ * @maxLength 38
4380
+ */
4381
+ postId?: string;
4382
+ /**
4383
+ * List of draft post fields to be included in the response.
4384
+ * @internal
4385
+ * @maxSize 10
4386
+ * @deprecated List of draft post fields to be included in the response.
4387
+ * @replacedBy fieldsets
4388
+ * @targetRemovalDate 2024-06-30
4389
+ */
4390
+ fieldsToInclude?: FieldWithLiterals[];
4391
+ /**
4392
+ * List of draft post fields to be included if entities are present in the response.
4393
+ * Base fieldset, which is default, will return all core draft post properties.
4394
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4395
+ * @maxSize 10
4396
+ */
4397
+ fieldsets?: FieldWithLiterals[];
4398
+ }
4399
+ interface MarkPostAsInModerationResponse {
4400
+ /** Updated post draft. */
4401
+ draftPost?: DraftPost;
4402
+ }
3858
4403
 
3859
4404
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
3860
4405
  getUrl: (context: any) => string;
@@ -3895,4 +4440,4 @@ declare function publishDraftPost(): __PublicMethodMetaInfo<'POST', {
3895
4440
  draftPostId: string;
3896
4441
  }, PublishDraftPostRequest$1, PublishDraftPostRequest, PublishDraftPostResponse$1, PublishDraftPostResponse>;
3897
4442
 
3898
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, Action as ActionOriginal, type ActionWithLiterals as ActionWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type ApproveDraftPostRequest as ApproveDraftPostRequestOriginal, type ApproveDraftPostResponse as ApproveDraftPostResponseOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type AudioData as AudioDataOriginal, type Backdrop as BackdropOriginal, BackdropType as BackdropTypeOriginal, type BackdropTypeWithLiterals as BackdropTypeWithLiteralsOriginal, type BackgroundGradient as BackgroundGradientOriginal, type BackgroundImage as BackgroundImageOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, BannerOrigin as BannerOriginOriginal, type BannerOriginWithLiterals as BannerOriginWithLiteralsOriginal, type Banner as BannerOriginal, BannerPosition as BannerPositionOriginal, type BannerPositionWithLiterals as BannerPositionWithLiteralsOriginal, type BlockquoteData as BlockquoteDataOriginal, type BlogPaging as BlogPagingOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BorderWidths as BorderWidthsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateDraftPostsRequest as BulkCreateDraftPostsRequestOriginal, type BulkCreateDraftPostsResponse as BulkCreateDraftPostsResponseOriginal, type BulkDeleteDraftPostsRequest as BulkDeleteDraftPostsRequestOriginal, type BulkDeleteDraftPostsResponse as BulkDeleteDraftPostsResponseOriginal, type BulkDraftPostResult as BulkDraftPostResultOriginal, type BulkRejectDraftPostRequest as BulkRejectDraftPostRequestOriginal, type BulkRejectDraftPostResponse as BulkRejectDraftPostResponseOriginal, type BulkRevertToUnpublishedRequest as BulkRevertToUnpublishedRequestOriginal, type BulkRevertToUnpublishedResponse as BulkRevertToUnpublishedResponseOriginal, type BulkUpdateDraftPostsRequest as BulkUpdateDraftPostsRequestOriginal, type BulkUpdateDraftPostsResponse as BulkUpdateDraftPostsResponseOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CaptionData as CaptionDataOriginal, type CardDataBackground as CardDataBackgroundOriginal, CardDataBackgroundType as CardDataBackgroundTypeOriginal, type CardDataBackgroundTypeWithLiterals as CardDataBackgroundTypeWithLiteralsOriginal, type CardData as CardDataOriginal, type CardStyles as CardStylesOriginal, CardStylesType as CardStylesTypeOriginal, type CardStylesTypeWithLiterals as CardStylesTypeWithLiteralsOriginal, type CellStyle as CellStyleOriginal, type CheckboxListData as CheckboxListDataOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, ColumnSize as ColumnSizeOriginal, type ColumnSizeWithLiterals as ColumnSizeWithLiteralsOriginal, type CreateDraftPostRequest as CreateDraftPostRequestOriginal, type CreateDraftPostResponse as CreateDraftPostResponseOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type DeleteDraftPostRequest as DeleteDraftPostRequestOriginal, type DeleteDraftPostResponse as DeleteDraftPostResponseOriginal, type Design as DesignOriginal, DesignTarget as DesignTargetOriginal, type DesignTargetWithLiterals as DesignTargetWithLiteralsOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DividerDataStyles as DividerDataStylesOriginal, type DocumentStyle as DocumentStyleOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DraftCategoriesUpdated as DraftCategoriesUpdatedOriginal, type DraftPostCount as DraftPostCountOriginal, type DraftPost as DraftPostOriginal, type DraftPostOwnerChanged as DraftPostOwnerChangedOriginal, type DraftPostTranslation as DraftPostTranslationOriginal, type DraftTagsUpdated as DraftTagsUpdatedOriginal, type EmbedData as EmbedDataOriginal, type EmbedMedia as EmbedMediaOriginal, type EmbedThumbnail as EmbedThumbnailOriginal, type EmbedVideo as EmbedVideoOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EventData as EventDataOriginal, Field as FieldOriginal, type FieldWithLiterals as FieldWithLiteralsOriginal, type FileData as FileDataOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FocalPoint as FocalPointOriginal, type FontFamilyData as FontFamilyDataOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type GetDeletedDraftPostRequest as GetDeletedDraftPostRequestOriginal, type GetDeletedDraftPostResponse as GetDeletedDraftPostResponseOriginal, type GetDraftPostCountsRequest as GetDraftPostCountsRequestOriginal, type GetDraftPostCountsResponse as GetDraftPostCountsResponseOriginal, type GetDraftPostRequest as GetDraftPostRequestOriginal, type GetDraftPostResponse as GetDraftPostResponseOriginal, type GetDraftPostTotalsRequest as GetDraftPostTotalsRequestOriginal, type GetDraftPostTotalsResponse as GetDraftPostTotalsResponseOriginal, GetDraftPostsSort as GetDraftPostsSortOriginal, type GetDraftPostsSortWithLiterals as GetDraftPostsSortWithLiteralsOriginal, type Gradient as GradientOriginal, GradientType as GradientTypeOriginal, type GradientTypeWithLiterals as GradientTypeWithLiteralsOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageDataCrop as ImageDataCropOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, ImagePosition as ImagePositionOriginal, ImagePositionPosition as ImagePositionPositionOriginal, type ImagePositionPositionWithLiterals as ImagePositionPositionWithLiteralsOriginal, type ImagePositionWithLiterals as ImagePositionWithLiteralsOriginal, ImageScalingScaling as ImageScalingScalingOriginal, type ImageScalingScalingWithLiterals as ImageScalingScalingWithLiteralsOriginal, type ImageStyles as ImageStylesOriginal, Indentation as IndentationOriginal, type IndentationWithLiterals as IndentationWithLiteralsOriginal, type InitialDraftPostsCopied as InitialDraftPostsCopiedOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, type IsDraftPostAutoTranslatableRequest as IsDraftPostAutoTranslatableRequestOriginal, type IsDraftPostAutoTranslatableResponse as IsDraftPostAutoTranslatableResponseOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemImage as ItemImageOriginal, type ItemMetadata as ItemMetadataOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type Keyword as KeywordOriginal, type LayoutCellData as LayoutCellDataOriginal, type LayoutDataBackgroundImage as LayoutDataBackgroundImageOriginal, type LayoutDataBackground as LayoutDataBackgroundOriginal, LayoutDataBackgroundType as LayoutDataBackgroundTypeOriginal, type LayoutDataBackgroundTypeWithLiterals as LayoutDataBackgroundTypeWithLiteralsOriginal, type LayoutData as LayoutDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, LineCap as LineCapOriginal, type LineCapWithLiterals as LineCapWithLiteralsOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkDataOneOf as LinkDataOneOfOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, type ListDeletedDraftPostsRequest as ListDeletedDraftPostsRequestOriginal, type ListDeletedDraftPostsResponse as ListDeletedDraftPostsResponseOriginal, type ListDraftPostsRequest as ListDraftPostsRequestOriginal, type ListDraftPostsResponse as ListDraftPostsResponseOriginal, type ListItemNodeData as ListItemNodeDataOriginal, ListStyle as ListStyleOriginal, type ListStyleWithLiterals as ListStyleWithLiteralsOriginal, type ListValue as ListValueOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type MarkPostAsInModerationRequest as MarkPostAsInModerationRequestOriginal, type MarkPostAsInModerationResponse as MarkPostAsInModerationResponseOriginal, type MaskedDraftPosts as MaskedDraftPostsOriginal, type MediaMediaOneOf as MediaMediaOneOfOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaData as MetaDataOriginal, type Metadata as MetadataOriginal, type ModerationDetails as ModerationDetailsOriginal, ModerationStatusStatus as ModerationStatusStatusOriginal, type ModerationStatusStatusWithLiterals as ModerationStatusStatusWithLiteralsOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Oembed as OembedOriginal, type OptionDesign as OptionDesignOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, Origin as OriginOriginal, type OriginWithLiterals as OriginWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type PageUrl as PageUrlOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParagraphData as ParagraphDataOriginal, type Permissions as PermissionsOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlatformQuery as PlatformQueryOriginal, type PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOfOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesignBackgroundBackgroundOneOf as PollDesignBackgroundBackgroundOneOfOriginal, type PollDesignBackground as PollDesignBackgroundOriginal, PollDesignBackgroundType as PollDesignBackgroundTypeOriginal, type PollDesignBackgroundTypeWithLiterals as PollDesignBackgroundTypeWithLiteralsOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, type PollSettings as PollSettingsOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type PricingData as PricingDataOriginal, type PublishDraftPostRequest as PublishDraftPostRequestOriginal, type PublishDraftPostResponse as PublishDraftPostResponseOriginal, type QueryDraftPostsRequest as QueryDraftPostsRequestOriginal, type QueryDraftPostsResponse as QueryDraftPostsResponseOriginal, type RejectDraftPostRequest as RejectDraftPostRequestOriginal, type RejectDraftPostResponse as RejectDraftPostResponseOriginal, type Rel as RelOriginal, type RemoveFromTrashBinRequest as RemoveFromTrashBinRequestOriginal, type RemoveFromTrashBinResponse as RemoveFromTrashBinResponseOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, ResponsivenessBehaviour as ResponsivenessBehaviourOriginal, type ResponsivenessBehaviourWithLiterals as ResponsivenessBehaviourWithLiteralsOriginal, type RestoreFromTrashBinRequest as RestoreFromTrashBinRequestOriginal, type RestoreFromTrashBinResponse as RestoreFromTrashBinResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RevertToUnpublishedRequest as RevertToUnpublishedRequestOriginal, type RevertToUnpublishedResponse as RevertToUnpublishedResponseOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, Scaling as ScalingOriginal, type ScalingWithLiterals as ScalingWithLiteralsOriginal, type SeoSchema as SeoSchemaOriginal, type Settings as SettingsOriginal, type ShapeData as ShapeDataOriginal, type ShapeDataStyles as ShapeDataStylesOriginal, type SketchData as SketchDataOriginal, type SmartBlockCellData as SmartBlockCellDataOriginal, type SmartBlockData as SmartBlockDataOriginal, SmartBlockDataType as SmartBlockDataTypeOriginal, type SmartBlockDataTypeWithLiterals as SmartBlockDataTypeWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type Stop as StopOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, type Tag as TagOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, type TocData as TocDataOriginal, TotalDraftPostsGroupingField as TotalDraftPostsGroupingFieldOriginal, type TotalDraftPostsGroupingFieldWithLiterals as TotalDraftPostsGroupingFieldWithLiteralsOriginal, type TotalDraftPosts as TotalDraftPostsOriginal, type TranslateDraftRequest as TranslateDraftRequestOriginal, type TranslateDraftResponse as TranslateDraftResponseOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UnpublishPostRequest as UnpublishPostRequestOriginal, type UnpublishPostResponse as UnpublishPostResponseOriginal, type UpdateDraftPostContentRequest as UpdateDraftPostContentRequestOriginal, type UpdateDraftPostContentResponse as UpdateDraftPostContentResponseOriginal, type UpdateDraftPostLanguageRequest as UpdateDraftPostLanguageRequestOriginal, type UpdateDraftPostLanguageResponse as UpdateDraftPostLanguageResponseOriginal, type UpdateDraftPostRequest as UpdateDraftPostRequestOriginal, type UpdateDraftPostResponse as UpdateDraftPostResponseOriginal, type V1Media as V1MediaOriginal, Variant as VariantOriginal, type VariantWithLiterals as VariantWithLiteralsOriginal, VerticalAlignmentAlignment as VerticalAlignmentAlignmentOriginal, type VerticalAlignmentAlignmentWithLiterals as VerticalAlignmentAlignmentWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type WixMedia as WixMediaOriginal, type __PublicMethodMetaInfo, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, updateDraftPost };
4443
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, Action as ActionOriginal, type ActionWithLiterals as ActionWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type Animation as AnimationOriginal, AnimationType as AnimationTypeOriginal, type AnimationTypeWithLiterals as AnimationTypeWithLiteralsOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type ApproveDraftPostRequest as ApproveDraftPostRequestOriginal, type ApproveDraftPostResponse as ApproveDraftPostResponseOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type AudioData as AudioDataOriginal, type Backdrop as BackdropOriginal, BackdropType as BackdropTypeOriginal, type BackdropTypeWithLiterals as BackdropTypeWithLiteralsOriginal, type BackgroundGradient as BackgroundGradientOriginal, type BackgroundImage as BackgroundImageOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, BannerOrigin as BannerOriginOriginal, type BannerOriginWithLiterals as BannerOriginWithLiteralsOriginal, type Banner as BannerOriginal, BannerPosition as BannerPositionOriginal, type BannerPositionWithLiterals as BannerPositionWithLiteralsOriginal, type BlockquoteData as BlockquoteDataOriginal, type BlogPaging as BlogPagingOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BorderWidths as BorderWidthsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateDraftPostsRequest as BulkCreateDraftPostsRequestOriginal, type BulkCreateDraftPostsResponse as BulkCreateDraftPostsResponseOriginal, type BulkDeleteDraftPostsRequest as BulkDeleteDraftPostsRequestOriginal, type BulkDeleteDraftPostsResponse as BulkDeleteDraftPostsResponseOriginal, type BulkDraftPostResult as BulkDraftPostResultOriginal, type BulkRejectDraftPostRequest as BulkRejectDraftPostRequestOriginal, type BulkRejectDraftPostResponse as BulkRejectDraftPostResponseOriginal, type BulkRevertToUnpublishedRequest as BulkRevertToUnpublishedRequestOriginal, type BulkRevertToUnpublishedResponse as BulkRevertToUnpublishedResponseOriginal, type BulkUpdateDraftPostsRequest as BulkUpdateDraftPostsRequestOriginal, type BulkUpdateDraftPostsResponse as BulkUpdateDraftPostsResponseOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CaptionData as CaptionDataOriginal, type CardDataBackground as CardDataBackgroundOriginal, CardDataBackgroundType as CardDataBackgroundTypeOriginal, type CardDataBackgroundTypeWithLiterals as CardDataBackgroundTypeWithLiteralsOriginal, type CardData as CardDataOriginal, type CardStyles as CardStylesOriginal, CardStylesType as CardStylesTypeOriginal, type CardStylesTypeWithLiterals as CardStylesTypeWithLiteralsOriginal, type CellStyle as CellStyleOriginal, type CheckboxListData as CheckboxListDataOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, ColumnSize as ColumnSizeOriginal, type ColumnSizeWithLiterals as ColumnSizeWithLiteralsOriginal, type CreateDraftPostRequest as CreateDraftPostRequestOriginal, type CreateDraftPostResponse as CreateDraftPostResponseOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type DeleteDraftPostRequest as DeleteDraftPostRequestOriginal, type DeleteDraftPostResponse as DeleteDraftPostResponseOriginal, type Design as DesignOriginal, DesignTarget as DesignTargetOriginal, type DesignTargetWithLiterals as DesignTargetWithLiteralsOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DividerDataStyles as DividerDataStylesOriginal, type DocumentStyle as DocumentStyleOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DraftCategoriesUpdated as DraftCategoriesUpdatedOriginal, type DraftPostCount as DraftPostCountOriginal, type DraftPost as DraftPostOriginal, type DraftPostOwnerChanged as DraftPostOwnerChangedOriginal, type DraftPostTranslation as DraftPostTranslationOriginal, type DraftTagsUpdated as DraftTagsUpdatedOriginal, type EmbedData as EmbedDataOriginal, type EmbedMedia as EmbedMediaOriginal, type EmbedThumbnail as EmbedThumbnailOriginal, type EmbedVideo as EmbedVideoOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EntranceAnimation as EntranceAnimationOriginal, type EntranceEffect as EntranceEffectOriginal, EntranceEffectType as EntranceEffectTypeOriginal, type EntranceEffectTypeWithLiterals as EntranceEffectTypeWithLiteralsOriginal, type EventData as EventDataOriginal, Field as FieldOriginal, type FieldWithLiterals as FieldWithLiteralsOriginal, type FileData as FileDataOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FocalPoint as FocalPointOriginal, type FontFamilyData as FontFamilyDataOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type GetDeletedDraftPostRequest as GetDeletedDraftPostRequestOriginal, type GetDeletedDraftPostResponse as GetDeletedDraftPostResponseOriginal, type GetDraftPostCountsRequest as GetDraftPostCountsRequestOriginal, type GetDraftPostCountsResponse as GetDraftPostCountsResponseOriginal, type GetDraftPostRequest as GetDraftPostRequestOriginal, type GetDraftPostResponse as GetDraftPostResponseOriginal, type GetDraftPostTotalsRequest as GetDraftPostTotalsRequestOriginal, type GetDraftPostTotalsResponse as GetDraftPostTotalsResponseOriginal, GetDraftPostsSort as GetDraftPostsSortOriginal, type GetDraftPostsSortWithLiterals as GetDraftPostsSortWithLiteralsOriginal, type Gradient as GradientOriginal, GradientType as GradientTypeOriginal, type GradientTypeWithLiterals as GradientTypeWithLiteralsOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageDataCrop as ImageDataCropOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, ImagePosition as ImagePositionOriginal, ImagePositionPosition as ImagePositionPositionOriginal, type ImagePositionPositionWithLiterals as ImagePositionPositionWithLiteralsOriginal, type ImagePositionWithLiterals as ImagePositionWithLiteralsOriginal, ImageScalingScaling as ImageScalingScalingOriginal, type ImageScalingScalingWithLiterals as ImageScalingScalingWithLiteralsOriginal, type ImageStyles as ImageStylesOriginal, Indentation as IndentationOriginal, type IndentationWithLiterals as IndentationWithLiteralsOriginal, type InitialDraftPostsCopied as InitialDraftPostsCopiedOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, type IsDraftPostAutoTranslatableRequest as IsDraftPostAutoTranslatableRequestOriginal, type IsDraftPostAutoTranslatableResponse as IsDraftPostAutoTranslatableResponseOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemImage as ItemImageOriginal, type ItemMetadata as ItemMetadataOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type Keyword as KeywordOriginal, type LayoutCellData as LayoutCellDataOriginal, type LayoutDataBackgroundImage as LayoutDataBackgroundImageOriginal, type LayoutDataBackground as LayoutDataBackgroundOriginal, LayoutDataBackgroundType as LayoutDataBackgroundTypeOriginal, type LayoutDataBackgroundTypeWithLiterals as LayoutDataBackgroundTypeWithLiteralsOriginal, type LayoutData as LayoutDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, LineCap as LineCapOriginal, type LineCapWithLiterals as LineCapWithLiteralsOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkDataOneOf as LinkDataOneOfOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, type ListDeletedDraftPostsRequest as ListDeletedDraftPostsRequestOriginal, type ListDeletedDraftPostsResponse as ListDeletedDraftPostsResponseOriginal, type ListDraftPostsRequest as ListDraftPostsRequestOriginal, type ListDraftPostsResponse as ListDraftPostsResponseOriginal, type ListItemNodeData as ListItemNodeDataOriginal, ListStyle as ListStyleOriginal, type ListStyleWithLiterals as ListStyleWithLiteralsOriginal, type ListValue as ListValueOriginal, type LoopAnimation as LoopAnimationOriginal, type LoopEffect as LoopEffectOriginal, LoopEffectType as LoopEffectTypeOriginal, type LoopEffectTypeWithLiterals as LoopEffectTypeWithLiteralsOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type MarkPostAsInModerationRequest as MarkPostAsInModerationRequestOriginal, type MarkPostAsInModerationResponse as MarkPostAsInModerationResponseOriginal, type MaskedDraftPosts as MaskedDraftPostsOriginal, type MediaMediaOneOf as MediaMediaOneOfOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaData as MetaDataOriginal, type Metadata as MetadataOriginal, type ModerationDetails as ModerationDetailsOriginal, ModerationStatusStatus as ModerationStatusStatusOriginal, type ModerationStatusStatusWithLiterals as ModerationStatusStatusWithLiteralsOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Oembed as OembedOriginal, type OptionDesign as OptionDesignOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, Origin as OriginOriginal, type OriginWithLiterals as OriginWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type PageUrl as PageUrlOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParagraphData as ParagraphDataOriginal, type Permissions as PermissionsOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlatformQuery as PlatformQueryOriginal, type PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOfOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesignBackgroundBackgroundOneOf as PollDesignBackgroundBackgroundOneOfOriginal, type PollDesignBackground as PollDesignBackgroundOriginal, PollDesignBackgroundType as PollDesignBackgroundTypeOriginal, type PollDesignBackgroundTypeWithLiterals as PollDesignBackgroundTypeWithLiteralsOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, type PollSettings as PollSettingsOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type PricingData as PricingDataOriginal, type PublishDraftPostRequest as PublishDraftPostRequestOriginal, type PublishDraftPostResponse as PublishDraftPostResponseOriginal, type QueryDraftPostsRequest as QueryDraftPostsRequestOriginal, type QueryDraftPostsResponse as QueryDraftPostsResponseOriginal, type RejectDraftPostRequest as RejectDraftPostRequestOriginal, type RejectDraftPostResponse as RejectDraftPostResponseOriginal, type Rel as RelOriginal, type RemoveFromTrashBinRequest as RemoveFromTrashBinRequestOriginal, type RemoveFromTrashBinResponse as RemoveFromTrashBinResponseOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, ResponsivenessBehaviour as ResponsivenessBehaviourOriginal, type ResponsivenessBehaviourWithLiterals as ResponsivenessBehaviourWithLiteralsOriginal, type RestoreFromTrashBinRequest as RestoreFromTrashBinRequestOriginal, type RestoreFromTrashBinResponse as RestoreFromTrashBinResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RevertToUnpublishedRequest as RevertToUnpublishedRequestOriginal, type RevertToUnpublishedResponse as RevertToUnpublishedResponseOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, Scaling as ScalingOriginal, type ScalingWithLiterals as ScalingWithLiteralsOriginal, type SeoSchema as SeoSchemaOriginal, type Settings as SettingsOriginal, type ShapeData as ShapeDataOriginal, type ShapeDataStyles as ShapeDataStylesOriginal, type SketchData as SketchDataOriginal, type SmartBlockCellData as SmartBlockCellDataOriginal, type SmartBlockData as SmartBlockDataOriginal, SmartBlockDataType as SmartBlockDataTypeOriginal, type SmartBlockDataTypeWithLiterals as SmartBlockDataTypeWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type Stop as StopOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, type Tag as TagOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, type TocData as TocDataOriginal, TotalDraftPostsGroupingField as TotalDraftPostsGroupingFieldOriginal, type TotalDraftPostsGroupingFieldWithLiterals as TotalDraftPostsGroupingFieldWithLiteralsOriginal, type TotalDraftPosts as TotalDraftPostsOriginal, type TranslateDraftRequest as TranslateDraftRequestOriginal, type TranslateDraftResponse as TranslateDraftResponseOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UnpublishPostRequest as UnpublishPostRequestOriginal, type UnpublishPostResponse as UnpublishPostResponseOriginal, type UpdateDraftPostContentRequest as UpdateDraftPostContentRequestOriginal, type UpdateDraftPostContentResponse as UpdateDraftPostContentResponseOriginal, type UpdateDraftPostLanguageRequest as UpdateDraftPostLanguageRequestOriginal, type UpdateDraftPostLanguageResponse as UpdateDraftPostLanguageResponseOriginal, type UpdateDraftPostRequest as UpdateDraftPostRequestOriginal, type UpdateDraftPostResponse as UpdateDraftPostResponseOriginal, type V1Media as V1MediaOriginal, Variant as VariantOriginal, type VariantWithLiterals as VariantWithLiteralsOriginal, VerticalAlignmentAlignment as VerticalAlignmentAlignmentOriginal, type VerticalAlignmentAlignmentWithLiterals as VerticalAlignmentAlignmentWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type WixMedia as WixMediaOriginal, type __PublicMethodMetaInfo, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, updateDraftPost };