@dynamatix/gb-schemas 2.3.318 → 2.3.320
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/dist/applications/application.model.d.ts +6 -0
- package/dist/applications/application.model.d.ts.map +1 -1
- package/dist/applications/application.model.js +1 -0
- package/dist/applications/applications-task.model.d.ts +6 -0
- package/dist/applications/applications-task.model.d.ts.map +1 -1
- package/dist/applications/applications-task.model.js +1 -0
- package/package.json +1 -1
|
@@ -42,6 +42,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
42
42
|
statusLid: mongoose.Types.ObjectId;
|
|
43
43
|
applicationNumber: string;
|
|
44
44
|
queueId: mongoose.Types.ObjectId[];
|
|
45
|
+
assignedToUserDate: NativeDate;
|
|
45
46
|
isApplicationFeePaid: string;
|
|
46
47
|
bankSolicitor: string;
|
|
47
48
|
brokerId: mongoose.Types.ObjectId;
|
|
@@ -121,6 +122,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
121
122
|
statusLid: mongoose.Types.ObjectId;
|
|
122
123
|
applicationNumber: string;
|
|
123
124
|
queueId: mongoose.Types.ObjectId[];
|
|
125
|
+
assignedToUserDate: NativeDate;
|
|
124
126
|
isApplicationFeePaid: string;
|
|
125
127
|
bankSolicitor: string;
|
|
126
128
|
brokerId: mongoose.Types.ObjectId;
|
|
@@ -200,6 +202,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
200
202
|
statusLid: mongoose.Types.ObjectId;
|
|
201
203
|
applicationNumber: string;
|
|
202
204
|
queueId: mongoose.Types.ObjectId[];
|
|
205
|
+
assignedToUserDate: NativeDate;
|
|
203
206
|
isApplicationFeePaid: string;
|
|
204
207
|
bankSolicitor: string;
|
|
205
208
|
brokerId: mongoose.Types.ObjectId;
|
|
@@ -291,6 +294,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
291
294
|
statusLid: mongoose.Types.ObjectId;
|
|
292
295
|
applicationNumber: string;
|
|
293
296
|
queueId: mongoose.Types.ObjectId[];
|
|
297
|
+
assignedToUserDate: NativeDate;
|
|
294
298
|
isApplicationFeePaid: string;
|
|
295
299
|
bankSolicitor: string;
|
|
296
300
|
brokerId: mongoose.Types.ObjectId;
|
|
@@ -370,6 +374,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
370
374
|
statusLid: mongoose.Types.ObjectId;
|
|
371
375
|
applicationNumber: string;
|
|
372
376
|
queueId: mongoose.Types.ObjectId[];
|
|
377
|
+
assignedToUserDate: NativeDate;
|
|
373
378
|
isApplicationFeePaid: string;
|
|
374
379
|
bankSolicitor: string;
|
|
375
380
|
brokerId: mongoose.Types.ObjectId;
|
|
@@ -449,6 +454,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
449
454
|
statusLid: mongoose.Types.ObjectId;
|
|
450
455
|
applicationNumber: string;
|
|
451
456
|
queueId: mongoose.Types.ObjectId[];
|
|
457
|
+
assignedToUserDate: NativeDate;
|
|
452
458
|
isApplicationFeePaid: string;
|
|
453
459
|
bankSolicitor: string;
|
|
454
460
|
brokerId: mongoose.Types.ObjectId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.model.d.ts","sourceRoot":"","sources":["../../applications/application.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"application.model.d.ts","sourceRoot":"","sources":["../../applications/application.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA+PhC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAC1E,eAAe,gBAAgB,CAAC"}
|
|
@@ -9,6 +9,7 @@ const applicationSchema = new mongoose.Schema({
|
|
|
9
9
|
required: true,
|
|
10
10
|
}],
|
|
11
11
|
assignedToUserId: { type: mongoose.Schema.Types.ObjectId, ref: "User" },
|
|
12
|
+
assignedToUserDate: { type: Date, default: null },
|
|
12
13
|
applicationId: { type: String, required: true },
|
|
13
14
|
isApplicationFeePaid: { type: String, required: true },
|
|
14
15
|
applicationNumber: { type: String, required: true },
|
|
@@ -54,6 +54,7 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
54
54
|
};
|
|
55
55
|
statusDate: string;
|
|
56
56
|
statusReason: string;
|
|
57
|
+
comments: string[];
|
|
57
58
|
status?: number | null | undefined;
|
|
58
59
|
checkflowId?: string | null | undefined;
|
|
59
60
|
instanceId?: string | null | undefined;
|
|
@@ -84,6 +85,7 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
84
85
|
};
|
|
85
86
|
statusDate: string;
|
|
86
87
|
statusReason: string;
|
|
88
|
+
comments: string[];
|
|
87
89
|
status?: number | null | undefined;
|
|
88
90
|
checkflowId?: string | null | undefined;
|
|
89
91
|
instanceId?: string | null | undefined;
|
|
@@ -114,6 +116,7 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
114
116
|
};
|
|
115
117
|
statusDate: string;
|
|
116
118
|
statusReason: string;
|
|
119
|
+
comments: string[];
|
|
117
120
|
status?: number | null | undefined;
|
|
118
121
|
checkflowId?: string | null | undefined;
|
|
119
122
|
instanceId?: string | null | undefined;
|
|
@@ -150,6 +153,7 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
150
153
|
};
|
|
151
154
|
statusDate: string;
|
|
152
155
|
statusReason: string;
|
|
156
|
+
comments: string[];
|
|
153
157
|
status?: number | null | undefined;
|
|
154
158
|
checkflowId?: string | null | undefined;
|
|
155
159
|
instanceId?: string | null | undefined;
|
|
@@ -180,6 +184,7 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
180
184
|
};
|
|
181
185
|
statusDate: string;
|
|
182
186
|
statusReason: string;
|
|
187
|
+
comments: string[];
|
|
183
188
|
status?: number | null | undefined;
|
|
184
189
|
checkflowId?: string | null | undefined;
|
|
185
190
|
instanceId?: string | null | undefined;
|
|
@@ -210,6 +215,7 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
210
215
|
};
|
|
211
216
|
statusDate: string;
|
|
212
217
|
statusReason: string;
|
|
218
|
+
comments: string[];
|
|
213
219
|
status?: number | null | undefined;
|
|
214
220
|
checkflowId?: string | null | undefined;
|
|
215
221
|
instanceId?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applications-task.model.d.ts","sourceRoot":"","sources":["../../applications/applications-task.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"applications-task.model.d.ts","sourceRoot":"","sources":["../../applications/applications-task.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAgDhC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6D,CAAC;AACzF,eAAe,qBAAqB,CAAC"}
|
|
@@ -33,6 +33,7 @@ const applicationsTaskSchema = new mongoose.Schema({
|
|
|
33
33
|
statusReason: { type: String, default: "" },
|
|
34
34
|
statusDate: { type: String, default: null },
|
|
35
35
|
additionalData: { type: additionalDataSchema, required: true },
|
|
36
|
+
comments: [{ type: String, default: "", maxlength: 2000 }],
|
|
36
37
|
createdOn: { type: String, required: true, default: () => new Date().toISOString() }
|
|
37
38
|
}, { timestamps: true });
|
|
38
39
|
applyAuditMiddleware(applicationsTaskSchema, "ApplicationsTask");
|