@adaptware/eagles-db 0.4.17 → 0.4.18

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 (32) hide show
  1. package/README.md +5 -105
  2. package/client/edge.js +102 -5
  3. package/client/index-browser.js +97 -0
  4. package/client/index.d.ts +19359 -5843
  5. package/client/index.js +102 -5
  6. package/client/package.json +1 -1
  7. package/client/schema.prisma +239 -75
  8. package/client/wasm.js +97 -0
  9. package/package.json +1 -1
  10. package/prisma/.DS_Store +0 -0
  11. package/prisma/schema/applications.prisma +6 -4
  12. package/prisma/schema/assignment.prisma +6 -0
  13. package/prisma/schema/document.prisma +37 -0
  14. package/prisma/schema/interview.prisma +3 -0
  15. package/prisma/schema/jobApplicationFields.prisma +37 -0
  16. package/prisma/schema/jobApplicationResponse.prisma +33 -0
  17. package/prisma/schema/jobApplicationTemplate.prisma +30 -0
  18. package/prisma/schema/jobDescription.prisma +15 -11
  19. package/prisma/schema/migrations/20260519120000_interview_deadline/migration.sql +2 -0
  20. package/prisma/schema/migrations/20260520120000_interview_duration_drop_deadline/migration.sql +30 -0
  21. package/prisma/schema/migrations/20260602120000_resume_file_hash_drop_unique/migration.sql +2 -0
  22. package/prisma/schema/migrations/20260603120000_job_application_field_is_mandatory/migration.sql +2 -0
  23. package/prisma/schema/migrations/20260604120000_job_application_response_updated_by_organisation/migration.sql +2 -0
  24. package/prisma/schema/migrations/20260605120000_drop_document_application_id/migration.sql +3 -0
  25. package/prisma/schema/migrations/20260610120000_jaf_template_model/migration.sql +70 -0
  26. package/prisma/schema/migrations/20260610130000_assignment_document_fks/migration.sql +15 -0
  27. package/prisma/schema/migrations/20260610140000_jaf_draft_activation/migration.sql +12 -0
  28. package/prisma/schema/organisation.prisma +30 -27
  29. package/prisma/schema/resume.prisma +5 -1
  30. package/prisma/schema/user.prisma +1 -0
  31. package/prisma/schema/migrations/20260610100000_add_communication/migration.sql +0 -131
  32. package/prisma/schema/migrations/20260610170000_add_communication_application_scope/migration.sql +0 -45
