export interface UserName {
  am: string;
  en: string;
}

export interface User {
  id: string;
  name: UserName;
  username: string;
  email: string;
  phoneNumber:string
  userType: "employee" | string;
  sharepointId: string | null;
  status: "accepted" | "pending" | "rejected" | string;
  createdAt:string
}

export interface OrganizationUserDto {
  organizationId: string;
  user: User;
}



export interface EmployeeDTO {
  id: string;
  isCurrent: boolean;
  status: string;
  name: {
    am: string;
    en: string;
  };
  userId:string;
}

export interface ItemDTO {
  id: string;
  isDelegate: boolean;
  isCurrent: boolean;
  startDate: string;
  amharicStartDate: string;
  endDate: string;
  amharicEndDate: string;
  unitId: string;
  status: string;
  name: {
    am: string;
    en: string;
  };
  userId: string;
}

export interface RootDTO {
  count: number;
  items: ItemDTO[];
}
