UNPKG

@citrineos/data

Version:

The OCPP data module which includes all persistence layer implementation.

24 lines (23 loc) 890 B
import type { OCPPVersionType, WebsocketServerConfig, TenantDto } from '@citrineos/base'; import { Model } from 'sequelize-typescript'; import { ChargingStation } from './ChargingStation.js'; export declare class ServerNetworkProfile extends Model implements WebsocketServerConfig { static readonly MODEL_NAME: string; id: string; host: string; port: number; pingInterval: number; protocol: OCPPVersionType; messageTimeout: number; securityProfile: number; allowUnknownChargingStations: boolean; tlsKeyFilePath?: string; tlsCertificateChainFilePath?: string; mtlsCertificateAuthorityKeyFilePath?: string; rootCACertificateFilePath?: string; chargingStations?: ChargingStation[] | null; tenantId: number; tenant?: TenantDto; static setDefaultTenant(instance: ServerNetworkProfile): void; constructor(...args: any[]); }