@taiger-common/model 1.0.50 → 1.0.52

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 (85) hide show
  1. package/dist/cjs/api/account.js +2 -0
  2. package/dist/cjs/api/applications.js +2 -0
  3. package/dist/cjs/api/audit.js +2 -0
  4. package/dist/cjs/api/auth.js +2 -0
  5. package/dist/cjs/api/common.js +5 -0
  6. package/dist/cjs/api/communications.js +2 -0
  7. package/dist/cjs/api/courses.js +2 -0
  8. package/dist/cjs/api/crm.js +2 -0
  9. package/dist/cjs/api/documentThreads.js +2 -0
  10. package/dist/cjs/api/documentations.js +2 -0
  11. package/dist/cjs/api/events.js +2 -0
  12. package/dist/cjs/api/index.js +41 -0
  13. package/dist/cjs/api/interviews.js +2 -0
  14. package/dist/cjs/api/meetings.js +2 -0
  15. package/dist/cjs/api/notes.js +2 -0
  16. package/dist/cjs/api/permissions.js +2 -0
  17. package/dist/cjs/api/portals.js +2 -0
  18. package/dist/cjs/api/programRequirements.js +2 -0
  19. package/dist/cjs/api/programs.js +2 -0
  20. package/dist/cjs/api/search.js +2 -0
  21. package/dist/cjs/api/serialized.js +6 -0
  22. package/dist/cjs/api/students.js +2 -0
  23. package/dist/cjs/api/teams.js +2 -0
  24. package/dist/cjs/api/tickets.js +2 -0
  25. package/dist/cjs/api/users.js +2 -0
  26. package/dist/cjs/api/widgets.js +2 -0
  27. package/dist/cjs/index.js +1 -0
  28. package/dist/esm/api/account.js +1 -0
  29. package/dist/esm/api/applications.js +1 -0
  30. package/dist/esm/api/audit.js +1 -0
  31. package/dist/esm/api/auth.js +1 -0
  32. package/dist/esm/api/common.js +4 -0
  33. package/dist/esm/api/communications.js +1 -0
  34. package/dist/esm/api/courses.js +1 -0
  35. package/dist/esm/api/crm.js +1 -0
  36. package/dist/esm/api/documentThreads.js +1 -0
  37. package/dist/esm/api/documentations.js +1 -0
  38. package/dist/esm/api/events.js +1 -0
  39. package/dist/esm/api/index.js +25 -0
  40. package/dist/esm/api/interviews.js +1 -0
  41. package/dist/esm/api/meetings.js +1 -0
  42. package/dist/esm/api/notes.js +1 -0
  43. package/dist/esm/api/permissions.js +1 -0
  44. package/dist/esm/api/portals.js +1 -0
  45. package/dist/esm/api/programRequirements.js +1 -0
  46. package/dist/esm/api/programs.js +1 -0
  47. package/dist/esm/api/search.js +1 -0
  48. package/dist/esm/api/serialized.js +5 -0
  49. package/dist/esm/api/students.js +1 -0
  50. package/dist/esm/api/teams.js +1 -0
  51. package/dist/esm/api/tickets.js +1 -0
  52. package/dist/esm/api/users.js +1 -0
  53. package/dist/esm/api/widgets.js +1 -0
  54. package/dist/esm/index.js +1 -0
  55. package/dist/types/api/account.d.ts +48 -0
  56. package/dist/types/api/applications.d.ts +64 -0
  57. package/dist/types/api/audit.d.ts +4 -0
  58. package/dist/types/api/auth.d.ts +23 -0
  59. package/dist/types/api/common.d.ts +30 -0
  60. package/dist/types/api/communications.d.ts +18 -0
  61. package/dist/types/api/courses.d.ts +27 -0
  62. package/dist/types/api/crm.d.ts +107 -0
  63. package/dist/types/api/documentThreads.d.ts +68 -0
  64. package/dist/types/api/documentations.d.ts +44 -0
  65. package/dist/types/api/events.d.ts +35 -0
  66. package/dist/types/api/index.d.ts +25 -0
  67. package/dist/types/api/interviews.d.ts +47 -0
  68. package/dist/types/api/meetings.d.ts +31 -0
  69. package/dist/types/api/notes.d.ts +6 -0
  70. package/dist/types/api/permissions.d.ts +6 -0
  71. package/dist/types/api/portals.d.ts +23 -0
  72. package/dist/types/api/programRequirements.d.ts +29 -0
  73. package/dist/types/api/programs.d.ts +123 -0
  74. package/dist/types/api/search.d.ts +26 -0
  75. package/dist/types/api/serialized.d.ts +156 -0
  76. package/dist/types/api/students.d.ts +42 -0
  77. package/dist/types/api/teams.d.ts +66 -0
  78. package/dist/types/api/tickets.d.ts +26 -0
  79. package/dist/types/api/users.d.ts +51 -0
  80. package/dist/types/api/widgets.d.ts +29 -0
  81. package/dist/types/index.d.ts +1 -0
  82. package/dist/types/model/Application.d.ts +2 -0
  83. package/dist/types/model/User.d.ts +65 -64
  84. package/dist/umd/index.js +1 -1
  85. package/package.json +1 -1
