@wix/auto_sdk_blog_posts 1.0.140 → 1.0.141

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +11 -15
  2. package/build/cjs/index.js +73 -43
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +576 -533
  5. package/build/cjs/index.typings.js +59 -30
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +413 -358
  8. package/build/cjs/meta.js +53 -24
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +11 -15
  11. package/build/es/index.mjs +71 -43
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +576 -533
  14. package/build/es/index.typings.mjs +57 -30
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +413 -358
  17. package/build/es/meta.mjs +51 -24
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +11 -15
  20. package/build/internal/cjs/index.js +73 -43
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +576 -533
  23. package/build/internal/cjs/index.typings.js +59 -30
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +413 -358
  26. package/build/internal/cjs/meta.js +53 -24
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +11 -15
  29. package/build/internal/es/index.mjs +71 -43
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +576 -533
  32. package/build/internal/es/index.typings.mjs +57 -30
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +413 -358
  35. package/build/internal/es/meta.mjs +51 -24
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -318,6 +318,8 @@ interface Node extends NodeDataOneOf {
318
318
  shapeData?: ShapeData;
319
319
  /** Data for a card node. */
320
320
  cardData?: CardData;
321
+ /** Data for a table of contents node. */
322
+ tocData?: TocData;
321
323
  /** 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. */
322
324
  type?: NodeTypeWithLiterals;
323
325
  /** Node ID. */
@@ -389,6 +391,8 @@ interface NodeDataOneOf {
389
391
  shapeData?: ShapeData;
390
392
  /** Data for a card node. */
391
393
  cardData?: CardData;
394
+ /** Data for a table of contents node. */
395
+ tocData?: TocData;
392
396
  }
393
397
  declare enum NodeType {
394
398
  PARAGRAPH = "PARAGRAPH",
@@ -426,10 +430,11 @@ declare enum NodeType {
426
430
  LAYOUT = "LAYOUT",
427
431
  LAYOUT_CELL = "LAYOUT_CELL",
428
432
  SHAPE = "SHAPE",
429
- CARD = "CARD"
433
+ CARD = "CARD",
434
+ TOC = "TOC"
430
435
  }
431
436
  /** @enumType */
432
- type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD';
437
+ type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD' | 'TOC';
433
438
  interface NodeStyle {
434
439
  /** The top padding value in pixels. */
435
440
  paddingTop?: string | null;
@@ -1058,6 +1063,8 @@ interface HTMLData extends HTMLDataDataOneOf {
1058
1063
  * @deprecated
1059
1064
  */
1060
1065
  isAdsense?: boolean | null;
1066
+ /** The WixelWidget ID for AI_WIDGET source nodes. */
1067
+ widgetId?: string;
1061
1068
  /** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
1062
1069
  containerData?: PluginContainerData;
1063
1070
  /** The type of HTML code. */
@@ -1076,14 +1083,17 @@ interface HTMLDataDataOneOf {
1076
1083
  * @deprecated
1077
1084
  */
1078
1085
  isAdsense?: boolean | null;
1086
+ /** The WixelWidget ID for AI_WIDGET source nodes. */
1087
+ widgetId?: string;
1079
1088
  }
1080
1089
  declare enum Source {
1081
1090
  HTML = "HTML",
1082
1091
  ADSENSE = "ADSENSE",
1083
- AI = "AI"
1092
+ AI = "AI",
1093
+ AI_WIDGET = "AI_WIDGET"
1084
1094
  }
1085
1095
  /** @enumType */
1086
- type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI';
1096
+ type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI' | 'AI_WIDGET';
1087
1097
  interface ImageData {
1088
1098
  /** Styling for the image's container. */
1089
1099
  containerData?: PluginContainerData;
@@ -2311,6 +2321,51 @@ interface BackgroundImage {
2311
2321
  /** Position of background. Defaults to `CENTER`. */
2312
2322
  position?: ImagePositionPositionWithLiterals;
2313
2323
  }
2324
+ interface TocData {
2325
+ /** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
2326
+ includedHeadings?: number[];
2327
+ /** List style. Default: PLAIN. */
2328
+ listStyle?: ListStyleWithLiterals;
2329
+ /** Optional override for the font size in pixels. */
2330
+ fontSize?: number | null;
2331
+ /** Optional override for the vertical spacing between items in pixels. */
2332
+ itemSpacing?: number | null;
2333
+ /**
2334
+ * Optional override for the text color.
2335
+ * @format COLOR_HEX
2336
+ */
2337
+ color?: string | null;
2338
+ /** Indentation style. Default: NESTED. */
2339
+ indentation?: IndentationWithLiterals;
2340
+ }
2341
+ /** List style. */
2342
+ declare enum ListStyle {
2343
+ /** No markers (default) */
2344
+ PLAIN = "PLAIN",
2345
+ /** Numbered list */
2346
+ NUMBERED = "NUMBERED",
2347
+ /** Alphabetic letters */
2348
+ LETTERS = "LETTERS",
2349
+ /** Roman numerals */
2350
+ ROMAN = "ROMAN",
2351
+ /** Bulleted list */
2352
+ BULLETED = "BULLETED",
2353
+ /** Alphabetical index */
2354
+ ALPHABETICAL_INDEX = "ALPHABETICAL_INDEX",
2355
+ /** Alphabetical index (compact top-row only) */
2356
+ ALPHABETICAL_INDEX_COMPACT = "ALPHABETICAL_INDEX_COMPACT"
2357
+ }
2358
+ /** @enumType */
2359
+ type ListStyleWithLiterals = ListStyle | 'PLAIN' | 'NUMBERED' | 'LETTERS' | 'ROMAN' | 'BULLETED' | 'ALPHABETICAL_INDEX' | 'ALPHABETICAL_INDEX_COMPACT';
2360
+ /** Indentation style. */
2361
+ declare enum Indentation {
2362
+ /** Sub-headings indented under parents (default) */
2363
+ NESTED = "NESTED",
2364
+ /** All items at the same level */
2365
+ FLAT = "FLAT"
2366
+ }
2367
+ /** @enumType */
2368
+ type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
2314
2369
  interface Metadata {
2315
2370
  /** Schema version. */
2316
2371
  version?: number;
@@ -2578,396 +2633,123 @@ interface PostUnlikedInitiatorOneOf {
2578
2633
  */
2579
2634
  anonymousVisitorId?: string | null;
2580
2635
  }
2581
- /** Get Blog Publications Count Stats request */
2582
- interface QueryPublicationsCountStatsRequest {
2583
- /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2584
- rangeStart?: Date | null;
2585
- /** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2586
- rangeEnd?: Date | null;
2587
- /** Order of the returned results. */
2588
- order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
2589
- /** Number of months to include in the response. */
2590
- months?: number;
2636
+ interface ListTemplatesRequest {
2591
2637
  /**
2592
- * Language filter
2593
- *
2594
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2595
- * @format LANGUAGE_TAG
2638
+ * Filter post templates by given template category ids
2639
+ * @maxSize 50
2640
+ * @format GUID
2596
2641
  */
2597
- language?: string | null;
2642
+ categoryIds?: string[];
2598
2643
  /**
2599
- * Timezone of the client.
2600
- * @minLength 3
2601
- * @maxLength 100
2644
+ * Filter post templates by provided language
2645
+ * @format LANGUAGE_TAG
2602
2646
  */
2603
- timeZone?: string | null;
2647
+ language?: string | null;
2648
+ /** Returns post template categories when set to TRUE */
2649
+ listTemplateCategories?: boolean;
2650
+ /** Sort order by ascending/descending publish date. Default is ascending publish date sort */
2651
+ sort?: GetPostTemplatesSortWithLiterals;
2652
+ /** Pagination options. */
2653
+ paging?: BlogPaging;
2604
2654
  }
2605
- declare enum QueryPublicationsCountStatsRequestOrder {
2606
- UNKNOWN = "UNKNOWN",
2607
- OLDEST = "OLDEST",
2608
- NEWEST = "NEWEST"
2655
+ declare enum GetPostTemplatesSort {
2656
+ /** Sort by ascending publishing date. */
2657
+ PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
2658
+ /** Sort by descending publishing date. */
2659
+ PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
2609
2660
  }
2610
2661
  /** @enumType */
2611
- type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
2612
- /** Get Blog Publications Count Stats response */
2613
- interface QueryPublicationsCountStatsResponse {
2614
- /** Chronologically ordered list of publications. */
2615
- stats?: PeriodPublicationsCount[];
2616
- }
2617
- /** Publications count for a specific time period */
2618
- interface PeriodPublicationsCount {
2619
- /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2620
- periodStart?: Date | null;
2621
- /** Number of posts published during this month. */
2622
- publicationsCount?: number;
2623
- }
2624
- /** Get Blog Post Count Stats request */
2625
- interface QueryPostCountStatsRequest {
2626
- /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2627
- rangeStart?: Date | null;
2662
+ type GetPostTemplatesSortWithLiterals = GetPostTemplatesSort | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC';
2663
+ interface BlogPaging {
2628
2664
  /**
2629
- * Order of returned results.
2665
+ * Number of items to skip in the current sort order.
2630
2666
  *
2631
- * - `OLDEST`: posts by date in ascending order.
2632
- * - `NEWEST`: posts by date in descending order.
2633
2667
  *
2634
- * Default: `OLDEST`
2668
+ * Default: `0`
2635
2669
  */
2636
- order?: OrderWithLiterals;
2637
- /** Number of months to include in response. */
2638
- months?: number;
2670
+ offset?: number;
2639
2671
  /**
2640
- * Language filter.
2672
+ * Number of items to return.
2641
2673
  *
2642
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2643
- * Pass a language to only receive the period post count for that specified language.
2644
- * @format LANGUAGE_TAG
2645
- */
2646
- language?: string | null;
2647
- /**
2648
- * Time zone to use when calculating the start of the month.
2649
2674
  *
2650
- * [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
2651
- * @minLength 3
2652
- * @maxLength 100
2675
+ * Default:`50`
2676
+ * @min 1
2677
+ * @max 100
2653
2678
  */
2654
- timeZone?: string | null;
2655
- }
2656
- declare enum Order {
2657
- UNKNOWN = "UNKNOWN",
2658
- OLDEST = "OLDEST",
2659
- NEWEST = "NEWEST"
2660
- }
2661
- /** @enumType */
2662
- type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
2663
- /** Get Blog Post Count Stats response */
2664
- interface QueryPostCountStatsResponse {
2665
- /** List of published post counts by month. */
2666
- stats?: PeriodPostCount[];
2667
- }
2668
- /** Post count for a specific time period */
2669
- interface PeriodPostCount {
2670
- /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2671
- periodStart?: Date | null;
2672
- /** Number of posts published during this month. */
2673
- postCount?: number;
2674
- }
2675
- interface GetTotalPublicationsRequest {
2679
+ limit?: number;
2676
2680
  /**
2677
- * Language filter
2678
- * @minLength 2
2679
- * @format LANGUAGE_TAG
2681
+ * Pointer to the next or previous page in the list of results.
2682
+ * @maxLength 2000
2680
2683
  */
2681
- language?: string | null;
2684
+ cursor?: string | null;
2682
2685
  }
2683
- interface GetTotalPublicationsResponse {
2684
- /** Total amount of publications. */
2685
- total?: number;
2686
+ interface ListTemplatesResponse {
2687
+ /** Available post templates */
2688
+ postTemplates?: Post[];
2689
+ /** Details on the paged set of posts templates returned. */
2690
+ postTemplatesMetaData?: MetaData;
2691
+ /** Post template categories. This value is returned empty unless asked explicitly */
2692
+ templateCategories?: Category[];
2686
2693
  }
2687
- interface GetTotalPostsRequest {
2694
+ interface MetaData {
2695
+ /** Number of items returned in this response. */
2696
+ count?: number;
2697
+ /** Requested offset. */
2698
+ offset?: number;
2699
+ /** Total number of items that match the query. */
2700
+ total?: number;
2688
2701
  /**
2689
- * Language filter.
2690
- *
2691
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2692
- * Pass a language to receive the total amount of posts in that specified language.
2693
- * @format LANGUAGE_TAG
2702
+ * Pointer to the next or previous page in the list of results.
2703
+ * @maxLength 2000
2694
2704
  */
2695
- language?: string | null;
2696
- }
2697
- interface GetTotalPostsResponse {
2698
- /** Total amount of published posts. */
2699
- total?: number;
2705
+ cursor?: string | null;
2700
2706
  }
2701
- interface DomainEvent extends DomainEventBodyOneOf {
2702
- createdEvent?: EntityCreatedEvent;
2703
- updatedEvent?: EntityUpdatedEvent;
2704
- deletedEvent?: EntityDeletedEvent;
2705
- actionEvent?: ActionEvent;
2706
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
2707
- _id?: string;
2707
+ interface Category {
2708
2708
  /**
2709
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
2710
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
2709
+ * Category ID.
2710
+ * @immutable
2711
+ * @maxLength 38
2711
2712
  */
2712
- entityFqdn?: string;
2713
+ _id?: string;
2713
2714
  /**
2714
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
2715
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
2715
+ * Category label. Displayed in the Category Menu.
2716
+ * @maxLength 35
2716
2717
  */
2717
- slug?: string;
2718
- /** ID of the entity associated with the event. */
2719
- entityId?: string;
2720
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
2721
- eventTime?: Date | null;
2718
+ label?: string;
2722
2719
  /**
2723
- * Whether the event was triggered as a result of a privacy regulation application
2724
- * (for example, GDPR).
2720
+ * Number of posts in the category.
2721
+ * @readonly
2725
2722
  */
2726
- triggeredByAnonymizeRequest?: boolean | null;
2727
- /** If present, indicates the action that triggered the event. */
2728
- originatedFrom?: string | null;
2723
+ postCount?: number;
2729
2724
  /**
2730
- * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
2731
- * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
2725
+ * The `url` of the page that lists every post with the specified category.
2726
+ * @readonly
2732
2727
  */
2733
- entityEventSequence?: string | null;
2734
- }
2735
- /** @oneof */
2736
- interface DomainEventBodyOneOf {
2737
- createdEvent?: EntityCreatedEvent;
2738
- updatedEvent?: EntityUpdatedEvent;
2739
- deletedEvent?: EntityDeletedEvent;
2740
- actionEvent?: ActionEvent;
2741
- }
2742
- interface EntityCreatedEvent {
2743
- entity?: string;
2744
- }
2745
- interface RestoreInfo {
2746
- deletedDate?: Date | null;
2747
- }
2748
- interface EntityUpdatedEvent {
2728
+ url?: string;
2749
2729
  /**
2750
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
2751
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
2752
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
2730
+ * Category description.
2731
+ * @maxLength 500
2753
2732
  */
2754
- currentEntity?: string;
2755
- }
2756
- interface EntityDeletedEvent {
2757
- /** Entity that was deleted. */
2758
- deletedEntity?: string | null;
2759
- }
2760
- interface ActionEvent {
2761
- body?: string;
2762
- }
2763
- interface MessageEnvelope {
2733
+ description?: string | null;
2764
2734
  /**
2765
- * App instance ID.
2766
- * @format GUID
2735
+ * Category title.
2736
+ * @maxLength 200
2737
+ * @deprecated Category title.
2738
+ * @targetRemovalDate 2025-07-16
2767
2739
  */
2768
- instanceId?: string | null;
2740
+ title?: string;
2769
2741
  /**
2770
- * Event type.
2771
- * @maxLength 150
2742
+ * Position of the category in the [Category Menu](https://support.wix.com/en/article/wix-blog-adding-and-customizing-a-category-menu).
2743
+ * Categories are displayed in ascending order. Categories with a position of `-1` appear at the end of the sequence.
2744
+ *
2745
+ * Default: `-1`
2772
2746
  */
2773
- eventType?: string;
2774
- /** The identification type and identity data. */
2775
- identity?: IdentificationData;
2776
- /** Stringify payload. */
2777
- data?: string;
2778
- /** Details related to the account */
2779
- accountInfo?: AccountInfo;
2780
- }
2781
- interface IdentificationData extends IdentificationDataIdOneOf {
2747
+ displayPosition?: number | null;
2782
2748
  /**
2783
- * ID of a site visitor that has not logged in to the site.
2749
+ * ID of the category's translations. All translations of a single category share the same `translationId`.
2784
2750
  * @format GUID
2785
2751
  */
2786
- anonymousVisitorId?: string;
2787
- /**
2788
- * ID of a site visitor that has logged in to the site.
2789
- * @format GUID
2790
- */
2791
- memberId?: string;
2792
- /**
2793
- * ID of a Wix user (site owner, contributor, etc.).
2794
- * @format GUID
2795
- */
2796
- wixUserId?: string;
2797
- /**
2798
- * ID of an app.
2799
- * @format GUID
2800
- */
2801
- appId?: string;
2802
- /** @readonly */
2803
- identityType?: WebhookIdentityTypeWithLiterals;
2804
- }
2805
- /** @oneof */
2806
- interface IdentificationDataIdOneOf {
2807
- /**
2808
- * ID of a site visitor that has not logged in to the site.
2809
- * @format GUID
2810
- */
2811
- anonymousVisitorId?: string;
2812
- /**
2813
- * ID of a site visitor that has logged in to the site.
2814
- * @format GUID
2815
- */
2816
- memberId?: string;
2817
- /**
2818
- * ID of a Wix user (site owner, contributor, etc.).
2819
- * @format GUID
2820
- */
2821
- wixUserId?: string;
2822
- /**
2823
- * ID of an app.
2824
- * @format GUID
2825
- */
2826
- appId?: string;
2827
- }
2828
- declare enum WebhookIdentityType {
2829
- UNKNOWN = "UNKNOWN",
2830
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
2831
- MEMBER = "MEMBER",
2832
- WIX_USER = "WIX_USER",
2833
- APP = "APP"
2834
- }
2835
- /** @enumType */
2836
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
2837
- interface AccountInfo {
2838
- /**
2839
- * ID of the Wix account associated with the event.
2840
- * @format GUID
2841
- */
2842
- accountId?: string | null;
2843
- /**
2844
- * ID of the parent Wix account. Only included when accountId belongs to a child account.
2845
- * @format GUID
2846
- */
2847
- parentAccountId?: string | null;
2848
- /**
2849
- * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
2850
- * @format GUID
2851
- */
2852
- siteId?: string | null;
2853
- }
2854
- interface ListTemplatesRequest {
2855
- /**
2856
- * Filter post templates by given template category ids
2857
- * @maxSize 50
2858
- * @format GUID
2859
- */
2860
- categoryIds?: string[];
2861
- /**
2862
- * Filter post templates by provided language
2863
- * @format LANGUAGE_TAG
2864
- */
2865
- language?: string | null;
2866
- /** Returns post template categories when set to TRUE */
2867
- listTemplateCategories?: boolean;
2868
- /** Sort order by ascending/descending publish date. Default is ascending publish date sort */
2869
- sort?: GetPostTemplatesSortWithLiterals;
2870
- /** Pagination options. */
2871
- paging?: BlogPaging;
2872
- }
2873
- declare enum GetPostTemplatesSort {
2874
- /** Sort by ascending publishing date. */
2875
- PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
2876
- /** Sort by descending publishing date. */
2877
- PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
2878
- }
2879
- /** @enumType */
2880
- type GetPostTemplatesSortWithLiterals = GetPostTemplatesSort | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC';
2881
- interface BlogPaging {
2882
- /**
2883
- * Number of items to skip in the current sort order.
2884
- *
2885
- *
2886
- * Default: `0`
2887
- */
2888
- offset?: number;
2889
- /**
2890
- * Number of items to return.
2891
- *
2892
- *
2893
- * Default:`50`
2894
- * @min 1
2895
- * @max 100
2896
- */
2897
- limit?: number;
2898
- /**
2899
- * Pointer to the next or previous page in the list of results.
2900
- * @maxLength 2000
2901
- */
2902
- cursor?: string | null;
2903
- }
2904
- interface ListTemplatesResponse {
2905
- /** Available post templates */
2906
- postTemplates?: Post[];
2907
- /** Details on the paged set of posts templates returned. */
2908
- postTemplatesMetaData?: MetaData;
2909
- /** Post template categories. This value is returned empty unless asked explicitly */
2910
- templateCategories?: Category[];
2911
- }
2912
- interface MetaData {
2913
- /** Number of items returned in this response. */
2914
- count?: number;
2915
- /** Requested offset. */
2916
- offset?: number;
2917
- /** Total number of items that match the query. */
2918
- total?: number;
2919
- /**
2920
- * Pointer to the next or previous page in the list of results.
2921
- * @maxLength 2000
2922
- */
2923
- cursor?: string | null;
2924
- }
2925
- interface Category {
2926
- /**
2927
- * Category ID.
2928
- * @immutable
2929
- * @maxLength 38
2930
- */
2931
- _id?: string;
2932
- /**
2933
- * Category label. Displayed in the Category Menu.
2934
- * @maxLength 35
2935
- */
2936
- label?: string;
2937
- /**
2938
- * Number of posts in the category.
2939
- * @readonly
2940
- */
2941
- postCount?: number;
2942
- /**
2943
- * The `url` of the page that lists every post with the specified category.
2944
- * @readonly
2945
- */
2946
- url?: string;
2947
- /**
2948
- * Category description.
2949
- * @maxLength 500
2950
- */
2951
- description?: string | null;
2952
- /**
2953
- * Category title.
2954
- * @maxLength 200
2955
- * @deprecated Category title.
2956
- * @targetRemovalDate 2025-07-16
2957
- */
2958
- title?: string;
2959
- /**
2960
- * Position of the category in the [Category Menu](https://support.wix.com/en/article/wix-blog-adding-and-customizing-a-category-menu).
2961
- * Categories are displayed in ascending order. Categories with a position of `-1` appear at the end of the sequence.
2962
- *
2963
- * Default: `-1`
2964
- */
2965
- displayPosition?: number | null;
2966
- /**
2967
- * ID of the category's translations. All translations of a single category share the same `translationId`.
2968
- * @format GUID
2969
- */
2970
- translationId?: string | null;
2752
+ translationId?: string | null;
2971
2753
  /**
2972
2754
  * Category language.
2973
2755
  *
@@ -3104,180 +2886,453 @@ interface DraftPost {
3104
2886
  * Available only if the [Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) app is installed.
3105
2887
  * @format GUID
3106
2888
  */
3107
- translationId?: string | null;
2889
+ translationId?: string | null;
2890
+ /**
2891
+ * Language the draft post is written in.
2892
+ *
2893
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2894
+ * @format LANGUAGE_TAG
2895
+ */
2896
+ language?: string | null;
2897
+ /**
2898
+ * Draft Post rich content.
2899
+ *
2900
+ * <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">
2901
+ * <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a>
2902
+ * </widget>
2903
+ */
2904
+ richContent?: RichContent;
2905
+ /**
2906
+ * Status of the draft post.
2907
+ * @readonly
2908
+ */
2909
+ status?: StatusWithLiterals;
2910
+ /** Details of the draft post in review. Only relevant to posts submitted by guest writers. */
2911
+ moderationDetails?: ModerationDetails;
2912
+ /**
2913
+ * Indicates if there are changes made to the draft post that have not yet been published.
2914
+ * @readonly
2915
+ */
2916
+ hasUnpublishedChanges?: boolean;
2917
+ /**
2918
+ * Date the draft post was last edited.
2919
+ * @readonly
2920
+ */
2921
+ editedDate?: Date | null;
2922
+ /**
2923
+ * Date the draft post is scheduled to be published.
2924
+ * @readonly
2925
+ */
2926
+ scheduledPublishDate?: Date | null;
2927
+ /** Date the post was first published. */
2928
+ firstPublishedDate?: Date | null;
2929
+ /** SEO data. */
2930
+ seoData?: SeoSchema;
2931
+ /**
2932
+ * Draft post URL preview. What the URL will look like once the post is published.
2933
+ * @readonly
2934
+ */
2935
+ url?: string;
2936
+ /**
2937
+ * Date the draft post was first created.
2938
+ * @readonly
2939
+ */
2940
+ _createdDate?: Date | null;
2941
+ /**
2942
+ * SEO slug.
2943
+ * @maxLength 100
2944
+ */
2945
+ seoSlug?: string | null;
2946
+ /** Post cover media. */
2947
+ media?: Media;
2948
+ /** Number of paragraphs to display in a paid content preview for non-paying users. */
2949
+ previewTextParagraph?: number | null;
2950
+ }
2951
+ declare enum Origin {
2952
+ UNKNOWN = "UNKNOWN",
2953
+ /** Changed by admin */
2954
+ ADMIN = "ADMIN",
2955
+ /** Categories were changed */
2956
+ ADD_CATEGORIES = "ADD_CATEGORIES",
2957
+ /** Saved automatically */
2958
+ AUTO_SAVE = "AUTO_SAVE",
2959
+ /** Copied from template */
2960
+ COPY_TEMPLATE = "COPY_TEMPLATE",
2961
+ /** Imported */
2962
+ IMPORT = "IMPORT",
2963
+ /** Imported in bulk */
2964
+ IMPORT_BULK = "IMPORT_BULK",
2965
+ /** Imported with html import */
2966
+ IMPORT_HTML = "IMPORT_HTML",
2967
+ /** Patch import */
2968
+ IMPORT_PATCH = "IMPORT_PATCH",
2969
+ /** Changed language */
2970
+ LANGUAGE_CHANGE = "LANGUAGE_CHANGE",
2971
+ /** Saved manually */
2972
+ MANUAL_SAVE = "MANUAL_SAVE",
2973
+ /** Affected by migration */
2974
+ MIGRATION = "MIGRATION",
2975
+ /** Affected by moderation */
2976
+ MODERATION = "MODERATION",
2977
+ /** Moved to trash */
2978
+ MOVE_TO_TRASH = "MOVE_TO_TRASH",
2979
+ /** Pricing plans were changed */
2980
+ PRICING_PLANS_CHANGE = "PRICING_PLANS_CHANGE",
2981
+ /** Was provisioned */
2982
+ PROVISION = "PROVISION",
2983
+ /** Was published */
2984
+ PUBLISH = "PUBLISH",
2985
+ /** Owner was reassigned */
2986
+ REASSIGN_OWNER = "REASSIGN_OWNER",
2987
+ /** Was reblogged */
2988
+ REBLOG = "REBLOG",
2989
+ /** Was restored */
2990
+ RESTORE = "RESTORE",
2991
+ /** Reverted to draft */
2992
+ REVERT_TO_DRAFT = "REVERT_TO_DRAFT",
2993
+ /** Was translated */
2994
+ TRANSLATION = "TRANSLATION",
2995
+ /** Was unpublished */
2996
+ UNPUBLISH = "UNPUBLISH",
2997
+ /** Was unscheduled */
2998
+ UNSCHEDULE = "UNSCHEDULE",
2999
+ /** New edit session started which updated editing_session_id id */
3000
+ NEW_EDIT_SESSION = "NEW_EDIT_SESSION",
3001
+ /** Was scheduled by Later */
3002
+ SCHEDULING_SERVICE_SCHEDULE = "SCHEDULING_SERVICE_SCHEDULE",
3003
+ /** Was unscheduled by Later */
3004
+ SCHEDULING_SERVICE_UNSCHEDULE = "SCHEDULING_SERVICE_UNSCHEDULE",
3005
+ /** Was published by Later */
3006
+ SCHEDULING_SERVICE_PUBLISH = "SCHEDULING_SERVICE_PUBLISH",
3007
+ /** Was scheduled */
3008
+ SCHEDULE = "SCHEDULE",
3009
+ /** Was removed from moderation */
3010
+ REMOVE_FROM_MODERATION = "REMOVE_FROM_MODERATION",
3011
+ /** Was rejected from moderation */
3012
+ REJECT_FROM_MODERATION = "REJECT_FROM_MODERATION",
3013
+ /** Was approved in moderation */
3014
+ APPROVE_IN_MODERATION = "APPROVE_IN_MODERATION",
3015
+ /** Tag was deleted */
3016
+ DELETE_TAG = "DELETE_TAG",
3017
+ /** Post was pinned */
3018
+ PIN = "PIN",
3019
+ /** Post was unpinned */
3020
+ UNPIN = "UNPIN",
3021
+ /** Saved automatically by AI tool. */
3022
+ AI_AUTO_SAVE = "AI_AUTO_SAVE"
3023
+ }
3024
+ /** @enumType */
3025
+ type OriginWithLiterals = Origin | 'UNKNOWN' | 'ADMIN' | 'ADD_CATEGORIES' | 'AUTO_SAVE' | 'COPY_TEMPLATE' | 'IMPORT' | 'IMPORT_BULK' | 'IMPORT_HTML' | 'IMPORT_PATCH' | 'LANGUAGE_CHANGE' | 'MANUAL_SAVE' | 'MIGRATION' | 'MODERATION' | 'MOVE_TO_TRASH' | 'PRICING_PLANS_CHANGE' | 'PROVISION' | 'PUBLISH' | 'REASSIGN_OWNER' | 'REBLOG' | 'RESTORE' | 'REVERT_TO_DRAFT' | 'TRANSLATION' | 'UNPUBLISH' | 'UNSCHEDULE' | 'NEW_EDIT_SESSION' | 'SCHEDULING_SERVICE_SCHEDULE' | 'SCHEDULING_SERVICE_UNSCHEDULE' | 'SCHEDULING_SERVICE_PUBLISH' | 'SCHEDULE' | 'REMOVE_FROM_MODERATION' | 'REJECT_FROM_MODERATION' | 'APPROVE_IN_MODERATION' | 'DELETE_TAG' | 'PIN' | 'UNPIN' | 'AI_AUTO_SAVE';
3026
+ declare enum Status {
3027
+ UNKNOWN = "UNKNOWN",
3028
+ /** Status indicating the draft post is published. */
3029
+ PUBLISHED = "PUBLISHED",
3030
+ /** Status indicating the draft post is unpublished. */
3031
+ UNPUBLISHED = "UNPUBLISHED",
3032
+ /** Status indicating the draft post is scheduled for publication. */
3033
+ SCHEDULED = "SCHEDULED",
3034
+ /** Status indicating the draft post is deleted. */
3035
+ DELETED = "DELETED",
3036
+ /** Status indicating the draft post is in review. */
3037
+ IN_REVIEW = "IN_REVIEW"
3038
+ }
3039
+ /** @enumType */
3040
+ type StatusWithLiterals = Status | 'UNKNOWN' | 'PUBLISHED' | 'UNPUBLISHED' | 'SCHEDULED' | 'DELETED' | 'IN_REVIEW';
3041
+ interface DraftPostTranslation {
3042
+ /**
3043
+ * Post ID.
3044
+ * @format GUID
3045
+ */
3046
+ _id?: string;
3047
+ /** Post status. */
3048
+ status?: StatusWithLiterals;
3049
+ /**
3050
+ * Language the post is written in.
3051
+ * @format LANGUAGE_TAG
3052
+ */
3053
+ language?: string | null;
3054
+ /**
3055
+ * Post slug. For example, 'post-slug'.
3056
+ * @maxLength 100
3057
+ */
3058
+ slug?: string | null;
3059
+ /** SEO data. */
3060
+ seoData?: SeoSchema;
3061
+ /** Post URL. */
3062
+ url?: string;
3063
+ }
3064
+ interface DomainEvent extends DomainEventBodyOneOf {
3065
+ createdEvent?: EntityCreatedEvent;
3066
+ updatedEvent?: EntityUpdatedEvent;
3067
+ deletedEvent?: EntityDeletedEvent;
3068
+ actionEvent?: ActionEvent;
3069
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
3070
+ _id?: string;
3071
+ /**
3072
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
3073
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
3074
+ */
3075
+ entityFqdn?: string;
3076
+ /**
3077
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
3078
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
3079
+ */
3080
+ slug?: string;
3081
+ /** ID of the entity associated with the event. */
3082
+ entityId?: string;
3083
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
3084
+ eventTime?: Date | null;
3085
+ /**
3086
+ * Whether the event was triggered as a result of a privacy regulation application
3087
+ * (for example, GDPR).
3088
+ */
3089
+ triggeredByAnonymizeRequest?: boolean | null;
3090
+ /** If present, indicates the action that triggered the event. */
3091
+ originatedFrom?: string | null;
3092
+ /**
3093
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
3094
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
3095
+ */
3096
+ entityEventSequence?: string | null;
3097
+ }
3098
+ /** @oneof */
3099
+ interface DomainEventBodyOneOf {
3100
+ createdEvent?: EntityCreatedEvent;
3101
+ updatedEvent?: EntityUpdatedEvent;
3102
+ deletedEvent?: EntityDeletedEvent;
3103
+ actionEvent?: ActionEvent;
3104
+ }
3105
+ interface EntityCreatedEvent {
3106
+ entity?: string;
3107
+ }
3108
+ interface RestoreInfo {
3109
+ deletedDate?: Date | null;
3110
+ }
3111
+ interface EntityUpdatedEvent {
3112
+ /**
3113
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
3114
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
3115
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
3116
+ */
3117
+ currentEntity?: string;
3118
+ }
3119
+ interface EntityDeletedEvent {
3120
+ /** Entity that was deleted. */
3121
+ deletedEntity?: string | null;
3122
+ }
3123
+ interface ActionEvent {
3124
+ body?: string;
3125
+ }
3126
+ interface MessageEnvelope {
3127
+ /**
3128
+ * App instance ID.
3129
+ * @format GUID
3130
+ */
3131
+ instanceId?: string | null;
3132
+ /**
3133
+ * Event type.
3134
+ * @maxLength 150
3135
+ */
3136
+ eventType?: string;
3137
+ /** The identification type and identity data. */
3138
+ identity?: IdentificationData;
3139
+ /** Stringify payload. */
3140
+ data?: string;
3141
+ /** Details related to the account */
3142
+ accountInfo?: AccountInfo;
3143
+ }
3144
+ interface IdentificationData extends IdentificationDataIdOneOf {
3145
+ /**
3146
+ * ID of a site visitor that has not logged in to the site.
3147
+ * @format GUID
3148
+ */
3149
+ anonymousVisitorId?: string;
3150
+ /**
3151
+ * ID of a site visitor that has logged in to the site.
3152
+ * @format GUID
3153
+ */
3154
+ memberId?: string;
3155
+ /**
3156
+ * ID of a Wix user (site owner, contributor, etc.).
3157
+ * @format GUID
3158
+ */
3159
+ wixUserId?: string;
3160
+ /**
3161
+ * ID of an app.
3162
+ * @format GUID
3163
+ */
3164
+ appId?: string;
3165
+ /** @readonly */
3166
+ identityType?: WebhookIdentityTypeWithLiterals;
3167
+ }
3168
+ /** @oneof */
3169
+ interface IdentificationDataIdOneOf {
3170
+ /**
3171
+ * ID of a site visitor that has not logged in to the site.
3172
+ * @format GUID
3173
+ */
3174
+ anonymousVisitorId?: string;
3175
+ /**
3176
+ * ID of a site visitor that has logged in to the site.
3177
+ * @format GUID
3178
+ */
3179
+ memberId?: string;
3180
+ /**
3181
+ * ID of a Wix user (site owner, contributor, etc.).
3182
+ * @format GUID
3183
+ */
3184
+ wixUserId?: string;
3185
+ /**
3186
+ * ID of an app.
3187
+ * @format GUID
3188
+ */
3189
+ appId?: string;
3190
+ }
3191
+ declare enum WebhookIdentityType {
3192
+ UNKNOWN = "UNKNOWN",
3193
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
3194
+ MEMBER = "MEMBER",
3195
+ WIX_USER = "WIX_USER",
3196
+ APP = "APP"
3197
+ }
3198
+ /** @enumType */
3199
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
3200
+ interface AccountInfo {
3201
+ /**
3202
+ * ID of the Wix account associated with the event.
3203
+ * @format GUID
3204
+ */
3205
+ accountId?: string | null;
3206
+ /**
3207
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
3208
+ * @format GUID
3209
+ */
3210
+ parentAccountId?: string | null;
3211
+ /**
3212
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
3213
+ * @format GUID
3214
+ */
3215
+ siteId?: string | null;
3216
+ }
3217
+ /** Get Blog Publications Count Stats request */
3218
+ interface QueryPublicationsCountStatsRequest {
3219
+ /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3220
+ rangeStart?: Date | null;
3221
+ /** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3222
+ rangeEnd?: Date | null;
3223
+ /** Order of the returned results. */
3224
+ order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
3225
+ /** Number of months to include in the response. */
3226
+ months?: number;
3108
3227
  /**
3109
- * Language the draft post is written in.
3228
+ * Language filter
3110
3229
  *
3111
3230
  * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3112
3231
  * @format LANGUAGE_TAG
3113
3232
  */
3114
3233
  language?: string | null;
3115
3234
  /**
3116
- * Draft Post rich content.
3117
- *
3118
- * <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">
3119
- * <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a>
3120
- * </widget>
3121
- */
3122
- richContent?: RichContent;
3123
- /**
3124
- * Status of the draft post.
3125
- * @readonly
3126
- */
3127
- status?: StatusWithLiterals;
3128
- /** Details of the draft post in review. Only relevant to posts submitted by guest writers. */
3129
- moderationDetails?: ModerationDetails;
3130
- /**
3131
- * Indicates if there are changes made to the draft post that have not yet been published.
3132
- * @readonly
3133
- */
3134
- hasUnpublishedChanges?: boolean;
3135
- /**
3136
- * Date the draft post was last edited.
3137
- * @readonly
3138
- */
3139
- editedDate?: Date | null;
3140
- /**
3141
- * Date the draft post is scheduled to be published.
3142
- * @readonly
3235
+ * Timezone of the client.
3236
+ * @minLength 3
3237
+ * @maxLength 100
3143
3238
  */
3144
- scheduledPublishDate?: Date | null;
3145
- /** Date the post was first published. */
3146
- firstPublishedDate?: Date | null;
3147
- /** SEO data. */
3148
- seoData?: SeoSchema;
3239
+ timeZone?: string | null;
3240
+ }
3241
+ declare enum QueryPublicationsCountStatsRequestOrder {
3242
+ UNKNOWN = "UNKNOWN",
3243
+ OLDEST = "OLDEST",
3244
+ NEWEST = "NEWEST"
3245
+ }
3246
+ /** @enumType */
3247
+ type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
3248
+ /** Get Blog Publications Count Stats response */
3249
+ interface QueryPublicationsCountStatsResponse {
3250
+ /** Chronologically ordered list of publications. */
3251
+ stats?: PeriodPublicationsCount[];
3252
+ }
3253
+ /** Publications count for a specific time period */
3254
+ interface PeriodPublicationsCount {
3255
+ /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3256
+ periodStart?: Date | null;
3257
+ /** Number of posts published during this month. */
3258
+ publicationsCount?: number;
3259
+ }
3260
+ /** Get Blog Post Count Stats request */
3261
+ interface QueryPostCountStatsRequest {
3262
+ /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3263
+ rangeStart?: Date | null;
3149
3264
  /**
3150
- * Draft post URL preview. What the URL will look like once the post is published.
3151
- * @readonly
3265
+ * Order of returned results.
3266
+ *
3267
+ * - `OLDEST`: posts by date in ascending order.
3268
+ * - `NEWEST`: posts by date in descending order.
3269
+ *
3270
+ * Default: `OLDEST`
3152
3271
  */
3153
- url?: string;
3272
+ order?: OrderWithLiterals;
3273
+ /** Number of months to include in response. */
3274
+ months?: number;
3154
3275
  /**
3155
- * Date the draft post was first created.
3156
- * @readonly
3276
+ * Language filter.
3277
+ *
3278
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3279
+ * Pass a language to only receive the period post count for that specified language.
3280
+ * @format LANGUAGE_TAG
3157
3281
  */
3158
- _createdDate?: Date | null;
3282
+ language?: string | null;
3159
3283
  /**
3160
- * SEO slug.
3284
+ * Time zone to use when calculating the start of the month.
3285
+ *
3286
+ * [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
3287
+ * @minLength 3
3161
3288
  * @maxLength 100
3162
3289
  */
3163
- seoSlug?: string | null;
3164
- /** Post cover media. */
3165
- media?: Media;
3166
- /** Number of paragraphs to display in a paid content preview for non-paying users. */
3167
- previewTextParagraph?: number | null;
3290
+ timeZone?: string | null;
3168
3291
  }
3169
- declare enum Origin {
3292
+ declare enum Order {
3170
3293
  UNKNOWN = "UNKNOWN",
3171
- /** Changed by admin */
3172
- ADMIN = "ADMIN",
3173
- /** Categories were changed */
3174
- ADD_CATEGORIES = "ADD_CATEGORIES",
3175
- /** Saved automatically */
3176
- AUTO_SAVE = "AUTO_SAVE",
3177
- /** Copied from template */
3178
- COPY_TEMPLATE = "COPY_TEMPLATE",
3179
- /** Imported */
3180
- IMPORT = "IMPORT",
3181
- /** Imported in bulk */
3182
- IMPORT_BULK = "IMPORT_BULK",
3183
- /** Imported with html import */
3184
- IMPORT_HTML = "IMPORT_HTML",
3185
- /** Patch import */
3186
- IMPORT_PATCH = "IMPORT_PATCH",
3187
- /** Changed language */
3188
- LANGUAGE_CHANGE = "LANGUAGE_CHANGE",
3189
- /** Saved manually */
3190
- MANUAL_SAVE = "MANUAL_SAVE",
3191
- /** Affected by migration */
3192
- MIGRATION = "MIGRATION",
3193
- /** Affected by moderation */
3194
- MODERATION = "MODERATION",
3195
- /** Moved to trash */
3196
- MOVE_TO_TRASH = "MOVE_TO_TRASH",
3197
- /** Pricing plans were changed */
3198
- PRICING_PLANS_CHANGE = "PRICING_PLANS_CHANGE",
3199
- /** Was provisioned */
3200
- PROVISION = "PROVISION",
3201
- /** Was published */
3202
- PUBLISH = "PUBLISH",
3203
- /** Owner was reassigned */
3204
- REASSIGN_OWNER = "REASSIGN_OWNER",
3205
- /** Was reblogged */
3206
- REBLOG = "REBLOG",
3207
- /** Was restored */
3208
- RESTORE = "RESTORE",
3209
- /** Reverted to draft */
3210
- REVERT_TO_DRAFT = "REVERT_TO_DRAFT",
3211
- /** Was translated */
3212
- TRANSLATION = "TRANSLATION",
3213
- /** Was unpublished */
3214
- UNPUBLISH = "UNPUBLISH",
3215
- /** Was unscheduled */
3216
- UNSCHEDULE = "UNSCHEDULE",
3217
- /** New edit session started which updated editing_session_id id */
3218
- NEW_EDIT_SESSION = "NEW_EDIT_SESSION",
3219
- /** Was scheduled by Later */
3220
- SCHEDULING_SERVICE_SCHEDULE = "SCHEDULING_SERVICE_SCHEDULE",
3221
- /** Was unscheduled by Later */
3222
- SCHEDULING_SERVICE_UNSCHEDULE = "SCHEDULING_SERVICE_UNSCHEDULE",
3223
- /** Was published by Later */
3224
- SCHEDULING_SERVICE_PUBLISH = "SCHEDULING_SERVICE_PUBLISH",
3225
- /** Was scheduled */
3226
- SCHEDULE = "SCHEDULE",
3227
- /** Was removed from moderation */
3228
- REMOVE_FROM_MODERATION = "REMOVE_FROM_MODERATION",
3229
- /** Was rejected from moderation */
3230
- REJECT_FROM_MODERATION = "REJECT_FROM_MODERATION",
3231
- /** Was approved in moderation */
3232
- APPROVE_IN_MODERATION = "APPROVE_IN_MODERATION",
3233
- /** Tag was deleted */
3234
- DELETE_TAG = "DELETE_TAG",
3235
- /** Post was pinned */
3236
- PIN = "PIN",
3237
- /** Post was unpinned */
3238
- UNPIN = "UNPIN",
3239
- /** Saved automatically by AI tool. */
3240
- AI_AUTO_SAVE = "AI_AUTO_SAVE"
3294
+ OLDEST = "OLDEST",
3295
+ NEWEST = "NEWEST"
3241
3296
  }
3242
3297
  /** @enumType */
3243
- type OriginWithLiterals = Origin | 'UNKNOWN' | 'ADMIN' | 'ADD_CATEGORIES' | 'AUTO_SAVE' | 'COPY_TEMPLATE' | 'IMPORT' | 'IMPORT_BULK' | 'IMPORT_HTML' | 'IMPORT_PATCH' | 'LANGUAGE_CHANGE' | 'MANUAL_SAVE' | 'MIGRATION' | 'MODERATION' | 'MOVE_TO_TRASH' | 'PRICING_PLANS_CHANGE' | 'PROVISION' | 'PUBLISH' | 'REASSIGN_OWNER' | 'REBLOG' | 'RESTORE' | 'REVERT_TO_DRAFT' | 'TRANSLATION' | 'UNPUBLISH' | 'UNSCHEDULE' | 'NEW_EDIT_SESSION' | 'SCHEDULING_SERVICE_SCHEDULE' | 'SCHEDULING_SERVICE_UNSCHEDULE' | 'SCHEDULING_SERVICE_PUBLISH' | 'SCHEDULE' | 'REMOVE_FROM_MODERATION' | 'REJECT_FROM_MODERATION' | 'APPROVE_IN_MODERATION' | 'DELETE_TAG' | 'PIN' | 'UNPIN' | 'AI_AUTO_SAVE';
3244
- declare enum Status {
3245
- UNKNOWN = "UNKNOWN",
3246
- /** Status indicating the draft post is published. */
3247
- PUBLISHED = "PUBLISHED",
3248
- /** Status indicating the draft post is unpublished. */
3249
- UNPUBLISHED = "UNPUBLISHED",
3250
- /** Status indicating the draft post is scheduled for publication. */
3251
- SCHEDULED = "SCHEDULED",
3252
- /** Status indicating the draft post is deleted. */
3253
- DELETED = "DELETED",
3254
- /** Status indicating the draft post is in review. */
3255
- IN_REVIEW = "IN_REVIEW"
3298
+ type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
3299
+ /** Get Blog Post Count Stats response */
3300
+ interface QueryPostCountStatsResponse {
3301
+ /** List of published post counts by month. */
3302
+ stats?: PeriodPostCount[];
3256
3303
  }
3257
- /** @enumType */
3258
- type StatusWithLiterals = Status | 'UNKNOWN' | 'PUBLISHED' | 'UNPUBLISHED' | 'SCHEDULED' | 'DELETED' | 'IN_REVIEW';
3259
- interface DraftPostTranslation {
3260
- /**
3261
- * Post ID.
3262
- * @format GUID
3263
- */
3264
- _id?: string;
3265
- /** Post status. */
3266
- status?: StatusWithLiterals;
3304
+ /** Post count for a specific time period */
3305
+ interface PeriodPostCount {
3306
+ /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3307
+ periodStart?: Date | null;
3308
+ /** Number of posts published during this month. */
3309
+ postCount?: number;
3310
+ }
3311
+ interface GetTotalPublicationsRequest {
3267
3312
  /**
3268
- * Language the post is written in.
3313
+ * Language filter
3314
+ * @minLength 2
3269
3315
  * @format LANGUAGE_TAG
3270
3316
  */
3271
3317
  language?: string | null;
3318
+ }
3319
+ interface GetTotalPublicationsResponse {
3320
+ /** Total amount of publications. */
3321
+ total?: number;
3322
+ }
3323
+ interface GetTotalPostsRequest {
3272
3324
  /**
3273
- * Post slug. For example, 'post-slug'.
3274
- * @maxLength 100
3325
+ * Language filter.
3326
+ *
3327
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3328
+ * Pass a language to receive the total amount of posts in that specified language.
3329
+ * @format LANGUAGE_TAG
3275
3330
  */
3276
- slug?: string | null;
3277
- /** SEO data. */
3278
- seoData?: SeoSchema;
3279
- /** Post URL. */
3280
- url?: string;
3331
+ language?: string | null;
3332
+ }
3333
+ interface GetTotalPostsResponse {
3334
+ /** Total amount of published posts. */
3335
+ total?: number;
3281
3336
  }
3282
3337
  interface GetTotalLikesPerMemberRequest {
3283
3338
  /**
@@ -4099,14 +4154,13 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
4099
4154
  /**
4100
4155
  * Retrieves the number of published posts per month within a specified time range.
4101
4156
  *
4102
- *
4103
- * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
4104
- *
4105
- * 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.
4106
- *
4107
- * >**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.
4157
+ * The time range is set using the `rangeStart` and `months` properties.
4158
+ * The time range always starts on the 1st day of the month set in `rangeStart` and
4159
+ * includes the number of `months` following `rangeStart`.
4160
+ * For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
4161
+ * the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range always ends on the last day of the month.
4162
+ * > Note: If there are no published posts in a month within the time range, 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.
4108
4163
  * @public
4109
- * @param options - Options specifying time frame, sort, and filter.
4110
4164
  * @permissionId BLOG.READ-PUBLICATION
4111
4165
  * @applicableIdentity APP
4112
4166
  * @returns Get Blog Post Count Stats response
@@ -4147,7 +4201,6 @@ interface QueryPostCountStatsOptions {
4147
4201
  /**
4148
4202
  * Retrieves the total amount of published posts of the blog.
4149
4203
  * @public
4150
- * @param options - Language Options.
4151
4204
  * @permissionId BLOG.READ-PUBLICATION
4152
4205
  * @applicableIdentity APP
4153
4206
  * @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
@@ -4168,12 +4221,12 @@ interface GetTotalPostsOptions {
4168
4221
  * @param postId - Post ID.
4169
4222
  * @public
4170
4223
  * @requiredField postId
4171
- * @param options - Options specifying which fields to return.
4172
4224
  * @permissionId BLOG.READ-PUBLICATION
4173
4225
  * @applicableIdentity APP
4226
+ * @returns Retrieved post info.
4174
4227
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
4175
4228
  */
4176
- declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<GetPostResponse, `post._id` | `post.title` | `post.excerpt` | `post.slug` | `post.featured` | `post.pinned` | `post.categoryIds` | `post.memberId` | `post.hashtags` | `post.commentingEnabled` | `post.minutesToRead` | `post.tagIds` | `post.relatedPostIds` | `post.pricingPlanIds` | `post.seoData.tags` | `post.seoData.tags.${number}.type` | `post.seoData.tags.${number}.children` | `post.seoData.tags.${number}.custom` | `post.seoData.tags.${number}.disabled` | `post.seoData.settings.preventAutoRedirect` | `post.seoData.settings.keywords` | `post.seoData.settings.keywords.${number}.term` | `post.seoData.settings.keywords.${number}.isMain` | `post.preview` | `post.moderationDetails.submittedBy` | `post.moderationDetails.status` | `post.media.embedMedia.thumbnail.url` | `post.media.embedMedia.thumbnail.width` | `post.media.embedMedia.thumbnail.height` | `post.media.embedMedia.video.url` | `post.media.embedMedia.video.width` | `post.media.embedMedia.video.height` | `post.media.displayed` | `post.media.custom` | `post.hasUnpublishedChanges`, 7>>;
4229
+ declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<Post, `_id` | `title` | `excerpt` | `slug` | `featured` | `pinned` | `categoryIds` | `memberId` | `hashtags` | `commentingEnabled` | `minutesToRead` | `tagIds` | `relatedPostIds` | `pricingPlanIds` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `preview` | `moderationDetails.submittedBy` | `moderationDetails.status` | `media.embedMedia.thumbnail.url` | `media.embedMedia.thumbnail.width` | `media.embedMedia.thumbnail.height` | `media.embedMedia.video.url` | `media.embedMedia.video.width` | `media.embedMedia.video.height` | `media.displayed` | `media.custom` | `hasUnpublishedChanges`, 6>>;
4177
4230
  interface GetPostOptions {
4178
4231
  /**
4179
4232
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -4193,7 +4246,6 @@ interface GetPostOptions {
4193
4246
  * @param slug - Slug of the post to retrieve.
4194
4247
  * @public
4195
4248
  * @requiredField slug
4196
- * @param options - Options specifying which fields to return.
4197
4249
  * @permissionId BLOG.READ-PUBLICATION
4198
4250
  * @applicableIdentity APP
4199
4251
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
@@ -4221,7 +4273,6 @@ interface GetPostBySlugOptions {
4221
4273
  * - `paging.limit` is `50`.
4222
4274
  * - `paging.offset` is `0`.
4223
4275
  * @public
4224
- * @param options - Sort, filter, and paging options.
4225
4276
  * @permissionId BLOG.READ-PUBLICATION
4226
4277
  * @applicableIdentity APP
4227
4278
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
@@ -4292,26 +4343,18 @@ interface ListPostsOptions {
4292
4343
  fieldsets?: PostFieldFieldWithLiterals[];
4293
4344
  }
4294
4345
  /**
4295
- * Creates a query to retrieve a list of posts.
4296
- *
4346
+ * Retrieves a list of up to 100 posts, given the provided paging, filtering, and sorting.
4297
4347
  *
4298
- * The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
4299
- *
4300
- * The returned object contains the query definition which is typically used to run the query using the `find()` function.
4301
- *
4302
- * You can refine the query by chaining `PostsQueryBuilder` functions onto the query. `PostsQueryBuilder` functions enable you to sort, filter, and control the results that `queryPosts()` returns.
4303
- *
4304
- * `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
4305
- * + `limit(50)`
4306
- * + `descending('firstPublishedDate')`
4307
- *
4308
- * Note that the default limit is `'50'`, but the max limit is `'100'`.
4309
- *
4310
- * To learn how to query posts, refer to the table below.
4348
+ * Query Posts runs with these defaults, which you can override:
4349
+ * - `firstPublishedDate` is sorted in descending order, with pinned posts first.
4350
+ * - `paging.limit` is `50`.
4351
+ * - `paging.offset` is `0`.
4311
4352
  *
4312
- * The following `PostsQueryBuilder` functions are supported for the `queryPosts()` function. For a full description of the Posts object, see the object returned for the `items` property in `PostsQueryResult`.
4353
+ * To learn about working with _Query_ endpoints, see
4354
+ * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
4355
+ * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and
4356
+ * [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
4313
4357
  * @public
4314
- * @param options - Options specifying which fields to return.
4315
4358
  * @permissionId BLOG.READ-PUBLICATION
4316
4359
  * @applicableIdentity APP
4317
4360
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
@@ -4587,4 +4630,4 @@ declare const utils: {
4587
4630
  */
4588
4631
  declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
4589
4632
 
4590
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerOrigin, type BannerOriginWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkDeletePostsRequest, type BulkDeletePostsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, type CreateDraftPostFromTemplateRequest, type CreateDraftPostFromTemplateResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePostRequest, type DeletePostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftPost, type DraftPostTranslation, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostCountPerMonthRequest, type GetPostCountPerMonthResponse, type GetPostCountsRequest, type GetPostCountsResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostTemplatesSort, type GetPostTemplatesSortWithLiterals, GetPostsSort, type GetPostsSortWithLiterals, type GetTemplateRequest, type GetTemplateResponse, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, type ListTemplatesRequest, type ListTemplatesResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCount, type PostCountInfo, type PostCountPerMonth, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostQuery, type PostQuerySpec, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type PricingData, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type ScheduledPostPublished, type SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts, utils };
4633
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerOrigin, type BannerOriginWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkDeletePostsRequest, type BulkDeletePostsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, type CreateDraftPostFromTemplateRequest, type CreateDraftPostFromTemplateResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePostRequest, type DeletePostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftPost, type DraftPostTranslation, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostCountPerMonthRequest, type GetPostCountPerMonthResponse, type GetPostCountsRequest, type GetPostCountsResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostTemplatesSort, type GetPostTemplatesSortWithLiterals, GetPostsSort, type GetPostsSortWithLiterals, type GetTemplateRequest, type GetTemplateResponse, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListTemplatesRequest, type ListTemplatesResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCount, type PostCountInfo, type PostCountPerMonth, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostQuery, type PostQuerySpec, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type PricingData, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type ScheduledPostPublished, type SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts, utils };