@wix/auto_sdk_blog_draft-posts 1.0.32 → 1.0.33
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 +64 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +211 -9
- package/build/cjs/index.typings.js +64 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +210 -8
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +57 -13
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +211 -9
- package/build/es/index.typings.mjs +57 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +210 -8
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +64 -13
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +211 -9
- package/build/internal/cjs/index.typings.js +64 -13
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +210 -8
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +57 -13
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +211 -9
- package/build/internal/es/index.typings.mjs +57 -13
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +210 -8
- package/package.json +2 -2
|
@@ -586,7 +586,7 @@ interface DividerData {
|
|
|
586
586
|
/** Divider width. */
|
|
587
587
|
width?: WidthWithLiterals;
|
|
588
588
|
/** Divider alignment. */
|
|
589
|
-
alignment?:
|
|
589
|
+
alignment?: DividerDataAlignmentWithLiterals;
|
|
590
590
|
}
|
|
591
591
|
declare enum LineStyle {
|
|
592
592
|
/** Single Line */
|
|
@@ -610,7 +610,7 @@ declare enum Width {
|
|
|
610
610
|
}
|
|
611
611
|
/** @enumType */
|
|
612
612
|
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
|
613
|
-
declare enum
|
|
613
|
+
declare enum DividerDataAlignment {
|
|
614
614
|
/** Center alignment */
|
|
615
615
|
CENTER = "CENTER",
|
|
616
616
|
/** Left alignment */
|
|
@@ -619,7 +619,7 @@ declare enum Alignment {
|
|
|
619
619
|
RIGHT = "RIGHT"
|
|
620
620
|
}
|
|
621
621
|
/** @enumType */
|
|
622
|
-
type
|
|
622
|
+
type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
623
623
|
interface FileData {
|
|
624
624
|
/** Styling for the file's container. */
|
|
625
625
|
containerData?: PluginContainerData;
|
|
@@ -744,7 +744,7 @@ interface ItemDataOneOf {
|
|
|
744
744
|
}
|
|
745
745
|
interface GalleryOptions {
|
|
746
746
|
/** Gallery layout. */
|
|
747
|
-
layout?:
|
|
747
|
+
layout?: GalleryOptionsLayout;
|
|
748
748
|
/** Styling for gallery items. */
|
|
749
749
|
item?: ItemStyle;
|
|
750
750
|
/** Styling for gallery thumbnail images. */
|
|
@@ -804,7 +804,7 @@ declare enum ThumbnailsAlignment {
|
|
|
804
804
|
}
|
|
805
805
|
/** @enumType */
|
|
806
806
|
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
|
807
|
-
interface
|
|
807
|
+
interface GalleryOptionsLayout {
|
|
808
808
|
/** Gallery layout type. */
|
|
809
809
|
type?: LayoutTypeWithLiterals;
|
|
810
810
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
@@ -966,7 +966,7 @@ interface LinkPreviewData {
|
|
|
966
966
|
/** Styling for the link preview. */
|
|
967
967
|
styles?: LinkPreviewDataStyles;
|
|
968
968
|
}
|
|
969
|
-
declare enum
|
|
969
|
+
declare enum StylesPosition {
|
|
970
970
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
971
971
|
START = "START",
|
|
972
972
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
@@ -977,7 +977,7 @@ declare enum Position {
|
|
|
977
977
|
HIDDEN = "HIDDEN"
|
|
978
978
|
}
|
|
979
979
|
/** @enumType */
|
|
980
|
-
type
|
|
980
|
+
type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
|
|
981
981
|
interface LinkPreviewDataStyles {
|
|
982
982
|
/**
|
|
983
983
|
* Background color as a hexadecimal value.
|
|
@@ -1009,7 +1009,7 @@ interface LinkPreviewDataStyles {
|
|
|
1009
1009
|
*/
|
|
1010
1010
|
borderColor?: string | null;
|
|
1011
1011
|
/** Position of thumbnail. Defaults to `START`. */
|
|
1012
|
-
thumbnailPosition?:
|
|
1012
|
+
thumbnailPosition?: StylesPositionWithLiterals;
|
|
1013
1013
|
}
|
|
1014
1014
|
interface MapData {
|
|
1015
1015
|
/** Styling for the map's container. */
|
|
@@ -1363,6 +1363,32 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
1363
1363
|
url?: string | null;
|
|
1364
1364
|
/** An image for the embedded content. */
|
|
1365
1365
|
image?: V1Media;
|
|
1366
|
+
/** Whether to hide the image. */
|
|
1367
|
+
hideImage?: boolean | null;
|
|
1368
|
+
/** Whether to hide the title. */
|
|
1369
|
+
hideTitle?: boolean | null;
|
|
1370
|
+
/** Whether to hide the price. */
|
|
1371
|
+
hidePrice?: boolean | null;
|
|
1372
|
+
/** Whether to hide the description (Event and Booking). */
|
|
1373
|
+
hideDescription?: boolean | null;
|
|
1374
|
+
/** Whether to hide the date and time (Event). */
|
|
1375
|
+
hideDateTime?: boolean | null;
|
|
1376
|
+
/** Whether to hide the location (Event). */
|
|
1377
|
+
hideLocation?: boolean | null;
|
|
1378
|
+
/** Whether to hide the duration (Booking). */
|
|
1379
|
+
hideDuration?: boolean | null;
|
|
1380
|
+
/** Whether to hide the button. */
|
|
1381
|
+
hideButton?: boolean | null;
|
|
1382
|
+
/** Whether to hide the ribbon. */
|
|
1383
|
+
hideRibbon?: boolean | null;
|
|
1384
|
+
/** Button styling options. */
|
|
1385
|
+
buttonStyles?: ButtonStyles;
|
|
1386
|
+
/** Image styling options. */
|
|
1387
|
+
imageStyles?: ImageStyles;
|
|
1388
|
+
/** Ribbon styling options. */
|
|
1389
|
+
ribbonStyles?: RibbonStyles;
|
|
1390
|
+
/** Card styling options. */
|
|
1391
|
+
cardStyles?: CardStyles;
|
|
1366
1392
|
}
|
|
1367
1393
|
/** @oneof */
|
|
1368
1394
|
interface AppEmbedDataAppDataOneOf {
|
|
@@ -1371,6 +1397,66 @@ interface AppEmbedDataAppDataOneOf {
|
|
|
1371
1397
|
/** Data for embedded Wix Events content. */
|
|
1372
1398
|
eventData?: EventData;
|
|
1373
1399
|
}
|
|
1400
|
+
declare enum Position {
|
|
1401
|
+
/** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
1402
|
+
START = "START",
|
|
1403
|
+
/** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
1404
|
+
END = "END",
|
|
1405
|
+
/** Image positioned at the top */
|
|
1406
|
+
TOP = "TOP"
|
|
1407
|
+
}
|
|
1408
|
+
/** @enumType */
|
|
1409
|
+
type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
|
|
1410
|
+
declare enum AspectRatio {
|
|
1411
|
+
/** 1:1 aspect ratio */
|
|
1412
|
+
SQUARE = "SQUARE",
|
|
1413
|
+
/** 16:9 aspect ratio */
|
|
1414
|
+
RECTANGLE = "RECTANGLE"
|
|
1415
|
+
}
|
|
1416
|
+
/** @enumType */
|
|
1417
|
+
type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
|
|
1418
|
+
declare enum Resizing {
|
|
1419
|
+
/** Fill the container, may crop the image */
|
|
1420
|
+
FILL = "FILL",
|
|
1421
|
+
/** Fit the image within the container */
|
|
1422
|
+
FIT = "FIT"
|
|
1423
|
+
}
|
|
1424
|
+
/** @enumType */
|
|
1425
|
+
type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
|
|
1426
|
+
declare enum Placement {
|
|
1427
|
+
/** Ribbon placed on the image */
|
|
1428
|
+
IMAGE = "IMAGE",
|
|
1429
|
+
/** Ribbon placed on the product information */
|
|
1430
|
+
PRODUCT_INFO = "PRODUCT_INFO"
|
|
1431
|
+
}
|
|
1432
|
+
/** @enumType */
|
|
1433
|
+
type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
|
|
1434
|
+
declare enum CardStylesType {
|
|
1435
|
+
/** Card with visible border and background */
|
|
1436
|
+
CONTAINED = "CONTAINED",
|
|
1437
|
+
/** Card without visible border */
|
|
1438
|
+
FRAMELESS = "FRAMELESS"
|
|
1439
|
+
}
|
|
1440
|
+
/** @enumType */
|
|
1441
|
+
type CardStylesTypeWithLiterals = CardStylesType | 'CONTAINED' | 'FRAMELESS';
|
|
1442
|
+
declare enum Alignment {
|
|
1443
|
+
/** Content aligned to start (left in LTR layouts, right in RTL layouts) */
|
|
1444
|
+
START = "START",
|
|
1445
|
+
/** Content centered */
|
|
1446
|
+
CENTER = "CENTER",
|
|
1447
|
+
/** Content aligned to end (right in LTR layouts, left in RTL layouts) */
|
|
1448
|
+
END = "END"
|
|
1449
|
+
}
|
|
1450
|
+
/** @enumType */
|
|
1451
|
+
type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
|
|
1452
|
+
declare enum Layout {
|
|
1453
|
+
/** Elements stacked vertically */
|
|
1454
|
+
STACKED = "STACKED",
|
|
1455
|
+
/** Elements arranged horizontally */
|
|
1456
|
+
SIDE_BY_SIDE = "SIDE_BY_SIDE"
|
|
1457
|
+
}
|
|
1458
|
+
/** @enumType */
|
|
1459
|
+
type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
|
|
1374
1460
|
declare enum AppType {
|
|
1375
1461
|
PRODUCT = "PRODUCT",
|
|
1376
1462
|
EVENT = "EVENT",
|
|
@@ -1388,6 +1474,122 @@ interface EventData {
|
|
|
1388
1474
|
/** Event location. */
|
|
1389
1475
|
location?: string | null;
|
|
1390
1476
|
}
|
|
1477
|
+
interface ButtonStyles {
|
|
1478
|
+
/** Text to display on the button. */
|
|
1479
|
+
buttonText?: string | null;
|
|
1480
|
+
/** Border width in pixels. */
|
|
1481
|
+
borderWidth?: number | null;
|
|
1482
|
+
/** Border radius in pixels. */
|
|
1483
|
+
borderRadius?: number | null;
|
|
1484
|
+
/**
|
|
1485
|
+
* Border color as a hexadecimal value.
|
|
1486
|
+
* @format COLOR_HEX
|
|
1487
|
+
*/
|
|
1488
|
+
borderColor?: string | null;
|
|
1489
|
+
/**
|
|
1490
|
+
* Text color as a hexadecimal value.
|
|
1491
|
+
* @format COLOR_HEX
|
|
1492
|
+
*/
|
|
1493
|
+
textColor?: string | null;
|
|
1494
|
+
/**
|
|
1495
|
+
* Background color as a hexadecimal value.
|
|
1496
|
+
* @format COLOR_HEX
|
|
1497
|
+
*/
|
|
1498
|
+
backgroundColor?: string | null;
|
|
1499
|
+
/**
|
|
1500
|
+
* Border color as a hexadecimal value (hover state).
|
|
1501
|
+
* @format COLOR_HEX
|
|
1502
|
+
*/
|
|
1503
|
+
borderColorHover?: string | null;
|
|
1504
|
+
/**
|
|
1505
|
+
* Text color as a hexadecimal value (hover state).
|
|
1506
|
+
* @format COLOR_HEX
|
|
1507
|
+
*/
|
|
1508
|
+
textColorHover?: string | null;
|
|
1509
|
+
/**
|
|
1510
|
+
* Background color as a hexadecimal value (hover state).
|
|
1511
|
+
* @format COLOR_HEX
|
|
1512
|
+
*/
|
|
1513
|
+
backgroundColorHover?: string | null;
|
|
1514
|
+
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
1515
|
+
buttonSize?: string | null;
|
|
1516
|
+
}
|
|
1517
|
+
interface ImageStyles {
|
|
1518
|
+
/** Whether to hide the image. */
|
|
1519
|
+
hideImage?: boolean | null;
|
|
1520
|
+
/** Position of image. Defaults to `START`. */
|
|
1521
|
+
imagePosition?: PositionWithLiterals;
|
|
1522
|
+
/** Aspect ratio for the image. Defaults to `SQUARE`. */
|
|
1523
|
+
aspectRatio?: AspectRatioWithLiterals;
|
|
1524
|
+
/** How the image should be resized. Defaults to `FILL`. */
|
|
1525
|
+
resizing?: ResizingWithLiterals;
|
|
1526
|
+
/**
|
|
1527
|
+
* Image border color as a hexadecimal value.
|
|
1528
|
+
* @format COLOR_HEX
|
|
1529
|
+
*/
|
|
1530
|
+
borderColor?: string | null;
|
|
1531
|
+
/** Image border width in pixels. */
|
|
1532
|
+
borderWidth?: number | null;
|
|
1533
|
+
/** Image border radius in pixels. */
|
|
1534
|
+
borderRadius?: number | null;
|
|
1535
|
+
}
|
|
1536
|
+
interface RibbonStyles {
|
|
1537
|
+
/** Text to display on the ribbon. */
|
|
1538
|
+
ribbonText?: string | null;
|
|
1539
|
+
/**
|
|
1540
|
+
* Ribbon background color as a hexadecimal value.
|
|
1541
|
+
* @format COLOR_HEX
|
|
1542
|
+
*/
|
|
1543
|
+
backgroundColor?: string | null;
|
|
1544
|
+
/**
|
|
1545
|
+
* Ribbon text color as a hexadecimal value.
|
|
1546
|
+
* @format COLOR_HEX
|
|
1547
|
+
*/
|
|
1548
|
+
textColor?: string | null;
|
|
1549
|
+
/**
|
|
1550
|
+
* Ribbon border color as a hexadecimal value.
|
|
1551
|
+
* @format COLOR_HEX
|
|
1552
|
+
*/
|
|
1553
|
+
borderColor?: string | null;
|
|
1554
|
+
/** Ribbon border width in pixels. */
|
|
1555
|
+
borderWidth?: number | null;
|
|
1556
|
+
/** Ribbon border radius in pixels. */
|
|
1557
|
+
borderRadius?: number | null;
|
|
1558
|
+
/** Placement of the ribbon. Defaults to `IMAGE`. */
|
|
1559
|
+
ribbonPlacement?: PlacementWithLiterals;
|
|
1560
|
+
}
|
|
1561
|
+
interface CardStyles {
|
|
1562
|
+
/**
|
|
1563
|
+
* Card background color as a hexadecimal value.
|
|
1564
|
+
* @format COLOR_HEX
|
|
1565
|
+
*/
|
|
1566
|
+
backgroundColor?: string | null;
|
|
1567
|
+
/**
|
|
1568
|
+
* Card border color as a hexadecimal value.
|
|
1569
|
+
* @format COLOR_HEX
|
|
1570
|
+
*/
|
|
1571
|
+
borderColor?: string | null;
|
|
1572
|
+
/** Card border width in pixels. */
|
|
1573
|
+
borderWidth?: number | null;
|
|
1574
|
+
/** Card border radius in pixels. */
|
|
1575
|
+
borderRadius?: number | null;
|
|
1576
|
+
/** Card type. Defaults to `CONTAINED`. */
|
|
1577
|
+
type?: CardStylesTypeWithLiterals;
|
|
1578
|
+
/** Content alignment. Defaults to `START`. */
|
|
1579
|
+
alignment?: AlignmentWithLiterals;
|
|
1580
|
+
/** Layout for title and price. Defaults to `STACKED`. */
|
|
1581
|
+
titlePriceLayout?: LayoutWithLiterals;
|
|
1582
|
+
/**
|
|
1583
|
+
* Title text color as a hexadecimal value.
|
|
1584
|
+
* @format COLOR_HEX
|
|
1585
|
+
*/
|
|
1586
|
+
titleColor?: string | null;
|
|
1587
|
+
/**
|
|
1588
|
+
* Text color as a hexadecimal value.
|
|
1589
|
+
* @format COLOR_HEX
|
|
1590
|
+
*/
|
|
1591
|
+
textColor?: string | null;
|
|
1592
|
+
}
|
|
1391
1593
|
interface VideoData {
|
|
1392
1594
|
/** Styling for the video's container. */
|
|
1393
1595
|
containerData?: PluginContainerData;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { DraftPost, CreateDraftPostOptions, CreateDraftPostResponse, BulkCreateDraftPostsOptions, BulkCreateDraftPostsResponse, BulkUpdateDraftPostsOptions, BulkUpdateDraftPostsResponse, ListDeletedDraftPostsOptions, ListDeletedDraftPostsResponse, GetDraftPostOptions, GetDraftPostResponse, UpdateDraftPost, UpdateDraftPostOptions, UpdateDraftPostResponse, DeleteDraftPostOptions, BulkDeleteDraftPostsOptions, BulkDeleteDraftPostsResponse, ListDraftPostsOptions, ListDraftPostsResponse, GetDeletedDraftPostResponse, RestoreFromTrashBinResponse, QueryDraftPostsOptions, DraftPostsQueryBuilder, PublishDraftPostResponse, DraftCreatedEnvelope, DraftDeletedEnvelope, DraftUpdatedEnvelope } from './index.typings.mjs';
|
|
3
|
-
export { Action, ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkActionMetadata, BulkCreateDraftPostsRequest, BulkDeleteDraftPostsRequest, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostLanguageRequest, BulkUpdateDraftPostLanguageResponse, BulkUpdateDraftPostsRequest, BulletedListData, ButtonData, ButtonDataType, CaptionData, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostRequest, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, Dimensions, Direction, DividerData, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCategoriesUpdated, DraftPostOwnerChanged, DraftPostTranslation, DraftPostsQueryResult, DraftTagsUpdated, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontSizeData, FontType, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GetDeletedDraftPostRequest, GetDraftPostRequest, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, GetDraftPostsSort, GetPostAmountsByLanguageRequest, GetPostAmountsByLanguageResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, InitialDraftPostsCopied, InitialExpandedItems, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Keyword, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDeletedDraftPostsRequest, ListDraftPostsRequest, ListValue, MapData, MapSettings, MapType, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, MaskedDraftPosts, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, Position, PostAmountByLanguage, PublishDraftPostRequest, QueryDraftPostsRequest, QueryDraftPostsResponse, RejectDraftPostRequest, RejectDraftPostResponse, Rel, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, RestoreFromTrashBinRequest, RestoreInfo, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RichContent, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, StylesBorder, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, TotalDraftPosts, TotalDraftPostsGroupingField, TranslateCategoryRequest, TranslateCategoryResponse, TranslateDraftRequest, TranslateDraftResponse, Type, UnpublishPostRequest, UnpublishPostResponse, UpdateDraftPostContentRequest, UpdateDraftPostContentResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, UpdateDraftPostRequest, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia } from './index.typings.mjs';
|
|
3
|
+
export { Action, ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AspectRatio, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkActionMetadata, BulkCreateDraftPostsRequest, BulkDeleteDraftPostsRequest, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostLanguageRequest, BulkUpdateDraftPostLanguageResponse, BulkUpdateDraftPostsRequest, BulletedListData, ButtonData, ButtonDataType, ButtonStyles, CaptionData, CardStyles, CardStylesType, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostRequest, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, Dimensions, Direction, DividerData, DividerDataAlignment, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCategoriesUpdated, DraftPostOwnerChanged, DraftPostTranslation, DraftPostsQueryResult, DraftTagsUpdated, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontSizeData, FontType, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GalleryOptionsLayout, GetDeletedDraftPostRequest, GetDraftPostRequest, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, GetDraftPostsSort, GetPostAmountsByLanguageRequest, GetPostAmountsByLanguageResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImageStyles, InitialDraftPostsCopied, InitialExpandedItems, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Keyword, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDeletedDraftPostsRequest, ListDraftPostsRequest, ListValue, MapData, MapSettings, MapType, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, MaskedDraftPosts, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, Placement, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, Position, PostAmountByLanguage, PublishDraftPostRequest, QueryDraftPostsRequest, QueryDraftPostsResponse, RejectDraftPostRequest, RejectDraftPostResponse, Rel, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, Resizing, RestoreFromTrashBinRequest, RestoreInfo, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RibbonStyles, RichContent, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, StylesBorder, StylesPosition, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, TotalDraftPosts, TotalDraftPostsGroupingField, TranslateCategoryRequest, TranslateCategoryResponse, TranslateDraftRequest, TranslateDraftResponse, Type, UnpublishPostRequest, UnpublishPostResponse, UpdateDraftPostContentRequest, UpdateDraftPostContentResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, UpdateDraftPostRequest, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
type DraftNonNullablePaths = `_id` | `title` | `categoryIds` | `hashtags` | `minutesToRead` | `tagIds` | `relatedPostIds` | `pricingPlanIds` | `status` | `moderationDetails.submittedBy` | `moderationDetails.status` | `hasUnpublishedChanges` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `media.embedMedia.thumbnail.url` | `media.embedMedia.thumbnail.width` | `media.embedMedia.thumbnail.height` | `media.embedMedia.video.url` | `media.embedMedia.video.width` | `media.embedMedia.video.height` | `media.displayed` | `media.custom`;
|
|
6
6
|
declare function createDraftPost$1(httpClient: HttpClient): CreateDraftPostSignature;
|
|
@@ -1887,12 +1887,12 @@ var Width = /* @__PURE__ */ ((Width2) => {
|
|
|
1887
1887
|
Width2["SMALL"] = "SMALL";
|
|
1888
1888
|
return Width2;
|
|
1889
1889
|
})(Width || {});
|
|
1890
|
-
var
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
return
|
|
1895
|
-
})(
|
|
1890
|
+
var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
|
|
1891
|
+
DividerDataAlignment2["CENTER"] = "CENTER";
|
|
1892
|
+
DividerDataAlignment2["LEFT"] = "LEFT";
|
|
1893
|
+
DividerDataAlignment2["RIGHT"] = "RIGHT";
|
|
1894
|
+
return DividerDataAlignment2;
|
|
1895
|
+
})(DividerDataAlignment || {});
|
|
1896
1896
|
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
|
|
1897
1897
|
ViewMode2["NONE"] = "NONE";
|
|
1898
1898
|
ViewMode2["FULL"] = "FULL";
|
|
@@ -1940,13 +1940,13 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
1940
1940
|
Source2["ADSENSE"] = "ADSENSE";
|
|
1941
1941
|
return Source2;
|
|
1942
1942
|
})(Source || {});
|
|
1943
|
-
var
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
return
|
|
1949
|
-
})(
|
|
1943
|
+
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
1944
|
+
StylesPosition2["START"] = "START";
|
|
1945
|
+
StylesPosition2["END"] = "END";
|
|
1946
|
+
StylesPosition2["TOP"] = "TOP";
|
|
1947
|
+
StylesPosition2["HIDDEN"] = "HIDDEN";
|
|
1948
|
+
return StylesPosition2;
|
|
1949
|
+
})(StylesPosition || {});
|
|
1950
1950
|
var MapType = /* @__PURE__ */ ((MapType2) => {
|
|
1951
1951
|
MapType2["ROADMAP"] = "ROADMAP";
|
|
1952
1952
|
MapType2["SATELITE"] = "SATELITE";
|
|
@@ -2002,6 +2002,43 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
|
2002
2002
|
FontType2["EM"] = "EM";
|
|
2003
2003
|
return FontType2;
|
|
2004
2004
|
})(FontType || {});
|
|
2005
|
+
var Position = /* @__PURE__ */ ((Position2) => {
|
|
2006
|
+
Position2["START"] = "START";
|
|
2007
|
+
Position2["END"] = "END";
|
|
2008
|
+
Position2["TOP"] = "TOP";
|
|
2009
|
+
return Position2;
|
|
2010
|
+
})(Position || {});
|
|
2011
|
+
var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
|
|
2012
|
+
AspectRatio2["SQUARE"] = "SQUARE";
|
|
2013
|
+
AspectRatio2["RECTANGLE"] = "RECTANGLE";
|
|
2014
|
+
return AspectRatio2;
|
|
2015
|
+
})(AspectRatio || {});
|
|
2016
|
+
var Resizing = /* @__PURE__ */ ((Resizing2) => {
|
|
2017
|
+
Resizing2["FILL"] = "FILL";
|
|
2018
|
+
Resizing2["FIT"] = "FIT";
|
|
2019
|
+
return Resizing2;
|
|
2020
|
+
})(Resizing || {});
|
|
2021
|
+
var Placement = /* @__PURE__ */ ((Placement2) => {
|
|
2022
|
+
Placement2["IMAGE"] = "IMAGE";
|
|
2023
|
+
Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
|
|
2024
|
+
return Placement2;
|
|
2025
|
+
})(Placement || {});
|
|
2026
|
+
var CardStylesType = /* @__PURE__ */ ((CardStylesType2) => {
|
|
2027
|
+
CardStylesType2["CONTAINED"] = "CONTAINED";
|
|
2028
|
+
CardStylesType2["FRAMELESS"] = "FRAMELESS";
|
|
2029
|
+
return CardStylesType2;
|
|
2030
|
+
})(CardStylesType || {});
|
|
2031
|
+
var Alignment = /* @__PURE__ */ ((Alignment2) => {
|
|
2032
|
+
Alignment2["START"] = "START";
|
|
2033
|
+
Alignment2["CENTER"] = "CENTER";
|
|
2034
|
+
Alignment2["END"] = "END";
|
|
2035
|
+
return Alignment2;
|
|
2036
|
+
})(Alignment || {});
|
|
2037
|
+
var Layout = /* @__PURE__ */ ((Layout2) => {
|
|
2038
|
+
Layout2["STACKED"] = "STACKED";
|
|
2039
|
+
Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
|
|
2040
|
+
return Layout2;
|
|
2041
|
+
})(Layout || {});
|
|
2005
2042
|
var AppType = /* @__PURE__ */ ((AppType2) => {
|
|
2006
2043
|
AppType2["PRODUCT"] = "PRODUCT";
|
|
2007
2044
|
AppType2["EVENT"] = "EVENT";
|
|
@@ -3300,16 +3337,20 @@ export {
|
|
|
3300
3337
|
Action,
|
|
3301
3338
|
Alignment,
|
|
3302
3339
|
AppType,
|
|
3340
|
+
AspectRatio,
|
|
3303
3341
|
BackgroundType,
|
|
3304
3342
|
ButtonDataType,
|
|
3343
|
+
CardStylesType,
|
|
3305
3344
|
Crop,
|
|
3306
3345
|
DecorationType,
|
|
3307
3346
|
Direction,
|
|
3347
|
+
DividerDataAlignment,
|
|
3308
3348
|
Field,
|
|
3309
3349
|
FontType,
|
|
3310
3350
|
GIFType,
|
|
3311
3351
|
GetDraftPostsSort,
|
|
3312
3352
|
InitialExpandedItems,
|
|
3353
|
+
Layout,
|
|
3313
3354
|
LayoutType,
|
|
3314
3355
|
LineStyle,
|
|
3315
3356
|
MapType,
|
|
@@ -3318,13 +3359,16 @@ export {
|
|
|
3318
3359
|
NullValue,
|
|
3319
3360
|
Orientation,
|
|
3320
3361
|
Origin,
|
|
3362
|
+
Placement,
|
|
3321
3363
|
PluginContainerDataAlignment,
|
|
3322
3364
|
PollLayoutDirection,
|
|
3323
3365
|
PollLayoutType,
|
|
3324
3366
|
Position,
|
|
3367
|
+
Resizing,
|
|
3325
3368
|
SortOrder,
|
|
3326
3369
|
Source,
|
|
3327
3370
|
Status,
|
|
3371
|
+
StylesPosition,
|
|
3328
3372
|
Target,
|
|
3329
3373
|
TextAlignment,
|
|
3330
3374
|
ThumbnailsAlignment,
|