ob-bms-sdk 0.0.23 → 0.0.24
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 +1053 -52
- package/dist/api/api.d.ts +902 -14
- package/dist/api/api.js +191 -1
- package/package.json +1 -1
- package/test.ts +15 -0
package/api/api.ts
CHANGED
|
@@ -23,6 +23,19 @@ 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 ConsentRequestBody
|
|
30
|
+
*/
|
|
31
|
+
export interface ConsentRequestBody {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof ConsentRequestBody
|
|
36
|
+
*/
|
|
37
|
+
'consent': boolean;
|
|
38
|
+
}
|
|
26
39
|
/**
|
|
27
40
|
*
|
|
28
41
|
* @export
|
|
@@ -314,6 +327,55 @@ export interface FloorData {
|
|
|
314
327
|
*/
|
|
315
328
|
'updated_at': string;
|
|
316
329
|
}
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @export
|
|
333
|
+
* @interface FloorDataPasses
|
|
334
|
+
*/
|
|
335
|
+
export interface FloorDataPasses {
|
|
336
|
+
/**
|
|
337
|
+
*
|
|
338
|
+
* @type {string}
|
|
339
|
+
* @memberof FloorDataPasses
|
|
340
|
+
*/
|
|
341
|
+
'id': string;
|
|
342
|
+
/**
|
|
343
|
+
*
|
|
344
|
+
* @type {string}
|
|
345
|
+
* @memberof FloorDataPasses
|
|
346
|
+
*/
|
|
347
|
+
'uid': string;
|
|
348
|
+
/**
|
|
349
|
+
*
|
|
350
|
+
* @type {string}
|
|
351
|
+
* @memberof FloorDataPasses
|
|
352
|
+
*/
|
|
353
|
+
'name': string;
|
|
354
|
+
/**
|
|
355
|
+
*
|
|
356
|
+
* @type {JsonValue}
|
|
357
|
+
* @memberof FloorDataPasses
|
|
358
|
+
*/
|
|
359
|
+
'display_name': JsonValue | null;
|
|
360
|
+
/**
|
|
361
|
+
*
|
|
362
|
+
* @type {string}
|
|
363
|
+
* @memberof FloorDataPasses
|
|
364
|
+
*/
|
|
365
|
+
'tower_id': string;
|
|
366
|
+
/**
|
|
367
|
+
*
|
|
368
|
+
* @type {string}
|
|
369
|
+
* @memberof FloorDataPasses
|
|
370
|
+
*/
|
|
371
|
+
'created_at': string;
|
|
372
|
+
/**
|
|
373
|
+
*
|
|
374
|
+
* @type {string}
|
|
375
|
+
* @memberof FloorDataPasses
|
|
376
|
+
*/
|
|
377
|
+
'updated_at': string;
|
|
378
|
+
}
|
|
317
379
|
/**
|
|
318
380
|
*
|
|
319
381
|
* @export
|
|
@@ -346,6 +408,116 @@ export interface LocationData {
|
|
|
346
408
|
*/
|
|
347
409
|
'isDefault': boolean;
|
|
348
410
|
}
|
|
411
|
+
/**
|
|
412
|
+
*
|
|
413
|
+
* @export
|
|
414
|
+
* @interface LocationPasses
|
|
415
|
+
*/
|
|
416
|
+
export interface LocationPasses {
|
|
417
|
+
/**
|
|
418
|
+
*
|
|
419
|
+
* @type {string}
|
|
420
|
+
* @memberof LocationPasses
|
|
421
|
+
*/
|
|
422
|
+
'id': string;
|
|
423
|
+
/**
|
|
424
|
+
*
|
|
425
|
+
* @type {string}
|
|
426
|
+
* @memberof LocationPasses
|
|
427
|
+
*/
|
|
428
|
+
'uid': string;
|
|
429
|
+
/**
|
|
430
|
+
*
|
|
431
|
+
* @type {string}
|
|
432
|
+
* @memberof LocationPasses
|
|
433
|
+
*/
|
|
434
|
+
'name': string;
|
|
435
|
+
/**
|
|
436
|
+
*
|
|
437
|
+
* @type {string}
|
|
438
|
+
* @memberof LocationPasses
|
|
439
|
+
*/
|
|
440
|
+
'coordinate': string;
|
|
441
|
+
/**
|
|
442
|
+
*
|
|
443
|
+
* @type {string}
|
|
444
|
+
* @memberof LocationPasses
|
|
445
|
+
*/
|
|
446
|
+
'tower_id': string;
|
|
447
|
+
/**
|
|
448
|
+
*
|
|
449
|
+
* @type {string}
|
|
450
|
+
* @memberof LocationPasses
|
|
451
|
+
*/
|
|
452
|
+
'floor_id': string;
|
|
453
|
+
/**
|
|
454
|
+
*
|
|
455
|
+
* @type {string}
|
|
456
|
+
* @memberof LocationPasses
|
|
457
|
+
*/
|
|
458
|
+
'zone_id': string;
|
|
459
|
+
/**
|
|
460
|
+
*
|
|
461
|
+
* @type {TowerDataPasses}
|
|
462
|
+
* @memberof LocationPasses
|
|
463
|
+
*/
|
|
464
|
+
'tower': TowerDataPasses;
|
|
465
|
+
/**
|
|
466
|
+
*
|
|
467
|
+
* @type {FloorDataPasses}
|
|
468
|
+
* @memberof LocationPasses
|
|
469
|
+
*/
|
|
470
|
+
'floor': FloorDataPasses;
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
* @type {string}
|
|
474
|
+
* @memberof LocationPasses
|
|
475
|
+
*/
|
|
476
|
+
'created_at': string;
|
|
477
|
+
/**
|
|
478
|
+
*
|
|
479
|
+
* @type {string}
|
|
480
|
+
* @memberof LocationPasses
|
|
481
|
+
*/
|
|
482
|
+
'updated_at': string;
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @export
|
|
487
|
+
* @interface MembersPasses
|
|
488
|
+
*/
|
|
489
|
+
export interface MembersPasses {
|
|
490
|
+
/**
|
|
491
|
+
*
|
|
492
|
+
* @type {string}
|
|
493
|
+
* @memberof MembersPasses
|
|
494
|
+
*/
|
|
495
|
+
'uid': string;
|
|
496
|
+
/**
|
|
497
|
+
*
|
|
498
|
+
* @type {JsonValue}
|
|
499
|
+
* @memberof MembersPasses
|
|
500
|
+
*/
|
|
501
|
+
'metadata': JsonValue | null;
|
|
502
|
+
/**
|
|
503
|
+
*
|
|
504
|
+
* @type {string}
|
|
505
|
+
* @memberof MembersPasses
|
|
506
|
+
*/
|
|
507
|
+
'account_id': string | null;
|
|
508
|
+
/**
|
|
509
|
+
*
|
|
510
|
+
* @type {string}
|
|
511
|
+
* @memberof MembersPasses
|
|
512
|
+
*/
|
|
513
|
+
'created_at': string;
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @type {string}
|
|
517
|
+
* @memberof MembersPasses
|
|
518
|
+
*/
|
|
519
|
+
'updated_at': string;
|
|
520
|
+
}
|
|
349
521
|
/**
|
|
350
522
|
*
|
|
351
523
|
* @export
|
|
@@ -401,6 +573,148 @@ export interface MembersShowResponse {
|
|
|
401
573
|
*/
|
|
402
574
|
'towers': Array<TowerData>;
|
|
403
575
|
}
|
|
576
|
+
/**
|
|
577
|
+
*
|
|
578
|
+
* @export
|
|
579
|
+
* @interface ParkingLotData
|
|
580
|
+
*/
|
|
581
|
+
export interface ParkingLotData {
|
|
582
|
+
/**
|
|
583
|
+
*
|
|
584
|
+
* @type {string}
|
|
585
|
+
* @memberof ParkingLotData
|
|
586
|
+
*/
|
|
587
|
+
'id'?: string;
|
|
588
|
+
/**
|
|
589
|
+
*
|
|
590
|
+
* @type {string}
|
|
591
|
+
* @memberof ParkingLotData
|
|
592
|
+
*/
|
|
593
|
+
'name'?: string;
|
|
594
|
+
/**
|
|
595
|
+
*
|
|
596
|
+
* @type {PrismaJsonValue}
|
|
597
|
+
* @memberof ParkingLotData
|
|
598
|
+
*/
|
|
599
|
+
'display_name'?: PrismaJsonValue | null;
|
|
600
|
+
/**
|
|
601
|
+
*
|
|
602
|
+
* @type {string}
|
|
603
|
+
* @memberof ParkingLotData
|
|
604
|
+
*/
|
|
605
|
+
'created_at'?: string;
|
|
606
|
+
/**
|
|
607
|
+
*
|
|
608
|
+
* @type {string}
|
|
609
|
+
* @memberof ParkingLotData
|
|
610
|
+
*/
|
|
611
|
+
'updated_at'?: string;
|
|
612
|
+
/**
|
|
613
|
+
*
|
|
614
|
+
* @type {string}
|
|
615
|
+
* @memberof ParkingLotData
|
|
616
|
+
*/
|
|
617
|
+
'zone_id'?: string;
|
|
618
|
+
/**
|
|
619
|
+
*
|
|
620
|
+
* @type {Array<SpotTypeData>}
|
|
621
|
+
* @memberof ParkingLotData
|
|
622
|
+
*/
|
|
623
|
+
'spot_types': Array<SpotTypeData>;
|
|
624
|
+
/**
|
|
625
|
+
*
|
|
626
|
+
* @type {number}
|
|
627
|
+
* @memberof ParkingLotData
|
|
628
|
+
*/
|
|
629
|
+
'total_available_slots': number;
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
* @type {ZoneData}
|
|
633
|
+
* @memberof ParkingLotData
|
|
634
|
+
*/
|
|
635
|
+
'zone': ZoneData;
|
|
636
|
+
}
|
|
637
|
+
/**
|
|
638
|
+
*
|
|
639
|
+
* @export
|
|
640
|
+
* @interface PassConsentResponse
|
|
641
|
+
*/
|
|
642
|
+
export interface PassConsentResponse {
|
|
643
|
+
/**
|
|
644
|
+
*
|
|
645
|
+
* @type {string}
|
|
646
|
+
* @memberof PassConsentResponse
|
|
647
|
+
*/
|
|
648
|
+
'id': string;
|
|
649
|
+
/**
|
|
650
|
+
*
|
|
651
|
+
* @type {string}
|
|
652
|
+
* @memberof PassConsentResponse
|
|
653
|
+
*/
|
|
654
|
+
'created_at': string;
|
|
655
|
+
/**
|
|
656
|
+
*
|
|
657
|
+
* @type {string}
|
|
658
|
+
* @memberof PassConsentResponse
|
|
659
|
+
*/
|
|
660
|
+
'updated_at': string;
|
|
661
|
+
/**
|
|
662
|
+
*
|
|
663
|
+
* @type {string}
|
|
664
|
+
* @memberof PassConsentResponse
|
|
665
|
+
*/
|
|
666
|
+
'uid': string | null;
|
|
667
|
+
/**
|
|
668
|
+
*
|
|
669
|
+
* @type {string}
|
|
670
|
+
* @memberof PassConsentResponse
|
|
671
|
+
*/
|
|
672
|
+
'from': string;
|
|
673
|
+
/**
|
|
674
|
+
*
|
|
675
|
+
* @type {string}
|
|
676
|
+
* @memberof PassConsentResponse
|
|
677
|
+
*/
|
|
678
|
+
'to': string;
|
|
679
|
+
/**
|
|
680
|
+
*
|
|
681
|
+
* @type {string}
|
|
682
|
+
* @memberof PassConsentResponse
|
|
683
|
+
*/
|
|
684
|
+
'visitor_id': string;
|
|
685
|
+
/**
|
|
686
|
+
*
|
|
687
|
+
* @type {string}
|
|
688
|
+
* @memberof PassConsentResponse
|
|
689
|
+
*/
|
|
690
|
+
'issuer_id': string;
|
|
691
|
+
/**
|
|
692
|
+
*
|
|
693
|
+
* @type {string}
|
|
694
|
+
* @memberof PassConsentResponse
|
|
695
|
+
*/
|
|
696
|
+
'status': PassConsentResponseStatusEnum;
|
|
697
|
+
/**
|
|
698
|
+
*
|
|
699
|
+
* @type {string}
|
|
700
|
+
* @memberof PassConsentResponse
|
|
701
|
+
*/
|
|
702
|
+
'visit_schedule_id': string;
|
|
703
|
+
/**
|
|
704
|
+
*
|
|
705
|
+
* @type {boolean}
|
|
706
|
+
* @memberof PassConsentResponse
|
|
707
|
+
*/
|
|
708
|
+
'consent'?: boolean | null;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
export const PassConsentResponseStatusEnum = {
|
|
712
|
+
Pending: 'pending',
|
|
713
|
+
Confirmed: 'confirmed'
|
|
714
|
+
} as const;
|
|
715
|
+
|
|
716
|
+
export type PassConsentResponseStatusEnum = typeof PassConsentResponseStatusEnum[keyof typeof PassConsentResponseStatusEnum];
|
|
717
|
+
|
|
404
718
|
/**
|
|
405
719
|
*
|
|
406
720
|
* @export
|
|
@@ -537,40 +851,152 @@ export interface PersonData {
|
|
|
537
851
|
*/
|
|
538
852
|
'status': string;
|
|
539
853
|
}
|
|
854
|
+
/**
|
|
855
|
+
* From https://github.com/sindresorhus/type-fest/ Matches any valid JSON value.
|
|
856
|
+
* @export
|
|
857
|
+
* @interface PrismaJsonValue
|
|
858
|
+
*/
|
|
859
|
+
export interface PrismaJsonValue {
|
|
860
|
+
}
|
|
540
861
|
/**
|
|
541
862
|
*
|
|
542
863
|
* @export
|
|
543
|
-
* @interface
|
|
864
|
+
* @interface ShowPassResponse
|
|
544
865
|
*/
|
|
545
|
-
export interface
|
|
866
|
+
export interface ShowPassResponse {
|
|
546
867
|
/**
|
|
547
868
|
*
|
|
548
|
-
* @type {
|
|
549
|
-
* @memberof
|
|
869
|
+
* @type {LocationPasses}
|
|
870
|
+
* @memberof ShowPassResponse
|
|
550
871
|
*/
|
|
551
|
-
'
|
|
872
|
+
'location': LocationPasses;
|
|
552
873
|
/**
|
|
553
874
|
*
|
|
554
|
-
* @type {
|
|
555
|
-
* @memberof
|
|
875
|
+
* @type {MembersPasses}
|
|
876
|
+
* @memberof ShowPassResponse
|
|
556
877
|
*/
|
|
557
|
-
'
|
|
878
|
+
'issuer': MembersPasses;
|
|
558
879
|
/**
|
|
559
880
|
*
|
|
560
|
-
* @type {
|
|
561
|
-
* @memberof
|
|
881
|
+
* @type {VisitorPasses}
|
|
882
|
+
* @memberof ShowPassResponse
|
|
562
883
|
*/
|
|
563
|
-
'
|
|
884
|
+
'visitor': VisitorPasses;
|
|
564
885
|
/**
|
|
565
886
|
*
|
|
566
|
-
* @type {
|
|
567
|
-
* @memberof
|
|
887
|
+
* @type {VisitorSchedulePasses}
|
|
888
|
+
* @memberof ShowPassResponse
|
|
568
889
|
*/
|
|
569
|
-
'
|
|
890
|
+
'visitor_schedule': VisitorSchedulePasses;
|
|
570
891
|
/**
|
|
571
892
|
*
|
|
572
|
-
* @type {
|
|
573
|
-
* @memberof
|
|
893
|
+
* @type {boolean}
|
|
894
|
+
* @memberof ShowPassResponse
|
|
895
|
+
*/
|
|
896
|
+
'consent'?: boolean | null;
|
|
897
|
+
/**
|
|
898
|
+
*
|
|
899
|
+
* @type {string}
|
|
900
|
+
* @memberof ShowPassResponse
|
|
901
|
+
*/
|
|
902
|
+
'visit_schedule_id': string;
|
|
903
|
+
/**
|
|
904
|
+
*
|
|
905
|
+
* @type {string}
|
|
906
|
+
* @memberof ShowPassResponse
|
|
907
|
+
*/
|
|
908
|
+
'updated_at': string;
|
|
909
|
+
/**
|
|
910
|
+
*
|
|
911
|
+
* @type {string}
|
|
912
|
+
* @memberof ShowPassResponse
|
|
913
|
+
*/
|
|
914
|
+
'created_at': string;
|
|
915
|
+
/**
|
|
916
|
+
*
|
|
917
|
+
* @type {string}
|
|
918
|
+
* @memberof ShowPassResponse
|
|
919
|
+
*/
|
|
920
|
+
'status': ShowPassResponseStatusEnum;
|
|
921
|
+
/**
|
|
922
|
+
*
|
|
923
|
+
* @type {string}
|
|
924
|
+
* @memberof ShowPassResponse
|
|
925
|
+
*/
|
|
926
|
+
'issuer_id': string;
|
|
927
|
+
/**
|
|
928
|
+
*
|
|
929
|
+
* @type {string}
|
|
930
|
+
* @memberof ShowPassResponse
|
|
931
|
+
*/
|
|
932
|
+
'visitor_id': string;
|
|
933
|
+
/**
|
|
934
|
+
*
|
|
935
|
+
* @type {string}
|
|
936
|
+
* @memberof ShowPassResponse
|
|
937
|
+
*/
|
|
938
|
+
'to': string;
|
|
939
|
+
/**
|
|
940
|
+
*
|
|
941
|
+
* @type {string}
|
|
942
|
+
* @memberof ShowPassResponse
|
|
943
|
+
*/
|
|
944
|
+
'from': string;
|
|
945
|
+
/**
|
|
946
|
+
*
|
|
947
|
+
* @type {string}
|
|
948
|
+
* @memberof ShowPassResponse
|
|
949
|
+
*/
|
|
950
|
+
'uid': string | null;
|
|
951
|
+
/**
|
|
952
|
+
*
|
|
953
|
+
* @type {string}
|
|
954
|
+
* @memberof ShowPassResponse
|
|
955
|
+
*/
|
|
956
|
+
'id': string;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
export const ShowPassResponseStatusEnum = {
|
|
960
|
+
Pending: 'pending',
|
|
961
|
+
Confirmed: 'confirmed'
|
|
962
|
+
} as const;
|
|
963
|
+
|
|
964
|
+
export type ShowPassResponseStatusEnum = typeof ShowPassResponseStatusEnum[keyof typeof ShowPassResponseStatusEnum];
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
*
|
|
968
|
+
* @export
|
|
969
|
+
* @interface ShowVisitorResponse
|
|
970
|
+
*/
|
|
971
|
+
export interface ShowVisitorResponse {
|
|
972
|
+
/**
|
|
973
|
+
*
|
|
974
|
+
* @type {string}
|
|
975
|
+
* @memberof ShowVisitorResponse
|
|
976
|
+
*/
|
|
977
|
+
'id': string;
|
|
978
|
+
/**
|
|
979
|
+
*
|
|
980
|
+
* @type {string}
|
|
981
|
+
* @memberof ShowVisitorResponse
|
|
982
|
+
*/
|
|
983
|
+
'name': string;
|
|
984
|
+
/**
|
|
985
|
+
*
|
|
986
|
+
* @type {string}
|
|
987
|
+
* @memberof ShowVisitorResponse
|
|
988
|
+
*/
|
|
989
|
+
'profile_image_url': string | null;
|
|
990
|
+
/**
|
|
991
|
+
*
|
|
992
|
+
* @type {string}
|
|
993
|
+
* @memberof ShowVisitorResponse
|
|
994
|
+
*/
|
|
995
|
+
'email': string;
|
|
996
|
+
/**
|
|
997
|
+
*
|
|
998
|
+
* @type {string}
|
|
999
|
+
* @memberof ShowVisitorResponse
|
|
574
1000
|
*/
|
|
575
1001
|
'company_name': string;
|
|
576
1002
|
/**
|
|
@@ -598,6 +1024,55 @@ export interface ShowVisitorResponse {
|
|
|
598
1024
|
*/
|
|
599
1025
|
'updated_at': string;
|
|
600
1026
|
}
|
|
1027
|
+
/**
|
|
1028
|
+
*
|
|
1029
|
+
* @export
|
|
1030
|
+
* @interface SpotTypeData
|
|
1031
|
+
*/
|
|
1032
|
+
export interface SpotTypeData {
|
|
1033
|
+
/**
|
|
1034
|
+
*
|
|
1035
|
+
* @type {string}
|
|
1036
|
+
* @memberof SpotTypeData
|
|
1037
|
+
*/
|
|
1038
|
+
'id'?: string;
|
|
1039
|
+
/**
|
|
1040
|
+
*
|
|
1041
|
+
* @type {string}
|
|
1042
|
+
* @memberof SpotTypeData
|
|
1043
|
+
*/
|
|
1044
|
+
'name'?: string;
|
|
1045
|
+
/**
|
|
1046
|
+
*
|
|
1047
|
+
* @type {PrismaJsonValue}
|
|
1048
|
+
* @memberof SpotTypeData
|
|
1049
|
+
*/
|
|
1050
|
+
'display_name'?: PrismaJsonValue | null;
|
|
1051
|
+
/**
|
|
1052
|
+
*
|
|
1053
|
+
* @type {number}
|
|
1054
|
+
* @memberof SpotTypeData
|
|
1055
|
+
*/
|
|
1056
|
+
'available_spots'?: number;
|
|
1057
|
+
/**
|
|
1058
|
+
*
|
|
1059
|
+
* @type {string}
|
|
1060
|
+
* @memberof SpotTypeData
|
|
1061
|
+
*/
|
|
1062
|
+
'created_at'?: string;
|
|
1063
|
+
/**
|
|
1064
|
+
*
|
|
1065
|
+
* @type {string}
|
|
1066
|
+
* @memberof SpotTypeData
|
|
1067
|
+
*/
|
|
1068
|
+
'updated_at'?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
*
|
|
1071
|
+
* @type {string}
|
|
1072
|
+
* @memberof SpotTypeData
|
|
1073
|
+
*/
|
|
1074
|
+
'parking_lot_id'?: string;
|
|
1075
|
+
}
|
|
601
1076
|
/**
|
|
602
1077
|
*
|
|
603
1078
|
* @export
|
|
@@ -730,6 +1205,55 @@ export interface TowerData {
|
|
|
730
1205
|
*/
|
|
731
1206
|
'floors': Array<FloorData>;
|
|
732
1207
|
}
|
|
1208
|
+
/**
|
|
1209
|
+
*
|
|
1210
|
+
* @export
|
|
1211
|
+
* @interface TowerDataPasses
|
|
1212
|
+
*/
|
|
1213
|
+
export interface TowerDataPasses {
|
|
1214
|
+
/**
|
|
1215
|
+
*
|
|
1216
|
+
* @type {string}
|
|
1217
|
+
* @memberof TowerDataPasses
|
|
1218
|
+
*/
|
|
1219
|
+
'id': string;
|
|
1220
|
+
/**
|
|
1221
|
+
*
|
|
1222
|
+
* @type {string}
|
|
1223
|
+
* @memberof TowerDataPasses
|
|
1224
|
+
*/
|
|
1225
|
+
'uid': string;
|
|
1226
|
+
/**
|
|
1227
|
+
*
|
|
1228
|
+
* @type {string}
|
|
1229
|
+
* @memberof TowerDataPasses
|
|
1230
|
+
*/
|
|
1231
|
+
'name': string;
|
|
1232
|
+
/**
|
|
1233
|
+
*
|
|
1234
|
+
* @type {JsonValue}
|
|
1235
|
+
* @memberof TowerDataPasses
|
|
1236
|
+
*/
|
|
1237
|
+
'display_name': JsonValue | null;
|
|
1238
|
+
/**
|
|
1239
|
+
*
|
|
1240
|
+
* @type {string}
|
|
1241
|
+
* @memberof TowerDataPasses
|
|
1242
|
+
*/
|
|
1243
|
+
'project_id': string;
|
|
1244
|
+
/**
|
|
1245
|
+
*
|
|
1246
|
+
* @type {string}
|
|
1247
|
+
* @memberof TowerDataPasses
|
|
1248
|
+
*/
|
|
1249
|
+
'created_at': string;
|
|
1250
|
+
/**
|
|
1251
|
+
*
|
|
1252
|
+
* @type {string}
|
|
1253
|
+
* @memberof TowerDataPasses
|
|
1254
|
+
*/
|
|
1255
|
+
'updated_at': string;
|
|
1256
|
+
}
|
|
733
1257
|
/**
|
|
734
1258
|
*
|
|
735
1259
|
* @export
|
|
@@ -791,6 +1315,61 @@ export interface VisitorData {
|
|
|
791
1315
|
*/
|
|
792
1316
|
'id': string;
|
|
793
1317
|
}
|
|
1318
|
+
/**
|
|
1319
|
+
*
|
|
1320
|
+
* @export
|
|
1321
|
+
* @interface VisitorPasses
|
|
1322
|
+
*/
|
|
1323
|
+
export interface VisitorPasses {
|
|
1324
|
+
/**
|
|
1325
|
+
*
|
|
1326
|
+
* @type {string}
|
|
1327
|
+
* @memberof VisitorPasses
|
|
1328
|
+
*/
|
|
1329
|
+
'name': string;
|
|
1330
|
+
/**
|
|
1331
|
+
*
|
|
1332
|
+
* @type {string}
|
|
1333
|
+
* @memberof VisitorPasses
|
|
1334
|
+
*/
|
|
1335
|
+
'profile_image_url': string | null;
|
|
1336
|
+
/**
|
|
1337
|
+
*
|
|
1338
|
+
* @type {string}
|
|
1339
|
+
* @memberof VisitorPasses
|
|
1340
|
+
*/
|
|
1341
|
+
'email': string;
|
|
1342
|
+
/**
|
|
1343
|
+
*
|
|
1344
|
+
* @type {string}
|
|
1345
|
+
* @memberof VisitorPasses
|
|
1346
|
+
*/
|
|
1347
|
+
'company_name': string;
|
|
1348
|
+
/**
|
|
1349
|
+
*
|
|
1350
|
+
* @type {string}
|
|
1351
|
+
* @memberof VisitorPasses
|
|
1352
|
+
*/
|
|
1353
|
+
'reference': string;
|
|
1354
|
+
/**
|
|
1355
|
+
*
|
|
1356
|
+
* @type {string}
|
|
1357
|
+
* @memberof VisitorPasses
|
|
1358
|
+
*/
|
|
1359
|
+
'inviter_id': string;
|
|
1360
|
+
/**
|
|
1361
|
+
*
|
|
1362
|
+
* @type {string}
|
|
1363
|
+
* @memberof VisitorPasses
|
|
1364
|
+
*/
|
|
1365
|
+
'created_at': string;
|
|
1366
|
+
/**
|
|
1367
|
+
*
|
|
1368
|
+
* @type {string}
|
|
1369
|
+
* @memberof VisitorPasses
|
|
1370
|
+
*/
|
|
1371
|
+
'updated_at': string;
|
|
1372
|
+
}
|
|
794
1373
|
/**
|
|
795
1374
|
*
|
|
796
1375
|
* @export
|
|
@@ -828,6 +1407,55 @@ export interface VisitorSchedule {
|
|
|
828
1407
|
*/
|
|
829
1408
|
'repetition'?: object;
|
|
830
1409
|
}
|
|
1410
|
+
/**
|
|
1411
|
+
*
|
|
1412
|
+
* @export
|
|
1413
|
+
* @interface VisitorSchedulePasses
|
|
1414
|
+
*/
|
|
1415
|
+
export interface VisitorSchedulePasses {
|
|
1416
|
+
/**
|
|
1417
|
+
*
|
|
1418
|
+
* @type {string}
|
|
1419
|
+
* @memberof VisitorSchedulePasses
|
|
1420
|
+
*/
|
|
1421
|
+
'tower_id': string;
|
|
1422
|
+
/**
|
|
1423
|
+
*
|
|
1424
|
+
* @type {string}
|
|
1425
|
+
* @memberof VisitorSchedulePasses
|
|
1426
|
+
*/
|
|
1427
|
+
'floor_id': string;
|
|
1428
|
+
/**
|
|
1429
|
+
*
|
|
1430
|
+
* @type {string}
|
|
1431
|
+
* @memberof VisitorSchedulePasses
|
|
1432
|
+
*/
|
|
1433
|
+
'from': string;
|
|
1434
|
+
/**
|
|
1435
|
+
*
|
|
1436
|
+
* @type {string}
|
|
1437
|
+
* @memberof VisitorSchedulePasses
|
|
1438
|
+
*/
|
|
1439
|
+
'to': string;
|
|
1440
|
+
/**
|
|
1441
|
+
*
|
|
1442
|
+
* @type {object}
|
|
1443
|
+
* @memberof VisitorSchedulePasses
|
|
1444
|
+
*/
|
|
1445
|
+
'repetition'?: object;
|
|
1446
|
+
/**
|
|
1447
|
+
*
|
|
1448
|
+
* @type {string}
|
|
1449
|
+
* @memberof VisitorSchedulePasses
|
|
1450
|
+
*/
|
|
1451
|
+
'created_at': string;
|
|
1452
|
+
/**
|
|
1453
|
+
*
|
|
1454
|
+
* @type {string}
|
|
1455
|
+
* @memberof VisitorSchedulePasses
|
|
1456
|
+
*/
|
|
1457
|
+
'updated_at': string;
|
|
1458
|
+
}
|
|
831
1459
|
/**
|
|
832
1460
|
*
|
|
833
1461
|
* @export
|
|
@@ -869,7 +1497,7 @@ export interface WebhookCreateBody {
|
|
|
869
1497
|
* @type {string}
|
|
870
1498
|
* @memberof WebhookCreateBody
|
|
871
1499
|
*/
|
|
872
|
-
'
|
|
1500
|
+
'uid': string;
|
|
873
1501
|
}
|
|
874
1502
|
/**
|
|
875
1503
|
*
|
|
@@ -973,86 +1601,213 @@ export interface WrappedResponseFindMemberResultArrayOrNullData {
|
|
|
973
1601
|
export interface WrappedResponseMembersShowResponse {
|
|
974
1602
|
/**
|
|
975
1603
|
*
|
|
976
|
-
* @type {WrappedResponseMembersShowResponseData}
|
|
977
|
-
* @memberof WrappedResponseMembersShowResponse
|
|
1604
|
+
* @type {WrappedResponseMembersShowResponseData}
|
|
1605
|
+
* @memberof WrappedResponseMembersShowResponse
|
|
1606
|
+
*/
|
|
1607
|
+
'data': WrappedResponseMembersShowResponseData | null;
|
|
1608
|
+
}
|
|
1609
|
+
/**
|
|
1610
|
+
*
|
|
1611
|
+
* @export
|
|
1612
|
+
* @interface WrappedResponseMembersShowResponseData
|
|
1613
|
+
*/
|
|
1614
|
+
export interface WrappedResponseMembersShowResponseData {
|
|
1615
|
+
/**
|
|
1616
|
+
*
|
|
1617
|
+
* @type {string}
|
|
1618
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
1619
|
+
*/
|
|
1620
|
+
'id': string;
|
|
1621
|
+
/**
|
|
1622
|
+
*
|
|
1623
|
+
* @type {string}
|
|
1624
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
1625
|
+
*/
|
|
1626
|
+
'uid': string;
|
|
1627
|
+
/**
|
|
1628
|
+
*
|
|
1629
|
+
* @type {JsonValue}
|
|
1630
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
1631
|
+
*/
|
|
1632
|
+
'metadata': JsonValue | null;
|
|
1633
|
+
/**
|
|
1634
|
+
*
|
|
1635
|
+
* @type {string}
|
|
1636
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
1637
|
+
*/
|
|
1638
|
+
'account_id': string | null;
|
|
1639
|
+
/**
|
|
1640
|
+
*
|
|
1641
|
+
* @type {string}
|
|
1642
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
1643
|
+
*/
|
|
1644
|
+
'created_at': string;
|
|
1645
|
+
/**
|
|
1646
|
+
*
|
|
1647
|
+
* @type {string}
|
|
1648
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
1649
|
+
*/
|
|
1650
|
+
'updated_at': string;
|
|
1651
|
+
/**
|
|
1652
|
+
*
|
|
1653
|
+
* @type {Array<PassData>}
|
|
1654
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
1655
|
+
*/
|
|
1656
|
+
'passes': Array<PassData>;
|
|
1657
|
+
/**
|
|
1658
|
+
*
|
|
1659
|
+
* @type {Array<TowerData>}
|
|
1660
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
1661
|
+
*/
|
|
1662
|
+
'towers': Array<TowerData>;
|
|
1663
|
+
}
|
|
1664
|
+
/**
|
|
1665
|
+
*
|
|
1666
|
+
* @export
|
|
1667
|
+
* @interface WrappedResponseNull
|
|
1668
|
+
*/
|
|
1669
|
+
export interface WrappedResponseNull {
|
|
1670
|
+
/**
|
|
1671
|
+
*
|
|
1672
|
+
* @type {Array<number>}
|
|
1673
|
+
* @memberof WrappedResponseNull
|
|
1674
|
+
*/
|
|
1675
|
+
'data': Array<WrappedResponseNullDataEnum>;
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
export const WrappedResponseNullDataEnum = {
|
|
1679
|
+
NUMBER_null: null
|
|
1680
|
+
} as const;
|
|
1681
|
+
|
|
1682
|
+
export type WrappedResponseNullDataEnum = typeof WrappedResponseNullDataEnum[keyof typeof WrappedResponseNullDataEnum];
|
|
1683
|
+
|
|
1684
|
+
/**
|
|
1685
|
+
*
|
|
1686
|
+
* @export
|
|
1687
|
+
* @interface WrappedResponseParkingLotsIndexResponse
|
|
1688
|
+
*/
|
|
1689
|
+
export interface WrappedResponseParkingLotsIndexResponse {
|
|
1690
|
+
/**
|
|
1691
|
+
*
|
|
1692
|
+
* @type {WrappedResponseParkingLotsIndexResponseData}
|
|
1693
|
+
* @memberof WrappedResponseParkingLotsIndexResponse
|
|
1694
|
+
*/
|
|
1695
|
+
'data': WrappedResponseParkingLotsIndexResponseData | null;
|
|
1696
|
+
}
|
|
1697
|
+
/**
|
|
1698
|
+
*
|
|
1699
|
+
* @export
|
|
1700
|
+
* @interface WrappedResponseParkingLotsIndexResponseData
|
|
1701
|
+
*/
|
|
1702
|
+
export interface WrappedResponseParkingLotsIndexResponseData {
|
|
1703
|
+
}
|
|
1704
|
+
/**
|
|
1705
|
+
*
|
|
1706
|
+
* @export
|
|
1707
|
+
* @interface WrappedResponsePassConsentResponse
|
|
1708
|
+
*/
|
|
1709
|
+
export interface WrappedResponsePassConsentResponse {
|
|
1710
|
+
/**
|
|
1711
|
+
*
|
|
1712
|
+
* @type {WrappedResponsePassConsentResponseData}
|
|
1713
|
+
* @memberof WrappedResponsePassConsentResponse
|
|
978
1714
|
*/
|
|
979
|
-
'data':
|
|
1715
|
+
'data': WrappedResponsePassConsentResponseData | null;
|
|
980
1716
|
}
|
|
981
1717
|
/**
|
|
982
1718
|
*
|
|
983
1719
|
* @export
|
|
984
|
-
* @interface
|
|
1720
|
+
* @interface WrappedResponsePassConsentResponseData
|
|
985
1721
|
*/
|
|
986
|
-
export interface
|
|
1722
|
+
export interface WrappedResponsePassConsentResponseData {
|
|
987
1723
|
/**
|
|
988
1724
|
*
|
|
989
1725
|
* @type {string}
|
|
990
|
-
* @memberof
|
|
1726
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
991
1727
|
*/
|
|
992
1728
|
'id': string;
|
|
993
1729
|
/**
|
|
994
1730
|
*
|
|
995
1731
|
* @type {string}
|
|
996
|
-
* @memberof
|
|
1732
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
997
1733
|
*/
|
|
998
|
-
'
|
|
1734
|
+
'created_at': string;
|
|
999
1735
|
/**
|
|
1000
1736
|
*
|
|
1001
|
-
* @type {
|
|
1002
|
-
* @memberof
|
|
1737
|
+
* @type {string}
|
|
1738
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
1003
1739
|
*/
|
|
1004
|
-
'
|
|
1740
|
+
'updated_at': string;
|
|
1005
1741
|
/**
|
|
1006
1742
|
*
|
|
1007
1743
|
* @type {string}
|
|
1008
|
-
* @memberof
|
|
1744
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
1009
1745
|
*/
|
|
1010
|
-
'
|
|
1746
|
+
'uid': string | null;
|
|
1011
1747
|
/**
|
|
1012
1748
|
*
|
|
1013
1749
|
* @type {string}
|
|
1014
|
-
* @memberof
|
|
1750
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
1015
1751
|
*/
|
|
1016
|
-
'
|
|
1752
|
+
'from': string;
|
|
1017
1753
|
/**
|
|
1018
1754
|
*
|
|
1019
1755
|
* @type {string}
|
|
1020
|
-
* @memberof
|
|
1756
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
1021
1757
|
*/
|
|
1022
|
-
'
|
|
1758
|
+
'to': string;
|
|
1023
1759
|
/**
|
|
1024
1760
|
*
|
|
1025
|
-
* @type {
|
|
1026
|
-
* @memberof
|
|
1761
|
+
* @type {string}
|
|
1762
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
1027
1763
|
*/
|
|
1028
|
-
'
|
|
1764
|
+
'visitor_id': string;
|
|
1029
1765
|
/**
|
|
1030
1766
|
*
|
|
1031
|
-
* @type {
|
|
1032
|
-
* @memberof
|
|
1767
|
+
* @type {string}
|
|
1768
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
1033
1769
|
*/
|
|
1034
|
-
'
|
|
1770
|
+
'issuer_id': string;
|
|
1771
|
+
/**
|
|
1772
|
+
*
|
|
1773
|
+
* @type {string}
|
|
1774
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
1775
|
+
*/
|
|
1776
|
+
'status': WrappedResponsePassConsentResponseDataStatusEnum;
|
|
1777
|
+
/**
|
|
1778
|
+
*
|
|
1779
|
+
* @type {string}
|
|
1780
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
1781
|
+
*/
|
|
1782
|
+
'visit_schedule_id': string;
|
|
1783
|
+
/**
|
|
1784
|
+
*
|
|
1785
|
+
* @type {boolean}
|
|
1786
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
1787
|
+
*/
|
|
1788
|
+
'consent'?: boolean | null;
|
|
1035
1789
|
}
|
|
1790
|
+
|
|
1791
|
+
export const WrappedResponsePassConsentResponseDataStatusEnum = {
|
|
1792
|
+
Pending: 'pending',
|
|
1793
|
+
Confirmed: 'confirmed'
|
|
1794
|
+
} as const;
|
|
1795
|
+
|
|
1796
|
+
export type WrappedResponsePassConsentResponseDataStatusEnum = typeof WrappedResponsePassConsentResponseDataStatusEnum[keyof typeof WrappedResponsePassConsentResponseDataStatusEnum];
|
|
1797
|
+
|
|
1036
1798
|
/**
|
|
1037
1799
|
*
|
|
1038
1800
|
* @export
|
|
1039
|
-
* @interface
|
|
1801
|
+
* @interface WrappedResponseShowPassResponseOrNull
|
|
1040
1802
|
*/
|
|
1041
|
-
export interface
|
|
1803
|
+
export interface WrappedResponseShowPassResponseOrNull {
|
|
1042
1804
|
/**
|
|
1043
1805
|
*
|
|
1044
|
-
* @type {Array<
|
|
1045
|
-
* @memberof
|
|
1806
|
+
* @type {Array<ShowPassResponse>}
|
|
1807
|
+
* @memberof WrappedResponseShowPassResponseOrNull
|
|
1046
1808
|
*/
|
|
1047
|
-
'data': Array<
|
|
1809
|
+
'data': Array<ShowPassResponse> | null;
|
|
1048
1810
|
}
|
|
1049
|
-
|
|
1050
|
-
export const WrappedResponseNullDataEnum = {
|
|
1051
|
-
NUMBER_null: null
|
|
1052
|
-
} as const;
|
|
1053
|
-
|
|
1054
|
-
export type WrappedResponseNullDataEnum = typeof WrappedResponseNullDataEnum[keyof typeof WrappedResponseNullDataEnum];
|
|
1055
|
-
|
|
1056
1811
|
/**
|
|
1057
1812
|
*
|
|
1058
1813
|
* @export
|
|
@@ -1127,6 +1882,61 @@ export interface WrappedResponseShowVisitorResponseData {
|
|
|
1127
1882
|
*/
|
|
1128
1883
|
'updated_at': string;
|
|
1129
1884
|
}
|
|
1885
|
+
/**
|
|
1886
|
+
*
|
|
1887
|
+
* @export
|
|
1888
|
+
* @interface ZoneData
|
|
1889
|
+
*/
|
|
1890
|
+
export interface ZoneData {
|
|
1891
|
+
/**
|
|
1892
|
+
*
|
|
1893
|
+
* @type {TowerData}
|
|
1894
|
+
* @memberof ZoneData
|
|
1895
|
+
*/
|
|
1896
|
+
'tower': TowerData;
|
|
1897
|
+
/**
|
|
1898
|
+
*
|
|
1899
|
+
* @type {string}
|
|
1900
|
+
* @memberof ZoneData
|
|
1901
|
+
*/
|
|
1902
|
+
'id'?: string;
|
|
1903
|
+
/**
|
|
1904
|
+
*
|
|
1905
|
+
* @type {string}
|
|
1906
|
+
* @memberof ZoneData
|
|
1907
|
+
*/
|
|
1908
|
+
'uid'?: string;
|
|
1909
|
+
/**
|
|
1910
|
+
*
|
|
1911
|
+
* @type {string}
|
|
1912
|
+
* @memberof ZoneData
|
|
1913
|
+
*/
|
|
1914
|
+
'name'?: string;
|
|
1915
|
+
/**
|
|
1916
|
+
*
|
|
1917
|
+
* @type {PrismaJsonValue}
|
|
1918
|
+
* @memberof ZoneData
|
|
1919
|
+
*/
|
|
1920
|
+
'display_name'?: PrismaJsonValue | null;
|
|
1921
|
+
/**
|
|
1922
|
+
*
|
|
1923
|
+
* @type {string}
|
|
1924
|
+
* @memberof ZoneData
|
|
1925
|
+
*/
|
|
1926
|
+
'tower_id'?: string;
|
|
1927
|
+
/**
|
|
1928
|
+
*
|
|
1929
|
+
* @type {string}
|
|
1930
|
+
* @memberof ZoneData
|
|
1931
|
+
*/
|
|
1932
|
+
'created_at'?: string;
|
|
1933
|
+
/**
|
|
1934
|
+
*
|
|
1935
|
+
* @type {string}
|
|
1936
|
+
* @memberof ZoneData
|
|
1937
|
+
*/
|
|
1938
|
+
'updated_at'?: string;
|
|
1939
|
+
}
|
|
1130
1940
|
|
|
1131
1941
|
/**
|
|
1132
1942
|
* DefaultApi - axios parameter creator
|
|
@@ -1299,6 +2109,107 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1299
2109
|
|
|
1300
2110
|
|
|
1301
2111
|
|
|
2112
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2113
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2114
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2115
|
+
|
|
2116
|
+
return {
|
|
2117
|
+
url: toPathString(localVarUrlObj),
|
|
2118
|
+
options: localVarRequestOptions,
|
|
2119
|
+
};
|
|
2120
|
+
},
|
|
2121
|
+
/**
|
|
2122
|
+
*
|
|
2123
|
+
* @param {*} [options] Override http request option.
|
|
2124
|
+
* @throws {RequiredError}
|
|
2125
|
+
*/
|
|
2126
|
+
parkingLotsIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2127
|
+
const localVarPath = `/parking_lots`;
|
|
2128
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2129
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2130
|
+
let baseOptions;
|
|
2131
|
+
if (configuration) {
|
|
2132
|
+
baseOptions = configuration.baseOptions;
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2135
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2136
|
+
const localVarHeaderParameter = {} as any;
|
|
2137
|
+
const localVarQueryParameter = {} as any;
|
|
2138
|
+
|
|
2139
|
+
|
|
2140
|
+
|
|
2141
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2142
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2143
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2144
|
+
|
|
2145
|
+
return {
|
|
2146
|
+
url: toPathString(localVarUrlObj),
|
|
2147
|
+
options: localVarRequestOptions,
|
|
2148
|
+
};
|
|
2149
|
+
},
|
|
2150
|
+
/**
|
|
2151
|
+
*
|
|
2152
|
+
* @param {string} id
|
|
2153
|
+
* @param {ConsentRequestBody} consentRequestBody
|
|
2154
|
+
* @param {*} [options] Override http request option.
|
|
2155
|
+
* @throws {RequiredError}
|
|
2156
|
+
*/
|
|
2157
|
+
passesConsent: async (id: string, consentRequestBody: ConsentRequestBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2158
|
+
// verify required parameter 'id' is not null or undefined
|
|
2159
|
+
assertParamExists('passesConsent', 'id', id)
|
|
2160
|
+
// verify required parameter 'consentRequestBody' is not null or undefined
|
|
2161
|
+
assertParamExists('passesConsent', 'consentRequestBody', consentRequestBody)
|
|
2162
|
+
const localVarPath = `/passes/consent/{id}`
|
|
2163
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2164
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2165
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2166
|
+
let baseOptions;
|
|
2167
|
+
if (configuration) {
|
|
2168
|
+
baseOptions = configuration.baseOptions;
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
2172
|
+
const localVarHeaderParameter = {} as any;
|
|
2173
|
+
const localVarQueryParameter = {} as any;
|
|
2174
|
+
|
|
2175
|
+
|
|
2176
|
+
|
|
2177
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2178
|
+
|
|
2179
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2180
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2181
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2182
|
+
localVarRequestOptions.data = serializeDataIfNeeded(consentRequestBody, localVarRequestOptions, configuration)
|
|
2183
|
+
|
|
2184
|
+
return {
|
|
2185
|
+
url: toPathString(localVarUrlObj),
|
|
2186
|
+
options: localVarRequestOptions,
|
|
2187
|
+
};
|
|
2188
|
+
},
|
|
2189
|
+
/**
|
|
2190
|
+
*
|
|
2191
|
+
* @param {string} id
|
|
2192
|
+
* @param {*} [options] Override http request option.
|
|
2193
|
+
* @throws {RequiredError}
|
|
2194
|
+
*/
|
|
2195
|
+
passesShow: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2196
|
+
// verify required parameter 'id' is not null or undefined
|
|
2197
|
+
assertParamExists('passesShow', 'id', id)
|
|
2198
|
+
const localVarPath = `/passes/{id}`
|
|
2199
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2200
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2201
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2202
|
+
let baseOptions;
|
|
2203
|
+
if (configuration) {
|
|
2204
|
+
baseOptions = configuration.baseOptions;
|
|
2205
|
+
}
|
|
2206
|
+
|
|
2207
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2208
|
+
const localVarHeaderParameter = {} as any;
|
|
2209
|
+
const localVarQueryParameter = {} as any;
|
|
2210
|
+
|
|
2211
|
+
|
|
2212
|
+
|
|
1302
2213
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1303
2214
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1304
2215
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1504,6 +2415,36 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
1504
2415
|
const localVarAxiosArgs = await localVarAxiosParamCreator.membersShow(id, options);
|
|
1505
2416
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1506
2417
|
},
|
|
2418
|
+
/**
|
|
2419
|
+
*
|
|
2420
|
+
* @param {*} [options] Override http request option.
|
|
2421
|
+
* @throws {RequiredError}
|
|
2422
|
+
*/
|
|
2423
|
+
async parkingLotsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingLotsIndexResponse>> {
|
|
2424
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingLotsIndex(options);
|
|
2425
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2426
|
+
},
|
|
2427
|
+
/**
|
|
2428
|
+
*
|
|
2429
|
+
* @param {string} id
|
|
2430
|
+
* @param {ConsentRequestBody} consentRequestBody
|
|
2431
|
+
* @param {*} [options] Override http request option.
|
|
2432
|
+
* @throws {RequiredError}
|
|
2433
|
+
*/
|
|
2434
|
+
async passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponsePassConsentResponse>> {
|
|
2435
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.passesConsent(id, consentRequestBody, options);
|
|
2436
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2437
|
+
},
|
|
2438
|
+
/**
|
|
2439
|
+
*
|
|
2440
|
+
* @param {string} id
|
|
2441
|
+
* @param {*} [options] Override http request option.
|
|
2442
|
+
* @throws {RequiredError}
|
|
2443
|
+
*/
|
|
2444
|
+
async passesShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowPassResponseOrNull>> {
|
|
2445
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.passesShow(id, options);
|
|
2446
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2447
|
+
},
|
|
1507
2448
|
/**
|
|
1508
2449
|
*
|
|
1509
2450
|
* @param {SyncBody} syncBody
|
|
@@ -1599,6 +2540,33 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
1599
2540
|
membersShow(id: string, options?: any): AxiosPromise<WrappedResponseMembersShowResponse> {
|
|
1600
2541
|
return localVarFp.membersShow(id, options).then((request) => request(axios, basePath));
|
|
1601
2542
|
},
|
|
2543
|
+
/**
|
|
2544
|
+
*
|
|
2545
|
+
* @param {*} [options] Override http request option.
|
|
2546
|
+
* @throws {RequiredError}
|
|
2547
|
+
*/
|
|
2548
|
+
parkingLotsIndex(options?: any): AxiosPromise<WrappedResponseParkingLotsIndexResponse> {
|
|
2549
|
+
return localVarFp.parkingLotsIndex(options).then((request) => request(axios, basePath));
|
|
2550
|
+
},
|
|
2551
|
+
/**
|
|
2552
|
+
*
|
|
2553
|
+
* @param {string} id
|
|
2554
|
+
* @param {ConsentRequestBody} consentRequestBody
|
|
2555
|
+
* @param {*} [options] Override http request option.
|
|
2556
|
+
* @throws {RequiredError}
|
|
2557
|
+
*/
|
|
2558
|
+
passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: any): AxiosPromise<WrappedResponsePassConsentResponse> {
|
|
2559
|
+
return localVarFp.passesConsent(id, consentRequestBody, options).then((request) => request(axios, basePath));
|
|
2560
|
+
},
|
|
2561
|
+
/**
|
|
2562
|
+
*
|
|
2563
|
+
* @param {string} id
|
|
2564
|
+
* @param {*} [options] Override http request option.
|
|
2565
|
+
* @throws {RequiredError}
|
|
2566
|
+
*/
|
|
2567
|
+
passesShow(id: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull> {
|
|
2568
|
+
return localVarFp.passesShow(id, options).then((request) => request(axios, basePath));
|
|
2569
|
+
},
|
|
1602
2570
|
/**
|
|
1603
2571
|
*
|
|
1604
2572
|
* @param {SyncBody} syncBody
|
|
@@ -1700,6 +2668,39 @@ export class DefaultApi extends BaseAPI {
|
|
|
1700
2668
|
return DefaultApiFp(this.configuration).membersShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
1701
2669
|
}
|
|
1702
2670
|
|
|
2671
|
+
/**
|
|
2672
|
+
*
|
|
2673
|
+
* @param {*} [options] Override http request option.
|
|
2674
|
+
* @throws {RequiredError}
|
|
2675
|
+
* @memberof DefaultApi
|
|
2676
|
+
*/
|
|
2677
|
+
public parkingLotsIndex(options?: AxiosRequestConfig) {
|
|
2678
|
+
return DefaultApiFp(this.configuration).parkingLotsIndex(options).then((request) => request(this.axios, this.basePath));
|
|
2679
|
+
}
|
|
2680
|
+
|
|
2681
|
+
/**
|
|
2682
|
+
*
|
|
2683
|
+
* @param {string} id
|
|
2684
|
+
* @param {ConsentRequestBody} consentRequestBody
|
|
2685
|
+
* @param {*} [options] Override http request option.
|
|
2686
|
+
* @throws {RequiredError}
|
|
2687
|
+
* @memberof DefaultApi
|
|
2688
|
+
*/
|
|
2689
|
+
public passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig) {
|
|
2690
|
+
return DefaultApiFp(this.configuration).passesConsent(id, consentRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
2691
|
+
}
|
|
2692
|
+
|
|
2693
|
+
/**
|
|
2694
|
+
*
|
|
2695
|
+
* @param {string} id
|
|
2696
|
+
* @param {*} [options] Override http request option.
|
|
2697
|
+
* @throws {RequiredError}
|
|
2698
|
+
* @memberof DefaultApi
|
|
2699
|
+
*/
|
|
2700
|
+
public passesShow(id: string, options?: AxiosRequestConfig) {
|
|
2701
|
+
return DefaultApiFp(this.configuration).passesShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
2702
|
+
}
|
|
2703
|
+
|
|
1703
2704
|
/**
|
|
1704
2705
|
*
|
|
1705
2706
|
* @param {SyncBody} syncBody
|