@adaptware/eagles-db 0.5.47 → 0.5.48

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptware/eagles-db",
3
- "version": "0.5.47",
3
+ "version": "0.5.48",
4
4
  "description": "A Prisma client package for Treadspace database operations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
Binary file
Binary file
@@ -25,57 +25,58 @@ enum AiAssistanceMode {
25
25
  }
26
26
 
27
27
  model Interview {
28
- id String @id @default(uuid())
28
+ id String @id @default(uuid())
29
29
  /// Foreign keys
30
- organisation_id String
31
- candidate_id String
32
- interviewer_id String?
33
- evaluation_plan_id String
34
- application_id String?
35
- resume_id String
36
- job_description_id String
37
- calendar_event_id String?
30
+ organisation_id String
31
+ candidate_id String
32
+ interviewer_id String?
33
+ evaluation_plan_id String
34
+ application_id String?
35
+ resume_id String
36
+ job_description_id String
37
+ calendar_event_id String?
38
+ calendar_events Json?
38
39
  /// Data
39
- room_name String?
40
+ room_name String?
40
41
  /// @deprecated Prefer `ai_feedback.feedback` (narrative string on AI feedback JSON).
41
- interview_summary String[]
42
- scheduled_start_time DateTime?
43
- scheduled_end_time DateTime?
44
- actual_start_time DateTime?
45
- actual_end_time DateTime?
42
+ interview_summary String[]
43
+ scheduled_start_time DateTime?
44
+ scheduled_end_time DateTime?
45
+ actual_start_time DateTime?
46
+ actual_end_time DateTime?
46
47
  /// Interview length in minutes (source of truth; not derived from schedule window).
47
- duration Int?
48
+ duration Int?
48
49
  /// @deprecated Prefer `recording_document_id` + `Document` (type INTERVIEW_RECORDING).
49
- recording_url String?
50
- recording_document_id String? @unique
51
- evaluation_type EvaluationType? @default(TREADSPACE_AI_ASSISTED)
52
- ai_assistance_mode AiAssistanceMode? @default(ASSISTED)
53
- interview_status InterviewStatus @default(SCHEDULED)
54
- interview_platform InterviewPlatform @default(TREADSPACE)
55
- overall_feedback String?
50
+ recording_url String?
51
+ recording_document_id String? @unique
52
+ evaluation_type EvaluationType? @default(TREADSPACE_AI_ASSISTED)
53
+ ai_assistance_mode AiAssistanceMode? @default(ASSISTED)
54
+ interview_status InterviewStatus @default(SCHEDULED)
55
+ interview_platform InterviewPlatform @default(TREADSPACE)
56
+ overall_feedback String?
56
57
  /// Feedback JSON fields
57
58
  /// AI overall payload: `{ score, rating, feedback? }` where `feedback` is the
58
59
  /// narrative summary string (replaces deprecated `interview_summary`).
59
- ai_feedback Json?
60
- human_feedback Json?
61
- section_feedback Json[]
62
- interview_preparation Json?
63
- final_feedback Json?
64
- interview_analysis_ranges Json?
65
- interview_flow_summary String?
60
+ ai_feedback Json?
61
+ human_feedback Json?
62
+ section_feedback Json[]
63
+ interview_preparation Json?
64
+ final_feedback Json?
65
+ interview_analysis_ranges Json?
66
+ interview_flow_summary String?
66
67
  /// When Orion AI feedback was last persisted on this interview.
67
- ai_feedback_generated_at DateTime?
68
+ ai_feedback_generated_at DateTime?
68
69
  /// Experimental Beta AI feedback store (parallel to production AI columns).
69
70
  /// Used by Beta Feedback page so regenerating AI does not overwrite production.
70
- beta_ai_feedback Json?
71
- beta_section_feedback Json[] @default([])
72
- beta_final_feedback Json?
73
- beta_interview_flow_summary String?
74
- beta_ai_feedback_generated_at DateTime?
71
+ beta_ai_feedback Json?
72
+ beta_section_feedback Json[] @default([])
73
+ beta_final_feedback Json?
74
+ beta_interview_flow_summary String?
75
+ beta_ai_feedback_generated_at DateTime?
75
76
  /// When recruiter human feedback was last saved (draft or final).
76
- human_feedback_updated_at DateTime?
77
+ human_feedback_updated_at DateTime?
77
78
  /// When final human feedback was submitted.
78
- evaluated_at DateTime?
79
+ evaluated_at DateTime?
79
80
 
80
81
  /// Self-scheduling
81
82
  reschedule_count Int @default(0)