@teemill/product-catalog 1.75.0 → 1.76.1

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.75.0
1
+ ## @teemill/product-catalog@1.76.1
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.75.0 --save
39
+ npm install @teemill/product-catalog@1.76.1 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -110,6 +110,7 @@ Class | Method | HTTP request | Description
110
110
  - [CreateApplicationSetRequestRecordsInner](docs/CreateApplicationSetRequestRecordsInner.md)
111
111
  - [CreateApplicationSetRequestRecordsInnerAttributesInner](docs/CreateApplicationSetRequestRecordsInnerAttributesInner.md)
112
112
  - [CreateBundleProduct](docs/CreateBundleProduct.md)
113
+ - [CreateBundleProductBundleItemsInner](docs/CreateBundleProductBundleItemsInner.md)
113
114
  - [CreateProduct](docs/CreateProduct.md)
114
115
  - [CreateProductAdditionalFilesInner](docs/CreateProductAdditionalFilesInner.md)
115
116
  - [CreateProductImagesInner](docs/CreateProductImagesInner.md)
@@ -133,6 +134,7 @@ Class | Method | HTTP request | Description
133
134
  - [Product](docs/Product.md)
134
135
  - [ProductAdditionalFilesInner](docs/ProductAdditionalFilesInner.md)
135
136
  - [ProductApplicationSetsInner](docs/ProductApplicationSetsInner.md)
137
+ - [ProductBundleItemsInner](docs/ProductBundleItemsInner.md)
136
138
  - [ProductWarehouseProduct](docs/ProductWarehouseProduct.md)
137
139
  - [ProductsResponse](docs/ProductsResponse.md)
138
140
  - [RequiredPrice](docs/RequiredPrice.md)
@@ -151,6 +153,9 @@ Class | Method | HTTP request | Description
151
153
  - [UpdateApplicationSetRequestRecordsInner](docs/UpdateApplicationSetRequestRecordsInner.md)
152
154
  - [UpdateApplicationSetRequestRecordsInnerAttributesInner](docs/UpdateApplicationSetRequestRecordsInnerAttributesInner.md)
153
155
  - [UpdateProductRequest](docs/UpdateProductRequest.md)
156
+ - [UpdateProductRequestBundleItemsInner](docs/UpdateProductRequestBundleItemsInner.md)
157
+ - [UpdateProductRequestBundleItemsInnerConfig](docs/UpdateProductRequestBundleItemsInnerConfig.md)
158
+ - [UpdateProductRequestBundleItemsInnerConfigValidOptionsInner](docs/UpdateProductRequestBundleItemsInnerConfigValidOptionsInner.md)
154
159
  - [UpdateProductRequestIntegrationConnectionsInner](docs/UpdateProductRequestIntegrationConnectionsInner.md)
155
160
  - [UpdateProductsRequest](docs/UpdateProductsRequest.md)
156
161
  - [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.75.0
7
+ * The version of the OpenAPI document: 1.76.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -605,11 +605,17 @@ 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<CreateBundleProductBundleItemsInner>;
609
609
  'retailPrice'?: Price;
610
610
  'salePrice'?: SalePrice | null;
611
611
  'price'?: Price;
612
612
  }
613
+ export interface CreateBundleProductBundleItemsInner {
614
+ /**
615
+ * Unique object identifier
616
+ */
617
+ 'id'?: string;
618
+ }
613
619
  export interface CreateProduct {
614
620
  /**
615
621
  * Reference to the product in the GFN catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API.
@@ -934,7 +940,7 @@ export interface Product {
934
940
  /**
935
941
  * Products in the bundle.
936
942
  */
937
- 'bundleItems'?: Array<Product>;
943
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
938
944
  'retailPrice'?: Price;
939
945
  'salePrice'?: SalePrice | null;
940
946
  /**
@@ -1008,6 +1014,93 @@ export interface ProductApplicationSetsInner {
1008
1014
  */
1009
1015
  'name'?: string;
1010
1016
  }
