ob-bms-sdk 0.0.23 → 0.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api/api.ts CHANGED
@@ -23,6 +23,113 @@ import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError } from './base';
25
25
 
26
+ /**
27
+ *
28
+ * @export
29
+ * @interface CommandData
30
+ */
31
+ export interface CommandData {
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof CommandData
36
+ */
37
+ 'id'?: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof CommandData
42
+ */
43
+ 'name'?: string;
44
+ /**
45
+ *
46
+ * @type {PrismaJsonValue}
47
+ * @memberof CommandData
48
+ */
49
+ 'data'?: PrismaJsonValue | null;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof CommandData
54
+ */
55
+ 'created_at'?: string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof CommandData
60
+ */
61
+ 'updated_at'?: string;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof CommandData
66
+ */
67
+ 'member_id'?: string;
68
+ }
69
+ /**
70
+ *
71
+ * @export
72
+ * @interface CommandsCreateBody
73
+ */
74
+ export interface CommandsCreateBody {
75
+ /**
76
+ *
77
+ * @type {string}
78
+ * @memberof CommandsCreateBody
79
+ */
80
+ 'name': CommandsCreateBodyNameEnum;
81
+ /**
82
+ *
83
+ * @type {LiftCallCommandData}
84
+ * @memberof CommandsCreateBody
85
+ */
86
+ 'data': LiftCallCommandData;
87
+ }
88
+
89
+ export const CommandsCreateBodyNameEnum = {
90
+ LiftCall: 'lift.call'
91
+ } as const;
92
+
93
+ export type CommandsCreateBodyNameEnum = typeof CommandsCreateBodyNameEnum[keyof typeof CommandsCreateBodyNameEnum];
94
+
95
+ /**
96
+ *
97
+ * @export
98
+ * @interface CommandsIndexQuery
99
+ */
100
+ export interface CommandsIndexQuery {
101
+ /**
102
+ *
103
+ * @type {string}
104
+ * @memberof CommandsIndexQuery
105
+ */
106
+ 'name'?: string;
107
+ /**
108
+ *
109
+ * @type {string}
110
+ * @memberof CommandsIndexQuery
111
+ */
112
+ 'order_by'?: string;
113
+ /**
114
+ *
115
+ * @type {string}
116
+ * @memberof CommandsIndexQuery
117
+ */
118
+ 'order_direction'?: string;
119
+ }
120
+ /**
121
+ *
122
+ * @export
123
+ * @interface ConsentRequestBody
124
+ */
125
+ export interface ConsentRequestBody {
126
+ /**
127
+ *
128
+ * @type {boolean}
129
+ * @memberof ConsentRequestBody
130
+ */
131
+ 'consent': boolean;
132
+ }
26
133
  /**
27
134
  *
28
135
  * @export
@@ -314,6 +421,55 @@ export interface FloorData {
314
421
  */
315
422
  'updated_at': string;
316
423
  }
424
+ /**
425
+ *
426
+ * @export
427
+ * @interface FloorDataPasses
428
+ */
429
+ export interface FloorDataPasses {
430
+ /**
431
+ *
432
+ * @type {string}
433
+ * @memberof FloorDataPasses
434
+ */
435
+ 'id': string;
436
+ /**
437
+ *
438
+ * @type {string}
439
+ * @memberof FloorDataPasses
440
+ */
441
+ 'uid': string;
442
+ /**
443
+ *
444
+ * @type {string}
445
+ * @memberof FloorDataPasses
446
+ */
447
+ 'name': string;
448
+ /**
449
+ *
450
+ * @type {JsonValue}
451
+ * @memberof FloorDataPasses
452
+ */
453
+ 'display_name': JsonValue | null;
454
+ /**
455
+ *
456
+ * @type {string}
457
+ * @memberof FloorDataPasses
458
+ */
459
+ 'tower_id': string;
460
+ /**
461
+ *
462
+ * @type {string}
463
+ * @memberof FloorDataPasses
464
+ */
465
+ 'created_at': string;
466
+ /**
467
+ *
468
+ * @type {string}
469
+ * @memberof FloorDataPasses
470
+ */
471
+ 'updated_at': string;
472
+ }
317
473
  /**
318
474
  *
319
475
  * @export
@@ -321,6 +477,25 @@ export interface FloorData {
321
477
  */
322
478
  export interface JsonValue {
323
479
  }
480
+ /**
481
+ *
482
+ * @export
483
+ * @interface LiftCallCommandData
484
+ */
485
+ export interface LiftCallCommandData {
486
+ /**
487
+ *
488
+ * @type {string}
489
+ * @memberof LiftCallCommandData
490
+ */
491
+ 'destination_floor_id': string;
492
+ /**
493
+ *
494
+ * @type {string}
495
+ * @memberof LiftCallCommandData
496
+ */
497
+ 'location_id': string;
498
+ }
324
499
  /**
325
500
  *
326
501
  * @export
@@ -349,187 +524,439 @@ export interface LocationData {
349
524
  /**
350
525
  *
351
526
  * @export
352
- * @interface MembersShowResponse
527
+ * @interface LocationPasses
353
528
  */
