ob-parking-sdk 0.0.58 → 0.0.60

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.2
7
+ * The version of the OpenAPI document: 1.27.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -113,6 +113,12 @@ export interface AddConfigStoreWhitelist {
113
113
  * @memberof AddConfigStoreWhitelist
114
114
  */
115
115
  'ocr_verified': boolean;
116
+ /**
117
+ *
118
+ * @type {boolean}
119
+ * @memberof AddConfigStoreWhitelist
120
+ */
121
+ 'convert_date': boolean;
116
122
  }
117
123
  /**
118
124
  *
@@ -555,6 +561,24 @@ export interface ConfigStoreWhitelistQuery {
555
561
  * @memberof ConfigStoreWhitelistQuery
556
562
  */
557
563
  'property_id'?: string;
564
+ /**
565
+ *
566
+ * @type {boolean}
567
+ * @memberof ConfigStoreWhitelistQuery
568
+ */
569
+ 'ignore_store'?: boolean;
570
+ /**
571
+ *
572
+ * @type {boolean}
573
+ * @memberof ConfigStoreWhitelistQuery
574
+ */
575
+ 'ocr_verified'?: boolean;
576
+ /**
577
+ *
578
+ * @type {boolean}
579
+ * @memberof ConfigStoreWhitelistQuery
580
+ */
581
+ 'convert_date'?: boolean;
558
582
  /**
559
583
  *
560
584
  * @type {string}
@@ -669,6 +693,38 @@ export interface CreateRegisteredVehicleBody {
669
693
  }
670
694
 
671
695
 
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
+ }
672
728
  /**
673
729
  *
674
730
  * @export
@@ -2277,6 +2333,12 @@ export interface ReceiptData {
2277
2333
  * @memberof ReceiptData
2278
2334
  */
2279
2335
  'message': string;
2336
+ /**
2337
+ *
2338
+ * @type {boolean}
2339
+ * @memberof ReceiptData
2340
+ */
2341
+ 'docint_handwriting'?: boolean;
2280
2342
  }
2281
2343
  /**
2282
2344
  *
@@ -2617,6 +2679,12 @@ export interface StoreWhitelistResponse {
2617
2679
  * @memberof StoreWhitelistResponse
2618
2680
  */
2619
2681
  'property': StoreWhitelistResponseProperty;
2682
+ /**
2683
+ *
2684
+ * @type {boolean}
2685
+ * @memberof StoreWhitelistResponse
2686
+ */
2687
+ 'convert_date': boolean;
2620
2688
  /**
2621
2689
  *
2622
2690
  * @type {boolean}
@@ -2758,6 +2826,12 @@ export interface TestTest200Response {
2758
2826
  * @interface UpdateConfigStoreWhitelist
2759
2827
  */
2760
2828
  export interface UpdateConfigStoreWhitelist {
2829
+ /**
2830
+ *
2831
+ * @type {boolean}
2832
+ * @memberof UpdateConfigStoreWhitelist
2833
+ */
2834
+ 'convert_date': boolean;
2761
2835
  /**
2762
2836
  *
2763
2837
  * @type {boolean}
@@ -2999,6 +3073,19 @@ export interface UpdateRegisteredVehicleBody {
2999
3073
  }
3000
3074
 
3001
3075
 
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
+ }
3002
3089
  /**
3003
3090
  *
3004
3091
  * @export
@@ -3062,6 +3149,19 @@ export interface ValidateReceiptImageBody {
3062
3149
  */
3063
3150
  'source': string;
3064
3151
  }
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
+ }
3065
3165
  /**
3066
3166
  *
3067
3167
  * @export
@@ -3118,6 +3218,25 @@ export interface VehicleBrandIndexResponseVehicleModelsInner {
3118
3218
  */
3119
3219
  'id'?: string;
3120
3220
  }
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
+ }
3121
3240
  /**
3122
3241
  *
3123
3242
  * @export
@@ -3666,6 +3785,9 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3666
3785
  * @param {string} [updatedAt]
3667
3786
  * @param {string} [propertyName]
3668
3787
  * @param {string} [propertyId]
3788
+ * @param {boolean} [ignoreStore]
3789
+ * @param {boolean} [ocrVerified]
3790
+ * @param {boolean} [convertDate]
3669
3791
  * @param {string} [sortKey]
3670
3792
  * @param {string} [sortDirection]
3671
3793
  * @param {boolean} [hasTaxId]
@@ -3674,7 +3796,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3674
3796
  * @param {*} [options] Override http request option.
3675
3797
  * @throws {RequiredError}
3676
3798
  */
