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/dist/api/api.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
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).
@@ -170,6 +170,278 @@ export declare const AddParkingTicketType: {
170
170
  readonly App: "APP";
171
171
  };
172
172
  export type AddParkingTicketType = typeof AddParkingTicketType[keyof typeof AddParkingTicketType];
173
+ /**
174
+ *
175
+ * @export
176
+ * @interface ApplyCouponBody
177
+ */
178
+ export interface ApplyCouponBody {
179
+ /**
180
+ *
181
+ * @type {string}
182
+ * @memberof ApplyCouponBody
183
+ */
184
+ 'couponCode': string;
185
+ /**
186
+ *
187
+ * @type {string}
188
+ * @memberof ApplyCouponBody
189
+ */
190
+ 'parkingTicketId': string;
191
+ }
192
+ /**
193
+ *
194
+ * @export
195
+ * @interface ApplyCouponResponseFromFS
196
+ */
197
+ export interface ApplyCouponResponseFromFS {
198
+ /**
199
+ *
200
+ * @type {string}
201
+ * @memberof ApplyCouponResponseFromFS
202
+ */
203
+ 'status': string;
204
+ /**
205
+ *
206
+ * @type {string}
207
+ * @memberof ApplyCouponResponseFromFS
208
+ */
209
+ 'message': string;
210
+ /**
211
+ *
212
+ * @type {string}
213
+ * @memberof ApplyCouponResponseFromFS
214
+ */
215
+ 'exeption': string | null;
216
+ /**
217
+ *
218
+ * @type {string}
219
+ * @memberof ApplyCouponResponseFromFS
220
+ */
221
+ 'logId': string;
222
+ /**
223
+ *
224
+ * @type {string}
225
+ * @memberof ApplyCouponResponseFromFS
226
+ */
227
+ 'ticketNo': string;
228
+ /**
229
+ *
230
+ * @type {string}
231
+ * @memberof ApplyCouponResponseFromFS
232
+ */
233
+ 'ticketUid': string;
234
+ /**
235
+ *
236
+ * @type {string}
237
+ * @memberof ApplyCouponResponseFromFS
238
+ */
239
+ 'plateNo': string;
240
+ /**
241
+ *
242
+ * @type {string}
243
+ * @memberof ApplyCouponResponseFromFS
244
+ */
245
+ 'entryDateTime': string;
246
+ /**
247
+ *
248
+ * @type {string}
249
+ * @memberof ApplyCouponResponseFromFS
250
+ */
251
+ 'logDateTime': string;
252
+ /**
253
+ *
254
+ * @type {number}
255
+ * @memberof ApplyCouponResponseFromFS
256
+ */
257
+ 'exitStatus': number;
258
+ /**
259
+ *
260
+ * @type {number}
261
+ * @memberof ApplyCouponResponseFromFS
262
+ */
263
+ 'terminalInId': number;
264
+ /**
265
+ *
266
+ * @type {string}
267
+ * @memberof ApplyCouponResponseFromFS
268
+ */
269
+ 'terminalInName': string;
270
+ /**
271
+ *
272
+ * @type {number}
273
+ * @memberof ApplyCouponResponseFromFS
274
+ */
275
+ 'memberTypeId': number;
276
+ /**
277
+ *
278
+ * @type {string}
279
+ * @memberof ApplyCouponResponseFromFS
280
+ */
281
+ 'memberTypeName': string;
282
+ /**
283
+ *
284
+ * @type {number}
285
+ * @memberof ApplyCouponResponseFromFS
286
+ */
287
+ 'vehicleTypeId': number;
288
+ /**
289
+ *
290
+ * @type {string}
291
+ * @memberof ApplyCouponResponseFromFS
292
+ */
293
+ 'vehicleTypeName': string;
294
+ /**
295
+ *
296
+ * @type {string}
297
+ * @memberof ApplyCouponResponseFromFS
298
+ */
299
+ 'rateCode': string;
300
+ /**
301
+ *
302
+ * @type {string}
303
+ * @memberof ApplyCouponResponseFromFS
304
+ */
305
+ 'rateDetailTH': string;
306
+ /**
307
+ *
308
+ * @type {string}
309
+ * @memberof ApplyCouponResponseFromFS
310
+ */
311
+ 'rateDetailEN': string;
312
+ /**
313
+ *
314
+ * @type {string}
315
+ * @memberof ApplyCouponResponseFromFS
316
+ */
317
+ 'tenantId': string;
318
+ /**
319
+ *
320
+ * @type {string}
321
+ * @memberof ApplyCouponResponseFromFS
322
+ */
323
+ 'tenantName': string;
324
+ /**
325
+ *
326
+ * @type {boolean}
327
+ * @memberof ApplyCouponResponseFromFS
328
+ */
329
+ 'isCardLost': boolean;
330
+ /**
331
+ *
332
+ * @type {number}
333
+ * @memberof ApplyCouponResponseFromFS
334
+ */
335
+ 'parkHH': number;
336
+ /**
337
+ *
338
+ * @type {number}
339
+ * @memberof ApplyCouponResponseFromFS
340
+ */
341
+ 'parkMM': number;
342
+ /**
343
+ *
344
+ * @type {number}
345
+ * @memberof ApplyCouponResponseFromFS
346
+ */
347
+ 'rateHH': number;
348
+ /**
349
+ *
350
+ * @type {number}
351
+ * @memberof ApplyCouponResponseFromFS
352
+ */
353
+ 'freeHH': number;
354
+ /**
355
+ *
356
+ * @type {number}
357
+ * @memberof ApplyCouponResponseFromFS
358
+ */
359
+ 'subTotal': number;
360
+ /**
361
+ *
362
+ * @type {number}
363
+ * @memberof ApplyCouponResponseFromFS
364
+ */
365
+ 'discount': number;
366
+ /**
367
+ *
368
+ * @type {number}
369
+ * @memberof ApplyCouponResponseFromFS
370
+ */
371
+ 'parkFee': number;
372
+ /**
373
+ *
374
+ * @type {number}
375
+ * @memberof ApplyCouponResponseFromFS
376
+ */
377
+ 'cardLostFine': number;
378
+ /**
379
+ *
380
+ * @type {number}
381
+ * @memberof ApplyCouponResponseFromFS
382
+ */
383
+ 'overNightFine': number;
384
+ /**
385
+ *
386
+ * @type {number}
387
+ * @memberof ApplyCouponResponseFromFS
388
+ */
389
+ 'total': number;
390
+ /**
391
+ *
392
+ * @type {boolean}
393
+ * @memberof ApplyCouponResponseFromFS
394
+ */
395
+ 'isInv': boolean;
396
+ /**
397
+ *
398
+ * @type {number}
399
+ * @memberof ApplyCouponResponseFromFS
400
+ */
401
+ 'invRateHH': number;
402
+ /**
403
+ *
404
+ * @type {number}
405
+ * @memberof ApplyCouponResponseFromFS
406
+ */
407
+ 'invFee': number;
408
+ /**
409
+ *
410
+ * @type {boolean}
411
+ * @memberof ApplyCouponResponseFromFS
412
+ */
413
+ 'isPayAtKiosk': boolean;
414
+ /**
415
+ *
416
+ * @type {string}
417
+ * @memberof ApplyCouponResponseFromFS
418
+ */
419
+ 'lastDateTimePaymentAtKiosk': string | null;
420
+ /**
421
+ *
422
+ * @type {number}
423
+ * @memberof ApplyCouponResponseFromFS
424
+ */
425
+ 'payAtKioskAll': number;
426
+ /**
427
+ *
428
+ * @type {number}
429
+ * @memberof ApplyCouponResponseFromFS
430
+ */
431
+ 'durationInMinute': number;
432
+ /**
433
+ *
434
+ * @type {number}
435
+ * @memberof ApplyCouponResponseFromFS
436
+ */
437
+ 'timeUsedInMinute': number;
438
+ /**
439
+ *
440
+ * @type {number}
441
+ * @memberof ApplyCouponResponseFromFS
442
+ */
443
+ 'remainInMinute': number;
444
+ }
173
445
  /**
174
446
  *
175
447
  * @export
@@ -625,6 +897,135 @@ export interface ConfigStorewhitelistExport {
625
897
  */
