@adaptware/eagles-db 0.5.20 → 0.5.22

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 (33) hide show
  1. package/client/edge.js +29 -96
  2. package/client/index-browser.js +18 -85
  3. package/client/index.d.ts +757 -5626
  4. package/client/index.js +29 -96
  5. package/client/package.json +1 -1
  6. package/client/schema.prisma +62 -156
  7. package/client/wasm.js +29 -96
  8. package/package.json +1 -1
  9. package/prisma/.DS_Store +0 -0
  10. package/prisma/schema/activityEvent.prisma +8 -4
  11. package/prisma/schema/applications.prisma +27 -3
  12. package/prisma/schema/integration.prisma +1 -0
  13. package/prisma/schema/migrations/.DS_Store +0 -0
  14. package/prisma/schema/migrations/20260610100000_add_communication/migration.sql +131 -0
  15. package/prisma/schema/migrations/20260610170000_add_communication_application_scope/migration.sql +45 -0
  16. package/prisma/schema/migrations/20260718120000_add_hiring_plan/migration.sql +208 -0
  17. package/prisma/schema/migrations/20260718140000_hiring_plan_assumptions/migration.sql +2 -0
  18. package/prisma/schema/migrations/20260807140000_simplify_offer_status_model/migration.sql +109 -0
  19. package/prisma/schema/offer.prisma +9 -132
  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/.DS_Store +0 -0
  23. package/prisma/schema/migrations/20260519120000_add_analytics_schema/migration.sql +0 -84
  24. package/prisma/schema/migrations/20260625120000_add_interviewer_analytics/migration.sql +0 -26
  25. package/prisma/schema/migrations/20260629120000_add_user_lifecycle_activity_events/migration.sql +0 -13
  26. package/prisma/schema/migrations/20260629140000_drop_organisation_org_code/migration.sql +0 -2
  27. package/prisma/schema/migrations/20260629160000_employee_codes_dual_interviewer_analytics/migration.sql +0 -87
  28. package/prisma/schema/migrations/20260630120000_add_application_sources/migration.sql +0 -38
  29. package/prisma/schema/migrations/20260701120000_add_source_effectiveness_analytics/migration.sql +0 -40
  30. package/prisma/schema/migrations/20260702120000_add_analytics_daily_tables/migration.sql +0 -232
  31. package/prisma/schema/migrations/20260716120000_evaluation_category_four_values/migration.sql +0 -204
  32. package/prisma/schema/migrations/20260716130000_application_withdrawn_analytics/migration.sql +0 -31
  33. package/prisma/schema/migrations/20260804120000_contact_us_optional_website_subject/migration.sql +0 -3
