@taiger-common/model 1.0.52 → 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 (95) 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/model/Documentthread.js +1 -4
  28. package/dist/cjs/model/Program.js +0 -4
  29. package/dist/cjs/schema/index.js +22 -0
  30. package/dist/cjs/schema/models.js +518 -0
  31. package/dist/cjs/schema/serialized.js +202 -0
  32. package/dist/esm/api/account.js +32 -1
  33. package/dist/esm/api/applications.js +43 -1
  34. package/dist/esm/api/audit.js +5 -1
  35. package/dist/esm/api/auth.js +16 -1
  36. package/dist/esm/api/common.js +24 -1
  37. package/dist/esm/api/communications.js +12 -1
  38. package/dist/esm/api/courses.js +20 -1
  39. package/dist/esm/api/crm.js +84 -1
  40. package/dist/esm/api/documentThreads.js +41 -1
  41. package/dist/esm/api/documentations.js +30 -1
  42. package/dist/esm/api/events.js +19 -1
  43. package/dist/esm/api/interviews.js +32 -1
  44. package/dist/esm/api/meetings.js +17 -1
  45. package/dist/esm/api/notes.js +5 -1
  46. package/dist/esm/api/permissions.js +6 -1
  47. package/dist/esm/api/portals.js +21 -1
  48. package/dist/esm/api/programRequirements.js +23 -1
  49. package/dist/esm/api/programs.js +90 -1
  50. package/dist/esm/api/search.js +21 -1
  51. package/dist/esm/api/serialized.js +9 -1
  52. package/dist/esm/api/students.js +26 -1
  53. package/dist/esm/api/teams.js +45 -1
  54. package/dist/esm/api/tickets.js +18 -1
  55. package/dist/esm/api/users.js +39 -1
  56. package/dist/esm/api/widgets.js +18 -1
  57. package/dist/esm/index.js +1 -0
  58. package/dist/esm/model/Documentthread.js +1 -4
  59. package/dist/esm/model/Program.js +0 -4
  60. package/dist/esm/schema/index.js +6 -0
  61. package/dist/esm/schema/models.js +515 -0
  62. package/dist/esm/schema/serialized.js +199 -0
  63. package/dist/types/api/account.d.ts +485 -30
  64. package/dist/types/api/applications.d.ts +3392 -39
  65. package/dist/types/api/audit.d.ts +88 -3
  66. package/dist/types/api/auth.d.ts +3402 -14
  67. package/dist/types/api/common.d.ts +68 -8
  68. package/dist/types/api/communications.d.ts +609 -10
  69. package/dist/types/api/courses.d.ts +781 -15
  70. package/dist/types/api/crm.d.ts +1091 -85
  71. package/dist/types/api/documentThreads.d.ts +38228 -39
  72. package/dist/types/api/documentations.d.ts +913 -24
  73. package/dist/types/api/events.d.ts +7191 -17
  74. package/dist/types/api/interviews.d.ts +785 -30
  75. package/dist/types/api/meetings.d.ts +45 -27
  76. package/dist/types/api/notes.d.ts +83 -4
  77. package/dist/types/api/permissions.d.ts +193 -4
  78. package/dist/types/api/portals.d.ts +764 -17
  79. package/dist/types/api/programRequirements.d.ts +2675 -19
  80. package/dist/types/api/programs.d.ts +3019 -96
  81. package/dist/types/api/search.d.ts +286 -20
  82. package/dist/types/api/serialized.d.ts +3 -152
  83. package/dist/types/api/students.d.ts +289 -24
  84. package/dist/types/api/teams.d.ts +3652 -47
  85. package/dist/types/api/tickets.d.ts +948 -14
  86. package/dist/types/api/users.d.ts +6948 -39
  87. package/dist/types/api/widgets.d.ts +221 -16
  88. package/dist/types/index.d.ts +1 -0
  89. package/dist/types/model/Documentthread.d.ts +1 -2
  90. package/dist/types/model/Program.d.ts +0 -5
  91. package/dist/types/schema/index.d.ts +6 -0
  92. package/dist/types/schema/models.d.ts +2028 -0
  93. package/dist/types/schema/serialized.d.ts +8813 -0
  94. package/dist/umd/index.js +1 -1
  95. package/package.json +4 -2
