@taiger-common/model 1.0.53 → 1.0.54

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