@citrineos/data
Version:
The OCPP data module which includes all persistence layer implementation.
19 lines (18 loc) • 777 B
TypeScript
import type { CertificateUseEnumType, HashAlgorithmEnumType, InstalledCertificateDto, TenantDto } from '@citrineos/base';
import { Model } from 'sequelize-typescript';
import { Certificate } from './Certificate.js';
export declare class InstalledCertificate extends Model implements InstalledCertificateDto {
static readonly MODEL_NAME: string;
stationId: string;
hashAlgorithm: HashAlgorithmEnumType;
issuerNameHash?: string | null;
issuerKeyHash?: string | null;
serialNumber?: string | null;
certificateType: CertificateUseEnumType;
certificateId?: number | null;
certificate: Certificate;
tenantId: number;
tenant?: TenantDto;
static setDefaultTenant(instance: InstalledCertificate): void;
constructor(...args: any[]);
}