ob-parking-sdk 0.0.13 → 0.0.14
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 +63 -1
- package/dist/api/api.d.ts +32 -1
- package/dist/api/api.js +52 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -852,7 +852,7 @@ export interface GetParkingDetailResponse {
|
|
|
852
852
|
* @type {string}
|
|
853
853
|
* @memberof GetParkingDetailResponse
|
|
854
854
|
*/
|
|
855
|
-
'
|
|
855
|
+
'licensePlate': string;
|
|
856
856
|
/**
|
|
857
857
|
*
|
|
858
858
|
* @type {ParkingAccountDetail}
|
|
@@ -896,6 +896,12 @@ export interface GetParkingDetailsIndexResponse {
|
|
|
896
896
|
* @memberof GetParkingDetailsIndexResponse
|
|
897
897
|
*/
|
|
898
898
|
'parkingTicketId': string;
|
|
899
|
+
/**
|
|
900
|
+
*
|
|
901
|
+
* @type {string}
|
|
902
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
903
|
+
*/
|
|
904
|
+
'plate_no': string;
|
|
899
905
|
/**
|
|
900
906
|
*
|
|
901
907
|
* @type {ParkingAccountDetail}
|
|
@@ -2385,6 +2391,35 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2385
2391
|
options: localVarRequestOptions,
|
|
2386
2392
|
};
|
|
2387
2393
|
},
|
|
2394
|
+
/**
|
|
2395
|
+
*
|
|
2396
|
+
* @param {*} [options] Override http request option.
|
|
2397
|
+
* @throws {RequiredError}
|
|
2398
|
+
*/
|
|
2399
|
+
health: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2400
|
+
const localVarPath = `/health`;
|
|
2401
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2402
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2403
|
+
let baseOptions;
|
|
2404
|
+
if (configuration) {
|
|
2405
|
+
baseOptions = configuration.baseOptions;
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2408
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2409
|
+
const localVarHeaderParameter = {} as any;
|
|
2410
|
+
const localVarQueryParameter = {} as any;
|
|
2411
|
+
|
|
2412
|
+
|
|
2413
|
+
|
|
2414
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2415
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2416
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2417
|
+
|
|
2418
|
+
return {
|
|
2419
|
+
url: toPathString(localVarUrlObj),
|
|
2420
|
+
options: localVarRequestOptions,
|
|
2421
|
+
};
|
|
2422
|
+
},
|
|
2388
2423
|
/**
|
|
2389
2424
|
*
|
|
2390
2425
|
* @param {string} logId
|
|
@@ -3000,6 +3035,15 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3000
3035
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpdateStoreWhitelist(id, updateConfigStoreWhitelist, options);
|
|
3001
3036
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3002
3037
|
},
|
|
3038
|
+
/**
|
|
3039
|
+
*
|
|
3040
|
+
* @param {*} [options] Override http request option.
|
|
3041
|
+
* @throws {RequiredError}
|
|
3042
|
+
*/
|
|
3043
|
+
async health(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
3044
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.health(options);
|
|
3045
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3046
|
+
},
|
|
3003
3047
|
/**
|
|
3004
3048
|
*
|
|
3005
3049
|
* @param {string} logId
|
|
@@ -3323,6 +3367,14 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3323
3367
|
configUpdateStoreWhitelist(id: string, updateConfigStoreWhitelist: UpdateConfigStoreWhitelist, options?: any): AxiosPromise<StoreWhitelistResponse> {
|
|
3324
3368
|
return localVarFp.configUpdateStoreWhitelist(id, updateConfigStoreWhitelist, options).then((request) => request(axios, basePath));
|
|
3325
3369
|
},
|
|
3370
|
+
/**
|
|
3371
|
+
*
|
|
3372
|
+
* @param {*} [options] Override http request option.
|
|
3373
|
+
* @throws {RequiredError}
|
|
3374
|
+
*/
|
|
3375
|
+
health(options?: any): AxiosPromise<void> {
|
|
3376
|
+
return localVarFp.health(options).then((request) => request(axios, basePath));
|
|
3377
|
+
},
|
|
3326
3378
|
/**
|
|
3327
3379
|
*
|
|
3328
3380
|
* @param {string} logId
|
|
@@ -3685,6 +3737,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
3685
3737
|
return DefaultApiFp(this.configuration).configUpdateStoreWhitelist(id, updateConfigStoreWhitelist, options).then((request) => request(this.axios, this.basePath));
|
|
3686
3738
|
}
|
|
3687
3739
|
|
|
3740
|
+
/**
|
|
3741
|
+
*
|
|
3742
|
+
* @param {*} [options] Override http request option.
|
|
3743
|
+
* @throws {RequiredError}
|
|
3744
|
+
* @memberof DefaultApi
|
|
3745
|
+
*/
|
|
3746
|
+
public health(options?: AxiosRequestConfig) {
|
|
3747
|
+
return DefaultApiFp(this.configuration).health(options).then((request) => request(this.axios, this.basePath));
|
|
3748
|
+
}
|
|
3749
|
+
|
|
3688
3750
|
/**
|
|
3689
3751
|
*
|
|
3690
3752
|
* @param {string} logId
|
package/dist/api/api.d.ts
CHANGED
|
@@ -830,7 +830,7 @@ export interface GetParkingDetailResponse {
|
|
|
830
830
|
* @type {string}
|
|
831
831
|
* @memberof GetParkingDetailResponse
|
|
832
832
|
*/
|
|
833
|
-
'
|
|
833
|
+
'licensePlate': string;
|
|
834
834
|
/**
|
|
835
835
|
*
|
|
836
836
|
* @type {ParkingAccountDetail}
|
|
@@ -874,6 +874,12 @@ export interface GetParkingDetailsIndexResponse {
|
|
|
874
874
|
* @memberof GetParkingDetailsIndexResponse
|
|
875
875
|
*/
|
|
876
876
|
'parkingTicketId': string;
|
|
877
|
+
/**
|
|
878
|
+
*
|
|
879
|
+
* @type {string}
|
|
880
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
881
|
+
*/
|
|
882
|
+
'plate_no': string;
|
|
877
883
|
/**
|
|
878
884
|
*
|
|
879
885
|
* @type {ParkingAccountDetail}
|
|
@@ -1679,6 +1685,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1679
1685
|
* @throws {RequiredError}
|
|
1680
1686
|
*/
|
|
1681
1687
|
configUpdateStoreWhitelist: (id: string, updateConfigStoreWhitelist: UpdateConfigStoreWhitelist, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1688
|
+
/**
|
|
1689
|
+
*
|
|
1690
|
+
* @param {*} [options] Override http request option.
|
|
1691
|
+
* @throws {RequiredError}
|
|
1692
|
+
*/
|
|
1693
|
+
health: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1682
1694
|
/**
|
|
1683
1695
|
*
|
|
1684
1696
|
* @param {string} logId
|
|
@@ -1931,6 +1943,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1931
1943
|
* @throws {RequiredError}
|
|
1932
1944
|
*/
|
|
1933
1945
|
configUpdateStoreWhitelist(id: string, updateConfigStoreWhitelist: UpdateConfigStoreWhitelist, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreWhitelistResponse>>;
|
|
1946
|
+
/**
|
|
1947
|
+
*
|
|
1948
|
+
* @param {*} [options] Override http request option.
|
|
1949
|
+
* @throws {RequiredError}
|
|
1950
|
+
*/
|
|
1951
|
+
health(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1934
1952
|
/**
|
|
1935
1953
|
*
|
|
1936
1954
|
* @param {string} logId
|
|
@@ -2183,6 +2201,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2183
2201
|
* @throws {RequiredError}
|
|
2184
2202
|
*/
|
|
2185
2203
|
configUpdateStoreWhitelist(id: string, updateConfigStoreWhitelist: UpdateConfigStoreWhitelist, options?: any): AxiosPromise<StoreWhitelistResponse>;
|
|
2204
|
+
/**
|
|
2205
|
+
*
|
|
2206
|
+
* @param {*} [options] Override http request option.
|
|
2207
|
+
* @throws {RequiredError}
|
|
2208
|
+
*/
|
|
2209
|
+
health(options?: any): AxiosPromise<void>;
|
|
2186
2210
|
/**
|
|
2187
2211
|
*
|
|
2188
2212
|
* @param {string} logId
|
|
@@ -2460,6 +2484,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2460
2484
|
* @memberof DefaultApi
|
|
2461
2485
|
*/
|
|
2462
2486
|
configUpdateStoreWhitelist(id: string, updateConfigStoreWhitelist: UpdateConfigStoreWhitelist, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreWhitelistResponse, any>>;
|
|
2487
|
+
/**
|
|
2488
|
+
*
|
|
2489
|
+
* @param {*} [options] Override http request option.
|
|
2490
|
+
* @throws {RequiredError}
|
|
2491
|
+
* @memberof DefaultApi
|
|
2492
|
+
*/
|
|
2493
|
+
health(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2463
2494
|
/**
|
|
2464
2495
|
*
|
|
2465
2496
|
* @param {string} logId
|
package/dist/api/api.js
CHANGED
|
@@ -772,6 +772,30 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
772
772
|
options: localVarRequestOptions,
|
|
773
773
|
};
|
|
774
774
|
}),
|
|
775
|
+
/**
|
|
776
|
+
*
|
|
777
|
+
* @param {*} [options] Override http request option.
|
|
778
|
+
* @throws {RequiredError}
|
|
779
|
+
*/
|
|
780
|
+
health: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
781
|
+
const localVarPath = `/health`;
|
|
782
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
783
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
784
|
+
let baseOptions;
|
|
785
|
+
if (configuration) {
|
|
786
|
+
baseOptions = configuration.baseOptions;
|
|
787
|
+
}
|
|
788
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
789
|
+
const localVarHeaderParameter = {};
|
|
790
|
+
const localVarQueryParameter = {};
|
|
791
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
792
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
793
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
794
|
+
return {
|
|
795
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
796
|
+
options: localVarRequestOptions,
|
|
797
|
+
};
|
|
798
|
+
}),
|
|
775
799
|
/**
|
|
776
800
|
*
|
|
777
801
|
* @param {string} logId
|
|
@@ -1368,6 +1392,17 @@ const DefaultApiFp = function (configuration) {
|
|
|
1368
1392
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1369
1393
|
});
|
|
1370
1394
|
},
|
|
1395
|
+
/**
|
|
1396
|
+
*
|
|
1397
|
+
* @param {*} [options] Override http request option.
|
|
1398
|
+
* @throws {RequiredError}
|
|
1399
|
+
*/
|
|
1400
|
+
health(options) {
|
|
1401
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1402
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.health(options);
|
|
1403
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1404
|
+
});
|
|
1405
|
+
},
|
|
1371
1406
|
/**
|
|
1372
1407
|
*
|
|
1373
1408
|
* @param {string} logId
|
|
@@ -1705,6 +1740,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1705
1740
|
configUpdateStoreWhitelist(id, updateConfigStoreWhitelist, options) {
|
|
1706
1741
|
return localVarFp.configUpdateStoreWhitelist(id, updateConfigStoreWhitelist, options).then((request) => request(axios, basePath));
|
|
1707
1742
|
},
|
|
1743
|
+
/**
|
|
1744
|
+
*
|
|
1745
|
+
* @param {*} [options] Override http request option.
|
|
1746
|
+
* @throws {RequiredError}
|
|
1747
|
+
*/
|
|
1748
|
+
health(options) {
|
|
1749
|
+
return localVarFp.health(options).then((request) => request(axios, basePath));
|
|
1750
|
+
},
|
|
1708
1751
|
/**
|
|
1709
1752
|
*
|
|
1710
1753
|
* @param {string} logId
|
|
@@ -2044,6 +2087,15 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2044
2087
|
configUpdateStoreWhitelist(id, updateConfigStoreWhitelist, options) {
|
|
2045
2088
|
return (0, exports.DefaultApiFp)(this.configuration).configUpdateStoreWhitelist(id, updateConfigStoreWhitelist, options).then((request) => request(this.axios, this.basePath));
|
|
2046
2089
|
}
|
|
2090
|
+
/**
|
|
2091
|
+
*
|
|
2092
|
+
* @param {*} [options] Override http request option.
|
|
2093
|
+
* @throws {RequiredError}
|
|
2094
|
+
* @memberof DefaultApi
|
|
2095
|
+
*/
|
|
2096
|
+
health(options) {
|
|
2097
|
+
return (0, exports.DefaultApiFp)(this.configuration).health(options).then((request) => request(this.axios, this.basePath));
|
|
2098
|
+
}
|
|
2047
2099
|
/**
|
|
2048
2100
|
*
|
|
2049
2101
|
* @param {string} logId
|