3677
- 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> => {
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> => {
3678
3800
  const localVarPath = `/config/store/whitelist`;
3679
3801
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3680
3802
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3731,6 +3853,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3731
3853
  localVarQueryParameter['property_id'] = propertyId;
3732
3854
  }
3733
3855
 
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
+
3734
3868
  if (sortKey !== undefined) {
3735
3869
  localVarQueryParameter['sort_key'] = sortKey;
3736
3870
  }
@@ -4797,10 +4931,13 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4797
4931
  },
4798
4932
  /**
4799
4933
  *
4934
+ * @param {CreateVehicleBrandBody} createVehicleBrandBody
4800
4935
  * @param {*} [options] Override http request option.
4801
4936
  * @throws {RequiredError}
4802
4937
  */
4803
- vehicleBrandsIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4938
+ vehicleBrandsCreate: async (createVehicleBrandBody: CreateVehicleBrandBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4939
+ // verify required parameter 'createVehicleBrandBody' is not null or undefined
4940
+ assertParamExists('vehicleBrandsCreate', 'createVehicleBrandBody', createVehicleBrandBody)
4804
4941
  const localVarPath = `/vehicle-brands`;
4805
4942
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4806
4943
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4809,6 +4946,75 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4809
4946
  baseOptions = configuration.baseOptions;
4810
4947
  }
4811
4948
 
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
+
4812
5018
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4813
5019
  const localVarHeaderParameter = {} as any;
4814
5020
  const localVarQueryParameter = {} as any;
@@ -4826,11 +5032,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4826
5032
  },
4827
5033
  /**
4828
5034
  *
5035
+ * @param {string} [name]
4829
5036
  * @param {*} [options] Override http request option.
4830
5037
  * @throws {RequiredError}
4831
5038
  */
4832
- vipCampaignIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4833
- const localVarPath = `/vip-campaign`;
5039
+ vehicleBrandsIndex: async (name?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5040
+ const localVarPath = `/vehicle-brands`;
4834
5041
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4835
5042
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4836
5043
  let baseOptions;
@@ -4842,6 +5049,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4842
5049
  const localVarHeaderParameter = {} as any;
4843
5050
  const localVarQueryParameter = {} as any;
4844
5051
 
5052
+ if (name !== undefined) {
5053
+ localVarQueryParameter['name'] = name;
5054
+ }
5055
+
4845
5056
 
4846
5057
 
4847
5058
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4855,14 +5066,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4855
5066
  },
4856
5067
  /**
4857
5068
  *
4858
- * @param {UpsertCampaign} upsertCampaign
5069
+ * @param {string} id
5070
+ * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
4859
5071
  * @param {*} [options] Override http request option.
4860
5072
  * @throws {RequiredError}
4861
5073
  */
4862
- vipCampaignUpsert: async (upsertCampaign: UpsertCampaign, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4863
- // verify required parameter 'upsertCampaign' is not null or undefined
4864
- assertParamExists('vipCampaignUpsert', 'upsertCampaign', upsertCampaign)
4865
- const localVarPath = `/vip-campaign`;
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)));
4866
5081
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4867
5082
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4868
5083
  let baseOptions;
@@ -4870,7 +5085,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4870
5085
  baseOptions = configuration.baseOptions;
4871
5086
  }
4872
5087
 
4873
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5088
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
4874
5089
  const localVarHeaderParameter = {} as any;
4875
5090
  const localVarQueryParameter = {} as any;
4876
5091
 
@@ -4881,7 +5096,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4881
5096
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4882
5097
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4883
5098
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4884
- localVarRequestOptions.data = serializeDataIfNeeded(upsertCampaign, localVarRequestOptions, configuration)
5099
+ localVarRequestOptions.data = serializeDataIfNeeded(updateVehicleBrandBody, localVarRequestOptions, configuration)
4885
5100
 
