@teemill/product-catalog 1.84.0 → 1.86.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.84.0
5
+ * The version of the OpenAPI document: 1.86.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,6 +13,33 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
+ export interface Action {
17
+ /**
18
+ * Unique object identifier
19
+ */
20
+ 'id': string;
21
+ /**
22
+ * A reference to the action resource location
23
+ */
24
+ 'ref': string;
25
+ /**
26
+ * The title of the action
27
+ */
28
+ 'title': string;
29
+ 'impact': ActionImpactEnum;
30
+ /**
31
+ * A reference to the task resource location
32
+ */
33
+ 'taskRef': string | null;
34
+ 'createdAt': string;
35
+ 'updatedAt': string;
36
+ }
37
+ export declare const ActionImpactEnum: {
38
+ readonly High: "high";
39
+ readonly Medium: "medium";
40
+ readonly Low: "low";
41
+ };
42
+ export type ActionImpactEnum = typeof ActionImpactEnum[keyof typeof ActionImpactEnum];
16
43
  export interface AdditionalFile {
17
44
  /**
18
45
  * Publicly available file URL.
@@ -45,6 +72,15 @@ export interface AnalyticsItem {
45
72
  */
46
73
  'revenue': number;
47
74
  }
75
+ export interface AnalyticsSummary {
76
+ /**
77
+ * A summary of the recommendations
78
+ */
79
+ 'summary': string;
80
+ 'recommendations': Array<Recommendation>;
81
+ 'createdAt': string;
82
+ 'updatedAt': string;
83
+ }
48
84
  export interface ApiError {
49
85
  'code'?: string;
50
86
  'message': string;
@@ -1236,6 +1272,34 @@ export interface ProductsResponse {
1236
1272
  */
1237
1273
  'nextPageToken'?: number | null;
1238
1274
  }
1275
+ export interface Recommendation {
1276
+ /**
1277
+ * Unique object identifier
1278
+ */
1279
+ 'id': string;
1280
+ /**
1281
+ * A reference to the recommendation resource location
1282
+ */
1283
+ 'ref': string;
1284
+ /**
1285
+ * The reason for the recommendation
1286
+ */
1287
+ 'reason': string;
1288
+ /**
1289
+ * The recommendation for the target
1290
+ */
1291
+ 'recommendation': string;
1292
+ 'priority': RecommendationPriorityEnum;
1293
+ 'actions': Array<Action>;
1294
+ 'createdAt': string;
1295
+ 'updatedAt': string;
1296
+ }
1297
+ export declare const RecommendationPriorityEnum: {
1298
+ readonly High: "high";
1299
+ readonly Medium: "medium";
1300
+ readonly Low: "low";
1301
+ };
1302
+ export type RecommendationPriorityEnum = typeof RecommendationPriorityEnum[keyof typeof RecommendationPriorityEnum];
1239
1303
  /**
1240
1304
  * Required price definition that defines the amount and currency.
1241
1305
  */
@@ -2500,22 +2564,52 @@ export declare const ProductAnalyticsApiAxiosParamCreator: (configuration?: Conf
2500
2564
  * Exports all products with analytics data in a CSV file.
2501
2565
  * @summary Export product analytics
2502
2566
  * @param {string} project What project it is
2567
+ * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
2568
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like: \&#39;enabled:true\&#39;, \&#39;gfn_product_ids:&lt;id&gt;\&#39;, \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;includeArchived:false\&#39;, \&#39;hasSearchPhrase:false\&#39;, \&#39;inDataFeeds:true\&#39;, \&#39;aiOptimised:true\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;genderGroup:\&quot;male,female,unisex\&quot;\&#39;, \&#39;hasBarcode:true\&#39;, \&#39;onSale:true\&#39;, \&#39;type:product,template,bundle\&#39;, \&#39;collection:&lt;id&gt;\&#39;. Multiple filters can be combined with spaces and commas.
2569
+ * @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
2570
+ * @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
2571
+ * @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
2572
+ * @param {number} [maximumRevenue] Filter to only include products with total revenue less than or equal to this amount
2573
+ * @param {number} [minimumSales] Filter to only include products with total sales greater than or equal to this number
2574
+ * @param {number} [maximumSales] Filter to only include products with total sales less than or equal to this number
2575
+ * @param {number} [minimumBasketPercent] Filter to only include products where the average basket percentage is greater than or equal to this value
2576
+ * @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
2577
+ * @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
2578
+ * @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
2503
2579
  * @param {*} [options] Override http request option.
2504
2580
  * @throws {RequiredError}
2505
2581
  */
2506
- exportProductAnalytics: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2582
+ exportProductAnalytics: (project: string, sortBy?: Array<string>, search?: string, dateRangeStartDate?: string, dateRangeEndDate?: string, minimumRevenue?: number, maximumRevenue?: number, minimumSales?: number, maximumSales?: number, minimumBasketPercent?: number, maximumBasketPercent?: number, minimumTraffic?: number, maximumTraffic?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2583
+ /**
2584
+ * Get the AI-generated summary of the product analytics for the given project.
2585
+ * @summary Get product analytics summary
2586
+ * @param {string} project What project it is
2587
+ * @param {*} [options] Override http request option.
2588
+ * @throws {RequiredError}
2589
+ */
2590
+ getProductAnalyticsSummary: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2507
2591
  /**
2508
2592
  * Lists all product analytics items.
2509
2593
  * @summary List product analytics
2510
2594
  * @param {string} project What project it is
2511
2595
  * @param {number} [pageToken] Page reference token
2596
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2512
2597
  * @param {string} [search] Search query string to filter results. Supports field-specific filters like: \&#39;enabled:true\&#39;, \&#39;gfn_product_ids:&lt;id&gt;\&#39;, \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;includeArchived:false\&#39;, \&#39;hasSearchPhrase:false\&#39;, \&#39;inDataFeeds:true\&#39;, \&#39;aiOptimised:true\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;genderGroup:\&quot;male,female,unisex\&quot;\&#39;, \&#39;hasBarcode:true\&#39;, \&#39;onSale:true\&#39;, \&#39;type:product,template,bundle\&#39;, \&#39;collection:&lt;id&gt;\&#39;. Multiple filters can be combined with spaces and commas.
2513
2598
  * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
2514
- * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2599
+ * @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
2600
+ * @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
2601
+ * @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
2602
+ * @param {number} [maximumRevenue] Filter to only include products with total revenue less than or equal to this amount
2603
+ * @param {number} [minimumSales] Filter to only include products with total sales greater than or equal to this number
2604
+ * @param {number} [maximumSales] Filter to only include products with total sales less than or equal to this number
2605
+ * @param {number} [minimumBasketPercent] Filter to only include products where the average basket percentage is greater than or equal to this value
2606
+ * @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
2607
+ * @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
2608
+ * @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
2515
2609
  * @param {*} [options] Override http request option.
2516
2610
  * @throws {RequiredError}
2517
2611
  */
2518
- listProductAnalytics: (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2612
+ listProductAnalytics: (project: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<string>, dateRangeStartDate?: string, dateRangeEndDate?: string, minimumRevenue?: number, maximumRevenue?: number, minimumSales?: number, maximumSales?: number, minimumBasketPercent?: number, maximumBasketPercent?: number, minimumTraffic?: number, maximumTraffic?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2519
2613
  };
2520
2614
  /**
2521
2615
  * ProductAnalyticsApi - functional programming interface
@@ -2525,22 +2619,52 @@ export declare const ProductAnalyticsApiFp: (configuration?: Configuration) => {
2525
2619
  * Exports all products with analytics data in a CSV file.
2526
2620
  * @summary Export product analytics
2527
2621
  * @param {string} project What project it is
2622
+ * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
2623
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like: \&#39;enabled:true\&#39;, \&#39;gfn_product_ids:&lt;id&gt;\&#39;, \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;includeArchived:false\&#39;, \&#39;hasSearchPhrase:false\&#39;, \&#39;inDataFeeds:true\&#39;, \&#39;aiOptimised:true\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;genderGroup:\&quot;male,female,unisex\&quot;\&#39;, \&#39;hasBarcode:true\&#39;, \&#39;onSale:true\&#39;, \&#39;type:product,template,bundle\&#39;, \&#39;collection:&lt;id&gt;\&#39;. Multiple filters can be combined with spaces and commas.
2624
+ * @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
2625
+ * @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
2626
+ * @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
2627
+ * @param {number} [maximumRevenue] Filter to only include products with total revenue less than or equal to this amount
2628
+ * @param {number} [minimumSales] Filter to only include products with total sales greater than or equal to this number
2629
+ * @param {number} [maximumSales] Filter to only include products with total sales less than or equal to this number
2630
+ * @param {number} [minimumBasketPercent] Filter to only include products where the average basket percentage is greater than or equal to this value
2631
+ * @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
2632
+ * @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
2633
+ * @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
2634
+ * @param {*} [options] Override http request option.
2635
+ * @throws {RequiredError}
2636
+ */
2637
+ exportProductAnalytics(project: string, sortBy?: Array<string>, search?: string, dateRangeStartDate?: string, dateRangeEndDate?: string, minimumRevenue?: number, maximumRevenue?: number, minimumSales?: number, maximumSales?: number, minimumBasketPercent?: number, maximumBasketPercent?: number, minimumTraffic?: number, maximumTraffic?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
2638
+ /**
2639
+ * Get the AI-generated summary of the product analytics for the given project.
2640
+ * @summary Get product analytics summary
2641
+ * @param {string} project What project it is
2528
2642
  * @param {*} [options] Override http request option.
2529
2643
  * @throws {RequiredError}
2530
2644
  */
2531
- exportProductAnalytics(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
2645
+ getProductAnalyticsSummary(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsSummary>>;
2532
2646
  /**
2533
2647
  * Lists all product analytics items.
2534
2648
  * @summary List product analytics
2535
2649
  * @param {string} project What project it is
2536
2650
  * @param {number} [pageToken] Page reference token
2651
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2537
2652
  * @param {string} [search] Search query string to filter results. Supports field-specific filters like: \&#39;enabled:true\&#39;, \&#39;gfn_product_ids:&lt;id&gt;\&#39;, \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;includeArchived:false\&#39;, \&#39;hasSearchPhrase:false\&#39;, \&#39;inDataFeeds:true\&#39;, \&#39;aiOptimised:true\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;genderGroup:\&quot;male,female,unisex\&quot;\&#39;, \&#39;hasBarcode:true\&#39;, \&#39;onSale:true\&#39;, \&#39;type:product,template,bundle\&#39;, \&#39;collection:&lt;id&gt;\&#39;. Multiple filters can be combined with spaces and commas.
2538
2653
  * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
2539
- * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2654
+ * @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
2655
+ * @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
2656
+ * @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
2657
+ * @param {number} [maximumRevenue] Filter to only include products with total revenue less than or equal to this amount
2658
+ * @param {number} [minimumSales] Filter to only include products with total sales greater than or equal to this number
2659
+ * @param {number} [maximumSales] Filter to only include products with total sales less than or equal to this number
2660
+ * @param {number} [minimumBasketPercent] Filter to only include products where the average basket percentage is greater than or equal to this value
2661
+ * @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
2662
+ * @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
2663
+ * @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
2540
2664
  * @param {*} [options] Override http request option.
2541
2665
  * @throws {RequiredError}
2542
2666
  */
2543
- listProductAnalytics(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductAnalyticsResponse>>;
2667
+ listProductAnalytics(project: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<string>, dateRangeStartDate?: string, dateRangeEndDate?: string, minimumRevenue?: number, maximumRevenue?: number, minimumSales?: number, maximumSales?: number, minimumBasketPercent?: number, maximumBasketPercent?: number, minimumTraffic?: number, maximumTraffic?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductAnalyticsResponse>>;
2544
2668
  };
2545
2669
  /**
2546
2670
  * ProductAnalyticsApi - factory interface
@@ -2554,6 +2678,14 @@ export declare const ProductAnalyticsApiFactory: (configuration?: Configuration,
2554
2678
  * @throws {RequiredError}
2555
2679
  */
2556
2680
  exportProductAnalytics(requestParameters: ProductAnalyticsApiExportProductAnalyticsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
2681
+ /**
2682
+ * Get the AI-generated summary of the product analytics for the given project.
2683
+ * @summary Get product analytics summary
2684
+ * @param {ProductAnalyticsApiGetProductAnalyticsSummaryRequest} requestParameters Request parameters.
2685
+ * @param {*} [options] Override http request option.
2686
+ * @throws {RequiredError}
2687
+ */
2688
+ getProductAnalyticsSummary(requestParameters: ProductAnalyticsApiGetProductAnalyticsSummaryRequest, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsSummary>;
2557
2689
  /**
2558
2690
  * Lists all product analytics items.
2559
2691
  * @summary List product analytics
@@ -2571,6 +2703,63 @@ export interface ProductAnalyticsApiExportProductAnalyticsRequest {
2571
2703
  * What project it is
2572
2704
  */
2573
2705
  readonly project: string;
2706
+ /**
2707
+ * An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
2708
+ */
2709
+ readonly sortBy?: Array<string>;
2710
+ /**
2711
+ * Search query string to filter results. Supports field-specific filters like: \&#39;enabled:true\&#39;, \&#39;gfn_product_ids:&lt;id&gt;\&#39;, \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;includeArchived:false\&#39;, \&#39;hasSearchPhrase:false\&#39;, \&#39;inDataFeeds:true\&#39;, \&#39;aiOptimised:true\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;genderGroup:\&quot;male,female,unisex\&quot;\&#39;, \&#39;hasBarcode:true\&#39;, \&#39;onSale:true\&#39;, \&#39;type:product,template,bundle\&#39;, \&#39;collection:&lt;id&gt;\&#39;. Multiple filters can be combined with spaces and commas.
2712
+ */
2713
+ readonly search?: string;
2714
+ /**
2715
+ * Start date for the date range filter (ISO 8601 format)
2716
+ */
2717
+ readonly dateRangeStartDate?: string;
2718
+ /**
2719
+ * End date for the date range filter (ISO 8601 format)
2720
+ */
2721
+ readonly dateRangeEndDate?: string;
2722
+ /**
2723
+ * Filter to only include products with total revenue greater than or equal to this amount
2724
+ */
2725
+ readonly minimumRevenue?: number;
2726
+ /**
2727
+ * Filter to only include products with total revenue less than or equal to this amount
2728
+ */
2729
+ readonly maximumRevenue?: number;
2730
+ /**
2731
+ * Filter to only include products with total sales greater than or equal to this number
2732
+ */
2733
+ readonly minimumSales?: number;
2734
+ /**
2735
+ * Filter to only include products with total sales less than or equal to this number
2736
+ */
2737
+ readonly maximumSales?: number;
2738
+ /**
2739
+ * Filter to only include products where the average basket percentage is greater than or equal to this value
2740
+ */
2741
+ readonly minimumBasketPercent?: number;
2742
+ /**
2743
+ * Filter to only include products where the average basket percentage is less than or equal to this value
2744
+ */
2745
+ readonly maximumBasketPercent?: number;
2746
+ /**
2747
+ * Filter to only include products with total traffic greater than or equal to this number
2748
+ */
2749
+ readonly minimumTraffic?: number;
2750
+ /**
2751
+ * Filter to only include products with total traffic less than or equal to this number
2752
+ */
2753
+ readonly maximumTraffic?: number;
2754
+ }
2755
+ /**
2756
+ * Request parameters for getProductAnalyticsSummary operation in ProductAnalyticsApi.
2757
+ */
2758
+ export interface ProductAnalyticsApiGetProductAnalyticsSummaryRequest {
2759
+ /**
2760
+ * What project it is
2761
+ */
2762
+ readonly project: string;
2574
2763
  }
2575
2764
  /**
2576
2765
  * Request parameters for listProductAnalytics operation in ProductAnalyticsApi.
@@ -2584,6 +2773,10 @@ export interface ProductAnalyticsApiListProductAnalyticsRequest {
2584
2773
  * Page reference token
2585
2774
  */
2586
2775
  readonly pageToken?: number;
2776
+ /**
2777
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
2778
+ */
2779
+ readonly pageSize?: number;
2587
2780
  /**
2588
2781
  * Search query string to filter results. Supports field-specific filters like: \&#39;enabled:true\&#39;, \&#39;gfn_product_ids:&lt;id&gt;\&#39;, \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;includeArchived:false\&#39;, \&#39;hasSearchPhrase:false\&#39;, \&#39;inDataFeeds:true\&#39;, \&#39;aiOptimised:true\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;genderGroup:\&quot;male,female,unisex\&quot;\&#39;, \&#39;hasBarcode:true\&#39;, \&#39;onSale:true\&#39;, \&#39;type:product,template,bundle\&#39;, \&#39;collection:&lt;id&gt;\&#39;. Multiple filters can be combined with spaces and commas.
2589
2782
  */
@@ -2593,9 +2786,45 @@ export interface ProductAnalyticsApiListProductAnalyticsRequest {
2593
2786
  */
2594
2787
  readonly sortBy?: Array<string>;
2595
2788
  /**
2596
- * Max page size. This is the maximum page size that will be returned, but it might be smaller.
2789
+ * Start date for the date range filter (ISO 8601 format)
2597
2790
  */
2598
- readonly pageSize?: number;
2791
+ readonly dateRangeStartDate?: string;
2792
+ /**
2793
+ * End date for the date range filter (ISO 8601 format)
2794
+ */
2795
+ readonly dateRangeEndDate?: string;
2796
+ /**
2797
+ * Filter to only include products with total revenue greater than or equal to this amount
2798
+ */
2799
+ readonly minimumRevenue?: number;
2800
+ /**
2801
+ * Filter to only include products with total revenue less than or equal to this amount
2802
+ */
2803
+ readonly maximumRevenue?: number;
2804
+ /**
2805
+ * Filter to only include products with total sales greater than or equal to this number
2806
+ */
2807
+ readonly minimumSales?: number;
2808
+ /**
2809
+ * Filter to only include products with total sales less than or equal to this number
2810
+ */
2811
+ readonly maximumSales?: number;
2812
+ /**
2813
+ * Filter to only include products where the average basket percentage is greater than or equal to this value
2814
+ */
2815
+ readonly minimumBasketPercent?: number;
2816
+ /**
2817
+ * Filter to only include products where the average basket percentage is less than or equal to this value
2818
+ */
2819
+ readonly maximumBasketPercent?: number;
2820
+ /**
2821
+ * Filter to only include products with total traffic greater than or equal to this number
2822
+ */
2823
+ readonly minimumTraffic?: number;
2824
+ /**
2825
+ * Filter to only include products with total traffic less than or equal to this number
2826
+ */
2827
+ readonly maximumTraffic?: number;
2599
2828
  }
2600
2829
  /**
2601
2830
  * ProductAnalyticsApi - object-oriented interface
@@ -2609,6 +2838,14 @@ export declare class ProductAnalyticsApi extends BaseAPI {
2609
2838
  * @throws {RequiredError}
2610
2839
  */
2611
2840
  exportProductAnalytics(requestParameters: ProductAnalyticsApiExportProductAnalyticsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
2841
+ /**
2842
+ * Get the AI-generated summary of the product analytics for the given project.
2843
+ * @summary Get product analytics summary
2844
+ * @param {ProductAnalyticsApiGetProductAnalyticsSummaryRequest} requestParameters Request parameters.
2845
+ * @param {*} [options] Override http request option.
2846
+ * @throws {RequiredError}
2847
+ */
2848
+ getProductAnalyticsSummary(requestParameters: ProductAnalyticsApiGetProductAnalyticsSummaryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsSummary, any, {}>>;
2612
2849
  /**
2613
2850
  * Lists all product analytics items.
2614
2851
  * @summary List product analytics