@cool-digital-solutions/interferir-models 1.2.53 → 1.2.55
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.
|
@@ -20,6 +20,7 @@ const aiTaskSchema = new mongoose_1.Schema({
|
|
|
20
20
|
output: { type: [] },
|
|
21
21
|
sharedCount: { type: Number, default: 0 },
|
|
22
22
|
isPublic: { type: Boolean, default: false },
|
|
23
|
+
etaTime: { date: { type: Number }, minTime: { type: Number }, maxTime: { type: Number } },
|
|
23
24
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
24
25
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
25
26
|
updatedDate: Number,
|
|
@@ -38,6 +38,11 @@ interface Process {
|
|
|
38
38
|
text: string;
|
|
39
39
|
finishDate: number;
|
|
40
40
|
}
|
|
41
|
+
interface EtaTime {
|
|
42
|
+
date: number;
|
|
43
|
+
minTime: number;
|
|
44
|
+
maxTime: number;
|
|
45
|
+
}
|
|
41
46
|
export interface IAiTask extends BaseSchema {
|
|
42
47
|
type: string;
|
|
43
48
|
status: AITaskStatus;
|
|
@@ -51,6 +56,7 @@ export interface IAiTask extends BaseSchema {
|
|
|
51
56
|
aiAssistant: Types.ObjectId | IAiAssistant;
|
|
52
57
|
sharedCount: number;
|
|
53
58
|
isPublic: boolean;
|
|
59
|
+
etaTime: EtaTime;
|
|
54
60
|
}
|
|
55
61
|
export interface IAiTaskModel extends BaseModel<IAiTask> {
|
|
56
62
|
}
|
|
@@ -31,7 +31,8 @@ export declare enum Type {
|
|
|
31
31
|
WHITE_LIST = "white_list",
|
|
32
32
|
BLACK_LIST = "black_list",
|
|
33
33
|
MIN_SYNC_TIME = "min_sync_time",
|
|
34
|
-
GENERAL_CONFIG = "general_config"
|
|
34
|
+
GENERAL_CONFIG = "general_config",
|
|
35
|
+
AGENT = "agent"
|
|
35
36
|
}
|
|
36
37
|
export declare enum Context {
|
|
37
38
|
EMAIL = "email",
|
|
@@ -43,7 +44,9 @@ export declare enum Context {
|
|
|
43
44
|
AI_AGENT = "aiAgent",
|
|
44
45
|
REGULAR_TRACKING_REPORT = "regularTrackingReport",
|
|
45
46
|
STARTUP_COMPETITOR = "startup_competitor",
|
|
46
|
-
STARTUP_INVESTOR_MATCHING = "startup_investor_matching"
|
|
47
|
+
STARTUP_INVESTOR_MATCHING = "startup_investor_matching",
|
|
48
|
+
DEFAULT_MIN_MINUTE_ETA = "default_min_minute_eta",
|
|
49
|
+
DEFAULT_MAX_MINUTE_ETA = "default_max_minute_eta"
|
|
47
50
|
}
|
|
48
51
|
export declare enum Key {
|
|
49
52
|
DAILY_LIMIT = "daily_limit",
|
|
@@ -61,7 +64,12 @@ export declare enum Key {
|
|
|
61
64
|
RESEARCH_BETA = "research_beta",
|
|
62
65
|
RESEARCH_PROD = "research_prod",
|
|
63
66
|
EXPERIENCE_BETA = "experience_beta",
|
|
64
|
-
EXPERIENCE_PROD = "experience_prod"
|
|
67
|
+
EXPERIENCE_PROD = "experience_prod",
|
|
68
|
+
NOVA = "nova",
|
|
69
|
+
TRACY = "tracy",
|
|
70
|
+
NASH = "nash",
|
|
71
|
+
REESE = "reese",
|
|
72
|
+
CURIE = "curie"
|
|
65
73
|
}
|
|
66
74
|
export interface IGeneralConfig extends BaseSchema {
|
|
67
75
|
generalConfigSub: Types.ObjectId | IGeneralConfigSub;
|
|
@@ -9,6 +9,7 @@ var Type;
|
|
|
9
9
|
Type["BLACK_LIST"] = "black_list";
|
|
10
10
|
Type["MIN_SYNC_TIME"] = "min_sync_time";
|
|
11
11
|
Type["GENERAL_CONFIG"] = "general_config";
|
|
12
|
+
Type["AGENT"] = "agent";
|
|
12
13
|
})(Type || (exports.Type = Type = {}));
|
|
13
14
|
var Context;
|
|
14
15
|
(function (Context) {
|
|
@@ -22,6 +23,8 @@ var Context;
|
|
|
22
23
|
Context["REGULAR_TRACKING_REPORT"] = "regularTrackingReport";
|
|
23
24
|
Context["STARTUP_COMPETITOR"] = "startup_competitor";
|
|
24
25
|
Context["STARTUP_INVESTOR_MATCHING"] = "startup_investor_matching";
|
|
26
|
+
Context["DEFAULT_MIN_MINUTE_ETA"] = "default_min_minute_eta";
|
|
27
|
+
Context["DEFAULT_MAX_MINUTE_ETA"] = "default_max_minute_eta";
|
|
25
28
|
})(Context || (exports.Context = Context = {}));
|
|
26
29
|
var Key;
|
|
27
30
|
(function (Key) {
|
|
@@ -41,4 +44,9 @@ var Key;
|
|
|
41
44
|
Key["RESEARCH_PROD"] = "research_prod";
|
|
42
45
|
Key["EXPERIENCE_BETA"] = "experience_beta";
|
|
43
46
|
Key["EXPERIENCE_PROD"] = "experience_prod";
|
|
47
|
+
Key["NOVA"] = "nova";
|
|
48
|
+
Key["TRACY"] = "tracy";
|
|
49
|
+
Key["NASH"] = "nash";
|
|
50
|
+
Key["REESE"] = "reese";
|
|
51
|
+
Key["CURIE"] = "curie";
|
|
44
52
|
})(Key || (exports.Key = Key = {}));
|