4886
5101
  return {
4887
5102
  url: toPathString(localVarUrlObj),
@@ -5061,6 +5276,9 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5061
5276
  * @param {string} [updatedAt]
5062
5277
  * @param {string} [propertyName]
5063
5278
  * @param {string} [propertyId]
5279
+ * @param {boolean} [ignoreStore]
5280
+ * @param {boolean} [ocrVerified]
5281
+ * @param {boolean} [convertDate]
5064
5282
  * @param {string} [sortKey]
5065
5283
  * @param {string} [sortDirection]
5066
5284
  * @param {boolean} [hasTaxId]
@@ -5069,8 +5287,8 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5069
5287
  * @param {*} [options] Override http request option.
5070
5288
  * @throws {RequiredError}
5071
5289
  */
5072
- 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>>> {
5073
- const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options);
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);
5074
5292
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5075
5293
  },
5076
5294
  /**
@@ -5357,30 +5575,53 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5357
5575
  },
5358
5576
  /**
5359
5577
  *
5578
+ * @param {CreateVehicleBrandBody} createVehicleBrandBody
5360
5579
  * @param {*} [options] Override http request option.
5361
5580
  * @throws {RequiredError}
5362
5581
  */
5363
- async vehicleBrandsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleBrandIndexResponse>>> {
5364
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsIndex(options);
5582
+ async vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5583
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsCreate(createVehicleBrandBody, options);
5365
5584
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5366
5585
  },
5367
5586
  /**
5368
5587
  *
5588
+ * @param {string} id
5369
5589
  * @param {*} [options] Override http request option.
5370
5590
  * @throws {RequiredError}
5371
5591
  */
5372
- async vipCampaignIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CampaignSequenceResponse>> {
5373
- const localVarAxiosArgs = await localVarAxiosParamCreator.vipCampaignIndex(options);
5592
+ async vehicleBrandsDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteVehicleBrandResponse>> {
5593
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsDelete(id, options);
5374
5594
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5375
5595
  },
5376
5596
  /**
5377
5597
  *
5378
- * @param {UpsertCampaign} upsertCampaign
5598
+ * @param {string} id
5379
5599
  * @param {*} [options] Override http request option.
5380
5600
  * @throws {RequiredError}
5381
5601
  */
5382
- async vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CampaignResponse>>> {
5383
- const localVarAxiosArgs = await localVarAxiosParamCreator.vipCampaignUpsert(upsertCampaign, options);
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);
5384
5625
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5385
5626
  },
5386
5627
  }
@@ -5541,6 +5782,9 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5541
5782
  * @param {string} [updatedAt]
5542
5783
  * @param {string} [propertyName]
5543
5784
  * @param {string} [propertyId]
5785
+ * @param {boolean} [ignoreStore]
5786
+ * @param {boolean} [ocrVerified]
5787
+ * @param {boolean} [convertDate]
5544
5788
  * @param {string} [sortKey]
5545
5789
  * @param {string} [sortDirection]
5546
5790
  * @param {boolean} [hasTaxId]
@@ -5549,8 +5793,8 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5549
5793
  * @param {*} [options] Override http request option.
5550
5794
  * @throws {RequiredError}
5551
5795
  */
5552
- 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>> {
5553
- 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));
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));
5554
5798
  },
5555
5799
  /**
5556
5800
  *
@@ -5812,28 +6056,49 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5812
6056
  },
5813
6057
  /**
5814
6058
  *
6059
+ * @param {CreateVehicleBrandBody} createVehicleBrandBody
5815
6060
  * @param {*} [options] Override http request option.
5816
6061
  * @throws {RequiredError}
5817
6062
  */
5818
- vehicleBrandsIndex(options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>> {
5819
- return localVarFp.vehicleBrandsIndex(options).then((request) => request(axios, basePath));
6063
+ vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
6064
+ return localVarFp.vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(axios, basePath));
5820
6065
  },
5821
6066
  /**
5822
6067
  *
6068
+ * @param {string} id
5823
6069
  * @param {*} [options] Override http request option.
5824
6070
  * @throws {RequiredError}
5825
6071
  */
