import { ProcessingStatus, ResourceId, User } from '../models' export interface Session { accessCode: string accessUrl: string actualDuration: number actualEnd: number actualStart: number anonymous: boolean archiveMode: string completed: boolean config: SessionConfig createdAt: string demo: boolean, description?: string duration: number expired: boolean highlightsApproved?: boolean id: ResourceId isDemoOwner: boolean live: boolean localJoinTime: number location: string maskedTitle: string maxParticipants: number mediaMode: string metadata: any otId: string ownerId: ResourceId processingStatus: ProcessingStatus remote: boolean rewardAmount: number role: 'publisher' | 'subscriber' | 'moderator' started: boolean startTime: number streamingUrl: string tagList: string[] title: string updatedAt: string } export type ListSession = Pick export interface SessionConfig { anonymous?: boolean backgroundColor?: string emojiEnabled?: boolean logo?: string }