1017
+ export interface ProductBundleItemsInner {
1018
+ /**
1019
+ * Unique object identifier
1020
+ */
1021
+ 'id'?: string;
1022
+ /**
1023
+ * A reference to the resource location
1024
+ */
1025
+ 'ref'?: string;
1026
+ 'title': string;
1027
+ 'description': string;
1028
+ 'slug'?: string;
1029
+ 'brand'?: string;
1030
+ 'enabled'?: boolean;
1031
+ 'seoMetadata'?: SEOMetadata;
1032
+ 'targetSearchPhraseData'?: TargetSearchPhraseData;
1033
+ 'tags'?: Array<string>;
1034
+ 'internalTags'?: Array<string>;
1035
+ 'createdAt'?: string;
1036
+ 'updatedAt'?: string;
1037
+ 'publishedAt'?: string;
1038
+ /**
1039
+ * Images
1040
+ */
1041
+ 'images'?: Array<Image>;
1042
+ /**
1043
+ * Videos
1044
+ */
1045
+ 'videos'?: Array<Video>;
1046
+ /**
1047
+ * Variants
1048
+ */
1049
+ 'variants'?: Array<Variant>;
1050
+ /**
1051
+ * Products in the bundle.
1052
+ */
1053
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
1054
+ 'retailPrice'?: Price;
1055
+ 'salePrice'?: SalePrice | null;
1056
+ /**
1057
+ * Additional files attached to the product.
1058
+ */
1059
+ 'additionalFiles'?: Array<ProductAdditionalFilesInner>;
1060
+ /**
1061
+ * List of application sets associated with this product
1062
+ */
1063
+ 'applicationSets'?: Array<ProductApplicationSetsInner>;
1064
+ /**
1065
+ * The average review rating. This field is only present if included in the fields query parameter
1066
+ */
1067
+ 'reviewScore'?: number | null;
1068
+ /**
1069
+ * A count of reviews. This field is only present if included in the fields query parameter
1070
+ */
1071
+ 'reviewCount'?: number;
1072
+ 'sku'?: string;
1073
+ /**
1074
+ * A count of sales. This field is only present if included in the fields query parameter
1075
+ */
1076
+ 'sales'?: number;
1077
+ 'salesStart'?: string;
1078
+ 'salesEnd'?: string;
1079
+ 'includeInDataFeeds'?: boolean;
1080
+ /**
1081
+ * For use with the Shopify integration. The Shopify product ID that this product is linked to.
1082
+ */
1083
+ 'shopifyId'?: number | null;
1084
+ 'warehouseProduct'?: ProductWarehouseProduct;
1085
+ /**
1086
+ * Key/value pairs that can be used to store additional information about the product
1087
+ */
1088
+ 'metafields'?: Array<MetaField>;
1089
+ /**
1090
+ * a JSON string representing the personalization template for the product
1091
+ */
1092
+ 'personalizationTemplate'?: string;
1093
+ /**
1094
+ * History of AI optimisations performed on the product
1095
+ */
1096
+ 'optimisationHistory'?: Array<OptimisationHistoryItem>;
1097
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1098
+ /**
1099
+ * Whether to show a sale badge on the product
1100
+ */
1101
+ 'showSaleBadge'?: boolean;
1102
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1103
+ }
1011
1104
  export interface ProductWarehouseProduct {
1012
1105
  /**
1013
1106
  * Unique object identifier
@@ -1315,9 +1408,9 @@ export interface UpdateProductRequest {
1315
1408
  */
1316
1409
  'variants'?: Array<CreateProductVariant>;
1317
1410
  /**
1318
- * A list of product uuids to be in this bundle. Only valid if the product is already a bundle.
1411
+ * A list of products to be in this bundle. Only valid if the product is already a bundle.
1319
1412
  */
1320
- 'bundleItems'?: Array<string>;
1413
+ 'bundleItems'?: Array<UpdateProductRequestBundleItemsInner>;
1321
1414
  'retailPrice'?: Price;
1322
1415
  'salePrice'?: SalePrice | null;
1323
1416
  /**
@@ -1361,6 +1454,23 @@ export interface UpdateProductRequest {
1361
1454
  */
1362
1455
  'showSaleBadge'?: boolean;
1363
1456
  }