@@ -1,26 +1,292 @@
1
- import type { ApiResponse } from './common';
2
- import type { IDocumentationWithId, ICommunicationWithId } from './serialized';
1
+ import { z } from 'zod';
2
+ export declare const SearchResultItemSchema: z.ZodObject<{
3
+ score: z.ZodOptional<z.ZodNumber>;
4
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
5
+ score: z.ZodOptional<z.ZodNumber>;
6
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
7
+ score: z.ZodOptional<z.ZodNumber>;
8
+ }, z.ZodUnknown, "strip">>;
9
+ export declare const StudentSearchResultSchema: z.ZodObject<{
10
+ _id: z.ZodOptional<z.ZodString>;
11
+ firstname: z.ZodOptional<z.ZodString>;
12
+ lastname: z.ZodOptional<z.ZodString>;
13
+ firstname_chinese: z.ZodOptional<z.ZodString>;
14
+ lastname_chinese: z.ZodOptional<z.ZodString>;
15
+ role: z.ZodOptional<z.ZodString>;
16
+ email: z.ZodOptional<z.ZodString>;
17
+ score: z.ZodOptional<z.ZodNumber>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ _id?: string | undefined;
20
+ role?: string | undefined;
21
+ firstname?: string | undefined;
22
+ firstname_chinese?: string | undefined;
23
+ lastname?: string | undefined;
24
+ lastname_chinese?: string | undefined;
25
+ email?: string | undefined;
26
+ score?: number | undefined;
27
+ }, {
28
+ _id?: string | undefined;
29
+ role?: string | undefined;
30
+ firstname?: string | undefined;
31
+ firstname_chinese?: string | undefined;
32
+ lastname?: string | undefined;
33
+ lastname_chinese?: string | undefined;
34
+ email?: string | undefined;
35
+ score?: number | undefined;
36
+ }>;
37
+ export declare const GetQueryResultsResponseSchema: z.ZodObject<{
38
+ success: z.ZodBoolean;
39
+ message: z.ZodOptional<z.ZodString>;
40
+ } & {
41
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
42
+ score: z.ZodOptional<z.ZodNumber>;
43
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
44
+ score: z.ZodOptional<z.ZodNumber>;
45
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
46
+ score: z.ZodOptional<z.ZodNumber>;
47
+ }, z.ZodUnknown, "strip">>, "many">>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ success: boolean;
50
+ message?: string | undefined;
51
+ data?: z.objectOutputType<{
52
+ score: z.ZodOptional<z.ZodNumber>;
53
+ }, z.ZodUnknown, "strip">[] | undefined;
54
+ }, {
55
+ success: boolean;
56
+ message?: string | undefined;
57
+ data?: z.objectInputType<{
58
+ score: z.ZodOptional<z.ZodNumber>;
59
+ }, z.ZodUnknown, "strip">[] | undefined;
60
+ }>;
61
+ export declare const GetQueryPublicResultsResponseSchema: z.ZodObject<{
62
+ success: z.ZodBoolean;
63
+ message: z.ZodOptional<z.ZodString>;
64
+ } & {
65
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
66
+ name: z.ZodOptional<z.ZodString>;
67
+ title: z.ZodOptional<z.ZodString>;
68
+ category: z.ZodOptional<z.ZodString>;
69
+ author: z.ZodOptional<z.ZodString>;
70
+ prop: z.ZodOptional<z.ZodString>;
71
+ text: z.ZodOptional<z.ZodString>;
72
+ country: z.ZodOptional<z.ZodString>;
73
+ updatedAt: z.ZodOptional<z.ZodDate>;
74
+ } & {
75
+ _id: z.ZodString;
76
+ }, "strip", z.ZodTypeAny, {
77
+ _id: string;
78
+ updatedAt?: Date | undefined;
79
+ country?: string | undefined;
80
+ text?: string | undefined;
81
+ name?: string | undefined;
82
+ title?: string | undefined;
83
+ category?: string | undefined;
84
+ prop?: string | undefined;
85
+ author?: string | undefined;
86
+ }, {
87
+ _id: string;
88
+ updatedAt?: Date | undefined;
89
+ country?: string | undefined;
90
+ text?: string | undefined;
91
+ name?: string | undefined;
92
+ title?: string | undefined;
93
+ category?: string | undefined;
94
+ prop?: string | undefined;
95
+ author?: string | undefined;
96
+ }>, "many">>;
97
+ }, "strip", z.ZodTypeAny, {
98
+ success: boolean;
99
+ message?: string | undefined;
100
+ data?: {
101
+ _id: string;
102
+ updatedAt?: Date | undefined;
103
+ country?: string | undefined;
104
+ text?: string | undefined;
105
+ name?: string | undefined;
106
+ title?: string | undefined;
107
+ category?: string | undefined;
108
+ prop?: string | undefined;
109
+ author?: string | undefined;
110
+ }[] | undefined;
111
+ }, {
112
+ success: boolean;
113
+ message?: string | undefined;
114
+ data?: {
115
+ _id: string;
116
+ updatedAt?: Date | undefined;
117
+ country?: string | undefined;
118
+ text?: string | undefined;
119
+ name?: string | undefined;
120
+ title?: string | undefined;
121
+ category?: string | undefined;
122
+ prop?: string | undefined;
123
+ author?: string | undefined;
124
+ }[] | undefined;
125
+ }>;
126
+ export declare const GetQueryStudentsResultsResponseSchema: z.ZodObject<{
127
+ success: z.ZodBoolean;
128
+ message: z.ZodOptional<z.ZodString>;
129
+ } & {
130
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
131
+ _id: z.ZodOptional<z.ZodString>;
132
+ firstname: z.ZodOptional<z.ZodString>;
133
+ lastname: z.ZodOptional<z.ZodString>;
134
+ firstname_chinese: z.ZodOptional<z.ZodString>;
135
+ lastname_chinese: z.ZodOptional<z.ZodString>;
136
+ role: z.ZodOptional<z.ZodString>;
137
+ email: z.ZodOptional<z.ZodString>;
138
+ score: z.ZodOptional<z.ZodNumber>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ _id?: string | undefined;
141
+ role?: string | undefined;
142
+ firstname?: string | undefined;
143
+ firstname_chinese?: string | undefined;
144
+ lastname?: string | undefined;
145
+ lastname_chinese?: string | undefined;
146
+ email?: string | undefined;
147
+ score?: number | undefined;
148
+ }, {
149
+ _id?: string | undefined;
150
+ role?: string | undefined;
151
+ firstname?: string | undefined;
152
+ firstname_chinese?: string | undefined;
153
+ lastname?: string | undefined;
154
+ lastname_chinese?: string | undefined;
155
+ email?: string | undefined;
156
+ score?: number | undefined;
157
+ }>, "many">>;
158
+ }, "strip", z.ZodTypeAny, {
159
+ success: boolean;
160
+ message?: string | undefined;
161
+ data?: {
162
+ _id?: string | undefined;
163
+ role?: string | undefined;
164
+ firstname?: string | undefined;
165
+ firstname_chinese?: string | undefined;
166
+ lastname?: string | undefined;
167
+ lastname_chinese?: string | undefined;
168
+ email?: string | undefined;
169
+ score?: number | undefined;
170
+ }[] | undefined;
171
+ }, {
172
+ success: boolean;
173
+ message?: string | undefined;
174
+ data?: {
175
+ _id?: string | undefined;
176
+ role?: string | undefined;
177
+ firstname?: string | undefined;
178
+ firstname_chinese?: string | undefined;
179
+ lastname?: string | undefined;
180
+ lastname_chinese?: string | undefined;
181
+ email?: string | undefined;
182
+ score?: number | undefined;
183
+ }[] | undefined;
184
+ }>;
185
+ export declare const GetQueryStudentResultsResponseSchema: z.ZodObject<{
186
+ success: z.ZodBoolean;
187
+ message: z.ZodOptional<z.ZodString>;
188
+ } & {
189
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
190
+ student_id: z.ZodOptional<z.ZodString>;
191
+ user_id: z.ZodOptional<z.ZodString>;
192
+ message: z.ZodOptional<z.ZodString>;
193
+ readBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
194
+ timeStampReadBy: z.ZodOptional<z.ZodUnknown>;
195
+ files: z.ZodOptional<z.ZodArray<z.ZodObject<{
196
+ name: z.ZodString;
197
+ path: z.ZodString;
198
+ }, "strip", z.ZodTypeAny, {
199
+ name: string;
200
+ path: string;
201
+ }, {
202
+ name: string;
203
+ path: string;
204
+ }>, "many">>;
205
+ createdAt: z.ZodOptional<z.ZodDate>;
206
+ ignore_message: z.ZodOptional<z.ZodBoolean>;
207
+ ignoredMessageUpdatedAt: z.ZodOptional<z.ZodDate>;
208
+ ignoredMessageBy: z.ZodOptional<z.ZodString>;
209
+ } & {
210
+ _id: z.ZodString;
211
+ }, "strip", z.ZodTypeAny, {
212
+ _id: string;
213
+ createdAt?: Date | undefined;
214
+ student_id?: string | undefined;
215
+ user_id?: string | undefined;
216
+ message?: string | undefined;
217
+ ignore_message?: boolean | undefined;
218
+ readBy?: string[] | undefined;
219
+ timeStampReadBy?: unknown;
220
+ files?: {
221
+ name: string;
222
+ path: string;
223
+ }[] | undefined;
224
+ ignoredMessageUpdatedAt?: Date | undefined;
225
+ ignoredMessageBy?: string | undefined;
226
+ }, {
227
+ _id: string;
228
+ createdAt?: Date | undefined;
229
+ student_id?: string | undefined;
230
+ user_id?: string | undefined;
231
+ message?: string | undefined;
232
+ ignore_message?: boolean | undefined;
233
+ readBy?: string[] | undefined;
234
+ timeStampReadBy?: unknown;
235
+ files?: {
236
+ name: string;
237
+ path: string;
238
+ }[] | undefined;
239
+ ignoredMessageUpdatedAt?: Date | undefined;
240
+ ignoredMessageBy?: string | undefined;
241
+ }>, "many">>;
242
+ }, "strip", z.ZodTypeAny, {
243
+ success: boolean;
244
+ message?: string | undefined;
245
+ data?: {
246
+ _id: string;
247
+ createdAt?: Date | undefined;
248
+ student_id?: string | undefined;
249
+ user_id?: string | undefined;
250
+ message?: string | undefined;
251
+ ignore_message?: boolean | undefined;
252
+ readBy?: string[] | undefined;
253
+ timeStampReadBy?: unknown;
254
+ files?: {
255
+ name: string;
256
+ path: string;
257
+ }[] | undefined;
258
+ ignoredMessageUpdatedAt?: Date | undefined;
259
+ ignoredMessageBy?: string | undefined;
260
+ }[] | undefined;
261
+ }, {
262
+ success: boolean;
263
+ message?: string | undefined;
264
+ data?: {
265
+ _id: string;
266
+ createdAt?: Date | undefined;
267
+ student_id?: string | undefined;
268
+ user_id?: string | undefined;
269
+ message?: string | undefined;
270
+ ignore_message?: boolean | undefined;
271
+ readBy?: string[] | undefined;
272
+ timeStampReadBy?: unknown;
273
+ files?: {
274
+ name: string;
275
+ path: string;
276
+ }[] | undefined;
277
+ ignoredMessageUpdatedAt?: Date | undefined;
278
+ ignoredMessageBy?: string | undefined;
279
+ }[] | undefined;
280
+ }>;
3
281
  /** A mixed search result item (may be a student, doc, program, etc.) */
