ob-parking-sdk 0.0.54 → 0.0.55
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 +71 -0
- package/dist/api/api.d.ts +33 -0
- package/dist/api/api.js +66 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -4608,6 +4608,44 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4608
4608
|
options: localVarRequestOptions,
|
|
4609
4609
|
};
|
|
4610
4610
|
},
|
|
4611
|
+
/**
|
|
4612
|
+
*
|
|
4613
|
+
* @param {string} id
|
|
4614
|
+
* @param {string} [xAccountId]
|
|
4615
|
+
* @param {*} [options] Override http request option.
|
|
4616
|
+
* @throws {RequiredError}
|
|
4617
|
+
*/
|
|
4618
|
+
registeredVehiclesDelete: async (id: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4619
|
+
// verify required parameter 'id' is not null or undefined
|
|
4620
|
+
assertParamExists('registeredVehiclesDelete', 'id', id)
|
|
4621
|
+
const localVarPath = `/registered-vehicles/delete/{id}`
|
|
4622
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4623
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4624
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4625
|
+
let baseOptions;
|
|
4626
|
+
if (configuration) {
|
|
4627
|
+
baseOptions = configuration.baseOptions;
|
|
4628
|
+
}
|
|
4629
|
+
|
|
4630
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
4631
|
+
const localVarHeaderParameter = {} as any;
|
|
4632
|
+
const localVarQueryParameter = {} as any;
|
|
4633
|
+
|
|
4634
|
+
if (xAccountId != null) {
|
|
4635
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
4636
|
+
}
|
|
4637
|
+
|
|
4638
|
+
|
|
4639
|
+
|
|
4640
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4641
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4642
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4643
|
+
|
|
4644
|
+
return {
|
|
4645
|
+
url: toPathString(localVarUrlObj),
|
|
4646
|
+
options: localVarRequestOptions,
|
|
4647
|
+
};
|
|
4648
|
+
},
|
|
4611
4649
|
/**
|
|
4612
4650
|
*
|
|
4613
4651
|
* @param {string} [xAccountId]
|
|
@@ -5370,6 +5408,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5370
5408
|
const localVarAxiosArgs = await localVarAxiosParamCreator.receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options);
|
|
5371
5409
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5372
5410
|
},
|
|
5411
|
+
/**
|
|
5412
|
+
*
|
|
5413
|
+
* @param {string} id
|
|
5414
|
+
* @param {string} [xAccountId]
|
|
5415
|
+
* @param {*} [options] Override http request option.
|
|
5416
|
+
* @throws {RequiredError}
|
|
5417
|
+
*/
|
|
5418
|
+
async registeredVehiclesDelete(id: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
|
|
5419
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesDelete(id, xAccountId, options);
|
|
5420
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5421
|
+
},
|
|
5373
5422
|
/**
|
|
5374
5423
|
*
|
|
5375
5424
|
* @param {string} [xAccountId]
|
|
@@ -5843,6 +5892,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5843
5892
|
receiptValidateOcrReceiptImage(validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: any): AxiosPromise<ReceiptData> {
|
|
5844
5893
|
return localVarFp.receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options).then((request) => request(axios, basePath));
|
|
5845
5894
|
},
|
|
5895
|
+
/**
|
|
5896
|
+
*
|
|
5897
|
+
* @param {string} id
|
|
5898
|
+
* @param {string} [xAccountId]
|
|
5899
|
+
* @param {*} [options] Override http request option.
|
|
5900
|
+
* @throws {RequiredError}
|
|
5901
|
+
*/
|
|
5902
|
+
registeredVehiclesDelete(id: string, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
|
|
5903
|
+
return localVarFp.registeredVehiclesDelete(id, xAccountId, options).then((request) => request(axios, basePath));
|
|
5904
|
+
},
|
|
5846
5905
|
/**
|
|
5847
5906
|
*
|
|
5848
5907
|
* @param {string} [xAccountId]
|
|
@@ -6374,6 +6433,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
6374
6433
|
return DefaultApiFp(this.configuration).receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
6375
6434
|
}
|
|
6376
6435
|
|
|
6436
|
+
/**
|
|
6437
|
+
*
|
|
6438
|
+
* @param {string} id
|
|
6439
|
+
* @param {string} [xAccountId]
|
|
6440
|
+
* @param {*} [options] Override http request option.
|
|
6441
|
+
* @throws {RequiredError}
|
|
6442
|
+
* @memberof DefaultApi
|
|
6443
|
+
*/
|
|
6444
|
+
public registeredVehiclesDelete(id: string, xAccountId?: string, options?: AxiosRequestConfig) {
|
|
6445
|
+
return DefaultApiFp(this.configuration).registeredVehiclesDelete(id, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
6446
|
+
}
|
|
6447
|
+
|
|
6377
6448
|
/**
|
|
6378
6449
|
*
|
|
6379
6450
|
* @param {string} [xAccountId]
|
package/dist/api/api.d.ts
CHANGED
|
@@ -3396,6 +3396,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3396
3396
|
* @throws {RequiredError}
|
|
3397
3397
|
*/
|
|
3398
3398
|
receiptValidateOcrReceiptImage: (validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3399
|
+
/**
|
|
3400
|
+
*
|
|
3401
|
+
* @param {string} id
|
|
3402
|
+
* @param {string} [xAccountId]
|
|
3403
|
+
* @param {*} [options] Override http request option.
|
|
3404
|
+
* @throws {RequiredError}
|
|
3405
|
+
*/
|
|
3406
|
+
registeredVehiclesDelete: (id: string, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3399
3407
|
/**
|
|
3400
3408
|
*
|
|
3401
3409
|
* @param {string} [xAccountId]
|
|
@@ -3767,6 +3775,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3767
3775
|
* @throws {RequiredError}
|
|
3768
3776
|
*/
|
|
3769
3777
|
receiptValidateOcrReceiptImage(validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptData>>;
|
|
3778
|
+
/**
|
|
3779
|
+
*
|
|
3780
|
+
* @param {string} id
|
|
3781
|
+
* @param {string} [xAccountId]
|
|
3782
|
+
* @param {*} [options] Override http request option.
|
|
3783
|
+
* @throws {RequiredError}
|
|
3784
|
+
*/
|
|
3785
|
+
registeredVehiclesDelete(id: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>>;
|
|
3770
3786
|
/**
|
|
3771
3787
|
*
|
|
3772
3788
|
* @param {string} [xAccountId]
|
|
@@ -4138,6 +4154,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4138
4154
|
* @throws {RequiredError}
|
|
4139
4155
|
*/
|
|
4140
4156
|
receiptValidateOcrReceiptImage(validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: any): AxiosPromise<ReceiptData>;
|
|
4157
|
+
/**
|
|
4158
|
+
*
|
|
4159
|
+
* @param {string} id
|
|
4160
|
+
* @param {string} [xAccountId]
|
|
4161
|
+
* @param {*} [options] Override http request option.
|
|
4162
|
+
* @throws {RequiredError}
|
|
4163
|
+
*/
|
|
4164
|
+
registeredVehiclesDelete(id: string, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse>;
|
|
4141
4165
|
/**
|
|
4142
4166
|
*
|
|
4143
4167
|
* @param {string} [xAccountId]
|
|
@@ -4545,6 +4569,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4545
4569
|
* @memberof DefaultApi
|
|
4546
4570
|
*/
|
|
4547
4571
|
receiptValidateOcrReceiptImage(validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReceiptData, any>>;
|
|
4572
|
+
/**
|
|
4573
|
+
*
|
|
4574
|
+
* @param {string} id
|
|
4575
|
+
* @param {string} [xAccountId]
|
|
4576
|
+
* @param {*} [options] Override http request option.
|
|
4577
|
+
* @throws {RequiredError}
|
|
4578
|
+
* @memberof DefaultApi
|
|
4579
|
+
*/
|
|
4580
|
+
registeredVehiclesDelete(id: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredVehicleResponse, any>>;
|
|
4548
4581
|
/**
|
|
4549
4582
|
*
|
|
4550
4583
|
* @param {string} [xAccountId]
|
package/dist/api/api.js
CHANGED
|
@@ -1305,6 +1305,38 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1305
1305
|
options: localVarRequestOptions,
|
|
1306
1306
|
};
|
|
1307
1307
|
}),
|
|
1308
|
+
/**
|
|
1309
|
+
*
|
|
1310
|
+
* @param {string} id
|
|
1311
|
+
* @param {string} [xAccountId]
|
|
1312
|
+
* @param {*} [options] Override http request option.
|
|
1313
|
+
* @throws {RequiredError}
|
|
1314
|
+
*/
|
|
1315
|
+
registeredVehiclesDelete: (id, xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1316
|
+
// verify required parameter 'id' is not null or undefined
|
|
1317
|
+
(0, common_1.assertParamExists)('registeredVehiclesDelete', 'id', id);
|
|
1318
|
+
const localVarPath = `/registered-vehicles/delete/{id}`
|
|
1319
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1320
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1321
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1322
|
+
let baseOptions;
|
|
1323
|
+
if (configuration) {
|
|
1324
|
+
baseOptions = configuration.baseOptions;
|
|
1325
|
+
}
|
|
1326
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1327
|
+
const localVarHeaderParameter = {};
|
|
1328
|
+
const localVarQueryParameter = {};
|
|
1329
|
+
if (xAccountId != null) {
|
|
1330
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
1331
|
+
}
|
|
1332
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1333
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1334
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1335
|
+
return {
|
|
1336
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1337
|
+
options: localVarRequestOptions,
|
|
1338
|
+
};
|
|
1339
|
+
}),
|
|
1308
1340
|
/**
|
|
1309
1341
|
*
|
|
1310
1342
|
* @param {string} [xAccountId]
|
|
@@ -2075,6 +2107,19 @@ const DefaultApiFp = function (configuration) {
|
|
|
2075
2107
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2076
2108
|
});
|
|
2077
2109
|
},
|
|
2110
|
+
/**
|
|
2111
|
+
*
|
|
2112
|
+
* @param {string} id
|
|
2113
|
+
* @param {string} [xAccountId]
|
|
2114
|
+
* @param {*} [options] Override http request option.
|
|
2115
|
+
* @throws {RequiredError}
|
|
2116
|
+
*/
|
|
2117
|
+
registeredVehiclesDelete(id, xAccountId, options) {
|
|
2118
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2119
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.registeredVehiclesDelete(id, xAccountId, options);
|
|
2120
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2121
|
+
});
|
|
2122
|
+
},
|
|
2078
2123
|
/**
|
|
2079
2124
|
*
|
|
2080
2125
|
* @param {string} [xAccountId]
|
|
@@ -2568,6 +2613,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2568
2613
|
receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options) {
|
|
2569
2614
|
return localVarFp.receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options).then((request) => request(axios, basePath));
|
|
2570
2615
|
},
|
|
2616
|
+
/**
|
|
2617
|
+
*
|
|
2618
|
+
* @param {string} id
|
|
2619
|
+
* @param {string} [xAccountId]
|
|
2620
|
+
* @param {*} [options] Override http request option.
|
|
2621
|
+
* @throws {RequiredError}
|
|
2622
|
+
*/
|
|
2623
|
+
registeredVehiclesDelete(id, xAccountId, options) {
|
|
2624
|
+
return localVarFp.registeredVehiclesDelete(id, xAccountId, options).then((request) => request(axios, basePath));
|
|
2625
|
+
},
|
|
2571
2626
|
/**
|
|
2572
2627
|
*
|
|
2573
2628
|
* @param {string} [xAccountId]
|
|
@@ -3065,6 +3120,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3065
3120
|
receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options) {
|
|
3066
3121
|
return (0, exports.DefaultApiFp)(this.configuration).receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
3067
3122
|
}
|
|
3123
|
+
/**
|
|
3124
|
+
*
|
|
3125
|
+
* @param {string} id
|
|
3126
|
+
* @param {string} [xAccountId]
|
|
3127
|
+
* @param {*} [options] Override http request option.
|
|
3128
|
+
* @throws {RequiredError}
|
|
3129
|
+
* @memberof DefaultApi
|
|
3130
|
+
*/
|
|
3131
|
+
registeredVehiclesDelete(id, xAccountId, options) {
|
|
3132
|
+
return (0, exports.DefaultApiFp)(this.configuration).registeredVehiclesDelete(id, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
3133
|
+
}
|
|
3068
3134
|
/**
|
|
3069
3135
|
*
|
|
3070
3136
|
* @param {string} [xAccountId]
|