import { Member, MemberOverview } from "../member/interface-client"; import { MatchAnalysis, MatchAnalysisScan } from "./analysis/interface-client"; import { MatchDate } from "./date/interface-client"; import { MatchDecision } from "./decision/interface-client"; import { MatchGeo } from "./geo/interface-client"; import { MatchRecording } from './recording/interface-client'; import { MatchReview } from "./review/interface-client"; import { MatchSelection } from './selection/interface-client'; import { MatchCheckupNotif } from './checkup-notif/interface-client'; import { MatchCheckup, MatchCheckupForClient } from "./checkup/interface-client"; import { MatchCheckupType } from "./checkup/types"; export interface Match { _id?: string; created_by: string; member1: Member; member2: Member; geo: MatchGeo; review1: MatchReview; review2: MatchReview; global_note: string; cupidon_retained: boolean; decision1: MatchDecision; decision2: MatchDecision; selected1: MatchSelection; selected2: MatchSelection; selected: number; sent: boolean; sent1: number; sent2: number; activated: number; abandonned: number; settled: number; success: boolean; active: boolean; in_freq: number; end: number; manual: boolean; date: MatchDate; checkups: MatchCheckup[]; checkups_notifs1: MatchCheckupNotif[]; checkups_notifs2: MatchCheckupNotif[]; allow_video: boolean; analysis: MatchAnalysis; can_activate: boolean; recordings: MatchRecording[]; } export interface MatchForClient { _id?: string; member_overview: MemberOverview; geo: MatchGeo; review: MatchReview; manual: boolean; ac_decision: MatchDecision; other_decision: MatchDecision; settled: number; success: boolean; activated: number; in_freq: number; end: number; active: boolean; date: MatchDate; checkups: MatchCheckupForClient[]; next_checkup_type: MatchCheckupType; other_scan?: MatchAnalysisScan; allow_video: boolean; }