ob-parking-sdk 0.0.78 → 0.0.80
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 +852 -26
- 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 +674 -13
- package/dist/api/api.js +300 -25
- 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/dist/api/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* obk-parking
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.27.
|
|
8
|
+
* The version of the OpenAPI document: 1.27.10
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.VehicleType = exports.RedeemType = exports.ReceiptStatus = exports.ParkingDetailStatus = exports.ParkingDetailRedeemBodySourceEnum = exports.EngineType = exports.CmsParkingDetailRedeemBodySourceEnum = exports.AddParkingTicketType = exports.AddParkingTicketIdType = void 0;
|
|
28
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.VehicleType = exports.RedemptionType = exports.RedeemType = exports.ReceiptStatus = exports.ParkingDetailStatus = exports.ParkingDetailRedeemBodySourceEnum = exports.EngineType = exports.CouponHistoryStatus = exports.CouponHistoryChanel = exports.CmsParkingDetailRedeemBodySourceEnum = exports.AddParkingTicketType = exports.AddParkingTicketIdType = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -55,6 +55,23 @@ exports.AddParkingTicketType = {
|
|
|
55
55
|
exports.CmsParkingDetailRedeemBodySourceEnum = {
|
|
56
56
|
Cms: 'cms'
|
|
57
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @export
|
|
61
|
+
* @enum {string}
|
|
62
|
+
*/
|
|
63
|
+
exports.CouponHistoryChanel = {
|
|
64
|
+
App: 'APP'
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @export
|
|
69
|
+
* @enum {string}
|
|
70
|
+
*/
|
|
71
|
+
exports.CouponHistoryStatus = {
|
|
72
|
+
Success: 'SUCCESS',
|
|
73
|
+
Failed: 'FAILED'
|
|
74
|
+
};
|
|
58
75
|
/**
|
|
59
76
|
*
|
|
60
77
|
* @export
|
|
@@ -99,6 +116,15 @@ exports.RedeemType = {
|
|
|
99
116
|
Coupon: 'COUPON',
|
|
100
117
|
Redeem: 'REDEEM'
|
|
101
118
|
};
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @export
|
|
122
|
+
* @enum {string}
|
|
123
|
+
*/
|
|
124
|
+
exports.RedemptionType = {
|
|
125
|
+
Coupon: 'Coupon',
|
|
126
|
+
EStamp: 'E-stamp'
|
|
127
|
+
};
|
|
102
128
|
/**
|
|
103
129
|
*
|
|
104
130
|
* @export
|
|
@@ -770,6 +796,135 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
770
796
|
options: localVarRequestOptions,
|
|
771
797
|
};
|
|
772
798
|
}),
|
|
799
|
+
/**
|
|
800
|
+
*
|
|
801
|
+
* @param {ApplyCouponBody} applyCouponBody
|
|
802
|
+
* @param {*} [options] Override http request option.
|
|
803
|
+
* @throws {RequiredError}
|
|
804
|
+
*/
|
|
805
|
+
couponApply: (applyCouponBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
806
|
+
// verify required parameter 'applyCouponBody' is not null or undefined
|
|
807
|
+
(0, common_1.assertParamExists)('couponApply', 'applyCouponBody', applyCouponBody);
|
|
808
|
+
const localVarPath = `/coupon/apply`;
|
|
809
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
810
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
811
|
+
let baseOptions;
|
|
812
|
+
if (configuration) {
|
|
813
|
+
baseOptions = configuration.baseOptions;
|
|
814
|
+
}
|
|
815
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
816
|
+
const localVarHeaderParameter = {};
|
|
817
|
+
const localVarQueryParameter = {};
|
|
818
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
819
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
820
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
821
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
822
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(applyCouponBody, localVarRequestOptions, configuration);
|
|
823
|
+
return {
|
|
824
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
825
|
+
options: localVarRequestOptions,
|
|
826
|
+
};
|
|
827
|
+
}),
|
|
828
|
+
/**
|
|
829
|
+
*
|
|
830
|
+
* @param {string} [orderBy]
|
|
831
|
+
* @param {string} [orderDirection]
|
|
832
|
+
* @param {number} [pageNumber]
|
|
833
|
+
* @param {number} [pageSize]
|
|
834
|
+
* @param {string} [filterBy]
|
|
835
|
+
* @param {string} [filterKey]
|
|
836
|
+
* @param {string} [parkingDetailId]
|
|
837
|
+
* @param {string} [couponCode]
|
|
838
|
+
* @param {CouponHistoryStatus} [status]
|
|
839
|
+
* @param {string} [startDate]
|
|
840
|
+
* @param {string} [endDate]
|
|
841
|
+
* @param {CouponHistoryChanel} [chanel]
|
|
842
|
+
* @param {*} [options] Override http request option.
|
|
843
|
+
* @throws {RequiredError}
|
|
844
|
+
*/
|
|
845
|
+
couponHistoryIndex: (orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, parkingDetailId, couponCode, status, startDate, endDate, chanel, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
846
|
+
const localVarPath = `/coupon-history`;
|
|
847
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
848
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
849
|
+
let baseOptions;
|
|
850
|
+
if (configuration) {
|
|
851
|
+
baseOptions = configuration.baseOptions;
|
|
852
|
+
}
|
|
853
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
854
|
+
const localVarHeaderParameter = {};
|
|
855
|
+
const localVarQueryParameter = {};
|
|
856
|
+
if (orderBy !== undefined) {
|
|
857
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
858
|
+
}
|
|
859
|
+
if (orderDirection !== undefined) {
|
|
860
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
861
|
+
}
|
|
862
|
+
if (pageNumber !== undefined) {
|
|
863
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
864
|
+
}
|
|
865
|
+
if (pageSize !== undefined) {
|
|
866
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
867
|
+
}
|
|
868
|
+
if (filterBy !== undefined) {
|
|
869
|
+
localVarQueryParameter['filter_by'] = filterBy;
|
|
870
|
+
}
|
|
871
|
+
if (filterKey !== undefined) {
|
|
872
|
+
localVarQueryParameter['filter_key'] = filterKey;
|
|
873
|
+
}
|
|
874
|
+
if (parkingDetailId !== undefined) {
|
|
875
|
+
localVarQueryParameter['parking_detail_id'] = parkingDetailId;
|
|
876
|
+
}
|
|
877
|
+
if (couponCode !== undefined) {
|
|
878
|
+
localVarQueryParameter['coupon_code'] = couponCode;
|
|
879
|
+
}
|
|
880
|
+
if (status !== undefined) {
|
|
881
|
+
localVarQueryParameter['status'] = status;
|
|
882
|
+
}
|
|
883
|
+
if (startDate !== undefined) {
|
|
884
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
885
|
+
}
|
|
886
|
+
if (endDate !== undefined) {
|
|
887
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
888
|
+
}
|
|
889
|
+
if (chanel !== undefined) {
|
|
890
|
+
localVarQueryParameter['chanel'] = chanel;
|
|
891
|
+
}
|
|
892
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
893
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
894
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
895
|
+
return {
|
|
896
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
897
|
+
options: localVarRequestOptions,
|
|
898
|
+
};
|
|
899
|
+
}),
|
|
900
|
+
/**
|
|
901
|
+
*
|
|
902
|
+
* @param {string} couponCode
|
|
903
|
+
* @param {*} [options] Override http request option.
|
|
904
|
+
* @throws {RequiredError}
|
|
905
|
+
*/
|
|
906
|
+
couponValidate: (couponCode, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
907
|
+
// verify required parameter 'couponCode' is not null or undefined
|
|
908
|
+
(0, common_1.assertParamExists)('couponValidate', 'couponCode', couponCode);
|
|
909
|
+
const localVarPath = `/coupon/validate/{couponCode}`
|
|
910
|
+
.replace(`{${"couponCode"}}`, encodeURIComponent(String(couponCode)));
|
|
911
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
912
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
913
|
+
let baseOptions;
|
|
914
|
+
if (configuration) {
|
|
915
|
+
baseOptions = configuration.baseOptions;
|
|
916
|
+
}
|
|
917
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
918
|
+
const localVarHeaderParameter = {};
|
|
919
|
+
const localVarQueryParameter = {};
|
|
920
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
921
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
922
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
923
|
+
return {
|
|
924
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
925
|
+
options: localVarRequestOptions,
|
|
926
|
+
};
|
|
927
|
+
}),
|
|
773
928
|
/**
|
|
774
929
|
*
|
|
775
930
|
* @param {*} [options] Override http request option.
|
|
@@ -1763,31 +1918,28 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1763
1918
|
}),
|
|
1764
1919
|
/**
|
|
1765
1920
|
*
|
|
1766
|
-
* @param {
|
|
1767
|
-
* @param {string} [province]
|
|
1921
|
+
* @param {UpgradeToVipBody} upgradeToVipBody
|
|
1768
1922
|
* @param {*} [options] Override http request option.
|
|
1769
1923
|
* @throws {RequiredError}
|
|
1770
1924
|
*/
|
|
1771
|
-
registeredVehiclesUpgradeToVip: (
|
|
1772
|
-
// verify required parameter '
|
|
1773
|
-
(0, common_1.assertParamExists)('registeredVehiclesUpgradeToVip', '
|
|
1774
|
-
const localVarPath = `/registered-vehicles/upgrade-to-vip
|
|
1775
|
-
.replace(`{${"license-plate"}}`, encodeURIComponent(String(licensePlate)));
|
|
1925
|
+
registeredVehiclesUpgradeToVip: (upgradeToVipBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1926
|
+
// verify required parameter 'upgradeToVipBody' is not null or undefined
|
|
1927
|
+
(0, common_1.assertParamExists)('registeredVehiclesUpgradeToVip', 'upgradeToVipBody', upgradeToVipBody);
|
|
1928
|
+
const localVarPath = `/registered-vehicles/upgrade-to-vip`;
|
|
1776
1929
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1777
1930
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1778
1931
|
let baseOptions;
|
|
1779
1932
|
if (configuration) {
|
|
1780
1933
|
baseOptions = configuration.baseOptions;
|
|
1781
1934
|
}
|
|
1782
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
1935
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1783
1936
|
const localVarHeaderParameter = {};
|
|
1784
1937
|
const localVarQueryParameter = {};
|
|
1785
|
-
|
|
1786
|
-
localVarQueryParameter['province'] = province;
|
|
1787
|
-
}
|
|
1938
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1788
1939
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1789
1940
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1790
1941
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1942
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(upgradeToVipBody, localVarRequestOptions, configuration);
|
|
1791
1943
|
return {
|
|
1792
1944
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1793
1945
|
options: localVarRequestOptions,
|
|
@@ -2165,6 +2317,53 @@ const DefaultApiFp = function (configuration) {
|
|
|
2165
2317
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2166
2318
|
});
|
|
2167
2319
|
},
|
|
2320
|
+
/**
|
|
2321
|
+
*
|
|
2322
|
+
* @param {ApplyCouponBody} applyCouponBody
|
|
2323
|
+
* @param {*} [options] Override http request option.
|
|
2324
|
+
* @throws {RequiredError}
|
|
2325
|
+
*/
|
|
2326
|
+
couponApply(applyCouponBody, options) {
|
|
2327
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2328
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.couponApply(applyCouponBody, options);
|
|
2329
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2330
|
+
});
|
|
2331
|
+
},
|
|
2332
|
+
/**
|
|
2333
|
+
*
|
|
2334
|
+
* @param {string} [orderBy]
|
|
2335
|
+
* @param {string} [orderDirection]
|
|
2336
|
+
* @param {number} [pageNumber]
|
|
2337
|
+
* @param {number} [pageSize]
|
|
2338
|
+
* @param {string} [filterBy]
|
|
2339
|
+
* @param {string} [filterKey]
|
|
2340
|
+
* @param {string} [parkingDetailId]
|
|
2341
|
+
* @param {string} [couponCode]
|
|
2342
|
+
* @param {CouponHistoryStatus} [status]
|
|
2343
|
+
* @param {string} [startDate]
|
|
2344
|
+
* @param {string} [endDate]
|
|
2345
|
+
* @param {CouponHistoryChanel} [chanel]
|
|
2346
|
+
* @param {*} [options] Override http request option.
|
|
2347
|
+
* @throws {RequiredError}
|
|
2348
|
+
*/
|
|
2349
|
+
couponHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, parkingDetailId, couponCode, status, startDate, endDate, chanel, options) {
|
|
2350
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2351
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.couponHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, parkingDetailId, couponCode, status, startDate, endDate, chanel, options);
|
|
2352
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2353
|
+
});
|
|
2354
|
+
},
|
|
2355
|
+
/**
|
|
2356
|
+
*
|
|
2357
|
+
* @param {string} couponCode
|
|
2358
|
+
* @param {*} [options] Override http request option.
|
|
2359
|
+
* @throws {RequiredError}
|
|
2360
|
+
*/
|
|
2361
|
+
couponValidate(couponCode, options) {
|
|
2362
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2363
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.couponValidate(couponCode, options);
|
|
2364
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2365
|
+
});
|
|
2366
|
+
},
|
|
2168
2367
|
/**
|
|
2169
2368
|
*
|
|
2170
2369
|
* @param {*} [options] Override http request option.
|
|
@@ -2535,14 +2734,13 @@ const DefaultApiFp = function (configuration) {
|
|
|
2535
2734
|
},
|
|
2536
2735
|
/**
|
|
2537
2736
|
*
|
|
2538
|
-
* @param {
|
|
2539
|
-
* @param {string} [province]
|
|
2737
|
+
* @param {UpgradeToVipBody} upgradeToVipBody
|
|
2540
2738
|
* @param {*} [options] Override http request option.
|
|
2541
2739
|
* @throws {RequiredError}
|
|
2542
2740
|
*/
|
|
2543
|
-
registeredVehiclesUpgradeToVip(
|
|
2741
|
+
registeredVehiclesUpgradeToVip(upgradeToVipBody, options) {
|
|
2544
2742
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2545
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.registeredVehiclesUpgradeToVip(
|
|
2743
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.registeredVehiclesUpgradeToVip(upgradeToVipBody, options);
|
|
2546
2744
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2547
2745
|
});
|
|
2548
2746
|
},
|
|
@@ -2802,6 +3000,44 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2802
3000
|
configUpdateStoreWhitelist(id, updateConfigStoreWhitelist, options) {
|
|
2803
3001
|
return localVarFp.configUpdateStoreWhitelist(id, updateConfigStoreWhitelist, options).then((request) => request(axios, basePath));
|
|
2804
3002
|
},
|
|
3003
|
+
/**
|
|
3004
|
+
*
|
|
3005
|
+
* @param {ApplyCouponBody} applyCouponBody
|
|
3006
|
+
* @param {*} [options] Override http request option.
|
|
3007
|
+
* @throws {RequiredError}
|
|
3008
|
+
*/
|
|
3009
|
+
couponApply(applyCouponBody, options) {
|
|
3010
|
+
return localVarFp.couponApply(applyCouponBody, options).then((request) => request(axios, basePath));
|
|
3011
|
+
},
|
|
3012
|
+
/**
|
|
3013
|
+
*
|
|
3014
|
+
* @param {string} [orderBy]
|
|
3015
|
+
* @param {string} [orderDirection]
|
|
3016
|
+
* @param {number} [pageNumber]
|
|
3017
|
+
* @param {number} [pageSize]
|
|
3018
|
+
* @param {string} [filterBy]
|
|
3019
|
+
* @param {string} [filterKey]
|
|
3020
|
+
* @param {string} [parkingDetailId]
|
|
3021
|
+
* @param {string} [couponCode]
|
|
3022
|
+
* @param {CouponHistoryStatus} [status]
|
|
3023
|
+
* @param {string} [startDate]
|
|
3024
|
+
* @param {string} [endDate]
|
|
3025
|
+
* @param {CouponHistoryChanel} [chanel]
|
|
3026
|
+
* @param {*} [options] Override http request option.
|
|
3027
|
+
* @throws {RequiredError}
|
|
3028
|
+
*/
|
|
3029
|
+
couponHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, parkingDetailId, couponCode, status, startDate, endDate, chanel, options) {
|
|
3030
|
+
return localVarFp.couponHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, parkingDetailId, couponCode, status, startDate, endDate, chanel, options).then((request) => request(axios, basePath));
|
|
3031
|
+
},
|
|
3032
|
+
/**
|
|
3033
|
+
*
|
|
3034
|
+
* @param {string} couponCode
|
|
3035
|
+
* @param {*} [options] Override http request option.
|
|
3036
|
+
* @throws {RequiredError}
|
|
3037
|
+
*/
|
|
3038
|
+
couponValidate(couponCode, options) {
|
|
3039
|
+
return localVarFp.couponValidate(couponCode, options).then((request) => request(axios, basePath));
|
|
3040
|
+
},
|
|
2805
3041
|
/**
|
|
2806
3042
|
*
|
|
2807
3043
|
* @param {*} [options] Override http request option.
|
|
@@ -3097,13 +3333,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3097
3333
|
},
|
|
3098
3334
|
/**
|
|
3099
3335
|
*
|
|
3100
|
-
* @param {
|
|
3101
|
-
* @param {string} [province]
|
|
3336
|
+
* @param {UpgradeToVipBody} upgradeToVipBody
|
|
3102
3337
|
* @param {*} [options] Override http request option.
|
|
3103
3338
|
* @throws {RequiredError}
|
|
3104
3339
|
*/
|
|
3105
|
-
registeredVehiclesUpgradeToVip(
|
|
3106
|
-
return localVarFp.registeredVehiclesUpgradeToVip(
|
|
3340
|
+
registeredVehiclesUpgradeToVip(upgradeToVipBody, options) {
|
|
3341
|
+
return localVarFp.registeredVehiclesUpgradeToVip(upgradeToVipBody, options).then((request) => request(axios, basePath));
|
|
3107
3342
|
},
|
|
3108
3343
|
/**
|
|
3109
3344
|
*
|
|
@@ -3369,6 +3604,47 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3369
3604
|
configUpdateStoreWhitelist(id, updateConfigStoreWhitelist, options) {
|
|
3370
3605
|
return (0, exports.DefaultApiFp)(this.configuration).configUpdateStoreWhitelist(id, updateConfigStoreWhitelist, options).then((request) => request(this.axios, this.basePath));
|
|
3371
3606
|
}
|
|
3607
|
+
/**
|
|
3608
|
+
*
|
|
3609
|
+
* @param {ApplyCouponBody} applyCouponBody
|
|
3610
|
+
* @param {*} [options] Override http request option.
|
|
3611
|
+
* @throws {RequiredError}
|
|
3612
|
+
* @memberof DefaultApi
|
|
3613
|
+
*/
|
|
3614
|
+
couponApply(applyCouponBody, options) {
|
|
3615
|
+
return (0, exports.DefaultApiFp)(this.configuration).couponApply(applyCouponBody, options).then((request) => request(this.axios, this.basePath));
|
|
3616
|
+
}
|
|
3617
|
+
/**
|
|
3618
|
+
*
|
|
3619
|
+
* @param {string} [orderBy]
|
|
3620
|
+
* @param {string} [orderDirection]
|
|
3621
|
+
* @param {number} [pageNumber]
|
|
3622
|
+
* @param {number} [pageSize]
|
|
3623
|
+
* @param {string} [filterBy]
|
|
3624
|
+
* @param {string} [filterKey]
|
|
3625
|
+
* @param {string} [parkingDetailId]
|
|
3626
|
+
* @param {string} [couponCode]
|
|
3627
|
+
* @param {CouponHistoryStatus} [status]
|
|
3628
|
+
* @param {string} [startDate]
|
|
3629
|
+
* @param {string} [endDate]
|
|
3630
|
+
* @param {CouponHistoryChanel} [chanel]
|
|
3631
|
+
* @param {*} [options] Override http request option.
|
|
3632
|
+
* @throws {RequiredError}
|
|
3633
|
+
* @memberof DefaultApi
|
|
3634
|
+
*/
|
|
3635
|
+
couponHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, parkingDetailId, couponCode, status, startDate, endDate, chanel, options) {
|
|
3636
|
+
return (0, exports.DefaultApiFp)(this.configuration).couponHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, parkingDetailId, couponCode, status, startDate, endDate, chanel, options).then((request) => request(this.axios, this.basePath));
|
|
3637
|
+
}
|
|
3638
|
+
/**
|
|
3639
|
+
*
|
|
3640
|
+
* @param {string} couponCode
|
|
3641
|
+
* @param {*} [options] Override http request option.
|
|
3642
|
+
* @throws {RequiredError}
|
|
3643
|
+
* @memberof DefaultApi
|
|
3644
|
+
*/
|
|
3645
|
+
couponValidate(couponCode, options) {
|
|
3646
|
+
return (0, exports.DefaultApiFp)(this.configuration).couponValidate(couponCode, options).then((request) => request(this.axios, this.basePath));
|
|
3647
|
+
}
|
|
3372
3648
|
/**
|
|
3373
3649
|
*
|
|
3374
3650
|
* @param {*} [options] Override http request option.
|
|
@@ -3689,14 +3965,13 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3689
3965
|
}
|
|
3690
3966
|
/**
|
|
3691
3967
|
*
|
|
3692
|
-
* @param {
|
|
3693
|
-
* @param {string} [province]
|
|
3968
|
+
* @param {UpgradeToVipBody} upgradeToVipBody
|
|
3694
3969
|
* @param {*} [options] Override http request option.
|
|
3695
3970
|
* @throws {RequiredError}
|
|
3696
3971
|
* @memberof DefaultApi
|
|
3697
3972
|
*/
|
|
3698
|
-
registeredVehiclesUpgradeToVip(
|
|
3699
|
-
return (0, exports.DefaultApiFp)(this.configuration).registeredVehiclesUpgradeToVip(
|
|
3973
|
+
registeredVehiclesUpgradeToVip(upgradeToVipBody, options) {
|
|
3974
|
+
return (0, exports.DefaultApiFp)(this.configuration).registeredVehiclesUpgradeToVip(upgradeToVipBody, options).then((request) => request(this.axios, this.basePath));
|
|
3700
3975
|
}
|
|
3701
3976
|
/**
|
|
3702
3977
|
*
|
package/dist/api/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* obk-parking
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.27.
|
|
5
|
+
* The version of the OpenAPI document: 1.27.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* obk-parking
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.27.
|
|
8
|
+
* The version of the OpenAPI document: 1.27.10
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* obk-parking
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.27.
|
|
5
|
+
* The version of the OpenAPI document: 1.27.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* obk-parking
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.27.
|
|
8
|
+
* The version of the OpenAPI document: 1.27.10
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* obk-parking
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.27.
|
|
5
|
+
* The version of the OpenAPI document: 1.27.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* obk-parking
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.27.
|
|
8
|
+
* The version of the OpenAPI document: 1.27.10
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* obk-parking
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.27.
|
|
5
|
+
* The version of the OpenAPI document: 1.27.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* obk-parking
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.27.
|
|
8
|
+
* The version of the OpenAPI document: 1.27.10
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|