@taiger-common/model 1.0.57 → 1.0.58

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