ob-parking-sdk 0.0.61 → 0.0.62

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 CHANGED
@@ -101,6 +101,24 @@ export interface AddConfigStoreWhitelist {
101
101
  * @memberof AddConfigStoreWhitelist
102
102
  */
103
103
  'updated_by'?: string;
104
+ /**
105
+ *
106
+ * @type {boolean}
107
+ * @memberof AddConfigStoreWhitelist
108
+ */
109
+ 'ignore_store': boolean;
110
+ /**
111
+ *
112
+ * @type {boolean}
113
+ * @memberof AddConfigStoreWhitelist
114
+ */
115
+ 'ocr_verified': boolean;
116
+ /**
117
+ *
118
+ * @type {boolean}
119
+ * @memberof AddConfigStoreWhitelist
120
+ */
121
+ 'convert_date': boolean;
104
122
  }
105
123
  /**
106
124
  *
@@ -543,6 +561,24 @@ export interface ConfigStoreWhitelistQuery {
543
561
  * @memberof ConfigStoreWhitelistQuery
544
562
  */
545
563
  'property_id'?: string;
564
+ /**
565
+ *
566
+ * @type {boolean}
567
+ * @memberof ConfigStoreWhitelistQuery
568
+ */
569
+ 'ignore_store'?: boolean;
570
+ /**
571
+ *
572
+ * @type {boolean}
573
+ * @memberof ConfigStoreWhitelistQuery
574
+ */
575
+ 'ocr_verified'?: boolean;
576
+ /**
577
+ *
578
+ * @type {boolean}
579
+ * @memberof ConfigStoreWhitelistQuery
580
+ */
581
+ 'convert_date'?: boolean;
546
582
  /**
547
583
  *
548
584
  * @type {string}
@@ -630,6 +666,12 @@ export interface CreateReceiptBody {
630
666
  * @interface CreateRegisteredVehicleBody
631
667
  */
632
668
  export interface CreateRegisteredVehicleBody {
669
+ /**
670
+ *
671
+ * @type {boolean}
672
+ * @memberof CreateRegisteredVehicleBody
673
+ */
674
+ 'is_vip'?: boolean;
633
675
  /**
634
676
  *
635
677
  * @type {string}
@@ -2265,6 +2307,12 @@ export interface ReceiptData {
2265
2307
  * @memberof ReceiptData
2266
2308
  */
2267
2309
  'message': string;
2310
+ /**
2311
+ *
2312
+ * @type {boolean}
2313
+ * @memberof ReceiptData
2314
+ */
2315
+ 'docint_handwriting'?: boolean;
2268
2316
  }
2269
2317
  /**
2270
2318
  *
@@ -2605,6 +2653,24 @@ export interface StoreWhitelistResponse {
2605
2653
  * @memberof StoreWhitelistResponse
2606
2654
  */
2607
2655
  'property': StoreWhitelistResponseProperty;
2656
+ /**
2657
+ *
2658
+ * @type {boolean}
2659
+ * @memberof StoreWhitelistResponse
2660
+ */
2661
+ 'convert_date': boolean;
2662
+ /**
2663
+ *
2664
+ * @type {boolean}
2665
+ * @memberof StoreWhitelistResponse
2666
+ */
2667
+ 'ocr_verified': boolean;
2668
+ /**
2669
+ *
2670
+ * @type {boolean}
2671
+ * @memberof StoreWhitelistResponse
2672
+ */
2673
+ 'ignore_store': boolean;
2608
2674
  /**
2609
2675
  *
2610
2676
  * @type {boolean}
@@ -2734,6 +2800,24 @@ export interface TestTest200Response {
2734
2800
  * @interface UpdateConfigStoreWhitelist
2735
2801
  */
2736
2802
  export interface UpdateConfigStoreWhitelist {
2803
+ /**
2804
+ *
2805
+ * @type {boolean}
2806
+ * @memberof UpdateConfigStoreWhitelist
2807
+ */
2808
+ 'convert_date': boolean;
2809
+ /**
2810
+ *
2811
+ * @type {boolean}
2812
+ * @memberof UpdateConfigStoreWhitelist
2813
+ */
2814
+ 'ocr_verified': boolean;
2815
+ /**
2816
+ *
2817
+ * @type {boolean}
2818
+ * @memberof UpdateConfigStoreWhitelist
2819
+ */
2820
+ 'ignore_store': boolean;
2737
2821
  /**
2738
2822
  *
2739
2823
  * @type {string}
@@ -3630,6 +3714,9 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3630
3714
  * @param {string} [updatedAt]
3631
3715
  * @param {string} [propertyName]
3632
3716
  * @param {string} [propertyId]
3717
+ * @param {boolean} [ignoreStore]
3718
+ * @param {boolean} [ocrVerified]
3719
+ * @param {boolean} [convertDate]
3633
3720
  * @param {string} [sortKey]
3634
3721
  * @param {string} [sortDirection]
3635
3722
  * @param {boolean} [hasTaxId]
@@ -3638,7 +3725,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3638
3725
  * @param {*} [options] Override http request option.
3639
3726
  * @throws {RequiredError}
3640
3727
  */
3641
- configStoreWhitelistIndex: async (taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3728
+ configStoreWhitelistIndex: async (taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3642
3729
  const localVarPath = `/config/store/whitelist`;
3643
3730
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3644
3731
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3695,6 +3782,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3695
3782
  localVarQueryParameter['property_id'] = propertyId;
3696
3783
  }
3697
3784
 
3785
+ if (ignoreStore !== undefined) {
3786
+ localVarQueryParameter['ignore_store'] = ignoreStore;
3787
+ }
3788
+
3789
+ if (ocrVerified !== undefined) {
3790
+ localVarQueryParameter['ocr_verified'] = ocrVerified;
3791
+ }
3792
+
3793
+ if (convertDate !== undefined) {
3794
+ localVarQueryParameter['convert_date'] = convertDate;
3795
+ }
3796
+
3698
3797
  if (sortKey !== undefined) {
3699
3798
  localVarQueryParameter['sort_key'] = sortKey;
3700
3799
  }
@@ -4566,39 +4665,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4566
4665
 
4567
4666
 
4568
4667
 
4569
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4570
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4571
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4572
-
4573
- return {
4574
- url: toPathString(localVarUrlObj),
4575
- options: localVarRequestOptions,
4576
- };
4577
- },
4578
- /**
4579
- *
4580
- * @param {string} plateNo
4581
- * @param {*} [options] Override http request option.
4582
- * @throws {RequiredError}
4583
- */
4584
- registeredVehiclesGetByLicensePlate: async (plateNo: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4585
- // verify required parameter 'plateNo' is not null or undefined
4586
- assertParamExists('registeredVehiclesGetByLicensePlate', 'plateNo', plateNo)
4587
- const localVarPath = `/registered-vehicles/license-plate/{plate_no}`
4588
- .replace(`{${"plate_no"}}`, encodeURIComponent(String(plateNo)));
4589
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4590
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4591
- let baseOptions;
4592
- if (configuration) {
4593
- baseOptions = configuration.baseOptions;
4594
- }
4595
-
4596
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4597
- const localVarHeaderParameter = {} as any;
4598
- const localVarQueryParameter = {} as any;
4599
-
4600
-
4601
-
4602
4668
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4603
4669
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4604
4670
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -4816,6 +4882,70 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4816
4882
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4817
4883
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4818
4884
 
4885
+ return {
4886
+ url: toPathString(localVarUrlObj),
4887
+ options: localVarRequestOptions,
4888
+ };
4889
+ },
4890
+ /**
4891
+ *
4892
+ * @param {*} [options] Override http request option.
4893
+ * @throws {RequiredError}
4894
+ */
4895
+ vipCampaignIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4896
+ const localVarPath = `/vip-campaign`;
4897
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4898
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4899
+ let baseOptions;
4900
+ if (configuration) {
4901
+ baseOptions = configuration.baseOptions;
4902
+ }
4903
+
4904
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4905
+ const localVarHeaderParameter = {} as any;
4906
+ const localVarQueryParameter = {} as any;
4907
+
4908
+
4909
+
4910
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4911
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4912
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4913
+
4914
+ return {
4915
+ url: toPathString(localVarUrlObj),
4916
+ options: localVarRequestOptions,
4917
+ };
4918
+ },
4919
+ /**
4920
+ *
4921
+ * @param {UpsertCampaign} upsertCampaign
4922
+ * @param {*} [options] Override http request option.
4923
+ * @throws {RequiredError}
4924
+ */
4925
+ vipCampaignUpsert: async (upsertCampaign: UpsertCampaign, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4926
+ // verify required parameter 'upsertCampaign' is not null or undefined
4927
+ assertParamExists('vipCampaignUpsert', 'upsertCampaign', upsertCampaign)
4928
+ const localVarPath = `/vip-campaign`;
4929
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4930
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4931
+ let baseOptions;
4932
+ if (configuration) {
4933
+ baseOptions = configuration.baseOptions;
4934
+ }
4935
+
4936
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4937
+ const localVarHeaderParameter = {} as any;
4938
+ const localVarQueryParameter = {} as any;
4939
+
4940
+
4941
+
4942
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4943
+
4944
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4945
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4946
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4947
+ localVarRequestOptions.data = serializeDataIfNeeded(upsertCampaign, localVarRequestOptions, configuration)
4948
+
4819
4949
  return {
4820
4950
  url: toPathString(localVarUrlObj),
4821
4951
  options: localVarRequestOptions,
@@ -4994,6 +5124,9 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4994
5124
  * @param {string} [updatedAt]
4995
5125
  * @param {string} [propertyName]
4996
5126
  * @param {string} [propertyId]
5127
+ * @param {boolean} [ignoreStore]
5128
+ * @param {boolean} [ocrVerified]
5129
+ * @param {boolean} [convertDate]
4997
5130
  * @param {string} [sortKey]
4998
5131
  * @param {string} [sortDirection]
4999
5132
  * @param {boolean} [hasTaxId]
@@ -5002,8 +5135,8 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5002
5135
  * @param {*} [options] Override http request option.
5003
5136
  * @throws {RequiredError}
5004
5137
  */
5005
- async configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>> {
5006
- const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options);
5138
+ async configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>> {
5139
+ const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options);
5007
5140
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5008
5141
  },
5009
5142
  /**
@@ -5236,16 +5369,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5236
5369
  const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesDelete(id, xAccountId, options);
5237
5370
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5238
5371
  },
5239
- /**
5240
- *
5241
- * @param {string} plateNo
5242
- * @param {*} [options] Override http request option.
5243
- * @throws {RequiredError}
5244
- */
5245
- async registeredVehiclesGetByLicensePlate(plateNo: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
5246
- const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGetByLicensePlate(plateNo, options);
5247
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5248
- },
5249
5372
  /**
5250
5373
  *
5251
5374
  * @param {string} [xAccountId]
@@ -5307,6 +5430,25 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5307
5430
  const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsIndex(options);
5308
5431
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5309
5432
  },
5433
+ /**
5434
+ *
5435
+ * @param {*} [options] Override http request option.
5436
+ * @throws {RequiredError}
5437
+ */
5438
+ async vipCampaignIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CampaignSequenceResponse>> {
5439
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vipCampaignIndex(options);
5440
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5441
+ },
5442
+ /**
5443
+ *
5444
+ * @param {UpsertCampaign} upsertCampaign
5445
+ * @param {*} [options] Override http request option.
5446
+ * @throws {RequiredError}
5447
+ */
5448
+ async vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CampaignResponse>>> {
5449
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vipCampaignUpsert(upsertCampaign, options);
5450
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5451
+ },
5310
5452
  }
