@taiger-common/model 1.0.49 → 1.0.51

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 (99) 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 +130 -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/Allcourse.d.ts +2 -1
  83. package/dist/types/model/Application.d.ts +4 -2
  84. package/dist/types/model/Audit.d.ts +7 -4
  85. package/dist/types/model/Communication.d.ts +6 -4
  86. package/dist/types/model/Complaint.d.ts +3 -2
  87. package/dist/types/model/Documentthread.d.ts +12 -8
  88. package/dist/types/model/Event.d.ts +3 -2
  89. package/dist/types/model/Interview.d.ts +10 -5
  90. package/dist/types/model/InterviewSurveyResponse.d.ts +6 -3
  91. package/dist/types/model/Note.d.ts +2 -1
  92. package/dist/types/model/Permission.d.ts +2 -1
  93. package/dist/types/model/ResponseTime.d.ts +4 -2
  94. package/dist/types/model/SurveyInput.d.ts +4 -2
  95. package/dist/types/model/Ticket.d.ts +5 -3
  96. package/dist/types/model/Token.d.ts +2 -1
  97. package/dist/types/model/User.d.ts +125 -124
  98. package/dist/umd/index.js +1 -1
  99. package/package.json +1 -1
@@ -24,6 +24,7 @@
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  /// <reference types="mongoose/types/inferrawdoctype" />
26
26
  import { Schema } from 'mongoose';
