fintalk-pkg 2.7.2 → 2.7.4

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.
@@ -21,12 +21,11 @@ var ConversationSchema = new Schema({
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 },
26
24
  }
27
25
  }]
28
26
  }
29
27
  }, {
28
+ saveUnknown: true,
30
29
  timestamps: true
31
30
  });
32
31
 
package/model/Customer.js CHANGED
@@ -133,6 +133,8 @@ var CustomerSchema = new Schema({
133
133
  noAgentsEvent: String,
134
134
  nextEvent: String,
135
135
  locale: String,
136
+ postbackHeaders: Object,
137
+ postbackUrl: String,
136
138
  },
137
139
  {
138
140
  timestamps: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fintalk-pkg",
3
- "version": "2.7.2",
3
+ "version": "2.7.4",
4
4
  "description": "Common code between projects",
5
5
  "main": "index.js",
6
6
  "scripts": {