626
898
  'storeWhiteListIds': Array<string>;
627
899
  }
900
+ /**
901
+ *
902
+ * @export
903
+ * @interface Coupon
904
+ */
905
+ export interface Coupon {
906
+ /**
907
+ *
908
+ * @type {string}
909
+ * @memberof Coupon
910
+ */
911
+ 'id': string;
912
+ /**
913
+ *
914
+ * @type {string}
915
+ * @memberof Coupon
916
+ */
917
+ 'status': string;
918
+ /**
919
+ *
920
+ * @type {string}
921
+ * @memberof Coupon
922
+ */
923
+ 'code': string;
924
+ /**
925
+ *
926
+ * @type {string}
927
+ * @memberof Coupon
928
+ */
929
+ 'validFrom': string;
930
+ /**
931
+ *
932
+ * @type {string}
933
+ * @memberof Coupon
934
+ */
935
+ 'validTo': string;
936
+ }
937
+ /**
938
+ *
939
+ * @export
940
+ * @interface CouponHistory
941
+ */
942
+ export interface CouponHistory {
943
+ /**
944
+ *
945
+ * @type {string}
946
+ * @memberof CouponHistory
947
+ */
948
+ 'id': string;
949
+ /**
950
+ *
951
+ * @type {string}
952
+ * @memberof CouponHistory
953
+ */
954
+ 'uid': string;
955
+ /**
956
+ *
957
+ * @type {string}
958
+ * @memberof CouponHistory
959
+ */
960
+ 'coupon_code': string;
961
+ /**
962
+ *
963
+ * @type {CouponHistoryStatus}
964
+ * @memberof CouponHistory
965
+ */
966
+ 'status': CouponHistoryStatus;
967
+ /**
968
+ *
969
+ * @type {string}
970
+ * @memberof CouponHistory
971
+ */
972
+ 'message'?: string;
973
+ /**
974
+ *
975
+ * @type {string}
976
+ * @memberof CouponHistory
977
+ */
978
+ 'chanel': string;
979
+ /**
980
+ * Construct a type with a set of properties K of type T
981
+ * @type {object}
982
+ * @memberof CouponHistory
983
+ */
984
+ 'meta_data': object;
985
+ /**
986
+ *
987
+ * @type {string}
988
+ * @memberof CouponHistory
989
+ */
990
+ 'parking_detail_id': string;
991
+ /**
992
+ *
993
+ * @type {string}
994
+ * @memberof CouponHistory
995
+ */
996
+ 'created_at': string;
997
+ /**
998
+ *
999
+ * @type {string}
1000
+ * @memberof CouponHistory
1001
+ */
1002
+ 'updated_at': string;
1003
+ /**
1004
+ * Construct a type with a set of properties K of type T
1005
+ * @type {object}
1006
+ * @memberof CouponHistory
1007
+ */
1008
+ 'parking_detail': object;
1009
+ }
1010
+ /**
1011
+ *
1012
+ * @export
1013
+ * @enum {string}
1014
+ */
1015
+ export declare const CouponHistoryChanel: {
1016
+ readonly App: "APP";
1017
+ };
1018
+ export type CouponHistoryChanel = typeof CouponHistoryChanel[keyof typeof CouponHistoryChanel];
1019
+ /**
1020
+ *
1021
+ * @export
1022
+ * @enum {string}
1023
+ */
1024
+ export declare const CouponHistoryStatus: {
1025
+ readonly Success: "SUCCESS";
1026
+ readonly Failed: "FAILED";
1027
+ };
1028
+ export type CouponHistoryStatus = typeof CouponHistoryStatus[keyof typeof CouponHistoryStatus];
628
1029
  /**
629
1030
  *
630
1031
  * @export
@@ -1031,6 +1432,85 @@ export interface GetAllReceiptResponse {
1031
1432
  */
