api.fluff4.me 1.0.376 → 1.0.377
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +165 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -546,581 +546,746 @@ export interface Paths {
|
|
|
546
546
|
"/test/hello": {
|
|
547
547
|
method: "get"
|
|
548
548
|
body: HelloWorldResponse
|
|
549
|
+
search?: undefined
|
|
549
550
|
response: void | ErrorResponse
|
|
550
551
|
},
|
|
551
552
|
"/test/error": {
|
|
552
553
|
method: "get"
|
|
553
554
|
body?: undefined
|
|
555
|
+
search?: undefined
|
|
554
556
|
response: void | ErrorResponse
|
|
555
557
|
},
|
|
556
558
|
"/session": {
|
|
557
559
|
method: "get"
|
|
558
560
|
body?: undefined
|
|
561
|
+
search?: undefined
|
|
559
562
|
response: Response<Session> | ErrorResponse
|
|
560
563
|
},
|
|
561
564
|
"/session/reset": {
|
|
562
565
|
method: "post"
|
|
563
566
|
body?: undefined
|
|
567
|
+
search?: undefined
|
|
564
568
|
response: void | ErrorResponse
|
|
565
569
|
},
|
|
566
570
|
"/auth/{service}/begin": {
|
|
567
571
|
method: "get"
|
|
568
572
|
body?: undefined
|
|
573
|
+
search?: undefined
|
|
569
574
|
response: void | ErrorResponse
|
|
570
575
|
},
|
|
571
576
|
"/auth/{service}/callback": {
|
|
572
577
|
method: "get"
|
|
573
578
|
body?: undefined
|
|
579
|
+
search?: undefined
|
|
574
580
|
response: void | ErrorResponse
|
|
575
581
|
},
|
|
576
582
|
"/auth/delete": {
|
|
577
583
|
method: "post"
|
|
578
584
|
body: AuthDeleteBody
|
|
585
|
+
search?: undefined
|
|
579
586
|
response: void | ErrorResponse
|
|
580
587
|
},
|
|
581
588
|
"/auth/services": {
|
|
582
589
|
method: "get"
|
|
583
590
|
body?: undefined
|
|
591
|
+
search?: undefined
|
|
584
592
|
response: Response<AuthServices> | ErrorResponse
|
|
585
593
|
},
|
|
586
594
|
"/auth/patreon/campaign/begin": {
|
|
587
595
|
method: "get"
|
|
588
596
|
body?: undefined
|
|
597
|
+
search?: undefined
|
|
589
598
|
response: void | ErrorResponse
|
|
590
599
|
},
|
|
591
600
|
"/auth/patreon/campaign/callback": {
|
|
592
601
|
method: "get"
|
|
593
602
|
body?: undefined
|
|
603
|
+
search?: undefined
|
|
594
604
|
response: void | ErrorResponse
|
|
595
605
|
},
|
|
596
606
|
"/auth/patreon/patron/begin": {
|
|
597
607
|
method: "get"
|
|
598
608
|
body?: undefined
|
|
609
|
+
search?: undefined
|
|
599
610
|
response: void | ErrorResponse
|
|
600
611
|
},
|
|
601
612
|
"/auth/patreon/patron/callback": {
|
|
602
613
|
method: "get"
|
|
603
614
|
body?: undefined
|
|
615
|
+
search?: undefined
|
|
604
616
|
response: void | ErrorResponse
|
|
605
617
|
},
|
|
606
618
|
"/author/create": {
|
|
607
619
|
method: "post"
|
|
608
620
|
body: AuthorCreateBody
|
|
621
|
+
search?: undefined
|
|
609
622
|
response: Response<AuthorAuthorised> | ErrorResponse
|
|
610
623
|
},
|
|
611
624
|
"/author/{vanity}/get": {
|
|
612
625
|
method: "get"
|
|
613
626
|
body?: undefined
|
|
627
|
+
search?: undefined
|
|
614
628
|
response: Response<AuthorFull> | ErrorResponse
|
|
615
629
|
},
|
|
616
630
|
"/author/update": {
|
|
617
631
|
method: "post"
|
|
618
632
|
body: AuthorInsert
|
|
633
|
+
search?: undefined
|
|
619
634
|
response: Response<AuthorAuthorised> | ErrorResponse
|
|
620
635
|
},
|
|
621
636
|
"/author/delete": {
|
|
622
637
|
method: "post"
|
|
623
638
|
body?: undefined
|
|
639
|
+
search?: undefined
|
|
624
640
|
response: void | ErrorResponse
|
|
625
641
|
},
|
|
626
642
|
"/author/resolve": {
|
|
627
643
|
method: "get"
|
|
628
644
|
body?: undefined
|
|
645
|
+
search: {
|
|
646
|
+
authors: string[],
|
|
647
|
+
}
|
|
629
648
|
response: Response<Author[]> | ErrorResponse
|
|
630
649
|
},
|
|
631
650
|
"/work/create": {
|
|
632
651
|
method: "post"
|
|
633
652
|
body: WorkCreateBody
|
|
653
|
+
search?: undefined
|
|
634
654
|
response: Response<WorkFull> | ErrorResponse
|
|
635
655
|
},
|
|
636
656
|
"/work/{author}/{vanity}/get": {
|
|
637
657
|
method: "get"
|
|
638
658
|
body?: undefined
|
|
659
|
+
search?: undefined
|
|
639
660
|
response: Response<WorkFull> | ErrorResponse
|
|
640
661
|
},
|
|
641
662
|
"/work/{author}/{vanity}/update": {
|
|
642
663
|
method: "post"
|
|
643
664
|
body: WorkUpdateBody
|
|
665
|
+
search?: undefined
|
|
644
666
|
response: Response<WorkFull> | ErrorResponse
|
|
645
667
|
},
|
|
646
668
|
"/work/{author}/{vanity}/delete": {
|
|
647
669
|
method: "post"
|
|
648
670
|
body?: undefined
|
|
671
|
+
search?: undefined
|
|
649
672
|
response: void | ErrorResponse
|
|
650
673
|
},
|
|
651
674
|
"/work/{author}/{vanity}/feedback": {
|
|
652
675
|
method: "get"
|
|
653
676
|
body?: undefined
|
|
677
|
+
search?: undefined
|
|
654
678
|
response: Response<Feedback> | ErrorResponse
|
|
655
679
|
},
|
|
656
680
|
"/work/{author}/{vanity}/chapter/create": {
|
|
657
681
|
method: "post"
|
|
658
682
|
body: ChapterCreateBody
|
|
683
|
+
search?: undefined
|
|
659
684
|
response: Response<Chapter> | ErrorResponse
|
|
660
685
|
},
|
|
661
686
|
"/work/{author}/{work}/chapter/{url}/get": {
|
|
662
687
|
method: "get"
|
|
663
688
|
body?: undefined
|
|
689
|
+
search: {
|
|
690
|
+
page: number
|
|
691
|
+
page_size: number
|
|
692
|
+
}
|
|
664
693
|
response: PaginatedResponse<Chapter> | ErrorResponse
|
|
665
694
|
},
|
|
666
695
|
"/work/{author}/{work}/chapter/{url}/update": {
|
|
667
696
|
method: "post"
|
|
668
697
|
body: ChapterUpdateBody
|
|
698
|
+
search?: undefined
|
|
669
699
|
response: Response<Chapter> | ErrorResponse
|
|
670
700
|
},
|
|
671
701
|
"/work/{author}/{work}/chapter/{url}/delete": {
|
|
672
702
|
method: "post"
|
|
673
703
|
body?: undefined
|
|
704
|
+
search?: undefined
|
|
674
705
|
response: void | ErrorResponse
|
|
675
706
|
},
|
|
676
707
|
"/work/{author}/{vanity}/chapter/{url}/reorder": {
|
|
677
708
|
method: "post"
|
|
678
709
|
body: ChapterReorderBody
|
|
710
|
+
search?: undefined
|
|
679
711
|
response: void | ErrorResponse
|
|
680
712
|
},
|
|
681
713
|
"/work/{author}/{vanity}/chapter/{url}/react/{type}": {
|
|
682
714
|
method: "post"
|
|
683
715
|
body?: undefined
|
|
716
|
+
search?: undefined
|
|
684
717
|
response: void | ErrorResponse
|
|
685
718
|
},
|
|
686
719
|
"/work/{author}/{vanity}/chapter/{url}/unreact": {
|
|
687
720
|
method: "post"
|
|
688
721
|
body?: undefined
|
|
722
|
+
search?: undefined
|
|
689
723
|
response: void | ErrorResponse
|
|
690
724
|
},
|
|
691
725
|
"/work/{author}/{vanity}/chapters/list": {
|
|
692
726
|
method: "get"
|
|
693
727
|
body?: undefined
|
|
728
|
+
search: {
|
|
729
|
+
page: number
|
|
730
|
+
page_size: number
|
|
731
|
+
}
|
|
694
732
|
response: PaginatedResponse<Chapters> | ErrorResponse
|
|
695
733
|
},
|
|
696
734
|
"/work/{author}/{work}/chapters/paged": {
|
|
697
735
|
method: "get"
|
|
698
736
|
body?: undefined
|
|
737
|
+
search: {
|
|
738
|
+
page: number
|
|
739
|
+
page_size: number
|
|
740
|
+
}
|
|
699
741
|
response: PaginatedResponse<Chapter> | ErrorResponse
|
|
700
742
|
},
|
|
701
743
|
"/work/resolve": {
|
|
702
744
|
method: "get"
|
|
703
745
|
body?: undefined
|
|
746
|
+
search: {
|
|
747
|
+
works: WorkReference[],
|
|
748
|
+
}
|
|
704
749
|
response: Response<Work[]> | ErrorResponse
|
|
705
750
|
},
|
|
706
751
|
"/works/{author}": {
|
|
707
752
|
method: "get"
|
|
708
753
|
body?: undefined
|
|
754
|
+
search: {
|
|
755
|
+
page: number
|
|
756
|
+
page_size: number
|
|
757
|
+
}
|
|
709
758
|
response: PaginatedResponse<Works> | ErrorResponse
|
|
710
759
|
},
|
|
711
760
|
"/follow/author/{vanity}": {
|
|
712
761
|
method: "post"
|
|
713
762
|
body?: undefined
|
|
763
|
+
search?: undefined
|
|
714
764
|
response: Response<Follow> | ErrorResponse
|
|
715
765
|
},
|
|
716
766
|
"/follow/work/{vanity}": {
|
|
717
767
|
method: "post"
|
|
718
768
|
body?: undefined
|
|
769
|
+
search?: undefined
|
|
719
770
|
response: Response<Follow> | ErrorResponse
|
|
720
771
|
},
|
|
721
772
|
"/follow/work/{author}/{vanity}": {
|
|
722
773
|
method: "post"
|
|
723
774
|
body?: undefined
|
|
775
|
+
search?: undefined
|
|
724
776
|
response: Response<Follow> | ErrorResponse
|
|
725
777
|
},
|
|
726
778
|
"/follow/tag/{vanity}": {
|
|
727
779
|
method: "post"
|
|
728
780
|
body?: undefined
|
|
781
|
+
search?: undefined
|
|
729
782
|
response: Response<Follow> | ErrorResponse
|
|
730
783
|
},
|
|
731
784
|
"/follow/category/{vanity}": {
|
|
732
785
|
method: "post"
|
|
733
786
|
body?: undefined
|
|
787
|
+
search?: undefined
|
|
734
788
|
response: Response<Follow> | ErrorResponse
|
|
735
789
|
},
|
|
736
790
|
"/unfollow/author/{vanity}": {
|
|
737
791
|
method: "post"
|
|
738
792
|
body?: undefined
|
|
793
|
+
search?: undefined
|
|
739
794
|
response: Response<Follow> | ErrorResponse
|
|
740
795
|
},
|
|
741
796
|
"/unfollow/work/{vanity}": {
|
|
742
797
|
method: "post"
|
|
743
798
|
body?: undefined
|
|
799
|
+
search?: undefined
|
|
744
800
|
response: Response<Follow> | ErrorResponse
|
|
745
801
|
},
|
|
746
802
|
"/unfollow/work/{author}/{vanity}": {
|
|
747
803
|
method: "post"
|
|
748
804
|
body?: undefined
|
|
805
|
+
search?: undefined
|
|
749
806
|
response: Response<Follow> | ErrorResponse
|
|
750
807
|
},
|
|
751
808
|
"/unfollow/tag/{vanity}": {
|
|
752
809
|
method: "post"
|
|
753
810
|
body?: undefined
|
|
811
|
+
search?: undefined
|
|
754
812
|
response: Response<Follow> | ErrorResponse
|
|
755
813
|
},
|
|
756
814
|
"/unfollow/category/{vanity}": {
|
|
757
815
|
method: "post"
|
|
758
816
|
body?: undefined
|
|
817
|
+
search?: undefined
|
|
759
818
|
response: Response<Follow> | ErrorResponse
|
|
760
819
|
},
|
|
761
820
|
"/following": {
|
|
762
821
|
method: "get"
|
|
763
822
|
body?: undefined
|
|
823
|
+
search?: undefined
|
|
764
824
|
response: Response<FollowsManifest> | ErrorResponse
|
|
765
825
|
},
|
|
766
826
|
"/following/{type}": {
|
|
767
827
|
method: "get"
|
|
768
828
|
body?: undefined
|
|
829
|
+
search: {
|
|
830
|
+
page: number
|
|
831
|
+
page_size: number
|
|
832
|
+
}
|
|
769
833
|
response: PaginatedResponse<Follow[]> | ErrorResponse
|
|
770
834
|
},
|
|
771
835
|
"/follows/author/{vanity}": {
|
|
772
836
|
method: "get"
|
|
773
837
|
body?: undefined
|
|
838
|
+
search?: undefined
|
|
774
839
|
response: Response<Follow> | ErrorResponse
|
|
775
840
|
},
|
|
776
841
|
"/follows/work/{vanity}": {
|
|
777
842
|
method: "get"
|
|
778
843
|
body?: undefined
|
|
844
|
+
search?: undefined
|
|
779
845
|
response: Response<Follow> | ErrorResponse
|
|
780
846
|
},
|
|
781
847
|
"/follows/work/{author}/{vanity}": {
|
|
782
848
|
method: "get"
|
|
783
849
|
body?: undefined
|
|
850
|
+
search?: undefined
|
|
784
851
|
response: Response<Follow> | ErrorResponse
|
|
785
852
|
},
|
|
786
853
|
"/follows/tag/{vanity}": {
|
|
787
854
|
method: "get"
|
|
788
855
|
body?: undefined
|
|
856
|
+
search?: undefined
|
|
789
857
|
response: Response<Follow> | ErrorResponse
|
|
790
858
|
},
|
|
791
859
|
"/follows/category/{vanity}": {
|
|
792
860
|
method: "get"
|
|
793
861
|
body?: undefined
|
|
862
|
+
search?: undefined
|
|
794
863
|
response: Response<Follow> | ErrorResponse
|
|
795
864
|
},
|
|
796
865
|
"/ignore/author/{vanity}": {
|
|
797
866
|
method: "post"
|
|
798
867
|
body?: undefined
|
|
868
|
+
search?: undefined
|
|
799
869
|
response: Response<Follow> | ErrorResponse
|
|
800
870
|
},
|
|
801
871
|
"/ignore/work/{vanity}": {
|
|
802
872
|
method: "post"
|
|
803
873
|
body?: undefined
|
|
874
|
+
search?: undefined
|
|
804
875
|
response: Response<Follow> | ErrorResponse
|
|
805
876
|
},
|
|
806
877
|
"/ignore/work/{author}/{vanity}": {
|
|
807
878
|
method: "post"
|
|
808
879
|
body?: undefined
|
|
880
|
+
search?: undefined
|
|
809
881
|
response: Response<Follow> | ErrorResponse
|
|
810
882
|
},
|
|
811
883
|
"/ignore/tag/{vanity}": {
|
|
812
884
|
method: "post"
|
|
813
885
|
body?: undefined
|
|
886
|
+
search?: undefined
|
|
814
887
|
response: Response<Follow> | ErrorResponse
|
|
815
888
|
},
|
|
816
889
|
"/ignore/category/{vanity}": {
|
|
817
890
|
method: "post"
|
|
818
891
|
body?: undefined
|
|
892
|
+
search?: undefined
|
|
819
893
|
response: Response<Follow> | ErrorResponse
|
|
820
894
|
},
|
|
821
895
|
"/unignore/author/{vanity}": {
|
|
822
896
|
method: "post"
|
|
823
897
|
body?: undefined
|
|
898
|
+
search?: undefined
|
|
824
899
|
response: Response<Follow> | ErrorResponse
|
|
825
900
|
},
|
|
826
901
|
"/unignore/work/{vanity}": {
|
|
827
902
|
method: "post"
|
|
828
903
|
body?: undefined
|
|
904
|
+
search?: undefined
|
|
829
905
|
response: Response<Follow> | ErrorResponse
|
|
830
906
|
},
|
|
831
907
|
"/unignore/work/{author}/{vanity}": {
|
|
832
908
|
method: "post"
|
|
833
909
|
body?: undefined
|
|
910
|
+
search?: undefined
|
|
834
911
|
response: Response<Follow> | ErrorResponse
|
|
835
912
|
},
|
|
836
913
|
"/unignore/tag/{vanity}": {
|
|
837
914
|
method: "post"
|
|
838
915
|
body?: undefined
|
|
916
|
+
search?: undefined
|
|
839
917
|
response: Response<Follow> | ErrorResponse
|
|
840
918
|
},
|
|
841
919
|
"/unignore/category/{vanity}": {
|
|
842
920
|
method: "post"
|
|
843
921
|
body?: undefined
|
|
922
|
+
search?: undefined
|
|
844
923
|
response: Response<Follow> | ErrorResponse
|
|
845
924
|
},
|
|
846
925
|
"/ignoring/{type}": {
|
|
847
926
|
method: "get"
|
|
848
927
|
body?: undefined
|
|
928
|
+
search: {
|
|
929
|
+
page: number
|
|
930
|
+
page_size: number
|
|
931
|
+
}
|
|
849
932
|
response: PaginatedResponse<Follow[]> | ErrorResponse
|
|
850
933
|
},
|
|
851
934
|
"/ignores/author/{vanity}": {
|
|
852
935
|
method: "get"
|
|
853
936
|
body?: undefined
|
|
937
|
+
search?: undefined
|
|
854
938
|
response: Response<Follow> | ErrorResponse
|
|
855
939
|
},
|
|
856
940
|
"/ignores/work/{vanity}": {
|
|
857
941
|
method: "get"
|
|
858
942
|
body?: undefined
|
|
943
|
+
search?: undefined
|
|
859
944
|
response: Response<Follow> | ErrorResponse
|
|
860
945
|
},
|
|
861
946
|
"/ignores/work/{author}/{vanity}": {
|
|
862
947
|
method: "get"
|
|
863
948
|
body?: undefined
|
|
949
|
+
search?: undefined
|
|
864
950
|
response: Response<Follow> | ErrorResponse
|
|
865
951
|
},
|
|
866
952
|
"/ignores/tag/{vanity}": {
|
|
867
953
|
method: "get"
|
|
868
954
|
body?: undefined
|
|
955
|
+
search?: undefined
|
|
869
956
|
response: Response<Follow> | ErrorResponse
|
|
870
957
|
},
|
|
871
958
|
"/ignores/category/{vanity}": {
|
|
872
959
|
method: "get"
|
|
873
960
|
body?: undefined
|
|
961
|
+
search?: undefined
|
|
874
962
|
response: Response<Follow> | ErrorResponse
|
|
875
963
|
},
|
|
876
964
|
"/privilege/get/{vanity}": {
|
|
877
965
|
method: "get"
|
|
878
966
|
body?: undefined
|
|
967
|
+
search?: undefined
|
|
879
968
|
response: Response<Privileges> | ErrorResponse
|
|
880
969
|
},
|
|
881
970
|
"/privilege/grant/author/{vanity}": {
|
|
882
971
|
method: "post"
|
|
883
972
|
body: Privileges
|
|
973
|
+
search?: undefined
|
|
884
974
|
response: void | ErrorResponse
|
|
885
975
|
},
|
|
886
976
|
"/privilege/grant/role/{vanity}": {
|
|
887
977
|
method: "post"
|
|
888
978
|
body: Privileges
|
|
979
|
+
search?: undefined
|
|
889
980
|
response: void | ErrorResponse
|
|
890
981
|
},
|
|
891
982
|
"/privilege/revoke/author/{vanity}": {
|
|
892
983
|
method: "post"
|
|
893
984
|
body: Privileges
|
|
985
|
+
search?: undefined
|
|
894
986
|
response: void | ErrorResponse
|
|
895
987
|
},
|
|
896
988
|
"/privilege/revoke/role/{vanity}": {
|
|
897
989
|
method: "post"
|
|
898
990
|
body: Privileges
|
|
991
|
+
search?: undefined
|
|
899
992
|
response: void | ErrorResponse
|
|
900
993
|
},
|
|
901
994
|
"/role/create": {
|
|
902
995
|
method: "post"
|
|
903
996
|
body: RoleCreateBody
|
|
997
|
+
search?: undefined
|
|
904
998
|
response: void | ErrorResponse
|
|
905
999
|
},
|
|
906
1000
|
"/role/delete/{role}": {
|
|
907
1001
|
method: "post"
|
|
908
1002
|
body?: undefined
|
|
1003
|
+
search?: undefined
|
|
909
1004
|
response: void | ErrorResponse
|
|
910
1005
|
},
|
|
911
1006
|
"/role/update/{role}": {
|
|
912
1007
|
method: "post"
|
|
913
1008
|
body: RoleUpdateBody
|
|
1009
|
+
search?: undefined
|
|
914
1010
|
response: Response<Role> | ErrorResponse
|
|
915
1011
|
},
|
|
916
1012
|
"/role/grant/{role}/{author}": {
|
|
917
1013
|
method: "post"
|
|
918
1014
|
body?: undefined
|
|
1015
|
+
search?: undefined
|
|
919
1016
|
response: void | ErrorResponse
|
|
920
1017
|
},
|
|
921
1018
|
"/role/get": {
|
|
922
1019
|
method: "get"
|
|
923
1020
|
body?: undefined
|
|
1021
|
+
search?: undefined
|
|
924
1022
|
response: Response<RolesList> | ErrorResponse
|
|
925
1023
|
},
|
|
926
1024
|
"/role/revoke/{role}/{author}": {
|
|
927
1025
|
method: "post"
|
|
928
1026
|
body?: undefined
|
|
1027
|
+
search?: undefined
|
|
929
1028
|
response: void | ErrorResponse
|
|
930
1029
|
},
|
|
931
1030
|
"/role/reorder": {
|
|
932
1031
|
method: "post"
|
|
933
1032
|
body: RoleReorderBody
|
|
1033
|
+
search?: undefined
|
|
934
1034
|
response: void | ErrorResponse
|
|
935
1035
|
},
|
|
936
1036
|
"/comment/add/{under}": {
|
|
937
1037
|
method: "post"
|
|
938
1038
|
body: CommentCreateBody
|
|
1039
|
+
search?: undefined
|
|
939
1040
|
response: Response<CommentResolved> | ErrorResponse
|
|
940
1041
|
},
|
|
941
1042
|
"/comment/{id}/update": {
|
|
942
1043
|
method: "post"
|
|
943
1044
|
body: CommentUpdateBody
|
|
1045
|
+
search?: undefined
|
|
944
1046
|
response: Response<CommentResolved> | ErrorResponse
|
|
945
1047
|
},
|
|
946
1048
|
"/comment/{id}/delete": {
|
|
947
1049
|
method: "post"
|
|
948
1050
|
body?: undefined
|
|
1051
|
+
search?: undefined
|
|
949
1052
|
response: void | ErrorResponse
|
|
950
1053
|
},
|
|
951
1054
|
"/comment/{comment_id}/react/{type}": {
|
|
952
1055
|
method: "post"
|
|
953
1056
|
body?: undefined
|
|
1057
|
+
search?: undefined
|
|
954
1058
|
response: void | ErrorResponse
|
|
955
1059
|
},
|
|
956
1060
|
"/comment/{comment_id}/unreact": {
|
|
957
1061
|
method: "post"
|
|
958
1062
|
body?: undefined
|
|
1063
|
+
search?: undefined
|
|
959
1064
|
response: void | ErrorResponse
|
|
960
1065
|
},
|
|
961
1066
|
"/comments/{under}": {
|
|
962
1067
|
method: "get"
|
|
963
1068
|
body?: undefined
|
|
1069
|
+
search: {
|
|
1070
|
+
page: number
|
|
1071
|
+
page_size: number
|
|
1072
|
+
}
|
|
964
1073
|
response: PaginatedResponse<Comments> | ErrorResponse
|
|
965
1074
|
},
|
|
966
1075
|
"/patreon/campaign/tiers/get": {
|
|
967
1076
|
method: "get"
|
|
968
1077
|
body?: undefined
|
|
1078
|
+
search?: undefined
|
|
969
1079
|
response: Response<Tiers> | ErrorResponse
|
|
970
1080
|
},
|
|
971
1081
|
"/patreon/campaign/tiers/set/{author}/{vanity}": {
|
|
972
1082
|
method: "post"
|
|
973
1083
|
body: CampaignTierSetBody
|
|
1084
|
+
search?: undefined
|
|
974
1085
|
response: void | ErrorResponse
|
|
975
1086
|
},
|
|
976
1087
|
"/tag/create/global": {
|
|
977
1088
|
method: "post"
|
|
978
1089
|
body: TagCreateGlobal
|
|
1090
|
+
search?: undefined
|
|
979
1091
|
response: Response<Tag> | ErrorResponse
|
|
980
1092
|
},
|
|
981
1093
|
"/tag/create/category": {
|
|
982
1094
|
method: "post"
|
|
983
1095
|
body: TagCreateCategory
|
|
1096
|
+
search?: undefined
|
|
984
1097
|
response: Response<TagCategory> | ErrorResponse
|
|
985
1098
|
},
|
|
986
1099
|
"/tag/update/global/{vanity}": {
|
|
987
1100
|
method: "post"
|
|
988
1101
|
body: TagGlobalUpdate
|
|
1102
|
+
search?: undefined
|
|
989
1103
|
response: Response<Tag> | ErrorResponse
|
|
990
1104
|
},
|
|
991
1105
|
"/tag/update/category/{vanity}": {
|
|
992
1106
|
method: "post"
|
|
993
1107
|
body: TagCategoryUpdateBody
|
|
1108
|
+
search?: undefined
|
|
994
1109
|
response: Response<TagCategory> | ErrorResponse
|
|
995
1110
|
},
|
|
996
1111
|
"/tag/delete/global/{vanity}": {
|
|
997
1112
|
method: "post"
|
|
998
1113
|
body?: undefined
|
|
1114
|
+
search?: undefined
|
|
999
1115
|
response: void | ErrorResponse
|
|
1000
1116
|
},
|
|
1001
1117
|
"/tag/delete/category/{vanity}": {
|
|
1002
1118
|
method: "post"
|
|
1003
1119
|
body?: undefined
|
|
1120
|
+
search?: undefined
|
|
1004
1121
|
response: void | ErrorResponse
|
|
1005
1122
|
},
|
|
1006
1123
|
"/tag/promote/{vanity}": {
|
|
1007
1124
|
method: "post"
|
|
1008
1125
|
body: TagCustomPromote
|
|
1126
|
+
search?: undefined
|
|
1009
1127
|
response: Response<Tag> | ErrorResponse
|
|
1010
1128
|
},
|
|
1011
1129
|
"/tag/demote/{vanity}": {
|
|
1012
1130
|
method: "post"
|
|
1013
1131
|
body: TagGlobalDemote
|
|
1132
|
+
search?: undefined
|
|
1014
1133
|
response: Response<CustomTag> | ErrorResponse
|
|
1015
1134
|
},
|
|
1016
1135
|
"/manifest/tags": {
|
|
1017
1136
|
method: "get"
|
|
1018
1137
|
body?: undefined
|
|
1138
|
+
search?: undefined
|
|
1019
1139
|
response: Response<ManifestGlobalTags> | ErrorResponse
|
|
1020
1140
|
},
|
|
1021
1141
|
"/manifest/form/lengths": {
|
|
1022
1142
|
method: "get"
|
|
1023
1143
|
body?: undefined
|
|
1144
|
+
search?: undefined
|
|
1024
1145
|
response: Response<ManifestFormInputLengths> | ErrorResponse
|
|
1025
1146
|
},
|
|
1026
1147
|
"/manifest/reactions": {
|
|
1027
1148
|
method: "get"
|
|
1028
1149
|
body?: undefined
|
|
1150
|
+
search?: undefined
|
|
1029
1151
|
response: Response<ManifestReactionTypes> | ErrorResponse
|
|
1030
1152
|
},
|
|
1031
1153
|
"/manifest/notifications": {
|
|
1032
1154
|
method: "get"
|
|
1033
1155
|
body?: undefined
|
|
1156
|
+
search?: undefined
|
|
1034
1157
|
response: Response<ManifestNotificationTypes> | ErrorResponse
|
|
1035
1158
|
},
|
|
1036
1159
|
"/notifications/get/unread": {
|
|
1037
1160
|
method: "get"
|
|
1038
1161
|
body?: undefined
|
|
1162
|
+
search: {
|
|
1163
|
+
page: number
|
|
1164
|
+
page_size: number
|
|
1165
|
+
}
|
|
1039
1166
|
response: PaginatedResponse<Notifications> | ErrorResponse
|
|
1040
1167
|
},
|
|
1041
1168
|
"/notifications/get/all": {
|
|
1042
1169
|
method: "get"
|
|
1043
1170
|
body?: undefined
|
|
1171
|
+
search: {
|
|
1172
|
+
page: number
|
|
1173
|
+
page_size: number
|
|
1174
|
+
}
|
|
1044
1175
|
response: PaginatedResponse<Notifications> | ErrorResponse
|
|
1045
1176
|
},
|
|
1046
1177
|
"/notifications/get/count": {
|
|
1047
1178
|
method: "get"
|
|
1048
1179
|
body?: undefined
|
|
1180
|
+
search?: undefined
|
|
1049
1181
|
response: Response<NotificationCount> | ErrorResponse
|
|
1050
1182
|
},
|
|
1051
1183
|
"/notifications/mark/read": {
|
|
1052
1184
|
method: "post"
|
|
1053
1185
|
body: NotificationsBody
|
|
1186
|
+
search?: undefined
|
|
1054
1187
|
response: void | ErrorResponse
|
|
1055
1188
|
},
|
|
1056
1189
|
"/notifications/mark/unread": {
|
|
1057
1190
|
method: "post"
|
|
1058
1191
|
body: NotificationsBody
|
|
1192
|
+
search?: undefined
|
|
1059
1193
|
response: void | ErrorResponse
|
|
1060
1194
|
},
|
|
1061
1195
|
"/danger-token/request/delete-account/{service}/begin": {
|
|
1062
1196
|
method: "get"
|
|
1063
1197
|
body?: undefined
|
|
1198
|
+
search?: undefined
|
|
1064
1199
|
response: void | ErrorResponse
|
|
1065
1200
|
},
|
|
1066
1201
|
"/danger-token/request/delete-work/{service}/begin": {
|
|
1067
1202
|
method: "get"
|
|
1068
1203
|
body?: undefined
|
|
1204
|
+
search?: undefined
|
|
1069
1205
|
response: void | ErrorResponse
|
|
1070
1206
|
},
|
|
1071
1207
|
"/danger-token/request/delete-chapter/{service}/begin": {
|
|
1072
1208
|
method: "get"
|
|
1073
1209
|
body?: undefined
|
|
1210
|
+
search?: undefined
|
|
1074
1211
|
response: void | ErrorResponse
|
|
1075
1212
|
},
|
|
1076
1213
|
"/danger-token/request/remove-auth-service/{service}/begin": {
|
|
1077
1214
|
method: "get"
|
|
1078
1215
|
body?: undefined
|
|
1216
|
+
search?: undefined
|
|
1079
1217
|
response: void | ErrorResponse
|
|
1080
1218
|
},
|
|
1081
1219
|
"/danger-token/request/decrease-auth-service-count-required/{service}/begin": {
|
|
1082
1220
|
method: "get"
|
|
1083
1221
|
body?: undefined
|
|
1222
|
+
search?: undefined
|
|
1084
1223
|
response: void | ErrorResponse
|
|
1085
1224
|
},
|
|
1086
1225
|
"/feed/get": {
|
|
1087
1226
|
method: "get"
|
|
1088
1227
|
body?: undefined
|
|
1228
|
+
search: {
|
|
1229
|
+
page: number
|
|
1230
|
+
page_size: number
|
|
1231
|
+
}
|
|
1089
1232
|
response: PaginatedResponse<Feed> | ErrorResponse
|
|
1090
1233
|
},
|
|
1091
1234
|
"/feed/get/authed": {
|
|
1092
1235
|
method: "get"
|
|
1093
1236
|
body?: undefined
|
|
1237
|
+
search: {
|
|
1238
|
+
page: number
|
|
1239
|
+
page_size: number
|
|
1240
|
+
whitelistTags: string[] | null,
|
|
1241
|
+
blacklistTags: string[] | null,
|
|
1242
|
+
whitelistTagGroups: string[] | null,
|
|
1243
|
+
blacklistTagGroups: string[] | null,
|
|
1244
|
+
whitelistAuthors: string[] | null,
|
|
1245
|
+
blacklistAuthors: string[] | null,
|
|
1246
|
+
}
|
|
1094
1247
|
response: PaginatedResponse<Feed> | ErrorResponse
|
|
1095
1248
|
},
|
|
1096
1249
|
"/feed/get/followed": {
|
|
1097
1250
|
method: "get"
|
|
1098
1251
|
body?: undefined
|
|
1252
|
+
search: {
|
|
1253
|
+
page: number
|
|
1254
|
+
page_size: number
|
|
1255
|
+
}
|
|
1099
1256
|
response: PaginatedResponse<Feed> | ErrorResponse
|
|
1100
1257
|
},
|
|
1101
1258
|
"/history/get": {
|
|
1102
1259
|
method: "get"
|
|
1103
1260
|
body?: undefined
|
|
1261
|
+
search: {
|
|
1262
|
+
page: number
|
|
1263
|
+
page_size: number
|
|
1264
|
+
}
|
|
1104
1265
|
response: PaginatedResponse<History> | ErrorResponse
|
|
1105
1266
|
},
|
|
1106
1267
|
"/history/add/{author}/{vanity}": {
|
|
1107
1268
|
method: "post"
|
|
1108
1269
|
body?: undefined
|
|
1270
|
+
search?: undefined
|
|
1109
1271
|
response: void | ErrorResponse
|
|
1110
1272
|
},
|
|
1111
1273
|
"/history/add/{author}/{work}/chapter/{url}": {
|
|
1112
1274
|
method: "post"
|
|
1113
1275
|
body?: undefined
|
|
1276
|
+
search?: undefined
|
|
1114
1277
|
response: void | ErrorResponse
|
|
1115
1278
|
},
|
|
1116
1279
|
"/history/delete/{author}/{work}/chapter/{url}": {
|
|
1117
1280
|
method: "post"
|
|
1118
1281
|
body?: undefined
|
|
1282
|
+
search?: undefined
|
|
1119
1283
|
response: void | ErrorResponse
|
|
1120
1284
|
},
|
|
1121
1285
|
"/history/delete/{author}/{vanity}": {
|
|
1122
1286
|
method: "post"
|
|
1123
1287
|
body?: undefined
|
|
1288
|
+
search?: undefined
|
|
1124
1289
|
response: void | ErrorResponse
|
|
1125
1290
|
},
|
|
1126
1291
|
}
|
package/package.json
CHANGED