@teemill/product-catalog 1.56.0 → 1.57.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/product-catalog@1.56.0
1
+ ## @teemill/product-catalog@1.57.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/product-catalog@1.56.0 --save
39
+ npm install @teemill/product-catalog@1.57.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts 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.56.0
7
+ * The version of the OpenAPI document: 1.57.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3433,12 +3433,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
3433
3433
  * @param {number} [pageToken] Page reference token
3434
3434
  * @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas.
3435
3435
  * @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.
3436
+ * @param {string} [start] Start of date range to filter
3437
+ * @param {string} [end] End of date range to filter
3438
+ * @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
3436
3439
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3437
3440
  * @param {string} [fields] Filter response fields to only include a subset of the resource.
3438
3441
  * @param {*} [options] Override http request option.
3439
3442
  * @throws {RequiredError}
3440
3443
  */
3441
- listProducts: async (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3444
+ listProducts: async (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, pageSize?: number, fields?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3442
3445
  // verify required parameter 'project' is not null or undefined
3443
3446
  assertParamExists('listProducts', 'project', project)
3444
3447
  const localVarPath = `/v1/catalog/products`;
@@ -3476,6 +3479,22 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
3476
3479
  localVarQueryParameter['sortBy'] = sortBy;
3477
3480
  }
3478
3481
 
3482
+ if (start !== undefined) {
3483
+ localVarQueryParameter['start'] = (start as any instanceof Date) ?
3484
+ (start as any).toISOString() :
3485
+ start;
3486
+ }
3487
+
3488
+ if (end !== undefined) {
3489
+ localVarQueryParameter['end'] = (end as any instanceof Date) ?
3490
+ (end as any).toISOString() :
3491
+ end;
3492
+ }
3493
+
3494
+ if (dateFilterType !== undefined) {
3495
+ localVarQueryParameter['dateFilterType'] = dateFilterType;
3496
+ }
3497
+
3479
3498
  if (pageSize !== undefined) {
3480
3499
  localVarQueryParameter['pageSize'] = pageSize;
3481
3500
  }
@@ -3760,13 +3779,16 @@ export const ProductsApiFp = function(configuration?: Configuration) {
3760
3779
  * @param {number} [pageToken] Page reference token
3761
3780
  * @param {string} [search] Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, and \&#39;tag:\&quot;tag name\&quot;\&#39;. Multiple filters can be combined with spaces and commas.
3762
3781
  * @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.
3782
+ * @param {string} [start] Start of date range to filter
3783
+ * @param {string} [end] End of date range to filter
3784
+ * @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
3763
3785
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3764
3786
  * @param {string} [fields] Filter response fields to only include a subset of the resource.
3765
3787
  * @param {*} [options] Override http request option.
3766
3788
  * @throws {RequiredError}
3767
3789
  */
3768
- async listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>> {
3769
- const localVarAxiosArgs = await localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, pageSize, fields, options);
3790
+ async listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>> {
3791
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options);
3770
3792
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3771
3793
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.listProducts']?.[localVarOperationServerIndex]?.url;
3772
3794
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3902,7 +3924,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
3902
3924
  * @throws {RequiredError}
3903
3925
  */
3904
3926
  listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductsResponse> {
3905
- return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
3927
+ return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
3906
3928
  },
3907
3929
  /**
3908
3930
  * AI SEO optimises products by a set of given IDs.
@@ -4118,6 +4140,27 @@ export interface ProductsApiListProductsRequest {
4118
4140
  */
4119
4141
  readonly sortBy?: Array<string>
4120
4142
 
4143
+ /**
4144
+ * Start of date range to filter
4145
+ * @type {string}
4146
+ * @memberof ProductsApiListProducts
4147
+ */
4148
+ readonly start?: string
4149
+
4150
+ /**
4151
+ * End of date range to filter
4152
+ * @type {string}
4153
+ * @memberof ProductsApiListProducts
4154
+ */
4155
+ readonly end?: string
4156
+
4157
+ /**
4158
+ * Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
4159
+ * @type {'createdAt' | 'updatedAt'}
4160
+ * @memberof ProductsApiListProducts
4161
+ */
4162
+ readonly dateFilterType?: ListProductsDateFilterTypeEnum
4163
+
4121
4164
  /**
4122
4165
  * Max page size. This is the maximum page size that will be returned, but it might be smaller.
4123
4166
  * @type {number}
@@ -4303,7 +4346,7 @@ export class ProductsApi extends BaseAPI {
4303
4346
  * @memberof ProductsApi
4304
4347
  */
4305
4348
  public listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig) {
4306
- return ProductsApiFp(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
4349
+ return ProductsApiFp(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
4307
4350
  }
4308
4351
 
4309
4352
  /**
@@ -4343,6 +4386,14 @@ export class ProductsApi extends BaseAPI {
4343
4386
  }
4344
4387
  }
4345
4388
 
4389
+ /**
4390
+ * @export
4391
+ */
4392
+ export const ListProductsDateFilterTypeEnum = {
4393
+ CreatedAt: 'createdAt',
4394
+ UpdatedAt: 'updatedAt'
4395
+ } as const;
4396
+ export type ListProductsDateFilterTypeEnum = typeof ListProductsDateFilterTypeEnum[keyof typeof ListProductsDateFilterTypeEnum];
4346
4397
 
4347
4398
 
4348
4399
  /**
package/base.ts 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.56.0
7
+ * The version of the OpenAPI document: 1.57.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts 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.56.0
7
+ * The version of the OpenAPI document: 1.57.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts 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.56.0
7
+ * The version of the OpenAPI document: 1.57.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/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.56.0
5
+ * The version of the OpenAPI document: 1.57.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2775,12 +2775,15 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
2775
2775
  * @param {number} [pageToken] Page reference token
2776
2776
  * @param {string} [search] Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, and \&#39;tag:\&quot;tag name\&quot;\&#39;. Multiple filters can be combined with spaces and commas.
2777
2777
  * @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.
2778
+ * @param {string} [start] Start of date range to filter
2779
+ * @param {string} [end] End of date range to filter
2780
+ * @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
2778
2781
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2779
2782
  * @param {string} [fields] Filter response fields to only include a subset of the resource.
2780
2783
  * @param {*} [options] Override http request option.
2781
2784
  * @throws {RequiredError}
2782
2785
  */
2783
- listProducts: (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2786
+ listProducts: (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2784
2787
  /**
2785
2788
  * AI SEO optimises products by a set of given IDs.
2786
2789
  * @summary AI SEO optimise products.
@@ -2885,12 +2888,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
2885
2888
  * @param {number} [pageToken] Page reference token
2886
2889
  * @param {string} [search] Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, and \&#39;tag:\&quot;tag name\&quot;\&#39;. Multiple filters can be combined with spaces and commas.
2887
2890
  * @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.
2891
+ * @param {string} [start] Start of date range to filter
2892
+ * @param {string} [end] End of date range to filter
2893
+ * @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
2888
2894
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2889
2895
  * @param {string} [fields] Filter response fields to only include a subset of the resource.
2890
2896
  * @param {*} [options] Override http request option.
2891
2897
  * @throws {RequiredError}
2892
2898
  */
2893
- listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
2899
+ listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
2894
2900
  /**
2895
2901
  * AI SEO optimises products by a set of given IDs.
2896
2902
  * @summary AI SEO optimise products.
@@ -3177,6 +3183,24 @@ export interface ProductsApiListProductsRequest {
3177
3183
  * @memberof ProductsApiListProducts
3178
3184
  */
3179
3185
  readonly sortBy?: Array<string>;
3186
+ /**
3187
+ * Start of date range to filter
3188
+ * @type {string}
3189
+ * @memberof ProductsApiListProducts
3190
+ */
3191
+ readonly start?: string;
3192
+ /**
3193
+ * End of date range to filter
3194
+ * @type {string}
3195
+ * @memberof ProductsApiListProducts
3196
+ */
3197
+ readonly end?: string;
3198
+ /**
3199
+ * Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
3200
+ * @type {'createdAt' | 'updatedAt'}
3201
+ * @memberof ProductsApiListProducts
3202
+ */
3203
+ readonly dateFilterType?: ListProductsDateFilterTypeEnum;
3180
3204
  /**
3181
3205
  * Max page size. This is the maximum page size that will be returned, but it might be smaller.
3182
3206
  * @type {number}
@@ -3360,6 +3384,14 @@ export declare class ProductsApi extends BaseAPI {
3360
3384
  */
3361
3385
  updateProducts(requestParameters: ProductsApiUpdateProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsResponse, any>>;
3362
3386
  }
3387
+ /**
3388
+ * @export
3389
+ */
3390
+ export declare const ListProductsDateFilterTypeEnum: {
3391
+ readonly CreatedAt: "createdAt";
3392
+ readonly UpdatedAt: "updatedAt";
3393
+ };
3394
+ export type ListProductsDateFilterTypeEnum = typeof ListProductsDateFilterTypeEnum[keyof typeof ListProductsDateFilterTypeEnum];
3363
3395
  /**
3364
3396
  * VariantsApi - axios parameter creator
3365
3397
  * @export
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * 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.
7
7
  *
8
- * The version of the OpenAPI document: 1.56.0
8
+ * The version of the OpenAPI document: 1.57.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ApplicationTechnologiesApi = exports.ApplicationTechnologiesApiFactory = exports.ApplicationTechnologiesApiFp = exports.ApplicationTechnologiesApiAxiosParamCreator = exports.ApplicationSetsApi = exports.ApplicationSetsApiFactory = exports.ApplicationSetsApiFp = exports.ApplicationSetsApiAxiosParamCreator = exports.UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = exports.SalePriceCurrencyCodeEnum = exports.PriceCurrencyCodeEnum = exports.CreateApplicationPlacementEnum = exports.CreateApplicationTechnologyEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
25
+ exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ListProductsDateFilterTypeEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ApplicationTechnologiesApi = exports.ApplicationTechnologiesApiFactory = exports.ApplicationTechnologiesApiFp = exports.ApplicationTechnologiesApiAxiosParamCreator = exports.ApplicationSetsApi = exports.ApplicationSetsApiFactory = exports.ApplicationSetsApiFp = exports.ApplicationSetsApiAxiosParamCreator = exports.UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = exports.SalePriceCurrencyCodeEnum = exports.PriceCurrencyCodeEnum = exports.CreateApplicationPlacementEnum = exports.CreateApplicationTechnologyEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -929,12 +929,15 @@ const ProductsApiAxiosParamCreator = function (configuration) {
929
929
  * @param {number} [pageToken] Page reference token
930
930
  * @param {string} [search] Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, and \&#39;tag:\&quot;tag name\&quot;\&#39;. Multiple filters can be combined with spaces and commas.
931
931
  * @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.
932
+ * @param {string} [start] Start of date range to filter
933
+ * @param {string} [end] End of date range to filter
934
+ * @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
932
935
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
933
936
  * @param {string} [fields] Filter response fields to only include a subset of the resource.
934
937
  * @param {*} [options] Override http request option.
935
938
  * @throws {RequiredError}
936
939
  */
937
- listProducts: (project_1, pageToken_1, search_1, sortBy_1, pageSize_1, fields_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, sortBy_1, pageSize_1, fields_1, ...args_1], void 0, function* (project, pageToken, search, sortBy, pageSize, fields, options = {}) {
940
+ listProducts: (project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, pageSize_1, fields_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, pageSize_1, fields_1, ...args_1], void 0, function* (project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options = {}) {
938
941
  // verify required parameter 'project' is not null or undefined
939
942
  (0, common_1.assertParamExists)('listProducts', 'project', project);
940
943
  const localVarPath = `/v1/catalog/products`;
@@ -964,6 +967,19 @@ const ProductsApiAxiosParamCreator = function (configuration) {
964
967
  if (sortBy) {
965
968
  localVarQueryParameter['sortBy'] = sortBy;
966
969
  }
970
+ if (start !== undefined) {
971
+ localVarQueryParameter['start'] = (start instanceof Date) ?
972
+ start.toISOString() :
973
+ start;
974
+ }
975
+ if (end !== undefined) {
976
+ localVarQueryParameter['end'] = (end instanceof Date) ?
977
+ end.toISOString() :
978
+ end;
979
+ }
980
+ if (dateFilterType !== undefined) {
981
+ localVarQueryParameter['dateFilterType'] = dateFilterType;
982
+ }
967
983
  if (pageSize !== undefined) {
968
984
  localVarQueryParameter['pageSize'] = pageSize;
969
985
  }
@@ -1237,15 +1253,18 @@ const ProductsApiFp = function (configuration) {
1237
1253
  * @param {number} [pageToken] Page reference token
1238
1254
  * @param {string} [search] Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, and \&#39;tag:\&quot;tag name\&quot;\&#39;. Multiple filters can be combined with spaces and commas.
1239
1255
  * @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.
1256
+ * @param {string} [start] Start of date range to filter
1257
+ * @param {string} [end] End of date range to filter
1258
+ * @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
1240
1259
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1241
1260
  * @param {string} [fields] Filter response fields to only include a subset of the resource.
1242
1261
  * @param {*} [options] Override http request option.
1243
1262
  * @throws {RequiredError}
1244
1263
  */
1245
- listProducts(project, pageToken, search, sortBy, pageSize, fields, options) {
1264
+ listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options) {
1246
1265
  return __awaiter(this, void 0, void 0, function* () {
1247
1266
  var _a, _b, _c;
1248
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, pageSize, fields, options);
1267
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options);
1249
1268
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1250
1269
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.listProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1251
1270
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1391,7 +1410,7 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
1391
1410
  * @throws {RequiredError}
1392
1411
  */
1393
1412
  listProducts(requestParameters, options) {
1394
- return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
1413
+ return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
1395
1414
  },
1396
1415
  /**
1397
1416
  * AI SEO optimises products by a set of given IDs.
@@ -1519,7 +1538,7 @@ class ProductsApi extends base_1.BaseAPI {
1519
1538
  * @memberof ProductsApi
1520
1539
  */
1521
1540
  listProducts(requestParameters, options) {
1522
- return (0, exports.ProductsApiFp)(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
1541
+ return (0, exports.ProductsApiFp)(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
1523
1542
  }
1524
1543
  /**
1525
1544
  * AI SEO optimises products by a set of given IDs.
@@ -1556,6 +1575,13 @@ class ProductsApi extends base_1.BaseAPI {
1556
1575
  }
1557
1576
  }
1558
1577
  exports.ProductsApi = ProductsApi;
1578
+ /**
1579
+ * @export
1580
+ */
1581
+ exports.ListProductsDateFilterTypeEnum = {
1582
+ CreatedAt: 'createdAt',
1583
+ UpdatedAt: 'updatedAt'
1584
+ };
1559
1585
  /**
1560
1586
  * VariantsApi - axios parameter creator
1561
1587
  * @export
package/dist/base.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.56.0
5
+ * The version of the OpenAPI document: 1.57.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * 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.
7
7
  *
8
- * The version of the OpenAPI document: 1.56.0
8
+ * The version of the OpenAPI document: 1.57.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.56.0
5
+ * The version of the OpenAPI document: 1.57.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * 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.
7
7
  *
8
- * The version of the OpenAPI document: 1.56.0
8
+ * The version of the OpenAPI document: 1.57.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.56.0
5
+ * The version of the OpenAPI document: 1.57.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * 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.
7
7
  *
8
- * The version of the OpenAPI document: 1.56.0
8
+ * The version of the OpenAPI document: 1.57.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.56.0
5
+ * The version of the OpenAPI document: 1.57.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2775,12 +2775,15 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
2775
2775
  * @param {number} [pageToken] Page reference token
2776
2776
  * @param {string} [search] Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, and \&#39;tag:\&quot;tag name\&quot;\&#39;. Multiple filters can be combined with spaces and commas.
2777
2777
  * @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.
2778
+ * @param {string} [start] Start of date range to filter
2779
+ * @param {string} [end] End of date range to filter
2780
+ * @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
2778
2781
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2779
2782
  * @param {string} [fields] Filter response fields to only include a subset of the resource.
2780
2783
  * @param {*} [options] Override http request option.
2781
2784
  * @throws {RequiredError}
2782
2785
  */
2783
- listProducts: (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2786
+ listProducts: (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2784
2787
  /**
2785
2788
  * AI SEO optimises products by a set of given IDs.
2786
2789
  * @summary AI SEO optimise products.
@@ -2885,12 +2888,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
2885
2888
  * @param {number} [pageToken] Page reference token
2886
2889
  * @param {string} [search] Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, and \&#39;tag:\&quot;tag name\&quot;\&#39;. Multiple filters can be combined with spaces and commas.
2887
2890
  * @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.
2891
+ * @param {string} [start] Start of date range to filter
2892
+ * @param {string} [end] End of date range to filter
2893
+ * @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
2888
2894
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2889
2895
  * @param {string} [fields] Filter response fields to only include a subset of the resource.
2890
2896
  * @param {*} [options] Override http request option.
2891
2897
  * @throws {RequiredError}
2892
2898
  */
2893
- listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
2899
+ listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
2894
2900
  /**
2895
2901
  * AI SEO optimises products by a set of given IDs.
2896
2902
  * @summary AI SEO optimise products.
@@ -3177,6 +3183,24 @@ export interface ProductsApiListProductsRequest {
3177
3183
  * @memberof ProductsApiListProducts
3178
3184
  */
3179
3185
  readonly sortBy?: Array<string>;
3186
+ /**
3187
+ * Start of date range to filter
3188
+ * @type {string}
3189
+ * @memberof ProductsApiListProducts
3190
+ */
3191
+ readonly start?: string;
3192
+ /**
3193
+ * End of date range to filter
3194
+ * @type {string}
3195
+ * @memberof ProductsApiListProducts
3196
+ */
3197
+ readonly end?: string;
3198
+ /**
3199
+ * Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
3200
+ * @type {'createdAt' | 'updatedAt'}
3201
+ * @memberof ProductsApiListProducts
3202
+ */
3203
+ readonly dateFilterType?: ListProductsDateFilterTypeEnum;
3180
3204
  /**
3181
3205
  * Max page size. This is the maximum page size that will be returned, but it might be smaller.
3182
3206
  * @type {number}
@@ -3360,6 +3384,14 @@ export declare class ProductsApi extends BaseAPI {
3360
3384
  */
3361
3385
  updateProducts(requestParameters: ProductsApiUpdateProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsResponse, any>>;
3362
3386
  }
3387
+ /**
3388
+ * @export
3389
+ */
3390
+ export declare const ListProductsDateFilterTypeEnum: {
3391
+ readonly CreatedAt: "createdAt";
3392
+ readonly UpdatedAt: "updatedAt";
3393
+ };
3394
+ export type ListProductsDateFilterTypeEnum = typeof ListProductsDateFilterTypeEnum[keyof typeof ListProductsDateFilterTypeEnum];
3363
3395
  /**
3364
3396
  * VariantsApi - axios parameter creator
3365
3397
  * @export
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.56.0
7
+ * The version of the OpenAPI document: 1.57.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -918,12 +918,15 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
918
918
  * @param {number} [pageToken] Page reference token
919
919
  * @param {string} [search] Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, and \&#39;tag:\&quot;tag name\&quot;\&#39;. Multiple filters can be combined with spaces and commas.
920
920
  * @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.
921
+ * @param {string} [start] Start of date range to filter
922
+ * @param {string} [end] End of date range to filter
923
+ * @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
921
924
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
922
925
  * @param {string} [fields] Filter response fields to only include a subset of the resource.
923
926
  * @param {*} [options] Override http request option.
924
927
  * @throws {RequiredError}
925
928
  */
926
- listProducts: (project_1, pageToken_1, search_1, sortBy_1, pageSize_1, fields_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, sortBy_1, pageSize_1, fields_1, ...args_1], void 0, function* (project, pageToken, search, sortBy, pageSize, fields, options = {}) {
929
+ listProducts: (project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, pageSize_1, fields_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, pageSize_1, fields_1, ...args_1], void 0, function* (project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options = {}) {
927
930
  // verify required parameter 'project' is not null or undefined
928
931
  assertParamExists('listProducts', 'project', project);
929
932
  const localVarPath = `/v1/catalog/products`;
@@ -953,6 +956,19 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
953
956
  if (sortBy) {
954
957
  localVarQueryParameter['sortBy'] = sortBy;
955
958
  }
959
+ if (start !== undefined) {
960
+ localVarQueryParameter['start'] = (start instanceof Date) ?
961
+ start.toISOString() :
962
+ start;
963
+ }
964
+ if (end !== undefined) {
965
+ localVarQueryParameter['end'] = (end instanceof Date) ?
966
+ end.toISOString() :
967
+ end;
968
+ }
969
+ if (dateFilterType !== undefined) {
970
+ localVarQueryParameter['dateFilterType'] = dateFilterType;
971
+ }
956
972
  if (pageSize !== undefined) {
957
973
  localVarQueryParameter['pageSize'] = pageSize;
958
974
  }
@@ -1225,15 +1241,18 @@ export const ProductsApiFp = function (configuration) {
1225
1241
  * @param {number} [pageToken] Page reference token
1226
1242
  * @param {string} [search] Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, and \&#39;tag:\&quot;tag name\&quot;\&#39;. Multiple filters can be combined with spaces and commas.
1227
1243
  * @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.
1244
+ * @param {string} [start] Start of date range to filter
1245
+ * @param {string} [end] End of date range to filter
1246
+ * @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
1228
1247
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1229
1248
  * @param {string} [fields] Filter response fields to only include a subset of the resource.
1230
1249
  * @param {*} [options] Override http request option.
1231
1250
  * @throws {RequiredError}
1232
1251
  */
1233
- listProducts(project, pageToken, search, sortBy, pageSize, fields, options) {
1252
+ listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options) {
1234
1253
  return __awaiter(this, void 0, void 0, function* () {
1235
1254
  var _a, _b, _c;
1236
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, pageSize, fields, options);
1255
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options);
1237
1256
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1238
1257
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProductsApi.listProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1239
1258
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1378,7 +1397,7 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
1378
1397
  * @throws {RequiredError}
1379
1398
  */
1380
1399
  listProducts(requestParameters, options) {
1381
- return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
1400
+ return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
1382
1401
  },
1383
1402
  /**
1384
1403
  * AI SEO optimises products by a set of given IDs.
@@ -1505,7 +1524,7 @@ export class ProductsApi extends BaseAPI {
1505
1524
  * @memberof ProductsApi
1506
1525
  */
1507
1526
  listProducts(requestParameters, options) {
1508
- return ProductsApiFp(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
1527
+ return ProductsApiFp(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
1509
1528
  }
1510
1529
  /**
1511
1530
  * AI SEO optimises products by a set of given IDs.
@@ -1541,6 +1560,13 @@ export class ProductsApi extends BaseAPI {
1541
1560
  return ProductsApiFp(this.configuration).updateProducts(requestParameters.project, requestParameters.updateProductsRequest, options).then((request) => request(this.axios, this.basePath));
1542
1561
  }
1543
1562
  }
1563
+ /**
1564
+ * @export
1565
+ */
1566
+ export const ListProductsDateFilterTypeEnum = {
1567
+ CreatedAt: 'createdAt',
1568
+ UpdatedAt: 'updatedAt'
1569
+ };
1544
1570
  /**
1545
1571
  * VariantsApi - axios parameter creator
1546
1572
  * @export
@@ -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.56.0
5
+ * The version of the OpenAPI document: 1.57.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.56.0
7
+ * The version of the OpenAPI document: 1.57.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.56.0
5
+ * The version of the OpenAPI document: 1.57.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.56.0
7
+ * The version of the OpenAPI document: 1.57.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.56.0
5
+ * The version of the OpenAPI document: 1.57.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.56.0
7
+ * The version of the OpenAPI document: 1.57.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.56.0
5
+ * The version of the OpenAPI document: 1.57.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.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.56.0
7
+ * The version of the OpenAPI document: 1.57.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.56.0
5
+ * The version of the OpenAPI document: 1.57.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * 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.
7
7
  *
8
- * The version of the OpenAPI document: 1.56.0
8
+ * The version of the OpenAPI document: 1.57.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -452,6 +452,9 @@ let project: string; //What project it is (default to undefined)
452
452
  let pageToken: number; //Page reference token (optional) (default to 1)
453
453
  let search: string; //Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas. (optional) (default to 'enabled:true')
454
454
  let sortBy: Array<string>; //An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending. (optional) (default to undefined)
455
+ let start: string; //Start of date range to filter (optional) (default to undefined)
456
+ let end: string; //End of date range to filter (optional) (default to undefined)
457
+ let dateFilterType: 'createdAt' | 'updatedAt'; //Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query. (optional) (default to 'createdAt')
455
458
  let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 10)
456
459
  let fields: string; //Filter response fields to only include a subset of the resource. (optional) (default to undefined)
457
460
 
@@ -460,6 +463,9 @@ const { status, data } = await apiInstance.listProducts(
460
463
  pageToken,
461
464
  search,
462
465
  sortBy,
466
+ start,
467
+ end,
468
+ dateFilterType,
463
469
  pageSize,
464
470
  fields
465
471
  );
@@ -473,6 +479,9 @@ const { status, data } = await apiInstance.listProducts(
473
479
  | **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
474
480
  | **search** | [**string**] | Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, and \&#39;tag:\&quot;tag name\&quot;\&#39;. Multiple filters can be combined with spaces and commas. | (optional) defaults to 'enabled:true'|
475
481
  | **sortBy** | **Array&lt;string&gt;** | An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending. | (optional) defaults to undefined|
482
+ | **start** | [**string**] | Start of date range to filter | (optional) defaults to undefined|
483
+ | **end** | [**string**] | End of date range to filter | (optional) defaults to undefined|
484
+ | **dateFilterType** | [**&#39;createdAt&#39; | &#39;updatedAt&#39;**]**Array<&#39;createdAt&#39; &#124; &#39;updatedAt&#39;>** | Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query. | (optional) defaults to 'createdAt'|
476
485
  | **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 10|
477
486
  | **fields** | [**string**] | Filter response fields to only include a subset of the resource. | (optional) defaults to undefined|
478
487
 
package/index.ts 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.56.0
7
+ * The version of the OpenAPI document: 1.57.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/product-catalog",
3
- "version": "1.56.0",
3
+ "version": "1.57.0",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {