@ampeco/public-api-mcp 3.231.2 → 3.232.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.
@@ -561,6 +561,26 @@ export const validateTaxNumberBody = z.object({
561
561
  vatNumber: z.string()
562
562
  });
563
563
 
564
+ // POST /public-api/actions/transaction/v1.0/{transaction}/create-pre-authorization
565
+ export const transactionCreatePreAuthorizationBody = z.union([z.object({
566
+ processor: z.enum(["worldline"]),
567
+ paymentProductId: z.number().int().optional(),
568
+ returnUrl: z.string(),
569
+ locale: z.string().optional(),
570
+ paymentProductFilters: z.object({
571
+ restrictTo: z.object({
572
+ products: z.array(z.number().int()).optional(),
573
+ groups: z.array(z.string()).optional()
574
+ }).optional(),
575
+ exclude: z.object({
576
+ products: z.array(z.number().int()).optional(),
577
+ groups: z.array(z.string()).optional()
578
+ }).optional()
579
+ }).optional()
580
+ }).strict(), z.object({
581
+ processor: z.enum(["stripe"])
582
+ }).strict()]);
583
+
564
584
  // POST /public-api/actions/transactions/v1.0/{transaction}/issue-invoice
565
585
  export const transactionIssueInvoiceBody = z.object({
566
586
  email: z.string().optional(),
@@ -2396,6 +2416,7 @@ export const idTagCreateBody = z.object({
2396
2416
  createdAt: z.string().datetime().optional(),
2397
2417
  status: z.enum(["enabled", "disabled", "suspended"]),
2398
2418
  type: z.enum(["rfid", "mac_address"]),
2419
+ rfidStandard: z.enum(["iso14443", "iso15693"]).optional(),
2399
2420
  vehicleType: z.union([z.null(), z.literal("company_car"), z.literal("private_car")]).optional(),
2400
2421
  paymentMethodId: z.string().optional(),
2401
2422
  defaultPaymentOption: z.string().optional(),
@@ -2420,6 +2441,7 @@ export const idTagUpdateBody = z.object({
2420
2441
  createdAt: z.string().datetime().optional(),
2421
2442
  status: z.enum(["enabled", "disabled", "suspended"]).optional(),
2422
2443
  type: z.enum(["rfid", "mac_address"]).optional(),
2444
+ rfidStandard: z.enum(["iso14443", "iso15693"]).optional(),
2423
2445
  vehicleType: z.union([z.null(), z.literal("company_car"), z.literal("private_car")]).optional(),
2424
2446
  paymentMethodId: z.string().optional(),
2425
2447
  defaultPaymentOption: z.string().optional(),
@@ -2521,7 +2543,7 @@ export const issuesCreateBody = z.object({
2521
2543
  operatorId: z.number().int().optional(),
2522
2544
  title: z.string().max(255),
2523
2545
  description: z.string(),
2524
- category: z.enum(["network", "payments_billing", "product_offerings", "ev_driver_ux", "security", "roaming", "other"]),
2546
+ category: z.enum(["network", "payments_billing", "product_offerings", "ev_driver_ux", "security", "reporting", "roaming", "other"]),
2525
2547
  severity: z.enum(["severe", "significant", "moderate", "low"]),
2526
2548
  priority: z.enum(["highest", "high", "medium", "low"]),
2527
2549
  status: z.enum(["auto_recovery_in_progress", "information_collection_in_progress", "new", "investigating", "resolution_in_progress", "resolved", "wont_fix", "non_issue"]).optional(),
@@ -2542,7 +2564,7 @@ export const issueUpdateBody = z.object({
2542
2564
  title: z.string().max(255).optional(),
2543
2565
  description: z.string().optional(),
2544
2566
  status: z.enum(["auto_recovery_in_progress", "information_collection_in_progress", "new", "investigating", "resolution_in_progress", "resolved", "wont_fix", "non_issue"]).optional(),
2545
- category: z.enum(["network", "payments_billing", "product_offerings", "ev_driver_ux", "security", "roaming", "other"]).optional(),
2567
+ category: z.enum(["network", "payments_billing", "product_offerings", "ev_driver_ux", "security", "reporting", "roaming", "other"]).optional(),
2546
2568
  severity: z.enum(["severe", "significant", "moderate", "low"]).optional(),
2547
2569
  priority: z.enum(["highest", "high", "medium", "low"]).optional(),
2548
2570
  externalId: z.string().max(255).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampeco/public-api-mcp",
3
- "version": "3.231.2",
3
+ "version": "3.232.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",