@wix/auto_sdk_blog_draft-posts 1.0.106 → 1.0.108

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.
@@ -15,6 +15,165 @@ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transform
15
15
  import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
16
16
  import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
17
17
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
18
+ function resolveComWixpressNpmCommunitiesPlatformizedBlogV3BlogMultilingualServiceUrl(opts) {
19
+ const domainToMappings = {
20
+ "api._api_base_domain_": [
21
+ {
22
+ srcPath: "/communities-blog-node-api",
23
+ destPath: ""
24
+ }
25
+ ],
26
+ "www._base_domain_": [
27
+ {
28
+ srcPath: "/_api/communities-blog-node-api",
29
+ destPath: ""
30
+ },
31
+ {
32
+ srcPath: "/_api/communities-blog-node-api/v2/stats",
33
+ destPath: "/v2/stats"
34
+ }
35
+ ],
36
+ "apps._base_domain_": [
37
+ {
38
+ srcPath: "/_api/communities-blog-node-api",
39
+ destPath: ""
40
+ },
41
+ {
42
+ srcPath: "/_api/communities-blog-node-api/v2/stats",
43
+ destPath: "/v2/stats"
44
+ }
45
+ ],
46
+ _: [
47
+ {
48
+ srcPath: "/_api/communities-blog-node-api",
49
+ destPath: ""
50
+ },
51
+ {
52
+ srcPath: "/_api/communities-blog-node-api/_api/blogs/this",
53
+ destPath: "/_api/blogs/this"
54
+ },
55
+ {
56
+ srcPath: "/_api/communities-blog-node-api/_api/categories",
57
+ destPath: "/_api/categories"
58
+ },
59
+ {
60
+ srcPath: "/_api/communities-blog-node-api/_api/site-properties",
61
+ destPath: "/_api/site-properties"
62
+ },
63
+ {
64
+ srcPath: "/_api/communities-blog-node-api/_api/posts/content",
65
+ destPath: "/_api/posts/content"
66
+ },
67
+ {
68
+ srcPath: "/_api/communities-blog-node-api/v2/stats",
69
+ destPath: "/v2/stats"
70
+ }
71
+ ],
72
+ "editor._base_domain_": [
73
+ {
74
+ srcPath: "/_api/communities-blog-node-api",
75
+ destPath: ""
76
+ }
77
+ ],
78
+ "blocks._base_domain_": [
79
+ {
80
+ srcPath: "/_api/communities-blog-node-api",
81
+ destPath: ""
82
+ }
83
+ ],
84
+ "create.editorx": [
85
+ {
86
+ srcPath: "/_api/communities-blog-node-api",
87
+ destPath: ""
88
+ }
89
+ ],
90
+ "*.dev.wix-code.com": [
91
+ {
92
+ srcPath: "/_api/communities-blog-node-api",
93
+ destPath: ""
94
+ }
95
+ ],
96
+ "*.pub.wix-code.com": [
97
+ {
98
+ srcPath: "/_api/communities-blog-node-api",
99
+ destPath: ""
100
+ }
101
+ ],
102
+ "bo._base_domain_": [
103
+ {
104
+ srcPath: "/_api/communities-blog-node-api",
105
+ destPath: ""
106
+ },
107
+ {
108
+ srcPath: "/_api/communities-blog-node-api",
109
+ destPath: ""
110
+ }
111
+ ],
112
+ "wixbo.ai": [
113
+ {
114
+ srcPath: "/_api/communities-blog-node-api",
115
+ destPath: ""
116
+ },
117
+ {
118
+ srcPath: "/_api/communities-blog-node-api",
119
+ destPath: ""
120
+ }
121
+ ],
122
+ "wix-bo.com": [
123
+ {
124
+ srcPath: "/_api/communities-blog-node-api",
125
+ destPath: ""
126
+ },
127
+ {
128
+ srcPath: "/_api/communities-blog-node-api",
129
+ destPath: ""
130
+ }
131
+ ],
132
+ "manage._base_domain_": [
133
+ {
134
+ srcPath: "/_api/communities-blog-node-api",
135
+ destPath: ""
136
+ }
137
+ ],
138
+ "social-blog._base_domain_": [
139
+ {
140
+ srcPath: "/_api/communities-blog-node-api",
141
+ destPath: ""
142
+ }
143
+ ],
144
+ "editor.wixapps.net": [
145
+ {
146
+ srcPath: "/_api/communities-blog-node-api",
147
+ destPath: ""
148
+ }
149
+ ],
150
+ "dev._base_domain_": [
151
+ {
152
+ srcPath: "/_api/communities-blog-node-api",
153
+ destPath: ""
154
+ }
155
+ ],
156
+ "www.wixapis.com": [
157
+ {
158
+ srcPath: "/blog/v2",
159
+ destPath: "/v2"
160
+ },
161
+ {
162
+ srcPath: "/blog/v3",
163
+ destPath: "/v3"
164
+ },
165
+ {
166
+ srcPath: "/v2/stats",
167
+ destPath: "/v2/stats"
168
+ },
169
+ {
170
+ srcPath: "/blog/v2/stats",
171
+ destPath: "/v2/stats"
172
+ }
173
+ ]
174
+ };
175
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
176
+ }
18
177
  function resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(opts) {
19
178
  const domainToMappings = {
20
179
  _api_base_domain_: [
@@ -260,6 +419,24 @@ function createDraftPost(payload) {
260
419
  {
261
420
  path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
262
421
  },
422
+ {
423
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
424
+ },
425
+ {
426
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
427
+ },
428
+ {
429
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
430
+ },
431
+ {
432
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
433
+ },
434
+ {
435
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
436
+ },
437
+ {
438
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
439
+ },
263
440
  { path: "draftPost.richContent.nodes.appEmbedData.image.duration" },
264
441
  { path: "draftPost.richContent.nodes.videoData.video.duration" },
265
442
  { path: "draftPost.richContent.nodes.videoData.thumbnail.duration" },
@@ -333,6 +510,168 @@ function createDraftPost(payload) {
333
510
  { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
334
511
  {
335
512
  path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
513
+ },
514
+ {
515
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
516
+ },
517
+ {
518
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
519
+ },
520
+ {
521
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
522
+ },
523
+ {
524
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
525
+ },
526
+ {
527
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
528
+ },
529
+ {
530
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
531
+ },
532
+ {
533
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
534
+ },
535
+ {
536
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
537
+ },
538
+ {
539
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
540
+ },
541
+ {
542
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
543
+ },
544
+ {
545
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
546
+ },
547
+ {
548
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
549
+ },
550
+ {
551
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
552
+ },
553
+ {
554
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
555
+ },
556
+ {
557
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
558
+ },
559
+ {
560
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
561
+ },
562
+ {
563
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
564
+ },
565
+ {
566
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
567
+ },
568
+ {
569
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
570
+ },
571
+ {
572
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
573
+ },
574
+ {
575
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
576
+ },
577
+ {
578
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
579
+ },
580
+ {
581
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
582
+ },
583
+ {
584
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
585
+ },
586
+ {
587
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
588
+ },
589
+ {
590
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
591
+ },
592
+ {
593
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
594
+ },
595
+ {
596
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
597
+ },
598
+ {
599
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
600
+ },
601
+ {
602
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
603
+ },
604
+ {
605
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
606
+ },
607
+ {
608
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
609
+ },
610
+ {
611
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
612
+ },
613
+ {
614
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
615
+ },
616
+ {
617
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
618
+ },
619
+ {
620
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
621
+ },
622
+ {
623
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
624
+ },
625
+ {
626
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
627
+ },
628
+ {
629
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
630
+ },
631
+ {
632
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
633
+ },
634
+ {
635
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
636
+ },
637
+ {
638
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
639
+ },
640
+ {
641
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
642
+ },
643
+ {
644
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
645
+ },
646
+ {
647
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
648
+ },
649
+ {
650
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
651
+ },
652
+ {
653
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
654
+ },
655
+ {
656
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
657
+ },
658
+ {
659
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
660
+ },
661
+ {
662
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
663
+ },
664
+ {
665
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
666
+ },
667
+ {
668
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
669
+ },
670
+ {
671
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
672
+ },
673
+ {
674
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
336
675
  }
337
676
  ]
338
677
  }
@@ -436,6 +775,24 @@ function createDraftPost(payload) {
436
775
  {
437
776
  path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
438
777
  },
778
+ {
779
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
780
+ },
781
+ {
782
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
783
+ },
784
+ {
785
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
786
+ },
787
+ {
788
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
789
+ },
790
+ {
791
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
792
+ },
793
+ {
794
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
795
+ },
439
796
  {
440
797
  path: "draftPost.richContent.nodes.appEmbedData.image.duration"
441
798
  },
@@ -515,15 +872,177 @@ function createDraftPost(payload) {
515
872
  { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
516
873
  {
517
874
  path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
518
- }
519
- ]
520
- }
521
- ])
522
- };
523
- return metadata;
524
- }
525
- return __createDraftPost;
526
- }
875
+ },
876
+ {
877
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
878
+ },
879
+ {
880
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
881
+ },
882
+ {
883
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
884
+ },
885
+ {
886
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
887
+ },
888
+ {
889
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
890
+ },
891
+ {
892
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
893
+ },
894
+ {
895
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
896
+ },
897
+ {
898
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
899
+ },
900
+ {
901
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
902
+ },
903
+ {
904
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
905
+ },
906
+ {
907
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
908
+ },
909
+ {
910
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
911
+ },
912
+ {
913
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
914
+ },
915
+ {
916
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
917
+ },
918
+ {
919
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
920
+ },
921
+ {
922
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
923
+ },
924
+ {
925
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
926
+ },
927
+ {
928
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
929
+ },
930
+ {
931
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
932
+ },
933
+ {
934
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
935
+ },
936
+ {
937
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
938
+ },
939
+ {
940
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
941
+ },
942
+ {
943
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
944
+ },
945
+ {
946
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
947
+ },
948
+ {
949
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
950
+ },
951
+ {
952
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
953
+ },
954
+ {
955
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
956
+ },
957
+ {
958
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
959
+ },
960
+ {
961
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
962
+ },
963
+ {
964
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
965
+ },
966
+ {
967
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
968
+ },
969
+ {
970
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
971
+ },
972
+ {
973
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
974
+ },
975
+ {
976
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
977
+ },
978
+ {
979
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
980
+ },
981
+ {
982
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
983
+ },
984
+ {
985
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
986
+ },
987
+ {
988
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
989
+ },
990
+ {
991
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
992
+ },
993
+ {
994
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
995
+ },
996
+ {
997
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
998
+ },
999
+ {
1000
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
1001
+ },
1002
+ {
1003
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
1004
+ },
1005
+ {
1006
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
1007
+ },
1008
+ {
1009
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
1010
+ },
1011
+ {
1012
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
1013
+ },
1014
+ {
1015
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
1016
+ },
1017
+ {
1018
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
1019
+ },
1020
+ {
1021
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
1022
+ },
1023
+ {
1024
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
1025
+ },
1026
+ {
1027
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
1028
+ },
1029
+ {
1030
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
1031
+ },
1032
+ {
1033
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
1034
+ },
1035
+ {
1036
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
1037
+ }
1038
+ ]
1039
+ }
1040
+ ])
1041
+ };
1042
+ return metadata;
1043
+ }
1044
+ return __createDraftPost;
1045
+ }
527
1046
  function bulkCreateDraftPosts(payload) {
528
1047
  function __bulkCreateDraftPosts({ host }) {
529
1048
  const serializedData = transformPaths(payload, [
@@ -611,6 +1130,24 @@ function bulkCreateDraftPosts(payload) {
611
1130
  {
612
1131
  path: "draftPosts.richContent.nodes.pollData.design.poll.background.image.duration"
613
1132
  },
1133
+ {
1134
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
1135
+ },
1136
+ {
1137
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
1138
+ },
1139
+ {
1140
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
1141
+ },
1142
+ {
1143
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
1144
+ },
1145
+ {
1146
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
1147
+ },
1148
+ {
1149
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
1150
+ },
614
1151
  { path: "draftPosts.richContent.nodes.appEmbedData.image.duration" },
615
1152
  { path: "draftPosts.richContent.nodes.videoData.video.duration" },
616
1153
  { path: "draftPosts.richContent.nodes.videoData.thumbnail.duration" },
@@ -686,6 +1223,168 @@ function bulkCreateDraftPosts(payload) {
686
1223
  { path: "draftPosts.richContent.nodes.tocData.itemSpacing" },
687
1224
  {
688
1225
  path: "draftPosts.richContent.nodes.smartBlockCellData.shape.duration"
1226
+ },
1227
+ {
1228
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
1229
+ },
1230
+ {
1231
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
1232
+ },
1233
+ {
1234
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
1235
+ },
1236
+ {
1237
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
1238
+ },
1239
+ {
1240
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
1241
+ },
1242
+ {
1243
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
1244
+ },
1245
+ {
1246
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
1247
+ },
1248
+ {
1249
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
1250
+ },
1251
+ {
1252
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
1253
+ },
1254
+ {
1255
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
1256
+ },
1257
+ {
1258
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
1259
+ },
1260
+ {
1261
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
1262
+ },
1263
+ {
1264
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
1265
+ },
1266
+ {
1267
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
1268
+ },
1269
+ {
1270
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
1271
+ },
1272
+ {
1273
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
1274
+ },
1275
+ {
1276
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
1277
+ },
1278
+ {
1279
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
1280
+ },
1281
+ {
1282
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
1283
+ },
1284
+ {
1285
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
1286
+ },
1287
+ {
1288
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
1289
+ },
1290
+ {
1291
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
1292
+ },
1293
+ {
1294
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
1295
+ },
1296
+ {
1297
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
1298
+ },
1299
+ {
1300
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
1301
+ },
1302
+ {
1303
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
1304
+ },
1305
+ {
1306
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
1307
+ },
1308
+ {
1309
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
1310
+ },
1311
+ {
1312
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
1313
+ },
1314
+ {
1315
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
1316
+ },
1317
+ {
1318
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
1319
+ },
1320
+ {
1321
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
1322
+ },
1323
+ {
1324
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
1325
+ },
1326
+ {
1327
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
1328
+ },
1329
+ {
1330
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
1331
+ },
1332
+ {
1333
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
1334
+ },
1335
+ {
1336
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
1337
+ },
1338
+ {
1339
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
1340
+ },
1341
+ {
1342
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
1343
+ },
1344
+ {
1345
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
1346
+ },
1347
+ {
1348
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
1349
+ },
1350
+ {
1351
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
1352
+ },
1353
+ {
1354
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
1355
+ },
1356
+ {
1357
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
1358
+ },
1359
+ {
1360
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
1361
+ },
1362
+ {
1363
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
1364
+ },
1365
+ {
1366
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
1367
+ },
1368
+ {
1369
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
1370
+ },
1371
+ {
1372
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
1373
+ },
1374
+ {
1375
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
1376
+ },
1377
+ {
1378
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
1379
+ },
1380
+ {
1381
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
1382
+ },
1383
+ {
1384
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
1385
+ },
1386
+ {
1387
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
689
1388
  }
690
1389
  ]
691
1390
  }
@@ -799,6 +1498,24 @@ function bulkCreateDraftPosts(payload) {
799
1498
  {
800
1499
  path: "results.item.richContent.nodes.pollData.design.poll.background.image.duration"
801
1500
  },
1501
+ {
1502
+ path: "results.item.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
1503
+ },
1504
+ {
1505
+ path: "results.item.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
1506
+ },
1507
+ {
1508
+ path: "results.item.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
1509
+ },
1510
+ {
1511
+ path: "results.item.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
1512
+ },
1513
+ {
1514
+ path: "results.item.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
1515
+ },
1516
+ {
1517
+ path: "results.item.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
1518
+ },
802
1519
  {
803
1520
  path: "results.item.richContent.nodes.appEmbedData.image.duration"
804
1521
  },
@@ -884,13 +1601,175 @@ function bulkCreateDraftPosts(payload) {
884
1601
  { path: "results.item.richContent.nodes.tocData.itemSpacing" },
885
1602
  {
886
1603
  path: "results.item.richContent.nodes.smartBlockCellData.shape.duration"
887
- }
888
- ]
889
- }
890
- ])
891
- };
892
- return metadata;
893
- }
1604
+ },
1605
+ {
1606
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
1607
+ },
1608
+ {
1609
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
1610
+ },
1611
+ {
1612
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
1613
+ },
1614
+ {
1615
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
1616
+ },
1617
+ {
1618
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
1619
+ },
1620
+ {
1621
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
1622
+ },
1623
+ {
1624
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
1625
+ },
1626
+ {
1627
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
1628
+ },
1629
+ {
1630
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
1631
+ },
1632
+ {
1633
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
1634
+ },
1635
+ {
1636
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
1637
+ },
1638
+ {
1639
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
1640
+ },
1641
+ {
1642
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
1643
+ },
1644
+ {
1645
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
1646
+ },
1647
+ {
1648
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
1649
+ },
1650
+ {
1651
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
1652
+ },
1653
+ {
1654
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
1655
+ },
1656
+ {
1657
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
1658
+ },
1659
+ {
1660
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
1661
+ },
1662
+ {
1663
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
1664
+ },
1665
+ {
1666
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
1667
+ },
1668
+ {
1669
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
1670
+ },
1671
+ {
1672
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
1673
+ },
1674
+ {
1675
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
1676
+ },
1677
+ {
1678
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
1679
+ },
1680
+ {
1681
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
1682
+ },
1683
+ {
1684
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
1685
+ },
1686
+ {
1687
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
1688
+ },
1689
+ {
1690
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
1691
+ },
1692
+ {
1693
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
1694
+ },
1695
+ {
1696
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
1697
+ },
1698
+ {
1699
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
1700
+ },
1701
+ {
1702
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
1703
+ },
1704
+ {
1705
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
1706
+ },
1707
+ {
1708
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
1709
+ },
1710
+ {
1711
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
1712
+ },
1713
+ {
1714
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
1715
+ },
1716
+ {
1717
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
1718
+ },
1719
+ {
1720
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
1721
+ },
1722
+ {
1723
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
1724
+ },
1725
+ {
1726
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
1727
+ },
1728
+ {
1729
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
1730
+ },
1731
+ {
1732
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
1733
+ },
1734
+ {
1735
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
1736
+ },
1737
+ {
1738
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
1739
+ },
1740
+ {
1741
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
1742
+ },
1743
+ {
1744
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
1745
+ },
1746
+ {
1747
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
1748
+ },
1749
+ {
1750
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
1751
+ },
1752
+ {
1753
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
1754
+ },
1755
+ {
1756
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
1757
+ },
1758
+ {
1759
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
1760
+ },
1761
+ {
1762
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
1763
+ },
1764
+ {
1765
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
1766
+ }
1767
+ ]
1768
+ }
1769
+ ])
1770
+ };
1771
+ return metadata;
1772
+ }
894
1773
  return __bulkCreateDraftPosts;
