export const ServiceType = {
  HOMEBOX: "HOMEBOX",
} as const;

export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType];

export interface LoginRequest {
  appUrl: string;
  serviceType: ServiceType;
  username: string;
  password: string;
  stayLoggedIn: boolean;
}

export interface AuthResponse {
  serviceType: ServiceType;
  expiresAt: string;
}

export interface ConnectionStatus {
  serviceType: ServiceType;
  appUrl: string;
  username: string;
  expiresAt: string | null;
  connected: boolean;
}
