ob-parking-sdk 0.0.49 → 0.0.50

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
@@ -624,6 +624,172 @@ export interface CreateReceiptBody {
624
624
  */
625
625
  'checkHandwriting'?: boolean;
626
626
  }
627
+ /**
628
+ *
629
+ * @export
630
+ * @interface CreateRegisteredVehicleBody
631
+ */
632
+ export interface CreateRegisteredVehicleBody {
633
+ /**
634
+ *
635
+ * @type {boolean}
636
+ * @memberof CreateRegisteredVehicleBody
637
+ */
638
+ 'is_vip': boolean;
639
+ /**
640
+ *
641
+ * @type {string}
642
+ * @memberof CreateRegisteredVehicleBody
643
+ */
644
+ 'vehicle_model_id'?: string | null;
645
+ /**
646
+ *
647
+ * @type {string}
648
+ * @memberof CreateRegisteredVehicleBody
649
+ */
650
+ 'vehicle_brand_id': string;
651
+ /**
652
+ *
653
+ * @type {EngineType}
654
+ * @memberof CreateRegisteredVehicleBody
655
+ */
656
+ 'engine_type': EngineType;
657
+ /**
658
+ *
659
+ * @type {string}
660
+ * @memberof CreateRegisteredVehicleBody
661
+ */
662
+ 'plate_province': string;
663
+ /**
664
+ *
665
+ * @type {string}
666
+ * @memberof CreateRegisteredVehicleBody
667
+ */
668
+ 'plate_no': string;
669
+ /**
670
+ *
671
+ * @type {VehicleType}
672
+ * @memberof CreateRegisteredVehicleBody
673
+ */
674
+ 'vehicle_type': VehicleType;
675
+ }
676
+
677
+
678
+ /**
679
+ *
680
+ * @export
681
+ * @interface CreateVehicleBrandBody
682
+ */
683
+ export interface CreateVehicleBrandBody {
684
+ /**
685
+ *
686
+ * @type {string}
687
+ * @memberof CreateVehicleBrandBody
688
+ */
689
+ 'name': string;
690
+ }
691
+ /**
692
+ *
693
+ * @export
694
+ * @interface CreateVehicleModelBody
695
+ */
696
+ export interface CreateVehicleModelBody {
697
+ /**
698
+ *
699
+ * @type {string}
700
+ * @memberof CreateVehicleModelBody
701
+ */
702
+ 'brand_id': string;
703
+ /**
704
+ *
705
+ * @type {string}
706
+ * @memberof CreateVehicleModelBody
707
+ */
708
+ 'name': string;
709
+ }
710
+ /**
711
+ *
712
+ * @export
713
+ * @interface CreateVehicleModelResponse
714
+ */
715
+ export interface CreateVehicleModelResponse {
716
+ /**
717
+ *
718
+ * @type {string}
719
+ * @memberof CreateVehicleModelResponse
720
+ */
721
+ 'brand_id': string;
722
+ /**
723
+ *
724
+ * @type {string}
725
+ * @memberof CreateVehicleModelResponse
726
+ */
727
+ 'name': string;
728
+ /**
729
+ *
730
+ * @type {string}
731
+ * @memberof CreateVehicleModelResponse
732
+ */
733
+ 'id': string;
734
+ }
735
+ /**
736
+ *
737
+ * @export
738
+ * @interface DeleteVehicleBrandResponse
739
+ */
740
+ export interface DeleteVehicleBrandResponse {
741
+ /**
742
+ *
743
+ * @type {string}
744
+ * @memberof DeleteVehicleBrandResponse
745
+ */
746
+ 'name': string;
747
+ /**
748
+ *
749
+ * @type {string}
750
+ * @memberof DeleteVehicleBrandResponse
751
+ */
752
+ 'id': string;
753
+ }
754
+ /**
755
+ *
756
+ * @export
757
+ * @interface DeleteVehicleModelResponse
758
+ */
759
+ export interface DeleteVehicleModelResponse {
760
+ /**
761
+ *
762
+ * @type {string}
763
+ * @memberof DeleteVehicleModelResponse
764
+ */
765
+ 'brand_id': string;
766
+ /**
767
+ *
768
+ * @type {string}
769
+ * @memberof DeleteVehicleModelResponse
770
+ */
771
+ 'name': string;
772
+ /**
773
+ *
774
+ * @type {string}
775
+ * @memberof DeleteVehicleModelResponse
776
+ */
777
+ 'id': string;
778
+ }
779
+ /**
780
+ *
781
+ * @export
782
+ * @enum {string}
783
+ */
784
+
785
+ export const EngineType = {
786
+ Ev: 'EV',
787
+ Ice: 'ICE'
788
+ } as const;
789
+
790
+ export type EngineType = typeof EngineType[keyof typeof EngineType];
791
+
792
+
627
793
  /**
628
794
  *
629
795
  * @export
@@ -2344,6 +2510,176 @@ export const RedeemType = {
2344
2510
  export type RedeemType = typeof RedeemType[keyof typeof RedeemType];
2345
2511
 
2346
2512
 
2513
+ /**
2514
+ *
2515
+ * @export
2516
+ * @interface RegisteredVehicleIndexResponse
2517
+ */
2518
+ export interface RegisteredVehicleIndexResponse {
2519
+ /**
2520
+ *
2521
+ * @type {boolean}
2522
+ * @memberof RegisteredVehicleIndexResponse
2523
+ */
2524
+ 'is_vip': boolean;
2525
+ /**
2526
+ *
2527
+ * @type {RegisteredVehicleIndexResponseVehicleModel}
2528
+ * @memberof RegisteredVehicleIndexResponse
2529
+ */
2530
+ 'vehicle_model'?: RegisteredVehicleIndexResponseVehicleModel;
2531
+ /**
2532
+ *
2533
+ * @type {RegisteredVehicleIndexResponseVehicleBrand}
2534
+ * @memberof RegisteredVehicleIndexResponse
2535
+ */
2536
+ 'vehicle_brand': RegisteredVehicleIndexResponseVehicleBrand;
2537
+ /**
2538
+ *
2539
+ * @type {string}
2540
+ * @memberof RegisteredVehicleIndexResponse
2541
+ */
2542
+ 'plate_province': string;
2543
+ /**
2544
+ *
2545
+ * @type {string}
2546
+ * @memberof RegisteredVehicleIndexResponse
2547
+ */
2548
+ 'plate_no': string;
2549
+ /**
2550
+ *
2551
+ * @type {string}
2552
+ * @memberof RegisteredVehicleIndexResponse
2553
+ */
2554
+ 'account_id': string;
2555
+ /**
2556
+ *
2557
+ * @type {VehicleType}
2558
+ * @memberof RegisteredVehicleIndexResponse
2559
+ */
2560
+ 'vehicle_type': VehicleType;
2561
+ /**
2562
+ *
2563
+ * @type {string}
2564
+ * @memberof RegisteredVehicleIndexResponse
2565
+ */
2566
+ 'uid': string;
2567
+ /**
2568
+ *
2569
+ * @type {string}
2570
+ * @memberof RegisteredVehicleIndexResponse
2571
+ */
2572
+ 'id': string;
2573
+ }
2574
+
2575
+
2576
+ /**
2577
+ *
2578
+ * @export
2579
+ * @interface RegisteredVehicleIndexResponseVehicleBrand
2580
+ */
2581
+ export interface RegisteredVehicleIndexResponseVehicleBrand {
2582
+ /**
2583
+ *
2584
+ * @type {string}
2585
+ * @memberof RegisteredVehicleIndexResponseVehicleBrand
2586
+ */
2587
+ 'name': string;
2588
+ /**
2589
+ *
2590
+ * @type {string}
2591
+ * @memberof RegisteredVehicleIndexResponseVehicleBrand
2592
+ */
2593
+ 'id': string;
2594
+ }
2595
+ /**
2596
+ *
2597
+ * @export
2598
+ * @interface RegisteredVehicleIndexResponseVehicleModel
2599
+ */
2600
+ export interface RegisteredVehicleIndexResponseVehicleModel {
2601
+ /**
2602
+ *
2603
+ * @type {string}
2604
+ * @memberof RegisteredVehicleIndexResponseVehicleModel
2605
+ */
2606
+ 'name'?: string;
2607
+ /**
2608
+ *
2609
+ * @type {string}
2610
+ * @memberof RegisteredVehicleIndexResponseVehicleModel
2611
+ */
2612
+ 'id'?: string;
2613
+ }
2614
+ /**
2615
+ *
2616
+ * @export
2617
+ * @interface RegisteredVehicleResponse
2618
+ */
2619
+ export interface RegisteredVehicleResponse {
2620
+ /**
2621
+ *
2622
+ * @type {boolean}
2623
+ * @memberof RegisteredVehicleResponse
2624
+ */
2625
+ 'is_vip': boolean;
2626
+ /**
2627
+ *
2628
+ * @type {string}
2629
+ * @memberof RegisteredVehicleResponse
2630
+ */
2631
+ 'vehicle_model_id'?: string | null;
2632
+ /**
2633
+ *
2634
+ * @type {string}
2635
+ * @memberof RegisteredVehicleResponse
2636
+ */
2637
+ 'vehicle_brand_id': string;
2638
+ /**
2639
+ *
2640
+ * @type {EngineType}
2641
+ * @memberof RegisteredVehicleResponse
2642
+ */
2643
+ 'engine_type': EngineType;
2644
+ /**
2645
+ *
2646
+ * @type {string}
2647
+ * @memberof RegisteredVehicleResponse
2648
+ */
2649
+ 'plate_province': string;
2650
+ /**
2651
+ *
2652
+ * @type {string}
2653
+ * @memberof RegisteredVehicleResponse
2654
+ */
2655
+ 'plate_no': string;
2656
+ /**
2657
+ *
2658
+ * @type {string}
2659
+ * @memberof RegisteredVehicleResponse
2660
+ */
2661
+ 'account_id': string;
2662
+ /**
2663
+ *
2664
+ * @type {VehicleType}
2665
+ * @memberof RegisteredVehicleResponse
2666
+ */
2667
+ 'vehicle_type': VehicleType;
2668
+ /**
2669
+ *
2670
+ * @type {string}
2671
+ * @memberof RegisteredVehicleResponse
2672
+ */
2673
+ 'uid': string;
2674
+ /**
2675
+ *
2676
+ * @type {string}
2677
+ * @memberof RegisteredVehicleResponse
2678
+ */
2679
+ 'id': string;
2680
+ }
2681
+
2682
+
2347
2683
  /**
2348
2684
  *
2349
2685
  * @export
@@ -2711,27 +3047,141 @@ export interface UpdateReceiptBody {
2711
3047
  * @memberof UpdateReceiptBody
2712
3048
  */
