ob-parking-sdk 0.0.48 → 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
@@ -4,7 +4,7 @@
4
4
  * obk-parking
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.19.11
7
+ * The version of the OpenAPI document: 1.26.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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
@@ -1394,52 +1560,9 @@ export interface GetParkingDetailsIndexResponse {
1394
1560
  * @memberof GetParkingDetailsIndexResponse
1395
1561
  */
1396
1562
  'channel'?: string;
1397
- /**
1398
- *
1399
- * @type {string}
1400
- * @memberof GetParkingDetailsIndexResponse
1401
- */
1402
- 'time_in'?: string;
1403
- /**
1404
- *
1405
- * @type {string}
1406
- * @memberof GetParkingDetailsIndexResponse
1407
- */
1408
- 'time_out'?: string;
1409
- /**
1410
- *
1411
- * @type {string}
1412
- * @memberof GetParkingDetailsIndexResponse
1413
- */
1414
- 'total_time'?: string;
1415
- /**
1416
- *
1417
- * @type {GetParkingDetailsIndexResponseResponseDiscount}
1418
- * @memberof GetParkingDetailsIndexResponse
1419
- */
1420
- 'response_discount'?: GetParkingDetailsIndexResponseResponseDiscount;
1421
- /**
1422
- *
1423
- * @type {GetParkingDetailsIndexResponseResponseDiscount}
1424
- * @memberof GetParkingDetailsIndexResponse
1425
- */
1426
- 'response_park_fee'?: GetParkingDetailsIndexResponseResponseDiscount;
1427
- /**
1428
- *
1429
- * @type {GetParkingDetailsIndexResponseResponseDiscount}
1430
- * @memberof GetParkingDetailsIndexResponse
1431
- */
1432
- 'response_subtotal'?: GetParkingDetailsIndexResponseResponseDiscount;
1433
1563
  }
1434
1564
 
1435
1565
 
1436
- /**
1437
- *
1438
- * @export
1439
- * @interface GetParkingDetailsIndexResponseResponseDiscount
1440
- */
1441
- export interface GetParkingDetailsIndexResponseResponseDiscount {
1442
- }
1443
1566
  /**
1444
1567
  *
1445
1568
  * @export
@@ -2390,136 +2513,306 @@ export type RedeemType = typeof RedeemType[keyof typeof RedeemType];
2390
2513
  /**
2391
2514
  *
2392
2515
  * @export
2393
- * @interface ResponseDataGetParkingDetailByPersonIDDataResponse
2516
+ * @interface RegisteredVehicleIndexResponse
2394
2517
  */
