shuttlepro-shared 1.3.92 → 1.3.94

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.
@@ -1,9 +1,6 @@
1
1
  // repositories/interactive.repository.js
2
2
  const Interactive = require("../../models/Interactive");
3
- const {
4
- getRedisData,
5
- setRedisData,
6
- } = require("../../common/services/redis.service");
3
+ const { getRedisData, setRedisData } = require("../../config/redis");
7
4
 
8
5
  const CACHE_KEY_ALL = "interactive_all";
9
6
 
@@ -61,6 +61,9 @@ const AutomationAction = new Schema({
61
61
  deleteComment: {
62
62
  enabled: { type: Boolean, default: false },
63
63
  },
64
+ hideComment: {
65
+ enabled: { type: Boolean, default: false },
66
+ },
64
67
  closeChat: {
65
68
  enabled: { type: Boolean, default: false },
66
69
  },
package/models.js CHANGED
@@ -43,6 +43,7 @@ const FormTemplate = require("./models/FormTemplate");
43
43
  const GoogleClientInfo = require("./models/GoogleClientInfo");
44
44
  const GoogleCredentials = require("./models/GoogleCredentials");
45
45
  const Integration = require("./models/Integration");
46
+ const Interactive = require("./models/Interactive");
46
47
  const InternalComments = require("./models/InternalComments");
47
48
  const InternalThreads = require("./models/InternalThreads");
48
49
  const JobDesign = require("./models/JobDesign");
@@ -151,6 +152,7 @@ module.exports = {
151
152
  GoogleClientInfo,
152
153
  GoogleCredentials,
153
154
  Integration,
155
+ Interactive,
154
156
  InternalComments,
155
157
  InternalThreads,
156
158
  JobDesign,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.3.92",
3
+ "version": "1.3.94",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {