ocpp-standard-schema
Version:
Contains OCPP JSON schemas for validation purposes
22 lines (21 loc) • 669 B
TypeScript
/**
* This contains the type of reset that the Charging Station or EVSE should perform.
*
*/
export declare type ResetEnumType = 'Immediate' | 'OnIdle';
export default interface ResetRequest {
customData?: CustomDataType;
type: ResetEnumType;
/**
* This contains the ID of a specific EVSE that needs to be reset, instead of the entire Charging Station.
*
*/
evseId?: number;
}
/**
* This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.
*/
export interface CustomDataType {
vendorId: string;
[k: string]: unknown;
}