import type { ProductGroup, ProductParams, RecommendationListPage, RecommendationListPageBody } from './common/mod.ts';


export interface CartPageParams extends ProductParams {
  /** A list of product keys for the products in the cart */
  cart: string[];
}

export interface CartPageBody extends RecommendationListPageBody {
  /** Settings for cart */
  cart?: {
    /** Include cart in result, defaults to `false` */
    include: boolean;
  };
}

export interface CartPage extends RecommendationListPage {
  /** Collection of ProductGroup that matched input parameters */
  cart: ProductGroup[];
}
