@wix/auto_sdk_blog_posts 1.0.159 → 1.0.160

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 (49) hide show
  1. package/build/cjs/index.d.ts +15 -11
  2. package/build/cjs/index.js +31 -85
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +154 -534
  5. package/build/cjs/index.typings.js +21 -80
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +125 -517
  8. package/build/cjs/meta.js +15 -74
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +86 -84
  11. package/build/cjs/schemas.js +153 -147
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +15 -11
  14. package/build/es/index.mjs +31 -82
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +154 -534
  17. package/build/es/index.typings.mjs +21 -77
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +125 -517
  20. package/build/es/meta.mjs +15 -71
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +86 -84
  23. package/build/es/schemas.mjs +153 -147
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +15 -11
  26. package/build/internal/cjs/index.js +31 -85
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +154 -534
  29. package/build/internal/cjs/index.typings.js +21 -80
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +125 -517
  32. package/build/internal/cjs/meta.js +15 -74
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +86 -84
  35. package/build/internal/cjs/schemas.js +153 -147
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +15 -11
  38. package/build/internal/es/index.mjs +31 -82
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +154 -534
  41. package/build/internal/es/index.typings.mjs +21 -77
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +125 -517
  44. package/build/internal/es/meta.mjs +15 -71
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +86 -84
  47. package/build/internal/es/schemas.mjs +153 -147
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -2190,14 +2190,14 @@ declare enum ImagePosition {
2190
2190
  }
2191
2191
  /** @enumType */
2192
2192
  type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
