@adaptware/eagles-db 0.5.29 → 0.5.30

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-f4b82971896963e10b0b7776f4695d5c6b9b27e47c4695bdd917d28ee503f862",
2
+ "name": "prisma-client-e4c935d310a52a845dee527aafcc4a430148a0b3e36c5ac8341c02e7037abb85",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "default.js",
@@ -2573,34 +2573,37 @@ model JobProfile {
2573
2573
  department_id String?
2574
2574
  assigned_to String?
2575
2575
  status JobProfileStatus @default(DRAFT)
2576
- // Basics
2577
2576
  title String?
2578
- role_type String? // new / replacement / backfill
2577
+ /// Requisition reason: new / replacement / backfill (not the seniority ladder).
2578
+ role_type String?
2579
+ /// Seniority ladder (JobRoleLevel), e.g. TRAINEE, SENIOR_IC, CXO.
2580
+ job_role_level String?
2579
2581
  work_arrangement String? // onsite / hybrid / remote
2580
2582
  employment_type String? // full_time / part_time / contract / internship
2583
+ /// ISO 3166-1 alpha-2 (e.g. IN). Currency is derived in the UI from this.
2584
+ country_code String @default("IN")
2585
+ /// CSC state iso2 (unique with country_code).
2586
+ state_code String?
2587
+ /// City display name from CSC (not a code).
2588
+ city String?
2589
+ /// @deprecated Use `city` + `state_code`. Not written by new setup/PATCH paths.
2581
2590
  location String?
2582
2591
  experience String?
2583
2592
  experience_min String?
2584
2593
  comp_range String?
2585
2594
  budget String?
2586
- /// ISO 3166-1 alpha-2 (e.g. IN). Currency is derived in the UI from this.
2587
- country_code String @default("IN")
2588
- // Requirements (structured from AI conversation)
2595
+ openings Int @default(1)
2589
2596
  responsibilities Json?
2590
2597
  must_have_skills Json?
2591
2598
  nice_to_have_skills Json?
2592
2599
  culture Json?
2593
- // Competencies
2594
2600
  competencies Json?
2595
- // Conversation state
2596
2601
  conversation_history Json?
2597
2602
  orion_execution_id String?
2598
- // Audit
2599
- created_at DateTime @default(now())
2600
2603
  created_by String
2604
+ created_at DateTime @default(now())
2601
2605
  updated_at DateTime @updatedAt
2602
2606
  is_active Boolean @default(true)
2603
- // Relations
2604
2607
  organisation Organisation @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
2605
2608
  department Department? @relation(fields: [department_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
2606
2609
  hiring_manager User? @relation("JobProfileHiringManager", fields: [hiring_manager_id], references: [id], onDelete: SetNull, onUpdate: Cascade)