export interface LOGIN {
  email?: string;
  password?: string;
}
export interface LOGIN_RESPONSE {
  id?: string;
  userName?: string;
  email?: string;
  token?: string;
  expiration?: string;
}

export interface FORGET_PASSWORD {
  email?: string;
}

export interface FORGET_PASSWORD_RESPONSE {
  userId: string;
  token: string;
  password: string;
  email: string;
  otp: string;
}

export interface OTP {
  code?: string;
  userId?: string;
}

export interface OTP_RESPONSE {}

export interface CHANGE_PASSWORD {
  password: string;
  userId: string;
}

export interface CHANGE_PASSWORD_RESPONSE {}

export interface USER {
  id?: string;
  userName?: string;
  email?: string;
  token?: string;
  expiration?: string;
}

export interface Profile {
  id: string;
  email: string;
  firstName: string;
  lastName: string;
  phoneNumber: string;
  linkedInLink: string;
  userType: number;
  userName: string;
  password: string;
  favoriteName: string;
  passportNumber: string;
  qualificationId: number;
  universityId: number;
  jobTitleId: number;
  industryId: number;
  countryId: number;
  taxNumber: number;
  incomeTaxValue: number;
  userRoles: Role[];
  userAttachments: Attachements[];
  userAddress: Address;
}

export interface Address {
  id: number;
  readOnly: boolean;
  countryId: number;
  city: string;
  postalCode: string;
  addressDesc: string;
}

export interface Attachements {
  id: number;
  readOnly: boolean;
  attachmentTypeId: number;
  taskId: number;
  attachmentTypeName: string;
  fileData: string;
  fileName: string;
  originalName: string;
}

export interface Role {
  roleId: string;
  roleName: string;
}

export interface JOB_TITLE {
  id: number;
  readOnly: boolean;
  nameAr: string;
  nameEn: string;
}

export interface QUALIFICATION {
  id: number;
  readOnly: boolean;
  nameAr: string;
  nameEn: string;
}

export interface UNIVERISTY {
  id: number;
  readOnly: boolean;
  nameAr: string;
  nameEn: string;
}

export interface COUNTRY {
  id: number;
  readOnly: boolean;
  nameAr: string;
  nameEn: string;
  code: string;
  countryId: number;
}

export interface INDUSTRY {
  id: number;
  readOnly: boolean;
  nameAr: string;
  nameEn: string;
}

export interface CITY {
  id: number;
  readOnly: boolean;
  nameAr: string;
  nameEn: string;
  countryId: number;
}
