import { DataType } from '../../+shared'; import { Brand } from '../../brand/model/Brand'; import { ConnectivityProperty } from '../../devices'; import { PropertyDependency } from '../../devices/+shared/model/PropertyDependency'; export interface ServerDetails { organization: string; expiration: number; version: string; minSupportedVersion: string; addOns: { supportNewsletter?: boolean; }; modules: string[]; gitHash: string; multipleContexts: boolean; selfRegistrationAllowed: boolean; userManagementEnabled: boolean; maxFileSize: string; defaultPlatformLocale: string; defaultTimeZone: string; feedValidity: number; maxUsersPerContext: number; maxDashboardsPerContext: number; maxReportsPerContext: number; maxDevicesPerContext: number; maxRulesPerContext: number; privacyPolicyUrl: string; termsUrl: string; copyrightVisible: boolean; mobileAppLinksVisible: boolean; blogLinkVisible: boolean; dataProtocols: string[]; availableLicences: string[]; connectivityTypes: { name: string; parameters: any[]; }[]; deviceTypes: { name: string; parameters: any[]; }[]; eventTypes: string[]; originTypes: string[]; firmwareUpdateTypes: { name: string; parameters: any[]; }[]; whiteLabeling: Brand; protocols: Protocol[]; supportEmail: string; enforce2FA: boolean; } export interface Protocol { name: string; attributeList: ProtocolAttribute[]; } export interface ProtocolAttribute { name: string; type: DataType; defaultValue: string | null; system: boolean; readOnly: boolean; required: boolean; dependency: PropertyDependency | null; maxSize: number | null; minSize: number | null; regex: string | RegExp | null; options: string[]; } export declare function mapProtocolToConnectivityProp(protocolAttrib: ProtocolAttribute): ConnectivityProperty; //# sourceMappingURL=ServerDetails.d.ts.map