@wix/auto_sdk_blog_draft-posts 1.0.106 → 1.0.107

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.
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { DraftPost, CreateDraftPostOptions, CreateDraftPostResponse, BulkCreateDraftPostsOptions, BulkCreateDraftPostsResponse, BulkUpdateDraftPostsOptions, BulkUpdateDraftPostsResponse, ListDeletedDraftPostsOptions, ListDeletedDraftPostsResponse, GetDraftPostOptions, GetDraftPostResponse, UpdateDraftPost, UpdateDraftPostOptions, UpdateDraftPostResponse, DeleteDraftPostOptions, BulkDeleteDraftPostsOptions, BulkDeleteDraftPostsResponse, ListDraftPostsOptions, ListDraftPostsResponse, GetDeletedDraftPostResponse, RestoreFromTrashBinResponse, PublishDraftPostResponse, DraftCreatedEnvelope, DraftDeletedEnvelope, DraftUpdatedEnvelope, DraftPostQuery, QueryDraftPostsOptions, typedQueryDraftPosts, DraftPostsQueryBuilder } from './index.typings.mjs';
3
- export { AccountInfo, AccountInfoMetadata, Action, ActionEvent, ActionWithLiterals, AddressLocation, Alignment, AlignmentWithLiterals, AnchorData, Animation, AnimationType, AnimationTypeWithLiterals, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BannerOrigin, BannerOriginWithLiterals, BannerPosition, BannerPositionWithLiterals, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BorderWidths, BulkActionMetadata, BulkCreateDraftPostsRequest, BulkDeleteDraftPostsRequest, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostsRequest, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CardStylesType, CardStylesTypeWithLiterals, CellStyle, CheckboxListData, CodeBlockData, CollapsibleListData, ColorData, Colors, ColumnSize, ColumnSizeWithLiterals, CommonQueryWithEntityContext, CreateDraftPostRequest, Crop, CropWithLiterals, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DividerDataStyles, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCategoriesUpdated, DraftPostCount, DraftPostOwnerChanged, DraftPostQuerySpec, DraftPostTranslation, DraftPostsQueryResult, DraftTagsUpdated, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EntranceAnimation, EntranceEffect, EntranceEffectType, EntranceEffectTypeWithLiterals, EventData, EventMetadata, Field, FieldWithLiterals, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetDeletedDraftPostRequest, GetDraftPostCountsRequest, GetDraftPostCountsResponse, GetDraftPostRequest, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, GetDraftPostsSort, GetDraftPostsSortWithLiterals, Gradient, GradientType, GradientTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataCrop, ImageDataStyles, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, Indentation, IndentationWithLiterals, InitialDraftPostsCopied, InitialExpandedItems, InitialExpandedItemsWithLiterals, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Keyword, LayerEffect, LayerEffectWithLiterals, Layers, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineCap, LineCapWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDeletedDraftPostsRequest, ListDraftPostsRequest, ListItemNodeData, ListStyle, ListStyleWithLiterals, ListValue, LoopAnimation, LoopEffect, LoopEffectType, LoopEffectTypeWithLiterals, MapData, MapSettings, MapType, MapTypeWithLiterals, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, MaskedDraftPosts, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, ModerationDetails, ModerationStatusStatus, ModerationStatusStatusWithLiterals, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, PointerEffect, PointerEffectType, PointerEffectTypeWithLiterals, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, PricingData, PublishDraftPostRequest, QueryDraftPostsRequest, QueryDraftPostsResponse, RejectDraftPostRequest, RejectDraftPostResponse, Rel, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreFromTrashBinRequest, RestoreInfo, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, SectionDivider, SeoSchema, Settings, Shape, ShapeData, ShapeDataStyles, ShapeWithLiterals, SketchData, SmartBlockCellData, SmartBlockData, SmartBlockDataType, SmartBlockDataTypeWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Status, StatusWithLiterals, Stop, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Tag, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TocData, TotalDraftPosts, TotalDraftPostsGroupingField, TotalDraftPostsGroupingFieldWithLiterals, TranslateDraftRequest, TranslateDraftResponse, Type, TypeWithLiterals, UnpublishPostRequest, UnpublishPostResponse, UpdateDraftPostContentRequest, UpdateDraftPostContentResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, UpdateDraftPostRequest, V1Media, Variant, VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, WixMedia, utils } from './index.typings.mjs';
2
+ import { DraftPost, CreateDraftPostOptions, CreateDraftPostResponse, BulkCreateDraftPostsOptions, BulkCreateDraftPostsResponse, BulkUpdateDraftPostsOptions, BulkUpdateDraftPostsResponse, ListDeletedDraftPostsOptions, ListDeletedDraftPostsResponse, GetDraftPostOptions, GetDraftPostResponse, UpdateDraftPost, UpdateDraftPostOptions, UpdateDraftPostResponse, DeleteDraftPostOptions, BulkDeleteDraftPostsOptions, BulkDeleteDraftPostsResponse, ListDraftPostsOptions, ListDraftPostsResponse, GetDeletedDraftPostResponse, RestoreFromTrashBinResponse, PublishDraftPostResponse, TranslateDraftOptions, TranslateDraftResponse, UpdateDraftPostLanguageOptions, UpdateDraftPostLanguageResponse, DraftCreatedEnvelope, DraftDeletedEnvelope, DraftUpdatedEnvelope, DraftPostQuery, QueryDraftPostsOptions, typedQueryDraftPosts, DraftPostsQueryBuilder } from './index.typings.mjs';
3
+ export { AccountInfo, AccountInfoMetadata, Action, ActionEvent, ActionWithLiterals, AddressLocation, Alignment, AlignmentWithLiterals, AnchorData, Animation, AnimationType, AnimationTypeWithLiterals, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BannerOrigin, BannerOriginWithLiterals, BannerPosition, BannerPositionWithLiterals, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BorderWidths, BulkActionMetadata, BulkCreateDraftPostsRequest, BulkDeleteDraftPostsRequest, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostsRequest, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CardStylesType, CardStylesTypeWithLiterals, CellStyle, CheckboxListData, CodeBlockData, CollapsibleListData, ColorData, Colors, ColumnSize, ColumnSizeWithLiterals, CommonQueryWithEntityContext, CreateDraftPostRequest, Crop, CropWithLiterals, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DividerDataStyles, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCategoriesUpdated, DraftPostCount, DraftPostOwnerChanged, DraftPostQuerySpec, DraftPostTranslation, DraftPostsQueryResult, DraftTagsUpdated, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EntranceAnimation, EntranceEffect, EntranceEffectType, EntranceEffectTypeWithLiterals, EventData, EventMetadata, Field, FieldWithLiterals, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetDeletedDraftPostRequest, GetDraftPostCountsRequest, GetDraftPostCountsResponse, GetDraftPostRequest, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, GetDraftPostsSort, GetDraftPostsSortWithLiterals, Gradient, GradientType, GradientTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataCrop, ImageDataStyles, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, Indentation, IndentationWithLiterals, InitialDraftPostsCopied, InitialExpandedItems, InitialExpandedItemsWithLiterals, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Keyword, LayerEffect, LayerEffectWithLiterals, Layers, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineCap, LineCapWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDeletedDraftPostsRequest, ListDraftPostsRequest, ListItemNodeData, ListStyle, ListStyleWithLiterals, ListValue, LoopAnimation, LoopEffect, LoopEffectType, LoopEffectTypeWithLiterals, MapData, MapSettings, MapType, MapTypeWithLiterals, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, MaskedDraftPosts, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, ModerationDetails, ModerationStatusStatus, ModerationStatusStatusWithLiterals, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, PointerEffect, PointerEffectType, PointerEffectTypeWithLiterals, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, PricingData, PublishDraftPostRequest, QueryDraftPostsRequest, QueryDraftPostsResponse, RejectDraftPostRequest, RejectDraftPostResponse, Rel, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreFromTrashBinRequest, RestoreInfo, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, SectionDivider, SeoSchema, Settings, Shape, ShapeData, ShapeDataStyles, ShapeWithLiterals, SketchData, SmartBlockCellData, SmartBlockData, SmartBlockDataType, SmartBlockDataTypeWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Status, StatusWithLiterals, Stop, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Tag, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TocData, TotalDraftPosts, TotalDraftPostsGroupingField, TotalDraftPostsGroupingFieldWithLiterals, TranslateDraftRequest, Type, TypeWithLiterals, UnpublishPostRequest, UnpublishPostResponse, UpdateDraftPostContentRequest, UpdateDraftPostContentResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostRequest, V1Media, Variant, VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, WixMedia, utils } from './index.typings.mjs';
4
4
 
5
5
  declare function createDraftPost$1(httpClient: HttpClient): CreateDraftPostSignature;
