@teemill/product-catalog 1.86.0 → 1.87.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.86.0
5
+ * The version of the OpenAPI document: 1.87.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1831,6 +1831,30 @@ export declare const UpdateProductsRequestProductsInnerVariantsInnerSalePriceCur
1831
1831
  readonly Gbp: "GBP";
1832
1832
  };
1833
1833
  export type UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = typeof UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum[keyof typeof UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum];
1834
+ export interface UserList {
1835
+ 'creators': Array<UserListCreatorsInner>;
1836
+ }
1837
+ export interface UserListCreatorsInner {
1838
+ /**
1839
+ * Unique object identifier
1840
+ */
1841
+ 'id': string;
1842
+ /**
1843
+ * The username of the product creator
1844
+ */
1845
+ 'username': string;
1846
+ 'avatar': UserListCreatorsInnerAvatar;
1847
+ }
1848
+ export interface UserListCreatorsInnerAvatar {
1849
+ /**
1850
+ * URL to the thumbnail version of the avatar
1851
+ */
1852
+ 'thumbnail': string | null;
1853
+ /**
1854
+ * URL to the original avatar image
1855
+ */
1856
+ 'original': string | null;
1857
+ }
1834
1858
  export interface Variant {
1835
1859
  /**
1836
1860
  * Unique object identifier
@@ -2565,7 +2589,7 @@ export declare const ProductAnalyticsApiAxiosParamCreator: (configuration?: Conf
2565
2589
  * @summary Export product analytics
2566
2590
  * @param {string} project What project it is
2567
2591
  * @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.
2592
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like: \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;Multiple filters can be combined with spaces and commas.\&#39;
2569
2593
  * @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
2570
2594
  * @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
2571
2595
  * @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
@@ -2576,10 +2600,14 @@ export declare const ProductAnalyticsApiAxiosParamCreator: (configuration?: Conf
2576
2600
  * @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
2577
2601
  * @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
2578
2602
  * @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
2603
+ * @param {string} [createdBefore] Filter to only include products created before the given date
2604
+ * @param {string} [createdAfter] Filter to only include products created after the given date
2605
+ * @param {string} [updatedBefore] Filter to only include products updated before the given date
2606
+ * @param {string} [updatedAfter] Filter to only include products updated after the given date
2579
2607
  * @param {*} [options] Override http request option.
2580
2608
  * @throws {RequiredError}
2581
2609
  */
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>;
2610
+ 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, createdBefore?: string, createdAfter?: string, updatedBefore?: string, updatedAfter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2583
2611
  /**
2584
2612
  * Get the AI-generated summary of the product analytics for the given project.
2585
2613
  * @summary Get product analytics summary
@@ -2594,7 +2622,7 @@ export declare const ProductAnalyticsApiAxiosParamCreator: (configuration?: Conf
2594
2622
  * @param {string} project What project it is
2595
2623
  * @param {number} [pageToken] Page reference token
2596
2624
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
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.
2625
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like: \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;Multiple filters can be combined with spaces and commas.\&#39;
2598
2626
  * @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.
2599
2627
  * @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
2600
2628
  * @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
@@ -2606,10 +2634,14 @@ export declare const ProductAnalyticsApiAxiosParamCreator: (configuration?: Conf
2606
2634
  * @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
2607
2635
  * @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
2608
2636
  * @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
2637
+ * @param {string} [createdBefore] Filter to only include products created before the given date
2638
+ * @param {string} [createdAfter] Filter to only include products created after the given date
2639
+ * @param {string} [updatedBefore] Filter to only include products updated before the given date
2640
+ * @param {string} [updatedAfter] Filter to only include products updated after the given date
2609
2641
  * @param {*} [options] Override http request option.
2610
2642
  * @throws {RequiredError}
2611
2643
  */
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>;
2644
+ 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, createdBefore?: string, createdAfter?: string, updatedBefore?: string, updatedAfter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2613
2645
  };
