UNPKG

@citrineos/data

Version:

The OCPP data module which includes all persistence layer implementation.

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