import { IUserModel } from '@fleio-api/client-user/model/user.model';
import { FleioId } from '@fleio-api/base-model/base-fleio-object.model';
import { IFleioToken } from '@shared/auth/models/fleio-token.model';

export interface IUserProfileDataModel extends IUserModel {
  active_client: FleioId;
  mobile_phone_number: string | null;
  old_password?: string | null;
  fleio_token: IFleioToken;
  clients_expiring?: {
    max_clients: number;
    clients_in_use: number;
    warning_level: number;
  };
  license_expiring?: {
    warning_days: number;
    warning_level: number;
  };
  cores_exceeded?: {
    grace_days: number;
    max_cores: number;
    cores_in_use: number;
  };
  ram_exceeded?: {
    grace_days: number;
    max_ram: number;
    ram_in_use: number;
  };
  notifications_only?: boolean;
  unverified_email?: string;
}
