@wix/blog 1.0.323 → 1.0.324

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.
@@ -2041,11 +2041,11 @@ interface CategoryCreatedEnvelope {
2041
2041
  entity: Category$2;
2042
2042
  metadata: EventMetadata$3;
2043
2043
  }
2044
- interface CategoryUpdatedEnvelope {
2045
- entity: Category$2;
2044
+ interface CategoryDeletedEnvelope {
2046
2045
  metadata: EventMetadata$3;
2047
2046
  }
2048
- interface CategoryDeletedEnvelope {
2047
+ interface CategoryUpdatedEnvelope {
2048
+ entity: Category$2;
2049
2049
  metadata: EventMetadata$3;
2050
2050
  }
2051
2051
  interface GetCategoryOptions {
@@ -2199,8 +2199,8 @@ interface QueryCategoriesSignature {
2199
2199
  (options?: QueryCategoriesOptions | undefined): CategoriesQueryBuilder;
2200
2200
  }
2201
2201
  declare const onCategoryCreated$1: EventDefinition<CategoryCreatedEnvelope, "wix.blog.v3.category_created">;
2202
- declare const onCategoryUpdated$1: EventDefinition<CategoryUpdatedEnvelope, "wix.blog.v3.category_updated">;
2203
2202
  declare const onCategoryDeleted$1: EventDefinition<CategoryDeletedEnvelope, "wix.blog.v3.category_deleted">;
2203
+ declare const onCategoryUpdated$1: EventDefinition<CategoryUpdatedEnvelope, "wix.blog.v3.category_updated">;
2204
2204
 
2205
2205
  declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
2206
2206
 
@@ -2215,18 +2215,18 @@ type _publicOnCategoryCreatedType = typeof onCategoryCreated$1;
2215
2215
  */
2216
2216
  declare const onCategoryCreated: ReturnType<typeof createEventModule$3<_publicOnCategoryCreatedType>>;
2217
2217
 
2218
- type _publicOnCategoryUpdatedType = typeof onCategoryUpdated$1;
2219
- /**
2220
- * Triggered when a category is updated.
2221
- */
2222
- declare const onCategoryUpdated: ReturnType<typeof createEventModule$3<_publicOnCategoryUpdatedType>>;
2223
-
2224
2218
  type _publicOnCategoryDeletedType = typeof onCategoryDeleted$1;
2225
2219
  /**
2226
2220
  * Triggered when a category is deleted.
2227
2221
  */
2228
2222
  declare const onCategoryDeleted: ReturnType<typeof createEventModule$3<_publicOnCategoryDeletedType>>;
2229
2223
 
2224
+ type _publicOnCategoryUpdatedType = typeof onCategoryUpdated$1;
2225
+ /**
2226
+ * Triggered when a category is updated.
2227
+ */
2228
+ declare const onCategoryUpdated: ReturnType<typeof createEventModule$3<_publicOnCategoryUpdatedType>>;
2229
+
2230
2230
  type context$3_BulkCategoryResult = BulkCategoryResult;
2231
2231
  type context$3_BulkCreateCategoriesRequest = BulkCreateCategoriesRequest;
2232
2232
  type context$3_BulkCreateCategoriesResponse = BulkCreateCategoriesResponse;
@@ -3911,6 +3911,34 @@ interface DraftPostTranslation$1 {
3911
3911
  /** Post URL. */
3912
3912
  url?: string;
3913
3913
  }
3914
+ interface GetDraftPostTotalsRequest {
3915
+ /**
3916
+ * Group results by fields (defaults to grouping by status).
3917
+ * If, for example, grouping by language is passed, language values in response will be filled.
3918
+ * If, for example, grouping by language is not passed, null values will be filled in language field in response.
3919
+ */
3920
+ groupBy?: TotalDraftPostsGroupingField[];
3921
+ /** Optional language filter by provided language code. Useful in multilingual context. */
3922
+ language?: string | null;
3923
+ }
3924
+ declare enum TotalDraftPostsGroupingField {
3925
+ /** Groups results by status. */
3926
+ STATUS = "STATUS",
3927
+ /** Groups results by language. */
3928
+ LANGUAGE = "LANGUAGE"
3929
+ }
3930
+ interface GetDraftPostTotalsResponse {
3931
+ /** Draft post totals. */
3932
+ totalDraftPosts?: TotalDraftPosts[];
3933
+ }
3934
+ interface TotalDraftPosts {
3935
+ /** Draft post totals in that group. */
3936
+ total?: number;
3937
+ /** Draft post status (only has value when grouping by status, otherwise null). */
3938
+ status?: Status$1;
3939
+ /** Draft post language code (only has value when grouping by language, otherwise null). */
3940
+ language?: string | null;
3941
+ }
3914
3942
  interface InitialDraftPostsCopied {
3915
3943
  /** Number of draft posts copied. */
3916
3944
  count?: number;
@@ -4509,34 +4537,6 @@ declare enum WebhookIdentityType$2 {
4509
4537
  WIX_USER = "WIX_USER",
4510
4538
  APP = "APP"
4511
4539
  }
4512
- interface GetDraftPostTotalsRequest {
4513
- /**
4514
- * Group results by fields (defaults to grouping by status).
4515
- * If, for example, grouping by language is passed, language values in response will be filled.
4516
- * If, for example, grouping by language is not passed, null values will be filled in language field in response.
4517
- */
4518
- groupBy?: TotalDraftPostsGroupingField[];
4519
- /** Optional language filter by provided language code. Useful in multilingual context. */
4520
- language?: string | null;
4521
- }
4522
- declare enum TotalDraftPostsGroupingField {
4523
- /** Groups results by status. */
4524
- STATUS = "STATUS",
4525
- /** Groups results by language. */
4526
- LANGUAGE = "LANGUAGE"
4527
- }
4528
- interface GetDraftPostTotalsResponse {
4529
- /** Draft post totals. */
4530
- totalDraftPosts?: TotalDraftPosts[];
4531
- }
4532
- interface TotalDraftPosts {
4533
- /** Draft post totals in that group. */
4534
- total?: number;
4535
- /** Draft post status (only has value when grouping by status, otherwise null). */
4536
- status?: Status$1;
4537
- /** Draft post language code (only has value when grouping by language, otherwise null). */
4538
- language?: string | null;
4539
- }
4540
4540
  interface TranslateCategoryRequest {
4541
4541
  /** Source category ID */
4542
4542
  categoryId?: string;
@@ -4976,7 +4976,7 @@ interface BulletedListDataNonNullableFields$1 {
4976
4976
  interface BlockquoteDataNonNullableFields$1 {
4977
4977
  indentation: number;
4978
4978
  }
4979
- interface CaptionDataNonNullableFields {
4979
+ interface CaptionDataNonNullableFields$1 {
4980
4980
  textStyle?: TextStyleNonNullableFields$1;
4981
4981
  }
4982
4982
  interface NodeNonNullableFields$1 {
@@ -5004,7 +5004,7 @@ interface NodeNonNullableFields$1 {
5004
5004
  orderedListData?: OrderedListDataNonNullableFields$1;
5005
5005
  bulletedListData?: BulletedListDataNonNullableFields$1;
5006
5006
  blockquoteData?: BlockquoteDataNonNullableFields$1;
5007
- captionData?: CaptionDataNonNullableFields;
5007
+ captionData?: CaptionDataNonNullableFields$1;
5008
5008
  type: NodeType$1;
5009
5009
  _id: string;
5010
5010
  nodes: NodeNonNullableFields$1[];
@@ -5220,11 +5220,11 @@ interface DraftCreatedEnvelope {
5220
5220
  entity: DraftPost$1;
5221
5221
  metadata: EventMetadata$2;
5222
5222
  }
5223
- interface DraftUpdatedEnvelope {
5224
- entity: DraftPost$1;
5223
+ interface DraftDeletedEnvelope {
5225
5224
  metadata: EventMetadata$2;
5226
5225
  }
5227
- interface DraftDeletedEnvelope {
5226
+ interface DraftUpdatedEnvelope {
5227
+ entity: DraftPost$1;
5228
5228
  metadata: EventMetadata$2;
5229
5229
  }
5230
5230
  interface CreateDraftPostOptions {
@@ -5726,8 +5726,8 @@ interface PublishDraftPostSignature {
5726
5726
  (draftPostId: string): Promise<PublishDraftPostResponse & PublishDraftPostResponseNonNullableFields>;
5727
5727
  }
5728
5728
  declare const onDraftCreated$1: EventDefinition<DraftCreatedEnvelope, "wix.blog.v3.draft_created">;
5729
- declare const onDraftUpdated$1: EventDefinition<DraftUpdatedEnvelope, "wix.blog.v3.draft_updated">;
5730
5729
  declare const onDraftDeleted$1: EventDefinition<DraftDeletedEnvelope, "wix.blog.v3.draft_deleted">;
5730
+ declare const onDraftUpdated$1: EventDefinition<DraftUpdatedEnvelope, "wix.blog.v3.draft_updated">;
5731
5731
 
5732
5732
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
5733
5733
 
@@ -5752,18 +5752,18 @@ type _publicOnDraftCreatedType = typeof onDraftCreated$1;
5752
5752
  */
5753
5753
  declare const onDraftCreated: ReturnType<typeof createEventModule$2<_publicOnDraftCreatedType>>;
5754
5754
 
5755
- type _publicOnDraftUpdatedType = typeof onDraftUpdated$1;
5756
- /**
5757
- * Triggered when a draft post is updated.
5758
- */
5759
- declare const onDraftUpdated: ReturnType<typeof createEventModule$2<_publicOnDraftUpdatedType>>;
5760
-
5761
5755
  type _publicOnDraftDeletedType = typeof onDraftDeleted$1;
5762
5756
  /**
5763
5757
  * Triggered when a draft post is deleted.
5764
5758
  */
5765
5759
  declare const onDraftDeleted: ReturnType<typeof createEventModule$2<_publicOnDraftDeletedType>>;
5766
5760
 
5761
+ type _publicOnDraftUpdatedType = typeof onDraftUpdated$1;
5762
+ /**
5763
+ * Triggered when a draft post is updated.
5764
+ */
5765
+ declare const onDraftUpdated: ReturnType<typeof createEventModule$2<_publicOnDraftUpdatedType>>;
5766
+
5767
5767
  type context$2_Action = Action;
5768
5768
  declare const context$2_Action: typeof Action;
5769
5769
  type context$2_ApproveDraftPostRequest = ApproveDraftPostRequest;
@@ -5982,7 +5982,7 @@ interface Post {
5982
5982
  /**
5983
5983
  * Language the post is written in.
5984
5984
  *
5985
- * 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
5985
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
5986
5986
  */
5987
5987
  language?: string | null;
5988
5988
  /** SEO data. */
@@ -5999,6 +5999,10 @@ interface Post {
5999
5999
  contactId?: string | null;
6000
6000
  /**
6001
6001
  * Post rich content
6002
+ *
6003
+ * <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="image.gallery.video.audio.divider.linkButton.html.giphy.codeBlock.file.hashtag.lineSpacing.indent.link.textColor.textHighlight.heading.verticalEmbed.table.collapsibleList.poll" exampleid="72c23a25-524f-4f70-a260-4a2777b6f5d5">
6004
+ * <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a>
6005
+ * </widget>
6002
6006
  * @readonly
6003
6007
  */
6004
6008
  richContent?: RichContent;
@@ -6126,6 +6130,8 @@ interface Keyword$1 {
6126
6130
  term?: string;
6127
6131
  /** Whether the keyword is the main focus keyword. */
6128
6132
  isMain?: boolean;
6133
+ /** The source that added the keyword terms to the SEO settings. */
6134
+ origin?: string | null;
6129
6135
  }
6130
6136
  interface Tag$1 {
6131
6137
  /**
@@ -6209,7 +6215,7 @@ interface Node extends NodeDataOneOf {
6209
6215
  tableData?: TableData;
6210
6216
  /** Data for a table cell node. */
6211
6217
  tableCellData?: TableCellData;
6212
- /** Data for a custon external node. */
6218
+ /** Data for a custom external node. */
6213
6219
  externalData?: Record<string, any> | null;
6214
6220
  /** Data for an audio node. */
6215
6221
  audioData?: AudioData;
@@ -6219,6 +6225,8 @@ interface Node extends NodeDataOneOf {
6219
6225
  bulletedListData?: BulletedListData;
6220
6226
  /** Data for a block quote node. */
6221
6227
  blockquoteData?: BlockquoteData;
6228
+ /** Data for a caption node. */
6229
+ captionData?: CaptionData;
6222
6230
  /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
6223
6231
  type?: NodeType;
6224
6232
  /** Node ID. */
@@ -6270,7 +6278,7 @@ interface NodeDataOneOf {
6270
6278
  tableData?: TableData;
6271
6279
  /** Data for a table cell node. */
6272
6280
  tableCellData?: TableCellData;
6273
- /** Data for a custon external node. */
6281
+ /** Data for a custom external node. */
6274
6282
  externalData?: Record<string, any> | null;
6275
6283
  /** Data for an audio node. */
6276
6284
  audioData?: AudioData;
@@ -6280,6 +6288,8 @@ interface NodeDataOneOf {
6280
6288
  bulletedListData?: BulletedListData;
6281
6289
  /** Data for a block quote node. */
6282
6290
  blockquoteData?: BlockquoteData;
6291
+ /** Data for a caption node. */
6292
+ captionData?: CaptionData;
6283
6293
  }
6284
6294
  declare enum NodeType {
6285
6295
  PARAGRAPH = "PARAGRAPH",
@@ -6311,7 +6321,8 @@ declare enum NodeType {
6311
6321
  TABLE_CELL = "TABLE_CELL",
6312
6322
  TABLE_ROW = "TABLE_ROW",
6313
6323
  EXTERNAL = "EXTERNAL",
6314
- AUDIO = "AUDIO"
6324
+ AUDIO = "AUDIO",
6325
+ CAPTION = "CAPTION"
6315
6326
  }
6316
6327
  interface NodeStyle {
6317
6328
  /** The top padding value in pixels. */
@@ -6356,7 +6367,7 @@ interface PluginContainerData {
6356
6367
  spoiler?: Spoiler;
6357
6368
  /** The height of the node when it's displayed. */
6358
6369
  height?: Height;
6359
- /** Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. */
6370
+ /** Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`. */
6360
6371
  textWrap?: boolean | null;
6361
6372
  }
6362
6373
  declare enum WidthType {
@@ -6373,9 +6384,9 @@ interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
6373
6384
  /**
6374
6385
  * One of the following predefined width options:
6375
6386
  * `CONTENT`: The width of the container matches the content width.
6376
- * `SMALL`: Small width.
6377
- * `ORIGINAL`: The width of the container matches the original asset width.
6378
- * `FULL_WIDTH`: Full width.
6387
+ * `SMALL`: A small width.
6388
+ * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
6389
+ * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
6379
6390
  */
6380
6391
  size?: WidthType;
6381
6392
  /** A custom width value in pixels. */
@@ -6386,9 +6397,9 @@ interface PluginContainerDataWidthDataOneOf {
6386
6397
  /**
6387
6398
  * One of the following predefined width options:
6388
6399
  * `CONTENT`: The width of the container matches the content width.
6389
- * `SMALL`: Small width.
6390
- * `ORIGINAL`: The width of the container matches the original asset width.
6391
- * `FULL_WIDTH`: Full width.
6400
+ * `SMALL`: A small width.
6401
+ * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
6402
+ * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
6392
6403
  */
6393
6404
  size?: WidthType;
6394
6405
  /** A custom width value in pixels. */
@@ -6403,7 +6414,7 @@ declare enum PluginContainerDataAlignment {
6403
6414
  RIGHT = "RIGHT"
6404
6415
  }
6405
6416
  interface Spoiler {
6406
- /** Sets whether the spoiler cover is enabled for this node. */
6417
+ /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
6407
6418
  enabled?: boolean | null;
6408
6419
  /** The description displayed on top of the spoiler cover. */
6409
6420
  description?: string | null;
@@ -6462,11 +6473,11 @@ declare enum Target {
6462
6473
  TOP = "TOP"
6463
6474
  }
6464
6475
  interface Rel {
6465
- /** Indicates to search engine crawlers not to follow the link. */
6476
+ /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
6466
6477
  nofollow?: boolean | null;
6467
- /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. */
6478
+ /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
6468
6479
  sponsored?: boolean | null;
6469
- /** Indicates that this link is user-generated content and isn't necessarily trusted or endorsed by the page’s author. For example, a link in a fourm post. */
6480
+ /** Indicates that this link is user-generated content and isn't necessarily trusted or endorsed by the page’s author. For example, a link in a fourm post. Defaults to `false`. */
6470
6481
  ugc?: boolean | null;
6471
6482
  /** Indicates that this link protect referral information from being passed to the target website. */
6472
6483
  noreferrer?: boolean | null;
@@ -6478,7 +6489,7 @@ interface CodeBlockData {
6478
6489
  interface TextStyle {
6479
6490
  /** Text alignment. Defaults to `AUTO`. */
6480
6491
  textAlignment?: TextAlignment;
6481
- /** A CSS `line-height` value for the text as a unitless ratio. */
6492
+ /** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */
6482
6493
  lineHeight?: string | null;
6483
6494
  }
6484
6495
  declare enum TextAlignment {
@@ -6490,7 +6501,7 @@ declare enum TextAlignment {
6490
6501
  RIGHT = "RIGHT",
6491
6502
  /** Center align */
6492
6503
  CENTER = "CENTER",
6493
- /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line. */
6504
+ /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */
6494
6505
  JUSTIFY = "JUSTIFY"
6495
6506
  }
6496
6507
  interface DividerData {
@@ -6538,7 +6549,10 @@ interface FileData {
6538
6549
  name?: string | null;
6539
6550
  /** File type. */
6540
6551
  type?: string | null;
6541
- /** File size in KB. */
6552
+ /**
6553
+ * Use `sizeInKb` instead.
6554
+ * @deprecated
6555
+ */
6542
6556
  size?: number | null;
6543
6557
  /** Settings for PDF files. */
6544
6558
  pdfSettings?: PDFSettings;
@@ -6546,6 +6560,8 @@ interface FileData {
6546
6560
  mimeType?: string | null;
6547
6561
  /** File path. */
6548
6562
  path?: string | null;
6563
+ /** File size in KB. */
6564
+ sizeInKb?: string | null;
6549
6565
  }
6550
6566
  declare enum ViewMode {
6551
6567
  /** No PDF view */
@@ -6565,7 +6581,7 @@ interface FileSource extends FileSourceDataOneOf {
6565
6581
  custom?: string | null;
6566
6582
  /** An ID that's resolved to a URL by a resolver function. */
6567
6583
  _id?: string | null;
6568
- /** Indicates whether the file's source is private. */
6584
+ /** Indicates whether the file's source is private. Defaults to `false`. */
6569
6585
  private?: boolean | null;
6570
6586
  }
6571
6587
  /** @oneof */
@@ -6588,9 +6604,9 @@ interface PDFSettings {
6588
6604
  * `MINI` : A mini view of the PDF is displayed.
6589
6605
  */
6590
6606
  viewMode?: ViewMode;
6591
- /** Sets whether the PDF download button is disabled. */
6607
+ /** Sets whether the PDF download button is disabled. Defaults to `false`. */
6592
6608
  disableDownload?: boolean | null;
6593
- /** Sets whether the PDF print button is disabled. */
6609
+ /** Sets whether the PDF print button is disabled. Defaults to `false`. */
6594
6610
  disablePrint?: boolean | null;
6595
6611
  }
6596
6612
  interface GalleryData {
@@ -6600,9 +6616,9 @@ interface GalleryData {
6600
6616
  items?: Item[];
6601
6617
  /** Options for defining the gallery's appearance. */
6602
6618
  options?: GalleryOptions;
6603
- /** Sets whether the gallery's expand button is disabled. */
6619
+ /** Sets whether the gallery's expand button is disabled. Defaults to `false`. */
6604
6620
  disableExpand?: boolean | null;
6605
- /** Sets whether the gallery's download button is disabled. */
6621
+ /** Sets whether the gallery's download button is disabled. Defaults to `false`. */
6606
6622
  disableDownload?: boolean | null;
6607
6623
  }
6608
6624
  interface V1Media {
@@ -6701,7 +6717,7 @@ declare enum ThumbnailsAlignment {
6701
6717
  interface Layout {
6702
6718
  /** Gallery layout type. */
6703
6719
  type?: LayoutType;
6704
- /** Sets whether horizontal scroll is enabled. */
6720
+ /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
6705
6721
  horizontalScroll?: boolean | null;
6706
6722
  /** Gallery orientation. */
6707
6723
  orientation?: Orientation;
@@ -6751,7 +6767,7 @@ interface HeadingData {
6751
6767
  level?: number;
6752
6768
  /** Styling for the heading text. */
6753
6769
  textStyle?: TextStyle;
6754
- /** Indentation level from 1-6. */
6770
+ /** Indentation level from 1-4. */
6755
6771
  indentation?: number | null;
6756
6772
  }
6757
6773
  interface HTMLData extends HTMLDataDataOneOf {
@@ -6792,13 +6808,16 @@ interface ImageData {
6792
6808
  image?: V1Media;
6793
6809
  /** Link details for images that are links. */
6794
6810
  link?: Link;
6795
- /** Sets whether the image expands to full screen when clicked. */
6811
+ /** Sets whether the image expands to full screen when clicked. Defaults to `false`. */
6796
6812
  disableExpand?: boolean | null;
6797
6813
  /** Image's alternative text. */
6798
6814
  altText?: string | null;
6799
- /** Image caption. */
6815
+ /**
6816
+ * Deprecated: use Caption node instead.
6817
+ * @deprecated
6818
+ */
6800
6819
  caption?: string | null;
6801
- /** Sets whether the image's download button is disabled. */
6820
+ /** Sets whether the image's download button is disabled. Defaults to `false`. */
6802
6821
  disableDownload?: boolean | null;
6803
6822
  }
6804
6823
  interface LinkPreviewData {
@@ -6858,8 +6877,10 @@ declare enum MapType {
6858
6877
  interface ParagraphData {
6859
6878
  /** Styling for the paragraph text. */
6860
6879
  textStyle?: TextStyle;
6861
- /** Indentation level from 1-6. */
6880
+ /** Indentation level from 1-4. */
6862
6881
  indentation?: number | null;
6882
+ /** Paragraph level */
6883
+ level?: number | null;
6863
6884
  }
6864
6885
  interface PollData {
6865
6886
  /** Styling for the poll's container. */
@@ -6890,7 +6911,7 @@ interface Permissions {
6890
6911
  view?: ViewRole;
6891
6912
  /** Sets who can vote. */
6892
6913
  vote?: VoteRole;
6893
- /** Sets whether one voter can vote multiple times. */
6914
+ /** Sets whether one voter can vote multiple times. Defaults to `false`. */
6894
6915
  allowMultipleVotes?: boolean | null;
6895
6916
  }
6896
6917
  interface Option {
@@ -6904,9 +6925,9 @@ interface Option {
6904
6925
  interface PollSettings {
6905
6926
  /** Permissions settings for voting. */
6906
6927
  permissions?: Permissions;
6907
- /** Sets whether voters are displayed in the vote results. */
6928
+ /** Sets whether voters are displayed in the vote results. Defaults to `true`. */
6908
6929
  showVoters?: boolean | null;
6909
- /** Sets whether the vote count is displayed. */
6930
+ /** Sets whether the vote count is displayed. Defaults to `true`. */
6910
6931
  showVotesCount?: boolean | null;
6911
6932
  }
6912
6933
  declare enum PollLayoutType {
@@ -6926,11 +6947,11 @@ interface PollLayout {
6926
6947
  type?: PollLayoutType;
6927
6948
  /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
6928
6949
  direction?: PollLayoutDirection;
6929
- /** Sets whether to display the main poll image. */
6950
+ /** Sets whether to display the main poll image. Defaults to `false`. */
6930
6951
  enableImage?: boolean | null;
6931
6952
  }
6932
6953
  interface OptionLayout {
6933
- /** Sets whether to display option images. */
6954
+ /** Sets whether to display option images. Defaults to `false`. */
6934
6955
  enableImage?: boolean | null;
6935
6956
  }
6936
6957
  declare enum BackgroundType {
@@ -7024,10 +7045,12 @@ interface Decoration extends DecorationDataOneOf {
7024
7045
  fontSizeData?: FontSizeData;
7025
7046
  /** Font weight for a bold decoration. */
7026
7047
  fontWeightValue?: number | null;
7027
- /** Data for an italic decoration. */
7048
+ /** Data for an italic decoration. Defaults to `true`. */
7028
7049
  italicData?: boolean | null;
7029
- /** Data for an underline decoration. */
7050
+ /** Data for an underline decoration. Defaults to `true`. */
7030
7051
  underlineData?: boolean | null;
7052
+ /** Data for a spoiler decoration. */
7053
+ spoilerData?: SpoilerData;
7031
7054
  /** The type of decoration to apply. */
7032
7055
  type?: DecorationType;
7033
7056
  }
@@ -7045,10 +7068,12 @@ interface DecorationDataOneOf {
7045
7068
  fontSizeData?: FontSizeData;
7046
7069
  /** Font weight for a bold decoration. */
7047
7070
  fontWeightValue?: number | null;
7048
- /** Data for an italic decoration. */
7071
+ /** Data for an italic decoration. Defaults to `true`. */
7049
7072
  italicData?: boolean | null;
7050
- /** Data for an underline decoration. */
7073
+ /** Data for an underline decoration. Defaults to `true`. */
7051
7074
  underlineData?: boolean | null;
7075
+ /** Data for a spoiler decoration. */
7076
+ spoilerData?: SpoilerData;
7052
7077
  }
7053
7078
  declare enum DecorationType {
7054
7079
  BOLD = "BOLD",
@@ -7148,7 +7173,7 @@ interface VideoData {
7148
7173
  video?: V1Media;
7149
7174
  /** Video thumbnail details. */
7150
7175
  thumbnail?: V1Media;
7151
- /** Sets whether the video's download button is disabled. */
7176
+ /** Sets whether the video's download button is disabled. Defaults to `false`. */
7152
7177
  disableDownload?: boolean | null;
7153
7178
  /** Video title. */
7154
7179
  title?: string | null;
@@ -7206,7 +7231,7 @@ interface Oembed {
7206
7231
  interface CollapsibleListData {
7207
7232
  /** Styling for the collapsible list's container. */
7208
7233
  containerData?: PluginContainerData;
7209
- /** If `true`, only one item can be expanded at a time. */
7234
+ /** If `true`, only one item can be expanded at a time. Defaults to `false`. */
7210
7235
  expandOnlyOne?: boolean | null;
7211
7236
  /** Sets which items are expanded when the page loads. */
7212
7237
  initialExpandedItems?: InitialExpandedItems;
@@ -7239,9 +7264,9 @@ interface TableData {
7239
7264
  * @deprecated
7240
7265
  */
7241
7266
  header?: boolean | null;
7242
- /** Sets whether the table's first row is a header. */
7267
+ /** Sets whether the table's first row is a header. Defaults to `false`. */
7243
7268
  rowHeader?: boolean | null;
7244
- /** Sets whether the table's first column is a header. */
7269
+ /** Sets whether the table's first column is a header. Defaults to `false`. */
7245
7270
  columnHeader?: boolean | null;
7246
7271
  }
7247
7272
  interface Dimensions {
@@ -7306,7 +7331,7 @@ interface AudioData {
7306
7331
  containerData?: PluginContainerData;
7307
7332
  /** Audio file details. */
7308
7333
  audio?: V1Media;
7309
- /** Sets whether the audio node's download button is disabled. */
7334
+ /** Sets whether the audio node's download button is disabled. Defaults to `false`. */
7310
7335
  disableDownload?: boolean | null;
7311
7336
  /** Cover image. */
7312
7337
  coverImage?: V1Media;
@@ -7318,15 +7343,21 @@ interface AudioData {
7318
7343
  html?: string | null;
7319
7344
  }
7320
7345
  interface OrderedListData {
7321
- /** Indentation level. */
7346
+ /** Indentation level from 0-4. */
7322
7347
  indentation?: number;
7348
+ /** Offset level from 0-4. */
7349
+ offset?: number | null;
7350
+ /** List start number. */
7351
+ start?: number | null;
7323
7352
  }
7324
7353
  interface BulletedListData {
7325
- /** Indentation level. */
7354
+ /** Indentation level from 0-4. */
7326
7355
  indentation?: number;
7356
+ /** Offset level from 0-4. */
7357
+ offset?: number | null;
7327
7358
  }
7328
7359
  interface BlockquoteData {
7329
- /** Indentation level. */
7360
+ /** Indentation level from 1-4. */
7330
7361
  indentation?: number;
7331
7362
  }
7332
7363
  interface CaptionData {
@@ -7338,9 +7369,13 @@ interface Metadata {
7338
7369
  /**
7339
7370
  * When the object was created.
7340
7371
  * @readonly
7372
+ * @deprecated
7341
7373
  */
7342
7374
  createdTimestamp?: Date | null;
7343
- /** When the object was most recently updated. */
7375
+ /**
7376
+ * When the object was most recently updated.
7377
+ * @deprecated
7378
+ */
7344
7379
  updatedTimestamp?: Date | null;
7345
7380
  /** Object ID. */
7346
7381
  _id?: string | null;
@@ -7461,228 +7496,139 @@ interface PostTranslation {
7461
7496
  /** Post URL. */
7462
7497
  url?: string;
7463
7498
  }
7464
- interface OldBlogMigratedEvent {
7465
- /** Instance id of new version of blog */
7466
- newBlogInstanceId?: string;
7467
- /** Instance id of old version of blog */
7468
- oldBlogInstanceId?: string;
7469
- }
7470
- interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
7471
- createdEvent?: EntityCreatedEvent$1;
7472
- updatedEvent?: EntityUpdatedEvent$1;
7473
- deletedEvent?: EntityDeletedEvent$1;
7474
- actionEvent?: ActionEvent$1;
7499
+ /** Get Blog Publications Count Stats request */
7500
+ interface QueryPublicationsCountStatsRequest {
7501
+ /** Start of time range to return, in ISO 8601 date and time format. */
7502
+ rangeStart?: Date | null;
7503
+ /** Non-inclusive end of time range to return, in ISO 8601 date and time format. */
7504
+ rangeEnd?: Date | null;
7505
+ /** Order of the returned results. */
7506
+ order?: QueryPublicationsCountStatsRequestOrder;
7507
+ /** Number of months to include in the response. */
7508
+ months?: number;
7475
7509
  /**
7476
- * Unique event ID.
7477
- * Allows clients to ignore duplicate webhooks.
7510
+ * Language filter
7511
+ *
7512
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
7478
7513
  */
7479
- _id?: string;
7514
+ language?: string | null;
7515
+ /** Timezone of the client. */
7516
+ timeZone?: string | null;
7517
+ }
7518
+ declare enum QueryPublicationsCountStatsRequestOrder {
7519
+ UNKNOWN = "UNKNOWN",
7520
+ OLDEST = "OLDEST",
7521
+ NEWEST = "NEWEST"
7522
+ }
7523
+ /** Get Blog Publications Count Stats response */
7524
+ interface QueryPublicationsCountStatsResponse {
7525
+ /** Chronologically ordered list of publications. */
7526
+ stats?: PeriodPublicationsCount[];
7527
+ }
7528
+ /** Publications count for a specific time period */
7529
+ interface PeriodPublicationsCount {
7530
+ /** Start of time range in ISO 8601 date and time format. */
7531
+ periodStart?: Date | null;
7532
+ /** Number of posts published during this month. */
7533
+ publicationsCount?: number;
7534
+ }
7535
+ /** Get Blog Post Count Stats request */
7536
+ interface QueryPostCountStatsRequest {
7537
+ /** Start of time range to return, in ISO 8601 date and time format. */
7538
+ rangeStart?: Date | null;
7480
7539
  /**
7481
- * Assumes actions are also always typed to an entity_type
7482
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
7540
+ * __Deprecated.__ Use `months` instead.
7541
+ * This property will be removed on June 30, 2023.
7542
+ *
7543
+ * Non-inclusive end of time range to return, in ISO 8601 date and time format.
7544
+ * @deprecated __Deprecated.__ Use `months` instead.
7545
+ * This property will be removed on June 30, 2023.
7546
+ *
7547
+ * Non-inclusive end of time range to return, in ISO 8601 date and time format.
7548
+ * @replacedBy months
7549
+ * @targetRemovalDate 2024-06-30
7483
7550
  */
7484
- entityFqdn?: string;
7551
+ rangeEnd?: Date | null;
7485
7552
  /**
7486
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
7487
- * This is although the created/updated/deleted notion is duplication of the oneof types
7488
- * Example: created/updated/deleted/started/completed/email_opened
7553
+ * Order of returned results.
7554
+ *
7555
+ * - `OLDEST`: posts by date in ascending order.
7556
+ * - `NEWEST`: posts by date in descending order.
7557
+ *
7558
+ * Default: `OLDEST`
7489
7559
  */
7490
- slug?: string;
7491
- /** ID of the entity associated with the event. */
7492
- entityId?: string;
7493
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
7494
- eventTime?: Date | null;
7495
- /**
7496
- * Whether the event was triggered as a result of a privacy regulation application
7497
- * (for example, GDPR).
7498
- */
7499
- triggeredByAnonymizeRequest?: boolean | null;
7500
- /** If present, indicates the action that triggered the event. */
7501
- originatedFrom?: string | null;
7560
+ order?: Order;
7561
+ /** Number of months to include in response. */
7562
+ months?: number;
7502
7563
  /**
7503
- * A sequence number defining the order of updates to the underlying entity.
7504
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
7505
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
7506
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
7507
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
7508
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
7564
+ * Language filter.
7565
+ *
7566
+ *
7567
+ * 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
7509
7568
  */
7510
- entityEventSequence?: string | null;
7511
- }
7512
- /** @oneof */
7513
- interface DomainEventBodyOneOf$1 {
7514
- createdEvent?: EntityCreatedEvent$1;
7515
- updatedEvent?: EntityUpdatedEvent$1;
7516
- deletedEvent?: EntityDeletedEvent$1;
7517
- actionEvent?: ActionEvent$1;
7518
- }
7519
- interface EntityCreatedEvent$1 {
7520
- entity?: string;
7521
- }
7522
- interface RestoreInfo$1 {
7523
- deletedDate?: Date | null;
7524
- }
7525
- interface EntityUpdatedEvent$1 {
7569
+ language?: string | null;
7526
7570
  /**
7527
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
7528
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
7529
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
7571
+ * Time zone to use when calculating the start of the month.
7572
+ *
7573
+ * [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
7530
7574
  */
7531
- currentEntity?: string;
7532
- }
7533
- interface EntityDeletedEvent$1 {
7534
- /** Entity that was deleted */
7535
- deletedEntity?: string | null;
7536
- }
7537
- interface ActionEvent$1 {
7538
- body?: string;
7539
- }
7540
- interface MessageEnvelope$1 {
7541
- /** App instance ID. */
7542
- instanceId?: string | null;
7543
- /** Event type. */
7544
- eventType?: string;
7545
- /** The identification type and identity data. */
7546
- identity?: IdentificationData$1;
7547
- /** Stringify payload. */
7548
- data?: string;
7549
- }
7550
- interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
7551
- /** ID of a site visitor that has not logged in to the site. */
7552
- anonymousVisitorId?: string;
7553
- /** ID of a site visitor that has logged in to the site. */
7554
- memberId?: string;
7555
- /** ID of a Wix user (site owner, contributor, etc.). */
7556
- wixUserId?: string;
7557
- /** ID of an app. */
7558
- appId?: string;
7559
- /** @readonly */
7560
- identityType?: WebhookIdentityType$1;
7561
- }
7562
- /** @oneof */
7563
- interface IdentificationDataIdOneOf$1 {
7564
- /** ID of a site visitor that has not logged in to the site. */
7565
- anonymousVisitorId?: string;
7566
- /** ID of a site visitor that has logged in to the site. */
7567
- memberId?: string;
7568
- /** ID of a Wix user (site owner, contributor, etc.). */
7569
- wixUserId?: string;
7570
- /** ID of an app. */
7571
- appId?: string;
7575
+ timeZone?: string | null;
7572
7576
  }
7573
- declare enum WebhookIdentityType$1 {
7577
+ declare enum Order {
7574
7578
  UNKNOWN = "UNKNOWN",
7575
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
7576
- MEMBER = "MEMBER",
7577
- WIX_USER = "WIX_USER",
7578
- APP = "APP"
7579
+ OLDEST = "OLDEST",
7580
+ NEWEST = "NEWEST"
7579
7581
  }
7580
- interface ConvertDraftJsToRichContentRequest {
7581
- /** DraftJs content to convert to Rich content. */
7582
- content?: Record<string, any> | null;
7582
+ /** Get Blog Post Count Stats response */
7583
+ interface QueryPostCountStatsResponse {
7584
+ /** List of posts in specified order. */
7585
+ stats?: PeriodPostCount[];
7583
7586
  }
7584
- interface ConvertDraftJsToRichContentResponse {
7585
- /** Rich content converted from DraftJs content. */
7586
- richContent?: string;
7587
+ /** Post count for a specific time period */
7588
+ interface PeriodPostCount {
7589
+ /** Start of time range in ISO 8601 date and time format. */
7590
+ periodStart?: Date | null;
7591
+ /** Number of posts published during this month. */
7592
+ postCount?: number;
7587
7593
  }
7588
- interface ConvertRichContentToDraftJsRequest {
7589
- /** Rich content to convert to DraftJs content. */
7590
- richContent?: string;
7594
+ interface GetTotalPublicationsRequest {
7595
+ /** Language filter */
7596
+ language?: string | null;
7591
7597
  }
7592
- interface ConvertRichContentToDraftJsResponse {
7593
- /** DraftJs content converted from Rich content. */
7594
- content?: Record<string, any> | null;
7598
+ interface GetTotalPublicationsResponse {
7599
+ /** Total amount of publications. */
7600
+ total?: number;
7595
7601
  }
7596
- interface ListDemoPostsRequest {
7597
- /**
7598
- * Whether to return only featured posts.
7599
- *
7600
- * Default: `false`
7601
- */
7602
- featured?: boolean;
7602
+ interface GetTotalPostsRequest {
7603
7603
  /**
7604
- * Hashtag filter.
7604
+ * Language filter.
7605
7605
  *
7606
- * Pass an array of hashtags to return only posts containing any of the provided hashtags.
7607
- * If omitted, all posts with or without hashtags are returned.
7608
- */
7609
- hashtags?: string[];
7610
- /**
7611
- * Category filter.
7612
7606
  *
7613
- * Pass an array of category IDs to return only posts with any of the provided categories.
7614
- * If omitted, all posts with or without associated categories are returned.
7607
+ * 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
7615
7608
  */
7609
+ language?: string | null;
7610
+ }
7611
+ interface GetTotalPostsResponse {
7612
+ /** Total amount of published posts. */
7613
+ total?: number;
7614
+ }
7615
+ interface ListTemplatesRequest {
7616
+ /** Filter post templates by given template category ids */
7616
7617
  categoryIds?: string[];
7617
- /**
7618
- * Tag filter.
7619
- *
7620
- * Pass an array of tag IDs to return only posts with any of the provided tags.
7621
- * If omitted, all posts with or without tags are returned.
7622
- */
7623
- tagIds?: string[];
7624
- /**
7625
- * Sorting options.
7626
- *
7627
- * - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
7628
- * - `VIEW_COUNT`: Ordered by total number of views in descending order.
7629
- * - `LIKE_COUNT`: Ordered by total number of likes in descending order.
7630
- * - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
7631
- * - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
7632
- * - `TITLE_ASC`: Ordered by `title` in ascening order.
7633
- * - `TITLE_DESC`: Ordered by `title` in descending order.
7634
- * - `RATING`: reserved for internal use.
7635
- *
7636
- * Default: `FEED`
7637
- */
7638
- sort?: GetPostsSort;
7618
+ /** Filter post templates by provided language */
7619
+ language?: string | null;
7620
+ /** Returns post template categories when set to TRUE */
7621
+ listTemplateCategories?: boolean;
7622
+ /** Sort order by ascending/descending publish date. Default is ascending publish date sort */
7623
+ sort?: GetPostTemplatesSort;
7639
7624
  /** Pagination options. */
7640
7625
  paging?: BlogPaging;
7641
- /**
7642
- * __Deprecated.__ Use `fieldsets` instead.
7643
- * This parameter will be removed on June 30, 2023.
7644
- *
7645
- * List of post fields to be included in the response.
7646
- * @deprecated __Deprecated.__ Use `fieldsets` instead.
7647
- * This parameter will be removed on June 30, 2023.
7648
- *
7649
- * List of post fields to be included in the response.
7650
- * @replacedBy fieldsets
7651
- * @targetRemovalDate 2024-06-30
7652
- */
7653
- fieldsToInclude?: PostFieldField[];
7654
- /**
7655
- * Language filter.
7656
- *
7657
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
7658
- * Pass a language to only receive posts that are in that language.
7659
- * If omitted, posts in all languages are returned.
7660
- */
7661
- language?: string | null;
7662
- /** Post owner's member ID. */
7663
- memberId?: string | null;
7664
- /**
7665
- * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
7666
- * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
7667
- * only the post’s base fields are returned.
7668
- */
7669
- fieldsets?: PostFieldField[];
7670
7626
  }
7671
- declare enum GetPostsSort {
7672
- /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
7673
- FEED = "FEED",
7674
- /** Ordered by `firstPublishedDate` in ascending order. */
7627
+ declare enum GetPostTemplatesSort {
7628
+ /** Sort by ascending publishing date. */
7675
7629
  PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
7676
- /** Ordered by `firstPublishedDate` in descending order. */
7677
- PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
7678
- /** Ordered by total number of views in descending order. */
7679
- VIEW_COUNT = "VIEW_COUNT",
7680
- /** Ordered by total number of likes in descending order. */
7681
- LIKE_COUNT = "LIKE_COUNT",
7682
- /** Ordered by `title` in ascening order. */
7683
- TITLE_ASC = "TITLE_ASC",
7684
- /** Ordered by `title` in descending order. */
7685
- TITLE_DESC = "TITLE_DESC"
7630
+ /** Sort by descending publishing date. */
7631
+ PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
7686
7632
  }
7687
7633
  interface BlogPaging {
7688
7634
  /**
@@ -7702,26 +7648,13 @@ interface BlogPaging {
7702
7648
  /** Pointer to the next or previous page in the list of results. */
7703
7649
  cursor?: string | null;
7704
7650
  }
7705
- declare enum PostFieldField {
7706
- UNKNOWN = "UNKNOWN",
7707
- /** Includes Post url when present. */
7708
- URL = "URL",
7709
- /** Includes Post content text string when present. */
7710
- CONTENT_TEXT = "CONTENT_TEXT",
7711
- /** Includes Post metrics when present. */
7712
- METRICS = "METRICS",
7713
- /** Includes SEO data. */
7714
- SEO = "SEO",
7715
- /** Includes post owners Contact Id. */
7716
- CONTACT_ID = "CONTACT_ID",
7717
- /** Includes post rich content. */
7718
- RICH_CONTENT = "RICH_CONTENT"
7719
- }
7720
- interface ListDemoPostsResponse {
7721
- /** List of posts. */
7722
- posts?: Post[];
7723
- /** Details on the paged set of results returned. */
7724
- metaData?: MetaData$1;
7651
+ interface ListTemplatesResponse {
7652
+ /** Available post templates */
7653
+ postTemplates?: Post[];
7654
+ /** Details on the paged set of posts templates returned. */
7655
+ postTemplatesMetaData?: MetaData$1;
7656
+ /** Post template categories. This value is returned empty unless asked explicitly */
7657
+ templateCategories?: Category[];
7725
7658
  }
7726
7659
  interface MetaData$1 {
7727
7660
  /** Number of items returned in this response. */
@@ -7737,32 +7670,6 @@ interface MetaData$1 {
7737
7670
  /** Pointer to the next or previous page in the list of results. */
7738
7671
  cursor?: string | null;
7739
7672
  }
7740
- interface ListTemplatesRequest {
7741
- /** Filter post templates by given template category ids */
7742
- categoryIds?: string[];
7743
- /** Filter post templates by provided language */
7744
- language?: string | null;
7745
- /** Returns post template categories when set to TRUE */
7746
- listTemplateCategories?: boolean;
7747
- /** Sort order by ascending/descending publish date. Default is ascending publish date sort */
7748
- sort?: GetPostTemplatesSort;
7749
- /** Pagination options. */
7750
- paging?: BlogPaging;
7751
- }
7752
- declare enum GetPostTemplatesSort {
7753
- /** Sort by ascending publishing date. */
7754
- PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
7755
- /** Sort by descending publishing date. */
7756
- PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
7757
- }
7758
- interface ListTemplatesResponse {
7759
- /** Available post templates */
7760
- postTemplates?: Post[];
7761
- /** Details on the paged set of posts templates returned. */
7762
- postTemplatesMetaData?: MetaData$1;
7763
- /** Post template categories. This value is returned empty unless asked explicitly */
7764
- templateCategories?: Category[];
7765
- }
7766
7673
  interface Category {
7767
7674
  /** Category ID. */
7768
7675
  _id?: string;
@@ -8141,6 +8048,7 @@ interface PostCountersUpdatedInitiatorOneOf {
8141
8048
  anonymousVisitorId?: string | null;
8142
8049
  }
8143
8050
  declare enum Field$1 {
8051
+ /** Undefined field. */
8144
8052
  UNKNOWN = "UNKNOWN",
8145
8053
  /** Total comments field. */
8146
8054
  TOTAL_COMMENTS = "TOTAL_COMMENTS",
@@ -8148,7 +8056,7 @@ declare enum Field$1 {
8148
8056
  LIKE_COUNT = "LIKE_COUNT",
8149
8057
  /** View count field. */
8150
8058
  VIEW_COUNT = "VIEW_COUNT",
8151
- /** Rating count field */
8059
+ /** Rating count field. */
8152
8060
  RATING_COUNT = "RATING_COUNT"
8153
8061
  }
8154
8062
  interface PostOwnerChanged {
@@ -8173,6 +8081,21 @@ interface GetPostRequest {
8173
8081
  /** List of post fields to be included in the response. By default, any fields not passed are not returned. */
8174
8082
  fieldsets?: PostFieldField[];
8175
8083
  }
8084
+ declare enum PostFieldField {
8085
+ UNKNOWN = "UNKNOWN",
8086
+ /** Includes Post url when present. */
8087
+ URL = "URL",
8088
+ /** Includes Post content text string when present. */
8089
+ CONTENT_TEXT = "CONTENT_TEXT",
8090
+ /** Includes Post metrics when present. */
8091
+ METRICS = "METRICS",
8092
+ /** Includes SEO data. */
8093
+ SEO = "SEO",
8094
+ /** Includes post owners Contact Id. */
8095
+ CONTACT_ID = "CONTACT_ID",
8096
+ /** Includes post rich content. */
8097
+ RICH_CONTENT = "RICH_CONTENT"
8098
+ }
8176
8099
  interface GetPostResponse {
8177
8100
  /** Post info. */
8178
8101
  post?: Post;
@@ -8251,6 +8174,22 @@ interface ListPostsRequest {
8251
8174
  /** List of post fields to be included in the response. By default, any fields not passed are not returned. */
8252
8175
  fieldsets?: PostFieldField[];
8253
8176
  }
8177
+ declare enum GetPostsSort {
8178
+ /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
8179
+ FEED = "FEED",
8180
+ /** Ordered by `firstPublishedDate` in ascending order. */
8181
+ PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
8182
+ /** Ordered by `firstPublishedDate` in descending order. */
8183
+ PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
8184
+ /** Ordered by total number of views in descending order. */
8185
+ VIEW_COUNT = "VIEW_COUNT",
8186
+ /** Ordered by total number of likes in descending order. */
8187
+ LIKE_COUNT = "LIKE_COUNT",
8188
+ /** Ordered by `title` in ascening order. */
8189
+ TITLE_ASC = "TITLE_ASC",
8190
+ /** Ordered by `title` in descending order. */
8191
+ TITLE_DESC = "TITLE_DESC"
8192
+ }
8254
8193
  interface ListPostsResponse {
8255
8194
  /** List of posts. */
8256
8195
  posts?: Post[];
@@ -8531,133 +8470,227 @@ interface Reactions {
8531
8470
  */
8532
8471
  liked?: boolean;
8533
8472
  }
8534
- /** Get Blog Publications Count Stats request */
8535
- interface QueryPublicationsCountStatsRequest {
8536
- /** Start of time range to return, in ISO 8601 date and time format. */
8537
- rangeStart?: Date | null;
8538
- /** Non-inclusive end of time range to return, in ISO 8601 date and time format. */
8539
- rangeEnd?: Date | null;
8540
- /** Order of the returned results. */
8541
- order?: QueryPublicationsCountStatsRequestOrder;
8542
- /** Number of months to include in the response. */
8543
- months?: number;
8473
+ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
8474
+ createdEvent?: EntityCreatedEvent$1;
8475
+ updatedEvent?: EntityUpdatedEvent$1;
8476
+ deletedEvent?: EntityDeletedEvent$1;
8477
+ actionEvent?: ActionEvent$1;
8544
8478
  /**
8545
- * Language filter
8546
- *
8547
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
8479
+ * Unique event ID.
8480
+ * Allows clients to ignore duplicate webhooks.
8548
8481
  */
8549
- language?: string | null;
8550
- /** Timezone of the client. */
8551
- timeZone?: string | null;
8482
+ _id?: string;
8483
+ /**
8484
+ * Assumes actions are also always typed to an entity_type
8485
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
8486
+ */
8487
+ entityFqdn?: string;
8488
+ /**
8489
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
8490
+ * This is although the created/updated/deleted notion is duplication of the oneof types
8491
+ * Example: created/updated/deleted/started/completed/email_opened
8492
+ */
8493
+ slug?: string;
8494
+ /** ID of the entity associated with the event. */
8495
+ entityId?: string;
8496
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
8497
+ eventTime?: Date | null;
8498
+ /**
8499
+ * Whether the event was triggered as a result of a privacy regulation application
8500
+ * (for example, GDPR).
8501
+ */
8502
+ triggeredByAnonymizeRequest?: boolean | null;
8503
+ /** If present, indicates the action that triggered the event. */
8504
+ originatedFrom?: string | null;
8505
+ /**
8506
+ * A sequence number defining the order of updates to the underlying entity.
8507
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
8508
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
8509
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
8510
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
8511
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
8512
+ */
8513
+ entityEventSequence?: string | null;
8552
8514
  }
8553
- declare enum QueryPublicationsCountStatsRequestOrder {
8554
- UNKNOWN = "UNKNOWN",
8555
- OLDEST = "OLDEST",
8556
- NEWEST = "NEWEST"
8515
+ /** @oneof */
8516
+ interface DomainEventBodyOneOf$1 {
8517
+ createdEvent?: EntityCreatedEvent$1;
8518
+ updatedEvent?: EntityUpdatedEvent$1;
8519
+ deletedEvent?: EntityDeletedEvent$1;
8520
+ actionEvent?: ActionEvent$1;
8557
8521
  }
8558
- /** Get Blog Publications Count Stats response */
8559
- interface QueryPublicationsCountStatsResponse {
8560
- /** Chronologically ordered list of publications. */
8561
- stats?: PeriodPublicationsCount[];
8522
+ interface EntityCreatedEvent$1 {
8523
+ entity?: string;
8562
8524
  }
8563
- /** Publications count for a specific time period */
8564
- interface PeriodPublicationsCount {
8565
- /** Start of time range in ISO 8601 date and time format. */
8566
- periodStart?: Date | null;
8567
- /** Number of posts published during this month. */
8568
- publicationsCount?: number;
8525
+ interface RestoreInfo$1 {
8526
+ deletedDate?: Date | null;
8569
8527
  }
8570
- /** Get Blog Post Count Stats request */
8571
- interface QueryPostCountStatsRequest {
8572
- /** Start of time range to return, in ISO 8601 date and time format. */
8573
- rangeStart?: Date | null;
8528
+ interface EntityUpdatedEvent$1 {
8574
8529
  /**
8575
- * __Deprecated.__ Use `months` instead.
8576
- * This property will be removed on June 30, 2023.
8530
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
8531
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
8532
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
8533
+ */
8534
+ currentEntity?: string;
8535
+ }
8536
+ interface EntityDeletedEvent$1 {
8537
+ /** Entity that was deleted */
8538
+ deletedEntity?: string | null;
8539
+ }
8540
+ interface ActionEvent$1 {
8541
+ body?: string;
8542
+ }
8543
+ interface MessageEnvelope$1 {
8544
+ /** App instance ID. */
8545
+ instanceId?: string | null;
8546
+ /** Event type. */
8547
+ eventType?: string;
8548
+ /** The identification type and identity data. */
8549
+ identity?: IdentificationData$1;
8550
+ /** Stringify payload. */
8551
+ data?: string;
8552
+ }
8553
+ interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
8554
+ /** ID of a site visitor that has not logged in to the site. */
8555
+ anonymousVisitorId?: string;
8556
+ /** ID of a site visitor that has logged in to the site. */
8557
+ memberId?: string;
8558
+ /** ID of a Wix user (site owner, contributor, etc.). */
8559
+ wixUserId?: string;
8560
+ /** ID of an app. */
8561
+ appId?: string;
8562
+ /** @readonly */
8563
+ identityType?: WebhookIdentityType$1;
8564
+ }
8565
+ /** @oneof */
8566
+ interface IdentificationDataIdOneOf$1 {
8567
+ /** ID of a site visitor that has not logged in to the site. */
8568
+ anonymousVisitorId?: string;
8569
+ /** ID of a site visitor that has logged in to the site. */
8570
+ memberId?: string;
8571
+ /** ID of a Wix user (site owner, contributor, etc.). */
8572
+ wixUserId?: string;
8573
+ /** ID of an app. */
8574
+ appId?: string;
8575
+ }
8576
+ declare enum WebhookIdentityType$1 {
8577
+ UNKNOWN = "UNKNOWN",
8578
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
8579
+ MEMBER = "MEMBER",
8580
+ WIX_USER = "WIX_USER",
8581
+ APP = "APP"
8582
+ }
8583
+ interface ListDemoPostsRequest {
8584
+ /**
8585
+ * Whether to return only featured posts.
8577
8586
  *
8578
- * Non-inclusive end of time range to return, in ISO 8601 date and time format.
8579
- * @deprecated __Deprecated.__ Use `months` instead.
8580
- * This property will be removed on June 30, 2023.
8587
+ * Default: `false`
8588
+ */
8589
+ featured?: boolean;
8590
+ /**
8591
+ * Hashtag filter.
8581
8592
  *
8582
- * Non-inclusive end of time range to return, in ISO 8601 date and time format.
8583
- * @replacedBy months
8584
- * @targetRemovalDate 2024-06-30
8593
+ * Pass an array of hashtags to return only posts containing any of the provided hashtags.
8594
+ * If omitted, all posts with or without hashtags are returned.
8585
8595
  */
8586
- rangeEnd?: Date | null;
8596
+ hashtags?: string[];
8587
8597
  /**
8588
- * Order of returned results.
8598
+ * Category filter.
8589
8599
  *
8590
- * - `OLDEST`: posts by date in ascending order.
8591
- * - `NEWEST`: posts by date in descending order.
8600
+ * Pass an array of category IDs to return only posts with any of the provided categories.
8601
+ * If omitted, all posts with or without associated categories are returned.
8602
+ */
8603
+ categoryIds?: string[];
8604
+ /**
8605
+ * Tag filter.
8606
+ *
8607
+ * Pass an array of tag IDs to return only posts with any of the provided tags.
8608
+ * If omitted, all posts with or without tags are returned.
8609
+ */
8610
+ tagIds?: string[];
8611
+ /**
8612
+ * Sorting options.
8613
+ *
8614
+ * - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
8615
+ * - `VIEW_COUNT`: Ordered by total number of views in descending order.
8616
+ * - `LIKE_COUNT`: Ordered by total number of likes in descending order.
8617
+ * - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
8618
+ * - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
8619
+ * - `TITLE_ASC`: Ordered by `title` in ascening order.
8620
+ * - `TITLE_DESC`: Ordered by `title` in descending order.
8621
+ * - `RATING`: reserved for internal use.
8622
+ *
8623
+ * Default: `FEED`
8624
+ */
8625
+ sort?: GetPostsSort;
8626
+ /** Pagination options. */
8627
+ paging?: BlogPaging;
8628
+ /**
8629
+ * __Deprecated.__ Use `fieldsets` instead.
8630
+ * This parameter will be removed on June 30, 2023.
8631
+ *
8632
+ * List of post fields to be included in the response.
8633
+ * @deprecated __Deprecated.__ Use `fieldsets` instead.
8634
+ * This parameter will be removed on June 30, 2023.
8592
8635
  *
8593
- * Default: `OLDEST`
8636
+ * List of post fields to be included in the response.
8637
+ * @replacedBy fieldsets
8638
+ * @targetRemovalDate 2024-06-30
8594
8639
  */
8595
- order?: Order;
8596
- /** Number of months to include in response. */
8597
- months?: number;
8640
+ fieldsToInclude?: PostFieldField[];
8598
8641
  /**
8599
8642
  * Language filter.
8600
8643
  *
8601
- *
8602
- * 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
8644
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
8645
+ * Pass a language to only receive posts that are in that language.
8646
+ * If omitted, posts in all languages are returned.
8603
8647
  */
8604
8648
  language?: string | null;
8649
+ /** Post owner's member ID. */
8650
+ memberId?: string | null;
8605
8651
  /**
8606
- * Time zone to use when calculating the start of the month.
8607
- *
8608
- * [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
8652
+ * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
8653
+ * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
8654
+ * only the post’s base fields are returned.
8609
8655
  */
8610
- timeZone?: string | null;
8611
- }
8612
- declare enum Order {
8613
- UNKNOWN = "UNKNOWN",
8614
- OLDEST = "OLDEST",
8615
- NEWEST = "NEWEST"
8656
+ fieldsets?: PostFieldField[];
8616
8657
  }
8617
- /** Get Blog Post Count Stats response */
8618
- interface QueryPostCountStatsResponse {
8619
- /** List of posts in specified order. */
8620
- stats?: PeriodPostCount[];
8658
+ interface ListDemoPostsResponse {
8659
+ /** List of posts. */
8660
+ posts?: Post[];
8661
+ /** Details on the paged set of results returned. */
8662
+ metaData?: MetaData$1;
8621
8663
  }
8622
- /** Post count for a specific time period */
8623
- interface PeriodPostCount {
8624
- /** Start of time range in ISO 8601 date and time format. */
8625
- periodStart?: Date | null;
8626
- /** Number of posts published during this month. */
8627
- postCount?: number;
8664
+ interface ConvertDraftJsToRichContentRequest {
8665
+ /** DraftJs content to convert to Rich content. */
8666
+ content?: Record<string, any> | null;
8628
8667
  }
8629
- interface GetTotalPublicationsRequest {
8630
- /** Language filter */
8631
- language?: string | null;
8668
+ interface ConvertDraftJsToRichContentResponse {
8669
+ /** Rich content converted from DraftJs content. */
8670
+ richContent?: string;
8632
8671
  }
8633
- interface GetTotalPublicationsResponse {
8634
- /** Total amount of publications. */
8635
- total?: number;
8672
+ interface ConvertRichContentToDraftJsRequest {
8673
+ /** Rich content to convert to DraftJs content. */
8674
+ richContent?: string;
8636
8675
  }
8637
- interface GetTotalPostsRequest {
8638
- /**
8639
- * Language filter.
8640
- *
8641
- *
8642
- * 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
8643
- */
8644
- language?: string | null;
8676
+ interface ConvertRichContentToDraftJsResponse {
8677
+ /** DraftJs content converted from Rich content. */
8678
+ content?: Record<string, any> | null;
8645
8679
  }
8646
- interface GetTotalPostsResponse {
8647
- /** Total amount of published posts. */
8648
- total?: number;
8680
+ interface OldBlogMigratedEvent {
8681
+ /** Instance id of new version of blog */
8682
+ newBlogInstanceId?: string;
8683
+ /** Instance id of old version of blog */
8684
+ oldBlogInstanceId?: string;
8649
8685
  }
8650
- interface SendActionEventRequest extends SendActionEventRequestActionOneOf {
8651
- postLikedAction?: PostLiked;
8652
- postCountersUpdated?: PostCountersUpdated;
8653
- entityId?: string;
8686
+ interface PeriodPostCountNonNullableFields {
8687
+ postCount: number;
8654
8688
  }
8655
- /** @oneof */
8656
- interface SendActionEventRequestActionOneOf {
8657
- postLikedAction?: PostLiked;
8658
- postCountersUpdated?: PostCountersUpdated;
8689
+ interface QueryPostCountStatsResponseNonNullableFields {
8690
+ stats: PeriodPostCountNonNullableFields[];
8659
8691
  }
8660
- interface SendActionEventResponse {
8692
+ interface GetTotalPostsResponseNonNullableFields {
8693
+ total: number;
8661
8694
  }
8662
8695
  interface CoverMediaNonNullableFields {
8663
8696
  image: string;
@@ -8888,6 +8921,9 @@ interface BulletedListDataNonNullableFields {
8888
8921
  interface BlockquoteDataNonNullableFields {
8889
8922
  indentation: number;
8890
8923
  }
8924
+ interface CaptionDataNonNullableFields {
8925
+ textStyle?: TextStyleNonNullableFields;
8926
+ }
8891
8927
  interface NodeNonNullableFields {
8892
8928
  buttonData?: ButtonDataNonNullableFields;
8893
8929
  codeBlockData?: CodeBlockDataNonNullableFields;
@@ -8913,6 +8949,7 @@ interface NodeNonNullableFields {
8913
8949
  orderedListData?: OrderedListDataNonNullableFields;
8914
8950
  bulletedListData?: BulletedListDataNonNullableFields;
8915
8951
  blockquoteData?: BlockquoteDataNonNullableFields;
8952
+ captionData?: CaptionDataNonNullableFields;
8916
8953
  type: NodeType;
8917
8954
  _id: string;
8918
8955
  nodes: NodeNonNullableFields[];
@@ -9025,15 +9062,6 @@ interface QueryPostsResponseNonNullableFields {
9025
9062
  interface GetPostMetricsResponseNonNullableFields {
9026
9063
  metrics?: MetricsNonNullableFields;
9027
9064
  }
9028
- interface PeriodPostCountNonNullableFields {
9029
- postCount: number;
9030
- }
9031
- interface QueryPostCountStatsResponseNonNullableFields {
9032
- stats: PeriodPostCountNonNullableFields[];
9033
- }
9034
- interface GetTotalPostsResponseNonNullableFields {
9035
- total: number;
9036
- }
9037
9065
  interface BaseEventMetadata$1 {
9038
9066
  /** App instance ID. */
9039
9067
  instanceId?: string | null;
@@ -9084,10 +9112,6 @@ interface PostCreatedEnvelope {
9084
9112
  entity: Post;
9085
9113
  metadata: EventMetadata$1;
9086
9114
  }
9087
- interface PostUpdatedEnvelope {
9088
- entity: Post;
9089
- metadata: EventMetadata$1;
9090
- }
9091
9115
  interface PostDeletedEnvelope {
9092
9116
  metadata: EventMetadata$1;
9093
9117
  }
@@ -9099,6 +9123,55 @@ interface PostUnlikedEnvelope {
9099
9123
  data: PostUnliked;
9100
9124
  metadata: EventMetadata$1;
9101
9125
  }
9126
+ interface PostUpdatedEnvelope {
9127
+ entity: Post;
9128
+ metadata: EventMetadata$1;
9129
+ }
9130
+ interface QueryPostCountStatsOptions {
9131
+ /** Start of time range to return, in ISO 8601 date and time format. */
9132
+ rangeStart?: Date | null;
9133
+ /**
9134
+ * Reserved for internal use.
9135
+ * @deprecated __Deprecated.__ Use `months` instead.
9136
+ * This property will be removed on June 30, 2023.
9137
+ *
9138
+ * Non-inclusive end of time range to return, in ISO 8601 date and time format.
9139
+ * @replacedBy months
9140
+ * @targetRemovalDate 2024-06-30
9141
+ */
9142
+ rangeEnd?: Date | null;
9143
+ /**
9144
+ * Sort order.
9145
+ * Use `'ASC'` for ascending order or `'DESC'` for descending order.
9146
+ *
9147
+ * Default: `ASC`
9148
+ */
9149
+ order?: Order;
9150
+ /** Number of months to include in response. */
9151
+ months?: number;
9152
+ /**
9153
+ * Language filter.
9154
+ *
9155
+ *
9156
+ * 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
9157
+ */
9158
+ language?: string | null;
9159
+ /**
9160
+ * Time zone to use when calculating the start of the month.
9161
+ *
9162
+ * [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
9163
+ */
9164
+ timeZone?: string | null;
9165
+ }
9166
+ interface GetTotalPostsOptions {
9167
+ /**
9168
+ * Language filter.
9169
+ *
9170
+ *
9171
+ * 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
9172
+ */
9173
+ language?: string | null;
9174
+ }
9102
9175
  interface GetPostOptions {
9103
9176
  /**
9104
9177
  * @internal
@@ -9300,52 +9373,38 @@ interface PostsQueryBuilder {
9300
9373
  skipTo: (cursor: string) => PostsQueryBuilder;
9301
9374
  find: () => Promise<PostsQueryResult>;
9302
9375
  }
9303
- interface QueryPostCountStatsOptions {
9304
- /** Start of time range to return, in ISO 8601 date and time format. */
9305
- rangeStart?: Date | null;
9306
- /**
9307
- * Reserved for internal use.
9308
- * @deprecated __Deprecated.__ Use `months` instead.
9309
- * This property will be removed on June 30, 2023.
9310
- *
9311
- * Non-inclusive end of time range to return, in ISO 8601 date and time format.
9312
- * @replacedBy months
9313
- * @targetRemovalDate 2024-06-30
9314
- */
9315
- rangeEnd?: Date | null;
9376
+
9377
+ declare function queryPostCountStats$1(httpClient: HttpClient): QueryPostCountStatsSignature;
9378
+ interface QueryPostCountStatsSignature {
9316
9379
  /**
9317
- * Sort order.
9318
- * Use `'ASC'` for ascending order or `'DESC'` for descending order.
9380
+ * Retrieves the number of published posts per month within a specified time range.
9319
9381
  *
9320
- * Default: `ASC`
9321
- */
9322
- order?: Order;
9323
- /** Number of months to include in response. */
9324
- months?: number;
9325
- /**
9326
- * Language filter.
9327
9382
  *
9383
+ * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
9328
9384
  *
9329
- * 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
9330
- */
9331
- language?: string | null;
9332
- /**
9333
- * Time zone to use when calculating the start of the month.
9385
+ * You can set the time range using the `rangeStart` and `months` properties. The time range always starts on the 1st day of the month set in `rangeStart` and includes the number of `months` following `rangeStart`. For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`, the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range ends on the last day of the month.
9334
9386
  *
9335
- * [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
9387
+ * >**Note:** If there are no published posts in a specific month, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.
9388
+ * @param - Options specifying time frame, sort, and filter.
9389
+ * @returns Fulfilled - Post count stats.
9336
9390
  */
9337
- timeZone?: string | null;
9391
+ (options?: QueryPostCountStatsOptions | undefined): Promise<QueryPostCountStatsResponse & QueryPostCountStatsResponseNonNullableFields>;
9338
9392
  }
9339
- interface GetTotalPostsOptions {
9393
+ declare function getTotalPosts$1(httpClient: HttpClient): GetTotalPostsSignature;
9394
+ interface GetTotalPostsSignature {
9340
9395
  /**
9341
- * Language filter.
9396
+ * Gets the total amount of published posts on the blog.
9342
9397
  *
9343
9398
  *
9344
- * 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
9399
+ * The `getTotalPosts()` function returns a Promise that resolves to the total amount of published posts on your blog's site.
9400
+ *
9401
+ *
9402
+ * You can use the `language` option to filter posts for a specified language.
9403
+ * @param - Language Options.
9404
+ * @returns Fulfilled - Total number of posts.
9345
9405
  */
9346
- language?: string | null;
9406
+ (options?: GetTotalPostsOptions | undefined): Promise<GetTotalPostsResponse & GetTotalPostsResponseNonNullableFields>;
9347
9407
  }
9348
-
9349
9408
  declare function getPost$1(httpClient: HttpClient): GetPostSignature;
9350
9409
  interface GetPostSignature {
9351
9410
  /**
@@ -9432,52 +9491,21 @@ interface GetPostMetricsSignature {
9432
9491
  */
9433
9492
  (postId: string): Promise<GetPostMetricsResponse & GetPostMetricsResponseNonNullableFields>;
9434
9493
  }
9435
- declare function queryPostCountStats$1(httpClient: HttpClient): QueryPostCountStatsSignature;
9436
- interface QueryPostCountStatsSignature {
9437
- /**
9438
- * Retrieves the number of published posts per month within a specified time range.
9439
- *
9440
- *
9441
- * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
9442
- *
9443
- * You can set the time range using the `rangeStart` and `months` properties. The time range always starts on the 1st day of the month set in `rangeStart` and includes the number of `months` following `rangeStart`. For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`, the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range ends on the last day of the month.
9444
- *
9445
- * >**Note:** If there are no published posts in a specific month, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.
9446
- * @param - Options specifying time frame, sort, and filter.
9447
- * @returns Fulfilled - Post count stats.
9448
- */
9449
- (options?: QueryPostCountStatsOptions | undefined): Promise<QueryPostCountStatsResponse & QueryPostCountStatsResponseNonNullableFields>;
9450
- }
9451
- declare function getTotalPosts$1(httpClient: HttpClient): GetTotalPostsSignature;
9452
- interface GetTotalPostsSignature {
9453
- /**
9454
- * Gets the total amount of published posts on the blog.
9455
- *
9456
- *
9457
- * The `getTotalPosts()` function returns a Promise that resolves to the total amount of published posts on your blog's site.
9458
- *
9459
- *
9460
- * You can use the `language` option to filter posts for a specified language.
9461
- * @param - Language Options.
9462
- * @returns Fulfilled - Total number of posts.
9463
- */
9464
- (options?: GetTotalPostsOptions | undefined): Promise<GetTotalPostsResponse & GetTotalPostsResponseNonNullableFields>;
9465
- }
9466
9494
  declare const onPostCreated$1: EventDefinition<PostCreatedEnvelope, "wix.blog.v3.post_created">;
9467
- declare const onPostUpdated$1: EventDefinition<PostUpdatedEnvelope, "wix.blog.v3.post_updated">;
9468
9495
  declare const onPostDeleted$1: EventDefinition<PostDeletedEnvelope, "wix.blog.v3.post_deleted">;
9469
9496
  declare const onPostLiked$1: EventDefinition<PostLikedEnvelope, "wix.blog.v3.post_liked">;
9470
9497
  declare const onPostUnliked$1: EventDefinition<PostUnlikedEnvelope, "wix.blog.v3.post_unliked">;
9498
+ declare const onPostUpdated$1: EventDefinition<PostUpdatedEnvelope, "wix.blog.v3.post_updated">;
9471
9499
 
9472
9500
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
9473
9501
 
9502
+ declare const queryPostCountStats: MaybeContext<BuildRESTFunction<typeof queryPostCountStats$1> & typeof queryPostCountStats$1>;
9503
+ declare const getTotalPosts: MaybeContext<BuildRESTFunction<typeof getTotalPosts$1> & typeof getTotalPosts$1>;
9474
9504
  declare const getPost: MaybeContext<BuildRESTFunction<typeof getPost$1> & typeof getPost$1>;
9475
9505
  declare const getPostBySlug: MaybeContext<BuildRESTFunction<typeof getPostBySlug$1> & typeof getPostBySlug$1>;
9476
9506
  declare const listPosts: MaybeContext<BuildRESTFunction<typeof listPosts$1> & typeof listPosts$1>;
9477
9507
  declare const queryPosts: MaybeContext<BuildRESTFunction<typeof queryPosts$1> & typeof queryPosts$1>;
9478
9508
  declare const getPostMetrics: MaybeContext<BuildRESTFunction<typeof getPostMetrics$1> & typeof getPostMetrics$1>;
9479
- declare const queryPostCountStats: MaybeContext<BuildRESTFunction<typeof queryPostCountStats$1> & typeof queryPostCountStats$1>;
9480
- declare const getTotalPosts: MaybeContext<BuildRESTFunction<typeof getTotalPosts$1> & typeof getTotalPosts$1>;
9481
9509
 
9482
9510
  type _publicOnPostCreatedType = typeof onPostCreated$1;
9483
9511
  /**
@@ -9485,12 +9513,6 @@ type _publicOnPostCreatedType = typeof onPostCreated$1;
9485
9513
  */
9486
9514
  declare const onPostCreated: ReturnType<typeof createEventModule$1<_publicOnPostCreatedType>>;
9487
9515
 
9488
- type _publicOnPostUpdatedType = typeof onPostUpdated$1;
9489
- /**
9490
- * Triggered when a post is updated.
9491
- */
9492
- declare const onPostUpdated: ReturnType<typeof createEventModule$1<_publicOnPostUpdatedType>>;
9493
-
9494
9516
  type _publicOnPostDeletedType = typeof onPostDeleted$1;
9495
9517
  /**
9496
9518
  * Triggered when a post is deleted.
@@ -9509,6 +9531,12 @@ type _publicOnPostUnlikedType = typeof onPostUnliked$1;
9509
9531
  */
9510
9532
  declare const onPostUnliked: ReturnType<typeof createEventModule$1<_publicOnPostUnlikedType>>;
9511
9533
 
9534
+ type _publicOnPostUpdatedType = typeof onPostUpdated$1;
9535
+ /**
9536
+ * Triggered when a post is updated.
9537
+ */
9538
+ declare const onPostUpdated: ReturnType<typeof createEventModule$1<_publicOnPostUpdatedType>>;
9539
+
9512
9540
  type context$1_Alignment = Alignment;
9513
9541
  declare const context$1_Alignment: typeof Alignment;
9514
9542
  type context$1_AnchorData = AnchorData;
@@ -9725,9 +9753,6 @@ type context$1_QueryPublicationsCountStatsResponse = QueryPublicationsCountStats
9725
9753
  type context$1_Reactions = Reactions;
9726
9754
  type context$1_Rel = Rel;
9727
9755
  type context$1_RichContent = RichContent;
9728
- type context$1_SendActionEventRequest = SendActionEventRequest;
9729
- type context$1_SendActionEventRequestActionOneOf = SendActionEventRequestActionOneOf;
9730
- type context$1_SendActionEventResponse = SendActionEventResponse;
9731
9756
  type context$1_Source = Source;
9732
9757
  declare const context$1_Source: typeof Source;
9733
9758
  type context$1_Spoiler = Spoiler;
@@ -9790,7 +9815,7 @@ declare const context$1_onPostUpdated: typeof onPostUpdated;
9790
9815
  declare const context$1_queryPostCountStats: typeof queryPostCountStats;
9791
9816
  declare const context$1_queryPosts: typeof queryPosts;
9792
9817
  declare namespace context$1 {
9793
- export { type ActionEvent$1 as ActionEvent, context$1_Alignment as Alignment, type context$1_AnchorData as AnchorData, type context$1_AppEmbedData as AppEmbedData, type context$1_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, context$1_AppType as AppType, type context$1_AudioData as AudioData, type context$1_Background as Background, type context$1_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, context$1_BackgroundType as BackgroundType, type BaseEventMetadata$1 as BaseEventMetadata, type context$1_BlockquoteData as BlockquoteData, type context$1_BlogPaging as BlogPaging, type context$1_BookingData as BookingData, type context$1_Border as Border, type context$1_BorderColors as BorderColors, type context$1_BulkGetPostMetricsRequest as BulkGetPostMetricsRequest, type context$1_BulkGetPostMetricsResponse as BulkGetPostMetricsResponse, type context$1_BulkGetPostReactionsRequest as BulkGetPostReactionsRequest, type context$1_BulkGetPostReactionsResponse as BulkGetPostReactionsResponse, type context$1_BulletedListData as BulletedListData, type context$1_ButtonData as ButtonData, type context$1_CaptionData as CaptionData, type context$1_Category as Category, type context$1_CategoryTranslation as CategoryTranslation, type context$1_CellStyle as CellStyle, type context$1_CodeBlockData as CodeBlockData, type context$1_CollapsibleListData as CollapsibleListData, type context$1_ColorData as ColorData, type context$1_Colors as Colors, type context$1_ConvertDraftJsToRichContentRequest as ConvertDraftJsToRichContentRequest, type context$1_ConvertDraftJsToRichContentResponse as ConvertDraftJsToRichContentResponse, type context$1_ConvertRichContentToDraftJsRequest as ConvertRichContentToDraftJsRequest, type context$1_ConvertRichContentToDraftJsResponse as ConvertRichContentToDraftJsResponse, type context$1_CoverMedia as CoverMedia, type context$1_CoverMediaMediaOneOf as CoverMediaMediaOneOf, type context$1_CreateDraftPostFromTemplateRequest as CreateDraftPostFromTemplateRequest, type context$1_CreateDraftPostFromTemplateResponse as CreateDraftPostFromTemplateResponse, context$1_Crop as Crop, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type context$1_Decoration as Decoration, type context$1_DecorationDataOneOf as DecorationDataOneOf, context$1_DecorationType as DecorationType, type context$1_Design as Design, type context$1_Dimensions as Dimensions, context$1_Direction as Direction, type context$1_DividerData as DividerData, type context$1_DocumentStyle as DocumentStyle, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type context$1_DraftPost as DraftPost, type context$1_DraftPostTranslation as DraftPostTranslation, type context$1_EmbedData as EmbedData, type context$1_EmbedMedia as EmbedMedia, type context$1_EmbedThumbnail as EmbedThumbnail, type context$1_EmbedVideo as EmbedVideo, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type context$1_EventData as EventData, type EventMetadata$1 as EventMetadata, Field$1 as Field, type context$1_FileData as FileData, type context$1_FileSource as FileSource, type context$1_FileSourceDataOneOf as FileSourceDataOneOf, type context$1_FontSizeData as FontSizeData, context$1_FontType as FontType, type context$1_GIF as GIF, type context$1_GIFData as GIFData, type context$1_GalleryData as GalleryData, type context$1_GalleryOptions as GalleryOptions, type context$1_GetPostBySlugOptions as GetPostBySlugOptions, type context$1_GetPostBySlugRequest as GetPostBySlugRequest, type context$1_GetPostBySlugResponse as GetPostBySlugResponse, type context$1_GetPostBySlugResponseNonNullableFields as GetPostBySlugResponseNonNullableFields, type context$1_GetPostMetricsRequest as GetPostMetricsRequest, type context$1_GetPostMetricsResponse as GetPostMetricsResponse, type context$1_GetPostMetricsResponseNonNullableFields as GetPostMetricsResponseNonNullableFields, type context$1_GetPostOptions as GetPostOptions, type context$1_GetPostRequest as GetPostRequest, type context$1_GetPostResponse as GetPostResponse, type context$1_GetPostResponseNonNullableFields as GetPostResponseNonNullableFields, context$1_GetPostTemplatesSort as GetPostTemplatesSort, context$1_GetPostsSort as GetPostsSort, type context$1_GetTemplateRequest as GetTemplateRequest, type context$1_GetTemplateResponse as GetTemplateResponse, type context$1_GetTotalLikesPerMemberRequest as GetTotalLikesPerMemberRequest, type context$1_GetTotalLikesPerMemberResponse as GetTotalLikesPerMemberResponse, type context$1_GetTotalPostsOptions as GetTotalPostsOptions, type context$1_GetTotalPostsRequest as GetTotalPostsRequest, type context$1_GetTotalPostsResponse as GetTotalPostsResponse, type context$1_GetTotalPostsResponseNonNullableFields as GetTotalPostsResponseNonNullableFields, type context$1_GetTotalPublicationsRequest as GetTotalPublicationsRequest, type context$1_GetTotalPublicationsResponse as GetTotalPublicationsResponse, type context$1_Gradient as Gradient, type context$1_HTMLData as HTMLData, type context$1_HTMLDataDataOneOf as HTMLDataDataOneOf, type context$1_HeadingData as HeadingData, type context$1_Height as Height, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$1_Image as Image, type context$1_ImageData as ImageData, context$1_InitialExpandedItems as InitialExpandedItems, type context$1_InitialPostsCopied as InitialPostsCopied, type context$1_Item as Item, type context$1_ItemDataOneOf as ItemDataOneOf, type context$1_ItemStyle as ItemStyle, type Keyword$1 as Keyword, type context$1_Layout as Layout, context$1_LayoutType as LayoutType, type context$1_LikePostRequest as LikePostRequest, type context$1_LikePostResponse as LikePostResponse, context$1_LineStyle as LineStyle, type context$1_Link as Link, type context$1_LinkData as LinkData, type context$1_LinkDataOneOf as LinkDataOneOf, type context$1_LinkPreviewData as LinkPreviewData, type context$1_ListDemoPostsRequest as ListDemoPostsRequest, type context$1_ListDemoPostsResponse as ListDemoPostsResponse, type context$1_ListPostsArchiveRequest as ListPostsArchiveRequest, type context$1_ListPostsArchiveResponse as ListPostsArchiveResponse, type context$1_ListPostsOptions as ListPostsOptions, type context$1_ListPostsRequest as ListPostsRequest, type context$1_ListPostsResponse as ListPostsResponse, type context$1_ListPostsResponseNonNullableFields as ListPostsResponseNonNullableFields, type context$1_ListTemplatesRequest as ListTemplatesRequest, type context$1_ListTemplatesResponse as ListTemplatesResponse, type context$1_ListValue as ListValue, type context$1_MapData as MapData, type context$1_MapSettings as MapSettings, context$1_MapType as MapType, type context$1_Media as Media, type context$1_MediaMediaOneOf as MediaMediaOneOf, type context$1_MentionData as MentionData, type MessageEnvelope$1 as MessageEnvelope, type MetaData$1 as MetaData, type context$1_Metadata as Metadata, type context$1_Metrics as Metrics, type context$1_ModerationDetails as ModerationDetails, context$1_ModerationStatusStatus as ModerationStatusStatus, type context$1_Node as Node, type context$1_NodeDataOneOf as NodeDataOneOf, type context$1_NodeStyle as NodeStyle, context$1_NodeType as NodeType, context$1_NullValue as NullValue, type context$1_Oembed as Oembed, type context$1_OldBlogMigratedEvent as OldBlogMigratedEvent, type context$1_Option as Option, type context$1_OptionDesign as OptionDesign, type context$1_OptionLayout as OptionLayout, context$1_Order as Order, type context$1_OrderedListData as OrderedListData, context$1_Orientation as Orientation, context$1_Origin as Origin, type context$1_PDFSettings as PDFSettings, type Paging$1 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type context$1_ParagraphData as ParagraphData, type context$1_PeriodPostCount as PeriodPostCount, type context$1_PeriodPublicationsCount as PeriodPublicationsCount, type context$1_Permissions as Permissions, type context$1_PinPostRequest as PinPostRequest, type context$1_PinPostResponse as PinPostResponse, type PlatformQuery$1 as PlatformQuery, type PlatformQueryPagingMethodOneOf$1 as PlatformQueryPagingMethodOneOf, type context$1_PlaybackOptions as PlaybackOptions, type context$1_PluginContainerData as PluginContainerData, context$1_PluginContainerDataAlignment as PluginContainerDataAlignment, type context$1_PluginContainerDataWidth as PluginContainerDataWidth, type context$1_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type context$1_Poll as Poll, type context$1_PollData as PollData, type context$1_PollDataLayout as PollDataLayout, type context$1_PollDesign as PollDesign, type context$1_PollLayout as PollLayout, context$1_PollLayoutDirection as PollLayoutDirection, context$1_PollLayoutType as PollLayoutType, type context$1_PollSettings as PollSettings, type context$1_Post as Post, type context$1_PostCountInfo as PostCountInfo, type context$1_PostCountersUpdated as PostCountersUpdated, type context$1_PostCountersUpdatedInitiatorOneOf as PostCountersUpdatedInitiatorOneOf, type context$1_PostCreatedEnvelope as PostCreatedEnvelope, type context$1_PostDeletedEnvelope as PostDeletedEnvelope, context$1_PostFieldField as PostFieldField, type context$1_PostLiked as PostLiked, type context$1_PostLikedEnvelope as PostLikedEnvelope, type context$1_PostLikedInitiatorOneOf as PostLikedInitiatorOneOf, type context$1_PostOwnerChanged as PostOwnerChanged, type context$1_PostTranslation as PostTranslation, type context$1_PostUnliked as PostUnliked, type context$1_PostUnlikedEnvelope as PostUnlikedEnvelope, type context$1_PostUnlikedInitiatorOneOf as PostUnlikedInitiatorOneOf, type context$1_PostUpdatedEnvelope as PostUpdatedEnvelope, type context$1_PostsQueryBuilder as PostsQueryBuilder, type context$1_PostsQueryResult as PostsQueryResult, type context$1_QueryPostCountStatsOptions as QueryPostCountStatsOptions, type context$1_QueryPostCountStatsRequest as QueryPostCountStatsRequest, type context$1_QueryPostCountStatsResponse as QueryPostCountStatsResponse, type context$1_QueryPostCountStatsResponseNonNullableFields as QueryPostCountStatsResponseNonNullableFields, type context$1_QueryPostsOptions as QueryPostsOptions, type context$1_QueryPostsRequest as QueryPostsRequest, type context$1_QueryPostsResponse as QueryPostsResponse, type context$1_QueryPostsResponseNonNullableFields as QueryPostsResponseNonNullableFields, type context$1_QueryPublicationsCountStatsRequest as QueryPublicationsCountStatsRequest, context$1_QueryPublicationsCountStatsRequestOrder as QueryPublicationsCountStatsRequestOrder, type context$1_QueryPublicationsCountStatsResponse as QueryPublicationsCountStatsResponse, type context$1_Reactions as Reactions, type context$1_Rel as Rel, type RestoreInfo$1 as RestoreInfo, type context$1_RichContent as RichContent, type context$1_SendActionEventRequest as SendActionEventRequest, type context$1_SendActionEventRequestActionOneOf as SendActionEventRequestActionOneOf, type context$1_SendActionEventResponse as SendActionEventResponse, type SeoSchema$1 as SeoSchema, type Settings$1 as Settings, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, context$1_Source as Source, type context$1_Spoiler as Spoiler, type context$1_SpoilerData as SpoilerData, context$1_Status as Status, type context$1_Styles as Styles, type context$1_TableCellData as TableCellData, type context$1_TableData as TableData, type Tag$1 as Tag, context$1_Target as Target, context$1_TextAlignment as TextAlignment, type context$1_TextData as TextData, type context$1_TextNodeStyle as TextNodeStyle, type context$1_TextStyle as TextStyle, type context$1_Thumbnails as Thumbnails, context$1_ThumbnailsAlignment as ThumbnailsAlignment, context$1_Type as Type, type context$1_UnlikePostRequest as UnlikePostRequest, type context$1_UnlikePostResponse as UnlikePostResponse, type context$1_UnpinPostRequest as UnpinPostRequest, type context$1_UnpinPostResponse as UnpinPostResponse, type context$1_V1Media as V1Media, context$1_VerticalAlignment as VerticalAlignment, type context$1_Video as Video, type context$1_VideoData as VideoData, type context$1_VideoResolution as VideoResolution, context$1_ViewMode as ViewMode, type context$1_ViewPostRequest as ViewPostRequest, type context$1_ViewPostResponse as ViewPostResponse, context$1_ViewRole as ViewRole, context$1_VoteRole as VoteRole, WebhookIdentityType$1 as WebhookIdentityType, context$1_Width as Width, context$1_WidthType as WidthType, type context$1_WixMedia as WixMedia, type context$1__publicOnPostCreatedType as _publicOnPostCreatedType, type context$1__publicOnPostDeletedType as _publicOnPostDeletedType, type context$1__publicOnPostLikedType as _publicOnPostLikedType, type context$1__publicOnPostUnlikedType as _publicOnPostUnlikedType, type context$1__publicOnPostUpdatedType as _publicOnPostUpdatedType, context$1_getPost as getPost, context$1_getPostBySlug as getPostBySlug, context$1_getPostMetrics as getPostMetrics, context$1_getTotalPosts as getTotalPosts, context$1_listPosts as listPosts, context$1_onPostCreated as onPostCreated, context$1_onPostDeleted as onPostDeleted, context$1_onPostLiked as onPostLiked, context$1_onPostUnliked as onPostUnliked, context$1_onPostUpdated as onPostUpdated, onPostCreated$1 as publicOnPostCreated, onPostDeleted$1 as publicOnPostDeleted, onPostLiked$1 as publicOnPostLiked, onPostUnliked$1 as publicOnPostUnliked, onPostUpdated$1 as publicOnPostUpdated, context$1_queryPostCountStats as queryPostCountStats, context$1_queryPosts as queryPosts };
9818
+ export { type ActionEvent$1 as ActionEvent, context$1_Alignment as Alignment, type context$1_AnchorData as AnchorData, type context$1_AppEmbedData as AppEmbedData, type context$1_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, context$1_AppType as AppType, type context$1_AudioData as AudioData, type context$1_Background as Background, type context$1_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, context$1_BackgroundType as BackgroundType, type BaseEventMetadata$1 as BaseEventMetadata, type context$1_BlockquoteData as BlockquoteData, type context$1_BlogPaging as BlogPaging, type context$1_BookingData as BookingData, type context$1_Border as Border, type context$1_BorderColors as BorderColors, type context$1_BulkGetPostMetricsRequest as BulkGetPostMetricsRequest, type context$1_BulkGetPostMetricsResponse as BulkGetPostMetricsResponse, type context$1_BulkGetPostReactionsRequest as BulkGetPostReactionsRequest, type context$1_BulkGetPostReactionsResponse as BulkGetPostReactionsResponse, type context$1_BulletedListData as BulletedListData, type context$1_ButtonData as ButtonData, type context$1_CaptionData as CaptionData, type context$1_Category as Category, type context$1_CategoryTranslation as CategoryTranslation, type context$1_CellStyle as CellStyle, type context$1_CodeBlockData as CodeBlockData, type context$1_CollapsibleListData as CollapsibleListData, type context$1_ColorData as ColorData, type context$1_Colors as Colors, type context$1_ConvertDraftJsToRichContentRequest as ConvertDraftJsToRichContentRequest, type context$1_ConvertDraftJsToRichContentResponse as ConvertDraftJsToRichContentResponse, type context$1_ConvertRichContentToDraftJsRequest as ConvertRichContentToDraftJsRequest, type context$1_ConvertRichContentToDraftJsResponse as ConvertRichContentToDraftJsResponse, type context$1_CoverMedia as CoverMedia, type context$1_CoverMediaMediaOneOf as CoverMediaMediaOneOf, type context$1_CreateDraftPostFromTemplateRequest as CreateDraftPostFromTemplateRequest, type context$1_CreateDraftPostFromTemplateResponse as CreateDraftPostFromTemplateResponse, context$1_Crop as Crop, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type context$1_Decoration as Decoration, type context$1_DecorationDataOneOf as DecorationDataOneOf, context$1_DecorationType as DecorationType, type context$1_Design as Design, type context$1_Dimensions as Dimensions, context$1_Direction as Direction, type context$1_DividerData as DividerData, type context$1_DocumentStyle as DocumentStyle, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type context$1_DraftPost as DraftPost, type context$1_DraftPostTranslation as DraftPostTranslation, type context$1_EmbedData as EmbedData, type context$1_EmbedMedia as EmbedMedia, type context$1_EmbedThumbnail as EmbedThumbnail, type context$1_EmbedVideo as EmbedVideo, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type context$1_EventData as EventData, type EventMetadata$1 as EventMetadata, Field$1 as Field, type context$1_FileData as FileData, type context$1_FileSource as FileSource, type context$1_FileSourceDataOneOf as FileSourceDataOneOf, type context$1_FontSizeData as FontSizeData, context$1_FontType as FontType, type context$1_GIF as GIF, type context$1_GIFData as GIFData, type context$1_GalleryData as GalleryData, type context$1_GalleryOptions as GalleryOptions, type context$1_GetPostBySlugOptions as GetPostBySlugOptions, type context$1_GetPostBySlugRequest as GetPostBySlugRequest, type context$1_GetPostBySlugResponse as GetPostBySlugResponse, type context$1_GetPostBySlugResponseNonNullableFields as GetPostBySlugResponseNonNullableFields, type context$1_GetPostMetricsRequest as GetPostMetricsRequest, type context$1_GetPostMetricsResponse as GetPostMetricsResponse, type context$1_GetPostMetricsResponseNonNullableFields as GetPostMetricsResponseNonNullableFields, type context$1_GetPostOptions as GetPostOptions, type context$1_GetPostRequest as GetPostRequest, type context$1_GetPostResponse as GetPostResponse, type context$1_GetPostResponseNonNullableFields as GetPostResponseNonNullableFields, context$1_GetPostTemplatesSort as GetPostTemplatesSort, context$1_GetPostsSort as GetPostsSort, type context$1_GetTemplateRequest as GetTemplateRequest, type context$1_GetTemplateResponse as GetTemplateResponse, type context$1_GetTotalLikesPerMemberRequest as GetTotalLikesPerMemberRequest, type context$1_GetTotalLikesPerMemberResponse as GetTotalLikesPerMemberResponse, type context$1_GetTotalPostsOptions as GetTotalPostsOptions, type context$1_GetTotalPostsRequest as GetTotalPostsRequest, type context$1_GetTotalPostsResponse as GetTotalPostsResponse, type context$1_GetTotalPostsResponseNonNullableFields as GetTotalPostsResponseNonNullableFields, type context$1_GetTotalPublicationsRequest as GetTotalPublicationsRequest, type context$1_GetTotalPublicationsResponse as GetTotalPublicationsResponse, type context$1_Gradient as Gradient, type context$1_HTMLData as HTMLData, type context$1_HTMLDataDataOneOf as HTMLDataDataOneOf, type context$1_HeadingData as HeadingData, type context$1_Height as Height, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$1_Image as Image, type context$1_ImageData as ImageData, context$1_InitialExpandedItems as InitialExpandedItems, type context$1_InitialPostsCopied as InitialPostsCopied, type context$1_Item as Item, type context$1_ItemDataOneOf as ItemDataOneOf, type context$1_ItemStyle as ItemStyle, type Keyword$1 as Keyword, type context$1_Layout as Layout, context$1_LayoutType as LayoutType, type context$1_LikePostRequest as LikePostRequest, type context$1_LikePostResponse as LikePostResponse, context$1_LineStyle as LineStyle, type context$1_Link as Link, type context$1_LinkData as LinkData, type context$1_LinkDataOneOf as LinkDataOneOf, type context$1_LinkPreviewData as LinkPreviewData, type context$1_ListDemoPostsRequest as ListDemoPostsRequest, type context$1_ListDemoPostsResponse as ListDemoPostsResponse, type context$1_ListPostsArchiveRequest as ListPostsArchiveRequest, type context$1_ListPostsArchiveResponse as ListPostsArchiveResponse, type context$1_ListPostsOptions as ListPostsOptions, type context$1_ListPostsRequest as ListPostsRequest, type context$1_ListPostsResponse as ListPostsResponse, type context$1_ListPostsResponseNonNullableFields as ListPostsResponseNonNullableFields, type context$1_ListTemplatesRequest as ListTemplatesRequest, type context$1_ListTemplatesResponse as ListTemplatesResponse, type context$1_ListValue as ListValue, type context$1_MapData as MapData, type context$1_MapSettings as MapSettings, context$1_MapType as MapType, type context$1_Media as Media, type context$1_MediaMediaOneOf as MediaMediaOneOf, type context$1_MentionData as MentionData, type MessageEnvelope$1 as MessageEnvelope, type MetaData$1 as MetaData, type context$1_Metadata as Metadata, type context$1_Metrics as Metrics, type context$1_ModerationDetails as ModerationDetails, context$1_ModerationStatusStatus as ModerationStatusStatus, type context$1_Node as Node, type context$1_NodeDataOneOf as NodeDataOneOf, type context$1_NodeStyle as NodeStyle, context$1_NodeType as NodeType, context$1_NullValue as NullValue, type context$1_Oembed as Oembed, type context$1_OldBlogMigratedEvent as OldBlogMigratedEvent, type context$1_Option as Option, type context$1_OptionDesign as OptionDesign, type context$1_OptionLayout as OptionLayout, context$1_Order as Order, type context$1_OrderedListData as OrderedListData, context$1_Orientation as Orientation, context$1_Origin as Origin, type context$1_PDFSettings as PDFSettings, type Paging$1 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type context$1_ParagraphData as ParagraphData, type context$1_PeriodPostCount as PeriodPostCount, type context$1_PeriodPublicationsCount as PeriodPublicationsCount, type context$1_Permissions as Permissions, type context$1_PinPostRequest as PinPostRequest, type context$1_PinPostResponse as PinPostResponse, type PlatformQuery$1 as PlatformQuery, type PlatformQueryPagingMethodOneOf$1 as PlatformQueryPagingMethodOneOf, type context$1_PlaybackOptions as PlaybackOptions, type context$1_PluginContainerData as PluginContainerData, context$1_PluginContainerDataAlignment as PluginContainerDataAlignment, type context$1_PluginContainerDataWidth as PluginContainerDataWidth, type context$1_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type context$1_Poll as Poll, type context$1_PollData as PollData, type context$1_PollDataLayout as PollDataLayout, type context$1_PollDesign as PollDesign, type context$1_PollLayout as PollLayout, context$1_PollLayoutDirection as PollLayoutDirection, context$1_PollLayoutType as PollLayoutType, type context$1_PollSettings as PollSettings, type context$1_Post as Post, type context$1_PostCountInfo as PostCountInfo, type context$1_PostCountersUpdated as PostCountersUpdated, type context$1_PostCountersUpdatedInitiatorOneOf as PostCountersUpdatedInitiatorOneOf, type context$1_PostCreatedEnvelope as PostCreatedEnvelope, type context$1_PostDeletedEnvelope as PostDeletedEnvelope, context$1_PostFieldField as PostFieldField, type context$1_PostLiked as PostLiked, type context$1_PostLikedEnvelope as PostLikedEnvelope, type context$1_PostLikedInitiatorOneOf as PostLikedInitiatorOneOf, type context$1_PostOwnerChanged as PostOwnerChanged, type context$1_PostTranslation as PostTranslation, type context$1_PostUnliked as PostUnliked, type context$1_PostUnlikedEnvelope as PostUnlikedEnvelope, type context$1_PostUnlikedInitiatorOneOf as PostUnlikedInitiatorOneOf, type context$1_PostUpdatedEnvelope as PostUpdatedEnvelope, type context$1_PostsQueryBuilder as PostsQueryBuilder, type context$1_PostsQueryResult as PostsQueryResult, type context$1_QueryPostCountStatsOptions as QueryPostCountStatsOptions, type context$1_QueryPostCountStatsRequest as QueryPostCountStatsRequest, type context$1_QueryPostCountStatsResponse as QueryPostCountStatsResponse, type context$1_QueryPostCountStatsResponseNonNullableFields as QueryPostCountStatsResponseNonNullableFields, type context$1_QueryPostsOptions as QueryPostsOptions, type context$1_QueryPostsRequest as QueryPostsRequest, type context$1_QueryPostsResponse as QueryPostsResponse, type context$1_QueryPostsResponseNonNullableFields as QueryPostsResponseNonNullableFields, type context$1_QueryPublicationsCountStatsRequest as QueryPublicationsCountStatsRequest, context$1_QueryPublicationsCountStatsRequestOrder as QueryPublicationsCountStatsRequestOrder, type context$1_QueryPublicationsCountStatsResponse as QueryPublicationsCountStatsResponse, type context$1_Reactions as Reactions, type context$1_Rel as Rel, type RestoreInfo$1 as RestoreInfo, type context$1_RichContent as RichContent, type SeoSchema$1 as SeoSchema, type Settings$1 as Settings, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, context$1_Source as Source, type context$1_Spoiler as Spoiler, type context$1_SpoilerData as SpoilerData, context$1_Status as Status, type context$1_Styles as Styles, type context$1_TableCellData as TableCellData, type context$1_TableData as TableData, type Tag$1 as Tag, context$1_Target as Target, context$1_TextAlignment as TextAlignment, type context$1_TextData as TextData, type context$1_TextNodeStyle as TextNodeStyle, type context$1_TextStyle as TextStyle, type context$1_Thumbnails as Thumbnails, context$1_ThumbnailsAlignment as ThumbnailsAlignment, context$1_Type as Type, type context$1_UnlikePostRequest as UnlikePostRequest, type context$1_UnlikePostResponse as UnlikePostResponse, type context$1_UnpinPostRequest as UnpinPostRequest, type context$1_UnpinPostResponse as UnpinPostResponse, type context$1_V1Media as V1Media, context$1_VerticalAlignment as VerticalAlignment, type context$1_Video as Video, type context$1_VideoData as VideoData, type context$1_VideoResolution as VideoResolution, context$1_ViewMode as ViewMode, type context$1_ViewPostRequest as ViewPostRequest, type context$1_ViewPostResponse as ViewPostResponse, context$1_ViewRole as ViewRole, context$1_VoteRole as VoteRole, WebhookIdentityType$1 as WebhookIdentityType, context$1_Width as Width, context$1_WidthType as WidthType, type context$1_WixMedia as WixMedia, type context$1__publicOnPostCreatedType as _publicOnPostCreatedType, type context$1__publicOnPostDeletedType as _publicOnPostDeletedType, type context$1__publicOnPostLikedType as _publicOnPostLikedType, type context$1__publicOnPostUnlikedType as _publicOnPostUnlikedType, type context$1__publicOnPostUpdatedType as _publicOnPostUpdatedType, context$1_getPost as getPost, context$1_getPostBySlug as getPostBySlug, context$1_getPostMetrics as getPostMetrics, context$1_getTotalPosts as getTotalPosts, context$1_listPosts as listPosts, context$1_onPostCreated as onPostCreated, context$1_onPostDeleted as onPostDeleted, context$1_onPostLiked as onPostLiked, context$1_onPostUnliked as onPostUnliked, context$1_onPostUpdated as onPostUpdated, onPostCreated$1 as publicOnPostCreated, onPostDeleted$1 as publicOnPostDeleted, onPostLiked$1 as publicOnPostLiked, onPostUnliked$1 as publicOnPostUnliked, onPostUpdated$1 as publicOnPostUpdated, context$1_queryPostCountStats as queryPostCountStats, context$1_queryPosts as queryPosts };
9794
9819
  }
9795
9820
 
9796
9821
  interface BlogTag {