@ampeco/public-api-mcp 3.253.1 → 3.254.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.
@@ -468,8 +468,18 @@ export const reimbursementRecordIssueCreditBody = z.object({
468
468
  creditReason: z.string().min(1).max(500)
469
469
  });
470
470
 
471
+ // POST /public-api/actions/reimbursement-record/v1.0/{reimbursementRecord}/set-custom-fields
472
+ export const reimbursementRecordSetCustomFieldsV1_0Body = z.object({
473
+ customFields: z.record(z.unknown())
474
+ }).strict();
475
+
471
476
  // POST /public-api/actions/reimbursement-report/v1.0/{reimbursementReport}/regenerate
472
477
 
478
+ // POST /public-api/actions/reimbursement-report/v1.0/{reimbursementReport}/set-custom-fields
479
+ export const reimbursementReportSetCustomFieldsV1_0Body = z.object({
480
+ customFields: z.record(z.unknown())
481
+ }).strict();
482
+
473
483
  // POST /public-api/actions/reservation/v1.0/{reservation}/cancel
474
484
  export const reservationCancelBody = z.object({
475
485
  force: z.boolean().optional(),
@@ -551,7 +561,24 @@ export const sessionAssignToUserBody = z.object({
551
561
 
552
562
  // POST /public-api/actions/session/v1.0/{session}/change-tariff
553
563
  export const sessionChangeTariffBody = z.object({
554
- tariffId: z.number().int()
564
+ tariffId: z.number().int(),
565
+ reason: z.string().max(1000).optional()
566
+ });
567
+
568
+ // POST /public-api/actions/session/v1.0/{session}/expedite-billing
569
+ export const sessionExpediteBillingBody = z.object({
570
+ reason: z.string().max(1000).optional()
571
+ });
572
+
573
+ // POST /public-api/actions/session/v1.0/{session}/recalculate
574
+ export const sessionRecalculateBody = z.object({
575
+ reason: z.string().max(1000).optional()
576
+ });
577
+
578
+ // POST /public-api/actions/session/v1.0/{session}/resume-billing
579
+ export const sessionResumeBillingBody = z.object({
580
+ type: z.enum(["bill_as_is", "free_session"]),
581
+ reason: z.string().max(1000).optional()
555
582
  });
556
583
 
557
584
  // POST /public-api/actions/session/v1.0/{session}/retry-payment
@@ -695,6 +722,11 @@ export const subscriptionBillingPeriodRetryPaymentBody = z.object({
695
722
  paymentMethodId: z.number().int().optional()
696
723
  });
697
724
 
725
+ // POST /public-api/actions/users/v1.0/{user}/terminate-subscription
726
+ export const userTerminateSubscriptionBody = z.object({
727
+ reason: z.string().max(255)
728
+ });
729
+
698
730
  // GET /public-api/actions/users/v2.0/{user}/export-all-private-data
699
731
 
700
732
  // POST /public-api/actions/users/v2.0/{user}/redeem-voucher
@@ -828,7 +860,7 @@ export const bookingRequestCreateBody = z.union([z.object({
828
860
  currentType: z.enum(["ac", "dc"]).optional(),
829
861
  minPower: z.number().optional(),
830
862
  maxPower: z.number().optional(),
831
- connectorType: z.enum(["type1", "type2", "type3", "chademo", "ccs1", "ccs2", "schuko", "nacs", "cee16", "cee32", "j1772", "inductive", "nema-5-20", "type-e-french", "type-g-british", "type-j-swiss", "avcon", "gb-t-ac", "gb-t-dc", "chaoji", "nema-6-30", "nema-6-50", "mcs", "unknown"]).optional()
863
+ connectorType: z.enum(["type1", "type2", "type3", "chademo", "ccs1", "ccs2", "schuko", "nacs", "cee16", "cee32", "j1772", "inductive", "nema-5-20", "type-e-french", "type-g-british", "type-j-swiss", "avcon", "gb-t-ac", "gb-t-dc", "chaoji", "nema-6-30", "nema-6-50", "nema-10-30", "nema-10-50", "nema-14-30", "nema-14-50", "mcs", "unknown"]).optional()
832
864
  }).optional(),
833
865
  parkingSpaceCriteria: z.object({
834
866
  vehicleWeightKg: z.number().int().min(1).optional(),
@@ -1275,7 +1307,7 @@ export const chargePointEvseUpdateBody = z.object({
1275
1307
 
1276
1308
  // POST /public-api/resources/charge-points/v2.0/{chargePoint}/evses/{evse}/connectors
1277
1309
  export const chargePointEvseConnectorCreateBody = z.object({
1278
- type: z.enum(["type1", "type2", "type3", "chademo", "ccs1", "ccs2", "schuko", "nacs", "cee16", "cee32", "j1772", "inductive", "nema-5-20", "type-e-french", "type-g-british", "type-j-swiss", "avcon", "gb-t-ac", "gb-t-dc", "chaoji", "nema-6-30", "nema-6-50", "mcs", "unknown"]),
1310
+ type: z.enum(["type1", "type2", "type3", "chademo", "ccs1", "ccs2", "schuko", "nacs", "cee16", "cee32", "j1772", "inductive", "nema-5-20", "type-e-french", "type-g-british", "type-j-swiss", "avcon", "gb-t-ac", "gb-t-dc", "chaoji", "nema-6-30", "nema-6-50", "nema-10-30", "nema-10-50", "nema-14-30", "nema-14-50", "mcs", "unknown"]),
1279
1311
  format: z.enum(["socket", "cable"]).optional(),
1280
1312
  status: z.enum(["enabled", "disabled"]).optional()
1281
1313
  });
@@ -1286,7 +1318,7 @@ export const chargePointEvseConnectorCreateBody = z.object({
1286
1318
 
1287
1319
  // PATCH /public-api/resources/charge-points/v2.0/{chargePoint}/evses/{evse}/connectors/{connector}
1288
1320
  export const chargePointEvseConnectorUpdateBody = z.object({
1289
- type: z.enum(["type1", "type2", "type3", "chademo", "ccs1", "ccs2", "schuko", "nacs", "cee16", "cee32", "j1772", "inductive", "nema-5-20", "type-e-french", "type-g-british", "type-j-swiss", "avcon", "gb-t-ac", "gb-t-dc", "chaoji", "nema-6-30", "nema-6-50", "mcs", "unknown"]).optional(),
1321
+ type: z.enum(["type1", "type2", "type3", "chademo", "ccs1", "ccs2", "schuko", "nacs", "cee16", "cee32", "j1772", "inductive", "nema-5-20", "type-e-french", "type-g-british", "type-j-swiss", "avcon", "gb-t-ac", "gb-t-dc", "chaoji", "nema-6-30", "nema-6-50", "nema-10-30", "nema-10-50", "nema-14-30", "nema-14-50", "mcs", "unknown"]).optional(),
1290
1322
  format: z.enum(["socket", "cable"]).optional(),
1291
1323
  status: z.enum(["enabled", "disabled"]).optional()
1292
1324
  });
@@ -2239,7 +2271,7 @@ export const evseUpdateDeprecatedBody = z.object({
2239
2271
  }).optional(),
2240
2272
  connectors: z.array(z.object({
2241
2273
  id: z.number().int().optional(),
2242
- type: z.intersection(z.enum(["type1", "type2", "type3", "chademo", "ccs1", "ccs2", "catarc", "schuko", "nacs", "cee16", "cee32", "j1772", "inductive", "nema-5-20", "type-e-french", "type-g-british", "type-j-swiss", "avcon", "chaoji", "nema-6-30", "nema-6-50", "mcs", "unknown"]), z.string()).optional(),
2274
+ type: z.intersection(z.enum(["type1", "type2", "type3", "chademo", "ccs1", "ccs2", "catarc", "schuko", "nacs", "cee16", "cee32", "j1772", "inductive", "nema-5-20", "type-e-french", "type-g-british", "type-j-swiss", "avcon", "chaoji", "nema-6-30", "nema-6-50", "nema-10-30", "nema-10-50", "nema-14-30", "nema-14-50", "mcs", "unknown"]), z.string()).optional(),
2243
2275
  format: z.enum(["socket", "cable"]).optional(),
2244
2276
  status: z.enum(["active", "disabled"]).optional(),
2245
2277
  ocpiMaxVoltage: z.number().int().optional(),
@@ -3755,7 +3787,7 @@ export const partnerInviteCreateV2_0Body = z.object({
3755
3787
  partnerId: z.number().int(),
3756
3788
  sendViaEmail: z.boolean().optional(),
3757
3789
  email: z.string().email().optional(),
3758
- 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-KR", "cs", "lv", "et", "az", "ka", "af", "hi", "de-CH", "fr-CH", "it-CH", "en-GB", "tl-PH"]).optional(),
3790
+ language: z.enum(["en", "be", "bg", "bn", "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", "sw", "fr", "fr-MA", "ro", "lt", "uk", "ru", "nl", "ca-ES", "id", "ar-EG", "pl", "lo", "th", "sq-XK", "ga-IE", "bs", "ja", "ko-KR", "cs", "lv", "et", "az", "ka", "af", "hi", "hy", "de-CH", "fr-CH", "it-CH", "en-GB", "mt", "tl-PH"]).optional(),
3759
3791
  accessPolicyId: z.number().int().optional(),
3760
3792
  corporateBillingPolicyId: z.number().int().optional(),
3761
3793
  reimbursement: z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampeco/public-api-mcp",
3
- "version": "3.253.1",
3
+ "version": "3.254.1",
4
4
  "description": "MCP server that dynamically exposes the AMPECO.CHARGE Public API defined by an OpenAPI 3 specification",
5
5
  "type": "module",
6
6
  "main": "dist/cli/index.js",