@wix/auto_sdk_blog_draft-posts 1.0.84 → 1.0.86
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 +1 -1
- package/build/cjs/index.js +12 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +97 -77
- package/build/cjs/index.typings.js +12 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +99 -79
- package/build/cjs/meta.js +12 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +11 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +97 -77
- package/build/es/index.typings.mjs +11 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +99 -79
- package/build/es/meta.mjs +11 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +12 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +97 -77
- package/build/internal/cjs/index.typings.js +12 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +99 -79
- package/build/internal/cjs/meta.js +12 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +11 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +97 -77
- package/build/internal/es/index.typings.mjs +11 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +99 -79
- package/build/internal/es/meta.mjs +11 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -2088,7 +2088,7 @@ interface LayoutData {
|
|
|
2088
2088
|
containerData?: PluginContainerData;
|
|
2089
2089
|
/** Defines where selected design propertied applies to */
|
|
2090
2090
|
designTarget?: DesignTargetWithLiterals;
|
|
2091
|
-
/** Banner configuration. When present, this layout is
|
|
2091
|
+
/** Banner configuration. When present, this layout is attached to a document edge (top or bottom). */
|
|
2092
2092
|
banner?: Banner;
|
|
2093
2093
|
/** Background styling (color or gradient). */
|
|
2094
2094
|
background?: LayoutDataBackground;
|
|
@@ -2135,6 +2135,14 @@ declare enum BannerOrigin {
|
|
|
2135
2135
|
}
|
|
2136
2136
|
/** @enumType */
|
|
2137
2137
|
type BannerOriginWithLiterals = BannerOrigin | 'IMAGE' | 'LAYOUT';
|
|
2138
|
+
declare enum BannerPosition {
|
|
2139
|
+
/** Attached to the top edge (banner) */
|
|
2140
|
+
TOP = "TOP",
|
|
2141
|
+
/** Attached to the bottom edge (footer) */
|
|
2142
|
+
BOTTOM = "BOTTOM"
|
|
2143
|
+
}
|
|
2144
|
+
/** @enumType */
|
|
2145
|
+
type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';
|
|
2138
2146
|
/** Background type */
|
|
2139
2147
|
declare enum LayoutDataBackgroundType {
|
|
2140
2148
|
/** Solid color background */
|
|
@@ -2192,6 +2200,8 @@ type DesignTargetWithLiterals = DesignTarget | 'LAYOUT' | 'CELL';
|
|
|
2192
2200
|
interface Banner {
|
|
2193
2201
|
/** Origin of the banner */
|
|
2194
2202
|
origin?: BannerOriginWithLiterals;
|
|
2203
|
+
/** Position of the banner */
|
|
2204
|
+
position?: BannerPositionWithLiterals;
|
|
2195
2205
|
}
|
|
2196
2206
|
/** Background styling (color or gradient) */
|
|
2197
2207
|
interface LayoutDataBackground {
|
|
@@ -2399,10 +2409,20 @@ declare enum SmartBlockDataType {
|
|
|
2399
2409
|
/** Process steps with numbered/icon labels above a horizontal line. */
|
|
2400
2410
|
PROCESS_STEPS = "PROCESS_STEPS",
|
|
2401
2411
|
/** Statistics with bar visual elements. */
|
|
2402
|
-
BAR_STATS = "BAR_STATS"
|
|
2412
|
+
BAR_STATS = "BAR_STATS",
|
|
2413
|
+
/** Timeline layout with numbered chips on a connecting line; cells alternate around the line. */
|
|
2414
|
+
TIMELINE = "TIMELINE",
|
|
2415
|
+
/** Timeline layout with plain dot indicators; no numbers or shapes; cells alternate around the line. */
|
|
2416
|
+
MINIMAL_TIMELINE = "MINIMAL_TIMELINE",
|
|
2417
|
+
/** Numbered pill-shaped labels (stadium chips) with text content; supports HORIZONTAL (pill on top) and VERTICAL (pill on left) orientations. */
|
|
2418
|
+
PILLS = "PILLS",
|
|
2419
|
+
/** Star rating display with stars and a numeric value per cell. */
|
|
2420
|
+
STAR_RATING = "STAR_RATING",
|
|
2421
|
+
/** Outlined boxes with decorative quote glyphs at the top-left and bottom-right corners. */
|
|
2422
|
+
QUOTE_BOXES = "QUOTE_BOXES"
|
|
2403
2423
|
}
|
|
2404
2424
|
/** @enumType */
|
|
2405
|
-
type SmartBlockDataTypeWithLiterals = SmartBlockDataType | 'SOLID_BOXES' | 'NUMBERED_BOXES' | 'STATS' | 'CIRCLE_STATS' | 'SOLID_BOXES_ALTERNATING' | 'SOLID_JOINED_BOXES' | 'SIDE_LINE_TEXT' | 'TOP_LINE_TEXT' | 'OUTLINE_BOXES_WITH_TOP_CIRCLE' | 'BIG_BULLETS' | 'SMALL_BULLETS' | 'ARROW_BULLETS' | 'PROCESS_STEPS' | 'BAR_STATS';
|
|
2425
|
+
type SmartBlockDataTypeWithLiterals = SmartBlockDataType | 'SOLID_BOXES' | 'NUMBERED_BOXES' | 'STATS' | 'CIRCLE_STATS' | 'SOLID_BOXES_ALTERNATING' | 'SOLID_JOINED_BOXES' | 'SIDE_LINE_TEXT' | 'TOP_LINE_TEXT' | 'OUTLINE_BOXES_WITH_TOP_CIRCLE' | 'BIG_BULLETS' | 'SMALL_BULLETS' | 'ARROW_BULLETS' | 'PROCESS_STEPS' | 'BAR_STATS' | 'TIMELINE' | 'MINIMAL_TIMELINE' | 'PILLS' | 'STAR_RATING' | 'QUOTE_BOXES';
|
|
2406
2426
|
/** Column size controlling how many cells appear per row. */
|
|
2407
2427
|
declare enum ColumnSize {
|
|
2408
2428
|
/** Up to 4 cells in a row. */
|
|
@@ -3483,6 +3503,79 @@ interface DraftPostCount {
|
|
|
3483
3503
|
/** Number of posts. */
|
|
3484
3504
|
postCount?: number;
|
|
3485
3505
|
}
|
|
3506
|
+
interface TranslateDraftRequest {
|
|
3507
|
+
/**
|
|
3508
|
+
* Source post or draft ID
|
|
3509
|
+
* @format GUID
|
|
3510
|
+
*/
|
|
3511
|
+
postId?: string;
|
|
3512
|
+
/**
|
|
3513
|
+
* Translation language
|
|
3514
|
+
* @format LANGUAGE_TAG
|
|
3515
|
+
*/
|
|
3516
|
+
language?: string;
|
|
3517
|
+
/**
|
|
3518
|
+
* List of draft post fields to be included if entities are present in the response.
|
|
3519
|
+
* Base fieldset, which is default, will return all core draft post properties.
|
|
3520
|
+
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
3521
|
+
* @maxSize 10
|
|
3522
|
+
*/
|
|
3523
|
+
fieldsets?: FieldWithLiterals[];
|
|
3524
|
+
}
|
|
3525
|
+
interface TranslateDraftResponse {
|
|
3526
|
+
/** Draft post. */
|
|
3527
|
+
draftPost?: DraftPost;
|
|
3528
|
+
}
|
|
3529
|
+
interface IsDraftPostAutoTranslatableRequest {
|
|
3530
|
+
/**
|
|
3531
|
+
* Source post or draft ID.
|
|
3532
|
+
* @format GUID
|
|
3533
|
+
*/
|
|
3534
|
+
draftPostId?: string;
|
|
3535
|
+
}
|
|
3536
|
+
interface IsDraftPostAutoTranslatableResponse {
|
|
3537
|
+
/**
|
|
3538
|
+
* Source draft post ID.
|
|
3539
|
+
* @format GUID
|
|
3540
|
+
*/
|
|
3541
|
+
draftPostId?: string;
|
|
3542
|
+
/** Indicates if enough machine translation credits are available for the draft post translation. */
|
|
3543
|
+
translatable?: boolean;
|
|
3544
|
+
/** Draft post title word count. */
|
|
3545
|
+
titleWordCount?: number;
|
|
3546
|
+
/** Draft post content word count. */
|
|
3547
|
+
contentWordCount?: number;
|
|
3548
|
+
/** Word credits available for auto translation. */
|
|
3549
|
+
availableAutoTranslateWords?: number;
|
|
3550
|
+
/** Word credits available after auto translation would be done. */
|
|
3551
|
+
availableAutoTranslateWordsAfter?: number;
|
|
3552
|
+
/** Content text character count. */
|
|
3553
|
+
contentTextCharacterCount?: number;
|
|
3554
|
+
}
|
|
3555
|
+
interface UpdateDraftPostLanguageRequest {
|
|
3556
|
+
/**
|
|
3557
|
+
* Source draft post ID
|
|
3558
|
+
* @format GUID
|
|
3559
|
+
*/
|
|
3560
|
+
postId?: string;
|
|
3561
|
+
/**
|
|
3562
|
+
* New language to replace to
|
|
3563
|
+
* @minLength 2
|
|
3564
|
+
* @format LANGUAGE_TAG
|
|
3565
|
+
*/
|
|
3566
|
+
language?: string;
|
|
3567
|
+
/**
|
|
3568
|
+
* List of draft post fields to be included if entities are present in the response.
|
|
3569
|
+
* Base fieldset, which is default, will return all core draft post properties.
|
|
3570
|
+
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
3571
|
+
* @maxSize 10
|
|
3572
|
+
*/
|
|
3573
|
+
fieldsets?: FieldWithLiterals[];
|
|
3574
|
+
}
|
|
3575
|
+
interface UpdateDraftPostLanguageResponse {
|
|
3576
|
+
/** Draft post */
|
|
3577
|
+
draftPost?: DraftPost;
|
|
3578
|
+
}
|
|
3486
3579
|
interface BulkRevertToUnpublishedRequest {
|
|
3487
3580
|
/**
|
|
3488
3581
|
* Source post IDs.
|
|
@@ -3594,79 +3687,6 @@ interface MarkPostAsInModerationResponse {
|
|
|
3594
3687
|
/** Updated post draft. */
|
|
3595
3688
|
draftPost?: DraftPost;
|
|
3596
3689
|
}
|
|
3597
|
-
interface TranslateDraftRequest {
|
|
3598
|
-
/**
|
|
3599
|
-
* Source post or draft ID
|
|
3600
|
-
* @format GUID
|
|
3601
|
-
*/
|
|
3602
|
-
postId?: string;
|
|
3603
|
-
/**
|
|
3604
|
-
* Translation language
|
|
3605
|
-
* @format LANGUAGE_TAG
|
|
3606
|
-
*/
|
|
3607
|
-
language?: string;
|
|
3608
|
-
/**
|
|
3609
|
-
* List of draft post fields to be included if entities are present in the response.
|
|
3610
|
-
* Base fieldset, which is default, will return all core draft post properties.
|
|
3611
|
-
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
3612
|
-
* @maxSize 10
|
|
3613
|
-
*/
|
|
3614
|
-
fieldsets?: FieldWithLiterals[];
|
|
3615
|
-
}
|
|
3616
|
-
interface TranslateDraftResponse {
|
|
3617
|
-
/** Draft post. */
|
|
3618
|
-
draftPost?: DraftPost;
|
|
3619
|
-
}
|
|
3620
|
-
interface IsDraftPostAutoTranslatableRequest {
|
|
3621
|
-
/**
|
|
3622
|
-
* Source post or draft ID.
|
|
3623
|
-
* @format GUID
|
|
3624
|
-
*/
|
|
3625
|
-
draftPostId?: string;
|
|
3626
|
-
}
|
|
3627
|
-
interface IsDraftPostAutoTranslatableResponse {
|
|
3628
|
-
/**
|
|
3629
|
-
* Source draft post ID.
|
|
3630
|
-
* @format GUID
|
|
3631
|
-
*/
|
|
3632
|
-
draftPostId?: string;
|
|
3633
|
-
/** Indicates if enough machine translation credits are available for the draft post translation. */
|
|
3634
|
-
translatable?: boolean;
|
|
3635
|
-
/** Draft post title word count. */
|
|
3636
|
-
titleWordCount?: number;
|
|
3637
|
-
/** Draft post content word count. */
|
|
3638
|
-
contentWordCount?: number;
|
|
3639
|
-
/** Word credits available for auto translation. */
|
|
3640
|
-
availableAutoTranslateWords?: number;
|
|
3641
|
-
/** Word credits available after auto translation would be done. */
|
|
3642
|
-
availableAutoTranslateWordsAfter?: number;
|
|
3643
|
-
/** Content text character count. */
|
|
3644
|
-
contentTextCharacterCount?: number;
|
|
3645
|
-
}
|
|
3646
|
-
interface UpdateDraftPostLanguageRequest {
|
|
3647
|
-
/**
|
|
3648
|
-
* Source draft post ID
|
|
3649
|
-
* @format GUID
|
|
3650
|
-
*/
|
|
3651
|
-
postId?: string;
|
|
3652
|
-
/**
|
|
3653
|
-
* New language to replace to
|
|
3654
|
-
* @minLength 2
|
|
3655
|
-
* @format LANGUAGE_TAG
|
|
3656
|
-
*/
|
|
3657
|
-
language?: string;
|
|
3658
|
-
/**
|
|
3659
|
-
* List of draft post fields to be included if entities are present in the response.
|
|
3660
|
-
* Base fieldset, which is default, will return all core draft post properties.
|
|
3661
|
-
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
3662
|
-
* @maxSize 10
|
|
3663
|
-
*/
|
|
3664
|
-
fieldsets?: FieldWithLiterals[];
|
|
3665
|
-
}
|
|
3666
|
-
interface UpdateDraftPostLanguageResponse {
|
|
3667
|
-
/** Draft post */
|
|
3668
|
-
draftPost?: DraftPost;
|
|
3669
|
-
}
|
|
3670
3690
|
interface BaseEventMetadata {
|
|
3671
3691
|
/**
|
|
3672
3692
|
* App instance ID.
|
|
@@ -4462,4 +4482,4 @@ declare const utils: {
|
|
|
4462
4482
|
*/
|
|
4463
4483
|
declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`, 2>>;
|
|
4464
4484
|
|
|
4465
|
-
export { type AccountInfo, type AccountInfoMetadata, Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, 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, 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 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 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 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 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, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, 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, ListStyle, type ListStyleWithLiterals, type ListValue, 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 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 SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, 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, 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 };
|
|
4485
|
+
export { type AccountInfo, type AccountInfoMetadata, Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, 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 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 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 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 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, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, 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, ListStyle, type ListStyleWithLiterals, type ListValue, 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 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 SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, 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, 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 };
|
|
@@ -27,6 +27,7 @@ __export(index_typings_exports, {
|
|
|
27
27
|
BackdropType: () => BackdropType,
|
|
28
28
|
BackgroundType: () => BackgroundType,
|
|
29
29
|
BannerOrigin: () => BannerOrigin,
|
|
30
|
+
BannerPosition: () => BannerPosition,
|
|
30
31
|
ButtonDataType: () => ButtonDataType,
|
|
31
32
|
CardDataBackgroundType: () => CardDataBackgroundType,
|
|
32
33
|
CardStylesType: () => CardStylesType,
|
|
@@ -3063,6 +3064,11 @@ var BannerOrigin = /* @__PURE__ */ ((BannerOrigin2) => {
|
|
|
3063
3064
|
BannerOrigin2["LAYOUT"] = "LAYOUT";
|
|
3064
3065
|
return BannerOrigin2;
|
|
3065
3066
|
})(BannerOrigin || {});
|
|
3067
|
+
var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
|
|
3068
|
+
BannerPosition2["TOP"] = "TOP";
|
|
3069
|
+
BannerPosition2["BOTTOM"] = "BOTTOM";
|
|
3070
|
+
return BannerPosition2;
|
|
3071
|
+
})(BannerPosition || {});
|
|
3066
3072
|
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
3067
3073
|
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
3068
3074
|
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
@@ -3142,6 +3148,11 @@ var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
|
|
|
3142
3148
|
SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
|
|
3143
3149
|
SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
|
|
3144
3150
|
SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
|
|
3151
|
+
SmartBlockDataType2["TIMELINE"] = "TIMELINE";
|
|
3152
|
+
SmartBlockDataType2["MINIMAL_TIMELINE"] = "MINIMAL_TIMELINE";
|
|
3153
|
+
SmartBlockDataType2["PILLS"] = "PILLS";
|
|
3154
|
+
SmartBlockDataType2["STAR_RATING"] = "STAR_RATING";
|
|
3155
|
+
SmartBlockDataType2["QUOTE_BOXES"] = "QUOTE_BOXES";
|
|
3145
3156
|
return SmartBlockDataType2;
|
|
3146
3157
|
})(SmartBlockDataType || {});
|
|
3147
3158
|
var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {
|
|
@@ -4061,6 +4072,7 @@ async function publishDraftPost2(draftPostId) {
|
|
|
4061
4072
|
BackdropType,
|
|
4062
4073
|
BackgroundType,
|
|
4063
4074
|
BannerOrigin,
|
|
4075
|
+
BannerPosition,
|
|
4064
4076
|
ButtonDataType,
|
|
4065
4077
|
CardDataBackgroundType,
|
|
4066
4078
|
CardStylesType,
|