@adaptware/eagles-db 0.1.58 → 0.1.59

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.
@@ -163,6 +163,18 @@ exports.Prisma.ActionScalarFieldEnum = {
163
163
  is_active: 'is_active'
164
164
  };
165
165
 
166
+ exports.Prisma.ActivityLogScalarFieldEnum = {
167
+ id: 'id',
168
+ application_id: 'application_id',
169
+ actor_id: 'actor_id',
170
+ actor_type: 'actor_type',
171
+ message: 'message',
172
+ timestamp: 'timestamp',
173
+ metadata: 'metadata',
174
+ created_at: 'created_at',
175
+ is_active: 'is_active'
176
+ };
177
+
166
178
  exports.Prisma.ApplicationScalarFieldEnum = {
167
179
  id: 'id',
168
180
  candidate_id: 'candidate_id',
@@ -197,7 +209,7 @@ exports.Prisma.ApprovalScalarFieldEnum = {
197
209
 
198
210
  exports.Prisma.AssessmentScalarFieldEnum = {
199
211
  id: 'id',
200
- assessment_id: 'assessment_id',
212
+ assessment_library_id: 'assessment_library_id',
201
213
  candidate_id: 'candidate_id',
202
214
  reviewer_id: 'reviewer_id',
203
215
  score: 'score',
@@ -238,6 +250,29 @@ exports.Prisma.AssessmentQuestionScalarFieldEnum = {
238
250
  updated_at: 'updated_at'
239
251
  };
240
252
 
253
+ exports.Prisma.AssignmentScalarFieldEnum = {
254
+ id: 'id',
255
+ candidate_id: 'candidate_id',
256
+ assignment_library_id: 'assignment_library_id',
257
+ reviewer_id: 'reviewer_id',
258
+ application_id: 'application_id',
259
+ job_description_id: 'job_description_id',
260
+ organisation_id: 'organisation_id',
261
+ ongoing_evaluation_id: 'ongoing_evaluation_id',
262
+ overallScore: 'overallScore',
263
+ feedback: 'feedback',
264
+ status: 'status',
265
+ cancel_reason: 'cancel_reason',
266
+ solution_url: 'solution_url',
267
+ scheduled_start_time: 'scheduled_start_time',
268
+ scheduled_end_time: 'scheduled_end_time',
269
+ created_at: 'created_at',
270
+ updated_at: 'updated_at',
271
+ created_by: 'created_by',
272
+ updated_by: 'updated_by',
273
+ is_active: 'is_active'
274
+ };
275
+
241
276
  exports.Prisma.AssignmentLibraryScalarFieldEnum = {
242
277
  id: 'id',
243
278
  deadline: 'deadline',
@@ -364,6 +399,7 @@ exports.Prisma.FeedbackScalarFieldEnum = {
364
399
  exports.Prisma.FitCheckScalarFieldEnum = {
365
400
  id: 'id',
366
401
  organisation_id: 'organisation_id',
402
+ candidate_id: 'candidate_id',
367
403
  resume_id: 'resume_id',
368
404
  job_description_id: 'job_description_id',
369
405
  skills_match: 'skills_match',
@@ -407,33 +443,62 @@ exports.Prisma.GoogleScalarFieldEnum = {
407
443
  is_active: 'is_active'
408
444
  };
409
445
 
410
- exports.Prisma.IntermediateFeedbackScalarFieldEnum = {
446
+ exports.Prisma.IntegrationCredentialScalarFieldEnum = {
411
447
  id: 'id',
412
- interview_id: 'interview_id',
413
- overall_feedback_id: 'overall_feedback_id',
414
- intermediate_feedback: 'intermediate_feedback',
415
- order_no: 'order_no',
448
+ organisation_id: 'organisation_id',
449
+ provider: 'provider',
450
+ auth_type: 'auth_type',
451
+ access_token: 'access_token',
452
+ refresh_token: 'refresh_token',
453
+ token_expires_at: 'token_expires_at',
454
+ api_key: 'api_key',
455
+ api_secret: 'api_secret',
456
+ metadata: 'metadata',
457
+ is_active: 'is_active',
416
458
  created_at: 'created_at',
417
459
  updated_at: 'updated_at',
418
460
  created_by: 'created_by',
419
- updated_by: 'updated_by',
420
- is_active: 'is_active'
461
+ updated_by: 'updated_by'
462
+ };
463
+
464
+ exports.Prisma.IntegrationJobSyncScalarFieldEnum = {
465
+ id: 'id',
466
+ job_description_id: 'job_description_id',
467
+ provider: 'provider',
468
+ external_id: 'external_id',
469
+ sync_enabled: 'sync_enabled',
470
+ last_synced_at: 'last_synced_at',
471
+ sync_direction: 'sync_direction',
472
+ metadata: 'metadata',
473
+ created_at: 'created_at',
474
+ updated_at: 'updated_at'
475
+ };
476
+
477
+ exports.Prisma.ZohoSyncMappingScalarFieldEnum = {
478
+ id: 'id',
479
+ organisation_id: 'organisation_id',
480
+ entity_type: 'entity_type',
481
+ treadspace_id: 'treadspace_id',
482
+ zoho_module: 'zoho_module',
483
+ zoho_record_id: 'zoho_record_id',
484
+ last_synced_at: 'last_synced_at',
485
+ sync_status: 'sync_status',
486
+ error_message: 'error_message',
487
+ created_at: 'created_at',
488
+ updated_at: 'updated_at'
421
489
  };
422
490
 
423
491
  exports.Prisma.InterviewScalarFieldEnum = {
424
492
  id: 'id',
493
+ organisation_id: 'organisation_id',
425
494
  candidate_id: 'candidate_id',
426
495
  interviewer_id: 'interviewer_id',
427
496
  evaluation_plan_id: 'evaluation_plan_id',
428
497
  application_id: 'application_id',
429
498
  resume_id: 'resume_id',
430
499
  job_description_id: 'job_description_id',
431
- organisation_id: 'organisation_id',
432
500
  room_name: 'room_name',
433
501
  interview_summary: 'interview_summary',
434
- ai_interview_feedback: 'ai_interview_feedback',
435
- interview_feedback: 'interview_feedback',
436
- interview_rating: 'interview_rating',
437
502
  scheduled_start_time: 'scheduled_start_time',
438
503
  scheduled_end_time: 'scheduled_end_time',
439
504
  actual_start_time: 'actual_start_time',
@@ -441,6 +506,14 @@ exports.Prisma.InterviewScalarFieldEnum = {
441
506
  recording_url: 'recording_url',
442
507
  interview_status: 'interview_status',
443
508
  google_event_id: 'google_event_id',
509
+ ai_interview_feedback: 'ai_interview_feedback',
510
+ interview_feedback: 'interview_feedback',
511
+ overall_feedback: 'overall_feedback',
512
+ interview_rating: 'interview_rating',
513
+ ai_feedback: 'ai_feedback',
514
+ human_feedback: 'human_feedback',
515
+ interviewer_feedback: 'interviewer_feedback',
516
+ section_feedback: 'section_feedback',
444
517
  created_at: 'created_at',
445
518
  updated_at: 'updated_at',
446
519
  created_by: 'created_by',
@@ -448,22 +521,6 @@ exports.Prisma.InterviewScalarFieldEnum = {
448
521
  is_active: 'is_active'
449
522
  };
450
523
 
451
- exports.Prisma.InterviewLibraryScalarFieldEnum = {
452
- id: 'id',
453
- title: 'title',
454
- description: 'description',
455
- organisation_id: 'organisation_id',
456
- category: 'category',
457
- evaluation_type: 'evaluation_type',
458
- duration: 'duration',
459
- passing_marks: 'passing_marks',
460
- is_active: 'is_active',
461
- created_by: 'created_by',
462
- updated_by: 'updated_by',
463
- created_at: 'created_at',
464
- updated_at: 'updated_at'
465
- };
466
-
467
524
  exports.Prisma.InterviewNotesScalarFieldEnum = {
468
525
  id: 'id',
469
526
  interview_id: 'interview_id',
@@ -530,6 +587,7 @@ exports.Prisma.OngoingEvaluationScalarFieldEnum = {
530
587
  job_description_id: 'job_description_id',
531
588
  evaluation_plan_id: 'evaluation_plan_id',
532
589
  interview_id: 'interview_id',
590
+ assignment_id: 'assignment_id',
533
591
  status: 'status',
534
592
  state: 'state',
535
593
  round_status: 'round_status',
@@ -572,39 +630,6 @@ exports.Prisma.OrganisationScalarFieldEnum = {
572
630
  logo: 'logo'
573
631
  };
574
632
 
575
- exports.Prisma.OverallFeedbackScalarFieldEnum = {
576
- id: 'id',
577
- interview_id: 'interview_id',
578
- interviewer_id: 'interviewer_id',
579
- feedback_type: 'feedback_type',
580
- overall_score: 'overall_score',
581
- overall_recommendation: 'overall_recommendation',
582
- overall_feedback: 'overall_feedback',
583
- created_at: 'created_at',
584
- updated_at: 'updated_at',
585
- created_by: 'created_by',
586
- updated_by: 'updated_by',
587
- is_active: 'is_active'
588
- };
589
-
590
- exports.Prisma.PanelistScalarFieldEnum = {
591
- id: 'id',
592
- name: 'name',
593
- designation: 'designation',
594
- experience: 'experience',
595
- expertise: 'expertise',
596
- suited_interview: 'suited_interview',
597
- industry: 'industry',
598
- special_areas: 'special_areas',
599
- organisation_id: 'organisation_id',
600
- user_id: 'user_id',
601
- created_at: 'created_at',
602
- updated_at: 'updated_at',
603
- created_by: 'created_by',
604
- updated_by: 'updated_by',
605
- is_active: 'is_active'
606
- };
607
-
608
633
  exports.Prisma.PermissionScalarFieldEnum = {
609
634
  id: 'id',
610
635
  permissions: 'permissions',
@@ -803,6 +828,12 @@ exports.ActionStatus = exports.$Enums.ActionStatus = {
803
828
  CANCELLED: 'CANCELLED'
804
829
  };
805
830
 
831
+ exports.ActivityActorType = exports.$Enums.ActivityActorType = {
832
+ USER: 'USER',
833
+ AI: 'AI',
834
+ SYSTEM: 'SYSTEM'
835
+ };
836
+
806
837
  exports.ApplicationStatus = exports.$Enums.ApplicationStatus = {
807
838
  PENDING: 'PENDING',
808
839
  IN_PROGRESS: 'IN_PROGRESS',
@@ -834,6 +865,12 @@ exports.AssessmentCategory = exports.$Enums.AssessmentCategory = {
834
865
  ASSIGNMENT: 'ASSIGNMENT'
835
866
  };
836
867
 
868
+ exports.AssignmentStatus = exports.$Enums.AssignmentStatus = {
869
+ AVAILABLE: 'AVAILABLE',
870
+ SCHEDULED: 'SCHEDULED',
871
+ CANCELLED: 'CANCELLED'
872
+ };
873
+
837
874
  exports.JobType = exports.$Enums.JobType = {
838
875
  Full_time: 'Full_time',
839
876
  Part_time: 'Part_time',
@@ -882,11 +919,33 @@ exports.EvaluationPlanType = exports.$Enums.EvaluationPlanType = {
882
919
  DELETED: 'DELETED'
883
920
  };
884
921
 
885
- exports.InterviewFeedback = exports.$Enums.InterviewFeedback = {
886
- STRONG_HIRE: 'STRONG_HIRE',
887
- HIRE: 'HIRE',
888
- NO_HIRE: 'NO_HIRE',
889
- STRONG_NO_HIRE: 'STRONG_NO_HIRE'
922
+ exports.IntegrationProvider = exports.$Enums.IntegrationProvider = {
923
+ NAUKRI: 'NAUKRI',
924
+ ZOHO_RECRUIT: 'ZOHO_RECRUIT'
925
+ };
926
+
927
+ exports.IntegrationAuthType = exports.$Enums.IntegrationAuthType = {
928
+ OAUTH2: 'OAUTH2',
929
+ API_KEY: 'API_KEY'
930
+ };
931
+
932
+ exports.SyncDirection = exports.$Enums.SyncDirection = {
933
+ PUSH: 'PUSH',
934
+ PULL: 'PULL',
935
+ BIDIRECTIONAL: 'BIDIRECTIONAL'
936
+ };
937
+
938
+ exports.SyncEntityType = exports.$Enums.SyncEntityType = {
939
+ CANDIDATE: 'CANDIDATE',
940
+ JOB_OPENING: 'JOB_OPENING',
941
+ INTERVIEW: 'INTERVIEW',
942
+ APPLICATION: 'APPLICATION'
943
+ };
944
+
945
+ exports.SyncStatus = exports.$Enums.SyncStatus = {
946
+ SYNCED: 'SYNCED',
947
+ PENDING: 'PENDING',
948
+ FAILED: 'FAILED'
890
949
  };
891
950
 
892
951
  exports.InterviewStatus = exports.$Enums.InterviewStatus = {
@@ -899,15 +958,11 @@ exports.InterviewStatus = exports.$Enums.InterviewStatus = {
899
958
  EVALUATED: 'EVALUATED'
900
959
  };
901
960
 
902
- exports.InterviewCategory = exports.$Enums.InterviewCategory = {
903
- SCREENING: 'SCREENING',
904
- TECHNICAL: 'TECHNICAL',
905
- BEHAVIORAL: 'BEHAVIORAL',
906
- CASE_STUDY: 'CASE_STUDY',
907
- MANAGERIAL: 'MANAGERIAL',
908
- CULTURAL_FIT: 'CULTURAL_FIT',
909
- FINAL_DISCUSSION: 'FINAL_DISCUSSION',
910
- GENERAL: 'GENERAL'
961
+ exports.InterviewFeedback = exports.$Enums.InterviewFeedback = {
962
+ STRONG_HIRE: 'STRONG_HIRE',
963
+ HIRE: 'HIRE',
964
+ NO_HIRE: 'NO_HIRE',
965
+ STRONG_NO_HIRE: 'STRONG_NO_HIRE'
911
966
  };
912
967
 
913
968
  exports.JobDescriptionStatus = exports.$Enums.JobDescriptionStatus = {
@@ -953,19 +1008,6 @@ exports.OrganisationSize = exports.$Enums.OrganisationSize = {
953
1008
  FIVE_HUNDRED_PLUS: 'FIVE_HUNDRED_PLUS'
954
1009
  };
955
1010
 
956
- exports.FeedbackType = exports.$Enums.FeedbackType = {
957
- HUMAN: 'HUMAN',
958
- AI: 'AI'
959
- };
960
-
961
- exports.OverallRecommendation = exports.$Enums.OverallRecommendation = {
962
- StrongHire: 'StrongHire',
963
- Hire: 'Hire',
964
- LeaningHire: 'LeaningHire',
965
- NoHire: 'NoHire',
966
- StrongNoHire: 'StrongNoHire'
967
- };
968
-
969
1011
  exports.AsyncOperationStatus = exports.$Enums.AsyncOperationStatus = {
970
1012
  PENDING: 'PENDING',
971
1013
  IN_PROGRESS: 'IN_PROGRESS',
@@ -997,11 +1039,13 @@ exports.Prisma.ModelName = {
997
1039
  CandidateQuestionResponse: 'CandidateQuestionResponse',
998
1040
  UserRole: 'UserRole',
999
1041
  Action: 'Action',
1042
+ ActivityLog: 'ActivityLog',
1000
1043
  Application: 'Application',
1001
1044
  Approval: 'Approval',
1002
1045
  Assessment: 'Assessment',
1003
1046
  AssessmentLibrary: 'AssessmentLibrary',
1004
1047
  AssessmentQuestion: 'AssessmentQuestion',
1048
+ Assignment: 'Assignment',
1005
1049
  AssignmentLibrary: 'AssignmentLibrary',
1006
1050
  Budget: 'Budget',
1007
1051
  Calendly: 'Calendly',
@@ -1011,17 +1055,16 @@ exports.Prisma.ModelName = {
1011
1055
  Feedback: 'Feedback',
1012
1056
  FitCheck: 'FitCheck',
1013
1057
  Google: 'Google',
1014
- IntermediateFeedback: 'IntermediateFeedback',
1058
+ IntegrationCredential: 'IntegrationCredential',
1059
+ IntegrationJobSync: 'IntegrationJobSync',
1060
+ ZohoSyncMapping: 'ZohoSyncMapping',
1015
1061
  Interview: 'Interview',
1016
- InterviewLibrary: 'InterviewLibrary',
1017
1062
  InterviewNotes: 'InterviewNotes',
1018
1063
  JobDescription: 'JobDescription',
1019
1064
  JobDescriptionData: 'JobDescriptionData',
1020
1065
  Message: 'Message',
1021
1066
  OngoingEvaluation: 'OngoingEvaluation',
1022
1067
  Organisation: 'Organisation',
1023
- OverallFeedback: 'OverallFeedback',
1024
- Panelist: 'Panelist',
1025
1068
  Permission: 'Permission',
1026
1069
  AsyncOperation: 'AsyncOperation',
1027
1070
  Question: 'Question',