5311
5453
  };
5312
5454
 
@@ -5465,6 +5607,9 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5465
5607
  * @param {string} [updatedAt]
5466
5608
  * @param {string} [propertyName]
5467
5609
  * @param {string} [propertyId]
5610
+ * @param {boolean} [ignoreStore]
5611
+ * @param {boolean} [ocrVerified]
5612
+ * @param {boolean} [convertDate]
5468
5613
  * @param {string} [sortKey]
5469
5614
  * @param {string} [sortDirection]
5470
5615
  * @param {boolean} [hasTaxId]
@@ -5473,8 +5618,8 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5473
5618
  * @param {*} [options] Override http request option.
5474
5619
  * @throws {RequiredError}
5475
5620
  */
5476
- configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>> {
5477
- return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(axios, basePath));
5621
+ configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>> {
5622
+ return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(axios, basePath));
5478
5623
  },
5479
5624
  /**
5480
5625
  *
@@ -5687,15 +5832,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5687
5832
  registeredVehiclesDelete(id: string, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
5688
5833
  return localVarFp.registeredVehiclesDelete(id, xAccountId, options).then((request) => request(axios, basePath));
5689
5834
  },
5690
- /**
5691
- *
5692
- * @param {string} plateNo
5693
- * @param {*} [options] Override http request option.
5694
- * @throws {RequiredError}
5695
- */
5696
- registeredVehiclesGetByLicensePlate(plateNo: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
5697
- return localVarFp.registeredVehiclesGetByLicensePlate(plateNo, options).then((request) => request(axios, basePath));
5698
- },
5699
5835
  /**
5700
5836
  *
5701
5837
  * @param {string} [xAccountId]
@@ -5751,6 +5887,23 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5751
5887
  vehicleBrandsIndex(options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>> {
5752
5888
  return localVarFp.vehicleBrandsIndex(options).then((request) => request(axios, basePath));
5753
5889
  },
5890
+ /**
5891
+ *
5892
+ * @param {*} [options] Override http request option.
5893
+ * @throws {RequiredError}
5894
+ */
5895
+ vipCampaignIndex(options?: any): AxiosPromise<CampaignSequenceResponse> {
5896
+ return localVarFp.vipCampaignIndex(options).then((request) => request(axios, basePath));
5897
+ },
5898
+ /**
5899
+ *
5900
+ * @param {UpsertCampaign} upsertCampaign
5901
+ * @param {*} [options] Override http request option.
5902
+ * @throws {RequiredError}
5903
+ */
5904
+ vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: any): AxiosPromise<Array<CampaignResponse>> {
5905
+ return localVarFp.vipCampaignUpsert(upsertCampaign, options).then((request) => request(axios, basePath));
5906
+ },
5754
5907
  };
5755
5908
  };
5756
5909
 
@@ -5939,6 +6092,9 @@ export class DefaultApi extends BaseAPI {
5939
6092
  * @param {string} [updatedAt]
5940
6093
  * @param {string} [propertyName]
5941
6094
  * @param {string} [propertyId]
6095
+ * @param {boolean} [ignoreStore]
6096
+ * @param {boolean} [ocrVerified]
6097
+ * @param {boolean} [convertDate]
5942
6098
  * @param {string} [sortKey]
5943
6099
  * @param {string} [sortDirection]
5944
6100
  * @param {boolean} [hasTaxId]
@@ -5948,8 +6104,8 @@ export class DefaultApi extends BaseAPI {
5948
6104
  * @throws {RequiredError}
5949
6105
  * @memberof DefaultApi
5950
6106
  */
5951
- public configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig) {
5952
- return DefaultApiFp(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(this.axios, this.basePath));
6107
+ public configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig) {
6108
+ return DefaultApiFp(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(this.axios, this.basePath));
5953
6109
  }
5954
6110
 
5955
6111
  /**
@@ -6201,17 +6357,6 @@ export class DefaultApi extends BaseAPI {
6201
6357
  return DefaultApiFp(this.configuration).registeredVehiclesDelete(id, xAccountId, options).then((request) => request(this.axios, this.basePath));
6202
6358
  }
6203
6359
 
6204
- /**
6205
- *
6206
- * @param {string} plateNo
6207
- * @param {*} [options] Override http request option.
6208
- * @throws {RequiredError}
6209
- * @memberof DefaultApi
6210
- */
6211
- public registeredVehiclesGetByLicensePlate(plateNo: string, options?: AxiosRequestConfig) {
6212
- return DefaultApiFp(this.configuration).registeredVehiclesGetByLicensePlate(plateNo, options).then((request) => request(this.axios, this.basePath));
6213
- }
6214
-
6215
6360
  /**
6216
6361
  *
6217
6362
  * @param {string} [xAccountId]
@@ -6278,6 +6423,27 @@ export class DefaultApi extends BaseAPI {
6278
6423
  public vehicleBrandsIndex(options?: AxiosRequestConfig) {
6279
6424
  return DefaultApiFp(this.configuration).vehicleBrandsIndex(options).then((request) => request(this.axios, this.basePath));
6280
6425
  }
6426
+
6427
+ /**
6428
+ *
6429
+ * @param {*} [options] Override http request option.
6430
+ * @throws {RequiredError}
6431
+ * @memberof DefaultApi
6432
+ */
6433
+ public vipCampaignIndex(options?: AxiosRequestConfig) {
6434
+ return DefaultApiFp(this.configuration).vipCampaignIndex(options).then((request) => request(this.axios, this.basePath));
6435
+ }
6436
+
6437
+ /**
6438
+ *
6439
+ * @param {UpsertCampaign} upsertCampaign
6440
+ * @param {*} [options] Override http request option.
6441
+ * @throws {RequiredError}
6442
+ * @memberof DefaultApi
6443
+ */
6444
+ public vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig) {
6445
+ return DefaultApiFp(this.configuration).vipCampaignUpsert(upsertCampaign, options).then((request) => request(this.axios, this.basePath));
6446
+ }
6281
6447
  }
