@giosg/types
Advanced tools
Comparing version 11.0.2 to 12.0.0
@@ -7,2 +7,5 @@ # Changelog | ||
## 12.0.0 | ||
- Added types for new shopping cart event messages. Moved "shoppingcart_locked" to CHAT_DATA_MESSAGE_TYPES. | ||
## 11.0.2 | ||
@@ -9,0 +12,0 @@ - Added types for new "CSS Selector (JS)" rule condition. |
@@ -211,5 +211,5 @@ export type ApplicationUid = string & { | ||
export type ExperimentGroupType = (typeof EXPERIMENT_GROUP_TYPES)[number]; | ||
export declare const CHAT_STATUS_MESSAGE_TYPES: readonly ["join", "leave", "shoppingcart_locked", "action", "call_ended"]; | ||
export declare const CHAT_STATUS_MESSAGE_TYPES: readonly ["join", "leave", "action", "call_ended"]; | ||
export type ChatStatusMessageType = (typeof CHAT_STATUS_MESSAGE_TYPES)[number]; | ||
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "tag_created", "tag_deleted"]; | ||
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "tag_created", "tag_deleted", "shoppingcart_locked", "shoppingcart_item_added", "shoppingcart_item_removed"]; | ||
export type ChatDataMessageType = (typeof CHAT_DATA_MESSAGE_TYPES)[number]; | ||
@@ -216,0 +216,0 @@ export type ChatMessageType = ChatStatusMessageType | ChatDataMessageType; |
@@ -15,9 +15,3 @@ "use strict"; | ||
]; | ||
exports.CHAT_STATUS_MESSAGE_TYPES = [ | ||
"join", | ||
"leave", | ||
"shoppingcart_locked", | ||
"action", | ||
"call_ended", | ||
]; | ||
exports.CHAT_STATUS_MESSAGE_TYPES = ["join", "leave", "action", "call_ended"]; | ||
exports.CHAT_DATA_MESSAGE_TYPES = [ | ||
@@ -31,3 +25,6 @@ "msg", | ||
"tag_deleted", | ||
"shoppingcart_locked", | ||
"shoppingcart_item_added", | ||
"shoppingcart_item_removed", | ||
]; | ||
exports.USER_PERMISSION_SCOPES = ["settings", "reports", "users"]; |
@@ -211,5 +211,5 @@ export type ApplicationUid = string & { | ||
export type ExperimentGroupType = (typeof EXPERIMENT_GROUP_TYPES)[number]; | ||
export declare const CHAT_STATUS_MESSAGE_TYPES: readonly ["join", "leave", "shoppingcart_locked", "action", "call_ended"]; | ||
export declare const CHAT_STATUS_MESSAGE_TYPES: readonly ["join", "leave", "action", "call_ended"]; | ||
export type ChatStatusMessageType = (typeof CHAT_STATUS_MESSAGE_TYPES)[number]; | ||
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "tag_created", "tag_deleted"]; | ||
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "tag_created", "tag_deleted", "shoppingcart_locked", "shoppingcart_item_added", "shoppingcart_item_removed"]; | ||
export type ChatDataMessageType = (typeof CHAT_DATA_MESSAGE_TYPES)[number]; | ||
@@ -216,0 +216,0 @@ export type ChatMessageType = ChatStatusMessageType | ChatDataMessageType; |
@@ -12,9 +12,3 @@ // Types | ||
]; | ||
export const CHAT_STATUS_MESSAGE_TYPES = [ | ||
"join", | ||
"leave", | ||
"shoppingcart_locked", | ||
"action", | ||
"call_ended", | ||
]; | ||
export const CHAT_STATUS_MESSAGE_TYPES = ["join", "leave", "action", "call_ended"]; | ||
export const CHAT_DATA_MESSAGE_TYPES = [ | ||
@@ -28,3 +22,6 @@ "msg", | ||
"tag_deleted", | ||
"shoppingcart_locked", | ||
"shoppingcart_item_added", | ||
"shoppingcart_item_removed", | ||
]; | ||
export const USER_PERMISSION_SCOPES = ["settings", "reports", "users"]; |
{ | ||
"name": "@giosg/types", | ||
"version": "11.0.2", | ||
"version": "12.0.0", | ||
"description": "TypeScript interfaces for GiosgAPI", | ||
@@ -5,0 +5,0 @@ "main": "lib/cjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
709414
11244