// Generated by dts-bundle v0.7.3 // Dependencies for this module: // ../../../react import * as React from 'react'; export interface ICompactListViewProps { messagesStore?: MessagesStore; } export class CompactListView extends React.Component { constructor(props: any); render(): JSX.Element; } export declare class MessagesStore { webpartId?: string; language: "Danish" | "English" | "Swedish" | "German"; id: string; width: number; token: string; tenant: string; tenantSettings: ITenantSettings; isNavigator: boolean; isMessagesTemplateEditor: boolean; openContentFromLink?: INavigatorContentFromLink; hideFullViewCoverOverlay: boolean; hideFullViewDate: boolean; instance: IInstance; description: string; header: boolean; title: string; headLineColor: string; hasDarkBackground: boolean; headlineFontSize: number; headlineFontStyle: string; headlineTextAlign: string; headlineFontWeight: string; inheritFont: boolean; display: IMessageDisplayMode; numMessages: number; backgroundColor: string; overlayColor: string; textColor: string; dateBadgeBackgroundColor: string; dateBadgeTextColor: string; dateBorderColor: string; borderColor: string; borderRadius: number; selectedCategories: INode[]; selectedInstances: INode[]; selectedTypesOfContent: INode[]; selectedItemStatus: INode[]; categoryNodes: INode[]; categoryDataItems: any[]; shouldFilterByCategory: boolean; maxAmountOfColumns: number; showFilter: boolean; addMessage: boolean; showPaging: boolean; isTargetingAvailable: boolean; isFullPageView: boolean; showCategories: boolean; showImage: boolean; showAuthor: boolean; showTeaser: boolean; showTitle: boolean; showStartDate: boolean; showLikes: boolean; showComments: boolean; showDropShadow: boolean; enableMarkAllAsRead: boolean; showCommandBarItems: boolean; collapseCommandBarItems: boolean; showLocation: boolean; showTimespand: boolean; showUniqueViews: boolean; autoRotate: boolean; autoRotateInterval: number; carouselInterval: number; displayDateOnCover: boolean; cacheTimestamp: any; showShowAllButton?: boolean; showAllButtonLink?: string; isCreatingFromTemplate?: boolean; showPinnedMessages: boolean; onlyShowPinnedMessages: boolean; showSortPinnedPanel: boolean; refreshSortPinnedPanel: boolean; hideSortPanelButton: boolean; messageToUnpin: IMessage; showUnpinPopup: boolean; component: "Messages" | "Event" | "ContentCreator" | "ContentOrganizer"; categories: INode[]; highlightColor: string; rollupHighlightColor: string; environment: IEnvironment; user: IUser; userRole: "Administrator" | "Editor" | "Reader"; source: "Home" | "Mobile" | "SharePoint"; applicationSettings: ITargetingApplications; onlyShowIfThereIsContent: boolean; textIfNoContent: string; webpartDisplayMode: number; shouldReQuery: boolean; isMobileApp?: boolean; appStore?: AppStore; panelContentIsLoading: boolean; isReviewProcess: boolean; isHidden: boolean; isBotInstalled: boolean; newContentAvailable: boolean; lastRequestForNewContent: Date; toggleShowHideComponent(isHidden: boolean): void; showPeriod: IEventPeriod; startDate: Date; endDate: Date; isMobile: boolean; preview: boolean; showingContentFromCache: boolean; serverAlert: IHttpStatus; isAdminPage: boolean; hasChanged: string; reloadComponent: boolean; calendarHeight: number | "auto"; openedFromLink: boolean; availableInstances: any[]; readableMessageInstances: IInstance[]; readableEventsInstances: IInstance[]; readableContentOrganizerInstances: IInstance[]; showFilterPanel: boolean; showOuterPanel: boolean; hideOuterPanel(): void; showSearch: boolean; searchText: string; isFetchingMessages: boolean; isSearching: boolean; messages: IMessage[]; filterData: IFilterDataMessages; messageIndex: number; messageToEdit: IMessage; messageToEditOriginal: IMessage; messageToOpen: IMessage; messageToDelete: IMessage; isSavingMessage: boolean; creatingNewMessage: boolean; messagesOpenedStack: IMessage[]; editOccurrence: boolean; occurrenceSeriesId: number; showCancelEditPopup: boolean; panelIsOpen: boolean; digestPaneIsOpen: boolean; addComment: boolean; pagingInfo: string; pageNumber: number; loading: boolean; loadingCommentsAndLikes: boolean; loadingUniqueViews: boolean; likesEnabled: boolean; commentsEnabled: boolean; commentsClicked: boolean; notification: any; titleTranslated: string; teaserTranslated: string; categoriesTranslated: string; contentTranslated: string; translationLanguage: string; isTranslating: boolean; feedOptions: IFeed[]; availableTemplates: ITemplate[]; setUserRole(userRole: IUserRole): void; getUserRole(): Promise; targetingProperties: ITargetingProperties[]; inTeams: boolean; availableCategoriesForComponent: any[]; clearTranslation(): void; reload(): void; setLanguage(language: "Danish" | "English" | "Swedish" | "German"): void; showNotification(type: "success" | "information" | "warning" | "error", content: string, icon?: string): void; hideNotification(): void; updateFilter(filter: IFilterDataMessages): void; openMessage(message: IMessage, callback?: () => void): Promise; editMessage(message: IMessage): void; closeMessage(): void; updateMessage(): void; openNextMessage(): Promise; openPreviousMessage(): Promise; hasFetchedMessages: boolean; getInstance(ignoreCache?: boolean): Promise; getCategories(forceUpdate?: boolean): Promise; likesUpdated(likes: ILike[]): void; commentsUpdated(comments: number): void; commentsClick(message: IMessage): void; updateEditorState(): void; getTargetingApplication(): Promise; getTargetingProperties(): Promise; getTranslation(language: string, title: string, teaser: string, text: string, categories?: string): void; getBotInstallationStatus(forceUpdate?: boolean): Promise; getNewBotInstallationStatus(forceUpdate?: boolean): Promise; getServerError(statusCode: number): string; showConvertToComposerPopup: IMessage; sortMessageBySortOrder(messagesToSort: IMessage[], sortOrderIDs: number[]): IMessage[]; getMessageEndDate(): Date; setTemplateProperties(template: IMessage, defaultEndDate: Date): Promise; fontSlots: IFontSlots; userLocation: string; getCalendarPage(dateTimeService: DateTimeService, pageDirection: "next" | "prev"): void; getCalendarDatePage(dateTimeService: DateTimeService, date: Date): void; } 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 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 ILike { id?: any; user?: IUser; 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 IFilterDataMessages { isFiltered: boolean; hasChanged?: boolean; showOnlyAuthorMessages: "Me" | "All"; selectedPeolple: IUser[]; showPeriodMessage: "All time" | "Period"; startDate?: Date; endDate?: Date; selectedCategories: any[]; selectedTypesOfContent?: any[]; selectedItemStatus?: any[]; selectedInstances?: any[]; } export interface IHttpStatus { statusCode: number; message?: string; } export interface ITargetingProperties { IATargetingPropertyApplications?: string; IATargetingPropertyDisplayName?: string; IATargetingPropertyIdentity?: string; IATargetingUserProfilePropertyNa?: string; IATargetingPropertyType?: string; IATargetingTermsGroupIdentity?: string; Title: string; id: number; } export interface ITargetingApplications { title?: string; applicationSettings?: string; defaultValues?: string; targetingTerms?: ITargetingTerm[]; targetingGroups: ITargetingGroup[]; application?: IApplication; } export interface IUserRole { id: number; title: "Administrator" | "Editor" | "Reader"; user: IUser; } 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 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 INavigatorContentFromLink { openedFromLink?: boolean; messageToOpen?: IMessage; targetingApplications?: ITargetingApplications; targetingProperties?: ITargetingProperties[]; userRole?: IUserRole; component?: "Messages" | "Events"; idToOpen?: number; commentToShow?: string; } export interface IFeed { id?: string; application: "messages" | "events" | "sharepoint-news"; instances: string[]; title: string; meta?: IFeedSharePointSiteMeta | any; } export interface IFeedSharePointSiteMeta { siteId: string; } export interface IIntegrationsPerProfile { [profileId: string]: { messagesFeeds: IFeed[]; eventsFeeds: IFeed[]; sharePointSites: IFeed[]; workplaceAPIKey: string; facebookPageIntegrations: IFacebookPageIntegration[]; powerBiIntegrations: IPowerBIWorkspace[]; relesysIntegration: { clientId: string; clientSecret: string; }; timeEditIntegration: IPlayTimeEditIntegration; }; } export interface IFeedStructureItem { id?: string; title?: string; highlighted?: boolean; children?: IFeedStructureItem[]; feed?: IFeed; } export declare type IEnvironment = "Development" | "Test" | "Production"; export default class DateTimeService { ConvertToDDMMYYYY(date: Date | string): string; ConvertToDDMMYYYYWithSlashes(date: Date | string): string; ConvertToYYYYMMDD(date: Date | string): string; ConvertToLocalIOSString(date: Date | string): string; ConvertToDDMM(date: Date | string): string; ConvertToHHMM(date: Date | string): string; ConvertToHHMMWithDoubleDots(date: Date | string): string; ConvertToDDMMYYYYHHMM(date: Date | string, doubleDots?: boolean): string; parseDate(dateString: string): Date; getWeekday(date: Date, forceLanguage?: string): string; getDayInMonth(date: Date | string, allDayEvent?: boolean): string; getNameOfMonth(date: Date | string, allDayEvent?: boolean, forceLanguage?: string): string; isStartAndEndDateTheSameDay(startDate: Date | string, endDate: Date | string, allDayEvent?: boolean): boolean; getEventStringDateTimeFormat(startDate: Date, endDate?: Date, allDayEvent?: boolean): string; getEventString(startDate: Date, endDate?: Date, allDayEvent?: boolean, isStringOnRollup?: boolean): string; getEventDateString(startDate: Date, endDate?: any, isAllDayEvent?: boolean): string; getEventTimeString(startDate: Date, endDate?: Date): string; getUserfriendlyDate(date: Date): string; getTodayAtMidnight(): Date; getTomorrowAtMidnight(): Date; getDatePlusOneHour(date: Date): Date; getDatePlusTwelveHours(date: Date): Date; getDatePlusTwoMinuts(date: Date): Date; getDateMinusTwoMinuts(date: Date): Date; getDateMinusTenMinuts(date: Date): Date; getDateAtMidnight(date: Date): Date; getDateJustBeforeMidnight(date: Date): Date; getDateLocalized(date: Date | string): string; getHoursLocalized(date: Date | string): string; getShortDateLocalized(date: Date | string): string; getFullDateLocalized(date: Date | string): string; getFullDateWithoutYearsLocalized(date: Date | string): string; isOlderThanOneHour(date: Date | string): boolean; getStartOfWeek(date: Date): Date; getEndOfWeek(date: Date): Date; } export interface ITemplate { id: string; title: string; tenant: string; application: "messages" | "events"; isTargeted: boolean; targetingGroupIds: number[]; instance: string; order: number; jsonTemplate?: string; } export interface IFontSlots { title: { fontFamily: string; }; heading: { fontFamily: string; }; body: { fontFamily: string; }; label: { fontFamily: 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 ITargetingItemData { Label: string; TermGuid: any; id?: any; Name?: string; } export interface ITargetingFields { values?: any[]; field: string; title: string; } export interface ITargetingExistingStrucuture { nodes: INode[]; useDefaultStructure: boolean; } export interface IApprover extends IUser { disabled: boolean; } 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 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 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 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 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 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 declare class AppStore { token: string; environment: "Development" | "Test" | "Production"; tenant: string; preview: boolean; isIPhoneXType: boolean; blockReload: boolean; editMode: boolean; instance: IInstance; showMenu: boolean; showSettings: boolean; user: IUser; pages: JSX.Element[][]; selectedPageIndex: number; selectedComponentIndex: number; contentMapPageToShow: string; isCustomApp: boolean; nativeVersion: string; openedPanelMessageStore: MessagesStore; showPowerApp: boolean; reloadPage(): void; } export declare type TCountDirection = "up" | "down"; export declare type TLayout = "standard" | "flip"; export interface IPlayer { id?: string; tenantId?: string; displayCode?: number; isFavorite?: boolean; createdBy?: IPlayUser; modifiedBy?: IPlayUser; created?: string; modified?: string; width: number; height: number; longitude: string; latitude: string; city: string; title?: string; playlistId?: string; profileId?: string; lastSuccessfulRequest?: Date; groups?: string[]; nonce?: string; playlistTitle?: string; language?: string; offlineFrom?: string; offlineTo?: string; isOfflineTimeframeEnabled?: boolean; } export interface IPlayerActivity { restarting?: boolean; jsHeapSizeLimit?: number; usedJSHeapSize?: number; fps?: number; } export interface IPlayerExtended { id?: string; displayCode?: number; isFavorite?: boolean; createdBy?: IPlayUser; modifiedBy?: IPlayUser; created?: string; modified?: string; width?: number; height?: number; title?: string; longitude?: string; latitude?: string; city?: string; playlist?: IPlaylistExtended; restartAt?: Date; playProfile?: IPlayProfile; tenantId?: string; language?: string; offlineFrom?: string; offlineTo?: string; isOfflineTimeframeEnabled?: boolean; } export interface IPlayProfile { id?: string; title?: string; logoUrl?: string; footer?: IPlayFooter; integrations?: string[]; hasAccessPermissions?: boolean; rssTickers?: IPlayRssTickerWidget[]; swatches?: string[]; fonts?: { body?: string; headline?: string; }; } export interface IPlayFooter { color: string; backgroundColor: string; backgroundColor2?: string; showLogo: boolean; logoUrl: string; showWeather: boolean; showClock: boolean; } export interface IPlayWeatherData { current: IPlayWeather; dayForecast: IPlayWeather[]; forecast: IPlayWeatherForecast[]; } export interface IPlayWeather { airTemperature: number; iconUrl: string; time: string; precipitationAmount?: number; } export interface IPlayWeatherForecast { time: string; airTemperatureHigh: number; airTemperatureLow: number; precipitationAmount: number; iconUrl: string; } export interface IPlayerGroup { id?: string; title?: string; } export interface IPlaylist { id?: string; title?: string; isFavorite?: boolean; createdBy?: IPlayUser; modifiedBy?: IPlayUser; created?: string; modified?: string; slides?: string[]; screenFormat: "portrait" | "landscape"; firstSlide?: IPlaySlideExtended; rssTickerId?: string; showSnow?: boolean; showHalloween?: boolean; showEaster?: boolean; showConfetti?: boolean; } export interface IPlaylistExtended { id?: string; title?: string; isFavorite?: boolean; createdBy?: IPlayUser; modifiedBy?: IPlayUser; created?: string; modified?: string; slides?: IPlaySlideExtended[]; omittedSlides?: string[]; screenFormat: "portrait" | "landscape"; transitionType?: IPlayTransitionType; rssTickerId?: string; showSnow?: boolean; showHalloween?: boolean; showEaster?: boolean; showConfetti?: boolean; } export declare type IPlaySlideLayout = "oneColumn" | "twoColumns" | "rightSideTwoRows" | "leftAndRightSideTwoRows" | "portraitOneRow" | "portraitTwoRows"; export interface IPlaySlide { id?: string; title?: string; isFavorite?: boolean; createdBy?: IPlayUser; modifiedBy?: IPlayUser; created?: string; modified?: string; layout?: IPlaySlideLayout; showFooter?: boolean; widgets?: string[]; startDate?: string; endDate?: string; duration?: number; showRssTicker?: boolean; rssTicker?: string; playlistsToAddTo?: string[]; playlistsToRemoveFrom?: string[]; } export interface IPlaySlideExtended { id?: string; title?: string; isFavorite?: boolean; createdBy?: IPlayUser; modifiedBy?: IPlayUser; created?: string; modified?: string; layout?: any; showFooter?: boolean; widgets?: IPlayWidgetExtended[]; startDate?: string; endDate?: string; duration?: number; showRssTicker?: boolean; rssTicker?: IPlayWidgetExtended; playlistsToAddTo?: string[]; playlistsToRemoveFrom?: string[]; } export declare type IPlayWidgetType = "video23" | "articleViewer" | "drRss" | "image" | "gallery" | "video" | "rss" | "weather" | "embed" | "pdf" | "rssTicker" | "eventViewer" | "messageViewer" | "powerpoint" | "youtube" | "video" | "vimeo" | "23video" | "sharepointNewsViewer" | "workplaceFeedViewer" | "poll" | "instagram" | "x" | "facebookPageViewer" | "countdown" | "counter" | "powerbi" | "relesys" | "timeEdit" | "outlookCalendar"; export declare type IPlaySize = "extraExtraSmall" | "extraSmall" | "small" | "standard" | "large" | "extraLarge"; export declare type IPlayWidgetDisplayType = "onlyText" | "textBoxOnBackgroundImage" | "textLeftImageRight" | "textRightImageLeft" | "textBottomImageTop" | "textTopImageBottom" | "backgroundImage"; export declare type IPlayWidgetAreaType = "full" | "vertical" | "small" | "portraitFull" | "portraitHalf"; export interface IPlayWidget { id?: string; title?: string; headerTitle?: string; headerImage?: string; headerSubtitle?: string; type?: IPlayWidgetType; isFavorite?: boolean; createdBy?: IPlayUser; modifiedBy?: IPlayUser; duration?: number; created?: string; modified?: string; articleViewer?: IPlayArticleViewerWidget; image?: IPlayImageWidget; gallery?: IPlayGalleryWidget; video?: IPlayVideoWidget; rss?: IPlayRssWidget; embed?: IPlayEmbedWidget; weather?: IPlayWeatherWidget; pdf?: IPlayPdfWidget; rssTicker?: IPlayRssTickerWidget; youtube?: IPlayVideoWidget; vimeo?: IPlayVideoWidget; video23?: IPlayVideoWidget; messageViewer?: IPlayMessagesWidget; eventViewer?: IPlayEventsWidget; sharepointNewsViewer?: IPlaySharepointNewsWidget; workplaceFeedViewer?: IPlayWorkplaceNewsWidget; facebookPageViewer?: IPlayFacebookNewsWidget; countdown?: IPlayCountdownWidget; counter?: IPlayCountdownWidget; instagram?: IPlayInstagramWidget; poll?: IPlayPollWidget; showTitle?: boolean; showProgressBar?: boolean; relesys?: IPlayRelesysWidget; timeEdit?: IPlayTimeEditWidget; } export interface IPlayWidgetExtended { id?: string; title?: string; headerTitle?: string; headerImage?: string; headerSubtitle?: string; type?: IPlayWidgetType; isFavorite?: boolean; createdBy?: IPlayUser; modifiedBy?: IPlayUser; created?: string; modified?: string; duration?: number; articleViewer?: IPlayArticleViewerWidgetExtended; image?: IPlayImageWidget; gallery?: IPlayGalleryWidget; video?: IPlayVideoWidget; rss?: IPlayRssWidget; embed?: IPlayEmbedWidget; weather?: IPlayWeatherWidget; pdf?: IPlayPdfWidget; rssTicker?: IPlayRssTickerWidget; vimeo?: IPlayVideoWidget; youtube?: IPlayVideoWidget; video23?: IPlayVideoWidget; messageViewer?: IPlayMessagesWidget; eventViewer?: IPlayEventsWidget; sharepointNewsViewer?: IPlaySharepointNewsWidget; workplaceFeedViewer?: IPlayWorkplaceNewsWidget; facebookPageViewer?: IPlayFacebookNewsWidget; countdown?: IPlayCountdownWidget; counter?: IPlayCountdownWidget; instagram?: IPlayInstagramWidget; poll?: IPlayPollWidget; showTitle?: boolean; showProgressBar?: boolean; powerbi?: IPlayPowerBIWidget; relesys?: IPlayRelesysWidget; timeEdit?: IPlayTimeEditWidget; outlookCalendar?: IPlayOutlookCalendarWidget; } export interface IPlayPollWidget { id?: string; title?: string; replyOptions: IPlayPoolReplyOption[]; showResult?: boolean; resultType?: "bars" | "circle" | "list" | "winner"; backgroundImage?: string; } export interface IPlayRssTickerWidget { url?: string; backgroundColor?: string; color?: string; labelText?: string; labelBackgroundColor?: string; labelColor?: string; showTime?: boolean; labelLogo?: string; maxItems?: number; position?: string; title?: string; id?: string; } export interface IPlayArticleViewerWidget { articles: string[]; omittedArticles?: string[]; transition?: IPlayTransitionType; duration?: number; noContentImageUrl?: string; } export interface IPlayArticleViewerWidgetExtended { articles: IPlayArticle[]; omittedArticles?: string[]; transition?: IPlayTransitionType; duration?: number; noContentImageUrl?: string; articleEditMode?: boolean; } export interface IPlayImageWidget { imageUrl: string; keepOriginal?: boolean; } export interface IPlayGalleryWidget { showTitle: boolean; images: string[]; showThumbnails: boolean; transition?: IPlayTransitionType; duration?: number; keepOriginal?: boolean; showSocialGallery?: boolean; linkText?: string; } export interface IPlayVideoWidget { videoUrl: string; fitToView: boolean; duration: number; showTitle: boolean; } export interface IPlayRssWidget { url: string; boxStyle: IPlayBoxStyle; colorThemes: IColorTheme[]; maxItems?: number; showTime?: boolean; transition?: IPlayTransitionType; duration?: number; showQRLink?: boolean; showTitle?: boolean; showText?: boolean; showDate?: boolean; showImage?: boolean; linkText?: string; contentPosition?: "left" | "right" | "random"; keepOriginalImage?: boolean; enableScroll?: boolean; } export interface IPlayWeatherWidget { colorTheme: IColorTheme; weatherType: IPlayWeatherDisplayMode; } export declare type IPlayWeatherDisplayMode = "day" | "week"; export interface IPlayEmbedWidget { url: string; } export interface IPlayPdfWidget { url: string; } export interface IPlayMessagesWidget { feedId?: string; feedTitle?: string; messages: IPlayMessage[]; amountToShow: number; boxStyle: IPlayBoxStyle; colorThemes: IColorTheme[]; showTime?: boolean; transition?: IPlayTransitionType; contentPosition?: "left" | "right" | "random"; duration?: number; showQRLink?: boolean; showTitle?: boolean; showText?: boolean; showAuthor?: boolean; showDate?: boolean; showImage?: boolean; showVideo?: boolean; showGallery?: boolean; noContentImageUrl?: string; linkText?: string; keepOriginalImage?: boolean; enableScroll?: boolean; } export interface IPlayEventsWidget { feedId?: string; events: IPlayEvent[]; textLines?: number; timespand?: "today" | "week" | "month" | "upcoming"; excludeToday?: boolean; amountToShow: number; layoutType: IPlayLayoutType; contentPosition?: "left" | "right" | "random"; boxStyle: IPlayBoxStyle; colorThemes?: IColorTheme[]; transition?: IPlayTransitionType; duration?: number; showHeadline?: boolean; showTitle?: boolean; showText?: boolean; showAuthor?: boolean; showImage?: boolean; showTime?: boolean; showTimeBox?: boolean; showLocation?: boolean; headlineColor?: string; boxColor?: string; borderColor?: string; backgroundColor?: string; textColor?: string; timeBatchBackgroundColor?: string; timeBatchTextColor?: string; timeBatchBorderColor?: string; backgroundImage?: string; noContentImageUrl?: string; keepOriginalImage?: boolean; enableScroll?: boolean; } export interface IPlaySharepointNewsWidget { feedId?: string; siteName?: string; news: IPlaySharepointNewsItem[]; amountToShow: number; showAuthor?: boolean; transition?: IPlayTransitionType; duration?: number; boxStyle: IPlayBoxStyle; colorThemes: IPlayColorTheme[]; showTime?: boolean; showQRLink?: boolean; showTitle?: boolean; showText?: boolean; showDate?: boolean; showImage?: boolean; noContentImageUrl?: string; linkText?: string; keepOriginalImage?: boolean; contentPosition?: "left" | "right" | "random"; enableScroll?: boolean; } export interface IPlayWorkplaceNewsWidget { groups?: string[]; feed: IPlayWorkplaceFeedItem[]; amountToShow: number; transition?: IPlayTransitionType; duration?: number; boxStyle: IPlayBoxStyle; colorThemes: IPlayColorTheme[]; showTime?: boolean; showQRLink?: boolean; showTitle?: boolean; showText?: boolean; showDate?: boolean; showImage?: boolean; showAuthor?: boolean; showProgressBar?: boolean; noContentImageUrl?: string; keepOriginalImage?: boolean; linkText?: string; contentPosition?: "left" | "right" | "random"; enableScroll?: boolean; } export interface IPlayFacebookNewsWidget { groups?: string[]; pageId?: string; feed: IFacebookFeedItem[]; amountToShow: number; transition?: IPlayTransitionType; duration?: number; boxStyle: IPlayBoxStyle; colorThemes: IPlayColorTheme[]; showTime?: boolean; showQRLink?: boolean; showTitle?: boolean; showText?: boolean; showDate?: boolean; showImage?: boolean; showAuthor?: boolean; showProgressBar?: boolean; noContentImageUrl?: string; keepOriginalImage?: boolean; linkText?: string; contentPosition?: "left" | "right" | "random"; enableScroll?: boolean; } export interface IPlayCountdownWidget { title?: string; description?: string; imageUrl?: string; date?: Date; backgroundColor?: string; overlayColor?: string; overlayOpacity?: number; showDays?: boolean; showHours?: boolean; showMinuts?: boolean; showSeconds?: boolean; color?: string; layout?: TLayout; countDirection?: TCountDirection; countdownEndedText?: string; colorTheme?: IColorTheme; christmasSettings?: IChristmasSettings; } export interface IPlayInstagramWidget { boxStyle: IPlayBoxStyle; colorThemes: IColorTheme[]; maxItems?: number; showTime?: boolean; transition?: IPlayTransitionType; duration?: number; showQRLink?: boolean; showTitle?: boolean; showText?: boolean; showDate?: boolean; showImage?: boolean; linkText?: string; contentPosition?: "left" | "right" | "random"; layoutType: IPlayLayoutType; } export declare type IPlayLayoutType = "slide" | "list" | "week"; export interface IPlayArticle { id?: string; duration?: number; isFavorite?: boolean; createdBy?: IPlayUser; modifiedBy?: IPlayUser; created?: string; modified?: string; textContent?: string[]; imageUrl?: string; link?: string; linkText?: string; startDate?: string; endDate?: string; galleryImages?: string[]; video?: string; boxStyle?: IPlayBoxStyle; colorTheme?: IColorTheme; showTitle?: boolean; showDate?: boolean; contentPosition?: "left" | "right" | "random"; contentVerticalPosition?: "top" | "bottom"; widgetsToAddTo?: string[]; widgetsToRemoveFrom?: string[]; contentWidth?: number; boxStyleRoundCorner?: boolean; keepOriginalImage?: boolean; showTableBorder?: boolean; fontSize?: "small" | "medium" | "large"; hideTitle?: boolean; type?: IPlayWidgetDisplayType; textPosition?: string; title?: string; text?: string; backgroundColor?: string; textColor?: string; textSize?: IPlaySize; titleSize?: IPlaySize; margin?: number; tag?: string; time?: string; } export interface IPlayMessage { id?: string | number; instanceTitle?: string; title?: string; content?: string; startTime?: string; endDate?: string; categories?: string[]; author?: { name?: string; image?: string; }; featuredImage?: string; featuredVideo?: string; featuredVideoEmbedCode?: string; contacts?: { name?: string; image?: string; }[]; link?: string; configuration: IMessageIAConfiguration; teaser?: string; } export interface IPlayNewsItem { id?: string | number; title?: string; content?: string; date?: string; startDate?: string; endDate?: string; fontSize?: "small" | "medium" | "large"; isAllDayEvent?: boolean; location?: string; categories?: string[]; author?: string; image?: string; video?: string; metaData?: string; gallery?: string[]; link?: string; linkText?: string; colorTheme?: IColorTheme; boxStyle?: IPlayBoxStyle; boxStyleWidth?: number; boxStyleRoundCorner?: boolean; contentPosition?: "left" | "right" | "random"; contentVerticalPosition?: "top" | "bottom"; keepOriginalImage?: boolean; editMode?: boolean; tag?: string; showTableBorder?: boolean; removeContentMarginTop?: boolean; headerFontWeight?: string; intranetCropSettings?: ICropSetting; } export interface IPlayEvent { id?: string | number; title?: string; content?: string; startTime?: string; endTime?: string; categories?: string[]; author?: { name?: string; image?: string; }; featuredImage?: string; allDayEvent?: boolean; location?: string; link?: string; configuration: IMessageIAConfiguration; } export interface IPlaySharepointNewsItem { title?: string; featuredImage?: string; modified?: string; description?: string; url?: string; bannerImageUrl?: { url?: string; }; } export interface IPlayWorkplaceFeedItem { id: string; message?: string; picture?: string; video?: string; groupName?: string; from?: { id: string; name: string; }; created_time?: string; permalink_url?: string; } export interface IFacebookFeedItem { id: string; message?: string; picture?: string; video?: string; from?: { id: string; name: string; }; created_time?: string; permalink_url?: string; } export interface IPlayRelesysWidget { amountToShow: number; contentModuleId: string; relesysContent: IPlayRelesysContent[]; transition?: IPlayTransitionType; duration?: number; boxStyle: IPlayBoxStyle; colorThemes: IPlayColorTheme[]; showTime?: boolean; showTitle?: boolean; showText?: boolean; showProgressBar?: boolean; noContentImageUrl?: string; contentPosition?: "left" | "right" | "random"; contentVerticalPosition?: "top" | "bottom"; enableScroll?: boolean; keepOriginalImage?: boolean; showGallery?: boolean; contentWidth?: number; boxStyleRoundCorner?: boolean; } export interface IPlayRelesysContentModule { id: string; name: string; } export interface IPlayRelesysContent { id: string; creationDateTime: string; locales: IPlayRelesysContentLocale[]; medias: IPlayRelesysMedia[]; } export interface IPlayRelesysContentLocale { culture: string; title: string; bodyText: string; } export interface IPlayRelesysMedia { id: string; contentType: string; downloadUrl: string; base64Image: string; galleryImages: string[]; } export interface IPlayTimeEditWidget { searchObjects: IPlayTimeEditSearchObject[]; reservations: IPlayTimeEditReservation[]; transition?: IPlayTransitionType; duration?: number; colorThemes: IPlayColorTheme[]; noContentImageUrl?: string; showTodaysDate?: boolean; backgroundImage?: string; boxStyle: IPlayBoxStyle; } export interface IPlayOutlookCalendarWidget { duration?: number; backgroundColor?: string; headlineColor?: string; textColor?: string; highlightColor?: string; headline?: string; showDate?: boolean; showTime?: boolean; showOrganizer?: boolean; showRoom?: boolean; showMeetingTitle?: boolean; resources?: any[]; events?: IPlayOutlookCalendarWidgetEvent[]; } export interface IPlayOutlookCalendarWidgetEvent { headline: string; startDate: string; endDate: string; location: string; organizer: string; } export interface IPlayTimeEditType { extId: string; name: string; } export interface IPlayTimeEditSearchObject { extId: string; type: string; field: IPlayTimeEditSearchObjectField[]; } export interface IPlayTimeEditSearchObjectField { extId: string; value: string; } export interface IPlayTimeEditReservation { begin: string; end: string; objects: IPlayTimeEditReservationSearchObject[]; } export interface IPlayTimeEditReservationSearchObject { extId: string; type: string; fields: IPlayTimeEditReservationSearchObjectField[]; } export interface IPlayTimeEditReservationSearchObjectField { extId: string; value: string; } export interface IPlayTimeEditIntegration { username: string; password: string; customerSpecificUrl: string; } export declare type IPlayTransitionType = "crossfade" | "slide" | "none"; export interface IPlayColorTheme { textColor: string; backgroundColor: string; } export interface IListElement { id: string; columns: IListElementColumn[]; buttons: IListElementButton[]; object?: any; } export interface IListElementColumn { type: "tag" | "icon" | "text" | "date" | "preview" | "person" | "customElement"; header: string; text?: string; tooltip?: string; icon?: string; iconUrl?: string; date?: string; backgroundColor?: string; src?: string; fileType?: string; color?: string; style?: React.CSSProperties; iconSize?: number; marginTop?: number; element?: JSX.Element[]; boldHeader?: boolean; } export interface IListElementButton { action: string; text?: string; icon?: string; iconUrl?: string; color: string; backgroundColor?: string; svgStyles?: React.CSSProperties; opacity?: number; } export interface IPlayUser { displayName: string; userPrincipalName: string; userId: string; } export interface IMediaFile { id?: string; name?: string; url?: string; mimeType?: string; tags?: string[]; isNew?: boolean; blurHash?: string; } export interface IMediaFileTag { id?: string; } export interface IAzureStorageUploadInfo { id: string; uploadLink: string; storageUri: string; containerName: string; sharedAccessSignature: string; fileExists: boolean; fileName?: string; } export declare type IAPlayRequestFilters = { skip?: number; take?: number; search?: string; excludeIds?: string[]; showOnly?: IAPlayActivityStatus[]; countOnly?: number; tags?: string[]; sortBy?: string; }; export declare type IAPlayActivityStatus = "scheduled" | "active" | "expired"; export interface IPlayCompanyInformation { tenantId?: string; email?: string; address?: string; city?: string; country?: string; vat?: string; company?: string; firstName?: string; lastName?: string; postalCode?: string; } export interface IPlaySubscription { addOns: IPlaySubscriptionAddOns[]; customer: string; plan: string; } export interface IPlaySubscriptionAddOns { name: string; amount: number; type: string; } export interface IPlayIntegration { id?: string; feeds?: string[]; type: PlayIntegrationType; profileId: string; accessToken?: string; powerBiWorkspaces?: IPowerBIWorkspace[]; relesysClientId?: string; relesysClientSecret?: string; facebookIntegrations?: IFacebookPageIntegration[]; timeEditIntegration?: IPlayTimeEditIntegration; } export interface IPlayAppRegistrationConsentResponse { result: boolean; hint: string; } export declare type PlayIntegrationType = "messages" | "events" | "sharepoint-news" | "workplace-feed" | "facebook-feed" | "powerbi" | "relesys" | "timeEdit"; export declare type IPlayBoxStyle = "solid" | "transparent" | "gradient" | "hidden" | "fullTransparent" | "fullSolid" | "box" | "boxTransparent" | "boxHidden" | "onlyImage" | "onlyVideo" | "onlyMedia" | "postcard"; export declare type IPlayViewTemplate = "box" | "half" | "full" | "onlyMedia" | "postcard" | "list" | "week"; export interface IPlayPoolReplyOption { id?: number; title?: string; image?: string; showTitle?: boolean; qrCode?: string; replies?: number; } export interface IWidgetSwitchStatus { isActive: boolean; profileId: string; tenantAndProfileId: string; tenantId: string; id: string; created: string; modified: string; } export interface IFacebookPageIntegration { pageId?: string; pageName?: string; } export interface IPowerBIWorkspace { id: string; name: string; } export interface IPowerBIReport { id: string; name: string; embedUrl: string; datasetId: string; workspaceId: string; } export interface IPlayPowerBIWidget { workspaceName?: string; workspaceId?: string; reportId?: string; reportName?: string; reportEmbedUrl?: string; datasetId?: string; accessToken?: string; pageName?: string; } export interface IPowerBIGenerateToken { token: string; expiration: Date; } export interface IPowerBIPage { displayName: string; name: string; order: string; } 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 ITerm { Id: string; DefaultLabel: string; Labels: string[]; ChildTerms: ITerm[]; Checked: boolean; Expand?: boolean; } 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 IChristmasSettings { candleNumberColor: string; candleColor: "white" | "red" | "green" | "blue"; showQRCode: boolean; } export interface ICountdownProps { countDirection: TCountDirection; layout?: TLayout; title?: string; date?: Date; description?: string; overlayColor?: string; overlayOpacity?: number; showDays?: boolean; showHours?: boolean; showMinuts?: boolean; showSeconds?: boolean; color?: string; flipBackgroundColor?: string; flipColor?: string; image?: string; backgroundColor?: string; titleColor?: string; sizeUnit?: number; christmasSettings?: IChristmasSettings; isVertical?: boolean; environment: IEnvironment; tenantId: string; profileId: string; widgetId?: string; playerId?: string; isActive: boolean; language?: string; areaHeight?: number; countdownEndedText?: string; headlineFont?: string; contentFont?: string; } export interface ICountdownState { qrCode?: string; } export declare class IACountdown extends React.Component { constructor(props: ICountdownProps); componentDidMount(): void; render(): JSX.Element; } export interface IColorTheme { textColor: string; backgroundColor: string; } 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 interface IOrgAssetsThumbnail { decodedUrl?: string; } export interface IOrgAssetLibraryUrl { decodedUrl?: string; }