import {
  ApplicationV2,
  RecruitV4,
  StateRecruitV3,
} from '@/recruits/openapi/person-registry';
import { DecisionDocuments } from '@/recruits/openapi/decision-document';
import { IncidentsByRecruitV1 } from '@/recruits/openapi/ervu-service';
import { GetUpdateResponse } from '@/recruits/openapi/data-update-controller';
import {
  SubpoenaByRecruitResponseV6,
  SubpoenaByRecruitV5,
  SubpoenaSystemInfo,
} from '@/recruits/openapi/subpoena-service';
import {
  ObjectHistoryResponse,
  ObjectHistoryV2,
} from '@/recruits/openapi/journal-service';

export interface DataForRecruit extends RecruitV4 {
  subpoenas?: SubpoenaByRecruitV5[];
  restrictions?: SubpoenaByRecruitResponseV6['restrictions'];
  subpoenaSystemInfo?: SubpoenaSystemInfo;
  updateInfo: GetUpdateResponse;
  application?: Array<ApplicationV2>;
  objectHistory?: Array<ObjectHistoryV2>;
  stateRecruit: StateRecruitV3;
  incidentsByRecruit?: Array<IncidentsByRecruitV1>;
  decisions: DecisionDocuments;
  versions: ObjectHistoryResponse;
  isThereActiveSubpoena?: SubpoenaByRecruitResponseV6['isThereActiveSubpoena'];
}
