stentor-models 1.58.59 → 1.58.64
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.
|
@@ -12,4 +12,13 @@ export interface CrmService {
|
|
|
12
12
|
* @param extras Optional additional metadata to pass to the CRM
|
|
13
13
|
*/
|
|
14
14
|
send(externalLead: ExternalLead, extras?: Record<string, unknown>): Promise<CrmResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Updates a lead if the user provides more information after the lead has been sent.
|
|
17
|
+
*
|
|
18
|
+
* It leverages the refId on the externalLead, which is originally provided in the CrmResponse to properly
|
|
19
|
+
*
|
|
20
|
+
* @param externalLead
|
|
21
|
+
* @param extras
|
|
22
|
+
*/
|
|
23
|
+
update?(externalLead: ExternalLead, extras?: Record<string, unknown>): Promise<CrmResponse>;
|
|
15
24
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.58.
|
|
7
|
+
"version": "1.58.64",
|
|
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.
|
|
25
|
+
"typescript": "5.3.3"
|
|
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.1"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "cb109ac715af715166cdace102a6211754714651"
|
|
37
37
|
}
|