ob-parking-sdk 0.0.57 → 0.0.58

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).
@@ -669,38 +669,6 @@ export interface CreateRegisteredVehicleBody {
669
669
  }
670
670
 
671
671
 
672
- /**
673
- *
674
- * @export
675
- * @interface CreateVehicleBrandBody
676
- */
677
- export interface CreateVehicleBrandBody {
678
- /**
679
- *
680
- * @type {string}
681
- * @memberof CreateVehicleBrandBody
682
- */
683
- 'name': string;
684
- }
685
- /**
686
- *
687
- * @export
688
- * @interface DeleteVehicleBrandResponse
689
- */
690
- export interface DeleteVehicleBrandResponse {
691
- /**
692
- *
693
- * @type {string}
694
- * @memberof DeleteVehicleBrandResponse
695
- */
696
- 'name': string;
697
- /**
698
- *
699
- * @type {string}
700
- * @memberof DeleteVehicleBrandResponse
701
- */
702
- 'id': string;
703
- }
704
672
  /**
705
673
  *
706
674
  * @export
@@ -3031,19 +2999,6 @@ export interface UpdateRegisteredVehicleBody {
3031
2999
  }
3032
3000
 
3033
3001
 
3034
- /**
3035
- *
3036
- * @export
3037
- * @interface UpdateVehicleBrandBody
3038
- */
3039
- export interface UpdateVehicleBrandBody {
3040
- /**
3041
- *
3042
- * @type {string}
3043
- * @memberof UpdateVehicleBrandBody
3044
- */
3045
- 'name'?: string;
3046
- }
3047
3002
  /**
3048
3003
  *
3049
3004
  * @export
@@ -3107,19 +3062,6 @@ export interface ValidateReceiptImageBody {
3107
3062
  */
3108
3063
  'source': string;
3109
3064
  }
3110
- /**
3111
- *
3112
- * @export
3113
- * @interface VehicleBrandIndexQuery
3114
- */
3115
- export interface VehicleBrandIndexQuery {
3116
- /**
3117
- *
3118
- * @type {string}
3119
- * @memberof VehicleBrandIndexQuery
3120
- */
3121
- 'name'?: string;
3122
- }
3123
3065
  /**
3124
3066
  *
3125
3067
  * @export
@@ -3176,25 +3118,6 @@ export interface VehicleBrandIndexResponseVehicleModelsInner {
3176
3118
  */
3177
3119
  'id'?: string;
3178
3120
  }
3179
- /**
3180
- *
3181
- * @export
3182
- * @interface VehicleBrandResponse
3183
- */
3184
- export interface VehicleBrandResponse {
3185
- /**
3186
- *
3187
- * @type {string}
3188
- * @memberof VehicleBrandResponse
3189
- */
3190
- 'name': string;
3191
- /**
3192
- *
3193
- * @type {string}
3194
- * @memberof VehicleBrandResponse
3195
- */
3196
- 'id': string;
3197
- }
3198
3121
  /**
3199
3122
  *
3200
3123
  * @export
@@ -4874,13 +4797,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4874
4797
  },
4875
4798
  /**
4876
4799
  *
4877
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
4878
4800
  * @param {*} [options] Override http request option.
4879
4801
  * @throws {RequiredError}
4880
4802
  */
4881
- vehicleBrandsCreate: async (createVehicleBrandBody: CreateVehicleBrandBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4882
- // verify required parameter 'createVehicleBrandBody' is not null or undefined
4883
- assertParamExists('vehicleBrandsCreate', 'createVehicleBrandBody', createVehicleBrandBody)
4803
+ vehicleBrandsIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4884
4804
  const localVarPath = `/vehicle-brands`;
4885
4805
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4886
4806
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4889,75 +4809,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4889
4809
  baseOptions = configuration.baseOptions;
4890
4810
  }
4891
4811
 
4892
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4893
- const localVarHeaderParameter = {} as any;
4894
- const localVarQueryParameter = {} as any;
4895
-
4896
-
4897
-
4898
- localVarHeaderParameter['Content-Type'] = 'application/json';
4899
-
4900
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4901
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4902
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4903
- localVarRequestOptions.data = serializeDataIfNeeded(createVehicleBrandBody, localVarRequestOptions, configuration)
4904
-
4905
- return {
4906
- url: toPathString(localVarUrlObj),
4907
- options: localVarRequestOptions,
4908
- };
4909
- },
4910
- /**
4911
- *
4912
- * @param {string} id
4913
- * @param {*} [options] Override http request option.
4914
- * @throws {RequiredError}
4915
- */
4916
- vehicleBrandsDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4917
- // verify required parameter 'id' is not null or undefined
4918
- assertParamExists('vehicleBrandsDelete', 'id', id)
4919
- const localVarPath = `/vehicle-brands/{id}`
4920
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4921
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4922
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4923
- let baseOptions;
4924
- if (configuration) {
4925
- baseOptions = configuration.baseOptions;
4926
- }
4927
-
4928
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4929
- const localVarHeaderParameter = {} as any;
4930
- const localVarQueryParameter = {} as any;
4931
-
4932
-
4933
-
4934
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4935
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4936
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4937
-
4938
- return {
4939
- url: toPathString(localVarUrlObj),
4940
- options: localVarRequestOptions,
4941
- };
4942
- },
4943
- /**
4944
- *
4945
- * @param {string} id
4946
- * @param {*} [options] Override http request option.
4947
- * @throws {RequiredError}
4948
- */
4949
- vehicleBrandsGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4950
- // verify required parameter 'id' is not null or undefined
4951
- assertParamExists('vehicleBrandsGet', 'id', id)
4952
- const localVarPath = `/vehicle-brands/{id}`
4953
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4954
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4955
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4956
- let baseOptions;
4957
- if (configuration) {
4958
- baseOptions = configuration.baseOptions;
4959
- }
4960
-
4961
4812
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4962
4813
  const localVarHeaderParameter = {} as any;
