@venturialstd/workflow 0.1.161 → 0.1.162
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/README.md +238 -238
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/modules/chatgpt/actions/chat-completion.action.d.ts +0 -16
- package/dist/modules/chatgpt/actions/chat-completion.action.d.ts.map +1 -1
- package/dist/modules/chatgpt/actions/chat-completion.action.js +87 -59
- package/dist/modules/chatgpt/actions/chat-completion.action.js.map +1 -1
- package/dist/modules/chatgpt/actions/create-embedding.action.d.ts.map +1 -1
- package/dist/modules/chatgpt/actions/create-embedding.action.js +16 -10
- package/dist/modules/chatgpt/actions/create-embedding.action.js.map +1 -1
- package/dist/modules/chatgpt/actions/generate-image.action.d.ts.map +1 -1
- package/dist/modules/chatgpt/actions/generate-image.action.js +35 -19
- package/dist/modules/chatgpt/actions/generate-image.action.js.map +1 -1
- package/dist/modules/chatgpt/actions/speech-to-text.action.d.ts.map +1 -1
- package/dist/modules/chatgpt/actions/speech-to-text.action.js +31 -18
- package/dist/modules/chatgpt/actions/speech-to-text.action.js.map +1 -1
- package/dist/modules/chatgpt/actions/text-to-speech.action.d.ts.map +1 -1
- package/dist/modules/chatgpt/actions/text-to-speech.action.js +32 -15
- package/dist/modules/chatgpt/actions/text-to-speech.action.js.map +1 -1
- package/dist/modules/chatgpt/auth/chatgpt-auth.service.d.ts +0 -3
- package/dist/modules/chatgpt/auth/chatgpt-auth.service.d.ts.map +1 -1
- package/dist/modules/chatgpt/auth/chatgpt-auth.service.js +36 -33
- package/dist/modules/chatgpt/auth/chatgpt-auth.service.js.map +1 -1
- package/dist/modules/chatgpt/chatgpt-nest.module.d.ts.map +1 -1
- package/dist/modules/chatgpt/chatgpt-nest.module.js +6 -7
- package/dist/modules/chatgpt/chatgpt-nest.module.js.map +1 -1
- package/dist/modules/chatgpt/chatgpt.module.d.ts.map +1 -1
- package/dist/modules/chatgpt/chatgpt.module.js +2 -2
- package/dist/modules/chatgpt/chatgpt.module.js.map +1 -1
- package/dist/modules/chatgpt/constants/chatgpt-completion.constants.d.ts +4 -0
- package/dist/modules/chatgpt/constants/chatgpt-completion.constants.d.ts.map +1 -0
- package/dist/modules/chatgpt/constants/chatgpt-completion.constants.js +32 -0
- package/dist/modules/chatgpt/constants/chatgpt-completion.constants.js.map +1 -0
- package/dist/modules/chatgpt/services/chat-completion.service.d.ts +4 -2
- package/dist/modules/chatgpt/services/chat-completion.service.d.ts.map +1 -1
- package/dist/modules/chatgpt/services/chat-completion.service.js +92 -41
- package/dist/modules/chatgpt/services/chat-completion.service.js.map +1 -1
- package/dist/modules/index.d.ts +0 -1
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/index.js +1 -5
- package/dist/modules/index.js.map +1 -1
- package/dist/workflow.module.d.ts.map +1 -1
- package/dist/workflow.module.js +0 -3
- package/dist/workflow.module.js.map +1 -1
- package/package.json +118 -118
- package/dist/modules/chatbot/actions/ask-question.action.d.ts +0 -3
- package/dist/modules/chatbot/actions/ask-question.action.d.ts.map +0 -1
- package/dist/modules/chatbot/actions/ask-question.action.js +0 -42
- package/dist/modules/chatbot/actions/ask-question.action.js.map +0 -1
- package/dist/modules/chatbot/actions/index.d.ts +0 -4
- package/dist/modules/chatbot/actions/index.d.ts.map +0 -1
- package/dist/modules/chatbot/actions/index.js +0 -20
- package/dist/modules/chatbot/actions/index.js.map +0 -1
- package/dist/modules/chatbot/actions/send-buttons.action.d.ts +0 -3
- package/dist/modules/chatbot/actions/send-buttons.action.d.ts.map +0 -1
- package/dist/modules/chatbot/actions/send-buttons.action.js +0 -67
- package/dist/modules/chatbot/actions/send-buttons.action.js.map +0 -1
- package/dist/modules/chatbot/actions/send-message.action.d.ts +0 -3
- package/dist/modules/chatbot/actions/send-message.action.d.ts.map +0 -1
- package/dist/modules/chatbot/actions/send-message.action.js +0 -52
- package/dist/modules/chatbot/actions/send-message.action.js.map +0 -1
- package/dist/modules/chatbot/chatbot-nest.module.d.ts +0 -3
- package/dist/modules/chatbot/chatbot-nest.module.d.ts.map +0 -1
- package/dist/modules/chatbot/chatbot-nest.module.js +0 -21
- package/dist/modules/chatbot/chatbot-nest.module.js.map +0 -1
- package/dist/modules/chatbot/chatbot.module.d.ts +0 -3
- package/dist/modules/chatbot/chatbot.module.d.ts.map +0 -1
- package/dist/modules/chatbot/chatbot.module.js +0 -17
- package/dist/modules/chatbot/chatbot.module.js.map +0 -1
- package/dist/modules/chatbot/credentials.d.ts +0 -3
- package/dist/modules/chatbot/credentials.d.ts.map +0 -1
- package/dist/modules/chatbot/credentials.js +0 -5
- package/dist/modules/chatbot/credentials.js.map +0 -1
- package/dist/modules/chatbot/services/ask-question.service.d.ts +0 -5
- package/dist/modules/chatbot/services/ask-question.service.d.ts.map +0 -1
- package/dist/modules/chatbot/services/ask-question.service.js +0 -25
- package/dist/modules/chatbot/services/ask-question.service.js.map +0 -1
- package/dist/modules/chatbot/services/index.d.ts +0 -5
- package/dist/modules/chatbot/services/index.d.ts.map +0 -1
- package/dist/modules/chatbot/services/index.js +0 -21
- package/dist/modules/chatbot/services/index.js.map +0 -1
- package/dist/modules/chatbot/services/send-buttons.service.d.ts +0 -5
- package/dist/modules/chatbot/services/send-buttons.service.d.ts.map +0 -1
- package/dist/modules/chatbot/services/send-buttons.service.js +0 -25
- package/dist/modules/chatbot/services/send-buttons.service.js.map +0 -1
- package/dist/modules/chatbot/services/send-message.service.d.ts +0 -5
- package/dist/modules/chatbot/services/send-message.service.d.ts.map +0 -1
- package/dist/modules/chatbot/services/send-message.service.js +0 -27
- package/dist/modules/chatbot/services/send-message.service.js.map +0 -1
- package/dist/modules/chatbot/services/user-responded.service.d.ts +0 -5
- package/dist/modules/chatbot/services/user-responded.service.d.ts.map +0 -1
- package/dist/modules/chatbot/services/user-responded.service.js +0 -25
- package/dist/modules/chatbot/services/user-responded.service.js.map +0 -1
- package/dist/modules/chatbot/triggers/index.d.ts +0 -2
- package/dist/modules/chatbot/triggers/index.d.ts.map +0 -1
- package/dist/modules/chatbot/triggers/index.js +0 -18
- package/dist/modules/chatbot/triggers/index.js.map +0 -1
- package/dist/modules/chatbot/triggers/user-responded.trigger.d.ts +0 -3
- package/dist/modules/chatbot/triggers/user-responded.trigger.d.ts.map +0 -1
- package/dist/modules/chatbot/triggers/user-responded.trigger.js +0 -45
- package/dist/modules/chatbot/triggers/user-responded.trigger.js.map +0 -1
- package/dist/modules/chatgpt/auth/index.d.ts +0 -2
- package/dist/modules/chatgpt/auth/index.d.ts.map +0 -1
- package/dist/modules/chatgpt/auth/index.js +0 -6
- package/dist/modules/chatgpt/auth/index.js.map +0 -1
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ask-question.service"), exports);
|
|
18
|
-
__exportStar(require("./send-buttons.service"), exports);
|
|
19
|
-
__exportStar(require("./send-message.service"), exports);
|
|
20
|
-
__exportStar(require("./user-responded.service"), exports);
|
|
21
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/chatbot/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,yDAAuC;AACvC,yDAAuC;AACvC,2DAAyC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IWorkflowActionService, WorkflowActionContext } from '../../types';
|
|
2
|
-
export declare class SendButtonsService implements IWorkflowActionService {
|
|
3
|
-
perform(inputs: Record<string, unknown>, _context: WorkflowActionContext): Promise<Record<string, unknown>>;
|
|
4
|
-
}
|
|
5
|
-
//# sourceMappingURL=send-buttons.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"send-buttons.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/chatbot/services/send-buttons.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAE5E,qBACa,kBAAmB,YAAW,sBAAsB;IACzD,OAAO,CACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,QAAQ,EAAE,qBAAqB,GAC9B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAYpC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.SendButtonsService = void 0;
|
|
10
|
-
const common_1 = require("@nestjs/common");
|
|
11
|
-
let SendButtonsService = class SendButtonsService {
|
|
12
|
-
async perform(inputs, _context) {
|
|
13
|
-
const _message = inputs.message;
|
|
14
|
-
const _buttons = inputs.buttons;
|
|
15
|
-
return {
|
|
16
|
-
selectedButton: '',
|
|
17
|
-
selectedButtonLabel: '',
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
exports.SendButtonsService = SendButtonsService;
|
|
22
|
-
exports.SendButtonsService = SendButtonsService = __decorate([
|
|
23
|
-
(0, common_1.Injectable)()
|
|
24
|
-
], SendButtonsService);
|
|
25
|
-
//# sourceMappingURL=send-buttons.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"send-buttons.service.js","sourceRoot":"","sources":["../../../../src/modules/chatbot/services/send-buttons.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA4C;AAKrC,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC7B,KAAK,CAAC,OAAO,CACX,MAA+B,EAC/B,QAA+B;QAI/B,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAiB,CAAC;QAC1C,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAkD,CAAC;QAG3E,OAAO;YACL,cAAc,EAAE,EAAE;YAClB,mBAAmB,EAAE,EAAE;SACxB,CAAC;IACJ,CAAC;CACF,CAAA;AAhBY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,mBAAU,GAAE;GACA,kBAAkB,CAgB9B"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IWorkflowActionService, WorkflowActionContext } from '../../types';
|
|
2
|
-
export declare class SendMessageService implements IWorkflowActionService {
|
|
3
|
-
perform(inputs: Record<string, unknown>, _context: WorkflowActionContext): Promise<Record<string, unknown>>;
|
|
4
|
-
}
|
|
5
|
-
//# sourceMappingURL=send-message.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"send-message.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/chatbot/services/send-message.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAE5E,qBACa,kBAAmB,YAAW,sBAAsB;IACzD,OAAO,CACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,QAAQ,EAAE,qBAAqB,GAC9B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAepC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.SendMessageService = void 0;
|
|
10
|
-
const common_1 = require("@nestjs/common");
|
|
11
|
-
let SendMessageService = class SendMessageService {
|
|
12
|
-
async perform(inputs, _context) {
|
|
13
|
-
const _message = inputs.message;
|
|
14
|
-
const _waitForResponse = inputs.waitForResponse || false;
|
|
15
|
-
const messageId = `msg_${Date.now()}`;
|
|
16
|
-
const sentAt = new Date();
|
|
17
|
-
return {
|
|
18
|
-
messageId,
|
|
19
|
-
sentAt: sentAt.toISOString(),
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
exports.SendMessageService = SendMessageService;
|
|
24
|
-
exports.SendMessageService = SendMessageService = __decorate([
|
|
25
|
-
(0, common_1.Injectable)()
|
|
26
|
-
], SendMessageService);
|
|
27
|
-
//# sourceMappingURL=send-message.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"send-message.service.js","sourceRoot":"","sources":["../../../../src/modules/chatbot/services/send-message.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA4C;AAKrC,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC7B,KAAK,CAAC,OAAO,CACX,MAA+B,EAC/B,QAA+B;QAI/B,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAiB,CAAC;QAC1C,MAAM,gBAAgB,GAAI,MAAM,CAAC,eAA2B,IAAI,KAAK,CAAC;QAGtE,MAAM,SAAS,GAAG,OAAO,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC;QACtC,MAAM,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QAE1B,OAAO;YACL,SAAS;YACT,MAAM,EAAE,MAAM,CAAC,WAAW,EAAE;SAC7B,CAAC;IACJ,CAAC;CACF,CAAA;AAnBY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,mBAAU,GAAE;GACA,kBAAkB,CAmB9B"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IWorkflowActionService, WorkflowActionContext } from '../../types';
|
|
2
|
-
export declare class UserRespondedService implements IWorkflowActionService {
|
|
3
|
-
perform(inputs: Record<string, unknown>, _context: WorkflowActionContext): Promise<Record<string, unknown>>;
|
|
4
|
-
}
|
|
5
|
-
//# sourceMappingURL=user-responded.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-responded.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/chatbot/services/user-responded.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAE5E,qBACa,oBAAqB,YAAW,sBAAsB;IAC3D,OAAO,CACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,QAAQ,EAAE,qBAAqB,GAC9B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAYpC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.UserRespondedService = void 0;
|
|
10
|
-
const common_1 = require("@nestjs/common");
|
|
11
|
-
let UserRespondedService = class UserRespondedService {
|
|
12
|
-
async perform(inputs, _context) {
|
|
13
|
-
const userId = inputs.userId;
|
|
14
|
-
return {
|
|
15
|
-
message: '',
|
|
16
|
-
timestamp: new Date().toISOString(),
|
|
17
|
-
userId,
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
exports.UserRespondedService = UserRespondedService;
|
|
22
|
-
exports.UserRespondedService = UserRespondedService = __decorate([
|
|
23
|
-
(0, common_1.Injectable)()
|
|
24
|
-
], UserRespondedService);
|
|
25
|
-
//# sourceMappingURL=user-responded.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-responded.service.js","sourceRoot":"","sources":["../../../../src/modules/chatbot/services/user-responded.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA4C;AAKrC,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC/B,KAAK,CAAC,OAAO,CACX,MAA+B,EAC/B,QAA+B;QAI/B,MAAM,MAAM,GAAG,MAAM,CAAC,MAAgB,CAAC;QAGvC,OAAO;YACL,OAAO,EAAE,EAAE;YACX,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACnC,MAAM;SACP,CAAC;IACJ,CAAC;CACF,CAAA;AAhBY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,mBAAU,GAAE;GACA,oBAAoB,CAgBhC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/chatbot/triggers/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./user-responded.trigger"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/chatbot/triggers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-responded.trigger.d.ts","sourceRoot":"","sources":["../../../../src/modules/chatbot/triggers/user-responded.trigger.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAG/E,eAAO,MAAM,oBAAoB,EAAE,qBAsClC,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.userRespondedTrigger = void 0;
|
|
4
|
-
const types_1 = require("../../types");
|
|
5
|
-
const user_responded_service_1 = require("../services/user-responded.service");
|
|
6
|
-
exports.userRespondedTrigger = {
|
|
7
|
-
key: 'user-responded',
|
|
8
|
-
name: 'User Responded',
|
|
9
|
-
description: 'Triggered when user sends a message',
|
|
10
|
-
category: types_1.NODE_CATEGORY.TRIGGER,
|
|
11
|
-
icon: '👤',
|
|
12
|
-
serviceClass: user_responded_service_1.UserRespondedService,
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
id: 'userId',
|
|
16
|
-
name: 'User ID',
|
|
17
|
-
description: 'Identifier of the user who responded',
|
|
18
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
-
validation: {
|
|
20
|
-
required: true,
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
],
|
|
24
|
-
outputs: [
|
|
25
|
-
{
|
|
26
|
-
id: 'message',
|
|
27
|
-
name: 'Message',
|
|
28
|
-
description: 'The message content from the user',
|
|
29
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
id: 'timestamp',
|
|
33
|
-
name: 'Timestamp',
|
|
34
|
-
description: 'When the message was received',
|
|
35
|
-
type: types_1.FIELD_TYPE.DATE,
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
id: 'userId',
|
|
39
|
-
name: 'User ID',
|
|
40
|
-
description: 'Identifier of the user',
|
|
41
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
};
|
|
45
|
-
//# sourceMappingURL=user-responded.trigger.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-responded.trigger.js","sourceRoot":"","sources":["../../../../src/modules/chatbot/triggers/user-responded.trigger.ts"],"names":[],"mappings":";;;AAAA,uCAA+E;AAC/E,+EAA0E;AAE7D,QAAA,oBAAoB,GAA0B;IACzD,GAAG,EAAE,gBAAgB;IACrB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,qCAAqC;IAClD,QAAQ,EAAE,qBAAa,CAAC,OAAO;IAC/B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,6CAAoB;IAClC,MAAM,EAAE;QACN;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,WAAW;YACf,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,kBAAU,CAAC,IAAI;SACtB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/chatgpt/auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ChatGptAuthService = void 0;
|
|
4
|
-
var chatgpt_auth_service_1 = require("./chatgpt-auth.service");
|
|
5
|
-
Object.defineProperty(exports, "ChatGptAuthService", { enumerable: true, get: function () { return chatgpt_auth_service_1.ChatGptAuthService; } });
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/chatgpt/auth/index.ts"],"names":[],"mappings":";;;AAAA,+DAA4D;AAAnD,0HAAA,kBAAkB,OAAA"}
|