ob-parking-sdk 0.0.60 → 0.0.61

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.1
7
+ * The version of the OpenAPI document: 1.27.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -101,24 +101,6 @@ 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;
122
104
  }
123
105
  /**
124
106
  *
@@ -561,24 +543,6 @@ export interface ConfigStoreWhitelistQuery {
561
543
  * @memberof ConfigStoreWhitelistQuery
562
544
  */
563
545
  '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;
582
546
  /**
583
547
  *
584
548
  * @type {string}
@@ -693,38 +657,6 @@ export interface CreateRegisteredVehicleBody {
693
657
  }
694
658
 
695
659
 
696
- /**
697
- *
698
- * @export
699
- * @interface CreateVehicleBrandBody
700
- */
701
- export interface CreateVehicleBrandBody {
702
- /**
703
- *
704
- * @type {string}
705
- * @memberof CreateVehicleBrandBody
706
- */
707
- 'name': string;
708
- }
709
- /**
710
- *
711
- * @export
712
- * @interface DeleteVehicleBrandResponse
713
- */
714
- export interface DeleteVehicleBrandResponse {
715
- /**
716
- *
717
- * @type {string}
718
- * @memberof DeleteVehicleBrandResponse
719
- */
720
- 'name': string;
721
- /**
722
- *
723
- * @type {string}
724
- * @memberof DeleteVehicleBrandResponse
725
- */
726
- 'id': string;
727
- }
728
660
  /**
729
661
  *
730
662
  * @export
@@ -2333,12 +2265,6 @@ export interface ReceiptData {
2333
2265
  * @memberof ReceiptData
2334
2266
  */
2335
2267
  'message': string;
2336
- /**
2337
- *
2338
- * @type {boolean}
2339
- * @memberof ReceiptData
2340
- */
2341
- 'docint_handwriting'?: boolean;
2342
2268
  }
2343
2269
  /**
2344
2270
  *
@@ -2679,24 +2605,6 @@ export interface StoreWhitelistResponse {
2679
2605
  * @memberof StoreWhitelistResponse
2680
2606
  */
2681
2607
  'property': StoreWhitelistResponseProperty;
2682
- /**
2683
- *
2684
- * @type {boolean}
2685
- * @memberof StoreWhitelistResponse
2686
- */
2687
- 'convert_date': boolean;
2688
- /**
2689
- *
2690
- * @type {boolean}
2691
- * @memberof StoreWhitelistResponse
2692
- */
2693
- 'ocr_verified': boolean;
2694
- /**
2695
- *
2696
- * @type {boolean}
2697
- * @memberof StoreWhitelistResponse
2698
- */
2699
- 'ignore_store': boolean;
2700
2608
  /**
2701
2609
  *
2702
2610
  * @type {boolean}
@@ -2826,24 +2734,6 @@ export interface TestTest200Response {
2826
2734
  * @interface UpdateConfigStoreWhitelist
2827
2735
  */
2828
2736
  export interface UpdateConfigStoreWhitelist {
2829
- /**
2830
- *
2831
- * @type {boolean}
2832
- * @memberof UpdateConfigStoreWhitelist
2833
- */
2834
- 'convert_date': boolean;
2835
- /**
2836
- *
2837
- * @type {boolean}
2838
- * @memberof UpdateConfigStoreWhitelist
2839
- */
2840
- 'ocr_verified': boolean;
2841
- /**
2842
- *
2843
- * @type {boolean}
2844
- * @memberof UpdateConfigStoreWhitelist
2845
- */
2846
- 'ignore_store': boolean;
2847
2737
  /**
2848
2738
  *
2849
2739
  * @type {string}
@@ -3073,19 +2963,6 @@ export interface UpdateRegisteredVehicleBody {
3073
2963
  }
3074
2964
 
3075
2965
 
3076
- /**
3077
- *
3078
- * @export
3079
- * @interface UpdateVehicleBrandBody
3080
- */
3081
- export interface UpdateVehicleBrandBody {
3082
- /**
3083
- *
3084
- * @type {string}
3085
- * @memberof UpdateVehicleBrandBody
3086
- */
3087
- 'name'?: string;
3088
- }
3089
2966
  /**
3090
2967
  *
3091
2968
  * @export
@@ -3149,19 +3026,6 @@ export interface ValidateReceiptImageBody {
3149
3026
  */
3150
3027
  'source': string;
3151
3028
  }
