UNPKG

ocpp-messages

Version:

TypeScript definitions for Open Charge Point Protocol (OCPP)

44 lines (41 loc) 1.39 kB
/* 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. */ /** * If provided the Charging Station shall return Display Messages with the given priority only. * */ export type MessagePriorityEnumType = "AlwaysFront" | "InFront" | "NormalCycle"; /** * If provided the Charging Station shall return Display Messages with the given state only. * */ export type MessageStateEnumType = "Charging" | "Faulted" | "Idle" | "Unavailable"; export interface UrnOCPPCp220203GetDisplayMessagesRequest { customData?: CustomDataType; /** * If provided the Charging Station shall return Display Messages of the given ids. This field SHALL NOT contain more ids than set in <<configkey-number-of-display-messages,NumberOfDisplayMessages.maxLimit>> * * * * @minItems 1 */ id?: [number, ...number[]]; /** * The Id of this request. * */ requestId: number; priority?: MessagePriorityEnumType; state?: MessageStateEnumType; } /** * 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; }