@coveo/relay-event-types 6.27.0 → 6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/relay-event-types",
3
- "version": "6.27.0",
3
+ "version": "6.28.0",
4
4
  "description": "Typescript types for Coveo Events, intended to be used with the Relay package.",
5
5
  "types": "./relay-event-types.d.ts",
6
6
  "author": "Coveo",
@@ -26,7 +26,7 @@ export interface EcCartAction extends Base {
26
26
  currency: CurrencyCodeISO4217;
27
27
  product: Product;
28
28
  /**
29
- * Represents the change in product quantity, not the final amount.
29
+ * Represents the change in product quantity, not the total quantity. Can be decimal. Must be greater than 0.
30
30
  */
31
31
  quantity: number;
32
32
  }
@@ -130,7 +130,7 @@ interface Product {
130
130
  interface ProductQuantity {
131
131
  product: Product;
132
132
  /**
133
- * Product quantity. Can be fractional but must be greater than 0.
133
+ * Purchased product quantity. Can be decimal. Must be greater than 0.
134
134
  */
135
135
  quantity: number;
136
136
  }
@@ -162,3 +162,10 @@ export interface UserLogin extends Base {
162
162
  user: User;
163
163
  }
164
164
 
165
+ /**
166
+ * Represents the Coveo Analytics User Logout Event. This should be sent when a user logs out of a website.
167
+ */
168
+ export interface UserLogout extends Base {
169
+ user: User;
170
+ }
171
+