@adaptware/eagles-db 0.5.8 → 0.5.10

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 (53) hide show
  1. package/client/edge.js +88 -41
  2. package/client/index-browser.js +92 -44
  3. package/client/index.d.ts +14911 -7824
  4. package/client/index.js +88 -41
  5. package/client/libquery_engine-darwin.dylib.node +0 -0
  6. package/client/package.json +1 -1
  7. package/client/schema.prisma +152 -92
  8. package/client/wasm.js +88 -41
  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/applications.prisma +0 -2
  14. package/prisma/schema/assessmentRoundAnalytics.prisma +0 -2
  15. package/prisma/schema/assignmentRoundAnalytics.prisma +0 -2
  16. package/prisma/schema/evaluationPlan.prisma +0 -32
  17. package/prisma/schema/interview.prisma +32 -44
  18. package/prisma/schema/interviewRoundAnalytics.prisma +35 -37
  19. package/prisma/schema/migrations/20260519120000_add_analytics_schema/migration.sql +84 -0
  20. package/prisma/schema/migrations/20260625120000_add_interviewer_analytics/migration.sql +26 -0
  21. package/prisma/schema/migrations/20260629120000_add_user_lifecycle_activity_events/migration.sql +13 -0
  22. package/prisma/schema/migrations/20260629140000_drop_organisation_org_code/migration.sql +2 -0
  23. package/prisma/schema/migrations/20260629160000_employee_codes_dual_interviewer_analytics/migration.sql +87 -0
  24. package/prisma/schema/migrations/20260630120000_add_application_sources/migration.sql +38 -0
  25. package/prisma/schema/migrations/20260701120000_add_source_effectiveness_analytics/migration.sql +40 -0
  26. package/prisma/schema/migrations/20260702120000_add_analytics_daily_tables/migration.sql +232 -0
  27. package/prisma/schema/migrations/20260716120000_evaluation_category_four_values/migration.sql +204 -0
  28. package/prisma/schema/migrations/20260716130000_application_withdrawn_analytics/migration.sql +31 -0
  29. package/prisma/schema/ongoingEvaluation.prisma +0 -1
  30. package/prisma/schema/organisation.prisma +2 -0
  31. package/prisma/schema/schema.prisma +1 -1
  32. package/prisma/schema/usage/licenseIncludedWorkflow.prisma +14 -0
  33. package/prisma/schema/usage/usageAggregate.prisma +23 -0
  34. package/prisma/schema/usage/usageEnums.prisma +24 -0
  35. package/prisma/schema/usage/usageLedgerEntry.prisma +26 -0
  36. package/prisma/schema/usage/usageMetricDefinition.prisma +19 -0
  37. package/prisma/schema/migrations/20260522120000_ongoing_evaluation_record_kind/migration.sql +0 -25
  38. package/prisma/schema/migrations/20260523120000_replace_record_kind_with_is_committed/migration.sql +0 -24
  39. package/prisma/schema/migrations/20260528120000_drop_job_description_recommendation_config/migration.sql +0 -2
  40. package/prisma/schema/migrations/20260710120000_add_resume_rendered_export_fields/migration.sql +0 -9
  41. package/prisma/schema/migrations/20260714120000_add_job_description_display_html_document/migration.sql +0 -8
  42. package/prisma/schema/migrations/20260716120000_add_offer_letters/migration.sql +0 -183
  43. package/prisma/schema/migrations/20260716140000_offer_schema_refinements/migration.sql +0 -13
  44. package/prisma/schema/migrations/20260716160000_offer_schema_hardening/migration.sql +0 -95
  45. package/prisma/schema/migrations/20260716180000_offer_letter_template_config/migration.sql +0 -2
  46. package/prisma/schema/migrations/20260716190000_add_evaluation_focus_areas/migration.sql +0 -6
  47. package/prisma/schema/migrations/20260717120000_offer_workflow_approval/migration.sql +0 -30
  48. package/prisma/schema/migrations/20260720120000_offer_letter_template_is_draft/migration.sql +0 -5
  49. package/prisma/schema/migrations/20260720140000_offer_status_split/migration.sql +0 -51
  50. package/prisma/schema/migrations/20260720140001_offer_status_split_backfill/migration.sql +0 -37
  51. package/prisma/schema/migrations/20260722120000_offer_draft_edited_html/migration.sql +0 -13
  52. package/prisma/schema/migrations/20260723150000_offer_withdraw_actor_no_show_reason/migration.sql +0 -10
  53. package/prisma/schema/migrations/20260724120000_open_job_offer_accepted_declined_counts/migration.sql +0 -7