354
- export interface MembersShowResponse {
529
+ export interface LocationPasses {
355
530
  /**
356
531
  *
357
532
  * @type {string}
358
- * @memberof MembersShowResponse
533
+ * @memberof LocationPasses
359
534
  */
360
535
  'id': string;
361
536
  /**
362
537
  *
363
538
  * @type {string}
364
- * @memberof MembersShowResponse
539
+ * @memberof LocationPasses
365
540
  */
366
541
  'uid': string;
367
542
  /**
368
543
  *
369
- * @type {JsonValue}
370
- * @memberof MembersShowResponse
544
+ * @type {string}
545
+ * @memberof LocationPasses
371
546
  */
372
- 'metadata': JsonValue | null;
547
+ 'name': string;
373
548
  /**
374
549
  *
375
550
  * @type {string}
376
- * @memberof MembersShowResponse
551
+ * @memberof LocationPasses
377
552
  */
378
- 'account_id': string | null;
553
+ 'coordinate': string;
379
554
  /**
380
555
  *
381
556
  * @type {string}
382
- * @memberof MembersShowResponse
557
+ * @memberof LocationPasses
383
558
  */
384
- 'created_at': string;
559
+ 'tower_id': string;
385
560
  /**
386
561
  *
387
562
  * @type {string}
388
- * @memberof MembersShowResponse
563
+ * @memberof LocationPasses
389
564
  */
390
- 'updated_at': string;
565
+ 'floor_id': string;
391
566
  /**
392
567
  *
393
- * @type {Array<PassData>}
394
- * @memberof MembersShowResponse
568
+ * @type {string}
569
+ * @memberof LocationPasses
395
570
  */
396
- 'passes': Array<PassData>;
571
+ 'zone_id': string;
397
572
  /**
398
573
  *
399
- * @type {Array<TowerData>}
400
- * @memberof MembersShowResponse
574
+ * @type {TowerDataPasses}
575
+ * @memberof LocationPasses
401
576
  */
402
- 'towers': Array<TowerData>;
577
+ 'tower': TowerDataPasses;
578
+ /**
579
+ *
580
+ * @type {FloorDataPasses}
581
+ * @memberof LocationPasses
582
+ */
583
+ 'floor': FloorDataPasses;
584
+ /**
585
+ *
586
+ * @type {string}
587
+ * @memberof LocationPasses
588
+ */
589
+ 'created_at': string;
590
+ /**
591
+ *
592
+ * @type {string}
593
+ * @memberof LocationPasses
594
+ */
595
+ 'updated_at': string;
403
596
  }
404
597
  /**
405
598
  *
406
599
  * @export
407
- * @interface PassData
600
+ * @interface MembersPasses
408
601
  */
409
- export interface PassData {
602
+ export interface MembersPasses {
410
603
  /**
411
604
  *
412
- * @type {VisitorData}
413
- * @memberof PassData
605
+ * @type {string}
606
+ * @memberof MembersPasses
414
607
  */
415
- 'visitor': VisitorData;
608
+ 'uid': string;
609
+ /**
610
+ *
611
+ * @type {JsonValue}
612
+ * @memberof MembersPasses
613
+ */
614
+ 'metadata': JsonValue | null;
416
615
  /**
417
616
  *
418
617
  * @type {string}
419
- * @memberof PassData
618
+ * @memberof MembersPasses
420
619
  */
421
- 'updated_at': string;
620
+ 'account_id': string | null;
422
621
  /**
423
622
  *
424
623
  * @type {string}
425
- * @memberof PassData
624
+ * @memberof MembersPasses
426
625
  */
427
626
  'created_at': string;
428
627
  /**
429
628
  *
430
629
  * @type {string}
431
- * @memberof PassData
630
+ * @memberof MembersPasses
432
631
  */
433
- 'status': PassDataStatusEnum;
632
+ 'updated_at': string;
633
+ }
634
+ /**
635
+ *
636
+ * @export
637
+ * @interface MembersShowResponse
638
+ */
639
+ export interface MembersShowResponse {
434
640
  /**
435
641
  *
436
642
  * @type {string}
437
- * @memberof PassData
643
+ * @memberof MembersShowResponse
438
644
  */
439
- 'issuer_id': string;
645
+ 'id': string;
440
646
  /**
441
647
  *
442
648
  * @type {string}
443
- * @memberof PassData
649
+ * @memberof MembersShowResponse
444
650
  */
445
- 'visit_schedule_id': string;
651
+ 'uid': string;
446
652
  /**
447
653
  *
448
- * @type {string}
449
- * @memberof PassData
654
+ * @type {JsonValue}
655
+ * @memberof MembersShowResponse
450
656
  */
451
- 'visitor_id': string;
657
+ 'metadata': JsonValue | null;
452
658
  /**
453
659
  *
454
660
  * @type {string}
455
- * @memberof PassData
661
+ * @memberof MembersShowResponse
456
662
  */
457
- 'to': string;
663
+ 'account_id': string | null;
458
664
  /**
459
665
  *
460
666
  * @type {string}
461
- * @memberof PassData
667
+ * @memberof MembersShowResponse
462
668
  */
463
- 'from': string;
669
+ 'created_at': string;
464
670
  /**
465
671
  *
466
672
  * @type {string}
467
- * @memberof PassData
673
+ * @memberof MembersShowResponse
468
674
  */
469
- 'uid': string | null;
675
+ 'updated_at': string;
470
676
  /**
471
677
  *
472
- * @type {string}
473
- * @memberof PassData
678
+ * @type {Array<PassData>}
679
+ * @memberof MembersShowResponse
474
680
  */
475
- 'id': string;
681
+ 'passes': Array<PassData>;
682
+ /**
683
+ *
684
+ * @type {Array<TowerData>}
685
+ * @memberof MembersShowResponse
686
+ */
687
+ 'towers': Array<TowerData>;
476
688
  }
477
-
478
- export const PassDataStatusEnum = {
479
- Pending: 'pending',
480
- Confirmed: 'confirmed'
481
- } as const;
482
-
483
- export type PassDataStatusEnum = typeof PassDataStatusEnum[keyof typeof PassDataStatusEnum];
484
-
485
689
  /**
486
690
  *
487
691
  * @export
488
- * @interface PersonData
692
+ * @interface ParkingLotData
489
693
  */
490
- export interface PersonData {
694
+ export interface ParkingLotData {
491
695
  /**
492
696
  *
493
697
  * @type {string}
494
- * @memberof PersonData
698
+ * @memberof ParkingLotData
495
699
  */
496
- 'personID': string;
700
+ 'id'?: string;
497
701
  /**
498
702
  *
499
- * @type {Array<number>}
500
- * @memberof PersonData
703
+ * @type {string}
704
+ * @memberof ParkingLotData
501
705
  */
502
- 'tenantIDs': Array<number>;
706
+ 'name'?: string;
503
707
  /**
504
708
  *
505
- * @type {Array<string>}
506
- * @memberof PersonData
709
+ * @type {PrismaJsonValue}
710
+ * @memberof ParkingLotData
507
711
  */
508
- 'phones': Array<string>;
712
+ 'display_name'?: PrismaJsonValue | null;
509
713
  /**
510
714
  *
511
- * @type {Array<string>}
512
- * @memberof PersonData
715
+ * @type {string}
716
+ * @memberof ParkingLotData
513
717
  */
514
- 'emails': Array<string>;
718
+ 'created_at'?: string;
515
719
  /**
516
720
  *
517
- * @type {Array<LocationData>}
518
- * @memberof PersonData
721
+ * @type {string}
722
+ * @memberof ParkingLotData
519
723
  */
520
- 'locations': Array<LocationData>;
724
+ 'updated_at'?: string;
521
725
  /**
522
726
  *
523
727
  * @type {string}
524
- * @memberof PersonData
728
+ * @memberof ParkingLotData
525
729
  */
526
- 'updateTime': string;
730
+ 'zone_id'?: string;
527
731
  /**
528
732
  *
529
- * @type {boolean}
530
- * @memberof PersonData
733
+ * @type {Array<SpotTypeData>}
734
+ * @memberof ParkingLotData
531
735
  */
532
- 'active': boolean;
736
+ 'spot_types': Array<SpotTypeData>;
737
+ /**
738
+ *
739
+ * @type {number}
740
+ * @memberof ParkingLotData
741
+ */
742
+ 'total_available_slots': number;
743
+ /**
744
+ *
745
+ * @type {ZoneData}
746
+ * @memberof ParkingLotData
747
+ */
748
+ 'zone': ZoneData;
749
+ }
750
+ /**
751
+ *
752
+ * @export
753
+ * @interface PassConsentResponse
754
+ */
755
+ export interface PassConsentResponse {
756
+ /**
757
+ *
758
+ * @type {string}
759
+ * @memberof PassConsentResponse
760
+ */
761
+ 'id': string;
762
+ /**
763
+ *
764
+ * @type {string}
765
+ * @memberof PassConsentResponse
766
+ */
767
+ 'created_at': string;
768
+ /**
769
+ *
770
+ * @type {string}
771
+ * @memberof PassConsentResponse
772
+ */
773
+ 'updated_at': string;
774
+ /**
775
+ *
776
+ * @type {string}
777
+ * @memberof PassConsentResponse
778
+ */
779
+ 'uid': string | null;
780
+ /**
781
+ *
782
+ * @type {string}
783
+ * @memberof PassConsentResponse
784
+ */
785
+ 'from': string;
786
+ /**
787
+ *
788
+ * @type {string}
789
+ * @memberof PassConsentResponse
790
+ */
791
+ 'to': string;
792
+ /**
793
+ *
794
+ * @type {string}
795
+ * @memberof PassConsentResponse
796
+ */
797
+ 'visitor_id': string;
798
+ /**
799
+ *
800
+ * @type {string}
801
+ * @memberof PassConsentResponse
802
+ */
803
+ 'issuer_id': string;
804
+ /**
805
+ *
806
+ * @type {string}
807
+ * @memberof PassConsentResponse
808
+ */
809
+ 'status': PassConsentResponseStatusEnum;
810
+ /**
811
+ *
812
+ * @type {string}
813
+ * @memberof PassConsentResponse
814
+ */
815
+ 'visit_schedule_id': string;
816
+ /**
817
+ *
818
+ * @type {boolean}
819
+ * @memberof PassConsentResponse
820
+ */
821
+ 'consent'?: boolean | null;
822
+ }
823
+
824
+ export const PassConsentResponseStatusEnum = {
825
+ Pending: 'pending',
826
+ Confirmed: 'confirmed'
827
+ } as const;
828
+
829
+ export type PassConsentResponseStatusEnum = typeof PassConsentResponseStatusEnum[keyof typeof PassConsentResponseStatusEnum];
830
+
831
+ /**
832
+ *
833
+ * @export
834
+ * @interface PassData
835
+ */
836
+ export interface PassData {
837
+ /**
838
+ *
839
+ * @type {VisitorData}
840
+ * @memberof PassData
841
+ */
842
+ 'visitor': VisitorData;
843
+ /**
844
+ *
845
+ * @type {string}
846
+ * @memberof PassData
847
+ */
848
+ 'updated_at': string;
849
+ /**
850
+ *
851
+ * @type {string}
852
+ * @memberof PassData
853
+ */
854
+ 'created_at': string;
855
+ /**
856
+ *
857
+ * @type {string}
858
+ * @memberof PassData
859
+ */
860
+ 'status': PassDataStatusEnum;
861
+ /**
862
+ *
863
+ * @type {string}
864
+ * @memberof PassData
865
+ */
866
+ 'issuer_id': string;
867
+ /**
868
+ *
869
+ * @type {string}
870
+ * @memberof PassData
871
+ */
872
+ 'visit_schedule_id': string;
873
+ /**
874
+ *
875
+ * @type {string}
876
+ * @memberof PassData
877
+ */
878
+ 'visitor_id': string;
879
+ /**
880
+ *
881
+ * @type {string}
882
+ * @memberof PassData
883
+ */
884
+ 'to': string;
885
+ /**
886
+ *
887
+ * @type {string}
888
+ * @memberof PassData
889
+ */
890
+ 'from': string;
891
+ /**
892
+ *
893
+ * @type {string}
894
+ * @memberof PassData
895
+ */
896
+ 'uid': string | null;
897
+ /**
898
+ *
899
+ * @type {string}
900
+ * @memberof PassData
901
+ */
902
+ 'id': string;
903
+ }
904
+
905
+ export const PassDataStatusEnum = {
906
+ Pending: 'pending',
907
+ Confirmed: 'confirmed'
908
+ } as const;
909
+
910
+ export type PassDataStatusEnum = typeof PassDataStatusEnum[keyof typeof PassDataStatusEnum];
911
+
912
+ /**
913
+ *
914
+ * @export
915
+ * @interface PersonData
916
+ */
917
+ export interface PersonData {
918
+ /**
919
+ *
920
+ * @type {string}
921
+ * @memberof PersonData
922
+ */
923
+ 'personID': string;
924
+ /**
925
+ *
926
+ * @type {Array<number>}
927
+ * @memberof PersonData
928
+ */
929
+ 'tenantIDs': Array<number>;
930
+ /**
931
+ *
932
+ * @type {Array<string>}
933
+ * @memberof PersonData
934
+ */
935
+ 'phones': Array<string>;
936
+ /**
937
+ *
938
+ * @type {Array<string>}
939
+ * @memberof PersonData
940
+ */
941
+ 'emails': Array<string>;
942
+ /**
943
+ *
944
+ * @type {Array<LocationData>}
945
+ * @memberof PersonData
946
+ */
947
+ 'locations': Array<LocationData>;
948
+ /**
949
+ *
950
+ * @type {string}
951
+ * @memberof PersonData
952
+ */
953
+ 'updateTime': string;
954
+ /**
955
+ *
956
+ * @type {boolean}
957
+ * @memberof PersonData
958
+ */
959
+ 'active': boolean;
533
960
  /**
534
961
  *
535
962
  * @type {string}
@@ -537,6 +964,118 @@ export interface PersonData {
537
964
  */
538
965
  'status': string;
539
966
  }
967
+ /**
968
+ * From https://github.com/sindresorhus/type-fest/ Matches any valid JSON value.
969
+ * @export
970
+ * @interface PrismaJsonValue
971
+ */
972
+ export interface PrismaJsonValue {
973
+ }
974
+ /**
975
+ *
976
+ * @export
977
+ * @interface ShowPassResponse
978
+ */
979
+ export interface ShowPassResponse {
980
+ /**
981
+ *
982
+ * @type {LocationPasses}
983
+ * @memberof ShowPassResponse
984
+ */
985
+ 'location': LocationPasses;
986
+ /**
987
+ *
988
+ * @type {MembersPasses}
989
+ * @memberof ShowPassResponse
990
+ */
991
+ 'issuer': MembersPasses;
992
+ /**
993
+ *
994
+ * @type {VisitorPasses}
995
+ * @memberof ShowPassResponse
996
+ */
997
+ 'visitor': VisitorPasses;
998
+ /**
999
+ *
1000
+ * @type {VisitorSchedulePasses}
1001
+ * @memberof ShowPassResponse
1002
+ */
1003
+ 'visitor_schedule': VisitorSchedulePasses;
1004
+ /**
1005
+ *
1006
+ * @type {boolean}
1007
+ * @memberof ShowPassResponse
1008
+ */
1009
+ 'consent'?: boolean | null;
1010
+ /**
1011
+ *
1012
+ * @type {string}
1013
+ * @memberof ShowPassResponse
1014
+ */
1015
+ 'visit_schedule_id': string;
1016
+ /**
1017
+ *
1018
+ * @type {string}
1019
+ * @memberof ShowPassResponse
1020
+ */
1021
+ 'updated_at': string;
1022
+ /**
1023
+ *
1024
+ * @type {string}
1025
+ * @memberof ShowPassResponse
1026
+ */
1027
+ 'created_at': string;
1028
+ /**
1029
+ *
1030
+ * @type {string}
1031
+ * @memberof ShowPassResponse
1032
+ */
1033
+ 'status': ShowPassResponseStatusEnum;
1034
+ /**
1035
+ *
1036
+ * @type {string}
1037
+ * @memberof ShowPassResponse
1038
+ */
1039
+ 'issuer_id': string;
1040
+ /**
1041
+ *
1042
+ * @type {string}
1043
+ * @memberof ShowPassResponse
1044
+ */
1045
+ 'visitor_id': string;
1046
+ /**
1047
+ *
1048
+ * @type {string}
1049
+ * @memberof ShowPassResponse
1050
+ */
1051
+ 'to': string;
1052
+ /**
1053
+ *
1054
+ * @type {string}
1055
+ * @memberof ShowPassResponse
1056
+ */
1057
+ 'from': string;
1058
+ /**
1059
+ *
1060
+ * @type {string}
1061
+ * @memberof ShowPassResponse
1062
+ */
1063
+ 'uid': string | null;
1064
+ /**
1065
+ *
1066
+ * @type {string}
1067
+ * @memberof ShowPassResponse
1068
+ */
1069
+ 'id': string;
1070
+ }
1071
+
1072
+ export const ShowPassResponseStatusEnum = {
1073
+ Pending: 'pending',
1074
+ Confirmed: 'confirmed'
1075
+ } as const;
1076
+
1077
+ export type ShowPassResponseStatusEnum = typeof ShowPassResponseStatusEnum[keyof typeof ShowPassResponseStatusEnum];
1078
+
540
1079
  /**
541
1080
  *
542
1081
  * @export
@@ -598,6 +1137,55 @@ export interface ShowVisitorResponse {
598
1137
  */
599
1138
  'updated_at': string;
600
1139
  }
1140
+ /**
1141
+ *
1142
+ * @export
1143
+ * @interface SpotTypeData
1144
+ */
1145
+ export interface SpotTypeData {
1146
+ /**
1147
+ *
1148
+ * @type {string}
1149
+ * @memberof SpotTypeData
1150
+ */
1151
+ 'id'?: string;
1152
+ /**
1153
+ *
1154
+ * @type {string}
1155
+ * @memberof SpotTypeData
1156
+ */
1157
+ 'name'?: string;
1158
+ /**
1159
+ *
1160
+ * @type {PrismaJsonValue}
1161
+ * @memberof SpotTypeData
1162
+ */
1163
+ 'display_name'?: PrismaJsonValue | null;
1164
+ /**
1165
+ *
1166
+ * @type {number}
1167
+ * @memberof SpotTypeData
1168
+ */
1169
+ 'available_spots'?: number;
1170
+ /**
1171
+ *
1172
+ * @type {string}
1173
+ * @memberof SpotTypeData
1174
+ */
1175
+ 'created_at'?: string;
1176
+ /**
1177
+ *
1178
+ * @type {string}
1179
+ * @memberof SpotTypeData
1180
+ */
1181
+ 'updated_at'?: string;
1182
+ /**
1183
+ *
1184
+ * @type {string}
1185
+ * @memberof SpotTypeData
1186
+ */
1187
+ 'parking_lot_id'?: string;
1188
+ }
601
1189
  /**
602
1190
  *
603
1191
  * @export
@@ -730,6 +1318,55 @@ export interface TowerData {
730
1318
  */
731
1319
  'floors': Array<FloorData>;
732
1320
  }
1321
+ /**
1322
+ *
1323
+ * @export
1324
+ * @interface TowerDataPasses
1325
+ */
1326
+ export interface TowerDataPasses {
1327
+ /**
1328
+ *
1329
+ * @type {string}
1330
+ * @memberof TowerDataPasses
1331
+ */
1332
+ 'id': string;
1333
+ /**
1334
+ *
1335
+ * @type {string}
1336
+ * @memberof TowerDataPasses
1337
+ */
1338
+ 'uid': string;
1339
+ /**
1340
+ *
1341
+ * @type {string}
1342
+ * @memberof TowerDataPasses
1343
+ */
1344
+ 'name': string;
1345
+ /**
1346
+ *
1347
+ * @type {JsonValue}
1348
+ * @memberof TowerDataPasses
1349
+ */
1350
+ 'display_name': JsonValue | null;
1351
+ /**
1352
+ *
1353
+ * @type {string}
1354
+ * @memberof TowerDataPasses
1355
+ */
1356
+ 'project_id': string;
1357
+ /**
1358
+ *
1359
+ * @type {string}
1360
+ * @memberof TowerDataPasses
1361
+ */
1362
+ 'created_at': string;
1363
+ /**
1364
+ *
1365
+ * @type {string}
1366
+ * @memberof TowerDataPasses
1367
+ */
1368
+ 'updated_at': string;
1369
+ }
733
1370
  /**
734
1371
  *
735
1372
  * @export
@@ -791,6 +1428,61 @@ export interface VisitorData {
791
1428
  */
792
1429
  'id': string;
793
1430
  }
