/************************************************************************* * Copyright 2021 Adobe * All Rights Reserved. * * NOTICE: Adobe permits you to use, modify, and distribute this file in * accordance with the terms of the Adobe license agreement accompanying * it. If you have received this file from a source other than Adobe, * then your use, modification, or distribution of it requires the prior * written permission of Adobe. **************************************************************************/ export interface ProductContext { createDts: number; fulfillable_data?: string; geo?: string; global_company_id?: string; groupid: string; ident: string; label: string; login_company?: string; migration_status?: string; modDts: number; offer_id?: string; owningEntity: string; serviceCode: string; serviceLevel: string; statusCode: string; tenant_id?: string; [key: string]: any; } export interface ActiveProductContext { [serviceCode: string]: ProductContext; } export interface ProjectedProductContext { prodCtx: ProductContext; } export interface Role { organization: string; named_role: string; } export interface ImsProfile { account_type: string; authId: string; avatar?: string; avatarSrc?: string; countryCode: string; displayName: string; email: string; emailVerified: boolean; first_name: string; isImpersonated?: boolean; job_function: string; last_name: string; name: string; preferred_languages: string[]; projectedProductContext: ProjectedProductContext[]; roles?: Role[]; session: string; timestamp?: number; userId: string; [key: string]: any; }