895
1774
  }
896
1775
  function bulkUpdateDraftPosts(payload) {
@@ -1009,6 +1888,24 @@ function bulkUpdateDraftPosts(payload) {
1009
1888
  {
1010
1889
  path: "draftPosts.draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
1011
1890
  },
1891
+ {
1892
+ path: "draftPosts.draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
1893
+ },
1894
+ {
1895
+ path: "draftPosts.draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
1896
+ },
1897
+ {
1898
+ path: "draftPosts.draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
1899
+ },
1900
+ {
1901
+ path: "draftPosts.draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
1902
+ },
1903
+ {
1904
+ path: "draftPosts.draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
1905
+ },
1906
+ {
1907
+ path: "draftPosts.draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
1908
+ },
1012
1909
  {
1013
1910
  path: "draftPosts.draftPost.richContent.nodes.appEmbedData.image.duration"
1014
1911
  },
@@ -1096,6 +1993,168 @@ function bulkUpdateDraftPosts(payload) {
1096
1993
  },
1097
1994
  {
1098
1995
  path: "draftPosts.draftPost.richContent.nodes.smartBlockCellData.shape.duration"
1996
+ },
1997
+ {
1998
+ path: "draftPosts.draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
1999
+ },
2000
+ {
2001
+ path: "draftPosts.draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
2002
+ },
2003
+ {
2004
+ path: "draftPosts.draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
2005
+ },
2006
+ {
2007
+ path: "draftPosts.draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
2008
+ },
2009
+ {
2010
+ path: "draftPosts.draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
2011
+ },
2012
+ {
2013
+ path: "draftPosts.draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
2014
+ },
2015
+ {
2016
+ path: "draftPosts.draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
2017
+ },
2018
+ {
2019
+ path: "draftPosts.draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
2020
+ },
2021
+ {
2022
+ path: "draftPosts.draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
2023
+ },
2024
+ {
2025
+ path: "draftPosts.draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
2026
+ },
2027
+ {
2028
+ path: "draftPosts.draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
2029
+ },
2030
+ {
2031
+ path: "draftPosts.draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
2032
+ },
2033
+ {
2034
+ path: "draftPosts.draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
2035
+ },
2036
+ {
2037
+ path: "draftPosts.draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
2038
+ },
2039
+ {
2040
+ path: "draftPosts.draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
2041
+ },
2042
+ {
2043
+ path: "draftPosts.draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
2044
+ },
2045
+ {
2046
+ path: "draftPosts.draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
2047
+ },
2048
+ {
2049
+ path: "draftPosts.draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
2050
+ },
2051
+ {
2052
+ path: "draftPosts.draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
2053
+ },
2054
+ {
2055
+ path: "draftPosts.draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
2056
+ },
2057
+ {
2058
+ path: "draftPosts.draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
2059
+ },
2060
+ {
2061
+ path: "draftPosts.draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
2062
+ },
2063
+ {
2064
+ path: "draftPosts.draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
2065
+ },
2066
+ {
2067
+ path: "draftPosts.draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
2068
+ },
2069
+ {
2070
+ path: "draftPosts.draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
2071
+ },
2072
+ {
2073
+ path: "draftPosts.draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
2074
+ },
2075
+ {
2076
+ path: "draftPosts.draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
2077
+ },
2078
+ {
2079
+ path: "draftPosts.draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
2080
+ },
2081
+ {
2082
+ path: "draftPosts.draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
2083
+ },
2084
+ {
2085
+ path: "draftPosts.draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
2086
+ },
2087
+ {
2088
+ path: "draftPosts.draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
2089
+ },
2090
+ {
2091
+ path: "draftPosts.draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
2092
+ },
2093
+ {
2094
+ path: "draftPosts.draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
2095
+ },
2096
+ {
2097
+ path: "draftPosts.draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
2098
+ },
2099
+ {
2100
+ path: "draftPosts.draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
2101
+ },
2102
+ {
2103
+ path: "draftPosts.draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
2104
+ },
2105
+ {
2106
+ path: "draftPosts.draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
2107
+ },
2108
+ {
2109
+ path: "draftPosts.draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
2110
+ },
2111
+ {
2112
+ path: "draftPosts.draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
2113
+ },
2114
+ {
2115
+ path: "draftPosts.draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
2116
+ },
2117
+ {
2118
+ path: "draftPosts.draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
2119
+ },
2120
+ {
2121
+ path: "draftPosts.draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
2122
+ },
2123
+ {
2124
+ path: "draftPosts.draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
2125
+ },
2126
+ {
2127
+ path: "draftPosts.draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
2128
+ },
2129
+ {
2130
+ path: "draftPosts.draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
2131
+ },
2132
+ {
2133
+ path: "draftPosts.draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
2134
+ },
2135
+ {
2136
+ path: "draftPosts.draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
2137
+ },
2138
+ {
2139
+ path: "draftPosts.draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
2140
+ },
2141
+ {
2142
+ path: "draftPosts.draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
2143
+ },
2144
+ {
2145
+ path: "draftPosts.draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
2146
+ },
2147
+ {
2148
+ path: "draftPosts.draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
2149
+ },
2150
+ {
2151
+ path: "draftPosts.draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
2152
+ },
2153
+ {
2154
+ path: "draftPosts.draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
2155
+ },
2156
+ {
2157
+ path: "draftPosts.draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
1099
2158
  }
1100
2159
  ]
1101
2160
  }