1457
+ export interface UpdateProductRequestBundleItemsInner {
1458
+ /**
1459
+ * Unique object identifier
1460
+ */
1461
+ 'id'?: string;
1462
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1463
+ }
1464
+ export interface UpdateProductRequestBundleItemsInnerConfig {
1465
+ /**
1466
+ * 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.
1467
+ */
1468
+ 'validOptions'?: Array<UpdateProductRequestBundleItemsInnerConfigValidOptionsInner>;
1469
+ }
1470
+ export interface UpdateProductRequestBundleItemsInnerConfigValidOptionsInner {
1471
+ 'name': string;
1472
+ 'values': Array<string>;
1473
+ }
1364
1474
  export interface UpdateProductRequestIntegrationConnectionsInner {
1365
1475
  /**
1366
1476
  * 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.75.0
7
+ * The version of the OpenAPI document: 1.76.1
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.75.0
7
+ * The version of the OpenAPI document: 1.76.1
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.75.0
7
+ * The version of the OpenAPI document: 1.76.1
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.75.0
5
+ * The version of the OpenAPI document: 1.76.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -572,11 +572,17 @@ 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<CreateBundleProductBundleItemsInner>;
576
576
  'retailPrice'?: Price;
577
577
  'salePrice'?: SalePrice | null;
578
578
  'price'?: Price;
579
579
  }
580
+ export interface CreateBundleProductBundleItemsInner {
581
+ /**
582
+ * Unique object identifier
583
+ */
584
+ 'id'?: string;
585
+ }
580
586
  export interface CreateProduct {
581
587
  /**
582
588
  * Reference to the product in the GFN catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API.
@@ -897,7 +903,7 @@ export interface Product {
897
903
  /**
898
904
  * Products in the bundle.
899
905
  */
900
- 'bundleItems'?: Array<Product>;
906
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
901
907
  'retailPrice'?: Price;
902
908
  'salePrice'?: SalePrice | null;
903
909
  /**
@@ -971,6 +977,93 @@ export interface ProductApplicationSetsInner {
971
977
  */
972
978
  'name'?: string;
973
979
  }
980
+ export interface ProductBundleItemsInner {
981
+ /**
982
+ * Unique object identifier
983
+ */
984
+ 'id'?: string;
985
+ /**
986
+ * A reference to the resource location
987
+ */
988
+ 'ref'?: string;
989
+ 'title': string;
990
+ 'description': string;
991
+ 'slug'?: string;
992
+ 'brand'?: string;
993
+ 'enabled'?: boolean;
994
+ 'seoMetadata'?: SEOMetadata;
995
+ 'targetSearchPhraseData'?: TargetSearchPhraseData;
996
+ 'tags'?: Array<string>;
997
+ 'internalTags'?: Array<string>;
998
+ 'createdAt'?: string;
999
+ 'updatedAt'?: string;
1000
+ 'publishedAt'?: string;
1001
+ /**
1002
+ * Images
1003
+ */
1004
+ 'images'?: Array<Image>;
1005
+ /**
1006
+ * Videos
1007
+ */
1008
+ 'videos'?: Array<Video>;
1009
+ /**
1010
+ * Variants
1011
+ */
1012
+ 'variants'?: Array<Variant>;
1013
+ /**
1014
+ * Products in the bundle.
1015
+ */
1016
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
1017
+ 'retailPrice'?: Price;
1018
+ 'salePrice'?: SalePrice | null;
1019
+ /**
1020
+ * Additional files attached to the product.
1021
+ */
1022
+ 'additionalFiles'?: Array<ProductAdditionalFilesInner>;
1023
+ /**
1024
+ * List of application sets associated with this product
1025
+ */
1026
+ 'applicationSets'?: Array<ProductApplicationSetsInner>;
1027
+ /**
1028
+ * The average review rating. This field is only present if included in the fields query parameter
1029
+ */
1030
+ 'reviewScore'?: number | null;
1031
+ /**
1032
+ * A count of reviews. This field is only present if included in the fields query parameter
1033
+ */
1034
+ 'reviewCount'?: number;
1035
+ 'sku'?: string;
1036
+ /**
1037
+ * A count of sales. This field is only present if included in the fields query parameter
1038
+ */
1039
+ 'sales'?: number;
1040
+ 'salesStart'?: string;
1041
+ 'salesEnd'?: string;
1042
+ 'includeInDataFeeds'?: boolean;
1043
+ /**
1044
+ * For use with the Shopify integration. The Shopify product ID that this product is linked to.
1045
+ */
1046
+ 'shopifyId'?: number | null;
1047
+ 'warehouseProduct'?: ProductWarehouseProduct;
1048
+ /**
1049
+ * Key/value pairs that can be used to store additional information about the product
1050
+ */
1051
+ 'metafields'?: Array<MetaField>;
1052
+ /**
1053
+ * a JSON string representing the personalization template for the product
1054
+ */
1055
+ 'personalizationTemplate'?: string;
1056
+ /**
1057
+ * History of AI optimisations performed on the product
1058
+ */
1059
+ 'optimisationHistory'?: Array<OptimisationHistoryItem>;
1060
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1061
+ /**
1062
+ * Whether to show a sale badge on the product
1063
+ */
1064
+ 'showSaleBadge'?: boolean;
1065
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1066
+ }
974
1067
  export interface ProductWarehouseProduct {
975
1068
  /**
976
1069
  * Unique object identifier
@@ -1265,9 +1358,9 @@ export interface UpdateProductRequest {
1265
1358
  */
1266
1359
  'variants'?: Array<CreateProductVariant>;
1267
1360
  /**
1268
- * A list of product uuids to be in this bundle. Only valid if the product is already a bundle.
1361
+ * A list of products to be in this bundle. Only valid if the product is already a bundle.
1269
1362
  */
1270
- 'bundleItems'?: Array<string>;
1363
+ 'bundleItems'?: Array<UpdateProductRequestBundleItemsInner>;
1271
1364
  'retailPrice'?: Price;
1272
1365
  'salePrice'?: SalePrice | null;
1273
1366
  /**
@@ -1311,6 +1404,23 @@ export interface UpdateProductRequest {
1311
1404
  */
1312
1405
  'showSaleBadge'?: boolean;
1313
1406
  }
1407
+ export interface UpdateProductRequestBundleItemsInner {
1408
+ /**
1409
+ * Unique object identifier
1410
+ */
1411
+ 'id'?: string;
1412
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1413
+ }
1414
+ export interface UpdateProductRequestBundleItemsInnerConfig {
1415
+ /**
1416
+ * 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.
1417
+ */
1418
+ 'validOptions'?: Array<UpdateProductRequestBundleItemsInnerConfigValidOptionsInner>;
1419
+ }
1420
+ export interface UpdateProductRequestBundleItemsInnerConfigValidOptionsInner {
1421
+ 'name': string;
1422
+ 'values': Array<string>;
1423
+ }
1314
1424
  export interface UpdateProductRequestIntegrationConnectionsInner {
1315
1425
  /**
1316
1426
  * 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.75.0
8
+ * The version of the OpenAPI document: 1.76.1
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.75.0
5
+ * The version of the OpenAPI document: 1.76.1
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.75.0
8
+ * The version of the OpenAPI document: 1.76.1
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.75.0
5
+ * The version of the OpenAPI document: 1.76.1
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.75.0
8
+ * The version of the OpenAPI document: 1.76.1
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.75.0
5
+ * The version of the OpenAPI document: 1.76.1
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.75.0
8
+ * The version of the OpenAPI document: 1.76.1
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.75.0
5
+ * The version of the OpenAPI document: 1.76.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -572,11 +572,17 @@ 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<CreateBundleProductBundleItemsInner>;
576
576
  'retailPrice'?: Price;
577
577
  'salePrice'?: SalePrice | null;
578
578
  'price'?: Price;
579
579
  }
580
+ export interface CreateBundleProductBundleItemsInner {
581
+ /**
582
+ * Unique object identifier
583
+ */
584
+ 'id'?: string;
585
+ }
580
586
  export interface CreateProduct {
581
587
  /**
582
588
  * Reference to the product in the GFN catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API.
@@ -897,7 +903,7 @@ export interface Product {
897
903
  /**
898
904
  * Products in the bundle.
899
905
  */
900
- 'bundleItems'?: Array<Product>;
906
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
901
907
  'retailPrice'?: Price;
902
908
  'salePrice'?: SalePrice | null;
903
909
  /**
@@ -971,6 +977,93 @@ export interface ProductApplicationSetsInner {
971
977
  */
972
978
  'name'?: string;
973
979
  }
980
+ export interface ProductBundleItemsInner {
981
+ /**
982
+ * Unique object identifier
983
+ */
984
+ 'id'?: string;
985
+ /**
986
+ * A reference to the resource location
987
+ */
988
+ 'ref'?: string;
989
+ 'title': string;
990
+ 'description': string;
991
+ 'slug'?: string;
992
+ 'brand'?: string;
993
+ 'enabled'?: boolean;
994
+ 'seoMetadata'?: SEOMetadata;
995
+ 'targetSearchPhraseData'?: TargetSearchPhraseData;
996
+ 'tags'?: Array<string>;
997
+ 'internalTags'?: Array<string>;
998
+ 'createdAt'?: string;
999
+ 'updatedAt'?: string;
1000
+ 'publishedAt'?: string;
1001
+ /**
1002
+ * Images
1003
+ */
1004
+ 'images'?: Array<Image>;
1005
+ /**
1006
+ * Videos
1007
+ */
1008
+ 'videos'?: Array<Video>;
1009
+ /**
1010
+ * Variants
1011
+ */
1012
+ 'variants'?: Array<Variant>;
1013
+ /**
1014
+ * Products in the bundle.
1015
+ */
1016
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
1017
+ 'retailPrice'?: Price;
1018
+ 'salePrice'?: SalePrice | null;
1019
+ /**
1020
+ * Additional files attached to the product.
1021
+ */
1022
+ 'additionalFiles'?: Array<ProductAdditionalFilesInner>;
1023
+ /**
1024
+ * List of application sets associated with this product
1025
+ */
1026
+ 'applicationSets'?: Array<ProductApplicationSetsInner>;
1027
+ /**
1028
+ * The average review rating. This field is only present if included in the fields query parameter
1029
+ */
1030
+ 'reviewScore'?: number | null;
1031
+ /**
1032
+ * A count of reviews. This field is only present if included in the fields query parameter
1033
+ */
1034
+ 'reviewCount'?: number;
1035
+ 'sku'?: string;
1036
+ /**
1037
+ * A count of sales. This field is only present if included in the fields query parameter
1038
+ */
1039
+ 'sales'?: number;
1040
+ 'salesStart'?: string;
1041
+ 'salesEnd'?: string;
1042
+ 'includeInDataFeeds'?: boolean;
1043
+ /**
1044
+ * For use with the Shopify integration. The Shopify product ID that this product is linked to.
1045
+ */
1046
+ 'shopifyId'?: number | null;
1047
+ 'warehouseProduct'?: ProductWarehouseProduct;
1048
+ /**
1049
+ * Key/value pairs that can be used to store additional information about the product
1050
+ */
1051
+ 'metafields'?: Array<MetaField>;
1052
+ /**
1053
+ * a JSON string representing the personalization template for the product
1054
+ */
1055
+ 'personalizationTemplate'?: string;
1056
+ /**
1057
+ * History of AI optimisations performed on the product
1058
+ */
1059
+ 'optimisationHistory'?: Array<OptimisationHistoryItem>;
1060
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1061
+ /**
1062
+ * Whether to show a sale badge on the product
1063
+ */
1064
+ 'showSaleBadge'?: boolean;
1065
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1066
+ }
974
1067
  export interface ProductWarehouseProduct {
975
1068
  /**
976
1069
  * Unique object identifier
@@ -1265,9 +1358,9 @@ export interface UpdateProductRequest {
1265
1358
  */
1266
1359
  'variants'?: Array<CreateProductVariant>;
1267
1360
  /**
1268
- * A list of product uuids to be in this bundle. Only valid if the product is already a bundle.
1361
+ * A list of products to be in this bundle. Only valid if the product is already a bundle.
1269
1362
  */
1270
- 'bundleItems'?: Array<string>;
1363
+ 'bundleItems'?: Array<UpdateProductRequestBundleItemsInner>;
1271
1364
  'retailPrice'?: Price;
1272
1365
  'salePrice'?: SalePrice | null;
1273
1366
  /**
@@ -1311,6 +1404,23 @@ export interface UpdateProductRequest {
1311
1404
  */
1312
1405
  'showSaleBadge'?: boolean;
1313
1406
  }
1407
+ export interface UpdateProductRequestBundleItemsInner {
1408
+ /**
1409
+ * Unique object identifier
1410
+ */
1411
+ 'id'?: string;
1412
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1413
+ }
1414
+ export interface UpdateProductRequestBundleItemsInnerConfig {
1415
+ /**
1416
+ * 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.
1417
+ */
1418
+ 'validOptions'?: Array<UpdateProductRequestBundleItemsInnerConfigValidOptionsInner>;
1419
+ }
1420
+ export interface UpdateProductRequestBundleItemsInnerConfigValidOptionsInner {
1421
+ 'name': string;
1422
+ 'values': Array<string>;
1423
+ }
1314
1424
  export interface UpdateProductRequestIntegrationConnectionsInner {
1315
1425
  /**
1316
1426
  * 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.75.0
7
+ * The version of the OpenAPI document: 1.76.1
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.75.0
5
+ * The version of the OpenAPI document: 1.76.1
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.75.0
7
+ * The version of the OpenAPI document: 1.76.1
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.75.0
5
+ * The version of the OpenAPI document: 1.76.1
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.75.0
7
+ * The version of the OpenAPI document: 1.76.1
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.75.0
5
+ * The version of the OpenAPI document: 1.76.1
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.75.0
7
+ * The version of the OpenAPI document: 1.76.1
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.75.0
5
+ * The version of the OpenAPI document: 1.76.1
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.75.0
7
+ * The version of the OpenAPI document: 1.76.1
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.75.0
5
+ * The version of the OpenAPI document: 1.76.1
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.75.0
8
+ * The version of the OpenAPI document: 1.76.1
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;CreateBundleProductBundleItemsInner&gt;**](CreateBundleProductBundleItemsInner.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]
@@ -1,19 +1,19 @@
1
- # InlineObject
1
+ # CreateBundleProductBundleItemsInner
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **importId** | **string** | Id of the product import | [optional] [default to undefined]
8
+ **id** | **string** | Unique object identifier | [optional] [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { InlineObject } from '@teemill/product-catalog';
13
+ import { CreateBundleProductBundleItemsInner } from '@teemill/product-catalog';
14
14
 
15
- const instance: InlineObject = {
16
- importId,
15
+ const instance: CreateBundleProductBundleItemsInner = {
16
+ id,
17
17
  };
18
18
  ```
19
19
 
@@ -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;CreateBundleProductBundleItemsInner&gt;**](CreateBundleProductBundleItemsInner.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]
@@ -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]
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **validOptions** | [**UpdateProductRequestBundleItemsInnerConfigValidOptions**](UpdateProductRequestBundleItemsInnerConfigValidOptions.md) | | [optional] [default to undefined]
8
+ **validOptions** | [**Array&lt;UpdateProductRequestBundleItemsInnerConfigValidOptionsInner&gt;**](UpdateProductRequestBundleItemsInnerConfigValidOptionsInner.md) | The valid options for the product in the bundle. This can be used to filter options that are available on the product but shouldn\&#39;t be available when sold as part of a bundle. If none are provided, all options are considered to be valid. | [optional] [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
@@ -1,6 +1,5 @@
1
- # UpdateProductRequestBundleItemsInnerConfigValidOptions
1
+ # UpdateProductRequestBundleItemsInnerConfigValidOptionsInner
2
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
3
 
5
4
  ## Properties
6
5
 
@@ -12,9 +11,9 @@ Name | Type | Description | Notes
12
11
  ## Example
13
12
 
14
13
  ```typescript
15
- import { UpdateProductRequestBundleItemsInnerConfigValidOptions } from '@teemill/product-catalog';
14
+ import { UpdateProductRequestBundleItemsInnerConfigValidOptionsInner } from '@teemill/product-catalog';
16
15
 
17
- const instance: UpdateProductRequestBundleItemsInnerConfigValidOptions = {
16
+ const instance: UpdateProductRequestBundleItemsInnerConfigValidOptionsInner = {
18
17
  name,
19
18
  values,
20
19
  };
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.75.0
7
+ * The version of the OpenAPI document: 1.76.1
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.75.0",
3
+ "version": "1.76.1",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,13 +0,0 @@
1
- .gitignore
2
- .npmignore
3
- .openapi-generator-ignore
4
- README.md
5
- api.ts
6
- base.ts
7
- common.ts
8
- configuration.ts
9
- git_push.sh
10
- index.ts
11
- package.json
12
- tsconfig.esm.json
13
- tsconfig.json
@@ -1 +0,0 @@
1
- 7.11.0
@@ -1,23 +0,0 @@
1
- # OpenAPI Generator Ignore
2
- # Generated by openapi-generator https://github.com/openapitools/openapi-generator
3
-
4
- # Use this file to prevent files from being overwritten by the generator.
5
- # The patterns follow closely to .gitignore or .dockerignore.
6
-
7
- # As an example, the C# client generator defines ApiClient.cs.
8
- # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9
- #ApiClient.cs
10
-
11
- # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12
- #foo/*/qux
13
- # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14
-
15
- # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16
- #foo/**/qux
17
- # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18
-
19
- # You can also negate patterns with an exclamation (!).
20
- # For example, you can ignore all files in a docs folder with the file extension .md:
21
- #docs/*.md
22
- # Then explicitly reverse the ignore rule for a single file:
23
- #!docs/README.md
@@ -1,23 +0,0 @@
1
- # CreateApplicationPropertiesPosition
2
-
3
- Position of the application
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **x** | **number** | X coordinate of the application in pixels relative to the bounding box of the product | [default to undefined]
10
- **y** | **number** | Y coordinate of the application in pixels relative to the bounding box of the product | [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { CreateApplicationPropertiesPosition } from '@teemill/product-catalog';
16
-
17
- const instance: CreateApplicationPropertiesPosition = {
18
- x,
19
- y,
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)