@adaptware/eagles-db 0.5.34 → 0.5.36

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 +15 -232
  2. package/client/index-browser.js +8 -226
  3. package/client/index.d.ts +87500 -107633
  4. package/client/index.js +15 -232
  5. package/client/package.json +1 -1
  6. package/client/schema.prisma +147 -490
  7. package/client/wasm.js +15 -232
  8. package/package.json +1 -1
  9. package/prisma/.DS_Store +0 -0
  10. package/prisma/schema/.DS_Store +0 -0
  11. package/prisma/schema/applications.prisma +34 -29
  12. package/prisma/schema/department.prisma +2 -3
  13. package/prisma/schema/document.prisma +1 -0
  14. package/prisma/schema/jobDescription.prisma +0 -1
  15. package/prisma/schema/migrations/.DS_Store +0 -0
  16. package/prisma/schema/migrations/20260826160000_add_application_fit_check_report_document/.DS_Store +0 -0
  17. package/prisma/schema/migrations/20260826160000_add_application_fit_check_report_document/migration.sql +13 -0
  18. package/prisma/schema/organisation.prisma +0 -6
  19. package/prisma/schema/schema.prisma +1 -1
  20. package/client/libquery_engine-darwin.dylib.node +0 -0
  21. package/prisma/migrations/20260519120000_migrate_shortlisted_to_selected/migration.sql +0 -2
  22. package/prisma/schema/licensing/aiCostLedger.prisma +0 -34
  23. package/prisma/schema/licensing/assignmentHistory.prisma +0 -19
  24. package/prisma/schema/licensing/licensePackageCatalog.prisma +0 -62
  25. package/prisma/schema/licensing/licensingEnums.prisma +0 -80
  26. package/prisma/schema/licensing/licensingLedger.prisma +0 -32
  27. package/prisma/schema/licensing/purchasedLicense.prisma +0 -74
  28. package/prisma/schema/licensing/purchasedTopUp.prisma +0 -39
  29. package/prisma/schema/migrations/20260519120000_add_analytics_schema/migration.sql +0 -84
  30. package/prisma/schema/migrations/20260625120000_add_interviewer_analytics/migration.sql +0 -26
  31. package/prisma/schema/migrations/20260629120000_add_user_lifecycle_activity_events/migration.sql +0 -13
  32. package/prisma/schema/migrations/20260629140000_drop_organisation_org_code/migration.sql +0 -2
  33. package/prisma/schema/migrations/20260629160000_employee_codes_dual_interviewer_analytics/migration.sql +0 -87
  34. package/prisma/schema/migrations/20260630120000_add_application_sources/migration.sql +0 -38
  35. package/prisma/schema/migrations/20260701120000_add_source_effectiveness_analytics/migration.sql +0 -40
  36. package/prisma/schema/migrations/20260702120000_add_analytics_daily_tables/migration.sql +0 -232
  37. package/prisma/schema/migrations/20260716120000_evaluation_category_four_values/migration.sql +0 -204
  38. package/prisma/schema/migrations/20260716130000_application_withdrawn_analytics/migration.sql +0 -31
  39. package/prisma/schema/migrations/20260804120000_contact_us_optional_website_subject/migration.sql +0 -3
  40. package/prisma/schema/migrations/20260810120000_add_licensing_schema/migration.sql +0 -237
  41. package/prisma/schema/migrations/20260814153000_add_licensing_ledger/migration.sql +0 -236
  42. package/prisma/schema/migrations/20260828120000_license_package_orgs_cost_price_ai_cost_ledger/migration.sql +0 -74
  43. package/prisma/schema/migrations/20260831120000_ai_cost_ledger_purchase_reason/migration.sql +0 -2
  44. package/prisma/schema/migrations/20260831140000_ai_cost_ledger_nullable_hiring_unit/migration.sql +0 -3
@@ -281,7 +281,10 @@ exports.Prisma.ApplicationScalarFieldEnum = {
281
281
  updated_at: 'updated_at',
282
282
  created_by: 'created_by',
283
283
  updated_by: 'updated_by',
284
- is_active: 'is_active'
284
+ is_active: 'is_active',
285
+ fit_check_report_document_id: 'fit_check_report_document_id',
286
+ fit_check_report_updated_flag: 'fit_check_report_updated_flag',
287
+ fit_check_report_data: 'fit_check_report_data'
285
288
  };
286
289
 
