@taiger-common/model 1.0.26 → 1.0.28
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/README.md +1 -1
- package/dist/cjs/model/Application.js +76 -0
- package/dist/cjs/model/Documentthread.js +1 -0
- package/dist/cjs/model/index.js +1 -0
- package/dist/esm/model/Application.js +73 -0
- package/dist/esm/model/Documentthread.js +1 -0
- package/dist/esm/model/index.js +1 -0
- package/dist/types/model/Application.d.ts +184 -0
- package/dist/types/model/Complaint.d.ts +3 -3
- package/dist/types/model/Documentthread.d.ts +6 -3
- package/dist/types/model/Program.d.ts +12 -12
- package/dist/types/model/Ticket.d.ts +3 -3
- package/dist/types/model/index.d.ts +1 -0
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,4 +21,4 @@ git push origin main --tags
|
|
|
21
21
|
npm publish
|
|
22
22
|
|
|
23
23
|
# Concat command for powershell (please modify the commit message)
|
|
24
|
-
git add .; git commit -m "fix:
|
|
24
|
+
git add .; git commit -m "fix: copy applications to new collection"; git push origin main; npm run build; npm version patch; git push origin main --tags; npm publish
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.applicationSchema = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
exports.applicationSchema = new mongoose_1.Schema({
|
|
6
|
+
programId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Program' },
|
|
7
|
+
uni_assist: {
|
|
8
|
+
status: {
|
|
9
|
+
type: String,
|
|
10
|
+
default: 'notstarted'
|
|
11
|
+
},
|
|
12
|
+
vpd_file_path: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: ''
|
|
15
|
+
},
|
|
16
|
+
vpd_paid_confirmation_file_path: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: ''
|
|
19
|
+
},
|
|
20
|
+
vpd_paid_confirmation_file_status: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: ''
|
|
23
|
+
},
|
|
24
|
+
isPaid: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: false
|
|
27
|
+
},
|
|
28
|
+
updatedAt: Date
|
|
29
|
+
},
|
|
30
|
+
portal_credentials: {
|
|
31
|
+
application_portal_a: {
|
|
32
|
+
account: { type: String, select: false, trim: true },
|
|
33
|
+
password: { type: String, select: false, trim: true }
|
|
34
|
+
},
|
|
35
|
+
application_portal_b: {
|
|
36
|
+
account: { type: String, select: false, trim: true },
|
|
37
|
+
password: { type: String, select: false, trim: true }
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
doc_modification_thread: [
|
|
41
|
+
{
|
|
42
|
+
isFinalVersion: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: false
|
|
45
|
+
},
|
|
46
|
+
latest_message_left_by_id: {
|
|
47
|
+
type: String,
|
|
48
|
+
default: ''
|
|
49
|
+
},
|
|
50
|
+
doc_thread_id: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Documentthread' },
|
|
51
|
+
updatedAt: Date,
|
|
52
|
+
createdAt: Date
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
reject_reason: {
|
|
56
|
+
type: String,
|
|
57
|
+
default: ''
|
|
58
|
+
},
|
|
59
|
+
admission_letter: {
|
|
60
|
+
status: {
|
|
61
|
+
type: String,
|
|
62
|
+
default: 'notstarted'
|
|
63
|
+
},
|
|
64
|
+
admission_file_path: {
|
|
65
|
+
type: String,
|
|
66
|
+
default: ''
|
|
67
|
+
},
|
|
68
|
+
comments: { type: String, default: '' },
|
|
69
|
+
updatedAt: Date
|
|
70
|
+
},
|
|
71
|
+
finalEnrolment: { type: Boolean, default: false },
|
|
72
|
+
decided: { type: String, default: '-' },
|
|
73
|
+
closed: { type: String, default: '-' },
|
|
74
|
+
admission: { type: String, default: '-' },
|
|
75
|
+
application_year: { type: String, default: '' }
|
|
76
|
+
});
|
|
@@ -5,6 +5,7 @@ var mongoose_1 = require("mongoose");
|
|
|
5
5
|
exports.documentThreadsSchema = new mongoose_1.Schema({
|
|
6
6
|
student_id: { type: mongoose_1.Schema.Types.ObjectId, require: true, ref: 'User' },
|
|
7
7
|
program_id: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Program' },
|
|
8
|
+
application_id: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Application' },
|
|
8
9
|
outsourced_user_id: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'User' }],
|
|
9
10
|
pin_by_user_id: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'User' }],
|
|
10
11
|
flag_by_user_id: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'User' }],
|
package/dist/cjs/model/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./Allcourse"), exports);
|
|
18
|
+
__exportStar(require("./Application"), exports);
|
|
18
19
|
__exportStar(require("./Audit"), exports);
|
|
19
20
|
__exportStar(require("./Basedocumentationslink"), exports);
|
|
20
21
|
__exportStar(require("./Communication"), exports);
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Schema } from 'mongoose';
|
|
2
|
+
export var applicationSchema = new Schema({
|
|
3
|
+
programId: { type: Schema.Types.ObjectId, ref: 'Program' },
|
|
4
|
+
uni_assist: {
|
|
5
|
+
status: {
|
|
6
|
+
type: String,
|
|
7
|
+
default: 'notstarted'
|
|
8
|
+
},
|
|
9
|
+
vpd_file_path: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: ''
|
|
12
|
+
},
|
|
13
|
+
vpd_paid_confirmation_file_path: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: ''
|
|
16
|
+
},
|
|
17
|
+
vpd_paid_confirmation_file_status: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: ''
|
|
20
|
+
},
|
|
21
|
+
isPaid: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: false
|
|
24
|
+
},
|
|
25
|
+
updatedAt: Date
|
|
26
|
+
},
|
|
27
|
+
portal_credentials: {
|
|
28
|
+
application_portal_a: {
|
|
29
|
+
account: { type: String, select: false, trim: true },
|
|
30
|
+
password: { type: String, select: false, trim: true }
|
|
31
|
+
},
|
|
32
|
+
application_portal_b: {
|
|
33
|
+
account: { type: String, select: false, trim: true },
|
|
34
|
+
password: { type: String, select: false, trim: true }
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
doc_modification_thread: [
|
|
38
|
+
{
|
|
39
|
+
isFinalVersion: {
|
|
40
|
+
type: Boolean,
|
|
41
|
+
default: false
|
|
42
|
+
},
|
|
43
|
+
latest_message_left_by_id: {
|
|
44
|
+
type: String,
|
|
45
|
+
default: ''
|
|
46
|
+
},
|
|
47
|
+
doc_thread_id: { type: Schema.Types.ObjectId, ref: 'Documentthread' },
|
|
48
|
+
updatedAt: Date,
|
|
49
|
+
createdAt: Date
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
reject_reason: {
|
|
53
|
+
type: String,
|
|
54
|
+
default: ''
|
|
55
|
+
},
|
|
56
|
+
admission_letter: {
|
|
57
|
+
status: {
|
|
58
|
+
type: String,
|
|
59
|
+
default: 'notstarted'
|
|
60
|
+
},
|
|
61
|
+
admission_file_path: {
|
|
62
|
+
type: String,
|
|
63
|
+
default: ''
|
|
64
|
+
},
|
|
65
|
+
comments: { type: String, default: '' },
|
|
66
|
+
updatedAt: Date
|
|
67
|
+
},
|
|
68
|
+
finalEnrolment: { type: Boolean, default: false },
|
|
69
|
+
decided: { type: String, default: '-' },
|
|
70
|
+
closed: { type: String, default: '-' },
|
|
71
|
+
admission: { type: String, default: '-' },
|
|
72
|
+
application_year: { type: String, default: '' }
|
|
73
|
+
});
|
|
@@ -2,6 +2,7 @@ import { Schema } from 'mongoose';
|
|
|
2
2
|
export var documentThreadsSchema = new Schema({
|
|
3
3
|
student_id: { type: Schema.Types.ObjectId, require: true, ref: 'User' },
|
|
4
4
|
program_id: { type: Schema.Types.ObjectId, ref: 'Program' },
|
|
5
|
+
application_id: { type: Schema.Types.ObjectId, ref: 'Application' },
|
|
5
6
|
outsourced_user_id: [{ type: Schema.Types.ObjectId, ref: 'User' }],
|
|
6
7
|
pin_by_user_id: [{ type: Schema.Types.ObjectId, ref: 'User' }],
|
|
7
8
|
flag_by_user_id: [{ type: Schema.Types.ObjectId, ref: 'User' }],
|
package/dist/esm/model/index.js
CHANGED
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
|
+
import { Schema } from 'mongoose';
|
|
27
|
+
export declare const applicationSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
28
|
+
doc_modification_thread: import("mongoose").Types.DocumentArray<{
|
|
29
|
+
isFinalVersion: boolean;
|
|
30
|
+
latest_message_left_by_id: string;
|
|
31
|
+
createdAt?: NativeDate | null | undefined;
|
|
32
|
+
updatedAt?: NativeDate | null | undefined;
|
|
33
|
+
doc_thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
34
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
35
|
+
isFinalVersion: boolean;
|
|
36
|
+
latest_message_left_by_id: string;
|
|
37
|
+
createdAt?: NativeDate | null | undefined;
|
|
38
|
+
updatedAt?: NativeDate | null | undefined;
|
|
39
|
+
doc_thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
40
|
+
}> & {
|
|
41
|
+
isFinalVersion: boolean;
|
|
42
|
+
latest_message_left_by_id: string;
|
|
43
|
+
createdAt?: NativeDate | null | undefined;
|
|
44
|
+
updatedAt?: NativeDate | null | undefined;
|
|
45
|
+
doc_thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
46
|
+
}>;
|
|
47
|
+
reject_reason: string;
|
|
48
|
+
finalEnrolment: boolean;
|
|
49
|
+
decided: string;
|
|
50
|
+
closed: string;
|
|
51
|
+
admission: string;
|
|
52
|
+
application_year: string;
|
|
53
|
+
programId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
54
|
+
uni_assist?: {
|
|
55
|
+
status: string;
|
|
56
|
+
vpd_file_path: string;
|
|
57
|
+
vpd_paid_confirmation_file_path: string;
|
|
58
|
+
vpd_paid_confirmation_file_status: string;
|
|
59
|
+
isPaid: boolean;
|
|
60
|
+
updatedAt?: NativeDate | null | undefined;
|
|
61
|
+
} | null | undefined;
|
|
62
|
+
portal_credentials?: {
|
|
63
|
+
application_portal_a?: {
|
|
64
|
+
account?: string | null | undefined;
|
|
65
|
+
password?: string | null | undefined;
|
|
66
|
+
} | null | undefined;
|
|
67
|
+
application_portal_b?: {
|
|
68
|
+
account?: string | null | undefined;
|
|
69
|
+
password?: string | null | undefined;
|
|
70
|
+
} | null | undefined;
|
|
71
|
+
} | null | undefined;
|
|
72
|
+
admission_letter?: {
|
|
73
|
+
status: string;
|
|
74
|
+
admission_file_path: string;
|
|
75
|
+
comments: string;
|
|
76
|
+
updatedAt?: NativeDate | null | undefined;
|
|
77
|
+
} | null | undefined;
|
|
78
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
79
|
+
doc_modification_thread: import("mongoose").Types.DocumentArray<{
|
|
80
|
+
isFinalVersion: boolean;
|
|
81
|
+
latest_message_left_by_id: string;
|
|
82
|
+
createdAt?: NativeDate | null | undefined;
|
|
83
|
+
updatedAt?: NativeDate | null | undefined;
|
|
84
|
+
doc_thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
85
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
86
|
+
isFinalVersion: boolean;
|
|
87
|
+
latest_message_left_by_id: string;
|
|
88
|
+
createdAt?: NativeDate | null | undefined;
|
|
89
|
+
updatedAt?: NativeDate | null | undefined;
|
|
90
|
+
doc_thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
91
|
+
}> & {
|
|
92
|
+
isFinalVersion: boolean;
|
|
93
|
+
latest_message_left_by_id: string;
|
|
94
|
+
createdAt?: NativeDate | null | undefined;
|
|
95
|
+
updatedAt?: NativeDate | null | undefined;
|
|
96
|
+
doc_thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
97
|
+
}>;
|
|
98
|
+
reject_reason: string;
|
|
99
|
+
finalEnrolment: boolean;
|
|
100
|
+
decided: string;
|
|
101
|
+
closed: string;
|
|
102
|
+
admission: string;
|
|
103
|
+
application_year: string;
|
|
104
|
+
programId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
105
|
+
uni_assist?: {
|
|
106
|
+
status: string;
|
|
107
|
+
vpd_file_path: string;
|
|
108
|
+
vpd_paid_confirmation_file_path: string;
|
|
109
|
+
vpd_paid_confirmation_file_status: string;
|
|
110
|
+
isPaid: boolean;
|
|
111
|
+
updatedAt?: NativeDate | null | undefined;
|
|
112
|
+
} | null | undefined;
|
|
113
|
+
portal_credentials?: {
|
|
114
|
+
application_portal_a?: {
|
|
115
|
+
account?: string | null | undefined;
|
|
116
|
+
password?: string | null | undefined;
|
|
117
|
+
} | null | undefined;
|
|
118
|
+
application_portal_b?: {
|
|
119
|
+
account?: string | null | undefined;
|
|
120
|
+
password?: string | null | undefined;
|
|
121
|
+
} | null | undefined;
|
|
122
|
+
} | null | undefined;
|
|
123
|
+
admission_letter?: {
|
|
124
|
+
status: string;
|
|
125
|
+
admission_file_path: string;
|
|
126
|
+
comments: string;
|
|
127
|
+
updatedAt?: NativeDate | null | undefined;
|
|
128
|
+
} | null | undefined;
|
|
129
|
+
}>> & import("mongoose").FlatRecord<{
|
|
130
|
+
doc_modification_thread: import("mongoose").Types.DocumentArray<{
|
|
131
|
+
isFinalVersion: boolean;
|
|
132
|
+
latest_message_left_by_id: string;
|
|
133
|
+
createdAt?: NativeDate | null | undefined;
|
|
134
|
+
updatedAt?: NativeDate | null | undefined;
|
|
135
|
+
doc_thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
136
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
137
|
+
isFinalVersion: boolean;
|
|
138
|
+
latest_message_left_by_id: string;
|
|
139
|
+
createdAt?: NativeDate | null | undefined;
|
|
140
|
+
updatedAt?: NativeDate | null | undefined;
|
|
141
|
+
doc_thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
142
|
+
}> & {
|
|
143
|
+
isFinalVersion: boolean;
|
|
144
|
+
latest_message_left_by_id: string;
|
|
145
|
+
createdAt?: NativeDate | null | undefined;
|
|
146
|
+
updatedAt?: NativeDate | null | undefined;
|
|
147
|
+
doc_thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
148
|
+
}>;
|
|
149
|
+
reject_reason: string;
|
|
150
|
+
finalEnrolment: boolean;
|
|
151
|
+
decided: string;
|
|
152
|
+
closed: string;
|
|
153
|
+
admission: string;
|
|
154
|
+
application_year: string;
|
|
155
|
+
programId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
156
|
+
uni_assist?: {
|
|
157
|
+
status: string;
|
|
158
|
+
vpd_file_path: string;
|
|
159
|
+
vpd_paid_confirmation_file_path: string;
|
|
160
|
+
vpd_paid_confirmation_file_status: string;
|
|
161
|
+
isPaid: boolean;
|
|
162
|
+
updatedAt?: NativeDate | null | undefined;
|
|
163
|
+
} | null | undefined;
|
|
164
|
+
portal_credentials?: {
|
|
165
|
+
application_portal_a?: {
|
|
166
|
+
account?: string | null | undefined;
|
|
167
|
+
password?: string | null | undefined;
|
|
168
|
+
} | null | undefined;
|
|
169
|
+
application_portal_b?: {
|
|
170
|
+
account?: string | null | undefined;
|
|
171
|
+
password?: string | null | undefined;
|
|
172
|
+
} | null | undefined;
|
|
173
|
+
} | null | undefined;
|
|
174
|
+
admission_letter?: {
|
|
175
|
+
status: string;
|
|
176
|
+
admission_file_path: string;
|
|
177
|
+
comments: string;
|
|
178
|
+
updatedAt?: NativeDate | null | undefined;
|
|
179
|
+
} | null | undefined;
|
|
180
|
+
}> & {
|
|
181
|
+
_id: import("mongoose").Types.ObjectId;
|
|
182
|
+
} & {
|
|
183
|
+
__v: number;
|
|
184
|
+
}>;
|
|
@@ -32,9 +32,9 @@ export declare const complaintSchema: Schema<any, import("mongoose").Model<any,
|
|
|
32
32
|
} & {
|
|
33
33
|
description: string;
|
|
34
34
|
createdAt: NativeDate;
|
|
35
|
+
status: string;
|
|
35
36
|
category: string;
|
|
36
37
|
requester_id: import("mongoose").Types.ObjectId;
|
|
37
|
-
status: string;
|
|
38
38
|
title: string;
|
|
39
39
|
messages: import("mongoose").Types.DocumentArray<{
|
|
40
40
|
message: string;
|
|
@@ -88,9 +88,9 @@ export declare const complaintSchema: Schema<any, import("mongoose").Model<any,
|
|
|
88
88
|
} & {
|
|
89
89
|
description: string;
|
|
90
90
|
createdAt: NativeDate;
|
|
91
|
+
status: string;
|
|
91
92
|
category: string;
|
|
92
93
|
requester_id: import("mongoose").Types.ObjectId;
|
|
93
|
-
status: string;
|
|
94
94
|
title: string;
|
|
95
95
|
messages: import("mongoose").Types.DocumentArray<{
|
|
96
96
|
message: string;
|
|
@@ -144,9 +144,9 @@ export declare const complaintSchema: Schema<any, import("mongoose").Model<any,
|
|
|
144
144
|
} & {
|
|
145
145
|
description: string;
|
|
146
146
|
createdAt: NativeDate;
|
|
147
|
+
status: string;
|
|
147
148
|
category: string;
|
|
148
149
|
requester_id: import("mongoose").Types.ObjectId;
|
|
149
|
-
status: string;
|
|
150
150
|
title: string;
|
|
151
151
|
messages: import("mongoose").Types.DocumentArray<{
|
|
152
152
|
message: string;
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
27
|
export declare const documentThreadsSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
28
|
+
isFinalVersion: boolean;
|
|
28
29
|
messages: import("mongoose").Types.DocumentArray<{
|
|
29
30
|
message: string;
|
|
30
31
|
file: import("mongoose").Types.DocumentArray<{
|
|
@@ -74,16 +75,17 @@ export declare const documentThreadsSchema: Schema<any, import("mongoose").Model
|
|
|
74
75
|
outsourced_user_id: import("mongoose").Types.ObjectId[];
|
|
75
76
|
pin_by_user_id: import("mongoose").Types.ObjectId[];
|
|
76
77
|
flag_by_user_id: import("mongoose").Types.ObjectId[];
|
|
77
|
-
isFinalVersion: boolean;
|
|
78
78
|
isOriginAuthorDeclarationConfirmedByStudent: boolean;
|
|
79
79
|
essayConsultantIds: import("mongoose").Types.ObjectId[];
|
|
80
80
|
updatedAt?: NativeDate | null | undefined;
|
|
81
81
|
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
82
82
|
isOriginAuthorDeclarationConfirmedByStudentTimestamp?: NativeDate | null | undefined;
|
|
83
83
|
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
84
|
+
application_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
84
85
|
file_type?: string | null | undefined;
|
|
85
86
|
isEssayConsultantNeeded?: boolean | null | undefined;
|
|
86
87
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
88
|
+
isFinalVersion: boolean;
|
|
87
89
|
messages: import("mongoose").Types.DocumentArray<{
|
|
88
90
|
message: string;
|
|
89
91
|
file: import("mongoose").Types.DocumentArray<{
|
|
@@ -133,16 +135,17 @@ export declare const documentThreadsSchema: Schema<any, import("mongoose").Model
|
|
|
133
135
|
outsourced_user_id: import("mongoose").Types.ObjectId[];
|
|
134
136
|
pin_by_user_id: import("mongoose").Types.ObjectId[];
|
|
135
137
|
flag_by_user_id: import("mongoose").Types.ObjectId[];
|
|
136
|
-
isFinalVersion: boolean;
|
|
137
138
|
isOriginAuthorDeclarationConfirmedByStudent: boolean;
|
|
138
139
|
essayConsultantIds: import("mongoose").Types.ObjectId[];
|
|
139
140
|
updatedAt?: NativeDate | null | undefined;
|
|
140
141
|
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
141
142
|
isOriginAuthorDeclarationConfirmedByStudentTimestamp?: NativeDate | null | undefined;
|
|
142
143
|
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
144
|
+
application_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
143
145
|
file_type?: string | null | undefined;
|
|
144
146
|
isEssayConsultantNeeded?: boolean | null | undefined;
|
|
145
147
|
}>> & import("mongoose").FlatRecord<{
|
|
148
|
+
isFinalVersion: boolean;
|
|
146
149
|
messages: import("mongoose").Types.DocumentArray<{
|
|
147
150
|
message: string;
|
|
148
151
|
file: import("mongoose").Types.DocumentArray<{
|
|
@@ -192,13 +195,13 @@ export declare const documentThreadsSchema: Schema<any, import("mongoose").Model
|
|
|
192
195
|
outsourced_user_id: import("mongoose").Types.ObjectId[];
|
|
193
196
|
pin_by_user_id: import("mongoose").Types.ObjectId[];
|
|
194
197
|
flag_by_user_id: import("mongoose").Types.ObjectId[];
|
|
195
|
-
isFinalVersion: boolean;
|
|
196
198
|
isOriginAuthorDeclarationConfirmedByStudent: boolean;
|
|
197
199
|
essayConsultantIds: import("mongoose").Types.ObjectId[];
|
|
198
200
|
updatedAt?: NativeDate | null | undefined;
|
|
199
201
|
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
200
202
|
isOriginAuthorDeclarationConfirmedByStudentTimestamp?: NativeDate | null | undefined;
|
|
201
203
|
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
204
|
+
application_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
202
205
|
file_type?: string | null | undefined;
|
|
203
206
|
isEssayConsultantNeeded?: boolean | null | undefined;
|
|
204
207
|
}> & {
|
|
@@ -255,6 +255,10 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
255
255
|
germanTestHandLater: boolean;
|
|
256
256
|
tags: string[];
|
|
257
257
|
updatedAt?: NativeDate | null | undefined;
|
|
258
|
+
uni_assist?: string | null | undefined;
|
|
259
|
+
application_portal_a?: string | null | undefined;
|
|
260
|
+
application_portal_b?: string | null | undefined;
|
|
261
|
+
comments?: string | null | undefined;
|
|
258
262
|
country?: string | null | undefined;
|
|
259
263
|
isArchiv?: boolean | null | undefined;
|
|
260
264
|
degree?: string | null | undefined;
|
|
@@ -263,7 +267,6 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
263
267
|
gpa_requirement?: string | null | undefined;
|
|
264
268
|
application_start?: string | null | undefined;
|
|
265
269
|
application_deadline?: string | null | undefined;
|
|
266
|
-
uni_assist?: string | null | undefined;
|
|
267
270
|
toefl?: string | null | undefined;
|
|
268
271
|
toefl_reading?: number | null | undefined;
|
|
269
272
|
toefl_listening?: number | null | undefined;
|
|
@@ -301,9 +304,6 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
301
304
|
module_description_required?: string | null | undefined;
|
|
302
305
|
ects_requirements?: string | null | undefined;
|
|
303
306
|
special_notes?: string | null | undefined;
|
|
304
|
-
comments?: string | null | undefined;
|
|
305
|
-
application_portal_a?: string | null | undefined;
|
|
306
|
-
application_portal_b?: string | null | undefined;
|
|
307
307
|
application_portal_a_instructions?: string | null | undefined;
|
|
308
308
|
application_portal_b_instructions?: string | null | undefined;
|
|
309
309
|
uni_assist_link?: string | null | undefined;
|
|
@@ -330,6 +330,10 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
330
330
|
germanTestHandLater: boolean;
|
|
331
331
|
tags: string[];
|
|
332
332
|
updatedAt?: NativeDate | null | undefined;
|
|
333
|
+
uni_assist?: string | null | undefined;
|
|
334
|
+
application_portal_a?: string | null | undefined;
|
|
335
|
+
application_portal_b?: string | null | undefined;
|
|
336
|
+
comments?: string | null | undefined;
|
|
333
337
|
country?: string | null | undefined;
|
|
334
338
|
isArchiv?: boolean | null | undefined;
|
|
335
339
|
degree?: string | null | undefined;
|
|
@@ -338,7 +342,6 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
338
342
|
gpa_requirement?: string | null | undefined;
|
|
339
343
|
application_start?: string | null | undefined;
|
|
340
344
|
application_deadline?: string | null | undefined;
|
|
341
|
-
uni_assist?: string | null | undefined;
|
|
342
345
|
toefl?: string | null | undefined;
|
|
343
346
|
toefl_reading?: number | null | undefined;
|
|
344
347
|
toefl_listening?: number | null | undefined;
|
|
@@ -376,9 +379,6 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
376
379
|
module_description_required?: string | null | undefined;
|
|
377
380
|
ects_requirements?: string | null | undefined;
|
|
378
381
|
special_notes?: string | null | undefined;
|
|
379
|
-
comments?: string | null | undefined;
|
|
380
|
-
application_portal_a?: string | null | undefined;
|
|
381
|
-
application_portal_b?: string | null | undefined;
|
|
382
382
|
application_portal_a_instructions?: string | null | undefined;
|
|
383
383
|
application_portal_b_instructions?: string | null | undefined;
|
|
384
384
|
uni_assist_link?: string | null | undefined;
|
|
@@ -405,6 +405,10 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
405
405
|
germanTestHandLater: boolean;
|
|
406
406
|
tags: string[];
|
|
407
407
|
updatedAt?: NativeDate | null | undefined;
|
|
408
|
+
uni_assist?: string | null | undefined;
|
|
409
|
+
application_portal_a?: string | null | undefined;
|
|
410
|
+
application_portal_b?: string | null | undefined;
|
|
411
|
+
comments?: string | null | undefined;
|
|
408
412
|
country?: string | null | undefined;
|
|
409
413
|
isArchiv?: boolean | null | undefined;
|
|
410
414
|
degree?: string | null | undefined;
|
|
@@ -413,7 +417,6 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
413
417
|
gpa_requirement?: string | null | undefined;
|
|
414
418
|
application_start?: string | null | undefined;
|
|
415
419
|
application_deadline?: string | null | undefined;
|
|
416
|
-
uni_assist?: string | null | undefined;
|
|
417
420
|
toefl?: string | null | undefined;
|
|
418
421
|
toefl_reading?: number | null | undefined;
|
|
419
422
|
toefl_listening?: number | null | undefined;
|
|
@@ -451,9 +454,6 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
451
454
|
module_description_required?: string | null | undefined;
|
|
452
455
|
ects_requirements?: string | null | undefined;
|
|
453
456
|
special_notes?: string | null | undefined;
|
|
454
|
-
comments?: string | null | undefined;
|
|
455
|
-
application_portal_a?: string | null | undefined;
|
|
456
|
-
application_portal_b?: string | null | undefined;
|
|
457
457
|
application_portal_a_instructions?: string | null | undefined;
|
|
458
458
|
application_portal_b_instructions?: string | null | undefined;
|
|
459
459
|
uni_assist_link?: string | null | undefined;
|
|
@@ -33,8 +33,8 @@ export declare const ticketSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
33
33
|
type: string;
|
|
34
34
|
description: string;
|
|
35
35
|
createdAt: NativeDate;
|
|
36
|
-
requester_id: import("mongoose").Types.ObjectId;
|
|
37
36
|
status: string;
|
|
37
|
+
requester_id: import("mongoose").Types.ObjectId;
|
|
38
38
|
feedback: string;
|
|
39
39
|
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
40
40
|
resolver_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
@@ -45,8 +45,8 @@ export declare const ticketSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
45
45
|
type: string;
|
|
46
46
|
description: string;
|
|
47
47
|
createdAt: NativeDate;
|
|
48
|
-
requester_id: import("mongoose").Types.ObjectId;
|
|
49
48
|
status: string;
|
|
49
|
+
requester_id: import("mongoose").Types.ObjectId;
|
|
50
50
|
feedback: string;
|
|
51
51
|
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
52
52
|
resolver_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
@@ -57,8 +57,8 @@ export declare const ticketSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
57
57
|
type: string;
|
|
58
58
|
description: string;
|
|
59
59
|
createdAt: NativeDate;
|
|
60
|
-
requester_id: import("mongoose").Types.ObjectId;
|
|
61
60
|
status: string;
|
|
61
|
+
requester_id: import("mongoose").Types.ObjectId;
|
|
62
62
|
feedback: string;
|
|
63
63
|
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
64
64
|
resolver_id?: import("mongoose").Types.ObjectId | null | undefined;
|