4
- export interface SearchResultItem {
5
- score?: number;
6
- [key: string]: unknown;
7
- }
282
+ export type SearchResultItem = z.infer<typeof SearchResultItemSchema>;
8
283
  /** A student search result with basic identity fields */
9
- export interface StudentSearchResult {
10
- _id?: string;
11
- firstname?: string;
12
- lastname?: string;
13
- firstname_chinese?: string;
14
- lastname_chinese?: string;
15
- role?: string;
16
- email?: string;
17
- score?: number;
18
- }
284
+ export type StudentSearchResult = z.infer<typeof StudentSearchResultSchema>;
19
285
  /** GET /api/search?q= */
20
- export type GetQueryResultsResponse = ApiResponse<SearchResultItem[]>;
286
+ export type GetQueryResultsResponse = z.infer<typeof GetQueryResultsResponseSchema>;
21
287
  /** GET /api/search/public?q= */
22
- export type GetQueryPublicResultsResponse = ApiResponse<IDocumentationWithId[]>;
288
+ export type GetQueryPublicResultsResponse = z.infer<typeof GetQueryPublicResultsResponseSchema>;
23
289
  /** GET /api/search/students?q= */
24
- export type GetQueryStudentsResultsResponse = ApiResponse<StudentSearchResult[]>;
290
+ export type GetQueryStudentsResultsResponse = z.infer<typeof GetQueryStudentsResultsResponseSchema>;
25
291
  /** GET /api/communications?q= (student-side search) */