2713
3049
  'message'?: string;
2714
- /**
2715
- *
2716
- * @type {string}
2717
- * @memberof UpdateReceiptBody
2718
- */
2719
- 'counter'?: string;
2720
3050
  }
2721
3051
 
2722
3052
 
2723
3053
  /**
2724
3054
  *
2725
3055
  * @export
2726
- * @interface UpsertCampaign
3056
+ * @interface UpdateRegisteredVehicleBody
2727
3057
  */
2728
- export interface UpsertCampaign {
3058
+ export interface UpdateRegisteredVehicleBody {
2729
3059
  /**
2730
3060
  *
2731
- * @type {string}
2732
- * @memberof UpsertCampaign
3061
+ * @type {boolean}
3062
+ * @memberof UpdateRegisteredVehicleBody
2733
3063
  */
2734
- 'updated_by'?: string;
3064
+ 'is_vip'?: boolean | null;
3065
+ /**
3066
+ *
3067
+ * @type {string}
3068
+ * @memberof UpdateRegisteredVehicleBody
3069
+ */
3070
+ 'vehicle_model_id'?: string | null;
3071
+ /**
3072
+ *
3073
+ * @type {string}
3074
+ * @memberof UpdateRegisteredVehicleBody
3075
+ */
3076
+ 'vehicle_brand_id'?: string | null;
3077
+ /**
3078
+ *
3079
+ * @type {EngineType}
3080
+ * @memberof UpdateRegisteredVehicleBody
3081
+ */
3082
+ 'engine_type'?: EngineType | null;
3083
+ /**
3084
+ *
3085
+ * @type {string}
3086
+ * @memberof UpdateRegisteredVehicleBody
3087
+ */
3088
+ 'plate_province'?: string | null;
3089
+ /**
3090
+ *
3091
+ * @type {string}
3092
+ * @memberof UpdateRegisteredVehicleBody
3093
+ */
3094
+ 'plate_no'?: string;
3095
+ /**
3096
+ *
3097
+ * @type {string}
3098
+ * @memberof UpdateRegisteredVehicleBody
3099
+ */
3100
+ 'account_id'?: string;
3101
+ /**
3102
+ *
3103
+ * @type {VehicleType}
3104
+ * @memberof UpdateRegisteredVehicleBody
3105
+ */
3106
+ 'vehicle_type'?: VehicleType;
3107
+ /**
3108
+ *
3109
+ * @type {string}
3110
+ * @memberof UpdateRegisteredVehicleBody
3111
+ */
3112
+ 'uid'?: string;
3113
+ }
3114
+
3115
+
3116
+ /**
3117
+ *
3118
+ * @export
3119
+ * @interface UpdateVehicleBrandBody
3120
+ */
3121
+ export interface UpdateVehicleBrandBody {
3122
+ /**
3123
+ *
3124
+ * @type {string}
3125
+ * @memberof UpdateVehicleBrandBody
3126
+ */
3127
+ 'name'?: string;
3128
+ }
3129
+ /**
3130
+ *
3131
+ * @export
3132
+ * @interface UpdateVehicleModelBody
3133
+ */
3134
+ export interface UpdateVehicleModelBody {
3135
+ /**
3136
+ *
3137
+ * @type {string}
3138
+ * @memberof UpdateVehicleModelBody
3139
+ */
3140
+ 'brand_id'?: string;
3141
+ /**
3142
+ *
3143
+ * @type {string}
3144
+ * @memberof UpdateVehicleModelBody
3145
+ */
3146
+ 'name'?: string;
3147
+ }
3148
+ /**
3149
+ *
3150
+ * @export
3151
+ * @interface UpdateVehicleModelResponse
3152
+ */
3153
+ export interface UpdateVehicleModelResponse {
3154
+ /**
3155
+ *
3156
+ * @type {string}
3157
+ * @memberof UpdateVehicleModelResponse
3158
+ */
3159
+ 'brand_id': string;
3160
+ /**
3161
+ *
3162
+ * @type {string}
3163
+ * @memberof UpdateVehicleModelResponse
3164
+ */
3165
+ 'name': string;
3166
+ /**
3167
+ *
3168
+ * @type {string}
3169
+ * @memberof UpdateVehicleModelResponse
3170
+ */
3171
+ 'id': string;
3172
+ }
3173
+ /**
3174
+ *
3175
+ * @export
3176
+ * @interface UpsertCampaign
3177
+ */
3178
+ export interface UpsertCampaign {
3179
+ /**
3180
+ *
3181
+ * @type {string}
3182
+ * @memberof UpsertCampaign
3183
+ */
3184
+ 'updated_by'?: string;
2735
3185
  /**
2736
3186
  *
2737
3187
  * @type {UpsertCampaignBody}
@@ -2783,6 +3233,115 @@ export interface ValidateReceiptImageBody {
2783
3233
  */
2784
3234
  'source': string;
2785
3235
  }
3236
+ /**
3237
+ *
3238
+ * @export
3239
+ * @interface VehicleBrandIndexQuery
3240
+ */
3241
+ export interface VehicleBrandIndexQuery {
3242
+ /**
3243
+ *
3244
+ * @type {string}
3245
+ * @memberof VehicleBrandIndexQuery
3246
+ */
3247
+ 'name'?: string;
3248
+ }
3249
+ /**
3250
+ *
3251
+ * @export
3252
+ * @interface VehicleBrandIndexResponse
3253
+ */
3254
+ export interface VehicleBrandIndexResponse {
3255
+ /**
3256
+ *
3257
+ * @type {string}
3258
+ * @memberof VehicleBrandIndexResponse
3259
+ */
3260
+ 'name': string;
3261
+ /**
3262
+ *
3263
+ * @type {string}
3264
+ * @memberof VehicleBrandIndexResponse
3265
+ */
3266
+ 'id': string;
3267
+ }
3268
+ /**
3269
+ *
3270
+ * @export
3271
+ * @interface VehicleBrandResponse
3272
+ */
3273
+ export interface VehicleBrandResponse {
3274
+ /**
3275
+ *
3276
+ * @type {string}
3277
+ * @memberof VehicleBrandResponse
3278
+ */
3279
+ 'name': string;
3280
+ /**
3281
+ *
3282
+ * @type {string}
3283
+ * @memberof VehicleBrandResponse
3284
+ */
3285
+ 'id': string;
3286
+ }
3287
+ /**
3288
+ *
3289
+ * @export
3290
+ * @interface VehicleModelIndexQuery
3291
+ */
3292
+ export interface VehicleModelIndexQuery {
3293
+ /**
3294
+ *
3295
+ * @type {string}
3296
+ * @memberof VehicleModelIndexQuery
3297
+ */
3298
+ 'name'?: string;
3299
+ /**
3300
+ *
3301
+ * @type {string}
3302
+ * @memberof VehicleModelIndexQuery
3303
+ */
3304
+ 'brand_id'?: string;
3305
+ }
3306
+ /**
3307
+ *
3308
+ * @export
3309
+ * @interface VehicleModelIndexResponse
3310
+ */
3311
+ export interface VehicleModelIndexResponse {
3312
+ /**
3313
+ *
3314
+ * @type {RegisteredVehicleIndexResponseVehicleBrand}
3315
+ * @memberof VehicleModelIndexResponse
3316
+ */
3317
+ 'brand': RegisteredVehicleIndexResponseVehicleBrand;
3318
+ /**
3319
+ *
3320
+ * @type {string}
3321
+ * @memberof VehicleModelIndexResponse
3322
+ */
3323
+ 'name': string;
3324
+ /**
3325
+ *
3326
+ * @type {string}
3327
+ * @memberof VehicleModelIndexResponse
3328
+ */
3329
+ 'id': string;
3330
+ }
3331
+ /**
3332
+ *
3333
+ * @export
3334
+ * @enum {string}
3335
+ */
3336
+
3337
+ export const VehicleType = {
3338
+ Car: 'CAR',
3339
+ Motorcycle: 'MOTORCYCLE'
3340
+ } as const;
3341
+
3342
+ export type VehicleType = typeof VehicleType[keyof typeof VehicleType];
3343
+
3344
+
2786
3345
 
2787
3346
  /**
2788
3347
  * DefaultApi - axios parameter creator
@@ -4226,11 +4785,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4226
4785
  },
4227
4786
  /**
4228
4787
  *
4788
+ * @param {string} xAccountId
4789
+ * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
4229
4790
  * @param {*} [options] Override http request option.
4230
4791
  * @throws {RequiredError}
4231
4792
  */
4232
- testTest: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4233
- const localVarPath = `/test`;
4793
+ registeredVehiclesCreate: async (xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4794
+ // verify required parameter 'xAccountId' is not null or undefined
4795
+ assertParamExists('registeredVehiclesCreate', 'xAccountId', xAccountId)
4796
+ // verify required parameter 'createRegisteredVehicleBody' is not null or undefined
4797
+ assertParamExists('registeredVehiclesCreate', 'createRegisteredVehicleBody', createRegisteredVehicleBody)
4798
+ const localVarPath = `/registered-vehicles`;
4234
4799
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4235
4800
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4236
4801
  let baseOptions;
@@ -4238,66 +4803,592 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4238
4803
  baseOptions = configuration.baseOptions;
4239
4804
  }
4240
4805
 
4241
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4806
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4242
4807
  const localVarHeaderParameter = {} as any;
4243
4808
  const localVarQueryParameter = {} as any;
4244
4809
 
4810
+ if (xAccountId != null) {
4811
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
4812
+ }
4813
+
4245
4814
 
4246
4815
 
4816
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4817
+
4247
4818
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4248
4819
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4249
4820
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4821
+ localVarRequestOptions.data = serializeDataIfNeeded(createRegisteredVehicleBody, localVarRequestOptions, configuration)
4250
4822
 
4251
4823
  return {
4252
4824
  url: toPathString(localVarUrlObj),
4253
4825
  options: localVarRequestOptions,
4254
4826
  };
4255
4827
  },
