ob-bms-sdk 0.0.107 → 0.0.109

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
@@ -2405,6 +2405,55 @@ export interface ParkingFloorData {
2405
2405
  */
2406
2406
  'total_available_slots': number;
2407
2407
  }
2408
+ /**
2409
+ *
2410
+ * @export
2411
+ * @interface ParkingFloorsData
2412
+ */
2413
+ export interface ParkingFloorsData {
2414
+ /**
2415
+ *
2416
+ * @type {string}
2417
+ * @memberof ParkingFloorsData
2418
+ */
2419
+ 'id'?: string;
2420
+ /**
2421
+ *
2422
+ * @type {string}
2423
+ * @memberof ParkingFloorsData
2424
+ */
2425
+ 'uid'?: string;
2426
+ /**
2427
+ *
2428
+ * @type {string}
2429
+ * @memberof ParkingFloorsData
2430
+ */
2431
+ 'name'?: string;
2432
+ /**
2433
+ *
2434
+ * @type {PrismaJsonValue}
2435
+ * @memberof ParkingFloorsData
2436
+ */
2437
+ 'display_name'?: PrismaJsonValue | null;
2438
+ /**
2439
+ *
2440
+ * @type {string}
2441
+ * @memberof ParkingFloorsData
2442
+ */
2443
+ 'parking_tower_id'?: string;
2444
+ /**
2445
+ *
2446
+ * @type {string}
2447
+ * @memberof ParkingFloorsData
2448
+ */
2449
+ 'created_at'?: string;
2450
+ /**
2451
+ *
2452
+ * @type {string}
2453
+ * @memberof ParkingFloorsData
2454
+ */
2455
+ 'updated_at'?: string;
2456
+ }
2408
2457
  /**
2409
2458
  *
2410
2459
  * @export
@@ -2708,6 +2757,293 @@ export interface ParkingRedemptionRateResult {
2708
2757
  */
2709
2758
  'code': number;
2710
2759
  }
