@adaptware/eagles-db 1.1.62 → 1.1.64
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 +46 -5
- package/client/index-browser.js +43 -2
- package/client/index.d.ts +20079 -15507
- package/client/index.js +46 -5
- package/client/package.json +1 -1
- package/client/schema.prisma +65 -0
- package/client/wasm.js +43 -2
- package/package.json +1 -1
- package/prisma/schema/integration.prisma +1 -0
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -594,6 +594,7 @@ model Google {
|
|
|
594
594
|
enum IntegrationProvider {
|
|
595
595
|
NAUKRI
|
|
596
596
|
ZOHO_RECRUIT
|
|
597
|
+
LINKEDIN
|
|
597
598
|
}
|
|
598
599
|
|
|
599
600
|
enum IntegrationAuthType {
|
|
@@ -732,6 +733,7 @@ model Interview {
|
|
|
732
733
|
interviewer_feedback Json?
|
|
733
734
|
section_feedback Json[]
|
|
734
735
|
interview_preparation Json?
|
|
736
|
+
final_feedback Json?
|
|
735
737
|
/// Audit fields
|
|
736
738
|
created_at DateTime @default(now())
|
|
737
739
|
updated_at DateTime @updatedAt
|
|
@@ -803,6 +805,8 @@ model JobDescription {
|
|
|
803
805
|
updated_by String
|
|
804
806
|
is_active Boolean @default(true)
|
|
805
807
|
openings Int @default(1)
|
|
808
|
+
job_profile_id String?
|
|
809
|
+
job_profile JobProfile? @relation(fields: [job_profile_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
806
810
|
organisation Organisation @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
807
811
|
applications Application[]
|
|
808
812
|
interviews Interview[]
|
|
@@ -822,6 +826,7 @@ model JobDescription {
|
|
|
822
826
|
|
|
823
827
|
@@index([organisation_id])
|
|
824
828
|
@@index([hiring_manager_id])
|
|
829
|
+
@@index([job_profile_id])
|
|
825
830
|
}
|
|
826
831
|
|
|
827
832
|
model JobDescriptionData {
|
|
@@ -840,6 +845,63 @@ model JobDescriptionData {
|
|
|
840
845
|
@@unique([job_description_id, key])
|
|
841
846
|
}
|
|
842
847
|
|
|
848
|
+
enum JobProfileStatus {
|
|
849
|
+
DRAFT
|
|
850
|
+
INTAKE_SENT
|
|
851
|
+
INTAKE_IN_PROGRESS
|
|
852
|
+
COMPLETE
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
model JobProfile {
|
|
856
|
+
id String @id @default(uuid())
|
|
857
|
+
organisation_id String
|
|
858
|
+
created_by String
|
|
859
|
+
assigned_to String?
|
|
860
|
+
status JobProfileStatus @default(DRAFT)
|
|
861
|
+
|
|
862
|
+
// Basics
|
|
863
|
+
title String?
|
|
864
|
+
role_type String?
|
|
865
|
+
work_arrangement String?
|
|
866
|
+
location String?
|
|
867
|
+
experience_min String?
|
|
868
|
+
reporting String?
|
|
869
|
+
comp_range String?
|
|
870
|
+
comp_benchmark String?
|
|
871
|
+
|
|
872
|
+
// Requirements (structured from AI conversation)
|
|
873
|
+
responsibilities Json?
|
|
874
|
+
deliverables Json?
|
|
875
|
+
must_have_skills Json?
|
|
876
|
+
nice_to_have_skills Json?
|
|
877
|
+
dealbreakers Json?
|
|
878
|
+
culture Json?
|
|
879
|
+
success_metrics Json?
|
|
880
|
+
|
|
881
|
+
// Competencies
|
|
882
|
+
competencies Json?
|
|
883
|
+
|
|
884
|
+
// Conversation state
|
|
885
|
+
conversation_history Json?
|
|
886
|
+
current_phase String?
|
|
887
|
+
orion_execution_id String?
|
|
888
|
+
|
|
889
|
+
// Audit
|
|
890
|
+
created_at DateTime @default(now())
|
|
891
|
+
updated_at DateTime @updatedAt
|
|
892
|
+
is_active Boolean @default(true)
|
|
893
|
+
|
|
894
|
+
// Relations
|
|
895
|
+
organisation Organisation @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
896
|
+
creator User @relation("ProfileCreator", fields: [created_by], references: [id], onDelete: Restrict, onUpdate: Cascade)
|
|
897
|
+
assignee User? @relation("ProfileAssignee", fields: [assigned_to], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
898
|
+
job_descriptions JobDescription[]
|
|
899
|
+
|
|
900
|
+
@@index([organisation_id])
|
|
901
|
+
@@index([assigned_to])
|
|
902
|
+
@@index([created_by])
|
|
903
|
+
}
|
|
904
|
+
|
|
843
905
|
model Message {
|
|
844
906
|
id String @id @default(uuid())
|
|
845
907
|
sender_id String
|
|
@@ -960,6 +1022,7 @@ model Organisation {
|
|
|
960
1022
|
applications Application[]
|
|
961
1023
|
user_roles UserRole[]
|
|
962
1024
|
job_descriptions JobDescription[]
|
|
1025
|
+
job_profiles JobProfile[]
|
|
963
1026
|
assessment_library AssessmentLibrary[]
|
|
964
1027
|
assignment_library AssignmentLibrary[]
|
|
965
1028
|
interviews Interview[]
|
|
@@ -1226,6 +1289,8 @@ model User {
|
|
|
1226
1289
|
calendly Calendly?
|
|
1227
1290
|
google Google?
|
|
1228
1291
|
fitChecks FitCheck[]
|
|
1292
|
+
created_job_profiles JobProfile[] @relation("ProfileCreator")
|
|
1293
|
+
assigned_job_profiles JobProfile[] @relation("ProfileAssignee")
|
|
1229
1294
|
|
|
1230
1295
|
name String?
|
|
1231
1296
|
phone String?
|
package/client/wasm.js
CHANGED
|
@@ -515,6 +515,7 @@ exports.Prisma.InterviewScalarFieldEnum = {
|
|
|
515
515
|
interviewer_feedback: 'interviewer_feedback',
|
|
516
516
|
section_feedback: 'section_feedback',
|
|
517
517
|
interview_preparation: 'interview_preparation',
|
|
518
|
+
final_feedback: 'final_feedback',
|
|
518
519
|
created_at: 'created_at',
|
|
519
520
|
updated_at: 'updated_at',
|
|
520
521
|
created_by: 'created_by',
|
|
@@ -552,7 +553,8 @@ exports.Prisma.JobDescriptionScalarFieldEnum = {
|
|
|
552
553
|
created_by: 'created_by',
|
|
553
554
|
updated_by: 'updated_by',
|
|
554
555
|
is_active: 'is_active',
|
|
555
|
-
openings: 'openings'
|
|
556
|
+
openings: 'openings',
|
|
557
|
+
job_profile_id: 'job_profile_id'
|
|
556
558
|
};
|
|
557
559
|
|
|
558
560
|
exports.Prisma.JobDescriptionDataScalarFieldEnum = {
|
|
@@ -567,6 +569,36 @@ exports.Prisma.JobDescriptionDataScalarFieldEnum = {
|
|
|
567
569
|
is_active: 'is_active'
|
|
568
570
|
};
|
|
569
571
|
|
|
572
|
+
exports.Prisma.JobProfileScalarFieldEnum = {
|
|
573
|
+
id: 'id',
|
|
574
|
+
organisation_id: 'organisation_id',
|
|
575
|
+
created_by: 'created_by',
|
|
576
|
+
assigned_to: 'assigned_to',
|
|
577
|
+
status: 'status',
|
|
578
|
+
title: 'title',
|
|
579
|
+
role_type: 'role_type',
|
|
580
|
+
work_arrangement: 'work_arrangement',
|
|
581
|
+
location: 'location',
|
|
582
|
+
experience_min: 'experience_min',
|
|
583
|
+
reporting: 'reporting',
|
|
584
|
+
comp_range: 'comp_range',
|
|
585
|
+
comp_benchmark: 'comp_benchmark',
|
|
586
|
+
responsibilities: 'responsibilities',
|
|
587
|
+
deliverables: 'deliverables',
|
|
588
|
+
must_have_skills: 'must_have_skills',
|
|
589
|
+
nice_to_have_skills: 'nice_to_have_skills',
|
|
590
|
+
dealbreakers: 'dealbreakers',
|
|
591
|
+
culture: 'culture',
|
|
592
|
+
success_metrics: 'success_metrics',
|
|
593
|
+
competencies: 'competencies',
|
|
594
|
+
conversation_history: 'conversation_history',
|
|
595
|
+
current_phase: 'current_phase',
|
|
596
|
+
orion_execution_id: 'orion_execution_id',
|
|
597
|
+
created_at: 'created_at',
|
|
598
|
+
updated_at: 'updated_at',
|
|
599
|
+
is_active: 'is_active'
|
|
600
|
+
};
|
|
601
|
+
|
|
570
602
|
exports.Prisma.MessageScalarFieldEnum = {
|
|
571
603
|
id: 'id',
|
|
572
604
|
sender_id: 'sender_id',
|
|
@@ -922,7 +954,8 @@ exports.EvaluationPlanType = exports.$Enums.EvaluationPlanType = {
|
|
|
922
954
|
|
|
923
955
|
exports.IntegrationProvider = exports.$Enums.IntegrationProvider = {
|
|
924
956
|
NAUKRI: 'NAUKRI',
|
|
925
|
-
ZOHO_RECRUIT: 'ZOHO_RECRUIT'
|
|
957
|
+
ZOHO_RECRUIT: 'ZOHO_RECRUIT',
|
|
958
|
+
LINKEDIN: 'LINKEDIN'
|
|
926
959
|
};
|
|
927
960
|
|
|
928
961
|
exports.IntegrationAuthType = exports.$Enums.IntegrationAuthType = {
|
|
@@ -974,6 +1007,13 @@ exports.JobDescriptionStatus = exports.$Enums.JobDescriptionStatus = {
|
|
|
974
1007
|
CLOSED: 'CLOSED'
|
|
975
1008
|
};
|
|
976
1009
|
|
|
1010
|
+
exports.JobProfileStatus = exports.$Enums.JobProfileStatus = {
|
|
1011
|
+
DRAFT: 'DRAFT',
|
|
1012
|
+
INTAKE_SENT: 'INTAKE_SENT',
|
|
1013
|
+
INTAKE_IN_PROGRESS: 'INTAKE_IN_PROGRESS',
|
|
1014
|
+
COMPLETE: 'COMPLETE'
|
|
1015
|
+
};
|
|
1016
|
+
|
|
977
1017
|
exports.OngoingEvaluationStatus = exports.$Enums.OngoingEvaluationStatus = {
|
|
978
1018
|
LOCKED: 'LOCKED',
|
|
979
1019
|
ACTION_REQUIRED: 'ACTION_REQUIRED',
|
|
@@ -1063,6 +1103,7 @@ exports.Prisma.ModelName = {
|
|
|
1063
1103
|
InterviewNotes: 'InterviewNotes',
|
|
1064
1104
|
JobDescription: 'JobDescription',
|
|
1065
1105
|
JobDescriptionData: 'JobDescriptionData',
|
|
1106
|
+
JobProfile: 'JobProfile',
|
|
1066
1107
|
Message: 'Message',
|
|
1067
1108
|
OngoingEvaluation: 'OngoingEvaluation',
|
|
1068
1109
|
Organisation: 'Organisation',
|
package/package.json
CHANGED