6
6
  interface CreateDraftPostSignature {
@@ -140,6 +140,57 @@ interface PublishDraftPostSignature {
140
140
  */
141
141
  (draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`, 0>>;
142
142
  }
143
+ declare function translateDraft$1(httpClient: HttpClient): TranslateDraftSignature;
144
+ interface TranslateDraftSignature {
145
+ /**
146
+ * Creates a draft post in the specified language by copying an existing draft post or published post.
147
+ *
148
+ * The created draft post contains the source draft's title, rich content, excerpt, cover and hero images, hashtags,
149
+ * pricing plan IDs, preview text paragraph, and commenting and featured settings. Tags, related posts, SEO data,
150
+ * and the slug aren't copied. Category IDs are replaced with the IDs of the categories' translations in the specified
151
+ * language. Categories that have no translation in that language are omitted.
152
+ *
153
+ * The created draft post shares the source's `translationId` and keeps the source's `memberId`. If the source doesn't
154
+ * have a `translationId` yet, one is generated and assigned to both the source and the created draft post.
155
+ *
156
+ * The source keeps its status. The created draft post is always unpublished. To publish it, call
157
+ * [Update Draft Post](https://dev.wix.com/docs/rest/business-solutions/blog/draft-posts/update-draft-post)
158
+ * with `action` set to `UPDATE_PUBLISH`.
159
+ *
160
+ * Translating a post to its own language, or to a language that already exists in the same translation group,
161
+ * fails with an `ALREADY_EXISTS` error. The specified language isn't checked against the site's
162
+ * [Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) languages.
163
+ *
164
+ * To change the language of an existing draft post instead of creating a copy, call
165
+ * [Update Draft Post Language](https://dev.wix.com/docs/rest/business-solutions/blog/draft-posts/update-draft-post-language).
166
+ * @param - ID of the draft post or published post to translate.
167
+ * @param - Language to translate the post into, in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
168
+ * For example, `de` for German, or `pt-br` for Brazilian Portuguese.
169
+ * @param - Options for translating a draft post.
170
+ */
171
+ (postId: string, language: string, options?: TranslateDraftOptions): Promise<NonNullablePaths<TranslateDraftResponse, `draftPost._id` | `draftPost.title` | `draftPost.categoryIds` | `draftPost.hashtags` | `draftPost.minutesToRead` | `draftPost.tagIds` | `draftPost.relatedPostIds` | `draftPost.pricingPlanIds` | `draftPost.status` | `draftPost.moderationDetails.submittedBy` | `draftPost.moderationDetails.status` | `draftPost.hasUnpublishedChanges` | `draftPost.seoData.tags` | `draftPost.seoData.tags.${number}.type` | `draftPost.seoData.tags.${number}.children` | `draftPost.seoData.tags.${number}.custom` | `draftPost.seoData.tags.${number}.disabled` | `draftPost.seoData.settings.preventAutoRedirect` | `draftPost.seoData.settings.keywords` | `draftPost.seoData.settings.keywords.${number}.term` | `draftPost.seoData.settings.keywords.${number}.isMain` | `draftPost.media.embedMedia.thumbnail.url` | `draftPost.media.embedMedia.thumbnail.width` | `draftPost.media.embedMedia.thumbnail.height` | `draftPost.media.embedMedia.video.url` | `draftPost.media.embedMedia.video.width` | `draftPost.media.embedMedia.video.height` | `draftPost.media.displayed` | `draftPost.media.custom`, 5>>;
172
+ }
173
+ declare function updateDraftPostLanguage$1(httpClient: HttpClient): UpdateDraftPostLanguageSignature;
174
+ interface UpdateDraftPostLanguageSignature {
175
+ /**
176
+ * Changes the language of a draft post and replaces its categories with their translations in the specified language.
177
+ *
178
+ * Category IDs are replaced with the IDs of the categories' translations in the specified language. Categories that
179
+ * have no translation in that language are removed. Tag IDs and related post IDs are cleared, because tags and related
180
+ * posts are language specific. If the draft post is published, the published post is updated in the same way.
181
+ *
182
+ * Changing the language to the draft post's current language fails with an `INVALID_ARGUMENT` error. Changing it to a
183
+ * language that already exists in the same translation group fails with an `ALREADY_EXISTS` error.
184
+ *
185
+ * To create a translated copy instead of changing the language in place, call
186
+ * [Translate Draft](https://dev.wix.com/docs/rest/business-solutions/blog/draft-posts/translate-draft).
187
+ * @param - ID of the draft post to update.
188
+ * @param - New language of the draft post, in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
189
+ * For example, `de` for German, or `pt-br` for Brazilian Portuguese.
190
+ * @param - Options for updating a draft post's language.
191
+ */
192
+ (postId: string, language: string, options?: UpdateDraftPostLanguageOptions): Promise<NonNullablePaths<UpdateDraftPostLanguageResponse, `draftPost._id` | `draftPost.title` | `draftPost.categoryIds` | `draftPost.hashtags` | `draftPost.minutesToRead` | `draftPost.tagIds` | `draftPost.relatedPostIds` | `draftPost.pricingPlanIds` | `draftPost.status` | `draftPost.moderationDetails.submittedBy` | `draftPost.moderationDetails.status` | `draftPost.hasUnpublishedChanges` | `draftPost.seoData.tags` | `draftPost.seoData.tags.${number}.type` | `draftPost.seoData.tags.${number}.children` | `draftPost.seoData.tags.${number}.custom` | `draftPost.seoData.tags.${number}.disabled` | `draftPost.seoData.settings.preventAutoRedirect` | `draftPost.seoData.settings.keywords` | `draftPost.seoData.settings.keywords.${number}.term` | `draftPost.seoData.settings.keywords.${number}.isMain` | `draftPost.media.embedMedia.thumbnail.url` | `draftPost.media.embedMedia.thumbnail.width` | `draftPost.media.embedMedia.thumbnail.height` | `draftPost.media.embedMedia.video.url` | `draftPost.media.embedMedia.video.width` | `draftPost.media.embedMedia.video.height` | `draftPost.media.displayed` | `draftPost.media.custom`, 5>>;
193
+ }
143
194
  declare const onDraftCreated$1: EventDefinition<DraftCreatedEnvelope, "wix.blog.v3.draft_created">;
144
195
  declare const onDraftDeleted$1: EventDefinition<DraftDeletedEnvelope, "wix.blog.v3.draft_deleted">;
145
196
  declare const onDraftUpdated$1: EventDefinition<DraftUpdatedEnvelope, "wix.blog.v3.draft_updated">;
@@ -161,6 +212,8 @@ declare const listDraftPosts: MaybeContext<BuildRESTFunction<typeof listDraftPos
161
212
  declare const getDeletedDraftPost: MaybeContext<BuildRESTFunction<typeof getDeletedDraftPost$1> & typeof getDeletedDraftPost$1>;
162
213
  declare const restoreFromTrashBin: MaybeContext<BuildRESTFunction<typeof restoreFromTrashBin$1> & typeof restoreFromTrashBin$1>;
163
214
  declare const publishDraftPost: MaybeContext<BuildRESTFunction<typeof publishDraftPost$1> & typeof publishDraftPost$1>;
215
+ declare const translateDraft: MaybeContext<BuildRESTFunction<typeof translateDraft$1> & typeof translateDraft$1>;
216
+ declare const updateDraftPostLanguage: MaybeContext<BuildRESTFunction<typeof updateDraftPostLanguage$1> & typeof updateDraftPostLanguage$1>;
164
217
  declare const queryDraftPosts: MaybeContext<BuildRESTFunction<typeof customQueryDraftPosts> & typeof customQueryDraftPosts>;
165
218
  /**
166
219
  * Triggered when a draft post is created.
@@ -175,4 +228,4 @@ declare const onDraftDeleted: BuildEventDefinition<typeof onDraftDeleted$1> & ty
175
228
  */
176
229
  declare const onDraftUpdated: BuildEventDefinition<typeof onDraftUpdated$1> & typeof onDraftUpdated$1;
177
230
 
178
- export { BulkCreateDraftPostsOptions, BulkCreateDraftPostsResponse, BulkDeleteDraftPostsOptions, BulkDeleteDraftPostsResponse, BulkUpdateDraftPostsOptions, BulkUpdateDraftPostsResponse, CreateDraftPostOptions, CreateDraftPostResponse, DeleteDraftPostOptions, DraftCreatedEnvelope, DraftDeletedEnvelope, DraftPost, DraftPostQuery, DraftPostsQueryBuilder, DraftUpdatedEnvelope, GetDeletedDraftPostResponse, GetDraftPostOptions, GetDraftPostResponse, ListDeletedDraftPostsOptions, ListDeletedDraftPostsResponse, ListDraftPostsOptions, ListDraftPostsResponse, PublishDraftPostResponse, QueryDraftPostsOptions, RestoreFromTrashBinResponse, UpdateDraftPost, UpdateDraftPostOptions, UpdateDraftPostResponse, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, onDraftCreated, onDraftDeleted, onDraftUpdated, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, updateDraftPost };
231
+ export { BulkCreateDraftPostsOptions, BulkCreateDraftPostsResponse, BulkDeleteDraftPostsOptions, BulkDeleteDraftPostsResponse, BulkUpdateDraftPostsOptions, BulkUpdateDraftPostsResponse, CreateDraftPostOptions, CreateDraftPostResponse, DeleteDraftPostOptions, DraftCreatedEnvelope, DraftDeletedEnvelope, DraftPost, DraftPostQuery, DraftPostsQueryBuilder, DraftUpdatedEnvelope, GetDeletedDraftPostResponse, GetDraftPostOptions, GetDraftPostResponse, ListDeletedDraftPostsOptions, ListDeletedDraftPostsResponse, ListDraftPostsOptions, ListDraftPostsResponse, PublishDraftPostResponse, QueryDraftPostsOptions, RestoreFromTrashBinResponse, TranslateDraftOptions, TranslateDraftResponse, UpdateDraftPost, UpdateDraftPostLanguageOptions, UpdateDraftPostLanguageResponse, UpdateDraftPostOptions, UpdateDraftPostResponse, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, onDraftCreated, onDraftDeleted, onDraftUpdated, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, translateDraft, updateDraftPost, updateDraftPostLanguage };
@@ -4365,80 +4365,94 @@ interface MarkPostAsInModerationResponse {
4365
4365
  }
4366
4366
  interface TranslateDraftRequest {
4367
4367
  /**
4368
- * Source post or draft ID
4368
+ * ID of the draft post or published post to translate.
4369
4369
  * @format GUID
4370
4370
  */
4371
- postId?: string;
4371
+ postId: string;
4372
4372
  /**
4373
- * Translation language
4373
+ * Language to translate the post into, in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
4374
+ * For example, `de` for German, or `pt-br` for Brazilian Portuguese.
4374
4375
  * @format LANGUAGE_TAG
4375
4376
  */
4376
- language?: string;
4377
+ language: string;
4377
4378
  /**
4378
- * List of draft post fields to be included if entities are present in the response.
4379
- * Base fieldset, which is default, will return all core draft post properties.
4380
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4379
+ * Predefined sets of fields to return in the created draft post, in addition to the core draft post fields.
4380
+ *
4381
+ * - `URL`: Returns the draft post's preview URL.
4382
+ * - `CONTENT`: Returns the draft post's content.
4383
+ * - `RICH_CONTENT`: Returns the draft post's rich content.
4384
+ * - `GENERATED_EXCERPT`: Returns an excerpt generated from the content if a custom excerpt isn't set.
4385
+ *
4386
+ * Default: Core draft post fields only.
4381
4387
  * @maxSize 10
4382
4388
  */
4383
4389
  fieldsets?: FieldWithLiterals[];
4384
4390
  /**
4385
- * Performs automatic translation of the title and the content of the draft post to the target language.
4391
+ * Whether to machine translate the title and content into the target language.
4392
+ *
4393
+ * Default: `false`
4386
4394
  * @internal
4387
4395
  */
4388
4396
  useAutoTranslation?: boolean;
4389
4397
  }
4390
4398
  interface TranslateDraftResponse {
4391
- /** Draft post. */
4399
+ /** Created draft post. */
4392
4400
  draftPost?: DraftPost;
4393
4401
  }
4394
4402
  interface IsDraftPostAutoTranslatableRequest {
4395
4403
  /**
4396
- * Source post or draft ID.
4404
+ * Draft post ID.
4397
4405
  * @format GUID
4398
4406
  */
4399
4407
  draftPostId?: string;
4400
4408
  }
4401
4409
  interface IsDraftPostAutoTranslatableResponse {
4402
4410
  /**
4403
- * Source draft post ID.
4411
+ * Draft post ID.
4404
4412
  * @format GUID
4405
4413
  */
4406
4414
  draftPostId?: string;
4407
- /** Indicates if enough machine translation credits are available for the draft post translation. */
4415
+ /** Whether enough machine translation word credits are available to translate the draft post. */
4408
4416
  translatable?: boolean;
4409
- /** Draft post title word count. */
4417
+ /** Number of words in the draft post's title. */
4410
4418
  titleWordCount?: number;
4411
- /** Draft post content word count. */
4419
+ /** Number of words in the draft post's content. */
4412
4420
  contentWordCount?: number;
4413
- /** Word credits available for auto translation. */
4421
+ /** Number of machine translation word credits currently available. `-1` if the site's quota is unlimited. */
4414
4422
  availableAutoTranslateWords?: number;
4415
- /** Word credits available after auto translation would be done. */
4423
+ /** Number of machine translation word credits that remain after translating the draft post. `-1` if the site's quota is unlimited. */
4416
4424
  availableAutoTranslateWordsAfter?: number;
4417
- /** Content text character count. */
4425
+ /** Number of characters in the draft post's plain text content. */
4418
4426
  contentTextCharacterCount?: number;
4419
4427
  }
4420
4428
  interface UpdateDraftPostLanguageRequest {
4421
4429
  /**
4422
- * Source draft post ID
4430
+ * ID of the draft post to update.
4423
4431
  * @format GUID
4424
4432
  */
4425
- postId?: string;
4433
+ postId: string;
4426
4434
  /**
4427
- * New language to replace to
4435
+ * New language of the draft post, in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
4436
+ * For example, `de` for German, or `pt-br` for Brazilian Portuguese.
4428
4437
  * @minLength 2
4429
4438
  * @format LANGUAGE_TAG
4430
4439
  */
4431
- language?: string;
4440
+ language: string;
4432
4441
  /**
4433
- * List of draft post fields to be included if entities are present in the response.
4434
- * Base fieldset, which is default, will return all core draft post properties.
4435
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4442
+ * Predefined sets of fields to return in the updated draft post, in addition to the core draft post fields.
4443
+ *
4444
+ * - `URL`: Returns the draft post's preview URL.
4445
+ * - `CONTENT`: Returns the draft post's content.
4446
+ * - `RICH_CONTENT`: Returns the draft post's rich content.
4447
+ * - `GENERATED_EXCERPT`: Returns an excerpt generated from the content if a custom excerpt isn't set.
4448
+ *
4449
+ * Default: Core draft post fields only.
4436
4450
  * @maxSize 10
4437
4451
  */
4438
4452
  fieldsets?: FieldWithLiterals[];
4439
4453
  }
4440
4454
  interface UpdateDraftPostLanguageResponse {
4441
- /** Draft post */
4455
+ /** Updated draft post. */
4442
4456
  draftPost?: DraftPost;
4443
4457
  }
4444
4458
  interface BaseEventMetadata {
@@ -5318,5 +5332,90 @@ declare const utils: {
5318
5332
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost
5319
5333
  */
5320
5334
  declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`, 0>>;
5335
+ /**
5336
+ * Creates a draft post in the specified language by copying an existing draft post or published post.
5337
+ *
5338
+ * The created draft post contains the source draft's title, rich content, excerpt, cover and hero images, hashtags,
5339
+ * pricing plan IDs, preview text paragraph, and commenting and featured settings. Tags, related posts, SEO data,
5340
+ * and the slug aren't copied. Category IDs are replaced with the IDs of the categories' translations in the specified
5341
+ * language. Categories that have no translation in that language are omitted.
5342
+ *
5343
+ * The created draft post shares the source's `translationId` and keeps the source's `memberId`. If the source doesn't
5344
+ * have a `translationId` yet, one is generated and assigned to both the source and the created draft post.
5345
+ *
5346
+ * The source keeps its status. The created draft post is always unpublished. To publish it, call
5347
+ * [Update Draft Post](https://dev.wix.com/docs/rest/business-solutions/blog/draft-posts/update-draft-post)
5348
+ * with `action` set to `UPDATE_PUBLISH`.
5349
+ *
5350
+ * Translating a post to its own language, or to a language that already exists in the same translation group,
5351
+ * fails with an `ALREADY_EXISTS` error. The specified language isn't checked against the site's
5352
+ * [Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) languages.
5353
+ *
5354
+ * To change the language of an existing draft post instead of creating a copy, call
5355
+ * [Update Draft Post Language](https://dev.wix.com/docs/rest/business-solutions/blog/draft-posts/update-draft-post-language).
5356
+ * @param postId - ID of the draft post or published post to translate.
5357
+ * @param language - Language to translate the post into, in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
5358
+ * For example, `de` for German, or `pt-br` for Brazilian Portuguese.
5359
+ * @public
5360
+ * @requiredField language
5361
+ * @requiredField postId
5362
+ * @param options - Options for translating a draft post.
5363
+ * @permissionId BLOG.CREATE-DRAFT
5364
+ * @applicableIdentity APP
5365
+ * @fqn com.wixpress.npm.communities.platformized.blog.v3.BlogMultilingualService.TranslateDraft
5366
+ */
5367
+ declare function translateDraft(postId: string, language: string, options?: TranslateDraftOptions): Promise<NonNullablePaths<TranslateDraftResponse, `draftPost._id` | `draftPost.title` | `draftPost.categoryIds` | `draftPost.hashtags` | `draftPost.minutesToRead` | `draftPost.tagIds` | `draftPost.relatedPostIds` | `draftPost.pricingPlanIds` | `draftPost.status` | `draftPost.moderationDetails.submittedBy` | `draftPost.moderationDetails.status` | `draftPost.hasUnpublishedChanges` | `draftPost.seoData.tags` | `draftPost.seoData.tags.${number}.type` | `draftPost.seoData.tags.${number}.children` | `draftPost.seoData.tags.${number}.custom` | `draftPost.seoData.tags.${number}.disabled` | `draftPost.seoData.settings.preventAutoRedirect` | `draftPost.seoData.settings.keywords` | `draftPost.seoData.settings.keywords.${number}.term` | `draftPost.seoData.settings.keywords.${number}.isMain` | `draftPost.media.embedMedia.thumbnail.url` | `draftPost.media.embedMedia.thumbnail.width` | `draftPost.media.embedMedia.thumbnail.height` | `draftPost.media.embedMedia.video.url` | `draftPost.media.embedMedia.video.width` | `draftPost.media.embedMedia.video.height` | `draftPost.media.displayed` | `draftPost.media.custom`, 5>>;
5368
+ interface TranslateDraftOptions {
5369
+ /**
5370
+ * Predefined sets of fields to return in the created draft post, in addition to the core draft post fields.
5371
+ *
5372
+ * - `URL`: Returns the draft post's preview URL.
5373
+ * - `CONTENT`: Returns the draft post's content.
5374
+ * - `RICH_CONTENT`: Returns the draft post's rich content.
5375
+ * - `GENERATED_EXCERPT`: Returns an excerpt generated from the content if a custom excerpt isn't set.
5376
+ *
5377
+ * Default: Core draft post fields only.
5378
+ * @maxSize 10
5379
+ */
5380
+ fieldsets?: FieldWithLiterals[];
5381
+ }
5382
+ /**
5383
+ * Changes the language of a draft post and replaces its categories with their translations in the specified language.
5384
+ *
5385
+ * Category IDs are replaced with the IDs of the categories' translations in the specified language. Categories that
5386
+ * have no translation in that language are removed. Tag IDs and related post IDs are cleared, because tags and related
5387
+ * posts are language specific. If the draft post is published, the published post is updated in the same way.
5388
+ *
5389
+ * Changing the language to the draft post's current language fails with an `INVALID_ARGUMENT` error. Changing it to a
5390
+ * language that already exists in the same translation group fails with an `ALREADY_EXISTS` error.
5391
+ *
5392
+ * To create a translated copy instead of changing the language in place, call
5393
+ * [Translate Draft](https://dev.wix.com/docs/rest/business-solutions/blog/draft-posts/translate-draft).
5394
+ * @param postId - ID of the draft post to update.
5395
+ * @param language - New language of the draft post, in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
5396
+ * For example, `de` for German, or `pt-br` for Brazilian Portuguese.
5397
+ * @public
5398
+ * @requiredField language
5399
+ * @requiredField postId
5400
+ * @param options - Options for updating a draft post's language.
5401
+ * @permissionId BLOG.EDIT-DRAFT
5402
+ * @applicableIdentity APP
5403
+ * @fqn com.wixpress.npm.communities.platformized.blog.v3.BlogMultilingualService.UpdateDraftPostLanguage
5404
+ */
5405
+ declare function updateDraftPostLanguage(postId: string, language: string, options?: UpdateDraftPostLanguageOptions): Promise<NonNullablePaths<UpdateDraftPostLanguageResponse, `draftPost._id` | `draftPost.title` | `draftPost.categoryIds` | `draftPost.hashtags` | `draftPost.minutesToRead` | `draftPost.tagIds` | `draftPost.relatedPostIds` | `draftPost.pricingPlanIds` | `draftPost.status` | `draftPost.moderationDetails.submittedBy` | `draftPost.moderationDetails.status` | `draftPost.hasUnpublishedChanges` | `draftPost.seoData.tags` | `draftPost.seoData.tags.${number}.type` | `draftPost.seoData.tags.${number}.children` | `draftPost.seoData.tags.${number}.custom` | `draftPost.seoData.tags.${number}.disabled` | `draftPost.seoData.settings.preventAutoRedirect` | `draftPost.seoData.settings.keywords` | `draftPost.seoData.settings.keywords.${number}.term` | `draftPost.seoData.settings.keywords.${number}.isMain` | `draftPost.media.embedMedia.thumbnail.url` | `draftPost.media.embedMedia.thumbnail.width` | `draftPost.media.embedMedia.thumbnail.height` | `draftPost.media.embedMedia.video.url` | `draftPost.media.embedMedia.video.width` | `draftPost.media.embedMedia.video.height` | `draftPost.media.displayed` | `draftPost.media.custom`, 5>>;
5406
+ interface UpdateDraftPostLanguageOptions {
5407
+ /**
5408
+ * Predefined sets of fields to return in the updated draft post, in addition to the core draft post fields.
5409
+ *
5410
+ * - `URL`: Returns the draft post's preview URL.
5411
+ * - `CONTENT`: Returns the draft post's content.
5412
+ * - `RICH_CONTENT`: Returns the draft post's rich content.
5413
+ * - `GENERATED_EXCERPT`: Returns an excerpt generated from the content if a custom excerpt isn't set.
5414
+ *
5415
+ * Default: Core draft post fields only.
5416
+ * @maxSize 10
5417
+ */
5418
+ fieldsets?: FieldWithLiterals[];
5419
+ }
5321
5420
 
5322
- export { type AccountInfo, type AccountInfoMetadata, Action, type ActionEvent, type ActionWithLiterals, type AddressLocation, Alignment, type AlignmentWithLiterals, type AnchorData, type Animation, AnimationType, type AnimationTypeWithLiterals, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, type ApproveDraftPostRequest, type ApproveDraftPostResponse, 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 BulkActionMetadata, type BulkCreateDraftPostsOptions, type BulkCreateDraftPostsRequest, type BulkCreateDraftPostsResponse, type BulkDeleteDraftPostsOptions, type BulkDeleteDraftPostsRequest, type BulkDeleteDraftPostsResponse, type BulkDraftPostResult, type BulkRejectDraftPostRequest, type BulkRejectDraftPostResponse, type BulkRevertToUnpublishedRequest, type BulkRevertToUnpublishedResponse, type BulkUpdateDraftPostsOptions, type BulkUpdateDraftPostsRequest, type BulkUpdateDraftPostsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type CreateDraftPostOptions, type CreateDraftPostRequest, type CreateDraftPostResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteDraftPostOptions, type DeleteDraftPostRequest, type DeleteDraftPostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DividerDataStyles, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftCategoriesUpdated, type DraftCreatedEnvelope, type DraftDeletedEnvelope, type DraftPost, type DraftPostCount, type DraftPostOwnerChanged, type DraftPostQuery, type DraftPostQuerySpec, type DraftPostTranslation, type DraftPostsQueryBuilder, type DraftPostsQueryResult, type DraftTagsUpdated, type DraftUpdatedEnvelope, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EntranceAnimation, type EntranceEffect, EntranceEffectType, type EntranceEffectTypeWithLiterals, 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 GetDeletedDraftPostRequest, type GetDeletedDraftPostResponse, type GetDraftPostCountsRequest, type GetDraftPostCountsResponse, type GetDraftPostOptions, type GetDraftPostRequest, type GetDraftPostResponse, type GetDraftPostTotalsRequest, type GetDraftPostTotalsResponse, GetDraftPostsSort, type GetDraftPostsSortWithLiterals, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, type InitialDraftPostsCopied, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type IsDraftPostAutoTranslatableRequest, type IsDraftPostAutoTranslatableResponse, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, type Keyword, LayerEffect, type LayerEffectWithLiterals, type Layers, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDeletedDraftPostsOptions, type ListDeletedDraftPostsRequest, type ListDeletedDraftPostsResponse, type ListDraftPostsOptions, type ListDraftPostsRequest, type ListDraftPostsResponse, type ListItemNodeData, ListStyle, type ListStyleWithLiterals, type ListValue, type LoopAnimation, type LoopEffect, LoopEffectType, type LoopEffectTypeWithLiterals, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MarkPostAsInModerationRequest, type MarkPostAsInModerationResponse, type MaskedDraftPosts, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, 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, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type PointerEffect, PointerEffectType, type PointerEffectTypeWithLiterals, 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 PricingData, type PublishDraftPostRequest, type PublishDraftPostResponse, type QueryDraftPostsOptions, type QueryDraftPostsRequest, type QueryDraftPostsResponse, type RejectDraftPostRequest, type RejectDraftPostResponse, type Rel, type RemoveFromTrashBinRequest, type RemoveFromTrashBinResponse, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreFromTrashBinRequest, type RestoreFromTrashBinResponse, type RestoreInfo, type RevertToUnpublishedRequest, type RevertToUnpublishedResponse, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type SectionDivider, type SeoSchema, type Settings, Shape, type ShapeData, type ShapeDataStyles, type ShapeWithLiterals, 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 TotalDraftPosts, TotalDraftPostsGroupingField, type TotalDraftPostsGroupingFieldWithLiterals, type TranslateDraftRequest, type TranslateDraftResponse, Type, type TypeWithLiterals, type UnpublishPostRequest, type UnpublishPostResponse, type UpdateDraftPost, type UpdateDraftPostContentRequest, type UpdateDraftPostContentResponse, type UpdateDraftPostLanguageRequest, type UpdateDraftPostLanguageResponse, type UpdateDraftPostOptions, type UpdateDraftPostRequest, type UpdateDraftPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, onDraftCreated, onDraftDeleted, onDraftUpdated, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, typedQueryDraftPosts, updateDraftPost, utils };
5421
+ export { type AccountInfo, type AccountInfoMetadata, Action, type ActionEvent, type ActionWithLiterals, type AddressLocation, Alignment, type AlignmentWithLiterals, type AnchorData, type Animation, AnimationType, type AnimationTypeWithLiterals, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, type ApproveDraftPostRequest, type ApproveDraftPostResponse, 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 BulkActionMetadata, type BulkCreateDraftPostsOptions, type BulkCreateDraftPostsRequest, type BulkCreateDraftPostsResponse, type BulkDeleteDraftPostsOptions, type BulkDeleteDraftPostsRequest, type BulkDeleteDraftPostsResponse, type BulkDraftPostResult, type BulkRejectDraftPostRequest, type BulkRejectDraftPostResponse, type BulkRevertToUnpublishedRequest, type BulkRevertToUnpublishedResponse, type BulkUpdateDraftPostsOptions, type BulkUpdateDraftPostsRequest, type BulkUpdateDraftPostsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type CreateDraftPostOptions, type CreateDraftPostRequest, type CreateDraftPostResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteDraftPostOptions, type DeleteDraftPostRequest, type DeleteDraftPostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DividerDataStyles, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftCategoriesUpdated, type DraftCreatedEnvelope, type DraftDeletedEnvelope, type DraftPost, type DraftPostCount, type DraftPostOwnerChanged, type DraftPostQuery, type DraftPostQuerySpec, type DraftPostTranslation, type DraftPostsQueryBuilder, type DraftPostsQueryResult, type DraftTagsUpdated, type DraftUpdatedEnvelope, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EntranceAnimation, type EntranceEffect, EntranceEffectType, type EntranceEffectTypeWithLiterals, 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 GetDeletedDraftPostRequest, type GetDeletedDraftPostResponse, type GetDraftPostCountsRequest, type GetDraftPostCountsResponse, type GetDraftPostOptions, type GetDraftPostRequest, type GetDraftPostResponse, type GetDraftPostTotalsRequest, type GetDraftPostTotalsResponse, GetDraftPostsSort, type GetDraftPostsSortWithLiterals, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, type InitialDraftPostsCopied, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type IsDraftPostAutoTranslatableRequest, type IsDraftPostAutoTranslatableResponse, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, type Keyword, LayerEffect, type LayerEffectWithLiterals, type Layers, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDeletedDraftPostsOptions, type ListDeletedDraftPostsRequest, type ListDeletedDraftPostsResponse, type ListDraftPostsOptions, type ListDraftPostsRequest, type ListDraftPostsResponse, type ListItemNodeData, ListStyle, type ListStyleWithLiterals, type ListValue, type LoopAnimation, type LoopEffect, LoopEffectType, type LoopEffectTypeWithLiterals, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MarkPostAsInModerationRequest, type MarkPostAsInModerationResponse, type MaskedDraftPosts, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, 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, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type PointerEffect, PointerEffectType, type PointerEffectTypeWithLiterals, 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 PricingData, type PublishDraftPostRequest, type PublishDraftPostResponse, type QueryDraftPostsOptions, type QueryDraftPostsRequest, type QueryDraftPostsResponse, type RejectDraftPostRequest, type RejectDraftPostResponse, type Rel, type RemoveFromTrashBinRequest, type RemoveFromTrashBinResponse, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreFromTrashBinRequest, type RestoreFromTrashBinResponse, type RestoreInfo, type RevertToUnpublishedRequest, type RevertToUnpublishedResponse, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type SectionDivider, type SeoSchema, type Settings, Shape, type ShapeData, type ShapeDataStyles, type ShapeWithLiterals, 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 TotalDraftPosts, TotalDraftPostsGroupingField, type TotalDraftPostsGroupingFieldWithLiterals, type TranslateDraftOptions, type TranslateDraftRequest, type TranslateDraftResponse, Type, type TypeWithLiterals, type UnpublishPostRequest, type UnpublishPostResponse, type UpdateDraftPost, type UpdateDraftPostContentRequest, type UpdateDraftPostContentResponse, type UpdateDraftPostLanguageOptions, type UpdateDraftPostLanguageRequest, type UpdateDraftPostLanguageResponse, type UpdateDraftPostOptions, type UpdateDraftPostRequest, type UpdateDraftPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, onDraftCreated, onDraftDeleted, onDraftUpdated, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, translateDraft, typedQueryDraftPosts, updateDraftPost, updateDraftPostLanguage, utils };
@@ -1,4 +1,4 @@
1
- import { CreateDraftPostRequest as CreateDraftPostRequest$1, CreateDraftPostResponse as CreateDraftPostResponse$1, BulkCreateDraftPostsRequest as BulkCreateDraftPostsRequest$1, BulkCreateDraftPostsResponse as BulkCreateDraftPostsResponse$1, BulkUpdateDraftPostsRequest as BulkUpdateDraftPostsRequest$1, BulkUpdateDraftPostsResponse as BulkUpdateDraftPostsResponse$1, ListDeletedDraftPostsRequest as ListDeletedDraftPostsRequest$1, ListDeletedDraftPostsResponse as ListDeletedDraftPostsResponse$1, GetDraftPostRequest as GetDraftPostRequest$1, GetDraftPostResponse as GetDraftPostResponse$1, UpdateDraftPostRequest as UpdateDraftPostRequest$1, UpdateDraftPostResponse as UpdateDraftPostResponse$1, DeleteDraftPostRequest as DeleteDraftPostRequest$1, DeleteDraftPostResponse as DeleteDraftPostResponse$1, RemoveFromTrashBinRequest as RemoveFromTrashBinRequest$1, RemoveFromTrashBinResponse as RemoveFromTrashBinResponse$1, BulkDeleteDraftPostsRequest as BulkDeleteDraftPostsRequest$1, BulkDeleteDraftPostsResponse as BulkDeleteDraftPostsResponse$1, ListDraftPostsRequest as ListDraftPostsRequest$1, ListDraftPostsResponse as ListDraftPostsResponse$1, GetDeletedDraftPostRequest as GetDeletedDraftPostRequest$1, GetDeletedDraftPostResponse as GetDeletedDraftPostResponse$1, RestoreFromTrashBinRequest as RestoreFromTrashBinRequest$1, RestoreFromTrashBinResponse as RestoreFromTrashBinResponse$1, QueryDraftPostsRequest as QueryDraftPostsRequest$1, QueryDraftPostsResponse as QueryDraftPostsResponse$1, PublishDraftPostRequest as PublishDraftPostRequest$1, PublishDraftPostResponse as PublishDraftPostResponse$1 } from './index.typings.mjs';
1
+ import { CreateDraftPostRequest as CreateDraftPostRequest$1, CreateDraftPostResponse as CreateDraftPostResponse$1, BulkCreateDraftPostsRequest as BulkCreateDraftPostsRequest$1, BulkCreateDraftPostsResponse as BulkCreateDraftPostsResponse$1, BulkUpdateDraftPostsRequest as BulkUpdateDraftPostsRequest$1, BulkUpdateDraftPostsResponse as BulkUpdateDraftPostsResponse$1, ListDeletedDraftPostsRequest as ListDeletedDraftPostsRequest$1, ListDeletedDraftPostsResponse as ListDeletedDraftPostsResponse$1, GetDraftPostRequest as GetDraftPostRequest$1, GetDraftPostResponse as GetDraftPostResponse$1, UpdateDraftPostRequest as UpdateDraftPostRequest$1, UpdateDraftPostResponse as UpdateDraftPostResponse$1, DeleteDraftPostRequest as DeleteDraftPostRequest$1, DeleteDraftPostResponse as DeleteDraftPostResponse$1, RemoveFromTrashBinRequest as RemoveFromTrashBinRequest$1, RemoveFromTrashBinResponse as RemoveFromTrashBinResponse$1, BulkDeleteDraftPostsRequest as BulkDeleteDraftPostsRequest$1, BulkDeleteDraftPostsResponse as BulkDeleteDraftPostsResponse$1, ListDraftPostsRequest as ListDraftPostsRequest$1, ListDraftPostsResponse as ListDraftPostsResponse$1, GetDeletedDraftPostRequest as GetDeletedDraftPostRequest$1, GetDeletedDraftPostResponse as GetDeletedDraftPostResponse$1, RestoreFromTrashBinRequest as RestoreFromTrashBinRequest$1, RestoreFromTrashBinResponse as RestoreFromTrashBinResponse$1, QueryDraftPostsRequest as QueryDraftPostsRequest$1, QueryDraftPostsResponse as QueryDraftPostsResponse$1, PublishDraftPostRequest as PublishDraftPostRequest$1, PublishDraftPostResponse as PublishDraftPostResponse$1, TranslateDraftRequest as TranslateDraftRequest$1, TranslateDraftResponse as TranslateDraftResponse$1, UpdateDraftPostLanguageRequest as UpdateDraftPostLanguageRequest$1, UpdateDraftPostLanguageResponse as UpdateDraftPostLanguageResponse$1 } from './index.typings.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  interface DraftPost {
@@ -4525,80 +4525,94 @@ interface MarkPostAsInModerationResponse {
4525
4525
  }
4526
4526
  interface TranslateDraftRequest {
4527
4527
  /**
4528
- * Source post or draft ID
4528
+ * ID of the draft post or published post to translate.
4529
4529
  * @format GUID
4530
4530
  */
4531
- postId?: string;
4531
+ postId: string;
4532
4532
  /**
4533
- * Translation language
4533
+ * Language to translate the post into, in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
4534
+ * For example, `de` for German, or `pt-br` for Brazilian Portuguese.
4534
4535
  * @format LANGUAGE_TAG
4535
4536
  */
4536
- language?: string;
4537
+ language: string;
4537
4538
  /**
4538
- * List of draft post fields to be included if entities are present in the response.
4539
- * Base fieldset, which is default, will return all core draft post properties.
4540
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4539
+ * Predefined sets of fields to return in the created draft post, in addition to the core draft post fields.
4540
+ *
4541
+ * - `URL`: Returns the draft post's preview URL.
4542
+ * - `CONTENT`: Returns the draft post's content.
4543
+ * - `RICH_CONTENT`: Returns the draft post's rich content.
4544
+ * - `GENERATED_EXCERPT`: Returns an excerpt generated from the content if a custom excerpt isn't set.
4545
+ *
4546
+ * Default: Core draft post fields only.
4541
4547
  * @maxSize 10
4542
4548
  */
4543
4549
  fieldsets?: FieldWithLiterals[];
4544
4550
  /**
4545
- * Performs automatic translation of the title and the content of the draft post to the target language.
4551
+ * Whether to machine translate the title and content into the target language.
4552
+ *
4553
+ * Default: `false`
4546
4554
  * @internal
4547
4555
  */
4548
4556
  useAutoTranslation?: boolean;
4549
4557
  }
4550
4558
  interface TranslateDraftResponse {
4551
- /** Draft post. */
4559
+ /** Created draft post. */
4552
4560
  draftPost?: DraftPost;
4553
4561
  }
4554
4562
  interface IsDraftPostAutoTranslatableRequest {
4555
4563
  /**
4556
- * Source post or draft ID.
4564
+ * Draft post ID.
4557
4565
  * @format GUID
4558
4566
  */
4559
4567
  draftPostId?: string;
4560
4568
  }
4561
4569
  interface IsDraftPostAutoTranslatableResponse {
4562
4570
  /**
4563
- * Source draft post ID.
4571
+ * Draft post ID.
4564
4572
  * @format GUID
4565
4573
  */
4566
4574
  draftPostId?: string;
4567
- /** Indicates if enough machine translation credits are available for the draft post translation. */
4575
+ /** Whether enough machine translation word credits are available to translate the draft post. */
4568
4576
  translatable?: boolean;
4569
- /** Draft post title word count. */
4577
+ /** Number of words in the draft post's title. */
4570
4578
  titleWordCount?: number;
4571
- /** Draft post content word count. */
4579
+ /** Number of words in the draft post's content. */
4572
4580
  contentWordCount?: number;
4573
- /** Word credits available for auto translation. */
4581
+ /** Number of machine translation word credits currently available. `-1` if the site's quota is unlimited. */
4574
4582
  availableAutoTranslateWords?: number;
4575
- /** Word credits available after auto translation would be done. */
4583
+ /** Number of machine translation word credits that remain after translating the draft post. `-1` if the site's quota is unlimited. */
4576
4584
  availableAutoTranslateWordsAfter?: number;
4577
- /** Content text character count. */
4585
+ /** Number of characters in the draft post's plain text content. */
4578
4586
  contentTextCharacterCount?: number;
4579
4587
  }
4580
4588
  interface UpdateDraftPostLanguageRequest {
4581
4589
  /**
4582
- * Source draft post ID
4590
+ * ID of the draft post to update.
4583
4591
  * @format GUID
4584
4592
  */
4585
- postId?: string;
4593
+ postId: string;
4586
4594
  /**
4587
- * New language to replace to
4595
+ * New language of the draft post, in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
4596
+ * For example, `de` for German, or `pt-br` for Brazilian Portuguese.
4588
4597
  * @minLength 2
4589
4598
  * @format LANGUAGE_TAG
4590
4599
  */
4591
- language?: string;
4600
+ language: string;
4592
4601
  /**
4593
- * List of draft post fields to be included if entities are present in the response.
4594
- * Base fieldset, which is default, will return all core draft post properties.
4595
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4602
+ * Predefined sets of fields to return in the updated draft post, in addition to the core draft post fields.
4603
+ *
4604
+ * - `URL`: Returns the draft post's preview URL.
4605
+ * - `CONTENT`: Returns the draft post's content.
4606
+ * - `RICH_CONTENT`: Returns the draft post's rich content.
4607
+ * - `GENERATED_EXCERPT`: Returns an excerpt generated from the content if a custom excerpt isn't set.
4608
+ *
4609
+ * Default: Core draft post fields only.
4596
4610
  * @maxSize 10
4597
4611
  */
4598
4612
  fieldsets?: FieldWithLiterals[];
4599
4613
  }
4600
4614
  interface UpdateDraftPostLanguageResponse {
4601
- /** Draft post */
4615
+ /** Updated draft post. */
4602
4616
  draftPost?: DraftPost;
4603
4617
  }
4604
4618
 
@@ -4640,5 +4654,11 @@ declare function queryDraftPosts(): __PublicMethodMetaInfo<'POST', {}, QueryDraf
4640
4654
  declare function publishDraftPost(): __PublicMethodMetaInfo<'POST', {
4641
4655
  draftPostId: string;
4642
4656
  }, PublishDraftPostRequest$1, PublishDraftPostRequest, PublishDraftPostResponse$1, PublishDraftPostResponse>;
4657
+ declare function translateDraft(): __PublicMethodMetaInfo<'POST', {
4658
+ postId: string;
4659
+ }, TranslateDraftRequest$1, TranslateDraftRequest, TranslateDraftResponse$1, TranslateDraftResponse>;
4660
+ declare function updateDraftPostLanguage(): __PublicMethodMetaInfo<'POST', {
4661
+ postId: string;
4662
+ }, UpdateDraftPostLanguageRequest$1, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse$1, UpdateDraftPostLanguageResponse>;
4643
4663
 
4644
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, Action as ActionOriginal, type ActionWithLiterals as ActionWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type Animation as AnimationOriginal, AnimationType as AnimationTypeOriginal, type AnimationTypeWithLiterals as AnimationTypeWithLiteralsOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type ApproveDraftPostRequest as ApproveDraftPostRequestOriginal, type ApproveDraftPostResponse as ApproveDraftPostResponseOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type AudioData as AudioDataOriginal, type Backdrop as BackdropOriginal, BackdropType as BackdropTypeOriginal, type BackdropTypeWithLiterals as BackdropTypeWithLiteralsOriginal, type BackgroundGradient as BackgroundGradientOriginal, type BackgroundImage as BackgroundImageOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, BannerOrigin as BannerOriginOriginal, type BannerOriginWithLiterals as BannerOriginWithLiteralsOriginal, type Banner as BannerOriginal, BannerPosition as BannerPositionOriginal, type BannerPositionWithLiterals as BannerPositionWithLiteralsOriginal, type BlockquoteData as BlockquoteDataOriginal, type BlogPaging as BlogPagingOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BorderWidths as BorderWidthsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateDraftPostsRequest as BulkCreateDraftPostsRequestOriginal, type BulkCreateDraftPostsResponse as BulkCreateDraftPostsResponseOriginal, type BulkDeleteDraftPostsRequest as BulkDeleteDraftPostsRequestOriginal, type BulkDeleteDraftPostsResponse as BulkDeleteDraftPostsResponseOriginal, type BulkDraftPostResult as BulkDraftPostResultOriginal, type BulkRejectDraftPostRequest as BulkRejectDraftPostRequestOriginal, type BulkRejectDraftPostResponse as BulkRejectDraftPostResponseOriginal, type BulkRevertToUnpublishedRequest as BulkRevertToUnpublishedRequestOriginal, type BulkRevertToUnpublishedResponse as BulkRevertToUnpublishedResponseOriginal, type BulkUpdateDraftPostsRequest as BulkUpdateDraftPostsRequestOriginal, type BulkUpdateDraftPostsResponse as BulkUpdateDraftPostsResponseOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CaptionData as CaptionDataOriginal, type CardDataBackground as CardDataBackgroundOriginal, CardDataBackgroundType as CardDataBackgroundTypeOriginal, type CardDataBackgroundTypeWithLiterals as CardDataBackgroundTypeWithLiteralsOriginal, type CardData as CardDataOriginal, type CardStyles as CardStylesOriginal, CardStylesType as CardStylesTypeOriginal, type CardStylesTypeWithLiterals as CardStylesTypeWithLiteralsOriginal, type CellStyle as CellStyleOriginal, type CheckboxListData as CheckboxListDataOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, ColumnSize as ColumnSizeOriginal, type ColumnSizeWithLiterals as ColumnSizeWithLiteralsOriginal, type CreateDraftPostRequest as CreateDraftPostRequestOriginal, type CreateDraftPostResponse as CreateDraftPostResponseOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type DeleteDraftPostRequest as DeleteDraftPostRequestOriginal, type DeleteDraftPostResponse as DeleteDraftPostResponseOriginal, type Design as DesignOriginal, DesignTarget as DesignTargetOriginal, type DesignTargetWithLiterals as DesignTargetWithLiteralsOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DividerDataStyles as DividerDataStylesOriginal, type DocumentStyle as DocumentStyleOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DraftCategoriesUpdated as DraftCategoriesUpdatedOriginal, type DraftPostCount as DraftPostCountOriginal, type DraftPost as DraftPostOriginal, type DraftPostOwnerChanged as DraftPostOwnerChangedOriginal, type DraftPostTranslation as DraftPostTranslationOriginal, type DraftTagsUpdated as DraftTagsUpdatedOriginal, type EmbedData as EmbedDataOriginal, type EmbedMedia as EmbedMediaOriginal, type EmbedThumbnail as EmbedThumbnailOriginal, type EmbedVideo as EmbedVideoOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EntranceAnimation as EntranceAnimationOriginal, type EntranceEffect as EntranceEffectOriginal, EntranceEffectType as EntranceEffectTypeOriginal, type EntranceEffectTypeWithLiterals as EntranceEffectTypeWithLiteralsOriginal, type EventData as EventDataOriginal, Field as FieldOriginal, type FieldWithLiterals as FieldWithLiteralsOriginal, type FileData as FileDataOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FocalPoint as FocalPointOriginal, type FontFamilyData as FontFamilyDataOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type GetDeletedDraftPostRequest as GetDeletedDraftPostRequestOriginal, type GetDeletedDraftPostResponse as GetDeletedDraftPostResponseOriginal, type GetDraftPostCountsRequest as GetDraftPostCountsRequestOriginal, type GetDraftPostCountsResponse as GetDraftPostCountsResponseOriginal, type GetDraftPostRequest as GetDraftPostRequestOriginal, type GetDraftPostResponse as GetDraftPostResponseOriginal, type GetDraftPostTotalsRequest as GetDraftPostTotalsRequestOriginal, type GetDraftPostTotalsResponse as GetDraftPostTotalsResponseOriginal, GetDraftPostsSort as GetDraftPostsSortOriginal, type GetDraftPostsSortWithLiterals as GetDraftPostsSortWithLiteralsOriginal, type Gradient as GradientOriginal, GradientType as GradientTypeOriginal, type GradientTypeWithLiterals as GradientTypeWithLiteralsOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageDataCrop as ImageDataCropOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, ImagePosition as ImagePositionOriginal, ImagePositionPosition as ImagePositionPositionOriginal, type ImagePositionPositionWithLiterals as ImagePositionPositionWithLiteralsOriginal, type ImagePositionWithLiterals as ImagePositionWithLiteralsOriginal, ImageScalingScaling as ImageScalingScalingOriginal, type ImageScalingScalingWithLiterals as ImageScalingScalingWithLiteralsOriginal, type ImageStyles as ImageStylesOriginal, Indentation as IndentationOriginal, type IndentationWithLiterals as IndentationWithLiteralsOriginal, type InitialDraftPostsCopied as InitialDraftPostsCopiedOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, type IsDraftPostAutoTranslatableRequest as IsDraftPostAutoTranslatableRequestOriginal, type IsDraftPostAutoTranslatableResponse as IsDraftPostAutoTranslatableResponseOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemImage as ItemImageOriginal, type ItemMetadata as ItemMetadataOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type Keyword as KeywordOriginal, LayerEffect as LayerEffectOriginal, type LayerEffectWithLiterals as LayerEffectWithLiteralsOriginal, type Layers as LayersOriginal, type LayoutCellData as LayoutCellDataOriginal, type LayoutDataBackgroundImage as LayoutDataBackgroundImageOriginal, type LayoutDataBackground as LayoutDataBackgroundOriginal, LayoutDataBackgroundType as LayoutDataBackgroundTypeOriginal, type LayoutDataBackgroundTypeWithLiterals as LayoutDataBackgroundTypeWithLiteralsOriginal, type LayoutData as LayoutDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, LineCap as LineCapOriginal, type LineCapWithLiterals as LineCapWithLiteralsOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkDataOneOf as LinkDataOneOfOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, type ListDeletedDraftPostsRequest as ListDeletedDraftPostsRequestOriginal, type ListDeletedDraftPostsResponse as ListDeletedDraftPostsResponseOriginal, type ListDraftPostsRequest as ListDraftPostsRequestOriginal, type ListDraftPostsResponse as ListDraftPostsResponseOriginal, type ListItemNodeData as ListItemNodeDataOriginal, ListStyle as ListStyleOriginal, type ListStyleWithLiterals as ListStyleWithLiteralsOriginal, type ListValue as ListValueOriginal, type LoopAnimation as LoopAnimationOriginal, type LoopEffect as LoopEffectOriginal, LoopEffectType as LoopEffectTypeOriginal, type LoopEffectTypeWithLiterals as LoopEffectTypeWithLiteralsOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type MarkPostAsInModerationRequest as MarkPostAsInModerationRequestOriginal, type MarkPostAsInModerationResponse as MarkPostAsInModerationResponseOriginal, type MaskedDraftPosts as MaskedDraftPostsOriginal, type MediaMediaOneOf as MediaMediaOneOfOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaData as MetaDataOriginal, type Metadata as MetadataOriginal, type ModerationDetails as ModerationDetailsOriginal, ModerationStatusStatus as ModerationStatusStatusOriginal, type ModerationStatusStatusWithLiterals as ModerationStatusStatusWithLiteralsOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Oembed as OembedOriginal, type OptionDesign as OptionDesignOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, Origin as OriginOriginal, type OriginWithLiterals as OriginWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type PageUrl as PageUrlOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParagraphData as ParagraphDataOriginal, type Permissions as PermissionsOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlatformQuery as PlatformQueryOriginal, type PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOfOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PointerEffect as PointerEffectOriginal, PointerEffectType as PointerEffectTypeOriginal, type PointerEffectTypeWithLiterals as PointerEffectTypeWithLiteralsOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesignBackgroundBackgroundOneOf as PollDesignBackgroundBackgroundOneOfOriginal, type PollDesignBackground as PollDesignBackgroundOriginal, PollDesignBackgroundType as PollDesignBackgroundTypeOriginal, type PollDesignBackgroundTypeWithLiterals as PollDesignBackgroundTypeWithLiteralsOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, type PollSettings as PollSettingsOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type PricingData as PricingDataOriginal, type PublishDraftPostRequest as PublishDraftPostRequestOriginal, type PublishDraftPostResponse as PublishDraftPostResponseOriginal, type QueryDraftPostsRequest as QueryDraftPostsRequestOriginal, type QueryDraftPostsResponse as QueryDraftPostsResponseOriginal, type RejectDraftPostRequest as RejectDraftPostRequestOriginal, type RejectDraftPostResponse as RejectDraftPostResponseOriginal, type Rel as RelOriginal, type RemoveFromTrashBinRequest as RemoveFromTrashBinRequestOriginal, type RemoveFromTrashBinResponse as RemoveFromTrashBinResponseOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, ResponsivenessBehaviour as ResponsivenessBehaviourOriginal, type ResponsivenessBehaviourWithLiterals as ResponsivenessBehaviourWithLiteralsOriginal, type RestoreFromTrashBinRequest as RestoreFromTrashBinRequestOriginal, type RestoreFromTrashBinResponse as RestoreFromTrashBinResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RevertToUnpublishedRequest as RevertToUnpublishedRequestOriginal, type RevertToUnpublishedResponse as RevertToUnpublishedResponseOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, Scaling as ScalingOriginal, type ScalingWithLiterals as ScalingWithLiteralsOriginal, type SectionDivider as SectionDividerOriginal, type SeoSchema as SeoSchemaOriginal, type Settings as SettingsOriginal, type ShapeData as ShapeDataOriginal, type ShapeDataStyles as ShapeDataStylesOriginal, Shape as ShapeOriginal, type ShapeWithLiterals as ShapeWithLiteralsOriginal, type SketchData as SketchDataOriginal, type SmartBlockCellData as SmartBlockCellDataOriginal, type SmartBlockData as SmartBlockDataOriginal, SmartBlockDataType as SmartBlockDataTypeOriginal, type SmartBlockDataTypeWithLiterals as SmartBlockDataTypeWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type Stop as StopOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, type Tag as TagOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, type TocData as TocDataOriginal, TotalDraftPostsGroupingField as TotalDraftPostsGroupingFieldOriginal, type TotalDraftPostsGroupingFieldWithLiterals as TotalDraftPostsGroupingFieldWithLiteralsOriginal, type TotalDraftPosts as TotalDraftPostsOriginal, type TranslateDraftRequest as TranslateDraftRequestOriginal, type TranslateDraftResponse as TranslateDraftResponseOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UnpublishPostRequest as UnpublishPostRequestOriginal, type UnpublishPostResponse as UnpublishPostResponseOriginal, type UpdateDraftPostContentRequest as UpdateDraftPostContentRequestOriginal, type UpdateDraftPostContentResponse as UpdateDraftPostContentResponseOriginal, type UpdateDraftPostLanguageRequest as UpdateDraftPostLanguageRequestOriginal, type UpdateDraftPostLanguageResponse as UpdateDraftPostLanguageResponseOriginal, type UpdateDraftPostRequest as UpdateDraftPostRequestOriginal, type UpdateDraftPostResponse as UpdateDraftPostResponseOriginal, type V1Media as V1MediaOriginal, Variant as VariantOriginal, type VariantWithLiterals as VariantWithLiteralsOriginal, VerticalAlignmentAlignment as VerticalAlignmentAlignmentOriginal, type VerticalAlignmentAlignmentWithLiterals as VerticalAlignmentAlignmentWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type WixMedia as WixMediaOriginal, type __PublicMethodMetaInfo, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, updateDraftPost };
4664
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, Action as ActionOriginal, type ActionWithLiterals as ActionWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type Animation as AnimationOriginal, AnimationType as AnimationTypeOriginal, type AnimationTypeWithLiterals as AnimationTypeWithLiteralsOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type ApproveDraftPostRequest as ApproveDraftPostRequestOriginal, type ApproveDraftPostResponse as ApproveDraftPostResponseOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type AudioData as AudioDataOriginal, type Backdrop as BackdropOriginal, BackdropType as BackdropTypeOriginal, type BackdropTypeWithLiterals as BackdropTypeWithLiteralsOriginal, type BackgroundGradient as BackgroundGradientOriginal, type BackgroundImage as BackgroundImageOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, BannerOrigin as BannerOriginOriginal, type BannerOriginWithLiterals as BannerOriginWithLiteralsOriginal, type Banner as BannerOriginal, BannerPosition as BannerPositionOriginal, type BannerPositionWithLiterals as BannerPositionWithLiteralsOriginal, type BlockquoteData as BlockquoteDataOriginal, type BlogPaging as BlogPagingOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BorderWidths as BorderWidthsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateDraftPostsRequest as BulkCreateDraftPostsRequestOriginal, type BulkCreateDraftPostsResponse as BulkCreateDraftPostsResponseOriginal, type BulkDeleteDraftPostsRequest as BulkDeleteDraftPostsRequestOriginal, type BulkDeleteDraftPostsResponse as BulkDeleteDraftPostsResponseOriginal, type BulkDraftPostResult as BulkDraftPostResultOriginal, type BulkRejectDraftPostRequest as BulkRejectDraftPostRequestOriginal, type BulkRejectDraftPostResponse as BulkRejectDraftPostResponseOriginal, type BulkRevertToUnpublishedRequest as BulkRevertToUnpublishedRequestOriginal, type BulkRevertToUnpublishedResponse as BulkRevertToUnpublishedResponseOriginal, type BulkUpdateDraftPostsRequest as BulkUpdateDraftPostsRequestOriginal, type BulkUpdateDraftPostsResponse as BulkUpdateDraftPostsResponseOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CaptionData as CaptionDataOriginal, type CardDataBackground as CardDataBackgroundOriginal, CardDataBackgroundType as CardDataBackgroundTypeOriginal, type CardDataBackgroundTypeWithLiterals as CardDataBackgroundTypeWithLiteralsOriginal, type CardData as CardDataOriginal, type CardStyles as CardStylesOriginal, CardStylesType as CardStylesTypeOriginal, type CardStylesTypeWithLiterals as CardStylesTypeWithLiteralsOriginal, type CellStyle as CellStyleOriginal, type CheckboxListData as CheckboxListDataOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, ColumnSize as ColumnSizeOriginal, type ColumnSizeWithLiterals as ColumnSizeWithLiteralsOriginal, type CreateDraftPostRequest as CreateDraftPostRequestOriginal, type CreateDraftPostResponse as CreateDraftPostResponseOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type DeleteDraftPostRequest as DeleteDraftPostRequestOriginal, type DeleteDraftPostResponse as DeleteDraftPostResponseOriginal, type Design as DesignOriginal, DesignTarget as DesignTargetOriginal, type DesignTargetWithLiterals as DesignTargetWithLiteralsOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DividerDataStyles as DividerDataStylesOriginal, type DocumentStyle as DocumentStyleOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DraftCategoriesUpdated as DraftCategoriesUpdatedOriginal, type DraftPostCount as DraftPostCountOriginal, type DraftPost as DraftPostOriginal, type DraftPostOwnerChanged as DraftPostOwnerChangedOriginal, type DraftPostTranslation as DraftPostTranslationOriginal, type DraftTagsUpdated as DraftTagsUpdatedOriginal, type EmbedData as EmbedDataOriginal, type EmbedMedia as EmbedMediaOriginal, type EmbedThumbnail as EmbedThumbnailOriginal, type EmbedVideo as EmbedVideoOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EntranceAnimation as EntranceAnimationOriginal, type EntranceEffect as EntranceEffectOriginal, EntranceEffectType as EntranceEffectTypeOriginal, type EntranceEffectTypeWithLiterals as EntranceEffectTypeWithLiteralsOriginal, type EventData as EventDataOriginal, Field as FieldOriginal, type FieldWithLiterals as FieldWithLiteralsOriginal, type FileData as FileDataOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FocalPoint as FocalPointOriginal, type FontFamilyData as FontFamilyDataOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type GetDeletedDraftPostRequest as GetDeletedDraftPostRequestOriginal, type GetDeletedDraftPostResponse as GetDeletedDraftPostResponseOriginal, type GetDraftPostCountsRequest as GetDraftPostCountsRequestOriginal, type GetDraftPostCountsResponse as GetDraftPostCountsResponseOriginal, type GetDraftPostRequest as GetDraftPostRequestOriginal, type GetDraftPostResponse as GetDraftPostResponseOriginal, type GetDraftPostTotalsRequest as GetDraftPostTotalsRequestOriginal, type GetDraftPostTotalsResponse as GetDraftPostTotalsResponseOriginal, GetDraftPostsSort as GetDraftPostsSortOriginal, type GetDraftPostsSortWithLiterals as GetDraftPostsSortWithLiteralsOriginal, type Gradient as GradientOriginal, GradientType as GradientTypeOriginal, type GradientTypeWithLiterals as GradientTypeWithLiteralsOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageDataCrop as ImageDataCropOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, ImagePosition as ImagePositionOriginal, ImagePositionPosition as ImagePositionPositionOriginal, type ImagePositionPositionWithLiterals as ImagePositionPositionWithLiteralsOriginal, type ImagePositionWithLiterals as ImagePositionWithLiteralsOriginal, ImageScalingScaling as ImageScalingScalingOriginal, type ImageScalingScalingWithLiterals as ImageScalingScalingWithLiteralsOriginal, type ImageStyles as ImageStylesOriginal, Indentation as IndentationOriginal, type IndentationWithLiterals as IndentationWithLiteralsOriginal, type InitialDraftPostsCopied as InitialDraftPostsCopiedOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, type IsDraftPostAutoTranslatableRequest as IsDraftPostAutoTranslatableRequestOriginal, type IsDraftPostAutoTranslatableResponse as IsDraftPostAutoTranslatableResponseOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemImage as ItemImageOriginal, type ItemMetadata as ItemMetadataOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type Keyword as KeywordOriginal, LayerEffect as LayerEffectOriginal, type LayerEffectWithLiterals as LayerEffectWithLiteralsOriginal, type Layers as LayersOriginal, type LayoutCellData as LayoutCellDataOriginal, type LayoutDataBackgroundImage as LayoutDataBackgroundImageOriginal, type LayoutDataBackground as LayoutDataBackgroundOriginal, LayoutDataBackgroundType as LayoutDataBackgroundTypeOriginal, type LayoutDataBackgroundTypeWithLiterals as LayoutDataBackgroundTypeWithLiteralsOriginal, type LayoutData as LayoutDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, LineCap as LineCapOriginal, type LineCapWithLiterals as LineCapWithLiteralsOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkDataOneOf as LinkDataOneOfOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, type ListDeletedDraftPostsRequest as ListDeletedDraftPostsRequestOriginal, type ListDeletedDraftPostsResponse as ListDeletedDraftPostsResponseOriginal, type ListDraftPostsRequest as ListDraftPostsRequestOriginal, type ListDraftPostsResponse as ListDraftPostsResponseOriginal, type ListItemNodeData as ListItemNodeDataOriginal, ListStyle as ListStyleOriginal, type ListStyleWithLiterals as ListStyleWithLiteralsOriginal, type ListValue as ListValueOriginal, type LoopAnimation as LoopAnimationOriginal, type LoopEffect as LoopEffectOriginal, LoopEffectType as LoopEffectTypeOriginal, type LoopEffectTypeWithLiterals as LoopEffectTypeWithLiteralsOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type MarkPostAsInModerationRequest as MarkPostAsInModerationRequestOriginal, type MarkPostAsInModerationResponse as MarkPostAsInModerationResponseOriginal, type MaskedDraftPosts as MaskedDraftPostsOriginal, type MediaMediaOneOf as MediaMediaOneOfOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaData as MetaDataOriginal, type Metadata as MetadataOriginal, type ModerationDetails as ModerationDetailsOriginal, ModerationStatusStatus as ModerationStatusStatusOriginal, type ModerationStatusStatusWithLiterals as ModerationStatusStatusWithLiteralsOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Oembed as OembedOriginal, type OptionDesign as OptionDesignOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, Origin as OriginOriginal, type OriginWithLiterals as OriginWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type PageUrl as PageUrlOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParagraphData as ParagraphDataOriginal, type Permissions as PermissionsOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlatformQuery as PlatformQueryOriginal, type PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOfOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PointerEffect as PointerEffectOriginal, PointerEffectType as PointerEffectTypeOriginal, type PointerEffectTypeWithLiterals as PointerEffectTypeWithLiteralsOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesignBackgroundBackgroundOneOf as PollDesignBackgroundBackgroundOneOfOriginal, type PollDesignBackground as PollDesignBackgroundOriginal, PollDesignBackgroundType as PollDesignBackgroundTypeOriginal, type PollDesignBackgroundTypeWithLiterals as PollDesignBackgroundTypeWithLiteralsOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, type PollSettings as PollSettingsOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type PricingData as PricingDataOriginal, type PublishDraftPostRequest as PublishDraftPostRequestOriginal, type PublishDraftPostResponse as PublishDraftPostResponseOriginal, type QueryDraftPostsRequest as QueryDraftPostsRequestOriginal, type QueryDraftPostsResponse as QueryDraftPostsResponseOriginal, type RejectDraftPostRequest as RejectDraftPostRequestOriginal, type RejectDraftPostResponse as RejectDraftPostResponseOriginal, type Rel as RelOriginal, type RemoveFromTrashBinRequest as RemoveFromTrashBinRequestOriginal, type RemoveFromTrashBinResponse as RemoveFromTrashBinResponseOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, ResponsivenessBehaviour as ResponsivenessBehaviourOriginal, type ResponsivenessBehaviourWithLiterals as ResponsivenessBehaviourWithLiteralsOriginal, type RestoreFromTrashBinRequest as RestoreFromTrashBinRequestOriginal, type RestoreFromTrashBinResponse as RestoreFromTrashBinResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RevertToUnpublishedRequest as RevertToUnpublishedRequestOriginal, type RevertToUnpublishedResponse as RevertToUnpublishedResponseOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, Scaling as ScalingOriginal, type ScalingWithLiterals as ScalingWithLiteralsOriginal, type SectionDivider as SectionDividerOriginal, type SeoSchema as SeoSchemaOriginal, type Settings as SettingsOriginal, type ShapeData as ShapeDataOriginal, type ShapeDataStyles as ShapeDataStylesOriginal, Shape as ShapeOriginal, type ShapeWithLiterals as ShapeWithLiteralsOriginal, type SketchData as SketchDataOriginal, type SmartBlockCellData as SmartBlockCellDataOriginal, type SmartBlockData as SmartBlockDataOriginal, SmartBlockDataType as SmartBlockDataTypeOriginal, type SmartBlockDataTypeWithLiterals as SmartBlockDataTypeWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type Stop as StopOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, type Tag as TagOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, type TocData as TocDataOriginal, TotalDraftPostsGroupingField as TotalDraftPostsGroupingFieldOriginal, type TotalDraftPostsGroupingFieldWithLiterals as TotalDraftPostsGroupingFieldWithLiteralsOriginal, type TotalDraftPosts as TotalDraftPostsOriginal, type TranslateDraftRequest as TranslateDraftRequestOriginal, type TranslateDraftResponse as TranslateDraftResponseOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UnpublishPostRequest as UnpublishPostRequestOriginal, type UnpublishPostResponse as UnpublishPostResponseOriginal, type UpdateDraftPostContentRequest as UpdateDraftPostContentRequestOriginal, type UpdateDraftPostContentResponse as UpdateDraftPostContentResponseOriginal, type UpdateDraftPostLanguageRequest as UpdateDraftPostLanguageRequestOriginal, type UpdateDraftPostLanguageResponse as UpdateDraftPostLanguageResponseOriginal, type UpdateDraftPostRequest as UpdateDraftPostRequestOriginal, type UpdateDraftPostResponse as UpdateDraftPostResponseOriginal, type V1Media as V1MediaOriginal, Variant as VariantOriginal, type VariantWithLiterals as VariantWithLiteralsOriginal, VerticalAlignmentAlignment as VerticalAlignmentAlignmentOriginal, type VerticalAlignmentAlignmentWithLiterals as VerticalAlignmentAlignmentWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type WixMedia as WixMediaOriginal, type __PublicMethodMetaInfo, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, translateDraft, updateDraftPost, updateDraftPostLanguage };