@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
|
@@ -684,7 +684,7 @@ interface DividerData {
|
|
|
684
684
|
/** Divider width. */
|
|
685
685
|
width?: WidthWithLiterals;
|
|
686
686
|
/** Divider alignment. */
|
|
687
|
-
alignment?:
|
|
687
|
+
alignment?: DividerDataAlignmentWithLiterals;
|
|
688
688
|
}
|
|
689
689
|
declare enum LineStyle {
|
|
690
690
|
/** Single Line */
|
|
@@ -708,7 +708,7 @@ declare enum Width {
|
|
|
708
708
|
}
|
|
709
709
|
/** @enumType */
|
|
710
710
|
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
|
711
|
-
declare enum
|
|
711
|
+
declare enum DividerDataAlignment {
|
|
712
712
|
/** Center alignment */
|
|
713
713
|
CENTER = "CENTER",
|
|
714
714
|
/** Left alignment */
|
|
@@ -717,7 +717,7 @@ declare enum Alignment {
|
|
|
717
717
|
RIGHT = "RIGHT"
|
|
718
718
|
}
|
|
719
719
|
/** @enumType */
|
|
720
|
-
type
|
|
720
|
+
type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
721
721
|
interface FileData {
|
|
722
722
|
/** Styling for the file's container. */
|
|
723
723
|
containerData?: PluginContainerData;
|
|
@@ -842,7 +842,7 @@ interface ItemDataOneOf {
|
|
|
842
842
|
}
|
|
843
843
|
interface GalleryOptions {
|
|
844
844
|
/** Gallery layout. */
|
|
845
|
-
layout?:
|
|
845
|
+
layout?: GalleryOptionsLayout;
|
|
846
846
|
/** Styling for gallery items. */
|
|
847
847
|
item?: ItemStyle;
|
|
848
848
|
/** Styling for gallery thumbnail images. */
|
|
@@ -902,7 +902,7 @@ declare enum ThumbnailsAlignment {
|
|
|
902
902
|
}
|
|
903
903
|
/** @enumType */
|
|
904
904
|
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
|
905
|
-
interface
|
|
905
|
+
interface GalleryOptionsLayout {
|
|
906
906
|
/** Gallery layout type. */
|
|
907
907
|
type?: LayoutTypeWithLiterals;
|
|
908
908
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
@@ -1064,7 +1064,7 @@ interface LinkPreviewData {
|
|
|
1064
1064
|
/** Styling for the link preview. */
|
|
1065
1065
|
styles?: LinkPreviewDataStyles;
|
|
1066
1066
|
}
|
|
1067
|
-
declare enum
|
|
1067
|
+
declare enum StylesPosition {
|
|
1068
1068
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
1069
1069
|
START = "START",
|
|
1070
1070
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
@@ -1075,7 +1075,7 @@ declare enum Position {
|
|
|
1075
1075
|
HIDDEN = "HIDDEN"
|
|
1076
1076
|
}
|
|
1077
1077
|
/** @enumType */
|
|
1078
|
-
type
|
|
1078
|
+
type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
|
|
1079
1079
|
interface LinkPreviewDataStyles {
|
|
1080
1080
|
/**
|
|
1081
1081
|
* Background color as a hexadecimal value.
|
|
@@ -1107,7 +1107,7 @@ interface LinkPreviewDataStyles {
|
|
|
1107
1107
|
*/
|
|
1108
1108
|
borderColor?: string | null;
|
|
1109
1109
|
/** Position of thumbnail. Defaults to `START`. */
|
|
1110
|
-
thumbnailPosition?:
|
|
1110
|
+
thumbnailPosition?: StylesPositionWithLiterals;
|
|
1111
1111
|
}
|
|
1112
1112
|
interface MapData {
|
|
1113
1113
|
/** Styling for the map's container. */
|
|
@@ -1461,6 +1461,32 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
1461
1461
|
url?: string | null;
|
|
1462
1462
|
/** An image for the embedded content. */
|
|
1463
1463
|
image?: V1Media;
|
|
1464
|
+
/** Whether to hide the image. */
|
|
1465
|
+
hideImage?: boolean | null;
|
|
1466
|
+
/** Whether to hide the title. */
|
|
1467
|
+
hideTitle?: boolean | null;
|
|
1468
|
+
/** Whether to hide the price. */
|
|
1469
|
+
hidePrice?: boolean | null;
|
|
1470
|
+
/** Whether to hide the description (Event and Booking). */
|
|
1471
|
+
hideDescription?: boolean | null;
|
|
1472
|
+
/** Whether to hide the date and time (Event). */
|
|
1473
|
+
hideDateTime?: boolean | null;
|
|
1474
|
+
/** Whether to hide the location (Event). */
|
|
1475
|
+
hideLocation?: boolean | null;
|
|
1476
|
+
/** Whether to hide the duration (Booking). */
|
|
1477
|
+
hideDuration?: boolean | null;
|
|
1478
|
+
/** Whether to hide the button. */
|
|
1479
|
+
hideButton?: boolean | null;
|
|
1480
|
+
/** Whether to hide the ribbon. */
|
|
1481
|
+
hideRibbon?: boolean | null;
|
|
1482
|
+
/** Button styling options. */
|
|
1483
|
+
buttonStyles?: ButtonStyles;
|
|
1484
|
+
/** Image styling options. */
|
|
1485
|
+
imageStyles?: ImageStyles;
|
|
1486
|
+
/** Ribbon styling options. */
|
|
1487
|
+
ribbonStyles?: RibbonStyles;
|
|
1488
|
+
/** Card styling options. */
|
|
1489
|
+
cardStyles?: CardStyles;
|
|
1464
1490
|
}
|
|
1465
1491
|
/** @oneof */
|
|
1466
1492
|
interface AppEmbedDataAppDataOneOf {
|
|
@@ -1469,6 +1495,66 @@ interface AppEmbedDataAppDataOneOf {
|
|
|
1469
1495
|
/** Data for embedded Wix Events content. */
|
|
1470
1496
|
eventData?: EventData;
|
|
1471
1497
|
}
|
|
1498
|
+
declare enum Position {
|
|
1499
|
+
/** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
1500
|
+
START = "START",
|
|
1501
|
+
/** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
1502
|
+
END = "END",
|
|
1503
|
+
/** Image positioned at the top */
|
|
1504
|
+
TOP = "TOP"
|
|
1505
|
+
}
|
|
1506
|
+
/** @enumType */
|
|
1507
|
+
type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
|
|
1508
|
+
declare enum AspectRatio {
|
|
1509
|
+
/** 1:1 aspect ratio */
|
|
1510
|
+
SQUARE = "SQUARE",
|
|
1511
|
+
/** 16:9 aspect ratio */
|
|
1512
|
+
RECTANGLE = "RECTANGLE"
|
|
1513
|
+
}
|
|
1514
|
+
/** @enumType */
|
|
1515
|
+
type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
|
|
1516
|
+
declare enum Resizing {
|
|
1517
|
+
/** Fill the container, may crop the image */
|
|
1518
|
+
FILL = "FILL",
|
|
1519
|
+
/** Fit the image within the container */
|
|
1520
|
+
FIT = "FIT"
|
|
1521
|
+
}
|
|
1522
|
+
/** @enumType */
|
|
1523
|
+
type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
|
|
1524
|
+
declare enum Placement {
|
|
1525
|
+
/** Ribbon placed on the image */
|
|
1526
|
+
IMAGE = "IMAGE",
|
|
1527
|
+
/** Ribbon placed on the product information */
|
|
1528
|
+
PRODUCT_INFO = "PRODUCT_INFO"
|
|
1529
|
+
}
|
|
1530
|
+
/** @enumType */
|
|
1531
|
+
type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
|
|
1532
|
+
declare enum CardStylesType {
|
|
1533
|
+
/** Card with visible border and background */
|
|
1534
|
+
CONTAINED = "CONTAINED",
|
|
1535
|
+
/** Card without visible border */
|
|
1536
|
+
FRAMELESS = "FRAMELESS"
|
|
1537
|
+
}
|
|
1538
|
+
/** @enumType */
|
|
1539
|
+
type CardStylesTypeWithLiterals = CardStylesType | 'CONTAINED' | 'FRAMELESS';
|
|
1540
|
+
declare enum Alignment {
|
|
1541
|
+
/** Content aligned to start (left in LTR layouts, right in RTL layouts) */
|
|
1542
|
+
START = "START",
|
|
1543
|
+
/** Content centered */
|
|
1544
|
+
CENTER = "CENTER",
|
|
1545
|
+
/** Content aligned to end (right in LTR layouts, left in RTL layouts) */
|
|
1546
|
+
END = "END"
|
|
1547
|
+
}
|
|
1548
|
+
/** @enumType */
|
|
1549
|
+
type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
|
|
1550
|
+
declare enum Layout {
|
|
1551
|
+
/** Elements stacked vertically */
|
|
1552
|
+
STACKED = "STACKED",
|
|
1553
|
+
/** Elements arranged horizontally */
|
|
1554
|
+
SIDE_BY_SIDE = "SIDE_BY_SIDE"
|
|
1555
|
+
}
|
|
1556
|
+
/** @enumType */
|
|
1557
|
+
type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
|
|
1472
1558
|
declare enum AppType {
|
|
1473
1559
|
PRODUCT = "PRODUCT",
|
|
1474
1560
|
EVENT = "EVENT",
|
|
@@ -1486,6 +1572,122 @@ interface EventData {
|
|
|
1486
1572
|
/** Event location. */
|
|
1487
1573
|
location?: string | null;
|
|
1488
1574
|
}
|
|
1575
|
+
interface ButtonStyles {
|
|
1576
|
+
/** Text to display on the button. */
|
|
1577
|
+
buttonText?: string | null;
|
|
1578
|
+
/** Border width in pixels. */
|
|
1579
|
+
borderWidth?: number | null;
|
|
1580
|
+
/** Border radius in pixels. */
|
|
1581
|
+
borderRadius?: number | null;
|
|
1582
|
+
/**
|
|
1583
|
+
* Border color as a hexadecimal value.
|
|
1584
|
+
* @format COLOR_HEX
|
|
1585
|
+
*/
|
|
1586
|
+
borderColor?: string | null;
|
|
1587
|
+
/**
|
|
1588
|
+
* Text color as a hexadecimal value.
|
|
1589
|
+
* @format COLOR_HEX
|
|
1590
|
+
*/
|
|
1591
|
+
textColor?: string | null;
|
|
1592
|
+
/**
|
|
1593
|
+
* Background color as a hexadecimal value.
|
|
1594
|
+
* @format COLOR_HEX
|
|
1595
|
+
*/
|
|
1596
|
+
backgroundColor?: string | null;
|
|
1597
|
+
/**
|
|
1598
|
+
* Border color as a hexadecimal value (hover state).
|
|
1599
|
+
* @format COLOR_HEX
|
|
1600
|
+
*/
|
|
1601
|
+
borderColorHover?: string | null;
|
|
1602
|
+
/**
|
|
1603
|
+
* Text color as a hexadecimal value (hover state).
|
|
1604
|
+
* @format COLOR_HEX
|
|
1605
|
+
*/
|
|
1606
|
+
textColorHover?: string | null;
|
|
1607
|
+
/**
|
|
1608
|
+
* Background color as a hexadecimal value (hover state).
|
|
1609
|
+
* @format COLOR_HEX
|
|
1610
|
+
*/
|
|
1611
|
+
backgroundColorHover?: string | null;
|
|
1612
|
+
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
1613
|
+
buttonSize?: string | null;
|
|
1614
|
+
}
|
|
1615
|
+
interface ImageStyles {
|
|
1616
|
+
/** Whether to hide the image. */
|
|
1617
|
+
hideImage?: boolean | null;
|
|
1618
|
+
/** Position of image. Defaults to `START`. */
|
|
1619
|
+
imagePosition?: PositionWithLiterals;
|
|
1620
|
+
/** Aspect ratio for the image. Defaults to `SQUARE`. */
|
|
1621
|
+
aspectRatio?: AspectRatioWithLiterals;
|
|
1622
|
+
/** How the image should be resized. Defaults to `FILL`. */
|
|
1623
|
+
resizing?: ResizingWithLiterals;
|
|
1624
|
+
/**
|
|
1625
|
+
* Image border color as a hexadecimal value.
|
|
1626
|
+
* @format COLOR_HEX
|
|
1627
|
+
*/
|
|
1628
|
+
borderColor?: string | null;
|
|
1629
|
+
/** Image border width in pixels. */
|
|
1630
|
+
borderWidth?: number | null;
|
|
1631
|
+
/** Image border radius in pixels. */
|
|
1632
|
+
borderRadius?: number | null;
|
|
1633
|
+
}
|
|
1634
|
+
interface RibbonStyles {
|
|
1635
|
+
/** Text to display on the ribbon. */
|
|
1636
|
+
ribbonText?: string | null;
|
|
1637
|
+
/**
|
|
1638
|
+
* Ribbon background color as a hexadecimal value.
|
|
1639
|
+
* @format COLOR_HEX
|
|
1640
|
+
*/
|
|
1641
|
+
backgroundColor?: string | null;
|
|
1642
|
+
/**
|
|
1643
|
+
* Ribbon text color as a hexadecimal value.
|
|
1644
|
+
* @format COLOR_HEX
|
|
1645
|
+
*/
|
|
1646
|
+
textColor?: string | null;
|
|
1647
|
+
/**
|
|
1648
|
+
* Ribbon border color as a hexadecimal value.
|
|
1649
|
+
* @format COLOR_HEX
|
|
1650
|
+
*/
|
|
1651
|
+
borderColor?: string | null;
|
|
1652
|
+
/** Ribbon border width in pixels. */
|
|
1653
|
+
borderWidth?: number | null;
|
|
1654
|
+
/** Ribbon border radius in pixels. */
|
|
1655
|
+
borderRadius?: number | null;
|
|
1656
|
+
/** Placement of the ribbon. Defaults to `IMAGE`. */
|
|
1657
|
+
ribbonPlacement?: PlacementWithLiterals;
|
|
1658
|
+
}
|
|
1659
|
+
interface CardStyles {
|
|
1660
|
+
/**
|
|
1661
|
+
* Card background color as a hexadecimal value.
|
|
1662
|
+
* @format COLOR_HEX
|
|
1663
|
+
*/
|
|
1664
|
+
backgroundColor?: string | null;
|
|
1665
|
+
/**
|
|
1666
|
+
* Card border color as a hexadecimal value.
|
|
1667
|
+
* @format COLOR_HEX
|
|
1668
|
+
*/
|
|
1669
|
+
borderColor?: string | null;
|
|
1670
|
+
/** Card border width in pixels. */
|
|
1671
|
+
borderWidth?: number | null;
|
|
1672
|
+
/** Card border radius in pixels. */
|
|
1673
|
+
borderRadius?: number | null;
|
|
1674
|
+
/** Card type. Defaults to `CONTAINED`. */
|
|
1675
|
+
type?: CardStylesTypeWithLiterals;
|
|
1676
|
+
/** Content alignment. Defaults to `START`. */
|
|
1677
|
+
alignment?: AlignmentWithLiterals;
|
|
1678
|
+
/** Layout for title and price. Defaults to `STACKED`. */
|
|
1679
|
+
titlePriceLayout?: LayoutWithLiterals;
|
|
1680
|
+
/**
|
|
1681
|
+
* Title text color as a hexadecimal value.
|
|
1682
|
+
* @format COLOR_HEX
|
|
1683
|
+
*/
|
|
1684
|
+
titleColor?: string | null;
|
|
1685
|
+
/**
|
|
1686
|
+
* Text color as a hexadecimal value.
|
|
1687
|
+
* @format COLOR_HEX
|
|
1688
|
+
*/
|
|
1689
|
+
textColor?: string | null;
|
|
1690
|
+
}
|
|
1489
1691
|
interface VideoData {
|
|
1490
1692
|
/** Styling for the video's container. */
|
|
1491
1693
|
containerData?: PluginContainerData;
|
|
@@ -3748,4 +3950,4 @@ interface DraftPostsQueryBuilder {
|
|
|
3748
3950
|
*/
|
|
3749
3951
|
declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`>>;
|
|
3750
3952
|
|
|
3751
|
-
export { Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, type ApproveDraftPostRequest, type ApproveDraftPostResponse, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, 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 BulkUpdateDraftPostLanguageRequest, type BulkUpdateDraftPostLanguageResponse, type BulkUpdateDraftPostsOptions, type BulkUpdateDraftPostsRequest, type BulkUpdateDraftPostsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type CaptionData, type Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CoverMedia, type CoverMediaMediaOneOf, 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, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftCategoriesUpdated, type DraftCreatedEnvelope, type DraftDeletedEnvelope, type DraftPost, type DraftPostOwnerChanged, 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 FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GetDeletedDraftPostRequest, type GetDeletedDraftPostResponse, type GetDraftPostOptions, type GetDraftPostRequest, type GetDraftPostResponse, type GetDraftPostTotalsRequest, type GetDraftPostTotalsResponse, GetDraftPostsSort, type GetDraftPostsSortWithLiterals, type GetPostAmountsByLanguageRequest, type GetPostAmountsByLanguageResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, type InitialDraftPostsCopied, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type IsDraftPostAutoTranslatableRequest, type IsDraftPostAutoTranslatableResponse, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, type Keyword,
|
|
3953
|
+
export { 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 Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, 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 BulkUpdateDraftPostLanguageRequest, type BulkUpdateDraftPostLanguageResponse, type BulkUpdateDraftPostsOptions, type BulkUpdateDraftPostsRequest, type BulkUpdateDraftPostsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CoverMedia, type CoverMediaMediaOneOf, 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, 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 DraftPostOwnerChanged, 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 FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetDeletedDraftPostRequest, type GetDeletedDraftPostResponse, type GetDraftPostOptions, type GetDraftPostRequest, type GetDraftPostResponse, type GetDraftPostTotalsRequest, type GetDraftPostTotalsResponse, GetDraftPostsSort, type GetDraftPostsSortWithLiterals, type GetPostAmountsByLanguageRequest, type GetPostAmountsByLanguageResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, type ImageStyles, type InitialDraftPostsCopied, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type IsDraftPostAutoTranslatableRequest, type IsDraftPostAutoTranslatableResponse, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, type Keyword, Layout, type LayoutCellData, 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 PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type PostAmountByLanguage, type PublishDraftPostRequest, type PublishDraftPostResponse, type QueryDraftPostsOptions, type QueryDraftPostsRequest, type QueryDraftPostsResponse, type RejectDraftPostRequest, type RejectDraftPostResponse, type Rel, type RemoveFromTrashBinRequest, type RemoveFromTrashBinResponse, Resizing, type ResizingWithLiterals, type RestoreFromTrashBinRequest, type RestoreFromTrashBinResponse, type RestoreInfo, type RevertToUnpublishedRequest, type RevertToUnpublishedResponse, type RibbonStyles, type RichContent, type SeoSchema, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, 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 TranslateCategoryRequest, type TranslateCategoryResponse, 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, 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, updateDraftPost };
|
|
@@ -23,16 +23,20 @@ __export(index_typings_exports, {
|
|
|
23
23
|
Action: () => Action,
|
|
24
24
|
Alignment: () => Alignment,
|
|
25
25
|
AppType: () => AppType,
|
|
26
|
+
AspectRatio: () => AspectRatio,
|
|
26
27
|
BackgroundType: () => BackgroundType,
|
|
27
28
|
ButtonDataType: () => ButtonDataType,
|
|
29
|
+
CardStylesType: () => CardStylesType,
|
|
28
30
|
Crop: () => Crop,
|
|
29
31
|
DecorationType: () => DecorationType,
|
|
30
32
|
Direction: () => Direction,
|
|
33
|
+
DividerDataAlignment: () => DividerDataAlignment,
|
|
31
34
|
Field: () => Field,
|
|
32
35
|
FontType: () => FontType,
|
|
33
36
|
GIFType: () => GIFType,
|
|
34
37
|
GetDraftPostsSort: () => GetDraftPostsSort,
|
|
35
38
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
39
|
+
Layout: () => Layout,
|
|
36
40
|
LayoutType: () => LayoutType,
|
|
37
41
|
LineStyle: () => LineStyle,
|
|
38
42
|
MapType: () => MapType,
|
|
@@ -41,13 +45,16 @@ __export(index_typings_exports, {
|
|
|
41
45
|
NullValue: () => NullValue,
|
|
42
46
|
Orientation: () => Orientation,
|
|
43
47
|
Origin: () => Origin,
|
|
48
|
+
Placement: () => Placement,
|
|
44
49
|
PluginContainerDataAlignment: () => PluginContainerDataAlignment,
|
|
45
50
|
PollLayoutDirection: () => PollLayoutDirection,
|
|
46
51
|
PollLayoutType: () => PollLayoutType,
|
|
47
52
|
Position: () => Position,
|
|
53
|
+
Resizing: () => Resizing,
|
|
48
54
|
SortOrder: () => SortOrder,
|
|
49
55
|
Source: () => Source,
|
|
50
56
|
Status: () => Status,
|
|
57
|
+
StylesPosition: () => StylesPosition,
|
|
51
58
|
Target: () => Target,
|
|
52
59
|
TextAlignment: () => TextAlignment,
|
|
53
60
|
ThumbnailsAlignment: () => ThumbnailsAlignment,
|
|
@@ -1952,12 +1959,12 @@ var Width = /* @__PURE__ */ ((Width2) => {
|
|
|
1952
1959
|
Width2["SMALL"] = "SMALL";
|
|
1953
1960
|
return Width2;
|
|
1954
1961
|
})(Width || {});
|
|
1955
|
-
var
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
return
|
|
1960
|
-
})(
|
|
1962
|
+
var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
|
|
1963
|
+
DividerDataAlignment2["CENTER"] = "CENTER";
|
|
1964
|
+
DividerDataAlignment2["LEFT"] = "LEFT";
|
|
1965
|
+
DividerDataAlignment2["RIGHT"] = "RIGHT";
|
|
1966
|
+
return DividerDataAlignment2;
|
|
1967
|
+
})(DividerDataAlignment || {});
|
|
1961
1968
|
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
|
|
1962
1969
|
ViewMode2["NONE"] = "NONE";
|
|
1963
1970
|
ViewMode2["FULL"] = "FULL";
|
|
@@ -2005,13 +2012,13 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
2005
2012
|
Source2["ADSENSE"] = "ADSENSE";
|
|
2006
2013
|
return Source2;
|
|
2007
2014
|
})(Source || {});
|
|
2008
|
-
var
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
return
|
|
2014
|
-
})(
|
|
2015
|
+
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
2016
|
+
StylesPosition2["START"] = "START";
|
|
2017
|
+
StylesPosition2["END"] = "END";
|
|
2018
|
+
StylesPosition2["TOP"] = "TOP";
|
|
2019
|
+
StylesPosition2["HIDDEN"] = "HIDDEN";
|
|
2020
|
+
return StylesPosition2;
|
|
2021
|
+
})(StylesPosition || {});
|
|
2015
2022
|
var MapType = /* @__PURE__ */ ((MapType2) => {
|
|
2016
2023
|
MapType2["ROADMAP"] = "ROADMAP";
|
|
2017
2024
|
MapType2["SATELITE"] = "SATELITE";
|
|
@@ -2067,6 +2074,43 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
|
2067
2074
|
FontType2["EM"] = "EM";
|
|
2068
2075
|
return FontType2;
|
|
2069
2076
|
})(FontType || {});
|
|
2077
|
+
var Position = /* @__PURE__ */ ((Position2) => {
|
|
2078
|
+
Position2["START"] = "START";
|
|
2079
|
+
Position2["END"] = "END";
|
|
2080
|
+
Position2["TOP"] = "TOP";
|
|
2081
|
+
return Position2;
|
|
2082
|
+
})(Position || {});
|
|
2083
|
+
var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
|
|
2084
|
+
AspectRatio2["SQUARE"] = "SQUARE";
|
|
2085
|
+
AspectRatio2["RECTANGLE"] = "RECTANGLE";
|
|
2086
|
+
return AspectRatio2;
|
|
2087
|
+
})(AspectRatio || {});
|
|
2088
|
+
var Resizing = /* @__PURE__ */ ((Resizing2) => {
|
|
2089
|
+
Resizing2["FILL"] = "FILL";
|
|
2090
|
+
Resizing2["FIT"] = "FIT";
|
|
2091
|
+
return Resizing2;
|
|
2092
|
+
})(Resizing || {});
|
|
2093
|
+
var Placement = /* @__PURE__ */ ((Placement2) => {
|
|
2094
|
+
Placement2["IMAGE"] = "IMAGE";
|
|
2095
|
+
Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
|
|
2096
|
+
return Placement2;
|
|
2097
|
+
})(Placement || {});
|
|
2098
|
+
var CardStylesType = /* @__PURE__ */ ((CardStylesType2) => {
|
|
2099
|
+
CardStylesType2["CONTAINED"] = "CONTAINED";
|
|
2100
|
+
CardStylesType2["FRAMELESS"] = "FRAMELESS";
|
|
2101
|
+
return CardStylesType2;
|
|
2102
|
+
})(CardStylesType || {});
|
|
2103
|
+
var Alignment = /* @__PURE__ */ ((Alignment2) => {
|
|
2104
|
+
Alignment2["START"] = "START";
|
|
2105
|
+
Alignment2["CENTER"] = "CENTER";
|
|
2106
|
+
Alignment2["END"] = "END";
|
|
2107
|
+
return Alignment2;
|
|
2108
|
+
})(Alignment || {});
|
|
2109
|
+
var Layout = /* @__PURE__ */ ((Layout2) => {
|
|
2110
|
+
Layout2["STACKED"] = "STACKED";
|
|
2111
|
+
Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
|
|
2112
|
+
return Layout2;
|
|
2113
|
+
})(Layout || {});
|
|
2070
2114
|
var AppType = /* @__PURE__ */ ((AppType2) => {
|
|
2071
2115
|
AppType2["PRODUCT"] = "PRODUCT";
|
|
2072
2116
|
AppType2["EVENT"] = "EVENT";
|
|
@@ -3022,16 +3066,20 @@ async function publishDraftPost2(draftPostId) {
|
|
|
3022
3066
|
Action,
|
|
3023
3067
|
Alignment,
|
|
3024
3068
|
AppType,
|
|
3069
|
+
AspectRatio,
|
|
3025
3070
|
BackgroundType,
|
|
3026
3071
|
ButtonDataType,
|
|
3072
|
+
CardStylesType,
|
|
3027
3073
|
Crop,
|
|
3028
3074
|
DecorationType,
|
|
3029
3075
|
Direction,
|
|
3076
|
+
DividerDataAlignment,
|
|
3030
3077
|
Field,
|
|
3031
3078
|
FontType,
|
|
3032
3079
|
GIFType,
|
|
3033
3080
|
GetDraftPostsSort,
|
|
3034
3081
|
InitialExpandedItems,
|
|
3082
|
+
Layout,
|
|
3035
3083
|
LayoutType,
|
|
3036
3084
|
LineStyle,
|
|
3037
3085
|
MapType,
|
|
@@ -3040,13 +3088,16 @@ async function publishDraftPost2(draftPostId) {
|
|
|
3040
3088
|
NullValue,
|
|
3041
3089
|
Orientation,
|
|
3042
3090
|
Origin,
|
|
3091
|
+
Placement,
|
|
3043
3092
|
PluginContainerDataAlignment,
|
|
3044
3093
|
PollLayoutDirection,
|
|
3045
3094
|
PollLayoutType,
|
|
3046
3095
|
Position,
|
|
3096
|
+
Resizing,
|
|
3047
3097
|
SortOrder,
|
|
3048
3098
|
Source,
|
|
3049
3099
|
Status,
|
|
3100
|
+
StylesPosition,
|
|
3050
3101
|
Target,
|
|
3051
3102
|
TextAlignment,
|
|
3052
3103
|
ThumbnailsAlignment,
|