27
+ import { IDocumentthread } from './Documentthread';
27
28
  export declare enum DocumentStatusType {
28
29
  Uploaded = "uploaded",
29
30
  Missing = "missing",
@@ -154,14 +155,14 @@ export interface IUserProfileItem {
154
155
  }
155
156
  export interface IUserGeneraldocsThread {
156
157
  isFinalVersion?: boolean;
157
- latest_message_left_by_id?: string;
158
- doc_thread_id?: Schema.Types.ObjectId;
158
+ latest_message_left_by_id?: IUser | Schema.Types.ObjectId | string;
159
+ doc_thread_id?: IDocumentthread | Schema.Types.ObjectId | string;
159
160
  updatedAt?: Date;
160
161
  createdAt?: Date;
161
162
  }
162
163
  export interface IStudent extends IUser {
163
- agents?: Schema.Types.ObjectId[];
164
- editors?: Schema.Types.ObjectId[];
164
+ agents?: IAgent[] | Schema.Types.ObjectId[] | string[];
165
+ editors?: IEditor[] | Schema.Types.ObjectId[] | string[];
165
166
  needEditor?: boolean;
166
167
  applying_program_count?: number;
167
168
  attributes?: IUserAttribute[];
@@ -262,16 +263,15 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
262
263
  archiv: boolean;
263
264
  birthday: string;
264
265
  isAccountActivated: boolean;
265
- password?: string | null | undefined;
266
- linkedIn?: string | null | undefined;
267
- lineId?: string | null | undefined;
268
- lastLoginAt?: NativeDate | null | undefined;
269
266
  firstname?: string | null | undefined;
270
267
  firstname_chinese?: string | null | undefined;
271
268
  lastname?: string | null | undefined;
272
269
  lastname_chinese?: string | null | undefined;
273
270
  email?: string | null | undefined;
274
271
  pictureUrl?: string | null | undefined;
272
+ password?: string | null | undefined;
273
+ linkedIn?: string | null | undefined;
274
+ lineId?: string | null | undefined;
275
275
  notification?: {
276
276
  isRead_survey_not_complete: boolean;
277
277
  isRead_uni_assist_task_assigned: boolean;
@@ -284,24 +284,24 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
284
284
  isRead_new_programs_assigned: boolean;
285
285
  } | null | undefined;
286
286
  taigerai?: {
287
- feedback?: {
288
- message: string;
289
- updatedAt?: NativeDate | null | undefined;
290
- } | null | undefined;
291
287
  input?: {
292
- path: string;
293
288
  name: string;
289
+ path: string;
294
290
  status: DocumentStatusType;
295
291
  file_category: string;
296
292
  updatedAt?: NativeDate | null | undefined;
297
293
  } | null | undefined;
298
294
  output?: {
299
- path: string;
300
295
  name: string;
296
+ path: string;
301
297
  status: DocumentStatusType;
302
298
  file_category: string;
303
299
  updatedAt?: NativeDate | null | undefined;
304
300
  } | null | undefined;
301
+ feedback?: {
302
+ message: string;
303
+ updatedAt?: NativeDate | null | undefined;
304
+ } | null | undefined;
305
305
  } | null | undefined;
306
306
  application_preference?: {
307
307
  expected_application_date: string;
@@ -363,6 +363,7 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
363
363
  updatedAt?: NativeDate | null | undefined;
364
364
  } | null | undefined;
365
365
  } | null | undefined;
366
+ lastLoginAt?: NativeDate | null | undefined;
366
367
  } | ({
367
368
  createdAt: NativeDate;
368
369
  updatedAt: NativeDate;
@@ -371,16 +372,15 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
371
372
  archiv: boolean;
372
373
  birthday: string;
373
374
  isAccountActivated: boolean;
374
- password?: string | null | undefined;
375
- linkedIn?: string | null | undefined;
376
- lineId?: string | null | undefined;
377
- lastLoginAt?: NativeDate | null | undefined;
378
375
  firstname?: string | null | undefined;
379
376
  firstname_chinese?: string | null | undefined;
380
377
  lastname?: string | null | undefined;
381
378
  lastname_chinese?: string | null | undefined;
382
379
  email?: string | null | undefined;
383
380
  pictureUrl?: string | null | undefined;
381
+ password?: string | null | undefined;
382
+ linkedIn?: string | null | undefined;
383
+ lineId?: string | null | undefined;
384
384
  notification?: {
385
385
  isRead_survey_not_complete: boolean;
386
386
  isRead_uni_assist_task_assigned: boolean;
@@ -393,24 +393,24 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
393
393
  isRead_new_programs_assigned: boolean;
394
394
  } | null | undefined;
395
395
  taigerai?: {
396
- feedback?: {
397
- message: string;
398
- updatedAt?: NativeDate | null | undefined;
399
- } | null | undefined;
400
396
  input?: {
401
- path: string;
402
397
  name: string;
398
+ path: string;
403
399
  status: DocumentStatusType;
404
400
  file_category: string;
405
401
  updatedAt?: NativeDate | null | undefined;
406
402
  } | null | undefined;
407
403
  output?: {
408
- path: string;
409
404
  name: string;
405
+ path: string;
410
406
  status: DocumentStatusType;
411
407
  file_category: string;
412
408
  updatedAt?: NativeDate | null | undefined;
413
409
  } | null | undefined;
410
+ feedback?: {
411
+ message: string;
412
+ updatedAt?: NativeDate | null | undefined;
413
+ } | null | undefined;
414
414
  } | null | undefined;
415
415
  application_preference?: {
416
416
  expected_application_date: string;
@@ -472,21 +472,21 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
472
472
  updatedAt?: NativeDate | null | undefined;
473
473
  } | null | undefined;
474
474
  } | null | undefined;
475
+ lastLoginAt?: NativeDate | null | undefined;
475
476
  }), import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
476
477
  role: string;
477
478
  archiv: boolean;
478
479
  birthday: string;
479
480
  isAccountActivated: boolean;
480
- password?: string | null | undefined;
481
- linkedIn?: string | null | undefined;
482
- lineId?: string | null | undefined;
483
- lastLoginAt?: NativeDate | null | undefined;
484
481
  firstname?: string | null | undefined;
485
482
  firstname_chinese?: string | null | undefined;
486
483
  lastname?: string | null | undefined;
487
484
  lastname_chinese?: string | null | undefined;
488
485
  email?: string | null | undefined;
489
486
  pictureUrl?: string | null | undefined;
487
+ password?: string | null | undefined;
488
+ linkedIn?: string | null | undefined;
489
+ lineId?: string | null | undefined;
490
490
  notification?: {
491
491
  isRead_survey_not_complete: boolean;
492
492
  isRead_uni_assist_task_assigned: boolean;
@@ -499,24 +499,24 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
499
499
  isRead_new_programs_assigned: boolean;
500
500
  } | null | undefined;
