ob-parking-sdk 0.0.69 → 0.0.70
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 +273 -8
- package/dist/api/api.d.ts +144 -5
- package/dist/api/api.js +224 -7
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -2805,6 +2805,18 @@ export interface RegisteredVehicleIndexResponse {
|
|
|
2805
2805
|
* @memberof RegisteredVehicleIndexResponse
|
|
2806
2806
|
*/
|
|
2807
2807
|
'vehicle_brand'?: RegisteredVehicleIndexResponseVehicleModel;
|
|
2808
|
+
/**
|
|
2809
|
+
*
|
|
2810
|
+
* @type {string}
|
|
2811
|
+
* @memberof RegisteredVehicleIndexResponse
|
|
2812
|
+
*/
|
|
2813
|
+
'phone_number'?: string | null;
|
|
2814
|
+
/**
|
|
2815
|
+
*
|
|
2816
|
+
* @type {string}
|
|
2817
|
+
* @memberof RegisteredVehicleIndexResponse
|
|
2818
|
+
*/
|
|
2819
|
+
'email'?: string | null;
|
|
2808
2820
|
/**
|
|
2809
2821
|
*
|
|
2810
2822
|
* @type {EngineType}
|
|
@@ -2834,7 +2846,7 @@ export interface RegisteredVehicleIndexResponse {
|
|
|
2834
2846
|
* @type {VehicleType}
|
|
2835
2847
|
* @memberof RegisteredVehicleIndexResponse
|
|
2836
2848
|
*/
|
|
2837
|
-
'vehicle_type'
|
|
2849
|
+
'vehicle_type'?: VehicleType | null;
|
|
2838
2850
|
/**
|
|
2839
2851
|
*
|
|
2840
2852
|
* @type {string}
|
|
@@ -2926,6 +2938,19 @@ export interface RegisteredVehicleResponse {
|
|
|
2926
2938
|
}
|
|
2927
2939
|
|
|
2928
2940
|
|
|
2941
|
+
/**
|
|
2942
|
+
*
|
|
2943
|
+
* @export
|
|
2944
|
+
* @interface RemoveVipVehicleBody
|
|
2945
|
+
*/
|
|
2946
|
+
export interface RemoveVipVehicleBody {
|
|
2947
|
+
/**
|
|
2948
|
+
*
|
|
2949
|
+
* @type {string}
|
|
2950
|
+
* @memberof RemoveVipVehicleBody
|
|
2951
|
+
*/
|
|
2952
|
+
'deleted_by_email': string;
|
|
2953
|
+
}
|
|
2929
2954
|
/**
|
|
2930
2955
|
*
|
|
2931
2956
|
* @export
|
|
@@ -5220,11 +5245,106 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5220
5245
|
* @param {string} [plateNo]
|
|
5221
5246
|
* @param {string} [plateProvince]
|
|
5222
5247
|
* @param {boolean} [isVip]
|
|
5248
|
+
* @param {string} [filterBy2]
|
|
5249
|
+
* @param {boolean} [isExport]
|
|
5250
|
+
* @param {*} [options] Override http request option.
|
|
5251
|
+
* @throws {RequiredError}
|
|
5252
|
+
*/
|
|
5253
|
+
registeredVehiclesHistoryIndex: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5254
|
+
const localVarPath = `/registered-vehicles/history`;
|
|
5255
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5256
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5257
|
+
let baseOptions;
|
|
5258
|
+
if (configuration) {
|
|
5259
|
+
baseOptions = configuration.baseOptions;
|
|
5260
|
+
}
|
|
5261
|
+
|
|
5262
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5263
|
+
const localVarHeaderParameter = {} as any;
|
|
5264
|
+
const localVarQueryParameter = {} as any;
|
|
5265
|
+
|
|
5266
|
+
if (orderBy !== undefined) {
|
|
5267
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
5268
|
+
}
|
|
5269
|
+
|
|
5270
|
+
if (orderDirection !== undefined) {
|
|
5271
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
5272
|
+
}
|
|
5273
|
+
|
|
5274
|
+
if (pageNumber !== undefined) {
|
|
5275
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
5276
|
+
}
|
|
5277
|
+
|
|
5278
|
+
if (pageSize !== undefined) {
|
|
5279
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
5280
|
+
}
|
|
5281
|
+
|
|
5282
|
+
if (filterBy !== undefined) {
|
|
5283
|
+
localVarQueryParameter['filter_by'] = filterBy;
|
|
5284
|
+
}
|
|
5285
|
+
|
|
5286
|
+
if (filterKey !== undefined) {
|
|
5287
|
+
localVarQueryParameter['filter_key'] = filterKey;
|
|
5288
|
+
}
|
|
5289
|
+
|
|
5290
|
+
if (startDate !== undefined) {
|
|
5291
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
5292
|
+
}
|
|
5293
|
+
|
|
5294
|
+
if (endDate !== undefined) {
|
|
5295
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
5296
|
+
}
|
|
5297
|
+
|
|
5298
|
+
if (plateNo !== undefined) {
|
|
5299
|
+
localVarQueryParameter['plate_no'] = plateNo;
|
|
5300
|
+
}
|
|
5301
|
+
|
|
5302
|
+
if (plateProvince !== undefined) {
|
|
5303
|
+
localVarQueryParameter['plate_province'] = plateProvince;
|
|
5304
|
+
}
|
|
5305
|
+
|
|
5306
|
+
if (isVip !== undefined) {
|
|
5307
|
+
localVarQueryParameter['is_vip'] = isVip;
|
|
5308
|
+
}
|
|
5309
|
+
|
|
5310
|
+
if (filterBy2 !== undefined) {
|
|
5311
|
+
localVarQueryParameter['filter_by'] = filterBy2;
|
|
5312
|
+
}
|
|
5313
|
+
|
|
5314
|
+
if (isExport !== undefined) {
|
|
5315
|
+
localVarQueryParameter['is_export'] = isExport;
|
|
5316
|
+
}
|
|
5317
|
+
|
|
5318
|
+
|
|
5319
|
+
|
|
5320
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5321
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5322
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5323
|
+
|
|
5324
|
+
return {
|
|
5325
|
+
url: toPathString(localVarUrlObj),
|
|
5326
|
+
options: localVarRequestOptions,
|
|
5327
|
+
};
|
|
5328
|
+
},
|
|
5329
|
+
/**
|
|
5330
|
+
*
|
|
5331
|
+
* @param {string} [orderBy]
|
|
5332
|
+
* @param {string} [orderDirection]
|
|
5333
|
+
* @param {number} [pageNumber]
|
|
5334
|
+
* @param {number} [pageSize]
|
|
5335
|
+
* @param {string} [filterBy]
|
|
5336
|
+
* @param {string} [filterKey]
|
|
5337
|
+
* @param {string} [startDate]
|
|
5338
|
+
* @param {string} [endDate]
|
|
5339
|
+
* @param {string} [plateNo]
|
|
5340
|
+
* @param {string} [plateProvince]
|
|
5341
|
+
* @param {boolean} [isVip]
|
|
5342
|
+
* @param {string} [filterBy2]
|
|
5223
5343
|
* @param {boolean} [isExport]
|
|
5224
5344
|
* @param {*} [options] Override http request option.
|
|
5225
5345
|
* @throws {RequiredError}
|
|
5226
5346
|
*/
|
|
5227
|
-
registeredVehiclesIndex: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, isExport?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5347
|
+
registeredVehiclesIndex: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5228
5348
|
const localVarPath = `/registered-vehicles`;
|
|
5229
5349
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5230
5350
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5281,6 +5401,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5281
5401
|
localVarQueryParameter['is_vip'] = isVip;
|
|
5282
5402
|
}
|
|
5283
5403
|
|
|
5404
|
+
if (filterBy2 !== undefined) {
|
|
5405
|
+
localVarQueryParameter['filter_by'] = filterBy2;
|
|
5406
|
+
}
|
|
5407
|
+
|
|
5284
5408
|
if (isExport !== undefined) {
|
|
5285
5409
|
localVarQueryParameter['is_export'] = isExport;
|
|
5286
5410
|
}
|
|
@@ -5413,6 +5537,45 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5413
5537
|
options: localVarRequestOptions,
|
|
5414
5538
|
};
|
|
5415
5539
|
},
|
|
5540
|
+
/**
|
|
5541
|
+
*
|
|
5542
|
+
* @param {string} id
|
|
5543
|
+
* @param {RemoveVipVehicleBody} removeVipVehicleBody
|
|
5544
|
+
* @param {*} [options] Override http request option.
|
|
5545
|
+
* @throws {RequiredError}
|
|
5546
|
+
*/
|
|
5547
|
+
registeredVehiclesRemoveVip: async (id: string, removeVipVehicleBody: RemoveVipVehicleBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5548
|
+
// verify required parameter 'id' is not null or undefined
|
|
5549
|
+
assertParamExists('registeredVehiclesRemoveVip', 'id', id)
|
|
5550
|
+
// verify required parameter 'removeVipVehicleBody' is not null or undefined
|
|
5551
|
+
assertParamExists('registeredVehiclesRemoveVip', 'removeVipVehicleBody', removeVipVehicleBody)
|
|
5552
|
+
const localVarPath = `/registered-vehicles/remove-vip/{id}`
|
|
5553
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5554
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5555
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5556
|
+
let baseOptions;
|
|
5557
|
+
if (configuration) {
|
|
5558
|
+
baseOptions = configuration.baseOptions;
|
|
5559
|
+
}
|
|
5560
|
+
|
|
5561
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
5562
|
+
const localVarHeaderParameter = {} as any;
|
|
5563
|
+
const localVarQueryParameter = {} as any;
|
|
5564
|
+
|
|
5565
|
+
|
|
5566
|
+
|
|
5567
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5568
|
+
|
|
5569
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5570
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5571
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5572
|
+
localVarRequestOptions.data = serializeDataIfNeeded(removeVipVehicleBody, localVarRequestOptions, configuration)
|
|
5573
|
+
|
|
5574
|
+
return {
|
|
5575
|
+
url: toPathString(localVarUrlObj),
|
|
5576
|
+
options: localVarRequestOptions,
|
|
5577
|
+
};
|
|
5578
|
+
},
|
|
5416
5579
|
/**
|
|
5417
5580
|
*
|
|
5418
5581
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
@@ -6045,12 +6208,35 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
6045
6208
|
* @param {string} [plateNo]
|
|
6046
6209
|
* @param {string} [plateProvince]
|
|
6047
6210
|
* @param {boolean} [isVip]
|
|
6211
|
+
* @param {string} [filterBy2]
|
|
6212
|
+
* @param {boolean} [isExport]
|
|
6213
|
+
* @param {*} [options] Override http request option.
|
|
6214
|
+
* @throws {RequiredError}
|
|
6215
|
+
*/
|
|
6216
|
+
async registeredVehiclesHistoryIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataRegisteredVehicleIndexResponseArray>> {
|
|
6217
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options);
|
|
6218
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6219
|
+
},
|
|
6220
|
+
/**
|
|
6221
|
+
*
|
|
6222
|
+
* @param {string} [orderBy]
|
|
6223
|
+
* @param {string} [orderDirection]
|
|
6224
|
+
* @param {number} [pageNumber]
|
|
6225
|
+
* @param {number} [pageSize]
|
|
6226
|
+
* @param {string} [filterBy]
|
|
6227
|
+
* @param {string} [filterKey]
|
|
6228
|
+
* @param {string} [startDate]
|
|
6229
|
+
* @param {string} [endDate]
|
|
6230
|
+
* @param {string} [plateNo]
|
|
6231
|
+
* @param {string} [plateProvince]
|
|
6232
|
+
* @param {boolean} [isVip]
|
|
6233
|
+
* @param {string} [filterBy2]
|
|
6048
6234
|
* @param {boolean} [isExport]
|
|
6049
6235
|
* @param {*} [options] Override http request option.
|
|
6050
6236
|
* @throws {RequiredError}
|
|
6051
6237
|
*/
|
|
6052
|
-
async registeredVehiclesIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, isExport?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataRegisteredVehicleIndexResponseArray>> {
|
|
6053
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, isExport, options);
|
|
6238
|
+
async registeredVehiclesIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataRegisteredVehicleIndexResponseArray>> {
|
|
6239
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options);
|
|
6054
6240
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6055
6241
|
},
|
|
6056
6242
|
/**
|
|
@@ -6085,6 +6271,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
6085
6271
|
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options);
|
|
6086
6272
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6087
6273
|
},
|
|
6274
|
+
/**
|
|
6275
|
+
*
|
|
6276
|
+
* @param {string} id
|
|
6277
|
+
* @param {RemoveVipVehicleBody} removeVipVehicleBody
|
|
6278
|
+
* @param {*} [options] Override http request option.
|
|
6279
|
+
* @throws {RequiredError}
|
|
6280
|
+
*/
|
|
6281
|
+
async registeredVehiclesRemoveVip(id: string, removeVipVehicleBody: RemoveVipVehicleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
|
|
6282
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesRemoveVip(id, removeVipVehicleBody, options);
|
|
6283
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6284
|
+
},
|
|
6088
6285
|
/**
|
|
6089
6286
|
*
|
|
6090
6287
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
@@ -6565,12 +6762,34 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
6565
6762
|
* @param {string} [plateNo]
|
|
6566
6763
|
* @param {string} [plateProvince]
|
|
6567
6764
|
* @param {boolean} [isVip]
|
|
6765
|
+
* @param {string} [filterBy2]
|
|
6766
|
+
* @param {boolean} [isExport]
|
|
6767
|
+
* @param {*} [options] Override http request option.
|
|
6768
|
+
* @throws {RequiredError}
|
|
6769
|
+
*/
|
|
6770
|
+
registeredVehiclesHistoryIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options?: any): AxiosPromise<ResponseDataRegisteredVehicleIndexResponseArray> {
|
|
6771
|
+
return localVarFp.registeredVehiclesHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options).then((request) => request(axios, basePath));
|
|
6772
|
+
},
|
|
6773
|
+
/**
|
|
6774
|
+
*
|
|
6775
|
+
* @param {string} [orderBy]
|
|
6776
|
+
* @param {string} [orderDirection]
|
|
6777
|
+
* @param {number} [pageNumber]
|
|
6778
|
+
* @param {number} [pageSize]
|
|
6779
|
+
* @param {string} [filterBy]
|
|
6780
|
+
* @param {string} [filterKey]
|
|
6781
|
+
* @param {string} [startDate]
|
|
6782
|
+
* @param {string} [endDate]
|
|
6783
|
+
* @param {string} [plateNo]
|
|
6784
|
+
* @param {string} [plateProvince]
|
|
6785
|
+
* @param {boolean} [isVip]
|
|
6786
|
+
* @param {string} [filterBy2]
|
|
6568
6787
|
* @param {boolean} [isExport]
|
|
6569
6788
|
* @param {*} [options] Override http request option.
|
|
6570
6789
|
* @throws {RequiredError}
|
|
6571
6790
|
*/
|
|
6572
|
-
registeredVehiclesIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, isExport?: boolean, options?: any): AxiosPromise<ResponseDataRegisteredVehicleIndexResponseArray> {
|
|
6573
|
-
return localVarFp.registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, isExport, options).then((request) => request(axios, basePath));
|
|
6791
|
+
registeredVehiclesIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options?: any): AxiosPromise<ResponseDataRegisteredVehicleIndexResponseArray> {
|
|
6792
|
+
return localVarFp.registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options).then((request) => request(axios, basePath));
|
|
6574
6793
|
},
|
|
6575
6794
|
/**
|
|
6576
6795
|
*
|
|
@@ -6601,6 +6820,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
6601
6820
|
registeredVehiclesRegister(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
|
|
6602
6821
|
return localVarFp.registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options).then((request) => request(axios, basePath));
|
|
6603
6822
|
},
|
|
6823
|
+
/**
|
|
6824
|
+
*
|
|
6825
|
+
* @param {string} id
|
|
6826
|
+
* @param {RemoveVipVehicleBody} removeVipVehicleBody
|
|
6827
|
+
* @param {*} [options] Override http request option.
|
|
6828
|
+
* @throws {RequiredError}
|
|
6829
|
+
*/
|
|
6830
|
+
registeredVehiclesRemoveVip(id: string, removeVipVehicleBody: RemoveVipVehicleBody, options?: any): AxiosPromise<RegisteredVehicleResponse> {
|
|
6831
|
+
return localVarFp.registeredVehiclesRemoveVip(id, removeVipVehicleBody, options).then((request) => request(axios, basePath));
|
|
6832
|
+
},
|
|
6604
6833
|
/**
|
|
6605
6834
|
*
|
|
6606
6835
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
@@ -7152,13 +7381,37 @@ export class DefaultApi extends BaseAPI {
|
|
|
7152
7381
|
* @param {string} [plateNo]
|
|
7153
7382
|
* @param {string} [plateProvince]
|
|
7154
7383
|
* @param {boolean} [isVip]
|
|
7384
|
+
* @param {string} [filterBy2]
|
|
7385
|
+
* @param {boolean} [isExport]
|
|
7386
|
+
* @param {*} [options] Override http request option.
|
|
7387
|
+
* @throws {RequiredError}
|
|
7388
|
+
* @memberof DefaultApi
|
|
7389
|
+
*/
|
|
7390
|
+
public registeredVehiclesHistoryIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options?: AxiosRequestConfig) {
|
|
7391
|
+
return DefaultApiFp(this.configuration).registeredVehiclesHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options).then((request) => request(this.axios, this.basePath));
|
|
7392
|
+
}
|
|
7393
|
+
|
|
7394
|
+
/**
|
|
7395
|
+
*
|
|
7396
|
+
* @param {string} [orderBy]
|
|
7397
|
+
* @param {string} [orderDirection]
|
|
7398
|
+
* @param {number} [pageNumber]
|
|
7399
|
+
* @param {number} [pageSize]
|
|
7400
|
+
* @param {string} [filterBy]
|
|
7401
|
+
* @param {string} [filterKey]
|
|
7402
|
+
* @param {string} [startDate]
|
|
7403
|
+
* @param {string} [endDate]
|
|
7404
|
+
* @param {string} [plateNo]
|
|
7405
|
+
* @param {string} [plateProvince]
|
|
7406
|
+
* @param {boolean} [isVip]
|
|
7407
|
+
* @param {string} [filterBy2]
|
|
7155
7408
|
* @param {boolean} [isExport]
|
|
7156
7409
|
* @param {*} [options] Override http request option.
|
|
7157
7410
|
* @throws {RequiredError}
|
|
7158
7411
|
* @memberof DefaultApi
|
|
7159
7412
|
*/
|
|
7160
|
-
public registeredVehiclesIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, isExport?: boolean, options?: AxiosRequestConfig) {
|
|
7161
|
-
return DefaultApiFp(this.configuration).registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, isExport, options).then((request) => request(this.axios, this.basePath));
|
|
7413
|
+
public registeredVehiclesIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options?: AxiosRequestConfig) {
|
|
7414
|
+
return DefaultApiFp(this.configuration).registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options).then((request) => request(this.axios, this.basePath));
|
|
7162
7415
|
}
|
|
7163
7416
|
|
|
7164
7417
|
/**
|
|
@@ -7196,6 +7449,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
7196
7449
|
return DefaultApiFp(this.configuration).registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
7197
7450
|
}
|
|
7198
7451
|
|
|
7452
|
+
/**
|
|
7453
|
+
*
|
|
7454
|
+
* @param {string} id
|
|
7455
|
+
* @param {RemoveVipVehicleBody} removeVipVehicleBody
|
|
7456
|
+
* @param {*} [options] Override http request option.
|
|
7457
|
+
* @throws {RequiredError}
|
|
7458
|
+
* @memberof DefaultApi
|
|
7459
|
+
*/
|
|
7460
|
+
public registeredVehiclesRemoveVip(id: string, removeVipVehicleBody: RemoveVipVehicleBody, options?: AxiosRequestConfig) {
|
|
7461
|
+
return DefaultApiFp(this.configuration).registeredVehiclesRemoveVip(id, removeVipVehicleBody, options).then((request) => request(this.axios, this.basePath));
|
|
7462
|
+
}
|
|
7463
|
+
|
|
7199
7464
|
/**
|
|
7200
7465
|
*
|
|
7201
7466
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
package/dist/api/api.d.ts
CHANGED
|
@@ -2747,6 +2747,18 @@ export interface RegisteredVehicleIndexResponse {
|
|
|
2747
2747
|
* @memberof RegisteredVehicleIndexResponse
|
|
2748
2748
|
*/
|
|
2749
2749
|
'vehicle_brand'?: RegisteredVehicleIndexResponseVehicleModel;
|
|
2750
|
+
/**
|
|
2751
|
+
*
|
|
2752
|
+
* @type {string}
|
|
2753
|
+
* @memberof RegisteredVehicleIndexResponse
|
|
2754
|
+
*/
|
|
2755
|
+
'phone_number'?: string | null;
|
|
2756
|
+
/**
|
|
2757
|
+
*
|
|
2758
|
+
* @type {string}
|
|
2759
|
+
* @memberof RegisteredVehicleIndexResponse
|
|
2760
|
+
*/
|
|
2761
|
+
'email'?: string | null;
|
|
2750
2762
|
/**
|
|
2751
2763
|
*
|
|
2752
2764
|
* @type {EngineType}
|
|
@@ -2776,7 +2788,7 @@ export interface RegisteredVehicleIndexResponse {
|
|
|
2776
2788
|
* @type {VehicleType}
|
|
2777
2789
|
* @memberof RegisteredVehicleIndexResponse
|
|
2778
2790
|
*/
|
|
2779
|
-
'vehicle_type'
|
|
2791
|
+
'vehicle_type'?: VehicleType | null;
|
|
2780
2792
|
/**
|
|
2781
2793
|
*
|
|
2782
2794
|
* @type {string}
|
|
@@ -2864,6 +2876,19 @@ export interface RegisteredVehicleResponse {
|
|
|
2864
2876
|
*/
|
|
2865
2877
|
'id': string;
|
|
2866
2878
|
}
|
|
2879
|
+
/**
|
|
2880
|
+
*
|
|
2881
|
+
* @export
|
|
2882
|
+
* @interface RemoveVipVehicleBody
|
|
2883
|
+
*/
|
|
2884
|
+
export interface RemoveVipVehicleBody {
|
|
2885
|
+
/**
|
|
2886
|
+
*
|
|
2887
|
+
* @type {string}
|
|
2888
|
+
* @memberof RemoveVipVehicleBody
|
|
2889
|
+
*/
|
|
2890
|
+
'deleted_by_email': string;
|
|
2891
|
+
}
|
|
2867
2892
|
/**
|
|
2868
2893
|
*
|
|
2869
2894
|
* @export
|
|
@@ -3847,11 +3872,31 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3847
3872
|
* @param {string} [plateNo]
|
|
3848
3873
|
* @param {string} [plateProvince]
|
|
3849
3874
|
* @param {boolean} [isVip]
|
|
3875
|
+
* @param {string} [filterBy2]
|
|
3850
3876
|
* @param {boolean} [isExport]
|
|
3851
3877
|
* @param {*} [options] Override http request option.
|
|
3852
3878
|
* @throws {RequiredError}
|
|
3853
3879
|
*/
|
|
3854
|
-
|
|
3880
|
+
registeredVehiclesHistoryIndex: (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3881
|
+
/**
|
|
3882
|
+
*
|
|
3883
|
+
* @param {string} [orderBy]
|
|
3884
|
+
* @param {string} [orderDirection]
|
|
3885
|
+
* @param {number} [pageNumber]
|
|
3886
|
+
* @param {number} [pageSize]
|
|
3887
|
+
* @param {string} [filterBy]
|
|
3888
|
+
* @param {string} [filterKey]
|
|
3889
|
+
* @param {string} [startDate]
|
|
3890
|
+
* @param {string} [endDate]
|
|
3891
|
+
* @param {string} [plateNo]
|
|
3892
|
+
* @param {string} [plateProvince]
|
|
3893
|
+
* @param {boolean} [isVip]
|
|
3894
|
+
* @param {string} [filterBy2]
|
|
3895
|
+
* @param {boolean} [isExport]
|
|
3896
|
+
* @param {*} [options] Override http request option.
|
|
3897
|
+
* @throws {RequiredError}
|
|
3898
|
+
*/
|
|
3899
|
+
registeredVehiclesIndex: (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3855
3900
|
/**
|
|
3856
3901
|
*
|
|
3857
3902
|
* @param {string} plateNo
|
|
@@ -3875,6 +3920,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3875
3920
|
* @throws {RequiredError}
|
|
3876
3921
|
*/
|
|
3877
3922
|
registeredVehiclesRegister: (createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3923
|
+
/**
|
|
3924
|
+
*
|
|
3925
|
+
* @param {string} id
|
|
3926
|
+
* @param {RemoveVipVehicleBody} removeVipVehicleBody
|
|
3927
|
+
* @param {*} [options] Override http request option.
|
|
3928
|
+
* @throws {RequiredError}
|
|
3929
|
+
*/
|
|
3930
|
+
registeredVehiclesRemoveVip: (id: string, removeVipVehicleBody: RemoveVipVehicleBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3878
3931
|
/**
|
|
3879
3932
|
*
|
|
3880
3933
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
@@ -4260,11 +4313,31 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4260
4313
|
* @param {string} [plateNo]
|
|
4261
4314
|
* @param {string} [plateProvince]
|
|
4262
4315
|
* @param {boolean} [isVip]
|
|
4316
|
+
* @param {string} [filterBy2]
|
|
4317
|
+
* @param {boolean} [isExport]
|
|
4318
|
+
* @param {*} [options] Override http request option.
|
|
4319
|
+
* @throws {RequiredError}
|
|
4320
|
+
*/
|
|
4321
|
+
registeredVehiclesHistoryIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataRegisteredVehicleIndexResponseArray>>;
|
|
4322
|
+
/**
|
|
4323
|
+
*
|
|
4324
|
+
* @param {string} [orderBy]
|
|
4325
|
+
* @param {string} [orderDirection]
|
|
4326
|
+
* @param {number} [pageNumber]
|
|
4327
|
+
* @param {number} [pageSize]
|
|
4328
|
+
* @param {string} [filterBy]
|
|
4329
|
+
* @param {string} [filterKey]
|
|
4330
|
+
* @param {string} [startDate]
|
|
4331
|
+
* @param {string} [endDate]
|
|
4332
|
+
* @param {string} [plateNo]
|
|
4333
|
+
* @param {string} [plateProvince]
|
|
4334
|
+
* @param {boolean} [isVip]
|
|
4335
|
+
* @param {string} [filterBy2]
|
|
4263
4336
|
* @param {boolean} [isExport]
|
|
4264
4337
|
* @param {*} [options] Override http request option.
|
|
4265
4338
|
* @throws {RequiredError}
|
|
4266
4339
|
*/
|
|
4267
|
-
registeredVehiclesIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, isExport?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataRegisteredVehicleIndexResponseArray>>;
|
|
4340
|
+
registeredVehiclesIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataRegisteredVehicleIndexResponseArray>>;
|
|
4268
4341
|
/**
|
|
4269
4342
|
*
|
|
4270
4343
|
* @param {string} plateNo
|
|
@@ -4288,6 +4361,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4288
4361
|
* @throws {RequiredError}
|
|
4289
4362
|
*/
|
|
4290
4363
|
registeredVehiclesRegister(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>>;
|
|
4364
|
+
/**
|
|
4365
|
+
*
|
|
4366
|
+
* @param {string} id
|
|
4367
|
+
* @param {RemoveVipVehicleBody} removeVipVehicleBody
|
|
4368
|
+
* @param {*} [options] Override http request option.
|
|
4369
|
+
* @throws {RequiredError}
|
|
4370
|
+
*/
|
|
4371
|
+
registeredVehiclesRemoveVip(id: string, removeVipVehicleBody: RemoveVipVehicleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>>;
|
|
4291
4372
|
/**
|
|
4292
4373
|
*
|
|
4293
4374
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
@@ -4673,11 +4754,31 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4673
4754
|
* @param {string} [plateNo]
|
|
4674
4755
|
* @param {string} [plateProvince]
|
|
4675
4756
|
* @param {boolean} [isVip]
|
|
4757
|
+
* @param {string} [filterBy2]
|
|
4676
4758
|
* @param {boolean} [isExport]
|
|
4677
4759
|
* @param {*} [options] Override http request option.
|
|
4678
4760
|
* @throws {RequiredError}
|
|
4679
4761
|
*/
|
|
4680
|
-
|
|
4762
|
+
registeredVehiclesHistoryIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options?: any): AxiosPromise<ResponseDataRegisteredVehicleIndexResponseArray>;
|
|
4763
|
+
/**
|
|
4764
|
+
*
|
|
4765
|
+
* @param {string} [orderBy]
|
|
4766
|
+
* @param {string} [orderDirection]
|
|
4767
|
+
* @param {number} [pageNumber]
|
|
4768
|
+
* @param {number} [pageSize]
|
|
4769
|
+
* @param {string} [filterBy]
|
|
4770
|
+
* @param {string} [filterKey]
|
|
4771
|
+
* @param {string} [startDate]
|
|
4772
|
+
* @param {string} [endDate]
|
|
4773
|
+
* @param {string} [plateNo]
|
|
4774
|
+
* @param {string} [plateProvince]
|
|
4775
|
+
* @param {boolean} [isVip]
|
|
4776
|
+
* @param {string} [filterBy2]
|
|
4777
|
+
* @param {boolean} [isExport]
|
|
4778
|
+
* @param {*} [options] Override http request option.
|
|
4779
|
+
* @throws {RequiredError}
|
|
4780
|
+
*/
|
|
4781
|
+
registeredVehiclesIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options?: any): AxiosPromise<ResponseDataRegisteredVehicleIndexResponseArray>;
|
|
4681
4782
|
/**
|
|
4682
4783
|
*
|
|
4683
4784
|
* @param {string} plateNo
|
|
@@ -4701,6 +4802,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4701
4802
|
* @throws {RequiredError}
|
|
4702
4803
|
*/
|
|
4703
4804
|
registeredVehiclesRegister(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse>;
|
|
4805
|
+
/**
|
|
4806
|
+
*
|
|
4807
|
+
* @param {string} id
|
|
4808
|
+
* @param {RemoveVipVehicleBody} removeVipVehicleBody
|
|
4809
|
+
* @param {*} [options] Override http request option.
|
|
4810
|
+
* @throws {RequiredError}
|
|
4811
|
+
*/
|
|
4812
|
+
registeredVehiclesRemoveVip(id: string, removeVipVehicleBody: RemoveVipVehicleBody, options?: any): AxiosPromise<RegisteredVehicleResponse>;
|
|
4704
4813
|
/**
|
|
4705
4814
|
*
|
|
4706
4815
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
@@ -5126,12 +5235,33 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
5126
5235
|
* @param {string} [plateNo]
|
|
5127
5236
|
* @param {string} [plateProvince]
|
|
5128
5237
|
* @param {boolean} [isVip]
|
|
5238
|
+
* @param {string} [filterBy2]
|
|
5239
|
+
* @param {boolean} [isExport]
|
|
5240
|
+
* @param {*} [options] Override http request option.
|
|
5241
|
+
* @throws {RequiredError}
|
|
5242
|
+
* @memberof DefaultApi
|
|
5243
|
+
*/
|
|
5244
|
+
registeredVehiclesHistoryIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseDataRegisteredVehicleIndexResponseArray, any>>;
|
|
5245
|
+
/**
|
|
5246
|
+
*
|
|
5247
|
+
* @param {string} [orderBy]
|
|
5248
|
+
* @param {string} [orderDirection]
|
|
5249
|
+
* @param {number} [pageNumber]
|
|
5250
|
+
* @param {number} [pageSize]
|
|
5251
|
+
* @param {string} [filterBy]
|
|
5252
|
+
* @param {string} [filterKey]
|
|
5253
|
+
* @param {string} [startDate]
|
|
5254
|
+
* @param {string} [endDate]
|
|
5255
|
+
* @param {string} [plateNo]
|
|
5256
|
+
* @param {string} [plateProvince]
|
|
5257
|
+
* @param {boolean} [isVip]
|
|
5258
|
+
* @param {string} [filterBy2]
|
|
5129
5259
|
* @param {boolean} [isExport]
|
|
5130
5260
|
* @param {*} [options] Override http request option.
|
|
5131
5261
|
* @throws {RequiredError}
|
|
5132
5262
|
* @memberof DefaultApi
|
|
5133
5263
|
*/
|
|
5134
|
-
registeredVehiclesIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, isExport?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseDataRegisteredVehicleIndexResponseArray, any>>;
|
|
5264
|
+
registeredVehiclesIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, plateNo?: string, plateProvince?: string, isVip?: boolean, filterBy2?: string, isExport?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseDataRegisteredVehicleIndexResponseArray, any>>;
|
|
5135
5265
|
/**
|
|
5136
5266
|
*
|
|
5137
5267
|
* @param {string} plateNo
|
|
@@ -5158,6 +5288,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
5158
5288
|
* @memberof DefaultApi
|
|
5159
5289
|
*/
|
|
5160
5290
|
registeredVehiclesRegister(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredVehicleResponse, any>>;
|
|
5291
|
+
/**
|
|
5292
|
+
*
|
|
5293
|
+
* @param {string} id
|
|
5294
|
+
* @param {RemoveVipVehicleBody} removeVipVehicleBody
|
|
5295
|
+
* @param {*} [options] Override http request option.
|
|
5296
|
+
* @throws {RequiredError}
|
|
5297
|
+
* @memberof DefaultApi
|
|
5298
|
+
*/
|
|
5299
|
+
registeredVehiclesRemoveVip(id: string, removeVipVehicleBody: RemoveVipVehicleBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredVehicleResponse, any>>;
|
|
5161
5300
|
/**
|
|
5162
5301
|
*
|
|
5163
5302
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
package/dist/api/api.js
CHANGED
|
@@ -1483,11 +1483,88 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1483
1483
|
* @param {string} [plateNo]
|
|
1484
1484
|
* @param {string} [plateProvince]
|
|
1485
1485
|
* @param {boolean} [isVip]
|
|
1486
|
+
* @param {string} [filterBy2]
|
|
1486
1487
|
* @param {boolean} [isExport]
|
|
1487
1488
|
* @param {*} [options] Override http request option.
|
|
1488
1489
|
* @throws {RequiredError}
|
|
1489
1490
|
*/
|
|
1490
|
-
|
|
1491
|
+
registeredVehiclesHistoryIndex: (orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1492
|
+
const localVarPath = `/registered-vehicles/history`;
|
|
1493
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1494
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1495
|
+
let baseOptions;
|
|
1496
|
+
if (configuration) {
|
|
1497
|
+
baseOptions = configuration.baseOptions;
|
|
1498
|
+
}
|
|
1499
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1500
|
+
const localVarHeaderParameter = {};
|
|
1501
|
+
const localVarQueryParameter = {};
|
|
1502
|
+
if (orderBy !== undefined) {
|
|
1503
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
1504
|
+
}
|
|
1505
|
+
if (orderDirection !== undefined) {
|
|
1506
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
1507
|
+
}
|
|
1508
|
+
if (pageNumber !== undefined) {
|
|
1509
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
1510
|
+
}
|
|
1511
|
+
if (pageSize !== undefined) {
|
|
1512
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
1513
|
+
}
|
|
1514
|
+
if (filterBy !== undefined) {
|
|
1515
|
+
localVarQueryParameter['filter_by'] = filterBy;
|
|
1516
|
+
}
|
|
1517
|
+
if (filterKey !== undefined) {
|
|
1518
|
+
localVarQueryParameter['filter_key'] = filterKey;
|
|
1519
|
+
}
|
|
1520
|
+
if (startDate !== undefined) {
|
|
1521
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
1522
|
+
}
|
|
1523
|
+
if (endDate !== undefined) {
|
|
1524
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
1525
|
+
}
|
|
1526
|
+
if (plateNo !== undefined) {
|
|
1527
|
+
localVarQueryParameter['plate_no'] = plateNo;
|
|
1528
|
+
}
|
|
1529
|
+
if (plateProvince !== undefined) {
|
|
1530
|
+
localVarQueryParameter['plate_province'] = plateProvince;
|
|
1531
|
+
}
|
|
1532
|
+
if (isVip !== undefined) {
|
|
1533
|
+
localVarQueryParameter['is_vip'] = isVip;
|
|
1534
|
+
}
|
|
1535
|
+
if (filterBy2 !== undefined) {
|
|
1536
|
+
localVarQueryParameter['filter_by'] = filterBy2;
|
|
1537
|
+
}
|
|
1538
|
+
if (isExport !== undefined) {
|
|
1539
|
+
localVarQueryParameter['is_export'] = isExport;
|
|
1540
|
+
}
|
|
1541
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1542
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1543
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1544
|
+
return {
|
|
1545
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1546
|
+
options: localVarRequestOptions,
|
|
1547
|
+
};
|
|
1548
|
+
}),
|
|
1549
|
+
/**
|
|
1550
|
+
*
|
|
1551
|
+
* @param {string} [orderBy]
|
|
1552
|
+
* @param {string} [orderDirection]
|
|
1553
|
+
* @param {number} [pageNumber]
|
|
1554
|
+
* @param {number} [pageSize]
|
|
1555
|
+
* @param {string} [filterBy]
|
|
1556
|
+
* @param {string} [filterKey]
|
|
1557
|
+
* @param {string} [startDate]
|
|
1558
|
+
* @param {string} [endDate]
|
|
1559
|
+
* @param {string} [plateNo]
|
|
1560
|
+
* @param {string} [plateProvince]
|
|
1561
|
+
* @param {boolean} [isVip]
|
|
1562
|
+
* @param {string} [filterBy2]
|
|
1563
|
+
* @param {boolean} [isExport]
|
|
1564
|
+
* @param {*} [options] Override http request option.
|
|
1565
|
+
* @throws {RequiredError}
|
|
1566
|
+
*/
|
|
1567
|
+
registeredVehiclesIndex: (orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1491
1568
|
const localVarPath = `/registered-vehicles`;
|
|
1492
1569
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1493
1570
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1531,6 +1608,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1531
1608
|
if (isVip !== undefined) {
|
|
1532
1609
|
localVarQueryParameter['is_vip'] = isVip;
|
|
1533
1610
|
}
|
|
1611
|
+
if (filterBy2 !== undefined) {
|
|
1612
|
+
localVarQueryParameter['filter_by'] = filterBy2;
|
|
1613
|
+
}
|
|
1534
1614
|
if (isExport !== undefined) {
|
|
1535
1615
|
localVarQueryParameter['is_export'] = isExport;
|
|
1536
1616
|
}
|
|
@@ -1639,6 +1719,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1639
1719
|
options: localVarRequestOptions,
|
|
1640
1720
|
};
|
|
1641
1721
|
}),
|
|
1722
|
+
/**
|
|
1723
|
+
*
|
|
1724
|
+
* @param {string} id
|
|
1725
|
+
* @param {RemoveVipVehicleBody} removeVipVehicleBody
|
|
1726
|
+
* @param {*} [options] Override http request option.
|
|
1727
|
+
* @throws {RequiredError}
|
|
1728
|
+
*/
|
|
1729
|
+
registeredVehiclesRemoveVip: (id, removeVipVehicleBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1730
|
+
// verify required parameter 'id' is not null or undefined
|
|
1731
|
+
(0, common_1.assertParamExists)('registeredVehiclesRemoveVip', 'id', id);
|
|
1732
|
+
// verify required parameter 'removeVipVehicleBody' is not null or undefined
|
|
1733
|
+
(0, common_1.assertParamExists)('registeredVehiclesRemoveVip', 'removeVipVehicleBody', removeVipVehicleBody);
|
|
1734
|
+
const localVarPath = `/registered-vehicles/remove-vip/{id}`
|
|
1735
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1736
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1737
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1738
|
+
let baseOptions;
|
|
1739
|
+
if (configuration) {
|
|
1740
|
+
baseOptions = configuration.baseOptions;
|
|
1741
|
+
}
|
|
1742
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1743
|
+
const localVarHeaderParameter = {};
|
|
1744
|
+
const localVarQueryParameter = {};
|
|
1745
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1746
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1747
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1748
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1749
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(removeVipVehicleBody, localVarRequestOptions, configuration);
|
|
1750
|
+
return {
|
|
1751
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1752
|
+
options: localVarRequestOptions,
|
|
1753
|
+
};
|
|
1754
|
+
}),
|
|
1642
1755
|
/**
|
|
1643
1756
|
*
|
|
1644
1757
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
@@ -2319,13 +2432,38 @@ const DefaultApiFp = function (configuration) {
|
|
|
2319
2432
|
* @param {string} [plateNo]
|
|
2320
2433
|
* @param {string} [plateProvince]
|
|
2321
2434
|
* @param {boolean} [isVip]
|
|
2435
|
+
* @param {string} [filterBy2]
|
|
2322
2436
|
* @param {boolean} [isExport]
|
|
2323
2437
|
* @param {*} [options] Override http request option.
|
|
2324
2438
|
* @throws {RequiredError}
|
|
2325
2439
|
*/
|
|
2326
|
-
|
|
2440
|
+
registeredVehiclesHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options) {
|
|
2327
2441
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2328
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2442
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.registeredVehiclesHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options);
|
|
2443
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2444
|
+
});
|
|
2445
|
+
},
|
|
2446
|
+
/**
|
|
2447
|
+
*
|
|
2448
|
+
* @param {string} [orderBy]
|
|
2449
|
+
* @param {string} [orderDirection]
|
|
2450
|
+
* @param {number} [pageNumber]
|
|
2451
|
+
* @param {number} [pageSize]
|
|
2452
|
+
* @param {string} [filterBy]
|
|
2453
|
+
* @param {string} [filterKey]
|
|
2454
|
+
* @param {string} [startDate]
|
|
2455
|
+
* @param {string} [endDate]
|
|
2456
|
+
* @param {string} [plateNo]
|
|
2457
|
+
* @param {string} [plateProvince]
|
|
2458
|
+
* @param {boolean} [isVip]
|
|
2459
|
+
* @param {string} [filterBy2]
|
|
2460
|
+
* @param {boolean} [isExport]
|
|
2461
|
+
* @param {*} [options] Override http request option.
|
|
2462
|
+
* @throws {RequiredError}
|
|
2463
|
+
*/
|
|
2464
|
+
registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options) {
|
|
2465
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2466
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options);
|
|
2329
2467
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2330
2468
|
});
|
|
2331
2469
|
},
|
|
@@ -2367,6 +2505,19 @@ const DefaultApiFp = function (configuration) {
|
|
|
2367
2505
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2368
2506
|
});
|
|
2369
2507
|
},
|
|
2508
|
+
/**
|
|
2509
|
+
*
|
|
2510
|
+
* @param {string} id
|
|
2511
|
+
* @param {RemoveVipVehicleBody} removeVipVehicleBody
|
|
2512
|
+
* @param {*} [options] Override http request option.
|
|
2513
|
+
* @throws {RequiredError}
|
|
2514
|
+
*/
|
|
2515
|
+
registeredVehiclesRemoveVip(id, removeVipVehicleBody, options) {
|
|
2516
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2517
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.registeredVehiclesRemoveVip(id, removeVipVehicleBody, options);
|
|
2518
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2519
|
+
});
|
|
2520
|
+
},
|
|
2370
2521
|
/**
|
|
2371
2522
|
*
|
|
2372
2523
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
@@ -2857,12 +3008,34 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2857
3008
|
* @param {string} [plateNo]
|
|
2858
3009
|
* @param {string} [plateProvince]
|
|
2859
3010
|
* @param {boolean} [isVip]
|
|
3011
|
+
* @param {string} [filterBy2]
|
|
3012
|
+
* @param {boolean} [isExport]
|
|
3013
|
+
* @param {*} [options] Override http request option.
|
|
3014
|
+
* @throws {RequiredError}
|
|
3015
|
+
*/
|
|
3016
|
+
registeredVehiclesHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options) {
|
|
3017
|
+
return localVarFp.registeredVehiclesHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options).then((request) => request(axios, basePath));
|
|
3018
|
+
},
|
|
3019
|
+
/**
|
|
3020
|
+
*
|
|
3021
|
+
* @param {string} [orderBy]
|
|
3022
|
+
* @param {string} [orderDirection]
|
|
3023
|
+
* @param {number} [pageNumber]
|
|
3024
|
+
* @param {number} [pageSize]
|
|
3025
|
+
* @param {string} [filterBy]
|
|
3026
|
+
* @param {string} [filterKey]
|
|
3027
|
+
* @param {string} [startDate]
|
|
3028
|
+
* @param {string} [endDate]
|
|
3029
|
+
* @param {string} [plateNo]
|
|
3030
|
+
* @param {string} [plateProvince]
|
|
3031
|
+
* @param {boolean} [isVip]
|
|
3032
|
+
* @param {string} [filterBy2]
|
|
2860
3033
|
* @param {boolean} [isExport]
|
|
2861
3034
|
* @param {*} [options] Override http request option.
|
|
2862
3035
|
* @throws {RequiredError}
|
|
2863
3036
|
*/
|
|
2864
|
-
registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, isExport, options) {
|
|
2865
|
-
return localVarFp.registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, isExport, options).then((request) => request(axios, basePath));
|
|
3037
|
+
registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options) {
|
|
3038
|
+
return localVarFp.registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options).then((request) => request(axios, basePath));
|
|
2866
3039
|
},
|
|
2867
3040
|
/**
|
|
2868
3041
|
*
|
|
@@ -2893,6 +3066,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2893
3066
|
registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options) {
|
|
2894
3067
|
return localVarFp.registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options).then((request) => request(axios, basePath));
|
|
2895
3068
|
},
|
|
3069
|
+
/**
|
|
3070
|
+
*
|
|
3071
|
+
* @param {string} id
|
|
3072
|
+
* @param {RemoveVipVehicleBody} removeVipVehicleBody
|
|
3073
|
+
* @param {*} [options] Override http request option.
|
|
3074
|
+
* @throws {RequiredError}
|
|
3075
|
+
*/
|
|
3076
|
+
registeredVehiclesRemoveVip(id, removeVipVehicleBody, options) {
|
|
3077
|
+
return localVarFp.registeredVehiclesRemoveVip(id, removeVipVehicleBody, options).then((request) => request(axios, basePath));
|
|
3078
|
+
},
|
|
2896
3079
|
/**
|
|
2897
3080
|
*
|
|
2898
3081
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
@@ -3406,13 +3589,36 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3406
3589
|
* @param {string} [plateNo]
|
|
3407
3590
|
* @param {string} [plateProvince]
|
|
3408
3591
|
* @param {boolean} [isVip]
|
|
3592
|
+
* @param {string} [filterBy2]
|
|
3409
3593
|
* @param {boolean} [isExport]
|
|
3410
3594
|
* @param {*} [options] Override http request option.
|
|
3411
3595
|
* @throws {RequiredError}
|
|
3412
3596
|
* @memberof DefaultApi
|
|
3413
3597
|
*/
|
|
3414
|
-
|
|
3415
|
-
return (0, exports.DefaultApiFp)(this.configuration).
|
|
3598
|
+
registeredVehiclesHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options) {
|
|
3599
|
+
return (0, exports.DefaultApiFp)(this.configuration).registeredVehiclesHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options).then((request) => request(this.axios, this.basePath));
|
|
3600
|
+
}
|
|
3601
|
+
/**
|
|
3602
|
+
*
|
|
3603
|
+
* @param {string} [orderBy]
|
|
3604
|
+
* @param {string} [orderDirection]
|
|
3605
|
+
* @param {number} [pageNumber]
|
|
3606
|
+
* @param {number} [pageSize]
|
|
3607
|
+
* @param {string} [filterBy]
|
|
3608
|
+
* @param {string} [filterKey]
|
|
3609
|
+
* @param {string} [startDate]
|
|
3610
|
+
* @param {string} [endDate]
|
|
3611
|
+
* @param {string} [plateNo]
|
|
3612
|
+
* @param {string} [plateProvince]
|
|
3613
|
+
* @param {boolean} [isVip]
|
|
3614
|
+
* @param {string} [filterBy2]
|
|
3615
|
+
* @param {boolean} [isExport]
|
|
3616
|
+
* @param {*} [options] Override http request option.
|
|
3617
|
+
* @throws {RequiredError}
|
|
3618
|
+
* @memberof DefaultApi
|
|
3619
|
+
*/
|
|
3620
|
+
registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options) {
|
|
3621
|
+
return (0, exports.DefaultApiFp)(this.configuration).registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, plateNo, plateProvince, isVip, filterBy2, isExport, options).then((request) => request(this.axios, this.basePath));
|
|
3416
3622
|
}
|
|
3417
3623
|
/**
|
|
3418
3624
|
*
|
|
@@ -3446,6 +3652,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3446
3652
|
registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options) {
|
|
3447
3653
|
return (0, exports.DefaultApiFp)(this.configuration).registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
3448
3654
|
}
|
|
3655
|
+
/**
|
|
3656
|
+
*
|
|
3657
|
+
* @param {string} id
|
|
3658
|
+
* @param {RemoveVipVehicleBody} removeVipVehicleBody
|
|
3659
|
+
* @param {*} [options] Override http request option.
|
|
3660
|
+
* @throws {RequiredError}
|
|
3661
|
+
* @memberof DefaultApi
|
|
3662
|
+
*/
|
|
3663
|
+
registeredVehiclesRemoveVip(id, removeVipVehicleBody, options) {
|
|
3664
|
+
return (0, exports.DefaultApiFp)(this.configuration).registeredVehiclesRemoveVip(id, removeVipVehicleBody, options).then((request) => request(this.axios, this.basePath));
|
|
3665
|
+
}
|
|
3449
3666
|
/**
|
|
3450
3667
|
*
|
|
3451
3668
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|