ob-parking-sdk 0.0.72 → 0.0.74

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
@@ -4,7 +4,7 @@
4
4
  * obk-parking
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.27.4
7
+ * The version of the OpenAPI document: 1.27.5
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -106,7 +106,7 @@ export interface AddConfigStoreWhitelist {
106
106
  * @type {boolean}
107
107
  * @memberof AddConfigStoreWhitelist
108
108
  */
109
- 'check_handwriting': boolean;
109
+ 'ignore_store': boolean;
110
110
  /**
111
111
  *
112
112
  * @type {boolean}
@@ -588,52 +588,52 @@ export interface ConfigStoreWhitelistQuery {
588
588
  'property_id'?: string;
589
589
  /**
590
590
  *
591
- * @type {string}
591
+ * @type {boolean}
592
592
  * @memberof ConfigStoreWhitelistQuery
593
593
  */
594
- 'sort_key'?: string;
594
+ 'ignore_store'?: boolean;
595
595
  /**
596
596
  *
597
- * @type {string}
597
+ * @type {boolean}
598
598
  * @memberof ConfigStoreWhitelistQuery
599
599
  */
600
- 'sort_direction'?: string;
600
+ 'ocr_verified'?: boolean;
601
601
  /**
602
602
  *
603
603
  * @type {boolean}
604
604
  * @memberof ConfigStoreWhitelistQuery
605
605
  */
606
- 'has_tax_id'?: boolean;
606
+ 'convert_date'?: boolean;
607
607
  /**
608
608
  *
609
- * @type {boolean}
609
+ * @type {string}
610
610
  * @memberof ConfigStoreWhitelistQuery
611
611
  */
612
- 'receipt_address_in_obk'?: boolean;
612
+ 'sort_key'?: string;
613
613
  /**
614
614
  *
615
- * @type {boolean}
615
+ * @type {string}
616
616
  * @memberof ConfigStoreWhitelistQuery
617
617
  */
618
- 'is_active'?: boolean;
618
+ 'sort_direction'?: string;
619
619
  /**
620
620
  *
621
621
  * @type {boolean}
622
622
  * @memberof ConfigStoreWhitelistQuery
623
623
  */
624
- 'check_handwriting'?: boolean;
624
+ 'has_tax_id'?: boolean;
625
625
  /**
626
626
  *
627
627
  * @type {boolean}
628
628
  * @memberof ConfigStoreWhitelistQuery
629
629
  */
630
- 'ocr_verified'?: boolean;
630
+ 'receipt_address_in_obk'?: boolean;
631
631
  /**
632
632
  *
633
633
  * @type {boolean}
634
634
  * @memberof ConfigStoreWhitelistQuery
635
635
  */
636
- 'convert_date'?: boolean;
636
+ 'is_active'?: boolean;
637
637
  }
638
638
  /**
639
639
  *
@@ -691,6 +691,12 @@ export interface CreateReceiptBody {
691
691
  * @interface CreateRegisteredVehicleBody
692
692
  */
693
693
  export interface CreateRegisteredVehicleBody {
694
+ /**
695
+ *
696
+ * @type {string}
697
+ * @memberof CreateRegisteredVehicleBody
698
+ */
699
+ 'plate_province'?: string | null;
694
700
  /**
695
701
  *
696
702
  * @type {boolean}
@@ -3063,7 +3069,7 @@ export interface StoreWhitelistResponse {
3063
3069
  * @type {boolean}
3064
3070
  * @memberof StoreWhitelistResponse
3065
3071
  */
3066
- 'check_handwriting': boolean;
3072
+ 'ignore_store': boolean;
3067
3073
  /**
3068
3074
  *
3069
3075
  * @type {boolean}
@@ -3198,19 +3204,19 @@ export interface UpdateConfigStoreWhitelist {
3198
3204
  * @type {boolean}
3199
3205
  * @memberof UpdateConfigStoreWhitelist
3200
3206
  */
3201
- 'convert_date': boolean;
3207
+ 'convert_date'?: boolean;
3202
3208
  /**
3203
3209
  *
3204
3210
  * @type {boolean}
3205
3211
  * @memberof UpdateConfigStoreWhitelist
3206
3212
  */
3207
- 'ocr_verified': boolean;
3213
+ 'ocr_verified'?: boolean;
3208
3214
  /**
3209
3215
  *
3210
3216
  * @type {boolean}
3211
3217
  * @memberof UpdateConfigStoreWhitelist
3212
3218
  */
3213
- 'check_handwriting': boolean;
3219
+ 'ignore_store'?: boolean;
3214
3220
  /**
3215
3221
  *
3216
3222
  * @type {string}
@@ -4113,18 +4119,21 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4113
4119
  * @param {string} [updatedAt]
4114
4120
  * @param {string} [propertyName]
4115
4121
  * @param {string} [propertyId]
4122
+ * @param {boolean} [ignoreStore]
4123
+ * @param {boolean} [ocrVerified]
4124
+ * @param {boolean} [convertDate]
4116
4125
  * @param {string} [sortKey]
4117
4126
  * @param {string} [sortDirection]
4118
4127
  * @param {boolean} [hasTaxId]
4119
4128
  * @param {boolean} [receiptAddressInObk]
4120
4129
  * @param {boolean} [isActive]
4121
- * @param {boolean} [checkHandwriting]
4122
- * @param {boolean} [ocrVerified]
4123
- * @param {boolean} [convertDate]
4130
+ * @param {boolean} [ignoreStore2]
4131
+ * @param {boolean} [ocrVerified2]
4132
+ * @param {boolean} [convertDate2]
4124
4133
  * @param {*} [options] Override http request option.
4125
4134
  * @throws {RequiredError}
4126
4135
  */
4127
- 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, checkHandwriting?: boolean, ocrVerified?: boolean, convertDate?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4136
+ 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, ignoreStore2?: boolean, ocrVerified2?: boolean, convertDate2?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4128
4137
  const localVarPath = `/config/store/whitelist`;
4129
4138
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4130
4139
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4181,6 +4190,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4181
4190
  localVarQueryParameter['property_id'] = propertyId;
4182
4191
  }
