@wix/auto_sdk_blog_posts 1.0.186 → 1.0.188

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.
@@ -412,6 +412,24 @@ function getPost(payload) {
412
412
  {
413
413
  path: "post.richContent.nodes.pollData.design.poll.background.image.duration"
414
414
  },
415
+ {
416
+ path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
417
+ },
418
+ {
419
+ path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
420
+ },
421
+ {
422
+ path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
423
+ },
424
+ {
425
+ path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
426
+ },
427
+ {
428
+ path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
429
+ },
430
+ {
431
+ path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
432
+ },
415
433
  { path: "post.richContent.nodes.appEmbedData.image.duration" },
416
434
  { path: "post.richContent.nodes.videoData.video.duration" },
417
435
  { path: "post.richContent.nodes.videoData.thumbnail.duration" },
@@ -485,6 +503,168 @@ function getPost(payload) {
485
503
  { path: "post.richContent.nodes.tocData.itemSpacing" },
486
504
  {
487
505
  path: "post.richContent.nodes.smartBlockCellData.shape.duration"
506
+ },
507
+ {
508
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
509
+ },
510
+ {
511
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
512
+ },
513
+ {
514
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
515
+ },
516
+ {
517
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
518
+ },
519
+ {
520
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
521
+ },
522
+ {
523
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
524
+ },
525
+ {
526
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
527
+ },
528
+ {
529
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
530
+ },
531
+ {
532
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
533
+ },
534
+ {
535
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
536
+ },
537
+ {
538
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
539
+ },
540
+ {
541
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
542
+ },
543
+ {
544
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
545
+ },
546
+ {
547
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
548
+ },
549
+ {
550
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
551
+ },
552
+ {
553
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
554
+ },
555
+ {
556
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
557
+ },
558
+ {
559
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
560
+ },
561
+ {
562
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
563
+ },
564
+ {
565
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
566
+ },
567
+ {
568
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
569
+ },
570
+ {
571
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
572
+ },
573
+ {
574
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
575
+ },
576
+ {
577
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
578
+ },
579
+ {
580
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
581
+ },
582
+ {
583
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
584
+ },
585
+ {
586
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
587
+ },
588
+ {
589
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
590
+ },
591
+ {
592
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
593
+ },
594
+ {
595
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
596
+ },
597
+ {
598
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
599
+ },
600
+ {
601
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
602
+ },
603
+ {
604
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
605
+ },
606
+ {
607
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
608
+ },
609
+ {
610
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
611
+ },
612
+ {
613
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
614
+ },
615
+ {
616
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
617
+ },
618
+ {
619
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
620
+ },
621
+ {
622
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
623
+ },
624
+ {
625
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
626
+ },
627
+ {
628
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
629
+ },
630
+ {
631
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
632
+ },
633
+ {
634
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
635
+ },
636
+ {
637
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
638
+ },
639
+ {
640
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
641
+ },
642
+ {
643
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
644
+ },
645
+ {
646
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
647
+ },
648
+ {
649
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
650
+ },
651
+ {
652
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
653
+ },
654
+ {
655
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
656
+ },
657
+ {
658
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
659
+ },
660
+ {
661
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
662
+ },
663
+ {
664
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
665
+ },
666
+ {
667
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
488
668
  }
489
669
  ]
490
670
  }