1431
+ /**
1432
+ *
1433
+ * @export
1434
+ * @interface VisitorPasses
1435
+ */
1436
+ export interface VisitorPasses {
1437
+ /**
1438
+ *
1439
+ * @type {string}
1440
+ * @memberof VisitorPasses
1441
+ */
1442
+ 'name': string;
1443
+ /**
1444
+ *
1445
+ * @type {string}
1446
+ * @memberof VisitorPasses
1447
+ */
1448
+ 'profile_image_url': string | null;
1449
+ /**
1450
+ *
1451
+ * @type {string}
1452
+ * @memberof VisitorPasses
1453
+ */
1454
+ 'email': string;
1455
+ /**
1456
+ *
1457
+ * @type {string}
1458
+ * @memberof VisitorPasses
1459
+ */
1460
+ 'company_name': string;
1461
+ /**
1462
+ *
1463
+ * @type {string}
1464
+ * @memberof VisitorPasses
1465
+ */
1466
+ 'reference': string;
1467
+ /**
1468
+ *
1469
+ * @type {string}
1470
+ * @memberof VisitorPasses
1471
+ */
1472
+ 'inviter_id': string;
1473
+ /**
1474
+ *
1475
+ * @type {string}
1476
+ * @memberof VisitorPasses
1477
+ */
1478
+ 'created_at': string;
1479
+ /**
1480
+ *
1481
+ * @type {string}
1482
+ * @memberof VisitorPasses
1483
+ */
1484
+ 'updated_at': string;
1485
+ }
794
1486
  /**
795
1487
  *
796
1488
  * @export
@@ -808,25 +1500,74 @@ export interface VisitorSchedule {
808
1500
  * @type {string}
809
1501
  * @memberof VisitorSchedule
810
1502
  */