4963
4814
  const localVarQueryParameter = {} as any;
@@ -4975,12 +4826,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4975
4826
  },
4976
4827
  /**
4977
4828
  *
4978
- * @param {string} [name]
4979
4829
  * @param {*} [options] Override http request option.
4980
4830
  * @throws {RequiredError}
4981
4831
  */
4982
- vehicleBrandsIndex: async (name?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4983
- const localVarPath = `/vehicle-brands`;
4832
+ vipCampaignIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4833
+ const localVarPath = `/vip-campaign`;
4984
4834
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4985
4835
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4986
4836
  let baseOptions;
@@ -4992,10 +4842,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4992
4842
  const localVarHeaderParameter = {} as any;
4993
4843
  const localVarQueryParameter = {} as any;
4994
4844
 
4995
- if (name !== undefined) {
4996
- localVarQueryParameter['name'] = name;
4997
- }
4998
-
4999
4845
 
5000
4846
 
5001
4847
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -5009,18 +4855,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5009
4855
  },
5010
4856
  /**
5011
4857
  *
5012
- * @param {string} id
5013
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
4858
+ * @param {UpsertCampaign} upsertCampaign
5014
4859
  * @param {*} [options] Override http request option.
5015
4860
  * @throws {RequiredError}
5016
4861
  */
