ob-bms-sdk 0.0.108 → 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 +1094 -34
- package/dist/api/api.d.ts +974 -114
- package/dist/api/api.js +343 -1
- package/package.json +1 -1
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
|
|
@@ -3159,84 +3495,210 @@ export type PassConsentResponseStatusEnum = typeof PassConsentResponseStatusEnum
|
|
|
3159
3495
|
export interface PassData {
|
|
3160
3496
|
/**
|
|
3161
3497
|
*
|
|
3162
|
-
* @type {VisitorData}
|
|
3163
|
-
* @memberof PassData
|
|
3498
|
+
* @type {VisitorData}
|
|
3499
|
+
* @memberof PassData
|
|
3500
|
+
*/
|
|
3501
|
+
'visitor': VisitorData;
|
|
3502
|
+
/**
|
|
3503
|
+
*
|
|
3504
|
+
* @type {string}
|
|
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
|
|
3587
|
+
*/
|
|
3588
|
+
'updated_at': string;
|
|
3589
|
+
/**
|
|
3590
|
+
*
|
|
3591
|
+
* @type {string}
|
|
3592
|
+
* @memberof PaymentData
|
|
3593
|
+
*/
|
|
3594
|
+
'created_at': string;
|
|
3595
|
+
/**
|
|
3596
|
+
*
|
|
3597
|
+
* @type {string}
|
|
3598
|
+
* @memberof PaymentData
|
|
3599
|
+
*/
|
|
3600
|
+
'expired_at': string;
|
|
3601
|
+
/**
|
|
3602
|
+
*
|
|
3603
|
+
* @type {string}
|
|
3604
|
+
* @memberof PaymentData
|
|
3605
|
+
*/
|
|
3606
|
+
'paid_at': string | null;
|
|
3607
|
+
/**
|
|
3608
|
+
*
|
|
3609
|
+
* @type {ParkingReservationData}
|
|
3610
|
+
* @memberof PaymentData
|
|
3164
3611
|
*/
|
|
3165
|
-
'
|
|
3612
|
+
'parking_reservation': ParkingReservationData;
|
|
3166
3613
|
/**
|
|
3167
3614
|
*
|
|
3168
|
-
* @type {
|
|
3169
|
-
* @memberof
|
|
3615
|
+
* @type {JsonValue}
|
|
3616
|
+
* @memberof PaymentData
|
|
3170
3617
|
*/
|
|
3171
|
-
'
|
|
3618
|
+
'meta': JsonValue | null;
|
|
3172
3619
|
/**
|
|
3173
3620
|
*
|
|
3174
|
-
* @type {
|
|
3175
|
-
* @memberof
|
|
3621
|
+
* @type {PaymentStatus}
|
|
3622
|
+
* @memberof PaymentData
|
|
3176
3623
|
*/
|
|
3177
|
-
'
|
|
3624
|
+
'status': PaymentStatus;
|
|
3178
3625
|
/**
|
|
3179
3626
|
*
|
|
3180
3627
|
* @type {string}
|
|
3181
|
-
* @memberof
|
|
3628
|
+
* @memberof PaymentData
|
|
3182
3629
|
*/
|
|
3183
|
-
'
|
|
3630
|
+
'payment_url': string | null;
|
|
3184
3631
|
/**
|
|
3185
3632
|
*
|
|
3186
|
-
* @type {
|
|
3187
|
-
* @memberof
|
|
3633
|
+
* @type {number}
|
|
3634
|
+
* @memberof PaymentData
|
|
3188
3635
|
*/
|
|
3189
|
-
'
|
|
3636
|
+
'total_amount': number;
|
|
3190
3637
|
/**
|
|
3191
3638
|
*
|
|
3192
|
-
* @type {
|
|
3193
|
-
* @memberof
|
|
3639
|
+
* @type {number}
|
|
3640
|
+
* @memberof PaymentData
|
|
3194
3641
|
*/
|
|
3195
|
-
'
|
|
3642
|
+
'vat_amount': number;
|
|
3196
3643
|
/**
|
|
3197
3644
|
*
|
|
3198
|
-
* @type {
|
|
3199
|
-
* @memberof
|
|
3645
|
+
* @type {number}
|
|
3646
|
+
* @memberof PaymentData
|
|
3200
3647
|
*/
|
|
3201
|
-
'
|
|
3648
|
+
'discount_amount': number;
|
|
3202
3649
|
/**
|
|
3203
3650
|
*
|
|
3204
|
-
* @type {
|
|
3205
|
-
* @memberof
|
|
3651
|
+
* @type {number}
|
|
3652
|
+
* @memberof PaymentData
|
|
3206
3653
|
*/
|
|
3207
|
-
'
|
|
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
|
|
3664
|
+
* @memberof PaymentData
|
|
3212
3665
|
*/
|
|
3213
|
-
'
|
|
3666
|
+
'description': string;
|
|
3214
3667
|
/**
|
|
3215
3668
|
*
|
|
3216
3669
|
* @type {string}
|
|
3217
|
-
* @memberof
|
|
3670
|
+
* @memberof PaymentData
|
|
3218
3671
|
*/
|
|
3219
|
-
'
|
|
3672
|
+
'invoice_number': string | null;
|
|
3220
3673
|
/**
|
|
3221
3674
|
*
|
|
3222
3675
|
* @type {string}
|
|
3223
|
-
* @memberof
|
|
3676
|
+
* @memberof PaymentData
|
|
3224
3677
|
*/
|
|
3225
|
-
'
|
|
3678
|
+
'reference_number': string;
|
|
3226
3679
|
/**
|
|
3227
3680
|
*
|
|
3228
3681
|
* @type {string}
|
|
3229
|
-
* @memberof
|
|
3682
|
+
* @memberof PaymentData
|
|
3230
3683
|
*/
|
|
3231
3684
|
'id': string;
|
|
3232
3685
|
}
|
|
3233
3686
|
|
|
3234
|
-
|
|
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
|
|
3700
|
+
export type PaymentStatus = typeof PaymentStatus[keyof typeof PaymentStatus];
|
|
3701
|
+
|
|
3240
3702
|
|
|
3241
3703
|
/**
|
|
3242
3704
|
*
|
|
@@ -5458,6 +5920,193 @@ export interface WebhookCreateBodyPayload {
|
|
|
5458
5920
|
* @memberof WebhookCreateBodyPayload
|
|
5459
5921
|
*/
|
|
5460
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;
|
|
6001
|
+
/**
|
|
6002
|
+
*
|
|
6003
|
+
* @type {string}
|
|
6004
|
+
* @memberof WebhookCreateBodyPayload
|
|
6005
|
+
*/
|
|
6006
|
+
'deviceProfileId': string | null;
|
|
6007
|
+
/**
|
|
6008
|
+
*
|
|
6009
|
+
* @type {string}
|
|
6010
|
+
* @memberof WebhookCreateBodyPayload
|
|
6011
|
+
*/
|
|
6012
|
+
'referenceNumber': string;
|
|
6013
|
+
}
|
|
6014
|
+
/**
|
|
6015
|
+
*
|
|
6016
|
+
* @export
|
|
6017
|
+
* @interface WebhookPaymentPaidPayload
|
|
6018
|
+
*/
|
|
6019
|
+
export interface WebhookPaymentPaidPayload {
|
|
6020
|
+
/**
|
|
6021
|
+
*
|
|
6022
|
+
* @type {string}
|
|
6023
|
+
* @memberof WebhookPaymentPaidPayload
|
|
6024
|
+
*/
|
|
6025
|
+
'transactionNo': string;
|
|
6026
|
+
/**
|
|
6027
|
+
*
|
|
6028
|
+
* @type {string}
|
|
6029
|
+
* @memberof WebhookPaymentPaidPayload
|
|
6030
|
+
*/
|
|
6031
|
+
'invoiceNo': string;
|
|
6032
|
+
/**
|
|
6033
|
+
*
|
|
6034
|
+
* @type {string}
|
|
6035
|
+
* @memberof WebhookPaymentPaidPayload
|
|
6036
|
+
*/
|
|
6037
|
+
'transactionDate': string;
|
|
6038
|
+
/**
|
|
6039
|
+
*
|
|
6040
|
+
* @type {string}
|
|
6041
|
+
* @memberof WebhookPaymentPaidPayload
|
|
6042
|
+
*/
|
|
6043
|
+
'merchantId': string;
|
|
6044
|
+
/**
|
|
6045
|
+
*
|
|
6046
|
+
* @type {string}
|
|
6047
|
+
* @memberof WebhookPaymentPaidPayload
|
|
6048
|
+
*/
|
|
6049
|
+
'merchantName': string;
|
|
6050
|
+
/**
|
|
6051
|
+
*
|
|
6052
|
+
* @type {string}
|
|
6053
|
+
* @memberof WebhookPaymentPaidPayload
|
|
6054
|
+
*/
|
|
6055
|
+
'paymentChannel': string;
|
|
6056
|
+
/**
|
|
6057
|
+
*
|
|
6058
|
+
* @type {number}
|
|
6059
|
+
* @memberof WebhookPaymentPaidPayload
|
|
6060
|
+
*/
|
|
6061
|
+
'amount': number;
|
|
6062
|
+
/**
|
|
6063
|
+
*
|
|
6064
|
+
* @type {number}
|
|
6065
|
+
* @memberof WebhookPaymentPaidPayload
|
|
6066
|
+
*/
|
|
6067
|
+
'paidAmount': number;
|
|
6068
|
+
/**
|
|
6069
|
+
*
|
|
6070
|
+
* @type {number}
|
|
6071
|
+
* @memberof WebhookPaymentPaidPayload
|
|
6072
|
+
*/
|
|
6073
|
+
'fee': number;
|
|
6074
|
+
/**
|
|
6075
|
+
*
|
|
6076
|
+
* @type {number}
|
|
6077
|
+
* @memberof WebhookPaymentPaidPayload
|
|
6078
|
+
*/
|
|
6079
|
+
'feeVat': number;
|
|
6080
|
+
/**
|
|
6081
|
+
*
|
|
6082
|
+
* @type {number}
|
|
6083
|
+
* @memberof WebhookPaymentPaidPayload
|
|
6084
|
+
*/
|
|
6085
|
+
'balance': number;
|
|
6086
|
+
/**
|
|
6087
|
+
*
|
|
6088
|
+
* @type {number}
|
|
6089
|
+
* @memberof WebhookPaymentPaidPayload
|
|
6090
|
+
*/
|
|
6091
|
+
'transactionStatusId': number;
|
|
6092
|
+
/**
|
|
6093
|
+
*
|
|
6094
|
+
* @type {string}
|
|
6095
|
+
* @memberof WebhookPaymentPaidPayload
|
|
6096
|
+
*/
|
|
6097
|
+
'description': string;
|
|
6098
|
+
/**
|
|
6099
|
+
*
|
|
6100
|
+
* @type {string}
|
|
6101
|
+
* @memberof WebhookPaymentPaidPayload
|
|
6102
|
+
*/
|
|
6103
|
+
'deviceProfileId': string | null;
|
|
6104
|
+
/**
|
|
6105
|
+
*
|
|
6106
|
+
* @type {string}
|
|
6107
|
+
* @memberof WebhookPaymentPaidPayload
|
|
6108
|
+
*/
|
|
6109
|
+
'referenceNumber': string;
|
|
5461
6110
|
}
|
|
5462
6111
|
/**
|
|
5463
6112
|
*
|
|
@@ -5704,6 +6353,45 @@ export interface WrappedOneResponseParkingLogResult {
|
|
|
5704
6353
|
*/
|
|
5705
6354
|
'data': ParkingLogResult;
|
|
5706
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
|
+
}
|
|
5707
6395
|
/**
|
|
5708
6396
|
*
|
|
5709
6397
|
* @export
|
|
@@ -6436,6 +7124,19 @@ export const WrappedResponsePassConsentResponseDataStatusEnum = {
|
|
|
6436
7124
|
|
|
6437
7125
|
export type WrappedResponsePassConsentResponseDataStatusEnum = typeof WrappedResponsePassConsentResponseDataStatusEnum[keyof typeof WrappedResponsePassConsentResponseDataStatusEnum];
|
|
6438
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
|
+
}
|
|
6439
7140
|
/**
|
|
6440
7141
|
*
|
|
6441
7142
|
* @export
|
|
@@ -7393,7 +8094,51 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
7393
8094
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7394
8095
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7395
8096
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7396
|
-
localVarRequestOptions.data = serializeDataIfNeeded(webhookCreateBody, localVarRequestOptions, configuration)
|
|
8097
|
+
localVarRequestOptions.data = serializeDataIfNeeded(webhookCreateBody, localVarRequestOptions, configuration)
|
|
8098
|
+
|
|
8099
|
+
return {
|
|
8100
|
+
url: toPathString(localVarUrlObj),
|
|
8101
|
+
options: localVarRequestOptions,
|
|
8102
|
+
};
|
|
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)
|
|
7397
8142
|
|
|
7398
8143
|
return {
|
|
7399
8144
|
url: toPathString(localVarUrlObj),
|
|
@@ -8307,6 +9052,118 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
8307
9052
|
|
|
8308
9053
|
|
|
8309
9054
|
|
|
9055
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9056
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9057
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9058
|
+
|
|
9059
|
+
return {
|
|
9060
|
+
url: toPathString(localVarUrlObj),
|
|
9061
|
+
options: localVarRequestOptions,
|
|
9062
|
+
};
|
|
9063
|
+
},
|
|
9064
|
+
/**
|
|
9065
|
+
*
|
|
9066
|
+
* @param {ParkingReservationBody} parkingReservationBody
|
|
9067
|
+
* @param {string} [xAccountId]
|
|
9068
|
+
* @param {*} [options] Override http request option.
|
|
9069
|
+
* @throws {RequiredError}
|
|
9070
|
+
*/
|
|
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`;
|
|
9075
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9076
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9077
|
+
let baseOptions;
|
|
9078
|
+
if (configuration) {
|
|
9079
|
+
baseOptions = configuration.baseOptions;
|
|
9080
|
+
}
|
|
9081
|
+
|
|
9082
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9083
|
+
const localVarHeaderParameter = {} as any;
|
|
9084
|
+
const localVarQueryParameter = {} as any;
|
|
9085
|
+
|
|
9086
|
+
if (xAccountId != null) {
|
|
9087
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
9088
|
+
}
|
|
9089
|
+
|
|
9090
|
+
|
|
9091
|
+
|
|
9092
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9093
|
+
|
|
9094
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9095
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9096
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9097
|
+
localVarRequestOptions.data = serializeDataIfNeeded(parkingReservationBody, localVarRequestOptions, configuration)
|
|
9098
|
+
|
|
9099
|
+
return {
|
|
9100
|
+
url: toPathString(localVarUrlObj),
|
|
9101
|
+
options: localVarRequestOptions,
|
|
9102
|
+
};
|
|
9103
|
+
},
|
|
9104
|
+
/**
|
|
9105
|
+
*
|
|
9106
|
+
* @param {string} id
|
|
9107
|
+
* @param {string} [xAccountId]
|
|
9108
|
+
* @param {*} [options] Override http request option.
|
|
9109
|
+
* @throws {RequiredError}
|
|
9110
|
+
*/
|
|
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)));
|
|
9116
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9117
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9118
|
+
let baseOptions;
|
|
9119
|
+
if (configuration) {
|
|
9120
|
+
baseOptions = configuration.baseOptions;
|
|
9121
|
+
}
|
|
9122
|
+
|
|
9123
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9124
|
+
const localVarHeaderParameter = {} as any;
|
|
9125
|
+
const localVarQueryParameter = {} as any;
|
|
9126
|
+
|
|
9127
|
+
if (xAccountId != null) {
|
|
9128
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
9129
|
+
}
|
|
9130
|
+
|
|
9131
|
+
|
|
9132
|
+
|
|
9133
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9134
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9135
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9136
|
+
|
|
9137
|
+
return {
|
|
9138
|
+
url: toPathString(localVarUrlObj),
|
|
9139
|
+
options: localVarRequestOptions,
|
|
9140
|
+
};
|
|
9141
|
+
},
|
|
9142
|
+
/**
|
|
9143
|
+
*
|
|
9144
|
+
* @param {string} [xAccountId]
|
|
9145
|
+
* @param {*} [options] Override http request option.
|
|
9146
|
+
* @throws {RequiredError}
|
|
9147
|
+
*/
|
|
9148
|
+
parkingReservationsListShow: async (xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9149
|
+
const localVarPath = `/parking_reservations`;
|
|
9150
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9151
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9152
|
+
let baseOptions;
|
|
9153
|
+
if (configuration) {
|
|
9154
|
+
baseOptions = configuration.baseOptions;
|
|
9155
|
+
}
|
|
9156
|
+
|
|
9157
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9158
|
+
const localVarHeaderParameter = {} as any;
|
|
9159
|
+
const localVarQueryParameter = {} as any;
|
|
9160
|
+
|
|
9161
|
+
if (xAccountId != null) {
|
|
9162
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
9163
|
+
}
|
|
9164
|
+
|
|
9165
|
+
|
|
9166
|
+
|
|
8310
9167
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8311
9168
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8312
9169
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -8523,6 +9380,44 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
8523
9380
|
|
|
8524
9381
|
|
|
8525
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
|
+
|
|
8526
9421
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8527
9422
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8528
9423
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9199,6 +10094,18 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
9199
10094
|
const localVarAxiosArgs = await localVarAxiosParamCreator.create(webhookCreateBody, options);
|
|
9200
10095
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9201
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
|
+
},
|
|
9202
10109
|
/**
|
|
9203
10110
|
*
|
|
9204
10111
|
* @param {*} [options] Override http request option.
|
|
@@ -9455,6 +10362,38 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
9455
10362
|
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options);
|
|
9456
10363
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9457
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
|
+
},
|
|
9458
10397
|
/**
|
|
9459
10398
|
*
|
|
9460
10399
|
* @param {*} [options] Override http request option.
|
|
@@ -9517,6 +10456,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
9517
10456
|
const localVarAxiosArgs = await localVarAxiosParamCreator.passesShow(visitScheduleId, options);
|
|
9518
10457
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9519
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
|
+
},
|
|
9520
10470
|
/**
|
|
9521
10471
|
*
|
|
9522
10472
|
* @param {string} towerId
|
|
@@ -9792,6 +10742,17 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
9792
10742
|
create(webhookCreateBody: WebhookCreateBody, options?: any): AxiosPromise<void> {
|
|
9793
10743
|
return localVarFp.create(webhookCreateBody, options).then((request) => request(axios, basePath));
|
|
9794
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
|
+
},
|
|
9795
10756
|
/**
|
|
9796
10757
|
*
|
|
9797
10758
|
* @param {*} [options] Override http request option.
|
|
@@ -10025,6 +10986,35 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
10025
10986
|
parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: any): AxiosPromise<WrappedResponseParkingRedemptionRateResultArray> {
|
|
10026
10987
|
return localVarFp.parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options).then((request) => request(axios, basePath));
|
|
10027
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
|
+
},
|
|
10028
11018
|
/**
|
|
10029
11019
|
*
|
|
10030
11020
|
* @param {*} [options] Override http request option.
|
|
@@ -10081,6 +11071,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
10081
11071
|
passesShow(visitScheduleId: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull> {
|
|
10082
11072
|
return localVarFp.passesShow(visitScheduleId, options).then((request) => request(axios, basePath));
|
|
10083
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
|
+
},
|
|
10084
11084
|
/**
|
|
10085
11085
|
*
|
|
10086
11086
|
* @param {string} towerId
|
|
@@ -10361,6 +11361,19 @@ export class DefaultApi extends BaseAPI {
|
|
|
10361
11361
|
return DefaultApiFp(this.configuration).create(webhookCreateBody, options).then((request) => request(this.axios, this.basePath));
|
|
10362
11362
|
}
|
|
10363
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
|
+
|
|
10364
11377
|
/**
|
|
10365
11378
|
*
|
|
10366
11379
|
* @param {*} [options] Override http request option.
|
|
@@ -10640,6 +11653,41 @@ export class DefaultApi extends BaseAPI {
|
|
|
10640
11653
|
return DefaultApiFp(this.configuration).parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
10641
11654
|
}
|
|
10642
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
|
+
|
|
10643
11691
|
/**
|
|
10644
11692
|
*
|
|
10645
11693
|
* @param {*} [options] Override http request option.
|
|
@@ -10708,6 +11756,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
10708
11756
|
return DefaultApiFp(this.configuration).passesShow(visitScheduleId, options).then((request) => request(this.axios, this.basePath));
|
|
10709
11757
|
}
|
|
10710
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
|
+
|
|
10711
11771
|
/**
|
|
10712
11772
|
*
|
|
10713
11773
|
* @param {string} towerId
|