@ampeco/public-api-mcp 3.249.0 → 3.250.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.
@@ -36,7 +36,7 @@ export const chargePointGetCompositeScheduleBody = z.object({
36
36
  });
37
37
  // POST /public-api/actions/charge-point/v1.0/{chargePoint}/get-diagnostics
38
38
  export const chargePointGetDiagnosticsBody = z.object({
39
- location: z.string(),
39
+ location: z.string().optional(),
40
40
  start: z.string().datetime().optional(),
41
41
  stop: z.string().datetime().optional()
42
42
  });
@@ -5185,6 +5185,8 @@ export const tariffCreateBody = z.object({
5185
5185
  applyToAdHocOperatorIds: z.array(z.number().int().min(1)).optional(),
5186
5186
  applyToUsersOfPartners: z.array(z.number()).optional(),
5187
5187
  applyToUsersWithGroups: z.array(z.string()).optional(),
5188
+ applyToHomeChargingOwner: z.boolean().optional(),
5189
+ applyToHomeChargingSharedUsers: z.boolean().optional(),
5188
5190
  applyToUserGroupIds: z.array(z.number()).optional(),
5189
5191
  applyToUsersWithSubscriptions: z.array(z.number()).optional(),
5190
5192
  applyToAuthorizationMethods: z.array(z.enum(["id_tag", "mac_address", "user_device", "plug_and_charge", "plug_and_charge_iso15118"])).optional(),
@@ -5374,6 +5376,8 @@ export const tariffUpdateBody = z.object({
5374
5376
  applyToAdHocOperatorIds: z.array(z.number().int().min(1)).optional(),
5375
5377
  applyToUsersOfPartners: z.array(z.number()).optional(),
5376
5378
  applyToUsersWithGroups: z.array(z.string()).optional(),
5379
+ applyToHomeChargingOwner: z.boolean().optional(),
5380
+ applyToHomeChargingSharedUsers: z.boolean().optional(),
5377
5381
  applyToUserGroupIds: z.array(z.number()).optional(),
5378
5382
  applyToUsersWithSubscriptions: z.array(z.number()).optional(),
5379
5383
  applyToAuthorizationMethods: z.array(z.enum(["id_tag", "mac_address", "user_device", "plug_and_charge", "plug_and_charge_iso15118"])).optional(),
@@ -5563,6 +5567,8 @@ export const tariffPartialUpdateBody = z.object({
5563
5567
  applyToAdHocOperatorIds: z.array(z.number().int().min(1)).optional(),
5564
5568
  applyToUsersOfPartners: z.array(z.number()).optional(),
5565
5569
  applyToUsersWithGroups: z.array(z.string()).optional(),
5570
+ applyToHomeChargingOwner: z.boolean().optional(),
5571
+ applyToHomeChargingSharedUsers: z.boolean().optional(),
5566
5572
  applyToUserGroupIds: z.array(z.number()).optional(),
5567
5573
  applyToUsersWithSubscriptions: z.array(z.number()).optional(),
5568
5574
  applyToAuthorizationMethods: z.array(z.enum(["id_tag", "mac_address", "user_device", "plug_and_charge", "plug_and_charge_iso15118"])).optional(),