UNPKG

@munit-solutions/ocpp

Version:
22 lines (18 loc) 496 B
import Call from '../Call'; import ClientCommand from '../../enum/ClientCommand'; export type GetConfigurationPayload = { key?: string[]; configurationKey?: KeyValue[]; unknownKey?: string[]; }; export type KeyValue = { key: string; readonly: boolean; value?: string; }; export default class GetConfiguration extends Call { constructor(public uniqueId: string = '', public payload?: GetConfigurationPayload) { super(); this.action = ClientCommand.GetConfiguration; } }