1032
1433
  'check_handwriting'?: boolean;
1033
1434
  }
1435
+ /**
1436
+ *
1437
+ * @export
1438
+ * @interface GetCouponHistoryIndexQuery
1439
+ */
1440
+ export interface GetCouponHistoryIndexQuery {
1441
+ /**
1442
+ *
1443
+ * @type {string}
1444
+ * @memberof GetCouponHistoryIndexQuery
1445
+ */
1446
+ 'order_by'?: string;
1447
+ /**
1448
+ *
1449
+ * @type {string}
1450
+ * @memberof GetCouponHistoryIndexQuery
1451
+ */
1452
+ 'order_direction'?: string;
1453
+ /**
1454
+ *
1455
+ * @type {number}
1456
+ * @memberof GetCouponHistoryIndexQuery
1457
+ */
1458
+ 'page_number'?: number;
1459
+ /**
1460
+ *
1461
+ * @type {number}
1462
+ * @memberof GetCouponHistoryIndexQuery
1463
+ */
1464
+ 'page_size'?: number;
1465
+ /**
1466
+ *
1467
+ * @type {string}
1468
+ * @memberof GetCouponHistoryIndexQuery
1469
+ */
1470
+ 'filter_by'?: string;
1471
+ /**
1472
+ *
1473
+ * @type {string}
1474
+ * @memberof GetCouponHistoryIndexQuery
1475
+ */
1476
+ 'filter_key'?: string;
1477
+ /**
1478
+ *
1479
+ * @type {string}
1480
+ * @memberof GetCouponHistoryIndexQuery
1481
+ */
1482
+ 'parking_detail_id'?: string;
1483
+ /**
1484
+ *
1485
+ * @type {string}
1486
+ * @memberof GetCouponHistoryIndexQuery
1487
+ */
1488
+ 'coupon_code'?: string;
1489
+ /**
1490
+ *
1491
+ * @type {CouponHistoryStatus}
1492
+ * @memberof GetCouponHistoryIndexQuery
1493
+ */
1494
+ 'status'?: CouponHistoryStatus;
1495
+ /**
1496
+ *
1497
+ * @type {string}
1498
+ * @memberof GetCouponHistoryIndexQuery
1499
+ */
1500
+ 'startDate'?: string;
1501
+ /**
1502
+ *
1503
+ * @type {string}
1504
+ * @memberof GetCouponHistoryIndexQuery
1505
+ */
1506
+ 'endDate'?: string;
1507
+ /**
1508
+ *
1509
+ * @type {CouponHistoryChanel}
1510
+ * @memberof GetCouponHistoryIndexQuery
1511
+ */
1512
+ 'chanel'?: CouponHistoryChanel;
1513
+ }
1034
1514
  /**
1035
1515
  *
1036
1516
  * @export
@@ -1528,6 +2008,12 @@ export interface GetParkingDetailsExportResponse {
1528
2008
  * @memberof GetParkingDetailsExportResponse
1529
2009
  */