4183
4192
 
4193
+ if (ignoreStore !== undefined) {
4194
+ localVarQueryParameter['ignore_store'] = ignoreStore;
4195
+ }
4196
+
4197
+ if (ocrVerified !== undefined) {
4198
+ localVarQueryParameter['ocr_verified'] = ocrVerified;
4199
+ }
4200
+
4201
+ if (convertDate !== undefined) {
4202
+ localVarQueryParameter['convert_date'] = convertDate;
4203
+ }
4204
+
4184
4205
  if (sortKey !== undefined) {
4185
4206
  localVarQueryParameter['sort_key'] = sortKey;
4186
4207
  }
@@ -4201,16 +4222,16 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4201
4222
  localVarQueryParameter['is_active'] = isActive;
4202
4223
  }
4203
4224
 
4204
- if (checkHandwriting !== undefined) {
4205
- localVarQueryParameter['check_handwriting'] = checkHandwriting;
4225
+ if (ignoreStore2 !== undefined) {
4226
+ localVarQueryParameter['ignore_store'] = ignoreStore2;
4206
4227
  }
4207
4228
 
4208
- if (ocrVerified !== undefined) {
4209
- localVarQueryParameter['ocr_verified'] = ocrVerified;
4229
+ if (ocrVerified2 !== undefined) {
4230
+ localVarQueryParameter['ocr_verified'] = ocrVerified2;
4210
4231
  }
4211
4232
 
4212
- if (convertDate !== undefined) {
4213
- localVarQueryParameter['convert_date'] = convertDate;
4233
+ if (convertDate2 !== undefined) {
4234
+ localVarQueryParameter['convert_date'] = convertDate2;
4214
4235
  }
4215
4236
 
4216
4237
 
@@ -5574,6 +5595,44 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5574
5595
  options: localVarRequestOptions,
5575
5596
  };
5576
5597
  },
5598
+ /**
5599
+ *
5600
+ * @param {string} licensePlate
5601
+ * @param {string} [province]
5602
+ * @param {*} [options] Override http request option.
5603
+ * @throws {RequiredError}
5604
+ */
5605
+ registeredVehiclesUpgradeToVip: async (licensePlate: string, province?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5606
+ // verify required parameter 'licensePlate' is not null or undefined
5607
+ assertParamExists('registeredVehiclesUpgradeToVip', 'licensePlate', licensePlate)
5608
+ const localVarPath = `/registered-vehicles/upgrade-to-vip/{license-plate}`
5609
+ .replace(`{${"license-plate"}}`, encodeURIComponent(String(licensePlate)));
5610
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5611
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5612
+ let baseOptions;
5613
+ if (configuration) {
5614
+ baseOptions = configuration.baseOptions;
5615
+ }
5616
+
5617
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5618
+ const localVarHeaderParameter = {} as any;
5619
+ const localVarQueryParameter = {} as any;
5620
+
5621
+ if (province !== undefined) {
5622
+ localVarQueryParameter['province'] = province;
5623
+ }
5624
+
5625
+
5626
+
5627
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5628
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5629
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5630
+
5631
+ return {
5632
+ url: toPathString(localVarUrlObj),
5633
+ options: localVarRequestOptions,
5634
+ };
5635
+ },
5577
5636
  /**
5578
5637
  *
5579
5638
  * @param {*} [options] Override http request option.
@@ -5869,19 +5928,22 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5869
5928
  * @param {string} [updatedAt]
5870
5929
  * @param {string} [propertyName]
5871
5930
  * @param {string} [propertyId]
5931
+ * @param {boolean} [ignoreStore]
5932
+ * @param {boolean} [ocrVerified]
5933
+ * @param {boolean} [convertDate]
5872
5934
  * @param {string} [sortKey]
5873
5935
  * @param {string} [sortDirection]
5874
5936
  * @param {boolean} [hasTaxId]
5875
5937
  * @param {boolean} [receiptAddressInObk]
5876
5938
  * @param {boolean} [isActive]
5877
- * @param {boolean} [checkHandwriting]
5878
- * @param {boolean} [ocrVerified]
5879
- * @param {boolean} [convertDate]
5939
+ * @param {boolean} [ignoreStore2]
5940
+ * @param {boolean} [ocrVerified2]
5941
+ * @param {boolean} [convertDate2]
5880
5942
  * @param {*} [options] Override http request option.
5881
5943
  * @throws {RequiredError}
5882
5944
  */
5883
- 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, checkHandwriting?: boolean, ocrVerified?: boolean, convertDate?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>> {
5884
- const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, checkHandwriting, ocrVerified, convertDate, options);
5945
+ 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, ignoreStore2?: boolean, ocrVerified2?: boolean, convertDate2?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>> {
5946
+ const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, ignoreStore2, ocrVerified2, convertDate2, options);
5885
5947
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5886
5948
  },
