@cool-digital-solutions/interferir-models 1.3.56 → 1.3.58
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.
|
@@ -153,44 +153,59 @@ const aiHrAssessmentSchema = new mongoose_1.Schema({
|
|
|
153
153
|
},
|
|
154
154
|
},
|
|
155
155
|
interview: {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
},
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
156
|
+
type: {
|
|
157
|
+
interviewSummary: { type: String, default: null },
|
|
158
|
+
sentimentAnalysis: {
|
|
159
|
+
type: {
|
|
160
|
+
positivePercentage: { type: Number, default: null },
|
|
161
|
+
neutralPercentage: { type: Number, default: null },
|
|
162
|
+
negativePercentage: { type: Number, default: null },
|
|
163
|
+
overallSentimentNote: { type: String, default: null },
|
|
164
|
+
},
|
|
165
|
+
required: false,
|
|
166
|
+
},
|
|
167
|
+
emotionalAnalysis: {
|
|
168
|
+
type: {
|
|
169
|
+
confidenceScore: { type: Number, default: null },
|
|
170
|
+
enthusiasmScore: { type: Number, default: null },
|
|
171
|
+
hesitationScore: { type: Number, default: null },
|
|
172
|
+
stressScore: { type: Number, default: null },
|
|
173
|
+
engagementScore: { type: Number, default: null },
|
|
174
|
+
emotionalAnalysisSummary: { type: String, default: null },
|
|
175
|
+
},
|
|
176
|
+
required: false,
|
|
177
|
+
},
|
|
178
|
+
topicBasedSentiment: {
|
|
179
|
+
type: {
|
|
180
|
+
topic: { type: String, default: null },
|
|
181
|
+
emotionalState: {
|
|
182
|
+
type: String,
|
|
183
|
+
enum: Object.values(ai_hr_assessment_type_1.EmotionalState),
|
|
184
|
+
default: null,
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
required: false,
|
|
188
|
+
},
|
|
189
|
+
interviewQuestions: {
|
|
190
|
+
type: {
|
|
191
|
+
question: { type: String, default: null },
|
|
192
|
+
answer: { type: String, default: null },
|
|
193
|
+
cognitiveTraits: [{ type: String, default: null }],
|
|
194
|
+
behavioralTraits: [{ type: String, default: null }],
|
|
195
|
+
interests: [{ type: String, default: null }],
|
|
196
|
+
},
|
|
197
|
+
required: false,
|
|
198
|
+
},
|
|
199
|
+
interviewRecordingLink: { type: String, default: null },
|
|
200
|
+
userQuestions: [
|
|
201
|
+
{
|
|
202
|
+
question: { type: String, default: null },
|
|
203
|
+
answer: { type: String, default: null },
|
|
204
|
+
user: { type: String, default: null },
|
|
205
|
+
},
|
|
206
|
+
],
|
|
185
207
|
},
|
|
186
|
-
|
|
187
|
-
userQuestions: [
|
|
188
|
-
{
|
|
189
|
-
question: { type: String, default: null },
|
|
190
|
-
answer: { type: String, default: null },
|
|
191
|
-
user: { type: String, default: null },
|
|
192
|
-
},
|
|
193
|
-
],
|
|
208
|
+
required: false,
|
|
194
209
|
},
|
|
195
210
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
196
211
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
@@ -27,6 +27,8 @@ import { IGeneralConfigSub } from './';
|
|
|
27
27
|
import { BaseModel, BaseSchema } from '../config';
|
|
28
28
|
export declare enum Type {
|
|
29
29
|
SEND_GRID = "send_grid",
|
|
30
|
+
SMS = "sms",
|
|
31
|
+
WHATS_APP = "whats_app",
|
|
30
32
|
ENTRAMIND = "entramind",
|
|
31
33
|
WHITE_LIST = "white_list",
|
|
32
34
|
BLACK_LIST = "black_list",
|
|
@@ -37,6 +39,8 @@ export declare enum Type {
|
|
|
37
39
|
}
|
|
38
40
|
export declare enum Context {
|
|
39
41
|
EMAIL = "email",
|
|
42
|
+
SMS = "sms",
|
|
43
|
+
WHATS_APP = "whats_app",
|
|
40
44
|
TO_EMAIL = "to_email",
|
|
41
45
|
SENDER_EMAIL = "sender_email",
|
|
42
46
|
SENDER_EMAIL_STARTUP_WELCOME = "sender_email_startup_welcome",
|
|
@@ -4,6 +4,8 @@ exports.Key = exports.Context = exports.Type = void 0;
|
|
|
4
4
|
var Type;
|
|
5
5
|
(function (Type) {
|
|
6
6
|
Type["SEND_GRID"] = "send_grid";
|
|
7
|
+
Type["SMS"] = "sms";
|
|
8
|
+
Type["WHATS_APP"] = "whats_app";
|
|
7
9
|
Type["ENTRAMIND"] = "entramind";
|
|
8
10
|
Type["WHITE_LIST"] = "white_list";
|
|
9
11
|
Type["BLACK_LIST"] = "black_list";
|
|
@@ -15,6 +17,8 @@ var Type;
|
|
|
15
17
|
var Context;
|
|
16
18
|
(function (Context) {
|
|
17
19
|
Context["EMAIL"] = "email";
|
|
20
|
+
Context["SMS"] = "sms";
|
|
21
|
+
Context["WHATS_APP"] = "whats_app";
|
|
18
22
|
Context["TO_EMAIL"] = "to_email";
|
|
19
23
|
Context["SENDER_EMAIL"] = "sender_email";
|
|
20
24
|
Context["SENDER_EMAIL_STARTUP_WELCOME"] = "sender_email_startup_welcome";
|