@@ -0,0 +1,42 @@
1
+ import type { ApiResponse, SuccessResponse } from './common';
2
+ import type { IStudentResponse, IBasedocumentationslinkWithId } from './serialized';
3
+ /** GET /api/students, GET /api/students/v3 */
4
+ export type GetStudentsResponse = ApiResponse<IStudentResponse[]>;
5
+ /** GET /api/students/active */
6
+ export type GetActiveStudentsResponse = ApiResponse<IStudentResponse[]>;
7
+ /** GET /api/students/:studentId */
8
+ export type GetStudentResponse = ApiResponse<IStudentResponse>;
9
+ /** GET /api/students/doc-links/:studentId */
10
+ export interface GetStudentDocLinksResponse {
11
+ success: boolean;
12
+ data?: IStudentResponse;
13
+ basedocumentationlinks?: IBasedocumentationslinkWithId[];
14
+ }
15
+ /** GET /api/students/doc-links */
16
+ export type GetStudentsAndDocLinksResponse = ApiResponse<IStudentResponse[]>;
17
+ /** POST /api/students/archiv/:studentId */
18
+ export type UpdateArchivStudentsResponse = ApiResponse<IStudentResponse>;
19
+ /** POST /api/students/:studentId/agents */
20
+ export type UpdateStudentAgentsResponse = ApiResponse<IStudentResponse>;
21
+ /** POST /api/students/:studentId/editors */
22
+ export type UpdateStudentEditorsResponse = ApiResponse<IStudentResponse>;
23
+ /** POST /api/students/:studentId/attributes */
24
+ export type UpdateStudentAttributesResponse = ApiResponse<IStudentResponse>;
25
+ /** POST /api/students/doc-links */
26
+ export type UpdateDocumentationHelperLinkResponse = SuccessResponse;
27
+ /** POST /api/students/:studentId/files/:category */
28
+ export type UploadStudentFileResponse = ApiResponse<IStudentResponse>;
29
+ /** DELETE /api/students/:studentId/files/:category */
30
+ export type DeleteStudentFileResponse = SuccessResponse;
31
+ /** POST /api/students/:studentId/vpd/:applicationId/:fileType */
32
+ export type UploadVPDFileResponse = ApiResponse<IStudentResponse>;
33
+ /** DELETE /api/students/:studentId/vpd/:applicationId/:fileType */
34
+ export type DeleteVPDFileResponse = SuccessResponse;
35
+ /** PUT /api/students/:studentId/vpd/:applicationId/VPD */
36
+ export type SetAsNotNeededResponse = ApiResponse<IStudentResponse>;
37
+ /** POST /api/students/:studentId/vpd/:applicationId/payments */
38
+ export type SetUniAssistPaidResponse = ApiResponse<IStudentResponse>;
39
+ /** POST /api/students/:studentId/:category/status */
40
+ export type UpdateProfileDocStatusResponse = ApiResponse<IStudentResponse>;
41
+ /** GET /api/uniassist/:studentId */
42
+ export type GetStudentUniAssistResponse = ApiResponse<IStudentResponse>;
@@ -0,0 +1,66 @@
1
+ import type { ApiResponse } from './common';
2
+ import type { IUserWithId, IStudentResponse } from './serialized';
3
+ /** Agent–student distribution item used in statistics */
4
+ export interface AgentStudentDistributionItem {
5
+ agent_id?: string;
6
+ firstname?: string;
7
+ lastname?: string;
8
+ studentCount?: number;
9
+ }
10
+ /** Statistics overview payload */
11
+ export interface StatisticsOverviewData {
12
+ documents?: unknown;
13
+ agents_data?: unknown[];
14
+ editors_data?: unknown[];
15
+ students_years_pair?: unknown[];
16
+ students_creation_dates?: unknown;
17
+ }
18
+ /** Statistics KPI payload */
19
+ export interface StatisticsKPIData {
20
+ finished_docs?: unknown[];
21
+ }
22
+ /** Statistics response-time payload */
23
+ export interface StatisticsResponseTimeData {
24
+ agents_data?: unknown[];
25
+ editors_data?: unknown[];
26
+ studentAvgResponseTime?: unknown[];
27
+ }
28
+ /** Tasks overview payload */
29
+ export interface TasksOverviewData {
30
+ noAgentsStudents?: number;
31
+ noEditorsStudents?: number;
32
+ noTrainerInInterviewsStudents?: number;
33
+ noEssayWritersEssays?: number;
34
+ }
35
+ /** GET /api/teams */
36
+ export type GetTeamMembersResponse = ApiResponse<IUserWithId[]>;
37
+ /** GET /api/teams/archiv/:TaiGerStaffId */
38
+ export type GetArchivStudentsResponse = ApiResponse<IStudentResponse[]>;
39
+ /** GET /api/teams/statistics/overview */
40
+ export type GetStatisticsOverviewResponse = ApiResponse<StatisticsOverviewData>;
41
+ /**
42
+ * GET /api/teams/statistics/agents
43
+ * Non-standard: returns agentStudentDistribution at top level
44
+ */
45
+ export interface GetStatisticsAgentsResponse {
46
+ success: boolean;
47
+ agentStudentDistribution?: AgentStudentDistributionItem[];
48
+ }
49
+ /** GET /api/teams/statistics */
50
+ export type GetStatisticsV2Response = ApiResponse<unknown>;
51
+ /** GET /api/teams/statistics/kpi */
52
+ export type GetStatisticsKPIResponse = ApiResponse<StatisticsKPIData>;
53
+ /** GET /api/teams/statistics/response-time */
54
+ export type GetStatisticsResponseTimeResponse = ApiResponse<StatisticsResponseTimeData>;
55
+ /** GET /api/teams/tasks-overview */
56
+ export type GetTasksOverviewResponse = ApiResponse<TasksOverviewData>;
57
+ /** GET /api/teams/is-manager */
58
+ export type GetIsManagerResponse = ApiResponse<{
59
+ isManager: boolean;
60
+ }>;
61
+ /** GET /api/agents/profile/:agent_id */
62
+ export type GetAgentProfileResponse = ApiResponse<IUserWithId>;
63
+ /** GET /api/teams/response-interval/:studentId */
64
+ export type GetResponseIntervalByStudentResponse = ApiResponse<IStudentResponse>;
65
+ /** GET /api/essay-writers */
66
+ export type GetEssayWritersTeamsResponse = ApiResponse<IUserWithId[]>;
@@ -0,0 +1,26 @@
1
+ import type { ApiResponse, SuccessResponse } from './common';
2
+ import type { ITicketWithId, IComplaintWithId } from './serialized';
3
+ /** GET /api/tickets */
4
+ export type GetProgramTicketsResponse = ApiResponse<ITicketWithId[]>;
5
+ /** GET /api/tickets?type=&program_id= (single ticket) */
6
+ export type GetProgramTicketResponse = ApiResponse<ITicketWithId[]>;
7
+ /** POST /api/tickets/ */
8
+ export type CreateTicketResponse = ApiResponse<ITicketWithId>;
9
+ /** PUT /api/tickets/:ticket_id */
10
+ export type UpdateTicketResponse = ApiResponse<ITicketWithId>;
11
+ /** DELETE /api/tickets/:ticket_id */
12
+ export type DeleteTicketResponse = SuccessResponse;
13
+ /** GET /api/complaints */
14
+ export type GetComplaintsResponse = ApiResponse<IComplaintWithId[]>;
15
+ /** GET /api/complaints/:ticketId */
16
+ export type GetComplaintResponse = ApiResponse<IComplaintWithId>;
17
+ /** POST /api/complaints/ */
18
+ export type CreateComplaintResponse = ApiResponse<IComplaintWithId>;
19
+ /** PUT /api/complaints/:ticketId */
20
+ export type UpdateComplaintResponse = ApiResponse<IComplaintWithId>;
21
+ /** POST /api/complaints/new-message/:ticketId/:studentId */
22
+ export type PostMessageInComplaintResponse = ApiResponse<IComplaintWithId>;
23
+ /** DELETE /api/complaints/:ticketId/:message_id */
24
+ export type DeleteMessageInComplaintResponse = SuccessResponse;
25
+ /** DELETE /api/complaints/:ticketId */
26
+ export type DeleteComplaintResponse = SuccessResponse;
@@ -0,0 +1,51 @@
1
+ import type { ApiResponse, SuccessResponse } from './common';
2
+ import type { IUserWithId } from './serialized';
3
+ /** Shape of the users count summary returned by GET /api/users/count */
4
+ export interface UsersCountData {
5
+ totalUsers?: number;
6
+ studentCount?: number;
7
+ agentCount?: number;
8
+ editorCount?: number;
9
+ externalCount?: number;
10
+ adminCount?: number;
11
+ guestCount?: number;
12
+ }
13
+ /** GET /api/users/count */
14
+ export interface GetUsersCountResponse extends UsersCountData {
15
+ success?: boolean;
16
+ [key: string]: unknown;
17
+ }
18
+ /** A single metric breakdown item (e.g. by degree, by language) */
19
+ export interface UsersOverviewMetricItem {
20
+ count: number;
21
+ [key: string]: unknown;
22
+ }
23
+ /** Shape of data returned by GET /api/users/overview */
24
+ export interface UsersOverviewData {
25
+ byTargetDegree?: UsersOverviewMetricItem[];
26
+ byApplicationSemester?: UsersOverviewMetricItem[];
27
+ byTargetField?: UsersOverviewMetricItem[];
28
+ byProgramLanguage?: UsersOverviewMetricItem[];
29
+ byUniversity?: UsersOverviewMetricItem[];
30
+ generatedAt?: Date;
31
+ }
32
+ /** GET /api/users/overview */
33
+ export type GetUsersOverviewResponse = ApiResponse<UsersOverviewData>;
34
+ /** GET /api/users */
35
+ export type GetUsersResponse = ApiResponse<IUserWithId[]>;
36
+ /** GET /api/users/:user_id */
37
+ export type GetUserResponse = ApiResponse<IUserWithId>;
38
+ /** POST /api/users (add user) — returns full user list + new user id */
39
+ export interface AddUserResponse {
40
+ success: boolean;
41
+ data: IUserWithId[];
42
+ newUser: string;
43
+ }
44
+ /** POST /api/users/:id (update user) */
45
+ export type UpdateUserResponse = ApiResponse<IUserWithId>;
46
+ /** DELETE /api/users/:id */
47
+ export type DeleteUserResponse = SuccessResponse;
48
+ /** POST /api/users/archiv/:user_id */
49
+ export type UpdateArchivUserResponse = ApiResponse<IUserWithId[]>;
50
+ /** GET /api/essay-writers */
51
+ export type GetEssayWritersResponse = ApiResponse<IUserWithId[]>;
@@ -0,0 +1,29 @@
1
+ import type { ApiResponse, SuccessResponse } from './common';
2
+ import type { ICourseAnalysis } from '../model/Course';
3
+ /** POST /api/widgets/transcript/engine/v2/:language — returns analysis metadata */
4
+ export type WidgetTranscriptResponse = ApiResponse<ICourseAnalysis>;
5
+ /**
6
+ * GET /api/widgets/transcript/v2/:adminId
7
+ * Non-standard: returns json payload + fileKey alongside success
8
+ */
9
+ export interface WidgetDownloadJsonResponse {
10
+ success: boolean;
11
+ json?: unknown;
12
+ fileKey?: string;
13
+ }
14
+ /** GET /api/widgets/messages/export/:student_id — returns PDF blob (non-JSON) */
15
+ export type WidgetExportPDFResponse = SuccessResponse;
16
+ /** POST /api/taigerai/general — streaming or standard AI response */
17
+ export type TaigerAiResponse = ApiResponse<string>;
18
+ /** GET /api/taigerai/program/:programId */
19
+ export type ProcessProgramListResponse = SuccessResponse;
20
+ /** POST /api/taigerai/cvmlrl */
21
+ export type CvmlrlAiResponse = ApiResponse<string>;
22
+ /** POST /api/taigerai/chat/:studentId */
23
+ export type TaigerChatAssistantResponse = ApiResponse<string>;
24
+ /** POST /api/courses/transcript/v2/:studentId/:language */
25
+ export type TranscriptAnalyserResponse = ApiResponse<ICourseAnalysis>;
26
+ /** GET /api/courses/transcript/v2/:user_id */
27
+ export type AnalyzedFileDownloadResponse = WidgetDownloadJsonResponse;
28
+ /** GET /api/expenses/users/:taiger_user_id */
29
+ export type GetExpenseResponse = ApiResponse<unknown>;
@@ -1 +1,2 @@
1
1
  export * from './model';
