shuttlepro-shared 1.5.32 → 1.5.34

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.
@@ -249,6 +249,7 @@ const AutomationCondition = new Schema({
249
249
  "sendReceipt",
250
250
  "shipperAdvice",
251
251
  "delivered",
252
+ "sendOTP",
252
253
  "other",
253
254
  "newCommentPost",
254
255
  "profile",
@@ -114,6 +114,12 @@ const EmailFeedbackReportSchema = new Schema(
114
114
  ref: "SocialWorkflow",
115
115
  default: null,
116
116
  },
117
+ // Google Sheets sync metadata (row updated as answers come in)
118
+ googleSheet: {
119
+ spreadsheetId: { type: String, default: null },
120
+ monthKey: { type: String, default: null },
121
+ rowNumber: { type: Number, default: null },
122
+ },
117
123
  },
118
124
  { timestamps: true, toJSON: { virtuals: true }, toObject: { virtuals: true } }
119
125
  );
@@ -11,6 +11,14 @@ const userSessionSchema = new mongoose.Schema(
11
11
  type: String,
12
12
  default: "",
13
13
  },
14
+ deviceId: {
15
+ type: String,
16
+ default: "",
17
+ },
18
+ isMobile: {
19
+ type: Boolean,
20
+ default: false,
21
+ },
14
22
  ipAddress: {
15
23
  type: String,
16
24
  default: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.5.32",
3
+ "version": "1.5.34",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {