@taiger-common/model 1.0.57 → 1.0.59

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.
Files changed (100) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +23 -23
  3. package/dist/cjs/model/User.js +1 -0
  4. package/dist/esm/index.js +0 -2
  5. package/dist/esm/model/Documentthread.js +4 -2
  6. package/dist/esm/model/Program.js +78 -326
  7. package/dist/esm/model/User.js +124 -62
  8. package/dist/esm/model/index.js +1 -1
  9. package/dist/types/index.d.ts +0 -2
  10. package/dist/types/model/Allcourse.d.ts +27 -6
  11. package/dist/types/model/Audit.d.ts +43 -18
  12. package/dist/types/model/Basedocumentationslink.d.ts +16 -11
  13. package/dist/types/model/Communication.d.ts +71 -22
  14. package/dist/types/model/Complaint.d.ts +170 -25
  15. package/dist/types/model/Course.d.ts +49 -23
  16. package/dist/types/model/Docspage.d.ts +37 -14
  17. package/dist/types/model/Documentation.d.ts +28 -15
  18. package/dist/types/model/Documentthread.d.ts +178 -35
  19. package/dist/types/model/Event.d.ts +54 -15
  20. package/dist/types/model/Internaldoc.d.ts +28 -15
  21. package/dist/types/model/Interval.d.ts +26 -13
  22. package/dist/types/model/Interview.d.ts +50 -23
  23. package/dist/types/model/InterviewSurveyResponse.d.ts +62 -20
  24. package/dist/types/model/Keywordset.d.ts +44 -14
  25. package/dist/types/model/Note.d.ts +13 -11
  26. package/dist/types/model/Permission.d.ts +56 -21
  27. package/dist/types/model/Program.d.ts +232 -387
  28. package/dist/types/model/Programrequirement.d.ts +140 -37
  29. package/dist/types/model/ResponseTime.d.ts +17 -12
  30. package/dist/types/model/SurveyInput.d.ts +90 -23
  31. package/dist/types/model/Template.d.ts +13 -8
  32. package/dist/types/model/Tenant.d.ts +13 -10
  33. package/dist/types/model/Ticket.d.ts +38 -16
  34. package/dist/types/model/Token.d.ts +12 -10
  35. package/dist/types/model/User.d.ts +1 -2148
  36. package/dist/types/model/index.d.ts +1 -1
  37. package/dist/umd/index.js +1 -1
  38. package/package.json +1 -1
  39. package/dist/esm/api/account.js +0 -32
  40. package/dist/esm/api/applications.js +0 -43
  41. package/dist/esm/api/audit.js +0 -5
  42. package/dist/esm/api/auth.js +0 -16
  43. package/dist/esm/api/common.js +0 -27
  44. package/dist/esm/api/communications.js +0 -12
  45. package/dist/esm/api/courses.js +0 -20
  46. package/dist/esm/api/crm.js +0 -84
  47. package/dist/esm/api/documentThreads.js +0 -41
  48. package/dist/esm/api/documentations.js +0 -30
  49. package/dist/esm/api/events.js +0 -19
  50. package/dist/esm/api/index.js +0 -25
  51. package/dist/esm/api/interviews.js +0 -32
  52. package/dist/esm/api/meetings.js +0 -17
  53. package/dist/esm/api/notes.js +0 -5
  54. package/dist/esm/api/permissions.js +0 -6
  55. package/dist/esm/api/portals.js +0 -21
  56. package/dist/esm/api/programRequirements.js +0 -23
  57. package/dist/esm/api/programs.js +0 -90
  58. package/dist/esm/api/search.js +0 -21
  59. package/dist/esm/api/serialized.js +0 -13
  60. package/dist/esm/api/students.js +0 -26
  61. package/dist/esm/api/teams.js +0 -45
  62. package/dist/esm/api/tickets.js +0 -18
  63. package/dist/esm/api/users.js +0 -39
  64. package/dist/esm/api/widgets.js +0 -18
  65. package/dist/esm/constants/users.js +0 -9
  66. package/dist/esm/model/Application.js +0 -75
  67. package/dist/esm/schema/index.js +0 -6
  68. package/dist/esm/schema/models.js +0 -520
  69. package/dist/esm/schema/serialized.js +0 -199
  70. package/dist/types/api/account.d.ts +0 -503
  71. package/dist/types/api/applications.d.ts +0 -3417
  72. package/dist/types/api/audit.d.ts +0 -89
  73. package/dist/types/api/auth.d.ts +0 -3411
  74. package/dist/types/api/common.d.ts +0 -90
  75. package/dist/types/api/communications.d.ts +0 -617
  76. package/dist/types/api/courses.d.ts +0 -849
  77. package/dist/types/api/crm.d.ts +0 -1113
  78. package/dist/types/api/documentThreads.d.ts +0 -38257
  79. package/dist/types/api/documentations.d.ts +0 -933
  80. package/dist/types/api/events.d.ts +0 -7209
  81. package/dist/types/api/index.d.ts +0 -25
  82. package/dist/types/api/interviews.d.ts +0 -802
  83. package/dist/types/api/meetings.d.ts +0 -49
  84. package/dist/types/api/notes.d.ts +0 -85
  85. package/dist/types/api/permissions.d.ts +0 -195
  86. package/dist/types/api/portals.d.ts +0 -770
  87. package/dist/types/api/programRequirements.d.ts +0 -2685
  88. package/dist/types/api/programs.d.ts +0 -3046
  89. package/dist/types/api/search.d.ts +0 -292
  90. package/dist/types/api/serialized.d.ts +0 -7
  91. package/dist/types/api/students.d.ts +0 -307
  92. package/dist/types/api/teams.d.ts +0 -3671
  93. package/dist/types/api/tickets.d.ts +0 -960
  94. package/dist/types/api/users.d.ts +0 -6960
  95. package/dist/types/api/widgets.d.ts +0 -234
  96. package/dist/types/constants/users.d.ts +0 -9
  97. package/dist/types/model/Application.d.ts +0 -85
  98. package/dist/types/schema/index.d.ts +0 -6
  99. package/dist/types/schema/models.d.ts +0 -2038
  100. package/dist/types/schema/serialized.d.ts +0 -8823
@@ -1,770 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const PortalCredentialsStudentSchema: z.ZodObject<{
3
- _id: z.ZodOptional<z.ZodString>;
4
- firstname: z.ZodOptional<z.ZodString>;
5
- lastname: z.ZodOptional<z.ZodString>;
6
- agents: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
7
- editors: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
8
- }, "strip", z.ZodTypeAny, {
9
- _id?: string | undefined;
10
- agents?: unknown[] | undefined;
11
- editors?: unknown[] | undefined;
12
- firstname?: string | undefined;
13
- lastname?: string | undefined;
14
- }, {
15
- _id?: string | undefined;
16
- agents?: unknown[] | undefined;
17
- editors?: unknown[] | undefined;
18
- firstname?: string | undefined;
19
- lastname?: string | undefined;
20
- }>;
21
- export declare const GetPortalCredentialsResponseSchema: z.ZodObject<{
22
- success: z.ZodBoolean;
23
- data: z.ZodOptional<z.ZodObject<{
24
- applications: z.ZodArray<z.ZodObject<{
25
- _id: z.ZodString;
26
- programId: z.ZodOptional<z.ZodString>;
27
- studentId: z.ZodOptional<z.ZodString>;
28
- uni_assist: z.ZodOptional<z.ZodObject<{
29
- status: z.ZodOptional<z.ZodString>;
30
- vpd_file_path: z.ZodOptional<z.ZodString>;
31
- vpd_paid_confirmation_file_path: z.ZodOptional<z.ZodString>;
32
- vpd_paid_confirmation_file_status: z.ZodOptional<z.ZodString>;
33
- isPaid: z.ZodOptional<z.ZodBoolean>;
34
- updatedAt: z.ZodOptional<z.ZodDate>;
35
- }, "strip", z.ZodTypeAny, {
36
- updatedAt?: Date | undefined;
37
- status?: string | undefined;
38
- vpd_file_path?: string | undefined;
39
- vpd_paid_confirmation_file_path?: string | undefined;
40
- vpd_paid_confirmation_file_status?: string | undefined;
41
- isPaid?: boolean | undefined;
42
- }, {
43
- updatedAt?: Date | undefined;
44
- status?: string | undefined;
45
- vpd_file_path?: string | undefined;
46
- vpd_paid_confirmation_file_path?: string | undefined;
47
- vpd_paid_confirmation_file_status?: string | undefined;
48
- isPaid?: boolean | undefined;
49
- }>>;
50
- portal_credentials: z.ZodOptional<z.ZodObject<{
51
- application_portal_a: z.ZodOptional<z.ZodObject<{
52
- account: z.ZodOptional<z.ZodString>;
53
- password: z.ZodOptional<z.ZodString>;
54
- }, "strip", z.ZodTypeAny, {
55
- password?: string | undefined;
56
- account?: string | undefined;
57
- }, {
58
- password?: string | undefined;
59
- account?: string | undefined;
60
- }>>;
61
- application_portal_b: z.ZodOptional<z.ZodObject<{
62
- account: z.ZodOptional<z.ZodString>;
63
- password: z.ZodOptional<z.ZodString>;
64
- }, "strip", z.ZodTypeAny, {
65
- password?: string | undefined;
66
- account?: string | undefined;
67
- }, {
68
- password?: string | undefined;
69
- account?: string | undefined;
70
- }>>;
71
- }, "strip", z.ZodTypeAny, {
72
- application_portal_a?: {
73
- password?: string | undefined;
74
- account?: string | undefined;
75
- } | undefined;
76
- application_portal_b?: {
77
- password?: string | undefined;
78
- account?: string | undefined;
79
- } | undefined;
80
- }, {
81
- application_portal_a?: {
82
- password?: string | undefined;
83
- account?: string | undefined;
84
- } | undefined;
85
- application_portal_b?: {
86
- password?: string | undefined;
87
- account?: string | undefined;
88
- } | undefined;
89
- }>>;
90
- doc_modification_thread: z.ZodOptional<z.ZodArray<z.ZodObject<{
91
- isFinalVersion: z.ZodOptional<z.ZodBoolean>;
92
- latest_message_left_by_id: z.ZodOptional<z.ZodString>;
93
- doc_thread_id: z.ZodOptional<z.ZodString>;
94
- updatedAt: z.ZodOptional<z.ZodDate>;
95
- createdAt: z.ZodOptional<z.ZodDate>;
96
- }, "strip", z.ZodTypeAny, {
97
- updatedAt?: Date | undefined;
98
- isFinalVersion?: boolean | undefined;
99
- latest_message_left_by_id?: string | undefined;
100
- doc_thread_id?: string | undefined;
101
- createdAt?: Date | undefined;
102
- }, {
103
- updatedAt?: Date | undefined;
104
- isFinalVersion?: boolean | undefined;
105
- latest_message_left_by_id?: string | undefined;
106
- doc_thread_id?: string | undefined;
107
- createdAt?: Date | undefined;
108
- }>, "many">>;
109
- reject_reason: z.ZodOptional<z.ZodString>;
110
- admission_letter: z.ZodOptional<z.ZodObject<{
111
- status: z.ZodOptional<z.ZodString>;
112
- admission_file_path: z.ZodOptional<z.ZodString>;
113
- comments: z.ZodOptional<z.ZodString>;
114
- updatedAt: z.ZodOptional<z.ZodDate>;
115
- }, "strip", z.ZodTypeAny, {
116
- comments?: string | undefined;
117
- updatedAt?: Date | undefined;
118
- status?: string | undefined;
119
- admission_file_path?: string | undefined;
120
- }, {
121
- comments?: string | undefined;
122
- updatedAt?: Date | undefined;
123
- status?: string | undefined;
124
- admission_file_path?: string | undefined;
125
- }>>;
126
- finalEnrolment: z.ZodOptional<z.ZodBoolean>;
127
- decided: z.ZodOptional<z.ZodString>;
128
- closed: z.ZodOptional<z.ZodString>;
129
- admission: z.ZodOptional<z.ZodString>;
130
- application_year: z.ZodOptional<z.ZodString>;
131
- isLocked: z.ZodOptional<z.ZodBoolean>;
132
- credential_a_filled: z.ZodOptional<z.ZodBoolean>;
133
- credential_b_filled: z.ZodOptional<z.ZodBoolean>;
134
- }, "strip", z.ZodTypeAny, {
135
- _id: string;
136
- isLocked?: boolean | undefined;
137
- uni_assist?: {
138
- updatedAt?: Date | undefined;
139
- status?: string | undefined;
140
- vpd_file_path?: string | undefined;
141
- vpd_paid_confirmation_file_path?: string | undefined;
142
- vpd_paid_confirmation_file_status?: string | undefined;
143
- isPaid?: boolean | undefined;
144
- } | undefined;
145
- programId?: string | undefined;
146
- studentId?: string | undefined;
147
- portal_credentials?: {
148
- application_portal_a?: {
149
- password?: string | undefined;
150
- account?: string | undefined;
151
- } | undefined;
152
- application_portal_b?: {
153
- password?: string | undefined;
154
- account?: string | undefined;
155
- } | undefined;
156
- } | undefined;
157
- doc_modification_thread?: {
158
- updatedAt?: Date | undefined;
159
- isFinalVersion?: boolean | undefined;
160
- latest_message_left_by_id?: string | undefined;
161
- doc_thread_id?: string | undefined;
162
- createdAt?: Date | undefined;
163
- }[] | undefined;
164
- reject_reason?: string | undefined;
165
- admission_letter?: {
166
- comments?: string | undefined;
167
- updatedAt?: Date | undefined;
168
- status?: string | undefined;
169
- admission_file_path?: string | undefined;
170
- } | undefined;
171
- finalEnrolment?: boolean | undefined;
172
- decided?: string | undefined;
173
- closed?: string | undefined;
174
- admission?: string | undefined;
175
- application_year?: string | undefined;
176
- credential_a_filled?: boolean | undefined;
177
- credential_b_filled?: boolean | undefined;
178
- }, {
179
- _id: string;
180
- isLocked?: boolean | undefined;
181
- uni_assist?: {
182
- updatedAt?: Date | undefined;
183
- status?: string | undefined;
184
- vpd_file_path?: string | undefined;
185
- vpd_paid_confirmation_file_path?: string | undefined;
186
- vpd_paid_confirmation_file_status?: string | undefined;
187
- isPaid?: boolean | undefined;
188
- } | undefined;
189
- programId?: string | undefined;
190
- studentId?: string | undefined;
191
- portal_credentials?: {
192
- application_portal_a?: {
193
- password?: string | undefined;
194
- account?: string | undefined;
195
- } | undefined;
196
- application_portal_b?: {
197
- password?: string | undefined;
198
- account?: string | undefined;
199
- } | undefined;
200
- } | undefined;
201
- doc_modification_thread?: {
202
- updatedAt?: Date | undefined;
203
- isFinalVersion?: boolean | undefined;
204
- latest_message_left_by_id?: string | undefined;
205
- doc_thread_id?: string | undefined;
206
- createdAt?: Date | undefined;
207
- }[] | undefined;
208
- reject_reason?: string | undefined;
209
- admission_letter?: {
210
- comments?: string | undefined;
211
- updatedAt?: Date | undefined;
212
- status?: string | undefined;
213
- admission_file_path?: string | undefined;
214
- } | undefined;
215
- finalEnrolment?: boolean | undefined;
216
- decided?: string | undefined;
217
- closed?: string | undefined;
218
- admission?: string | undefined;
219
- application_year?: string | undefined;
220
- credential_a_filled?: boolean | undefined;
221
- credential_b_filled?: boolean | undefined;
222
- }>, "many">;
223
- student: z.ZodObject<{
224
- _id: z.ZodOptional<z.ZodString>;
225
- firstname: z.ZodOptional<z.ZodString>;
226
- lastname: z.ZodOptional<z.ZodString>;
227
- agents: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
228
- editors: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
229
- }, "strip", z.ZodTypeAny, {
230
- _id?: string | undefined;
231
- agents?: unknown[] | undefined;
232
- editors?: unknown[] | undefined;
233
- firstname?: string | undefined;
234
- lastname?: string | undefined;
235
- }, {
236
- _id?: string | undefined;
237
- agents?: unknown[] | undefined;
238
- editors?: unknown[] | undefined;
239
- firstname?: string | undefined;
240
- lastname?: string | undefined;
241
- }>;
242
- }, "strip", z.ZodTypeAny, {
243
- applications: {
244
- _id: string;
245
- isLocked?: boolean | undefined;
246
- uni_assist?: {
247
- updatedAt?: Date | undefined;
248
- status?: string | undefined;
249
- vpd_file_path?: string | undefined;
250
- vpd_paid_confirmation_file_path?: string | undefined;
251
- vpd_paid_confirmation_file_status?: string | undefined;
252
- isPaid?: boolean | undefined;
253
- } | undefined;
254
- programId?: string | undefined;
255
- studentId?: string | undefined;
256
- portal_credentials?: {
257
- application_portal_a?: {
258
- password?: string | undefined;
259
- account?: string | undefined;
260
- } | undefined;
261
- application_portal_b?: {
262
- password?: string | undefined;
263
- account?: string | undefined;
264
- } | undefined;
265
- } | undefined;
266
- doc_modification_thread?: {
267
- updatedAt?: Date | undefined;
268
- isFinalVersion?: boolean | undefined;
269
- latest_message_left_by_id?: string | undefined;
270
- doc_thread_id?: string | undefined;
271
- createdAt?: Date | undefined;
272
- }[] | undefined;
273
- reject_reason?: string | undefined;
274
- admission_letter?: {
275
- comments?: string | undefined;
276
- updatedAt?: Date | undefined;
277
- status?: string | undefined;
278
- admission_file_path?: string | undefined;
279
- } | undefined;
280
- finalEnrolment?: boolean | undefined;
281
- decided?: string | undefined;
282
- closed?: string | undefined;
283
- admission?: string | undefined;
284
- application_year?: string | undefined;
285
- credential_a_filled?: boolean | undefined;
286
- credential_b_filled?: boolean | undefined;
287
- }[];
288
- student: {
289
- _id?: string | undefined;
290
- agents?: unknown[] | undefined;
291
- editors?: unknown[] | undefined;
292
- firstname?: string | undefined;
293
- lastname?: string | undefined;
294
- };
295
- }, {
296
- applications: {
297
- _id: string;
298
- isLocked?: boolean | undefined;
299
- uni_assist?: {
300
- updatedAt?: Date | undefined;
301
- status?: string | undefined;
302
- vpd_file_path?: string | undefined;
303
- vpd_paid_confirmation_file_path?: string | undefined;
304
- vpd_paid_confirmation_file_status?: string | undefined;
305
- isPaid?: boolean | undefined;
306
- } | undefined;
307
- programId?: string | undefined;
308
- studentId?: string | undefined;
309
- portal_credentials?: {
310
- application_portal_a?: {
311
- password?: string | undefined;
312
- account?: string | undefined;
313
- } | undefined;
314
- application_portal_b?: {
315
- password?: string | undefined;
316
- account?: string | undefined;
317
- } | undefined;
318
- } | undefined;
319
- doc_modification_thread?: {
320
- updatedAt?: Date | undefined;
321
- isFinalVersion?: boolean | undefined;
322
- latest_message_left_by_id?: string | undefined;
323
- doc_thread_id?: string | undefined;
324
- createdAt?: Date | undefined;
325
- }[] | undefined;
326
- reject_reason?: string | undefined;
327
- admission_letter?: {
328
- comments?: string | undefined;
329
- updatedAt?: Date | undefined;
330
- status?: string | undefined;
331
- admission_file_path?: string | undefined;
332
- } | undefined;
333
- finalEnrolment?: boolean | undefined;
334
- decided?: string | undefined;
335
- closed?: string | undefined;
336
- admission?: string | undefined;
337
- application_year?: string | undefined;
338
- credential_a_filled?: boolean | undefined;
339
- credential_b_filled?: boolean | undefined;
340
- }[];
341
- student: {
342
- _id?: string | undefined;
343
- agents?: unknown[] | undefined;
344
- editors?: unknown[] | undefined;
345
- firstname?: string | undefined;
346
- lastname?: string | undefined;
347
- };
348
- }>>;
349
- }, "strip", z.ZodTypeAny, {
350
- success: boolean;
351
- data?: {
352
- applications: {
353
- _id: string;
354
- isLocked?: boolean | undefined;
355
- uni_assist?: {
356
- updatedAt?: Date | undefined;
357
- status?: string | undefined;
358
- vpd_file_path?: string | undefined;
359
- vpd_paid_confirmation_file_path?: string | undefined;
360
- vpd_paid_confirmation_file_status?: string | undefined;
361
- isPaid?: boolean | undefined;
362
- } | undefined;
363
- programId?: string | undefined;
364
- studentId?: string | undefined;
365
- portal_credentials?: {
366
- application_portal_a?: {
367
- password?: string | undefined;
368
- account?: string | undefined;
369
- } | undefined;
370
- application_portal_b?: {
371
- password?: string | undefined;
372
- account?: string | undefined;
373
- } | undefined;
374
- } | undefined;
375
- doc_modification_thread?: {
376
- updatedAt?: Date | undefined;
377
- isFinalVersion?: boolean | undefined;
378
- latest_message_left_by_id?: string | undefined;
379
- doc_thread_id?: string | undefined;
380
- createdAt?: Date | undefined;
381
- }[] | undefined;
382
- reject_reason?: string | undefined;
383
- admission_letter?: {
384
- comments?: string | undefined;
385
- updatedAt?: Date | undefined;
386
- status?: string | undefined;
387
- admission_file_path?: string | undefined;
388
- } | undefined;
389
- finalEnrolment?: boolean | undefined;
390
- decided?: string | undefined;
391
- closed?: string | undefined;
392
- admission?: string | undefined;
393
- application_year?: string | undefined;
394
- credential_a_filled?: boolean | undefined;
395
- credential_b_filled?: boolean | undefined;
396
- }[];
397
- student: {
398
- _id?: string | undefined;
399
- agents?: unknown[] | undefined;
400
- editors?: unknown[] | undefined;
401
- firstname?: string | undefined;
402
- lastname?: string | undefined;
403
- };
404
- } | undefined;
405
- }, {
406
- success: boolean;
407
- data?: {
408
- applications: {
409
- _id: string;
410
- isLocked?: boolean | undefined;
411
- uni_assist?: {
412
- updatedAt?: Date | undefined;
413
- status?: string | undefined;
414
- vpd_file_path?: string | undefined;
415
- vpd_paid_confirmation_file_path?: string | undefined;
416
- vpd_paid_confirmation_file_status?: string | undefined;
417
- isPaid?: boolean | undefined;
418
- } | undefined;
419
- programId?: string | undefined;
420
- studentId?: string | undefined;
421
- portal_credentials?: {
422
- application_portal_a?: {
423
- password?: string | undefined;
424
- account?: string | undefined;
425
- } | undefined;
426
- application_portal_b?: {
427
- password?: string | undefined;
428
- account?: string | undefined;
429
- } | undefined;
430
- } | undefined;
431
- doc_modification_thread?: {
432
- updatedAt?: Date | undefined;
433
- isFinalVersion?: boolean | undefined;
434
- latest_message_left_by_id?: string | undefined;
435
- doc_thread_id?: string | undefined;
436
- createdAt?: Date | undefined;
437
- }[] | undefined;
438
- reject_reason?: string | undefined;
439
- admission_letter?: {
440
- comments?: string | undefined;
441
- updatedAt?: Date | undefined;
442
- status?: string | undefined;
443
- admission_file_path?: string | undefined;
444
- } | undefined;
445
- finalEnrolment?: boolean | undefined;
446
- decided?: string | undefined;
447
- closed?: string | undefined;
448
- admission?: string | undefined;
449
- application_year?: string | undefined;
450
- credential_a_filled?: boolean | undefined;
451
- credential_b_filled?: boolean | undefined;
452
- }[];
453
- student: {
454
- _id?: string | undefined;
455
- agents?: unknown[] | undefined;
456
- editors?: unknown[] | undefined;
457
- firstname?: string | undefined;
458
- lastname?: string | undefined;
459
- };
460
- } | undefined;
461
- }>;
462
- export declare const CreatePortalCredentialsResponseSchema: z.ZodObject<{
463
- success: z.ZodBoolean;
464
- message: z.ZodOptional<z.ZodString>;
465
- } & {
466
- data: z.ZodOptional<z.ZodObject<{
467
- _id: z.ZodString;
468
- programId: z.ZodOptional<z.ZodString>;
469
- studentId: z.ZodOptional<z.ZodString>;
470
- uni_assist: z.ZodOptional<z.ZodObject<{
471
- status: z.ZodOptional<z.ZodString>;
472
- vpd_file_path: z.ZodOptional<z.ZodString>;
473
- vpd_paid_confirmation_file_path: z.ZodOptional<z.ZodString>;
474
- vpd_paid_confirmation_file_status: z.ZodOptional<z.ZodString>;
475
- isPaid: z.ZodOptional<z.ZodBoolean>;
476
- updatedAt: z.ZodOptional<z.ZodDate>;
477
- }, "strip", z.ZodTypeAny, {
478
- updatedAt?: Date | undefined;
479
- status?: string | undefined;
480
- vpd_file_path?: string | undefined;
481
- vpd_paid_confirmation_file_path?: string | undefined;
482
- vpd_paid_confirmation_file_status?: string | undefined;
483
- isPaid?: boolean | undefined;
484
- }, {
485
- updatedAt?: Date | undefined;
486
- status?: string | undefined;
487
- vpd_file_path?: string | undefined;
488
- vpd_paid_confirmation_file_path?: string | undefined;
489
- vpd_paid_confirmation_file_status?: string | undefined;
490
- isPaid?: boolean | undefined;
491
- }>>;
492
- portal_credentials: z.ZodOptional<z.ZodObject<{
493
- application_portal_a: z.ZodOptional<z.ZodObject<{
494
- account: z.ZodOptional<z.ZodString>;
495
- password: z.ZodOptional<z.ZodString>;
496
- }, "strip", z.ZodTypeAny, {
497
- password?: string | undefined;
498
- account?: string | undefined;
499
- }, {
500
- password?: string | undefined;
501
- account?: string | undefined;
502
- }>>;
503
- application_portal_b: z.ZodOptional<z.ZodObject<{
504
- account: z.ZodOptional<z.ZodString>;
505
- password: z.ZodOptional<z.ZodString>;
506
- }, "strip", z.ZodTypeAny, {
507
- password?: string | undefined;
508
- account?: string | undefined;
509
- }, {
510
- password?: string | undefined;
511
- account?: string | undefined;
512
- }>>;
513
- }, "strip", z.ZodTypeAny, {
514
- application_portal_a?: {
515
- password?: string | undefined;
516
- account?: string | undefined;
517
- } | undefined;
518
- application_portal_b?: {
519
- password?: string | undefined;
520
- account?: string | undefined;
521
- } | undefined;
522
- }, {
523
- application_portal_a?: {
524
- password?: string | undefined;
525
- account?: string | undefined;
526
- } | undefined;
527
- application_portal_b?: {
528
- password?: string | undefined;
529
- account?: string | undefined;
530
- } | undefined;
531
- }>>;
532
- doc_modification_thread: z.ZodOptional<z.ZodArray<z.ZodObject<{
533
- isFinalVersion: z.ZodOptional<z.ZodBoolean>;
534
- latest_message_left_by_id: z.ZodOptional<z.ZodString>;
535
- doc_thread_id: z.ZodOptional<z.ZodString>;
536
- updatedAt: z.ZodOptional<z.ZodDate>;
537
- createdAt: z.ZodOptional<z.ZodDate>;
538
- }, "strip", z.ZodTypeAny, {
539
- updatedAt?: Date | undefined;
540
- isFinalVersion?: boolean | undefined;
541
- latest_message_left_by_id?: string | undefined;
542
- doc_thread_id?: string | undefined;
543
- createdAt?: Date | undefined;
544
- }, {
545
- updatedAt?: Date | undefined;
546
- isFinalVersion?: boolean | undefined;
547
- latest_message_left_by_id?: string | undefined;
548
- doc_thread_id?: string | undefined;
549
- createdAt?: Date | undefined;
550
- }>, "many">>;
551
- reject_reason: z.ZodOptional<z.ZodString>;
552
- admission_letter: z.ZodOptional<z.ZodObject<{
553
- status: z.ZodOptional<z.ZodString>;
554
- admission_file_path: z.ZodOptional<z.ZodString>;
555
- comments: z.ZodOptional<z.ZodString>;
556
- updatedAt: z.ZodOptional<z.ZodDate>;
557
- }, "strip", z.ZodTypeAny, {
558
- comments?: string | undefined;
559
- updatedAt?: Date | undefined;
560
- status?: string | undefined;
561
- admission_file_path?: string | undefined;
562
- }, {
563
- comments?: string | undefined;
564
- updatedAt?: Date | undefined;
565
- status?: string | undefined;
566
- admission_file_path?: string | undefined;
567
- }>>;
568
- finalEnrolment: z.ZodOptional<z.ZodBoolean>;
569
- decided: z.ZodOptional<z.ZodString>;
570
- closed: z.ZodOptional<z.ZodString>;
571
- admission: z.ZodOptional<z.ZodString>;
572
- application_year: z.ZodOptional<z.ZodString>;
573
- isLocked: z.ZodOptional<z.ZodBoolean>;
574
- credential_a_filled: z.ZodOptional<z.ZodBoolean>;
575
- credential_b_filled: z.ZodOptional<z.ZodBoolean>;
576
- }, "strip", z.ZodTypeAny, {
577
- _id: string;
578
- isLocked?: boolean | undefined;
579
- uni_assist?: {
580
- updatedAt?: Date | undefined;
581
- status?: string | undefined;
582
- vpd_file_path?: string | undefined;
583
- vpd_paid_confirmation_file_path?: string | undefined;
584
- vpd_paid_confirmation_file_status?: string | undefined;
585
- isPaid?: boolean | undefined;
586
- } | undefined;
587
- programId?: string | undefined;
588
- studentId?: string | undefined;
589
- portal_credentials?: {
590
- application_portal_a?: {
591
- password?: string | undefined;
592
- account?: string | undefined;
593
- } | undefined;
594
- application_portal_b?: {
595
- password?: string | undefined;
596
- account?: string | undefined;
597
- } | undefined;
598
- } | undefined;
599
- doc_modification_thread?: {
600
- updatedAt?: Date | undefined;
601
- isFinalVersion?: boolean | undefined;
602
- latest_message_left_by_id?: string | undefined;
603
- doc_thread_id?: string | undefined;
604
- createdAt?: Date | undefined;
605
- }[] | undefined;
606
- reject_reason?: string | undefined;
607
- admission_letter?: {
608
- comments?: string | undefined;
609
- updatedAt?: Date | undefined;
610
- status?: string | undefined;
611
- admission_file_path?: string | undefined;
612
- } | undefined;
613
- finalEnrolment?: boolean | undefined;
614
- decided?: string | undefined;
615
- closed?: string | undefined;
616
- admission?: string | undefined;
617
- application_year?: string | undefined;
618
- credential_a_filled?: boolean | undefined;
619
- credential_b_filled?: boolean | undefined;
620
- }, {
621
- _id: string;
622
- isLocked?: boolean | undefined;
623
- uni_assist?: {
624
- updatedAt?: Date | undefined;
625
- status?: string | undefined;
626
- vpd_file_path?: string | undefined;
627
- vpd_paid_confirmation_file_path?: string | undefined;
628
- vpd_paid_confirmation_file_status?: string | undefined;
629
- isPaid?: boolean | undefined;
630
- } | undefined;
631
- programId?: string | undefined;
632
- studentId?: string | undefined;
633
- portal_credentials?: {
634
- application_portal_a?: {
635
- password?: string | undefined;
636
- account?: string | undefined;
637
- } | undefined;
638
- application_portal_b?: {
639
- password?: string | undefined;
640
- account?: string | undefined;
641
- } | undefined;
642
- } | undefined;
643
- doc_modification_thread?: {
644
- updatedAt?: Date | undefined;
645
- isFinalVersion?: boolean | undefined;
646
- latest_message_left_by_id?: string | undefined;
647
- doc_thread_id?: string | undefined;
648
- createdAt?: Date | undefined;
649
- }[] | undefined;
650
- reject_reason?: string | undefined;
651
- admission_letter?: {
652
- comments?: string | undefined;
653
- updatedAt?: Date | undefined;
654
- status?: string | undefined;
655
- admission_file_path?: string | undefined;
656
- } | undefined;
657
- finalEnrolment?: boolean | undefined;
658
- decided?: string | undefined;
659
- closed?: string | undefined;
660
- admission?: string | undefined;
661
- application_year?: string | undefined;
662
- credential_a_filled?: boolean | undefined;
663
- credential_b_filled?: boolean | undefined;
664
- }>>;
665
- }, "strip", z.ZodTypeAny, {
666
- success: boolean;
667
- message?: string | undefined;
668
- data?: {
669
- _id: string;
670
- isLocked?: boolean | undefined;
671
- uni_assist?: {
672
- updatedAt?: Date | undefined;
673
- status?: string | undefined;
674
- vpd_file_path?: string | undefined;
675
- vpd_paid_confirmation_file_path?: string | undefined;
676
- vpd_paid_confirmation_file_status?: string | undefined;
677
- isPaid?: boolean | undefined;
678
- } | undefined;
679
- programId?: string | undefined;
680
- studentId?: string | undefined;
681
- portal_credentials?: {
682
- application_portal_a?: {
683
- password?: string | undefined;
684
- account?: string | undefined;
685
- } | undefined;
686
- application_portal_b?: {
687
- password?: string | undefined;
688
- account?: string | undefined;
689
- } | undefined;
690
- } | undefined;
691
- doc_modification_thread?: {
692
- updatedAt?: Date | undefined;
693
- isFinalVersion?: boolean | undefined;
694
- latest_message_left_by_id?: string | undefined;
695
- doc_thread_id?: string | undefined;
696
- createdAt?: Date | undefined;
697
- }[] | undefined;
698
- reject_reason?: string | undefined;
699
- admission_letter?: {
700
- comments?: string | undefined;
701
- updatedAt?: Date | undefined;
702
- status?: string | undefined;
703
- admission_file_path?: string | undefined;
704
- } | undefined;
705
- finalEnrolment?: boolean | undefined;
706
- decided?: string | undefined;
707
- closed?: string | undefined;
708
- admission?: string | undefined;
709
- application_year?: string | undefined;
710
- credential_a_filled?: boolean | undefined;
711
- credential_b_filled?: boolean | undefined;
712
- } | undefined;
713
- }, {
714
- success: boolean;
715
- message?: string | undefined;
716
- data?: {
717
- _id: string;
718
- isLocked?: boolean | undefined;
719
- uni_assist?: {
720
- updatedAt?: Date | undefined;
721
- status?: string | undefined;
722
- vpd_file_path?: string | undefined;
723
- vpd_paid_confirmation_file_path?: string | undefined;
724
- vpd_paid_confirmation_file_status?: string | undefined;
725
- isPaid?: boolean | undefined;
726
- } | undefined;
727
- programId?: string | undefined;
728
- studentId?: string | undefined;
729
- portal_credentials?: {
730
- application_portal_a?: {
731
- password?: string | undefined;
732
- account?: string | undefined;
733
- } | undefined;
734
- application_portal_b?: {
735
- password?: string | undefined;
736
- account?: string | undefined;
737
- } | undefined;
738
- } | undefined;
739
- doc_modification_thread?: {
740
- updatedAt?: Date | undefined;
741
- isFinalVersion?: boolean | undefined;
742
- latest_message_left_by_id?: string | undefined;
743
- doc_thread_id?: string | undefined;
744
- createdAt?: Date | undefined;
745
- }[] | undefined;
746
- reject_reason?: string | undefined;
747
- admission_letter?: {
748
- comments?: string | undefined;
749
- updatedAt?: Date | undefined;
750
- status?: string | undefined;
751
- admission_file_path?: string | undefined;
752
- } | undefined;
753
- finalEnrolment?: boolean | undefined;
754
- decided?: string | undefined;
755
- closed?: string | undefined;
756
- admission?: string | undefined;
757
- application_year?: string | undefined;
758
- credential_a_filled?: boolean | undefined;
759
- credential_b_filled?: boolean | undefined;
760
- } | undefined;
761
- }>;
762
- /** Student summary shape nested inside portal credentials response */
763
- export type PortalCredentialsStudent = z.infer<typeof PortalCredentialsStudentSchema>;
764
- /**
765
- * GET /api/portal-informations/:student_id
766
- * Non-standard: data is an object, not a single document
767
- */
768
- export type GetPortalCredentialsResponse = z.infer<typeof GetPortalCredentialsResponseSchema>;
769
- /** POST /api/portal-informations/:student_id/:applicationId */
770
- export type CreatePortalCredentialsResponse = z.infer<typeof CreatePortalCredentialsResponseSchema>;