@wix/auto_sdk_blog_posts 1.0.159 → 1.0.161

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 (41) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +15 -74
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +125 -517
  5. package/build/cjs/index.typings.js +15 -74
  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 +2 -2
  11. package/build/es/index.d.mts +1 -1
  12. package/build/es/index.mjs +15 -71
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +125 -517
  15. package/build/es/index.typings.mjs +15 -71
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +125 -517
  18. package/build/es/meta.mjs +15 -71
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/schemas.d.mts +2 -2
  21. package/build/internal/cjs/index.d.ts +1 -1
  22. package/build/internal/cjs/index.js +15 -74
  23. package/build/internal/cjs/index.js.map +1 -1
  24. package/build/internal/cjs/index.typings.d.ts +125 -517
  25. package/build/internal/cjs/index.typings.js +15 -74
  26. package/build/internal/cjs/index.typings.js.map +1 -1
  27. package/build/internal/cjs/meta.d.ts +125 -517
  28. package/build/internal/cjs/meta.js +15 -74
  29. package/build/internal/cjs/meta.js.map +1 -1
  30. package/build/internal/cjs/schemas.d.ts +2 -2
  31. package/build/internal/es/index.d.mts +1 -1
  32. package/build/internal/es/index.mjs +15 -71
  33. package/build/internal/es/index.mjs.map +1 -1
  34. package/build/internal/es/index.typings.d.mts +125 -517
  35. package/build/internal/es/index.typings.mjs +15 -71
  36. package/build/internal/es/index.typings.mjs.map +1 -1
  37. package/build/internal/es/meta.d.mts +125 -517
  38. package/build/internal/es/meta.mjs +15 -71
  39. package/build/internal/es/meta.mjs.map +1 -1
  40. package/build/internal/es/schemas.d.mts +2 -2
  41. 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;
@@ -4804,4 +4412,4 @@ declare const utils: {
4804
4412
  */
4805
4413
  declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
4806
4414
 
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 };
4415
+ 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 };