1530
2010
  'username': string;
2011
+ /**
2012
+ *
2013
+ * @type {RedemptionType}
2014
+ * @memberof GetParkingDetailsExportResponse
2015
+ */
2016
+ 'redemption_type'?: RedemptionType;
1531
2017
  /**
1532
2018
  *
1533
2019
  * @type {string}
@@ -2717,6 +3203,16 @@ export declare const RedeemType: {
2717
3203
  readonly Redeem: "REDEEM";
2718
3204
  };
2719
3205
  export type RedeemType = typeof RedeemType[keyof typeof RedeemType];
3206
+ /**
3207
+ *
3208
+ * @export
3209
+ * @enum {string}
3210
+ */
3211
+ export declare const RedemptionType: {
3212
+ readonly Coupon: "Coupon";
3213
+ readonly EStamp: "E-stamp";
3214
+ };
3215
+ export type RedemptionType = typeof RedemptionType[keyof typeof RedemptionType];
2720
3216
  /**
2721
3217
  *
2722
3218
  * @export
@@ -2951,6 +3447,25 @@ export interface RemoveVipVehicleBody {
2951
3447
  */
2952
3448
  'deleted_by_email': string;
2953
3449
  }
3450
+ /**
3451
+ *
3452
+ * @export
3453
+ * @interface ResponseDataCouponHistoryArray
3454
+ */
3455
+ export interface ResponseDataCouponHistoryArray {
3456
+ /**
3457
+ *
3458
+ * @type {Array<CouponHistory>}
3459
+ * @memberof ResponseDataCouponHistoryArray
3460
+ */
3461
+ 'data': Array<CouponHistory>;
3462
+ /**
3463
+ *
3464
+ * @type {Pagination}
3465
+ * @memberof ResponseDataCouponHistoryArray
3466
+ */
3467
+ 'pagination'?: Pagination;
3468
+ }
2954
3469
  /**
2955
3470
  *
2956
3471
  * @export
@@ -3473,6 +3988,25 @@ export interface UpdateRegisteredVehicleBody {
3473
3988
  */