2
+ export * from './api';
@@ -71,6 +71,8 @@ export interface IApplication {
71
71
  admission?: string;
72
72
  application_year?: string;
73
73
  isLocked?: boolean;
74
+ credential_a_filled?: boolean;
75
+ credential_b_filled?: boolean;
74
76
  }
75
77
  export declare const applicationSchema: Schema<IApplication, import("mongoose").Model<IApplication, any, any, any, import("mongoose").Document<unknown, any, IApplication> & IApplication & {
76
78
  _id: import("mongoose").Types.ObjectId;
@@ -138,6 +138,7 @@ export interface IUser {
138
138
  birthday?: string;
139
139
  linkedIn?: string;
140
140
  lineId?: string;
141
+ timezone?: string;
141
142
  isAccountActivated?: boolean;
142
143
  notification?: IUserNotification;
143
144
  taigerai?: IUserTaigerai;
@@ -1387,13 +1388,6 @@ export declare const managerSchema: Schema<any, import("mongoose").Model<any, an
1387
1388
  agents: import("mongoose").Types.ObjectId[];
1388
1389
  editors: import("mongoose").Types.ObjectId[];
1389
1390
  manager_type: string;
1390
- attribute?: {
1391
- can_write_ml: boolean;
1392
- can_write_rl: boolean;
1393
- can_write_cv: boolean;
1394
- can_write_essay: boolean;
1395
- can_do_interview: boolean;
1396
- } | null | undefined;
1397
1391
  manager_notification?: {
1398
1392
  isRead_new_programs_assigned: boolean;
1399
1393
  isRead_new_base_docs_uploaded: import("mongoose").Types.DocumentArray<{
@@ -1404,13 +1398,6 @@ export declare const managerSchema: Schema<any, import("mongoose").Model<any, an
1404
1398
  student_id: string;
1405
1399
  }>;
1406
1400
  } | null | undefined;
1407
- } | ({
1408
- createdAt: NativeDate;
1409
- updatedAt: NativeDate;
1410
- } & {
1411
- agents: import("mongoose").Types.ObjectId[];
1412
- editors: import("mongoose").Types.ObjectId[];
1413
- manager_type: string;
1414
1401
  attribute?: {
1415
1402
  can_write_ml: boolean;
1416
1403
  can_write_rl: boolean;
@@ -1418,6 +1405,13 @@ export declare const managerSchema: Schema<any, import("mongoose").Model<any, an
1418
1405
  can_write_essay: boolean;
1419
1406
  can_do_interview: boolean;
1420
1407
  } | null | undefined;
1408
+ } | ({
1409
+ createdAt: NativeDate;
1410
+ updatedAt: NativeDate;
1411
+ } & {
1412
+ agents: import("mongoose").Types.ObjectId[];
1413
+ editors: import("mongoose").Types.ObjectId[];
1414
+ manager_type: string;
1421
1415
  manager_notification?: {
1422
1416
  isRead_new_programs_assigned: boolean;
1423
1417
  isRead_new_base_docs_uploaded: import("mongoose").Types.DocumentArray<{
@@ -1428,10 +1422,6 @@ export declare const managerSchema: Schema<any, import("mongoose").Model<any, an
1428
1422
  student_id: string;
1429
1423
  }>;
1430
1424
  } | null | undefined;
1431
- }), import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1432
- agents: import("mongoose").Types.ObjectId[];
1433
- editors: import("mongoose").Types.ObjectId[];
1434
- manager_type: string;
1435
1425
  attribute?: {
1436
1426
  can_write_ml: boolean;
1437
1427
  can_write_rl: boolean;
@@ -1439,6 +1429,10 @@ export declare const managerSchema: Schema<any, import("mongoose").Model<any, an
1439
1429
  can_write_essay: boolean;
1440
1430
  can_do_interview: boolean;
1441
1431
  } | null | undefined;
1432
+ }), import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1433
+ agents: import("mongoose").Types.ObjectId[];
1434
+ editors: import("mongoose").Types.ObjectId[];
1435
+ manager_type: string;
1442
1436
  manager_notification?: {
1443
1437
  isRead_new_programs_assigned: boolean;
1444
1438
  isRead_new_base_docs_uploaded: import("mongoose").Types.DocumentArray<{
@@ -1449,13 +1443,6 @@ export declare const managerSchema: Schema<any, import("mongoose").Model<any, an
1449
1443
  student_id: string;
1450
1444
  }>;
1451
1445
  } | null | undefined;
