@ampeco/public-api-mcp 0.4.0 → 3.98.1
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/dist/generated/build-stats.json +8 -8
- package/dist/generated/endpoints.json +395 -32
- package/dist/generated/response-schemas.json +910 -236
- package/dist/generated/schemas.d.ts +280 -95
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +77 -18
- package/dist/generated/schemas.js.map +1 -1
- package/dist/generated/schemas.ts +79 -18
- package/package.json +1 -1
|
@@ -300,6 +300,19 @@ export const flexibilityAssetCreateActivationRequestBody = z.object({
|
|
|
300
300
|
|
|
301
301
|
// POST /public-api/actions/id-tag/v1.0/{idTag}/reissue-emaid
|
|
302
302
|
|
|
303
|
+
// POST /public-api/actions/installer-job/v1.0/{installerJob}/assign-charge-points
|
|
304
|
+
export const assignInstallerJobChargePointsBody = z.object({
|
|
305
|
+
chargePointIds: z.array(z.number().int()).optional(),
|
|
306
|
+
chargingZoneId: z.number().int().optional(),
|
|
307
|
+
locationId: z.number().int().optional()
|
|
308
|
+
});
|
|
309
|
+
|
|
310
|
+
// POST /public-api/actions/installer-job/v1.0/{installerJob}/change-status
|
|
311
|
+
export const changeInstallerJobStatusBody = z.object({
|
|
312
|
+
status: z.enum(["new", "in_progress", "completed", "failed"]),
|
|
313
|
+
outcomeDetails: z.string().optional()
|
|
314
|
+
});
|
|
315
|
+
|
|
303
316
|
// POST /public-api/actions/locations/v2.0/{location}/check-booking-availability
|
|
304
317
|
export const locationCheckBookingAvailabilityBody = z.object({
|
|
305
318
|
startAfter: z.string().datetime(),
|
|
@@ -2718,7 +2731,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2718
2731
|
id: z.number().int().optional(),
|
|
2719
2732
|
name: z.string(),
|
|
2720
2733
|
integrationId: z.number().int(),
|
|
2721
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]),
|
|
2734
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2722
2735
|
operatorId: z.number().int(),
|
|
2723
2736
|
chargingZoneId: z.number().int().optional(),
|
|
2724
2737
|
chargePointId: z.number().int().optional(),
|
|
@@ -2745,7 +2758,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2745
2758
|
id: z.number().int().optional(),
|
|
2746
2759
|
name: z.string(),
|
|
2747
2760
|
integrationId: z.number().int(),
|
|
2748
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]),
|
|
2761
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2749
2762
|
operatorId: z.number().int(),
|
|
2750
2763
|
chargingZoneId: z.number().int().optional(),
|
|
2751
2764
|
chargePointId: z.number().int().optional(),
|
|
@@ -2755,7 +2768,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2755
2768
|
id: z.number().int().optional(),
|
|
2756
2769
|
name: z.string(),
|
|
2757
2770
|
integrationId: z.number().int(),
|
|
2758
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]),
|
|
2771
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2759
2772
|
operatorId: z.number().int(),
|
|
2760
2773
|
chargingZoneId: z.number().int().optional(),
|
|
2761
2774
|
chargePointId: z.number().int().optional(),
|
|
@@ -2767,7 +2780,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2767
2780
|
id: z.number().int().optional(),
|
|
2768
2781
|
name: z.string(),
|
|
2769
2782
|
integrationId: z.number().int(),
|
|
2770
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]),
|
|
2783
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2771
2784
|
operatorId: z.number().int(),
|
|
2772
2785
|
chargingZoneId: z.number().int().optional(),
|
|
2773
2786
|
chargePointId: z.number().int().optional(),
|
|
@@ -2778,7 +2791,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2778
2791
|
id: z.number().int().optional(),
|
|
2779
2792
|
name: z.string(),
|
|
2780
2793
|
integrationId: z.number().int(),
|
|
2781
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]),
|
|
2794
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2782
2795
|
operatorId: z.number().int(),
|
|
2783
2796
|
chargingZoneId: z.number().int().optional(),
|
|
2784
2797
|
chargePointId: z.number().int().optional(),
|
|
@@ -2788,7 +2801,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2788
2801
|
id: z.number().int().optional(),
|
|
2789
2802
|
name: z.string(),
|
|
2790
2803
|
integrationId: z.number().int(),
|
|
2791
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]),
|
|
2804
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2792
2805
|
operatorId: z.number().int(),
|
|
2793
2806
|
chargingZoneId: z.number().int().optional(),
|
|
2794
2807
|
chargePointId: z.number().int().optional(),
|
|
@@ -2805,7 +2818,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2805
2818
|
id: z.number().int().optional(),
|
|
2806
2819
|
name: z.string(),
|
|
2807
2820
|
integrationId: z.number().int(),
|
|
2808
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]),
|
|
2821
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2809
2822
|
operatorId: z.number().int(),
|
|
2810
2823
|
chargingZoneId: z.number().int().optional(),
|
|
2811
2824
|
chargePointId: z.number().int().optional(),
|
|
@@ -2815,7 +2828,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2815
2828
|
id: z.number().int().optional(),
|
|
2816
2829
|
name: z.string(),
|
|
2817
2830
|
integrationId: z.number().int(),
|
|
2818
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]),
|
|
2831
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2819
2832
|
operatorId: z.number().int(),
|
|
2820
2833
|
invoiceFields: z.array(z.object({
|
|
2821
2834
|
field: z.string(),
|
|
@@ -2826,7 +2839,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2826
2839
|
id: z.number().int().optional(),
|
|
2827
2840
|
name: z.string(),
|
|
2828
2841
|
integrationId: z.number().int(),
|
|
2829
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]),
|
|
2842
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2830
2843
|
operatorId: z.number().int(),
|
|
2831
2844
|
chargingZoneId: z.number().int().optional(),
|
|
2832
2845
|
chargePointId: z.number().int().optional(),
|
|
@@ -2846,6 +2859,33 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2846
2859
|
adyenApiKey: z.string(),
|
|
2847
2860
|
supportedLanguages: z.array(z.string()).optional(),
|
|
2848
2861
|
networkStatusMonitoringEnabled: z.boolean().optional()
|
|
2862
|
+
}), z.object({
|
|
2863
|
+
id: z.number().int().optional(),
|
|
2864
|
+
name: z.string(),
|
|
2865
|
+
integrationId: z.number().int(),
|
|
2866
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2867
|
+
operatorId: z.number().int(),
|
|
2868
|
+
chargingZoneId: z.number().int().optional(),
|
|
2869
|
+
chargePointId: z.number().int().optional(),
|
|
2870
|
+
adminToken: z.string().optional(),
|
|
2871
|
+
networkStatus: z.enum(["online", "offline", "unknown"]).optional(),
|
|
2872
|
+
phone: z.string(),
|
|
2873
|
+
defaultLanguage: z.string(),
|
|
2874
|
+
presentCardOnStopSession: z.boolean().optional(),
|
|
2875
|
+
info: z.array(z.object({
|
|
2876
|
+
locale: z.string().optional(),
|
|
2877
|
+
translation: z.string().optional()
|
|
2878
|
+
})),
|
|
2879
|
+
currencyCode: z.string().optional(),
|
|
2880
|
+
countryCode: z.string().optional(),
|
|
2881
|
+
serialNumber: z.string().optional(),
|
|
2882
|
+
externalId: z.string().optional(),
|
|
2883
|
+
supportedLanguages: z.array(z.string()).optional(),
|
|
2884
|
+
bundle: z.object({
|
|
2885
|
+
version: z.string().optional(),
|
|
2886
|
+
downloadUrl: z.string().optional()
|
|
2887
|
+
}),
|
|
2888
|
+
networkStatusMonitoringEnabled: z.boolean().optional()
|
|
2849
2889
|
})]);
|
|
2850
2890
|
|
|
2851
2891
|
// GET /public-api/resources/payment-terminals/v1.0/{paymentTerminal}
|
|
@@ -2863,7 +2903,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2863
2903
|
id: z.number().int().optional(),
|
|
2864
2904
|
name: z.string().optional(),
|
|
2865
2905
|
integrationId: z.number().int().optional(),
|
|
2866
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]).optional(),
|
|
2906
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
2867
2907
|
operatorId: z.number().int().optional(),
|
|
2868
2908
|
chargingZoneId: z.number().int().optional(),
|
|
2869
2909
|
chargePointId: z.number().int().optional(),
|
|
@@ -2884,7 +2924,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2884
2924
|
id: z.number().int().optional(),
|
|
2885
2925
|
name: z.string().optional(),
|
|
2886
2926
|
integrationId: z.number().int().optional(),
|
|
2887
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]).optional(),
|
|
2927
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
2888
2928
|
operatorId: z.number().int().optional(),
|
|
2889
2929
|
chargingZoneId: z.number().int().optional(),
|
|
2890
2930
|
chargePointId: z.number().int().optional(),
|
|
@@ -2894,7 +2934,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2894
2934
|
id: z.number().int().optional(),
|
|
2895
2935
|
name: z.string().optional(),
|
|
2896
2936
|
integrationId: z.number().int().optional(),
|
|
2897
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]).optional(),
|
|
2937
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
2898
2938
|
operatorId: z.number().int().optional(),
|
|
2899
2939
|
chargingZoneId: z.number().int().optional(),
|
|
2900
2940
|
chargePointId: z.number().int().optional(),
|
|
@@ -2906,7 +2946,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2906
2946
|
id: z.number().int().optional(),
|
|
2907
2947
|
name: z.string().optional(),
|
|
2908
2948
|
integrationId: z.number().int().optional(),
|
|
2909
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]).optional(),
|
|
2949
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
2910
2950
|
operatorId: z.number().int().optional(),
|
|
2911
2951
|
chargingZoneId: z.number().int().optional(),
|
|
2912
2952
|
chargePointId: z.number().int().optional(),
|
|
@@ -2917,7 +2957,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2917
2957
|
id: z.number().int().optional(),
|
|
2918
2958
|
name: z.string().optional(),
|
|
2919
2959
|
integrationId: z.number().int().optional(),
|
|
2920
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]).optional(),
|
|
2960
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
2921
2961
|
operatorId: z.number().int().optional(),
|
|
2922
2962
|
chargingZoneId: z.number().int().optional(),
|
|
2923
2963
|
chargePointId: z.number().int().optional(),
|
|
@@ -2927,7 +2967,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2927
2967
|
id: z.number().int().optional(),
|
|
2928
2968
|
name: z.string().optional(),
|
|
2929
2969
|
integrationId: z.number().int().optional(),
|
|
2930
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]).optional(),
|
|
2970
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
2931
2971
|
operatorId: z.number().int().optional(),
|
|
2932
2972
|
chargingZoneId: z.number().int().optional(),
|
|
2933
2973
|
chargePointId: z.number().int().optional(),
|
|
@@ -2944,7 +2984,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2944
2984
|
id: z.number().int().optional(),
|
|
2945
2985
|
name: z.string().optional(),
|
|
2946
2986
|
integrationId: z.number().int().optional(),
|
|
2947
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]).optional(),
|
|
2987
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
2948
2988
|
operatorId: z.number().int().optional(),
|
|
2949
2989
|
chargingZoneId: z.number().int().optional(),
|
|
2950
2990
|
chargePointId: z.number().int().optional(),
|
|
@@ -2954,13 +2994,13 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2954
2994
|
id: z.number().int().optional(),
|
|
2955
2995
|
name: z.string().optional(),
|
|
2956
2996
|
integrationId: z.number().int().optional(),
|
|
2957
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]).optional(),
|
|
2997
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
2958
2998
|
operatorId: z.number().int().optional()
|
|
2959
2999
|
}), z.object({
|
|
2960
3000
|
id: z.number().int().optional(),
|
|
2961
3001
|
name: z.string().optional(),
|
|
2962
3002
|
integrationId: z.number().int().optional(),
|
|
2963
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles"]).optional(),
|
|
3003
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
2964
3004
|
operatorId: z.number().int().optional(),
|
|
2965
3005
|
chargingZoneId: z.number().int().optional(),
|
|
2966
3006
|
chargePointId: z.number().int().optional(),
|
|
@@ -2979,6 +3019,27 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2979
3019
|
adyenApiKey: z.string().optional(),
|
|
2980
3020
|
supportedLanguages: z.array(z.string()).optional(),
|
|
2981
3021
|
networkStatusMonitoringEnabled: z.boolean().optional()
|
|
3022
|
+
}), z.object({
|
|
3023
|
+
id: z.number().int().optional(),
|
|
3024
|
+
name: z.string().optional(),
|
|
3025
|
+
integrationId: z.number().int().optional(),
|
|
3026
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
3027
|
+
operatorId: z.number().int().optional(),
|
|
3028
|
+
chargingZoneId: z.number().int().optional(),
|
|
3029
|
+
chargePointId: z.number().int().optional(),
|
|
3030
|
+
adminToken: z.string().optional(),
|
|
3031
|
+
networkStatus: z.enum(["online", "offline", "unknown"]).optional(),
|
|
3032
|
+
phone: z.string().optional(),
|
|
3033
|
+
defaultLanguage: z.string().optional(),
|
|
3034
|
+
presentCardOnStopSession: z.boolean().optional(),
|
|
3035
|
+
info: z.array(z.object({
|
|
3036
|
+
locale: z.string().optional(),
|
|
3037
|
+
translation: z.string().optional()
|
|
3038
|
+
})).optional(),
|
|
3039
|
+
serialNumber: z.string().optional(),
|
|
3040
|
+
externalId: z.string().optional(),
|
|
3041
|
+
supportedLanguages: z.array(z.string()).optional(),
|
|
3042
|
+
networkStatusMonitoringEnabled: z.boolean().optional()
|
|
2982
3043
|
})]);
|
|
2983
3044
|
|
|
2984
3045
|
// GET /public-api/resources/provisioning-certificates/v2.0
|
package/package.json
CHANGED