ob-parking-sdk 0.0.51 → 0.0.53

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
@@ -3043,12 +3043,6 @@ export interface UpdateRegisteredVehicleBody {
3043
3043
  * @memberof UpdateRegisteredVehicleBody
3044
3044
  */
3045
3045
  'plate_province'?: string | null;
3046
- /**
3047
- *
3048
- * @type {string}
3049
- * @memberof UpdateRegisteredVehicleBody
3050
- */
3051
- 'plate_no'?: string;
3052
3046
  /**
3053
3047
  *
3054
3048
  * @type {VehicleType}
@@ -3197,6 +3191,18 @@ export interface VehicleBrandIndexQuery {
3197
3191
  * @interface VehicleBrandIndexResponse
3198
3192
  */
3199
3193
  export interface VehicleBrandIndexResponse {
3194
+ /**
3195
+ *
3196
+ * @type {Array<VehicleBrandIndexResponseVehicleModelsInner>}
3197
+ * @memberof VehicleBrandIndexResponse
3198
+ */
3199
+ 'vehicle_models': Array<VehicleBrandIndexResponseVehicleModelsInner>;
3200
+ /**
3201
+ *
3202
+ * @type {string}
3203
+ * @memberof VehicleBrandIndexResponse
3204
+ */
3205
+ 'description'?: string;
3200
3206
  /**
3201
3207
  *
3202
3208
  * @type {string}
@@ -3210,6 +3216,31 @@ export interface VehicleBrandIndexResponse {
3210
3216
  */
3211
3217
  'id': string;
3212
3218
  }
3219
+ /**
3220
+ *
3221
+ * @export
3222
+ * @interface VehicleBrandIndexResponseVehicleModelsInner
3223
+ */
3224
+ export interface VehicleBrandIndexResponseVehicleModelsInner {
3225
+ /**
3226
+ *
3227
+ * @type {string}
3228
+ * @memberof VehicleBrandIndexResponseVehicleModelsInner
3229
+ */
3230
+ 'description'?: string;
3231
+ /**
3232
+ *
3233
+ * @type {string}
3234
+ * @memberof VehicleBrandIndexResponseVehicleModelsInner
3235
+ */
3236
+ 'name': string;
3237
+ /**
3238
+ *
3239
+ * @type {string}
3240
+ * @memberof VehicleBrandIndexResponseVehicleModelsInner
3241
+ */
3242
+ 'id'?: string;
3243
+ }
3213
3244
  /**
3214
3245
  *
3215
3246
  * @export
@@ -4749,14 +4780,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4749
4780
  },
4750
4781
  /**
4751
4782
  *
4752
- * @param {string} xAccountId
4753
4783
  * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
4784
+ * @param {string} [xAccountId]
4754
4785
  * @param {*} [options] Override http request option.
4755
4786
  * @throws {RequiredError}
4756
4787
  */
4757
- registeredVehiclesCreate: async (xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4758
- // verify required parameter 'xAccountId' is not null or undefined
4759
- assertParamExists('registeredVehiclesCreate', 'xAccountId', xAccountId)
4788
+ registeredVehiclesCreate: async (createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4760
4789
  // verify required parameter 'createRegisteredVehicleBody' is not null or undefined
4761
4790
  assertParamExists('registeredVehiclesCreate', 'createRegisteredVehicleBody', createRegisteredVehicleBody)
4762
4791
  const localVarPath = `/registered-vehicles`;
@@ -4857,13 +4886,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4857
4886
  },
4858
4887
  /**
4859
4888
  *
4860
- * @param {string} xAccountId
4889
+ * @param {string} [xAccountId]
4861
4890
  * @param {*} [options] Override http request option.
4862
4891
  * @throws {RequiredError}
4863
4892
  */
4864
- registeredVehiclesGetByAccountId: async (xAccountId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4865
- // verify required parameter 'xAccountId' is not null or undefined
4866
- assertParamExists('registeredVehiclesGetByAccountId', 'xAccountId', xAccountId)
4893
+ registeredVehiclesGetByAccountId: async (xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4867
4894
  const localVarPath = `/registered-vehicles/account`;
4868
4895
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4869
4896
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5714,13 +5741,13 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5714
5741
  },
5715
5742
  /**
5716
5743
  *
5717
- * @param {string} xAccountId
5718
5744
  * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
5745
+ * @param {string} [xAccountId]
5719
5746
  * @param {*} [options] Override http request option.
5720
5747
  * @throws {RequiredError}
5721
5748
  */
5722
- async registeredVehiclesCreate(xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
5723
- const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesCreate(xAccountId, createRegisteredVehicleBody, options);
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);
5724
5751
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5725
5752
  },
5726
5753
  /**
@@ -5745,11 +5772,11 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5745
5772
  },
5746
5773
  /**
5747
5774
  *
5748
- * @param {string} xAccountId
5775
+ * @param {string} [xAccountId]
5749
5776
  * @param {*} [options] Override http request option.
5750
5777
  * @throws {RequiredError}
5751
5778
  */
5752
- async registeredVehiclesGetByAccountId(xAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleIndexResponse>> {
5779
+ async registeredVehiclesGetByAccountId(xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleIndexResponse>> {
5753
5780
  const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGetByAccountId(xAccountId, options);
5754
5781
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5755
5782
  },
@@ -6247,13 +6274,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6247
6274
  },
6248
6275
  /**
6249
6276
  *
6250
- * @param {string} xAccountId
6251
6277
  * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
6278
+ * @param {string} [xAccountId]
6252
6279
  * @param {*} [options] Override http request option.
6253
6280
  * @throws {RequiredError}
6254
6281
  */
6255
- registeredVehiclesCreate(xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6256
- return localVarFp.registeredVehiclesCreate(xAccountId, createRegisteredVehicleBody, options).then((request) => request(axios, basePath));
6282
+ registeredVehiclesCreate(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6283
+ return localVarFp.registeredVehiclesCreate(createRegisteredVehicleBody, xAccountId, options).then((request) => request(axios, basePath));
6257
6284
  },
6258
6285
  /**
6259
6286
  *
@@ -6275,11 +6302,11 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6275
6302
  },
6276
6303
  /**
6277
6304
  *
6278
- * @param {string} xAccountId
6305
+ * @param {string} [xAccountId]
6279
6306
  * @param {*} [options] Override http request option.
6280
6307
  * @throws {RequiredError}
6281
6308
  */
6282
- registeredVehiclesGetByAccountId(xAccountId: string, options?: any): AxiosPromise<RegisteredVehicleIndexResponse> {
6309
+ registeredVehiclesGetByAccountId(xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleIndexResponse> {
6283
6310
  return localVarFp.registeredVehiclesGetByAccountId(xAccountId, options).then((request) => request(axios, basePath));
6284
6311
  },
6285
6312
  /**
@@ -6832,14 +6859,14 @@ export class DefaultApi extends BaseAPI {
6832
6859
 
6833
6860
  /**
6834
6861
  *
6835
- * @param {string} xAccountId
6836
6862
  * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
6863
+ * @param {string} [xAccountId]
6837
6864
  * @param {*} [options] Override http request option.
6838
6865
  * @throws {RequiredError}
6839
6866
  * @memberof DefaultApi
6840
6867
  */
6841
- public registeredVehiclesCreate(xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options?: AxiosRequestConfig) {
6842
- return DefaultApiFp(this.configuration).registeredVehiclesCreate(xAccountId, createRegisteredVehicleBody, options).then((request) => request(this.axios, this.basePath));
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));
6843
6870
  }
6844
6871
 
6845
6872
  /**
@@ -6866,12 +6893,12 @@ export class DefaultApi extends BaseAPI {
6866
6893
 
6867
6894
  /**
6868
6895
  *
6869
- * @param {string} xAccountId
6896
+ * @param {string} [xAccountId]
6870
6897
  * @param {*} [options] Override http request option.
6871
6898
  * @throws {RequiredError}
6872
6899
  * @memberof DefaultApi
6873
6900
  */
6874
- public registeredVehiclesGetByAccountId(xAccountId: string, options?: AxiosRequestConfig) {
6901
+ public registeredVehiclesGetByAccountId(xAccountId?: string, options?: AxiosRequestConfig) {
6875
6902
  return DefaultApiFp(this.configuration).registeredVehiclesGetByAccountId(xAccountId, options).then((request) => request(this.axios, this.basePath));
6876
6903
  }
6877
6904
 
package/dist/api/api.d.ts CHANGED
@@ -2981,12 +2981,6 @@ export interface UpdateRegisteredVehicleBody {
2981
2981
  * @memberof UpdateRegisteredVehicleBody
2982
2982
  */
2983
2983
  'plate_province'?: string | null;
2984
- /**
2985
- *
2986
- * @type {string}
2987
- * @memberof UpdateRegisteredVehicleBody
2988
- */
2989
- 'plate_no'?: string;
2990
2984
  /**
2991
2985
  *
2992
2986
  * @type {VehicleType}
@@ -3133,6 +3127,18 @@ export interface VehicleBrandIndexQuery {
3133
3127
  * @interface VehicleBrandIndexResponse
3134
3128
  */
3135
3129
  export interface VehicleBrandIndexResponse {
3130
+ /**
3131
+ *
3132
+ * @type {Array<VehicleBrandIndexResponseVehicleModelsInner>}
3133
+ * @memberof VehicleBrandIndexResponse
3134
+ */
3135
+ 'vehicle_models': Array<VehicleBrandIndexResponseVehicleModelsInner>;
3136
+ /**
3137
+ *
3138
+ * @type {string}
3139
+ * @memberof VehicleBrandIndexResponse
3140
+ */
3141
+ 'description'?: string;
3136
3142
  /**
3137
3143
  *
3138
3144
  * @type {string}
@@ -3146,6 +3152,31 @@ export interface VehicleBrandIndexResponse {
3146
3152
  */
3147
3153
  'id': string;
3148
3154
  }
3155
+ /**
3156
+ *
3157
+ * @export
3158
+ * @interface VehicleBrandIndexResponseVehicleModelsInner
3159
+ */
3160
+ export interface VehicleBrandIndexResponseVehicleModelsInner {
3161
+ /**
3162
+ *
3163
+ * @type {string}
3164
+ * @memberof VehicleBrandIndexResponseVehicleModelsInner
3165
+ */
3166
+ 'description'?: string;
3167
+ /**
3168
+ *
3169
+ * @type {string}
3170
+ * @memberof VehicleBrandIndexResponseVehicleModelsInner
3171
+ */
3172
+ 'name': string;
3173
+ /**
3174
+ *
3175
+ * @type {string}
3176
+ * @memberof VehicleBrandIndexResponseVehicleModelsInner
3177
+ */
3178
+ 'id'?: string;
3179
+ }
3149
3180
  /**
3150
3181
  *
3151
3182
  * @export
@@ -3537,12 +3568,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3537
3568
  receiptValidateOcrReceiptImage: (validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3538
3569
  /**
3539
3570
  *
3540
- * @param {string} xAccountId
3541
3571
  * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
3572
+ * @param {string} [xAccountId]
3542
3573
  * @param {*} [options] Override http request option.
3543
3574
  * @throws {RequiredError}
3544
3575
  */
3545
- registeredVehiclesCreate: (xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3576
+ registeredVehiclesCreate: (createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3546
3577
  /**
3547
3578
  *
3548
3579
  * @param {string} id
@@ -3559,11 +3590,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3559
3590
  registeredVehiclesGet: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3560
3591
  /**
3561
3592
  *
3562
- * @param {string} xAccountId
3593
+ * @param {string} [xAccountId]
3563
3594
  * @param {*} [options] Override http request option.
3564
3595
  * @throws {RequiredError}
3565
3596
  */
3566
- registeredVehiclesGetByAccountId: (xAccountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3597
+ registeredVehiclesGetByAccountId: (xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3567
3598
  /**
3568
3599
  *
3569
3600
  * @param {*} [options] Override http request option.
@@ -3950,12 +3981,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3950
3981
  receiptValidateOcrReceiptImage(validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptData>>;
3951
3982
  /**
3952
3983
  *
3953
- * @param {string} xAccountId
3954
3984
  * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
3985
+ * @param {string} [xAccountId]
3955
3986
  * @param {*} [options] Override http request option.
3956
3987
  * @throws {RequiredError}
3957
3988
  */
3958
- registeredVehiclesCreate(xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>>;
3989
+ registeredVehiclesCreate(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>>;
3959
3990
  /**
3960
3991
  *
3961
3992
  * @param {string} id
@@ -3972,11 +4003,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3972
4003
  registeredVehiclesGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>>;
3973
4004
  /**
3974
4005
  *
3975
- * @param {string} xAccountId
4006
+ * @param {string} [xAccountId]
3976
4007
  * @param {*} [options] Override http request option.
3977
4008
  * @throws {RequiredError}
3978
4009
  */
3979
- registeredVehiclesGetByAccountId(xAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleIndexResponse>>;
4010
+ registeredVehiclesGetByAccountId(xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleIndexResponse>>;
3980
4011
  /**
3981
4012
  *
3982
4013
  * @param {*} [options] Override http request option.
@@ -4363,12 +4394,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4363
4394
  receiptValidateOcrReceiptImage(validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: any): AxiosPromise<ReceiptData>;
4364
4395
  /**
4365
4396
  *
4366
- * @param {string} xAccountId
4367
4397
  * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
4398
+ * @param {string} [xAccountId]
4368
4399
  * @param {*} [options] Override http request option.
4369
4400
  * @throws {RequiredError}
4370
4401
  */
4371
- registeredVehiclesCreate(xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options?: any): AxiosPromise<RegisteredVehicleResponse>;
4402
+ registeredVehiclesCreate(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse>;
4372
4403
  /**
4373
4404
  *
4374
4405
  * @param {string} id
@@ -4385,11 +4416,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4385
4416
  registeredVehiclesGet(id: string, options?: any): AxiosPromise<RegisteredVehicleResponse>;
4386
4417
  /**
4387
4418
  *
4388
- * @param {string} xAccountId
4419
+ * @param {string} [xAccountId]
4389
4420
  * @param {*} [options] Override http request option.
4390
4421
  * @throws {RequiredError}
4391
4422
  */
4392
- registeredVehiclesGetByAccountId(xAccountId: string, options?: any): AxiosPromise<RegisteredVehicleIndexResponse>;
4423
+ registeredVehiclesGetByAccountId(xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleIndexResponse>;
4393
4424
  /**
4394
4425
  *
4395
4426
  * @param {*} [options] Override http request option.
@@ -4812,13 +4843,13 @@ export declare class DefaultApi extends BaseAPI {
4812
4843
  receiptValidateOcrReceiptImage(validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReceiptData, any>>;
4813
4844
  /**
4814
4845
  *
4815
- * @param {string} xAccountId
4816
4846
  * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
4847
+ * @param {string} [xAccountId]
4817
4848
  * @param {*} [options] Override http request option.
4818
4849
  * @throws {RequiredError}
4819
4850
  * @memberof DefaultApi
4820
4851
  */
4821
- registeredVehiclesCreate(xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredVehicleResponse, any>>;
4852
+ registeredVehiclesCreate(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredVehicleResponse, any>>;
4822
4853
  /**
4823
4854
  *
4824
4855
  * @param {string} id
@@ -4837,12 +4868,12 @@ export declare class DefaultApi extends BaseAPI {
4837
4868
  registeredVehiclesGet(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredVehicleResponse, any>>;
4838
4869
  /**
4839
4870
  *
4840
- * @param {string} xAccountId
4871
+ * @param {string} [xAccountId]
4841
4872
  * @param {*} [options] Override http request option.
4842
4873
  * @throws {RequiredError}
4843
4874
  * @memberof DefaultApi
4844
4875
  */
4845
- registeredVehiclesGetByAccountId(xAccountId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredVehicleIndexResponse, any>>;
4876
+ registeredVehiclesGetByAccountId(xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredVehicleIndexResponse, any>>;
4846
4877
  /**
4847
4878
  *
4848
4879
  * @param {*} [options] Override http request option.
package/dist/api/api.js CHANGED
@@ -1307,14 +1307,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1307
1307
  }),
1308
1308
  /**
1309
1309
  *
1310
- * @param {string} xAccountId
1311
1310
  * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
1311
+ * @param {string} [xAccountId]
1312
1312
  * @param {*} [options] Override http request option.
1313
1313
  * @throws {RequiredError}
1314
1314
  */
1315
- registeredVehiclesCreate: (xAccountId, createRegisteredVehicleBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
1316
- // verify required parameter 'xAccountId' is not null or undefined
1317
- (0, common_1.assertParamExists)('registeredVehiclesCreate', 'xAccountId', xAccountId);
1315
+ registeredVehiclesCreate: (createRegisteredVehicleBody, xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1318
1316
  // verify required parameter 'createRegisteredVehicleBody' is not null or undefined
1319
1317
  (0, common_1.assertParamExists)('registeredVehiclesCreate', 'createRegisteredVehicleBody', createRegisteredVehicleBody);
1320
1318
  const localVarPath = `/registered-vehicles`;
@@ -1398,13 +1396,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1398
1396
  }),
1399
1397
  /**
1400
1398
  *
1401
- * @param {string} xAccountId
1399
+ * @param {string} [xAccountId]
1402
1400
  * @param {*} [options] Override http request option.
1403
1401
  * @throws {RequiredError}
1404
1402
  */
1405
1403
  registeredVehiclesGetByAccountId: (xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1406
- // verify required parameter 'xAccountId' is not null or undefined
1407
- (0, common_1.assertParamExists)('registeredVehiclesGetByAccountId', 'xAccountId', xAccountId);
1408
1404
  const localVarPath = `/registered-vehicles/account`;
1409
1405
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1410
1406
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2249,14 +2245,14 @@ const DefaultApiFp = function (configuration) {
2249
2245
  },
2250
2246
  /**
2251
2247
  *
2252
- * @param {string} xAccountId
2253
2248
  * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
2249
+ * @param {string} [xAccountId]
2254
2250
  * @param {*} [options] Override http request option.
2255
2251
  * @throws {RequiredError}
2256
2252
  */
2257
- registeredVehiclesCreate(xAccountId, createRegisteredVehicleBody, options) {
2253
+ registeredVehiclesCreate(createRegisteredVehicleBody, xAccountId, options) {
2258
2254
  return __awaiter(this, void 0, void 0, function* () {
2259
- const localVarAxiosArgs = yield localVarAxiosParamCreator.registeredVehiclesCreate(xAccountId, createRegisteredVehicleBody, options);
2255
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.registeredVehiclesCreate(createRegisteredVehicleBody, xAccountId, options);
2260
2256
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2261
2257
  });
2262
2258
  },
@@ -2286,7 +2282,7 @@ const DefaultApiFp = function (configuration) {
2286
2282
  },
2287
2283
  /**
2288
2284
  *
2289
- * @param {string} xAccountId
2285
+ * @param {string} [xAccountId]
2290
2286
  * @param {*} [options] Override http request option.
2291
2287
  * @throws {RequiredError}
2292
2288
  */
@@ -2814,13 +2810,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2814
2810
  },
2815
2811
  /**
2816
2812
  *
2817
- * @param {string} xAccountId
2818
2813
  * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
2814
+ * @param {string} [xAccountId]
2819
2815
  * @param {*} [options] Override http request option.
2820
2816
  * @throws {RequiredError}
2821
2817
  */
2822
- registeredVehiclesCreate(xAccountId, createRegisteredVehicleBody, options) {
2823
- return localVarFp.registeredVehiclesCreate(xAccountId, createRegisteredVehicleBody, options).then((request) => request(axios, basePath));
2818
+ registeredVehiclesCreate(createRegisteredVehicleBody, xAccountId, options) {
2819
+ return localVarFp.registeredVehiclesCreate(createRegisteredVehicleBody, xAccountId, options).then((request) => request(axios, basePath));
2824
2820
  },
2825
2821
  /**
2826
2822
  *
@@ -2842,7 +2838,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2842
2838
  },
2843
2839
  /**
2844
2840
  *
2845
- * @param {string} xAccountId
2841
+ * @param {string} [xAccountId]
2846
2842
  * @param {*} [options] Override http request option.
2847
2843
  * @throws {RequiredError}
2848
2844
  */
@@ -3365,14 +3361,14 @@ class DefaultApi extends base_1.BaseAPI {
3365
3361
  }
3366
3362
  /**
3367
3363
  *
3368
- * @param {string} xAccountId
3369
3364
  * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
3365
+ * @param {string} [xAccountId]
3370
3366
  * @param {*} [options] Override http request option.
3371
3367
  * @throws {RequiredError}
3372
3368
  * @memberof DefaultApi
3373
3369
  */
3374
- registeredVehiclesCreate(xAccountId, createRegisteredVehicleBody, options) {
3375
- return (0, exports.DefaultApiFp)(this.configuration).registeredVehiclesCreate(xAccountId, createRegisteredVehicleBody, options).then((request) => request(this.axios, this.basePath));
3370
+ registeredVehiclesCreate(createRegisteredVehicleBody, xAccountId, options) {
3371
+ return (0, exports.DefaultApiFp)(this.configuration).registeredVehiclesCreate(createRegisteredVehicleBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
3376
3372
  }
3377
3373
  /**
3378
3374
  *
@@ -3396,7 +3392,7 @@ class DefaultApi extends base_1.BaseAPI {
3396
3392
  }
3397
3393
  /**
3398
3394
  *
3399
- * @param {string} xAccountId
3395
+ * @param {string} [xAccountId]
3400
3396
  * @param {*} [options] Override http request option.
3401
3397
  * @throws {RequiredError}
3402
3398
  * @memberof DefaultApi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-parking-sdk",
3
- "version": "0.0.51",
3
+ "version": "0.0.53",
4
4
  "description": "API interfaces for OB PARKING",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"