811
- 'floor_id': string;
1503
+ 'floor_id': string;
1504
+ /**
1505
+ *
1506
+ * @type {FindMemberResultCreatedAt}
1507
+ * @memberof VisitorSchedule
1508
+ */
1509
+ 'from': FindMemberResultCreatedAt;
1510
+ /**
1511
+ *
1512
+ * @type {FindMemberResultCreatedAt}
1513
+ * @memberof VisitorSchedule
1514
+ */
1515
+ 'to': FindMemberResultCreatedAt;
1516
+ /**
1517
+ *
1518
+ * @type {object}
1519
+ * @memberof VisitorSchedule
1520
+ */
1521
+ 'repetition'?: object;
1522
+ }
1523
+ /**
1524
+ *
1525
+ * @export
1526
+ * @interface VisitorSchedulePasses
1527
+ */
1528
+ export interface VisitorSchedulePasses {
1529
+ /**
1530
+ *
1531
+ * @type {string}
1532
+ * @memberof VisitorSchedulePasses
1533
+ */
1534
+ 'tower_id': string;
1535
+ /**
1536
+ *
1537
+ * @type {string}
1538
+ * @memberof VisitorSchedulePasses
1539
+ */
1540
+ 'floor_id': string;
1541
+ /**
1542
+ *
1543
+ * @type {string}
1544
+ * @memberof VisitorSchedulePasses
1545
+ */
1546
+ 'from': string;
1547
+ /**
1548
+ *
1549
+ * @type {string}
1550
+ * @memberof VisitorSchedulePasses
1551
+ */
1552
+ 'to': string;
812
1553
  /**
813
1554
  *
814
- * @type {FindMemberResultCreatedAt}
815
- * @memberof VisitorSchedule
1555
+ * @type {object}
1556
+ * @memberof VisitorSchedulePasses
816
1557
  */
817
- 'from': FindMemberResultCreatedAt;
1558
+ 'repetition'?: object;
818
1559
  /**
819
1560
  *
820
- * @type {FindMemberResultCreatedAt}
821
- * @memberof VisitorSchedule
1561
+ * @type {string}
1562
+ * @memberof VisitorSchedulePasses
822
1563
  */
823
- 'to': FindMemberResultCreatedAt;
1564
+ 'created_at': string;
824
1565
  /**
825
1566
  *
826
- * @type {object}
827
- * @memberof VisitorSchedule
1567
+ * @type {string}
1568
+ * @memberof VisitorSchedulePasses
828
1569
  */
829
- 'repetition'?: object;
1570
+ 'updated_at': string;
830
1571
  }
831
1572
  /**
832
1573
  *
@@ -869,7 +1610,83 @@ export interface WebhookCreateBody {
869
1610
  * @type {string}
870
1611
  * @memberof WebhookCreateBody
871
1612
  */
