export interface Area {
  id: number;
  areaCode: string;
  areaName1: string;
  areaName2: string;
  status: number;
  imgUrl: string | null;
  iconUrl: string | null;
  isPopular: number;
  isCountry: number;
  minDisplayPrice: number;
  minSellPrice: number;
  promotionPercent: number;
  curency: string;
  coverageArea: string;
  searchArea?: string;
}

export interface Package {
  // id: number;
  // areaId: number;
  // packageCode: string;
  // displayPrice: number;
  // amountData: number;
  // dayDuration: number;
  // isUnlimited: number;
  // packageName: string;
  // title: string;
  // description: string;
  // moreInfo: string;
  // sellPrice: number;
  // apnType: number;
  // isKycVerify: number;
  // rechargeability: number;
  // isLocal: number;
  // status: number;
  // priority: number;
  // limitedPolicy: string;
  // isDaily: number;

  activationMethod: number;
  amountData: number;
  apnType: number;
  appSupport: any;
  areaId: number;
  carriers: string;
  coverageArea: string;
  currency: string;
  dataResetTime: number;
  dataType: number;
  dataUnit: string;
  dayDuration: number;
  deliveryMethod: number;
  description: string;
  displayPrice: number;
  ekycRequired: number;
  geographicType: number;
  id: number;
  isLocal: number;
  isTopup: number;
  moreInfo: any;
  networkTechnology: string;
  note: any;
  packageCode: string;
  packageName: string;
  phoneNumber: number;
  priority: number;
  rechargeability: number;
  sellPrice: number;
  simType: number;
  status: number;
  title: string;
  unlimitedPolicy: any;
  validityStart: number;
  wifiSharing: number;
}

export interface CheckoutDetailResponse {
  createdDate: string;
  totalMoney: number;
  discount: number;
  paymentMoney: number;
  curency: string;
  packageName: string;
  discountPercent: number;
}

export interface PaymentChannel {
  id: number;
  name: string;
  code: string;
  description: string;
  status: string;
  role: string;
  type: string;
  priority: number;
  fromVersion: string;
  toVersion: string;
  fromTime: string;
  toTime: string;
  actionType: string;
  actionValue: string;
  imgUrl: string;
}

export interface ConfirmOrderResponse {
  id: number;
  customerId: number;
  createdDate: string | null;
  totalMoney: number;
  discount: number;
  paymentMoney: number;
  paymentId: number;
  status: number;
  paymentStatus: number;
  transactionId: string;
  curency: string;
  orderId: number;
  orderDetailId: number;
  paymentUrl: string;
  discountPercent: number;
  customerInfo: any;
}

export interface OrderHistory {
  id: number;
  customerId: number;
  createdDate: string;
  totalMoney: number;
  discount: number;
  paymentMoney: number;
  paymentId: number;
  status: number;
  paymentStatus: number;
  transactionId: string | null;
  curency: string;
  orderId: number;
  orderDetailId: number;
  paymentUrl: string | null;
  discountPercent: number;
  orderCode: string;
  customerInfo: {
    id: number;
    surName: string | null;
    lastName: string | null;
    email: string | null;
    phoneNumber: string | null;
    createdDate: string | null;
  };
}

export interface OrderDetail {
  id: number;
  orderDetailId: number;
  qrcode: string;
  qrcodeUrl: string;
  iccid: string;
  createdDate: string;
  installationUrl: string;
  packageName: string;
  areaIconUrl: string;
  packageTitle: string;
  paymentMoney: string;
  dayDuration: number;
  curency: string;
}

export interface DataUsage {
  remainData: number;
  totalData: number;
  expiredTime: string;
  isUnlimited: number;
  status: number;
  dataUnit: string;
  usageData: number;
}

export interface LaoTravelAuthResponse {
  username: string;
  fullName: string;
  phoneNumber: string;
  email: string;
}