5017
- vehicleBrandsUpdate: async (id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5018
- // verify required parameter 'id' is not null or undefined
5019
- assertParamExists('vehicleBrandsUpdate', 'id', id)
5020
- // verify required parameter 'updateVehicleBrandBody' is not null or undefined
5021
- assertParamExists('vehicleBrandsUpdate', 'updateVehicleBrandBody', updateVehicleBrandBody)
5022
- const localVarPath = `/vehicle-brands/{id}`
5023
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
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`;
5024
4866
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5025
4867
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5026
4868
  let baseOptions;
@@ -5028,7 +4870,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5028
4870
  baseOptions = configuration.baseOptions;
5029
4871
  }
5030
4872
 
5031
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
4873
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5032
4874
  const localVarHeaderParameter = {} as any;
5033
4875
  const localVarQueryParameter = {} as any;
5034
4876
 
@@ -5039,7 +4881,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5039
4881
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5040
4882
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5041
4883
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5042
- localVarRequestOptions.data = serializeDataIfNeeded(updateVehicleBrandBody, localVarRequestOptions, configuration)
4884
+ localVarRequestOptions.data = serializeDataIfNeeded(upsertCampaign, localVarRequestOptions, configuration)
5043
4885
 
5044
4886
  return {
5045
4887
  url: toPathString(localVarUrlObj),
@@ -5515,53 +5357,30 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5515
5357
  },
5516
5358
  /**
5517
5359
  *
5518
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
5519
- * @param {*} [options] Override http request option.
5520
- * @throws {RequiredError}
5521
- */
5522
- async vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5523
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsCreate(createVehicleBrandBody, options);
5524
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5525
- },
5526
- /**
5527
- *
5528
- * @param {string} id
5529
- * @param {*} [options] Override http request option.
5530
- * @throws {RequiredError}
5531
- */
5532
- async vehicleBrandsDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteVehicleBrandResponse>> {
5533
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsDelete(id, options);
5534
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5535
- },
5536
- /**
5537
- *
5538
- * @param {string} id
5539
5360
  * @param {*} [options] Override http request option.
5540
5361
  * @throws {RequiredError}
5541
5362
  */
5542
- async vehicleBrandsGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5543
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsGet(id, options);
5363
+ async vehicleBrandsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleBrandIndexResponse>>> {
5364
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsIndex(options);
5544
5365
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5545
5366
  },
5546
5367
  /**
5547
5368
  *
5548
- * @param {string} [name]
5549
5369
  * @param {*} [options] Override http request option.
5550
5370
  * @throws {RequiredError}
5551
5371
  */
5552
- async vehicleBrandsIndex(name?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleBrandIndexResponse>>> {
5553
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsIndex(name, options);
5372
+ async vipCampaignIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CampaignSequenceResponse>> {
5373
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vipCampaignIndex(options);
5554
5374
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5555
5375
  },
5556
5376
  /**
5557
5377
  *
5558
- * @param {string} id
5559
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
5378
+ * @param {UpsertCampaign} upsertCampaign
5560
5379
  * @param {*} [options] Override http request option.
5561
5380
  * @throws {RequiredError}
5562
5381
  */
5563
- async vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5564
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsUpdate(id, updateVehicleBrandBody, options);
5382
+ async vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CampaignResponse>>> {
5383
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vipCampaignUpsert(upsertCampaign, options);
5565
5384
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5566
5385
  },
5567
5386
  }
@@ -5993,49 +5812,28 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5993
5812
  },
5994
5813
  /**
5995
5814
  *
5996
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
5997
- * @param {*} [options] Override http request option.
5998
- * @throws {RequiredError}
5999
- */
6000
- vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
6001
- return localVarFp.vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(axios, basePath));
6002
- },
6003
- /**
6004
- *
6005
- * @param {string} id
6006
- * @param {*} [options] Override http request option.
6007
- * @throws {RequiredError}
6008
- */
6009
- vehicleBrandsDelete(id: string, options?: any): AxiosPromise<DeleteVehicleBrandResponse> {
6010
- return localVarFp.vehicleBrandsDelete(id, options).then((request) => request(axios, basePath));
6011
- },
6012
- /**
6013
- *
6014
- * @param {string} id
6015
5815
  * @param {*} [options] Override http request option.
6016
5816
  * @throws {RequiredError}
6017
5817
  */
6018
- vehicleBrandsGet(id: string, options?: any): AxiosPromise<VehicleBrandResponse> {
6019
- return localVarFp.vehicleBrandsGet(id, options).then((request) => request(axios, basePath));
5818
+ vehicleBrandsIndex(options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>> {
5819
+ return localVarFp.vehicleBrandsIndex(options).then((request) => request(axios, basePath));
6020
5820
  },
6021
5821
  /**
6022
5822
  *
6023
- * @param {string} [name]
6024
5823
  * @param {*} [options] Override http request option.
6025
5824
  * @throws {RequiredError}
6026
5825
  */
6027
- vehicleBrandsIndex(name?: string, options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>> {
6028
- return localVarFp.vehicleBrandsIndex(name, options).then((request) => request(axios, basePath));
5826
+ vipCampaignIndex(options?: any): AxiosPromise<CampaignSequenceResponse> {
5827
+ return localVarFp.vipCampaignIndex(options).then((request) => request(axios, basePath));
6029
5828
  },
6030
5829
  /**
6031
5830
  *
6032
- * @param {string} id
6033
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
5831
+ * @param {UpsertCampaign} upsertCampaign
6034
5832
  * @param {*} [options] Override http request option.
6035
5833
  * @throws {RequiredError}
6036
5834
  */
6037
- vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
6038
- return localVarFp.vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(axios, basePath));
5835
+ vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: any): AxiosPromise<Array<CampaignResponse>> {
5836
+ return localVarFp.vipCampaignUpsert(upsertCampaign, options).then((request) => request(axios, basePath));
6039
5837
  },
6040
5838
  };
6041
5839
  };
@@ -6546,58 +6344,33 @@ export class DefaultApi extends BaseAPI {
6546
6344
 
6547
6345
  /**
6548
6346
  *
6549
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
6550
- * @param {*} [options] Override http request option.
6551
- * @throws {RequiredError}
6552
- * @memberof DefaultApi
6553
- */
6554
- public vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig) {
6555
- return DefaultApiFp(this.configuration).vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
6556
- }
6557
-
6558
- /**
6559
- *
6560
- * @param {string} id
6561
- * @param {*} [options] Override http request option.
6562
- * @throws {RequiredError}
6563
- * @memberof DefaultApi
6564
- */
6565
- public vehicleBrandsDelete(id: string, options?: AxiosRequestConfig) {
6566
- return DefaultApiFp(this.configuration).vehicleBrandsDelete(id, options).then((request) => request(this.axios, this.basePath));
6567
- }
6568
-
6569
- /**
6570
- *
6571
- * @param {string} id
6572
6347
  * @param {*} [options] Override http request option.
6573
6348
  * @throws {RequiredError}
6574
6349
  * @memberof DefaultApi
6575
6350
  */
6576
- public vehicleBrandsGet(id: string, options?: AxiosRequestConfig) {
6577
- return DefaultApiFp(this.configuration).vehicleBrandsGet(id, options).then((request) => request(this.axios, this.basePath));
6351
+ public vehicleBrandsIndex(options?: AxiosRequestConfig) {
6352
+ return DefaultApiFp(this.configuration).vehicleBrandsIndex(options).then((request) => request(this.axios, this.basePath));
6578
6353
  }
6579
6354
 
6580
6355
  /**
6581
6356
  *
6582
- * @param {string} [name]
6583
6357
  * @param {*} [options] Override http request option.
6584
6358
  * @throws {RequiredError}
6585
6359
  * @memberof DefaultApi
6586
6360
  */
6587
- public vehicleBrandsIndex(name?: string, options?: AxiosRequestConfig) {
6588
- return DefaultApiFp(this.configuration).vehicleBrandsIndex(name, options).then((request) => request(this.axios, this.basePath));
6361
+ public vipCampaignIndex(options?: AxiosRequestConfig) {
6362
+ return DefaultApiFp(this.configuration).vipCampaignIndex(options).then((request) => request(this.axios, this.basePath));
6589
6363
  }
6590
6364
 
6591
6365
  /**
6592
6366
  *
6593
- * @param {string} id
6594
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
6367
+ * @param {UpsertCampaign} upsertCampaign
6595
6368
  * @param {*} [options] Override http request option.
6596
6369
  * @throws {RequiredError}
6597
6370
  * @memberof DefaultApi
6598
6371
  */
6599
- public vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig) {
6600
- return DefaultApiFp(this.configuration).vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
6372
+ public vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig) {
6373
+ return DefaultApiFp(this.configuration).vipCampaignUpsert(upsertCampaign, options).then((request) => request(this.axios, this.basePath));
6601
6374
  }
6602
6375
  }
6603
6376
 
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.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).
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.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).
@@ -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).
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.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).
package/dist/api/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * obk-parking
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.27.1
5
+ * The version of the OpenAPI document: 1.27.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -644,38 +644,6 @@ export interface CreateRegisteredVehicleBody {
644
644
  */
645
645
  'plate_no': string;
646
646
  }
647
- /**
648
- *
649
- * @export
650
- * @interface CreateVehicleBrandBody
651
- */
652
- export interface CreateVehicleBrandBody {
653
- /**
654
- *
655
- * @type {string}
656
- * @memberof CreateVehicleBrandBody
657
- */
658
- 'name': string;
659
- }
660
- /**
661
- *
662
- * @export
663
- * @interface DeleteVehicleBrandResponse
664
- */
665
- export interface DeleteVehicleBrandResponse {
666
- /**
667
- *
668
- * @type {string}
669
- * @memberof DeleteVehicleBrandResponse
670
- */
671
- 'name': string;
672
- /**
673
- *
674
- * @type {string}
675
- * @memberof DeleteVehicleBrandResponse
676
- */
677
- 'id': string;
678
- }
679
647
  /**
680
648
  *
681
649
  * @export
@@ -2967,19 +2935,6 @@ export interface UpdateRegisteredVehicleBody {
2967
2935
  */
2968
2936
  'id': string;
2969
2937
  }
2970
- /**
2971
- *
2972
- * @export
2973
- * @interface UpdateVehicleBrandBody
2974
- */
2975
- export interface UpdateVehicleBrandBody {
2976
- /**
2977
- *
2978
- * @type {string}
2979
- * @memberof UpdateVehicleBrandBody
2980
- */
2981
- 'name'?: string;
2982
- }
2983
2938
  /**
2984
2939
  *
2985
2940
  * @export
@@ -3043,19 +2998,6 @@ export interface ValidateReceiptImageBody {
3043
2998
  */
3044
2999
  'source': string;
3045
3000
  }
3046
- /**
3047
- *
3048
- * @export
3049
- * @interface VehicleBrandIndexQuery
3050
- */
3051
- export interface VehicleBrandIndexQuery {
3052
- /**
3053
- *
3054
- * @type {string}
3055
- * @memberof VehicleBrandIndexQuery
3056
- */
3057
- 'name'?: string;
3058
- }
3059
3001
  /**
3060
3002
  *
3061
3003
  * @export
@@ -3112,25 +3054,6 @@ export interface VehicleBrandIndexResponseVehicleModelsInner {
3112
3054
  */
3113
3055
  'id'?: string;
3114
3056
  }
3115
- /**
3116
- *
3117
- * @export
3118
- * @interface VehicleBrandResponse
3119
- */
3120
- export interface VehicleBrandResponse {
3121
- /**
3122
- *
3123
- * @type {string}
3124
- * @memberof VehicleBrandResponse
3125
- */
3126
- 'name': string;
3127
- /**
3128
- *
3129
- * @type {string}
3130
- * @memberof VehicleBrandResponse
3131
- */
3132
- 'id': string;
3133
- }
3134
3057
  /**
3135
3058
  *
3136
3059
  * @export
@@ -3485,40 +3408,23 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3485
3408
  testTest: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3486
3409
  /**
3487
3410
  *
3488
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
3489
- * @param {*} [options] Override http request option.
3490
- * @throws {RequiredError}
3491
- */
3492
- vehicleBrandsCreate: (createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3493
- /**
3494
- *
3495
- * @param {string} id
3496
- * @param {*} [options] Override http request option.
3497
- * @throws {RequiredError}
3498
- */
3499
- vehicleBrandsDelete: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3500
- /**
3501
- *
3502
- * @param {string} id
3503
3411
  * @param {*} [options] Override http request option.
3504
3412
  * @throws {RequiredError}
3505
3413
  */
3506
- vehicleBrandsGet: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3414
+ vehicleBrandsIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3507
3415
  /**
3508
3416
  *
3509
- * @param {string} [name]
3510
3417
  * @param {*} [options] Override http request option.
3511
3418
  * @throws {RequiredError}
3512
3419
  */
3513
- vehicleBrandsIndex: (name?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3420
+ vipCampaignIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3514
3421
  /**
3515
3422
  *
3516
- * @param {string} id
3517
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
3423
+ * @param {UpsertCampaign} upsertCampaign
3518
3424
  * @param {*} [options] Override http request option.
3519
3425
  * @throws {RequiredError}
3520
3426
  */
3521
- vehicleBrandsUpdate: (id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3427
+ vipCampaignUpsert: (upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3522
3428
  };
3523
3429
  /**
3524
3430
  * DefaultApi - functional programming interface
@@ -3864,40 +3770,23 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3864
3770
  testTest(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TestTest200Response>>;
3865
3771
  /**
3866
3772
  *
3867
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
3868
3773
  * @param {*} [options] Override http request option.
3869
3774
  * @throws {RequiredError}
3870
3775
  */
3871
- vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>>;
3776
+ vehicleBrandsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleBrandIndexResponse>>>;
3872
3777
  /**
3873
3778
  *
3874
- * @param {string} id
3875
3779
  * @param {*} [options] Override http request option.
3876
3780
  * @throws {RequiredError}
3877
3781
  */
3878
- vehicleBrandsDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteVehicleBrandResponse>>;
3782
+ vipCampaignIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CampaignSequenceResponse>>;
3879
3783
  /**
3880
3784
  *
3881
- * @param {string} id
3882
- * @param {*} [options] Override http request option.
3883
- * @throws {RequiredError}
3884
- */
3885
- vehicleBrandsGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>>;
3886
- /**
3887
- *
3888
- * @param {string} [name]
3889
- * @param {*} [options] Override http request option.
3890
- * @throws {RequiredError}
3891
- */
3892
- vehicleBrandsIndex(name?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleBrandIndexResponse>>>;
3893
- /**
3894
- *
3895
- * @param {string} id
3896
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
3785
+ * @param {UpsertCampaign} upsertCampaign
3897
3786
  * @param {*} [options] Override http request option.
3898
3787
  * @throws {RequiredError}
3899
3788
  */
3900
- vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>>;
3789
+ vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CampaignResponse>>>;
3901
3790
  };
3902
3791
  /**
3903
3792
  * DefaultApi - factory interface
@@ -4243,40 +4132,23 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4243
4132
  testTest(options?: any): AxiosPromise<TestTest200Response>;
4244
4133
  /**
4245
4134
  *
4246
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
4247
4135
  * @param {*} [options] Override http request option.
4248
4136
  * @throws {RequiredError}
4249
4137
  */
4250
- vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse>;
4138
+ vehicleBrandsIndex(options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>>;
4251
4139
  /**
4252
4140
  *
4253
- * @param {string} id
4254
4141
  * @param {*} [options] Override http request option.
4255
4142
  * @throws {RequiredError}
4256
4143
  */
4257
- vehicleBrandsDelete(id: string, options?: any): AxiosPromise<DeleteVehicleBrandResponse>;
4144
+ vipCampaignIndex(options?: any): AxiosPromise<CampaignSequenceResponse>;
4258
4145
  /**
4259
4146
  *
4260
- * @param {string} id
4261
- * @param {*} [options] Override http request option.
4262
- * @throws {RequiredError}
4263
- */
4264
- vehicleBrandsGet(id: string, options?: any): AxiosPromise<VehicleBrandResponse>;
4265
- /**
4266
- *
4267
- * @param {string} [name]
4268
- * @param {*} [options] Override http request option.
4269
- * @throws {RequiredError}
4270
- */
4271
- vehicleBrandsIndex(name?: string, options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>>;
4272
- /**
4273
- *
4274
- * @param {string} id
4275
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
4147
+ * @param {UpsertCampaign} upsertCampaign
4276
4148
  * @param {*} [options] Override http request option.
4277
4149
  * @throws {RequiredError}
4278
4150
  */
4279
- vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse>;
4151
+ vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: any): AxiosPromise<Array<CampaignResponse>>;
4280
4152
  };
4281
4153
  /**
4282
4154
  * DefaultApi - object-oriented interface
@@ -4664,43 +4536,24 @@ export declare class DefaultApi extends BaseAPI {
4664
4536
  testTest(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestTest200Response, any>>;
4665
4537
  /**
4666
4538
  *
4667
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
4668
- * @param {*} [options] Override http request option.
4669
- * @throws {RequiredError}
4670
- * @memberof DefaultApi
4671
- */
4672
- vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VehicleBrandResponse, any>>;
4673
- /**
4674
- *
4675
- * @param {string} id
4676
4539
  * @param {*} [options] Override http request option.
4677
4540
  * @throws {RequiredError}
4678
4541
  * @memberof DefaultApi
4679
4542
  */
4680
- vehicleBrandsDelete(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteVehicleBrandResponse, any>>;
4543
+ vehicleBrandsIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VehicleBrandIndexResponse[], any>>;
4681
4544
  /**
4682
4545
  *
4683
- * @param {string} id
4684
4546
  * @param {*} [options] Override http request option.
4685
4547
  * @throws {RequiredError}
4686
4548
  * @memberof DefaultApi
4687
4549
  */
4688
- vehicleBrandsGet(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VehicleBrandResponse, any>>;
4550
+ vipCampaignIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CampaignSequenceResponse, any>>;
4689
4551
  /**
4690
4552
  *
4691
- * @param {string} [name]
4692
- * @param {*} [options] Override http request option.
4693
- * @throws {RequiredError}
4694
- * @memberof DefaultApi
4695
- */
4696
- vehicleBrandsIndex(name?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VehicleBrandIndexResponse[], any>>;
4697
- /**
4698
- *
4699
- * @param {string} id
4700
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
4553
+ * @param {UpsertCampaign} upsertCampaign
4701
4554
  * @param {*} [options] Override http request option.
4702
4555
  * @throws {RequiredError}
4703
4556
  * @memberof DefaultApi
4704
4557
  */
4705
- vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VehicleBrandResponse, any>>;
4558
+ vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CampaignResponse[], any>>;
4706
4559
  }
package/dist/api/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * obk-parking
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.27.1
8
+ * The version of the OpenAPI document: 1.27.2
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1491,13 +1491,10 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1491
1491
  }),
1492
1492
  /**
1493
1493
  *
1494
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
1495
1494
  * @param {*} [options] Override http request option.
1496
1495
  * @throws {RequiredError}
1497
1496
  */
1498
- vehicleBrandsCreate: (createVehicleBrandBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
1499
- // verify required parameter 'createVehicleBrandBody' is not null or undefined
1500
- (0, common_1.assertParamExists)('vehicleBrandsCreate', 'createVehicleBrandBody', createVehicleBrandBody);
1497
+ vehicleBrandsIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1501
1498
  const localVarPath = `/vehicle-brands`;
1502
1499
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1503
1500
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1505,64 +1502,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1505
1502
  if (configuration) {
1506
1503
  baseOptions = configuration.baseOptions;
1507
1504
  }
1508
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1509
- const localVarHeaderParameter = {};
1510
- const localVarQueryParameter = {};
1511
- localVarHeaderParameter['Content-Type'] = 'application/json';
1512
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1513
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1514
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1515
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createVehicleBrandBody, localVarRequestOptions, configuration);
1516
- return {
1517
- url: (0, common_1.toPathString)(localVarUrlObj),
1518
- options: localVarRequestOptions,
1519
- };
1520
- }),
1521
- /**
1522
- *
1523
- * @param {string} id
1524
- * @param {*} [options] Override http request option.
1525
- * @throws {RequiredError}
1526
- */
1527
- vehicleBrandsDelete: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
1528
- // verify required parameter 'id' is not null or undefined
1529
- (0, common_1.assertParamExists)('vehicleBrandsDelete', 'id', id);
1530
- const localVarPath = `/vehicle-brands/{id}`
1531
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1532
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1533
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1534
- let baseOptions;
1535
- if (configuration) {
1536
- baseOptions = configuration.baseOptions;
1537
- }
1538
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1539
- const localVarHeaderParameter = {};
1540
- const localVarQueryParameter = {};
1541
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1542
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1543
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1544
- return {
1545
- url: (0, common_1.toPathString)(localVarUrlObj),
1546
- options: localVarRequestOptions,
1547
- };
1548
- }),
1549
- /**
1550
- *
1551
- * @param {string} id
1552
- * @param {*} [options] Override http request option.
1553
- * @throws {RequiredError}
1554
- */
1555
- vehicleBrandsGet: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
1556
- // verify required parameter 'id' is not null or undefined
1557
- (0, common_1.assertParamExists)('vehicleBrandsGet', 'id', id);
1558
- const localVarPath = `/vehicle-brands/{id}`
1559
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1560
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1561
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1562
- let baseOptions;
1563
- if (configuration) {
1564
- baseOptions = configuration.baseOptions;
1565
- }
1566
1505
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1567
1506
  const localVarHeaderParameter = {};
1568
1507
  const localVarQueryParameter = {};
@@ -1576,12 +1515,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1576
1515
  }),
1577
1516
  /**
1578
1517
  *
1579
- * @param {string} [name]
1580
1518
  * @param {*} [options] Override http request option.
1581
1519
  * @throws {RequiredError}
1582
1520
  */
1583
- vehicleBrandsIndex: (name, options = {}) => __awaiter(this, void 0, void 0, function* () {
1584
- const localVarPath = `/vehicle-brands`;
1521
+ vipCampaignIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1522
+ const localVarPath = `/vip-campaign`;
1585
1523
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1586
1524
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1587
1525
  let baseOptions;
@@ -1591,9 +1529,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1591
1529
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1592
1530
  const localVarHeaderParameter = {};
1593
1531
  const localVarQueryParameter = {};
1594
- if (name !== undefined) {
1595
- localVarQueryParameter['name'] = name;
1596
- }
1597
1532
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1598
1533
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1599
1534
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1604,32 +1539,28 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1604
1539
  }),
1605
1540
  /**
1606
1541
  *
1607
- * @param {string} id
1608
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
1542
+ * @param {UpsertCampaign} upsertCampaign
1609
1543
  * @param {*} [options] Override http request option.
1610
1544
  * @throws {RequiredError}
1611
1545
  */
1612
- vehicleBrandsUpdate: (id, updateVehicleBrandBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
1613
- // verify required parameter 'id' is not null or undefined
1614
- (0, common_1.assertParamExists)('vehicleBrandsUpdate', 'id', id);
1615
- // verify required parameter 'updateVehicleBrandBody' is not null or undefined
1616
- (0, common_1.assertParamExists)('vehicleBrandsUpdate', 'updateVehicleBrandBody', updateVehicleBrandBody);
1617
- const localVarPath = `/vehicle-brands/{id}`
1618
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1546
+ vipCampaignUpsert: (upsertCampaign, options = {}) => __awaiter(this, void 0, void 0, function* () {
1547
+ // verify required parameter 'upsertCampaign' is not null or undefined
1548
+ (0, common_1.assertParamExists)('vipCampaignUpsert', 'upsertCampaign', upsertCampaign);
1549
+ const localVarPath = `/vip-campaign`;
1619
1550
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1620
1551
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1621
1552
  let baseOptions;
1622
1553
  if (configuration) {
1623
1554
  baseOptions = configuration.baseOptions;
1624
1555
  }
1625
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
1556
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1626
1557
  const localVarHeaderParameter = {};
1627
1558
  const localVarQueryParameter = {};
1628
1559
  localVarHeaderParameter['Content-Type'] = 'application/json';
1629
1560
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1630
1561
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1631
1562
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1632
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateVehicleBrandBody, localVarRequestOptions, configuration);
1563
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(upsertCampaign, localVarRequestOptions, configuration);
1633
1564
  return {
1634
1565
  url: (0, common_1.toPathString)(localVarUrlObj),
1635
1566
  options: localVarRequestOptions,
@@ -2184,62 +2115,35 @@ const DefaultApiFp = function (configuration) {
2184
2115
  },
2185
2116
  /**
2186
2117
  *
2187
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
2188
- * @param {*} [options] Override http request option.
2189
- * @throws {RequiredError}
2190
- */
2191
- vehicleBrandsCreate(createVehicleBrandBody, options) {
2192
- return __awaiter(this, void 0, void 0, function* () {
2193
- const localVarAxiosArgs = yield localVarAxiosParamCreator.vehicleBrandsCreate(createVehicleBrandBody, options);
2194
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2195
- });
2196
- },
2197
- /**
2198
- *
2199
- * @param {string} id
2200
2118
  * @param {*} [options] Override http request option.
2201
2119
  * @throws {RequiredError}
2202
2120
  */
2203
- vehicleBrandsDelete(id, options) {
2121
+ vehicleBrandsIndex(options) {
2204
2122
  return __awaiter(this, void 0, void 0, function* () {
2205
- const localVarAxiosArgs = yield localVarAxiosParamCreator.vehicleBrandsDelete(id, options);
2123
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.vehicleBrandsIndex(options);
2206
2124
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2207
2125
  });
2208
2126
  },
2209
2127
  /**
2210
2128
  *
2211
- * @param {string} id
2212
2129
  * @param {*} [options] Override http request option.
2213
2130
  * @throws {RequiredError}
2214
2131
  */
2215
- vehicleBrandsGet(id, options) {
2132
+ vipCampaignIndex(options) {
2216
2133
  return __awaiter(this, void 0, void 0, function* () {
2217
- const localVarAxiosArgs = yield localVarAxiosParamCreator.vehicleBrandsGet(id, options);
2134
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.vipCampaignIndex(options);
2218
2135
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2219
2136
  });
2220
2137
  },
2221
2138
  /**
2222
2139
  *
2223
- * @param {string} [name]
2224
- * @param {*} [options] Override http request option.
2225
- * @throws {RequiredError}
2226
- */
2227
- vehicleBrandsIndex(name, options) {
2228
- return __awaiter(this, void 0, void 0, function* () {
2229
- const localVarAxiosArgs = yield localVarAxiosParamCreator.vehicleBrandsIndex(name, options);
2230
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2231
- });
2232
- },
2233
- /**
2234
- *
2235
- * @param {string} id
2236
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
2140
+ * @param {UpsertCampaign} upsertCampaign
2237
2141
  * @param {*} [options] Override http request option.
2238
2142
  * @throws {RequiredError}
2239
2143
  */
2240
- vehicleBrandsUpdate(id, updateVehicleBrandBody, options) {
2144
+ vipCampaignUpsert(upsertCampaign, options) {
2241
2145
  return __awaiter(this, void 0, void 0, function* () {
2242
- const localVarAxiosArgs = yield localVarAxiosParamCreator.vehicleBrandsUpdate(id, updateVehicleBrandBody, options);
2146
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.vipCampaignUpsert(upsertCampaign, options);
2243
2147
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2244
2148
  });
2245
2149
  },
@@ -2672,49 +2576,28 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2672
2576
  },
2673
2577
  /**
2674
2578
  *
2675
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
2676
2579
  * @param {*} [options] Override http request option.
2677
2580
  * @throws {RequiredError}
2678
2581
  */
2679
- vehicleBrandsCreate(createVehicleBrandBody, options) {
2680
- return localVarFp.vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(axios, basePath));
2582
+ vehicleBrandsIndex(options) {
2583
+ return localVarFp.vehicleBrandsIndex(options).then((request) => request(axios, basePath));
2681
2584
  },
2682
2585
  /**
2683
2586
  *
2684
- * @param {string} id
2685
2587
  * @param {*} [options] Override http request option.
2686
2588
  * @throws {RequiredError}
2687
2589
  */
2688
- vehicleBrandsDelete(id, options) {
2689
- return localVarFp.vehicleBrandsDelete(id, options).then((request) => request(axios, basePath));
2590
+ vipCampaignIndex(options) {
2591
+ return localVarFp.vipCampaignIndex(options).then((request) => request(axios, basePath));
2690
2592
  },
2691
2593
  /**
2692
2594
  *
2693
- * @param {string} id
2694
- * @param {*} [options] Override http request option.
2695
- * @throws {RequiredError}
2696
- */
2697
- vehicleBrandsGet(id, options) {
2698
- return localVarFp.vehicleBrandsGet(id, options).then((request) => request(axios, basePath));
2699
- },
2700
- /**
2701
- *
2702
- * @param {string} [name]
2703
- * @param {*} [options] Override http request option.
2704
- * @throws {RequiredError}
2705
- */
2706
- vehicleBrandsIndex(name, options) {
2707
- return localVarFp.vehicleBrandsIndex(name, options).then((request) => request(axios, basePath));
2708
- },
2709
- /**
2710
- *
2711
- * @param {string} id
2712
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
2595
+ * @param {UpsertCampaign} upsertCampaign
2713
2596
  * @param {*} [options] Override http request option.
2714
2597
  * @throws {RequiredError}
2715
2598
  */
2716
- vehicleBrandsUpdate(id, updateVehicleBrandBody, options) {
2717
- return localVarFp.vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(axios, basePath));
2599
+ vipCampaignUpsert(upsertCampaign, options) {
2600
+ return localVarFp.vipCampaignUpsert(upsertCampaign, options).then((request) => request(axios, basePath));
2718
2601
  },
2719
2602
  };
2720
2603
  };
@@ -3185,54 +3068,31 @@ class DefaultApi extends base_1.BaseAPI {
3185
3068
  }
3186
3069
  /**
3187
3070
  *
3188
- * @param {CreateVehicleBrandBody} createVehicleBrandBody
3189
- * @param {*} [options] Override http request option.
3190
- * @throws {RequiredError}
3191
- * @memberof DefaultApi
3192
- */
3193
- vehicleBrandsCreate(createVehicleBrandBody, options) {
3194
- return (0, exports.DefaultApiFp)(this.configuration).vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
3195
- }
3196
- /**
3197
- *
3198
- * @param {string} id
3199
3071
  * @param {*} [options] Override http request option.
3200
3072
  * @throws {RequiredError}
3201
3073
  * @memberof DefaultApi
3202
3074
  */
3203
- vehicleBrandsDelete(id, options) {
3204
- return (0, exports.DefaultApiFp)(this.configuration).vehicleBrandsDelete(id, options).then((request) => request(this.axios, this.basePath));
3075
+ vehicleBrandsIndex(options) {
3076
+ return (0, exports.DefaultApiFp)(this.configuration).vehicleBrandsIndex(options).then((request) => request(this.axios, this.basePath));
3205
3077
  }
3206
3078
  /**
3207
3079
  *
3208
- * @param {string} id
3209
3080
  * @param {*} [options] Override http request option.
3210
3081
  * @throws {RequiredError}
3211
3082
  * @memberof DefaultApi
3212
3083
  */
3213
- vehicleBrandsGet(id, options) {
3214
- return (0, exports.DefaultApiFp)(this.configuration).vehicleBrandsGet(id, options).then((request) => request(this.axios, this.basePath));
3084
+ vipCampaignIndex(options) {
3085
+ return (0, exports.DefaultApiFp)(this.configuration).vipCampaignIndex(options).then((request) => request(this.axios, this.basePath));
3215
3086
  }
3216
3087
  /**
3217
3088
  *
3218
- * @param {string} [name]
3219
- * @param {*} [options] Override http request option.
3220
- * @throws {RequiredError}
3221
- * @memberof DefaultApi
3222
- */
3223
- vehicleBrandsIndex(name, options) {
3224
- return (0, exports.DefaultApiFp)(this.configuration).vehicleBrandsIndex(name, options).then((request) => request(this.axios, this.basePath));
3225
- }
3226
- /**
3227
- *
3228
- * @param {string} id
3229
- * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
3089
+ * @param {UpsertCampaign} upsertCampaign
3230
3090
  * @param {*} [options] Override http request option.
3231
3091
  * @throws {RequiredError}
3232
3092
  * @memberof DefaultApi
3233
3093
  */
3234
- vehicleBrandsUpdate(id, updateVehicleBrandBody, options) {
3235
- return (0, exports.DefaultApiFp)(this.configuration).vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
3094
+ vipCampaignUpsert(upsertCampaign, options) {
3095
+ return (0, exports.DefaultApiFp)(this.configuration).vipCampaignUpsert(upsertCampaign, options).then((request) => request(this.axios, this.basePath));
3236
3096
  }
3237
3097
  }
3238
3098
  exports.DefaultApi = DefaultApi;
@@ -2,7 +2,7 @@
2
2
  * obk-parking
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.27.1
5
+ * The version of the OpenAPI document: 1.27.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * obk-parking
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.27.1
8
+ * The version of the OpenAPI document: 1.27.2
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * obk-parking
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.27.1
5
+ * The version of the OpenAPI document: 1.27.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * obk-parking
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.27.1
8
+ * The version of the OpenAPI document: 1.27.2
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * obk-parking
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.27.1
5
+ * The version of the OpenAPI document: 1.27.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * obk-parking
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.27.1
8
+ * The version of the OpenAPI document: 1.27.2
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * obk-parking
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.27.1
5
+ * The version of the OpenAPI document: 1.27.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * obk-parking
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.27.1
8
+ * The version of the OpenAPI document: 1.27.2
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-parking-sdk",
3
- "version": "0.0.57",
3
+ "version": "0.0.58",
4
4
  "description": "API interfaces for OB PARKING",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"