ob-parking-sdk 0.0.68 → 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 +517 -2
- package/api/base.ts +1 -1
- package/api/common.ts +1 -1
- package/api/configuration.ts +1 -1
- package/api/index.ts +1 -1
- package/dist/api/api.d.ts +312 -2
- package/dist/api/api.js +354 -1
- package/dist/api/base.d.ts +1 -1
- package/dist/api/base.js +1 -1
- package/dist/api/common.d.ts +1 -1
- package/dist/api/common.js +1 -1
- package/dist/api/configuration.d.ts +1 -1
- package/dist/api/configuration.js +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +1 -1
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* obk-parking
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.27.
|
|
7
|
+
* The version of the OpenAPI document: 1.27.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1737,6 +1737,85 @@ export interface GetParkingDetailsIndexResponse {
|
|
|
1737
1737
|
}
|
|
1738
1738
|
|
|
1739
1739
|
|
|
1740
|
+
/**
|
|
1741
|
+
*
|
|
1742
|
+
* @export
|
|
1743
|
+
* @interface GetRegisteredVehiclesIndexQuery
|
|
1744
|
+
*/
|
|
1745
|
+
export interface GetRegisteredVehiclesIndexQuery {
|
|
1746
|
+
/**
|
|
1747
|
+
*
|
|
1748
|
+
* @type {string}
|
|
1749
|
+
* @memberof GetRegisteredVehiclesIndexQuery
|
|
1750
|
+
*/
|
|
1751
|
+
'order_by'?: string;
|
|
1752
|
+
/**
|
|
1753
|
+
*
|
|
1754
|
+
* @type {string}
|
|
1755
|
+
* @memberof GetRegisteredVehiclesIndexQuery
|
|
1756
|
+
*/
|
|
1757
|
+
'order_direction'?: string;
|
|
1758
|
+
/**
|
|
1759
|
+
*
|
|
1760
|
+
* @type {number}
|
|
1761
|
+
* @memberof GetRegisteredVehiclesIndexQuery
|
|
1762
|
+
*/
|
|
1763
|
+
'page_number'?: number;
|
|
1764
|
+
/**
|
|
1765
|
+
*
|
|
1766
|
+
* @type {number}
|
|
1767
|
+
* @memberof GetRegisteredVehiclesIndexQuery
|
|
1768
|
+
*/
|
|
1769
|
+
'page_size'?: number;
|
|
1770
|
+
/**
|
|
1771
|
+
*
|
|
1772
|
+
* @type {string}
|
|
1773
|
+
* @memberof GetRegisteredVehiclesIndexQuery
|
|
1774
|
+
*/
|
|
1775
|
+
'filter_by'?: string;
|
|
1776
|
+
/**
|
|
1777
|
+
*
|
|
1778
|
+
* @type {string}
|
|
1779
|
+
* @memberof GetRegisteredVehiclesIndexQuery
|
|
1780
|
+
*/
|
|
1781
|
+
'filter_key'?: string;
|
|
1782
|
+
/**
|
|
1783
|
+
*
|
|
1784
|
+
* @type {string}
|
|
1785
|
+
* @memberof GetRegisteredVehiclesIndexQuery
|
|
1786
|
+
*/
|
|
1787
|
+
'startDate'?: string;
|
|
1788
|
+
/**
|
|
1789
|
+
*
|
|
1790
|
+
* @type {string}
|
|
1791
|
+
* @memberof GetRegisteredVehiclesIndexQuery
|
|
1792
|
+
*/
|
|
1793
|
+
'endDate'?: string;
|
|
1794
|
+
/**
|
|
1795
|
+
*
|
|
1796
|
+
* @type {string}
|
|
1797
|
+
* @memberof GetRegisteredVehiclesIndexQuery
|
|
1798
|
+
*/
|
|
1799
|
+
'plate_no'?: string;
|
|
1800
|
+
/**
|
|
1801
|
+
*
|
|
1802
|
+
* @type {string}
|
|
1803
|
+
* @memberof GetRegisteredVehiclesIndexQuery
|
|
1804
|
+
*/
|
|
1805
|
+
'plate_province'?: string;
|
|
1806
|
+
/**
|
|
1807
|
+
*
|
|
1808
|
+
* @type {boolean}
|
|
1809
|
+
* @memberof GetRegisteredVehiclesIndexQuery
|
|
1810
|
+
*/
|
|
1811
|
+
'is_vip'?: boolean;
|
|
1812
|
+
/**
|
|
1813
|
+
*
|
|
1814
|
+
* @type {boolean}
|
|
1815
|
+
* @memberof GetRegisteredVehiclesIndexQuery
|
|
1816
|
+
*/
|
|
1817
|
+
'is_export'?: boolean;
|
|
1818
|
+
}
|
|
1740
1819
|
/**
|
|
1741
1820
|
*
|
|
1742
1821
|
* @export
|
|
@@ -2726,6 +2805,18 @@ export interface RegisteredVehicleIndexResponse {
|
|
|
2726
2805
|
* @memberof RegisteredVehicleIndexResponse
|
|
2727
2806
|
*/
|
|
2728
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;
|
|
2729
2820
|
/**
|
|
2730
2821
|
*
|
|
2731
2822
|
* @type {EngineType}
|
|
@@ -2755,7 +2846,7 @@ export interface RegisteredVehicleIndexResponse {
|
|
|
2755
2846
|
* @type {VehicleType}
|
|
2756
2847
|
* @memberof RegisteredVehicleIndexResponse
|
|
2757
2848
|
*/
|
|
2758
|
-
'vehicle_type'?: VehicleType;
|
|
2849
|
+
'vehicle_type'?: VehicleType | null;
|
|
2759
2850
|
/**
|
|
2760
2851
|
*
|
|
2761
2852
|
* @type {string}
|
|
@@ -2847,6 +2938,19 @@ export interface RegisteredVehicleResponse {
|
|
|
2847
2938
|
}
|
|
2848
2939
|
|
|
2849
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
|
+
}
|
|
2850
2954
|
/**
|
|
2851
2955
|
*
|
|
2852
2956
|
* @export
|
|
@@ -2923,6 +3027,25 @@ export interface ResponseDataGetParkingDetailsIndexResponseArray {
|
|
|
2923
3027
|
*/
|
|
2924
3028
|
'pagination'?: Pagination;
|
|
2925
3029
|
}
|
|
3030
|
+
/**
|
|
3031
|
+
*
|
|
3032
|
+
* @export
|
|
3033
|
+
* @interface ResponseDataRegisteredVehicleIndexResponseArray
|
|
3034
|
+
*/
|
|
3035
|
+
export interface ResponseDataRegisteredVehicleIndexResponseArray {
|
|
3036
|
+
/**
|
|
3037
|
+
*
|
|
3038
|
+
* @type {Array<RegisteredVehicleIndexResponse>}
|
|
3039
|
+
* @memberof ResponseDataRegisteredVehicleIndexResponseArray
|
|
3040
|
+
*/
|
|
3041
|
+
'data': Array<RegisteredVehicleIndexResponse>;
|
|
3042
|
+
/**
|
|
3043
|
+
*
|
|
3044
|
+
* @type {Pagination}
|
|
3045
|
+
* @memberof ResponseDataRegisteredVehicleIndexResponseArray
|
|
3046
|
+
*/
|
|
3047
|
+
'pagination'?: Pagination;
|
|
3048
|
+
}
|
|
2926
3049
|
/**
|
|
2927
3050
|
*
|
|
2928
3051
|
* @export
|
|
@@ -5100,6 +5223,194 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5100
5223
|
|
|
5101
5224
|
|
|
5102
5225
|
|
|
5226
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5227
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5228
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5229
|
+
|
|
5230
|
+
return {
|
|
5231
|
+
url: toPathString(localVarUrlObj),
|
|
5232
|
+
options: localVarRequestOptions,
|
|
5233
|
+
};
|
|
5234
|
+
},
|
|
5235
|
+
/**
|
|
5236
|
+
*
|
|
5237
|
+
* @param {string} [orderBy]
|
|
5238
|
+
* @param {string} [orderDirection]
|
|
5239
|
+
* @param {number} [pageNumber]
|
|
5240
|
+
* @param {number} [pageSize]
|
|
5241
|
+
* @param {string} [filterBy]
|
|
5242
|
+
* @param {string} [filterKey]
|
|
5243
|
+
* @param {string} [startDate]
|
|
5244
|
+
* @param {string} [endDate]
|
|
5245
|
+
* @param {string} [plateNo]
|
|
5246
|
+
* @param {string} [plateProvince]
|
|
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]
|
|
5343
|
+
* @param {boolean} [isExport]
|
|
5344
|
+
* @param {*} [options] Override http request option.
|
|
5345
|
+
* @throws {RequiredError}
|
|
5346
|
+
*/
|
|
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> => {
|
|
5348
|
+
const localVarPath = `/registered-vehicles`;
|
|
5349
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5350
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5351
|
+
let baseOptions;
|
|
5352
|
+
if (configuration) {
|
|
5353
|
+
baseOptions = configuration.baseOptions;
|
|
5354
|
+
}
|
|
5355
|
+
|
|
5356
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5357
|
+
const localVarHeaderParameter = {} as any;
|
|
5358
|
+
const localVarQueryParameter = {} as any;
|
|
5359
|
+
|
|
5360
|
+
if (orderBy !== undefined) {
|
|
5361
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
5362
|
+
}
|
|
5363
|
+
|
|
5364
|
+
if (orderDirection !== undefined) {
|
|
5365
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
5366
|
+
}
|
|
5367
|
+
|
|
5368
|
+
if (pageNumber !== undefined) {
|
|
5369
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
5370
|
+
}
|
|
5371
|
+
|
|
5372
|
+
if (pageSize !== undefined) {
|
|
5373
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
5374
|
+
}
|
|
5375
|
+
|
|
5376
|
+
if (filterBy !== undefined) {
|
|
5377
|
+
localVarQueryParameter['filter_by'] = filterBy;
|
|
5378
|
+
}
|
|
5379
|
+
|
|
5380
|
+
if (filterKey !== undefined) {
|
|
5381
|
+
localVarQueryParameter['filter_key'] = filterKey;
|
|
5382
|
+
}
|
|
5383
|
+
|
|
5384
|
+
if (startDate !== undefined) {
|
|
5385
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
5386
|
+
}
|
|
5387
|
+
|
|
5388
|
+
if (endDate !== undefined) {
|
|
5389
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
5390
|
+
}
|
|
5391
|
+
|
|
5392
|
+
if (plateNo !== undefined) {
|
|
5393
|
+
localVarQueryParameter['plate_no'] = plateNo;
|
|
5394
|
+
}
|
|
5395
|
+
|
|
5396
|
+
if (plateProvince !== undefined) {
|
|
5397
|
+
localVarQueryParameter['plate_province'] = plateProvince;
|
|
5398
|
+
}
|
|
5399
|
+
|
|
5400
|
+
if (isVip !== undefined) {
|
|
5401
|
+
localVarQueryParameter['is_vip'] = isVip;
|
|
5402
|
+
}
|
|
5403
|
+
|
|
5404
|
+
if (filterBy2 !== undefined) {
|
|
5405
|
+
localVarQueryParameter['filter_by'] = filterBy2;
|
|
5406
|
+
}
|
|
5407
|
+
|
|
5408
|
+
if (isExport !== undefined) {
|
|
5409
|
+
localVarQueryParameter['is_export'] = isExport;
|
|
5410
|
+
}
|
|
5411
|
+
|
|
5412
|
+
|
|
5413
|
+
|
|
5103
5414
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5104
5415
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5105
5416
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5226,6 +5537,45 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5226
5537
|
options: localVarRequestOptions,
|
|
5227
5538
|
};
|
|
5228
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
|
+
},
|
|
5229
5579
|
/**
|
|
5230
5580
|
*
|
|
5231
5581
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
@@ -5845,6 +6195,50 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5845
6195
|
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGetVehiclesByLicensePlate(plateNo, options);
|
|
5846
6196
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5847
6197
|
},
|
|
6198
|
+
/**
|
|
6199
|
+
*
|
|
6200
|
+
* @param {string} [orderBy]
|
|
6201
|
+
* @param {string} [orderDirection]
|
|
6202
|
+
* @param {number} [pageNumber]
|
|
6203
|
+
* @param {number} [pageSize]
|
|
6204
|
+
* @param {string} [filterBy]
|
|
6205
|
+
* @param {string} [filterKey]
|
|
6206
|
+
* @param {string} [startDate]
|
|
6207
|
+
* @param {string} [endDate]
|
|
6208
|
+
* @param {string} [plateNo]
|
|
6209
|
+
* @param {string} [plateProvince]
|
|
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]
|
|
6234
|
+
* @param {boolean} [isExport]
|
|
6235
|
+
* @param {*} [options] Override http request option.
|
|
6236
|
+
* @throws {RequiredError}
|
|
6237
|
+
*/
|
|
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);
|
|
6240
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6241
|
+
},
|
|
5848
6242
|
/**
|
|
5849
6243
|
*
|
|
5850
6244
|
* @param {string} plateNo
|
|
@@ -5877,6 +6271,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5877
6271
|
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options);
|
|
5878
6272
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5879
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
|
+
},
|
|
5880
6285
|
/**
|
|
5881
6286
|
*
|
|
5882
6287
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
@@ -6344,6 +6749,48 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
6344
6749
|
registeredVehiclesGetVehiclesByLicensePlate(plateNo: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
|
|
6345
6750
|
return localVarFp.registeredVehiclesGetVehiclesByLicensePlate(plateNo, options).then((request) => request(axios, basePath));
|
|
6346
6751
|
},
|
|
6752
|
+
/**
|
|
6753
|
+
*
|
|
6754
|
+
* @param {string} [orderBy]
|
|
6755
|
+
* @param {string} [orderDirection]
|
|
6756
|
+
* @param {number} [pageNumber]
|
|
6757
|
+
* @param {number} [pageSize]
|
|
6758
|
+
* @param {string} [filterBy]
|
|
6759
|
+
* @param {string} [filterKey]
|
|
6760
|
+
* @param {string} [startDate]
|
|
6761
|
+
* @param {string} [endDate]
|
|
6762
|
+
* @param {string} [plateNo]
|
|
6763
|
+
* @param {string} [plateProvince]
|
|
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]
|
|
6787
|
+
* @param {boolean} [isExport]
|
|
6788
|
+
* @param {*} [options] Override http request option.
|
|
6789
|
+
* @throws {RequiredError}
|
|
6790
|
+
*/
|
|
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));
|
|
6793
|
+
},
|
|
6347
6794
|
/**
|
|
6348
6795
|
*
|
|
6349
6796
|
* @param {string} plateNo
|
|
@@ -6373,6 +6820,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
6373
6820
|
registeredVehiclesRegister(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
|
|
6374
6821
|
return localVarFp.registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options).then((request) => request(axios, basePath));
|
|
6375
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
|
+
},
|
|
6376
6833
|
/**
|
|
6377
6834
|
*
|
|
6378
6835
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
@@ -6911,6 +7368,52 @@ export class DefaultApi extends BaseAPI {
|
|
|
6911
7368
|
return DefaultApiFp(this.configuration).registeredVehiclesGetVehiclesByLicensePlate(plateNo, options).then((request) => request(this.axios, this.basePath));
|
|
6912
7369
|
}
|
|
6913
7370
|
|
|
7371
|
+
/**
|
|
7372
|
+
*
|
|
7373
|
+
* @param {string} [orderBy]
|
|
7374
|
+
* @param {string} [orderDirection]
|
|
7375
|
+
* @param {number} [pageNumber]
|
|
7376
|
+
* @param {number} [pageSize]
|
|
7377
|
+
* @param {string} [filterBy]
|
|
7378
|
+
* @param {string} [filterKey]
|
|
7379
|
+
* @param {string} [startDate]
|
|
7380
|
+
* @param {string} [endDate]
|
|
7381
|
+
* @param {string} [plateNo]
|
|
7382
|
+
* @param {string} [plateProvince]
|
|
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]
|
|
7408
|
+
* @param {boolean} [isExport]
|
|
7409
|
+
* @param {*} [options] Override http request option.
|
|
7410
|
+
* @throws {RequiredError}
|
|
7411
|
+
* @memberof DefaultApi
|
|
7412
|
+
*/
|
|
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));
|
|
7415
|
+
}
|
|
7416
|
+
|
|
6914
7417
|
/**
|
|
6915
7418
|
*
|
|
6916
7419
|
* @param {string} plateNo
|
|
@@ -6946,6 +7449,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
6946
7449
|
return DefaultApiFp(this.configuration).registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
6947
7450
|
}
|
|
6948
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
|
+
|
|
6949
7464
|
/**
|
|
6950
7465
|
*
|
|
6951
7466
|
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
package/api/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* obk-parking
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.27.
|
|
7
|
+
* The version of the OpenAPI document: 1.27.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* obk-parking
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.27.
|
|
7
|
+
* The version of the OpenAPI document: 1.27.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* obk-parking
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.27.
|
|
7
|
+
* The version of the OpenAPI document: 1.27.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* obk-parking
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.27.
|
|
7
|
+
* The version of the OpenAPI document: 1.27.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|