UNPKG

@citrineos/data

Version:

The OCPP data module which includes all persistence layer implementation.

16 lines (15 loc) 651 B
import type { PartnerProfile, TenantDto } from '@citrineos/base'; import type { TenantPartnerDto } from '@citrineos/base/src/interfaces/dto/tenant.partner.dto.js'; import { Model } from 'sequelize-typescript'; import { Authorization } from './Authorization/index.js'; export declare class TenantPartner extends Model implements TenantPartnerDto { static readonly MODEL_NAME: string; partyId: string; countryCode: string; partnerProfileOCPI: PartnerProfile; authorizations: Authorization[]; tenantId: number; tenant?: TenantDto; static setDefaultTenant(instance: TenantPartner): void; constructor(...args: any[]); }