tango-api-schema 2.0.53 → 2.0.55
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/invoice.model.js
CHANGED
|
@@ -15,16 +15,23 @@ const tangoTickets = new mongoose.Schema(
|
|
|
15
15
|
type: String,
|
|
16
16
|
enum: ['infra', 'highcount', 'lowcount', 'installation']
|
|
17
17
|
},
|
|
18
|
-
hibernation:{
|
|
19
|
-
type:Date
|
|
18
|
+
hibernation: {
|
|
19
|
+
type: Date
|
|
20
20
|
},
|
|
21
|
+
attachments: [
|
|
22
|
+
{
|
|
23
|
+
filePath: {
|
|
24
|
+
type: String
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
],
|
|
21
28
|
ticketDetails: {
|
|
22
|
-
issueIdentifiedDate:{
|
|
23
|
-
type:Date
|
|
29
|
+
issueIdentifiedDate: {
|
|
30
|
+
type: Date
|
|
24
31
|
},
|
|
25
|
-
issueIdentifiedBy:{
|
|
26
|
-
type:String,
|
|
27
|
-
enum:["client",'tango',"automated"]
|
|
32
|
+
issueIdentifiedBy: {
|
|
33
|
+
type: String,
|
|
34
|
+
enum: ["client", 'tango', "automated"]
|
|
28
35
|
},
|
|
29
36
|
addressingClient: {
|
|
30
37
|
type: mongoose.Types.ObjectId
|
|
@@ -55,13 +62,13 @@ const tangoTickets = new mongoose.Schema(
|
|
|
55
62
|
},
|
|
56
63
|
ticketActivity: [
|
|
57
64
|
{
|
|
58
|
-
statusCheckAlertTime:{
|
|
65
|
+
statusCheckAlertTime: {
|
|
59
66
|
type: Date,
|
|
60
67
|
},
|
|
61
|
-
statusCheckReply:{
|
|
68
|
+
statusCheckReply: {
|
|
62
69
|
type: String,
|
|
63
70
|
},
|
|
64
|
-
hibernationDays:{
|
|
71
|
+
hibernationDays: {
|
|
65
72
|
type: String,
|
|
66
73
|
},
|
|
67
74
|
actionType: {
|
|
@@ -82,19 +89,19 @@ const tangoTickets = new mongoose.Schema(
|
|
|
82
89
|
String
|
|
83
90
|
}
|
|
84
91
|
},
|
|
85
|
-
reasons:[
|
|
86
|
-
|
|
87
|
-
|
|
92
|
+
reasons: [
|
|
93
|
+
{
|
|
94
|
+
primaryIssue: {
|
|
88
95
|
type: String
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
96
|
+
},
|
|
97
|
+
secondaryIssue: [
|
|
98
|
+
{
|
|
99
|
+
name: {
|
|
100
|
+
type: String
|
|
101
|
+
}
|
|
94
102
|
}
|
|
95
|
-
|
|
96
|
-
]
|
|
97
|
-
}]
|
|
103
|
+
]
|
|
104
|
+
}]
|
|
98
105
|
}
|
|
99
106
|
],
|
|
100
107
|
basicDetails: {
|
|
@@ -112,6 +119,10 @@ const tangoTickets = new mongoose.Schema(
|
|
|
112
119
|
type: String,
|
|
113
120
|
trim: true,
|
|
114
121
|
},
|
|
122
|
+
address:{
|
|
123
|
+
type: String,
|
|
124
|
+
trim: true,
|
|
125
|
+
}
|
|
115
126
|
},
|
|
116
127
|
status: {
|
|
117
128
|
type: String,
|