fintalk-pkg 2.3.25 → 2.4.26

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.
@@ -0,0 +1 @@
1
+ * @fintalk-ai/codeowners
@@ -0,0 +1,33 @@
1
+ name: Sonarqube Checks
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - '*'
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+
10
+ jobs:
11
+ build:
12
+ name: Build
13
+ runs-on: self-hosted
14
+ permissions: read-all
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ with:
18
+ fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
19
+ - uses: sonarsource/sonarqube-scan-action@master
20
+ with:
21
+ args: >
22
+ -Dsonar.projectKey=fintalk-ai_${{ github.event.repository.name }}
23
+ env:
24
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
25
+ SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
26
+ # If you wish to fail your job when the Quality Gate is red, uncomment the
27
+ # following lines. This would typically be used to fail a deployment.
28
+ # We do not recommend to use this in a pull request. Prefer using pull request
29
+ # decoration instead.
30
+ # - uses: sonarsource/sonarqube-quality-gate-action@master
31
+ # timeout-minutes: 5
32
+ # env:
33
+ # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
package/model/Customer.js CHANGED
@@ -112,10 +112,22 @@ var CustomerSchema = new Schema({
112
112
  },
113
113
  },
114
114
  salesForceAffinityId: String,
115
+ chatRoomId: {
116
+ type: String,
117
+ index: {
118
+ global: true,
119
+ name: `fintalk-orchestrator-${process.env.BOT}-GSI-chatRoomId`,
120
+ rangeKey: "stage"
121
+ }
122
+ },
123
+ chatId: String,
124
+ chatProvider: String,
125
+ chatData: String,
115
126
  localCapture: Boolean,
116
127
  returnEvent: String,
117
128
  noAgentsEvent: String,
118
129
  nextEvent: String,
130
+ locale: String,
119
131
  },
120
132
  {
121
133
  timestamps: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fintalk-pkg",
3
- "version": "2.3.25",
3
+ "version": "2.4.26",
4
4
  "description": "Common code between projects",
5
5
  "main": "index.js",
6
6
  "scripts": {