@futdevpro/nts-dynamo 1.14.29 → 1.14.32
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/_services/oai-llm.service-base.d.ts +0 -3
- 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 +20 -15
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm.service-base.js.map +1 -1
- package/build/_modules/ai/_services/ai-llm.service-base.d.ts +0 -2
- package/build/_modules/ai/_services/ai-llm.service-base.d.ts.map +1 -1
- package/build/_modules/ai/_services/ai-provider.service-base.d.ts +2 -1
- package/build/_modules/ai/_services/ai-provider.service-base.d.ts.map +1 -1
- package/build/_modules/ai/_services/ai-provider.service-base.js +2 -1
- package/build/_modules/ai/_services/ai-provider.service-base.js.map +1 -1
- package/build/_modules/assistant/_collections/ass.util.d.ts +2 -2
- package/build/_modules/assistant/_collections/ass.util.d.ts.map +1 -1
- package/build/_modules/assistant/_services/ass-io.control-service.d.ts +5 -9
- package/build/_modules/assistant/_services/ass-io.control-service.d.ts.map +1 -1
- package/build/_modules/assistant/_services/ass-io.control-service.js +9 -10
- package/build/_modules/assistant/_services/ass-io.control-service.js.map +1 -1
- package/build/_modules/assistant/_services/ass-main.control-service.d.ts +26 -10
- package/build/_modules/assistant/_services/ass-main.control-service.d.ts.map +1 -1
- package/build/_modules/assistant/_services/ass-main.control-service.js +49 -4
- package/build/_modules/assistant/_services/ass-main.control-service.js.map +1 -1
- package/build/_modules/assistant/index.d.ts +1 -1
- package/build/_modules/assistant/index.d.ts.map +1 -1
- package/build/_modules/assistant/index.js +1 -1
- package/build/_modules/assistant/index.js.map +1 -1
- package/build/_modules/bot/_models/bot-channel-wrapper.interface.d.ts +17 -0
- package/build/_modules/bot/_models/bot-channel-wrapper.interface.d.ts.map +1 -0
- package/build/_modules/bot/_models/{bot-message.interface.js → bot-channel-wrapper.interface.js} +1 -1
- package/build/_modules/bot/_models/bot-channel-wrapper.interface.js.map +1 -0
- package/build/_modules/bot/_models/bot-command.interface.d.ts +2 -2
- package/build/_modules/bot/_models/bot-command.interface.d.ts.map +1 -1
- package/build/_modules/bot/_models/bot-global-settings.interface.d.ts +1 -1
- package/build/_modules/bot/_models/bot-global-settings.interface.d.ts.map +1 -1
- package/build/_modules/bot/_models/bot-message-wrapper.interface.d.ts +16 -13
- package/build/_modules/bot/_models/bot-message-wrapper.interface.d.ts.map +1 -1
- package/build/_modules/bot/_models/bot-user-wrapper.interface.d.ts +17 -0
- package/build/_modules/bot/_models/bot-user-wrapper.interface.d.ts.map +1 -0
- package/build/_modules/bot/_models/{bot-channel.interface.js → bot-user-wrapper.interface.js} +1 -1
- package/build/_modules/bot/_models/bot-user-wrapper.interface.js.map +1 -0
- package/build/_modules/bot/_modules/discord-bot/_models/dib-platform.types.d.ts +0 -7
- package/build/_modules/bot/_modules/discord-bot/_models/dib-platform.types.d.ts.map +1 -1
- package/build/_modules/bot/_modules/discord-bot/_models/dib-platform.types.js +10 -2
- package/build/_modules/bot/_modules/discord-bot/_models/dib-platform.types.js.map +1 -1
- package/build/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.control-service.d.ts +68 -0
- package/build/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.control-service.d.ts.map +1 -0
- package/build/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.control-service.js +397 -0
- package/build/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.control-service.js.map +1 -0
- package/build/_modules/bot/_modules/discord-bot/index.d.ts +1 -4
- package/build/_modules/bot/_modules/discord-bot/index.d.ts.map +1 -1
- package/build/_modules/bot/_modules/discord-bot/index.js +2 -5
- package/build/_modules/bot/_modules/discord-bot/index.js.map +1 -1
- package/build/_modules/bot/_modules/dynamo-bot/_collections/dyb-operations.util.d.ts +3 -3
- package/build/_modules/bot/_modules/dynamo-bot/_collections/dyb-operations.util.d.ts.map +1 -1
- package/build/_modules/bot/_modules/dynamo-bot/_collections/dyb-operations.util.js +2 -2
- package/build/_modules/bot/_modules/dynamo-bot/_collections/dyb-operations.util.js.map +1 -1
- package/build/_modules/bot/_modules/dynamo-bot/_models/dyb-platform.types.d.ts +6 -6
- package/build/_modules/bot/_modules/dynamo-bot/_models/dyb-platform.types.d.ts.map +1 -1
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-messaging-provider.control-service.d.ts +60 -0
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-messaging-provider.control-service.d.ts.map +1 -0
- package/build/_modules/bot/_modules/dynamo-bot/_services/{dyb-messaging-provider.service.js → dyb-messaging-provider.control-service.js} +134 -108
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-messaging-provider.control-service.js.map +1 -0
- package/build/_modules/bot/_modules/dynamo-bot/index.d.ts +1 -2
- package/build/_modules/bot/_modules/dynamo-bot/index.d.ts.map +1 -1
- package/build/_modules/bot/_modules/dynamo-bot/index.js +1 -2
- package/build/_modules/bot/_modules/dynamo-bot/index.js.map +1 -1
- package/build/_modules/bot/_modules/slack-bot/_models/slb-platform.types.d.ts +6 -6
- package/build/_modules/bot/_modules/slack-bot/_models/slb-platform.types.d.ts.map +1 -1
- package/build/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.control-service.d.ts +56 -0
- package/build/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.control-service.d.ts.map +1 -0
- package/build/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.control-service.js +135 -0
- package/build/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.control-service.js.map +1 -0
- package/build/_modules/bot/_modules/slack-bot/index.d.ts +1 -2
- package/build/_modules/bot/_modules/slack-bot/index.d.ts.map +1 -1
- package/build/_modules/bot/_modules/slack-bot/index.js +1 -3
- package/build/_modules/bot/_modules/slack-bot/index.js.map +1 -1
- package/build/_modules/bot/_modules/teams-bot/_models/teb-platform.types.d.ts +6 -6
- package/build/_modules/bot/_modules/teams-bot/_models/teb-platform.types.d.ts.map +1 -1
- package/build/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.control-service.d.ts +56 -0
- package/build/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.control-service.d.ts.map +1 -0
- package/build/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.control-service.js +135 -0
- package/build/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.control-service.js.map +1 -0
- package/build/_modules/bot/_modules/teams-bot/index.d.ts +1 -2
- package/build/_modules/bot/_modules/teams-bot/index.d.ts.map +1 -1
- package/build/_modules/bot/_modules/teams-bot/index.js +1 -3
- package/build/_modules/bot/_modules/teams-bot/index.js.map +1 -1
- package/build/_modules/bot/_services/bot-commands.control-service.d.ts +8 -11
- package/build/_modules/bot/_services/bot-commands.control-service.d.ts.map +1 -1
- package/build/_modules/bot/_services/bot-commands.control-service.js +60 -15
- package/build/_modules/bot/_services/bot-commands.control-service.js.map +1 -1
- package/build/_modules/bot/_services/bot-io.control-service.d.ts +16 -17
- package/build/_modules/bot/_services/bot-io.control-service.d.ts.map +1 -1
- package/build/_modules/bot/_services/bot-io.control-service.js +60 -51
- package/build/_modules/bot/_services/bot-io.control-service.js.map +1 -1
- package/build/_modules/bot/_services/bot-main.control-service.d.ts +18 -37
- package/build/_modules/bot/_services/bot-main.control-service.d.ts.map +1 -1
- package/build/_modules/bot/_services/bot-main.control-service.js +127 -264
- package/build/_modules/bot/_services/bot-main.control-service.js.map +1 -1
- package/build/_modules/bot/_services/bot-messaging-provider.service-base.d.ts +71 -0
- package/build/_modules/bot/_services/bot-messaging-provider.service-base.d.ts.map +1 -0
- package/build/_modules/bot/_services/bot-messaging-provider.service-base.js +16 -0
- package/build/_modules/bot/_services/bot-messaging-provider.service-base.js.map +1 -0
- package/build/_modules/bot/_services/bot-routines.control-service.d.ts +6 -9
- package/build/_modules/bot/_services/bot-routines.control-service.d.ts.map +1 -1
- package/build/_modules/bot/_services/bot-routines.control-service.js +29 -9
- package/build/_modules/bot/_services/bot-routines.control-service.js.map +1 -1
- package/build/_modules/bot/index.d.ts +3 -7
- package/build/_modules/bot/index.d.ts.map +1 -1
- package/build/_modules/bot/index.js +9 -7
- package/build/_modules/bot/index.js.map +1 -1
- package/build/_modules/messaging/_collections/msg-global-settings.const.d.ts.map +1 -1
- package/build/_modules/messaging/_collections/msg-global-settings.const.js +0 -5
- package/build/_modules/messaging/_collections/msg-global-settings.const.js.map +1 -1
- package/build/_modules/messaging/_collections/msg.util.d.ts +2 -2
- package/build/_modules/messaging/_collections/msg.util.d.ts.map +1 -1
- package/build/_modules/messaging/_collections/msg.util.js.map +1 -1
- package/build/_modules/messaging/_models/msg-global-settings.interface.d.ts +0 -9
- package/build/_modules/messaging/_models/msg-global-settings.interface.d.ts.map +1 -1
- package/build/_modules/messaging/_services/msg-integration.control-service.d.ts +0 -25
- package/build/_modules/messaging/_services/msg-integration.control-service.d.ts.map +1 -1
- package/build/_modules/messaging/_services/msg-integration.control-service.js +180 -125
- package/build/_modules/messaging/_services/msg-integration.control-service.js.map +1 -1
- package/build/_modules/messaging/index.d.ts +0 -1
- package/build/_modules/messaging/index.d.ts.map +1 -1
- package/build/_modules/messaging/index.js +1 -1
- package/build/_modules/messaging/index.js.map +1 -1
- package/package.json +1 -1
- package/src/_modules/ai/_modules/open-ai/_services/oai-llm.service-base.ts +4 -4
- package/src/_modules/ai/_services/ai-llm.service-base.ts +2 -2
- package/src/_modules/ai/_services/ai-provider.service-base.ts +2 -1
- package/src/_modules/assistant/_collections/ass.util.ts +2 -2
- package/src/_modules/assistant/_services/ass-io.control-service.ts +17 -48
- package/src/_modules/assistant/_services/ass-main.control-service.ts +82 -32
- package/src/_modules/assistant/index.ts +1 -1
- package/src/_modules/bot/_models/bot-channel-wrapper.interface.ts +24 -0
- package/src/_modules/bot/_models/bot-command.interface.ts +2 -2
- package/src/_modules/bot/_models/bot-global-settings.interface.ts +1 -1
- package/src/_modules/bot/_models/bot-message-wrapper.interface.ts +18 -18
- package/src/_modules/bot/_models/bot-user-wrapper.interface.ts +35 -0
- package/src/_modules/bot/_modules/discord-bot/_models/dib-platform.types.ts +8 -7
- package/src/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.control-service.ts +529 -0
- package/src/_modules/bot/_modules/discord-bot/index.ts +2 -5
- package/src/_modules/bot/_modules/dynamo-bot/_collections/dyb-operations.util.ts +8 -5
- package/src/_modules/bot/_modules/dynamo-bot/_models/dyb-platform.types.ts +6 -6
- package/src/_modules/bot/_modules/dynamo-bot/_services/dyb-messaging-provider.control-service.ts +436 -0
- package/src/_modules/bot/_modules/dynamo-bot/index.ts +1 -2
- package/src/_modules/bot/_modules/slack-bot/_models/slb-platform.types.ts +6 -6
- package/src/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.control-service.ts +190 -0
- package/src/_modules/bot/_modules/slack-bot/index.ts +1 -3
- package/src/_modules/bot/_modules/teams-bot/_models/teb-platform.types.ts +6 -6
- package/src/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.control-service.ts +190 -0
- package/src/_modules/bot/_modules/teams-bot/index.ts +1 -4
- package/src/_modules/bot/_services/bot-commands.control-service.ts +64 -34
- package/src/_modules/bot/_services/bot-io.control-service.ts +86 -95
- package/src/_modules/bot/_services/bot-main.control-service.ts +253 -240
- package/src/_modules/bot/_services/bot-messaging-provider.service-base.ts +153 -0
- package/src/_modules/bot/_services/bot-routines.control-service.ts +39 -44
- package/src/_modules/bot/index.ts +9 -7
- package/src/_modules/messaging/README.md +2 -7
- package/src/_modules/messaging/_collections/msg-global-settings.const.ts +0 -6
- package/src/_modules/messaging/_collections/msg.util.ts +2 -2
- package/src/_modules/messaging/_models/msg-global-settings.interface.ts +0 -12
- package/src/_modules/messaging/_services/msg-integration.control-service.ts +180 -179
- package/src/_modules/messaging/index.ts +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-doc-chunk-data.service.d.ts +0 -22
- package/build/_modules/ai/_modules/open-ai/_services/oai-doc-chunk-data.service.d.ts.map +0 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-doc-chunk-data.service.js +0 -187
- package/build/_modules/ai/_modules/open-ai/_services/oai-doc-chunk-data.service.js.map +0 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-doc-page.data-service.d.ts +0 -27
- package/build/_modules/ai/_modules/open-ai/_services/oai-doc-page.data-service.d.ts.map +0 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-doc-page.data-service.js +0 -277
- package/build/_modules/ai/_modules/open-ai/_services/oai-doc-page.data-service.js.map +0 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-document.data-service.d.ts +0 -23
- package/build/_modules/ai/_modules/open-ai/_services/oai-document.data-service.d.ts.map +0 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-document.data-service.js +0 -319
- package/build/_modules/ai/_modules/open-ai/_services/oai-document.data-service.js.map +0 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-vector-data.service.d.ts +0 -118
- package/build/_modules/ai/_modules/open-ai/_services/oai-vector-data.service.d.ts.map +0 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-vector-data.service.js +0 -460
- package/build/_modules/ai/_modules/open-ai/_services/oai-vector-data.service.js.map +0 -1
- package/build/_modules/assistant/_services/ass.service-base.d.ts +0 -33
- package/build/_modules/assistant/_services/ass.service-base.d.ts.map +0 -1
- package/build/_modules/assistant/_services/ass.service-base.js +0 -58
- package/build/_modules/assistant/_services/ass.service-base.js.map +0 -1
- package/build/_modules/bot/_collections/bot-operations.util.d.ts +0 -21
- package/build/_modules/bot/_collections/bot-operations.util.d.ts.map +0 -1
- package/build/_modules/bot/_collections/bot-operations.util.js +0 -74
- package/build/_modules/bot/_collections/bot-operations.util.js.map +0 -1
- package/build/_modules/bot/_models/bot-channel.interface.d.ts +0 -8
- package/build/_modules/bot/_models/bot-channel.interface.d.ts.map +0 -1
- package/build/_modules/bot/_models/bot-channel.interface.js.map +0 -1
- package/build/_modules/bot/_models/bot-message.interface.d.ts +0 -15
- package/build/_modules/bot/_models/bot-message.interface.d.ts.map +0 -1
- package/build/_modules/bot/_models/bot-message.interface.js.map +0 -1
- package/build/_modules/bot/_models/bot-messaging-provider.interface.d.ts +0 -68
- package/build/_modules/bot/_models/bot-messaging-provider.interface.d.ts.map +0 -1
- package/build/_modules/bot/_models/bot-messaging-provider.interface.js +0 -3
- package/build/_modules/bot/_models/bot-messaging-provider.interface.js.map +0 -1
- package/build/_modules/bot/_models/bot-user.interface.d.ts +0 -8
- package/build/_modules/bot/_models/bot-user.interface.d.ts.map +0 -1
- package/build/_modules/bot/_models/bot-user.interface.js +0 -3
- package/build/_modules/bot/_models/bot-user.interface.js.map +0 -1
- package/build/_modules/bot/_modules/discord-bot/_collections/dib-operations.util.d.ts +0 -11
- package/build/_modules/bot/_modules/discord-bot/_collections/dib-operations.util.d.ts.map +0 -1
- package/build/_modules/bot/_modules/discord-bot/_collections/dib-operations.util.js +0 -13
- package/build/_modules/bot/_modules/discord-bot/_collections/dib-operations.util.js.map +0 -1
- package/build/_modules/bot/_modules/discord-bot/_collections/dib.util.d.ts +0 -5
- package/build/_modules/bot/_modules/discord-bot/_collections/dib.util.d.ts.map +0 -1
- package/build/_modules/bot/_modules/discord-bot/_collections/dib.util.js +0 -19
- package/build/_modules/bot/_modules/discord-bot/_collections/dib.util.js.map +0 -1
- package/build/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.service.d.ts +0 -56
- package/build/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.service.d.ts.map +0 -1
- package/build/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.service.js +0 -379
- package/build/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.service.js.map +0 -1
- package/build/_modules/bot/_modules/dynamo-bot/_collections/dyb.util.d.ts +0 -5
- package/build/_modules/bot/_modules/dynamo-bot/_collections/dyb.util.d.ts.map +0 -1
- package/build/_modules/bot/_modules/dynamo-bot/_collections/dyb.util.js +0 -26
- package/build/_modules/bot/_modules/dynamo-bot/_collections/dyb.util.js.map +0 -1
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-messaging-provider.service.d.ts +0 -55
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-messaging-provider.service.d.ts.map +0 -1
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-messaging-provider.service.js.map +0 -1
- package/build/_modules/bot/_modules/slack-bot/_collections/slb-operations.util.d.ts +0 -11
- package/build/_modules/bot/_modules/slack-bot/_collections/slb-operations.util.d.ts.map +0 -1
- package/build/_modules/bot/_modules/slack-bot/_collections/slb-operations.util.js +0 -13
- package/build/_modules/bot/_modules/slack-bot/_collections/slb-operations.util.js.map +0 -1
- package/build/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.service.d.ts +0 -41
- package/build/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.service.d.ts.map +0 -1
- package/build/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.service.js +0 -119
- package/build/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.service.js.map +0 -1
- package/build/_modules/bot/_modules/teams-bot/_collections/teb-operations.util.d.ts +0 -11
- package/build/_modules/bot/_modules/teams-bot/_collections/teb-operations.util.d.ts.map +0 -1
- package/build/_modules/bot/_modules/teams-bot/_collections/teb-operations.util.js +0 -13
- package/build/_modules/bot/_modules/teams-bot/_collections/teb-operations.util.js.map +0 -1
- package/build/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.service.d.ts +0 -41
- package/build/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.service.d.ts.map +0 -1
- package/build/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.service.js +0 -119
- package/build/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.service.js.map +0 -1
- package/build/_modules/bot/_services/bot-messaging-provider-factory.service.d.ts +0 -6
- package/build/_modules/bot/_services/bot-messaging-provider-factory.service.d.ts.map +0 -1
- package/build/_modules/bot/_services/bot-messaging-provider-factory.service.js +0 -47
- package/build/_modules/bot/_services/bot-messaging-provider-factory.service.js.map +0 -1
- package/src/_modules/assistant/_services/ass.service-base.ts +0 -100
- package/src/_modules/bot/_collections/bot-operations.util.ts +0 -149
- package/src/_modules/bot/_models/bot-channel.interface.ts +0 -7
- package/src/_modules/bot/_models/bot-message.interface.ts +0 -14
- package/src/_modules/bot/_models/bot-messaging-provider.interface.ts +0 -88
- package/src/_modules/bot/_models/bot-user.interface.ts +0 -7
- package/src/_modules/bot/_modules/discord-bot/_collections/dib-operations.util.ts +0 -18
- package/src/_modules/bot/_modules/discord-bot/_collections/dib.util.ts +0 -20
- package/src/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.service.ts +0 -475
- package/src/_modules/bot/_modules/dynamo-bot/_collections/dyb.util.ts +0 -26
- package/src/_modules/bot/_modules/dynamo-bot/_services/dyb-messaging-provider.service.ts +0 -403
- package/src/_modules/bot/_modules/slack-bot/_collections/slb-operations.util.ts +0 -18
- package/src/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.service.ts +0 -156
- package/src/_modules/bot/_modules/teams-bot/_collections/teb-operations.util.ts +0 -18
- package/src/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.service.ts +0 -156
- package/src/_modules/bot/_services/bot-messaging-provider-factory.service.ts +0 -56
|
@@ -5,26 +5,46 @@ const fsm_dynamo_1 = require("@futdevpro/fsm-dynamo");
|
|
|
5
5
|
const singleton_service_1 = require("../../../_services/base/singleton.service");
|
|
6
6
|
const global_settings_const_1 = require("../../../_collections/global-settings.const");
|
|
7
7
|
class DyNTS_Bot_Routines_ControlService extends singleton_service_1.DyNTS_SingletonService {
|
|
8
|
-
mainBot_CS
|
|
9
|
-
get provider() {
|
|
10
|
-
|
|
8
|
+
mainBot_CS;
|
|
9
|
+
/* get provider(): any {
|
|
10
|
+
return this.mainBot_CS?.provider;
|
|
11
|
+
} */
|
|
12
|
+
get defaultProvider() {
|
|
13
|
+
return this.mainBot_CS.defaultProvider;
|
|
11
14
|
}
|
|
12
15
|
_routinesStarted;
|
|
13
16
|
get routinesStarted() {
|
|
14
17
|
return this._routinesStarted;
|
|
15
18
|
}
|
|
16
|
-
constructor() {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
/* protected constructor() {
|
|
20
|
+
super();
|
|
21
|
+
} */
|
|
22
|
+
async setup(issuer) {
|
|
23
|
+
try {
|
|
24
|
+
this.mainBot_CS = this.getMainBotControlService();
|
|
25
|
+
if (!this.mainBot_CS) {
|
|
26
|
+
throw new fsm_dynamo_1.DyFM_Error({
|
|
27
|
+
...this.getDefaultErrorSettings('setup', new Error('Main Bot Control Service not found'), issuer),
|
|
28
|
+
errorCode: `${global_settings_const_1.DyNTS_global_settings.systemShortCodeName}|DyNTS-Bot-RCS-S01`,
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
catch (error) {
|
|
19
33
|
throw new fsm_dynamo_1.DyFM_Error({
|
|
20
|
-
...this.getDefaultErrorSettings('
|
|
21
|
-
|
|
22
|
-
errorCode: `${global_settings_const_1.DyNTS_global_settings.systemShortCodeName}|DyNTS-Bot-RCS-C000`,
|
|
34
|
+
...this.getDefaultErrorSettings('setup', error, issuer),
|
|
35
|
+
errorCode: `${global_settings_const_1.DyNTS_global_settings.systemShortCodeName}|DyNTS-Bot-RCS-S000`,
|
|
23
36
|
});
|
|
24
37
|
}
|
|
25
38
|
}
|
|
26
39
|
async start(issuer) {
|
|
27
40
|
try {
|
|
41
|
+
if (!this.defaultProvider) {
|
|
42
|
+
throw new fsm_dynamo_1.DyFM_Error({
|
|
43
|
+
...this.getDefaultErrorSettings('start', new Error('Bot routines not yet started, ' +
|
|
44
|
+
'should only be called after DyNTS_Bot_Main_ControlService.start'), 'system-init'),
|
|
45
|
+
errorCode: `${global_settings_const_1.DyNTS_global_settings.systemShortCodeName}|DyNTS-Bot-RCS-ST00`,
|
|
46
|
+
});
|
|
47
|
+
}
|
|
28
48
|
await this.startRoutines(issuer);
|
|
29
49
|
this._routinesStarted = true;
|
|
30
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bot-routines.control-service.js","sourceRoot":"","sources":["../../../../src/_modules/bot/_services/bot-routines.control-service.ts"],"names":[],"mappings":";;;AAGA,sDAA+D;AAC/D,iFAAmF;AAEnF,uFAAoF;
|
|
1
|
+
{"version":3,"file":"bot-routines.control-service.js","sourceRoot":"","sources":["../../../../src/_modules/bot/_services/bot-routines.control-service.ts"],"names":[],"mappings":";;;AAGA,sDAA+D;AAC/D,iFAAmF;AAEnF,uFAAoF;AAGpF,MAAsB,iCAAkC,SAAQ,0CAAsB;IAE1E,UAAU,CAAgC;IAGpD;;QAEI;IAEJ,IAAI,eAAe;QACjB,OAAO,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC;IACzC,CAAC;IAEO,gBAAgB,CAAU;IAClC,IAAI,eAAe;QACjB,OAAO,IAAI,CAAC,gBAAgB,CAAC;IAC/B,CAAC;IAED;;QAEI;IAEJ,KAAK,CAAC,KAAK,CAAC,MAAc;QACxB,IAAI,CAAC;YACH,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,wBAAwB,EAAE,CAAC;YAElD,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;gBACrB,MAAM,IAAI,uBAAU,CAAC;oBACnB,GAAG,IAAI,CAAC,uBAAuB,CAAC,OAAO,EAAE,IAAI,KAAK,CAAC,oCAAoC,CAAC,EAAE,MAAM,CAAC;oBACjG,SAAS,EAAE,GAAG,6CAAqB,CAAC,mBAAmB,oBAAoB;iBAC5E,CAAC,CAAA;YACJ,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,uBAAU,CAAC;gBACnB,GAAG,IAAI,CAAC,uBAAuB,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC;gBACvD,SAAS,EAAE,GAAG,6CAAqB,CAAC,mBAAmB,qBAAqB;aAC7E,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;IAED,KAAK,CAAC,KAAK,CAAC,MAAc;QACxB,IAAI,CAAC;YACH,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC;gBAC1B,MAAM,IAAI,uBAAU,CAAC;oBACnB,GAAG,IAAI,CAAC,uBAAuB,CAC7B,OAAO,EACP,IAAI,KAAK,CACP,gCAAgC;wBAChC,iEAAiE,CAClE,EACD,aAAa,CACd;oBACD,SAAS,EAAE,GAAG,6CAAqB,CAAC,mBAAmB,qBAAqB;iBAC7E,CAAC,CAAA;YACJ,CAAC;YAED,MAAM,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;YAEjC,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;QAC/B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,uBAAU,CAAC;gBACnB,GAAG,IAAI,CAAC,uBAAuB,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC;gBACvD,SAAS,EAAE,GAAG,6CAAqB,CAAC,mBAAmB,oBAAoB;aAC5E,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;CAGF;AApED,8EAoEC"}
|
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
export * from './_enums/bot-message-provider.enum';
|
|
2
|
-
export * from './_models/bot-message.interface';
|
|
3
2
|
export * from './_models/bot-message-wrapper.interface';
|
|
4
|
-
export * from './_models/bot-channel.interface';
|
|
5
|
-
export * from './_models/bot-user.interface';
|
|
6
|
-
export * from './
|
|
3
|
+
export * from './_models/bot-channel-wrapper.interface';
|
|
4
|
+
export * from './_models/bot-user-wrapper.interface';
|
|
5
|
+
export * from './_services/bot-messaging-provider.service-base';
|
|
7
6
|
export * from './_models/bot-command.interface';
|
|
8
7
|
export * from './_models/bot-global-settings.interface';
|
|
9
8
|
export * from './_models/bot-last-message-date.interface';
|
|
10
9
|
export * from './_models/bot-last-mention-date.interface';
|
|
11
|
-
export * from './_collections/bot-operations.util';
|
|
12
10
|
export * from './_collections/bot-global-settings.const';
|
|
13
11
|
export * from './_collections/bot-default-commands.const';
|
|
14
12
|
export * from './_services/bot-main.control-service';
|
|
15
13
|
export * from './_services/bot-io.control-service';
|
|
16
14
|
export * from './_services/bot-commands.control-service';
|
|
17
15
|
export * from './_services/bot-routines.control-service';
|
|
18
|
-
export * from './_services/bot-messaging-provider-factory.service';
|
|
19
16
|
export * from './_modules/discord-bot';
|
|
20
17
|
export * from './_modules/slack-bot';
|
|
21
18
|
export * from './_modules/teams-bot';
|
|
22
|
-
export * from './_modules/dynamo-bot';
|
|
23
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_modules/bot/index.ts"],"names":[],"mappings":"AAQA,cAAc,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_modules/bot/index.ts"],"names":[],"mappings":"AAQA,cAAc,oCAAoC,CAAC;AAInD,cAAc,yCAAyC,CAAC;AAExD,cAAc,yCAAyC,CAAC;AAExD,cAAc,sCAAsC,CAAC;AACrD,cAAc,iDAAiD,CAAC;AAChE,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAI1D,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAG1D,cAAc,sCAAsC,CAAC;AACrD,cAAc,oCAAoC,CAAC;AACnD,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AAIzD,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
|
|
@@ -10,17 +10,19 @@ const tslib_1 = require("tslib");
|
|
|
10
10
|
// ENUMS
|
|
11
11
|
tslib_1.__exportStar(require("./_enums/bot-message-provider.enum"), exports);
|
|
12
12
|
// MODELS
|
|
13
|
-
|
|
13
|
+
/* export * from './_models/bot-message.interface'; */
|
|
14
14
|
tslib_1.__exportStar(require("./_models/bot-message-wrapper.interface"), exports);
|
|
15
|
-
|
|
16
|
-
tslib_1.__exportStar(require("./_models/bot-
|
|
17
|
-
|
|
15
|
+
/* export * from './_models/bot-channel.interface'; */
|
|
16
|
+
tslib_1.__exportStar(require("./_models/bot-channel-wrapper.interface"), exports);
|
|
17
|
+
/* export * from './_models/bot-user.interface'; */
|
|
18
|
+
tslib_1.__exportStar(require("./_models/bot-user-wrapper.interface"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./_services/bot-messaging-provider.service-base"), exports);
|
|
18
20
|
tslib_1.__exportStar(require("./_models/bot-command.interface"), exports);
|
|
19
21
|
tslib_1.__exportStar(require("./_models/bot-global-settings.interface"), exports);
|
|
20
22
|
tslib_1.__exportStar(require("./_models/bot-last-message-date.interface"), exports);
|
|
21
23
|
tslib_1.__exportStar(require("./_models/bot-last-mention-date.interface"), exports);
|
|
22
24
|
// COLLECTIONS
|
|
23
|
-
|
|
25
|
+
/* export * from './_collections/bot-operations.util'; */
|
|
24
26
|
tslib_1.__exportStar(require("./_collections/bot-global-settings.const"), exports);
|
|
25
27
|
tslib_1.__exportStar(require("./_collections/bot-default-commands.const"), exports);
|
|
26
28
|
// SERVICES
|
|
@@ -28,10 +30,10 @@ tslib_1.__exportStar(require("./_services/bot-main.control-service"), exports);
|
|
|
28
30
|
tslib_1.__exportStar(require("./_services/bot-io.control-service"), exports);
|
|
29
31
|
tslib_1.__exportStar(require("./_services/bot-commands.control-service"), exports);
|
|
30
32
|
tslib_1.__exportStar(require("./_services/bot-routines.control-service"), exports);
|
|
31
|
-
|
|
33
|
+
/* export * from './_services/bot-messaging-provider-factory.service'; */
|
|
32
34
|
// PROVIDERS
|
|
33
35
|
tslib_1.__exportStar(require("./_modules/discord-bot"), exports);
|
|
34
36
|
tslib_1.__exportStar(require("./_modules/slack-bot"), exports);
|
|
35
37
|
tslib_1.__exportStar(require("./_modules/teams-bot"), exports);
|
|
36
|
-
|
|
38
|
+
/* export * from './_modules/dynamo-bot'; */
|
|
37
39
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/_modules/bot/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,iCAAiC;AACjC,EAAE;AACF,2DAA2D;AAC3D,+DAA+D;AAC/D,EAAE;;;AAEF,QAAQ;AACR,6EAAmD;AAEnD,SAAS;AACT,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/_modules/bot/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,iCAAiC;AACjC,EAAE;AACF,2DAA2D;AAC3D,+DAA+D;AAC/D,EAAE;;;AAEF,QAAQ;AACR,6EAAmD;AAEnD,SAAS;AACT,sDAAsD;AACtD,kFAAwD;AACxD,sDAAsD;AACtD,kFAAwD;AACxD,mDAAmD;AACnD,+EAAqD;AACrD,0FAAgE;AAChE,0EAAgD;AAChD,kFAAwD;AACxD,oFAA0D;AAC1D,oFAA0D;AAE1D,cAAc;AACd,yDAAyD;AACzD,mFAAyD;AACzD,oFAA0D;AAE1D,WAAW;AACX,+EAAqD;AACrD,6EAAmD;AACnD,mFAAyD;AACzD,mFAAyD;AACzD,yEAAyE;AAEzE,YAAY;AACZ,iEAAuC;AACvC,+DAAqC;AACrC,+DAAqC;AACrC,4CAA4C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"msg-global-settings.const.d.ts","sourceRoot":"","sources":["../../../../src/_modules/messaging/_collections/msg-global-settings.const.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAErF;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,
|
|
1
|
+
{"version":3,"file":"msg-global-settings.const.d.ts","sourceRoot":"","sources":["../../../../src/_modules/messaging/_collections/msg-global-settings.const.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAErF;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,yBAevC,CAAC"}
|
|
@@ -14,11 +14,6 @@ exports.DyNTS_Msg_global_settings = {
|
|
|
14
14
|
enableMentions: true,
|
|
15
15
|
enableReadReceipts: true,
|
|
16
16
|
enableTypingIndicators: true,
|
|
17
|
-
integration: {
|
|
18
|
-
syncBotMessages: true,
|
|
19
|
-
syncAssistantMessages: true,
|
|
20
|
-
enableAgentProcessViz: true,
|
|
21
|
-
},
|
|
22
17
|
retry: {
|
|
23
18
|
maxRetries: 3,
|
|
24
19
|
retryDelay: 1000, // 1 second
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"msg-global-settings.const.js","sourceRoot":"","sources":["../../../../src/_modules/messaging/_collections/msg-global-settings.const.ts"],"names":[],"mappings":";;;AAEA;;GAEG;AACU,QAAA,yBAAyB,GAA8B;IAClE,oBAAoB,EAAE,IAAI;IAC1B,kBAAkB,EAAE,EAAE;IACtB,eAAe,EAAE,IAAI;IACrB,eAAe,EAAE,IAAI;IACrB,iBAAiB,EAAE,IAAI;IACvB,iBAAiB,EAAE,EAAE,GAAG,IAAI,GAAG,IAAI,EAAE,OAAO;IAC5C,cAAc,EAAE,IAAI;IACpB,kBAAkB,EAAE,IAAI;IACxB,sBAAsB,EAAE,IAAI;IAE5B,
|
|
1
|
+
{"version":3,"file":"msg-global-settings.const.js","sourceRoot":"","sources":["../../../../src/_modules/messaging/_collections/msg-global-settings.const.ts"],"names":[],"mappings":";;;AAEA;;GAEG;AACU,QAAA,yBAAyB,GAA8B;IAClE,oBAAoB,EAAE,IAAI;IAC1B,kBAAkB,EAAE,EAAE;IACtB,eAAe,EAAE,IAAI;IACrB,eAAe,EAAE,IAAI;IACrB,iBAAiB,EAAE,IAAI;IACvB,iBAAiB,EAAE,EAAE,GAAG,IAAI,GAAG,IAAI,EAAE,OAAO;IAC5C,cAAc,EAAE,IAAI;IACpB,kBAAkB,EAAE,IAAI;IACxB,sBAAsB,EAAE,IAAI;IAE5B,KAAK,EAAE;QACL,UAAU,EAAE,CAAC;QACb,UAAU,EAAE,IAAI,EAAE,WAAW;KAC9B;CACF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DyFM_Msg_Message, DyFM_Msg_Conversation } from '@futdevpro/fsm-dynamo/messaging';
|
|
2
|
-
import {
|
|
2
|
+
import { DyNTS_Bot_MessageWrapper } from '../../bot/_models/bot-message-wrapper.interface';
|
|
3
3
|
/**
|
|
4
4
|
* Messaging utility functions
|
|
5
5
|
*/
|
|
@@ -7,7 +7,7 @@ export declare class DyNTS_Msg_Util {
|
|
|
7
7
|
/**
|
|
8
8
|
* Convert bot message to messaging system message
|
|
9
9
|
*/
|
|
10
|
-
static botMessageToMsgMessage<T>(botMessage:
|
|
10
|
+
static botMessageToMsgMessage<T>(botMessage: DyNTS_Bot_MessageWrapper<T>, conversationId: string, issuer: string): DyFM_Msg_Message;
|
|
11
11
|
/**
|
|
12
12
|
* Create AI message from assistant response
|
|
13
13
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"msg.util.d.ts","sourceRoot":"","sources":["../../../../src/_modules/messaging/_collections/msg.util.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"msg.util.d.ts","sourceRoot":"","sources":["../../../../src/_modules/messaging/_collections/msg.util.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAE3F;;GAEG;AACH,qBAAa,cAAc;IAEzB;;OAEG;IACH,MAAM,CAAC,sBAAsB,CAAC,CAAC,EAC7B,UAAU,EAAE,wBAAwB,CAAC,CAAC,CAAC,EACvC,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,MAAM,GACb,gBAAgB;IAiBnB;;OAEG;IACH,MAAM,CAAC,eAAe,CACpB,cAAc,EAAE,MAAM,EACtB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,GACb,gBAAgB;IAgBnB;;;OAGG;IACH,MAAM,CAAC,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE;IAMjD;;OAEG;IACH,MAAM,CAAC,yBAAyB,CAC9B,YAAY,EAAE,qBAAqB,EACnC,MAAM,EAAE,MAAM,GACb,OAAO;CAGX"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"msg.util.js","sourceRoot":"","sources":["../../../../src/_modules/messaging/_collections/msg.util.ts"],"names":[],"mappings":";;;AAAA,+DAKyC;AAGzC;;GAEG;AACH,MAAa,cAAc;IAEzB;;OAEG;IACH,MAAM,CAAC,sBAAsB,CAC3B,
|
|
1
|
+
{"version":3,"file":"msg.util.js","sourceRoot":"","sources":["../../../../src/_modules/messaging/_collections/msg.util.ts"],"names":[],"mappings":";;;AAAA,+DAKyC;AAGzC;;GAEG;AACH,MAAa,cAAc;IAEzB;;OAEG;IACH,MAAM,CAAC,sBAAsB,CAC3B,UAAuC,EACvC,cAAsB,EACtB,MAAc;QAEd,OAAO,IAAI,4BAAgB,CAAC;YAC1B,cAAc;YACd,OAAO,EAAE,UAAU,CAAC,OAAO,IAAI,EAAE;YACjC,IAAI,EAAE,yBAAa,CAAC,UAAU;YAC9B,MAAM,EAAE,2BAAe,CAAC,IAAI;YAC5B,QAAQ,EAAE,UAAU,CAAC,QAAQ;YAC7B,UAAU,EAAE,UAAU,CAAC,UAAU;YACjC,iBAAiB,EAAE,UAAU,CAAC,iBAAiB;YAC/C,iBAAiB,EAAG,UAAU,CAAC,kB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|
|
|
20
20
|
enableReadReceipts?: boolean;
|
|
21
21
|
/** Enable typing indicators */
|
|
22
22
|
enableTypingIndicators?: boolean;
|
|
23
|
-
/** Integration settings */
|
|
24
|
-
integration?: {
|
|
25
|
-
/** Auto-sync bot messages to messaging system */
|
|
26
|
-
syncBotMessages?: boolean;
|
|
27
|
-
/** Auto-sync assistant messages to messaging system */
|
|
28
|
-
syncAssistantMessages?: boolean;
|
|
29
|
-
/** Enable agent process visualization */
|
|
30
|
-
enableAgentProcessViz?: boolean;
|
|
31
|
-
};
|
|
32
23
|
/** Retry settings for failed messages */
|
|
33
24
|
retry?: {
|
|
34
25
|
maxRetries?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"msg-global-settings.interface.d.ts","sourceRoot":"","sources":["../../../../src/_modules/messaging/_models/msg-global-settings.interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,kDAAkD;IAClD,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B,gDAAgD;IAChD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,oCAAoC;IACpC,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,+BAA+B;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,8BAA8B;IAC9B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,uCAAuC;IACvC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,sBAAsB;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,2BAA2B;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,+BAA+B;IAC/B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC,
|
|
1
|
+
{"version":3,"file":"msg-global-settings.interface.d.ts","sourceRoot":"","sources":["../../../../src/_modules/messaging/_models/msg-global-settings.interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,kDAAkD;IAClD,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B,gDAAgD;IAChD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,oCAAoC;IACpC,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,+BAA+B;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,8BAA8B;IAC9B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,uCAAuC;IACvC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,sBAAsB;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,2BAA2B;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,+BAA+B;IAC/B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC,yCAAyC;IACzC,KAAK,CAAC,EAAE;QACN,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;CACH"}
|
|
@@ -1,26 +1 @@
|
|
|
1
|
-
import { DyNTS_SingletonService } from '../../../_services/base/singleton.service';
|
|
2
|
-
import { DyFM_Msg_Message, DyFM_Msg_Conversation } from '@futdevpro/fsm-dynamo/messaging';
|
|
3
|
-
import { DyNTS_Bot_Message } from '../../bot/_models/bot-message.interface';
|
|
4
|
-
/**
|
|
5
|
-
* Messaging Integration Control Service
|
|
6
|
-
* Handles integration between messaging system and bot/assistant modules
|
|
7
|
-
*/
|
|
8
|
-
export declare class DyNTS_Msg_Integration_ControlService extends DyNTS_SingletonService {
|
|
9
|
-
static getInstance(): DyNTS_Msg_Integration_ControlService;
|
|
10
|
-
private eventsService;
|
|
11
|
-
/**
|
|
12
|
-
* Sync bot message to messaging system
|
|
13
|
-
* Called from bot IO when message is received
|
|
14
|
-
*/
|
|
15
|
-
syncBotMessage<T>(botMessage: DyNTS_Bot_Message<T>, conversationId: string, issuer: string): Promise<DyFM_Msg_Message>;
|
|
16
|
-
/**
|
|
17
|
-
* Sync assistant response to messaging system
|
|
18
|
-
* Called from assistant IO when AI responds
|
|
19
|
-
*/
|
|
20
|
-
syncAssistantMessage(content: string, conversationId: string, aiProvider: string, aiModel: string, senderId: string, issuer: string): Promise<DyFM_Msg_Message>;
|
|
21
|
-
/**
|
|
22
|
-
* Find or create conversation for bot channel
|
|
23
|
-
*/
|
|
24
|
-
findOrCreateBotConversation(channelId: string, platformSource: string, issuer: string): Promise<DyFM_Msg_Conversation>;
|
|
25
|
-
}
|
|
26
1
|
//# sourceMappingURL=msg-integration.control-service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"msg-integration.control-service.d.ts","sourceRoot":"","sources":["../../../../src/_modules/messaging/_services/msg-integration.control-service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"msg-integration.control-service.d.ts","sourceRoot":"","sources":["../../../../src/_modules/messaging/_services/msg-integration.control-service.ts"],"names":[],"mappings":""}
|
|
@@ -1,126 +1,181 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* Messaging Integration Control Service
|
|
13
|
-
* Handles integration between messaging system and bot/assistant modules
|
|
14
|
-
*/
|
|
15
|
-
class DyNTS_Msg_Integration_ControlService extends
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
1
|
+
//import { DyNTS_SingletonService } from '../../../_services/base/singleton.service';
|
|
2
|
+
//import { DyFM_Error, DyFM_Log, DyFM_DBFilter } from '@futdevpro/fsm-dynamo';
|
|
3
|
+
//import { DyFM_Msg_Message, DyFM_Msg_Conversation } from '@futdevpro/fsm-dynamo/messaging';
|
|
4
|
+
//import { DyNTS_global_settings } from '../../../_collections/global-settings.const';
|
|
5
|
+
//import { DyNTS_Msg_Message_DataService } from './msg-message.data-service';
|
|
6
|
+
//import { DyNTS_Msg_Conversation_DataService } from './msg-conversation.data-service';
|
|
7
|
+
//import { DyNTS_Msg_Events_Service } from './msg-events.service';
|
|
8
|
+
//import { DyNTS_Msg_Util } from '../_collections/msg.util';
|
|
9
|
+
//import { DyNTS_Bot_MessageWrapper } from '../../bot/_models/bot-message.interface';
|
|
10
|
+
//
|
|
11
|
+
///**
|
|
12
|
+
// * Messaging Integration Control Service
|
|
13
|
+
// * Handles integration between messaging system and bot/assistant modules
|
|
14
|
+
// */
|
|
15
|
+
//export class DyNTS_Msg_Integration_ControlService extends DyNTS_SingletonService {
|
|
16
|
+
//
|
|
17
|
+
// static getInstance(): DyNTS_Msg_Integration_ControlService {
|
|
18
|
+
// return DyNTS_Msg_Integration_ControlService.getSingletonInstance();
|
|
19
|
+
// }
|
|
20
|
+
//
|
|
21
|
+
// private eventsService = DyNTS_Msg_Events_Service.getInstance();
|
|
22
|
+
//
|
|
23
|
+
// /**
|
|
24
|
+
// * Sync bot message to messaging system
|
|
25
|
+
// * Called from bot IO when message is received
|
|
26
|
+
// */
|
|
27
|
+
// async syncBotMessage<T>(
|
|
28
|
+
// botMessage: DyNTS_Bot_MessageWrapper<T>,
|
|
29
|
+
// conversationId: string,
|
|
30
|
+
// issuer: string
|
|
31
|
+
// ): Promise<DyFM_Msg_Message> {
|
|
32
|
+
// try {
|
|
33
|
+
// if (!DyNTS_global_settings.messaging_settings?.integration?.syncBotMessages) {
|
|
34
|
+
// throw new Error('Bot message sync is disabled');
|
|
35
|
+
// }
|
|
36
|
+
//
|
|
37
|
+
// // Convert bot message to messaging format
|
|
38
|
+
// const msgMessage = DyNTS_Msg_Util.botMessageToMsgMessage(
|
|
39
|
+
// botMessage,
|
|
40
|
+
// conversationId,
|
|
41
|
+
// issuer
|
|
42
|
+
// );
|
|
43
|
+
//
|
|
44
|
+
// // Save to database
|
|
45
|
+
// const messageService = new DyNTS_Msg_Message_DataService({
|
|
46
|
+
// message: msgMessage,
|
|
47
|
+
// issuer,
|
|
48
|
+
// });
|
|
49
|
+
//
|
|
50
|
+
// await messageService.saveData(messageService.data, false, false);
|
|
51
|
+
//
|
|
52
|
+
// // Update conversation last message
|
|
53
|
+
// const conversationService = new DyNTS_Msg_Conversation_DataService({
|
|
54
|
+
// issuer,
|
|
55
|
+
// });
|
|
56
|
+
//
|
|
57
|
+
// await conversationService.updateLastMessage(
|
|
58
|
+
// conversationId,
|
|
59
|
+
// messageService.data._id!,
|
|
60
|
+
// msgMessage.content.substring(0, 100)
|
|
61
|
+
// );
|
|
62
|
+
//
|
|
63
|
+
// // Emit real-time event
|
|
64
|
+
// this.eventsService.emitMessageSent(messageService.data, conversationId);
|
|
65
|
+
//
|
|
66
|
+
// return messageService.data;
|
|
67
|
+
// } catch (error) {
|
|
68
|
+
// DyFM_Log.error('Failed to sync bot message', error);
|
|
69
|
+
// throw new DyFM_Error({
|
|
70
|
+
// ...this.getDefaultErrorSettings('syncBotMessage', error, issuer),
|
|
71
|
+
// errorCode: `${DyNTS_global_settings.systemShortCodeName}|DyNTS-MSG-SBM`,
|
|
72
|
+
// userMessage: 'Failed to sync bot message to messaging system.',
|
|
73
|
+
// });
|
|
74
|
+
// }
|
|
75
|
+
// }
|
|
76
|
+
//
|
|
77
|
+
// /**
|
|
78
|
+
// * Sync assistant response to messaging system
|
|
79
|
+
// * Called from assistant IO when AI responds
|
|
80
|
+
// */
|
|
81
|
+
// async syncAssistantMessage(
|
|
82
|
+
// content: string,
|
|
83
|
+
// conversationId: string,
|
|
84
|
+
// aiProvider: string,
|
|
85
|
+
// aiModel: string,
|
|
86
|
+
// senderId: string,
|
|
87
|
+
// issuer: string
|
|
88
|
+
// ): Promise<DyFM_Msg_Message> {
|
|
89
|
+
// try {
|
|
90
|
+
// if (!DyNTS_global_settings.messaging_settings?.integration?.syncAssistantMessages) {
|
|
91
|
+
// throw new Error('Assistant message sync is disabled');
|
|
92
|
+
// }
|
|
93
|
+
//
|
|
94
|
+
// // Create AI message
|
|
95
|
+
// const msgMessage = DyNTS_Msg_Util.createAIMessage(
|
|
96
|
+
// conversationId,
|
|
97
|
+
// content,
|
|
98
|
+
// aiProvider,
|
|
99
|
+
// aiModel,
|
|
100
|
+
// senderId,
|
|
101
|
+
// issuer
|
|
102
|
+
// );
|
|
103
|
+
//
|
|
104
|
+
// // Save to database
|
|
105
|
+
// const messageService = new DyNTS_Msg_Message_DataService({
|
|
106
|
+
// message: msgMessage,
|
|
107
|
+
// issuer,
|
|
108
|
+
// });
|
|
109
|
+
//
|
|
110
|
+
// await messageService.saveData(messageService.data, false, false);
|
|
111
|
+
//
|
|
112
|
+
// // Update conversation last message
|
|
113
|
+
// const conversationService = new DyNTS_Msg_Conversation_DataService({
|
|
114
|
+
// issuer,
|
|
115
|
+
// });
|
|
116
|
+
//
|
|
117
|
+
// await conversationService.updateLastMessage(
|
|
118
|
+
// conversationId,
|
|
119
|
+
// messageService.data._id!,
|
|
120
|
+
// content.substring(0, 100)
|
|
121
|
+
// );
|
|
122
|
+
//
|
|
123
|
+
// // Emit real-time event
|
|
124
|
+
// this.eventsService.emitMessageSent(messageService.data, conversationId);
|
|
125
|
+
//
|
|
126
|
+
// return messageService.data;
|
|
127
|
+
// } catch (error) {
|
|
128
|
+
// DyFM_Log.error('Failed to sync assistant message', error);
|
|
129
|
+
// throw new DyFM_Error({
|
|
130
|
+
// ...this.getDefaultErrorSettings('syncAssistantMessage', error, issuer),
|
|
131
|
+
// errorCode: `${DyNTS_global_settings.systemShortCodeName}|DyNTS-MSG-SAM`,
|
|
132
|
+
// userMessage: 'Failed to sync assistant message to messaging system.',
|
|
133
|
+
// });
|
|
134
|
+
// }
|
|
135
|
+
// }
|
|
136
|
+
//
|
|
137
|
+
// /**
|
|
138
|
+
// * Find or create conversation for bot channel
|
|
139
|
+
// */
|
|
140
|
+
// async findOrCreateBotConversation(
|
|
141
|
+
// channelId: string,
|
|
142
|
+
// platformSource: string,
|
|
143
|
+
// issuer: string
|
|
144
|
+
// ): Promise<DyFM_Msg_Conversation> {
|
|
145
|
+
// try {
|
|
146
|
+
// const conversationService = new DyNTS_Msg_Conversation_DataService({
|
|
147
|
+
// issuer,
|
|
148
|
+
// });
|
|
149
|
+
//
|
|
150
|
+
// // Try to find existing conversation
|
|
151
|
+
// const existingConversation = await conversationService.dataDBService.findOne({
|
|
152
|
+
// platformChannelId: channelId,
|
|
153
|
+
// platformSource,
|
|
154
|
+
// __deleted: { $exists: false },
|
|
155
|
+
// } as DyFM_DBFilter<DyFM_Msg_Conversation>);
|
|
156
|
+
//
|
|
157
|
+
// if (existingConversation) {
|
|
158
|
+
// conversationService.data = existingConversation;
|
|
159
|
+
// }
|
|
160
|
+
//
|
|
161
|
+
// // Create new if not found
|
|
162
|
+
// if (!conversationService.data._id) {
|
|
163
|
+
// conversationService.data.platformChannelId = channelId;
|
|
164
|
+
// conversationService.data.platformSource = platformSource;
|
|
165
|
+
// conversationService.data.participants = [];
|
|
166
|
+
//
|
|
167
|
+
// await conversationService.saveData(conversationService.data, false, false);
|
|
168
|
+
// }
|
|
169
|
+
//
|
|
170
|
+
// return conversationService.data;
|
|
171
|
+
// } catch (error) {
|
|
172
|
+
// throw new DyFM_Error({
|
|
173
|
+
// ...this.getDefaultErrorSettings('findOrCreateBotConversation', error, issuer),
|
|
174
|
+
// errorCode: `${DyNTS_global_settings.systemShortCodeName}|DyNTS-MSG-FCBC`,
|
|
175
|
+
// userMessage: 'Failed to find or create bot conversation.',
|
|
176
|
+
// });
|
|
177
|
+
// }
|
|
178
|
+
// }
|
|
179
|
+
//}
|
|
180
|
+
//
|
|
126
181
|
//# sourceMappingURL=msg-integration.control-service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"msg-integration.control-service.js","sourceRoot":"","sources":["../../../../src/_modules/messaging/_services/msg-integration.control-service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"msg-integration.control-service.js","sourceRoot":"","sources":["../../../../src/_modules/messaging/_services/msg-integ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