@dynamatix/gb-schemas 1.3.265 → 1.3.268
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.
|
@@ -33,15 +33,10 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
33
33
|
} & {
|
|
34
34
|
applicationId: mongoose.Types.ObjectId;
|
|
35
35
|
createdOn: string;
|
|
36
|
-
|
|
37
|
-
statusDate: string;
|
|
38
|
-
checkflowId: string;
|
|
39
|
-
instanceId: string;
|
|
40
|
-
statusReason: string;
|
|
41
|
-
sdditionalData: {
|
|
36
|
+
additionalData: {
|
|
42
37
|
statusLid: mongoose.Types.ObjectId;
|
|
43
|
-
requesterId:
|
|
44
|
-
responderId:
|
|
38
|
+
requesterId: mongoose.Types.ObjectId;
|
|
39
|
+
responderId: mongoose.Types.ObjectId;
|
|
45
40
|
concernTypeLid: mongoose.Types.ObjectId;
|
|
46
41
|
concernComments: string;
|
|
47
42
|
resolvedComments: string;
|
|
@@ -54,21 +49,21 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
54
49
|
responderFileName: string;
|
|
55
50
|
respondedDate: string;
|
|
56
51
|
};
|
|
52
|
+
status: number;
|
|
53
|
+
statusDate: string;
|
|
54
|
+
checkflowId: string;
|
|
55
|
+
instanceId: string;
|
|
56
|
+
statusReason: string;
|
|
57
57
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
58
58
|
createdAt: NativeDate;
|
|
59
59
|
updatedAt: NativeDate;
|
|
60
60
|
} & {
|
|
61
61
|
applicationId: mongoose.Types.ObjectId;
|
|
62
62
|
createdOn: string;
|
|
63
|
-
|
|
64
|
-
statusDate: string;
|
|
65
|
-
checkflowId: string;
|
|
66
|
-
instanceId: string;
|
|
67
|
-
statusReason: string;
|
|
68
|
-
sdditionalData: {
|
|
63
|
+
additionalData: {
|
|
69
64
|
statusLid: mongoose.Types.ObjectId;
|
|
70
|
-
requesterId:
|
|
71
|
-
responderId:
|
|
65
|
+
requesterId: mongoose.Types.ObjectId;
|
|
66
|
+
responderId: mongoose.Types.ObjectId;
|
|
72
67
|
concernTypeLid: mongoose.Types.ObjectId;
|
|
73
68
|
concernComments: string;
|
|
74
69
|
resolvedComments: string;
|
|
@@ -81,21 +76,21 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
81
76
|
responderFileName: string;
|
|
82
77
|
respondedDate: string;
|
|
83
78
|
};
|
|
79
|
+
status: number;
|
|
80
|
+
statusDate: string;
|
|
81
|
+
checkflowId: string;
|
|
82
|
+
instanceId: string;
|
|
83
|
+
statusReason: string;
|
|
84
84
|
}, {}> & {
|
|
85
85
|
createdAt: NativeDate;
|
|
86
86
|
updatedAt: NativeDate;
|
|
87
87
|
} & {
|
|
88
88
|
applicationId: mongoose.Types.ObjectId;
|
|
89
89
|
createdOn: string;
|
|
90
|
-
|
|
91
|
-
statusDate: string;
|
|
92
|
-
checkflowId: string;
|
|
93
|
-
instanceId: string;
|
|
94
|
-
statusReason: string;
|
|
95
|
-
sdditionalData: {
|
|
90
|
+
additionalData: {
|
|
96
91
|
statusLid: mongoose.Types.ObjectId;
|
|
97
|
-
requesterId:
|
|
98
|
-
responderId:
|
|
92
|
+
requesterId: mongoose.Types.ObjectId;
|
|
93
|
+
responderId: mongoose.Types.ObjectId;
|
|
99
94
|
concernTypeLid: mongoose.Types.ObjectId;
|
|
100
95
|
concernComments: string;
|
|
101
96
|
resolvedComments: string;
|
|
@@ -108,6 +103,11 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
108
103
|
responderFileName: string;
|
|
109
104
|
respondedDate: string;
|
|
110
105
|
};
|
|
106
|
+
status: number;
|
|
107
|
+
statusDate: string;
|
|
108
|
+
checkflowId: string;
|
|
109
|
+
instanceId: string;
|
|
110
|
+
statusReason: string;
|
|
111
111
|
} & {
|
|
112
112
|
_id: mongoose.Types.ObjectId;
|
|
113
113
|
} & {
|
|
@@ -120,15 +120,10 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
120
120
|
} & {
|
|
121
121
|
applicationId: mongoose.Types.ObjectId;
|
|
122
122
|
createdOn: string;
|
|
123
|
-
|
|
124
|
-
statusDate: string;
|
|
125
|
-
checkflowId: string;
|
|
126
|
-
instanceId: string;
|
|
127
|
-
statusReason: string;
|
|
128
|
-
sdditionalData: {
|
|
123
|
+
additionalData: {
|
|
129
124
|
statusLid: mongoose.Types.ObjectId;
|
|
130
|
-
requesterId:
|
|
131
|
-
responderId:
|
|
125
|
+
requesterId: mongoose.Types.ObjectId;
|
|
126
|
+
responderId: mongoose.Types.ObjectId;
|
|
132
127
|
concernTypeLid: mongoose.Types.ObjectId;
|
|
133
128
|
concernComments: string;
|
|
134
129
|
resolvedComments: string;
|
|
@@ -141,21 +136,21 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
141
136
|
responderFileName: string;
|
|
142
137
|
respondedDate: string;
|
|
143
138
|
};
|
|
139
|
+
status: number;
|
|
140
|
+
statusDate: string;
|
|
141
|
+
checkflowId: string;
|
|
142
|
+
instanceId: string;
|
|
143
|
+
statusReason: string;
|
|
144
144
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
145
145
|
createdAt: NativeDate;
|
|
146
146
|
updatedAt: NativeDate;
|
|
147
147
|
} & {
|
|
148
148
|
applicationId: mongoose.Types.ObjectId;
|
|
149
149
|
createdOn: string;
|
|
150
|
-
|
|
151
|
-
statusDate: string;
|
|
152
|
-
checkflowId: string;
|
|
153
|
-
instanceId: string;
|
|
154
|
-
statusReason: string;
|
|
155
|
-
sdditionalData: {
|
|
150
|
+
additionalData: {
|
|
156
151
|
statusLid: mongoose.Types.ObjectId;
|
|
157
|
-
requesterId:
|
|
158
|
-
responderId:
|
|
152
|
+
requesterId: mongoose.Types.ObjectId;
|
|
153
|
+
responderId: mongoose.Types.ObjectId;
|
|
159
154
|
concernTypeLid: mongoose.Types.ObjectId;
|
|
160
155
|
concernComments: string;
|
|
161
156
|
resolvedComments: string;
|
|
@@ -168,21 +163,21 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
168
163
|
responderFileName: string;
|
|
169
164
|
respondedDate: string;
|
|
170
165
|
};
|
|
166
|
+
status: number;
|
|
167
|
+
statusDate: string;
|
|
168
|
+
checkflowId: string;
|
|
169
|
+
instanceId: string;
|
|
170
|
+
statusReason: string;
|
|
171
171
|
}>, {}> & mongoose.FlatRecord<{
|
|
172
172
|
createdAt: NativeDate;
|
|
173
173
|
updatedAt: NativeDate;
|
|
174
174
|
} & {
|
|
175
175
|
applicationId: mongoose.Types.ObjectId;
|
|
176
176
|
createdOn: string;
|
|
177
|
-
|
|
178
|
-
statusDate: string;
|
|
179
|
-
checkflowId: string;
|
|
180
|
-
instanceId: string;
|
|
181
|
-
statusReason: string;
|
|
182
|
-
sdditionalData: {
|
|
177
|
+
additionalData: {
|
|
183
178
|
statusLid: mongoose.Types.ObjectId;
|
|
184
|
-
requesterId:
|
|
185
|
-
responderId:
|
|
179
|
+
requesterId: mongoose.Types.ObjectId;
|
|
180
|
+
responderId: mongoose.Types.ObjectId;
|
|
186
181
|
concernTypeLid: mongoose.Types.ObjectId;
|
|
187
182
|
concernComments: string;
|
|
188
183
|
resolvedComments: string;
|
|
@@ -195,6 +190,11 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
195
190
|
responderFileName: string;
|
|
196
191
|
respondedDate: string;
|
|
197
192
|
};
|
|
193
|
+
status: number;
|
|
194
|
+
statusDate: string;
|
|
195
|
+
checkflowId: string;
|
|
196
|
+
instanceId: string;
|
|
197
|
+
statusReason: string;
|
|
198
198
|
}> & {
|
|
199
199
|
_id: mongoose.Types.ObjectId;
|
|
200
200
|
} & {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import mongoose from "mongoose";
|
|
2
2
|
// Additional Data schema for the nested object
|
|
3
3
|
const additionalDataSchema = new mongoose.Schema({
|
|
4
|
-
requesterId: { type:
|
|
5
|
-
responderId: { type:
|
|
4
|
+
requesterId: { type: mongoose.Schema.Types.ObjectId, ref: "User", required: true },
|
|
5
|
+
responderId: { type: mongoose.Schema.Types.ObjectId, ref: "User", required: true },
|
|
6
6
|
statusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Status", required: true },
|
|
7
7
|
concernTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "ConcernType", required: true },
|
|
8
8
|
concernComments: { type: String, required: true },
|
|
@@ -23,7 +23,7 @@ const applicationsTaskSchema = new mongoose.Schema({
|
|
|
23
23
|
status: { type: Number, required: true },
|
|
24
24
|
statusReason: { type: String, default: "" },
|
|
25
25
|
statusDate: { type: String, default: null },
|
|
26
|
-
|
|
26
|
+
additionalData: { type: additionalDataSchema, required: true },
|
|
27
27
|
createdOn: { type: String, required: true }
|
|
28
28
|
}, { timestamps: true });
|
|
29
29
|
const ApplicationsTaskModel = mongoose.model("ApplicationsTask", applicationsTaskSchema);
|