6282
6448
 
6283
6449
 
package/dist/api/api.d.ts CHANGED
@@ -91,6 +91,24 @@ export interface AddConfigStoreWhitelist {
91
91
  * @memberof AddConfigStoreWhitelist
92
92
  */
93
93
  'updated_by'?: string;
94
+ /**
95
+ *
96
+ * @type {boolean}
97
+ * @memberof AddConfigStoreWhitelist
98
+ */
99
+ 'ignore_store': boolean;
100
+ /**
101
+ *
102
+ * @type {boolean}
103
+ * @memberof AddConfigStoreWhitelist
104
+ */
105
+ 'ocr_verified': boolean;
106
+ /**
107
+ *
108
+ * @type {boolean}
109
+ * @memberof AddConfigStoreWhitelist
110
+ */
111
+ 'convert_date': boolean;
94
112
  }
95
113
  /**
96
114
  *
@@ -520,6 +538,24 @@ export interface ConfigStoreWhitelistQuery {
520
538
  * @memberof ConfigStoreWhitelistQuery
521
539
  */
522
540
  'property_id'?: string;
541
+ /**
542
+ *
543
+ * @type {boolean}
544
+ * @memberof ConfigStoreWhitelistQuery
545
+ */
546
+ 'ignore_store'?: boolean;
547
+ /**
548
+ *
549
+ * @type {boolean}
550
+ * @memberof ConfigStoreWhitelistQuery
551
+ */
552
+ 'ocr_verified'?: boolean;
553
+ /**
554
+ *
555
+ * @type {boolean}
556
+ * @memberof ConfigStoreWhitelistQuery
557
+ */
558
+ 'convert_date'?: boolean;
523
559
  /**
524
560
  *
525
561
  * @type {string}
@@ -607,6 +643,12 @@ export interface CreateReceiptBody {
607
643
  * @interface CreateRegisteredVehicleBody
608
644
  */
609
645
  export interface CreateRegisteredVehicleBody {
646
+ /**
647
+ *
648
+ * @type {boolean}
649
+ * @memberof CreateRegisteredVehicleBody
650
+ */
651
+ 'is_vip'?: boolean;
610
652
  /**
611
653
  *
612
654
  * @type {string}
@@ -2217,6 +2259,12 @@ export interface ReceiptData {
2217
2259
  * @memberof ReceiptData
2218
2260
  */
2219
2261
  'message': string;
2262
+ /**
2263
+ *
2264
+ * @type {boolean}
2265
+ * @memberof ReceiptData
2266
+ */
2267
+ 'docint_handwriting'?: boolean;
2220
2268
  }
2221
2269
  /**
2222
2270
  *
@@ -2545,6 +2593,24 @@ export interface StoreWhitelistResponse {
2545
2593
  * @memberof StoreWhitelistResponse
2546
2594
  */
2547
2595
  'property': StoreWhitelistResponseProperty;
2596
+ /**
2597
+ *
2598
+ * @type {boolean}
2599
+ * @memberof StoreWhitelistResponse
2600
+ */
2601
+ 'convert_date': boolean;
2602
+ /**
2603
+ *
2604
+ * @type {boolean}
2605
+ * @memberof StoreWhitelistResponse
2606
+ */
2607
+ 'ocr_verified': boolean;
2608
+ /**
2609
+ *
2610
+ * @type {boolean}
2611
+ * @memberof StoreWhitelistResponse
2612
+ */
2613
+ 'ignore_store': boolean;
2548
2614
  /**
2549
2615
  *
2550
2616
  * @type {boolean}
@@ -2674,6 +2740,24 @@ export interface TestTest200Response {
2674
2740
  * @interface UpdateConfigStoreWhitelist
2675
2741
  */