5887
5949
  /**
@@ -6245,6 +6307,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
6245
6307
  const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesUpdate(updateRegisteredVehicleBody, xAccountId, options);
6246
6308
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6247
6309
  },
6310
+ /**
6311
+ *
6312
+ * @param {string} licensePlate
6313
+ * @param {string} [province]
6314
+ * @param {*} [options] Override http request option.
6315
+ * @throws {RequiredError}
6316
+ */
6317
+ async registeredVehiclesUpgradeToVip(licensePlate: string, province?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
6318
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesUpgradeToVip(licensePlate, province, options);
6319
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6320
+ },
6248
6321
  /**
6249
6322
  *
6250
6323
  * @param {*} [options] Override http request option.
@@ -6440,19 +6513,22 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6440
6513
  * @param {string} [updatedAt]
6441
6514
  * @param {string} [propertyName]
6442
6515
  * @param {string} [propertyId]
6516
+ * @param {boolean} [ignoreStore]
6517
+ * @param {boolean} [ocrVerified]
6518
+ * @param {boolean} [convertDate]
6443
6519
  * @param {string} [sortKey]
6444
6520
  * @param {string} [sortDirection]
6445
6521
  * @param {boolean} [hasTaxId]
6446
6522
  * @param {boolean} [receiptAddressInObk]
6447
6523
  * @param {boolean} [isActive]
6448
- * @param {boolean} [checkHandwriting]
6449
- * @param {boolean} [ocrVerified]
6450
- * @param {boolean} [convertDate]
6524
+ * @param {boolean} [ignoreStore2]
6525
+ * @param {boolean} [ocrVerified2]
6526
+ * @param {boolean} [convertDate2]
6451
6527
  * @param {*} [options] Override http request option.
6452
6528
  * @throws {RequiredError}
6453
6529
  */
6454
- 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, checkHandwriting?: boolean, ocrVerified?: boolean, convertDate?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>> {
6455
- return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, checkHandwriting, ocrVerified, convertDate, options).then((request) => request(axios, basePath));
6530
+ 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, ignoreStore2?: boolean, ocrVerified2?: boolean, convertDate2?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>> {
6531
+ return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, ignoreStore2, ocrVerified2, convertDate2, options).then((request) => request(axios, basePath));
6456
6532
  },
6457
6533
  /**
6458
6534
  *
@@ -6786,6 +6862,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6786
6862
  registeredVehiclesUpdate(updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6787
6863
  return localVarFp.registeredVehiclesUpdate(updateRegisteredVehicleBody, xAccountId, options).then((request) => request(axios, basePath));
6788
6864
  },
6865
+ /**
6866
+ *
6867
+ * @param {string} licensePlate
6868
+ * @param {string} [province]
6869
+ * @param {*} [options] Override http request option.
6870
+ * @throws {RequiredError}
6871
+ */
6872
+ registeredVehiclesUpgradeToVip(licensePlate: string, province?: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6873
+ return localVarFp.registeredVehiclesUpgradeToVip(licensePlate, province, options).then((request) => request(axios, basePath));
6874
+ },
6789
6875
  /**
6790
6876
  *
6791
6877
  * @param {*} [options] Override http request option.
@@ -7007,20 +7093,23 @@ export class DefaultApi extends BaseAPI {
7007
7093
  * @param {string} [updatedAt]
7008
7094
  * @param {string} [propertyName]
7009
7095
  * @param {string} [propertyId]
7096
+ * @param {boolean} [ignoreStore]
7097
+ * @param {boolean} [ocrVerified]
7098
+ * @param {boolean} [convertDate]
7010
7099
  * @param {string} [sortKey]
7011
7100
  * @param {string} [sortDirection]
7012
7101
  * @param {boolean} [hasTaxId]
7013
7102
  * @param {boolean} [receiptAddressInObk]
7014
7103
  * @param {boolean} [isActive]
7015
- * @param {boolean} [checkHandwriting]
7016
- * @param {boolean} [ocrVerified]
7017
- * @param {boolean} [convertDate]
7104
+ * @param {boolean} [ignoreStore2]
7105
+ * @param {boolean} [ocrVerified2]
7106
+ * @param {boolean} [convertDate2]
7018
7107
  * @param {*} [options] Override http request option.
7019
7108
  * @throws {RequiredError}
7020
7109
  * @memberof DefaultApi
7021
7110
  */
7022
- 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, checkHandwriting?: boolean, ocrVerified?: boolean, convertDate?: boolean, options?: AxiosRequestConfig) {
7023
- return DefaultApiFp(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, checkHandwriting, ocrVerified, convertDate, options).then((request) => request(this.axios, this.basePath));
7111
+ 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, ignoreStore2?: boolean, ocrVerified2?: boolean, convertDate2?: boolean, options?: AxiosRequestConfig) {
7112
+ return DefaultApiFp(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, ignoreStore2, ocrVerified2, convertDate2, options).then((request) => request(this.axios, this.basePath));
7024
7113
  }
7025
7114
 
