@adaptware/eagles-db 0.4.30 → 0.4.31
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/client/edge.js +333 -3
- package/client/index-browser.js +391 -61
- package/client/index.d.ts +33055 -15367
- package/client/index.js +333 -3
- package/client/package.json +1 -1
- package/client/schema.prisma +459 -0
- package/client/wasm.js +391 -61
- package/package.json +1 -1
- package/prisma/schema/applicationAnalytics.prisma +87 -0
- package/prisma/schema/assessmentRoundAnalytics.prisma +119 -0
- package/prisma/schema/assignmentRoundAnalytics.prisma +109 -0
- package/prisma/schema/interviewRoundAnalytics.prisma +140 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
enum AssessmentRoundStatus {
|
|
2
|
+
SCHEDULED
|
|
3
|
+
IN_PROGRESS
|
|
4
|
+
COMPLETED
|
|
5
|
+
EVALUATED
|
|
6
|
+
CANCELLED
|
|
7
|
+
|
|
8
|
+
@@schema("analytics")
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
model AssessmentRoundAnalytics {
|
|
12
|
+
id String @id @default(uuid())
|
|
13
|
+
|
|
14
|
+
organisation_id String
|
|
15
|
+
round_id String @unique
|
|
16
|
+
assessment_id String @unique
|
|
17
|
+
application_id String?
|
|
18
|
+
candidate_id String
|
|
19
|
+
job_description_id String
|
|
20
|
+
evaluation_plan_id String
|
|
21
|
+
|
|
22
|
+
job_code String?
|
|
23
|
+
job_number Int?
|
|
24
|
+
role_title String?
|
|
25
|
+
hiring_manager_id String?
|
|
26
|
+
department String?
|
|
27
|
+
location String?
|
|
28
|
+
|
|
29
|
+
round_name String?
|
|
30
|
+
evaluation_category EvaluationCategory?
|
|
31
|
+
round_type RoundType?
|
|
32
|
+
round_format EvaluationRoundFormat?
|
|
33
|
+
plan_order_no Int?
|
|
34
|
+
plan_type EvaluationPlanType?
|
|
35
|
+
is_custom Boolean @default(false)
|
|
36
|
+
|
|
37
|
+
reviewer_id String?
|
|
38
|
+
reviewer_employee_id String?
|
|
39
|
+
reviewer_name String?
|
|
40
|
+
|
|
41
|
+
candidate_name String?
|
|
42
|
+
|
|
43
|
+
evaluation_type EvaluationType?
|
|
44
|
+
|
|
45
|
+
scheduled_start_at DateTime?
|
|
46
|
+
scheduled_end_at DateTime?
|
|
47
|
+
actual_start_at DateTime?
|
|
48
|
+
actual_end_at DateTime?
|
|
49
|
+
attempt_expires_at DateTime?
|
|
50
|
+
evaluated_at DateTime?
|
|
51
|
+
|
|
52
|
+
score Float?
|
|
53
|
+
status AssessmentRoundStatus?
|
|
54
|
+
round_result RoundResult?
|
|
55
|
+
|
|
56
|
+
updated_at DateTime @updatedAt
|
|
57
|
+
|
|
58
|
+
@@index([organisation_id, evaluated_at])
|
|
59
|
+
@@index([organisation_id, reviewer_id])
|
|
60
|
+
@@index([job_description_id])
|
|
61
|
+
@@index([application_id])
|
|
62
|
+
@@map("assessment_round_analytics")
|
|
63
|
+
@@schema("analytics")
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
model AssessmentRoundAnalyticsDaily {
|
|
67
|
+
id String @id @default(uuid())
|
|
68
|
+
|
|
69
|
+
snapshot_date DateTime @db.Date
|
|
70
|
+
|
|
71
|
+
organisation_id String
|
|
72
|
+
round_id String
|
|
73
|
+
assessment_id String
|
|
74
|
+
application_id String?
|
|
75
|
+
candidate_id String
|
|
76
|
+
job_description_id String
|
|
77
|
+
evaluation_plan_id String
|
|
78
|
+
|
|
79
|
+
job_code String?
|
|
80
|
+
job_number Int?
|
|
81
|
+
role_title String?
|
|
82
|
+
hiring_manager_id String?
|
|
83
|
+
department String?
|
|
84
|
+
location String?
|
|
85
|
+
|
|
86
|
+
round_name String?
|
|
87
|
+
evaluation_category EvaluationCategory?
|
|
88
|
+
round_type RoundType?
|
|
89
|
+
round_format EvaluationRoundFormat?
|
|
90
|
+
plan_order_no Int?
|
|
91
|
+
plan_type EvaluationPlanType?
|
|
92
|
+
is_custom Boolean @default(false)
|
|
93
|
+
|
|
94
|
+
reviewer_id String?
|
|
95
|
+
reviewer_employee_id String?
|
|
96
|
+
reviewer_name String?
|
|
97
|
+
|
|
98
|
+
candidate_name String?
|
|
99
|
+
|
|
100
|
+
evaluation_type EvaluationType?
|
|
101
|
+
|
|
102
|
+
scheduled_start_at DateTime?
|
|
103
|
+
scheduled_end_at DateTime?
|
|
104
|
+
actual_start_at DateTime?
|
|
105
|
+
actual_end_at DateTime?
|
|
106
|
+
attempt_expires_at DateTime?
|
|
107
|
+
evaluated_at DateTime?
|
|
108
|
+
|
|
109
|
+
score Float?
|
|
110
|
+
status AssessmentRoundStatus?
|
|
111
|
+
round_result RoundResult?
|
|
112
|
+
|
|
113
|
+
@@unique([snapshot_date, assessment_id])
|
|
114
|
+
@@index([snapshot_date], map: "asrad_snapshot_date_idx")
|
|
115
|
+
@@index([snapshot_date, organisation_id], map: "asrad_snapshot_org_idx")
|
|
116
|
+
@@index([snapshot_date, job_description_id], map: "asrad_snapshot_job_idx")
|
|
117
|
+
@@map("assessment_round_analytics_daily")
|
|
118
|
+
@@schema("analytics")
|
|
119
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
model AssignmentRoundAnalytics {
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
|
|
4
|
+
organisation_id String
|
|
5
|
+
round_id String @unique
|
|
6
|
+
assignment_id String @unique
|
|
7
|
+
application_id String?
|
|
8
|
+
candidate_id String
|
|
9
|
+
job_description_id String
|
|
10
|
+
evaluation_plan_id String
|
|
11
|
+
|
|
12
|
+
job_code String?
|
|
13
|
+
job_number Int?
|
|
14
|
+
role_title String?
|
|
15
|
+
hiring_manager_id String?
|
|
16
|
+
department String?
|
|
17
|
+
location String?
|
|
18
|
+
|
|
19
|
+
round_name String?
|
|
20
|
+
evaluation_category EvaluationCategory?
|
|
21
|
+
round_type RoundType?
|
|
22
|
+
round_format EvaluationRoundFormat?
|
|
23
|
+
plan_order_no Int?
|
|
24
|
+
plan_type EvaluationPlanType?
|
|
25
|
+
is_custom Boolean @default(false)
|
|
26
|
+
|
|
27
|
+
reviewer_id String?
|
|
28
|
+
reviewer_employee_id String?
|
|
29
|
+
reviewer_name String?
|
|
30
|
+
|
|
31
|
+
candidate_name String?
|
|
32
|
+
|
|
33
|
+
evaluation_type EvaluationType?
|
|
34
|
+
|
|
35
|
+
scheduled_start_at DateTime?
|
|
36
|
+
scheduled_end_at DateTime?
|
|
37
|
+
completed_at DateTime?
|
|
38
|
+
evaluated_at DateTime?
|
|
39
|
+
cancelled_at DateTime?
|
|
40
|
+
|
|
41
|
+
status AssignmentStatus?
|
|
42
|
+
overall_score Int?
|
|
43
|
+
cancel_reason String?
|
|
44
|
+
round_result RoundResult?
|
|
45
|
+
|
|
46
|
+
updated_at DateTime @updatedAt
|
|
47
|
+
|
|
48
|
+
@@index([organisation_id, evaluated_at])
|
|
49
|
+
@@index([organisation_id, reviewer_id])
|
|
50
|
+
@@index([job_description_id])
|
|
51
|
+
@@index([application_id])
|
|
52
|
+
@@map("assignment_round_analytics")
|
|
53
|
+
@@schema("analytics")
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
model AssignmentRoundAnalyticsDaily {
|
|
57
|
+
id String @id @default(uuid())
|
|
58
|
+
|
|
59
|
+
snapshot_date DateTime @db.Date
|
|
60
|
+
|
|
61
|
+
organisation_id String
|
|
62
|
+
round_id String
|
|
63
|
+
assignment_id String
|
|
64
|
+
application_id String?
|
|
65
|
+
candidate_id String
|
|
66
|
+
job_description_id String
|
|
67
|
+
evaluation_plan_id String
|
|
68
|
+
|
|
69
|
+
job_code String?
|
|
70
|
+
job_number Int?
|
|
71
|
+
role_title String?
|
|
72
|
+
hiring_manager_id String?
|
|
73
|
+
department String?
|
|
74
|
+
location String?
|
|
75
|
+
|
|
76
|
+
round_name String?
|
|
77
|
+
evaluation_category EvaluationCategory?
|
|
78
|
+
round_type RoundType?
|
|
79
|
+
round_format EvaluationRoundFormat?
|
|
80
|
+
plan_order_no Int?
|
|
81
|
+
plan_type EvaluationPlanType?
|
|
82
|
+
is_custom Boolean @default(false)
|
|
83
|
+
|
|
84
|
+
reviewer_id String?
|
|
85
|
+
reviewer_employee_id String?
|
|
86
|
+
reviewer_name String?
|
|
87
|
+
|
|
88
|
+
candidate_name String?
|
|
89
|
+
|
|
90
|
+
evaluation_type EvaluationType?
|
|
91
|
+
|
|
92
|
+
scheduled_start_at DateTime?
|
|
93
|
+
scheduled_end_at DateTime?
|
|
94
|
+
completed_at DateTime?
|
|
95
|
+
evaluated_at DateTime?
|
|
96
|
+
cancelled_at DateTime?
|
|
97
|
+
|
|
98
|
+
status AssignmentStatus?
|
|
99
|
+
overall_score Int?
|
|
100
|
+
cancel_reason String?
|
|
101
|
+
round_result RoundResult?
|
|
102
|
+
|
|
103
|
+
@@unique([snapshot_date, assignment_id])
|
|
104
|
+
@@index([snapshot_date], map: "arad_snapshot_date_idx")
|
|
105
|
+
@@index([snapshot_date, organisation_id], map: "arad_snapshot_org_idx")
|
|
106
|
+
@@index([snapshot_date, job_description_id], map: "arad_snapshot_job_idx")
|
|
107
|
+
@@map("assignment_round_analytics_daily")
|
|
108
|
+
@@schema("analytics")
|
|
109
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
enum InterviewRecommendation {
|
|
2
|
+
ACCEPTED
|
|
3
|
+
REJECTED
|
|
4
|
+
UNSURE
|
|
5
|
+
|
|
6
|
+
@@schema("analytics")
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
model InterviewRoundAnalytics {
|
|
10
|
+
id String @id @default(uuid())
|
|
11
|
+
|
|
12
|
+
organisation_id String
|
|
13
|
+
round_id String @unique
|
|
14
|
+
interview_id String @unique
|
|
15
|
+
application_id String?
|
|
16
|
+
candidate_id String
|
|
17
|
+
job_description_id String
|
|
18
|
+
evaluation_plan_id String
|
|
19
|
+
|
|
20
|
+
job_code String?
|
|
21
|
+
job_number Int?
|
|
22
|
+
role_title String?
|
|
23
|
+
hiring_manager_id String?
|
|
24
|
+
department String?
|
|
25
|
+
location String?
|
|
26
|
+
|
|
27
|
+
round_name String?
|
|
28
|
+
evaluation_category EvaluationCategory?
|
|
29
|
+
round_type RoundType?
|
|
30
|
+
round_format EvaluationRoundFormat?
|
|
31
|
+
plan_order_no Int?
|
|
32
|
+
plan_type EvaluationPlanType?
|
|
33
|
+
is_custom Boolean @default(false)
|
|
34
|
+
|
|
35
|
+
interviewer_id String?
|
|
36
|
+
interviewer_employee_id String?
|
|
37
|
+
interviewer_name String?
|
|
38
|
+
|
|
39
|
+
candidate_name String?
|
|
40
|
+
candidate_email String?
|
|
41
|
+
|
|
42
|
+
evaluation_type EvaluationType?
|
|
43
|
+
ai_assistance_mode AiAssistanceMode?
|
|
44
|
+
interview_platform InterviewPlatform?
|
|
45
|
+
interview_status InterviewStatus?
|
|
46
|
+
|
|
47
|
+
scheduled_start_at DateTime?
|
|
48
|
+
scheduled_end_at DateTime?
|
|
49
|
+
actual_start_at DateTime?
|
|
50
|
+
actual_end_at DateTime?
|
|
51
|
+
evaluated_at DateTime?
|
|
52
|
+
first_assigned_at DateTime?
|
|
53
|
+
duration_minutes Int?
|
|
54
|
+
|
|
55
|
+
human_rating String?
|
|
56
|
+
ai_rating String?
|
|
57
|
+
recommendation InterviewRecommendation?
|
|
58
|
+
ai_disagrees_with_ai Boolean?
|
|
59
|
+
|
|
60
|
+
difficulty_score Float?
|
|
61
|
+
supportiveness_score Float?
|
|
62
|
+
topics_coverage_percent Float?
|
|
63
|
+
|
|
64
|
+
updated_at DateTime @updatedAt
|
|
65
|
+
|
|
66
|
+
@@index([organisation_id, evaluated_at])
|
|
67
|
+
@@index([organisation_id, interviewer_id, evaluated_at])
|
|
68
|
+
@@index([job_description_id])
|
|
69
|
+
@@index([application_id])
|
|
70
|
+
@@index([organisation_id, hiring_manager_id])
|
|
71
|
+
@@map("interview_round_analytics")
|
|
72
|
+
@@schema("analytics")
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
model InterviewRoundAnalyticsDaily {
|
|
76
|
+
id String @id @default(uuid())
|
|
77
|
+
|
|
78
|
+
snapshot_date DateTime @db.Date
|
|
79
|
+
|
|
80
|
+
organisation_id String
|
|
81
|
+
round_id String
|
|
82
|
+
interview_id String
|
|
83
|
+
application_id String?
|
|
84
|
+
candidate_id String
|
|
85
|
+
job_description_id String
|
|
86
|
+
evaluation_plan_id String
|
|
87
|
+
|
|
88
|
+
job_code String?
|
|
89
|
+
job_number Int?
|
|
90
|
+
role_title String?
|
|
91
|
+
hiring_manager_id String?
|
|
92
|
+
department String?
|
|
93
|
+
location String?
|
|
94
|
+
|
|
95
|
+
round_name String?
|
|
96
|
+
evaluation_category EvaluationCategory?
|
|
97
|
+
round_type RoundType?
|
|
98
|
+
round_format EvaluationRoundFormat?
|
|
99
|
+
plan_order_no Int?
|
|
100
|
+
plan_type EvaluationPlanType?
|
|
101
|
+
is_custom Boolean @default(false)
|
|
102
|
+
|
|
103
|
+
interviewer_id String?
|
|
104
|
+
interviewer_employee_id String?
|
|
105
|
+
interviewer_name String?
|
|
106
|
+
|
|
107
|
+
candidate_name String?
|
|
108
|
+
candidate_email String?
|
|
109
|
+
|
|
110
|
+
evaluation_type EvaluationType?
|
|
111
|
+
ai_assistance_mode AiAssistanceMode?
|
|
112
|
+
interview_platform InterviewPlatform?
|
|
113
|
+
interview_status InterviewStatus?
|
|
114
|
+
|
|
115
|
+
scheduled_start_at DateTime?
|
|
116
|
+
scheduled_end_at DateTime?
|
|
117
|
+
actual_start_at DateTime?
|
|
118
|
+
actual_end_at DateTime?
|
|
119
|
+
evaluated_at DateTime?
|
|
120
|
+
first_assigned_at DateTime?
|
|
121
|
+
duration_minutes Int?
|
|
122
|
+
|
|
123
|
+
human_rating String?
|
|
124
|
+
ai_rating String?
|
|
125
|
+
recommendation InterviewRecommendation?
|
|
126
|
+
ai_disagrees_with_ai Boolean?
|
|
127
|
+
|
|
128
|
+
difficulty_score Float?
|
|
129
|
+
supportiveness_score Float?
|
|
130
|
+
topics_coverage_percent Float?
|
|
131
|
+
|
|
132
|
+
@@unique([snapshot_date, interview_id])
|
|
133
|
+
@@index([snapshot_date], map: "irad_snapshot_date_idx")
|
|
134
|
+
@@index([snapshot_date, organisation_id], map: "irad_snapshot_org_idx")
|
|
135
|
+
@@index([snapshot_date, organisation_id, interviewer_id], map: "irad_snapshot_org_interviewer_idx")
|
|
136
|
+
@@index([snapshot_date, job_description_id], map: "irad_snapshot_job_idx")
|
|
137
|
+
@@index([snapshot_date, organisation_id, evaluated_at], map: "irad_snapshot_org_evaluated_idx")
|
|
138
|
+
@@map("interview_round_analytics_daily")
|
|
139
|
+
@@schema("analytics")
|
|
140
|
+
}
|