import { Role, TenantWhiteLabeling } from '../../+shared'; export interface TenantInfo { id: number; name: string; active: boolean; main: boolean; } export interface TenantOwner { email: string; locale?: string; verified?: boolean; } export interface TenantProperties { maxUsers?: number | null; maxDevices?: number | null; maxReports?: number | null; maxDashboards?: number | null; maxRules?: number | null; assetCreationRules?: AssetCreationRules; defaultRole?: Role; defaultLocale?: string; defaultContextLocale?: string; defaultTimeZone?: string; url?: string; whiteLabeling?: TenantWhiteLabeling; } export interface AssetCreationRules { publicCalculationCreation: boolean; publicDashboardCreation: boolean; publicDeviceCreation: boolean; publicDeviceTemplateCreation: boolean; publicPointCreation: boolean; publicPointTemplateCreation: boolean; publicReportCreation: boolean; publicRuleCreation: boolean; } export interface Tenant { id?: number | string; tenant: TenantInfo; owner: TenantOwner; properties: TenantProperties; defaultRole: Role; } export interface TenantQueryParams { query?: string; active?: boolean; page?: number; size?: number; sort?: string; } export interface TenantCreateDTO { tenant: { name: string; active: boolean; }; owner: TenantOwner; properties: TenantProperties; } export interface TenantUpdateDTO { name?: string; properties?: TenantProperties; defaultRole?: Role; } export interface TenantVariableDTO { id?: number; name: string; value: string; } export interface TenantLocalization { defaultPlatformLocale: string; defaultTimeZone: string; } //# sourceMappingURL=tenant.d.ts.map