@teemill/product-catalog 1.72.2 → 1.74.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.74.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.74.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -127,13 +127,16 @@ Class | Method | HTTP request | Description
127
127
  - [ImportProducts200Response](docs/ImportProducts200Response.md)
128
128
  - [Location](docs/Location.md)
129
129
  - [MetaField](docs/MetaField.md)
130
+ - [NamedPrice](docs/NamedPrice.md)
130
131
  - [OptimisationHistoryItem](docs/OptimisationHistoryItem.md)
131
132
  - [Price](docs/Price.md)
132
133
  - [Product](docs/Product.md)
133
134
  - [ProductAdditionalFilesInner](docs/ProductAdditionalFilesInner.md)
134
135
  - [ProductApplicationSetsInner](docs/ProductApplicationSetsInner.md)
136
+ - [ProductBundleItemsInner](docs/ProductBundleItemsInner.md)
135
137
  - [ProductWarehouseProduct](docs/ProductWarehouseProduct.md)
136
138
  - [ProductsResponse](docs/ProductsResponse.md)
139
+ - [RequiredPrice](docs/RequiredPrice.md)
137
140
  - [SEOMetadata](docs/SEOMetadata.md)
138
141
  - [SalePrice](docs/SalePrice.md)
139
142
  - [SeoOptimiseProducts202Response](docs/SeoOptimiseProducts202Response.md)
@@ -149,6 +152,9 @@ Class | Method | HTTP request | Description
149
152
  - [UpdateApplicationSetRequestRecordsInner](docs/UpdateApplicationSetRequestRecordsInner.md)
150
153
  - [UpdateApplicationSetRequestRecordsInnerAttributesInner](docs/UpdateApplicationSetRequestRecordsInnerAttributesInner.md)
151
154
  - [UpdateProductRequest](docs/UpdateProductRequest.md)
155
+ - [UpdateProductRequestBundleItemsInner](docs/UpdateProductRequestBundleItemsInner.md)
156
+ - [UpdateProductRequestBundleItemsInnerConfig](docs/UpdateProductRequestBundleItemsInnerConfig.md)
157
+ - [UpdateProductRequestBundleItemsInnerConfigValidOptions](docs/UpdateProductRequestBundleItemsInnerConfigValidOptions.md)
152
158
  - [UpdateProductRequestIntegrationConnectionsInner](docs/UpdateProductRequestIntegrationConnectionsInner.md)
153
159
  - [UpdateProductsRequest](docs/UpdateProductsRequest.md)
