@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,292 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const SearchResultItemSchema: z.ZodObject<{
3
- score: z.ZodOptional<z.ZodNumber>;
4
- }, "strip", z.ZodUnknown, z.objectOutputType<{
5
- score: z.ZodOptional<z.ZodNumber>;
6
- }, z.ZodUnknown, "strip">, z.objectInputType<{
7
- score: z.ZodOptional<z.ZodNumber>;
8
- }, z.ZodUnknown, "strip">>;
9
- export declare const StudentSearchResultSchema: z.ZodObject<{
10
- _id: z.ZodOptional<z.ZodString>;
11
- firstname: z.ZodOptional<z.ZodString>;
12
- lastname: z.ZodOptional<z.ZodString>;
13
- firstname_chinese: z.ZodOptional<z.ZodString>;
14
- lastname_chinese: z.ZodOptional<z.ZodString>;
15
- role: z.ZodOptional<z.ZodString>;
16
- email: z.ZodOptional<z.ZodString>;
17
- score: z.ZodOptional<z.ZodNumber>;
18
- }, "strip", z.ZodTypeAny, {
19
- _id?: string | undefined;
20
- role?: string | undefined;
21
- firstname?: string | undefined;
22
- firstname_chinese?: string | undefined;
23
- lastname?: string | undefined;
24
- lastname_chinese?: string | undefined;
25
- email?: string | undefined;
26
- score?: number | undefined;
27
- }, {
28
- _id?: string | undefined;
29
- role?: string | undefined;
30
- firstname?: string | undefined;
31
- firstname_chinese?: string | undefined;
32
- lastname?: string | undefined;
33
- lastname_chinese?: string | undefined;
34
- email?: string | undefined;
35
- score?: number | undefined;
36
- }>;
37
- export declare const GetQueryResultsResponseSchema: z.ZodObject<{
38
- success: z.ZodBoolean;
39
- message: z.ZodOptional<z.ZodString>;
40
- } & {
41
- data: z.ZodOptional<z.ZodArray<z.ZodObject<{
42
- score: z.ZodOptional<z.ZodNumber>;
43
- }, "strip", z.ZodUnknown, z.objectOutputType<{
44
- score: z.ZodOptional<z.ZodNumber>;
45
- }, z.ZodUnknown, "strip">, z.objectInputType<{
46
- score: z.ZodOptional<z.ZodNumber>;
47
- }, z.ZodUnknown, "strip">>, "many">>;
48
- }, "strip", z.ZodTypeAny, {
49
- success: boolean;
50
- message?: string | undefined;
51
- data?: z.objectOutputType<{
52
- score: z.ZodOptional<z.ZodNumber>;
53
- }, z.ZodUnknown, "strip">[] | undefined;
54
- }, {
55
- success: boolean;
56
- message?: string | undefined;
57
- data?: z.objectInputType<{
58
- score: z.ZodOptional<z.ZodNumber>;
59
- }, z.ZodUnknown, "strip">[] | undefined;
60
- }>;
61
- export declare const GetQueryPublicResultsResponseSchema: z.ZodObject<{
62
- success: z.ZodBoolean;
63
- message: z.ZodOptional<z.ZodString>;
64
- } & {
65
- data: z.ZodOptional<z.ZodArray<z.ZodObject<{
66
- name: z.ZodOptional<z.ZodString>;
67
- title: z.ZodOptional<z.ZodString>;
68
- category: z.ZodOptional<z.ZodString>;
69
- author: z.ZodOptional<z.ZodString>;
70
- prop: z.ZodOptional<z.ZodString>;
71
- text: z.ZodOptional<z.ZodString>;
72
- country: z.ZodOptional<z.ZodString>;
73
- updatedAt: z.ZodOptional<z.ZodDate>;
74
- } & {
75
- _id: z.ZodString;
76
- }, "strip", z.ZodTypeAny, {
77
- _id: string;
78
- updatedAt?: Date | undefined;
79
- country?: string | undefined;
80
- text?: string | undefined;
81
- name?: string | undefined;
82
- title?: string | undefined;
83
- category?: string | undefined;
84
- prop?: string | undefined;
85
- author?: string | undefined;
86
- }, {
87
- _id: string;
88
- updatedAt?: Date | undefined;
89
- country?: string | undefined;
90
- text?: string | undefined;
91
- name?: string | undefined;
92
- title?: string | undefined;
93
- category?: string | undefined;
94
- prop?: string | undefined;
95
- author?: string | undefined;
96
- }>, "many">>;
97
- }, "strip", z.ZodTypeAny, {
98
- success: boolean;
99
- message?: string | undefined;
100
- data?: {
101
- _id: string;
102
- updatedAt?: Date | undefined;
103
- country?: string | undefined;
104
- text?: string | undefined;
105
- name?: string | undefined;
106
- title?: string | undefined;
107
- category?: string | undefined;
108
- prop?: string | undefined;
109
- author?: string | undefined;
110
- }[] | undefined;
111
- }, {
112
- success: boolean;
113
- message?: string | undefined;
114
- data?: {
115
- _id: string;
116
- updatedAt?: Date | undefined;
117
- country?: string | undefined;
118
- text?: string | undefined;
119
- name?: string | undefined;
120
- title?: string | undefined;
121
- category?: string | undefined;
122
- prop?: string | undefined;
123
- author?: string | undefined;
124
- }[] | undefined;
125
- }>;
126
- export declare const GetQueryStudentsResultsResponseSchema: z.ZodObject<{
127
- success: z.ZodBoolean;
128
- message: z.ZodOptional<z.ZodString>;
129
- } & {
130
- data: z.ZodOptional<z.ZodArray<z.ZodObject<{
131
- _id: z.ZodOptional<z.ZodString>;
132
- firstname: z.ZodOptional<z.ZodString>;
133
- lastname: z.ZodOptional<z.ZodString>;
134
- firstname_chinese: z.ZodOptional<z.ZodString>;
135
- lastname_chinese: z.ZodOptional<z.ZodString>;
136
- role: z.ZodOptional<z.ZodString>;
137
- email: z.ZodOptional<z.ZodString>;
138
- score: z.ZodOptional<z.ZodNumber>;
139
- }, "strip", z.ZodTypeAny, {
140
- _id?: string | undefined;
141
- role?: string | undefined;
142
- firstname?: string | undefined;
143
- firstname_chinese?: string | undefined;
144
- lastname?: string | undefined;
145
- lastname_chinese?: string | undefined;
146
- email?: string | undefined;
147
- score?: number | undefined;
148
- }, {
149
- _id?: string | undefined;
150
- role?: string | undefined;
151
- firstname?: string | undefined;
152
- firstname_chinese?: string | undefined;
153
- lastname?: string | undefined;
154
- lastname_chinese?: string | undefined;
155
- email?: string | undefined;
156
- score?: number | undefined;
157
- }>, "many">>;
158
- }, "strip", z.ZodTypeAny, {
159
- success: boolean;
160
- message?: string | undefined;
161
- data?: {
162
- _id?: string | undefined;
163
- role?: string | undefined;
164
- firstname?: string | undefined;
165
- firstname_chinese?: string | undefined;
166
- lastname?: string | undefined;
167
- lastname_chinese?: string | undefined;
168
- email?: string | undefined;
169
- score?: number | undefined;
170
- }[] | undefined;
171
- }, {
172
- success: boolean;
173
- message?: string | undefined;
174
- data?: {
175
- _id?: string | undefined;
176
- role?: string | undefined;
177
- firstname?: string | undefined;
178
- firstname_chinese?: string | undefined;
179
- lastname?: string | undefined;
180
- lastname_chinese?: string | undefined;
181
- email?: string | undefined;
182
- score?: number | undefined;
183
- }[] | undefined;
184
- }>;
185
- export declare const GetQueryStudentResultsResponseSchema: z.ZodObject<{
186
- success: z.ZodBoolean;
187
- message: z.ZodOptional<z.ZodString>;
188
- } & {
189
- data: z.ZodOptional<z.ZodArray<z.ZodObject<{
190
- student_id: z.ZodOptional<z.ZodString>;
191
- user_id: z.ZodOptional<z.ZodString>;
192
- message: z.ZodOptional<z.ZodString>;
193
- readBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
194
- timeStampReadBy: z.ZodOptional<z.ZodUnknown>;
195
- files: z.ZodOptional<z.ZodArray<z.ZodObject<{
196
- name: z.ZodString;
197
- path: z.ZodString;
198
- }, "strip", z.ZodTypeAny, {
199
- name: string;
200
- path: string;
201
- }, {
202
- name: string;
203
- path: string;
204
- }>, "many">>;
205
- createdAt: z.ZodOptional<z.ZodDate>;
206
- ignore_message: z.ZodOptional<z.ZodBoolean>;
207
- ignoredMessageUpdatedAt: z.ZodOptional<z.ZodDate>;
208
- ignoredMessageBy: z.ZodOptional<z.ZodString>;
209
- } & {
210
- _id: z.ZodString;
211
- }, "strip", z.ZodTypeAny, {
212
- _id: string;
213
- createdAt?: Date | undefined;
214
- student_id?: string | undefined;
215
- user_id?: string | undefined;
216
- message?: string | undefined;
217
- ignore_message?: boolean | undefined;
218
- readBy?: string[] | undefined;
219
- timeStampReadBy?: unknown;
220
- files?: {
221
- name: string;
222
- path: string;
223
- }[] | undefined;
224
- ignoredMessageUpdatedAt?: Date | undefined;
225
- ignoredMessageBy?: string | undefined;
226
- }, {
227
- _id: string;
228
- createdAt?: Date | undefined;
229
- student_id?: string | undefined;
230
- user_id?: string | undefined;
231
- message?: string | undefined;
232
- ignore_message?: boolean | undefined;
233
- readBy?: string[] | undefined;
234
- timeStampReadBy?: unknown;
235
- files?: {
236
- name: string;
237
- path: string;
238
- }[] | undefined;
239
- ignoredMessageUpdatedAt?: Date | undefined;
240
- ignoredMessageBy?: string | undefined;
241
- }>, "many">>;
242
- }, "strip", z.ZodTypeAny, {
243
- success: boolean;
244
- message?: string | undefined;
245
- data?: {
246
- _id: string;
247
- createdAt?: Date | undefined;
248
- student_id?: string | undefined;
249
- user_id?: string | undefined;
250
- message?: string | undefined;
251
- ignore_message?: boolean | undefined;
252
- readBy?: string[] | undefined;
253
- timeStampReadBy?: unknown;
254
- files?: {
255
- name: string;
256
- path: string;
257
- }[] | undefined;
258
- ignoredMessageUpdatedAt?: Date | undefined;
259
- ignoredMessageBy?: string | undefined;
260
- }[] | undefined;
261
- }, {
262
- success: boolean;
263
- message?: string | undefined;
264
- data?: {
265
- _id: string;
266
- createdAt?: Date | undefined;
267
- student_id?: string | undefined;
268
- user_id?: string | undefined;
269
- message?: string | undefined;
270
- ignore_message?: boolean | undefined;
271
- readBy?: string[] | undefined;
272
- timeStampReadBy?: unknown;
273
- files?: {
274
- name: string;
275
- path: string;
276
- }[] | undefined;
277
- ignoredMessageUpdatedAt?: Date | undefined;
278
- ignoredMessageBy?: string | undefined;
279
- }[] | undefined;
280
- }>;
281
- /** A mixed search result item (may be a student, doc, program, etc.) */
282
- export type SearchResultItem = z.infer<typeof SearchResultItemSchema>;
283
- /** A student search result with basic identity fields */
284
- export type StudentSearchResult = z.infer<typeof StudentSearchResultSchema>;
285
- /** GET /api/search?q= */
286
- export type GetQueryResultsResponse = z.infer<typeof GetQueryResultsResponseSchema>;
287
- /** GET /api/search/public?q= */
288
- export type GetQueryPublicResultsResponse = z.infer<typeof GetQueryPublicResultsResponseSchema>;
289
- /** GET /api/search/students?q= */
290
- export type GetQueryStudentsResultsResponse = z.infer<typeof GetQueryStudentsResultsResponseSchema>;
291
- /** GET /api/communications?q= (student-side search) */
292
- export type GetQueryStudentResultsResponse = z.infer<typeof GetQueryStudentResultsResponseSchema>;
@@ -1,7 +0,0 @@
1
- /**
2
- * Serialized "API layer" versions of core model interfaces.
3
- * All ObjectId refs become strings to match JSON API serialization.
4
- * Types are inferred from Zod schemas via z.infer<>.
5
- */
6
- export { ProgramWithIdSchema, AgentWithIdSchema, EditorWithIdSchema, ApplicationWithIdSchema, ApplicationPopulatedSchema, StudentResponseSchema, UserWithIdSchema, DocumentthreadWithIdSchema, DocumentthreadPopulatedSchema, CommunicationWithIdSchema, InterviewWithIdSchema, InterviewSurveyResponseWithIdSchema, TicketWithIdSchema, ComplaintWithIdSchema, AuditWithIdSchema, EventWithIdSchema, NoteWithIdSchema, PermissionWithIdSchema, DocumentationWithIdSchema, DocspageWithIdSchema, InternaldocWithIdSchema, ProgramrequirementWithIdSchema, AllCourseWithIdSchema, KeywordsetWithIdSchema, SurveyInputWithIdSchema, TemplateWithIdSchema, BasedocumentationslinkWithIdSchema, IProgramWithId, IAgentWithId, IEditorWithId, IApplicationWithId, IApplicationPopulated, IStudentResponse, IUserWithId, IDocumentthreadWithId, IDocumentthreadPopulated, ICommunicationWithId, IInterviewWithId, IInterviewSurveyResponseWithId, ITicketWithId, IComplaintWithId, IAuditWithId, IEventWithId, INoteWithId, IPermissionWithId, IDocumentationWithId, IDocspageWithId, IInternaldocWithId, IProgramrequirementWithId, IAllCourseWithId, IKeywordsetWithId, ISurveyInputWithId, ITemplateWithId, IBasedocumentationslinkWithId } from '../schema/serialized';
7
- export { UserAcademicBackgroundUniversitySchema, UserAcademicBackgroundLanguageSchema, UserApplicationPreferenceSchema, UserAttributeSchema, UserNotificationSchema, UserTaigeraiSchema, UserProfileItemSchema, UserGeneraldocsThreadSchema } from '../schema/models';
@@ -1,307 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const GetStudentsResponseSchema: z.ZodObject<{
3
- success: z.ZodBoolean;
4
- message: z.ZodOptional<z.ZodString>;
5
- } & {
6
- data: z.ZodOptional<z.ZodArray<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>, "many">>;
7
- }, "strip", z.ZodTypeAny, {
8
- success: boolean;
9
- message?: string | undefined;
10
- data?: import("..").IStudentResponseDef[] | undefined;
11
- }, {
12
- success: boolean;
13
- message?: string | undefined;
14
- data?: import("..").IStudentResponseDef[] | undefined;
15
- }>;
16
- export declare const GetActiveStudentsResponseSchema: z.ZodObject<{
17
- success: z.ZodBoolean;
18
- message: z.ZodOptional<z.ZodString>;
19
- } & {
20
- data: z.ZodOptional<z.ZodArray<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>, "many">>;
21
- }, "strip", z.ZodTypeAny, {
22
- success: boolean;
23
- message?: string | undefined;
24
- data?: import("..").IStudentResponseDef[] | undefined;
25
- }, {
26
- success: boolean;
27
- message?: string | undefined;
28
- data?: import("..").IStudentResponseDef[] | undefined;
29
- }>;
30
- export declare const GetStudentResponseSchema: z.ZodObject<{
31
- success: z.ZodBoolean;
32
- message: z.ZodOptional<z.ZodString>;
33
- } & {
34
- data: z.ZodOptional<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>>;
35
- }, "strip", z.ZodTypeAny, {
36
- success: boolean;
37
- message?: string | undefined;
38
- data?: import("..").IStudentResponseDef | undefined;
39
- }, {
40
- success: boolean;
41
- message?: string | undefined;
42
- data?: import("..").IStudentResponseDef | undefined;
43
- }>;
44
- export declare const GetStudentDocLinksResponseSchema: z.ZodObject<{
45
- success: z.ZodBoolean;
46
- data: z.ZodOptional<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>>;
47
- basedocumentationlinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
48
- key: z.ZodOptional<z.ZodString>;
49
- category: z.ZodOptional<z.ZodString>;
50
- link: z.ZodOptional<z.ZodString>;
51
- updatedAt: z.ZodOptional<z.ZodDate>;
52
- } & {
53
- _id: z.ZodString;
54
- }, "strip", z.ZodTypeAny, {
55
- _id: string;
56
- updatedAt?: Date | undefined;
57
- link?: string | undefined;
58
- key?: string | undefined;
59
- category?: string | undefined;
60
- }, {
61
- _id: string;
62
- updatedAt?: Date | undefined;
63
- link?: string | undefined;
64
- key?: string | undefined;
65
- category?: string | undefined;
66
- }>, "many">>;
67
- }, "strip", z.ZodTypeAny, {
68
- success: boolean;
69
- data?: import("..").IStudentResponseDef | undefined;
70
- basedocumentationlinks?: {
71
- _id: string;
72
- updatedAt?: Date | undefined;
73
- link?: string | undefined;
74
- key?: string | undefined;
75
- category?: string | undefined;
76
- }[] | undefined;
77
- }, {
78
- success: boolean;
79
- data?: import("..").IStudentResponseDef | undefined;
80
- basedocumentationlinks?: {
81
- _id: string;
82
- updatedAt?: Date | undefined;
83
- link?: string | undefined;
84
- key?: string | undefined;
85
- category?: string | undefined;
86
- }[] | undefined;
87
- }>;
88
- export declare const GetStudentsAndDocLinksResponseSchema: z.ZodObject<{
89
- success: z.ZodBoolean;
90
- message: z.ZodOptional<z.ZodString>;
91
- } & {
92
- data: z.ZodOptional<z.ZodArray<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>, "many">>;
93
- }, "strip", z.ZodTypeAny, {
94
- success: boolean;
95
- message?: string | undefined;
96
- data?: import("..").IStudentResponseDef[] | undefined;
97
- }, {
98
- success: boolean;
99
- message?: string | undefined;
100
- data?: import("..").IStudentResponseDef[] | undefined;
101
- }>;
102
- export declare const UpdateArchivStudentsResponseSchema: z.ZodObject<{
103
- success: z.ZodBoolean;
104
- message: z.ZodOptional<z.ZodString>;
105
- } & {
106
- data: z.ZodOptional<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>>;
107
- }, "strip", z.ZodTypeAny, {
108
- success: boolean;
109
- message?: string | undefined;
110
- data?: import("..").IStudentResponseDef | undefined;
111
- }, {
112
- success: boolean;
113
- message?: string | undefined;
114
- data?: import("..").IStudentResponseDef | undefined;
115
- }>;
116
- export declare const UpdateStudentAgentsResponseSchema: z.ZodObject<{
117
- success: z.ZodBoolean;
118
- message: z.ZodOptional<z.ZodString>;
119
- } & {
120
- data: z.ZodOptional<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>>;
121
- }, "strip", z.ZodTypeAny, {
122
- success: boolean;
123
- message?: string | undefined;
124
- data?: import("..").IStudentResponseDef | undefined;
125
- }, {
126
- success: boolean;
127
- message?: string | undefined;
128
- data?: import("..").IStudentResponseDef | undefined;
129
- }>;
130
- export declare const UpdateStudentEditorsResponseSchema: z.ZodObject<{
131
- success: z.ZodBoolean;
132
- message: z.ZodOptional<z.ZodString>;
133
- } & {
134
- data: z.ZodOptional<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>>;
135
- }, "strip", z.ZodTypeAny, {
136
- success: boolean;
137
- message?: string | undefined;
138
- data?: import("..").IStudentResponseDef | undefined;
139
- }, {
140
- success: boolean;
141
- message?: string | undefined;
142
- data?: import("..").IStudentResponseDef | undefined;
143
- }>;
144
- export declare const UpdateStudentAttributesResponseSchema: z.ZodObject<{
145
- success: z.ZodBoolean;
146
- message: z.ZodOptional<z.ZodString>;
147
- } & {
148
- data: z.ZodOptional<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>>;
149
- }, "strip", z.ZodTypeAny, {
150
- success: boolean;
151
- message?: string | undefined;
152
- data?: import("..").IStudentResponseDef | undefined;
153
- }, {
154
- success: boolean;
155
- message?: string | undefined;
156
- data?: import("..").IStudentResponseDef | undefined;
157
- }>;
158
- export declare const UpdateDocumentationHelperLinkResponseSchema: z.ZodObject<{
159
- success: z.ZodBoolean;
160
- message: z.ZodOptional<z.ZodString>;
161
- }, "strip", z.ZodTypeAny, {
162
- success: boolean;
163
- message?: string | undefined;
164
- }, {
165
- success: boolean;
166
- message?: string | undefined;
167
- }>;
168
- export declare const UploadStudentFileResponseSchema: z.ZodObject<{
169
- success: z.ZodBoolean;
170
- message: z.ZodOptional<z.ZodString>;
171
- } & {
172
- data: z.ZodOptional<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>>;
173
- }, "strip", z.ZodTypeAny, {
174
- success: boolean;
175
- message?: string | undefined;
176
- data?: import("..").IStudentResponseDef | undefined;
177
- }, {
178
- success: boolean;
179
- message?: string | undefined;
180
- data?: import("..").IStudentResponseDef | undefined;
181
- }>;
182
- export declare const DeleteStudentFileResponseSchema: z.ZodObject<{
183
- success: z.ZodBoolean;
184
- message: z.ZodOptional<z.ZodString>;
185
- }, "strip", z.ZodTypeAny, {
186
- success: boolean;
187
- message?: string | undefined;
188
- }, {
189
- success: boolean;
190
- message?: string | undefined;
191
- }>;
192
- export declare const UploadVPDFileResponseSchema: z.ZodObject<{
193
- success: z.ZodBoolean;
194
- message: z.ZodOptional<z.ZodString>;
195
- } & {
196
- data: z.ZodOptional<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>>;
197
- }, "strip", z.ZodTypeAny, {
198
- success: boolean;
199
- message?: string | undefined;
200
- data?: import("..").IStudentResponseDef | undefined;
201
- }, {
202
- success: boolean;
203
- message?: string | undefined;
204
- data?: import("..").IStudentResponseDef | undefined;
205
- }>;
206
- export declare const DeleteVPDFileResponseSchema: z.ZodObject<{
207
- success: z.ZodBoolean;
208
- message: z.ZodOptional<z.ZodString>;
209
- }, "strip", z.ZodTypeAny, {
210
- success: boolean;
211
- message?: string | undefined;
212
- }, {
213
- success: boolean;
214
- message?: string | undefined;
215
- }>;
216
- export declare const SetAsNotNeededResponseSchema: z.ZodObject<{
217
- success: z.ZodBoolean;
218
- message: z.ZodOptional<z.ZodString>;
219
- } & {
220
- data: z.ZodOptional<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>>;
221
- }, "strip", z.ZodTypeAny, {
222
- success: boolean;
223
- message?: string | undefined;
224
- data?: import("..").IStudentResponseDef | undefined;
225
- }, {
226
- success: boolean;
227
- message?: string | undefined;
228
- data?: import("..").IStudentResponseDef | undefined;
229
- }>;
230
- export declare const SetUniAssistPaidResponseSchema: z.ZodObject<{
231
- success: z.ZodBoolean;
232
- message: z.ZodOptional<z.ZodString>;
233
- } & {
234
- data: z.ZodOptional<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>>;
235
- }, "strip", z.ZodTypeAny, {
236
- success: boolean;
237
- message?: string | undefined;
238
- data?: import("..").IStudentResponseDef | undefined;
239
- }, {
240
- success: boolean;
241
- message?: string | undefined;
242
- data?: import("..").IStudentResponseDef | undefined;
243
- }>;
244
- export declare const UpdateProfileDocStatusResponseSchema: z.ZodObject<{
245
- success: z.ZodBoolean;
246
- message: z.ZodOptional<z.ZodString>;
247
- } & {
248
- data: z.ZodOptional<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>>;
249
- }, "strip", z.ZodTypeAny, {
250
- success: boolean;
251
- message?: string | undefined;
252
- data?: import("..").IStudentResponseDef | undefined;
253
- }, {
254
- success: boolean;
255
- message?: string | undefined;
256
- data?: import("..").IStudentResponseDef | undefined;
257
- }>;
258
- export declare const GetStudentUniAssistResponseSchema: z.ZodObject<{
259
- success: z.ZodBoolean;
260
- message: z.ZodOptional<z.ZodString>;
261
- } & {
262
- data: z.ZodOptional<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>>;
263
- }, "strip", z.ZodTypeAny, {
264
- success: boolean;
265
- message?: string | undefined;
266
- data?: import("..").IStudentResponseDef | undefined;
267
- }, {
268
- success: boolean;
269
- message?: string | undefined;
270
- data?: import("..").IStudentResponseDef | undefined;
271
- }>;
272
- /** GET /api/students, GET /api/students/v3 */
273
- export type GetStudentsResponse = z.infer<typeof GetStudentsResponseSchema>;
274
- /** GET /api/students/active */
275
- export type GetActiveStudentsResponse = z.infer<typeof GetActiveStudentsResponseSchema>;
276
- /** GET /api/students/:studentId */
277
- export type GetStudentResponse = z.infer<typeof GetStudentResponseSchema>;
278
- /** GET /api/students/doc-links/:studentId */
279
- export type GetStudentDocLinksResponse = z.infer<typeof GetStudentDocLinksResponseSchema>;
280
- /** GET /api/students/doc-links */
281
- export type GetStudentsAndDocLinksResponse = z.infer<typeof GetStudentsAndDocLinksResponseSchema>;
282
- /** POST /api/students/archiv/:studentId */
283
- export type UpdateArchivStudentsResponse = z.infer<typeof UpdateArchivStudentsResponseSchema>;
284
- /** POST /api/students/:studentId/agents */
285
- export type UpdateStudentAgentsResponse = z.infer<typeof UpdateStudentAgentsResponseSchema>;
286
- /** POST /api/students/:studentId/editors */
287
- export type UpdateStudentEditorsResponse = z.infer<typeof UpdateStudentEditorsResponseSchema>;
288
- /** POST /api/students/:studentId/attributes */
289
- export type UpdateStudentAttributesResponse = z.infer<typeof UpdateStudentAttributesResponseSchema>;
290
- /** POST /api/students/doc-links */
291
- export type UpdateDocumentationHelperLinkResponse = z.infer<typeof UpdateDocumentationHelperLinkResponseSchema>;
292
- /** POST /api/students/:studentId/files/:category */
293
- export type UploadStudentFileResponse = z.infer<typeof UploadStudentFileResponseSchema>;
294
- /** DELETE /api/students/:studentId/files/:category */
295
- export type DeleteStudentFileResponse = z.infer<typeof DeleteStudentFileResponseSchema>;
296
- /** POST /api/students/:studentId/vpd/:applicationId/:fileType */
297
- export type UploadVPDFileResponse = z.infer<typeof UploadVPDFileResponseSchema>;
298
- /** DELETE /api/students/:studentId/vpd/:applicationId/:fileType */
299
- export type DeleteVPDFileResponse = z.infer<typeof DeleteVPDFileResponseSchema>;
300
- /** PUT /api/students/:studentId/vpd/:applicationId/VPD */
301
- export type SetAsNotNeededResponse = z.infer<typeof SetAsNotNeededResponseSchema>;
302
- /** POST /api/students/:studentId/vpd/:applicationId/payments */
303
- export type SetUniAssistPaidResponse = z.infer<typeof SetUniAssistPaidResponseSchema>;
304
- /** POST /api/students/:studentId/:category/status */
305
- export type UpdateProfileDocStatusResponse = z.infer<typeof UpdateProfileDocStatusResponseSchema>;
306
- /** GET /api/uniassist/:studentId */
307
- export type GetStudentUniAssistResponse = z.infer<typeof GetStudentUniAssistResponseSchema>;