ocpp-standard-schema
Version:
Contains OCPP JSON schemas for validation purposes
31 lines (30 loc) • 1.07 kB
TypeScript
/**
* This contains the progress status of the publishfirmware
* installation.
*
*/
export declare type PublishFirmwareStatusEnumType = 'Idle' | 'DownloadScheduled' | 'Downloading' | 'Downloaded' | 'Published' | 'DownloadFailed' | 'DownloadPaused' | 'InvalidChecksum' | 'ChecksumVerified' | 'PublishFailed';
export default interface PublishFirmwareStatusNotificationRequest {
customData?: CustomDataType;
status: PublishFirmwareStatusEnumType;
/**
* Required if status is Published. Can be multiple URI’s, if the Local Controller supports e.g. HTTP, HTTPS, and FTP.
*
*/
location?: [string, ...string[]];
/**
* The request id that was
* provided in the
* PublishFirmwareRequest which
* triggered this action.
*
*/
requestId?: 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;
}