export interface EmployeeWithUnitDto {
  avatar: string | undefined;
  id: string;
  name: {
    charAt(
      arg0: number
    ): import("react").ReactNode | Iterable<import("react").ReactNode>;
    am: string;
    en: string;
  };
  user: {
    id: string;
    name: {
      am: string;
      en: string;
    };
    email: string;
    phoneNumber?: string;
  };
  employeePositions: {
    id: string;
    employeeId: string;
    position: {
      id: string;
      name: {
        am: string;
        en: string;
      };
    };
  }[];
}

export interface EmployeeWithUnitListResponse {
  count: number;
  items: EmployeeWithUnitDto[];
}

export interface EmployeeByPositionDto {
  employeePositions: any;
  id: string;
  isCurrent: boolean;
  status: string;
  name: {
    am: string;
    en: string;
  };
  organizationId: string;
  user: {
    id: string;
    name: {
      am: string;
      en: string;
    };
    username: string;
    email: string;
    userType: string;
    sharepointId: string | null;
    status: string;
  };
}

export interface EmployeePosition {
  id: string;
  position: {
    id: string;
    name: {
      am: string;
      en: string;
    };
  };
}

export interface Employee {
  id: string;
  name: {
    am: string;
    en: string;
  };
  employeePositions: EmployeePosition[];
}

export interface User {
  id: string;
  name: {
    am: string;
    en: string;
  };
  email: string;
  employee: Employee[];
}

export interface UserDTO {
  id: string;
  name: {
    am: string;
    en: string;
  };
  email: string;
  employee: Employee[];
}

export interface UserWithUnitListResponse {
  count: number;
  items: UserDTO[];
}
