ob-parking-sdk 0.0.53 → 0.0.55

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
@@ -670,50 +670,6 @@ export interface CreateVehicleBrandBody {
670
670
  */
671
671
  'name': string;
672
672
  }
673
- /**
674
- *
675
- * @export
676
- * @interface CreateVehicleModelBody
677
- */
678
- export interface CreateVehicleModelBody {
679
- /**
680
- *
681
- * @type {string}
682
- * @memberof CreateVehicleModelBody
683
- */
684
- 'brand_id': string;
685
- /**
686
- *
687
- * @type {string}
688
- * @memberof CreateVehicleModelBody
689
- */
690
- 'name': string;
691
- }
692
- /**
693
- *
694
- * @export
695
- * @interface CreateVehicleModelResponse
696
- */
697
- export interface CreateVehicleModelResponse {
698
- /**
699
- *
700
- * @type {string}
701
- * @memberof CreateVehicleModelResponse
702
- */
703
- 'brand_id': string;
704
- /**
705
- *
706
- * @type {string}
707
- * @memberof CreateVehicleModelResponse
708
- */
709
- 'name': string;
710
- /**
711
- *
712
- * @type {string}
713
- * @memberof CreateVehicleModelResponse
714
- */
715
- 'id': string;
716
- }
717
673
  /**
718
674
  *
719
675
  * @export
@@ -733,31 +689,6 @@ export interface DeleteVehicleBrandResponse {
733
689
  */
734
690
  'id': string;
735
691
  }
736
- /**
737
- *
738
- * @export
739
- * @interface DeleteVehicleModelResponse
740
- */
741
- export interface DeleteVehicleModelResponse {
742
- /**
743
- *
744
- * @type {string}
745
- * @memberof DeleteVehicleModelResponse
746
- */
747
- 'brand_id': string;
748
- /**
749
- *
750
- * @type {string}
751
- * @memberof DeleteVehicleModelResponse
752
- */
753
- 'name': string;
754
- /**
755
- *
756
- * @type {string}
757
- * @memberof DeleteVehicleModelResponse
758
- */
759
- 'id': string;
760
- }
761
692
  /**
762
693
  *
763
694
  * @export
@@ -3049,6 +2980,12 @@ export interface UpdateRegisteredVehicleBody {
3049
2980
  * @memberof UpdateRegisteredVehicleBody
3050
2981
  */
3051
2982
  'vehicle_type'?: VehicleType;
2983
+ /**
2984
+ *
2985
+ * @type {string}
2986
+ * @memberof UpdateRegisteredVehicleBody
2987
+ */
2988
+ 'id': string;
3052
2989
  }
3053
2990
 
3054
2991
 
@@ -3065,50 +3002,6 @@ export interface UpdateVehicleBrandBody {
3065
3002
  */
3066
3003
  'name'?: string;
3067
3004
  }
3068
- /**
3069
- *
3070
- * @export
3071
- * @interface UpdateVehicleModelBody
3072
- */
3073
- export interface UpdateVehicleModelBody {
3074
- /**
3075
- *
3076
- * @type {string}
3077
- * @memberof UpdateVehicleModelBody
3078
- */
3079
- 'brand_id'?: string;
3080
- /**
3081
- *
3082
- * @type {string}
3083
- * @memberof UpdateVehicleModelBody
3084
- */
3085
- 'name'?: string;
3086
- }
3087
- /**
3088
- *
3089
- * @export
3090
- * @interface UpdateVehicleModelResponse
3091
- */
3092
- export interface UpdateVehicleModelResponse {
3093
- /**
3094
- *
3095
- * @type {string}
3096
- * @memberof UpdateVehicleModelResponse
3097
- */
3098
- 'brand_id': string;
3099
- /**
3100
- *
3101
- * @type {string}
3102
- * @memberof UpdateVehicleModelResponse
3103
- */
3104
- 'name': string;
3105
- /**
3106
- *
3107
- * @type {string}
3108
- * @memberof UpdateVehicleModelResponse
3109
- */
3110
- 'id': string;
3111
- }
3112
3005
  /**
3113
3006
  *
3114
3007
  * @export
@@ -3260,69 +3153,6 @@ export interface VehicleBrandResponse {
3260
3153
  */
3261
3154
  'id': string;
3262
3155
  }
