UNPKG

@omnia/fx-models

Version:
65 lines (64 loc) 2.17 kB
import { Theming } from './Theming'; import { OmniaNamedModel, IOmniaPropertyBag } from './NamedProperty'; import { GuidValue } from './Guid'; import { ThemeType } from './Enums'; import { LanguageSettings } from '.'; export interface BusinessProfileIdentity { id: GuidValue; name: string; } export interface BusinessProfile extends BusinessProfileIdentity { } export interface BusinessProfilePath extends BusinessProfileIdentity { businessProfile: BusinessProfile; profileId: GuidValue; path: string; } export interface BusinessProfileWithProperties extends BusinessProfileIdentity { properties: Array<BusinessProfileProperty>; pathProperties: Array<BusinessProfileProperty>; path: string; } export interface BusinessProfilePropertyIdentifier { serviceId: string; name: string; } export interface IBusinessProfile extends BusinessProfileIdentity { readonly propertyBag: IOmniaPropertyBag<BusinessProfileProperty>; readonly pathPropertyBag: IOmniaPropertyBag<BusinessProfileProperty>; } export declare abstract class BusinessProfileProperty extends OmniaNamedModel { } export declare abstract class BusinessProfilePathProperty extends OmniaNamedModel { } export declare class BusinessProfileTheme extends BusinessProfileProperty implements Theming { constructor(); primary: string; secondary: string; corporatecolors: Array<string>; accent: string; error: string; info: string; success: string; warning: string; type: ThemeType; } export interface CentralImageLocation { id?: string; webUrl?: string; webTitle?: string; libraryTitle?: string; libraryId?: string; libraryUrl?: string; libraryAbsoluteUrl?: string; title: string; } export declare class BusinessProfileCentralImageLocation extends BusinessProfileProperty { centralImageLocationSettings: Array<CentralImageLocation>; constructor(); } export declare class BusinessProfileLanguageSettings extends BusinessProfileProperty { inheritFromTenant: boolean; languages: Array<LanguageSettings>; constructor(); }