ob-parking-sdk 0.0.59 → 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
@@ -2673,24 +2605,6 @@ export interface StoreWhitelistResponse {
2673
2605
  * @memberof StoreWhitelistResponse
2674
2606
  */
2675
2607
  'property': StoreWhitelistResponseProperty;
2676
- /**
2677
- *
2678
- * @type {boolean}
2679
- * @memberof StoreWhitelistResponse
2680
- */
2681
- 'convert_date': boolean;
2682
- /**
2683
- *
2684
- * @type {boolean}
2685
- * @memberof StoreWhitelistResponse
2686
- */
2687
- 'ocr_verified': boolean;
2688
- /**
2689
- *
2690
- * @type {boolean}
2691
- * @memberof StoreWhitelistResponse
2692
- */
2693
- 'ignore_store': boolean;
2694
2608
  /**
2695
2609
  *
2696
2610
  * @type {boolean}
@@ -2820,24 +2734,6 @@ export interface TestTest200Response {
2820
2734
  * @interface UpdateConfigStoreWhitelist
2821
2735
  */
2822
2736
  export interface UpdateConfigStoreWhitelist {
2823
- /**
2824
- *
2825
- * @type {boolean}
2826
- * @memberof UpdateConfigStoreWhitelist
2827
- */
2828
- 'convert_date': boolean;
2829
- /**
2830
- *
2831
- * @type {boolean}
2832
- * @memberof UpdateConfigStoreWhitelist
2833
- */
2834
- 'ocr_verified': boolean;
2835
- /**
2836
- *
2837
- * @type {boolean}
2838
- * @memberof UpdateConfigStoreWhitelist
2839
- */
2840
- 'ignore_store': boolean;
2841
2737
  /**
2842
2738
  *
2843
2739
  * @type {string}
@@ -3067,19 +2963,6 @@ export interface UpdateRegisteredVehicleBody {
3067
2963
  }
3068
2964
 
3069
2965
 
3070
- /**
3071
- *
3072
- * @export
3073
- * @interface UpdateVehicleBrandBody
3074
- */
3075
- export interface UpdateVehicleBrandBody {
3076
- /**
3077
- *
3078
- * @type {string}
3079
- * @memberof UpdateVehicleBrandBody
3080
- */
3081
- 'name'?: string;
3082
- }
3083
2966
  /**
3084
2967
  *
3085
2968
  * @export
@@ -3143,19 +3026,6 @@ export interface ValidateReceiptImageBody {
3143
3026
  */
3144
3027
  'source': string;
3145
3028
  }
3146
- /**
3147
- *
3148
- * @export
3149
- * @interface VehicleBrandIndexQuery
3150
- */
3151
- export interface VehicleBrandIndexQuery {
3152
- /**
3153
- *
3154
- * @type {string}
3155
- * @memberof VehicleBrandIndexQuery
3156
- */
3157
- 'name'?: string;
3158
- }
3159
3029
  /**
3160
3030
  *
3161
3031
  * @export
@@ -3212,25 +3082,6 @@ export interface VehicleBrandIndexResponseVehicleModelsInner {
3212
3082
  */
3213
3083
  'id'?: string;
3214
3084
  }
3215
- /**
3216
- *
3217
- * @export
3218
- * @interface VehicleBrandResponse
3219
- */
3220
- export interface VehicleBrandResponse {
3221
- /**
3222
- *
3223
- * @type {string}
3224
- * @memberof VehicleBrandResponse
3225
- */
3226
- 'name': string;
3227
- /**
3228
- *
3229
- * @type {string}
3230
- * @memberof VehicleBrandResponse
3231
- */
3232
- 'id': string;
3233
- }
3234
3085
  /**
3235
3086
  *
3236
3087
  * @export
@@ -3779,9 +3630,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3779
3630
  * @param {string} [updatedAt]
3780
3631
  * @param {string} [propertyName]
3781
3632
  * @param {string} [propertyId]
3782
- * @param {boolean} [ignoreStore]
3783
- * @param {boolean} [ocrVerified]
3784
- * @param {boolean} [convertDate]
3785
3633
  * @param {string} [sortKey]
3786
3634
  * @param {string} [sortDirection]
3787
3635
  * @param {boolean} [hasTaxId]
@@ -3790,7 +3638,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3790
3638
  * @param {*} [options] Override http request option.
3791
3639
  * @throws {RequiredError}
3792
3640
  */
