@ibiliaze/global-vars 1.139.0 → 1.140.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.
Files changed (44) hide show
  1. package/dist/ticketops/roles/account.d.ts +0 -3
  2. package/dist/ticketops/roles/admin.d.ts +0 -2
  3. package/dist/ticketops/roles/blog.d.ts +0 -3
  4. package/dist/ticketops/roles/campaign.d.ts +8 -5
  5. package/dist/ticketops/roles/category.d.ts +0 -3
  6. package/dist/ticketops/roles/checkout.d.ts +16 -0
  7. package/dist/ticketops/roles/checkout.js +4 -0
  8. package/dist/ticketops/roles/email.d.ts +26 -0
  9. package/dist/ticketops/roles/email.js +26 -3
  10. package/dist/ticketops/roles/event.d.ts +2 -4
  11. package/dist/ticketops/roles/fail.d.ts +41 -1
  12. package/dist/ticketops/roles/fail.js +40 -6
  13. package/dist/ticketops/roles/file.d.ts +32 -0
  14. package/dist/ticketops/roles/file.js +9 -0
  15. package/dist/ticketops/roles/fixture.d.ts +0 -3
  16. package/dist/ticketops/roles/flow.d.ts +0 -4
  17. package/dist/ticketops/roles/group.d.ts +0 -4
  18. package/dist/ticketops/roles/job.d.ts +0 -5
  19. package/dist/ticketops/roles/log.d.ts +0 -1
  20. package/dist/ticketops/roles/notification.d.ts +0 -3
  21. package/dist/ticketops/roles/page.d.ts +0 -4
  22. package/dist/ticketops/roles/product.d.ts +0 -3
  23. package/dist/ticketops/roles/prospect.d.ts +0 -4
  24. package/dist/ticketops/roles/report.d.ts +47 -1
  25. package/dist/ticketops/roles/report.js +47 -7
  26. package/dist/ticketops/roles/review.d.ts +62 -1
  27. package/dist/ticketops/roles/review.js +63 -9
  28. package/dist/ticketops/roles/role.d.ts +43 -1
  29. package/dist/ticketops/roles/role.js +46 -7
  30. package/dist/ticketops/roles/sale.d.ts +74 -1
  31. package/dist/ticketops/roles/sale.js +64 -14
  32. package/dist/ticketops/roles/season.d.ts +43 -1
  33. package/dist/ticketops/roles/season.js +46 -7
  34. package/dist/ticketops/roles/seat.d.ts +299 -1
  35. package/dist/ticketops/roles/seat.js +126 -40
  36. package/dist/ticketops/roles/section.d.ts +47 -1
  37. package/dist/ticketops/roles/section.js +47 -7
  38. package/dist/ticketops/roles/staff.d.ts +121 -1
  39. package/dist/ticketops/roles/staff.js +110 -14
  40. package/dist/ticketops/roles/user.d.ts +120 -1
  41. package/dist/ticketops/roles/user.js +114 -20
  42. package/dist/ticketops/roles.d.ts +2037 -215
  43. package/dist/ticketops/roles.js +20 -20
  44. package/package.json +2 -2
