fintalk-pkg 3.0.3 → 3.0.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.
package/model/Customer.js CHANGED
@@ -149,9 +149,17 @@ var CustomerSchema = new Schema({
149
149
  locale: String,
150
150
  postbackHeaders: Object,
151
151
  postbackUrl: String,
152
+ createdAt: {
153
+ type: Date,
154
+ required: true
155
+ },
156
+ updatedAt: {
157
+ type: Date,
158
+ required: true
159
+ }
152
160
  },
153
161
  {
154
- timestamps: true,
162
+ timestamps: false,
155
163
  saveUnknown: ["postbackHeaders.**"]
156
164
  });
157
165
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fintalk-pkg",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Common code between projects",
5
5
  "main": "index.js",
6
6
  "scripts": {