@adaptware/eagles-db 0.1.54 → 0.1.56
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.
- package/client/edge.js +105 -35
- package/client/index-browser.js +104 -34
- package/client/index.d.ts +26233 -19102
- package/client/index.js +107 -37
- package/client/{libquery_engine-darwin-arm64.dylib.node → libquery_engine-darwin.dylib.node} +0 -0
- package/client/package.json +1 -1
- package/client/schema.prisma +174 -81
- package/client/wasm.js +104 -34
- package/package.json +1 -1
- package/prisma/schema/applications.prisma +1 -0
- package/prisma/schema/assessment.prisma +23 -22
- package/prisma/schema/assignment.prisma +41 -0
- package/prisma/schema/assignmentLibrary.prisma +1 -0
- package/prisma/schema/jobDescription.prisma +1 -0
- package/prisma/schema/ongoingEvaluation.prisma +2 -0
- package/prisma/schema/organisation.prisma +1 -0
- package/prisma/schema/user.prisma +2 -0
- package/prisma/.DS_Store +0 -0
package/client/{libquery_engine-darwin-arm64.dylib.node → libquery_engine-darwin.dylib.node}
RENAMED
|
Binary file
|
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -77,29 +77,6 @@ model Action {
|
|
|
77
77
|
@@index([due_date])
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
enum ActivityActorType {
|
|
81
|
-
USER
|
|
82
|
-
AI
|
|
83
|
-
SYSTEM
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
model ActivityLog {
|
|
87
|
-
id String @id @default(uuid())
|
|
88
|
-
application_id String
|
|
89
|
-
actor_id String?
|
|
90
|
-
actor_type ActivityActorType @default(USER)
|
|
91
|
-
message String
|
|
92
|
-
timestamp DateTime @default(now())
|
|
93
|
-
metadata Json?
|
|
94
|
-
created_at DateTime @default(now())
|
|
95
|
-
is_active Boolean @default(true)
|
|
96
|
-
// Relations
|
|
97
|
-
actor User? @relation("ActorActivityLogs", fields: [actor_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
98
|
-
application Application @relation(fields: [application_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
99
|
-
|
|
100
|
-
@@index([application_id])
|
|
101
|
-
}
|
|
102
|
-
|
|
103
80
|
// PENDING could be understood as unscreened
|
|
104
81
|
enum ApplicationStatus {
|
|
105
82
|
PENDING
|
|
@@ -109,19 +86,20 @@ enum ApplicationStatus {
|
|
|
109
86
|
}
|
|
110
87
|
|
|
111
88
|
model Application {
|
|
112
|
-
id
|
|
113
|
-
candidate_id
|
|
114
|
-
resume_id
|
|
115
|
-
organisation_id
|
|
116
|
-
job_description_id
|
|
117
|
-
status
|
|
118
|
-
fit_check_score
|
|
119
|
-
fit_check_status
|
|
120
|
-
applied_at
|
|
121
|
-
evaluation_plan_id
|
|
122
|
-
evaluation_plan
|
|
123
|
-
fit_check_id
|
|
124
|
-
round_no
|
|
89
|
+
id String @id @default(uuid())
|
|
90
|
+
candidate_id String
|
|
91
|
+
resume_id String
|
|
92
|
+
organisation_id String
|
|
93
|
+
job_description_id String
|
|
94
|
+
status ApplicationStatus @default(PENDING)
|
|
95
|
+
fit_check_score Float?
|
|
96
|
+
fit_check_status FitCheckStatus?
|
|
97
|
+
applied_at DateTime @default(now())
|
|
98
|
+
evaluation_plan_id String?
|
|
99
|
+
evaluation_plan EvaluationPlan? @relation(fields: [evaluation_plan_id], references: [id])
|
|
100
|
+
fit_check_id String? @unique
|
|
101
|
+
round_no Int @default(0)
|
|
102
|
+
|
|
125
103
|
// Relations
|
|
126
104
|
candidate User @relation(fields: [candidate_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
127
105
|
organisation Organisation @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
@@ -130,17 +108,18 @@ model Application {
|
|
|
130
108
|
fit_check FitCheck? @relation(fields: [fit_check_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
131
109
|
interviews Interview[]
|
|
132
110
|
ongoing_evaluations OngoingEvaluation[]
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
is_active Boolean @default(true)
|
|
111
|
+
|
|
112
|
+
created_at DateTime @default(now())
|
|
113
|
+
updated_at DateTime @updatedAt
|
|
114
|
+
created_by String
|
|
115
|
+
updated_by String
|
|
116
|
+
is_active Boolean @default(true)
|
|
140
117
|
|
|
141
118
|
@@unique([candidate_id, job_description_id]) // Ensures candidate applies only once per job
|
|
142
119
|
@@index([candidate_id])
|
|
143
120
|
@@index([job_description_id])
|
|
121
|
+
@@index([organisation_id])
|
|
122
|
+
@@index([resume_id])
|
|
144
123
|
}
|
|
145
124
|
|
|
146
125
|
model Approval {
|
|
@@ -189,6 +168,8 @@ model Assessment {
|
|
|
189
168
|
reviewer User? @relation("ReviewerAssessments", fields: [reviewer_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
190
169
|
questions AssessmentQuestion[] @relation("AssessmentToAssessmentQuestion")
|
|
191
170
|
candidateResponse CandidateQuestionResponse[]
|
|
171
|
+
Panelist Panelist? @relation(fields: [panelistId], references: [id])
|
|
172
|
+
panelistId String?
|
|
192
173
|
User User? @relation(fields: [userId], references: [id])
|
|
193
174
|
userId String?
|
|
194
175
|
|
|
@@ -228,6 +209,7 @@ model AssessmentLibrary {
|
|
|
228
209
|
evaluation_Plans EvaluationPlan[]
|
|
229
210
|
|
|
230
211
|
@@index([organisation_id])
|
|
212
|
+
@@index([created_at])
|
|
231
213
|
}
|
|
232
214
|
|
|
233
215
|
/**
|
|
@@ -266,6 +248,7 @@ model AssignmentLibrary {
|
|
|
266
248
|
evaluationPlan EvaluationPlan[]
|
|
267
249
|
|
|
268
250
|
@@index([job_description_id])
|
|
251
|
+
@@index([created_at])
|
|
269
252
|
}
|
|
270
253
|
|
|
271
254
|
enum JobType {
|
|
@@ -440,6 +423,7 @@ model EvaluationPlan {
|
|
|
440
423
|
// Relations
|
|
441
424
|
jobDescription JobDescription @relation(fields: [job_description_id], references: [id], onDelete: Cascade)
|
|
442
425
|
questions Question[] // One evaluation plan → many questions
|
|
426
|
+
panelists Panelist[]
|
|
443
427
|
interviews Interview[]
|
|
444
428
|
applications Application[]
|
|
445
429
|
// New optional one-to-one relation with AssessmentLibrary
|
|
@@ -481,7 +465,6 @@ model FitCheck {
|
|
|
481
465
|
id String @id @default(uuid())
|
|
482
466
|
/// FK to organisations table
|
|
483
467
|
organisation_id String?
|
|
484
|
-
candidate_id String?
|
|
485
468
|
resume_id String
|
|
486
469
|
job_description_id String
|
|
487
470
|
|
|
@@ -519,7 +502,6 @@ model FitCheck {
|
|
|
519
502
|
updated_at DateTime @updatedAt
|
|
520
503
|
/// Relations
|
|
521
504
|
organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
522
|
-
candidate User? @relation(fields: [candidate_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
523
505
|
resume Resume @relation(fields: [resume_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
524
506
|
job_description JobDescription @relation(fields: [job_description_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
525
507
|
application Application?
|
|
@@ -546,6 +528,25 @@ model Google {
|
|
|
546
528
|
is_active Boolean @default(true)
|
|
547
529
|
}
|
|
548
530
|
|
|
531
|
+
model IntermediateFeedback {
|
|
532
|
+
id String @id @default(uuid())
|
|
533
|
+
interview_id String
|
|
534
|
+
overall_feedback_id String?
|
|
535
|
+
intermediate_feedback Json
|
|
536
|
+
order_no Int @default(autoincrement())
|
|
537
|
+
created_at DateTime @default(now())
|
|
538
|
+
updated_at DateTime @updatedAt
|
|
539
|
+
created_by String
|
|
540
|
+
updated_by String
|
|
541
|
+
is_active Boolean @default(true)
|
|
542
|
+
// Relations
|
|
543
|
+
interview Interview @relation(fields: [interview_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
544
|
+
OverallFeedback OverallFeedback? @relation(fields: [overall_feedback_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
545
|
+
transcripts Transcript[]
|
|
546
|
+
|
|
547
|
+
@@index([interview_id])
|
|
548
|
+
}
|
|
549
|
+
|
|
549
550
|
enum InterviewStatus {
|
|
550
551
|
INTERVIEW_REQUESTED
|
|
551
552
|
SCHEDULED
|
|
@@ -564,61 +565,88 @@ enum InterviewFeedback {
|
|
|
564
565
|
}
|
|
565
566
|
|
|
566
567
|
model Interview {
|
|
567
|
-
id String
|
|
568
|
-
/// Foreign keys
|
|
569
|
-
organisation_id String
|
|
568
|
+
id String @id @default(uuid())
|
|
570
569
|
candidate_id String
|
|
571
570
|
interviewer_id String?
|
|
572
571
|
evaluation_plan_id String
|
|
573
572
|
application_id String?
|
|
574
573
|
resume_id String
|
|
575
574
|
job_description_id String
|
|
576
|
-
|
|
575
|
+
organisation_id String
|
|
577
576
|
room_name String?
|
|
578
577
|
interview_summary String[]
|
|
578
|
+
ai_interview_feedback InterviewFeedback?
|
|
579
|
+
interview_feedback InterviewFeedback?
|
|
580
|
+
interview_rating Float? // Overall rating out of 100 based on evaluation
|
|
579
581
|
scheduled_start_time DateTime?
|
|
580
582
|
scheduled_end_time DateTime?
|
|
581
583
|
actual_start_time DateTime?
|
|
582
584
|
actual_end_time DateTime?
|
|
583
585
|
recording_url String?
|
|
584
|
-
interview_status InterviewStatus
|
|
586
|
+
interview_status InterviewStatus @default(SCHEDULED)
|
|
585
587
|
google_event_id String?
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
interview_feedback InterviewFeedback?
|
|
589
|
-
overall_feedback String?
|
|
590
|
-
interview_rating Float? // Overall rating out of 100 based on evaluation
|
|
591
|
-
/// New Feedback fields
|
|
592
|
-
ai_feedback Json?
|
|
593
|
-
human_feedback Json?
|
|
594
|
-
interviewer_feedback Json?
|
|
595
|
-
section_feedback Json[]
|
|
596
|
-
/// Audit fields
|
|
597
|
-
created_at DateTime @default(now())
|
|
598
|
-
updated_at DateTime @updatedAt
|
|
588
|
+
created_at DateTime @default(now())
|
|
589
|
+
updated_at DateTime @updatedAt
|
|
599
590
|
created_by String
|
|
600
591
|
updated_by String
|
|
601
|
-
is_active Boolean
|
|
592
|
+
is_active Boolean @default(true)
|
|
602
593
|
// Relations
|
|
603
|
-
candidate User?
|
|
604
|
-
interviewer User?
|
|
605
|
-
organisation Organisation
|
|
606
|
-
job_description JobDescription
|
|
607
|
-
resume Resume
|
|
608
|
-
evaluation_plan EvaluationPlan?
|
|
609
|
-
application Application?
|
|
594
|
+
candidate User? @relation("CandidateInterviews", fields: [candidate_id], references: [id], onDelete: SetNull)
|
|
595
|
+
interviewer User? @relation("InterviewerInterviews", fields: [interviewer_id], references: [id], onDelete: SetNull)
|
|
596
|
+
organisation Organisation @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
597
|
+
job_description JobDescription @relation(fields: [job_description_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
598
|
+
resume Resume @relation(fields: [resume_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
599
|
+
evaluation_plan EvaluationPlan? @relation(fields: [evaluation_plan_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
600
|
+
application Application? @relation(fields: [application_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
610
601
|
ongoing_evaluation OngoingEvaluation?
|
|
602
|
+
intermediateFeedbacks IntermediateFeedback[]
|
|
611
603
|
transcripts Transcript[]
|
|
612
604
|
suggestions Suggestion[]
|
|
605
|
+
overallFeedback OverallFeedback[]
|
|
613
606
|
feedback Feedback[]
|
|
614
607
|
interviewNotes InterviewNotes[]
|
|
615
608
|
|
|
616
609
|
@@unique([interviewer_id, candidate_id, evaluation_plan_id])
|
|
610
|
+
@@index([application_id])
|
|
617
611
|
@@index([candidate_id])
|
|
618
612
|
@@index([interviewer_id])
|
|
619
613
|
@@index([job_description_id])
|
|
620
614
|
}
|
|
621
615
|
|
|
616
|
+
/// Defines the category or purpose of the interview, suitable for any job role.
|
|
617
|
+
enum InterviewCategory {
|
|
618
|
+
SCREENING // Initial screening interview
|
|
619
|
+
TECHNICAL // Skill or role-specific interview
|
|
620
|
+
BEHAVIORAL // Behavioral or situational round
|
|
621
|
+
CASE_STUDY // Case-based or analytical round
|
|
622
|
+
MANAGERIAL // Leadership or management-focused
|
|
623
|
+
CULTURAL_FIT // Checks alignment with company culture
|
|
624
|
+
FINAL_DISCUSSION // Final HR or offer discussion
|
|
625
|
+
GENERAL // Generic or flexible-purpose interview
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
/// Represents a reusable interview template applicable to any job type.
|
|
629
|
+
model InterviewLibrary {
|
|
630
|
+
id String @id @default(uuid())
|
|
631
|
+
title String
|
|
632
|
+
description String
|
|
633
|
+
organisation_id String
|
|
634
|
+
category InterviewCategory
|
|
635
|
+
evaluation_type EvaluationType
|
|
636
|
+
duration Float
|
|
637
|
+
passing_marks Float
|
|
638
|
+
is_active Boolean @default(true)
|
|
639
|
+
created_by String
|
|
640
|
+
updated_by String
|
|
641
|
+
created_at DateTime @default(now())
|
|
642
|
+
updated_at DateTime @updatedAt
|
|
643
|
+
organisation Organisation @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
644
|
+
|
|
645
|
+
@@index([organisation_id])
|
|
646
|
+
@@index([category])
|
|
647
|
+
@@index([created_at])
|
|
648
|
+
}
|
|
649
|
+
|
|
622
650
|
model InterviewNotes {
|
|
623
651
|
id String @id @default(uuid())
|
|
624
652
|
interview_id String
|
|
@@ -697,6 +725,7 @@ model JobDescriptionData {
|
|
|
697
725
|
jobDescription JobDescription @relation(fields: [job_description_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
698
726
|
|
|
699
727
|
@@unique([job_description_id, key])
|
|
728
|
+
@@index([created_at])
|
|
700
729
|
}
|
|
701
730
|
|
|
702
731
|
model Message {
|
|
@@ -819,9 +848,11 @@ model Organisation {
|
|
|
819
848
|
job_descriptions JobDescription[]
|
|
820
849
|
assessment_library AssessmentLibrary[]
|
|
821
850
|
assignment_library AssignmentLibrary[]
|
|
851
|
+
interview_library InterviewLibrary[]
|
|
822
852
|
interviews Interview[]
|
|
823
853
|
fit_check FitCheck[] // one-to-many link
|
|
824
854
|
resumes Resume[] // one-to-many link
|
|
855
|
+
panelists Panelist[] // one-to-many link
|
|
825
856
|
approvals Approval[] // one-to-many link
|
|
826
857
|
suggestions Suggestion[]
|
|
827
858
|
ongoing_evaluations OngoingEvaluation[] // optional one-to-many
|
|
@@ -830,6 +861,67 @@ model Organisation {
|
|
|
830
861
|
@@index([name])
|
|
831
862
|
}
|
|
832
863
|
|
|
864
|
+
enum FeedbackType {
|
|
865
|
+
HUMAN
|
|
866
|
+
AI
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
enum OverallRecommendation {
|
|
870
|
+
StrongHire
|
|
871
|
+
Hire
|
|
872
|
+
LeaningHire
|
|
873
|
+
NoHire
|
|
874
|
+
StrongNoHire
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
model OverallFeedback {
|
|
878
|
+
id String @id @default(uuid())
|
|
879
|
+
interview_id String
|
|
880
|
+
interviewer_id String? // 👈 optional field
|
|
881
|
+
feedback_type FeedbackType
|
|
882
|
+
overall_score Float
|
|
883
|
+
overall_recommendation OverallRecommendation
|
|
884
|
+
overall_feedback Json
|
|
885
|
+
created_at DateTime @default(now())
|
|
886
|
+
updated_at DateTime @updatedAt
|
|
887
|
+
created_by String
|
|
888
|
+
updated_by String
|
|
889
|
+
is_active Boolean @default(true)
|
|
890
|
+
// Relations
|
|
891
|
+
interview Interview @relation(fields: [interview_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
892
|
+
interviewer Panelist? @relation(fields: [interviewer_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
893
|
+
intermediateFeedbacks IntermediateFeedback[] // 👈 one-to-many relation added here
|
|
894
|
+
|
|
895
|
+
@@unique([interview_id, interviewer_id]) // 👈 updated uniqueness logic
|
|
896
|
+
@@index([interview_id])
|
|
897
|
+
@@index([interviewer_id])
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
model Panelist {
|
|
901
|
+
id String @id @default(uuid())
|
|
902
|
+
name String
|
|
903
|
+
designation String
|
|
904
|
+
experience String // e.g. "10+", keeping as String for flexibility
|
|
905
|
+
expertise String // e.g. "Product Strategy, Figma..."
|
|
906
|
+
suited_interview String // e.g. "Consulting, Customer understanding..."
|
|
907
|
+
industry String // e.g. "Healthcare, Fintech"
|
|
908
|
+
special_areas String? // Optional field
|
|
909
|
+
organisation_id String
|
|
910
|
+
user_id String @unique
|
|
911
|
+
|
|
912
|
+
user User @relation(fields: [user_id], references: [id])
|
|
913
|
+
organisation Organisation @relation(fields: [organisation_id], references: [id])
|
|
914
|
+
evaluationPlans EvaluationPlan[]
|
|
915
|
+
overallFeedbacks OverallFeedback[]
|
|
916
|
+
created_at DateTime @default(now())
|
|
917
|
+
updated_at DateTime @updatedAt
|
|
918
|
+
created_by String
|
|
919
|
+
updated_by String
|
|
920
|
+
is_active Boolean @default(true)
|
|
921
|
+
|
|
922
|
+
assessments Assessment[]
|
|
923
|
+
}
|
|
924
|
+
|
|
833
925
|
model Permission {
|
|
834
926
|
id String @id @default(uuid())
|
|
835
927
|
permissions String[] @default([])
|
|
@@ -1001,10 +1093,11 @@ model Suggestion {
|
|
|
1001
1093
|
organisation Organisation @relation(fields: [organisation_id], references: [id], onDelete: Cascade)
|
|
1002
1094
|
|
|
1003
1095
|
@@index([interview_id])
|
|
1096
|
+
@@index([transcript_id])
|
|
1004
1097
|
}
|
|
1005
1098
|
|
|
1006
1099
|
model Transcript {
|
|
1007
|
-
id String
|
|
1100
|
+
id String @id @default(uuid())
|
|
1008
1101
|
interview_id String?
|
|
1009
1102
|
suggestion_id String?
|
|
1010
1103
|
intermediate_feedback_id String?
|
|
@@ -1013,16 +1106,17 @@ model Transcript {
|
|
|
1013
1106
|
candidate_timestamp DateTime?
|
|
1014
1107
|
interviewer String
|
|
1015
1108
|
candidate String
|
|
1016
|
-
order_no Int
|
|
1017
|
-
created_at DateTime
|
|
1018
|
-
updated_at DateTime
|
|
1109
|
+
order_no Int @default(autoincrement())
|
|
1110
|
+
created_at DateTime @default(now())
|
|
1111
|
+
updated_at DateTime @updatedAt
|
|
1019
1112
|
created_by String
|
|
1020
1113
|
updated_by String
|
|
1021
|
-
is_active Boolean
|
|
1114
|
+
is_active Boolean @default(true)
|
|
1022
1115
|
// Relations
|
|
1023
|
-
interview Interview?
|
|
1024
|
-
suggestion Suggestion?
|
|
1025
|
-
|
|
1116
|
+
interview Interview? @relation(fields: [interview_id], references: [id], onDelete: SetNull, onUpdate: SetNull)
|
|
1117
|
+
suggestion Suggestion? @relation(fields: [suggestion_id], references: [id], onDelete: SetNull)
|
|
1118
|
+
intermediate_feedback IntermediateFeedback? @relation(fields: [intermediate_feedback_id], references: [id], onDelete: SetNull)
|
|
1119
|
+
job_description JobDescription? @relation(fields: [job_description_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
1026
1120
|
|
|
1027
1121
|
@@unique([interview_id, order_no])
|
|
1028
1122
|
@@index([interview_id])
|
|
@@ -1060,6 +1154,7 @@ model User {
|
|
|
1060
1154
|
job_description JobDescription[]
|
|
1061
1155
|
hiring_manager_job_descriptions JobDescription[] @relation("HiringManager")
|
|
1062
1156
|
approvals Approval[]
|
|
1157
|
+
panelist Panelist?
|
|
1063
1158
|
sent_messages Message[] @relation("Sent Messages")
|
|
1064
1159
|
received_messages Message[] @relation("Received Messages")
|
|
1065
1160
|
profile_created Boolean
|
|
@@ -1073,11 +1168,9 @@ model User {
|
|
|
1073
1168
|
candidateResponses CandidateQuestionResponse[]
|
|
1074
1169
|
questions Question[]
|
|
1075
1170
|
ongoing_evaluations OngoingEvaluation[] // optional one-to-many
|
|
1076
|
-
actor_activity_logs ActivityLog[] @relation("ActorActivityLogs")
|
|
1077
1171
|
actions Action[]
|
|
1078
1172
|
calendly Calendly?
|
|
1079
1173
|
google Google?
|
|
1080
|
-
fitChecks FitCheck[]
|
|
1081
1174
|
|
|
1082
1175
|
name String?
|
|
1083
1176
|
phone String?
|
package/client/wasm.js
CHANGED
|
@@ -163,18 +163,6 @@ 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
|
-
|
|
178
166
|
exports.Prisma.ApplicationScalarFieldEnum = {
|
|
179
167
|
id: 'id',
|
|
180
168
|
candidate_id: 'candidate_id',
|
|
@@ -221,6 +209,7 @@ exports.Prisma.AssessmentScalarFieldEnum = {
|
|
|
221
209
|
created_by: 'created_by',
|
|
222
210
|
updated_by: 'updated_by',
|
|
223
211
|
is_active: 'is_active',
|
|
212
|
+
panelistId: 'panelistId',
|
|
224
213
|
userId: 'userId'
|
|
225
214
|
};
|
|
226
215
|
|
|
@@ -375,7 +364,6 @@ exports.Prisma.FeedbackScalarFieldEnum = {
|
|
|
375
364
|
exports.Prisma.FitCheckScalarFieldEnum = {
|
|
376
365
|
id: 'id',
|
|
377
366
|
organisation_id: 'organisation_id',
|
|
378
|
-
candidate_id: 'candidate_id',
|
|
379
367
|
resume_id: 'resume_id',
|
|
380
368
|
job_description_id: 'job_description_id',
|
|
381
369
|
skills_match: 'skills_match',
|
|
@@ -419,17 +407,33 @@ exports.Prisma.GoogleScalarFieldEnum = {
|
|
|
419
407
|
is_active: 'is_active'
|
|
420
408
|
};
|
|
421
409
|
|
|
410
|
+
exports.Prisma.IntermediateFeedbackScalarFieldEnum = {
|
|
411
|
+
id: 'id',
|
|
412
|
+
interview_id: 'interview_id',
|
|
413
|
+
overall_feedback_id: 'overall_feedback_id',
|
|
414
|
+
intermediate_feedback: 'intermediate_feedback',
|
|
415
|
+
order_no: 'order_no',
|
|
416
|
+
created_at: 'created_at',
|
|
417
|
+
updated_at: 'updated_at',
|
|
418
|
+
created_by: 'created_by',
|
|
419
|
+
updated_by: 'updated_by',
|
|
420
|
+
is_active: 'is_active'
|
|
421
|
+
};
|
|
422
|
+
|
|
422
423
|
exports.Prisma.InterviewScalarFieldEnum = {
|
|
423
424
|
id: 'id',
|
|
424
|
-
organisation_id: 'organisation_id',
|
|
425
425
|
candidate_id: 'candidate_id',
|
|
426
426
|
interviewer_id: 'interviewer_id',
|
|
427
427
|
evaluation_plan_id: 'evaluation_plan_id',
|
|
428
428
|
application_id: 'application_id',
|
|
429
429
|
resume_id: 'resume_id',
|
|
430
430
|
job_description_id: 'job_description_id',
|
|
431
|
+
organisation_id: 'organisation_id',
|
|
431
432
|
room_name: 'room_name',
|
|
432
433
|
interview_summary: 'interview_summary',
|
|
434
|
+
ai_interview_feedback: 'ai_interview_feedback',
|
|
435
|
+
interview_feedback: 'interview_feedback',
|
|
436
|
+
interview_rating: 'interview_rating',
|
|
433
437
|
scheduled_start_time: 'scheduled_start_time',
|
|
434
438
|
scheduled_end_time: 'scheduled_end_time',
|
|
435
439
|
actual_start_time: 'actual_start_time',
|
|
@@ -437,14 +441,6 @@ exports.Prisma.InterviewScalarFieldEnum = {
|
|
|
437
441
|
recording_url: 'recording_url',
|
|
438
442
|
interview_status: 'interview_status',
|
|
439
443
|
google_event_id: 'google_event_id',
|
|
440
|
-
ai_interview_feedback: 'ai_interview_feedback',
|
|
441
|
-
interview_feedback: 'interview_feedback',
|
|
442
|
-
overall_feedback: 'overall_feedback',
|
|
443
|
-
interview_rating: 'interview_rating',
|
|
444
|
-
ai_feedback: 'ai_feedback',
|
|
445
|
-
human_feedback: 'human_feedback',
|
|
446
|
-
interviewer_feedback: 'interviewer_feedback',
|
|
447
|
-
section_feedback: 'section_feedback',
|
|
448
444
|
created_at: 'created_at',
|
|
449
445
|
updated_at: 'updated_at',
|
|
450
446
|
created_by: 'created_by',
|
|
@@ -452,6 +448,22 @@ exports.Prisma.InterviewScalarFieldEnum = {
|
|
|
452
448
|
is_active: 'is_active'
|
|
453
449
|
};
|
|
454
450
|
|
|
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
|
+
|
|
455
467
|
exports.Prisma.InterviewNotesScalarFieldEnum = {
|
|
456
468
|
id: 'id',
|
|
457
469
|
interview_id: 'interview_id',
|
|
@@ -560,6 +572,39 @@ exports.Prisma.OrganisationScalarFieldEnum = {
|
|
|
560
572
|
logo: 'logo'
|
|
561
573
|
};
|
|
562
574
|
|
|
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
|
+
|
|
563
608
|
exports.Prisma.PermissionScalarFieldEnum = {
|
|
564
609
|
id: 'id',
|
|
565
610
|
permissions: 'permissions',
|
|
@@ -727,6 +772,10 @@ exports.Prisma.NullableJsonNullValueInput = {
|
|
|
727
772
|
JsonNull: Prisma.JsonNull
|
|
728
773
|
};
|
|
729
774
|
|
|
775
|
+
exports.Prisma.JsonNullValueInput = {
|
|
776
|
+
JsonNull: Prisma.JsonNull
|
|
777
|
+
};
|
|
778
|
+
|
|
730
779
|
exports.Prisma.QueryMode = {
|
|
731
780
|
default: 'default',
|
|
732
781
|
insensitive: 'insensitive'
|
|
@@ -754,12 +803,6 @@ exports.ActionStatus = exports.$Enums.ActionStatus = {
|
|
|
754
803
|
CANCELLED: 'CANCELLED'
|
|
755
804
|
};
|
|
756
805
|
|
|
757
|
-
exports.ActivityActorType = exports.$Enums.ActivityActorType = {
|
|
758
|
-
USER: 'USER',
|
|
759
|
-
AI: 'AI',
|
|
760
|
-
SYSTEM: 'SYSTEM'
|
|
761
|
-
};
|
|
762
|
-
|
|
763
806
|
exports.ApplicationStatus = exports.$Enums.ApplicationStatus = {
|
|
764
807
|
PENDING: 'PENDING',
|
|
765
808
|
IN_PROGRESS: 'IN_PROGRESS',
|
|
@@ -839,6 +882,13 @@ exports.EvaluationPlanType = exports.$Enums.EvaluationPlanType = {
|
|
|
839
882
|
DELETED: 'DELETED'
|
|
840
883
|
};
|
|
841
884
|
|
|
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'
|
|
890
|
+
};
|
|
891
|
+
|
|
842
892
|
exports.InterviewStatus = exports.$Enums.InterviewStatus = {
|
|
843
893
|
INTERVIEW_REQUESTED: 'INTERVIEW_REQUESTED',
|
|
844
894
|
SCHEDULED: 'SCHEDULED',
|
|
@@ -849,11 +899,15 @@ exports.InterviewStatus = exports.$Enums.InterviewStatus = {
|
|
|
849
899
|
EVALUATED: 'EVALUATED'
|
|
850
900
|
};
|
|
851
901
|
|
|
852
|
-
exports.
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
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'
|
|
857
911
|
};
|
|
858
912
|
|
|
859
913
|
exports.JobDescriptionStatus = exports.$Enums.JobDescriptionStatus = {
|
|
@@ -899,6 +953,19 @@ exports.OrganisationSize = exports.$Enums.OrganisationSize = {
|
|
|
899
953
|
FIVE_HUNDRED_PLUS: 'FIVE_HUNDRED_PLUS'
|
|
900
954
|
};
|
|
901
955
|
|
|
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
|
+
|
|
902
969
|
exports.AsyncOperationStatus = exports.$Enums.AsyncOperationStatus = {
|
|
903
970
|
PENDING: 'PENDING',
|
|
904
971
|
IN_PROGRESS: 'IN_PROGRESS',
|
|
@@ -930,7 +997,6 @@ exports.Prisma.ModelName = {
|
|
|
930
997
|
CandidateQuestionResponse: 'CandidateQuestionResponse',
|
|
931
998
|
UserRole: 'UserRole',
|
|
932
999
|
Action: 'Action',
|
|
933
|
-
ActivityLog: 'ActivityLog',
|
|
934
1000
|
Application: 'Application',
|
|
935
1001
|
Approval: 'Approval',
|
|
936
1002
|
Assessment: 'Assessment',
|
|
@@ -945,13 +1011,17 @@ exports.Prisma.ModelName = {
|
|
|
945
1011
|
Feedback: 'Feedback',
|
|
946
1012
|
FitCheck: 'FitCheck',
|
|
947
1013
|
Google: 'Google',
|
|
1014
|
+
IntermediateFeedback: 'IntermediateFeedback',
|
|
948
1015
|
Interview: 'Interview',
|
|
1016
|
+
InterviewLibrary: 'InterviewLibrary',
|
|
949
1017
|
InterviewNotes: 'InterviewNotes',
|
|
950
1018
|
JobDescription: 'JobDescription',
|
|
951
1019
|
JobDescriptionData: 'JobDescriptionData',
|
|
952
1020
|
Message: 'Message',
|
|
953
1021
|
OngoingEvaluation: 'OngoingEvaluation',
|
|
954
1022
|
Organisation: 'Organisation',
|
|
1023
|
+
OverallFeedback: 'OverallFeedback',
|
|
1024
|
+
Panelist: 'Panelist',
|
|
955
1025
|
Permission: 'Permission',
|
|
956
1026
|
AsyncOperation: 'AsyncOperation',
|
|
957
1027
|
Question: 'Question',
|