@adaptware/eagles-db 0.1.58 → 0.1.60

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,15 @@ 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',
517
+ interview_preparation: 'interview_preparation',
444
518
  created_at: 'created_at',
445
519
  updated_at: 'updated_at',
446
520
  created_by: 'created_by',
@@ -448,22 +522,6 @@ exports.Prisma.InterviewScalarFieldEnum = {
448
522
  is_active: 'is_active'
449
523
  };
450
524
 
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
525
  exports.Prisma.InterviewNotesScalarFieldEnum = {
468
526
  id: 'id',
469
527
  interview_id: 'interview_id',
@@ -530,6 +588,7 @@ exports.Prisma.OngoingEvaluationScalarFieldEnum = {
530
588
  job_description_id: 'job_description_id',
531
589
  evaluation_plan_id: 'evaluation_plan_id',
532
590
  interview_id: 'interview_id',
591
+ assignment_id: 'assignment_id',
533
592
  status: 'status',
534
593
  state: 'state',
535
594
  round_status: 'round_status',
@@ -572,39 +631,6 @@ exports.Prisma.OrganisationScalarFieldEnum = {
572
631
  logo: 'logo'
573
632
  };
574
633
 
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
634
  exports.Prisma.PermissionScalarFieldEnum = {
609
635
  id: 'id',
610
636
  permissions: 'permissions',
@@ -803,6 +829,12 @@ exports.ActionStatus = exports.$Enums.ActionStatus = {
803
829
  CANCELLED: 'CANCELLED'
804
830
  };
805
831
 
832
+ exports.ActivityActorType = exports.$Enums.ActivityActorType = {
833
+ USER: 'USER',
834
+ AI: 'AI',
835
+ SYSTEM: 'SYSTEM'
836
+ };
837
+
806
838
  exports.ApplicationStatus = exports.$Enums.ApplicationStatus = {
807
839
  PENDING: 'PENDING',
808
840
  IN_PROGRESS: 'IN_PROGRESS',
@@ -834,6 +866,12 @@ exports.AssessmentCategory = exports.$Enums.AssessmentCategory = {
834
866
  ASSIGNMENT: 'ASSIGNMENT'
835
867
  };
836
868
 
869
+ exports.AssignmentStatus = exports.$Enums.AssignmentStatus = {
870
+ AVAILABLE: 'AVAILABLE',
871
+ SCHEDULED: 'SCHEDULED',
872
+ CANCELLED: 'CANCELLED'
873
+ };
874
+
837
875
  exports.JobType = exports.$Enums.JobType = {
838
876
  Full_time: 'Full_time',
839
877
  Part_time: 'Part_time',
@@ -882,11 +920,33 @@ exports.EvaluationPlanType = exports.$Enums.EvaluationPlanType = {
882
920
  DELETED: 'DELETED'
883
921
  };
884
922
 
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'
923
+ exports.IntegrationProvider = exports.$Enums.IntegrationProvider = {
924
+ NAUKRI: 'NAUKRI',
925
+ ZOHO_RECRUIT: 'ZOHO_RECRUIT'
926
+ };
927
+
928
+ exports.IntegrationAuthType = exports.$Enums.IntegrationAuthType = {
929
+ OAUTH2: 'OAUTH2',
930
+ API_KEY: 'API_KEY'
931
+ };
932
+
933
+ exports.SyncDirection = exports.$Enums.SyncDirection = {
934
+ PUSH: 'PUSH',
935
+ PULL: 'PULL',
936
+ BIDIRECTIONAL: 'BIDIRECTIONAL'
937
+ };
938
+
939
+ exports.SyncEntityType = exports.$Enums.SyncEntityType = {
940
+ CANDIDATE: 'CANDIDATE',
941
+ JOB_OPENING: 'JOB_OPENING',
942
+ INTERVIEW: 'INTERVIEW',
943
+ APPLICATION: 'APPLICATION'
944
+ };
945
+
946
+ exports.SyncStatus = exports.$Enums.SyncStatus = {
947
+ SYNCED: 'SYNCED',
948
+ PENDING: 'PENDING',
949
+ FAILED: 'FAILED'
890
950
  };
891
951
 
892
952
  exports.InterviewStatus = exports.$Enums.InterviewStatus = {
@@ -899,15 +959,11 @@ exports.InterviewStatus = exports.$Enums.InterviewStatus = {
899
959
  EVALUATED: 'EVALUATED'
900
960
  };
901
961
 
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'
962
+ exports.InterviewFeedback = exports.$Enums.InterviewFeedback = {
963
+ STRONG_HIRE: 'STRONG_HIRE',
964
+ HIRE: 'HIRE',
965
+ NO_HIRE: 'NO_HIRE',
966
+ STRONG_NO_HIRE: 'STRONG_NO_HIRE'
911
967
  };
912
968
 
913
969
  exports.JobDescriptionStatus = exports.$Enums.JobDescriptionStatus = {
@@ -953,19 +1009,6 @@ exports.OrganisationSize = exports.$Enums.OrganisationSize = {
953
1009
  FIVE_HUNDRED_PLUS: 'FIVE_HUNDRED_PLUS'
954
1010
  };
955
1011
 
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
1012
  exports.AsyncOperationStatus = exports.$Enums.AsyncOperationStatus = {
970
1013
  PENDING: 'PENDING',
971
1014
  IN_PROGRESS: 'IN_PROGRESS',
@@ -997,11 +1040,13 @@ exports.Prisma.ModelName = {
997
1040
  CandidateQuestionResponse: 'CandidateQuestionResponse',
998
1041
  UserRole: 'UserRole',
999
1042
  Action: 'Action',
1043
+ ActivityLog: 'ActivityLog',
1000
1044
  Application: 'Application',
1001
1045
  Approval: 'Approval',
1002
1046
  Assessment: 'Assessment',
1003
1047
  AssessmentLibrary: 'AssessmentLibrary',
1004
1048
  AssessmentQuestion: 'AssessmentQuestion',
1049
+ Assignment: 'Assignment',
1005
1050
  AssignmentLibrary: 'AssignmentLibrary',
1006
1051
  Budget: 'Budget',
1007
1052
  Calendly: 'Calendly',
@@ -1011,17 +1056,16 @@ exports.Prisma.ModelName = {
1011
1056
  Feedback: 'Feedback',
1012
1057
  FitCheck: 'FitCheck',
1013
1058
  Google: 'Google',
1014
- IntermediateFeedback: 'IntermediateFeedback',
1059
+ IntegrationCredential: 'IntegrationCredential',
1060
+ IntegrationJobSync: 'IntegrationJobSync',
1061
+ ZohoSyncMapping: 'ZohoSyncMapping',
1015
1062
  Interview: 'Interview',
1016
- InterviewLibrary: 'InterviewLibrary',
1017
1063
  InterviewNotes: 'InterviewNotes',
1018
1064
  JobDescription: 'JobDescription',
1019
1065
  JobDescriptionData: 'JobDescriptionData',
1020
1066
  Message: 'Message',
1021
1067
  OngoingEvaluation: 'OngoingEvaluation',
1022
1068
  Organisation: 'Organisation',
1023
- OverallFeedback: 'OverallFeedback',
1024
- Panelist: 'Panelist',
1025
1069
  Permission: 'Permission',
1026
1070
  AsyncOperation: 'AsyncOperation',
1027
1071
  Question: 'Question',