26
- export type GetQueryStudentResultsResponse = ApiResponse<ICommunicationWithId[]>;
292
+ export type GetQueryStudentResultsResponse = z.infer<typeof GetQueryStudentResultsResponseSchema>;
@@ -1,156 +1,7 @@
1
1
  /**
2
2
  * Serialized "API layer" versions of core model interfaces.
3
3
  * All ObjectId refs become strings to match JSON API serialization.
4
+ * Types are inferred from Zod schemas via z.infer<>.
4
5
  */
5
- import type { IStudent, IAgent, IEditor, IUserGeneraldocsThread, IUserAcademicBackgroundUniversity, IUserAcademicBackgroundLanguage, IUserApplicationPreference, IUserAttribute, IUserNotification, IUserTaigerai, IUserProfileItem } from '../model/User';
6
- import type { IProgram } from '../model/Program';
7
- import type { IApplication } from '../model/Application';
8
- import type { ICourse } from '../model/Course';
9
- import type { IDocumentthread } from '../model/Documentthread';
10
- import type { ICommunication } from '../model/Communication';
11
- import type { IInterview } from '../model/Interview';
12
- import type { IInterviewSurveyResponse } from '../model/InterviewSurveyResponse';
13
- import type { ITicket } from '../model/Ticket';
14
- import type { IComplaint } from '../model/Complaint';
15
- import type { IAudit } from '../model/Audit';
16
- import type { IEvent } from '../model/Event';
17
- import type { INote } from '../model/Note';
18
- import type { IPermission } from '../model/Permission';
19
- import type { IDocumentation } from '../model/Documentation';
20
- import type { IDocspage } from '../model/Docspage';
21
- import type { IInternaldoc } from '../model/Internaldoc';
22
- import type { IProgramrequirement } from '../model/Programrequirement';
23
- import type { IAllCourse } from '../model/Allcourse';
24
- import type { IKeywordset } from '../model/Keywordset';
25
- import type { ISurveyInput } from '../model/SurveyInput';
26
- import type { ITemplate } from '../model/Template';
27
- import type { IBasedocumentationslink } from '../model/Basedocumentationslink';
28
- export type { IUserAcademicBackgroundUniversity, IUserAcademicBackgroundLanguage, IUserApplicationPreference, IUserAttribute, IUserNotification, IUserTaigerai, IUserProfileItem, IUserGeneraldocsThread };
29
- /** Frontend-friendly User/Student with string _id (no nested ObjectId refs) */
30
- export interface IUserWithId extends Omit<IStudent, 'agents' | 'editors' | 'profile'> {
31
- _id: string;
32
- courses?: ICourse;
33
- }
34
- /** Frontend-friendly Program with string _id */
35
- export interface IProgramWithId extends Omit<IProgram, 'vcId'> {
36
- _id: string;
37
- vcId?: string;
38
- }
39
- /** Agent with string _id and agent-specific fields (timezone, officehours, etc.) */
40
- export interface IAgentWithId extends Omit<IAgent, 'agents' | 'editors' | 'profile'> {
41
- _id: string;
42
- }
43
- /** Editor with string _id and editor-specific fields (timezone, attribute, etc.) */
44
- export interface IEditorWithId extends Omit<IEditor, 'agents' | 'editors' | 'profile'> {
45
- _id: string;
46
- }
47
- /** Frontend-friendly Application with string _id (unpopulated refs) */
48
- export interface IApplicationWithId extends IApplication {
49
- _id: string;
50
- }
51
- /** Application as returned by API — populated programId and studentId */
52
- export interface IApplicationPopulated extends Omit<IApplication, 'programId' | 'studentId'> {
53
- _id: string;
54
- programId?: IProgramWithId;
55
- studentId?: IStudentResponse;
56
- }
57
- /** Student as returned by the API with populated agents, editors, applications */
58
- export interface IStudentResponse extends IStudent {
59
- _id: string;
60
- applying_program_count?: number;
61
- applications?: IApplicationPopulated[];
62
- agents?: IAgentWithId[];
63
- editors?: IEditorWithId[];
64
- generaldocs_threads?: IUserGeneraldocsThread[];
65
- }
66
- /** Document thread with string _id (unpopulated refs) */
67
- export interface IDocumentthreadWithId extends IDocumentthread {
68
- _id: string;
69
- }
70
- /** Document thread as returned by API — populated refs */
71
- export interface IDocumentthreadPopulated extends Omit<IDocumentthread, 'student_id' | 'program_id' | 'application_id' | 'outsourced_user_id' | 'pin_by_user_id' | 'flag_by_user_id' | 'essayConsultantIds'> {
72
- _id: string;
73
- student_id: IStudentResponse | string;
74
- program_id?: IProgramWithId | string;
75
- application_id?: IApplicationPopulated | string;
76
- outsourced_user_id?: IUserWithId[];
77
- pin_by_user_id?: IUserWithId[];
78
- flag_by_user_id?: IUserWithId[];
79
- essayConsultantIds?: IUserWithId[];
80
- }
81
- /** Communication message with string _id */
82
- export interface ICommunicationWithId extends ICommunication {
83
- _id: string;
84
- }
85
- /** Interview with string _id */
86
- export interface IInterviewWithId extends IInterview {
87
- _id: string;
88
- }
89
- /** Interview survey response with string _id */
90
- export interface IInterviewSurveyResponseWithId extends IInterviewSurveyResponse {
91
- _id: string;
92
- }
93
- /** Ticket with string _id */
94
- export interface ITicketWithId extends ITicket {
95
- _id: string;
96
- createdAt?: Date;
97
- }
98
- /** Complaint with string _id */
99
- export interface IComplaintWithId extends IComplaint {
100
- _id: string;
101
- createdAt?: Date;
102
- }
103
- /** Audit record with string _id */
104
- export interface IAuditWithId extends IAudit {
105
- _id: string;
106
- createdAt?: Date;
107
- }
108
- /** Event with string _id */
109
- export interface IEventWithId extends IEvent {
110
- _id: string;
111
- createdAt?: Date;
112
- }
113
- /** Note with string _id */
114
- export interface INoteWithId extends INote {
115
- _id: string;
116
- }
117
- /** Permission record with string _id */
118
- export interface IPermissionWithId extends IPermission {
119
- _id: string;
120
- }
121
- /** Documentation article with string _id */
122
- export interface IDocumentationWithId extends IDocumentation {
123
- _id: string;
124
- }
125
- /** Docs page with string _id */
126
- export interface IDocspageWithId extends IDocspage {
127
- _id: string;
128
- }
129
- /** Internal doc with string _id */
130
- export interface IInternaldocWithId extends IInternaldoc {
131
- _id: string;
132
- }
133
- /** Program requirement with string _id */
134
- export interface IProgramrequirementWithId extends IProgramrequirement {
135
- _id: string;
136
- }
137
- /** All-course entry with string _id */
138
- export interface IAllCourseWithId extends IAllCourse {
139
- _id: string;
140
- }
141
- /** Keyword set with string _id */
142
- export interface IKeywordsetWithId extends IKeywordset {
143
- _id: string;
144
- }
145
- /** Survey input with string _id */
146
- export interface ISurveyInputWithId extends ISurveyInput {
147
- _id: string;
148
- }
149
- /** Template with string _id */
150
- export interface ITemplateWithId extends ITemplate {
151
- _id: string;
152
- }
153
- /** Base documentation link with string _id */
154
- export interface IBasedocumentationslinkWithId extends IBasedocumentationslink {
155
- _id: string;
156
- }
6
+ export { ProgramWithIdSchema, AgentWithIdSchema, EditorWithIdSchema, ApplicationWithIdSchema, ApplicationPopulatedSchema, StudentResponseSchema, UserWithIdSchema, DocumentthreadWithIdSchema, DocumentthreadPopulatedSchema, CommunicationWithIdSchema, InterviewWithIdSchema, InterviewSurveyResponseWithIdSchema, TicketWithIdSchema, ComplaintWithIdSchema, AuditWithIdSchema, EventWithIdSchema, NoteWithIdSchema, PermissionWithIdSchema, DocumentationWithIdSchema, DocspageWithIdSchema, InternaldocWithIdSchema, ProgramrequirementWithIdSchema, AllCourseWithIdSchema, KeywordsetWithIdSchema, SurveyInputWithIdSchema, TemplateWithIdSchema, BasedocumentationslinkWithIdSchema, IProgramWithId, IAgentWithId, IEditorWithId, IApplicationWithId, IApplicationPopulated, IStudentResponse, IUserWithId, IDocumentthreadWithId, IDocumentthreadPopulated, ICommunicationWithId, IInterviewWithId, IInterviewSurveyResponseWithId, ITicketWithId, IComplaintWithId, IAuditWithId, IEventWithId, INoteWithId, IPermissionWithId, IDocumentationWithId, IDocspageWithId, IInternaldocWithId, IProgramrequirementWithId, IAllCourseWithId, IKeywordsetWithId, ISurveyInputWithId, ITemplateWithId, IBasedocumentationslinkWithId } from '../schema/serialized';
7
+ export { UserAcademicBackgroundUniversitySchema, UserAcademicBackgroundLanguageSchema, UserApplicationPreferenceSchema, UserAttributeSchema, UserNotificationSchema, UserTaigeraiSchema, UserProfileItemSchema, UserGeneraldocsThreadSchema } from '../schema/models';