@teemill/product-catalog 1.35.0 → 1.37.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.35.0
1
+ ## @teemill/product-catalog@1.37.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.35.0 --save
39
+ npm install @teemill/product-catalog@1.37.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.35.0
7
+ * The version of the OpenAPI document: 1.37.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -629,22 +629,22 @@ export interface CreateProductRequestVideosInner {
629
629
  export interface CreateProductVariant {
630
630
  /**
631
631
  * Attributes associated to a variant such as Colour and Size.
632
- * @type {Array<CreateProductVariantAttributesInner>}
632
+ * @type {Array<UpdateProductsRequestProductsInnerVariantsInnerAttributesInner>}
633
633
  * @memberof CreateProductVariant
634
634
  */
635
- 'attributes': Array<CreateProductVariantAttributesInner>;
635
+ 'attributes': Array<UpdateProductsRequestProductsInnerVariantsInnerAttributesInner>;
636
636
  /**
637
637
  *
638
- * @type {CreateProductVariantRetailPrice}
638
+ * @type {UpdateProductsRequestProductsInnerVariantsInnerRetailPrice}
639
639
  * @memberof CreateProductVariant
640
640
  */
641
- 'retailPrice': CreateProductVariantRetailPrice;
641
+ 'retailPrice': UpdateProductsRequestProductsInnerVariantsInnerRetailPrice;
642
642
  /**
643
643
  *
644
- * @type {CreateProductVariantSalePrice}
644
+ * @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
645
645
  * @memberof CreateProductVariant
646
646
  */
647
- 'salePrice'?: CreateProductVariantSalePrice;
647
+ 'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
648
648
  /**
649
649
  * A custom stock keeping unit for the variant.
650
650
  * @type {string}
@@ -669,6 +669,12 @@ export interface CreateProductVariant {
669
669
  * @memberof CreateProductVariant
670
670
  */
671
671
  'applicationSets'?: Array<string>;
672
+ /**
673
+ * The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after it\'s been uploaded it via the Barcodes module.
674
+ * @type {string}
675
+ * @memberof CreateProductVariant
676
+ */
677
+ 'barcode'?: string | null;
672
678
  /**
673
679
  * For use with the Shopify integration. Use this to provide a Shopify variant ID to link to an existing Shopify variant rather than creating a new one.
674
680
  * @type {number}
@@ -676,33 +682,6 @@ export interface CreateProductVariant {
676
682
  */
677
683
  'shopifyId'?: number;
678
684
  }
679
- /**
680
- *
681
- * @export
682
- * @interface CreateProductVariantAttributesInner
683
- */
684
- export interface CreateProductVariantAttributesInner {
685
- /**
686
- * Attribute name
687
- * @type {string}
688
- * @memberof CreateProductVariantAttributesInner
689
- */
690
- 'name': CreateProductVariantAttributesInnerNameEnum;
691
- /**
692
- * Attribute value
693
- * @type {string}
694
- * @memberof CreateProductVariantAttributesInner
695
- */
696
- 'value': string;
697
- }
698
-
699
- export const CreateProductVariantAttributesInnerNameEnum = {
700
- Size: 'Size',
701
- Colour: 'Colour'
702
- } as const;
703
-
704
- export type CreateProductVariantAttributesInnerNameEnum = typeof CreateProductVariantAttributesInnerNameEnum[keyof typeof CreateProductVariantAttributesInnerNameEnum];
705
-
706
685
  /**
707
686
  *
708
687
  * @export
@@ -716,58 +695,6 @@ export interface CreateProductVariantImagesInner {
716
695
  */
717
696
  'src'?: string;
718
697
  }
