@greenactionstudio/ocpp-types
Version:
A centralized library of Open Charge Point Protocol (OCPP) types for use in other projects.
15 lines (12 loc) • 303 B
TypeScript
import { IdToken, IdTagInfo, Reason, MeterValue } from './';
export type req = {
idTag?: IdToken;
meterStop: number;
timestamp: string; // ISO 8601 Date Time String
transactionId: number;
reason?: Reason;
transactionData?: MeterValue[];
};
export type conf = {
idTagInfo?: IdTagInfo;
};