3152
- /**
3153
- *
3154
- * @export
3155
- * @interface VehicleBrandIndexQuery
3156
- */
3157
- export interface VehicleBrandIndexQuery {
3158
- /**
3159
- *
3160
- * @type {string}
3161
- * @memberof VehicleBrandIndexQuery
3162
- */
3163
- 'name'?: string;
3164
- }
3165
3029
  /**
3166
3030
  *
3167
3031
  * @export
@@ -3218,25 +3082,6 @@ export interface VehicleBrandIndexResponseVehicleModelsInner {
3218
3082
  */
3219
3083
  'id'?: string;
3220
3084
  }
3221
- /**
3222
- *
3223
- * @export
3224
- * @interface VehicleBrandResponse
3225
- */
3226
- export interface VehicleBrandResponse {
3227
- /**
3228
- *
3229
- * @type {string}
3230
- * @memberof VehicleBrandResponse
3231
- */
3232
- 'name': string;
3233
- /**
3234
- *
3235
- * @type {string}
3236
- * @memberof VehicleBrandResponse
3237
- */
3238
- 'id': string;
3239
- }
3240
3085
  /**
3241
3086
  *
3242
3087
  * @export
@@ -3785,9 +3630,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3785
3630
  * @param {string} [updatedAt]
3786
3631
  * @param {string} [propertyName]
3787
3632
  * @param {string} [propertyId]
3788
- * @param {boolean} [ignoreStore]
3789
- * @param {boolean} [ocrVerified]
3790
- * @param {boolean} [convertDate]
3791
3633
  * @param {string} [sortKey]
3792
3634
  * @param {string} [sortDirection]
3793
3635
  * @param {boolean} [hasTaxId]
@@ -3796,7 +3638,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3796
3638
  * @param {*} [options] Override http request option.
3797
3639
  * @throws {RequiredError}
3798
3640
  */
3799
- 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> => {
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> => {
3800
3642
  const localVarPath = `/config/store/whitelist`;
3801
3643
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3802
3644
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3853,18 +3695,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3853
3695
  localVarQueryParameter['property_id'] = propertyId;
3854
3696
  }
3855
3697
 
3856
- if (ignoreStore !== undefined) {
3857
- localVarQueryParameter['ignore_store'] = ignoreStore;
3858
- }
3859
-
3860
- if (ocrVerified !== undefined) {
3861
- localVarQueryParameter['ocr_verified'] = ocrVerified;
3862
- }
3863
-
3864
- if (convertDate !== undefined) {
3865
- localVarQueryParameter['convert_date'] = convertDate;
3866
- }
3867
-
3868
3698
  if (sortKey !== undefined) {
3869
3699
  localVarQueryParameter['sort_key'] = sortKey;
3870
3700
  }
@@ -4736,6 +4566,39 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4736
4566
 
4737
4567
 
4738
4568
 
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
+
4739
4602
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4740
4603
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4741
4604
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -4931,13 +4794,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4931
4794
  },
4932
4795
  /**
4933
4796
  *
4934
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
4935
4797
  * @param {*} [options] Override http request option.
4936
4798
  * @throws {RequiredError}
4937
4799
  */
4938
- vehicleBrandsCreate: async (createVehicleBrandBody: CreateVehicleBrandBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4939
- // verify required parameter 'createVehicleBrandBody' is not null or undefined
4940
- assertParamExists('vehicleBrandsCreate', 'createVehicleBrandBody', createVehicleBrandBody)
4800
+ vehicleBrandsIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4941
4801
  const localVarPath = `/vehicle-brands`;
4942
4802
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4943
4803
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4946,75 +4806,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4946
4806
  baseOptions = configuration.baseOptions;
4947
4807
  }
4948
4808
 