501
501
  taigerai?: {
502
- feedback?: {
503
- message: string;
504
- updatedAt?: NativeDate | null | undefined;
505
- } | null | undefined;
506
502
  input?: {
507
- path: string;
508
503
  name: string;
504
+ path: string;
509
505
  status: DocumentStatusType;
510
506
  file_category: string;
511
507
  updatedAt?: NativeDate | null | undefined;
512
508
  } | null | undefined;
513
509
  output?: {
514
- path: string;
515
510
  name: string;
511
+ path: string;
516
512
  status: DocumentStatusType;
517
513
  file_category: string;
518
514
  updatedAt?: NativeDate | null | undefined;
519
515
  } | null | undefined;
516
+ feedback?: {
517
+ message: string;
518
+ updatedAt?: NativeDate | null | undefined;
519
+ } | null | undefined;
520
520
  } | null | undefined;
521
521
  application_preference?: {
522
522
  expected_application_date: string;
@@ -578,6 +578,7 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
578
578
  updatedAt?: NativeDate | null | undefined;
579
579
  } | null | undefined;
580
580
  } | null | undefined;
581
+ lastLoginAt?: NativeDate | null | undefined;
581
582
  } | ({
582
583
  createdAt: NativeDate;
583
584
  updatedAt: NativeDate;
@@ -586,16 +587,15 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
586
587
  archiv: boolean;
587
588
  birthday: string;
588
589
  isAccountActivated: boolean;
589
- password?: string | null | undefined;
590
- linkedIn?: string | null | undefined;
591
- lineId?: string | null | undefined;
592
- lastLoginAt?: NativeDate | null | undefined;
593
590
  firstname?: string | null | undefined;
594
591
  firstname_chinese?: string | null | undefined;
595
592
  lastname?: string | null | undefined;
596
593
  lastname_chinese?: string | null | undefined;
597
594
  email?: string | null | undefined;
598
595
  pictureUrl?: string | null | undefined;
596
+ password?: string | null | undefined;
597
+ linkedIn?: string | null | undefined;
598
+ lineId?: string | null | undefined;
599
599
  notification?: {
600
600
  isRead_survey_not_complete: boolean;
601
601
  isRead_uni_assist_task_assigned: boolean;
@@ -608,24 +608,24 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
608
608
  isRead_new_programs_assigned: boolean;
609
609
  } | null | undefined;
610
610
  taigerai?: {
611
- feedback?: {
612
- message: string;
613
- updatedAt?: NativeDate | null | undefined;
614
- } | null | undefined;
615
611
  input?: {
616
- path: string;
617
612
  name: string;
613
+ path: string;
618
614
  status: DocumentStatusType;
619
615
  file_category: string;
620
616
  updatedAt?: NativeDate | null | undefined;
621
617
  } | null | undefined;
622
618
  output?: {
623
- path: string;
624
619
  name: string;
620
+ path: string;
625
621
  status: DocumentStatusType;
626
622
  file_category: string;
627
623
  updatedAt?: NativeDate | null | undefined;
628
624
  } | null | undefined;
625
+ feedback?: {
626
+ message: string;
627
+ updatedAt?: NativeDate | null | undefined;
628
+ } | null | undefined;
629
629
  } | null | undefined;
630
630
  application_preference?: {
631
631
  expected_application_date: string;
@@ -687,21 +687,21 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
687
687
  updatedAt?: NativeDate | null | undefined;
688
688
  } | null | undefined;
689
689
  } | null | undefined;
690
+ lastLoginAt?: NativeDate | null | undefined;
690
691
  })>> & ((import("mongoose").FlatRecord<{
691
692
  role: string;
692
693
  archiv: boolean;
693
694
  birthday: string;
694
695
  isAccountActivated: boolean;
695
- password?: string | null | undefined;
696
- linkedIn?: string | null | undefined;
697
- lineId?: string | null | undefined;
698
- lastLoginAt?: NativeDate | null | undefined;
699
696
  firstname?: string | null | undefined;
700
697
  firstname_chinese?: string | null | undefined;
701
698
  lastname?: string | null | undefined;
702
699
  lastname_chinese?: string | null | undefined;
703
700
  email?: string | null | undefined;
704
701
  pictureUrl?: string | null | undefined;
702
+ password?: string | null | undefined;
703
+ linkedIn?: string | null | undefined;
704
+ lineId?: string | null | undefined;
705
705
  notification?: {
706
706
  isRead_survey_not_complete: boolean;
707
707
  isRead_uni_assist_task_assigned: boolean;
@@ -714,24 +714,24 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
714
714
  isRead_new_programs_assigned: boolean;
715
715
  } | null | undefined;
716
716
  taigerai?: {
717
- feedback?: {
718
- message: string;
719
- updatedAt?: NativeDate | null | undefined;
720
- } | null | undefined;
721
717
  input?: {
722
- path: string;
723
718
  name: string;
719
+ path: string;
724
720
  status: DocumentStatusType;
725
721
  file_category: string;
726
722
  updatedAt?: NativeDate | null | undefined;
727
723
  } | null | undefined;
728
724
  output?: {
729
- path: string;
730
725
  name: string;
726
+ path: string;
731
727
  status: DocumentStatusType;
732
728
  file_category: string;
733
729
  updatedAt?: NativeDate | null | undefined;
734
730
  } | null | undefined;
731
+ feedback?: {
732
+ message: string;
733
+ updatedAt?: NativeDate | null | undefined;
734
+ } | null | undefined;
735
735
  } | null | undefined;
736
736
  application_preference?: {
737
737
  expected_application_date: string;
@@ -793,6 +793,7 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
793
793
  updatedAt?: NativeDate | null | undefined;
794
794
  } | null | undefined;
795
795
  } | null | undefined;
796
+ lastLoginAt?: NativeDate | null | undefined;
796
797
  }> & {
797
798
  _id: import("mongoose").Types.ObjectId;
798
799
  } & {
@@ -805,16 +806,15 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
805
806
  archiv: boolean;
806
807
  birthday: string;
807
808
  isAccountActivated: boolean;
808
- password?: string | null | undefined;
809
- linkedIn?: string | null | undefined;
810
- lineId?: string | null | undefined;
811
- lastLoginAt?: NativeDate | null | undefined;
812
809
  firstname?: string | null | undefined;
813
810
  firstname_chinese?: string | null | undefined;
814
811
  lastname?: string | null | undefined;
815
812
  lastname_chinese?: string | null | undefined;
816
813
  email?: string | null | undefined;
817
814
  pictureUrl?: string | null | undefined;
815
+ password?: string | null | undefined;
816
+ linkedIn?: string | null | undefined;
817
+ lineId?: string | null | undefined;
818
818
  notification?: {
819
819
  isRead_survey_not_complete: boolean;
820
820
  isRead_uni_assist_task_assigned: boolean;
@@ -827,24 +827,24 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
827
827
  isRead_new_programs_assigned: boolean;
828
828
  } | null | undefined;
829
829
  taigerai?: {
830
- feedback?: {
831
- message: string;
832
- updatedAt?: NativeDate | null | undefined;
833
- } | null | undefined;
834
830
  input?: {
835
- path: string;
836
831
  name: string;
832
+ path: string;
837
833
  status: DocumentStatusType;
838
834
  file_category: string;
839
835
  updatedAt?: NativeDate | null | undefined;
840
836
  } | null | undefined;
841
837
  output?: {
842
- path: string;
843
838
  name: string;
839
+ path: string;
844
840
  status: DocumentStatusType;
845
841
  file_category: string;
846
842
  updatedAt?: NativeDate | null | undefined;
847
843
  } | null | undefined;
844
+ feedback?: {
845
+ message: string;
846
+ updatedAt?: NativeDate | null | undefined;
847
+ } | null | undefined;
848
848
  } | null | undefined;
849
849
  application_preference?: {
850
850
  expected_application_date: string;
@@ -906,6 +906,7 @@ export declare const userSchema: Schema<any, import("mongoose").Model<any, any,
906
906
  updatedAt?: NativeDate | null | undefined;
907
907
  } | null | undefined;
908
908
  } | null | undefined;
909
+ lastLoginAt?: NativeDate | null | undefined;
909
910
  }> & {
910
911
  _id: import("mongoose").Types.ObjectId;
911
912
  } & {
@@ -915,47 +916,47 @@ export declare const studentSchema: Schema<any, import("mongoose").Model<any, an
915
916
  discriminatorKey: string;
916
917
  timestamps: boolean;
917
918
  }, {
919
+ agents: import("mongoose").Types.ObjectId[];
920
+ editors: import("mongoose").Types.ObjectId[];
921
+ needEditor: boolean;
922
+ applying_program_count: number;
918
923
  attributes: import("mongoose").Types.DocumentArray<{
919
- required?: unknown;
920
924
  type?: {
921
925
  name: string;
922
926
  value: number;
923
927
  } | null | undefined;
924
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
925
928
  required?: unknown;
929
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
926
930
  type?: {
927
931
  name: string;
928
932
  value: number;
929
933
  } | null | undefined;
930
- }> & {
931
934
  required?: unknown;
935
+ }> & {
932
936
  type?: {
933
937
  name: string;
934
938
  value: number;
935
939
  } | null | undefined;
940
+ required?: unknown;
936
941
  }>;
937
- agents: import("mongoose").Types.ObjectId[];
938
- editors: import("mongoose").Types.ObjectId[];
939
- needEditor: boolean;
940
- applying_program_count: number;
941
942
  profile: import("mongoose").Types.DocumentArray<{
943
+ name: string;
942
944
  path: string;
943
945
  required: boolean;
944
- name: string;
945
946
  status: DocumentStatusType;
946
947
  feedback: string;
947
948
  updatedAt?: NativeDate | null | undefined;
948
949
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
950
+ name: string;
949
951
  path: string;
950
952
  required: boolean;
951
- name: string;
952
953
  status: DocumentStatusType;
953
954
  feedback: string;
954
955
  updatedAt?: NativeDate | null | undefined;
955
956
  }> & {
957
+ name: string;
956
958
  path: string;
957
959
  required: boolean;
958
- name: string;
959
960
  status: DocumentStatusType;
960
961
  feedback: string;
961
962
  updatedAt?: NativeDate | null | undefined;
@@ -983,47 +984,47 @@ export declare const studentSchema: Schema<any, import("mongoose").Model<any, an
983
984
  createdAt: NativeDate;
984
985
  updatedAt: NativeDate;
985
986
  } & {
987
+ agents: import("mongoose").Types.ObjectId[];
988
+ editors: import("mongoose").Types.ObjectId[];
989
+ needEditor: boolean;
990
+ applying_program_count: number;
986
991
  attributes: import("mongoose").Types.DocumentArray<{
987
- required?: unknown;
988
992
  type?: {
989
993
  name: string;
990
994
  value: number;
991
995
  } | null | undefined;
992
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
993
996
  required?: unknown;
997
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
994
998
  type?: {
995
999
  name: string;
996
1000
  value: number;
997
1001
  } | null | undefined;
998
- }> & {
999
1002
  required?: unknown;
1003
+ }> & {
1000
1004
  type?: {
1001
1005
  name: string;
1002
1006
  value: number;
1003
1007
  } | null | undefined;
1008
+ required?: unknown;
1004
1009
  }>;
1005
- agents: import("mongoose").Types.ObjectId[];
1006
- editors: import("mongoose").Types.ObjectId[];
1007
- needEditor: boolean;
1008
- applying_program_count: number;
1009
1010
  profile: import("mongoose").Types.DocumentArray<{
1011
+ name: string;
1010
1012
  path: string;
1011
1013
  required: boolean;
1012
- name: string;
1013
1014
  status: DocumentStatusType;
1014
1015
  feedback: string;
1015
1016
  updatedAt?: NativeDate | null | undefined;
1016
1017
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1018
+ name: string;
1017
1019
  path: string;
1018
1020
  required: boolean;
1019
- name: string;
1020
1021
  status: DocumentStatusType;
1021
1022
  feedback: string;
1022
1023
  updatedAt?: NativeDate | null | undefined;
1023
1024
  }> & {
1025
+ name: string;
1024
1026
  path: string;
1025
1027
  required: boolean;
1026
- name: string;
1027
1028
  status: DocumentStatusType;
1028
1029
  feedback: string;
1029
1030
  updatedAt?: NativeDate | null | undefined;
@@ -1048,47 +1049,47 @@ export declare const studentSchema: Schema<any, import("mongoose").Model<any, an
1048
1049
  createdAt?: NativeDate | null | undefined;
1049
1050
  }>;
1050
1051
  }), import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1052
+ agents: import("mongoose").Types.ObjectId[];
1053
+ editors: import("mongoose").Types.ObjectId[];
1054
+ needEditor: boolean;
1055
+ applying_program_count: number;
1051
1056
  attributes: import("mongoose").Types.DocumentArray<{
1052
- required?: unknown;
1053
1057
  type?: {
1054
1058
  name: string;
1055
1059
  value: number;
1056
1060
  } | null | undefined;
1057
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1058
1061
  required?: unknown;
1062
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1059
1063
  type?: {
1060
1064
  name: string;
1061
1065
  value: number;
1062
1066
  } | null | undefined;
1063
- }> & {
1064
1067
  required?: unknown;
1068
+ }> & {
1065
1069
  type?: {
1066
1070
  name: string;
1067
1071
  value: number;
1068
1072
  } | null | undefined;
1073
+ required?: unknown;
1069
1074
  }>;
1070
- agents: import("mongoose").Types.ObjectId[];
1071
- editors: import("mongoose").Types.ObjectId[];
1072
- needEditor: boolean;
1073
- applying_program_count: number;
1074
1075
  profile: import("mongoose").Types.DocumentArray<{
1076
+ name: string;
1075
1077
  path: string;
1076
1078
  required: boolean;
1077
- name: string;
1078
1079
  status: DocumentStatusType;
1079
1080
  feedback: string;
1080
1081
  updatedAt?: NativeDate | null | undefined;
1081
1082
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1083
+ name: string;
1082
1084
  path: string;
1083
1085
  required: boolean;
1084
- name: string;
1085
1086
  status: DocumentStatusType;
1086
1087
  feedback: string;
1087
1088
  updatedAt?: NativeDate | null | undefined;
1088
1089
  }> & {
1090
+ name: string;
1089
1091
  path: string;
1090
1092
  required: boolean;
1091
- name: string;
1092
1093
  status: DocumentStatusType;
1093
1094
  feedback: string;
1094
1095
  updatedAt?: NativeDate | null | undefined;
@@ -1116,47 +1117,47 @@ export declare const studentSchema: Schema<any, import("mongoose").Model<any, an
1116
1117
  createdAt: NativeDate;
1117
1118
  updatedAt: NativeDate;
1118
1119
  } & {
1120
+ agents: import("mongoose").Types.ObjectId[];
1121
+ editors: import("mongoose").Types.ObjectId[];
1122
+ needEditor: boolean;
1123
+ applying_program_count: number;
1119
1124
  attributes: import("mongoose").Types.DocumentArray<{
1120
- required?: unknown;
1121
1125
  type?: {
1122
1126
  name: string;
1123
1127
  value: number;
1124
1128
  } | null | undefined;
1125
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1126
1129
  required?: unknown;
1130
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1127
1131
  type?: {
1128
1132
  name: string;
1129
1133
  value: number;
1130
1134
  } | null | undefined;
1131
- }> & {
1132
1135
  required?: unknown;
1136
+ }> & {
1133
1137
  type?: {
1134
1138
  name: string;
1135
1139
  value: number;
1136
1140
  } | null | undefined;
1141
+ required?: unknown;
1137
1142
  }>;
1138
- agents: import("mongoose").Types.ObjectId[];
1139
- editors: import("mongoose").Types.ObjectId[];
1140
- needEditor: boolean;
1141
- applying_program_count: number;
1142
1143
  profile: import("mongoose").Types.DocumentArray<{
1144
+ name: string;
1143
1145
  path: string;
1144
1146
  required: boolean;
1145
- name: string;
1146
1147
  status: DocumentStatusType;
1147
1148
  feedback: string;
1148
1149
  updatedAt?: NativeDate | null | undefined;
1149
1150
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1151
+ name: string;
1150
1152
  path: string;
1151
1153
  required: boolean;
1152
- name: string;
1153
1154
  status: DocumentStatusType;
1154
1155
  feedback: string;
1155
1156
  updatedAt?: NativeDate | null | undefined;
1156
1157
  }> & {
1158
+ name: string;
1157
1159
  path: string;
1158
1160
  required: boolean;
1159
- name: string;
1160
1161
  status: DocumentStatusType;
1161
1162
  feedback: string;
1162
1163
  updatedAt?: NativeDate | null | undefined;
@@ -1181,47 +1182,47 @@ export declare const studentSchema: Schema<any, import("mongoose").Model<any, an
1181
1182
  createdAt?: NativeDate | null | undefined;
1182
1183
  }>;
1183
1184
  })>> & ((import("mongoose").FlatRecord<{
1185
+ agents: import("mongoose").Types.ObjectId[];
1186
+ editors: import("mongoose").Types.ObjectId[];
1187
+ needEditor: boolean;
1188
+ applying_program_count: number;
1184
1189
  attributes: import("mongoose").Types.DocumentArray<{
1185
- required?: unknown;
1186
1190
  type?: {
1187
1191
  name: string;
1188
1192
  value: number;
1189
1193
  } | null | undefined;
1190
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1191
1194
  required?: unknown;
1195
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1192
1196
  type?: {
1193
1197
  name: string;
1194
1198
  value: number;
1195
1199
  } | null | undefined;
1196
- }> & {
1197
1200
  required?: unknown;
1201
+ }> & {
1198
1202
  type?: {
1199
1203
  name: string;
1200
1204
  value: number;
1201
1205
  } | null | undefined;
1206
+ required?: unknown;
1202
1207
  }>;
1203
- agents: import("mongoose").Types.ObjectId[];
1204
- editors: import("mongoose").Types.ObjectId[];
1205
- needEditor: boolean;
1206
- applying_program_count: number;
1207
1208
  profile: import("mongoose").Types.DocumentArray<{
1209
+ name: string;
1208
1210
  path: string;
1209
1211
  required: boolean;
1210
- name: string;
1211
1212
  status: DocumentStatusType;
1212
1213
  feedback: string;
1213
1214
  updatedAt?: NativeDate | null | undefined;
1214
1215
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1216
+ name: string;
1215
1217
  path: string;
1216
1218
  required: boolean;
1217
- name: string;
1218
1219
  status: DocumentStatusType;
1219
1220
  feedback: string;
1220
1221
  updatedAt?: NativeDate | null | undefined;
1221
1222
  }> & {
1223
+ name: string;
1222
1224
  path: string;
1223
1225
  required: boolean;
1224
- name: string;
1225
1226
  status: DocumentStatusType;
1226
1227
  feedback: string;
1227
1228
  updatedAt?: NativeDate | null | undefined;
@@ -1253,47 +1254,47 @@ export declare const studentSchema: Schema<any, import("mongoose").Model<any, an
1253
1254
  createdAt: NativeDate;
1254
1255
  updatedAt: NativeDate;
1255
1256
  } & {
1257
+ agents: import("mongoose").Types.ObjectId[];
1258
+ editors: import("mongoose").Types.ObjectId[];
1259
+ needEditor: boolean;
1260
+ applying_program_count: number;
1256
1261
  attributes: import("mongoose").Types.DocumentArray<{
1257
- required?: unknown;
1258
1262
  type?: {
1259
1263
  name: string;
1260
1264
  value: number;
1261
1265
  } | null | undefined;
1262
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1263
1266
  required?: unknown;
1267
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1264
1268
  type?: {
1265
1269
  name: string;
1266
1270
  value: number;
1267
1271
  } | null | undefined;
1268
- }> & {
1269
1272
  required?: unknown;
1273
+ }> & {
1270
1274
  type?: {
1271
1275
  name: string;
1272
1276
  value: number;
1273
1277
  } | null | undefined;
1278
+ required?: unknown;
1274
1279
  }>;
1275
- agents: import("mongoose").Types.ObjectId[];
1276
- editors: import("mongoose").Types.ObjectId[];
1277
- needEditor: boolean;
1278
- applying_program_count: number;
1279
1280
  profile: import("mongoose").Types.DocumentArray<{
1281
+ name: string;
1280
1282
  path: string;
1281
1283
  required: boolean;
1282
- name: string;
1283
1284
  status: DocumentStatusType;
1284
1285
  feedback: string;
1285
1286
  updatedAt?: NativeDate | null | undefined;
1286
1287
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1288
+ name: string;
1287
1289
  path: string;
1288
1290
  required: boolean;
1289
- name: string;
1290
1291
  status: DocumentStatusType;
1291
1292
  feedback: string;
1292
1293
  updatedAt?: NativeDate | null | undefined;
1293
1294
  }> & {
1295
+ name: string;
1294
1296
  path: string;
1295
1297
  required: boolean;
1296
- name: string;
1297
1298
  status: DocumentStatusType;
1298
1299
  feedback: string;
1299
1300
  updatedAt?: NativeDate | null | undefined;