@ampeco/public-api-mcp 3.102.5 → 3.102.7
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 +179 -11
- package/dist/generated/response-schemas.json +5843 -868
- package/dist/generated/schemas.d.ts +37 -22
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +11 -5
- package/dist/generated/schemas.js.map +1 -1
- package/dist/generated/schemas.ts +12 -5
- package/package.json +1 -1
|
@@ -585,7 +585,8 @@ export const bookingRequestCreateBody = z.union([z.object({
|
|
|
585
585
|
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"]).optional()
|
|
586
586
|
}).optional(),
|
|
587
587
|
startAt: z.string().datetime(),
|
|
588
|
-
endAt: z.string().datetime()
|
|
588
|
+
endAt: z.string().datetime(),
|
|
589
|
+
externalId: z.string().max(255).optional()
|
|
589
590
|
}), z.object({
|
|
590
591
|
id: z.number().int().optional(),
|
|
591
592
|
type: z.enum(["update"]),
|
|
@@ -596,7 +597,8 @@ export const bookingRequestCreateBody = z.union([z.object({
|
|
|
596
597
|
bookingId: z.number().int(),
|
|
597
598
|
userId: z.number().int().optional(),
|
|
598
599
|
startAt: z.string().datetime().optional(),
|
|
599
|
-
endAt: z.string().datetime().optional()
|
|
600
|
+
endAt: z.string().datetime().optional(),
|
|
601
|
+
externalId: z.string().max(255).optional()
|
|
600
602
|
}), z.object({
|
|
601
603
|
id: z.number().int().optional(),
|
|
602
604
|
type: z.enum(["cancel"]),
|
|
@@ -604,7 +606,8 @@ export const bookingRequestCreateBody = z.union([z.object({
|
|
|
604
606
|
rejectionReason: z.string().optional(),
|
|
605
607
|
createdAt: z.string().datetime().optional(),
|
|
606
608
|
lastUpdatedAt: z.string().datetime().optional(),
|
|
607
|
-
bookingId: z.number().int()
|
|
609
|
+
bookingId: z.number().int(),
|
|
610
|
+
externalId: z.string().max(255).optional()
|
|
608
611
|
})]);
|
|
609
612
|
|
|
610
613
|
// GET /public-api/resources/booking-requests/v1.0/{bookingRequest}
|
|
@@ -1373,6 +1376,8 @@ export const configurationTemplateVariableUpdateBody = z.union([z.object({
|
|
|
1373
1376
|
lastUpdatedAt: z.string().datetime().optional()
|
|
1374
1377
|
})]);
|
|
1375
1378
|
|
|
1379
|
+
// GET /public-api/resources/consents/v1.0
|
|
1380
|
+
|
|
1376
1381
|
// GET /public-api/resources/contact-details/v2.0
|
|
1377
1382
|
|
|
1378
1383
|
// PUT /public-api/resources/contact-details/v2.0
|
|
@@ -2175,7 +2180,8 @@ export const locationCreateBody = z.object({
|
|
|
2175
2180
|
name: z.string().optional()
|
|
2176
2181
|
}).optional()
|
|
2177
2182
|
}).optional(),
|
|
2178
|
-
tags: z.array(z.string()).optional()
|
|
2183
|
+
tags: z.array(z.string()).optional(),
|
|
2184
|
+
accessMethods: z.array(z.string()).optional()
|
|
2179
2185
|
});
|
|
2180
2186
|
|
|
2181
2187
|
// GET /public-api/resources/locations/v2.0/{location}
|
|
@@ -2296,7 +2302,8 @@ export const locationUpdateBody = z.object({
|
|
|
2296
2302
|
name: z.string().optional()
|
|
2297
2303
|
}).optional()
|
|
2298
2304
|
}).optional(),
|
|
2299
|
-
tags: z.array(z.string()).optional()
|
|
2305
|
+
tags: z.array(z.string()).optional(),
|
|
2306
|
+
accessMethods: z.array(z.string()).optional()
|
|
2300
2307
|
});
|
|
2301
2308
|
|
|
2302
2309
|
// GET /public-api/resources/locations/v2.0/{location}/charging-zones
|
package/package.json
CHANGED