import { RuleBypass, RuleWeb, ThreatPreventionProfile, } from '@p81-common/p81-mongo-validation-schemas'; import { WithId } from '@p81-common/p81-mongo-client'; import SwgActivationStatus from '@libs/enums/SwgActivationStatus'; import ActionType from '@libs/enums/ActionType'; import { FireflyProfile } from '@p81-common/firefly-converter/dist/types/FireflyProfile'; import TpStatus from '@libs/types/TpStatus'; export type UserSWGExtendedProfile = { _created_at?: Date; bypassRules?: RuleBypass[] | WithId[] | undefined; enabled?: boolean; groupsOfUser?: string[]; 'rewarn period'?: number; swgStatus: SwgActivationStatus; tenantId: string; userId: string; webRuleDefaultAction?: ActionType; webRules?: RuleWeb[] | WithId[] | undefined; _updated_at?: Date; swgRootCASerial?: string; ffKeyFireflyEnabled?: boolean; fireflyProfile?: FireflyProfile[]; threatPreventionStatus?: TpStatus; threatPreventionProfile?: ThreatPreventionProfile; };