UNPKG

ocpp-messages

Version:

TypeScript definitions for Open Charge Point Protocol (OCPP)

35 lines (33 loc) 1.02 kB
/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export interface SetChargingProfileRequest { connectorId: number; csChargingProfiles: { chargingProfileId: number; transactionId?: number; stackLevel: number; chargingProfilePurpose: "ChargePointMaxProfile" | "TxDefaultProfile" | "TxProfile"; chargingProfileKind: "Absolute" | "Recurring" | "Relative"; recurrencyKind?: "Daily" | "Weekly"; validFrom?: string; validTo?: string; chargingSchedule: { duration?: number; startSchedule?: string; chargingRateUnit: "A" | "W"; chargingSchedulePeriod: { startPeriod: number; limit: number; numberPhases?: number; [k: string]: unknown; }[]; minChargingRate?: number; [k: string]: unknown; }; [k: string]: unknown; }; }