ocpp-standard-schema
Version:
Contains OCPP JSON schemas for validation purposes
22 lines (21 loc) • 620 B
TypeScript
/**
* The updated reservation status.
*
*/
export declare type ReservationUpdateStatusEnumType = 'Expired' | 'Removed';
export default interface ReservationStatusUpdateRequest {
customData?: CustomDataType;
/**
* The ID of the reservation.
*
*/
reservationId: number;
reservationUpdateStatus: ReservationUpdateStatusEnumType;
}
/**
* 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;
}