@wix/blog 1.0.225 → 1.0.227
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/src/blog-v3-draft.http.d.ts +5 -1
- package/build/cjs/src/blog-v3-draft.http.js +260 -1
- package/build/cjs/src/blog-v3-draft.http.js.map +1 -1
- package/build/cjs/src/blog-v3-draft.meta.d.ts +2 -0
- package/build/cjs/src/blog-v3-draft.meta.js +39 -1
- package/build/cjs/src/blog-v3-draft.meta.js.map +1 -1
- package/build/cjs/src/blog-v3-draft.public.d.ts +4 -2
- package/build/cjs/src/blog-v3-draft.public.js +14 -1
- package/build/cjs/src/blog-v3-draft.public.js.map +1 -1
- package/build/cjs/src/blog-v3-draft.types.d.ts +1937 -701
- package/build/cjs/src/blog-v3-draft.universal.d.ts +1842 -722
- package/build/cjs/src/blog-v3-draft.universal.js +166 -1
- package/build/cjs/src/blog-v3-draft.universal.js.map +1 -1
- package/build/cjs/src/blog-v3-post.universal.js +14 -14
- package/build/cjs/src/blog-v3-post.universal.js.map +1 -1
- package/build/es/src/blog-v3-draft.http.d.ts +5 -1
- package/build/es/src/blog-v3-draft.http.js +257 -0
- package/build/es/src/blog-v3-draft.http.js.map +1 -1
- package/build/es/src/blog-v3-draft.meta.d.ts +2 -0
- package/build/es/src/blog-v3-draft.meta.js +36 -0
- package/build/es/src/blog-v3-draft.meta.js.map +1 -1
- package/build/es/src/blog-v3-draft.public.d.ts +4 -2
- package/build/es/src/blog-v3-draft.public.js +11 -1
- package/build/es/src/blog-v3-draft.public.js.map +1 -1
- package/build/es/src/blog-v3-draft.types.d.ts +1937 -701
- package/build/es/src/blog-v3-draft.universal.d.ts +1842 -722
- package/build/es/src/blog-v3-draft.universal.js +162 -0
- package/build/es/src/blog-v3-draft.universal.js.map +1 -1
- package/build/es/src/blog-v3-post.universal.js +14 -14
- package/build/es/src/blog-v3-post.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1624,7 +1624,7 @@ export interface CreateDraftPostResponse {
|
|
|
1624
1624
|
}
|
|
1625
1625
|
export interface BulkCreateDraftPostsRequest {
|
|
1626
1626
|
/** Draft posts to create. */
|
|
1627
|
-
draftPosts
|
|
1627
|
+
draftPosts: DraftPost[];
|
|
1628
1628
|
/** Whether the draft post should be published after creation. */
|
|
1629
1629
|
publish?: boolean;
|
|
1630
1630
|
/** Whether to return the full created draft post entities in the response. */
|
|
@@ -1889,7 +1889,7 @@ export interface RemoveFromTrashBinResponse {
|
|
|
1889
1889
|
}
|
|
1890
1890
|
export interface BulkDeleteDraftPostsRequest {
|
|
1891
1891
|
/** Post IDs. */
|
|
1892
|
-
postIds
|
|
1892
|
+
postIds: string[];
|
|
1893
1893
|
/** Should delete bypassing the trash-bin. */
|
|
1894
1894
|
permanent?: boolean;
|
|
1895
1895
|
}
|
|
@@ -2942,7 +2942,7 @@ export interface CreateDraftPostResponseNonNullableFields {
|
|
|
2942
2942
|
};
|
|
2943
2943
|
};
|
|
2944
2944
|
}
|
|
2945
|
-
export interface
|
|
2945
|
+
export interface BulkCreateDraftPostsResponseNonNullableFields {
|
|
2946
2946
|
results: {
|
|
2947
2947
|
itemMetadata?: {
|
|
2948
2948
|
originalIndex: number;
|
|
@@ -3223,7 +3223,7 @@ export interface BulkUpdateDraftPostsResponseNonNullableFields {
|
|
|
3223
3223
|
};
|
|
3224
3224
|
type: NodeType;
|
|
3225
3225
|
_id: string;
|
|
3226
|
-
nodes: NonNullable<NonNullable<NonNullable<NonNullable<
|
|
3226
|
+
nodes: NonNullable<NonNullable<NonNullable<NonNullable<BulkCreateDraftPostsResponseNonNullableFields>['results'][0]>['item']>['richContent']>['nodes'][];
|
|
3227
3227
|
}[];
|
|
3228
3228
|
metadata?: {
|
|
3229
3229
|
version: number;
|
|
@@ -3480,316 +3480,1382 @@ export interface BulkUpdateDraftPostsResponseNonNullableFields {
|
|
|
3480
3480
|
undetailedFailures: number;
|
|
3481
3481
|
};
|
|
3482
3482
|
}
|
|
3483
|
-
export interface
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3483
|
+
export interface BulkUpdateDraftPostsResponseNonNullableFields {
|
|
3484
|
+
results: {
|
|
3485
|
+
itemMetadata?: {
|
|
3486
|
+
originalIndex: number;
|
|
3487
|
+
success: boolean;
|
|
3488
|
+
error?: {
|
|
3489
|
+
code: string;
|
|
3490
|
+
description: string;
|
|
3491
|
+
};
|
|
3492
|
+
};
|
|
3493
|
+
item?: {
|
|
3494
|
+
_id: string;
|
|
3495
|
+
title: string;
|
|
3496
|
+
categoryIds: string[];
|
|
3497
|
+
hashtags: string[];
|
|
3498
|
+
minutesToRead: number;
|
|
3499
|
+
heroImage: string;
|
|
3500
|
+
tagIds: string[];
|
|
3501
|
+
relatedPostIds: string[];
|
|
3502
|
+
pricingPlanIds: string[];
|
|
3503
|
+
changeOrigin: Origin;
|
|
3504
|
+
richContent?: {
|
|
3505
|
+
nodes: {
|
|
3506
|
+
buttonData?: {
|
|
3507
|
+
containerData?: {
|
|
3508
|
+
width?: {
|
|
3509
|
+
size: WidthType;
|
|
3510
|
+
};
|
|
3511
|
+
alignment: PluginContainerDataAlignment;
|
|
3501
3512
|
};
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
anchor: string;
|
|
3508
|
-
target: Target;
|
|
3509
|
-
};
|
|
3510
|
-
};
|
|
3511
|
-
codeBlockData?: {
|
|
3512
|
-
textStyle?: {
|
|
3513
|
-
textAlignment: TextAlignment;
|
|
3514
|
-
};
|
|
3515
|
-
};
|
|
3516
|
-
dividerData?: {
|
|
3517
|
-
containerData?: {
|
|
3518
|
-
width?: {
|
|
3519
|
-
size: WidthType;
|
|
3513
|
+
type: ButtonDataType;
|
|
3514
|
+
link?: {
|
|
3515
|
+
url: string;
|
|
3516
|
+
anchor: string;
|
|
3517
|
+
target: Target;
|
|
3520
3518
|
};
|
|
3521
|
-
alignment: PluginContainerDataAlignment;
|
|
3522
3519
|
};
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
};
|
|
3527
|
-
fileData?: {
|
|
3528
|
-
containerData?: {
|
|
3529
|
-
width?: {
|
|
3530
|
-
size: WidthType;
|
|
3520
|
+
codeBlockData?: {
|
|
3521
|
+
textStyle?: {
|
|
3522
|
+
textAlignment: TextAlignment;
|
|
3531
3523
|
};
|
|
3532
|
-
alignment: PluginContainerDataAlignment;
|
|
3533
|
-
};
|
|
3534
|
-
pdfSettings?: {
|
|
3535
|
-
viewMode: ViewMode;
|
|
3536
3524
|
};
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3525
|
+
dividerData?: {
|
|
3526
|
+
containerData?: {
|
|
3527
|
+
width?: {
|
|
3528
|
+
size: WidthType;
|
|
3529
|
+
};
|
|
3530
|
+
alignment: PluginContainerDataAlignment;
|
|
3542
3531
|
};
|
|
3543
|
-
|
|
3532
|
+
lineStyle: LineStyle;
|
|
3533
|
+
width: Width;
|
|
3534
|
+
alignment: Alignment;
|
|
3544
3535
|
};
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
anchor: string;
|
|
3550
|
-
target: Target;
|
|
3536
|
+
fileData?: {
|
|
3537
|
+
containerData?: {
|
|
3538
|
+
width?: {
|
|
3539
|
+
size: WidthType;
|
|
3551
3540
|
};
|
|
3541
|
+
alignment: PluginContainerDataAlignment;
|
|
3552
3542
|
};
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
layout?: {
|
|
3556
|
-
type: LayoutType;
|
|
3557
|
-
orientation: Orientation;
|
|
3543
|
+
pdfSettings?: {
|
|
3544
|
+
viewMode: ViewMode;
|
|
3558
3545
|
};
|
|
3559
|
-
|
|
3560
|
-
|
|
3546
|
+
};
|
|
3547
|
+
galleryData?: {
|
|
3548
|
+
containerData?: {
|
|
3549
|
+
width?: {
|
|
3550
|
+
size: WidthType;
|
|
3551
|
+
};
|
|
3552
|
+
alignment: PluginContainerDataAlignment;
|
|
3561
3553
|
};
|
|
3562
|
-
|
|
3563
|
-
|
|
3554
|
+
items: {
|
|
3555
|
+
image?: {
|
|
3556
|
+
link?: {
|
|
3557
|
+
url: string;
|
|
3558
|
+
anchor: string;
|
|
3559
|
+
target: Target;
|
|
3560
|
+
};
|
|
3561
|
+
};
|
|
3562
|
+
}[];
|
|
3563
|
+
options?: {
|
|
3564
|
+
layout?: {
|
|
3565
|
+
type: LayoutType;
|
|
3566
|
+
orientation: Orientation;
|
|
3567
|
+
};
|
|
3568
|
+
item?: {
|
|
3569
|
+
crop: Crop;
|
|
3570
|
+
};
|
|
3571
|
+
thumbnails?: {
|
|
3572
|
+
placement: ThumbnailsAlignment;
|
|
3573
|
+
};
|
|
3564
3574
|
};
|
|
3565
3575
|
};
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3576
|
+
gifData?: {
|
|
3577
|
+
containerData?: {
|
|
3578
|
+
width?: {
|
|
3579
|
+
size: WidthType;
|
|
3580
|
+
};
|
|
3581
|
+
alignment: PluginContainerDataAlignment;
|
|
3571
3582
|
};
|
|
3572
|
-
|
|
3583
|
+
height: number;
|
|
3584
|
+
width: number;
|
|
3573
3585
|
};
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
textStyle?: {
|
|
3580
|
-
textAlignment: TextAlignment;
|
|
3586
|
+
headingData?: {
|
|
3587
|
+
level: number;
|
|
3588
|
+
textStyle?: {
|
|
3589
|
+
textAlignment: TextAlignment;
|
|
3590
|
+
};
|
|
3581
3591
|
};
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3592
|
+
htmlData?: {
|
|
3593
|
+
url: string;
|
|
3594
|
+
html: string;
|
|
3595
|
+
containerData?: {
|
|
3596
|
+
width?: {
|
|
3597
|
+
size: WidthType;
|
|
3598
|
+
};
|
|
3599
|
+
alignment: PluginContainerDataAlignment;
|
|
3589
3600
|
};
|
|
3590
|
-
|
|
3601
|
+
source: Source;
|
|
3591
3602
|
};
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3603
|
+
imageData?: {
|
|
3604
|
+
containerData?: {
|
|
3605
|
+
width?: {
|
|
3606
|
+
size: WidthType;
|
|
3607
|
+
};
|
|
3608
|
+
alignment: PluginContainerDataAlignment;
|
|
3609
|
+
};
|
|
3610
|
+
link?: {
|
|
3611
|
+
url: string;
|
|
3612
|
+
anchor: string;
|
|
3613
|
+
target: Target;
|
|
3598
3614
|
};
|
|
3599
|
-
alignment: PluginContainerDataAlignment;
|
|
3600
3615
|
};
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3616
|
+
linkPreviewData?: {
|
|
3617
|
+
containerData?: {
|
|
3618
|
+
width?: {
|
|
3619
|
+
size: WidthType;
|
|
3620
|
+
};
|
|
3621
|
+
alignment: PluginContainerDataAlignment;
|
|
3622
|
+
};
|
|
3623
|
+
link?: {
|
|
3624
|
+
url: string;
|
|
3625
|
+
anchor: string;
|
|
3626
|
+
target: Target;
|
|
3627
|
+
};
|
|
3605
3628
|
};
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3629
|
+
mapData?: {
|
|
3630
|
+
containerData?: {
|
|
3631
|
+
width?: {
|
|
3632
|
+
size: WidthType;
|
|
3633
|
+
};
|
|
3634
|
+
alignment: PluginContainerDataAlignment;
|
|
3635
|
+
};
|
|
3636
|
+
mapSettings?: {
|
|
3637
|
+
mapType: MapType;
|
|
3611
3638
|
};
|
|
3612
|
-
alignment: PluginContainerDataAlignment;
|
|
3613
3639
|
};
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3640
|
+
paragraphData?: {
|
|
3641
|
+
textStyle?: {
|
|
3642
|
+
textAlignment: TextAlignment;
|
|
3643
|
+
};
|
|
3618
3644
|
};
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3645
|
+
pollData?: {
|
|
3646
|
+
containerData?: {
|
|
3647
|
+
width?: {
|
|
3648
|
+
size: WidthType;
|
|
3649
|
+
};
|
|
3650
|
+
alignment: PluginContainerDataAlignment;
|
|
3651
|
+
};
|
|
3652
|
+
poll?: {
|
|
3653
|
+
options: Option[];
|
|
3654
|
+
settings?: {
|
|
3655
|
+
permissions?: {
|
|
3656
|
+
view: ViewRole;
|
|
3657
|
+
vote: VoteRole;
|
|
3658
|
+
};
|
|
3659
|
+
};
|
|
3660
|
+
};
|
|
3661
|
+
layout?: {
|
|
3662
|
+
poll?: {
|
|
3663
|
+
type: PollLayoutType;
|
|
3664
|
+
direction: PollLayoutDirection;
|
|
3665
|
+
};
|
|
3666
|
+
};
|
|
3667
|
+
design?: {
|
|
3668
|
+
poll?: {
|
|
3669
|
+
background?: {
|
|
3670
|
+
type: BackgroundType;
|
|
3671
|
+
};
|
|
3672
|
+
};
|
|
3624
3673
|
};
|
|
3625
|
-
alignment: PluginContainerDataAlignment;
|
|
3626
|
-
};
|
|
3627
|
-
mapSettings?: {
|
|
3628
|
-
mapType: MapType;
|
|
3629
3674
|
};
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3675
|
+
textData?: {
|
|
3676
|
+
text: string;
|
|
3677
|
+
decorations: {
|
|
3678
|
+
anchorData?: {
|
|
3679
|
+
anchor: string;
|
|
3680
|
+
};
|
|
3681
|
+
linkData?: {
|
|
3682
|
+
link?: {
|
|
3683
|
+
url: string;
|
|
3684
|
+
anchor: string;
|
|
3685
|
+
target: Target;
|
|
3686
|
+
};
|
|
3687
|
+
};
|
|
3688
|
+
mentionData?: {
|
|
3689
|
+
name: string;
|
|
3690
|
+
slug: string;
|
|
3691
|
+
};
|
|
3692
|
+
fontSizeData?: {
|
|
3693
|
+
unit: FontType;
|
|
3694
|
+
};
|
|
3695
|
+
type: DecorationType;
|
|
3696
|
+
}[];
|
|
3634
3697
|
};
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
containerData?: {
|
|
3638
|
-
width?: {
|
|
3639
|
-
size: WidthType;
|
|
3640
|
-
};
|
|
3641
|
-
alignment: PluginContainerDataAlignment;
|
|
3698
|
+
appEmbedData?: {
|
|
3699
|
+
type: AppType;
|
|
3642
3700
|
};
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
view: ViewRole;
|
|
3648
|
-
vote: VoteRole;
|
|
3701
|
+
videoData?: {
|
|
3702
|
+
containerData?: {
|
|
3703
|
+
width?: {
|
|
3704
|
+
size: WidthType;
|
|
3649
3705
|
};
|
|
3706
|
+
alignment: PluginContainerDataAlignment;
|
|
3650
3707
|
};
|
|
3651
3708
|
};
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3709
|
+
embedData?: {
|
|
3710
|
+
containerData?: {
|
|
3711
|
+
width?: {
|
|
3712
|
+
size: WidthType;
|
|
3713
|
+
};
|
|
3714
|
+
alignment: PluginContainerDataAlignment;
|
|
3656
3715
|
};
|
|
3657
3716
|
};
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3717
|
+
collapsibleListData?: {
|
|
3718
|
+
containerData?: {
|
|
3719
|
+
width?: {
|
|
3720
|
+
size: WidthType;
|
|
3662
3721
|
};
|
|
3722
|
+
alignment: PluginContainerDataAlignment;
|
|
3663
3723
|
};
|
|
3724
|
+
initialExpandedItems: InitialExpandedItems;
|
|
3725
|
+
direction: Direction;
|
|
3664
3726
|
};
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
anchorData?: {
|
|
3670
|
-
anchor: string;
|
|
3671
|
-
};
|
|
3672
|
-
linkData?: {
|
|
3673
|
-
link?: {
|
|
3674
|
-
url: string;
|
|
3675
|
-
anchor: string;
|
|
3676
|
-
target: Target;
|
|
3727
|
+
tableData?: {
|
|
3728
|
+
containerData?: {
|
|
3729
|
+
width?: {
|
|
3730
|
+
size: WidthType;
|
|
3677
3731
|
};
|
|
3732
|
+
alignment: PluginContainerDataAlignment;
|
|
3678
3733
|
};
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
fontSizeData?: {
|
|
3684
|
-
unit: FontType;
|
|
3685
|
-
};
|
|
3686
|
-
type: DecorationType;
|
|
3687
|
-
}[];
|
|
3688
|
-
};
|
|
3689
|
-
appEmbedData?: {
|
|
3690
|
-
type: AppType;
|
|
3691
|
-
};
|
|
3692
|
-
videoData?: {
|
|
3693
|
-
containerData?: {
|
|
3694
|
-
width?: {
|
|
3695
|
-
size: WidthType;
|
|
3696
|
-
};
|
|
3697
|
-
alignment: PluginContainerDataAlignment;
|
|
3698
|
-
};
|
|
3699
|
-
};
|
|
3700
|
-
embedData?: {
|
|
3701
|
-
containerData?: {
|
|
3702
|
-
width?: {
|
|
3703
|
-
size: WidthType;
|
|
3734
|
+
dimensions?: {
|
|
3735
|
+
colsWidthRatio: number[];
|
|
3736
|
+
rowsHeight: number[];
|
|
3737
|
+
colsMinWidth: number[];
|
|
3704
3738
|
};
|
|
3705
|
-
alignment: PluginContainerDataAlignment;
|
|
3706
3739
|
};
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
width?: {
|
|
3711
|
-
size: WidthType;
|
|
3740
|
+
tableCellData?: {
|
|
3741
|
+
cellStyle?: {
|
|
3742
|
+
verticalAlignment: VerticalAlignment;
|
|
3712
3743
|
};
|
|
3713
|
-
alignment: PluginContainerDataAlignment;
|
|
3714
3744
|
};
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
size: WidthType;
|
|
3745
|
+
audioData?: {
|
|
3746
|
+
containerData?: {
|
|
3747
|
+
width?: {
|
|
3748
|
+
size: WidthType;
|
|
3749
|
+
};
|
|
3750
|
+
alignment: PluginContainerDataAlignment;
|
|
3722
3751
|
};
|
|
3723
|
-
alignment: PluginContainerDataAlignment;
|
|
3724
3752
|
};
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
rowsHeight: number[];
|
|
3728
|
-
colsMinWidth: number[];
|
|
3753
|
+
orderedListData?: {
|
|
3754
|
+
indentation: number;
|
|
3729
3755
|
};
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
cellStyle?: {
|
|
3733
|
-
verticalAlignment: VerticalAlignment;
|
|
3756
|
+
bulletedListData?: {
|
|
3757
|
+
indentation: number;
|
|
3734
3758
|
};
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
containerData?: {
|
|
3738
|
-
width?: {
|
|
3739
|
-
size: WidthType;
|
|
3740
|
-
};
|
|
3741
|
-
alignment: PluginContainerDataAlignment;
|
|
3759
|
+
blockquoteData?: {
|
|
3760
|
+
indentation: number;
|
|
3742
3761
|
};
|
|
3762
|
+
type: NodeType;
|
|
3763
|
+
_id: string;
|
|
3764
|
+
nodes: NonNullable<NonNullable<NonNullable<NonNullable<BulkUpdateDraftPostsResponseNonNullableFields>['results'][0]>['item']>['richContent']>['nodes'][];
|
|
3765
|
+
}[];
|
|
3766
|
+
metadata?: {
|
|
3767
|
+
version: number;
|
|
3743
3768
|
};
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
indentation: number;
|
|
3749
|
-
};
|
|
3750
|
-
blockquoteData?: {
|
|
3751
|
-
indentation: number;
|
|
3752
|
-
};
|
|
3753
|
-
type: NodeType;
|
|
3754
|
-
_id: string;
|
|
3755
|
-
nodes: NonNullable<NonNullable<NonNullable<ListDeletedDraftPostsResponseNonNullableFields>['draftPosts'][0]>['richContent']>['nodes'][];
|
|
3756
|
-
}[];
|
|
3757
|
-
metadata?: {
|
|
3758
|
-
version: number;
|
|
3759
|
-
};
|
|
3760
|
-
documentStyle?: {
|
|
3761
|
-
headerOne?: {
|
|
3762
|
-
decorations: {
|
|
3763
|
-
anchorData?: {
|
|
3764
|
-
anchor: string;
|
|
3765
|
-
};
|
|
3766
|
-
linkData?: {
|
|
3767
|
-
link?: {
|
|
3768
|
-
url: string;
|
|
3769
|
+
documentStyle?: {
|
|
3770
|
+
headerOne?: {
|
|
3771
|
+
decorations: {
|
|
3772
|
+
anchorData?: {
|
|
3769
3773
|
anchor: string;
|
|
3770
|
-
target: Target;
|
|
3771
3774
|
};
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
};
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3775
|
+
linkData?: {
|
|
3776
|
+
link?: {
|
|
3777
|
+
url: string;
|
|
3778
|
+
anchor: string;
|
|
3779
|
+
target: Target;
|
|
3780
|
+
};
|
|
3781
|
+
};
|
|
3782
|
+
mentionData?: {
|
|
3783
|
+
name: string;
|
|
3784
|
+
slug: string;
|
|
3785
|
+
};
|
|
3786
|
+
fontSizeData?: {
|
|
3787
|
+
unit: FontType;
|
|
3788
|
+
};
|
|
3789
|
+
type: DecorationType;
|
|
3790
|
+
}[];
|
|
3791
|
+
};
|
|
3792
|
+
headerTwo?: {
|
|
3793
|
+
decorations: {
|
|
3794
|
+
anchorData?: {
|
|
3795
|
+
anchor: string;
|
|
3796
|
+
};
|
|
3797
|
+
linkData?: {
|
|
3798
|
+
link?: {
|
|
3799
|
+
url: string;
|
|
3800
|
+
anchor: string;
|
|
3801
|
+
target: Target;
|
|
3802
|
+
};
|
|
3803
|
+
};
|
|
3804
|
+
mentionData?: {
|
|
3805
|
+
name: string;
|
|
3806
|
+
slug: string;
|
|
3807
|
+
};
|
|
3808
|
+
fontSizeData?: {
|
|
3809
|
+
unit: FontType;
|
|
3810
|
+
};
|
|
3811
|
+
type: DecorationType;
|
|
3812
|
+
}[];
|
|
3813
|
+
};
|
|
3814
|
+
headerThree?: {
|
|
3815
|
+
decorations: {
|
|
3816
|
+
anchorData?: {
|
|
3817
|
+
anchor: string;
|
|
3818
|
+
};
|
|
3819
|
+
linkData?: {
|
|
3820
|
+
link?: {
|
|
3821
|
+
url: string;
|
|
3822
|
+
anchor: string;
|
|
3823
|
+
target: Target;
|
|
3824
|
+
};
|
|
3825
|
+
};
|
|
3826
|
+
mentionData?: {
|
|
3827
|
+
name: string;
|
|
3828
|
+
slug: string;
|
|
3829
|
+
};
|
|
3830
|
+
fontSizeData?: {
|
|
3831
|
+
unit: FontType;
|
|
3832
|
+
};
|
|
3833
|
+
type: DecorationType;
|
|
3834
|
+
}[];
|
|
3835
|
+
};
|
|
3836
|
+
headerFour?: {
|
|
3837
|
+
decorations: {
|
|
3838
|
+
anchorData?: {
|
|
3839
|
+
anchor: string;
|
|
3840
|
+
};
|
|
3841
|
+
linkData?: {
|
|
3842
|
+
link?: {
|
|
3843
|
+
url: string;
|
|
3844
|
+
anchor: string;
|
|
3845
|
+
target: Target;
|
|
3846
|
+
};
|
|
3847
|
+
};
|
|
3848
|
+
mentionData?: {
|
|
3849
|
+
name: string;
|
|
3850
|
+
slug: string;
|
|
3851
|
+
};
|
|
3852
|
+
fontSizeData?: {
|
|
3853
|
+
unit: FontType;
|
|
3854
|
+
};
|
|
3855
|
+
type: DecorationType;
|
|
3856
|
+
}[];
|
|
3857
|
+
};
|
|
3858
|
+
headerFive?: {
|
|
3859
|
+
decorations: {
|
|
3860
|
+
anchorData?: {
|
|
3861
|
+
anchor: string;
|
|
3862
|
+
};
|
|
3863
|
+
linkData?: {
|
|
3864
|
+
link?: {
|
|
3865
|
+
url: string;
|
|
3866
|
+
anchor: string;
|
|
3867
|
+
target: Target;
|
|
3868
|
+
};
|
|
3869
|
+
};
|
|
3870
|
+
mentionData?: {
|
|
3871
|
+
name: string;
|
|
3872
|
+
slug: string;
|
|
3873
|
+
};
|
|
3874
|
+
fontSizeData?: {
|
|
3875
|
+
unit: FontType;
|
|
3876
|
+
};
|
|
3877
|
+
type: DecorationType;
|
|
3878
|
+
}[];
|
|
3879
|
+
};
|
|
3880
|
+
headerSix?: {
|
|
3881
|
+
decorations: {
|
|
3882
|
+
anchorData?: {
|
|
3883
|
+
anchor: string;
|
|
3884
|
+
};
|
|
3885
|
+
linkData?: {
|
|
3886
|
+
link?: {
|
|
3887
|
+
url: string;
|
|
3888
|
+
anchor: string;
|
|
3889
|
+
target: Target;
|
|
3890
|
+
};
|
|
3891
|
+
};
|
|
3892
|
+
mentionData?: {
|
|
3893
|
+
name: string;
|
|
3894
|
+
slug: string;
|
|
3895
|
+
};
|
|
3896
|
+
fontSizeData?: {
|
|
3897
|
+
unit: FontType;
|
|
3898
|
+
};
|
|
3899
|
+
type: DecorationType;
|
|
3900
|
+
}[];
|
|
3901
|
+
};
|
|
3902
|
+
paragraph?: {
|
|
3903
|
+
decorations: {
|
|
3904
|
+
anchorData?: {
|
|
3905
|
+
anchor: string;
|
|
3906
|
+
};
|
|
3907
|
+
linkData?: {
|
|
3908
|
+
link?: {
|
|
3909
|
+
url: string;
|
|
3910
|
+
anchor: string;
|
|
3911
|
+
target: Target;
|
|
3912
|
+
};
|
|
3913
|
+
};
|
|
3914
|
+
mentionData?: {
|
|
3915
|
+
name: string;
|
|
3916
|
+
slug: string;
|
|
3917
|
+
};
|
|
3918
|
+
fontSizeData?: {
|
|
3919
|
+
unit: FontType;
|
|
3920
|
+
};
|
|
3921
|
+
type: DecorationType;
|
|
3922
|
+
}[];
|
|
3923
|
+
};
|
|
3924
|
+
blockquote?: {
|
|
3925
|
+
decorations: {
|
|
3926
|
+
anchorData?: {
|
|
3927
|
+
anchor: string;
|
|
3928
|
+
};
|
|
3929
|
+
linkData?: {
|
|
3930
|
+
link?: {
|
|
3931
|
+
url: string;
|
|
3932
|
+
anchor: string;
|
|
3933
|
+
target: Target;
|
|
3934
|
+
};
|
|
3935
|
+
};
|
|
3936
|
+
mentionData?: {
|
|
3937
|
+
name: string;
|
|
3938
|
+
slug: string;
|
|
3939
|
+
};
|
|
3940
|
+
fontSizeData?: {
|
|
3941
|
+
unit: FontType;
|
|
3942
|
+
};
|
|
3943
|
+
type: DecorationType;
|
|
3944
|
+
}[];
|
|
3945
|
+
};
|
|
3946
|
+
codeBlock?: {
|
|
3947
|
+
decorations: {
|
|
3948
|
+
anchorData?: {
|
|
3949
|
+
anchor: string;
|
|
3950
|
+
};
|
|
3951
|
+
linkData?: {
|
|
3952
|
+
link?: {
|
|
3953
|
+
url: string;
|
|
3954
|
+
anchor: string;
|
|
3955
|
+
target: Target;
|
|
3956
|
+
};
|
|
3957
|
+
};
|
|
3958
|
+
mentionData?: {
|
|
3959
|
+
name: string;
|
|
3960
|
+
slug: string;
|
|
3961
|
+
};
|
|
3962
|
+
fontSizeData?: {
|
|
3963
|
+
unit: FontType;
|
|
3964
|
+
};
|
|
3965
|
+
type: DecorationType;
|
|
3966
|
+
}[];
|
|
3967
|
+
};
|
|
3968
|
+
};
|
|
3969
|
+
};
|
|
3970
|
+
status: Status;
|
|
3971
|
+
moderationDetails?: {
|
|
3972
|
+
submittedBy: string;
|
|
3973
|
+
status: ModerationStatusStatus;
|
|
3974
|
+
};
|
|
3975
|
+
hasUnpublishedChanges: boolean;
|
|
3976
|
+
seoData?: {
|
|
3977
|
+
tags: {
|
|
3978
|
+
type: string;
|
|
3979
|
+
children: string;
|
|
3980
|
+
custom: boolean;
|
|
3981
|
+
disabled: boolean;
|
|
3982
|
+
}[];
|
|
3983
|
+
settings?: {
|
|
3984
|
+
preventAutoRedirect: boolean;
|
|
3985
|
+
keywords: {
|
|
3986
|
+
term: string;
|
|
3987
|
+
isMain: boolean;
|
|
3988
|
+
}[];
|
|
3989
|
+
};
|
|
3990
|
+
};
|
|
3991
|
+
slugs: string[];
|
|
3992
|
+
url: string;
|
|
3993
|
+
media?: {
|
|
3994
|
+
wixMedia?: {
|
|
3995
|
+
image: string;
|
|
3996
|
+
videoV2: string;
|
|
3997
|
+
};
|
|
3998
|
+
embedMedia?: {
|
|
3999
|
+
thumbnail?: {
|
|
4000
|
+
url: string;
|
|
4001
|
+
width: number;
|
|
4002
|
+
height: number;
|
|
4003
|
+
};
|
|
4004
|
+
video?: {
|
|
4005
|
+
url: string;
|
|
4006
|
+
width: number;
|
|
4007
|
+
height: number;
|
|
4008
|
+
};
|
|
4009
|
+
};
|
|
4010
|
+
displayed: boolean;
|
|
4011
|
+
custom: boolean;
|
|
4012
|
+
};
|
|
4013
|
+
};
|
|
4014
|
+
}[];
|
|
4015
|
+
bulkActionMetadata?: {
|
|
4016
|
+
totalSuccesses: number;
|
|
4017
|
+
totalFailures: number;
|
|
4018
|
+
undetailedFailures: number;
|
|
4019
|
+
};
|
|
4020
|
+
}
|
|
4021
|
+
export interface ListDeletedDraftPostsResponseNonNullableFields {
|
|
4022
|
+
draftPosts: {
|
|
4023
|
+
_id: string;
|
|
4024
|
+
title: string;
|
|
4025
|
+
categoryIds: string[];
|
|
4026
|
+
hashtags: string[];
|
|
4027
|
+
minutesToRead: number;
|
|
4028
|
+
heroImage: string;
|
|
4029
|
+
tagIds: string[];
|
|
4030
|
+
relatedPostIds: string[];
|
|
4031
|
+
pricingPlanIds: string[];
|
|
4032
|
+
changeOrigin: Origin;
|
|
4033
|
+
richContent?: {
|
|
4034
|
+
nodes: {
|
|
4035
|
+
buttonData?: {
|
|
4036
|
+
containerData?: {
|
|
4037
|
+
width?: {
|
|
4038
|
+
size: WidthType;
|
|
4039
|
+
};
|
|
4040
|
+
alignment: PluginContainerDataAlignment;
|
|
4041
|
+
};
|
|
4042
|
+
type: ButtonDataType;
|
|
4043
|
+
link?: {
|
|
4044
|
+
url: string;
|
|
4045
|
+
anchor: string;
|
|
4046
|
+
target: Target;
|
|
4047
|
+
};
|
|
4048
|
+
};
|
|
4049
|
+
codeBlockData?: {
|
|
4050
|
+
textStyle?: {
|
|
4051
|
+
textAlignment: TextAlignment;
|
|
4052
|
+
};
|
|
4053
|
+
};
|
|
4054
|
+
dividerData?: {
|
|
4055
|
+
containerData?: {
|
|
4056
|
+
width?: {
|
|
4057
|
+
size: WidthType;
|
|
4058
|
+
};
|
|
4059
|
+
alignment: PluginContainerDataAlignment;
|
|
4060
|
+
};
|
|
4061
|
+
lineStyle: LineStyle;
|
|
4062
|
+
width: Width;
|
|
4063
|
+
alignment: Alignment;
|
|
4064
|
+
};
|
|
4065
|
+
fileData?: {
|
|
4066
|
+
containerData?: {
|
|
4067
|
+
width?: {
|
|
4068
|
+
size: WidthType;
|
|
4069
|
+
};
|
|
4070
|
+
alignment: PluginContainerDataAlignment;
|
|
4071
|
+
};
|
|
4072
|
+
pdfSettings?: {
|
|
4073
|
+
viewMode: ViewMode;
|
|
4074
|
+
};
|
|
4075
|
+
};
|
|
4076
|
+
galleryData?: {
|
|
4077
|
+
containerData?: {
|
|
4078
|
+
width?: {
|
|
4079
|
+
size: WidthType;
|
|
4080
|
+
};
|
|
4081
|
+
alignment: PluginContainerDataAlignment;
|
|
4082
|
+
};
|
|
4083
|
+
items: {
|
|
4084
|
+
image?: {
|
|
4085
|
+
link?: {
|
|
4086
|
+
url: string;
|
|
4087
|
+
anchor: string;
|
|
4088
|
+
target: Target;
|
|
4089
|
+
};
|
|
4090
|
+
};
|
|
4091
|
+
}[];
|
|
4092
|
+
options?: {
|
|
4093
|
+
layout?: {
|
|
4094
|
+
type: LayoutType;
|
|
4095
|
+
orientation: Orientation;
|
|
4096
|
+
};
|
|
4097
|
+
item?: {
|
|
4098
|
+
crop: Crop;
|
|
4099
|
+
};
|
|
4100
|
+
thumbnails?: {
|
|
4101
|
+
placement: ThumbnailsAlignment;
|
|
4102
|
+
};
|
|
4103
|
+
};
|
|
4104
|
+
};
|
|
4105
|
+
gifData?: {
|
|
4106
|
+
containerData?: {
|
|
4107
|
+
width?: {
|
|
4108
|
+
size: WidthType;
|
|
4109
|
+
};
|
|
4110
|
+
alignment: PluginContainerDataAlignment;
|
|
4111
|
+
};
|
|
4112
|
+
height: number;
|
|
4113
|
+
width: number;
|
|
4114
|
+
};
|
|
4115
|
+
headingData?: {
|
|
4116
|
+
level: number;
|
|
4117
|
+
textStyle?: {
|
|
4118
|
+
textAlignment: TextAlignment;
|
|
4119
|
+
};
|
|
4120
|
+
};
|
|
4121
|
+
htmlData?: {
|
|
4122
|
+
url: string;
|
|
4123
|
+
html: string;
|
|
4124
|
+
containerData?: {
|
|
4125
|
+
width?: {
|
|
4126
|
+
size: WidthType;
|
|
4127
|
+
};
|
|
4128
|
+
alignment: PluginContainerDataAlignment;
|
|
4129
|
+
};
|
|
4130
|
+
source: Source;
|
|
4131
|
+
};
|
|
4132
|
+
imageData?: {
|
|
4133
|
+
containerData?: {
|
|
4134
|
+
width?: {
|
|
4135
|
+
size: WidthType;
|
|
4136
|
+
};
|
|
4137
|
+
alignment: PluginContainerDataAlignment;
|
|
4138
|
+
};
|
|
4139
|
+
link?: {
|
|
4140
|
+
url: string;
|
|
4141
|
+
anchor: string;
|
|
4142
|
+
target: Target;
|
|
4143
|
+
};
|
|
4144
|
+
};
|
|
4145
|
+
linkPreviewData?: {
|
|
4146
|
+
containerData?: {
|
|
4147
|
+
width?: {
|
|
4148
|
+
size: WidthType;
|
|
4149
|
+
};
|
|
4150
|
+
alignment: PluginContainerDataAlignment;
|
|
4151
|
+
};
|
|
4152
|
+
link?: {
|
|
4153
|
+
url: string;
|
|
4154
|
+
anchor: string;
|
|
4155
|
+
target: Target;
|
|
4156
|
+
};
|
|
4157
|
+
};
|
|
4158
|
+
mapData?: {
|
|
4159
|
+
containerData?: {
|
|
4160
|
+
width?: {
|
|
4161
|
+
size: WidthType;
|
|
4162
|
+
};
|
|
4163
|
+
alignment: PluginContainerDataAlignment;
|
|
4164
|
+
};
|
|
4165
|
+
mapSettings?: {
|
|
4166
|
+
mapType: MapType;
|
|
4167
|
+
};
|
|
4168
|
+
};
|
|
4169
|
+
paragraphData?: {
|
|
4170
|
+
textStyle?: {
|
|
4171
|
+
textAlignment: TextAlignment;
|
|
4172
|
+
};
|
|
4173
|
+
};
|
|
4174
|
+
pollData?: {
|
|
4175
|
+
containerData?: {
|
|
4176
|
+
width?: {
|
|
4177
|
+
size: WidthType;
|
|
4178
|
+
};
|
|
4179
|
+
alignment: PluginContainerDataAlignment;
|
|
4180
|
+
};
|
|
4181
|
+
poll?: {
|
|
4182
|
+
options: Option[];
|
|
4183
|
+
settings?: {
|
|
4184
|
+
permissions?: {
|
|
4185
|
+
view: ViewRole;
|
|
4186
|
+
vote: VoteRole;
|
|
4187
|
+
};
|
|
4188
|
+
};
|
|
4189
|
+
};
|
|
4190
|
+
layout?: {
|
|
4191
|
+
poll?: {
|
|
4192
|
+
type: PollLayoutType;
|
|
4193
|
+
direction: PollLayoutDirection;
|
|
4194
|
+
};
|
|
4195
|
+
};
|
|
4196
|
+
design?: {
|
|
4197
|
+
poll?: {
|
|
4198
|
+
background?: {
|
|
4199
|
+
type: BackgroundType;
|
|
4200
|
+
};
|
|
4201
|
+
};
|
|
4202
|
+
};
|
|
4203
|
+
};
|
|
4204
|
+
textData?: {
|
|
4205
|
+
text: string;
|
|
4206
|
+
decorations: {
|
|
4207
|
+
anchorData?: {
|
|
4208
|
+
anchor: string;
|
|
4209
|
+
};
|
|
4210
|
+
linkData?: {
|
|
4211
|
+
link?: {
|
|
4212
|
+
url: string;
|
|
4213
|
+
anchor: string;
|
|
4214
|
+
target: Target;
|
|
4215
|
+
};
|
|
4216
|
+
};
|
|
4217
|
+
mentionData?: {
|
|
4218
|
+
name: string;
|
|
4219
|
+
slug: string;
|
|
4220
|
+
};
|
|
4221
|
+
fontSizeData?: {
|
|
4222
|
+
unit: FontType;
|
|
4223
|
+
};
|
|
4224
|
+
type: DecorationType;
|
|
4225
|
+
}[];
|
|
4226
|
+
};
|
|
4227
|
+
appEmbedData?: {
|
|
4228
|
+
type: AppType;
|
|
4229
|
+
};
|
|
4230
|
+
videoData?: {
|
|
4231
|
+
containerData?: {
|
|
4232
|
+
width?: {
|
|
4233
|
+
size: WidthType;
|
|
4234
|
+
};
|
|
4235
|
+
alignment: PluginContainerDataAlignment;
|
|
4236
|
+
};
|
|
4237
|
+
};
|
|
4238
|
+
embedData?: {
|
|
4239
|
+
containerData?: {
|
|
4240
|
+
width?: {
|
|
4241
|
+
size: WidthType;
|
|
4242
|
+
};
|
|
4243
|
+
alignment: PluginContainerDataAlignment;
|
|
4244
|
+
};
|
|
4245
|
+
};
|
|
4246
|
+
collapsibleListData?: {
|
|
4247
|
+
containerData?: {
|
|
4248
|
+
width?: {
|
|
4249
|
+
size: WidthType;
|
|
4250
|
+
};
|
|
4251
|
+
alignment: PluginContainerDataAlignment;
|
|
4252
|
+
};
|
|
4253
|
+
initialExpandedItems: InitialExpandedItems;
|
|
4254
|
+
direction: Direction;
|
|
4255
|
+
};
|
|
4256
|
+
tableData?: {
|
|
4257
|
+
containerData?: {
|
|
4258
|
+
width?: {
|
|
4259
|
+
size: WidthType;
|
|
4260
|
+
};
|
|
4261
|
+
alignment: PluginContainerDataAlignment;
|
|
4262
|
+
};
|
|
4263
|
+
dimensions?: {
|
|
4264
|
+
colsWidthRatio: number[];
|
|
4265
|
+
rowsHeight: number[];
|
|
4266
|
+
colsMinWidth: number[];
|
|
4267
|
+
};
|
|
4268
|
+
};
|
|
4269
|
+
tableCellData?: {
|
|
4270
|
+
cellStyle?: {
|
|
4271
|
+
verticalAlignment: VerticalAlignment;
|
|
4272
|
+
};
|
|
4273
|
+
};
|
|
4274
|
+
audioData?: {
|
|
4275
|
+
containerData?: {
|
|
4276
|
+
width?: {
|
|
4277
|
+
size: WidthType;
|
|
4278
|
+
};
|
|
4279
|
+
alignment: PluginContainerDataAlignment;
|
|
4280
|
+
};
|
|
4281
|
+
};
|
|
4282
|
+
orderedListData?: {
|
|
4283
|
+
indentation: number;
|
|
4284
|
+
};
|
|
4285
|
+
bulletedListData?: {
|
|
4286
|
+
indentation: number;
|
|
4287
|
+
};
|
|
4288
|
+
blockquoteData?: {
|
|
4289
|
+
indentation: number;
|
|
4290
|
+
};
|
|
4291
|
+
type: NodeType;
|
|
4292
|
+
_id: string;
|
|
4293
|
+
nodes: NonNullable<NonNullable<NonNullable<ListDeletedDraftPostsResponseNonNullableFields>['draftPosts'][0]>['richContent']>['nodes'][];
|
|
4294
|
+
}[];
|
|
4295
|
+
metadata?: {
|
|
4296
|
+
version: number;
|
|
4297
|
+
};
|
|
4298
|
+
documentStyle?: {
|
|
4299
|
+
headerOne?: {
|
|
4300
|
+
decorations: {
|
|
4301
|
+
anchorData?: {
|
|
4302
|
+
anchor: string;
|
|
4303
|
+
};
|
|
4304
|
+
linkData?: {
|
|
4305
|
+
link?: {
|
|
4306
|
+
url: string;
|
|
4307
|
+
anchor: string;
|
|
4308
|
+
target: Target;
|
|
4309
|
+
};
|
|
4310
|
+
};
|
|
4311
|
+
mentionData?: {
|
|
4312
|
+
name: string;
|
|
4313
|
+
slug: string;
|
|
4314
|
+
};
|
|
4315
|
+
fontSizeData?: {
|
|
4316
|
+
unit: FontType;
|
|
4317
|
+
};
|
|
4318
|
+
type: DecorationType;
|
|
4319
|
+
}[];
|
|
4320
|
+
};
|
|
4321
|
+
headerTwo?: {
|
|
4322
|
+
decorations: {
|
|
4323
|
+
anchorData?: {
|
|
4324
|
+
anchor: string;
|
|
4325
|
+
};
|
|
4326
|
+
linkData?: {
|
|
4327
|
+
link?: {
|
|
4328
|
+
url: string;
|
|
4329
|
+
anchor: string;
|
|
4330
|
+
target: Target;
|
|
4331
|
+
};
|
|
4332
|
+
};
|
|
4333
|
+
mentionData?: {
|
|
4334
|
+
name: string;
|
|
4335
|
+
slug: string;
|
|
4336
|
+
};
|
|
4337
|
+
fontSizeData?: {
|
|
4338
|
+
unit: FontType;
|
|
4339
|
+
};
|
|
4340
|
+
type: DecorationType;
|
|
4341
|
+
}[];
|
|
4342
|
+
};
|
|
4343
|
+
headerThree?: {
|
|
4344
|
+
decorations: {
|
|
4345
|
+
anchorData?: {
|
|
4346
|
+
anchor: string;
|
|
4347
|
+
};
|
|
4348
|
+
linkData?: {
|
|
4349
|
+
link?: {
|
|
4350
|
+
url: string;
|
|
4351
|
+
anchor: string;
|
|
4352
|
+
target: Target;
|
|
4353
|
+
};
|
|
4354
|
+
};
|
|
4355
|
+
mentionData?: {
|
|
4356
|
+
name: string;
|
|
4357
|
+
slug: string;
|
|
4358
|
+
};
|
|
4359
|
+
fontSizeData?: {
|
|
4360
|
+
unit: FontType;
|
|
4361
|
+
};
|
|
4362
|
+
type: DecorationType;
|
|
4363
|
+
}[];
|
|
4364
|
+
};
|
|
4365
|
+
headerFour?: {
|
|
4366
|
+
decorations: {
|
|
4367
|
+
anchorData?: {
|
|
4368
|
+
anchor: string;
|
|
4369
|
+
};
|
|
4370
|
+
linkData?: {
|
|
4371
|
+
link?: {
|
|
4372
|
+
url: string;
|
|
4373
|
+
anchor: string;
|
|
4374
|
+
target: Target;
|
|
4375
|
+
};
|
|
4376
|
+
};
|
|
4377
|
+
mentionData?: {
|
|
4378
|
+
name: string;
|
|
4379
|
+
slug: string;
|
|
4380
|
+
};
|
|
4381
|
+
fontSizeData?: {
|
|
4382
|
+
unit: FontType;
|
|
4383
|
+
};
|
|
4384
|
+
type: DecorationType;
|
|
4385
|
+
}[];
|
|
4386
|
+
};
|
|
4387
|
+
headerFive?: {
|
|
4388
|
+
decorations: {
|
|
4389
|
+
anchorData?: {
|
|
4390
|
+
anchor: string;
|
|
4391
|
+
};
|
|
4392
|
+
linkData?: {
|
|
4393
|
+
link?: {
|
|
4394
|
+
url: string;
|
|
4395
|
+
anchor: string;
|
|
4396
|
+
target: Target;
|
|
4397
|
+
};
|
|
4398
|
+
};
|
|
4399
|
+
mentionData?: {
|
|
4400
|
+
name: string;
|
|
4401
|
+
slug: string;
|
|
4402
|
+
};
|
|
4403
|
+
fontSizeData?: {
|
|
4404
|
+
unit: FontType;
|
|
4405
|
+
};
|
|
4406
|
+
type: DecorationType;
|
|
4407
|
+
}[];
|
|
4408
|
+
};
|
|
4409
|
+
headerSix?: {
|
|
4410
|
+
decorations: {
|
|
4411
|
+
anchorData?: {
|
|
4412
|
+
anchor: string;
|
|
4413
|
+
};
|
|
4414
|
+
linkData?: {
|
|
4415
|
+
link?: {
|
|
4416
|
+
url: string;
|
|
4417
|
+
anchor: string;
|
|
4418
|
+
target: Target;
|
|
4419
|
+
};
|
|
4420
|
+
};
|
|
4421
|
+
mentionData?: {
|
|
4422
|
+
name: string;
|
|
4423
|
+
slug: string;
|
|
4424
|
+
};
|
|
4425
|
+
fontSizeData?: {
|
|
4426
|
+
unit: FontType;
|
|
4427
|
+
};
|
|
4428
|
+
type: DecorationType;
|
|
4429
|
+
}[];
|
|
4430
|
+
};
|
|
4431
|
+
paragraph?: {
|
|
4432
|
+
decorations: {
|
|
4433
|
+
anchorData?: {
|
|
4434
|
+
anchor: string;
|
|
4435
|
+
};
|
|
4436
|
+
linkData?: {
|
|
4437
|
+
link?: {
|
|
4438
|
+
url: string;
|
|
4439
|
+
anchor: string;
|
|
4440
|
+
target: Target;
|
|
4441
|
+
};
|
|
4442
|
+
};
|
|
4443
|
+
mentionData?: {
|
|
4444
|
+
name: string;
|
|
4445
|
+
slug: string;
|
|
4446
|
+
};
|
|
4447
|
+
fontSizeData?: {
|
|
4448
|
+
unit: FontType;
|
|
4449
|
+
};
|
|
4450
|
+
type: DecorationType;
|
|
4451
|
+
}[];
|
|
4452
|
+
};
|
|
4453
|
+
blockquote?: {
|
|
4454
|
+
decorations: {
|
|
4455
|
+
anchorData?: {
|
|
4456
|
+
anchor: string;
|
|
4457
|
+
};
|
|
4458
|
+
linkData?: {
|
|
4459
|
+
link?: {
|
|
4460
|
+
url: string;
|
|
4461
|
+
anchor: string;
|
|
4462
|
+
target: Target;
|
|
4463
|
+
};
|
|
4464
|
+
};
|
|
4465
|
+
mentionData?: {
|
|
4466
|
+
name: string;
|
|
4467
|
+
slug: string;
|
|
4468
|
+
};
|
|
4469
|
+
fontSizeData?: {
|
|
4470
|
+
unit: FontType;
|
|
4471
|
+
};
|
|
4472
|
+
type: DecorationType;
|
|
4473
|
+
}[];
|
|
4474
|
+
};
|
|
4475
|
+
codeBlock?: {
|
|
4476
|
+
decorations: {
|
|
4477
|
+
anchorData?: {
|
|
4478
|
+
anchor: string;
|
|
4479
|
+
};
|
|
4480
|
+
linkData?: {
|
|
4481
|
+
link?: {
|
|
4482
|
+
url: string;
|
|
4483
|
+
anchor: string;
|
|
4484
|
+
target: Target;
|
|
4485
|
+
};
|
|
4486
|
+
};
|
|
4487
|
+
mentionData?: {
|
|
4488
|
+
name: string;
|
|
4489
|
+
slug: string;
|
|
4490
|
+
};
|
|
4491
|
+
fontSizeData?: {
|
|
4492
|
+
unit: FontType;
|
|
4493
|
+
};
|
|
4494
|
+
type: DecorationType;
|
|
4495
|
+
}[];
|
|
4496
|
+
};
|
|
4497
|
+
};
|
|
4498
|
+
};
|
|
4499
|
+
status: Status;
|
|
4500
|
+
moderationDetails?: {
|
|
4501
|
+
submittedBy: string;
|
|
4502
|
+
status: ModerationStatusStatus;
|
|
4503
|
+
};
|
|
4504
|
+
hasUnpublishedChanges: boolean;
|
|
4505
|
+
seoData?: {
|
|
4506
|
+
tags: {
|
|
4507
|
+
type: string;
|
|
4508
|
+
children: string;
|
|
4509
|
+
custom: boolean;
|
|
4510
|
+
disabled: boolean;
|
|
4511
|
+
}[];
|
|
4512
|
+
settings?: {
|
|
4513
|
+
preventAutoRedirect: boolean;
|
|
4514
|
+
keywords: {
|
|
4515
|
+
term: string;
|
|
4516
|
+
isMain: boolean;
|
|
4517
|
+
}[];
|
|
4518
|
+
};
|
|
4519
|
+
};
|
|
4520
|
+
slugs: string[];
|
|
4521
|
+
url: string;
|
|
4522
|
+
media?: {
|
|
4523
|
+
wixMedia?: {
|
|
4524
|
+
image: string;
|
|
4525
|
+
videoV2: string;
|
|
4526
|
+
};
|
|
4527
|
+
embedMedia?: {
|
|
4528
|
+
thumbnail?: {
|
|
4529
|
+
url: string;
|
|
4530
|
+
width: number;
|
|
4531
|
+
height: number;
|
|
4532
|
+
};
|
|
4533
|
+
video?: {
|
|
4534
|
+
url: string;
|
|
4535
|
+
width: number;
|
|
4536
|
+
height: number;
|
|
4537
|
+
};
|
|
4538
|
+
};
|
|
4539
|
+
displayed: boolean;
|
|
4540
|
+
custom: boolean;
|
|
4541
|
+
};
|
|
4542
|
+
}[];
|
|
4543
|
+
metaData?: {
|
|
4544
|
+
count: number;
|
|
4545
|
+
offset: number;
|
|
4546
|
+
total: number;
|
|
4547
|
+
};
|
|
4548
|
+
}
|
|
4549
|
+
export interface GetDraftPostResponseNonNullableFields {
|
|
4550
|
+
draftPost?: {
|
|
4551
|
+
_id: string;
|
|
4552
|
+
title: string;
|
|
4553
|
+
categoryIds: string[];
|
|
4554
|
+
hashtags: string[];
|
|
4555
|
+
minutesToRead: number;
|
|
4556
|
+
heroImage: string;
|
|
4557
|
+
tagIds: string[];
|
|
4558
|
+
relatedPostIds: string[];
|
|
4559
|
+
pricingPlanIds: string[];
|
|
4560
|
+
changeOrigin: Origin;
|
|
4561
|
+
richContent?: {
|
|
4562
|
+
nodes: {
|
|
4563
|
+
buttonData?: {
|
|
4564
|
+
containerData?: {
|
|
4565
|
+
width?: {
|
|
4566
|
+
size: WidthType;
|
|
4567
|
+
};
|
|
4568
|
+
alignment: PluginContainerDataAlignment;
|
|
4569
|
+
};
|
|
4570
|
+
type: ButtonDataType;
|
|
4571
|
+
link?: {
|
|
4572
|
+
url: string;
|
|
4573
|
+
anchor: string;
|
|
4574
|
+
target: Target;
|
|
4575
|
+
};
|
|
4576
|
+
};
|
|
4577
|
+
codeBlockData?: {
|
|
4578
|
+
textStyle?: {
|
|
4579
|
+
textAlignment: TextAlignment;
|
|
4580
|
+
};
|
|
4581
|
+
};
|
|
4582
|
+
dividerData?: {
|
|
4583
|
+
containerData?: {
|
|
4584
|
+
width?: {
|
|
4585
|
+
size: WidthType;
|
|
4586
|
+
};
|
|
4587
|
+
alignment: PluginContainerDataAlignment;
|
|
4588
|
+
};
|
|
4589
|
+
lineStyle: LineStyle;
|
|
4590
|
+
width: Width;
|
|
4591
|
+
alignment: Alignment;
|
|
4592
|
+
};
|
|
4593
|
+
fileData?: {
|
|
4594
|
+
containerData?: {
|
|
4595
|
+
width?: {
|
|
4596
|
+
size: WidthType;
|
|
4597
|
+
};
|
|
4598
|
+
alignment: PluginContainerDataAlignment;
|
|
4599
|
+
};
|
|
4600
|
+
pdfSettings?: {
|
|
4601
|
+
viewMode: ViewMode;
|
|
4602
|
+
};
|
|
4603
|
+
};
|
|
4604
|
+
galleryData?: {
|
|
4605
|
+
containerData?: {
|
|
4606
|
+
width?: {
|
|
4607
|
+
size: WidthType;
|
|
4608
|
+
};
|
|
4609
|
+
alignment: PluginContainerDataAlignment;
|
|
4610
|
+
};
|
|
4611
|
+
items: {
|
|
4612
|
+
image?: {
|
|
4613
|
+
link?: {
|
|
4614
|
+
url: string;
|
|
4615
|
+
anchor: string;
|
|
4616
|
+
target: Target;
|
|
4617
|
+
};
|
|
4618
|
+
};
|
|
4619
|
+
}[];
|
|
4620
|
+
options?: {
|
|
4621
|
+
layout?: {
|
|
4622
|
+
type: LayoutType;
|
|
4623
|
+
orientation: Orientation;
|
|
4624
|
+
};
|
|
4625
|
+
item?: {
|
|
4626
|
+
crop: Crop;
|
|
4627
|
+
};
|
|
4628
|
+
thumbnails?: {
|
|
4629
|
+
placement: ThumbnailsAlignment;
|
|
4630
|
+
};
|
|
4631
|
+
};
|
|
4632
|
+
};
|
|
4633
|
+
gifData?: {
|
|
4634
|
+
containerData?: {
|
|
4635
|
+
width?: {
|
|
4636
|
+
size: WidthType;
|
|
4637
|
+
};
|
|
4638
|
+
alignment: PluginContainerDataAlignment;
|
|
4639
|
+
};
|
|
4640
|
+
height: number;
|
|
4641
|
+
width: number;
|
|
4642
|
+
};
|
|
4643
|
+
headingData?: {
|
|
4644
|
+
level: number;
|
|
4645
|
+
textStyle?: {
|
|
4646
|
+
textAlignment: TextAlignment;
|
|
4647
|
+
};
|
|
4648
|
+
};
|
|
4649
|
+
htmlData?: {
|
|
4650
|
+
url: string;
|
|
4651
|
+
html: string;
|
|
4652
|
+
containerData?: {
|
|
4653
|
+
width?: {
|
|
4654
|
+
size: WidthType;
|
|
4655
|
+
};
|
|
4656
|
+
alignment: PluginContainerDataAlignment;
|
|
4657
|
+
};
|
|
4658
|
+
source: Source;
|
|
4659
|
+
};
|
|
4660
|
+
imageData?: {
|
|
4661
|
+
containerData?: {
|
|
4662
|
+
width?: {
|
|
4663
|
+
size: WidthType;
|
|
4664
|
+
};
|
|
4665
|
+
alignment: PluginContainerDataAlignment;
|
|
4666
|
+
};
|
|
4667
|
+
link?: {
|
|
4668
|
+
url: string;
|
|
4669
|
+
anchor: string;
|
|
4670
|
+
target: Target;
|
|
4671
|
+
};
|
|
4672
|
+
};
|
|
4673
|
+
linkPreviewData?: {
|
|
4674
|
+
containerData?: {
|
|
4675
|
+
width?: {
|
|
4676
|
+
size: WidthType;
|
|
4677
|
+
};
|
|
4678
|
+
alignment: PluginContainerDataAlignment;
|
|
4679
|
+
};
|
|
4680
|
+
link?: {
|
|
4681
|
+
url: string;
|
|
4682
|
+
anchor: string;
|
|
4683
|
+
target: Target;
|
|
4684
|
+
};
|
|
4685
|
+
};
|
|
4686
|
+
mapData?: {
|
|
4687
|
+
containerData?: {
|
|
4688
|
+
width?: {
|
|
4689
|
+
size: WidthType;
|
|
4690
|
+
};
|
|
4691
|
+
alignment: PluginContainerDataAlignment;
|
|
4692
|
+
};
|
|
4693
|
+
mapSettings?: {
|
|
4694
|
+
mapType: MapType;
|
|
4695
|
+
};
|
|
4696
|
+
};
|
|
4697
|
+
paragraphData?: {
|
|
4698
|
+
textStyle?: {
|
|
4699
|
+
textAlignment: TextAlignment;
|
|
4700
|
+
};
|
|
4701
|
+
};
|
|
4702
|
+
pollData?: {
|
|
4703
|
+
containerData?: {
|
|
4704
|
+
width?: {
|
|
4705
|
+
size: WidthType;
|
|
4706
|
+
};
|
|
4707
|
+
alignment: PluginContainerDataAlignment;
|
|
4708
|
+
};
|
|
4709
|
+
poll?: {
|
|
4710
|
+
options: Option[];
|
|
4711
|
+
settings?: {
|
|
4712
|
+
permissions?: {
|
|
4713
|
+
view: ViewRole;
|
|
4714
|
+
vote: VoteRole;
|
|
4715
|
+
};
|
|
4716
|
+
};
|
|
4717
|
+
};
|
|
4718
|
+
layout?: {
|
|
4719
|
+
poll?: {
|
|
4720
|
+
type: PollLayoutType;
|
|
4721
|
+
direction: PollLayoutDirection;
|
|
4722
|
+
};
|
|
4723
|
+
};
|
|
4724
|
+
design?: {
|
|
4725
|
+
poll?: {
|
|
4726
|
+
background?: {
|
|
4727
|
+
type: BackgroundType;
|
|
4728
|
+
};
|
|
4729
|
+
};
|
|
4730
|
+
};
|
|
4731
|
+
};
|
|
4732
|
+
textData?: {
|
|
4733
|
+
text: string;
|
|
4734
|
+
decorations: {
|
|
4735
|
+
anchorData?: {
|
|
4736
|
+
anchor: string;
|
|
4737
|
+
};
|
|
4738
|
+
linkData?: {
|
|
4739
|
+
link?: {
|
|
4740
|
+
url: string;
|
|
4741
|
+
anchor: string;
|
|
4742
|
+
target: Target;
|
|
4743
|
+
};
|
|
4744
|
+
};
|
|
4745
|
+
mentionData?: {
|
|
4746
|
+
name: string;
|
|
4747
|
+
slug: string;
|
|
4748
|
+
};
|
|
4749
|
+
fontSizeData?: {
|
|
4750
|
+
unit: FontType;
|
|
4751
|
+
};
|
|
4752
|
+
type: DecorationType;
|
|
4753
|
+
}[];
|
|
4754
|
+
};
|
|
4755
|
+
appEmbedData?: {
|
|
4756
|
+
type: AppType;
|
|
4757
|
+
};
|
|
4758
|
+
videoData?: {
|
|
4759
|
+
containerData?: {
|
|
4760
|
+
width?: {
|
|
4761
|
+
size: WidthType;
|
|
4762
|
+
};
|
|
4763
|
+
alignment: PluginContainerDataAlignment;
|
|
4764
|
+
};
|
|
4765
|
+
};
|
|
4766
|
+
embedData?: {
|
|
4767
|
+
containerData?: {
|
|
4768
|
+
width?: {
|
|
4769
|
+
size: WidthType;
|
|
4770
|
+
};
|
|
4771
|
+
alignment: PluginContainerDataAlignment;
|
|
4772
|
+
};
|
|
4773
|
+
};
|
|
4774
|
+
collapsibleListData?: {
|
|
4775
|
+
containerData?: {
|
|
4776
|
+
width?: {
|
|
4777
|
+
size: WidthType;
|
|
4778
|
+
};
|
|
4779
|
+
alignment: PluginContainerDataAlignment;
|
|
4780
|
+
};
|
|
4781
|
+
initialExpandedItems: InitialExpandedItems;
|
|
4782
|
+
direction: Direction;
|
|
4783
|
+
};
|
|
4784
|
+
tableData?: {
|
|
4785
|
+
containerData?: {
|
|
4786
|
+
width?: {
|
|
4787
|
+
size: WidthType;
|
|
4788
|
+
};
|
|
4789
|
+
alignment: PluginContainerDataAlignment;
|
|
4790
|
+
};
|
|
4791
|
+
dimensions?: {
|
|
4792
|
+
colsWidthRatio: number[];
|
|
4793
|
+
rowsHeight: number[];
|
|
4794
|
+
colsMinWidth: number[];
|
|
4795
|
+
};
|
|
4796
|
+
};
|
|
4797
|
+
tableCellData?: {
|
|
4798
|
+
cellStyle?: {
|
|
4799
|
+
verticalAlignment: VerticalAlignment;
|
|
4800
|
+
};
|
|
4801
|
+
};
|
|
4802
|
+
audioData?: {
|
|
4803
|
+
containerData?: {
|
|
4804
|
+
width?: {
|
|
4805
|
+
size: WidthType;
|
|
4806
|
+
};
|
|
4807
|
+
alignment: PluginContainerDataAlignment;
|
|
4808
|
+
};
|
|
4809
|
+
};
|
|
4810
|
+
orderedListData?: {
|
|
4811
|
+
indentation: number;
|
|
4812
|
+
};
|
|
4813
|
+
bulletedListData?: {
|
|
4814
|
+
indentation: number;
|
|
4815
|
+
};
|
|
4816
|
+
blockquoteData?: {
|
|
4817
|
+
indentation: number;
|
|
4818
|
+
};
|
|
4819
|
+
type: NodeType;
|
|
4820
|
+
_id: string;
|
|
4821
|
+
nodes: NonNullable<NonNullable<NonNullable<GetDraftPostResponseNonNullableFields>['draftPost']>['richContent']>['nodes'][];
|
|
4822
|
+
}[];
|
|
4823
|
+
metadata?: {
|
|
4824
|
+
version: number;
|
|
4825
|
+
};
|
|
4826
|
+
documentStyle?: {
|
|
4827
|
+
headerOne?: {
|
|
4828
|
+
decorations: {
|
|
4829
|
+
anchorData?: {
|
|
4830
|
+
anchor: string;
|
|
4831
|
+
};
|
|
4832
|
+
linkData?: {
|
|
4833
|
+
link?: {
|
|
4834
|
+
url: string;
|
|
4835
|
+
anchor: string;
|
|
4836
|
+
target: Target;
|
|
4837
|
+
};
|
|
4838
|
+
};
|
|
4839
|
+
mentionData?: {
|
|
4840
|
+
name: string;
|
|
4841
|
+
slug: string;
|
|
4842
|
+
};
|
|
4843
|
+
fontSizeData?: {
|
|
4844
|
+
unit: FontType;
|
|
4845
|
+
};
|
|
4846
|
+
type: DecorationType;
|
|
4847
|
+
}[];
|
|
4848
|
+
};
|
|
4849
|
+
headerTwo?: {
|
|
4850
|
+
decorations: {
|
|
4851
|
+
anchorData?: {
|
|
4852
|
+
anchor: string;
|
|
4853
|
+
};
|
|
4854
|
+
linkData?: {
|
|
4855
|
+
link?: {
|
|
4856
|
+
url: string;
|
|
4857
|
+
anchor: string;
|
|
4858
|
+
target: Target;
|
|
3793
4859
|
};
|
|
3794
4860
|
};
|
|
3795
4861
|
mentionData?: {
|
|
@@ -4001,14 +5067,9 @@ export interface ListDeletedDraftPostsResponseNonNullableFields {
|
|
|
4001
5067
|
displayed: boolean;
|
|
4002
5068
|
custom: boolean;
|
|
4003
5069
|
};
|
|
4004
|
-
}[];
|
|
4005
|
-
metaData?: {
|
|
4006
|
-
count: number;
|
|
4007
|
-
offset: number;
|
|
4008
|
-
total: number;
|
|
4009
5070
|
};
|
|
4010
5071
|
}
|
|
4011
|
-
export interface
|
|
5072
|
+
export interface UpdateDraftPostResponseNonNullableFields {
|
|
4012
5073
|
draftPost?: {
|
|
4013
5074
|
_id: string;
|
|
4014
5075
|
title: string;
|
|
@@ -4280,7 +5341,7 @@ export interface GetDraftPostResponseNonNullableFields {
|
|
|
4280
5341
|
};
|
|
4281
5342
|
type: NodeType;
|
|
4282
5343
|
_id: string;
|
|
4283
|
-
nodes: NonNullable<NonNullable<NonNullable<
|
|
5344
|
+
nodes: NonNullable<NonNullable<NonNullable<UpdateDraftPostResponseNonNullableFields>['draftPost']>['richContent']>['nodes'][];
|
|
4284
5345
|
}[];
|
|
4285
5346
|
metadata?: {
|
|
4286
5347
|
version: number;
|
|
@@ -4531,527 +5592,542 @@ export interface GetDraftPostResponseNonNullableFields {
|
|
|
4531
5592
|
};
|
|
4532
5593
|
};
|
|
4533
5594
|
}
|
|
4534
|
-
export interface
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
5595
|
+
export interface BulkDeleteDraftPostsResponseNonNullableFields {
|
|
5596
|
+
results: {
|
|
5597
|
+
itemMetadata?: {
|
|
5598
|
+
originalIndex: number;
|
|
5599
|
+
success: boolean;
|
|
5600
|
+
error?: {
|
|
5601
|
+
code: string;
|
|
5602
|
+
description: string;
|
|
5603
|
+
};
|
|
5604
|
+
};
|
|
5605
|
+
item?: {
|
|
5606
|
+
_id: string;
|
|
5607
|
+
title: string;
|
|
5608
|
+
categoryIds: string[];
|
|
5609
|
+
hashtags: string[];
|
|
5610
|
+
minutesToRead: number;
|
|
5611
|
+
heroImage: string;
|
|
5612
|
+
tagIds: string[];
|
|
5613
|
+
relatedPostIds: string[];
|
|
5614
|
+
pricingPlanIds: string[];
|
|
5615
|
+
changeOrigin: Origin;
|
|
5616
|
+
richContent?: {
|
|
5617
|
+
nodes: {
|
|
5618
|
+
buttonData?: {
|
|
5619
|
+
containerData?: {
|
|
5620
|
+
width?: {
|
|
5621
|
+
size: WidthType;
|
|
5622
|
+
};
|
|
5623
|
+
alignment: PluginContainerDataAlignment;
|
|
4552
5624
|
};
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
anchor: string;
|
|
4559
|
-
target: Target;
|
|
4560
|
-
};
|
|
4561
|
-
};
|
|
4562
|
-
codeBlockData?: {
|
|
4563
|
-
textStyle?: {
|
|
4564
|
-
textAlignment: TextAlignment;
|
|
4565
|
-
};
|
|
4566
|
-
};
|
|
4567
|
-
dividerData?: {
|
|
4568
|
-
containerData?: {
|
|
4569
|
-
width?: {
|
|
4570
|
-
size: WidthType;
|
|
5625
|
+
type: ButtonDataType;
|
|
5626
|
+
link?: {
|
|
5627
|
+
url: string;
|
|
5628
|
+
anchor: string;
|
|
5629
|
+
target: Target;
|
|
4571
5630
|
};
|
|
4572
|
-
alignment: PluginContainerDataAlignment;
|
|
4573
5631
|
};
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
};
|
|
4578
|
-
fileData?: {
|
|
4579
|
-
containerData?: {
|
|
4580
|
-
width?: {
|
|
4581
|
-
size: WidthType;
|
|
5632
|
+
codeBlockData?: {
|
|
5633
|
+
textStyle?: {
|
|
5634
|
+
textAlignment: TextAlignment;
|
|
4582
5635
|
};
|
|
4583
|
-
alignment: PluginContainerDataAlignment;
|
|
4584
|
-
};
|
|
4585
|
-
pdfSettings?: {
|
|
4586
|
-
viewMode: ViewMode;
|
|
4587
5636
|
};
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
5637
|
+
dividerData?: {
|
|
5638
|
+
containerData?: {
|
|
5639
|
+
width?: {
|
|
5640
|
+
size: WidthType;
|
|
5641
|
+
};
|
|
5642
|
+
alignment: PluginContainerDataAlignment;
|
|
4593
5643
|
};
|
|
4594
|
-
|
|
5644
|
+
lineStyle: LineStyle;
|
|
5645
|
+
width: Width;
|
|
5646
|
+
alignment: Alignment;
|
|
4595
5647
|
};
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
anchor: string;
|
|
4601
|
-
target: Target;
|
|
5648
|
+
fileData?: {
|
|
5649
|
+
containerData?: {
|
|
5650
|
+
width?: {
|
|
5651
|
+
size: WidthType;
|
|
4602
5652
|
};
|
|
5653
|
+
alignment: PluginContainerDataAlignment;
|
|
4603
5654
|
};
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
layout?: {
|
|
4607
|
-
type: LayoutType;
|
|
4608
|
-
orientation: Orientation;
|
|
4609
|
-
};
|
|
4610
|
-
item?: {
|
|
4611
|
-
crop: Crop;
|
|
4612
|
-
};
|
|
4613
|
-
thumbnails?: {
|
|
4614
|
-
placement: ThumbnailsAlignment;
|
|
4615
|
-
};
|
|
4616
|
-
};
|
|
4617
|
-
};
|
|
4618
|
-
gifData?: {
|
|
4619
|
-
containerData?: {
|
|
4620
|
-
width?: {
|
|
4621
|
-
size: WidthType;
|
|
5655
|
+
pdfSettings?: {
|
|
5656
|
+
viewMode: ViewMode;
|
|
4622
5657
|
};
|
|
4623
|
-
alignment: PluginContainerDataAlignment;
|
|
4624
5658
|
};
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
textAlignment: TextAlignment;
|
|
4632
|
-
};
|
|
4633
|
-
};
|
|
4634
|
-
htmlData?: {
|
|
4635
|
-
url: string;
|
|
4636
|
-
html: string;
|
|
4637
|
-
containerData?: {
|
|
4638
|
-
width?: {
|
|
4639
|
-
size: WidthType;
|
|
5659
|
+
galleryData?: {
|
|
5660
|
+
containerData?: {
|
|
5661
|
+
width?: {
|
|
5662
|
+
size: WidthType;
|
|
5663
|
+
};
|
|
5664
|
+
alignment: PluginContainerDataAlignment;
|
|
4640
5665
|
};
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
5666
|
+
items: {
|
|
5667
|
+
image?: {
|
|
5668
|
+
link?: {
|
|
5669
|
+
url: string;
|
|
5670
|
+
anchor: string;
|
|
5671
|
+
target: Target;
|
|
5672
|
+
};
|
|
5673
|
+
};
|
|
5674
|
+
}[];
|
|
5675
|
+
options?: {
|
|
5676
|
+
layout?: {
|
|
5677
|
+
type: LayoutType;
|
|
5678
|
+
orientation: Orientation;
|
|
5679
|
+
};
|
|
5680
|
+
item?: {
|
|
5681
|
+
crop: Crop;
|
|
5682
|
+
};
|
|
5683
|
+
thumbnails?: {
|
|
5684
|
+
placement: ThumbnailsAlignment;
|
|
5685
|
+
};
|
|
4649
5686
|
};
|
|
4650
|
-
alignment: PluginContainerDataAlignment;
|
|
4651
|
-
};
|
|
4652
|
-
link?: {
|
|
4653
|
-
url: string;
|
|
4654
|
-
anchor: string;
|
|
4655
|
-
target: Target;
|
|
4656
5687
|
};
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
5688
|
+
gifData?: {
|
|
5689
|
+
containerData?: {
|
|
5690
|
+
width?: {
|
|
5691
|
+
size: WidthType;
|
|
5692
|
+
};
|
|
5693
|
+
alignment: PluginContainerDataAlignment;
|
|
4662
5694
|
};
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
link?: {
|
|
4666
|
-
url: string;
|
|
4667
|
-
anchor: string;
|
|
4668
|
-
target: Target;
|
|
5695
|
+
height: number;
|
|
5696
|
+
width: number;
|
|
4669
5697
|
};
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
size: WidthType;
|
|
5698
|
+
headingData?: {
|
|
5699
|
+
level: number;
|
|
5700
|
+
textStyle?: {
|
|
5701
|
+
textAlignment: TextAlignment;
|
|
4675
5702
|
};
|
|
4676
|
-
alignment: PluginContainerDataAlignment;
|
|
4677
|
-
};
|
|
4678
|
-
mapSettings?: {
|
|
4679
|
-
mapType: MapType;
|
|
4680
|
-
};
|
|
4681
|
-
};
|
|
4682
|
-
paragraphData?: {
|
|
4683
|
-
textStyle?: {
|
|
4684
|
-
textAlignment: TextAlignment;
|
|
4685
5703
|
};
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
5704
|
+
htmlData?: {
|
|
5705
|
+
url: string;
|
|
5706
|
+
html: string;
|
|
5707
|
+
containerData?: {
|
|
5708
|
+
width?: {
|
|
5709
|
+
size: WidthType;
|
|
5710
|
+
};
|
|
5711
|
+
alignment: PluginContainerDataAlignment;
|
|
4691
5712
|
};
|
|
4692
|
-
|
|
5713
|
+
source: Source;
|
|
4693
5714
|
};
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
view: ViewRole;
|
|
4699
|
-
vote: VoteRole;
|
|
5715
|
+
imageData?: {
|
|
5716
|
+
containerData?: {
|
|
5717
|
+
width?: {
|
|
5718
|
+
size: WidthType;
|
|
4700
5719
|
};
|
|
5720
|
+
alignment: PluginContainerDataAlignment;
|
|
4701
5721
|
};
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
direction: PollLayoutDirection;
|
|
5722
|
+
link?: {
|
|
5723
|
+
url: string;
|
|
5724
|
+
anchor: string;
|
|
5725
|
+
target: Target;
|
|
4707
5726
|
};
|
|
4708
5727
|
};
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
5728
|
+
linkPreviewData?: {
|
|
5729
|
+
containerData?: {
|
|
5730
|
+
width?: {
|
|
5731
|
+
size: WidthType;
|
|
4713
5732
|
};
|
|
5733
|
+
alignment: PluginContainerDataAlignment;
|
|
4714
5734
|
};
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
textData?: {
|
|
4718
|
-
text: string;
|
|
4719
|
-
decorations: {
|
|
4720
|
-
anchorData?: {
|
|
5735
|
+
link?: {
|
|
5736
|
+
url: string;
|
|
4721
5737
|
anchor: string;
|
|
5738
|
+
target: Target;
|
|
4722
5739
|
};
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
5740
|
+
};
|
|
5741
|
+
mapData?: {
|
|
5742
|
+
containerData?: {
|
|
5743
|
+
width?: {
|
|
5744
|
+
size: WidthType;
|
|
4728
5745
|
};
|
|
5746
|
+
alignment: PluginContainerDataAlignment;
|
|
4729
5747
|
};
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
slug: string;
|
|
4733
|
-
};
|
|
4734
|
-
fontSizeData?: {
|
|
4735
|
-
unit: FontType;
|
|
4736
|
-
};
|
|
4737
|
-
type: DecorationType;
|
|
4738
|
-
}[];
|
|
4739
|
-
};
|
|
4740
|
-
appEmbedData?: {
|
|
4741
|
-
type: AppType;
|
|
4742
|
-
};
|
|
4743
|
-
videoData?: {
|
|
4744
|
-
containerData?: {
|
|
4745
|
-
width?: {
|
|
4746
|
-
size: WidthType;
|
|
5748
|
+
mapSettings?: {
|
|
5749
|
+
mapType: MapType;
|
|
4747
5750
|
};
|
|
4748
|
-
alignment: PluginContainerDataAlignment;
|
|
4749
5751
|
};
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
width?: {
|
|
4754
|
-
size: WidthType;
|
|
5752
|
+
paragraphData?: {
|
|
5753
|
+
textStyle?: {
|
|
5754
|
+
textAlignment: TextAlignment;
|
|
4755
5755
|
};
|
|
4756
|
-
alignment: PluginContainerDataAlignment;
|
|
4757
5756
|
};
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
5757
|
+
pollData?: {
|
|
5758
|
+
containerData?: {
|
|
5759
|
+
width?: {
|
|
5760
|
+
size: WidthType;
|
|
5761
|
+
};
|
|
5762
|
+
alignment: PluginContainerDataAlignment;
|
|
4763
5763
|
};
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
size: WidthType;
|
|
5764
|
+
poll?: {
|
|
5765
|
+
options: Option[];
|
|
5766
|
+
settings?: {
|
|
5767
|
+
permissions?: {
|
|
5768
|
+
view: ViewRole;
|
|
5769
|
+
vote: VoteRole;
|
|
5770
|
+
};
|
|
5771
|
+
};
|
|
4773
5772
|
};
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
colsMinWidth: number[];
|
|
4780
|
-
};
|
|
4781
|
-
};
|
|
4782
|
-
tableCellData?: {
|
|
4783
|
-
cellStyle?: {
|
|
4784
|
-
verticalAlignment: VerticalAlignment;
|
|
4785
|
-
};
|
|
4786
|
-
};
|
|
4787
|
-
audioData?: {
|
|
4788
|
-
containerData?: {
|
|
4789
|
-
width?: {
|
|
4790
|
-
size: WidthType;
|
|
5773
|
+
layout?: {
|
|
5774
|
+
poll?: {
|
|
5775
|
+
type: PollLayoutType;
|
|
5776
|
+
direction: PollLayoutDirection;
|
|
5777
|
+
};
|
|
4791
5778
|
};
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
bulletedListData?: {
|
|
4799
|
-
indentation: number;
|
|
4800
|
-
};
|
|
4801
|
-
blockquoteData?: {
|
|
4802
|
-
indentation: number;
|
|
4803
|
-
};
|
|
4804
|
-
type: NodeType;
|
|
4805
|
-
_id: string;
|
|
4806
|
-
nodes: NonNullable<NonNullable<NonNullable<UpdateDraftPostResponseNonNullableFields>['draftPost']>['richContent']>['nodes'][];
|
|
4807
|
-
}[];
|
|
4808
|
-
metadata?: {
|
|
4809
|
-
version: number;
|
|
4810
|
-
};
|
|
4811
|
-
documentStyle?: {
|
|
4812
|
-
headerOne?: {
|
|
4813
|
-
decorations: {
|
|
4814
|
-
anchorData?: {
|
|
4815
|
-
anchor: string;
|
|
5779
|
+
design?: {
|
|
5780
|
+
poll?: {
|
|
5781
|
+
background?: {
|
|
5782
|
+
type: BackgroundType;
|
|
5783
|
+
};
|
|
5784
|
+
};
|
|
4816
5785
|
};
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
5786
|
+
};
|
|
5787
|
+
textData?: {
|
|
5788
|
+
text: string;
|
|
5789
|
+
decorations: {
|
|
5790
|
+
anchorData?: {
|
|
4820
5791
|
anchor: string;
|
|
4821
|
-
target: Target;
|
|
4822
5792
|
};
|
|
5793
|
+
linkData?: {
|
|
5794
|
+
link?: {
|
|
5795
|
+
url: string;
|
|
5796
|
+
anchor: string;
|
|
5797
|
+
target: Target;
|
|
5798
|
+
};
|
|
5799
|
+
};
|
|
5800
|
+
mentionData?: {
|
|
5801
|
+
name: string;
|
|
5802
|
+
slug: string;
|
|
5803
|
+
};
|
|
5804
|
+
fontSizeData?: {
|
|
5805
|
+
unit: FontType;
|
|
5806
|
+
};
|
|
5807
|
+
type: DecorationType;
|
|
5808
|
+
}[];
|
|
5809
|
+
};
|
|
5810
|
+
appEmbedData?: {
|
|
5811
|
+
type: AppType;
|
|
5812
|
+
};
|
|
5813
|
+
videoData?: {
|
|
5814
|
+
containerData?: {
|
|
5815
|
+
width?: {
|
|
5816
|
+
size: WidthType;
|
|
5817
|
+
};
|
|
5818
|
+
alignment: PluginContainerDataAlignment;
|
|
4823
5819
|
};
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
type: DecorationType;
|
|
4832
|
-
}[];
|
|
4833
|
-
};
|
|
4834
|
-
headerTwo?: {
|
|
4835
|
-
decorations: {
|
|
4836
|
-
anchorData?: {
|
|
4837
|
-
anchor: string;
|
|
5820
|
+
};
|
|
5821
|
+
embedData?: {
|
|
5822
|
+
containerData?: {
|
|
5823
|
+
width?: {
|
|
5824
|
+
size: WidthType;
|
|
5825
|
+
};
|
|
5826
|
+
alignment: PluginContainerDataAlignment;
|
|
4838
5827
|
};
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
5828
|
+
};
|
|
5829
|
+
collapsibleListData?: {
|
|
5830
|
+
containerData?: {
|
|
5831
|
+
width?: {
|
|
5832
|
+
size: WidthType;
|
|
4844
5833
|
};
|
|
5834
|
+
alignment: PluginContainerDataAlignment;
|
|
4845
5835
|
};
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
5836
|
+
initialExpandedItems: InitialExpandedItems;
|
|
5837
|
+
direction: Direction;
|
|
5838
|
+
};
|
|
5839
|
+
tableData?: {
|
|
5840
|
+
containerData?: {
|
|
5841
|
+
width?: {
|
|
5842
|
+
size: WidthType;
|
|
5843
|
+
};
|
|
5844
|
+
alignment: PluginContainerDataAlignment;
|
|
4849
5845
|
};
|
|
4850
|
-
|
|
4851
|
-
|
|
5846
|
+
dimensions?: {
|
|
5847
|
+
colsWidthRatio: number[];
|
|
5848
|
+
rowsHeight: number[];
|
|
5849
|
+
colsMinWidth: number[];
|
|
4852
5850
|
};
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
decorations: {
|
|
4858
|
-
anchorData?: {
|
|
4859
|
-
anchor: string;
|
|
5851
|
+
};
|
|
5852
|
+
tableCellData?: {
|
|
5853
|
+
cellStyle?: {
|
|
5854
|
+
verticalAlignment: VerticalAlignment;
|
|
4860
5855
|
};
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
5856
|
+
};
|
|
5857
|
+
audioData?: {
|
|
5858
|
+
containerData?: {
|
|
5859
|
+
width?: {
|
|
5860
|
+
size: WidthType;
|
|
4866
5861
|
};
|
|
5862
|
+
alignment: PluginContainerDataAlignment;
|
|
4867
5863
|
};
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
5864
|
+
};
|
|
5865
|
+
orderedListData?: {
|
|
5866
|
+
indentation: number;
|
|
5867
|
+
};
|
|
5868
|
+
bulletedListData?: {
|
|
5869
|
+
indentation: number;
|
|
5870
|
+
};
|
|
5871
|
+
blockquoteData?: {
|
|
5872
|
+
indentation: number;
|
|
5873
|
+
};
|
|
5874
|
+
type: NodeType;
|
|
5875
|
+
_id: string;
|
|
5876
|
+
nodes: NonNullable<NonNullable<NonNullable<NonNullable<BulkDeleteDraftPostsResponseNonNullableFields>['results'][0]>['item']>['richContent']>['nodes'][];
|
|
5877
|
+
}[];
|
|
5878
|
+
metadata?: {
|
|
5879
|
+
version: number;
|
|
4877
5880
|
};
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
};
|
|
4883
|
-
linkData?: {
|
|
4884
|
-
link?: {
|
|
4885
|
-
url: string;
|
|
5881
|
+
documentStyle?: {
|
|
5882
|
+
headerOne?: {
|
|
5883
|
+
decorations: {
|
|
5884
|
+
anchorData?: {
|
|
4886
5885
|
anchor: string;
|
|
4887
|
-
target: Target;
|
|
4888
5886
|
};
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
};
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
5887
|
+
linkData?: {
|
|
5888
|
+
link?: {
|
|
5889
|
+
url: string;
|
|
5890
|
+
anchor: string;
|
|
5891
|
+
target: Target;
|
|
5892
|
+
};
|
|
5893
|
+
};
|
|
5894
|
+
mentionData?: {
|
|
5895
|
+
name: string;
|
|
5896
|
+
slug: string;
|
|
5897
|
+
};
|
|
5898
|
+
fontSizeData?: {
|
|
5899
|
+
unit: FontType;
|
|
5900
|
+
};
|
|
5901
|
+
type: DecorationType;
|
|
5902
|
+
}[];
|
|
5903
|
+
};
|
|
5904
|
+
headerTwo?: {
|
|
5905
|
+
decorations: {
|
|
5906
|
+
anchorData?: {
|
|
4908
5907
|
anchor: string;
|
|
4909
|
-
target: Target;
|
|
4910
5908
|
};
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
};
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
5909
|
+
linkData?: {
|
|
5910
|
+
link?: {
|
|
5911
|
+
url: string;
|
|
5912
|
+
anchor: string;
|
|
5913
|
+
target: Target;
|
|
5914
|
+
};
|
|
5915
|
+
};
|
|
5916
|
+
mentionData?: {
|
|
5917
|
+
name: string;
|
|
5918
|
+
slug: string;
|
|
5919
|
+
};
|
|
5920
|
+
fontSizeData?: {
|
|
5921
|
+
unit: FontType;
|
|
5922
|
+
};
|
|
5923
|
+
type: DecorationType;
|
|
5924
|
+
}[];
|
|
5925
|
+
};
|
|
5926
|
+
headerThree?: {
|
|
5927
|
+
decorations: {
|
|
5928
|
+
anchorData?: {
|
|
4930
5929
|
anchor: string;
|
|
4931
|
-
target: Target;
|
|
4932
5930
|
};
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
};
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
5931
|
+
linkData?: {
|
|
5932
|
+
link?: {
|
|
5933
|
+
url: string;
|
|
5934
|
+
anchor: string;
|
|
5935
|
+
target: Target;
|
|
5936
|
+
};
|
|
5937
|
+
};
|
|
5938
|
+
mentionData?: {
|
|
5939
|
+
name: string;
|
|
5940
|
+
slug: string;
|
|
5941
|
+
};
|
|
5942
|
+
fontSizeData?: {
|
|
5943
|
+
unit: FontType;
|
|
5944
|
+
};
|
|
5945
|
+
type: DecorationType;
|
|
5946
|
+
}[];
|
|
5947
|
+
};
|
|
5948
|
+
headerFour?: {
|
|
5949
|
+
decorations: {
|
|
5950
|
+
anchorData?: {
|
|
5951
|
+
anchor: string;
|
|
5952
|
+
};
|
|
5953
|
+
linkData?: {
|
|
5954
|
+
link?: {
|
|
5955
|
+
url: string;
|
|
5956
|
+
anchor: string;
|
|
5957
|
+
target: Target;
|
|
5958
|
+
};
|
|
5959
|
+
};
|
|
5960
|
+
mentionData?: {
|
|
5961
|
+
name: string;
|
|
5962
|
+
slug: string;
|
|
5963
|
+
};
|
|
5964
|
+
fontSizeData?: {
|
|
5965
|
+
unit: FontType;
|
|
5966
|
+
};
|
|
5967
|
+
type: DecorationType;
|
|
5968
|
+
}[];
|
|
5969
|
+
};
|
|
5970
|
+
headerFive?: {
|
|
5971
|
+
decorations: {
|
|
5972
|
+
anchorData?: {
|
|
5973
|
+
anchor: string;
|
|
5974
|
+
};
|
|
5975
|
+
linkData?: {
|
|
5976
|
+
link?: {
|
|
5977
|
+
url: string;
|
|
5978
|
+
anchor: string;
|
|
5979
|
+
target: Target;
|
|
5980
|
+
};
|
|
5981
|
+
};
|
|
5982
|
+
mentionData?: {
|
|
5983
|
+
name: string;
|
|
5984
|
+
slug: string;
|
|
5985
|
+
};
|
|
5986
|
+
fontSizeData?: {
|
|
5987
|
+
unit: FontType;
|
|
5988
|
+
};
|
|
5989
|
+
type: DecorationType;
|
|
5990
|
+
}[];
|
|
5991
|
+
};
|
|
5992
|
+
headerSix?: {
|
|
5993
|
+
decorations: {
|
|
5994
|
+
anchorData?: {
|
|
5995
|
+
anchor: string;
|
|
5996
|
+
};
|
|
5997
|
+
linkData?: {
|
|
5998
|
+
link?: {
|
|
5999
|
+
url: string;
|
|
6000
|
+
anchor: string;
|
|
6001
|
+
target: Target;
|
|
6002
|
+
};
|
|
6003
|
+
};
|
|
6004
|
+
mentionData?: {
|
|
6005
|
+
name: string;
|
|
6006
|
+
slug: string;
|
|
6007
|
+
};
|
|
6008
|
+
fontSizeData?: {
|
|
6009
|
+
unit: FontType;
|
|
6010
|
+
};
|
|
6011
|
+
type: DecorationType;
|
|
6012
|
+
}[];
|
|
6013
|
+
};
|
|
6014
|
+
paragraph?: {
|
|
6015
|
+
decorations: {
|
|
6016
|
+
anchorData?: {
|
|
4952
6017
|
anchor: string;
|
|
4953
|
-
target: Target;
|
|
4954
6018
|
};
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
};
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
6019
|
+
linkData?: {
|
|
6020
|
+
link?: {
|
|
6021
|
+
url: string;
|
|
6022
|
+
anchor: string;
|
|
6023
|
+
target: Target;
|
|
6024
|
+
};
|
|
6025
|
+
};
|
|
6026
|
+
mentionData?: {
|
|
6027
|
+
name: string;
|
|
6028
|
+
slug: string;
|
|
6029
|
+
};
|
|
6030
|
+
fontSizeData?: {
|
|
6031
|
+
unit: FontType;
|
|
6032
|
+
};
|
|
6033
|
+
type: DecorationType;
|
|
6034
|
+
}[];
|
|
6035
|
+
};
|
|
6036
|
+
blockquote?: {
|
|
6037
|
+
decorations: {
|
|
6038
|
+
anchorData?: {
|
|
4974
6039
|
anchor: string;
|
|
4975
|
-
target: Target;
|
|
4976
6040
|
};
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
};
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
6041
|
+
linkData?: {
|
|
6042
|
+
link?: {
|
|
6043
|
+
url: string;
|
|
6044
|
+
anchor: string;
|
|
6045
|
+
target: Target;
|
|
6046
|
+
};
|
|
6047
|
+
};
|
|
6048
|
+
mentionData?: {
|
|
6049
|
+
name: string;
|
|
6050
|
+
slug: string;
|
|
6051
|
+
};
|
|
6052
|
+
fontSizeData?: {
|
|
6053
|
+
unit: FontType;
|
|
6054
|
+
};
|
|
6055
|
+
type: DecorationType;
|
|
6056
|
+
}[];
|
|
6057
|
+
};
|
|
6058
|
+
codeBlock?: {
|
|
6059
|
+
decorations: {
|
|
6060
|
+
anchorData?: {
|
|
4996
6061
|
anchor: string;
|
|
4997
|
-
target: Target;
|
|
4998
6062
|
};
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
6063
|
+
linkData?: {
|
|
6064
|
+
link?: {
|
|
6065
|
+
url: string;
|
|
6066
|
+
anchor: string;
|
|
6067
|
+
target: Target;
|
|
6068
|
+
};
|
|
6069
|
+
};
|
|
6070
|
+
mentionData?: {
|
|
6071
|
+
name: string;
|
|
6072
|
+
slug: string;
|
|
6073
|
+
};
|
|
6074
|
+
fontSizeData?: {
|
|
6075
|
+
unit: FontType;
|
|
6076
|
+
};
|
|
6077
|
+
type: DecorationType;
|
|
6078
|
+
}[];
|
|
6079
|
+
};
|
|
5009
6080
|
};
|
|
5010
6081
|
};
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
status: ModerationStatusStatus;
|
|
5016
|
-
};
|
|
5017
|
-
hasUnpublishedChanges: boolean;
|
|
5018
|
-
seoData?: {
|
|
5019
|
-
tags: {
|
|
5020
|
-
type: string;
|
|
5021
|
-
children: string;
|
|
5022
|
-
custom: boolean;
|
|
5023
|
-
disabled: boolean;
|
|
5024
|
-
}[];
|
|
5025
|
-
settings?: {
|
|
5026
|
-
preventAutoRedirect: boolean;
|
|
5027
|
-
keywords: {
|
|
5028
|
-
term: string;
|
|
5029
|
-
isMain: boolean;
|
|
5030
|
-
}[];
|
|
6082
|
+
status: Status;
|
|
6083
|
+
moderationDetails?: {
|
|
6084
|
+
submittedBy: string;
|
|
6085
|
+
status: ModerationStatusStatus;
|
|
5031
6086
|
};
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
6087
|
+
hasUnpublishedChanges: boolean;
|
|
6088
|
+
seoData?: {
|
|
6089
|
+
tags: {
|
|
6090
|
+
type: string;
|
|
6091
|
+
children: string;
|
|
6092
|
+
custom: boolean;
|
|
6093
|
+
disabled: boolean;
|
|
6094
|
+
}[];
|
|
6095
|
+
settings?: {
|
|
6096
|
+
preventAutoRedirect: boolean;
|
|
6097
|
+
keywords: {
|
|
6098
|
+
term: string;
|
|
6099
|
+
isMain: boolean;
|
|
6100
|
+
}[];
|
|
6101
|
+
};
|
|
5039
6102
|
};
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
6103
|
+
slugs: string[];
|
|
6104
|
+
url: string;
|
|
6105
|
+
media?: {
|
|
6106
|
+
wixMedia?: {
|
|
6107
|
+
image: string;
|
|
6108
|
+
videoV2: string;
|
|
5045
6109
|
};
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
6110
|
+
embedMedia?: {
|
|
6111
|
+
thumbnail?: {
|
|
6112
|
+
url: string;
|
|
6113
|
+
width: number;
|
|
6114
|
+
height: number;
|
|
6115
|
+
};
|
|
6116
|
+
video?: {
|
|
6117
|
+
url: string;
|
|
6118
|
+
width: number;
|
|
6119
|
+
height: number;
|
|
6120
|
+
};
|
|
5050
6121
|
};
|
|
6122
|
+
displayed: boolean;
|
|
6123
|
+
custom: boolean;
|
|
5051
6124
|
};
|
|
5052
|
-
displayed: boolean;
|
|
5053
|
-
custom: boolean;
|
|
5054
6125
|
};
|
|
6126
|
+
}[];
|
|
6127
|
+
bulkActionMetadata?: {
|
|
6128
|
+
totalSuccesses: number;
|
|
6129
|
+
totalFailures: number;
|
|
6130
|
+
undetailedFailures: number;
|
|
5055
6131
|
};
|
|
5056
6132
|
}
|
|
5057
6133
|
export interface ListDraftPostsResponseNonNullableFields {
|
|
@@ -7188,6 +8264,36 @@ export interface CreateDraftPostOptions {
|
|
|
7188
8264
|
*/
|
|
7189
8265
|
fieldsets?: Field[];
|
|
7190
8266
|
}
|
|
8267
|
+
/**
|
|
8268
|
+
* Creates multiple draft posts.
|
|
8269
|
+
* @param draftPosts - Draft posts to create.
|
|
8270
|
+
* @public
|
|
8271
|
+
* @documentationMaturity preview
|
|
8272
|
+
* @requiredField draftPosts
|
|
8273
|
+
* @requiredField draftPosts.title
|
|
8274
|
+
* @permissionScope Manage Blog
|
|
8275
|
+
* @permissionScope Manage Members
|
|
8276
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
8277
|
+
* @permissionScope Read Members and Contacts - all read permissions
|
|
8278
|
+
* @permissionScope Read Members
|
|
8279
|
+
* @permissionScope Manage Members and Contacts - all permissions
|
|
8280
|
+
* @applicableIdentity APP
|
|
8281
|
+
* @applicableIdentity MEMBER
|
|
8282
|
+
* @applicableIdentity VISITOR
|
|
8283
|
+
*/
|
|
8284
|
+
export declare function bulkCreateDraftPosts(draftPosts: DraftPost[], options?: BulkCreateDraftPostsOptions): Promise<BulkCreateDraftPostsResponse & BulkCreateDraftPostsResponseNonNullableFields>;
|
|
8285
|
+
export interface BulkCreateDraftPostsOptions {
|
|
8286
|
+
/** Whether the draft post should be published after creation. */
|
|
8287
|
+
publish?: boolean;
|
|
8288
|
+
/** Whether to return the full created draft post entities in the response. */
|
|
8289
|
+
returnFullEntity?: boolean;
|
|
8290
|
+
/**
|
|
8291
|
+
* List of draft post fields to be included in the response if the entities are present.
|
|
8292
|
+
* Base default fieldset returns all core draft post properties (all properties that are not a supported fieldset value).
|
|
8293
|
+
* For example, when `URL` fieldset is selected, returned draft post will include the set of base properties and the draft post's preview url.
|
|
8294
|
+
*/
|
|
8295
|
+
fieldsets?: Field[];
|
|
8296
|
+
}
|
|
7191
8297
|
/**
|
|
7192
8298
|
* Updates multiple draft posts.
|
|
7193
8299
|
* @public
|
|
@@ -7506,6 +8612,20 @@ export interface DeleteDraftPostOptions {
|
|
|
7506
8612
|
* @applicableIdentity APP
|
|
7507
8613
|
*/
|
|
7508
8614
|
export declare function removeFromTrashBin(draftPostId: string): Promise<void>;
|
|
8615
|
+
/**
|
|
8616
|
+
* Bulk Deletes draft posts with the provided IDs.
|
|
8617
|
+
* @param postIds - Post IDs.
|
|
8618
|
+
* @public
|
|
8619
|
+
* @documentationMaturity preview
|
|
8620
|
+
* @requiredField postIds
|
|
8621
|
+
* @permissionScope Manage Blog
|
|
8622
|
+
* @applicableIdentity APP
|
|
8623
|
+
*/
|
|
8624
|
+
export declare function bulkDeleteDraftPosts(postIds: string[], options?: BulkDeleteDraftPostsOptions): Promise<BulkDeleteDraftPostsResponse & BulkDeleteDraftPostsResponseNonNullableFields>;
|
|
8625
|
+
export interface BulkDeleteDraftPostsOptions {
|
|
8626
|
+
/** Should delete bypassing the trash-bin. */
|
|
8627
|
+
permanent?: boolean;
|
|
8628
|
+
}
|
|
7509
8629
|
/**
|
|
7510
8630
|
* Retrieves a list of up to 100 draft posts per request.
|
|
7511
8631
|
*
|