@adaptware/eagles-db 0.4.42 → 0.4.44

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.
Files changed (44) hide show
  1. package/client/edge.js +32 -16
  2. package/client/index-browser.js +27 -11
  3. package/client/index.d.ts +1028 -228
  4. package/client/index.js +32 -16
  5. package/client/libquery_engine-darwin.dylib.node +0 -0
  6. package/client/package.json +1 -1
  7. package/client/schema.prisma +30 -13
  8. package/client/wasm.js +32 -16
  9. package/package.json +1 -1
  10. package/prisma/.DS_Store +0 -0
  11. package/prisma/migrations/20260519120000_migrate_shortlisted_to_selected/migration.sql +2 -0
  12. package/prisma/schema/.DS_Store +0 -0
  13. package/prisma/schema/activityEvent.prisma +2 -0
  14. package/prisma/schema/applicationAnalytics.prisma +4 -0
  15. package/prisma/schema/applications.prisma +1 -0
  16. package/prisma/schema/assessment.prisma +1 -0
  17. package/prisma/schema/assignment.prisma +1 -0
  18. package/prisma/schema/evaluationPlan.prisma +2 -3
  19. package/prisma/schema/interview.prisma +2 -0
  20. package/prisma/schema/jobDescription.prisma +1 -0
  21. package/prisma/schema/migrations/20260519120000_add_analytics_schema/migration.sql +84 -0
  22. package/prisma/schema/migrations/20260625120000_add_interviewer_analytics/migration.sql +26 -0
  23. package/prisma/schema/migrations/20260629120000_add_user_lifecycle_activity_events/migration.sql +13 -0
  24. package/prisma/schema/migrations/20260629140000_drop_organisation_org_code/migration.sql +2 -0
  25. package/prisma/schema/migrations/20260629160000_employee_codes_dual_interviewer_analytics/migration.sql +87 -0
  26. package/prisma/schema/migrations/20260630120000_add_application_sources/migration.sql +38 -0
  27. package/prisma/schema/migrations/20260701120000_add_source_effectiveness_analytics/migration.sql +40 -0
  28. package/prisma/schema/migrations/20260702120000_add_analytics_daily_tables/migration.sql +232 -0
  29. package/prisma/schema/migrations/20260716120000_evaluation_category_four_values/migration.sql +204 -0
  30. package/prisma/schema/migrations/20260716130000_application_withdrawn_analytics/migration.sql +31 -0
  31. package/prisma/schema/ongoingEvaluation.prisma +2 -0
  32. package/prisma/schema/openJobAnalytics.prisma +4 -0
  33. package/prisma/schema/pipelineDistributionAnalytics.prisma +4 -6
  34. package/prisma/schema/sourceEffectivenessAnalytics.prisma +2 -0
  35. package/prisma/schema/migrations/20260519120000_interview_deadline/migration.sql +0 -2
  36. package/prisma/schema/migrations/20260520120000_interview_duration_drop_deadline/migration.sql +0 -30
  37. package/prisma/schema/migrations/20260602120000_resume_file_hash_drop_unique/migration.sql +0 -2
  38. package/prisma/schema/migrations/20260603120000_job_application_field_is_mandatory/migration.sql +0 -2
  39. package/prisma/schema/migrations/20260604120000_job_application_response_updated_by_organisation/migration.sql +0 -2
  40. package/prisma/schema/migrations/20260605120000_drop_document_application_id/migration.sql +0 -3
  41. package/prisma/schema/migrations/20260610120000_jaf_template_model/migration.sql +0 -70
  42. package/prisma/schema/migrations/20260610130000_assignment_document_fks/migration.sql +0 -15
  43. package/prisma/schema/migrations/20260610140000_jaf_draft_activation/migration.sql +0 -12
  44. package/prisma/schema/migrations/20260713120000_add_focus_areas_backfill/migration.sql +0 -16
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-c089d0cbf382b983d26d64dda0a1d6c5b3f276d0580cc327dfe156e4b882a20e",
2
+ "name": "prisma-client-55444169a563eca485fd746f4fbe3da12b3be4f1670bdb3f4e4b414dba0c48e2",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "default.js",
@@ -91,6 +91,8 @@ enum ActivityEventType {
91
91
  APPLICATION_CREATED
92
92
  APPLICATION_STARTED
93
93
  APPLICATION_REJECTED
94
+ APPLICATION_ON_HOLD
95
+ APPLICATION_WITHDRAWN
94
96
  APPLICATION_SHORTLISTED
95
97
 
96
98
  FIT_CHECK_COMPLETED
@@ -283,6 +285,8 @@ model ApplicationAnalytics {
283
285
  is_evaluated Boolean @default(false)
284
286
  is_rejected Boolean @default(false)
285
287
  is_shortlisted Boolean @default(false)
288
+ is_on_hold Boolean @default(false)
289
+ is_withdrawn Boolean @default(false)
286
290
  has_committed_evaluation Boolean @default(false)
287
291
 
288
292
  updated_at DateTime @updatedAt
@@ -328,6 +332,8 @@ model ApplicationAnalyticsDaily {
328
332
  is_evaluated Boolean @default(false)
329
333
  is_rejected Boolean @default(false)
330
334
  is_shortlisted Boolean @default(false)
335
+ is_on_hold Boolean @default(false)
336
+ is_withdrawn Boolean @default(false)
331
337
  has_committed_evaluation Boolean @default(false)
332
338
 
333
339
  @@unique([snapshot_date, application_id])
@@ -348,6 +354,7 @@ enum ApplicationStatus {
348
354
  SHORTLISTED
349
355
  REJECTED
350
356
  ON_HOLD
357
+ WITHDRAWN
351
358
 
352
359
  @@schema("public")
353
360
  }
@@ -443,6 +450,7 @@ model Assessment {
443
450
  actual_end_time DateTime?
444
451
  /// Attempt Expires At
445
452
  attempt_expires_at DateTime?
453
+ evaluated_at DateTime?
446
454
  /// Audit fields
447
455
  created_at DateTime @default(now())
448
456
  updated_at DateTime @updatedAt
@@ -657,6 +665,7 @@ model Assignment {
657
665
  zip_document_id String? @unique
658
666
  scheduled_start_time DateTime?
659
667
  scheduled_end_time DateTime?
668
+ evaluated_at DateTime?
660
669
  created_at DateTime @default(now())
661
670
  updated_at DateTime @updatedAt
662
671
  created_by String
@@ -1182,9 +1191,8 @@ enum RoundType {
1182
1191
  }
1183
1192
 
1184
1193
  enum EvaluationCategory {
1185
- EXPERIENCE_SCREENING
1186
- TECHNICAL_SCREENING
1187
- TECHNICAL_INTERVIEW
1194
+ SCREENING
1195
+ BUSINESS_SCREENING
1188
1196
  BUSINESS_ROUND
1189
1197
  BEHAVIORAL_ROUND
1190
1198
 
@@ -1594,6 +1602,8 @@ model Interview {
1594
1602
  ai_feedback_generated_at DateTime?
1595
1603
  /// When recruiter human feedback was last saved (draft or final).
1596
1604
  human_feedback_updated_at DateTime?
1605
+ /// When final human feedback was submitted.
1606
+ evaluated_at DateTime?
1597
1607
 
1598
1608
  /// Self-scheduling
1599
1609
  reschedule_count Int @default(0)
@@ -2067,6 +2077,7 @@ model JobDescription {
2067
2077
  job_fit_comparison Json?
2068
2078
  target_closing_date DateTime?
2069
2079
  closing_date DateTime?
2080
+ opened_at DateTime?
2070
2081
 
2071
2082
  job_number Int?
2072
2083
  job_code String? @unique
@@ -2382,6 +2393,8 @@ model OngoingEvaluation {
2382
2393
  round_status OngoingEvaluationRoundStatus? @default(NOT_SCHEDULED)
2383
2394
  comments String? @default("")
2384
2395
  completed_at DateTime?
2396
+ assigned_at DateTime?
2397
+ result_at DateTime?
2385
2398
  is_committed Boolean?
2386
2399
  /// Evaluation Plan Fields Filled After Round Started
2387
2400
  title String?
@@ -2452,6 +2465,8 @@ model OpenJobAnalytics {
2452
2465
  ongoing_count Int @default(0)
2453
2466
  selected_count Int @default(0)
2454
2467
  rejected_count Int @default(0)
2468
+ on_hold_count Int @default(0)
2469
+ withdrawn_count Int @default(0)
2455
2470
 
2456
2471
  updated_at DateTime @updatedAt
2457
2472
 
@@ -2494,6 +2509,8 @@ model OpenJobAnalyticsDaily {
2494
2509
  ongoing_count Int @default(0)
2495
2510
  selected_count Int @default(0)
2496
2511
  rejected_count Int @default(0)
2512
+ on_hold_count Int @default(0)
2513
+ withdrawn_count Int @default(0)
2497
2514
 
2498
2515
  @@unique([snapshot_date, job_description_id])
2499
2516
  @@index([snapshot_date], map: "ojad_snapshot_date_idx")
@@ -2615,11 +2632,10 @@ model PipelineDistributionAnalytics {
2615
2632
  filtered_in_count Int @default(0)
2616
2633
  min_fit_score Float?
2617
2634
 
2618
- experience_screening_count Int @default(0)
2619
- technical_screening_count Int @default(0)
2620
- technical_interview_count Int @default(0)
2621
- business_round_count Int @default(0)
2622
- behavioral_round_count Int @default(0)
2635
+ screening_count Int @default(0)
2636
+ business_screening_count Int @default(0)
2637
+ business_round_count Int @default(0)
2638
+ behavioral_round_count Int @default(0)
2623
2639
 
2624
2640
  shortlisted_count Int @default(0)
2625
2641
 
@@ -2648,11 +2664,10 @@ model PipelineDistributionAnalyticsDaily {
2648
2664
  filtered_in_count Int @default(0)
2649
2665
  min_fit_score Float?
2650
2666
 
2651
- experience_screening_count Int @default(0)
2652
- technical_screening_count Int @default(0)
2653
- technical_interview_count Int @default(0)
2654
- business_round_count Int @default(0)
2655
- behavioral_round_count Int @default(0)
2667
+ screening_count Int @default(0)
2668
+ business_screening_count Int @default(0)
2669
+ business_round_count Int @default(0)
2670
+ behavioral_round_count Int @default(0)
2656
2671
 
2657
2672
  shortlisted_count Int @default(0)
2658
2673
 
@@ -3083,6 +3098,7 @@ model SourceEffectivenessAnalytics {
3083
3098
  screened_count Int @default(0)
3084
3099
  evaluated_count Int @default(0)
3085
3100
  rejected_count Int @default(0)
3101
+ on_hold_count Int @default(0)
3086
3102
  shortlisted_count Int @default(0)
3087
3103
  offered_count Int @default(0)
3088
3104
  offer_accepted_count Int @default(0)
@@ -3124,6 +3140,7 @@ model SourceEffectivenessAnalyticsDaily {
3124
3140
  screened_count Int @default(0)
3125
3141
  evaluated_count Int @default(0)
3126
3142
  rejected_count Int @default(0)
3143
+ on_hold_count Int @default(0)
3127
3144
  shortlisted_count Int @default(0)
3128
3145
  offered_count Int @default(0)
3129
3146
  offer_accepted_count Int @default(0)