2676
2742
  export interface UpdateConfigStoreWhitelist {
2743
+ /**
2744
+ *
2745
+ * @type {boolean}
2746
+ * @memberof UpdateConfigStoreWhitelist
2747
+ */
2748
+ 'convert_date': boolean;
2749
+ /**
2750
+ *
2751
+ * @type {boolean}
2752
+ * @memberof UpdateConfigStoreWhitelist
2753
+ */
2754
+ 'ocr_verified': boolean;
2755
+ /**
2756
+ *
2757
+ * @type {boolean}
2758
+ * @memberof UpdateConfigStoreWhitelist
2759
+ */
2760
+ 'ignore_store': boolean;
2677
2761
  /**
2678
2762
  *
2679
2763
  * @type {string}
@@ -3151,6 +3235,9 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3151
3235
  * @param {string} [updatedAt]
3152
3236
  * @param {string} [propertyName]
3153
3237
  * @param {string} [propertyId]
3238
+ * @param {boolean} [ignoreStore]
3239
+ * @param {boolean} [ocrVerified]
3240
+ * @param {boolean} [convertDate]
3154
3241
  * @param {string} [sortKey]
3155
3242
  * @param {string} [sortDirection]
3156
3243
  * @param {boolean} [hasTaxId]
@@ -3159,7 +3246,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3159
3246
  * @param {*} [options] Override http request option.
3160
3247
  * @throws {RequiredError}
3161
3248
  */
3162
- configStoreWhitelistIndex: (taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3249
+ configStoreWhitelistIndex: (taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3163
3250
  /**
3164
3251
  *
3165
3252
  * @param {string} id
@@ -3333,13 +3420,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3333
3420
  * @throws {RequiredError}
3334
3421
  */
3335
3422
  registeredVehiclesDelete: (id: string, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3336
- /**
3337
- *
3338
- * @param {string} plateNo
3339
- * @param {*} [options] Override http request option.
3340
- * @throws {RequiredError}
3341
- */
3342
- registeredVehiclesGetByLicensePlate: (plateNo: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3343
3423
  /**
3344
3424
  *
3345
3425
  * @param {string} [xAccountId]
@@ -3383,6 +3463,19 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3383
3463
  * @throws {RequiredError}
3384
3464
  */
3385
3465
  vehicleBrandsIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3466
+ /**
3467
+ *
3468
+ * @param {*} [options] Override http request option.
3469
+ * @throws {RequiredError}
3470
+ */
3471
+ vipCampaignIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3472
+ /**
3473
+ *
3474
+ * @param {UpsertCampaign} upsertCampaign
3475
+ * @param {*} [options] Override http request option.
3476
+ * @throws {RequiredError}
3477
+ */
3478
+ vipCampaignUpsert: (upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3386
3479
  };
3387
3480
  /**
3388
3481
  * DefaultApi - functional programming interface
@@ -3507,6 +3600,9 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3507
3600
  * @param {string} [updatedAt]
3508
3601
  * @param {string} [propertyName]
3509
3602
  * @param {string} [propertyId]
3603
+ * @param {boolean} [ignoreStore]
3604
+ * @param {boolean} [ocrVerified]
3605
+ * @param {boolean} [convertDate]
3510
3606
  * @param {string} [sortKey]
3511
3607
  * @param {string} [sortDirection]
3512
3608
  * @param {boolean} [hasTaxId]
@@ -3515,7 +3611,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3515
3611
  * @param {*} [options] Override http request option.
3516
3612
  * @throws {RequiredError}
3517
3613
  */
3518
- configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>>;
3614
+ configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>>;
3519
3615
  /**
3520
3616
  *
3521
3617
  * @param {string} id
@@ -3689,13 +3785,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3689
3785
  * @throws {RequiredError}
3690
3786
  */
3691
3787
  registeredVehiclesDelete(id: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>>;
3692
- /**
3693
- *
3694
- * @param {string} plateNo
3695
- * @param {*} [options] Override http request option.
3696
- * @throws {RequiredError}
3697
- */
3698
- registeredVehiclesGetByLicensePlate(plateNo: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>>;
3699
3788
  /**
3700
3789
  *
3701
3790
  * @param {string} [xAccountId]
@@ -3739,6 +3828,19 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3739
3828
  * @throws {RequiredError}
3740
3829
  */
3741
3830
  vehicleBrandsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleBrandIndexResponse>>>;
3831
+ /**
3832
+ *
3833
+ * @param {*} [options] Override http request option.
3834
+ * @throws {RequiredError}
3835
+ */
3836
+ vipCampaignIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CampaignSequenceResponse>>;
3837
+ /**
3838
+ *
3839
+ * @param {UpsertCampaign} upsertCampaign
3840
+ * @param {*} [options] Override http request option.
3841
+ * @throws {RequiredError}
3842
+ */
3843
+ vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CampaignResponse>>>;
3742
3844
  };
3743
3845
  /**
3744
3846
  * DefaultApi - factory interface
@@ -3863,6 +3965,9 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3863
3965
  * @param {string} [updatedAt]
3864
3966
  * @param {string} [propertyName]
3865
3967
  * @param {string} [propertyId]
3968
+ * @param {boolean} [ignoreStore]
3969
+ * @param {boolean} [ocrVerified]
3970
+ * @param {boolean} [convertDate]
3866
3971
  * @param {string} [sortKey]
3867
3972
  * @param {string} [sortDirection]
3868
3973
  * @param {boolean} [hasTaxId]
@@ -3871,7 +3976,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3871
3976
  * @param {*} [options] Override http request option.
3872
3977
  * @throws {RequiredError}
3873
3978
  */
3874
- configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>>;
3979
+ configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>>;
3875
3980
  /**
3876
3981
  *
3877
3982
  * @param {string} id
@@ -4045,13 +4150,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4045
4150
  * @throws {RequiredError}
4046
4151
  */
4047
4152
  registeredVehiclesDelete(id: string, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse>;
4048
- /**
4049
- *
4050
- * @param {string} plateNo
4051
- * @param {*} [options] Override http request option.
4052
- * @throws {RequiredError}
4053
- */
4054
- registeredVehiclesGetByLicensePlate(plateNo: string, options?: any): AxiosPromise<RegisteredVehicleResponse>;
4055
4153
  /**
4056
4154
  *
4057
4155
  * @param {string} [xAccountId]
@@ -4095,6 +4193,19 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4095
4193
  * @throws {RequiredError}
4096
4194
  */
4097
4195
  vehicleBrandsIndex(options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>>;
4196
+ /**
4197
+ *
4198
+ * @param {*} [options] Override http request option.
4199
+ * @throws {RequiredError}
4200
+ */
4201
+ vipCampaignIndex(options?: any): AxiosPromise<CampaignSequenceResponse>;
4202
+ /**
4203
+ *
4204
+ * @param {UpsertCampaign} upsertCampaign
4205
+ * @param {*} [options] Override http request option.
4206
+ * @throws {RequiredError}
4207
+ */
4208
+ vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: any): AxiosPromise<Array<CampaignResponse>>;
4098
4209
  };
4099
4210
  /**
4100
4211
  * DefaultApi - object-oriented interface
@@ -4236,6 +4347,9 @@ export declare class DefaultApi extends BaseAPI {
4236
4347
  * @param {string} [updatedAt]
4237
4348
  * @param {string} [propertyName]
4238
4349
  * @param {string} [propertyId]
4350
+ * @param {boolean} [ignoreStore]
4351
+ * @param {boolean} [ocrVerified]
4352
+ * @param {boolean} [convertDate]
4239
4353
  * @param {string} [sortKey]
4240
4354
  * @param {string} [sortDirection]
4241
4355
  * @param {boolean} [hasTaxId]
@@ -4245,7 +4359,7 @@ export declare class DefaultApi extends BaseAPI {
4245
4359
  * @throws {RequiredError}
4246
4360
  * @memberof DefaultApi
4247
4361
  */
4248
- configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreWhitelistResponse[], any>>;
4362
+ configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreWhitelistResponse[], any>>;
4249
4363
  /**
4250
4364
  *
4251
4365
  * @param {string} id
@@ -4438,14 +4552,6 @@ export declare class DefaultApi extends BaseAPI {
4438
4552
  * @memberof DefaultApi
4439
4553
  */
4440
4554
  registeredVehiclesDelete(id: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredVehicleResponse, any>>;
4441
- /**
4442
- *
4443
- * @param {string} plateNo
4444
- * @param {*} [options] Override http request option.
4445
- * @throws {RequiredError}
4446
- * @memberof DefaultApi
4447
- */
4448
- registeredVehiclesGetByLicensePlate(plateNo: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredVehicleResponse, any>>;
4449
4555
  /**
4450
4556
  *
4451
4557
  * @param {string} [xAccountId]
@@ -4495,4 +4601,19 @@ export declare class DefaultApi extends BaseAPI {
4495
4601
  * @memberof DefaultApi
4496
4602
  */
4497
4603
  vehicleBrandsIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VehicleBrandIndexResponse[], any>>;
4604
+ /**
4605
+ *
4606
+ * @param {*} [options] Override http request option.
4607
+ * @throws {RequiredError}
4608
+ * @memberof DefaultApi
4609
+ */
4610
+ vipCampaignIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CampaignSequenceResponse, any>>;
4611
+ /**
4612
+ *
4613
+ * @param {UpsertCampaign} upsertCampaign
4614
+ * @param {*} [options] Override http request option.
4615
+ * @throws {RequiredError}
4616
+ * @memberof DefaultApi
4617
+ */
4618
+ vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CampaignResponse[], any>>;
4498
4619
  }
package/dist/api/api.js CHANGED
@@ -556,6 +556,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
556
556
  * @param {string} [updatedAt]
557
557
  * @param {string} [propertyName]
558
558
  * @param {string} [propertyId]
559
+ * @param {boolean} [ignoreStore]
560
+ * @param {boolean} [ocrVerified]
561
+ * @param {boolean} [convertDate]
559
562
  * @param {string} [sortKey]
560
563
  * @param {string} [sortDirection]
561
564
  * @param {boolean} [hasTaxId]
@@ -564,7 +567,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
564
567
  * @param {*} [options] Override http request option.
565
568
  * @throws {RequiredError}
566
569
  */
567
- configStoreWhitelistIndex: (taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options = {}) => __awaiter(this, void 0, void 0, function* () {
570
+ configStoreWhitelistIndex: (taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options = {}) => __awaiter(this, void 0, void 0, function* () {
568
571
  const localVarPath = `/config/store/whitelist`;
569
572
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
570
573
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -608,6 +611,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
608
611
  if (propertyId !== undefined) {
609
612
  localVarQueryParameter['property_id'] = propertyId;
610
613
  }
614
+ if (ignoreStore !== undefined) {
615
+ localVarQueryParameter['ignore_store'] = ignoreStore;
616
+ }
617
+ if (ocrVerified !== undefined) {
618
+ localVarQueryParameter['ocr_verified'] = ocrVerified;
619
+ }
620
+ if (convertDate !== undefined) {
621
+ localVarQueryParameter['convert_date'] = convertDate;
622
+ }
611
623
  if (sortKey !== undefined) {
612
624
  localVarQueryParameter['sort_key'] = sortKey;
613
625
  }
@@ -1337,34 +1349,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1337
1349
  options: localVarRequestOptions,
1338
1350
  };
1339
1351
  }),
1340
- /**
1341
- *
1342
- * @param {string} plateNo
1343
- * @param {*} [options] Override http request option.
1344
- * @throws {RequiredError}
1345
- */
1346
- registeredVehiclesGetByLicensePlate: (plateNo, options = {}) => __awaiter(this, void 0, void 0, function* () {
1347
- // verify required parameter 'plateNo' is not null or undefined
1348
- (0, common_1.assertParamExists)('registeredVehiclesGetByLicensePlate', 'plateNo', plateNo);
1349
- const localVarPath = `/registered-vehicles/license-plate/{plate_no}`
1350
- .replace(`{${"plate_no"}}`, encodeURIComponent(String(plateNo)));
1351
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1352
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1353
- let baseOptions;
1354
- if (configuration) {
1355
- baseOptions = configuration.baseOptions;
1356
- }
1357
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1358
- const localVarHeaderParameter = {};
1359
- const localVarQueryParameter = {};
1360
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1361
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1362
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1363
- return {
1364
- url: (0, common_1.toPathString)(localVarUrlObj),
1365
- options: localVarRequestOptions,
1366
- };
1367
- }),
1368
1352
  /**
1369
1353
  *
1370
1354
  * @param {string} [xAccountId]
@@ -1541,6 +1525,59 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1541
1525
  options: localVarRequestOptions,
1542
1526
  };
1543
1527
  }),
1528
+ /**
1529
+ *
1530
+ * @param {*} [options] Override http request option.
1531
+ * @throws {RequiredError}
1532
+ */
1533
+ vipCampaignIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1534
+ const localVarPath = `/vip-campaign`;
1535
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1536
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1537
+ let baseOptions;
1538
+ if (configuration) {
1539
+ baseOptions = configuration.baseOptions;
1540
+ }
1541
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1542
+ const localVarHeaderParameter = {};
1543
+ const localVarQueryParameter = {};
1544
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1545
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1546
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1547
+ return {
1548
+ url: (0, common_1.toPathString)(localVarUrlObj),
1549
+ options: localVarRequestOptions,
1550
+ };
1551
+ }),
1552
+ /**
1553
+ *
1554
+ * @param {UpsertCampaign} upsertCampaign
1555
+ * @param {*} [options] Override http request option.
1556
+ * @throws {RequiredError}
1557
+ */
1558
+ vipCampaignUpsert: (upsertCampaign, options = {}) => __awaiter(this, void 0, void 0, function* () {
1559
+ // verify required parameter 'upsertCampaign' is not null or undefined
1560
+ (0, common_1.assertParamExists)('vipCampaignUpsert', 'upsertCampaign', upsertCampaign);
1561
+ const localVarPath = `/vip-campaign`;
1562
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1563
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1564
+ let baseOptions;
1565
+ if (configuration) {
1566
+ baseOptions = configuration.baseOptions;
1567
+ }
1568
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1569
+ const localVarHeaderParameter = {};
1570
+ const localVarQueryParameter = {};
1571
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1572
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1573
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1574
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1575
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(upsertCampaign, localVarRequestOptions, configuration);
1576
+ return {
1577
+ url: (0, common_1.toPathString)(localVarUrlObj),
1578
+ options: localVarRequestOptions,
1579
+ };
1580
+ }),
1544
1581
  };
1545
1582
  };
1546
1583
  exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
@@ -1744,6 +1781,9 @@ const DefaultApiFp = function (configuration) {
1744
1781
  * @param {string} [updatedAt]
1745
1782
  * @param {string} [propertyName]
1746
1783
  * @param {string} [propertyId]
1784
+ * @param {boolean} [ignoreStore]
1785
+ * @param {boolean} [ocrVerified]
1786
+ * @param {boolean} [convertDate]
1747
1787
  * @param {string} [sortKey]
1748
1788
  * @param {string} [sortDirection]
1749
1789
  * @param {boolean} [hasTaxId]
@@ -1752,9 +1792,9 @@ const DefaultApiFp = function (configuration) {
1752
1792
  * @param {*} [options] Override http request option.
1753
1793
  * @throws {RequiredError}
1754
1794
  */
1755
- configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options) {
1795
+ configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options) {
1756
1796
  return __awaiter(this, void 0, void 0, function* () {
1757
- const localVarAxiosArgs = yield localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options);
1797
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options);
1758
1798
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1759
1799
  });
1760
1800
  },
@@ -2026,18 +2066,6 @@ const DefaultApiFp = function (configuration) {
2026
2066
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2027
2067
  });
2028
2068
  },
2029
- /**
2030
- *
2031
- * @param {string} plateNo
2032
- * @param {*} [options] Override http request option.
2033
- * @throws {RequiredError}
2034
- */
2035
- registeredVehiclesGetByLicensePlate(plateNo, options) {
2036
- return __awaiter(this, void 0, void 0, function* () {
2037
- const localVarAxiosArgs = yield localVarAxiosParamCreator.registeredVehiclesGetByLicensePlate(plateNo, options);
2038
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2039
- });
2040
- },
2041
2069
  /**
2042
2070
  *
2043
2071
  * @param {string} [xAccountId]
@@ -2111,6 +2139,29 @@ const DefaultApiFp = function (configuration) {
2111
2139
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2112
2140
  });
2113
2141
  },
2142
+ /**
2143
+ *
2144
+ * @param {*} [options] Override http request option.
2145
+ * @throws {RequiredError}
2146
+ */
2147
+ vipCampaignIndex(options) {
2148
+ return __awaiter(this, void 0, void 0, function* () {
2149
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.vipCampaignIndex(options);
2150
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2151
+ });
2152
+ },
2153
+ /**
2154
+ *
2155
+ * @param {UpsertCampaign} upsertCampaign
2156
+ * @param {*} [options] Override http request option.
2157
+ * @throws {RequiredError}
2158
+ */
2159
+ vipCampaignUpsert(upsertCampaign, options) {
2160
+ return __awaiter(this, void 0, void 0, function* () {
2161
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.vipCampaignUpsert(upsertCampaign, options);
2162
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2163
+ });
2164
+ },
2114
2165
  };
2115
2166
  };
2116
2167
  exports.DefaultApiFp = DefaultApiFp;
@@ -2269,6 +2320,9 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2269
2320
  * @param {string} [updatedAt]
2270
2321
  * @param {string} [propertyName]
2271
2322
  * @param {string} [propertyId]
2323
+ * @param {boolean} [ignoreStore]
2324
+ * @param {boolean} [ocrVerified]
2325
+ * @param {boolean} [convertDate]
2272
2326
  * @param {string} [sortKey]
2273
2327
  * @param {string} [sortDirection]
2274
2328
  * @param {boolean} [hasTaxId]
@@ -2277,8 +2331,8 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2277
2331
  * @param {*} [options] Override http request option.
2278
2332
  * @throws {RequiredError}
2279
2333
  */
2280
- configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options) {
2281
- return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(axios, basePath));
2334
+ configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options) {
2335
+ return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(axios, basePath));
2282
2336
  },
2283
2337
  /**
2284
2338
  *
@@ -2491,15 +2545,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2491
2545
  registeredVehiclesDelete(id, xAccountId, options) {
2492
2546
  return localVarFp.registeredVehiclesDelete(id, xAccountId, options).then((request) => request(axios, basePath));
2493
2547
  },
2494
- /**
2495
- *
2496
- * @param {string} plateNo
2497
- * @param {*} [options] Override http request option.
2498
- * @throws {RequiredError}
2499
- */
2500
- registeredVehiclesGetByLicensePlate(plateNo, options) {
2501
- return localVarFp.registeredVehiclesGetByLicensePlate(plateNo, options).then((request) => request(axios, basePath));
2502
- },
2503
2548
  /**
2504
2549
  *
2505
2550
  * @param {string} [xAccountId]
@@ -2555,6 +2600,23 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2555
2600
  vehicleBrandsIndex(options) {
2556
2601
  return localVarFp.vehicleBrandsIndex(options).then((request) => request(axios, basePath));
2557
2602
  },
2603
+ /**
2604
+ *
2605
+ * @param {*} [options] Override http request option.
2606
+ * @throws {RequiredError}
2607
+ */
2608
+ vipCampaignIndex(options) {
2609
+ return localVarFp.vipCampaignIndex(options).then((request) => request(axios, basePath));
2610
+ },
2611
+ /**
2612
+ *
2613
+ * @param {UpsertCampaign} upsertCampaign
2614
+ * @param {*} [options] Override http request option.
2615
+ * @throws {RequiredError}
2616
+ */
2617
+ vipCampaignUpsert(upsertCampaign, options) {
2618
+ return localVarFp.vipCampaignUpsert(upsertCampaign, options).then((request) => request(axios, basePath));
2619
+ },
2558
2620
  };
2559
2621
  };
2560
2622
  exports.DefaultApiFactory = DefaultApiFactory;
@@ -2728,6 +2790,9 @@ class DefaultApi extends base_1.BaseAPI {
2728
2790
  * @param {string} [updatedAt]
2729
2791
  * @param {string} [propertyName]
2730
2792
  * @param {string} [propertyId]
2793
+ * @param {boolean} [ignoreStore]
2794
+ * @param {boolean} [ocrVerified]
2795
+ * @param {boolean} [convertDate]
2731
2796
  * @param {string} [sortKey]
2732
2797
  * @param {string} [sortDirection]
2733
2798
  * @param {boolean} [hasTaxId]
@@ -2737,8 +2802,8 @@ class DefaultApi extends base_1.BaseAPI {
2737
2802
  * @throws {RequiredError}
2738
2803
  * @memberof DefaultApi
2739
2804
  */
2740
- configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options) {
2741
- return (0, exports.DefaultApiFp)(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(this.axios, this.basePath));
2805
+ configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options) {
2806
+ return (0, exports.DefaultApiFp)(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(this.axios, this.basePath));
2742
2807
  }
2743
2808
  /**
2744
2809
  *
@@ -2970,16 +3035,6 @@ class DefaultApi extends base_1.BaseAPI {
2970
3035
  registeredVehiclesDelete(id, xAccountId, options) {
2971
3036
  return (0, exports.DefaultApiFp)(this.configuration).registeredVehiclesDelete(id, xAccountId, options).then((request) => request(this.axios, this.basePath));
2972
3037
  }
2973
- /**
2974
- *
2975
- * @param {string} plateNo
2976
- * @param {*} [options] Override http request option.
2977
- * @throws {RequiredError}
2978
- * @memberof DefaultApi
2979
- */
2980
- registeredVehiclesGetByLicensePlate(plateNo, options) {
2981
- return (0, exports.DefaultApiFp)(this.configuration).registeredVehiclesGetByLicensePlate(plateNo, options).then((request) => request(this.axios, this.basePath));
2982
- }
2983
3038
  /**
2984
3039
  *
2985
3040
  * @param {string} [xAccountId]
@@ -3041,5 +3096,24 @@ class DefaultApi extends base_1.BaseAPI {
3041
3096
  vehicleBrandsIndex(options) {
3042
3097
  return (0, exports.DefaultApiFp)(this.configuration).vehicleBrandsIndex(options).then((request) => request(this.axios, this.basePath));
3043
3098
  }
3099
+ /**
3100
+ *
3101
+ * @param {*} [options] Override http request option.
3102
+ * @throws {RequiredError}
3103
+ * @memberof DefaultApi
3104
+ */
3105
+ vipCampaignIndex(options) {
3106
+ return (0, exports.DefaultApiFp)(this.configuration).vipCampaignIndex(options).then((request) => request(this.axios, this.basePath));
3107
+ }
3108
+ /**
3109
+ *
3110
+ * @param {UpsertCampaign} upsertCampaign
3111
+ * @param {*} [options] Override http request option.
3112
+ * @throws {RequiredError}
3113
+ * @memberof DefaultApi
3114
+ */
3115
+ vipCampaignUpsert(upsertCampaign, options) {
3116
+ return (0, exports.DefaultApiFp)(this.configuration).vipCampaignUpsert(upsertCampaign, options).then((request) => request(this.axios, this.basePath));
3117
+ }
3044
3118
  }
3045
3119
  exports.DefaultApi = DefaultApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-parking-sdk",
3
- "version": "0.0.61",
3
+ "version": "0.0.62",
4
4
  "description": "API interfaces for OB PARKING",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"