7026
7115
  /**
@@ -7413,6 +7502,18 @@ export class DefaultApi extends BaseAPI {
7413
7502
  return DefaultApiFp(this.configuration).registeredVehiclesUpdate(updateRegisteredVehicleBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
7414
7503
  }
7415
7504
 
7505
+ /**
7506
+ *
7507
+ * @param {string} licensePlate
7508
+ * @param {string} [province]
7509
+ * @param {*} [options] Override http request option.
7510
+ * @throws {RequiredError}
7511
+ * @memberof DefaultApi
7512
+ */
7513
+ public registeredVehiclesUpgradeToVip(licensePlate: string, province?: string, options?: AxiosRequestConfig) {
7514
+ return DefaultApiFp(this.configuration).registeredVehiclesUpgradeToVip(licensePlate, province, options).then((request) => request(this.axios, this.basePath));
7515
+ }
7516
+
7416
7517
  /**
7417
7518
  *
7418
7519
  * @param {*} [options] Override http request option.
package/api/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * obk-parking
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.27.4
7
+ * The version of the OpenAPI document: 1.27.5
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * obk-parking
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.27.4
7
+ * The version of the OpenAPI document: 1.27.5
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * obk-parking
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.27.4
7
+ * The version of the OpenAPI document: 1.27.5
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * obk-parking
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.27.4
7
+ * The version of the OpenAPI document: 1.27.5
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.4
5
+ * The version of the OpenAPI document: 1.27.5
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -96,7 +96,7 @@ export interface AddConfigStoreWhitelist {
96
96
  * @type {boolean}
97
97
  * @memberof AddConfigStoreWhitelist
98
98
  */
99
- 'check_handwriting': boolean;
99
+ 'ignore_store': boolean;
100
100
  /**
101
101
  *
102
102
  * @type {boolean}
@@ -565,52 +565,52 @@ export interface ConfigStoreWhitelistQuery {
565
565
  'property_id'?: string;
566
566
  /**
567
567
  *
568
- * @type {string}
568
+ * @type {boolean}
569
569
  * @memberof ConfigStoreWhitelistQuery
570
570
  */
571
- 'sort_key'?: string;
571
+ 'ignore_store'?: boolean;
572
572
  /**
573
573
  *
574
- * @type {string}
574
+ * @type {boolean}
575
575
  * @memberof ConfigStoreWhitelistQuery
576
576
  */
577
- 'sort_direction'?: string;
577
+ 'ocr_verified'?: boolean;
578
578
  /**
579
579
  *
580
580
  * @type {boolean}
581
581
  * @memberof ConfigStoreWhitelistQuery
582
582
  */
583
- 'has_tax_id'?: boolean;
583
+ 'convert_date'?: boolean;
584
584
  /**
585
585
  *
586
- * @type {boolean}
586
+ * @type {string}
587
587
  * @memberof ConfigStoreWhitelistQuery
588
588
  */
589
- 'receipt_address_in_obk'?: boolean;
589
+ 'sort_key'?: string;
590
590
  /**
591
591
  *
592
- * @type {boolean}
592
+ * @type {string}
593
593
  * @memberof ConfigStoreWhitelistQuery
594
594
  */
595
- 'is_active'?: boolean;
595
+ 'sort_direction'?: string;
596
596
  /**
597
597
  *
598
598
  * @type {boolean}
599
599
  * @memberof ConfigStoreWhitelistQuery
600
600
  */
601
- 'check_handwriting'?: boolean;
601
+ 'has_tax_id'?: boolean;
602
602
  /**
603
603
  *
604
604
  * @type {boolean}
605
605
  * @memberof ConfigStoreWhitelistQuery
606
606
  */
607
- 'ocr_verified'?: boolean;
607
+ 'receipt_address_in_obk'?: boolean;
608
608
  /**
609
609
  *
610
610
  * @type {boolean}
611
611
  * @memberof ConfigStoreWhitelistQuery
612
612
  */
613
- 'convert_date'?: boolean;
613
+ 'is_active'?: boolean;
614
614
  }
615
615
  /**
616
616
  *
@@ -668,6 +668,12 @@ export interface CreateReceiptBody {
668
668
  * @interface CreateRegisteredVehicleBody
669
669
  */
