@cool-digital-solutions/interferir-models 1.3.58 → 1.3.60

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.
@@ -10,6 +10,7 @@ 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
+ jobRelatedTotalExperienceYears: { type: Number },
13
14
  reasoning: { type: String },
14
15
  order: { type: Number },
15
16
  relevancy: { type: String },
@@ -11,6 +11,7 @@ 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
13
  reasoning: { type: String },
14
+ jobRelatedTotalExperienceYears: { type: Number },
14
15
  order: { type: Number },
15
16
  relevancy: { type: String },
16
17
  strengths: [{ type: String }],
@@ -123,6 +123,7 @@ export interface IAiHrCandidateProfile extends BaseSchema {
123
123
  aiTask: Types.ObjectId | IAiTask;
124
124
  aiHrCandidate: Types.ObjectId | IAiHrCandidate;
125
125
  reasoning: string;
126
+ jobRelatedTotalExperienceYears: number;
126
127
  order: number;
127
128
  relevancy: string;
128
129
  strengths: string[];
@@ -122,6 +122,7 @@ interface EmailResearch {
122
122
  export interface IAiHrCandidateTopCandidate extends BaseSchema {
123
123
  aiTask: Types.ObjectId | IAiTask;
124
124
  aiHrCandidate: Types.ObjectId | IAiHrCandidate;
125
+ jobRelatedTotalExperienceYears: number;
125
126
  reasoning: string;
126
127
  order: number;
127
128
  relevancy: string;
@@ -6,12 +6,20 @@ export declare enum SubConfigType {
6
6
  EM_ERROR_MESSAGE = "em_error_message",
7
7
  STARTUP_COMPETITOR = "startup_competitor",
8
8
  STARTUP_INVESTOR_MATCHING = "startup_investor_matching",
9
- SENT_TO_ENTRAMIND_DAYS = "sent_to_entramind_days"
9
+ SENT_TO_ENTRAMIND_DAYS = "sent_to_entramind_days",
10
+ ALERT_EMAIL_WHATS_APP = "alert_email_whats_app",
11
+ DAILY_LIMIT_SMS = "daily_limit_sms",
12
+ DAILY_LIMIT_WHATS_APP = "daily_limit_whats_app",
13
+ REACHED_DAILY_LIMIT_SMS = "reached_daily_limit_sms",
14
+ REACHED_DAILY_LIMIT_WHATS_APP = "reached_daily_limit_whats_app",
15
+ ALERT_EMAIL_SMS = "alert_email_sms"
10
16
  }
11
17
  export declare enum SubConfigKey {
12
18
  SENDED = "sended",
13
19
  SENDED_EMAIL_COUNT = "sended_email_count",
14
- BASE_LIMIT = "base_limit"
20
+ BASE_LIMIT = "base_limit",
21
+ SENDED_SMS_COUNT = "sended_sms_count",
22
+ SENDED_WHATS_APP_COUNT = "sended_whats_app_count"
15
23
  }
16
24
  export interface IGeneralConfigSub extends BaseSchema {
17
25
  type: SubConfigType;
@@ -10,10 +10,18 @@ var SubConfigType;
10
10
  SubConfigType["STARTUP_COMPETITOR"] = "startup_competitor";
11
11
  SubConfigType["STARTUP_INVESTOR_MATCHING"] = "startup_investor_matching";
12
12
  SubConfigType["SENT_TO_ENTRAMIND_DAYS"] = "sent_to_entramind_days";
13
+ SubConfigType["ALERT_EMAIL_WHATS_APP"] = "alert_email_whats_app";
14
+ SubConfigType["DAILY_LIMIT_SMS"] = "daily_limit_sms";
15
+ SubConfigType["DAILY_LIMIT_WHATS_APP"] = "daily_limit_whats_app";
16
+ SubConfigType["REACHED_DAILY_LIMIT_SMS"] = "reached_daily_limit_sms";
17
+ SubConfigType["REACHED_DAILY_LIMIT_WHATS_APP"] = "reached_daily_limit_whats_app";
18
+ SubConfigType["ALERT_EMAIL_SMS"] = "alert_email_sms";
13
19
  })(SubConfigType || (exports.SubConfigType = SubConfigType = {}));
14
20
  var SubConfigKey;
15
21
  (function (SubConfigKey) {
16
22
  SubConfigKey["SENDED"] = "sended";
17
23
  SubConfigKey["SENDED_EMAIL_COUNT"] = "sended_email_count";
18
24
  SubConfigKey["BASE_LIMIT"] = "base_limit";
25
+ SubConfigKey["SENDED_SMS_COUNT"] = "sended_sms_count";
26
+ SubConfigKey["SENDED_WHATS_APP_COUNT"] = "sended_whats_app_count";
19
27
  })(SubConfigKey || (exports.SubConfigKey = SubConfigKey = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.3.58",
3
+ "version": "1.3.60",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"