1452
- } | ({
1453
- createdAt: NativeDate;
1454
- updatedAt: NativeDate;
1455
- } & {
1456
- agents: import("mongoose").Types.ObjectId[];
1457
- editors: import("mongoose").Types.ObjectId[];
1458
- manager_type: string;
1459
1446
  attribute?: {
1460
1447
  can_write_ml: boolean;
1461
1448
  can_write_rl: boolean;
@@ -1463,6 +1450,13 @@ export declare const managerSchema: Schema<any, import("mongoose").Model<any, an
1463
1450
  can_write_essay: boolean;
1464
1451
  can_do_interview: boolean;
1465
1452
  } | null | undefined;
1453
+ } | ({
1454
+ createdAt: NativeDate;
1455
+ updatedAt: NativeDate;
1456
+ } & {
1457
+ agents: import("mongoose").Types.ObjectId[];
1458
+ editors: import("mongoose").Types.ObjectId[];
1459
+ manager_type: string;
1466
1460
  manager_notification?: {
1467
1461
  isRead_new_programs_assigned: boolean;
1468
1462
  isRead_new_base_docs_uploaded: import("mongoose").Types.DocumentArray<{
@@ -1473,10 +1467,6 @@ export declare const managerSchema: Schema<any, import("mongoose").Model<any, an
1473
1467
  student_id: string;
1474
1468
  }>;
1475
1469
  } | null | undefined;
1476
- })>> & ((import("mongoose").FlatRecord<{
1477
- agents: import("mongoose").Types.ObjectId[];
1478
- editors: import("mongoose").Types.ObjectId[];
1479
- manager_type: string;
1480
1470
  attribute?: {
1481
1471
  can_write_ml: boolean;
1482
1472
  can_write_rl: boolean;
@@ -1484,6 +1474,10 @@ export declare const managerSchema: Schema<any, import("mongoose").Model<any, an
1484
1474
  can_write_essay: boolean;
1485
1475
  can_do_interview: boolean;
1486
1476
  } | null | undefined;
1477
+ })>> & ((import("mongoose").FlatRecord<{
1478
+ agents: import("mongoose").Types.ObjectId[];
1479
+ editors: import("mongoose").Types.ObjectId[];
1480
+ manager_type: string;
1487
1481
  manager_notification?: {
1488
1482
  isRead_new_programs_assigned: boolean;
1489
1483
  isRead_new_base_docs_uploaded: import("mongoose").Types.DocumentArray<{
@@ -1494,6 +1488,13 @@ export declare const managerSchema: Schema<any, import("mongoose").Model<any, an
1494
1488
  student_id: string;
1495
1489
  }>;
1496
1490
  } | null | undefined;
1491
+ attribute?: {
1492
+ can_write_ml: boolean;
1493
+ can_write_rl: boolean;
1494
+ can_write_cv: boolean;
1495
+ can_write_essay: boolean;
1496
+ can_do_interview: boolean;
1497
+ } | null | undefined;
1497
1498
  }> & {
1498
1499
  _id: import("mongoose").Types.ObjectId;
1499
1500
  } & {
@@ -1505,13 +1506,6 @@ export declare const managerSchema: Schema<any, import("mongoose").Model<any, an
1505
1506
  agents: import("mongoose").Types.ObjectId[];
1506
1507
  editors: import("mongoose").Types.ObjectId[];
1507
1508
  manager_type: string;
1508
- attribute?: {
1509
- can_write_ml: boolean;
1510
- can_write_rl: boolean;
1511
- can_write_cv: boolean;
1512
- can_write_essay: boolean;
1513
- can_do_interview: boolean;
1514
- } | null | undefined;
1515
1509
  manager_notification?: {
1516
1510
  isRead_new_programs_assigned: boolean;
1517
1511
  isRead_new_base_docs_uploaded: import("mongoose").Types.DocumentArray<{
@@ -1522,6 +1516,13 @@ export declare const managerSchema: Schema<any, import("mongoose").Model<any, an
1522
1516
  student_id: string;
1523
1517
  }>;
1524
1518
  } | null | undefined;
1519
+ attribute?: {
1520
+ can_write_ml: boolean;
1521
+ can_write_rl: boolean;
1522
+ can_write_cv: boolean;
1523
+ can_write_essay: boolean;
1524
+ can_do_interview: boolean;
1525
+ } | null | undefined;
1525
1526
  }> & {
1526
1527
  _id: import("mongoose").Types.ObjectId;
1527
1528
  } & {
@@ -1859,6 +1860,13 @@ export declare const editorSchema: Schema<any, import("mongoose").Model<any, any
1859
1860
  timestamps: boolean;
1860
1861
  }, {
1861
1862
  timezone: string;
1863
+ attribute?: {
1864
+ can_write_ml: boolean;
1865
+ can_write_rl: boolean;
1866
+ can_write_cv: boolean;
1867
+ can_write_essay: boolean;
1868
+ can_do_interview: boolean;
1869
+ } | null | undefined;
1862
1870
  officehours?: {
1863
1871
  Monday?: {
1864
1872
  active: boolean;
@@ -1895,6 +1903,11 @@ export declare const editorSchema: Schema<any, import("mongoose").Model<any, any
1895
1903
  isRead_base_documents_rejected: boolean;
1896
1904
  isRead_new_programs_assigned: boolean;
1897
1905
  } | null | undefined;
1906
+ } | ({
1907
+ createdAt: NativeDate;
1908
+ updatedAt: NativeDate;
1909
+ } & {
1910
+ timezone: string;
1898
1911
  attribute?: {
1899
1912
  can_write_ml: boolean;
1900
1913
  can_write_rl: boolean;
@@ -1902,11 +1915,6 @@ export declare const editorSchema: Schema<any, import("mongoose").Model<any, any
1902
1915
  can_write_essay: boolean;
1903
1916
  can_do_interview: boolean;
1904
1917
  } | null | undefined;
1905
- } | ({
1906
- createdAt: NativeDate;
1907
- updatedAt: NativeDate;
1908
- } & {
1909
- timezone: string;
1910
1918
  officehours?: {
1911
1919
  Monday?: {
1912
1920
  active: boolean;
@@ -1943,6 +1951,8 @@ export declare const editorSchema: Schema<any, import("mongoose").Model<any, any
1943
1951
  isRead_base_documents_rejected: boolean;
1944
1952
  isRead_new_programs_assigned: boolean;
1945
1953
  } | null | undefined;
1954
+ }), import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1955
+ timezone: string;
1946
1956
  attribute?: {
1947
1957
  can_write_ml: boolean;
1948
1958
  can_write_rl: boolean;
@@ -1950,8 +1960,6 @@ export declare const editorSchema: Schema<any, import("mongoose").Model<any, any
1950
1960
  can_write_essay: boolean;
1951
1961
  can_do_interview: boolean;
1952
1962
  } | null | undefined;
1953
- }), import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1954
- timezone: string;
1955
1963
  officehours?: {
1956
1964
  Monday?: {
1957
1965
  active: boolean;
@@ -1988,6 +1996,11 @@ export declare const editorSchema: Schema<any, import("mongoose").Model<any, any
1988
1996
  isRead_base_documents_rejected: boolean;
1989
1997
  isRead_new_programs_assigned: boolean;
1990
1998
  } | null | undefined;
1999
+ } | ({
2000
+ createdAt: NativeDate;
2001
+ updatedAt: NativeDate;
2002
+ } & {
2003
+ timezone: string;
1991
2004
  attribute?: {
1992
2005
  can_write_ml: boolean;
1993
2006
  can_write_rl: boolean;
@@ -1995,11 +2008,6 @@ export declare const editorSchema: Schema<any, import("mongoose").Model<any, any
1995
2008
  can_write_essay: boolean;
1996
2009
  can_do_interview: boolean;
1997
2010
  } | null | undefined;
1998
- } | ({
1999
- createdAt: NativeDate;
2000
- updatedAt: NativeDate;
2001
- } & {
2002
- timezone: string;
2003
2011
  officehours?: {
2004
2012
  Monday?: {
2005
2013
  active: boolean;
@@ -2036,6 +2044,8 @@ export declare const editorSchema: Schema<any, import("mongoose").Model<any, any
2036
2044
  isRead_base_documents_rejected: boolean;
2037
2045
  isRead_new_programs_assigned: boolean;
2038
2046
  } | null | undefined;
2047
+ })>> & ((import("mongoose").FlatRecord<{
2048
+ timezone: string;
2039
2049
  attribute?: {
2040
2050
  can_write_ml: boolean;
2041
2051
  can_write_rl: boolean;
@@ -2043,8 +2053,6 @@ export declare const editorSchema: Schema<any, import("mongoose").Model<any, any
2043
2053
  can_write_essay: boolean;
2044
2054
  can_do_interview: boolean;
2045
2055
  } | null | undefined;
2046
- })>> & ((import("mongoose").FlatRecord<{
2047
- timezone: string;
2048
2056
  officehours?: {
2049
2057
  Monday?: {
2050
2058
  active: boolean;
@@ -2081,13 +2089,6 @@ export declare const editorSchema: Schema<any, import("mongoose").Model<any, any
2081
2089
  isRead_base_documents_rejected: boolean;
2082
2090
  isRead_new_programs_assigned: boolean;
2083
2091
  } | null | undefined;
2084
- attribute?: {
2085
- can_write_ml: boolean;
2086
- can_write_rl: boolean;
2087
- can_write_cv: boolean;
2088
- can_write_essay: boolean;
2089
- can_do_interview: boolean;
2090
- } | null | undefined;
2091
2092
  }> & {
2092
2093
  _id: import("mongoose").Types.ObjectId;
2093
2094
  } & {
@@ -2097,6 +2098,13 @@ export declare const editorSchema: Schema<any, import("mongoose").Model<any, any
2097
2098
  updatedAt: NativeDate;
2098
2099
  } & {
2099
2100
  timezone: string;
2101
+ attribute?: {
2102
+ can_write_ml: boolean;
2103
+ can_write_rl: boolean;
2104
+ can_write_cv: boolean;
2105
+ can_write_essay: boolean;
2106
+ can_do_interview: boolean;
2107
+ } | null | undefined;
2100
2108
  officehours?: {
2101
2109
  Monday?: {
2102
2110
  active: boolean;
@@ -2133,13 +2141,6 @@ export declare const editorSchema: Schema<any, import("mongoose").Model<any, any
2133
2141
  isRead_base_documents_rejected: boolean;
2134
2142
  isRead_new_programs_assigned: boolean;
2135
2143
  } | null | undefined;
2136
- attribute?: {
2137
- can_write_ml: boolean;
2138
- can_write_rl: boolean;
2139
- can_write_cv: boolean;
2140
- can_write_essay: boolean;
2141
- can_do_interview: boolean;
2142
- } | null | undefined;
2143
2144
  }> & {
2144
2145
  _id: import("mongoose").Types.ObjectId;
2145
2146
  } & {