670
670
  export interface CreateRegisteredVehicleBody {
671
+ /**
672
+ *
673
+ * @type {string}
674
+ * @memberof CreateRegisteredVehicleBody
675
+ */
676
+ 'plate_province'?: string | null;
671
677
  /**
672
678
  *
673
679
  * @type {boolean}
@@ -3001,7 +3007,7 @@ export interface StoreWhitelistResponse {
3001
3007
  * @type {boolean}
3002
3008
  * @memberof StoreWhitelistResponse
3003
3009
  */
3004
- 'check_handwriting': boolean;
3010
+ 'ignore_store': boolean;
3005
3011
  /**
3006
3012
  *
3007
3013
  * @type {boolean}
@@ -3136,19 +3142,19 @@ export interface UpdateConfigStoreWhitelist {
3136
3142
  * @type {boolean}
3137
3143
  * @memberof UpdateConfigStoreWhitelist
3138
3144
  */
3139
- 'convert_date': boolean;
3145
+ 'convert_date'?: boolean;
3140
3146
  /**
3141
3147
  *
3142
3148
  * @type {boolean}
3143
3149
  * @memberof UpdateConfigStoreWhitelist
3144
3150
  */
3145
- 'ocr_verified': boolean;
3151
+ 'ocr_verified'?: boolean;
3146
3152
  /**
3147
3153
  *
3148
3154
  * @type {boolean}
3149
3155
  * @memberof UpdateConfigStoreWhitelist
3150
3156
  */
3151
- 'check_handwriting': boolean;
3157
+ 'ignore_store'?: boolean;
3152
3158
  /**
3153
3159
  *
3154
3160
  * @type {string}
@@ -3632,18 +3638,21 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3632
3638
  * @param {string} [updatedAt]
3633
3639
  * @param {string} [propertyName]
3634
3640
  * @param {string} [propertyId]
3641
+ * @param {boolean} [ignoreStore]
3642
+ * @param {boolean} [ocrVerified]
3643
+ * @param {boolean} [convertDate]
3635
3644
  * @param {string} [sortKey]
3636
3645
  * @param {string} [sortDirection]
3637
3646
  * @param {boolean} [hasTaxId]
3638
3647
  * @param {boolean} [receiptAddressInObk]
3639
3648
  * @param {boolean} [isActive]
3640
- * @param {boolean} [checkHandwriting]
3641
- * @param {boolean} [ocrVerified]
3642
- * @param {boolean} [convertDate]
3649
+ * @param {boolean} [ignoreStore2]
3650
+ * @param {boolean} [ocrVerified2]
3651
+ * @param {boolean} [convertDate2]
3643
3652
  * @param {*} [options] Override http request option.
3644
3653
  * @throws {RequiredError}
3645
3654
  */
3646
- 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, checkHandwriting?: boolean, ocrVerified?: boolean, convertDate?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3655
+ 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, ignoreStore2?: boolean, ocrVerified2?: boolean, convertDate2?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3647
3656
  /**
3648
3657
  *
3649
3658
  * @param {string} id
@@ -3918,6 +3927,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3918
3927
  * @throws {RequiredError}
3919
3928
  */
3920
3929
  registeredVehiclesUpdate: (updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3930
+ /**
3931
+ *
3932
+ * @param {string} licensePlate
3933
+ * @param {string} [province]
3934
+ * @param {*} [options] Override http request option.
3935
+ * @throws {RequiredError}
3936
+ */
3937
+ registeredVehiclesUpgradeToVip: (licensePlate: string, province?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3921
3938
  /**
3922
3939
  *
3923
3940
  * @param {*} [options] Override http request option.
@@ -4067,18 +4084,21 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
4067
4084
  * @param {string} [updatedAt]
4068
4085
  * @param {string} [propertyName]
4069
4086
  * @param {string} [propertyId]
4087
+ * @param {boolean} [ignoreStore]
4088
+ * @param {boolean} [ocrVerified]
4089
+ * @param {boolean} [convertDate]
4070
4090
  * @param {string} [sortKey]
4071
4091
  * @param {string} [sortDirection]
4072
4092
  * @param {boolean} [hasTaxId]
4073
4093
  * @param {boolean} [receiptAddressInObk]
4074
4094
  * @param {boolean} [isActive]
4075
- * @param {boolean} [checkHandwriting]
4076
- * @param {boolean} [ocrVerified]
4077
- * @param {boolean} [convertDate]
4095
+ * @param {boolean} [ignoreStore2]
4096
+ * @param {boolean} [ocrVerified2]
4097
+ * @param {boolean} [convertDate2]
4078
4098
  * @param {*} [options] Override http request option.
4079
4099
  * @throws {RequiredError}
4080
4100
  */
4081
- 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, checkHandwriting?: boolean, ocrVerified?: boolean, convertDate?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>>;
4101
+ 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, ignoreStore2?: boolean, ocrVerified2?: boolean, convertDate2?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>>;
4082
4102
  /**
4083
4103
  *
4084
4104
  * @param {string} id
@@ -4353,6 +4373,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
4353
4373
  * @throws {RequiredError}
4354
4374
  */
4355
4375
  registeredVehiclesUpdate(updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>>;
4376
+ /**
4377
+ *
4378
+ * @param {string} licensePlate
4379
+ * @param {string} [province]
4380
+ * @param {*} [options] Override http request option.
4381
+ * @throws {RequiredError}
4382
+ */
4383
+ registeredVehiclesUpgradeToVip(licensePlate: string, province?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>>;
4356
4384
  /**
4357
4385
  *
4358
4386
  * @param {*} [options] Override http request option.
@@ -4502,18 +4530,21 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4502
4530
  * @param {string} [updatedAt]
4503
4531
  * @param {string} [propertyName]
4504
4532
  * @param {string} [propertyId]
4533
+ * @param {boolean} [ignoreStore]
4534
+ * @param {boolean} [ocrVerified]
4535
+ * @param {boolean} [convertDate]
4505
4536
  * @param {string} [sortKey]
4506
4537
  * @param {string} [sortDirection]
4507
4538
  * @param {boolean} [hasTaxId]
4508
4539
  * @param {boolean} [receiptAddressInObk]
4509
4540
  * @param {boolean} [isActive]
4510
- * @param {boolean} [checkHandwriting]
4511
- * @param {boolean} [ocrVerified]
4512
- * @param {boolean} [convertDate]
4541
+ * @param {boolean} [ignoreStore2]
4542
+ * @param {boolean} [ocrVerified2]
4543
+ * @param {boolean} [convertDate2]
4513
4544
  * @param {*} [options] Override http request option.
4514
4545
  * @throws {RequiredError}
4515
4546
  */
4516
- 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, checkHandwriting?: boolean, ocrVerified?: boolean, convertDate?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>>;
4547
+ 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, ignoreStore2?: boolean, ocrVerified2?: boolean, convertDate2?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>>;
4517
4548
  /**
4518
4549
  *
4519
4550
  * @param {string} id
@@ -4788,6 +4819,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4788
4819
  * @throws {RequiredError}
4789
4820
  */
4790
4821
  registeredVehiclesUpdate(updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse>;
4822
+ /**
4823
+ *
4824
+ * @param {string} licensePlate
4825
+ * @param {string} [province]
4826
+ * @param {*} [options] Override http request option.
4827
+ * @throws {RequiredError}
4828
+ */
4829
+ registeredVehiclesUpgradeToVip(licensePlate: string, province?: string, options?: any): AxiosPromise<RegisteredVehicleResponse>;
4791
4830
  /**
4792
4831
  *
4793
4832
  * @param {*} [options] Override http request option.
@@ -4954,19 +4993,22 @@ export declare class DefaultApi extends BaseAPI {
4954
4993
  * @param {string} [updatedAt]
4955
4994
  * @param {string} [propertyName]
4956
4995
  * @param {string} [propertyId]
4996
+ * @param {boolean} [ignoreStore]
4997
+ * @param {boolean} [ocrVerified]
4998
+ * @param {boolean} [convertDate]
4957
4999
  * @param {string} [sortKey]
4958
5000
  * @param {string} [sortDirection]
4959
5001
  * @param {boolean} [hasTaxId]
4960
5002
  * @param {boolean} [receiptAddressInObk]
4961
5003
  * @param {boolean} [isActive]
4962
- * @param {boolean} [checkHandwriting]
4963
- * @param {boolean} [ocrVerified]
4964
- * @param {boolean} [convertDate]
5004
+ * @param {boolean} [ignoreStore2]
5005
+ * @param {boolean} [ocrVerified2]
5006
+ * @param {boolean} [convertDate2]
4965
5007
  * @param {*} [options] Override http request option.
4966
5008
  * @throws {RequiredError}
4967
5009
  * @memberof DefaultApi
4968
5010
  */
4969
- 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, checkHandwriting?: boolean, ocrVerified?: boolean, convertDate?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreWhitelistResponse[], any>>;
5011
+ 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, ignoreStore2?: boolean, ocrVerified2?: boolean, convertDate2?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreWhitelistResponse[], any>>;
4970
5012
  /**
4971
5013
  *
4972
5014
  * @param {string} id
@@ -5270,6 +5312,15 @@ export declare class DefaultApi extends BaseAPI {
5270
5312
  * @memberof DefaultApi
5271
5313
  */
5272
5314
  registeredVehiclesUpdate(updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredVehicleResponse, any>>;
5315
+ /**
5316
+ *
5317
+ * @param {string} licensePlate
5318
+ * @param {string} [province]
5319
+ * @param {*} [options] Override http request option.
5320
+ * @throws {RequiredError}
5321
+ * @memberof DefaultApi
5322
+ */
5323
+ registeredVehiclesUpgradeToVip(licensePlate: string, province?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredVehicleResponse, any>>;
5273
5324
  /**
5274
5325
  *
5275
5326
  * @param {*} [options] Override http request option.
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.4
8
+ * The version of the OpenAPI document: 1.27.5
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -556,18 +556,21 @@ 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]
562
565
  * @param {boolean} [receiptAddressInObk]
563
566
  * @param {boolean} [isActive]
564
- * @param {boolean} [checkHandwriting]
565
- * @param {boolean} [ocrVerified]
566
- * @param {boolean} [convertDate]
567
+ * @param {boolean} [ignoreStore2]
568
+ * @param {boolean} [ocrVerified2]
569
+ * @param {boolean} [convertDate2]
567
570
  * @param {*} [options] Override http request option.
568
571
  * @throws {RequiredError}
569
572
  */
570
- configStoreWhitelistIndex: (taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, checkHandwriting, ocrVerified, convertDate, options = {}) => __awaiter(this, void 0, void 0, function* () {
573
+ configStoreWhitelistIndex: (taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, ignoreStore2, ocrVerified2, convertDate2, options = {}) => __awaiter(this, void 0, void 0, function* () {
571
574
  const localVarPath = `/config/store/whitelist`;
572
575
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
573
576
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -611,6 +614,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
611
614
  if (propertyId !== undefined) {
612
615
  localVarQueryParameter['property_id'] = propertyId;
613
616
  }
617
+ if (ignoreStore !== undefined) {
618
+ localVarQueryParameter['ignore_store'] = ignoreStore;
619
+ }
620
+ if (ocrVerified !== undefined) {
621
+ localVarQueryParameter['ocr_verified'] = ocrVerified;
622
+ }
623
+ if (convertDate !== undefined) {
624
+ localVarQueryParameter['convert_date'] = convertDate;
625
+ }
614
626
  if (sortKey !== undefined) {
615
627
  localVarQueryParameter['sort_key'] = sortKey;
616
628
  }
@@ -626,14 +638,14 @@ const DefaultApiAxiosParamCreator = function (configuration) {
626
638
  if (isActive !== undefined) {
627
639
  localVarQueryParameter['is_active'] = isActive;
628
640
  }
629
- if (checkHandwriting !== undefined) {
630
- localVarQueryParameter['check_handwriting'] = checkHandwriting;
641
+ if (ignoreStore2 !== undefined) {
642
+ localVarQueryParameter['ignore_store'] = ignoreStore2;
631
643
  }
632
- if (ocrVerified !== undefined) {
633
- localVarQueryParameter['ocr_verified'] = ocrVerified;
644
+ if (ocrVerified2 !== undefined) {
645
+ localVarQueryParameter['ocr_verified'] = ocrVerified2;
634
646
  }
635
- if (convertDate !== undefined) {
636
- localVarQueryParameter['convert_date'] = convertDate;
647
+ if (convertDate2 !== undefined) {
648
+ localVarQueryParameter['convert_date'] = convertDate2;
637
649
  }
638
650
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
639
651
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -1761,6 +1773,38 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1761
1773
  options: localVarRequestOptions,
1762
1774
  };
1763
1775
  }),
1776
+ /**
1777
+ *
1778
+ * @param {string} licensePlate
1779
+ * @param {string} [province]
1780
+ * @param {*} [options] Override http request option.
1781
+ * @throws {RequiredError}
1782
+ */
1783
+ registeredVehiclesUpgradeToVip: (licensePlate, province, options = {}) => __awaiter(this, void 0, void 0, function* () {
1784
+ // verify required parameter 'licensePlate' is not null or undefined
1785
+ (0, common_1.assertParamExists)('registeredVehiclesUpgradeToVip', 'licensePlate', licensePlate);
1786
+ const localVarPath = `/registered-vehicles/upgrade-to-vip/{license-plate}`
1787
+ .replace(`{${"license-plate"}}`, encodeURIComponent(String(licensePlate)));
1788
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1789
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1790
+ let baseOptions;
1791
+ if (configuration) {
1792
+ baseOptions = configuration.baseOptions;
1793
+ }
1794
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1795
+ const localVarHeaderParameter = {};
1796
+ const localVarQueryParameter = {};
1797
+ if (province !== undefined) {
1798
+ localVarQueryParameter['province'] = province;
1799
+ }
1800
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1801
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1802
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1803
+ return {
1804
+ url: (0, common_1.toPathString)(localVarUrlObj),
1805
+ options: localVarRequestOptions,
1806
+ };
1807
+ }),
1764
1808
  /**
1765
1809
  *
1766
1810
  * @param {*} [options] Override http request option.
@@ -2065,20 +2109,23 @@ const DefaultApiFp = function (configuration) {
2065
2109
  * @param {string} [updatedAt]
2066
2110
  * @param {string} [propertyName]
2067
2111
  * @param {string} [propertyId]
2112
+ * @param {boolean} [ignoreStore]
2113
+ * @param {boolean} [ocrVerified]
2114
+ * @param {boolean} [convertDate]
2068
2115
  * @param {string} [sortKey]
2069
2116
  * @param {string} [sortDirection]
2070
2117
  * @param {boolean} [hasTaxId]
2071
2118
  * @param {boolean} [receiptAddressInObk]
2072
2119
  * @param {boolean} [isActive]
2073
- * @param {boolean} [checkHandwriting]
2074
- * @param {boolean} [ocrVerified]
2075
- * @param {boolean} [convertDate]
2120
+ * @param {boolean} [ignoreStore2]
2121
+ * @param {boolean} [ocrVerified2]
2122
+ * @param {boolean} [convertDate2]
2076
2123
  * @param {*} [options] Override http request option.
2077
2124
  * @throws {RequiredError}
2078
2125
  */
2079
- configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, checkHandwriting, ocrVerified, convertDate, options) {
2126
+ configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, ignoreStore2, ocrVerified2, convertDate2, options) {
2080
2127
  return __awaiter(this, void 0, void 0, function* () {
2081
- const localVarAxiosArgs = yield localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, checkHandwriting, ocrVerified, convertDate, options);
2128
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, ignoreStore2, ocrVerified2, convertDate2, options);
2082
2129
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2083
2130
  });
2084
2131
  },
@@ -2501,6 +2548,19 @@ const DefaultApiFp = function (configuration) {
2501
2548
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2502
2549
  });
2503
2550
  },
2551
+ /**
2552
+ *
2553
+ * @param {string} licensePlate
2554
+ * @param {string} [province]
2555
+ * @param {*} [options] Override http request option.
2556
+ * @throws {RequiredError}
2557
+ */
2558
+ registeredVehiclesUpgradeToVip(licensePlate, province, options) {
2559
+ return __awaiter(this, void 0, void 0, function* () {
2560
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.registeredVehiclesUpgradeToVip(licensePlate, province, options);
2561
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2562
+ });
2563
+ },
2504
2564
  /**
2505
2565
  *
2506
2566
  * @param {*} [options] Override http request option.
@@ -2704,19 +2764,22 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2704
2764
  * @param {string} [updatedAt]
2705
2765
  * @param {string} [propertyName]
2706
2766
  * @param {string} [propertyId]
2767
+ * @param {boolean} [ignoreStore]
2768
+ * @param {boolean} [ocrVerified]
2769
+ * @param {boolean} [convertDate]
2707
2770
  * @param {string} [sortKey]
2708
2771
  * @param {string} [sortDirection]
2709
2772
  * @param {boolean} [hasTaxId]
2710
2773
  * @param {boolean} [receiptAddressInObk]
2711
2774
  * @param {boolean} [isActive]
2712
- * @param {boolean} [checkHandwriting]
2713
- * @param {boolean} [ocrVerified]
2714
- * @param {boolean} [convertDate]
2775
+ * @param {boolean} [ignoreStore2]
2776
+ * @param {boolean} [ocrVerified2]
2777
+ * @param {boolean} [convertDate2]
2715
2778
  * @param {*} [options] Override http request option.
2716
2779
  * @throws {RequiredError}
2717
2780
  */
2718
- configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, checkHandwriting, ocrVerified, convertDate, options) {
2719
- return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, checkHandwriting, ocrVerified, convertDate, options).then((request) => request(axios, basePath));
2781
+ configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, ignoreStore2, ocrVerified2, convertDate2, options) {
2782
+ return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, ignoreStore2, ocrVerified2, convertDate2, options).then((request) => request(axios, basePath));
2720
2783
  },
2721
2784
  /**
2722
2785
  *
@@ -3050,6 +3113,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
3050
3113
  registeredVehiclesUpdate(updateRegisteredVehicleBody, xAccountId, options) {
3051
3114
  return localVarFp.registeredVehiclesUpdate(updateRegisteredVehicleBody, xAccountId, options).then((request) => request(axios, basePath));
3052
3115
  },
3116
+ /**
3117
+ *
3118
+ * @param {string} licensePlate
3119
+ * @param {string} [province]
3120
+ * @param {*} [options] Override http request option.
3121
+ * @throws {RequiredError}
3122
+ */
3123
+ registeredVehiclesUpgradeToVip(licensePlate, province, options) {
3124
+ return localVarFp.registeredVehiclesUpgradeToVip(licensePlate, province, options).then((request) => request(axios, basePath));
3125
+ },
3053
3126
  /**
3054
3127
  *
3055
3128
  * @param {*} [options] Override http request option.
@@ -3256,20 +3329,23 @@ class DefaultApi extends base_1.BaseAPI {
3256
3329
  * @param {string} [updatedAt]
3257
3330
  * @param {string} [propertyName]
3258
3331
  * @param {string} [propertyId]
3332
+ * @param {boolean} [ignoreStore]
3333
+ * @param {boolean} [ocrVerified]
3334
+ * @param {boolean} [convertDate]
3259
3335
  * @param {string} [sortKey]
3260
3336
  * @param {string} [sortDirection]
3261
3337
  * @param {boolean} [hasTaxId]
3262
3338
  * @param {boolean} [receiptAddressInObk]
3263
3339
  * @param {boolean} [isActive]
3264
- * @param {boolean} [checkHandwriting]
3265
- * @param {boolean} [ocrVerified]
3266
- * @param {boolean} [convertDate]
3340
+ * @param {boolean} [ignoreStore2]
3341
+ * @param {boolean} [ocrVerified2]
3342
+ * @param {boolean} [convertDate2]
3267
3343
  * @param {*} [options] Override http request option.
3268
3344
  * @throws {RequiredError}
3269
3345
  * @memberof DefaultApi
3270
3346
  */
3271
- configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, checkHandwriting, ocrVerified, convertDate, options) {
3272
- return (0, exports.DefaultApiFp)(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, checkHandwriting, ocrVerified, convertDate, options).then((request) => request(this.axios, this.basePath));
3347
+ configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, ignoreStore2, ocrVerified2, convertDate2, options) {
3348
+ 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, ignoreStore2, ocrVerified2, convertDate2, options).then((request) => request(this.axios, this.basePath));
3273
3349
  }
3274
3350
  /**
3275
3351
  *
@@ -3632,6 +3708,17 @@ class DefaultApi extends base_1.BaseAPI {
3632
3708
  registeredVehiclesUpdate(updateRegisteredVehicleBody, xAccountId, options) {
3633
3709
  return (0, exports.DefaultApiFp)(this.configuration).registeredVehiclesUpdate(updateRegisteredVehicleBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
3634
3710
  }
3711
+ /**
3712
+ *
3713
+ * @param {string} licensePlate
3714
+ * @param {string} [province]
3715
+ * @param {*} [options] Override http request option.
3716
+ * @throws {RequiredError}
3717
+ * @memberof DefaultApi
3718
+ */
3719
+ registeredVehiclesUpgradeToVip(licensePlate, province, options) {
3720
+ return (0, exports.DefaultApiFp)(this.configuration).registeredVehiclesUpgradeToVip(licensePlate, province, options).then((request) => request(this.axios, this.basePath));
3721
+ }
3635
3722
  /**
3636
3723
  *
3637
3724
  * @param {*} [options] Override http request option.
@@ -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.4
5
+ * The version of the OpenAPI document: 1.27.5
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.4
8
+ * The version of the OpenAPI document: 1.27.5
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.4
5
+ * The version of the OpenAPI document: 1.27.5
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.4
8
+ * The version of the OpenAPI document: 1.27.5
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.4
5
+ * The version of the OpenAPI document: 1.27.5
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.4
8
+ * The version of the OpenAPI document: 1.27.5
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.4
5
+ * The version of the OpenAPI document: 1.27.5
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.4
8
+ * The version of the OpenAPI document: 1.27.5
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-parking-sdk",
3
- "version": "0.0.72",
3
+ "version": "0.0.74",
4
4
  "description": "API interfaces for OB PARKING",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"