@adaptware/eagles-db 0.4.36 → 0.4.38

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 (86) hide show
  1. package/client/edge.js +870 -10
  2. package/client/index-browser.js +901 -40
  3. package/client/index.d.ts +81764 -27557
  4. package/client/index.js +870 -10
  5. package/client/libquery_engine-darwin.dylib.node +0 -0
  6. package/client/package.json +1 -1
  7. package/client/schema.prisma +1580 -108
  8. package/client/wasm.js +870 -10
  9. package/package.json +1 -1
  10. package/prisma/.DS_Store +0 -0
  11. package/prisma/migrations/20260519120000_migrate_shortlisted_to_selected/migration.sql +2 -0
  12. package/prisma/schema/.DS_Store +0 -0
  13. package/prisma/schema/CandidateQuestionResponse.prisma +1 -0
  14. package/prisma/schema/UserRole.prisma +1 -0
  15. package/prisma/schema/action.prisma +5 -0
  16. package/prisma/schema/activityEvent.prisma +138 -0
  17. package/prisma/schema/activityLog.prisma +3 -0
  18. package/prisma/schema/applicationAnalytics.prisma +87 -0
  19. package/prisma/schema/applications.prisma +12 -2
  20. package/prisma/schema/approval.prisma +2 -0
  21. package/prisma/schema/assessment.prisma +1 -0
  22. package/prisma/schema/assessmentLibrary.prisma +1 -0
  23. package/prisma/schema/assessmentQuestion.prisma +1 -0
  24. package/prisma/schema/assessmentRoundAnalytics.prisma +119 -0
  25. package/prisma/schema/assignment.prisma +3 -0
  26. package/prisma/schema/assignmentLibrary.prisma +1 -0
  27. package/prisma/schema/assignmentRoundAnalytics.prisma +109 -0
  28. package/prisma/schema/authModule.prisma +3 -0
  29. package/prisma/schema/budget.prisma +6 -0
  30. package/prisma/schema/calendly.prisma +2 -0
  31. package/prisma/schema/candidateProfile.prisma +2 -0
  32. package/prisma/schema/communication.prisma +11 -0
  33. package/prisma/schema/contactUs.prisma +2 -0
  34. package/prisma/schema/document.prisma +5 -4
  35. package/prisma/schema/evaluationPlan.prisma +35 -10
  36. package/prisma/schema/feedback.prisma +1 -0
  37. package/prisma/schema/fitCheck.prisma +3 -0
  38. package/prisma/schema/google.prisma +2 -0
  39. package/prisma/schema/integration.prisma +13 -0
  40. package/prisma/schema/interview.prisma +9 -0
  41. package/prisma/schema/interviewNotes.prisma +1 -0
  42. package/prisma/schema/interviewRoundAnalytics.prisma +140 -0
  43. package/prisma/schema/interviewerAnalytics.prisma +129 -0
  44. package/prisma/schema/jobApplicationFields.prisma +3 -0
  45. package/prisma/schema/jobApplicationResponse.prisma +1 -0
  46. package/prisma/schema/jobApplicationTemplate.prisma +3 -0
  47. package/prisma/schema/jobDescription.prisma +43 -35
  48. package/prisma/schema/jobDescriptionData.prisma +1 -0
  49. package/prisma/schema/jobProfile.prisma +3 -0
  50. package/prisma/schema/jobRoundAnalytics.prisma +101 -0
  51. package/prisma/schema/liveAnalysis.prisma +1 -0
  52. package/prisma/schema/message.prisma +2 -0
  53. package/prisma/schema/migrations/20260519120000_add_analytics_schema/migration.sql +84 -0
  54. package/prisma/schema/migrations/20260625120000_add_interviewer_analytics/migration.sql +26 -0
  55. package/prisma/schema/migrations/20260629120000_add_user_lifecycle_activity_events/migration.sql +13 -0
  56. package/prisma/schema/migrations/20260629140000_drop_organisation_org_code/migration.sql +2 -0
  57. package/prisma/schema/migrations/20260629160000_employee_codes_dual_interviewer_analytics/migration.sql +87 -0
  58. package/prisma/schema/migrations/20260630120000_add_application_sources/migration.sql +38 -0
  59. package/prisma/schema/migrations/20260701120000_add_source_effectiveness_analytics/migration.sql +40 -0
  60. package/prisma/schema/migrations/20260702120000_add_analytics_daily_tables/migration.sql +232 -0
  61. package/prisma/schema/migrations/{20260710120000_add_resume_rendered_export_fields → 20260706120000_add_resume_rendered_export}/migration.sql +5 -2
  62. package/prisma/schema/notes.prisma +1 -0
  63. package/prisma/schema/ongoingEvaluation.prisma +7 -0
  64. package/prisma/schema/openJobAnalytics.prisma +81 -0
  65. package/prisma/schema/organisation.prisma +39 -31
  66. package/prisma/schema/organisationConfig.prisma +1 -0
  67. package/prisma/schema/permission.prisma +1 -0
  68. package/prisma/schema/pipelineDistributionAnalytics.prisma +64 -0
  69. package/prisma/schema/promise.prisma +3 -0
  70. package/prisma/schema/questions.prisma +4 -0
  71. package/prisma/schema/refreshToken.prisma +2 -0
  72. package/prisma/schema/reportingOverviewJobAnalytics.prisma +49 -0
  73. package/prisma/schema/resume.prisma +5 -4
  74. package/prisma/schema/resumeData.prisma +1 -0
  75. package/prisma/schema/roundAnalytics.prisma +145 -0
  76. package/prisma/schema/schema.prisma +2 -0
  77. package/prisma/schema/source.prisma +36 -0
  78. package/prisma/schema/sourceEffectivenessAnalytics.prisma +79 -0
  79. package/prisma/schema/suggestion.prisma +1 -0
  80. package/prisma/schema/transcript.prisma +1 -0
  81. package/prisma/schema/user.prisma +10 -0
  82. package/prisma/schema/userProfile.prisma +2 -0
  83. package/prisma/schema/zoomMeeting.prisma +5 -0
  84. package/prisma/schema/migrations/20260522120000_ongoing_evaluation_record_kind/migration.sql +0 -25
  85. package/prisma/schema/migrations/20260523120000_replace_record_kind_with_is_committed/migration.sql +0 -24
  86. package/prisma/schema/migrations/20260528120000_drop_job_description_recommendation_config/migration.sql +0 -2
@@ -164,6 +164,22 @@ exports.Prisma.ActionScalarFieldEnum = {
164
164
  is_active: 'is_active'
165
165
  };
166
166
 
167
+ exports.Prisma.ActivityEventScalarFieldEnum = {
168
+ id: 'id',
169
+ organisation_id: 'organisation_id',
170
+ event_type: 'event_type',
171
+ entity_type: 'entity_type',
172
+ entity_id: 'entity_id',
173
+ actor_id: 'actor_id',
174
+ actor_type: 'actor_type',
175
+ related_entities: 'related_entities',
176
+ snapshot: 'snapshot',
177
+ payload: 'payload',
178
+ schema_version: 'schema_version',
179
+ occurred_at: 'occurred_at',
180
+ created_at: 'created_at'
181
+ };
182
+
167
183
  exports.Prisma.ActivityLogScalarFieldEnum = {
168
184
  id: 'id',
169
185
  application_id: 'application_id',
@@ -176,6 +192,62 @@ exports.Prisma.ActivityLogScalarFieldEnum = {
176
192
  is_active: 'is_active'
177
193
  };
178
194
 
195
+ exports.Prisma.ApplicationAnalyticsScalarFieldEnum = {
196
+ id: 'id',
197
+ organisation_id: 'organisation_id',
198
+ application_id: 'application_id',
199
+ job_description_id: 'job_description_id',
200
+ candidate_id: 'candidate_id',
201
+ source_id: 'source_id',
202
+ source_name: 'source_name',
203
+ source_category: 'source_category',
204
+ source_colour: 'source_colour',
205
+ job_code: 'job_code',
206
+ job_number: 'job_number',
207
+ role_title: 'role_title',
208
+ hiring_manager_id: 'hiring_manager_id',
209
+ candidate_name: 'candidate_name',
210
+ recruiter_id: 'recruiter_id',
211
+ applied_at: 'applied_at',
212
+ status_updated_at: 'status_updated_at',
213
+ status: 'status',
214
+ fit_check_score: 'fit_check_score',
215
+ is_screened: 'is_screened',
216
+ is_evaluated: 'is_evaluated',
217
+ is_rejected: 'is_rejected',
218
+ is_shortlisted: 'is_shortlisted',
219
+ has_committed_evaluation: 'has_committed_evaluation',
220
+ updated_at: 'updated_at'
221
+ };
222
+
223
+ exports.Prisma.ApplicationAnalyticsDailyScalarFieldEnum = {
224
+ id: 'id',
225
+ snapshot_date: 'snapshot_date',
226
+ organisation_id: 'organisation_id',
227
+ application_id: 'application_id',
228
+ job_description_id: 'job_description_id',
229
+ candidate_id: 'candidate_id',
230
+ source_id: 'source_id',
231
+ source_name: 'source_name',
232
+ source_category: 'source_category',
233
+ source_colour: 'source_colour',
234
+ job_code: 'job_code',
235
+ job_number: 'job_number',
236
+ role_title: 'role_title',
237
+ hiring_manager_id: 'hiring_manager_id',
238
+ candidate_name: 'candidate_name',
239
+ recruiter_id: 'recruiter_id',
240
+ applied_at: 'applied_at',
241
+ status_updated_at: 'status_updated_at',
242
+ status: 'status',
243
+ fit_check_score: 'fit_check_score',
244
+ is_screened: 'is_screened',
245
+ is_evaluated: 'is_evaluated',
246
+ is_rejected: 'is_rejected',
247
+ is_shortlisted: 'is_shortlisted',
248
+ has_committed_evaluation: 'has_committed_evaluation'
249
+ };
250
+
179
251
  exports.Prisma.ApplicationScalarFieldEnum = {
180
252
  id: 'id',
181
253
  candidate_id: 'candidate_id',
@@ -186,8 +258,11 @@ exports.Prisma.ApplicationScalarFieldEnum = {
186
258
  applied_at: 'applied_at',
187
259
  evaluation_plan_id: 'evaluation_plan_id',
188
260
  fit_check_id: 'fit_check_id',
261
+ recruiter_id: 'recruiter_id',
262
+ source_id: 'source_id',
189
263
  round_no: 'round_no',
190
264
  is_jaf_completed: 'is_jaf_completed',
265
+ proceed_to_next_round: 'proceed_to_next_round',
191
266
  on_notice_period: 'on_notice_period',
192
267
  expected_joining_date: 'expected_joining_date',
193
268
  current_ctc: 'current_ctc',
@@ -258,6 +333,84 @@ exports.Prisma.AssessmentQuestionScalarFieldEnum = {
258
333
  updated_at: 'updated_at'
259
334
  };
260
335
 
336
+ exports.Prisma.AssessmentRoundAnalyticsScalarFieldEnum = {
337
+ id: 'id',
338
+ organisation_id: 'organisation_id',
339
+ round_id: 'round_id',
340
+ assessment_id: 'assessment_id',
341
+ application_id: 'application_id',
342
+ candidate_id: 'candidate_id',
343
+ job_description_id: 'job_description_id',
344
+ evaluation_plan_id: 'evaluation_plan_id',
345
+ job_code: 'job_code',
346
+ job_number: 'job_number',
347
+ role_title: 'role_title',
348
+ hiring_manager_id: 'hiring_manager_id',
349
+ department: 'department',
350
+ location: 'location',
351
+ round_name: 'round_name',
352
+ evaluation_category: 'evaluation_category',
353
+ round_type: 'round_type',
354
+ round_format: 'round_format',
355
+ plan_order_no: 'plan_order_no',
356
+ plan_type: 'plan_type',
357
+ is_custom: 'is_custom',
358
+ reviewer_id: 'reviewer_id',
359
+ reviewer_employee_id: 'reviewer_employee_id',
360
+ reviewer_name: 'reviewer_name',
361
+ candidate_name: 'candidate_name',
362
+ evaluation_type: 'evaluation_type',
363
+ scheduled_start_at: 'scheduled_start_at',
364
+ scheduled_end_at: 'scheduled_end_at',
365
+ actual_start_at: 'actual_start_at',
366
+ actual_end_at: 'actual_end_at',
367
+ attempt_expires_at: 'attempt_expires_at',
368
+ evaluated_at: 'evaluated_at',
369
+ score: 'score',
370
+ status: 'status',
371
+ round_result: 'round_result',
372
+ updated_at: 'updated_at'
373
+ };
374
+
375
+ exports.Prisma.AssessmentRoundAnalyticsDailyScalarFieldEnum = {
376
+ id: 'id',
377
+ snapshot_date: 'snapshot_date',
378
+ organisation_id: 'organisation_id',
379
+ round_id: 'round_id',
380
+ assessment_id: 'assessment_id',
381
+ application_id: 'application_id',
382
+ candidate_id: 'candidate_id',
383
+ job_description_id: 'job_description_id',
384
+ evaluation_plan_id: 'evaluation_plan_id',
385
+ job_code: 'job_code',
386
+ job_number: 'job_number',
387
+ role_title: 'role_title',
388
+ hiring_manager_id: 'hiring_manager_id',
389
+ department: 'department',
390
+ location: 'location',
391
+ round_name: 'round_name',
392
+ evaluation_category: 'evaluation_category',
393
+ round_type: 'round_type',
394
+ round_format: 'round_format',
395
+ plan_order_no: 'plan_order_no',
396
+ plan_type: 'plan_type',
397
+ is_custom: 'is_custom',
398
+ reviewer_id: 'reviewer_id',
399
+ reviewer_employee_id: 'reviewer_employee_id',
400
+ reviewer_name: 'reviewer_name',
401
+ candidate_name: 'candidate_name',
402
+ evaluation_type: 'evaluation_type',
403
+ scheduled_start_at: 'scheduled_start_at',
404
+ scheduled_end_at: 'scheduled_end_at',
405
+ actual_start_at: 'actual_start_at',
406
+ actual_end_at: 'actual_end_at',
407
+ attempt_expires_at: 'attempt_expires_at',
408
+ evaluated_at: 'evaluated_at',
409
+ score: 'score',
410
+ status: 'status',
411
+ round_result: 'round_result'
412
+ };
413
+
261
414
  exports.Prisma.AssignmentScalarFieldEnum = {
262
415
  id: 'id',
263
416
  candidate_id: 'candidate_id',
@@ -297,6 +450,84 @@ exports.Prisma.AssignmentLibraryScalarFieldEnum = {
297
450
  is_active: 'is_active'
298
451
  };
299
452
 
453
+ exports.Prisma.AssignmentRoundAnalyticsScalarFieldEnum = {
454
+ id: 'id',
455
+ organisation_id: 'organisation_id',
456
+ round_id: 'round_id',
457
+ assignment_id: 'assignment_id',
458
+ application_id: 'application_id',
459
+ candidate_id: 'candidate_id',
460
+ job_description_id: 'job_description_id',
461
+ evaluation_plan_id: 'evaluation_plan_id',
462
+ job_code: 'job_code',
463
+ job_number: 'job_number',
464
+ role_title: 'role_title',
465
+ hiring_manager_id: 'hiring_manager_id',
466
+ department: 'department',
467
+ location: 'location',
468
+ round_name: 'round_name',
469
+ evaluation_category: 'evaluation_category',
470
+ round_type: 'round_type',
471
+ round_format: 'round_format',
472
+ plan_order_no: 'plan_order_no',
473
+ plan_type: 'plan_type',
474
+ is_custom: 'is_custom',
475
+ reviewer_id: 'reviewer_id',
476
+ reviewer_employee_id: 'reviewer_employee_id',
477
+ reviewer_name: 'reviewer_name',
478
+ candidate_name: 'candidate_name',
479
+ evaluation_type: 'evaluation_type',
480
+ scheduled_start_at: 'scheduled_start_at',
481
+ scheduled_end_at: 'scheduled_end_at',
482
+ completed_at: 'completed_at',
483
+ evaluated_at: 'evaluated_at',
484
+ cancelled_at: 'cancelled_at',
485
+ status: 'status',
486
+ overall_score: 'overall_score',
487
+ cancel_reason: 'cancel_reason',
488
+ round_result: 'round_result',
489
+ updated_at: 'updated_at'
490
+ };
491
+
492
+ exports.Prisma.AssignmentRoundAnalyticsDailyScalarFieldEnum = {
493
+ id: 'id',
494
+ snapshot_date: 'snapshot_date',
495
+ organisation_id: 'organisation_id',
496
+ round_id: 'round_id',
497
+ assignment_id: 'assignment_id',
498
+ application_id: 'application_id',
499
+ candidate_id: 'candidate_id',
500
+ job_description_id: 'job_description_id',
501
+ evaluation_plan_id: 'evaluation_plan_id',
502
+ job_code: 'job_code',
503
+ job_number: 'job_number',
504
+ role_title: 'role_title',
505
+ hiring_manager_id: 'hiring_manager_id',
506
+ department: 'department',
507
+ location: 'location',
508
+ round_name: 'round_name',
509
+ evaluation_category: 'evaluation_category',
510
+ round_type: 'round_type',
511
+ round_format: 'round_format',
512
+ plan_order_no: 'plan_order_no',
513
+ plan_type: 'plan_type',
514
+ is_custom: 'is_custom',
515
+ reviewer_id: 'reviewer_id',
516
+ reviewer_employee_id: 'reviewer_employee_id',
517
+ reviewer_name: 'reviewer_name',
518
+ candidate_name: 'candidate_name',
519
+ evaluation_type: 'evaluation_type',
520
+ scheduled_start_at: 'scheduled_start_at',
521
+ scheduled_end_at: 'scheduled_end_at',
522
+ completed_at: 'completed_at',
523
+ evaluated_at: 'evaluated_at',
524
+ cancelled_at: 'cancelled_at',
525
+ status: 'status',
526
+ overall_score: 'overall_score',
527
+ cancel_reason: 'cancel_reason',
528
+ round_result: 'round_result'
529
+ };
530
+
300
531
  exports.Prisma.AuthModuleScalarFieldEnum = {
301
532
  id: 'id',
302
533
  user_id: 'user_id',
@@ -484,6 +715,7 @@ exports.Prisma.EvaluationPlanScalarFieldEnum = {
484
715
  elimination_round: 'elimination_round',
485
716
  evaluation_type: 'evaluation_type',
486
717
  type_of_round: 'type_of_round',
718
+ round_purpose: 'round_purpose',
487
719
  timeline: 'timeline',
488
720
  order_no: 'order_no',
489
721
  details: 'details',
@@ -492,6 +724,7 @@ exports.Prisma.EvaluationPlanScalarFieldEnum = {
492
724
  duration: 'duration',
493
725
  duration_unit: 'duration_unit',
494
726
  deadline: 'deadline',
727
+ category: 'category',
495
728
  created_by: 'created_by',
496
729
  updated_by: 'updated_by',
497
730
  created_at: 'created_at',
@@ -665,6 +898,188 @@ exports.Prisma.InterviewNotesScalarFieldEnum = {
665
898
  is_active: 'is_active'
666
899
  };
667
900
 
901
+ exports.Prisma.InterviewRoundAnalyticsScalarFieldEnum = {
902
+ id: 'id',
903
+ organisation_id: 'organisation_id',
904
+ round_id: 'round_id',
905
+ interview_id: 'interview_id',
906
+ application_id: 'application_id',
907
+ candidate_id: 'candidate_id',
908
+ job_description_id: 'job_description_id',
909
+ evaluation_plan_id: 'evaluation_plan_id',
910
+ job_code: 'job_code',
911
+ job_number: 'job_number',
912
+ role_title: 'role_title',
913
+ hiring_manager_id: 'hiring_manager_id',
914
+ department: 'department',
915
+ location: 'location',
916
+ round_name: 'round_name',
917
+ evaluation_category: 'evaluation_category',
918
+ round_type: 'round_type',
919
+ round_format: 'round_format',
920
+ plan_order_no: 'plan_order_no',
921
+ plan_type: 'plan_type',
922
+ is_custom: 'is_custom',
923
+ interviewer_id: 'interviewer_id',
924
+ interviewer_employee_id: 'interviewer_employee_id',
925
+ interviewer_name: 'interviewer_name',
926
+ candidate_name: 'candidate_name',
927
+ candidate_email: 'candidate_email',
928
+ evaluation_type: 'evaluation_type',
929
+ ai_assistance_mode: 'ai_assistance_mode',
930
+ interview_platform: 'interview_platform',
931
+ interview_status: 'interview_status',
932
+ scheduled_start_at: 'scheduled_start_at',
933
+ scheduled_end_at: 'scheduled_end_at',
934
+ actual_start_at: 'actual_start_at',
935
+ actual_end_at: 'actual_end_at',
936
+ evaluated_at: 'evaluated_at',
937
+ first_assigned_at: 'first_assigned_at',
938
+ duration_minutes: 'duration_minutes',
939
+ human_rating: 'human_rating',
940
+ ai_rating: 'ai_rating',
941
+ recommendation: 'recommendation',
942
+ ai_disagrees_with_ai: 'ai_disagrees_with_ai',
943
+ difficulty_score: 'difficulty_score',
944
+ supportiveness_score: 'supportiveness_score',
945
+ topics_coverage_percent: 'topics_coverage_percent',
946
+ updated_at: 'updated_at'
947
+ };
948
+
949
+ exports.Prisma.InterviewRoundAnalyticsDailyScalarFieldEnum = {
950
+ id: 'id',
951
+ snapshot_date: 'snapshot_date',
952
+ organisation_id: 'organisation_id',
953
+ round_id: 'round_id',
954
+ interview_id: 'interview_id',
955
+ application_id: 'application_id',
956
+ candidate_id: 'candidate_id',
957
+ job_description_id: 'job_description_id',
958
+ evaluation_plan_id: 'evaluation_plan_id',
959
+ job_code: 'job_code',
960
+ job_number: 'job_number',
961
+ role_title: 'role_title',
962
+ hiring_manager_id: 'hiring_manager_id',
963
+ department: 'department',
964
+ location: 'location',
965
+ round_name: 'round_name',
966
+ evaluation_category: 'evaluation_category',
967
+ round_type: 'round_type',
968
+ round_format: 'round_format',
969
+ plan_order_no: 'plan_order_no',
970
+ plan_type: 'plan_type',
971
+ is_custom: 'is_custom',
972
+ interviewer_id: 'interviewer_id',
973
+ interviewer_employee_id: 'interviewer_employee_id',
974
+ interviewer_name: 'interviewer_name',
975
+ candidate_name: 'candidate_name',
976
+ candidate_email: 'candidate_email',
977
+ evaluation_type: 'evaluation_type',
978
+ ai_assistance_mode: 'ai_assistance_mode',
979
+ interview_platform: 'interview_platform',
980
+ interview_status: 'interview_status',
981
+ scheduled_start_at: 'scheduled_start_at',
982
+ scheduled_end_at: 'scheduled_end_at',
983
+ actual_start_at: 'actual_start_at',
984
+ actual_end_at: 'actual_end_at',
985
+ evaluated_at: 'evaluated_at',
986
+ first_assigned_at: 'first_assigned_at',
987
+ duration_minutes: 'duration_minutes',
988
+ human_rating: 'human_rating',
989
+ ai_rating: 'ai_rating',
990
+ recommendation: 'recommendation',
991
+ ai_disagrees_with_ai: 'ai_disagrees_with_ai',
992
+ difficulty_score: 'difficulty_score',
993
+ supportiveness_score: 'supportiveness_score',
994
+ topics_coverage_percent: 'topics_coverage_percent'
995
+ };
996
+
997
+ exports.Prisma.InterviewerOrganisationAnalyticsScalarFieldEnum = {
998
+ id: 'id',
999
+ organisation_id: 'organisation_id',
1000
+ user_id: 'user_id',
1001
+ name: 'name',
1002
+ employee_id: 'employee_id',
1003
+ interview_count: 'interview_count',
1004
+ accepted_count: 'accepted_count',
1005
+ rejected_count: 'rejected_count',
1006
+ unsure_count: 'unsure_count',
1007
+ ai_disagreement_count: 'ai_disagreement_count',
1008
+ ai_disagreement_percent: 'ai_disagreement_percent',
1009
+ avg_difficulty: 'avg_difficulty',
1010
+ avg_supportiveness: 'avg_supportiveness',
1011
+ avg_topics_coverage_percent: 'avg_topics_coverage_percent',
1012
+ updated_at: 'updated_at'
1013
+ };
1014
+
1015
+ exports.Prisma.InterviewerJobAnalyticsScalarFieldEnum = {
1016
+ id: 'id',
1017
+ organisation_id: 'organisation_id',
1018
+ user_id: 'user_id',
1019
+ job_description_id: 'job_description_id',
1020
+ hiring_manager_id: 'hiring_manager_id',
1021
+ department: 'department',
1022
+ location: 'location',
1023
+ role_title: 'role_title',
1024
+ job_code: 'job_code',
1025
+ opened_at: 'opened_at',
1026
+ name: 'name',
1027
+ employee_id: 'employee_id',
1028
+ interview_count: 'interview_count',
1029
+ accepted_count: 'accepted_count',
1030
+ rejected_count: 'rejected_count',
1031
+ unsure_count: 'unsure_count',
1032
+ ai_disagreement_count: 'ai_disagreement_count',
1033
+ ai_disagreement_percent: 'ai_disagreement_percent',
1034
+ avg_difficulty: 'avg_difficulty',
1035
+ avg_supportiveness: 'avg_supportiveness',
1036
+ avg_topics_coverage_percent: 'avg_topics_coverage_percent',
1037
+ updated_at: 'updated_at'
1038
+ };
1039
+
1040
+ exports.Prisma.InterviewerOrganisationAnalyticsDailyScalarFieldEnum = {
1041
+ id: 'id',
1042
+ snapshot_date: 'snapshot_date',
1043
+ organisation_id: 'organisation_id',
1044
+ user_id: 'user_id',
1045
+ name: 'name',
1046
+ employee_id: 'employee_id',
1047
+ interview_count: 'interview_count',
1048
+ accepted_count: 'accepted_count',
1049
+ rejected_count: 'rejected_count',
1050
+ unsure_count: 'unsure_count',
1051
+ ai_disagreement_count: 'ai_disagreement_count',
1052
+ ai_disagreement_percent: 'ai_disagreement_percent',
1053
+ avg_difficulty: 'avg_difficulty',
1054
+ avg_supportiveness: 'avg_supportiveness',
1055
+ avg_topics_coverage_percent: 'avg_topics_coverage_percent'
1056
+ };
1057
+
1058
+ exports.Prisma.InterviewerJobAnalyticsDailyScalarFieldEnum = {
1059
+ id: 'id',
1060
+ snapshot_date: 'snapshot_date',
1061
+ organisation_id: 'organisation_id',
1062
+ user_id: 'user_id',
1063
+ job_description_id: 'job_description_id',
1064
+ hiring_manager_id: 'hiring_manager_id',
1065
+ department: 'department',
1066
+ location: 'location',
1067
+ role_title: 'role_title',
1068
+ job_code: 'job_code',
1069
+ opened_at: 'opened_at',
1070
+ name: 'name',
1071
+ employee_id: 'employee_id',
1072
+ interview_count: 'interview_count',
1073
+ accepted_count: 'accepted_count',
1074
+ rejected_count: 'rejected_count',
1075
+ unsure_count: 'unsure_count',
1076
+ ai_disagreement_count: 'ai_disagreement_count',
1077
+ ai_disagreement_percent: 'ai_disagreement_percent',
1078
+ avg_difficulty: 'avg_difficulty',
1079
+ avg_supportiveness: 'avg_supportiveness',
1080
+ avg_topics_coverage_percent: 'avg_topics_coverage_percent'
1081
+ };
1082
+
668
1083
  exports.Prisma.JobApplicationFieldScalarFieldEnum = {
669
1084
  id: 'id',
670
1085
  organisation_id: 'organisation_id',
@@ -732,6 +1147,10 @@ exports.Prisma.JobDescriptionScalarFieldEnum = {
732
1147
  summary: 'summary',
733
1148
  ai_insight: 'ai_insight',
734
1149
  job_fit_comparison: 'job_fit_comparison',
1150
+ target_closing_date: 'target_closing_date',
1151
+ closing_date: 'closing_date',
1152
+ job_number: 'job_number',
1153
+ job_code: 'job_code',
735
1154
  created_at: 'created_at',
736
1155
  updated_at: 'updated_at',
737
1156
  created_by: 'created_by',
@@ -781,6 +1200,54 @@ exports.Prisma.JobProfileScalarFieldEnum = {
781
1200
  is_active: 'is_active'
782
1201
  };
783
1202
 
1203
+ exports.Prisma.JobRoundAnalyticsScalarFieldEnum = {
1204
+ id: 'id',
1205
+ organisation_id: 'organisation_id',
1206
+ job_description_id: 'job_description_id',
1207
+ evaluation_plan_id: 'evaluation_plan_id',
1208
+ round_name: 'round_name',
1209
+ evaluation_category: 'evaluation_category',
1210
+ job_code: 'job_code',
1211
+ role_title: 'role_title',
1212
+ hiring_manager_id: 'hiring_manager_id',
1213
+ plan_order_no: 'plan_order_no',
1214
+ plan_type: 'plan_type',
1215
+ is_custom: 'is_custom',
1216
+ assigned_count: 'assigned_count',
1217
+ completed_count: 'completed_count',
1218
+ passed_count: 'passed_count',
1219
+ failed_count: 'failed_count',
1220
+ withdrawn_count: 'withdrawn_count',
1221
+ no_show_count: 'no_show_count',
1222
+ total_completion_minutes: 'total_completion_minutes',
1223
+ avg_completion_minutes: 'avg_completion_minutes',
1224
+ updated_at: 'updated_at'
1225
+ };
1226
+
1227
+ exports.Prisma.JobRoundAnalyticsDailyScalarFieldEnum = {
1228
+ id: 'id',
1229
+ snapshot_date: 'snapshot_date',
1230
+ organisation_id: 'organisation_id',
1231
+ job_description_id: 'job_description_id',
1232
+ evaluation_plan_id: 'evaluation_plan_id',
1233
+ round_name: 'round_name',
1234
+ evaluation_category: 'evaluation_category',
1235
+ job_code: 'job_code',
1236
+ role_title: 'role_title',
1237
+ hiring_manager_id: 'hiring_manager_id',
1238
+ plan_order_no: 'plan_order_no',
1239
+ plan_type: 'plan_type',
1240
+ is_custom: 'is_custom',
1241
+ assigned_count: 'assigned_count',
1242
+ completed_count: 'completed_count',
1243
+ passed_count: 'passed_count',
1244
+ failed_count: 'failed_count',
1245
+ withdrawn_count: 'withdrawn_count',
1246
+ no_show_count: 'no_show_count',
1247
+ total_completion_minutes: 'total_completion_minutes',
1248
+ avg_completion_minutes: 'avg_completion_minutes'
1249
+ };
1250
+
784
1251
  exports.Prisma.LiveAnalysisScalarFieldEnum = {
785
1252
  id: 'id',
786
1253
  interview_id: 'interview_id',
@@ -837,6 +1304,7 @@ exports.Prisma.OngoingEvaluationScalarFieldEnum = {
837
1304
  description: 'description',
838
1305
  order_no: 'order_no',
839
1306
  format: 'format',
1307
+ round_purpose: 'round_purpose',
840
1308
  topics: 'topics',
841
1309
  assignee: 'assignee',
842
1310
  elimination_round: 'elimination_round',
@@ -846,6 +1314,7 @@ exports.Prisma.OngoingEvaluationScalarFieldEnum = {
846
1314
  deadline: 'deadline',
847
1315
  duration_unit: 'duration_unit',
848
1316
  details: 'details',
1317
+ category: 'category',
849
1318
  created_at: 'created_at',
850
1319
  updated_at: 'updated_at',
851
1320
  created_by: 'created_by',
@@ -854,6 +1323,60 @@ exports.Prisma.OngoingEvaluationScalarFieldEnum = {
854
1323
  is_current: 'is_current'
855
1324
  };
856
1325
 
1326
+ exports.Prisma.OpenJobAnalyticsScalarFieldEnum = {
1327
+ id: 'id',
1328
+ organisation_id: 'organisation_id',
1329
+ job_description_id: 'job_description_id',
1330
+ job_code: 'job_code',
1331
+ job_number: 'job_number',
1332
+ role_title: 'role_title',
1333
+ department: 'department',
1334
+ hiring_manager_id: 'hiring_manager_id',
1335
+ hiring_manager_name: 'hiring_manager_name',
1336
+ location: 'location',
1337
+ compensation: 'compensation',
1338
+ vacancies: 'vacancies',
1339
+ opened_at: 'opened_at',
1340
+ target_closing_date: 'target_closing_date',
1341
+ closing_date: 'closing_date',
1342
+ is_open: 'is_open',
1343
+ closure_type: 'closure_type',
1344
+ time_to_hire_days: 'time_to_hire_days',
1345
+ application_count: 'application_count',
1346
+ unscreened_count: 'unscreened_count',
1347
+ ongoing_count: 'ongoing_count',
1348
+ selected_count: 'selected_count',
1349
+ rejected_count: 'rejected_count',
1350
+ updated_at: 'updated_at'
1351
+ };
1352
+
1353
+ exports.Prisma.OpenJobAnalyticsDailyScalarFieldEnum = {
1354
+ id: 'id',
1355
+ snapshot_date: 'snapshot_date',
1356
+ organisation_id: 'organisation_id',
1357
+ job_description_id: 'job_description_id',
1358
+ job_code: 'job_code',
1359
+ job_number: 'job_number',
1360
+ role_title: 'role_title',
1361
+ department: 'department',
1362
+ hiring_manager_id: 'hiring_manager_id',
1363
+ hiring_manager_name: 'hiring_manager_name',
1364
+ location: 'location',
1365
+ compensation: 'compensation',
1366
+ vacancies: 'vacancies',
1367
+ opened_at: 'opened_at',
1368
+ target_closing_date: 'target_closing_date',
1369
+ closing_date: 'closing_date',
1370
+ is_open: 'is_open',
1371
+ closure_type: 'closure_type',
1372
+ time_to_hire_days: 'time_to_hire_days',
1373
+ application_count: 'application_count',
1374
+ unscreened_count: 'unscreened_count',
1375
+ ongoing_count: 'ongoing_count',
1376
+ selected_count: 'selected_count',
1377
+ rejected_count: 'rejected_count'
1378
+ };
1379
+
857
1380
  exports.Prisma.OrganisationScalarFieldEnum = {
858
1381
  id: 'id',
859
1382
  name: 'name',
@@ -872,6 +1395,8 @@ exports.Prisma.OrganisationScalarFieldEnum = {
872
1395
  is_active: 'is_active',
873
1396
  alias: 'alias',
874
1397
  logo: 'logo',
1398
+ job_sequence: 'job_sequence',
1399
+ employee_sequence: 'employee_sequence',
875
1400
  timezone: 'timezone'
876
1401
  };
877
1402
 
@@ -894,6 +1419,46 @@ exports.Prisma.PermissionScalarFieldEnum = {
894
1419
  is_active: 'is_active'
895
1420
  };
896
1421
 
1422
+ exports.Prisma.PipelineDistributionAnalyticsScalarFieldEnum = {
1423
+ id: 'id',
1424
+ organisation_id: 'organisation_id',
1425
+ job_description_id: 'job_description_id',
1426
+ job_code: 'job_code',
1427
+ job_number: 'job_number',
1428
+ role_title: 'role_title',
1429
+ hiring_manager_id: 'hiring_manager_id',
1430
+ application_count: 'application_count',
1431
+ filtered_in_count: 'filtered_in_count',
1432
+ min_fit_score: 'min_fit_score',
1433
+ experience_screening_count: 'experience_screening_count',
1434
+ technical_screening_count: 'technical_screening_count',
1435
+ technical_interview_count: 'technical_interview_count',
1436
+ business_round_count: 'business_round_count',
1437
+ behavioral_round_count: 'behavioral_round_count',
1438
+ shortlisted_count: 'shortlisted_count',
1439
+ updated_at: 'updated_at'
1440
+ };
1441
+
1442
+ exports.Prisma.PipelineDistributionAnalyticsDailyScalarFieldEnum = {
1443
+ id: 'id',
1444
+ snapshot_date: 'snapshot_date',
1445
+ organisation_id: 'organisation_id',
1446
+ job_description_id: 'job_description_id',
1447
+ job_code: 'job_code',
1448
+ job_number: 'job_number',
1449
+ role_title: 'role_title',
1450
+ hiring_manager_id: 'hiring_manager_id',
1451
+ application_count: 'application_count',
1452
+ filtered_in_count: 'filtered_in_count',
1453
+ min_fit_score: 'min_fit_score',
1454
+ experience_screening_count: 'experience_screening_count',
1455
+ technical_screening_count: 'technical_screening_count',
1456
+ technical_interview_count: 'technical_interview_count',
1457
+ business_round_count: 'business_round_count',
1458
+ behavioral_round_count: 'behavioral_round_count',
1459
+ shortlisted_count: 'shortlisted_count'
1460
+ };
1461
+
897
1462
  exports.Prisma.AsyncOperationScalarFieldEnum = {
898
1463
  id: 'id',
899
1464
  operation_name: 'operation_name',
@@ -942,6 +1507,29 @@ exports.Prisma.RefreshTokenScalarFieldEnum = {
942
1507
  updated_at: 'updated_at'
943
1508
  };
944
1509
 
1510
+ exports.Prisma.ReportingOverviewJobAnalyticsScalarFieldEnum = {
1511
+ id: 'id',
1512
+ organisation_id: 'organisation_id',
1513
+ job_description_id: 'job_description_id',
1514
+ job_code: 'job_code',
1515
+ job_number: 'job_number',
1516
+ hiring_manager_id: 'hiring_manager_id',
1517
+ opened_at: 'opened_at',
1518
+ target_closing_date: 'target_closing_date',
1519
+ closing_date: 'closing_date',
1520
+ is_open: 'is_open',
1521
+ closure_type: 'closure_type',
1522
+ time_to_hire_days: 'time_to_hire_days',
1523
+ in_consideration_count: 'in_consideration_count',
1524
+ updated_at: 'updated_at'
1525
+ };
1526
+
1527
+ exports.Prisma.ReportingOverviewJobRecruiterScalarFieldEnum = {
1528
+ id: 'id',
1529
+ job_description_id: 'job_description_id',
1530
+ recruiter_user_id: 'recruiter_user_id'
1531
+ };
1532
+
945
1533
  exports.Prisma.ResumeScalarFieldEnum = {
946
1534
  id: 'id',
947
1535
  user_id: 'user_id',
@@ -974,6 +1562,134 @@ exports.Prisma.ResumeDataScalarFieldEnum = {
974
1562
  is_active: 'is_active'
975
1563
  };
976
1564
 
1565
+ exports.Prisma.RoundAnalyticsScalarFieldEnum = {
1566
+ id: 'id',
1567
+ organisation_id: 'organisation_id',
1568
+ application_id: 'application_id',
1569
+ candidate_id: 'candidate_id',
1570
+ job_description_id: 'job_description_id',
1571
+ evaluation_plan_id: 'evaluation_plan_id',
1572
+ round_id: 'round_id',
1573
+ round_name: 'round_name',
1574
+ evaluation_category: 'evaluation_category',
1575
+ round_type: 'round_type',
1576
+ assigned_at: 'assigned_at',
1577
+ scheduled_at: 'scheduled_at',
1578
+ started_at: 'started_at',
1579
+ completed_at: 'completed_at',
1580
+ evaluated_at: 'evaluated_at',
1581
+ round_completed_at: 'round_completed_at',
1582
+ round_created_at: 'round_created_at',
1583
+ round_result: 'round_result',
1584
+ round_result_at: 'round_result_at',
1585
+ scheduling_duration_minutes: 'scheduling_duration_minutes',
1586
+ round_duration_minutes: 'round_duration_minutes',
1587
+ feedback_duration_minutes: 'feedback_duration_minutes',
1588
+ decision_duration_minutes: 'decision_duration_minutes',
1589
+ total_round_duration_minutes: 'total_round_duration_minutes',
1590
+ is_custom: 'is_custom',
1591
+ created_at: 'created_at',
1592
+ updated_at: 'updated_at'
1593
+ };
1594
+
1595
+ exports.Prisma.RoundAnalyticsDailyScalarFieldEnum = {
1596
+ id: 'id',
1597
+ snapshot_date: 'snapshot_date',
1598
+ organisation_id: 'organisation_id',
1599
+ application_id: 'application_id',
1600
+ candidate_id: 'candidate_id',
1601
+ job_description_id: 'job_description_id',
1602
+ evaluation_plan_id: 'evaluation_plan_id',
1603
+ round_id: 'round_id',
1604
+ round_name: 'round_name',
1605
+ evaluation_category: 'evaluation_category',
1606
+ round_type: 'round_type',
1607
+ assigned_at: 'assigned_at',
1608
+ scheduled_at: 'scheduled_at',
1609
+ started_at: 'started_at',
1610
+ completed_at: 'completed_at',
1611
+ evaluated_at: 'evaluated_at',
1612
+ round_completed_at: 'round_completed_at',
1613
+ round_created_at: 'round_created_at',
1614
+ round_result: 'round_result',
1615
+ round_result_at: 'round_result_at',
1616
+ scheduling_duration_minutes: 'scheduling_duration_minutes',
1617
+ round_duration_minutes: 'round_duration_minutes',
1618
+ feedback_duration_minutes: 'feedback_duration_minutes',
1619
+ decision_duration_minutes: 'decision_duration_minutes',
1620
+ total_round_duration_minutes: 'total_round_duration_minutes',
1621
+ is_custom: 'is_custom'
1622
+ };
1623
+
1624
+ exports.Prisma.SourceScalarFieldEnum = {
1625
+ id: 'id',
1626
+ organisation_id: 'organisation_id',
1627
+ name: 'name',
1628
+ category: 'category',
1629
+ parent_source_id: 'parent_source_id',
1630
+ colour: 'colour',
1631
+ description: 'description',
1632
+ is_active: 'is_active',
1633
+ created_at: 'created_at',
1634
+ updated_at: 'updated_at'
1635
+ };
1636
+
1637
+ exports.Prisma.SourceEffectivenessAnalyticsScalarFieldEnum = {
1638
+ id: 'id',
1639
+ organisation_id: 'organisation_id',
1640
+ job_description_id: 'job_description_id',
1641
+ source_id: 'source_id',
1642
+ source_name: 'source_name',
1643
+ source_category: 'source_category',
1644
+ source_colour: 'source_colour',
1645
+ job_code: 'job_code',
1646
+ job_number: 'job_number',
1647
+ role_title: 'role_title',
1648
+ hiring_manager_id: 'hiring_manager_id',
1649
+ applications_count: 'applications_count',
1650
+ screened_count: 'screened_count',
1651
+ evaluated_count: 'evaluated_count',
1652
+ rejected_count: 'rejected_count',
1653
+ shortlisted_count: 'shortlisted_count',
1654
+ offered_count: 'offered_count',
1655
+ offer_accepted_count: 'offer_accepted_count',
1656
+ offer_declined_count: 'offer_declined_count',
1657
+ withdrawn_count: 'withdrawn_count',
1658
+ hired_count: 'hired_count',
1659
+ total_fit_score: 'total_fit_score',
1660
+ fit_score_sample_count: 'fit_score_sample_count',
1661
+ average_fit_score: 'average_fit_score',
1662
+ updated_at: 'updated_at'
1663
+ };
1664
+
1665
+ exports.Prisma.SourceEffectivenessAnalyticsDailyScalarFieldEnum = {
1666
+ id: 'id',
1667
+ snapshot_date: 'snapshot_date',
1668
+ organisation_id: 'organisation_id',
1669
+ job_description_id: 'job_description_id',
1670
+ source_id: 'source_id',
1671
+ source_name: 'source_name',
1672
+ source_category: 'source_category',
1673
+ source_colour: 'source_colour',
1674
+ job_code: 'job_code',
1675
+ job_number: 'job_number',
1676
+ role_title: 'role_title',
1677
+ hiring_manager_id: 'hiring_manager_id',
1678
+ applications_count: 'applications_count',
1679
+ screened_count: 'screened_count',
1680
+ evaluated_count: 'evaluated_count',
1681
+ rejected_count: 'rejected_count',
1682
+ shortlisted_count: 'shortlisted_count',
1683
+ offered_count: 'offered_count',
1684
+ offer_accepted_count: 'offer_accepted_count',
1685
+ offer_declined_count: 'offer_declined_count',
1686
+ withdrawn_count: 'withdrawn_count',
1687
+ hired_count: 'hired_count',
1688
+ total_fit_score: 'total_fit_score',
1689
+ fit_score_sample_count: 'fit_score_sample_count',
1690
+ average_fit_score: 'average_fit_score'
1691
+ };
1692
+
977
1693
  exports.Prisma.SuggestionScalarFieldEnum = {
978
1694
  id: 'id',
979
1695
  interview_id: 'interview_id',
@@ -1044,7 +1760,9 @@ exports.Prisma.UserScalarFieldEnum = {
1044
1760
  ethnicity: 'ethnicity',
1045
1761
  veteran_status: 'veteran_status',
1046
1762
  disability_status: 'disability_status',
1047
- professional_expertise: 'professional_expertise'
1763
+ professional_expertise: 'professional_expertise',
1764
+ employee_number: 'employee_number',
1765
+ employee_code: 'employee_code'
1048
1766
  };
1049
1767
 
1050
1768
  exports.Prisma.UserProfileScalarFieldEnum = {
@@ -1141,24 +1859,164 @@ exports.ActionStatus = exports.$Enums.ActionStatus = {
1141
1859
  CANCELLED: 'CANCELLED'
1142
1860
  };
1143
1861
 
1862
+ exports.ActivityEventType = exports.$Enums.ActivityEventType = {
1863
+ APPLICATION_CREATED: 'APPLICATION_CREATED',
1864
+ APPLICATION_STARTED: 'APPLICATION_STARTED',
1865
+ APPLICATION_REJECTED: 'APPLICATION_REJECTED',
1866
+ APPLICATION_SHORTLISTED: 'APPLICATION_SHORTLISTED',
1867
+ FIT_CHECK_COMPLETED: 'FIT_CHECK_COMPLETED',
1868
+ ROUND_ASSIGNED: 'ROUND_ASSIGNED',
1869
+ ROUND_COMPLETED: 'ROUND_COMPLETED',
1870
+ ROUND_PASSED: 'ROUND_PASSED',
1871
+ ROUND_FAILED: 'ROUND_FAILED',
1872
+ INTERVIEW_CREATED: 'INTERVIEW_CREATED',
1873
+ INTERVIEW_SCHEDULED: 'INTERVIEW_SCHEDULED',
1874
+ INTERVIEW_RESCHEDULED: 'INTERVIEW_RESCHEDULED',
1875
+ INTERVIEW_CANCELLED: 'INTERVIEW_CANCELLED',
1876
+ INTERVIEW_STARTED: 'INTERVIEW_STARTED',
1877
+ INTERVIEW_COMPLETED: 'INTERVIEW_COMPLETED',
1878
+ INTERVIEW_NO_SHOW: 'INTERVIEW_NO_SHOW',
1879
+ INTERVIEW_EVALUATION_PENDING: 'INTERVIEW_EVALUATION_PENDING',
1880
+ INTERVIEW_EVALUATED: 'INTERVIEW_EVALUATED',
1881
+ FEEDBACK_SUBMITTED: 'FEEDBACK_SUBMITTED',
1882
+ ASSIGNMENT_CREATED: 'ASSIGNMENT_CREATED',
1883
+ ASSIGNMENT_STARTED: 'ASSIGNMENT_STARTED',
1884
+ ASSIGNMENT_COMPLETED: 'ASSIGNMENT_COMPLETED',
1885
+ ASSIGNMENT_CANCELLED: 'ASSIGNMENT_CANCELLED',
1886
+ ASSIGNMENT_EVALUATED: 'ASSIGNMENT_EVALUATED',
1887
+ ASSESSMENT_CREATED: 'ASSESSMENT_CREATED',
1888
+ ASSESSMENT_STARTED: 'ASSESSMENT_STARTED',
1889
+ ASSESSMENT_COMPLETED: 'ASSESSMENT_COMPLETED',
1890
+ ASSESSMENT_CANCELLED: 'ASSESSMENT_CANCELLED',
1891
+ ASSESSMENT_EVALUATED: 'ASSESSMENT_EVALUATED',
1892
+ JOB_CREATED: 'JOB_CREATED',
1893
+ JOB_PUBLISHED: 'JOB_PUBLISHED',
1894
+ JOB_CLOSED: 'JOB_CLOSED',
1895
+ JOB_DEACTIVATED: 'JOB_DEACTIVATED',
1896
+ USER_INVITED: 'USER_INVITED',
1897
+ USER_INVITATION_RESENT: 'USER_INVITATION_RESENT',
1898
+ USER_CREATED: 'USER_CREATED',
1899
+ USER_INVITATION_ACCEPTED: 'USER_INVITATION_ACCEPTED',
1900
+ USER_INVITATION_EXPIRED: 'USER_INVITATION_EXPIRED',
1901
+ USER_DEACTIVATED: 'USER_DEACTIVATED',
1902
+ USER_REACTIVATED: 'USER_REACTIVATED',
1903
+ USER_ROLE_CHANGED: 'USER_ROLE_CHANGED',
1904
+ USER_PROFILE_COMPLETED: 'USER_PROFILE_COMPLETED',
1905
+ CANDIDATE_REGISTERED: 'CANDIDATE_REGISTERED',
1906
+ CANDIDATE_CREATED: 'CANDIDATE_CREATED',
1907
+ CANDIDATE_PROFILE_COMPLETED: 'CANDIDATE_PROFILE_COMPLETED',
1908
+ EVALUATION_PLAN_CREATED: 'EVALUATION_PLAN_CREATED',
1909
+ EVALUATION_PLAN_PUBLISHED: 'EVALUATION_PLAN_PUBLISHED',
1910
+ EVALUATION_PLAN_DELETED: 'EVALUATION_PLAN_DELETED',
1911
+ EVALUATION_PLAN_UPDATED: 'EVALUATION_PLAN_UPDATED',
1912
+ STATUS_CHANGED: 'STATUS_CHANGED',
1913
+ CUSTOM: 'CUSTOM'
1914
+ };
1915
+
1916
+ exports.ActivityEntityType = exports.$Enums.ActivityEntityType = {
1917
+ APPLICATION: 'APPLICATION',
1918
+ CANDIDATE: 'CANDIDATE',
1919
+ JOB: 'JOB',
1920
+ ONGOING_EVALUATION: 'ONGOING_EVALUATION',
1921
+ EVALUATION_PLAN: 'EVALUATION_PLAN',
1922
+ INTERVIEW: 'INTERVIEW',
1923
+ ASSIGNMENT: 'ASSIGNMENT',
1924
+ ASSESSMENT: 'ASSESSMENT',
1925
+ ORGANISATION: 'ORGANISATION',
1926
+ USER: 'USER'
1927
+ };
1928
+
1929
+ exports.ActivityEntityActorType = exports.$Enums.ActivityEntityActorType = {
1930
+ USER: 'USER',
1931
+ SYSTEM: 'SYSTEM',
1932
+ AI_AGENT: 'AI_AGENT',
1933
+ WEBHOOK: 'WEBHOOK'
1934
+ };
1935
+
1144
1936
  exports.ActivityActorType = exports.$Enums.ActivityActorType = {
1145
1937
  USER: 'USER',
1146
1938
  AI: 'AI',
1147
1939
  SYSTEM: 'SYSTEM'
1148
1940
  };
1149
1941
 
1942
+ exports.SourceCategory = exports.$Enums.SourceCategory = {
1943
+ JOB_BOARD: 'JOB_BOARD',
1944
+ REFERRAL: 'REFERRAL',
1945
+ AGENCY: 'AGENCY',
1946
+ SOCIAL_MEDIA: 'SOCIAL_MEDIA',
1947
+ CAREERS_PAGE: 'CAREERS_PAGE',
1948
+ EVENT: 'EVENT',
1949
+ OTHER: 'OTHER'
1950
+ };
1951
+
1952
+ exports.ApplicationStatus = exports.$Enums.ApplicationStatus = {
1953
+ PENDING: 'PENDING',
1954
+ IN_PROGRESS: 'IN_PROGRESS',
1955
+ SELECTED: 'SELECTED',
1956
+ SHORTLISTED: 'SHORTLISTED',
1957
+ REJECTED: 'REJECTED',
1958
+ ON_HOLD: 'ON_HOLD'
1959
+ };
1960
+
1150
1961
  exports.FitCheckStatus = exports.$Enums.FitCheckStatus = {
1151
1962
  RECOMMENDED: 'RECOMMENDED',
1152
1963
  TO_REVIEW: 'TO_REVIEW',
1153
1964
  NOT_RECOMMENDED: 'NOT_RECOMMENDED'
1154
1965
  };
1155
1966
 
1156
- exports.ApplicationStatus = exports.$Enums.ApplicationStatus = {
1157
- PENDING: 'PENDING',
1967
+ exports.EvaluationCategory = exports.$Enums.EvaluationCategory = {
1968
+ EXPERIENCE_SCREENING: 'EXPERIENCE_SCREENING',
1969
+ TECHNICAL_SCREENING: 'TECHNICAL_SCREENING',
1970
+ TECHNICAL_INTERVIEW: 'TECHNICAL_INTERVIEW',
1971
+ BUSINESS_ROUND: 'BUSINESS_ROUND',
1972
+ BEHAVIORAL_ROUND: 'BEHAVIORAL_ROUND'
1973
+ };
1974
+
1975
+ exports.RoundType = exports.$Enums.RoundType = {
1976
+ ASSESSMENT: 'ASSESSMENT',
1977
+ INTERVIEW: 'INTERVIEW',
1978
+ ASSIGNMENT: 'ASSIGNMENT',
1979
+ SCREENING: 'SCREENING'
1980
+ };
1981
+
1982
+ exports.EvaluationRoundFormat = exports.$Enums.EvaluationRoundFormat = {
1983
+ PHONE_CALL: 'PHONE_CALL',
1984
+ VIDEO_CALL_AI_ASSISTED: 'VIDEO_CALL_AI_ASSISTED',
1985
+ VIDEO_CALL_UNASSISTED: 'VIDEO_CALL_UNASSISTED',
1986
+ AI_GENERATED_TEST: 'AI_GENERATED_TEST',
1987
+ UPLOADED_TEST: 'UPLOADED_TEST',
1988
+ EXTERNAL_PLATFORM: 'EXTERNAL_PLATFORM',
1989
+ AI_GENERATED_ASSIGNMENT: 'AI_GENERATED_ASSIGNMENT',
1990
+ UPLOADED_ASSIGNMENT: 'UPLOADED_ASSIGNMENT',
1991
+ TREADSPACE_AI_ASSISTED: 'TREADSPACE_AI_ASSISTED',
1992
+ EXTERNAL_VIDEO_AI_ASSISTED: 'EXTERNAL_VIDEO_AI_ASSISTED',
1993
+ EXTERNAL_VIDEO_UNASSISTED: 'EXTERNAL_VIDEO_UNASSISTED'
1994
+ };
1995
+
1996
+ exports.EvaluationPlanType = exports.$Enums.EvaluationPlanType = {
1997
+ CUSTOM: 'CUSTOM',
1998
+ GENERIC: 'GENERIC',
1999
+ DELETED: 'DELETED'
2000
+ };
2001
+
2002
+ exports.EvaluationType = exports.$Enums.EvaluationType = {
2003
+ TREADSPACE_AI_ASSISTED: 'TREADSPACE_AI_ASSISTED',
2004
+ TREADSPACE_FULL_AI: 'TREADSPACE_FULL_AI',
2005
+ EXTERNAL_AI_ASSISTED: 'EXTERNAL_AI_ASSISTED',
2006
+ NON_AI_ASSISTED: 'NON_AI_ASSISTED'
2007
+ };
2008
+
2009
+ exports.AssessmentRoundStatus = exports.$Enums.AssessmentRoundStatus = {
2010
+ SCHEDULED: 'SCHEDULED',
1158
2011
  IN_PROGRESS: 'IN_PROGRESS',
1159
- SHORTLISTED: 'SHORTLISTED',
1160
- SELECTED: 'SELECTED',
1161
- REJECTED: 'REJECTED'
2012
+ COMPLETED: 'COMPLETED',
2013
+ EVALUATED: 'EVALUATED',
2014
+ CANCELLED: 'CANCELLED'
2015
+ };
2016
+
2017
+ exports.RoundResult = exports.$Enums.RoundResult = {
2018
+ PASSED: 'PASSED',
2019
+ FAILED: 'FAILED'
1162
2020
  };
1163
2021
 
1164
2022
  exports.AssignmentStatus = exports.$Enums.AssignmentStatus = {
@@ -1222,40 +2080,6 @@ exports.CommMessageStatus = exports.$Enums.CommMessageStatus = {
1222
2080
  RECEIVED: 'RECEIVED'
1223
2081
  };
1224
2082
 
1225
- exports.EvaluationRoundFormat = exports.$Enums.EvaluationRoundFormat = {
1226
- PHONE_CALL: 'PHONE_CALL',
1227
- VIDEO_CALL_AI_ASSISTED: 'VIDEO_CALL_AI_ASSISTED',
1228
- VIDEO_CALL_UNASSISTED: 'VIDEO_CALL_UNASSISTED',
1229
- AI_GENERATED_TEST: 'AI_GENERATED_TEST',
1230
- UPLOADED_TEST: 'UPLOADED_TEST',
1231
- EXTERNAL_PLATFORM: 'EXTERNAL_PLATFORM',
1232
- AI_GENERATED_ASSIGNMENT: 'AI_GENERATED_ASSIGNMENT',
1233
- UPLOADED_ASSIGNMENT: 'UPLOADED_ASSIGNMENT',
1234
- TREADSPACE_AI_ASSISTED: 'TREADSPACE_AI_ASSISTED',
1235
- EXTERNAL_VIDEO_AI_ASSISTED: 'EXTERNAL_VIDEO_AI_ASSISTED',
1236
- EXTERNAL_VIDEO_UNASSISTED: 'EXTERNAL_VIDEO_UNASSISTED'
1237
- };
1238
-
1239
- exports.EvaluationType = exports.$Enums.EvaluationType = {
1240
- TREADSPACE_AI_ASSISTED: 'TREADSPACE_AI_ASSISTED',
1241
- TREADSPACE_FULL_AI: 'TREADSPACE_FULL_AI',
1242
- EXTERNAL_AI_ASSISTED: 'EXTERNAL_AI_ASSISTED',
1243
- NON_AI_ASSISTED: 'NON_AI_ASSISTED'
1244
- };
1245
-
1246
- exports.RoundType = exports.$Enums.RoundType = {
1247
- ASSESSMENT: 'ASSESSMENT',
1248
- INTERVIEW: 'INTERVIEW',
1249
- ASSIGNMENT: 'ASSIGNMENT',
1250
- SCREENING: 'SCREENING'
1251
- };
1252
-
1253
- exports.EvaluationPlanType = exports.$Enums.EvaluationPlanType = {
1254
- CUSTOM: 'CUSTOM',
1255
- GENERIC: 'GENERIC',
1256
- DELETED: 'DELETED'
1257
- };
1258
-
1259
2083
  exports.EvaluationPlanShareScope = exports.$Enums.EvaluationPlanShareScope = {
1260
2084
  PRIVATE: 'PRIVATE',
1261
2085
  CREATOR: 'CREATOR',
@@ -1330,6 +2154,12 @@ exports.InterviewFeedback = exports.$Enums.InterviewFeedback = {
1330
2154
  STRONG_NO_HIRE: 'STRONG_NO_HIRE'
1331
2155
  };
1332
2156
 
2157
+ exports.InterviewRecommendation = exports.$Enums.InterviewRecommendation = {
2158
+ ACCEPTED: 'ACCEPTED',
2159
+ REJECTED: 'REJECTED',
2160
+ UNSURE: 'UNSURE'
2161
+ };
2162
+
1333
2163
  exports.JobApplicationFieldType = exports.$Enums.JobApplicationFieldType = {
1334
2164
  TEXT: 'TEXT',
1335
2165
  NUMBER: 'NUMBER',
@@ -1377,6 +2207,11 @@ exports.OngoingEvaluationRoundStatus = exports.$Enums.OngoingEvaluationRoundStat
1377
2207
  EVALUATED: 'EVALUATED'
1378
2208
  };
1379
2209
 
2210
+ exports.OpenJobClosureType = exports.$Enums.OpenJobClosureType = {
2211
+ FILLED: 'FILLED',
2212
+ CANCELLED: 'CANCELLED'
2213
+ };
2214
+
1380
2215
  exports.OrganisationSize = exports.$Enums.OrganisationSize = {
1381
2216
  ONE_TO_TEN: 'ONE_TO_TEN',
1382
2217
  ELEVEN_TO_FIFTY: 'ELEVEN_TO_FIFTY',
@@ -1420,14 +2255,21 @@ exports.Prisma.ModelName = {
1420
2255
  CandidateQuestionResponse: 'CandidateQuestionResponse',
1421
2256
  UserRole: 'UserRole',
1422
2257
  Action: 'Action',
2258
+ ActivityEvent: 'ActivityEvent',
1423
2259
  ActivityLog: 'ActivityLog',
2260
+ ApplicationAnalytics: 'ApplicationAnalytics',
2261
+ ApplicationAnalyticsDaily: 'ApplicationAnalyticsDaily',
1424
2262
  Application: 'Application',
1425
2263
  Approval: 'Approval',
1426
2264
  Assessment: 'Assessment',
1427
2265
  AssessmentLibrary: 'AssessmentLibrary',
1428
2266
  AssessmentQuestion: 'AssessmentQuestion',
2267
+ AssessmentRoundAnalytics: 'AssessmentRoundAnalytics',
2268
+ AssessmentRoundAnalyticsDaily: 'AssessmentRoundAnalyticsDaily',
1429
2269
  Assignment: 'Assignment',
1430
2270
  AssignmentLibrary: 'AssignmentLibrary',
2271
+ AssignmentRoundAnalytics: 'AssignmentRoundAnalytics',
2272
+ AssignmentRoundAnalyticsDaily: 'AssignmentRoundAnalyticsDaily',
1431
2273
  AuthModule: 'AuthModule',
1432
2274
  Budget: 'Budget',
1433
2275
  Calendly: 'Calendly',
@@ -1446,24 +2288,43 @@ exports.Prisma.ModelName = {
1446
2288
  ZohoSyncMapping: 'ZohoSyncMapping',
1447
2289
  Interview: 'Interview',
1448
2290
  InterviewNotes: 'InterviewNotes',
2291
+ InterviewRoundAnalytics: 'InterviewRoundAnalytics',
2292
+ InterviewRoundAnalyticsDaily: 'InterviewRoundAnalyticsDaily',
2293
+ InterviewerOrganisationAnalytics: 'InterviewerOrganisationAnalytics',
2294
+ InterviewerJobAnalytics: 'InterviewerJobAnalytics',
2295
+ InterviewerOrganisationAnalyticsDaily: 'InterviewerOrganisationAnalyticsDaily',
2296
+ InterviewerJobAnalyticsDaily: 'InterviewerJobAnalyticsDaily',
1449
2297
  JobApplicationField: 'JobApplicationField',
1450
2298
  JobApplicationResponse: 'JobApplicationResponse',
1451
2299
  JobApplicationTemplate: 'JobApplicationTemplate',
1452
2300
  JobDescription: 'JobDescription',
1453
2301
  JobDescriptionData: 'JobDescriptionData',
1454
2302
  JobProfile: 'JobProfile',
2303
+ JobRoundAnalytics: 'JobRoundAnalytics',
2304
+ JobRoundAnalyticsDaily: 'JobRoundAnalyticsDaily',
1455
2305
  LiveAnalysis: 'LiveAnalysis',
1456
2306
  Message: 'Message',
1457
2307
  Notes: 'Notes',
1458
2308
  OngoingEvaluation: 'OngoingEvaluation',
2309
+ OpenJobAnalytics: 'OpenJobAnalytics',
2310
+ OpenJobAnalyticsDaily: 'OpenJobAnalyticsDaily',
1459
2311
  Organisation: 'Organisation',
1460
2312
  OrganisationConfig: 'OrganisationConfig',
1461
2313
  Permission: 'Permission',
2314
+ PipelineDistributionAnalytics: 'PipelineDistributionAnalytics',
2315
+ PipelineDistributionAnalyticsDaily: 'PipelineDistributionAnalyticsDaily',
1462
2316
  AsyncOperation: 'AsyncOperation',
1463
2317
  Question: 'Question',
1464
2318
  RefreshToken: 'RefreshToken',
2319
+ ReportingOverviewJobAnalytics: 'ReportingOverviewJobAnalytics',
2320
+ ReportingOverviewJobRecruiter: 'ReportingOverviewJobRecruiter',
1465
2321
  Resume: 'Resume',
1466
2322
  ResumeData: 'ResumeData',
2323
+ RoundAnalytics: 'RoundAnalytics',
2324
+ RoundAnalyticsDaily: 'RoundAnalyticsDaily',
2325
+ Source: 'Source',
2326
+ SourceEffectivenessAnalytics: 'SourceEffectivenessAnalytics',
2327
+ SourceEffectivenessAnalyticsDaily: 'SourceEffectivenessAnalyticsDaily',
1467
2328
  Suggestion: 'Suggestion',
1468
2329
  Transcript: 'Transcript',
1469
2330
  User: 'User',