import { myPassport } from 'api/passport';

export interface registerPayload {
  firstName: string;
  lastName: string;
  phoneNumber: string;
  recommend: string;
  branchId: number;
  fcmToken: string;
  deviceId: string;
  deviceType: string;
  deviceName: string;
  address: string;
}

export interface otpPayload {
  phoneNumber: string;
  otp: string;
  otpType: 'LOGIN' | 'RESET_PASSWORD' | 'REGISTRATION';
  fcmToken: string;
  deviceId: string;
  deviceName: string;
}
export interface resendPayload {
  phoneNumber: string;
  otpType?: 'LOGIN' | 'RESET_PASSWORD' | 'REGISTRATION';
}

export interface loginPayload {
  phoneNumber: string;
  passportSerial: string;
  // branchId: number;
  fcmToken: string;
  deviceId: string;
  deviceType: string;
  deviceName: string;
}

export interface getMeData {
  id: number;
  fullName: string;
  phone: string;
  address: string;
  dateOfBirth: string;
  passport: myPassport[];
  aviaCargoId: string;
  autoCargoId: string;
  status: string;
}
