stentor-models 1.59.35 → 1.59.39
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/lib/Crm.d.ts +15 -1
- package/package.json +3 -3
package/lib/Crm.d.ts
CHANGED
|
@@ -5,11 +5,25 @@ export interface LeadFormField {
|
|
|
5
5
|
value: string;
|
|
6
6
|
}
|
|
7
7
|
export interface ExternalLead {
|
|
8
|
+
/**
|
|
9
|
+
* The user ID that generated the lead
|
|
10
|
+
*/
|
|
11
|
+
userId?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The session ID that generated the lead
|
|
14
|
+
*/
|
|
15
|
+
sessionId?: string;
|
|
8
16
|
/**
|
|
9
17
|
* Fields such as name and email
|
|
10
18
|
*/
|
|
11
19
|
fields: LeadFormField[];
|
|
20
|
+
/**
|
|
21
|
+
* Optional source, typically chat-widget or form-widget
|
|
22
|
+
*/
|
|
12
23
|
source?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Optional company
|
|
26
|
+
*/
|
|
13
27
|
company?: string;
|
|
14
28
|
/**
|
|
15
29
|
* Transcript of the conversation
|
|
@@ -17,7 +31,7 @@ export interface ExternalLead {
|
|
|
17
31
|
*/
|
|
18
32
|
transcript?: Message[];
|
|
19
33
|
/**
|
|
20
|
-
* Optional reference ID
|
|
34
|
+
* Optional reference ID in the 3rd party CRM or FSM
|
|
21
35
|
*/
|
|
22
36
|
refId?: string;
|
|
23
37
|
/**
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.59.
|
|
7
|
+
"version": "1.59.39",
|
|
8
8
|
"description": "Models for 📣 stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"typings": "lib/index",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@xapp/config": "0.2.3",
|
|
23
23
|
"rollup": "3.29.4",
|
|
24
24
|
"tslib": "2.6.2",
|
|
25
|
-
"typescript": "5.4.
|
|
25
|
+
"typescript": "5.4.5"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"api": "api-extractor run --local",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@xapp/patterns": "2.0.2"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "bf9a978f23d75a0d405f7ab534b6e0f524c99a10"
|
|
37
37
|
}
|