@adaptware/eagles-db 0.1.33 → 0.1.35
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 +66 -24
- package/client/index-browser.js +63 -21
- package/client/index.d.ts +3867 -939
- package/client/index.js +66 -24
- package/client/package.json +1 -1
- package/client/schema.prisma +96 -44
- package/client/wasm.js +63 -21
- package/package.json +1 -1
- package/prisma/schema/fitCheck.prisma +5 -5
- package/prisma/schema/jobDescription.prisma +1 -2
- package/prisma/schema/promise.prisma +4 -0
- package/prisma/schema/suggestion.prisma +1 -1
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -356,13 +356,6 @@ enum RoundType {
|
|
|
356
356
|
SCREENING
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
-
// Old
|
|
360
|
-
enum WeightageLevel {
|
|
361
|
-
LOW
|
|
362
|
-
MEDIUM
|
|
363
|
-
HIGH
|
|
364
|
-
}
|
|
365
|
-
|
|
366
359
|
enum EvaluationRoundFormat {
|
|
367
360
|
// ────────────────
|
|
368
361
|
// Screening formats
|
|
@@ -393,16 +386,18 @@ enum EvaluationRoundFormat {
|
|
|
393
386
|
}
|
|
394
387
|
|
|
395
388
|
enum EvaluationType {
|
|
396
|
-
// Old
|
|
397
|
-
HUMAN_AI // Combination of human and AI evaluation
|
|
398
|
-
AI // Fully automated AI evaluation
|
|
399
|
-
HUMAN // Fully human-driven evaluation
|
|
400
389
|
// New (In active use now)
|
|
401
390
|
TREADSPACE_AI_ASSISTED
|
|
402
391
|
EXTERNAL_AI_ASSISTED
|
|
403
392
|
NON_AI_ASSISTED
|
|
404
393
|
}
|
|
405
394
|
|
|
395
|
+
enum EvaluationPlanType {
|
|
396
|
+
CUSTOM
|
|
397
|
+
GENERIC
|
|
398
|
+
DELETED
|
|
399
|
+
}
|
|
400
|
+
|
|
406
401
|
model EvaluationPlan {
|
|
407
402
|
id String @id @default(uuid())
|
|
408
403
|
job_description_id String
|
|
@@ -411,16 +406,15 @@ model EvaluationPlan {
|
|
|
411
406
|
title String
|
|
412
407
|
description String?
|
|
413
408
|
format EvaluationRoundFormat?
|
|
414
|
-
weightage WeightageLevel?
|
|
415
409
|
topics String[]
|
|
416
410
|
assignee String?
|
|
417
411
|
elimination_round Boolean @default(false)
|
|
418
412
|
evaluation_type EvaluationType
|
|
419
413
|
type_of_round RoundType
|
|
420
414
|
timeline Int
|
|
421
|
-
order_no Int
|
|
415
|
+
order_no Int?
|
|
422
416
|
details Json?
|
|
423
|
-
|
|
417
|
+
plan_type EvaluationPlanType @default(GENERIC)
|
|
424
418
|
created_by String
|
|
425
419
|
updated_by String
|
|
426
420
|
created_at DateTime @default(now())
|
|
@@ -432,7 +426,7 @@ model EvaluationPlan {
|
|
|
432
426
|
panelists Panelist[]
|
|
433
427
|
interviews Interview[]
|
|
434
428
|
applications Application[]
|
|
435
|
-
//
|
|
429
|
+
// New optional one-to-one relation with AssessmentLibrary
|
|
436
430
|
assessment AssessmentLibrary? @relation(fields: [assessment_id], references: [id], onDelete: SetNull)
|
|
437
431
|
assignment_library AssignmentLibrary? @relation(fields: [assignment_library_id], references: [id], onDelete: SetNull)
|
|
438
432
|
ongoing_evaluations OngoingEvaluation[]
|
|
@@ -476,7 +470,6 @@ model FitCheck {
|
|
|
476
470
|
|
|
477
471
|
/// Old Fields will be deprecated soon
|
|
478
472
|
skills_match String[]
|
|
479
|
-
skills_score Float?
|
|
480
473
|
responsibilities_match String[]
|
|
481
474
|
responsibilities_score Float?
|
|
482
475
|
experience_match String[]
|
|
@@ -485,17 +478,20 @@ model FitCheck {
|
|
|
485
478
|
organisation_value_match String[]
|
|
486
479
|
qualifications_match String[]
|
|
487
480
|
qualifications_score Float?
|
|
488
|
-
overall_analysis String[]
|
|
489
481
|
fit Json[]
|
|
490
482
|
fit_check_status FitCheckStatus?
|
|
491
483
|
// Fields to be used now
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
recommendation
|
|
484
|
+
skills_analysis Json?
|
|
485
|
+
overall_analysis Json?
|
|
486
|
+
skills_score Float?
|
|
487
|
+
overall_score Float
|
|
488
|
+
short_match_analysis Json[]
|
|
489
|
+
fit_comparison Json?
|
|
490
|
+
recommendation Json?
|
|
491
|
+
// New Fields needs to be changed now
|
|
492
|
+
candidate_analysis Json[]
|
|
493
|
+
technical_analysis Json[]
|
|
494
|
+
competency_analysis Json[]
|
|
499
495
|
|
|
500
496
|
/// Audit fields
|
|
501
497
|
created_by String
|
|
@@ -679,22 +675,24 @@ enum JobDescriptionStatus {
|
|
|
679
675
|
|
|
680
676
|
model JobDescription {
|
|
681
677
|
id String @id @default(uuid())
|
|
678
|
+
organisation_id String
|
|
682
679
|
hiring_manager_id String?
|
|
683
680
|
status JobDescriptionStatus @default(DRAFT)
|
|
684
|
-
organisation_id String
|
|
685
681
|
screeningQuestions String[]
|
|
686
682
|
recommendedQuestions Json[]
|
|
683
|
+
uploaded_job_description_path String?
|
|
684
|
+
is_plan_published Boolean @default(false)
|
|
685
|
+
is_posted Boolean @default(false)
|
|
686
|
+
ai_insight Json?
|
|
687
|
+
job_fit_comparison Json?
|
|
688
|
+
// Audit fields
|
|
687
689
|
created_at DateTime @default(now())
|
|
688
690
|
updated_at DateTime @updatedAt
|
|
689
691
|
created_by String
|
|
690
692
|
updated_by String
|
|
691
|
-
uploaded_job_description_path String?
|
|
692
693
|
is_active Boolean @default(true)
|
|
693
|
-
is_plan_locked Boolean @default(false)
|
|
694
|
-
is_posted Boolean @default(false)
|
|
695
694
|
openings Int @default(1)
|
|
696
695
|
organisation Organisation @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
697
|
-
ai_insight Json?
|
|
698
696
|
applications Application[]
|
|
699
697
|
interviews Interview[]
|
|
700
698
|
fit_check FitCheck[] // one-to-many link
|
|
@@ -800,6 +798,18 @@ model OngoingEvaluation {
|
|
|
800
798
|
updated_by String
|
|
801
799
|
is_active Boolean @default(true)
|
|
802
800
|
is_current Boolean @default(false)
|
|
801
|
+
// Evaluation Plan Details Will be stored only when candidate starts for the evaluation round
|
|
802
|
+
title String?
|
|
803
|
+
description String?
|
|
804
|
+
order_no Int?
|
|
805
|
+
format EvaluationRoundFormat?
|
|
806
|
+
topics String[]
|
|
807
|
+
assignee String?
|
|
808
|
+
elimination_round Boolean? @default(false)
|
|
809
|
+
evaluation_type EvaluationType?
|
|
810
|
+
type_of_round RoundType?
|
|
811
|
+
timeline Int?
|
|
812
|
+
details Json?
|
|
803
813
|
|
|
804
814
|
@@unique([application_id, evaluation_plan_id])
|
|
805
815
|
@@index([application_id])
|
|
@@ -926,6 +936,46 @@ model Permission {
|
|
|
926
936
|
@@index([created_at])
|
|
927
937
|
}
|
|
928
938
|
|
|
939
|
+
enum AsyncOperationStatus {
|
|
940
|
+
PENDING
|
|
941
|
+
IN_PROGRESS
|
|
942
|
+
SUCCESS
|
|
943
|
+
FAILED
|
|
944
|
+
RETRYING
|
|
945
|
+
CANCELLED
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
model AsyncOperation {
|
|
949
|
+
id String @id @default(uuid())
|
|
950
|
+
// Identification
|
|
951
|
+
operation_name String
|
|
952
|
+
// Status tracking
|
|
953
|
+
status AsyncOperationStatus @default(PENDING)
|
|
954
|
+
started_at DateTime?
|
|
955
|
+
completed_at DateTime?
|
|
956
|
+
// Execution metadata
|
|
957
|
+
payload Json?
|
|
958
|
+
metadata Json?
|
|
959
|
+
// Tracing
|
|
960
|
+
correlationId String?
|
|
961
|
+
sourceService String?
|
|
962
|
+
// Retry information
|
|
963
|
+
retry_count Int @default(0)
|
|
964
|
+
max_retries Int @default(0)
|
|
965
|
+
next_retry_at DateTime?
|
|
966
|
+
// Error information
|
|
967
|
+
error_message String?
|
|
968
|
+
error_details String?
|
|
969
|
+
// Audit fields
|
|
970
|
+
created_at DateTime @default(now())
|
|
971
|
+
updated_at DateTime @updatedAt
|
|
972
|
+
is_active Boolean @default(true)
|
|
973
|
+
|
|
974
|
+
@@index([status])
|
|
975
|
+
@@index([operation_name])
|
|
976
|
+
@@index([correlationId])
|
|
977
|
+
}
|
|
978
|
+
|
|
929
979
|
enum Difficulty {
|
|
930
980
|
EASY // simple/basic questions
|
|
931
981
|
MEDIUM // moderate difficulty
|
|
@@ -1028,7 +1078,7 @@ model Suggestion {
|
|
|
1028
1078
|
interview_id String?
|
|
1029
1079
|
transcript_id String? @unique // ✅ ensures one-to-one
|
|
1030
1080
|
organisation_id String
|
|
1031
|
-
suggestion String
|
|
1081
|
+
suggestion String?
|
|
1032
1082
|
question String?
|
|
1033
1083
|
created_at DateTime @default(now())
|
|
1034
1084
|
updated_at DateTime @updatedAt
|
|
@@ -1121,20 +1171,22 @@ model User {
|
|
|
1121
1171
|
calendly Calendly?
|
|
1122
1172
|
google Google?
|
|
1123
1173
|
|
|
1124
|
-
name
|
|
1125
|
-
phone
|
|
1126
|
-
description
|
|
1127
|
-
date_of_birth
|
|
1128
|
-
designation
|
|
1129
|
-
location
|
|
1130
|
-
salary
|
|
1131
|
-
work_experience
|
|
1132
|
-
education
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1174
|
+
name String?
|
|
1175
|
+
phone String?
|
|
1176
|
+
description String?
|
|
1177
|
+
date_of_birth DateTime?
|
|
1178
|
+
designation String?
|
|
1179
|
+
location String?
|
|
1180
|
+
salary String?
|
|
1181
|
+
work_experience Json?
|
|
1182
|
+
education Json?
|
|
1183
|
+
skills Json?
|
|
1184
|
+
notice_period String?
|
|
1185
|
+
preferred_work_mode String?
|
|
1186
|
+
gender String?
|
|
1187
|
+
ethnicity String?
|
|
1188
|
+
veteran_status String?
|
|
1189
|
+
disability_status String?
|
|
1138
1190
|
|
|
1139
1191
|
@@index([role_id])
|
|
1140
1192
|
@@index([permission_id])
|
package/client/wasm.js
CHANGED
|
@@ -332,7 +332,6 @@ exports.Prisma.EvaluationPlanScalarFieldEnum = {
|
|
|
332
332
|
title: 'title',
|
|
333
333
|
description: 'description',
|
|
334
334
|
format: 'format',
|
|
335
|
-
weightage: 'weightage',
|
|
336
335
|
topics: 'topics',
|
|
337
336
|
assignee: 'assignee',
|
|
338
337
|
elimination_round: 'elimination_round',
|
|
@@ -341,7 +340,7 @@ exports.Prisma.EvaluationPlanScalarFieldEnum = {
|
|
|
341
340
|
timeline: 'timeline',
|
|
342
341
|
order_no: 'order_no',
|
|
343
342
|
details: 'details',
|
|
344
|
-
|
|
343
|
+
plan_type: 'plan_type',
|
|
345
344
|
created_by: 'created_by',
|
|
346
345
|
updated_by: 'updated_by',
|
|
347
346
|
created_at: 'created_at',
|
|
@@ -368,7 +367,6 @@ exports.Prisma.FitCheckScalarFieldEnum = {
|
|
|
368
367
|
resume_id: 'resume_id',
|
|
369
368
|
job_description_id: 'job_description_id',
|
|
370
369
|
skills_match: 'skills_match',
|
|
371
|
-
skills_score: 'skills_score',
|
|
372
370
|
responsibilities_match: 'responsibilities_match',
|
|
373
371
|
responsibilities_score: 'responsibilities_score',
|
|
374
372
|
experience_match: 'experience_match',
|
|
@@ -377,15 +375,18 @@ exports.Prisma.FitCheckScalarFieldEnum = {
|
|
|
377
375
|
organisation_value_match: 'organisation_value_match',
|
|
378
376
|
qualifications_match: 'qualifications_match',
|
|
379
377
|
qualifications_score: 'qualifications_score',
|
|
380
|
-
overall_analysis: 'overall_analysis',
|
|
381
378
|
fit: 'fit',
|
|
382
379
|
fit_check_status: 'fit_check_status',
|
|
380
|
+
skills_analysis: 'skills_analysis',
|
|
381
|
+
overall_analysis: 'overall_analysis',
|
|
382
|
+
skills_score: 'skills_score',
|
|
383
383
|
overall_score: 'overall_score',
|
|
384
384
|
short_match_analysis: 'short_match_analysis',
|
|
385
|
+
fit_comparison: 'fit_comparison',
|
|
386
|
+
recommendation: 'recommendation',
|
|
385
387
|
candidate_analysis: 'candidate_analysis',
|
|
386
388
|
technical_analysis: 'technical_analysis',
|
|
387
389
|
competency_analysis: 'competency_analysis',
|
|
388
|
-
recommendation: 'recommendation',
|
|
389
390
|
created_by: 'created_by',
|
|
390
391
|
updated_by: 'updated_by',
|
|
391
392
|
is_active: 'is_active',
|
|
@@ -478,21 +479,22 @@ exports.Prisma.InterviewNotesScalarFieldEnum = {
|
|
|
478
479
|
|
|
479
480
|
exports.Prisma.JobDescriptionScalarFieldEnum = {
|
|
480
481
|
id: 'id',
|
|
482
|
+
organisation_id: 'organisation_id',
|
|
481
483
|
hiring_manager_id: 'hiring_manager_id',
|
|
482
484
|
status: 'status',
|
|
483
|
-
organisation_id: 'organisation_id',
|
|
484
485
|
screeningQuestions: 'screeningQuestions',
|
|
485
486
|
recommendedQuestions: 'recommendedQuestions',
|
|
487
|
+
uploaded_job_description_path: 'uploaded_job_description_path',
|
|
488
|
+
is_plan_published: 'is_plan_published',
|
|
489
|
+
is_posted: 'is_posted',
|
|
490
|
+
ai_insight: 'ai_insight',
|
|
491
|
+
job_fit_comparison: 'job_fit_comparison',
|
|
486
492
|
created_at: 'created_at',
|
|
487
493
|
updated_at: 'updated_at',
|
|
488
494
|
created_by: 'created_by',
|
|
489
495
|
updated_by: 'updated_by',
|
|
490
|
-
uploaded_job_description_path: 'uploaded_job_description_path',
|
|
491
496
|
is_active: 'is_active',
|
|
492
|
-
|
|
493
|
-
is_posted: 'is_posted',
|
|
494
|
-
openings: 'openings',
|
|
495
|
-
ai_insight: 'ai_insight'
|
|
497
|
+
openings: 'openings'
|
|
496
498
|
};
|
|
497
499
|
|
|
498
500
|
exports.Prisma.JobDescriptionDataScalarFieldEnum = {
|
|
@@ -537,7 +539,18 @@ exports.Prisma.OngoingEvaluationScalarFieldEnum = {
|
|
|
537
539
|
created_by: 'created_by',
|
|
538
540
|
updated_by: 'updated_by',
|
|
539
541
|
is_active: 'is_active',
|
|
540
|
-
is_current: 'is_current'
|
|
542
|
+
is_current: 'is_current',
|
|
543
|
+
title: 'title',
|
|
544
|
+
description: 'description',
|
|
545
|
+
order_no: 'order_no',
|
|
546
|
+
format: 'format',
|
|
547
|
+
topics: 'topics',
|
|
548
|
+
assignee: 'assignee',
|
|
549
|
+
elimination_round: 'elimination_round',
|
|
550
|
+
evaluation_type: 'evaluation_type',
|
|
551
|
+
type_of_round: 'type_of_round',
|
|
552
|
+
timeline: 'timeline',
|
|
553
|
+
details: 'details'
|
|
541
554
|
};
|
|
542
555
|
|
|
543
556
|
exports.Prisma.OrganisationScalarFieldEnum = {
|
|
@@ -602,6 +615,26 @@ exports.Prisma.PermissionScalarFieldEnum = {
|
|
|
602
615
|
is_active: 'is_active'
|
|
603
616
|
};
|
|
604
617
|
|
|
618
|
+
exports.Prisma.AsyncOperationScalarFieldEnum = {
|
|
619
|
+
id: 'id',
|
|
620
|
+
operation_name: 'operation_name',
|
|
621
|
+
status: 'status',
|
|
622
|
+
started_at: 'started_at',
|
|
623
|
+
completed_at: 'completed_at',
|
|
624
|
+
payload: 'payload',
|
|
625
|
+
metadata: 'metadata',
|
|
626
|
+
correlationId: 'correlationId',
|
|
627
|
+
sourceService: 'sourceService',
|
|
628
|
+
retry_count: 'retry_count',
|
|
629
|
+
max_retries: 'max_retries',
|
|
630
|
+
next_retry_at: 'next_retry_at',
|
|
631
|
+
error_message: 'error_message',
|
|
632
|
+
error_details: 'error_details',
|
|
633
|
+
created_at: 'created_at',
|
|
634
|
+
updated_at: 'updated_at',
|
|
635
|
+
is_active: 'is_active'
|
|
636
|
+
};
|
|
637
|
+
|
|
605
638
|
exports.Prisma.QuestionScalarFieldEnum = {
|
|
606
639
|
id: 'id',
|
|
607
640
|
assessment_library_id: 'assessment_library_id',
|
|
@@ -705,7 +738,9 @@ exports.Prisma.UserScalarFieldEnum = {
|
|
|
705
738
|
salary: 'salary',
|
|
706
739
|
work_experience: 'work_experience',
|
|
707
740
|
education: 'education',
|
|
741
|
+
skills: 'skills',
|
|
708
742
|
notice_period: 'notice_period',
|
|
743
|
+
preferred_work_mode: 'preferred_work_mode',
|
|
709
744
|
gender: 'gender',
|
|
710
745
|
ethnicity: 'ethnicity',
|
|
711
746
|
veteran_status: 'veteran_status',
|
|
@@ -827,16 +862,7 @@ exports.EvaluationRoundFormat = exports.$Enums.EvaluationRoundFormat = {
|
|
|
827
862
|
EXTERNAL_VIDEO_UNASSISTED: 'EXTERNAL_VIDEO_UNASSISTED'
|
|
828
863
|
};
|
|
829
864
|
|
|
830
|
-
exports.WeightageLevel = exports.$Enums.WeightageLevel = {
|
|
831
|
-
LOW: 'LOW',
|
|
832
|
-
MEDIUM: 'MEDIUM',
|
|
833
|
-
HIGH: 'HIGH'
|
|
834
|
-
};
|
|
835
|
-
|
|
836
865
|
exports.EvaluationType = exports.$Enums.EvaluationType = {
|
|
837
|
-
HUMAN_AI: 'HUMAN_AI',
|
|
838
|
-
AI: 'AI',
|
|
839
|
-
HUMAN: 'HUMAN',
|
|
840
866
|
TREADSPACE_AI_ASSISTED: 'TREADSPACE_AI_ASSISTED',
|
|
841
867
|
EXTERNAL_AI_ASSISTED: 'EXTERNAL_AI_ASSISTED',
|
|
842
868
|
NON_AI_ASSISTED: 'NON_AI_ASSISTED'
|
|
@@ -849,6 +875,12 @@ exports.RoundType = exports.$Enums.RoundType = {
|
|
|
849
875
|
SCREENING: 'SCREENING'
|
|
850
876
|
};
|
|
851
877
|
|
|
878
|
+
exports.EvaluationPlanType = exports.$Enums.EvaluationPlanType = {
|
|
879
|
+
CUSTOM: 'CUSTOM',
|
|
880
|
+
GENERIC: 'GENERIC',
|
|
881
|
+
DELETED: 'DELETED'
|
|
882
|
+
};
|
|
883
|
+
|
|
852
884
|
exports.InterviewFeedback = exports.$Enums.InterviewFeedback = {
|
|
853
885
|
STRONG_HIRE: 'STRONG_HIRE',
|
|
854
886
|
HIRE: 'HIRE',
|
|
@@ -933,6 +965,15 @@ exports.OverallRecommendation = exports.$Enums.OverallRecommendation = {
|
|
|
933
965
|
StrongNoHire: 'StrongNoHire'
|
|
934
966
|
};
|
|
935
967
|
|
|
968
|
+
exports.AsyncOperationStatus = exports.$Enums.AsyncOperationStatus = {
|
|
969
|
+
PENDING: 'PENDING',
|
|
970
|
+
IN_PROGRESS: 'IN_PROGRESS',
|
|
971
|
+
SUCCESS: 'SUCCESS',
|
|
972
|
+
FAILED: 'FAILED',
|
|
973
|
+
RETRYING: 'RETRYING',
|
|
974
|
+
CANCELLED: 'CANCELLED'
|
|
975
|
+
};
|
|
976
|
+
|
|
936
977
|
exports.QuestionType = exports.$Enums.QuestionType = {
|
|
937
978
|
MCQ: 'MCQ',
|
|
938
979
|
TRUE_FALSE: 'TRUE_FALSE',
|
|
@@ -981,6 +1022,7 @@ exports.Prisma.ModelName = {
|
|
|
981
1022
|
OverallFeedback: 'OverallFeedback',
|
|
982
1023
|
Panelist: 'Panelist',
|
|
983
1024
|
Permission: 'Permission',
|
|
1025
|
+
AsyncOperation: 'AsyncOperation',
|
|
984
1026
|
Question: 'Question',
|
|
985
1027
|
Resume: 'Resume',
|
|
986
1028
|
ResumeData: 'ResumeData',
|
package/package.json
CHANGED
|
@@ -14,7 +14,6 @@ model FitCheck {
|
|
|
14
14
|
|
|
15
15
|
/// Old Fields will be deprecated soon
|
|
16
16
|
skills_match String[]
|
|
17
|
-
skills_score Float?
|
|
18
17
|
responsibilities_match String[]
|
|
19
18
|
responsibilities_score Float?
|
|
20
19
|
experience_match String[]
|
|
@@ -23,19 +22,20 @@ model FitCheck {
|
|
|
23
22
|
organisation_value_match String[]
|
|
24
23
|
qualifications_match String[]
|
|
25
24
|
qualifications_score Float?
|
|
26
|
-
overall_analysis String[]
|
|
27
25
|
fit Json[]
|
|
28
26
|
fit_check_status FitCheckStatus?
|
|
29
27
|
// Fields to be used now
|
|
30
28
|
skills_analysis Json?
|
|
31
|
-
|
|
29
|
+
overall_analysis Json?
|
|
30
|
+
skills_score Float?
|
|
32
31
|
overall_score Float
|
|
33
|
-
// New Fields needs to be changed now
|
|
34
32
|
short_match_analysis Json[]
|
|
33
|
+
fit_comparison Json?
|
|
34
|
+
recommendation Json?
|
|
35
|
+
// New Fields needs to be changed now
|
|
35
36
|
candidate_analysis Json[]
|
|
36
37
|
technical_analysis Json[]
|
|
37
38
|
competency_analysis Json[]
|
|
38
|
-
recommendation Json?
|
|
39
39
|
|
|
40
40
|
/// Audit fields
|
|
41
41
|
created_by String
|
|
@@ -14,11 +14,10 @@ model JobDescription {
|
|
|
14
14
|
screeningQuestions String[]
|
|
15
15
|
recommendedQuestions Json[]
|
|
16
16
|
uploaded_job_description_path String?
|
|
17
|
-
is_plan_locked Boolean? @default(false)
|
|
18
17
|
is_plan_published Boolean @default(false)
|
|
19
18
|
is_posted Boolean @default(false)
|
|
20
19
|
ai_insight Json?
|
|
21
|
-
|
|
20
|
+
job_fit_comparison Json?
|
|
22
21
|
// Audit fields
|
|
23
22
|
created_at DateTime @default(now())
|
|
24
23
|
updated_at DateTime @updatedAt
|
|
@@ -21,6 +21,10 @@ model AsyncOperation {
|
|
|
21
21
|
// Tracing
|
|
22
22
|
correlationId String?
|
|
23
23
|
sourceService String?
|
|
24
|
+
// Retry information
|
|
25
|
+
retry_count Int @default(0)
|
|
26
|
+
max_retries Int @default(0)
|
|
27
|
+
next_retry_at DateTime?
|
|
24
28
|
// Error information
|
|
25
29
|
error_message String?
|
|
26
30
|
error_details String?
|