@adaptware/eagles-db 0.4.35 → 0.4.37

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-dbfed75794c8ec666ce7412c92f5be01d1b5fd014f0c4f7d37678deba822040d",
2
+ "name": "prisma-client-b839e0b0c20c230b737c3590b4b091a55ae2d7912e2877ab2df64bfbd8f6ee2a",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "default.js",
@@ -347,6 +347,7 @@ enum ApplicationStatus {
347
347
  SELECTED
348
348
  SHORTLISTED
349
349
  REJECTED
350
+ ON_HOLD
350
351
 
351
352
  @@schema("public")
352
353
  }
@@ -365,6 +366,7 @@ model Application {
365
366
  source_id String?
366
367
  round_no Int @default(0)
367
368
  is_jaf_completed Boolean @default(false)
369
+ proceed_to_next_round Boolean? @default(false)
368
370
  //Screening fields
369
371
  on_notice_period Boolean @default(false)
370
372
  expected_joining_date DateTime?
@@ -1153,7 +1155,8 @@ model Document {
1153
1155
  // Relations
1154
1156
  organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
1155
1157
  candidate User? @relation(fields: [candidate_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
1156
- resume Resume?
1158
+ resume Resume? @relation("ResumeSourceDocument")
1159
+ resume_rendered_export Resume? @relation("RenderedResumeExport")
1157
1160
  job_description_source JobDescription? @relation("SourceDocument")
1158
1161
  job_description_rendered JobDescription? @relation("RenderedJdDocument")
1159
1162
  interview_recording Interview?
@@ -1265,6 +1268,7 @@ model EvaluationPlan {
1265
1268
  elimination_round Boolean @default(false)
1266
1269
  evaluation_type EvaluationType @default(TREADSPACE_AI_ASSISTED)
1267
1270
  type_of_round RoundType
1271
+ round_purpose String?
1268
1272
  timeline Int?
1269
1273
  order_no Int?
1270
1274
  details Json?
@@ -2380,6 +2384,7 @@ model OngoingEvaluation {
2380
2384
  description String?
2381
2385
  order_no Int?
2382
2386
  format EvaluationRoundFormat?
2387
+ round_purpose String?
2383
2388
  topics String[]
2384
2389
  assignee String?
2385
2390
  elimination_round Boolean? @default(false)
@@ -2800,29 +2805,34 @@ model ReportingOverviewJobRecruiter {
2800
2805
  }
2801
2806
 
2802
2807
  model Resume {
2803
- id String @id @default(uuid())
2804
- user_id String?
2805
- organisation_id String?
2806
- job_description_id String?
2808
+ id String @id @default(uuid())
2809
+ user_id String?
2810
+ organisation_id String?
2811
+ job_description_id String?
2807
2812
  /// @deprecated Prefer `document_id` + `Document`. Kept until backfill completes.
2808
- uploaded_resume_path String?
2809
- document_id String? @unique
2813
+ uploaded_resume_path String?
2814
+ document_id String? @unique
2815
+ /// Latest ATS template export (PDF). Null until first successful export.
2816
+ rendered_export_document_id String? @unique
2817
+ /// Last chosen ATS layout template id (e.g. ats-classic). Set on first export.
2818
+ resume_template_id String?
2810
2819
  /// @deprecated Prefer `Document.file_hash`. Kept for legacy read fallback.
2811
- file_hash String?
2812
- summary Json?
2813
- created_at DateTime @default(now())
2814
- updated_at DateTime @updatedAt
2815
- created_by String
2816
- updated_by String
2817
- is_active Boolean @default(true)
2818
- name String?
2819
- user User? @relation(fields: [user_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
2820
- organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
2821
- job_description JobDescription? @relation(fields: [job_description_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
2822
- document Document? @relation(fields: [document_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
2823
- applications Application[]
2824
- interviews Interview[]
2825
- ongoing_evaluations OngoingEvaluation[] // optional one-to-many
2820
+ file_hash String?
2821
+ summary Json?
2822
+ created_at DateTime @default(now())
2823
+ updated_at DateTime @updatedAt
2824
+ created_by String
2825
+ updated_by String
2826
+ is_active Boolean @default(true)
2827
+ name String?
2828
+ user User? @relation(fields: [user_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
2829
+ organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
2830
+ job_description JobDescription? @relation(fields: [job_description_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
2831
+ document Document? @relation("ResumeSourceDocument", fields: [document_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
2832
+ rendered_export_document Document? @relation("RenderedResumeExport", fields: [rendered_export_document_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
2833
+ applications Application[]
2834
+ interviews Interview[]
2835
+ ongoing_evaluations OngoingEvaluation[] // optional one-to-many
2826
2836
 
2827
2837
  resume_data ResumeData[] // one-to-many link
2828
2838
  fit_check FitCheck[] // one-to-many link