2760
+ /**
2761
+ *
2762
+ * @export
2763
+ * @interface ParkingReservationBody
2764
+ */
2765
+ export interface ParkingReservationBody {
2766
+ /**
2767
+ *
2768
+ * @type {string}
2769
+ * @memberof ParkingReservationBody
2770
+ */
2771
+ 'parking_space_id': string;
2772
+ /**
2773
+ *
2774
+ * @type {TenantMemberResultCreatedAt}
2775
+ * @memberof ParkingReservationBody
2776
+ */
2777
+ 'start_time': TenantMemberResultCreatedAt;
2778
+ /**
2779
+ *
2780
+ * @type {number}
2781
+ * @memberof ParkingReservationBody
2782
+ */
2783
+ 'fee': number;
2784
+ }
2785
+ /**
2786
+ *
2787
+ * @export
2788
+ * @interface ParkingReservationData
2789
+ */
2790
+ export interface ParkingReservationData {
2791
+ /**
2792
+ *
2793
+ * @type {string}
2794
+ * @memberof ParkingReservationData
2795
+ */
2796
+ 'car_plate_number': string;
2797
+ /**
2798
+ *
2799
+ * @type {string}
2800
+ * @memberof ParkingReservationData
2801
+ */
2802
+ 'reservation_number': string;
2803
+ /**
2804
+ *
2805
+ * @type {string}
2806
+ * @memberof ParkingReservationData
2807
+ */
2808
+ 'id': string;
2809
+ }
2810
+ /**
2811
+ *
2812
+ * @export
2813
+ * @interface ParkingReservationDetailResponse
2814
+ */
2815
+ export interface ParkingReservationDetailResponse {
2816
+ /**
2817
+ *
2818
+ * @type {string}
2819
+ * @memberof ParkingReservationDetailResponse
2820
+ */
2821
+ 'id': string;
2822
+ /**
2823
+ *
2824
+ * @type {string}
2825
+ * @memberof ParkingReservationDetailResponse
2826
+ */
2827
+ 'parking_space_id': string;
2828
+ /**
2829
+ *
2830
+ * @type {string}
2831
+ * @memberof ParkingReservationDetailResponse
2832
+ */
2833
+ 'member_id': string;
2834
+ /**
2835
+ *
2836
+ * @type {TenantMemberResultCreatedAt}
2837
+ * @memberof ParkingReservationDetailResponse
2838
+ */
2839
+ 'created_at': TenantMemberResultCreatedAt;
2840
+ /**
2841
+ *
2842
+ * @type {TenantMemberResultCreatedAt}
2843
+ * @memberof ParkingReservationDetailResponse
2844
+ */
2845
+ 'updated_at': TenantMemberResultCreatedAt;
2846
+ /**
2847
+ *
2848
+ * @type {TenantMemberResultCreatedAt}
2849
+ * @memberof ParkingReservationDetailResponse
2850
+ */
2851
+ 'start_time': TenantMemberResultCreatedAt;
2852
+ /**
2853
+ *
2854
+ * @type {number}
2855
+ * @memberof ParkingReservationDetailResponse
2856
+ */
2857
+ 'fee': number;
2858
+ /**
2859
+ *
2860
+ * @type {string}
2861
+ * @memberof ParkingReservationDetailResponse
2862
+ */
2863
+ 'status': string;
2864
+ /**
2865
+ *
2866
+ * @type {object}
2867
+ * @memberof ParkingReservationDetailResponse
2868
+ */
2869
+ 'parking_space': object;
2870
+ /**
2871
+ *
2872
+ * @type {ParkingLotData}
2873
+ * @memberof ParkingReservationDetailResponse
2874
+ */
2875
+ 'parking_lot': ParkingLotData;
2876
+ /**
2877
+ *
2878
+ * @type {ParkingFloorsData}
2879
+ * @memberof ParkingReservationDetailResponse
2880
+ */
2881
+ 'parking_floor': ParkingFloorsData;
2882
+ /**
2883
+ *
2884
+ * @type {string}
2885
+ * @memberof ParkingReservationDetailResponse
2886
+ */
2887
+ 'reservation_number': string;
2888
+ /**
2889
+ *
2890
+ * @type {object}
2891
+ * @memberof ParkingReservationDetailResponse
2892
+ */
2893
+ 'blocker': object;
2894
+ }
2895
+ /**
2896
+ *
2897
+ * @export
2898
+ * @interface ParkingReservationReservedListResponse
2899
+ */
2900
+ export interface ParkingReservationReservedListResponse {
2901
+ /**
2902
+ *
2903
+ * @type {string}
2904
+ * @memberof ParkingReservationReservedListResponse
2905
+ */
2906
+ 'id': string;
2907
+ /**
2908
+ *
2909
+ * @type {string}
2910
+ * @memberof ParkingReservationReservedListResponse
2911
+ */
2912
+ 'parking_space_id': string;
2913
+ /**
2914
+ *
2915
+ * @type {string}
2916
+ * @memberof ParkingReservationReservedListResponse
2917
+ */
2918
+ 'member_id': string;
2919
+ /**
2920
+ *
2921
+ * @type {TenantMemberResultCreatedAt}
2922
+ * @memberof ParkingReservationReservedListResponse
2923
+ */
2924
+ 'start_time': TenantMemberResultCreatedAt;
2925
+ /**
2926
+ *
2927
+ * @type {TenantMemberResultCreatedAt}
2928
+ * @memberof ParkingReservationReservedListResponse
2929
+ */
2930
+ 'created_at': TenantMemberResultCreatedAt;
2931
+ /**
2932
+ *
2933
+ * @type {TenantMemberResultCreatedAt}
2934
+ * @memberof ParkingReservationReservedListResponse
2935
+ */
2936
+ 'updated_at': TenantMemberResultCreatedAt;
2937
+ /**
2938
+ *
2939
+ * @type {string}
2940
+ * @memberof ParkingReservationReservedListResponse
2941
+ */
2942
+ 'reservation_number': string;
2943
+ /**
2944
+ *
2945
+ * @type {number}
2946
+ * @memberof ParkingReservationReservedListResponse
2947
+ */
2948
+ 'fee': number;
2949
+ /**
2950
+ *
2951
+ * @type {string}
2952
+ * @memberof ParkingReservationReservedListResponse
2953
+ */
2954
+ 'status': string;
2955
+ /**
2956
+ *
2957
+ * @type {object}
2958
+ * @memberof ParkingReservationReservedListResponse
2959
+ */
2960
+ 'parking_space': object;
2961
+ }
2962
+ /**
2963
+ *
2964
+ * @export
2965
+ * @interface ParkingReservationResponse
2966
+ */
2967
+ export interface ParkingReservationResponse {
2968
+ /**
2969
+ *
2970
+ * @type {string}
2971
+ * @memberof ParkingReservationResponse
2972
+ */
2973
+ 'id': string;
2974
+ /**
2975
+ *
2976
+ * @type {string}
2977
+ * @memberof ParkingReservationResponse
2978
+ */
2979
+ 'parking_space_id': string;
2980
+ /**
2981
+ *
2982
+ * @type {string}
2983
+ * @memberof ParkingReservationResponse
2984
+ */
2985
+ 'member_id': string;
2986
+ /**
2987
+ *
2988
+ * @type {TenantMemberResultCreatedAt}
2989
+ * @memberof ParkingReservationResponse
2990
+ */
2991
+ 'created_at': TenantMemberResultCreatedAt;
2992
+ /**
2993
+ *
2994
+ * @type {TenantMemberResultCreatedAt}
2995
+ * @memberof ParkingReservationResponse
2996
+ */
2997
+ 'updated_at': TenantMemberResultCreatedAt;
2998
+ /**
2999
+ *
3000
+ * @type {TenantMemberResultCreatedAt}
3001
+ * @memberof ParkingReservationResponse
3002
+ */
3003
+ 'start_time': TenantMemberResultCreatedAt;
3004
+ /**
3005
+ *
3006
+ * @type {number}
3007
+ * @memberof ParkingReservationResponse
3008
+ */
3009
+ 'fee': number;
3010
+ /**
3011
+ *
3012
+ * @type {string}
3013
+ * @memberof ParkingReservationResponse
3014
+ */
3015
+ 'status': string;
3016
+ /**
3017
+ *
3018
+ * @type {object}
3019
+ * @memberof ParkingReservationResponse
3020
+ */
3021
+ 'parking_space': object;
3022
+ /**
3023
+ *
3024
+ * @type {ParkingLotData}
3025
+ * @memberof ParkingReservationResponse
3026
+ */
3027
+ 'parking_lot': ParkingLotData;
3028
+ /**
3029
+ *
3030
+ * @type {ParkingFloorsData}
3031
+ * @memberof ParkingReservationResponse
3032
+ */
3033
+ 'parking_floor': ParkingFloorsData;
3034
+ /**
3035
+ *
3036
+ * @type {string}
3037
+ * @memberof ParkingReservationResponse
3038
+ */
3039
+ 'reservation_number': string;
3040
+ /**
3041
+ *
3042
+ * @type {object}
3043
+ * @memberof ParkingReservationResponse
3044
+ */
3045
+ 'blocker': object;
3046
+ }
2711
3047
  /**
2712
3048
  *
2713
3049
  * @export
@@ -3166,77 +3502,203 @@ export interface PassData {
3166
3502
  /**
3167
3503
  *
3168
3504
  * @type {string}
3169
- * @memberof PassData
3505
+ * @memberof PassData
3506
+ */
3507
+ 'updated_at': string;
3508
+ /**
3509
+ *
3510
+ * @type {string}
3511
+ * @memberof PassData
3512
+ */
3513
+ 'created_at': string;
3514
+ /**
3515
+ *
3516
+ * @type {string}
3517
+ * @memberof PassData
3518
+ */
3519
+ 'status': PassDataStatusEnum;
3520
+ /**
3521
+ *
3522
+ * @type {string}
3523
+ * @memberof PassData
3524
+ */
3525
+ 'issuer_id': string;
3526
+ /**
3527
+ *
3528
+ * @type {string}
3529
+ * @memberof PassData
3530
+ */
3531
+ 'visit_schedule_id': string;
3532
+ /**
3533
+ *
3534
+ * @type {string}
3535
+ * @memberof PassData
3536
+ */
3537
+ 'visitor_id': string;
3538
+ /**
3539
+ *
3540
+ * @type {boolean}
3541
+ * @memberof PassData
3542
+ */
3543
+ 'consent': boolean | null;
3544
+ /**
3545
+ *
3546
+ * @type {string}
3547
+ * @memberof PassData
3548
+ */
3549
+ 'to': string;
3550
+ /**
3551
+ *
3552
+ * @type {string}
3553
+ * @memberof PassData
3554
+ */
3555
+ 'from': string;
3556
+ /**
3557
+ *
3558
+ * @type {string}
3559
+ * @memberof PassData
3560
+ */
3561
+ 'uid': string | null;
3562
+ /**
3563
+ *
3564
+ * @type {string}
3565
+ * @memberof PassData
3566
+ */
3567
+ 'id': string;
3568
+ }
3569
+
3570
+ export const PassDataStatusEnum = {
3571
+ Pending: 'pending',
3572
+ Confirmed: 'confirmed'
3573
+ } as const;
3574
+
3575
+ export type PassDataStatusEnum = typeof PassDataStatusEnum[keyof typeof PassDataStatusEnum];
3576
+
3577
+ /**
3578
+ *
3579
+ * @export
3580
+ * @interface PaymentData
3581
+ */
3582
+ export interface PaymentData {
3583
+ /**
3584
+ *
3585
+ * @type {string}
3586
+ * @memberof PaymentData
3170
3587
  */
3171
3588
  'updated_at': string;
3172
3589
  /**
3173
3590
  *
3174
3591
  * @type {string}
3175
- * @memberof PassData
3592
+ * @memberof PaymentData
3176
3593
  */
3177
3594
  'created_at': string;
3178
3595
  /**
3179
3596
  *
3180
3597
  * @type {string}
3181
- * @memberof PassData
3598
+ * @memberof PaymentData
3182
3599
  */
3183
- 'status': PassDataStatusEnum;
3600
+ 'expired_at': string;
3184
3601
  /**
3185
3602
  *
3186
3603
  * @type {string}
3187
- * @memberof PassData
3604
+ * @memberof PaymentData
3188
3605
  */
3189
- 'issuer_id': string;
3606
+ 'paid_at': string | null;
3190
3607
  /**
3191
3608
  *
3192
- * @type {string}
3193
- * @memberof PassData
3609
+ * @type {ParkingReservationData}
3610
+ * @memberof PaymentData
3194
3611
  */
3195
- 'visit_schedule_id': string;
3612
+ 'parking_reservation': ParkingReservationData;
3613
+ /**
3614
+ *
3615
+ * @type {JsonValue}
3616
+ * @memberof PaymentData
3617
+ */
3618
+ 'meta': JsonValue | null;
3619
+ /**
3620
+ *
3621
+ * @type {PaymentStatus}
3622
+ * @memberof PaymentData
3623
+ */
3624
+ 'status': PaymentStatus;
3196
3625
  /**
3197
3626
  *
3198
3627
  * @type {string}
3199
- * @memberof PassData
3628
+ * @memberof PaymentData
3200
3629
  */
3201
- 'visitor_id': string;
3630
+ 'payment_url': string | null;
3202
3631
  /**
3203
3632
  *
3204
- * @type {boolean}
3205
- * @memberof PassData
3633
+ * @type {number}
3634
+ * @memberof PaymentData
3206
3635
  */
3207
- 'consent': boolean | null;
3636
+ 'total_amount': number;
3637
+ /**
3638
+ *
3639
+ * @type {number}
3640
+ * @memberof PaymentData
3641
+ */
3642
+ 'vat_amount': number;
3643
+ /**
3644
+ *
3645
+ * @type {number}
3646
+ * @memberof PaymentData
3647
+ */
3648
+ 'discount_amount': number;
3649
+ /**
3650
+ *
3651
+ * @type {number}
3652
+ * @memberof PaymentData
3653
+ */
3654
+ 'amount': number;
3655
+ /**
3656
+ *
3657
+ * @type {number}
3658
+ * @memberof PaymentData
3659
+ */
3660
+ 'sub_total': number;
3208
3661
  /**
3209
3662
  *
3210
3663
  * @type {string}
3211
- * @memberof PassData
3664
+ * @memberof PaymentData
3212
3665
  */
3213
- 'to': string;
3666
+ 'description': string;
3214
3667
  /**
3215
3668
  *
3216
3669
  * @type {string}
3217
- * @memberof PassData
3670
+ * @memberof PaymentData
3218
3671
  */
3219
- 'from': string;
3672
+ 'invoice_number': string | null;
3220
3673
  /**
3221
3674
  *
3222
3675
  * @type {string}
3223
- * @memberof PassData
3676
+ * @memberof PaymentData
3224
3677
  */
3225
- 'uid': string | null;
3678
+ 'reference_number': string;
3226
3679
  /**
3227
3680
  *
3228
3681
  * @type {string}
3229
- * @memberof PassData
3682
+ * @memberof PaymentData
3230
3683
  */
3231
3684
  'id': string;
3232
3685
  }
3233
3686
 
3234
- export const PassDataStatusEnum = {
3687
+
3688
+ /**
3689
+ *
3690
+ * @export
3691
+ * @enum {string}
3692
+ */
3693
+
3694
+ export const PaymentStatus = {
3235
3695
  Pending: 'pending',
3236
- Confirmed: 'confirmed'
3696
+ Confirmed: 'confirmed',
3697
+ Cancelled: 'cancelled'
3237
3698
  } as const;
3238
3699
 
3239
- export type PassDataStatusEnum = typeof PassDataStatusEnum[keyof typeof PassDataStatusEnum];
3700
+ export type PaymentStatus = typeof PaymentStatus[keyof typeof PaymentStatus];
3701
+
3240
3702
 
3241
3703
  /**
3242
3704
  *
@@ -5327,137 +5789,324 @@ export interface VisitorScheduleTokens {
5327
5789
  * @type {string}
5328
5790
  * @memberof VisitorScheduleTokens
5329
5791
  */
5330
- 'visitor_schedule_id'?: string;
5792
+ 'visitor_schedule_id'?: string;
5793
+ /**
5794
+ *
5795
+ * @type {string}
5796
+ * @memberof VisitorScheduleTokens
5797
+ */
5798
+ 'created_at'?: string;
5799
+ /**
5800
+ *
5801
+ * @type {string}
5802
+ * @memberof VisitorScheduleTokens
5803
+ */
5804
+ 'updated_at'?: string;
5805
+ }
5806
+ /**
5807
+ *
5808
+ * @export
5809
+ * @interface VisitorTokenData
5810
+ */
5811
+ export interface VisitorTokenData {
5812
+ /**
5813
+ *
5814
+ * @type {string}
5815
+ * @memberof VisitorTokenData
5816
+ */
5817
+ 'id': string;
5818
+ /**
5819
+ *
5820
+ * @type {string}
5821
+ * @memberof VisitorTokenData
5822
+ */
5823
+ 'token_id': string;
5824
+ /**
5825
+ *
5826
+ * @type {string}
5827
+ * @memberof VisitorTokenData
5828
+ */
5829
+ 'expired_date': string | null;
5830
+ /**
5831
+ *
5832
+ * @type {string}
5833
+ * @memberof VisitorTokenData
5834
+ */
5835
+ 'visitor_schedule_id': string;
5836
+ /**
5837
+ *
5838
+ * @type {string}
5839
+ * @memberof VisitorTokenData
5840
+ */
5841
+ 'uid': string;
5842
+ /**
5843
+ *
5844
+ * @type {string}
5845
+ * @memberof VisitorTokenData
5846
+ */
5847
+ 'created_at': string;
5848
+ /**
5849
+ *
5850
+ * @type {string}
5851
+ * @memberof VisitorTokenData
5852
+ */
5853
+ 'updated_at': string;
5854
+ }
5855
+ /**
5856
+ *
5857
+ * @export
5858
+ * @interface VisitorTokensIndexQuery
5859
+ */
5860
+ export interface VisitorTokensIndexQuery {
5861
+ /**
5862
+ *
5863
+ * @type {string}
5864
+ * @memberof VisitorTokensIndexQuery
5865
+ */
5866
+ 'token_id'?: string;
5867
+ }
5868
+ /**
5869
+ *
5870
+ * @export
5871
+ * @interface WebhookCreateBody
5872
+ */
5873
+ export interface WebhookCreateBody {
5874
+ /**
5875
+ *
5876
+ * @type {string}
5877
+ * @memberof WebhookCreateBody
5878
+ */
5879
+ 'action': string;
5880
+ /**
5881
+ *
5882
+ * @type {WebhookCreateBodyPayload}
5883
+ * @memberof WebhookCreateBody
5884
+ */
5885
+ 'payload': WebhookCreateBodyPayload | null;
5886
+ }
5887
+ /**
5888
+ *
5889
+ * @export
5890
+ * @interface WebhookCreateBodyPayload
5891
+ */
5892
+ export interface WebhookCreateBodyPayload {
5893
+ /**
5894
+ *
5895
+ * @type {string}
5896
+ * @memberof WebhookCreateBodyPayload
5897
+ */
5898
+ 'personID': string;
5899
+ /**
5900
+ *
5901
+ * @type {string}
5902
+ * @memberof WebhookCreateBodyPayload
5903
+ */
5904
+ 'liftName': string;
5905
+ /**
5906
+ *
5907
+ * @type {string}
5908
+ * @memberof WebhookCreateBodyPayload
5909
+ */
5910
+ 'floorName': string;
5911
+ /**
5912
+ *
5913
+ * @type {string}
5914
+ * @memberof WebhookCreateBodyPayload
5915
+ */
5916
+ 'towerName': string;
5917
+ /**
5918
+ *
5919
+ * @type {string}
5920
+ * @memberof WebhookCreateBodyPayload
5921
+ */
5922
+ 'inviteID': string;
5923
+ /**
5924
+ *
5925
+ * @type {string}
5926
+ * @memberof WebhookCreateBodyPayload
5927
+ */
5928
+ 'transactionNo': string;
5929
+ /**
5930
+ *
5931
+ * @type {string}
5932
+ * @memberof WebhookCreateBodyPayload
5933
+ */
5934
+ 'invoiceNo': string;
5935
+ /**
5936
+ *
5937
+ * @type {string}
5938
+ * @memberof WebhookCreateBodyPayload
5939
+ */
5940
+ 'transactionDate': string;
5941
+ /**
5942
+ *
5943
+ * @type {string}
5944
+ * @memberof WebhookCreateBodyPayload
5945
+ */
5946
+ 'merchantId': string;
5947
+ /**
5948
+ *
5949
+ * @type {string}
5950
+ * @memberof WebhookCreateBodyPayload
5951
+ */
5952
+ 'merchantName': string;
5953
+ /**
5954
+ *
5955
+ * @type {string}
5956
+ * @memberof WebhookCreateBodyPayload
5957
+ */
5958
+ 'paymentChannel': string;
5959
+ /**
5960
+ *
5961
+ * @type {number}
5962
+ * @memberof WebhookCreateBodyPayload
5963
+ */
5964
+ 'amount': number;
5965
+ /**
5966
+ *
5967
+ * @type {number}
5968
+ * @memberof WebhookCreateBodyPayload
5969
+ */
5970
+ 'paidAmount': number;
5971
+ /**
5972
+ *
5973
+ * @type {number}
5974
+ * @memberof WebhookCreateBodyPayload
5975
+ */
5976
+ 'fee': number;
5977
+ /**
5978
+ *
5979
+ * @type {number}
5980
+ * @memberof WebhookCreateBodyPayload
5981
+ */
5982
+ 'feeVat': number;
5983
+ /**
5984
+ *
5985
+ * @type {number}
5986
+ * @memberof WebhookCreateBodyPayload
5987
+ */
5988
+ 'balance': number;
5989
+ /**
5990
+ *
5991
+ * @type {number}
5992
+ * @memberof WebhookCreateBodyPayload
5993
+ */
5994
+ 'transactionStatusId': number;
5995
+ /**
5996
+ *
5997
+ * @type {string}
5998
+ * @memberof WebhookCreateBodyPayload
5999
+ */
6000
+ 'description': string;
5331
6001
  /**
5332
6002
  *
5333
6003
  * @type {string}
5334
- * @memberof VisitorScheduleTokens
6004
+ * @memberof WebhookCreateBodyPayload
5335
6005
  */
5336
- 'created_at'?: string;
6006
+ 'deviceProfileId': string | null;
5337
6007
  /**
5338
6008
  *
5339
6009
  * @type {string}
5340
- * @memberof VisitorScheduleTokens
6010
+ * @memberof WebhookCreateBodyPayload
5341
6011
  */
5342
- 'updated_at'?: string;
6012
+ 'referenceNumber': string;
5343
6013
  }
5344
6014
  /**
5345
6015
  *
5346
6016
  * @export
5347
- * @interface VisitorTokenData
6017
+ * @interface WebhookPaymentPaidPayload
5348
6018
  */
5349
- export interface VisitorTokenData {
6019
+ export interface WebhookPaymentPaidPayload {
5350
6020
  /**
5351
6021
  *
5352
6022
  * @type {string}
5353
- * @memberof VisitorTokenData
6023
+ * @memberof WebhookPaymentPaidPayload
5354
6024
  */
5355
- 'id': string;
6025
+ 'transactionNo': string;
5356
6026
  /**
5357
6027
  *
5358
6028
  * @type {string}
5359
- * @memberof VisitorTokenData
6029
+ * @memberof WebhookPaymentPaidPayload
5360
6030
  */
5361
- 'token_id': string;
6031
+ 'invoiceNo': string;
5362
6032
  /**
5363
6033
  *
5364
6034
  * @type {string}
5365
- * @memberof VisitorTokenData
6035
+ * @memberof WebhookPaymentPaidPayload
5366
6036
  */
5367
- 'expired_date': string | null;
6037
+ 'transactionDate': string;
5368
6038
  /**
5369
6039
  *
5370
6040
  * @type {string}
5371
- * @memberof VisitorTokenData
6041
+ * @memberof WebhookPaymentPaidPayload
5372
6042
  */
5373
- 'visitor_schedule_id': string;
6043
+ 'merchantId': string;
5374
6044
  /**
5375
6045
  *
5376
6046
  * @type {string}
5377
- * @memberof VisitorTokenData
6047
+ * @memberof WebhookPaymentPaidPayload
5378
6048
  */
5379
- 'uid': string;
6049
+ 'merchantName': string;
5380
6050
  /**
5381
6051
  *
5382
6052
  * @type {string}
5383
- * @memberof VisitorTokenData
6053
+ * @memberof WebhookPaymentPaidPayload
5384
6054
  */
5385
- 'created_at': string;
6055
+ 'paymentChannel': string;
5386
6056
  /**
5387
6057
  *
5388
- * @type {string}
5389
- * @memberof VisitorTokenData
6058
+ * @type {number}
6059
+ * @memberof WebhookPaymentPaidPayload
5390
6060
  */
5391
- 'updated_at': string;
5392
- }
5393
- /**
5394
- *
5395
- * @export
5396
- * @interface VisitorTokensIndexQuery
5397
- */
5398
- export interface VisitorTokensIndexQuery {
6061
+ 'amount': number;
5399
6062
  /**
5400
6063
  *
5401
- * @type {string}
5402
- * @memberof VisitorTokensIndexQuery
6064
+ * @type {number}
6065
+ * @memberof WebhookPaymentPaidPayload
5403
6066
  */
5404
- 'token_id'?: string;
5405
- }
5406
- /**
5407
- *
5408
- * @export
5409
- * @interface WebhookCreateBody
5410
- */
5411
- export interface WebhookCreateBody {
6067
+ 'paidAmount': number;
5412
6068
  /**
5413
6069
  *
5414
- * @type {string}
5415
- * @memberof WebhookCreateBody
6070
+ * @type {number}
6071
+ * @memberof WebhookPaymentPaidPayload
5416
6072
  */
5417
- 'action': string;
6073
+ 'fee': number;
5418
6074
  /**
5419
6075
  *
5420
- * @type {WebhookCreateBodyPayload}
5421
- * @memberof WebhookCreateBody
6076
+ * @type {number}
6077
+ * @memberof WebhookPaymentPaidPayload
5422
6078
  */
5423
- 'payload': WebhookCreateBodyPayload | null;
5424
- }
5425
- /**
5426
- *
5427
- * @export
5428
- * @interface WebhookCreateBodyPayload
5429
- */
5430
- export interface WebhookCreateBodyPayload {
6079
+ 'feeVat': number;
5431
6080
  /**
5432
6081
  *
5433
- * @type {string}
5434
- * @memberof WebhookCreateBodyPayload
6082
+ * @type {number}
6083
+ * @memberof WebhookPaymentPaidPayload
5435
6084
  */
5436
- 'personID': string;
6085
+ 'balance': number;
5437
6086
  /**
5438
6087
  *
5439
- * @type {string}
5440
- * @memberof WebhookCreateBodyPayload
6088
+ * @type {number}
6089
+ * @memberof WebhookPaymentPaidPayload
5441
6090
  */
5442
- 'liftName': string;
6091
+ 'transactionStatusId': number;
5443
6092
  /**
5444
6093
  *
5445
6094
  * @type {string}
5446
- * @memberof WebhookCreateBodyPayload
6095
+ * @memberof WebhookPaymentPaidPayload
5447
6096
  */
5448
- 'floorName': string;
6097
+ 'description': string;
5449
6098
  /**
5450
6099
  *
5451
6100
  * @type {string}
5452
- * @memberof WebhookCreateBodyPayload
6101
+ * @memberof WebhookPaymentPaidPayload
5453
6102
  */
5454
- 'towerName': string;
6103
+ 'deviceProfileId': string | null;
5455
6104
  /**
5456
6105
  *
5457
6106
  * @type {string}
5458
- * @memberof WebhookCreateBodyPayload
6107
+ * @memberof WebhookPaymentPaidPayload
5459
6108
  */
5460
- 'inviteID': string;
6109
+ 'referenceNumber': string;
5461
6110
  }
5462
6111
  /**
5463
6112
  *
@@ -5600,6 +6249,19 @@ export interface WrappedArrayResponseParkingLogResult {
5600
6249
  */
5601
6250
  'pagination'?: Pagination;
5602
6251
  }