287
290
  exports.Prisma.ApprovalScalarFieldEnum = {
@@ -847,6 +850,7 @@ exports.Prisma.FitCheckScalarFieldEnum = {
847
850
  skills_analysis: 'skills_analysis',
848
851
  overall_analysis: 'overall_analysis',
849
852
  overall_score: 'overall_score',
853
+ overall_recommendation: 'overall_recommendation',
850
854
  short_match_analysis: 'short_match_analysis',
851
855
  fit_comparison: 'fit_comparison',
852
856
  recommendation: 'recommendation',
@@ -1429,159 +1433,6 @@ exports.Prisma.JobRoundAnalyticsDailyScalarFieldEnum = {
1429
1433
  avg_completion_minutes: 'avg_completion_minutes'
1430
1434
  };
1431
1435
 
1432
- exports.Prisma.AiCostLedgerEntryScalarFieldEnum = {
1433
- id: 'id',
1434
- organisation_id: 'organisation_id',
1435
- purchased_hiring_unit_id: 'purchased_hiring_unit_id',
1436
- workflow_name: 'workflow_name',
1437
- direction: 'direction',
1438
- amount: 'amount',
1439
- reason: 'reason',
1440
- occurred_at: 'occurred_at',
1441
- source_type: 'source_type',
1442
- source_id: 'source_id',
1443
- description: 'description',
1444
- idempotency_key: 'idempotency_key',
1445
- created_at: 'created_at',
1446
- updated_at: 'updated_at',
1447
- created_by: 'created_by',
1448
- updated_by: 'updated_by',
1449
- is_active: 'is_active'
1450
- };
1451
-
1452
- exports.Prisma.PurchasedHiringUnitAssignmentEventScalarFieldEnum = {
1453
- id: 'id',
1454
- purchased_hiring_unit_id: 'purchased_hiring_unit_id',
1455
- event_kind: 'event_kind',
1456
- previous_department_id: 'previous_department_id',
1457
- new_department_id: 'new_department_id',
1458
- previous_job_description_id: 'previous_job_description_id',
1459
- new_job_description_id: 'new_job_description_id',
1460
- effective_at: 'effective_at',
1461
- created_by: 'created_by'
1462
- };
1463
-
1464
- exports.Prisma.LicensePackageScalarFieldEnum = {
1465
- id: 'id',
1466
- code: 'code',
1467
- version: 'version',
1468
- name: 'name',
1469
- description: 'description',
1470
- price: 'price',
1471
- cost_price: 'cost_price',
1472
- currency: 'currency',
1473
- status: 'status',
1474
- units_per_purchase: 'units_per_purchase',
1475
- interview_ai_assisted_hours: 'interview_ai_assisted_hours',
1476
- interview_full_ai_hours: 'interview_full_ai_hours',
1477
- interview_non_ai_hours: 'interview_non_ai_hours',
1478
- assignment_count: 'assignment_count',
1479
- test_count: 'test_count',
1480
- resume_count: 'resume_count',
1481
- credits: 'credits',
1482
- created_at: 'created_at',
1483
- updated_at: 'updated_at',
1484
- created_by: 'created_by',
1485
- updated_by: 'updated_by',
1486
- is_active: 'is_active'
1487
- };
1488
-
1489
- exports.Prisma.LicensePackageOrganisationScalarFieldEnum = {
1490
- id: 'id',
1491
- license_package_id: 'license_package_id',
1492
- organisation_id: 'organisation_id',
1493
- created_at: 'created_at',
1494
- updated_at: 'updated_at',
1495
- created_by: 'created_by',
1496
- updated_by: 'updated_by',
1497
- is_active: 'is_active'
1498
- };
1499
-
1500
- exports.Prisma.LicensingLedgerEntryScalarFieldEnum = {
1501
- id: 'id',
1502
- organisation_id: 'organisation_id',
1503
- purchased_hiring_unit_id: 'purchased_hiring_unit_id',
1504
- entitlement_type: 'entitlement_type',
1505
- direction: 'direction',
1506
- amount: 'amount',
1507
- reason: 'reason',
1508
- occurred_at: 'occurred_at',
1509
- source_type: 'source_type',
1510
- source_id: 'source_id',
1511
- description: 'description',
1512
- idempotency_key: 'idempotency_key',
1513
- created_at: 'created_at',
1514
- updated_at: 'updated_at',
1515
- created_by: 'created_by',
1516
- updated_by: 'updated_by',
1517
- is_active: 'is_active'
1518
- };
1519
-
1520
- exports.Prisma.PurchasedLicensePackageScalarFieldEnum = {
1521
- id: 'id',
1522
- organisation_id: 'organisation_id',
1523
- license_package_id: 'license_package_id',
1524
- package_code: 'package_code',
1525
- package_version: 'package_version',
1526
- package_name: 'package_name',
1527
- price: 'price',
1528
- currency: 'currency',
1529
- units_per_purchase: 'units_per_purchase',
1530
- package_quantity: 'package_quantity',
1531
- purchased_at: 'purchased_at',
1532
- status: 'status',
1533
- created_at: 'created_at',
1534
- updated_at: 'updated_at',
1535
- created_by: 'created_by',
1536
- updated_by: 'updated_by',
1537
- is_active: 'is_active'
1538
- };
1539
-
1540
- exports.Prisma.PurchasedHiringUnitScalarFieldEnum = {
1541
- id: 'id',
1542
- organisation_id: 'organisation_id',
1543
- purchased_license_package_id: 'purchased_license_package_id',
1544
- status: 'status',
1545
- department_id: 'department_id',
1546
- first_assigned_at: 'first_assigned_at',
1547
- expiry_at: 'expiry_at',
1548
- job_description_id: 'job_description_id',
1549
- created_at: 'created_at',
1550
- updated_at: 'updated_at',
1551
- created_by: 'created_by',
1552
- updated_by: 'updated_by',
1553
- is_active: 'is_active'
1554
- };
1555
-
1556
- exports.Prisma.PurchasedTopUpScalarFieldEnum = {
1557
- id: 'id',
1558
- organisation_id: 'organisation_id',
1559
- purchased_at: 'purchased_at',
1560
- status: 'status',
1561
- total_price: 'total_price',
1562
- currency: 'currency',
1563
- description: 'description',
1564
- interview_ai_assisted_hours_purchased: 'interview_ai_assisted_hours_purchased',
1565
- interview_full_ai_hours_purchased: 'interview_full_ai_hours_purchased',
1566
- interview_non_ai_hours_purchased: 'interview_non_ai_hours_purchased',
1567
- assignment_count_purchased: 'assignment_count_purchased',
1568
- test_count_purchased: 'test_count_purchased',
1569
- resume_count_purchased: 'resume_count_purchased',
1570
- credits_purchased: 'credits_purchased',
1571
- interview_ai_assisted_hours_remaining: 'interview_ai_assisted_hours_remaining',
1572
- interview_full_ai_hours_remaining: 'interview_full_ai_hours_remaining',
1573
- interview_non_ai_hours_remaining: 'interview_non_ai_hours_remaining',
1574
- assignment_count_remaining: 'assignment_count_remaining',
1575
- test_count_remaining: 'test_count_remaining',
1576
- resume_count_remaining: 'resume_count_remaining',
1577
- credits_remaining: 'credits_remaining',
1578
- created_at: 'created_at',
1579
- updated_at: 'updated_at',
1580
- created_by: 'created_by',
1581
- updated_by: 'updated_by',
1582
- is_active: 'is_active'
1583
- };
1584
-
1585
1436
  exports.Prisma.LiveAnalysisScalarFieldEnum = {
1586
1437
  id: 'id',
1587
1438
  interview_id: 'interview_id',
@@ -2228,6 +2079,7 @@ exports.Prisma.UserScalarFieldEnum = {
2228
2079
  first_login_status: 'first_login_status',
2229
2080
  name: 'name',
2230
2081
  phone: 'phone',
2082
+ communication_email: 'communication_email',
2231
2083
  description: 'description',
2232
2084
  date_of_birth: 'date_of_birth',
2233
2085
  designation: 'designation',
@@ -2586,7 +2438,8 @@ exports.CommMessageStatus = exports.$Enums.CommMessageStatus = {
2586
2438
  exports.CompetencyCategory = exports.$Enums.CompetencyCategory = {
2587
2439
  TECHNICAL: 'TECHNICAL',
2588
2440
  BEHAVIOURAL: 'BEHAVIOURAL',
2589
- AI: 'AI'
2441
+ AI: 'AI',
2442
+ EXPERIENCE_RELEVANCE: 'EXPERIENCE_RELEVANCE'
2590
2443
  };
2591
2444
 
2592
2445
  exports.HiringPlanSectionStatus = exports.$Enums.HiringPlanSectionStatus = {
@@ -2745,69 +2598,6 @@ exports.JobProfileStatus = exports.$Enums.JobProfileStatus = {
2745
2598
  COMPLETE: 'COMPLETE'
2746
2599
  };
2747
2600
 
2748
- exports.LicensingLedgerDirection = exports.$Enums.LicensingLedgerDirection = {
2749
- CREDIT: 'CREDIT',
2750
- DEBIT: 'DEBIT'
2751
- };
2752
-
2753
- exports.AiCostLedgerReason = exports.$Enums.AiCostLedgerReason = {
2754
- PURCHASE: 'PURCHASE',
2755
- USAGE: 'USAGE',
2756
- ADJUSTMENT: 'ADJUSTMENT',
2757
- REFUND: 'REFUND'
2758
- };
2759
-
2760
- exports.PurchasedHiringUnitAssignmentEventKind = exports.$Enums.PurchasedHiringUnitAssignmentEventKind = {
2761
- DEPARTMENT_ASSIGNED: 'DEPARTMENT_ASSIGNED',
2762
- DEPARTMENT_UNASSIGNED: 'DEPARTMENT_UNASSIGNED',
2763
- JOB_LINKED: 'JOB_LINKED',
2764
- JOB_UNLINKED: 'JOB_UNLINKED'
2765
- };
2766
-
2767
- exports.LicensePackageStatus = exports.$Enums.LicensePackageStatus = {
2768
- DRAFT: 'DRAFT',
2769
- ACTIVE: 'ACTIVE',
2770
- ARCHIVED: 'ARCHIVED'
2771
- };
2772
-
2773
- exports.LicensingLedgerEntitlementType = exports.$Enums.LicensingLedgerEntitlementType = {
2774
- INTERVIEW_AI_ASSISTED_HOURS: 'INTERVIEW_AI_ASSISTED_HOURS',
2775
- INTERVIEW_FULL_AI_HOURS: 'INTERVIEW_FULL_AI_HOURS',
2776
- INTERVIEW_NON_AI_HOURS: 'INTERVIEW_NON_AI_HOURS',
2777
- ASSIGNMENT_COUNT: 'ASSIGNMENT_COUNT',
2778
- TEST_COUNT: 'TEST_COUNT',
2779
- RESUME_COUNT: 'RESUME_COUNT',
2780
- CREDITS: 'CREDITS'
2781
- };
2782
-
2783
- exports.LicensingLedgerReason = exports.$Enums.LicensingLedgerReason = {
2784
- PURCHASE: 'PURCHASE',
2785
- TOP_UP: 'TOP_UP',
2786
- USAGE: 'USAGE',
2787
- ADJUSTMENT: 'ADJUSTMENT',
2788
- REFUND: 'REFUND',
2789
- EXPIRY: 'EXPIRY'
2790
- };
2791
-
2792
- exports.PurchasedLicensePackageStatus = exports.$Enums.PurchasedLicensePackageStatus = {
2793
- ACTIVE: 'ACTIVE',
2794
- EXPIRED: 'EXPIRED',
2795
- CANCELLED: 'CANCELLED'
2796
- };
2797
-
2798
- exports.PurchasedHiringUnitStatus = exports.$Enums.PurchasedHiringUnitStatus = {
2799
- AVAILABLE: 'AVAILABLE',
2800
- ASSIGNED: 'ASSIGNED',
2801
- ACTIVE: 'ACTIVE',
2802
- EXPIRED: 'EXPIRED'
2803
- };
2804
-
2805
- exports.PurchasedTopUpStatus = exports.$Enums.PurchasedTopUpStatus = {
2806
- ACTIVE: 'ACTIVE',
2807
- DEPLETED: 'DEPLETED',
2808
- CANCELLED: 'CANCELLED'
2809
- };
2810
-
2811
2601
  exports.OfferLetterTemplateScope = exports.$Enums.OfferLetterTemplateScope = {
2812
2602
  ORGANIZATION: 'ORGANIZATION',
2813
2603
  JOB: 'JOB'
@@ -2976,14 +2766,6 @@ exports.Prisma.ModelName = {
2976
2766
  JobProfile: 'JobProfile',
2977
2767
  JobRoundAnalytics: 'JobRoundAnalytics',
2978
2768
  JobRoundAnalyticsDaily: 'JobRoundAnalyticsDaily',
2979
- AiCostLedgerEntry: 'AiCostLedgerEntry',
2980
- PurchasedHiringUnitAssignmentEvent: 'PurchasedHiringUnitAssignmentEvent',
2981
- LicensePackage: 'LicensePackage',
2982
- LicensePackageOrganisation: 'LicensePackageOrganisation',
2983
- LicensingLedgerEntry: 'LicensingLedgerEntry',
2984
- PurchasedLicensePackage: 'PurchasedLicensePackage',
2985
- PurchasedHiringUnit: 'PurchasedHiringUnit',
2986
- PurchasedTopUp: 'PurchasedTopUp',
2987
2769
  LiveAnalysis: 'LiveAnalysis',
2988
2770
  Message: 'Message',
2989
2771
  Notes: 'Notes',