@ampeco/public-api-mcp 3.247.2 → 3.248.0
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 +9 -9
- package/dist/generated/endpoints.json +412 -141
- package/dist/generated/response-schemas.json +8186 -5001
- package/dist/generated/schemas.d.ts +225 -138
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +72 -46
- package/dist/generated/schemas.js.map +1 -1
- package/dist/generated/schemas.ts +76 -47
- package/package.json +1 -1
|
@@ -437,11 +437,26 @@ export const partnerInvoiceUpdateExternalIdBody = z.object({
|
|
|
437
437
|
|
|
438
438
|
// POST /public-api/actions/partner-settlement-report/v1.0/{partnerSettlementReport}/issue-partner-invoice
|
|
439
439
|
|
|
440
|
+
// POST /public-api/actions/partner-settlement-report/v1.0/{partnerSettlementReport}/set-custom-fields
|
|
441
|
+
export const partnerSettlementReportSetCustomFieldsBody = z.object({
|
|
442
|
+
customFields: z.record(z.unknown())
|
|
443
|
+
}).strict();
|
|
444
|
+
|
|
440
445
|
// POST /public-api/actions/partner-settlement-report/v1.0/{partnerSettlementReport}/update-external-id
|
|
441
446
|
export const partnerSettlementReportUpdateExternalIdBody = z.object({
|
|
442
447
|
externalId: z.string().max(255)
|
|
443
448
|
});
|
|
444
449
|
|
|
450
|
+
// POST /public-api/actions/partner/v1.0/{partner}/set-custom-fields
|
|
451
|
+
export const partnerSetCustomFieldsV1_0Body = z.object({
|
|
452
|
+
customFields: z.record(z.unknown())
|
|
453
|
+
}).strict();
|
|
454
|
+
|
|
455
|
+
// POST /public-api/actions/payment-terminal/v1.0/{paymentTerminal}/set-custom-fields
|
|
456
|
+
export const paymentTerminalSetCustomFieldsBody = z.object({
|
|
457
|
+
customFields: z.record(z.unknown())
|
|
458
|
+
}).strict();
|
|
459
|
+
|
|
445
460
|
// POST /public-api/actions/provisioning-certificate/v1.0/{provisioningCertificate}/issue-emaid
|
|
446
461
|
export const certificateIssueAnEmaidBody = z.object({
|
|
447
462
|
paymentMethod: z.string().optional(),
|
|
@@ -544,6 +559,11 @@ export const sessionRetryPaymentBody = z.object({
|
|
|
544
559
|
paymentMethodId: z.number().int().optional()
|
|
545
560
|
});
|
|
546
561
|
|
|
562
|
+
// POST /public-api/actions/session/v1.0/{session}/set-custom-fields
|
|
563
|
+
export const sessionSetCustomFieldsBody = z.object({
|
|
564
|
+
customFields: z.record(z.unknown())
|
|
565
|
+
}).strict();
|
|
566
|
+
|
|
547
567
|
// POST /public-api/actions/subscription-plans/v1.0/{subscriptionPlan}/replace
|
|
548
568
|
export const subscriptionPlanReplaceBody = z.object({
|
|
549
569
|
planId: z.number().int(),
|
|
@@ -1068,13 +1088,7 @@ export const chargePointCreateBody = z.object({
|
|
|
1068
1088
|
electricityCostReimbursementIntegrationId: z.number().int().optional(),
|
|
1069
1089
|
installationAndMaintenanceCompanyId: z.number().int().optional(),
|
|
1070
1090
|
countryStationId: z.string().max(255).optional(),
|
|
1071
|
-
calibrationLawDataAvailability: z.enum(["local", "not_available"]).optional()
|
|
1072
|
-
powerSharing: z.object({
|
|
1073
|
-
enabled: z.boolean(),
|
|
1074
|
-
managementMode: z.enum(["static", "dynamic"]).optional(),
|
|
1075
|
-
totalCabinetPowerKw: z.number().int().min(1).optional(),
|
|
1076
|
-
moduleSizeKw: z.number().int().min(1).optional()
|
|
1077
|
-
}).optional()
|
|
1091
|
+
calibrationLawDataAvailability: z.enum(["local", "not_available"]).optional()
|
|
1078
1092
|
});
|
|
1079
1093
|
|
|
1080
1094
|
// GET /public-api/resources/charge-points/v2.0/{chargePoint}
|
|
@@ -1094,12 +1108,6 @@ export const chargePointUpdateBody = z.object({
|
|
|
1094
1108
|
installationAndMaintenanceCompanyId: z.number().int().optional(),
|
|
1095
1109
|
countryStationId: z.string().max(255).optional(),
|
|
1096
1110
|
calibrationLawDataAvailability: z.enum(["local", "not_available"]).optional(),
|
|
1097
|
-
powerSharing: z.object({
|
|
1098
|
-
enabled: z.boolean().optional(),
|
|
1099
|
-
managementMode: z.enum(["static", "dynamic"]).optional(),
|
|
1100
|
-
totalCabinetPowerKw: z.number().int().min(1).optional(),
|
|
1101
|
-
moduleSizeKw: z.number().int().min(1).optional()
|
|
1102
|
-
}).optional(),
|
|
1103
1111
|
subscription: z.object({
|
|
1104
1112
|
required: z.boolean().optional(),
|
|
1105
1113
|
planIds: z.array(z.number().int()).optional()
|
|
@@ -1443,7 +1451,13 @@ export const chargePointSmartChargingUpdateBody = z.union([z.object({
|
|
|
1443
1451
|
electricalConfiguration: z.enum(["star", "delta"]).optional(),
|
|
1444
1452
|
phases: z.enum(["single_phase", "three_phase", "split_phase"]),
|
|
1445
1453
|
phaseRotation: z.enum(["RST", "RTS", "SRT", "STR", "TRS", "TSR"]),
|
|
1446
|
-
connectedPhase: z.enum(["L1", "L2", "L3", "L1_L2", "L1_L3", "L2_L3"]).optional()
|
|
1454
|
+
connectedPhase: z.enum(["L1", "L2", "L3", "L1_L2", "L1_L3", "L2_L3"]).optional(),
|
|
1455
|
+
powerSharing: z.object({
|
|
1456
|
+
enabled: z.boolean().optional(),
|
|
1457
|
+
managementMode: z.enum(["static", "dynamic"]).optional(),
|
|
1458
|
+
totalCabinetPowerKw: z.number().int().min(1).optional(),
|
|
1459
|
+
moduleSizeKw: z.number().int().min(1).optional()
|
|
1460
|
+
}).optional()
|
|
1447
1461
|
}), z.object({
|
|
1448
1462
|
mode: z.enum(["dynamic"]),
|
|
1449
1463
|
defaultChargePointMaxCurrent: z.number(),
|
|
@@ -1455,7 +1469,13 @@ export const chargePointSmartChargingUpdateBody = z.union([z.object({
|
|
|
1455
1469
|
electricalConfiguration: z.enum(["star", "delta"]).optional(),
|
|
1456
1470
|
phases: z.enum(["single_phase", "three_phase", "split_phase"]),
|
|
1457
1471
|
phaseRotation: z.enum(["RST", "RTS", "SRT", "STR", "TRS", "TSR"]),
|
|
1458
|
-
connectedPhase: z.enum(["L1", "L2", "L3", "L1_L2", "L1_L3", "L2_L3"]).optional()
|
|
1472
|
+
connectedPhase: z.enum(["L1", "L2", "L3", "L1_L2", "L1_L3", "L2_L3"]).optional(),
|
|
1473
|
+
powerSharing: z.object({
|
|
1474
|
+
enabled: z.boolean().optional(),
|
|
1475
|
+
managementMode: z.enum(["static", "dynamic"]).optional(),
|
|
1476
|
+
totalCabinetPowerKw: z.number().int().min(1).optional(),
|
|
1477
|
+
moduleSizeKw: z.number().int().min(1).optional()
|
|
1478
|
+
}).optional()
|
|
1459
1479
|
}), z.object({
|
|
1460
1480
|
mode: z.enum(["user_schedule"]),
|
|
1461
1481
|
defaultChargePointMaxCurrent: z.number(),
|
|
@@ -1468,10 +1488,22 @@ export const chargePointSmartChargingUpdateBody = z.union([z.object({
|
|
|
1468
1488
|
phases: z.enum(["single_phase", "three_phase", "split_phase"]),
|
|
1469
1489
|
phaseRotation: z.enum(["RST", "RTS", "SRT", "STR", "TRS", "TSR"]),
|
|
1470
1490
|
allowDynamicLoadManagement: z.boolean().optional(),
|
|
1471
|
-
connectedPhase: z.enum(["L1", "L2", "L3", "L1_L2", "L1_L3", "L2_L3"]).optional()
|
|
1491
|
+
connectedPhase: z.enum(["L1", "L2", "L3", "L1_L2", "L1_L3", "L2_L3"]).optional(),
|
|
1492
|
+
powerSharing: z.object({
|
|
1493
|
+
enabled: z.boolean().optional(),
|
|
1494
|
+
managementMode: z.enum(["static", "dynamic"]).optional(),
|
|
1495
|
+
totalCabinetPowerKw: z.number().int().min(1).optional(),
|
|
1496
|
+
moduleSizeKw: z.number().int().min(1).optional()
|
|
1497
|
+
}).optional()
|
|
1472
1498
|
}), z.object({
|
|
1473
1499
|
mode: z.enum(["disabled"]),
|
|
1474
|
-
preconditioningTime: z.number().int().optional()
|
|
1500
|
+
preconditioningTime: z.number().int().optional(),
|
|
1501
|
+
powerSharing: z.object({
|
|
1502
|
+
enabled: z.boolean().optional(),
|
|
1503
|
+
managementMode: z.enum(["static", "dynamic"]).optional(),
|
|
1504
|
+
totalCabinetPowerKw: z.number().int().min(1).optional(),
|
|
1505
|
+
moduleSizeKw: z.number().int().min(1).optional()
|
|
1506
|
+
}).optional()
|
|
1475
1507
|
})]);
|
|
1476
1508
|
|
|
1477
1509
|
// GET /public-api/resources/circuits/v1.0
|
|
@@ -3685,7 +3717,7 @@ export const partnerInviteCreateV2_0Body = z.object({
|
|
|
3685
3717
|
partnerId: z.number().int(),
|
|
3686
3718
|
sendViaEmail: z.boolean().optional(),
|
|
3687
3719
|
email: z.string().email().optional(),
|
|
3688
|
-
language: z.enum(["en", "bg", "mk", "el", "zh-CN", "zh-HK", "zh-TW", "pt", "sl", "hr", "it", "de", "hu", "fi", "is", "sv-SE", "da-DK", "nb-NO", "tr-TR", "es-ES", "ar", "ary", "he", "ta", "ms", "cy", "sr", "fr", "fr-MA", "ro", "lt", "uk", "ru", "nl", "ca-ES", "id", "ar-EG", "pl", "lo", "th", "sq-XK", "ga-IE", "bs", "ja", "cs", "lv", "et", "az", "ka", "af", "hi", "de-CH", "fr-CH", "it-CH", "en-GB"]).optional(),
|
|
3720
|
+
language: z.enum(["en", "bg", "mk", "el", "zh-CN", "zh-HK", "zh-TW", "pt", "sl", "hr", "it", "de", "hu", "fi", "is", "sv-SE", "da-DK", "nb-NO", "tr-TR", "es-ES", "ar", "ary", "he", "ta", "ms", "cy", "sr", "fr", "fr-MA", "ro", "lt", "uk", "ru", "nl", "ca-ES", "id", "ar-EG", "pl", "lo", "th", "sq-XK", "ga-IE", "bs", "ja", "ko", "cs", "lv", "et", "az", "ka", "af", "hi", "de-CH", "fr-CH", "it-CH", "en-GB"]).optional(),
|
|
3689
3721
|
accessPolicyId: z.number().int().optional(),
|
|
3690
3722
|
corporateBillingPolicyId: z.number().int().optional(),
|
|
3691
3723
|
reimbursement: z.object({
|
|
@@ -3902,6 +3934,7 @@ export const partnerCreateBody = z.object({
|
|
|
3902
3934
|
allowToControlTariffs: z.boolean().optional(),
|
|
3903
3935
|
allowToControlTariffGroups: z.boolean().optional(),
|
|
3904
3936
|
allowToControlCpConfigurations: z.boolean().optional(),
|
|
3937
|
+
allowToLogExemptPeriods: z.boolean().optional(),
|
|
3905
3938
|
settlementReportBreakdown: z.enum(["none", "by_location", "by_partner_contract", "by_location_and_partner_contract"]).optional()
|
|
3906
3939
|
}).optional(),
|
|
3907
3940
|
corporateBilling: z.object({
|
|
@@ -4017,6 +4050,7 @@ export const partnerUpdateBody = z.object({
|
|
|
4017
4050
|
allowToControlTariffs: z.boolean().optional(),
|
|
4018
4051
|
allowToControlTariffGroups: z.boolean().optional(),
|
|
4019
4052
|
allowToControlCpConfigurations: z.boolean().optional(),
|
|
4053
|
+
allowToLogExemptPeriods: z.boolean().optional(),
|
|
4020
4054
|
settlementReportBreakdown: z.enum(["none", "by_location", "by_partner_contract", "by_location_and_partner_contract"]).optional()
|
|
4021
4055
|
}).optional(),
|
|
4022
4056
|
corporateBilling: z.object({
|
|
@@ -4533,7 +4567,7 @@ export const createPaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4533
4567
|
id: z.number().int().optional(),
|
|
4534
4568
|
name: z.string(),
|
|
4535
4569
|
integrationId: z.number().int(),
|
|
4536
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
4570
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]),
|
|
4537
4571
|
operatorId: z.number().int(),
|
|
4538
4572
|
chargingZoneId: z.number().int().optional(),
|
|
4539
4573
|
chargePointId: z.number().int().optional(),
|
|
@@ -4580,7 +4614,7 @@ export const createPaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4580
4614
|
id: z.number().int().optional(),
|
|
4581
4615
|
name: z.string(),
|
|
4582
4616
|
integrationId: z.number().int(),
|
|
4583
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
4617
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]),
|
|
4584
4618
|
operatorId: z.number().int(),
|
|
4585
4619
|
chargingZoneId: z.number().int().optional(),
|
|
4586
4620
|
chargePointId: z.number().int().optional(),
|
|
@@ -4590,7 +4624,7 @@ export const createPaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4590
4624
|
id: z.number().int().optional(),
|
|
4591
4625
|
name: z.string(),
|
|
4592
4626
|
integrationId: z.number().int(),
|
|
4593
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
4627
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]),
|
|
4594
4628
|
operatorId: z.number().int(),
|
|
4595
4629
|
chargingZoneId: z.number().int().optional(),
|
|
4596
4630
|
chargePointId: z.number().int().optional(),
|
|
@@ -4602,7 +4636,7 @@ export const createPaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4602
4636
|
id: z.number().int().optional(),
|
|
4603
4637
|
name: z.string(),
|
|
4604
4638
|
integrationId: z.number().int(),
|
|
4605
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
4639
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]),
|
|
4606
4640
|
operatorId: z.number().int(),
|
|
4607
4641
|
chargingZoneId: z.number().int().optional(),
|
|
4608
4642
|
chargePointId: z.number().int().optional(),
|
|
@@ -4613,7 +4647,7 @@ export const createPaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4613
4647
|
id: z.number().int().optional(),
|
|
4614
4648
|
name: z.string(),
|
|
4615
4649
|
integrationId: z.number().int(),
|
|
4616
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
4650
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]),
|
|
4617
4651
|
operatorId: z.number().int(),
|
|
4618
4652
|
chargingZoneId: z.number().int().optional(),
|
|
4619
4653
|
chargePointId: z.number().int().optional(),
|
|
@@ -4623,7 +4657,7 @@ export const createPaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4623
4657
|
id: z.number().int().optional(),
|
|
4624
4658
|
name: z.string(),
|
|
4625
4659
|
integrationId: z.number().int(),
|
|
4626
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
4660
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]),
|
|
4627
4661
|
operatorId: z.number().int(),
|
|
4628
4662
|
chargingZoneId: z.number().int().optional(),
|
|
4629
4663
|
chargePointId: z.number().int().optional(),
|
|
@@ -4640,7 +4674,7 @@ export const createPaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4640
4674
|
id: z.number().int().optional(),
|
|
4641
4675
|
name: z.string(),
|
|
4642
4676
|
integrationId: z.number().int(),
|
|
4643
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
4677
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]),
|
|
4644
4678
|
operatorId: z.number().int(),
|
|
4645
4679
|
chargingZoneId: z.number().int().optional(),
|
|
4646
4680
|
chargePointId: z.number().int().optional(),
|
|
@@ -4650,7 +4684,7 @@ export const createPaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4650
4684
|
id: z.number().int().optional(),
|
|
4651
4685
|
name: z.string(),
|
|
4652
4686
|
integrationId: z.number().int(),
|
|
4653
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
4687
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]),
|
|
4654
4688
|
operatorId: z.number().int(),
|
|
4655
4689
|
invoiceFields: z.array(z.object({
|
|
4656
4690
|
field: z.string(),
|
|
@@ -4666,7 +4700,7 @@ export const createPaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4666
4700
|
id: z.number().int().optional(),
|
|
4667
4701
|
name: z.string(),
|
|
4668
4702
|
integrationId: z.number().int(),
|
|
4669
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
4703
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]),
|
|
4670
4704
|
operatorId: z.number().int(),
|
|
4671
4705
|
chargingZoneId: z.number().int().optional(),
|
|
4672
4706
|
chargePointId: z.number().int().optional(),
|
|
@@ -4703,7 +4737,7 @@ export const createPaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4703
4737
|
id: z.number().int().optional(),
|
|
4704
4738
|
name: z.string(),
|
|
4705
4739
|
integrationId: z.number().int(),
|
|
4706
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
4740
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]),
|
|
4707
4741
|
operatorId: z.number().int(),
|
|
4708
4742
|
chargingZoneId: z.number().int().optional(),
|
|
4709
4743
|
chargePointId: z.number().int().optional(),
|
|
@@ -4743,7 +4777,7 @@ export const createPaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4743
4777
|
id: z.number().int().optional(),
|
|
4744
4778
|
name: z.string(),
|
|
4745
4779
|
integrationId: z.number().int(),
|
|
4746
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
4780
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]),
|
|
4747
4781
|
operatorId: z.number().int(),
|
|
4748
4782
|
chargingZoneId: z.number().int().optional(),
|
|
4749
4783
|
chargePointId: z.number().int().optional(),
|
|
@@ -4796,7 +4830,7 @@ export const updatePaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4796
4830
|
id: z.number().int().optional(),
|
|
4797
4831
|
name: z.string().optional(),
|
|
4798
4832
|
integrationId: z.number().int().optional(),
|
|
4799
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4833
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4800
4834
|
chargingZoneId: z.number().int().optional(),
|
|
4801
4835
|
chargePointId: z.number().int().optional(),
|
|
4802
4836
|
terminalId: z.string().optional(),
|
|
@@ -4826,7 +4860,7 @@ export const updatePaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4826
4860
|
id: z.number().int().optional(),
|
|
4827
4861
|
name: z.string().optional(),
|
|
4828
4862
|
integrationId: z.number().int().optional(),
|
|
4829
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4863
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4830
4864
|
chargingZoneId: z.number().int().optional(),
|
|
4831
4865
|
chargePointId: z.number().int().optional(),
|
|
4832
4866
|
serialNumber: z.string().optional(),
|
|
@@ -4835,7 +4869,7 @@ export const updatePaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4835
4869
|
id: z.number().int().optional(),
|
|
4836
4870
|
name: z.string().optional(),
|
|
4837
4871
|
integrationId: z.number().int().optional(),
|
|
4838
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4872
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4839
4873
|
chargingZoneId: z.number().int().optional(),
|
|
4840
4874
|
chargePointId: z.number().int().optional(),
|
|
4841
4875
|
adminToken: z.string().optional(),
|
|
@@ -4846,7 +4880,7 @@ export const updatePaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4846
4880
|
id: z.number().int().optional(),
|
|
4847
4881
|
name: z.string().optional(),
|
|
4848
4882
|
integrationId: z.number().int().optional(),
|
|
4849
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4883
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4850
4884
|
chargingZoneId: z.number().int().optional(),
|
|
4851
4885
|
chargePointId: z.number().int().optional(),
|
|
4852
4886
|
terminalId: z.string().optional(),
|
|
@@ -4856,7 +4890,7 @@ export const updatePaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4856
4890
|
id: z.number().int().optional(),
|
|
4857
4891
|
name: z.string().optional(),
|
|
4858
4892
|
integrationId: z.number().int().optional(),
|
|
4859
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4893
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4860
4894
|
chargingZoneId: z.number().int().optional(),
|
|
4861
4895
|
chargePointId: z.number().int().optional(),
|
|
4862
4896
|
serialNumber: z.string().optional(),
|
|
@@ -4865,7 +4899,7 @@ export const updatePaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4865
4899
|
id: z.number().int().optional(),
|
|
4866
4900
|
name: z.string().optional(),
|
|
4867
4901
|
integrationId: z.number().int().optional(),
|
|
4868
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4902
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4869
4903
|
chargingZoneId: z.number().int().optional(),
|
|
4870
4904
|
chargePointId: z.number().int().optional(),
|
|
4871
4905
|
verificationCode: z.string().optional(),
|
|
@@ -4881,7 +4915,7 @@ export const updatePaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4881
4915
|
id: z.number().int().optional(),
|
|
4882
4916
|
name: z.string().optional(),
|
|
4883
4917
|
integrationId: z.number().int().optional(),
|
|
4884
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4918
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4885
4919
|
chargingZoneId: z.number().int().optional(),
|
|
4886
4920
|
chargePointId: z.number().int().optional(),
|
|
4887
4921
|
serialNumber: z.string().optional(),
|
|
@@ -4890,12 +4924,12 @@ export const updatePaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4890
4924
|
id: z.number().int().optional(),
|
|
4891
4925
|
name: z.string().optional(),
|
|
4892
4926
|
integrationId: z.number().int().optional(),
|
|
4893
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional()
|
|
4927
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]).optional()
|
|
4894
4928
|
}), z.object({
|
|
4895
4929
|
id: z.number().int().optional(),
|
|
4896
4930
|
name: z.string().optional(),
|
|
4897
4931
|
integrationId: z.number().int().optional(),
|
|
4898
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4932
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4899
4933
|
chargingZoneId: z.number().int().optional(),
|
|
4900
4934
|
chargePointId: z.number().int().optional(),
|
|
4901
4935
|
terminalId: z.string().optional(),
|
|
@@ -4921,7 +4955,7 @@ export const updatePaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4921
4955
|
id: z.number().int().optional(),
|
|
4922
4956
|
name: z.string().optional(),
|
|
4923
4957
|
integrationId: z.number().int().optional(),
|
|
4924
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4958
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4925
4959
|
chargingZoneId: z.number().int().optional(),
|
|
4926
4960
|
chargePointId: z.number().int().optional(),
|
|
4927
4961
|
terminalId: z.string().optional(),
|
|
@@ -4945,7 +4979,7 @@ export const updatePaymentTerminalV1_1Body = z.union([z.union([z.object({
|
|
|
4945
4979
|
id: z.number().int().optional(),
|
|
4946
4980
|
name: z.string().optional(),
|
|
4947
4981
|
integrationId: z.number().int().optional(),
|
|
4948
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4982
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Generic", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Adyen Castles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
4949
4983
|
chargingZoneId: z.number().int().optional(),
|
|
4950
4984
|
chargePointId: z.number().int().optional(),
|
|
4951
4985
|
terminalId: z.string().optional(),
|
|
@@ -5243,11 +5277,6 @@ export const roamingTariffUpdateBody = z.object({
|
|
|
5243
5277
|
|
|
5244
5278
|
// GET /public-api/resources/sessions/v1.0/{session}
|
|
5245
5279
|
|
|
5246
|
-
// PATCH /public-api/resources/sessions/v1.0/{session}
|
|
5247
|
-
export const sessionUpdateBody = z.object({
|
|
5248
|
-
customFields: z.record(z.unknown())
|
|
5249
|
-
}).strict();
|
|
5250
|
-
|
|
5251
5280
|
// GET /public-api/resources/sessions/v1.0/{session}/consumption-stats
|
|
5252
5281
|
|
|
5253
5282
|
// GET /public-api/resources/sessions/v1.0/{session}/energy-coupon-session-consumptions
|
|
@@ -6798,7 +6827,7 @@ export const userCreateV1_1Body = z.object({
|
|
|
6798
6827
|
company_postal_code: z.string().optional(),
|
|
6799
6828
|
company_country: z.enum(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]).optional(),
|
|
6800
6829
|
company_receipts_enabled: z.boolean().optional(),
|
|
6801
|
-
locale: z.enum(["en", "bg", "mk", "el", "zh-CN", "zh-HK", "zh-TW", "pt", "sl", "hr", "it", "de", "hu", "fi", "is", "sv-SE", "da-DK", "nb-NO", "tr-TR", "es-ES", "ar", "ary", "he", "ta", "ms", "cy", "sr", "fr", "fr-MA", "ro", "lt", "uk", "ru", "nl", "ca-ES", "id", "ar-EG", "pl", "lo", "th", "sq-XK", "ga-IE", "bs", "ja", "cs", "lv", "et", "az", "ka"]).optional(),
|
|
6830
|
+
locale: z.enum(["en", "bg", "mk", "el", "zh-CN", "zh-HK", "zh-TW", "pt", "sl", "hr", "it", "de", "hu", "fi", "is", "sv-SE", "da-DK", "nb-NO", "tr-TR", "es-ES", "ar", "ary", "he", "ta", "ms", "cy", "sr", "fr", "fr-MA", "ro", "lt", "uk", "ru", "nl", "ca-ES", "id", "ar-EG", "pl", "lo", "th", "sq-XK", "ga-IE", "bs", "ja", "ko", "cs", "lv", "et", "az", "ka"]).optional(),
|
|
6802
6831
|
userGroupIds: z.array(z.number().int()).optional(),
|
|
6803
6832
|
externalId: z.string().optional(),
|
|
6804
6833
|
options: z.object({
|
|
@@ -6846,7 +6875,7 @@ export const userUpdateV1_1Body = z.object({
|
|
|
6846
6875
|
company_postal_code: z.string().optional(),
|
|
6847
6876
|
company_country: z.enum(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]).optional(),
|
|
6848
6877
|
company_receipts_enabled: z.boolean().optional(),
|
|
6849
|
-
locale: z.enum(["en", "bg", "mk", "el", "zh-CN", "zh-HK", "zh-TW", "pt", "sl", "hr", "it", "de", "hu", "fi", "is", "sv-SE", "da-DK", "nb-NO", "tr-TR", "es-ES", "ar", "ary", "he", "ta", "ms", "cy", "sr", "fr", "fr-MA", "ro", "lt", "uk", "ru", "nl", "ca-ES", "id", "ar-EG", "pl", "lo", "th", "sq-XK", "ga-IE", "bs", "ja", "cs", "lv", "et", "az", "ka"]).optional(),
|
|
6878
|
+
locale: z.enum(["en", "bg", "mk", "el", "zh-CN", "zh-HK", "zh-TW", "pt", "sl", "hr", "it", "de", "hu", "fi", "is", "sv-SE", "da-DK", "nb-NO", "tr-TR", "es-ES", "ar", "ary", "he", "ta", "ms", "cy", "sr", "fr", "fr-MA", "ro", "lt", "uk", "ru", "nl", "ca-ES", "id", "ar-EG", "pl", "lo", "th", "sq-XK", "ga-IE", "bs", "ja", "ko", "cs", "lv", "et", "az", "ka"]).optional(),
|
|
6850
6879
|
userGroupIds: z.array(z.number().int()).optional(),
|
|
6851
6880
|
externalId: z.string().optional(),
|
|
6852
6881
|
options: z.object({
|
package/package.json
CHANGED