ob-parking-sdk 0.0.62 → 0.0.63
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 +66 -0
- package/dist/api/api.d.ts +29 -0
- package/dist/api/api.js +61 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -4740,6 +4740,42 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4740
4740
|
|
|
4741
4741
|
|
|
4742
4742
|
|
|
4743
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4744
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4745
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4746
|
+
|
|
4747
|
+
return {
|
|
4748
|
+
url: toPathString(localVarUrlObj),
|
|
4749
|
+
options: localVarRequestOptions,
|
|
4750
|
+
};
|
|
4751
|
+
},
|
|
4752
|
+
/**
|
|
4753
|
+
*
|
|
4754
|
+
* @param {string} plateNo
|
|
4755
|
+
* @param {*} [options] Override http request option.
|
|
4756
|
+
* @throws {RequiredError}
|
|
4757
|
+
*/
|
|
4758
|
+
registeredVehiclesIsLicensePlateVip: async (plateNo: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4759
|
+
// verify required parameter 'plateNo' is not null or undefined
|
|
4760
|
+
assertParamExists('registeredVehiclesIsLicensePlateVip', 'plateNo', plateNo)
|
|
4761
|
+
const localVarPath = `/registered-vehicles/is-license-plate-vip`;
|
|
4762
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4763
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4764
|
+
let baseOptions;
|
|
4765
|
+
if (configuration) {
|
|
4766
|
+
baseOptions = configuration.baseOptions;
|
|
4767
|
+
}
|
|
4768
|
+
|
|
4769
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4770
|
+
const localVarHeaderParameter = {} as any;
|
|
4771
|
+
const localVarQueryParameter = {} as any;
|
|
4772
|
+
|
|
4773
|
+
if (plateNo !== undefined) {
|
|
4774
|
+
localVarQueryParameter['plate_no'] = plateNo;
|
|
4775
|
+
}
|
|
4776
|
+
|
|
4777
|
+
|
|
4778
|
+
|
|
4743
4779
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4744
4780
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4745
4781
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5390,6 +5426,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5390
5426
|
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesIsLicensePlateRegistered(plateNo, xAccountId, options);
|
|
5391
5427
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5392
5428
|
},
|
|
5429
|
+
/**
|
|
5430
|
+
*
|
|
5431
|
+
* @param {string} plateNo
|
|
5432
|
+
* @param {*} [options] Override http request option.
|
|
5433
|
+
* @throws {RequiredError}
|
|
5434
|
+
*/
|
|
5435
|
+
async registeredVehiclesIsLicensePlateVip(plateNo: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
5436
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesIsLicensePlateVip(plateNo, options);
|
|
5437
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5438
|
+
},
|
|
5393
5439
|
/**
|
|
5394
5440
|
*
|
|
5395
5441
|
* @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
|
|
@@ -5851,6 +5897,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5851
5897
|
registeredVehiclesIsLicensePlateRegistered(plateNo: string, xAccountId?: string, options?: any): AxiosPromise<boolean> {
|
|
5852
5898
|
return localVarFp.registeredVehiclesIsLicensePlateRegistered(plateNo, xAccountId, options).then((request) => request(axios, basePath));
|
|
5853
5899
|
},
|
|
5900
|
+
/**
|
|
5901
|
+
*
|
|
5902
|
+
* @param {string} plateNo
|
|
5903
|
+
* @param {*} [options] Override http request option.
|
|
5904
|
+
* @throws {RequiredError}
|
|
5905
|
+
*/
|
|
5906
|
+
registeredVehiclesIsLicensePlateVip(plateNo: string, options?: any): AxiosPromise<boolean> {
|
|
5907
|
+
return localVarFp.registeredVehiclesIsLicensePlateVip(plateNo, options).then((request) => request(axios, basePath));
|
|
5908
|
+
},
|
|
5854
5909
|
/**
|
|
5855
5910
|
*
|
|
5856
5911
|
* @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
|
|
@@ -6380,6 +6435,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
6380
6435
|
return DefaultApiFp(this.configuration).registeredVehiclesIsLicensePlateRegistered(plateNo, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
6381
6436
|
}
|
|
6382
6437
|
|
|
6438
|
+
/**
|
|
6439
|
+
*
|
|
6440
|
+
* @param {string} plateNo
|
|
6441
|
+
* @param {*} [options] Override http request option.
|
|
6442
|
+
* @throws {RequiredError}
|
|
6443
|
+
* @memberof DefaultApi
|
|
6444
|
+
*/
|
|
6445
|
+
public registeredVehiclesIsLicensePlateVip(plateNo: string, options?: AxiosRequestConfig) {
|
|
6446
|
+
return DefaultApiFp(this.configuration).registeredVehiclesIsLicensePlateVip(plateNo, options).then((request) => request(this.axios, this.basePath));
|
|
6447
|
+
}
|
|
6448
|
+
|
|
6383
6449
|
/**
|
|
6384
6450
|
*
|
|
6385
6451
|
* @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
|
package/dist/api/api.d.ts
CHANGED
|
@@ -3435,6 +3435,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3435
3435
|
* @throws {RequiredError}
|
|
3436
3436
|
*/
|
|
3437
3437
|
registeredVehiclesIsLicensePlateRegistered: (plateNo: string, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3438
|
+
/**
|
|
3439
|
+
*
|
|
3440
|
+
* @param {string} plateNo
|
|
3441
|
+
* @param {*} [options] Override http request option.
|
|
3442
|
+
* @throws {RequiredError}
|
|
3443
|
+
*/
|
|
3444
|
+
registeredVehiclesIsLicensePlateVip: (plateNo: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3438
3445
|
/**
|
|
3439
3446
|
*
|
|
3440
3447
|
* @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
|
|
@@ -3800,6 +3807,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3800
3807
|
* @throws {RequiredError}
|
|
3801
3808
|
*/
|
|
3802
3809
|
registeredVehiclesIsLicensePlateRegistered(plateNo: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
3810
|
+
/**
|
|
3811
|
+
*
|
|
3812
|
+
* @param {string} plateNo
|
|
3813
|
+
* @param {*} [options] Override http request option.
|
|
3814
|
+
* @throws {RequiredError}
|
|
3815
|
+
*/
|
|
3816
|
+
registeredVehiclesIsLicensePlateVip(plateNo: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
3803
3817
|
/**
|
|
3804
3818
|
*
|
|
3805
3819
|
* @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
|
|
@@ -4165,6 +4179,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4165
4179
|
* @throws {RequiredError}
|
|
4166
4180
|
*/
|
|
4167
4181
|
registeredVehiclesIsLicensePlateRegistered(plateNo: string, xAccountId?: string, options?: any): AxiosPromise<boolean>;
|
|
4182
|
+
/**
|
|
4183
|
+
*
|
|
4184
|
+
* @param {string} plateNo
|
|
4185
|
+
* @param {*} [options] Override http request option.
|
|
4186
|
+
* @throws {RequiredError}
|
|
4187
|
+
*/
|
|
4188
|
+
registeredVehiclesIsLicensePlateVip(plateNo: string, options?: any): AxiosPromise<boolean>;
|
|
4168
4189
|
/**
|
|
4169
4190
|
*
|
|
4170
4191
|
* @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
|
|
@@ -4569,6 +4590,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4569
4590
|
* @memberof DefaultApi
|
|
4570
4591
|
*/
|
|
4571
4592
|
registeredVehiclesIsLicensePlateRegistered(plateNo: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
4593
|
+
/**
|
|
4594
|
+
*
|
|
4595
|
+
* @param {string} plateNo
|
|
4596
|
+
* @param {*} [options] Override http request option.
|
|
4597
|
+
* @throws {RequiredError}
|
|
4598
|
+
* @memberof DefaultApi
|
|
4599
|
+
*/
|
|
4600
|
+
registeredVehiclesIsLicensePlateVip(plateNo: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
4572
4601
|
/**
|
|
4573
4602
|
*
|
|
4574
4603
|
* @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
|
package/dist/api/api.js
CHANGED
|
@@ -1411,6 +1411,36 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1411
1411
|
options: localVarRequestOptions,
|
|
1412
1412
|
};
|
|
1413
1413
|
}),
|
|
1414
|
+
/**
|
|
1415
|
+
*
|
|
1416
|
+
* @param {string} plateNo
|
|
1417
|
+
* @param {*} [options] Override http request option.
|
|
1418
|
+
* @throws {RequiredError}
|
|
1419
|
+
*/
|
|
1420
|
+
registeredVehiclesIsLicensePlateVip: (plateNo, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1421
|
+
// verify required parameter 'plateNo' is not null or undefined
|
|
1422
|
+
(0, common_1.assertParamExists)('registeredVehiclesIsLicensePlateVip', 'plateNo', plateNo);
|
|
1423
|
+
const localVarPath = `/registered-vehicles/is-license-plate-vip`;
|
|
1424
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1425
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1426
|
+
let baseOptions;
|
|
1427
|
+
if (configuration) {
|
|
1428
|
+
baseOptions = configuration.baseOptions;
|
|
1429
|
+
}
|
|
1430
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1431
|
+
const localVarHeaderParameter = {};
|
|
1432
|
+
const localVarQueryParameter = {};
|
|
1433
|
+
if (plateNo !== undefined) {
|
|
1434
|
+
localVarQueryParameter['plate_no'] = plateNo;
|
|
1435
|
+
}
|
|
1436
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1437
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1438
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1439
|
+
return {
|
|
1440
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1441
|
+
options: localVarRequestOptions,
|
|
1442
|
+
};
|
|
1443
|
+
}),
|
|
1414
1444
|
/**
|
|
1415
1445
|
*
|
|
1416
1446
|
* @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
|
|
@@ -2091,6 +2121,18 @@ const DefaultApiFp = function (configuration) {
|
|
|
2091
2121
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2092
2122
|
});
|
|
2093
2123
|
},
|
|
2124
|
+
/**
|
|
2125
|
+
*
|
|
2126
|
+
* @param {string} plateNo
|
|
2127
|
+
* @param {*} [options] Override http request option.
|
|
2128
|
+
* @throws {RequiredError}
|
|
2129
|
+
*/
|
|
2130
|
+
registeredVehiclesIsLicensePlateVip(plateNo, options) {
|
|
2131
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2132
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.registeredVehiclesIsLicensePlateVip(plateNo, options);
|
|
2133
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2134
|
+
});
|
|
2135
|
+
},
|
|
2094
2136
|
/**
|
|
2095
2137
|
*
|
|
2096
2138
|
* @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
|
|
@@ -2564,6 +2606,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2564
2606
|
registeredVehiclesIsLicensePlateRegistered(plateNo, xAccountId, options) {
|
|
2565
2607
|
return localVarFp.registeredVehiclesIsLicensePlateRegistered(plateNo, xAccountId, options).then((request) => request(axios, basePath));
|
|
2566
2608
|
},
|
|
2609
|
+
/**
|
|
2610
|
+
*
|
|
2611
|
+
* @param {string} plateNo
|
|
2612
|
+
* @param {*} [options] Override http request option.
|
|
2613
|
+
* @throws {RequiredError}
|
|
2614
|
+
*/
|
|
2615
|
+
registeredVehiclesIsLicensePlateVip(plateNo, options) {
|
|
2616
|
+
return localVarFp.registeredVehiclesIsLicensePlateVip(plateNo, options).then((request) => request(axios, basePath));
|
|
2617
|
+
},
|
|
2567
2618
|
/**
|
|
2568
2619
|
*
|
|
2569
2620
|
* @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
|
|
@@ -3056,6 +3107,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3056
3107
|
registeredVehiclesIsLicensePlateRegistered(plateNo, xAccountId, options) {
|
|
3057
3108
|
return (0, exports.DefaultApiFp)(this.configuration).registeredVehiclesIsLicensePlateRegistered(plateNo, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
3058
3109
|
}
|
|
3110
|
+
/**
|
|
3111
|
+
*
|
|
3112
|
+
* @param {string} plateNo
|
|
3113
|
+
* @param {*} [options] Override http request option.
|
|
3114
|
+
* @throws {RequiredError}
|
|
3115
|
+
* @memberof DefaultApi
|
|
3116
|
+
*/
|
|
3117
|
+
registeredVehiclesIsLicensePlateVip(plateNo, options) {
|
|
3118
|
+
return (0, exports.DefaultApiFp)(this.configuration).registeredVehiclesIsLicensePlateVip(plateNo, options).then((request) => request(this.axios, this.basePath));
|
|
3119
|
+
}
|
|
3059
3120
|
/**
|
|
3060
3121
|
*
|
|
3061
3122
|
* @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
|