@@ -594,79 +774,625 @@ function getPostBySlug(payload) {
594
774
  {
595
775
  path: "post.richContent.nodes.pollData.design.poll.background.image.duration"
596
776
  },
777
+ {
778
+ path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
779
+ },
780
+ {
781
+ path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
782
+ },
783
+ {
784
+ path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
785
+ },
786
+ {
787
+ path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
788
+ },
789
+ {
790
+ path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
791
+ },
792
+ {
793
+ path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
794
+ },
597
795
  { path: "post.richContent.nodes.appEmbedData.image.duration" },
598
796
  { path: "post.richContent.nodes.videoData.video.duration" },
599
797
  { path: "post.richContent.nodes.videoData.thumbnail.duration" },
600
798
  { path: "post.richContent.nodes.audioData.audio.duration" },
601
799
  { path: "post.richContent.nodes.audioData.coverImage.duration" },
602
800
  {
603
- path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
801
+ path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
802
+ },
803
+ {
804
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
805
+ },
806
+ {
807
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
808
+ },
809
+ {
810
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
811
+ },
812
+ {
813
+ path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
814
+ },
815
+ {
816
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
817
+ },
818
+ {
819
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
820
+ },
821
+ {
822
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
823
+ },
824
+ {
825
+ path: "post.richContent.nodes.layoutData.background.gradient.centerX"
826
+ },
827
+ {
828
+ path: "post.richContent.nodes.layoutData.background.gradient.centerY"
829
+ },
830
+ {
831
+ path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
832
+ },
833
+ {
834
+ path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX"
835
+ },
836
+ {
837
+ path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY"
838
+ },
839
+ {
840
+ path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
841
+ },
842
+ { path: "post.richContent.nodes.shapeData.shape.duration" },
843
+ {
844
+ path: "post.richContent.nodes.cardData.background.gradient.centerX"
845
+ },
846
+ {
847
+ path: "post.richContent.nodes.cardData.background.gradient.centerY"
848
+ },
849
+ {
850
+ path: "post.richContent.nodes.cardData.background.gradient.stops.position"
851
+ },
852
+ {
853
+ path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
854
+ },
855
+ {
856
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
857
+ },
858
+ {
859
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
860
+ },
861
+ {
862
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
863
+ },
864
+ { path: "post.richContent.nodes.tocData.fontSize" },
865
+ { path: "post.richContent.nodes.tocData.itemSpacing" },
866
+ {
867
+ path: "post.richContent.nodes.smartBlockCellData.shape.duration"
868
+ },
869
+ {
870
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
871
+ },
872
+ {
873
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
874
+ },
875
+ {
876
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
877
+ },
878
+ {
879
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
880
+ },
881
+ {
882
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
883
+ },
884
+ {
885
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
886
+ },
887
+ {
888
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
889
+ },
890
+ {
891
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
892
+ },
893
+ {
894
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
895
+ },
896
+ {
897
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
898
+ },
899
+ {
900
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
901
+ },
902
+ {
903
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
904
+ },
905
+ {
906
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
907
+ },
908
+ {
909
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
910
+ },
911
+ {
912
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
913
+ },
914
+ {
915
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
916
+ },
917
+ {
918
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
919
+ },
920
+ {
921
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
922
+ },
923
+ {
924
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
925
+ },
926
+ {
927
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
928
+ },
929
+ {
930
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
931
+ },
932
+ {
933
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
934
+ },
935
+ {
936
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
937
+ },
938
+ {
939
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
940
+ },
941
+ {
942
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
943
+ },
944
+ {
945
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
946
+ },
947
+ {
948
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
949
+ },
950
+ {
951
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
952
+ },
953
+ {
954
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
955
+ },
956
+ {
957
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
958
+ },
959
+ {
960
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
961
+ },
962
+ {
963
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
964
+ },
965
+ {
966
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
967
+ },
968
+ {
969
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
970
+ },
971
+ {
972
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
973
+ },
974
+ {
975
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
976
+ },
977
+ {
978
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
979
+ },
980
+ {
981
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
982
+ },
983
+ {
984
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
985
+ },
986
+ {
987
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
988
+ },
989
+ {
990
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
991
+ },
992
+ {
993
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
994
+ },
995
+ {
996
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
997
+ },
998
+ {
999
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
1000
+ },
1001
+ {
1002
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
1003
+ },
1004
+ {
1005
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
1006
+ },
1007
+ {
1008
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
1009
+ },
1010
+ {
1011
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
1012
+ },
1013
+ {
1014
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
1015
+ },
1016
+ {
1017
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
1018
+ },
1019
+ {
1020
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
1021
+ },
1022
+ {
1023
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
1024
+ },
1025
+ {
1026
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
1027
+ },
1028
+ {
1029
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
1030
+ }
1031
+ ]
1032
+ }
1033
+ ])
1034
+ };
1035
+ return metadata;
1036
+ }
1037
+ return __getPostBySlug;
1038
+ }
1039
+ function listPosts(payload) {
1040
+ function __listPosts({ host }) {
1041
+ const metadata = {
1042
+ entityFqdn: "wix.blog.v3.post",
1043
+ method: "GET",
1044
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts",
1045
+ packageName: PACKAGE_NAME,
1046
+ migrationOptions: {
1047
+ optInTransformResponse: true
1048
+ },
1049
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
1050
+ protoPath: "/v3/posts",
1051
+ data: payload,
1052
+ host
1053
+ }),
1054
+ params: toURLSearchParams(payload),
1055
+ transformResponse: (payload2) => transformPaths(payload2, [
1056
+ {
1057
+ transformFn: transformRESTTimestampToSDKTimestamp,
1058
+ paths: [
1059
+ { path: "posts.firstPublishedDate" },
1060
+ { path: "posts.lastPublishedDate" },
1061
+ { path: "posts.heroImage.urlExpirationDate" },
1062
+ { path: "posts.richContent.metadata.createdTimestamp" },
1063
+ { path: "posts.richContent.metadata.updatedTimestamp" },
1064
+ { path: "posts.moderationDetails.submittedDate" },
1065
+ { path: "posts.moderationDetails.moderationDate" },
1066
+ { path: "posts.media.wixMedia.image.urlExpirationDate" },
1067
+ { path: "posts.media.wixMedia.videoV2.urlExpirationDate" },
1068
+ {
1069
+ path: "posts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
1070
+ },
1071
+ {
1072
+ path: "posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
1073
+ },
1074
+ {
1075
+ path: "posts.media.wixMedia.videoV2.posters.urlExpirationDate"
1076
+ }
1077
+ ]
1078
+ },
1079
+ {
1080
+ transformFn: transformRESTBytesToSDKBytes,
1081
+ paths: [{ path: "posts.richContentCompressed" }]
1082
+ },
1083
+ {
1084
+ transformFn: transformRESTFloatToSDKFloat,
1085
+ paths: [
1086
+ { path: "posts.heroImage.focalPoint.x" },
1087
+ { path: "posts.heroImage.focalPoint.y" },
1088
+ { path: "posts.media.wixMedia.image.focalPoint.x" },
1089
+ { path: "posts.media.wixMedia.image.focalPoint.y" },
1090
+ {
1091
+ path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
1092
+ },
1093
+ {
1094
+ path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
1095
+ },
1096
+ { path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
1097
+ { path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
1098
+ { path: "posts.metrics.averageRating" },
1099
+ {
1100
+ path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
1101
+ },
1102
+ {
1103
+ path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
1104
+ },
1105
+ {
1106
+ path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1107
+ },
1108
+ {
1109
+ path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1110
+ },
1111
+ {
1112
+ path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1113
+ },
1114
+ {
1115
+ path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1116
+ },
1117
+ {
1118
+ path: "posts.richContent.nodes.galleryData.items.image.media.duration"
1119
+ },
1120
+ {
1121
+ path: "posts.richContent.nodes.galleryData.items.video.media.duration"
1122
+ },
1123
+ {
1124
+ path: "posts.richContent.nodes.galleryData.items.video.thumbnail.duration"
1125
+ },
1126
+ {
1127
+ path: "posts.richContent.nodes.galleryData.options.item.ratio"
1128
+ },
1129
+ { path: "posts.richContent.nodes.imageData.image.duration" },
1130
+ { path: "posts.richContent.nodes.imageData.crop.x" },
1131
+ { path: "posts.richContent.nodes.imageData.crop.y" },
1132
+ { path: "posts.richContent.nodes.imageData.crop.width" },
1133
+ { path: "posts.richContent.nodes.imageData.crop.height" },
1134
+ { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
1135
+ { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
1136
+ { path: "posts.richContent.nodes.pollData.poll.image.duration" },
1137
+ {
1138
+ path: "posts.richContent.nodes.pollData.poll.options.image.duration"
1139
+ },
1140
+ {
1141
+ path: "posts.richContent.nodes.pollData.design.poll.background.image.duration"
1142
+ },
1143
+ {
1144
+ path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
1145
+ },
1146
+ {
1147
+ path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
1148
+ },
1149
+ {
1150
+ path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
1151
+ },
1152
+ {
1153
+ path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
1154
+ },
1155
+ {
1156
+ path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
1157
+ },
1158
+ {
1159
+ path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
1160
+ },
1161
+ { path: "posts.richContent.nodes.appEmbedData.image.duration" },
1162
+ { path: "posts.richContent.nodes.videoData.video.duration" },
1163
+ { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
1164
+ { path: "posts.richContent.nodes.audioData.audio.duration" },
1165
+ { path: "posts.richContent.nodes.audioData.coverImage.duration" },
1166
+ {
1167
+ path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
1168
+ },
1169
+ {
1170
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1171
+ },
1172
+ {
1173
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1174
+ },
1175
+ {
1176
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1177
+ },
1178
+ {
1179
+ path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
1180
+ },
1181
+ {
1182
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1183
+ },
1184
+ {
1185
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1186
+ },
1187
+ {
1188
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1189
+ },
1190
+ {
1191
+ path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
1192
+ },
1193
+ {
1194
+ path: "posts.richContent.nodes.layoutData.background.gradient.centerY"
1195
+ },
1196
+ {
1197
+ path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
1198
+ },
1199
+ {
1200
+ path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX"
1201
+ },
1202
+ {
1203
+ path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY"
1204
+ },
1205
+ {
1206
+ path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1207
+ },
1208
+ { path: "posts.richContent.nodes.shapeData.shape.duration" },
1209
+ {
1210
+ path: "posts.richContent.nodes.cardData.background.gradient.centerX"
1211
+ },
1212
+ {
1213
+ path: "posts.richContent.nodes.cardData.background.gradient.centerY"
1214
+ },
1215
+ {
1216
+ path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
1217
+ },
1218
+ {
1219
+ path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
1220
+ },
1221
+ {
1222
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1223
+ },
1224
+ {
1225
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1226
+ },
1227
+ {
1228
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1229
+ },
1230
+ { path: "posts.richContent.nodes.tocData.fontSize" },
1231
+ { path: "posts.richContent.nodes.tocData.itemSpacing" },
1232
+ {
1233
+ path: "posts.richContent.nodes.smartBlockCellData.shape.duration"
1234
+ },
1235
+ {
1236
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
1237
+ },
1238
+ {
1239
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
1240
+ },
1241
+ {
1242
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
1243
+ },
1244
+ {
1245
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
1246
+ },
1247
+ {
1248
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
1249
+ },
1250
+ {
1251
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
1252
+ },
1253
+ {
1254
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
1255
+ },
1256
+ {
1257
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
1258
+ },
1259
+ {
1260
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
1261
+ },
1262
+ {
1263
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
1264
+ },
1265
+ {
1266
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
1267
+ },
1268
+ {
1269
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
1270
+ },
1271
+ {
1272
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
1273
+ },
1274
+ {
1275
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
1276
+ },
1277
+ {
1278
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
1279
+ },
1280
+ {
1281
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
1282
+ },
1283
+ {
1284
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
1285
+ },
1286
+ {
1287
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
1288
+ },
1289
+ {
1290
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
1291
+ },
1292
+ {
1293
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
1294
+ },
1295
+ {
1296
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
1297
+ },
1298
+ {
1299
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
1300
+ },
1301
+ {
1302
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
1303
+ },
1304
+ {
1305
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
1306
+ },
1307
+ {
1308
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
1309
+ },
1310
+ {
1311
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
1312
+ },
1313
+ {
1314
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
1315
+ },
1316
+ {
1317
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
1318
+ },
1319
+ {
1320
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
1321
+ },
1322
+ {
1323
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
1324
+ },
1325
+ {
1326
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
1327
+ },
1328
+ {
1329
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
604
1330
  },
605
1331
  {
606
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1332
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
607
1333
  },
608
1334
  {
609
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1335
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
610
1336
  },
611
1337
  {
612
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1338
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
613
1339
  },
614
1340
  {
615
- path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
1341
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
616
1342
  },
617
1343
  {
618
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1344
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
619
1345
  },
620
1346
  {
621
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1347
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
622
1348
  },
623
1349
  {
624
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1350
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
625
1351
  },
626
1352
  {
627
- path: "post.richContent.nodes.layoutData.background.gradient.centerX"
1353
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
628
1354
  },
629
1355
  {
630
- path: "post.richContent.nodes.layoutData.background.gradient.centerY"
1356
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
631
1357
  },
632
1358
  {
633
- path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
1359
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
634
1360
  },
635
1361
  {
636
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX"
1362
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
637
1363
  },
638
1364
  {
639
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY"
1365
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
640
1366
  },
641
1367
  {
642
- path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1368
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
643
1369
  },
644
- { path: "post.richContent.nodes.shapeData.shape.duration" },
645
1370
  {
646
- path: "post.richContent.nodes.cardData.background.gradient.centerX"
1371
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
647
1372
  },
648
1373
  {
649
- path: "post.richContent.nodes.cardData.background.gradient.centerY"
1374
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
650
1375
  },
651
1376
  {
652
- path: "post.richContent.nodes.cardData.background.gradient.stops.position"
1377
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
653
1378
  },
654
1379
  {
655
- path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
1380
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
656
1381
  },
657
1382
  {
658
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1383
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
659
1384
  },
660
1385
  {
661
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1386
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
662
1387
  },
663
1388
  {
664
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1389
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
665
1390
  },
666
- { path: "post.richContent.nodes.tocData.fontSize" },
667
- { path: "post.richContent.nodes.tocData.itemSpacing" },
668
1391
  {
669
- path: "post.richContent.nodes.smartBlockCellData.shape.duration"
1392
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
1393
+ },
1394
+ {
1395
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
670
1396
  }
671
1397
  ]
672
1398
  }
@@ -674,24 +1400,35 @@ function getPostBySlug(payload) {
674
1400
  };
675
1401
  return metadata;
676
1402
  }
677
- return __getPostBySlug;
1403
+ return __listPosts;
678
1404
  }
679
- function listPosts(payload) {
680
- function __listPosts({ host }) {
1405
+ function queryPosts(payload) {
1406
+ function __queryPosts({ host }) {
1407
+ const serializedData = transformPaths(payload, [
1408
+ {
1409
+ transformFn: transformSDKFloatToRESTFloat,
1410
+ paths: [
1411
+ { path: "sort.origin.latitude" },
1412
+ { path: "sort.origin.longitude" },
1413
+ { path: "query.sort.origin.latitude" },
1414
+ { path: "query.sort.origin.longitude" }
1415
+ ]
1416
+ }
1417
+ ]);
681
1418
  const metadata = {
682
1419
  entityFqdn: "wix.blog.v3.post",
683
- method: "GET",
684
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts",
1420
+ method: "POST",
1421
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts",
685
1422
  packageName: PACKAGE_NAME,
686
1423
  migrationOptions: {
687
1424
  optInTransformResponse: true
688
1425
  },
689
1426
  url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
690
- protoPath: "/v3/posts",
691
- data: payload,
1427
+ protoPath: "/v3/posts/query",
1428
+ data: serializedData,
692
1429
  host
693
1430
  }),
694
- params: toURLSearchParams(payload),
1431
+ data: serializedData,
695
1432
  transformResponse: (payload2) => transformPaths(payload2, [
696
1433
  {
697
1434
  transformFn: transformRESTTimestampToSDKTimestamp,
@@ -780,6 +1517,24 @@ function listPosts(payload) {
780
1517
  {
781
1518
  path: "posts.richContent.nodes.pollData.design.poll.background.image.duration"
782
1519
  },
1520
+ {
1521
+ path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
1522
+ },
1523
+ {
1524
+ path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
1525
+ },
1526
+ {
1527
+ path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
1528
+ },
1529
+ {
1530
+ path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
1531
+ },
1532
+ {
1533
+ path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
1534
+ },
1535
+ {
1536
+ path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
1537
+ },
783
1538
  { path: "posts.richContent.nodes.appEmbedData.image.duration" },
784
1539
  { path: "posts.richContent.nodes.videoData.video.duration" },
785
1540
  { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
@@ -853,203 +1608,168 @@ function listPosts(payload) {
853
1608
  { path: "posts.richContent.nodes.tocData.itemSpacing" },
854
1609
  {
855
1610
  path: "posts.richContent.nodes.smartBlockCellData.shape.duration"
856
- }
857
- ]
858
- }
859
- ])
860
- };
861
- return metadata;
862
- }
863
- return __listPosts;
864
- }
865
- function queryPosts(payload) {
866
- function __queryPosts({ host }) {
867
- const serializedData = transformPaths(payload, [
868
- {
869
- transformFn: transformSDKFloatToRESTFloat,
870
- paths: [
871
- { path: "sort.origin.latitude" },
872
- { path: "sort.origin.longitude" },
873
- { path: "query.sort.origin.latitude" },
874
- { path: "query.sort.origin.longitude" }
875
- ]
876
- }
877
- ]);
878
- const metadata = {
879
- entityFqdn: "wix.blog.v3.post",
880
- method: "POST",
881
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts",
882
- packageName: PACKAGE_NAME,
883
- migrationOptions: {
884
- optInTransformResponse: true
885
- },
886
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
887
- protoPath: "/v3/posts/query",
888
- data: serializedData,
889
- host
890
- }),
891
- data: serializedData,
892
- transformResponse: (payload2) => transformPaths(payload2, [
893
- {
894
- transformFn: transformRESTTimestampToSDKTimestamp,
895
- paths: [
896
- { path: "posts.firstPublishedDate" },
897
- { path: "posts.lastPublishedDate" },
898
- { path: "posts.heroImage.urlExpirationDate" },
899
- { path: "posts.richContent.metadata.createdTimestamp" },
900
- { path: "posts.richContent.metadata.updatedTimestamp" },
901
- { path: "posts.moderationDetails.submittedDate" },
902
- { path: "posts.moderationDetails.moderationDate" },
903
- { path: "posts.media.wixMedia.image.urlExpirationDate" },
904
- { path: "posts.media.wixMedia.videoV2.urlExpirationDate" },
1611
+ },
905
1612
  {
906
- path: "posts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
1613
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
907
1614
  },
908
1615
  {
909
- path: "posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
1616
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
910
1617
  },
911
1618
  {
912
- path: "posts.media.wixMedia.videoV2.posters.urlExpirationDate"
913
- }
914
- ]
915
- },
916
- {
917
- transformFn: transformRESTBytesToSDKBytes,
918
- paths: [{ path: "posts.richContentCompressed" }]
919
- },
920
- {
921
- transformFn: transformRESTFloatToSDKFloat,
922
- paths: [
923
- { path: "posts.heroImage.focalPoint.x" },
924
- { path: "posts.heroImage.focalPoint.y" },
925
- { path: "posts.media.wixMedia.image.focalPoint.x" },
926
- { path: "posts.media.wixMedia.image.focalPoint.y" },
1619
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
1620
+ },
927
1621
  {
928
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
1622
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
929
1623
  },
930
1624
  {
931
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
1625
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
932
1626
  },
933
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
934
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
935
- { path: "posts.metrics.averageRating" },
936
1627
  {
937
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
1628
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
938
1629
  },
939
1630
  {
940
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
1631
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
941
1632
  },
942
1633
  {
943
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1634
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
944
1635
  },
945
1636
  {
946
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1637
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
947
1638
  },
948
1639
  {
949
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1640
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
950
1641
  },
951
1642
  {
952
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1643
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
953
1644
  },
954
1645
  {
955
- path: "posts.richContent.nodes.galleryData.items.image.media.duration"
1646
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
956
1647
  },
957
1648
  {
958
- path: "posts.richContent.nodes.galleryData.items.video.media.duration"
1649
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
959
1650
  },
960
1651
  {
961
- path: "posts.richContent.nodes.galleryData.items.video.thumbnail.duration"
1652
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
962
1653
  },
963
1654
  {
964
- path: "posts.richContent.nodes.galleryData.options.item.ratio"
1655
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
965
1656
  },
966
- { path: "posts.richContent.nodes.imageData.image.duration" },
967
- { path: "posts.richContent.nodes.imageData.crop.x" },
968
- { path: "posts.richContent.nodes.imageData.crop.y" },
969
- { path: "posts.richContent.nodes.imageData.crop.width" },
970
- { path: "posts.richContent.nodes.imageData.crop.height" },
971
- { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
972
- { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
973
- { path: "posts.richContent.nodes.pollData.poll.image.duration" },
974
1657
  {
975
- path: "posts.richContent.nodes.pollData.poll.options.image.duration"
1658
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
976
1659
  },
977
1660
  {
978
- path: "posts.richContent.nodes.pollData.design.poll.background.image.duration"
1661
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
979
1662
  },
980
- { path: "posts.richContent.nodes.appEmbedData.image.duration" },
981
- { path: "posts.richContent.nodes.videoData.video.duration" },
982
- { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
983
- { path: "posts.richContent.nodes.audioData.audio.duration" },
984
- { path: "posts.richContent.nodes.audioData.coverImage.duration" },
985
1663
  {
986
- path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
1664
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
987
1665
  },
988
1666
  {
989
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1667
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
990
1668
  },
991
1669
  {
992
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1670
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
993
1671
  },
994
1672
  {
995
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1673
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
996
1674
  },
997
1675
  {
998
- path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
1676
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
999
1677
  },
1000
1678
  {
1001
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1679
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
1002
1680
  },
1003
1681
  {
1004
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1682
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
1005
1683
  },
1006
1684
  {
1007
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1685
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
1008
1686
  },
1009
1687
  {
1010
- path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
1688
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
1011
1689
  },
1012
1690
  {
1013
- path: "posts.richContent.nodes.layoutData.background.gradient.centerY"
1691
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
1014
1692
  },
1015
1693
  {
1016
- path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
1694
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
1017
1695
  },
1018
1696
  {
1019
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX"
1697
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
1020
1698
  },
1021
1699
  {
1022
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY"
1700
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
1023
1701
  },
1024
1702
  {
1025
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1703
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
1026
1704
  },
1027
- { path: "posts.richContent.nodes.shapeData.shape.duration" },
1028
1705
  {
1029
- path: "posts.richContent.nodes.cardData.background.gradient.centerX"
1706
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
1030
1707
  },
1031
1708
  {
1032
- path: "posts.richContent.nodes.cardData.background.gradient.centerY"
1709
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
1033
1710
  },
1034
1711
  {
1035
- path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
1712
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
1036
1713
  },
1037
1714
  {
1038
- path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
1715
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
1039
1716
  },
1040
1717
  {
1041
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1718
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
1042
1719
  },
1043
1720
  {
1044
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1721
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
1045
1722
  },
1046
1723
  {
1047
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1724
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
1048
1725
  },
1049
- { path: "posts.richContent.nodes.tocData.fontSize" },
1050
- { path: "posts.richContent.nodes.tocData.itemSpacing" },
1051
1726
  {
1052
- path: "posts.richContent.nodes.smartBlockCellData.shape.duration"
1727
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
1728
+ },
1729
+ {
1730
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
1731
+ },
1732
+ {
1733
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
1734
+ },
1735
+ {
1736
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
1737
+ },
1738
+ {
1739
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
1740
+ },
1741
+ {
1742
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
1743
+ },
1744
+ {
1745
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
1746
+ },
1747
+ {
1748
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
1749
+ },
1750
+ {
1751
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
1752
+ },
1753
+ {
1754
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
1755
+ },
1756
+ {
1757
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
1758
+ },
1759
+ {
1760
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
1761
+ },
1762
+ {
1763
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
1764
+ },
1765
+ {
1766
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
1767
+ },
1768
+ {
1769
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
1770
+ },
1771
+ {
1772
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
1053
1773
  }
1054
1774
  ]
1055
1775
  }
@@ -1086,6 +1806,27 @@ function getPostMetrics(payload) {
1086
1806
  }
1087
1807
  return __getPostMetrics;
1088
1808
  }
1809
+ function viewPost(payload) {
1810
+ function __viewPost({ host }) {
1811
+ const metadata = {
1812
+ entityFqdn: "wix.blog.v3.post",
1813
+ method: "POST",
1814
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.ViewPost",
1815
+ packageName: PACKAGE_NAME,
1816
+ migrationOptions: {
1817
+ optInTransformResponse: true
1818
+ },
1819
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
1820
+ protoPath: "/v3/posts/{postId}/view",
1821
+ data: payload,
1822
+ host
1823
+ }),
1824
+ data: payload
1825
+ };
1826
+ return metadata;
1827
+ }
1828
+ return __viewPost;
1829
+ }
1089
1830
 
1090
1831
  // src/blog-v3-post-posts.universal.ts
1091
1832
  import { transformRESTImageToSDKImage } from "@wix/sdk-runtime/transformations/image";
@@ -1133,6 +1874,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
1133
1874
  NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
1134
1875
  NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
1135
1876
  NodeType2["CHECKBOX_LIST"] = "CHECKBOX_LIST";
1877
+ NodeType2["SLOT"] = "SLOT";
1136
1878
  return NodeType2;
1137
1879
  })(NodeType || {});
1138
1880
  var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
@@ -1364,6 +2106,11 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
1364
2106
  DecorationType2["SKETCH"] = "SKETCH";
1365
2107
  return DecorationType2;
1366
2108
  })(DecorationType || {});
2109
+ var ColorDataBackgroundType = /* @__PURE__ */ ((ColorDataBackgroundType2) => {
2110
+ ColorDataBackgroundType2["COLOR"] = "COLOR";
2111
+ ColorDataBackgroundType2["GRADIENT"] = "GRADIENT";
2112
+ return ColorDataBackgroundType2;
2113
+ })(ColorDataBackgroundType || {});
1367
2114
  var FontType = /* @__PURE__ */ ((FontType2) => {
1368
2115
  FontType2["PX"] = "PX";
1369
2116
  FontType2["EM"] = "EM";
@@ -2033,6 +2780,29 @@ async function getPostMetrics2(postId) {
2033
2780
  throw transformedError;
2034
2781
  }
2035
2782
  }
2783
+ async function viewPost2(postId) {
2784
+ const { httpClient, sideEffects } = arguments[1];
2785
+ const payload = renameKeysFromSDKRequestToRESTRequest({ postId }, []);
2786
+ const reqOpts = viewPost(payload);
2787
+ sideEffects?.onSiteCall?.();
2788
+ try {
2789
+ const result = await httpClient.request(reqOpts);
2790
+ sideEffects?.onSuccess?.(result);
2791
+ return renameKeysFromRESTResponseToSDKResponse(result.data, []);
2792
+ } catch (err) {
2793
+ const transformedError = sdkTransformError(
2794
+ err,
2795
+ {
2796
+ spreadPathsToArguments: {},
2797
+ explicitPathsToArguments: { postId: "$[0]" },
2798
+ singleArgumentUnchanged: false
2799
+ },
2800
+ ["postId"]
2801
+ );
2802
+ sideEffects?.onError?.(err);
2803
+ throw transformedError;
2804
+ }
2805
+ }
2036
2806
  export {
2037
2807
  Alignment,
2038
2808
  AppType,
@@ -2043,6 +2813,7 @@ export {
2043
2813
  ButtonDataType,
2044
2814
  CardDataBackgroundType,
2045
2815
  CardStylesType,
2816
+ ColorDataBackgroundType,
2046
2817
  ColumnSize,
2047
2818
  Crop,
2048
2819
  DecorationType,
@@ -2113,6 +2884,7 @@ export {
2113
2884
  queryPostCountStats2 as queryPostCountStats,
2114
2885
  queryPosts2 as queryPosts,
2115
2886
  typedQueryPosts,
2116
- utils
2887
+ utils,
2888
+ viewPost2 as viewPost
2117
2889
  };
2118
2890
  //# sourceMappingURL=index.typings.mjs.map