@adaptware/eagles-db 0.4.46 → 0.5.2
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 +192 -6
- package/client/index-browser.js +187 -1
- package/client/index.d.ts +66407 -45772
- package/client/index.js +192 -6
- package/client/package.json +1 -1
- package/client/schema.prisma +338 -31
- package/client/wasm.js +192 -6
- package/package.json +1 -1
- package/prisma/schema/budget.prisma +4 -0
- package/prisma/schema/candidateProfile.prisma +9 -8
- package/prisma/schema/department.prisma +89 -0
- package/prisma/schema/hiringPlan.prisma +197 -0
- package/prisma/schema/jobDescription.prisma +10 -0
- package/prisma/schema/migrations/20260610100000_add_communication/migration.sql +131 -0
- package/prisma/schema/migrations/20260610170000_add_communication_application_scope/migration.sql +45 -0
- package/prisma/schema/migrations/20260718120000_add_hiring_plan/migration.sql +208 -0
- package/prisma/schema/migrations/20260718140000_hiring_plan_assumptions/migration.sql +2 -0
- package/prisma/schema/organisation.prisma +3 -1
- package/prisma/schema/user.prisma +2 -0
- package/client/libquery_engine-darwin.dylib.node +0 -0
- package/prisma/migrations/20260519120000_migrate_shortlisted_to_selected/migration.sql +0 -2
- package/prisma/schema/.DS_Store +0 -0
- package/prisma/schema/migrations/20260519120000_add_analytics_schema/migration.sql +0 -84
- package/prisma/schema/migrations/20260625120000_add_interviewer_analytics/migration.sql +0 -26
- package/prisma/schema/migrations/20260629120000_add_user_lifecycle_activity_events/migration.sql +0 -13
- package/prisma/schema/migrations/20260629140000_drop_organisation_org_code/migration.sql +0 -2
- package/prisma/schema/migrations/20260629160000_employee_codes_dual_interviewer_analytics/migration.sql +0 -87
- package/prisma/schema/migrations/20260630120000_add_application_sources/migration.sql +0 -38
- package/prisma/schema/migrations/20260701120000_add_source_effectiveness_analytics/migration.sql +0 -40
- package/prisma/schema/migrations/20260702120000_add_analytics_daily_tables/migration.sql +0 -232
- package/prisma/schema/migrations/20260716120000_evaluation_category_four_values/migration.sql +0 -204
- package/prisma/schema/migrations/20260716130000_application_withdrawn_analytics/migration.sql +0 -31
package/client/index-browser.js
CHANGED
|
@@ -567,6 +567,7 @@ exports.Prisma.BudgetScalarFieldEnum = {
|
|
|
567
567
|
domain: 'domain',
|
|
568
568
|
jd_creation_type: 'jd_creation_type',
|
|
569
569
|
job_description_id: 'job_description_id',
|
|
570
|
+
hiring_plan_line_id: 'hiring_plan_line_id',
|
|
570
571
|
created_at: 'created_at',
|
|
571
572
|
updated_at: 'updated_at',
|
|
572
573
|
created_by: 'created_by',
|
|
@@ -688,6 +689,47 @@ exports.Prisma.ContactUsScalarFieldEnum = {
|
|
|
688
689
|
is_active: 'is_active'
|
|
689
690
|
};
|
|
690
691
|
|
|
692
|
+
exports.Prisma.DepartmentScalarFieldEnum = {
|
|
693
|
+
id: 'id',
|
|
694
|
+
organisation_id: 'organisation_id',
|
|
695
|
+
name: 'name',
|
|
696
|
+
code: 'code',
|
|
697
|
+
sort_order: 'sort_order',
|
|
698
|
+
created_at: 'created_at',
|
|
699
|
+
updated_at: 'updated_at',
|
|
700
|
+
created_by: 'created_by',
|
|
701
|
+
updated_by: 'updated_by',
|
|
702
|
+
is_active: 'is_active'
|
|
703
|
+
};
|
|
704
|
+
|
|
705
|
+
exports.Prisma.DepartmentMemberScalarFieldEnum = {
|
|
706
|
+
id: 'id',
|
|
707
|
+
department_id: 'department_id',
|
|
708
|
+
user_id: 'user_id',
|
|
709
|
+
is_head: 'is_head',
|
|
710
|
+
created_at: 'created_at',
|
|
711
|
+
updated_at: 'updated_at',
|
|
712
|
+
created_by: 'created_by',
|
|
713
|
+
updated_by: 'updated_by',
|
|
714
|
+
is_active: 'is_active'
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
exports.Prisma.HiringPlanSectionScalarFieldEnum = {
|
|
718
|
+
id: 'id',
|
|
719
|
+
hiring_plan_id: 'hiring_plan_id',
|
|
720
|
+
department_id: 'department_id',
|
|
721
|
+
status: 'status',
|
|
722
|
+
submitted_by: 'submitted_by',
|
|
723
|
+
submitted_at: 'submitted_at',
|
|
724
|
+
approved_by: 'approved_by',
|
|
725
|
+
approved_at: 'approved_at',
|
|
726
|
+
created_at: 'created_at',
|
|
727
|
+
updated_at: 'updated_at',
|
|
728
|
+
created_by: 'created_by',
|
|
729
|
+
updated_by: 'updated_by',
|
|
730
|
+
is_active: 'is_active'
|
|
731
|
+
};
|
|
732
|
+
|
|
691
733
|
exports.Prisma.DocumentScalarFieldEnum = {
|
|
692
734
|
id: 'id',
|
|
693
735
|
organisation_id: 'organisation_id',
|
|
@@ -816,6 +858,97 @@ exports.Prisma.GoogleScalarFieldEnum = {
|
|
|
816
858
|
is_active: 'is_active'
|
|
817
859
|
};
|
|
818
860
|
|
|
861
|
+
exports.Prisma.HiringPlanScalarFieldEnum = {
|
|
862
|
+
id: 'id',
|
|
863
|
+
organisation_id: 'organisation_id',
|
|
864
|
+
fiscal_year: 'fiscal_year',
|
|
865
|
+
period_type: 'period_type',
|
|
866
|
+
currency: 'currency',
|
|
867
|
+
status: 'status',
|
|
868
|
+
total_headcount_budget: 'total_headcount_budget',
|
|
869
|
+
total_cost_budget: 'total_cost_budget',
|
|
870
|
+
assumptions: 'assumptions',
|
|
871
|
+
notes: 'notes',
|
|
872
|
+
created_at: 'created_at',
|
|
873
|
+
updated_at: 'updated_at',
|
|
874
|
+
created_by: 'created_by',
|
|
875
|
+
updated_by: 'updated_by',
|
|
876
|
+
is_active: 'is_active'
|
|
877
|
+
};
|
|
878
|
+
|
|
879
|
+
exports.Prisma.HiringPlanLineScalarFieldEnum = {
|
|
880
|
+
id: 'id',
|
|
881
|
+
hiring_plan_id: 'hiring_plan_id',
|
|
882
|
+
department_id: 'department_id',
|
|
883
|
+
business_unit: 'business_unit',
|
|
884
|
+
level: 'level',
|
|
885
|
+
location: 'location',
|
|
886
|
+
role: 'role',
|
|
887
|
+
planned_headcount: 'planned_headcount',
|
|
888
|
+
cost_per_hire: 'cost_per_hire',
|
|
889
|
+
start_month: 'start_month',
|
|
890
|
+
hire_schedule: 'hire_schedule',
|
|
891
|
+
sort_order: 'sort_order',
|
|
892
|
+
job_description_id: 'job_description_id',
|
|
893
|
+
created_at: 'created_at',
|
|
894
|
+
updated_at: 'updated_at',
|
|
895
|
+
created_by: 'created_by',
|
|
896
|
+
updated_by: 'updated_by',
|
|
897
|
+
is_active: 'is_active'
|
|
898
|
+
};
|
|
899
|
+
|
|
900
|
+
exports.Prisma.EmployeeScalarFieldEnum = {
|
|
901
|
+
id: 'id',
|
|
902
|
+
organisation_id: 'organisation_id',
|
|
903
|
+
department_id: 'department_id',
|
|
904
|
+
employee_code: 'employee_code',
|
|
905
|
+
name: 'name',
|
|
906
|
+
email: 'email',
|
|
907
|
+
gender: 'gender',
|
|
908
|
+
business_unit: 'business_unit',
|
|
909
|
+
level: 'level',
|
|
910
|
+
location: 'location',
|
|
911
|
+
role: 'role',
|
|
912
|
+
employment_type: 'employment_type',
|
|
913
|
+
starting_designation: 'starting_designation',
|
|
914
|
+
current_designation: 'current_designation',
|
|
915
|
+
start_date: 'start_date',
|
|
916
|
+
starting_salary: 'starting_salary',
|
|
917
|
+
previous_salary: 'previous_salary',
|
|
918
|
+
current_comp: 'current_comp',
|
|
919
|
+
currency: 'currency',
|
|
920
|
+
last_increment_date: 'last_increment_date',
|
|
921
|
+
last_increment_amount: 'last_increment_amount',
|
|
922
|
+
last_increment_pct: 'last_increment_pct',
|
|
923
|
+
last_review_date: 'last_review_date',
|
|
924
|
+
last_review_rating: 'last_review_rating',
|
|
925
|
+
last_feedback_date: 'last_feedback_date',
|
|
926
|
+
last_feedback_summary: 'last_feedback_summary',
|
|
927
|
+
status: 'status',
|
|
928
|
+
attrition_risk: 'attrition_risk',
|
|
929
|
+
expected_exit_date: 'expected_exit_date',
|
|
930
|
+
backfill_plan_line_id: 'backfill_plan_line_id',
|
|
931
|
+
created_at: 'created_at',
|
|
932
|
+
updated_at: 'updated_at',
|
|
933
|
+
created_by: 'created_by',
|
|
934
|
+
updated_by: 'updated_by',
|
|
935
|
+
is_active: 'is_active'
|
|
936
|
+
};
|
|
937
|
+
|
|
938
|
+
exports.Prisma.PlannedCandidateScalarFieldEnum = {
|
|
939
|
+
id: 'id',
|
|
940
|
+
hiring_plan_line_id: 'hiring_plan_line_id',
|
|
941
|
+
candidate_profile_id: 'candidate_profile_id',
|
|
942
|
+
name: 'name',
|
|
943
|
+
status: 'status',
|
|
944
|
+
note: 'note',
|
|
945
|
+
created_at: 'created_at',
|
|
946
|
+
updated_at: 'updated_at',
|
|
947
|
+
created_by: 'created_by',
|
|
948
|
+
updated_by: 'updated_by',
|
|
949
|
+
is_active: 'is_active'
|
|
950
|
+
};
|
|
951
|
+
|
|
819
952
|
exports.Prisma.IntegrationCredentialScalarFieldEnum = {
|
|
820
953
|
id: 'id',
|
|
821
954
|
organisation_id: 'organisation_id',
|
|
@@ -1160,6 +1293,7 @@ exports.Prisma.JobApplicationTemplateScalarFieldEnum = {
|
|
|
1160
1293
|
exports.Prisma.JobDescriptionScalarFieldEnum = {
|
|
1161
1294
|
id: 'id',
|
|
1162
1295
|
organisation_id: 'organisation_id',
|
|
1296
|
+
department_id: 'department_id',
|
|
1163
1297
|
hiring_manager_id: 'hiring_manager_id',
|
|
1164
1298
|
status: 'status',
|
|
1165
1299
|
screeningQuestions: 'screeningQuestions',
|
|
@@ -1184,7 +1318,8 @@ exports.Prisma.JobDescriptionScalarFieldEnum = {
|
|
|
1184
1318
|
updated_by: 'updated_by',
|
|
1185
1319
|
is_active: 'is_active',
|
|
1186
1320
|
openings: 'openings',
|
|
1187
|
-
job_profile_id: 'job_profile_id'
|
|
1321
|
+
job_profile_id: 'job_profile_id',
|
|
1322
|
+
hiring_plan_line_id: 'hiring_plan_line_id'
|
|
1188
1323
|
};
|
|
1189
1324
|
|
|
1190
1325
|
exports.Prisma.JobDescriptionDataScalarFieldEnum = {
|
|
@@ -2117,6 +2252,12 @@ exports.CommMessageStatus = exports.$Enums.CommMessageStatus = {
|
|
|
2117
2252
|
RECEIVED: 'RECEIVED'
|
|
2118
2253
|
};
|
|
2119
2254
|
|
|
2255
|
+
exports.HiringPlanSectionStatus = exports.$Enums.HiringPlanSectionStatus = {
|
|
2256
|
+
DRAFT: 'DRAFT',
|
|
2257
|
+
SUBMITTED: 'SUBMITTED',
|
|
2258
|
+
APPROVED: 'APPROVED'
|
|
2259
|
+
};
|
|
2260
|
+
|
|
2120
2261
|
exports.CriteriaScope = exports.$Enums.CriteriaScope = {
|
|
2121
2262
|
ORGANISATION: 'ORGANISATION',
|
|
2122
2263
|
TREADSPACE: 'TREADSPACE'
|
|
@@ -2134,6 +2275,44 @@ exports.DurationUnit = exports.$Enums.DurationUnit = {
|
|
|
2134
2275
|
DAYS: 'DAYS'
|
|
2135
2276
|
};
|
|
2136
2277
|
|
|
2278
|
+
exports.PeriodType = exports.$Enums.PeriodType = {
|
|
2279
|
+
ANNUAL: 'ANNUAL'
|
|
2280
|
+
};
|
|
2281
|
+
|
|
2282
|
+
exports.HiringPlanStatus = exports.$Enums.HiringPlanStatus = {
|
|
2283
|
+
DRAFT: 'DRAFT',
|
|
2284
|
+
ACTIVE: 'ACTIVE',
|
|
2285
|
+
CLOSED: 'CLOSED'
|
|
2286
|
+
};
|
|
2287
|
+
|
|
2288
|
+
exports.ReviewRating = exports.$Enums.ReviewRating = {
|
|
2289
|
+
OUTSTANDING: 'OUTSTANDING',
|
|
2290
|
+
EXCEEDS_EXPECTATIONS: 'EXCEEDS_EXPECTATIONS',
|
|
2291
|
+
MEETS_EXPECTATIONS: 'MEETS_EXPECTATIONS',
|
|
2292
|
+
NEEDS_IMPROVEMENT: 'NEEDS_IMPROVEMENT',
|
|
2293
|
+
UNSATISFACTORY: 'UNSATISFACTORY'
|
|
2294
|
+
};
|
|
2295
|
+
|
|
2296
|
+
exports.EmployeeStatus = exports.$Enums.EmployeeStatus = {
|
|
2297
|
+
ACTIVE: 'ACTIVE',
|
|
2298
|
+
ATTRITION_EXPECTED: 'ATTRITION_EXPECTED',
|
|
2299
|
+
DEPARTED: 'DEPARTED'
|
|
2300
|
+
};
|
|
2301
|
+
|
|
2302
|
+
exports.AttritionRisk = exports.$Enums.AttritionRisk = {
|
|
2303
|
+
LOW: 'LOW',
|
|
2304
|
+
MEDIUM: 'MEDIUM',
|
|
2305
|
+
HIGH: 'HIGH'
|
|
2306
|
+
};
|
|
2307
|
+
|
|
2308
|
+
exports.PlannedCandidateStatus = exports.$Enums.PlannedCandidateStatus = {
|
|
2309
|
+
IDENTIFIED: 'IDENTIFIED',
|
|
2310
|
+
IN_PIPELINE: 'IN_PIPELINE',
|
|
2311
|
+
OFFER: 'OFFER',
|
|
2312
|
+
SELECTED: 'SELECTED',
|
|
2313
|
+
DECLINED: 'DECLINED'
|
|
2314
|
+
};
|
|
2315
|
+
|
|
2137
2316
|
exports.IntegrationProvider = exports.$Enums.IntegrationProvider = {
|
|
2138
2317
|
NAUKRI: 'NAUKRI',
|
|
2139
2318
|
ZOHO_RECRUIT: 'ZOHO_RECRUIT',
|
|
@@ -2320,12 +2499,19 @@ exports.Prisma.ModelName = {
|
|
|
2320
2499
|
Conversation: 'Conversation',
|
|
2321
2500
|
CommunicationMessage: 'CommunicationMessage',
|
|
2322
2501
|
ContactUs: 'ContactUs',
|
|
2502
|
+
Department: 'Department',
|
|
2503
|
+
DepartmentMember: 'DepartmentMember',
|
|
2504
|
+
HiringPlanSection: 'HiringPlanSection',
|
|
2323
2505
|
Document: 'Document',
|
|
2324
2506
|
EvaluationCriteria: 'EvaluationCriteria',
|
|
2325
2507
|
EvaluationPlan: 'EvaluationPlan',
|
|
2326
2508
|
Feedback: 'Feedback',
|
|
2327
2509
|
FitCheck: 'FitCheck',
|
|
2328
2510
|
Google: 'Google',
|
|
2511
|
+
HiringPlan: 'HiringPlan',
|
|
2512
|
+
HiringPlanLine: 'HiringPlanLine',
|
|
2513
|
+
Employee: 'Employee',
|
|
2514
|
+
PlannedCandidate: 'PlannedCandidate',
|
|
2329
2515
|
IntegrationCredential: 'IntegrationCredential',
|
|
2330
2516
|
IntegrationJobSync: 'IntegrationJobSync',
|
|
2331
2517
|
ZohoSyncMapping: 'ZohoSyncMapping',
|