3474
3989
  'id': string;
3475
3990
  }
3991
+ /**
3992
+ *
3993
+ * @export
3994
+ * @interface UpgradeToVipBody
3995
+ */
3996
+ export interface UpgradeToVipBody {
3997
+ /**
3998
+ *
3999
+ * @type {string}
4000
+ * @memberof UpgradeToVipBody
4001
+ */
4002
+ 'province'?: string | null;
4003
+ /**
4004
+ *
4005
+ * @type {string}
4006
+ * @memberof UpgradeToVipBody
4007
+ */
4008
+ 'license_plate': string;
4009
+ }
3476
4010
  /**
3477
4011
  *
3478
4012
  * @export
@@ -3768,6 +4302,38 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3768
4302
  * @throws {RequiredError}
3769
4303
  */
3770
4304
  configUpdateStoreWhitelist: (id: string, updateConfigStoreWhitelist: UpdateConfigStoreWhitelist, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4305
+ /**
4306
+ *
4307
+ * @param {ApplyCouponBody} applyCouponBody
4308
+ * @param {*} [options] Override http request option.
4309
+ * @throws {RequiredError}
4310
+ */
4311
+ couponApply: (applyCouponBody: ApplyCouponBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4312
+ /**
4313
+ *
4314
+ * @param {string} [orderBy]
4315
+ * @param {string} [orderDirection]
4316
+ * @param {number} [pageNumber]
4317
+ * @param {number} [pageSize]
4318
+ * @param {string} [filterBy]
4319
+ * @param {string} [filterKey]
4320
+ * @param {string} [parkingDetailId]
4321
+ * @param {string} [couponCode]
4322
+ * @param {CouponHistoryStatus} [status]
4323
+ * @param {string} [startDate]
4324
+ * @param {string} [endDate]
4325
+ * @param {CouponHistoryChanel} [chanel]
4326
+ * @param {*} [options] Override http request option.
4327
+ * @throws {RequiredError}
4328
+ */
4329
+ couponHistoryIndex: (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, parkingDetailId?: string, couponCode?: string, status?: CouponHistoryStatus, startDate?: string, endDate?: string, chanel?: CouponHistoryChanel, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4330
+ /**
4331
+ *
4332
+ * @param {string} couponCode
4333
+ * @param {*} [options] Override http request option.
4334
+ * @throws {RequiredError}
4335
+ */
4336
+ couponValidate: (couponCode: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3771
4337
  /**
3772
4338
  *
3773
4339
  * @param {*} [options] Override http request option.
@@ -4013,12 +4579,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
4013
4579
  registeredVehiclesUpdate: (updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4014
4580
  /**
4015
4581
  *
4016
- * @param {string} licensePlate
4017
- * @param {string} [province]
4582
+ * @param {UpgradeToVipBody} upgradeToVipBody
4018
4583
  * @param {*} [options] Override http request option.
4019
4584
  * @throws {RequiredError}
4020
4585
  */
4021
- registeredVehiclesUpgradeToVip: (licensePlate: string, province?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4586
+ registeredVehiclesUpgradeToVip: (upgradeToVipBody: UpgradeToVipBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4022
4587
  /**
4023
4588
  *
4024
4589
  * @param {*} [options] Override http request option.
@@ -4211,6 +4776,38 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
4211
4776
  * @throws {RequiredError}
4212
4777
  */
4213
4778
  configUpdateStoreWhitelist(id: string, updateConfigStoreWhitelist: UpdateConfigStoreWhitelist, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreWhitelistResponse>>;
4779
+ /**
4780
+ *
4781
+ * @param {ApplyCouponBody} applyCouponBody
4782
+ * @param {*} [options] Override http request option.
4783
+ * @throws {RequiredError}
4784
+ */
4785
+ couponApply(applyCouponBody: ApplyCouponBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplyCouponResponseFromFS>>;
4786
+ /**
4787
+ *
4788
+ * @param {string} [orderBy]
4789
+ * @param {string} [orderDirection]
4790
+ * @param {number} [pageNumber]
4791
+ * @param {number} [pageSize]
4792
+ * @param {string} [filterBy]
4793
+ * @param {string} [filterKey]
4794
+ * @param {string} [parkingDetailId]
4795
+ * @param {string} [couponCode]
4796
+ * @param {CouponHistoryStatus} [status]
4797
+ * @param {string} [startDate]
4798
+ * @param {string} [endDate]
4799
+ * @param {CouponHistoryChanel} [chanel]
4800
+ * @param {*} [options] Override http request option.
4801
+ * @throws {RequiredError}
4802
+ */
4803
+ couponHistoryIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, parkingDetailId?: string, couponCode?: string, status?: CouponHistoryStatus, startDate?: string, endDate?: string, chanel?: CouponHistoryChanel, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataCouponHistoryArray>>;
4804
+ /**
4805
+ *
4806
+ * @param {string} couponCode
4807
+ * @param {*} [options] Override http request option.
4808
+ * @throws {RequiredError}
4809
+ */
4810
+ couponValidate(couponCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Coupon>>;
4214
4811
  /**
4215
4812
  *
4216
4813
  * @param {*} [options] Override http request option.
@@ -4456,12 +5053,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
4456
5053
  registeredVehiclesUpdate(updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>>;
4457
5054
  /**
4458
5055
  *
4459
- * @param {string} licensePlate
4460
- * @param {string} [province]
5056
+ * @param {UpgradeToVipBody} upgradeToVipBody
4461
5057
  * @param {*} [options] Override http request option.
4462
5058
  * @throws {RequiredError}
4463
5059
  */
4464
- registeredVehiclesUpgradeToVip(licensePlate: string, province?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>>;
5060
+ registeredVehiclesUpgradeToVip(upgradeToVipBody: UpgradeToVipBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>>;
4465
5061
  /**
4466
5062
  *
4467
5063
  * @param {*} [options] Override http request option.
@@ -4654,6 +5250,38 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4654
5250
  * @throws {RequiredError}
4655
5251
  */
4656
5252
  configUpdateStoreWhitelist(id: string, updateConfigStoreWhitelist: UpdateConfigStoreWhitelist, options?: any): AxiosPromise<StoreWhitelistResponse>;
5253
+ /**
5254
+ *
5255
+ * @param {ApplyCouponBody} applyCouponBody
5256
+ * @param {*} [options] Override http request option.
5257
+ * @throws {RequiredError}
5258
+ */
5259
+ couponApply(applyCouponBody: ApplyCouponBody, options?: any): AxiosPromise<ApplyCouponResponseFromFS>;
5260
+ /**
5261
+ *
5262
+ * @param {string} [orderBy]
5263
+ * @param {string} [orderDirection]
5264
+ * @param {number} [pageNumber]
5265
+ * @param {number} [pageSize]
5266
+ * @param {string} [filterBy]
5267
+ * @param {string} [filterKey]
5268
+ * @param {string} [parkingDetailId]
5269
+ * @param {string} [couponCode]
5270
+ * @param {CouponHistoryStatus} [status]
5271
+ * @param {string} [startDate]
5272
+ * @param {string} [endDate]
5273
+ * @param {CouponHistoryChanel} [chanel]
5274
+ * @param {*} [options] Override http request option.
5275
+ * @throws {RequiredError}
5276
+ */
5277
+ couponHistoryIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, parkingDetailId?: string, couponCode?: string, status?: CouponHistoryStatus, startDate?: string, endDate?: string, chanel?: CouponHistoryChanel, options?: any): AxiosPromise<ResponseDataCouponHistoryArray>;
5278
+ /**
5279
+ *
5280
+ * @param {string} couponCode
5281
+ * @param {*} [options] Override http request option.
5282
+ * @throws {RequiredError}
5283
+ */
5284
+ couponValidate(couponCode: string, options?: any): AxiosPromise<Coupon>;
4657
5285
  /**
4658
5286
  *
4659
5287
  * @param {*} [options] Override http request option.
@@ -4899,12 +5527,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4899
5527
  registeredVehiclesUpdate(updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse>;
4900
5528
  /**
4901
5529
  *
4902
- * @param {string} licensePlate
4903
- * @param {string} [province]
5530
+ * @param {UpgradeToVipBody} upgradeToVipBody
4904
5531
  * @param {*} [options] Override http request option.
4905
5532
  * @throws {RequiredError}
4906
5533
  */
4907
- registeredVehiclesUpgradeToVip(licensePlate: string, province?: string, options?: any): AxiosPromise<RegisteredVehicleResponse>;
5534
+ registeredVehiclesUpgradeToVip(upgradeToVipBody: UpgradeToVipBody, options?: any): AxiosPromise<RegisteredVehicleResponse>;
4908
5535
  /**
4909
5536
  *
4910
5537
  * @param {*} [options] Override http request option.
@@ -5119,6 +5746,41 @@ export declare class DefaultApi extends BaseAPI {
5119
5746
  * @memberof DefaultApi
5120
5747
  */
5121
5748
  configUpdateStoreWhitelist(id: string, updateConfigStoreWhitelist: UpdateConfigStoreWhitelist, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreWhitelistResponse, any>>;
5749
+ /**
5750
+ *
5751
+ * @param {ApplyCouponBody} applyCouponBody
5752
+ * @param {*} [options] Override http request option.
5753
+ * @throws {RequiredError}
5754
+ * @memberof DefaultApi
5755
+ */
5756
+ couponApply(applyCouponBody: ApplyCouponBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ApplyCouponResponseFromFS, any>>;
5757
+ /**
5758
+ *
5759
+ * @param {string} [orderBy]
5760
+ * @param {string} [orderDirection]
5761
+ * @param {number} [pageNumber]
5762
+ * @param {number} [pageSize]
5763
+ * @param {string} [filterBy]
5764
+ * @param {string} [filterKey]
5765
+ * @param {string} [parkingDetailId]
5766
+ * @param {string} [couponCode]
5767
+ * @param {CouponHistoryStatus} [status]
5768
+ * @param {string} [startDate]
5769
+ * @param {string} [endDate]
5770
+ * @param {CouponHistoryChanel} [chanel]
5771
+ * @param {*} [options] Override http request option.
5772
+ * @throws {RequiredError}
5773
+ * @memberof DefaultApi
5774
+ */
5775
+ couponHistoryIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, parkingDetailId?: string, couponCode?: string, status?: CouponHistoryStatus, startDate?: string, endDate?: string, chanel?: CouponHistoryChanel, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseDataCouponHistoryArray, any>>;
5776
+ /**
5777
+ *
5778
+ * @param {string} couponCode
5779
+ * @param {*} [options] Override http request option.
5780
+ * @throws {RequiredError}
5781
+ * @memberof DefaultApi
5782
+ */
5783
+ couponValidate(couponCode: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Coupon, any>>;
5122
5784
  /**
5123
5785
  *
5124
5786
  * @param {*} [options] Override http request option.
@@ -5389,13 +6051,12 @@ export declare class DefaultApi extends BaseAPI {
5389
6051
  registeredVehiclesUpdate(updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredVehicleResponse, any>>;
5390
6052
  /**
5391
6053
  *
5392
- * @param {string} licensePlate
5393
- * @param {string} [province]
6054
+ * @param {UpgradeToVipBody} upgradeToVipBody
5394
6055
  * @param {*} [options] Override http request option.
5395
6056
  * @throws {RequiredError}
5396
6057
  * @memberof DefaultApi
5397
6058
  */
5398
- registeredVehiclesUpgradeToVip(licensePlate: string, province?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredVehicleResponse, any>>;
6059
+ registeredVehiclesUpgradeToVip(upgradeToVipBody: UpgradeToVipBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredVehicleResponse, any>>;
5399
6060
  /**
5400
6061
  *
5401
6062
  * @param {*} [options] Override http request option.