2193
- declare enum BannerOrigin {
2193
+ declare enum Origin {
2194
2194
  /** Banner originated from an image */
2195
2195
  IMAGE = "IMAGE",
2196
2196
  /** Banner originated from a layout */
2197
2197
  LAYOUT = "LAYOUT"
2198
2198
  }
2199
2199
  /** @enumType */
2200
- type BannerOriginWithLiterals = BannerOrigin | 'IMAGE' | 'LAYOUT';
2200
+ type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';
2201
2201
  declare enum BannerPosition {
2202
2202
  /** Attached to the top edge (banner) */
2203
2203
  TOP = "TOP",
@@ -2262,7 +2262,7 @@ declare enum DesignTarget {
2262
2262
  type DesignTargetWithLiterals = DesignTarget | 'LAYOUT' | 'CELL';
2263
2263
  interface Banner {
2264
2264
  /** Origin of the banner */
2265
- origin?: BannerOriginWithLiterals;
2265
+ origin?: OriginWithLiterals;
2266
2266
  /** Position of the banner */
2267
2267
  position?: BannerPositionWithLiterals;
2268
2268
  }
@@ -2604,7 +2604,7 @@ interface ModerationDetails {
2604
2604
  /** Date the post was submitted for review. */
2605
2605
  submittedDate?: Date | null;
2606
2606
  /** Status indicating whether the submission was approved or rejected by the moderator. */
2607
- status?: ModerationStatusStatusWithLiterals;
2607
+ status?: StatusWithLiterals;
2608
2608
  /**
2609
2609
  * Member ID of the person who approved or rejected the post.
2610
2610
  * @format GUID
@@ -2613,13 +2613,13 @@ interface ModerationDetails {
2613
2613
  /** Date the post was approved or rejected. */
2614
2614
  moderationDate?: Date | null;
2615
2615
  }
2616
- declare enum ModerationStatusStatus {
2616
+ declare enum Status {
2617
2617
  UNKNOWN = "UNKNOWN",
2618
2618
  APPROVED = "APPROVED",
2619
2619
  REJECTED = "REJECTED"
2620
2620
  }
2621
2621
  /** @enumType */
2622
- type ModerationStatusStatusWithLiterals = ModerationStatusStatus | 'UNKNOWN' | 'APPROVED' | 'REJECTED';
2622
+ type StatusWithLiterals = Status | 'UNKNOWN' | 'APPROVED' | 'REJECTED';
2623
2623
  interface Media extends MediaMediaOneOf {
2624
2624
  /** Wix Media details. */
2625
2625
  wixMedia?: WixMedia;
@@ -2817,433 +2817,125 @@ interface PostUnlikedInitiatorOneOf {
2817
2817
  */
2818
2818
  anonymousVisitorId?: string | null;
2819
2819
  }
2820
- interface ListTemplatesRequest {
2821
- /**
2822
- * Filter post templates by given template category ids
2823
- * @maxSize 50
2824
- * @format GUID
2825
- */
2826
- categoryIds?: string[];
2827
- /**
2828
- * Filter post templates by provided language
2829
- * @format LANGUAGE_TAG
2830
- */
2831
- language?: string | null;
2832
- /** Returns post template categories when set to TRUE */
2833
- listTemplateCategories?: boolean;
2834
- /** Sort order by ascending/descending publish date. Default is ascending publish date sort */
2835
- sort?: GetPostTemplatesSortWithLiterals;
2836
- /** Pagination options. */
2837
- paging?: BlogPaging;
2838
- }
2839
- declare enum GetPostTemplatesSort {
2840
- /** Sort by ascending publishing date. */
2841
- PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
2842
- /** Sort by descending publishing date. */
2843
- PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
2844
- }
2845
- /** @enumType */
2846
- type GetPostTemplatesSortWithLiterals = GetPostTemplatesSort | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC';
2847
- interface BlogPaging {
2848
- /**
2849
- * Number of items to skip in the current sort order.
2850
- *
2851
- *
2852
- * Default: `0`
2853
- */
2854
- offset?: number;
2855
- /**
2856
- * Number of items to return.
2857
- *
2858
- *
2859
- * Default:`50`
2860
- * @min 1
2861
- * @max 100
2862
- */
2863
- limit?: number;
2864
- /**
2865
- * Pointer to the next or previous page in the list of results.
2866
- * @maxLength 2000
2867
- */
2868
- cursor?: string | null;
2869
- }
2870
- interface ListTemplatesResponse {
2871
- /** Available post templates */
2872
- postTemplates?: Post[];
2873
- /** Details on the paged set of posts templates returned. */
2874
- postTemplatesMetaData?: MetaData;
2875
- /** Post template categories. This value is returned empty unless asked explicitly */
2876
- templateCategories?: Category[];
2877
- }
2878
- interface MetaData {
2879
- /** Number of items returned in this response. */
2880
- count?: number;
2881
- /** Requested offset. */
2882
- offset?: number;
2883
- /** Total number of items that match the query. */
2884
- total?: number;
2885
- /**
2886
- * Pointer to the next or previous page in the list of results.
2887
- * @maxLength 2000
2888
- */
2889
- cursor?: string | null;
2890
- }
2891
- interface Category {
2892
- /**
2893
- * Category ID.
2894
- * @immutable
2895
- * @maxLength 38
2896
- */
2897
- _id?: string;
2898
- /**
2899
- * Category label. Displayed in the Category Menu.
2900
- * @maxLength 35
2901
- */
2902
- label?: string;
2903
- /**
2904
- * Number of posts in the category.
2905
- * @readonly
2906
- */
2907
- postCount?: number;
2908
- /**
2909
- * The `url` of the page that lists every post with the specified category.
2910
- * @readonly
2911
- */
2912
- url?: string;
2913
- /**
2914
- * Category description.
2915
- * @maxLength 500
2916
- */
2917
- description?: string | null;
2918
- /**
2919
- * Category title.
2920
- * @maxLength 200
2921
- * @deprecated Category title.
2922
- * @targetRemovalDate 2025-07-16
2923
- */
2924
- title?: string;
2925
- /**
2926
- * Position of the category in the [Category Menu](https://support.wix.com/en/article/wix-blog-adding-and-customizing-a-category-menu).
2927
- * Categories are displayed in ascending order. Categories with a position of `-1` appear at the end of the sequence.
2928
- *
2929
- * Default: `-1`
2930
- */
2931
- displayPosition?: number | null;
2932
- /**
2933
- * ID of the category's translations. All translations of a single category share the same `translationId`.
2934
- * @format GUID
2935
- */
2936
- translationId?: string | null;
2820
+ /** Get Blog Publications Count Stats request */
2821
+ interface QueryPublicationsCountStatsRequest {
2822
+ /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2823
+ rangeStart?: Date | null;
2824
+ /** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2825
+ rangeEnd?: Date | null;
2826
+ /** Order of the returned results. */
2827
+ order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
2828
+ /** Number of months to include in the response. */
2829
+ months?: number;
2937
2830
  /**
2938
- * Category language.
2831
+ * Language filter
2939
2832
  *
2940
2833
  * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2941
- * @immutable
2942
- */
2943
- language?: string | null;
2944
- /**
2945
- * Part of a category's URL that refers to a specific category. For example, the slug of `https:/example.com/blog/category/famous-cats` is `famous-cats`.
2946
- * @maxLength 100
2947
- */
2948
- slug?: string;
2949
- /** SEO data. */
2950
- seoData?: SeoSchema;
2951
- /** Category cover image. */
2952
- coverImage?: string;
2953
- /**
2954
- * Date and time the Category was last updated.
2955
- * @readonly
2956
- */
2957
- _updatedDate?: Date | null;
2958
- }
2959
- interface CategoryTranslation {
2960
- /**
2961
- * Category ID.
2962
- * @format GUID
2963
- */
2964
- _id?: string;
2965
- /**
2966
- * Label displayed in the categories menu on the site.
2967
- * @maxLength 100
2968
- */
2969
- label?: string | null;
2970
- /**
2971
- * Language of the category.
2972
2834
  * @format LANGUAGE_TAG
2973
2835
  */
2974
2836
  language?: string | null;
2975
- /** URL of this category page. */
2976
- url?: string;
2977
- }
2978
- interface GetTemplateRequest {
2979
2837
  /**
2980
- * Post template id
2981
- * @format GUID
2838
+ * Timezone of the client.
2839
+ * @minLength 3
2840
+ * @maxLength 100
2982
2841
  */
2983
- postTemplateId?: string;
2842
+ timeZone?: string | null;
2984
2843
  }
2985
- interface GetTemplateResponse {
2986
- /** Post template */
2987
- postTemplate?: Post;
2844
+ declare enum QueryPublicationsCountStatsRequestOrder {
2845
+ UNKNOWN = "UNKNOWN",
2846
+ OLDEST = "OLDEST",
2847
+ NEWEST = "NEWEST"
2988
2848
  }
2989
- interface CreateDraftPostFromTemplateRequest {
2990
- /**
2991
- * Post template id
2992
- * @format GUID
2993
- */
2994
- postTemplateId?: string;
2849
+ /** @enumType */
2850
+ type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
2851
+ /** Get Blog Publications Count Stats response */
2852
+ interface QueryPublicationsCountStatsResponse {
2853
+ /** Chronologically ordered list of publications. */
2854
+ stats?: PeriodPublicationsCount[];
2995
2855
  }
2996
- interface CreateDraftPostFromTemplateResponse {
2997
- /** Created draft post */
2998
- draftPost?: DraftPost;
2856
+ /** Publications count for a specific time period */
2857
+ interface PeriodPublicationsCount {
2858
+ /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2859
+ periodStart?: Date | null;
2860
+ /** Number of posts published during this month. */
2861
+ publicationsCount?: number;
2999
2862
  }
3000
- interface DraftPost {
3001
- /**
3002
- * Draft post ID.
3003
- * @readonly
3004
- * @maxLength 38
3005
- */
3006
- _id?: string;
3007
- /**
3008
- * Draft post title.
3009
- * @maxLength 200
3010
- */
3011
- title?: string;
2863
+ /** Get Blog Post Count Stats request */
2864
+ interface QueryPostCountStatsRequest {
2865
+ /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2866
+ rangeStart?: Date | null;
3012
2867
  /**
3013
- * Draft post excerpt.
2868
+ * Order of returned results.
3014
2869
  *
3015
- * If no excerpt has been manually set, an excerpt is automatically generated from the post's text.
3016
- * This can be retrieved using the `GENERATED_EXCERPT` fieldset.
3017
- * @maxLength 500
3018
- */
3019
- excerpt?: string | null;
3020
- /** Whether the draft post is marked as featured. */
3021
- featured?: boolean | null;
3022
- /**
3023
- * Category IDs of the draft post.
3024
- * @maxSize 10
3025
- * @maxLength 38
3026
- */
3027
- categoryIds?: string[];
3028
- /**
3029
- * Draft post owner's member ID.
3030
- * @format GUID
3031
- */
3032
- memberId?: string | null;
3033
- /**
3034
- * Hashtags in the post.
3035
- * @maxSize 100
3036
- * @maxLength 100
3037
- */
3038
- hashtags?: string[];
3039
- /** Whether commenting on the draft post is enabled. */
3040
- commentingEnabled?: boolean | null;
3041
- /**
3042
- * Estimated reading time of the draft post (calculated automatically).
3043
- * @readonly
3044
- */
3045
- minutesToRead?: number;
3046
- /** Image placed at the top of the blog page. */
3047
- heroImage?: string;
3048
- /**
3049
- * Tag IDs the draft post is tagged with.
3050
- * @maxSize 30
3051
- * @maxLength 38
3052
- */
3053
- tagIds?: string[];
3054
- /**
3055
- * IDs of posts related to this draft post.
3056
- * @maxSize 3
3057
- * @maxLength 38
3058
- */
3059
- relatedPostIds?: string[];
3060
- /**
3061
- * Pricing plan IDs. Only relevant if a post is assigned to a specific pricing plan. See the Pricing Plans API for more info.
3062
- * @maxSize 100
3063
- * @format GUID
3064
- */
3065
- pricingPlanIds?: string[];
3066
- /**
3067
- * ID of the draft post's translations.
2870
+ * - `OLDEST`: posts by date in ascending order.
2871
+ * - `NEWEST`: posts by date in descending order.
3068
2872
  *
3069
- * All translations of a single post share the same `translationId`.
3070
- * Available only if the [Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) app is installed.
3071
- * @format GUID
2873
+ * Default: `OLDEST`
3072
2874
  */
3073
- translationId?: string | null;
2875
+ order?: OrderWithLiterals;
2876
+ /** Number of months to include in response. */
2877
+ months?: number;
3074
2878
  /**
3075
- * Language the draft post is written in.
2879
+ * Language filter.
3076
2880
  *
3077
2881
  * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2882
+ * Pass a language to only receive the period post count for that specified language.
3078
2883
  * @format LANGUAGE_TAG
3079
2884
  */
3080
2885
  language?: string | null;
3081
2886
  /**
3082
- * Draft Post rich content.
2887
+ * Time zone to use when calculating the start of the month.
3083
2888
  *
3084
- * <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">
3085
- * <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a>
3086
- * </widget>
3087
- */
3088
- richContent?: RichContent;
3089
- /**
3090
- * Status of the draft post.
3091
- * @readonly
3092
- */
3093
- status?: StatusWithLiterals;
3094
- /** Details of the draft post in review. Only relevant to posts submitted by guest writers. */
3095
- moderationDetails?: ModerationDetails;
3096
- /**
3097
- * Indicates if there are changes made to the draft post that have not yet been published.
3098
- * @readonly
3099
- */
3100
- hasUnpublishedChanges?: boolean;
3101
- /**
3102
- * Date the draft post was last edited.
3103
- * @readonly
3104
- */
3105
- editedDate?: Date | null;
3106
- /**
3107
- * Date the draft post is scheduled to be published.
3108
- * @readonly
3109
- */
3110
- scheduledPublishDate?: Date | null;
3111
- /** Date the post was first published. */
3112
- firstPublishedDate?: Date | null;
3113
- /** SEO data. */
3114
- seoData?: SeoSchema;
3115
- /**
3116
- * Draft post URL preview. What the URL will look like once the post is published.
3117
- * @readonly
3118
- */
3119
- url?: string;
3120
- /**
3121
- * Date the draft post was first created.
3122
- * @readonly
3123
- */
3124
- _createdDate?: Date | null;
3125
- /**
3126
- * SEO slug.
2889
+ * [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
2890
+ * @minLength 3
3127
2891
  * @maxLength 100
3128
2892
  */
3129
- seoSlug?: string | null;
3130
- /** Post cover media. */
3131
- media?: Media;
3132
- /** Number of paragraphs to display in a paid content preview for non-paying users. */
3133
- previewTextParagraph?: number | null;
2893
+ timeZone?: string | null;
3134
2894
  }
3135
- declare enum Origin {
2895
+ declare enum Order {
3136
2896
  UNKNOWN = "UNKNOWN",
3137
- /** Changed by admin */
3138
- ADMIN = "ADMIN",
3139
- /** Categories were changed */
3140
- ADD_CATEGORIES = "ADD_CATEGORIES",
3141
- /** Saved automatically */
3142
- AUTO_SAVE = "AUTO_SAVE",
3143
- /** Copied from template */
3144
- COPY_TEMPLATE = "COPY_TEMPLATE",
3145
- /** Imported */
3146
- IMPORT = "IMPORT",
3147
- /** Imported in bulk */
3148
- IMPORT_BULK = "IMPORT_BULK",
3149
- /** Imported with html import */
3150
- IMPORT_HTML = "IMPORT_HTML",
3151
- /** Patch import */
3152
- IMPORT_PATCH = "IMPORT_PATCH",
3153
- /** Changed language */
3154
- LANGUAGE_CHANGE = "LANGUAGE_CHANGE",
3155
- /** Saved manually */
3156
- MANUAL_SAVE = "MANUAL_SAVE",
3157
- /** Affected by migration */
3158
- MIGRATION = "MIGRATION",
3159
- /** Affected by moderation */
3160
- MODERATION = "MODERATION",
3161
- /** Moved to trash */
3162
- MOVE_TO_TRASH = "MOVE_TO_TRASH",
3163
- /** Pricing plans were changed */
3164
- PRICING_PLANS_CHANGE = "PRICING_PLANS_CHANGE",
3165
- /** Was provisioned */
3166
- PROVISION = "PROVISION",
3167
- /** Was published */
3168
- PUBLISH = "PUBLISH",
3169
- /** Owner was reassigned */
3170
- REASSIGN_OWNER = "REASSIGN_OWNER",
3171
- /** Was reblogged */
3172
- REBLOG = "REBLOG",
3173
- /** Was restored */
3174
- RESTORE = "RESTORE",
3175
- /** Reverted to draft */
3176
- REVERT_TO_DRAFT = "REVERT_TO_DRAFT",
3177
- /** Was translated */
3178
- TRANSLATION = "TRANSLATION",
3179
- /** Was unpublished */
3180
- UNPUBLISH = "UNPUBLISH",
3181
- /** Was unscheduled */
3182
- UNSCHEDULE = "UNSCHEDULE",
3183
- /** New edit session started which updated editing_session_id id */
3184
- NEW_EDIT_SESSION = "NEW_EDIT_SESSION",
3185
- /** Was scheduled by Later */
3186
- SCHEDULING_SERVICE_SCHEDULE = "SCHEDULING_SERVICE_SCHEDULE",
3187
- /** Was unscheduled by Later */
3188
- SCHEDULING_SERVICE_UNSCHEDULE = "SCHEDULING_SERVICE_UNSCHEDULE",
3189
- /** Was published by Later */
3190
- SCHEDULING_SERVICE_PUBLISH = "SCHEDULING_SERVICE_PUBLISH",
3191
- /** Was scheduled */
3192
- SCHEDULE = "SCHEDULE",
3193
- /** Was removed from moderation */
3194
- REMOVE_FROM_MODERATION = "REMOVE_FROM_MODERATION",
3195
- /** Was rejected from moderation */
3196
- REJECT_FROM_MODERATION = "REJECT_FROM_MODERATION",
3197
- /** Was approved in moderation */
3198
- APPROVE_IN_MODERATION = "APPROVE_IN_MODERATION",
3199
- /** Tag was deleted */
3200
- DELETE_TAG = "DELETE_TAG",
3201
- /** Post was pinned */
3202
- PIN = "PIN",
3203
- /** Post was unpinned */
3204
- UNPIN = "UNPIN",
3205
- /** Saved automatically by AI tool. */
3206
- AI_AUTO_SAVE = "AI_AUTO_SAVE"
2897
+ OLDEST = "OLDEST",
2898
+ NEWEST = "NEWEST"
3207
2899
  }
3208
2900
  /** @enumType */
3209
- 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';
3210
- declare enum Status {
3211
- UNKNOWN = "UNKNOWN",
3212
- /** Status indicating the draft post is published. */
3213
- PUBLISHED = "PUBLISHED",
3214
- /** Status indicating the draft post is unpublished. */
3215
- UNPUBLISHED = "UNPUBLISHED",
3216
- /** Status indicating the draft post is scheduled for publication. */
3217
- SCHEDULED = "SCHEDULED",
3218
- /** Status indicating the draft post is deleted. */
3219
- DELETED = "DELETED",
3220
- /** Status indicating the draft post is in review. */
3221
- IN_REVIEW = "IN_REVIEW"
2901
+ type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
2902
+ /** Get Blog Post Count Stats response */
2903
+ interface QueryPostCountStatsResponse {
2904
+ /** List of published post counts by month. */
2905
+ stats?: PeriodPostCount[];
3222
2906
  }
3223
- /** @enumType */
3224
- type StatusWithLiterals = Status | 'UNKNOWN' | 'PUBLISHED' | 'UNPUBLISHED' | 'SCHEDULED' | 'DELETED' | 'IN_REVIEW';
3225
- interface DraftPostTranslation {
3226
- /**
3227
- * Post ID.
3228
- * @format GUID
3229
- */
3230
- _id?: string;
3231
- /** Post status. */
3232
- status?: StatusWithLiterals;
2907
+ /** Post count for a specific time period */
2908
+ interface PeriodPostCount {
2909
+ /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2910
+ periodStart?: Date | null;
2911
+ /** Number of posts published during this month. */
2912
+ postCount?: number;
2913
+ }
2914
+ interface GetTotalPublicationsRequest {
3233
2915
  /**
3234
- * Language the post is written in.
2916
+ * Language filter
2917
+ * @minLength 2
3235
2918
  * @format LANGUAGE_TAG
3236
2919
  */
3237
2920
  language?: string | null;
2921
+ }
2922
+ interface GetTotalPublicationsResponse {
2923
+ /** Total amount of publications. */
2924
+ total?: number;
2925
+ }
2926
+ interface GetTotalPostsRequest {
3238
2927
  /**
3239
- * Post slug. For example, 'post-slug'.
3240
- * @maxLength 100
2928
+ * Language filter.
2929
+ *
2930
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2931
+ * Pass a language to receive the total amount of posts in that specified language.
2932
+ * @format LANGUAGE_TAG
3241
2933
  */
3242
- slug?: string | null;
3243
- /** SEO data. */
3244
- seoData?: SeoSchema;
3245
- /** Post URL. */
3246
- url?: string;
2934
+ language?: string | null;
2935
+ }
2936
+ interface GetTotalPostsResponse {
2937
+ /** Total amount of published posts. */
2938
+ total?: number;
3247
2939
  }
3248
2940
  interface DomainEvent extends DomainEventBodyOneOf {
3249
2941
  createdEvent?: EntityCreatedEvent;
@@ -3398,126 +3090,6 @@ interface AccountInfo {
3398
3090
  */
3399
3091
  siteId?: string | null;
3400
3092
  }
3401
- /** Get Blog Publications Count Stats request */
3402
- interface QueryPublicationsCountStatsRequest {
3403
- /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3404
- rangeStart?: Date | null;
3405
- /** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3406
- rangeEnd?: Date | null;
3407
- /** Order of the returned results. */
3408
- order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
3409
- /** Number of months to include in the response. */
3410
- months?: number;
3411
- /**
3412
- * Language filter
3413
- *
3414
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3415
- * @format LANGUAGE_TAG
3416
- */
3417
- language?: string | null;
3418
- /**
3419
- * Timezone of the client.
3420
- * @minLength 3
3421
- * @maxLength 100
3422
- */
3423
- timeZone?: string | null;
3424
- }
3425
- declare enum QueryPublicationsCountStatsRequestOrder {
3426
- UNKNOWN = "UNKNOWN",
3427
- OLDEST = "OLDEST",
3428
- NEWEST = "NEWEST"
3429
- }
3430
- /** @enumType */
3431
- type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
3432
- /** Get Blog Publications Count Stats response */
3433
- interface QueryPublicationsCountStatsResponse {
3434
- /** Chronologically ordered list of publications. */
3435
- stats?: PeriodPublicationsCount[];
3436
- }
3437
- /** Publications count for a specific time period */
3438
- interface PeriodPublicationsCount {
3439
- /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3440
- periodStart?: Date | null;
3441
- /** Number of posts published during this month. */
3442
- publicationsCount?: number;
3443
- }
3444
- /** Get Blog Post Count Stats request */
3445
- interface QueryPostCountStatsRequest {
3446
- /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3447
- rangeStart?: Date | null;
3448
- /**
3449
- * Order of returned results.
3450
- *
3451
- * - `OLDEST`: posts by date in ascending order.
3452
- * - `NEWEST`: posts by date in descending order.
3453
- *
3454
- * Default: `OLDEST`
3455
- */
3456
- order?: OrderWithLiterals;
3457
- /** Number of months to include in response. */
3458
- months?: number;
3459
- /**
3460
- * Language filter.
3461
- *
3462
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3463
- * Pass a language to only receive the period post count for that specified language.
3464
- * @format LANGUAGE_TAG
3465
- */
3466
- language?: string | null;
3467
- /**
3468
- * Time zone to use when calculating the start of the month.
3469
- *
3470
- * [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
3471
- * @minLength 3
3472
- * @maxLength 100
3473
- */
3474
- timeZone?: string | null;
3475
- }
3476
- declare enum Order {
3477
- UNKNOWN = "UNKNOWN",
3478
- OLDEST = "OLDEST",
3479
- NEWEST = "NEWEST"
3480
- }
3481
- /** @enumType */
3482
- type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
3483
- /** Get Blog Post Count Stats response */
3484
- interface QueryPostCountStatsResponse {
3485
- /** List of published post counts by month. */
3486
- stats?: PeriodPostCount[];
3487
- }
3488
- /** Post count for a specific time period */
3489
- interface PeriodPostCount {
3490
- /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3491
- periodStart?: Date | null;
3492
- /** Number of posts published during this month. */
3493
- postCount?: number;
3494
- }
3495
- interface GetTotalPublicationsRequest {
3496
- /**
3497
- * Language filter
3498
- * @minLength 2
3499
- * @format LANGUAGE_TAG
3500
- */
3501
- language?: string | null;
3502
- }
3503
- interface GetTotalPublicationsResponse {
3504
- /** Total amount of publications. */
3505
- total?: number;
3506
- }
3507
- interface GetTotalPostsRequest {
3508
- /**
3509
- * Language filter.
3510
- *
3511
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3512
- * Pass a language to receive the total amount of posts in that specified language.
3513
- * @format LANGUAGE_TAG
3514
- */
3515
- language?: string | null;
3516
- }
3517
- interface GetTotalPostsResponse {
3518
- /** Total amount of published posts. */
3519
- total?: number;
3520
- }
3521
3093
  interface GetTotalLikesPerMemberRequest {
3522
3094
  /**
3523
3095
  * Member ID.
@@ -3727,12 +3299,48 @@ declare enum GetPostsSort {
3727
3299
  }
3728
3300
  /** @enumType */
3729
3301
  type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
3302
+ interface BlogPaging {
3303
+ /**
3304
+ * Number of items to skip in the current sort order.
3305
+ *
3306
+ *
3307
+ * Default: `0`
3308
+ */
3309
+ offset?: number;
3310
+ /**
3311
+ * Number of items to return.
3312
+ *
3313
+ *
3314
+ * Default:`50`
3315
+ * @min 1
3316
+ * @max 100
3317
+ */
3318
+ limit?: number;
3319
+ /**
3320
+ * Pointer to the next or previous page in the list of results.
3321
+ * @maxLength 2000
3322
+ */
3323
+ cursor?: string | null;
3324
+ }
3730
3325
  interface ListPostsResponse {
3731
3326
  /** List of retrieved posts. */
3732
3327
  posts?: Post[];
3733
3328
  /** Details on the paged set of results returned. */
3734
3329
  metaData?: MetaData;
3735
3330
  }
3331
+ interface MetaData {
3332
+ /** Number of items returned in this response. */
3333
+ count?: number;
3334
+ /** Requested offset. */
3335
+ offset?: number;
3336
+ /** Total number of items that match the query. */
3337
+ total?: number;
3338
+ /**
3339
+ * Pointer to the next or previous page in the list of results.
3340
+ * @maxLength 2000
3341
+ */
3342
+ cursor?: string | null;
3343
+ }
3736
3344
  interface QueryPostsRequest {
3737
3345
  /** Query options. */
3738
3346
  query?: PlatformQuery;
@@ -4338,13 +3946,14 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
4338
3946
  /**
4339
3947
  * Retrieves the number of published posts per month within a specified time range.
4340
3948
  *
4341
- * The time range is set using the `rangeStart` and `months` properties.
4342
- * The time range always starts on the 1st day of the month set in `rangeStart` and
4343
- * includes the number of `months` following `rangeStart`.
4344
- * For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
4345
- * 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.
4346
- * > 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.
3949
+ *
3950
+ * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
3951
+ *
3952
+ * 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.
3953
+ *
3954
+ * >**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.
4347
3955
  * @public
3956
+ * @param options - Options specifying time frame, sort, and filter.
4348
3957
  * @permissionId BLOG.READ-PUBLICATION
4349
3958
  * @applicableIdentity APP
4350
3959
  * @returns Get Blog Post Count Stats response
@@ -4385,6 +3994,7 @@ interface QueryPostCountStatsOptions {
4385
3994
  /**
4386
3995
  * Retrieves the total amount of published posts of the blog.
4387
3996
  * @public
3997
+ * @param options - Language Options.
4388
3998
  * @permissionId BLOG.READ-PUBLICATION
4389
3999
  * @applicableIdentity APP
4390
4000
  * @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
@@ -4405,12 +4015,12 @@ interface GetTotalPostsOptions {
4405
4015
  * @param postId - Post ID.
4406
4016
  * @public
4407
4017
  * @requiredField postId
4018
+ * @param options - Options specifying which fields to return.
4408
4019
  * @permissionId BLOG.READ-PUBLICATION
4409
4020
  * @applicableIdentity APP
4410
- * @returns Retrieved post info.
4411
4021
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
4412
4022
  */
4413
- 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>>;
4023
+ 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>>;
4414
4024
  interface GetPostOptions {
4415
4025
  /**
4416
4026
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -4430,6 +4040,7 @@ interface GetPostOptions {
4430
4040
  * @param slug - Slug of the post to retrieve.
4431
4041
  * @public
4432
4042
  * @requiredField slug
4043
+ * @param options - Options specifying which fields to return.
4433
4044
  * @permissionId BLOG.READ-PUBLICATION
4434
4045
  * @applicableIdentity APP
4435
4046
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
@@ -4457,6 +4068,7 @@ interface GetPostBySlugOptions {
4457
4068
  * - `paging.limit` is `50`.
4458
4069
  * - `paging.offset` is `0`.
4459
4070
  * @public
4071
+ * @param options - Sort, filter, and paging options.
4460
4072
  * @permissionId BLOG.READ-PUBLICATION
4461
4073
  * @applicableIdentity APP
4462
4074
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
@@ -4527,18 +4139,26 @@ interface ListPostsOptions {
4527
4139
  fieldsets?: PostFieldFieldWithLiterals[];
4528
4140
  }
4529
4141
  /**
4530
- * Retrieves a list of up to 100 posts, given the provided paging, filtering, and sorting.
4142
+ * Creates a query to retrieve a list of posts.
4531
4143
  *
4532
- * Query Posts runs with these defaults, which you can override:
4533
- * - `firstPublishedDate` is sorted in descending order, with pinned posts first.
4534
- * - `paging.limit` is `50`.
4535
- * - `paging.offset` is `0`.
4536
4144
  *
4537
- * To learn about working with _Query_ endpoints, see
4538
- * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
4539
- * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and
4540
- * [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
4145
+ * The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
4146
+ *
4147
+ * The returned object contains the query definition which is typically used to run the query using the `find()` function.
4148
+ *
4149
+ * 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.
4150
+ *
4151
+ * `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
4152
+ * + `limit(50)`
4153
+ * + `descending('firstPublishedDate')`
4154
+ *
4155
+ * Note that the default limit is `'50'`, but the max limit is `'100'`.
4156
+ *
4157
+ * To learn how to query posts, refer to the table below.
4158
+ *
4159
+ * 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`.
4541
4160
  * @public
4161
+ * @param options - Options specifying which fields to return.
4542
4162
  * @permissionId BLOG.READ-PUBLICATION
4543
4163
  * @applicableIdentity APP
4544
4164
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
@@ -4804,4 +4424,4 @@ declare const utils: {
4804
4424
  */
4805
4425
  declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
4806
4426
 
4807
- 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, BannerPosition, type BannerPositionWithLiterals, 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 CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, 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 ListItemNodeData, 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, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, 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, Variant, type VariantWithLiterals, 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 };
4427
+ 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, BannerPosition, type BannerPositionWithLiterals, 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 CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, 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 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, GetPostsSort, type GetPostsSortWithLiterals, 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 ListItemNodeData, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, 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, 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, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, 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, Variant, type VariantWithLiterals, 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 };