4949
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4950
- const localVarHeaderParameter = {} as any;
4951
- const localVarQueryParameter = {} as any;
4952
-
4953
-
4954
-
4955
- localVarHeaderParameter['Content-Type'] = 'application/json';
4956
-
4957
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4958
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4959
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4960
- localVarRequestOptions.data = serializeDataIfNeeded(createVehicleBrandBody, localVarRequestOptions, configuration)
4961
-
4962
- return {
4963
- url: toPathString(localVarUrlObj),
4964
- options: localVarRequestOptions,
4965
- };
4966
- },
4967
- /**
4968
- *
4969
- * @param {string} id
4970
- * @param {*} [options] Override http request option.
4971
- * @throws {RequiredError}
4972
- */
4973
- vehicleBrandsDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4974
- // verify required parameter 'id' is not null or undefined
4975
- assertParamExists('vehicleBrandsDelete', 'id', id)
4976
- const localVarPath = `/vehicle-brands/{id}`
4977
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4978
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4979
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4980
- let baseOptions;
4981
- if (configuration) {
4982
- baseOptions = configuration.baseOptions;
4983
- }
4984
-
4985
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4986
- const localVarHeaderParameter = {} as any;
4987
- const localVarQueryParameter = {} as any;
4988
-
4989
-
4990
-
4991
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4992
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4993
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4994
-
4995
- return {
4996
- url: toPathString(localVarUrlObj),
4997
- options: localVarRequestOptions,
4998
- };
4999
- },
5000
- /**
5001
- *
5002
- * @param {string} id
5003
- * @param {*} [options] Override http request option.
5004
- * @throws {RequiredError}
5005
- */
5006
- vehicleBrandsGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5007
- // verify required parameter 'id' is not null or undefined
5008
- assertParamExists('vehicleBrandsGet', 'id', id)
5009
- const localVarPath = `/vehicle-brands/{id}`
5010
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5011
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5012
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5013
- let baseOptions;
5014
- if (configuration) {
5015
- baseOptions = configuration.baseOptions;
5016
- }
5017
-
5018
4809
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5019
4810
  const localVarHeaderParameter = {} as any;
5020
4811
  const localVarQueryParameter = {} as any;
@@ -5025,79 +4816,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5025
4816
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5026
4817
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5027
4818
 
5028
- return {
5029
- url: toPathString(localVarUrlObj),
5030
- options: localVarRequestOptions,
5031
- };
5032
- },
5033
- /**
5034
- *
5035
- * @param {string} [name]
5036
- * @param {*} [options] Override http request option.
5037
- * @throws {RequiredError}
5038
- */
5039
- vehicleBrandsIndex: async (name?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5040
- const localVarPath = `/vehicle-brands`;
5041
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5042
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5043
- let baseOptions;
5044
- if (configuration) {
5045
- baseOptions = configuration.baseOptions;
5046
- }
5047
-
5048
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5049
- const localVarHeaderParameter = {} as any;
5050
- const localVarQueryParameter = {} as any;
5051
-
5052
- if (name !== undefined) {
5053
- localVarQueryParameter['name'] = name;
5054
- }
5055
-
5056
-
5057
-
5058
- setSearchParams(localVarUrlObj, localVarQueryParameter);
5059
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5060
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5061
-
5062
- return {
5063
- url: toPathString(localVarUrlObj),
5064
- options: localVarRequestOptions,
5065
- };
5066
- },
5067
- /**
5068
- *
5069
- * @param {string} id
5070
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
5071
- * @param {*} [options] Override http request option.
5072
- * @throws {RequiredError}
5073
- */
5074
- vehicleBrandsUpdate: async (id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5075
- // verify required parameter 'id' is not null or undefined
5076
- assertParamExists('vehicleBrandsUpdate', 'id', id)
5077
- // verify required parameter 'updateVehicleBrandBody' is not null or undefined
5078
- assertParamExists('vehicleBrandsUpdate', 'updateVehicleBrandBody', updateVehicleBrandBody)
5079
- const localVarPath = `/vehicle-brands/{id}`
5080
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5081
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5082
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5083
- let baseOptions;
5084
- if (configuration) {
5085
- baseOptions = configuration.baseOptions;
5086
- }
5087
-
5088
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
5089
- const localVarHeaderParameter = {} as any;
5090
- const localVarQueryParameter = {} as any;
5091
-
5092
-
5093
-
5094
- localVarHeaderParameter['Content-Type'] = 'application/json';
5095
-
5096
- setSearchParams(localVarUrlObj, localVarQueryParameter);
5097
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5098
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5099
- localVarRequestOptions.data = serializeDataIfNeeded(updateVehicleBrandBody, localVarRequestOptions, configuration)
5100
-
5101
4819
  return {
5102
4820
  url: toPathString(localVarUrlObj),
5103
4821
  options: localVarRequestOptions,
@@ -5276,9 +4994,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5276
4994
  * @param {string} [updatedAt]
5277
4995
  * @param {string} [propertyName]
5278
4996
  * @param {string} [propertyId]
5279
- * @param {boolean} [ignoreStore]
5280
- * @param {boolean} [ocrVerified]
5281
- * @param {boolean} [convertDate]
5282
4997
  * @param {string} [sortKey]
5283
4998
  * @param {string} [sortDirection]
5284
4999
  * @param {boolean} [hasTaxId]
@@ -5287,8 +5002,8 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5287
5002
  * @param {*} [options] Override http request option.
5288
5003
  * @throws {RequiredError}
5289
5004
  */
5290
- 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>>> {
5291
- 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);
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);
5292
5007
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5293
5008
  },