872
- 'visitorPassID': string;
1613
+ 'uid': string;
1614
+ }
1615
+ /**
1616
+ *
1617
+ * @export
1618
+ * @interface WrappedResponseCommandsCreateResponse
1619
+ */
1620
+ export interface WrappedResponseCommandsCreateResponse {
1621
+ /**
1622
+ *
1623
+ * @type {WrappedResponseCommandsCreateResponseData}
1624
+ * @memberof WrappedResponseCommandsCreateResponse
1625
+ */
1626
+ 'data': WrappedResponseCommandsCreateResponseData | null;
1627
+ }
1628
+ /**
1629
+ *
1630
+ * @export
1631
+ * @interface WrappedResponseCommandsCreateResponseData
1632
+ */
1633
+ export interface WrappedResponseCommandsCreateResponseData {
1634
+ /**
1635
+ *
1636
+ * @type {string}
1637
+ * @memberof WrappedResponseCommandsCreateResponseData
1638
+ */
1639
+ 'id'?: string;
1640
+ /**
1641
+ *
1642
+ * @type {string}
1643
+ * @memberof WrappedResponseCommandsCreateResponseData
1644
+ */
1645
+ 'name'?: string;
1646
+ /**
1647
+ *
1648
+ * @type {PrismaJsonValue}
1649
+ * @memberof WrappedResponseCommandsCreateResponseData
1650
+ */
1651
+ 'data'?: PrismaJsonValue | null;
1652
+ /**
1653
+ *
1654
+ * @type {string}
1655
+ * @memberof WrappedResponseCommandsCreateResponseData
1656
+ */
1657
+ 'created_at'?: string;
1658
+ /**
1659
+ *
1660
+ * @type {string}
1661
+ * @memberof WrappedResponseCommandsCreateResponseData
1662
+ */
1663
+ 'updated_at'?: string;
1664
+ /**
1665
+ *
1666
+ * @type {string}
1667
+ * @memberof WrappedResponseCommandsCreateResponseData
1668
+ */
1669
+ 'member_id'?: string;
1670
+ }
1671
+ /**
1672
+ *
1673
+ * @export
1674
+ * @interface WrappedResponseCommandsIndexResponse
1675
+ */
1676
+ export interface WrappedResponseCommandsIndexResponse {
1677
+ /**
1678
+ *
1679
+ * @type {WrappedResponseCommandsIndexResponseData}
1680
+ * @memberof WrappedResponseCommandsIndexResponse
1681
+ */
1682
+ 'data': WrappedResponseCommandsIndexResponseData | null;
1683
+ }
1684
+ /**
1685
+ *
1686
+ * @export
1687
+ * @interface WrappedResponseCommandsIndexResponseData
1688
+ */
1689
+ export interface WrappedResponseCommandsIndexResponseData {
873
1690
  }
874
1691
  /**
875
1692
  *
@@ -1053,6 +1870,133 @@ export const WrappedResponseNullDataEnum = {
1053
1870
 
1054
1871
  export type WrappedResponseNullDataEnum = typeof WrappedResponseNullDataEnum[keyof typeof WrappedResponseNullDataEnum];
1055
1872
 
1873
+ /**
1874
+ *
1875
+ * @export
1876
+ * @interface WrappedResponseParkingLotsIndexResponse
1877
+ */
1878
+ export interface WrappedResponseParkingLotsIndexResponse {
1879
+ /**
1880
+ *
1881
+ * @type {WrappedResponseParkingLotsIndexResponseData}
1882
+ * @memberof WrappedResponseParkingLotsIndexResponse
1883
+ */
1884
+ 'data': WrappedResponseParkingLotsIndexResponseData | null;
1885
+ }
1886
+ /**
1887
+ *
1888
+ * @export
1889
+ * @interface WrappedResponseParkingLotsIndexResponseData
1890
+ */
1891
+ export interface WrappedResponseParkingLotsIndexResponseData {
1892
+ }
1893
+ /**
1894
+ *
1895
+ * @export
1896
+ * @interface WrappedResponsePassConsentResponse
1897
+ */
1898
+ export interface WrappedResponsePassConsentResponse {
1899
+ /**
1900
+ *
1901
+ * @type {WrappedResponsePassConsentResponseData}
1902
+ * @memberof WrappedResponsePassConsentResponse
1903
+ */
1904
+ 'data': WrappedResponsePassConsentResponseData | null;
1905
+ }
1906
+ /**
1907
+ *
1908
+ * @export
1909
+ * @interface WrappedResponsePassConsentResponseData
1910
+ */
1911
+ export interface WrappedResponsePassConsentResponseData {
1912
+ /**
1913
+ *
1914
+ * @type {string}
1915
+ * @memberof WrappedResponsePassConsentResponseData
1916
+ */
1917
+ 'id': string;
1918
+ /**
1919
+ *
1920
+ * @type {string}
1921
+ * @memberof WrappedResponsePassConsentResponseData
1922
+ */
1923
+ 'created_at': string;
1924
+ /**
1925
+ *
1926
+ * @type {string}
1927
+ * @memberof WrappedResponsePassConsentResponseData
1928
+ */
1929
+ 'updated_at': string;
1930
+ /**
1931
+ *
1932
+ * @type {string}
1933
+ * @memberof WrappedResponsePassConsentResponseData
1934
+ */
1935
+ 'uid': string | null;
1936
+ /**
1937
+ *
1938
+ * @type {string}
1939
+ * @memberof WrappedResponsePassConsentResponseData
1940
+ */
1941
+ 'from': string;
1942
+ /**
1943
+ *
1944
+ * @type {string}
1945
+ * @memberof WrappedResponsePassConsentResponseData
1946
+ */
1947
+ 'to': string;
1948
+ /**
1949
+ *
1950
+ * @type {string}
1951
+ * @memberof WrappedResponsePassConsentResponseData
1952
+ */
1953
+ 'visitor_id': string;
1954
+ /**
1955
+ *
1956
+ * @type {string}
1957
+ * @memberof WrappedResponsePassConsentResponseData
1958
+ */
1959
+ 'issuer_id': string;
1960
+ /**
1961
+ *
1962
+ * @type {string}
1963
+ * @memberof WrappedResponsePassConsentResponseData
1964
+ */
1965
+ 'status': WrappedResponsePassConsentResponseDataStatusEnum;
1966
+ /**
1967
+ *
1968
+ * @type {string}
1969
+ * @memberof WrappedResponsePassConsentResponseData
1970
+ */
1971
+ 'visit_schedule_id': string;
1972
+ /**
1973
+ *
1974
+ * @type {boolean}
1975
+ * @memberof WrappedResponsePassConsentResponseData
1976
+ */
1977
+ 'consent'?: boolean | null;
1978
+ }
1979
+
1980
+ export const WrappedResponsePassConsentResponseDataStatusEnum = {
1981
+ Pending: 'pending',
1982
+ Confirmed: 'confirmed'
1983
+ } as const;
1984
+
1985
+ export type WrappedResponsePassConsentResponseDataStatusEnum = typeof WrappedResponsePassConsentResponseDataStatusEnum[keyof typeof WrappedResponsePassConsentResponseDataStatusEnum];
1986
+
1987
+ /**
1988
+ *
1989
+ * @export
1990
+ * @interface WrappedResponseShowPassResponseOrNull
1991
+ */
1992
+ export interface WrappedResponseShowPassResponseOrNull {
1993
+ /**
1994
+ *
1995
+ * @type {Array<ShowPassResponse>}
1996
+ * @memberof WrappedResponseShowPassResponseOrNull
1997
+ */
1998
+ 'data': Array<ShowPassResponse> | null;
1999
+ }
1056
2000
  /**
1057
2001
  *
1058
2002
  * @export
@@ -1127,23 +2071,148 @@ export interface WrappedResponseShowVisitorResponseData {
1127
2071
  */
