ob-bms-sdk 0.0.102 → 0.0.103
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 +147 -54
- package/dist/api/api.d.ts +124 -29
- package/dist/api/api.js +37 -38
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -2797,6 +2797,60 @@ export interface ParkingSpaceDetailAndSpaceDetail {
|
|
|
2797
2797
|
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2798
2798
|
*/
|
|
2799
2799
|
'ibeaconIpcMinor': string;
|
|
2800
|
+
/**
|
|
2801
|
+
*
|
|
2802
|
+
* @type {number}
|
|
2803
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2804
|
+
*/
|
|
2805
|
+
'vehicle_type_id': number;
|
|
2806
|
+
/**
|
|
2807
|
+
*
|
|
2808
|
+
* @type {number}
|
|
2809
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2810
|
+
*/
|
|
2811
|
+
'member_type_id': number;
|
|
2812
|
+
/**
|
|
2813
|
+
*
|
|
2814
|
+
* @type {RateDetail}
|
|
2815
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2816
|
+
*/
|
|
2817
|
+
'rate_detail': RateDetail;
|
|
2818
|
+
/**
|
|
2819
|
+
*
|
|
2820
|
+
* @type {string}
|
|
2821
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2822
|
+
*/
|
|
2823
|
+
'parked_at': string;
|
|
2824
|
+
/**
|
|
2825
|
+
*
|
|
2826
|
+
* @type {number}
|
|
2827
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2828
|
+
*/
|
|
2829
|
+
'total_fee': number;
|
|
2830
|
+
/**
|
|
2831
|
+
*
|
|
2832
|
+
* @type {string}
|
|
2833
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2834
|
+
*/
|
|
2835
|
+
'vehicle_type': string;
|
|
2836
|
+
/**
|
|
2837
|
+
*
|
|
2838
|
+
* @type {string}
|
|
2839
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2840
|
+
*/
|
|
2841
|
+
'ticket_number': string;
|
|
2842
|
+
/**
|
|
2843
|
+
*
|
|
2844
|
+
* @type {string}
|
|
2845
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2846
|
+
*/
|
|
2847
|
+
'plate_number': string;
|
|
2848
|
+
/**
|
|
2849
|
+
*
|
|
2850
|
+
* @type {string}
|
|
2851
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2852
|
+
*/
|
|
2853
|
+
'id': string;
|
|
2800
2854
|
/**
|
|
2801
2855
|
*
|
|
2802
2856
|
* @type {string}
|
|
@@ -2840,19 +2894,6 @@ export interface ParkingSpaceDetailAndSpaceDetail {
|
|
|
2840
2894
|
*/
|
|
2841
2895
|
'poleColorCode'?: string;
|
|
2842
2896
|
}
|
|
2843
|
-
/**
|
|
2844
|
-
*
|
|
2845
|
-
* @export
|
|
2846
|
-
* @interface ParkingSpaceDetailBody
|
|
2847
|
-
*/
|
|
2848
|
-
export interface ParkingSpaceDetailBody {
|
|
2849
|
-
/**
|
|
2850
|
-
*
|
|
2851
|
-
* @type {string}
|
|
2852
|
-
* @memberof ParkingSpaceDetailBody
|
|
2853
|
-
*/
|
|
2854
|
-
'plate_number': string;
|
|
2855
|
-
}
|
|
2856
2897
|
/**
|
|
2857
2898
|
*
|
|
2858
2899
|
* @export
|
|
@@ -6066,6 +6107,60 @@ export interface WrappedResponseParkingSpaceDetailAndSpaceDetailData {
|
|
|
6066
6107
|
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6067
6108
|
*/
|
|
6068
6109
|
'ibeaconIpcMinor': string;
|
|
6110
|
+
/**
|
|
6111
|
+
*
|
|
6112
|
+
* @type {number}
|
|
6113
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6114
|
+
*/
|
|
6115
|
+
'vehicle_type_id': number;
|
|
6116
|
+
/**
|
|
6117
|
+
*
|
|
6118
|
+
* @type {number}
|
|
6119
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6120
|
+
*/
|
|
6121
|
+
'member_type_id': number;
|
|
6122
|
+
/**
|
|
6123
|
+
*
|
|
6124
|
+
* @type {RateDetail}
|
|
6125
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6126
|
+
*/
|
|
6127
|
+
'rate_detail': RateDetail;
|
|
6128
|
+
/**
|
|
6129
|
+
*
|
|
6130
|
+
* @type {string}
|
|
6131
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6132
|
+
*/
|
|
6133
|
+
'parked_at': string;
|
|
6134
|
+
/**
|
|
6135
|
+
*
|
|
6136
|
+
* @type {number}
|
|
6137
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6138
|
+
*/
|
|
6139
|
+
'total_fee': number;
|
|
6140
|
+
/**
|
|
6141
|
+
*
|
|
6142
|
+
* @type {string}
|
|
6143
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6144
|
+
*/
|
|
6145
|
+
'vehicle_type': string;
|
|
6146
|
+
/**
|
|
6147
|
+
*
|
|
6148
|
+
* @type {string}
|
|
6149
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6150
|
+
*/
|
|
6151
|
+
'ticket_number': string;
|
|
6152
|
+
/**
|
|
6153
|
+
*
|
|
6154
|
+
* @type {string}
|
|
6155
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6156
|
+
*/
|
|
6157
|
+
'plate_number': string;
|
|
6158
|
+
/**
|
|
6159
|
+
*
|
|
6160
|
+
* @type {string}
|
|
6161
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6162
|
+
*/
|
|
6163
|
+
'id': string;
|
|
6069
6164
|
/**
|
|
6070
6165
|
*
|
|
6071
6166
|
* @type {string}
|
|
@@ -8179,17 +8274,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
8179
8274
|
},
|
|
8180
8275
|
/**
|
|
8181
8276
|
*
|
|
8182
|
-
* @param {ParkingTicketsIndexTypeEnum} type
|
|
8183
8277
|
* @param {string} id
|
|
8184
8278
|
* @param {*} [options] Override http request option.
|
|
8185
8279
|
* @throws {RequiredError}
|
|
8186
8280
|
*/
|
|
8187
|
-
|
|
8188
|
-
// verify required parameter 'type' is not null or undefined
|
|
8189
|
-
assertParamExists('parkingTicketsIndex', 'type', type)
|
|
8281
|
+
parkingTicketsAllDetails: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8190
8282
|
// verify required parameter 'id' is not null or undefined
|
|
8191
|
-
assertParamExists('
|
|
8192
|
-
const localVarPath = `/parking_tickets
|
|
8283
|
+
assertParamExists('parkingTicketsAllDetails', 'id', id)
|
|
8284
|
+
const localVarPath = `/parking_tickets/all_details/{id}`
|
|
8285
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8193
8286
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8194
8287
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8195
8288
|
let baseOptions;
|
|
@@ -8201,14 +8294,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
8201
8294
|
const localVarHeaderParameter = {} as any;
|
|
8202
8295
|
const localVarQueryParameter = {} as any;
|
|
8203
8296
|
|
|
8204
|
-
if (type !== undefined) {
|
|
8205
|
-
localVarQueryParameter['type'] = type;
|
|
8206
|
-
}
|
|
8207
|
-
|
|
8208
|
-
if (id !== undefined) {
|
|
8209
|
-
localVarQueryParameter['id'] = id;
|
|
8210
|
-
}
|
|
8211
|
-
|
|
8212
8297
|
|
|
8213
8298
|
|
|
8214
8299
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -8222,14 +8307,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
8222
8307
|
},
|
|
8223
8308
|
/**
|
|
8224
8309
|
*
|
|
8225
|
-
* @param {
|
|
8310
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
8311
|
+
* @param {string} id
|
|
8226
8312
|
* @param {*} [options] Override http request option.
|
|
8227
8313
|
* @throws {RequiredError}
|
|
8228
8314
|
*/
|
|
8229
|
-
|
|
8230
|
-
// verify required parameter '
|
|
8231
|
-
assertParamExists('
|
|
8232
|
-
|
|
8315
|
+
parkingTicketsIndex: async (type: ParkingTicketsIndexTypeEnum, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8316
|
+
// verify required parameter 'type' is not null or undefined
|
|
8317
|
+
assertParamExists('parkingTicketsIndex', 'type', type)
|
|
8318
|
+
// verify required parameter 'id' is not null or undefined
|
|
8319
|
+
assertParamExists('parkingTicketsIndex', 'id', id)
|
|
8320
|
+
const localVarPath = `/parking_tickets`;
|
|
8233
8321
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8234
8322
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8235
8323
|
let baseOptions;
|
|
@@ -8237,18 +8325,23 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
8237
8325
|
baseOptions = configuration.baseOptions;
|
|
8238
8326
|
}
|
|
8239
8327
|
|
|
8240
|
-
const localVarRequestOptions = { method: '
|
|
8328
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8241
8329
|
const localVarHeaderParameter = {} as any;
|
|
8242
8330
|
const localVarQueryParameter = {} as any;
|
|
8243
8331
|
|
|
8332
|
+
if (type !== undefined) {
|
|
8333
|
+
localVarQueryParameter['type'] = type;
|
|
8334
|
+
}
|
|
8244
8335
|
|
|
8245
|
-
|
|
8246
|
-
|
|
8336
|
+
if (id !== undefined) {
|
|
8337
|
+
localVarQueryParameter['id'] = id;
|
|
8338
|
+
}
|
|
8247
8339
|
|
|
8340
|
+
|
|
8341
|
+
|
|
8248
8342
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8249
8343
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8250
8344
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8251
|
-
localVarRequestOptions.data = serializeDataIfNeeded(parkingSpaceDetailBody, localVarRequestOptions, configuration)
|
|
8252
8345
|
|
|
8253
8346
|
return {
|
|
8254
8347
|
url: toPathString(localVarUrlObj),
|
|
@@ -9291,23 +9384,23 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
9291
9384
|
},
|
|
9292
9385
|
/**
|
|
9293
9386
|
*
|
|
9294
|
-
* @param {ParkingTicketsIndexTypeEnum} type
|
|
9295
9387
|
* @param {string} id
|
|
9296
9388
|
* @param {*} [options] Override http request option.
|
|
9297
9389
|
* @throws {RequiredError}
|
|
9298
9390
|
*/
|
|
9299
|
-
async
|
|
9300
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
9391
|
+
async parkingTicketsAllDetails(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingSpaceDetailAndSpaceDetail>> {
|
|
9392
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsAllDetails(id, options);
|
|
9301
9393
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9302
9394
|
},
|
|
9303
9395
|
/**
|
|
9304
9396
|
*
|
|
9305
|
-
* @param {
|
|
9397
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
9398
|
+
* @param {string} id
|
|
9306
9399
|
* @param {*} [options] Override http request option.
|
|
9307
9400
|
* @throws {RequiredError}
|
|
9308
9401
|
*/
|
|
9309
|
-
async
|
|
9310
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
9402
|
+
async parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketDataArray>> {
|
|
9403
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsIndex(type, id, options);
|
|
9311
9404
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9312
9405
|
},
|
|
9313
9406
|
/**
|
|
@@ -9852,22 +9945,22 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
9852
9945
|
},
|
|
9853
9946
|
/**
|
|
9854
9947
|
*
|
|
9855
|
-
* @param {ParkingTicketsIndexTypeEnum} type
|
|
9856
9948
|
* @param {string} id
|
|
9857
9949
|
* @param {*} [options] Override http request option.
|
|
9858
9950
|
* @throws {RequiredError}
|
|
9859
9951
|
*/
|
|
9860
|
-
|
|
9861
|
-
return localVarFp.
|
|
9952
|
+
parkingTicketsAllDetails(id: string, options?: any): AxiosPromise<WrappedResponseParkingSpaceDetailAndSpaceDetail> {
|
|
9953
|
+
return localVarFp.parkingTicketsAllDetails(id, options).then((request) => request(axios, basePath));
|
|
9862
9954
|
},
|
|
9863
9955
|
/**
|
|
9864
9956
|
*
|
|
9865
|
-
* @param {
|
|
9957
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
9958
|
+
* @param {string} id
|
|
9866
9959
|
* @param {*} [options] Override http request option.
|
|
9867
9960
|
* @throws {RequiredError}
|
|
9868
9961
|
*/
|
|
9869
|
-
|
|
9870
|
-
return localVarFp.
|
|
9962
|
+
parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: any): AxiosPromise<WrappedResponseParkingTicketDataArray> {
|
|
9963
|
+
return localVarFp.parkingTicketsIndex(type, id, options).then((request) => request(axios, basePath));
|
|
9871
9964
|
},
|
|
9872
9965
|
/**
|
|
9873
9966
|
*
|
|
@@ -10459,25 +10552,25 @@ export class DefaultApi extends BaseAPI {
|
|
|
10459
10552
|
|
|
10460
10553
|
/**
|
|
10461
10554
|
*
|
|
10462
|
-
* @param {ParkingTicketsIndexTypeEnum} type
|
|
10463
10555
|
* @param {string} id
|
|
10464
10556
|
* @param {*} [options] Override http request option.
|
|
10465
10557
|
* @throws {RequiredError}
|
|
10466
10558
|
* @memberof DefaultApi
|
|
10467
10559
|
*/
|
|
10468
|
-
public
|
|
10469
|
-
return DefaultApiFp(this.configuration).
|
|
10560
|
+
public parkingTicketsAllDetails(id: string, options?: AxiosRequestConfig) {
|
|
10561
|
+
return DefaultApiFp(this.configuration).parkingTicketsAllDetails(id, options).then((request) => request(this.axios, this.basePath));
|
|
10470
10562
|
}
|
|
10471
10563
|
|
|
10472
10564
|
/**
|
|
10473
10565
|
*
|
|
10474
|
-
* @param {
|
|
10566
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
10567
|
+
* @param {string} id
|
|
10475
10568
|
* @param {*} [options] Override http request option.
|
|
10476
10569
|
* @throws {RequiredError}
|
|
10477
10570
|
* @memberof DefaultApi
|
|
10478
10571
|
*/
|
|
10479
|
-
public
|
|
10480
|
-
return DefaultApiFp(this.configuration).
|
|
10572
|
+
public parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig) {
|
|
10573
|
+
return DefaultApiFp(this.configuration).parkingTicketsIndex(type, id, options).then((request) => request(this.axios, this.basePath));
|
|
10481
10574
|
}
|
|
10482
10575
|
|
|
10483
10576
|
/**
|
package/dist/api/api.d.ts
CHANGED
|
@@ -2769,6 +2769,60 @@ export interface ParkingSpaceDetailAndSpaceDetail {
|
|
|
2769
2769
|
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2770
2770
|
*/
|
|
2771
2771
|
'ibeaconIpcMinor': string;
|
|
2772
|
+
/**
|
|
2773
|
+
*
|
|
2774
|
+
* @type {number}
|
|
2775
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2776
|
+
*/
|
|
2777
|
+
'vehicle_type_id': number;
|
|
2778
|
+
/**
|
|
2779
|
+
*
|
|
2780
|
+
* @type {number}
|
|
2781
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2782
|
+
*/
|
|
2783
|
+
'member_type_id': number;
|
|
2784
|
+
/**
|
|
2785
|
+
*
|
|
2786
|
+
* @type {RateDetail}
|
|
2787
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2788
|
+
*/
|
|
2789
|
+
'rate_detail': RateDetail;
|
|
2790
|
+
/**
|
|
2791
|
+
*
|
|
2792
|
+
* @type {string}
|
|
2793
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2794
|
+
*/
|
|
2795
|
+
'parked_at': string;
|
|
2796
|
+
/**
|
|
2797
|
+
*
|
|
2798
|
+
* @type {number}
|
|
2799
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2800
|
+
*/
|
|
2801
|
+
'total_fee': number;
|
|
2802
|
+
/**
|
|
2803
|
+
*
|
|
2804
|
+
* @type {string}
|
|
2805
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2806
|
+
*/
|
|
2807
|
+
'vehicle_type': string;
|
|
2808
|
+
/**
|
|
2809
|
+
*
|
|
2810
|
+
* @type {string}
|
|
2811
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2812
|
+
*/
|
|
2813
|
+
'ticket_number': string;
|
|
2814
|
+
/**
|
|
2815
|
+
*
|
|
2816
|
+
* @type {string}
|
|
2817
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2818
|
+
*/
|
|
2819
|
+
'plate_number': string;
|
|
2820
|
+
/**
|
|
2821
|
+
*
|
|
2822
|
+
* @type {string}
|
|
2823
|
+
* @memberof ParkingSpaceDetailAndSpaceDetail
|
|
2824
|
+
*/
|
|
2825
|
+
'id': string;
|
|
2772
2826
|
/**
|
|
2773
2827
|
*
|
|
2774
2828
|
* @type {string}
|
|
@@ -2812,19 +2866,6 @@ export interface ParkingSpaceDetailAndSpaceDetail {
|
|
|
2812
2866
|
*/
|
|
2813
2867
|
'poleColorCode'?: string;
|
|
2814
2868
|
}
|
|
2815
|
-
/**
|
|
2816
|
-
*
|
|
2817
|
-
* @export
|
|
2818
|
-
* @interface ParkingSpaceDetailBody
|
|
2819
|
-
*/
|
|
2820
|
-
export interface ParkingSpaceDetailBody {
|
|
2821
|
-
/**
|
|
2822
|
-
*
|
|
2823
|
-
* @type {string}
|
|
2824
|
-
* @memberof ParkingSpaceDetailBody
|
|
2825
|
-
*/
|
|
2826
|
-
'plate_number': string;
|
|
2827
|
-
}
|
|
2828
2869
|
/**
|
|
2829
2870
|
*
|
|
2830
2871
|
* @export
|
|
@@ -5993,6 +6034,60 @@ export interface WrappedResponseParkingSpaceDetailAndSpaceDetailData {
|
|
|
5993
6034
|
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
5994
6035
|
*/
|
|
5995
6036
|
'ibeaconIpcMinor': string;
|
|
6037
|
+
/**
|
|
6038
|
+
*
|
|
6039
|
+
* @type {number}
|
|
6040
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6041
|
+
*/
|
|
6042
|
+
'vehicle_type_id': number;
|
|
6043
|
+
/**
|
|
6044
|
+
*
|
|
6045
|
+
* @type {number}
|
|
6046
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6047
|
+
*/
|
|
6048
|
+
'member_type_id': number;
|
|
6049
|
+
/**
|
|
6050
|
+
*
|
|
6051
|
+
* @type {RateDetail}
|
|
6052
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6053
|
+
*/
|
|
6054
|
+
'rate_detail': RateDetail;
|
|
6055
|
+
/**
|
|
6056
|
+
*
|
|
6057
|
+
* @type {string}
|
|
6058
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6059
|
+
*/
|
|
6060
|
+
'parked_at': string;
|
|
6061
|
+
/**
|
|
6062
|
+
*
|
|
6063
|
+
* @type {number}
|
|
6064
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6065
|
+
*/
|
|
6066
|
+
'total_fee': number;
|
|
6067
|
+
/**
|
|
6068
|
+
*
|
|
6069
|
+
* @type {string}
|
|
6070
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6071
|
+
*/
|
|
6072
|
+
'vehicle_type': string;
|
|
6073
|
+
/**
|
|
6074
|
+
*
|
|
6075
|
+
* @type {string}
|
|
6076
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6077
|
+
*/
|
|
6078
|
+
'ticket_number': string;
|
|
6079
|
+
/**
|
|
6080
|
+
*
|
|
6081
|
+
* @type {string}
|
|
6082
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6083
|
+
*/
|
|
6084
|
+
'plate_number': string;
|
|
6085
|
+
/**
|
|
6086
|
+
*
|
|
6087
|
+
* @type {string}
|
|
6088
|
+
* @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
|
|
6089
|
+
*/
|
|
6090
|
+
'id': string;
|
|
5996
6091
|
/**
|
|
5997
6092
|
*
|
|
5998
6093
|
* @type {string}
|
|
@@ -7018,19 +7113,19 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7018
7113
|
parkingRedemptionRatesIndex: (id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7019
7114
|
/**
|
|
7020
7115
|
*
|
|
7021
|
-
* @param {ParkingTicketsIndexTypeEnum} type
|
|
7022
7116
|
* @param {string} id
|
|
7023
7117
|
* @param {*} [options] Override http request option.
|
|
7024
7118
|
* @throws {RequiredError}
|
|
7025
7119
|
*/
|
|
7026
|
-
|
|
7120
|
+
parkingTicketsAllDetails: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7027
7121
|
/**
|
|
7028
7122
|
*
|
|
7029
|
-
* @param {
|
|
7123
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
7124
|
+
* @param {string} id
|
|
7030
7125
|
* @param {*} [options] Override http request option.
|
|
7031
7126
|
* @throws {RequiredError}
|
|
7032
7127
|
*/
|
|
7033
|
-
|
|
7128
|
+
parkingTicketsIndex: (type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7034
7129
|
/**
|
|
7035
7130
|
*
|
|
7036
7131
|
* @param {string} logId
|
|
@@ -7449,19 +7544,19 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
7449
7544
|
parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingRedemptionRateResultArray>>;
|
|
7450
7545
|
/**
|
|
7451
7546
|
*
|
|
7452
|
-
* @param {ParkingTicketsIndexTypeEnum} type
|
|
7453
7547
|
* @param {string} id
|
|
7454
7548
|
* @param {*} [options] Override http request option.
|
|
7455
7549
|
* @throws {RequiredError}
|
|
7456
7550
|
*/
|
|
7457
|
-
|
|
7551
|
+
parkingTicketsAllDetails(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingSpaceDetailAndSpaceDetail>>;
|
|
7458
7552
|
/**
|
|
7459
7553
|
*
|
|
7460
|
-
* @param {
|
|
7554
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
7555
|
+
* @param {string} id
|
|
7461
7556
|
* @param {*} [options] Override http request option.
|
|
7462
7557
|
* @throws {RequiredError}
|
|
7463
7558
|
*/
|
|
7464
|
-
|
|
7559
|
+
parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketDataArray>>;
|
|
7465
7560
|
/**
|
|
7466
7561
|
*
|
|
7467
7562
|
* @param {string} logId
|
|
@@ -7880,19 +7975,19 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
7880
7975
|
parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: any): AxiosPromise<WrappedResponseParkingRedemptionRateResultArray>;
|
|
7881
7976
|
/**
|
|
7882
7977
|
*
|
|
7883
|
-
* @param {ParkingTicketsIndexTypeEnum} type
|
|
7884
7978
|
* @param {string} id
|
|
7885
7979
|
* @param {*} [options] Override http request option.
|
|
7886
7980
|
* @throws {RequiredError}
|
|
7887
7981
|
*/
|
|
7888
|
-
|
|
7982
|
+
parkingTicketsAllDetails(id: string, options?: any): AxiosPromise<WrappedResponseParkingSpaceDetailAndSpaceDetail>;
|
|
7889
7983
|
/**
|
|
7890
7984
|
*
|
|
7891
|
-
* @param {
|
|
7985
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
7986
|
+
* @param {string} id
|
|
7892
7987
|
* @param {*} [options] Override http request option.
|
|
7893
7988
|
* @throws {RequiredError}
|
|
7894
7989
|
*/
|
|
7895
|
-
|
|
7990
|
+
parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: any): AxiosPromise<WrappedResponseParkingTicketDataArray>;
|
|
7896
7991
|
/**
|
|
7897
7992
|
*
|
|
7898
7993
|
* @param {string} logId
|
|
@@ -8346,21 +8441,21 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
8346
8441
|
parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingRedemptionRateResultArray, any>>;
|
|
8347
8442
|
/**
|
|
8348
8443
|
*
|
|
8349
|
-
* @param {ParkingTicketsIndexTypeEnum} type
|
|
8350
8444
|
* @param {string} id
|
|
8351
8445
|
* @param {*} [options] Override http request option.
|
|
8352
8446
|
* @throws {RequiredError}
|
|
8353
8447
|
* @memberof DefaultApi
|
|
8354
8448
|
*/
|
|
8355
|
-
|
|
8449
|
+
parkingTicketsAllDetails(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingSpaceDetailAndSpaceDetail, any>>;
|
|
8356
8450
|
/**
|
|
8357
8451
|
*
|
|
8358
|
-
* @param {
|
|
8452
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
8453
|
+
* @param {string} id
|
|
8359
8454
|
* @param {*} [options] Override http request option.
|
|
8360
8455
|
* @throws {RequiredError}
|
|
8361
8456
|
* @memberof DefaultApi
|
|
8362
8457
|
*/
|
|
8363
|
-
|
|
8458
|
+
parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketDataArray, any>>;
|
|
8364
8459
|
/**
|
|
8365
8460
|
*
|
|
8366
8461
|
* @param {string} logId
|
package/dist/api/api.js
CHANGED
|
@@ -1284,17 +1284,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1284
1284
|
}),
|
|
1285
1285
|
/**
|
|
1286
1286
|
*
|
|
1287
|
-
* @param {ParkingTicketsIndexTypeEnum} type
|
|
1288
1287
|
* @param {string} id
|
|
1289
1288
|
* @param {*} [options] Override http request option.
|
|
1290
1289
|
* @throws {RequiredError}
|
|
1291
1290
|
*/
|
|
1292
|
-
|
|
1293
|
-
// verify required parameter 'type' is not null or undefined
|
|
1294
|
-
(0, common_1.assertParamExists)('parkingTicketsIndex', 'type', type);
|
|
1291
|
+
parkingTicketsAllDetails: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1295
1292
|
// verify required parameter 'id' is not null or undefined
|
|
1296
|
-
(0, common_1.assertParamExists)('
|
|
1297
|
-
const localVarPath = `/parking_tickets
|
|
1293
|
+
(0, common_1.assertParamExists)('parkingTicketsAllDetails', 'id', id);
|
|
1294
|
+
const localVarPath = `/parking_tickets/all_details/{id}`
|
|
1295
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1298
1296
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1299
1297
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1300
1298
|
let baseOptions;
|
|
@@ -1304,12 +1302,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1304
1302
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1305
1303
|
const localVarHeaderParameter = {};
|
|
1306
1304
|
const localVarQueryParameter = {};
|
|
1307
|
-
if (type !== undefined) {
|
|
1308
|
-
localVarQueryParameter['type'] = type;
|
|
1309
|
-
}
|
|
1310
|
-
if (id !== undefined) {
|
|
1311
|
-
localVarQueryParameter['id'] = id;
|
|
1312
|
-
}
|
|
1313
1305
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1314
1306
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1315
1307
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1320,28 +1312,35 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1320
1312
|
}),
|
|
1321
1313
|
/**
|
|
1322
1314
|
*
|
|
1323
|
-
* @param {
|
|
1315
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
1316
|
+
* @param {string} id
|
|
1324
1317
|
* @param {*} [options] Override http request option.
|
|
1325
1318
|
* @throws {RequiredError}
|
|
1326
1319
|
*/
|
|
1327
|
-
|
|
1328
|
-
// verify required parameter '
|
|
1329
|
-
(0, common_1.assertParamExists)('
|
|
1330
|
-
|
|
1320
|
+
parkingTicketsIndex: (type, id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1321
|
+
// verify required parameter 'type' is not null or undefined
|
|
1322
|
+
(0, common_1.assertParamExists)('parkingTicketsIndex', 'type', type);
|
|
1323
|
+
// verify required parameter 'id' is not null or undefined
|
|
1324
|
+
(0, common_1.assertParamExists)('parkingTicketsIndex', 'id', id);
|
|
1325
|
+
const localVarPath = `/parking_tickets`;
|
|
1331
1326
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1332
1327
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1333
1328
|
let baseOptions;
|
|
1334
1329
|
if (configuration) {
|
|
1335
1330
|
baseOptions = configuration.baseOptions;
|
|
1336
1331
|
}
|
|
1337
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
1332
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1338
1333
|
const localVarHeaderParameter = {};
|
|
1339
1334
|
const localVarQueryParameter = {};
|
|
1340
|
-
|
|
1335
|
+
if (type !== undefined) {
|
|
1336
|
+
localVarQueryParameter['type'] = type;
|
|
1337
|
+
}
|
|
1338
|
+
if (id !== undefined) {
|
|
1339
|
+
localVarQueryParameter['id'] = id;
|
|
1340
|
+
}
|
|
1341
1341
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1342
1342
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1343
1343
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1344
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(parkingSpaceDetailBody, localVarRequestOptions, configuration);
|
|
1345
1344
|
return {
|
|
1346
1345
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1347
1346
|
options: localVarRequestOptions,
|
|
@@ -2342,26 +2341,26 @@ const DefaultApiFp = function (configuration) {
|
|
|
2342
2341
|
},
|
|
2343
2342
|
/**
|
|
2344
2343
|
*
|
|
2345
|
-
* @param {ParkingTicketsIndexTypeEnum} type
|
|
2346
2344
|
* @param {string} id
|
|
2347
2345
|
* @param {*} [options] Override http request option.
|
|
2348
2346
|
* @throws {RequiredError}
|
|
2349
2347
|
*/
|
|
2350
|
-
|
|
2348
|
+
parkingTicketsAllDetails(id, options) {
|
|
2351
2349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2352
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2350
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingTicketsAllDetails(id, options);
|
|
2353
2351
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2354
2352
|
});
|
|
2355
2353
|
},
|
|
2356
2354
|
/**
|
|
2357
2355
|
*
|
|
2358
|
-
* @param {
|
|
2356
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
2357
|
+
* @param {string} id
|
|
2359
2358
|
* @param {*} [options] Override http request option.
|
|
2360
2359
|
* @throws {RequiredError}
|
|
2361
2360
|
*/
|
|
2362
|
-
|
|
2361
|
+
parkingTicketsIndex(type, id, options) {
|
|
2363
2362
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2364
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2363
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingTicketsIndex(type, id, options);
|
|
2365
2364
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2366
2365
|
});
|
|
2367
2366
|
},
|
|
@@ -2943,22 +2942,22 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2943
2942
|
},
|
|
2944
2943
|
/**
|
|
2945
2944
|
*
|
|
2946
|
-
* @param {ParkingTicketsIndexTypeEnum} type
|
|
2947
2945
|
* @param {string} id
|
|
2948
2946
|
* @param {*} [options] Override http request option.
|
|
2949
2947
|
* @throws {RequiredError}
|
|
2950
2948
|
*/
|
|
2951
|
-
|
|
2952
|
-
return localVarFp.
|
|
2949
|
+
parkingTicketsAllDetails(id, options) {
|
|
2950
|
+
return localVarFp.parkingTicketsAllDetails(id, options).then((request) => request(axios, basePath));
|
|
2953
2951
|
},
|
|
2954
2952
|
/**
|
|
2955
2953
|
*
|
|
2956
|
-
* @param {
|
|
2954
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
2955
|
+
* @param {string} id
|
|
2957
2956
|
* @param {*} [options] Override http request option.
|
|
2958
2957
|
* @throws {RequiredError}
|
|
2959
2958
|
*/
|
|
2960
|
-
|
|
2961
|
-
return localVarFp.
|
|
2959
|
+
parkingTicketsIndex(type, id, options) {
|
|
2960
|
+
return localVarFp.parkingTicketsIndex(type, id, options).then((request) => request(axios, basePath));
|
|
2962
2961
|
},
|
|
2963
2962
|
/**
|
|
2964
2963
|
*
|
|
@@ -3517,24 +3516,24 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3517
3516
|
}
|
|
3518
3517
|
/**
|
|
3519
3518
|
*
|
|
3520
|
-
* @param {ParkingTicketsIndexTypeEnum} type
|
|
3521
3519
|
* @param {string} id
|
|
3522
3520
|
* @param {*} [options] Override http request option.
|
|
3523
3521
|
* @throws {RequiredError}
|
|
3524
3522
|
* @memberof DefaultApi
|
|
3525
3523
|
*/
|
|
3526
|
-
|
|
3527
|
-
return (0, exports.DefaultApiFp)(this.configuration).
|
|
3524
|
+
parkingTicketsAllDetails(id, options) {
|
|
3525
|
+
return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsAllDetails(id, options).then((request) => request(this.axios, this.basePath));
|
|
3528
3526
|
}
|
|
3529
3527
|
/**
|
|
3530
3528
|
*
|
|
3531
|
-
* @param {
|
|
3529
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
3530
|
+
* @param {string} id
|
|
3532
3531
|
* @param {*} [options] Override http request option.
|
|
3533
3532
|
* @throws {RequiredError}
|
|
3534
3533
|
* @memberof DefaultApi
|
|
3535
3534
|
*/
|
|
3536
|
-
|
|
3537
|
-
return (0, exports.DefaultApiFp)(this.configuration).
|
|
3535
|
+
parkingTicketsIndex(type, id, options) {
|
|
3536
|
+
return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsIndex(type, id, options).then((request) => request(this.axios, this.basePath));
|
|
3538
3537
|
}
|
|
3539
3538
|
/**
|
|
3540
3539
|
*
|