fintalk-pkg 2.7.0 → 2.7.2

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.
@@ -15,12 +15,14 @@ var ConversationSchema = new Schema({
15
15
  schema: [{
16
16
  "type": Object,
17
17
  "schema": {
18
- message: { type: String, require: true },
18
+ message: { type: String, require: false },
19
19
  messageType: { type: String, require: true },
20
20
  contentType: { type: String },
21
21
  timestamp: { type: Date, required: true },
22
22
  isFallback: { type: Boolean, required: false },
23
23
  intentName: { type: String, required: false },
24
+ bubbleId: { type: String, required: false },
25
+ bubbleVersion: { type: String, required: false },
24
26
  }
25
27
  }]
26
28
  }
package/model/Customer.js CHANGED
@@ -77,7 +77,7 @@ var CustomerSchema = new Schema({
77
77
  engine: { type: String, default: "flow" },
78
78
  bubbleId: String,
79
79
  bubbleVersion: String,
80
- bubbleShareHistory: Boolean,
80
+ bubbleHistoryStrategy: String,
81
81
  checkoutIntent: String,
82
82
  pendingTransaction: Boolean,
83
83
  rocketChatId: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fintalk-pkg",
3
- "version": "2.7.0",
3
+ "version": "2.7.2",
4
4
  "description": "Common code between projects",
5
5
  "main": "index.js",
6
6
  "scripts": {