import type Query from "~/domain/query";

export default interface OrderQuery extends Query {
  sellerOrderCode:string
  search: string,
  applyTimeBetween: string[],
  orderMethod: string,
  orderStatus: string,
  orderStatusIn: string[],
  orderStatusNotIn: string[],
  customerId: string,
  customerNameLike: string,
  fromEmailLike: string,
  fromMobileLike: string,
  fromFamilyNameLike: string,
  fromFirstNameLike: string,
  fromRoomLike: string,
  fromCityLike: string,
  fromStateLike: string,
  fromCountryLike: string,
  fromZipLike: string,
  toEmailLike: string,
  toMobileLike: string,
  toFamilyNameLike: string,
  toFirstNameLike: string,
  toRoomLike: string,
  toCityLike: string,
  toStateLike: string,
  toCountryLike: string,
  toZipLike: string,
  fee: string,
  labelCodeOrigin: string,
  labelCode: string,
  createTimeBetween: string[],
  labelTimeBetween: string[],
  weightkg: string,
  packageCmLength: string,
  packageCmWidth: string,
  packageCmHeight: string,
  packageCm3: string,
  myOrderId: string,
  myOrderIdIn: string[],
  sdkOrderId: string,
  trackTimeBetween: string[],
  skuLike: string,
  testing: string,
  cancelTimeBetween: string[],
  refundTimeBetween: string[],
  giveupTimeBetween: string[],
  refundAmount: string,
  refundRatio: string,
  refundReasonLike: string,
  orderCode:string
  cancelOrderStatus:string,
  cancelOrderStatusIn:string[],
  payStatus:string,
  refundStatus:string,
  orderTimeBetween:string,
  labelDone:string
}

export interface cancelOrderType {
  cancelReason: string;
  orderCode?: string;
  orderCodeIn?: string[];
  sellerOrderCode?: string;
  sellerOrderCodeIn?: string[];
} 

export interface pullShopOrderLabelsQuery {
  orderTimeBetween?:string
  orderCode?:string
  orderCodeIn?:string[]
  sellerOrderCode?:string
  sellerOrderCodeIn?:string[]
  sellerOrderPackageCode?:string
  sellerOrderPackageCodeIn?:string[]
  // 订单状态
  orderStatus?:string
  // 付款状态
  payStatus?:string
  ids?:string[]
  id?:string
} 