export interface IAccountRawResponse {
  id: string;
  role: string;
  created_at: string;
  account: Account;
  pos: PosSummary;
}
export interface IAccountResponse extends IAccountRawResponse {}

export interface IAccountRequest {
  username?: string;
  password?: string;
  role?: string;
  status?: string;
}

export interface IAccountPasswordRequest {
  password: string;
}

interface Account {
  username: string;
  status: string;
}

interface PosSummary {
  id: string;
  name: string;
  complex: PosComplex;
}

interface PosComplex {
  name: string;
  branch_code: string;
  business_activity: { name: string };
}
