// Generated by dts-bundle v0.7.3 // Dependencies for this module: // ../../../react import * as React from 'react'; global { interface Window { webkit: any; app: any; android: WebAppInterface; platform: string; } interface WebAppInterface { postMessage(message: string): any; } } export interface IComposerProps { id: number; open: boolean; token: string; tenant: string; environment: IEnvironment; instance: IInstance; component: "Messages" | "Event" | "ContentCreator" | "ContentOrganizer"; user: IUser; userRole: "Administrator" | "Editor" | "Reader"; author?: IUser; highlightColor: string; placeholderColor: string; imageList: string; videoList: string; isMobile: boolean; startDate: any; endDate: any; allDayEvent: boolean; isBotInstalled: boolean; sendUsingBot: boolean; sendUsingBotOriginal: boolean; creatingNewMessage: boolean; applicationSettings: ITargetingApplications; push: boolean; pushOriginal?: boolean; targetingExistingStructure: ITargetingExistingStrucuture; iaTargetingTargetContent: boolean; iaTargetingOperator: string; iaTargetingOperatorADGroups: string; targetingFields: ITargetingFields[]; iaTargetingGroupData: string; isDraft: boolean; approvalStatus: "Pending" | "Approved" | "Rejected"; tenantSettings: ITenantSettings; likesEnabledOnInstance: boolean; commentsEnabledOnInstance: boolean; likesEnabled: boolean; commentsEnabled: boolean; approvers?: IApprover[]; close: (message: IMessage) => boolean; closeAndReload: () => void; delete: () => void; isReloadOk: (message: IMessage) => boolean; title?: IComposerComponent; teaser?: IComposerComponent; location?: IComposerComponent; cover?: IComposerComponent; subjects?: IComposerComponent; contacts?: IComposerComponent; attachments?: IComposerComponent; contentComponents?: IComposerComponent[]; htmlContent?: string; configuration?: IMessageIAConfiguration; marginTop: number; dataAutomationIdPrefix: string; isFullPageView: boolean; selectedFeeds: string[]; isAdminPage?: boolean; isPinned?: boolean; pinnedEndDate?: Date; publishToReplayByDefault?: boolean; getUserRole?: () => void; isNewsLink?: boolean; newsLink?: string; openNewsLinkInNewTab?: boolean; isMessagesTemplateEditor?: boolean; fontSlots?: IFontSlots; saveTemplateCallback?: (jsonTemplate: string) => void; messageSaved: (message: IMessage) => void; isCreatingFromTemplate?: boolean; recurrenceInfo?: { isRecurring?: boolean; recurrenceData?: IRecurrenceData; isEditingOccurrence?: boolean; occurrenceSeriesId?: number; occurrenceStartDate?: Date; }; } export class IAComposer extends React.Component { constructor(props: IComposerProps); componentWillReceiveProps(props: IComposerProps): void; render(): JSX.Element; } export interface IInstance { domain?: any; id?: any; instanceName?: string; title?: string; translationEnabled?: boolean; hasUniquePermissions?: UniquePermissionsResult; hasSpecialPermissions?: boolean; settings?: IInstanceSettings; pushEnabled?: boolean; modified?: Date; approvalEnabled?: boolean; approvers?: IUser[]; siteCollection?: string; checked?: boolean; } export interface ITargetingApplications { title?: string; applicationSettings?: string; defaultValues?: string; targetingTerms?: ITargetingTerm[]; targetingGroups: ITargetingGroup[]; application?: IApplication; } export interface ITargetingExistingStrucuture { nodes: INode[]; useDefaultStructure: boolean; } export interface ITargetingFields { values?: any[]; field: string; title: string; } export interface ITenantSettings { admin?: IAdmin; event?: ITenantSettingsEvents; contentCreator?: ITenantSettingsContentCreator; image?: ITenantSettingsImage; peopleFinder?: IPeopleFinder; navigator?: INavgatorTenantSettings; } interface INavgatorTenantSettings { enableCodeSnippetComponent?: boolean; } interface IAdmin { useBlobImages?: boolean; enableGraphPersonCard?: boolean; enableMessageAutoRefresh?: boolean; showToolbox?: boolean; enableRecurringMessages?: boolean; } export interface ITenantSettingsEvents { } export interface ITenantSettingsContentCreator { showFilter: boolean; } export interface ITenantSettingsImage { shouldUpdateLocalCache: boolean; } interface IPeopleFinder { enabled: boolean; } export {}; export interface IUser { displayName?: string; userPrincipalName?: string; jobTitle?: string; image?: string; id?: string; userName?: string; title?: string; name?: string; email?: string; photo?: string; loginName?: string; } export interface IApprover extends IUser { disabled: boolean; } export interface IComposerComponent { id?: string; type?: string; image?: IComposerImage; gallery?: IComposerGallery; video?: IComposerVideo; audio?: IComposerAudio; text?: string; table?: string; typeToEdit?: string; users?: IUser[]; categories?: IMessageCategory[]; style?: any; files?: IAFileUploaderFile[]; } export interface IMessage { id?: number; title?: string; teaser?: string; content?: string; image?: string; startDate?: any; allDayEvent?: boolean; endDate?: any; author?: IUser; editor?: IUser; likes?: ILike[]; commentCount?: number; uniqueViews?: number; iaTargetingOperator?: string; iaTargetingOperatorADGroups?: string; iaTargetingTargetContent?: boolean; iaTargetingDepartment?: ITargetingItemData[]; iaTargetingJobTitle?: ITargetingItemData[]; iaTargetingLocation?: ITargetingItemData[]; iaTargetingCustom1?: ITargetingItemData[]; iaTargetingCustom2?: ITargetingItemData[]; targetingFields?: ITargetingFields[]; categories?: IMessageCategory[]; location?: string; iaTargetingGroupData?: string; targetingExistingStructure?: ITargetingExistingStrucuture; iaConfiguration?: IMessageIAConfiguration; modified?: Date; created?: Date; contacts?: any[]; approvers?: IApprover[]; push?: boolean; sendUsingBot?: boolean; videoUrl?: string; videoEmbedCode?: string; isDraft?: boolean; approvalStatus?: "Pending" | "Approved" | "Rejected"; isRead?: boolean; feeds?: string; isPinned?: boolean; pinnedEndDate?: Date; iaMessageBgImagesFromBlob?: IMessageIAMessageBgImagesFromBlob; external?: boolean; recurrence?: boolean; recurrenceData?: IRecurrenceData; recurrenceEndDate?: Date; } export interface IMessageIAConfiguration { cropSettings?: ICropSetting; contentImgCrop?: {}; headerImageAltText?: string; headerVideoAltText?: string; contentImgAlt?: { [imgUrl: string]: string; }; disableLikes?: boolean; disableComments?: boolean; attachments?: IAFileUploaderFile[]; composerComponents?: IComposerComponent[]; onlyShowCoverImageInRollup?: boolean; replay?: IComposerReplaySettings; editor?: "froala" | undefined; isNewsLink?: boolean; newsLink?: string; openNewsLinkInNewTab?: boolean; templateName?: string; } export interface IMessageIAMessageBgImagesFromBlob { StandardLarge?: string; StandardSmall?: string; Original?: string; } export interface IMessageCategory { id: string; name: string; bgColor?: string; textColor?: string; } export interface IFontSlots { title: { fontFamily: string; }; heading: { fontFamily: string; }; body: { fontFamily: string; }; label: { fontFamily: string; }; } export declare type IEnvironment = "Development" | "Test" | "Production"; export interface IRecurrenceData { recurrenceType: RecurrenceDataType; interval: number; repeatForever: boolean; daysOfWeek?: RecurrenceDataDayOfWeek[]; monthlyPattern?: MonthlyPatternType; weekNumberInMonth?: number; dayOfWeekInMonth?: RecurrenceDataDayOfWeek; dayOfMonth?: number; monthOfYear?: number; occurrenceCount?: number; endDate?: Date; exceptions?: Date[]; } export declare type RecurrenceDataType = "daily" | "weekly" | "monthly" | "yearly"; export declare type RecurrenceDataDayOfWeek = "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday"; export declare type MonthlyPatternType = "dayOfMonth" | "nthWeekday" | "lastWeekday"; export declare enum UniquePermissionsResult { No = 0, Yes = 1, NoAccess = 2, Error = 3 } export interface IInstanceSettings { design?: IAppDesign; menu?: IAppPage[]; push?: IAppPush; useAppSettings?: boolean; pushByDefault?: boolean; plingByDefault?: boolean; enablePushFromPling?: boolean; targetingRequired?: boolean; categoriesRequired?: boolean; targetingRequiredToolTip?: string; categoriesRequiredToolTip?: string; notificationRequiredToolTip?: string; shouldByDefaultExpireAfterAmountOfDays?: number; enablePrinting?: boolean; enableReadUnreadMessage?: boolean; highlightUnread?: string; openMessageLink?: string; enableTeaser?: boolean; enablePinMessages?: boolean; pinSortOrder?: number[]; publishToFeedByDefault?: boolean; disableAddPost?: boolean; disableAddNewsLink?: boolean; hideTagsInPanel?: boolean; notificationRequiredUserRole?: "Administrator" | "Members"; shareSettingRequiredUserRole?: "Administrator" | "Members"; reactionOptions?: string[]; showEmojiPickerExpandButton?: boolean; } export interface ITargetingTerm { Id: string; DisplayName: string; Children: ITerm[]; InternalName: string; } export interface ITargetingGroup { title: string; values: string; id: string; highlighted?: boolean; disabled?: boolean; } export interface IApplication { name: string; id: string; default?: IDefaultValues; instances?: Instance[]; title?: string; } export interface IDefaultValues { isEnable: boolean; type: string; allValues: boolean; values: IStoredObject[]; } export interface IStoredObject { label: string; id: string; field?: string; value?: boolean; } export interface Instance { isEnable: boolean; useDefault: boolean; allValues: boolean; name: string; id: string; values: IStoredObject[]; type: string; } export interface INode { id: string; defaultLabel: string; labels: string[]; childNodes: INode[]; checked: boolean; expand?: boolean; columnName?: string; markedChild?: boolean; title?: string; } export interface IAFileUploaderFile { name?: string; url?: string; extension?: string; status?: "success" | "failed" | "uploading" | "waiting" | "duplicate" | "too big"; fileRef?: File; altText?: string; } export interface IAFileUploaderProps { token: string; uploadUrl: string; tenant: string; idPicker: string; linkColor?: string; filesAttached: IAFileUploaderFile[]; style?: any; onChange: (files: IAFileUploaderFile[]) => void; } export interface IAFileUploaderState { uploadedFiles: IAFileUploaderFile[]; dragging: boolean; } export declare class IAFileUploader extends React.Component { constructor(props: IAFileUploaderProps); componentDidMount(): void; render(): JSX.Element; } export interface IComposerAudio { name?: string; url?: string; extension?: string; altText?: string; source?: "Upload" | "Link" | "OrganizationalAssets"; organizationalAsset?: boolean; organizationalAssetPath?: string; status?: "success" | "failed" | "uploading" | "waiting" | "duplicate" | "too big"; fileRef?: File; } export interface IComposerGallery { images?: IComposerImage[]; source?: "OrganizationalAssets" | "Upload"; type?: "Tiles" | "Collage" | "Rotator"; organizationalAsset?: boolean; organizationalAssetPath?: string; organizationalAssetInfo?: IOrgAssetsInfo; maxImages?: number; borderRadius?: number; sortOrder?: "Name asc" | "Name desc" | "TimeLastModified asc" | "TimeLastModified desc"; } export interface IComposerImage { name?: string; url?: string; urlLink?: string; openInNewTab?: string; extension?: string; status?: "success" | "failed" | "uploading" | "waiting" | "duplicate" | "too big"; fileRef?: File; imageOrientation?: string; width?: number; height?: number; cropSettings?: ICropSetting; modified?: string; source?: "Upload" | "Link" | "OrganizationalAssets"; altText?: string; organizationalAsset?: boolean; organizationalAssetPath?: string; onlyShowCoverImageInRollup?: boolean; borderRadius?: number; imageBlobUrl?: string; } export interface IComposerVideo { name?: string; url?: string; embedCode?: string; posterImage?: IComposerImage; extension?: string; altText?: string; source?: "Upload" | "Link" | "OrganizationalAssets" | "Embed" | "Microsoft"; organizationalAsset?: boolean; organizationalAssetPath?: string; status?: "success" | "failed" | "uploading" | "waiting" | "duplicate" | "too big"; fileRef?: File; } export interface ITargetingItemData { Label: string; TermGuid: any; id?: any; Name?: string; } export interface ILike { id?: any; user?: IUser; type?: string; } export interface IComposerReplaySettings { boxStyle?: string; content?: string; image?: IComposerImage; video?: IComposerVideo; id?: string; type?: string; typeToEdit?: string; } export interface ICropSetting { x: number; y: number; width: number; height: number; } export interface IAppPage { title?: string; icon?: string; components?: IAppComponent[]; loaded?: boolean; selectedValues?: IItemData[]; targeting?: ITargeting; targetingExistingStructure?: ITargetingExistingStrucuture; } export interface IAppDesign { navigationBarColor: string; navigationBarContentColor: string; logo?: string; icon?: string; tabBarColor: string; tabBarContentColor: string; tabBarHighlightColor: string; menuStyle: "Burger" | "TabBar"; menuColor: string; menuContentColor: string; menuHighlightColor: string; contentAreaColor: string; contentAreaContentColor: string; contentAreaHighlightColor: string; } export interface IAppPush { instances: IInstance[]; } export interface ITerm { Id: string; DefaultLabel: string; Labels: string[]; ChildTerms: ITerm[]; Checked: boolean; Expand?: boolean; } export interface IOrgAssetsInfo { id?: string; title?: string; site?: string; settings?: IOrgAssetsSettings; guid?: string; } export interface IAppComponent { type?: string; title?: string; instance?: IInstance; url?: string; display?: IMessageDisplayMode; categories?: ICategory[]; showTitle?: boolean; numberOfCards?: number; numberOfDays?: number; backgroundColor?: string; borderColor?: string; borderRadius?: number; textColor?: string; higlightColor?: string; dateBadgeBackgroundColor?: string; dateBadgeTextColor?: string; showDropShadow?: boolean; showFilter?: boolean; showSearch?: boolean; showImage?: boolean; showCardTitle?: boolean; showTeaser?: boolean; showContact?: boolean; showStartDate?: boolean; showLocation?: boolean; showPeriode?: IEventPeriod; showLikes?: boolean; showComments?: boolean; showViews?: boolean; showFunctionButton?: boolean; showCategories?: boolean; filterByCategory?: boolean; useTargeting?: boolean; siteCollection?: string; showAdd?: boolean; birthdayIcon?: string; birthdayType?: string; birthdayProperties?: string[]; showNavigator?: boolean; loadLinksExternally?: boolean; yearsAnniversary?: {}; contentOrganizers?: string[]; selectall?: boolean; onlyShowIfThereIsContent?: boolean; placeholderText?: string; searchResultId?: string; showPaging?: boolean; showPinnedMessages?: boolean; onlyShowPinnedMessages?: boolean; aiContentLanguage?: string; aiSites?: any[]; descriptionHeadline?: string; descriptionText?: string; descriptionIcon?: string; autoRotate?: boolean; noContentText?: string; } export interface IItemData { label: string; id: string; field?: string; name?: string; } export interface ITargeting { enabled: boolean; custom1?: Array<{ label: string; id: string; }>; custom2?: Array<{ label: string; id: string; }>; department?: Array<{ label: string; id: string; }>; jobTitle?: Array<{ label: string; id: string; }>; location?: Array<{ label: string; id: string; }>; targetingFields?: Array<{ field: string; values: Array<{ label: string; id: string; }>; }>; groupData?: string; operator?: string; targetingGroups?: any[]; } export interface IOrgAssetsSettings { displayName?: string; libraryUrl?: IOrgAssetLibraryUrl; orgAssetType?: string; thumbnailUrl?: IOrgAssetsThumbnail; id?: number; status?: number; } export interface ICategory { id: string; name: string; } export declare type IEventPeriod = "upcomming" | "day" | "week" | "month" | "fullView" | "all"; export declare type IMessageDisplayMode = "Card view" | "List view" | "CompactListView" | "CarouselView" | "SplitCarouselView" | "RotatorView" | "TilesView" | "fullView" | "Calendar"; export interface IOrgAssetsThumbnail { decodedUrl?: string; } export interface IOrgAssetLibraryUrl { decodedUrl?: string; }