ob-parking-sdk 0.0.49 → 0.0.51
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 +1604 -87
- package/dist/api/api.d.ts +1065 -107
- package/dist/api/api.js +1050 -109
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -624,6 +624,154 @@ 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 {string}
|
|
636
|
+
* @memberof CreateRegisteredVehicleBody
|
|
637
|
+
*/
|
|
638
|
+
'vehicle_model_id'?: string | null;
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* @type {string}
|
|
642
|
+
* @memberof CreateRegisteredVehicleBody
|
|
643
|
+
*/
|
|
644
|
+
'vehicle_brand_id'?: string;
|
|
645
|
+
/**
|
|
646
|
+
*
|
|
647
|
+
* @type {EngineType}
|
|
648
|
+
* @memberof CreateRegisteredVehicleBody
|
|
649
|
+
*/
|
|
650
|
+
'engine_type'?: EngineType;
|
|
651
|
+
/**
|
|
652
|
+
*
|
|
653
|
+
* @type {string}
|
|
654
|
+
* @memberof CreateRegisteredVehicleBody
|
|
655
|
+
*/
|
|
656
|
+
'plate_no': string;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
*
|
|
662
|
+
* @export
|
|
663
|
+
* @interface CreateVehicleBrandBody
|
|
664
|
+
*/
|
|
665
|
+
export interface CreateVehicleBrandBody {
|
|
666
|
+
/**
|
|
667
|
+
*
|
|
668
|
+
* @type {string}
|
|
669
|
+
* @memberof CreateVehicleBrandBody
|
|
670
|
+
*/
|
|
671
|
+
'name': string;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
*
|
|
675
|
+
* @export
|
|
676
|
+
* @interface CreateVehicleModelBody
|
|
677
|
+
*/
|
|
678
|
+
export interface CreateVehicleModelBody {
|
|
679
|
+
/**
|
|
680
|
+
*
|
|
681
|
+
* @type {string}
|
|
682
|
+
* @memberof CreateVehicleModelBody
|
|
683
|
+
*/
|
|
684
|
+
'brand_id': string;
|
|
685
|
+
/**
|
|
686
|
+
*
|
|
687
|
+
* @type {string}
|
|
688
|
+
* @memberof CreateVehicleModelBody
|
|
689
|
+
*/
|
|
690
|
+
'name': string;
|
|
691
|
+
}
|
|
692
|
+
/**
|
|
693
|
+
*
|
|
694
|
+
* @export
|
|
695
|
+
* @interface CreateVehicleModelResponse
|
|
696
|
+
*/
|
|
697
|
+
export interface CreateVehicleModelResponse {
|
|
698
|
+
/**
|
|
699
|
+
*
|
|
700
|
+
* @type {string}
|
|
701
|
+
* @memberof CreateVehicleModelResponse
|
|
702
|
+
*/
|
|
703
|
+
'brand_id': string;
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @type {string}
|
|
707
|
+
* @memberof CreateVehicleModelResponse
|
|
708
|
+
*/
|
|
709
|
+
'name': string;
|
|
710
|
+
/**
|
|
711
|
+
*
|
|
712
|
+
* @type {string}
|
|
713
|
+
* @memberof CreateVehicleModelResponse
|
|
714
|
+
*/
|
|
715
|
+
'id': string;
|
|
716
|
+
}
|
|
717
|
+
/**
|
|
718
|
+
*
|
|
719
|
+
* @export
|
|
720
|
+
* @interface DeleteVehicleBrandResponse
|
|
721
|
+
*/
|
|
722
|
+
export interface DeleteVehicleBrandResponse {
|
|
723
|
+
/**
|
|
724
|
+
*
|
|
725
|
+
* @type {string}
|
|
726
|
+
* @memberof DeleteVehicleBrandResponse
|
|
727
|
+
*/
|
|
728
|
+
'name': string;
|
|
729
|
+
/**
|
|
730
|
+
*
|
|
731
|
+
* @type {string}
|
|
732
|
+
* @memberof DeleteVehicleBrandResponse
|
|
733
|
+
*/
|
|
734
|
+
'id': string;
|
|
735
|
+
}
|
|
736
|
+
/**
|
|
737
|
+
*
|
|
738
|
+
* @export
|
|
739
|
+
* @interface DeleteVehicleModelResponse
|
|
740
|
+
*/
|
|
741
|
+
export interface DeleteVehicleModelResponse {
|
|
742
|
+
/**
|
|
743
|
+
*
|
|
744
|
+
* @type {string}
|
|
745
|
+
* @memberof DeleteVehicleModelResponse
|
|
746
|
+
*/
|
|
747
|
+
'brand_id': string;
|
|
748
|
+
/**
|
|
749
|
+
*
|
|
750
|
+
* @type {string}
|
|
751
|
+
* @memberof DeleteVehicleModelResponse
|
|
752
|
+
*/
|
|
753
|
+
'name': string;
|
|
754
|
+
/**
|
|
755
|
+
*
|
|
756
|
+
* @type {string}
|
|
757
|
+
* @memberof DeleteVehicleModelResponse
|
|
758
|
+
*/
|
|
759
|
+
'id': string;
|
|
760
|
+
}
|
|
761
|
+
/**
|
|
762
|
+
*
|
|
763
|
+
* @export
|
|
764
|
+
* @enum {string}
|
|
765
|
+
*/
|
|
766
|
+
|
|
767
|
+
export const EngineType = {
|
|
768
|
+
Ev: 'EV',
|
|
769
|
+
Ice: 'ICE'
|
|
770
|
+
} as const;
|
|
771
|
+
|
|
772
|
+
export type EngineType = typeof EngineType[keyof typeof EngineType];
|
|
773
|
+
|
|
774
|
+
|
|
627
775
|
/**
|
|
628
776
|
*
|
|
629
777
|
* @export
|
|
@@ -2344,6 +2492,151 @@ export const RedeemType = {
|
|
|
2344
2492
|
export type RedeemType = typeof RedeemType[keyof typeof RedeemType];
|
|
2345
2493
|
|
|
2346
2494
|
|
|
2495
|
+
/**
|
|
2496
|
+
*
|
|
2497
|
+
* @export
|
|
2498
|
+
* @interface RegisteredVehicleIndexResponse
|
|
2499
|
+
*/
|
|
2500
|
+
export interface RegisteredVehicleIndexResponse {
|
|
2501
|
+
/**
|
|
2502
|
+
*
|
|
2503
|
+
* @type {boolean}
|
|
2504
|
+
* @memberof RegisteredVehicleIndexResponse
|
|
2505
|
+
*/
|
|
2506
|
+
'is_vip': boolean;
|
|
2507
|
+
/**
|
|
2508
|
+
*
|
|
2509
|
+
* @type {RegisteredVehicleIndexResponseVehicleModel}
|
|
2510
|
+
* @memberof RegisteredVehicleIndexResponse
|
|
2511
|
+
*/
|
|
2512
|
+
'vehicle_model'?: RegisteredVehicleIndexResponseVehicleModel;
|
|
2513
|
+
/**
|
|
2514
|
+
*
|
|
2515
|
+
* @type {RegisteredVehicleIndexResponseVehicleModel}
|
|
2516
|
+
* @memberof RegisteredVehicleIndexResponse
|
|
2517
|
+
*/
|
|
2518
|
+
'vehicle_brand'?: RegisteredVehicleIndexResponseVehicleModel;
|
|
2519
|
+
/**
|
|
2520
|
+
*
|
|
2521
|
+
* @type {EngineType}
|
|
2522
|
+
* @memberof RegisteredVehicleIndexResponse
|
|
2523
|
+
*/
|
|
2524
|
+
'engine_type'?: EngineType | null;
|
|
2525
|
+
/**
|
|
2526
|
+
*
|
|
2527
|
+
* @type {string}
|
|
2528
|
+
* @memberof RegisteredVehicleIndexResponse
|
|
2529
|
+
*/
|
|
2530
|
+
'plate_province'?: string | null;
|
|
2531
|
+
/**
|
|
2532
|
+
*
|
|
2533
|
+
* @type {string}
|
|
2534
|
+
* @memberof RegisteredVehicleIndexResponse
|
|
2535
|
+
*/
|
|
2536
|
+
'plate_no': string;
|
|
2537
|
+
/**
|
|
2538
|
+
*
|
|
2539
|
+
* @type {string}
|
|
2540
|
+
* @memberof RegisteredVehicleIndexResponse
|
|
2541
|
+
*/
|
|
2542
|
+
'account_id': string;
|
|
2543
|
+
/**
|
|
2544
|
+
*
|
|
2545
|
+
* @type {VehicleType}
|
|
2546
|
+
* @memberof RegisteredVehicleIndexResponse
|
|
2547
|
+
*/
|
|
2548
|
+
'vehicle_type'?: VehicleType;
|
|
2549
|
+
/**
|
|
2550
|
+
*
|
|
2551
|
+
* @type {string}
|
|
2552
|
+
* @memberof RegisteredVehicleIndexResponse
|
|
2553
|
+
*/
|
|
2554
|
+
'id': string;
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2557
|
+
|
|
2558
|
+
/**
|
|
2559
|
+
*
|
|
2560
|
+
* @export
|
|
2561
|
+
* @interface RegisteredVehicleIndexResponseVehicleModel
|
|
2562
|
+
*/
|
|
2563
|
+
export interface RegisteredVehicleIndexResponseVehicleModel {
|
|
2564
|
+
/**
|
|
2565
|
+
*
|
|
2566
|
+
* @type {string}
|
|
2567
|
+
* @memberof RegisteredVehicleIndexResponseVehicleModel
|
|
2568
|
+
*/
|
|
2569
|
+
'name'?: string;
|
|
2570
|
+
/**
|
|
2571
|
+
*
|
|
2572
|
+
* @type {string}
|
|
2573
|
+
* @memberof RegisteredVehicleIndexResponseVehicleModel
|
|
2574
|
+
*/
|
|
2575
|
+
'id'?: string;
|
|
2576
|
+
}
|
|
2577
|
+
/**
|
|
2578
|
+
*
|
|
2579
|
+
* @export
|
|
2580
|
+
* @interface RegisteredVehicleResponse
|
|
2581
|
+
*/
|
|
2582
|
+
export interface RegisteredVehicleResponse {
|
|
2583
|
+
/**
|
|
2584
|
+
*
|
|
2585
|
+
* @type {boolean}
|
|
2586
|
+
* @memberof RegisteredVehicleResponse
|
|
2587
|
+
*/
|
|
2588
|
+
'is_vip': boolean;
|
|
2589
|
+
/**
|
|
2590
|
+
*
|
|
2591
|
+
* @type {string}
|
|
2592
|
+
* @memberof RegisteredVehicleResponse
|
|
2593
|
+
*/
|
|
2594
|
+
'vehicle_model_id'?: string | null;
|
|
2595
|
+
/**
|
|
2596
|
+
*
|
|
2597
|
+
* @type {string}
|
|
2598
|
+
* @memberof RegisteredVehicleResponse
|
|
2599
|
+
*/
|
|
2600
|
+
'vehicle_brand_id'?: string | null;
|
|
2601
|
+
/**
|
|
2602
|
+
*
|
|
2603
|
+
* @type {EngineType}
|
|
2604
|
+
* @memberof RegisteredVehicleResponse
|
|
2605
|
+
*/
|
|
2606
|
+
'engine_type'?: EngineType | null;
|
|
2607
|
+
/**
|
|
2608
|
+
*
|
|
2609
|
+
* @type {string}
|
|
2610
|
+
* @memberof RegisteredVehicleResponse
|
|
2611
|
+
*/
|
|
2612
|
+
'plate_province'?: string | null;
|
|
2613
|
+
/**
|
|
2614
|
+
*
|
|
2615
|
+
* @type {string}
|
|
2616
|
+
* @memberof RegisteredVehicleResponse
|
|
2617
|
+
*/
|
|
2618
|
+
'plate_no': string;
|
|
2619
|
+
/**
|
|
2620
|
+
*
|
|
2621
|
+
* @type {string}
|
|
2622
|
+
* @memberof RegisteredVehicleResponse
|
|
2623
|
+
*/
|
|
2624
|
+
'account_id': string;
|
|
2625
|
+
/**
|
|
2626
|
+
*
|
|
2627
|
+
* @type {VehicleType}
|
|
2628
|
+
* @memberof RegisteredVehicleResponse
|
|
2629
|
+
*/
|
|
2630
|
+
'vehicle_type'?: VehicleType | null;
|
|
2631
|
+
/**
|
|
2632
|
+
*
|
|
2633
|
+
* @type {string}
|
|
2634
|
+
* @memberof RegisteredVehicleResponse
|
|
2635
|
+
*/
|
|
2636
|
+
'id': string;
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
|
|
2347
2640
|
/**
|
|
2348
2641
|
*
|
|
2349
2642
|
* @export
|
|
@@ -2711,78 +3004,308 @@ export interface UpdateReceiptBody {
|
|
|
2711
3004
|
* @memberof UpdateReceiptBody
|
|
2712
3005
|
*/
|
|
2713
3006
|
'message'?: string;
|
|
2714
|
-
/**
|
|
2715
|
-
*
|
|
2716
|
-
* @type {string}
|
|
2717
|
-
* @memberof UpdateReceiptBody
|
|
2718
|
-
*/
|
|
2719
|
-
'counter'?: string;
|
|
2720
3007
|
}
|
|
2721
3008
|
|
|
2722
3009
|
|
|
2723
3010
|
/**
|
|
2724
3011
|
*
|
|
2725
3012
|
* @export
|
|
2726
|
-
* @interface
|
|
3013
|
+
* @interface UpdateRegisteredVehicleBody
|
|
2727
3014
|
*/
|
|
2728
|
-
export interface
|
|
3015
|
+
export interface UpdateRegisteredVehicleBody {
|
|
3016
|
+
/**
|
|
3017
|
+
*
|
|
3018
|
+
* @type {boolean}
|
|
3019
|
+
* @memberof UpdateRegisteredVehicleBody
|
|
3020
|
+
*/
|
|
3021
|
+
'is_vip'?: boolean | null;
|
|
2729
3022
|
/**
|
|
2730
3023
|
*
|
|
2731
3024
|
* @type {string}
|
|
2732
|
-
* @memberof
|
|
3025
|
+
* @memberof UpdateRegisteredVehicleBody
|
|
2733
3026
|
*/
|
|
2734
|
-
'
|
|
3027
|
+
'vehicle_model_id'?: string | null;
|
|
2735
3028
|
/**
|
|
2736
3029
|
*
|
|
2737
|
-
* @type {
|
|
2738
|
-
* @memberof
|
|
3030
|
+
* @type {string}
|
|
3031
|
+
* @memberof UpdateRegisteredVehicleBody
|
|
2739
3032
|
*/
|
|
2740
|
-
'
|
|
2741
|
-
}
|
|
2742
|
-
/**
|
|
2743
|
-
*
|
|
2744
|
-
* @export
|
|
2745
|
-
* @interface UpsertCampaignBody
|
|
2746
|
-
*/
|
|
2747
|
-
export interface UpsertCampaignBody {
|
|
3033
|
+
'vehicle_brand_id'?: string | null;
|
|
2748
3034
|
/**
|
|
2749
3035
|
*
|
|
2750
|
-
* @type {
|
|
2751
|
-
* @memberof
|
|
3036
|
+
* @type {EngineType}
|
|
3037
|
+
* @memberof UpdateRegisteredVehicleBody
|
|
2752
3038
|
*/
|
|
2753
|
-
'
|
|
3039
|
+
'engine_type'?: EngineType | null;
|
|
2754
3040
|
/**
|
|
2755
3041
|
*
|
|
2756
|
-
* @type {
|
|
2757
|
-
* @memberof
|
|
3042
|
+
* @type {string}
|
|
3043
|
+
* @memberof UpdateRegisteredVehicleBody
|
|
2758
3044
|
*/
|
|
2759
|
-
'
|
|
3045
|
+
'plate_province'?: string | null;
|
|
2760
3046
|
/**
|
|
2761
3047
|
*
|
|
2762
|
-
* @type {
|
|
2763
|
-
* @memberof
|
|
3048
|
+
* @type {string}
|
|
3049
|
+
* @memberof UpdateRegisteredVehicleBody
|
|
2764
3050
|
*/
|
|
2765
|
-
'
|
|
3051
|
+
'plate_no'?: string;
|
|
2766
3052
|
/**
|
|
2767
3053
|
*
|
|
2768
|
-
* @type {
|
|
2769
|
-
* @memberof
|
|
3054
|
+
* @type {VehicleType}
|
|
3055
|
+
* @memberof UpdateRegisteredVehicleBody
|
|
2770
3056
|
*/
|
|
2771
|
-
'
|
|
3057
|
+
'vehicle_type'?: VehicleType;
|
|
2772
3058
|
}
|
|
3059
|
+
|
|
3060
|
+
|
|
2773
3061
|
/**
|
|
2774
3062
|
*
|
|
2775
3063
|
* @export
|
|
2776
|
-
* @interface
|
|
3064
|
+
* @interface UpdateVehicleBrandBody
|
|
2777
3065
|
*/
|
|
2778
|
-
export interface
|
|
3066
|
+
export interface UpdateVehicleBrandBody {
|
|
2779
3067
|
/**
|
|
2780
3068
|
*
|
|
2781
3069
|
* @type {string}
|
|
2782
|
-
* @memberof
|
|
3070
|
+
* @memberof UpdateVehicleBrandBody
|
|
2783
3071
|
*/
|
|
2784
|
-
'
|
|
3072
|
+
'name'?: string;
|
|
3073
|
+
}
|
|
3074
|
+
/**
|
|
3075
|
+
*
|
|
3076
|
+
* @export
|
|
3077
|
+
* @interface UpdateVehicleModelBody
|
|
3078
|
+
*/
|
|
3079
|
+
export interface UpdateVehicleModelBody {
|
|
3080
|
+
/**
|
|
3081
|
+
*
|
|
3082
|
+
* @type {string}
|
|
3083
|
+
* @memberof UpdateVehicleModelBody
|
|
3084
|
+
*/
|
|
3085
|
+
'brand_id'?: string;
|
|
3086
|
+
/**
|
|
3087
|
+
*
|
|
3088
|
+
* @type {string}
|
|
3089
|
+
* @memberof UpdateVehicleModelBody
|
|
3090
|
+
*/
|
|
3091
|
+
'name'?: string;
|
|
3092
|
+
}
|
|
3093
|
+
/**
|
|
3094
|
+
*
|
|
3095
|
+
* @export
|
|
3096
|
+
* @interface UpdateVehicleModelResponse
|
|
3097
|
+
*/
|
|
3098
|
+
export interface UpdateVehicleModelResponse {
|
|
3099
|
+
/**
|
|
3100
|
+
*
|
|
3101
|
+
* @type {string}
|
|
3102
|
+
* @memberof UpdateVehicleModelResponse
|
|
3103
|
+
*/
|
|
3104
|
+
'brand_id': string;
|
|
3105
|
+
/**
|
|
3106
|
+
*
|
|
3107
|
+
* @type {string}
|
|
3108
|
+
* @memberof UpdateVehicleModelResponse
|
|
3109
|
+
*/
|
|
3110
|
+
'name': string;
|
|
3111
|
+
/**
|
|
3112
|
+
*
|
|
3113
|
+
* @type {string}
|
|
3114
|
+
* @memberof UpdateVehicleModelResponse
|
|
3115
|
+
*/
|
|
3116
|
+
'id': string;
|
|
3117
|
+
}
|
|
3118
|
+
/**
|
|
3119
|
+
*
|
|
3120
|
+
* @export
|
|
3121
|
+
* @interface UpsertCampaign
|
|
3122
|
+
*/
|
|
3123
|
+
export interface UpsertCampaign {
|
|
3124
|
+
/**
|
|
3125
|
+
*
|
|
3126
|
+
* @type {string}
|
|
3127
|
+
* @memberof UpsertCampaign
|
|
3128
|
+
*/
|
|
3129
|
+
'updated_by'?: string;
|
|
3130
|
+
/**
|
|
3131
|
+
*
|
|
3132
|
+
* @type {UpsertCampaignBody}
|
|
3133
|
+
* @memberof UpsertCampaign
|
|
3134
|
+
*/
|
|
3135
|
+
'data': UpsertCampaignBody;
|
|
3136
|
+
}
|
|
3137
|
+
/**
|
|
3138
|
+
*
|
|
3139
|
+
* @export
|
|
3140
|
+
* @interface UpsertCampaignBody
|
|
3141
|
+
*/
|
|
3142
|
+
export interface UpsertCampaignBody {
|
|
3143
|
+
/**
|
|
3144
|
+
*
|
|
3145
|
+
* @type {CampaignBody}
|
|
3146
|
+
* @memberof UpsertCampaignBody
|
|
3147
|
+
*/
|
|
3148
|
+
'1': CampaignBody;
|
|
3149
|
+
/**
|
|
3150
|
+
*
|
|
3151
|
+
* @type {CampaignBody}
|
|
3152
|
+
* @memberof UpsertCampaignBody
|
|
3153
|
+
*/
|
|
3154
|
+
'2': CampaignBody;
|
|
3155
|
+
/**
|
|
3156
|
+
*
|
|
3157
|
+
* @type {CampaignBody}
|
|
3158
|
+
* @memberof UpsertCampaignBody
|
|
3159
|
+
*/
|
|
3160
|
+
'3': CampaignBody;
|
|
3161
|
+
/**
|
|
3162
|
+
*
|
|
3163
|
+
* @type {FinalCampaignBody}
|
|
3164
|
+
* @memberof UpsertCampaignBody
|
|
3165
|
+
*/
|
|
3166
|
+
'4': FinalCampaignBody;
|
|
3167
|
+
}
|
|
3168
|
+
/**
|
|
3169
|
+
*
|
|
3170
|
+
* @export
|
|
3171
|
+
* @interface ValidateReceiptImageBody
|
|
3172
|
+
*/
|
|
3173
|
+
export interface ValidateReceiptImageBody {
|
|
3174
|
+
/**
|
|
3175
|
+
*
|
|
3176
|
+
* @type {string}
|
|
3177
|
+
* @memberof ValidateReceiptImageBody
|
|
3178
|
+
*/
|
|
3179
|
+
'source': string;
|
|
3180
|
+
}
|
|
3181
|
+
/**
|
|
3182
|
+
*
|
|
3183
|
+
* @export
|
|
3184
|
+
* @interface VehicleBrandIndexQuery
|
|
3185
|
+
*/
|
|
3186
|
+
export interface VehicleBrandIndexQuery {
|
|
3187
|
+
/**
|
|
3188
|
+
*
|
|
3189
|
+
* @type {string}
|
|
3190
|
+
* @memberof VehicleBrandIndexQuery
|
|
3191
|
+
*/
|
|
3192
|
+
'name'?: string;
|
|
3193
|
+
}
|
|
3194
|
+
/**
|
|
3195
|
+
*
|
|
3196
|
+
* @export
|
|
3197
|
+
* @interface VehicleBrandIndexResponse
|
|
3198
|
+
*/
|
|
3199
|
+
export interface VehicleBrandIndexResponse {
|
|
3200
|
+
/**
|
|
3201
|
+
*
|
|
3202
|
+
* @type {string}
|
|
3203
|
+
* @memberof VehicleBrandIndexResponse
|
|
3204
|
+
*/
|
|
3205
|
+
'name': string;
|
|
3206
|
+
/**
|
|
3207
|
+
*
|
|
3208
|
+
* @type {string}
|
|
3209
|
+
* @memberof VehicleBrandIndexResponse
|
|
3210
|
+
*/
|
|
3211
|
+
'id': string;
|
|
3212
|
+
}
|
|
3213
|
+
/**
|
|
3214
|
+
*
|
|
3215
|
+
* @export
|
|
3216
|
+
* @interface VehicleBrandResponse
|
|
3217
|
+
*/
|
|
3218
|
+
export interface VehicleBrandResponse {
|
|
3219
|
+
/**
|
|
3220
|
+
*
|
|
3221
|
+
* @type {string}
|
|
3222
|
+
* @memberof VehicleBrandResponse
|
|
3223
|
+
*/
|
|
3224
|
+
'name': string;
|
|
3225
|
+
/**
|
|
3226
|
+
*
|
|
3227
|
+
* @type {string}
|
|
3228
|
+
* @memberof VehicleBrandResponse
|
|
3229
|
+
*/
|
|
3230
|
+
'id': string;
|
|
3231
|
+
}
|
|
3232
|
+
/**
|
|
3233
|
+
*
|
|
3234
|
+
* @export
|
|
3235
|
+
* @interface VehicleModelIndexQuery
|
|
3236
|
+
*/
|
|
3237
|
+
export interface VehicleModelIndexQuery {
|
|
3238
|
+
/**
|
|
3239
|
+
*
|
|
3240
|
+
* @type {string}
|
|
3241
|
+
* @memberof VehicleModelIndexQuery
|
|
3242
|
+
*/
|
|
3243
|
+
'name'?: string;
|
|
3244
|
+
/**
|
|
3245
|
+
*
|
|
3246
|
+
* @type {string}
|
|
3247
|
+
* @memberof VehicleModelIndexQuery
|
|
3248
|
+
*/
|
|
3249
|
+
'brand_id'?: string;
|
|
3250
|
+
}
|
|
3251
|
+
/**
|
|
3252
|
+
*
|
|
3253
|
+
* @export
|
|
3254
|
+
* @interface VehicleModelIndexResponse
|
|
3255
|
+
*/
|
|
3256
|
+
export interface VehicleModelIndexResponse {
|
|
3257
|
+
/**
|
|
3258
|
+
*
|
|
3259
|
+
* @type {VehicleModelIndexResponseBrand}
|
|
3260
|
+
* @memberof VehicleModelIndexResponse
|
|
3261
|
+
*/
|
|
3262
|
+
'brand': VehicleModelIndexResponseBrand;
|
|
3263
|
+
/**
|
|
3264
|
+
*
|
|
3265
|
+
* @type {string}
|
|
3266
|
+
* @memberof VehicleModelIndexResponse
|
|
3267
|
+
*/
|
|
3268
|
+
'name': string;
|
|
3269
|
+
/**
|
|
3270
|
+
*
|
|
3271
|
+
* @type {string}
|
|
3272
|
+
* @memberof VehicleModelIndexResponse
|
|
3273
|
+
*/
|
|
3274
|
+
'id': string;
|
|
3275
|
+
}
|
|
3276
|
+
/**
|
|
3277
|
+
*
|
|
3278
|
+
* @export
|
|
3279
|
+
* @interface VehicleModelIndexResponseBrand
|
|
3280
|
+
*/
|
|
3281
|
+
export interface VehicleModelIndexResponseBrand {
|
|
3282
|
+
/**
|
|
3283
|
+
*
|
|
3284
|
+
* @type {string}
|
|
3285
|
+
* @memberof VehicleModelIndexResponseBrand
|
|
3286
|
+
*/
|
|
3287
|
+
'name': string;
|
|
3288
|
+
/**
|
|
3289
|
+
*
|
|
3290
|
+
* @type {string}
|
|
3291
|
+
* @memberof VehicleModelIndexResponseBrand
|
|
3292
|
+
*/
|
|
3293
|
+
'id': string;
|
|
2785
3294
|
}
|
|
3295
|
+
/**
|
|
3296
|
+
*
|
|
3297
|
+
* @export
|
|
3298
|
+
* @enum {string}
|
|
3299
|
+
*/
|
|
3300
|
+
|
|
3301
|
+
export const VehicleType = {
|
|
3302
|
+
Car: 'CAR',
|
|
3303
|
+
Motorcycle: 'MOTORCYCLE'
|
|
3304
|
+
} as const;
|
|
3305
|
+
|
|
3306
|
+
export type VehicleType = typeof VehicleType[keyof typeof VehicleType];
|
|
3307
|
+
|
|
3308
|
+
|
|
2786
3309
|
|
|
2787
3310
|
/**
|
|
2788
3311
|
* DefaultApi - axios parameter creator
|
|
@@ -4226,11 +4749,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4226
4749
|
},
|
|
4227
4750
|
/**
|
|
4228
4751
|
*
|
|
4752
|
+
* @param {string} xAccountId
|
|
4753
|
+
* @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
|
|
4229
4754
|
* @param {*} [options] Override http request option.
|
|
4230
4755
|
* @throws {RequiredError}
|
|
4231
4756
|
*/
|
|
4232
|
-
|
|
4233
|
-
|
|
4757
|
+
registeredVehiclesCreate: async (xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4758
|
+
// verify required parameter 'xAccountId' is not null or undefined
|
|
4759
|
+
assertParamExists('registeredVehiclesCreate', 'xAccountId', xAccountId)
|
|
4760
|
+
// verify required parameter 'createRegisteredVehicleBody' is not null or undefined
|
|
4761
|
+
assertParamExists('registeredVehiclesCreate', 'createRegisteredVehicleBody', createRegisteredVehicleBody)
|
|
4762
|
+
const localVarPath = `/registered-vehicles`;
|
|
4234
4763
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4235
4764
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4236
4765
|
let baseOptions;
|
|
@@ -4238,59 +4767,585 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4238
4767
|
baseOptions = configuration.baseOptions;
|
|
4239
4768
|
}
|
|
4240
4769
|
|
|
4241
|
-
const localVarRequestOptions = { method: '
|
|
4770
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4242
4771
|
const localVarHeaderParameter = {} as any;
|
|
4243
4772
|
const localVarQueryParameter = {} as any;
|
|
4244
4773
|
|
|
4774
|
+
if (xAccountId != null) {
|
|
4775
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
4776
|
+
}
|
|
4777
|
+
|
|
4245
4778
|
|
|
4246
4779
|
|
|
4780
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4781
|
+
|
|
4247
4782
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4248
4783
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4249
4784
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4785
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createRegisteredVehicleBody, localVarRequestOptions, configuration)
|
|
4250
4786
|
|
|
4251
4787
|
return {
|
|
4252
4788
|
url: toPathString(localVarUrlObj),
|
|
4253
4789
|
options: localVarRequestOptions,
|
|
4254
4790
|
};
|
|
4255
4791
|
},
|
|
4256
|
-
}
|
|
4257
|
-
};
|
|
4258
|
-
|
|
4259
|
-
/**
|
|
4260
|
-
* DefaultApi - functional programming interface
|
|
4261
|
-
* @export
|
|
4262
|
-
*/
|
|
4263
|
-
export const DefaultApiFp = function(configuration?: Configuration) {
|
|
4264
|
-
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
|
|
4265
|
-
return {
|
|
4266
|
-
/**
|
|
4267
|
-
*
|
|
4268
|
-
* @param {*} [options] Override http request option.
|
|
4269
|
-
* @throws {RequiredError}
|
|
4270
|
-
*/
|
|
4271
|
-
async campaignIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CampaignSequenceResponse>> {
|
|
4272
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.campaignIndex(options);
|
|
4273
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4274
|
-
},
|
|
4275
4792
|
/**
|
|
4276
4793
|
*
|
|
4277
|
-
* @param {
|
|
4794
|
+
* @param {string} id
|
|
4278
4795
|
* @param {*} [options] Override http request option.
|
|
4279
4796
|
* @throws {RequiredError}
|
|
4280
4797
|
*/
|
|
4281
|
-
async
|
|
4282
|
-
|
|
4283
|
-
|
|
4798
|
+
registeredVehiclesDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4799
|
+
// verify required parameter 'id' is not null or undefined
|
|
4800
|
+
assertParamExists('registeredVehiclesDelete', 'id', id)
|
|
4801
|
+
const localVarPath = `/registered-vehicles/{id}`
|
|
4802
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4803
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4804
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4805
|
+
let baseOptions;
|
|
4806
|
+
if (configuration) {
|
|
4807
|
+
baseOptions = configuration.baseOptions;
|
|
4808
|
+
}
|
|
4809
|
+
|
|
4810
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
4811
|
+
const localVarHeaderParameter = {} as any;
|
|
4812
|
+
const localVarQueryParameter = {} as any;
|
|
4813
|
+
|
|
4814
|
+
|
|
4815
|
+
|
|
4816
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4817
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4818
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4819
|
+
|
|
4820
|
+
return {
|
|
4821
|
+
url: toPathString(localVarUrlObj),
|
|
4822
|
+
options: localVarRequestOptions,
|
|
4823
|
+
};
|
|
4284
4824
|
},
|
|
4285
4825
|
/**
|
|
4286
4826
|
*
|
|
4287
|
-
* @param {string}
|
|
4288
|
-
* @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
|
|
4827
|
+
* @param {string} id
|
|
4289
4828
|
* @param {*} [options] Override http request option.
|
|
4290
4829
|
* @throws {RequiredError}
|
|
4291
4830
|
*/
|
|
4292
|
-
async
|
|
4293
|
-
|
|
4831
|
+
registeredVehiclesGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4832
|
+
// verify required parameter 'id' is not null or undefined
|
|
4833
|
+
assertParamExists('registeredVehiclesGet', 'id', id)
|
|
4834
|
+
const localVarPath = `/registered-vehicles/{id}`
|
|
4835
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4836
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4837
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4838
|
+
let baseOptions;
|
|
4839
|
+
if (configuration) {
|
|
4840
|
+
baseOptions = configuration.baseOptions;
|
|
4841
|
+
}
|
|
4842
|
+
|
|
4843
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4844
|
+
const localVarHeaderParameter = {} as any;
|
|
4845
|
+
const localVarQueryParameter = {} as any;
|
|
4846
|
+
|
|
4847
|
+
|
|
4848
|
+
|
|
4849
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4850
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4851
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4852
|
+
|
|
4853
|
+
return {
|
|
4854
|
+
url: toPathString(localVarUrlObj),
|
|
4855
|
+
options: localVarRequestOptions,
|
|
4856
|
+
};
|
|
4857
|
+
},
|
|
4858
|
+
/**
|
|
4859
|
+
*
|
|
4860
|
+
* @param {string} xAccountId
|
|
4861
|
+
* @param {*} [options] Override http request option.
|
|
4862
|
+
* @throws {RequiredError}
|
|
4863
|
+
*/
|
|
4864
|
+
registeredVehiclesGetByAccountId: async (xAccountId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4865
|
+
// verify required parameter 'xAccountId' is not null or undefined
|
|
4866
|
+
assertParamExists('registeredVehiclesGetByAccountId', 'xAccountId', xAccountId)
|
|
4867
|
+
const localVarPath = `/registered-vehicles/account`;
|
|
4868
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4869
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4870
|
+
let baseOptions;
|
|
4871
|
+
if (configuration) {
|
|
4872
|
+
baseOptions = configuration.baseOptions;
|
|
4873
|
+
}
|
|
4874
|
+
|
|
4875
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4876
|
+
const localVarHeaderParameter = {} as any;
|
|
4877
|
+
const localVarQueryParameter = {} as any;
|
|
4878
|
+
|
|
4879
|
+
if (xAccountId != null) {
|
|
4880
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
4881
|
+
}
|
|
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 {*} [options] Override http request option.
|
|
4897
|
+
* @throws {RequiredError}
|
|
4898
|
+
*/
|
|
4899
|
+
registeredVehiclesIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4900
|
+
const localVarPath = `/registered-vehicles`;
|
|
4901
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4902
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4903
|
+
let baseOptions;
|
|
4904
|
+
if (configuration) {
|
|
4905
|
+
baseOptions = configuration.baseOptions;
|
|
4906
|
+
}
|
|
4907
|
+
|
|
4908
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4909
|
+
const localVarHeaderParameter = {} as any;
|
|
4910
|
+
const localVarQueryParameter = {} as any;
|
|
4911
|
+
|
|
4912
|
+
|
|
4913
|
+
|
|
4914
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4915
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4916
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4917
|
+
|
|
4918
|
+
return {
|
|
4919
|
+
url: toPathString(localVarUrlObj),
|
|
4920
|
+
options: localVarRequestOptions,
|
|
4921
|
+
};
|
|
4922
|
+
},
|
|
4923
|
+
/**
|
|
4924
|
+
*
|
|
4925
|
+
* @param {string} id
|
|
4926
|
+
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
4927
|
+
* @param {*} [options] Override http request option.
|
|
4928
|
+
* @throws {RequiredError}
|
|
4929
|
+
*/
|
|
4930
|
+
registeredVehiclesUpdate: async (id: string, updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4931
|
+
// verify required parameter 'id' is not null or undefined
|
|
4932
|
+
assertParamExists('registeredVehiclesUpdate', 'id', id)
|
|
4933
|
+
// verify required parameter 'updateRegisteredVehicleBody' is not null or undefined
|
|
4934
|
+
assertParamExists('registeredVehiclesUpdate', 'updateRegisteredVehicleBody', updateRegisteredVehicleBody)
|
|
4935
|
+
const localVarPath = `/registered-vehicles/{id}`
|
|
4936
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
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: 'PATCH', ...baseOptions, ...options};
|
|
4945
|
+
const localVarHeaderParameter = {} as any;
|
|
4946
|
+
const localVarQueryParameter = {} as any;
|
|
4947
|
+
|
|
4948
|
+
|
|
4949
|
+
|
|
4950
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4951
|
+
|
|
4952
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4953
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4954
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4955
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateRegisteredVehicleBody, localVarRequestOptions, configuration)
|
|
4956
|
+
|
|
4957
|
+
return {
|
|
4958
|
+
url: toPathString(localVarUrlObj),
|
|
4959
|
+
options: localVarRequestOptions,
|
|
4960
|
+
};
|
|
4961
|
+
},
|
|
4962
|
+
/**
|
|
4963
|
+
*
|
|
4964
|
+
* @param {*} [options] Override http request option.
|
|
4965
|
+
* @throws {RequiredError}
|
|
4966
|
+
*/
|
|
4967
|
+
testTest: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4968
|
+
const localVarPath = `/test`;
|
|
4969
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4970
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4971
|
+
let baseOptions;
|
|
4972
|
+
if (configuration) {
|
|
4973
|
+
baseOptions = configuration.baseOptions;
|
|
4974
|
+
}
|
|
4975
|
+
|
|
4976
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4977
|
+
const localVarHeaderParameter = {} as any;
|
|
4978
|
+
const localVarQueryParameter = {} as any;
|
|
4979
|
+
|
|
4980
|
+
|
|
4981
|
+
|
|
4982
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4983
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4984
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4985
|
+
|
|
4986
|
+
return {
|
|
4987
|
+
url: toPathString(localVarUrlObj),
|
|
4988
|
+
options: localVarRequestOptions,
|
|
4989
|
+
};
|
|
4990
|
+
},
|
|
4991
|
+
/**
|
|
4992
|
+
*
|
|
4993
|
+
* @param {CreateVehicleBrandBody} createVehicleBrandBody
|
|
4994
|
+
* @param {*} [options] Override http request option.
|
|
4995
|
+
* @throws {RequiredError}
|
|
4996
|
+
*/
|
|
4997
|
+
vehicleBrandsCreate: async (createVehicleBrandBody: CreateVehicleBrandBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4998
|
+
// verify required parameter 'createVehicleBrandBody' is not null or undefined
|
|
4999
|
+
assertParamExists('vehicleBrandsCreate', 'createVehicleBrandBody', createVehicleBrandBody)
|
|
5000
|
+
const localVarPath = `/vehicle-brands`;
|
|
5001
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5002
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5003
|
+
let baseOptions;
|
|
5004
|
+
if (configuration) {
|
|
5005
|
+
baseOptions = configuration.baseOptions;
|
|
5006
|
+
}
|
|
5007
|
+
|
|
5008
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
5009
|
+
const localVarHeaderParameter = {} as any;
|
|
5010
|
+
const localVarQueryParameter = {} as any;
|
|
5011
|
+
|
|
5012
|
+
|
|
5013
|
+
|
|
5014
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5015
|
+
|
|
5016
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5017
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5018
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5019
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createVehicleBrandBody, localVarRequestOptions, configuration)
|
|
5020
|
+
|
|
5021
|
+
return {
|
|
5022
|
+
url: toPathString(localVarUrlObj),
|
|
5023
|
+
options: localVarRequestOptions,
|
|
5024
|
+
};
|
|
5025
|
+
},
|
|
5026
|
+
/**
|
|
5027
|
+
*
|
|
5028
|
+
* @param {string} id
|
|
5029
|
+
* @param {*} [options] Override http request option.
|
|
5030
|
+
* @throws {RequiredError}
|
|
5031
|
+
*/
|
|
5032
|
+
vehicleBrandsDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5033
|
+
// verify required parameter 'id' is not null or undefined
|
|
5034
|
+
assertParamExists('vehicleBrandsDelete', 'id', id)
|
|
5035
|
+
const localVarPath = `/vehicle-brands/{id}`
|
|
5036
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
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: 'DELETE', ...baseOptions, ...options};
|
|
5045
|
+
const localVarHeaderParameter = {} as any;
|
|
5046
|
+
const localVarQueryParameter = {} as any;
|
|
5047
|
+
|
|
5048
|
+
|
|
5049
|
+
|
|
5050
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5051
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5052
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5053
|
+
|
|
5054
|
+
return {
|
|
5055
|
+
url: toPathString(localVarUrlObj),
|
|
5056
|
+
options: localVarRequestOptions,
|
|
5057
|
+
};
|
|
5058
|
+
},
|
|
5059
|
+
/**
|
|
5060
|
+
*
|
|
5061
|
+
* @param {string} id
|
|
5062
|
+
* @param {*} [options] Override http request option.
|
|
5063
|
+
* @throws {RequiredError}
|
|
5064
|
+
*/
|
|
5065
|
+
vehicleBrandsGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5066
|
+
// verify required parameter 'id' is not null or undefined
|
|
5067
|
+
assertParamExists('vehicleBrandsGet', 'id', id)
|
|
5068
|
+
const localVarPath = `/vehicle-brands/{id}`
|
|
5069
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5070
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5071
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5072
|
+
let baseOptions;
|
|
5073
|
+
if (configuration) {
|
|
5074
|
+
baseOptions = configuration.baseOptions;
|
|
5075
|
+
}
|
|
5076
|
+
|
|
5077
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5078
|
+
const localVarHeaderParameter = {} as any;
|
|
5079
|
+
const localVarQueryParameter = {} as any;
|
|
5080
|
+
|
|
5081
|
+
|
|
5082
|
+
|
|
5083
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5084
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5085
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5086
|
+
|
|
5087
|
+
return {
|
|
5088
|
+
url: toPathString(localVarUrlObj),
|
|
5089
|
+
options: localVarRequestOptions,
|
|
5090
|
+
};
|
|
5091
|
+
},
|
|
5092
|
+
/**
|
|
5093
|
+
*
|
|
5094
|
+
* @param {string} [name]
|
|
5095
|
+
* @param {*} [options] Override http request option.
|
|
5096
|
+
* @throws {RequiredError}
|
|
5097
|
+
*/
|
|
5098
|
+
vehicleBrandsIndex: async (name?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5099
|
+
const localVarPath = `/vehicle-brands`;
|
|
5100
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5101
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5102
|
+
let baseOptions;
|
|
5103
|
+
if (configuration) {
|
|
5104
|
+
baseOptions = configuration.baseOptions;
|
|
5105
|
+
}
|
|
5106
|
+
|
|
5107
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5108
|
+
const localVarHeaderParameter = {} as any;
|
|
5109
|
+
const localVarQueryParameter = {} as any;
|
|
5110
|
+
|
|
5111
|
+
if (name !== undefined) {
|
|
5112
|
+
localVarQueryParameter['name'] = name;
|
|
5113
|
+
}
|
|
5114
|
+
|
|
5115
|
+
|
|
5116
|
+
|
|
5117
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5118
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5119
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5120
|
+
|
|
5121
|
+
return {
|
|
5122
|
+
url: toPathString(localVarUrlObj),
|
|
5123
|
+
options: localVarRequestOptions,
|
|
5124
|
+
};
|
|
5125
|
+
},
|
|
5126
|
+
/**
|
|
5127
|
+
*
|
|
5128
|
+
* @param {string} id
|
|
5129
|
+
* @param {UpdateVehicleBrandBody} updateVehicleBrandBody
|
|
5130
|
+
* @param {*} [options] Override http request option.
|
|
5131
|
+
* @throws {RequiredError}
|
|
5132
|
+
*/
|
|
5133
|
+
vehicleBrandsUpdate: async (id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5134
|
+
// verify required parameter 'id' is not null or undefined
|
|
5135
|
+
assertParamExists('vehicleBrandsUpdate', 'id', id)
|
|
5136
|
+
// verify required parameter 'updateVehicleBrandBody' is not null or undefined
|
|
5137
|
+
assertParamExists('vehicleBrandsUpdate', 'updateVehicleBrandBody', updateVehicleBrandBody)
|
|
5138
|
+
const localVarPath = `/vehicle-brands/{id}`
|
|
5139
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5140
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5141
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5142
|
+
let baseOptions;
|
|
5143
|
+
if (configuration) {
|
|
5144
|
+
baseOptions = configuration.baseOptions;
|
|
5145
|
+
}
|
|
5146
|
+
|
|
5147
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
5148
|
+
const localVarHeaderParameter = {} as any;
|
|
5149
|
+
const localVarQueryParameter = {} as any;
|
|
5150
|
+
|
|
5151
|
+
|
|
5152
|
+
|
|
5153
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5154
|
+
|
|
5155
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5156
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5157
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5158
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateVehicleBrandBody, localVarRequestOptions, configuration)
|
|
5159
|
+
|
|
5160
|
+
return {
|
|
5161
|
+
url: toPathString(localVarUrlObj),
|
|
5162
|
+
options: localVarRequestOptions,
|
|
5163
|
+
};
|
|
5164
|
+
},
|
|
5165
|
+
/**
|
|
5166
|
+
*
|
|
5167
|
+
* @param {CreateVehicleModelBody} createVehicleModelBody
|
|
5168
|
+
* @param {*} [options] Override http request option.
|
|
5169
|
+
* @throws {RequiredError}
|
|
5170
|
+
*/
|
|
5171
|
+
vehicleModelsCreate: async (createVehicleModelBody: CreateVehicleModelBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5172
|
+
// verify required parameter 'createVehicleModelBody' is not null or undefined
|
|
5173
|
+
assertParamExists('vehicleModelsCreate', 'createVehicleModelBody', createVehicleModelBody)
|
|
5174
|
+
const localVarPath = `/vehicle-models`;
|
|
5175
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5176
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5177
|
+
let baseOptions;
|
|
5178
|
+
if (configuration) {
|
|
5179
|
+
baseOptions = configuration.baseOptions;
|
|
5180
|
+
}
|
|
5181
|
+
|
|
5182
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
5183
|
+
const localVarHeaderParameter = {} as any;
|
|
5184
|
+
const localVarQueryParameter = {} as any;
|
|
5185
|
+
|
|
5186
|
+
|
|
5187
|
+
|
|
5188
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5189
|
+
|
|
5190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5192
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5193
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createVehicleModelBody, localVarRequestOptions, configuration)
|
|
5194
|
+
|
|
5195
|
+
return {
|
|
5196
|
+
url: toPathString(localVarUrlObj),
|
|
5197
|
+
options: localVarRequestOptions,
|
|
5198
|
+
};
|
|
5199
|
+
},
|
|
5200
|
+
/**
|
|
5201
|
+
*
|
|
5202
|
+
* @param {string} id
|
|
5203
|
+
* @param {*} [options] Override http request option.
|
|
5204
|
+
* @throws {RequiredError}
|
|
5205
|
+
*/
|
|
5206
|
+
vehicleModelsDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5207
|
+
// verify required parameter 'id' is not null or undefined
|
|
5208
|
+
assertParamExists('vehicleModelsDelete', 'id', id)
|
|
5209
|
+
const localVarPath = `/vehicle-models/{id}`
|
|
5210
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5211
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5212
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5213
|
+
let baseOptions;
|
|
5214
|
+
if (configuration) {
|
|
5215
|
+
baseOptions = configuration.baseOptions;
|
|
5216
|
+
}
|
|
5217
|
+
|
|
5218
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
5219
|
+
const localVarHeaderParameter = {} as any;
|
|
5220
|
+
const localVarQueryParameter = {} as any;
|
|
5221
|
+
|
|
5222
|
+
|
|
5223
|
+
|
|
5224
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5225
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5226
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5227
|
+
|
|
5228
|
+
return {
|
|
5229
|
+
url: toPathString(localVarUrlObj),
|
|
5230
|
+
options: localVarRequestOptions,
|
|
5231
|
+
};
|
|
5232
|
+
},
|
|
5233
|
+
/**
|
|
5234
|
+
*
|
|
5235
|
+
* @param {string} [name]
|
|
5236
|
+
* @param {string} [brandId]
|
|
5237
|
+
* @param {*} [options] Override http request option.
|
|
5238
|
+
* @throws {RequiredError}
|
|
5239
|
+
*/
|
|
5240
|
+
vehicleModelsIndex: async (name?: string, brandId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5241
|
+
const localVarPath = `/vehicle-models`;
|
|
5242
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5243
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5244
|
+
let baseOptions;
|
|
5245
|
+
if (configuration) {
|
|
5246
|
+
baseOptions = configuration.baseOptions;
|
|
5247
|
+
}
|
|
5248
|
+
|
|
5249
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5250
|
+
const localVarHeaderParameter = {} as any;
|
|
5251
|
+
const localVarQueryParameter = {} as any;
|
|
5252
|
+
|
|
5253
|
+
if (name !== undefined) {
|
|
5254
|
+
localVarQueryParameter['name'] = name;
|
|
5255
|
+
}
|
|
5256
|
+
|
|
5257
|
+
if (brandId !== undefined) {
|
|
5258
|
+
localVarQueryParameter['brand_id'] = brandId;
|
|
5259
|
+
}
|
|
5260
|
+
|
|
5261
|
+
|
|
5262
|
+
|
|
5263
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5264
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5265
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5266
|
+
|
|
5267
|
+
return {
|
|
5268
|
+
url: toPathString(localVarUrlObj),
|
|
5269
|
+
options: localVarRequestOptions,
|
|
5270
|
+
};
|
|
5271
|
+
},
|
|
5272
|
+
/**
|
|
5273
|
+
*
|
|
5274
|
+
* @param {string} id
|
|
5275
|
+
* @param {UpdateVehicleModelBody} updateVehicleModelBody
|
|
5276
|
+
* @param {*} [options] Override http request option.
|
|
5277
|
+
* @throws {RequiredError}
|
|
5278
|
+
*/
|
|
5279
|
+
vehicleModelsUpdate: async (id: string, updateVehicleModelBody: UpdateVehicleModelBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5280
|
+
// verify required parameter 'id' is not null or undefined
|
|
5281
|
+
assertParamExists('vehicleModelsUpdate', 'id', id)
|
|
5282
|
+
// verify required parameter 'updateVehicleModelBody' is not null or undefined
|
|
5283
|
+
assertParamExists('vehicleModelsUpdate', 'updateVehicleModelBody', updateVehicleModelBody)
|
|
5284
|
+
const localVarPath = `/vehicle-models/{id}`
|
|
5285
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5286
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5287
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5288
|
+
let baseOptions;
|
|
5289
|
+
if (configuration) {
|
|
5290
|
+
baseOptions = configuration.baseOptions;
|
|
5291
|
+
}
|
|
5292
|
+
|
|
5293
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
5294
|
+
const localVarHeaderParameter = {} as any;
|
|
5295
|
+
const localVarQueryParameter = {} as any;
|
|
5296
|
+
|
|
5297
|
+
|
|
5298
|
+
|
|
5299
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5300
|
+
|
|
5301
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5302
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5303
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5304
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateVehicleModelBody, localVarRequestOptions, configuration)
|
|
5305
|
+
|
|
5306
|
+
return {
|
|
5307
|
+
url: toPathString(localVarUrlObj),
|
|
5308
|
+
options: localVarRequestOptions,
|
|
5309
|
+
};
|
|
5310
|
+
},
|
|
5311
|
+
}
|
|
5312
|
+
};
|
|
5313
|
+
|
|
5314
|
+
/**
|
|
5315
|
+
* DefaultApi - functional programming interface
|
|
5316
|
+
* @export
|
|
5317
|
+
*/
|
|
5318
|
+
export const DefaultApiFp = function(configuration?: Configuration) {
|
|
5319
|
+
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
|
|
5320
|
+
return {
|
|
5321
|
+
/**
|
|
5322
|
+
*
|
|
5323
|
+
* @param {*} [options] Override http request option.
|
|
5324
|
+
* @throws {RequiredError}
|
|
5325
|
+
*/
|
|
5326
|
+
async campaignIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CampaignSequenceResponse>> {
|
|
5327
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.campaignIndex(options);
|
|
5328
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5329
|
+
},
|
|
5330
|
+
/**
|
|
5331
|
+
*
|
|
5332
|
+
* @param {UpsertCampaign} upsertCampaign
|
|
5333
|
+
* @param {*} [options] Override http request option.
|
|
5334
|
+
* @throws {RequiredError}
|
|
5335
|
+
*/
|
|
5336
|
+
async campaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CampaignResponse>>> {
|
|
5337
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.campaignUpsert(upsertCampaign, options);
|
|
5338
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5339
|
+
},
|
|
5340
|
+
/**
|
|
5341
|
+
*
|
|
5342
|
+
* @param {string} logId
|
|
5343
|
+
* @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
|
|
5344
|
+
* @param {*} [options] Override http request option.
|
|
5345
|
+
* @throws {RequiredError}
|
|
5346
|
+
*/
|
|
5347
|
+
async cmsParkingDetailsRedeem(logId: string, cmsParkingDetailRedeemBody: CmsParkingDetailRedeemBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedeemParkingDetailResponse>> {
|
|
5348
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cmsParkingDetailsRedeem(logId, cmsParkingDetailRedeemBody, options);
|
|
4294
5349
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4295
5350
|
},
|
|
4296
5351
|
/**
|
|
@@ -4600,70 +5655,224 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4600
5655
|
* @param {*} [options] Override http request option.
|
|
4601
5656
|
* @throws {RequiredError}
|
|
4602
5657
|
*/
|
|
4603
|
-
async receiptApproveReceipt(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
4604
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.receiptApproveReceipt(id, options);
|
|
5658
|
+
async receiptApproveReceipt(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
5659
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.receiptApproveReceipt(id, options);
|
|
5660
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5661
|
+
},
|
|
5662
|
+
/**
|
|
5663
|
+
*
|
|
5664
|
+
* @param {CreateReceiptBody} createReceiptBody
|
|
5665
|
+
* @param {string} [xAccountId]
|
|
5666
|
+
* @param {*} [options] Override http request option.
|
|
5667
|
+
* @throws {RequiredError}
|
|
5668
|
+
*/
|
|
5669
|
+
async receiptCreateReceipt(createReceiptBody: CreateReceiptBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
5670
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.receiptCreateReceipt(createReceiptBody, xAccountId, options);
|
|
5671
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5672
|
+
},
|
|
5673
|
+
/**
|
|
5674
|
+
*
|
|
5675
|
+
* @param {string} id
|
|
5676
|
+
* @param {*} [options] Override http request option.
|
|
5677
|
+
* @throws {RequiredError}
|
|
5678
|
+
*/
|
|
5679
|
+
async receiptDeleteReceipt(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
5680
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.receiptDeleteReceipt(id, options);
|
|
5681
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5682
|
+
},
|
|
5683
|
+
/**
|
|
5684
|
+
*
|
|
5685
|
+
* @param {ManualCreateReceiptBody} manualCreateReceiptBody
|
|
5686
|
+
* @param {string} [xAccountId]
|
|
5687
|
+
* @param {*} [options] Override http request option.
|
|
5688
|
+
* @throws {RequiredError}
|
|
5689
|
+
*/
|
|
5690
|
+
async receiptManualCreateReceipt(manualCreateReceiptBody: ManualCreateReceiptBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
5691
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.receiptManualCreateReceipt(manualCreateReceiptBody, xAccountId, options);
|
|
5692
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5693
|
+
},
|
|
5694
|
+
/**
|
|
5695
|
+
*
|
|
5696
|
+
* @param {UpdateReceiptBody} updateReceiptBody
|
|
5697
|
+
* @param {*} [options] Override http request option.
|
|
5698
|
+
* @throws {RequiredError}
|
|
5699
|
+
*/
|
|
5700
|
+
async receiptUpdateReceipt(updateReceiptBody: UpdateReceiptBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
5701
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.receiptUpdateReceipt(updateReceiptBody, options);
|
|
5702
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5703
|
+
},
|
|
5704
|
+
/**
|
|
5705
|
+
*
|
|
5706
|
+
* @param {ValidateReceiptImageBody} validateReceiptImageBody
|
|
5707
|
+
* @param {string} [xAccountId]
|
|
5708
|
+
* @param {*} [options] Override http request option.
|
|
5709
|
+
* @throws {RequiredError}
|
|
5710
|
+
*/
|
|
5711
|
+
async receiptValidateOcrReceiptImage(validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptData>> {
|
|
5712
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options);
|
|
5713
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5714
|
+
},
|
|
5715
|
+
/**
|
|
5716
|
+
*
|
|
5717
|
+
* @param {string} xAccountId
|
|
5718
|
+
* @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
|
|
5719
|
+
* @param {*} [options] Override http request option.
|
|
5720
|
+
* @throws {RequiredError}
|
|
5721
|
+
*/
|
|
5722
|
+
async registeredVehiclesCreate(xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
|
|
5723
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesCreate(xAccountId, createRegisteredVehicleBody, options);
|
|
5724
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5725
|
+
},
|
|
5726
|
+
/**
|
|
5727
|
+
*
|
|
5728
|
+
* @param {string} id
|
|
5729
|
+
* @param {*} [options] Override http request option.
|
|
5730
|
+
* @throws {RequiredError}
|
|
5731
|
+
*/
|
|
5732
|
+
async registeredVehiclesDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
|
|
5733
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesDelete(id, options);
|
|
5734
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5735
|
+
},
|
|
5736
|
+
/**
|
|
5737
|
+
*
|
|
5738
|
+
* @param {string} id
|
|
5739
|
+
* @param {*} [options] Override http request option.
|
|
5740
|
+
* @throws {RequiredError}
|
|
5741
|
+
*/
|
|
5742
|
+
async registeredVehiclesGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
|
|
5743
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGet(id, options);
|
|
5744
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5745
|
+
},
|
|
5746
|
+
/**
|
|
5747
|
+
*
|
|
5748
|
+
* @param {string} xAccountId
|
|
5749
|
+
* @param {*} [options] Override http request option.
|
|
5750
|
+
* @throws {RequiredError}
|
|
5751
|
+
*/
|
|
5752
|
+
async registeredVehiclesGetByAccountId(xAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleIndexResponse>> {
|
|
5753
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGetByAccountId(xAccountId, options);
|
|
5754
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5755
|
+
},
|
|
5756
|
+
/**
|
|
5757
|
+
*
|
|
5758
|
+
* @param {*} [options] Override http request option.
|
|
5759
|
+
* @throws {RequiredError}
|
|
5760
|
+
*/
|
|
5761
|
+
async registeredVehiclesIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RegisteredVehicleIndexResponse>>> {
|
|
5762
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesIndex(options);
|
|
5763
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5764
|
+
},
|
|
5765
|
+
/**
|
|
5766
|
+
*
|
|
5767
|
+
* @param {string} id
|
|
5768
|
+
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
5769
|
+
* @param {*} [options] Override http request option.
|
|
5770
|
+
* @throws {RequiredError}
|
|
5771
|
+
*/
|
|
5772
|
+
async registeredVehiclesUpdate(id: string, updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
|
|
5773
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesUpdate(id, updateRegisteredVehicleBody, options);
|
|
5774
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5775
|
+
},
|
|
5776
|
+
/**
|
|
5777
|
+
*
|
|
5778
|
+
* @param {*} [options] Override http request option.
|
|
5779
|
+
* @throws {RequiredError}
|
|
5780
|
+
*/
|
|
5781
|
+
async testTest(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TestTest200Response>> {
|
|
5782
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.testTest(options);
|
|
5783
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5784
|
+
},
|
|
5785
|
+
/**
|
|
5786
|
+
*
|
|
5787
|
+
* @param {CreateVehicleBrandBody} createVehicleBrandBody
|
|
5788
|
+
* @param {*} [options] Override http request option.
|
|
5789
|
+
* @throws {RequiredError}
|
|
5790
|
+
*/
|
|
5791
|
+
async vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
|
|
5792
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsCreate(createVehicleBrandBody, options);
|
|
5793
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5794
|
+
},
|
|
5795
|
+
/**
|
|
5796
|
+
*
|
|
5797
|
+
* @param {string} id
|
|
5798
|
+
* @param {*} [options] Override http request option.
|
|
5799
|
+
* @throws {RequiredError}
|
|
5800
|
+
*/
|
|
5801
|
+
async vehicleBrandsDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteVehicleBrandResponse>> {
|
|
5802
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsDelete(id, options);
|
|
5803
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5804
|
+
},
|
|
5805
|
+
/**
|
|
5806
|
+
*
|
|
5807
|
+
* @param {string} id
|
|
5808
|
+
* @param {*} [options] Override http request option.
|
|
5809
|
+
* @throws {RequiredError}
|
|
5810
|
+
*/
|
|
5811
|
+
async vehicleBrandsGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
|
|
5812
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsGet(id, options);
|
|
4605
5813
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4606
5814
|
},
|
|
4607
5815
|
/**
|
|
4608
5816
|
*
|
|
4609
|
-
* @param {
|
|
4610
|
-
* @param {string} [xAccountId]
|
|
5817
|
+
* @param {string} [name]
|
|
4611
5818
|
* @param {*} [options] Override http request option.
|
|
4612
5819
|
* @throws {RequiredError}
|
|
4613
5820
|
*/
|
|
4614
|
-
async
|
|
4615
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5821
|
+
async vehicleBrandsIndex(name?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleBrandIndexResponse>>> {
|
|
5822
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsIndex(name, options);
|
|
4616
5823
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4617
5824
|
},
|
|
4618
5825
|
/**
|
|
4619
5826
|
*
|
|
4620
5827
|
* @param {string} id
|
|
5828
|
+
* @param {UpdateVehicleBrandBody} updateVehicleBrandBody
|
|
4621
5829
|
* @param {*} [options] Override http request option.
|
|
4622
5830
|
* @throws {RequiredError}
|
|
4623
5831
|
*/
|
|
4624
|
-
async
|
|
4625
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5832
|
+
async vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VehicleBrandResponse>> {
|
|
5833
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsUpdate(id, updateVehicleBrandBody, options);
|
|
4626
5834
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4627
5835
|
},
|
|
4628
5836
|
/**
|
|
4629
5837
|
*
|
|
4630
|
-
* @param {
|
|
4631
|
-
* @param {string} [xAccountId]
|
|
5838
|
+
* @param {CreateVehicleModelBody} createVehicleModelBody
|
|
4632
5839
|
* @param {*} [options] Override http request option.
|
|
4633
5840
|
* @throws {RequiredError}
|
|
4634
5841
|
*/
|
|
4635
|
-
async
|
|
4636
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5842
|
+
async vehicleModelsCreate(createVehicleModelBody: CreateVehicleModelBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateVehicleModelResponse>> {
|
|
5843
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleModelsCreate(createVehicleModelBody, options);
|
|
4637
5844
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4638
5845
|
},
|
|
4639
5846
|
/**
|
|
4640
5847
|
*
|
|
4641
|
-
* @param {
|
|
5848
|
+
* @param {string} id
|
|
4642
5849
|
* @param {*} [options] Override http request option.
|
|
4643
5850
|
* @throws {RequiredError}
|
|
4644
5851
|
*/
|
|
4645
|
-
async
|
|
4646
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5852
|
+
async vehicleModelsDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteVehicleModelResponse>> {
|
|
5853
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleModelsDelete(id, options);
|
|
4647
5854
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4648
5855
|
},
|
|
4649
5856
|
/**
|
|
4650
5857
|
*
|
|
4651
|
-
* @param {
|
|
4652
|
-
* @param {string} [
|
|
5858
|
+
* @param {string} [name]
|
|
5859
|
+
* @param {string} [brandId]
|
|
4653
5860
|
* @param {*} [options] Override http request option.
|
|
4654
5861
|
* @throws {RequiredError}
|
|
4655
5862
|
*/
|
|
4656
|
-
async
|
|
4657
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5863
|
+
async vehicleModelsIndex(name?: string, brandId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VehicleModelIndexResponse>>> {
|
|
5864
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleModelsIndex(name, brandId, options);
|
|
4658
5865
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4659
5866
|
},
|
|
4660
5867
|
/**
|
|
4661
5868
|
*
|
|
5869
|
+
* @param {string} id
|
|
5870
|
+
* @param {UpdateVehicleModelBody} updateVehicleModelBody
|
|
4662
5871
|
* @param {*} [options] Override http request option.
|
|
4663
5872
|
* @throws {RequiredError}
|
|
4664
5873
|
*/
|
|
4665
|
-
async
|
|
4666
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5874
|
+
async vehicleModelsUpdate(id: string, updateVehicleModelBody: UpdateVehicleModelBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateVehicleModelResponse>> {
|
|
5875
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleModelsUpdate(id, updateVehicleModelBody, options);
|
|
4667
5876
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4668
5877
|
},
|
|
4669
5878
|
}
|
|
@@ -5036,6 +6245,61 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5036
6245
|
receiptValidateOcrReceiptImage(validateReceiptImageBody: ValidateReceiptImageBody, xAccountId?: string, options?: any): AxiosPromise<ReceiptData> {
|
|
5037
6246
|
return localVarFp.receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options).then((request) => request(axios, basePath));
|
|
5038
6247
|
},
|
|
6248
|
+
/**
|
|
6249
|
+
*
|
|
6250
|
+
* @param {string} xAccountId
|
|
6251
|
+
* @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
|
|
6252
|
+
* @param {*} [options] Override http request option.
|
|
6253
|
+
* @throws {RequiredError}
|
|
6254
|
+
*/
|
|
6255
|
+
registeredVehiclesCreate(xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options?: any): AxiosPromise<RegisteredVehicleResponse> {
|
|
6256
|
+
return localVarFp.registeredVehiclesCreate(xAccountId, createRegisteredVehicleBody, options).then((request) => request(axios, basePath));
|
|
6257
|
+
},
|
|
6258
|
+
/**
|
|
6259
|
+
*
|
|
6260
|
+
* @param {string} id
|
|
6261
|
+
* @param {*} [options] Override http request option.
|
|
6262
|
+
* @throws {RequiredError}
|
|
6263
|
+
*/
|
|
6264
|
+
registeredVehiclesDelete(id: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
|
|
6265
|
+
return localVarFp.registeredVehiclesDelete(id, options).then((request) => request(axios, basePath));
|
|
6266
|
+
},
|
|
6267
|
+
/**
|
|
6268
|
+
*
|
|
6269
|
+
* @param {string} id
|
|
6270
|
+
* @param {*} [options] Override http request option.
|
|
6271
|
+
* @throws {RequiredError}
|
|
6272
|
+
*/
|
|
6273
|
+
registeredVehiclesGet(id: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
|
|
6274
|
+
return localVarFp.registeredVehiclesGet(id, options).then((request) => request(axios, basePath));
|
|
6275
|
+
},
|
|
6276
|
+
/**
|
|
6277
|
+
*
|
|
6278
|
+
* @param {string} xAccountId
|
|
6279
|
+
* @param {*} [options] Override http request option.
|
|
6280
|
+
* @throws {RequiredError}
|
|
6281
|
+
*/
|
|
6282
|
+
registeredVehiclesGetByAccountId(xAccountId: string, options?: any): AxiosPromise<RegisteredVehicleIndexResponse> {
|
|
6283
|
+
return localVarFp.registeredVehiclesGetByAccountId(xAccountId, options).then((request) => request(axios, basePath));
|
|
6284
|
+
},
|
|
6285
|
+
/**
|
|
6286
|
+
*
|
|
6287
|
+
* @param {*} [options] Override http request option.
|
|
6288
|
+
* @throws {RequiredError}
|
|
6289
|
+
*/
|
|
6290
|
+
registeredVehiclesIndex(options?: any): AxiosPromise<Array<RegisteredVehicleIndexResponse>> {
|
|
6291
|
+
return localVarFp.registeredVehiclesIndex(options).then((request) => request(axios, basePath));
|
|
6292
|
+
},
|
|
6293
|
+
/**
|
|
6294
|
+
*
|
|
6295
|
+
* @param {string} id
|
|
6296
|
+
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
6297
|
+
* @param {*} [options] Override http request option.
|
|
6298
|
+
* @throws {RequiredError}
|
|
6299
|
+
*/
|
|
6300
|
+
registeredVehiclesUpdate(id: string, updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, options?: any): AxiosPromise<RegisteredVehicleResponse> {
|
|
6301
|
+
return localVarFp.registeredVehiclesUpdate(id, updateRegisteredVehicleBody, options).then((request) => request(axios, basePath));
|
|
6302
|
+
},
|
|
5039
6303
|
/**
|
|
5040
6304
|
*
|
|
5041
6305
|
* @param {*} [options] Override http request option.
|
|
@@ -5044,6 +6308,90 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5044
6308
|
testTest(options?: any): AxiosPromise<TestTest200Response> {
|
|
5045
6309
|
return localVarFp.testTest(options).then((request) => request(axios, basePath));
|
|
5046
6310
|
},
|
|
6311
|
+
/**
|
|
6312
|
+
*
|
|
6313
|
+
* @param {CreateVehicleBrandBody} createVehicleBrandBody
|
|
6314
|
+
* @param {*} [options] Override http request option.
|
|
6315
|
+
* @throws {RequiredError}
|
|
6316
|
+
*/
|
|
6317
|
+
vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
|
|
6318
|
+
return localVarFp.vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(axios, basePath));
|
|
6319
|
+
},
|
|
6320
|
+
/**
|
|
6321
|
+
*
|
|
6322
|
+
* @param {string} id
|
|
6323
|
+
* @param {*} [options] Override http request option.
|
|
6324
|
+
* @throws {RequiredError}
|
|
6325
|
+
*/
|
|
6326
|
+
vehicleBrandsDelete(id: string, options?: any): AxiosPromise<DeleteVehicleBrandResponse> {
|
|
6327
|
+
return localVarFp.vehicleBrandsDelete(id, options).then((request) => request(axios, basePath));
|
|
6328
|
+
},
|
|
6329
|
+
/**
|
|
6330
|
+
*
|
|
6331
|
+
* @param {string} id
|
|
6332
|
+
* @param {*} [options] Override http request option.
|
|
6333
|
+
* @throws {RequiredError}
|
|
6334
|
+
*/
|
|
6335
|
+
vehicleBrandsGet(id: string, options?: any): AxiosPromise<VehicleBrandResponse> {
|
|
6336
|
+
return localVarFp.vehicleBrandsGet(id, options).then((request) => request(axios, basePath));
|
|
6337
|
+
},
|
|
6338
|
+
/**
|
|
6339
|
+
*
|
|
6340
|
+
* @param {string} [name]
|
|
6341
|
+
* @param {*} [options] Override http request option.
|
|
6342
|
+
* @throws {RequiredError}
|
|
6343
|
+
*/
|
|
6344
|
+
vehicleBrandsIndex(name?: string, options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>> {
|
|
6345
|
+
return localVarFp.vehicleBrandsIndex(name, options).then((request) => request(axios, basePath));
|
|
6346
|
+
},
|
|
6347
|
+
/**
|
|
6348
|
+
*
|
|
6349
|
+
* @param {string} id
|
|
6350
|
+
* @param {UpdateVehicleBrandBody} updateVehicleBrandBody
|
|
6351
|
+
* @param {*} [options] Override http request option.
|
|
6352
|
+
* @throws {RequiredError}
|
|
6353
|
+
*/
|
|
6354
|
+
vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: any): AxiosPromise<VehicleBrandResponse> {
|
|
6355
|
+
return localVarFp.vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(axios, basePath));
|
|
6356
|
+
},
|
|
6357
|
+
/**
|
|
6358
|
+
*
|
|
6359
|
+
* @param {CreateVehicleModelBody} createVehicleModelBody
|
|
6360
|
+
* @param {*} [options] Override http request option.
|
|
6361
|
+
* @throws {RequiredError}
|
|
6362
|
+
*/
|
|
6363
|
+
vehicleModelsCreate(createVehicleModelBody: CreateVehicleModelBody, options?: any): AxiosPromise<CreateVehicleModelResponse> {
|
|
6364
|
+
return localVarFp.vehicleModelsCreate(createVehicleModelBody, options).then((request) => request(axios, basePath));
|
|
6365
|
+
},
|
|
6366
|
+
/**
|
|
6367
|
+
*
|
|
6368
|
+
* @param {string} id
|
|
6369
|
+
* @param {*} [options] Override http request option.
|
|
6370
|
+
* @throws {RequiredError}
|
|
6371
|
+
*/
|
|
6372
|
+
vehicleModelsDelete(id: string, options?: any): AxiosPromise<DeleteVehicleModelResponse> {
|
|
6373
|
+
return localVarFp.vehicleModelsDelete(id, options).then((request) => request(axios, basePath));
|
|
6374
|
+
},
|
|
6375
|
+
/**
|
|
6376
|
+
*
|
|
6377
|
+
* @param {string} [name]
|
|
6378
|
+
* @param {string} [brandId]
|
|
6379
|
+
* @param {*} [options] Override http request option.
|
|
6380
|
+
* @throws {RequiredError}
|
|
6381
|
+
*/
|
|
6382
|
+
vehicleModelsIndex(name?: string, brandId?: string, options?: any): AxiosPromise<Array<VehicleModelIndexResponse>> {
|
|
6383
|
+
return localVarFp.vehicleModelsIndex(name, brandId, options).then((request) => request(axios, basePath));
|
|
6384
|
+
},
|
|
6385
|
+
/**
|
|
6386
|
+
*
|
|
6387
|
+
* @param {string} id
|
|
6388
|
+
* @param {UpdateVehicleModelBody} updateVehicleModelBody
|
|
6389
|
+
* @param {*} [options] Override http request option.
|
|
6390
|
+
* @throws {RequiredError}
|
|
6391
|
+
*/
|
|
6392
|
+
vehicleModelsUpdate(id: string, updateVehicleModelBody: UpdateVehicleModelBody, options?: any): AxiosPromise<UpdateVehicleModelResponse> {
|
|
6393
|
+
return localVarFp.vehicleModelsUpdate(id, updateVehicleModelBody, options).then((request) => request(axios, basePath));
|
|
6394
|
+
},
|
|
5047
6395
|
};
|
|
5048
6396
|
};
|
|
5049
6397
|
|
|
@@ -5482,6 +6830,73 @@ export class DefaultApi extends BaseAPI {
|
|
|
5482
6830
|
return DefaultApiFp(this.configuration).receiptValidateOcrReceiptImage(validateReceiptImageBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
5483
6831
|
}
|
|
5484
6832
|
|
|
6833
|
+
/**
|
|
6834
|
+
*
|
|
6835
|
+
* @param {string} xAccountId
|
|
6836
|
+
* @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
|
|
6837
|
+
* @param {*} [options] Override http request option.
|
|
6838
|
+
* @throws {RequiredError}
|
|
6839
|
+
* @memberof DefaultApi
|
|
6840
|
+
*/
|
|
6841
|
+
public registeredVehiclesCreate(xAccountId: string, createRegisteredVehicleBody: CreateRegisteredVehicleBody, options?: AxiosRequestConfig) {
|
|
6842
|
+
return DefaultApiFp(this.configuration).registeredVehiclesCreate(xAccountId, createRegisteredVehicleBody, options).then((request) => request(this.axios, this.basePath));
|
|
6843
|
+
}
|
|
6844
|
+
|
|
6845
|
+
/**
|
|
6846
|
+
*
|
|
6847
|
+
* @param {string} id
|
|
6848
|
+
* @param {*} [options] Override http request option.
|
|
6849
|
+
* @throws {RequiredError}
|
|
6850
|
+
* @memberof DefaultApi
|
|
6851
|
+
*/
|
|
6852
|
+
public registeredVehiclesDelete(id: string, options?: AxiosRequestConfig) {
|
|
6853
|
+
return DefaultApiFp(this.configuration).registeredVehiclesDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
6854
|
+
}
|
|
6855
|
+
|
|
6856
|
+
/**
|
|
6857
|
+
*
|
|
6858
|
+
* @param {string} id
|
|
6859
|
+
* @param {*} [options] Override http request option.
|
|
6860
|
+
* @throws {RequiredError}
|
|
6861
|
+
* @memberof DefaultApi
|
|
6862
|
+
*/
|
|
6863
|
+
public registeredVehiclesGet(id: string, options?: AxiosRequestConfig) {
|
|
6864
|
+
return DefaultApiFp(this.configuration).registeredVehiclesGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
6865
|
+
}
|
|
6866
|
+
|
|
6867
|
+
/**
|
|
6868
|
+
*
|
|
6869
|
+
* @param {string} xAccountId
|
|
6870
|
+
* @param {*} [options] Override http request option.
|
|
6871
|
+
* @throws {RequiredError}
|
|
6872
|
+
* @memberof DefaultApi
|
|
6873
|
+
*/
|
|
6874
|
+
public registeredVehiclesGetByAccountId(xAccountId: string, options?: AxiosRequestConfig) {
|
|
6875
|
+
return DefaultApiFp(this.configuration).registeredVehiclesGetByAccountId(xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
6876
|
+
}
|
|
6877
|
+
|
|
6878
|
+
/**
|
|
6879
|
+
*
|
|
6880
|
+
* @param {*} [options] Override http request option.
|
|
6881
|
+
* @throws {RequiredError}
|
|
6882
|
+
* @memberof DefaultApi
|
|
6883
|
+
*/
|
|
6884
|
+
public registeredVehiclesIndex(options?: AxiosRequestConfig) {
|
|
6885
|
+
return DefaultApiFp(this.configuration).registeredVehiclesIndex(options).then((request) => request(this.axios, this.basePath));
|
|
6886
|
+
}
|
|
6887
|
+
|
|
6888
|
+
/**
|
|
6889
|
+
*
|
|
6890
|
+
* @param {string} id
|
|
6891
|
+
* @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
|
|
6892
|
+
* @param {*} [options] Override http request option.
|
|
6893
|
+
* @throws {RequiredError}
|
|
6894
|
+
* @memberof DefaultApi
|
|
6895
|
+
*/
|
|
6896
|
+
public registeredVehiclesUpdate(id: string, updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, options?: AxiosRequestConfig) {
|
|
6897
|
+
return DefaultApiFp(this.configuration).registeredVehiclesUpdate(id, updateRegisteredVehicleBody, options).then((request) => request(this.axios, this.basePath));
|
|
6898
|
+
}
|
|
6899
|
+
|
|
5485
6900
|
/**
|
|
5486
6901
|
*
|
|
5487
6902
|
* @param {*} [options] Override http request option.
|
|
@@ -5491,6 +6906,108 @@ export class DefaultApi extends BaseAPI {
|
|
|
5491
6906
|
public testTest(options?: AxiosRequestConfig) {
|
|
5492
6907
|
return DefaultApiFp(this.configuration).testTest(options).then((request) => request(this.axios, this.basePath));
|
|
5493
6908
|
}
|
|
6909
|
+
|
|
6910
|
+
/**
|
|
6911
|
+
*
|
|
6912
|
+
* @param {CreateVehicleBrandBody} createVehicleBrandBody
|
|
6913
|
+
* @param {*} [options] Override http request option.
|
|
6914
|
+
* @throws {RequiredError}
|
|
6915
|
+
* @memberof DefaultApi
|
|
6916
|
+
*/
|
|
6917
|
+
public vehicleBrandsCreate(createVehicleBrandBody: CreateVehicleBrandBody, options?: AxiosRequestConfig) {
|
|
6918
|
+
return DefaultApiFp(this.configuration).vehicleBrandsCreate(createVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
|
|
6919
|
+
}
|
|
6920
|
+
|
|
6921
|
+
/**
|
|
6922
|
+
*
|
|
6923
|
+
* @param {string} id
|
|
6924
|
+
* @param {*} [options] Override http request option.
|
|
6925
|
+
* @throws {RequiredError}
|
|
6926
|
+
* @memberof DefaultApi
|
|
6927
|
+
*/
|
|
6928
|
+
public vehicleBrandsDelete(id: string, options?: AxiosRequestConfig) {
|
|
6929
|
+
return DefaultApiFp(this.configuration).vehicleBrandsDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
6930
|
+
}
|
|
6931
|
+
|
|
6932
|
+
/**
|
|
6933
|
+
*
|
|
6934
|
+
* @param {string} id
|
|
6935
|
+
* @param {*} [options] Override http request option.
|
|
6936
|
+
* @throws {RequiredError}
|
|
6937
|
+
* @memberof DefaultApi
|
|
6938
|
+
*/
|
|
6939
|
+
public vehicleBrandsGet(id: string, options?: AxiosRequestConfig) {
|
|
6940
|
+
return DefaultApiFp(this.configuration).vehicleBrandsGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
6941
|
+
}
|
|
6942
|
+
|
|
6943
|
+
/**
|
|
6944
|
+
*
|
|
6945
|
+
* @param {string} [name]
|
|
6946
|
+
* @param {*} [options] Override http request option.
|
|
6947
|
+
* @throws {RequiredError}
|
|
6948
|
+
* @memberof DefaultApi
|
|
6949
|
+
*/
|
|
6950
|
+
public vehicleBrandsIndex(name?: string, options?: AxiosRequestConfig) {
|
|
6951
|
+
return DefaultApiFp(this.configuration).vehicleBrandsIndex(name, options).then((request) => request(this.axios, this.basePath));
|
|
6952
|
+
}
|
|
6953
|
+
|
|
6954
|
+
/**
|
|
6955
|
+
*
|
|
6956
|
+
* @param {string} id
|
|
6957
|
+
* @param {UpdateVehicleBrandBody} updateVehicleBrandBody
|
|
6958
|
+
* @param {*} [options] Override http request option.
|
|
6959
|
+
* @throws {RequiredError}
|
|
6960
|
+
* @memberof DefaultApi
|
|
6961
|
+
*/
|
|
6962
|
+
public vehicleBrandsUpdate(id: string, updateVehicleBrandBody: UpdateVehicleBrandBody, options?: AxiosRequestConfig) {
|
|
6963
|
+
return DefaultApiFp(this.configuration).vehicleBrandsUpdate(id, updateVehicleBrandBody, options).then((request) => request(this.axios, this.basePath));
|
|
6964
|
+
}
|
|
6965
|
+
|
|
6966
|
+
/**
|
|
6967
|
+
*
|
|
6968
|
+
* @param {CreateVehicleModelBody} createVehicleModelBody
|
|
6969
|
+
* @param {*} [options] Override http request option.
|
|
6970
|
+
* @throws {RequiredError}
|
|
6971
|
+
* @memberof DefaultApi
|
|
6972
|
+
*/
|
|
6973
|
+
public vehicleModelsCreate(createVehicleModelBody: CreateVehicleModelBody, options?: AxiosRequestConfig) {
|
|
6974
|
+
return DefaultApiFp(this.configuration).vehicleModelsCreate(createVehicleModelBody, options).then((request) => request(this.axios, this.basePath));
|
|
6975
|
+
}
|
|
6976
|
+
|
|
6977
|
+
/**
|
|
6978
|
+
*
|
|
6979
|
+
* @param {string} id
|
|
6980
|
+
* @param {*} [options] Override http request option.
|
|
6981
|
+
* @throws {RequiredError}
|
|
6982
|
+
* @memberof DefaultApi
|
|
6983
|
+
*/
|
|
6984
|
+
public vehicleModelsDelete(id: string, options?: AxiosRequestConfig) {
|
|
6985
|
+
return DefaultApiFp(this.configuration).vehicleModelsDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
6986
|
+
}
|
|
6987
|
+
|
|
6988
|
+
/**
|
|
6989
|
+
*
|
|
6990
|
+
* @param {string} [name]
|
|
6991
|
+
* @param {string} [brandId]
|
|
6992
|
+
* @param {*} [options] Override http request option.
|
|
6993
|
+
* @throws {RequiredError}
|
|
6994
|
+
* @memberof DefaultApi
|
|
6995
|
+
*/
|
|
6996
|
+
public vehicleModelsIndex(name?: string, brandId?: string, options?: AxiosRequestConfig) {
|
|
6997
|
+
return DefaultApiFp(this.configuration).vehicleModelsIndex(name, brandId, options).then((request) => request(this.axios, this.basePath));
|
|
6998
|
+
}
|
|
6999
|
+
|
|
7000
|
+
/**
|
|
7001
|
+
*
|
|
7002
|
+
* @param {string} id
|
|
7003
|
+
* @param {UpdateVehicleModelBody} updateVehicleModelBody
|
|
7004
|
+
* @param {*} [options] Override http request option.
|
|
7005
|
+
* @throws {RequiredError}
|
|
7006
|
+
* @memberof DefaultApi
|
|
7007
|
+
*/
|
|
7008
|
+
public vehicleModelsUpdate(id: string, updateVehicleModelBody: UpdateVehicleModelBody, options?: AxiosRequestConfig) {
|
|
7009
|
+
return DefaultApiFp(this.configuration).vehicleModelsUpdate(id, updateVehicleModelBody, options).then((request) => request(this.axios, this.basePath));
|
|
7010
|
+
}
|
|
5494
7011
|
}
|
|
5495
7012
|
|
|
5496
7013
|
|