@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.
- package/build/cjs/index.d.ts +56 -3
- package/build/cjs/index.js +810 -141
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +122 -25
- package/build/cjs/index.typings.js +790 -141
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +44 -26
- package/build/cjs/meta.js +583 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +56 -3
- package/build/es/index.mjs +808 -141
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +122 -25
- package/build/es/index.typings.mjs +788 -141
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +44 -26
- package/build/es/meta.mjs +580 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +56 -3
- package/build/internal/cjs/index.typings.d.ts +125 -26
- package/build/internal/cjs/meta.d.ts +47 -27
- package/build/internal/es/index.d.mts +56 -3
- package/build/internal/es/index.typings.d.mts +125 -26
- package/build/internal/es/meta.d.mts +47 -27
- package/package.json +2 -2
|
@@ -4128,75 +4128,87 @@ interface MarkPostAsInModerationResponse {
|
|
|
4128
4128
|
}
|
|
4129
4129
|
interface TranslateDraftRequest {
|
|
4130
4130
|
/**
|
|
4131
|
-
*
|
|
4131
|
+
* ID of the draft post or published post to translate.
|
|
4132
4132
|
* @format GUID
|
|
4133
4133
|
*/
|
|
4134
|
-
postId
|
|
4134
|
+
postId: string;
|
|
4135
4135
|
/**
|
|
4136
|
-
*
|
|
4136
|
+
* Language to translate the post into, in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
4137
|
+
* For example, `de` for German, or `pt-br` for Brazilian Portuguese.
|
|
4137
4138
|
* @format LANGUAGE_TAG
|
|
4138
4139
|
*/
|
|
4139
|
-
language
|
|
4140
|
+
language: string;
|
|
4140
4141
|
/**
|
|
4141
|
-
*
|
|
4142
|
-
*
|
|
4143
|
-
*
|
|
4142
|
+
* Predefined sets of fields to return in the created draft post, in addition to the core draft post fields.
|
|
4143
|
+
*
|
|
4144
|
+
* - `URL`: Returns the draft post's preview URL.
|
|
4145
|
+
* - `CONTENT`: Returns the draft post's content.
|
|
4146
|
+
* - `RICH_CONTENT`: Returns the draft post's rich content.
|
|
4147
|
+
* - `GENERATED_EXCERPT`: Returns an excerpt generated from the content if a custom excerpt isn't set.
|
|
4148
|
+
*
|
|
4149
|
+
* Default: Core draft post fields only.
|
|
4144
4150
|
* @maxSize 10
|
|
4145
4151
|
*/
|
|
4146
4152
|
fieldsets?: FieldWithLiterals[];
|
|
4147
4153
|
}
|
|
4148
4154
|
interface TranslateDraftResponse {
|
|
4149
|
-
/**
|
|
4155
|
+
/** Created draft post. */
|
|
4150
4156
|
draftPost?: DraftPost;
|
|
4151
4157
|
}
|
|
4152
4158
|
interface IsDraftPostAutoTranslatableRequest {
|
|
4153
4159
|
/**
|
|
4154
|
-
*
|
|
4160
|
+
* Draft post ID.
|
|
4155
4161
|
* @format GUID
|
|
4156
4162
|
*/
|
|
4157
4163
|
draftPostId?: string;
|
|
4158
4164
|
}
|
|
4159
4165
|
interface IsDraftPostAutoTranslatableResponse {
|
|
4160
4166
|
/**
|
|
4161
|
-
*
|
|
4167
|
+
* Draft post ID.
|
|
4162
4168
|
* @format GUID
|
|
4163
4169
|
*/
|
|
4164
4170
|
draftPostId?: string;
|
|
4165
|
-
/**
|
|
4171
|
+
/** Whether enough machine translation word credits are available to translate the draft post. */
|
|
4166
4172
|
translatable?: boolean;
|
|
4167
|
-
/**
|
|
4173
|
+
/** Number of words in the draft post's title. */
|
|
4168
4174
|
titleWordCount?: number;
|
|
4169
|
-
/**
|
|
4175
|
+
/** Number of words in the draft post's content. */
|
|
4170
4176
|
contentWordCount?: number;
|
|
4171
|
-
/**
|
|
4177
|
+
/** Number of machine translation word credits currently available. `-1` if the site's quota is unlimited. */
|
|
4172
4178
|
availableAutoTranslateWords?: number;
|
|
4173
|
-
/**
|
|
4179
|
+
/** Number of machine translation word credits that remain after translating the draft post. `-1` if the site's quota is unlimited. */
|
|
4174
4180
|
availableAutoTranslateWordsAfter?: number;
|
|
4175
|
-
/**
|
|
4181
|
+
/** Number of characters in the draft post's plain text content. */
|
|
4176
4182
|
contentTextCharacterCount?: number;
|
|
4177
4183
|
}
|
|
4178
4184
|
interface UpdateDraftPostLanguageRequest {
|
|
4179
4185
|
/**
|
|
4180
|
-
*
|
|
4186
|
+
* ID of the draft post to update.
|
|
4181
4187
|
* @format GUID
|
|
4182
4188
|
*/
|
|
4183
|
-
postId
|
|
4189
|
+
postId: string;
|
|
4184
4190
|
/**
|
|
4185
|
-
* New language
|
|
4191
|
+
* New language of the draft post, in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
4192
|
+
* For example, `de` for German, or `pt-br` for Brazilian Portuguese.
|
|
4186
4193
|
* @minLength 2
|
|
4187
4194
|
* @format LANGUAGE_TAG
|
|
4188
4195
|
*/
|
|
4189
|
-
language
|
|
4196
|
+
language: string;
|
|
4190
4197
|
/**
|
|
4191
|
-
*
|
|
4192
|
-
*
|
|
4193
|
-
*
|
|
4198
|
+
* Predefined sets of fields to return in the updated draft post, in addition to the core draft post fields.
|
|
4199
|
+
*
|
|
4200
|
+
* - `URL`: Returns the draft post's preview URL.
|
|
4201
|
+
* - `CONTENT`: Returns the draft post's content.
|
|
4202
|
+
* - `RICH_CONTENT`: Returns the draft post's rich content.
|
|
4203
|
+
* - `GENERATED_EXCERPT`: Returns an excerpt generated from the content if a custom excerpt isn't set.
|
|
4204
|
+
*
|
|
4205
|
+
* Default: Core draft post fields only.
|
|
4194
4206
|
* @maxSize 10
|
|
4195
4207
|
*/
|
|
4196
4208
|
fieldsets?: FieldWithLiterals[];
|
|
4197
4209
|
}
|
|
4198
4210
|
interface UpdateDraftPostLanguageResponse {
|
|
4199
|
-
/**
|
|
4211
|
+
/** Updated draft post. */
|
|
4200
4212
|
draftPost?: DraftPost;
|
|
4201
4213
|
}
|
|
4202
4214
|
interface BaseEventMetadata {
|
|
@@ -4997,5 +5009,90 @@ declare const utils: {
|
|
|
4997
5009
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost
|
|
4998
5010
|
*/
|
|
4999
5011
|
declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`, 0>>;
|
|
5012
|
+
/**
|
|
5013
|
+
* Creates a draft post in the specified language by copying an existing draft post or published post.
|
|
5014
|
+
*
|
|
5015
|
+
* The created draft post contains the source draft's title, rich content, excerpt, cover and hero images, hashtags,
|
|
5016
|
+
* pricing plan IDs, preview text paragraph, and commenting and featured settings. Tags, related posts, SEO data,
|
|
5017
|
+
* and the slug aren't copied. Category IDs are replaced with the IDs of the categories' translations in the specified
|
|
5018
|
+
* language. Categories that have no translation in that language are omitted.
|
|
5019
|
+
*
|
|
5020
|
+
* The created draft post shares the source's `translationId` and keeps the source's `memberId`. If the source doesn't
|
|
5021
|
+
* have a `translationId` yet, one is generated and assigned to both the source and the created draft post.
|
|
5022
|
+
*
|
|
5023
|
+
* The source keeps its status. The created draft post is always unpublished. To publish it, call
|
|
5024
|
+
* [Update Draft Post](https://dev.wix.com/docs/rest/business-solutions/blog/draft-posts/update-draft-post)
|
|
5025
|
+
* with `action` set to `UPDATE_PUBLISH`.
|
|
5026
|
+
*
|
|
5027
|
+
* Translating a post to its own language, or to a language that already exists in the same translation group,
|
|
5028
|
+
* fails with an `ALREADY_EXISTS` error. The specified language isn't checked against the site's
|
|
5029
|
+
* [Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) languages.
|
|
5030
|
+
*
|
|
5031
|
+
* To change the language of an existing draft post instead of creating a copy, call
|
|
5032
|
+
* [Update Draft Post Language](https://dev.wix.com/docs/rest/business-solutions/blog/draft-posts/update-draft-post-language).
|
|
5033
|
+
* @param postId - ID of the draft post or published post to translate.
|
|
5034
|
+
* @param language - Language to translate the post into, in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
5035
|
+
* For example, `de` for German, or `pt-br` for Brazilian Portuguese.
|
|
5036
|
+
* @public
|
|
5037
|
+
* @requiredField language
|
|
5038
|
+
* @requiredField postId
|
|
5039
|
+
* @param options - Options for translating a draft post.
|
|
5040
|
+
* @permissionId BLOG.CREATE-DRAFT
|
|
5041
|
+
* @applicableIdentity APP
|
|
5042
|
+
* @fqn com.wixpress.npm.communities.platformized.blog.v3.BlogMultilingualService.TranslateDraft
|
|
5043
|
+
*/
|
|
5044
|
+
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>>;
|
|
5045
|
+
interface TranslateDraftOptions {
|
|
5046
|
+
/**
|
|
5047
|
+
* Predefined sets of fields to return in the created draft post, in addition to the core draft post fields.
|
|
5048
|
+
*
|
|
5049
|
+
* - `URL`: Returns the draft post's preview URL.
|
|
5050
|
+
* - `CONTENT`: Returns the draft post's content.
|
|
5051
|
+
* - `RICH_CONTENT`: Returns the draft post's rich content.
|
|
5052
|
+
* - `GENERATED_EXCERPT`: Returns an excerpt generated from the content if a custom excerpt isn't set.
|
|
5053
|
+
*
|
|
5054
|
+
* Default: Core draft post fields only.
|
|
5055
|
+
* @maxSize 10
|
|
5056
|
+
*/
|
|
5057
|
+
fieldsets?: FieldWithLiterals[];
|
|
5058
|
+
}
|
|
5059
|
+
/**
|
|
5060
|
+
* Changes the language of a draft post and replaces its categories with their translations in the specified language.
|
|
5061
|
+
*
|
|
5062
|
+
* Category IDs are replaced with the IDs of the categories' translations in the specified language. Categories that
|
|
5063
|
+
* have no translation in that language are removed. Tag IDs and related post IDs are cleared, because tags and related
|
|
5064
|
+
* posts are language specific. If the draft post is published, the published post is updated in the same way.
|
|
5065
|
+
*
|
|
5066
|
+
* Changing the language to the draft post's current language fails with an `INVALID_ARGUMENT` error. Changing it to a
|
|
5067
|
+
* language that already exists in the same translation group fails with an `ALREADY_EXISTS` error.
|
|
5068
|
+
*
|
|
5069
|
+
* To create a translated copy instead of changing the language in place, call
|
|
5070
|
+
* [Translate Draft](https://dev.wix.com/docs/rest/business-solutions/blog/draft-posts/translate-draft).
|
|
5071
|
+
* @param postId - ID of the draft post to update.
|
|
5072
|
+
* @param language - New language of the draft post, in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
5073
|
+
* For example, `de` for German, or `pt-br` for Brazilian Portuguese.
|
|
5074
|
+
* @public
|
|
5075
|
+
* @requiredField language
|
|
5076
|
+
* @requiredField postId
|
|
5077
|
+
* @param options - Options for updating a draft post's language.
|
|
5078
|
+
* @permissionId BLOG.EDIT-DRAFT
|
|
5079
|
+
* @applicableIdentity APP
|
|
5080
|
+
* @fqn com.wixpress.npm.communities.platformized.blog.v3.BlogMultilingualService.UpdateDraftPostLanguage
|
|
5081
|
+
*/
|
|
5082
|
+
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>>;
|
|
5083
|
+
interface UpdateDraftPostLanguageOptions {
|
|
5084
|
+
/**
|
|
5085
|
+
* Predefined sets of fields to return in the updated draft post, in addition to the core draft post fields.
|
|
5086
|
+
*
|
|
5087
|
+
* - `URL`: Returns the draft post's preview URL.
|
|
5088
|
+
* - `CONTENT`: Returns the draft post's content.
|
|
5089
|
+
* - `RICH_CONTENT`: Returns the draft post's rich content.
|
|
5090
|
+
* - `GENERATED_EXCERPT`: Returns an excerpt generated from the content if a custom excerpt isn't set.
|
|
5091
|
+
*
|
|
5092
|
+
* Default: Core draft post fields only.
|
|
5093
|
+
* @maxSize 10
|
|
5094
|
+
*/
|
|
5095
|
+
fieldsets?: FieldWithLiterals[];
|
|
5096
|
+
}
|
|
5000
5097
|
|
|
5001
|
-
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 };
|
|
5098
|
+
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 };
|