3793
- 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> => {
3794
3642
  const localVarPath = `/config/store/whitelist`;
3795
3643
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3796
3644
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3847,18 +3695,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3847
3695
  localVarQueryParameter['property_id'] = propertyId;
3848
3696
  }
3849
3697
 
3850
- if (ignoreStore !== undefined) {
3851
- localVarQueryParameter['ignore_store'] = ignoreStore;
3852
- }
3853
-
3854
- if (ocrVerified !== undefined) {
3855
- localVarQueryParameter['ocr_verified'] = ocrVerified;
3856
- }
3857
-
3858
- if (convertDate !== undefined) {
3859
- localVarQueryParameter['convert_date'] = convertDate;
3860
- }
3861
-
3862
3698
  if (sortKey !== undefined) {
3863
3699
  localVarQueryParameter['sort_key'] = sortKey;
3864
3700
  }
@@ -4730,6 +4566,39 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4730
4566
 
4731
4567
 
4732
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
+
4733
4602
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4734
4603
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4735
4604
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -4925,112 +4794,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4925
4794
  },
4926
4795
  /**
4927
4796
  *
4928
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
4929
- * @param {*} [options] Override http request option.
4930
- * @throws {RequiredError}
4931
- */
4932
- vehicleBrandsCreate: async (createVehicleBrandBody: CreateVehicleBrandBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4933
- // verify required parameter 'createVehicleBrandBody' is not null or undefined
4934
- assertParamExists('vehicleBrandsCreate', 'createVehicleBrandBody', createVehicleBrandBody)
4935
- const localVarPath = `/vehicle-brands`;
4936
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4937
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4938
- let baseOptions;
4939
- if (configuration) {
4940
- baseOptions = configuration.baseOptions;
4941
- }
4942
-
4943
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4944
- const localVarHeaderParameter = {} as any;
4945
- const localVarQueryParameter = {} as any;
4946
-
4947
-
4948
-
4949
- localVarHeaderParameter['Content-Type'] = 'application/json';
4950
-
4951
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4952
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4953
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4954
- localVarRequestOptions.data = serializeDataIfNeeded(createVehicleBrandBody, localVarRequestOptions, configuration)
4955
-
4956
- return {
4957
- url: toPathString(localVarUrlObj),
4958
- options: localVarRequestOptions,
4959
- };
4960
- },
4961
- /**
4962
- *
4963
- * @param {string} id
4964
- * @param {*} [options] Override http request option.
4965
- * @throws {RequiredError}
4966
- */
4967
- vehicleBrandsDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4968
- // verify required parameter 'id' is not null or undefined
4969
- assertParamExists('vehicleBrandsDelete', 'id', id)
4970
- const localVarPath = `/vehicle-brands/{id}`
4971
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4972
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4973
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4974
- let baseOptions;
4975
- if (configuration) {
4976
- baseOptions = configuration.baseOptions;
4977
- }
4978
-
4979
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4980
- const localVarHeaderParameter = {} as any;
4981
- const localVarQueryParameter = {} as any;
4982
-
4983
-
4984
-
4985
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4986
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4987
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4988
-
4989
- return {
4990
- url: toPathString(localVarUrlObj),
4991
- options: localVarRequestOptions,
4992
- };
4993
- },
4994
- /**
4995
- *
4996
- * @param {string} id
4997
- * @param {*} [options] Override http request option.
4998
- * @throws {RequiredError}
4999
- */
5000
- vehicleBrandsGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5001
- // verify required parameter 'id' is not null or undefined
5002
- assertParamExists('vehicleBrandsGet', 'id', id)
5003
- const localVarPath = `/vehicle-brands/{id}`
5004
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5005
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5006
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5007
- let baseOptions;
5008
- if (configuration) {
5009
- baseOptions = configuration.baseOptions;
5010
- }
5011
-
5012
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5013
- const localVarHeaderParameter = {} as any;
5014
- const localVarQueryParameter = {} as any;
5015
-
5016
-
5017
-
5018
- setSearchParams(localVarUrlObj, localVarQueryParameter);
5019
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5020
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5021
-
5022
- return {
5023
- url: toPathString(localVarUrlObj),
5024
- options: localVarRequestOptions,
5025
- };
5026
- },
5027
- /**
5028
- *
5029
- * @param {string} [name]
5030
4797
  * @param {*} [options] Override http request option.
5031
4798
  * @throws {RequiredError}
5032
4799
  */
