tango-api-schema 2.0.32 → 2.0.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.
package/package.json
CHANGED
package/schema/camera.model.js
CHANGED
package/schema/store.model.js
CHANGED
|
@@ -16,6 +16,10 @@ const tangoTickets = new mongoose.Schema(
|
|
|
16
16
|
enum: ['infra', 'highcount', 'lowcount', 'installation']
|
|
17
17
|
},
|
|
18
18
|
infraTicketDetails: {
|
|
19
|
+
issueIdentifiedBy:{
|
|
20
|
+
type:String,
|
|
21
|
+
enum:["client",'tango',"automated"]
|
|
22
|
+
},
|
|
19
23
|
addressingClient: {
|
|
20
24
|
type: mongoose.Types.ObjectId
|
|
21
25
|
},
|
|
@@ -96,7 +100,7 @@ const tangoTickets = new mongoose.Schema(
|
|
|
96
100
|
},
|
|
97
101
|
status: {
|
|
98
102
|
type: String,
|
|
99
|
-
enum: ['open', 'inprogress', '
|
|
103
|
+
enum: ['open', 'inprogress', 'closed'],
|
|
100
104
|
default: 'open',
|
|
101
105
|
},
|
|
102
106
|
},
|
package/schema/user.model.js
CHANGED
|
@@ -11,6 +11,9 @@ const user = new mongoose.Schema(
|
|
|
11
11
|
required: true,
|
|
12
12
|
unique: true,
|
|
13
13
|
},
|
|
14
|
+
userProfile:{
|
|
15
|
+
type:String
|
|
16
|
+
},
|
|
14
17
|
countryCode: {
|
|
15
18
|
type: String,
|
|
16
19
|
},
|
|
@@ -40,14 +43,22 @@ const user = new mongoose.Schema(
|
|
|
40
43
|
// },
|
|
41
44
|
// },
|
|
42
45
|
userType:{
|
|
43
|
-
type: String,
|
|
44
|
-
enum:['tango','client']
|
|
46
|
+
type: String,
|
|
47
|
+
enum:['tango','client']
|
|
45
48
|
},
|
|
46
49
|
password: {
|
|
47
50
|
typ: String
|
|
48
51
|
},
|
|
49
52
|
refreshToken:{
|
|
50
53
|
type: String
|
|
54
|
+
},
|
|
55
|
+
twoFactorAuthentication : {
|
|
56
|
+
code: {
|
|
57
|
+
type: String
|
|
58
|
+
},
|
|
59
|
+
isEnable : {
|
|
60
|
+
type: Boolean
|
|
61
|
+
}
|
|
51
62
|
}
|
|
52
63
|
|
|
53
64
|
},
|