@citrineos/data
Version:
The OCPP data module which includes all persistence layer implementation.
30 lines (29 loc) • 1.03 kB
TypeScript
import type { BootDto, TenantDto } from '@citrineos/base';
import { Model } from 'sequelize-typescript';
import { VariableAttribute } from './DeviceModel/index.js';
export declare class Boot extends Model implements BootDto {
static readonly MODEL_NAME: string;
/**
* StationId
*/
id: string;
lastBootTime?: string | null;
heartbeatInterval?: number | null;
bootRetryInterval?: number | null;
status: string;
statusInfo?: object | null;
getBaseReportOnPending?: boolean | null;
/**
* Variable attributes to be sent in SetVariablesRequest on pending boot
*/
pendingBootSetVariables?: VariableAttribute[];
variablesRejectedOnLastBoot?: object[] | null;
bootWithRejectedVariables?: boolean | null;
changeConfigurationsOnPending?: boolean | null;
getConfigurationsOnPending?: boolean | null;
customData?: object | null;
tenantId: number;
tenant?: TenantDto;
static setDefaultTenant(instance: Boot): void;
constructor(...args: any[]);
}