719
- /**
720
- * Variant retail price including tax.
721
- * @export
722
- * @interface CreateProductVariantRetailPrice
723
- */
724
- export interface CreateProductVariantRetailPrice {
725
- /**
726
- * Price including tax in the specified currency.
727
- * @type {number}
728
- * @memberof CreateProductVariantRetailPrice
729
- */
730
- 'amount': number;
731
- /**
732
- * Currency code for the currency the price is valued in.
733
- * @type {string}
734
- * @memberof CreateProductVariantRetailPrice
735
- */
736
- 'currencyCode': CreateProductVariantRetailPriceCurrencyCodeEnum;
737
- }
738
-
739
- export const CreateProductVariantRetailPriceCurrencyCodeEnum = {
740
- Gbp: 'GBP'
741
- } as const;
742
-
743
- export type CreateProductVariantRetailPriceCurrencyCodeEnum = typeof CreateProductVariantRetailPriceCurrencyCodeEnum[keyof typeof CreateProductVariantRetailPriceCurrencyCodeEnum];
744
-
745
- /**
746
- * Variant discounted price including tax.
747
- * @export
748
- * @interface CreateProductVariantSalePrice
749
- */
750
- export interface CreateProductVariantSalePrice {
751
- /**
752
- * Sale price including tax in the specified currency.
753
- * @type {number}
754
- * @memberof CreateProductVariantSalePrice
755
- */
756
- 'amount': number;
757
- /**
758
- * Currency code for the currency the sale price is valued in.
759
- * @type {string}
760
- * @memberof CreateProductVariantSalePrice
761
- */
762
- 'currencyCode': CreateProductVariantSalePriceCurrencyCodeEnum;
763
- }
764
-
765
- export const CreateProductVariantSalePriceCurrencyCodeEnum = {
766
- Gbp: 'GBP'
767
- } as const;
768
-
769
- export type CreateProductVariantSalePriceCurrencyCodeEnum = typeof CreateProductVariantSalePriceCurrencyCodeEnum[keyof typeof CreateProductVariantSalePriceCurrencyCodeEnum];
770
-
771
698
  /**
772
699
  * Image description
773
700
  * @export
@@ -1410,6 +1337,208 @@ export interface UpdateProductRequest {
1410
1337
  */
1411
1338
  'metafields'?: Array<MetaField>;
1412
1339
  }
1340
+ /**
1341
+ *
1342
+ * @export
1343
+ * @interface UpdateProductsRequest
1344
+ */
1345
+ export interface UpdateProductsRequest {
1346
+ /**
1347
+ *
1348
+ * @type {Array<UpdateProductsRequestProductsInner>}
1349
+ * @memberof UpdateProductsRequest
1350
+ */
1351
+ 'products'?: Array<UpdateProductsRequestProductsInner>;
1352
+ }
1353
+ /**
1354
+ *
1355
+ * @export
1356
+ * @interface UpdateProductsRequestProductsInner
1357
+ */
1358
+ export interface UpdateProductsRequestProductsInner {
1359
+ /**
1360
+ * Unique object identifier
1361
+ * @type {string}
1362
+ * @memberof UpdateProductsRequestProductsInner
1363
+ */
1364
+ 'id': string;
1365
+ /**
1366
+ * Product title
1367
+ * @type {string}
1368
+ * @memberof UpdateProductsRequestProductsInner
1369
+ */
1370
+ 'title'?: string;
1371
+ /**
1372
+ * Product description
1373
+ * @type {string}
1374
+ * @memberof UpdateProductsRequestProductsInner
1375
+ */
1376
+ 'description'?: string;
1377
+ /**
1378
+ * Whether the product is enabled.
1379
+ * @type {boolean}
1380
+ * @memberof UpdateProductsRequestProductsInner
1381
+ */
1382
+ 'enabled'?: boolean;
1383
+ /**
1384
+ *
1385
+ * @type {CreateProductRequestSeoMetadata}
1386
+ * @memberof UpdateProductsRequestProductsInner
1387
+ */
1388
+ 'seoMetadata'?: CreateProductRequestSeoMetadata;
1389
+ /**
1390
+ * The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration
1391
+ * @type {string}
1392
+ * @memberof UpdateProductsRequestProductsInner
1393
+ */
1394
+ 'targetSearchPhrase'?: string;
1395
+ /**
1396
+ * Synonyms for the target search phrase. **Note:** This field requires the website integration
1397
+ * @type {Array<string>}
1398
+ * @memberof UpdateProductsRequestProductsInner
1399
+ */
1400
+ 'targetSearchPhraseSynonyms'?: Array<string>;
1401
+ /**
1402
+ * Additional product tags used for searching and filtering.
1403
+ * @type {Array<string>}
1404
+ * @memberof UpdateProductsRequestProductsInner
1405
+ */
1406
+ 'tags'?: Array<string>;
1407
+ /**
1408
+ * List of variants to update.
1409
+ * @type {Array<UpdateProductsRequestProductsInnerVariantsInner>}
1410
+ * @memberof UpdateProductsRequestProductsInner
1411
+ */
1412
+ 'variants'?: Array<UpdateProductsRequestProductsInnerVariantsInner>;
1413
+ /**
1414
+ * Whether the product should be included in data feeds that can be provided to Google, Meta etc for advertising.
1415
+ * @type {boolean}
1416
+ * @memberof UpdateProductsRequestProductsInner
1417
+ */
1418
+ 'includeInDataFeeds'?: boolean;
1419
+ /**
1420
+ * For use with the Shopify integration. Use this to provide a Shopify product ID to link to an existing Shopify product rather than creating a new one.
1421
+ * @type {number}
1422
+ * @memberof UpdateProductsRequestProductsInner
1423
+ */
1424
+ 'shopifyId'?: number;
1425
+ }
1426
+ /**
1427
+ *
1428
+ * @export
1429
+ * @interface UpdateProductsRequestProductsInnerVariantsInner
1430
+ */
1431
+ export interface UpdateProductsRequestProductsInnerVariantsInner {
1432
+ /**
1433
+ * Attributes associated to a variant such as Colour and Size.
1434
+ * @type {Array<UpdateProductsRequestProductsInnerVariantsInnerAttributesInner>}
1435
+ * @memberof UpdateProductsRequestProductsInnerVariantsInner
1436
+ */
1437
+ 'attributes': Array<UpdateProductsRequestProductsInnerVariantsInnerAttributesInner>;
1438
+ /**
1439
+ *
1440
+ * @type {UpdateProductsRequestProductsInnerVariantsInnerRetailPrice}
1441
+ * @memberof UpdateProductsRequestProductsInnerVariantsInner
1442
+ */
1443
+ 'retailPrice': UpdateProductsRequestProductsInnerVariantsInnerRetailPrice;
1444
+ /**
1445
+ *
1446
+ * @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
1447
+ * @memberof UpdateProductsRequestProductsInnerVariantsInner
1448
+ */
1449
+ 'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
1450
+ /**
1451
+ * The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after it\'s been uploaded it via the Barcodes module.
1452
+ * @type {string}
1453
+ * @memberof UpdateProductsRequestProductsInnerVariantsInner
1454
+ */
1455
+ 'barcode'?: string | null;
1456
+ /**
1457
+ * For use with the Shopify integration. Use this to provide a Shopify variant ID to link to an existing Shopify variant rather than creating a new one.
1458
+ * @type {number}
1459
+ * @memberof UpdateProductsRequestProductsInnerVariantsInner
1460
+ */
1461
+ 'shopifyId'?: number;
1462
+ }
1463
+ /**
1464
+ *
1465
+ * @export
1466
+ * @interface UpdateProductsRequestProductsInnerVariantsInnerAttributesInner
1467
+ */
1468
+ export interface UpdateProductsRequestProductsInnerVariantsInnerAttributesInner {
1469
+ /**
1470
+ * Attribute name
1471
+ * @type {string}
1472
+ * @memberof UpdateProductsRequestProductsInnerVariantsInnerAttributesInner
1473
+ */
1474
+ 'name': UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum;
1475
+ /**
1476
+ * Attribute value
1477
+ * @type {string}
1478
+ * @memberof UpdateProductsRequestProductsInnerVariantsInnerAttributesInner
1479
+ */
1480
+ 'value': string;
1481
+ }
1482
+
1483
+ export const UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = {
1484
+ Size: 'Size',
1485
+ Colour: 'Colour'
1486
+ } as const;
1487
+
1488
+ export type UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = typeof UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum[keyof typeof UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum];
1489
+
1490
+ /**
1491
+ * Variant retail price including tax.
1492
+ * @export
1493
+ * @interface UpdateProductsRequestProductsInnerVariantsInnerRetailPrice
1494
+ */
1495
+ export interface UpdateProductsRequestProductsInnerVariantsInnerRetailPrice {
1496
+ /**
1497
+ * Price including tax in the specified currency.
1498
+ * @type {number}
1499
+ * @memberof UpdateProductsRequestProductsInnerVariantsInnerRetailPrice
1500
+ */
1501
+ 'amount': number;
1502
+ /**
1503
+ * Currency code for the currency the price is valued in.
1504
+ * @type {string}
1505
+ * @memberof UpdateProductsRequestProductsInnerVariantsInnerRetailPrice
1506
+ */
1507
+ 'currencyCode': UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum;
1508
+ }
1509
+
1510
+ export const UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum = {
1511
+ Gbp: 'GBP'
1512
+ } as const;
1513
+
1514
+ export type UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum = typeof UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum[keyof typeof UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum];
1515
+
1516
+ /**
1517
+ * Variant discounted price including tax.
1518
+ * @export
1519
+ * @interface UpdateProductsRequestProductsInnerVariantsInnerSalePrice
1520
+ */
1521
+ export interface UpdateProductsRequestProductsInnerVariantsInnerSalePrice {
1522
+ /**
1523
+ * Sale price including tax in the specified currency.
1524
+ * @type {number}
1525
+ * @memberof UpdateProductsRequestProductsInnerVariantsInnerSalePrice
1526
+ */
1527
+ 'amount': number;
1528
+ /**
1529
+ * Currency code for the currency the sale price is valued in.
1530
+ * @type {string}
1531
+ * @memberof UpdateProductsRequestProductsInnerVariantsInnerSalePrice
1532
+ */
1533
+ 'currencyCode': UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum;
1534
+ }
1535
+
1536
+ export const UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = {
1537
+ Gbp: 'GBP'
1538
+ } as const;
1539
+
1540
+ export type UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = typeof UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum[keyof typeof UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum];
1541
+
1413
1542
  /**
1414
1543
  *
1415
1544
  * @export
@@ -1507,10 +1636,17 @@ export interface Variant {
1507
1636
  */
