tango-api-schema 1.0.25 → 1.0.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -20,31 +20,7 @@ const clientSchema = new mongoose.Schema(
20
20
  userDetail: {
21
21
  userId: {
22
22
  type: mongoose.Schema.Types.ObjectId,
23
- ref: "User",
24
- },
25
- firstName: {
26
- type: String,
27
- trim: true,
28
- },
29
- lastName: {
30
- type: String,
31
- trim: true,
32
- },
33
- phone: {
34
- type: String,
35
- trim: true,
36
- required: true,
37
- unique: true,
38
- },
39
- email: {
40
- type: String,
41
- trim: true,
42
- required: true,
43
- unique: true,
44
- },
45
- dialCode: {
46
- type: String,
47
- trim: true,
23
+ ref: 'User',
48
24
  },
49
25
  },
50
26
  active: {
@@ -189,11 +165,6 @@ const clientSchema = new mongoose.Schema(
189
165
  type: Number,
190
166
  default: 0,
191
167
  },
192
- liveConfig: {
193
- // live one - Every 1 hour, three - every three hour
194
- type: String,
195
- default: 0,
196
- },
197
168
  ticketReopen: {
198
169
  type: Number,
199
170
  default: 0,