ev-recharge-sdk
Version:
This API Product provides the option to manage charging at all public Shell Recharge locations. The end points provides control to start, stop and get status of the charging session.
30 lines (26 loc) • 984 B
text/typescript
/**
* Shell EVLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { number, object, optional, Schema } from '../schema';
import {
ElectricalPropertiesPowerTypeEnum,
electricalPropertiesPowerTypeEnumSchema,
} from './electricalPropertiesPowerTypeEnum';
/** Electrical Properties of the Connector */
export interface ElectricalProperties {
powerType?: ElectricalPropertiesPowerTypeEnum;
/** Voltage in Volts for this connector */
voltage?: number;
/** Electric Current in Amperes for this connector */
amperage?: number;
/** Power in Kilowatts for this connector */
maxElectricPower?: number;
}
export const electricalPropertiesSchema: Schema<ElectricalProperties> = object({
powerType: ['powerType', optional(electricalPropertiesPowerTypeEnumSchema)],
voltage: ['voltage', optional(number())],
amperage: ['amperage', optional(number())],
maxElectricPower: ['maxElectricPower', optional(number())],
});