@cognigy/rest-api-client 2026.1.0 → 2026.3.0
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/CHANGELOG.md +5 -0
- package/build/apigroups/InsightsAPIGroup_2_1.js +27 -0
- package/build/apigroups/ResourcesAPIGroup_2_0.js +1 -0
- package/build/apigroups/SimulationAPIGroup_2_0.js +24 -23
- package/build/apigroups/index.js +3 -1
- package/build/shared/charts/descriptors/connectionNodes/smtp/index.js +5 -1
- package/build/shared/charts/descriptors/connectionNodes/smtp/oAuth2ClientCredentialsConnection.js +15 -0
- package/build/shared/charts/descriptors/connectionNodes/smtp/oAuth2JwtBearerConnection.js +13 -0
- package/build/shared/charts/descriptors/connectionNodes/smtp/sendEmail.js +54 -10
- package/build/shared/charts/descriptors/connectionNodes/speechProviders/elevenlabsSpeechProviderConnection.js +52 -0
- package/build/shared/charts/descriptors/connectionNodes/speechProviders/index.js +8 -7
- package/build/shared/charts/descriptors/index.js +4 -0
- package/build/shared/charts/descriptors/message/question/question.js +249 -59
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +17 -15
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJobCallMCPTool.js +6 -4
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJobMCPTool.js +57 -1
- package/build/shared/charts/descriptors/service/aiAgent/helpers/createToolDefinitions.js +7 -0
- package/build/shared/charts/descriptors/service/aiAgentV2.js +89 -0
- package/build/shared/charts/descriptors/service/index.js +5 -1
- package/build/shared/charts/descriptors/service/llmPrompt/LLMPromptV2.js +15 -13
- package/build/shared/charts/descriptors/service/llmPrompt/llmPromptMCPTool.js +57 -1
- package/build/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +67 -13
- package/build/shared/charts/descriptors/voice/mappers/transfer.mapper.js +25 -3
- package/build/shared/charts/descriptors/voice/nodes/sessionSpeechParameters.js +65 -0
- package/build/shared/charts/descriptors/voicegateway2/nodes/play.js +7 -0
- package/build/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +137 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/transfer.js +135 -2
- package/build/shared/helper/BaseContext.js +1 -1
- package/build/shared/interfaces/generativeAI/IGenerativeAIModels.js +1 -0
- package/build/shared/interfaces/handoverProviders.js +0 -1
- package/build/shared/interfaces/messageAPI/endpoints.js +3 -0
- package/build/shared/interfaces/resources/IAuditEvent.js +13 -0
- package/build/shared/interfaces/resources/TResourceType.js +2 -0
- package/build/shared/interfaces/resources/knowledgeStore/IKnowledgeSource.js +1 -1
- package/build/shared/interfaces/resources/settings/IAudioPreviewSettings.js +7 -1
- package/build/shared/interfaces/restAPI/analytics/IDeleteConversationsBySessionRest_2_1.js +3 -0
- package/build/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/IRunKnowledgeConnectorRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/simulation/simulationOverview/IGetSimulationOverviewMetricsRestData_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/simulation/simulationOverview/IGetSuccessRateTrendRestData_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/simulation/simulationOverview/IGetUpcomingScheduledRunsRestData_2_0.js +3 -0
- package/build/shared/interfaces/security/ISessionScope.js +3 -0
- package/build/shared/interfaces/user.js +2 -0
- package/dist/esm/apigroups/InsightsAPIGroup_2_1.js +13 -0
- package/dist/esm/apigroups/ResourcesAPIGroup_2_0.js +1 -0
- package/dist/esm/apigroups/SimulationAPIGroup_2_0.js +24 -23
- package/dist/esm/apigroups/index.js +1 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/index.js +5 -1
- package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/oAuth2ClientCredentialsConnection.js +12 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/oAuth2JwtBearerConnection.js +10 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/sendEmail.js +54 -10
- package/dist/esm/shared/charts/descriptors/connectionNodes/speechProviders/elevenlabsSpeechProviderConnection.js +49 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/speechProviders/index.js +3 -3
- package/dist/esm/shared/charts/descriptors/index.js +5 -1
- package/dist/esm/shared/charts/descriptors/message/question/question.js +249 -59
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +17 -15
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJobCallMCPTool.js +6 -4
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJobMCPTool.js +56 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/helpers/createToolDefinitions.js +7 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgentV2.js +87 -0
- package/dist/esm/shared/charts/descriptors/service/index.js +2 -0
- package/dist/esm/shared/charts/descriptors/service/llmPrompt/LLMPromptV2.js +22 -20
- package/dist/esm/shared/charts/descriptors/service/llmPrompt/llmPromptMCPTool.js +56 -0
- package/dist/esm/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +67 -13
- package/dist/esm/shared/charts/descriptors/voice/mappers/transfer.mapper.js +25 -3
- package/dist/esm/shared/charts/descriptors/voice/nodes/sessionSpeechParameters.js +65 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/play.js +7 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +137 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/transfer.js +135 -2
- package/dist/esm/shared/helper/BaseContext.js +1 -1
- package/dist/esm/shared/interfaces/generativeAI/IGenerativeAIModels.js +1 -0
- package/dist/esm/shared/interfaces/handoverProviders.js +0 -1
- package/dist/esm/shared/interfaces/messageAPI/endpoints.js +3 -0
- package/dist/esm/shared/interfaces/resources/IAuditEvent.js +13 -0
- package/dist/esm/shared/interfaces/resources/TResourceType.js +2 -0
- package/dist/esm/shared/interfaces/resources/knowledgeStore/IKnowledgeSource.js +1 -1
- package/dist/esm/shared/interfaces/resources/settings/IAudioPreviewSettings.js +7 -1
- package/dist/esm/shared/interfaces/restAPI/analytics/IDeleteConversationsBySessionRest_2_1.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/IRunKnowledgeConnectorRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/simulation/simulationOverview/IGetSimulationOverviewMetricsRestData_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/simulation/simulationOverview/IGetSuccessRateTrendRestData_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/simulation/simulationOverview/IGetUpcomingScheduledRunsRestData_2_0.js +2 -0
- package/dist/esm/shared/interfaces/security/ISessionScope.js +2 -0
- package/dist/esm/shared/interfaces/user.js +2 -0
- package/package.json +1 -1
- package/types/index.d.ts +285 -29
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.InsightsAPIGroup_2_1 = void 0;
|
|
15
|
+
const GenericAPIFn_1 = require("../GenericAPIFn");
|
|
16
|
+
const rest_1 = require("../shared/helper/rest");
|
|
17
|
+
function InsightsAPIGroup_2_1(instance) {
|
|
18
|
+
const self = instance;
|
|
19
|
+
return {
|
|
20
|
+
deleteConversationsBySession_2_1: (_a, options) => {
|
|
21
|
+
var { projectId, sessionId } = _a, restArgs = __rest(_a, ["projectId", "sessionId"]);
|
|
22
|
+
return (0, GenericAPIFn_1.GenericAPIFn)(`/v2.1/conversations/${sessionId}?${(0, rest_1.stringifyQuery)({ projectId })}`, "DELETE", self)(restArgs, options);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
exports.InsightsAPIGroup_2_1 = InsightsAPIGroup_2_1;
|
|
27
|
+
//# sourceMappingURL=InsightsAPIGroup_2_1.js.map
|
|
@@ -644,6 +644,7 @@ const ResourcesAPIGroup_2_0 = (instance) => {
|
|
|
644
644
|
return (0, GenericAPIFn_1.GenericAPIFn)(`/new/v2.0/knowledgestores/${knowledgeStoreId}/connectors/${connectorId}`, "PATCH", self)(args, options);
|
|
645
645
|
},
|
|
646
646
|
deleteKnowledgeConnector: ({ knowledgeStoreId, connectorId }, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/new/v2.0/knowledgestores/${knowledgeStoreId}/connectors/${connectorId}`, "DELETE", self)(undefined, options),
|
|
647
|
+
runKnowledgeConnector: ({ knowledgeStoreId, connectorId }, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/new/v2.0/knowledgestores/${knowledgeStoreId}/connectors/${connectorId}/run`, "POST", self)(undefined, options),
|
|
647
648
|
uploadResumable: (args) => (0, GenericTusFn_1.GenericTusFn)("/new/v2.0/uploads", self)(args),
|
|
648
649
|
generateNluScores: (_a) => {
|
|
649
650
|
var { projectId } = _a, args = __rest(_a, ["projectId"]);
|
|
@@ -17,67 +17,68 @@ const query_1 = require("../shared/helper/rest/query");
|
|
|
17
17
|
function SimulationAPIGroup_2_0(instance) {
|
|
18
18
|
const self = instance;
|
|
19
19
|
return {
|
|
20
|
-
indexSimulations: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/testing/
|
|
21
|
-
createSimulation: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)("/testing/
|
|
20
|
+
indexSimulations: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/testing/simulations?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(undefined, options),
|
|
21
|
+
createSimulation: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)("/testing/simulations", "POST", self)(args, options),
|
|
22
22
|
updateSimulation: (_a, options) => {
|
|
23
23
|
var { simulationReference, projectId } = _a, args = __rest(_a, ["simulationReference", "projectId"]);
|
|
24
|
-
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/
|
|
24
|
+
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/simulations/${simulationReference}?${(0, query_1.stringifyQuery)({
|
|
25
25
|
projectId
|
|
26
26
|
})}`, "PATCH", self)(args, options);
|
|
27
27
|
},
|
|
28
|
-
deleteSimulation: ({ simulationReference, projectId }, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/testing/
|
|
28
|
+
deleteSimulation: ({ simulationReference, projectId }, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/testing/simulations/${simulationReference}?${(0, query_1.stringifyQuery)({
|
|
29
29
|
projectId
|
|
30
30
|
})}`, "DELETE", self)(undefined, options),
|
|
31
|
-
readSimulation: ({ simulationReference, projectId }, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/testing/
|
|
31
|
+
readSimulation: ({ simulationReference, projectId }, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/testing/simulations/${simulationReference}?${(0, query_1.stringifyQuery)({
|
|
32
32
|
projectId
|
|
33
33
|
})}`, "GET", self)(undefined, options),
|
|
34
34
|
scheduleSimulation: (_a, options) => {
|
|
35
35
|
var { simulationReference } = _a, args = __rest(_a, ["simulationReference"]);
|
|
36
|
-
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/
|
|
36
|
+
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/simulations/${simulationReference}/schedule`, "POST", self)(args, options);
|
|
37
37
|
},
|
|
38
38
|
cloneSimulation: (_a, options) => {
|
|
39
39
|
var { simulationReference } = _a, args = __rest(_a, ["simulationReference"]);
|
|
40
|
-
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/
|
|
40
|
+
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/simulations/${simulationReference}/clone`, "POST", self)(args, options);
|
|
41
41
|
},
|
|
42
|
-
indexSimulationRunBatches: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/testing/
|
|
42
|
+
indexSimulationRunBatches: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/testing/simulations/batches?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(undefined, options),
|
|
43
43
|
getAllSimulationRunBatches: (_a, options) => {
|
|
44
44
|
var { simulationReference } = _a, args = __rest(_a, ["simulationReference"]);
|
|
45
|
-
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/
|
|
45
|
+
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/simulations/${simulationReference}/batches?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(undefined, options);
|
|
46
46
|
},
|
|
47
47
|
readSimulationRunBatch: (_a, options) => {
|
|
48
48
|
var { simulationReference, simulationRunBatchReference } = _a, args = __rest(_a, ["simulationReference", "simulationRunBatchReference"]);
|
|
49
|
-
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/
|
|
49
|
+
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/simulations/${simulationReference}/batches/${simulationRunBatchReference}?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(undefined, options);
|
|
50
50
|
},
|
|
51
51
|
stopSimulationRunBatch: (_a, options) => {
|
|
52
52
|
var { simulationReference, simulationRunBatchReference } = _a, args = __rest(_a, ["simulationReference", "simulationRunBatchReference"]);
|
|
53
|
-
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/
|
|
53
|
+
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/simulations/${simulationReference}/batches/${simulationRunBatchReference}/stop?${(0, query_1.stringifyQuery)(args)}`, "POST", self)(undefined, options);
|
|
54
54
|
},
|
|
55
55
|
indexSimulationRuns: (_a, options) => {
|
|
56
56
|
var { simulationReference, simulationRunBatchReference } = _a, args = __rest(_a, ["simulationReference", "simulationRunBatchReference"]);
|
|
57
|
-
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/
|
|
57
|
+
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/simulations/${simulationReference}/batches/${simulationRunBatchReference}/runs?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(undefined, options);
|
|
58
58
|
},
|
|
59
59
|
readSimulationRun: (_a, options) => {
|
|
60
60
|
var { simulationReference, simulationRunBatchReference, simulationRunReference } = _a, args = __rest(_a, ["simulationReference", "simulationRunBatchReference", "simulationRunReference"]);
|
|
61
|
-
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/
|
|
61
|
+
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/simulations/${simulationReference}/batches/${simulationRunBatchReference}/runs/${simulationRunReference}?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(undefined, options);
|
|
62
62
|
},
|
|
63
|
-
getPersonaOptions: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)("/testing/
|
|
64
|
-
generatePersona: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)("/testing/
|
|
65
|
-
regeneratePersonaField: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)("/testing/
|
|
66
|
-
generateBulkPersona: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)("/testing/
|
|
67
|
-
generatePersonaFromTranscript: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)("/testing/
|
|
63
|
+
getPersonaOptions: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)("/testing/personas/options", "POST", self)(args, options),
|
|
64
|
+
generatePersona: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)("/testing/personas/generate", "POST", self)(args, options),
|
|
65
|
+
regeneratePersonaField: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)("/testing/personas/regenerate-field", "POST", self)(args, options),
|
|
66
|
+
generateBulkPersona: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)("/testing/personas/generate-bulk", "POST", self)(args, options),
|
|
67
|
+
generatePersonaFromTranscript: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)("/testing/personas/from-transcript", "POST", self)(args, options),
|
|
68
|
+
getSimulationOverviewMetrics: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/testing/dashboard/overview?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(args, options),
|
|
69
|
+
getSuccessRateTrend: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/testing/dashboard/success-rate-trend?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(args, options),
|
|
70
|
+
getUpcomingScheduledRuns: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/testing/dashboard/upcoming-scheduled-runs?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(undefined, options),
|
|
68
71
|
getScheduler: (_a, options) => {
|
|
69
72
|
var { simulationReference } = _a, args = __rest(_a, ["simulationReference"]);
|
|
70
|
-
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/
|
|
73
|
+
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/simulations/${simulationReference}/schedules?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(args, options);
|
|
71
74
|
},
|
|
72
75
|
createScheduler: (_a, options) => {
|
|
73
76
|
var { simulationReference } = _a, args = __rest(_a, ["simulationReference"]);
|
|
74
|
-
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/
|
|
77
|
+
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/simulations/${simulationReference}/schedules`, "POST", self)(args, options);
|
|
75
78
|
},
|
|
76
79
|
updateScheduler: (_a, options) => {
|
|
77
80
|
var { simulationReference, schedulerId, projectId } = _a, args = __rest(_a, ["simulationReference", "schedulerId", "projectId"]);
|
|
78
|
-
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/
|
|
79
|
-
projectId
|
|
80
|
-
})}`, "PATCH", self)(args, options);
|
|
81
|
+
return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/simulations/${simulationReference}/schedules/${schedulerId}?${(0, query_1.stringifyQuery)({ projectId })}`, "PATCH", self)(args, options);
|
|
81
82
|
}
|
|
82
83
|
};
|
|
83
84
|
}
|
package/build/apigroups/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimulationAPIGroup_2_0 = exports.AIOpsCenterAPIGroup_2_0 = exports.AnalyticsAPIGroup_2_0 = exports.SessionsAPIGroup_2_0 = exports.ResourcesAPIGroup_2_0 = exports.ManagementAPIGroup_2_0 = exports.MetricsAPIGroup_2_0 = exports.JWTAuthAPIGroup_2_0 = exports.InsightsAPIGroup_2_0 = exports.ExternalAPIGroup_2_0 = exports.AdministrationAPIGroup_2_1 = exports.AdministrationAPIGroup_2_0 = void 0;
|
|
3
|
+
exports.SimulationAPIGroup_2_0 = exports.AIOpsCenterAPIGroup_2_0 = exports.AnalyticsAPIGroup_2_0 = exports.SessionsAPIGroup_2_0 = exports.ResourcesAPIGroup_2_0 = exports.ManagementAPIGroup_2_0 = exports.MetricsAPIGroup_2_0 = exports.JWTAuthAPIGroup_2_0 = exports.InsightsAPIGroup_2_1 = exports.InsightsAPIGroup_2_0 = exports.ExternalAPIGroup_2_0 = exports.AdministrationAPIGroup_2_1 = exports.AdministrationAPIGroup_2_0 = void 0;
|
|
4
4
|
// AdministrationAPIGroup;
|
|
5
5
|
var AdministrationAPIGroup_2_0_1 = require("./AdministrationAPIGroup_2_0");
|
|
6
6
|
Object.defineProperty(exports, "AdministrationAPIGroup_2_0", { enumerable: true, get: function () { return AdministrationAPIGroup_2_0_1.AdministrationAPIGroup_2_0; } });
|
|
@@ -10,6 +10,8 @@ var ExternalAPIGroup_2_0_1 = require("./ExternalAPIGroup_2_0");
|
|
|
10
10
|
Object.defineProperty(exports, "ExternalAPIGroup_2_0", { enumerable: true, get: function () { return ExternalAPIGroup_2_0_1.ExternalAPIGroup_2_0; } });
|
|
11
11
|
var InsightsAPIGroup_2_0_1 = require("./InsightsAPIGroup_2_0");
|
|
12
12
|
Object.defineProperty(exports, "InsightsAPIGroup_2_0", { enumerable: true, get: function () { return InsightsAPIGroup_2_0_1.InsightsAPIGroup_2_0; } });
|
|
13
|
+
var InsightsAPIGroup_2_1_1 = require("./InsightsAPIGroup_2_1");
|
|
14
|
+
Object.defineProperty(exports, "InsightsAPIGroup_2_1", { enumerable: true, get: function () { return InsightsAPIGroup_2_1_1.InsightsAPIGroup_2_1; } });
|
|
13
15
|
var JWTAuthAPIGroup_2_0_1 = require("./JWTAuthAPIGroup_2_0");
|
|
14
16
|
Object.defineProperty(exports, "JWTAuthAPIGroup_2_0", { enumerable: true, get: function () { return JWTAuthAPIGroup_2_0_1.JWTAuthAPIGroup_2_0; } });
|
|
15
17
|
var MetricsAPIGroup_2_0_1 = require("./MetricsAPIGroup_2_0");
|
|
@@ -8,6 +8,8 @@ const emailNotification_1 = require("./emailNotification");
|
|
|
8
8
|
const smtpConnection_1 = require("./smtpConnection");
|
|
9
9
|
const serviceConnection_1 = require("./serviceConnection");
|
|
10
10
|
const oAuth2Connection_1 = require("./oAuth2Connection");
|
|
11
|
+
const oAuth2ClientCredentialsConnection_1 = require("./oAuth2ClientCredentialsConnection");
|
|
12
|
+
const oAuth2JwtBearerConnection_1 = require("./oAuth2JwtBearerConnection");
|
|
11
13
|
exports.cognigySMTPModule = (0, createNodeDescriptor_1.createExtension)({
|
|
12
14
|
nodes: [
|
|
13
15
|
sendEmail_1.SEND_EMAIL,
|
|
@@ -16,7 +18,9 @@ exports.cognigySMTPModule = (0, createNodeDescriptor_1.createExtension)({
|
|
|
16
18
|
connections: [
|
|
17
19
|
smtpConnection_1.SMTP_CONNECTION,
|
|
18
20
|
serviceConnection_1.EMAIL_SERVICE_CONNECTION,
|
|
19
|
-
oAuth2Connection_1.EMAIL_SERVICE_OAUTH2_CONNECTION
|
|
21
|
+
oAuth2Connection_1.EMAIL_SERVICE_OAUTH2_CONNECTION,
|
|
22
|
+
oAuth2ClientCredentialsConnection_1.EMAIL_SERVICE_OAUTH2_CLIENT_CREDENTIALS_CONNECTION,
|
|
23
|
+
oAuth2JwtBearerConnection_1.EMAIL_SERVICE_OAUTH2_JWT_BEARER_CONNECTION
|
|
20
24
|
]
|
|
21
25
|
});
|
|
22
26
|
//# sourceMappingURL=index.js.map
|
package/build/shared/charts/descriptors/connectionNodes/smtp/oAuth2ClientCredentialsConnection.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EMAIL_SERVICE_OAUTH2_CLIENT_CREDENTIALS_CONNECTION = void 0;
|
|
4
|
+
exports.EMAIL_SERVICE_OAUTH2_CLIENT_CREDENTIALS_CONNECTION = {
|
|
5
|
+
type: "email_oauth2_client_credentials",
|
|
6
|
+
label: "UI__NODE_EDITOR__SMTP__EMAIL_SERVICE_OAUTH2_CLIENT_CREDENTIALS_CONNECTION__LABEL",
|
|
7
|
+
fields: [
|
|
8
|
+
{ fieldName: "tokenEndpointUrl", label: "UI__CONNECTION_EDITOR__FIELD_TOKEN_ENDPOINT_URL" },
|
|
9
|
+
{ fieldName: "clientId", label: "UI__CONNECTION_EDITOR__FIELD_CLIENT_ID" },
|
|
10
|
+
{ fieldName: "clientSecret", label: "UI__CONNECTION_EDITOR__FIELD_CLIENT_SECRET" },
|
|
11
|
+
{ fieldName: "scope", required: false, label: "UI__CONNECTION_EDITOR__FIELD_SCOPE" },
|
|
12
|
+
{ fieldName: "user", label: "UI__CONNECTION_EDITOR__FIELD_USER" }
|
|
13
|
+
]
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=oAuth2ClientCredentialsConnection.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EMAIL_SERVICE_OAUTH2_JWT_BEARER_CONNECTION = void 0;
|
|
4
|
+
exports.EMAIL_SERVICE_OAUTH2_JWT_BEARER_CONNECTION = {
|
|
5
|
+
type: "email_oauth2_jwt_bearer",
|
|
6
|
+
label: "UI__NODE_EDITOR__SMTP__EMAIL_SERVICE_OAUTH2_JWT_BEARER_CONNECTION__LABEL",
|
|
7
|
+
fields: [
|
|
8
|
+
{ fieldName: "tokenEndpointUrl", label: "UI__CONNECTION_EDITOR__FIELD_TOKEN_ENDPOINT_URL" },
|
|
9
|
+
{ fieldName: "jwt", label: "UI__CONNECTION_EDITOR__FIELD_JWT" },
|
|
10
|
+
{ fieldName: "user", label: "UI__CONNECTION_EDITOR__FIELD_USER" }
|
|
11
|
+
]
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=oAuth2JwtBearerConnection.js.map
|
|
@@ -60,7 +60,7 @@ exports.SEND_EMAIL = (0, createNodeDescriptor_1.createNodeDescriptor)({
|
|
|
60
60
|
{ label: "Yandex", value: "Yandex" },
|
|
61
61
|
{ label: "Zoho", value: "Zoho" },
|
|
62
62
|
{ label: "qiye.aliyun", value: "qiye.aliyun" },
|
|
63
|
-
{ label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__SMTP_TYPE__OTHER_SMTP__LABEL", value: "otherSmtp" }
|
|
63
|
+
{ label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__SMTP_TYPE__OTHER_SMTP__LABEL", value: "otherSmtp" }
|
|
64
64
|
]
|
|
65
65
|
}
|
|
66
66
|
},
|
|
@@ -106,6 +106,16 @@ exports.SEND_EMAIL = (0, createNodeDescriptor_1.createNodeDescriptor)({
|
|
|
106
106
|
label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__AUTH_TYPE__OAUTH2__LABEL",
|
|
107
107
|
value: "oauth2"
|
|
108
108
|
},
|
|
109
|
+
{
|
|
110
|
+
label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__AUTH_TYPE__OAUTH2_CLIENT_CREDENTIALS__LABEL",
|
|
111
|
+
value: "oauth2_client_credentials"
|
|
112
|
+
},
|
|
113
|
+
/* this option is hidden for now, should be enabled with story 122156 (SMTP Node: Enable "OAuth JWT Bearer" option)
|
|
114
|
+
{
|
|
115
|
+
label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__AUTH_TYPE__OAUTH2_JWT_BEARER__LABEL",
|
|
116
|
+
value: "oauth2_jwt_bearer"
|
|
117
|
+
}
|
|
118
|
+
*/
|
|
109
119
|
]
|
|
110
120
|
}
|
|
111
121
|
},
|
|
@@ -133,6 +143,30 @@ exports.SEND_EMAIL = (0, createNodeDescriptor_1.createNodeDescriptor)({
|
|
|
133
143
|
value: "oauth2"
|
|
134
144
|
}
|
|
135
145
|
},
|
|
146
|
+
{
|
|
147
|
+
key: "oAuth2ClientCredentialsConnection",
|
|
148
|
+
type: "connection",
|
|
149
|
+
label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__OAUTH2_CLIENT_CREDENTIALS_CONNECTION__LABEL",
|
|
150
|
+
params: {
|
|
151
|
+
connectionType: "email_oauth2_client_credentials"
|
|
152
|
+
},
|
|
153
|
+
condition: {
|
|
154
|
+
key: "authType",
|
|
155
|
+
value: "oauth2_client_credentials"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
key: "oAuth2JwtBearerConnection",
|
|
160
|
+
type: "connection",
|
|
161
|
+
label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__OAUTH2_JWT_BEARER_CONNECTION__LABEL",
|
|
162
|
+
params: {
|
|
163
|
+
connectionType: "email_oauth2_jwt_bearer"
|
|
164
|
+
},
|
|
165
|
+
condition: {
|
|
166
|
+
key: "authType",
|
|
167
|
+
value: "oauth2_jwt_bearer"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
136
170
|
{
|
|
137
171
|
key: "serviceWarning",
|
|
138
172
|
type: "description",
|
|
@@ -253,7 +287,7 @@ exports.SEND_EMAIL = (0, createNodeDescriptor_1.createNodeDescriptor)({
|
|
|
253
287
|
{ label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__ATTACHMENT_TYPE__URL__LABEL", value: "url" },
|
|
254
288
|
{ label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__ATTACHMENT_TYPE__BASE64__LABEL", value: "base64" },
|
|
255
289
|
{ label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__ATTACHMENT_TYPE__CUSTOM__LABEL", value: "custom" },
|
|
256
|
-
{ label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__ATTACHMENT_TYPE__ROW__LABEL", value: "raw" }
|
|
290
|
+
{ label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__ATTACHMENT_TYPE__ROW__LABEL", value: "raw" }
|
|
257
291
|
]
|
|
258
292
|
}
|
|
259
293
|
},
|
|
@@ -336,7 +370,7 @@ exports.SEND_EMAIL = (0, createNodeDescriptor_1.createNodeDescriptor)({
|
|
|
336
370
|
{
|
|
337
371
|
"key": "attachmentType",
|
|
338
372
|
"value": "custom"
|
|
339
|
-
}
|
|
373
|
+
}
|
|
340
374
|
]
|
|
341
375
|
}
|
|
342
376
|
},
|
|
@@ -385,7 +419,7 @@ Hello world!`,
|
|
|
385
419
|
label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__STORE_LOCATION__CONTEXT__LABEL",
|
|
386
420
|
value: "context"
|
|
387
421
|
}
|
|
388
|
-
]
|
|
422
|
+
]
|
|
389
423
|
},
|
|
390
424
|
defaultValue: "none"
|
|
391
425
|
},
|
|
@@ -396,7 +430,7 @@ Hello world!`,
|
|
|
396
430
|
defaultValue: "email",
|
|
397
431
|
condition: {
|
|
398
432
|
key: "storeLocation",
|
|
399
|
-
value: "input"
|
|
433
|
+
value: "input"
|
|
400
434
|
}
|
|
401
435
|
},
|
|
402
436
|
{
|
|
@@ -406,7 +440,7 @@ Hello world!`,
|
|
|
406
440
|
defaultValue: "email",
|
|
407
441
|
condition: {
|
|
408
442
|
key: "storeLocation",
|
|
409
|
-
value: "context"
|
|
443
|
+
value: "context"
|
|
410
444
|
}
|
|
411
445
|
},
|
|
412
446
|
{
|
|
@@ -440,6 +474,8 @@ Hello world!`,
|
|
|
440
474
|
"authType",
|
|
441
475
|
"serviceConnection",
|
|
442
476
|
"oAuth2Connection",
|
|
477
|
+
"oAuth2ClientCredentialsConnection",
|
|
478
|
+
"oAuth2JwtBearerConnection"
|
|
443
479
|
]
|
|
444
480
|
},
|
|
445
481
|
{
|
|
@@ -466,7 +502,7 @@ Hello world!`,
|
|
|
466
502
|
"contextKey",
|
|
467
503
|
"stopOnError"
|
|
468
504
|
]
|
|
469
|
-
}
|
|
505
|
+
}
|
|
470
506
|
],
|
|
471
507
|
form: [
|
|
472
508
|
{ key: "smtpType", type: "field" },
|
|
@@ -488,8 +524,8 @@ Hello world!`,
|
|
|
488
524
|
tags: ["data", "service", "mail", "email"],
|
|
489
525
|
function: async ({ cognigy, config, nodeId, nodeType, organisationId, projectId, childConfigs }) => {
|
|
490
526
|
const { api } = cognigy;
|
|
491
|
-
const { connection, serviceConnection, oAuth2Connection, recipient, message, storeLocation, inputKey, contextKey, stopOnError } = config;
|
|
492
|
-
if (!connection && !serviceConnection && !oAuth2Connection) {
|
|
527
|
+
const { connection, serviceConnection, oAuth2Connection, oAuth2ClientCredentialsConnection, oAuth2JwtBearerConnection, recipient, message, storeLocation, inputKey, contextKey, stopOnError } = config;
|
|
528
|
+
if (!connection && !serviceConnection && !oAuth2Connection && !oAuth2ClientCredentialsConnection && !oAuth2JwtBearerConnection) {
|
|
493
529
|
throw new errors_1.InvalidArgumentError("A Connection has to be selected");
|
|
494
530
|
}
|
|
495
531
|
if (!recipient) {
|
|
@@ -505,7 +541,15 @@ Hello world!`,
|
|
|
505
541
|
throw new errors_1.InvalidArgumentError("An input key has to be specified");
|
|
506
542
|
}
|
|
507
543
|
try {
|
|
508
|
-
const result = await api.sendEmail({
|
|
544
|
+
const result = await api.sendEmail({
|
|
545
|
+
cognigy,
|
|
546
|
+
config,
|
|
547
|
+
nodeId,
|
|
548
|
+
nodeType,
|
|
549
|
+
organisationId,
|
|
550
|
+
projectId,
|
|
551
|
+
childConfigs
|
|
552
|
+
});
|
|
509
553
|
switch (storeLocation) {
|
|
510
554
|
case "context":
|
|
511
555
|
api.deleteContext(contextKey);
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ELEVENLABS_SPEECH_PROVIDER_CONNECTION = void 0;
|
|
4
|
+
exports.ELEVENLABS_SPEECH_PROVIDER_CONNECTION = {
|
|
5
|
+
type: "ElevenLabsSpeechProvider",
|
|
6
|
+
label: "UI__NODE_EDITOR__ELEVENLABS_SPEECH_PROVIDER__LABEL",
|
|
7
|
+
fields: [
|
|
8
|
+
{ fieldName: "apiKey", label: "UI__CONNECTION_EDITOR__FIELD_API_KEY" },
|
|
9
|
+
{
|
|
10
|
+
fieldName: "region", required: false, label: "UI__CONNECTION_EDITOR__FIELD_REGION", description: "UI__CONNECTION_EDITOR__FIELD_REGION__ELEVENLABS_DESCRIPTION",
|
|
11
|
+
params: {
|
|
12
|
+
fieldType: "select",
|
|
13
|
+
options: [
|
|
14
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_REGION__OPTIONS__GLOBAL__LABEL", value: "global" },
|
|
15
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_REGION__OPTIONS__EUROPE__LABEL", value: "europe" },
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
fieldName: "ttsModel",
|
|
21
|
+
label: "UI__CONNECTION_EDITOR__FIELD_TTS_MODEL__LABEL",
|
|
22
|
+
description: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__DESCRIPTION",
|
|
23
|
+
params: {
|
|
24
|
+
fieldType: "select",
|
|
25
|
+
options: [
|
|
26
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_MULTILINGUAL_V2__LABEL", value: "eleven_multilingual_v2" },
|
|
27
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_MULTILINGUAL_V1__LABEL", value: "eleven_multilingual_v1" },
|
|
28
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_MONOLINGUAL_V1__LABEL", value: "eleven_monolingual_v1" },
|
|
29
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_ENGLISH_STS_V2__LABEL", value: "eleven_english_sts_v2" },
|
|
30
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_TURBO_V2__LABEL", value: "eleven_turbo_v2" },
|
|
31
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_TURBO_V2_5__LABEL", value: "eleven_turbo_v2_5" },
|
|
32
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_FLASH_V2__LABEL", value: "eleven_flash_v2" },
|
|
33
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_FLASH_V2_5__LABEL", value: "eleven_flash_v2_5" },
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
fieldName: "sttModel",
|
|
39
|
+
label: "UI__CONNECTION_EDITOR__FIELD_STT_MODEL__LABEL",
|
|
40
|
+
description: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_STT_MODEL__DESCRIPTION",
|
|
41
|
+
params: {
|
|
42
|
+
fieldType: "select",
|
|
43
|
+
options: [
|
|
44
|
+
// { label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_STT_MODEL__OPTIONS__SCRIBE_V1__LABEL", value: "scribe_v1" },
|
|
45
|
+
// { label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_STT_MODEL__OPTIONS__SCRIBE_V1_EXPERIMENTAL__LABEL", value: "scribe_v1_experimental" },
|
|
46
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_STT_MODEL__OPTIONS__SCRIBE_V2_REALTIME__LABEL", value: "scribe_v2_realtime" },
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=elevenlabsSpeechProviderConnection.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ELEVENLABS_SPEECH_PROVIDER_CONNECTION = exports.DEEPGRAM_SPEECH_PROVIDER_CONNECTION = exports.GOOGLE_SPEECH_PROVIDER_CONNECTION = exports.MICROSOFT_SPEECH_PROVIDER_CONNECTION = exports.AWS_SPEECH_PROVIDER_CONNECTION = exports.cognigySpeechProviderModule = void 0;
|
|
4
4
|
/* Custom modules */
|
|
5
5
|
const createNodeDescriptor_1 = require("../../../createNodeDescriptor");
|
|
6
6
|
const awsSpeechProviderConnection_1 = require("./awsSpeechProviderConnection");
|
|
7
|
+
Object.defineProperty(exports, "AWS_SPEECH_PROVIDER_CONNECTION", { enumerable: true, get: function () { return awsSpeechProviderConnection_1.AWS_SPEECH_PROVIDER_CONNECTION; } });
|
|
7
8
|
const microsoftSpeechProviderConnection_1 = require("./microsoftSpeechProviderConnection");
|
|
9
|
+
Object.defineProperty(exports, "MICROSOFT_SPEECH_PROVIDER_CONNECTION", { enumerable: true, get: function () { return microsoftSpeechProviderConnection_1.MICROSOFT_SPEECH_PROVIDER_CONNECTION; } });
|
|
8
10
|
const googleSpeechProviderConnection_1 = require("./googleSpeechProviderConnection");
|
|
11
|
+
Object.defineProperty(exports, "GOOGLE_SPEECH_PROVIDER_CONNECTION", { enumerable: true, get: function () { return googleSpeechProviderConnection_1.GOOGLE_SPEECH_PROVIDER_CONNECTION; } });
|
|
9
12
|
const deepgramSpeechProviderConnection_1 = require("./deepgramSpeechProviderConnection");
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Object.defineProperty(exports, "MICROSOFT_SPEECH_PROVIDER_CONNECTION", { enumerable: true, get: function () { return microsoftSpeechProviderConnection_2.MICROSOFT_SPEECH_PROVIDER_CONNECTION; } });
|
|
14
|
-
var googleSpeechProviderConnection_2 = require("./googleSpeechProviderConnection");
|
|
15
|
-
Object.defineProperty(exports, "GOOGLE_SPEECH_PROVIDER_CONNECTION", { enumerable: true, get: function () { return googleSpeechProviderConnection_2.GOOGLE_SPEECH_PROVIDER_CONNECTION; } });
|
|
13
|
+
Object.defineProperty(exports, "DEEPGRAM_SPEECH_PROVIDER_CONNECTION", { enumerable: true, get: function () { return deepgramSpeechProviderConnection_1.DEEPGRAM_SPEECH_PROVIDER_CONNECTION; } });
|
|
14
|
+
const elevenlabsSpeechProviderConnection_1 = require("./elevenlabsSpeechProviderConnection");
|
|
15
|
+
Object.defineProperty(exports, "ELEVENLABS_SPEECH_PROVIDER_CONNECTION", { enumerable: true, get: function () { return elevenlabsSpeechProviderConnection_1.ELEVENLABS_SPEECH_PROVIDER_CONNECTION; } });
|
|
16
16
|
exports.cognigySpeechProviderModule = (0, createNodeDescriptor_1.createExtension)({
|
|
17
17
|
nodes: [],
|
|
18
18
|
connections: [
|
|
@@ -20,6 +20,7 @@ exports.cognigySpeechProviderModule = (0, createNodeDescriptor_1.createExtension
|
|
|
20
20
|
microsoftSpeechProviderConnection_1.MICROSOFT_SPEECH_PROVIDER_CONNECTION,
|
|
21
21
|
googleSpeechProviderConnection_1.GOOGLE_SPEECH_PROVIDER_CONNECTION,
|
|
22
22
|
deepgramSpeechProviderConnection_1.DEEPGRAM_SPEECH_PROVIDER_CONNECTION,
|
|
23
|
+
elevenlabsSpeechProviderConnection_1.ELEVENLABS_SPEECH_PROVIDER_CONNECTION,
|
|
23
24
|
]
|
|
24
25
|
});
|
|
25
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -157,6 +157,9 @@ if (process.env.DISABLE_FEATURE_TRANSCRIPT_MANAGER !== "true") {
|
|
|
157
157
|
nodes.push(service_1.AI_AGENT_HANDOVER);
|
|
158
158
|
nodes.push(service_1.LOAD_AI_AGENT);
|
|
159
159
|
}
|
|
160
|
+
if (process.env.FEATURE_ENABLE_AI_AGENT_V2_PROTOTYPE === "true") {
|
|
161
|
+
nodes.push(service_1.AI_AGENT_V2);
|
|
162
|
+
}
|
|
160
163
|
if (process.env.FEATURE_USE_COGNIGY_LIVE_AGENT === "true") {
|
|
161
164
|
nodes.push(liveAgent_1.ASSIST_INFO);
|
|
162
165
|
}
|
|
@@ -170,6 +173,7 @@ exports.cognigyBasicModule = (0, createNodeDescriptor_1.createExtension)({
|
|
|
170
173
|
service_1.HTTP_CONNECTION_APIKEYAUTHKEY,
|
|
171
174
|
service_1.HTTP_CONNECTION_APIKEYXKEY,
|
|
172
175
|
service_1.HTTP_CONNECTION_OAUTH2,
|
|
176
|
+
service_1.AI_AGENT_MCP_TOOL_CONNECTION_OAUTH2,
|
|
173
177
|
service_1.JWT_SECRET_CONNECTION,
|
|
174
178
|
service_1.LIVE_AGENT_CONNECTION,
|
|
175
179
|
service_1.RINGCENTRAL_ENGAGE_CONNECTION,
|