5826
- vipCampaignIndex(options?: any): AxiosPromise<CampaignSequenceResponse> {
5827
- return localVarFp.vipCampaignIndex(options).then((request) => request(axios, basePath));
6072
+ vehicleBrandsDelete(id: string, options?: any): AxiosPromise<DeleteVehicleBrandResponse> {
6073
+ return localVarFp.vehicleBrandsDelete(id, options).then((request) => request(axios, basePath));
5828
6074
  },
5829
6075
  /**
5830
6076
  *
5831
- * @param {UpsertCampaign} upsertCampaign
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
5832
6097
  * @param {*} [options] Override http request option.
5833
6098
  * @throws {RequiredError}
5834
6099
  */
5835
- vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: any): AxiosPromise<Array<CampaignResponse>> {
5836
- return localVarFp.vipCampaignUpsert(upsertCampaign, options).then((request) => request(axios, basePath));
6100
+ vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
6101
+ return localVarFp.vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(axios, basePath));
5837
6102
  },
5838
6103
  };
5839
6104
  };
@@ -6023,6 +6288,9 @@ export class DefaultApi extends BaseAPI {
6023
6288
  * @param {string} [updatedAt]
6024
6289
  * @param {string} [propertyName]
6025
6290
  * @param {string} [propertyId]
6291
+ * @param {boolean} [ignoreStore]
6292
+ * @param {boolean} [ocrVerified]
6293
+ * @param {boolean} [convertDate]
6026
6294
  * @param {string} [sortKey]
6027
6295
  * @param {string} [sortDirection]
6028
6296
  * @param {boolean} [hasTaxId]
@@ -6032,8 +6300,8 @@ export class DefaultApi extends BaseAPI {
6032
6300
  * @throws {RequiredError}
6033
6301
  * @memberof DefaultApi
6034
6302
  */
6035
- 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) {
6036
- 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));
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));
6037
6305
  }
6038
6306
 
6039
6307
  /**
@@ -6344,33 +6612,58 @@ export class DefaultApi extends BaseAPI {
6344
6612
 
6345
6613
  /**
6346
6614
  *
6615
+ * @param {CreateVehicleBrandBody} createVehicleBrandBody
6347
6616
  * @param {*} [options] Override http request option.
6348
6617
  * @throws {RequiredError}
6349
6618
  * @memberof DefaultApi
6350
6619
  */
6351
- public vehicleBrandsIndex(options?: AxiosRequestConfig) {
6352
- return DefaultApiFp(this.configuration).vehicleBrandsIndex(options).then((request) => request(this.axios, this.basePath));
6620
+ public vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig) {
6621
+ return DefaultApiFp(this.configuration).vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
6353
6622
  }
6354
6623
 
6355
6624
  /**
6356
6625
  *
6626
+ * @param {string} id
6357
6627
  * @param {*} [options] Override http request option.
6358
6628
  * @throws {RequiredError}
6359
6629
  * @memberof DefaultApi
6360
6630
  */
6361
- public vipCampaignIndex(options?: AxiosRequestConfig) {
6362
- return DefaultApiFp(this.configuration).vipCampaignIndex(options).then((request) => request(this.axios, this.basePath));
6631
+ public vehicleBrandsDelete(id: string, options?: AxiosRequestConfig) {
6632
+ return DefaultApiFp(this.configuration).vehicleBrandsDelete(id, options).then((request) => request(this.axios, this.basePath));
6363
6633
  }
6364
6634
 
6365
6635
  /**
6366
6636
  *
6367
- * @param {UpsertCampaign} upsertCampaign
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
6368
6661
  * @param {*} [options] Override http request option.
6369
6662
  * @throws {RequiredError}
6370
6663
  * @memberof DefaultApi
6371
6664
  */
6372
- public vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig) {
6373
- return DefaultApiFp(this.configuration).vipCampaignUpsert(upsertCampaign, options).then((request) => request(this.axios, this.basePath));
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));
6374
6667
  }
6375
6668
  }
6376
6669
 
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.2
7
+ * The version of the OpenAPI document: 1.27.1
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.2
7
+ * The version of the OpenAPI document: 1.27.1
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.2
7
+ * The version of the OpenAPI document: 1.27.1
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.2
7
+ * The version of the OpenAPI document: 1.27.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).