2614
2646
  /**
2615
2647
  * ProductAnalyticsApi - functional programming interface
@@ -2620,7 +2652,7 @@ export declare const ProductAnalyticsApiFp: (configuration?: Configuration) => {
2620
2652
  * @summary Export product analytics
2621
2653
  * @param {string} project What project it is
2622
2654
  * @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.
2655
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like: \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;Multiple filters can be combined with spaces and commas.\&#39;
2624
2656
  * @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
2625
2657
  * @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
2626
2658
  * @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
@@ -2631,10 +2663,14 @@ export declare const ProductAnalyticsApiFp: (configuration?: Configuration) => {
2631
2663
  * @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
2632
2664
  * @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
2633
2665
  * @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
2666
+ * @param {string} [createdBefore] Filter to only include products created before the given date
2667
+ * @param {string} [createdAfter] Filter to only include products created after the given date
2668
+ * @param {string} [updatedBefore] Filter to only include products updated before the given date
2669
+ * @param {string} [updatedAfter] Filter to only include products updated after the given date
2634
2670
  * @param {*} [options] Override http request option.
2635
2671
  * @throws {RequiredError}
2636
2672
  */
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>>;
2673
+ 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, createdBefore?: string, createdAfter?: string, updatedBefore?: string, updatedAfter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
2638
2674
  /**
2639
2675
  * Get the AI-generated summary of the product analytics for the given project.
2640
2676
  * @summary Get product analytics summary
@@ -2649,7 +2685,7 @@ export declare const ProductAnalyticsApiFp: (configuration?: Configuration) => {
2649
2685
  * @param {string} project What project it is
2650
2686
  * @param {number} [pageToken] Page reference token
2651
2687
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
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.
2688
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like: \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;Multiple filters can be combined with spaces and commas.\&#39;
2653
2689
  * @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.
2654
2690
  * @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
2655
2691
  * @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
@@ -2661,10 +2697,14 @@ export declare const ProductAnalyticsApiFp: (configuration?: Configuration) => {
2661
2697
  * @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
2662
2698
  * @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
2663
2699
  * @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
2700
+ * @param {string} [createdBefore] Filter to only include products created before the given date
2701
+ * @param {string} [createdAfter] Filter to only include products created after the given date
2702
+ * @param {string} [updatedBefore] Filter to only include products updated before the given date
2703
+ * @param {string} [updatedAfter] Filter to only include products updated after the given date
2664
2704
  * @param {*} [options] Override http request option.
2665
2705
  * @throws {RequiredError}
2666
2706
  */
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>>;
2707
+ 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, createdBefore?: string, createdAfter?: string, updatedBefore?: string, updatedAfter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductAnalyticsResponse>>;
2668
2708
  };
2669
2709
  /**
2670
2710
  * ProductAnalyticsApi - factory interface
@@ -2708,7 +2748,7 @@ export interface ProductAnalyticsApiExportProductAnalyticsRequest {
2708
2748
  */
2709
2749
  readonly sortBy?: Array<string>;
2710
2750
  /**
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.
2751
+ * Search query string to filter results. Supports field-specific filters like: \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;Multiple filters can be combined with spaces and commas.\&#39;
2712
2752
  */
2713
2753
  readonly search?: string;
2714
2754
  /**
@@ -2751,6 +2791,22 @@ export interface ProductAnalyticsApiExportProductAnalyticsRequest {
2751
2791
  * Filter to only include products with total traffic less than or equal to this number
2752
2792
  */
2753
2793
  readonly maximumTraffic?: number;
2794
+ /**
2795
+ * Filter to only include products created before the given date
2796
+ */
2797
+ readonly createdBefore?: string;
2798
+ /**
2799
+ * Filter to only include products created after the given date
2800
+ */
2801
+ readonly createdAfter?: string;
2802
+ /**
2803
+ * Filter to only include products updated before the given date
2804
+ */
2805
+ readonly updatedBefore?: string;
2806
+ /**
2807
+ * Filter to only include products updated after the given date
2808
+ */
2809
+ readonly updatedAfter?: string;
2754
2810
  }
2755
2811
  /**
2756
2812
  * Request parameters for getProductAnalyticsSummary operation in ProductAnalyticsApi.
@@ -2778,7 +2834,7 @@ export interface ProductAnalyticsApiListProductAnalyticsRequest {
2778
2834
  */
2779
2835
  readonly pageSize?: number;
2780
2836
  /**
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.
2837
+ * Search query string to filter results. Supports field-specific filters like: \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;Multiple filters can be combined with spaces and commas.\&#39;
2782
2838
  */
2783
2839
  readonly search?: string;
