stentor-models 1.58.43 → 1.58.60

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.43",
7
+ "version": "1.58.60",
8
8
  "description": "Models for 📣 stentor",
9
9
  "types": "lib/index",
10
10
  "typings": "lib/index",
@@ -33,5 +33,5 @@
33
33
  "dependencies": {
34
34
  "@xapp/patterns": "2.0.1"
35
35
  },
36
- "gitHead": "fdd11462ee2b9b0b3ca8bf7ee56f8ef472351b02"
36
+ "gitHead": "820e4a8858e081123212a4e810db60363561805c"
37
37
  }