@teemill/product-catalog 1.72.2 → 1.73.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.72.2
1
+ ## @teemill/product-catalog@1.73.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.72.2 --save
39
+ npm install @teemill/product-catalog@1.73.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -132,6 +132,7 @@ Class | Method | HTTP request | Description
132
132
  - [Product](docs/Product.md)
133
133
  - [ProductAdditionalFilesInner](docs/ProductAdditionalFilesInner.md)
134
134
  - [ProductApplicationSetsInner](docs/ProductApplicationSetsInner.md)
135
+ - [ProductBundleItemsInner](docs/ProductBundleItemsInner.md)
135
136
  - [ProductWarehouseProduct](docs/ProductWarehouseProduct.md)
136
137
  - [ProductsResponse](docs/ProductsResponse.md)
137
138
  - [SEOMetadata](docs/SEOMetadata.md)
@@ -149,6 +150,9 @@ Class | Method | HTTP request | Description
149
150
  - [UpdateApplicationSetRequestRecordsInner](docs/UpdateApplicationSetRequestRecordsInner.md)
150
151
  - [UpdateApplicationSetRequestRecordsInnerAttributesInner](docs/UpdateApplicationSetRequestRecordsInnerAttributesInner.md)
151
152
  - [UpdateProductRequest](docs/UpdateProductRequest.md)
153
+ - [UpdateProductRequestBundleItemsInner](docs/UpdateProductRequestBundleItemsInner.md)
154
+ - [UpdateProductRequestBundleItemsInnerConfig](docs/UpdateProductRequestBundleItemsInnerConfig.md)
155
+ - [UpdateProductRequestBundleItemsInnerConfigValidOptions](docs/UpdateProductRequestBundleItemsInnerConfigValidOptions.md)
152
156
  - [UpdateProductRequestIntegrationConnectionsInner](docs/UpdateProductRequestIntegrationConnectionsInner.md)
153
157
  - [UpdateProductsRequest](docs/UpdateProductsRequest.md)