154
160
  - [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.74.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;
@@ -864,6 +864,13 @@ export interface MetaField {
864
864
  */
865
865
  'value': string;
866
866
  }
867
+ export interface NamedPrice {
868
+ /**
869
+ * The name of the price
870
+ */
871
+ 'name': string;
872
+ 'price': RequiredPrice;
873
+ }
867
874
  export interface OptimisationHistoryItem {
868
875
  /**
869
876
  * Unique object identifier
@@ -872,7 +879,7 @@ export interface OptimisationHistoryItem {
872
879
  'createdAt'?: string;
873
880
  }
874
881
  /**
875
- * Standard price definition that defines the amount, tax rate and currency.
882
+ * Standard price definition that defines the amount and currency.
876
883
  */
877
884
  export interface Price {
878
885
  /**
@@ -927,7 +934,7 @@ export interface Product {
927
934
  /**
928
935
  * Products in the bundle.
929
936
  */
930
- 'bundleItems'?: Array<Product>;
937
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
931
938
  'retailPrice'?: Price;
932
939
  'salePrice'?: SalePrice | null;
933
940
  /**
@@ -1001,6 +1008,93 @@ export interface ProductApplicationSetsInner {
1001
1008
  */
1002
1009
  'name'?: string;
1003
1010
  }
1011
+ export interface ProductBundleItemsInner {
1012
+ /**
1013
+ * Unique object identifier
1014
+ */
1015
+ 'id'?: string;
1016
+ /**
1017
+ * A reference to the resource location
1018
+ */
1019
+ 'ref'?: string;
1020
+ 'title': string;
1021
+ 'description': string;
1022
+ 'slug'?: string;
1023
+ 'brand'?: string;
1024
+ 'enabled'?: boolean;
1025
+ 'seoMetadata'?: SEOMetadata;
1026
+ 'targetSearchPhraseData'?: TargetSearchPhraseData;
1027
+ 'tags'?: Array<string>;
1028
+ 'internalTags'?: Array<string>;
1029
+ 'createdAt'?: string;
1030
+ 'updatedAt'?: string;
1031
+ 'publishedAt'?: string;
1032
+ /**
1033
+ * Images
1034
+ */
1035
+ 'images'?: Array<Image>;
1036
+ /**
1037
+ * Videos
1038
+ */
1039
+ 'videos'?: Array<Video>;
1040
+ /**
1041
+ * Variants
1042
+ */
1043
+ 'variants'?: Array<Variant>;
1044
+ /**
1045
+ * Products in the bundle.
1046
+ */
1047
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
1048
+ 'retailPrice'?: Price;
1049
+ 'salePrice'?: SalePrice | null;
1050
+ /**
1051
+ * Additional files attached to the product.
1052
+ */
1053
+ 'additionalFiles'?: Array<ProductAdditionalFilesInner>;
1054
+ /**
1055
+ * List of application sets associated with this product
1056
+ */
1057
+ 'applicationSets'?: Array<ProductApplicationSetsInner>;
1058
+ /**
1059
+ * The average review rating. This field is only present if included in the fields query parameter
1060
+ */
1061
+ 'reviewScore'?: number | null;
1062
+ /**
1063
+ * A count of reviews. This field is only present if included in the fields query parameter
1064
+ */
1065
+ 'reviewCount'?: number;
1066
+ 'sku'?: string;
1067
+ /**
1068
+ * A count of sales. This field is only present if included in the fields query parameter
1069
+ */
1070
+ 'sales'?: number;
1071
+ 'salesStart'?: string;
1072
+ 'salesEnd'?: string;
1073
+ 'includeInDataFeeds'?: boolean;
1074
+ /**
1075
+ * For use with the Shopify integration. The Shopify product ID that this product is linked to.
1076
+ */
1077
+ 'shopifyId'?: number | null;
1078
+ 'warehouseProduct'?: ProductWarehouseProduct;
1079
+ /**
1080
+ * Key/value pairs that can be used to store additional information about the product
1081
+ */
1082
+ 'metafields'?: Array<MetaField>;
1083
+ /**
1084
+ * a JSON string representing the personalization template for the product
1085
+ */
1086
+ 'personalizationTemplate'?: string;
1087
+ /**
1088
+ * History of AI optimisations performed on the product
1089
+ */
1090
+ 'optimisationHistory'?: Array<OptimisationHistoryItem>;
1091
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1092
+ /**
1093
+ * Whether to show a sale badge on the product
1094
+ */
1095
+ 'showSaleBadge'?: boolean;
1096
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1097
+ }
1004
1098
  export interface ProductWarehouseProduct {
1005
1099
  /**
1006
1100
  * Unique object identifier
@@ -1018,6 +1112,26 @@ export interface ProductsResponse {
1018
1112
  */
1019
1113
  'nextPageToken'?: number | null;
1020
1114
  }
1115
+ /**
1116
+ * Required price definition that defines the amount and currency.
1117
+ */
1118
+ export interface RequiredPrice {
1119
+ /**
1120
+ * Price including tax in the specified currency.
1121
+ */
1122
+ 'amount': number;
1123
+ /**
1124
+ * Currency code for the currency the price is valued in.
1125
+ */
1126
+ 'currencyCode': RequiredPriceCurrencyCodeEnum;
1127
+ }
1128
+
1129
+ export const RequiredPriceCurrencyCodeEnum = {
1130
+ Gbp: 'GBP'
1131
+ } as const;
1132
+
1133
+ export type RequiredPriceCurrencyCodeEnum = typeof RequiredPriceCurrencyCodeEnum[keyof typeof RequiredPriceCurrencyCodeEnum];
1134
+
1021
1135
  /**
1022
1136
  * SEO metadata for the product
1023
1137
  */
@@ -1288,9 +1402,9 @@ export interface UpdateProductRequest {
1288
1402
  */
1289
1403
  'variants'?: Array<CreateProductVariant>;
1290
1404
  /**
1291
- * A list of product uuids to be in this bundle. Only valid if the product is already a bundle.
1405
+ * A list of products to be in this bundle. Only valid if the product is already a bundle.
1292
1406
  */
1293
- 'bundleItems'?: Array<string>;
1407
+ 'bundleItems'?: Array<UpdateProductRequestBundleItemsInner>;
1294
1408
  'retailPrice'?: Price;
1295
1409
  'salePrice'?: SalePrice | null;
1296
1410
  /**
@@ -1334,6 +1448,23 @@ export interface UpdateProductRequest {
1334
1448
  */
1335
1449
  'showSaleBadge'?: boolean;
1336
1450
  }
1451
+ export interface UpdateProductRequestBundleItemsInner {
1452
+ /**
1453
+ * Unique object identifier
1454
+ */
1455
+ 'id'?: string;
1456
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1457
+ }
1458
+ export interface UpdateProductRequestBundleItemsInnerConfig {
1459
+ 'validOptions'?: UpdateProductRequestBundleItemsInnerConfigValidOptions;
1460
+ }
1461
+ /**
1462
+ * 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.
1463
+ */
1464
+ export interface UpdateProductRequestBundleItemsInnerConfigValidOptions {
1465
+ 'name': string;
1466
+ 'values': Array<string>;
1467
+ }
1337
1468
  export interface UpdateProductRequestIntegrationConnectionsInner {
1338
1469
  /**
1339
1470
  * Code identifying the integration
@@ -1567,8 +1698,16 @@ export interface VariantProduct {
1567
1698
  'ref'?: string;
1568
1699
  }
1569
1700
  export interface VariantWholesaleCost {
1570
- 'item'?: Price;
1571
- 'fulfillment'?: Price;
1701
+ 'item': RequiredPrice;
1702
+ /**
1703
+ * A breakdown of the cost per application
1704
+ */
1705
+ 'applications': Array<NamedPrice>;
1706
+ /**
1707
+ * a breakdown of the cost per handling fee
1708
+ */
1709
+ 'handling': Array<NamedPrice>;
1710
+ 'fulfillment': RequiredPrice;
1572
1711
  }
1573
1712
  export interface VariantsResponse {
1574
1713
  'variants'?: Array<Variant>;
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.74.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.74.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.74.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.74.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;
@@ -830,6 +830,13 @@ export interface MetaField {
830
830
  */
831
831
  'value': string;
832
832
  }
833
+ export interface NamedPrice {
834
+ /**
835
+ * The name of the price
836
+ */
837
+ 'name': string;
838
+ 'price': RequiredPrice;
839
+ }
833
840
  export interface OptimisationHistoryItem {
834
841
  /**
835
842
  * Unique object identifier
@@ -838,7 +845,7 @@ export interface OptimisationHistoryItem {
838
845
  'createdAt'?: string;
839
846
  }
840
847
  /**
841
- * Standard price definition that defines the amount, tax rate and currency.
848
+ * Standard price definition that defines the amount and currency.
842
849
  */
843
850
  export interface Price {
844
851
  /**
@@ -890,7 +897,7 @@ export interface Product {
890
897
  /**
891
898
  * Products in the bundle.
892
899
  */
893
- 'bundleItems'?: Array<Product>;
900
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
894
901
  'retailPrice'?: Price;
895
902
  'salePrice'?: SalePrice | null;
896
903
  /**
@@ -964,6 +971,93 @@ export interface ProductApplicationSetsInner {
964
971
  */
965
972
  'name'?: string;
966
973
  }
974
+ export interface ProductBundleItemsInner {
975
+ /**
976
+ * Unique object identifier
977
+ */
978
+ 'id'?: string;
979
+ /**
980
+ * A reference to the resource location
981
+ */
982
+ 'ref'?: string;
983
+ 'title': string;
984
+ 'description': string;
985
+ 'slug'?: string;
986
+ 'brand'?: string;
987
+ 'enabled'?: boolean;
988
+ 'seoMetadata'?: SEOMetadata;
989
+ 'targetSearchPhraseData'?: TargetSearchPhraseData;
990
+ 'tags'?: Array<string>;
991
+ 'internalTags'?: Array<string>;
992
+ 'createdAt'?: string;
993
+ 'updatedAt'?: string;
994
+ 'publishedAt'?: string;
995
+ /**
996
+ * Images
997
+ */
998
+ 'images'?: Array<Image>;
999
+ /**
1000
+ * Videos
1001
+ */
1002
+ 'videos'?: Array<Video>;
1003
+ /**
1004
+ * Variants
1005
+ */
1006
+ 'variants'?: Array<Variant>;
1007
+ /**
1008
+ * Products in the bundle.
1009
+ */
1010
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
1011
+ 'retailPrice'?: Price;
1012
+ 'salePrice'?: SalePrice | null;
1013
+ /**
1014
+ * Additional files attached to the product.
1015
+ */
1016
+ 'additionalFiles'?: Array<ProductAdditionalFilesInner>;
1017
+ /**
1018
+ * List of application sets associated with this product
1019
+ */
1020
+ 'applicationSets'?: Array<ProductApplicationSetsInner>;
1021
+ /**
1022
+ * The average review rating. This field is only present if included in the fields query parameter
1023
+ */
1024
+ 'reviewScore'?: number | null;
1025
+ /**
1026
+ * A count of reviews. This field is only present if included in the fields query parameter
1027
+ */
1028
+ 'reviewCount'?: number;
1029
+ 'sku'?: string;
1030
+ /**
1031
+ * A count of sales. This field is only present if included in the fields query parameter
1032
+ */
1033
+ 'sales'?: number;
1034
+ 'salesStart'?: string;
1035
+ 'salesEnd'?: string;
1036
+ 'includeInDataFeeds'?: boolean;
1037
+ /**
1038
+ * For use with the Shopify integration. The Shopify product ID that this product is linked to.
1039
+ */
1040
+ 'shopifyId'?: number | null;
1041
+ 'warehouseProduct'?: ProductWarehouseProduct;
1042
+ /**
1043
+ * Key/value pairs that can be used to store additional information about the product
1044
+ */
1045
+ 'metafields'?: Array<MetaField>;
1046
+ /**
1047
+ * a JSON string representing the personalization template for the product
1048
+ */
1049
+ 'personalizationTemplate'?: string;
1050
+ /**
1051
+ * History of AI optimisations performed on the product
1052
+ */
1053
+ 'optimisationHistory'?: Array<OptimisationHistoryItem>;
1054
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1055
+ /**
1056
+ * Whether to show a sale badge on the product
1057
+ */
1058
+ 'showSaleBadge'?: boolean;
1059
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1060
+ }
967
1061
  export interface ProductWarehouseProduct {
968
1062
  /**
969
1063
  * Unique object identifier
@@ -981,6 +1075,23 @@ export interface ProductsResponse {
981
1075
  */
982
1076
  'nextPageToken'?: number | null;
983
1077
  }
1078
+ /**
1079
+ * Required price definition that defines the amount and currency.
1080
+ */
1081
+ export interface RequiredPrice {
1082
+ /**
1083
+ * Price including tax in the specified currency.
1084
+ */
1085
+ 'amount': number;
1086
+ /**
1087
+ * Currency code for the currency the price is valued in.
1088
+ */
1089
+ 'currencyCode': RequiredPriceCurrencyCodeEnum;
1090
+ }
1091
+ export declare const RequiredPriceCurrencyCodeEnum: {
1092
+ readonly Gbp: "GBP";
1093
+ };
1094
+ export type RequiredPriceCurrencyCodeEnum = typeof RequiredPriceCurrencyCodeEnum[keyof typeof RequiredPriceCurrencyCodeEnum];
984
1095
  /**
985
1096
  * SEO metadata for the product
986
1097
  */
@@ -1241,9 +1352,9 @@ export interface UpdateProductRequest {
1241
1352
  */
1242
1353
  'variants'?: Array<CreateProductVariant>;
1243
1354
  /**
1244
- * A list of product uuids to be in this bundle. Only valid if the product is already a bundle.
1355
+ * A list of products to be in this bundle. Only valid if the product is already a bundle.
1245
1356
  */
1246
- 'bundleItems'?: Array<string>;
1357
+ 'bundleItems'?: Array<UpdateProductRequestBundleItemsInner>;
1247
1358
  'retailPrice'?: Price;
1248
1359
  'salePrice'?: SalePrice | null;
1249
1360
  /**
@@ -1287,6 +1398,23 @@ export interface UpdateProductRequest {
1287
1398
  */
1288
1399
  'showSaleBadge'?: boolean;
1289
1400
  }
1401
+ export interface UpdateProductRequestBundleItemsInner {
1402
+ /**
1403
+ * Unique object identifier
1404
+ */
1405
+ 'id'?: string;
1406
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1407
+ }
1408
+ export interface UpdateProductRequestBundleItemsInnerConfig {
1409
+ 'validOptions'?: UpdateProductRequestBundleItemsInnerConfigValidOptions;
1410
+ }
1411
+ /**
1412
+ * 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.
1413
+ */
1414
+ export interface UpdateProductRequestBundleItemsInnerConfigValidOptions {
1415
+ 'name': string;
1416
+ 'values': Array<string>;
1417
+ }
1290
1418
  export interface UpdateProductRequestIntegrationConnectionsInner {
1291
1419
  /**
1292
1420
  * Code identifying the integration
@@ -1511,8 +1639,16 @@ export interface VariantProduct {
1511
1639
  'ref'?: string;
1512
1640
  }
1513
1641
  export interface VariantWholesaleCost {
1514
- 'item'?: Price;
1515
- 'fulfillment'?: Price;
1642
+ 'item': RequiredPrice;
1643
+ /**
1644
+ * A breakdown of the cost per application
1645
+ */
1646
+ 'applications': Array<NamedPrice>;
1647
+ /**
1648
+ * a breakdown of the cost per handling fee
1649
+ */
1650
+ 'handling': Array<NamedPrice>;
1651
+ 'fulfillment': RequiredPrice;
1516
1652
  }
1517
1653
  export interface VariantsResponse {
1518
1654
  'variants'?: Array<Variant>;
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.74.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ListProductsDateFilterTypeEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ApplicationTechnologiesApi = exports.ApplicationTechnologiesApiFactory = exports.ApplicationTechnologiesApiFp = exports.ApplicationTechnologiesApiAxiosParamCreator = exports.ApplicationSetsApi = exports.ApplicationSetsApiFactory = exports.ApplicationSetsApiFp = exports.ApplicationSetsApiAxiosParamCreator = exports.ApplicationGroupsApi = exports.ApplicationGroupsApiFactory = exports.ApplicationGroupsApiFp = exports.ApplicationGroupsApiAxiosParamCreator = exports.UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = exports.TextApplicationPropertiesPersonalizationTypeEnum = exports.TextApplicationPropertiesFontStyleEnum = exports.TextApplicationPropertiesFontWeightEnum = exports.SalePriceCurrencyCodeEnum = exports.PriceCurrencyCodeEnum = exports.CreateApplicationPropertiesFontStyleEnum = exports.CreateApplicationPropertiesFontWeightEnum = exports.CreateApplicationPlacementEnum = exports.CreateApplicationTechnologyEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPropertiesPropertiesFontStyleEnum = exports.ApplicationPropertiesPropertiesFontWeightEnum = exports.ApplicationPropertiesPersonalizationRulesFitEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
25
+ exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ListProductsDateFilterTypeEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ApplicationTechnologiesApi = exports.ApplicationTechnologiesApiFactory = exports.ApplicationTechnologiesApiFp = exports.ApplicationTechnologiesApiAxiosParamCreator = exports.ApplicationSetsApi = exports.ApplicationSetsApiFactory = exports.ApplicationSetsApiFp = exports.ApplicationSetsApiAxiosParamCreator = exports.ApplicationGroupsApi = exports.ApplicationGroupsApiFactory = exports.ApplicationGroupsApiFp = exports.ApplicationGroupsApiAxiosParamCreator = exports.UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = exports.TextApplicationPropertiesPersonalizationTypeEnum = exports.TextApplicationPropertiesFontStyleEnum = exports.TextApplicationPropertiesFontWeightEnum = exports.SalePriceCurrencyCodeEnum = exports.RequiredPriceCurrencyCodeEnum = exports.PriceCurrencyCodeEnum = exports.CreateApplicationPropertiesFontStyleEnum = exports.CreateApplicationPropertiesFontWeightEnum = exports.CreateApplicationPlacementEnum = exports.CreateApplicationTechnologyEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPropertiesPropertiesFontStyleEnum = exports.ApplicationPropertiesPropertiesFontWeightEnum = exports.ApplicationPropertiesPersonalizationRulesFitEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -103,6 +103,9 @@ exports.CreateApplicationPropertiesFontStyleEnum = {
103
103
  exports.PriceCurrencyCodeEnum = {
104
104
  Gbp: 'GBP'
105
105
  };
106
+ exports.RequiredPriceCurrencyCodeEnum = {
107
+ Gbp: 'GBP'
108
+ };
106
109
  exports.SalePriceCurrencyCodeEnum = {
107
110
  Gbp: 'GBP'
108
111
  };
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.74.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.74.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.74.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.74.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.74.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.74.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.74.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;
@@ -830,6 +830,13 @@ export interface MetaField {
830
830
  */
831
831
  'value': string;
832
832
  }
833
+ export interface NamedPrice {
834
+ /**
835
+ * The name of the price
836
+ */
837
+ 'name': string;
838
+ 'price': RequiredPrice;
839
+ }
833
840
  export interface OptimisationHistoryItem {
834
841
  /**
835
842
  * Unique object identifier
@@ -838,7 +845,7 @@ export interface OptimisationHistoryItem {
838
845
  'createdAt'?: string;
839
846
  }
840
847
  /**
841
- * Standard price definition that defines the amount, tax rate and currency.
848
+ * Standard price definition that defines the amount and currency.
842
849
  */
843
850
  export interface Price {
844
851
  /**
@@ -890,7 +897,7 @@ export interface Product {
890
897
  /**
891
898
  * Products in the bundle.
892
899
  */
893
- 'bundleItems'?: Array<Product>;
900
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
894
901
  'retailPrice'?: Price;
895
902
  'salePrice'?: SalePrice | null;
896
903
  /**
@@ -964,6 +971,93 @@ export interface ProductApplicationSetsInner {
964
971
  */
965
972
  'name'?: string;
966
973
  }
974
+ export interface ProductBundleItemsInner {
975
+ /**
976
+ * Unique object identifier
977
+ */
978
+ 'id'?: string;
979
+ /**
980
+ * A reference to the resource location
981
+ */
982
+ 'ref'?: string;
983
+ 'title': string;
984
+ 'description': string;
985
+ 'slug'?: string;
986
+ 'brand'?: string;
987
+ 'enabled'?: boolean;
988
+ 'seoMetadata'?: SEOMetadata;
989
+ 'targetSearchPhraseData'?: TargetSearchPhraseData;
990
+ 'tags'?: Array<string>;
991
+ 'internalTags'?: Array<string>;
992
+ 'createdAt'?: string;
993
+ 'updatedAt'?: string;
994
+ 'publishedAt'?: string;
995
+ /**
996
+ * Images
997
+ */
998
+ 'images'?: Array<Image>;
999
+ /**
1000
+ * Videos
1001
+ */
1002
+ 'videos'?: Array<Video>;
1003
+ /**
1004
+ * Variants
1005
+ */
1006
+ 'variants'?: Array<Variant>;
1007
+ /**
1008
+ * Products in the bundle.
1009
+ */
1010
+ 'bundleItems'?: Array<ProductBundleItemsInner>;
1011
+ 'retailPrice'?: Price;
1012
+ 'salePrice'?: SalePrice | null;
1013
+ /**
1014
+ * Additional files attached to the product.
1015
+ */
1016
+ 'additionalFiles'?: Array<ProductAdditionalFilesInner>;
1017
+ /**
1018
+ * List of application sets associated with this product
1019
+ */
1020
+ 'applicationSets'?: Array<ProductApplicationSetsInner>;
1021
+ /**
1022
+ * The average review rating. This field is only present if included in the fields query parameter
1023
+ */
1024
+ 'reviewScore'?: number | null;
1025
+ /**
1026
+ * A count of reviews. This field is only present if included in the fields query parameter
1027
+ */
1028
+ 'reviewCount'?: number;
1029
+ 'sku'?: string;
1030
+ /**
1031
+ * A count of sales. This field is only present if included in the fields query parameter
1032
+ */
1033
+ 'sales'?: number;
1034
+ 'salesStart'?: string;
1035
+ 'salesEnd'?: string;
1036
+ 'includeInDataFeeds'?: boolean;
1037
+ /**
1038
+ * For use with the Shopify integration. The Shopify product ID that this product is linked to.
1039
+ */
1040
+ 'shopifyId'?: number | null;
1041
+ 'warehouseProduct'?: ProductWarehouseProduct;
1042
+ /**
1043
+ * Key/value pairs that can be used to store additional information about the product
1044
+ */
1045
+ 'metafields'?: Array<MetaField>;
1046
+ /**
1047
+ * a JSON string representing the personalization template for the product
1048
+ */
1049
+ 'personalizationTemplate'?: string;
1050
+ /**
1051
+ * History of AI optimisations performed on the product
1052
+ */
1053
+ 'optimisationHistory'?: Array<OptimisationHistoryItem>;
1054
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1055
+ /**
1056
+ * Whether to show a sale badge on the product
1057
+ */
1058
+ 'showSaleBadge'?: boolean;
1059
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1060
+ }
967
1061
  export interface ProductWarehouseProduct {
968
1062
  /**
969
1063
  * Unique object identifier
@@ -981,6 +1075,23 @@ export interface ProductsResponse {
981
1075
  */
982
1076
  'nextPageToken'?: number | null;
983
1077
  }
1078
+ /**
1079
+ * Required price definition that defines the amount and currency.
1080
+ */
1081
+ export interface RequiredPrice {
1082
+ /**
1083
+ * Price including tax in the specified currency.
1084
+ */
1085
+ 'amount': number;
1086
+ /**
1087
+ * Currency code for the currency the price is valued in.
1088
+ */
1089
+ 'currencyCode': RequiredPriceCurrencyCodeEnum;
1090
+ }
1091
+ export declare const RequiredPriceCurrencyCodeEnum: {
1092
+ readonly Gbp: "GBP";
1093
+ };
1094
+ export type RequiredPriceCurrencyCodeEnum = typeof RequiredPriceCurrencyCodeEnum[keyof typeof RequiredPriceCurrencyCodeEnum];
984
1095
  /**
985
1096
  * SEO metadata for the product
986
1097
  */
@@ -1241,9 +1352,9 @@ export interface UpdateProductRequest {
1241
1352
  */
1242
1353
  'variants'?: Array<CreateProductVariant>;
1243
1354
  /**
1244
- * A list of product uuids to be in this bundle. Only valid if the product is already a bundle.
1355
+ * A list of products to be in this bundle. Only valid if the product is already a bundle.
1245
1356
  */
1246
- 'bundleItems'?: Array<string>;
1357
+ 'bundleItems'?: Array<UpdateProductRequestBundleItemsInner>;
1247
1358
  'retailPrice'?: Price;
1248
1359
  'salePrice'?: SalePrice | null;
1249
1360
  /**
@@ -1287,6 +1398,23 @@ export interface UpdateProductRequest {
1287
1398
  */
1288
1399
  'showSaleBadge'?: boolean;
1289
1400
  }
1401
+ export interface UpdateProductRequestBundleItemsInner {
1402
+ /**
1403
+ * Unique object identifier
1404
+ */
1405
+ 'id'?: string;
1406
+ 'config'?: UpdateProductRequestBundleItemsInnerConfig;
1407
+ }
1408
+ export interface UpdateProductRequestBundleItemsInnerConfig {
1409
+ 'validOptions'?: UpdateProductRequestBundleItemsInnerConfigValidOptions;
1410
+ }
1411
+ /**
1412
+ * 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.
1413
+ */
1414
+ export interface UpdateProductRequestBundleItemsInnerConfigValidOptions {
1415
+ 'name': string;
1416
+ 'values': Array<string>;
1417
+ }
1290
1418
  export interface UpdateProductRequestIntegrationConnectionsInner {
1291
1419
  /**
1292
1420
  * Code identifying the integration
@@ -1511,8 +1639,16 @@ export interface VariantProduct {
1511
1639
  'ref'?: string;
1512
1640
  }
1513
1641
  export interface VariantWholesaleCost {
1514
- 'item'?: Price;
1515
- 'fulfillment'?: Price;
1642
+ 'item': RequiredPrice;
1643
+ /**
1644
+ * A breakdown of the cost per application
1645
+ */
1646
+ 'applications': Array<NamedPrice>;
1647
+ /**
1648
+ * a breakdown of the cost per handling fee
1649
+ */
1650
+ 'handling': Array<NamedPrice>;
1651
+ 'fulfillment': RequiredPrice;
1516
1652
  }
1517
1653
  export interface VariantsResponse {
1518
1654
  'variants'?: Array<Variant>;
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.74.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -100,6 +100,9 @@ export const CreateApplicationPropertiesFontStyleEnum = {
100
100
  export const PriceCurrencyCodeEnum = {
101
101
  Gbp: 'GBP'
102
102
  };
103
+ export const RequiredPriceCurrencyCodeEnum = {
104
+ Gbp: 'GBP'
105
+ };
103
106
  export const SalePriceCurrencyCodeEnum = {
104
107
  Gbp: 'GBP'
105
108
  };
@@ -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.74.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.74.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.74.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.74.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.74.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.74.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.74.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.74.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.74.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.74.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]
@@ -0,0 +1,22 @@
1
+ # NamedPrice
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | The name of the price | [default to undefined]
9
+ **price** | [**RequiredPrice**](RequiredPrice.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { NamedPrice } from '@teemill/product-catalog';
15
+
16
+ const instance: NamedPrice = {
17
+ name,
18
+ price,
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)
package/docs/Price.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Price
2
2
 
3
- Standard price definition that defines the amount, tax rate and currency.
3
+ Standard price definition that defines the amount and currency.
4
4
 
5
5
  ## Properties
6
6
 
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)
@@ -0,0 +1,23 @@
1
+ # RequiredPrice
2
+
3
+ Required price definition that defines the amount and currency.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **amount** | **number** | Price including tax in the specified currency. | [default to undefined]
10
+ **currencyCode** | **string** | Currency code for the currency the price is valued in. | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { RequiredPrice } from '@teemill/product-catalog';
16
+
17
+ const instance: RequiredPrice = {
18
+ amount,
19
+ currencyCode,
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)
@@ -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)
@@ -5,8 +5,10 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **item** | [**Price**](Price.md) | | [optional] [default to undefined]
9
- **fulfillment** | [**Price**](Price.md) | | [optional] [default to undefined]
8
+ **item** | [**RequiredPrice**](RequiredPrice.md) | | [default to undefined]
9
+ **applications** | [**Array&lt;NamedPrice&gt;**](NamedPrice.md) | A breakdown of the cost per application | [default to undefined]
10
+ **handling** | [**Array&lt;NamedPrice&gt;**](NamedPrice.md) | a breakdown of the cost per handling fee | [default to undefined]
11
+ **fulfillment** | [**RequiredPrice**](RequiredPrice.md) | | [default to undefined]
10
12
 
11
13
  ## Example
12
14
 
@@ -15,6 +17,8 @@ import { VariantWholesaleCost } from '@teemill/product-catalog';
15
17
 
16
18
  const instance: VariantWholesaleCost = {
17
19
  item,
20
+ applications,
21
+ handling,
18
22
  fulfillment,
19
23
  };
20
24
  ```
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.74.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.74.0",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {