// FIXME: Update this file to be type safe and remove this and next line
// @ts-strict-ignore
import { CipherType } from "@bitwarden/common/vault/enums";
export class MenuUpdateRequest {
  activeUserId: string | null;
  accounts: { [userId: string]: MenuAccount } | null;
  restrictedCipherTypes: CipherType[] | null;
}

export class MenuAccount {
  isAuthenticated: boolean;
  isLocked: boolean;
  isLockable: boolean;
  userId: string;
  email: string;
  hasMasterPassword: boolean;
  hasPremium: boolean;
  // TODO: PM-32419 - remove feature flag check once fully rolled out
  multiClientPasswordManagement: boolean;
  // TODO: PM-34438 - remove desktopAddDevices from MenuAccount
  desktopAddDevices: boolean;
  // TODO: PM-34580 - remove pm32009NewItemTypes from MenuAccount once fully rolled out
  pm32009NewItemTypes: boolean;
}
