@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,849 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const GetAllCoursesResponseSchema: z.ZodObject<{
3
- success: z.ZodBoolean;
4
- message: z.ZodOptional<z.ZodString>;
5
- } & {
6
- data: z.ZodOptional<z.ZodArray<z.ZodObject<{
7
- updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
8
- _id: z.ZodOptional<z.ZodString>;
9
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10
- _id: z.ZodOptional<z.ZodString>;
11
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12
- _id: z.ZodOptional<z.ZodString>;
13
- }, z.ZodTypeAny, "passthrough">>]>>;
14
- all_course_chinese: z.ZodString;
15
- all_course_english: z.ZodString;
16
- description: z.ZodOptional<z.ZodString>;
17
- } & {
18
- _id: z.ZodString;
19
- }, "strip", z.ZodTypeAny, {
20
- _id: string;
21
- all_course_chinese: string;
22
- all_course_english: string;
23
- description?: string | undefined;
24
- updatedBy?: string | z.objectOutputType<{
25
- _id: z.ZodOptional<z.ZodString>;
26
- }, z.ZodTypeAny, "passthrough"> | undefined;
27
- }, {
28
- _id: string;
29
- all_course_chinese: string;
30
- all_course_english: string;
31
- description?: string | undefined;
32
- updatedBy?: string | z.objectInputType<{
33
- _id: z.ZodOptional<z.ZodString>;
34
- }, z.ZodTypeAny, "passthrough"> | undefined;
35
- }>, "many">>;
36
- }, "strip", z.ZodTypeAny, {
37
- success: boolean;
38
- message?: string | undefined;
39
- data?: {
40
- _id: string;
41
- all_course_chinese: string;
42
- all_course_english: string;
43
- description?: string | undefined;
44
- updatedBy?: string | z.objectOutputType<{
45
- _id: z.ZodOptional<z.ZodString>;
46
- }, z.ZodTypeAny, "passthrough"> | undefined;
47
- }[] | undefined;
48
- }, {
49
- success: boolean;
50
- message?: string | undefined;
51
- data?: {
52
- _id: string;
53
- all_course_chinese: string;
54
- all_course_english: string;
55
- description?: string | undefined;
56
- updatedBy?: string | z.objectInputType<{
57
- _id: z.ZodOptional<z.ZodString>;
58
- }, z.ZodTypeAny, "passthrough"> | undefined;
59
- }[] | undefined;
60
- }>;
61
- export declare const GetAllCourseResponseSchema: z.ZodObject<{
62
- success: z.ZodBoolean;
63
- message: z.ZodOptional<z.ZodString>;
64
- } & {
65
- data: z.ZodOptional<z.ZodObject<{
66
- updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
67
- _id: z.ZodOptional<z.ZodString>;
68
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
69
- _id: z.ZodOptional<z.ZodString>;
70
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
71
- _id: z.ZodOptional<z.ZodString>;
72
- }, z.ZodTypeAny, "passthrough">>]>>;
73
- all_course_chinese: z.ZodString;
74
- all_course_english: z.ZodString;
75
- description: z.ZodOptional<z.ZodString>;
76
- } & {
77
- _id: z.ZodString;
78
- }, "strip", z.ZodTypeAny, {
79
- _id: string;
80
- all_course_chinese: string;
81
- all_course_english: string;
82
- description?: string | undefined;
83
- updatedBy?: string | z.objectOutputType<{
84
- _id: z.ZodOptional<z.ZodString>;
85
- }, z.ZodTypeAny, "passthrough"> | undefined;
86
- }, {
87
- _id: string;
88
- all_course_chinese: string;
89
- all_course_english: string;
90
- description?: string | undefined;
91
- updatedBy?: string | z.objectInputType<{
92
- _id: z.ZodOptional<z.ZodString>;
93
- }, z.ZodTypeAny, "passthrough"> | undefined;
94
- }>>;
95
- }, "strip", z.ZodTypeAny, {
96
- success: boolean;
97
- message?: string | undefined;
98
- data?: {
99
- _id: string;
100
- all_course_chinese: string;
101
- all_course_english: string;
102
- description?: string | undefined;
103
- updatedBy?: string | z.objectOutputType<{
104
- _id: z.ZodOptional<z.ZodString>;
105
- }, z.ZodTypeAny, "passthrough"> | undefined;
106
- } | undefined;
107
- }, {
108
- success: boolean;
109
- message?: string | undefined;
110
- data?: {
111
- _id: string;
112
- all_course_chinese: string;
113
- all_course_english: string;
114
- description?: string | undefined;
115
- updatedBy?: string | z.objectInputType<{
116
- _id: z.ZodOptional<z.ZodString>;
117
- }, z.ZodTypeAny, "passthrough"> | undefined;
118
- } | undefined;
119
- }>;
120
- export declare const CreateAllCourseResponseSchema: z.ZodObject<{
121
- success: z.ZodBoolean;
122
- message: z.ZodOptional<z.ZodString>;
123
- } & {
124
- data: z.ZodOptional<z.ZodObject<{
125
- updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
126
- _id: z.ZodOptional<z.ZodString>;
127
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
128
- _id: z.ZodOptional<z.ZodString>;
129
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
130
- _id: z.ZodOptional<z.ZodString>;
131
- }, z.ZodTypeAny, "passthrough">>]>>;
132
- all_course_chinese: z.ZodString;
133
- all_course_english: z.ZodString;
134
- description: z.ZodOptional<z.ZodString>;
135
- } & {
136
- _id: z.ZodString;
137
- }, "strip", z.ZodTypeAny, {
138
- _id: string;
139
- all_course_chinese: string;
140
- all_course_english: string;
141
- description?: string | undefined;
142
- updatedBy?: string | z.objectOutputType<{
143
- _id: z.ZodOptional<z.ZodString>;
144
- }, z.ZodTypeAny, "passthrough"> | undefined;
145
- }, {
146
- _id: string;
147
- all_course_chinese: string;
148
- all_course_english: string;
149
- description?: string | undefined;
150
- updatedBy?: string | z.objectInputType<{
151
- _id: z.ZodOptional<z.ZodString>;
152
- }, z.ZodTypeAny, "passthrough"> | undefined;
153
- }>>;
154
- }, "strip", z.ZodTypeAny, {
155
- success: boolean;
156
- message?: string | undefined;
157
- data?: {
158
- _id: string;
159
- all_course_chinese: string;
160
- all_course_english: string;
161
- description?: string | undefined;
162
- updatedBy?: string | z.objectOutputType<{
163
- _id: z.ZodOptional<z.ZodString>;
164
- }, z.ZodTypeAny, "passthrough"> | undefined;
165
- } | undefined;
166
- }, {
167
- success: boolean;
168
- message?: string | undefined;
169
- data?: {
170
- _id: string;
171
- all_course_chinese: string;
172
- all_course_english: string;
173
- description?: string | undefined;
174
- updatedBy?: string | z.objectInputType<{
175
- _id: z.ZodOptional<z.ZodString>;
176
- }, z.ZodTypeAny, "passthrough"> | undefined;
177
- } | undefined;
178
- }>;
179
- export declare const UpdateAllCourseResponseSchema: z.ZodObject<{
180
- success: z.ZodBoolean;
181
- message: z.ZodOptional<z.ZodString>;
182
- } & {
183
- data: z.ZodOptional<z.ZodObject<{
184
- updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
185
- _id: z.ZodOptional<z.ZodString>;
186
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
187
- _id: z.ZodOptional<z.ZodString>;
188
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
189
- _id: z.ZodOptional<z.ZodString>;
190
- }, z.ZodTypeAny, "passthrough">>]>>;
191
- all_course_chinese: z.ZodString;
192
- all_course_english: z.ZodString;
193
- description: z.ZodOptional<z.ZodString>;
194
- } & {
195
- _id: z.ZodString;
196
- }, "strip", z.ZodTypeAny, {
197
- _id: string;
198
- all_course_chinese: string;
199
- all_course_english: string;
200
- description?: string | undefined;
201
- updatedBy?: string | z.objectOutputType<{
202
- _id: z.ZodOptional<z.ZodString>;
203
- }, z.ZodTypeAny, "passthrough"> | undefined;
204
- }, {
205
- _id: string;
206
- all_course_chinese: string;
207
- all_course_english: string;
208
- description?: string | undefined;
209
- updatedBy?: string | z.objectInputType<{
210
- _id: z.ZodOptional<z.ZodString>;
211
- }, z.ZodTypeAny, "passthrough"> | undefined;
212
- }>>;
213
- }, "strip", z.ZodTypeAny, {
214
- success: boolean;
215
- message?: string | undefined;
216
- data?: {
217
- _id: string;
218
- all_course_chinese: string;
219
- all_course_english: string;
220
- description?: string | undefined;
221
- updatedBy?: string | z.objectOutputType<{
222
- _id: z.ZodOptional<z.ZodString>;
223
- }, z.ZodTypeAny, "passthrough"> | undefined;
224
- } | undefined;
225
- }, {
226
- success: boolean;
227
- message?: string | undefined;
228
- data?: {
229
- _id: string;
230
- all_course_chinese: string;
231
- all_course_english: string;
232
- description?: string | undefined;
233
- updatedBy?: string | z.objectInputType<{
234
- _id: z.ZodOptional<z.ZodString>;
235
- }, z.ZodTypeAny, "passthrough"> | undefined;
236
- } | undefined;
237
- }>;
238
- export declare const DeleteAllCourseResponseSchema: z.ZodObject<{
239
- success: z.ZodBoolean;
240
- message: z.ZodOptional<z.ZodString>;
241
- }, "strip", z.ZodTypeAny, {
242
- success: boolean;
243
- message?: string | undefined;
244
- }, {
245
- success: boolean;
246
- message?: string | undefined;
247
- }>;
248
- export declare const GetCourseKeywordsetsResponseSchema: z.ZodObject<{
249
- success: z.ZodBoolean;
250
- message: z.ZodOptional<z.ZodString>;
251
- } & {
252
- data: z.ZodOptional<z.ZodArray<z.ZodObject<{
253
- categoryName: z.ZodOptional<z.ZodString>;
254
- description: z.ZodOptional<z.ZodString>;
255
- keywords: z.ZodOptional<z.ZodObject<{
256
- zh: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
257
- en: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
258
- }, "strip", z.ZodTypeAny, {
259
- zh?: string[] | undefined;
260
- en?: string[] | undefined;
261
- }, {
262
- zh?: string[] | undefined;
263
- en?: string[] | undefined;
264
- }>>;
265
- antiKeywords: z.ZodOptional<z.ZodObject<{
266
- zh: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
267
- en: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
268
- }, "strip", z.ZodTypeAny, {
269
- zh?: string[] | undefined;
270
- en?: string[] | undefined;
271
- }, {
272
- zh?: string[] | undefined;
273
- en?: string[] | undefined;
274
- }>>;
275
- } & {
276
- _id: z.ZodString;
277
- }, "strip", z.ZodTypeAny, {
278
- _id: string;
279
- description?: string | undefined;
280
- categoryName?: string | undefined;
281
- keywords?: {
282
- zh?: string[] | undefined;
283
- en?: string[] | undefined;
284
- } | undefined;
285
- antiKeywords?: {
286
- zh?: string[] | undefined;
287
- en?: string[] | undefined;
288
- } | undefined;
289
- }, {
290
- _id: string;
291
- description?: string | undefined;
292
- categoryName?: string | undefined;
293
- keywords?: {
294
- zh?: string[] | undefined;
295
- en?: string[] | undefined;
296
- } | undefined;
297
- antiKeywords?: {
298
- zh?: string[] | undefined;
299
- en?: string[] | undefined;
300
- } | undefined;
301
- }>, "many">>;
302
- }, "strip", z.ZodTypeAny, {
303
- success: boolean;
304
- message?: string | undefined;
305
- data?: {
306
- _id: string;
307
- description?: string | undefined;
308
- categoryName?: string | undefined;
309
- keywords?: {
310
- zh?: string[] | undefined;
311
- en?: string[] | undefined;
312
- } | undefined;
313
- antiKeywords?: {
314
- zh?: string[] | undefined;
315
- en?: string[] | undefined;
316
- } | undefined;
317
- }[] | undefined;
318
- }, {
319
- success: boolean;
320
- message?: string | undefined;
321
- data?: {
322
- _id: string;
323
- description?: string | undefined;
324
- categoryName?: string | undefined;
325
- keywords?: {
326
- zh?: string[] | undefined;
327
- en?: string[] | undefined;
328
- } | undefined;
329
- antiKeywords?: {
330
- zh?: string[] | undefined;
331
- en?: string[] | undefined;
332
- } | undefined;
333
- }[] | undefined;
334
- }>;
335
- export declare const GetCourseKeywordsetResponseSchema: z.ZodObject<{
336
- success: z.ZodBoolean;
337
- message: z.ZodOptional<z.ZodString>;
338
- } & {
339
- data: z.ZodOptional<z.ZodObject<{
340
- categoryName: z.ZodOptional<z.ZodString>;
341
- description: z.ZodOptional<z.ZodString>;
342
- keywords: z.ZodOptional<z.ZodObject<{
343
- zh: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
344
- en: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
345
- }, "strip", z.ZodTypeAny, {
346
- zh?: string[] | undefined;
347
- en?: string[] | undefined;
348
- }, {
349
- zh?: string[] | undefined;
350
- en?: string[] | undefined;
351
- }>>;
352
- antiKeywords: z.ZodOptional<z.ZodObject<{
353
- zh: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
354
- en: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
355
- }, "strip", z.ZodTypeAny, {
356
- zh?: string[] | undefined;
357
- en?: string[] | undefined;
358
- }, {
359
- zh?: string[] | undefined;
360
- en?: string[] | undefined;
361
- }>>;
362
- } & {
363
- _id: z.ZodString;
364
- }, "strip", z.ZodTypeAny, {
365
- _id: string;
366
- description?: string | undefined;
367
- categoryName?: string | undefined;
368
- keywords?: {
369
- zh?: string[] | undefined;
370
- en?: string[] | undefined;
371
- } | undefined;
372
- antiKeywords?: {
373
- zh?: string[] | undefined;
374
- en?: string[] | undefined;
375
- } | undefined;
376
- }, {
377
- _id: string;
378
- description?: string | undefined;
379
- categoryName?: string | undefined;
380
- keywords?: {
381
- zh?: string[] | undefined;
382
- en?: string[] | undefined;
383
- } | undefined;
384
- antiKeywords?: {
385
- zh?: string[] | undefined;
386
- en?: string[] | undefined;
387
- } | undefined;
388
- }>>;
389
- }, "strip", z.ZodTypeAny, {
390
- success: boolean;
391
- message?: string | undefined;
392
- data?: {
393
- _id: string;
394
- description?: string | undefined;
395
- categoryName?: string | undefined;
396
- keywords?: {
397
- zh?: string[] | undefined;
398
- en?: string[] | undefined;
399
- } | undefined;
400
- antiKeywords?: {
401
- zh?: string[] | undefined;
402
- en?: string[] | undefined;
403
- } | undefined;
404
- } | undefined;
405
- }, {
406
- success: boolean;
407
- message?: string | undefined;
408
- data?: {
409
- _id: string;
410
- description?: string | undefined;
411
- categoryName?: string | undefined;
412
- keywords?: {
413
- zh?: string[] | undefined;
414
- en?: string[] | undefined;
415
- } | undefined;
416
- antiKeywords?: {
417
- zh?: string[] | undefined;
418
- en?: string[] | undefined;
419
- } | undefined;
420
- } | undefined;
421
- }>;
422
- export declare const CreateKeywordsetResponseSchema: z.ZodObject<{
423
- success: z.ZodBoolean;
424
- message: z.ZodOptional<z.ZodString>;
425
- } & {
426
- data: z.ZodOptional<z.ZodObject<{
427
- categoryName: z.ZodOptional<z.ZodString>;
428
- description: z.ZodOptional<z.ZodString>;
429
- keywords: z.ZodOptional<z.ZodObject<{
430
- zh: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
431
- en: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
432
- }, "strip", z.ZodTypeAny, {
433
- zh?: string[] | undefined;
434
- en?: string[] | undefined;
435
- }, {
436
- zh?: string[] | undefined;
437
- en?: string[] | undefined;
438
- }>>;
439
- antiKeywords: z.ZodOptional<z.ZodObject<{
440
- zh: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
441
- en: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
442
- }, "strip", z.ZodTypeAny, {
443
- zh?: string[] | undefined;
444
- en?: string[] | undefined;
445
- }, {
446
- zh?: string[] | undefined;
447
- en?: string[] | undefined;
448
- }>>;
449
- } & {
450
- _id: z.ZodString;
451
- }, "strip", z.ZodTypeAny, {
452
- _id: string;
453
- description?: string | undefined;
454
- categoryName?: string | undefined;
455
- keywords?: {
456
- zh?: string[] | undefined;
457
- en?: string[] | undefined;
458
- } | undefined;
459
- antiKeywords?: {
460
- zh?: string[] | undefined;
461
- en?: string[] | undefined;
462
- } | undefined;
463
- }, {
464
- _id: string;
465
- description?: string | undefined;
466
- categoryName?: string | undefined;
467
- keywords?: {
468
- zh?: string[] | undefined;
469
- en?: string[] | undefined;
470
- } | undefined;
471
- antiKeywords?: {
472
- zh?: string[] | undefined;
473
- en?: string[] | undefined;
474
- } | undefined;
475
- }>>;
476
- }, "strip", z.ZodTypeAny, {
477
- success: boolean;
478
- message?: string | undefined;
479
- data?: {
480
- _id: string;
481
- description?: string | undefined;
482
- categoryName?: string | undefined;
483
- keywords?: {
484
- zh?: string[] | undefined;
485
- en?: string[] | undefined;
486
- } | undefined;
487
- antiKeywords?: {
488
- zh?: string[] | undefined;
489
- en?: string[] | undefined;
490
- } | undefined;
491
- } | undefined;
492
- }, {
493
- success: boolean;
494
- message?: string | undefined;
495
- data?: {
496
- _id: string;
497
- description?: string | undefined;
498
- categoryName?: string | undefined;
499
- keywords?: {
500
- zh?: string[] | undefined;
501
- en?: string[] | undefined;
502
- } | undefined;
503
- antiKeywords?: {
504
- zh?: string[] | undefined;
505
- en?: string[] | undefined;
506
- } | undefined;
507
- } | undefined;
508
- }>;
509
- export declare const UpdateKeywordsetResponseSchema: z.ZodObject<{
510
- success: z.ZodBoolean;
511
- message: z.ZodOptional<z.ZodString>;
512
- } & {
513
- data: z.ZodOptional<z.ZodObject<{
514
- categoryName: z.ZodOptional<z.ZodString>;
515
- description: z.ZodOptional<z.ZodString>;
516
- keywords: z.ZodOptional<z.ZodObject<{
517
- zh: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
518
- en: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
519
- }, "strip", z.ZodTypeAny, {
520
- zh?: string[] | undefined;
521
- en?: string[] | undefined;
522
- }, {
523
- zh?: string[] | undefined;
524
- en?: string[] | undefined;
525
- }>>;
526
- antiKeywords: z.ZodOptional<z.ZodObject<{
527
- zh: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
528
- en: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
529
- }, "strip", z.ZodTypeAny, {
530
- zh?: string[] | undefined;
531
- en?: string[] | undefined;
532
- }, {
533
- zh?: string[] | undefined;
534
- en?: string[] | undefined;
535
- }>>;
536
- } & {
537
- _id: z.ZodString;
538
- }, "strip", z.ZodTypeAny, {
539
- _id: string;
540
- description?: string | undefined;
541
- categoryName?: string | undefined;
542
- keywords?: {
543
- zh?: string[] | undefined;
544
- en?: string[] | undefined;
545
- } | undefined;
546
- antiKeywords?: {
547
- zh?: string[] | undefined;
548
- en?: string[] | undefined;
549
- } | undefined;
550
- }, {
551
- _id: string;
552
- description?: string | undefined;
553
- categoryName?: string | undefined;
554
- keywords?: {
555
- zh?: string[] | undefined;
556
- en?: string[] | undefined;
557
- } | undefined;
558
- antiKeywords?: {
559
- zh?: string[] | undefined;
560
- en?: string[] | undefined;
561
- } | undefined;
562
- }>>;
563
- }, "strip", z.ZodTypeAny, {
564
- success: boolean;
565
- message?: string | undefined;
566
- data?: {
567
- _id: string;
568
- description?: string | undefined;
569
- categoryName?: string | undefined;
570
- keywords?: {
571
- zh?: string[] | undefined;
572
- en?: string[] | undefined;
573
- } | undefined;
574
- antiKeywords?: {
575
- zh?: string[] | undefined;
576
- en?: string[] | undefined;
577
- } | undefined;
578
- } | undefined;
579
- }, {
580
- success: boolean;
581
- message?: string | undefined;
582
- data?: {
583
- _id: string;
584
- description?: string | undefined;
585
- categoryName?: string | undefined;
586
- keywords?: {
587
- zh?: string[] | undefined;
588
- en?: string[] | undefined;
589
- } | undefined;
590
- antiKeywords?: {
591
- zh?: string[] | undefined;
592
- en?: string[] | undefined;
593
- } | undefined;
594
- } | undefined;
595
- }>;
596
- export declare const DeleteKeywordsetResponseSchema: z.ZodObject<{
597
- success: z.ZodBoolean;
598
- message: z.ZodOptional<z.ZodString>;
599
- }, "strip", z.ZodTypeAny, {
600
- success: boolean;
601
- message?: string | undefined;
602
- }, {
603
- success: boolean;
604
- message?: string | undefined;
605
- }>;
606
- export declare const GetStudentCoursesResponseSchema: z.ZodObject<{
607
- success: z.ZodBoolean;
608
- message: z.ZodOptional<z.ZodString>;
609
- } & {
610
- data: z.ZodOptional<z.ZodObject<{
611
- student_id: z.ZodOptional<z.ZodString>;
612
- name: z.ZodOptional<z.ZodString>;
613
- table_data_string: z.ZodOptional<z.ZodString>;
614
- table_data_string_locked: z.ZodOptional<z.ZodBoolean>;
615
- table_data_string_taiger_guided: z.ZodOptional<z.ZodString>;
616
- updatedAt: z.ZodOptional<z.ZodDate>;
617
- analysis: z.ZodOptional<z.ZodObject<{
618
- path: z.ZodOptional<z.ZodString>;
619
- analyzed_course: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
620
- isAnalysed: z.ZodOptional<z.ZodBoolean>;
621
- isAnalysedV2: z.ZodOptional<z.ZodBoolean>;
622
- pathV2: z.ZodOptional<z.ZodString>;
623
- updatedAtV2: z.ZodOptional<z.ZodDate>;
624
- updatedAt: z.ZodOptional<z.ZodDate>;
625
- }, "strip", z.ZodTypeAny, {
626
- updatedAt?: Date | undefined;
627
- path?: string | undefined;
628
- analyzed_course?: string[] | undefined;
629
- isAnalysed?: boolean | undefined;
630
- isAnalysedV2?: boolean | undefined;
631
- pathV2?: string | undefined;
632
- updatedAtV2?: Date | undefined;
633
- }, {
634
- updatedAt?: Date | undefined;
635
- path?: string | undefined;
636
- analyzed_course?: string[] | undefined;
637
- isAnalysed?: boolean | undefined;
638
- isAnalysedV2?: boolean | undefined;
639
- pathV2?: string | undefined;
640
- updatedAtV2?: Date | undefined;
641
- }>>;
642
- }, "strip", z.ZodTypeAny, {
643
- updatedAt?: Date | undefined;
644
- name?: string | undefined;
645
- student_id?: string | undefined;
646
- table_data_string?: string | undefined;
647
- table_data_string_locked?: boolean | undefined;
648
- table_data_string_taiger_guided?: string | undefined;
649
- analysis?: {
650
- updatedAt?: Date | undefined;
651
- path?: string | undefined;
652
- analyzed_course?: string[] | undefined;
653
- isAnalysed?: boolean | undefined;
654
- isAnalysedV2?: boolean | undefined;
655
- pathV2?: string | undefined;
656
- updatedAtV2?: Date | undefined;
657
- } | undefined;
658
- }, {
659
- updatedAt?: Date | undefined;
660
- name?: string | undefined;
661
- student_id?: string | undefined;
662
- table_data_string?: string | undefined;
663
- table_data_string_locked?: boolean | undefined;
664
- table_data_string_taiger_guided?: string | undefined;
665
- analysis?: {
666
- updatedAt?: Date | undefined;
667
- path?: string | undefined;
668
- analyzed_course?: string[] | undefined;
669
- isAnalysed?: boolean | undefined;
670
- isAnalysedV2?: boolean | undefined;
671
- pathV2?: string | undefined;
672
- updatedAtV2?: Date | undefined;
673
- } | undefined;
674
- }>>;
675
- }, "strip", z.ZodTypeAny, {
676
- success: boolean;
677
- message?: string | undefined;
678
- data?: {
679
- updatedAt?: Date | undefined;
680
- name?: string | undefined;
681
- student_id?: string | undefined;
682
- table_data_string?: string | undefined;
683
- table_data_string_locked?: boolean | undefined;
684
- table_data_string_taiger_guided?: string | undefined;
685
- analysis?: {
686
- updatedAt?: Date | undefined;
687
- path?: string | undefined;
688
- analyzed_course?: string[] | undefined;
689
- isAnalysed?: boolean | undefined;
690
- isAnalysedV2?: boolean | undefined;
691
- pathV2?: string | undefined;
692
- updatedAtV2?: Date | undefined;
693
- } | undefined;
694
- } | undefined;
695
- }, {
696
- success: boolean;
697
- message?: string | undefined;
698
- data?: {
699
- updatedAt?: Date | undefined;
700
- name?: string | undefined;
701
- student_id?: string | undefined;
702
- table_data_string?: string | undefined;
703
- table_data_string_locked?: boolean | undefined;
704
- table_data_string_taiger_guided?: string | undefined;
705
- analysis?: {
706
- updatedAt?: Date | undefined;
707
- path?: string | undefined;
708
- analyzed_course?: string[] | undefined;
709
- isAnalysed?: boolean | undefined;
710
- isAnalysedV2?: boolean | undefined;
711
- pathV2?: string | undefined;
712
- updatedAtV2?: Date | undefined;
713
- } | undefined;
714
- } | undefined;
715
- }>;
716
- export declare const UpdateStudentCoursesResponseSchema: z.ZodObject<{
717
- success: z.ZodBoolean;
718
- message: z.ZodOptional<z.ZodString>;
719
- } & {
720
- data: z.ZodOptional<z.ZodObject<{
721
- student_id: z.ZodOptional<z.ZodString>;
722
- name: z.ZodOptional<z.ZodString>;
723
- table_data_string: z.ZodOptional<z.ZodString>;
724
- table_data_string_locked: z.ZodOptional<z.ZodBoolean>;
725
- table_data_string_taiger_guided: z.ZodOptional<z.ZodString>;
726
- updatedAt: z.ZodOptional<z.ZodDate>;
727
- analysis: z.ZodOptional<z.ZodObject<{
728
- path: z.ZodOptional<z.ZodString>;
729
- analyzed_course: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
730
- isAnalysed: z.ZodOptional<z.ZodBoolean>;
731
- isAnalysedV2: z.ZodOptional<z.ZodBoolean>;
732
- pathV2: z.ZodOptional<z.ZodString>;
733
- updatedAtV2: z.ZodOptional<z.ZodDate>;
734
- updatedAt: z.ZodOptional<z.ZodDate>;
735
- }, "strip", z.ZodTypeAny, {
736
- updatedAt?: Date | undefined;
737
- path?: string | undefined;
738
- analyzed_course?: string[] | undefined;
739
- isAnalysed?: boolean | undefined;
740
- isAnalysedV2?: boolean | undefined;
741
- pathV2?: string | undefined;
742
- updatedAtV2?: Date | undefined;
743
- }, {
744
- updatedAt?: Date | undefined;
745
- path?: string | undefined;
746
- analyzed_course?: string[] | undefined;
747
- isAnalysed?: boolean | undefined;
748
- isAnalysedV2?: boolean | undefined;
749
- pathV2?: string | undefined;
750
- updatedAtV2?: Date | undefined;
751
- }>>;
752
- }, "strip", z.ZodTypeAny, {
753
- updatedAt?: Date | undefined;
754
- name?: string | undefined;
755
- student_id?: string | undefined;
756
- table_data_string?: string | undefined;
757
- table_data_string_locked?: boolean | undefined;
758
- table_data_string_taiger_guided?: string | undefined;
759
- analysis?: {
760
- updatedAt?: Date | undefined;
761
- path?: string | undefined;
762
- analyzed_course?: string[] | undefined;
763
- isAnalysed?: boolean | undefined;
764
- isAnalysedV2?: boolean | undefined;
765
- pathV2?: string | undefined;
766
- updatedAtV2?: Date | undefined;
767
- } | undefined;
768
- }, {
769
- updatedAt?: Date | undefined;
770
- name?: string | undefined;
771
- student_id?: string | undefined;
772
- table_data_string?: string | undefined;
773
- table_data_string_locked?: boolean | undefined;
774
- table_data_string_taiger_guided?: string | undefined;
775
- analysis?: {
776
- updatedAt?: Date | undefined;
777
- path?: string | undefined;
778
- analyzed_course?: string[] | undefined;
779
- isAnalysed?: boolean | undefined;
780
- isAnalysedV2?: boolean | undefined;
781
- pathV2?: string | undefined;
782
- updatedAtV2?: Date | undefined;
783
- } | undefined;
784
- }>>;
785
- }, "strip", z.ZodTypeAny, {
786
- success: boolean;
787
- message?: string | undefined;
788
- data?: {
789
- updatedAt?: Date | undefined;
790
- name?: string | undefined;
791
- student_id?: string | undefined;
792
- table_data_string?: string | undefined;
793
- table_data_string_locked?: boolean | undefined;
794
- table_data_string_taiger_guided?: string | undefined;
795
- analysis?: {
796
- updatedAt?: Date | undefined;
797
- path?: string | undefined;
798
- analyzed_course?: string[] | undefined;
799
- isAnalysed?: boolean | undefined;
800
- isAnalysedV2?: boolean | undefined;
801
- pathV2?: string | undefined;
802
- updatedAtV2?: Date | undefined;
803
- } | undefined;
804
- } | undefined;
805
- }, {
806
- success: boolean;
807
- message?: string | undefined;
808
- data?: {
809
- updatedAt?: Date | undefined;
810
- name?: string | undefined;
811
- student_id?: string | undefined;
812
- table_data_string?: string | undefined;
813
- table_data_string_locked?: boolean | undefined;
814
- table_data_string_taiger_guided?: string | undefined;
815
- analysis?: {
816
- updatedAt?: Date | undefined;
817
- path?: string | undefined;
818
- analyzed_course?: string[] | undefined;
819
- isAnalysed?: boolean | undefined;
820
- isAnalysedV2?: boolean | undefined;
821
- pathV2?: string | undefined;
822
- updatedAtV2?: Date | undefined;
823
- } | undefined;
824
- } | undefined;
825
- }>;
826
- /** GET /api/all-courses */
827
- export type GetAllCoursesResponse = z.infer<typeof GetAllCoursesResponseSchema>;
828
- /** GET /api/all-courses/:courseId */
829
- export type GetAllCourseResponse = z.infer<typeof GetAllCourseResponseSchema>;
830
- /** POST /api/all-courses */
831
- export type CreateAllCourseResponse = z.infer<typeof CreateAllCourseResponseSchema>;
832
- /** PUT /api/all-courses/:courseId */
833
- export type UpdateAllCourseResponse = z.infer<typeof UpdateAllCourseResponseSchema>;
834
- /** DELETE /api/all-courses/:courseId */
835
- export type DeleteAllCourseResponse = z.infer<typeof DeleteAllCourseResponseSchema>;
836
- /** GET /api/course-keywords */
837
- export type GetCourseKeywordsetsResponse = z.infer<typeof GetCourseKeywordsetsResponseSchema>;
838
- /** GET /api/course-keywords/:keywordsSetId */
839
- export type GetCourseKeywordsetResponse = z.infer<typeof GetCourseKeywordsetResponseSchema>;
840
- /** POST /api/course-keywords/new */
841
- export type CreateKeywordsetResponse = z.infer<typeof CreateKeywordsetResponseSchema>;
842
- /** PUT /api/course-keywords/:keywordsSetId */
843
- export type UpdateKeywordsetResponse = z.infer<typeof UpdateKeywordsetResponseSchema>;
844
- /** DELETE /api/course-keywords/:keywordsSetId */
845
- export type DeleteKeywordsetResponse = z.infer<typeof DeleteKeywordsetResponseSchema>;
846
- /** GET /api/courses/:student_id */
847
- export type GetStudentCoursesResponse = z.infer<typeof GetStudentCoursesResponseSchema>;
848
- /** PUT /api/courses/:student_id */
849
- export type UpdateStudentCoursesResponse = z.infer<typeof UpdateStudentCoursesResponseSchema>;