@adaptware/eagles-db 0.4.42 → 0.4.43

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 (39) hide show
  1. package/client/edge.js +26 -16
  2. package/client/index-browser.js +21 -11
  3. package/client/index.d.ts +481 -223
  4. package/client/index.js +26 -16
  5. package/client/libquery_engine-darwin.dylib.node +0 -0
  6. package/client/package.json +1 -1
  7. package/client/schema.prisma +23 -13
  8. package/client/wasm.js +26 -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/evaluationPlan.prisma +2 -3
  17. package/prisma/schema/migrations/20260519120000_add_analytics_schema/migration.sql +84 -0
  18. package/prisma/schema/migrations/20260625120000_add_interviewer_analytics/migration.sql +26 -0
  19. package/prisma/schema/migrations/20260629120000_add_user_lifecycle_activity_events/migration.sql +13 -0
  20. package/prisma/schema/migrations/20260629140000_drop_organisation_org_code/migration.sql +2 -0
  21. package/prisma/schema/migrations/20260629160000_employee_codes_dual_interviewer_analytics/migration.sql +87 -0
  22. package/prisma/schema/migrations/20260630120000_add_application_sources/migration.sql +38 -0
  23. package/prisma/schema/migrations/20260701120000_add_source_effectiveness_analytics/migration.sql +40 -0
  24. package/prisma/schema/migrations/20260702120000_add_analytics_daily_tables/migration.sql +232 -0
  25. package/prisma/schema/migrations/20260716120000_evaluation_category_four_values/migration.sql +204 -0
  26. package/prisma/schema/migrations/20260716130000_application_withdrawn_analytics/migration.sql +31 -0
  27. package/prisma/schema/openJobAnalytics.prisma +4 -0
  28. package/prisma/schema/pipelineDistributionAnalytics.prisma +4 -6
  29. package/prisma/schema/sourceEffectivenessAnalytics.prisma +2 -0
  30. package/prisma/schema/migrations/20260519120000_interview_deadline/migration.sql +0 -2
  31. package/prisma/schema/migrations/20260520120000_interview_duration_drop_deadline/migration.sql +0 -30
  32. package/prisma/schema/migrations/20260602120000_resume_file_hash_drop_unique/migration.sql +0 -2
  33. package/prisma/schema/migrations/20260603120000_job_application_field_is_mandatory/migration.sql +0 -2
  34. package/prisma/schema/migrations/20260604120000_job_application_response_updated_by_organisation/migration.sql +0 -2
  35. package/prisma/schema/migrations/20260605120000_drop_document_application_id/migration.sql +0 -3
  36. package/prisma/schema/migrations/20260610120000_jaf_template_model/migration.sql +0 -70
  37. package/prisma/schema/migrations/20260610130000_assignment_document_fks/migration.sql +0 -15
  38. package/prisma/schema/migrations/20260610140000_jaf_draft_activation/migration.sql +0 -12
  39. 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-36b309c059e84fa970a9d6fe42d85088622e33556b0a18b7d55194a6d808b4d6",
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
  }
@@ -1182,9 +1189,8 @@ enum RoundType {
1182
1189
  }
1183
1190
 
1184
1191
  enum EvaluationCategory {
1185
- EXPERIENCE_SCREENING
1186
- TECHNICAL_SCREENING
1187
- TECHNICAL_INTERVIEW
1192
+ SCREENING
1193
+ BUSINESS_SCREENING
1188
1194
  BUSINESS_ROUND
1189
1195
  BEHAVIORAL_ROUND
1190
1196
 
@@ -2452,6 +2458,8 @@ model OpenJobAnalytics {
2452
2458
  ongoing_count Int @default(0)
2453
2459
  selected_count Int @default(0)
2454
2460
  rejected_count Int @default(0)
2461
+ on_hold_count Int @default(0)
2462
+ withdrawn_count Int @default(0)
2455
2463
 
2456
2464
  updated_at DateTime @updatedAt
2457
2465
 
@@ -2494,6 +2502,8 @@ model OpenJobAnalyticsDaily {
2494
2502
  ongoing_count Int @default(0)
2495
2503
  selected_count Int @default(0)
2496
2504
  rejected_count Int @default(0)
2505
+ on_hold_count Int @default(0)
2506
+ withdrawn_count Int @default(0)
2497
2507
 
2498
2508
  @@unique([snapshot_date, job_description_id])
2499
2509
  @@index([snapshot_date], map: "ojad_snapshot_date_idx")
@@ -2615,11 +2625,10 @@ model PipelineDistributionAnalytics {
2615
2625
  filtered_in_count Int @default(0)
2616
2626
  min_fit_score Float?
2617
2627
 
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)
2628
+ screening_count Int @default(0)
2629
+ business_screening_count Int @default(0)
2630
+ business_round_count Int @default(0)
2631
+ behavioral_round_count Int @default(0)
2623
2632
 
2624
2633
  shortlisted_count Int @default(0)
2625
2634
 
@@ -2648,11 +2657,10 @@ model PipelineDistributionAnalyticsDaily {
2648
2657
  filtered_in_count Int @default(0)
2649
2658
  min_fit_score Float?
2650
2659
 
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)
2660
+ screening_count Int @default(0)
2661
+ business_screening_count Int @default(0)
2662
+ business_round_count Int @default(0)
2663
+ behavioral_round_count Int @default(0)
2656
2664
 
2657
2665
  shortlisted_count Int @default(0)
2658
2666
 
@@ -3083,6 +3091,7 @@ model SourceEffectivenessAnalytics {
3083
3091
  screened_count Int @default(0)
3084
3092
  evaluated_count Int @default(0)
3085
3093
  rejected_count Int @default(0)
3094
+ on_hold_count Int @default(0)
3086
3095
  shortlisted_count Int @default(0)
3087
3096
  offered_count Int @default(0)
3088
3097
  offer_accepted_count Int @default(0)
@@ -3124,6 +3133,7 @@ model SourceEffectivenessAnalyticsDaily {
3124
3133
  screened_count Int @default(0)
3125
3134
  evaluated_count Int @default(0)
3126
3135
  rejected_count Int @default(0)
3136
+ on_hold_count Int @default(0)
3127
3137
  shortlisted_count Int @default(0)
3128
3138
  offered_count Int @default(0)
3129
3139
  offer_accepted_count Int @default(0)