5033
- vehicleBrandsIndex: async (name?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4800
+ vehicleBrandsIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5034
4801
  const localVarPath = `/vehicle-brands`;
5035
4802
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5036
4803
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5043,55 +4810,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5043
4810
  const localVarHeaderParameter = {} as any;
5044
4811
  const localVarQueryParameter = {} as any;
5045
4812
 
5046
- if (name !== undefined) {
5047
- localVarQueryParameter['name'] = name;
5048
- }
5049
-
5050
4813
 
5051
4814
 
5052
4815
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5053
4816
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5054
4817
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5055
4818
 
5056
- return {
5057
- url: toPathString(localVarUrlObj),
5058
- options: localVarRequestOptions,
5059
- };
5060
- },
5061
- /**
5062
- *
5063
- * @param {string} id
5064
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
5065
- * @param {*} [options] Override http request option.
5066
- * @throws {RequiredError}
5067
- */
5068
- vehicleBrandsUpdate: async (id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5069
- // verify required parameter 'id' is not null or undefined
5070
- assertParamExists('vehicleBrandsUpdate', 'id', id)
5071
- // verify required parameter 'updateVehicleBrandBody' is not null or undefined
5072
- assertParamExists('vehicleBrandsUpdate', 'updateVehicleBrandBody', updateVehicleBrandBody)
5073
- const localVarPath = `/vehicle-brands/{id}`
5074
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5075
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5076
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5077
- let baseOptions;
5078
- if (configuration) {
5079
- baseOptions = configuration.baseOptions;
5080
- }
5081
-
5082
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
5083
- const localVarHeaderParameter = {} as any;
5084
- const localVarQueryParameter = {} as any;
5085
-
5086
-
5087
-
5088
- localVarHeaderParameter['Content-Type'] = 'application/json';
5089
-
5090
- setSearchParams(localVarUrlObj, localVarQueryParameter);
5091
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5092
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5093
- localVarRequestOptions.data = serializeDataIfNeeded(updateVehicleBrandBody, localVarRequestOptions, configuration)
5094
-
5095
4819
  return {
5096
4820
  url: toPathString(localVarUrlObj),
5097
4821
  options: localVarRequestOptions,
@@ -5270,9 +4994,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5270
4994
  * @param {string} [updatedAt]
5271
4995
  * @param {string} [propertyName]
5272
4996
  * @param {string} [propertyId]
5273
- * @param {boolean} [ignoreStore]
5274
- * @param {boolean} [ocrVerified]
5275
- * @param {boolean} [convertDate]
5276
4997
  * @param {string} [sortKey]
5277
4998
  * @param {string} [sortDirection]
5278
4999
  * @param {boolean} [hasTaxId]
@@ -5281,8 +5002,8 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5281
5002
  * @param {*} [options] Override http request option.
5282
5003
  * @throws {RequiredError}
5283
5004
  */
5284
- 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>>> {
5285
- 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);
5286
5007
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5287
5008
  },
5288
5009
  /**
@@ -5515,6 +5236,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5515
5236
  const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesDelete(id, xAccountId, options);
5516
5237
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5517
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
+ },
5518
5249
  /**
5519
5250
  *
5520
5251
  * @param {string} [xAccountId]
@@ -5569,53 +5300,11 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5569
5300
  },
5570
5301
  /**
5571
5302
  *
5572
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
5573
5303
  * @param {*} [options] Override http request option.
5574
5304
  * @throws {RequiredError}
5575
5305
  */
5576
- async vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5577
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsCreate(createVehicleBrandBody, options);
5578
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5579
- },
5580
- /**
5581
- *
5582
- * @param {string} id
5583
- * @param {*} [options] Override http request option.
5584
- * @throws {RequiredError}
5585
- */
5586
- async vehicleBrandsDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteVehicleBrandResponse>> {
5587
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsDelete(id, options);
5588
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5589
- },
5590
- /**
5591
- *
5592
- * @param {string} id
5593
- * @param {*} [options] Override http request option.
5594
- * @throws {RequiredError}
5595
- */
5596
- async vehicleBrandsGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5597
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsGet(id, options);
5598
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5599
- },
5600
- /**
5601
- *
5602
- * @param {string} [name]
5603
- * @param {*} [options] Override http request option.
5604
- * @throws {RequiredError}
5605
- */
5606
- async vehicleBrandsIndex(name?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleBrandIndexResponse>>> {
5607
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsIndex(name, options);
5608
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5609
- },
5610
- /**
5611
- *
5612
- * @param {string} id
5613
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
5614
- * @param {*} [options] Override http request option.
5615
- * @throws {RequiredError}
5616
- */
5617
- async vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5618
- 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);
5619
5308
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5620
5309
  },
