UNPKG

@citrineos/data

Version:

The OCPP data module which includes all persistence layer implementation.

32 lines (31 loc) 1.26 kB
import type { ChargingStationDto, ConnectorDto, ConnectorErrorCodeEnumType, ConnectorFormatEnumType, ConnectorPowerTypeEnumType, ConnectorStatusEnumType, ConnectorTypeEnumType, TenantDto } from '@citrineos/base'; import { Model } from 'sequelize-typescript'; import { Tariff } from '../Tariff/index.js'; import { Evse } from './Evse.js'; export declare class Connector extends Model implements ConnectorDto { static readonly MODEL_NAME: string; stationId: string; evseId: number; connectorId: number; evseTypeConnectorId?: number; status: ConnectorStatusEnumType; type?: ConnectorTypeEnumType | null; format?: ConnectorFormatEnumType | null; errorCode: ConnectorErrorCodeEnumType; powerType?: ConnectorPowerTypeEnumType | null; maximumAmperage?: number | null; maximumVoltage?: number | null; maximumPowerWatts?: number | null; timestamp: string; info?: string | null; vendorId?: string | null; vendorErrorCode?: string | null; termsAndConditionsUrl?: string | null; chargingStation?: ChargingStationDto; evse?: Evse; tariffs?: Tariff[]; tenantId: number; tenant?: TenantDto; static setDefaultTenant(instance: Connector): void; constructor(...args: any[]); }