1508
1637
  'applications'?: Array<Application>;
1509
1638
  /**
1510
- * Global Trade Item Number
1639
+ * The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after it\'s been uploaded it via the Barcodes module.
1511
1640
  * @type {string}
1512
1641
  * @memberof Variant
1513
1642
  */
1643
+ 'barcode'?: string | null;
1644
+ /**
1645
+ * Deprecated. Please use `barcode` instead.
1646
+ * @type {string}
1647
+ * @memberof Variant
1648
+ * @deprecated
1649
+ */
1514
1650
  'gtin'?: string | null;
1515
1651
  /**
1516
1652
  * For use with the Shopify integration. The Shopify variant ID that this variant is linked to.
@@ -2542,6 +2678,56 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
2542
2678
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2543
2679
  localVarRequestOptions.data = serializeDataIfNeeded(updateProductRequest, localVarRequestOptions, configuration)
2544
2680
 
2681
+ return {
2682
+ url: toPathString(localVarUrlObj),
2683
+ options: localVarRequestOptions,
2684
+ };
2685
+ },
2686
+ /**
2687
+ * Updates catalog products for the given project.
2688
+ * @summary Update products
2689
+ * @param {string} project What project it is
2690
+ * @param {UpdateProductsRequest} updateProductsRequest Update products in bulk.
2691
+ * @param {*} [options] Override http request option.
2692
+ * @throws {RequiredError}
2693
+ */
2694
+ updateProducts: async (project: string, updateProductsRequest: UpdateProductsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2695
+ // verify required parameter 'project' is not null or undefined
2696
+ assertParamExists('updateProducts', 'project', project)
2697
+ // verify required parameter 'updateProductsRequest' is not null or undefined
2698
+ assertParamExists('updateProducts', 'updateProductsRequest', updateProductsRequest)
2699
+ const localVarPath = `/v1/catalog/products`;
2700
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2701
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2702
+ let baseOptions;
2703
+ if (configuration) {
2704
+ baseOptions = configuration.baseOptions;
2705
+ }
2706
+
2707
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
2708
+ const localVarHeaderParameter = {} as any;
2709
+ const localVarQueryParameter = {} as any;
2710
+
2711
+ // authentication session-oauth required
2712
+ // oauth required
2713
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2714
+
2715
+ // authentication api-key required
2716
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2717
+
2718
+ if (project !== undefined) {
2719
+ localVarQueryParameter['project'] = project;
2720
+ }
2721
+
2722
+
2723
+
2724
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2725
+
2726
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2727
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2728
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2729
+ localVarRequestOptions.data = serializeDataIfNeeded(updateProductsRequest, localVarRequestOptions, configuration)
2730
+
2545
2731
  return {
2546
2732
  url: toPathString(localVarUrlObj),
2547
2733
  options: localVarRequestOptions,
@@ -2647,6 +2833,20 @@ export const ProductsApiFp = function(configuration?: Configuration) {
2647
2833
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.updateProduct']?.[localVarOperationServerIndex]?.url;
2648
2834
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2649
2835
  },
2836
+ /**
2837
+ * Updates catalog products for the given project.
2838
+ * @summary Update products
2839
+ * @param {string} project What project it is
2840
+ * @param {UpdateProductsRequest} updateProductsRequest Update products in bulk.
2841
+ * @param {*} [options] Override http request option.
2842
+ * @throws {RequiredError}
2843
+ */
2844
+ async updateProducts(project: string, updateProductsRequest: UpdateProductsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>> {
2845
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateProducts(project, updateProductsRequest, options);
2846
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2847
+ const localVarOperationServerBasePath = operationServerMap['ProductsApi.updateProducts']?.[localVarOperationServerIndex]?.url;
2848
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2849
+ },
2650
2850
  }
2651
2851
  };
2652
2852
 
@@ -2717,6 +2917,16 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
2717
2917
  updateProduct(requestParameters: ProductsApiUpdateProductRequest, options?: RawAxiosRequestConfig): AxiosPromise<Product> {
2718
2918
  return localVarFp.updateProduct(requestParameters.project, requestParameters.productId, requestParameters.updateProductRequest, options).then((request) => request(axios, basePath));
2719
2919
  },
2920
+ /**
2921
+ * Updates catalog products for the given project.
2922
+ * @summary Update products
2923
+ * @param {ProductsApiUpdateProductsRequest} requestParameters Request parameters.
2924
+ * @param {*} [options] Override http request option.
2925
+ * @throws {RequiredError}
2926
+ */
2927
+ updateProducts(requestParameters: ProductsApiUpdateProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductsResponse> {
2928
+ return localVarFp.updateProducts(requestParameters.project, requestParameters.updateProductsRequest, options).then((request) => request(axios, basePath));
2929
+ },
2720
2930
  };
2721
2931
  };
