@cool-digital-solutions/interferir-models 1.3.27 → 1.3.29
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/dist/schemas/ai-hr-candidate-candidate-profile.schema.js +2 -2
- package/dist/schemas/ai-hr-candidate-company.schema.js +28 -28
- package/dist/schemas/ai-hr-candidate-top-candidate.schema.js +4 -4
- package/dist/schemas/ai-hr-candidate.schema.js +61 -61
- package/dist/schemas/ai-top-use-case.schema.js +1 -1
- package/package.json +1 -1
|
@@ -10,9 +10,9 @@ const ai_hr_candidate_profile_type_1 = require("../types/ai-hr-candidate-profile
|
|
|
10
10
|
const aiHrCandidateProfileSchema = new mongoose_1.Schema({
|
|
11
11
|
aiTask: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTask', required: true },
|
|
12
12
|
aiHrCandidate: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiHrCandidate', required: true },
|
|
13
|
-
reasoning: { type: String
|
|
13
|
+
reasoning: { type: String },
|
|
14
14
|
order: { type: Number },
|
|
15
|
-
relevancy: { type: String
|
|
15
|
+
relevancy: { type: String },
|
|
16
16
|
strengths: [{ type: String, default: '' }],
|
|
17
17
|
weaknesses: [{ type: String, default: '' }],
|
|
18
18
|
addToOutreach: { type: Boolean, required: false },
|
|
@@ -7,34 +7,34 @@ const mongoose_1 = require("mongoose");
|
|
|
7
7
|
const express_http_context_1 = __importDefault(require("express-http-context"));
|
|
8
8
|
const _config_1 = require("../config");
|
|
9
9
|
const aiHrCandidateCompanySchema = new mongoose_1.Schema({
|
|
10
|
-
name: { type: String
|
|
11
|
-
publicIdentifier: { type: String
|
|
12
|
-
urn: { type: String
|
|
13
|
-
linkedinId: { type: Number
|
|
14
|
-
url: { type: String
|
|
10
|
+
name: { type: String },
|
|
11
|
+
publicIdentifier: { type: String },
|
|
12
|
+
urn: { type: String },
|
|
13
|
+
linkedinId: { type: Number },
|
|
14
|
+
url: { type: String },
|
|
15
15
|
industry: [
|
|
16
16
|
{
|
|
17
|
-
name: { type: String
|
|
18
|
-
urn: { type: String
|
|
17
|
+
name: { type: String },
|
|
18
|
+
urn: { type: String },
|
|
19
19
|
},
|
|
20
20
|
],
|
|
21
|
-
headline: { type: String
|
|
22
|
-
description: { type: String
|
|
23
|
-
employeeCount: { type: Number
|
|
21
|
+
headline: { type: String },
|
|
22
|
+
description: { type: String },
|
|
23
|
+
employeeCount: { type: Number },
|
|
24
24
|
employeeCountRange: {
|
|
25
|
-
start: { type: Number
|
|
25
|
+
start: { type: Number },
|
|
26
26
|
end: { type: Number, default: null },
|
|
27
27
|
},
|
|
28
|
-
followersCount: { type: Number
|
|
29
|
-
foundedOn: { type: Number
|
|
28
|
+
followersCount: { type: Number },
|
|
29
|
+
foundedOn: { type: Number },
|
|
30
30
|
phone: { type: String, default: null },
|
|
31
31
|
specialities: [{ type: String }],
|
|
32
32
|
locations: [
|
|
33
33
|
{
|
|
34
|
-
streetAddressOptOut: { type: Boolean
|
|
34
|
+
streetAddressOptOut: { type: Boolean },
|
|
35
35
|
description: { type: String, default: null },
|
|
36
36
|
address: {
|
|
37
|
-
country: { type: String
|
|
37
|
+
country: { type: String },
|
|
38
38
|
geographicArea: { type: String, default: null },
|
|
39
39
|
line4: { type: String, default: null },
|
|
40
40
|
city: { type: String, default: null },
|
|
@@ -43,31 +43,31 @@ const aiHrCandidateCompanySchema = new mongoose_1.Schema({
|
|
|
43
43
|
line2: { type: String, default: null },
|
|
44
44
|
line1: { type: String, default: null },
|
|
45
45
|
},
|
|
46
|
-
headquarter: { type: Boolean
|
|
46
|
+
headquarter: { type: Boolean },
|
|
47
47
|
},
|
|
48
48
|
],
|
|
49
49
|
funding: {
|
|
50
50
|
lastRound: {
|
|
51
51
|
funding: {
|
|
52
|
-
amount: { type: String
|
|
52
|
+
amount: { type: String },
|
|
53
53
|
},
|
|
54
54
|
investors: { type: Object, default: {} },
|
|
55
55
|
},
|
|
56
56
|
},
|
|
57
|
-
universalName: { type: String
|
|
58
|
-
logo: { type: String
|
|
59
|
-
backgroundImage: { type: String
|
|
60
|
-
websiteUrl: { type: String
|
|
61
|
-
organizationType: { type: String
|
|
57
|
+
universalName: { type: String },
|
|
58
|
+
logo: { type: String },
|
|
59
|
+
backgroundImage: { type: String },
|
|
60
|
+
websiteUrl: { type: String },
|
|
61
|
+
organizationType: { type: String },
|
|
62
62
|
stockSymbol: { type: String, default: null },
|
|
63
|
-
isClaimable: { type: Boolean
|
|
64
|
-
defaultLocale: { type: String
|
|
63
|
+
isClaimable: { type: Boolean },
|
|
64
|
+
defaultLocale: { type: String },
|
|
65
65
|
crunchbaseUrl: { type: String, default: null },
|
|
66
66
|
callToAction: {
|
|
67
|
-
displayText: { type: String
|
|
68
|
-
visible: { type: Boolean
|
|
69
|
-
type: { type: String
|
|
70
|
-
url: { type: String
|
|
67
|
+
displayText: { type: String },
|
|
68
|
+
visible: { type: Boolean },
|
|
69
|
+
type: { type: String },
|
|
70
|
+
url: { type: String },
|
|
71
71
|
},
|
|
72
72
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
73
73
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
@@ -10,11 +10,11 @@ const ai_hr_candidate_top_candidate_type_1 = require("../types/ai-hr-candidate-t
|
|
|
10
10
|
const aiHrCandidateTopCandidateSchema = new mongoose_1.Schema({
|
|
11
11
|
aiTask: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTask', required: true },
|
|
12
12
|
aiHrCandidate: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiHrCandidate', required: true },
|
|
13
|
-
reasoning: { type: String
|
|
13
|
+
reasoning: { type: String },
|
|
14
14
|
order: { type: Number },
|
|
15
|
-
relevancy: { type: String
|
|
16
|
-
strengths: [{ type: String
|
|
17
|
-
weaknesses: [{ type: String
|
|
15
|
+
relevancy: { type: String },
|
|
16
|
+
strengths: [{ type: String }],
|
|
17
|
+
weaknesses: [{ type: String }],
|
|
18
18
|
addToOutreach: { type: Boolean, required: false },
|
|
19
19
|
isOutreached: { type: Boolean, required: false },
|
|
20
20
|
companyBackgroundAnalysis: { type: String, required: false },
|
|
@@ -7,65 +7,65 @@ const mongoose_1 = require("mongoose");
|
|
|
7
7
|
const express_http_context_1 = __importDefault(require("express-http-context"));
|
|
8
8
|
const _config_1 = require("../config");
|
|
9
9
|
const aiHrCandidateSchema = new mongoose_1.Schema({
|
|
10
|
-
firstName: { type: String
|
|
10
|
+
firstName: { type: String },
|
|
11
11
|
middleName: { type: String, default: null },
|
|
12
|
-
lastName: { type: String
|
|
13
|
-
publicIdentifier: { type: String
|
|
14
|
-
urn: { type: String
|
|
15
|
-
url: { type: String
|
|
16
|
-
hasPremium: { type: Boolean
|
|
17
|
-
isInfluencer: { type: Boolean
|
|
18
|
-
isCreator: { type: Boolean
|
|
19
|
-
isOpenlink: { type: Boolean
|
|
20
|
-
isJobSeeker: { type: Boolean
|
|
21
|
-
isHiring: { type: Boolean
|
|
22
|
-
isRetired: { type: Boolean
|
|
23
|
-
linkedinId: { type: String
|
|
12
|
+
lastName: { type: String },
|
|
13
|
+
publicIdentifier: { type: String },
|
|
14
|
+
urn: { type: String },
|
|
15
|
+
url: { type: String },
|
|
16
|
+
hasPremium: { type: Boolean },
|
|
17
|
+
isInfluencer: { type: Boolean },
|
|
18
|
+
isCreator: { type: Boolean },
|
|
19
|
+
isOpenlink: { type: Boolean },
|
|
20
|
+
isJobSeeker: { type: Boolean },
|
|
21
|
+
isHiring: { type: Boolean },
|
|
22
|
+
isRetired: { type: Boolean },
|
|
23
|
+
linkedinId: { type: String },
|
|
24
24
|
creatorInfo: { type: Object, default: null },
|
|
25
|
-
headline: { type: String
|
|
26
|
-
connections: { type: Number
|
|
27
|
-
followers: { type: Number
|
|
25
|
+
headline: { type: String },
|
|
26
|
+
connections: { type: Number },
|
|
27
|
+
followers: { type: Number },
|
|
28
28
|
location: {
|
|
29
|
-
name: { type: String
|
|
30
|
-
urn: { type: String
|
|
29
|
+
name: { type: String },
|
|
30
|
+
urn: { type: String },
|
|
31
31
|
country: {
|
|
32
|
-
name: { type: String
|
|
33
|
-
code: { type: String
|
|
34
|
-
urn: { type: String
|
|
32
|
+
name: { type: String },
|
|
33
|
+
code: { type: String },
|
|
34
|
+
urn: { type: String },
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
37
|
topPosition: {
|
|
38
|
-
startDate: { type: Number
|
|
38
|
+
startDate: { type: Number },
|
|
39
39
|
endDate: { type: Number, default: null },
|
|
40
40
|
companyInfo: {
|
|
41
|
-
name: { type: String
|
|
42
|
-
logo: { type: String
|
|
43
|
-
universalName: { type: String
|
|
44
|
-
url: { type: String
|
|
45
|
-
urn: { type: String
|
|
41
|
+
name: { type: String },
|
|
42
|
+
logo: { type: String },
|
|
43
|
+
universalName: { type: String },
|
|
44
|
+
url: { type: String },
|
|
45
|
+
urn: { type: String },
|
|
46
46
|
},
|
|
47
|
-
urn: { type: String
|
|
47
|
+
urn: { type: String },
|
|
48
48
|
},
|
|
49
49
|
profilePicture: { type: String, default: null },
|
|
50
|
-
backgroundPicture: { type: String
|
|
50
|
+
backgroundPicture: { type: String },
|
|
51
51
|
profilePictureId: { type: String, default: null },
|
|
52
|
-
versionTag: { type: String
|
|
53
|
-
isVerified: { type: Boolean
|
|
54
|
-
about: { type: String
|
|
52
|
+
versionTag: { type: String },
|
|
53
|
+
isVerified: { type: Boolean },
|
|
54
|
+
about: { type: String },
|
|
55
55
|
featured: [
|
|
56
56
|
{
|
|
57
|
-
type: { type: String
|
|
58
|
-
title: { type: String
|
|
59
|
-
subtitle: { type: String
|
|
57
|
+
type: { type: String },
|
|
58
|
+
title: { type: String },
|
|
59
|
+
subtitle: { type: String },
|
|
60
60
|
text: { type: String, default: null },
|
|
61
|
-
image: { type: String
|
|
62
|
-
url: { type: String
|
|
61
|
+
image: { type: String },
|
|
62
|
+
url: { type: String },
|
|
63
63
|
},
|
|
64
64
|
],
|
|
65
65
|
languages: [
|
|
66
66
|
{
|
|
67
|
-
language: { type: String
|
|
68
|
-
proficiency: { type: String
|
|
67
|
+
language: { type: String },
|
|
68
|
+
proficiency: { type: String },
|
|
69
69
|
},
|
|
70
70
|
],
|
|
71
71
|
licensesAndCertifications: [
|
|
@@ -76,24 +76,24 @@ const aiHrCandidateSchema = new mongoose_1.Schema({
|
|
|
76
76
|
experience: [
|
|
77
77
|
{
|
|
78
78
|
company: {
|
|
79
|
-
name: { type: String
|
|
79
|
+
name: { type: String },
|
|
80
80
|
location: { type: String, default: null },
|
|
81
81
|
locationType: { type: String, default: null },
|
|
82
|
-
logoUrl: { type: String
|
|
83
|
-
publicIdentifier: { type: String
|
|
84
|
-
urn: { type: String
|
|
85
|
-
url: { type: String
|
|
82
|
+
logoUrl: { type: String },
|
|
83
|
+
publicIdentifier: { type: String },
|
|
84
|
+
urn: { type: String },
|
|
85
|
+
url: { type: String },
|
|
86
86
|
},
|
|
87
87
|
positions: [
|
|
88
88
|
{
|
|
89
|
-
role: { type: String
|
|
89
|
+
role: { type: String },
|
|
90
90
|
employmentType: { type: String, default: null },
|
|
91
|
-
location: { type: String
|
|
91
|
+
location: { type: String },
|
|
92
92
|
locationType: { type: String, default: null },
|
|
93
|
-
description: { type: String
|
|
93
|
+
description: { type: String },
|
|
94
94
|
skills: [{ type: String }],
|
|
95
|
-
isCurrentPosition: { type: Boolean
|
|
96
|
-
startDate: { type: Number
|
|
95
|
+
isCurrentPosition: { type: Boolean },
|
|
96
|
+
startDate: { type: Number },
|
|
97
97
|
endDate: { type: Number, default: null },
|
|
98
98
|
duration: {
|
|
99
99
|
months: { type: Number, default: null },
|
|
@@ -106,25 +106,25 @@ const aiHrCandidateSchema = new mongoose_1.Schema({
|
|
|
106
106
|
education: [
|
|
107
107
|
{
|
|
108
108
|
institute: {
|
|
109
|
-
name: { type: String
|
|
110
|
-
logo: { type: String
|
|
111
|
-
url: { type: String
|
|
112
|
-
urn: { type: String
|
|
109
|
+
name: { type: String },
|
|
110
|
+
logo: { type: String },
|
|
111
|
+
url: { type: String },
|
|
112
|
+
urn: { type: String },
|
|
113
113
|
},
|
|
114
|
-
degreeProgram: { type: String
|
|
115
|
-
additionalInfo: { type: String
|
|
116
|
-
description: { type: String
|
|
117
|
-
startDate: { type: Number
|
|
118
|
-
endDate: { type: Number
|
|
114
|
+
degreeProgram: { type: String },
|
|
115
|
+
additionalInfo: { type: String },
|
|
116
|
+
description: { type: String },
|
|
117
|
+
startDate: { type: Number },
|
|
118
|
+
endDate: { type: Number },
|
|
119
119
|
duration: {
|
|
120
|
-
years: { type: Number
|
|
121
|
-
months: { type: Number
|
|
120
|
+
years: { type: Number },
|
|
121
|
+
months: { type: Number },
|
|
122
122
|
},
|
|
123
123
|
},
|
|
124
124
|
],
|
|
125
125
|
skills: [
|
|
126
126
|
{
|
|
127
|
-
name: { type: String
|
|
127
|
+
name: { type: String },
|
|
128
128
|
endorserCount: { type: String, default: null },
|
|
129
129
|
endorsers: [{ type: mongoose_1.Schema.Types.Mixed }],
|
|
130
130
|
urn: { type: String, default: null },
|
|
@@ -9,7 +9,7 @@ const _config_1 = require("../config");
|
|
|
9
9
|
const ai_top_use_case_type_1 = require("../types/ai-top-use-case.type");
|
|
10
10
|
const aiTopUseCaseSchema = new mongoose_1.Schema({
|
|
11
11
|
aiTask: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTask', required: true },
|
|
12
|
-
aiTaskResearchManagerOutput: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTaskResearchManagerOutput'
|
|
12
|
+
aiTaskResearchManagerOutput: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTaskResearchManagerOutput' },
|
|
13
13
|
useCases: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'UseCase', required: true }],
|
|
14
14
|
title: { type: String, required: true },
|
|
15
15
|
summary: { type: String, required: true },
|