import { RoleEnum } from '@msfa-enums/role.enum';
import { PaginationMeta } from '@msfa-models/pagination-meta.model';
import { EmployeeTjanstResponse } from './employee-tjanst.response.model';
import { EmployeeUtforandeVerksamhetResponse } from './employee-utforande-verksamhet.response.model';

export interface EmployeeCompactResponse {
  ciamUserId: string;
  name: string;
  tjanst: string[];
  allaUtforandeVerksamheter: boolean;
  utforandeVerksamhet: string[];
}

export interface EmployeeResponse {
  ciamUserId: string;
  firstName: string;
  lastName: string;
  email: string;
  ssn: string;
  roles: RoleEnum[];
  tjanster: EmployeeTjanstResponse[];
  allaUtforandeVerksamheter: boolean;
  utforandeVerksamheter: EmployeeUtforandeVerksamhetResponse[];
}

export interface EmployeesDataResponse {
  data: EmployeeCompactResponse[];
  meta: PaginationMeta;
}