2784
2840
  /**
@@ -2825,6 +2881,22 @@ export interface ProductAnalyticsApiListProductAnalyticsRequest {
2825
2881
  * Filter to only include products with total traffic less than or equal to this number
2826
2882
  */
2827
2883
  readonly maximumTraffic?: number;
2884
+ /**
2885
+ * Filter to only include products created before the given date
2886
+ */
2887
+ readonly createdBefore?: string;
2888
+ /**
2889
+ * Filter to only include products created after the given date
2890
+ */
2891
+ readonly createdAfter?: string;
2892
+ /**
2893
+ * Filter to only include products updated before the given date
2894
+ */
2895
+ readonly updatedBefore?: string;
2896
+ /**
2897
+ * Filter to only include products updated after the given date
2898
+ */
2899
+ readonly updatedAfter?: string;
2828
2900
  }
2829
2901
  /**
2830
2902
  * ProductAnalyticsApi - object-oriented interface
@@ -2855,6 +2927,67 @@ export declare class ProductAnalyticsApi extends BaseAPI {
2855
2927
  */
2856
2928
  listProductAnalytics(requestParameters: ProductAnalyticsApiListProductAnalyticsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductAnalyticsResponse, any, {}>>;
2857
2929
  }
2930
+ /**
2931
+ * ProductCreatorsApi - axios parameter creator
2932
+ */
2933
+ export declare const ProductCreatorsApiAxiosParamCreator: (configuration?: Configuration) => {
2934
+ /**
2935
+ * Lists all the unique users that have created products for the given project.
2936
+ * @summary List product creators
2937
+ * @param {string} project What project it is
2938
+ * @param {*} [options] Override http request option.
2939
+ * @throws {RequiredError}
2940
+ */
2941
+ listProductCreators: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2942
+ };
2943
+ /**
2944
+ * ProductCreatorsApi - functional programming interface
2945
+ */
2946
+ export declare const ProductCreatorsApiFp: (configuration?: Configuration) => {
2947
+ /**
2948
+ * Lists all the unique users that have created products for the given project.
2949
+ * @summary List product creators
2950
+ * @param {string} project What project it is
2951
+ * @param {*} [options] Override http request option.
2952
+ * @throws {RequiredError}
2953
+ */
2954
+ listProductCreators(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserList>>;
2955
+ };
2956
+ /**
2957
+ * ProductCreatorsApi - factory interface
2958
+ */
2959
+ export declare const ProductCreatorsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2960
+ /**
2961
+ * Lists all the unique users that have created products for the given project.
2962
+ * @summary List product creators
2963
+ * @param {ProductCreatorsApiListProductCreatorsRequest} requestParameters Request parameters.
2964
+ * @param {*} [options] Override http request option.
2965
+ * @throws {RequiredError}
2966
+ */
2967
+ listProductCreators(requestParameters: ProductCreatorsApiListProductCreatorsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserList>;
2968
+ };
2969
+ /**
2970
+ * Request parameters for listProductCreators operation in ProductCreatorsApi.
2971
+ */
2972
+ export interface ProductCreatorsApiListProductCreatorsRequest {
2973
+ /**
2974
+ * What project it is
2975
+ */
2976
+ readonly project: string;
2977
+ }
2978
+ /**
2979
+ * ProductCreatorsApi - object-oriented interface
2980
+ */
2981
+ export declare class ProductCreatorsApi extends BaseAPI {
2982
+ /**
2983
+ * Lists all the unique users that have created products for the given project.
2984
+ * @summary List product creators
2985
+ * @param {ProductCreatorsApiListProductCreatorsRequest} requestParameters Request parameters.
2986
+ * @param {*} [options] Override http request option.
2987
+ * @throws {RequiredError}
2988
+ */
2989
+ listProductCreators(requestParameters: ProductCreatorsApiListProductCreatorsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserList, any, {}>>;
2990
+ }
2858
2991
  /**
2859
2992
  * ProductTypesApi - axios parameter creator
2860
2993
  */
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.86.0
7
+ * The version of the OpenAPI document: 1.87.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1114,7 +1114,7 @@ export const ProductAnalyticsApiAxiosParamCreator = function (configuration) {
1114
1114
  * @summary Export product analytics
1115
1115
  * @param {string} project What project it is
1116
1116
  * @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.
1117
- * @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.
1117
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like: \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;Multiple filters can be combined with spaces and commas.\&#39;
1118
1118
  * @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
1119
1119
  * @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
1120
1120
  * @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
@@ -1125,10 +1125,14 @@ export const ProductAnalyticsApiAxiosParamCreator = function (configuration) {
1125
1125
  * @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
1126
1126
  * @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
1127
1127
  * @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
1128
+ * @param {string} [createdBefore] Filter to only include products created before the given date
1129
+ * @param {string} [createdAfter] Filter to only include products created after the given date
1130
+ * @param {string} [updatedBefore] Filter to only include products updated before the given date
1131
+ * @param {string} [updatedAfter] Filter to only include products updated after the given date
1128
1132
  * @param {*} [options] Override http request option.
1129
1133
  * @throws {RequiredError}
1130
1134
  */
1131
- exportProductAnalytics: (project_1, sortBy_1, search_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, ...args_1) => __awaiter(this, [project_1, sortBy_1, search_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, ...args_1], void 0, function* (project, sortBy, search, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, options = {}) {
1135
+ exportProductAnalytics: (project_1, sortBy_1, search_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, createdBefore_1, createdAfter_1, updatedBefore_1, updatedAfter_1, ...args_1) => __awaiter(this, [project_1, sortBy_1, search_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, createdBefore_1, createdAfter_1, updatedBefore_1, updatedAfter_1, ...args_1], void 0, function* (project, sortBy, search, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options = {}) {
1132
1136
  // verify required parameter 'project' is not null or undefined
1133
1137
  assertParamExists('exportProductAnalytics', 'project', project);
1134
1138
  const localVarPath = `/v1/catalog/analytics/export`;
@@ -1189,6 +1193,26 @@ export const ProductAnalyticsApiAxiosParamCreator = function (configuration) {
1189
1193
  if (maximumTraffic !== undefined) {
1190
1194
  localVarQueryParameter['maximumTraffic'] = maximumTraffic;
1191
1195
  }
1196
+ if (createdBefore !== undefined) {
1197
+ localVarQueryParameter['createdBefore'] = (createdBefore instanceof Date) ?
1198
+ createdBefore.toISOString() :
1199
+ createdBefore;
1200
+ }
1201
+ if (createdAfter !== undefined) {
1202
+ localVarQueryParameter['createdAfter'] = (createdAfter instanceof Date) ?
1203
+ createdAfter.toISOString() :
1204
+ createdAfter;
1205
+ }
1206
+ if (updatedBefore !== undefined) {
1207
+ localVarQueryParameter['updatedBefore'] = (updatedBefore instanceof Date) ?
1208
+ updatedBefore.toISOString() :
1209
+ updatedBefore;
1210
+ }
1211
+ if (updatedAfter !== undefined) {
1212
+ localVarQueryParameter['updatedAfter'] = (updatedAfter instanceof Date) ?
1213
+ updatedAfter.toISOString() :
1214
+ updatedAfter;
1215
+ }
1192
1216
  localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
1193
1217
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1194
1218
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -1241,7 +1265,7 @@ export const ProductAnalyticsApiAxiosParamCreator = function (configuration) {
1241
1265
  * @param {string} project What project it is
1242
1266
  * @param {number} [pageToken] Page reference token
1243
1267
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1244
- * @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.
1268
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like: \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;Multiple filters can be combined with spaces and commas.\&#39;
1245
1269
  * @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.
1246
1270
  * @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
1247
1271
  * @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
@@ -1253,10 +1277,14 @@ export const ProductAnalyticsApiAxiosParamCreator = function (configuration) {
1253
1277
  * @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
1254
1278
  * @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
1255
1279
  * @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
1280
+ * @param {string} [createdBefore] Filter to only include products created before the given date
1281
+ * @param {string} [createdAfter] Filter to only include products created after the given date
1282
+ * @param {string} [updatedBefore] Filter to only include products updated before the given date
1283
+ * @param {string} [updatedAfter] Filter to only include products updated after the given date
1256
1284
  * @param {*} [options] Override http request option.
1257
1285
  * @throws {RequiredError}
1258
1286
  */
1259
- listProductAnalytics: (project_1, pageToken_1, pageSize_1, search_1, sortBy_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, search_1, sortBy_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, ...args_1], void 0, function* (project, pageToken, pageSize, search, sortBy, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, options = {}) {
1287
+ listProductAnalytics: (project_1, pageToken_1, pageSize_1, search_1, sortBy_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, createdBefore_1, createdAfter_1, updatedBefore_1, updatedAfter_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, search_1, sortBy_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, createdBefore_1, createdAfter_1, updatedBefore_1, updatedAfter_1, ...args_1], void 0, function* (project, pageToken, pageSize, search, sortBy, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options = {}) {
1260
1288
  // verify required parameter 'project' is not null or undefined
1261
1289
  assertParamExists('listProductAnalytics', 'project', project);
1262
1290
  const localVarPath = `/v1/catalog/analytics`;
@@ -1323,6 +1351,26 @@ export const ProductAnalyticsApiAxiosParamCreator = function (configuration) {
1323
1351
  if (maximumTraffic !== undefined) {
1324
1352
  localVarQueryParameter['maximumTraffic'] = maximumTraffic;
1325
1353
  }
1354
+ if (createdBefore !== undefined) {
1355
+ localVarQueryParameter['createdBefore'] = (createdBefore instanceof Date) ?
1356
+ createdBefore.toISOString() :
1357
+ createdBefore;
1358
+ }
1359
+ if (createdAfter !== undefined) {
1360
+ localVarQueryParameter['createdAfter'] = (createdAfter instanceof Date) ?
1361
+ createdAfter.toISOString() :
1362
+ createdAfter;
1363
+ }
1364
+ if (updatedBefore !== undefined) {
1365
+ localVarQueryParameter['updatedBefore'] = (updatedBefore instanceof Date) ?
1366
+ updatedBefore.toISOString() :
1367
+ updatedBefore;
1368
+ }
1369
+ if (updatedAfter !== undefined) {
1370
+ localVarQueryParameter['updatedAfter'] = (updatedAfter instanceof Date) ?
1371
+ updatedAfter.toISOString() :
1372
+ updatedAfter;
1373
+ }
1326
1374
  localVarHeaderParameter['Accept'] = 'application/json';
1327
1375
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1328
1376
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -1345,7 +1393,7 @@ export const ProductAnalyticsApiFp = function (configuration) {
1345
1393
  * @summary Export product analytics
1346
1394
  * @param {string} project What project it is
1347
1395
  * @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.
1348
- * @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.
1396
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like: \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;Multiple filters can be combined with spaces and commas.\&#39;
1349
1397
  * @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
1350
1398
  * @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
1351
1399
  * @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
@@ -1356,13 +1404,17 @@ export const ProductAnalyticsApiFp = function (configuration) {
1356
1404
  * @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
1357
1405
  * @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
1358
1406
  * @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
1407
+ * @param {string} [createdBefore] Filter to only include products created before the given date
1408
+ * @param {string} [createdAfter] Filter to only include products created after the given date
1409
+ * @param {string} [updatedBefore] Filter to only include products updated before the given date
1410
+ * @param {string} [updatedAfter] Filter to only include products updated after the given date
1359
1411
  * @param {*} [options] Override http request option.
1360
1412
  * @throws {RequiredError}
1361
1413
  */
1362
- exportProductAnalytics(project, sortBy, search, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, options) {
1414
+ exportProductAnalytics(project, sortBy, search, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options) {
1363
1415
  return __awaiter(this, void 0, void 0, function* () {
1364
1416
  var _a, _b, _c;
1365
- const localVarAxiosArgs = yield localVarAxiosParamCreator.exportProductAnalytics(project, sortBy, search, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, options);
1417
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportProductAnalytics(project, sortBy, search, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options);
1366
1418
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1367
1419
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProductAnalyticsApi.exportProductAnalytics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1368
1420
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1390,7 +1442,7 @@ export const ProductAnalyticsApiFp = function (configuration) {
1390
1442
  * @param {string} project What project it is
1391
1443
  * @param {number} [pageToken] Page reference token
1392
1444
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1393
- * @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.
1445
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like: \&#39;tag:\&quot;tag name\&quot;\&#39;, \&#39;internal_tag:\&quot;internal tag name\&quot;\&#39;, \&#39;productType:&lt;id&gt;\&#39;, \&#39;Multiple filters can be combined with spaces and commas.\&#39;
1394
1446
  * @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.
1395
1447
  * @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
1396
1448
  * @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
@@ -1402,13 +1454,17 @@ export const ProductAnalyticsApiFp = function (configuration) {
1402
1454
  * @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
1403
1455
  * @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
1404
1456
  * @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
1457
+ * @param {string} [createdBefore] Filter to only include products created before the given date
1458
+ * @param {string} [createdAfter] Filter to only include products created after the given date
1459
+ * @param {string} [updatedBefore] Filter to only include products updated before the given date
1460
+ * @param {string} [updatedAfter] Filter to only include products updated after the given date
1405
1461
  * @param {*} [options] Override http request option.
1406
1462
  * @throws {RequiredError}
1407
1463
  */
1408
- listProductAnalytics(project, pageToken, pageSize, search, sortBy, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, options) {
1464
+ listProductAnalytics(project, pageToken, pageSize, search, sortBy, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options) {
1409
1465
  return __awaiter(this, void 0, void 0, function* () {
1410
1466
  var _a, _b, _c;
1411
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductAnalytics(project, pageToken, pageSize, search, sortBy, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, options);
1467
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductAnalytics(project, pageToken, pageSize, search, sortBy, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options);
1412
1468
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1413
1469
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProductAnalyticsApi.listProductAnalytics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1414
1470
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1430,7 +1486,7 @@ export const ProductAnalyticsApiFactory = function (configuration, basePath, axi
1430
1486
  * @throws {RequiredError}
1431
1487
  */
1432
1488
  exportProductAnalytics(requestParameters, options) {
1433
- return localVarFp.exportProductAnalytics(requestParameters.project, requestParameters.sortBy, requestParameters.search, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, options).then((request) => request(axios, basePath));
1489
+ return localVarFp.exportProductAnalytics(requestParameters.project, requestParameters.sortBy, requestParameters.search, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, requestParameters.createdBefore, requestParameters.createdAfter, requestParameters.updatedBefore, requestParameters.updatedAfter, options).then((request) => request(axios, basePath));
1434
1490
  },
1435
1491
  /**
1436
1492
  * Get the AI-generated summary of the product analytics for the given project.
@@ -1450,7 +1506,7 @@ export const ProductAnalyticsApiFactory = function (configuration, basePath, axi
1450
1506
  * @throws {RequiredError}
1451
1507
  */
1452
1508
  listProductAnalytics(requestParameters, options) {
1453
- return localVarFp.listProductAnalytics(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, options).then((request) => request(axios, basePath));
1509
+ return localVarFp.listProductAnalytics(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, requestParameters.createdBefore, requestParameters.createdAfter, requestParameters.updatedBefore, requestParameters.updatedAfter, options).then((request) => request(axios, basePath));
1454
1510
  },
1455
1511
  };
1456
1512
  };
@@ -1466,7 +1522,7 @@ export class ProductAnalyticsApi extends BaseAPI {
1466
1522
  * @throws {RequiredError}
1467
1523
  */
1468
1524
  exportProductAnalytics(requestParameters, options) {
1469
- return ProductAnalyticsApiFp(this.configuration).exportProductAnalytics(requestParameters.project, requestParameters.sortBy, requestParameters.search, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, options).then((request) => request(this.axios, this.basePath));
1525
+ return ProductAnalyticsApiFp(this.configuration).exportProductAnalytics(requestParameters.project, requestParameters.sortBy, requestParameters.search, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, requestParameters.createdBefore, requestParameters.createdAfter, requestParameters.updatedBefore, requestParameters.updatedAfter, options).then((request) => request(this.axios, this.basePath));
1470
1526
  }
1471
1527
  /**
1472
1528
  * Get the AI-generated summary of the product analytics for the given project.
@@ -1486,7 +1542,108 @@ export class ProductAnalyticsApi extends BaseAPI {
1486
1542
  * @throws {RequiredError}
1487
1543
  */
1488
1544
  listProductAnalytics(requestParameters, options) {
1489
- return ProductAnalyticsApiFp(this.configuration).listProductAnalytics(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, options).then((request) => request(this.axios, this.basePath));
1545
+ return ProductAnalyticsApiFp(this.configuration).listProductAnalytics(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, requestParameters.createdBefore, requestParameters.createdAfter, requestParameters.updatedBefore, requestParameters.updatedAfter, options).then((request) => request(this.axios, this.basePath));
1546
+ }
1547
+ }
1548
+ /**
1549
+ * ProductCreatorsApi - axios parameter creator
1550
+ */
1551
+ export const ProductCreatorsApiAxiosParamCreator = function (configuration) {
1552
+ return {
1553
+ /**
1554
+ * Lists all the unique users that have created products for the given project.
1555
+ * @summary List product creators
1556
+ * @param {string} project What project it is
1557
+ * @param {*} [options] Override http request option.
1558
+ * @throws {RequiredError}
1559
+ */
1560
+ listProductCreators: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
1561
+ // verify required parameter 'project' is not null or undefined
1562
+ assertParamExists('listProductCreators', 'project', project);
1563
+ const localVarPath = `/v1/catalog/creators`;
1564
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1565
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1566
+ let baseOptions;
1567
+ if (configuration) {
1568
+ baseOptions = configuration.baseOptions;
1569
+ }
1570
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1571
+ const localVarHeaderParameter = {};
1572
+ const localVarQueryParameter = {};
1573
+ // authentication session-oauth required
1574
+ // oauth required
1575
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
1576
+ // authentication api-key required
1577
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1578
+ if (project !== undefined) {
1579
+ localVarQueryParameter['project'] = project;
1580
+ }
1581
+ localVarHeaderParameter['Accept'] = 'application/json';
1582
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1583
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1584
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1585
+ return {
1586
+ url: toPathString(localVarUrlObj),
1587
+ options: localVarRequestOptions,
1588
+ };
1589
+ }),
1590
+ };
1591
+ };
1592
+ /**
1593
+ * ProductCreatorsApi - functional programming interface
1594
+ */
1595
+ export const ProductCreatorsApiFp = function (configuration) {
1596
+ const localVarAxiosParamCreator = ProductCreatorsApiAxiosParamCreator(configuration);
1597
+ return {
1598
+ /**
1599
+ * Lists all the unique users that have created products for the given project.
1600
+ * @summary List product creators
1601
+ * @param {string} project What project it is
1602
+ * @param {*} [options] Override http request option.
1603
+ * @throws {RequiredError}
1604
+ */
1605
+ listProductCreators(project, options) {
1606
+ return __awaiter(this, void 0, void 0, function* () {
1607
+ var _a, _b, _c;
1608
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductCreators(project, options);
1609
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1610
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProductCreatorsApi.listProductCreators']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1611
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1612
+ });
1613
+ },
1614
+ };
1615
+ };
1616
+ /**
1617
+ * ProductCreatorsApi - factory interface
1618
+ */
1619
+ export const ProductCreatorsApiFactory = function (configuration, basePath, axios) {
1620
+ const localVarFp = ProductCreatorsApiFp(configuration);
1621
+ return {
1622
+ /**
1623
+ * Lists all the unique users that have created products for the given project.
1624
+ * @summary List product creators
1625
+ * @param {ProductCreatorsApiListProductCreatorsRequest} requestParameters Request parameters.
1626
+ * @param {*} [options] Override http request option.
1627
+ * @throws {RequiredError}
1628
+ */
1629
+ listProductCreators(requestParameters, options) {
1630
+ return localVarFp.listProductCreators(requestParameters.project, options).then((request) => request(axios, basePath));
1631
+ },
1632
+ };
1633
+ };
1634
+ /**
1635
+ * ProductCreatorsApi - object-oriented interface
1636
+ */
1637
+ export class ProductCreatorsApi extends BaseAPI {
1638
+ /**
1639
+ * Lists all the unique users that have created products for the given project.
1640
+ * @summary List product creators
1641
+ * @param {ProductCreatorsApiListProductCreatorsRequest} requestParameters Request parameters.
1642
+ * @param {*} [options] Override http request option.
1643
+ * @throws {RequiredError}
1644
+ */
1645
+ listProductCreators(requestParameters, options) {
1646
+ return ProductCreatorsApiFp(this.configuration).listProductCreators(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
1490
1647
  }
1491
1648
  }
1492
1649
  /**
@@ -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.86.0
5
+ * The version of the OpenAPI document: 1.87.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.86.0
7
+ * The version of the OpenAPI document: 1.87.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).