5621
5310
  }
@@ -5776,9 +5465,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5776
5465
  * @param {string} [updatedAt]
5777
5466
  * @param {string} [propertyName]
5778
5467
  * @param {string} [propertyId]
5779
- * @param {boolean} [ignoreStore]
5780
- * @param {boolean} [ocrVerified]
5781
- * @param {boolean} [convertDate]
5782
5468
  * @param {string} [sortKey]
5783
5469
  * @param {string} [sortDirection]
5784
5470
  * @param {boolean} [hasTaxId]
@@ -5787,8 +5473,8 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5787
5473
  * @param {*} [options] Override http request option.
5788
5474
  * @throws {RequiredError}
5789
5475
  */
5790
- 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>> {
5791
- 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));
5792
5478
  },
5793
5479
  /**
5794
5480
  *
@@ -6001,6 +5687,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6001
5687
  registeredVehiclesDelete(id: string, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6002
5688
  return localVarFp.registeredVehiclesDelete(id, xAccountId, options).then((request) => request(axios, basePath));
6003
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
+ },
6004
5699
  /**
6005
5700
  *
6006
5701
  * @param {string} [xAccountId]
@@ -6050,49 +5745,11 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6050
5745
  },
6051
5746
  /**
6052
5747
  *
6053
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
6054
- * @param {*} [options] Override http request option.
6055
- * @throws {RequiredError}
6056
- */
6057
- vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
6058
- return localVarFp.vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(axios, basePath));
6059
- },
6060
- /**
6061
- *
6062
- * @param {string} id
6063
- * @param {*} [options] Override http request option.
6064
- * @throws {RequiredError}
6065
- */
6066
- vehicleBrandsDelete(id: string, options?: any): AxiosPromise<DeleteVehicleBrandResponse> {
6067
- return localVarFp.vehicleBrandsDelete(id, options).then((request) => request(axios, basePath));
6068
- },
6069
- /**
6070
- *
6071
- * @param {string} id
6072
- * @param {*} [options] Override http request option.
6073
- * @throws {RequiredError}
6074
- */
6075
- vehicleBrandsGet(id: string, options?: any): AxiosPromise<VehicleBrandResponse> {
6076
- return localVarFp.vehicleBrandsGet(id, options).then((request) => request(axios, basePath));
6077
- },
6078
- /**
6079
- *
6080
- * @param {string} [name]
6081
- * @param {*} [options] Override http request option.
6082
- * @throws {RequiredError}
6083
- */
6084
- vehicleBrandsIndex(name?: string, options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>> {
6085
- return localVarFp.vehicleBrandsIndex(name, options).then((request) => request(axios, basePath));
6086
- },
6087
- /**
6088
- *
6089
- * @param {string} id
6090
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
6091
5748
  * @param {*} [options] Override http request option.
6092
5749
  * @throws {RequiredError}
6093
5750
  */
6094
- vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
6095
- 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));
6096
5753
  },