@@ -276,7 +276,7 @@ exports.Prisma.ApplicationScalarFieldEnum = {
276
276
  unflagged_by: 'unflagged_by',
277
277
  fit_check_status: 'fit_check_status',
278
278
  status: 'status',
279
- offer_status: 'offer_status',
279
+ offer_substatus: 'offer_substatus',
280
280
  created_at: 'created_at',
281
281
  updated_at: 'updated_at',
282
282
  created_by: 'created_by',
@@ -1480,20 +1480,15 @@ exports.Prisma.OfferScalarFieldEnum = {
1480
1480
  candidate_id: 'candidate_id',
1481
1481
  job_description_id: 'job_description_id',
1482
1482
  template_id: 'template_id',
1483
- status: 'status',
1484
- substatus: 'substatus',
1485
1483
  letter_version_count: 'letter_version_count',
1486
- change_request_count: 'change_request_count',
1487
1484
  current_offer_letter_id: 'current_offer_letter_id',
1488
1485
  terms: 'terms',
1489
1486
  draft_edited_html_document_id: 'draft_edited_html_document_id',
1490
- expires_at: 'expires_at',
1491
1487
  sent_at: 'sent_at',
1492
1488
  responded_at: 'responded_at',
1493
1489
  accepted_at: 'accepted_at',
1494
1490
  declined_at: 'declined_at',
1495
1491
  withdrawn_at: 'withdrawn_at',
1496
- expired_at: 'expired_at',
1497
1492
  joined_at: 'joined_at',
1498
1493
  no_show_at: 'no_show_at',
1499
1494
  withdraw_reason: 'withdraw_reason',
@@ -1516,9 +1511,8 @@ exports.Prisma.OfferLetterScalarFieldEnum = {
1516
1511
  template_id: 'template_id',
1517
1512
  template_document_id: 'template_document_id',
1518
1513
  template_version: 'template_version',
1519
- sent_at: 'sent_at',
1520
- viewed_at: 'viewed_at',
1521
- change_request_note: 'change_request_note',
1514
+ generated_at: 'generated_at',
1515
+ generation_note: 'generation_note',
1522
1516
  is_active: 'is_active',
1523
1517
  created_by: 'created_by',
1524
1518
  updated_by: 'updated_by',
@@ -1526,35 +1520,6 @@ exports.Prisma.OfferLetterScalarFieldEnum = {
1526
1520
  updated_at: 'updated_at'
1527
1521
  };
1528
1522
 
1529
- exports.Prisma.OfferChangeRequestScalarFieldEnum = {
1530
- id: 'id',
1531
- offer_id: 'offer_id',
1532
- offer_letter_id: 'offer_letter_id',
1533
- categories: 'categories',
1534
- note: 'note',
1535
- details: 'details',
1536
- hr_note: 'hr_note',
1537
- status: 'status',
1538
- resolved_at: 'resolved_at',
1539
- created_by: 'created_by',
1540
- updated_by: 'updated_by',
1541
- created_at: 'created_at',
1542
- updated_at: 'updated_at'
1543
- };
1544
-
1545
- exports.Prisma.OfferApprovalScalarFieldEnum = {
1546
- id: 'id',
1547
- offer_id: 'offer_id',
1548
- status: 'status',
1549
- note: 'note',
1550
- decided_at: 'decided_at',
1551
- decided_by: 'decided_by',
1552
- created_by: 'created_by',
1553
- updated_by: 'updated_by',
1554
- created_at: 'created_at',
1555
- updated_at: 'updated_at'
1556
- };
1557
-
1558
1523
  exports.Prisma.OngoingEvaluationScalarFieldEnum = {
1559
1524
  id: 'id',
1560
1525
  organisation_id: 'organisation_id',
@@ -2250,16 +2215,19 @@ exports.ActivityEventType = exports.$Enums.ActivityEventType = {
2250
2215
  JOB_CLOSED: 'JOB_CLOSED',
2251
2216
  JOB_DEACTIVATED: 'JOB_DEACTIVATED',
2252
2217
  OFFER_CREATED: 'OFFER_CREATED',
2218
+ OFFER_GENERATED: 'OFFER_GENERATED',
2253
2219
  OFFER_SENT: 'OFFER_SENT',
2220
+ OFFER_REVISED: 'OFFER_REVISED',
2221
+ OFFER_ACCEPTED: 'OFFER_ACCEPTED',
2222
+ OFFER_DECLINED: 'OFFER_DECLINED',
2223
+ OFFER_WITHDRAWN: 'OFFER_WITHDRAWN',
2224
+ OFFER_JOINED: 'OFFER_JOINED',
2225
+ OFFER_NO_SHOW: 'OFFER_NO_SHOW',
2254
2226
  OFFER_VIEWED: 'OFFER_VIEWED',
2255
2227
  OFFER_CHANGE_REQUESTED: 'OFFER_CHANGE_REQUESTED',
2256
2228
  OFFER_CHANGE_UNDER_REVIEW: 'OFFER_CHANGE_UNDER_REVIEW',
2257
2229
  OFFER_COUNTER_SENT: 'OFFER_COUNTER_SENT',
2258
- OFFER_ACCEPTED: 'OFFER_ACCEPTED',
2259
- OFFER_DECLINED: 'OFFER_DECLINED',
2260
- OFFER_WITHDRAWN: 'OFFER_WITHDRAWN',
2261
2230
  OFFER_EXPIRED: 'OFFER_EXPIRED',
2262
- OFFER_JOINED: 'OFFER_JOINED',
2263
2231
  OFFER_CHANGE_REQUEST_REJECTED: 'OFFER_CHANGE_REQUEST_REJECTED',
2264
2232
  OFFER_CHANGE_REQUEST_WITHDRAWN: 'OFFER_CHANGE_REQUEST_WITHDRAWN',
2265
2233
  USER_INVITED: 'USER_INVITED',
@@ -2324,7 +2292,7 @@ exports.ApplicationStatus = exports.$Enums.ApplicationStatus = {
2324
2292
  IN_PROGRESS: 'IN_PROGRESS',
2325
2293
  SELECTED: 'SELECTED',
2326
2294
  OFFER: 'OFFER',
2327
- HIRED: 'HIRED',
2295
+ JOINED: 'JOINED',
2328
2296
  SHORTLISTED: 'SHORTLISTED',
2329
2297
  REJECTED: 'REJECTED',
2330
2298
  ON_HOLD: 'ON_HOLD',
@@ -2337,13 +2305,14 @@ exports.FitCheckStatus = exports.$Enums.FitCheckStatus = {
2337
2305
  NOT_RECOMMENDED: 'NOT_RECOMMENDED'
2338
2306
  };
2339
2307
 
2340
- exports.OfferStatus = exports.$Enums.OfferStatus = {
2341
- OPEN: 'OPEN',
2308
+ exports.ApplicationOfferSubstatus = exports.$Enums.ApplicationOfferSubstatus = {
2309
+ PREPARING: 'PREPARING',
2310
+ GENERATED: 'GENERATED',
2311
+ SENT: 'SENT',
2312
+ NEGOTIATING: 'NEGOTIATING',
2342
2313
  ACCEPTED: 'ACCEPTED',
2343
2314
  DECLINED: 'DECLINED',
2344
- EXPIRED: 'EXPIRED',
2345
2315
  WITHDRAWN: 'WITHDRAWN',
2346
- JOINED: 'JOINED',
2347
2316
  NO_SHOW: 'NO_SHOW'
2348
2317
  };
2349
2318
 
@@ -2521,6 +2490,7 @@ exports.PlannedCandidateStatus = exports.$Enums.PlannedCandidateStatus = {
2521
2490
  exports.IntegrationProvider = exports.$Enums.IntegrationProvider = {
2522
2491
  NAUKRI: 'NAUKRI',
2523
2492
  ZOHO_RECRUIT: 'ZOHO_RECRUIT',
2493
+ ZOHO_SIGN: 'ZOHO_SIGN',
2524
2494
  LINKEDIN: 'LINKEDIN',
2525
2495
  GOOGLE: 'GOOGLE',
2526
2496
  MICROSOFT: 'MICROSOFT',
@@ -2614,16 +2584,6 @@ exports.OfferLetterTemplateScope = exports.$Enums.OfferLetterTemplateScope = {
2614
2584
  JOB: 'JOB'
2615
2585
  };
2616
2586
 
2617
- exports.OfferSubstatus = exports.$Enums.OfferSubstatus = {
2618
- OFFER_CREATED: 'OFFER_CREATED',
2619
- PENDING_APPROVAL: 'PENDING_APPROVAL',
2620
- OFFER_SENT: 'OFFER_SENT',
2621
- VIEWED: 'VIEWED',
2622
- CHANGE_REQUESTED: 'CHANGE_REQUESTED',
2623
- CHANGE_UNDER_REVIEW: 'CHANGE_UNDER_REVIEW',
2624
- COUNTER_OFFER_SENT: 'COUNTER_OFFER_SENT'
2625
- };
2626
-
2627
2587
  exports.OfferWithdrawReason = exports.$Enums.OfferWithdrawReason = {
2628
2588
  ROLE_CLOSED: 'ROLE_CLOSED',
2629
2589
  CANDIDATE_ACCEPTED_ELSEWHERE: 'CANDIDATE_ACCEPTED_ELSEWHERE',
@@ -2644,32 +2604,7 @@ exports.OfferNoShowReason = exports.$Enums.OfferNoShowReason = {
2644
2604
 
2645
2605
  exports.OfferLetterStatus = exports.$Enums.OfferLetterStatus = {
2646
2606
  ACTIVE: 'ACTIVE',
2647
- SUPERSEDED: 'SUPERSEDED',
2648
- VOID: 'VOID'
2649
- };
2650
-
2651
- exports.OfferChangeRequestStatus = exports.$Enums.OfferChangeRequestStatus = {
2652
- OPEN: 'OPEN',
2653
- IN_PROGRESS: 'IN_PROGRESS',
2654
- RESOLVED: 'RESOLVED',
2655
- REJECTED: 'REJECTED',
2656
- WITHDRAWN: 'WITHDRAWN',
2657
- EXPIRED: 'EXPIRED'
2658
- };
2659
-
2660
- exports.OfferChangeCategory = exports.$Enums.OfferChangeCategory = {
2661
- BUDGET: 'BUDGET',
2662
- BENEFITS: 'BENEFITS',
2663
- JOINING_DATE: 'JOINING_DATE',
2664
- ROLE_TITLE: 'ROLE_TITLE',
2665
- LOCATION: 'LOCATION',
2666
- OTHER: 'OTHER'
2667
- };
2668
-
2669
- exports.OfferApprovalStatus = exports.$Enums.OfferApprovalStatus = {
2670
- PENDING: 'PENDING',
2671
- APPROVED: 'APPROVED',
2672
- REJECTED: 'REJECTED'
2607
+ SUPERSEDED: 'SUPERSEDED'
2673
2608
  };
2674
2609
 
2675
2610
  exports.OngoingEvaluationState = exports.$Enums.OngoingEvaluationState = {
@@ -2818,8 +2753,6 @@ exports.Prisma.ModelName = {
2818
2753
  OfferLetterTemplate: 'OfferLetterTemplate',
2819
2754
  Offer: 'Offer',
2820
2755
  OfferLetter: 'OfferLetter',
2821
- OfferChangeRequest: 'OfferChangeRequest',
2822
- OfferApproval: 'OfferApproval',
2823
2756
  OngoingEvaluation: 'OngoingEvaluation',
2824
2757
  OpenJobAnalytics: 'OpenJobAnalytics',
2825
2758
  OpenJobAnalyticsDaily: 'OpenJobAnalyticsDaily',