@@ -1209,6 +2268,24 @@ function bulkUpdateDraftPosts(payload) {
1209
2268
  {
1210
2269
  path: "results.item.richContent.nodes.pollData.design.poll.background.image.duration"
1211
2270
  },
2271
+ {
2272
+ path: "results.item.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
2273
+ },
2274
+ {
2275
+ path: "results.item.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
2276
+ },
2277
+ {
2278
+ path: "results.item.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
2279
+ },
2280
+ {
2281
+ path: "results.item.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
2282
+ },
2283
+ {
2284
+ path: "results.item.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
2285
+ },
2286
+ {
2287
+ path: "results.item.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
2288
+ },
1212
2289
  {
1213
2290
  path: "results.item.richContent.nodes.appEmbedData.image.duration"
1214
2291
  },
@@ -1294,15 +2371,177 @@ function bulkUpdateDraftPosts(payload) {
1294
2371
  { path: "results.item.richContent.nodes.tocData.itemSpacing" },
1295
2372
  {
1296
2373
  path: "results.item.richContent.nodes.smartBlockCellData.shape.duration"
1297
- }
1298
- ]
1299
- }
1300
- ])
1301
- };
1302
- return metadata;
1303
- }
1304
- return __bulkUpdateDraftPosts;
1305
- }
2374
+ },
2375
+ {
2376
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
2377
+ },
2378
+ {
2379
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
2380
+ },
2381
+ {
2382
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
2383
+ },
2384
+ {
2385
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
2386
+ },
2387
+ {
2388
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
2389
+ },
2390
+ {
2391
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
2392
+ },
2393
+ {
2394
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
2395
+ },
2396
+ {
2397
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
2398
+ },
2399
+ {
2400
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
2401
+ },
2402
+ {
2403
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
2404
+ },
2405
+ {
2406
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
2407
+ },
2408
+ {
2409
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
2410
+ },
2411
+ {
2412
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
2413
+ },
2414
+ {
2415
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
2416
+ },
2417
+ {
2418
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
2419
+ },
2420
+ {
2421
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
2422
+ },
2423
+ {
2424
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
2425
+ },
2426
+ {
2427
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
2428
+ },
2429
+ {
2430
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
2431
+ },
2432
+ {
2433
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
2434
+ },
2435
+ {
2436
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
2437
+ },
2438
+ {
2439
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
2440
+ },
2441
+ {
2442
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
2443
+ },
2444
+ {
2445
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
2446
+ },
2447
+ {
2448
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
2449
+ },
2450
+ {
2451
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
2452
+ },
2453
+ {
2454
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
2455
+ },
2456
+ {
2457
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
2458
+ },
2459
+ {
2460
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
2461
+ },
2462
+ {
2463
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
2464
+ },
2465
+ {
2466
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
2467
+ },
2468
+ {
2469
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
2470
+ },
2471
+ {
2472
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
2473
+ },
2474
+ {
2475
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
2476
+ },
2477
+ {
2478
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
2479
+ },
2480
+ {
2481
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
2482
+ },
2483
+ {
2484
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
2485
+ },
2486
+ {
2487
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
2488
+ },
2489
+ {
2490
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
2491
+ },
2492
+ {
2493
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
2494
+ },
2495
+ {
2496
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
2497
+ },
2498
+ {
2499
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
2500
+ },
2501
+ {
2502
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
2503
+ },
2504
+ {
2505
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
2506
+ },
2507
+ {
2508
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
2509
+ },
2510
+ {
2511
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
2512
+ },
2513
+ {
2514
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
2515
+ },
2516
+ {
2517
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
2518
+ },
2519
+ {
2520
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
2521
+ },
2522
+ {
2523
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
2524
+ },
2525
+ {
2526
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
2527
+ },
2528
+ {
2529
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
2530
+ },
2531
+ {
2532
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
2533
+ },
2534
+ {
2535
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
2536
+ }
2537
+ ]
2538
+ }
2539
+ ])
2540
+ };
2541
+ return metadata;
2542
+ }
2543
+ return __bulkUpdateDraftPosts;
2544
+ }
1306
2545
  function listDeletedDraftPosts(payload) {
1307
2546
  function __listDeletedDraftPosts({ host }) {
1308
2547
  const metadata = {
@@ -1408,6 +2647,24 @@ function listDeletedDraftPosts(payload) {
1408
2647
  {
1409
2648
  path: "draftPosts.richContent.nodes.pollData.design.poll.background.image.duration"
1410
2649
  },
2650
+ {
2651
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
2652
+ },
2653
+ {
2654
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
2655
+ },
2656
+ {
2657
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
2658
+ },
2659
+ {
2660
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
2661
+ },
2662
+ {
2663
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
2664
+ },
2665
+ {
2666
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
2667
+ },
1411
2668
  {
1412
2669
  path: "draftPosts.richContent.nodes.appEmbedData.image.duration"
1413
2670
  },
@@ -1487,6 +2744,168 @@ function listDeletedDraftPosts(payload) {
1487
2744
  { path: "draftPosts.richContent.nodes.tocData.itemSpacing" },
1488
2745
  {
1489
2746
  path: "draftPosts.richContent.nodes.smartBlockCellData.shape.duration"
2747
+ },
2748
+ {
2749
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
2750
+ },
2751
+ {
2752
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
2753
+ },
2754
+ {
2755
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
2756
+ },
2757
+ {
2758
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
2759
+ },
2760
+ {
2761
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
2762
+ },
2763
+ {
2764
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
2765
+ },
2766
+ {
2767
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
2768
+ },
2769
+ {
2770
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
2771
+ },
2772
+ {
2773
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
2774
+ },
2775
+ {
2776
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
2777
+ },
2778
+ {
2779
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
2780
+ },
2781
+ {
2782
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
2783
+ },
2784
+ {
2785
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
2786
+ },
2787
+ {
2788
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
2789
+ },
2790
+ {
2791
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
2792
+ },
2793
+ {
2794
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
2795
+ },
2796
+ {
2797
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
2798
+ },
2799
+ {
2800
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
2801
+ },
2802
+ {
2803
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
2804
+ },
2805
+ {
2806
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
2807
+ },
2808
+ {
2809
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
2810
+ },
2811
+ {
2812
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
2813
+ },
2814
+ {
2815
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
2816
+ },
2817
+ {
2818
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
2819
+ },
2820
+ {
2821
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
2822
+ },
2823
+ {
2824
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
2825
+ },
2826
+ {
2827
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
2828
+ },
2829
+ {
2830
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
2831
+ },
2832
+ {
2833
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
2834
+ },
2835
+ {
2836
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
2837
+ },
2838
+ {
2839
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
2840
+ },
2841
+ {
2842
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
2843
+ },
2844
+ {
2845
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
2846
+ },
2847
+ {
2848
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
2849
+ },
2850
+ {
2851
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
2852
+ },
2853
+ {
2854
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
2855
+ },
2856
+ {
2857
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
2858
+ },
2859
+ {
2860
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
2861
+ },
2862
+ {
2863
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
2864
+ },
2865
+ {
2866
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
2867
+ },
2868
+ {
2869
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
2870
+ },
2871
+ {
2872
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
2873
+ },
2874
+ {
2875
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
2876
+ },
2877
+ {
2878
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
2879
+ },
2880
+ {
2881
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
2882
+ },
2883
+ {
2884
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
2885
+ },
2886
+ {
2887
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
2888
+ },
2889
+ {
2890
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
2891
+ },
2892
+ {
2893
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
2894
+ },
2895
+ {
2896
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
2897
+ },
2898
+ {
2899
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
2900
+ },
2901
+ {
2902
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
2903
+ },
2904
+ {
2905
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
2906
+ },
2907
+ {
2908
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
1490
2909
  }
1491
2910
  ]
1492
2911
  }
@@ -1597,6 +3016,24 @@ function getDraftPost(payload) {
1597
3016
  {
1598
3017
  path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
1599
3018
  },
3019
+ {
3020
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
3021
+ },
3022
+ {
3023
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
3024
+ },
3025
+ {
3026
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
3027
+ },
3028
+ {
3029
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
3030
+ },
3031
+ {
3032
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
3033
+ },
3034
+ {
3035
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
3036
+ },
1600
3037
  {
1601
3038
  path: "draftPost.richContent.nodes.appEmbedData.image.duration"
1602
3039
  },
@@ -1676,13 +3113,175 @@ function getDraftPost(payload) {
1676
3113
  { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
1677
3114
  {
1678
3115
  path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
1679
- }
1680
- ]
1681
- }
1682
- ])
1683
- };
1684
- return metadata;
1685
- }
3116
+ },
3117
+ {
3118
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
3119
+ },
3120
+ {
3121
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
3122
+ },
3123
+ {
3124
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
3125
+ },
3126
+ {
3127
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
3128
+ },
3129
+ {
3130
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
3131
+ },
3132
+ {
3133
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
3134
+ },
3135
+ {
3136
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
3137
+ },
3138
+ {
3139
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
3140
+ },
3141
+ {
3142
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
3143
+ },
3144
+ {
3145
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
3146
+ },
3147
+ {
3148
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
3149
+ },
3150
+ {
3151
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
3152
+ },
3153
+ {
3154
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
3155
+ },
3156
+ {
3157
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
3158
+ },
3159
+ {
3160
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
3161
+ },
3162
+ {
3163
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
3164
+ },
3165
+ {
3166
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
3167
+ },
3168
+ {
3169
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
3170
+ },
3171
+ {
3172
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
3173
+ },
3174
+ {
3175
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
3176
+ },
3177
+ {
3178
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
3179
+ },
3180
+ {
3181
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
3182
+ },
3183
+ {
3184
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
3185
+ },
3186
+ {
3187
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
3188
+ },
3189
+ {
3190
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
3191
+ },
3192
+ {
3193
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
3194
+ },
3195
+ {
3196
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
3197
+ },
3198
+ {
3199
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
3200
+ },
3201
+ {
3202
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
3203
+ },
3204
+ {
3205
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
3206
+ },
3207
+ {
3208
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
3209
+ },
3210
+ {
3211
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
3212
+ },
3213
+ {
3214
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
3215
+ },
3216
+ {
3217
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
3218
+ },
3219
+ {
3220
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
3221
+ },
3222
+ {
3223
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
3224
+ },
3225
+ {
3226
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
3227
+ },
3228
+ {
3229
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
3230
+ },
3231
+ {
3232
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
3233
+ },
3234
+ {
3235
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
3236
+ },
3237
+ {
3238
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
3239
+ },
3240
+ {
3241
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
3242
+ },
3243
+ {
3244
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
3245
+ },
3246
+ {
3247
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
3248
+ },
3249
+ {
3250
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
3251
+ },
3252
+ {
3253
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
3254
+ },
3255
+ {
3256
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
3257
+ },
3258
+ {
3259
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
3260
+ },
3261
+ {
3262
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
3263
+ },
3264
+ {
3265
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
3266
+ },
3267
+ {
3268
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
3269
+ },
3270
+ {
3271
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
3272
+ },
3273
+ {
3274
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
3275
+ },
3276
+ {
3277
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
3278
+ }
3279
+ ]
3280
+ }
3281
+ ])
3282
+ };
3283
+ return metadata;
3284
+ }
1686
3285
  return __getDraftPost;
1687
3286
  }
