UNPKG

@citrineos/data

Version:

The OCPP data module which includes all persistence layer implementation.

17 lines (16 loc) 546 B
import type { SubscriptionDto, TenantDto } from '@citrineos/base'; import { Model } from 'sequelize-typescript'; export declare class Subscription extends Model implements SubscriptionDto { static readonly MODEL_NAME: string; stationId: string; onConnect: boolean; onClose: boolean; onMessage: boolean; sentMessage: boolean; messageRegexFilter?: string | null; url: string; tenantId: number; tenant?: TenantDto; static setDefaultTenant(instance: Subscription): void; constructor(...args: any[]); }