/** * Note: we might need to think about splitting this up into a separate class per event. * Same for ActivityRequestContent. */ import { AdStrategy } from '../../../settings/models/adStrategy'; import { AdType } from '../../../settings/models/adType'; import { PageType } from '../../../stories/models/pageType'; import { ShareMethod } from '../../../stories/models/shareMethod'; import { CategoryDetail } from './categoryDetail'; import { CurrentCategory } from './currentCategory'; import { DismissedReason } from './dismissedReason'; import { OpenedReason } from './openedReason'; import { StoryPlaybackMode } from './storyPlaybackMode'; declare class UserActivityData { storyId?: VppaCompliant extends true ? null : string; storyTitle?: VppaCompliant extends true ? null : string; storyDisplayTitle?: VppaCompliant extends true ? null : string; storyIndex?: number; storyPageCount?: number; storyReadStatus?: string; storyPlaybackMode?: StoryPlaybackMode; pageId?: VppaCompliant extends true ? null : string; pageIndex?: number; pageTitle?: VppaCompliant extends true ? null : string; pageType?: PageType; pageHasAction?: boolean; pageActionText?: string | null; pageActionUrl?: string | null; openedReason?: OpenedReason; categories?: string[]; categoryDetails?: CategoryDetail[]; currentCategory?: CurrentCategory; dismissedReason?: DismissedReason; durationViewed?: number; pagesViewed?: number; contentLength?: number; shareMethod?: ShareMethod | ''; advertiserName?: string | null; adId?: string; adType?: AdType; adPlacement?: AdStrategy; adStrategy?: string; pollAnswerId?: string; triviaQuizId?: string; triviaQuizQuestionId?: string; triviaQuizAnswerId?: string; triviaQuizTitle?: string; triviaQuizScore?: number; categoryId?: string; categoryName?: string; clipId?: VppaCompliant extends true ? null : string; clipTitle?: VppaCompliant extends true ? null : string; clipIndex?: number; clipHasAction?: boolean; clipActionText?: string | null; clipActionUrl?: string | null; clipsViewed?: number; collection?: string; loopsViewed?: number; } export type UserActivityDataVppaCompliant = UserActivityData; export default UserActivityData;