2395
- export interface ResponseDataGetParkingDetailByPersonIDDataResponse {
2518
+ export interface RegisteredVehicleIndexResponse {
2396
2519
  /**
2397
2520
  *
2398
- * @type {GetParkingDetailByPersonIDDataResponse}
2399
- * @memberof ResponseDataGetParkingDetailByPersonIDDataResponse
2521
+ * @type {boolean}
2522
+ * @memberof RegisteredVehicleIndexResponse
2400
2523
  */
2401
- 'data': GetParkingDetailByPersonIDDataResponse;
2524
+ 'is_vip': boolean;
2402
2525
  /**
2403
2526
  *
2404
- * @type {Pagination}
2405
- * @memberof ResponseDataGetParkingDetailByPersonIDDataResponse
2527
+ * @type {RegisteredVehicleIndexResponseVehicleModel}
2528
+ * @memberof RegisteredVehicleIndexResponse
2406
2529
  */
2407
- 'pagination'?: Pagination;
2408
- }
2409
- /**
2410
- *
2411
- * @export
2412
- * @interface ResponseDataGetParkingDetailResponse
2413
- */
2414
- export interface ResponseDataGetParkingDetailResponse {
2530
+ 'vehicle_model'?: RegisteredVehicleIndexResponseVehicleModel;
2415
2531
  /**
2416
2532
  *
2417
- * @type {GetParkingDetailResponse}
2418
- * @memberof ResponseDataGetParkingDetailResponse
2533
+ * @type {RegisteredVehicleIndexResponseVehicleBrand}
2534
+ * @memberof RegisteredVehicleIndexResponse
2419
2535
  */
2420
- 'data': GetParkingDetailResponse;
2536
+ 'vehicle_brand': RegisteredVehicleIndexResponseVehicleBrand;
2421
2537
  /**
2422
2538
  *
2423
- * @type {Pagination}
2424
- * @memberof ResponseDataGetParkingDetailResponse
2539
+ * @type {string}
2540
+ * @memberof RegisteredVehicleIndexResponse
2425
2541
  */
2426
- 'pagination'?: Pagination;
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;
2427
2573
  }
2574
+
2575
+
2428
2576
  /**
2429
2577
  *
2430
2578
  * @export
2431
- * @interface ResponseDataGetParkingDetailsIndexResponseArray
2579
+ * @interface RegisteredVehicleIndexResponseVehicleBrand
2432
2580
  */
2433
- export interface ResponseDataGetParkingDetailsIndexResponseArray {
2581
+ export interface RegisteredVehicleIndexResponseVehicleBrand {
2434
2582
  /**
2435
2583
  *
2436
- * @type {Array<GetParkingDetailsIndexResponse>}
2437
- * @memberof ResponseDataGetParkingDetailsIndexResponseArray
2584
+ * @type {string}
2585
+ * @memberof RegisteredVehicleIndexResponseVehicleBrand
2438
2586
  */
2439
- 'data': Array<GetParkingDetailsIndexResponse>;
2587
+ 'name': string;
2440
2588
  /**
2441
2589
  *
2442
- * @type {Pagination}
2443
- * @memberof ResponseDataGetParkingDetailsIndexResponseArray
2590
+ * @type {string}
2591
+ * @memberof RegisteredVehicleIndexResponseVehicleBrand
2444
2592
  */
2445
- 'pagination'?: Pagination;
2593
+ 'id': string;
2446
2594
  }
2447
2595
  /**
2448
2596
  *
2449
2597
  * @export
2450
- * @interface StoreWhitelistResponse
2598
+ * @interface RegisteredVehicleIndexResponseVehicleModel
2451
2599
  */
2452
- export interface StoreWhitelistResponse {
2600
+ export interface RegisteredVehicleIndexResponseVehicleModel {
2453
2601
  /**
2454
2602
  *
2455
- * @type {StoreWhitelistResponseProperty}
2456
- * @memberof StoreWhitelistResponse
2603
+ * @type {string}
2604
+ * @memberof RegisteredVehicleIndexResponseVehicleModel
2457
2605
  */
2458
- 'property': StoreWhitelistResponseProperty;
2606
+ 'name'?: string;
2459
2607
  /**
2460
2608
  *
2461
- * @type {boolean}
2462
- * @memberof StoreWhitelistResponse
2609
+ * @type {string}
2610
+ * @memberof RegisteredVehicleIndexResponseVehicleModel
2463
2611
  */
2464
- 'is_active': boolean;
2612
+ 'id'?: string;
2613
+ }
2614
+ /**
2615
+ *
2616
+ * @export
2617
+ * @interface RegisteredVehicleResponse
2618
+ */
2619
+ export interface RegisteredVehicleResponse {
2465
2620
  /**
2466
2621
  *
2467
2622
  * @type {boolean}
2468
- * @memberof StoreWhitelistResponse
2623
+ * @memberof RegisteredVehicleResponse
2469
2624
  */
2470
- 'receipt_address_in_obk': boolean;
2625
+ 'is_vip': boolean;
2471
2626
  /**
2472
2627
  *
2473
- * @type {boolean}
2474
- * @memberof StoreWhitelistResponse
2628
+ * @type {string}
2629
+ * @memberof RegisteredVehicleResponse
2475
2630
  */
2476
- 'has_tax_id': boolean;
2631
+ 'vehicle_model_id'?: string | null;
2477
2632
  /**
2478
2633
  *
2479
2634
  * @type {string}
2480
- * @memberof StoreWhitelistResponse
2635
+ * @memberof RegisteredVehicleResponse
2481
2636
  */
2482
- 'building': string | null;
2637
+ 'vehicle_brand_id': string;
2483
2638
  /**
2484
2639
  *
2485
- * @type {string}
2486
- * @memberof StoreWhitelistResponse
2640
+ * @type {EngineType}
2641
+ * @memberof RegisteredVehicleResponse
2487
2642
  */
2488
- 'address': string | null;
2643
+ 'engine_type': EngineType;
2489
2644
  /**
2490
2645
  *
2491
2646
  * @type {string}
2492
- * @memberof StoreWhitelistResponse
2647
+ * @memberof RegisteredVehicleResponse
2493
2648
  */
2494
- 'unit_no': string | null;
2649
+ 'plate_province': string;
2495
2650
  /**
2496
2651
  *
2497
2652
  * @type {string}
2498
- * @memberof StoreWhitelistResponse
2653
+ * @memberof RegisteredVehicleResponse
2499
2654
  */
2500
- 'company_name': string;
2655
+ 'plate_no': string;
2501
2656
  /**
2502
2657
  *
2503
2658
  * @type {string}
2504
- * @memberof StoreWhitelistResponse
2659
+ * @memberof RegisteredVehicleResponse
2505
2660
  */
2506
- 'shop_name': string | null;
2661
+ 'account_id': string;
2507
2662
  /**
2508
2663
  *
2509
- * @type {string}
2510
- * @memberof StoreWhitelistResponse
2664
+ * @type {VehicleType}
2665
+ * @memberof RegisteredVehicleResponse
2511
2666
  */
2512
- 'store_name': string;
2667
+ 'vehicle_type': VehicleType;
2513
2668
  /**
2514
2669
  *
2515
2670
  * @type {string}
2516
- * @memberof StoreWhitelistResponse
2671
+ * @memberof RegisteredVehicleResponse
2517
2672
  */
2518
- 'tax_id': string | null;
2673
+ 'uid': string;
2519
2674
  /**
2520
2675
  *
2521
2676
  * @type {string}
2522
- * @memberof StoreWhitelistResponse
2677
+ * @memberof RegisteredVehicleResponse
2678
+ */
2679
+ 'id': string;
2680
+ }
2681
+
2682
+
2683
+ /**
2684
+ *
2685
+ * @export
2686
+ * @interface ResponseDataGetParkingDetailByPersonIDDataResponse
2687
+ */
2688
+ export interface ResponseDataGetParkingDetailByPersonIDDataResponse {
2689
+ /**
2690
+ *
2691
+ * @type {GetParkingDetailByPersonIDDataResponse}
2692
+ * @memberof ResponseDataGetParkingDetailByPersonIDDataResponse
2693
+ */
2694
+ 'data': GetParkingDetailByPersonIDDataResponse;
2695
+ /**
2696
+ *
2697
+ * @type {Pagination}
2698
+ * @memberof ResponseDataGetParkingDetailByPersonIDDataResponse
2699
+ */
2700
+ 'pagination'?: Pagination;
2701
+ }
2702
+ /**
2703
+ *
2704
+ * @export
2705
+ * @interface ResponseDataGetParkingDetailResponse
2706
+ */
2707
+ export interface ResponseDataGetParkingDetailResponse {
2708
+ /**
2709
+ *
2710
+ * @type {GetParkingDetailResponse}
2711
+ * @memberof ResponseDataGetParkingDetailResponse
2712
+ */
2713
+ 'data': GetParkingDetailResponse;
2714
+ /**
2715
+ *
2716
+ * @type {Pagination}
2717
+ * @memberof ResponseDataGetParkingDetailResponse
2718
+ */
2719
+ 'pagination'?: Pagination;
2720
+ }
2721
+ /**
2722
+ *
2723
+ * @export
2724
+ * @interface ResponseDataGetParkingDetailsIndexResponseArray
2725
+ */
2726
+ export interface ResponseDataGetParkingDetailsIndexResponseArray {
2727
+ /**
2728
+ *
2729
+ * @type {Array<GetParkingDetailsIndexResponse>}
2730
+ * @memberof ResponseDataGetParkingDetailsIndexResponseArray
2731
+ */
2732
+ 'data': Array<GetParkingDetailsIndexResponse>;
2733
+ /**
2734
+ *
2735
+ * @type {Pagination}
2736
+ * @memberof ResponseDataGetParkingDetailsIndexResponseArray
2737
+ */
2738
+ 'pagination'?: Pagination;
2739
+ }
2740
+ /**
2741
+ *
2742
+ * @export
2743
+ * @interface StoreWhitelistResponse
2744
+ */
2745
+ export interface StoreWhitelistResponse {
2746
+ /**
2747
+ *
2748
+ * @type {StoreWhitelistResponseProperty}
2749
+ * @memberof StoreWhitelistResponse
2750
+ */
2751
+ 'property': StoreWhitelistResponseProperty;
2752
+ /**
2753
+ *
2754
+ * @type {boolean}
2755
+ * @memberof StoreWhitelistResponse
2756
+ */
2757
+ 'is_active': boolean;
2758
+ /**
2759
+ *
2760
+ * @type {boolean}
2761
+ * @memberof StoreWhitelistResponse
2762
+ */
2763
+ 'receipt_address_in_obk': boolean;
2764
+ /**
2765
+ *
2766
+ * @type {boolean}
2767
+ * @memberof StoreWhitelistResponse
2768
+ */
2769
+ 'has_tax_id': boolean;
2770
+ /**
2771
+ *
2772
+ * @type {string}
2773
+ * @memberof StoreWhitelistResponse
2774
+ */
2775
+ 'building': string | null;
2776
+ /**
2777
+ *
2778
+ * @type {string}
2779
+ * @memberof StoreWhitelistResponse
2780
+ */
2781
+ 'address': string | null;
2782
+ /**
2783
+ *
2784
+ * @type {string}
2785
+ * @memberof StoreWhitelistResponse
2786
+ */
2787
+ 'unit_no': string | null;
2788
+ /**
2789
+ *
2790
+ * @type {string}
2791
+ * @memberof StoreWhitelistResponse
2792
+ */
2793
+ 'company_name': string;
2794
+ /**
2795
+ *
2796
+ * @type {string}
2797
+ * @memberof StoreWhitelistResponse
2798
+ */
2799
+ 'shop_name': string | null;
2800
+ /**
2801
+ *
2802
+ * @type {string}
2803
+ * @memberof StoreWhitelistResponse
2804
+ */
2805
+ 'store_name': string;
2806
+ /**
2807
+ *
2808
+ * @type {string}
2809
+ * @memberof StoreWhitelistResponse
2810
+ */
2811
+ 'tax_id': string | null;
2812
+ /**
2813
+ *
2814
+ * @type {string}
2815
+ * @memberof StoreWhitelistResponse
2523
2816
  */
2524
2817
  'created_at': string;
2525
2818
  /**
@@ -2757,6 +3050,126 @@ export interface UpdateReceiptBody {
2757
3050
  }
2758
3051
 
2759
3052
 
3053
+ /**
3054
+ *
3055
+ * @export
3056
+ * @interface UpdateRegisteredVehicleBody
3057
+ */
3058
+ export interface UpdateRegisteredVehicleBody {
3059
+ /**
3060
+ *
3061
+ * @type {boolean}
3062
+ * @memberof UpdateRegisteredVehicleBody
3063
+ */
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
+ }
2760
3173
  /**
2761
3174
  *
2762
3175
  * @export
@@ -2820,42 +3233,151 @@ export interface ValidateReceiptImageBody {
2820
3233
  */
2821
3234
  'source': string;
2822
3235
  }
2823
-
2824
3236
  /**
2825
- * DefaultApi - axios parameter creator
3237
+ *
2826
3238
  * @export
3239
+ * @interface VehicleBrandIndexQuery
2827
3240
  */
2828
- export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
2829
- return {
2830
- /**
2831
- *
2832
- * @param {*} [options] Override http request option.
2833
- * @throws {RequiredError}
2834
- */
2835
- campaignIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2836
- const localVarPath = `/campaign`;
2837
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2838
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2839
- let baseOptions;
2840
- if (configuration) {
2841
- baseOptions = configuration.baseOptions;
2842
- }
2843
-
2844
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2845
- const localVarHeaderParameter = {} as any;
2846
- const localVarQueryParameter = {} as any;
2847
-
2848
-
2849
-
2850
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2851
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2852
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2853
-
2854
- return {
2855
- url: toPathString(localVarUrlObj),
2856
- options: localVarRequestOptions,
2857
- };
2858
- },
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
+
3345
+
3346
+ /**
3347
+ * DefaultApi - axios parameter creator
3348
+ * @export
3349
+ */
3350
+ export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
3351
+ return {
3352
+ /**
3353
+ *
3354
+ * @param {*} [options] Override http request option.
3355
+ * @throws {RequiredError}
3356
+ */
3357
+ campaignIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3358
+ const localVarPath = `/campaign`;
3359
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3360
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3361
+ let baseOptions;
3362
+ if (configuration) {
3363
+ baseOptions = configuration.baseOptions;
3364
+ }
3365
+
3366
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3367
+ const localVarHeaderParameter = {} as any;
3368
+ const localVarQueryParameter = {} as any;
3369
+
3370
+
3371
+
3372
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3373
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3374
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3375
+
3376
+ return {
3377
+ url: toPathString(localVarUrlObj),
3378
+ options: localVarRequestOptions,
3379
+ };
3380
+ },
2859
3381
  /**
2860
3382
  *
2861
3383
  * @param {UpsertCampaign} upsertCampaign
@@ -4005,29 +4527,559 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4005
4527
  localVarQueryParameter['status'] = status;
4006
4528
  }
4007
4529
 
4008
- if (content !== undefined) {
4009
- localVarQueryParameter['content'] = content;
4010
- }
4530
+ if (content !== undefined) {
4531
+ localVarQueryParameter['content'] = content;
4532
+ }
4533
+
4534
+ if (redeemedAt !== undefined) {
4535
+ localVarQueryParameter['redeemed_at'] = redeemedAt;
4536
+ }
4537
+
4538
+ if (createdAt !== undefined) {
4539
+ localVarQueryParameter['created_at'] = createdAt;
4540
+ }
4541
+
4542
+ if (updatedAt !== undefined) {
4543
+ localVarQueryParameter['updated_at'] = updatedAt;
4544
+ }
4545
+
4546
+ if (total !== undefined) {
4547
+ localVarQueryParameter['total'] = total;
4548
+ }
4549
+
4550
+ if (parkingId !== undefined) {
4551
+ localVarQueryParameter['parking_id'] = parkingId;
4552
+ }
4553
+
4554
+
4555
+
4556
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4557
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4558
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4559
+
4560
+ return {
4561
+ url: toPathString(localVarUrlObj),
4562
+ options: localVarRequestOptions,
4563
+ };
4564
+ },
4565
+ /**
4566
+ *
4567
+ * @param {string} id
4568
+ * @param {*} [options] Override http request option.
4569
+ * @throws {RequiredError}
4570
+ */
4571
+ receiptApproveReceipt: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4572
+ // verify required parameter 'id' is not null or undefined
4573
+ assertParamExists('receiptApproveReceipt', 'id', id)
4574
+ const localVarPath = `/receipt/approve-receipt/{id}`
4575
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4576
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4577
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4578
+ let baseOptions;
4579
+ if (configuration) {
4580
+ baseOptions = configuration.baseOptions;
4581
+ }
4582
+
4583
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4584
+ const localVarHeaderParameter = {} as any;
4585
+ const localVarQueryParameter = {} as any;
4586
+
4587
+
4588
+
4589
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4590
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4591
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4592
+
4593
+ return {
4594
+ url: toPathString(localVarUrlObj),
4595
+ options: localVarRequestOptions,
4596
+ };
4597
+ },
4598
+ /**
4599
+ *
4600
+ * @param {CreateReceiptBody} createReceiptBody
4601
+ * @param {string} [xAccountId]
4602
+ * @param {*} [options] Override http request option.
4603
+ * @throws {RequiredError}
4604
+ */
4605
+ receiptCreateReceipt: async (createReceiptBody: CreateReceiptBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4606
+ // verify required parameter 'createReceiptBody' is not null or undefined
4607
+ assertParamExists('receiptCreateReceipt', 'createReceiptBody', createReceiptBody)
4608
+ const localVarPath = `/receipt/create-receipt`;
4609
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4610
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4611
+ let baseOptions;
4612
+ if (configuration) {
4613
+ baseOptions = configuration.baseOptions;
4614
+ }
4615
+
4616
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4617
+ const localVarHeaderParameter = {} as any;
4618
+ const localVarQueryParameter = {} as any;
4619
+
4620
+ if (xAccountId != null) {
4621
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
4622
+ }
4623
+
4624
+
4625
+
4626
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4627
+
4628
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4629
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4630
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4631
+ localVarRequestOptions.data = serializeDataIfNeeded(createReceiptBody, localVarRequestOptions, configuration)
4632
+
4633
+ return {
4634
+ url: toPathString(localVarUrlObj),
4635
+ options: localVarRequestOptions,
4636
+ };
4637
+ },
4638
+ /**
4639
+ *
4640
+ * @param {string} id
4641
+ * @param {*} [options] Override http request option.
4642
+ * @throws {RequiredError}
4643
+ */
4644
+ receiptDeleteReceipt: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4645
+ // verify required parameter 'id' is not null or undefined
4646
+ assertParamExists('receiptDeleteReceipt', 'id', id)
4647
+ const localVarPath = `/receipt/delete-receipt/{id}`
4648
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4649
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4650
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4651
+ let baseOptions;
4652
+ if (configuration) {
4653
+ baseOptions = configuration.baseOptions;
4654
+ }
4655
+
4656
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4657
+ const localVarHeaderParameter = {} as any;
4658
+ const localVarQueryParameter = {} as any;
4659
+
4660
+
4661
+
4662
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4663
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4664
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4665
+
4666
+ return {
4667
+ url: toPathString(localVarUrlObj),
4668
+ options: localVarRequestOptions,
4669
+ };
4670
+ },
4671
+ /**
4672
+ *
4673
+ * @param {ManualCreateReceiptBody} manualCreateReceiptBody
4674
+ * @param {string} [xAccountId]
4675
+ * @param {*} [options] Override http request option.
4676
+ * @throws {RequiredError}
4677
+ */
4678
+ receiptManualCreateReceipt: async (manualCreateReceiptBody: ManualCreateReceiptBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4679
+ // verify required parameter 'manualCreateReceiptBody' is not null or undefined
4680
+ assertParamExists('receiptManualCreateReceipt', 'manualCreateReceiptBody', manualCreateReceiptBody)
4681
+ const localVarPath = `/receipt/create-receipt/manual`;
4682
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4683
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4684
+ let baseOptions;
4685
+ if (configuration) {
4686
+ baseOptions = configuration.baseOptions;
4687
+ }
4688
+
4689
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4690
+ const localVarHeaderParameter = {} as any;
4691
+ const localVarQueryParameter = {} as any;
4692
+
4693
+ if (xAccountId != null) {
4694
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
4695
+ }
4696
+
4697
+
4698
+
4699
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4700
+
4701
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4702
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4703
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4704
+ localVarRequestOptions.data = serializeDataIfNeeded(manualCreateReceiptBody, localVarRequestOptions, configuration)
4705
+
4706
+ return {
4707
+ url: toPathString(localVarUrlObj),
4708
+ options: localVarRequestOptions,
4709
+ };
4710
+ },
4711
+ /**
4712
+ *
4713
+ * @param {UpdateReceiptBody} updateReceiptBody
4714
+ * @param {*} [options] Override http request option.
4715
+ * @throws {RequiredError}
4716
+ */
4717
+ receiptUpdateReceipt: async (updateReceiptBody: UpdateReceiptBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4718
+ // verify required parameter 'updateReceiptBody' is not null or undefined
4719
+ assertParamExists('receiptUpdateReceipt', 'updateReceiptBody', updateReceiptBody)
4720
+ const localVarPath = `/receipt/update-receipt`;
4721
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4722
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4723
+ let baseOptions;
4724
+ if (configuration) {
4725
+ baseOptions = configuration.baseOptions;
4726
+ }
4727
+
4728
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
4729
+ const localVarHeaderParameter = {} as any;
4730
+ const localVarQueryParameter = {} as any;
4731
+
4732
+
4733
+
4734
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4735
+
4736
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4737
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4738
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4739
+ localVarRequestOptions.data = serializeDataIfNeeded(updateReceiptBody, localVarRequestOptions, configuration)
4740
+
4741
+ return {
4742
+ url: toPathString(localVarUrlObj),
4743
+ options: localVarRequestOptions,
4744
+ };
4745
+ },
4746
+ /**
4747
+ *
4748
+ * @param {ValidateReceiptImageBody} validateReceiptImageBody
4749
+ * @param {string} [xAccountId]
4750
+ * @param {*} [options] Override http request option.
4751
+ * @throws {RequiredError}
4752
+ */
4753
+ receiptValidateOcrReceiptImage: async (validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4754
+ // verify required parameter 'validateReceiptImageBody' is not null or undefined
4755
+ assertParamExists('receiptValidateOcrReceiptImage', 'validateReceiptImageBody', validateReceiptImageBody)
4756
+ const localVarPath = `/receipt/validate-ocr-receipt-image`;
4757
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4758
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4759
+ let baseOptions;
4760
+ if (configuration) {
4761
+ baseOptions = configuration.baseOptions;
4762
+ }
4763
+
4764
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4765
+ const localVarHeaderParameter = {} as any;
4766
+ const localVarQueryParameter = {} as any;
4767
+
4768
+ if (xAccountId != null) {
4769
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
4770
+ }
4771
+
4772
+
4773
+
4774
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4775
+
4776
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4777
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4778
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4779
+ localVarRequestOptions.data = serializeDataIfNeeded(validateReceiptImageBody, localVarRequestOptions, configuration)
4780
+
4781
+ return {
4782
+ url: toPathString(localVarUrlObj),
4783
+ options: localVarRequestOptions,
4784
+ };
4785
+ },
4786
+ /**
4787
+ *
4788
+ * @param {string} xAccountId
4789
+ * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
4790
+ * @param {*} [options] Override http request option.
4791
+ * @throws {RequiredError}
4792
+ */
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`;
4799
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4800
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4801
+ let baseOptions;
4802
+ if (configuration) {
4803
+ baseOptions = configuration.baseOptions;
4804
+ }
4805
+
4806
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4807
+ const localVarHeaderParameter = {} as any;
4808
+ const localVarQueryParameter = {} as any;
4809
+
4810
+ if (xAccountId != null) {
4811
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
4812
+ }
4813
+
4814
+
4815
+
4816
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4817
+
4818
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4819
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4820
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4821
+ localVarRequestOptions.data = serializeDataIfNeeded(createRegisteredVehicleBody, localVarRequestOptions, configuration)
4822
+
4823
+ return {
4824
+ url: toPathString(localVarUrlObj),
4825
+ options: localVarRequestOptions,
4826
+ };
4827
+ },
4828
+ /**
4829
+ *
4830
+ * @param {string} id
4831
+ * @param {*} [options] Override http request option.
4832
+ * @throws {RequiredError}
4833
+ */
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
+ };
4860
+ },
4861
+ /**
4862
+ *
4863
+ * @param {string} id
4864
+ * @param {*} [options] Override http request option.
4865
+ * @throws {RequiredError}
4866
+ */
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
+ };
4893
+ },
4894
+ /**
4895
+ *
4896
+ * @param {string} xAccountId
4897
+ * @param {*} [options] Override http request option.
4898
+ * @throws {RequiredError}
4899
+ */
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;
4011
5047
 
4012
- if (redeemedAt !== undefined) {
4013
- localVarQueryParameter['redeemed_at'] = redeemedAt;
4014
- }
4015
5048
 
4016
- if (createdAt !== undefined) {
4017
- localVarQueryParameter['created_at'] = createdAt;
4018
- }
5049
+
5050
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4019
5051
 
4020
- if (updatedAt !== undefined) {
4021
- localVarQueryParameter['updated_at'] = updatedAt;
4022
- }
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)
4023
5056
 
4024
- if (total !== undefined) {
4025
- localVarQueryParameter['total'] = total;
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;
4026
5078
  }
4027
5079
 
4028
- if (parkingId !== undefined) {
4029
- localVarQueryParameter['parking_id'] = parkingId;
4030
- }
5080
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
5081
+ const localVarHeaderParameter = {} as any;
5082
+ const localVarQueryParameter = {} as any;
4031
5083
 
4032
5084
 
4033
5085
 
@@ -4046,10 +5098,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4046
5098
  * @param {*} [options] Override http request option.
4047
5099
  * @throws {RequiredError}
4048
5100
  */
4049
- receiptApproveReceipt: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5101
+ vehicleBrandsGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4050
5102
  // verify required parameter 'id' is not null or undefined
4051
- assertParamExists('receiptApproveReceipt', 'id', id)
4052
- const localVarPath = `/receipt/approve-receipt/{id}`
5103
+ assertParamExists('vehicleBrandsGet', 'id', id)
5104
+ const localVarPath = `/vehicle-brands/{id}`
4053
5105
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4054
5106
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4055
5107
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4058,7 +5110,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4058
5110
  baseOptions = configuration.baseOptions;
4059
5111
  }
4060
5112
 
4061
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5113
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4062
5114
  const localVarHeaderParameter = {} as any;
4063
5115
  const localVarQueryParameter = {} as any;
4064
5116
 
@@ -4075,15 +5127,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4075
5127
  },
4076
5128
  /**
4077
5129
  *
4078
- * @param {CreateReceiptBody} createReceiptBody
4079
- * @param {string} [xAccountId]
5130
+ * @param {string} [name]
4080
5131
  * @param {*} [options] Override http request option.
4081
5132
  * @throws {RequiredError}
4082
5133
  */
4083
- receiptCreateReceipt: async (createReceiptBody: CreateReceiptBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4084
- // verify required parameter 'createReceiptBody' is not null or undefined
4085
- assertParamExists('receiptCreateReceipt', 'createReceiptBody', createReceiptBody)
4086
- const localVarPath = `/receipt/create-receipt`;
5134
+ vehicleBrandsIndex: async (name?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5135
+ const localVarPath = `/vehicle-brands`;
4087
5136
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4088
5137
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4089
5138
  let baseOptions;
@@ -4091,22 +5140,19 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4091
5140
  baseOptions = configuration.baseOptions;
4092
5141
  }
4093
5142
 
4094
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5143
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4095
5144
  const localVarHeaderParameter = {} as any;
4096
5145
  const localVarQueryParameter = {} as any;
4097
5146
 
4098
- if (xAccountId != null) {
4099
- localVarHeaderParameter['x-account-id'] = String(xAccountId);
5147
+ if (name !== undefined) {
5148
+ localVarQueryParameter['name'] = name;
4100
5149
  }
4101
5150
 
4102
5151
 
4103
5152
 
4104
- localVarHeaderParameter['Content-Type'] = 'application/json';
4105
-
4106
5153
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4107
5154
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4108
5155
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4109
- localVarRequestOptions.data = serializeDataIfNeeded(createReceiptBody, localVarRequestOptions, configuration)
4110
5156
 
4111
5157
  return {
4112
5158
  url: toPathString(localVarUrlObj),
@@ -4116,13 +5162,16 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4116
5162
  /**
4117
5163
  *
4118
5164
  * @param {string} id
5165
+ * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
4119
5166
  * @param {*} [options] Override http request option.
4120
5167
  * @throws {RequiredError}
4121
5168
  */
4122
- receiptDeleteReceipt: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5169
+ vehicleBrandsUpdate: async (id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4123
5170
  // verify required parameter 'id' is not null or undefined
4124
- assertParamExists('receiptDeleteReceipt', 'id', id)
4125
- const localVarPath = `/receipt/delete-receipt/{id}`
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}`
4126
5175
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4127
5176
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4128
5177
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4131,15 +5180,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4131
5180
  baseOptions = configuration.baseOptions;
4132
5181
  }