1128
2072
  'updated_at': string;
1129
2073
  }
2074
+ /**
2075
+ *
2076
+ * @export
2077
+ * @interface ZoneData
2078
+ */
2079
+ export interface ZoneData {
2080
+ /**
2081
+ *
2082
+ * @type {TowerData}
2083
+ * @memberof ZoneData
2084
+ */
2085
+ 'tower': TowerData;
2086
+ /**
2087
+ *
2088
+ * @type {string}
2089
+ * @memberof ZoneData
2090
+ */
2091
+ 'id'?: string;
2092
+ /**
2093
+ *
2094
+ * @type {string}
2095
+ * @memberof ZoneData
2096
+ */
2097
+ 'uid'?: string;
2098
+ /**
2099
+ *
2100
+ * @type {string}
2101
+ * @memberof ZoneData
2102
+ */
2103
+ 'name'?: string;
2104
+ /**
2105
+ *
2106
+ * @type {PrismaJsonValue}
2107
+ * @memberof ZoneData
2108
+ */
2109
+ 'display_name'?: PrismaJsonValue | null;
2110
+ /**
2111
+ *
2112
+ * @type {string}
2113
+ * @memberof ZoneData
2114
+ */
2115
+ 'tower_id'?: string;
2116
+ /**
2117
+ *
2118
+ * @type {string}
2119
+ * @memberof ZoneData
2120
+ */
2121
+ 'created_at'?: string;
2122
+ /**
2123
+ *
2124
+ * @type {string}
2125
+ * @memberof ZoneData
2126
+ */
2127
+ 'updated_at'?: string;
2128
+ }
2129
+
2130
+ /**
2131
+ * DefaultApi - axios parameter creator
2132
+ * @export
2133
+ */
2134
+ export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
2135
+ return {
2136
+ /**
2137
+ *
2138
+ * @param {WebhookCreateBody} webhookCreateBody
2139
+ * @param {*} [options] Override http request option.
2140
+ * @throws {RequiredError}
2141
+ */
2142
+ create: async (webhookCreateBody: WebhookCreateBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2143
+ // verify required parameter 'webhookCreateBody' is not null or undefined
2144
+ assertParamExists('create', 'webhookCreateBody', webhookCreateBody)
2145
+ const localVarPath = `/integrations/fs/webhook`;
2146
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2147
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2148
+ let baseOptions;
2149
+ if (configuration) {
2150
+ baseOptions = configuration.baseOptions;
2151
+ }
2152
+
2153
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2154
+ const localVarHeaderParameter = {} as any;
2155
+ const localVarQueryParameter = {} as any;
2156
+
2157
+
2158
+
2159
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2160
+
2161
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2162
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2163
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2164
+ localVarRequestOptions.data = serializeDataIfNeeded(webhookCreateBody, localVarRequestOptions, configuration)
2165
+
2166
+ return {
2167
+ url: toPathString(localVarUrlObj),
2168
+ options: localVarRequestOptions,
2169
+ };
2170
+ },
2171
+ /**
2172
+ *
2173
+ * @param {CreateFSMembersBody} createFSMembersBody
2174
+ * @param {*} [options] Override http request option.
2175
+ * @throws {RequiredError}
2176
+ */
2177
+ integrationsFsMembersCreate: async (createFSMembersBody: CreateFSMembersBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2178
+ // verify required parameter 'createFSMembersBody' is not null or undefined
2179
+ assertParamExists('integrationsFsMembersCreate', 'createFSMembersBody', createFSMembersBody)
2180
+ const localVarPath = `/integrations/fs/members`;
2181
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2182
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2183
+ let baseOptions;
2184
+ if (configuration) {
2185
+ baseOptions = configuration.baseOptions;
2186
+ }
2187
+
2188
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2189
+ const localVarHeaderParameter = {} as any;
2190
+ const localVarQueryParameter = {} as any;
1130
2191
 
1131
- /**
1132
- * DefaultApi - axios parameter creator
1133
- * @export
1134
- */
1135
- export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
1136
- return {
2192
+
2193
+
2194
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2195
+
2196
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2197
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2198
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2199
+ localVarRequestOptions.data = serializeDataIfNeeded(createFSMembersBody, localVarRequestOptions, configuration)
2200
+
2201
+ return {
2202
+ url: toPathString(localVarUrlObj),
2203
+ options: localVarRequestOptions,
2204
+ };
2205
+ },
1137
2206
  /**
1138
2207
  *
1139
- * @param {WebhookCreateBody} webhookCreateBody
2208
+ * @param {DestroyFSMembers} destroyFSMembers
1140
2209
  * @param {*} [options] Override http request option.
1141
2210
  * @throws {RequiredError}
1142
2211
  */
1143
- create: async (webhookCreateBody: WebhookCreateBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1144
- // verify required parameter 'webhookCreateBody' is not null or undefined
1145
- assertParamExists('create', 'webhookCreateBody', webhookCreateBody)
1146
- const localVarPath = `/integrations/fs/webhook`;
2212
+ integrationsFsMembersDelete: async (destroyFSMembers: DestroyFSMembers, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2213
+ // verify required parameter 'destroyFSMembers' is not null or undefined
2214
+ assertParamExists('integrationsFsMembersDelete', 'destroyFSMembers', destroyFSMembers)
2215
+ const localVarPath = `/integrations/fs/members`;
1147
2216
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1148
2217
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1149
2218
  let baseOptions;
@@ -1151,7 +2220,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
1151
2220
  baseOptions = configuration.baseOptions;
1152
2221
  }
1153
2222
 
1154
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2223
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
1155
2224
  const localVarHeaderParameter = {} as any;
1156
2225
  const localVarQueryParameter = {} as any;
1157
2226
 
@@ -1162,7 +2231,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
1162
2231
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1163
2232
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1164
2233
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1165
- localVarRequestOptions.data = serializeDataIfNeeded(webhookCreateBody, localVarRequestOptions, configuration)
2234
+ localVarRequestOptions.data = serializeDataIfNeeded(destroyFSMembers, localVarRequestOptions, configuration)
1166
2235
 
1167
2236
  return {
1168
2237
  url: toPathString(localVarUrlObj),
@@ -1171,14 +2240,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
1171
2240
  },
1172
2241
  /**
1173
2242
  *
1174
- * @param {CreateFSMembersBody} createFSMembersBody
2243
+ * @param {string} memberId
2244
+ * @param {CommandsCreateBody} commandsCreateBody
1175
2245
  * @param {*} [options] Override http request option.
1176
2246
  * @throws {RequiredError}
1177
2247
  */
1178
- integrationsFsMembersCreate: async (createFSMembersBody: CreateFSMembersBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1179
- // verify required parameter 'createFSMembersBody' is not null or undefined
1180
- assertParamExists('integrationsFsMembersCreate', 'createFSMembersBody', createFSMembersBody)
1181
- const localVarPath = `/integrations/fs/members`;
2248
+ membersCommandsCreate: async (memberId: string, commandsCreateBody: CommandsCreateBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2249
+ // verify required parameter 'memberId' is not null or undefined
2250
+ assertParamExists('membersCommandsCreate', 'memberId', memberId)
2251
+ // verify required parameter 'commandsCreateBody' is not null or undefined
2252
+ assertParamExists('membersCommandsCreate', 'commandsCreateBody', commandsCreateBody)
2253
+ const localVarPath = `/members/{member_id}/commands`
2254
+ .replace(`{${"member_id"}}`, encodeURIComponent(String(memberId)));
1182
2255
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1183
2256
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1184
2257
  let baseOptions;
@@ -1197,7 +2270,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
1197
2270
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1198
2271
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1199
2272
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1200
- localVarRequestOptions.data = serializeDataIfNeeded(createFSMembersBody, localVarRequestOptions, configuration)
2273
+ localVarRequestOptions.data = serializeDataIfNeeded(commandsCreateBody, localVarRequestOptions, configuration)
1201
2274
 
1202
2275
  return {
1203
2276
  url: toPathString(localVarUrlObj),
@@ -1206,14 +2279,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
1206
2279
  },
1207
2280
  /**
1208
2281
  *
1209
- * @param {DestroyFSMembers} destroyFSMembers
2282
+ * @param {string} [name]
2283
+ * @param {string} [orderBy]
2284
+ * @param {string} [orderDirection]
1210
2285
  * @param {*} [options] Override http request option.
1211
2286
  * @throws {RequiredError}
1212
2287
  */
1213
- integrationsFsMembersDelete: async (destroyFSMembers: DestroyFSMembers, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1214
- // verify required parameter 'destroyFSMembers' is not null or undefined
1215
- assertParamExists('integrationsFsMembersDelete', 'destroyFSMembers', destroyFSMembers)
1216
- const localVarPath = `/integrations/fs/members`;
2288
+ membersCommandsIndex: async (name?: string, orderBy?: string, orderDirection?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2289
+ const localVarPath = `/members/{member_id}/commands`;
1217
2290
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1218
2291
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1219
2292
  let baseOptions;
@@ -1221,18 +2294,27 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
1221
2294
  baseOptions = configuration.baseOptions;
1222
2295
  }
1223
2296
 
1224
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
2297
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1225
2298
  const localVarHeaderParameter = {} as any;
1226
2299
  const localVarQueryParameter = {} as any;
1227
2300
 
2301
+ if (name !== undefined) {
2302
+ localVarQueryParameter['name'] = name;
2303
+ }
1228
2304
 
1229
-
1230
- localVarHeaderParameter['Content-Type'] = 'application/json';
2305
+ if (orderBy !== undefined) {
2306
+ localVarQueryParameter['order_by'] = orderBy;
2307
+ }
1231
2308
 
2309
+ if (orderDirection !== undefined) {
2310
+ localVarQueryParameter['order_direction'] = orderDirection;
2311
+ }
2312
+
2313
+
2314
+
1232
2315
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1233
2316
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1234
2317
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1235
- localVarRequestOptions.data = serializeDataIfNeeded(destroyFSMembers, localVarRequestOptions, configuration)
1236
2318
 
1237
2319
  return {
1238
2320
  url: toPathString(localVarUrlObj),
@@ -1299,6 +2381,107 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
1299
2381
 
1300
2382
 
1301
2383
 
2384
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2385
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2386
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2387
+
2388
+ return {
2389
+ url: toPathString(localVarUrlObj),
2390
+ options: localVarRequestOptions,
2391
+ };
2392
+ },
2393
+ /**
2394
+ *
2395
+ * @param {*} [options] Override http request option.
2396
+ * @throws {RequiredError}
2397
+ */
2398
+ parkingLotsIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2399
+ const localVarPath = `/parking_lots`;
2400
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2401
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2402
+ let baseOptions;
2403
+ if (configuration) {
2404
+ baseOptions = configuration.baseOptions;
2405
+ }
2406
+
2407
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2408
+ const localVarHeaderParameter = {} as any;
2409
+ const localVarQueryParameter = {} as any;
2410
+
2411
+
2412
+
2413
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2414
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2415
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2416
+
2417
+ return {
2418
+ url: toPathString(localVarUrlObj),
2419
+ options: localVarRequestOptions,
2420
+ };
2421
+ },
2422
+ /**
2423
+ *
2424
+ * @param {string} id
2425
+ * @param {ConsentRequestBody} consentRequestBody
2426
+ * @param {*} [options] Override http request option.
2427
+ * @throws {RequiredError}
2428
+ */
2429
+ passesConsent: async (id: string, consentRequestBody: ConsentRequestBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2430
+ // verify required parameter 'id' is not null or undefined
2431
+ assertParamExists('passesConsent', 'id', id)
2432
+ // verify required parameter 'consentRequestBody' is not null or undefined
2433
+ assertParamExists('passesConsent', 'consentRequestBody', consentRequestBody)
2434
+ const localVarPath = `/passes/consent/{id}`
2435
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2436
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2437
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2438
+ let baseOptions;
2439
+ if (configuration) {
2440
+ baseOptions = configuration.baseOptions;
2441
+ }
2442
+
2443
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
2444
+ const localVarHeaderParameter = {} as any;
2445
+ const localVarQueryParameter = {} as any;
2446
+
2447
+
2448
+
2449
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2450
+
2451
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2452
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2453
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2454
+ localVarRequestOptions.data = serializeDataIfNeeded(consentRequestBody, localVarRequestOptions, configuration)
2455
+
2456
+ return {
2457
+ url: toPathString(localVarUrlObj),
2458
+ options: localVarRequestOptions,
2459
+ };
2460
+ },
2461
+ /**
2462
+ *
2463
+ * @param {string} id
2464
+ * @param {*} [options] Override http request option.
2465
+ * @throws {RequiredError}
2466
+ */
2467
+ passesShow: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2468
+ // verify required parameter 'id' is not null or undefined
2469
+ assertParamExists('passesShow', 'id', id)
2470
+ const localVarPath = `/passes/{id}`
2471
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2472
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2473
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2474
+ let baseOptions;
2475
+ if (configuration) {
2476
+ baseOptions = configuration.baseOptions;
2477
+ }
2478
+
2479
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2480
+ const localVarHeaderParameter = {} as any;
2481
+ const localVarQueryParameter = {} as any;
2482
+
2483
+
2484
+
1302
2485
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1303
2486
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1304
2487
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1484,6 +2667,29 @@ export const DefaultApiFp = function(configuration?: Configuration) {
1484
2667
  const localVarAxiosArgs = await localVarAxiosParamCreator.integrationsFsMembersDelete(destroyFSMembers, options);
1485
2668
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1486
2669
  },
2670
+ /**
2671
+ *
2672
+ * @param {string} memberId
2673
+ * @param {CommandsCreateBody} commandsCreateBody
2674
+ * @param {*} [options] Override http request option.
2675
+ * @throws {RequiredError}
2676
+ */
2677
+ async membersCommandsCreate(memberId: string, commandsCreateBody: CommandsCreateBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCommandsCreateResponse>> {
2678
+ const localVarAxiosArgs = await localVarAxiosParamCreator.membersCommandsCreate(memberId, commandsCreateBody, options);
2679
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2680
+ },
2681
+ /**
2682
+ *
2683
+ * @param {string} [name]
2684
+ * @param {string} [orderBy]
2685
+ * @param {string} [orderDirection]
2686
+ * @param {*} [options] Override http request option.
2687
+ * @throws {RequiredError}
2688
+ */
2689
+ async membersCommandsIndex(name?: string, orderBy?: string, orderDirection?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCommandsIndexResponse>> {
2690
+ const localVarAxiosArgs = await localVarAxiosParamCreator.membersCommandsIndex(name, orderBy, orderDirection, options);
2691
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2692
+ },
1487
2693
  /**
1488
2694
  *
1489
2695
  * @param {string} identifier
@@ -1504,6 +2710,36 @@ export const DefaultApiFp = function(configuration?: Configuration) {
1504
2710
  const localVarAxiosArgs = await localVarAxiosParamCreator.membersShow(id, options);
1505
2711
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1506
2712
  },
2713
+ /**
2714
+ *
2715
+ * @param {*} [options] Override http request option.
2716
+ * @throws {RequiredError}
2717
+ */
2718
+ async parkingLotsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingLotsIndexResponse>> {
2719
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingLotsIndex(options);
2720
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2721
+ },
2722
+ /**
2723
+ *
2724
+ * @param {string} id
2725
+ * @param {ConsentRequestBody} consentRequestBody
2726
+ * @param {*} [options] Override http request option.
2727
+ * @throws {RequiredError}
2728
+ */
2729
+ async passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponsePassConsentResponse>> {
2730
+ const localVarAxiosArgs = await localVarAxiosParamCreator.passesConsent(id, consentRequestBody, options);
2731
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2732
+ },
2733
+ /**
2734
+ *
2735
+ * @param {string} id
2736
+ * @param {*} [options] Override http request option.
2737
+ * @throws {RequiredError}
2738
+ */
2739
+ async passesShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowPassResponseOrNull>> {
2740
+ const localVarAxiosArgs = await localVarAxiosParamCreator.passesShow(id, options);
2741
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2742
+ },
1507
2743
  /**
1508
2744
  *
1509
2745
  * @param {SyncBody} syncBody
@@ -1581,6 +2817,27 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
1581
2817
  integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: any): AxiosPromise<DestroyMembersResponse> {
1582
2818
  return localVarFp.integrationsFsMembersDelete(destroyFSMembers, options).then((request) => request(axios, basePath));
1583
2819
  },
2820
+ /**
2821
+ *
2822
+ * @param {string} memberId
2823
+ * @param {CommandsCreateBody} commandsCreateBody
2824
+ * @param {*} [options] Override http request option.
2825
+ * @throws {RequiredError}
2826
+ */
2827
+ membersCommandsCreate(memberId: string, commandsCreateBody: CommandsCreateBody, options?: any): AxiosPromise<WrappedResponseCommandsCreateResponse> {
2828
+ return localVarFp.membersCommandsCreate(memberId, commandsCreateBody, options).then((request) => request(axios, basePath));
2829
+ },
2830
+ /**
2831
+ *
2832
+ * @param {string} [name]
2833
+ * @param {string} [orderBy]
2834
+ * @param {string} [orderDirection]
2835
+ * @param {*} [options] Override http request option.
2836
+ * @throws {RequiredError}
2837
+ */
2838
+ membersCommandsIndex(name?: string, orderBy?: string, orderDirection?: string, options?: any): AxiosPromise<WrappedResponseCommandsIndexResponse> {
2839
+ return localVarFp.membersCommandsIndex(name, orderBy, orderDirection, options).then((request) => request(axios, basePath));
2840
+ },
1584
2841
  /**
1585
2842
  *
1586
2843
  * @param {string} identifier
@@ -1599,6 +2856,33 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
1599
2856
  membersShow(id: string, options?: any): AxiosPromise<WrappedResponseMembersShowResponse> {
1600
2857
  return localVarFp.membersShow(id, options).then((request) => request(axios, basePath));
1601
2858
  },
2859
+ /**
2860
+ *
2861
+ * @param {*} [options] Override http request option.
2862
+ * @throws {RequiredError}
2863
+ */
2864
+ parkingLotsIndex(options?: any): AxiosPromise<WrappedResponseParkingLotsIndexResponse> {
2865
+ return localVarFp.parkingLotsIndex(options).then((request) => request(axios, basePath));
2866
+ },
2867
+ /**
2868
+ *
2869
+ * @param {string} id
2870
+ * @param {ConsentRequestBody} consentRequestBody
2871
+ * @param {*} [options] Override http request option.
2872
+ * @throws {RequiredError}
2873
+ */
2874
+ passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: any): AxiosPromise<WrappedResponsePassConsentResponse> {
2875
+ return localVarFp.passesConsent(id, consentRequestBody, options).then((request) => request(axios, basePath));
2876
+ },
2877
+ /**
2878
+ *
2879
+ * @param {string} id
2880
+ * @param {*} [options] Override http request option.
2881
+ * @throws {RequiredError}
2882
+ */
2883
+ passesShow(id: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull> {
2884
+ return localVarFp.passesShow(id, options).then((request) => request(axios, basePath));
2885
+ },
1602
2886
  /**
1603
2887
  *
1604
2888
  * @param {SyncBody} syncBody
@@ -1678,6 +2962,31 @@ export class DefaultApi extends BaseAPI {
1678
2962
  return DefaultApiFp(this.configuration).integrationsFsMembersDelete(destroyFSMembers, options).then((request) => request(this.axios, this.basePath));
1679
2963
  }
1680
2964
 
2965
+ /**
2966
+ *
2967
+ * @param {string} memberId
2968
+ * @param {CommandsCreateBody} commandsCreateBody
2969
+ * @param {*} [options] Override http request option.
2970
+ * @throws {RequiredError}
2971
+ * @memberof DefaultApi
2972
+ */
2973
+ public membersCommandsCreate(memberId: string, commandsCreateBody: CommandsCreateBody, options?: AxiosRequestConfig) {
2974
+ return DefaultApiFp(this.configuration).membersCommandsCreate(memberId, commandsCreateBody, options).then((request) => request(this.axios, this.basePath));
2975
+ }
2976
+
2977
+ /**
2978
+ *
2979
+ * @param {string} [name]
2980
+ * @param {string} [orderBy]
2981
+ * @param {string} [orderDirection]
2982
+ * @param {*} [options] Override http request option.
2983
+ * @throws {RequiredError}
2984
+ * @memberof DefaultApi
2985
+ */
2986
+ public membersCommandsIndex(name?: string, orderBy?: string, orderDirection?: string, options?: AxiosRequestConfig) {
2987
+ return DefaultApiFp(this.configuration).membersCommandsIndex(name, orderBy, orderDirection, options).then((request) => request(this.axios, this.basePath));
2988
+ }
2989
+
1681
2990
  /**
1682
2991
  *
1683
2992
  * @param {string} identifier
@@ -1700,6 +3009,39 @@ export class DefaultApi extends BaseAPI {
1700
3009
  return DefaultApiFp(this.configuration).membersShow(id, options).then((request) => request(this.axios, this.basePath));
1701
3010
  }
1702
3011
 
3012
+ /**
3013
+ *
3014
+ * @param {*} [options] Override http request option.
3015
+ * @throws {RequiredError}
3016
+ * @memberof DefaultApi
3017
+ */
3018
+ public parkingLotsIndex(options?: AxiosRequestConfig) {
3019
+ return DefaultApiFp(this.configuration).parkingLotsIndex(options).then((request) => request(this.axios, this.basePath));
3020
+ }
3021
+
3022
+ /**
3023
+ *
3024
+ * @param {string} id
3025
+ * @param {ConsentRequestBody} consentRequestBody
3026
+ * @param {*} [options] Override http request option.
3027
+ * @throws {RequiredError}
3028
+ * @memberof DefaultApi
3029
+ */
3030
+ public passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig) {
3031
+ return DefaultApiFp(this.configuration).passesConsent(id, consentRequestBody, options).then((request) => request(this.axios, this.basePath));
3032
+ }
3033
+
3034
+ /**
3035
+ *
3036
+ * @param {string} id
3037
+ * @param {*} [options] Override http request option.
3038
+ * @throws {RequiredError}
3039
+ * @memberof DefaultApi
3040
+ */
3041
+ public passesShow(id: string, options?: AxiosRequestConfig) {
3042
+ return DefaultApiFp(this.configuration).passesShow(id, options).then((request) => request(this.axios, this.basePath));
3043
+ }
3044
+
1703
3045
  /**
1704
3046
  *
1705
3047
  * @param {SyncBody} syncBody