3263
- /**
3264
- *
3265
- * @export
3266
- * @interface VehicleModelIndexQuery
3267
- */
3268
- export interface VehicleModelIndexQuery {
3269
- /**
3270
- *
3271
- * @type {string}
3272
- * @memberof VehicleModelIndexQuery
3273
- */
3274
- 'name'?: string;
3275
- /**
3276
- *
3277
- * @type {string}
3278
- * @memberof VehicleModelIndexQuery
3279
- */
3280
- 'brand_id'?: string;
3281
- }
3282
- /**
3283
- *
3284
- * @export
3285
- * @interface VehicleModelIndexResponse
3286
- */
3287
- export interface VehicleModelIndexResponse {
3288
- /**
3289
- *
3290
- * @type {VehicleModelIndexResponseBrand}
3291
- * @memberof VehicleModelIndexResponse
3292
- */
3293
- 'brand': VehicleModelIndexResponseBrand;
3294
- /**
3295
- *
3296
- * @type {string}
3297
- * @memberof VehicleModelIndexResponse
3298
- */
3299
- 'name': string;
3300
- /**
3301
- *
3302
- * @type {string}
3303
- * @memberof VehicleModelIndexResponse
3304
- */
3305
- 'id': string;
3306
- }
3307
- /**
3308
- *
3309
- * @export
3310
- * @interface VehicleModelIndexResponseBrand
3311
- */
3312
- export interface VehicleModelIndexResponseBrand {
3313
- /**
3314
- *
3315
- * @type {string}
3316
- * @memberof VehicleModelIndexResponseBrand
3317
- */
3318
- 'name': string;
3319
- /**
3320
- *
3321
- * @type {string}
3322
- * @memberof VehicleModelIndexResponseBrand
3323
- */
3324
- 'id': string;
3325
- }
3326
3156
  /**
3327
3157
  *
3328
3158
  * @export
@@ -4780,15 +4610,16 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4780
4610
  },
4781
4611
  /**
4782
4612
  *
4783
- * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
4613
+ * @param {string} id
4784
4614
  * @param {string} [xAccountId]
4785
4615
  * @param {*} [options] Override http request option.
4786
4616
  * @throws {RequiredError}
4787
4617
  */
4788
- registeredVehiclesCreate: async (createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4789
- // verify required parameter 'createRegisteredVehicleBody' is not null or undefined
4790
- assertParamExists('registeredVehiclesCreate', 'createRegisteredVehicleBody', createRegisteredVehicleBody)
4791
- const localVarPath = `/registered-vehicles`;
4618
+ registeredVehiclesDelete: async (id: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4619
+ // verify required parameter 'id' is not null or undefined
4620
+ assertParamExists('registeredVehiclesDelete', 'id', id)
4621
+ const localVarPath = `/registered-vehicles/delete/{id}`
4622
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4792
4623
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4793
4624
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4794
4625
  let baseOptions;
@@ -4796,7 +4627,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4796
4627
  baseOptions = configuration.baseOptions;
4797
4628
  }
4798
4629
 
4799
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4630
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4800
4631
  const localVarHeaderParameter = {} as any;
4801
4632
  const localVarQueryParameter = {} as any;
4802
4633
 
@@ -4806,12 +4637,9 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4806
4637
 
4807
4638
 
4808
4639
 
4809
- localVarHeaderParameter['Content-Type'] = 'application/json';
4810
-
4811
4640
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4812
4641
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4813
4642
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4814
- localVarRequestOptions.data = serializeDataIfNeeded(createRegisteredVehicleBody, localVarRequestOptions, configuration)
4815
4643
 
4816
4644
  return {
4817
4645
  url: toPathString(localVarUrlObj),
@@ -4820,15 +4648,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4820
4648
  },
4821
4649
  /**
4822
4650
  *
4823
- * @param {string} id
4651
+ * @param {string} [xAccountId]
4824
4652
  * @param {*} [options] Override http request option.
4825
4653
  * @throws {RequiredError}
4826
4654
  */
4827
- registeredVehiclesDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4828
- // verify required parameter 'id' is not null or undefined
4829
- assertParamExists('registeredVehiclesDelete', 'id', id)
4830
- const localVarPath = `/registered-vehicles/{id}`
4831
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4655
+ registeredVehiclesGetVehiclesByAccount: async (xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4656
+ const localVarPath = `/registered-vehicles/account`;
4832
4657
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4833
4658
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4834
4659
  let baseOptions;
@@ -4836,43 +4661,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4836
4661
  baseOptions = configuration.baseOptions;
4837
4662
  }
4838
4663
 
4839
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4664
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4840
4665
  const localVarHeaderParameter = {} as any;
4841
4666
  const localVarQueryParameter = {} as any;
4842
4667
 
4843
-
4844
-
4845
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4846
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4847
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4848
-
4849
- return {
4850
- url: toPathString(localVarUrlObj),
4851
- options: localVarRequestOptions,
4852
- };
4853
- },
4854
- /**
4855
- *
4856
- * @param {string} id
4857
- * @param {*} [options] Override http request option.
4858
- * @throws {RequiredError}
4859
- */
4860
- registeredVehiclesGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4861
- // verify required parameter 'id' is not null or undefined
4862
- assertParamExists('registeredVehiclesGet', 'id', id)
4863
- const localVarPath = `/registered-vehicles/{id}`
4864
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4865
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4866
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4867
- let baseOptions;
4868
- if (configuration) {
4869
- baseOptions = configuration.baseOptions;
4668
+ if (xAccountId != null) {
4669
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
4870
4670
  }
4871
4671
 
4872
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4873
- const localVarHeaderParameter = {} as any;
4874
- const localVarQueryParameter = {} as any;
4875
-
4876
4672
 
4877
4673
 
4878
4674
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4886,12 +4682,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4886
4682
  },
