ob-parking-sdk 0.0.58 → 0.0.59

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
@@ -2617,6 +2673,12 @@ export interface StoreWhitelistResponse {
2617
2673
  * @memberof StoreWhitelistResponse
2618
2674
  */
2619
2675
  'property': StoreWhitelistResponseProperty;
2676
+ /**
2677
+ *
2678
+ * @type {boolean}
2679
+ * @memberof StoreWhitelistResponse
2680
+ */
2681
+ 'convert_date': boolean;
2620
2682
  /**
2621
2683
  *
2622
2684
  * @type {boolean}
@@ -2758,6 +2820,12 @@ export interface TestTest200Response {
2758
2820
  * @interface UpdateConfigStoreWhitelist
2759
2821
  */
2760
2822
  export interface UpdateConfigStoreWhitelist {
2823
+ /**
2824
+ *
2825
+ * @type {boolean}
2826
+ * @memberof UpdateConfigStoreWhitelist
2827
+ */
2828
+ 'convert_date': boolean;
2761
2829
  /**
2762
2830
  *
2763
2831
  * @type {boolean}
@@ -2999,6 +3067,19 @@ export interface UpdateRegisteredVehicleBody {
2999
3067
  }
3000
3068
 
3001
3069
 
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
+ }
3002
3083
  /**
3003
3084
  *
3004
3085
  * @export
@@ -3062,6 +3143,19 @@ export interface ValidateReceiptImageBody {
3062
3143
  */
3063
3144
  'source': string;
3064
3145
  }
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
+ }
3065
3159
  /**
3066
3160
  *
3067
3161
  * @export
@@ -3118,6 +3212,25 @@ export interface VehicleBrandIndexResponseVehicleModelsInner {
3118
3212
  */
3119
3213
  'id'?: string;
3120
3214
  }
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
+ }
3121
3234
  /**
3122
3235
  *
3123
3236
  * @export
@@ -3666,6 +3779,9 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3666
3779
  * @param {string} [updatedAt]
3667
3780
  * @param {string} [propertyName]
3668
3781
  * @param {string} [propertyId]
3782
+ * @param {boolean} [ignoreStore]
3783
+ * @param {boolean} [ocrVerified]
3784
+ * @param {boolean} [convertDate]
3669
3785
  * @param {string} [sortKey]
3670
3786
  * @param {string} [sortDirection]
3671
3787
  * @param {boolean} [hasTaxId]
@@ -3674,7 +3790,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3674
3790
  * @param {*} [options] Override http request option.
3675
3791
  * @throws {RequiredError}
3676
3792
  */
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> => {
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> => {
3678
3794
  const localVarPath = `/config/store/whitelist`;
3679
3795
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3680
3796
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3731,6 +3847,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3731
3847
  localVarQueryParameter['property_id'] = propertyId;
3732
3848
  }
3733
3849
 
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
+
3734
3862
  if (sortKey !== undefined) {
3735
3863
  localVarQueryParameter['sort_key'] = sortKey;
3736
3864
  }
@@ -4797,10 +4925,13 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4797
4925
  },
4798
4926
  /**
4799
4927
  *
4928
+ * @param {CreateVehicleBrandBody} createVehicleBrandBody
4800
4929
  * @param {*} [options] Override http request option.
4801
4930
  * @throws {RequiredError}
4802
4931
  */
4803
- vehicleBrandsIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4932
+ vehicleBrandsCreate: async (createVehicleBrandBody: CreateVehicleBrandBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4933
+ // verify required parameter 'createVehicleBrandBody' is not null or undefined
4934
+ assertParamExists('vehicleBrandsCreate', 'createVehicleBrandBody', createVehicleBrandBody)
4804
4935
  const localVarPath = `/vehicle-brands`;
4805
4936
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4806
4937
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4809,6 +4940,75 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4809
4940
  baseOptions = configuration.baseOptions;
4810
4941
  }
4811
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
+
4812
5012
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4813
5013
  const localVarHeaderParameter = {} as any;
4814
5014
  const localVarQueryParameter = {} as any;
@@ -4826,11 +5026,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4826
5026
  },
4827
5027
  /**
4828
5028
  *
5029
+ * @param {string} [name]
4829
5030
  * @param {*} [options] Override http request option.
4830
5031
  * @throws {RequiredError}
4831
5032
  */
4832
- vipCampaignIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4833
- const localVarPath = `/vip-campaign`;
5033
+ vehicleBrandsIndex: async (name?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5034
+ const localVarPath = `/vehicle-brands`;
4834
5035
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4835
5036
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4836
5037
  let baseOptions;
@@ -4842,6 +5043,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4842
5043
  const localVarHeaderParameter = {} as any;
4843
5044
  const localVarQueryParameter = {} as any;
4844
5045
 
5046
+ if (name !== undefined) {
5047
+ localVarQueryParameter['name'] = name;
5048
+ }
5049
+
4845
5050
 
4846
5051
 
4847
5052
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4855,14 +5060,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4855
5060
  },