6097
5754
  };
6098
5755
  };
@@ -6282,9 +5939,6 @@ export class DefaultApi extends BaseAPI {
6282
5939
  * @param {string} [updatedAt]
6283
5940
  * @param {string} [propertyName]
6284
5941
  * @param {string} [propertyId]
6285
- * @param {boolean} [ignoreStore]
6286
- * @param {boolean} [ocrVerified]
6287
- * @param {boolean} [convertDate]
6288
5942
  * @param {string} [sortKey]
6289
5943
  * @param {string} [sortDirection]
6290
5944
  * @param {boolean} [hasTaxId]
@@ -6294,8 +5948,8 @@ export class DefaultApi extends BaseAPI {
6294
5948
  * @throws {RequiredError}
6295
5949
  * @memberof DefaultApi
6296
5950
  */
6297
- 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) {
6298
- 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));
6299
5953
  }
6300
5954
 
6301
5955
  /**
@@ -6547,6 +6201,17 @@ export class DefaultApi extends BaseAPI {
6547
6201
  return DefaultApiFp(this.configuration).registeredVehiclesDelete(id, xAccountId, options).then((request) => request(this.axios, this.basePath));
6548
6202
  }
6549
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
+
6550
6215
  /**
6551
6216
  *
6552
6217
  * @param {string} [xAccountId]
@@ -6606,58 +6271,12 @@ export class DefaultApi extends BaseAPI {
6606
6271
 
6607
6272
  /**
6608
6273
  *
6609
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
6610
- * @param {*} [options] Override http request option.
6611
- * @throws {RequiredError}
6612
- * @memberof DefaultApi
6613
- */
6614
- public vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig) {
6615
- return DefaultApiFp(this.configuration).vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
6616
- }
6617
-
6618
- /**
6619
- *
6620
- * @param {string} id
6621
- * @param {*} [options] Override http request option.
6622
- * @throws {RequiredError}
6623
- * @memberof DefaultApi
6624
- */
6625
- public vehicleBrandsDelete(id: string, options?: AxiosRequestConfig) {
6626
- return DefaultApiFp(this.configuration).vehicleBrandsDelete(id, options).then((request) => request(this.axios, this.basePath));
6627
- }
6628
-
6629
- /**
6630
- *
6631
- * @param {string} id
6632
- * @param {*} [options] Override http request option.
6633
- * @throws {RequiredError}
6634
- * @memberof DefaultApi
6635
- */
6636
- public vehicleBrandsGet(id: string, options?: AxiosRequestConfig) {
6637
- return DefaultApiFp(this.configuration).vehicleBrandsGet(id, options).then((request) => request(this.axios, this.basePath));
6638
- }
6639
-
6640
- /**
6641
- *
6642
- * @param {string} [name]
6643
- * @param {*} [options] Override http request option.
6644
- * @throws {RequiredError}
6645
- * @memberof DefaultApi
6646
- */
6647
- public vehicleBrandsIndex(name?: string, options?: AxiosRequestConfig) {
6648
- return DefaultApiFp(this.configuration).vehicleBrandsIndex(name, options).then((request) => request(this.axios, this.basePath));
6649
- }
6650
-
6651
- /**
6652
- *
6653
- * @param {string} id
6654
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
6655
6274
  * @param {*} [options] Override http request option.
6656
6275
  * @throws {RequiredError}
6657
6276
  * @memberof DefaultApi
6658
6277
  */
6659
- public vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig) {
6660
- 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));
6661
6280
  }
6662
6281
  }
6663
6282