4887
4683
  /**
4888
4684
  *
4685
+ * @param {string} plateNo
4889
4686
  * @param {string} [xAccountId]
4890
4687
  * @param {*} [options] Override http request option.
4891
4688
  * @throws {RequiredError}
4892
4689
  */
4893
- registeredVehiclesGetByAccountId: async (xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4894
- const localVarPath = `/registered-vehicles/account`;
4690
+ registeredVehiclesIsLicensePlateRegistered: async (plateNo: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4691
+ // verify required parameter 'plateNo' is not null or undefined
4692
+ assertParamExists('registeredVehiclesIsLicensePlateRegistered', 'plateNo', plateNo)
4693
+ const localVarPath = `/registered-vehicles/is-license-plate-registered`;
4895
4694
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4896
4695
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4897
4696
  let baseOptions;
@@ -4903,6 +4702,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4903
4702
  const localVarHeaderParameter = {} as any;
4904
4703
  const localVarQueryParameter = {} as any;
4905
4704
 
4705
+ if (plateNo !== undefined) {
4706
+ localVarQueryParameter['plate_no'] = plateNo;
4707
+ }
4708
+
4906
4709
  if (xAccountId != null) {
4907
4710
  localVarHeaderParameter['x-account-id'] = String(xAccountId);
4908
4711
  }
@@ -4920,11 +4723,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4920
4723
  },
4921
4724
  /**
4922
4725
  *
4726
+ * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
4727
+ * @param {string} [xAccountId]
4923
4728
  * @param {*} [options] Override http request option.
4924
4729
  * @throws {RequiredError}
4925
4730
  */
4926
- registeredVehiclesIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4927
- const localVarPath = `/registered-vehicles`;
4731
+ registeredVehiclesRegister: async (createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4732
+ // verify required parameter 'createRegisteredVehicleBody' is not null or undefined
4733
+ assertParamExists('registeredVehiclesRegister', 'createRegisteredVehicleBody', createRegisteredVehicleBody)
4734
+ const localVarPath = `/registered-vehicles/register`;
4928
4735
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4929
4736
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4930
4737
  let baseOptions;
@@ -4932,15 +4739,22 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4932
4739
  baseOptions = configuration.baseOptions;
4933
4740
  }
4934
4741
 
4935
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4742
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4936
4743
  const localVarHeaderParameter = {} as any;
4937
4744
  const localVarQueryParameter = {} as any;
4938
4745
 
4746
+ if (xAccountId != null) {
4747
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
4748
+ }
4749
+
4939
4750
 
4940
4751
 
4752
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4753
+
4941
4754
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4942
4755
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4943
4756
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4757
+ localVarRequestOptions.data = serializeDataIfNeeded(createRegisteredVehicleBody, localVarRequestOptions, configuration)
4944
4758
 
4945
4759
  return {
4946
4760
  url: toPathString(localVarUrlObj),
@@ -4949,18 +4763,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4949
4763
  },
4950
4764
  /**
4951
4765
  *
4952
- * @param {string} id
4953
4766
  * @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
4767
+ * @param {string} [xAccountId]
4954
4768
  * @param {*} [options] Override http request option.
4955
4769
  * @throws {RequiredError}
4956
4770
  */
4957
- registeredVehiclesUpdate: async (id: string, updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4958
- // verify required parameter 'id' is not null or undefined
4959
- assertParamExists('registeredVehiclesUpdate', 'id', id)
4771
+ registeredVehiclesUpdate: async (updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4960
4772
  // verify required parameter 'updateRegisteredVehicleBody' is not null or undefined
4961
4773
  assertParamExists('registeredVehiclesUpdate', 'updateRegisteredVehicleBody', updateRegisteredVehicleBody)
4962
- const localVarPath = `/registered-vehicles/{id}`
4963
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4774
+ const localVarPath = `/registered-vehicles/update/{id}`;
4964
4775
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4965
4776
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4966
4777
  let baseOptions;
@@ -4972,6 +4783,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4972
4783
  const localVarHeaderParameter = {} as any;
4973
4784
  const localVarQueryParameter = {} as any;
4974
4785
 
4786
+ if (xAccountId != null) {
4787
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
4788
+ }
4789
+
4975
4790
 
4976
4791
 
4977
4792
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -5184,152 +4999,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5184
4999
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5185
5000
  localVarRequestOptions.data = serializeDataIfNeeded(updateVehicleBrandBody, localVarRequestOptions, configuration)
5186
5001
 
5187
- return {
5188
- url: toPathString(localVarUrlObj),
5189
- options: localVarRequestOptions,
5190
- };
5191
- },
5192
- /**
5193
- *
5194
- * @param {CreateVehicleModelBody} createVehicleModelBody
5195
- * @param {*} [options] Override http request option.
5196
- * @throws {RequiredError}
5197
- */
5198
- vehicleModelsCreate: async (createVehicleModelBody: CreateVehicleModelBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5199
- // verify required parameter 'createVehicleModelBody' is not null or undefined
5200
- assertParamExists('vehicleModelsCreate', 'createVehicleModelBody', createVehicleModelBody)
5201
- const localVarPath = `/vehicle-models`;
5202
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5203
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5204
- let baseOptions;
5205
- if (configuration) {
5206
- baseOptions = configuration.baseOptions;
5207
- }
5208
-
5209
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5210
- const localVarHeaderParameter = {} as any;
5211
- const localVarQueryParameter = {} as any;
5212
-
5213
-
5214
-
5215
- localVarHeaderParameter['Content-Type'] = 'application/json';
5216
-
5217
- setSearchParams(localVarUrlObj, localVarQueryParameter);
5218
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5219
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5220
- localVarRequestOptions.data = serializeDataIfNeeded(createVehicleModelBody, localVarRequestOptions, configuration)
5221
-
5222
- return {
5223
- url: toPathString(localVarUrlObj),
5224
- options: localVarRequestOptions,
5225
- };
5226
- },
5227
- /**
5228
- *
5229
- * @param {string} id
5230
- * @param {*} [options] Override http request option.
5231
- * @throws {RequiredError}
5232
- */
5233
- vehicleModelsDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5234
- // verify required parameter 'id' is not null or undefined
5235
- assertParamExists('vehicleModelsDelete', 'id', id)
5236
- const localVarPath = `/vehicle-models/{id}`
5237
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5238
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5239
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5240
- let baseOptions;
5241
- if (configuration) {
5242
- baseOptions = configuration.baseOptions;
5243
- }
5244
-
5245
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
5246
- const localVarHeaderParameter = {} as any;
5247
- const localVarQueryParameter = {} as any;
5248
-
5249
-
5250
-
5251
- setSearchParams(localVarUrlObj, localVarQueryParameter);
5252
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5253
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5254
-
5255
- return {
5256
- url: toPathString(localVarUrlObj),
5257
- options: localVarRequestOptions,
5258
- };
5259
- },
5260
- /**
5261
- *
5262
- * @param {string} [name]
5263
- * @param {string} [brandId]
5264
- * @param {*} [options] Override http request option.
5265
- * @throws {RequiredError}
5266
- */
5267
- vehicleModelsIndex: async (name?: string, brandId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5268
- const localVarPath = `/vehicle-models`;
5269
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5270
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5271
- let baseOptions;
5272
- if (configuration) {
5273
- baseOptions = configuration.baseOptions;
5274
- }
5275
-
5276
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5277
- const localVarHeaderParameter = {} as any;
5278
- const localVarQueryParameter = {} as any;
5279
-
5280
- if (name !== undefined) {
5281
- localVarQueryParameter['name'] = name;
5282
- }
5283
-
5284
- if (brandId !== undefined) {
5285
- localVarQueryParameter['brand_id'] = brandId;
5286
- }
5287
-
5288
-
5289
-
5290
- setSearchParams(localVarUrlObj, localVarQueryParameter);
5291
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5292
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5293
-
5294
- return {
5295
- url: toPathString(localVarUrlObj),
5296
- options: localVarRequestOptions,
5297
- };
5298
- },
5299
- /**
5300
- *
5301
- * @param {string} id
5302
- * @param {UpdateVehicleModelBody} updateVehicleModelBody
5303
- * @param {*} [options] Override http request option.
5304
- * @throws {RequiredError}
5305
- */
5306
- vehicleModelsUpdate: async (id: string, updateVehicleModelBody: UpdateVehicleModelBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5307
- // verify required parameter 'id' is not null or undefined
5308
- assertParamExists('vehicleModelsUpdate', 'id', id)
5309
- // verify required parameter 'updateVehicleModelBody' is not null or undefined
5310
- assertParamExists('vehicleModelsUpdate', 'updateVehicleModelBody', updateVehicleModelBody)
5311
- const localVarPath = `/vehicle-models/{id}`
5312
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5313
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5314
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5315
- let baseOptions;
5316
- if (configuration) {
5317
- baseOptions = configuration.baseOptions;
5318
- }
5319
-
5320
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
5321
- const localVarHeaderParameter = {} as any;
5322
- const localVarQueryParameter = {} as any;
5323
-
5324
-
5325
-
5326
- localVarHeaderParameter['Content-Type'] = 'application/json';
5327
-
5328
- setSearchParams(localVarUrlObj, localVarQueryParameter);
5329
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5330
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5331
- localVarRequestOptions.data = serializeDataIfNeeded(updateVehicleModelBody, localVarRequestOptions, configuration)
5332
-
5333
5002
  return {
5334
5003
  url: toPathString(localVarUrlObj),
5335
5004
  options: localVarRequestOptions,
@@ -5739,65 +5408,58 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5739
5408
  const localVarAxiosArgs = await localVarAxiosParamCreator.receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options);
5740
5409
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5741
5410
  },
5742
- /**
5743
- *
5744
- * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
5745
- * @param {string} [xAccountId]
5746
- * @param {*} [options] Override http request option.
5747
- * @throws {RequiredError}
5748
- */
5749
- async registeredVehiclesCreate(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
5750
- const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesCreate(createRegisteredVehicleBody, xAccountId, options);
5751
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5752
- },
5753
5411
  /**
5754
5412
  *
5755
5413
  * @param {string} id
5414
+ * @param {string} [xAccountId]
5756
5415
  * @param {*} [options] Override http request option.
5757
5416
  * @throws {RequiredError}
5758
5417
  */
5759
- async registeredVehiclesDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
5760
- const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesDelete(id, options);
5418
+ async registeredVehiclesDelete(id: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
5419
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesDelete(id, xAccountId, options);
5761
5420
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5762
5421
  },
5763
5422
  /**
5764
5423
  *
5765
- * @param {string} id
5424
+ * @param {string} [xAccountId]
5766
5425
  * @param {*} [options] Override http request option.
5767
5426
  * @throws {RequiredError}
5768
5427
  */
5769
- async registeredVehiclesGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
5770
- const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGet(id, options);
5428
+ async registeredVehiclesGetVehiclesByAccount(xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RegisteredVehicleIndexResponse>>> {
5429
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGetVehiclesByAccount(xAccountId, options);
5771
5430
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5772
5431
  },
5773
5432
  /**
5774
5433
  *
5434
+ * @param {string} plateNo
5775
5435
  * @param {string} [xAccountId]
5776
5436
  * @param {*} [options] Override http request option.
5777
5437
  * @throws {RequiredError}
5778
5438
  */
5779
- async registeredVehiclesGetByAccountId(xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleIndexResponse>> {
5780
- const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGetByAccountId(xAccountId, options);
5439
+ async registeredVehiclesIsLicensePlateRegistered(plateNo: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
5440
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesIsLicensePlateRegistered(plateNo, xAccountId, options);
5781
5441
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5782
5442
  },
5783
5443
  /**
5784
5444
  *
5445
+ * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
5446
+ * @param {string} [xAccountId]
5785
5447
  * @param {*} [options] Override http request option.
5786
5448
  * @throws {RequiredError}
5787
5449
  */
5788
- async registeredVehiclesIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RegisteredVehicleIndexResponse>>> {
5789
- const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesIndex(options);
5450
+ async registeredVehiclesRegister(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
5451
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options);
5790
5452
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5791
5453
  },
5792
5454
  /**
5793
5455
  *
5794
- * @param {string} id
5795
5456
  * @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
5457
+ * @param {string} [xAccountId]
5796
5458
  * @param {*} [options] Override http request option.
5797
5459
  * @throws {RequiredError}
5798
5460
  */
5799
- async registeredVehiclesUpdate(id: string, updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
5800
- const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesUpdate(id, updateRegisteredVehicleBody, options);
5461
+ async registeredVehiclesUpdate(updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
5462
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesUpdate(updateRegisteredVehicleBody, xAccountId, options);
5801
5463
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5802
5464
  },
5803
5465
  /**
@@ -5860,48 +5522,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5860
5522
  const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsUpdate(id, updateVehicleBrandBody, options);
5861
5523
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5862
5524
  },
5863
- /**
5864
- *
5865
- * @param {CreateVehicleModelBody} createVehicleModelBody
5866
- * @param {*} [options] Override http request option.
5867
- * @throws {RequiredError}
5868
- */
5869
- async vehicleModelsCreate(createVehicleModelBody: CreateVehicleModelBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateVehicleModelResponse>> {
5870
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleModelsCreate(createVehicleModelBody, options);
5871
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5872
- },
5873
- /**
5874
- *
5875
- * @param {string} id
5876
- * @param {*} [options] Override http request option.
5877
- * @throws {RequiredError}
5878
- */
5879
- async vehicleModelsDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteVehicleModelResponse>> {
5880
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleModelsDelete(id, options);
5881
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5882
- },
5883
- /**
5884
- *
5885
- * @param {string} [name]
5886
- * @param {string} [brandId]
5887
- * @param {*} [options] Override http request option.
5888
- * @throws {RequiredError}
5889
- */
5890
- async vehicleModelsIndex(name?: string, brandId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleModelIndexResponse>>> {
5891
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleModelsIndex(name, brandId, options);
5892
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5893
- },
5894
- /**
5895
- *
5896
- * @param {string} id
5897
- * @param {UpdateVehicleModelBody} updateVehicleModelBody
5898
- * @param {*} [options] Override http request option.
5899
- * @throws {RequiredError}
5900
- */
5901
- async vehicleModelsUpdate(id: string, updateVehicleModelBody: UpdateVehicleModelBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateVehicleModelResponse>> {
5902
- const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleModelsUpdate(id, updateVehicleModelBody, options);
5903
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5904
- },
5905
5525
  }
5906
5526
  };
5907
5527
 
@@ -6272,60 +5892,54 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6272
5892
  receiptValidateOcrReceiptImage(validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: any): AxiosPromise<ReceiptData> {
6273
5893
  return localVarFp.receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options).then((request) => request(axios, basePath));
6274
5894
  },
6275
- /**
6276
- *
6277
- * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
6278
- * @param {string} [xAccountId]
6279
- * @param {*} [options] Override http request option.
6280
- * @throws {RequiredError}
6281
- */
6282
- registeredVehiclesCreate(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6283
- return localVarFp.registeredVehiclesCreate(createRegisteredVehicleBody, xAccountId, options).then((request) => request(axios, basePath));
6284
- },
6285
5895
  /**
6286
5896
  *
6287
5897
  * @param {string} id
5898
+ * @param {string} [xAccountId]
6288
5899
  * @param {*} [options] Override http request option.
6289
5900
  * @throws {RequiredError}
6290
5901
  */
6291
- registeredVehiclesDelete(id: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6292
- return localVarFp.registeredVehiclesDelete(id, options).then((request) => request(axios, basePath));
5902
+ registeredVehiclesDelete(id: string, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
5903
+ return localVarFp.registeredVehiclesDelete(id, xAccountId, options).then((request) => request(axios, basePath));
6293
5904
  },
6294
5905
  /**
6295
5906
  *
6296
- * @param {string} id
5907
+ * @param {string} [xAccountId]
6297
5908
  * @param {*} [options] Override http request option.
6298
5909
  * @throws {RequiredError}
6299
5910
  */
6300
- registeredVehiclesGet(id: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6301
- return localVarFp.registeredVehiclesGet(id, options).then((request) => request(axios, basePath));
5911
+ registeredVehiclesGetVehiclesByAccount(xAccountId?: string, options?: any): AxiosPromise<Array<RegisteredVehicleIndexResponse>> {
5912
+ return localVarFp.registeredVehiclesGetVehiclesByAccount(xAccountId, options).then((request) => request(axios, basePath));
6302
5913
  },
6303
5914
  /**
6304
5915
  *
5916
+ * @param {string} plateNo
6305
5917
  * @param {string} [xAccountId]
6306
5918
  * @param {*} [options] Override http request option.
6307
5919
  * @throws {RequiredError}
6308
5920
  */
6309
- registeredVehiclesGetByAccountId(xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleIndexResponse> {
6310
- return localVarFp.registeredVehiclesGetByAccountId(xAccountId, options).then((request) => request(axios, basePath));
5921
+ registeredVehiclesIsLicensePlateRegistered(plateNo: string, xAccountId?: string, options?: any): AxiosPromise<boolean> {
5922
+ return localVarFp.registeredVehiclesIsLicensePlateRegistered(plateNo, xAccountId, options).then((request) => request(axios, basePath));
6311
5923
  },
6312
5924
  /**
6313
5925
  *
5926
+ * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
5927
+ * @param {string} [xAccountId]
6314
5928
  * @param {*} [options] Override http request option.
6315
5929
  * @throws {RequiredError}
6316
5930
  */
6317
- registeredVehiclesIndex(options?: any): AxiosPromise<Array<RegisteredVehicleIndexResponse>> {
6318
- return localVarFp.registeredVehiclesIndex(options).then((request) => request(axios, basePath));
5931
+ registeredVehiclesRegister(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
5932
+ return localVarFp.registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options).then((request) => request(axios, basePath));
6319
5933
  },
6320
5934
  /**
6321
5935
  *
6322
- * @param {string} id
6323
5936
  * @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
5937
+ * @param {string} [xAccountId]
6324
5938
  * @param {*} [options] Override http request option.
6325
5939
  * @throws {RequiredError}
6326
5940
  */
6327
- registeredVehiclesUpdate(id: string, updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6328
- return localVarFp.registeredVehiclesUpdate(id, updateRegisteredVehicleBody, options).then((request) => request(axios, basePath));
5941
+ registeredVehiclesUpdate(updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
5942
+ return localVarFp.registeredVehiclesUpdate(updateRegisteredVehicleBody, xAccountId, options).then((request) => request(axios, basePath));
6329
5943
  },
6330
5944
  /**
6331
5945
  *
@@ -6381,44 +5995,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6381
5995
  vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
6382
5996
  return localVarFp.vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(axios, basePath));
6383
5997
  },
6384
- /**
6385
- *
6386
- * @param {CreateVehicleModelBody} createVehicleModelBody
6387
- * @param {*} [options] Override http request option.
6388
- * @throws {RequiredError}
6389
- */
6390
- vehicleModelsCreate(createVehicleModelBody: CreateVehicleModelBody, options?: any): AxiosPromise<CreateVehicleModelResponse> {
6391
- return localVarFp.vehicleModelsCreate(createVehicleModelBody, options).then((request) => request(axios, basePath));
6392
- },
6393
- /**
6394
- *
6395
- * @param {string} id
6396
- * @param {*} [options] Override http request option.
6397
- * @throws {RequiredError}
6398
- */
6399
- vehicleModelsDelete(id: string, options?: any): AxiosPromise<DeleteVehicleModelResponse> {
6400
- return localVarFp.vehicleModelsDelete(id, options).then((request) => request(axios, basePath));
6401
- },
6402
- /**
6403
- *
6404
- * @param {string} [name]
6405
- * @param {string} [brandId]
6406
- * @param {*} [options] Override http request option.
6407
- * @throws {RequiredError}
6408
- */
6409
- vehicleModelsIndex(name?: string, brandId?: string, options?: any): AxiosPromise<Array<VehicleModelIndexResponse>> {
6410
- return localVarFp.vehicleModelsIndex(name, brandId, options).then((request) => request(axios, basePath));
6411
- },
6412
- /**
6413
- *
6414
- * @param {string} id
6415
- * @param {UpdateVehicleModelBody} updateVehicleModelBody
6416
- * @param {*} [options] Override http request option.
6417
- * @throws {RequiredError}
6418
- */
6419
- vehicleModelsUpdate(id: string, updateVehicleModelBody: UpdateVehicleModelBody, options?: any): AxiosPromise<UpdateVehicleModelResponse> {
6420
- return localVarFp.vehicleModelsUpdate(id, updateVehicleModelBody, options).then((request) => request(axios, basePath));
6421
- },
6422
5998
  };
6423
5999
  };
6424
6000
 
@@ -6857,71 +6433,63 @@ export class DefaultApi extends BaseAPI {
6857
6433
  return DefaultApiFp(this.configuration).receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
6858
6434
  }
6859
6435
 
6860
- /**
6861
- *
6862
- * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
6863
- * @param {string} [xAccountId]
6864
- * @param {*} [options] Override http request option.
6865
- * @throws {RequiredError}
6866
- * @memberof DefaultApi
6867
- */
6868
- public registeredVehiclesCreate(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig) {
6869
- return DefaultApiFp(this.configuration).registeredVehiclesCreate(createRegisteredVehicleBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
6870
- }
6871
-
6872
6436
  /**
6873
6437
  *
6874
6438
  * @param {string} id
6439
+ * @param {string} [xAccountId]
6875
6440
  * @param {*} [options] Override http request option.
6876
6441
  * @throws {RequiredError}
6877
6442
  * @memberof DefaultApi
6878
6443
  */
6879
- public registeredVehiclesDelete(id: string, options?: AxiosRequestConfig) {
6880
- return DefaultApiFp(this.configuration).registeredVehiclesDelete(id, options).then((request) => request(this.axios, this.basePath));
6444
+ public registeredVehiclesDelete(id: string, xAccountId?: string, options?: AxiosRequestConfig) {
6445
+ return DefaultApiFp(this.configuration).registeredVehiclesDelete(id, xAccountId, options).then((request) => request(this.axios, this.basePath));
6881
6446
  }
6882
6447
 
6883
6448
  /**
6884
6449
  *
6885
- * @param {string} id
6450
+ * @param {string} [xAccountId]
6886
6451
  * @param {*} [options] Override http request option.
6887
6452
  * @throws {RequiredError}
6888
6453
  * @memberof DefaultApi
6889
6454
  */
6890
- public registeredVehiclesGet(id: string, options?: AxiosRequestConfig) {
6891
- return DefaultApiFp(this.configuration).registeredVehiclesGet(id, options).then((request) => request(this.axios, this.basePath));
6455
+ public registeredVehiclesGetVehiclesByAccount(xAccountId?: string, options?: AxiosRequestConfig) {
6456
+ return DefaultApiFp(this.configuration).registeredVehiclesGetVehiclesByAccount(xAccountId, options).then((request) => request(this.axios, this.basePath));
6892
6457
  }
6893
6458
 
6894
6459
  /**
6895
6460
  *
6461
+ * @param {string} plateNo
6896
6462
  * @param {string} [xAccountId]
6897
6463
  * @param {*} [options] Override http request option.
6898
6464
  * @throws {RequiredError}
6899
6465
  * @memberof DefaultApi
6900
6466
  */
6901
- public registeredVehiclesGetByAccountId(xAccountId?: string, options?: AxiosRequestConfig) {
6902
- return DefaultApiFp(this.configuration).registeredVehiclesGetByAccountId(xAccountId, options).then((request) => request(this.axios, this.basePath));
6467
+ public registeredVehiclesIsLicensePlateRegistered(plateNo: string, xAccountId?: string, options?: AxiosRequestConfig) {
6468
+ return DefaultApiFp(this.configuration).registeredVehiclesIsLicensePlateRegistered(plateNo, xAccountId, options).then((request) => request(this.axios, this.basePath));
6903
6469
  }
6904
6470
 
6905
6471
  /**
6906
6472
  *
6473
+ * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
6474
+ * @param {string} [xAccountId]
6907
6475
  * @param {*} [options] Override http request option.
6908
6476
  * @throws {RequiredError}
6909
6477
  * @memberof DefaultApi
6910
6478
  */
6911
- public registeredVehiclesIndex(options?: AxiosRequestConfig) {
6912
- return DefaultApiFp(this.configuration).registeredVehiclesIndex(options).then((request) => request(this.axios, this.basePath));
6479
+ public registeredVehiclesRegister(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig) {
6480
+ return DefaultApiFp(this.configuration).registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
6913
6481
  }
6914
6482
 
6915
6483
  /**
6916
6484
  *
6917
- * @param {string} id
6918
6485
  * @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
6486
+ * @param {string} [xAccountId]
6919
6487
  * @param {*} [options] Override http request option.
6920
6488
  * @throws {RequiredError}
6921
6489
  * @memberof DefaultApi
6922
6490
  */
6923
- public registeredVehiclesUpdate(id: string, updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, options?: AxiosRequestConfig) {
6924
- return DefaultApiFp(this.configuration).registeredVehiclesUpdate(id, updateRegisteredVehicleBody, options).then((request) => request(this.axios, this.basePath));
6491
+ public registeredVehiclesUpdate(updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig) {
6492
+ return DefaultApiFp(this.configuration).registeredVehiclesUpdate(updateRegisteredVehicleBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
6925
6493
  }
6926
6494
 
6927
6495
  /**
@@ -6989,52 +6557,6 @@ export class DefaultApi extends BaseAPI {
6989
6557
  public vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig) {
6990
6558
  return DefaultApiFp(this.configuration).vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
6991
6559
  }
6992
-
6993
- /**
6994
- *
6995
- * @param {CreateVehicleModelBody} createVehicleModelBody
6996
- * @param {*} [options] Override http request option.
6997
- * @throws {RequiredError}
6998
- * @memberof DefaultApi
6999
- */
7000
- public vehicleModelsCreate(createVehicleModelBody: CreateVehicleModelBody, options?: AxiosRequestConfig) {
7001
- return DefaultApiFp(this.configuration).vehicleModelsCreate(createVehicleModelBody, options).then((request) => request(this.axios, this.basePath));
7002
- }
7003
-
7004
- /**
7005
- *
7006
- * @param {string} id
7007
- * @param {*} [options] Override http request option.
7008
- * @throws {RequiredError}
7009
- * @memberof DefaultApi
7010
- */
7011
- public vehicleModelsDelete(id: string, options?: AxiosRequestConfig) {
7012
- return DefaultApiFp(this.configuration).vehicleModelsDelete(id, options).then((request) => request(this.axios, this.basePath));
7013
- }
7014
-
7015
- /**
7016
- *
7017
- * @param {string} [name]
7018
- * @param {string} [brandId]
7019
- * @param {*} [options] Override http request option.
7020
- * @throws {RequiredError}
7021
- * @memberof DefaultApi
7022
- */
7023
- public vehicleModelsIndex(name?: string, brandId?: string, options?: AxiosRequestConfig) {
7024
- return DefaultApiFp(this.configuration).vehicleModelsIndex(name, brandId, options).then((request) => request(this.axios, this.basePath));
7025
- }
7026
-
7027
- /**
7028
- *
7029
- * @param {string} id
7030
- * @param {UpdateVehicleModelBody} updateVehicleModelBody
7031
- * @param {*} [options] Override http request option.
7032
- * @throws {RequiredError}
7033
- * @memberof DefaultApi
7034
- */
7035
- public vehicleModelsUpdate(id: string, updateVehicleModelBody: UpdateVehicleModelBody, options?: AxiosRequestConfig) {
7036
- return DefaultApiFp(this.configuration).vehicleModelsUpdate(id, updateVehicleModelBody, options).then((request) => request(this.axios, this.basePath));
7037
- }
7038
6560
  }
7039
6561
 
7040
6562