@@ -186,6 +186,7 @@ exports.Prisma.ApplicationScalarFieldEnum = {
186
186
  evaluation_plan_id: 'evaluation_plan_id',
187
187
  fit_check_id: 'fit_check_id',
188
188
  round_no: 'round_no',
189
+ is_jaf_completed: 'is_jaf_completed',
189
190
  on_notice_period: 'on_notice_period',
190
191
  expected_joining_date: 'expected_joining_date',
191
192
  current_ctc: 'current_ctc',
@@ -270,6 +271,8 @@ exports.Prisma.AssignmentScalarFieldEnum = {
270
271
  cancel_reason: 'cancel_reason',
271
272
  solution_url: 'solution_url',
272
273
  zip_url: 'zip_url',
274
+ solution_document_id: 'solution_document_id',
275
+ zip_document_id: 'zip_document_id',
273
276
  scheduled_start_time: 'scheduled_start_time',
274
277
  scheduled_end_time: 'scheduled_end_time',
275
278
  created_at: 'created_at',
@@ -446,6 +449,26 @@ exports.Prisma.ContactUsScalarFieldEnum = {
446
449
  is_active: 'is_active'
447
450
  };
448
451
 
452
+ exports.Prisma.DocumentScalarFieldEnum = {
453
+ id: 'id',
454
+ organisation_id: 'organisation_id',
455
+ candidate_id: 'candidate_id',
456
+ original_file_name: 'original_file_name',
457
+ stored_file_name: 'stored_file_name',
458
+ file_extension: 'file_extension',
459
+ s3_bucket: 's3_bucket',
460
+ s3_key: 's3_key',
461
+ mime_type: 'mime_type',
462
+ file_size: 'file_size',
463
+ file_hash: 'file_hash',
464
+ metadata: 'metadata',
465
+ created_at: 'created_at',
466
+ updated_at: 'updated_at',
467
+ created_by: 'created_by',
468
+ updated_by: 'updated_by',
469
+ is_active: 'is_active'
470
+ };
471
+
449
472
  exports.Prisma.EvaluationPlanScalarFieldEnum = {
450
473
  id: 'id',
451
474
  job_description_id: 'job_description_id',
@@ -596,6 +619,7 @@ exports.Prisma.InterviewScalarFieldEnum = {
596
619
  actual_end_time: 'actual_end_time',
597
620
  duration: 'duration',
598
621
  recording_url: 'recording_url',
622
+ recording_document_id: 'recording_document_id',
599
623
  evaluation_type: 'evaluation_type',
600
624
  ai_assistance_mode: 'ai_assistance_mode',
601
625
  interview_status: 'interview_status',
@@ -636,6 +660,58 @@ exports.Prisma.InterviewNotesScalarFieldEnum = {
636
660
  is_active: 'is_active'
637
661
  };
638
662
 
663
+ exports.Prisma.JobApplicationFieldScalarFieldEnum = {
664
+ id: 'id',
665
+ organisation_id: 'organisation_id',
666
+ template_id: 'template_id',
667
+ field_type: 'field_type',
668
+ label: 'label',
669
+ description: 'description',
670
+ is_mandatory: 'is_mandatory',
671
+ is_draft: 'is_draft',
672
+ options: 'options',
673
+ is_active: 'is_active',
674
+ created_by: 'created_by',
675
+ updated_by: 'updated_by',
676
+ created_at: 'created_at',
677
+ updated_at: 'updated_at'
678
+ };
679
+
680
+ exports.Prisma.JobApplicationResponseScalarFieldEnum = {
681
+ id: 'id',
682
+ application_id: 'application_id',
683
+ job_application_field_id: 'job_application_field_id',
684
+ document_id: 'document_id',
685
+ response: 'response',
686
+ field_type: 'field_type',
687
+ label: 'label',
688
+ description: 'description',
689
+ is_mandatory: 'is_mandatory',
690
+ is_draft: 'is_draft',
691
+ is_submitted: 'is_submitted',
692
+ options: 'options',
693
+ updated_by_organisation: 'updated_by_organisation',
694
+ created_at: 'created_at',
695
+ updated_at: 'updated_at',
696
+ created_by: 'created_by',
697
+ updated_by: 'updated_by',
698
+ is_active: 'is_active'
699
+ };
700
+
701
+ exports.Prisma.JobApplicationTemplateScalarFieldEnum = {
702
+ id: 'id',
703
+ organisation_id: 'organisation_id',
704
+ job_description_id: 'job_description_id',
705
+ name: 'name',
706
+ description: 'description',
707
+ scope: 'scope',
708
+ is_active: 'is_active',
709
+ created_by: 'created_by',
710
+ updated_by: 'updated_by',
711
+ created_at: 'created_at',
712
+ updated_at: 'updated_at'
713
+ };
714
+
639
715
  exports.Prisma.JobDescriptionScalarFieldEnum = {
640
716
  id: 'id',
641
717
  organisation_id: 'organisation_id',
@@ -644,6 +720,7 @@ exports.Prisma.JobDescriptionScalarFieldEnum = {
644
720
  screeningQuestions: 'screeningQuestions',
645
721
  recommendedQuestions: 'recommendedQuestions',
646
722
  uploaded_job_description_path: 'uploaded_job_description_path',
723
+ source_document_id: 'source_document_id',
647
724
  is_plan_published: 'is_plan_published',
648
725
  is_posted: 'is_posted',
649
726
  summary: 'summary',
@@ -865,6 +942,7 @@ exports.Prisma.ResumeScalarFieldEnum = {
865
942
  organisation_id: 'organisation_id',
866
943
  job_description_id: 'job_description_id',
867
944
  uploaded_resume_path: 'uploaded_resume_path',
945
+ document_id: 'document_id',
868
946
  file_hash: 'file_hash',
869
947
  summary: 'summary',
870
948
  created_at: 'created_at',
@@ -1237,6 +1315,21 @@ exports.InterviewFeedback = exports.$Enums.InterviewFeedback = {
1237
1315
  STRONG_NO_HIRE: 'STRONG_NO_HIRE'
1238
1316
  };
1239
1317
 
1318
+ exports.JobApplicationFieldType = exports.$Enums.JobApplicationFieldType = {
1319
+ TEXT: 'TEXT',
1320
+ NUMBER: 'NUMBER',
1321
+ DATE: 'DATE',
1322
+ BOOLEAN: 'BOOLEAN',
1323
+ MULTI_SELECT: 'MULTI_SELECT',
1324
+ FILE: 'FILE',
1325
+ DROP_DOWN: 'DROP_DOWN'
1326
+ };
1327
+
1328
+ exports.JobApplicationTemplateScope = exports.$Enums.JobApplicationTemplateScope = {
1329
+ ORGANIZATION: 'ORGANIZATION',
1330
+ JOB: 'JOB'
1331
+ };
1332
+
1240
1333
  exports.JobDescriptionStatus = exports.$Enums.JobDescriptionStatus = {
1241
1334
  CREATED: 'CREATED',
1242
1335
  DRAFT: 'DRAFT',
@@ -1328,6 +1421,7 @@ exports.Prisma.ModelName = {
1328
1421
  Conversation: 'Conversation',
1329
1422
  CommunicationMessage: 'CommunicationMessage',
1330
1423
  ContactUs: 'ContactUs',
1424
+ Document: 'Document',
1331
1425
  EvaluationPlan: 'EvaluationPlan',
1332
1426
  Feedback: 'Feedback',
1333
1427
  FitCheck: 'FitCheck',
@@ -1337,6 +1431,9 @@ exports.Prisma.ModelName = {
1337
1431
  ZohoSyncMapping: 'ZohoSyncMapping',
1338
1432
  Interview: 'Interview',
1339
1433
  InterviewNotes: 'InterviewNotes',
1434
+ JobApplicationField: 'JobApplicationField',
1435
+ JobApplicationResponse: 'JobApplicationResponse',
1436
+ JobApplicationTemplate: 'JobApplicationTemplate',
1340
1437
  JobDescription: 'JobDescription',
1341
1438
  JobDescriptionData: 'JobDescriptionData',
1342
1439
  JobProfile: 'JobProfile',