4256
- }
4257
- };
4258
-
4259
- /**
4260
- * DefaultApi - functional programming interface
4261
- * @export
4262
- */
4263
- export const DefaultApiFp = function(configuration?: Configuration) {
4264
- const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
4265
- return {
4266
4828
  /**
4267
4829
  *
4830
+ * @param {string} id
4268
4831
  * @param {*} [options] Override http request option.
4269
4832
  * @throws {RequiredError}
4270
4833
  */
4271
- async campaignIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CampaignSequenceResponse>> {
4272
- const localVarAxiosArgs = await localVarAxiosParamCreator.campaignIndex(options);
4273
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4834
+ registeredVehiclesDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4835
+ // verify required parameter 'id' is not null or undefined
4836
+ assertParamExists('registeredVehiclesDelete', 'id', id)
4837
+ const localVarPath = `/registered-vehicles/{id}`
4838
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4839
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4840
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4841
+ let baseOptions;
4842
+ if (configuration) {
4843
+ baseOptions = configuration.baseOptions;
4844
+ }
4845
+
4846
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4847
+ const localVarHeaderParameter = {} as any;
4848
+ const localVarQueryParameter = {} as any;
4849
+
4850
+
4851
+
4852
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4853
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4854
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4855
+
4856
+ return {
4857
+ url: toPathString(localVarUrlObj),
4858
+ options: localVarRequestOptions,
4859
+ };
4274
4860
  },
4275
4861
  /**
4276
4862
  *
4277
- * @param {UpsertCampaign} upsertCampaign
4863
+ * @param {string} id
4278
4864
  * @param {*} [options] Override http request option.
4279
4865
  * @throws {RequiredError}
4280
4866
  */
4281
- async campaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CampaignResponse>>> {
4282
- const localVarAxiosArgs = await localVarAxiosParamCreator.campaignUpsert(upsertCampaign, options);
4283
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4867
+ registeredVehiclesGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4868
+ // verify required parameter 'id' is not null or undefined
4869
+ assertParamExists('registeredVehiclesGet', 'id', id)
4870
+ const localVarPath = `/registered-vehicles/{id}`
4871
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4872
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4873
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4874
+ let baseOptions;
4875
+ if (configuration) {
4876
+ baseOptions = configuration.baseOptions;
4877
+ }
4878
+
4879
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4880
+ const localVarHeaderParameter = {} as any;
4881
+ const localVarQueryParameter = {} as any;
4882
+
4883
+
4884
+
4885
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4886
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4887
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4888
+
4889
+ return {
4890
+ url: toPathString(localVarUrlObj),
4891
+ options: localVarRequestOptions,
4892
+ };
4284
4893
  },
4285
4894
  /**
4286
4895
  *
4287
- * @param {string} logId
4288
- * @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
4896
+ * @param {string} xAccountId
4289
4897
  * @param {*} [options] Override http request option.
4290
4898
  * @throws {RequiredError}
4291
4899
  */
4292
- async cmsParkingDetailsRedeem(logId: string, cmsParkingDetailRedeemBody: CmsParkingDetailRedeemBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedeemParkingDetailResponse>> {
4293
- const localVarAxiosArgs = await localVarAxiosParamCreator.cmsParkingDetailsRedeem(logId, cmsParkingDetailRedeemBody, options);
4294
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4295
- },
4296
- /**
4297
- *
4298
- * @param {ConfigDocsTypeBody} configDocsTypeBody
4299
- * @param {*} [options] Override http request option.
4300
- * @throws {RequiredError}
4900
+ registeredVehiclesGetByAccountId: async (xAccountId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4901
+ // verify required parameter 'xAccountId' is not null or undefined
4902
+ assertParamExists('registeredVehiclesGetByAccountId', 'xAccountId', xAccountId)
4903
+ const localVarPath = `/registered-vehicles/account`;
4904
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4905
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4906
+ let baseOptions;
4907
+ if (configuration) {
4908
+ baseOptions = configuration.baseOptions;
4909
+ }
4910
+
4911
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4912
+ const localVarHeaderParameter = {} as any;
4913
+ const localVarQueryParameter = {} as any;
4914
+
4915
+ if (xAccountId != null) {
4916
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
4917
+ }
4918
+
4919
+
4920
+
4921
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4922
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4923
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4924
+
4925
+ return {
4926
+ url: toPathString(localVarUrlObj),
4927
+ options: localVarRequestOptions,
4928
+ };
4929
+ },
4930
+ /**
4931
+ *
4932
+ * @param {*} [options] Override http request option.
4933
+ * @throws {RequiredError}
4934
+ */
4935
+ registeredVehiclesIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4936
+ const localVarPath = `/registered-vehicles`;
4937
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4938
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4939
+ let baseOptions;
4940
+ if (configuration) {
4941
+ baseOptions = configuration.baseOptions;
4942
+ }
4943
+
4944
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4945
+ const localVarHeaderParameter = {} as any;
4946
+ const localVarQueryParameter = {} as any;
4947
+
4948
+
4949
+
4950
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4951
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4952
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4953
+
4954
+ return {
4955
+ url: toPathString(localVarUrlObj),
4956
+ options: localVarRequestOptions,
4957
+ };
4958
+ },
4959
+ /**
4960
+ *
4961
+ * @param {string} id
4962
+ * @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
4963
+ * @param {*} [options] Override http request option.
4964
+ * @throws {RequiredError}
4965
+ */
4966
+ registeredVehiclesUpdate: async (id: string, updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4967
+ // verify required parameter 'id' is not null or undefined
4968
+ assertParamExists('registeredVehiclesUpdate', 'id', id)
4969
+ // verify required parameter 'updateRegisteredVehicleBody' is not null or undefined
4970
+ assertParamExists('registeredVehiclesUpdate', 'updateRegisteredVehicleBody', updateRegisteredVehicleBody)
4971
+ const localVarPath = `/registered-vehicles/{id}`
4972
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4973
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4974
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4975
+ let baseOptions;
4976
+ if (configuration) {
4977
+ baseOptions = configuration.baseOptions;
4978
+ }
4979
+
4980
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
4981
+ const localVarHeaderParameter = {} as any;
4982
+ const localVarQueryParameter = {} as any;
4983
+
4984
+
4985
+
4986
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4987
+
4988
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4989
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4990
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4991
+ localVarRequestOptions.data = serializeDataIfNeeded(updateRegisteredVehicleBody, localVarRequestOptions, configuration)
4992
+
4993
+ return {
4994
+ url: toPathString(localVarUrlObj),
4995
+ options: localVarRequestOptions,
4996
+ };
4997
+ },
4998
+ /**
4999
+ *
5000
+ * @param {*} [options] Override http request option.
5001
+ * @throws {RequiredError}
5002
+ */
5003
+ testTest: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5004
+ const localVarPath = `/test`;
5005
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5006
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5007
+ let baseOptions;
5008
+ if (configuration) {
5009
+ baseOptions = configuration.baseOptions;
5010
+ }
5011
+
5012
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5013
+ const localVarHeaderParameter = {} as any;
5014
+ const localVarQueryParameter = {} as any;
5015
+
5016
+
5017
+
5018
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5019
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5020
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5021
+
5022
+ return {
5023
+ url: toPathString(localVarUrlObj),
5024
+ options: localVarRequestOptions,
5025
+ };
5026
+ },
5027
+ /**
5028
+ *
5029
+ * @param {CreateVehicleBrandBody} createVehicleBrandBody
5030
+ * @param {*} [options] Override http request option.
5031
+ * @throws {RequiredError}
5032
+ */
5033
+ vehicleBrandsCreate: async (createVehicleBrandBody: CreateVehicleBrandBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5034
+ // verify required parameter 'createVehicleBrandBody' is not null or undefined
5035
+ assertParamExists('vehicleBrandsCreate', 'createVehicleBrandBody', createVehicleBrandBody)
5036
+ const localVarPath = `/vehicle-brands`;
5037
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5038
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5039
+ let baseOptions;
5040
+ if (configuration) {
5041
+ baseOptions = configuration.baseOptions;
5042
+ }
5043
+
5044
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5045
+ const localVarHeaderParameter = {} as any;
5046
+ const localVarQueryParameter = {} as any;
5047
+
5048
+
5049
+
5050
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5051
+
5052
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5053
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5054
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5055
+ localVarRequestOptions.data = serializeDataIfNeeded(createVehicleBrandBody, localVarRequestOptions, configuration)
5056
+
5057
+ return {
5058
+ url: toPathString(localVarUrlObj),
5059
+ options: localVarRequestOptions,
5060
+ };
5061
+ },
5062
+ /**
5063
+ *
5064
+ * @param {string} id
5065
+ * @param {*} [options] Override http request option.
5066
+ * @throws {RequiredError}
5067
+ */
5068
+ vehicleBrandsDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5069
+ // verify required parameter 'id' is not null or undefined
5070
+ assertParamExists('vehicleBrandsDelete', 'id', id)
5071
+ const localVarPath = `/vehicle-brands/{id}`
5072
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5073
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5074
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5075
+ let baseOptions;
5076
+ if (configuration) {
5077
+ baseOptions = configuration.baseOptions;
5078
+ }
5079
+
5080
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
5081
+ const localVarHeaderParameter = {} as any;
5082
+ const localVarQueryParameter = {} as any;
5083
+
5084
+
5085
+
5086
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5087
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5088
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5089
+
5090
+ return {
5091
+ url: toPathString(localVarUrlObj),
5092
+ options: localVarRequestOptions,
5093
+ };
5094
+ },
5095
+ /**
5096
+ *
5097
+ * @param {string} id
5098
+ * @param {*} [options] Override http request option.
5099
+ * @throws {RequiredError}
5100
+ */
5101
+ vehicleBrandsGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5102
+ // verify required parameter 'id' is not null or undefined
5103
+ assertParamExists('vehicleBrandsGet', 'id', id)
5104
+ const localVarPath = `/vehicle-brands/{id}`
5105
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5106
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5107
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5108
+ let baseOptions;
5109
+ if (configuration) {
5110
+ baseOptions = configuration.baseOptions;
5111
+ }
5112
+
5113
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5114
+ const localVarHeaderParameter = {} as any;
5115
+ const localVarQueryParameter = {} as any;
5116
+
5117
+
5118
+
5119
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5120
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5121
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5122
+
5123
+ return {
5124
+ url: toPathString(localVarUrlObj),
5125
+ options: localVarRequestOptions,
5126
+ };
5127
+ },
5128
+ /**
5129
+ *
5130
+ * @param {string} [name]
5131
+ * @param {*} [options] Override http request option.
5132
+ * @throws {RequiredError}
5133
+ */
5134
+ vehicleBrandsIndex: async (name?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5135
+ const localVarPath = `/vehicle-brands`;
5136
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5137
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5138
+ let baseOptions;
5139
+ if (configuration) {
5140
+ baseOptions = configuration.baseOptions;
5141
+ }
5142
+
5143
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5144
+ const localVarHeaderParameter = {} as any;
5145
+ const localVarQueryParameter = {} as any;
5146
+
5147
+ if (name !== undefined) {
5148
+ localVarQueryParameter['name'] = name;
5149
+ }
5150
+
5151
+
5152
+
5153
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5154
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5155
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5156
+
5157
+ return {
5158
+ url: toPathString(localVarUrlObj),
5159
+ options: localVarRequestOptions,
5160
+ };
5161
+ },
5162
+ /**
5163
+ *
5164
+ * @param {string} id
5165
+ * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
5166
+ * @param {*} [options] Override http request option.
5167
+ * @throws {RequiredError}
5168
+ */
5169
+ vehicleBrandsUpdate: async (id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5170
+ // verify required parameter 'id' is not null or undefined
5171
+ assertParamExists('vehicleBrandsUpdate', 'id', id)
5172
+ // verify required parameter 'updateVehicleBrandBody' is not null or undefined
5173
+ assertParamExists('vehicleBrandsUpdate', 'updateVehicleBrandBody', updateVehicleBrandBody)
5174
+ const localVarPath = `/vehicle-brands/{id}`
5175
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5176
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5177
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5178
+ let baseOptions;
5179
+ if (configuration) {
5180
+ baseOptions = configuration.baseOptions;
5181
+ }
5182
+
5183
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
5184
+ const localVarHeaderParameter = {} as any;
5185
+ const localVarQueryParameter = {} as any;
5186
+
5187
+
5188
+
5189
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5190
+
5191
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5192
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5193
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5194
+ localVarRequestOptions.data = serializeDataIfNeeded(updateVehicleBrandBody, localVarRequestOptions, configuration)
5195
+
5196
+ return {
5197
+ url: toPathString(localVarUrlObj),
5198
+ options: localVarRequestOptions,
5199
+ };
5200
+ },
5201
+ /**
5202
+ *
5203
+ * @param {CreateVehicleModelBody} createVehicleModelBody
5204
+ * @param {*} [options] Override http request option.
5205
+ * @throws {RequiredError}
5206
+ */
5207
+ vehicleModelsCreate: async (createVehicleModelBody: CreateVehicleModelBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5208
+ // verify required parameter 'createVehicleModelBody' is not null or undefined
5209
+ assertParamExists('vehicleModelsCreate', 'createVehicleModelBody', createVehicleModelBody)
5210
+ const localVarPath = `/vehicle-models`;
5211
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5212
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5213
+ let baseOptions;
5214
+ if (configuration) {
5215
+ baseOptions = configuration.baseOptions;
5216
+ }
5217
+
5218
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5219
+ const localVarHeaderParameter = {} as any;
5220
+ const localVarQueryParameter = {} as any;
5221
+
5222
+
5223
+
5224
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5225
+
5226
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5227
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5228
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5229
+ localVarRequestOptions.data = serializeDataIfNeeded(createVehicleModelBody, localVarRequestOptions, configuration)
5230
+
5231
+ return {
5232
+ url: toPathString(localVarUrlObj),
5233
+ options: localVarRequestOptions,
5234
+ };
5235
+ },
5236
+ /**
5237
+ *
5238
+ * @param {string} id
5239
+ * @param {*} [options] Override http request option.
5240
+ * @throws {RequiredError}
5241
+ */
5242
+ vehicleModelsDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5243
+ // verify required parameter 'id' is not null or undefined
5244
+ assertParamExists('vehicleModelsDelete', 'id', id)
5245
+ const localVarPath = `/vehicle-models/{id}`
5246
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5247
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5248
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5249
+ let baseOptions;
5250
+ if (configuration) {
5251
+ baseOptions = configuration.baseOptions;
5252
+ }
5253
+
5254
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
5255
+ const localVarHeaderParameter = {} as any;
5256
+ const localVarQueryParameter = {} as any;
5257
+
5258
+
5259
+
5260
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5261
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5262
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5263
+
5264
+ return {
5265
+ url: toPathString(localVarUrlObj),
5266
+ options: localVarRequestOptions,
5267
+ };
5268
+ },
5269
+ /**
5270
+ *
5271
+ * @param {string} [name]
5272
+ * @param {string} [brandId]
5273
+ * @param {*} [options] Override http request option.
5274
+ * @throws {RequiredError}
5275
+ */
5276
+ vehicleModelsIndex: async (name?: string, brandId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5277
+ const localVarPath = `/vehicle-models`;
5278
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5279
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5280
+ let baseOptions;
5281
+ if (configuration) {
5282
+ baseOptions = configuration.baseOptions;
5283
+ }
5284
+
5285
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5286
+ const localVarHeaderParameter = {} as any;
5287
+ const localVarQueryParameter = {} as any;
5288
+
5289
+ if (name !== undefined) {
5290
+ localVarQueryParameter['name'] = name;
5291
+ }
5292
+
5293
+ if (brandId !== undefined) {
5294
+ localVarQueryParameter['brand_id'] = brandId;
5295
+ }
5296
+
5297
+
5298
+
5299
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5300
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5301
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5302
+
5303
+ return {
5304
+ url: toPathString(localVarUrlObj),
5305
+ options: localVarRequestOptions,
5306
+ };
5307
+ },
5308
+ /**
5309
+ *
5310
+ * @param {string} id
5311
+ * @param {UpdateVehicleModelBody} updateVehicleModelBody
5312
+ * @param {*} [options] Override http request option.
5313
+ * @throws {RequiredError}
5314
+ */
5315
+ vehicleModelsUpdate: async (id: string, updateVehicleModelBody: UpdateVehicleModelBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5316
+ // verify required parameter 'id' is not null or undefined
5317
+ assertParamExists('vehicleModelsUpdate', 'id', id)
5318
+ // verify required parameter 'updateVehicleModelBody' is not null or undefined
5319
+ assertParamExists('vehicleModelsUpdate', 'updateVehicleModelBody', updateVehicleModelBody)
5320
+ const localVarPath = `/vehicle-models/{id}`
5321
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5322
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5323
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5324
+ let baseOptions;
5325
+ if (configuration) {
5326
+ baseOptions = configuration.baseOptions;
5327
+ }
5328
+
5329
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
5330
+ const localVarHeaderParameter = {} as any;
5331
+ const localVarQueryParameter = {} as any;
5332
+
5333
+
5334
+
5335
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5336
+
5337
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5338
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5339
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5340
+ localVarRequestOptions.data = serializeDataIfNeeded(updateVehicleModelBody, localVarRequestOptions, configuration)
5341
+
5342
+ return {
5343
+ url: toPathString(localVarUrlObj),
5344
+ options: localVarRequestOptions,
5345
+ };
5346
+ },
5347
+ }
5348
+ };
5349
+
5350
+ /**
5351
+ * DefaultApi - functional programming interface
5352
+ * @export
5353
+ */
5354
+ export const DefaultApiFp = function(configuration?: Configuration) {
5355
+ const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
5356
+ return {
5357
+ /**
5358
+ *
5359
+ * @param {*} [options] Override http request option.
5360
+ * @throws {RequiredError}
5361
+ */
5362
+ async campaignIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CampaignSequenceResponse>> {
5363
+ const localVarAxiosArgs = await localVarAxiosParamCreator.campaignIndex(options);
5364
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5365
+ },
5366
+ /**
5367
+ *
5368
+ * @param {UpsertCampaign} upsertCampaign
5369
+ * @param {*} [options] Override http request option.
5370
+ * @throws {RequiredError}
5371
+ */
5372
+ async campaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CampaignResponse>>> {
5373
+ const localVarAxiosArgs = await localVarAxiosParamCreator.campaignUpsert(upsertCampaign, options);
5374
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5375
+ },
5376
+ /**
5377
+ *
5378
+ * @param {string} logId
5379
+ * @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
5380
+ * @param {*} [options] Override http request option.
5381
+ * @throws {RequiredError}
5382
+ */
5383
+ async cmsParkingDetailsRedeem(logId: string, cmsParkingDetailRedeemBody: CmsParkingDetailRedeemBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedeemParkingDetailResponse>> {
5384
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cmsParkingDetailsRedeem(logId, cmsParkingDetailRedeemBody, options);
5385
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5386
+ },
5387
+ /**
5388
+ *
5389
+ * @param {ConfigDocsTypeBody} configDocsTypeBody
5390
+ * @param {*} [options] Override http request option.
5391
+ * @throws {RequiredError}
4301
5392
  */
4302
5393
  async configAddDoc(configDocsTypeBody: ConfigDocsTypeBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigDocsTypeResponse>> {
4303
5394
  const localVarAxiosArgs = await localVarAxiosParamCreator.configAddDoc(configDocsTypeBody, options);
@@ -4600,70 +5691,224 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4600
5691
  * @param {*} [options] Override http request option.
4601
5692
  * @throws {RequiredError}
4602
5693
  */
4603
- async receiptApproveReceipt(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
4604
- const localVarAxiosArgs = await localVarAxiosParamCreator.receiptApproveReceipt(id, options);
5694
+ async receiptApproveReceipt(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
5695
+ const localVarAxiosArgs = await localVarAxiosParamCreator.receiptApproveReceipt(id, options);
5696
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5697
+ },
5698
+ /**
5699
+ *
5700
+ * @param {CreateReceiptBody} createReceiptBody
5701
+ * @param {string} [xAccountId]
5702
+ * @param {*} [options] Override http request option.
5703
+ * @throws {RequiredError}
5704
+ */
5705
+ async receiptCreateReceipt(createReceiptBody: CreateReceiptBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
5706
+ const localVarAxiosArgs = await localVarAxiosParamCreator.receiptCreateReceipt(createReceiptBody, xAccountId, options);
5707
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5708
+ },
5709
+ /**
5710
+ *
5711
+ * @param {string} id
5712
+ * @param {*} [options] Override http request option.
5713
+ * @throws {RequiredError}
5714
+ */
5715
+ async receiptDeleteReceipt(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
5716
+ const localVarAxiosArgs = await localVarAxiosParamCreator.receiptDeleteReceipt(id, options);
5717
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5718
+ },
5719
+ /**
5720
+ *
5721
+ * @param {ManualCreateReceiptBody} manualCreateReceiptBody
5722
+ * @param {string} [xAccountId]
5723
+ * @param {*} [options] Override http request option.
5724
+ * @throws {RequiredError}
5725
+ */
5726
+ async receiptManualCreateReceipt(manualCreateReceiptBody: ManualCreateReceiptBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
5727
+ const localVarAxiosArgs = await localVarAxiosParamCreator.receiptManualCreateReceipt(manualCreateReceiptBody, xAccountId, options);
5728
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5729
+ },
5730
+ /**
5731
+ *
5732
+ * @param {UpdateReceiptBody} updateReceiptBody
5733
+ * @param {*} [options] Override http request option.
5734
+ * @throws {RequiredError}
5735
+ */
5736
+ async receiptUpdateReceipt(updateReceiptBody: UpdateReceiptBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
5737
+ const localVarAxiosArgs = await localVarAxiosParamCreator.receiptUpdateReceipt(updateReceiptBody, options);
5738
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5739
+ },
5740
+ /**
5741
+ *
5742
+ * @param {ValidateReceiptImageBody} validateReceiptImageBody
5743
+ * @param {string} [xAccountId]
5744
+ * @param {*} [options] Override http request option.
5745
+ * @throws {RequiredError}
5746
+ */
5747
+ async receiptValidateOcrReceiptImage(validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptData>> {
5748
+ const localVarAxiosArgs = await localVarAxiosParamCreator.receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options);
5749
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5750
+ },
5751
+ /**
5752
+ *
5753
+ * @param {string} xAccountId
5754
+ * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
5755
+ * @param {*} [options] Override http request option.
5756
+ * @throws {RequiredError}
5757
+ */
5758
+ async registeredVehiclesCreate(xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
5759
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesCreate(xAccountId, createRegisteredVehicleBody, options);
5760
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5761
+ },
5762
+ /**
5763
+ *
5764
+ * @param {string} id
5765
+ * @param {*} [options] Override http request option.
5766
+ * @throws {RequiredError}
5767
+ */
5768
+ async registeredVehiclesDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
5769
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesDelete(id, options);
5770
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5771
+ },
5772
+ /**
5773
+ *
5774
+ * @param {string} id
5775
+ * @param {*} [options] Override http request option.
5776
+ * @throws {RequiredError}
5777
+ */
5778
+ async registeredVehiclesGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
5779
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGet(id, options);
5780
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5781
+ },
5782
+ /**
5783
+ *
5784
+ * @param {string} xAccountId
5785
+ * @param {*} [options] Override http request option.
5786
+ * @throws {RequiredError}
5787
+ */
5788
+ async registeredVehiclesGetByAccountId(xAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleIndexResponse>> {
5789
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGetByAccountId(xAccountId, options);
5790
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5791
+ },
5792
+ /**
5793
+ *
5794
+ * @param {*} [options] Override http request option.
5795
+ * @throws {RequiredError}
5796
+ */
5797
+ async registeredVehiclesIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RegisteredVehicleIndexResponse>>> {
5798
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesIndex(options);
5799
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5800
+ },
5801
+ /**
5802
+ *
5803
+ * @param {string} id
5804
+ * @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
5805
+ * @param {*} [options] Override http request option.
5806
+ * @throws {RequiredError}
5807
+ */
5808
+ async registeredVehiclesUpdate(id: string, updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
5809
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesUpdate(id, updateRegisteredVehicleBody, options);
5810
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5811
+ },
5812
+ /**
5813
+ *
5814
+ * @param {*} [options] Override http request option.
5815
+ * @throws {RequiredError}
5816
+ */
5817
+ async testTest(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TestTest200Response>> {
5818
+ const localVarAxiosArgs = await localVarAxiosParamCreator.testTest(options);
5819
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5820
+ },
5821
+ /**
5822
+ *
5823
+ * @param {CreateVehicleBrandBody} createVehicleBrandBody
5824
+ * @param {*} [options] Override http request option.
5825
+ * @throws {RequiredError}
5826
+ */
5827
+ async vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5828
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsCreate(createVehicleBrandBody, options);
5829
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5830
+ },
5831
+ /**
5832
+ *
5833
+ * @param {string} id
5834
+ * @param {*} [options] Override http request option.
5835
+ * @throws {RequiredError}
5836
+ */
5837
+ async vehicleBrandsDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteVehicleBrandResponse>> {
5838
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsDelete(id, options);
5839
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5840
+ },
5841
+ /**
5842
+ *
5843
+ * @param {string} id
5844
+ * @param {*} [options] Override http request option.
5845
+ * @throws {RequiredError}
5846
+ */
5847
+ async vehicleBrandsGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5848
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsGet(id, options);
4605
5849
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4606
5850
  },
4607
5851
  /**
4608
5852
  *
4609
- * @param {CreateReceiptBody} createReceiptBody
4610
- * @param {string} [xAccountId]
5853
+ * @param {string} [name]
4611
5854
  * @param {*} [options] Override http request option.
4612
5855
  * @throws {RequiredError}
4613
5856
  */
4614
- async receiptCreateReceipt(createReceiptBody: CreateReceiptBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
4615
- const localVarAxiosArgs = await localVarAxiosParamCreator.receiptCreateReceipt(createReceiptBody, xAccountId, options);
5857
+ async vehicleBrandsIndex(name?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleBrandIndexResponse>>> {
5858
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsIndex(name, options);
4616
5859
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4617
5860
  },
4618
5861
  /**
4619
5862
  *
4620
5863
  * @param {string} id
5864
+ * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
4621
5865
  * @param {*} [options] Override http request option.
4622
5866
  * @throws {RequiredError}
4623
5867
  */
4624
- async receiptDeleteReceipt(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
4625
- const localVarAxiosArgs = await localVarAxiosParamCreator.receiptDeleteReceipt(id, options);
5868
+ async vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
5869
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsUpdate(id, updateVehicleBrandBody, options);
4626
5870
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4627
5871
  },
4628
5872
  /**
4629
5873
  *
4630
- * @param {ManualCreateReceiptBody} manualCreateReceiptBody
4631
- * @param {string} [xAccountId]
5874
+ * @param {CreateVehicleModelBody} createVehicleModelBody
4632
5875
  * @param {*} [options] Override http request option.
4633
5876
  * @throws {RequiredError}
4634
5877
  */
4635
- async receiptManualCreateReceipt(manualCreateReceiptBody: ManualCreateReceiptBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
4636
- const localVarAxiosArgs = await localVarAxiosParamCreator.receiptManualCreateReceipt(manualCreateReceiptBody, xAccountId, options);
5878
+ async vehicleModelsCreate(createVehicleModelBody: CreateVehicleModelBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateVehicleModelResponse>> {
5879
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleModelsCreate(createVehicleModelBody, options);
4637
5880
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4638
5881
  },
4639
5882
  /**
4640
5883
  *
4641
- * @param {UpdateReceiptBody} updateReceiptBody
5884
+ * @param {string} id
4642
5885
  * @param {*} [options] Override http request option.
4643
5886
  * @throws {RequiredError}
4644
5887
  */
4645
- async receiptUpdateReceipt(updateReceiptBody: UpdateReceiptBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
4646
- const localVarAxiosArgs = await localVarAxiosParamCreator.receiptUpdateReceipt(updateReceiptBody, options);
5888
+ async vehicleModelsDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteVehicleModelResponse>> {
5889
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleModelsDelete(id, options);
4647
5890
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4648
5891
  },
4649
5892
  /**
4650
5893
  *
4651
- * @param {ValidateReceiptImageBody} validateReceiptImageBody
4652
- * @param {string} [xAccountId]
5894
+ * @param {string} [name]
5895
+ * @param {string} [brandId]
4653
5896
  * @param {*} [options] Override http request option.
4654
5897
  * @throws {RequiredError}
4655
5898
  */
4656
- async receiptValidateOcrReceiptImage(validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptData>> {
4657
- const localVarAxiosArgs = await localVarAxiosParamCreator.receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options);
5899
+ async vehicleModelsIndex(name?: string, brandId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleModelIndexResponse>>> {
5900
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleModelsIndex(name, brandId, options);
4658
5901
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4659
5902
  },
4660
5903
  /**
4661
5904
  *
5905
+ * @param {string} id
5906
+ * @param {UpdateVehicleModelBody} updateVehicleModelBody
4662
5907
  * @param {*} [options] Override http request option.
4663
5908
  * @throws {RequiredError}
4664
5909
  */
4665
- async testTest(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TestTest200Response>> {
4666
- const localVarAxiosArgs = await localVarAxiosParamCreator.testTest(options);
5910
+ async vehicleModelsUpdate(id: string, updateVehicleModelBody: UpdateVehicleModelBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateVehicleModelResponse>> {
5911
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleModelsUpdate(id, updateVehicleModelBody, options);
4667
5912
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4668
5913
  },
4669
5914
  }
@@ -5036,6 +6281,61 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5036
6281
  receiptValidateOcrReceiptImage(validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: any): AxiosPromise<ReceiptData> {
5037
6282
  return localVarFp.receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options).then((request) => request(axios, basePath));
5038
6283
  },
6284
+ /**
6285
+ *
6286
+ * @param {string} xAccountId
6287
+ * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
6288
+ * @param {*} [options] Override http request option.
6289
+ * @throws {RequiredError}
6290
+ */
6291
+ registeredVehiclesCreate(xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6292
+ return localVarFp.registeredVehiclesCreate(xAccountId, createRegisteredVehicleBody, options).then((request) => request(axios, basePath));
6293
+ },
6294
+ /**
6295
+ *
6296
+ * @param {string} id
6297
+ * @param {*} [options] Override http request option.
6298
+ * @throws {RequiredError}
6299
+ */
6300
+ registeredVehiclesDelete(id: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6301
+ return localVarFp.registeredVehiclesDelete(id, options).then((request) => request(axios, basePath));
6302
+ },
6303
+ /**
6304
+ *
6305
+ * @param {string} id
6306
+ * @param {*} [options] Override http request option.
6307
+ * @throws {RequiredError}
6308
+ */
6309
+ registeredVehiclesGet(id: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6310
+ return localVarFp.registeredVehiclesGet(id, options).then((request) => request(axios, basePath));
6311
+ },
6312
+ /**
6313
+ *
6314
+ * @param {string} xAccountId
6315
+ * @param {*} [options] Override http request option.
6316
+ * @throws {RequiredError}
6317
+ */
6318
+ registeredVehiclesGetByAccountId(xAccountId: string, options?: any): AxiosPromise<RegisteredVehicleIndexResponse> {
6319
+ return localVarFp.registeredVehiclesGetByAccountId(xAccountId, options).then((request) => request(axios, basePath));
6320
+ },
6321
+ /**
6322
+ *
6323
+ * @param {*} [options] Override http request option.
6324
+ * @throws {RequiredError}
6325
+ */
6326
+ registeredVehiclesIndex(options?: any): AxiosPromise<Array<RegisteredVehicleIndexResponse>> {
6327
+ return localVarFp.registeredVehiclesIndex(options).then((request) => request(axios, basePath));
6328
+ },
6329
+ /**
6330
+ *
6331
+ * @param {string} id
6332
+ * @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
6333
+ * @param {*} [options] Override http request option.
6334
+ * @throws {RequiredError}
6335
+ */
6336
+ registeredVehiclesUpdate(id: string, updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6337
+ return localVarFp.registeredVehiclesUpdate(id, updateRegisteredVehicleBody, options).then((request) => request(axios, basePath));
6338
+ },
5039
6339
  /**
5040
6340
  *
5041
6341
  * @param {*} [options] Override http request option.
@@ -5044,6 +6344,90 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5044
6344
  testTest(options?: any): AxiosPromise<TestTest200Response> {
5045
6345
  return localVarFp.testTest(options).then((request) => request(axios, basePath));
5046
6346
  },
6347
+ /**
6348
+ *
6349
+ * @param {CreateVehicleBrandBody} createVehicleBrandBody
6350
+ * @param {*} [options] Override http request option.
6351
+ * @throws {RequiredError}
6352
+ */
6353
+ vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
6354
+ return localVarFp.vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(axios, basePath));
6355
+ },
6356
+ /**
6357
+ *
6358
+ * @param {string} id
6359
+ * @param {*} [options] Override http request option.
6360
+ * @throws {RequiredError}
6361
+ */
6362
+ vehicleBrandsDelete(id: string, options?: any): AxiosPromise<DeleteVehicleBrandResponse> {
6363
+ return localVarFp.vehicleBrandsDelete(id, options).then((request) => request(axios, basePath));
6364
+ },
6365
+ /**
6366
+ *
6367
+ * @param {string} id
6368
+ * @param {*} [options] Override http request option.
6369
+ * @throws {RequiredError}
6370
+ */
6371
+ vehicleBrandsGet(id: string, options?: any): AxiosPromise<VehicleBrandResponse> {
6372
+ return localVarFp.vehicleBrandsGet(id, options).then((request) => request(axios, basePath));
6373
+ },
6374
+ /**
6375
+ *
6376
+ * @param {string} [name]
6377
+ * @param {*} [options] Override http request option.
6378
+ * @throws {RequiredError}
6379
+ */
6380
+ vehicleBrandsIndex(name?: string, options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>> {
6381
+ return localVarFp.vehicleBrandsIndex(name, options).then((request) => request(axios, basePath));
6382
+ },
6383
+ /**
6384
+ *
6385
+ * @param {string} id
6386
+ * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
6387
+ * @param {*} [options] Override http request option.
6388
+ * @throws {RequiredError}
6389
+ */
6390
+ vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
6391
+ return localVarFp.vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(axios, basePath));
6392
+ },
6393
+ /**
6394
+ *
6395
+ * @param {CreateVehicleModelBody} createVehicleModelBody
6396
+ * @param {*} [options] Override http request option.
6397
+ * @throws {RequiredError}
6398
+ */
6399
+ vehicleModelsCreate(createVehicleModelBody: CreateVehicleModelBody, options?: any): AxiosPromise<CreateVehicleModelResponse> {
6400
+ return localVarFp.vehicleModelsCreate(createVehicleModelBody, options).then((request) => request(axios, basePath));
6401
+ },
6402
+ /**
6403
+ *
6404
+ * @param {string} id
6405
+ * @param {*} [options] Override http request option.
6406
+ * @throws {RequiredError}
6407
+ */
6408
+ vehicleModelsDelete(id: string, options?: any): AxiosPromise<DeleteVehicleModelResponse> {
6409
+ return localVarFp.vehicleModelsDelete(id, options).then((request) => request(axios, basePath));
6410
+ },
6411
+ /**
6412
+ *
6413
+ * @param {string} [name]
6414
+ * @param {string} [brandId]
6415
+ * @param {*} [options] Override http request option.
6416
+ * @throws {RequiredError}
6417
+ */
6418
+ vehicleModelsIndex(name?: string, brandId?: string, options?: any): AxiosPromise<Array<VehicleModelIndexResponse>> {
6419
+ return localVarFp.vehicleModelsIndex(name, brandId, options).then((request) => request(axios, basePath));
6420
+ },
6421
+ /**
6422
+ *
6423
+ * @param {string} id
6424
+ * @param {UpdateVehicleModelBody} updateVehicleModelBody
6425
+ * @param {*} [options] Override http request option.
6426
+ * @throws {RequiredError}
6427
+ */
6428
+ vehicleModelsUpdate(id: string, updateVehicleModelBody: UpdateVehicleModelBody, options?: any): AxiosPromise<UpdateVehicleModelResponse> {
6429
+ return localVarFp.vehicleModelsUpdate(id, updateVehicleModelBody, options).then((request) => request(axios, basePath));
6430
+ },
5047
6431
  };
5048
6432
  };
5049
6433
 
@@ -5482,6 +6866,73 @@ export class DefaultApi extends BaseAPI {
5482
6866
  return DefaultApiFp(this.configuration).receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
5483
6867
  }
5484
6868
 
6869
+ /**
6870
+ *
6871
+ * @param {string} xAccountId
6872
+ * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
6873
+ * @param {*} [options] Override http request option.
6874
+ * @throws {RequiredError}
6875
+ * @memberof DefaultApi
6876
+ */
6877
+ public registeredVehiclesCreate(xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options?: AxiosRequestConfig) {
6878
+ return DefaultApiFp(this.configuration).registeredVehiclesCreate(xAccountId, createRegisteredVehicleBody, options).then((request) => request(this.axios, this.basePath));
6879
+ }
6880
+
6881
+ /**
6882
+ *
6883
+ * @param {string} id
6884
+ * @param {*} [options] Override http request option.
6885
+ * @throws {RequiredError}
6886
+ * @memberof DefaultApi
6887
+ */
6888
+ public registeredVehiclesDelete(id: string, options?: AxiosRequestConfig) {
6889
+ return DefaultApiFp(this.configuration).registeredVehiclesDelete(id, options).then((request) => request(this.axios, this.basePath));
6890
+ }
6891
+
6892
+ /**
6893
+ *
6894
+ * @param {string} id
6895
+ * @param {*} [options] Override http request option.
6896
+ * @throws {RequiredError}
6897
+ * @memberof DefaultApi
6898
+ */
6899
+ public registeredVehiclesGet(id: string, options?: AxiosRequestConfig) {
6900
+ return DefaultApiFp(this.configuration).registeredVehiclesGet(id, options).then((request) => request(this.axios, this.basePath));
6901
+ }
6902
+
6903
+ /**
6904
+ *
6905
+ * @param {string} xAccountId
6906
+ * @param {*} [options] Override http request option.
6907
+ * @throws {RequiredError}
6908
+ * @memberof DefaultApi
6909
+ */
6910
+ public registeredVehiclesGetByAccountId(xAccountId: string, options?: AxiosRequestConfig) {
6911
+ return DefaultApiFp(this.configuration).registeredVehiclesGetByAccountId(xAccountId, options).then((request) => request(this.axios, this.basePath));
6912
+ }
6913
+
6914
+ /**
6915
+ *
6916
+ * @param {*} [options] Override http request option.
6917
+ * @throws {RequiredError}
6918
+ * @memberof DefaultApi
6919
+ */
6920
+ public registeredVehiclesIndex(options?: AxiosRequestConfig) {
6921
+ return DefaultApiFp(this.configuration).registeredVehiclesIndex(options).then((request) => request(this.axios, this.basePath));
6922
+ }
6923
+
6924
+ /**
6925
+ *
6926
+ * @param {string} id
6927
+ * @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
6928
+ * @param {*} [options] Override http request option.
6929
+ * @throws {RequiredError}
6930
+ * @memberof DefaultApi
6931
+ */
6932
+ public registeredVehiclesUpdate(id: string, updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, options?: AxiosRequestConfig) {
6933
+ return DefaultApiFp(this.configuration).registeredVehiclesUpdate(id, updateRegisteredVehicleBody, options).then((request) => request(this.axios, this.basePath));
6934
+ }
6935
+
5485
6936
  /**
5486
6937
  *
5487
6938
  * @param {*} [options] Override http request option.
@@ -5491,6 +6942,108 @@ export class DefaultApi extends BaseAPI {
5491
6942
  public testTest(options?: AxiosRequestConfig) {
5492
6943
  return DefaultApiFp(this.configuration).testTest(options).then((request) => request(this.axios, this.basePath));
5493
6944
  }
6945
+
6946
+ /**
6947
+ *
6948
+ * @param {CreateVehicleBrandBody} createVehicleBrandBody
6949
+ * @param {*} [options] Override http request option.
6950
+ * @throws {RequiredError}
6951
+ * @memberof DefaultApi
6952
+ */
6953
+ public vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig) {
6954
+ return DefaultApiFp(this.configuration).vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
6955
+ }
6956
+
6957
+ /**
6958
+ *
6959
+ * @param {string} id
6960
+ * @param {*} [options] Override http request option.
6961
+ * @throws {RequiredError}
6962
+ * @memberof DefaultApi
6963
+ */
6964
+ public vehicleBrandsDelete(id: string, options?: AxiosRequestConfig) {
6965
+ return DefaultApiFp(this.configuration).vehicleBrandsDelete(id, options).then((request) => request(this.axios, this.basePath));
6966
+ }
6967
+
6968
+ /**
6969
+ *
6970
+ * @param {string} id
6971
+ * @param {*} [options] Override http request option.
6972
+ * @throws {RequiredError}
6973
+ * @memberof DefaultApi
6974
+ */
6975
+ public vehicleBrandsGet(id: string, options?: AxiosRequestConfig) {
6976
+ return DefaultApiFp(this.configuration).vehicleBrandsGet(id, options).then((request) => request(this.axios, this.basePath));
6977
+ }
6978
+
6979
+ /**
6980
+ *
6981
+ * @param {string} [name]
6982
+ * @param {*} [options] Override http request option.
6983
+ * @throws {RequiredError}
6984
+ * @memberof DefaultApi
6985
+ */
6986
+ public vehicleBrandsIndex(name?: string, options?: AxiosRequestConfig) {
6987
+ return DefaultApiFp(this.configuration).vehicleBrandsIndex(name, options).then((request) => request(this.axios, this.basePath));
6988
+ }
6989
+
6990
+ /**
6991
+ *
6992
+ * @param {string} id
6993
+ * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
6994
+ * @param {*} [options] Override http request option.
6995
+ * @throws {RequiredError}
6996
+ * @memberof DefaultApi
6997
+ */
6998
+ public vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig) {
6999
+ return DefaultApiFp(this.configuration).vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
7000
+ }
7001
+
7002
+ /**
7003
+ *
7004
+ * @param {CreateVehicleModelBody} createVehicleModelBody
7005
+ * @param {*} [options] Override http request option.
7006
+ * @throws {RequiredError}
7007
+ * @memberof DefaultApi
7008
+ */
7009
+ public vehicleModelsCreate(createVehicleModelBody: CreateVehicleModelBody, options?: AxiosRequestConfig) {
7010
+ return DefaultApiFp(this.configuration).vehicleModelsCreate(createVehicleModelBody, options).then((request) => request(this.axios, this.basePath));
7011
+ }
7012
+
7013
+ /**
7014
+ *
7015
+ * @param {string} id
7016
+ * @param {*} [options] Override http request option.
7017
+ * @throws {RequiredError}
7018
+ * @memberof DefaultApi
7019
+ */
7020
+ public vehicleModelsDelete(id: string, options?: AxiosRequestConfig) {
7021
+ return DefaultApiFp(this.configuration).vehicleModelsDelete(id, options).then((request) => request(this.axios, this.basePath));
7022
+ }
7023
+
7024
+ /**
7025
+ *
7026
+ * @param {string} [name]
7027
+ * @param {string} [brandId]
7028
+ * @param {*} [options] Override http request option.
7029
+ * @throws {RequiredError}
7030
+ * @memberof DefaultApi
7031
+ */
7032
+ public vehicleModelsIndex(name?: string, brandId?: string, options?: AxiosRequestConfig) {
7033
+ return DefaultApiFp(this.configuration).vehicleModelsIndex(name, brandId, options).then((request) => request(this.axios, this.basePath));
7034
+ }
7035
+
7036
+ /**
7037
+ *
7038
+ * @param {string} id
7039
+ * @param {UpdateVehicleModelBody} updateVehicleModelBody
7040
+ * @param {*} [options] Override http request option.
7041
+ * @throws {RequiredError}
7042
+ * @memberof DefaultApi
7043
+ */
7044
+ public vehicleModelsUpdate(id: string, updateVehicleModelBody: UpdateVehicleModelBody, options?: AxiosRequestConfig) {
7045
+ return DefaultApiFp(this.configuration).vehicleModelsUpdate(id, updateVehicleModelBody, options).then((request) => request(this.axios, this.basePath));
7046
+ }
5494
7047
  }
5495
7048
 
5496
7049