fintalk-pkg 2.3.22 → 2.3.24
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 +11 -9
- package/package.json +3 -3
package/model/Customer.js
CHANGED
|
@@ -84,14 +84,14 @@ var CustomerSchema = new Schema({
|
|
|
84
84
|
userData5: String,
|
|
85
85
|
isAudioOutputEnabled: { type: Boolean, default: false },
|
|
86
86
|
optin: { type: Boolean, default: false },
|
|
87
|
-
flexChatChannel: {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
},
|
|
87
|
+
// flexChatChannel: {
|
|
88
|
+
// type: String,
|
|
89
|
+
// index: {
|
|
90
|
+
// global: true,
|
|
91
|
+
// name: `fintalk-orchestrator-${process.env.BOT}-GSI-flexChatChannel`,
|
|
92
|
+
// rangeKey: "stage"
|
|
93
|
+
// }
|
|
94
|
+
// },
|
|
95
95
|
flexUserId: String,
|
|
96
96
|
returnEvent: String,
|
|
97
97
|
localCapture: Boolean,
|
|
@@ -103,4 +103,6 @@ var CustomerSchema = new Schema({
|
|
|
103
103
|
|
|
104
104
|
/* creditCards: [{ type: mongoose.Schema.Types.ObjectId, ref: "CreditCard" }],*/
|
|
105
105
|
|
|
106
|
-
module.exports = dynamoose.model(`fintalk-orchestrator-${process.env.BOT}-customer`, CustomerSchema
|
|
106
|
+
module.exports = dynamoose.model(`fintalk-orchestrator-${process.env.BOT}-customer`, CustomerSchema, {
|
|
107
|
+
create: false, waitForActive: false
|
|
108
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fintalk-pkg",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.24",
|
|
4
4
|
"description": "Common code between projects",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"uuid": "^8.0.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"dynamoose": "~2.
|
|
27
|
+
"dynamoose": "~2.8.8",
|
|
28
28
|
"fintalk-logger": "~1.1.3"
|
|
29
29
|
}
|
|
30
|
-
}
|
|
30
|
+
}
|