5294
5009
  /**
@@ -5521,6 +5236,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5521
5236
  const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesDelete(id, xAccountId, options);
5522
5237
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5523
5238
  },
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
+ },
5524
5249
  /**
5525
5250
  *
5526
5251
  * @param {string} [xAccountId]
@@ -5575,53 +5300,11 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5575
5300
  },
5576
5301
  /**
5577
5302
  *
5578
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
5579
- * @param {*} [options] Override http request option.
5580
- * @throws {RequiredError}
5581
- */
5582
- async vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5583
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsCreate(createVehicleBrandBody, options);
5584
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5585
- },
5586
- /**
5587
- *
5588
- * @param {string} id
5589
5303
  * @param {*} [options] Override http request option.
5590
5304
  * @throws {RequiredError}
5591
5305
  */
5592
- async vehicleBrandsDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteVehicleBrandResponse>> {
5593
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsDelete(id, options);
5594
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5595
- },
5596
- /**
5597
- *
5598
- * @param {string} id
5599
- * @param {*} [options] Override http request option.
5600
- * @throws {RequiredError}
5601
- */
5602
- async vehicleBrandsGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5603
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsGet(id, options);
5604
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5605
- },
5606
- /**
5607
- *
5608
- * @param {string} [name]
5609
- * @param {*} [options] Override http request option.
5610
- * @throws {RequiredError}
5611
- */
5612
- async vehicleBrandsIndex(name?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleBrandIndexResponse>>> {
5613
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsIndex(name, options);
5614
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5615
- },
5616
- /**
5617
- *
5618
- * @param {string} id
5619
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
5620
- * @param {*} [options] Override http request option.
5621
- * @throws {RequiredError}
5622
- */
5623
- async vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5624
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsUpdate(id, updateVehicleBrandBody, options);
5306
+ async vehicleBrandsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleBrandIndexResponse>>> {
5307
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsIndex(options);
5625
5308
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5626
5309
  },
5627
5310
  }
@@ -5782,9 +5465,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5782
5465
  * @param {string} [updatedAt]
5783
5466
  * @param {string} [propertyName]
5784
5467
  * @param {string} [propertyId]
5785
- * @param {boolean} [ignoreStore]
5786
- * @param {boolean} [ocrVerified]
5787
- * @param {boolean} [convertDate]
5788
5468
  * @param {string} [sortKey]
5789
5469
  * @param {string} [sortDirection]
5790
5470
  * @param {boolean} [hasTaxId]
@@ -5793,8 +5473,8 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5793
5473
  * @param {*} [options] Override http request option.
5794
5474
  * @throws {RequiredError}
5795
5475
  */
5796
- 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>> {
5797
- 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));
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));
5798
5478
  },
5799
5479
  /**
5800
5480
  *
@@ -6007,6 +5687,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6007
5687
  registeredVehiclesDelete(id: string, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6008
5688
  return localVarFp.registeredVehiclesDelete(id, xAccountId, options).then((request) => request(axios, basePath));
6009
5689
  },
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
+ },
6010
5699
  /**
6011
5700
  *
6012
5701
  * @param {string} [xAccountId]
@@ -6056,49 +5745,11 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6056
5745
  },
6057
5746
  /**
6058
5747
  *
6059
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
6060
5748
  * @param {*} [options] Override http request option.
6061
5749
  * @throws {RequiredError}
6062
5750
  */
6063
- vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
6064
- return localVarFp.vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(axios, basePath));
6065
- },
6066
- /**
6067
- *
6068
- * @param {string} id
6069
- * @param {*} [options] Override http request option.
6070
- * @throws {RequiredError}
6071
- */
6072
- vehicleBrandsDelete(id: string, options?: any): AxiosPromise<DeleteVehicleBrandResponse> {
6073
- return localVarFp.vehicleBrandsDelete(id, options).then((request) => request(axios, basePath));
6074
- },
6075
- /**
6076
- *
6077
- * @param {string} id
6078
- * @param {*} [options] Override http request option.
6079
- * @throws {RequiredError}
6080
- */
6081
- vehicleBrandsGet(id: string, options?: any): AxiosPromise<VehicleBrandResponse> {
6082
- return localVarFp.vehicleBrandsGet(id, options).then((request) => request(axios, basePath));
6083
- },
6084
- /**
6085
- *
6086
- * @param {string} [name]
6087
- * @param {*} [options] Override http request option.
6088
- * @throws {RequiredError}
6089
- */
6090
- vehicleBrandsIndex(name?: string, options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>> {
6091
- return localVarFp.vehicleBrandsIndex(name, options).then((request) => request(axios, basePath));
6092
- },
6093
- /**
6094
- *
6095
- * @param {string} id
6096
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
6097
- * @param {*} [options] Override http request option.
6098
- * @throws {RequiredError}
6099
- */
6100
- vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
6101
- return localVarFp.vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(axios, basePath));
5751
+ vehicleBrandsIndex(options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>> {
5752
+ return localVarFp.vehicleBrandsIndex(options).then((request) => request(axios, basePath));
6102
5753
  },
6103
5754
  };