1688
3287
  function updateDraftPost(payload) {
@@ -1777,6 +3376,24 @@ function updateDraftPost(payload) {
1777
3376
  {
1778
3377
  path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
1779
3378
  },
3379
+ {
3380
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
3381
+ },
3382
+ {
3383
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
3384
+ },
3385
+ {
3386
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
3387
+ },
3388
+ {
3389
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
3390
+ },
3391
+ {
3392
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
3393
+ },
3394
+ {
3395
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
3396
+ },
1780
3397
  { path: "draftPost.richContent.nodes.appEmbedData.image.duration" },
1781
3398
  { path: "draftPost.richContent.nodes.videoData.video.duration" },
1782
3399
  { path: "draftPost.richContent.nodes.videoData.thumbnail.duration" },
@@ -1850,6 +3467,168 @@ function updateDraftPost(payload) {
1850
3467
  { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
1851
3468
  {
1852
3469
  path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
3470
+ },
3471
+ {
3472
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
3473
+ },
3474
+ {
3475
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
3476
+ },
3477
+ {
3478
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
3479
+ },
3480
+ {
3481
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
3482
+ },
3483
+ {
3484
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
3485
+ },
3486
+ {
3487
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
3488
+ },
3489
+ {
3490
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
3491
+ },
3492
+ {
3493
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
3494
+ },
3495
+ {
3496
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
3497
+ },
3498
+ {
3499
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
3500
+ },
3501
+ {
3502
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
3503
+ },
3504
+ {
3505
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
3506
+ },
3507
+ {
3508
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
3509
+ },
3510
+ {
3511
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
3512
+ },
3513
+ {
3514
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
3515
+ },
3516
+ {
3517
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
3518
+ },
3519
+ {
3520
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
3521
+ },
3522
+ {
3523
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
3524
+ },
3525
+ {
3526
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
3527
+ },
3528
+ {
3529
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
3530
+ },
3531
+ {
3532
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
3533
+ },
3534
+ {
3535
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
3536
+ },
3537
+ {
3538
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
3539
+ },
3540
+ {
3541
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
3542
+ },
3543
+ {
3544
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
3545
+ },
3546
+ {
3547
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
3548
+ },
3549
+ {
3550
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
3551
+ },
3552
+ {
3553
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
3554
+ },
3555
+ {
3556
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
3557
+ },
3558
+ {
3559
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
3560
+ },
3561
+ {
3562
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
3563
+ },
3564
+ {
3565
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
3566
+ },
3567
+ {
3568
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
3569
+ },
3570
+ {
3571
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
3572
+ },
3573
+ {
3574
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
3575
+ },
3576
+ {
3577
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
3578
+ },
3579
+ {
3580
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
3581
+ },
3582
+ {
3583
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
3584
+ },
3585
+ {
3586
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
3587
+ },
3588
+ {
3589
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
3590
+ },
3591
+ {
3592
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
3593
+ },
3594
+ {
3595
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
3596
+ },
3597
+ {
3598
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
3599
+ },
3600
+ {
3601
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
3602
+ },
3603
+ {
3604
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
3605
+ },
3606
+ {
3607
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
3608
+ },
3609
+ {
3610
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
3611
+ },
3612
+ {
3613
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
3614
+ },
3615
+ {
3616
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
3617
+ },
3618
+ {
3619
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
3620
+ },
3621
+ {
3622
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
3623
+ },
3624
+ {
3625
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
3626
+ },
3627
+ {
3628
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
3629
+ },
3630
+ {
3631
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
1853
3632
  }
1854
3633
  ]
1855
3634
  }
@@ -1957,6 +3736,24 @@ function updateDraftPost(payload) {
1957
3736
  {
1958
3737
  path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
1959
3738
  },
3739
+ {
3740
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
3741
+ },
3742
+ {
3743
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
3744
+ },
3745
+ {
3746
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
3747
+ },
3748
+ {
3749
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
3750
+ },
3751
+ {
3752
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
3753
+ },
3754
+ {
3755
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
3756
+ },
1960
3757
  {
1961
3758
  path: "draftPost.richContent.nodes.appEmbedData.image.duration"
1962
3759
  },
@@ -2036,15 +3833,177 @@ function updateDraftPost(payload) {
2036
3833
  { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
2037
3834
  {
2038
3835
  path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
2039
- }
2040
- ]
2041
- }
2042
- ])
2043
- };
2044
- return metadata;
2045
- }
2046
- return __updateDraftPost;
2047
- }
3836
+ },
3837
+ {
3838
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
3839
+ },
3840
+ {
3841
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
3842
+ },
3843
+ {
3844
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
3845
+ },
3846
+ {
3847
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
3848
+ },
3849
+ {
3850
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
3851
+ },
3852
+ {
3853
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
3854
+ },
3855
+ {
3856
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
3857
+ },
3858
+ {
3859
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
3860
+ },
3861
+ {
3862
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
3863
+ },
3864
+ {
3865
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
3866
+ },
3867
+ {
3868
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
3869
+ },
3870
+ {
3871
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
3872
+ },
3873
+ {
3874
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
3875
+ },
3876
+ {
3877
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
3878
+ },
3879
+ {
3880
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
3881
+ },
3882
+ {
3883
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
3884
+ },
3885
+ {
3886
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
3887
+ },
3888
+ {
3889
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
3890
+ },
3891
+ {
3892
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
3893
+ },
3894
+ {
3895
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
3896
+ },
3897
+ {
3898
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
3899
+ },
3900
+ {
3901
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
3902
+ },
3903
+ {
3904
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
3905
+ },
3906
+ {
3907
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
3908
+ },
3909
+ {
3910
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
3911
+ },
3912
+ {
3913
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
3914
+ },
3915
+ {
3916
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
3917
+ },
3918
+ {
3919
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
3920
+ },
3921
+ {
3922
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
3923
+ },
3924
+ {
3925
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
3926
+ },
3927
+ {
3928
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
3929
+ },
3930
+ {
3931
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
3932
+ },
3933
+ {
3934
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
3935
+ },
3936
+ {
3937
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
3938
+ },
3939
+ {
3940
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
3941
+ },
3942
+ {
3943
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
3944
+ },
3945
+ {
3946
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
3947
+ },
3948
+ {
3949
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
3950
+ },
3951
+ {
3952
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
3953
+ },
3954
+ {
3955
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
3956
+ },
3957
+ {
3958
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
3959
+ },
3960
+ {
3961
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
3962
+ },
3963
+ {
3964
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
3965
+ },
3966
+ {
3967
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
3968
+ },
3969
+ {
3970
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
3971
+ },
3972
+ {
3973
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
3974
+ },
3975
+ {
3976
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
3977
+ },
3978
+ {
3979
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
3980
+ },
3981
+ {
3982
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
3983
+ },
3984
+ {
3985
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
3986
+ },
3987
+ {
3988
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
3989
+ },
3990
+ {
3991
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
3992
+ },
3993
+ {
3994
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
3995
+ },
3996
+ {
3997
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
3998
+ }
3999
+ ]
4000
+ }
4001
+ ])
4002
+ };
4003
+ return metadata;
4004
+ }
4005
+ return __updateDraftPost;
4006
+ }
2048
4007
  function deleteDraftPost(payload) {
2049
4008
  function __deleteDraftPost({ host }) {
2050
4009
  const metadata = {
@@ -2198,6 +4157,24 @@ function bulkDeleteDraftPosts(payload) {
2198
4157
  {
2199
4158
  path: "results.item.richContent.nodes.pollData.design.poll.background.image.duration"
2200
4159
  },
4160
+ {
4161
+ path: "results.item.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
4162
+ },
4163
+ {
4164
+ path: "results.item.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
4165
+ },
4166
+ {
4167
+ path: "results.item.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
4168
+ },
4169
+ {
4170
+ path: "results.item.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
4171
+ },
4172
+ {
4173
+ path: "results.item.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
4174
+ },
4175
+ {
4176
+ path: "results.item.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
4177
+ },
2201
4178
  {
2202
4179
  path: "results.item.richContent.nodes.appEmbedData.image.duration"
2203
4180
  },
@@ -2283,6 +4260,168 @@ function bulkDeleteDraftPosts(payload) {
2283
4260
  { path: "results.item.richContent.nodes.tocData.itemSpacing" },
2284
4261
  {
2285
4262
  path: "results.item.richContent.nodes.smartBlockCellData.shape.duration"
4263
+ },
4264
+ {
4265
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
4266
+ },
4267
+ {
4268
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
4269
+ },
4270
+ {
4271
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
4272
+ },
4273
+ {
4274
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
4275
+ },
4276
+ {
4277
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
4278
+ },
4279
+ {
4280
+ path: "results.item.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
4281
+ },
4282
+ {
4283
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
4284
+ },
4285
+ {
4286
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
4287
+ },
4288
+ {
4289
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
4290
+ },
4291
+ {
4292
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
4293
+ },
4294
+ {
4295
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
4296
+ },
4297
+ {
4298
+ path: "results.item.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
4299
+ },
4300
+ {
4301
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
4302
+ },
4303
+ {
4304
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
4305
+ },
4306
+ {
4307
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
4308
+ },
4309
+ {
4310
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
4311
+ },
4312
+ {
4313
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
4314
+ },
4315
+ {
4316
+ path: "results.item.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
4317
+ },
4318
+ {
4319
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
4320
+ },
4321
+ {
4322
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
4323
+ },
4324
+ {
4325
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
4326
+ },
4327
+ {
4328
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
4329
+ },
4330
+ {
4331
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
4332
+ },
4333
+ {
4334
+ path: "results.item.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
4335
+ },
4336
+ {
4337
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
4338
+ },
4339
+ {
4340
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
4341
+ },
4342
+ {
4343
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
4344
+ },
4345
+ {
4346
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
4347
+ },
4348
+ {
4349
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
4350
+ },
4351
+ {
4352
+ path: "results.item.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
4353
+ },
4354
+ {
4355
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
4356
+ },
4357
+ {
4358
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
4359
+ },
4360
+ {
4361
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
4362
+ },
4363
+ {
4364
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
4365
+ },
4366
+ {
4367
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
4368
+ },
4369
+ {
4370
+ path: "results.item.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
4371
+ },
4372
+ {
4373
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
4374
+ },
4375
+ {
4376
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
4377
+ },
4378
+ {
4379
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
4380
+ },
4381
+ {
4382
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
4383
+ },
4384
+ {
4385
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
4386
+ },
4387
+ {
4388
+ path: "results.item.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
4389
+ },
4390
+ {
4391
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
4392
+ },
4393
+ {
4394
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
4395
+ },
4396
+ {
4397
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
4398
+ },
4399
+ {
4400
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
4401
+ },
4402
+ {
4403
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
4404
+ },
4405
+ {
4406
+ path: "results.item.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
4407
+ },
4408
+ {
4409
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
4410
+ },
4411
+ {
4412
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
4413
+ },
4414
+ {
4415
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
4416
+ },
4417
+ {
4418
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
4419
+ },
4420
+ {
4421
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
4422
+ },
4423
+ {
4424
+ path: "results.item.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
2286
4425
  }
2287
4426
  ]
2288
4427
  }
@@ -2322,160 +4461,1468 @@ function listDraftPosts(payload) {
2322
4461
  { path: "draftPosts.media.wixMedia.image.urlExpirationDate" },
2323
4462
  { path: "draftPosts.media.wixMedia.videoV2.urlExpirationDate" },
2324
4463
  {
2325
- path: "draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
4464
+ path: "draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
4465
+ },
4466
+ {
4467
+ path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
4468
+ },
4469
+ {
4470
+ path: "draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate"
4471
+ }
4472
+ ]
4473
+ },
4474
+ {
4475
+ transformFn: transformRESTFloatToSDKFloat,
4476
+ paths: [
4477
+ { path: "draftPosts.heroImage.focalPoint.x" },
4478
+ { path: "draftPosts.heroImage.focalPoint.y" },
4479
+ { path: "draftPosts.media.wixMedia.image.focalPoint.x" },
4480
+ { path: "draftPosts.media.wixMedia.image.focalPoint.y" },
4481
+ {
4482
+ path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
4483
+ },
4484
+ {
4485
+ path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
4486
+ },
4487
+ {
4488
+ path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.x"
4489
+ },
4490
+ {
4491
+ path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.y"
4492
+ },
4493
+ {
4494
+ path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX"
4495
+ },
4496
+ {
4497
+ path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY"
4498
+ },
4499
+ {
4500
+ path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
4501
+ },
4502
+ {
4503
+ path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
4504
+ },
4505
+ {
4506
+ path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
4507
+ },
4508
+ {
4509
+ path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
4510
+ },
4511
+ {
4512
+ path: "draftPosts.richContent.nodes.galleryData.items.image.media.duration"
4513
+ },
4514
+ {
4515
+ path: "draftPosts.richContent.nodes.galleryData.items.video.media.duration"
4516
+ },
4517
+ {
4518
+ path: "draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration"
4519
+ },
4520
+ {
4521
+ path: "draftPosts.richContent.nodes.galleryData.options.item.ratio"
4522
+ },
4523
+ { path: "draftPosts.richContent.nodes.imageData.image.duration" },
4524
+ { path: "draftPosts.richContent.nodes.imageData.crop.x" },
4525
+ { path: "draftPosts.richContent.nodes.imageData.crop.y" },
4526
+ { path: "draftPosts.richContent.nodes.imageData.crop.width" },
4527
+ { path: "draftPosts.richContent.nodes.imageData.crop.height" },
4528
+ { path: "draftPosts.richContent.nodes.mapData.mapSettings.lat" },
4529
+ { path: "draftPosts.richContent.nodes.mapData.mapSettings.lng" },
4530
+ {
4531
+ path: "draftPosts.richContent.nodes.pollData.poll.image.duration"
4532
+ },
4533
+ {
4534
+ path: "draftPosts.richContent.nodes.pollData.poll.options.image.duration"
4535
+ },
4536
+ {
4537
+ path: "draftPosts.richContent.nodes.pollData.design.poll.background.image.duration"
4538
+ },
4539
+ {
4540
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
4541
+ },
4542
+ {
4543
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
4544
+ },
4545
+ {
4546
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
4547
+ },
4548
+ {
4549
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
4550
+ },
4551
+ {
4552
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
4553
+ },
4554
+ {
4555
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
4556
+ },
4557
+ {
4558
+ path: "draftPosts.richContent.nodes.appEmbedData.image.duration"
4559
+ },
4560
+ { path: "draftPosts.richContent.nodes.videoData.video.duration" },
4561
+ {
4562
+ path: "draftPosts.richContent.nodes.videoData.thumbnail.duration"
4563
+ },
4564
+ { path: "draftPosts.richContent.nodes.audioData.audio.duration" },
4565
+ {
4566
+ path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
4567
+ },
4568
+ {
4569
+ path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
4570
+ },
4571
+ {
4572
+ path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
4573
+ },
4574
+ {
4575
+ path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
4576
+ },
4577
+ {
4578
+ path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
4579
+ },
4580
+ {
4581
+ path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
4582
+ },
4583
+ {
4584
+ path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
4585
+ },
4586
+ {
4587
+ path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
4588
+ },
4589
+ {
4590
+ path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
4591
+ },
4592
+ {
4593
+ path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerX"
4594
+ },
4595
+ {
4596
+ path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerY"
4597
+ },
4598
+ {
4599
+ path: "draftPosts.richContent.nodes.layoutData.background.gradient.stops.position"
4600
+ },
4601
+ {
4602
+ path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX"
4603
+ },
4604
+ {
4605
+ path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY"
4606
+ },
4607
+ {
4608
+ path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
4609
+ },
4610
+ { path: "draftPosts.richContent.nodes.shapeData.shape.duration" },
4611
+ {
4612
+ path: "draftPosts.richContent.nodes.cardData.background.gradient.centerX"
4613
+ },
4614
+ {
4615
+ path: "draftPosts.richContent.nodes.cardData.background.gradient.centerY"
4616
+ },
4617
+ {
4618
+ path: "draftPosts.richContent.nodes.cardData.background.gradient.stops.position"
4619
+ },
4620
+ {
4621
+ path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
4622
+ },
4623
+ {
4624
+ path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
4625
+ },
4626
+ {
4627
+ path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
4628
+ },
4629
+ {
4630
+ path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
4631
+ },
4632
+ { path: "draftPosts.richContent.nodes.tocData.fontSize" },
4633
+ { path: "draftPosts.richContent.nodes.tocData.itemSpacing" },
4634
+ {
4635
+ path: "draftPosts.richContent.nodes.smartBlockCellData.shape.duration"
4636
+ },
4637
+ {
4638
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
4639
+ },
4640
+ {
4641
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
4642
+ },
4643
+ {
4644
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
4645
+ },
4646
+ {
4647
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
4648
+ },
4649
+ {
4650
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
4651
+ },
4652
+ {
4653
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
4654
+ },
4655
+ {
4656
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
4657
+ },
4658
+ {
4659
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
4660
+ },
4661
+ {
4662
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
4663
+ },
4664
+ {
4665
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
4666
+ },
4667
+ {
4668
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
4669
+ },
4670
+ {
4671
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
4672
+ },
4673
+ {
4674
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
4675
+ },
4676
+ {
4677
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
4678
+ },
4679
+ {
4680
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
4681
+ },
4682
+ {
4683
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
4684
+ },
4685
+ {
4686
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
4687
+ },
4688
+ {
4689
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
4690
+ },
4691
+ {
4692
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
4693
+ },
4694
+ {
4695
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
4696
+ },
4697
+ {
4698
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
4699
+ },
4700
+ {
4701
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
4702
+ },
4703
+ {
4704
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
4705
+ },
4706
+ {
4707
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
4708
+ },
4709
+ {
4710
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
4711
+ },
4712
+ {
4713
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
4714
+ },
4715
+ {
4716
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
4717
+ },
4718
+ {
4719
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
4720
+ },
4721
+ {
4722
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
4723
+ },
4724
+ {
4725
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
4726
+ },
4727
+ {
4728
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
4729
+ },
4730
+ {
4731
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
4732
+ },
4733
+ {
4734
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
4735
+ },
4736
+ {
4737
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
4738
+ },
4739
+ {
4740
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
4741
+ },
4742
+ {
4743
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
4744
+ },
4745
+ {
4746
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
4747
+ },
4748
+ {
4749
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
4750
+ },
4751
+ {
4752
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
4753
+ },
4754
+ {
4755
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
4756
+ },
4757
+ {
4758
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
4759
+ },
4760
+ {
4761
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
4762
+ },
4763
+ {
4764
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
4765
+ },
4766
+ {
4767
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
4768
+ },
4769
+ {
4770
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
4771
+ },
4772
+ {
4773
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
4774
+ },
4775
+ {
4776
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
4777
+ },
4778
+ {
4779
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
4780
+ },
4781
+ {
4782
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
4783
+ },
4784
+ {
4785
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
4786
+ },
4787
+ {
4788
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
4789
+ },
4790
+ {
4791
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
4792
+ },
4793
+ {
4794
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
4795
+ },
4796
+ {
4797
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
4798
+ }
4799
+ ]
4800
+ }
4801
+ ])
4802
+ };
4803
+ return metadata;
4804
+ }
4805
+ return __listDraftPosts;
4806
+ }
4807
+ function getDeletedDraftPost(payload) {
4808
+ function __getDeletedDraftPost({ host }) {
4809
+ const metadata = {
4810
+ entityFqdn: "wix.blog.v3.draft",
4811
+ method: "GET",
4812
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDeletedDraftPost",
4813
+ packageName: PACKAGE_NAME,
4814
+ migrationOptions: {
4815
+ optInTransformResponse: true
4816
+ },
4817
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
4818
+ {
4819
+ protoPath: "/v3/draft-posts/trash-bin/{draftPostId}",
4820
+ data: payload,
4821
+ host
4822
+ }
4823
+ ),
4824
+ params: toURLSearchParams(payload),
4825
+ transformResponse: (payload2) => transformPaths(payload2, [
4826
+ {
4827
+ transformFn: transformRESTTimestampToSDKTimestamp,
4828
+ paths: [
4829
+ { path: "draftPost.editedDate" },
4830
+ { path: "draftPost.scheduledPublishDate" },
4831
+ { path: "draftPost.firstPublishedDate" },
4832
+ { path: "draftPost.createdDate" },
4833
+ { path: "draftPost.heroImage.urlExpirationDate" },
4834
+ { path: "draftPost.richContent.metadata.createdTimestamp" },
4835
+ { path: "draftPost.richContent.metadata.updatedTimestamp" },
4836
+ { path: "draftPost.moderationDetails.submittedDate" },
4837
+ { path: "draftPost.moderationDetails.moderationDate" },
4838
+ { path: "draftPost.media.wixMedia.image.urlExpirationDate" },
4839
+ { path: "draftPost.media.wixMedia.videoV2.urlExpirationDate" },
4840
+ {
4841
+ path: "draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate"
4842
+ },
4843
+ {
4844
+ path: "draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
4845
+ },
4846
+ {
4847
+ path: "draftPost.media.wixMedia.videoV2.posters.urlExpirationDate"
4848
+ }
4849
+ ]
4850
+ },
4851
+ {
4852
+ transformFn: transformRESTFloatToSDKFloat,
4853
+ paths: [
4854
+ { path: "draftPost.heroImage.focalPoint.x" },
4855
+ { path: "draftPost.heroImage.focalPoint.y" },
4856
+ { path: "draftPost.media.wixMedia.image.focalPoint.x" },
4857
+ { path: "draftPost.media.wixMedia.image.focalPoint.y" },
4858
+ {
4859
+ path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
4860
+ },
4861
+ {
4862
+ path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
4863
+ },
4864
+ { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.x" },
4865
+ { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.y" },
4866
+ {
4867
+ path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX"
4868
+ },
4869
+ {
4870
+ path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY"
4871
+ },
4872
+ {
4873
+ path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position"
4874
+ },
4875
+ {
4876
+ path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
4877
+ },
4878
+ {
4879
+ path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
4880
+ },
4881
+ {
4882
+ path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
4883
+ },
4884
+ {
4885
+ path: "draftPost.richContent.nodes.galleryData.items.image.media.duration"
4886
+ },
4887
+ {
4888
+ path: "draftPost.richContent.nodes.galleryData.items.video.media.duration"
4889
+ },
4890
+ {
4891
+ path: "draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration"
4892
+ },
4893
+ {
4894
+ path: "draftPost.richContent.nodes.galleryData.options.item.ratio"
4895
+ },
4896
+ { path: "draftPost.richContent.nodes.imageData.image.duration" },
4897
+ { path: "draftPost.richContent.nodes.imageData.crop.x" },
4898
+ { path: "draftPost.richContent.nodes.imageData.crop.y" },
4899
+ { path: "draftPost.richContent.nodes.imageData.crop.width" },
4900
+ { path: "draftPost.richContent.nodes.imageData.crop.height" },
4901
+ { path: "draftPost.richContent.nodes.mapData.mapSettings.lat" },
4902
+ { path: "draftPost.richContent.nodes.mapData.mapSettings.lng" },
4903
+ {
4904
+ path: "draftPost.richContent.nodes.pollData.poll.image.duration"
4905
+ },
4906
+ {
4907
+ path: "draftPost.richContent.nodes.pollData.poll.options.image.duration"
4908
+ },
4909
+ {
4910
+ path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
4911
+ },
4912
+ {
4913
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
4914
+ },
4915
+ {
4916
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
4917
+ },
4918
+ {
4919
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
4920
+ },
4921
+ {
4922
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
4923
+ },
4924
+ {
4925
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
4926
+ },
4927
+ {
4928
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
4929
+ },
4930
+ {
4931
+ path: "draftPost.richContent.nodes.appEmbedData.image.duration"
4932
+ },
4933
+ { path: "draftPost.richContent.nodes.videoData.video.duration" },
4934
+ {
4935
+ path: "draftPost.richContent.nodes.videoData.thumbnail.duration"
4936
+ },
4937
+ { path: "draftPost.richContent.nodes.audioData.audio.duration" },
4938
+ {
4939
+ path: "draftPost.richContent.nodes.audioData.coverImage.duration"
4940
+ },
4941
+ {
4942
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
4943
+ },
4944
+ {
4945
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
4946
+ },
4947
+ {
4948
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
4949
+ },
4950
+ {
4951
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
4952
+ },
4953
+ {
4954
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
4955
+ },
4956
+ {
4957
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
4958
+ },
4959
+ {
4960
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
4961
+ },
4962
+ {
4963
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
4964
+ },
4965
+ {
4966
+ path: "draftPost.richContent.nodes.layoutData.background.gradient.centerX"
4967
+ },
4968
+ {
4969
+ path: "draftPost.richContent.nodes.layoutData.background.gradient.centerY"
4970
+ },
4971
+ {
4972
+ path: "draftPost.richContent.nodes.layoutData.background.gradient.stops.position"
4973
+ },
4974
+ {
4975
+ path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX"
4976
+ },
4977
+ {
4978
+ path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY"
4979
+ },
4980
+ {
4981
+ path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position"
4982
+ },
4983
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" },
4984
+ {
4985
+ path: "draftPost.richContent.nodes.cardData.background.gradient.centerX"
4986
+ },
4987
+ {
4988
+ path: "draftPost.richContent.nodes.cardData.background.gradient.centerY"
4989
+ },
4990
+ {
4991
+ path: "draftPost.richContent.nodes.cardData.background.gradient.stops.position"
4992
+ },
4993
+ {
4994
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
4995
+ },
4996
+ {
4997
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
4998
+ },
4999
+ {
5000
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
5001
+ },
5002
+ {
5003
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
5004
+ },
5005
+ { path: "draftPost.richContent.nodes.tocData.fontSize" },
5006
+ { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
5007
+ {
5008
+ path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
5009
+ },
5010
+ {
5011
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
5012
+ },
5013
+ {
5014
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
5015
+ },
5016
+ {
5017
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
5018
+ },
5019
+ {
5020
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
5021
+ },
5022
+ {
5023
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
5024
+ },
5025
+ {
5026
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
5027
+ },
5028
+ {
5029
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
5030
+ },
5031
+ {
5032
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
5033
+ },
5034
+ {
5035
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
5036
+ },
5037
+ {
5038
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
5039
+ },
5040
+ {
5041
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
5042
+ },
5043
+ {
5044
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
5045
+ },
5046
+ {
5047
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
5048
+ },
5049
+ {
5050
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
5051
+ },
5052
+ {
5053
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
5054
+ },
5055
+ {
5056
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
5057
+ },
5058
+ {
5059
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
5060
+ },
5061
+ {
5062
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
5063
+ },
5064
+ {
5065
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
5066
+ },
5067
+ {
5068
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
5069
+ },
5070
+ {
5071
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
5072
+ },
5073
+ {
5074
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
5075
+ },
5076
+ {
5077
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
5078
+ },
5079
+ {
5080
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
5081
+ },
5082
+ {
5083
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
5084
+ },
5085
+ {
5086
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
5087
+ },
5088
+ {
5089
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
5090
+ },
5091
+ {
5092
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
5093
+ },
5094
+ {
5095
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
5096
+ },
5097
+ {
5098
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
5099
+ },
5100
+ {
5101
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
5102
+ },
5103
+ {
5104
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
5105
+ },
5106
+ {
5107
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
5108
+ },
5109
+ {
5110
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
5111
+ },
5112
+ {
5113
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
5114
+ },
5115
+ {
5116
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
5117
+ },
5118
+ {
5119
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
5120
+ },
5121
+ {
5122
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
5123
+ },
5124
+ {
5125
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
5126
+ },
5127
+ {
5128
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
5129
+ },
5130
+ {
5131
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
5132
+ },
5133
+ {
5134
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
5135
+ },
5136
+ {
5137
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
5138
+ },
5139
+ {
5140
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
5141
+ },
5142
+ {
5143
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
5144
+ },
5145
+ {
5146
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
5147
+ },
5148
+ {
5149
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
5150
+ },
5151
+ {
5152
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
5153
+ },
5154
+ {
5155
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
5156
+ },
5157
+ {
5158
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
5159
+ },
5160
+ {
5161
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
5162
+ },
5163
+ {
5164
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
5165
+ },
5166
+ {
5167
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
5168
+ },
5169
+ {
5170
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
5171
+ }
5172
+ ]
5173
+ }
5174
+ ])
5175
+ };
5176
+ return metadata;
5177
+ }
5178
+ return __getDeletedDraftPost;
5179
+ }
5180
+ function restoreFromTrashBin(payload) {
5181
+ function __restoreFromTrashBin({ host }) {
5182
+ const metadata = {
5183
+ entityFqdn: "wix.blog.v3.draft",
5184
+ method: "POST",
5185
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RestoreFromTrashBin",
5186
+ packageName: PACKAGE_NAME,
5187
+ migrationOptions: {
5188
+ optInTransformResponse: true
5189
+ },
5190
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
5191
+ {
5192
+ protoPath: "/v3/draft-posts/trash-bin/{draftPostId}/restore",
5193
+ data: payload,
5194
+ host
5195
+ }
5196
+ ),
5197
+ data: payload,
5198
+ transformResponse: (payload2) => transformPaths(payload2, [
5199
+ {
5200
+ transformFn: transformRESTTimestampToSDKTimestamp,
5201
+ paths: [
5202
+ { path: "draftPost.editedDate" },
5203
+ { path: "draftPost.scheduledPublishDate" },
5204
+ { path: "draftPost.firstPublishedDate" },
5205
+ { path: "draftPost.createdDate" },
5206
+ { path: "draftPost.heroImage.urlExpirationDate" },
5207
+ { path: "draftPost.richContent.metadata.createdTimestamp" },
5208
+ { path: "draftPost.richContent.metadata.updatedTimestamp" },
5209
+ { path: "draftPost.moderationDetails.submittedDate" },
5210
+ { path: "draftPost.moderationDetails.moderationDate" },
5211
+ { path: "draftPost.media.wixMedia.image.urlExpirationDate" },
5212
+ { path: "draftPost.media.wixMedia.videoV2.urlExpirationDate" },
5213
+ {
5214
+ path: "draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate"
5215
+ },
5216
+ {
5217
+ path: "draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
5218
+ },
5219
+ {
5220
+ path: "draftPost.media.wixMedia.videoV2.posters.urlExpirationDate"
5221
+ }
5222
+ ]
5223
+ },
5224
+ {
5225
+ transformFn: transformRESTFloatToSDKFloat,
5226
+ paths: [
5227
+ { path: "draftPost.heroImage.focalPoint.x" },
5228
+ { path: "draftPost.heroImage.focalPoint.y" },
5229
+ { path: "draftPost.media.wixMedia.image.focalPoint.x" },
5230
+ { path: "draftPost.media.wixMedia.image.focalPoint.y" },
5231
+ {
5232
+ path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
5233
+ },
5234
+ {
5235
+ path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
5236
+ },
5237
+ { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.x" },
5238
+ { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.y" },
5239
+ {
5240
+ path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX"
5241
+ },
5242
+ {
5243
+ path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY"
5244
+ },
5245
+ {
5246
+ path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position"
5247
+ },
5248
+ {
5249
+ path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
5250
+ },
5251
+ {
5252
+ path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
5253
+ },
5254
+ {
5255
+ path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
5256
+ },
5257
+ {
5258
+ path: "draftPost.richContent.nodes.galleryData.items.image.media.duration"
5259
+ },
5260
+ {
5261
+ path: "draftPost.richContent.nodes.galleryData.items.video.media.duration"
5262
+ },
5263
+ {
5264
+ path: "draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration"
5265
+ },
5266
+ {
5267
+ path: "draftPost.richContent.nodes.galleryData.options.item.ratio"
5268
+ },
5269
+ { path: "draftPost.richContent.nodes.imageData.image.duration" },
5270
+ { path: "draftPost.richContent.nodes.imageData.crop.x" },
5271
+ { path: "draftPost.richContent.nodes.imageData.crop.y" },
5272
+ { path: "draftPost.richContent.nodes.imageData.crop.width" },
5273
+ { path: "draftPost.richContent.nodes.imageData.crop.height" },
5274
+ { path: "draftPost.richContent.nodes.mapData.mapSettings.lat" },
5275
+ { path: "draftPost.richContent.nodes.mapData.mapSettings.lng" },
5276
+ {
5277
+ path: "draftPost.richContent.nodes.pollData.poll.image.duration"
5278
+ },
5279
+ {
5280
+ path: "draftPost.richContent.nodes.pollData.poll.options.image.duration"
5281
+ },
5282
+ {
5283
+ path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
5284
+ },
5285
+ {
5286
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
5287
+ },
5288
+ {
5289
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
5290
+ },
5291
+ {
5292
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
5293
+ },
5294
+ {
5295
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
5296
+ },
5297
+ {
5298
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
5299
+ },
5300
+ {
5301
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
5302
+ },
5303
+ {
5304
+ path: "draftPost.richContent.nodes.appEmbedData.image.duration"
5305
+ },
5306
+ { path: "draftPost.richContent.nodes.videoData.video.duration" },
5307
+ {
5308
+ path: "draftPost.richContent.nodes.videoData.thumbnail.duration"
5309
+ },
5310
+ { path: "draftPost.richContent.nodes.audioData.audio.duration" },
5311
+ {
5312
+ path: "draftPost.richContent.nodes.audioData.coverImage.duration"
5313
+ },
5314
+ {
5315
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
5316
+ },
5317
+ {
5318
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
5319
+ },
5320
+ {
5321
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
5322
+ },
5323
+ {
5324
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
5325
+ },
5326
+ {
5327
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
5328
+ },
5329
+ {
5330
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
5331
+ },
5332
+ {
5333
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
5334
+ },
5335
+ {
5336
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
5337
+ },
5338
+ {
5339
+ path: "draftPost.richContent.nodes.layoutData.background.gradient.centerX"
5340
+ },
5341
+ {
5342
+ path: "draftPost.richContent.nodes.layoutData.background.gradient.centerY"
5343
+ },
5344
+ {
5345
+ path: "draftPost.richContent.nodes.layoutData.background.gradient.stops.position"
5346
+ },
5347
+ {
5348
+ path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX"
5349
+ },
5350
+ {
5351
+ path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY"
5352
+ },
5353
+ {
5354
+ path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position"
5355
+ },
5356
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" },
5357
+ {
5358
+ path: "draftPost.richContent.nodes.cardData.background.gradient.centerX"
5359
+ },
5360
+ {
5361
+ path: "draftPost.richContent.nodes.cardData.background.gradient.centerY"
5362
+ },
5363
+ {
5364
+ path: "draftPost.richContent.nodes.cardData.background.gradient.stops.position"
5365
+ },
5366
+ {
5367
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
5368
+ },
5369
+ {
5370
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
5371
+ },
5372
+ {
5373
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
5374
+ },
5375
+ {
5376
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
5377
+ },
5378
+ { path: "draftPost.richContent.nodes.tocData.fontSize" },
5379
+ { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
5380
+ {
5381
+ path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
5382
+ },
5383
+ {
5384
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
5385
+ },
5386
+ {
5387
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
5388
+ },
5389
+ {
5390
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
5391
+ },
5392
+ {
5393
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
5394
+ },
5395
+ {
5396
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
5397
+ },
5398
+ {
5399
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
5400
+ },
5401
+ {
5402
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
5403
+ },
5404
+ {
5405
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
5406
+ },
5407
+ {
5408
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
5409
+ },
5410
+ {
5411
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
5412
+ },
5413
+ {
5414
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
5415
+ },
5416
+ {
5417
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
5418
+ },
5419
+ {
5420
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
5421
+ },
5422
+ {
5423
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
5424
+ },
5425
+ {
5426
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
5427
+ },
5428
+ {
5429
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
5430
+ },
5431
+ {
5432
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
5433
+ },
5434
+ {
5435
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
5436
+ },
5437
+ {
5438
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
5439
+ },
5440
+ {
5441
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
5442
+ },
5443
+ {
5444
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
5445
+ },
5446
+ {
5447
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
5448
+ },
5449
+ {
5450
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
5451
+ },
5452
+ {
5453
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
5454
+ },
5455
+ {
5456
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
5457
+ },
5458
+ {
5459
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
5460
+ },
5461
+ {
5462
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
5463
+ },
5464
+ {
5465
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
5466
+ },
5467
+ {
5468
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
5469
+ },
5470
+ {
5471
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
5472
+ },
5473
+ {
5474
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
5475
+ },
5476
+ {
5477
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
5478
+ },
5479
+ {
5480
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
5481
+ },
5482
+ {
5483
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
5484
+ },
5485
+ {
5486
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
5487
+ },
5488
+ {
5489
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
5490
+ },
5491
+ {
5492
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
5493
+ },
5494
+ {
5495
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
5496
+ },
5497
+ {
5498
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
5499
+ },
5500
+ {
5501
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
5502
+ },
5503
+ {
5504
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
5505
+ },
5506
+ {
5507
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
5508
+ },
5509
+ {
5510
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
5511
+ },
5512
+ {
5513
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
5514
+ },
5515
+ {
5516
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
5517
+ },
5518
+ {
5519
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
5520
+ },
5521
+ {
5522
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
5523
+ },
5524
+ {
5525
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
5526
+ },
5527
+ {
5528
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
5529
+ },
5530
+ {
5531
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
5532
+ },
5533
+ {
5534
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
5535
+ },
5536
+ {
5537
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
5538
+ },
5539
+ {
5540
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
5541
+ },
5542
+ {
5543
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
5544
+ }
5545
+ ]
5546
+ }
5547
+ ])
5548
+ };
5549
+ return metadata;
5550
+ }
5551
+ return __restoreFromTrashBin;
5552
+ }
5553
+ function queryDraftPosts(payload) {
5554
+ function __queryDraftPosts({ host }) {
5555
+ const serializedData = transformPaths(payload, [
5556
+ {
5557
+ transformFn: transformSDKFloatToRESTFloat,
5558
+ paths: [
5559
+ { path: "query.sort.origin.latitude" },
5560
+ { path: "query.sort.origin.longitude" }
5561
+ ]
5562
+ }
5563
+ ]);
5564
+ const metadata = {
5565
+ entityFqdn: "wix.blog.v3.draft",
5566
+ method: "POST",
5567
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.QueryDraftPosts",
5568
+ packageName: PACKAGE_NAME,
5569
+ migrationOptions: {
5570
+ optInTransformResponse: true
5571
+ },
5572
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
5573
+ { protoPath: "/v3/draft-posts/query", data: serializedData, host }
5574
+ ),
5575
+ data: serializedData,
5576
+ transformResponse: (payload2) => transformPaths(payload2, [
5577
+ {
5578
+ transformFn: transformRESTTimestampToSDKTimestamp,
5579
+ paths: [
5580
+ { path: "draftPosts.editedDate" },
5581
+ { path: "draftPosts.scheduledPublishDate" },
5582
+ { path: "draftPosts.firstPublishedDate" },
5583
+ { path: "draftPosts.createdDate" },
5584
+ { path: "draftPosts.heroImage.urlExpirationDate" },
5585
+ { path: "draftPosts.richContent.metadata.createdTimestamp" },
5586
+ { path: "draftPosts.richContent.metadata.updatedTimestamp" },
5587
+ { path: "draftPosts.moderationDetails.submittedDate" },
5588
+ { path: "draftPosts.moderationDetails.moderationDate" },
5589
+ { path: "draftPosts.media.wixMedia.image.urlExpirationDate" },
5590
+ { path: "draftPosts.media.wixMedia.videoV2.urlExpirationDate" },
5591
+ {
5592
+ path: "draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
5593
+ },
5594
+ {
5595
+ path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
5596
+ },
5597
+ {
5598
+ path: "draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate"
5599
+ }
5600
+ ]
5601
+ },
5602
+ {
5603
+ transformFn: transformRESTFloatToSDKFloat,
5604
+ paths: [
5605
+ { path: "draftPosts.heroImage.focalPoint.x" },
5606
+ { path: "draftPosts.heroImage.focalPoint.y" },
5607
+ { path: "draftPosts.media.wixMedia.image.focalPoint.x" },
5608
+ { path: "draftPosts.media.wixMedia.image.focalPoint.y" },
5609
+ {
5610
+ path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
5611
+ },
5612
+ {
5613
+ path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
5614
+ },
5615
+ {
5616
+ path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.x"
5617
+ },
5618
+ {
5619
+ path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.y"
5620
+ },
5621
+ {
5622
+ path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX"
5623
+ },
5624
+ {
5625
+ path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY"
5626
+ },
5627
+ {
5628
+ path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
5629
+ },
5630
+ {
5631
+ path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
5632
+ },
5633
+ {
5634
+ path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
5635
+ },
5636
+ {
5637
+ path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
5638
+ },
5639
+ {
5640
+ path: "draftPosts.richContent.nodes.galleryData.items.image.media.duration"
5641
+ },
5642
+ {
5643
+ path: "draftPosts.richContent.nodes.galleryData.items.video.media.duration"
5644
+ },
5645
+ {
5646
+ path: "draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration"
5647
+ },
5648
+ {
5649
+ path: "draftPosts.richContent.nodes.galleryData.options.item.ratio"
5650
+ },
5651
+ { path: "draftPosts.richContent.nodes.imageData.image.duration" },
5652
+ { path: "draftPosts.richContent.nodes.imageData.crop.x" },
5653
+ { path: "draftPosts.richContent.nodes.imageData.crop.y" },
5654
+ { path: "draftPosts.richContent.nodes.imageData.crop.width" },
5655
+ { path: "draftPosts.richContent.nodes.imageData.crop.height" },
5656
+ { path: "draftPosts.richContent.nodes.mapData.mapSettings.lat" },
5657
+ { path: "draftPosts.richContent.nodes.mapData.mapSettings.lng" },
5658
+ {
5659
+ path: "draftPosts.richContent.nodes.pollData.poll.image.duration"
5660
+ },
5661
+ {
5662
+ path: "draftPosts.richContent.nodes.pollData.poll.options.image.duration"
5663
+ },
5664
+ {
5665
+ path: "draftPosts.richContent.nodes.pollData.design.poll.background.image.duration"
5666
+ },
5667
+ {
5668
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
5669
+ },
5670
+ {
5671
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
5672
+ },
5673
+ {
5674
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
5675
+ },
5676
+ {
5677
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
5678
+ },
5679
+ {
5680
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
5681
+ },
5682
+ {
5683
+ path: "draftPosts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
5684
+ },
5685
+ {
5686
+ path: "draftPosts.richContent.nodes.appEmbedData.image.duration"
5687
+ },
5688
+ { path: "draftPosts.richContent.nodes.videoData.video.duration" },
5689
+ {
5690
+ path: "draftPosts.richContent.nodes.videoData.thumbnail.duration"
5691
+ },
5692
+ { path: "draftPosts.richContent.nodes.audioData.audio.duration" },
5693
+ {
5694
+ path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
5695
+ },
5696
+ {
5697
+ path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
5698
+ },
5699
+ {
5700
+ path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
5701
+ },
5702
+ {
5703
+ path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
5704
+ },
5705
+ {
5706
+ path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
5707
+ },
5708
+ {
5709
+ path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
5710
+ },
5711
+ {
5712
+ path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
5713
+ },
5714
+ {
5715
+ path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
5716
+ },
5717
+ {
5718
+ path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
5719
+ },
5720
+ {
5721
+ path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerX"
5722
+ },
5723
+ {
5724
+ path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerY"
5725
+ },
5726
+ {
5727
+ path: "draftPosts.richContent.nodes.layoutData.background.gradient.stops.position"
5728
+ },
5729
+ {
5730
+ path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX"
5731
+ },
5732
+ {
5733
+ path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY"
5734
+ },
5735
+ {
5736
+ path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
5737
+ },
5738
+ { path: "draftPosts.richContent.nodes.shapeData.shape.duration" },
5739
+ {
5740
+ path: "draftPosts.richContent.nodes.cardData.background.gradient.centerX"
5741
+ },
5742
+ {
5743
+ path: "draftPosts.richContent.nodes.cardData.background.gradient.centerY"
5744
+ },
5745
+ {
5746
+ path: "draftPosts.richContent.nodes.cardData.background.gradient.stops.position"
5747
+ },
5748
+ {
5749
+ path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
5750
+ },
5751
+ {
5752
+ path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
5753
+ },
5754
+ {
5755
+ path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
5756
+ },
5757
+ {
5758
+ path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
5759
+ },
5760
+ { path: "draftPosts.richContent.nodes.tocData.fontSize" },
5761
+ { path: "draftPosts.richContent.nodes.tocData.itemSpacing" },
5762
+ {
5763
+ path: "draftPosts.richContent.nodes.smartBlockCellData.shape.duration"
2326
5764
  },
2327
5765
  {
2328
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
5766
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
2329
5767
  },
2330
5768
  {
2331
- path: "draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate"
2332
- }
2333
- ]
2334
- },
2335
- {
2336
- transformFn: transformRESTFloatToSDKFloat,
2337
- paths: [
2338
- { path: "draftPosts.heroImage.focalPoint.x" },
2339
- { path: "draftPosts.heroImage.focalPoint.y" },
2340
- { path: "draftPosts.media.wixMedia.image.focalPoint.x" },
2341
- { path: "draftPosts.media.wixMedia.image.focalPoint.y" },
5769
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
5770
+ },
2342
5771
  {
2343
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
5772
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
2344
5773
  },
2345
5774
  {
2346
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
5775
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
2347
5776
  },
2348
5777
  {
2349
- path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.x"
5778
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
2350
5779
  },
2351
5780
  {
2352
- path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.y"
5781
+ path: "draftPosts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
2353
5782
  },
2354
5783
  {
2355
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX"
5784
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
2356
5785
  },
2357
5786
  {
2358
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY"
5787
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
2359
5788
  },
2360
5789
  {
2361
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
5790
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
2362
5791
  },
2363
5792
  {
2364
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
5793
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
2365
5794
  },
2366
5795
  {
2367
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
5796
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
2368
5797
  },
2369
5798
  {
2370
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
5799
+ path: "draftPosts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
2371
5800
  },
2372
5801
  {
2373
- path: "draftPosts.richContent.nodes.galleryData.items.image.media.duration"
5802
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
2374
5803
  },
2375
5804
  {
2376
- path: "draftPosts.richContent.nodes.galleryData.items.video.media.duration"
5805
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
2377
5806
  },
2378
5807
  {
2379
- path: "draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration"
5808
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
2380
5809
  },
2381
5810
  {
2382
- path: "draftPosts.richContent.nodes.galleryData.options.item.ratio"
5811
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
2383
5812
  },
2384
- { path: "draftPosts.richContent.nodes.imageData.image.duration" },
2385
- { path: "draftPosts.richContent.nodes.imageData.crop.x" },
2386
- { path: "draftPosts.richContent.nodes.imageData.crop.y" },
2387
- { path: "draftPosts.richContent.nodes.imageData.crop.width" },
2388
- { path: "draftPosts.richContent.nodes.imageData.crop.height" },
2389
- { path: "draftPosts.richContent.nodes.mapData.mapSettings.lat" },
2390
- { path: "draftPosts.richContent.nodes.mapData.mapSettings.lng" },
2391
5813
  {
2392
- path: "draftPosts.richContent.nodes.pollData.poll.image.duration"
5814
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
2393
5815
  },
2394
5816
  {
2395
- path: "draftPosts.richContent.nodes.pollData.poll.options.image.duration"
5817
+ path: "draftPosts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
2396
5818
  },
2397
5819
  {
2398
- path: "draftPosts.richContent.nodes.pollData.design.poll.background.image.duration"
5820
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
2399
5821
  },
2400
5822
  {
2401
- path: "draftPosts.richContent.nodes.appEmbedData.image.duration"
5823
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
2402
5824
  },
2403
- { path: "draftPosts.richContent.nodes.videoData.video.duration" },
2404
5825
  {
2405
- path: "draftPosts.richContent.nodes.videoData.thumbnail.duration"
5826
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
2406
5827
  },
2407
- { path: "draftPosts.richContent.nodes.audioData.audio.duration" },
2408
5828
  {
2409
- path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
5829
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
2410
5830
  },
2411
5831
  {
2412
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
5832
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
2413
5833
  },
2414
5834
  {
2415
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
5835
+ path: "draftPosts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
2416
5836
  },
2417
5837
  {
2418
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
5838
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
2419
5839
  },
2420
5840
  {
2421
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
5841
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
2422
5842
  },
2423
5843
  {
2424
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
5844
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
2425
5845
  },
2426
5846
  {
2427
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
5847
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
2428
5848
  },
2429
5849
  {
2430
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
5850
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
2431
5851
  },
2432
5852
  {
2433
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
5853
+ path: "draftPosts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
2434
5854
  },
2435
5855
  {
2436
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerX"
5856
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
2437
5857
  },
2438
5858
  {
2439
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerY"
5859
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
2440
5860
  },
2441
5861
  {
2442
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.stops.position"
5862
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
2443
5863
  },
2444
5864
  {
2445
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX"
5865
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
2446
5866
  },
2447
5867
  {
2448
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY"
5868
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
2449
5869
  },
2450
5870
  {
2451
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
5871
+ path: "draftPosts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
2452
5872
  },
2453
- { path: "draftPosts.richContent.nodes.shapeData.shape.duration" },
2454
5873
  {
2455
- path: "draftPosts.richContent.nodes.cardData.background.gradient.centerX"
5874
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
2456
5875
  },
2457
5876
  {
2458
- path: "draftPosts.richContent.nodes.cardData.background.gradient.centerY"
5877
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
2459
5878
  },
2460
5879
  {
2461
- path: "draftPosts.richContent.nodes.cardData.background.gradient.stops.position"
5880
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
2462
5881
  },
2463
5882
  {
2464
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
5883
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
2465
5884
  },
2466
5885
  {
2467
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
5886
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
2468
5887
  },
2469
5888
  {
2470
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
5889
+ path: "draftPosts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
2471
5890
  },
2472
5891
  {
2473
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
5892
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
2474
5893
  },
2475
- { path: "draftPosts.richContent.nodes.tocData.fontSize" },
2476
- { path: "draftPosts.richContent.nodes.tocData.itemSpacing" },
2477
5894
  {
2478
- path: "draftPosts.richContent.nodes.smartBlockCellData.shape.duration"
5895
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
5896
+ },
5897
+ {
5898
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
5899
+ },
5900
+ {
5901
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
5902
+ },
5903
+ {
5904
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
5905
+ },
5906
+ {
5907
+ path: "draftPosts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
5908
+ },
5909
+ {
5910
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
5911
+ },
5912
+ {
5913
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
5914
+ },
5915
+ {
5916
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
5917
+ },
5918
+ {
5919
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
5920
+ },
5921
+ {
5922
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
5923
+ },
5924
+ {
5925
+ path: "draftPosts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
2479
5926
  }
2480
5927
  ]
2481
5928
  }
@@ -2483,26 +5930,45 @@ function listDraftPosts(payload) {
2483
5930
  };
2484
5931
  return metadata;
2485
5932
  }
2486
- return __listDraftPosts;
5933
+ return __queryDraftPosts;
2487
5934
  }
2488
- function getDeletedDraftPost(payload) {
2489
- function __getDeletedDraftPost({ host }) {
5935
+ function publishDraftPost(payload) {
5936
+ function __publishDraftPost({ host }) {
2490
5937
  const metadata = {
2491
5938
  entityFqdn: "wix.blog.v3.draft",
2492
- method: "GET",
2493
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDeletedDraftPost",
5939
+ method: "POST",
5940
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost",
2494
5941
  packageName: PACKAGE_NAME,
2495
5942
  migrationOptions: {
2496
5943
  optInTransformResponse: true
2497
5944
  },
2498
5945
  url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
2499
5946
  {
2500
- protoPath: "/v3/draft-posts/trash-bin/{draftPostId}",
5947
+ protoPath: "/v3/draft-posts/{draftPostId}/publish",
2501
5948
  data: payload,
2502
5949
  host
2503
5950
  }
2504
5951
  ),
2505
- params: toURLSearchParams(payload),
5952
+ data: payload
5953
+ };
5954
+ return metadata;
5955
+ }
5956
+ return __publishDraftPost;
5957
+ }
5958
+ function translateDraft(payload) {
5959
+ function __translateDraft({ host }) {
5960
+ const metadata = {
5961
+ entityFqdn: "wix.blog.v3.draft",
5962
+ method: "POST",
5963
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.BlogMultilingualService.TranslateDraft",
5964
+ packageName: PACKAGE_NAME,
5965
+ migrationOptions: {
5966
+ optInTransformResponse: true
5967
+ },
5968
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3BlogMultilingualServiceUrl(
5969
+ { protoPath: "/v3/multilingual/draft/{postId}", data: payload, host }
5970
+ ),
5971
+ data: payload,
2506
5972
  transformResponse: (payload2) => transformPaths(payload2, [
2507
5973
  {
2508
5974
  transformFn: transformRESTTimestampToSDKTimestamp,
@@ -2590,6 +6056,24 @@ function getDeletedDraftPost(payload) {
2590
6056
  {
2591
6057
  path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
2592
6058
  },
6059
+ {
6060
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
6061
+ },
6062
+ {
6063
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
6064
+ },
6065
+ {
6066
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
6067
+ },
6068
+ {
6069
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
6070
+ },
6071
+ {
6072
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
6073
+ },
6074
+ {
6075
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
6076
+ },
2593
6077
  {
2594
6078
  path: "draftPost.richContent.nodes.appEmbedData.image.duration"
2595
6079
  },
@@ -2669,6 +6153,168 @@ function getDeletedDraftPost(payload) {
2669
6153
  { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
2670
6154
  {
2671
6155
  path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
6156
+ },
6157
+ {
6158
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
6159
+ },
6160
+ {
6161
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
6162
+ },
6163
+ {
6164
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
6165
+ },
6166
+ {
6167
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
6168
+ },
6169
+ {
6170
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
6171
+ },
6172
+ {
6173
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
6174
+ },
6175
+ {
6176
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
6177
+ },
6178
+ {
6179
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
6180
+ },
6181
+ {
6182
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
6183
+ },
6184
+ {
6185
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
6186
+ },
6187
+ {
6188
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
6189
+ },
6190
+ {
6191
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
6192
+ },
6193
+ {
6194
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
6195
+ },
6196
+ {
6197
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
6198
+ },
6199
+ {
6200
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
6201
+ },
6202
+ {
6203
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
6204
+ },
6205
+ {
6206
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
6207
+ },
6208
+ {
6209
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
6210
+ },
6211
+ {
6212
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
6213
+ },
6214
+ {
6215
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
6216
+ },
6217
+ {
6218
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
6219
+ },
6220
+ {
6221
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
6222
+ },
6223
+ {
6224
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
6225
+ },
6226
+ {
6227
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
6228
+ },
6229
+ {
6230
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
6231
+ },
6232
+ {
6233
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
6234
+ },
6235
+ {
6236
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
6237
+ },
6238
+ {
6239
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
6240
+ },
6241
+ {
6242
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
6243
+ },
6244
+ {
6245
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
6246
+ },
6247
+ {
6248
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
6249
+ },
6250
+ {
6251
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
6252
+ },
6253
+ {
6254
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
6255
+ },
6256
+ {
6257
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
6258
+ },
6259
+ {
6260
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
6261
+ },
6262
+ {
6263
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
6264
+ },
6265
+ {
6266
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
6267
+ },
6268
+ {
6269
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
6270
+ },
6271
+ {
6272
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
6273
+ },
6274
+ {
6275
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
6276
+ },
6277
+ {
6278
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
6279
+ },
6280
+ {
6281
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
6282
+ },
6283
+ {
6284
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
6285
+ },
6286
+ {
6287
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
6288
+ },
6289
+ {
6290
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
6291
+ },
6292
+ {
6293
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
6294
+ },
6295
+ {
6296
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
6297
+ },
6298
+ {
6299
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
6300
+ },
6301
+ {
6302
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
6303
+ },
6304
+ {
6305
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
6306
+ },
6307
+ {
6308
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
6309
+ },
6310
+ {
6311
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
6312
+ },
6313
+ {
6314
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
6315
+ },
6316
+ {
6317
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
2672
6318
  }
2673
6319
  ]
2674
6320
  }
@@ -2676,21 +6322,21 @@ function getDeletedDraftPost(payload) {
2676
6322
  };
2677
6323
  return metadata;
2678
6324
  }
2679
- return __getDeletedDraftPost;
6325
+ return __translateDraft;
2680
6326
  }
2681
- function restoreFromTrashBin(payload) {
2682
- function __restoreFromTrashBin({ host }) {
6327
+ function updateDraftPostLanguage(payload) {
6328
+ function __updateDraftPostLanguage({ host }) {
2683
6329
  const metadata = {
2684
6330
  entityFqdn: "wix.blog.v3.draft",
2685
6331
  method: "POST",
2686
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RestoreFromTrashBin",
6332
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.BlogMultilingualService.UpdateDraftPostLanguage",
2687
6333
  packageName: PACKAGE_NAME,
2688
6334
  migrationOptions: {
2689
6335
  optInTransformResponse: true
2690
6336
  },
2691
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
6337
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3BlogMultilingualServiceUrl(
2692
6338
  {
2693
- protoPath: "/v3/draft-posts/trash-bin/{draftPostId}/restore",
6339
+ protoPath: "/v3/multilingual/update-draft-post-language/{postId}",
2694
6340
  data: payload,
2695
6341
  host
2696
6342
  }
@@ -2775,13 +6421,31 @@ function restoreFromTrashBin(payload) {
2775
6421
  { path: "draftPost.richContent.nodes.mapData.mapSettings.lat" },
2776
6422
  { path: "draftPost.richContent.nodes.mapData.mapSettings.lng" },
2777
6423
  {
2778
- path: "draftPost.richContent.nodes.pollData.poll.image.duration"
6424
+ path: "draftPost.richContent.nodes.pollData.poll.image.duration"
6425
+ },
6426
+ {
6427
+ path: "draftPost.richContent.nodes.pollData.poll.options.image.duration"
6428
+ },
6429
+ {
6430
+ path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
6431
+ },
6432
+ {
6433
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
6434
+ },
6435
+ {
6436
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
6437
+ },
6438
+ {
6439
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
2779
6440
  },
2780
6441
  {
2781
- path: "draftPost.richContent.nodes.pollData.poll.options.image.duration"
6442
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
2782
6443
  },
2783
6444
  {
2784
- path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
6445
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
6446
+ },
6447
+ {
6448
+ path: "draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
2785
6449
  },
2786
6450
  {
2787
6451
  path: "draftPost.richContent.nodes.appEmbedData.image.duration"
@@ -2862,208 +6526,168 @@ function restoreFromTrashBin(payload) {
2862
6526
  { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
2863
6527
  {
2864
6528
  path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
2865
- }
2866
- ]
2867
- }
2868
- ])
2869
- };
2870
- return metadata;
2871
- }
2872
- return __restoreFromTrashBin;
2873
- }
2874
- function queryDraftPosts(payload) {
2875
- function __queryDraftPosts({ host }) {
2876
- const serializedData = transformPaths(payload, [
2877
- {
2878
- transformFn: transformSDKFloatToRESTFloat,
2879
- paths: [
2880
- { path: "query.sort.origin.latitude" },
2881
- { path: "query.sort.origin.longitude" }
2882
- ]
2883
- }
2884
- ]);
2885
- const metadata = {
2886
- entityFqdn: "wix.blog.v3.draft",
2887
- method: "POST",
2888
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.QueryDraftPosts",
2889
- packageName: PACKAGE_NAME,
2890
- migrationOptions: {
2891
- optInTransformResponse: true
2892
- },
2893
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
2894
- { protoPath: "/v3/draft-posts/query", data: serializedData, host }
2895
- ),
2896
- data: serializedData,
2897
- transformResponse: (payload2) => transformPaths(payload2, [
2898
- {
2899
- transformFn: transformRESTTimestampToSDKTimestamp,
2900
- paths: [
2901
- { path: "draftPosts.editedDate" },
2902
- { path: "draftPosts.scheduledPublishDate" },
2903
- { path: "draftPosts.firstPublishedDate" },
2904
- { path: "draftPosts.createdDate" },
2905
- { path: "draftPosts.heroImage.urlExpirationDate" },
2906
- { path: "draftPosts.richContent.metadata.createdTimestamp" },
2907
- { path: "draftPosts.richContent.metadata.updatedTimestamp" },
2908
- { path: "draftPosts.moderationDetails.submittedDate" },
2909
- { path: "draftPosts.moderationDetails.moderationDate" },
2910
- { path: "draftPosts.media.wixMedia.image.urlExpirationDate" },
2911
- { path: "draftPosts.media.wixMedia.videoV2.urlExpirationDate" },
6529
+ },
2912
6530
  {
2913
- path: "draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
6531
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
2914
6532
  },
2915
6533
  {
2916
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
6534
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
2917
6535
  },
2918
6536
  {
2919
- path: "draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate"
2920
- }
2921
- ]
2922
- },
2923
- {
2924
- transformFn: transformRESTFloatToSDKFloat,
2925
- paths: [
2926
- { path: "draftPosts.heroImage.focalPoint.x" },
2927
- { path: "draftPosts.heroImage.focalPoint.y" },
2928
- { path: "draftPosts.media.wixMedia.image.focalPoint.x" },
2929
- { path: "draftPosts.media.wixMedia.image.focalPoint.y" },
6537
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
6538
+ },
2930
6539
  {
2931
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
6540
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
2932
6541
  },
2933
6542
  {
2934
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
6543
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
2935
6544
  },
2936
6545
  {
2937
- path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.x"
6546
+ path: "draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
2938
6547
  },
2939
6548
  {
2940
- path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.y"
6549
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
2941
6550
  },
2942
6551
  {
2943
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX"
6552
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
2944
6553
  },
2945
6554
  {
2946
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY"
6555
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
2947
6556
  },
2948
6557
  {
2949
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
6558
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
2950
6559
  },
2951
6560
  {
2952
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
6561
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
2953
6562
  },
2954
6563
  {
2955
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
6564
+ path: "draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
2956
6565
  },
2957
6566
  {
2958
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
6567
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
2959
6568
  },
2960
6569
  {
2961
- path: "draftPosts.richContent.nodes.galleryData.items.image.media.duration"
6570
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
2962
6571
  },
2963
6572
  {
2964
- path: "draftPosts.richContent.nodes.galleryData.items.video.media.duration"
6573
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
2965
6574
  },
2966
6575
  {
2967
- path: "draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration"
6576
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
2968
6577
  },
2969
6578
  {
2970
- path: "draftPosts.richContent.nodes.galleryData.options.item.ratio"
6579
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
2971
6580
  },
2972
- { path: "draftPosts.richContent.nodes.imageData.image.duration" },
2973
- { path: "draftPosts.richContent.nodes.imageData.crop.x" },
2974
- { path: "draftPosts.richContent.nodes.imageData.crop.y" },
2975
- { path: "draftPosts.richContent.nodes.imageData.crop.width" },
2976
- { path: "draftPosts.richContent.nodes.imageData.crop.height" },
2977
- { path: "draftPosts.richContent.nodes.mapData.mapSettings.lat" },
2978
- { path: "draftPosts.richContent.nodes.mapData.mapSettings.lng" },
2979
6581
  {
2980
- path: "draftPosts.richContent.nodes.pollData.poll.image.duration"
6582
+ path: "draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
2981
6583
  },
2982
6584
  {
2983
- path: "draftPosts.richContent.nodes.pollData.poll.options.image.duration"
6585
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
2984
6586
  },
2985
6587
  {
2986
- path: "draftPosts.richContent.nodes.pollData.design.poll.background.image.duration"
6588
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
2987
6589
  },
2988
6590
  {
2989
- path: "draftPosts.richContent.nodes.appEmbedData.image.duration"
6591
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
2990
6592
  },
2991
- { path: "draftPosts.richContent.nodes.videoData.video.duration" },
2992
6593
  {
2993
- path: "draftPosts.richContent.nodes.videoData.thumbnail.duration"
6594
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
2994
6595
  },
2995
- { path: "draftPosts.richContent.nodes.audioData.audio.duration" },
2996
6596
  {
2997
- path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
6597
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
2998
6598
  },
2999
6599
  {
3000
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
6600
+ path: "draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
3001
6601
  },
3002
6602
  {
3003
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
6603
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
3004
6604
  },
3005
6605
  {
3006
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
6606
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
3007
6607
  },
3008
6608
  {
3009
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
6609
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
3010
6610
  },
3011
6611
  {
3012
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
6612
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
3013
6613
  },
3014
6614
  {
3015
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
6615
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
3016
6616
  },
3017
6617
  {
3018
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
6618
+ path: "draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
3019
6619
  },
3020
6620
  {
3021
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
6621
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
3022
6622
  },
3023
6623
  {
3024
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerX"
6624
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
3025
6625
  },
3026
6626
  {
3027
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerY"
6627
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
3028
6628
  },
3029
6629
  {
3030
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.stops.position"
6630
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
3031
6631
  },
3032
6632
  {
3033
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX"
6633
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
3034
6634
  },
3035
6635
  {
3036
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY"
6636
+ path: "draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
3037
6637
  },
3038
6638
  {
3039
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
6639
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
3040
6640
  },
3041
- { path: "draftPosts.richContent.nodes.shapeData.shape.duration" },
3042
6641
  {
3043
- path: "draftPosts.richContent.nodes.cardData.background.gradient.centerX"
6642
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
3044
6643
  },
3045
6644
  {
3046
- path: "draftPosts.richContent.nodes.cardData.background.gradient.centerY"
6645
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
3047
6646
  },
3048
6647
  {
3049
- path: "draftPosts.richContent.nodes.cardData.background.gradient.stops.position"
6648
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
3050
6649
  },
3051
6650
  {
3052
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
6651
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
3053
6652
  },
3054
6653
  {
3055
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
6654
+ path: "draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
3056
6655
  },
3057
6656
  {
3058
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
6657
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
3059
6658
  },
3060
6659
  {
3061
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
6660
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
3062
6661
  },
3063
- { path: "draftPosts.richContent.nodes.tocData.fontSize" },
3064
- { path: "draftPosts.richContent.nodes.tocData.itemSpacing" },
3065
6662
  {
3066
- path: "draftPosts.richContent.nodes.smartBlockCellData.shape.duration"
6663
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
6664
+ },
6665
+ {
6666
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
6667
+ },
6668
+ {
6669
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
6670
+ },
6671
+ {
6672
+ path: "draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
6673
+ },
6674
+ {
6675
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
6676
+ },
6677
+ {
6678
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
6679
+ },
6680
+ {
6681
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
6682
+ },
6683
+ {
6684
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
6685
+ },
6686
+ {
6687
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
6688
+ },
6689
+ {
6690
+ path: "draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
3067
6691
  }
3068
6692
  ]
3069
6693
  }
@@ -3071,30 +6695,7 @@ function queryDraftPosts(payload) {
3071
6695
  };
3072
6696
  return metadata;
3073
6697
  }
3074
- return __queryDraftPosts;
3075
- }
3076
- function publishDraftPost(payload) {
3077
- function __publishDraftPost({ host }) {
3078
- const metadata = {
3079
- entityFqdn: "wix.blog.v3.draft",
3080
- method: "POST",
3081
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost",
3082
- packageName: PACKAGE_NAME,
3083
- migrationOptions: {
3084
- optInTransformResponse: true
3085
- },
3086
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
3087
- {
3088
- protoPath: "/v3/draft-posts/{draftPostId}/publish",
3089
- data: payload,
3090
- host
3091
- }
3092
- ),
3093
- data: payload
3094
- };
3095
- return metadata;
3096
- }
3097
- return __publishDraftPost;
6698
+ return __updateDraftPostLanguage;
3098
6699
  }
3099
6700
 
3100
6701
  // src/blog-v3-draft-draft-posts.universal.ts
@@ -3185,6 +6786,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
3185
6786
  NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
3186
6787
  NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
3187
6788
  NodeType2["CHECKBOX_LIST"] = "CHECKBOX_LIST";
6789
+ NodeType2["SLOT"] = "SLOT";
3188
6790
  return NodeType2;
3189
6791
  })(NodeType || {});
3190
6792
  var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
@@ -3416,6 +7018,11 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
3416
7018
  DecorationType2["SKETCH"] = "SKETCH";
3417
7019
  return DecorationType2;
3418
7020
  })(DecorationType || {});
7021
+ var ColorDataBackgroundType = /* @__PURE__ */ ((ColorDataBackgroundType2) => {
7022
+ ColorDataBackgroundType2["COLOR"] = "COLOR";
7023
+ ColorDataBackgroundType2["GRADIENT"] = "GRADIENT";
7024
+ return ColorDataBackgroundType2;
7025
+ })(ColorDataBackgroundType || {});
3419
7026
  var FontType = /* @__PURE__ */ ((FontType2) => {
3420
7027
  FontType2["PX"] = "PX";
3421
7028
  FontType2["EM"] = "EM";
@@ -4554,6 +8161,110 @@ async function publishDraftPost2(draftPostId) {
4554
8161
  throw transformedError;
4555
8162
  }
4556
8163
  }
8164
+ async function translateDraft2(postId, language, options) {
8165
+ const { httpClient, sideEffects } = arguments[3];
8166
+ const payload = renameKeysFromSDKRequestToRESTRequest(
8167
+ { postId, language, fieldsets: options?.fieldsets },
8168
+ []
8169
+ );
8170
+ const reqOpts = translateDraft(payload);
8171
+ sideEffects?.onSiteCall?.();
8172
+ try {
8173
+ const result = await httpClient.request(reqOpts);
8174
+ sideEffects?.onSuccess?.(result);
8175
+ return renameKeysFromRESTResponseToSDKResponse(
8176
+ transformPaths2(result.data, [
8177
+ {
8178
+ transformFn: transformRESTImageToSDKImage,
8179
+ paths: [
8180
+ { path: "draftPost.heroImage" },
8181
+ { path: "draftPost.media.wixMedia.image" }
8182
+ ]
8183
+ },
8184
+ {
8185
+ transformFn: transformRESTPageURLToSDKPageURL,
8186
+ paths: [
8187
+ { path: "draftPost.url" },
8188
+ { path: "draftPost.translations.url" }
8189
+ ]
8190
+ },
8191
+ {
8192
+ transformFn: transformRESTVideoV2ToSDKVideoV2,
8193
+ paths: [{ path: "draftPost.media.wixMedia.videoV2" }]
8194
+ }
8195
+ ]),
8196
+ ["draftPost.richContent"]
8197
+ );
8198
+ } catch (err) {
8199
+ const transformedError = sdkTransformError(
8200
+ err,
8201
+ {
8202
+ spreadPathsToArguments: {},
8203
+ explicitPathsToArguments: {
8204
+ postId: "$[0]",
8205
+ language: "$[1]",
8206
+ fieldsets: "$[2].fieldsets"
8207
+ },
8208
+ singleArgumentUnchanged: false
8209
+ },
8210
+ ["postId", "language", "options"]
8211
+ );
8212
+ sideEffects?.onError?.(err);
8213
+ throw transformedError;
8214
+ }
8215
+ }
8216
+ async function updateDraftPostLanguage2(postId, language, options) {
8217
+ const { httpClient, sideEffects } = arguments[3];
8218
+ const payload = renameKeysFromSDKRequestToRESTRequest(
8219
+ { postId, language, fieldsets: options?.fieldsets },
8220
+ []
8221
+ );
8222
+ const reqOpts = updateDraftPostLanguage(payload);
8223
+ sideEffects?.onSiteCall?.();
8224
+ try {
8225
+ const result = await httpClient.request(reqOpts);
8226
+ sideEffects?.onSuccess?.(result);
8227
+ return renameKeysFromRESTResponseToSDKResponse(
8228
+ transformPaths2(result.data, [
8229
+ {
8230
+ transformFn: transformRESTImageToSDKImage,
8231
+ paths: [
8232
+ { path: "draftPost.heroImage" },
8233
+ { path: "draftPost.media.wixMedia.image" }
8234
+ ]
8235
+ },
8236
+ {
8237
+ transformFn: transformRESTPageURLToSDKPageURL,
8238
+ paths: [
8239
+ { path: "draftPost.url" },
8240
+ { path: "draftPost.translations.url" }
8241
+ ]
8242
+ },
8243
+ {
8244
+ transformFn: transformRESTVideoV2ToSDKVideoV2,
8245
+ paths: [{ path: "draftPost.media.wixMedia.videoV2" }]
8246
+ }
8247
+ ]),
8248
+ ["draftPost.richContent"]
8249
+ );
8250
+ } catch (err) {
8251
+ const transformedError = sdkTransformError(
8252
+ err,
8253
+ {
8254
+ spreadPathsToArguments: {},
8255
+ explicitPathsToArguments: {
8256
+ postId: "$[0]",
8257
+ language: "$[1]",
8258
+ fieldsets: "$[2].fieldsets"
8259
+ },
8260
+ singleArgumentUnchanged: false
8261
+ },
8262
+ ["postId", "language", "options"]
8263
+ );
8264
+ sideEffects?.onError?.(err);
8265
+ throw transformedError;
8266
+ }
8267
+ }
4557
8268
  export {
4558
8269
  Action,
4559
8270
  Alignment,
@@ -4567,6 +8278,7 @@ export {
4567
8278
  ButtonDataType,
4568
8279
  CardDataBackgroundType,
4569
8280
  CardStylesType,
8281
+ ColorDataBackgroundType,
4570
8282
  ColumnSize,
4571
8283
  Crop,
4572
8284
  DecorationType,
@@ -4641,8 +8353,10 @@ export {
4641
8353
  queryDraftPosts2 as queryDraftPosts,
4642
8354
  removeFromTrashBin2 as removeFromTrashBin,
4643
8355
  restoreFromTrashBin2 as restoreFromTrashBin,
8356
+ translateDraft2 as translateDraft,
4644
8357
  typedQueryDraftPosts,
4645
8358
  updateDraftPost2 as updateDraftPost,
8359
+ updateDraftPostLanguage2 as updateDraftPostLanguage,
4646
8360
  utils
4647
8361
  };
4648
8362
  //# sourceMappingURL=index.typings.mjs.map