@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
|
@@ -155,6 +155,9 @@ const callFailoverSettingsSchema = {
|
|
|
155
155
|
deepgramEndpointing: { type: "boolean" },
|
|
156
156
|
deepgramEndpointingValue: { type: "number" },
|
|
157
157
|
dialTranscribeDeepgramTier: { type: "string" },
|
|
158
|
+
deepgramfluxEndpointing: { type: "boolean" },
|
|
159
|
+
deepgramfluxEndOfTurnThreshold: { type: "number" },
|
|
160
|
+
deepgramfluxEndOfTurnTimeoutMs: { type: "number" },
|
|
158
161
|
mediaPath: { type: "string", enum: [...mediaPathTypes] },
|
|
159
162
|
anchorMedia: { type: "boolean" }
|
|
160
163
|
}
|
|
@@ -118,6 +118,19 @@ exports.actionTypes = [
|
|
|
118
118
|
"loginError",
|
|
119
119
|
"unauthorized",
|
|
120
120
|
"disableCreditCardRedaction",
|
|
121
|
+
"runKnowledgeConnector",
|
|
122
|
+
"createSimulation",
|
|
123
|
+
"updateSimulation",
|
|
124
|
+
"deleteSimulation",
|
|
125
|
+
"scheduleSimulation",
|
|
126
|
+
"cloneSimulation",
|
|
127
|
+
"createScheduler",
|
|
128
|
+
"updateScheduler",
|
|
129
|
+
"deleteScheduler",
|
|
130
|
+
"generatePersonaPackages",
|
|
131
|
+
"regeneratePersonaField",
|
|
132
|
+
"bulkGeneratePersonaPackages",
|
|
133
|
+
"createScenarioFromTranscript",
|
|
121
134
|
];
|
|
122
135
|
exports.auditEventSchema = {
|
|
123
136
|
title: "auditEventSchema",
|
|
@@ -37,6 +37,6 @@ exports.knowledgeSourceSchema = {
|
|
|
37
37
|
title: "knowledgeSourceSchema",
|
|
38
38
|
type: "object",
|
|
39
39
|
additionalProperties: false,
|
|
40
|
-
properties: Object.assign(Object.assign(Object.assign({}, IEntityMeta_1.entityMetaSchema.properties), exports.knowledgeSourceDataSchema.properties), { referenceId: { type: "string", format: "uuid" }, storeReference: { type: "string", format: "mongo-id" }, connectorReference: { type: "string", format: "mongo-id" }, projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" } }),
|
|
40
|
+
properties: Object.assign(Object.assign(Object.assign({}, IEntityMeta_1.entityMetaSchema.properties), exports.knowledgeSourceDataSchema.properties), { referenceId: { type: "string", format: "uuid" }, storeReference: { type: "string", format: "mongo-id" }, connectorReference: { type: ["string", "null"], format: "mongo-id" }, projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" } }),
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=IKnowledgeSource.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.audioPreviewSettingsDataSchema = exports.audioPreviewProviders = void 0;
|
|
4
|
-
exports.audioPreviewProviders = ["microsoft", "google", "aws", "deepgram"];
|
|
4
|
+
exports.audioPreviewProviders = ["microsoft", "google", "aws", "deepgram", "elevenlabs"];
|
|
5
5
|
exports.audioPreviewSettingsDataSchema = {
|
|
6
6
|
title: "audioPreviewSettingsDataSchema",
|
|
7
7
|
type: ["object", "null"],
|
|
@@ -35,6 +35,12 @@ exports.audioPreviewSettingsDataSchema = {
|
|
|
35
35
|
connectionId: { type: ["string", "null"], format: "uuid" }
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
+
elevenlabs: {
|
|
39
|
+
type: "object",
|
|
40
|
+
properties: {
|
|
41
|
+
connectionId: { type: ["string", "null"], format: "uuid" }
|
|
42
|
+
}
|
|
43
|
+
},
|
|
38
44
|
}
|
|
39
45
|
}
|
|
40
46
|
}
|
|
@@ -14,6 +14,8 @@ exports.userDataSchema = {
|
|
|
14
14
|
acceptedTOS: { type: "boolean" },
|
|
15
15
|
disabled: { type: "boolean" },
|
|
16
16
|
roles: { type: "array", additionalItems: false, items: { type: "string", format: "organisation-wide-role" } },
|
|
17
|
+
cxoneEmail: { type: "string", format: "email" },
|
|
18
|
+
cxoneId: { type: "string", format: "uuid" },
|
|
17
19
|
}
|
|
18
20
|
};
|
|
19
21
|
exports.userSchema = {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __rest } from "tslib";
|
|
2
|
+
import { GenericAPIFn } from "../GenericAPIFn";
|
|
3
|
+
import { stringifyQuery } from "../shared/helper/rest";
|
|
4
|
+
export function InsightsAPIGroup_2_1(instance) {
|
|
5
|
+
const self = instance;
|
|
6
|
+
return {
|
|
7
|
+
deleteConversationsBySession_2_1: (_a, options) => {
|
|
8
|
+
var { projectId, sessionId } = _a, restArgs = __rest(_a, ["projectId", "sessionId"]);
|
|
9
|
+
return GenericAPIFn(`/v2.1/conversations/${sessionId}?${stringifyQuery({ projectId })}`, "DELETE", self)(restArgs, options);
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=InsightsAPIGroup_2_1.js.map
|
|
@@ -631,6 +631,7 @@ export const ResourcesAPIGroup_2_0 = (instance) => {
|
|
|
631
631
|
return GenericAPIFn(`/new/v2.0/knowledgestores/${knowledgeStoreId}/connectors/${connectorId}`, "PATCH", self)(args, options);
|
|
632
632
|
},
|
|
633
633
|
deleteKnowledgeConnector: ({ knowledgeStoreId, connectorId }, options) => GenericAPIFn(`/new/v2.0/knowledgestores/${knowledgeStoreId}/connectors/${connectorId}`, "DELETE", self)(undefined, options),
|
|
634
|
+
runKnowledgeConnector: ({ knowledgeStoreId, connectorId }, options) => GenericAPIFn(`/new/v2.0/knowledgestores/${knowledgeStoreId}/connectors/${connectorId}/run`, "POST", self)(undefined, options),
|
|
634
635
|
uploadResumable: (args) => GenericTusFn("/new/v2.0/uploads", self)(args),
|
|
635
636
|
generateNluScores: (_a) => {
|
|
636
637
|
var { projectId } = _a, args = __rest(_a, ["projectId"]);
|
|
@@ -4,67 +4,68 @@ import { stringifyQuery } from "../shared/helper/rest/query";
|
|
|
4
4
|
export function SimulationAPIGroup_2_0(instance) {
|
|
5
5
|
const self = instance;
|
|
6
6
|
return {
|
|
7
|
-
indexSimulations: (args, options) => GenericAPIFn(`/testing/
|
|
8
|
-
createSimulation: (args, options) => GenericAPIFn("/testing/
|
|
7
|
+
indexSimulations: (args, options) => GenericAPIFn(`/testing/simulations?${stringifyQuery(args)}`, "GET", self)(undefined, options),
|
|
8
|
+
createSimulation: (args, options) => GenericAPIFn("/testing/simulations", "POST", self)(args, options),
|
|
9
9
|
updateSimulation: (_a, options) => {
|
|
10
10
|
var { simulationReference, projectId } = _a, args = __rest(_a, ["simulationReference", "projectId"]);
|
|
11
|
-
return GenericAPIFn(`/testing/
|
|
11
|
+
return GenericAPIFn(`/testing/simulations/${simulationReference}?${stringifyQuery({
|
|
12
12
|
projectId
|
|
13
13
|
})}`, "PATCH", self)(args, options);
|
|
14
14
|
},
|
|
15
|
-
deleteSimulation: ({ simulationReference, projectId }, options) => GenericAPIFn(`/testing/
|
|
15
|
+
deleteSimulation: ({ simulationReference, projectId }, options) => GenericAPIFn(`/testing/simulations/${simulationReference}?${stringifyQuery({
|
|
16
16
|
projectId
|
|
17
17
|
})}`, "DELETE", self)(undefined, options),
|
|
18
|
-
readSimulation: ({ simulationReference, projectId }, options) => GenericAPIFn(`/testing/
|
|
18
|
+
readSimulation: ({ simulationReference, projectId }, options) => GenericAPIFn(`/testing/simulations/${simulationReference}?${stringifyQuery({
|
|
19
19
|
projectId
|
|
20
20
|
})}`, "GET", self)(undefined, options),
|
|
21
21
|
scheduleSimulation: (_a, options) => {
|
|
22
22
|
var { simulationReference } = _a, args = __rest(_a, ["simulationReference"]);
|
|
23
|
-
return GenericAPIFn(`/testing/
|
|
23
|
+
return GenericAPIFn(`/testing/simulations/${simulationReference}/schedule`, "POST", self)(args, options);
|
|
24
24
|
},
|
|
25
25
|
cloneSimulation: (_a, options) => {
|
|
26
26
|
var { simulationReference } = _a, args = __rest(_a, ["simulationReference"]);
|
|
27
|
-
return GenericAPIFn(`/testing/
|
|
27
|
+
return GenericAPIFn(`/testing/simulations/${simulationReference}/clone`, "POST", self)(args, options);
|
|
28
28
|
},
|
|
29
|
-
indexSimulationRunBatches: (args, options) => GenericAPIFn(`/testing/
|
|
29
|
+
indexSimulationRunBatches: (args, options) => GenericAPIFn(`/testing/simulations/batches?${stringifyQuery(args)}`, "GET", self)(undefined, options),
|
|
30
30
|
getAllSimulationRunBatches: (_a, options) => {
|
|
31
31
|
var { simulationReference } = _a, args = __rest(_a, ["simulationReference"]);
|
|
32
|
-
return GenericAPIFn(`/testing/
|
|
32
|
+
return GenericAPIFn(`/testing/simulations/${simulationReference}/batches?${stringifyQuery(args)}`, "GET", self)(undefined, options);
|
|
33
33
|
},
|
|
34
34
|
readSimulationRunBatch: (_a, options) => {
|
|
35
35
|
var { simulationReference, simulationRunBatchReference } = _a, args = __rest(_a, ["simulationReference", "simulationRunBatchReference"]);
|
|
36
|
-
return GenericAPIFn(`/testing/
|
|
36
|
+
return GenericAPIFn(`/testing/simulations/${simulationReference}/batches/${simulationRunBatchReference}?${stringifyQuery(args)}`, "GET", self)(undefined, options);
|
|
37
37
|
},
|
|
38
38
|
stopSimulationRunBatch: (_a, options) => {
|
|
39
39
|
var { simulationReference, simulationRunBatchReference } = _a, args = __rest(_a, ["simulationReference", "simulationRunBatchReference"]);
|
|
40
|
-
return GenericAPIFn(`/testing/
|
|
40
|
+
return GenericAPIFn(`/testing/simulations/${simulationReference}/batches/${simulationRunBatchReference}/stop?${stringifyQuery(args)}`, "POST", self)(undefined, options);
|
|
41
41
|
},
|
|
42
42
|
indexSimulationRuns: (_a, options) => {
|
|
43
43
|
var { simulationReference, simulationRunBatchReference } = _a, args = __rest(_a, ["simulationReference", "simulationRunBatchReference"]);
|
|
44
|
-
return GenericAPIFn(`/testing/
|
|
44
|
+
return GenericAPIFn(`/testing/simulations/${simulationReference}/batches/${simulationRunBatchReference}/runs?${stringifyQuery(args)}`, "GET", self)(undefined, options);
|
|
45
45
|
},
|
|
46
46
|
readSimulationRun: (_a, options) => {
|
|
47
47
|
var { simulationReference, simulationRunBatchReference, simulationRunReference } = _a, args = __rest(_a, ["simulationReference", "simulationRunBatchReference", "simulationRunReference"]);
|
|
48
|
-
return GenericAPIFn(`/testing/
|
|
48
|
+
return GenericAPIFn(`/testing/simulations/${simulationReference}/batches/${simulationRunBatchReference}/runs/${simulationRunReference}?${stringifyQuery(args)}`, "GET", self)(undefined, options);
|
|
49
49
|
},
|
|
50
|
-
getPersonaOptions: (args, options) => GenericAPIFn("/testing/
|
|
51
|
-
generatePersona: (args, options) => GenericAPIFn("/testing/
|
|
52
|
-
regeneratePersonaField: (args, options) => GenericAPIFn("/testing/
|
|
53
|
-
generateBulkPersona: (args, options) => GenericAPIFn("/testing/
|
|
54
|
-
generatePersonaFromTranscript: (args, options) => GenericAPIFn("/testing/
|
|
50
|
+
getPersonaOptions: (args, options) => GenericAPIFn("/testing/personas/options", "POST", self)(args, options),
|
|
51
|
+
generatePersona: (args, options) => GenericAPIFn("/testing/personas/generate", "POST", self)(args, options),
|
|
52
|
+
regeneratePersonaField: (args, options) => GenericAPIFn("/testing/personas/regenerate-field", "POST", self)(args, options),
|
|
53
|
+
generateBulkPersona: (args, options) => GenericAPIFn("/testing/personas/generate-bulk", "POST", self)(args, options),
|
|
54
|
+
generatePersonaFromTranscript: (args, options) => GenericAPIFn("/testing/personas/from-transcript", "POST", self)(args, options),
|
|
55
|
+
getSimulationOverviewMetrics: (args, options) => GenericAPIFn(`/testing/dashboard/overview?${stringifyQuery(args)}`, "GET", self)(args, options),
|
|
56
|
+
getSuccessRateTrend: (args, options) => GenericAPIFn(`/testing/dashboard/success-rate-trend?${stringifyQuery(args)}`, "GET", self)(args, options),
|
|
57
|
+
getUpcomingScheduledRuns: (args, options) => GenericAPIFn(`/testing/dashboard/upcoming-scheduled-runs?${stringifyQuery(args)}`, "GET", self)(undefined, options),
|
|
55
58
|
getScheduler: (_a, options) => {
|
|
56
59
|
var { simulationReference } = _a, args = __rest(_a, ["simulationReference"]);
|
|
57
|
-
return GenericAPIFn(`/testing/
|
|
60
|
+
return GenericAPIFn(`/testing/simulations/${simulationReference}/schedules?${stringifyQuery(args)}`, "GET", self)(args, options);
|
|
58
61
|
},
|
|
59
62
|
createScheduler: (_a, options) => {
|
|
60
63
|
var { simulationReference } = _a, args = __rest(_a, ["simulationReference"]);
|
|
61
|
-
return GenericAPIFn(`/testing/
|
|
64
|
+
return GenericAPIFn(`/testing/simulations/${simulationReference}/schedules`, "POST", self)(args, options);
|
|
62
65
|
},
|
|
63
66
|
updateScheduler: (_a, options) => {
|
|
64
67
|
var { simulationReference, schedulerId, projectId } = _a, args = __rest(_a, ["simulationReference", "schedulerId", "projectId"]);
|
|
65
|
-
return GenericAPIFn(`/testing/
|
|
66
|
-
projectId
|
|
67
|
-
})}`, "PATCH", self)(args, options);
|
|
68
|
+
return GenericAPIFn(`/testing/simulations/${simulationReference}/schedules/${schedulerId}?${stringifyQuery({ projectId })}`, "PATCH", self)(args, options);
|
|
68
69
|
}
|
|
69
70
|
};
|
|
70
71
|
}
|
|
@@ -3,6 +3,7 @@ export { AdministrationAPIGroup_2_0 } from "./AdministrationAPIGroup_2_0";
|
|
|
3
3
|
export { AdministrationAPIGroup_2_1 } from "./AdministrationAPIGroup_2_1";
|
|
4
4
|
export { ExternalAPIGroup_2_0 } from "./ExternalAPIGroup_2_0";
|
|
5
5
|
export { InsightsAPIGroup_2_0 } from "./InsightsAPIGroup_2_0";
|
|
6
|
+
export { InsightsAPIGroup_2_1 } from "./InsightsAPIGroup_2_1";
|
|
6
7
|
export { JWTAuthAPIGroup_2_0 } from "./JWTAuthAPIGroup_2_0";
|
|
7
8
|
export { MetricsAPIGroup_2_0 } from "./MetricsAPIGroup_2_0";
|
|
8
9
|
export { ManagementAPIGroup_2_0 } from "./ManagementAPIGroup_2_0";
|
|
@@ -5,6 +5,8 @@ import { EMAIL_NOTIFICATION } from "./emailNotification";
|
|
|
5
5
|
import { SMTP_CONNECTION } from "./smtpConnection";
|
|
6
6
|
import { EMAIL_SERVICE_CONNECTION } from "./serviceConnection";
|
|
7
7
|
import { EMAIL_SERVICE_OAUTH2_CONNECTION } from "./oAuth2Connection";
|
|
8
|
+
import { EMAIL_SERVICE_OAUTH2_CLIENT_CREDENTIALS_CONNECTION } from "./oAuth2ClientCredentialsConnection";
|
|
9
|
+
import { EMAIL_SERVICE_OAUTH2_JWT_BEARER_CONNECTION } from "./oAuth2JwtBearerConnection";
|
|
8
10
|
export const cognigySMTPModule = createExtension({
|
|
9
11
|
nodes: [
|
|
10
12
|
SEND_EMAIL,
|
|
@@ -13,7 +15,9 @@ export const cognigySMTPModule = createExtension({
|
|
|
13
15
|
connections: [
|
|
14
16
|
SMTP_CONNECTION,
|
|
15
17
|
EMAIL_SERVICE_CONNECTION,
|
|
16
|
-
EMAIL_SERVICE_OAUTH2_CONNECTION
|
|
18
|
+
EMAIL_SERVICE_OAUTH2_CONNECTION,
|
|
19
|
+
EMAIL_SERVICE_OAUTH2_CLIENT_CREDENTIALS_CONNECTION,
|
|
20
|
+
EMAIL_SERVICE_OAUTH2_JWT_BEARER_CONNECTION
|
|
17
21
|
]
|
|
18
22
|
});
|
|
19
23
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/oAuth2ClientCredentialsConnection.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const EMAIL_SERVICE_OAUTH2_CLIENT_CREDENTIALS_CONNECTION = {
|
|
2
|
+
type: "email_oauth2_client_credentials",
|
|
3
|
+
label: "UI__NODE_EDITOR__SMTP__EMAIL_SERVICE_OAUTH2_CLIENT_CREDENTIALS_CONNECTION__LABEL",
|
|
4
|
+
fields: [
|
|
5
|
+
{ fieldName: "tokenEndpointUrl", label: "UI__CONNECTION_EDITOR__FIELD_TOKEN_ENDPOINT_URL" },
|
|
6
|
+
{ fieldName: "clientId", label: "UI__CONNECTION_EDITOR__FIELD_CLIENT_ID" },
|
|
7
|
+
{ fieldName: "clientSecret", label: "UI__CONNECTION_EDITOR__FIELD_CLIENT_SECRET" },
|
|
8
|
+
{ fieldName: "scope", required: false, label: "UI__CONNECTION_EDITOR__FIELD_SCOPE" },
|
|
9
|
+
{ fieldName: "user", label: "UI__CONNECTION_EDITOR__FIELD_USER" }
|
|
10
|
+
]
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=oAuth2ClientCredentialsConnection.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const EMAIL_SERVICE_OAUTH2_JWT_BEARER_CONNECTION = {
|
|
2
|
+
type: "email_oauth2_jwt_bearer",
|
|
3
|
+
label: "UI__NODE_EDITOR__SMTP__EMAIL_SERVICE_OAUTH2_JWT_BEARER_CONNECTION__LABEL",
|
|
4
|
+
fields: [
|
|
5
|
+
{ fieldName: "tokenEndpointUrl", label: "UI__CONNECTION_EDITOR__FIELD_TOKEN_ENDPOINT_URL" },
|
|
6
|
+
{ fieldName: "jwt", label: "UI__CONNECTION_EDITOR__FIELD_JWT" },
|
|
7
|
+
{ fieldName: "user", label: "UI__CONNECTION_EDITOR__FIELD_USER" }
|
|
8
|
+
]
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=oAuth2JwtBearerConnection.js.map
|
|
@@ -58,7 +58,7 @@ export const SEND_EMAIL = createNodeDescriptor({
|
|
|
58
58
|
{ label: "Yandex", value: "Yandex" },
|
|
59
59
|
{ label: "Zoho", value: "Zoho" },
|
|
60
60
|
{ label: "qiye.aliyun", value: "qiye.aliyun" },
|
|
61
|
-
{ label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__SMTP_TYPE__OTHER_SMTP__LABEL", value: "otherSmtp" }
|
|
61
|
+
{ label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__SMTP_TYPE__OTHER_SMTP__LABEL", value: "otherSmtp" }
|
|
62
62
|
]
|
|
63
63
|
}
|
|
64
64
|
},
|
|
@@ -104,6 +104,16 @@ export const SEND_EMAIL = createNodeDescriptor({
|
|
|
104
104
|
label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__AUTH_TYPE__OAUTH2__LABEL",
|
|
105
105
|
value: "oauth2"
|
|
106
106
|
},
|
|
107
|
+
{
|
|
108
|
+
label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__AUTH_TYPE__OAUTH2_CLIENT_CREDENTIALS__LABEL",
|
|
109
|
+
value: "oauth2_client_credentials"
|
|
110
|
+
},
|
|
111
|
+
/* this option is hidden for now, should be enabled with story 122156 (SMTP Node: Enable "OAuth JWT Bearer" option)
|
|
112
|
+
{
|
|
113
|
+
label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__AUTH_TYPE__OAUTH2_JWT_BEARER__LABEL",
|
|
114
|
+
value: "oauth2_jwt_bearer"
|
|
115
|
+
}
|
|
116
|
+
*/
|
|
107
117
|
]
|
|
108
118
|
}
|
|
109
119
|
},
|
|
@@ -131,6 +141,30 @@ export const SEND_EMAIL = createNodeDescriptor({
|
|
|
131
141
|
value: "oauth2"
|
|
132
142
|
}
|
|
133
143
|
},
|
|
144
|
+
{
|
|
145
|
+
key: "oAuth2ClientCredentialsConnection",
|
|
146
|
+
type: "connection",
|
|
147
|
+
label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__OAUTH2_CLIENT_CREDENTIALS_CONNECTION__LABEL",
|
|
148
|
+
params: {
|
|
149
|
+
connectionType: "email_oauth2_client_credentials"
|
|
150
|
+
},
|
|
151
|
+
condition: {
|
|
152
|
+
key: "authType",
|
|
153
|
+
value: "oauth2_client_credentials"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
key: "oAuth2JwtBearerConnection",
|
|
158
|
+
type: "connection",
|
|
159
|
+
label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__OAUTH2_JWT_BEARER_CONNECTION__LABEL",
|
|
160
|
+
params: {
|
|
161
|
+
connectionType: "email_oauth2_jwt_bearer"
|
|
162
|
+
},
|
|
163
|
+
condition: {
|
|
164
|
+
key: "authType",
|
|
165
|
+
value: "oauth2_jwt_bearer"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
134
168
|
{
|
|
135
169
|
key: "serviceWarning",
|
|
136
170
|
type: "description",
|
|
@@ -251,7 +285,7 @@ export const SEND_EMAIL = createNodeDescriptor({
|
|
|
251
285
|
{ label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__ATTACHMENT_TYPE__URL__LABEL", value: "url" },
|
|
252
286
|
{ label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__ATTACHMENT_TYPE__BASE64__LABEL", value: "base64" },
|
|
253
287
|
{ label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__ATTACHMENT_TYPE__CUSTOM__LABEL", value: "custom" },
|
|
254
|
-
{ label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__ATTACHMENT_TYPE__ROW__LABEL", value: "raw" }
|
|
288
|
+
{ label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__ATTACHMENT_TYPE__ROW__LABEL", value: "raw" }
|
|
255
289
|
]
|
|
256
290
|
}
|
|
257
291
|
},
|
|
@@ -334,7 +368,7 @@ export const SEND_EMAIL = createNodeDescriptor({
|
|
|
334
368
|
{
|
|
335
369
|
"key": "attachmentType",
|
|
336
370
|
"value": "custom"
|
|
337
|
-
}
|
|
371
|
+
}
|
|
338
372
|
]
|
|
339
373
|
}
|
|
340
374
|
},
|
|
@@ -383,7 +417,7 @@ Hello world!`,
|
|
|
383
417
|
label: "UI__NODE_EDITOR__SMTP__SEND_EMAIL__STORE_LOCATION__CONTEXT__LABEL",
|
|
384
418
|
value: "context"
|
|
385
419
|
}
|
|
386
|
-
]
|
|
420
|
+
]
|
|
387
421
|
},
|
|
388
422
|
defaultValue: "none"
|
|
389
423
|
},
|
|
@@ -394,7 +428,7 @@ Hello world!`,
|
|
|
394
428
|
defaultValue: "email",
|
|
395
429
|
condition: {
|
|
396
430
|
key: "storeLocation",
|
|
397
|
-
value: "input"
|
|
431
|
+
value: "input"
|
|
398
432
|
}
|
|
399
433
|
},
|
|
400
434
|
{
|
|
@@ -404,7 +438,7 @@ Hello world!`,
|
|
|
404
438
|
defaultValue: "email",
|
|
405
439
|
condition: {
|
|
406
440
|
key: "storeLocation",
|
|
407
|
-
value: "context"
|
|
441
|
+
value: "context"
|
|
408
442
|
}
|
|
409
443
|
},
|
|
410
444
|
{
|
|
@@ -438,6 +472,8 @@ Hello world!`,
|
|
|
438
472
|
"authType",
|
|
439
473
|
"serviceConnection",
|
|
440
474
|
"oAuth2Connection",
|
|
475
|
+
"oAuth2ClientCredentialsConnection",
|
|
476
|
+
"oAuth2JwtBearerConnection"
|
|
441
477
|
]
|
|
442
478
|
},
|
|
443
479
|
{
|
|
@@ -464,7 +500,7 @@ Hello world!`,
|
|
|
464
500
|
"contextKey",
|
|
465
501
|
"stopOnError"
|
|
466
502
|
]
|
|
467
|
-
}
|
|
503
|
+
}
|
|
468
504
|
],
|
|
469
505
|
form: [
|
|
470
506
|
{ key: "smtpType", type: "field" },
|
|
@@ -486,8 +522,8 @@ Hello world!`,
|
|
|
486
522
|
tags: ["data", "service", "mail", "email"],
|
|
487
523
|
function: ({ cognigy, config, nodeId, nodeType, organisationId, projectId, childConfigs }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
488
524
|
const { api } = cognigy;
|
|
489
|
-
const { connection, serviceConnection, oAuth2Connection, recipient, message, storeLocation, inputKey, contextKey, stopOnError } = config;
|
|
490
|
-
if (!connection && !serviceConnection && !oAuth2Connection) {
|
|
525
|
+
const { connection, serviceConnection, oAuth2Connection, oAuth2ClientCredentialsConnection, oAuth2JwtBearerConnection, recipient, message, storeLocation, inputKey, contextKey, stopOnError } = config;
|
|
526
|
+
if (!connection && !serviceConnection && !oAuth2Connection && !oAuth2ClientCredentialsConnection && !oAuth2JwtBearerConnection) {
|
|
491
527
|
throw new InvalidArgumentError("A Connection has to be selected");
|
|
492
528
|
}
|
|
493
529
|
if (!recipient) {
|
|
@@ -503,7 +539,15 @@ Hello world!`,
|
|
|
503
539
|
throw new InvalidArgumentError("An input key has to be specified");
|
|
504
540
|
}
|
|
505
541
|
try {
|
|
506
|
-
const result = yield api.sendEmail({
|
|
542
|
+
const result = yield api.sendEmail({
|
|
543
|
+
cognigy,
|
|
544
|
+
config,
|
|
545
|
+
nodeId,
|
|
546
|
+
nodeType,
|
|
547
|
+
organisationId,
|
|
548
|
+
projectId,
|
|
549
|
+
childConfigs
|
|
550
|
+
});
|
|
507
551
|
switch (storeLocation) {
|
|
508
552
|
case "context":
|
|
509
553
|
api.deleteContext(contextKey);
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export const ELEVENLABS_SPEECH_PROVIDER_CONNECTION = {
|
|
2
|
+
type: "ElevenLabsSpeechProvider",
|
|
3
|
+
label: "UI__NODE_EDITOR__ELEVENLABS_SPEECH_PROVIDER__LABEL",
|
|
4
|
+
fields: [
|
|
5
|
+
{ fieldName: "apiKey", label: "UI__CONNECTION_EDITOR__FIELD_API_KEY" },
|
|
6
|
+
{
|
|
7
|
+
fieldName: "region", required: false, label: "UI__CONNECTION_EDITOR__FIELD_REGION", description: "UI__CONNECTION_EDITOR__FIELD_REGION__ELEVENLABS_DESCRIPTION",
|
|
8
|
+
params: {
|
|
9
|
+
fieldType: "select",
|
|
10
|
+
options: [
|
|
11
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_REGION__OPTIONS__GLOBAL__LABEL", value: "global" },
|
|
12
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_REGION__OPTIONS__EUROPE__LABEL", value: "europe" },
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
fieldName: "ttsModel",
|
|
18
|
+
label: "UI__CONNECTION_EDITOR__FIELD_TTS_MODEL__LABEL",
|
|
19
|
+
description: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__DESCRIPTION",
|
|
20
|
+
params: {
|
|
21
|
+
fieldType: "select",
|
|
22
|
+
options: [
|
|
23
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_MULTILINGUAL_V2__LABEL", value: "eleven_multilingual_v2" },
|
|
24
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_MULTILINGUAL_V1__LABEL", value: "eleven_multilingual_v1" },
|
|
25
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_MONOLINGUAL_V1__LABEL", value: "eleven_monolingual_v1" },
|
|
26
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_ENGLISH_STS_V2__LABEL", value: "eleven_english_sts_v2" },
|
|
27
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_TURBO_V2__LABEL", value: "eleven_turbo_v2" },
|
|
28
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_TURBO_V2_5__LABEL", value: "eleven_turbo_v2_5" },
|
|
29
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_FLASH_V2__LABEL", value: "eleven_flash_v2" },
|
|
30
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_TTS_MODEL__OPTIONS__ELEVEN_FLASH_V2_5__LABEL", value: "eleven_flash_v2_5" },
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
fieldName: "sttModel",
|
|
36
|
+
label: "UI__CONNECTION_EDITOR__FIELD_STT_MODEL__LABEL",
|
|
37
|
+
description: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_STT_MODEL__DESCRIPTION",
|
|
38
|
+
params: {
|
|
39
|
+
fieldType: "select",
|
|
40
|
+
options: [
|
|
41
|
+
// { label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_STT_MODEL__OPTIONS__SCRIBE_V1__LABEL", value: "scribe_v1" },
|
|
42
|
+
// { label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_STT_MODEL__OPTIONS__SCRIBE_V1_EXPERIMENTAL__LABEL", value: "scribe_v1_experimental" },
|
|
43
|
+
{ label: "UI__CONNECTION_EDITOR__ELEVENLABS_SPEECH_PROVIDER__FIELD_STT_MODEL__OPTIONS__SCRIBE_V2_REALTIME__LABEL", value: "scribe_v2_realtime" },
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=elevenlabsSpeechProviderConnection.js.map
|
|
@@ -4,9 +4,7 @@ import { AWS_SPEECH_PROVIDER_CONNECTION } from "./awsSpeechProviderConnection";
|
|
|
4
4
|
import { MICROSOFT_SPEECH_PROVIDER_CONNECTION } from "./microsoftSpeechProviderConnection";
|
|
5
5
|
import { GOOGLE_SPEECH_PROVIDER_CONNECTION } from "./googleSpeechProviderConnection";
|
|
6
6
|
import { DEEPGRAM_SPEECH_PROVIDER_CONNECTION } from "./deepgramSpeechProviderConnection";
|
|
7
|
-
|
|
8
|
-
export { MICROSOFT_SPEECH_PROVIDER_CONNECTION } from "./microsoftSpeechProviderConnection";
|
|
9
|
-
export { GOOGLE_SPEECH_PROVIDER_CONNECTION } from "./googleSpeechProviderConnection";
|
|
7
|
+
import { ELEVENLABS_SPEECH_PROVIDER_CONNECTION } from "./elevenlabsSpeechProviderConnection";
|
|
10
8
|
export const cognigySpeechProviderModule = createExtension({
|
|
11
9
|
nodes: [],
|
|
12
10
|
connections: [
|
|
@@ -14,6 +12,8 @@ export const cognigySpeechProviderModule = createExtension({
|
|
|
14
12
|
MICROSOFT_SPEECH_PROVIDER_CONNECTION,
|
|
15
13
|
GOOGLE_SPEECH_PROVIDER_CONNECTION,
|
|
16
14
|
DEEPGRAM_SPEECH_PROVIDER_CONNECTION,
|
|
15
|
+
ELEVENLABS_SPEECH_PROVIDER_CONNECTION,
|
|
17
16
|
]
|
|
18
17
|
});
|
|
18
|
+
export { AWS_SPEECH_PROVIDER_CONNECTION, MICROSOFT_SPEECH_PROVIDER_CONNECTION, GOOGLE_SPEECH_PROVIDER_CONNECTION, DEEPGRAM_SPEECH_PROVIDER_CONNECTION, ELEVENLABS_SPEECH_PROVIDER_CONNECTION, };
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -11,7 +11,7 @@ import { REGEX_SLOT_FILLER, EXECUTE_COGNIGY_NLU, ADD_LEXICON_KEYPHRASE, FUZZY_SE
|
|
|
11
11
|
import { KNOWLEDGE_SEARCH, KNOWLEDGE_SEARCH_V2, SEARCH_EXTRACT_OUTPUT } from "./knowledgeSearch";
|
|
12
12
|
import { CONTINUOUS_ASR, DTMF, HANG_UP, PLAY, TRANSFER_VOICE, SESSION_SPEECH_PARAMETERS, USER_INPUT_TIMEOUT, SEND_METADATA, BARGE_IN, MUTE_SPEECH_INPUT, } from "./voice";
|
|
13
13
|
import { ACTIVATE_PROFILE, COMPLETE_GOAL, DEACTIVATE_PROFILE, DELETE_PROFILE, MERGE_PROFILE, UPDATE_PROFILE, ADD_MEMORY, BLIND_MODE, OVERWRITE_ANALYTICS, SET_RATING, REQUEST_RATING, TRACK_GOAL, } from "./analytics";
|
|
14
|
-
import { HANDOVER, HANDOVER_V2, CHECK_AGENT_AVAILABILITY, HTTP_REQUEST, HTTP_CONNECTION_BASIC, HTTP_CONNECTION_APIKEYAUTHKEY, HTTP_CONNECTION_APIKEYXKEY, HTTP_CONNECTION_OAUTH2, JWT_SECRET_CONNECTION, TRIGGER_FUNCTION, ON_SCHEDULING_ERROR, ON_SCHEDULED, GPT_PROMPT, LLM_PROMPT_V2, LLM_PROMPT_DEFAULT, LLM_PROMPT_MCP_TOOL, LLM_PROMPT_TOOL, CLOSE_HANDOVER, HANDOVER_INACTIVITY_TIMER, GPT_CONVERSATION, GPT_CONVERSATION_SUMMARY, LLM_ENTITY_EXTRACT, AI_AGENT_JOB, AI_AGENT_JOB_DEFAULT, AI_AGENT_JOB_TOOL, AI_AGENT_JOB_MCP_TOOL, AI_AGENT_JOB_CALL_MCP_TOOL, AI_AGENT_TOOL_ANSWER, KNOWLEDGE_TOOL, HANDOVER_TO_AI_AGENT_TOOL, HANDOVER_TO_HUMAN_AGENT_TOOL, SEND_EMAIL_TOOL, EXECUTE_WORKFLOW_TOOL, AI_AGENT_HANDOVER, LIVE_AGENT_CONNECTION, RINGCENTRAL_ENGAGE_CONNECTION, CHATWOOT_CONNECTION, EIGHT_BY_EIGHT_CONNECTION, GENESYS_CLOUD_CONNECTION, GENESYS_CLOUD_CONNECTION_OM, LLM_MODERATE, NICECXONEAAH_AUTHENTICATION_CONNECTION, LOAD_AI_AGENT, AIOPS_CENTER_WEBHOOKS_CONNECTION, STORM_CONNECTION, } from "./service";
|
|
14
|
+
import { HANDOVER, HANDOVER_V2, CHECK_AGENT_AVAILABILITY, HTTP_REQUEST, HTTP_CONNECTION_BASIC, HTTP_CONNECTION_APIKEYAUTHKEY, HTTP_CONNECTION_APIKEYXKEY, HTTP_CONNECTION_OAUTH2, AI_AGENT_MCP_TOOL_CONNECTION_OAUTH2, JWT_SECRET_CONNECTION, TRIGGER_FUNCTION, ON_SCHEDULING_ERROR, ON_SCHEDULED, GPT_PROMPT, LLM_PROMPT_V2, LLM_PROMPT_DEFAULT, LLM_PROMPT_MCP_TOOL, LLM_PROMPT_TOOL, CLOSE_HANDOVER, HANDOVER_INACTIVITY_TIMER, GPT_CONVERSATION, GPT_CONVERSATION_SUMMARY, LLM_ENTITY_EXTRACT, AI_AGENT_JOB, AI_AGENT_JOB_DEFAULT, AI_AGENT_JOB_TOOL, AI_AGENT_JOB_MCP_TOOL, AI_AGENT_JOB_CALL_MCP_TOOL, AI_AGENT_TOOL_ANSWER, KNOWLEDGE_TOOL, HANDOVER_TO_AI_AGENT_TOOL, HANDOVER_TO_HUMAN_AGENT_TOOL, SEND_EMAIL_TOOL, EXECUTE_WORKFLOW_TOOL, AI_AGENT_HANDOVER, LIVE_AGENT_CONNECTION, RINGCENTRAL_ENGAGE_CONNECTION, CHATWOOT_CONNECTION, EIGHT_BY_EIGHT_CONNECTION, GENESYS_CLOUD_CONNECTION, GENESYS_CLOUD_CONNECTION_OM, LLM_MODERATE, NICECXONEAAH_AUTHENTICATION_CONNECTION, LOAD_AI_AGENT, AIOPS_CENTER_WEBHOOKS_CONNECTION, STORM_CONNECTION, AI_AGENT_V2, } from "./service";
|
|
15
15
|
import { INIT_APP_SESSION, GET_APP_SESSION_PIN, SET_HTML_APP_STATE, SET_ADAPTIVE_CARD_APP_STATE, } from "./apps";
|
|
16
16
|
import { SET_IFRAME_TILE, SET_HTML_TILE, SEND_TILE_DATA, SET_SECURE_FORMS_TILE, SET_ADAPTIVE_CARD_TILE, SET_AGENT_ASSIST_GRID, NEXT_ACTION_ASSIST, SENTIMENT_ASSIST, TRANSCRIPT_ASSIST, IDENTITY_ASSIST, KNOWLEDGE_ASSIST, } from "./agentAssist";
|
|
17
17
|
import { ASSIST_INFO } from "./liveAgent";
|
|
@@ -154,6 +154,9 @@ if (process.env.DISABLE_FEATURE_TRANSCRIPT_MANAGER !== "true") {
|
|
|
154
154
|
nodes.push(AI_AGENT_HANDOVER);
|
|
155
155
|
nodes.push(LOAD_AI_AGENT);
|
|
156
156
|
}
|
|
157
|
+
if (process.env.FEATURE_ENABLE_AI_AGENT_V2_PROTOTYPE === "true") {
|
|
158
|
+
nodes.push(AI_AGENT_V2);
|
|
159
|
+
}
|
|
157
160
|
if (process.env.FEATURE_USE_COGNIGY_LIVE_AGENT === "true") {
|
|
158
161
|
nodes.push(ASSIST_INFO);
|
|
159
162
|
}
|
|
@@ -167,6 +170,7 @@ export const cognigyBasicModule = createExtension({
|
|
|
167
170
|
HTTP_CONNECTION_APIKEYAUTHKEY,
|
|
168
171
|
HTTP_CONNECTION_APIKEYXKEY,
|
|
169
172
|
HTTP_CONNECTION_OAUTH2,
|
|
173
|
+
AI_AGENT_MCP_TOOL_CONNECTION_OAUTH2,
|
|
170
174
|
JWT_SECRET_CONNECTION,
|
|
171
175
|
LIVE_AGENT_CONNECTION,
|
|
172
176
|
RINGCENTRAL_ENGAGE_CONNECTION,
|