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