@futdevpro/nts-dynamo 1.14.27 → 1.14.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/build/_modules/ai/_modules/open-ai/_enums/oai-gpt-message-role.enum.d.ts +0 -17
- package/build/_modules/ai/_modules/open-ai/_enums/oai-gpt-message-role.enum.d.ts.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_enums/oai-gpt-message-role.enum.js +42 -39
- package/build/_modules/ai/_modules/open-ai/_enums/oai-gpt-message-role.enum.js.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_models/interfaces/oai-gpt-message.interface.d.ts +0 -5
- package/build/_modules/ai/_modules/open-ai/_models/interfaces/oai-gpt-message.interface.d.ts.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_models/interfaces/oai-gpt-message.interface.js +6 -2
- package/build/_modules/ai/_modules/open-ai/_models/interfaces/oai-gpt-message.interface.js.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-chunk-data.service.d.ts +22 -0
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-chunk-data.service.d.ts.map +1 -0
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-chunk-data.service.js +187 -0
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-chunk-data.service.js.map +1 -0
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-page.data-service.d.ts +27 -0
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-page.data-service.d.ts.map +1 -0
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-page.data-service.js +277 -0
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-page.data-service.js.map +1 -0
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-document.data-service.d.ts +23 -0
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-document.data-service.d.ts.map +1 -0
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-document.data-service.js +319 -0
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-document.data-service.js.map +1 -0
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-vector-data.service.d.ts +118 -0
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-vector-data.service.d.ts.map +1 -0
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-vector-data.service.js +460 -0
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-vector-data.service.js.map +1 -0
- package/build/_modules/ai/_modules/open-ai/_services/oai-embedding.control-service.d.ts +9 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-embedding.control-service.d.ts.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-embedding.control-service.js +14 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-embedding.control-service.js.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm-chat.service-base.d.ts +73 -130
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm-chat.service-base.d.ts.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm-chat.service-base.js +97 -12
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm-chat.service-base.js.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm.service-base.d.ts +65 -7
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm.service-base.d.ts.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm.service-base.js +192 -6
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm.service-base.js.map +1 -1
- package/build/_modules/ai/_modules/open-ai/index.d.ts +4 -6
- package/build/_modules/ai/_modules/open-ai/index.d.ts.map +1 -1
- package/build/_modules/ai/_modules/open-ai/index.js +8 -7
- package/build/_modules/ai/_modules/open-ai/index.js.map +1 -1
- package/build/_modules/bot/_enums/bot-message-provider.enum.d.ts +1 -1
- package/build/_modules/bot/_enums/bot-message-provider.enum.d.ts.map +1 -1
- package/build/_modules/bot/_enums/bot-message-provider.enum.js +9 -9
- package/build/_modules/bot/_enums/bot-message-provider.enum.js.map +1 -1
- package/build/_modules/bot/_models/bot-message-wrapper.interface.d.ts +2 -2
- package/build/_modules/bot/_models/bot-message-wrapper.interface.d.ts.map +1 -1
- package/build/_modules/bot/_models/bot-messaging-provider.interface.d.ts +2 -2
- package/build/_modules/bot/_models/bot-messaging-provider.interface.d.ts.map +1 -1
- package/build/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.service.js +1 -1
- package/build/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.service.js.map +1 -1
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-messaging-provider.service.js +1 -1
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-messaging-provider.service.js.map +1 -1
- package/build/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.service.js +1 -1
- package/build/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.service.js.map +1 -1
- package/build/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.service.js +1 -1
- package/build/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.service.js.map +1 -1
- package/build/_modules/bot/_services/bot-messaging-provider-factory.service.js +5 -5
- package/build/_modules/bot/_services/bot-messaging-provider-factory.service.js.map +1 -1
- package/build/_modules/discord-assistant/_collections/dias.util.d.ts +3 -3
- package/build/_modules/discord-assistant/_collections/dias.util.d.ts.map +1 -1
- package/build/_modules/discord-assistant/_collections/dias.util.js +4 -4
- package/build/_modules/discord-assistant/_collections/dias.util.js.map +1 -1
- package/build/_modules/discord-assistant/_services/dias-chunk.data-service.d.ts +5 -5
- package/build/_modules/discord-assistant/_services/dias-chunk.data-service.d.ts.map +1 -1
- package/build/_modules/discord-assistant/_services/dias-chunk.data-service.js +1 -1
- package/build/_modules/discord-assistant/_services/dias-chunk.data-service.js.map +1 -1
- package/build/_modules/discord-assistant/_services/dias.service-base.d.ts +2 -2
- package/build/_modules/discord-assistant/_services/dias.service-base.d.ts.map +1 -1
- package/build/_modules/discord-assistant/_services/dias.service-base.js.map +1 -1
- package/package.json +1 -1
- package/src/_modules/ai/_modules/open-ai/_enums/oai-gpt-message-role.enum.ts +42 -42
- package/src/_modules/ai/_modules/open-ai/_models/interfaces/oai-gpt-message.interface.ts +6 -6
- package/src/_modules/ai/_modules/open-ai/_services/{oai-doc-chunk-data.service.ts → data-services/oai-doc-chunk-data.service.ts} +8 -8
- package/src/_modules/ai/_modules/open-ai/_services/{oai-doc-page.data-service.ts → data-services/oai-doc-page.data-service.ts} +8 -8
- package/src/_modules/ai/_modules/open-ai/_services/{oai-document.data-service.ts → data-services/oai-document.data-service.ts} +7 -7
- package/src/_modules/ai/_modules/open-ai/_services/{oai-vector-data.service.ts → data-services/oai-vector-data.service.ts} +4 -4
- package/src/_modules/ai/_modules/open-ai/_services/oai-embedding.control-service.ts +18 -2
- package/src/_modules/ai/_modules/open-ai/_services/oai-llm-chat.service-base.ts +138 -159
- package/src/_modules/ai/_modules/open-ai/_services/oai-llm.service-base.ts +247 -13
- package/src/_modules/ai/_modules/open-ai/index.ts +8 -7
- package/src/_modules/bot/_enums/bot-message-provider.enum.ts +1 -1
- package/src/_modules/bot/_models/bot-message-wrapper.interface.ts +4 -3
- package/src/_modules/bot/_models/bot-messaging-provider.interface.ts +2 -2
- package/src/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.service.ts +2 -2
- package/src/_modules/bot/_modules/dynamo-bot/_services/dyb-messaging-provider.service.ts +2 -2
- package/src/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.service.ts +2 -2
- package/src/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.service.ts +2 -2
- package/src/_modules/bot/_services/bot-messaging-provider-factory.service.ts +6 -6
- package/src/_modules/discord-assistant/_collections/dias.util.ts +6 -7
- package/src/_modules/discord-assistant/_services/dias-chunk.data-service.ts +6 -6
- package/src/_modules/discord-assistant/_services/dias-io.control-service.ts +2 -2
- package/src/_modules/discord-assistant/_services/dias.service-base.ts +2 -3
- package/build/_modules/ai/_services/oai-to-ai-adapter.service.d.ts +0 -39
- package/build/_modules/ai/_services/oai-to-ai-adapter.service.d.ts.map +0 -1
- package/build/_modules/ai/_services/oai-to-ai-adapter.service.js +0 -218
- package/build/_modules/ai/_services/oai-to-ai-adapter.service.js.map +0 -1
- package/build/_modules/bot/_enums/bot-provider.enum.d.ts +0 -8
- package/build/_modules/bot/_enums/bot-provider.enum.d.ts.map +0 -1
- package/build/_modules/bot/_enums/bot-provider.enum.js +0 -12
- package/build/_modules/bot/_enums/bot-provider.enum.js.map +0 -1
- package/build/_modules/bot/_models/bot-provider.interface.d.ts +0 -65
- package/build/_modules/bot/_models/bot-provider.interface.d.ts.map +0 -1
- package/build/_modules/bot/_models/bot-provider.interface.js +0 -3
- package/build/_modules/bot/_models/bot-provider.interface.js.map +0 -1
- package/build/_modules/bot/_modules/discord-bot/_services/dib-provider.service.d.ts +0 -53
- package/build/_modules/bot/_modules/discord-bot/_services/dib-provider.service.d.ts.map +0 -1
- package/build/_modules/bot/_modules/discord-bot/_services/dib-provider.service.js +0 -369
- package/build/_modules/bot/_modules/discord-bot/_services/dib-provider.service.js.map +0 -1
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-provider.service.d.ts +0 -54
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-provider.service.d.ts.map +0 -1
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-provider.service.js +0 -310
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-provider.service.js.map +0 -1
- package/build/_modules/bot/_modules/slack-bot/_services/slb-provider.service.d.ts +0 -40
- package/build/_modules/bot/_modules/slack-bot/_services/slb-provider.service.d.ts.map +0 -1
- package/build/_modules/bot/_modules/slack-bot/_services/slb-provider.service.js +0 -116
- package/build/_modules/bot/_modules/slack-bot/_services/slb-provider.service.js.map +0 -1
- package/build/_modules/bot/_modules/teams-bot/_services/teb-provider.service.d.ts +0 -40
- package/build/_modules/bot/_modules/teams-bot/_services/teb-provider.service.d.ts.map +0 -1
- package/build/_modules/bot/_modules/teams-bot/_services/teb-provider.service.js +0 -116
- package/build/_modules/bot/_modules/teams-bot/_services/teb-provider.service.js.map +0 -1
- package/build/_modules/bot/_services/bot-provider-factory.service.d.ts +0 -5
- package/build/_modules/bot/_services/bot-provider-factory.service.d.ts.map +0 -1
- package/build/_modules/bot/_services/bot-provider-factory.service.js +0 -31
- package/build/_modules/bot/_services/bot-provider-factory.service.js.map +0 -1
|
@@ -5,8 +5,7 @@ import { Client, Guild, Message, TextChannel } from 'discord.js';
|
|
|
5
5
|
import { DyNTS_DiBo_Main_ControlService } from '../../discord-bot/_services/dibo-main.control-service';
|
|
6
6
|
import { DyNTS_DiAs_global_settings } from '../_collections/dias-global-settings.const';
|
|
7
7
|
import { DyNTS_global_settings } from '../../../_collections/global-settings.const';
|
|
8
|
-
import {
|
|
9
|
-
import { DyNTS_OAI_GPT_Message_Role } from '../../ai/_modules/open-ai/_enums/oai-gpt-message-role.enum';
|
|
8
|
+
import { DyFM_AI_Message } from '@futdevpro/fsm-dynamo/ai';
|
|
10
9
|
import { DyNTS_DiAs_Util } from '../_collections/dias.util';
|
|
11
10
|
import { DyNTS_DiAs_IO_ControlService } from './dias-io.control-service';
|
|
12
11
|
|
|
@@ -65,7 +64,7 @@ export abstract class DyNTS_DiAs_ServiceBase extends DyNTS_DiBo_Main_ControlServ
|
|
|
65
64
|
async gatherMessagesAsOAIConversation(
|
|
66
65
|
message: Message,
|
|
67
66
|
issuer: string,
|
|
68
|
-
): Promise<
|
|
67
|
+
): Promise<DyFM_AI_Message[]> {
|
|
69
68
|
const messages: Message[] = await this.gatherDiscordMessagesForMessage(message);
|
|
70
69
|
|
|
71
70
|
return DyNTS_DiAs_Util.convertDiscordMessagesToOAIConversation({
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { DyNTS_AI_LLMChat_ServiceBase } from './ai-llm-chat.service-base';
|
|
2
|
-
import { DyFM_AI_Message } from '@futdevpro/fsm-dynamo/ai';
|
|
3
|
-
import { DyFM_AI_ConversationQuestion_Input, DyFM_AI_ConversationSelect_Input, DyFM_AI_ConversationGenericSelect_Input, DyFM_AI_ConversationMultiSelect_Input, DyFM_AI_ConversationGenericMultiSelect_Input, DyFM_AI_ConversationJSONKeysDescription_Input, DyFM_AI_ConversationJSONExactKeys_Input, DyFM_AI_ConversationGetAnswer_Input } from '../_models/ai-input-interfaces';
|
|
4
|
-
import { DyNTS_OAI_LLMChat_ServiceBase } from '../open-ai/_services/oai-llm-chat.service-base';
|
|
5
|
-
/**
|
|
6
|
-
* Adapter to make DyNTS_OAI_LLMChat_ServiceBase compatible with DyNTS_AI_LLMChat_ServiceBase
|
|
7
|
-
* This bridges the OpenAI-specific implementation with the generic AI interface
|
|
8
|
-
*/
|
|
9
|
-
export declare class DyNTS_OAI_To_AI_Adapter extends DyNTS_AI_LLMChat_ServiceBase {
|
|
10
|
-
private oaiService;
|
|
11
|
-
private conversationHistory;
|
|
12
|
-
constructor(oaiService: DyNTS_OAI_LLMChat_ServiceBase);
|
|
13
|
-
addMessageToHistory(message: DyFM_AI_Message, issuer: string): void;
|
|
14
|
-
clearHistory(issuer: string): void;
|
|
15
|
-
getHistory(issuer: string): DyFM_AI_Message[];
|
|
16
|
-
private convertAIToOAIMessage;
|
|
17
|
-
private convertOAIToAIMessage;
|
|
18
|
-
private convertAIToOAI;
|
|
19
|
-
yesNoQuestionInConversation(set: DyFM_AI_ConversationQuestion_Input): Promise<boolean>;
|
|
20
|
-
simpleQuestionInConversation(set: DyFM_AI_ConversationQuestion_Input): Promise<string>;
|
|
21
|
-
percentageQuestionInConversation(set: DyFM_AI_ConversationQuestion_Input): Promise<number>;
|
|
22
|
-
selectQuestionInConversation(set: DyFM_AI_ConversationSelect_Input): Promise<string>;
|
|
23
|
-
requestSelectInConversation<T>(set: DyFM_AI_ConversationGenericSelect_Input<T>): Promise<T | {
|
|
24
|
-
unparsableResult: string;
|
|
25
|
-
}>;
|
|
26
|
-
multipleSelectQuestionInConversationWithOptions(set: DyFM_AI_ConversationMultiSelect_Input): Promise<string[]>;
|
|
27
|
-
requestMultiselectInConversation<T>(set: DyFM_AI_ConversationGenericMultiSelect_Input<T>): Promise<T[]>;
|
|
28
|
-
JSONQuestionInConversationWithKeysDescription(set: DyFM_AI_ConversationJSONKeysDescription_Input): Promise<object>;
|
|
29
|
-
JSONQuestionInConversationWithExactKeys(set: DyFM_AI_ConversationJSONExactKeys_Input): Promise<object>;
|
|
30
|
-
requestJSONInConversationWithExactKeys<T>(set: DyFM_AI_ConversationJSONExactKeys_Input): Promise<T>;
|
|
31
|
-
getQuestionAnswerInConversation(set: DyFM_AI_ConversationQuestion_Input): Promise<string>;
|
|
32
|
-
getAnswerInConversation(set: DyFM_AI_ConversationGetAnswer_Input): Promise<string>;
|
|
33
|
-
get defaultSettings(): any;
|
|
34
|
-
askQuestion(set: any): Promise<string>;
|
|
35
|
-
jsonQuestionInConversation<T = any>(set: any): Promise<T | {
|
|
36
|
-
unparsableResult: string;
|
|
37
|
-
}>;
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=oai-to-ai-adapter.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oai-to-ai-adapter.service.d.ts","sourceRoot":"","sources":["../../../../src/_modules/ai/_services/oai-to-ai-adapter.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAuB,MAAM,0BAA0B,CAAC;AAChF,OAAO,EACL,kCAAkC,EAClC,gCAAgC,EAChC,uCAAuC,EACvC,qCAAqC,EACrC,4CAA4C,EAC5C,6CAA6C,EAC7C,uCAAuC,EACvC,mCAAmC,EACpC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAG/F;;;GAGG;AACH,qBAAa,uBAAwB,SAAQ,4BAA4B;IACvE,OAAO,CAAC,UAAU,CAAgC;IAClD,O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;IAazF,uBAAuB,CAAC,GAAG,EAAE,mCAAmC,GAAG,OAAO,CAAC,MAAM,CAAC;IAcxF,IAAI,eAAe,QAElB;IAED,WAAW,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC;IAItC,0BAA0B,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,GAAG;QAAE,gBAAgB,EAAE,MAAM,CAAA;KAAE,CAAC;CAGzF"}
|
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DyNTS_OAI_To_AI_Adapter = void 0;
|
|
4
|
-
const ai_llm_chat_service_base_1 = require("./ai-llm-chat.service-base");
|
|
5
|
-
const ai_1 = require("@futdevpro/fsm-dynamo/ai");
|
|
6
|
-
const oai_gpt_message_interface_1 = require("../open-ai/_models/interfaces/oai-gpt-message.interface");
|
|
7
|
-
/**
|
|
8
|
-
* Adapter to make DyNTS_OAI_LLMChat_ServiceBase compatible with DyNTS_AI_LLMChat_ServiceBase
|
|
9
|
-
* This bridges the OpenAI-specific implementation with the generic AI interface
|
|
10
|
-
*/
|
|
11
|
-
class DyNTS_OAI_To_AI_Adapter extends ai_llm_chat_service_base_1.DyNTS_AI_LLMChat_ServiceBase {
|
|
12
|
-
oaiService;
|
|
13
|
-
conversationHistory = new Map();
|
|
14
|
-
constructor(oaiService) {
|
|
15
|
-
super();
|
|
16
|
-
this.oaiService = oaiService;
|
|
17
|
-
}
|
|
18
|
-
addMessageToHistory(message, issuer) {
|
|
19
|
-
if (!this.conversationHistory.has(issuer)) {
|
|
20
|
-
this.conversationHistory.set(issuer, []);
|
|
21
|
-
}
|
|
22
|
-
this.conversationHistory.get(issuer).push(message);
|
|
23
|
-
}
|
|
24
|
-
clearHistory(issuer) {
|
|
25
|
-
this.conversationHistory.delete(issuer);
|
|
26
|
-
}
|
|
27
|
-
getHistory(issuer) {
|
|
28
|
-
return this.conversationHistory.get(issuer) || [];
|
|
29
|
-
}
|
|
30
|
-
// Conversion helpers
|
|
31
|
-
convertAIToOAIMessage(aiMessage) {
|
|
32
|
-
return {
|
|
33
|
-
role: aiMessage.role === ai_1.DyFM_AI_MessageRole.assistant
|
|
34
|
-
? oai_gpt_message_interface_1.DyNTS_OAI_GPT_Message_Role.assistant
|
|
35
|
-
: aiMessage.role === ai_1.DyFM_AI_MessageRole.system
|
|
36
|
-
? oai_gpt_message_interface_1.DyNTS_OAI_GPT_Message_Role.system
|
|
37
|
-
: oai_gpt_message_interface_1.DyNTS_OAI_GPT_Message_Role.user,
|
|
38
|
-
content: aiMessage.content,
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
convertOAIToAIMessage(oaiMessage) {
|
|
42
|
-
return {
|
|
43
|
-
role: oaiMessage.role === oai_gpt_message_interface_1.DyNTS_OAI_GPT_Message_Role.assistant
|
|
44
|
-
? ai_1.DyFM_AI_MessageRole.assistant
|
|
45
|
-
: oaiMessage.role === oai_gpt_message_interface_1.DyNTS_OAI_GPT_Message_Role.system
|
|
46
|
-
? ai_1.DyFM_AI_MessageRole.system
|
|
47
|
-
: ai_1.DyFM_AI_MessageRole.user,
|
|
48
|
-
content: oaiMessage.content,
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
convertAIToOAI(conversation) {
|
|
52
|
-
return conversation.map(msg => this.convertAIToOAIMessage(msg));
|
|
53
|
-
}
|
|
54
|
-
// Implement abstract methods by delegating to OAI service with conversion
|
|
55
|
-
async yesNoQuestionInConversation(set) {
|
|
56
|
-
const conversation = this.convertAIToOAI(set.conversation);
|
|
57
|
-
const result = await this.oaiService.yesNoQuestionInConversation({
|
|
58
|
-
conversation,
|
|
59
|
-
question: set.question,
|
|
60
|
-
issuer: set.issuer,
|
|
61
|
-
settings: set.settings,
|
|
62
|
-
debugLog: set.debugLog,
|
|
63
|
-
replaceThisInLog: set.replaceThisInLog,
|
|
64
|
-
});
|
|
65
|
-
return result;
|
|
66
|
-
}
|
|
67
|
-
async simpleQuestionInConversation(set) {
|
|
68
|
-
const conversation = this.convertAIToOAI(set.conversation);
|
|
69
|
-
const result = await this.oaiService.simpleQuestionInConversation({
|
|
70
|
-
conversation,
|
|
71
|
-
question: set.question,
|
|
72
|
-
issuer: set.issuer,
|
|
73
|
-
settings: set.settings,
|
|
74
|
-
debugLog: set.debugLog,
|
|
75
|
-
replaceThisInLog: set.replaceThisInLog,
|
|
76
|
-
});
|
|
77
|
-
return result;
|
|
78
|
-
}
|
|
79
|
-
async percentageQuestionInConversation(set) {
|
|
80
|
-
const conversation = this.convertAIToOAI(set.conversation);
|
|
81
|
-
const result = await this.oaiService.percentageQuestionInConversation({
|
|
82
|
-
conversation,
|
|
83
|
-
question: set.question,
|
|
84
|
-
issuer: set.issuer,
|
|
85
|
-
settings: set.settings,
|
|
86
|
-
debugLog: set.debugLog,
|
|
87
|
-
replaceThisInLog: set.replaceThisInLog,
|
|
88
|
-
});
|
|
89
|
-
return result;
|
|
90
|
-
}
|
|
91
|
-
async selectQuestionInConversation(set) {
|
|
92
|
-
const conversation = this.convertAIToOAI(set.conversation);
|
|
93
|
-
const result = await this.oaiService.selectQuestionInConversation({
|
|
94
|
-
conversation,
|
|
95
|
-
question: set.question,
|
|
96
|
-
selectFrom: set.selectFrom,
|
|
97
|
-
issuer: set.issuer,
|
|
98
|
-
settings: set.settings,
|
|
99
|
-
debugLog: set.debugLog,
|
|
100
|
-
replaceThisInLog: set.replaceThisInLog,
|
|
101
|
-
});
|
|
102
|
-
return result;
|
|
103
|
-
}
|
|
104
|
-
async requestSelectInConversation(set) {
|
|
105
|
-
const conversation = this.convertAIToOAI(set.conversation);
|
|
106
|
-
const result = await this.oaiService.requestSelectInConversation({
|
|
107
|
-
conversation,
|
|
108
|
-
question: set.question,
|
|
109
|
-
selectFrom: set.selectFrom,
|
|
110
|
-
issuer: set.issuer,
|
|
111
|
-
settings: set.settings,
|
|
112
|
-
debugLog: set.debugLog,
|
|
113
|
-
replaceThisInLog: set.replaceThisInLog,
|
|
114
|
-
});
|
|
115
|
-
return result;
|
|
116
|
-
}
|
|
117
|
-
async multipleSelectQuestionInConversationWithOptions(set) {
|
|
118
|
-
const conversation = this.convertAIToOAI(set.conversation);
|
|
119
|
-
const result = await this.oaiService.multipleSelectQuestionWithOptionsInConversation({
|
|
120
|
-
conversation,
|
|
121
|
-
question: set.question,
|
|
122
|
-
options: set.options,
|
|
123
|
-
issuer: set.issuer,
|
|
124
|
-
settings: set.settings,
|
|
125
|
-
debugLog: set.debugLog,
|
|
126
|
-
replaceThisInLog: set.replaceThisInLog,
|
|
127
|
-
});
|
|
128
|
-
return result;
|
|
129
|
-
}
|
|
130
|
-
async requestMultiselectInConversation(set) {
|
|
131
|
-
const conversation = this.convertAIToOAI(set.conversation);
|
|
132
|
-
const result = await this.oaiService.requestMultipleSelectInConversation({
|
|
133
|
-
conversation,
|
|
134
|
-
question: set.question,
|
|
135
|
-
options: set.options,
|
|
136
|
-
issuer: set.issuer,
|
|
137
|
-
settings: set.settings,
|
|
138
|
-
debugLog: set.debugLog,
|
|
139
|
-
replaceThisInLog: set.replaceThisInLog,
|
|
140
|
-
});
|
|
141
|
-
return result;
|
|
142
|
-
}
|
|
143
|
-
async JSONQuestionInConversationWithKeysDescription(set) {
|
|
144
|
-
const conversation = this.convertAIToOAI(set.conversation);
|
|
145
|
-
const result = await this.oaiService.jsonQuestionWithKeysDescriptionInConversation({
|
|
146
|
-
conversation,
|
|
147
|
-
question: set.question,
|
|
148
|
-
keysDescription: set.keysDescription,
|
|
149
|
-
issuer: set.issuer,
|
|
150
|
-
settings: set.settings,
|
|
151
|
-
debugLog: set.debugLog,
|
|
152
|
-
replaceThisInLog: set.replaceThisInLog,
|
|
153
|
-
});
|
|
154
|
-
return result;
|
|
155
|
-
}
|
|
156
|
-
async JSONQuestionInConversationWithExactKeys(set) {
|
|
157
|
-
const conversation = this.convertAIToOAI(set.conversation);
|
|
158
|
-
const result = await this.oaiService.jsonQuestionWithExactKeysInConversation({
|
|
159
|
-
conversation,
|
|
160
|
-
question: set.question,
|
|
161
|
-
keys: set.keys,
|
|
162
|
-
issuer: set.issuer,
|
|
163
|
-
settings: set.settings,
|
|
164
|
-
debugLog: set.debugLog,
|
|
165
|
-
replaceThisInLog: set.replaceThisInLog,
|
|
166
|
-
});
|
|
167
|
-
return result;
|
|
168
|
-
}
|
|
169
|
-
async requestJSONInConversationWithExactKeys(set) {
|
|
170
|
-
const conversation = this.convertAIToOAI(set.conversation);
|
|
171
|
-
const result = await this.oaiService.jsonQuestionWithExactKeysInConversation({
|
|
172
|
-
conversation,
|
|
173
|
-
question: set.question,
|
|
174
|
-
keys: set.keys,
|
|
175
|
-
issuer: set.issuer,
|
|
176
|
-
settings: set.settings,
|
|
177
|
-
debugLog: set.debugLog,
|
|
178
|
-
replaceThisInLog: set.replaceThisInLog,
|
|
179
|
-
});
|
|
180
|
-
return result;
|
|
181
|
-
}
|
|
182
|
-
async getQuestionAnswerInConversation(set) {
|
|
183
|
-
const conversation = this.convertAIToOAI(set.conversation);
|
|
184
|
-
const result = await this.oaiService.getQuestionAnswerInConversation({
|
|
185
|
-
conversation,
|
|
186
|
-
question: set.question,
|
|
187
|
-
issuer: set.issuer,
|
|
188
|
-
settings: set.settings,
|
|
189
|
-
debugLog: set.debugLog,
|
|
190
|
-
replaceThisInLog: set.replaceThisInLog,
|
|
191
|
-
});
|
|
192
|
-
return result;
|
|
193
|
-
}
|
|
194
|
-
async getAnswerInConversation(set) {
|
|
195
|
-
const conversation = this.convertAIToOAI(set.conversation);
|
|
196
|
-
const result = await this.oaiService.getAnswerInConversation({
|
|
197
|
-
conversation,
|
|
198
|
-
newMessage: set.newMessage,
|
|
199
|
-
issuer: set.issuer,
|
|
200
|
-
settings: set.settings,
|
|
201
|
-
debugLog: set.debugLog,
|
|
202
|
-
replaceThisInLog: set.replaceThisInLog,
|
|
203
|
-
});
|
|
204
|
-
return result;
|
|
205
|
-
}
|
|
206
|
-
// Delegate non-abstract methods to the OAI service
|
|
207
|
-
get defaultSettings() {
|
|
208
|
-
return this.oaiService.defaultSettings;
|
|
209
|
-
}
|
|
210
|
-
askQuestion(set) {
|
|
211
|
-
return this.oaiService.askQuestion(set);
|
|
212
|
-
}
|
|
213
|
-
jsonQuestionInConversation(set) {
|
|
214
|
-
return this.oaiService.jsonQuestionInConversation(set);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
exports.DyNTS_OAI_To_AI_Adapter = DyNTS_OAI_To_AI_Adapter;
|
|
218
|
-
//# sourceMappingURL=oai-to-ai-adapter.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oai-to-ai-adapter.service.js","sourceRoot":"","sources":["../../../../src/_modules/ai/_services/oai-to-ai-adapter.service.ts"],"names":[],"mappings":";;;AAAA,yEAA0E;AAC1E,iDAAgF;AAYhF,uGAA4H;AAE5H;;;GAGG;AACH,MAAa,uBAAwB,SAAQ,uDAA4B;IAC/D,UAAU,CAAgC;IAC1C,mBAAmB,GAAmC,IAAI,GAAG,EAAE,CAAC;IAExE,YAAY,UAAyC;QACnD,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED,mBAAmB,CAAC,OAAwB,EAAE,MAAc;QAC1D,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;YAC1C,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAC3C,CAAC;QACD,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrD,CAAC;IAED,YAAY,CAAC,MAAc;QACzB,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1C,CAAC;IAED,UAAU,CAAC,MAAc;Q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M,YAAY,GAAG,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QAC3D,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,uBAAuB,CAAC;YAC3D,YAAY;YACZ,UAAU,EAAE,GAAG,CAAC,UAAU;YAC1B,MAAM,EAAE,GAAG,CAAC,MAAM;YAClB,QAAQ,EAAE,GAAG,CAAC,QAAe;YAC7B,QAAQ,EAAE,GAAG,CAAC,QAAQ;YACtB,gBAAgB,EAAG,GAAW,CAAC,gBAAgB;SAChD,CAAC,CAAC;QACH,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,mDAAmD;IACnD,IAAI,eAAe;QACjB,OAAO,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC;IACzC,CAAC;IAED,WAAW,CAAC,GAAQ;QAClB,OAAO,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAC1C,CAAC;IAED,0BAA0B,CAAU,GAAQ;QAC1C,OAAO,IAAI,CAAC,UAAU,CAAC,0BAA0B,CAAI,GAAG,CAAC,CAAC;IAC5D,CAAC;CACF;AAnOD,0DAmOC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bot-provider.enum.d.ts","sourceRoot":"","sources":["../../../../src/_modules/bot/_enums/bot-provider.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB;IACjC,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DyNTS_Bot_Provider_Type = void 0;
|
|
4
|
-
var DyNTS_Bot_Provider_Type;
|
|
5
|
-
(function (DyNTS_Bot_Provider_Type) {
|
|
6
|
-
DyNTS_Bot_Provider_Type["discord"] = "discord";
|
|
7
|
-
DyNTS_Bot_Provider_Type["slack"] = "slack";
|
|
8
|
-
DyNTS_Bot_Provider_Type["teams"] = "teams";
|
|
9
|
-
DyNTS_Bot_Provider_Type["dynamo"] = "dynamo";
|
|
10
|
-
DyNTS_Bot_Provider_Type["custom"] = "custom";
|
|
11
|
-
})(DyNTS_Bot_Provider_Type || (exports.DyNTS_Bot_Provider_Type = DyNTS_Bot_Provider_Type = {}));
|
|
12
|
-
//# sourceMappingURL=bot-provider.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bot-provider.enum.js","sourceRoot":"","sources":["../../../../src/_modules/bot/_enums/bot-provider.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAMX;AAND,WAAY,uBAAuB;IACjC,8CAAmB,CAAA;IACnB,0CAAe,CAAA;IACf,0CAAe,CAAA;IACf,4CAAiB,CAAA;IACjB,4CAAiB,CAAA;AACnB,CAAC,EANW,uBAAuB,uCAAvB,uBAAuB,QAMlC"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { DyNTS_Bot_Message } from './bot-message.interface';
|
|
2
|
-
import { DyNTS_Bot_Channel } from './bot-channel.interface';
|
|
3
|
-
import { DyNTS_Bot_User } from './bot-user.interface';
|
|
4
|
-
import { DyNTS_Bot_LastMessageDate } from './bot-last-message-date.interface';
|
|
5
|
-
import { DyNTS_Bot_LastMentionDate } from './bot-last-mention-date.interface';
|
|
6
|
-
import { DyNTS_Bot_Provider_Type } from '../_enums/bot-provider.enum';
|
|
7
|
-
import { DyNTS_Bot_Global_Settings } from './bot-global-settings.interface';
|
|
8
|
-
export interface DyNTS_Bot_Provider_Config extends DyNTS_Bot_Global_Settings {
|
|
9
|
-
provider: DyNTS_Bot_Provider_Type;
|
|
10
|
-
providerInstance?: DyNTS_Bot_Provider;
|
|
11
|
-
discord?: {
|
|
12
|
-
token: string;
|
|
13
|
-
guildId: string;
|
|
14
|
-
clientId: string;
|
|
15
|
-
oauth2Url: string;
|
|
16
|
-
};
|
|
17
|
-
slack?: {
|
|
18
|
-
token: string;
|
|
19
|
-
workspace: string;
|
|
20
|
-
};
|
|
21
|
-
teams?: {
|
|
22
|
-
appId: string;
|
|
23
|
-
appPassword: string;
|
|
24
|
-
tenantId: string;
|
|
25
|
-
};
|
|
26
|
-
dynamo?: {
|
|
27
|
-
defaultConversationId?: string;
|
|
28
|
-
botUserId?: string;
|
|
29
|
-
botDisplayName?: string;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
export interface DyNTS_Bot_Provider<T_PlatformChannel extends DyNTS_Bot_Channel<any> = DyNTS_Bot_Channel<any>, T_PlatformMessage extends DyNTS_Bot_Message<any> = DyNTS_Bot_Message<any>, T_PlatformUser extends DyNTS_Bot_User<any> = DyNTS_Bot_User<any>> {
|
|
33
|
-
initialize(config: DyNTS_Bot_Provider_Config): Promise<void>;
|
|
34
|
-
login(token: string): Promise<void>;
|
|
35
|
-
getChannelByName(name: string): Promise<T_PlatformChannel>;
|
|
36
|
-
sendMessageToChannelByName(channelName: string, message: string): Promise<T_PlatformMessage>;
|
|
37
|
-
getMessagesFromChannelByChannelName(channelName: string, limit?: number): Promise<T_PlatformMessage[]>;
|
|
38
|
-
getLastMessageInChannel(channelName: string): Promise<T_PlatformMessage>;
|
|
39
|
-
clearChannel(channelId: string): Promise<void>;
|
|
40
|
-
sendMessage(channelId: string, content: string): Promise<T_PlatformMessage>;
|
|
41
|
-
replyToMessage(messageId: string, channelId: string, content: string): Promise<T_PlatformMessage>;
|
|
42
|
-
sendTyping(channelId: string): Promise<void>;
|
|
43
|
-
fetchMessages(channelId: string, limit: number): Promise<T_PlatformMessage[]>;
|
|
44
|
-
fetchAllMessagesWithPaging(channelId: string, maxFetch?: number): Promise<T_PlatformMessage[]>;
|
|
45
|
-
deleteMessage(messageId: string, channelId: string): Promise<void>;
|
|
46
|
-
getUserByName(username: string): Promise<T_PlatformUser>;
|
|
47
|
-
getUserMention(userId: string): string;
|
|
48
|
-
readMembersInChannel(channelName: string): Promise<T_PlatformUser[]>;
|
|
49
|
-
readMemberNamesInChannel(channelName: string): Promise<string[]>;
|
|
50
|
-
getLastMessageSentBy(channelName: string, username: string): Promise<T_PlatformMessage>;
|
|
51
|
-
getLastMentionOf(channelName: string, username: string): Promise<T_PlatformMessage>;
|
|
52
|
-
readLastMessageDatesByMembers(channelName: string, memberNames: string[]): Promise<DyNTS_Bot_LastMessageDate[]>;
|
|
53
|
-
readLastMessageWithMemberNamePingInIt(channelName: string, users: T_PlatformUser[]): Promise<DyNTS_Bot_LastMentionDate[]>;
|
|
54
|
-
getRoleByName?(roleName: string): any;
|
|
55
|
-
getRolePingByName?(roleName: string): Promise<string>;
|
|
56
|
-
getRolePingsByName?(roleNames: string[]): Promise<string>;
|
|
57
|
-
onMessage(handler: (message: T_PlatformMessage, issuer: string) => void): void;
|
|
58
|
-
onReady(handler: () => void): void;
|
|
59
|
-
onError(handler: (error: Error) => void): void;
|
|
60
|
-
getBotId(): string;
|
|
61
|
-
getBotDisplayName(): string;
|
|
62
|
-
getProviderName(): string;
|
|
63
|
-
isReady(): boolean;
|
|
64
|
-
}
|
|
65
|
-
//# sourceMappingURL=bot-provider.interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bot-provider.interface.d.ts","sourceRoot":"","sources":["../../../../src/_modules/bot/_models/bot-provider.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAA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MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACxF,gBAAgB,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACpF,6BAA6B,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,yBAAyB,EAAE,CAAC,CAAC;IAChH,qCAAqC,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,GAAG,OAAO,CAAC,yBAAyB,EAAE,CAAC,CAAC;IAG1H,aAAa,CAAC,CAAC,QAAQ,EAAE,MAAM,GAAG,GAAG,CAAC;IACtC,iBAAiB,CAAC,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACtD,kBAAkB,CAAC,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAG1D,SAAS,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI,CAAC;IAC/E,OAAO,CAAC,OAAO,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;IACnC,OAAO,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,GAAG,IAAI,CAAC;IAG/C,QAAQ,IAAI,MAAM,CAAC;IACnB,iBAAiB,IAAI,MAAM,CAAC;IAC5B,eAAe,IAAI,MAAM,CAAC;IAC1B,OAAO,IAAI,OAAO,CAAC;CACpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bot-provider.interface.js","sourceRoot":"","sources":["../../../../src/_modules/bot/_models/bot-provider.interface.ts"],"names":[],"mappings":""}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { Role } from 'discord.js';
|
|
2
|
-
import { DyNTS_Bot_Provider, DyNTS_Bot_Provider_Config } from '../../../_models/bot-provider.interface';
|
|
3
|
-
import { DyNTS_Bot_LastMessageDate } from '../../../_models/bot-last-message-date.interface';
|
|
4
|
-
import { DyNTS_Bot_LastMentionDate } from '../../../_models/bot-last-mention-date.interface';
|
|
5
|
-
import { DyNTS_DiB_Message, DyNTS_DiB_Channel, DyNTS_DiB_User } from '../_models/dib-platform.types';
|
|
6
|
-
export declare class DyNTS_DiB_Provider implements DyNTS_Bot_Provider<DyNTS_DiB_Channel, DyNTS_DiB_Message, DyNTS_DiB_User> {
|
|
7
|
-
private client;
|
|
8
|
-
private guild;
|
|
9
|
-
private channelCache;
|
|
10
|
-
private roleCache;
|
|
11
|
-
private isInitialized;
|
|
12
|
-
private config;
|
|
13
|
-
private messageHandlers;
|
|
14
|
-
private readyHandlers;
|
|
15
|
-
private errorHandlers;
|
|
16
|
-
constructor();
|
|
17
|
-
initialize(config: DyNTS_Bot_Provider_Config): Promise<void>;
|
|
18
|
-
login(token: string): Promise<void>;
|
|
19
|
-
private setupEventListeners;
|
|
20
|
-
getChannelByName(name: string): Promise<DyNTS_DiB_Channel>;
|
|
21
|
-
sendMessageToChannelByName(channelName: string, message: string): Promise<DyNTS_DiB_Message>;
|
|
22
|
-
getMessagesFromChannelByChannelName(channelName: string, limit?: number): Promise<DyNTS_DiB_Message[]>;
|
|
23
|
-
getLastMessageInChannel(channelName: string): Promise<DyNTS_DiB_Message>;
|
|
24
|
-
clearChannel(channelId: string): Promise<void>;
|
|
25
|
-
sendMessage(channelId: string, content: string): Promise<DyNTS_DiB_Message>;
|
|
26
|
-
replyToMessage(messageId: string, channelId: string, content: string): Promise<DyNTS_DiB_Message>;
|
|
27
|
-
sendTyping(channelId: string): Promise<void>;
|
|
28
|
-
fetchMessages(channelId: string, limit: number): Promise<DyNTS_DiB_Message[]>;
|
|
29
|
-
fetchAllMessagesWithPaging(channelId: string, maxFetch?: number): Promise<DyNTS_DiB_Message[]>;
|
|
30
|
-
deleteMessage(messageId: string, channelId: string): Promise<void>;
|
|
31
|
-
getUserByName(username: string): Promise<DyNTS_DiB_User>;
|
|
32
|
-
getUserMention(userId: string): string;
|
|
33
|
-
readMembersInChannel(channelName: string): Promise<DyNTS_DiB_User[]>;
|
|
34
|
-
readMemberNamesInChannel(channelName: string): Promise<string[]>;
|
|
35
|
-
getLastMessageSentBy(channelName: string, username: string): Promise<DyNTS_DiB_Message>;
|
|
36
|
-
getLastMentionOf(channelName: string, username: string): Promise<DyNTS_DiB_Message>;
|
|
37
|
-
readLastMessageDatesByMembers(channelName: string, memberNames: string[]): Promise<DyNTS_Bot_LastMessageDate[]>;
|
|
38
|
-
readLastMessageWithMemberNamePingInIt(channelName: string, users: DyNTS_DiB_User[]): Promise<DyNTS_Bot_LastMentionDate[]>;
|
|
39
|
-
getRoleByName(roleName: string): Role;
|
|
40
|
-
getRolePingByName(roleName: string): Promise<string>;
|
|
41
|
-
getRolePingsByName(roleNames: string[]): Promise<string>;
|
|
42
|
-
onMessage(handler: (message: DyNTS_DiB_Message, issuer: string) => void): void;
|
|
43
|
-
onReady(handler: () => void): void;
|
|
44
|
-
onError(handler: (error: Error) => void): void;
|
|
45
|
-
getBotId(): string;
|
|
46
|
-
getBotDisplayName(): string;
|
|
47
|
-
getProviderName(): string;
|
|
48
|
-
isReady(): boolean;
|
|
49
|
-
private translateMessage;
|
|
50
|
-
private translateChannel;
|
|
51
|
-
private translateUser;
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=dib-provider.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dib-provider.service.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/bot/_modules/discord-bot/_services/dib-provider.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgF,IAAI,EAAe,MAAM,YAAY,CAAC;AAE7H,OAAO,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACxG,OAAO,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAC7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