@luisiseverywhere/ocpp-schema-types
Version:
A project which uses official ocpp schema data (provided by OCA) and generates the types for request and responses of each occp command
35 lines (33 loc) • 1.02 kB
TypeScript
/* tslint: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;
};
}