@cool-digital-solutions/interferir-models 1.1.63 → 1.1.65
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-conversation-message.schema.js +0 -1
- package/dist/schemas/ai-conversation.schema.js +1 -0
- package/dist/schemas/highlight.schema.js +1 -0
- package/dist/types/ai-conversation-message.type.d.ts +0 -1
- package/dist/types/ai-conversation.type.d.ts +1 -0
- package/dist/types/highlight.type.d.ts +1 -0
- package/package.json +1 -1
|
@@ -30,7 +30,6 @@ const aiConversationMessageSchema = new mongoose_1.Schema({
|
|
|
30
30
|
nextRole: { type: String, default: '' },
|
|
31
31
|
requestId: { type: String, default: '' },
|
|
32
32
|
aiAssistantId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiAssistant', default: null },
|
|
33
|
-
isVisible: { type: Boolean, default: true },
|
|
34
33
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
35
34
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
36
35
|
updatedDate: Number,
|
|
@@ -13,6 +13,7 @@ const aiConversationSchema = new mongoose_1.Schema({
|
|
|
13
13
|
cost: { type: Number, required: false },
|
|
14
14
|
autoGenerated: { type: Boolean, default: false },
|
|
15
15
|
conversationEnded: { type: Boolean, default: false },
|
|
16
|
+
isVisible: { type: Boolean, default: true },
|
|
16
17
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
17
18
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
18
19
|
updatedDate: Number,
|
|
@@ -24,6 +24,7 @@ const aiIHighlightSchema = new mongoose_1.Schema({
|
|
|
24
24
|
status: { type: String, enum: Object.values(_config_1.ContentStatus), required: true, default: _config_1.ContentStatus.PUBLISH },
|
|
25
25
|
isUpdatedRelatedModelWithAdmin: { type: Boolean, default: false },
|
|
26
26
|
isDeletedByUser: { type: Boolean, default: false },
|
|
27
|
+
isSync: { type: Boolean, default: true },
|
|
27
28
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
28
29
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
29
30
|
updatedDate: Number,
|
|
@@ -54,7 +54,6 @@ export interface IAiConversationMessage extends BaseSchema {
|
|
|
54
54
|
nextRole?: string;
|
|
55
55
|
requestId?: string;
|
|
56
56
|
aiAssistantId: Types.ObjectId | IAiAssistant;
|
|
57
|
-
isVisible: boolean;
|
|
58
57
|
}
|
|
59
58
|
export interface IAiConversationMessageModel extends BaseModel<IAiConversationMessage> {
|
|
60
59
|
}
|