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


export interface ProductPageParams extends ProductParams {
  /** Required parameter for product page, the product to return and show recommendations for */
  productKey: string;
}

export interface ProductPageBody extends RecommendationListPageBody {
  /** Settings for product group */
  productGroup?: {
    /** Include product group in result, defaults to `false` */
    include: boolean;
  };
}

export interface ProductPage extends RecommendationListPage {
  /** ProductGroup for page, if enabled */
  productGroup?: ProductGroup;
}