@@ -277,7 +277,6 @@ exports.Prisma.ApplicationScalarFieldEnum = {
277
277
  fit_check_status: 'fit_check_status',
278
278
  status: 'status',
279
279
  offer_status: 'offer_status',
280
- offer_substatus: 'offer_substatus',
281
280
  created_at: 'created_at',
282
281
  updated_at: 'updated_at',
283
282
  created_by: 'created_by',
@@ -358,7 +357,6 @@ exports.Prisma.AssessmentRoundAnalyticsScalarFieldEnum = {
358
357
  round_name: 'round_name',
359
358
  evaluation_category: 'evaluation_category',
360
359
  round_type: 'round_type',
361
- round_format: 'round_format',
362
360
  plan_order_no: 'plan_order_no',
363
361
  plan_type: 'plan_type',
364
362
  is_custom: 'is_custom',
@@ -398,7 +396,6 @@ exports.Prisma.AssessmentRoundAnalyticsDailyScalarFieldEnum = {
398
396
  round_name: 'round_name',
399
397
  evaluation_category: 'evaluation_category',
400
398
  round_type: 'round_type',
401
- round_format: 'round_format',
402
399
  plan_order_no: 'plan_order_no',
403
400
  plan_type: 'plan_type',
404
401
  is_custom: 'is_custom',
@@ -476,7 +473,6 @@ exports.Prisma.AssignmentRoundAnalyticsScalarFieldEnum = {
476
473
  round_name: 'round_name',
477
474
  evaluation_category: 'evaluation_category',
478
475
  round_type: 'round_type',
479
- round_format: 'round_format',
480
476
  plan_order_no: 'plan_order_no',
481
477
  plan_type: 'plan_type',
482
478
  is_custom: 'is_custom',
@@ -516,7 +512,6 @@ exports.Prisma.AssignmentRoundAnalyticsDailyScalarFieldEnum = {
516
512
  round_name: 'round_name',
517
513
  evaluation_category: 'evaluation_category',
518
514
  round_type: 'round_type',
519
- round_format: 'round_format',
520
515
  plan_order_no: 'plan_order_no',
521
516
  plan_type: 'plan_type',
522
517
  is_custom: 'is_custom',
@@ -781,7 +776,6 @@ exports.Prisma.EvaluationPlanScalarFieldEnum = {
781
776
  assignment_library_id: 'assignment_library_id',
782
777
  title: 'title',
783
778
  description: 'description',
784
- format: 'format',
785
779
  focus_areas: 'focus_areas',
786
780
  topics: 'topics',
787
781
  assignee: 'assignee',
@@ -1025,13 +1019,9 @@ exports.Prisma.InterviewScalarFieldEnum = {
1025
1019
  ai_assistance_mode: 'ai_assistance_mode',
1026
1020
  interview_status: 'interview_status',
1027
1021
  interview_platform: 'interview_platform',
1028
- ai_interview_feedback: 'ai_interview_feedback',
1029
- interview_feedback: 'interview_feedback',
1030
1022
  overall_feedback: 'overall_feedback',
1031
- interview_rating: 'interview_rating',
1032
1023
  ai_feedback: 'ai_feedback',
1033
1024
  human_feedback: 'human_feedback',
1034
- interviewer_feedback: 'interviewer_feedback',
1035
1025
  section_feedback: 'section_feedback',
1036
1026
  interview_preparation: 'interview_preparation',
1037
1027
  final_feedback: 'final_feedback',
@@ -1082,7 +1072,6 @@ exports.Prisma.InterviewRoundAnalyticsScalarFieldEnum = {
1082
1072
  round_name: 'round_name',
1083
1073
  evaluation_category: 'evaluation_category',
1084
1074
  round_type: 'round_type',
1085
- round_format: 'round_format',
1086
1075
  plan_order_no: 'plan_order_no',
1087
1076
  plan_type: 'plan_type',
1088
1077
  is_custom: 'is_custom',
@@ -1131,7 +1120,6 @@ exports.Prisma.InterviewRoundAnalyticsDailyScalarFieldEnum = {
1131
1120
  round_name: 'round_name',
1132
1121
  evaluation_category: 'evaluation_category',
1133
1122
  round_type: 'round_type',
1134
- round_format: 'round_format',
1135
1123
  plan_order_no: 'plan_order_no',
1136
1124
  plan_type: 'plan_type',
1137
1125
  is_custom: 'is_custom',
@@ -1577,7 +1565,6 @@ exports.Prisma.OngoingEvaluationScalarFieldEnum = {
1577
1565
  title: 'title',
1578
1566
  description: 'description',
1579
1567
  order_no: 'order_no',
1580
- format: 'format',
1581
1568
  round_purpose: 'round_purpose',
1582
1569
  focus_areas: 'focus_areas',
1583
1570
  topics: 'topics',
@@ -2008,6 +1995,65 @@ exports.Prisma.TranscriptScalarFieldEnum = {
2008
1995
  is_active: 'is_active'
2009
1996
  };
2010
1997
 
1998
+ exports.Prisma.LicenseIncludedWorkflowScalarFieldEnum = {
1999
+ id: 'id',
2000
+ workflow_name: 'workflow_name',
2001
+ created_at: 'created_at',
2002
+ updated_at: 'updated_at',
2003
+ created_by: 'created_by',
2004
+ updated_by: 'updated_by',
2005
+ is_active: 'is_active'
2006
+ };
2007
+
2008
+ exports.Prisma.UsageAggregateScalarFieldEnum = {
2009
+ id: 'id',
2010
+ organisation_id: 'organisation_id',
2011
+ metric_key: 'metric_key',
2012
+ dimension_hash: 'dimension_hash',
2013
+ dimensions: 'dimensions',
2014
+ total_quantity: 'total_quantity',
2015
+ period_start: 'period_start',
2016
+ period_end: 'period_end',
2017
+ created_at: 'created_at',
2018
+ updated_at: 'updated_at',
2019
+ created_by: 'created_by',
2020
+ updated_by: 'updated_by',
2021
+ is_active: 'is_active'
2022
+ };
2023
+
2024
+ exports.Prisma.UsageLedgerEntryScalarFieldEnum = {
2025
+ id: 'id',
2026
+ organisation_id: 'organisation_id',
2027
+ metric_key: 'metric_key',
2028
+ quantity: 'quantity',
2029
+ occurred_at: 'occurred_at',
2030
+ dimensions: 'dimensions',
2031
+ idempotency_key: 'idempotency_key',
2032
+ source_type: 'source_type',
2033
+ source_id: 'source_id',
2034
+ resource_type: 'resource_type',
2035
+ resource_id: 'resource_id',
2036
+ created_at: 'created_at',
2037
+ updated_at: 'updated_at',
2038
+ created_by: 'created_by',
2039
+ updated_by: 'updated_by',
2040
+ is_active: 'is_active'
2041
+ };
2042
+
2043
+ exports.Prisma.UsageMetricDefinitionScalarFieldEnum = {
2044
+ id: 'id',
2045
+ key: 'key',
2046
+ name: 'name',
2047
+ unit: 'unit',
2048
+ aggregation_type: 'aggregation_type',
2049
+ metadata: 'metadata',
2050
+ created_at: 'created_at',
2051
+ updated_at: 'updated_at',
2052
+ created_by: 'created_by',
2053
+ updated_by: 'updated_by',
2054
+ is_active: 'is_active'
2055
+ };
2056
+
2011
2057
  exports.Prisma.UserScalarFieldEnum = {
2012
2058
  id: 'id',
2013
2059
  email: 'email',
@@ -2282,16 +2328,6 @@ exports.OfferStatus = exports.$Enums.OfferStatus = {
2282
2328
  NO_SHOW: 'NO_SHOW'
2283
2329
  };
2284
2330
 
2285
- exports.OfferSubstatus = exports.$Enums.OfferSubstatus = {
2286
- OFFER_CREATED: 'OFFER_CREATED',
2287
- PENDING_APPROVAL: 'PENDING_APPROVAL',
2288
- OFFER_SENT: 'OFFER_SENT',
2289
- VIEWED: 'VIEWED',
2290
- CHANGE_REQUESTED: 'CHANGE_REQUESTED',
2291
- CHANGE_UNDER_REVIEW: 'CHANGE_UNDER_REVIEW',
2292
- COUNTER_OFFER_SENT: 'COUNTER_OFFER_SENT'
2293
- };
2294
-
2295
2331
  exports.EvaluationCategory = exports.$Enums.EvaluationCategory = {
2296
2332
  SCREENING: 'SCREENING',
2297
2333
  BUSINESS_SCREENING: 'BUSINESS_SCREENING',
@@ -2306,20 +2342,6 @@ exports.RoundType = exports.$Enums.RoundType = {
2306
2342
  SCREENING: 'SCREENING'
2307
2343
  };
2308
2344
 
2309
- exports.EvaluationRoundFormat = exports.$Enums.EvaluationRoundFormat = {
2310
- PHONE_CALL: 'PHONE_CALL',
2311
- VIDEO_CALL_AI_ASSISTED: 'VIDEO_CALL_AI_ASSISTED',
2312
- VIDEO_CALL_UNASSISTED: 'VIDEO_CALL_UNASSISTED',
2313
- AI_GENERATED_TEST: 'AI_GENERATED_TEST',
2314
- UPLOADED_TEST: 'UPLOADED_TEST',
2315
- EXTERNAL_PLATFORM: 'EXTERNAL_PLATFORM',
2316
- AI_GENERATED_ASSIGNMENT: 'AI_GENERATED_ASSIGNMENT',
2317
- UPLOADED_ASSIGNMENT: 'UPLOADED_ASSIGNMENT',
2318
- TREADSPACE_AI_ASSISTED: 'TREADSPACE_AI_ASSISTED',
2319
- EXTERNAL_VIDEO_AI_ASSISTED: 'EXTERNAL_VIDEO_AI_ASSISTED',
2320
- EXTERNAL_VIDEO_UNASSISTED: 'EXTERNAL_VIDEO_UNASSISTED'
2321
- };
2322
-
2323
2345
  exports.EvaluationPlanType = exports.$Enums.EvaluationPlanType = {
2324
2346
  CUSTOM: 'CUSTOM',
2325
2347
  GENERIC: 'GENERIC',
@@ -2526,13 +2548,6 @@ exports.InterviewPlatform = exports.$Enums.InterviewPlatform = {
2526
2548
  ZOOM: 'ZOOM'
2527
2549
  };
2528
2550
 
2529
- exports.InterviewFeedback = exports.$Enums.InterviewFeedback = {
2530
- STRONG_HIRE: 'STRONG_HIRE',
2531
- HIRE: 'HIRE',
2532
- NO_HIRE: 'NO_HIRE',
2533
- STRONG_NO_HIRE: 'STRONG_NO_HIRE'
2534
- };
2535
-
2536
2551
  exports.InterviewRecommendation = exports.$Enums.InterviewRecommendation = {
2537
2552
  ACCEPTED: 'ACCEPTED',
2538
2553
  REJECTED: 'REJECTED',
@@ -2574,6 +2589,16 @@ exports.OfferLetterTemplateScope = exports.$Enums.OfferLetterTemplateScope = {
2574
2589
  JOB: 'JOB'
2575
2590
  };
2576
2591
 
2592
+ exports.OfferSubstatus = exports.$Enums.OfferSubstatus = {
2593
+ OFFER_CREATED: 'OFFER_CREATED',
2594
+ PENDING_APPROVAL: 'PENDING_APPROVAL',
2595
+ OFFER_SENT: 'OFFER_SENT',
2596
+ VIEWED: 'VIEWED',
2597
+ CHANGE_REQUESTED: 'CHANGE_REQUESTED',
2598
+ CHANGE_UNDER_REVIEW: 'CHANGE_UNDER_REVIEW',
2599
+ COUNTER_OFFER_SENT: 'COUNTER_OFFER_SENT'
2600
+ };
2601
+
2577
2602
  exports.OfferWithdrawReason = exports.$Enums.OfferWithdrawReason = {
2578
2603
  ROLE_CLOSED: 'ROLE_CLOSED',
2579
2604
  CANDIDATE_ACCEPTED_ELSEWHERE: 'CANDIDATE_ACCEPTED_ELSEWHERE',
@@ -2667,6 +2692,25 @@ exports.Difficulty = exports.$Enums.Difficulty = {
2667
2692
  HARD: 'HARD'
2668
2693
  };
2669
2694
 
2695
+ exports.UsageSourceType = exports.$Enums.UsageSourceType = {
2696
+ activity_event: 'activity_event',
2697
+ usage_publisher: 'usage_publisher',
2698
+ reconcile: 'reconcile'
2699
+ };
2700
+
2701
+ exports.UsageUnit = exports.$Enums.UsageUnit = {
2702
+ COUNT: 'COUNT',
2703
+ BYTES: 'BYTES',
2704
+ SECONDS: 'SECONDS',
2705
+ TOKENS: 'TOKENS',
2706
+ COST: 'COST'
2707
+ };
2708
+
2709
+ exports.UsageAggregationType = exports.$Enums.UsageAggregationType = {
2710
+ SUM: 'SUM',
2711
+ GAUGE: 'GAUGE'
2712
+ };
2713
+
2670
2714
  exports.UserInvitationStatus = exports.$Enums.UserInvitationStatus = {
2671
2715
  INVITED: 'INVITED',
2672
2716
  ACCEPTED: 'ACCEPTED',
@@ -2772,6 +2816,10 @@ exports.Prisma.ModelName = {
2772
2816
  SourceEffectivenessAnalyticsDaily: 'SourceEffectivenessAnalyticsDaily',
2773
2817
  Suggestion: 'Suggestion',
2774
2818
  Transcript: 'Transcript',
2819
+ LicenseIncludedWorkflow: 'LicenseIncludedWorkflow',
2820
+ UsageAggregate: 'UsageAggregate',
2821
+ UsageLedgerEntry: 'UsageLedgerEntry',
2822
+ UsageMetricDefinition: 'UsageMetricDefinition',
2775
2823
  User: 'User',
2776
2824
  UserProfile: 'UserProfile',
2777
2825
  ZoomMeeting: 'ZoomMeeting',