6104
5755
  };
@@ -6288,9 +5939,6 @@ export class DefaultApi extends BaseAPI {
6288
5939
  * @param {string} [updatedAt]
6289
5940
  * @param {string} [propertyName]
6290
5941
  * @param {string} [propertyId]
6291
- * @param {boolean} [ignoreStore]
6292
- * @param {boolean} [ocrVerified]
6293
- * @param {boolean} [convertDate]
6294
5942
  * @param {string} [sortKey]
6295
5943
  * @param {string} [sortDirection]
6296
5944
  * @param {boolean} [hasTaxId]
@@ -6300,8 +5948,8 @@ export class DefaultApi extends BaseAPI {
6300
5948
  * @throws {RequiredError}
6301
5949
  * @memberof DefaultApi
6302
5950
  */
6303
- 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) {
6304
- 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));
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));
6305
5953
  }
6306
5954
 
6307
5955
  /**
@@ -6553,6 +6201,17 @@ export class DefaultApi extends BaseAPI {
6553
6201
  return DefaultApiFp(this.configuration).registeredVehiclesDelete(id, xAccountId, options).then((request) => request(this.axios, this.basePath));
6554
6202
  }
6555
6203
 
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
+
6556
6215
  /**
6557
6216
  *
6558
6217
  * @param {string} [xAccountId]
@@ -6612,58 +6271,12 @@ export class DefaultApi extends BaseAPI {
6612
6271
 
6613
6272
  /**
6614
6273
  *
6615
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
6616
- * @param {*} [options] Override http request option.
6617
- * @throws {RequiredError}
6618
- * @memberof DefaultApi
6619
- */
6620
- public vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig) {
6621
- return DefaultApiFp(this.configuration).vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
6622
- }
6623
-
6624
- /**
6625
- *
6626
- * @param {string} id
6627
- * @param {*} [options] Override http request option.
6628
- * @throws {RequiredError}
6629
- * @memberof DefaultApi
6630
- */
6631
- public vehicleBrandsDelete(id: string, options?: AxiosRequestConfig) {
6632
- return DefaultApiFp(this.configuration).vehicleBrandsDelete(id, options).then((request) => request(this.axios, this.basePath));
6633
- }
6634
-
6635
- /**
6636
- *
6637
- * @param {string} id
6638
- * @param {*} [options] Override http request option.
6639
- * @throws {RequiredError}
6640
- * @memberof DefaultApi
6641
- */
6642
- public vehicleBrandsGet(id: string, options?: AxiosRequestConfig) {
6643
- return DefaultApiFp(this.configuration).vehicleBrandsGet(id, options).then((request) => request(this.axios, this.basePath));
6644
- }
6645
-
6646
- /**
6647
- *
6648
- * @param {string} [name]
6649
- * @param {*} [options] Override http request option.
6650
- * @throws {RequiredError}
6651
- * @memberof DefaultApi
6652
- */
6653
- public vehicleBrandsIndex(name?: string, options?: AxiosRequestConfig) {
6654
- return DefaultApiFp(this.configuration).vehicleBrandsIndex(name, options).then((request) => request(this.axios, this.basePath));
6655
- }
6656
-
6657
- /**
6658
- *
6659
- * @param {string} id
6660
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
6661
6274
  * @param {*} [options] Override http request option.
6662
6275
  * @throws {RequiredError}
6663
6276
  * @memberof DefaultApi
6664
6277
  */
6665
- public vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig) {
6666
- return DefaultApiFp(this.configuration).vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
6278
+ public vehicleBrandsIndex(options?: AxiosRequestConfig) {
6279
+ return DefaultApiFp(this.configuration).vehicleBrandsIndex(options).then((request) => request(this.axios, this.basePath));
6667
6280
  }
6668
6281
  }
6669
6282