4133
5182
 
4134
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
5183
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
4135
5184
  const localVarHeaderParameter = {} as any;
4136
5185
  const localVarQueryParameter = {} as any;
4137
5186
 
4138
5187
 
4139
5188
 
5189
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5190
+
4140
5191
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4141
5192
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4142
5193
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5194
+ localVarRequestOptions.data = serializeDataIfNeeded(updateVehicleBrandBody, localVarRequestOptions, configuration)
4143
5195
 
4144
5196
  return {
4145
5197
  url: toPathString(localVarUrlObj),
@@ -4148,15 +5200,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4148
5200
  },
4149
5201
  /**
4150
5202
  *
4151
- * @param {ManualCreateReceiptBody} manualCreateReceiptBody
4152
- * @param {string} [xAccountId]
5203
+ * @param {CreateVehicleModelBody} createVehicleModelBody
4153
5204
  * @param {*} [options] Override http request option.
4154
5205
  * @throws {RequiredError}
4155
5206
  */
4156
- receiptManualCreateReceipt: async (manualCreateReceiptBody: ManualCreateReceiptBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4157
- // verify required parameter 'manualCreateReceiptBody' is not null or undefined
4158
- assertParamExists('receiptManualCreateReceipt', 'manualCreateReceiptBody', manualCreateReceiptBody)
4159
- const localVarPath = `/receipt/create-receipt/manual`;
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`;
4160
5211
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4161
5212
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4162
5213
  let baseOptions;
@@ -4168,10 +5219,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4168
5219
  const localVarHeaderParameter = {} as any;
4169
5220
  const localVarQueryParameter = {} as any;
4170
5221
 
4171
- if (xAccountId != null) {
4172
- localVarHeaderParameter['x-account-id'] = String(xAccountId);
4173
- }
4174
-
4175
5222
 
4176
5223
 
4177
5224
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -4179,7 +5226,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4179
5226
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4180
5227
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4181
5228
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4182
- localVarRequestOptions.data = serializeDataIfNeeded(manualCreateReceiptBody, localVarRequestOptions, configuration)
5229
+ localVarRequestOptions.data = serializeDataIfNeeded(createVehicleModelBody, localVarRequestOptions, configuration)
4183
5230
 
4184
5231
  return {
4185
5232
  url: toPathString(localVarUrlObj),
@@ -4188,14 +5235,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4188
5235
  },
4189
5236
  /**
4190
5237
  *
4191
- * @param {UpdateReceiptBody} updateReceiptBody
5238
+ * @param {string} id
4192
5239
  * @param {*} [options] Override http request option.
4193
5240
  * @throws {RequiredError}
4194
5241
  */
4195
- receiptUpdateReceipt: async (updateReceiptBody: UpdateReceiptBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4196
- // verify required parameter 'updateReceiptBody' is not null or undefined
4197
- assertParamExists('receiptUpdateReceipt', 'updateReceiptBody', updateReceiptBody)
4198
- const localVarPath = `/receipt/update-receipt`;
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)));
4199
5247
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4200
5248
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4201
5249
  let baseOptions;
@@ -4203,18 +5251,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4203
5251
  baseOptions = configuration.baseOptions;
4204
5252
  }
4205
5253
 
4206
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
5254
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4207
5255
  const localVarHeaderParameter = {} as any;
4208
5256
  const localVarQueryParameter = {} as any;
4209
5257
 
4210
5258
 
4211
5259
 
4212
- localVarHeaderParameter['Content-Type'] = 'application/json';
4213
-
4214
5260
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4215
5261
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4216
5262
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4217
- localVarRequestOptions.data = serializeDataIfNeeded(updateReceiptBody, localVarRequestOptions, configuration)
4218
5263
 
4219
5264
  return {
4220
5265
  url: toPathString(localVarUrlObj),
@@ -4223,15 +5268,13 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4223
5268
  },
4224
5269
  /**
4225
5270
  *
4226
- * @param {ValidateReceiptImageBody} validateReceiptImageBody
4227
- * @param {string} [xAccountId]
5271
+ * @param {string} [name]
5272
+ * @param {string} [brandId]
4228
5273
  * @param {*} [options] Override http request option.
4229
5274
  * @throws {RequiredError}
4230
5275
  */
4231
- receiptValidateOcrReceiptImage: async (validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4232
- // verify required parameter 'validateReceiptImageBody' is not null or undefined
4233
- assertParamExists('receiptValidateOcrReceiptImage', 'validateReceiptImageBody', validateReceiptImageBody)
4234
- const localVarPath = `/receipt/validate-ocr-receipt-image`;
5276
+ vehicleModelsIndex: async (name?: string, brandId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5277
+ const localVarPath = `/vehicle-models`;
4235
5278
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4236
5279
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4237
5280
  let baseOptions;
@@ -4239,22 +5282,23 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4239
5282
  baseOptions = configuration.baseOptions;
4240
5283
  }
4241
5284
 
4242
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5285
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4243
5286
  const localVarHeaderParameter = {} as any;
4244
5287
  const localVarQueryParameter = {} as any;
4245
5288
 
4246
- if (xAccountId != null) {
4247
- localVarHeaderParameter['x-account-id'] = String(xAccountId);
5289
+ if (name !== undefined) {
5290
+ localVarQueryParameter['name'] = name;
5291
+ }
5292
+
5293
+ if (brandId !== undefined) {
5294
+ localVarQueryParameter['brand_id'] = brandId;
4248
5295
  }
4249
5296
 
4250
5297
 
4251
5298
 
4252
- localVarHeaderParameter['Content-Type'] = 'application/json';
4253
-
4254
5299
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4255
5300
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4256
5301
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4257
- localVarRequestOptions.data = serializeDataIfNeeded(validateReceiptImageBody, localVarRequestOptions, configuration)
4258
5302
 
4259
5303
  return {
4260
5304
  url: toPathString(localVarUrlObj),
@@ -4263,11 +5307,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4263
5307
  },
4264
5308
  /**
4265
5309
  *
5310
+ * @param {string} id
5311
+ * @param {UpdateVehicleModelBody} updateVehicleModelBody
4266
5312
  * @param {*} [options] Override http request option.
4267
5313
  * @throws {RequiredError}
4268
5314
  */
4269
- testTest: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4270
- const localVarPath = `/test`;
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)));
4271
5322
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4272
5323
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4273
5324
  let baseOptions;
@@ -4275,15 +5326,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4275
5326
  baseOptions = configuration.baseOptions;
4276
5327
  }
4277
5328
 
4278
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5329
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
4279
5330
  const localVarHeaderParameter = {} as any;
4280
5331
  const localVarQueryParameter = {} as any;
4281
5332
 
4282
5333
 
4283
5334
 
5335
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5336
+
4284
5337
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4285
5338
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4286
5339
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5340
+ localVarRequestOptions.data = serializeDataIfNeeded(updateVehicleModelBody, localVarRequestOptions, configuration)
4287
5341
 
4288
5342
  return {
4289
5343
  url: toPathString(localVarUrlObj),
@@ -4637,70 +5691,224 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4637
5691
  * @param {*} [options] Override http request option.
4638
5692
  * @throws {RequiredError}
4639
5693
  */
4640
- async receiptApproveReceipt(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
4641
- 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);
4642
5849
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4643
5850
  },
4644
5851
  /**
4645
5852
  *
4646
- * @param {CreateReceiptBody} createReceiptBody
4647
- * @param {string} [xAccountId]
5853
+ * @param {string} [name]
4648
5854
  * @param {*} [options] Override http request option.
4649
5855
  * @throws {RequiredError}
4650
5856
  */
4651
- async receiptCreateReceipt(createReceiptBody: CreateReceiptBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
4652
- 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);
4653
5859
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4654
5860
  },
4655
5861
  /**
4656
5862
  *
4657
5863
  * @param {string} id
5864
+ * @param {UpdateVehicleBrandBody} updateVehicleBrandBody
4658
5865
  * @param {*} [options] Override http request option.
4659
5866
  * @throws {RequiredError}
4660
5867
  */
4661
- async receiptDeleteReceipt(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
4662
- 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);
4663
5870
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4664
5871
  },
4665
5872
  /**
4666
5873
  *
4667
- * @param {ManualCreateReceiptBody} manualCreateReceiptBody
4668
- * @param {string} [xAccountId]
5874
+ * @param {CreateVehicleModelBody} createVehicleModelBody
4669
5875
  * @param {*} [options] Override http request option.
4670
5876
  * @throws {RequiredError}
4671
5877
  */
4672
- async receiptManualCreateReceipt(manualCreateReceiptBody: ManualCreateReceiptBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
4673
- 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);
4674
5880
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4675
5881
  },
4676
5882
  /**
4677
5883
  *
4678
- * @param {UpdateReceiptBody} updateReceiptBody
5884
+ * @param {string} id
4679
5885
  * @param {*} [options] Override http request option.
4680
5886
  * @throws {RequiredError}
4681
5887
  */
4682
- async receiptUpdateReceipt(updateReceiptBody: UpdateReceiptBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
4683
- 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);
4684
5890
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4685
5891
  },
4686
5892
  /**
4687
5893
  *
4688
- * @param {ValidateReceiptImageBody} validateReceiptImageBody
4689
- * @param {string} [xAccountId]
5894
+ * @param {string} [name]
5895
+ * @param {string} [brandId]
4690
5896
  * @param {*} [options] Override http request option.
4691
5897
  * @throws {RequiredError}
4692
5898
  */
4693
- async receiptValidateOcrReceiptImage(validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptData>> {
4694
- 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);
4695
5901
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4696
5902
  },
4697
5903
  /**
4698
5904
  *
5905
+ * @param {string} id
5906
+ * @param {UpdateVehicleModelBody} updateVehicleModelBody
4699
5907
  * @param {*} [options] Override http request option.
4700
5908
  * @throws {RequiredError}
4701
5909
  */
4702
- async testTest(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TestTest200Response>> {
4703
- 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);
4704
5912
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4705
5913
  },
4706
5914
  }
@@ -5073,6 +6281,61 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5073
6281
  receiptValidateOcrReceiptImage(validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: any): AxiosPromise<ReceiptData> {
5074
6282
  return localVarFp.receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options).then((request) => request(axios, basePath));
5075
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
+ },
5076
6339
  /**
5077
6340
  *
5078
6341
  * @param {*} [options] Override http request option.
@@ -5081,6 +6344,90 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5081
6344
  testTest(options?: any): AxiosPromise<TestTest200Response> {
5082
6345
  return localVarFp.testTest(options).then((request) => request(axios, basePath));
5083
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
+ },
5084
6431
  };
5085
6432
  };
5086
6433
 
@@ -5519,6 +6866,73 @@ export class DefaultApi extends BaseAPI {
5519
6866
  return DefaultApiFp(this.configuration).receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
5520
6867
  }
5521
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
+
5522
6936
  /**
5523
6937
  *
5524
6938
  * @param {*} [options] Override http request option.
@@ -5528,6 +6942,108 @@ export class DefaultApi extends BaseAPI {
5528
6942
  public testTest(options?: AxiosRequestConfig) {
5529
6943
  return DefaultApiFp(this.configuration).testTest(options).then((request) => request(this.axios, this.basePath));
5530
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
+ }
5531
7047
  }
5532
7048
 
5533
7049