import { IProductConfig } from "./live/products-config"; import { EnumService0900State, EnumService0900Status } from "./live/supdate"; import { IKeyMaybeValue } from "./command/icommand"; import { SupportedLanguage } from "./command/baseparams"; import { EnumBooleanStringified, EnumBooleanStringifiedExtended, JSONString } from "../@types"; export declare enum EnumSetTp { OFFLINE = "0", ONLINE = "1", GOING_ONLINE = "2" } export declare enum EnumFsk { SIXTEEN = "16", EIGHTEEN = "18" } export declare enum SessionFlag { MASTER = "MASTER", B2B = "B2B", FSK16 = "FSK16", FSK18 = "FSK18", BLOCKFSK16 = "BLOCKFSK16", FSKMASK = "FSKMASK", JWT = "JWT", MSN = "MSN", SHARED = "SHARED", ADMIN = "ADMIN", HASFSK18CHAT = "HASFSK18CHAT", /** * used only for avs moderator sessions */ WEBCAMAVS = "WEBCAMAVS", FREEMODE = "FREEMODE", PARTYMODE = "PARTYMODE", BBS24 = "BBS24", LOBBY_OPENED = "LOBBY_OPENED", MOBILEVIDEOCALL = "MOBILEVIDEOCALL", WEBSIP = "WEBSIP" } export declare enum InfoWizard { FIRSTTIME = "FIRST_TIME", CONTENTSELL = "CONTENT_SELL", CONTENTSELLMULTI = "CONTENT_SELL_MULTI", TICKETSHOW = "TICKET_SHOW", CUSTOMTAGS = "CUSTOM_TAGS", TOY_UPDATE = "TOY_UPDATE", MSG_TEMPLATES = "MSG_TEMPLATES" } /** * @remarks String having 's separated by ',' */ export declare type ComaSeparatedValues = T | string; export interface SessionState extends IKeyMaybeValue { /** the session mnumber */ sessionID: string; /** loginname, deprecated, use CMDP_GETUSERINFO */ login: string; /** start time */ startTime: string; online?: EnumBooleanStringified; setTp?: EnumSetTp; flags?: ComaSeparatedValues | SessionFlag; /** en de */ language?: SupportedLanguage; /** unused */ broadcastData?: string; /** Used for client-side short-cuts (live) */ permanentData?: string; /** avatar */ imgSrc?: string; /** FSKSTATE */ fsk?: EnumFsk; /** SoftChat */ fsk16?: EnumBooleanStringifiedExtended; /** service 0900 state, if missing in LOGIN values, the service is not available */ service0900State?: EnumService0900State; /** service 0900 status */ service0900Status?: EnumService0900Status; /** the live preview*/ livePreviewState?: EnumBooleanStringified; /** deprecated, use MSettings */ showBabeStation24Tab?: EnumBooleanStringified; /** deprecated, use MSettings */ babeStation24State?: EnumBooleanStringified; showMobileVideoCallTab?: EnumBooleanStringified; mobileVideoCallState?: EnumBooleanStringified; mobileVideoCallRun?: EnumBooleanStringified; mobileVideoCallChannelId?: string; mobileVideoCallDuration?: string; /** ticket show allowed*/ canOpenLobby?: EnumBooleanStringified; userLinks?: JSONString; chatMotto?: string; showInfoWizards?: ComaSeparatedValues | string; /** last MomentumChat usage Date*/ lastMomentumUsage?: string; showToyTab?: EnumBooleanStringified; webtoken?: string; showBumpTab?: EnumBooleanStringified; ticketShowScheduleMax?: string; /** deprecated, use MSettings */ showTemplateTab?: EnumBooleanStringified; selfieChannelId?: string; limitUploadResolution?: EnumBooleanStringified; /** feature available*/ showAiChannelSummaryTab?: EnumBooleanStringified; }