4856
5061
  /**
4857
5062
  *
4858
- * @param {UpsertCampaign} upsertCampaign
5063
+ * @param {string} id
5064
+ * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
4859
5065
  * @param {*} [options] Override http request option.
4860
5066
  * @throws {RequiredError}
4861
5067
  */
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`;
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)));
4866
5075
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4867
5076
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4868
5077
  let baseOptions;
@@ -4870,7 +5079,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4870
5079
  baseOptions = configuration.baseOptions;
4871
5080
  }
4872
5081
 
4873
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5082
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
4874
5083
  const localVarHeaderParameter = {} as any;
4875
5084
  const localVarQueryParameter = {} as any;
4876
5085
 
@@ -4881,7 +5090,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4881
5090
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4882
5091
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4883
5092
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4884
- localVarRequestOptions.data = serializeDataIfNeeded(upsertCampaign, localVarRequestOptions, configuration)
5093
+ localVarRequestOptions.data = serializeDataIfNeeded(updateVehicleBrandBody, localVarRequestOptions, configuration)
4885
5094
 
4886
5095
  return {
4887
5096
  url: toPathString(localVarUrlObj),
@@ -5061,6 +5270,9 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5061
5270
  * @param {string} [updatedAt]
5062
5271
  * @param {string} [propertyName]
5063
5272
  * @param {string} [propertyId]
5273
+ * @param {boolean} [ignoreStore]
5274
+ * @param {boolean} [ocrVerified]
5275
+ * @param {boolean} [convertDate]
5064
5276
  * @param {string} [sortKey]
5065
5277
  * @param {string} [sortDirection]
5066
5278
  * @param {boolean} [hasTaxId]
@@ -5069,8 +5281,8 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5069
5281
  * @param {*} [options] Override http request option.
5070
5282
  * @throws {RequiredError}
5071
5283
  */
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);
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);
5074
5286
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5075
5287
  },
5076
5288
  /**
@@ -5357,30 +5569,53 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5357
5569
  },
5358
5570
  /**
5359
5571
  *
5572
+ * @param {CreateVehicleBrandBody} createVehicleBrandBody
5360
5573
  * @param {*} [options] Override http request option.
5361
5574
  * @throws {RequiredError}
5362
5575
  */
5363
- async vehicleBrandsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleBrandIndexResponse>>> {
5364
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsIndex(options);
5576
+ async vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5577
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsCreate(createVehicleBrandBody, options);
5365
5578
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5366
5579
  },
5367
5580
  /**
5368
5581
  *
5582
+ * @param {string} id
5369
5583
  * @param {*} [options] Override http request option.
5370
5584
  * @throws {RequiredError}
5371
5585
  */
5372
- async vipCampaignIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CampaignSequenceResponse>> {
5373
- const localVarAxiosArgs = await localVarAxiosParamCreator.vipCampaignIndex(options);
5586
+ async vehicleBrandsDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteVehicleBrandResponse>> {
5587
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsDelete(id, options);
5374
5588
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5375
5589
  },
5376
5590
  /**
5377
5591
  *
5378
- * @param {UpsertCampaign} upsertCampaign
5592
+ * @param {string} id
5379
5593
  * @param {*} [options] Override http request option.
5380
5594
  * @throws {RequiredError}
5381
5595
  */
5382
- async vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CampaignResponse>>> {
5383
- const localVarAxiosArgs = await localVarAxiosParamCreator.vipCampaignUpsert(upsertCampaign, options);
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);
5384
5619
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5385
5620
  },
5386
5621
  }
@@ -5541,6 +5776,9 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5541
5776
  * @param {string} [updatedAt]
5542
5777
  * @param {string} [propertyName]
5543
5778
  * @param {string} [propertyId]
5779
+ * @param {boolean} [ignoreStore]
5780
+ * @param {boolean} [ocrVerified]
5781
+ * @param {boolean} [convertDate]
5544
5782
  * @param {string} [sortKey]
5545
5783
  * @param {string} [sortDirection]
5546
5784
  * @param {boolean} [hasTaxId]
@@ -5549,8 +5787,8 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5549
5787
  * @param {*} [options] Override http request option.
5550
5788
  * @throws {RequiredError}
5551
5789
  */
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));
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));
5554
5792
  },
5555
5793
  /**
5556
5794
  *
@@ -5812,28 +6050,49 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5812
6050
  },
5813
6051
  /**
5814
6052
  *
6053
+ * @param {CreateVehicleBrandBody} createVehicleBrandBody
5815
6054
  * @param {*} [options] Override http request option.
5816
6055
  * @throws {RequiredError}
5817
6056
  */
5818
- vehicleBrandsIndex(options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>> {
5819
- return localVarFp.vehicleBrandsIndex(options).then((request) => request(axios, basePath));
6057
+ vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
6058
+ return localVarFp.vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(axios, basePath));
5820
6059
  },
5821
6060
  /**
5822
6061
  *
6062
+ * @param {string} id
5823
6063
  * @param {*} [options] Override http request option.
5824
6064
  * @throws {RequiredError}
5825
6065
  */
5826
- vipCampaignIndex(options?: any): AxiosPromise<CampaignSequenceResponse> {
5827
- return localVarFp.vipCampaignIndex(options).then((request) => request(axios, basePath));
6066
+ vehicleBrandsDelete(id: string, options?: any): AxiosPromise<DeleteVehicleBrandResponse> {
6067
+ return localVarFp.vehicleBrandsDelete(id, options).then((request) => request(axios, basePath));
5828
6068
  },
5829
6069
  /**
5830
6070
  *
5831
- * @param {UpsertCampaign} upsertCampaign
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]
5832
6081
  * @param {*} [options] Override http request option.
5833
6082
  * @throws {RequiredError}
5834
6083
  */
5835
- vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: any): AxiosPromise<Array<CampaignResponse>> {
5836
- return localVarFp.vipCampaignUpsert(upsertCampaign, options).then((request) => request(axios, basePath));
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
+ * @param {*} [options] Override http request option.
6092
+ * @throws {RequiredError}
6093
+ */
6094
+ vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
6095
+ return localVarFp.vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(axios, basePath));
5837
6096
  },
5838
6097
  };
5839
6098
  };
@@ -6023,6 +6282,9 @@ export class DefaultApi extends BaseAPI {
6023
6282
  * @param {string} [updatedAt]
6024
6283
  * @param {string} [propertyName]
6025
6284
  * @param {string} [propertyId]
6285
+ * @param {boolean} [ignoreStore]
6286
+ * @param {boolean} [ocrVerified]
6287
+ * @param {boolean} [convertDate]
6026
6288
  * @param {string} [sortKey]
6027
6289
  * @param {string} [sortDirection]
6028
6290
  * @param {boolean} [hasTaxId]
@@ -6032,8 +6294,8 @@ export class DefaultApi extends BaseAPI {
6032
6294
  * @throws {RequiredError}
6033
6295
  * @memberof DefaultApi
6034
6296
  */
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));
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));
6037
6299
  }
6038
6300
 
6039
6301
  /**
@@ -6344,33 +6606,58 @@ export class DefaultApi extends BaseAPI {
6344
6606
 
6345
6607
  /**
6346
6608
  *
6609
+ * @param {CreateVehicleBrandBody} createVehicleBrandBody
6347
6610
  * @param {*} [options] Override http request option.
6348
6611
  * @throws {RequiredError}
6349
6612
  * @memberof DefaultApi
6350
6613
  */
6351
- public vehicleBrandsIndex(options?: AxiosRequestConfig) {
6352
- return DefaultApiFp(this.configuration).vehicleBrandsIndex(options).then((request) => request(this.axios, this.basePath));
6614
+ public vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig) {
6615
+ return DefaultApiFp(this.configuration).vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
6353
6616
  }
6354
6617
 
6355
6618
  /**
6356
6619
  *
6620
+ * @param {string} id
6357
6621
  * @param {*} [options] Override http request option.
6358
6622
  * @throws {RequiredError}
6359
6623
  * @memberof DefaultApi
6360
6624
  */
6361
- public vipCampaignIndex(options?: AxiosRequestConfig) {
6362
- return DefaultApiFp(this.configuration).vipCampaignIndex(options).then((request) => request(this.axios, this.basePath));
6625
+ public vehicleBrandsDelete(id: string, options?: AxiosRequestConfig) {
6626
+ return DefaultApiFp(this.configuration).vehicleBrandsDelete(id, options).then((request) => request(this.axios, this.basePath));
6363
6627
  }
6364
6628
 
6365
6629
  /**
6366
6630
  *
6367
- * @param {UpsertCampaign} upsertCampaign
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
6368
6655
  * @param {*} [options] Override http request option.
6369
6656
  * @throws {RequiredError}
6370
6657
  * @memberof DefaultApi
6371
6658
  */
6372
- public vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig) {
6373
- return DefaultApiFp(this.configuration).vipCampaignUpsert(upsertCampaign, options).then((request) => request(this.axios, this.basePath));
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));
6374
6661
  }
6375
6662
  }
6376
6663
 
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).