@taiger-common/model 1.0.27 → 1.0.29

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.
@@ -4,6 +4,7 @@ exports.applicationSchema = void 0;
4
4
  var mongoose_1 = require("mongoose");
5
5
  exports.applicationSchema = new mongoose_1.Schema({
6
6
  programId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Program' },
7
+ studentId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User' },
7
8
  uni_assist: {
8
9
  status: {
9
10
  type: String,
@@ -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);
@@ -1,6 +1,7 @@
1
1
  import { Schema } from 'mongoose';
2
2
  export var applicationSchema = new Schema({
3
3
  programId: { type: Schema.Types.ObjectId, ref: 'Program' },
4
+ studentId: { type: Schema.Types.ObjectId, ref: 'User' },
4
5
  uni_assist: {
5
6
  status: {
6
7
  type: String,
@@ -1,4 +1,5 @@
1
1
  export * from './Allcourse';
2
+ export * from './Application';
2
3
  export * from './Audit';
3
4
  export * from './Basedocumentationslink';
4
5
  export * from './Communication';
@@ -50,6 +50,8 @@ export declare const applicationSchema: Schema<any, import("mongoose").Model<any
50
50
  closed: string;
51
51
  admission: string;
52
52
  application_year: string;
53
+ programId?: import("mongoose").Types.ObjectId | null | undefined;
54
+ studentId?: import("mongoose").Types.ObjectId | null | undefined;
53
55
  uni_assist?: {
54
56
  status: string;
55
57
  vpd_file_path: string;
@@ -58,21 +60,20 @@ export declare const applicationSchema: Schema<any, import("mongoose").Model<any
58
60
  isPaid: boolean;
59
61
  updatedAt?: NativeDate | null | undefined;
60
62
  } | null | undefined;
61
- programId?: import("mongoose").Types.ObjectId | null | undefined;
62
63
  portal_credentials?: {
63
64
  application_portal_a?: {
64
- password?: string | null | undefined;
65
65
  account?: string | null | undefined;
66
+ password?: string | null | undefined;
66
67
  } | null | undefined;
67
68
  application_portal_b?: {
68
- password?: string | null | undefined;
69
69
  account?: string | null | undefined;
70
+ password?: string | null | undefined;
70
71
  } | null | undefined;
71
72
  } | null | undefined;
72
73
  admission_letter?: {
73
74
  status: string;
74
- comments: string;
75
75
  admission_file_path: string;
76
+ comments: string;
76
77
  updatedAt?: NativeDate | null | undefined;
77
78
  } | null | undefined;
78
79
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
@@ -101,6 +102,8 @@ export declare const applicationSchema: Schema<any, import("mongoose").Model<any
101
102
  closed: string;
102
103
  admission: string;
103
104
  application_year: string;
105
+ programId?: import("mongoose").Types.ObjectId | null | undefined;
106
+ studentId?: import("mongoose").Types.ObjectId | null | undefined;
104
107
  uni_assist?: {
105
108
  status: string;
106
109
  vpd_file_path: string;
@@ -109,21 +112,20 @@ export declare const applicationSchema: Schema<any, import("mongoose").Model<any
109
112
  isPaid: boolean;
110
113
  updatedAt?: NativeDate | null | undefined;
111
114
  } | null | undefined;
112
- programId?: import("mongoose").Types.ObjectId | null | undefined;
113
115
  portal_credentials?: {
114
116
  application_portal_a?: {
115
- password?: string | null | undefined;
116
117
  account?: string | null | undefined;
118
+ password?: string | null | undefined;
117
119
  } | null | undefined;
118
120
  application_portal_b?: {
119
- password?: string | null | undefined;
120
121
  account?: string | null | undefined;
122
+ password?: string | null | undefined;
121
123
  } | null | undefined;
122
124
  } | null | undefined;
123
125
  admission_letter?: {
124
126
  status: string;
125
- comments: string;
126
127
  admission_file_path: string;
128
+ comments: string;
127
129
  updatedAt?: NativeDate | null | undefined;
128
130
  } | null | undefined;
129
131
  }>> & import("mongoose").FlatRecord<{
@@ -152,6 +154,8 @@ export declare const applicationSchema: Schema<any, import("mongoose").Model<any
152
154
  closed: string;
153
155
  admission: string;
154
156
  application_year: string;
157
+ programId?: import("mongoose").Types.ObjectId | null | undefined;
158
+ studentId?: import("mongoose").Types.ObjectId | null | undefined;
155
159
  uni_assist?: {
156
160
  status: string;
157
161
  vpd_file_path: string;
@@ -160,21 +164,20 @@ export declare const applicationSchema: Schema<any, import("mongoose").Model<any
160
164
  isPaid: boolean;
161
165
  updatedAt?: NativeDate | null | undefined;
162
166
  } | null | undefined;
163
- programId?: import("mongoose").Types.ObjectId | null | undefined;
164
167
  portal_credentials?: {
165
168
  application_portal_a?: {
166
- password?: string | null | undefined;
167
169
  account?: string | null | undefined;
170
+ password?: string | null | undefined;
168
171
  } | null | undefined;
169
172
  application_portal_b?: {
170
- password?: string | null | undefined;
171
173
  account?: string | null | undefined;
174
+ password?: string | null | undefined;
172
175
  } | null | undefined;
173
176
  } | null | undefined;
174
177
  admission_letter?: {
175
178
  status: string;
176
- comments: string;
177
179
  admission_file_path: string;
180
+ comments: string;
178
181
  updatedAt?: NativeDate | null | undefined;
179
182
  } | null | undefined;
180
183
  }> & {
@@ -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,7 +75,6 @@ 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;
@@ -85,6 +85,7 @@ export declare const documentThreadsSchema: Schema<any, import("mongoose").Model
85
85
  file_type?: string | null | undefined;
86
86
  isEssayConsultantNeeded?: boolean | null | undefined;
87
87
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
88
+ isFinalVersion: boolean;
88
89
  messages: import("mongoose").Types.DocumentArray<{
89
90
  message: string;
90
91
  file: import("mongoose").Types.DocumentArray<{
@@ -134,7 +135,6 @@ export declare const documentThreadsSchema: Schema<any, import("mongoose").Model
134
135
  outsourced_user_id: import("mongoose").Types.ObjectId[];
135
136
  pin_by_user_id: import("mongoose").Types.ObjectId[];
136
137
  flag_by_user_id: import("mongoose").Types.ObjectId[];
137
- isFinalVersion: boolean;
138
138
  isOriginAuthorDeclarationConfirmedByStudent: boolean;
139
139
  essayConsultantIds: import("mongoose").Types.ObjectId[];
140
140
  updatedAt?: NativeDate | null | undefined;
@@ -145,6 +145,7 @@ export declare const documentThreadsSchema: Schema<any, import("mongoose").Model
145
145
  file_type?: string | null | undefined;
146
146
  isEssayConsultantNeeded?: boolean | null | undefined;
147
147
  }>> & import("mongoose").FlatRecord<{
148
+ isFinalVersion: boolean;
148
149
  messages: import("mongoose").Types.DocumentArray<{
149
150
  message: string;
150
151
  file: import("mongoose").Types.DocumentArray<{
@@ -194,7 +195,6 @@ export declare const documentThreadsSchema: Schema<any, import("mongoose").Model
194
195
  outsourced_user_id: import("mongoose").Types.ObjectId[];
195
196
  pin_by_user_id: import("mongoose").Types.ObjectId[];
196
197
  flag_by_user_id: import("mongoose").Types.ObjectId[];
197
- isFinalVersion: boolean;
198
198
  isOriginAuthorDeclarationConfirmedByStudent: boolean;
199
199
  essayConsultantIds: import("mongoose").Types.ObjectId[];
200
200
  updatedAt?: NativeDate | null | undefined;
@@ -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;
@@ -27,8 +27,8 @@ import { Schema } from 'mongoose';
27
27
  export declare const surveyInputSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
28
28
  createdAt: NativeDate;
29
29
  updatedAt: NativeDate;
30
- isFinalVersion: boolean;
31
30
  studentId: import("mongoose").Types.ObjectId;
31
+ isFinalVersion: boolean;
32
32
  fileType: string;
33
33
  surveyContent: import("mongoose").Types.DocumentArray<{
34
34
  _id?: unknown;
@@ -57,8 +57,8 @@ export declare const surveyInputSchema: Schema<any, import("mongoose").Model<any
57
57
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
58
58
  createdAt: NativeDate;
59
59
  updatedAt: NativeDate;
60
- isFinalVersion: boolean;
61
60
  studentId: import("mongoose").Types.ObjectId;
61
+ isFinalVersion: boolean;
62
62
  fileType: string;
63
63
  surveyContent: import("mongoose").Types.DocumentArray<{
64
64
  _id?: unknown;
@@ -87,8 +87,8 @@ export declare const surveyInputSchema: Schema<any, import("mongoose").Model<any
87
87
  }>> & import("mongoose").FlatRecord<{
88
88
  createdAt: NativeDate;
89
89
  updatedAt: NativeDate;
90
- isFinalVersion: boolean;
91
90
  studentId: import("mongoose").Types.ObjectId;
91
+ isFinalVersion: boolean;
92
92
  fileType: string;
93
93
  surveyContent: import("mongoose").Types.DocumentArray<{
94
94
  _id?: unknown;
@@ -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;
@@ -1,4 +1,5 @@
1
1
  export * from './Allcourse';
2
+ export * from './Application';
2
3
  export * from './Audit';
3
4
  export * from './Basedocumentationslink';
4
5
  export * from './Communication';