@cellaware/utils 8.8.5 → 8.10.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/dist/chatwms/alert.d.ts +2 -0
- package/dist/chatwms/alert.js +2 -0
- package/dist/chatwms/user.d.ts +4 -0
- package/dist/chatwms/user.js +2 -0
- package/dist/llm/cost.d.ts +1 -1
- package/package.json +1 -1
package/dist/chatwms/alert.d.ts
CHANGED
|
@@ -12,12 +12,14 @@ export declare const ALERT_VISIBILITY_PUBLIC = "public";
|
|
|
12
12
|
* good sometimes, but could be very annoying otherwise. The strategy allows users to
|
|
13
13
|
* configure this behavior.
|
|
14
14
|
*
|
|
15
|
+
* - temporary: will send once when the condition is met and will automatically be deleted
|
|
15
16
|
* - once: will send once when the condition is met and will not send again until the condition
|
|
16
17
|
* is no longer met
|
|
17
18
|
* - change: if the condition is met, will send if there was a meaningful change in the data
|
|
18
19
|
* since last execution
|
|
19
20
|
* - always: sends every time as long as the condition is met
|
|
20
21
|
*/
|
|
22
|
+
export declare const ALERT_STRATEGY_TEMPORARY = "temporary";
|
|
21
23
|
export declare const ALERT_STRATEGY_ONCE = "once";
|
|
22
24
|
export declare const ALERT_STRATEGY_CHANGE = "change";
|
|
23
25
|
export declare const ALERT_STRATEGY_ALWAYS = "always";
|
package/dist/chatwms/alert.js
CHANGED
|
@@ -11,12 +11,14 @@ export const ALERT_VISIBILITY_PUBLIC = 'public';
|
|
|
11
11
|
* good sometimes, but could be very annoying otherwise. The strategy allows users to
|
|
12
12
|
* configure this behavior.
|
|
13
13
|
*
|
|
14
|
+
* - temporary: will send once when the condition is met and will automatically be deleted
|
|
14
15
|
* - once: will send once when the condition is met and will not send again until the condition
|
|
15
16
|
* is no longer met
|
|
16
17
|
* - change: if the condition is met, will send if there was a meaningful change in the data
|
|
17
18
|
* since last execution
|
|
18
19
|
* - always: sends every time as long as the condition is met
|
|
19
20
|
*/
|
|
21
|
+
export const ALERT_STRATEGY_TEMPORARY = 'temporary';
|
|
20
22
|
export const ALERT_STRATEGY_ONCE = 'once';
|
|
21
23
|
export const ALERT_STRATEGY_CHANGE = 'change';
|
|
22
24
|
export const ALERT_STRATEGY_ALWAYS = 'always';
|
package/dist/chatwms/user.d.ts
CHANGED
|
@@ -13,6 +13,9 @@ export declare const CHATWMS_DEFAULT_LANGUAGE: string;
|
|
|
13
13
|
export type ChatWMSTheme = 'light' | 'dark';
|
|
14
14
|
export declare const CHATWMS_THEME_LIGHT: ChatWMSTheme;
|
|
15
15
|
export declare const CHATWMS_THEME_DARK: ChatWMSTheme;
|
|
16
|
+
export type ChatWMSAnalystOption = 'conversational' | 'direct';
|
|
17
|
+
export declare const CHATWMS_ANALYST_OPTION_CONVERSATIONAL: ChatWMSAnalystOption;
|
|
18
|
+
export declare const CHATWMS_ANALYST_OPTION_DIRECT: ChatWMSAnalystOption;
|
|
16
19
|
export type ChatWMSDateFormat = 'MMDDYYYY' | 'DDMMYYYY' | 'YYYYMMDD';
|
|
17
20
|
export declare const CHATWMS_DEFAULT_DATE_FORMAT: ChatWMSDateFormat;
|
|
18
21
|
export interface ChatWMSUserSettings {
|
|
@@ -20,6 +23,7 @@ export interface ChatWMSUserSettings {
|
|
|
20
23
|
userDetails: string;
|
|
21
24
|
language: string;
|
|
22
25
|
theme: ChatWMSTheme;
|
|
26
|
+
analystOption?: ChatWMSAnalystOption;
|
|
23
27
|
developer?: boolean;
|
|
24
28
|
dateFormat?: ChatWMSDateFormat;
|
|
25
29
|
clientId: string;
|
package/dist/chatwms/user.js
CHANGED
|
@@ -28,6 +28,8 @@ export function chatwmsExtractUserDataFromHeaders(request) {
|
|
|
28
28
|
export const CHATWMS_DEFAULT_LANGUAGE = 'English';
|
|
29
29
|
export const CHATWMS_THEME_LIGHT = 'light';
|
|
30
30
|
export const CHATWMS_THEME_DARK = 'dark';
|
|
31
|
+
export const CHATWMS_ANALYST_OPTION_CONVERSATIONAL = 'conversational';
|
|
32
|
+
export const CHATWMS_ANALYST_OPTION_DIRECT = 'direct';
|
|
31
33
|
export const CHATWMS_DEFAULT_DATE_FORMAT = 'MMDDYYYY';
|
|
32
34
|
export function chatwmsInitUserSettings() {
|
|
33
35
|
return {
|
package/dist/llm/cost.d.ts
CHANGED