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

export default interface shopListQuery extends Query{
  shopServiceCode?: string,
  shopName?:string
} 
export interface bindShopQuery{
  shopServiceCode?: string,
}
export interface warehouseListQuery{
  sellerShopId: number | undefined,
  type:string,
  forceUpdate:string
}
export interface listingQuery{
  spuCode: string,
  shopWarehouseId:number,
  shopId?:number
}

export interface listingListQuery extends Query{
  listingTimeBetween?: string,
  spuCode?:string,
}

export interface shopOrderListQuery extends Query{
  shopOrderId?: string,
  shopServiceCode?:string,
  orderStatus?:string,
  orderTimeBetween?:string,
  shippingTimeBetween?:string
}

export interface shopOrderDetailQuery extends Query{
  orderId:number
}

export interface listedProductsQuery extends Query{
  shopServiceCode:string
}


export interface syncListedProductStockQuery{
  spuMappingHash:string
}
export interface matchWarehouseQuery{
  shopServiceCode?:string
  orderTimeBetween?:string
  shopOrderIdIn?:string[]
}

export interface shopOrderCancelQuery{
  shopOrderId:string
  reason:string
}
