@ampeco/public-api-mcp 3.232.1 → 3.234.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.
@@ -448,6 +448,13 @@ export const certificateIssueAnEmaidBody = z.object({
448
448
  defaultPaymentOption: z.string().optional()
449
449
  });
450
450
 
451
+ // POST /public-api/actions/reimbursement-record/v1.0/{reimbursementRecord}/issue-credit
452
+ export const reimbursementRecordIssueCreditBody = z.object({
453
+ creditReason: z.string().min(1).max(500)
454
+ });
455
+
456
+ // POST /public-api/actions/reimbursement-report/v1.0/{reimbursementReport}/regenerate
457
+
451
458
  // POST /public-api/actions/reservation/v1.0/{reservation}/cancel
452
459
  export const reservationCancelBody = z.object({
453
460
  force: z.boolean().optional(),
@@ -3189,6 +3196,10 @@ export const partnerContractCreateBody = z.object({
3189
3196
  perChargePoint: z.number().optional(),
3190
3197
  perAcEvse: z.number().optional(),
3191
3198
  perDcEvse: z.number().optional()
3199
+ }).optional(),
3200
+ reimbursementFees: z.object({
3201
+ perSession: z.number().min(0).optional(),
3202
+ perPeriod: z.number().min(0).optional()
3192
3203
  }).optional()
3193
3204
  });
3194
3205
 
@@ -3228,6 +3239,10 @@ export const partnerContractUpdateBody = z.object({
3228
3239
  perChargePoint: z.number().optional(),
3229
3240
  perAcEvse: z.number().optional(),
3230
3241
  perDcEvse: z.number().optional()
3242
+ }).optional(),
3243
+ reimbursementFees: z.object({
3244
+ perSession: z.number().min(0).optional(),
3245
+ perPeriod: z.number().min(0).optional()
3231
3246
  }).optional()
3232
3247
  });
3233
3248
 
@@ -3266,6 +3281,10 @@ export const partnerContractPatchBody = z.object({
3266
3281
  perChargePoint: z.number().optional(),
3267
3282
  perAcEvse: z.number().optional(),
3268
3283
  perDcEvse: z.number().optional()
3284
+ }).optional(),
3285
+ reimbursementFees: z.object({
3286
+ perSession: z.number().min(0).optional(),
3287
+ perPeriod: z.number().min(0).optional()
3269
3288
  }).optional()
3270
3289
  });
3271
3290
 
@@ -3650,7 +3669,20 @@ export const partnerInviteCreateV2_0Body = z.object({
3650
3669
  email: z.string().email().optional(),
3651
3670
  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(),
3652
3671
  accessPolicyId: z.number().int().optional(),
3653
- corporateBillingPolicyId: z.number().int().optional()
3672
+ corporateBillingPolicyId: z.number().int().optional(),
3673
+ reimbursement: z.object({
3674
+ policyId: z.number().int().optional(),
3675
+ restrictions: z.object({
3676
+ rfids: z.object({
3677
+ type: z.enum(["none", "allow"]),
3678
+ rfidIds: z.array(z.number().int()).optional()
3679
+ }).optional(),
3680
+ vehicles: z.object({
3681
+ type: z.enum(["none", "allow"]),
3682
+ vehicleIds: z.array(z.number().int()).optional()
3683
+ }).optional()
3684
+ }).optional()
3685
+ }).optional()
3654
3686
  });
3655
3687
 
3656
3688
  // GET /public-api/resources/partner-invites/v2.0/{partnerInvite}
@@ -3661,7 +3693,20 @@ export const partnerInviteCreateV2_0Body = z.object({
3661
3693
  export const partnerInviteUpdateV2_0Body = z.object({
3662
3694
  partnerId: z.number().int().optional(),
3663
3695
  accessPolicyId: z.number().int().optional(),
3664
- corporateBillingPolicyId: z.number().int().optional()
3696
+ corporateBillingPolicyId: z.number().int().optional(),
3697
+ reimbursement: z.object({
3698
+ policyId: z.number().int().optional(),
3699
+ restrictions: z.object({
3700
+ rfids: z.object({
3701
+ type: z.enum(["none", "allow"]),
3702
+ rfidIds: z.array(z.number().int()).optional()
3703
+ }).optional(),
3704
+ vehicles: z.object({
3705
+ type: z.enum(["none", "allow"]),
3706
+ vehicleIds: z.array(z.number().int()).optional()
3707
+ }).optional()
3708
+ }).optional()
3709
+ }).optional()
3665
3710
  });
3666
3711
 
3667
3712
  // GET /public-api/resources/partner-invoices/v1.0
@@ -4866,6 +4911,43 @@ export const updatePcIdBody = z.object({
4866
4911
 
4867
4912
  // GET /public-api/resources/receipts/v2.0/{receipt}
4868
4913
 
4914
+ // GET /public-api/resources/reimbursement-policies/v1.0
4915
+
4916
+ // POST /public-api/resources/reimbursement-policies/v1.0
4917
+ export const reimbursementPolicyCreateBody = z.object({
4918
+ name: z.string().max(255),
4919
+ electricityRateSource: z.enum(["policy", "charge_point"]),
4920
+ validityStartsOn: z.string(),
4921
+ partnerId: z.number().int().optional(),
4922
+ partnerContractId: z.number().int().optional(),
4923
+ electricityRateId: z.number().int().optional(),
4924
+ validityEndsOn: z.string().optional(),
4925
+ operatorId: z.number().int().optional()
4926
+ });
4927
+
4928
+ // GET /public-api/resources/reimbursement-policies/v1.0/{reimbursementPolicy}
4929
+
4930
+ // DELETE /public-api/resources/reimbursement-policies/v1.0/{reimbursementPolicy}
4931
+
4932
+ // PATCH /public-api/resources/reimbursement-policies/v1.0/{reimbursementPolicy}
4933
+ export const reimbursementPolicyUpdateBody = z.object({
4934
+ name: z.string().max(255).optional(),
4935
+ electricityRateSource: z.enum(["policy", "charge_point"]).optional(),
4936
+ validityStartsOn: z.string().optional(),
4937
+ partnerId: z.number().int().optional(),
4938
+ partnerContractId: z.number().int().optional(),
4939
+ electricityRateId: z.number().int().optional(),
4940
+ validityEndsOn: z.string().optional()
4941
+ });
4942
+
4943
+ // GET /public-api/resources/reimbursement-records/v1.0
4944
+
4945
+ // GET /public-api/resources/reimbursement-records/v1.0/{reimbursementRecord}
4946
+
4947
+ // GET /public-api/resources/reimbursement-reports/v1.0
4948
+
4949
+ // GET /public-api/resources/reimbursement-reports/v1.0/{reimbursementReport}
4950
+
4869
4951
  // GET /public-api/resources/reservations/v1.0
4870
4952
 
4871
4953
  // GET /public-api/resources/reservations/v1.0/{reservation}
@@ -5085,6 +5167,10 @@ export const roamingTariffUpdateBody = z.object({
5085
5167
 
5086
5168
  // GET /public-api/resources/settings/v1.0
5087
5169
 
5170
+ // GET /public-api/resources/sharing-invites/v1.0
5171
+
5172
+ // GET /public-api/resources/sharing-invites/v1.0/{sharingInvite}
5173
+
5088
5174
  // GET /public-api/resources/sub-operators/v1.0
5089
5175
 
5090
5176
  // GET /public-api/resources/sub-operators/v1.0/{subOperator}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampeco/public-api-mcp",
3
- "version": "3.232.1",
3
+ "version": "3.234.0",
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",