2722
2932
 
@@ -2888,6 +3098,27 @@ export interface ProductsApiUpdateProductRequest {
2888
3098
  readonly updateProductRequest?: UpdateProductRequest
2889
3099
  }
2890
3100
 
3101
+ /**
3102
+ * Request parameters for updateProducts operation in ProductsApi.
3103
+ * @export
3104
+ * @interface ProductsApiUpdateProductsRequest
3105
+ */
3106
+ export interface ProductsApiUpdateProductsRequest {
3107
+ /**
3108
+ * What project it is
3109
+ * @type {string}
3110
+ * @memberof ProductsApiUpdateProducts
3111
+ */
3112
+ readonly project: string
3113
+
3114
+ /**
3115
+ * Update products in bulk.
3116
+ * @type {UpdateProductsRequest}
3117
+ * @memberof ProductsApiUpdateProducts
3118
+ */
3119
+ readonly updateProductsRequest: UpdateProductsRequest
3120
+ }
3121
+
2891
3122
  /**
2892
3123
  * ProductsApi - object-oriented interface
2893
3124
  * @export
@@ -2966,6 +3197,18 @@ export class ProductsApi extends BaseAPI {
2966
3197
  public updateProduct(requestParameters: ProductsApiUpdateProductRequest, options?: RawAxiosRequestConfig) {
2967
3198
  return ProductsApiFp(this.configuration).updateProduct(requestParameters.project, requestParameters.productId, requestParameters.updateProductRequest, options).then((request) => request(this.axios, this.basePath));
2968
3199
  }
3200
+
3201
+ /**
3202
+ * Updates catalog products for the given project.
3203
+ * @summary Update products
3204
+ * @param {ProductsApiUpdateProductsRequest} requestParameters Request parameters.
3205
+ * @param {*} [options] Override http request option.
3206
+ * @throws {RequiredError}
3207
+ * @memberof ProductsApi
3208
+ */
3209
+ public updateProducts(requestParameters: ProductsApiUpdateProductsRequest, options?: RawAxiosRequestConfig) {
3210
+ return ProductsApiFp(this.configuration).updateProducts(requestParameters.project, requestParameters.updateProductsRequest, options).then((request) => request(this.axios, this.basePath));
3211
+ }
2969
3212
  }
2970
3213
 
2971
3214
 
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.35.0
7
+ * The version of the OpenAPI document: 1.37.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.35.0
7
+ * The version of the OpenAPI document: 1.37.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.35.0
7
+ * The version of the OpenAPI document: 1.37.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -92,7 +92,7 @@ export class Configuration {
92
92
  this.baseOptions = {
93
93
  headers: {
94
94
  ...param.baseOptions?.headers,
95
- 'User-Agent': "OpenAPI-Generator/1.35.0/typescript-axios"
95
+ 'User-Agent': "OpenAPI-Generator/1.37.0/typescript-axios"
96
96
  },
97
97
  ...param.baseOptions
98
98
  };