@ibiliaze/global-vars 1.178.0 → 1.180.0
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/dist/checkout.d.ts +1 -1
- package/dist/flows.d.ts +16 -16
- package/dist/flows.js +16 -16
- package/dist/globals.d.ts +2 -2
- package/dist/globals.js +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/ticketops/inputsDefault.d.ts +43 -75
- package/dist/ticketops/pages.d.ts +13 -26
- package/dist/ticketops/pages.js +11 -20
- package/dist/ticketops/roles/customer.d.ts +185 -0
- package/dist/ticketops/roles/customer.js +117 -0
- package/dist/ticketops/roles/event.d.ts +3 -52
- package/dist/ticketops/roles/event.js +3 -30
- package/dist/ticketops/roles/job.d.ts +1 -1
- package/dist/ticketops/roles/sale.d.ts +3 -3
- package/dist/ticketops/roles/sale.js +3 -3
- package/dist/ticketops/roles/seat.d.ts +3 -3
- package/dist/ticketops/roles/seat.js +3 -3
- package/dist/ticketops/roles/user.d.ts +17 -21
- package/dist/ticketops/roles/user.js +7 -11
- package/dist/ticketops/roles.d.ts +498 -762
- package/dist/ticketops/roles.js +6 -9
- package/package.json +2 -2
|
@@ -622,145 +622,13 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
622
622
|
readonly response_400: {
|
|
623
623
|
message: string;
|
|
624
624
|
};
|
|
625
|
-
}, {
|
|
626
|
-
readonly method: "post";
|
|
627
|
-
readonly path: "/event/book";
|
|
628
|
-
readonly role: "postEventBook";
|
|
629
|
-
readonly name: "Book event";
|
|
630
|
-
readonly response_201: {
|
|
631
|
-
event: import("./inputsDefault").EventBase<TId_7, TDate_7>;
|
|
632
|
-
url: string;
|
|
633
|
-
message: string;
|
|
634
|
-
};
|
|
635
|
-
readonly response_400: {
|
|
636
|
-
message: string;
|
|
637
|
-
};
|
|
638
|
-
readonly response_500: {
|
|
639
|
-
message: string;
|
|
640
|
-
error: string;
|
|
641
|
-
};
|
|
642
|
-
}, {
|
|
643
|
-
readonly method: "post";
|
|
644
|
-
readonly path: "/event";
|
|
645
|
-
readonly role: "postEvent";
|
|
646
|
-
readonly name: "Create event";
|
|
647
|
-
readonly response_201: {
|
|
648
|
-
event: import("./inputsDefault").EventBase<TId_7, TDate_7>;
|
|
649
|
-
message: string;
|
|
650
|
-
};
|
|
651
|
-
readonly response_500: {
|
|
652
|
-
message: string;
|
|
653
|
-
error: string;
|
|
654
|
-
};
|
|
655
|
-
}, {
|
|
656
|
-
readonly method: "post";
|
|
657
|
-
readonly path: "/events";
|
|
658
|
-
readonly role: "postEvents";
|
|
659
|
-
readonly name: "Create many events";
|
|
660
|
-
readonly response_201: {
|
|
661
|
-
events: import("./inputsDefault").EventBase<TId_7, TDate_7>[];
|
|
662
|
-
message: string;
|
|
663
|
-
};
|
|
664
|
-
readonly response_500: {
|
|
665
|
-
message: string;
|
|
666
|
-
error: string;
|
|
667
|
-
};
|
|
668
|
-
}, {
|
|
669
|
-
readonly method: "post";
|
|
670
|
-
readonly path: "/event/book/cancel";
|
|
671
|
-
readonly role: "postEventBookCancel";
|
|
672
|
-
readonly name: "Request booking cancel";
|
|
673
|
-
readonly response_200: {
|
|
674
|
-
message: string;
|
|
675
|
-
event: import("./inputsDefault").EventBase<TId_7, TDate_7>;
|
|
676
|
-
};
|
|
677
|
-
readonly response_404: {
|
|
678
|
-
message: string;
|
|
679
|
-
};
|
|
680
|
-
readonly response_500: {
|
|
681
|
-
message: string;
|
|
682
|
-
error: string;
|
|
683
|
-
};
|
|
684
|
-
}, {
|
|
685
|
-
readonly method: "get";
|
|
686
|
-
readonly path: "/event";
|
|
687
|
-
readonly role: "getEvents";
|
|
688
|
-
readonly name: "Get events";
|
|
689
|
-
readonly response_200: {
|
|
690
|
-
events: import("./inputsDefault").EventBase<TId_7, TDate_7>[];
|
|
691
|
-
count: number;
|
|
692
|
-
};
|
|
693
|
-
readonly response_404: {
|
|
694
|
-
message: string;
|
|
695
|
-
};
|
|
696
|
-
readonly response_500: {
|
|
697
|
-
message: string;
|
|
698
|
-
error: string;
|
|
699
|
-
};
|
|
700
|
-
}, {
|
|
701
|
-
readonly method: "get";
|
|
702
|
-
readonly path: "/event/:id";
|
|
703
|
-
readonly role: "getEventById";
|
|
704
|
-
readonly name: "Get event";
|
|
705
|
-
readonly response_200: {
|
|
706
|
-
event: import("./inputsDefault").EventBase<TId_7, TDate_7> | null;
|
|
707
|
-
message: string;
|
|
708
|
-
};
|
|
709
|
-
readonly response_404: {
|
|
710
|
-
message: string;
|
|
711
|
-
};
|
|
712
|
-
}, {
|
|
713
|
-
readonly method: "put";
|
|
714
|
-
readonly path: "/event/:id";
|
|
715
|
-
readonly role: "putEventById";
|
|
716
|
-
readonly name: "Update event";
|
|
717
|
-
readonly response_200: {
|
|
718
|
-
event: import("./inputsDefault").EventBase<TId_7, TDate_7>;
|
|
719
|
-
message: string;
|
|
720
|
-
};
|
|
721
|
-
readonly response_404: {
|
|
722
|
-
message: string;
|
|
723
|
-
};
|
|
724
|
-
readonly response_500: {
|
|
725
|
-
message: string;
|
|
726
|
-
error: string;
|
|
727
|
-
};
|
|
728
|
-
}, {
|
|
729
|
-
readonly method: "delete";
|
|
730
|
-
readonly path: "/events";
|
|
731
|
-
readonly role: "deleteEvents";
|
|
732
|
-
readonly name: "Delete many events";
|
|
733
|
-
readonly response_200: {
|
|
734
|
-
deletedCount: number;
|
|
735
|
-
message: string;
|
|
736
|
-
};
|
|
737
|
-
readonly response_500: {
|
|
738
|
-
message: string;
|
|
739
|
-
error: string;
|
|
740
|
-
};
|
|
741
|
-
}, {
|
|
742
|
-
readonly method: "delete";
|
|
743
|
-
readonly path: "/event/:id";
|
|
744
|
-
readonly role: "deleteEventById";
|
|
745
|
-
readonly name: "Delete event";
|
|
746
|
-
readonly response_200: {
|
|
747
|
-
event: import("./inputsDefault").EventBase<TId_7, TDate_7>;
|
|
748
|
-
message: string;
|
|
749
|
-
};
|
|
750
|
-
readonly response_404: {
|
|
751
|
-
message: string;
|
|
752
|
-
};
|
|
753
|
-
readonly response_500: {
|
|
754
|
-
message: string;
|
|
755
|
-
error: string;
|
|
756
|
-
};
|
|
757
625
|
}, {
|
|
758
626
|
readonly method: "get";
|
|
759
627
|
readonly path: "/fail";
|
|
760
628
|
readonly role: "getFails";
|
|
761
629
|
readonly name: "Get fails";
|
|
762
630
|
readonly response_200: {
|
|
763
|
-
fails: import("./inputsDefault").FailBase<
|
|
631
|
+
fails: import("./inputsDefault").FailBase<TId_7, TDate_7>[];
|
|
764
632
|
count: number;
|
|
765
633
|
};
|
|
766
634
|
readonly response_500: {
|
|
@@ -803,7 +671,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
803
671
|
readonly role: "deleteFailById";
|
|
804
672
|
readonly name: "Delete fail by ID";
|
|
805
673
|
readonly response_200: {
|
|
806
|
-
fail: import("./inputsDefault").FailBase<
|
|
674
|
+
fail: import("./inputsDefault").FailBase<TId_7, TDate_7>;
|
|
807
675
|
message: string;
|
|
808
676
|
};
|
|
809
677
|
readonly response_404: {
|
|
@@ -819,7 +687,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
819
687
|
readonly role: "postFlow";
|
|
820
688
|
readonly name: "Create flow";
|
|
821
689
|
readonly response_201: {
|
|
822
|
-
flow: import("./inputsDefault").FlowBase<
|
|
690
|
+
flow: import("./inputsDefault").FlowBase<TId_8, TDate_8>;
|
|
823
691
|
message: string;
|
|
824
692
|
};
|
|
825
693
|
readonly response_500: {
|
|
@@ -832,7 +700,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
832
700
|
readonly role: "getFlows";
|
|
833
701
|
readonly name: "Get flows";
|
|
834
702
|
readonly response_200: {
|
|
835
|
-
flows: import("./inputsDefault").FlowBase<
|
|
703
|
+
flows: import("./inputsDefault").FlowBase<TId_8, TDate_8>[];
|
|
836
704
|
count: number;
|
|
837
705
|
};
|
|
838
706
|
readonly response_500: {
|
|
@@ -845,7 +713,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
845
713
|
readonly role: "getFlowById";
|
|
846
714
|
readonly name: "Get flow";
|
|
847
715
|
readonly response_200: {
|
|
848
|
-
flow: import("./inputsDefault").FlowBase<
|
|
716
|
+
flow: import("./inputsDefault").FlowBase<TId_8, TDate_8> | null;
|
|
849
717
|
message: string;
|
|
850
718
|
};
|
|
851
719
|
readonly response_404: {
|
|
@@ -857,7 +725,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
857
725
|
readonly role: "putFlowById";
|
|
858
726
|
readonly name: "Update flow";
|
|
859
727
|
readonly response_200: {
|
|
860
|
-
flow: import("./inputsDefault").FlowBase<
|
|
728
|
+
flow: import("./inputsDefault").FlowBase<TId_8, TDate_8>;
|
|
861
729
|
message: string;
|
|
862
730
|
};
|
|
863
731
|
readonly response_404: {
|
|
@@ -873,7 +741,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
873
741
|
readonly role: "deleteFlowById";
|
|
874
742
|
readonly name: "Delete flow";
|
|
875
743
|
readonly response_200: {
|
|
876
|
-
flow: import("./inputsDefault").FlowBase<
|
|
744
|
+
flow: import("./inputsDefault").FlowBase<TId_8, TDate_8>;
|
|
877
745
|
message: string;
|
|
878
746
|
};
|
|
879
747
|
readonly response_404: {
|
|
@@ -885,11 +753,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
885
753
|
};
|
|
886
754
|
}, {
|
|
887
755
|
readonly method: "post";
|
|
888
|
-
readonly path: "/
|
|
889
|
-
readonly role: "
|
|
890
|
-
readonly name: "Create
|
|
756
|
+
readonly path: "/event";
|
|
757
|
+
readonly role: "postEvent";
|
|
758
|
+
readonly name: "Create event";
|
|
891
759
|
readonly response_201: {
|
|
892
|
-
|
|
760
|
+
event: import("./inputsDefault").EventBase<TId_9, TDate_9>;
|
|
893
761
|
message: string;
|
|
894
762
|
};
|
|
895
763
|
readonly response_500: {
|
|
@@ -898,11 +766,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
898
766
|
};
|
|
899
767
|
}, {
|
|
900
768
|
readonly method: "post";
|
|
901
|
-
readonly path: "/
|
|
902
|
-
readonly role: "
|
|
903
|
-
readonly name: "Create
|
|
769
|
+
readonly path: "/event/occupancies/:id";
|
|
770
|
+
readonly role: "postEventOccupanciesById";
|
|
771
|
+
readonly name: "Create event seats";
|
|
904
772
|
readonly response_201: {
|
|
905
|
-
|
|
773
|
+
event: import("./inputsDefault").EventBase<TId_9, TDate_9>;
|
|
906
774
|
message: string;
|
|
907
775
|
};
|
|
908
776
|
readonly response_500: {
|
|
@@ -911,11 +779,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
911
779
|
};
|
|
912
780
|
}, {
|
|
913
781
|
readonly method: "get";
|
|
914
|
-
readonly path: "/
|
|
915
|
-
readonly role: "
|
|
916
|
-
readonly name: "Get
|
|
782
|
+
readonly path: "/event";
|
|
783
|
+
readonly role: "getEvents";
|
|
784
|
+
readonly name: "Get events";
|
|
917
785
|
readonly response_200: {
|
|
918
|
-
|
|
786
|
+
events: import("./inputsDefault").EventBase<TId_9, TDate_9>[];
|
|
919
787
|
count: number;
|
|
920
788
|
};
|
|
921
789
|
readonly response_500: {
|
|
@@ -924,11 +792,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
924
792
|
};
|
|
925
793
|
}, {
|
|
926
794
|
readonly method: "get";
|
|
927
|
-
readonly path: "/
|
|
928
|
-
readonly role: "
|
|
929
|
-
readonly name: "Get
|
|
795
|
+
readonly path: "/event/:id";
|
|
796
|
+
readonly role: "getEventById";
|
|
797
|
+
readonly name: "Get event";
|
|
930
798
|
readonly response_200: {
|
|
931
|
-
|
|
799
|
+
event: import("./inputsDefault").EventBase<TId_9, TDate_9> | null;
|
|
932
800
|
message: string;
|
|
933
801
|
};
|
|
934
802
|
readonly response_404: {
|
|
@@ -936,11 +804,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
936
804
|
};
|
|
937
805
|
}, {
|
|
938
806
|
readonly method: "put";
|
|
939
|
-
readonly path: "/
|
|
940
|
-
readonly role: "
|
|
941
|
-
readonly name: "Update
|
|
807
|
+
readonly path: "/event/:id";
|
|
808
|
+
readonly role: "putEventById";
|
|
809
|
+
readonly name: "Update event";
|
|
942
810
|
readonly response_200: {
|
|
943
|
-
|
|
811
|
+
event: import("./inputsDefault").EventBase<TId_9, TDate_9>;
|
|
944
812
|
message: string;
|
|
945
813
|
};
|
|
946
814
|
readonly response_404: {
|
|
@@ -952,11 +820,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
952
820
|
};
|
|
953
821
|
}, {
|
|
954
822
|
readonly method: "delete";
|
|
955
|
-
readonly path: "/
|
|
956
|
-
readonly role: "
|
|
957
|
-
readonly name: "Delete
|
|
823
|
+
readonly path: "/event/:id";
|
|
824
|
+
readonly role: "deleteEventById";
|
|
825
|
+
readonly name: "Delete event";
|
|
958
826
|
readonly response_200: {
|
|
959
|
-
|
|
827
|
+
event: import("./inputsDefault").EventBase<TId_9, TDate_9>;
|
|
960
828
|
message: string;
|
|
961
829
|
};
|
|
962
830
|
readonly response_404: {
|
|
@@ -972,7 +840,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
972
840
|
readonly role: "postGroup";
|
|
973
841
|
readonly name: "Create group";
|
|
974
842
|
readonly response_201: {
|
|
975
|
-
group: import("./inputsDefault").GroupBase<
|
|
843
|
+
group: import("./inputsDefault").GroupBase<TId_10, TDate_10>;
|
|
976
844
|
message: string;
|
|
977
845
|
};
|
|
978
846
|
readonly response_500: {
|
|
@@ -985,7 +853,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
985
853
|
readonly role: "getGroups";
|
|
986
854
|
readonly name: "Get groups";
|
|
987
855
|
readonly response_200: {
|
|
988
|
-
groups: import("./inputsDefault").GroupBase<
|
|
856
|
+
groups: import("./inputsDefault").GroupBase<TId_10, TDate_10>[];
|
|
989
857
|
count: number;
|
|
990
858
|
};
|
|
991
859
|
readonly response_500: {
|
|
@@ -998,7 +866,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
998
866
|
readonly role: "getGroupById";
|
|
999
867
|
readonly name: "Get group";
|
|
1000
868
|
readonly response_200: {
|
|
1001
|
-
group: import("./inputsDefault").GroupBase<
|
|
869
|
+
group: import("./inputsDefault").GroupBase<TId_10, TDate_10> | null;
|
|
1002
870
|
message: string;
|
|
1003
871
|
};
|
|
1004
872
|
readonly response_404: {
|
|
@@ -1010,7 +878,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1010
878
|
readonly role: "putGroupById";
|
|
1011
879
|
readonly name: "Update group";
|
|
1012
880
|
readonly response_200: {
|
|
1013
|
-
group: import("./inputsDefault").GroupBase<
|
|
881
|
+
group: import("./inputsDefault").GroupBase<TId_10, TDate_10>;
|
|
1014
882
|
message: string;
|
|
1015
883
|
};
|
|
1016
884
|
readonly response_404: {
|
|
@@ -1026,7 +894,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1026
894
|
readonly role: "deleteGroupById";
|
|
1027
895
|
readonly name: "Delete group";
|
|
1028
896
|
readonly response_200: {
|
|
1029
|
-
group: import("./inputsDefault").GroupBase<
|
|
897
|
+
group: import("./inputsDefault").GroupBase<TId_10, TDate_10>;
|
|
1030
898
|
message: string;
|
|
1031
899
|
};
|
|
1032
900
|
readonly response_404: {
|
|
@@ -1042,7 +910,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1042
910
|
readonly role: "postJob";
|
|
1043
911
|
readonly name: "Create job";
|
|
1044
912
|
readonly response_201: {
|
|
1045
|
-
job: import("./inputsDefault").JobBase<
|
|
913
|
+
job: import("./inputsDefault").JobBase<TId_11, TDate_11>;
|
|
1046
914
|
message: string;
|
|
1047
915
|
};
|
|
1048
916
|
readonly response_500: {
|
|
@@ -1055,7 +923,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1055
923
|
readonly role: "postJobMany";
|
|
1056
924
|
readonly name: "Create many jobs";
|
|
1057
925
|
readonly response_201: {
|
|
1058
|
-
jobs: import("./inputsDefault").JobBase<
|
|
926
|
+
jobs: import("./inputsDefault").JobBase<TId_11, TDate_11>[];
|
|
1059
927
|
message: string;
|
|
1060
928
|
};
|
|
1061
929
|
readonly response_500: {
|
|
@@ -1068,7 +936,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1068
936
|
readonly role: "postJobStartById";
|
|
1069
937
|
readonly name: "Run job by ID";
|
|
1070
938
|
readonly response_201: {
|
|
1071
|
-
job: import("agenda").JobAttributes<import("./inputsDefault").AgendaJobData<
|
|
939
|
+
job: import("agenda").JobAttributes<import("./inputsDefault").AgendaJobData<TId_11>>;
|
|
1072
940
|
message: string;
|
|
1073
941
|
};
|
|
1074
942
|
readonly response_404: {
|
|
@@ -1084,7 +952,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1084
952
|
readonly role: "getJobs";
|
|
1085
953
|
readonly name: "Get jobs";
|
|
1086
954
|
readonly response_200: {
|
|
1087
|
-
jobs: import("./inputsDefault").JobBase<
|
|
955
|
+
jobs: import("./inputsDefault").JobBase<TId_11, TDate_11>[];
|
|
1088
956
|
count: number;
|
|
1089
957
|
};
|
|
1090
958
|
readonly response_500: {
|
|
@@ -1097,7 +965,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1097
965
|
readonly role: "getJobById";
|
|
1098
966
|
readonly name: "Get job";
|
|
1099
967
|
readonly response_200: {
|
|
1100
|
-
job: import("./inputsDefault").JobBase<
|
|
968
|
+
job: import("./inputsDefault").JobBase<TId_11, TDate_11>;
|
|
1101
969
|
message: string;
|
|
1102
970
|
};
|
|
1103
971
|
readonly response_404: {
|
|
@@ -1109,10 +977,10 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1109
977
|
readonly role: "getJobDetailsById";
|
|
1110
978
|
readonly name: "Get job details";
|
|
1111
979
|
readonly response_200: {
|
|
1112
|
-
job: import("./inputsDefault").JobBase<
|
|
1113
|
-
campaign: import("./inputsDefault").CampaignBase<
|
|
1114
|
-
group: import("./inputsDefault").GroupBase<
|
|
1115
|
-
template: import("./inputsDefault").GroupBase<
|
|
980
|
+
job: import("./inputsDefault").JobBase<TId_11, TDate_11>;
|
|
981
|
+
campaign: import("./inputsDefault").CampaignBase<TId_11, TDate_11>;
|
|
982
|
+
group: import("./inputsDefault").GroupBase<TId_11, TDate_11>;
|
|
983
|
+
template: import("./inputsDefault").GroupBase<TId_11, TDate_11>;
|
|
1116
984
|
message: string;
|
|
1117
985
|
};
|
|
1118
986
|
readonly response_400: {
|
|
@@ -1127,7 +995,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1127
995
|
readonly role: "putJobById";
|
|
1128
996
|
readonly name: "Update job";
|
|
1129
997
|
readonly response_200: {
|
|
1130
|
-
job: import("./inputsDefault").JobBase<
|
|
998
|
+
job: import("./inputsDefault").JobBase<TId_11, TDate_11>;
|
|
1131
999
|
message: string;
|
|
1132
1000
|
};
|
|
1133
1001
|
readonly response_404: {
|
|
@@ -1143,7 +1011,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1143
1011
|
readonly role: "deleteJobById";
|
|
1144
1012
|
readonly name: "Delete job";
|
|
1145
1013
|
readonly response_200: {
|
|
1146
|
-
job: import("./inputsDefault").JobBase<
|
|
1014
|
+
job: import("./inputsDefault").JobBase<TId_11, TDate_11>;
|
|
1147
1015
|
message: string;
|
|
1148
1016
|
};
|
|
1149
1017
|
readonly response_404: {
|
|
@@ -1159,7 +1027,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1159
1027
|
readonly role: "getLogs";
|
|
1160
1028
|
readonly name: "Get logs";
|
|
1161
1029
|
readonly response_200: {
|
|
1162
|
-
logs: import("./inputsDefault").LogBase<
|
|
1030
|
+
logs: import("./inputsDefault").LogBase<TId_12, TDate_12>[];
|
|
1163
1031
|
count: number;
|
|
1164
1032
|
};
|
|
1165
1033
|
readonly response_500: {
|
|
@@ -1184,7 +1052,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1184
1052
|
readonly role: "deleteLogById";
|
|
1185
1053
|
readonly name: "Delete log by ID";
|
|
1186
1054
|
readonly response_200: {
|
|
1187
|
-
log: import("./inputsDefault").LogBase<
|
|
1055
|
+
log: import("./inputsDefault").LogBase<TId_12, TDate_12>;
|
|
1188
1056
|
message: string;
|
|
1189
1057
|
};
|
|
1190
1058
|
readonly response_404: {
|
|
@@ -1200,7 +1068,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1200
1068
|
readonly role: "postNotification";
|
|
1201
1069
|
readonly name: "Create notification";
|
|
1202
1070
|
readonly response_201: {
|
|
1203
|
-
notification: import("./inputsDefault").NotificationBase<
|
|
1071
|
+
notification: import("./inputsDefault").NotificationBase<TId_13, TDate_13>;
|
|
1204
1072
|
message: string;
|
|
1205
1073
|
};
|
|
1206
1074
|
readonly response_500: {
|
|
@@ -1226,7 +1094,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1226
1094
|
readonly role: "getNotifications";
|
|
1227
1095
|
readonly name: "Get notifications";
|
|
1228
1096
|
readonly response_200: {
|
|
1229
|
-
notifications: import("./inputsDefault").NotificationBase<
|
|
1097
|
+
notifications: import("./inputsDefault").NotificationBase<TId_13, TDate_13>[];
|
|
1230
1098
|
count: number;
|
|
1231
1099
|
unreadCount: number;
|
|
1232
1100
|
};
|
|
@@ -1240,7 +1108,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1240
1108
|
readonly role: "getNotificationById";
|
|
1241
1109
|
readonly name: "Get notification by ID";
|
|
1242
1110
|
readonly response_200: {
|
|
1243
|
-
notification: import("./inputsDefault").NotificationBase<
|
|
1111
|
+
notification: import("./inputsDefault").NotificationBase<TId_13, TDate_13> | null;
|
|
1244
1112
|
message: string;
|
|
1245
1113
|
};
|
|
1246
1114
|
readonly response_404: {
|
|
@@ -1252,7 +1120,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1252
1120
|
readonly role: "putNotificationById";
|
|
1253
1121
|
readonly name: "Update notification";
|
|
1254
1122
|
readonly response_200: {
|
|
1255
|
-
notification: import("./inputsDefault").NotificationBase<
|
|
1123
|
+
notification: import("./inputsDefault").NotificationBase<TId_13, TDate_13>;
|
|
1256
1124
|
message: string;
|
|
1257
1125
|
};
|
|
1258
1126
|
readonly response_404: {
|
|
@@ -1268,7 +1136,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1268
1136
|
readonly role: "deleteNotificationById";
|
|
1269
1137
|
readonly name: "Delete notification";
|
|
1270
1138
|
readonly response_200: {
|
|
1271
|
-
notification: import("./inputsDefault").NotificationBase<
|
|
1139
|
+
notification: import("./inputsDefault").NotificationBase<TId_13, TDate_13>;
|
|
1272
1140
|
message: string;
|
|
1273
1141
|
};
|
|
1274
1142
|
readonly response_404: {
|
|
@@ -1284,7 +1152,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1284
1152
|
readonly role: "postPage";
|
|
1285
1153
|
readonly name: "Create page";
|
|
1286
1154
|
readonly response_201: {
|
|
1287
|
-
page: import("./inputsDefault").PageBase<
|
|
1155
|
+
page: import("./inputsDefault").PageBase<TId_14, TDate_14>;
|
|
1288
1156
|
message: string;
|
|
1289
1157
|
};
|
|
1290
1158
|
readonly response_500: {
|
|
@@ -1310,7 +1178,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1310
1178
|
readonly role: "getPages";
|
|
1311
1179
|
readonly name: "Get pages";
|
|
1312
1180
|
readonly response_200: {
|
|
1313
|
-
pages: import("./inputsDefault").PageBase<
|
|
1181
|
+
pages: import("./inputsDefault").PageBase<TId_14, TDate_14>[];
|
|
1314
1182
|
count: number;
|
|
1315
1183
|
};
|
|
1316
1184
|
readonly response_500: {
|
|
@@ -1323,7 +1191,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1323
1191
|
readonly role: "getPageById";
|
|
1324
1192
|
readonly name: "Get page by ID";
|
|
1325
1193
|
readonly response_200: {
|
|
1326
|
-
page: import("./inputsDefault").PageBase<
|
|
1194
|
+
page: import("./inputsDefault").PageBase<TId_14, TDate_14> | null;
|
|
1327
1195
|
message: string;
|
|
1328
1196
|
};
|
|
1329
1197
|
readonly response_404: {
|
|
@@ -1335,7 +1203,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1335
1203
|
readonly role: "putPageById";
|
|
1336
1204
|
readonly name: "Update page";
|
|
1337
1205
|
readonly response_200: {
|
|
1338
|
-
page: import("./inputsDefault").PageBase<
|
|
1206
|
+
page: import("./inputsDefault").PageBase<TId_14, TDate_14>;
|
|
1339
1207
|
message: string;
|
|
1340
1208
|
};
|
|
1341
1209
|
readonly response_404: {
|
|
@@ -1351,7 +1219,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1351
1219
|
readonly role: "deletePageById";
|
|
1352
1220
|
readonly name: "Delete page";
|
|
1353
1221
|
readonly response_200: {
|
|
1354
|
-
page: import("./inputsDefault").PageBase<
|
|
1222
|
+
page: import("./inputsDefault").PageBase<TId_14, TDate_14>;
|
|
1355
1223
|
message: string;
|
|
1356
1224
|
};
|
|
1357
1225
|
readonly response_404: {
|
|
@@ -1367,7 +1235,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1367
1235
|
readonly role: "postProduct";
|
|
1368
1236
|
readonly name: "Create product";
|
|
1369
1237
|
readonly response_201: {
|
|
1370
|
-
product: import("./inputsDefault").ProductBase<
|
|
1238
|
+
product: import("./inputsDefault").ProductBase<TId_15, TDate_15>;
|
|
1371
1239
|
message: string;
|
|
1372
1240
|
};
|
|
1373
1241
|
readonly response_500: {
|
|
@@ -1380,7 +1248,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1380
1248
|
readonly role: "getProducts";
|
|
1381
1249
|
readonly name: "Get products";
|
|
1382
1250
|
readonly response_200: {
|
|
1383
|
-
products: import("./inputsDefault").ProductBase<
|
|
1251
|
+
products: import("./inputsDefault").ProductBase<TId_15, TDate_15>[];
|
|
1384
1252
|
count: number;
|
|
1385
1253
|
};
|
|
1386
1254
|
readonly response_500: {
|
|
@@ -1393,7 +1261,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1393
1261
|
readonly role: "getProductById";
|
|
1394
1262
|
readonly name: "Get product";
|
|
1395
1263
|
readonly response_200: {
|
|
1396
|
-
product: import("./inputsDefault").ProductBase<
|
|
1264
|
+
product: import("./inputsDefault").ProductBase<TId_15, TDate_15> | null;
|
|
1397
1265
|
message: string;
|
|
1398
1266
|
};
|
|
1399
1267
|
readonly response_404: {
|
|
@@ -1405,7 +1273,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1405
1273
|
readonly role: "putProductById";
|
|
1406
1274
|
readonly name: "Update product";
|
|
1407
1275
|
readonly response_200: {
|
|
1408
|
-
product: import("./inputsDefault").ProductBase<
|
|
1276
|
+
product: import("./inputsDefault").ProductBase<TId_15, TDate_15>;
|
|
1409
1277
|
message: string;
|
|
1410
1278
|
};
|
|
1411
1279
|
readonly response_404: {
|
|
@@ -1421,7 +1289,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1421
1289
|
readonly role: "deleteProductById";
|
|
1422
1290
|
readonly name: "Delete product";
|
|
1423
1291
|
readonly response_200: {
|
|
1424
|
-
product: import("./inputsDefault").ProductBase<
|
|
1292
|
+
product: import("./inputsDefault").ProductBase<TId_15, TDate_15>;
|
|
1425
1293
|
message: string;
|
|
1426
1294
|
};
|
|
1427
1295
|
readonly response_404: {
|
|
@@ -1437,7 +1305,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1437
1305
|
readonly role: "postProspect";
|
|
1438
1306
|
readonly name: "Create prospect";
|
|
1439
1307
|
readonly response_201: {
|
|
1440
|
-
prospect: import("./inputsDefault").ProspectBase<
|
|
1308
|
+
prospect: import("./inputsDefault").ProspectBase<TId_16, TDate_16>;
|
|
1441
1309
|
message: string;
|
|
1442
1310
|
};
|
|
1443
1311
|
readonly response_500: {
|
|
@@ -1450,7 +1318,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1450
1318
|
readonly role: "postProspectSubscribe";
|
|
1451
1319
|
readonly name: "Subscribe prospect";
|
|
1452
1320
|
readonly response_201: {
|
|
1453
|
-
prospect: import("./inputsDefault").ProspectBase<
|
|
1321
|
+
prospect: import("./inputsDefault").ProspectBase<TId_16, TDate_16>;
|
|
1454
1322
|
message: string;
|
|
1455
1323
|
};
|
|
1456
1324
|
readonly response_500: {
|
|
@@ -1463,7 +1331,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1463
1331
|
readonly role: "getProspects";
|
|
1464
1332
|
readonly name: "Get prospects";
|
|
1465
1333
|
readonly response_200: {
|
|
1466
|
-
prospects: import("./inputsDefault").ProspectBase<
|
|
1334
|
+
prospects: import("./inputsDefault").ProspectBase<TId_16, TDate_16>[];
|
|
1467
1335
|
count: number;
|
|
1468
1336
|
new: number;
|
|
1469
1337
|
};
|
|
@@ -1489,7 +1357,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1489
1357
|
readonly role: "getProspectById";
|
|
1490
1358
|
readonly name: "Get prospect by ID";
|
|
1491
1359
|
readonly response_200: {
|
|
1492
|
-
prospect: import("./inputsDefault").ProspectBase<
|
|
1360
|
+
prospect: import("./inputsDefault").ProspectBase<TId_16, TDate_16> | null;
|
|
1493
1361
|
message: string;
|
|
1494
1362
|
};
|
|
1495
1363
|
readonly response_404: {
|
|
@@ -1518,7 +1386,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1518
1386
|
readonly role: "putProspectById";
|
|
1519
1387
|
readonly name: "Update prospect";
|
|
1520
1388
|
readonly response_200: {
|
|
1521
|
-
prospect: import("./inputsDefault").ProspectBase<
|
|
1389
|
+
prospect: import("./inputsDefault").ProspectBase<TId_16, TDate_16>;
|
|
1522
1390
|
message: string;
|
|
1523
1391
|
};
|
|
1524
1392
|
readonly response_404: {
|
|
@@ -1534,7 +1402,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1534
1402
|
readonly role: "putProspectOpenedById";
|
|
1535
1403
|
readonly name: "Mark prospect opened";
|
|
1536
1404
|
readonly response_200: {
|
|
1537
|
-
prospect: import("./inputsDefault").ProspectBase<
|
|
1405
|
+
prospect: import("./inputsDefault").ProspectBase<TId_16, TDate_16>;
|
|
1538
1406
|
message: string;
|
|
1539
1407
|
};
|
|
1540
1408
|
readonly response_404: {
|
|
@@ -1550,7 +1418,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1550
1418
|
readonly role: "deleteProspectById";
|
|
1551
1419
|
readonly name: "Delete prospect";
|
|
1552
1420
|
readonly response_200: {
|
|
1553
|
-
prospect: import("./inputsDefault").ProspectBase<
|
|
1421
|
+
prospect: import("./inputsDefault").ProspectBase<TId_16, TDate_16>;
|
|
1554
1422
|
message: string;
|
|
1555
1423
|
};
|
|
1556
1424
|
readonly response_404: {
|
|
@@ -1566,7 +1434,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1566
1434
|
readonly role: "postReview";
|
|
1567
1435
|
readonly name: "Create review";
|
|
1568
1436
|
readonly response_201: {
|
|
1569
|
-
review: import("./inputsDefault").ReviewBase<
|
|
1437
|
+
review: import("./inputsDefault").ReviewBase<TId_17, TDate_17>;
|
|
1570
1438
|
message: string;
|
|
1571
1439
|
};
|
|
1572
1440
|
readonly response_500: {
|
|
@@ -1591,7 +1459,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1591
1459
|
readonly role: "getReviews";
|
|
1592
1460
|
readonly name: "Get reviews";
|
|
1593
1461
|
readonly response_200: {
|
|
1594
|
-
reviews: import("./inputsDefault").ReviewBase<
|
|
1462
|
+
reviews: import("./inputsDefault").ReviewBase<TId_17, TDate_17>[];
|
|
1595
1463
|
count: number;
|
|
1596
1464
|
};
|
|
1597
1465
|
readonly response_500: {
|
|
@@ -1604,7 +1472,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1604
1472
|
readonly role: "getReviewById";
|
|
1605
1473
|
readonly name: "Get review by ID";
|
|
1606
1474
|
readonly response_200: {
|
|
1607
|
-
review: import("./inputsDefault").ReviewBase<
|
|
1475
|
+
review: import("./inputsDefault").ReviewBase<TId_17, TDate_17> | null;
|
|
1608
1476
|
message: string;
|
|
1609
1477
|
};
|
|
1610
1478
|
readonly response_404: {
|
|
@@ -1629,7 +1497,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1629
1497
|
readonly role: "putReviewById";
|
|
1630
1498
|
readonly name: "Update review";
|
|
1631
1499
|
readonly response_200: {
|
|
1632
|
-
review: import("./inputsDefault").ReviewBase<
|
|
1500
|
+
review: import("./inputsDefault").ReviewBase<TId_17, TDate_17>;
|
|
1633
1501
|
message: string;
|
|
1634
1502
|
};
|
|
1635
1503
|
readonly response_404: {
|
|
@@ -1645,7 +1513,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1645
1513
|
readonly role: "deleteReviewById";
|
|
1646
1514
|
readonly name: "Delete review";
|
|
1647
1515
|
readonly response_200: {
|
|
1648
|
-
review: import("./inputsDefault").ReviewBase<
|
|
1516
|
+
review: import("./inputsDefault").ReviewBase<TId_17, TDate_17>;
|
|
1649
1517
|
message: string;
|
|
1650
1518
|
};
|
|
1651
1519
|
readonly response_404: {
|
|
@@ -1661,7 +1529,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1661
1529
|
readonly role: "postRole";
|
|
1662
1530
|
readonly name: "Create role";
|
|
1663
1531
|
readonly response_201: {
|
|
1664
|
-
role: import("./inputsDefault").RoleBase<
|
|
1532
|
+
role: import("./inputsDefault").RoleBase<TId_18, TDate_18>;
|
|
1665
1533
|
message: string;
|
|
1666
1534
|
};
|
|
1667
1535
|
readonly response_500: {
|
|
@@ -1674,7 +1542,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1674
1542
|
readonly role: "getRoles";
|
|
1675
1543
|
readonly name: "Get roles";
|
|
1676
1544
|
readonly response_200: {
|
|
1677
|
-
roles: import("./inputsDefault").RoleBase<
|
|
1545
|
+
roles: import("./inputsDefault").RoleBase<TId_18, TDate_18>[];
|
|
1678
1546
|
count: number;
|
|
1679
1547
|
};
|
|
1680
1548
|
readonly response_500: {
|
|
@@ -1687,7 +1555,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1687
1555
|
readonly role: "getRoleById";
|
|
1688
1556
|
readonly name: "Get role";
|
|
1689
1557
|
readonly response_200: {
|
|
1690
|
-
role: import("./inputsDefault").RoleBase<
|
|
1558
|
+
role: import("./inputsDefault").RoleBase<TId_18, TDate_18> | null;
|
|
1691
1559
|
message: string;
|
|
1692
1560
|
};
|
|
1693
1561
|
readonly response_404: {
|
|
@@ -1699,7 +1567,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1699
1567
|
readonly role: "putRoleById";
|
|
1700
1568
|
readonly name: "Update role";
|
|
1701
1569
|
readonly response_200: {
|
|
1702
|
-
role: import("./inputsDefault").RoleBase<
|
|
1570
|
+
role: import("./inputsDefault").RoleBase<TId_18, TDate_18>;
|
|
1703
1571
|
message: string;
|
|
1704
1572
|
};
|
|
1705
1573
|
readonly response_404: {
|
|
@@ -1711,7 +1579,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1711
1579
|
readonly role: "deleteRoleById";
|
|
1712
1580
|
readonly name: "Delete role";
|
|
1713
1581
|
readonly response_200: {
|
|
1714
|
-
role: import("./inputsDefault").RoleBase<
|
|
1582
|
+
role: import("./inputsDefault").RoleBase<TId_18, TDate_18>;
|
|
1715
1583
|
message: string;
|
|
1716
1584
|
};
|
|
1717
1585
|
readonly response_404: {
|
|
@@ -1727,7 +1595,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1727
1595
|
readonly role: "postSale";
|
|
1728
1596
|
readonly name: "Create sale";
|
|
1729
1597
|
readonly response_201: {
|
|
1730
|
-
sale: import("./inputsDefault").SaleBase<
|
|
1598
|
+
sale: import("./inputsDefault").SaleBase<TId_19, TDate_19>;
|
|
1731
1599
|
message: string;
|
|
1732
1600
|
};
|
|
1733
1601
|
readonly response_500: {
|
|
@@ -1736,11 +1604,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1736
1604
|
};
|
|
1737
1605
|
}, {
|
|
1738
1606
|
readonly method: "get";
|
|
1739
|
-
readonly path: "/sale/
|
|
1740
|
-
readonly role: "
|
|
1741
|
-
readonly name: "Get sales for
|
|
1607
|
+
readonly path: "/sale/customer";
|
|
1608
|
+
readonly role: "getSalesCustomer";
|
|
1609
|
+
readonly name: "Get sales for customer";
|
|
1742
1610
|
readonly response_200: {
|
|
1743
|
-
sales: import("./inputsDefault").SaleBase<
|
|
1611
|
+
sales: import("./inputsDefault").SaleBase<TId_19, TDate_19>[];
|
|
1744
1612
|
count: number;
|
|
1745
1613
|
};
|
|
1746
1614
|
readonly response_500: {
|
|
@@ -1753,7 +1621,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1753
1621
|
readonly role: "getSales";
|
|
1754
1622
|
readonly name: "Get sales";
|
|
1755
1623
|
readonly response_200: {
|
|
1756
|
-
sales: import("./inputsDefault").SaleBase<
|
|
1624
|
+
sales: import("./inputsDefault").SaleBase<TId_19, TDate_19>[];
|
|
1757
1625
|
count: number;
|
|
1758
1626
|
};
|
|
1759
1627
|
readonly response_500: {
|
|
@@ -1766,7 +1634,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1766
1634
|
readonly role: "getSaleById";
|
|
1767
1635
|
readonly name: "Get sale by ID";
|
|
1768
1636
|
readonly response_200: {
|
|
1769
|
-
sale: import("./inputsDefault").SaleBase<
|
|
1637
|
+
sale: import("./inputsDefault").SaleBase<TId_19, TDate_19> | null;
|
|
1770
1638
|
message: string;
|
|
1771
1639
|
};
|
|
1772
1640
|
readonly response_404: {
|
|
@@ -1791,7 +1659,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1791
1659
|
readonly role: "putSaleById";
|
|
1792
1660
|
readonly name: "Update sale";
|
|
1793
1661
|
readonly response_200: {
|
|
1794
|
-
sale: import("./inputsDefault").SaleBase<
|
|
1662
|
+
sale: import("./inputsDefault").SaleBase<TId_19, TDate_19>;
|
|
1795
1663
|
message: string;
|
|
1796
1664
|
};
|
|
1797
1665
|
readonly response_404: {
|
|
@@ -1807,7 +1675,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1807
1675
|
readonly role: "deleteSaleById";
|
|
1808
1676
|
readonly name: "Delete sale";
|
|
1809
1677
|
readonly response_200: {
|
|
1810
|
-
sale: import("./inputsDefault").SaleBase<
|
|
1678
|
+
sale: import("./inputsDefault").SaleBase<TId_19, TDate_19>;
|
|
1811
1679
|
message: string;
|
|
1812
1680
|
};
|
|
1813
1681
|
readonly response_404: {
|
|
@@ -1823,7 +1691,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1823
1691
|
readonly role: "postSeason";
|
|
1824
1692
|
readonly name: "Create season";
|
|
1825
1693
|
readonly response_201: {
|
|
1826
|
-
season: import("./inputsDefault").SeasonBase<
|
|
1694
|
+
season: import("./inputsDefault").SeasonBase<TId_20, TDate_20>;
|
|
1827
1695
|
message: string;
|
|
1828
1696
|
};
|
|
1829
1697
|
readonly response_500: {
|
|
@@ -1836,7 +1704,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1836
1704
|
readonly role: "getSeasons";
|
|
1837
1705
|
readonly name: "Get seasons";
|
|
1838
1706
|
readonly response_200: {
|
|
1839
|
-
seasons: import("./inputsDefault").SeasonBase<
|
|
1707
|
+
seasons: import("./inputsDefault").SeasonBase<TId_20, TDate_20>[];
|
|
1840
1708
|
count: number;
|
|
1841
1709
|
};
|
|
1842
1710
|
readonly response_500: {
|
|
@@ -1849,7 +1717,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1849
1717
|
readonly role: "getSeasonById";
|
|
1850
1718
|
readonly name: "Get season";
|
|
1851
1719
|
readonly response_200: {
|
|
1852
|
-
season: import("./inputsDefault").SeasonBase<
|
|
1720
|
+
season: import("./inputsDefault").SeasonBase<TId_20, TDate_20> | null;
|
|
1853
1721
|
message: string;
|
|
1854
1722
|
};
|
|
1855
1723
|
readonly response_404: {
|
|
@@ -1861,7 +1729,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1861
1729
|
readonly role: "putSeasonById";
|
|
1862
1730
|
readonly name: "Update season";
|
|
1863
1731
|
readonly response_200: {
|
|
1864
|
-
season: import("./inputsDefault").SeasonBase<
|
|
1732
|
+
season: import("./inputsDefault").SeasonBase<TId_20, TDate_20>;
|
|
1865
1733
|
message: string;
|
|
1866
1734
|
};
|
|
1867
1735
|
readonly response_404: {
|
|
@@ -1873,7 +1741,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1873
1741
|
readonly role: "deleteSeasonById";
|
|
1874
1742
|
readonly name: "Delete season";
|
|
1875
1743
|
readonly response_200: {
|
|
1876
|
-
season: import("./inputsDefault").SeasonBase<
|
|
1744
|
+
season: import("./inputsDefault").SeasonBase<TId_20, TDate_20>;
|
|
1877
1745
|
message: string;
|
|
1878
1746
|
};
|
|
1879
1747
|
readonly response_404: {
|
|
@@ -1889,7 +1757,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1889
1757
|
readonly role: "getSeats";
|
|
1890
1758
|
readonly name: "Get seats";
|
|
1891
1759
|
readonly response_200: {
|
|
1892
|
-
seats: import("./inputsDefault").SeatBase<
|
|
1760
|
+
seats: import("./inputsDefault").SeatBase<TId_21, TDate_21>[];
|
|
1893
1761
|
count: number;
|
|
1894
1762
|
};
|
|
1895
1763
|
readonly response_500: {
|
|
@@ -1902,7 +1770,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1902
1770
|
readonly role: "getOccupanciesSeasonalById";
|
|
1903
1771
|
readonly name: "Get seasonal occupancies by season ID";
|
|
1904
1772
|
readonly response_200: {
|
|
1905
|
-
occupancies: import("./inputsDefault").OccupanceBase<
|
|
1773
|
+
occupancies: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>[];
|
|
1906
1774
|
message: string;
|
|
1907
1775
|
};
|
|
1908
1776
|
readonly response_404: {
|
|
@@ -1914,11 +1782,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1914
1782
|
};
|
|
1915
1783
|
}, {
|
|
1916
1784
|
readonly method: "get";
|
|
1917
|
-
readonly path: "/occupance/
|
|
1918
|
-
readonly role: "
|
|
1919
|
-
readonly name: "Get occupancies for
|
|
1785
|
+
readonly path: "/occupance/customer";
|
|
1786
|
+
readonly role: "getOccupanciesCustomer";
|
|
1787
|
+
readonly name: "Get occupancies for customer";
|
|
1920
1788
|
readonly response_200: {
|
|
1921
|
-
occupancies: import("./inputsDefault").FlatOccupanceWithSeat<
|
|
1789
|
+
occupancies: import("./inputsDefault").FlatOccupanceWithSeat<TId_21, TDate_21>[];
|
|
1922
1790
|
count: number;
|
|
1923
1791
|
};
|
|
1924
1792
|
readonly response_500: {
|
|
@@ -1931,7 +1799,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1931
1799
|
readonly role: "getOccupancies";
|
|
1932
1800
|
readonly name: "Get occupancies";
|
|
1933
1801
|
readonly response_200: {
|
|
1934
|
-
occupancies: import("./inputsDefault").FlatOccupanceWithSeat<
|
|
1802
|
+
occupancies: import("./inputsDefault").FlatOccupanceWithSeat<TId_21, TDate_21>[];
|
|
1935
1803
|
count: number;
|
|
1936
1804
|
};
|
|
1937
1805
|
readonly response_500: {
|
|
@@ -1944,7 +1812,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1944
1812
|
readonly role: "getOccupanceInfoByOrderId";
|
|
1945
1813
|
readonly name: "Get occupance info by order id";
|
|
1946
1814
|
readonly response_200: {
|
|
1947
|
-
tickets: import("./inputsDefault").FlatOccupance<
|
|
1815
|
+
tickets: import("./inputsDefault").FlatOccupance<TId_21, TDate_21>[];
|
|
1948
1816
|
message: string;
|
|
1949
1817
|
};
|
|
1950
1818
|
readonly response_400: {
|
|
@@ -1976,8 +1844,8 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1976
1844
|
readonly role: "postOccupanceReserveById";
|
|
1977
1845
|
readonly name: "Reserve occupance by ID";
|
|
1978
1846
|
readonly response_200: {
|
|
1979
|
-
itemWithTimeLeft: import("./inputsDefault").ItemWithTimeLeftBase<
|
|
1980
|
-
occupance: import("./inputsDefault").OccupanceBase<
|
|
1847
|
+
itemWithTimeLeft: import("./inputsDefault").ItemWithTimeLeftBase<TId_21, TDate_21>;
|
|
1848
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>;
|
|
1981
1849
|
message: string;
|
|
1982
1850
|
};
|
|
1983
1851
|
readonly response_400: {
|
|
@@ -2001,8 +1869,8 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2001
1869
|
readonly role: "postSeasonalOccupanceReserveById";
|
|
2002
1870
|
readonly name: "Reserve seasonal occupance by ID";
|
|
2003
1871
|
readonly response_200: {
|
|
2004
|
-
itemWithTimeLeft: import("./inputsDefault").ItemWithTimeLeftBase<
|
|
2005
|
-
occupance: import("./inputsDefault").OccupanceBase<
|
|
1872
|
+
itemWithTimeLeft: import("./inputsDefault").ItemWithTimeLeftBase<TId_21, TDate_21>;
|
|
1873
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>;
|
|
2006
1874
|
message: string;
|
|
2007
1875
|
};
|
|
2008
1876
|
readonly response_403: {
|
|
@@ -2024,7 +1892,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2024
1892
|
readonly name: "Free occupance by ID";
|
|
2025
1893
|
readonly response_200: {
|
|
2026
1894
|
itemId: string;
|
|
2027
|
-
occupance: import("./inputsDefault").OccupanceBase<
|
|
1895
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>;
|
|
2028
1896
|
message: string;
|
|
2029
1897
|
};
|
|
2030
1898
|
readonly response_400: {
|
|
@@ -2046,7 +1914,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2046
1914
|
readonly name: "Free seasonal occupance by ID";
|
|
2047
1915
|
readonly response_200: {
|
|
2048
1916
|
itemId: string;
|
|
2049
|
-
occupance: import("./inputsDefault").OccupanceBase<
|
|
1917
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>;
|
|
2050
1918
|
message: string;
|
|
2051
1919
|
};
|
|
2052
1920
|
readonly response_403: {
|
|
@@ -2067,7 +1935,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2067
1935
|
readonly role: "putOccupanceById";
|
|
2068
1936
|
readonly name: "Update occupance by ID";
|
|
2069
1937
|
readonly response_200: {
|
|
2070
|
-
occupance: import("./inputsDefault").OccupanceBase<
|
|
1938
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>;
|
|
2071
1939
|
message: string;
|
|
2072
1940
|
};
|
|
2073
1941
|
readonly response_404: {
|
|
@@ -2094,7 +1962,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2094
1962
|
readonly role: "postSection";
|
|
2095
1963
|
readonly name: "Create section";
|
|
2096
1964
|
readonly response_201: {
|
|
2097
|
-
section: import("./inputsDefault").SectionBase<
|
|
1965
|
+
section: import("./inputsDefault").SectionBase<TId_22, TDate_22>;
|
|
2098
1966
|
message: string;
|
|
2099
1967
|
};
|
|
2100
1968
|
readonly response_500: {
|
|
@@ -2107,7 +1975,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2107
1975
|
readonly role: "getSections";
|
|
2108
1976
|
readonly name: "Get sections";
|
|
2109
1977
|
readonly response_200: {
|
|
2110
|
-
sections: import("./inputsDefault").SectionBase<
|
|
1978
|
+
sections: import("./inputsDefault").SectionBase<TId_22, TDate_22>[];
|
|
2111
1979
|
count: number;
|
|
2112
1980
|
};
|
|
2113
1981
|
readonly response_500: {
|
|
@@ -2120,7 +1988,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2120
1988
|
readonly role: "getSectionById";
|
|
2121
1989
|
readonly name: "Get section by ID";
|
|
2122
1990
|
readonly response_200: {
|
|
2123
|
-
section: import("./inputsDefault").SectionBase<
|
|
1991
|
+
section: import("./inputsDefault").SectionBase<TId_22, TDate_22> | null;
|
|
2124
1992
|
message: string;
|
|
2125
1993
|
};
|
|
2126
1994
|
readonly response_404: {
|
|
@@ -2132,7 +2000,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2132
2000
|
readonly role: "putSectionById";
|
|
2133
2001
|
readonly name: "Update section by ID";
|
|
2134
2002
|
readonly response_200: {
|
|
2135
|
-
section: import("./inputsDefault").SectionBase<
|
|
2003
|
+
section: import("./inputsDefault").SectionBase<TId_22, TDate_22>;
|
|
2136
2004
|
message: string;
|
|
2137
2005
|
};
|
|
2138
2006
|
readonly response_404: {
|
|
@@ -2148,7 +2016,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2148
2016
|
readonly role: "deleteSectionById";
|
|
2149
2017
|
readonly name: "Delete section by ID";
|
|
2150
2018
|
readonly response_200: {
|
|
2151
|
-
section: import("./inputsDefault").SectionBase<
|
|
2019
|
+
section: import("./inputsDefault").SectionBase<TId_22, TDate_22>;
|
|
2152
2020
|
message: string;
|
|
2153
2021
|
};
|
|
2154
2022
|
readonly response_404: {
|
|
@@ -2160,11 +2028,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2160
2028
|
};
|
|
2161
2029
|
}, {
|
|
2162
2030
|
readonly method: "post";
|
|
2163
|
-
readonly path: "/
|
|
2164
|
-
readonly role: "
|
|
2165
|
-
readonly name: "Create
|
|
2031
|
+
readonly path: "/user/admin";
|
|
2032
|
+
readonly role: "postUserAdmin";
|
|
2033
|
+
readonly name: "Create user as root";
|
|
2166
2034
|
readonly response_201: {
|
|
2167
|
-
|
|
2035
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
2168
2036
|
message: string;
|
|
2169
2037
|
};
|
|
2170
2038
|
readonly response_400: {
|
|
@@ -2179,11 +2047,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2179
2047
|
};
|
|
2180
2048
|
}, {
|
|
2181
2049
|
readonly method: "post";
|
|
2182
|
-
readonly path: "/
|
|
2183
|
-
readonly role: "
|
|
2184
|
-
readonly name: "
|
|
2050
|
+
readonly path: "/user/token";
|
|
2051
|
+
readonly role: "postUserToken";
|
|
2052
|
+
readonly name: "User login (token)";
|
|
2185
2053
|
readonly response_200: {
|
|
2186
|
-
|
|
2054
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
2187
2055
|
message: string;
|
|
2188
2056
|
};
|
|
2189
2057
|
readonly response_401: {
|
|
@@ -2195,11 +2063,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2195
2063
|
};
|
|
2196
2064
|
}, {
|
|
2197
2065
|
readonly method: "post";
|
|
2198
|
-
readonly path: "/
|
|
2199
|
-
readonly role: "
|
|
2200
|
-
readonly name: "
|
|
2066
|
+
readonly path: "/user/logout";
|
|
2067
|
+
readonly role: "postUserLogout";
|
|
2068
|
+
readonly name: "User logout";
|
|
2201
2069
|
readonly response_200: {
|
|
2202
|
-
|
|
2070
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
2203
2071
|
message: string;
|
|
2204
2072
|
};
|
|
2205
2073
|
readonly response_500: {
|
|
@@ -2208,11 +2076,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2208
2076
|
};
|
|
2209
2077
|
}, {
|
|
2210
2078
|
readonly method: "post";
|
|
2211
|
-
readonly path: "/
|
|
2212
|
-
readonly role: "
|
|
2213
|
-
readonly name: "
|
|
2079
|
+
readonly path: "/user/logout/all";
|
|
2080
|
+
readonly role: "postUserLogoutAll";
|
|
2081
|
+
readonly name: "User logout all sessions";
|
|
2214
2082
|
readonly response_200: {
|
|
2215
|
-
|
|
2083
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
2216
2084
|
message: string;
|
|
2217
2085
|
};
|
|
2218
2086
|
readonly response_500: {
|
|
@@ -2221,11 +2089,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2221
2089
|
};
|
|
2222
2090
|
}, {
|
|
2223
2091
|
readonly method: "post";
|
|
2224
|
-
readonly path: "/
|
|
2225
|
-
readonly role: "
|
|
2226
|
-
readonly name: "
|
|
2092
|
+
readonly path: "/user/logout/:id";
|
|
2093
|
+
readonly role: "postUserLogoutById";
|
|
2094
|
+
readonly name: "User logout by session id";
|
|
2227
2095
|
readonly response_200: {
|
|
2228
|
-
|
|
2096
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
2229
2097
|
message: string;
|
|
2230
2098
|
};
|
|
2231
2099
|
readonly response_404: {
|
|
@@ -2237,11 +2105,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2237
2105
|
};
|
|
2238
2106
|
}, {
|
|
2239
2107
|
readonly method: "get";
|
|
2240
|
-
readonly path: "/
|
|
2241
|
-
readonly role: "
|
|
2242
|
-
readonly name: "Get current
|
|
2108
|
+
readonly path: "/user";
|
|
2109
|
+
readonly role: "getUser";
|
|
2110
|
+
readonly name: "Get current user";
|
|
2243
2111
|
readonly response_200: {
|
|
2244
|
-
|
|
2112
|
+
user: import("./inputsDefault").UserTypeWithPopulatedRolesBase<TId_23, TDate_23>;
|
|
2245
2113
|
};
|
|
2246
2114
|
readonly response_500: {
|
|
2247
2115
|
message: string;
|
|
@@ -2249,9 +2117,9 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2249
2117
|
};
|
|
2250
2118
|
}, {
|
|
2251
2119
|
readonly method: "get";
|
|
2252
|
-
readonly path: "/
|
|
2253
|
-
readonly role: "
|
|
2254
|
-
readonly name: "Check
|
|
2120
|
+
readonly path: "/user/exists/:email";
|
|
2121
|
+
readonly role: "getUserExistsByEmail";
|
|
2122
|
+
readonly name: "Check user email exists";
|
|
2255
2123
|
readonly response_200: Record<string, never>;
|
|
2256
2124
|
readonly response_409: {
|
|
2257
2125
|
message: string;
|
|
@@ -2262,11 +2130,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2262
2130
|
};
|
|
2263
2131
|
}, {
|
|
2264
2132
|
readonly method: "get";
|
|
2265
|
-
readonly path: "/
|
|
2266
|
-
readonly role: "
|
|
2267
|
-
readonly name: "Get all
|
|
2133
|
+
readonly path: "/user/all";
|
|
2134
|
+
readonly role: "getUserAll";
|
|
2135
|
+
readonly name: "Get all user";
|
|
2268
2136
|
readonly response_200: {
|
|
2269
|
-
|
|
2137
|
+
users: import("./inputsDefault").UserBase<TId_23, TDate_23>[];
|
|
2270
2138
|
count?: number;
|
|
2271
2139
|
};
|
|
2272
2140
|
readonly response_500: {
|
|
@@ -2275,11 +2143,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2275
2143
|
};
|
|
2276
2144
|
}, {
|
|
2277
2145
|
readonly method: "put";
|
|
2278
|
-
readonly path: "/
|
|
2279
|
-
readonly role: "
|
|
2280
|
-
readonly name: "Update own
|
|
2146
|
+
readonly path: "/user/account";
|
|
2147
|
+
readonly role: "putUserAccount";
|
|
2148
|
+
readonly name: "Update own user account";
|
|
2281
2149
|
readonly response_200: {
|
|
2282
|
-
|
|
2150
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
2283
2151
|
message: string;
|
|
2284
2152
|
};
|
|
2285
2153
|
readonly response_404: {
|
|
@@ -2291,11 +2159,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2291
2159
|
};
|
|
2292
2160
|
}, {
|
|
2293
2161
|
readonly method: "put";
|
|
2294
|
-
readonly path: "/
|
|
2295
|
-
readonly role: "
|
|
2296
|
-
readonly name: "Update
|
|
2162
|
+
readonly path: "/user/:id";
|
|
2163
|
+
readonly role: "putUserById";
|
|
2164
|
+
readonly name: "Update user by ID";
|
|
2297
2165
|
readonly response_200: {
|
|
2298
|
-
|
|
2166
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
2299
2167
|
message: string;
|
|
2300
2168
|
};
|
|
2301
2169
|
readonly response_404: {
|
|
@@ -2307,11 +2175,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2307
2175
|
};
|
|
2308
2176
|
}, {
|
|
2309
2177
|
readonly method: "put";
|
|
2310
|
-
readonly path: "/
|
|
2311
|
-
readonly role: "
|
|
2312
|
-
readonly name: "Update
|
|
2178
|
+
readonly path: "/user/password";
|
|
2179
|
+
readonly role: "putUserPassword";
|
|
2180
|
+
readonly name: "Update user password";
|
|
2313
2181
|
readonly response_200: {
|
|
2314
|
-
|
|
2182
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
2315
2183
|
message: string;
|
|
2316
2184
|
};
|
|
2317
2185
|
readonly response_404: {
|
|
@@ -2323,11 +2191,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2323
2191
|
};
|
|
2324
2192
|
}, {
|
|
2325
2193
|
readonly method: "delete";
|
|
2326
|
-
readonly path: "/
|
|
2327
|
-
readonly role: "
|
|
2328
|
-
readonly name: "Delete
|
|
2194
|
+
readonly path: "/user/:id";
|
|
2195
|
+
readonly role: "deleteUserById";
|
|
2196
|
+
readonly name: "Delete user by ID";
|
|
2329
2197
|
readonly response_200: {
|
|
2330
|
-
|
|
2198
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
2331
2199
|
message: string;
|
|
2332
2200
|
};
|
|
2333
2201
|
readonly response_404: {
|
|
@@ -2339,9 +2207,9 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2339
2207
|
};
|
|
2340
2208
|
}, {
|
|
2341
2209
|
readonly method: "post";
|
|
2342
|
-
readonly path: "/
|
|
2343
|
-
readonly role: "
|
|
2344
|
-
readonly name: "Register
|
|
2210
|
+
readonly path: "/customer";
|
|
2211
|
+
readonly role: "postCustomer";
|
|
2212
|
+
readonly name: "Register customer";
|
|
2345
2213
|
readonly response_201: {
|
|
2346
2214
|
message: string;
|
|
2347
2215
|
};
|
|
@@ -2351,11 +2219,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2351
2219
|
};
|
|
2352
2220
|
}, {
|
|
2353
2221
|
readonly method: "post";
|
|
2354
|
-
readonly path: "/
|
|
2355
|
-
readonly role: "
|
|
2356
|
-
readonly name: "Create
|
|
2222
|
+
readonly path: "/customer/admin";
|
|
2223
|
+
readonly role: "postCustomerAdmin";
|
|
2224
|
+
readonly name: "Create customer as admin";
|
|
2357
2225
|
readonly response_201: {
|
|
2358
|
-
|
|
2226
|
+
customer: import("./inputsDefault").CustomerBase<TId_24, TDate_24>;
|
|
2359
2227
|
message: string;
|
|
2360
2228
|
};
|
|
2361
2229
|
readonly response_500: {
|
|
@@ -2364,11 +2232,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2364
2232
|
};
|
|
2365
2233
|
}, {
|
|
2366
2234
|
readonly method: "post";
|
|
2367
|
-
readonly path: "/
|
|
2368
|
-
readonly role: "
|
|
2369
|
-
readonly name: "
|
|
2235
|
+
readonly path: "/customer/token";
|
|
2236
|
+
readonly role: "postCustomerToken";
|
|
2237
|
+
readonly name: "Customer login (token)";
|
|
2370
2238
|
readonly response_200: {
|
|
2371
|
-
|
|
2239
|
+
customer: import("./inputsDefault").CustomerBase<TId_24, TDate_24>;
|
|
2372
2240
|
message: string;
|
|
2373
2241
|
};
|
|
2374
2242
|
readonly response_401: {
|
|
@@ -2377,11 +2245,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2377
2245
|
};
|
|
2378
2246
|
}, {
|
|
2379
2247
|
readonly method: "post";
|
|
2380
|
-
readonly path: "/
|
|
2381
|
-
readonly role: "
|
|
2382
|
-
readonly name: "
|
|
2248
|
+
readonly path: "/customer/logout";
|
|
2249
|
+
readonly role: "postCustomerLogout";
|
|
2250
|
+
readonly name: "Customer logout";
|
|
2383
2251
|
readonly response_200: {
|
|
2384
|
-
|
|
2252
|
+
customer: import("./inputsDefault").CustomerBase<TId_24, TDate_24>;
|
|
2385
2253
|
message: string;
|
|
2386
2254
|
};
|
|
2387
2255
|
readonly response_500: {
|
|
@@ -2390,11 +2258,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2390
2258
|
};
|
|
2391
2259
|
}, {
|
|
2392
2260
|
readonly method: "post";
|
|
2393
|
-
readonly path: "/
|
|
2394
|
-
readonly role: "
|
|
2395
|
-
readonly name: "
|
|
2261
|
+
readonly path: "/customer/logout/all";
|
|
2262
|
+
readonly role: "postCustomerLogoutAll";
|
|
2263
|
+
readonly name: "Customer logout all sessions";
|
|
2396
2264
|
readonly response_200: {
|
|
2397
|
-
|
|
2265
|
+
customer: import("./inputsDefault").CustomerBase<TId_24, TDate_24>;
|
|
2398
2266
|
message: string;
|
|
2399
2267
|
};
|
|
2400
2268
|
readonly response_500: {
|
|
@@ -2403,11 +2271,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2403
2271
|
};
|
|
2404
2272
|
}, {
|
|
2405
2273
|
readonly method: "post";
|
|
2406
|
-
readonly path: "/
|
|
2407
|
-
readonly role: "
|
|
2408
|
-
readonly name: "
|
|
2274
|
+
readonly path: "/customer/logout/:id";
|
|
2275
|
+
readonly role: "postCustomerLogoutById";
|
|
2276
|
+
readonly name: "Customer logout by session id";
|
|
2409
2277
|
readonly response_200: {
|
|
2410
|
-
|
|
2278
|
+
customer: import("./inputsDefault").CustomerBase<TId_24, TDate_24>;
|
|
2411
2279
|
message: string;
|
|
2412
2280
|
};
|
|
2413
2281
|
readonly response_500: {
|
|
@@ -2416,11 +2284,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2416
2284
|
};
|
|
2417
2285
|
}, {
|
|
2418
2286
|
readonly method: "get";
|
|
2419
|
-
readonly path: "/
|
|
2420
|
-
readonly role: "
|
|
2421
|
-
readonly name: "Get current
|
|
2287
|
+
readonly path: "/customer";
|
|
2288
|
+
readonly role: "getCustomer";
|
|
2289
|
+
readonly name: "Get current customer";
|
|
2422
2290
|
readonly response_200: {
|
|
2423
|
-
|
|
2291
|
+
customer: import("./inputsDefault").CustomerBase<TId_24, TDate_24>;
|
|
2424
2292
|
};
|
|
2425
2293
|
readonly response_500: {
|
|
2426
2294
|
message: string;
|
|
@@ -2428,9 +2296,9 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2428
2296
|
};
|
|
2429
2297
|
}, {
|
|
2430
2298
|
readonly method: "get";
|
|
2431
|
-
readonly path: "/
|
|
2432
|
-
readonly role: "
|
|
2433
|
-
readonly name: "Check
|
|
2299
|
+
readonly path: "/customer/exists/:email";
|
|
2300
|
+
readonly role: "getCustomerExistsByEmail";
|
|
2301
|
+
readonly name: "Check customer email exists";
|
|
2434
2302
|
readonly response_200: Record<string, never>;
|
|
2435
2303
|
readonly response_409: {
|
|
2436
2304
|
message: string;
|
|
@@ -2441,11 +2309,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2441
2309
|
};
|
|
2442
2310
|
}, {
|
|
2443
2311
|
readonly method: "get";
|
|
2444
|
-
readonly path: "/
|
|
2445
|
-
readonly role: "
|
|
2446
|
-
readonly name: "Get
|
|
2312
|
+
readonly path: "/customer/all";
|
|
2313
|
+
readonly role: "getCustomers";
|
|
2314
|
+
readonly name: "Get customers";
|
|
2447
2315
|
readonly response_200: {
|
|
2448
|
-
|
|
2316
|
+
customers: import("./inputsDefault").CustomerBase<TId_24, TDate_24>[];
|
|
2449
2317
|
count: number;
|
|
2450
2318
|
};
|
|
2451
2319
|
readonly response_500: {
|
|
@@ -2454,15 +2322,15 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2454
2322
|
};
|
|
2455
2323
|
}, {
|
|
2456
2324
|
readonly method: "put";
|
|
2457
|
-
readonly path: "/
|
|
2458
|
-
readonly role: "
|
|
2459
|
-
readonly name: "Update own
|
|
2325
|
+
readonly path: "/customer/account";
|
|
2326
|
+
readonly role: "putCustomerAccount";
|
|
2327
|
+
readonly name: "Update own customer account";
|
|
2460
2328
|
readonly response_200: {
|
|
2461
|
-
|
|
2329
|
+
customer: import("./inputsDefault").CustomerBase<TId_24, TDate_24>;
|
|
2462
2330
|
message: string;
|
|
2463
2331
|
};
|
|
2464
2332
|
readonly response_404: {
|
|
2465
|
-
|
|
2333
|
+
customer: import("./inputsDefault").CustomerBase<TId_24, TDate_24> | null;
|
|
2466
2334
|
message: string;
|
|
2467
2335
|
};
|
|
2468
2336
|
readonly response_500: {
|
|
@@ -2471,15 +2339,15 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2471
2339
|
};
|
|
2472
2340
|
}, {
|
|
2473
2341
|
readonly method: "put";
|
|
2474
|
-
readonly path: "/
|
|
2475
|
-
readonly role: "
|
|
2476
|
-
readonly name: "Update
|
|
2342
|
+
readonly path: "/customer/:id";
|
|
2343
|
+
readonly role: "putCustomerById";
|
|
2344
|
+
readonly name: "Update customer by ID";
|
|
2477
2345
|
readonly response_200: {
|
|
2478
|
-
|
|
2346
|
+
customer: import("./inputsDefault").CustomerBase<TId_24, TDate_24>;
|
|
2479
2347
|
message: string;
|
|
2480
2348
|
};
|
|
2481
2349
|
readonly response_404: {
|
|
2482
|
-
|
|
2350
|
+
customer: import("./inputsDefault").CustomerBase<TId_24, TDate_24> | null;
|
|
2483
2351
|
message: string;
|
|
2484
2352
|
};
|
|
2485
2353
|
readonly response_500: {
|
|
@@ -2488,15 +2356,15 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2488
2356
|
};
|
|
2489
2357
|
}, {
|
|
2490
2358
|
readonly method: "put";
|
|
2491
|
-
readonly path: "/
|
|
2492
|
-
readonly role: "
|
|
2493
|
-
readonly name: "Update
|
|
2359
|
+
readonly path: "/customer/password";
|
|
2360
|
+
readonly role: "putCustomerPassword";
|
|
2361
|
+
readonly name: "Update customer password";
|
|
2494
2362
|
readonly response_200: {
|
|
2495
|
-
|
|
2363
|
+
customer: import("./inputsDefault").CustomerBase<TId_24, TDate_24>;
|
|
2496
2364
|
message: string;
|
|
2497
2365
|
};
|
|
2498
2366
|
readonly response_404: {
|
|
2499
|
-
|
|
2367
|
+
customer: import("./inputsDefault").CustomerBase<TId_24, TDate_24> | null;
|
|
2500
2368
|
message: string;
|
|
2501
2369
|
};
|
|
2502
2370
|
readonly response_500: {
|
|
@@ -2505,15 +2373,15 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2505
2373
|
};
|
|
2506
2374
|
}, {
|
|
2507
2375
|
readonly method: "delete";
|
|
2508
|
-
readonly path: "/
|
|
2509
|
-
readonly role: "
|
|
2510
|
-
readonly name: "Delete
|
|
2376
|
+
readonly path: "/customer/:id";
|
|
2377
|
+
readonly role: "deleteCustomerById";
|
|
2378
|
+
readonly name: "Delete customer by ID";
|
|
2511
2379
|
readonly response_200: {
|
|
2512
|
-
|
|
2380
|
+
customer: import("./inputsDefault").CustomerBase<TId_24, TDate_24>;
|
|
2513
2381
|
message: string;
|
|
2514
2382
|
};
|
|
2515
2383
|
readonly response_404: {
|
|
2516
|
-
|
|
2384
|
+
customer: import("./inputsDefault").CustomerBase<TId_24, TDate_24> | null;
|
|
2517
2385
|
message: string;
|
|
2518
2386
|
};
|
|
2519
2387
|
readonly response_500: {
|
|
@@ -3092,165 +2960,11 @@ declare const allApis: readonly [{
|
|
|
3092
2960
|
readonly path: "/campaign/:id";
|
|
3093
2961
|
readonly role: "deleteCampaignById";
|
|
3094
2962
|
readonly name: "Delete campaign";
|
|
3095
|
-
readonly response_200: {
|
|
3096
|
-
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3>;
|
|
3097
|
-
message: string;
|
|
3098
|
-
};
|
|
3099
|
-
readonly response_404: {
|
|
3100
|
-
message: string;
|
|
3101
|
-
};
|
|
3102
|
-
readonly response_500: {
|
|
3103
|
-
message: string;
|
|
3104
|
-
error: string;
|
|
3105
|
-
};
|
|
3106
|
-
}, {
|
|
3107
|
-
readonly method: "get";
|
|
3108
|
-
readonly path: "/item";
|
|
3109
|
-
readonly role: "getItems";
|
|
3110
|
-
readonly name: "Get items";
|
|
3111
|
-
readonly response_200: {
|
|
3112
|
-
itemsWithTimeLeft: import("./inputsDefault").ItemWithTimeLeftBase<TId_4, TDate_4>[];
|
|
3113
|
-
count: number;
|
|
3114
|
-
};
|
|
3115
|
-
readonly response_500: {
|
|
3116
|
-
message: string;
|
|
3117
|
-
error: string;
|
|
3118
|
-
};
|
|
3119
|
-
}, {
|
|
3120
|
-
readonly method: "post";
|
|
3121
|
-
readonly path: "/category";
|
|
3122
|
-
readonly role: "postCategory";
|
|
3123
|
-
readonly name: "Create category";
|
|
3124
|
-
readonly response_201: {
|
|
3125
|
-
category: import("./inputsDefault").CategoryBase<TId_5, TDate_5>;
|
|
3126
|
-
message: string;
|
|
3127
|
-
};
|
|
3128
|
-
readonly response_500: {
|
|
3129
|
-
message: string;
|
|
3130
|
-
error: string;
|
|
3131
|
-
};
|
|
3132
|
-
}, {
|
|
3133
|
-
readonly method: "get";
|
|
3134
|
-
readonly path: "/category";
|
|
3135
|
-
readonly role: "getCategories";
|
|
3136
|
-
readonly name: "Get categories";
|
|
3137
|
-
readonly response_200: {
|
|
3138
|
-
categories: import("./inputsDefault").CategoryBase<TId_5, TDate_5>[];
|
|
3139
|
-
count: number;
|
|
3140
|
-
};
|
|
3141
|
-
readonly response_500: {
|
|
3142
|
-
message: string;
|
|
3143
|
-
error: string;
|
|
3144
|
-
};
|
|
3145
|
-
}, {
|
|
3146
|
-
readonly method: "get";
|
|
3147
|
-
readonly path: "/category/:id";
|
|
3148
|
-
readonly role: "getCategoryById";
|
|
3149
|
-
readonly name: "Get category";
|
|
3150
|
-
readonly response_200: {
|
|
3151
|
-
category: import("./inputsDefault").CategoryBase<TId_5, TDate_5> | null;
|
|
3152
|
-
message: string;
|
|
3153
|
-
};
|
|
3154
|
-
readonly response_404: {
|
|
3155
|
-
message: string;
|
|
3156
|
-
};
|
|
3157
|
-
}, {
|
|
3158
|
-
readonly method: "put";
|
|
3159
|
-
readonly path: "/category/:id";
|
|
3160
|
-
readonly role: "putCategoryById";
|
|
3161
|
-
readonly name: "Update category";
|
|
3162
|
-
readonly response_200: {
|
|
3163
|
-
category: import("./inputsDefault").CategoryBase<TId_5, TDate_5>;
|
|
3164
|
-
message: string;
|
|
3165
|
-
};
|
|
3166
|
-
readonly response_404: {
|
|
3167
|
-
message: string;
|
|
3168
|
-
};
|
|
3169
|
-
readonly response_500: {
|
|
3170
|
-
message: string;
|
|
3171
|
-
error: string;
|
|
3172
|
-
};
|
|
3173
|
-
}, {
|
|
3174
|
-
readonly method: "delete";
|
|
3175
|
-
readonly path: "/category/:id";
|
|
3176
|
-
readonly role: "deleteCategoryById";
|
|
3177
|
-
readonly name: "Delete category";
|
|
3178
|
-
readonly response_200: {
|
|
3179
|
-
category: import("./inputsDefault").CategoryBase<TId_5, TDate_5>;
|
|
3180
|
-
message: string;
|
|
3181
|
-
};
|
|
3182
|
-
readonly response_404: {
|
|
3183
|
-
message: string;
|
|
3184
|
-
};
|
|
3185
|
-
readonly response_500: {
|
|
3186
|
-
message: string;
|
|
3187
|
-
error: string;
|
|
3188
|
-
};
|
|
3189
|
-
}, {
|
|
3190
|
-
readonly method: "post";
|
|
3191
|
-
readonly path: "/email";
|
|
3192
|
-
readonly role: "postEmail";
|
|
3193
|
-
readonly name: "Send email confirmation";
|
|
3194
|
-
readonly response_200: {
|
|
3195
|
-
message: string;
|
|
3196
|
-
};
|
|
3197
|
-
readonly response_400: {
|
|
3198
|
-
message: string;
|
|
3199
|
-
};
|
|
3200
|
-
readonly response_500: {
|
|
3201
|
-
message: string;
|
|
3202
|
-
error: string;
|
|
3203
|
-
};
|
|
3204
|
-
}, {
|
|
3205
|
-
readonly method: "post";
|
|
3206
|
-
readonly path: "/email/push";
|
|
3207
|
-
readonly role: "postEmailPush";
|
|
3208
|
-
readonly name: "Send templated email";
|
|
3209
|
-
readonly response_200: {
|
|
3210
|
-
message: string;
|
|
3211
|
-
};
|
|
3212
|
-
readonly response_404: {
|
|
3213
|
-
message: string;
|
|
3214
|
-
};
|
|
3215
|
-
readonly response_500: {
|
|
3216
|
-
message: string;
|
|
3217
|
-
error: string;
|
|
3218
|
-
};
|
|
3219
|
-
}, {
|
|
3220
|
-
readonly method: "post";
|
|
3221
|
-
readonly path: "/verify-recaptcha";
|
|
3222
|
-
readonly role: "postVerifyRecaptcha";
|
|
3223
|
-
readonly name: "Verify reCAPTCHA";
|
|
3224
|
-
readonly response_200: {
|
|
3225
|
-
message: string;
|
|
3226
|
-
};
|
|
3227
|
-
readonly response_400: {
|
|
3228
|
-
message: string;
|
|
3229
|
-
};
|
|
3230
|
-
}, {
|
|
3231
|
-
readonly method: "post";
|
|
3232
|
-
readonly path: "/event/book";
|
|
3233
|
-
readonly role: "postEventBook";
|
|
3234
|
-
readonly name: "Book event";
|
|
3235
|
-
readonly response_201: {
|
|
3236
|
-
event: import("./inputsDefault").EventBase<TId_6, TDate_6>;
|
|
3237
|
-
url: string;
|
|
3238
|
-
message: string;
|
|
3239
|
-
};
|
|
3240
|
-
readonly response_400: {
|
|
3241
|
-
message: string;
|
|
3242
|
-
};
|
|
3243
|
-
readonly response_500: {
|
|
3244
|
-
message: string;
|
|
3245
|
-
error: string;
|
|
3246
|
-
};
|
|
3247
|
-
}, {
|
|
3248
|
-
readonly method: "post";
|
|
3249
|
-
readonly path: "/event";
|
|
3250
|
-
readonly role: "postEvent";
|
|
3251
|
-
readonly name: "Create event";
|
|
3252
|
-
readonly response_201: {
|
|
3253
|
-
event: import("./inputsDefault").EventBase<TId_6, TDate_6>;
|
|
2963
|
+
readonly response_200: {
|
|
2964
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3>;
|
|
2965
|
+
message: string;
|
|
2966
|
+
};
|
|
2967
|
+
readonly response_404: {
|
|
3254
2968
|
message: string;
|
|
3255
2969
|
};
|
|
3256
2970
|
readonly response_500: {
|
|
@@ -3258,13 +2972,13 @@ declare const allApis: readonly [{
|
|
|
3258
2972
|
error: string;
|
|
3259
2973
|
};
|
|
3260
2974
|
}, {
|
|
3261
|
-
readonly method: "
|
|
3262
|
-
readonly path: "/
|
|
3263
|
-
readonly role: "
|
|
3264
|
-
readonly name: "
|
|
3265
|
-
readonly
|
|
3266
|
-
|
|
3267
|
-
|
|
2975
|
+
readonly method: "get";
|
|
2976
|
+
readonly path: "/item";
|
|
2977
|
+
readonly role: "getItems";
|
|
2978
|
+
readonly name: "Get items";
|
|
2979
|
+
readonly response_200: {
|
|
2980
|
+
itemsWithTimeLeft: import("./inputsDefault").ItemWithTimeLeftBase<TId_4, TDate_4>[];
|
|
2981
|
+
count: number;
|
|
3268
2982
|
};
|
|
3269
2983
|
readonly response_500: {
|
|
3270
2984
|
message: string;
|
|
@@ -3272,14 +2986,11 @@ declare const allApis: readonly [{
|
|
|
3272
2986
|
};
|
|
3273
2987
|
}, {
|
|
3274
2988
|
readonly method: "post";
|
|
3275
|
-
readonly path: "/
|
|
3276
|
-
readonly role: "
|
|
3277
|
-
readonly name: "
|
|
3278
|
-
readonly
|
|
3279
|
-
|
|
3280
|
-
event: import("./inputsDefault").EventBase<TId_6, TDate_6>;
|
|
3281
|
-
};
|
|
3282
|
-
readonly response_404: {
|
|
2989
|
+
readonly path: "/category";
|
|
2990
|
+
readonly role: "postCategory";
|
|
2991
|
+
readonly name: "Create category";
|
|
2992
|
+
readonly response_201: {
|
|
2993
|
+
category: import("./inputsDefault").CategoryBase<TId_5, TDate_5>;
|
|
3283
2994
|
message: string;
|
|
3284
2995
|
};
|
|
3285
2996
|
readonly response_500: {
|
|
@@ -3288,27 +2999,24 @@ declare const allApis: readonly [{
|
|
|
3288
2999
|
};
|
|
3289
3000
|
}, {
|
|
3290
3001
|
readonly method: "get";
|
|
3291
|
-
readonly path: "/
|
|
3292
|
-
readonly role: "
|
|
3293
|
-
readonly name: "Get
|
|
3002
|
+
readonly path: "/category";
|
|
3003
|
+
readonly role: "getCategories";
|
|
3004
|
+
readonly name: "Get categories";
|
|
3294
3005
|
readonly response_200: {
|
|
3295
|
-
|
|
3006
|
+
categories: import("./inputsDefault").CategoryBase<TId_5, TDate_5>[];
|
|
3296
3007
|
count: number;
|
|
3297
3008
|
};
|
|
3298
|
-
readonly response_404: {
|
|
3299
|
-
message: string;
|
|
3300
|
-
};
|
|
3301
3009
|
readonly response_500: {
|
|
3302
3010
|
message: string;
|
|
3303
3011
|
error: string;
|
|
3304
3012
|
};
|
|
3305
3013
|
}, {
|
|
3306
3014
|
readonly method: "get";
|
|
3307
|
-
readonly path: "/
|
|
3308
|
-
readonly role: "
|
|
3309
|
-
readonly name: "Get
|
|
3015
|
+
readonly path: "/category/:id";
|
|
3016
|
+
readonly role: "getCategoryById";
|
|
3017
|
+
readonly name: "Get category";
|
|
3310
3018
|
readonly response_200: {
|
|
3311
|
-
|
|
3019
|
+
category: import("./inputsDefault").CategoryBase<TId_5, TDate_5> | null;
|
|
3312
3020
|
message: string;
|
|
3313
3021
|
};
|
|
3314
3022
|
readonly response_404: {
|
|
@@ -3316,11 +3024,11 @@ declare const allApis: readonly [{
|
|
|
3316
3024
|
};
|
|
3317
3025
|
}, {
|
|
3318
3026
|
readonly method: "put";
|
|
3319
|
-
readonly path: "/
|
|
3320
|
-
readonly role: "
|
|
3321
|
-
readonly name: "Update
|
|
3027
|
+
readonly path: "/category/:id";
|
|
3028
|
+
readonly role: "putCategoryById";
|
|
3029
|
+
readonly name: "Update category";
|
|
3322
3030
|
readonly response_200: {
|
|
3323
|
-
|
|
3031
|
+
category: import("./inputsDefault").CategoryBase<TId_5, TDate_5>;
|
|
3324
3032
|
message: string;
|
|
3325
3033
|
};
|
|
3326
3034
|
readonly response_404: {
|
|
@@ -3332,11 +3040,14 @@ declare const allApis: readonly [{
|
|
|
3332
3040
|
};
|
|
3333
3041
|
}, {
|
|
3334
3042
|
readonly method: "delete";
|
|
3335
|
-
readonly path: "/
|
|
3336
|
-
readonly role: "
|
|
3337
|
-
readonly name: "Delete
|
|
3043
|
+
readonly path: "/category/:id";
|
|
3044
|
+
readonly role: "deleteCategoryById";
|
|
3045
|
+
readonly name: "Delete category";
|
|
3338
3046
|
readonly response_200: {
|
|
3339
|
-
|
|
3047
|
+
category: import("./inputsDefault").CategoryBase<TId_5, TDate_5>;
|
|
3048
|
+
message: string;
|
|
3049
|
+
};
|
|
3050
|
+
readonly response_404: {
|
|
3340
3051
|
message: string;
|
|
3341
3052
|
};
|
|
3342
3053
|
readonly response_500: {
|
|
@@ -3344,12 +3055,26 @@ declare const allApis: readonly [{
|
|
|
3344
3055
|
error: string;
|
|
3345
3056
|
};
|
|
3346
3057
|
}, {
|
|
3347
|
-
readonly method: "
|
|
3348
|
-
readonly path: "/
|
|
3349
|
-
readonly role: "
|
|
3350
|
-
readonly name: "
|
|
3058
|
+
readonly method: "post";
|
|
3059
|
+
readonly path: "/email";
|
|
3060
|
+
readonly role: "postEmail";
|
|
3061
|
+
readonly name: "Send email confirmation";
|
|
3062
|
+
readonly response_200: {
|
|
3063
|
+
message: string;
|
|
3064
|
+
};
|
|
3065
|
+
readonly response_400: {
|
|
3066
|
+
message: string;
|
|
3067
|
+
};
|
|
3068
|
+
readonly response_500: {
|
|
3069
|
+
message: string;
|
|
3070
|
+
error: string;
|
|
3071
|
+
};
|
|
3072
|
+
}, {
|
|
3073
|
+
readonly method: "post";
|
|
3074
|
+
readonly path: "/email/push";
|
|
3075
|
+
readonly role: "postEmailPush";
|
|
3076
|
+
readonly name: "Send templated email";
|
|
3351
3077
|
readonly response_200: {
|
|
3352
|
-
event: import("./inputsDefault").EventBase<TId_6, TDate_6>;
|
|
3353
3078
|
message: string;
|
|
3354
3079
|
};
|
|
3355
3080
|
readonly response_404: {
|
|
@@ -3359,13 +3084,24 @@ declare const allApis: readonly [{
|
|
|
3359
3084
|
message: string;
|
|
3360
3085
|
error: string;
|
|
3361
3086
|
};
|
|
3087
|
+
}, {
|
|
3088
|
+
readonly method: "post";
|
|
3089
|
+
readonly path: "/verify-recaptcha";
|
|
3090
|
+
readonly role: "postVerifyRecaptcha";
|
|
3091
|
+
readonly name: "Verify reCAPTCHA";
|
|
3092
|
+
readonly response_200: {
|
|
3093
|
+
message: string;
|
|
3094
|
+
};
|
|
3095
|
+
readonly response_400: {
|
|
3096
|
+
message: string;
|
|
3097
|
+
};
|
|
3362
3098
|
}, {
|
|
3363
3099
|
readonly method: "get";
|
|
3364
3100
|
readonly path: "/fail";
|
|
3365
3101
|
readonly role: "getFails";
|
|
3366
3102
|
readonly name: "Get fails";
|
|
3367
3103
|
readonly response_200: {
|
|
3368
|
-
fails: import("./inputsDefault").FailBase<
|
|
3104
|
+
fails: import("./inputsDefault").FailBase<TId_6, TDate_6>[];
|
|
3369
3105
|
count: number;
|
|
3370
3106
|
};
|
|
3371
3107
|
readonly response_500: {
|
|
@@ -3408,7 +3144,7 @@ declare const allApis: readonly [{
|
|
|
3408
3144
|
readonly role: "deleteFailById";
|
|
3409
3145
|
readonly name: "Delete fail by ID";
|
|
3410
3146
|
readonly response_200: {
|
|
3411
|
-
fail: import("./inputsDefault").FailBase<
|
|
3147
|
+
fail: import("./inputsDefault").FailBase<TId_6, TDate_6>;
|
|
3412
3148
|
message: string;
|
|
3413
3149
|
};
|
|
3414
3150
|
readonly response_404: {
|
|
@@ -3424,7 +3160,7 @@ declare const allApis: readonly [{
|
|
|
3424
3160
|
readonly role: "postFlow";
|
|
3425
3161
|
readonly name: "Create flow";
|
|
3426
3162
|
readonly response_201: {
|
|
3427
|
-
flow: import("./inputsDefault").FlowBase<
|
|
3163
|
+
flow: import("./inputsDefault").FlowBase<TId_7, TDate_7>;
|
|
3428
3164
|
message: string;
|
|
3429
3165
|
};
|
|
3430
3166
|
readonly response_500: {
|
|
@@ -3437,7 +3173,7 @@ declare const allApis: readonly [{
|
|
|
3437
3173
|
readonly role: "getFlows";
|
|
3438
3174
|
readonly name: "Get flows";
|
|
3439
3175
|
readonly response_200: {
|
|
3440
|
-
flows: import("./inputsDefault").FlowBase<
|
|
3176
|
+
flows: import("./inputsDefault").FlowBase<TId_7, TDate_7>[];
|
|
3441
3177
|
count: number;
|
|
3442
3178
|
};
|
|
3443
3179
|
readonly response_500: {
|
|
@@ -3450,7 +3186,7 @@ declare const allApis: readonly [{
|
|
|
3450
3186
|
readonly role: "getFlowById";
|
|
3451
3187
|
readonly name: "Get flow";
|
|
3452
3188
|
readonly response_200: {
|
|
3453
|
-
flow: import("./inputsDefault").FlowBase<
|
|
3189
|
+
flow: import("./inputsDefault").FlowBase<TId_7, TDate_7> | null;
|
|
3454
3190
|
message: string;
|
|
3455
3191
|
};
|
|
3456
3192
|
readonly response_404: {
|
|
@@ -3462,7 +3198,7 @@ declare const allApis: readonly [{
|
|
|
3462
3198
|
readonly role: "putFlowById";
|
|
3463
3199
|
readonly name: "Update flow";
|
|
3464
3200
|
readonly response_200: {
|
|
3465
|
-
flow: import("./inputsDefault").FlowBase<
|
|
3201
|
+
flow: import("./inputsDefault").FlowBase<TId_7, TDate_7>;
|
|
3466
3202
|
message: string;
|
|
3467
3203
|
};
|
|
3468
3204
|
readonly response_404: {
|
|
@@ -3478,7 +3214,7 @@ declare const allApis: readonly [{
|
|
|
3478
3214
|
readonly role: "deleteFlowById";
|
|
3479
3215
|
readonly name: "Delete flow";
|
|
3480
3216
|
readonly response_200: {
|
|
3481
|
-
flow: import("./inputsDefault").FlowBase<
|
|
3217
|
+
flow: import("./inputsDefault").FlowBase<TId_7, TDate_7>;
|
|
3482
3218
|
message: string;
|
|
3483
3219
|
};
|
|
3484
3220
|
readonly response_404: {
|
|
@@ -3490,11 +3226,11 @@ declare const allApis: readonly [{
|
|
|
3490
3226
|
};
|
|
3491
3227
|
}, {
|
|
3492
3228
|
readonly method: "post";
|
|
3493
|
-
readonly path: "/
|
|
3494
|
-
readonly role: "
|
|
3495
|
-
readonly name: "Create
|
|
3229
|
+
readonly path: "/event";
|
|
3230
|
+
readonly role: "postEvent";
|
|
3231
|
+
readonly name: "Create event";
|
|
3496
3232
|
readonly response_201: {
|
|
3497
|
-
|
|
3233
|
+
event: import("./inputsDefault").EventBase<TId_8, TDate_8>;
|
|
3498
3234
|
message: string;
|
|
3499
3235
|
};
|
|
3500
3236
|
readonly response_500: {
|
|
@@ -3503,11 +3239,11 @@ declare const allApis: readonly [{
|
|
|
3503
3239
|
};
|
|
3504
3240
|
}, {
|
|
3505
3241
|
readonly method: "post";
|
|
3506
|
-
readonly path: "/
|
|
3507
|
-
readonly role: "
|
|
3508
|
-
readonly name: "Create
|
|
3242
|
+
readonly path: "/event/occupancies/:id";
|
|
3243
|
+
readonly role: "postEventOccupanciesById";
|
|
3244
|
+
readonly name: "Create event seats";
|
|
3509
3245
|
readonly response_201: {
|
|
3510
|
-
|
|
3246
|
+
event: import("./inputsDefault").EventBase<TId_8, TDate_8>;
|
|
3511
3247
|
message: string;
|
|
3512
3248
|
};
|
|
3513
3249
|
readonly response_500: {
|
|
@@ -3516,11 +3252,11 @@ declare const allApis: readonly [{
|
|
|
3516
3252
|
};
|
|
3517
3253
|
}, {
|
|
3518
3254
|
readonly method: "get";
|
|
3519
|
-
readonly path: "/
|
|
3520
|
-
readonly role: "
|
|
3521
|
-
readonly name: "Get
|
|
3255
|
+
readonly path: "/event";
|
|
3256
|
+
readonly role: "getEvents";
|
|
3257
|
+
readonly name: "Get events";
|
|
3522
3258
|
readonly response_200: {
|
|
3523
|
-
|
|
3259
|
+
events: import("./inputsDefault").EventBase<TId_8, TDate_8>[];
|
|
3524
3260
|
count: number;
|
|
3525
3261
|
};
|
|
3526
3262
|
readonly response_500: {
|
|
@@ -3529,11 +3265,11 @@ declare const allApis: readonly [{
|
|
|
3529
3265
|
};
|
|
3530
3266
|
}, {
|
|
3531
3267
|
readonly method: "get";
|
|
3532
|
-
readonly path: "/
|
|
3533
|
-
readonly role: "
|
|
3534
|
-
readonly name: "Get
|
|
3268
|
+
readonly path: "/event/:id";
|
|
3269
|
+
readonly role: "getEventById";
|
|
3270
|
+
readonly name: "Get event";
|
|
3535
3271
|
readonly response_200: {
|
|
3536
|
-
|
|
3272
|
+
event: import("./inputsDefault").EventBase<TId_8, TDate_8> | null;
|
|
3537
3273
|
message: string;
|
|
3538
3274
|
};
|
|
3539
3275
|
readonly response_404: {
|
|
@@ -3541,11 +3277,11 @@ declare const allApis: readonly [{
|
|
|
3541
3277
|
};
|
|
3542
3278
|
}, {
|
|
3543
3279
|
readonly method: "put";
|
|
3544
|
-
readonly path: "/
|
|
3545
|
-
readonly role: "
|
|
3546
|
-
readonly name: "Update
|
|
3280
|
+
readonly path: "/event/:id";
|
|
3281
|
+
readonly role: "putEventById";
|
|
3282
|
+
readonly name: "Update event";
|
|
3547
3283
|
readonly response_200: {
|
|
3548
|
-
|
|
3284
|
+
event: import("./inputsDefault").EventBase<TId_8, TDate_8>;
|
|
3549
3285
|
message: string;
|
|
3550
3286
|
};
|
|
3551
3287
|
readonly response_404: {
|
|
@@ -3557,11 +3293,11 @@ declare const allApis: readonly [{
|
|
|
3557
3293
|
};
|
|
3558
3294
|
}, {
|
|
3559
3295
|
readonly method: "delete";
|
|
3560
|
-
readonly path: "/
|
|
3561
|
-
readonly role: "
|
|
3562
|
-
readonly name: "Delete
|
|
3296
|
+
readonly path: "/event/:id";
|
|
3297
|
+
readonly role: "deleteEventById";
|
|
3298
|
+
readonly name: "Delete event";
|
|
3563
3299
|
readonly response_200: {
|
|
3564
|
-
|
|
3300
|
+
event: import("./inputsDefault").EventBase<TId_8, TDate_8>;
|
|
3565
3301
|
message: string;
|
|
3566
3302
|
};
|
|
3567
3303
|
readonly response_404: {
|
|
@@ -3577,7 +3313,7 @@ declare const allApis: readonly [{
|
|
|
3577
3313
|
readonly role: "postGroup";
|
|
3578
3314
|
readonly name: "Create group";
|
|
3579
3315
|
readonly response_201: {
|
|
3580
|
-
group: import("./inputsDefault").GroupBase<
|
|
3316
|
+
group: import("./inputsDefault").GroupBase<TId_9, TDate_9>;
|
|
3581
3317
|
message: string;
|
|
3582
3318
|
};
|
|
3583
3319
|
readonly response_500: {
|
|
@@ -3590,7 +3326,7 @@ declare const allApis: readonly [{
|
|
|
3590
3326
|
readonly role: "getGroups";
|
|
3591
3327
|
readonly name: "Get groups";
|
|
3592
3328
|
readonly response_200: {
|
|
3593
|
-
groups: import("./inputsDefault").GroupBase<
|
|
3329
|
+
groups: import("./inputsDefault").GroupBase<TId_9, TDate_9>[];
|
|
3594
3330
|
count: number;
|
|
3595
3331
|
};
|
|
3596
3332
|
readonly response_500: {
|
|
@@ -3603,7 +3339,7 @@ declare const allApis: readonly [{
|
|
|
3603
3339
|
readonly role: "getGroupById";
|
|
3604
3340
|
readonly name: "Get group";
|
|
3605
3341
|
readonly response_200: {
|
|
3606
|
-
group: import("./inputsDefault").GroupBase<
|
|
3342
|
+
group: import("./inputsDefault").GroupBase<TId_9, TDate_9> | null;
|
|
3607
3343
|
message: string;
|
|
3608
3344
|
};
|
|
3609
3345
|
readonly response_404: {
|
|
@@ -3615,7 +3351,7 @@ declare const allApis: readonly [{
|
|
|
3615
3351
|
readonly role: "putGroupById";
|
|
3616
3352
|
readonly name: "Update group";
|
|
3617
3353
|
readonly response_200: {
|
|
3618
|
-
group: import("./inputsDefault").GroupBase<
|
|
3354
|
+
group: import("./inputsDefault").GroupBase<TId_9, TDate_9>;
|
|
3619
3355
|
message: string;
|
|
3620
3356
|
};
|
|
3621
3357
|
readonly response_404: {
|
|
@@ -3631,7 +3367,7 @@ declare const allApis: readonly [{
|
|
|
3631
3367
|
readonly role: "deleteGroupById";
|
|
3632
3368
|
readonly name: "Delete group";
|
|
3633
3369
|
readonly response_200: {
|
|
3634
|
-
group: import("./inputsDefault").GroupBase<
|
|
3370
|
+
group: import("./inputsDefault").GroupBase<TId_9, TDate_9>;
|
|
3635
3371
|
message: string;
|
|
3636
3372
|
};
|
|
3637
3373
|
readonly response_404: {
|
|
@@ -3647,7 +3383,7 @@ declare const allApis: readonly [{
|
|
|
3647
3383
|
readonly role: "postJob";
|
|
3648
3384
|
readonly name: "Create job";
|
|
3649
3385
|
readonly response_201: {
|
|
3650
|
-
job: import("./inputsDefault").JobBase<
|
|
3386
|
+
job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
|
|
3651
3387
|
message: string;
|
|
3652
3388
|
};
|
|
3653
3389
|
readonly response_500: {
|
|
@@ -3660,7 +3396,7 @@ declare const allApis: readonly [{
|
|
|
3660
3396
|
readonly role: "postJobMany";
|
|
3661
3397
|
readonly name: "Create many jobs";
|
|
3662
3398
|
readonly response_201: {
|
|
3663
|
-
jobs: import("./inputsDefault").JobBase<
|
|
3399
|
+
jobs: import("./inputsDefault").JobBase<TId_10, TDate_10>[];
|
|
3664
3400
|
message: string;
|
|
3665
3401
|
};
|
|
3666
3402
|
readonly response_500: {
|
|
@@ -3673,7 +3409,7 @@ declare const allApis: readonly [{
|
|
|
3673
3409
|
readonly role: "postJobStartById";
|
|
3674
3410
|
readonly name: "Run job by ID";
|
|
3675
3411
|
readonly response_201: {
|
|
3676
|
-
job: import("agenda").JobAttributes<import("./inputsDefault").AgendaJobData<
|
|
3412
|
+
job: import("agenda").JobAttributes<import("./inputsDefault").AgendaJobData<TId_10>>;
|
|
3677
3413
|
message: string;
|
|
3678
3414
|
};
|
|
3679
3415
|
readonly response_404: {
|
|
@@ -3689,7 +3425,7 @@ declare const allApis: readonly [{
|
|
|
3689
3425
|
readonly role: "getJobs";
|
|
3690
3426
|
readonly name: "Get jobs";
|
|
3691
3427
|
readonly response_200: {
|
|
3692
|
-
jobs: import("./inputsDefault").JobBase<
|
|
3428
|
+
jobs: import("./inputsDefault").JobBase<TId_10, TDate_10>[];
|
|
3693
3429
|
count: number;
|
|
3694
3430
|
};
|
|
3695
3431
|
readonly response_500: {
|
|
@@ -3702,7 +3438,7 @@ declare const allApis: readonly [{
|
|
|
3702
3438
|
readonly role: "getJobById";
|
|
3703
3439
|
readonly name: "Get job";
|
|
3704
3440
|
readonly response_200: {
|
|
3705
|
-
job: import("./inputsDefault").JobBase<
|
|
3441
|
+
job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
|
|
3706
3442
|
message: string;
|
|
3707
3443
|
};
|
|
3708
3444
|
readonly response_404: {
|
|
@@ -3714,10 +3450,10 @@ declare const allApis: readonly [{
|
|
|
3714
3450
|
readonly role: "getJobDetailsById";
|
|
3715
3451
|
readonly name: "Get job details";
|
|
3716
3452
|
readonly response_200: {
|
|
3717
|
-
job: import("./inputsDefault").JobBase<
|
|
3718
|
-
campaign: import("./inputsDefault").CampaignBase<
|
|
3719
|
-
group: import("./inputsDefault").GroupBase<
|
|
3720
|
-
template: import("./inputsDefault").GroupBase<
|
|
3453
|
+
job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
|
|
3454
|
+
campaign: import("./inputsDefault").CampaignBase<TId_10, TDate_10>;
|
|
3455
|
+
group: import("./inputsDefault").GroupBase<TId_10, TDate_10>;
|
|
3456
|
+
template: import("./inputsDefault").GroupBase<TId_10, TDate_10>;
|
|
3721
3457
|
message: string;
|
|
3722
3458
|
};
|
|
3723
3459
|
readonly response_400: {
|
|
@@ -3732,7 +3468,7 @@ declare const allApis: readonly [{
|
|
|
3732
3468
|
readonly role: "putJobById";
|
|
3733
3469
|
readonly name: "Update job";
|
|
3734
3470
|
readonly response_200: {
|
|
3735
|
-
job: import("./inputsDefault").JobBase<
|
|
3471
|
+
job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
|
|
3736
3472
|
message: string;
|
|
3737
3473
|
};
|
|
3738
3474
|
readonly response_404: {
|
|
@@ -3748,7 +3484,7 @@ declare const allApis: readonly [{
|
|
|
3748
3484
|
readonly role: "deleteJobById";
|
|
3749
3485
|
readonly name: "Delete job";
|
|
3750
3486
|
readonly response_200: {
|
|
3751
|
-
job: import("./inputsDefault").JobBase<
|
|
3487
|
+
job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
|
|
3752
3488
|
message: string;
|
|
3753
3489
|
};
|
|
3754
3490
|
readonly response_404: {
|
|
@@ -3764,7 +3500,7 @@ declare const allApis: readonly [{
|
|
|
3764
3500
|
readonly role: "getLogs";
|
|
3765
3501
|
readonly name: "Get logs";
|
|
3766
3502
|
readonly response_200: {
|
|
3767
|
-
logs: import("./inputsDefault").LogBase<
|
|
3503
|
+
logs: import("./inputsDefault").LogBase<TId_11, TDate_11>[];
|
|
3768
3504
|
count: number;
|
|
3769
3505
|
};
|
|
3770
3506
|
readonly response_500: {
|
|
@@ -3789,7 +3525,7 @@ declare const allApis: readonly [{
|
|
|
3789
3525
|
readonly role: "deleteLogById";
|
|
3790
3526
|
readonly name: "Delete log by ID";
|
|
3791
3527
|
readonly response_200: {
|
|
3792
|
-
log: import("./inputsDefault").LogBase<
|
|
3528
|
+
log: import("./inputsDefault").LogBase<TId_11, TDate_11>;
|
|
3793
3529
|
message: string;
|
|
3794
3530
|
};
|
|
3795
3531
|
readonly response_404: {
|
|
@@ -3805,7 +3541,7 @@ declare const allApis: readonly [{
|
|
|
3805
3541
|
readonly role: "postNotification";
|
|
3806
3542
|
readonly name: "Create notification";
|
|
3807
3543
|
readonly response_201: {
|
|
3808
|
-
notification: import("./inputsDefault").NotificationBase<
|
|
3544
|
+
notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12>;
|
|
3809
3545
|
message: string;
|
|
3810
3546
|
};
|
|
3811
3547
|
readonly response_500: {
|
|
@@ -3831,7 +3567,7 @@ declare const allApis: readonly [{
|
|
|
3831
3567
|
readonly role: "getNotifications";
|
|
3832
3568
|
readonly name: "Get notifications";
|
|
3833
3569
|
readonly response_200: {
|
|
3834
|
-
notifications: import("./inputsDefault").NotificationBase<
|
|
3570
|
+
notifications: import("./inputsDefault").NotificationBase<TId_12, TDate_12>[];
|
|
3835
3571
|
count: number;
|
|
3836
3572
|
unreadCount: number;
|
|
3837
3573
|
};
|
|
@@ -3845,7 +3581,7 @@ declare const allApis: readonly [{
|
|
|
3845
3581
|
readonly role: "getNotificationById";
|
|
3846
3582
|
readonly name: "Get notification by ID";
|
|
3847
3583
|
readonly response_200: {
|
|
3848
|
-
notification: import("./inputsDefault").NotificationBase<
|
|
3584
|
+
notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12> | null;
|
|
3849
3585
|
message: string;
|
|
3850
3586
|
};
|
|
3851
3587
|
readonly response_404: {
|
|
@@ -3857,7 +3593,7 @@ declare const allApis: readonly [{
|
|
|
3857
3593
|
readonly role: "putNotificationById";
|
|
3858
3594
|
readonly name: "Update notification";
|
|
3859
3595
|
readonly response_200: {
|
|
3860
|
-
notification: import("./inputsDefault").NotificationBase<
|
|
3596
|
+
notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12>;
|
|
3861
3597
|
message: string;
|
|
3862
3598
|
};
|
|
3863
3599
|
readonly response_404: {
|
|
@@ -3873,7 +3609,7 @@ declare const allApis: readonly [{
|
|
|
3873
3609
|
readonly role: "deleteNotificationById";
|
|
3874
3610
|
readonly name: "Delete notification";
|
|
3875
3611
|
readonly response_200: {
|
|
3876
|
-
notification: import("./inputsDefault").NotificationBase<
|
|
3612
|
+
notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12>;
|
|
3877
3613
|
message: string;
|
|
3878
3614
|
};
|
|
3879
3615
|
readonly response_404: {
|
|
@@ -3889,7 +3625,7 @@ declare const allApis: readonly [{
|
|
|
3889
3625
|
readonly role: "postPage";
|
|
3890
3626
|
readonly name: "Create page";
|
|
3891
3627
|
readonly response_201: {
|
|
3892
|
-
page: import("./inputsDefault").PageBase<
|
|
3628
|
+
page: import("./inputsDefault").PageBase<TId_13, TDate_13>;
|
|
3893
3629
|
message: string;
|
|
3894
3630
|
};
|
|
3895
3631
|
readonly response_500: {
|
|
@@ -3915,7 +3651,7 @@ declare const allApis: readonly [{
|
|
|
3915
3651
|
readonly role: "getPages";
|
|
3916
3652
|
readonly name: "Get pages";
|
|
3917
3653
|
readonly response_200: {
|
|
3918
|
-
pages: import("./inputsDefault").PageBase<
|
|
3654
|
+
pages: import("./inputsDefault").PageBase<TId_13, TDate_13>[];
|
|
3919
3655
|
count: number;
|
|
3920
3656
|
};
|
|
3921
3657
|
readonly response_500: {
|
|
@@ -3928,7 +3664,7 @@ declare const allApis: readonly [{
|
|
|
3928
3664
|
readonly role: "getPageById";
|
|
3929
3665
|
readonly name: "Get page by ID";
|
|
3930
3666
|
readonly response_200: {
|
|
3931
|
-
page: import("./inputsDefault").PageBase<
|
|
3667
|
+
page: import("./inputsDefault").PageBase<TId_13, TDate_13> | null;
|
|
3932
3668
|
message: string;
|
|
3933
3669
|
};
|
|
3934
3670
|
readonly response_404: {
|
|
@@ -3940,7 +3676,7 @@ declare const allApis: readonly [{
|
|
|
3940
3676
|
readonly role: "putPageById";
|
|
3941
3677
|
readonly name: "Update page";
|
|
3942
3678
|
readonly response_200: {
|
|
3943
|
-
page: import("./inputsDefault").PageBase<
|
|
3679
|
+
page: import("./inputsDefault").PageBase<TId_13, TDate_13>;
|
|
3944
3680
|
message: string;
|
|
3945
3681
|
};
|
|
3946
3682
|
readonly response_404: {
|
|
@@ -3956,7 +3692,7 @@ declare const allApis: readonly [{
|
|
|
3956
3692
|
readonly role: "deletePageById";
|
|
3957
3693
|
readonly name: "Delete page";
|
|
3958
3694
|
readonly response_200: {
|
|
3959
|
-
page: import("./inputsDefault").PageBase<
|
|
3695
|
+
page: import("./inputsDefault").PageBase<TId_13, TDate_13>;
|
|
3960
3696
|
message: string;
|
|
3961
3697
|
};
|
|
3962
3698
|
readonly response_404: {
|
|
@@ -3972,7 +3708,7 @@ declare const allApis: readonly [{
|
|
|
3972
3708
|
readonly role: "postProduct";
|
|
3973
3709
|
readonly name: "Create product";
|
|
3974
3710
|
readonly response_201: {
|
|
3975
|
-
product: import("./inputsDefault").ProductBase<
|
|
3711
|
+
product: import("./inputsDefault").ProductBase<TId_14, TDate_14>;
|
|
3976
3712
|
message: string;
|
|
3977
3713
|
};
|
|
3978
3714
|
readonly response_500: {
|
|
@@ -3985,7 +3721,7 @@ declare const allApis: readonly [{
|
|
|
3985
3721
|
readonly role: "getProducts";
|
|
3986
3722
|
readonly name: "Get products";
|
|
3987
3723
|
readonly response_200: {
|
|
3988
|
-
products: import("./inputsDefault").ProductBase<
|
|
3724
|
+
products: import("./inputsDefault").ProductBase<TId_14, TDate_14>[];
|
|
3989
3725
|
count: number;
|
|
3990
3726
|
};
|
|
3991
3727
|
readonly response_500: {
|
|
@@ -3998,7 +3734,7 @@ declare const allApis: readonly [{
|
|
|
3998
3734
|
readonly role: "getProductById";
|
|
3999
3735
|
readonly name: "Get product";
|
|
4000
3736
|
readonly response_200: {
|
|
4001
|
-
product: import("./inputsDefault").ProductBase<
|
|
3737
|
+
product: import("./inputsDefault").ProductBase<TId_14, TDate_14> | null;
|
|
4002
3738
|
message: string;
|
|
4003
3739
|
};
|
|
4004
3740
|
readonly response_404: {
|
|
@@ -4010,7 +3746,7 @@ declare const allApis: readonly [{
|
|
|
4010
3746
|
readonly role: "putProductById";
|
|
4011
3747
|
readonly name: "Update product";
|
|
4012
3748
|
readonly response_200: {
|
|
4013
|
-
product: import("./inputsDefault").ProductBase<
|
|
3749
|
+
product: import("./inputsDefault").ProductBase<TId_14, TDate_14>;
|
|
4014
3750
|
message: string;
|
|
4015
3751
|
};
|
|
4016
3752
|
readonly response_404: {
|
|
@@ -4026,7 +3762,7 @@ declare const allApis: readonly [{
|
|
|
4026
3762
|
readonly role: "deleteProductById";
|
|
4027
3763
|
readonly name: "Delete product";
|
|
4028
3764
|
readonly response_200: {
|
|
4029
|
-
product: import("./inputsDefault").ProductBase<
|
|
3765
|
+
product: import("./inputsDefault").ProductBase<TId_14, TDate_14>;
|
|
4030
3766
|
message: string;
|
|
4031
3767
|
};
|
|
4032
3768
|
readonly response_404: {
|
|
@@ -4042,7 +3778,7 @@ declare const allApis: readonly [{
|
|
|
4042
3778
|
readonly role: "postProspect";
|
|
4043
3779
|
readonly name: "Create prospect";
|
|
4044
3780
|
readonly response_201: {
|
|
4045
|
-
prospect: import("./inputsDefault").ProspectBase<
|
|
3781
|
+
prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
|
|
4046
3782
|
message: string;
|
|
4047
3783
|
};
|
|
4048
3784
|
readonly response_500: {
|
|
@@ -4055,7 +3791,7 @@ declare const allApis: readonly [{
|
|
|
4055
3791
|
readonly role: "postProspectSubscribe";
|
|
4056
3792
|
readonly name: "Subscribe prospect";
|
|
4057
3793
|
readonly response_201: {
|
|
4058
|
-
prospect: import("./inputsDefault").ProspectBase<
|
|
3794
|
+
prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
|
|
4059
3795
|
message: string;
|
|
4060
3796
|
};
|
|
4061
3797
|
readonly response_500: {
|
|
@@ -4068,7 +3804,7 @@ declare const allApis: readonly [{
|
|
|
4068
3804
|
readonly role: "getProspects";
|
|
4069
3805
|
readonly name: "Get prospects";
|
|
4070
3806
|
readonly response_200: {
|
|
4071
|
-
prospects: import("./inputsDefault").ProspectBase<
|
|
3807
|
+
prospects: import("./inputsDefault").ProspectBase<TId_15, TDate_15>[];
|
|
4072
3808
|
count: number;
|
|
4073
3809
|
new: number;
|
|
4074
3810
|
};
|
|
@@ -4094,7 +3830,7 @@ declare const allApis: readonly [{
|
|
|
4094
3830
|
readonly role: "getProspectById";
|
|
4095
3831
|
readonly name: "Get prospect by ID";
|
|
4096
3832
|
readonly response_200: {
|
|
4097
|
-
prospect: import("./inputsDefault").ProspectBase<
|
|
3833
|
+
prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15> | null;
|
|
4098
3834
|
message: string;
|
|
4099
3835
|
};
|
|
4100
3836
|
readonly response_404: {
|
|
@@ -4123,7 +3859,7 @@ declare const allApis: readonly [{
|
|
|
4123
3859
|
readonly role: "putProspectById";
|
|
4124
3860
|
readonly name: "Update prospect";
|
|
4125
3861
|
readonly response_200: {
|
|
4126
|
-
prospect: import("./inputsDefault").ProspectBase<
|
|
3862
|
+
prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
|
|
4127
3863
|
message: string;
|
|
4128
3864
|
};
|
|
4129
3865
|
readonly response_404: {
|
|
@@ -4139,7 +3875,7 @@ declare const allApis: readonly [{
|
|
|
4139
3875
|
readonly role: "putProspectOpenedById";
|
|
4140
3876
|
readonly name: "Mark prospect opened";
|
|
4141
3877
|
readonly response_200: {
|
|
4142
|
-
prospect: import("./inputsDefault").ProspectBase<
|
|
3878
|
+
prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
|
|
4143
3879
|
message: string;
|
|
4144
3880
|
};
|
|
4145
3881
|
readonly response_404: {
|
|
@@ -4155,7 +3891,7 @@ declare const allApis: readonly [{
|
|
|
4155
3891
|
readonly role: "deleteProspectById";
|
|
4156
3892
|
readonly name: "Delete prospect";
|
|
4157
3893
|
readonly response_200: {
|
|
4158
|
-
prospect: import("./inputsDefault").ProspectBase<
|
|
3894
|
+
prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
|
|
4159
3895
|
message: string;
|
|
4160
3896
|
};
|
|
4161
3897
|
readonly response_404: {
|
|
@@ -4171,7 +3907,7 @@ declare const allApis: readonly [{
|
|
|
4171
3907
|
readonly role: "postReview";
|
|
4172
3908
|
readonly name: "Create review";
|
|
4173
3909
|
readonly response_201: {
|
|
4174
|
-
review: import("./inputsDefault").ReviewBase<
|
|
3910
|
+
review: import("./inputsDefault").ReviewBase<TId_16, TDate_16>;
|
|
4175
3911
|
message: string;
|
|
4176
3912
|
};
|
|
4177
3913
|
readonly response_500: {
|
|
@@ -4196,7 +3932,7 @@ declare const allApis: readonly [{
|
|
|
4196
3932
|
readonly role: "getReviews";
|
|
4197
3933
|
readonly name: "Get reviews";
|
|
4198
3934
|
readonly response_200: {
|
|
4199
|
-
reviews: import("./inputsDefault").ReviewBase<
|
|
3935
|
+
reviews: import("./inputsDefault").ReviewBase<TId_16, TDate_16>[];
|
|
4200
3936
|
count: number;
|
|
4201
3937
|
};
|
|
4202
3938
|
readonly response_500: {
|
|
@@ -4209,7 +3945,7 @@ declare const allApis: readonly [{
|
|
|
4209
3945
|
readonly role: "getReviewById";
|
|
4210
3946
|
readonly name: "Get review by ID";
|
|
4211
3947
|
readonly response_200: {
|
|
4212
|
-
review: import("./inputsDefault").ReviewBase<
|
|
3948
|
+
review: import("./inputsDefault").ReviewBase<TId_16, TDate_16> | null;
|
|
4213
3949
|
message: string;
|
|
4214
3950
|
};
|
|
4215
3951
|
readonly response_404: {
|
|
@@ -4234,7 +3970,7 @@ declare const allApis: readonly [{
|
|
|
4234
3970
|
readonly role: "putReviewById";
|
|
4235
3971
|
readonly name: "Update review";
|
|
4236
3972
|
readonly response_200: {
|
|
4237
|
-
review: import("./inputsDefault").ReviewBase<
|
|
3973
|
+
review: import("./inputsDefault").ReviewBase<TId_16, TDate_16>;
|
|
4238
3974
|
message: string;
|
|
4239
3975
|
};
|
|
4240
3976
|
readonly response_404: {
|
|
@@ -4250,7 +3986,7 @@ declare const allApis: readonly [{
|
|
|
4250
3986
|
readonly role: "deleteReviewById";
|
|
4251
3987
|
readonly name: "Delete review";
|
|
4252
3988
|
readonly response_200: {
|
|
4253
|
-
review: import("./inputsDefault").ReviewBase<
|
|
3989
|
+
review: import("./inputsDefault").ReviewBase<TId_16, TDate_16>;
|
|
4254
3990
|
message: string;
|
|
4255
3991
|
};
|
|
4256
3992
|
readonly response_404: {
|
|
@@ -4266,7 +4002,7 @@ declare const allApis: readonly [{
|
|
|
4266
4002
|
readonly role: "postRole";
|
|
4267
4003
|
readonly name: "Create role";
|
|
4268
4004
|
readonly response_201: {
|
|
4269
|
-
role: import("./inputsDefault").RoleBase<
|
|
4005
|
+
role: import("./inputsDefault").RoleBase<TId_17, TDate_17>;
|
|
4270
4006
|
message: string;
|
|
4271
4007
|
};
|
|
4272
4008
|
readonly response_500: {
|
|
@@ -4279,7 +4015,7 @@ declare const allApis: readonly [{
|
|
|
4279
4015
|
readonly role: "getRoles";
|
|
4280
4016
|
readonly name: "Get roles";
|
|
4281
4017
|
readonly response_200: {
|
|
4282
|
-
roles: import("./inputsDefault").RoleBase<
|
|
4018
|
+
roles: import("./inputsDefault").RoleBase<TId_17, TDate_17>[];
|
|
4283
4019
|
count: number;
|
|
4284
4020
|
};
|
|
4285
4021
|
readonly response_500: {
|
|
@@ -4292,7 +4028,7 @@ declare const allApis: readonly [{
|
|
|
4292
4028
|
readonly role: "getRoleById";
|
|
4293
4029
|
readonly name: "Get role";
|
|
4294
4030
|
readonly response_200: {
|
|
4295
|
-
role: import("./inputsDefault").RoleBase<
|
|
4031
|
+
role: import("./inputsDefault").RoleBase<TId_17, TDate_17> | null;
|
|
4296
4032
|
message: string;
|
|
4297
4033
|
};
|
|
4298
4034
|
readonly response_404: {
|
|
@@ -4304,7 +4040,7 @@ declare const allApis: readonly [{
|
|
|
4304
4040
|
readonly role: "putRoleById";
|
|
4305
4041
|
readonly name: "Update role";
|
|
4306
4042
|
readonly response_200: {
|
|
4307
|
-
role: import("./inputsDefault").RoleBase<
|
|
4043
|
+
role: import("./inputsDefault").RoleBase<TId_17, TDate_17>;
|
|
4308
4044
|
message: string;
|
|
4309
4045
|
};
|
|
4310
4046
|
readonly response_404: {
|
|
@@ -4316,7 +4052,7 @@ declare const allApis: readonly [{
|
|
|
4316
4052
|
readonly role: "deleteRoleById";
|
|
4317
4053
|
readonly name: "Delete role";
|
|
4318
4054
|
readonly response_200: {
|
|
4319
|
-
role: import("./inputsDefault").RoleBase<
|
|
4055
|
+
role: import("./inputsDefault").RoleBase<TId_17, TDate_17>;
|
|
4320
4056
|
message: string;
|
|
4321
4057
|
};
|
|
4322
4058
|
readonly response_404: {
|
|
@@ -4332,7 +4068,7 @@ declare const allApis: readonly [{
|
|
|
4332
4068
|
readonly role: "postSale";
|
|
4333
4069
|
readonly name: "Create sale";
|
|
4334
4070
|
readonly response_201: {
|
|
4335
|
-
sale: import("./inputsDefault").SaleBase<
|
|
4071
|
+
sale: import("./inputsDefault").SaleBase<TId_18, TDate_18>;
|
|
4336
4072
|
message: string;
|
|
4337
4073
|
};
|
|
4338
4074
|
readonly response_500: {
|
|
@@ -4341,11 +4077,11 @@ declare const allApis: readonly [{
|
|
|
4341
4077
|
};
|
|
4342
4078
|
}, {
|
|
4343
4079
|
readonly method: "get";
|
|
4344
|
-
readonly path: "/sale/
|
|
4345
|
-
readonly role: "
|
|
4346
|
-
readonly name: "Get sales for
|
|
4080
|
+
readonly path: "/sale/customer";
|
|
4081
|
+
readonly role: "getSalesCustomer";
|
|
4082
|
+
readonly name: "Get sales for customer";
|
|
4347
4083
|
readonly response_200: {
|
|
4348
|
-
sales: import("./inputsDefault").SaleBase<
|
|
4084
|
+
sales: import("./inputsDefault").SaleBase<TId_18, TDate_18>[];
|
|
4349
4085
|
count: number;
|
|
4350
4086
|
};
|
|
4351
4087
|
readonly response_500: {
|
|
@@ -4358,7 +4094,7 @@ declare const allApis: readonly [{
|
|
|
4358
4094
|
readonly role: "getSales";
|
|
4359
4095
|
readonly name: "Get sales";
|
|
4360
4096
|
readonly response_200: {
|
|
4361
|
-
sales: import("./inputsDefault").SaleBase<
|
|
4097
|
+
sales: import("./inputsDefault").SaleBase<TId_18, TDate_18>[];
|
|
4362
4098
|
count: number;
|
|
4363
4099
|
};
|
|
4364
4100
|
readonly response_500: {
|
|
@@ -4371,7 +4107,7 @@ declare const allApis: readonly [{
|
|
|
4371
4107
|
readonly role: "getSaleById";
|
|
4372
4108
|
readonly name: "Get sale by ID";
|
|
4373
4109
|
readonly response_200: {
|
|
4374
|
-
sale: import("./inputsDefault").SaleBase<
|
|
4110
|
+
sale: import("./inputsDefault").SaleBase<TId_18, TDate_18> | null;
|
|
4375
4111
|
message: string;
|
|
4376
4112
|
};
|
|
4377
4113
|
readonly response_404: {
|
|
@@ -4396,7 +4132,7 @@ declare const allApis: readonly [{
|
|
|
4396
4132
|
readonly role: "putSaleById";
|
|
4397
4133
|
readonly name: "Update sale";
|
|
4398
4134
|
readonly response_200: {
|
|
4399
|
-
sale: import("./inputsDefault").SaleBase<
|
|
4135
|
+
sale: import("./inputsDefault").SaleBase<TId_18, TDate_18>;
|
|
4400
4136
|
message: string;
|
|
4401
4137
|
};
|
|
4402
4138
|
readonly response_404: {
|
|
@@ -4412,7 +4148,7 @@ declare const allApis: readonly [{
|
|
|
4412
4148
|
readonly role: "deleteSaleById";
|
|
4413
4149
|
readonly name: "Delete sale";
|
|
4414
4150
|
readonly response_200: {
|
|
4415
|
-
sale: import("./inputsDefault").SaleBase<
|
|
4151
|
+
sale: import("./inputsDefault").SaleBase<TId_18, TDate_18>;
|
|
4416
4152
|
message: string;
|
|
4417
4153
|
};
|
|
4418
4154
|
readonly response_404: {
|
|
@@ -4428,7 +4164,7 @@ declare const allApis: readonly [{
|
|
|
4428
4164
|
readonly role: "postSeason";
|
|
4429
4165
|
readonly name: "Create season";
|
|
4430
4166
|
readonly response_201: {
|
|
4431
|
-
season: import("./inputsDefault").SeasonBase<
|
|
4167
|
+
season: import("./inputsDefault").SeasonBase<TId_19, TDate_19>;
|
|
4432
4168
|
message: string;
|
|
4433
4169
|
};
|
|
4434
4170
|
readonly response_500: {
|
|
@@ -4441,7 +4177,7 @@ declare const allApis: readonly [{
|
|
|
4441
4177
|
readonly role: "getSeasons";
|
|
4442
4178
|
readonly name: "Get seasons";
|
|
4443
4179
|
readonly response_200: {
|
|
4444
|
-
seasons: import("./inputsDefault").SeasonBase<
|
|
4180
|
+
seasons: import("./inputsDefault").SeasonBase<TId_19, TDate_19>[];
|
|
4445
4181
|
count: number;
|
|
4446
4182
|
};
|
|
4447
4183
|
readonly response_500: {
|
|
@@ -4454,7 +4190,7 @@ declare const allApis: readonly [{
|
|
|
4454
4190
|
readonly role: "getSeasonById";
|
|
4455
4191
|
readonly name: "Get season";
|
|
4456
4192
|
readonly response_200: {
|
|
4457
|
-
season: import("./inputsDefault").SeasonBase<
|
|
4193
|
+
season: import("./inputsDefault").SeasonBase<TId_19, TDate_19> | null;
|
|
4458
4194
|
message: string;
|
|
4459
4195
|
};
|
|
4460
4196
|
readonly response_404: {
|
|
@@ -4466,7 +4202,7 @@ declare const allApis: readonly [{
|
|
|
4466
4202
|
readonly role: "putSeasonById";
|
|
4467
4203
|
readonly name: "Update season";
|
|
4468
4204
|
readonly response_200: {
|
|
4469
|
-
season: import("./inputsDefault").SeasonBase<
|
|
4205
|
+
season: import("./inputsDefault").SeasonBase<TId_19, TDate_19>;
|
|
4470
4206
|
message: string;
|
|
4471
4207
|
};
|
|
4472
4208
|
readonly response_404: {
|
|
@@ -4478,7 +4214,7 @@ declare const allApis: readonly [{
|
|
|
4478
4214
|
readonly role: "deleteSeasonById";
|
|
4479
4215
|
readonly name: "Delete season";
|
|
4480
4216
|
readonly response_200: {
|
|
4481
|
-
season: import("./inputsDefault").SeasonBase<
|
|
4217
|
+
season: import("./inputsDefault").SeasonBase<TId_19, TDate_19>;
|
|
4482
4218
|
message: string;
|
|
4483
4219
|
};
|
|
4484
4220
|
readonly response_404: {
|
|
@@ -4494,7 +4230,7 @@ declare const allApis: readonly [{
|
|
|
4494
4230
|
readonly role: "getSeats";
|
|
4495
4231
|
readonly name: "Get seats";
|
|
4496
4232
|
readonly response_200: {
|
|
4497
|
-
seats: import("./inputsDefault").SeatBase<
|
|
4233
|
+
seats: import("./inputsDefault").SeatBase<TId_20, TDate_20>[];
|
|
4498
4234
|
count: number;
|
|
4499
4235
|
};
|
|
4500
4236
|
readonly response_500: {
|
|
@@ -4507,7 +4243,7 @@ declare const allApis: readonly [{
|
|
|
4507
4243
|
readonly role: "getOccupanciesSeasonalById";
|
|
4508
4244
|
readonly name: "Get seasonal occupancies by season ID";
|
|
4509
4245
|
readonly response_200: {
|
|
4510
|
-
occupancies: import("./inputsDefault").OccupanceBase<
|
|
4246
|
+
occupancies: import("./inputsDefault").OccupanceBase<TId_20, TDate_20>[];
|
|
4511
4247
|
message: string;
|
|
4512
4248
|
};
|
|
4513
4249
|
readonly response_404: {
|
|
@@ -4519,11 +4255,11 @@ declare const allApis: readonly [{
|
|
|
4519
4255
|
};
|
|
4520
4256
|
}, {
|
|
4521
4257
|
readonly method: "get";
|
|
4522
|
-
readonly path: "/occupance/
|
|
4523
|
-
readonly role: "
|
|
4524
|
-
readonly name: "Get occupancies for
|
|
4258
|
+
readonly path: "/occupance/customer";
|
|
4259
|
+
readonly role: "getOccupanciesCustomer";
|
|
4260
|
+
readonly name: "Get occupancies for customer";
|
|
4525
4261
|
readonly response_200: {
|
|
4526
|
-
occupancies: import("./inputsDefault").FlatOccupanceWithSeat<
|
|
4262
|
+
occupancies: import("./inputsDefault").FlatOccupanceWithSeat<TId_20, TDate_20>[];
|
|
4527
4263
|
count: number;
|
|
4528
4264
|
};
|
|
4529
4265
|
readonly response_500: {
|
|
@@ -4536,7 +4272,7 @@ declare const allApis: readonly [{
|
|
|
4536
4272
|
readonly role: "getOccupancies";
|
|
4537
4273
|
readonly name: "Get occupancies";
|
|
4538
4274
|
readonly response_200: {
|
|
4539
|
-
occupancies: import("./inputsDefault").FlatOccupanceWithSeat<
|
|
4275
|
+
occupancies: import("./inputsDefault").FlatOccupanceWithSeat<TId_20, TDate_20>[];
|
|
4540
4276
|
count: number;
|
|
4541
4277
|
};
|
|
4542
4278
|
readonly response_500: {
|
|
@@ -4549,7 +4285,7 @@ declare const allApis: readonly [{
|
|
|
4549
4285
|
readonly role: "getOccupanceInfoByOrderId";
|
|
4550
4286
|
readonly name: "Get occupance info by order id";
|
|
4551
4287
|
readonly response_200: {
|
|
4552
|
-
tickets: import("./inputsDefault").FlatOccupance<
|
|
4288
|
+
tickets: import("./inputsDefault").FlatOccupance<TId_20, TDate_20>[];
|
|
4553
4289
|
message: string;
|
|
4554
4290
|
};
|
|
4555
4291
|
readonly response_400: {
|
|
@@ -4581,8 +4317,8 @@ declare const allApis: readonly [{
|
|
|
4581
4317
|
readonly role: "postOccupanceReserveById";
|
|
4582
4318
|
readonly name: "Reserve occupance by ID";
|
|
4583
4319
|
readonly response_200: {
|
|
4584
|
-
itemWithTimeLeft: import("./inputsDefault").ItemWithTimeLeftBase<
|
|
4585
|
-
occupance: import("./inputsDefault").OccupanceBase<
|
|
4320
|
+
itemWithTimeLeft: import("./inputsDefault").ItemWithTimeLeftBase<TId_20, TDate_20>;
|
|
4321
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_20, TDate_20>;
|
|
4586
4322
|
message: string;
|
|
4587
4323
|
};
|
|
4588
4324
|
readonly response_400: {
|
|
@@ -4606,8 +4342,8 @@ declare const allApis: readonly [{
|
|
|
4606
4342
|
readonly role: "postSeasonalOccupanceReserveById";
|
|
4607
4343
|
readonly name: "Reserve seasonal occupance by ID";
|
|
4608
4344
|
readonly response_200: {
|
|
4609
|
-
itemWithTimeLeft: import("./inputsDefault").ItemWithTimeLeftBase<
|
|
4610
|
-
occupance: import("./inputsDefault").OccupanceBase<
|
|
4345
|
+
itemWithTimeLeft: import("./inputsDefault").ItemWithTimeLeftBase<TId_20, TDate_20>;
|
|
4346
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_20, TDate_20>;
|
|
4611
4347
|
message: string;
|
|
4612
4348
|
};
|
|
4613
4349
|
readonly response_403: {
|
|
@@ -4629,7 +4365,7 @@ declare const allApis: readonly [{
|
|
|
4629
4365
|
readonly name: "Free occupance by ID";
|
|
4630
4366
|
readonly response_200: {
|
|
4631
4367
|
itemId: string;
|
|
4632
|
-
occupance: import("./inputsDefault").OccupanceBase<
|
|
4368
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_20, TDate_20>;
|
|
4633
4369
|
message: string;
|
|
4634
4370
|
};
|
|
4635
4371
|
readonly response_400: {
|
|
@@ -4651,7 +4387,7 @@ declare const allApis: readonly [{
|
|
|
4651
4387
|
readonly name: "Free seasonal occupance by ID";
|
|
4652
4388
|
readonly response_200: {
|
|
4653
4389
|
itemId: string;
|
|
4654
|
-
occupance: import("./inputsDefault").OccupanceBase<
|
|
4390
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_20, TDate_20>;
|
|
4655
4391
|
message: string;
|
|
4656
4392
|
};
|
|
4657
4393
|
readonly response_403: {
|
|
@@ -4672,7 +4408,7 @@ declare const allApis: readonly [{
|
|
|
4672
4408
|
readonly role: "putOccupanceById";
|
|
4673
4409
|
readonly name: "Update occupance by ID";
|
|
4674
4410
|
readonly response_200: {
|
|
4675
|
-
occupance: import("./inputsDefault").OccupanceBase<
|
|
4411
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_20, TDate_20>;
|
|
4676
4412
|
message: string;
|
|
4677
4413
|
};
|
|
4678
4414
|
readonly response_404: {
|
|
@@ -4699,7 +4435,7 @@ declare const allApis: readonly [{
|
|
|
4699
4435
|
readonly role: "postSection";
|
|
4700
4436
|
readonly name: "Create section";
|
|
4701
4437
|
readonly response_201: {
|
|
4702
|
-
section: import("./inputsDefault").SectionBase<
|
|
4438
|
+
section: import("./inputsDefault").SectionBase<TId_21, TDate_21>;
|
|
4703
4439
|
message: string;
|
|
4704
4440
|
};
|
|
4705
4441
|
readonly response_500: {
|
|
@@ -4712,7 +4448,7 @@ declare const allApis: readonly [{
|
|
|
4712
4448
|
readonly role: "getSections";
|
|
4713
4449
|
readonly name: "Get sections";
|
|
4714
4450
|
readonly response_200: {
|
|
4715
|
-
sections: import("./inputsDefault").SectionBase<
|
|
4451
|
+
sections: import("./inputsDefault").SectionBase<TId_21, TDate_21>[];
|
|
4716
4452
|
count: number;
|
|
4717
4453
|
};
|
|
4718
4454
|
readonly response_500: {
|
|
@@ -4725,7 +4461,7 @@ declare const allApis: readonly [{
|
|
|
4725
4461
|
readonly role: "getSectionById";
|
|
4726
4462
|
readonly name: "Get section by ID";
|
|
4727
4463
|
readonly response_200: {
|
|
4728
|
-
section: import("./inputsDefault").SectionBase<
|
|
4464
|
+
section: import("./inputsDefault").SectionBase<TId_21, TDate_21> | null;
|
|
4729
4465
|
message: string;
|
|
4730
4466
|
};
|
|
4731
4467
|
readonly response_404: {
|
|
@@ -4737,7 +4473,7 @@ declare const allApis: readonly [{
|
|
|
4737
4473
|
readonly role: "putSectionById";
|
|
4738
4474
|
readonly name: "Update section by ID";
|
|
4739
4475
|
readonly response_200: {
|
|
4740
|
-
section: import("./inputsDefault").SectionBase<
|
|
4476
|
+
section: import("./inputsDefault").SectionBase<TId_21, TDate_21>;
|
|
4741
4477
|
message: string;
|
|
4742
4478
|
};
|
|
4743
4479
|
readonly response_404: {
|
|
@@ -4753,7 +4489,7 @@ declare const allApis: readonly [{
|
|
|
4753
4489
|
readonly role: "deleteSectionById";
|
|
4754
4490
|
readonly name: "Delete section by ID";
|
|
4755
4491
|
readonly response_200: {
|
|
4756
|
-
section: import("./inputsDefault").SectionBase<
|
|
4492
|
+
section: import("./inputsDefault").SectionBase<TId_21, TDate_21>;
|
|
4757
4493
|
message: string;
|
|
4758
4494
|
};
|
|
4759
4495
|
readonly response_404: {
|
|
@@ -4765,11 +4501,11 @@ declare const allApis: readonly [{
|
|
|
4765
4501
|
};
|
|
4766
4502
|
}, {
|
|
4767
4503
|
readonly method: "post";
|
|
4768
|
-
readonly path: "/
|
|
4769
|
-
readonly role: "
|
|
4770
|
-
readonly name: "Create
|
|
4504
|
+
readonly path: "/user/admin";
|
|
4505
|
+
readonly role: "postUserAdmin";
|
|
4506
|
+
readonly name: "Create user as root";
|
|
4771
4507
|
readonly response_201: {
|
|
4772
|
-
|
|
4508
|
+
user: import("./inputsDefault").UserBase<TId_22, TDate_22>;
|
|
4773
4509
|
message: string;
|
|
4774
4510
|
};
|
|
4775
4511
|
readonly response_400: {
|
|
@@ -4784,11 +4520,11 @@ declare const allApis: readonly [{
|
|
|
4784
4520
|
};
|
|
4785
4521
|
}, {
|
|
4786
4522
|
readonly method: "post";
|
|
4787
|
-
readonly path: "/
|
|
4788
|
-
readonly role: "
|
|
4789
|
-
readonly name: "
|
|
4523
|
+
readonly path: "/user/token";
|
|
4524
|
+
readonly role: "postUserToken";
|
|
4525
|
+
readonly name: "User login (token)";
|
|
4790
4526
|
readonly response_200: {
|
|
4791
|
-
|
|
4527
|
+
user: import("./inputsDefault").UserBase<TId_22, TDate_22>;
|
|
4792
4528
|
message: string;
|
|
4793
4529
|
};
|
|
4794
4530
|
readonly response_401: {
|
|
@@ -4800,11 +4536,11 @@ declare const allApis: readonly [{
|
|
|
4800
4536
|
};
|
|
4801
4537
|
}, {
|
|
4802
4538
|
readonly method: "post";
|
|
4803
|
-
readonly path: "/
|
|
4804
|
-
readonly role: "
|
|
4805
|
-
readonly name: "
|
|
4539
|
+
readonly path: "/user/logout";
|
|
4540
|
+
readonly role: "postUserLogout";
|
|
4541
|
+
readonly name: "User logout";
|
|
4806
4542
|
readonly response_200: {
|
|
4807
|
-
|
|
4543
|
+
user: import("./inputsDefault").UserBase<TId_22, TDate_22>;
|
|
4808
4544
|
message: string;
|
|
4809
4545
|
};
|
|
4810
4546
|
readonly response_500: {
|
|
@@ -4813,11 +4549,11 @@ declare const allApis: readonly [{
|
|
|
4813
4549
|
};
|
|
4814
4550
|
}, {
|
|
4815
4551
|
readonly method: "post";
|
|
4816
|
-
readonly path: "/
|
|
4817
|
-
readonly role: "
|
|
4818
|
-
readonly name: "
|
|
4552
|
+
readonly path: "/user/logout/all";
|
|
4553
|
+
readonly role: "postUserLogoutAll";
|
|
4554
|
+
readonly name: "User logout all sessions";
|
|
4819
4555
|
readonly response_200: {
|
|
4820
|
-
|
|
4556
|
+
user: import("./inputsDefault").UserBase<TId_22, TDate_22>;
|
|
4821
4557
|
message: string;
|
|
4822
4558
|
};
|
|
4823
4559
|
readonly response_500: {
|
|
@@ -4826,11 +4562,11 @@ declare const allApis: readonly [{
|
|
|
4826
4562
|
};
|
|
4827
4563
|
}, {
|
|
4828
4564
|
readonly method: "post";
|
|
4829
|
-
readonly path: "/
|
|
4830
|
-
readonly role: "
|
|
4831
|
-
readonly name: "
|
|
4565
|
+
readonly path: "/user/logout/:id";
|
|
4566
|
+
readonly role: "postUserLogoutById";
|
|
4567
|
+
readonly name: "User logout by session id";
|
|
4832
4568
|
readonly response_200: {
|
|
4833
|
-
|
|
4569
|
+
user: import("./inputsDefault").UserBase<TId_22, TDate_22>;
|
|
4834
4570
|
message: string;
|
|
4835
4571
|
};
|
|
4836
4572
|
readonly response_404: {
|
|
@@ -4842,11 +4578,11 @@ declare const allApis: readonly [{
|
|
|
4842
4578
|
};
|
|
4843
4579
|
}, {
|
|
4844
4580
|
readonly method: "get";
|
|
4845
|
-
readonly path: "/
|
|
4846
|
-
readonly role: "
|
|
4847
|
-
readonly name: "Get current
|
|
4581
|
+
readonly path: "/user";
|
|
4582
|
+
readonly role: "getUser";
|
|
4583
|
+
readonly name: "Get current user";
|
|
4848
4584
|
readonly response_200: {
|
|
4849
|
-
|
|
4585
|
+
user: import("./inputsDefault").UserTypeWithPopulatedRolesBase<TId_22, TDate_22>;
|
|
4850
4586
|
};
|
|
4851
4587
|
readonly response_500: {
|
|
4852
4588
|
message: string;
|
|
@@ -4854,9 +4590,9 @@ declare const allApis: readonly [{
|
|
|
4854
4590
|
};
|
|
4855
4591
|
}, {
|
|
4856
4592
|
readonly method: "get";
|
|
4857
|
-
readonly path: "/
|
|
4858
|
-
readonly role: "
|
|
4859
|
-
readonly name: "Check
|
|
4593
|
+
readonly path: "/user/exists/:email";
|
|
4594
|
+
readonly role: "getUserExistsByEmail";
|
|
4595
|
+
readonly name: "Check user email exists";
|
|
4860
4596
|
readonly response_200: Record<string, never>;
|
|
4861
4597
|
readonly response_409: {
|
|
4862
4598
|
message: string;
|
|
@@ -4867,11 +4603,11 @@ declare const allApis: readonly [{
|
|
|
4867
4603
|
};
|
|
4868
4604
|
}, {
|
|
4869
4605
|
readonly method: "get";
|
|
4870
|
-
readonly path: "/
|
|
4871
|
-
readonly role: "
|
|
4872
|
-
readonly name: "Get all
|
|
4606
|
+
readonly path: "/user/all";
|
|
4607
|
+
readonly role: "getUserAll";
|
|
4608
|
+
readonly name: "Get all user";
|
|
4873
4609
|
readonly response_200: {
|
|
4874
|
-
|
|
4610
|
+
users: import("./inputsDefault").UserBase<TId_22, TDate_22>[];
|
|
4875
4611
|
count?: number;
|
|
4876
4612
|
};
|
|
4877
4613
|
readonly response_500: {
|
|
@@ -4880,11 +4616,11 @@ declare const allApis: readonly [{
|
|
|
4880
4616
|
};
|
|
4881
4617
|
}, {
|
|
4882
4618
|
readonly method: "put";
|
|
4883
|
-
readonly path: "/
|
|
4884
|
-
readonly role: "
|
|
4885
|
-
readonly name: "Update own
|
|
4619
|
+
readonly path: "/user/account";
|
|
4620
|
+
readonly role: "putUserAccount";
|
|
4621
|
+
readonly name: "Update own user account";
|
|
4886
4622
|
readonly response_200: {
|
|
4887
|
-
|
|
4623
|
+
user: import("./inputsDefault").UserBase<TId_22, TDate_22>;
|
|
4888
4624
|
message: string;
|
|
4889
4625
|
};
|
|
4890
4626
|
readonly response_404: {
|
|
@@ -4896,11 +4632,11 @@ declare const allApis: readonly [{
|
|
|
4896
4632
|
};
|
|
4897
4633
|
}, {
|
|
4898
4634
|
readonly method: "put";
|
|
4899
|
-
readonly path: "/
|
|
4900
|
-
readonly role: "
|
|
4901
|
-
readonly name: "Update
|
|
4635
|
+
readonly path: "/user/:id";
|
|
4636
|
+
readonly role: "putUserById";
|
|
4637
|
+
readonly name: "Update user by ID";
|
|
4902
4638
|
readonly response_200: {
|
|
4903
|
-
|
|
4639
|
+
user: import("./inputsDefault").UserBase<TId_22, TDate_22>;
|
|
4904
4640
|
message: string;
|
|
4905
4641
|
};
|
|
4906
4642
|
readonly response_404: {
|
|
@@ -4912,11 +4648,11 @@ declare const allApis: readonly [{
|
|
|
4912
4648
|
};
|
|
4913
4649
|
}, {
|
|
4914
4650
|
readonly method: "put";
|
|
4915
|
-
readonly path: "/
|
|
4916
|
-
readonly role: "
|
|
4917
|
-
readonly name: "Update
|
|
4651
|
+
readonly path: "/user/password";
|
|
4652
|
+
readonly role: "putUserPassword";
|
|
4653
|
+
readonly name: "Update user password";
|
|
4918
4654
|
readonly response_200: {
|
|
4919
|
-
|
|
4655
|
+
user: import("./inputsDefault").UserBase<TId_22, TDate_22>;
|
|
4920
4656
|
message: string;
|
|
4921
4657
|
};
|
|
4922
4658
|
readonly response_404: {
|
|
@@ -4928,11 +4664,11 @@ declare const allApis: readonly [{
|
|
|
4928
4664
|
};
|
|
4929
4665
|
}, {
|
|
4930
4666
|
readonly method: "delete";
|
|
4931
|
-
readonly path: "/
|
|
4932
|
-
readonly role: "
|
|
4933
|
-
readonly name: "Delete
|
|
4667
|
+
readonly path: "/user/:id";
|
|
4668
|
+
readonly role: "deleteUserById";
|
|
4669
|
+
readonly name: "Delete user by ID";
|
|
4934
4670
|
readonly response_200: {
|
|
4935
|
-
|
|
4671
|
+
user: import("./inputsDefault").UserBase<TId_22, TDate_22>;
|
|
4936
4672
|
message: string;
|
|
4937
4673
|
};
|
|
4938
4674
|
readonly response_404: {
|
|
@@ -4944,9 +4680,9 @@ declare const allApis: readonly [{
|
|
|
4944
4680
|
};
|
|
4945
4681
|
}, {
|
|
4946
4682
|
readonly method: "post";
|
|
4947
|
-
readonly path: "/
|
|
4948
|
-
readonly role: "
|
|
4949
|
-
readonly name: "Register
|
|
4683
|
+
readonly path: "/customer";
|
|
4684
|
+
readonly role: "postCustomer";
|
|
4685
|
+
readonly name: "Register customer";
|
|
4950
4686
|
readonly response_201: {
|
|
4951
4687
|
message: string;
|
|
4952
4688
|
};
|
|
@@ -4956,11 +4692,11 @@ declare const allApis: readonly [{
|
|
|
4956
4692
|
};
|
|
4957
4693
|
}, {
|
|
4958
4694
|
readonly method: "post";
|
|
4959
|
-
readonly path: "/
|
|
4960
|
-
readonly role: "
|
|
4961
|
-
readonly name: "Create
|
|
4695
|
+
readonly path: "/customer/admin";
|
|
4696
|
+
readonly role: "postCustomerAdmin";
|
|
4697
|
+
readonly name: "Create customer as admin";
|
|
4962
4698
|
readonly response_201: {
|
|
4963
|
-
|
|
4699
|
+
customer: import("./inputsDefault").CustomerBase<TId_23, TDate_23>;
|
|
4964
4700
|
message: string;
|
|
4965
4701
|
};
|
|
4966
4702
|
readonly response_500: {
|
|
@@ -4969,11 +4705,11 @@ declare const allApis: readonly [{
|
|
|
4969
4705
|
};
|
|
4970
4706
|
}, {
|
|
4971
4707
|
readonly method: "post";
|
|
4972
|
-
readonly path: "/
|
|
4973
|
-
readonly role: "
|
|
4974
|
-
readonly name: "
|
|
4708
|
+
readonly path: "/customer/token";
|
|
4709
|
+
readonly role: "postCustomerToken";
|
|
4710
|
+
readonly name: "Customer login (token)";
|
|
4975
4711
|
readonly response_200: {
|
|
4976
|
-
|
|
4712
|
+
customer: import("./inputsDefault").CustomerBase<TId_23, TDate_23>;
|
|
4977
4713
|
message: string;
|
|
4978
4714
|
};
|
|
4979
4715
|
readonly response_401: {
|
|
@@ -4982,11 +4718,11 @@ declare const allApis: readonly [{
|
|
|
4982
4718
|
};
|
|
4983
4719
|
}, {
|
|
4984
4720
|
readonly method: "post";
|
|
4985
|
-
readonly path: "/
|
|
4986
|
-
readonly role: "
|
|
4987
|
-
readonly name: "
|
|
4721
|
+
readonly path: "/customer/logout";
|
|
4722
|
+
readonly role: "postCustomerLogout";
|
|
4723
|
+
readonly name: "Customer logout";
|
|
4988
4724
|
readonly response_200: {
|
|
4989
|
-
|
|
4725
|
+
customer: import("./inputsDefault").CustomerBase<TId_23, TDate_23>;
|
|
4990
4726
|
message: string;
|
|
4991
4727
|
};
|
|
4992
4728
|
readonly response_500: {
|
|
@@ -4995,11 +4731,11 @@ declare const allApis: readonly [{
|
|
|
4995
4731
|
};
|
|
4996
4732
|
}, {
|
|
4997
4733
|
readonly method: "post";
|
|
4998
|
-
readonly path: "/
|
|
4999
|
-
readonly role: "
|
|
5000
|
-
readonly name: "
|
|
4734
|
+
readonly path: "/customer/logout/all";
|
|
4735
|
+
readonly role: "postCustomerLogoutAll";
|
|
4736
|
+
readonly name: "Customer logout all sessions";
|
|
5001
4737
|
readonly response_200: {
|
|
5002
|
-
|
|
4738
|
+
customer: import("./inputsDefault").CustomerBase<TId_23, TDate_23>;
|
|
5003
4739
|
message: string;
|
|
5004
4740
|
};
|
|
5005
4741
|
readonly response_500: {
|
|
@@ -5008,11 +4744,11 @@ declare const allApis: readonly [{
|
|
|
5008
4744
|
};
|
|
5009
4745
|
}, {
|
|
5010
4746
|
readonly method: "post";
|
|
5011
|
-
readonly path: "/
|
|
5012
|
-
readonly role: "
|
|
5013
|
-
readonly name: "
|
|
4747
|
+
readonly path: "/customer/logout/:id";
|
|
4748
|
+
readonly role: "postCustomerLogoutById";
|
|
4749
|
+
readonly name: "Customer logout by session id";
|
|
5014
4750
|
readonly response_200: {
|
|
5015
|
-
|
|
4751
|
+
customer: import("./inputsDefault").CustomerBase<TId_23, TDate_23>;
|
|
5016
4752
|
message: string;
|
|
5017
4753
|
};
|
|
5018
4754
|
readonly response_500: {
|
|
@@ -5021,11 +4757,11 @@ declare const allApis: readonly [{
|
|
|
5021
4757
|
};
|
|
5022
4758
|
}, {
|
|
5023
4759
|
readonly method: "get";
|
|
5024
|
-
readonly path: "/
|
|
5025
|
-
readonly role: "
|
|
5026
|
-
readonly name: "Get current
|
|
4760
|
+
readonly path: "/customer";
|
|
4761
|
+
readonly role: "getCustomer";
|
|
4762
|
+
readonly name: "Get current customer";
|
|
5027
4763
|
readonly response_200: {
|
|
5028
|
-
|
|
4764
|
+
customer: import("./inputsDefault").CustomerBase<TId_23, TDate_23>;
|
|
5029
4765
|
};
|
|
5030
4766
|
readonly response_500: {
|
|
5031
4767
|
message: string;
|
|
@@ -5033,9 +4769,9 @@ declare const allApis: readonly [{
|
|
|
5033
4769
|
};
|
|
5034
4770
|
}, {
|
|
5035
4771
|
readonly method: "get";
|
|
5036
|
-
readonly path: "/
|
|
5037
|
-
readonly role: "
|
|
5038
|
-
readonly name: "Check
|
|
4772
|
+
readonly path: "/customer/exists/:email";
|
|
4773
|
+
readonly role: "getCustomerExistsByEmail";
|
|
4774
|
+
readonly name: "Check customer email exists";
|
|
5039
4775
|
readonly response_200: Record<string, never>;
|
|
5040
4776
|
readonly response_409: {
|
|
5041
4777
|
message: string;
|
|
@@ -5046,11 +4782,11 @@ declare const allApis: readonly [{
|
|
|
5046
4782
|
};
|
|
5047
4783
|
}, {
|
|
5048
4784
|
readonly method: "get";
|
|
5049
|
-
readonly path: "/
|
|
5050
|
-
readonly role: "
|
|
5051
|
-
readonly name: "Get
|
|
4785
|
+
readonly path: "/customer/all";
|
|
4786
|
+
readonly role: "getCustomers";
|
|
4787
|
+
readonly name: "Get customers";
|
|
5052
4788
|
readonly response_200: {
|
|
5053
|
-
|
|
4789
|
+
customers: import("./inputsDefault").CustomerBase<TId_23, TDate_23>[];
|
|
5054
4790
|
count: number;
|
|
5055
4791
|
};
|
|
5056
4792
|
readonly response_500: {
|
|
@@ -5059,15 +4795,15 @@ declare const allApis: readonly [{
|
|
|
5059
4795
|
};
|
|
5060
4796
|
}, {
|
|
5061
4797
|
readonly method: "put";
|
|
5062
|
-
readonly path: "/
|
|
5063
|
-
readonly role: "
|
|
5064
|
-
readonly name: "Update own
|
|
4798
|
+
readonly path: "/customer/account";
|
|
4799
|
+
readonly role: "putCustomerAccount";
|
|
4800
|
+
readonly name: "Update own customer account";
|
|
5065
4801
|
readonly response_200: {
|
|
5066
|
-
|
|
4802
|
+
customer: import("./inputsDefault").CustomerBase<TId_23, TDate_23>;
|
|
5067
4803
|
message: string;
|
|
5068
4804
|
};
|
|
5069
4805
|
readonly response_404: {
|
|
5070
|
-
|
|
4806
|
+
customer: import("./inputsDefault").CustomerBase<TId_23, TDate_23> | null;
|
|
5071
4807
|
message: string;
|
|
5072
4808
|
};
|
|
5073
4809
|
readonly response_500: {
|
|
@@ -5076,15 +4812,15 @@ declare const allApis: readonly [{
|
|
|
5076
4812
|
};
|
|
5077
4813
|
}, {
|
|
5078
4814
|
readonly method: "put";
|
|
5079
|
-
readonly path: "/
|
|
5080
|
-
readonly role: "
|
|
5081
|
-
readonly name: "Update
|
|
4815
|
+
readonly path: "/customer/:id";
|
|
4816
|
+
readonly role: "putCustomerById";
|
|
4817
|
+
readonly name: "Update customer by ID";
|
|
5082
4818
|
readonly response_200: {
|
|
5083
|
-
|
|
4819
|
+
customer: import("./inputsDefault").CustomerBase<TId_23, TDate_23>;
|
|
5084
4820
|
message: string;
|
|
5085
4821
|
};
|
|
5086
4822
|
readonly response_404: {
|
|
5087
|
-
|
|
4823
|
+
customer: import("./inputsDefault").CustomerBase<TId_23, TDate_23> | null;
|
|
5088
4824
|
message: string;
|
|
5089
4825
|
};
|
|
5090
4826
|
readonly response_500: {
|
|
@@ -5093,15 +4829,15 @@ declare const allApis: readonly [{
|
|
|
5093
4829
|
};
|
|
5094
4830
|
}, {
|
|
5095
4831
|
readonly method: "put";
|
|
5096
|
-
readonly path: "/
|
|
5097
|
-
readonly role: "
|
|
5098
|
-
readonly name: "Update
|
|
4832
|
+
readonly path: "/customer/password";
|
|
4833
|
+
readonly role: "putCustomerPassword";
|
|
4834
|
+
readonly name: "Update customer password";
|
|
5099
4835
|
readonly response_200: {
|
|
5100
|
-
|
|
4836
|
+
customer: import("./inputsDefault").CustomerBase<TId_23, TDate_23>;
|
|
5101
4837
|
message: string;
|
|
5102
4838
|
};
|
|
5103
4839
|
readonly response_404: {
|
|
5104
|
-
|
|
4840
|
+
customer: import("./inputsDefault").CustomerBase<TId_23, TDate_23> | null;
|
|
5105
4841
|
message: string;
|
|
5106
4842
|
};
|
|
5107
4843
|
readonly response_500: {
|
|
@@ -5110,15 +4846,15 @@ declare const allApis: readonly [{
|
|
|
5110
4846
|
};
|
|
5111
4847
|
}, {
|
|
5112
4848
|
readonly method: "delete";
|
|
5113
|
-
readonly path: "/
|
|
5114
|
-
readonly role: "
|
|
5115
|
-
readonly name: "Delete
|
|
4849
|
+
readonly path: "/customer/:id";
|
|
4850
|
+
readonly role: "deleteCustomerById";
|
|
4851
|
+
readonly name: "Delete customer by ID";
|
|
5116
4852
|
readonly response_200: {
|
|
5117
|
-
|
|
4853
|
+
customer: import("./inputsDefault").CustomerBase<TId_23, TDate_23>;
|
|
5118
4854
|
message: string;
|
|
5119
4855
|
};
|
|
5120
4856
|
readonly response_404: {
|
|
5121
|
-
|
|
4857
|
+
customer: import("./inputsDefault").CustomerBase<TId_23, TDate_23> | null;
|
|
5122
4858
|
message: string;
|
|
5123
4859
|
};
|
|
5124
4860
|
readonly response_500: {
|