import { PaginationMeta } from '@msfa-models/pagination-meta.model';
import { AvropResponse } from './avrop.response.model';
import { ContactInformationResponse } from './contact-information.response.model';
import { DisabilitiesResponse } from './disabilities.response.model';
import { DriversLicenseResponse } from './drivers-license.response.model';
import { EducationsResponse } from './educations.response.model';
import { HighestEducationResponse } from './highest-education.response.model';
import { TranslatorResponse } from './translator.response.model';
import { WorkExperiencesResponse } from './work-experiences.response.model';
import { WorkLanguagesResponse } from './work-languages.response.model';

export interface DeltagareCompactResponse {
  sokandeId: string;
  fornamn: string;
  efternamn: string;
  tjanst: string;
  utforandeVerksamhet: string;
  utforandeAdress: string;
  hasAvbrott: boolean;
  genomforandeReferens: string;
  startdatumAvrop: Date;
  slutdatumAvrop: Date;
}

export interface DeltagareResponse {
  id: string;
  contact: ContactInformationResponse;
  driverlicense: DriversLicenseResponse;
  highestEducation: HighestEducationResponse;
  educations: EducationsResponse;
  translator: TranslatorResponse;
  workLanguages: WorkLanguagesResponse;
  disabilities: DisabilitiesResponse;
  workExperiences: WorkExperiencesResponse;
  avropInformation: AvropResponse;
}

export interface DeltagareCompactApiResponse {
  data: DeltagareCompactResponse[];
  meta: PaginationMeta;
}