154
158
  - [UpdateProductsRequestProductsInner](docs/UpdateProductsRequestProductsInner.md)
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.72.2
7
+ * The version of the OpenAPI document: 1.73.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -605,7 +605,7 @@ export interface CreateBundleProduct {
605
605
  /**
606
606
  * A list of product uuids to include in this bundle
607
607
  */
608
- 'bundleItems': Array<string>;
608
+ 'bundleItems': Array<UpdateProductRequestBundleItemsInner>;
609
609
  'retailPrice'?: Price;
610
610
  'salePrice'?: SalePrice | null;
611
611
  'price'?: Price;
@@ -927,7 +927,7 @@ export interface Product {
927
927
  /**
928
928
  * Products in the bundle.
929
929
  */
930
- 'bundleItems'?: Array<Product>;
930
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
931
931
  'retailPrice'?: Price;
932
932
  'salePrice'?: SalePrice | null;
933
933
  /**
@@ -1001,6 +1001,93 @@ export interface ProductApplicationSetsInner {
1001
1001
  */
1002
1002
  'name'?: string;
1003
1003
  }
1004
+ export interface ProductBundleItemsInner {
1005
+ /**
1006
+ * Unique object identifier
1007
+ */
1008
+ 'id'?: string;
1009
+ /**
1010
+ * A reference to the resource location
1011
+ */
1012
+ 'ref'?: string;
1013
+ 'title': string;
1014
+ 'description': string;
1015
+ 'slug'?: string;
1016
+ 'brand'?: string;
1017
+ 'enabled'?: boolean;
1018
+ 'seoMetadata'?: SEOMetadata;
1019
+ 'targetSearchPhraseData'?: TargetSearchPhraseData;
1020
+ 'tags'?: Array<string>;
1021
+ 'internalTags'?: Array<string>;
1022
+ 'createdAt'?: string;
1023
+ 'updatedAt'?: string;
1024
+ 'publishedAt'?: string;
1025
+ /**
1026
+ * Images
1027
+ */
1028
+ 'images'?: Array<Image>;
1029
+ /**
1030
+ * Videos
1031
+ */
1032
+ 'videos'?: Array<Video>;
1033
+ /**
1034
+ * Variants
1035
+ */
1036
+ 'variants'?: Array<Variant>;
1037
+ /**
1038
+ * Products in the bundle.
1039
+ */
1040
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
1041
+ 'retailPrice'?: Price;
1042
+ 'salePrice'?: SalePrice | null;
1043
+ /**
1044
+ * Additional files attached to the product.
1045
+ */
1046
+ 'additionalFiles'?: Array<ProductAdditionalFilesInner>;
1047
+ /**
1048
+ * List of application sets associated with this product
1049
+ */
1050
+ 'applicationSets'?: Array<ProductApplicationSetsInner>;
1051
+ /**
1052
+ * The average review rating. This field is only present if included in the fields query parameter
1053
+ */
1054
+ 'reviewScore'?: number | null;
1055
+ /**
1056
+ * A count of reviews. This field is only present if included in the fields query parameter
1057
+ */
1058
+ 'reviewCount'?: number;
1059
+ 'sku'?: string;
1060
+ /**
1061
+ * A count of sales. This field is only present if included in the fields query parameter
1062
+ */
1063
+ 'sales'?: number;
1064
+ 'salesStart'?: string;
1065
+ 'salesEnd'?: string;
1066
+ 'includeInDataFeeds'?: boolean;
1067
+ /**
1068
+ * For use with the Shopify integration. The Shopify product ID that this product is linked to.
1069
+ */
1070
+ 'shopifyId'?: number | null;
1071
+ 'warehouseProduct'?: ProductWarehouseProduct;
1072
+ /**
1073
+ * Key/value pairs that can be used to store additional information about the product
1074
+ */
1075
+ 'metafields'?: Array<MetaField>;
1076
+ /**
1077
+ * a JSON string representing the personalization template for the product
1078
+ */
1079
+ 'personalizationTemplate'?: string;
1080
+ /**
1081
+ * History of AI optimisations performed on the product
1082
+ */
1083
+ 'optimisationHistory'?: Array<OptimisationHistoryItem>;
1084
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1085
+ /**
1086
+ * Whether to show a sale badge on the product
1087
+ */
1088
+ 'showSaleBadge'?: boolean;
1089
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1090
+ }
1004
1091
  export interface ProductWarehouseProduct {
1005
1092
  /**
1006
1093
  * Unique object identifier
@@ -1288,9 +1375,9 @@ export interface UpdateProductRequest {
1288
1375
  */
1289
1376
  'variants'?: Array<CreateProductVariant>;
1290
1377
  /**
1291
- * A list of product uuids to be in this bundle. Only valid if the product is already a bundle.
1378
+ * A list of products to be in this bundle. Only valid if the product is already a bundle.
1292
1379
  */
1293
- 'bundleItems'?: Array<string>;
1380
+ 'bundleItems'?: Array<UpdateProductRequestBundleItemsInner>;
1294
1381
  'retailPrice'?: Price;
1295
1382
  'salePrice'?: SalePrice | null;
1296
1383
  /**
@@ -1334,6 +1421,23 @@ export interface UpdateProductRequest {
1334
1421
  */
1335
1422
  'showSaleBadge'?: boolean;
1336
1423
  }
1424
+ export interface UpdateProductRequestBundleItemsInner {
1425
+ /**
1426
+ * Unique object identifier
1427
+ */
1428
+ 'id'?: string;
1429
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1430
+ }
1431
+ export interface UpdateProductRequestBundleItemsInnerConfig {
1432
+ 'validOptions'?: UpdateProductRequestBundleItemsInnerConfigValidOptions;
1433
+ }
1434
+ /**
1435
+ * The valid options for the product in the bundle. This can be used to filter options that are available on the product but shouldn\'t be available when sold as part of a bundle. If none are provided, all options are considered to be valid.
1436
+ */
1437
+ export interface UpdateProductRequestBundleItemsInnerConfigValidOptions {
1438
+ 'name': string;
1439
+ 'values': Array<string>;
1440
+ }
1337
1441
  export interface UpdateProductRequestIntegrationConnectionsInner {
1338
1442
  /**
1339
1443
  * Code identifying the integration
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.72.2
7
+ * The version of the OpenAPI document: 1.73.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.72.2
7
+ * The version of the OpenAPI document: 1.73.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.72.2
7
+ * The version of the OpenAPI document: 1.73.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.72.2
5
+ * The version of the OpenAPI document: 1.73.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -572,7 +572,7 @@ export interface CreateBundleProduct {
572
572
  /**
573
573
  * A list of product uuids to include in this bundle
574
574
  */
575
- 'bundleItems': Array<string>;
575
+ 'bundleItems': Array<UpdateProductRequestBundleItemsInner>;
576
576
  'retailPrice'?: Price;
577
577
  'salePrice'?: SalePrice | null;
578
578
  'price'?: Price;
@@ -890,7 +890,7 @@ export interface Product {
890
890
  /**
891
891
  * Products in the bundle.
892
892
  */
893
- 'bundleItems'?: Array<Product>;
893
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
894
894
  'retailPrice'?: Price;
895
895
  'salePrice'?: SalePrice | null;
896
896
  /**
@@ -964,6 +964,93 @@ export interface ProductApplicationSetsInner {
964
964
  */
965
965
  'name'?: string;
966
966
  }
967
+ export interface ProductBundleItemsInner {
968
+ /**
969
+ * Unique object identifier
970
+ */
971
+ 'id'?: string;
972
+ /**
973
+ * A reference to the resource location
974
+ */
975
+ 'ref'?: string;
976
+ 'title': string;
977
+ 'description': string;
978
+ 'slug'?: string;
979
+ 'brand'?: string;
980
+ 'enabled'?: boolean;
981
+ 'seoMetadata'?: SEOMetadata;
982
+ 'targetSearchPhraseData'?: TargetSearchPhraseData;
983
+ 'tags'?: Array<string>;
984
+ 'internalTags'?: Array<string>;
985
+ 'createdAt'?: string;
986
+ 'updatedAt'?: string;
987
+ 'publishedAt'?: string;
988
+ /**
989
+ * Images
990
+ */
991
+ 'images'?: Array<Image>;
992
+ /**
993
+ * Videos
994
+ */
995
+ 'videos'?: Array<Video>;
996
+ /**
997
+ * Variants
998
+ */
999
+ 'variants'?: Array<Variant>;
1000
+ /**
1001
+ * Products in the bundle.
1002
+ */
1003
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
1004
+ 'retailPrice'?: Price;
1005
+ 'salePrice'?: SalePrice | null;
1006
+ /**
1007
+ * Additional files attached to the product.
1008
+ */
1009
+ 'additionalFiles'?: Array<ProductAdditionalFilesInner>;
1010
+ /**
1011
+ * List of application sets associated with this product
1012
+ */
1013
+ 'applicationSets'?: Array<ProductApplicationSetsInner>;
1014
+ /**
1015
+ * The average review rating. This field is only present if included in the fields query parameter
1016
+ */
1017
+ 'reviewScore'?: number | null;
1018
+ /**
1019
+ * A count of reviews. This field is only present if included in the fields query parameter
1020
+ */
1021
+ 'reviewCount'?: number;
1022
+ 'sku'?: string;
1023
+ /**
1024
+ * A count of sales. This field is only present if included in the fields query parameter
1025
+ */
1026
+ 'sales'?: number;
1027
+ 'salesStart'?: string;
1028
+ 'salesEnd'?: string;
1029
+ 'includeInDataFeeds'?: boolean;
1030
+ /**
1031
+ * For use with the Shopify integration. The Shopify product ID that this product is linked to.
1032
+ */
1033
+ 'shopifyId'?: number | null;
1034
+ 'warehouseProduct'?: ProductWarehouseProduct;
1035
+ /**
1036
+ * Key/value pairs that can be used to store additional information about the product
1037
+ */
1038
+ 'metafields'?: Array<MetaField>;
1039
+ /**
1040
+ * a JSON string representing the personalization template for the product
1041
+ */
1042
+ 'personalizationTemplate'?: string;
1043
+ /**
1044
+ * History of AI optimisations performed on the product
1045
+ */
1046
+ 'optimisationHistory'?: Array<OptimisationHistoryItem>;
1047
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1048
+ /**
1049
+ * Whether to show a sale badge on the product
1050
+ */
1051
+ 'showSaleBadge'?: boolean;
1052
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1053
+ }
967
1054
  export interface ProductWarehouseProduct {
968
1055
  /**
969
1056
  * Unique object identifier
@@ -1241,9 +1328,9 @@ export interface UpdateProductRequest {
1241
1328
  */
1242
1329
  'variants'?: Array<CreateProductVariant>;
1243
1330
  /**
1244
- * A list of product uuids to be in this bundle. Only valid if the product is already a bundle.
1331
+ * A list of products to be in this bundle. Only valid if the product is already a bundle.
1245
1332
  */
1246
- 'bundleItems'?: Array<string>;
1333
+ 'bundleItems'?: Array<UpdateProductRequestBundleItemsInner>;
1247
1334
  'retailPrice'?: Price;
1248
1335
  'salePrice'?: SalePrice | null;
1249
1336
  /**
@@ -1287,6 +1374,23 @@ export interface UpdateProductRequest {
1287
1374
  */
1288
1375
  'showSaleBadge'?: boolean;
1289
1376
  }
1377
+ export interface UpdateProductRequestBundleItemsInner {
1378
+ /**
1379
+ * Unique object identifier
1380
+ */
1381
+ 'id'?: string;
1382
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1383
+ }
1384
+ export interface UpdateProductRequestBundleItemsInnerConfig {
1385
+ 'validOptions'?: UpdateProductRequestBundleItemsInnerConfigValidOptions;
1386
+ }
1387
+ /**
1388
+ * The valid options for the product in the bundle. This can be used to filter options that are available on the product but shouldn\'t be available when sold as part of a bundle. If none are provided, all options are considered to be valid.
1389
+ */
1390
+ export interface UpdateProductRequestBundleItemsInnerConfigValidOptions {
1391
+ 'name': string;
1392
+ 'values': Array<string>;
1393
+ }
1290
1394
  export interface UpdateProductRequestIntegrationConnectionsInner {
1291
1395
  /**
1292
1396
  * Code identifying the integration
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.72.2
8
+ * The version of the OpenAPI document: 1.73.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.72.2
5
+ * The version of the OpenAPI document: 1.73.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.72.2
8
+ * The version of the OpenAPI document: 1.73.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.72.2
5
+ * The version of the OpenAPI document: 1.73.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.72.2
8
+ * The version of the OpenAPI document: 1.73.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.72.2
5
+ * The version of the OpenAPI document: 1.73.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.72.2
8
+ * The version of the OpenAPI document: 1.73.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.72.2
5
+ * The version of the OpenAPI document: 1.73.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -572,7 +572,7 @@ export interface CreateBundleProduct {
572
572
  /**
573
573
  * A list of product uuids to include in this bundle
574
574
  */
575
- 'bundleItems': Array<string>;
575
+ 'bundleItems': Array<UpdateProductRequestBundleItemsInner>;
576
576
  'retailPrice'?: Price;
577
577
  'salePrice'?: SalePrice | null;
578
578
  'price'?: Price;
@@ -890,7 +890,7 @@ export interface Product {
890
890
  /**
891
891
  * Products in the bundle.
892
892
  */
893
- 'bundleItems'?: Array<Product>;
893
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
894
894
  'retailPrice'?: Price;
895
895
  'salePrice'?: SalePrice | null;
896
896
  /**
@@ -964,6 +964,93 @@ export interface ProductApplicationSetsInner {
964
964
  */
965
965
  'name'?: string;
966
966
  }
967
+ export interface ProductBundleItemsInner {
968
+ /**
969
+ * Unique object identifier
970
+ */
971
+ 'id'?: string;
972
+ /**
973
+ * A reference to the resource location
974
+ */
975
+ 'ref'?: string;
976
+ 'title': string;
977
+ 'description': string;
978
+ 'slug'?: string;
979
+ 'brand'?: string;
980
+ 'enabled'?: boolean;
981
+ 'seoMetadata'?: SEOMetadata;
982
+ 'targetSearchPhraseData'?: TargetSearchPhraseData;
983
+ 'tags'?: Array<string>;
984
+ 'internalTags'?: Array<string>;
985
+ 'createdAt'?: string;
986
+ 'updatedAt'?: string;
987
+ 'publishedAt'?: string;
988
+ /**
989
+ * Images
990
+ */
991
+ 'images'?: Array<Image>;
992
+ /**
993
+ * Videos
994
+ */
995
+ 'videos'?: Array<Video>;
996
+ /**
997
+ * Variants
998
+ */
999
+ 'variants'?: Array<Variant>;
1000
+ /**
1001
+ * Products in the bundle.
1002
+ */
1003
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
1004
+ 'retailPrice'?: Price;
1005
+ 'salePrice'?: SalePrice | null;
1006
+ /**
1007
+ * Additional files attached to the product.
1008
+ */
1009
+ 'additionalFiles'?: Array<ProductAdditionalFilesInner>;
1010
+ /**
1011
+ * List of application sets associated with this product
1012
+ */
1013
+ 'applicationSets'?: Array<ProductApplicationSetsInner>;
1014
+ /**
1015
+ * The average review rating. This field is only present if included in the fields query parameter
1016
+ */
1017
+ 'reviewScore'?: number | null;
1018
+ /**
1019
+ * A count of reviews. This field is only present if included in the fields query parameter
1020
+ */
1021
+ 'reviewCount'?: number;
1022
+ 'sku'?: string;
1023
+ /**
1024
+ * A count of sales. This field is only present if included in the fields query parameter
1025
+ */
1026
+ 'sales'?: number;
1027
+ 'salesStart'?: string;
1028
+ 'salesEnd'?: string;
1029
+ 'includeInDataFeeds'?: boolean;
1030
+ /**
1031
+ * For use with the Shopify integration. The Shopify product ID that this product is linked to.
1032
+ */
1033
+ 'shopifyId'?: number | null;
1034
+ 'warehouseProduct'?: ProductWarehouseProduct;
1035
+ /**
1036
+ * Key/value pairs that can be used to store additional information about the product
1037
+ */
1038
+ 'metafields'?: Array<MetaField>;
1039
+ /**
1040
+ * a JSON string representing the personalization template for the product
1041
+ */
1042
+ 'personalizationTemplate'?: string;
1043
+ /**
1044
+ * History of AI optimisations performed on the product
1045
+ */
1046
+ 'optimisationHistory'?: Array<OptimisationHistoryItem>;
1047
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1048
+ /**
1049
+ * Whether to show a sale badge on the product
1050
+ */
1051
+ 'showSaleBadge'?: boolean;
1052
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1053
+ }
967
1054
  export interface ProductWarehouseProduct {
968
1055
  /**
969
1056
  * Unique object identifier
@@ -1241,9 +1328,9 @@ export interface UpdateProductRequest {
1241
1328
  */
1242
1329
  'variants'?: Array<CreateProductVariant>;
1243
1330
  /**
1244
- * A list of product uuids to be in this bundle. Only valid if the product is already a bundle.
1331
+ * A list of products to be in this bundle. Only valid if the product is already a bundle.
1245
1332
  */
1246
- 'bundleItems'?: Array<string>;
1333
+ 'bundleItems'?: Array<UpdateProductRequestBundleItemsInner>;
1247
1334
  'retailPrice'?: Price;
1248
1335
  'salePrice'?: SalePrice | null;
1249
1336
  /**
@@ -1287,6 +1374,23 @@ export interface UpdateProductRequest {
1287
1374
  */
1288
1375
  'showSaleBadge'?: boolean;
1289
1376
  }
1377
+ export interface UpdateProductRequestBundleItemsInner {
1378
+ /**
1379
+ * Unique object identifier
1380
+ */
1381
+ 'id'?: string;
1382
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1383
+ }
1384
+ export interface UpdateProductRequestBundleItemsInnerConfig {
1385
+ 'validOptions'?: UpdateProductRequestBundleItemsInnerConfigValidOptions;
1386
+ }
1387
+ /**
1388
+ * The valid options for the product in the bundle. This can be used to filter options that are available on the product but shouldn\'t be available when sold as part of a bundle. If none are provided, all options are considered to be valid.
1389
+ */
1390
+ export interface UpdateProductRequestBundleItemsInnerConfigValidOptions {
1391
+ 'name': string;
1392
+ 'values': Array<string>;
1393
+ }
1290
1394
  export interface UpdateProductRequestIntegrationConnectionsInner {
1291
1395
  /**
1292
1396
  * Code identifying the integration
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.72.2
7
+ * The version of the OpenAPI document: 1.73.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.72.2
5
+ * The version of the OpenAPI document: 1.73.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.72.2
7
+ * The version of the OpenAPI document: 1.73.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.72.2
5
+ * The version of the OpenAPI document: 1.73.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.72.2
7
+ * The version of the OpenAPI document: 1.73.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.72.2
5
+ * The version of the OpenAPI document: 1.73.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.72.2
7
+ * The version of the OpenAPI document: 1.73.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.72.2
5
+ * The version of the OpenAPI document: 1.73.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.72.2
7
+ * The version of the OpenAPI document: 1.73.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.72.2
5
+ * The version of the OpenAPI document: 1.73.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.72.2
8
+ * The version of the OpenAPI document: 1.73.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
19
19
  **additionalFiles** | [**Array&lt;CreateProductAdditionalFilesInner&gt;**](CreateProductAdditionalFilesInner.md) | Additional files to attach to the product. For example, original design files e.g. PSD, AI, etc. | [optional] [default to undefined]
20
20
  **shopifyId** | **number** | 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. | [optional] [default to undefined]
21
21
  **metafields** | [**Array&lt;MetaField&gt;**](MetaField.md) | Key/value pairs that can be used to store additional information about the product | [optional] [default to undefined]
22
- **bundleItems** | **Array&lt;string&gt;** | A list of product uuids to include in this bundle | [default to undefined]
22
+ **bundleItems** | [**Array&lt;UpdateProductRequestBundleItemsInner&gt;**](UpdateProductRequestBundleItemsInner.md) | A list of product uuids to include in this bundle | [default to undefined]
23
23
  **retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
24
24
  **salePrice** | [**SalePrice**](SalePrice.md) | | [optional] [default to undefined]
25
25
  **price** | [**Price**](Price.md) | | [optional] [readonly] [default to undefined]
@@ -25,7 +25,7 @@ Name | Type | Description | Notes
25
25
  **shopifyId** | **number** | 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. | [optional] [default to undefined]
26
26
  **metafields** | [**Array&lt;MetaField&gt;**](MetaField.md) | Key/value pairs that can be used to store additional information about the product | [optional] [default to undefined]
27
27
  **personalizationTemplate** | **string** | A JSON object that defines the personalization template for the product. | [optional] [default to undefined]
28
- **bundleItems** | **Array&lt;string&gt;** | A list of product uuids to include in this bundle | [default to undefined]
28
+ **bundleItems** | [**Array&lt;UpdateProductRequestBundleItemsInner&gt;**](UpdateProductRequestBundleItemsInner.md) | A list of product uuids to include in this bundle | [default to undefined]
29
29
  **retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
30
30
  **salePrice** | [**SalePrice**](SalePrice.md) | | [optional] [default to undefined]
31
31
  **price** | [**Price**](Price.md) | | [optional] [readonly] [default to undefined]
package/docs/Product.md CHANGED
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
22
22
  **images** | [**Array&lt;Image&gt;**](Image.md) | Images | [optional] [default to undefined]
23
23
  **videos** | [**Array&lt;Video&gt;**](Video.md) | Videos | [optional] [default to undefined]
24
24
  **variants** | [**Array&lt;Variant&gt;**](Variant.md) | Variants | [optional] [default to undefined]
25
- **bundleItems** | [**Array&lt;Product&gt;**](Product.md) | Products in the bundle. | [optional] [default to undefined]
25
+ **bundleItems** | [**Array&lt;ProductBundleItemsInner&gt;**](ProductBundleItemsInner.md) | Products in the bundle. | [optional] [default to undefined]
26
26
  **retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
27
27
  **salePrice** | [**SalePrice**](SalePrice.md) | | [optional] [default to undefined]
28
28
  **additionalFiles** | [**Array&lt;ProductAdditionalFilesInner&gt;**](ProductAdditionalFilesInner.md) | Additional files attached to the product. | [optional] [default to undefined]
@@ -0,0 +1,92 @@
1
+ # ProductBundleItemsInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Unique object identifier | [optional] [default to undefined]
9
+ **ref** | **string** | A reference to the resource location | [optional] [default to undefined]
10
+ **title** | **string** | | [default to undefined]
11
+ **description** | **string** | | [default to undefined]
12
+ **slug** | **string** | | [optional] [readonly] [default to undefined]
13
+ **brand** | **string** | | [optional] [default to undefined]
14
+ **enabled** | **boolean** | | [optional] [default to undefined]
15
+ **seoMetadata** | [**SEOMetadata**](SEOMetadata.md) | | [optional] [default to undefined]
16
+ **targetSearchPhraseData** | [**TargetSearchPhraseData**](TargetSearchPhraseData.md) | | [optional] [default to undefined]
17
+ **tags** | **Array&lt;string&gt;** | | [optional] [default to undefined]
18
+ **internalTags** | **Array&lt;string&gt;** | | [optional] [default to undefined]
19
+ **createdAt** | **string** | | [optional] [default to undefined]
20
+ **updatedAt** | **string** | | [optional] [default to undefined]
21
+ **publishedAt** | **string** | | [optional] [default to undefined]
22
+ **images** | [**Array&lt;Image&gt;**](Image.md) | Images | [optional] [default to undefined]
23
+ **videos** | [**Array&lt;Video&gt;**](Video.md) | Videos | [optional] [default to undefined]
24
+ **variants** | [**Array&lt;Variant&gt;**](Variant.md) | Variants | [optional] [default to undefined]
25
+ **bundleItems** | [**Array&lt;ProductBundleItemsInner&gt;**](ProductBundleItemsInner.md) | Products in the bundle. | [optional] [default to undefined]
26
+ **retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
27
+ **salePrice** | [**SalePrice**](SalePrice.md) | | [optional] [default to undefined]
28
+ **additionalFiles** | [**Array&lt;ProductAdditionalFilesInner&gt;**](ProductAdditionalFilesInner.md) | Additional files attached to the product. | [optional] [default to undefined]
29
+ **applicationSets** | [**Array&lt;ProductApplicationSetsInner&gt;**](ProductApplicationSetsInner.md) | List of application sets associated with this product | [optional] [default to undefined]
30
+ **reviewScore** | **number** | The average review rating. This field is only present if included in the fields query parameter | [optional] [default to undefined]
31
+ **reviewCount** | **number** | A count of reviews. This field is only present if included in the fields query parameter | [optional] [default to undefined]
32
+ **sku** | **string** | | [optional] [default to undefined]
33
+ **sales** | **number** | A count of sales. This field is only present if included in the fields query parameter | [optional] [default to undefined]
34
+ **salesStart** | **string** | | [optional] [default to undefined]
35
+ **salesEnd** | **string** | | [optional] [default to undefined]
36
+ **includeInDataFeeds** | **boolean** | | [optional] [default to undefined]
37
+ **shopifyId** | **number** | For use with the Shopify integration. The Shopify product ID that this product is linked to. | [optional] [default to undefined]
38
+ **warehouseProduct** | [**ProductWarehouseProduct**](ProductWarehouseProduct.md) | | [optional] [default to undefined]
39
+ **metafields** | [**Array&lt;MetaField&gt;**](MetaField.md) | Key/value pairs that can be used to store additional information about the product | [optional] [default to undefined]
40
+ **personalizationTemplate** | **string** | a JSON string representing the personalization template for the product | [optional] [default to undefined]
41
+ **optimisationHistory** | [**Array&lt;OptimisationHistoryItem&gt;**](OptimisationHistoryItem.md) | History of AI optimisations performed on the product | [optional] [default to undefined]
42
+ **integrationConnections** | [**Array&lt;UpdateProductsRequestProductsInnerIntegrationConnectionsInner&gt;**](UpdateProductsRequestProductsInnerIntegrationConnectionsInner.md) | | [optional] [default to undefined]
43
+ **showSaleBadge** | **boolean** | Whether to show a sale badge on the product | [optional] [default to undefined]
44
+ **config** | [**UpdateProductRequestBundleItemsInnerConfig**](UpdateProductRequestBundleItemsInnerConfig.md) | | [optional] [default to undefined]
45
+
46
+ ## Example
47
+
48
+ ```typescript
49
+ import { ProductBundleItemsInner } from '@teemill/product-catalog';
50
+
51
+ const instance: ProductBundleItemsInner = {
52
+ id,
53
+ ref,
54
+ title,
55
+ description,
56
+ slug,
57
+ brand,
58
+ enabled,
59
+ seoMetadata,
60
+ targetSearchPhraseData,
61
+ tags,
62
+ internalTags,
63
+ createdAt,
64
+ updatedAt,
65
+ publishedAt,
66
+ images,
67
+ videos,
68
+ variants,
69
+ bundleItems,
70
+ retailPrice,
71
+ salePrice,
72
+ additionalFiles,
73
+ applicationSets,
74
+ reviewScore,
75
+ reviewCount,
76
+ sku,
77
+ sales,
78
+ salesStart,
79
+ salesEnd,
80
+ includeInDataFeeds,
81
+ shopifyId,
82
+ warehouseProduct,
83
+ metafields,
84
+ personalizationTemplate,
85
+ optimisationHistory,
86
+ integrationConnections,
87
+ showSaleBadge,
88
+ config,
89
+ };
90
+ ```
91
+
92
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
17
17
  **tags** | **Array&lt;string&gt;** | Additional product tags used for searching and filtering. | [optional] [default to undefined]
18
18
  **internalTags** | **Array&lt;string&gt;** | Additional product tags used for internal searching and filtering. | [optional] [default to undefined]
19
19
  **variants** | [**Array&lt;CreateProductVariant&gt;**](CreateProductVariant.md) | Variants | [optional] [default to undefined]
20
- **bundleItems** | **Array&lt;string&gt;** | A list of product uuids to be in this bundle. Only valid if the product is already a bundle. | [optional] [default to undefined]
20
+ **bundleItems** | [**Array&lt;UpdateProductRequestBundleItemsInner&gt;**](UpdateProductRequestBundleItemsInner.md) | A list of products to be in this bundle. Only valid if the product is already a bundle. | [optional] [default to undefined]
21
21
  **retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
22
22
  **salePrice** | [**SalePrice**](SalePrice.md) | | [optional] [default to undefined]
23
23
  **images** | [**Array&lt;ImageFile&gt;**](ImageFile.md) | Images to attach to the product. For example, photos of models using/wearing the product. | [optional] [default to undefined]
@@ -0,0 +1,22 @@
1
+ # UpdateProductRequestBundleItemsInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Unique object identifier | [optional] [default to undefined]
9
+ **config** | [**UpdateProductRequestBundleItemsInnerConfig**](UpdateProductRequestBundleItemsInnerConfig.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { UpdateProductRequestBundleItemsInner } from '@teemill/product-catalog';
15
+
16
+ const instance: UpdateProductRequestBundleItemsInner = {
17
+ id,
18
+ config,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # UpdateProductRequestBundleItemsInnerConfig
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **validOptions** | [**UpdateProductRequestBundleItemsInnerConfigValidOptions**](UpdateProductRequestBundleItemsInnerConfigValidOptions.md) | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { UpdateProductRequestBundleItemsInnerConfig } from '@teemill/product-catalog';
14
+
15
+ const instance: UpdateProductRequestBundleItemsInnerConfig = {
16
+ validOptions,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # UpdateProductRequestBundleItemsInnerConfigValidOptions
2
+
3
+ The valid options for the product in the bundle. This can be used to filter options that are available on the product but shouldn\'t be available when sold as part of a bundle. If none are provided, all options are considered to be valid.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **name** | **string** | | [default to undefined]
10
+ **values** | **Array&lt;string&gt;** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { UpdateProductRequestBundleItemsInnerConfigValidOptions } from '@teemill/product-catalog';
16
+
17
+ const instance: UpdateProductRequestBundleItemsInnerConfigValidOptions = {
18
+ name,
19
+ values,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
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.72.2
7
+ * The version of the OpenAPI document: 1.73.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.72.2",
3
+ "version": "1.73.0",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {