ob-bms-sdk 0.0.110 → 0.0.112
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 +560 -7
- package/dist/api/api.d.ts +547 -4
- package/dist/api/api.js +25 -8
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -2959,6 +2959,12 @@ export interface ParkingReservationDetailResponse {
|
|
|
2959
2959
|
* @memberof ParkingReservationDetailResponse
|
|
2960
2960
|
*/
|
|
2961
2961
|
'blocker': BlockerData;
|
|
2962
|
+
/**
|
|
2963
|
+
*
|
|
2964
|
+
* @type {PaymentResponse}
|
|
2965
|
+
* @memberof ParkingReservationDetailResponse
|
|
2966
|
+
*/
|
|
2967
|
+
'payment': PaymentResponse;
|
|
2962
2968
|
}
|
|
2963
2969
|
/**
|
|
2964
2970
|
*
|
|
@@ -3112,6 +3118,21 @@ export interface ParkingReservationResponse {
|
|
|
3112
3118
|
*/
|
|
3113
3119
|
'blocker': BlockerData;
|
|
3114
3120
|
}
|
|
3121
|
+
/**
|
|
3122
|
+
*
|
|
3123
|
+
* @export
|
|
3124
|
+
* @enum {string}
|
|
3125
|
+
*/
|
|
3126
|
+
|
|
3127
|
+
export const ParkingReservationStatus = {
|
|
3128
|
+
Pending: 'pending',
|
|
3129
|
+
Confirmed: 'confirmed',
|
|
3130
|
+
Cancelled: 'cancelled'
|
|
3131
|
+
} as const;
|
|
3132
|
+
|
|
3133
|
+
export type ParkingReservationStatus = typeof ParkingReservationStatus[keyof typeof ParkingReservationStatus];
|
|
3134
|
+
|
|
3135
|
+
|
|
3115
3136
|
/**
|
|
3116
3137
|
*
|
|
3117
3138
|
* @export
|
|
@@ -3721,6 +3742,12 @@ export interface PaymentData {
|
|
|
3721
3742
|
* @memberof PaymentData
|
|
3722
3743
|
*/
|
|
3723
3744
|
'parking_reservation': ParkingReservationData;
|
|
3745
|
+
/**
|
|
3746
|
+
*
|
|
3747
|
+
* @type {string}
|
|
3748
|
+
* @memberof PaymentData
|
|
3749
|
+
*/
|
|
3750
|
+
'user_id': string;
|
|
3724
3751
|
/**
|
|
3725
3752
|
*
|
|
3726
3753
|
* @type {JsonValue}
|
|
@@ -3796,6 +3823,105 @@ export interface PaymentData {
|
|
|
3796
3823
|
}
|
|
3797
3824
|
|
|
3798
3825
|
|
|
3826
|
+
/**
|
|
3827
|
+
*
|
|
3828
|
+
* @export
|
|
3829
|
+
* @interface PaymentResponse
|
|
3830
|
+
*/
|
|
3831
|
+
export interface PaymentResponse {
|
|
3832
|
+
/**
|
|
3833
|
+
*
|
|
3834
|
+
* @type {string}
|
|
3835
|
+
* @memberof PaymentResponse
|
|
3836
|
+
*/
|
|
3837
|
+
'updated_at'?: string;
|
|
3838
|
+
/**
|
|
3839
|
+
*
|
|
3840
|
+
* @type {string}
|
|
3841
|
+
* @memberof PaymentResponse
|
|
3842
|
+
*/
|
|
3843
|
+
'created_at'?: string;
|
|
3844
|
+
/**
|
|
3845
|
+
*
|
|
3846
|
+
* @type {string}
|
|
3847
|
+
* @memberof PaymentResponse
|
|
3848
|
+
*/
|
|
3849
|
+
'parking_reservation_id'?: string;
|
|
3850
|
+
/**
|
|
3851
|
+
*
|
|
3852
|
+
* @type {JsonValue}
|
|
3853
|
+
* @memberof PaymentResponse
|
|
3854
|
+
*/
|
|
3855
|
+
'meta'?: JsonValue | null;
|
|
3856
|
+
/**
|
|
3857
|
+
*
|
|
3858
|
+
* @type {string}
|
|
3859
|
+
* @memberof PaymentResponse
|
|
3860
|
+
*/
|
|
3861
|
+
'expired_at'?: string;
|
|
3862
|
+
/**
|
|
3863
|
+
*
|
|
3864
|
+
* @type {string}
|
|
3865
|
+
* @memberof PaymentResponse
|
|
3866
|
+
*/
|
|
3867
|
+
'paid_at'?: string | null;
|
|
3868
|
+
/**
|
|
3869
|
+
*
|
|
3870
|
+
* @type {PaymentStatus}
|
|
3871
|
+
* @memberof PaymentResponse
|
|
3872
|
+
*/
|
|
3873
|
+
'status'?: PaymentStatus;
|
|
3874
|
+
/**
|
|
3875
|
+
*
|
|
3876
|
+
* @type {number}
|
|
3877
|
+
* @memberof PaymentResponse
|
|
3878
|
+
*/
|
|
3879
|
+
'total_amount'?: number;
|
|
3880
|
+
/**
|
|
3881
|
+
*
|
|
3882
|
+
* @type {number}
|
|
3883
|
+
* @memberof PaymentResponse
|
|
3884
|
+
*/
|
|
3885
|
+
'vat_amount'?: number;
|
|
3886
|
+
/**
|
|
3887
|
+
*
|
|
3888
|
+
* @type {number}
|
|
3889
|
+
* @memberof PaymentResponse
|
|
3890
|
+
*/
|
|
3891
|
+
'amount'?: number;
|
|
3892
|
+
/**
|
|
3893
|
+
*
|
|
3894
|
+
* @type {string}
|
|
3895
|
+
* @memberof PaymentResponse
|
|
3896
|
+
*/
|
|
3897
|
+
'invoice_number'?: string | null;
|
|
3898
|
+
/**
|
|
3899
|
+
*
|
|
3900
|
+
* @type {string}
|
|
3901
|
+
* @memberof PaymentResponse
|
|
3902
|
+
*/
|
|
3903
|
+
'reference_number'?: string;
|
|
3904
|
+
/**
|
|
3905
|
+
*
|
|
3906
|
+
* @type {string}
|
|
3907
|
+
* @memberof PaymentResponse
|
|
3908
|
+
*/
|
|
3909
|
+
'description'?: string;
|
|
3910
|
+
/**
|
|
3911
|
+
*
|
|
3912
|
+
* @type {string}
|
|
3913
|
+
* @memberof PaymentResponse
|
|
3914
|
+
*/
|
|
3915
|
+
'payment_url'?: string | null;
|
|
3916
|
+
/**
|
|
3917
|
+
*
|
|
3918
|
+
* @type {string}
|
|
3919
|
+
* @memberof PaymentResponse
|
|
3920
|
+
*/
|
|
3921
|
+
'id'?: string;
|
|
3922
|
+
}
|
|
3923
|
+
|
|
3924
|
+
|
|
3799
3925
|
/**
|
|
3800
3926
|
*
|
|
3801
3927
|
* @export
|
|
@@ -5529,6 +5655,413 @@ export interface ValetStation {
|
|
|
5529
5655
|
*/
|
|
5530
5656
|
'active': boolean;
|
|
5531
5657
|
}
|
|
5658
|
+
/**
|
|
5659
|
+
*
|
|
5660
|
+
* @export
|
|
5661
|
+
* @interface ValetStatusPayload
|
|
5662
|
+
*/
|
|
5663
|
+
export interface ValetStatusPayload {
|
|
5664
|
+
/**
|
|
5665
|
+
*
|
|
5666
|
+
* @type {string}
|
|
5667
|
+
* @memberof ValetStatusPayload
|
|
5668
|
+
*/
|
|
5669
|
+
'uid': string;
|
|
5670
|
+
/**
|
|
5671
|
+
*
|
|
5672
|
+
* @type {ValetStatusPayloadDetail}
|
|
5673
|
+
* @memberof ValetStatusPayload
|
|
5674
|
+
*/
|
|
5675
|
+
'detail': ValetStatusPayloadDetail;
|
|
5676
|
+
}
|
|
5677
|
+
/**
|
|
5678
|
+
*
|
|
5679
|
+
* @export
|
|
5680
|
+
* @interface ValetStatusPayloadDetail
|
|
5681
|
+
*/
|
|
5682
|
+
export interface ValetStatusPayloadDetail {
|
|
5683
|
+
/**
|
|
5684
|
+
*
|
|
5685
|
+
* @type {string}
|
|
5686
|
+
* @memberof ValetStatusPayloadDetail
|
|
5687
|
+
*/
|
|
5688
|
+
'keyCabinet': string;
|
|
5689
|
+
/**
|
|
5690
|
+
*
|
|
5691
|
+
* @type {Array<ValetStatusPayloadDetailImagesInner>}
|
|
5692
|
+
* @memberof ValetStatusPayloadDetail
|
|
5693
|
+
*/
|
|
5694
|
+
'images': Array<ValetStatusPayloadDetailImagesInner>;
|
|
5695
|
+
/**
|
|
5696
|
+
*
|
|
5697
|
+
* @type {ValetStatusPayloadDetailDropOffStation}
|
|
5698
|
+
* @memberof ValetStatusPayloadDetail
|
|
5699
|
+
*/
|
|
5700
|
+
'dropOffStation': ValetStatusPayloadDetailDropOffStation;
|
|
5701
|
+
/**
|
|
5702
|
+
*
|
|
5703
|
+
* @type {string}
|
|
5704
|
+
* @memberof ValetStatusPayloadDetail
|
|
5705
|
+
*/
|
|
5706
|
+
'pickUpStation': string;
|
|
5707
|
+
/**
|
|
5708
|
+
*
|
|
5709
|
+
* @type {string}
|
|
5710
|
+
* @memberof ValetStatusPayloadDetail
|
|
5711
|
+
*/
|
|
5712
|
+
'staffVerify': string;
|
|
5713
|
+
/**
|
|
5714
|
+
*
|
|
5715
|
+
* @type {ValetStatusPayloadDetailStaffConfirmParked}
|
|
5716
|
+
* @memberof ValetStatusPayloadDetail
|
|
5717
|
+
*/
|
|
5718
|
+
'staffConfirmParked': ValetStatusPayloadDetailStaffConfirmParked;
|
|
5719
|
+
/**
|
|
5720
|
+
*
|
|
5721
|
+
* @type {string}
|
|
5722
|
+
* @memberof ValetStatusPayloadDetail
|
|
5723
|
+
*/
|
|
5724
|
+
'staffConfirmDeliver': string;
|
|
5725
|
+
/**
|
|
5726
|
+
*
|
|
5727
|
+
* @type {string}
|
|
5728
|
+
* @memberof ValetStatusPayloadDetail
|
|
5729
|
+
*/
|
|
5730
|
+
'staffParked': string;
|
|
5731
|
+
/**
|
|
5732
|
+
*
|
|
5733
|
+
* @type {string}
|
|
5734
|
+
* @memberof ValetStatusPayloadDetail
|
|
5735
|
+
*/
|
|
5736
|
+
'staffDeliver': string;
|
|
5737
|
+
/**
|
|
5738
|
+
*
|
|
5739
|
+
* @type {string}
|
|
5740
|
+
* @memberof ValetStatusPayloadDetail
|
|
5741
|
+
*/
|
|
5742
|
+
'spot': string;
|
|
5743
|
+
/**
|
|
5744
|
+
*
|
|
5745
|
+
* @type {boolean}
|
|
5746
|
+
* @memberof ValetStatusPayloadDetail
|
|
5747
|
+
*/
|
|
5748
|
+
'isMyQr': boolean;
|
|
5749
|
+
/**
|
|
5750
|
+
*
|
|
5751
|
+
* @type {string}
|
|
5752
|
+
* @memberof ValetStatusPayloadDetail
|
|
5753
|
+
*/
|
|
5754
|
+
'referenceCode': string;
|
|
5755
|
+
/**
|
|
5756
|
+
*
|
|
5757
|
+
* @type {string}
|
|
5758
|
+
* @memberof ValetStatusPayloadDetail
|
|
5759
|
+
*/
|
|
5760
|
+
'signatureURL': string;
|
|
5761
|
+
/**
|
|
5762
|
+
*
|
|
5763
|
+
* @type {string}
|
|
5764
|
+
* @memberof ValetStatusPayloadDetail
|
|
5765
|
+
*/
|
|
5766
|
+
'staffConfirmDeliverId': string;
|
|
5767
|
+
/**
|
|
5768
|
+
*
|
|
5769
|
+
* @type {string}
|
|
5770
|
+
* @memberof ValetStatusPayloadDetail
|
|
5771
|
+
*/
|
|
5772
|
+
'confirmDeliverAt': string;
|
|
5773
|
+
/**
|
|
5774
|
+
*
|
|
5775
|
+
* @type {number}
|
|
5776
|
+
* @memberof ValetStatusPayloadDetail
|
|
5777
|
+
*/
|
|
5778
|
+
'staffConfirmParkedId': number;
|
|
5779
|
+
/**
|
|
5780
|
+
*
|
|
5781
|
+
* @type {string}
|
|
5782
|
+
* @memberof ValetStatusPayloadDetail
|
|
5783
|
+
*/
|
|
5784
|
+
'confirmParkedAt': string;
|
|
5785
|
+
/**
|
|
5786
|
+
*
|
|
5787
|
+
* @type {string}
|
|
5788
|
+
* @memberof ValetStatusPayloadDetail
|
|
5789
|
+
*/
|
|
5790
|
+
'staffVerifyId': string;
|
|
5791
|
+
/**
|
|
5792
|
+
*
|
|
5793
|
+
* @type {string}
|
|
5794
|
+
* @memberof ValetStatusPayloadDetail
|
|
5795
|
+
*/
|
|
5796
|
+
'verifiedAt': string;
|
|
5797
|
+
/**
|
|
5798
|
+
*
|
|
5799
|
+
* @type {number}
|
|
5800
|
+
* @memberof ValetStatusPayloadDetail
|
|
5801
|
+
*/
|
|
5802
|
+
'dropOffStationId': number;
|
|
5803
|
+
/**
|
|
5804
|
+
*
|
|
5805
|
+
* @type {string}
|
|
5806
|
+
* @memberof ValetStatusPayloadDetail
|
|
5807
|
+
*/
|
|
5808
|
+
'pickUpStationId': string;
|
|
5809
|
+
/**
|
|
5810
|
+
*
|
|
5811
|
+
* @type {string}
|
|
5812
|
+
* @memberof ValetStatusPayloadDetail
|
|
5813
|
+
*/
|
|
5814
|
+
'parkingSpotId': string;
|
|
5815
|
+
/**
|
|
5816
|
+
*
|
|
5817
|
+
* @type {string}
|
|
5818
|
+
* @memberof ValetStatusPayloadDetail
|
|
5819
|
+
*/
|
|
5820
|
+
'userId': string;
|
|
5821
|
+
/**
|
|
5822
|
+
*
|
|
5823
|
+
* @type {string}
|
|
5824
|
+
* @memberof ValetStatusPayloadDetail
|
|
5825
|
+
*/
|
|
5826
|
+
'staffDeliverId': string;
|
|
5827
|
+
/**
|
|
5828
|
+
*
|
|
5829
|
+
* @type {string}
|
|
5830
|
+
* @memberof ValetStatusPayloadDetail
|
|
5831
|
+
*/
|
|
5832
|
+
'staffParkedId': string;
|
|
5833
|
+
/**
|
|
5834
|
+
*
|
|
5835
|
+
* @type {string}
|
|
5836
|
+
* @memberof ValetStatusPayloadDetail
|
|
5837
|
+
*/
|
|
5838
|
+
'keyCabinetId': string;
|
|
5839
|
+
/**
|
|
5840
|
+
*
|
|
5841
|
+
* @type {string}
|
|
5842
|
+
* @memberof ValetStatusPayloadDetail
|
|
5843
|
+
*/
|
|
5844
|
+
'licensePlateProvince': string;
|
|
5845
|
+
/**
|
|
5846
|
+
*
|
|
5847
|
+
* @type {string}
|
|
5848
|
+
* @memberof ValetStatusPayloadDetail
|
|
5849
|
+
*/
|
|
5850
|
+
'licensePlate': string;
|
|
5851
|
+
/**
|
|
5852
|
+
*
|
|
5853
|
+
* @type {string}
|
|
5854
|
+
* @memberof ValetStatusPayloadDetail
|
|
5855
|
+
*/
|
|
5856
|
+
'outgoingTime': string;
|
|
5857
|
+
/**
|
|
5858
|
+
*
|
|
5859
|
+
* @type {string}
|
|
5860
|
+
* @memberof ValetStatusPayloadDetail
|
|
5861
|
+
*/
|
|
5862
|
+
'incomingTime': string;
|
|
5863
|
+
/**
|
|
5864
|
+
*
|
|
5865
|
+
* @type {string}
|
|
5866
|
+
* @memberof ValetStatusPayloadDetail
|
|
5867
|
+
*/
|
|
5868
|
+
'phoneNumber': string;
|
|
5869
|
+
/**
|
|
5870
|
+
*
|
|
5871
|
+
* @type {string}
|
|
5872
|
+
* @memberof ValetStatusPayloadDetail
|
|
5873
|
+
*/
|
|
5874
|
+
'name': string;
|
|
5875
|
+
/**
|
|
5876
|
+
*
|
|
5877
|
+
* @type {string}
|
|
5878
|
+
* @memberof ValetStatusPayloadDetail
|
|
5879
|
+
*/
|
|
5880
|
+
'status': string;
|
|
5881
|
+
/**
|
|
5882
|
+
*
|
|
5883
|
+
* @type {string}
|
|
5884
|
+
* @memberof ValetStatusPayloadDetail
|
|
5885
|
+
*/
|
|
5886
|
+
'code': string;
|
|
5887
|
+
/**
|
|
5888
|
+
*
|
|
5889
|
+
* @type {string}
|
|
5890
|
+
* @memberof ValetStatusPayloadDetail
|
|
5891
|
+
*/
|
|
5892
|
+
'deletedAt': string;
|
|
5893
|
+
/**
|
|
5894
|
+
*
|
|
5895
|
+
* @type {string}
|
|
5896
|
+
* @memberof ValetStatusPayloadDetail
|
|
5897
|
+
*/
|
|
5898
|
+
'updatedAt': string;
|
|
5899
|
+
/**
|
|
5900
|
+
*
|
|
5901
|
+
* @type {string}
|
|
5902
|
+
* @memberof ValetStatusPayloadDetail
|
|
5903
|
+
*/
|
|
5904
|
+
'createdAt': string;
|
|
5905
|
+
/**
|
|
5906
|
+
*
|
|
5907
|
+
* @type {number}
|
|
5908
|
+
* @memberof ValetStatusPayloadDetail
|
|
5909
|
+
*/
|
|
5910
|
+
'id': number;
|
|
5911
|
+
}
|
|
5912
|
+
/**
|
|
5913
|
+
*
|
|
5914
|
+
* @export
|
|
5915
|
+
* @interface ValetStatusPayloadDetailDropOffStation
|
|
5916
|
+
*/
|
|
5917
|
+
export interface ValetStatusPayloadDetailDropOffStation {
|
|
5918
|
+
/**
|
|
5919
|
+
*
|
|
5920
|
+
* @type {boolean}
|
|
5921
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5922
|
+
*/
|
|
5923
|
+
'isUsed': boolean;
|
|
5924
|
+
/**
|
|
5925
|
+
*
|
|
5926
|
+
* @type {boolean}
|
|
5927
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5928
|
+
*/
|
|
5929
|
+
'active': boolean;
|
|
5930
|
+
/**
|
|
5931
|
+
*
|
|
5932
|
+
* @type {string}
|
|
5933
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5934
|
+
*/
|
|
5935
|
+
'location': string;
|
|
5936
|
+
/**
|
|
5937
|
+
*
|
|
5938
|
+
* @type {string}
|
|
5939
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5940
|
+
*/
|
|
5941
|
+
'description': string;
|
|
5942
|
+
/**
|
|
5943
|
+
*
|
|
5944
|
+
* @type {string}
|
|
5945
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5946
|
+
*/
|
|
5947
|
+
'name': string;
|
|
5948
|
+
/**
|
|
5949
|
+
*
|
|
5950
|
+
* @type {string}
|
|
5951
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5952
|
+
*/
|
|
5953
|
+
'deletedAt': string;
|
|
5954
|
+
/**
|
|
5955
|
+
*
|
|
5956
|
+
* @type {string}
|
|
5957
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5958
|
+
*/
|
|
5959
|
+
'updatedAt': string;
|
|
5960
|
+
/**
|
|
5961
|
+
*
|
|
5962
|
+
* @type {string}
|
|
5963
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5964
|
+
*/
|
|
5965
|
+
'createdAt': string;
|
|
5966
|
+
/**
|
|
5967
|
+
*
|
|
5968
|
+
* @type {number}
|
|
5969
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5970
|
+
*/
|
|
5971
|
+
'id': number;
|
|
5972
|
+
}
|
|
5973
|
+
/**
|
|
5974
|
+
*
|
|
5975
|
+
* @export
|
|
5976
|
+
* @interface ValetStatusPayloadDetailImagesInner
|
|
5977
|
+
*/
|
|
5978
|
+
export interface ValetStatusPayloadDetailImagesInner {
|
|
5979
|
+
/**
|
|
5980
|
+
*
|
|
5981
|
+
* @type {number}
|
|
5982
|
+
* @memberof ValetStatusPayloadDetailImagesInner
|
|
5983
|
+
*/
|
|
5984
|
+
'valetParkingId': number;
|
|
5985
|
+
/**
|
|
5986
|
+
*
|
|
5987
|
+
* @type {string}
|
|
5988
|
+
* @memberof ValetStatusPayloadDetailImagesInner
|
|
5989
|
+
*/
|
|
5990
|
+
'url': string;
|
|
5991
|
+
/**
|
|
5992
|
+
*
|
|
5993
|
+
* @type {string}
|
|
5994
|
+
* @memberof ValetStatusPayloadDetailImagesInner
|
|
5995
|
+
*/
|
|
5996
|
+
'createdAt': string;
|
|
5997
|
+
}
|
|
5998
|
+
/**
|
|
5999
|
+
*
|
|
6000
|
+
* @export
|
|
6001
|
+
* @interface ValetStatusPayloadDetailStaffConfirmParked
|
|
6002
|
+
*/
|
|
6003
|
+
export interface ValetStatusPayloadDetailStaffConfirmParked {
|
|
6004
|
+
/**
|
|
6005
|
+
*
|
|
6006
|
+
* @type {string}
|
|
6007
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
6008
|
+
*/
|
|
6009
|
+
'role': string;
|
|
6010
|
+
/**
|
|
6011
|
+
*
|
|
6012
|
+
* @type {string}
|
|
6013
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
6014
|
+
*/
|
|
6015
|
+
'displayName': string;
|
|
6016
|
+
/**
|
|
6017
|
+
*
|
|
6018
|
+
* @type {string}
|
|
6019
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
6020
|
+
*/
|
|
6021
|
+
'phoneNumber': string;
|
|
6022
|
+
/**
|
|
6023
|
+
*
|
|
6024
|
+
* @type {string}
|
|
6025
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
6026
|
+
*/
|
|
6027
|
+
'email': string;
|
|
6028
|
+
/**
|
|
6029
|
+
*
|
|
6030
|
+
* @type {string}
|
|
6031
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
6032
|
+
*/
|
|
6033
|
+
'pin': string;
|
|
6034
|
+
/**
|
|
6035
|
+
*
|
|
6036
|
+
* @type {string}
|
|
6037
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
6038
|
+
*/
|
|
6039
|
+
'userName': string;
|
|
6040
|
+
/**
|
|
6041
|
+
*
|
|
6042
|
+
* @type {string}
|
|
6043
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
6044
|
+
*/
|
|
6045
|
+
'deletedAt': string;
|
|
6046
|
+
/**
|
|
6047
|
+
*
|
|
6048
|
+
* @type {string}
|
|
6049
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
6050
|
+
*/
|
|
6051
|
+
'updatedAt': string;
|
|
6052
|
+
/**
|
|
6053
|
+
*
|
|
6054
|
+
* @type {string}
|
|
6055
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
6056
|
+
*/
|
|
6057
|
+
'createdAt': string;
|
|
6058
|
+
/**
|
|
6059
|
+
*
|
|
6060
|
+
* @type {number}
|
|
6061
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
6062
|
+
*/
|
|
6063
|
+
'id': number;
|
|
6064
|
+
}
|
|
5532
6065
|
/**
|
|
5533
6066
|
*
|
|
5534
6067
|
* @export
|
|
@@ -6044,6 +6577,18 @@ export interface WebhookCreateBodyPayload {
|
|
|
6044
6577
|
* @memberof WebhookCreateBodyPayload
|
|
6045
6578
|
*/
|
|
6046
6579
|
'inviteID': string;
|
|
6580
|
+
/**
|
|
6581
|
+
*
|
|
6582
|
+
* @type {string}
|
|
6583
|
+
* @memberof WebhookCreateBodyPayload
|
|
6584
|
+
*/
|
|
6585
|
+
'uid': string;
|
|
6586
|
+
/**
|
|
6587
|
+
*
|
|
6588
|
+
* @type {ValetStatusPayloadDetail}
|
|
6589
|
+
* @memberof WebhookCreateBodyPayload
|
|
6590
|
+
*/
|
|
6591
|
+
'detail': ValetStatusPayloadDetail;
|
|
6047
6592
|
/**
|
|
6048
6593
|
*
|
|
6049
6594
|
* @type {string}
|
|
@@ -9228,11 +9773,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9228
9773
|
/**
|
|
9229
9774
|
*
|
|
9230
9775
|
* @param {string} id
|
|
9776
|
+
* @param {ParkingReservationStatus} [status]
|
|
9231
9777
|
* @param {string} [xAccountId]
|
|
9232
9778
|
* @param {*} [options] Override http request option.
|
|
9233
9779
|
* @throws {RequiredError}
|
|
9234
9780
|
*/
|
|
9235
|
-
parkingReservationsListDetail: async (id: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9781
|
+
parkingReservationsListDetail: async (id: string, status?: ParkingReservationStatus, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9236
9782
|
// verify required parameter 'id' is not null or undefined
|
|
9237
9783
|
assertParamExists('parkingReservationsListDetail', 'id', id)
|
|
9238
9784
|
const localVarPath = `/parking_reservations/{id}`
|
|
@@ -9248,6 +9794,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9248
9794
|
const localVarHeaderParameter = {} as any;
|
|
9249
9795
|
const localVarQueryParameter = {} as any;
|
|
9250
9796
|
|
|
9797
|
+
if (status !== undefined) {
|
|
9798
|
+
localVarQueryParameter['status'] = status;
|
|
9799
|
+
}
|
|
9800
|
+
|
|
9251
9801
|
if (xAccountId != null) {
|
|
9252
9802
|
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
9253
9803
|
}
|
|
@@ -10541,12 +11091,13 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
10541
11091
|
/**
|
|
10542
11092
|
*
|
|
10543
11093
|
* @param {string} id
|
|
11094
|
+
* @param {ParkingReservationStatus} [status]
|
|
10544
11095
|
* @param {string} [xAccountId]
|
|
10545
11096
|
* @param {*} [options] Override http request option.
|
|
10546
11097
|
* @throws {RequiredError}
|
|
10547
11098
|
*/
|
|
10548
|
-
async parkingReservationsListDetail(id: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseParkingReservationDetailResponse>> {
|
|
10549
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingReservationsListDetail(id, xAccountId, options);
|
|
11099
|
+
async parkingReservationsListDetail(id: string, status?: ParkingReservationStatus, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseParkingReservationDetailResponse>> {
|
|
11100
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingReservationsListDetail(id, status, xAccountId, options);
|
|
10550
11101
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10551
11102
|
},
|
|
10552
11103
|
/**
|
|
@@ -11175,12 +11726,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
11175
11726
|
/**
|
|
11176
11727
|
*
|
|
11177
11728
|
* @param {string} id
|
|
11729
|
+
* @param {ParkingReservationStatus} [status]
|
|
11178
11730
|
* @param {string} [xAccountId]
|
|
11179
11731
|
* @param {*} [options] Override http request option.
|
|
11180
11732
|
* @throws {RequiredError}
|
|
11181
11733
|
*/
|
|
11182
|
-
parkingReservationsListDetail(id: string, xAccountId?: string, options?: any): AxiosPromise<WrappedOneResponseParkingReservationDetailResponse> {
|
|
11183
|
-
return localVarFp.parkingReservationsListDetail(id, xAccountId, options).then((request) => request(axios, basePath));
|
|
11734
|
+
parkingReservationsListDetail(id: string, status?: ParkingReservationStatus, xAccountId?: string, options?: any): AxiosPromise<WrappedOneResponseParkingReservationDetailResponse> {
|
|
11735
|
+
return localVarFp.parkingReservationsListDetail(id, status, xAccountId, options).then((request) => request(axios, basePath));
|
|
11184
11736
|
},
|
|
11185
11737
|
/**
|
|
11186
11738
|
*
|
|
@@ -11854,13 +12406,14 @@ export class DefaultApi extends BaseAPI {
|
|
|
11854
12406
|
/**
|
|
11855
12407
|
*
|
|
11856
12408
|
* @param {string} id
|
|
12409
|
+
* @param {ParkingReservationStatus} [status]
|
|
11857
12410
|
* @param {string} [xAccountId]
|
|
11858
12411
|
* @param {*} [options] Override http request option.
|
|
11859
12412
|
* @throws {RequiredError}
|
|
11860
12413
|
* @memberof DefaultApi
|
|
11861
12414
|
*/
|
|
11862
|
-
public parkingReservationsListDetail(id: string, xAccountId?: string, options?: AxiosRequestConfig) {
|
|
11863
|
-
return DefaultApiFp(this.configuration).parkingReservationsListDetail(id, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
12415
|
+
public parkingReservationsListDetail(id: string, status?: ParkingReservationStatus, xAccountId?: string, options?: AxiosRequestConfig) {
|
|
12416
|
+
return DefaultApiFp(this.configuration).parkingReservationsListDetail(id, status, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
11864
12417
|
}
|
|
11865
12418
|
|
|
11866
12419
|
/**
|
package/dist/api/api.d.ts
CHANGED
|
@@ -2931,6 +2931,12 @@ export interface ParkingReservationDetailResponse {
|
|
|
2931
2931
|
* @memberof ParkingReservationDetailResponse
|
|
2932
2932
|
*/
|
|
2933
2933
|
'blocker': BlockerData;
|
|
2934
|
+
/**
|
|
2935
|
+
*
|
|
2936
|
+
* @type {PaymentResponse}
|
|
2937
|
+
* @memberof ParkingReservationDetailResponse
|
|
2938
|
+
*/
|
|
2939
|
+
'payment': PaymentResponse;
|
|
2934
2940
|
}
|
|
2935
2941
|
/**
|
|
2936
2942
|
*
|
|
@@ -3084,6 +3090,17 @@ export interface ParkingReservationResponse {
|
|
|
3084
3090
|
*/
|
|
3085
3091
|
'blocker': BlockerData;
|
|
3086
3092
|
}
|
|
3093
|
+
/**
|
|
3094
|
+
*
|
|
3095
|
+
* @export
|
|
3096
|
+
* @enum {string}
|
|
3097
|
+
*/
|
|
3098
|
+
export declare const ParkingReservationStatus: {
|
|
3099
|
+
readonly Pending: "pending";
|
|
3100
|
+
readonly Confirmed: "confirmed";
|
|
3101
|
+
readonly Cancelled: "cancelled";
|
|
3102
|
+
};
|
|
3103
|
+
export type ParkingReservationStatus = typeof ParkingReservationStatus[keyof typeof ParkingReservationStatus];
|
|
3087
3104
|
/**
|
|
3088
3105
|
*
|
|
3089
3106
|
* @export
|
|
@@ -3684,6 +3701,12 @@ export interface PaymentData {
|
|
|
3684
3701
|
* @memberof PaymentData
|
|
3685
3702
|
*/
|
|
3686
3703
|
'parking_reservation': ParkingReservationData;
|
|
3704
|
+
/**
|
|
3705
|
+
*
|
|
3706
|
+
* @type {string}
|
|
3707
|
+
* @memberof PaymentData
|
|
3708
|
+
*/
|
|
3709
|
+
'user_id': string;
|
|
3687
3710
|
/**
|
|
3688
3711
|
*
|
|
3689
3712
|
* @type {JsonValue}
|
|
@@ -3757,6 +3780,103 @@ export interface PaymentData {
|
|
|
3757
3780
|
*/
|
|
3758
3781
|
'id': string;
|
|
3759
3782
|
}
|
|
3783
|
+
/**
|
|
3784
|
+
*
|
|
3785
|
+
* @export
|
|
3786
|
+
* @interface PaymentResponse
|
|
3787
|
+
*/
|
|
3788
|
+
export interface PaymentResponse {
|
|
3789
|
+
/**
|
|
3790
|
+
*
|
|
3791
|
+
* @type {string}
|
|
3792
|
+
* @memberof PaymentResponse
|
|
3793
|
+
*/
|
|
3794
|
+
'updated_at'?: string;
|
|
3795
|
+
/**
|
|
3796
|
+
*
|
|
3797
|
+
* @type {string}
|
|
3798
|
+
* @memberof PaymentResponse
|
|
3799
|
+
*/
|
|
3800
|
+
'created_at'?: string;
|
|
3801
|
+
/**
|
|
3802
|
+
*
|
|
3803
|
+
* @type {string}
|
|
3804
|
+
* @memberof PaymentResponse
|
|
3805
|
+
*/
|
|
3806
|
+
'parking_reservation_id'?: string;
|
|
3807
|
+
/**
|
|
3808
|
+
*
|
|
3809
|
+
* @type {JsonValue}
|
|
3810
|
+
* @memberof PaymentResponse
|
|
3811
|
+
*/
|
|
3812
|
+
'meta'?: JsonValue | null;
|
|
3813
|
+
/**
|
|
3814
|
+
*
|
|
3815
|
+
* @type {string}
|
|
3816
|
+
* @memberof PaymentResponse
|
|
3817
|
+
*/
|
|
3818
|
+
'expired_at'?: string;
|
|
3819
|
+
/**
|
|
3820
|
+
*
|
|
3821
|
+
* @type {string}
|
|
3822
|
+
* @memberof PaymentResponse
|
|
3823
|
+
*/
|
|
3824
|
+
'paid_at'?: string | null;
|
|
3825
|
+
/**
|
|
3826
|
+
*
|
|
3827
|
+
* @type {PaymentStatus}
|
|
3828
|
+
* @memberof PaymentResponse
|
|
3829
|
+
*/
|
|
3830
|
+
'status'?: PaymentStatus;
|
|
3831
|
+
/**
|
|
3832
|
+
*
|
|
3833
|
+
* @type {number}
|
|
3834
|
+
* @memberof PaymentResponse
|
|
3835
|
+
*/
|
|
3836
|
+
'total_amount'?: number;
|
|
3837
|
+
/**
|
|
3838
|
+
*
|
|
3839
|
+
* @type {number}
|
|
3840
|
+
* @memberof PaymentResponse
|
|
3841
|
+
*/
|
|
3842
|
+
'vat_amount'?: number;
|
|
3843
|
+
/**
|
|
3844
|
+
*
|
|
3845
|
+
* @type {number}
|
|
3846
|
+
* @memberof PaymentResponse
|
|
3847
|
+
*/
|
|
3848
|
+
'amount'?: number;
|
|
3849
|
+
/**
|
|
3850
|
+
*
|
|
3851
|
+
* @type {string}
|
|
3852
|
+
* @memberof PaymentResponse
|
|
3853
|
+
*/
|
|
3854
|
+
'invoice_number'?: string | null;
|
|
3855
|
+
/**
|
|
3856
|
+
*
|
|
3857
|
+
* @type {string}
|
|
3858
|
+
* @memberof PaymentResponse
|
|
3859
|
+
*/
|
|
3860
|
+
'reference_number'?: string;
|
|
3861
|
+
/**
|
|
3862
|
+
*
|
|
3863
|
+
* @type {string}
|
|
3864
|
+
* @memberof PaymentResponse
|
|
3865
|
+
*/
|
|
3866
|
+
'description'?: string;
|
|
3867
|
+
/**
|
|
3868
|
+
*
|
|
3869
|
+
* @type {string}
|
|
3870
|
+
* @memberof PaymentResponse
|
|
3871
|
+
*/
|
|
3872
|
+
'payment_url'?: string | null;
|
|
3873
|
+
/**
|
|
3874
|
+
*
|
|
3875
|
+
* @type {string}
|
|
3876
|
+
* @memberof PaymentResponse
|
|
3877
|
+
*/
|
|
3878
|
+
'id'?: string;
|
|
3879
|
+
}
|
|
3760
3880
|
/**
|
|
3761
3881
|
*
|
|
3762
3882
|
* @export
|
|
@@ -5453,6 +5573,413 @@ export interface ValetStation {
|
|
|
5453
5573
|
*/
|
|
5454
5574
|
'active': boolean;
|
|
5455
5575
|
}
|
|
5576
|
+
/**
|
|
5577
|
+
*
|
|
5578
|
+
* @export
|
|
5579
|
+
* @interface ValetStatusPayload
|
|
5580
|
+
*/
|
|
5581
|
+
export interface ValetStatusPayload {
|
|
5582
|
+
/**
|
|
5583
|
+
*
|
|
5584
|
+
* @type {string}
|
|
5585
|
+
* @memberof ValetStatusPayload
|
|
5586
|
+
*/
|
|
5587
|
+
'uid': string;
|
|
5588
|
+
/**
|
|
5589
|
+
*
|
|
5590
|
+
* @type {ValetStatusPayloadDetail}
|
|
5591
|
+
* @memberof ValetStatusPayload
|
|
5592
|
+
*/
|
|
5593
|
+
'detail': ValetStatusPayloadDetail;
|
|
5594
|
+
}
|
|
5595
|
+
/**
|
|
5596
|
+
*
|
|
5597
|
+
* @export
|
|
5598
|
+
* @interface ValetStatusPayloadDetail
|
|
5599
|
+
*/
|
|
5600
|
+
export interface ValetStatusPayloadDetail {
|
|
5601
|
+
/**
|
|
5602
|
+
*
|
|
5603
|
+
* @type {string}
|
|
5604
|
+
* @memberof ValetStatusPayloadDetail
|
|
5605
|
+
*/
|
|
5606
|
+
'keyCabinet': string;
|
|
5607
|
+
/**
|
|
5608
|
+
*
|
|
5609
|
+
* @type {Array<ValetStatusPayloadDetailImagesInner>}
|
|
5610
|
+
* @memberof ValetStatusPayloadDetail
|
|
5611
|
+
*/
|
|
5612
|
+
'images': Array<ValetStatusPayloadDetailImagesInner>;
|
|
5613
|
+
/**
|
|
5614
|
+
*
|
|
5615
|
+
* @type {ValetStatusPayloadDetailDropOffStation}
|
|
5616
|
+
* @memberof ValetStatusPayloadDetail
|
|
5617
|
+
*/
|
|
5618
|
+
'dropOffStation': ValetStatusPayloadDetailDropOffStation;
|
|
5619
|
+
/**
|
|
5620
|
+
*
|
|
5621
|
+
* @type {string}
|
|
5622
|
+
* @memberof ValetStatusPayloadDetail
|
|
5623
|
+
*/
|
|
5624
|
+
'pickUpStation': string;
|
|
5625
|
+
/**
|
|
5626
|
+
*
|
|
5627
|
+
* @type {string}
|
|
5628
|
+
* @memberof ValetStatusPayloadDetail
|
|
5629
|
+
*/
|
|
5630
|
+
'staffVerify': string;
|
|
5631
|
+
/**
|
|
5632
|
+
*
|
|
5633
|
+
* @type {ValetStatusPayloadDetailStaffConfirmParked}
|
|
5634
|
+
* @memberof ValetStatusPayloadDetail
|
|
5635
|
+
*/
|
|
5636
|
+
'staffConfirmParked': ValetStatusPayloadDetailStaffConfirmParked;
|
|
5637
|
+
/**
|
|
5638
|
+
*
|
|
5639
|
+
* @type {string}
|
|
5640
|
+
* @memberof ValetStatusPayloadDetail
|
|
5641
|
+
*/
|
|
5642
|
+
'staffConfirmDeliver': string;
|
|
5643
|
+
/**
|
|
5644
|
+
*
|
|
5645
|
+
* @type {string}
|
|
5646
|
+
* @memberof ValetStatusPayloadDetail
|
|
5647
|
+
*/
|
|
5648
|
+
'staffParked': string;
|
|
5649
|
+
/**
|
|
5650
|
+
*
|
|
5651
|
+
* @type {string}
|
|
5652
|
+
* @memberof ValetStatusPayloadDetail
|
|
5653
|
+
*/
|
|
5654
|
+
'staffDeliver': string;
|
|
5655
|
+
/**
|
|
5656
|
+
*
|
|
5657
|
+
* @type {string}
|
|
5658
|
+
* @memberof ValetStatusPayloadDetail
|
|
5659
|
+
*/
|
|
5660
|
+
'spot': string;
|
|
5661
|
+
/**
|
|
5662
|
+
*
|
|
5663
|
+
* @type {boolean}
|
|
5664
|
+
* @memberof ValetStatusPayloadDetail
|
|
5665
|
+
*/
|
|
5666
|
+
'isMyQr': boolean;
|
|
5667
|
+
/**
|
|
5668
|
+
*
|
|
5669
|
+
* @type {string}
|
|
5670
|
+
* @memberof ValetStatusPayloadDetail
|
|
5671
|
+
*/
|
|
5672
|
+
'referenceCode': string;
|
|
5673
|
+
/**
|
|
5674
|
+
*
|
|
5675
|
+
* @type {string}
|
|
5676
|
+
* @memberof ValetStatusPayloadDetail
|
|
5677
|
+
*/
|
|
5678
|
+
'signatureURL': string;
|
|
5679
|
+
/**
|
|
5680
|
+
*
|
|
5681
|
+
* @type {string}
|
|
5682
|
+
* @memberof ValetStatusPayloadDetail
|
|
5683
|
+
*/
|
|
5684
|
+
'staffConfirmDeliverId': string;
|
|
5685
|
+
/**
|
|
5686
|
+
*
|
|
5687
|
+
* @type {string}
|
|
5688
|
+
* @memberof ValetStatusPayloadDetail
|
|
5689
|
+
*/
|
|
5690
|
+
'confirmDeliverAt': string;
|
|
5691
|
+
/**
|
|
5692
|
+
*
|
|
5693
|
+
* @type {number}
|
|
5694
|
+
* @memberof ValetStatusPayloadDetail
|
|
5695
|
+
*/
|
|
5696
|
+
'staffConfirmParkedId': number;
|
|
5697
|
+
/**
|
|
5698
|
+
*
|
|
5699
|
+
* @type {string}
|
|
5700
|
+
* @memberof ValetStatusPayloadDetail
|
|
5701
|
+
*/
|
|
5702
|
+
'confirmParkedAt': string;
|
|
5703
|
+
/**
|
|
5704
|
+
*
|
|
5705
|
+
* @type {string}
|
|
5706
|
+
* @memberof ValetStatusPayloadDetail
|
|
5707
|
+
*/
|
|
5708
|
+
'staffVerifyId': string;
|
|
5709
|
+
/**
|
|
5710
|
+
*
|
|
5711
|
+
* @type {string}
|
|
5712
|
+
* @memberof ValetStatusPayloadDetail
|
|
5713
|
+
*/
|
|
5714
|
+
'verifiedAt': string;
|
|
5715
|
+
/**
|
|
5716
|
+
*
|
|
5717
|
+
* @type {number}
|
|
5718
|
+
* @memberof ValetStatusPayloadDetail
|
|
5719
|
+
*/
|
|
5720
|
+
'dropOffStationId': number;
|
|
5721
|
+
/**
|
|
5722
|
+
*
|
|
5723
|
+
* @type {string}
|
|
5724
|
+
* @memberof ValetStatusPayloadDetail
|
|
5725
|
+
*/
|
|
5726
|
+
'pickUpStationId': string;
|
|
5727
|
+
/**
|
|
5728
|
+
*
|
|
5729
|
+
* @type {string}
|
|
5730
|
+
* @memberof ValetStatusPayloadDetail
|
|
5731
|
+
*/
|
|
5732
|
+
'parkingSpotId': string;
|
|
5733
|
+
/**
|
|
5734
|
+
*
|
|
5735
|
+
* @type {string}
|
|
5736
|
+
* @memberof ValetStatusPayloadDetail
|
|
5737
|
+
*/
|
|
5738
|
+
'userId': string;
|
|
5739
|
+
/**
|
|
5740
|
+
*
|
|
5741
|
+
* @type {string}
|
|
5742
|
+
* @memberof ValetStatusPayloadDetail
|
|
5743
|
+
*/
|
|
5744
|
+
'staffDeliverId': string;
|
|
5745
|
+
/**
|
|
5746
|
+
*
|
|
5747
|
+
* @type {string}
|
|
5748
|
+
* @memberof ValetStatusPayloadDetail
|
|
5749
|
+
*/
|
|
5750
|
+
'staffParkedId': string;
|
|
5751
|
+
/**
|
|
5752
|
+
*
|
|
5753
|
+
* @type {string}
|
|
5754
|
+
* @memberof ValetStatusPayloadDetail
|
|
5755
|
+
*/
|
|
5756
|
+
'keyCabinetId': string;
|
|
5757
|
+
/**
|
|
5758
|
+
*
|
|
5759
|
+
* @type {string}
|
|
5760
|
+
* @memberof ValetStatusPayloadDetail
|
|
5761
|
+
*/
|
|
5762
|
+
'licensePlateProvince': string;
|
|
5763
|
+
/**
|
|
5764
|
+
*
|
|
5765
|
+
* @type {string}
|
|
5766
|
+
* @memberof ValetStatusPayloadDetail
|
|
5767
|
+
*/
|
|
5768
|
+
'licensePlate': string;
|
|
5769
|
+
/**
|
|
5770
|
+
*
|
|
5771
|
+
* @type {string}
|
|
5772
|
+
* @memberof ValetStatusPayloadDetail
|
|
5773
|
+
*/
|
|
5774
|
+
'outgoingTime': string;
|
|
5775
|
+
/**
|
|
5776
|
+
*
|
|
5777
|
+
* @type {string}
|
|
5778
|
+
* @memberof ValetStatusPayloadDetail
|
|
5779
|
+
*/
|
|
5780
|
+
'incomingTime': string;
|
|
5781
|
+
/**
|
|
5782
|
+
*
|
|
5783
|
+
* @type {string}
|
|
5784
|
+
* @memberof ValetStatusPayloadDetail
|
|
5785
|
+
*/
|
|
5786
|
+
'phoneNumber': string;
|
|
5787
|
+
/**
|
|
5788
|
+
*
|
|
5789
|
+
* @type {string}
|
|
5790
|
+
* @memberof ValetStatusPayloadDetail
|
|
5791
|
+
*/
|
|
5792
|
+
'name': string;
|
|
5793
|
+
/**
|
|
5794
|
+
*
|
|
5795
|
+
* @type {string}
|
|
5796
|
+
* @memberof ValetStatusPayloadDetail
|
|
5797
|
+
*/
|
|
5798
|
+
'status': string;
|
|
5799
|
+
/**
|
|
5800
|
+
*
|
|
5801
|
+
* @type {string}
|
|
5802
|
+
* @memberof ValetStatusPayloadDetail
|
|
5803
|
+
*/
|
|
5804
|
+
'code': string;
|
|
5805
|
+
/**
|
|
5806
|
+
*
|
|
5807
|
+
* @type {string}
|
|
5808
|
+
* @memberof ValetStatusPayloadDetail
|
|
5809
|
+
*/
|
|
5810
|
+
'deletedAt': string;
|
|
5811
|
+
/**
|
|
5812
|
+
*
|
|
5813
|
+
* @type {string}
|
|
5814
|
+
* @memberof ValetStatusPayloadDetail
|
|
5815
|
+
*/
|
|
5816
|
+
'updatedAt': string;
|
|
5817
|
+
/**
|
|
5818
|
+
*
|
|
5819
|
+
* @type {string}
|
|
5820
|
+
* @memberof ValetStatusPayloadDetail
|
|
5821
|
+
*/
|
|
5822
|
+
'createdAt': string;
|
|
5823
|
+
/**
|
|
5824
|
+
*
|
|
5825
|
+
* @type {number}
|
|
5826
|
+
* @memberof ValetStatusPayloadDetail
|
|
5827
|
+
*/
|
|
5828
|
+
'id': number;
|
|
5829
|
+
}
|
|
5830
|
+
/**
|
|
5831
|
+
*
|
|
5832
|
+
* @export
|
|
5833
|
+
* @interface ValetStatusPayloadDetailDropOffStation
|
|
5834
|
+
*/
|
|
5835
|
+
export interface ValetStatusPayloadDetailDropOffStation {
|
|
5836
|
+
/**
|
|
5837
|
+
*
|
|
5838
|
+
* @type {boolean}
|
|
5839
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5840
|
+
*/
|
|
5841
|
+
'isUsed': boolean;
|
|
5842
|
+
/**
|
|
5843
|
+
*
|
|
5844
|
+
* @type {boolean}
|
|
5845
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5846
|
+
*/
|
|
5847
|
+
'active': boolean;
|
|
5848
|
+
/**
|
|
5849
|
+
*
|
|
5850
|
+
* @type {string}
|
|
5851
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5852
|
+
*/
|
|
5853
|
+
'location': string;
|
|
5854
|
+
/**
|
|
5855
|
+
*
|
|
5856
|
+
* @type {string}
|
|
5857
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5858
|
+
*/
|
|
5859
|
+
'description': string;
|
|
5860
|
+
/**
|
|
5861
|
+
*
|
|
5862
|
+
* @type {string}
|
|
5863
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5864
|
+
*/
|
|
5865
|
+
'name': string;
|
|
5866
|
+
/**
|
|
5867
|
+
*
|
|
5868
|
+
* @type {string}
|
|
5869
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5870
|
+
*/
|
|
5871
|
+
'deletedAt': string;
|
|
5872
|
+
/**
|
|
5873
|
+
*
|
|
5874
|
+
* @type {string}
|
|
5875
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5876
|
+
*/
|
|
5877
|
+
'updatedAt': string;
|
|
5878
|
+
/**
|
|
5879
|
+
*
|
|
5880
|
+
* @type {string}
|
|
5881
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5882
|
+
*/
|
|
5883
|
+
'createdAt': string;
|
|
5884
|
+
/**
|
|
5885
|
+
*
|
|
5886
|
+
* @type {number}
|
|
5887
|
+
* @memberof ValetStatusPayloadDetailDropOffStation
|
|
5888
|
+
*/
|
|
5889
|
+
'id': number;
|
|
5890
|
+
}
|
|
5891
|
+
/**
|
|
5892
|
+
*
|
|
5893
|
+
* @export
|
|
5894
|
+
* @interface ValetStatusPayloadDetailImagesInner
|
|
5895
|
+
*/
|
|
5896
|
+
export interface ValetStatusPayloadDetailImagesInner {
|
|
5897
|
+
/**
|
|
5898
|
+
*
|
|
5899
|
+
* @type {number}
|
|
5900
|
+
* @memberof ValetStatusPayloadDetailImagesInner
|
|
5901
|
+
*/
|
|
5902
|
+
'valetParkingId': number;
|
|
5903
|
+
/**
|
|
5904
|
+
*
|
|
5905
|
+
* @type {string}
|
|
5906
|
+
* @memberof ValetStatusPayloadDetailImagesInner
|
|
5907
|
+
*/
|
|
5908
|
+
'url': string;
|
|
5909
|
+
/**
|
|
5910
|
+
*
|
|
5911
|
+
* @type {string}
|
|
5912
|
+
* @memberof ValetStatusPayloadDetailImagesInner
|
|
5913
|
+
*/
|
|
5914
|
+
'createdAt': string;
|
|
5915
|
+
}
|
|
5916
|
+
/**
|
|
5917
|
+
*
|
|
5918
|
+
* @export
|
|
5919
|
+
* @interface ValetStatusPayloadDetailStaffConfirmParked
|
|
5920
|
+
*/
|
|
5921
|
+
export interface ValetStatusPayloadDetailStaffConfirmParked {
|
|
5922
|
+
/**
|
|
5923
|
+
*
|
|
5924
|
+
* @type {string}
|
|
5925
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
5926
|
+
*/
|
|
5927
|
+
'role': string;
|
|
5928
|
+
/**
|
|
5929
|
+
*
|
|
5930
|
+
* @type {string}
|
|
5931
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
5932
|
+
*/
|
|
5933
|
+
'displayName': string;
|
|
5934
|
+
/**
|
|
5935
|
+
*
|
|
5936
|
+
* @type {string}
|
|
5937
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
5938
|
+
*/
|
|
5939
|
+
'phoneNumber': string;
|
|
5940
|
+
/**
|
|
5941
|
+
*
|
|
5942
|
+
* @type {string}
|
|
5943
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
5944
|
+
*/
|
|
5945
|
+
'email': string;
|
|
5946
|
+
/**
|
|
5947
|
+
*
|
|
5948
|
+
* @type {string}
|
|
5949
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
5950
|
+
*/
|
|
5951
|
+
'pin': string;
|
|
5952
|
+
/**
|
|
5953
|
+
*
|
|
5954
|
+
* @type {string}
|
|
5955
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
5956
|
+
*/
|
|
5957
|
+
'userName': string;
|
|
5958
|
+
/**
|
|
5959
|
+
*
|
|
5960
|
+
* @type {string}
|
|
5961
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
5962
|
+
*/
|
|
5963
|
+
'deletedAt': string;
|
|
5964
|
+
/**
|
|
5965
|
+
*
|
|
5966
|
+
* @type {string}
|
|
5967
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
5968
|
+
*/
|
|
5969
|
+
'updatedAt': string;
|
|
5970
|
+
/**
|
|
5971
|
+
*
|
|
5972
|
+
* @type {string}
|
|
5973
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
5974
|
+
*/
|
|
5975
|
+
'createdAt': string;
|
|
5976
|
+
/**
|
|
5977
|
+
*
|
|
5978
|
+
* @type {number}
|
|
5979
|
+
* @memberof ValetStatusPayloadDetailStaffConfirmParked
|
|
5980
|
+
*/
|
|
5981
|
+
'id': number;
|
|
5982
|
+
}
|
|
5456
5983
|
/**
|
|
5457
5984
|
*
|
|
5458
5985
|
* @export
|
|
@@ -5968,6 +6495,18 @@ export interface WebhookCreateBodyPayload {
|
|
|
5968
6495
|
* @memberof WebhookCreateBodyPayload
|
|
5969
6496
|
*/
|
|
5970
6497
|
'inviteID': string;
|
|
6498
|
+
/**
|
|
6499
|
+
*
|
|
6500
|
+
* @type {string}
|
|
6501
|
+
* @memberof WebhookCreateBodyPayload
|
|
6502
|
+
*/
|
|
6503
|
+
'uid': string;
|
|
6504
|
+
/**
|
|
6505
|
+
*
|
|
6506
|
+
* @type {ValetStatusPayloadDetail}
|
|
6507
|
+
* @memberof WebhookCreateBodyPayload
|
|
6508
|
+
*/
|
|
6509
|
+
'detail': ValetStatusPayloadDetail;
|
|
5971
6510
|
/**
|
|
5972
6511
|
*
|
|
5973
6512
|
* @type {string}
|
|
@@ -7994,11 +8533,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7994
8533
|
/**
|
|
7995
8534
|
*
|
|
7996
8535
|
* @param {string} id
|
|
8536
|
+
* @param {ParkingReservationStatus} [status]
|
|
7997
8537
|
* @param {string} [xAccountId]
|
|
7998
8538
|
* @param {*} [options] Override http request option.
|
|
7999
8539
|
* @throws {RequiredError}
|
|
8000
8540
|
*/
|
|
8001
|
-
parkingReservationsListDetail: (id: string, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8541
|
+
parkingReservationsListDetail: (id: string, status?: ParkingReservationStatus, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8002
8542
|
/**
|
|
8003
8543
|
*
|
|
8004
8544
|
* @param {string} [xAccountId]
|
|
@@ -8479,11 +9019,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
8479
9019
|
/**
|
|
8480
9020
|
*
|
|
8481
9021
|
* @param {string} id
|
|
9022
|
+
* @param {ParkingReservationStatus} [status]
|
|
8482
9023
|
* @param {string} [xAccountId]
|
|
8483
9024
|
* @param {*} [options] Override http request option.
|
|
8484
9025
|
* @throws {RequiredError}
|
|
8485
9026
|
*/
|
|
8486
|
-
parkingReservationsListDetail(id: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseParkingReservationDetailResponse>>;
|
|
9027
|
+
parkingReservationsListDetail(id: string, status?: ParkingReservationStatus, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseParkingReservationDetailResponse>>;
|
|
8487
9028
|
/**
|
|
8488
9029
|
*
|
|
8489
9030
|
* @param {string} [xAccountId]
|
|
@@ -8964,11 +9505,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
8964
9505
|
/**
|
|
8965
9506
|
*
|
|
8966
9507
|
* @param {string} id
|
|
9508
|
+
* @param {ParkingReservationStatus} [status]
|
|
8967
9509
|
* @param {string} [xAccountId]
|
|
8968
9510
|
* @param {*} [options] Override http request option.
|
|
8969
9511
|
* @throws {RequiredError}
|
|
8970
9512
|
*/
|
|
8971
|
-
parkingReservationsListDetail(id: string, xAccountId?: string, options?: any): AxiosPromise<WrappedOneResponseParkingReservationDetailResponse>;
|
|
9513
|
+
parkingReservationsListDetail(id: string, status?: ParkingReservationStatus, xAccountId?: string, options?: any): AxiosPromise<WrappedOneResponseParkingReservationDetailResponse>;
|
|
8972
9514
|
/**
|
|
8973
9515
|
*
|
|
8974
9516
|
* @param {string} [xAccountId]
|
|
@@ -9486,12 +10028,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
9486
10028
|
/**
|
|
9487
10029
|
*
|
|
9488
10030
|
* @param {string} id
|
|
10031
|
+
* @param {ParkingReservationStatus} [status]
|
|
9489
10032
|
* @param {string} [xAccountId]
|
|
9490
10033
|
* @param {*} [options] Override http request option.
|
|
9491
10034
|
* @throws {RequiredError}
|
|
9492
10035
|
* @memberof DefaultApi
|
|
9493
10036
|
*/
|
|
9494
|
-
parkingReservationsListDetail(id: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseParkingReservationDetailResponse, any>>;
|
|
10037
|
+
parkingReservationsListDetail(id: string, status?: ParkingReservationStatus, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseParkingReservationDetailResponse, any>>;
|
|
9495
10038
|
/**
|
|
9496
10039
|
*
|
|
9497
10040
|
* @param {string} [xAccountId]
|
package/dist/api/api.js
CHANGED
|
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.ParkingTicketsIndexTypeEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.TenantMemberRole = exports.ShowPassResponseStatusEnum = exports.ServiceRequestStatusInProgress = exports.ServiceRequestStatusDone = exports.ServiceRequestStatus = exports.SensorType = exports.PositionStatus = exports.PaymentStatus = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = exports.ParkingTicketsIndexQueryTypeEnum = exports.AccessorType = exports.ACRequestStatusRejected = exports.ACRequestStatusApproved = exports.ACRequestStatus = void 0;
|
|
28
|
+
exports.ParkingTicketsIndexTypeEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.TenantMemberRole = exports.ShowPassResponseStatusEnum = exports.ServiceRequestStatusInProgress = exports.ServiceRequestStatusDone = exports.ServiceRequestStatus = exports.SensorType = exports.PositionStatus = exports.PaymentStatus = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = exports.ParkingTicketsIndexQueryTypeEnum = exports.ParkingReservationStatus = exports.AccessorType = exports.ACRequestStatusRejected = exports.ACRequestStatusApproved = exports.ACRequestStatus = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -68,6 +68,16 @@ exports.AccessorType = {
|
|
|
68
68
|
Member: 'member',
|
|
69
69
|
Tenant: 'tenant'
|
|
70
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @export
|
|
74
|
+
* @enum {string}
|
|
75
|
+
*/
|
|
76
|
+
exports.ParkingReservationStatus = {
|
|
77
|
+
Pending: 'pending',
|
|
78
|
+
Confirmed: 'confirmed',
|
|
79
|
+
Cancelled: 'cancelled'
|
|
80
|
+
};
|
|
71
81
|
exports.ParkingTicketsIndexQueryTypeEnum = {
|
|
72
82
|
LogId: 'log_id',
|
|
73
83
|
InviteId: 'invite_id',
|
|
@@ -1365,11 +1375,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1365
1375
|
/**
|
|
1366
1376
|
*
|
|
1367
1377
|
* @param {string} id
|
|
1378
|
+
* @param {ParkingReservationStatus} [status]
|
|
1368
1379
|
* @param {string} [xAccountId]
|
|
1369
1380
|
* @param {*} [options] Override http request option.
|
|
1370
1381
|
* @throws {RequiredError}
|
|
1371
1382
|
*/
|
|
1372
|
-
parkingReservationsListDetail: (id, xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1383
|
+
parkingReservationsListDetail: (id, status, xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1373
1384
|
// verify required parameter 'id' is not null or undefined
|
|
1374
1385
|
(0, common_1.assertParamExists)('parkingReservationsListDetail', 'id', id);
|
|
1375
1386
|
const localVarPath = `/parking_reservations/{id}`
|
|
@@ -1383,6 +1394,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1383
1394
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1384
1395
|
const localVarHeaderParameter = {};
|
|
1385
1396
|
const localVarQueryParameter = {};
|
|
1397
|
+
if (status !== undefined) {
|
|
1398
|
+
localVarQueryParameter['status'] = status;
|
|
1399
|
+
}
|
|
1386
1400
|
if (xAccountId != null) {
|
|
1387
1401
|
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
1388
1402
|
}
|
|
@@ -2599,13 +2613,14 @@ const DefaultApiFp = function (configuration) {
|
|
|
2599
2613
|
/**
|
|
2600
2614
|
*
|
|
2601
2615
|
* @param {string} id
|
|
2616
|
+
* @param {ParkingReservationStatus} [status]
|
|
2602
2617
|
* @param {string} [xAccountId]
|
|
2603
2618
|
* @param {*} [options] Override http request option.
|
|
2604
2619
|
* @throws {RequiredError}
|
|
2605
2620
|
*/
|
|
2606
|
-
parkingReservationsListDetail(id, xAccountId, options) {
|
|
2621
|
+
parkingReservationsListDetail(id, status, xAccountId, options) {
|
|
2607
2622
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2608
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingReservationsListDetail(id, xAccountId, options);
|
|
2623
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingReservationsListDetail(id, status, xAccountId, options);
|
|
2609
2624
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2610
2625
|
});
|
|
2611
2626
|
},
|
|
@@ -3283,12 +3298,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3283
3298
|
/**
|
|
3284
3299
|
*
|
|
3285
3300
|
* @param {string} id
|
|
3301
|
+
* @param {ParkingReservationStatus} [status]
|
|
3286
3302
|
* @param {string} [xAccountId]
|
|
3287
3303
|
* @param {*} [options] Override http request option.
|
|
3288
3304
|
* @throws {RequiredError}
|
|
3289
3305
|
*/
|
|
3290
|
-
parkingReservationsListDetail(id, xAccountId, options) {
|
|
3291
|
-
return localVarFp.parkingReservationsListDetail(id, xAccountId, options).then((request) => request(axios, basePath));
|
|
3306
|
+
parkingReservationsListDetail(id, status, xAccountId, options) {
|
|
3307
|
+
return localVarFp.parkingReservationsListDetail(id, status, xAccountId, options).then((request) => request(axios, basePath));
|
|
3292
3308
|
},
|
|
3293
3309
|
/**
|
|
3294
3310
|
*
|
|
@@ -3927,13 +3943,14 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3927
3943
|
/**
|
|
3928
3944
|
*
|
|
3929
3945
|
* @param {string} id
|
|
3946
|
+
* @param {ParkingReservationStatus} [status]
|
|
3930
3947
|
* @param {string} [xAccountId]
|
|
3931
3948
|
* @param {*} [options] Override http request option.
|
|
3932
3949
|
* @throws {RequiredError}
|
|
3933
3950
|
* @memberof DefaultApi
|
|
3934
3951
|
*/
|
|
3935
|
-
parkingReservationsListDetail(id, xAccountId, options) {
|
|
3936
|
-
return (0, exports.DefaultApiFp)(this.configuration).parkingReservationsListDetail(id, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
3952
|
+
parkingReservationsListDetail(id, status, xAccountId, options) {
|
|
3953
|
+
return (0, exports.DefaultApiFp)(this.configuration).parkingReservationsListDetail(id, status, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
3937
3954
|
}
|
|
3938
3955
|
/**
|
|
3939
3956
|
*
|