import { Paginated } from './Paginated';

export interface CoachingFeedback {
  id: string;
  coach_id: string;
  coachee_id: string;
  text: string;
  rating?: number | null;
  scale?: number | null;
  session_date?: string | null;
  session_type?: string | null;
  action_items?: string | null;
  follow_up_date?: string | null;
  status?: string | null;
  goal_id?: string | null;
  coach?: Record<string, unknown> | null;
  coachee?: Record<string, unknown> | null;
  goal?: Record<string, unknown> | null;
  created_at?: Date | null;
  updated_at?: Date | null;
}

export interface CreateCoachingFeedbackPayload {
  coach_id: string;
  coachee_id: string;
  text: string;
  rating?: number | null;
  scale?: number | null;
  session_date?: string | null;
  session_type?: string | null;
  action_items?: string | null;
  follow_up_date?: string | null;
  status?: string | null;
  goal_id?: string | null;
}

export interface UpdateCoachingFeedbackPayload {
  text?: string;
  rating?: number | null;
  scale?: number | null;
  session_date?: string | null;
  session_type?: string | null;
  action_items?: string | null;
  follow_up_date?: string | null;
  status?: string | null;
  goal_id?: string | null;
}

export interface CoachingFeedbackResponse {
  data: CoachingFeedback;
}

export type PaginatedCoachingFeedbacks = Paginated<CoachingFeedback>;