6252
+ /**
6253
+ *
6254
+ * @export
6255
+ * @interface WrappedArrayResponseParkingSpacesIndexResponse
6256
+ */
6257
+ export interface WrappedArrayResponseParkingSpacesIndexResponse {
6258
+ /**
6259
+ *
6260
+ * @type {Array<ParkingLotData>}
6261
+ * @memberof WrappedArrayResponseParkingSpacesIndexResponse
6262
+ */
6263
+ 'data': Array<ParkingLotData>;
6264
+ }
5603
6265
  /**
5604
6266
  *
5605
6267
  * @export
@@ -5691,6 +6353,45 @@ export interface WrappedOneResponseParkingLogResult {
5691
6353
  */
5692
6354
  'data': ParkingLogResult;
5693
6355
  }
6356
+ /**
6357
+ *
6358
+ * @export
6359
+ * @interface WrappedOneResponseParkingReservationDetailResponse
6360
+ */
6361
+ export interface WrappedOneResponseParkingReservationDetailResponse {
6362
+ /**
6363
+ *
6364
+ * @type {ParkingReservationDetailResponse}
6365
+ * @memberof WrappedOneResponseParkingReservationDetailResponse
6366
+ */
6367
+ 'data': ParkingReservationDetailResponse;
6368
+ }
6369
+ /**
6370
+ *
6371
+ * @export
6372
+ * @interface WrappedOneResponseParkingReservationReservedListResponseArray
6373
+ */
6374
+ export interface WrappedOneResponseParkingReservationReservedListResponseArray {
6375
+ /**
6376
+ *
6377
+ * @type {Array<ParkingReservationReservedListResponse>}
6378
+ * @memberof WrappedOneResponseParkingReservationReservedListResponseArray
6379
+ */
6380
+ 'data': Array<ParkingReservationReservedListResponse>;
6381
+ }
6382
+ /**
6383
+ *
6384
+ * @export
6385
+ * @interface WrappedOneResponseParkingReservationResponse
6386
+ */
6387
+ export interface WrappedOneResponseParkingReservationResponse {
6388
+ /**
6389
+ *
6390
+ * @type {ParkingReservationResponse}
6391
+ * @memberof WrappedOneResponseParkingReservationResponse
6392
+ */
6393
+ 'data': ParkingReservationResponse;
6394
+ }
5694
6395
  /**
5695
6396
  *
5696
6397
  * @export
@@ -6423,6 +7124,19 @@ export const WrappedResponsePassConsentResponseDataStatusEnum = {
6423
7124
 
6424
7125
  export type WrappedResponsePassConsentResponseDataStatusEnum = typeof WrappedResponsePassConsentResponseDataStatusEnum[keyof typeof WrappedResponsePassConsentResponseDataStatusEnum];
6425
7126
 
7127
+ /**
7128
+ *
7129
+ * @export
7130
+ * @interface WrappedResponsePaymentShowResponseDataOrNull
7131
+ */
7132
+ export interface WrappedResponsePaymentShowResponseDataOrNull {
7133
+ /**
7134
+ *
7135
+ * @type {Array<PaymentData>}
7136
+ * @memberof WrappedResponsePaymentShowResponseDataOrNull
7137
+ */
7138
+ 'data': Array<PaymentData> | null;
7139
+ }
6426
7140
  /**
6427
7141
  *
6428
7142
  * @export
@@ -7387,6 +8101,50 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
7387
8101
  options: localVarRequestOptions,
7388
8102
  };
7389
8103
  },
8104
+ /**
8105
+ *
8106
+ * @param {string} xPermissions
8107
+ * @param {string} name
8108
+ * @param {object} [body]
8109
+ * @param {*} [options] Override http request option.
8110
+ * @throws {RequiredError}
8111
+ */
8112
+ execute: async (xPermissions: string, name: string, body?: object, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8113
+ // verify required parameter 'xPermissions' is not null or undefined
8114
+ assertParamExists('execute', 'xPermissions', xPermissions)
8115
+ // verify required parameter 'name' is not null or undefined
8116
+ assertParamExists('execute', 'name', name)
8117
+ const localVarPath = `/jobs/{name}/execute`
8118
+ .replace(`{${"name"}}`, encodeURIComponent(String(name)));
8119
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8120
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8121
+ let baseOptions;
8122
+ if (configuration) {
8123
+ baseOptions = configuration.baseOptions;
8124
+ }
8125
+
8126
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
8127
+ const localVarHeaderParameter = {} as any;
8128
+ const localVarQueryParameter = {} as any;
8129
+
8130
+ if (xPermissions != null) {
8131
+ localVarHeaderParameter['x-permissions'] = String(xPermissions);
8132
+ }
8133
+
8134
+
8135
+
8136
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8137
+
8138
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8139
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8140
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8141
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
8142
+
8143
+ return {
8144
+ url: toPathString(localVarUrlObj),
8145
+ options: localVarRequestOptions,
8146
+ };
8147
+ },
7390
8148
  /**
7391
8149
  *
7392
8150
  * @param {*} [options] Override http request option.
@@ -8171,16 +8929,125 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
8171
8929
  localVarQueryParameter['id'] = id;
8172
8930
  }
8173
8931
 
8174
- if (filter !== undefined) {
8175
- localVarQueryParameter['filter'] = filter;
8176
- }
8932
+ if (filter !== undefined) {
8933
+ localVarQueryParameter['filter'] = filter;
8934
+ }
8935
+
8936
+ if (startDate !== undefined) {
8937
+ localVarQueryParameter['startDate'] = startDate;
8938
+ }
8939
+
8940
+ if (endDate !== undefined) {
8941
+ localVarQueryParameter['endDate'] = endDate;
8942
+ }
8943
+
8944
+
8945
+
8946
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8947
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8948
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8949
+
8950
+ return {
8951
+ url: toPathString(localVarUrlObj),
8952
+ options: localVarRequestOptions,
8953
+ };
8954
+ },
8955
+ /**
8956
+ *
8957
+ * @param {string} plateNumber
8958
+ * @param {*} [options] Override http request option.
8959
+ * @throws {RequiredError}
8960
+ */
8961
+ parkingAccessLogsShow: async (plateNumber: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8962
+ // verify required parameter 'plateNumber' is not null or undefined
8963
+ assertParamExists('parkingAccessLogsShow', 'plateNumber', plateNumber)
8964
+ const localVarPath = `/parking_access/{plate_number}`
8965
+ .replace(`{${"plate_number"}}`, encodeURIComponent(String(plateNumber)));
8966
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8967
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8968
+ let baseOptions;
8969
+ if (configuration) {
8970
+ baseOptions = configuration.baseOptions;
8971
+ }
8972
+
8973
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8974
+ const localVarHeaderParameter = {} as any;
8975
+ const localVarQueryParameter = {} as any;
8976
+
8977
+
8978
+
8979
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8980
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8981
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8982
+
8983
+ return {
8984
+ url: toPathString(localVarUrlObj),
8985
+ options: localVarRequestOptions,
8986
+ };
8987
+ },
8988
+ /**
8989
+ *
8990
+ * @param {*} [options] Override http request option.
8991
+ * @throws {RequiredError}
8992
+ */
8993
+ parkingLotsIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8994
+ const localVarPath = `/parking_lots`;
8995
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8996
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8997
+ let baseOptions;
8998
+ if (configuration) {
8999
+ baseOptions = configuration.baseOptions;
9000
+ }
9001
+
9002
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9003
+ const localVarHeaderParameter = {} as any;
9004
+ const localVarQueryParameter = {} as any;
9005
+
9006
+
9007
+
9008
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9009
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9010
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9011
+
9012
+ return {
9013
+ url: toPathString(localVarUrlObj),
9014
+ options: localVarRequestOptions,
9015
+ };
9016
+ },
9017
+ /**
9018
+ *
9019
+ * @param {string} id
9020
+ * @param {number} memberTypeId
9021
+ * @param {number} vehicleTypeId
9022
+ * @param {*} [options] Override http request option.
9023
+ * @throws {RequiredError}
9024
+ */
9025
+ parkingRedemptionRatesIndex: async (id: string, memberTypeId: number, vehicleTypeId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9026
+ // verify required parameter 'id' is not null or undefined
9027
+ assertParamExists('parkingRedemptionRatesIndex', 'id', id)
9028
+ // verify required parameter 'memberTypeId' is not null or undefined
9029
+ assertParamExists('parkingRedemptionRatesIndex', 'memberTypeId', memberTypeId)
9030
+ // verify required parameter 'vehicleTypeId' is not null or undefined
9031
+ assertParamExists('parkingRedemptionRatesIndex', 'vehicleTypeId', vehicleTypeId)
9032
+ const localVarPath = `/members/{id}/parking_redemption_rates`
9033
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9034
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9035
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9036
+ let baseOptions;
9037
+ if (configuration) {
9038
+ baseOptions = configuration.baseOptions;
9039
+ }
9040
+
9041
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9042
+ const localVarHeaderParameter = {} as any;
9043
+ const localVarQueryParameter = {} as any;
8177
9044
 
8178
- if (startDate !== undefined) {
8179
- localVarQueryParameter['startDate'] = startDate;
9045
+ if (memberTypeId !== undefined) {
9046
+ localVarQueryParameter['member_type_id'] = memberTypeId;
8180
9047
  }
8181
9048
 
8182
- if (endDate !== undefined) {
8183
- localVarQueryParameter['endDate'] = endDate;
9049
+ if (vehicleTypeId !== undefined) {
9050
+ localVarQueryParameter['vehicle_type_id'] = vehicleTypeId;
8184
9051
  }
8185
9052
 
8186
9053
 
@@ -8196,15 +9063,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
8196
9063
  },
8197
9064
  /**
8198
9065
  *
8199
- * @param {string} plateNumber
9066
+ * @param {ParkingReservationBody} parkingReservationBody
9067
+ * @param {string} [xAccountId]
8200
9068
  * @param {*} [options] Override http request option.
8201
9069
  * @throws {RequiredError}
8202
9070
  */
8203
- parkingAccessLogsShow: async (plateNumber: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8204
- // verify required parameter 'plateNumber' is not null or undefined
8205
- assertParamExists('parkingAccessLogsShow', 'plateNumber', plateNumber)
8206
- const localVarPath = `/parking_access/{plate_number}`
8207
- .replace(`{${"plate_number"}}`, encodeURIComponent(String(plateNumber)));
9071
+ parkingReservationsCreate: async (parkingReservationBody: ParkingReservationBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9072
+ // verify required parameter 'parkingReservationBody' is not null or undefined
9073
+ assertParamExists('parkingReservationsCreate', 'parkingReservationBody', parkingReservationBody)
9074
+ const localVarPath = `/parking_reservations`;
8208
9075
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8209
9076
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8210
9077
  let baseOptions;
@@ -8212,15 +9079,22 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
8212
9079
  baseOptions = configuration.baseOptions;
8213
9080
  }
8214
9081
 
8215
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9082
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
8216
9083
  const localVarHeaderParameter = {} as any;
8217
9084
  const localVarQueryParameter = {} as any;
8218
9085
 
9086
+ if (xAccountId != null) {
9087
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
9088
+ }
9089
+
8219
9090
 
8220
9091
 
9092
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9093
+
8221
9094
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8222
9095
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8223
9096
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9097
+ localVarRequestOptions.data = serializeDataIfNeeded(parkingReservationBody, localVarRequestOptions, configuration)
8224
9098
 
8225
9099
  return {
8226
9100
  url: toPathString(localVarUrlObj),
@@ -8229,11 +9103,16 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
8229
9103
  },
8230
9104
  /**
8231
9105
  *
9106
+ * @param {string} id
9107
+ * @param {string} [xAccountId]
8232
9108
  * @param {*} [options] Override http request option.
8233
9109
  * @throws {RequiredError}
8234
9110
  */
8235
- parkingLotsIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8236
- const localVarPath = `/parking_lots`;
9111
+ parkingReservationsListDetail: async (id: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9112
+ // verify required parameter 'id' is not null or undefined
9113
+ assertParamExists('parkingReservationsListDetail', 'id', id)
9114
+ const localVarPath = `/parking_reservations/{id}`
9115
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8237
9116
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8238
9117
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8239
9118
  let baseOptions;
@@ -8245,6 +9124,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
8245
9124
  const localVarHeaderParameter = {} as any;
8246
9125
  const localVarQueryParameter = {} as any;
8247
9126
 
9127
+ if (xAccountId != null) {
9128
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
9129
+ }
9130
+
8248
9131
 
8249
9132
 
8250
9133
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8258,21 +9141,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
8258
9141
  },
8259
9142
  /**
8260
9143
  *
8261
- * @param {string} id
8262
- * @param {number} memberTypeId
8263
- * @param {number} vehicleTypeId
9144
+ * @param {string} [xAccountId]
8264
9145
  * @param {*} [options] Override http request option.
8265
9146
  * @throws {RequiredError}
8266
9147
  */
8267
- parkingRedemptionRatesIndex: async (id: string, memberTypeId: number, vehicleTypeId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8268
- // verify required parameter 'id' is not null or undefined
8269
- assertParamExists('parkingRedemptionRatesIndex', 'id', id)
8270
- // verify required parameter 'memberTypeId' is not null or undefined
8271
- assertParamExists('parkingRedemptionRatesIndex', 'memberTypeId', memberTypeId)
8272
- // verify required parameter 'vehicleTypeId' is not null or undefined
8273
- assertParamExists('parkingRedemptionRatesIndex', 'vehicleTypeId', vehicleTypeId)
8274
- const localVarPath = `/members/{id}/parking_redemption_rates`
8275
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9148
+ parkingReservationsListShow: async (xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9149
+ const localVarPath = `/parking_reservations`;
8276
9150
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8277
9151
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8278
9152
  let baseOptions;
@@ -8284,14 +9158,39 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
8284
9158
  const localVarHeaderParameter = {} as any;
8285
9159
  const localVarQueryParameter = {} as any;
8286
9160
 
8287
- if (memberTypeId !== undefined) {
8288
- localVarQueryParameter['member_type_id'] = memberTypeId;
9161
+ if (xAccountId != null) {
9162
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
8289
9163
  }
8290
9164
 
8291
- if (vehicleTypeId !== undefined) {
8292
- localVarQueryParameter['vehicle_type_id'] = vehicleTypeId;
9165
+
9166
+
9167
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9168
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9169
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9170
+
9171
+ return {
9172
+ url: toPathString(localVarUrlObj),
9173
+ options: localVarRequestOptions,
9174
+ };
9175
+ },
9176
+ /**
9177
+ *
9178
+ * @param {*} [options] Override http request option.
9179
+ * @throws {RequiredError}
9180
+ */
9181
+ parkingSpacesList: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9182
+ const localVarPath = `/parking_spaces`;
9183
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9184
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9185
+ let baseOptions;
9186
+ if (configuration) {
9187
+ baseOptions = configuration.baseOptions;
8293
9188
  }
8294
9189
 
9190
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9191
+ const localVarHeaderParameter = {} as any;
9192
+ const localVarQueryParameter = {} as any;
9193
+
8295
9194
 
8296
9195
 
8297
9196
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8481,6 +9380,44 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
8481
9380
 
8482
9381
 
8483
9382
 
9383
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9384
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9385
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9386
+
9387
+ return {
9388
+ url: toPathString(localVarUrlObj),
9389
+ options: localVarRequestOptions,
9390
+ };
9391
+ },
9392
+ /**
9393
+ *
9394
+ * @param {string} id
9395
+ * @param {string} [xPermissions]
9396
+ * @param {*} [options] Override http request option.
9397
+ * @throws {RequiredError}
9398
+ */
9399
+ paymentsShow: async (id: string, xPermissions?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9400
+ // verify required parameter 'id' is not null or undefined
9401
+ assertParamExists('paymentsShow', 'id', id)
9402
+ const localVarPath = `/payments/{id}`
9403
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9404
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9405
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9406
+ let baseOptions;
9407
+ if (configuration) {
9408
+ baseOptions = configuration.baseOptions;
9409
+ }
9410
+
9411
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9412
+ const localVarHeaderParameter = {} as any;
9413
+ const localVarQueryParameter = {} as any;
9414
+
9415
+ if (xPermissions != null) {
9416
+ localVarHeaderParameter['x-permissions'] = String(xPermissions);
9417
+ }
9418
+
9419
+
9420
+
8484
9421
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8485
9422
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8486
9423
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9157,6 +10094,18 @@ export const DefaultApiFp = function(configuration?: Configuration) {
9157
10094
  const localVarAxiosArgs = await localVarAxiosParamCreator.create(webhookCreateBody, options);
9158
10095
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9159
10096
  },
10097
+ /**
10098
+ *
10099
+ * @param {string} xPermissions
10100
+ * @param {string} name
10101
+ * @param {object} [body]
10102
+ * @param {*} [options] Override http request option.
10103
+ * @throws {RequiredError}
10104
+ */
10105
+ async execute(xPermissions: string, name: string, body?: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
10106
+ const localVarAxiosArgs = await localVarAxiosParamCreator.execute(xPermissions, name, body, options);
10107
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10108
+ },
9160
10109
  /**
9161
10110
  *
9162
10111
  * @param {*} [options] Override http request option.
@@ -9413,6 +10362,47 @@ export const DefaultApiFp = function(configuration?: Configuration) {
9413
10362
  const localVarAxiosArgs = await localVarAxiosParamCreator.parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options);
9414
10363
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9415
10364
  },
10365
+ /**
10366
+ *
10367
+ * @param {ParkingReservationBody} parkingReservationBody
10368
+ * @param {string} [xAccountId]
10369
+ * @param {*} [options] Override http request option.
10370
+ * @throws {RequiredError}
10371
+ */
10372
+ async parkingReservationsCreate(parkingReservationBody: ParkingReservationBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseParkingReservationResponse>> {
10373
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingReservationsCreate(parkingReservationBody, xAccountId, options);
10374
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10375
+ },
10376
+ /**
10377
+ *
10378
+ * @param {string} id
10379
+ * @param {string} [xAccountId]
10380
+ * @param {*} [options] Override http request option.
10381
+ * @throws {RequiredError}
10382
+ */
10383
+ async parkingReservationsListDetail(id: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseParkingReservationDetailResponse>> {
10384
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingReservationsListDetail(id, xAccountId, options);
10385
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10386
+ },
10387
+ /**
10388
+ *
10389
+ * @param {string} [xAccountId]
10390
+ * @param {*} [options] Override http request option.
10391
+ * @throws {RequiredError}
10392
+ */
10393
+ async parkingReservationsListShow(xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseParkingReservationReservedListResponseArray>> {
10394
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingReservationsListShow(xAccountId, options);
10395
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10396
+ },
10397
+ /**
10398
+ *
10399
+ * @param {*} [options] Override http request option.
10400
+ * @throws {RequiredError}
10401
+ */
10402
+ async parkingSpacesList(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseParkingSpacesIndexResponse>> {
10403
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingSpacesList(options);
10404
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10405
+ },
9416
10406
  /**
9417
10407
  *
9418
10408
  * @param {string} id
@@ -9466,6 +10456,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
9466
10456
  const localVarAxiosArgs = await localVarAxiosParamCreator.passesShow(visitScheduleId, options);
9467
10457
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9468
10458
  },
10459
+ /**
10460
+ *
10461
+ * @param {string} id
10462
+ * @param {string} [xPermissions]
10463
+ * @param {*} [options] Override http request option.
10464
+ * @throws {RequiredError}
10465
+ */
10466
+ async paymentsShow(id: string, xPermissions?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponsePaymentShowResponseDataOrNull>> {
10467
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentsShow(id, xPermissions, options);
10468
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10469
+ },
9469
10470
  /**
9470
10471
  *
9471
10472
  * @param {string} towerId
@@ -9741,6 +10742,17 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
9741
10742
  create(webhookCreateBody: WebhookCreateBody, options?: any): AxiosPromise<void> {
9742
10743
  return localVarFp.create(webhookCreateBody, options).then((request) => request(axios, basePath));
9743
10744
  },
10745
+ /**
10746
+ *
10747
+ * @param {string} xPermissions
10748
+ * @param {string} name
10749
+ * @param {object} [body]
10750
+ * @param {*} [options] Override http request option.
10751
+ * @throws {RequiredError}
10752
+ */
10753
+ execute(xPermissions: string, name: string, body?: object, options?: any): AxiosPromise<void> {
10754
+ return localVarFp.execute(xPermissions, name, body, options).then((request) => request(axios, basePath));
10755
+ },
9744
10756
  /**
9745
10757
  *
9746
10758
  * @param {*} [options] Override http request option.
@@ -9974,6 +10986,43 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
9974
10986
  parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: any): AxiosPromise<WrappedResponseParkingRedemptionRateResultArray> {
9975
10987
  return localVarFp.parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options).then((request) => request(axios, basePath));
9976
10988
  },
10989
+ /**
10990
+ *
10991
+ * @param {ParkingReservationBody} parkingReservationBody
10992
+ * @param {string} [xAccountId]
10993
+ * @param {*} [options] Override http request option.
10994
+ * @throws {RequiredError}
10995
+ */
10996
+ parkingReservationsCreate(parkingReservationBody: ParkingReservationBody, xAccountId?: string, options?: any): AxiosPromise<WrappedOneResponseParkingReservationResponse> {
10997
+ return localVarFp.parkingReservationsCreate(parkingReservationBody, xAccountId, options).then((request) => request(axios, basePath));
10998
+ },
10999
+ /**
11000
+ *
11001
+ * @param {string} id
11002
+ * @param {string} [xAccountId]
11003
+ * @param {*} [options] Override http request option.
11004
+ * @throws {RequiredError}
11005
+ */
11006
+ parkingReservationsListDetail(id: string, xAccountId?: string, options?: any): AxiosPromise<WrappedOneResponseParkingReservationDetailResponse> {
11007
+ return localVarFp.parkingReservationsListDetail(id, xAccountId, options).then((request) => request(axios, basePath));
11008
+ },
11009
+ /**
11010
+ *
11011
+ * @param {string} [xAccountId]
11012
+ * @param {*} [options] Override http request option.
11013
+ * @throws {RequiredError}
11014
+ */
11015
+ parkingReservationsListShow(xAccountId?: string, options?: any): AxiosPromise<WrappedOneResponseParkingReservationReservedListResponseArray> {
11016
+ return localVarFp.parkingReservationsListShow(xAccountId, options).then((request) => request(axios, basePath));
11017
+ },
11018
+ /**
11019
+ *
11020
+ * @param {*} [options] Override http request option.
11021
+ * @throws {RequiredError}
11022
+ */
11023
+ parkingSpacesList(options?: any): AxiosPromise<WrappedArrayResponseParkingSpacesIndexResponse> {
11024
+ return localVarFp.parkingSpacesList(options).then((request) => request(axios, basePath));
11025
+ },
9977
11026
  /**
9978
11027
  *
9979
11028
  * @param {string} id
@@ -10022,6 +11071,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
10022
11071
  passesShow(visitScheduleId: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull> {
10023
11072
  return localVarFp.passesShow(visitScheduleId, options).then((request) => request(axios, basePath));
10024
11073
  },
11074
+ /**
11075
+ *
11076
+ * @param {string} id
11077
+ * @param {string} [xPermissions]
11078
+ * @param {*} [options] Override http request option.
11079
+ * @throws {RequiredError}
11080
+ */
11081
+ paymentsShow(id: string, xPermissions?: string, options?: any): AxiosPromise<WrappedResponsePaymentShowResponseDataOrNull> {
11082
+ return localVarFp.paymentsShow(id, xPermissions, options).then((request) => request(axios, basePath));
11083
+ },
10025
11084
  /**
10026
11085
  *
10027
11086
  * @param {string} towerId
@@ -10302,6 +11361,19 @@ export class DefaultApi extends BaseAPI {
10302
11361
  return DefaultApiFp(this.configuration).create(webhookCreateBody, options).then((request) => request(this.axios, this.basePath));
10303
11362
  }
10304
11363
 
11364
+ /**
11365
+ *
11366
+ * @param {string} xPermissions
11367
+ * @param {string} name
11368
+ * @param {object} [body]
11369
+ * @param {*} [options] Override http request option.
11370
+ * @throws {RequiredError}
11371
+ * @memberof DefaultApi
11372
+ */
11373
+ public execute(xPermissions: string, name: string, body?: object, options?: AxiosRequestConfig) {
11374
+ return DefaultApiFp(this.configuration).execute(xPermissions, name, body, options).then((request) => request(this.axios, this.basePath));
11375
+ }
11376
+
10305
11377
  /**
10306
11378
  *
10307
11379
  * @param {*} [options] Override http request option.
@@ -10581,6 +11653,51 @@ export class DefaultApi extends BaseAPI {
10581
11653
  return DefaultApiFp(this.configuration).parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options).then((request) => request(this.axios, this.basePath));
10582
11654
  }
10583
11655
 
11656
+ /**
11657
+ *
11658
+ * @param {ParkingReservationBody} parkingReservationBody
11659
+ * @param {string} [xAccountId]
11660
+ * @param {*} [options] Override http request option.
11661
+ * @throws {RequiredError}
11662
+ * @memberof DefaultApi
11663
+ */
11664
+ public parkingReservationsCreate(parkingReservationBody: ParkingReservationBody, xAccountId?: string, options?: AxiosRequestConfig) {
11665
+ return DefaultApiFp(this.configuration).parkingReservationsCreate(parkingReservationBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
11666
+ }
11667
+
11668
+ /**
11669
+ *
11670
+ * @param {string} id
11671
+ * @param {string} [xAccountId]
11672
+ * @param {*} [options] Override http request option.
11673
+ * @throws {RequiredError}
11674
+ * @memberof DefaultApi
11675
+ */
11676
+ public parkingReservationsListDetail(id: string, xAccountId?: string, options?: AxiosRequestConfig) {
11677
+ return DefaultApiFp(this.configuration).parkingReservationsListDetail(id, xAccountId, options).then((request) => request(this.axios, this.basePath));
11678
+ }
11679
+
11680
+ /**
11681
+ *
11682
+ * @param {string} [xAccountId]
11683
+ * @param {*} [options] Override http request option.
11684
+ * @throws {RequiredError}
11685
+ * @memberof DefaultApi
11686
+ */
11687
+ public parkingReservationsListShow(xAccountId?: string, options?: AxiosRequestConfig) {
11688
+ return DefaultApiFp(this.configuration).parkingReservationsListShow(xAccountId, options).then((request) => request(this.axios, this.basePath));
11689
+ }
11690
+
11691
+ /**
11692
+ *
11693
+ * @param {*} [options] Override http request option.
11694
+ * @throws {RequiredError}
11695
+ * @memberof DefaultApi
11696
+ */
11697
+ public parkingSpacesList(options?: AxiosRequestConfig) {
11698
+ return DefaultApiFp(this.configuration).parkingSpacesList(options).then((request) => request(this.axios, this.basePath));
11699
+ }
11700
+
10584
11701
  /**
10585
11702
  *
10586
11703
  * @param {string} id
@@ -10639,6 +11756,18 @@ export class DefaultApi extends BaseAPI {
10639
11756
  return DefaultApiFp(this.configuration).passesShow(visitScheduleId, options).then((request) => request(this.axios, this.basePath));
10640
11757
  }
10641
11758
 
11759
+ /**
11760
+ *
11761
+ * @param {string} id
11762
+ * @param {string} [xPermissions]
11763
+ * @param {*} [options] Override http request option.
11764
+ * @throws {RequiredError}
11765
+ * @memberof DefaultApi
11766
+ */
11767
+ public paymentsShow(id: string, xPermissions?: string, options?: AxiosRequestConfig) {
11768
+ return DefaultApiFp(this.configuration).paymentsShow(id, xPermissions, options).then((request) => request(this.axios, this.basePath));
11769
+ }
11770
+
10642
11771
  /**
10643
11772
  *
10644
11773
  * @param {string} towerId