@@ -61,7 +61,6 @@ export declare const apis: <TId, TDate>() => readonly [{
61
61
  };
62
62
  readonly response_404: {
63
63
  message: string;
64
- error: string;
65
64
  };
66
65
  }, {
67
66
  readonly method: "get";
@@ -93,7 +92,6 @@ export declare const apis: <TId, TDate>() => readonly [{
93
92
  readonly role: "putAccountById";
94
93
  readonly name: "Update account";
95
94
  readonly response_404: {
96
- account: import("./inputsDefault").AccountBase<TId_1, TDate_1> | null;
97
95
  message: string;
98
96
  };
99
97
  readonly response_200: {
@@ -110,7 +108,6 @@ export declare const apis: <TId, TDate>() => readonly [{
110
108
  readonly role: "deleteAccountById";
111
109
  readonly name: "Delete account";
112
110
  readonly response_404: {
113
- account: import("./inputsDefault").AccountBase<TId_1, TDate_1> | null;
114
111
  message: string;
115
112
  };
116
113
  readonly response_200: {
@@ -271,7 +268,6 @@ export declare const apis: <TId, TDate>() => readonly [{
271
268
  message: string;
272
269
  };
273
270
  readonly response_404: {
274
- admin: import("./inputsDefault").AdminBase<TId_2, TDate_2> | null;
275
271
  message: string;
276
272
  };
277
273
  readonly response_500: {
@@ -288,7 +284,6 @@ export declare const apis: <TId, TDate>() => readonly [{
288
284
  message: string;
289
285
  };
290
286
  readonly response_404: {
291
- admin: import("./inputsDefault").AdminBase<TId_2, TDate_2> | null;
292
287
  message: string;
293
288
  };
294
289
  readonly response_500: {
@@ -345,7 +340,6 @@ export declare const apis: <TId, TDate>() => readonly [{
345
340
  };
346
341
  readonly response_404: {
347
342
  message: string;
348
- error: string;
349
343
  };
350
344
  }, {
351
345
  readonly method: "put";
@@ -357,7 +351,6 @@ export declare const apis: <TId, TDate>() => readonly [{
357
351
  message: string;
358
352
  };
359
353
  readonly response_404: {
360
- blog: import("./inputsDefault").BlogBase<TId_3, TDate_3> | null;
361
354
  message: string;
362
355
  };
363
356
  readonly response_500: {
@@ -374,7 +367,6 @@ export declare const apis: <TId, TDate>() => readonly [{
374
367
  message: string;
375
368
  };
376
369
  readonly response_404: {
377
- blog: import("./inputsDefault").BlogBase<TId_3, TDate_3> | null;
378
370
  message: string;
379
371
  };
380
372
  readonly response_500: {
@@ -451,7 +443,13 @@ export declare const apis: <TId, TDate>() => readonly [{
451
443
  readonly role: "getCampaignInsightById";
452
444
  readonly name: "Get campaign insight";
453
445
  readonly response_200: {
454
- stages: (import("./inputsDefault").CampaignStageBase<TId_4> & {
446
+ stages: ({
447
+ sent: number;
448
+ replies: number;
449
+ clicks: number;
450
+ opens: number;
451
+ totalProspects: number;
452
+ } & {
455
453
  stageId: string;
456
454
  }[]) | null;
457
455
  };
@@ -473,7 +471,6 @@ export declare const apis: <TId, TDate>() => readonly [{
473
471
  };
474
472
  readonly response_404: {
475
473
  message: string;
476
- error: string;
477
474
  };
478
475
  }, {
479
476
  readonly method: "put";
@@ -485,7 +482,6 @@ export declare const apis: <TId, TDate>() => readonly [{
485
482
  message: string;
486
483
  };
487
484
  readonly response_404: {
488
- campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4> | null;
489
485
  message: string;
490
486
  };
491
487
  readonly response_500: {
@@ -502,7 +498,6 @@ export declare const apis: <TId, TDate>() => readonly [{
502
498
  message: string;
503
499
  };
504
500
  readonly response_404: {
505
- campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4> | null;
506
501
  message: string;
507
502
  };
508
503
  readonly response_500: {
@@ -546,7 +541,6 @@ export declare const apis: <TId, TDate>() => readonly [{
546
541
  };
547
542
  readonly response_404: {
548
543
  message: string;
549
- error: string;
550
544
  };
551
545
  }, {
552
546
  readonly method: "put";
@@ -558,7 +552,6 @@ export declare const apis: <TId, TDate>() => readonly [{
558
552
  message: string;
559
553
  };
560
554
  readonly response_404: {
561
- category: import("./inputsDefault").CategoryBase<TId_5, TDate_5> | null;
562
555
  message: string;
563
556
  };
564
557
  readonly response_500: {
@@ -575,7 +568,6 @@ export declare const apis: <TId, TDate>() => readonly [{
575
568
  message: string;
576
569
  };
577
570
  readonly response_404: {
578
- category: import("./inputsDefault").CategoryBase<TId_5, TDate_5> | null;
579
571
  message: string;
580
572
  };
581
573
  readonly response_500: {
@@ -587,23 +579,49 @@ export declare const apis: <TId, TDate>() => readonly [{
587
579
  readonly path: "/email";
588
580
  readonly role: "postEmail";
589
581
  readonly name: "Send email confirmation";
582
+ readonly response_200: {
583
+ message: string;
584
+ };
585
+ readonly response_400: {
586
+ message: string;
587
+ };
588
+ readonly response_500: {
589
+ message: string;
590
+ error: string;
591
+ };
590
592
  }, {
591
593
  readonly method: "post";
592
594
  readonly path: "/email/push";
593
595
  readonly role: "postEmailPush";
594
596
  readonly name: "Send templated email";
597
+ readonly response_200: {
598
+ message: string;
599
+ };
600
+ readonly response_404: {
601
+ message: string;
602
+ };
603
+ readonly response_500: {
604
+ message: string;
605
+ error: string;
606
+ };
595
607
  }, {
596
608
  readonly method: "post";
597
609
  readonly path: "/verify-recaptcha";
598
610
  readonly role: "postVerifyRecaptcha";
599
611
  readonly name: "Verify reCAPTCHA";
612
+ readonly response_200: {
613
+ message: string;
614
+ };
615
+ readonly response_400: {
616
+ message: string;
617
+ };
600
618
  }, {
601
619
  readonly method: "post";
602
620
  readonly path: "/event/book";
603
621
  readonly role: "postEventBook";
604
622
  readonly name: "Book event";
605
623
  readonly response_201: {
606
- event: import("./inputsDefault").EventBase<TId_6, TDate_6>;
624
+ url: string;
607
625
  message: string;
608
626
  };
609
627
  readonly response_400: {
@@ -646,6 +664,7 @@ export declare const apis: <TId, TDate>() => readonly [{
646
664
  readonly name: "Request booking cancel";
647
665
  readonly response_200: {
648
666
  message: string;
667
+ event: import("./inputsDefault").EventBase<TId_6, TDate_6>;
649
668
  };
650
669
  readonly response_400: {
651
670
  message: string;
@@ -678,7 +697,6 @@ export declare const apis: <TId, TDate>() => readonly [{
678
697
  };
679
698
  readonly response_404: {
680
699
  message: string;
681
- error: string;
682
700
  };
683
701
  }, {
684
702
  readonly method: "put";
@@ -690,7 +708,6 @@ export declare const apis: <TId, TDate>() => readonly [{
690
708
  message: string;
691
709
  };
692
710
  readonly response_404: {
693
- event: import("./inputsDefault").EventBase<TId_6, TDate_6> | null;
694
711
  message: string;
695
712
  };
696
713
  readonly response_500: {
@@ -720,7 +737,6 @@ export declare const apis: <TId, TDate>() => readonly [{
720
737
  message: string;
721
738
  };
722
739
  readonly response_404: {
723
- event: import("./inputsDefault").EventBase<TId_6, TDate_6> | null;
724
740
  message: string;
725
741
  };
726
742
  readonly response_500: {
@@ -732,28 +748,67 @@ export declare const apis: <TId, TDate>() => readonly [{
732
748
  readonly path: "/fail";
733
749
  readonly role: "getFails";
734
750
  readonly name: "Get fails";
751
+ readonly response_200: {
752
+ fails: import("./inputsDefault").FailBase<TId_7, TDate_7>[];
753
+ count: number;
754
+ };
755
+ readonly response_500: {
756
+ message: string;
757
+ error: string;
758
+ };
735
759
  }, {
736
760
  readonly method: "get";
737
761
  readonly path: "/fail/run/:id";
738
762
  readonly role: "getFailRunById";
739
763
  readonly name: "Run fail job by ID";
764
+ readonly response_200: {
765
+ message: string;
766
+ };
767
+ readonly response_400: {
768
+ message: string;
769
+ };
770
+ readonly response_404: {
771
+ message: string;
772
+ };
773
+ readonly response_500: {
774
+ message: string;
775
+ error: string;
776
+ };
740
777
  }, {
741
778
  readonly method: "delete";
742
779
  readonly path: "/fail/all";
743
780
  readonly role: "deleteFailsAll";
744
781
  readonly name: "Delete all fails";
782
+ readonly response_200: {
783
+ message: string;
784
+ };
785
+ readonly response_500: {
786
+ message: string;
787
+ error: string;
788
+ };
745
789
  }, {
746
790
  readonly method: "delete";
747
791
  readonly path: "/fail/:id";
748
792
  readonly role: "deleteFailById";
749
793
  readonly name: "Delete fail by ID";
794
+ readonly response_200: {
795
+ fail: import("./inputsDefault").FailBase<TId_7, TDate_7>;
796
+ message: string;
797
+ };
798
+ readonly response_404: {
799
+ message: string;
800
+ };
801
+ readonly response_500: {
802
+ message: string;
803
+ error: string;
804
+ };
750
805
  }, {
751
806
  readonly method: "post";
752
807
  readonly path: "/flow";
753
808
  readonly role: "postFlow";
754
809
  readonly name: "Create flow";
755
810
  readonly response_201: {
756
- flow: import("./inputsDefault").FlowBase<TId_7, TDate_7>;
811
+ flow: import("./inputsDefault").FlowBase<TId_8, TDate_8>;
757
812
  message: string;
758
813
  };
759
814
  readonly response_500: {
@@ -766,7 +821,7 @@ export declare const apis: <TId, TDate>() => readonly [{
766
821
  readonly role: "getFlows";
767
822
  readonly name: "Get flows";
768
823
  readonly response_200: {
769
- flows: import("./inputsDefault").FlowBase<TId_7, TDate_7>[];
824
+ flows: import("./inputsDefault").FlowBase<TId_8, TDate_8>[];
770
825
  count: number;
771
826
  };
772
827
  readonly response_500: {
@@ -791,12 +846,11 @@ export declare const apis: <TId, TDate>() => readonly [{
791
846
  readonly role: "getFlowById";
792
847
  readonly name: "Get flow";
793
848
  readonly response_200: {
794
- flow: import("./inputsDefault").FlowBase<TId_7, TDate_7> | null;
849
+ flow: import("./inputsDefault").FlowBase<TId_8, TDate_8> | null;
795
850
  message: string;
796
851
  };
797
852
  readonly response_404: {
798
853
  message: string;
799
- error: string;
800
854
  };
801
855
  }, {
802
856
  readonly method: "put";
@@ -804,13 +858,11 @@ export declare const apis: <TId, TDate>() => readonly [{
804
858
  readonly role: "putFlowById";
805
859
  readonly name: "Update flow";
806
860
  readonly response_200: {
807
- flow: import("./inputsDefault").FlowBase<TId_7, TDate_7>;
861
+ flow: import("./inputsDefault").FlowBase<TId_8, TDate_8>;
808
862
  message: string;
809
863
  };
810
864
  readonly response_404: {
811
- flow: import("./inputsDefault").FlowBase<TId_7, TDate_7> | null;
812
865
  message: string;
813
- error?: string;
814
866
  };
815
867
  readonly response_500: {
816
868
  message: string;
@@ -822,11 +874,10 @@ export declare const apis: <TId, TDate>() => readonly [{
822
874
  readonly role: "deleteFlowById";
823
875
  readonly name: "Delete flow";
824
876
  readonly response_200: {
825
- flow: import("./inputsDefault").FlowBase<TId_7, TDate_7>;
877
+ flow: import("./inputsDefault").FlowBase<TId_8, TDate_8>;
826
878
  message: string;
827
879
  };
828
880
  readonly response_404: {
829
- flow: import("./inputsDefault").FlowBase<TId_7, TDate_7> | null;
830
881
  message: string;
831
882
  };
832
883
  readonly response_500: {
@@ -839,7 +890,7 @@ export declare const apis: <TId, TDate>() => readonly [{
839
890
  readonly role: "postFixture";
840
891
  readonly name: "Create fixture";
841
892
  readonly response_201: {
842
- fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8>;
893
+ fixture: import("./inputsDefault").FixtureBase<TId_9, TDate_9>;
843
894
  message: string;
844
895
  };
845
896
  readonly response_500: {
@@ -852,7 +903,7 @@ export declare const apis: <TId, TDate>() => readonly [{
852
903
  readonly role: "getFixtures";
853
904
  readonly name: "Get fixtures";
854
905
  readonly response_200: {
855
- fixtures: import("./inputsDefault").FixtureBase<TId_8, TDate_8>[];
906
+ fixtures: import("./inputsDefault").FixtureBase<TId_9, TDate_9>[];
856
907
  count: number;
857
908
  };
858
909
  readonly response_500: {
@@ -865,12 +916,11 @@ export declare const apis: <TId, TDate>() => readonly [{
865
916
  readonly role: "getFixtureById";
866
917
  readonly name: "Get fixture";
867
918
  readonly response_200: {
868
- fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8> | null;
919
+ fixture: import("./inputsDefault").FixtureBase<TId_9, TDate_9> | null;
869
920
  message: string;
870
921
  };
871
922
  readonly response_404: {
872
923
  message: string;
873
- error: string;
874
924
  };
875
925
  }, {
876
926
  readonly method: "put";
@@ -878,11 +928,10 @@ export declare const apis: <TId, TDate>() => readonly [{
878
928
  readonly role: "putFixtureById";
879
929
  readonly name: "Update fixture";
880
930
  readonly response_200: {
881
- fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8>;
931
+ fixture: import("./inputsDefault").FixtureBase<TId_9, TDate_9>;
882
932
  message: string;
883
933
  };
884
934
  readonly response_404: {
885
- fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8> | null;
886
935
  message: string;
887
936
  };
888
937
  readonly response_500: {
@@ -895,11 +944,10 @@ export declare const apis: <TId, TDate>() => readonly [{
895
944
  readonly role: "deleteFixtureById";
896
945
  readonly name: "Delete fixture";
897
946
  readonly response_200: {
898
- fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8>;
947
+ fixture: import("./inputsDefault").FixtureBase<TId_9, TDate_9>;
899
948
  message: string;
900
949
  };
901
950
  readonly response_404: {
902
- fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8> | null;
903
951
  message: string;
904
952
  };
905
953
  readonly response_500: {
@@ -912,7 +960,7 @@ export declare const apis: <TId, TDate>() => readonly [{
912
960
  readonly role: "postGroup";
913
961
  readonly name: "Create group";
914
962
  readonly response_201: {
915
- group: import("./inputsDefault").GroupBase<TId_9, TDate_9>;
963
+ group: import("./inputsDefault").GroupBase<TId_10, TDate_10>;
916
964
  message: string;
917
965
  };
918
966
  readonly response_500: {
@@ -925,7 +973,7 @@ export declare const apis: <TId, TDate>() => readonly [{
925
973
  readonly role: "getGroups";
926
974
  readonly name: "Get groups";
927
975
  readonly response_200: {
928
- groups: import("./inputsDefault").GroupBase<TId_9, TDate_9>[];
976
+ groups: import("./inputsDefault").GroupBase<TId_10, TDate_10>[];
929
977
  count: number;
930
978
  };
931
979
  readonly response_500: {
@@ -938,12 +986,11 @@ export declare const apis: <TId, TDate>() => readonly [{
938
986
  readonly role: "getGroupById";
939
987
  readonly name: "Get group";
940
988
  readonly response_200: {
941
- group: import("./inputsDefault").GroupBase<TId_9, TDate_9> | null;
989
+ group: import("./inputsDefault").GroupBase<TId_10, TDate_10> | null;
942
990
  message: string;
943
991
  };
944
992
  readonly response_404: {
945
993
  message: string;
946
- error: string;
947
994
  };
948
995
  }, {
949
996
  readonly method: "put";
@@ -951,13 +998,11 @@ export declare const apis: <TId, TDate>() => readonly [{
951
998
  readonly role: "putGroupById";
952
999
  readonly name: "Update group";
953
1000
  readonly response_200: {
954
- group: import("./inputsDefault").GroupBase<TId_9, TDate_9>;
1001
+ group: import("./inputsDefault").GroupBase<TId_10, TDate_10>;
955
1002
  message: string;
956
1003
  };
957
1004
  readonly response_404: {
958
- group?: import("./inputsDefault").GroupBase<TId_9, TDate_9> | null;
959
1005
  message: string;
960
- error?: string;
961
1006
  };
962
1007
  readonly response_500: {
963
1008
  message: string;
@@ -969,11 +1014,10 @@ export declare const apis: <TId, TDate>() => readonly [{
969
1014
  readonly role: "deleteGroupById";
970
1015
  readonly name: "Delete group";
971
1016
  readonly response_200: {
972
- group: import("./inputsDefault").GroupBase<TId_9, TDate_9>;
1017
+ group: import("./inputsDefault").GroupBase<TId_10, TDate_10>;
973
1018
  message: string;
974
1019
  };
975
1020
  readonly response_404: {
976
- group?: import("./inputsDefault").GroupBase<TId_9, TDate_9> | null;
977
1021
  message: string;
978
1022
  };
979
1023
  readonly response_500: {
@@ -986,7 +1030,7 @@ export declare const apis: <TId, TDate>() => readonly [{
986
1030
  readonly role: "postJob";
987
1031
  readonly name: "Create job";
988
1032
  readonly response_201: {
989
- job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
1033
+ job: import("./inputsDefault").JobBase<TId_11, TDate_11>;
990
1034
  message: string;
991
1035
  };
992
1036
  readonly response_500: {
@@ -999,7 +1043,7 @@ export declare const apis: <TId, TDate>() => readonly [{
999
1043
  readonly role: "postJobMany";
1000
1044
  readonly name: "Create many jobs";
1001
1045
  readonly response_201: {
1002
- jobs: import("./inputsDefault").JobBase<TId_10, TDate_10>[];
1046
+ jobs: import("./inputsDefault").JobBase<TId_11, TDate_11>[];
1003
1047
  message: string;
1004
1048
  };
1005
1049
  readonly response_500: {
@@ -1012,7 +1056,7 @@ export declare const apis: <TId, TDate>() => readonly [{
1012
1056
  readonly role: "postJobStartById";
1013
1057
  readonly name: "Run job by ID";
1014
1058
  readonly response_201: {
1015
- job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
1059
+ job: import("./inputsDefault").JobBase<TId_11, TDate_11>;
1016
1060
  message: string;
1017
1061
  };
1018
1062
  readonly response_404: {
@@ -1028,7 +1072,7 @@ export declare const apis: <TId, TDate>() => readonly [{
1028
1072
  readonly role: "getJobs";
1029
1073
  readonly name: "Get jobs";
1030
1074
  readonly response_200: {
1031
- jobs: import("./inputsDefault").JobBase<TId_10, TDate_10>[];
1075
+ jobs: import("./inputsDefault").JobBase<TId_11, TDate_11>[];
1032
1076
  count: number;
1033
1077
  };
1034
1078
  readonly response_500: {
@@ -1041,12 +1085,11 @@ export declare const apis: <TId, TDate>() => readonly [{
1041
1085
  readonly role: "getJobById";
1042
1086
  readonly name: "Get job";
1043
1087
  readonly response_200: {
1044
- job: import("./inputsDefault").JobBase<TId_10, TDate_10> | null;
1088
+ job: import("./inputsDefault").JobBase<TId_11, TDate_11> | null;
1045
1089
  message: string;
1046
1090
  };
1047
1091
  readonly response_404: {
1048
1092
  message: string;
1049
- error: string;
1050
1093
  };
1051
1094
  }, {
1052
1095
  readonly method: "get";
@@ -1054,20 +1097,18 @@ export declare const apis: <TId, TDate>() => readonly [{
1054
1097
  readonly role: "getJobDetailsById";
1055
1098
  readonly name: "Get job details";
1056
1099
  readonly response_200: {
1057
- job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
1058
- campaign: import("./inputsDefault").CampaignBase<TId_10, TDate_10> | null;
1059
- group: import("./inputsDefault").GroupBase<TId_10, TDate_10> | null;
1060
- template: import("./inputsDefault").GroupBase<TId_10, TDate_10> | null;
1100
+ job: import("./inputsDefault").JobBase<TId_11, TDate_11>;
1101
+ campaign: import("./inputsDefault").CampaignBase<TId_11, TDate_11> | null;
1102
+ group: import("./inputsDefault").GroupBase<TId_11, TDate_11> | null;
1103
+ template: import("./inputsDefault").GroupBase<TId_11, TDate_11> | null;
1061
1104
  message: string;
1062
1105
  };
1063
1106
  readonly response_400: {
1064
- job?: import("./inputsDefault").JobBase<TId_10, TDate_10> | null;
1107
+ job?: import("./inputsDefault").JobBase<TId_11, TDate_11> | null;
1065
1108
  message: string;
1066
1109
  };
1067
1110
  readonly response_404: {
1068
- job?: import("./inputsDefault").JobBase<TId_10, TDate_10> | null;
1069
1111
  message: string;
1070
- error: string;
1071
1112
  };
1072
1113
  }, {
1073
1114
  readonly method: "put";
@@ -1075,11 +1116,10 @@ export declare const apis: <TId, TDate>() => readonly [{
1075
1116
  readonly role: "putJobById";
1076
1117
  readonly name: "Update job";
1077
1118
  readonly response_200: {
1078
- job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
1119
+ job: import("./inputsDefault").JobBase<TId_11, TDate_11>;
1079
1120
  message: string;
1080
1121
  };
1081
1122
  readonly response_404: {
1082
- job?: import("./inputsDefault").JobBase<TId_10, TDate_10> | null;
1083
1123
  message: string;
1084
1124
  };
1085
1125
  readonly response_500: {
@@ -1092,11 +1132,10 @@ export declare const apis: <TId, TDate>() => readonly [{
1092
1132
  readonly role: "deleteJobById";
1093
1133
  readonly name: "Delete job";
1094
1134
  readonly response_200: {
1095
- job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
1135
+ job: import("./inputsDefault").JobBase<TId_11, TDate_11>;
1096
1136
  message: string;
1097
1137
  };
1098
1138
  readonly response_404: {
1099
- job?: import("./inputsDefault").JobBase<TId_10, TDate_10> | null;
1100
1139
  message: string;
1101
1140
  };
1102
1141
  readonly response_500: {
@@ -1109,7 +1148,7 @@ export declare const apis: <TId, TDate>() => readonly [{
1109
1148
  readonly role: "getLogs";
1110
1149
  readonly name: "Get logs";
1111
1150
  readonly response_200: {
1112
- logs: import("./inputsDefault").LogBase<TId_11, TDate_11>[];
1151
+ logs: import("./inputsDefault").LogBase<TId_12, TDate_12>[];
1113
1152
  count: number;
1114
1153
  };
1115
1154
  readonly response_500: {
@@ -1134,11 +1173,10 @@ export declare const apis: <TId, TDate>() => readonly [{
1134
1173
  readonly role: "deleteLogById";
1135
1174
  readonly name: "Delete log by ID";
1136
1175
  readonly response_200: {
1137
- log: import("./inputsDefault").LogBase<TId_11, TDate_11>;
1176
+ log: import("./inputsDefault").LogBase<TId_12, TDate_12>;
1138
1177
  message: string;
1139
1178
  };
1140
1179
  readonly response_404: {
1141
- log: import("./inputsDefault").LogBase<TId_11, TDate_11> | null;
1142
1180
  message: string;
1143
1181
  };
1144
1182
  readonly response_500: {
@@ -1151,7 +1189,7 @@ export declare const apis: <TId, TDate>() => readonly [{
1151
1189
  readonly role: "postNotification";
1152
1190
  readonly name: "Create notification";
1153
1191
  readonly response_201: {
1154
- notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12>;
1192
+ notification: import("./inputsDefault").NotificationBase<TId_13, TDate_13>;
1155
1193
  message: string;
1156
1194
  };
1157
1195
  readonly response_500: {
@@ -1177,7 +1215,7 @@ export declare const apis: <TId, TDate>() => readonly [{
1177
1215
  readonly role: "getNotifications";
1178
1216
  readonly name: "Get notifications";
1179
1217
  readonly response_200: {
1180
- notifications: import("./inputsDefault").NotificationBase<TId_12, TDate_12>[];
1218
+ notifications: import("./inputsDefault").NotificationBase<TId_13, TDate_13>[];
1181
1219
  count: number;
1182
1220
  unreadCount: number;
1183
1221
  };
@@ -1191,12 +1229,11 @@ export declare const apis: <TId, TDate>() => readonly [{
1191
1229
  readonly role: "getNotificationById";
1192
1230
  readonly name: "Get notification by ID";
1193
1231
  readonly response_200: {
1194
- notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12> | null;
1232
+ notification: import("./inputsDefault").NotificationBase<TId_13, TDate_13> | null;
1195
1233
  message: string;
1196
1234
  };
1197
1235
  readonly response_404: {
1198
1236
  message: string;
1199
- error: string;
1200
1237
  };
1201
1238
  }, {
1202
1239
  readonly method: "put";
@@ -1204,11 +1241,10 @@ export declare const apis: <TId, TDate>() => readonly [{
1204
1241
  readonly role: "putNotificationById";
1205
1242
  readonly name: "Update notification";
1206
1243
  readonly response_200: {
1207
- notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12>;
1244
+ notification: import("./inputsDefault").NotificationBase<TId_13, TDate_13>;
1208
1245
  message: string;
1209
1246
  };
1210
1247
  readonly response_404: {
1211
- notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12> | null;
1212
1248
  message: string;
1213
1249
  };
1214
1250
  readonly response_500: {
@@ -1221,11 +1257,10 @@ export declare const apis: <TId, TDate>() => readonly [{
1221
1257
  readonly role: "deleteNotificationById";
1222
1258
  readonly name: "Delete notification";
1223
1259
  readonly response_200: {
1224
- notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12>;
1260
+ notification: import("./inputsDefault").NotificationBase<TId_13, TDate_13>;
1225
1261
  message: string;
1226
1262
  };
1227
1263
  readonly response_404: {
1228
- notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12> | null;
1229
1264
  message: string;
1230
1265
  };
1231
1266
  readonly response_500: {
@@ -1238,7 +1273,7 @@ export declare const apis: <TId, TDate>() => readonly [{
1238
1273
  readonly role: "postPage";
1239
1274
  readonly name: "Create page";
1240
1275
  readonly response_201: {
1241
- page: import("./inputsDefault").PageBase<TId_13, TDate_13>;
1276
+ page: import("./inputsDefault").PageBase<TId_14, TDate_14>;
1242
1277
  message: string;
1243
1278
  };
1244
1279
  readonly response_500: {
@@ -1252,7 +1287,6 @@ export declare const apis: <TId, TDate>() => readonly [{
1252
1287
  readonly name: "Trigger page by ID";
1253
1288
  readonly response_200: Record<string, never>;
1254
1289
  readonly response_404: {
1255
- page: import("./inputsDefault").PageBase<TId_13, TDate_13> | null;
1256
1290
  message: string;
1257
1291
  };
1258
1292
  readonly response_500: {
@@ -1265,7 +1299,7 @@ export declare const apis: <TId, TDate>() => readonly [{
1265
1299
  readonly role: "getPages";
1266
1300
  readonly name: "Get pages";
1267
1301
  readonly response_200: {
1268
- pages: import("./inputsDefault").PageBase<TId_13, TDate_13>[];
1302
+ pages: import("./inputsDefault").PageBase<TId_14, TDate_14>[];
1269
1303
  count: number;
1270
1304
  };
1271
1305
  readonly response_500: {
@@ -1278,12 +1312,11 @@ export declare const apis: <TId, TDate>() => readonly [{
1278
1312
  readonly role: "getPageById";
1279
1313
  readonly name: "Get page by ID";
1280
1314
  readonly response_200: {
1281
- page: import("./inputsDefault").PageBase<TId_13, TDate_13> | null;
1315
+ page: import("./inputsDefault").PageBase<TId_14, TDate_14> | null;
1282
1316
  message: string;
1283
1317
  };
1284
1318
  readonly response_404: {
1285
1319
  message: string;
1286
- error: string;
1287
1320
  };
1288
1321
  }, {
1289
1322
  readonly method: "put";
@@ -1291,11 +1324,10 @@ export declare const apis: <TId, TDate>() => readonly [{
1291
1324
  readonly role: "putPageById";
1292
1325
  readonly name: "Update page";
1293
1326
  readonly response_200: {
1294
- page: import("./inputsDefault").PageBase<TId_13, TDate_13>;
1327
+ page: import("./inputsDefault").PageBase<TId_14, TDate_14>;
1295
1328
  message: string;
1296
1329
  };
1297
1330
  readonly response_404: {
1298
- page: import("./inputsDefault").PageBase<TId_13, TDate_13> | null;
1299
1331
  message: string;
1300
1332
  };
1301
1333
  readonly response_500: {
@@ -1308,11 +1340,10 @@ export declare const apis: <TId, TDate>() => readonly [{
1308
1340
  readonly role: "deletePageById";
1309
1341
  readonly name: "Delete page";
1310
1342
  readonly response_200: {
1311
- page: import("./inputsDefault").PageBase<TId_13, TDate_13>;
1343
+ page: import("./inputsDefault").PageBase<TId_14, TDate_14>;
1312
1344
  message: string;
1313
1345
  };
1314
1346
  readonly response_404: {
1315
- page: import("./inputsDefault").PageBase<TId_13, TDate_13> | null;
1316
1347
  message: string;
1317
1348
  };
1318
1349
  readonly response_500: {
@@ -1325,7 +1356,7 @@ export declare const apis: <TId, TDate>() => readonly [{
1325
1356
  readonly role: "postProduct";
1326
1357
  readonly name: "Create product";
1327
1358
  readonly response_201: {
1328
- product: import("./inputsDefault").ProductBase<TId_14, TDate_14>;
1359
+ product: import("./inputsDefault").ProductBase<TId_15, TDate_15>;
1329
1360
  message: string;
1330
1361
  };
1331
1362
  readonly response_500: {
@@ -1338,7 +1369,7 @@ export declare const apis: <TId, TDate>() => readonly [{
1338
1369
  readonly role: "getProducts";
1339
1370
  readonly name: "Get products";
1340
1371
  readonly response_200: {
1341
- products: import("./inputsDefault").ProductBase<TId_14, TDate_14>[];
1372
+ products: import("./inputsDefault").ProductBase<TId_15, TDate_15>[];
1342
1373
  count: number;
1343
1374
  };
1344
1375
  readonly response_500: {
@@ -1351,12 +1382,11 @@ export declare const apis: <TId, TDate>() => readonly [{
1351
1382
  readonly role: "getProductById";
1352
1383
  readonly name: "Get product";
1353
1384
  readonly response_200: {
1354
- product: import("./inputsDefault").ProductBase<TId_14, TDate_14> | null;
1385
+ product: import("./inputsDefault").ProductBase<TId_15, TDate_15> | null;
1355
1386
  message: string;
1356
1387
  };
1357
1388
  readonly response_404: {
1358
1389
  message: string;
1359
- error: string;
1360
1390
  };
1361
1391
  }, {
1362
1392
  readonly method: "put";
@@ -1364,11 +1394,10 @@ export declare const apis: <TId, TDate>() => readonly [{
1364
1394
  readonly role: "putProductById";
1365
1395
  readonly name: "Update product";
1366
1396
  readonly response_200: {
1367
- product: import("./inputsDefault").ProductBase<TId_14, TDate_14>;
1397
+ product: import("./inputsDefault").ProductBase<TId_15, TDate_15>;
1368
1398
  message: string;
1369
1399
  };
1370
1400
  readonly response_404: {
1371
- product: import("./inputsDefault").ProductBase<TId_14, TDate_14> | null;
1372
1401
  message: string;
1373
1402
  };
1374
1403
  readonly response_500: {
@@ -1381,11 +1410,10 @@ export declare const apis: <TId, TDate>() => readonly [{
1381
1410
  readonly role: "deleteProductById";
1382
1411
  readonly name: "Delete product";
1383
1412
  readonly response_200: {
1384
- product: import("./inputsDefault").ProductBase<TId_14, TDate_14>;
1413
+ product: import("./inputsDefault").ProductBase<TId_15, TDate_15>;
1385
1414
  message: string;
1386
1415
  };
1387
1416
  readonly response_404: {
1388
- product: import("./inputsDefault").ProductBase<TId_14, TDate_14> | null;
1389
1417
  message: string;
1390
1418
  };
1391
1419
  readonly response_500: {
@@ -1398,7 +1426,7 @@ export declare const apis: <TId, TDate>() => readonly [{
1398
1426
  readonly role: "postProspect";
1399
1427
  readonly name: "Create prospect";
1400
1428
  readonly response_201: {
1401
- prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
1429
+ prospect: import("./inputsDefault").ProspectBase<TId_16, TDate_16>;
1402
1430
  message: string;
1403
1431
  };
1404
1432
  readonly response_500: {
@@ -1411,7 +1439,7 @@ export declare const apis: <TId, TDate>() => readonly [{
1411
1439
  readonly role: "postProspectSubscribe";
1412
1440
  readonly name: "Subscribe prospect";
1413
1441
  readonly response_201: {
1414
- prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
1442
+ prospect: import("./inputsDefault").ProspectBase<TId_16, TDate_16>;
1415
1443
  message: string;
1416
1444
  };
1417
1445
  readonly response_500: {
@@ -1424,7 +1452,7 @@ export declare const apis: <TId, TDate>() => readonly [{
1424
1452
  readonly role: "getProspects";
1425
1453
  readonly name: "Get prospects";
1426
1454
  readonly response_200: {
1427
- prospects: import("./inputsDefault").ProspectBase<TId_15, TDate_15>[];
1455
+ prospects: import("./inputsDefault").ProspectBase<TId_16, TDate_16>[];
1428
1456
  count: number;
1429
1457
  new: number;
1430
1458
  };
@@ -1450,12 +1478,11 @@ export declare const apis: <TId, TDate>() => readonly [{
1450
1478
  readonly role: "getProspectById";
1451
1479
  readonly name: "Get prospect by ID";
1452
1480
  readonly response_200: {
1453
- prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15> | null;
1481
+ prospect: import("./inputsDefault").ProspectBase<TId_16, TDate_16> | null;
1454
1482
  message: string;
1455
1483
  };
1456
1484
  readonly response_404: {
1457
1485
  message: string;
1458
- error: string;
1459
1486
  };
1460
1487
  }, {
1461
1488
  readonly method: "get";
@@ -1480,11 +1507,10 @@ export declare const apis: <TId, TDate>() => readonly [{
1480
1507
  readonly role: "putProspectById";
1481
1508
  readonly name: "Update prospect";
1482
1509
  readonly response_200: {
1483
- prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
1510
+ prospect: import("./inputsDefault").ProspectBase<TId_16, TDate_16>;
1484
1511
  message: string;
1485
1512
  };
1486
1513
  readonly response_404: {
1487
- prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15> | null;
1488
1514
  message: string;
1489
1515
  };
1490
1516
  readonly response_500: {
@@ -1497,11 +1523,10 @@ export declare const apis: <TId, TDate>() => readonly [{
1497
1523
  readonly role: "putProspectOpenedById";
1498
1524
  readonly name: "Mark prospect opened";
1499
1525
  readonly response_200: {
1500
- prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
1526
+ prospect: import("./inputsDefault").ProspectBase<TId_16, TDate_16>;
1501
1527
  message: string;
1502
1528
  };
1503
1529
  readonly response_404: {
1504
- prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15> | null;
1505
1530
  message: string;
1506
1531
  };
1507
1532
  readonly response_500: {
@@ -1514,11 +1539,10 @@ export declare const apis: <TId, TDate>() => readonly [{
1514
1539
  readonly role: "deleteProspectById";
1515
1540
  readonly name: "Delete prospect";
1516
1541
  readonly response_200: {
1517
- prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
1542
+ prospect: import("./inputsDefault").ProspectBase<TId_16, TDate_16>;
1518
1543
  message: string;
1519
1544
  };
1520
1545
  readonly response_404: {
1521
- prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15> | null;
1522
1546
  message: string;
1523
1547
  };
1524
1548
  readonly response_500: {
@@ -1530,386 +1554,1273 @@ export declare const apis: <TId, TDate>() => readonly [{
1530
1554
  readonly path: "/report";
1531
1555
  readonly role: "postReport";
1532
1556
  readonly name: "Create report";
1557
+ readonly response_201: {
1558
+ report: import("./inputsDefault").ReportBase<TId_17, TDate_17>;
1559
+ message: string;
1560
+ };
1561
+ readonly response_500: {
1562
+ message: string;
1563
+ error: string;
1564
+ };
1533
1565
  }, {
1534
1566
  readonly method: "get";
1535
1567
  readonly path: "/report";
1536
1568
  readonly role: "getReports";
1537
1569
  readonly name: "Get reports";
1570
+ readonly response_200: {
1571
+ reports: import("./inputsDefault").ReportBase<TId_17, TDate_17>[];
1572
+ count: number;
1573
+ };
1574
+ readonly response_500: {
1575
+ message: string;
1576
+ error: string;
1577
+ };
1538
1578
  }, {
1539
1579
  readonly method: "get";
1540
1580
  readonly path: "/report/:id";
1541
1581
  readonly role: "getReportById";
1542
1582
  readonly name: "Get report by ID";
1583
+ readonly response_200: {
1584
+ report: import("./inputsDefault").ReportBase<TId_17, TDate_17> | null;
1585
+ message: string;
1586
+ };
1587
+ readonly response_404: {
1588
+ message: string;
1589
+ };
1543
1590
  }, {
1544
1591
  readonly method: "put";
1545
1592
  readonly path: "/report/:id";
1546
1593
  readonly role: "putReportById";
1547
1594
  readonly name: "Update report";
1595
+ readonly response_200: {
1596
+ report: import("./inputsDefault").ReportBase<TId_17, TDate_17>;
1597
+ message: string;
1598
+ };
1599
+ readonly response_404: {
1600
+ message: string;
1601
+ };
1602
+ readonly response_500: {
1603
+ message: string;
1604
+ error: string;
1605
+ };
1548
1606
  }, {
1549
1607
  readonly method: "delete";
1550
1608
  readonly path: "/report/:id";
1551
1609
  readonly role: "deleteReportById";
1552
1610
  readonly name: "Delete report";
1611
+ readonly response_200: {
1612
+ report: import("./inputsDefault").ReportBase<TId_17, TDate_17>;
1613
+ message: string;
1614
+ };
1615
+ readonly response_404: {
1616
+ message: string;
1617
+ };
1618
+ readonly response_500: {
1619
+ message: string;
1620
+ error: string;
1621
+ };
1553
1622
  }, {
1554
1623
  readonly method: "post";
1555
1624
  readonly path: "/review";
1556
1625
  readonly role: "postReview";
1557
1626
  readonly name: "Create review";
1627
+ readonly response_201: {
1628
+ review: import("./inputsDefault").ReviewBase<TId_18, TDate_18>;
1629
+ message: string;
1630
+ };
1631
+ readonly response_500: {
1632
+ message: string;
1633
+ error: string;
1634
+ };
1558
1635
  }, {
1559
1636
  readonly method: "post";
1560
1637
  readonly path: "/reviews";
1561
1638
  readonly role: "postReviews";
1562
1639
  readonly name: "Bulk import reviews";
1640
+ readonly response_201: {
1641
+ message: string;
1642
+ };
1643
+ readonly response_500: {
1644
+ message: string;
1645
+ error: string;
1646
+ };
1563
1647
  }, {
1564
1648
  readonly method: "get";
1565
1649
  readonly path: "/review";
1566
1650
  readonly role: "getReviews";
1567
1651
  readonly name: "Get reviews";
1652
+ readonly response_200: {
1653
+ reviews: import("./inputsDefault").ReviewBase<TId_18, TDate_18>[];
1654
+ count: number;
1655
+ };
1656
+ readonly response_500: {
1657
+ message: string;
1658
+ error: string;
1659
+ };
1568
1660
  }, {
1569
1661
  readonly method: "get";
1570
1662
  readonly path: "/review/:id";
1571
1663
  readonly role: "getReviewById";
1572
1664
  readonly name: "Get review by ID";
1665
+ readonly response_200: {
1666
+ review: import("./inputsDefault").ReviewBase<TId_18, TDate_18> | null;
1667
+ message: string;
1668
+ };
1669
+ readonly response_404: {
1670
+ message: string;
1671
+ };
1573
1672
  }, {
1574
1673
  readonly method: "get";
1575
1674
  readonly path: "/review/count/:id";
1576
1675
  readonly role: "getReviewCountById";
1577
1676
  readonly name: "Get review count & rating";
1677
+ readonly response_200: {
1678
+ count: number;
1679
+ rating: number;
1680
+ };
1681
+ readonly response_500: {
1682
+ message: string;
1683
+ error: string;
1684
+ };
1578
1685
  }, {
1579
1686
  readonly method: "put";
1580
1687
  readonly path: "/review/:id";
1581
1688
  readonly role: "putReviewById";
1582
1689
  readonly name: "Update review";
1690
+ readonly response_200: {
1691
+ review: import("./inputsDefault").ReviewBase<TId_18, TDate_18>;
1692
+ message: string;
1693
+ };
1694
+ readonly response_404: {
1695
+ message: string;
1696
+ };
1697
+ readonly response_500: {
1698
+ message: string;
1699
+ error: string;
1700
+ };
1583
1701
  }, {
1584
1702
  readonly method: "delete";
1585
1703
  readonly path: "/review/:id";
1586
1704
  readonly role: "deleteReviewById";
1587
1705
  readonly name: "Delete review";
1706
+ readonly response_200: {
1707
+ review: import("./inputsDefault").ReviewBase<TId_18, TDate_18>;
1708
+ message: string;
1709
+ };
1710
+ readonly response_404: {
1711
+ message: string;
1712
+ };
1713
+ readonly response_500: {
1714
+ message: string;
1715
+ error: string;
1716
+ };
1588
1717
  }, {
1589
1718
  readonly method: "post";
1590
1719
  readonly path: "/role";
1591
1720
  readonly role: "postRole";
1592
1721
  readonly name: "Create role";
1593
- }, {
1594
- readonly method: "get";
1722
+ readonly response_201: {
1723
+ role: import("./inputsDefault").RoleBase<TId_19, TDate_19>;
1724
+ message: string;
1725
+ };
1726
+ readonly response_500: {
1727
+ message: string;
1728
+ error: string;
1729
+ };
1730
+ }, {
1731
+ readonly method: "get";
1595
1732
  readonly path: "/role";
1596
1733
  readonly role: "getRoles";
1597
1734
  readonly name: "Get roles";
1735
+ readonly response_200: {
1736
+ roles: import("./inputsDefault").RoleBase<TId_19, TDate_19>[];
1737
+ count: number;
1738
+ };
1739
+ readonly response_500: {
1740
+ message: string;
1741
+ error: string;
1742
+ };
1598
1743
  }, {
1599
1744
  readonly method: "get";
1600
1745
  readonly path: "/role/:id";
1601
1746
  readonly role: "getRoleById";
1602
1747
  readonly name: "Get role";
1748
+ readonly response_200: {
1749
+ role: import("./inputsDefault").RoleBase<TId_19, TDate_19> | null;
1750
+ message: string;
1751
+ };
1752
+ readonly response_404: {
1753
+ message: string;
1754
+ };
1603
1755
  }, {
1604
1756
  readonly method: "put";
1605
1757
  readonly path: "/role/:id";
1606
1758
  readonly role: "putRoleById";
1607
1759
  readonly name: "Update role";
1760
+ readonly response_200: {
1761
+ role: import("./inputsDefault").RoleBase<TId_19, TDate_19>;
1762
+ message: string;
1763
+ };
1764
+ readonly response_404: {
1765
+ message: string;
1766
+ };
1608
1767
  }, {
1609
1768
  readonly method: "delete";
1610
1769
  readonly path: "/role/:id";
1611
1770
  readonly role: "deleteRoleById";
1612
1771
  readonly name: "Delete role";
1772
+ readonly response_200: {
1773
+ role: import("./inputsDefault").RoleBase<TId_19, TDate_19>;
1774
+ message: string;
1775
+ };
1776
+ readonly response_404: {
1777
+ message: string;
1778
+ };
1779
+ readonly response_500: {
1780
+ message: string;
1781
+ error: string;
1782
+ };
1613
1783
  }, {
1614
1784
  readonly method: "post";
1615
1785
  readonly path: "/sale";
1616
1786
  readonly role: "postSale";
1617
1787
  readonly name: "Create sale";
1788
+ readonly response_201: {
1789
+ sale: import("./inputsDefault").SaleBase<TId_20, TDate_20>;
1790
+ message: string;
1791
+ };
1792
+ readonly response_500: {
1793
+ message: string;
1794
+ error: string;
1795
+ };
1618
1796
  }, {
1619
1797
  readonly method: "get";
1620
1798
  readonly path: "/sale/user";
1621
1799
  readonly role: "getSalesUser";
1622
1800
  readonly name: "Get sales for user";
1801
+ readonly response_200: {
1802
+ sales: import("./inputsDefault").SaleBase<TId_20, TDate_20>[];
1803
+ count: number;
1804
+ };
1805
+ readonly response_500: {
1806
+ message: string;
1807
+ error: string;
1808
+ };
1623
1809
  }, {
1624
1810
  readonly method: "get";
1625
1811
  readonly path: "/sale";
1626
1812
  readonly role: "getSales";
1627
1813
  readonly name: "Get sales";
1814
+ readonly response_200: {
1815
+ sales: import("./inputsDefault").SaleBase<TId_20, TDate_20>[];
1816
+ count: number;
1817
+ };
1818
+ readonly response_500: {
1819
+ message: string;
1820
+ error: string;
1821
+ };
1628
1822
  }, {
1629
1823
  readonly method: "get";
1630
1824
  readonly path: "/sale/:id";
1631
1825
  readonly role: "getSaleById";
1632
1826
  readonly name: "Get sale by ID";
1827
+ readonly response_200: {
1828
+ sale: import("./inputsDefault").SaleBase<TId_20, TDate_20> | null;
1829
+ message: string;
1830
+ };
1831
+ readonly response_404: {
1832
+ message: string;
1833
+ };
1633
1834
  }, {
1634
1835
  readonly method: "get";
1635
1836
  readonly path: "/sale/insight/:period/:date";
1636
1837
  readonly role: "getSaleInsightByPeriodDate";
1637
1838
  readonly name: "Get sale insights";
1839
+ readonly response_200: {
1840
+ period: string;
1841
+ salesData: number[];
1842
+ expensesData: number[];
1843
+ totalSales: number;
1844
+ totalExpenses: number;
1845
+ numberOfSalesData: number[];
1846
+ numberOfExpensesData: number[];
1847
+ growthData: number[];
1848
+ numberOfSales: number;
1849
+ numberOfExpenses: number;
1850
+ };
1851
+ readonly response_400: {
1852
+ message: string;
1853
+ };
1854
+ readonly response_500: {
1855
+ message: string;
1856
+ error: string;
1857
+ };
1638
1858
  }, {
1639
1859
  readonly method: "put";
1640
1860
  readonly path: "/sale/:id";
1641
1861
  readonly role: "putSaleById";
1642
1862
  readonly name: "Update sale";
1863
+ readonly response_200: {
1864
+ sale: import("./inputsDefault").SaleBase<TId_20, TDate_20>;
1865
+ message: string;
1866
+ };
1867
+ readonly response_404: {
1868
+ message: string;
1869
+ };
1870
+ readonly response_500: {
1871
+ message: string;
1872
+ error: string;
1873
+ };
1643
1874
  }, {
1644
1875
  readonly method: "delete";
1645
1876
  readonly path: "/sale/:id";
1646
1877
  readonly role: "deleteSaleById";
1647
1878
  readonly name: "Delete sale";
1879
+ readonly response_200: {
1880
+ sale: import("./inputsDefault").SaleBase<TId_20, TDate_20>;
1881
+ message: string;
1882
+ };
1883
+ readonly response_404: {
1884
+ message: string;
1885
+ };
1886
+ readonly response_500: {
1887
+ message: string;
1888
+ error: string;
1889
+ };
1648
1890
  }, {
1649
1891
  readonly method: "post";
1650
1892
  readonly path: "/season";
1651
1893
  readonly role: "postSeason";
1652
1894
  readonly name: "Create season";
1895
+ readonly response_201: {
1896
+ season: import("./inputsDefault").SeasonBase<TId_21, TDate_21>;
1897
+ message: string;
1898
+ };
1899
+ readonly response_500: {
1900
+ message: string;
1901
+ error: string;
1902
+ };
1653
1903
  }, {
1654
1904
  readonly method: "get";
1655
1905
  readonly path: "/season";
1656
1906
  readonly role: "getSeasons";
1657
1907
  readonly name: "Get seasons";
1908
+ readonly response_200: {
1909
+ seasons: import("./inputsDefault").SeasonBase<TId_21, TDate_21>[];
1910
+ count: number;
1911
+ };
1912
+ readonly response_500: {
1913
+ message: string;
1914
+ error: string;
1915
+ };
1658
1916
  }, {
1659
1917
  readonly method: "get";
1660
1918
  readonly path: "/season/:id";
1661
1919
  readonly role: "getSeasonById";
1662
1920
  readonly name: "Get season";
1921
+ readonly response_200: {
1922
+ season: import("./inputsDefault").SeasonBase<TId_21, TDate_21> | null;
1923
+ message: string;
1924
+ };
1925
+ readonly response_404: {
1926
+ message: string;
1927
+ };
1663
1928
  }, {
1664
1929
  readonly method: "put";
1665
1930
  readonly path: "/season/:id";
1666
1931
  readonly role: "putSeasonById";
1667
1932
  readonly name: "Update season";
1933
+ readonly response_200: {
1934
+ season: import("./inputsDefault").SeasonBase<TId_21, TDate_21>;
1935
+ message: string;
1936
+ };
1937
+ readonly response_404: {
1938
+ message: string;
1939
+ };
1668
1940
  }, {
1669
1941
  readonly method: "delete";
1670
1942
  readonly path: "/season/:id";
1671
1943
  readonly role: "deleteSeasonById";
1672
1944
  readonly name: "Delete season";
1945
+ readonly response_200: {
1946
+ season: import("./inputsDefault").SeasonBase<TId_21, TDate_21>;
1947
+ message: string;
1948
+ };
1949
+ readonly response_404: {
1950
+ message: string;
1951
+ };
1952
+ readonly response_500: {
1953
+ message: string;
1954
+ error: string;
1955
+ };
1673
1956
  }, {
1674
1957
  readonly method: "get";
1675
1958
  readonly path: "/seat";
1676
1959
  readonly role: "getSeats";
1677
1960
  readonly name: "Get seats";
1961
+ readonly response_200: {
1962
+ seats: {
1963
+ [key: string]: any;
1964
+ _id?: TId_22;
1965
+ name?: string;
1966
+ row?: number;
1967
+ col?: number;
1968
+ }[];
1969
+ count: number;
1970
+ };
1971
+ readonly response_500: {
1972
+ message: string;
1973
+ error: string;
1974
+ };
1678
1975
  }, {
1679
1976
  readonly method: "get";
1680
1977
  readonly path: "/occupance/seasonal/:id";
1681
1978
  readonly role: "getOccupanciesSeasonalById";
1682
1979
  readonly name: "Get seasonal occupancies by season ID";
1980
+ readonly response_200: {
1981
+ occupancies: {
1982
+ [key: string]: any;
1983
+ _id?: TId_22;
1984
+ seatId?: TId_22;
1985
+ fixtureId?: TId_22;
1986
+ sectionId?: TId_22;
1987
+ reserved?: boolean;
1988
+ occupied?: boolean;
1989
+ reservedAt?: TDate_22;
1990
+ }[];
1991
+ message: string;
1992
+ };
1993
+ readonly response_404: {
1994
+ message: string;
1995
+ };
1996
+ readonly response_500: {
1997
+ message: string;
1998
+ error: string;
1999
+ };
1683
2000
  }, {
1684
2001
  readonly method: "get";
1685
2002
  readonly path: "/occupance/user";
1686
2003
  readonly role: "getOccupanciesUser";
1687
2004
  readonly name: "Get occupancies for user";
2005
+ readonly response_200: {
2006
+ occupancies: ({
2007
+ [key: string]: any;
2008
+ _id?: TId_22;
2009
+ seatId?: TId_22;
2010
+ fixtureId?: TId_22;
2011
+ sectionId?: TId_22;
2012
+ reserved?: boolean;
2013
+ occupied?: boolean;
2014
+ reservedAt?: TDate_22;
2015
+ } & {
2016
+ [key: string]: any;
2017
+ _id?: TId_22;
2018
+ name?: string;
2019
+ row?: number;
2020
+ col?: number;
2021
+ } & {
2022
+ seatId?: TId_22;
2023
+ })[];
2024
+ count: number;
2025
+ };
2026
+ readonly response_500: {
2027
+ message: string;
2028
+ error: string;
2029
+ };
1688
2030
  }, {
1689
2031
  readonly method: "get";
1690
2032
  readonly path: "/occupance";
1691
2033
  readonly role: "getOccupancies";
1692
2034
  readonly name: "Get occupancies";
2035
+ readonly response_200: {
2036
+ occupancies: ({
2037
+ [key: string]: any;
2038
+ _id?: TId_22;
2039
+ seatId?: TId_22;
2040
+ fixtureId?: TId_22;
2041
+ sectionId?: TId_22;
2042
+ reserved?: boolean;
2043
+ occupied?: boolean;
2044
+ reservedAt?: TDate_22;
2045
+ } & {
2046
+ [key: string]: any;
2047
+ _id?: TId_22;
2048
+ name?: string;
2049
+ row?: number;
2050
+ col?: number;
2051
+ } & {
2052
+ seatId?: TId_22;
2053
+ })[];
2054
+ count: number;
2055
+ };
2056
+ readonly response_500: {
2057
+ message: string;
2058
+ error: string;
2059
+ };
1693
2060
  }, {
1694
2061
  readonly method: "get";
1695
2062
  readonly path: "/occupance/info/:orderId";
1696
2063
  readonly role: "getOccupanceInfoByOrderId";
1697
2064
  readonly name: "Get occupance info by order id";
2065
+ readonly response_200: {
2066
+ occupancies: ({
2067
+ [key: string]: any;
2068
+ _id?: TId_22;
2069
+ seatId?: TId_22;
2070
+ fixtureId?: TId_22;
2071
+ sectionId?: TId_22;
2072
+ reserved?: boolean;
2073
+ occupied?: boolean;
2074
+ reservedAt?: TDate_22;
2075
+ } & {
2076
+ fixtureId?: any;
2077
+ sectionId?: any;
2078
+ seatId?: any;
2079
+ })[] | null;
2080
+ message: string;
2081
+ };
2082
+ readonly response_400: {
2083
+ message: string;
2084
+ };
2085
+ readonly response_500: {
2086
+ message: string;
2087
+ error: string;
2088
+ };
1698
2089
  }, {
1699
2090
  readonly method: "get";
1700
2091
  readonly path: "/occupance/reserved";
1701
2092
  readonly role: "getOccupanceReserved";
1702
2093
  readonly name: "Get reserved occupancies";
2094
+ readonly response_200: {
2095
+ items: {
2096
+ _id: string;
2097
+ name: string;
2098
+ quantity: number;
2099
+ subscriptionPeriod: string;
2100
+ type: string;
2101
+ price: number;
2102
+ reservedAt?: string;
2103
+ }[];
2104
+ occupancies: ({
2105
+ [key: string]: any;
2106
+ _id?: TId_22;
2107
+ seatId?: TId_22;
2108
+ fixtureId?: TId_22;
2109
+ sectionId?: TId_22;
2110
+ reserved?: boolean;
2111
+ occupied?: boolean;
2112
+ reservedAt?: TDate_22;
2113
+ } & {
2114
+ fixtureId?: any;
2115
+ sectionId?: any;
2116
+ seatId?: any;
2117
+ })[];
2118
+ message: string;
2119
+ };
2120
+ readonly response_400: {
2121
+ message: string;
2122
+ };
2123
+ readonly response_500: {
2124
+ message: string;
2125
+ error: string;
2126
+ };
1703
2127
  }, {
1704
2128
  readonly method: "get";
1705
2129
  readonly path: "/occupance/pdf/:id";
1706
2130
  readonly role: "getOccupancePdfById";
1707
2131
  readonly name: "Get occupance PDF by ID";
2132
+ readonly response_200: {
2133
+ url?: string;
2134
+ message: string;
2135
+ };
2136
+ readonly response_500: {
2137
+ message: string;
2138
+ error: string;
2139
+ };
1708
2140
  }, {
1709
2141
  readonly method: "post";
1710
2142
  readonly path: "/occupance/reserve/:id";
1711
2143
  readonly role: "postOccupanceReserveById";
1712
2144
  readonly name: "Reserve occupance by ID";
2145
+ readonly response_200: {
2146
+ item: {
2147
+ _id: string;
2148
+ name: string;
2149
+ quantity: number;
2150
+ subscriptionPeriod: string;
2151
+ type: string;
2152
+ price: number;
2153
+ reservedAt?: string;
2154
+ };
2155
+ occupance: {
2156
+ [key: string]: any;
2157
+ _id?: TId_22;
2158
+ seatId?: TId_22;
2159
+ fixtureId?: TId_22;
2160
+ sectionId?: TId_22;
2161
+ reserved?: boolean;
2162
+ occupied?: boolean;
2163
+ reservedAt?: TDate_22;
2164
+ };
2165
+ reservedAt: number;
2166
+ message: string;
2167
+ };
2168
+ readonly response_400: {
2169
+ message: string;
2170
+ };
2171
+ readonly response_403: {
2172
+ message: string;
2173
+ };
2174
+ readonly response_404: {
2175
+ message: string;
2176
+ };
2177
+ readonly response_409: {
2178
+ message: string;
2179
+ };
2180
+ readonly response_500: {
2181
+ message: string;
2182
+ };
1713
2183
  }, {
1714
2184
  readonly method: "post";
1715
2185
  readonly path: "/occupance/seasonal/reserve/:id";
1716
2186
  readonly role: "postSeasonalOccupanceReserveById";
1717
2187
  readonly name: "Reserve seasonal occupance by ID";
2188
+ readonly response_200: {
2189
+ item: {
2190
+ _id: string;
2191
+ name: string;
2192
+ quantity: number;
2193
+ subscriptionPeriod: string;
2194
+ type: string;
2195
+ price: number;
2196
+ reservedAt?: string;
2197
+ };
2198
+ occupance: {
2199
+ [key: string]: any;
2200
+ _id?: TId_22;
2201
+ seatId?: TId_22;
2202
+ fixtureId?: TId_22;
2203
+ sectionId?: TId_22;
2204
+ reserved?: boolean;
2205
+ occupied?: boolean;
2206
+ reservedAt?: TDate_22;
2207
+ };
2208
+ reservedAt: number;
2209
+ message: string;
2210
+ };
2211
+ readonly response_403: {
2212
+ message: string;
2213
+ };
2214
+ readonly response_404: {
2215
+ message: string;
2216
+ };
2217
+ readonly response_409: {
2218
+ message: string;
2219
+ };
2220
+ readonly response_500: {
2221
+ message: string;
2222
+ };
1718
2223
  }, {
1719
2224
  readonly method: "post";
1720
2225
  readonly path: "/occupance/free/:id";
1721
2226
  readonly role: "postOccupanceFreeById";
1722
2227
  readonly name: "Free occupance by ID";
2228
+ readonly response_200: {
2229
+ occupance?: {
2230
+ [key: string]: any;
2231
+ _id?: TId_22;
2232
+ seatId?: TId_22;
2233
+ fixtureId?: TId_22;
2234
+ sectionId?: TId_22;
2235
+ reserved?: boolean;
2236
+ occupied?: boolean;
2237
+ reservedAt?: TDate_22;
2238
+ };
2239
+ message: string;
2240
+ };
2241
+ readonly response_400: {
2242
+ message: string;
2243
+ };
2244
+ readonly response_403: {
2245
+ message: string;
2246
+ };
2247
+ readonly response_404: {
2248
+ message: string;
2249
+ };
2250
+ readonly response_409: {
2251
+ message: string;
2252
+ };
1723
2253
  }, {
1724
2254
  readonly method: "post";
1725
2255
  readonly path: "/occupance/seasonal/free/:id";
1726
2256
  readonly role: "postSeasonalOccupanceFreeById";
1727
2257
  readonly name: "Free seasonal occupance by ID";
2258
+ readonly response_200: {
2259
+ occupance?: {
2260
+ [key: string]: any;
2261
+ _id?: TId_22;
2262
+ seatId?: TId_22;
2263
+ fixtureId?: TId_22;
2264
+ sectionId?: TId_22;
2265
+ reserved?: boolean;
2266
+ occupied?: boolean;
2267
+ reservedAt?: TDate_22;
2268
+ };
2269
+ message: string;
2270
+ };
2271
+ readonly response_403: {
2272
+ message: string;
2273
+ };
2274
+ readonly response_404: {
2275
+ message: string;
2276
+ };
2277
+ readonly response_409: {
2278
+ message: string;
2279
+ };
2280
+ readonly response_500: {
2281
+ message: string;
2282
+ };
1728
2283
  }, {
1729
2284
  readonly method: "put";
1730
2285
  readonly path: "/occupance/:id";
1731
2286
  readonly role: "putOccupanceById";
1732
2287
  readonly name: "Update occupance by ID";
2288
+ readonly response_200: {
2289
+ occupance: {
2290
+ [key: string]: any;
2291
+ _id?: TId_22;
2292
+ seatId?: TId_22;
2293
+ fixtureId?: TId_22;
2294
+ sectionId?: TId_22;
2295
+ reserved?: boolean;
2296
+ occupied?: boolean;
2297
+ reservedAt?: TDate_22;
2298
+ };
2299
+ message: string;
2300
+ };
2301
+ readonly response_404: {
2302
+ message: string;
2303
+ };
2304
+ readonly response_500: {
2305
+ message: string;
2306
+ error: string;
2307
+ };
1733
2308
  }, {
1734
2309
  readonly method: "delete";
1735
2310
  readonly path: "/occupance/stale";
1736
2311
  readonly role: "deleteOccupanceStale";
1737
2312
  readonly name: "Delete stale occupancies";
2313
+ readonly response_200: {
2314
+ message: string;
2315
+ };
2316
+ readonly response_500: {
2317
+ message: string;
2318
+ };
1738
2319
  }, {
1739
2320
  readonly method: "post";
1740
2321
  readonly path: "/section";
1741
2322
  readonly role: "postSection";
1742
2323
  readonly name: "Create section";
2324
+ readonly response_201: {
2325
+ section: import("./inputsDefault").SectionBase<TId_23, TDate_23>;
2326
+ message: string;
2327
+ };
2328
+ readonly response_500: {
2329
+ message: string;
2330
+ error: string;
2331
+ };
1743
2332
  }, {
1744
2333
  readonly method: "get";
1745
2334
  readonly path: "/section";
1746
2335
  readonly role: "getSections";
1747
2336
  readonly name: "Get sections";
2337
+ readonly response_200: {
2338
+ sections: import("./inputsDefault").SectionBase<TId_23, TDate_23>[];
2339
+ count: number;
2340
+ };
2341
+ readonly response_500: {
2342
+ message: string;
2343
+ error: string;
2344
+ };
1748
2345
  }, {
1749
2346
  readonly method: "get";
1750
2347
  readonly path: "/section/:id";
1751
2348
  readonly role: "getSectionById";
1752
2349
  readonly name: "Get section by ID";
2350
+ readonly response_200: {
2351
+ section: import("./inputsDefault").SectionBase<TId_23, TDate_23> | null;
2352
+ message: string;
2353
+ };
2354
+ readonly response_404: {
2355
+ message: string;
2356
+ };
1753
2357
  }, {
1754
2358
  readonly method: "put";
1755
2359
  readonly path: "/section/:id";
1756
2360
  readonly role: "putSectionById";
1757
2361
  readonly name: "Update section by ID";
2362
+ readonly response_200: {
2363
+ section: import("./inputsDefault").SectionBase<TId_23, TDate_23>;
2364
+ message: string;
2365
+ };
2366
+ readonly response_404: {
2367
+ message: string;
2368
+ };
2369
+ readonly response_500: {
2370
+ message: string;
2371
+ error: string;
2372
+ };
1758
2373
  }, {
1759
2374
  readonly method: "delete";
1760
2375
  readonly path: "/section/:id";
1761
2376
  readonly role: "deleteSectionById";
1762
2377
  readonly name: "Delete section by ID";
2378
+ readonly response_200: {
2379
+ section: import("./inputsDefault").SectionBase<TId_23, TDate_23>;
2380
+ message: string;
2381
+ };
2382
+ readonly response_404: {
2383
+ message: string;
2384
+ };
2385
+ readonly response_500: {
2386
+ message: string;
2387
+ error: string;
2388
+ };
1763
2389
  }, {
1764
2390
  readonly method: "post";
1765
2391
  readonly path: "/staff/admin";
1766
2392
  readonly role: "postStaffAdmin";
1767
2393
  readonly name: "Create staff as root";
2394
+ readonly response_201: {
2395
+ staff: import("./inputsDefault").StaffBase<TId_24, TDate_24>;
2396
+ message: string;
2397
+ };
2398
+ readonly response_400: {
2399
+ message: string;
2400
+ };
2401
+ readonly response_401: {
2402
+ message: string;
2403
+ };
2404
+ readonly response_500: {
2405
+ message: string;
2406
+ error: string;
2407
+ };
1768
2408
  }, {
1769
2409
  readonly method: "post";
1770
2410
  readonly path: "/staff/token";
1771
2411
  readonly role: "postStaffToken";
1772
2412
  readonly name: "Staff login (token)";
2413
+ readonly response_200: {
2414
+ staff: import("./inputsDefault").StaffBase<TId_24, TDate_24>;
2415
+ message: string;
2416
+ };
2417
+ readonly response_401: {
2418
+ message: string;
2419
+ };
2420
+ readonly response_500: {
2421
+ message: string;
2422
+ error: string;
2423
+ };
1773
2424
  }, {
1774
2425
  readonly method: "post";
1775
2426
  readonly path: "/staff/logout";
1776
2427
  readonly role: "postStaffLogout";
1777
2428
  readonly name: "Staff logout";
2429
+ readonly response_200: {
2430
+ staff: import("./inputsDefault").StaffBase<TId_24, TDate_24>;
2431
+ message: string;
2432
+ };
2433
+ readonly response_500: {
2434
+ message: string;
2435
+ error: string;
2436
+ };
1778
2437
  }, {
1779
2438
  readonly method: "post";
1780
2439
  readonly path: "/staff/logout/all";
1781
2440
  readonly role: "postStaffLogoutAll";
1782
2441
  readonly name: "Staff logout all sessions";
2442
+ readonly response_200: {
2443
+ staff: import("./inputsDefault").StaffBase<TId_24, TDate_24>;
2444
+ message: string;
2445
+ };
2446
+ readonly response_500: {
2447
+ message: string;
2448
+ error: string;
2449
+ };
1783
2450
  }, {
1784
2451
  readonly method: "post";
1785
2452
  readonly path: "/staff/logout/:id";
1786
2453
  readonly role: "postStaffLogoutById";
1787
2454
  readonly name: "Staff logout by session id";
2455
+ readonly response_200: {
2456
+ staff: import("./inputsDefault").StaffBase<TId_24, TDate_24>;
2457
+ message: string;
2458
+ };
2459
+ readonly response_404: {
2460
+ message: string;
2461
+ };
2462
+ readonly response_500: {
2463
+ message: string;
2464
+ error: string;
2465
+ };
1788
2466
  }, {
1789
2467
  readonly method: "get";
1790
2468
  readonly path: "/staff";
1791
2469
  readonly role: "getStaff";
1792
2470
  readonly name: "Get current staff";
2471
+ readonly response_200: {
2472
+ staff: import("./inputsDefault").StaffBase<TId_24, TDate_24>;
2473
+ };
2474
+ readonly response_500: {
2475
+ message: string;
2476
+ error: string;
2477
+ };
1793
2478
  }, {
1794
2479
  readonly method: "get";
1795
2480
  readonly path: "/staff/exists/:email";
1796
2481
  readonly role: "getStaffExistsByEmail";
1797
2482
  readonly name: "Check staff email exists";
2483
+ readonly response_200: Record<string, never>;
2484
+ readonly response_409: {
2485
+ message: string;
2486
+ };
2487
+ readonly response_500: {
2488
+ message: string;
2489
+ error: string;
2490
+ };
1798
2491
  }, {
1799
2492
  readonly method: "get";
1800
2493
  readonly path: "/staff/all";
1801
2494
  readonly role: "getStaffAll";
1802
2495
  readonly name: "Get all staff";
2496
+ readonly response_200: {
2497
+ staff: import("./inputsDefault").StaffBase<TId_24, TDate_24>[];
2498
+ count?: number;
2499
+ };
2500
+ readonly response_500: {
2501
+ message: string;
2502
+ error: string;
2503
+ };
1803
2504
  }, {
1804
2505
  readonly method: "put";
1805
2506
  readonly path: "/staff/account";
1806
2507
  readonly role: "putStaffAccount";
1807
2508
  readonly name: "Update own staff account";
2509
+ readonly response_200: {
2510
+ staff: import("./inputsDefault").StaffBase<TId_24, TDate_24>;
2511
+ message: string;
2512
+ };
2513
+ readonly response_404: {
2514
+ message: string;
2515
+ };
2516
+ readonly response_500: {
2517
+ message: string;
2518
+ error: string;
2519
+ };
1808
2520
  }, {
1809
2521
  readonly method: "put";
1810
2522
  readonly path: "/staff/:id";
1811
2523
  readonly role: "putStaffById";
1812
2524
  readonly name: "Update staff by ID";
2525
+ readonly response_200: {
2526
+ staff: import("./inputsDefault").StaffBase<TId_24, TDate_24>;
2527
+ message: string;
2528
+ };
2529
+ readonly response_404: {
2530
+ message: string;
2531
+ };
2532
+ readonly response_500: {
2533
+ message: string;
2534
+ error: string;
2535
+ };
1813
2536
  }, {
1814
2537
  readonly method: "put";
1815
2538
  readonly path: "/staff/password";
1816
2539
  readonly role: "putStaffPassword";
1817
2540
  readonly name: "Update staff password";
2541
+ readonly response_200: {
2542
+ staff: import("./inputsDefault").StaffBase<TId_24, TDate_24>;
2543
+ message: string;
2544
+ };
2545
+ readonly response_404: {
2546
+ message: string;
2547
+ };
2548
+ readonly response_500: {
2549
+ message: string;
2550
+ error: string;
2551
+ };
1818
2552
  }, {
1819
2553
  readonly method: "delete";
1820
2554
  readonly path: "/staff/:id";
1821
2555
  readonly role: "deleteStaffById";
1822
2556
  readonly name: "Delete staff by ID";
2557
+ readonly response_200: {
2558
+ staff: import("./inputsDefault").StaffBase<TId_24, TDate_24>;
2559
+ message: string;
2560
+ };
2561
+ readonly response_404: {
2562
+ message: string;
2563
+ };
2564
+ readonly response_500: {
2565
+ message: string;
2566
+ error: string;
2567
+ };
1823
2568
  }, {
1824
2569
  readonly method: "post";
1825
2570
  readonly path: "/user";
1826
2571
  readonly role: "postUser";
1827
2572
  readonly name: "Register user";
2573
+ readonly response_201: {
2574
+ message: string;
2575
+ };
2576
+ readonly response_500: {
2577
+ message: string;
2578
+ error: string;
2579
+ };
1828
2580
  }, {
1829
2581
  readonly method: "post";
1830
2582
  readonly path: "/user/admin";
1831
2583
  readonly role: "postUserAdmin";
1832
2584
  readonly name: "Create user as admin";
2585
+ readonly response_201: {
2586
+ user: import("./inputsDefault").UserBase<TId_25, TDate_25>;
2587
+ message: string;
2588
+ };
2589
+ readonly response_500: {
2590
+ message: string;
2591
+ error: string;
2592
+ };
1833
2593
  }, {
1834
2594
  readonly method: "post";
1835
2595
  readonly path: "/user/token";
1836
2596
  readonly role: "postUserToken";
1837
2597
  readonly name: "User login (token)";
2598
+ readonly response_200: {
2599
+ user: import("./inputsDefault").UserBase<TId_25, TDate_25>;
2600
+ message: string;
2601
+ };
2602
+ readonly response_401: {
2603
+ message: string;
2604
+ error: string;
2605
+ };
1838
2606
  }, {
1839
2607
  readonly method: "post";
1840
2608
  readonly path: "/user/logout";
1841
2609
  readonly role: "postUserLogout";
1842
2610
  readonly name: "User logout";
2611
+ readonly response_200: {
2612
+ user: import("./inputsDefault").UserBase<TId_25, TDate_25>;
2613
+ message: string;
2614
+ };
2615
+ readonly response_500: {
2616
+ message: string;
2617
+ error: string;
2618
+ };
1843
2619
  }, {
1844
2620
  readonly method: "post";
1845
2621
  readonly path: "/user/logout/all";
1846
2622
  readonly role: "postUserLogoutAll";
1847
2623
  readonly name: "User logout all sessions";
2624
+ readonly response_200: {
2625
+ user: import("./inputsDefault").UserBase<TId_25, TDate_25>;
2626
+ message: string;
2627
+ };
2628
+ readonly response_500: {
2629
+ message: string;
2630
+ error: string;
2631
+ };
1848
2632
  }, {
1849
2633
  readonly method: "post";
1850
2634
  readonly path: "/user/logout/:id";
1851
2635
  readonly role: "postUserLogoutById";
1852
2636
  readonly name: "User logout by session id";
2637
+ readonly response_200: {
2638
+ user: import("./inputsDefault").UserBase<TId_25, TDate_25>;
2639
+ message: string;
2640
+ };
2641
+ readonly response_500: {
2642
+ message: string;
2643
+ error: string;
2644
+ };
1853
2645
  }, {
1854
2646
  readonly method: "get";
1855
2647
  readonly path: "/user";
1856
2648
  readonly role: "getUser";
1857
2649
  readonly name: "Get current user";
2650
+ readonly response_200: {
2651
+ user: import("./inputsDefault").UserBase<TId_25, TDate_25>;
2652
+ };
2653
+ readonly response_500: {
2654
+ message: string;
2655
+ error: string;
2656
+ };
1858
2657
  }, {
1859
2658
  readonly method: "get";
1860
2659
  readonly path: "/user/exists/:email";
1861
2660
  readonly role: "getUserExistsByEmail";
1862
2661
  readonly name: "Check user email exists";
2662
+ readonly response_200: Record<string, never>;
2663
+ readonly response_409: {
2664
+ message: string;
2665
+ };
2666
+ readonly response_500: {
2667
+ message: string;
2668
+ error: string;
2669
+ };
1863
2670
  }, {
1864
2671
  readonly method: "get";
1865
2672
  readonly path: "/user/all";
1866
2673
  readonly role: "getUsers";
1867
2674
  readonly name: "Get users";
2675
+ readonly response_200: {
2676
+ users: import("./inputsDefault").UserBase<TId_25, TDate_25>[];
2677
+ count: number;
2678
+ };
2679
+ readonly response_500: {
2680
+ message: string;
2681
+ error: string;
2682
+ };
1868
2683
  }, {
1869
2684
  readonly method: "put";
1870
2685
  readonly path: "/user/account";
1871
2686
  readonly role: "putUserAccount";
1872
2687
  readonly name: "Update own user account";
2688
+ readonly response_200: {
2689
+ user: import("./inputsDefault").UserBase<TId_25, TDate_25>;
2690
+ message: string;
2691
+ };
2692
+ readonly response_404: {
2693
+ user: import("./inputsDefault").UserBase<TId_25, TDate_25> | null;
2694
+ message: string;
2695
+ };
2696
+ readonly response_500: {
2697
+ message: string;
2698
+ error: string;
2699
+ };
1873
2700
  }, {
1874
2701
  readonly method: "put";
1875
2702
  readonly path: "/user/:id";
1876
2703
  readonly role: "putUserById";
1877
2704
  readonly name: "Update user by ID";
2705
+ readonly response_200: {
2706
+ user: import("./inputsDefault").UserBase<TId_25, TDate_25>;
2707
+ message: string;
2708
+ };
2709
+ readonly response_404: {
2710
+ user: import("./inputsDefault").UserBase<TId_25, TDate_25> | null;
2711
+ message: string;
2712
+ };
2713
+ readonly response_500: {
2714
+ message: string;
2715
+ error: string;
2716
+ };
1878
2717
  }, {
1879
2718
  readonly method: "put";
1880
2719
  readonly path: "/user/password";
1881
2720
  readonly role: "putUserPassword";
1882
2721
  readonly name: "Update user password";
2722
+ readonly response_200: {
2723
+ user: import("./inputsDefault").UserBase<TId_25, TDate_25>;
2724
+ message: string;
2725
+ };
2726
+ readonly response_404: {
2727
+ user: import("./inputsDefault").UserBase<TId_25, TDate_25> | null;
2728
+ message: string;
2729
+ };
2730
+ readonly response_500: {
2731
+ message: string;
2732
+ error: string;
2733
+ };
1883
2734
  }, {
1884
2735
  readonly method: "delete";
1885
2736
  readonly path: "/user/:id";
1886
2737
  readonly role: "deleteUserById";
1887
2738
  readonly name: "Delete user by ID";
2739
+ readonly response_200: {
2740
+ user: import("./inputsDefault").UserBase<TId_25, TDate_25>;
2741
+ message: string;
2742
+ };
2743
+ readonly response_404: {
2744
+ user: import("./inputsDefault").UserBase<TId_25, TDate_25> | null;
2745
+ message: string;
2746
+ };
2747
+ readonly response_500: {
2748
+ message: string;
2749
+ error: string;
2750
+ };
1888
2751
  }, {
1889
2752
  readonly method: "post";
1890
2753
  readonly path: "/checkout/create-session";
1891
2754
  readonly role: "postUtilCreateCheckoutSession";
1892
2755
  readonly name: "Create checkout session";
2756
+ readonly response_200: {
2757
+ checkoutUrl: string;
2758
+ data: string;
2759
+ signature: string;
2760
+ };
2761
+ readonly response_201: {
2762
+ message: string;
2763
+ redirectUri: string;
2764
+ };
2765
+ readonly response_400: {
2766
+ message: string;
2767
+ };
1893
2768
  }, {
1894
2769
  readonly method: "post";
1895
2770
  readonly path: "/checkout/result";
1896
2771
  readonly role: "postCheckoutResult";
1897
2772
  readonly name: "Handle checkout";
2773
+ readonly response_200: {
2774
+ message: string;
2775
+ redirectPath?: string;
2776
+ };
1898
2777
  }, {
1899
2778
  readonly method: "post";
1900
2779
  readonly path: "/util/file/upload/:id";
1901
2780
  readonly role: "postUtilFileUploadById";
1902
2781
  readonly name: "Upload file by ID";
2782
+ readonly response_200: {
2783
+ message: string;
2784
+ secure_url: string;
2785
+ };
2786
+ readonly response_400: {
2787
+ message: string;
2788
+ };
2789
+ readonly response_500: {
2790
+ message: string;
2791
+ error?: string;
2792
+ };
1903
2793
  }, {
1904
2794
  readonly method: "post";
1905
2795
  readonly path: "/util/file/delete";
1906
2796
  readonly role: "postUtilFileDelete";
1907
2797
  readonly name: "Delete files";
2798
+ readonly response_200: {
2799
+ message?: string;
2800
+ };
2801
+ readonly response_400: {
2802
+ message: string;
2803
+ };
2804
+ readonly response_500: {
2805
+ message: string;
2806
+ error?: string;
2807
+ };
1908
2808
  }, {
1909
2809
  readonly method: "post";
1910
2810
  readonly path: "/util/pdf/create";
1911
2811
  readonly role: "postUtilPdfCreate";
1912
2812
  readonly name: "Create PDF";
2813
+ readonly response_201: {
2814
+ message: string;
2815
+ fileUrl: string;
2816
+ };
2817
+ readonly response_400: {
2818
+ message: string;
2819
+ };
2820
+ readonly response_500: {
2821
+ message: string;
2822
+ error?: string;
2823
+ };
1913
2824
  }, {
1914
2825
  readonly method: "post";
1915
2826
  readonly path: "/util/google/webhook";
@@ -1968,7 +2879,6 @@ declare const allApis: readonly [{
1968
2879
  };
1969
2880
  readonly response_404: {
1970
2881
  message: string;
1971
- error: string;
1972
2882
  };
1973
2883
  }, {
1974
2884
  readonly method: "get";
@@ -2000,7 +2910,6 @@ declare const allApis: readonly [{
2000
2910
  readonly role: "putAccountById";
2001
2911
  readonly name: "Update account";
2002
2912
  readonly response_404: {
2003
- account: import("./inputsDefault").AccountBase<TId, TDate> | null;
2004
2913
  message: string;
2005
2914
  };
2006
2915
  readonly response_200: {
@@ -2017,7 +2926,6 @@ declare const allApis: readonly [{
2017
2926
  readonly role: "deleteAccountById";
2018
2927
  readonly name: "Delete account";
2019
2928
  readonly response_404: {
2020
- account: import("./inputsDefault").AccountBase<TId, TDate> | null;
2021
2929
  message: string;
2022
2930
  };
2023
2931
  readonly response_200: {
@@ -2178,7 +3086,6 @@ declare const allApis: readonly [{
2178
3086
  message: string;
2179
3087
  };
2180
3088
  readonly response_404: {
2181
- admin: import("./inputsDefault").AdminBase<TId_1, TDate_1> | null;
2182
3089
  message: string;
2183
3090
  };
2184
3091
  readonly response_500: {
@@ -2195,7 +3102,6 @@ declare const allApis: readonly [{
2195
3102
  message: string;
2196
3103
  };
2197
3104
  readonly response_404: {
2198
- admin: import("./inputsDefault").AdminBase<TId_1, TDate_1> | null;
2199
3105
  message: string;
2200
3106
  };
2201
3107
  readonly response_500: {
@@ -2252,7 +3158,6 @@ declare const allApis: readonly [{
2252
3158
  };
2253
3159
  readonly response_404: {
2254
3160
  message: string;
2255
- error: string;
2256
3161
  };
2257
3162
  }, {
2258
3163
  readonly method: "put";
@@ -2264,7 +3169,6 @@ declare const allApis: readonly [{
2264
3169
  message: string;
2265
3170
  };
2266
3171
  readonly response_404: {
2267
- blog: import("./inputsDefault").BlogBase<TId_2, TDate_2> | null;
2268
3172
  message: string;
2269
3173
  };
2270
3174
  readonly response_500: {
@@ -2281,7 +3185,6 @@ declare const allApis: readonly [{
2281
3185
  message: string;
2282
3186
  };
2283
3187
  readonly response_404: {
2284
- blog: import("./inputsDefault").BlogBase<TId_2, TDate_2> | null;
2285
3188
  message: string;
2286
3189
  };
2287
3190
  readonly response_500: {
@@ -2358,7 +3261,13 @@ declare const allApis: readonly [{
2358
3261
  readonly role: "getCampaignInsightById";
2359
3262
  readonly name: "Get campaign insight";
2360
3263
  readonly response_200: {
2361
- stages: (import("./inputsDefault").CampaignStageBase<TId_3> & {
3264
+ stages: ({
3265
+ sent: number;
3266
+ replies: number;
3267
+ clicks: number;
3268
+ opens: number;
3269
+ totalProspects: number;
3270
+ } & {
2362
3271
  stageId: string;
2363
3272
  }[]) | null;
2364
3273
  };
@@ -2380,7 +3289,6 @@ declare const allApis: readonly [{
2380
3289
  };
2381
3290
  readonly response_404: {
2382
3291
  message: string;
2383
- error: string;
2384
3292
  };
2385
3293
  }, {
2386
3294
  readonly method: "put";
@@ -2392,7 +3300,6 @@ declare const allApis: readonly [{
2392
3300
  message: string;
2393
3301
  };
2394
3302
  readonly response_404: {
2395
- campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3> | null;
2396
3303
  message: string;
2397
3304
  };
2398
3305
  readonly response_500: {
@@ -2409,7 +3316,6 @@ declare const allApis: readonly [{
2409
3316
  message: string;
2410
3317
  };
2411
3318
  readonly response_404: {
2412
- campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3> | null;
2413
3319
  message: string;
2414
3320
  };
2415
3321
  readonly response_500: {
@@ -2453,7 +3359,6 @@ declare const allApis: readonly [{
2453
3359
  };
2454
3360
  readonly response_404: {
2455
3361
  message: string;
2456
- error: string;
2457
3362
  };
2458
3363
  }, {
2459
3364
  readonly method: "put";
@@ -2465,7 +3370,6 @@ declare const allApis: readonly [{
2465
3370
  message: string;
2466
3371
  };
2467
3372
  readonly response_404: {
2468
- category: import("./inputsDefault").CategoryBase<TId_4, TDate_4> | null;
2469
3373
  message: string;
2470
3374
  };
2471
3375
  readonly response_500: {
@@ -2478,39 +3382,64 @@ declare const allApis: readonly [{
2478
3382
  readonly role: "deleteCategoryById";
2479
3383
  readonly name: "Delete category";
2480
3384
  readonly response_200: {
2481
- category: import("./inputsDefault").CategoryBase<TId_4, TDate_4>;
3385
+ category: import("./inputsDefault").CategoryBase<TId_4, TDate_4>;
3386
+ message: string;
3387
+ };
3388
+ readonly response_404: {
3389
+ message: string;
3390
+ };
3391
+ readonly response_500: {
3392
+ message: string;
3393
+ error: string;
3394
+ };
3395
+ }, {
3396
+ readonly method: "post";
3397
+ readonly path: "/email";
3398
+ readonly role: "postEmail";
3399
+ readonly name: "Send email confirmation";
3400
+ readonly response_200: {
3401
+ message: string;
3402
+ };
3403
+ readonly response_400: {
3404
+ message: string;
3405
+ };
3406
+ readonly response_500: {
3407
+ message: string;
3408
+ error: string;
3409
+ };
3410
+ }, {
3411
+ readonly method: "post";
3412
+ readonly path: "/email/push";
3413
+ readonly role: "postEmailPush";
3414
+ readonly name: "Send templated email";
3415
+ readonly response_200: {
2482
3416
  message: string;
2483
3417
  };
2484
3418
  readonly response_404: {
2485
- category: import("./inputsDefault").CategoryBase<TId_4, TDate_4> | null;
2486
3419
  message: string;
2487
3420
  };
2488
3421
  readonly response_500: {
2489
3422
  message: string;
2490
3423
  error: string;
2491
3424
  };
2492
- }, {
2493
- readonly method: "post";
2494
- readonly path: "/email";
2495
- readonly role: "postEmail";
2496
- readonly name: "Send email confirmation";
2497
- }, {
2498
- readonly method: "post";
2499
- readonly path: "/email/push";
2500
- readonly role: "postEmailPush";
2501
- readonly name: "Send templated email";
2502
3425
  }, {
2503
3426
  readonly method: "post";
2504
3427
  readonly path: "/verify-recaptcha";
2505
3428
  readonly role: "postVerifyRecaptcha";
2506
3429
  readonly name: "Verify reCAPTCHA";
3430
+ readonly response_200: {
3431
+ message: string;
3432
+ };
3433
+ readonly response_400: {
3434
+ message: string;
3435
+ };
2507
3436
  }, {
2508
3437
  readonly method: "post";
2509
3438
  readonly path: "/event/book";
2510
3439
  readonly role: "postEventBook";
2511
3440
  readonly name: "Book event";
2512
3441
  readonly response_201: {
2513
- event: import("./inputsDefault").EventBase<TId_5, TDate_5>;
3442
+ url: string;
2514
3443
  message: string;
2515
3444
  };
2516
3445
  readonly response_400: {
@@ -2553,6 +3482,7 @@ declare const allApis: readonly [{
2553
3482
  readonly name: "Request booking cancel";
2554
3483
  readonly response_200: {
2555
3484
  message: string;
3485
+ event: import("./inputsDefault").EventBase<TId_5, TDate_5>;
2556
3486
  };
2557
3487
  readonly response_400: {
2558
3488
  message: string;
@@ -2585,7 +3515,6 @@ declare const allApis: readonly [{
2585
3515
  };
2586
3516
  readonly response_404: {
2587
3517
  message: string;
2588
- error: string;
2589
3518
  };
2590
3519
  }, {
2591
3520
  readonly method: "put";
@@ -2597,7 +3526,6 @@ declare const allApis: readonly [{
2597
3526
  message: string;
2598
3527
  };
2599
3528
  readonly response_404: {
2600
- event: import("./inputsDefault").EventBase<TId_5, TDate_5> | null;
2601
3529
  message: string;
2602
3530
  };
2603
3531
  readonly response_500: {
@@ -2627,7 +3555,6 @@ declare const allApis: readonly [{
2627
3555
  message: string;
2628
3556
  };
2629
3557
  readonly response_404: {
2630
- event: import("./inputsDefault").EventBase<TId_5, TDate_5> | null;
2631
3558
  message: string;
2632
3559
  };
2633
3560
  readonly response_500: {
@@ -2639,28 +3566,67 @@ declare const allApis: readonly [{
2639
3566
  readonly path: "/fail";
2640
3567
  readonly role: "getFails";
2641
3568
  readonly name: "Get fails";
3569
+ readonly response_200: {
3570
+ fails: import("./inputsDefault").FailBase<TId_6, TDate_6>[];
3571
+ count: number;
3572
+ };
3573
+ readonly response_500: {
3574
+ message: string;
3575
+ error: string;
3576
+ };
2642
3577
  }, {
2643
3578
  readonly method: "get";
2644
3579
  readonly path: "/fail/run/:id";
2645
3580
  readonly role: "getFailRunById";
2646
3581
  readonly name: "Run fail job by ID";
3582
+ readonly response_200: {
3583
+ message: string;
3584
+ };
3585
+ readonly response_400: {
3586
+ message: string;
3587
+ };
3588
+ readonly response_404: {
3589
+ message: string;
3590
+ };
3591
+ readonly response_500: {
3592
+ message: string;
3593
+ error: string;
3594
+ };
2647
3595
  }, {
2648
3596
  readonly method: "delete";
2649
3597
  readonly path: "/fail/all";
2650
3598
  readonly role: "deleteFailsAll";
2651
3599
  readonly name: "Delete all fails";
3600
+ readonly response_200: {
3601
+ message: string;
3602
+ };
3603
+ readonly response_500: {
3604
+ message: string;
3605
+ error: string;
3606
+ };
2652
3607
  }, {
2653
3608
  readonly method: "delete";
2654
3609
  readonly path: "/fail/:id";
2655
3610
  readonly role: "deleteFailById";
2656
3611
  readonly name: "Delete fail by ID";
3612
+ readonly response_200: {
3613
+ fail: import("./inputsDefault").FailBase<TId_6, TDate_6>;
3614
+ message: string;
3615
+ };
3616
+ readonly response_404: {
3617
+ message: string;
3618
+ };
3619
+ readonly response_500: {
3620
+ message: string;
3621
+ error: string;
3622
+ };
2657
3623
  }, {
2658
3624
  readonly method: "post";
2659
3625
  readonly path: "/flow";
2660
3626
  readonly role: "postFlow";
2661
3627
  readonly name: "Create flow";
2662
3628
  readonly response_201: {
2663
- flow: import("./inputsDefault").FlowBase<TId_6, TDate_6>;
3629
+ flow: import("./inputsDefault").FlowBase<TId_7, TDate_7>;
2664
3630
  message: string;
2665
3631
  };
2666
3632
  readonly response_500: {
@@ -2673,7 +3639,7 @@ declare const allApis: readonly [{
2673
3639
  readonly role: "getFlows";
2674
3640
  readonly name: "Get flows";
2675
3641
  readonly response_200: {
2676
- flows: import("./inputsDefault").FlowBase<TId_6, TDate_6>[];
3642
+ flows: import("./inputsDefault").FlowBase<TId_7, TDate_7>[];
2677
3643
  count: number;
2678
3644
  };
2679
3645
  readonly response_500: {
@@ -2698,12 +3664,11 @@ declare const allApis: readonly [{
2698
3664
  readonly role: "getFlowById";
2699
3665
  readonly name: "Get flow";
2700
3666
  readonly response_200: {
2701
- flow: import("./inputsDefault").FlowBase<TId_6, TDate_6> | null;
3667
+ flow: import("./inputsDefault").FlowBase<TId_7, TDate_7> | null;
2702
3668
  message: string;
2703
3669
  };
2704
3670
  readonly response_404: {
2705
3671
  message: string;
2706
- error: string;
2707
3672
  };
2708
3673
  }, {
2709
3674
  readonly method: "put";
@@ -2711,13 +3676,11 @@ declare const allApis: readonly [{
2711
3676
  readonly role: "putFlowById";
2712
3677
  readonly name: "Update flow";
2713
3678
  readonly response_200: {
2714
- flow: import("./inputsDefault").FlowBase<TId_6, TDate_6>;
3679
+ flow: import("./inputsDefault").FlowBase<TId_7, TDate_7>;
2715
3680
  message: string;
2716
3681
  };
2717
3682
  readonly response_404: {
2718
- flow: import("./inputsDefault").FlowBase<TId_6, TDate_6> | null;
2719
3683
  message: string;
2720
- error?: string;
2721
3684
  };
2722
3685
  readonly response_500: {
2723
3686
  message: string;
@@ -2729,11 +3692,10 @@ declare const allApis: readonly [{
2729
3692
  readonly role: "deleteFlowById";
2730
3693
  readonly name: "Delete flow";
2731
3694
  readonly response_200: {
2732
- flow: import("./inputsDefault").FlowBase<TId_6, TDate_6>;
3695
+ flow: import("./inputsDefault").FlowBase<TId_7, TDate_7>;
2733
3696
  message: string;
2734
3697
  };
2735
3698
  readonly response_404: {
2736
- flow: import("./inputsDefault").FlowBase<TId_6, TDate_6> | null;
2737
3699
  message: string;
2738
3700
  };
2739
3701
  readonly response_500: {
@@ -2746,7 +3708,7 @@ declare const allApis: readonly [{
2746
3708
  readonly role: "postFixture";
2747
3709
  readonly name: "Create fixture";
2748
3710
  readonly response_201: {
2749
- fixture: import("./inputsDefault").FixtureBase<TId_7, TDate_7>;
3711
+ fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8>;
2750
3712
  message: string;
2751
3713
  };
2752
3714
  readonly response_500: {
@@ -2759,7 +3721,7 @@ declare const allApis: readonly [{
2759
3721
  readonly role: "getFixtures";
2760
3722
  readonly name: "Get fixtures";
2761
3723
  readonly response_200: {
2762
- fixtures: import("./inputsDefault").FixtureBase<TId_7, TDate_7>[];
3724
+ fixtures: import("./inputsDefault").FixtureBase<TId_8, TDate_8>[];
2763
3725
  count: number;
2764
3726
  };
2765
3727
  readonly response_500: {
@@ -2772,12 +3734,11 @@ declare const allApis: readonly [{
2772
3734
  readonly role: "getFixtureById";
2773
3735
  readonly name: "Get fixture";
2774
3736
  readonly response_200: {
2775
- fixture: import("./inputsDefault").FixtureBase<TId_7, TDate_7> | null;
3737
+ fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8> | null;
2776
3738
  message: string;
2777
3739
  };
2778
3740
  readonly response_404: {
2779
3741
  message: string;
2780
- error: string;
2781
3742
  };
2782
3743
  }, {
2783
3744
  readonly method: "put";
@@ -2785,11 +3746,10 @@ declare const allApis: readonly [{
2785
3746
  readonly role: "putFixtureById";
2786
3747
  readonly name: "Update fixture";
2787
3748
  readonly response_200: {
2788
- fixture: import("./inputsDefault").FixtureBase<TId_7, TDate_7>;
3749
+ fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8>;
2789
3750
  message: string;
2790
3751
  };
2791
3752
  readonly response_404: {
2792
- fixture: import("./inputsDefault").FixtureBase<TId_7, TDate_7> | null;
2793
3753
  message: string;
2794
3754
  };
2795
3755
  readonly response_500: {
@@ -2802,11 +3762,10 @@ declare const allApis: readonly [{
2802
3762
  readonly role: "deleteFixtureById";
2803
3763
  readonly name: "Delete fixture";
2804
3764
  readonly response_200: {
2805
- fixture: import("./inputsDefault").FixtureBase<TId_7, TDate_7>;
3765
+ fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8>;
2806
3766
  message: string;
2807
3767
  };
2808
3768
  readonly response_404: {
2809
- fixture: import("./inputsDefault").FixtureBase<TId_7, TDate_7> | null;
2810
3769
  message: string;
2811
3770
  };
2812
3771
  readonly response_500: {
@@ -2819,7 +3778,7 @@ declare const allApis: readonly [{
2819
3778
  readonly role: "postGroup";
2820
3779
  readonly name: "Create group";
2821
3780
  readonly response_201: {
2822
- group: import("./inputsDefault").GroupBase<TId_8, TDate_8>;
3781
+ group: import("./inputsDefault").GroupBase<TId_9, TDate_9>;
2823
3782
  message: string;
2824
3783
  };
2825
3784
  readonly response_500: {
@@ -2832,7 +3791,7 @@ declare const allApis: readonly [{
2832
3791
  readonly role: "getGroups";
2833
3792
  readonly name: "Get groups";
2834
3793
  readonly response_200: {
2835
- groups: import("./inputsDefault").GroupBase<TId_8, TDate_8>[];
3794
+ groups: import("./inputsDefault").GroupBase<TId_9, TDate_9>[];
2836
3795
  count: number;
2837
3796
  };
2838
3797
  readonly response_500: {
@@ -2845,12 +3804,11 @@ declare const allApis: readonly [{
2845
3804
  readonly role: "getGroupById";
2846
3805
  readonly name: "Get group";
2847
3806
  readonly response_200: {
2848
- group: import("./inputsDefault").GroupBase<TId_8, TDate_8> | null;
3807
+ group: import("./inputsDefault").GroupBase<TId_9, TDate_9> | null;
2849
3808
  message: string;
2850
3809
  };
2851
3810
  readonly response_404: {
2852
3811
  message: string;
2853
- error: string;
2854
3812
  };
2855
3813
  }, {
2856
3814
  readonly method: "put";
@@ -2858,13 +3816,11 @@ declare const allApis: readonly [{
2858
3816
  readonly role: "putGroupById";
2859
3817
  readonly name: "Update group";
2860
3818
  readonly response_200: {
2861
- group: import("./inputsDefault").GroupBase<TId_8, TDate_8>;
3819
+ group: import("./inputsDefault").GroupBase<TId_9, TDate_9>;
2862
3820
  message: string;
2863
3821
  };
2864
3822
  readonly response_404: {
2865
- group?: import("./inputsDefault").GroupBase<TId_8, TDate_8> | null;
2866
3823
  message: string;
2867
- error?: string;
2868
3824
  };
2869
3825
  readonly response_500: {
2870
3826
  message: string;
@@ -2876,11 +3832,10 @@ declare const allApis: readonly [{
2876
3832
  readonly role: "deleteGroupById";
2877
3833
  readonly name: "Delete group";
2878
3834
  readonly response_200: {
2879
- group: import("./inputsDefault").GroupBase<TId_8, TDate_8>;
3835
+ group: import("./inputsDefault").GroupBase<TId_9, TDate_9>;
2880
3836
  message: string;
2881
3837
  };
2882
3838
  readonly response_404: {
2883
- group?: import("./inputsDefault").GroupBase<TId_8, TDate_8> | null;
2884
3839
  message: string;
2885
3840
  };
2886
3841
  readonly response_500: {
@@ -2893,7 +3848,7 @@ declare const allApis: readonly [{
2893
3848
  readonly role: "postJob";
2894
3849
  readonly name: "Create job";
2895
3850
  readonly response_201: {
2896
- job: import("./inputsDefault").JobBase<TId_9, TDate_9>;
3851
+ job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
2897
3852
  message: string;
2898
3853
  };
2899
3854
  readonly response_500: {
@@ -2906,7 +3861,7 @@ declare const allApis: readonly [{
2906
3861
  readonly role: "postJobMany";
2907
3862
  readonly name: "Create many jobs";
2908
3863
  readonly response_201: {
2909
- jobs: import("./inputsDefault").JobBase<TId_9, TDate_9>[];
3864
+ jobs: import("./inputsDefault").JobBase<TId_10, TDate_10>[];
2910
3865
  message: string;
2911
3866
  };
2912
3867
  readonly response_500: {
@@ -2919,7 +3874,7 @@ declare const allApis: readonly [{
2919
3874
  readonly role: "postJobStartById";
2920
3875
  readonly name: "Run job by ID";
2921
3876
  readonly response_201: {
2922
- job: import("./inputsDefault").JobBase<TId_9, TDate_9>;
3877
+ job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
2923
3878
  message: string;
2924
3879
  };
2925
3880
  readonly response_404: {
@@ -2935,7 +3890,7 @@ declare const allApis: readonly [{
2935
3890
  readonly role: "getJobs";
2936
3891
  readonly name: "Get jobs";
2937
3892
  readonly response_200: {
2938
- jobs: import("./inputsDefault").JobBase<TId_9, TDate_9>[];
3893
+ jobs: import("./inputsDefault").JobBase<TId_10, TDate_10>[];
2939
3894
  count: number;
2940
3895
  };
2941
3896
  readonly response_500: {
@@ -2948,12 +3903,11 @@ declare const allApis: readonly [{
2948
3903
  readonly role: "getJobById";
2949
3904
  readonly name: "Get job";
2950
3905
  readonly response_200: {
2951
- job: import("./inputsDefault").JobBase<TId_9, TDate_9> | null;
3906
+ job: import("./inputsDefault").JobBase<TId_10, TDate_10> | null;
2952
3907
  message: string;
2953
3908
  };
2954
3909
  readonly response_404: {
2955
3910
  message: string;
2956
- error: string;
2957
3911
  };
2958
3912
  }, {
2959
3913
  readonly method: "get";
@@ -2961,20 +3915,18 @@ declare const allApis: readonly [{
2961
3915
  readonly role: "getJobDetailsById";
2962
3916
  readonly name: "Get job details";
2963
3917
  readonly response_200: {
2964
- job: import("./inputsDefault").JobBase<TId_9, TDate_9>;
2965
- campaign: import("./inputsDefault").CampaignBase<TId_9, TDate_9> | null;
2966
- group: import("./inputsDefault").GroupBase<TId_9, TDate_9> | null;
2967
- template: import("./inputsDefault").GroupBase<TId_9, TDate_9> | null;
3918
+ job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
3919
+ campaign: import("./inputsDefault").CampaignBase<TId_10, TDate_10> | null;
3920
+ group: import("./inputsDefault").GroupBase<TId_10, TDate_10> | null;
3921
+ template: import("./inputsDefault").GroupBase<TId_10, TDate_10> | null;
2968
3922
  message: string;
2969
3923
  };
2970
3924
  readonly response_400: {
2971
- job?: import("./inputsDefault").JobBase<TId_9, TDate_9> | null;
3925
+ job?: import("./inputsDefault").JobBase<TId_10, TDate_10> | null;
2972
3926
  message: string;
2973
3927
  };
2974
3928
  readonly response_404: {
2975
- job?: import("./inputsDefault").JobBase<TId_9, TDate_9> | null;
2976
3929
  message: string;
2977
- error: string;
2978
3930
  };
2979
3931
  }, {
2980
3932
  readonly method: "put";
@@ -2982,11 +3934,10 @@ declare const allApis: readonly [{
2982
3934
  readonly role: "putJobById";
2983
3935
  readonly name: "Update job";
2984
3936
  readonly response_200: {
2985
- job: import("./inputsDefault").JobBase<TId_9, TDate_9>;
3937
+ job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
2986
3938
  message: string;
2987
3939
  };
2988
3940
  readonly response_404: {
2989
- job?: import("./inputsDefault").JobBase<TId_9, TDate_9> | null;
2990
3941
  message: string;
2991
3942
  };
2992
3943
  readonly response_500: {
@@ -2999,11 +3950,10 @@ declare const allApis: readonly [{
2999
3950
  readonly role: "deleteJobById";
3000
3951
  readonly name: "Delete job";
3001
3952
  readonly response_200: {
3002
- job: import("./inputsDefault").JobBase<TId_9, TDate_9>;
3953
+ job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
3003
3954
  message: string;
3004
3955
  };
3005
3956
  readonly response_404: {
3006
- job?: import("./inputsDefault").JobBase<TId_9, TDate_9> | null;
3007
3957
  message: string;
3008
3958
  };
3009
3959
  readonly response_500: {
@@ -3016,7 +3966,7 @@ declare const allApis: readonly [{
3016
3966
  readonly role: "getLogs";
3017
3967
  readonly name: "Get logs";
3018
3968
  readonly response_200: {
3019
- logs: import("./inputsDefault").LogBase<TId_10, TDate_10>[];
3969
+ logs: import("./inputsDefault").LogBase<TId_11, TDate_11>[];
3020
3970
  count: number;
3021
3971
  };
3022
3972
  readonly response_500: {
@@ -3041,11 +3991,10 @@ declare const allApis: readonly [{
3041
3991
  readonly role: "deleteLogById";
3042
3992
  readonly name: "Delete log by ID";
3043
3993
  readonly response_200: {
3044
- log: import("./inputsDefault").LogBase<TId_10, TDate_10>;
3994
+ log: import("./inputsDefault").LogBase<TId_11, TDate_11>;
3045
3995
  message: string;
3046
3996
  };
3047
3997
  readonly response_404: {
3048
- log: import("./inputsDefault").LogBase<TId_10, TDate_10> | null;
3049
3998
  message: string;
3050
3999
  };
3051
4000
  readonly response_500: {
@@ -3058,7 +4007,7 @@ declare const allApis: readonly [{
3058
4007
  readonly role: "postNotification";
3059
4008
  readonly name: "Create notification";
3060
4009
  readonly response_201: {
3061
- notification: import("./inputsDefault").NotificationBase<TId_11, TDate_11>;
4010
+ notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12>;
3062
4011
  message: string;
3063
4012
  };
3064
4013
  readonly response_500: {
@@ -3084,7 +4033,7 @@ declare const allApis: readonly [{
3084
4033
  readonly role: "getNotifications";
3085
4034
  readonly name: "Get notifications";
3086
4035
  readonly response_200: {
3087
- notifications: import("./inputsDefault").NotificationBase<TId_11, TDate_11>[];
4036
+ notifications: import("./inputsDefault").NotificationBase<TId_12, TDate_12>[];
3088
4037
  count: number;
3089
4038
  unreadCount: number;
3090
4039
  };
@@ -3098,12 +4047,11 @@ declare const allApis: readonly [{
3098
4047
  readonly role: "getNotificationById";
3099
4048
  readonly name: "Get notification by ID";
3100
4049
  readonly response_200: {
3101
- notification: import("./inputsDefault").NotificationBase<TId_11, TDate_11> | null;
4050
+ notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12> | null;
3102
4051
  message: string;
3103
4052
  };
3104
4053
  readonly response_404: {
3105
4054
  message: string;
3106
- error: string;
3107
4055
  };
3108
4056
  }, {
3109
4057
  readonly method: "put";
@@ -3111,11 +4059,10 @@ declare const allApis: readonly [{
3111
4059
  readonly role: "putNotificationById";
3112
4060
  readonly name: "Update notification";
3113
4061
  readonly response_200: {
3114
- notification: import("./inputsDefault").NotificationBase<TId_11, TDate_11>;
4062
+ notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12>;
3115
4063
  message: string;
3116
4064
  };
3117
4065
  readonly response_404: {
3118
- notification: import("./inputsDefault").NotificationBase<TId_11, TDate_11> | null;
3119
4066
  message: string;
3120
4067
  };
3121
4068
  readonly response_500: {
@@ -3128,11 +4075,10 @@ declare const allApis: readonly [{
3128
4075
  readonly role: "deleteNotificationById";
3129
4076
  readonly name: "Delete notification";
3130
4077
  readonly response_200: {
3131
- notification: import("./inputsDefault").NotificationBase<TId_11, TDate_11>;
4078
+ notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12>;
3132
4079
  message: string;
3133
4080
  };
3134
4081
  readonly response_404: {
3135
- notification: import("./inputsDefault").NotificationBase<TId_11, TDate_11> | null;
3136
4082
  message: string;
3137
4083
  };
3138
4084
  readonly response_500: {
@@ -3145,7 +4091,7 @@ declare const allApis: readonly [{
3145
4091
  readonly role: "postPage";
3146
4092
  readonly name: "Create page";
3147
4093
  readonly response_201: {
3148
- page: import("./inputsDefault").PageBase<TId_12, TDate_12>;
4094
+ page: import("./inputsDefault").PageBase<TId_13, TDate_13>;
3149
4095
  message: string;
3150
4096
  };
3151
4097
  readonly response_500: {
@@ -3159,7 +4105,6 @@ declare const allApis: readonly [{
3159
4105
  readonly name: "Trigger page by ID";
3160
4106
  readonly response_200: Record<string, never>;
3161
4107
  readonly response_404: {
3162
- page: import("./inputsDefault").PageBase<TId_12, TDate_12> | null;
3163
4108
  message: string;
3164
4109
  };
3165
4110
  readonly response_500: {
@@ -3172,7 +4117,7 @@ declare const allApis: readonly [{
3172
4117
  readonly role: "getPages";
3173
4118
  readonly name: "Get pages";
3174
4119
  readonly response_200: {
3175
- pages: import("./inputsDefault").PageBase<TId_12, TDate_12>[];
4120
+ pages: import("./inputsDefault").PageBase<TId_13, TDate_13>[];
3176
4121
  count: number;
3177
4122
  };
3178
4123
  readonly response_500: {
@@ -3185,12 +4130,11 @@ declare const allApis: readonly [{
3185
4130
  readonly role: "getPageById";
3186
4131
  readonly name: "Get page by ID";
3187
4132
  readonly response_200: {
3188
- page: import("./inputsDefault").PageBase<TId_12, TDate_12> | null;
4133
+ page: import("./inputsDefault").PageBase<TId_13, TDate_13> | null;
3189
4134
  message: string;
3190
4135
  };
3191
4136
  readonly response_404: {
3192
4137
  message: string;
3193
- error: string;
3194
4138
  };
3195
4139
  }, {
3196
4140
  readonly method: "put";
@@ -3198,11 +4142,10 @@ declare const allApis: readonly [{
3198
4142
  readonly role: "putPageById";
3199
4143
  readonly name: "Update page";
3200
4144
  readonly response_200: {
3201
- page: import("./inputsDefault").PageBase<TId_12, TDate_12>;
4145
+ page: import("./inputsDefault").PageBase<TId_13, TDate_13>;
3202
4146
  message: string;
3203
4147
  };
3204
4148
  readonly response_404: {
3205
- page: import("./inputsDefault").PageBase<TId_12, TDate_12> | null;
3206
4149
  message: string;
3207
4150
  };
3208
4151
  readonly response_500: {
@@ -3215,11 +4158,10 @@ declare const allApis: readonly [{
3215
4158
  readonly role: "deletePageById";
3216
4159
  readonly name: "Delete page";
3217
4160
  readonly response_200: {
3218
- page: import("./inputsDefault").PageBase<TId_12, TDate_12>;
4161
+ page: import("./inputsDefault").PageBase<TId_13, TDate_13>;
3219
4162
  message: string;
3220
4163
  };
3221
4164
  readonly response_404: {
3222
- page: import("./inputsDefault").PageBase<TId_12, TDate_12> | null;
3223
4165
  message: string;
3224
4166
  };
3225
4167
  readonly response_500: {
@@ -3232,7 +4174,7 @@ declare const allApis: readonly [{
3232
4174
  readonly role: "postProduct";
3233
4175
  readonly name: "Create product";
3234
4176
  readonly response_201: {
3235
- product: import("./inputsDefault").ProductBase<TId_13, TDate_13>;
4177
+ product: import("./inputsDefault").ProductBase<TId_14, TDate_14>;
3236
4178
  message: string;
3237
4179
  };
3238
4180
  readonly response_500: {
@@ -3245,7 +4187,7 @@ declare const allApis: readonly [{
3245
4187
  readonly role: "getProducts";
3246
4188
  readonly name: "Get products";
3247
4189
  readonly response_200: {
3248
- products: import("./inputsDefault").ProductBase<TId_13, TDate_13>[];
4190
+ products: import("./inputsDefault").ProductBase<TId_14, TDate_14>[];
3249
4191
  count: number;
3250
4192
  };
3251
4193
  readonly response_500: {
@@ -3258,12 +4200,11 @@ declare const allApis: readonly [{
3258
4200
  readonly role: "getProductById";
3259
4201
  readonly name: "Get product";
3260
4202
  readonly response_200: {
3261
- product: import("./inputsDefault").ProductBase<TId_13, TDate_13> | null;
4203
+ product: import("./inputsDefault").ProductBase<TId_14, TDate_14> | null;
3262
4204
  message: string;
3263
4205
  };
3264
4206
  readonly response_404: {
3265
4207
  message: string;
3266
- error: string;
3267
4208
  };
3268
4209
  }, {
3269
4210
  readonly method: "put";
@@ -3271,11 +4212,10 @@ declare const allApis: readonly [{
3271
4212
  readonly role: "putProductById";
3272
4213
  readonly name: "Update product";
3273
4214
  readonly response_200: {
3274
- product: import("./inputsDefault").ProductBase<TId_13, TDate_13>;
4215
+ product: import("./inputsDefault").ProductBase<TId_14, TDate_14>;
3275
4216
  message: string;
3276
4217
  };
3277
4218
  readonly response_404: {
3278
- product: import("./inputsDefault").ProductBase<TId_13, TDate_13> | null;
3279
4219
  message: string;
3280
4220
  };
3281
4221
  readonly response_500: {
@@ -3288,11 +4228,10 @@ declare const allApis: readonly [{
3288
4228
  readonly role: "deleteProductById";
3289
4229
  readonly name: "Delete product";
3290
4230
  readonly response_200: {
3291
- product: import("./inputsDefault").ProductBase<TId_13, TDate_13>;
4231
+ product: import("./inputsDefault").ProductBase<TId_14, TDate_14>;
3292
4232
  message: string;
3293
4233
  };
3294
4234
  readonly response_404: {
3295
- product: import("./inputsDefault").ProductBase<TId_13, TDate_13> | null;
3296
4235
  message: string;
3297
4236
  };
3298
4237
  readonly response_500: {
@@ -3305,7 +4244,7 @@ declare const allApis: readonly [{
3305
4244
  readonly role: "postProspect";
3306
4245
  readonly name: "Create prospect";
3307
4246
  readonly response_201: {
3308
- prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14>;
4247
+ prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
3309
4248
  message: string;
3310
4249
  };
3311
4250
  readonly response_500: {
@@ -3318,7 +4257,7 @@ declare const allApis: readonly [{
3318
4257
  readonly role: "postProspectSubscribe";
3319
4258
  readonly name: "Subscribe prospect";
3320
4259
  readonly response_201: {
3321
- prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14>;
4260
+ prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
3322
4261
  message: string;
3323
4262
  };
3324
4263
  readonly response_500: {
@@ -3331,7 +4270,7 @@ declare const allApis: readonly [{
3331
4270
  readonly role: "getProspects";
3332
4271
  readonly name: "Get prospects";
3333
4272
  readonly response_200: {
3334
- prospects: import("./inputsDefault").ProspectBase<TId_14, TDate_14>[];
4273
+ prospects: import("./inputsDefault").ProspectBase<TId_15, TDate_15>[];
3335
4274
  count: number;
3336
4275
  new: number;
3337
4276
  };
@@ -3357,12 +4296,11 @@ declare const allApis: readonly [{
3357
4296
  readonly role: "getProspectById";
3358
4297
  readonly name: "Get prospect by ID";
3359
4298
  readonly response_200: {
3360
- prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14> | null;
4299
+ prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15> | null;
3361
4300
  message: string;
3362
4301
  };
3363
4302
  readonly response_404: {
3364
4303
  message: string;
3365
- error: string;
3366
4304
  };
3367
4305
  }, {
3368
4306
  readonly method: "get";
@@ -3387,11 +4325,10 @@ declare const allApis: readonly [{
3387
4325
  readonly role: "putProspectById";
3388
4326
  readonly name: "Update prospect";
3389
4327
  readonly response_200: {
3390
- prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14>;
4328
+ prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
3391
4329
  message: string;
3392
4330
  };
3393
4331
  readonly response_404: {
3394
- prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14> | null;
3395
4332
  message: string;
3396
4333
  };
3397
4334
  readonly response_500: {
@@ -3404,11 +4341,10 @@ declare const allApis: readonly [{
3404
4341
  readonly role: "putProspectOpenedById";
3405
4342
  readonly name: "Mark prospect opened";
3406
4343
  readonly response_200: {
3407
- prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14>;
4344
+ prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
3408
4345
  message: string;
3409
4346
  };
3410
4347
  readonly response_404: {
3411
- prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14> | null;
3412
4348
  message: string;
3413
4349
  };
3414
4350
  readonly response_500: {
@@ -3421,11 +4357,10 @@ declare const allApis: readonly [{
3421
4357
  readonly role: "deleteProspectById";
3422
4358
  readonly name: "Delete prospect";
3423
4359
  readonly response_200: {
3424
- prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14>;
4360
+ prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
3425
4361
  message: string;
3426
4362
  };
3427
4363
  readonly response_404: {
3428
- prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14> | null;
3429
4364
  message: string;
3430
4365
  };
3431
4366
  readonly response_500: {
@@ -3437,386 +4372,1273 @@ declare const allApis: readonly [{
3437
4372
  readonly path: "/report";
3438
4373
  readonly role: "postReport";
3439
4374
  readonly name: "Create report";
4375
+ readonly response_201: {
4376
+ report: import("./inputsDefault").ReportBase<TId_16, TDate_16>;
4377
+ message: string;
4378
+ };
4379
+ readonly response_500: {
4380
+ message: string;
4381
+ error: string;
4382
+ };
3440
4383
  }, {
3441
4384
  readonly method: "get";
3442
4385
  readonly path: "/report";
3443
4386
  readonly role: "getReports";
3444
4387
  readonly name: "Get reports";
4388
+ readonly response_200: {
4389
+ reports: import("./inputsDefault").ReportBase<TId_16, TDate_16>[];
4390
+ count: number;
4391
+ };
4392
+ readonly response_500: {
4393
+ message: string;
4394
+ error: string;
4395
+ };
3445
4396
  }, {
3446
4397
  readonly method: "get";
3447
4398
  readonly path: "/report/:id";
3448
4399
  readonly role: "getReportById";
3449
4400
  readonly name: "Get report by ID";
4401
+ readonly response_200: {
4402
+ report: import("./inputsDefault").ReportBase<TId_16, TDate_16> | null;
4403
+ message: string;
4404
+ };
4405
+ readonly response_404: {
4406
+ message: string;
4407
+ };
3450
4408
  }, {
3451
4409
  readonly method: "put";
3452
4410
  readonly path: "/report/:id";
3453
4411
  readonly role: "putReportById";
3454
4412
  readonly name: "Update report";
4413
+ readonly response_200: {
4414
+ report: import("./inputsDefault").ReportBase<TId_16, TDate_16>;
4415
+ message: string;
4416
+ };
4417
+ readonly response_404: {
4418
+ message: string;
4419
+ };
4420
+ readonly response_500: {
4421
+ message: string;
4422
+ error: string;
4423
+ };
3455
4424
  }, {
3456
4425
  readonly method: "delete";
3457
4426
  readonly path: "/report/:id";
3458
4427
  readonly role: "deleteReportById";
3459
4428
  readonly name: "Delete report";
4429
+ readonly response_200: {
4430
+ report: import("./inputsDefault").ReportBase<TId_16, TDate_16>;
4431
+ message: string;
4432
+ };
4433
+ readonly response_404: {
4434
+ message: string;
4435
+ };
4436
+ readonly response_500: {
4437
+ message: string;
4438
+ error: string;
4439
+ };
3460
4440
  }, {
3461
4441
  readonly method: "post";
3462
4442
  readonly path: "/review";
3463
4443
  readonly role: "postReview";
3464
4444
  readonly name: "Create review";
4445
+ readonly response_201: {
4446
+ review: import("./inputsDefault").ReviewBase<TId_17, TDate_17>;
4447
+ message: string;
4448
+ };
4449
+ readonly response_500: {
4450
+ message: string;
4451
+ error: string;
4452
+ };
3465
4453
  }, {
3466
4454
  readonly method: "post";
3467
4455
  readonly path: "/reviews";
3468
4456
  readonly role: "postReviews";
3469
4457
  readonly name: "Bulk import reviews";
4458
+ readonly response_201: {
4459
+ message: string;
4460
+ };
4461
+ readonly response_500: {
4462
+ message: string;
4463
+ error: string;
4464
+ };
3470
4465
  }, {
3471
4466
  readonly method: "get";
3472
4467
  readonly path: "/review";
3473
4468
  readonly role: "getReviews";
3474
4469
  readonly name: "Get reviews";
4470
+ readonly response_200: {
4471
+ reviews: import("./inputsDefault").ReviewBase<TId_17, TDate_17>[];
4472
+ count: number;
4473
+ };
4474
+ readonly response_500: {
4475
+ message: string;
4476
+ error: string;
4477
+ };
3475
4478
  }, {
3476
4479
  readonly method: "get";
3477
4480
  readonly path: "/review/:id";
3478
4481
  readonly role: "getReviewById";
3479
4482
  readonly name: "Get review by ID";
4483
+ readonly response_200: {
4484
+ review: import("./inputsDefault").ReviewBase<TId_17, TDate_17> | null;
4485
+ message: string;
4486
+ };
4487
+ readonly response_404: {
4488
+ message: string;
4489
+ };
3480
4490
  }, {
3481
4491
  readonly method: "get";
3482
4492
  readonly path: "/review/count/:id";
3483
4493
  readonly role: "getReviewCountById";
3484
4494
  readonly name: "Get review count & rating";
4495
+ readonly response_200: {
4496
+ count: number;
4497
+ rating: number;
4498
+ };
4499
+ readonly response_500: {
4500
+ message: string;
4501
+ error: string;
4502
+ };
3485
4503
  }, {
3486
4504
  readonly method: "put";
3487
4505
  readonly path: "/review/:id";
3488
4506
  readonly role: "putReviewById";
3489
4507
  readonly name: "Update review";
4508
+ readonly response_200: {
4509
+ review: import("./inputsDefault").ReviewBase<TId_17, TDate_17>;
4510
+ message: string;
4511
+ };
4512
+ readonly response_404: {
4513
+ message: string;
4514
+ };
4515
+ readonly response_500: {
4516
+ message: string;
4517
+ error: string;
4518
+ };
3490
4519
  }, {
3491
4520
  readonly method: "delete";
3492
4521
  readonly path: "/review/:id";
3493
4522
  readonly role: "deleteReviewById";
3494
4523
  readonly name: "Delete review";
4524
+ readonly response_200: {
4525
+ review: import("./inputsDefault").ReviewBase<TId_17, TDate_17>;
4526
+ message: string;
4527
+ };
4528
+ readonly response_404: {
4529
+ message: string;
4530
+ };
4531
+ readonly response_500: {
4532
+ message: string;
4533
+ error: string;
4534
+ };
3495
4535
  }, {
3496
4536
  readonly method: "post";
3497
4537
  readonly path: "/role";
3498
4538
  readonly role: "postRole";
3499
4539
  readonly name: "Create role";
4540
+ readonly response_201: {
4541
+ role: import("./inputsDefault").RoleBase<TId_18, TDate_18>;
4542
+ message: string;
4543
+ };
4544
+ readonly response_500: {
4545
+ message: string;
4546
+ error: string;
4547
+ };
3500
4548
  }, {
3501
4549
  readonly method: "get";
3502
4550
  readonly path: "/role";
3503
4551
  readonly role: "getRoles";
3504
4552
  readonly name: "Get roles";
4553
+ readonly response_200: {
4554
+ roles: import("./inputsDefault").RoleBase<TId_18, TDate_18>[];
4555
+ count: number;
4556
+ };
4557
+ readonly response_500: {
4558
+ message: string;
4559
+ error: string;
4560
+ };
3505
4561
  }, {
3506
4562
  readonly method: "get";
3507
4563
  readonly path: "/role/:id";
3508
4564
  readonly role: "getRoleById";
3509
4565
  readonly name: "Get role";
4566
+ readonly response_200: {
4567
+ role: import("./inputsDefault").RoleBase<TId_18, TDate_18> | null;
4568
+ message: string;
4569
+ };
4570
+ readonly response_404: {
4571
+ message: string;
4572
+ };
3510
4573
  }, {
3511
4574
  readonly method: "put";
3512
4575
  readonly path: "/role/:id";
3513
4576
  readonly role: "putRoleById";
3514
4577
  readonly name: "Update role";
4578
+ readonly response_200: {
4579
+ role: import("./inputsDefault").RoleBase<TId_18, TDate_18>;
4580
+ message: string;
4581
+ };
4582
+ readonly response_404: {
4583
+ message: string;
4584
+ };
3515
4585
  }, {
3516
4586
  readonly method: "delete";
3517
4587
  readonly path: "/role/:id";
3518
4588
  readonly role: "deleteRoleById";
3519
4589
  readonly name: "Delete role";
4590
+ readonly response_200: {
4591
+ role: import("./inputsDefault").RoleBase<TId_18, TDate_18>;
4592
+ message: string;
4593
+ };
4594
+ readonly response_404: {
4595
+ message: string;
4596
+ };
4597
+ readonly response_500: {
4598
+ message: string;
4599
+ error: string;
4600
+ };
3520
4601
  }, {
3521
4602
  readonly method: "post";
3522
4603
  readonly path: "/sale";
3523
4604
  readonly role: "postSale";
3524
4605
  readonly name: "Create sale";
4606
+ readonly response_201: {
4607
+ sale: import("./inputsDefault").SaleBase<TId_19, TDate_19>;
4608
+ message: string;
4609
+ };
4610
+ readonly response_500: {
4611
+ message: string;
4612
+ error: string;
4613
+ };
3525
4614
  }, {
3526
4615
  readonly method: "get";
3527
4616
  readonly path: "/sale/user";
3528
4617
  readonly role: "getSalesUser";
3529
4618
  readonly name: "Get sales for user";
4619
+ readonly response_200: {
4620
+ sales: import("./inputsDefault").SaleBase<TId_19, TDate_19>[];
4621
+ count: number;
4622
+ };
4623
+ readonly response_500: {
4624
+ message: string;
4625
+ error: string;
4626
+ };
3530
4627
  }, {
3531
4628
  readonly method: "get";
3532
4629
  readonly path: "/sale";
3533
4630
  readonly role: "getSales";
3534
4631
  readonly name: "Get sales";
4632
+ readonly response_200: {
4633
+ sales: import("./inputsDefault").SaleBase<TId_19, TDate_19>[];
4634
+ count: number;
4635
+ };
4636
+ readonly response_500: {
4637
+ message: string;
4638
+ error: string;
4639
+ };
3535
4640
  }, {
3536
4641
  readonly method: "get";
3537
4642
  readonly path: "/sale/:id";
3538
4643
  readonly role: "getSaleById";
3539
4644
  readonly name: "Get sale by ID";
4645
+ readonly response_200: {
4646
+ sale: import("./inputsDefault").SaleBase<TId_19, TDate_19> | null;
4647
+ message: string;
4648
+ };
4649
+ readonly response_404: {
4650
+ message: string;
4651
+ };
3540
4652
  }, {
3541
4653
  readonly method: "get";
3542
4654
  readonly path: "/sale/insight/:period/:date";
3543
4655
  readonly role: "getSaleInsightByPeriodDate";
3544
4656
  readonly name: "Get sale insights";
4657
+ readonly response_200: {
4658
+ period: string;
4659
+ salesData: number[];
4660
+ expensesData: number[];
4661
+ totalSales: number;
4662
+ totalExpenses: number;
4663
+ numberOfSalesData: number[];
4664
+ numberOfExpensesData: number[];
4665
+ growthData: number[];
4666
+ numberOfSales: number;
4667
+ numberOfExpenses: number;
4668
+ };
4669
+ readonly response_400: {
4670
+ message: string;
4671
+ };
4672
+ readonly response_500: {
4673
+ message: string;
4674
+ error: string;
4675
+ };
3545
4676
  }, {
3546
4677
  readonly method: "put";
3547
4678
  readonly path: "/sale/:id";
3548
4679
  readonly role: "putSaleById";
3549
4680
  readonly name: "Update sale";
4681
+ readonly response_200: {
4682
+ sale: import("./inputsDefault").SaleBase<TId_19, TDate_19>;
4683
+ message: string;
4684
+ };
4685
+ readonly response_404: {
4686
+ message: string;
4687
+ };
4688
+ readonly response_500: {
4689
+ message: string;
4690
+ error: string;
4691
+ };
3550
4692
  }, {
3551
4693
  readonly method: "delete";
3552
4694
  readonly path: "/sale/:id";
3553
4695
  readonly role: "deleteSaleById";
3554
4696
  readonly name: "Delete sale";
4697
+ readonly response_200: {
4698
+ sale: import("./inputsDefault").SaleBase<TId_19, TDate_19>;
4699
+ message: string;
4700
+ };
4701
+ readonly response_404: {
4702
+ message: string;
4703
+ };
4704
+ readonly response_500: {
4705
+ message: string;
4706
+ error: string;
4707
+ };
3555
4708
  }, {
3556
4709
  readonly method: "post";
3557
4710
  readonly path: "/season";
3558
4711
  readonly role: "postSeason";
3559
4712
  readonly name: "Create season";
4713
+ readonly response_201: {
4714
+ season: import("./inputsDefault").SeasonBase<TId_20, TDate_20>;
4715
+ message: string;
4716
+ };
4717
+ readonly response_500: {
4718
+ message: string;
4719
+ error: string;
4720
+ };
3560
4721
  }, {
3561
4722
  readonly method: "get";
3562
4723
  readonly path: "/season";
3563
4724
  readonly role: "getSeasons";
3564
4725
  readonly name: "Get seasons";
4726
+ readonly response_200: {
4727
+ seasons: import("./inputsDefault").SeasonBase<TId_20, TDate_20>[];
4728
+ count: number;
4729
+ };
4730
+ readonly response_500: {
4731
+ message: string;
4732
+ error: string;
4733
+ };
3565
4734
  }, {
3566
4735
  readonly method: "get";
3567
4736
  readonly path: "/season/:id";
3568
4737
  readonly role: "getSeasonById";
3569
4738
  readonly name: "Get season";
4739
+ readonly response_200: {
4740
+ season: import("./inputsDefault").SeasonBase<TId_20, TDate_20> | null;
4741
+ message: string;
4742
+ };
4743
+ readonly response_404: {
4744
+ message: string;
4745
+ };
3570
4746
  }, {
3571
4747
  readonly method: "put";
3572
4748
  readonly path: "/season/:id";
3573
4749
  readonly role: "putSeasonById";
3574
4750
  readonly name: "Update season";
4751
+ readonly response_200: {
4752
+ season: import("./inputsDefault").SeasonBase<TId_20, TDate_20>;
4753
+ message: string;
4754
+ };
4755
+ readonly response_404: {
4756
+ message: string;
4757
+ };
3575
4758
  }, {
3576
4759
  readonly method: "delete";
3577
4760
  readonly path: "/season/:id";
3578
4761
  readonly role: "deleteSeasonById";
3579
4762
  readonly name: "Delete season";
4763
+ readonly response_200: {
4764
+ season: import("./inputsDefault").SeasonBase<TId_20, TDate_20>;
4765
+ message: string;
4766
+ };
4767
+ readonly response_404: {
4768
+ message: string;
4769
+ };
4770
+ readonly response_500: {
4771
+ message: string;
4772
+ error: string;
4773
+ };
3580
4774
  }, {
3581
4775
  readonly method: "get";
3582
4776
  readonly path: "/seat";
3583
4777
  readonly role: "getSeats";
3584
4778
  readonly name: "Get seats";
4779
+ readonly response_200: {
4780
+ seats: {
4781
+ [key: string]: any;
4782
+ _id?: TId_21;
4783
+ name?: string;
4784
+ row?: number;
4785
+ col?: number;
4786
+ }[];
4787
+ count: number;
4788
+ };
4789
+ readonly response_500: {
4790
+ message: string;
4791
+ error: string;
4792
+ };
3585
4793
  }, {
3586
4794
  readonly method: "get";
3587
4795
  readonly path: "/occupance/seasonal/:id";
3588
4796
  readonly role: "getOccupanciesSeasonalById";
3589
4797
  readonly name: "Get seasonal occupancies by season ID";
4798
+ readonly response_200: {
4799
+ occupancies: {
4800
+ [key: string]: any;
4801
+ _id?: TId_21;
4802
+ seatId?: TId_21;
4803
+ fixtureId?: TId_21;
4804
+ sectionId?: TId_21;
4805
+ reserved?: boolean;
4806
+ occupied?: boolean;
4807
+ reservedAt?: TDate_21;
4808
+ }[];
4809
+ message: string;
4810
+ };
4811
+ readonly response_404: {
4812
+ message: string;
4813
+ };
4814
+ readonly response_500: {
4815
+ message: string;
4816
+ error: string;
4817
+ };
3590
4818
  }, {
3591
4819
  readonly method: "get";
3592
4820
  readonly path: "/occupance/user";
3593
4821
  readonly role: "getOccupanciesUser";
3594
4822
  readonly name: "Get occupancies for user";
4823
+ readonly response_200: {
4824
+ occupancies: ({
4825
+ [key: string]: any;
4826
+ _id?: TId_21;
4827
+ seatId?: TId_21;
4828
+ fixtureId?: TId_21;
4829
+ sectionId?: TId_21;
4830
+ reserved?: boolean;
4831
+ occupied?: boolean;
4832
+ reservedAt?: TDate_21;
4833
+ } & {
4834
+ [key: string]: any;
4835
+ _id?: TId_21;
4836
+ name?: string;
4837
+ row?: number;
4838
+ col?: number;
4839
+ } & {
4840
+ seatId?: TId_21;
4841
+ })[];
4842
+ count: number;
4843
+ };
4844
+ readonly response_500: {
4845
+ message: string;
4846
+ error: string;
4847
+ };
3595
4848
  }, {
3596
4849
  readonly method: "get";
3597
4850
  readonly path: "/occupance";
3598
4851
  readonly role: "getOccupancies";
3599
4852
  readonly name: "Get occupancies";
4853
+ readonly response_200: {
4854
+ occupancies: ({
4855
+ [key: string]: any;
4856
+ _id?: TId_21;
4857
+ seatId?: TId_21;
4858
+ fixtureId?: TId_21;
4859
+ sectionId?: TId_21;
4860
+ reserved?: boolean;
4861
+ occupied?: boolean;
4862
+ reservedAt?: TDate_21;
4863
+ } & {
4864
+ [key: string]: any;
4865
+ _id?: TId_21;
4866
+ name?: string;
4867
+ row?: number;
4868
+ col?: number;
4869
+ } & {
4870
+ seatId?: TId_21;
4871
+ })[];
4872
+ count: number;
4873
+ };
4874
+ readonly response_500: {
4875
+ message: string;
4876
+ error: string;
4877
+ };
3600
4878
  }, {
3601
4879
  readonly method: "get";
3602
4880
  readonly path: "/occupance/info/:orderId";
3603
4881
  readonly role: "getOccupanceInfoByOrderId";
3604
4882
  readonly name: "Get occupance info by order id";
4883
+ readonly response_200: {
4884
+ occupancies: ({
4885
+ [key: string]: any;
4886
+ _id?: TId_21;
4887
+ seatId?: TId_21;
4888
+ fixtureId?: TId_21;
4889
+ sectionId?: TId_21;
4890
+ reserved?: boolean;
4891
+ occupied?: boolean;
4892
+ reservedAt?: TDate_21;
4893
+ } & {
4894
+ fixtureId?: any;
4895
+ sectionId?: any;
4896
+ seatId?: any;
4897
+ })[] | null;
4898
+ message: string;
4899
+ };
4900
+ readonly response_400: {
4901
+ message: string;
4902
+ };
4903
+ readonly response_500: {
4904
+ message: string;
4905
+ error: string;
4906
+ };
3605
4907
  }, {
3606
4908
  readonly method: "get";
3607
4909
  readonly path: "/occupance/reserved";
3608
4910
  readonly role: "getOccupanceReserved";
3609
4911
  readonly name: "Get reserved occupancies";
4912
+ readonly response_200: {
4913
+ items: {
4914
+ _id: string;
4915
+ name: string;
4916
+ quantity: number;
4917
+ subscriptionPeriod: string;
4918
+ type: string;
4919
+ price: number;
4920
+ reservedAt?: string;
4921
+ }[];
4922
+ occupancies: ({
4923
+ [key: string]: any;
4924
+ _id?: TId_21;
4925
+ seatId?: TId_21;
4926
+ fixtureId?: TId_21;
4927
+ sectionId?: TId_21;
4928
+ reserved?: boolean;
4929
+ occupied?: boolean;
4930
+ reservedAt?: TDate_21;
4931
+ } & {
4932
+ fixtureId?: any;
4933
+ sectionId?: any;
4934
+ seatId?: any;
4935
+ })[];
4936
+ message: string;
4937
+ };
4938
+ readonly response_400: {
4939
+ message: string;
4940
+ };
4941
+ readonly response_500: {
4942
+ message: string;
4943
+ error: string;
4944
+ };
3610
4945
  }, {
3611
4946
  readonly method: "get";
3612
4947
  readonly path: "/occupance/pdf/:id";
3613
4948
  readonly role: "getOccupancePdfById";
3614
4949
  readonly name: "Get occupance PDF by ID";
4950
+ readonly response_200: {
4951
+ url?: string;
4952
+ message: string;
4953
+ };
4954
+ readonly response_500: {
4955
+ message: string;
4956
+ error: string;
4957
+ };
3615
4958
  }, {
3616
4959
  readonly method: "post";
3617
4960
  readonly path: "/occupance/reserve/:id";
3618
4961
  readonly role: "postOccupanceReserveById";
3619
4962
  readonly name: "Reserve occupance by ID";
4963
+ readonly response_200: {
4964
+ item: {
4965
+ _id: string;
4966
+ name: string;
4967
+ quantity: number;
4968
+ subscriptionPeriod: string;
4969
+ type: string;
4970
+ price: number;
4971
+ reservedAt?: string;
4972
+ };
4973
+ occupance: {
4974
+ [key: string]: any;
4975
+ _id?: TId_21;
4976
+ seatId?: TId_21;
4977
+ fixtureId?: TId_21;
4978
+ sectionId?: TId_21;
4979
+ reserved?: boolean;
4980
+ occupied?: boolean;
4981
+ reservedAt?: TDate_21;
4982
+ };
4983
+ reservedAt: number;
4984
+ message: string;
4985
+ };
4986
+ readonly response_400: {
4987
+ message: string;
4988
+ };
4989
+ readonly response_403: {
4990
+ message: string;
4991
+ };
4992
+ readonly response_404: {
4993
+ message: string;
4994
+ };
4995
+ readonly response_409: {
4996
+ message: string;
4997
+ };
4998
+ readonly response_500: {
4999
+ message: string;
5000
+ };
3620
5001
  }, {
3621
5002
  readonly method: "post";
3622
5003
  readonly path: "/occupance/seasonal/reserve/:id";
3623
5004
  readonly role: "postSeasonalOccupanceReserveById";
3624
5005
  readonly name: "Reserve seasonal occupance by ID";
5006
+ readonly response_200: {
5007
+ item: {
5008
+ _id: string;
5009
+ name: string;
5010
+ quantity: number;
5011
+ subscriptionPeriod: string;
5012
+ type: string;
5013
+ price: number;
5014
+ reservedAt?: string;
5015
+ };
5016
+ occupance: {
5017
+ [key: string]: any;
5018
+ _id?: TId_21;
5019
+ seatId?: TId_21;
5020
+ fixtureId?: TId_21;
5021
+ sectionId?: TId_21;
5022
+ reserved?: boolean;
5023
+ occupied?: boolean;
5024
+ reservedAt?: TDate_21;
5025
+ };
5026
+ reservedAt: number;
5027
+ message: string;
5028
+ };
5029
+ readonly response_403: {
5030
+ message: string;
5031
+ };
5032
+ readonly response_404: {
5033
+ message: string;
5034
+ };
5035
+ readonly response_409: {
5036
+ message: string;
5037
+ };
5038
+ readonly response_500: {
5039
+ message: string;
5040
+ };
3625
5041
  }, {
3626
5042
  readonly method: "post";
3627
5043
  readonly path: "/occupance/free/:id";
3628
5044
  readonly role: "postOccupanceFreeById";
3629
5045
  readonly name: "Free occupance by ID";
5046
+ readonly response_200: {
5047
+ occupance?: {
5048
+ [key: string]: any;
5049
+ _id?: TId_21;
5050
+ seatId?: TId_21;
5051
+ fixtureId?: TId_21;
5052
+ sectionId?: TId_21;
5053
+ reserved?: boolean;
5054
+ occupied?: boolean;
5055
+ reservedAt?: TDate_21;
5056
+ };
5057
+ message: string;
5058
+ };
5059
+ readonly response_400: {
5060
+ message: string;
5061
+ };
5062
+ readonly response_403: {
5063
+ message: string;
5064
+ };
5065
+ readonly response_404: {
5066
+ message: string;
5067
+ };
5068
+ readonly response_409: {
5069
+ message: string;
5070
+ };
3630
5071
  }, {
3631
5072
  readonly method: "post";
3632
5073
  readonly path: "/occupance/seasonal/free/:id";
3633
5074
  readonly role: "postSeasonalOccupanceFreeById";
3634
5075
  readonly name: "Free seasonal occupance by ID";
5076
+ readonly response_200: {
5077
+ occupance?: {
5078
+ [key: string]: any;
5079
+ _id?: TId_21;
5080
+ seatId?: TId_21;
5081
+ fixtureId?: TId_21;
5082
+ sectionId?: TId_21;
5083
+ reserved?: boolean;
5084
+ occupied?: boolean;
5085
+ reservedAt?: TDate_21;
5086
+ };
5087
+ message: string;
5088
+ };
5089
+ readonly response_403: {
5090
+ message: string;
5091
+ };
5092
+ readonly response_404: {
5093
+ message: string;
5094
+ };
5095
+ readonly response_409: {
5096
+ message: string;
5097
+ };
5098
+ readonly response_500: {
5099
+ message: string;
5100
+ };
3635
5101
  }, {
3636
5102
  readonly method: "put";
3637
5103
  readonly path: "/occupance/:id";
3638
5104
  readonly role: "putOccupanceById";
3639
5105
  readonly name: "Update occupance by ID";
5106
+ readonly response_200: {
5107
+ occupance: {
5108
+ [key: string]: any;
5109
+ _id?: TId_21;
5110
+ seatId?: TId_21;
5111
+ fixtureId?: TId_21;
5112
+ sectionId?: TId_21;
5113
+ reserved?: boolean;
5114
+ occupied?: boolean;
5115
+ reservedAt?: TDate_21;
5116
+ };
5117
+ message: string;
5118
+ };
5119
+ readonly response_404: {
5120
+ message: string;
5121
+ };
5122
+ readonly response_500: {
5123
+ message: string;
5124
+ error: string;
5125
+ };
3640
5126
  }, {
3641
5127
  readonly method: "delete";
3642
5128
  readonly path: "/occupance/stale";
3643
5129
  readonly role: "deleteOccupanceStale";
3644
5130
  readonly name: "Delete stale occupancies";
5131
+ readonly response_200: {
5132
+ message: string;
5133
+ };
5134
+ readonly response_500: {
5135
+ message: string;
5136
+ };
3645
5137
  }, {
3646
5138
  readonly method: "post";
3647
5139
  readonly path: "/section";
3648
5140
  readonly role: "postSection";
3649
5141
  readonly name: "Create section";
5142
+ readonly response_201: {
5143
+ section: import("./inputsDefault").SectionBase<TId_22, TDate_22>;
5144
+ message: string;
5145
+ };
5146
+ readonly response_500: {
5147
+ message: string;
5148
+ error: string;
5149
+ };
3650
5150
  }, {
3651
5151
  readonly method: "get";
3652
5152
  readonly path: "/section";
3653
5153
  readonly role: "getSections";
3654
5154
  readonly name: "Get sections";
5155
+ readonly response_200: {
5156
+ sections: import("./inputsDefault").SectionBase<TId_22, TDate_22>[];
5157
+ count: number;
5158
+ };
5159
+ readonly response_500: {
5160
+ message: string;
5161
+ error: string;
5162
+ };
3655
5163
  }, {
3656
5164
  readonly method: "get";
3657
5165
  readonly path: "/section/:id";
3658
5166
  readonly role: "getSectionById";
3659
5167
  readonly name: "Get section by ID";
5168
+ readonly response_200: {
5169
+ section: import("./inputsDefault").SectionBase<TId_22, TDate_22> | null;
5170
+ message: string;
5171
+ };
5172
+ readonly response_404: {
5173
+ message: string;
5174
+ };
3660
5175
  }, {
3661
5176
  readonly method: "put";
3662
5177
  readonly path: "/section/:id";
3663
5178
  readonly role: "putSectionById";
3664
5179
  readonly name: "Update section by ID";
5180
+ readonly response_200: {
5181
+ section: import("./inputsDefault").SectionBase<TId_22, TDate_22>;
5182
+ message: string;
5183
+ };
5184
+ readonly response_404: {
5185
+ message: string;
5186
+ };
5187
+ readonly response_500: {
5188
+ message: string;
5189
+ error: string;
5190
+ };
3665
5191
  }, {
3666
5192
  readonly method: "delete";
3667
5193
  readonly path: "/section/:id";
3668
5194
  readonly role: "deleteSectionById";
3669
5195
  readonly name: "Delete section by ID";
5196
+ readonly response_200: {
5197
+ section: import("./inputsDefault").SectionBase<TId_22, TDate_22>;
5198
+ message: string;
5199
+ };
5200
+ readonly response_404: {
5201
+ message: string;
5202
+ };
5203
+ readonly response_500: {
5204
+ message: string;
5205
+ error: string;
5206
+ };
3670
5207
  }, {
3671
5208
  readonly method: "post";
3672
5209
  readonly path: "/staff/admin";
3673
5210
  readonly role: "postStaffAdmin";
3674
5211
  readonly name: "Create staff as root";
5212
+ readonly response_201: {
5213
+ staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
5214
+ message: string;
5215
+ };
5216
+ readonly response_400: {
5217
+ message: string;
5218
+ };
5219
+ readonly response_401: {
5220
+ message: string;
5221
+ };
5222
+ readonly response_500: {
5223
+ message: string;
5224
+ error: string;
5225
+ };
3675
5226
  }, {
3676
5227
  readonly method: "post";
3677
5228
  readonly path: "/staff/token";
3678
5229
  readonly role: "postStaffToken";
3679
5230
  readonly name: "Staff login (token)";
5231
+ readonly response_200: {
5232
+ staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
5233
+ message: string;
5234
+ };
5235
+ readonly response_401: {
5236
+ message: string;
5237
+ };
5238
+ readonly response_500: {
5239
+ message: string;
5240
+ error: string;
5241
+ };
3680
5242
  }, {
3681
5243
  readonly method: "post";
3682
5244
  readonly path: "/staff/logout";
3683
5245
  readonly role: "postStaffLogout";
3684
5246
  readonly name: "Staff logout";
5247
+ readonly response_200: {
5248
+ staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
5249
+ message: string;
5250
+ };
5251
+ readonly response_500: {
5252
+ message: string;
5253
+ error: string;
5254
+ };
3685
5255
  }, {
3686
5256
  readonly method: "post";
3687
5257
  readonly path: "/staff/logout/all";
3688
5258
  readonly role: "postStaffLogoutAll";
3689
5259
  readonly name: "Staff logout all sessions";
5260
+ readonly response_200: {
5261
+ staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
5262
+ message: string;
5263
+ };
5264
+ readonly response_500: {
5265
+ message: string;
5266
+ error: string;
5267
+ };
3690
5268
  }, {
3691
5269
  readonly method: "post";
3692
5270
  readonly path: "/staff/logout/:id";
3693
5271
  readonly role: "postStaffLogoutById";
3694
5272
  readonly name: "Staff logout by session id";
5273
+ readonly response_200: {
5274
+ staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
5275
+ message: string;
5276
+ };
5277
+ readonly response_404: {
5278
+ message: string;
5279
+ };
5280
+ readonly response_500: {
5281
+ message: string;
5282
+ error: string;
5283
+ };
3695
5284
  }, {
3696
5285
  readonly method: "get";
3697
5286
  readonly path: "/staff";
3698
5287
  readonly role: "getStaff";
3699
5288
  readonly name: "Get current staff";
5289
+ readonly response_200: {
5290
+ staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
5291
+ };
5292
+ readonly response_500: {
5293
+ message: string;
5294
+ error: string;
5295
+ };
3700
5296
  }, {
3701
5297
  readonly method: "get";
3702
5298
  readonly path: "/staff/exists/:email";
3703
5299
  readonly role: "getStaffExistsByEmail";
3704
5300
  readonly name: "Check staff email exists";
5301
+ readonly response_200: Record<string, never>;
5302
+ readonly response_409: {
5303
+ message: string;
5304
+ };
5305
+ readonly response_500: {
5306
+ message: string;
5307
+ error: string;
5308
+ };
3705
5309
  }, {
3706
5310
  readonly method: "get";
3707
5311
  readonly path: "/staff/all";
3708
5312
  readonly role: "getStaffAll";
3709
5313
  readonly name: "Get all staff";
5314
+ readonly response_200: {
5315
+ staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>[];
5316
+ count?: number;
5317
+ };
5318
+ readonly response_500: {
5319
+ message: string;
5320
+ error: string;
5321
+ };
3710
5322
  }, {
3711
5323
  readonly method: "put";
3712
5324
  readonly path: "/staff/account";
3713
5325
  readonly role: "putStaffAccount";
3714
5326
  readonly name: "Update own staff account";
5327
+ readonly response_200: {
5328
+ staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
5329
+ message: string;
5330
+ };
5331
+ readonly response_404: {
5332
+ message: string;
5333
+ };
5334
+ readonly response_500: {
5335
+ message: string;
5336
+ error: string;
5337
+ };
3715
5338
  }, {
3716
5339
  readonly method: "put";
3717
5340
  readonly path: "/staff/:id";
3718
5341
  readonly role: "putStaffById";
3719
5342
  readonly name: "Update staff by ID";
5343
+ readonly response_200: {
5344
+ staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
5345
+ message: string;
5346
+ };
5347
+ readonly response_404: {
5348
+ message: string;
5349
+ };
5350
+ readonly response_500: {
5351
+ message: string;
5352
+ error: string;
5353
+ };
3720
5354
  }, {
3721
5355
  readonly method: "put";
3722
5356
  readonly path: "/staff/password";
3723
5357
  readonly role: "putStaffPassword";
3724
5358
  readonly name: "Update staff password";
5359
+ readonly response_200: {
5360
+ staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
5361
+ message: string;
5362
+ };
5363
+ readonly response_404: {
5364
+ message: string;
5365
+ };
5366
+ readonly response_500: {
5367
+ message: string;
5368
+ error: string;
5369
+ };
3725
5370
  }, {
3726
5371
  readonly method: "delete";
3727
5372
  readonly path: "/staff/:id";
3728
5373
  readonly role: "deleteStaffById";
3729
5374
  readonly name: "Delete staff by ID";
5375
+ readonly response_200: {
5376
+ staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
5377
+ message: string;
5378
+ };
5379
+ readonly response_404: {
5380
+ message: string;
5381
+ };
5382
+ readonly response_500: {
5383
+ message: string;
5384
+ error: string;
5385
+ };
3730
5386
  }, {
3731
5387
  readonly method: "post";
3732
5388
  readonly path: "/user";
3733
5389
  readonly role: "postUser";
3734
5390
  readonly name: "Register user";
5391
+ readonly response_201: {
5392
+ message: string;
5393
+ };
5394
+ readonly response_500: {
5395
+ message: string;
5396
+ error: string;
5397
+ };
3735
5398
  }, {
3736
5399
  readonly method: "post";
3737
5400
  readonly path: "/user/admin";
3738
5401
  readonly role: "postUserAdmin";
3739
5402
  readonly name: "Create user as admin";
5403
+ readonly response_201: {
5404
+ user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
5405
+ message: string;
5406
+ };
5407
+ readonly response_500: {
5408
+ message: string;
5409
+ error: string;
5410
+ };
3740
5411
  }, {
3741
5412
  readonly method: "post";
3742
5413
  readonly path: "/user/token";
3743
5414
  readonly role: "postUserToken";
3744
5415
  readonly name: "User login (token)";
5416
+ readonly response_200: {
5417
+ user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
5418
+ message: string;
5419
+ };
5420
+ readonly response_401: {
5421
+ message: string;
5422
+ error: string;
5423
+ };
3745
5424
  }, {
3746
5425
  readonly method: "post";
3747
5426
  readonly path: "/user/logout";
3748
5427
  readonly role: "postUserLogout";
3749
5428
  readonly name: "User logout";
5429
+ readonly response_200: {
5430
+ user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
5431
+ message: string;
5432
+ };
5433
+ readonly response_500: {
5434
+ message: string;
5435
+ error: string;
5436
+ };
3750
5437
  }, {
3751
5438
  readonly method: "post";
3752
5439
  readonly path: "/user/logout/all";
3753
5440
  readonly role: "postUserLogoutAll";
3754
5441
  readonly name: "User logout all sessions";
5442
+ readonly response_200: {
5443
+ user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
5444
+ message: string;
5445
+ };
5446
+ readonly response_500: {
5447
+ message: string;
5448
+ error: string;
5449
+ };
3755
5450
  }, {
3756
5451
  readonly method: "post";
3757
5452
  readonly path: "/user/logout/:id";
3758
5453
  readonly role: "postUserLogoutById";
3759
5454
  readonly name: "User logout by session id";
5455
+ readonly response_200: {
5456
+ user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
5457
+ message: string;
5458
+ };
5459
+ readonly response_500: {
5460
+ message: string;
5461
+ error: string;
5462
+ };
3760
5463
  }, {
3761
5464
  readonly method: "get";
3762
5465
  readonly path: "/user";
3763
5466
  readonly role: "getUser";
3764
5467
  readonly name: "Get current user";
5468
+ readonly response_200: {
5469
+ user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
5470
+ };
5471
+ readonly response_500: {
5472
+ message: string;
5473
+ error: string;
5474
+ };
3765
5475
  }, {
3766
5476
  readonly method: "get";
3767
5477
  readonly path: "/user/exists/:email";
3768
5478
  readonly role: "getUserExistsByEmail";
3769
5479
  readonly name: "Check user email exists";
5480
+ readonly response_200: Record<string, never>;
5481
+ readonly response_409: {
5482
+ message: string;
5483
+ };
5484
+ readonly response_500: {
5485
+ message: string;
5486
+ error: string;
5487
+ };
3770
5488
  }, {
3771
5489
  readonly method: "get";
3772
5490
  readonly path: "/user/all";
3773
5491
  readonly role: "getUsers";
3774
5492
  readonly name: "Get users";
5493
+ readonly response_200: {
5494
+ users: import("./inputsDefault").UserBase<TId_24, TDate_24>[];
5495
+ count: number;
5496
+ };
5497
+ readonly response_500: {
5498
+ message: string;
5499
+ error: string;
5500
+ };
3775
5501
  }, {
3776
5502
  readonly method: "put";
3777
5503
  readonly path: "/user/account";
3778
5504
  readonly role: "putUserAccount";
3779
5505
  readonly name: "Update own user account";
5506
+ readonly response_200: {
5507
+ user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
5508
+ message: string;
5509
+ };
5510
+ readonly response_404: {
5511
+ user: import("./inputsDefault").UserBase<TId_24, TDate_24> | null;
5512
+ message: string;
5513
+ };
5514
+ readonly response_500: {
5515
+ message: string;
5516
+ error: string;
5517
+ };
3780
5518
  }, {
3781
5519
  readonly method: "put";
3782
5520
  readonly path: "/user/:id";
3783
5521
  readonly role: "putUserById";
3784
5522
  readonly name: "Update user by ID";
5523
+ readonly response_200: {
5524
+ user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
5525
+ message: string;
5526
+ };
5527
+ readonly response_404: {
5528
+ user: import("./inputsDefault").UserBase<TId_24, TDate_24> | null;
5529
+ message: string;
5530
+ };
5531
+ readonly response_500: {
5532
+ message: string;
5533
+ error: string;
5534
+ };
3785
5535
  }, {
3786
5536
  readonly method: "put";
3787
5537
  readonly path: "/user/password";
3788
5538
  readonly role: "putUserPassword";
3789
5539
  readonly name: "Update user password";
5540
+ readonly response_200: {
5541
+ user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
5542
+ message: string;
5543
+ };
5544
+ readonly response_404: {
5545
+ user: import("./inputsDefault").UserBase<TId_24, TDate_24> | null;
5546
+ message: string;
5547
+ };
5548
+ readonly response_500: {
5549
+ message: string;
5550
+ error: string;
5551
+ };
3790
5552
  }, {
3791
5553
  readonly method: "delete";
3792
5554
  readonly path: "/user/:id";
3793
5555
  readonly role: "deleteUserById";
3794
5556
  readonly name: "Delete user by ID";
5557
+ readonly response_200: {
5558
+ user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
5559
+ message: string;
5560
+ };
5561
+ readonly response_404: {
5562
+ user: import("./inputsDefault").UserBase<TId_24, TDate_24> | null;
5563
+ message: string;
5564
+ };
5565
+ readonly response_500: {
5566
+ message: string;
5567
+ error: string;
5568
+ };
3795
5569
  }, {
3796
5570
  readonly method: "post";
3797
5571
  readonly path: "/checkout/create-session";
3798
5572
  readonly role: "postUtilCreateCheckoutSession";
3799
5573
  readonly name: "Create checkout session";
5574
+ readonly response_200: {
5575
+ checkoutUrl: string;
5576
+ data: string;
5577
+ signature: string;
5578
+ };
5579
+ readonly response_201: {
5580
+ message: string;
5581
+ redirectUri: string;
5582
+ };
5583
+ readonly response_400: {
5584
+ message: string;
5585
+ };
3800
5586
  }, {
3801
5587
  readonly method: "post";
3802
5588
  readonly path: "/checkout/result";
3803
5589
  readonly role: "postCheckoutResult";
3804
5590
  readonly name: "Handle checkout";
5591
+ readonly response_200: {
5592
+ message: string;
5593
+ redirectPath?: string;
5594
+ };
3805
5595
  }, {
3806
5596
  readonly method: "post";
3807
5597
  readonly path: "/util/file/upload/:id";
3808
5598
  readonly role: "postUtilFileUploadById";
3809
5599
  readonly name: "Upload file by ID";
5600
+ readonly response_200: {
5601
+ message: string;
5602
+ secure_url: string;
5603
+ };
5604
+ readonly response_400: {
5605
+ message: string;
5606
+ };
5607
+ readonly response_500: {
5608
+ message: string;
5609
+ error?: string;
5610
+ };
3810
5611
  }, {
3811
5612
  readonly method: "post";
3812
5613
  readonly path: "/util/file/delete";
3813
5614
  readonly role: "postUtilFileDelete";
3814
5615
  readonly name: "Delete files";
5616
+ readonly response_200: {
5617
+ message?: string;
5618
+ };
5619
+ readonly response_400: {
5620
+ message: string;
5621
+ };
5622
+ readonly response_500: {
5623
+ message: string;
5624
+ error?: string;
5625
+ };
3815
5626
  }, {
3816
5627
  readonly method: "post";
3817
5628
  readonly path: "/util/pdf/create";
3818
5629
  readonly role: "postUtilPdfCreate";
3819
5630
  readonly name: "Create PDF";
5631
+ readonly response_201: {
5632
+ message: string;
5633
+ fileUrl: string;
5634
+ };
5635
+ readonly response_400: {
5636
+ message: string;
5637
+ };
5638
+ readonly response_500: {
5639
+ message: string;
5640
+ error?: string;
5641
+ };
3820
5642
  }, {
3821
5643
  readonly method: "post";
3822
5644
  readonly path: "/util/google/webhook";