@wix/auto_sdk_blog_draft-posts 1.0.77 → 1.0.78
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 +76 -17
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +60 -5
- package/build/cjs/index.typings.js +67 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +60 -5
- package/build/cjs/meta.js +67 -14
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +74 -17
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +60 -5
- package/build/es/index.typings.mjs +65 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +60 -5
- package/build/es/meta.mjs +65 -14
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +76 -17
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +60 -5
- package/build/internal/cjs/index.typings.js +67 -14
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +60 -5
- package/build/internal/cjs/meta.js +67 -14
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +74 -17
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +60 -5
- package/build/internal/es/index.typings.mjs +65 -14
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +60 -5
- package/build/internal/es/meta.mjs +65 -14
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -290,6 +290,8 @@ interface Node extends NodeDataOneOf {
|
|
|
290
290
|
shapeData?: ShapeData;
|
|
291
291
|
/** Data for a card node. */
|
|
292
292
|
cardData?: CardData;
|
|
293
|
+
/** Data for a table of contents node. */
|
|
294
|
+
tocData?: TocData;
|
|
293
295
|
/** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
|
|
294
296
|
type?: NodeTypeWithLiterals;
|
|
295
297
|
/** Node ID. */
|
|
@@ -361,6 +363,8 @@ interface NodeDataOneOf {
|
|
|
361
363
|
shapeData?: ShapeData;
|
|
362
364
|
/** Data for a card node. */
|
|
363
365
|
cardData?: CardData;
|
|
366
|
+
/** Data for a table of contents node. */
|
|
367
|
+
tocData?: TocData;
|
|
364
368
|
}
|
|
365
369
|
declare enum NodeType {
|
|
366
370
|
PARAGRAPH = "PARAGRAPH",
|
|
@@ -398,10 +402,11 @@ declare enum NodeType {
|
|
|
398
402
|
LAYOUT = "LAYOUT",
|
|
399
403
|
LAYOUT_CELL = "LAYOUT_CELL",
|
|
400
404
|
SHAPE = "SHAPE",
|
|
401
|
-
CARD = "CARD"
|
|
405
|
+
CARD = "CARD",
|
|
406
|
+
TOC = "TOC"
|
|
402
407
|
}
|
|
403
408
|
/** @enumType */
|
|
404
|
-
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD';
|
|
409
|
+
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD' | 'TOC';
|
|
405
410
|
interface NodeStyle {
|
|
406
411
|
/** The top padding value in pixels. */
|
|
407
412
|
paddingTop?: string | null;
|
|
@@ -1030,6 +1035,8 @@ interface HTMLData extends HTMLDataDataOneOf {
|
|
|
1030
1035
|
* @deprecated
|
|
1031
1036
|
*/
|
|
1032
1037
|
isAdsense?: boolean | null;
|
|
1038
|
+
/** The WixelWidget ID for AI_WIDGET source nodes. */
|
|
1039
|
+
widgetId?: string;
|
|
1033
1040
|
/** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
|
|
1034
1041
|
containerData?: PluginContainerData;
|
|
1035
1042
|
/** The type of HTML code. */
|
|
@@ -1048,14 +1055,17 @@ interface HTMLDataDataOneOf {
|
|
|
1048
1055
|
* @deprecated
|
|
1049
1056
|
*/
|
|
1050
1057
|
isAdsense?: boolean | null;
|
|
1058
|
+
/** The WixelWidget ID for AI_WIDGET source nodes. */
|
|
1059
|
+
widgetId?: string;
|
|
1051
1060
|
}
|
|
1052
1061
|
declare enum Source {
|
|
1053
1062
|
HTML = "HTML",
|
|
1054
1063
|
ADSENSE = "ADSENSE",
|
|
1055
|
-
AI = "AI"
|
|
1064
|
+
AI = "AI",
|
|
1065
|
+
AI_WIDGET = "AI_WIDGET"
|
|
1056
1066
|
}
|
|
1057
1067
|
/** @enumType */
|
|
1058
|
-
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI';
|
|
1068
|
+
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI' | 'AI_WIDGET';
|
|
1059
1069
|
interface ImageData {
|
|
1060
1070
|
/** Styling for the image's container. */
|
|
1061
1071
|
containerData?: PluginContainerData;
|
|
@@ -2283,6 +2293,51 @@ interface BackgroundImage {
|
|
|
2283
2293
|
/** Position of background. Defaults to `CENTER`. */
|
|
2284
2294
|
position?: ImagePositionPositionWithLiterals;
|
|
2285
2295
|
}
|
|
2296
|
+
interface TocData {
|
|
2297
|
+
/** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
|
|
2298
|
+
includedHeadings?: number[];
|
|
2299
|
+
/** List style. Default: PLAIN. */
|
|
2300
|
+
listStyle?: ListStyleWithLiterals;
|
|
2301
|
+
/** Optional override for the font size in pixels. */
|
|
2302
|
+
fontSize?: number | null;
|
|
2303
|
+
/** Optional override for the vertical spacing between items in pixels. */
|
|
2304
|
+
itemSpacing?: number | null;
|
|
2305
|
+
/**
|
|
2306
|
+
* Optional override for the text color.
|
|
2307
|
+
* @format COLOR_HEX
|
|
2308
|
+
*/
|
|
2309
|
+
color?: string | null;
|
|
2310
|
+
/** Indentation style. Default: NESTED. */
|
|
2311
|
+
indentation?: IndentationWithLiterals;
|
|
2312
|
+
}
|
|
2313
|
+
/** List style. */
|
|
2314
|
+
declare enum ListStyle {
|
|
2315
|
+
/** No markers (default) */
|
|
2316
|
+
PLAIN = "PLAIN",
|
|
2317
|
+
/** Numbered list */
|
|
2318
|
+
NUMBERED = "NUMBERED",
|
|
2319
|
+
/** Alphabetic letters */
|
|
2320
|
+
LETTERS = "LETTERS",
|
|
2321
|
+
/** Roman numerals */
|
|
2322
|
+
ROMAN = "ROMAN",
|
|
2323
|
+
/** Bulleted list */
|
|
2324
|
+
BULLETED = "BULLETED",
|
|
2325
|
+
/** Alphabetical index */
|
|
2326
|
+
ALPHABETICAL_INDEX = "ALPHABETICAL_INDEX",
|
|
2327
|
+
/** Alphabetical index (compact top-row only) */
|
|
2328
|
+
ALPHABETICAL_INDEX_COMPACT = "ALPHABETICAL_INDEX_COMPACT"
|
|
2329
|
+
}
|
|
2330
|
+
/** @enumType */
|
|
2331
|
+
type ListStyleWithLiterals = ListStyle | 'PLAIN' | 'NUMBERED' | 'LETTERS' | 'ROMAN' | 'BULLETED' | 'ALPHABETICAL_INDEX' | 'ALPHABETICAL_INDEX_COMPACT';
|
|
2332
|
+
/** Indentation style. */
|
|
2333
|
+
declare enum Indentation {
|
|
2334
|
+
/** Sub-headings indented under parents (default) */
|
|
2335
|
+
NESTED = "NESTED",
|
|
2336
|
+
/** All items at the same level */
|
|
2337
|
+
FLAT = "FLAT"
|
|
2338
|
+
}
|
|
2339
|
+
/** @enumType */
|
|
2340
|
+
type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
|
|
2286
2341
|
interface Metadata {
|
|
2287
2342
|
/** Schema version. */
|
|
2288
2343
|
version?: number;
|
|
@@ -4296,4 +4351,4 @@ declare const utils: {
|
|
|
4296
4351
|
*/
|
|
4297
4352
|
declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`, 2>>;
|
|
4298
4353
|
|
|
4299
|
-
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, 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, 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, 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, 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 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 };
|
|
4354
|
+
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, 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, 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 };
|
|
@@ -43,11 +43,13 @@ __export(index_typings_exports, {
|
|
|
43
43
|
ImagePosition: () => ImagePosition,
|
|
44
44
|
ImagePositionPosition: () => ImagePositionPosition,
|
|
45
45
|
ImageScalingScaling: () => ImageScalingScaling,
|
|
46
|
+
Indentation: () => Indentation,
|
|
46
47
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
47
48
|
Layout: () => Layout,
|
|
48
49
|
LayoutDataBackgroundType: () => LayoutDataBackgroundType,
|
|
49
50
|
LayoutType: () => LayoutType,
|
|
50
51
|
LineStyle: () => LineStyle,
|
|
52
|
+
ListStyle: () => ListStyle,
|
|
51
53
|
MapType: () => MapType,
|
|
52
54
|
ModerationStatusStatus: () => ModerationStatusStatus,
|
|
53
55
|
NodeType: () => NodeType,
|
|
@@ -387,7 +389,9 @@ function createDraftPost(payload) {
|
|
|
387
389
|
},
|
|
388
390
|
{
|
|
389
391
|
path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
390
|
-
}
|
|
392
|
+
},
|
|
393
|
+
{ path: "draftPost.richContent.nodes.tocData.fontSize" },
|
|
394
|
+
{ path: "draftPost.richContent.nodes.tocData.itemSpacing" }
|
|
391
395
|
]
|
|
392
396
|
}
|
|
393
397
|
]);
|
|
@@ -533,7 +537,9 @@ function createDraftPost(payload) {
|
|
|
533
537
|
},
|
|
534
538
|
{
|
|
535
539
|
path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
536
|
-
}
|
|
540
|
+
},
|
|
541
|
+
{ path: "draftPost.richContent.nodes.tocData.fontSize" },
|
|
542
|
+
{ path: "draftPost.richContent.nodes.tocData.itemSpacing" }
|
|
537
543
|
]
|
|
538
544
|
}
|
|
539
545
|
])
|
|
@@ -668,7 +674,9 @@ function bulkCreateDraftPosts(payload) {
|
|
|
668
674
|
},
|
|
669
675
|
{
|
|
670
676
|
path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
671
|
-
}
|
|
677
|
+
},
|
|
678
|
+
{ path: "draftPosts.richContent.nodes.tocData.fontSize" },
|
|
679
|
+
{ path: "draftPosts.richContent.nodes.tocData.itemSpacing" }
|
|
672
680
|
]
|
|
673
681
|
}
|
|
674
682
|
]);
|
|
@@ -830,7 +838,9 @@ function bulkCreateDraftPosts(payload) {
|
|
|
830
838
|
},
|
|
831
839
|
{
|
|
832
840
|
path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
833
|
-
}
|
|
841
|
+
},
|
|
842
|
+
{ path: "results.item.richContent.nodes.tocData.fontSize" },
|
|
843
|
+
{ path: "results.item.richContent.nodes.tocData.itemSpacing" }
|
|
834
844
|
]
|
|
835
845
|
}
|
|
836
846
|
])
|
|
@@ -1000,6 +1010,10 @@ function bulkUpdateDraftPosts(payload) {
|
|
|
1000
1010
|
},
|
|
1001
1011
|
{
|
|
1002
1012
|
path: "draftPosts.draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1013
|
+
},
|
|
1014
|
+
{ path: "draftPosts.draftPost.richContent.nodes.tocData.fontSize" },
|
|
1015
|
+
{
|
|
1016
|
+
path: "draftPosts.draftPost.richContent.nodes.tocData.itemSpacing"
|
|
1003
1017
|
}
|
|
1004
1018
|
]
|
|
1005
1019
|
}
|
|
@@ -1162,7 +1176,9 @@ function bulkUpdateDraftPosts(payload) {
|
|
|
1162
1176
|
},
|
|
1163
1177
|
{
|
|
1164
1178
|
path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1165
|
-
}
|
|
1179
|
+
},
|
|
1180
|
+
{ path: "results.item.richContent.nodes.tocData.fontSize" },
|
|
1181
|
+
{ path: "results.item.richContent.nodes.tocData.itemSpacing" }
|
|
1166
1182
|
]
|
|
1167
1183
|
}
|
|
1168
1184
|
])
|
|
@@ -1319,7 +1335,9 @@ function listDeletedDraftPosts(payload) {
|
|
|
1319
1335
|
},
|
|
1320
1336
|
{
|
|
1321
1337
|
path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1322
|
-
}
|
|
1338
|
+
},
|
|
1339
|
+
{ path: "draftPosts.richContent.nodes.tocData.fontSize" },
|
|
1340
|
+
{ path: "draftPosts.richContent.nodes.tocData.itemSpacing" }
|
|
1323
1341
|
]
|
|
1324
1342
|
}
|
|
1325
1343
|
])
|
|
@@ -1472,7 +1490,9 @@ function getDraftPost(payload) {
|
|
|
1472
1490
|
},
|
|
1473
1491
|
{
|
|
1474
1492
|
path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1475
|
-
}
|
|
1493
|
+
},
|
|
1494
|
+
{ path: "draftPost.richContent.nodes.tocData.fontSize" },
|
|
1495
|
+
{ path: "draftPost.richContent.nodes.tocData.itemSpacing" }
|
|
1476
1496
|
]
|
|
1477
1497
|
}
|
|
1478
1498
|
])
|
|
@@ -1610,7 +1630,9 @@ function updateDraftPost(payload) {
|
|
|
1610
1630
|
},
|
|
1611
1631
|
{
|
|
1612
1632
|
path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1613
|
-
}
|
|
1633
|
+
},
|
|
1634
|
+
{ path: "draftPost.richContent.nodes.tocData.fontSize" },
|
|
1635
|
+
{ path: "draftPost.richContent.nodes.tocData.itemSpacing" }
|
|
1614
1636
|
]
|
|
1615
1637
|
}
|
|
1616
1638
|
]);
|
|
@@ -1760,7 +1782,9 @@ function updateDraftPost(payload) {
|
|
|
1760
1782
|
},
|
|
1761
1783
|
{
|
|
1762
1784
|
path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1763
|
-
}
|
|
1785
|
+
},
|
|
1786
|
+
{ path: "draftPost.richContent.nodes.tocData.fontSize" },
|
|
1787
|
+
{ path: "draftPost.richContent.nodes.tocData.itemSpacing" }
|
|
1764
1788
|
]
|
|
1765
1789
|
}
|
|
1766
1790
|
])
|
|
@@ -1971,7 +1995,9 @@ function bulkDeleteDraftPosts(payload) {
|
|
|
1971
1995
|
},
|
|
1972
1996
|
{
|
|
1973
1997
|
path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1974
|
-
}
|
|
1998
|
+
},
|
|
1999
|
+
{ path: "results.item.richContent.nodes.tocData.fontSize" },
|
|
2000
|
+
{ path: "results.item.richContent.nodes.tocData.itemSpacing" }
|
|
1975
2001
|
]
|
|
1976
2002
|
}
|
|
1977
2003
|
])
|
|
@@ -2128,7 +2154,9 @@ function listDraftPosts(payload) {
|
|
|
2128
2154
|
},
|
|
2129
2155
|
{
|
|
2130
2156
|
path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2131
|
-
}
|
|
2157
|
+
},
|
|
2158
|
+
{ path: "draftPosts.richContent.nodes.tocData.fontSize" },
|
|
2159
|
+
{ path: "draftPosts.richContent.nodes.tocData.itemSpacing" }
|
|
2132
2160
|
]
|
|
2133
2161
|
}
|
|
2134
2162
|
])
|
|
@@ -2285,7 +2313,9 @@ function getDeletedDraftPost(payload) {
|
|
|
2285
2313
|
},
|
|
2286
2314
|
{
|
|
2287
2315
|
path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2288
|
-
}
|
|
2316
|
+
},
|
|
2317
|
+
{ path: "draftPost.richContent.nodes.tocData.fontSize" },
|
|
2318
|
+
{ path: "draftPost.richContent.nodes.tocData.itemSpacing" }
|
|
2289
2319
|
]
|
|
2290
2320
|
}
|
|
2291
2321
|
])
|
|
@@ -2442,7 +2472,9 @@ function restoreFromTrashBin(payload) {
|
|
|
2442
2472
|
},
|
|
2443
2473
|
{
|
|
2444
2474
|
path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2445
|
-
}
|
|
2475
|
+
},
|
|
2476
|
+
{ path: "draftPost.richContent.nodes.tocData.fontSize" },
|
|
2477
|
+
{ path: "draftPost.richContent.nodes.tocData.itemSpacing" }
|
|
2446
2478
|
]
|
|
2447
2479
|
}
|
|
2448
2480
|
])
|
|
@@ -2599,7 +2631,9 @@ function queryDraftPosts(payload) {
|
|
|
2599
2631
|
},
|
|
2600
2632
|
{
|
|
2601
2633
|
path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2602
|
-
}
|
|
2634
|
+
},
|
|
2635
|
+
{ path: "draftPosts.richContent.nodes.tocData.fontSize" },
|
|
2636
|
+
{ path: "draftPosts.richContent.nodes.tocData.itemSpacing" }
|
|
2603
2637
|
]
|
|
2604
2638
|
}
|
|
2605
2639
|
])
|
|
@@ -2716,6 +2750,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
2716
2750
|
NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
2717
2751
|
NodeType2["SHAPE"] = "SHAPE";
|
|
2718
2752
|
NodeType2["CARD"] = "CARD";
|
|
2753
|
+
NodeType2["TOC"] = "TOC";
|
|
2719
2754
|
return NodeType2;
|
|
2720
2755
|
})(NodeType || {});
|
|
2721
2756
|
var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
|
|
@@ -2826,6 +2861,7 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
2826
2861
|
Source2["HTML"] = "HTML";
|
|
2827
2862
|
Source2["ADSENSE"] = "ADSENSE";
|
|
2828
2863
|
Source2["AI"] = "AI";
|
|
2864
|
+
Source2["AI_WIDGET"] = "AI_WIDGET";
|
|
2829
2865
|
return Source2;
|
|
2830
2866
|
})(Source || {});
|
|
2831
2867
|
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
@@ -3027,6 +3063,21 @@ var CardDataBackgroundType = /* @__PURE__ */ ((CardDataBackgroundType2) => {
|
|
|
3027
3063
|
CardDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
3028
3064
|
return CardDataBackgroundType2;
|
|
3029
3065
|
})(CardDataBackgroundType || {});
|
|
3066
|
+
var ListStyle = /* @__PURE__ */ ((ListStyle2) => {
|
|
3067
|
+
ListStyle2["PLAIN"] = "PLAIN";
|
|
3068
|
+
ListStyle2["NUMBERED"] = "NUMBERED";
|
|
3069
|
+
ListStyle2["LETTERS"] = "LETTERS";
|
|
3070
|
+
ListStyle2["ROMAN"] = "ROMAN";
|
|
3071
|
+
ListStyle2["BULLETED"] = "BULLETED";
|
|
3072
|
+
ListStyle2["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
|
|
3073
|
+
ListStyle2["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
|
|
3074
|
+
return ListStyle2;
|
|
3075
|
+
})(ListStyle || {});
|
|
3076
|
+
var Indentation = /* @__PURE__ */ ((Indentation2) => {
|
|
3077
|
+
Indentation2["NESTED"] = "NESTED";
|
|
3078
|
+
Indentation2["FLAT"] = "FLAT";
|
|
3079
|
+
return Indentation2;
|
|
3080
|
+
})(Indentation || {});
|
|
3030
3081
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
3031
3082
|
Status2["UNKNOWN"] = "UNKNOWN";
|
|
3032
3083
|
Status2["PUBLISHED"] = "PUBLISHED";
|
|
@@ -3953,11 +4004,13 @@ async function publishDraftPost2(draftPostId) {
|
|
|
3953
4004
|
ImagePosition,
|
|
3954
4005
|
ImagePositionPosition,
|
|
3955
4006
|
ImageScalingScaling,
|
|
4007
|
+
Indentation,
|
|
3956
4008
|
InitialExpandedItems,
|
|
3957
4009
|
Layout,
|
|
3958
4010
|
LayoutDataBackgroundType,
|
|
3959
4011
|
LayoutType,
|
|
3960
4012
|
LineStyle,
|
|
4013
|
+
ListStyle,
|
|
3961
4014
|
MapType,
|
|
3962
4015
|
ModerationStatusStatus,
|
|
3963
4016
|
NodeType,
|