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 +9 -1
- package/package.json +1 -1
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:
|
|
162
|
+
timestamps: false,
|
|
155
163
|
saveUnknown: ["postbackHeaders.**"]
|
|
156
164
|
});
|
|
157
165
|
|