@cloudcommerce/types 2.27.2 → 2.28.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.
@@ -55,6 +55,36 @@ export interface ApplyDiscountParams {
55
55
  * Final item price including additions due to customizations and gift wrap
56
56
  */
57
57
  final_price?: number;
58
+ /**
59
+ * List of product categories
60
+ *
61
+ * @maxItems 50
62
+ */
63
+ categories?: {
64
+ /**
65
+ * Category ID
66
+ */
67
+ _id: string;
68
+ /**
69
+ * Category name
70
+ */
71
+ name?: string;
72
+ }[];
73
+ /**
74
+ * List of product brands
75
+ *
76
+ * @maxItems 50
77
+ */
78
+ brands?: {
79
+ /**
80
+ * Brand ID
81
+ */
82
+ _id: string;
83
+ /**
84
+ * Brand name
85
+ */
86
+ name?: string;
87
+ }[];
58
88
  }[];
59
89
  /**
60
90
  * Designator of currency according to ISO 4217 (3 uppercase letters)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/types",
3
3
  "type": "module",
4
- "version": "2.27.2",
4
+ "version": "2.28.0",
5
5
  "description": "e-com.plus Cloud Commerce reusable type definitions",
6
6
  "main": "index.ts",
7
7
  "files": [
@@ -21,6 +21,6 @@
21
21
  },
22
22
  "homepage": "https://github.com/ecomplus/cloud-commerce/tree/main/packages/types#readme",
23
23
  "dependencies": {
24
- "@cloudcommerce/api": "2.27.2"
24
+ "@cloudcommerce/api": "2.28.0"
25
25
  }
26
26
  }