@cognigy/rest-api-client 2025.25.0 → 2026.2.0-rc1
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 +10 -0
- package/README.md +15 -0
- package/build/apigroups/InsightsAPIGroup_2_1.js +27 -0
- package/build/apigroups/ResourcesAPIGroup_2_0.js +140 -375
- package/build/apigroups/SimulationAPIGroup_2_0.js +33 -18
- package/build/apigroups/aiAgentsV2/agent.js +3 -0
- package/build/apigroups/aiAgentsV2/agentAPI.js +38 -0
- package/build/apigroups/aiAgentsV2/agentPersona.js +3 -0
- package/build/apigroups/aiAgentsV2/agentPersonaAPI.js +38 -0
- package/build/apigroups/aiAgentsV2/tool.js +3 -0
- package/build/apigroups/aiAgentsV2/toolAPI.js +35 -0
- package/build/apigroups/aiAgentsV2/toolDescriptor.js +3 -0
- package/build/apigroups/aiAgentsV2/toolDescriptorAPI.js +13 -0
- package/build/apigroups/index.js +3 -1
- package/build/authentication/AuthenticationAPI.js +1 -0
- package/build/shared/charts/createNodeDescriptor.js +1 -0
- package/build/shared/charts/descriptors/analytics/overwriteAnalytics.js +14 -0
- package/build/shared/charts/descriptors/analytics/updateProfile.js +5 -0
- package/build/shared/charts/descriptors/connectionNodes/smtp/emailNotification.js +7 -0
- 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 +63 -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 +6 -0
- package/build/shared/charts/descriptors/message/question/question.js +254 -59
- package/build/shared/charts/descriptors/message/say.js +3 -0
- package/build/shared/charts/descriptors/service/agentTools/executeWorkflowTool.js +239 -0
- package/build/shared/charts/descriptors/service/agentTools/handoverToHumanAgentTool.js +783 -0
- package/build/shared/charts/descriptors/service/agentTools/sendEmailTool.js +33 -4
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +25 -20
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJobCallMCPTool.js +10 -6
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJobMCPTool.js +57 -1
- package/build/shared/charts/descriptors/service/aiAgent/helpers/createToolDefinitions.js +10 -1
- package/build/shared/charts/descriptors/service/aiAgent/helpers/parseMcpHeaders.js +26 -0
- package/build/shared/charts/descriptors/service/aiAgentV2.js +89 -0
- package/build/shared/charts/descriptors/service/handoverV2.js +1 -1
- package/build/shared/charts/descriptors/service/httpRequest.js +3 -0
- package/build/shared/charts/descriptors/service/index.js +9 -1
- package/build/shared/charts/descriptors/service/llmPrompt/LLMPromptV2.js +26 -17
- package/build/shared/charts/descriptors/service/llmPrompt/llmPromptMCPTool.js +57 -1
- package/build/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +75 -15
- package/build/shared/charts/descriptors/voice/mappers/transfer.mapper.js +27 -5
- package/build/shared/charts/descriptors/voice/nodes/sessionSpeechParameters.js +67 -2
- package/build/shared/charts/descriptors/voicegateway2/nodes/play.js +7 -0
- package/build/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +149 -4
- package/build/shared/charts/descriptors/voicegateway2/nodes/transfer.js +137 -4
- package/build/shared/errors/ErrorCode.js +2 -1
- package/build/shared/errors/ErrorCollection.js +1 -0
- package/build/shared/helper/BaseContext.js +1 -1
- package/build/shared/interfaces/amqpInterface.js +1 -0
- package/build/shared/interfaces/generativeAI/IGenerativeAIModels.js +1 -0
- package/build/shared/interfaces/handover.js +1 -0
- package/build/shared/interfaces/handoverProviders.js +0 -1
- package/build/shared/interfaces/messageAPI/endpoints.js +4 -1
- package/build/shared/interfaces/resources/IAuditEvent.js +1 -0
- package/build/shared/interfaces/resources/IChart.js +10 -1
- package/build/shared/interfaces/resources/IChartNode.js +32 -4
- package/build/shared/interfaces/resources/IEndpoint.js +1 -0
- package/build/shared/interfaces/resources/INodeDescriptorSet.js +8 -0
- package/build/shared/interfaces/resources/TResourceType.js +1 -0
- package/build/shared/interfaces/resources/chart/IChartExecutableNode.js +10 -1
- package/build/shared/interfaces/resources/knowledgeStore/IKnowledgeConnector.js +49 -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/administration/user/v2.0/IExchangeCXoneTokenRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/analytics/IDeleteConversationsBySessionRest_2_1.js +3 -0
- package/build/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/ICreateKnowledgeConnectorRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/IDeleteKnowledgeConnectorRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/IIndexKnowledgeConnectorsRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/IKnowledgeConnector_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/IReadKnowledgeConnectorRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/IRunKnowledgeConnectorRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/IUpdateKnowledgeConnectorRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/simulation/scheduler/ICreateSchedulerRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/simulation/scheduler/IGetSchedulerRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/simulation/scheduler/ISchedulerRest_2_0.js +12 -0
- package/build/shared/interfaces/restAPI/simulation/scheduler/IUpdateSchedulerRest_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/spec/aiAgentV2.spec.js +564 -0
- package/dist/esm/apigroups/InsightsAPIGroup_2_1.js +13 -0
- package/dist/esm/apigroups/ResourcesAPIGroup_2_0.js +140 -375
- package/dist/esm/apigroups/SimulationAPIGroup_2_0.js +33 -18
- package/dist/esm/apigroups/aiAgentsV2/agent.js +2 -0
- package/dist/esm/apigroups/aiAgentsV2/agentAPI.js +24 -0
- package/dist/esm/apigroups/aiAgentsV2/agentPersona.js +2 -0
- package/dist/esm/apigroups/aiAgentsV2/agentPersonaAPI.js +24 -0
- package/dist/esm/apigroups/aiAgentsV2/aiAgentV2API.js +2 -0
- package/dist/esm/apigroups/aiAgentsV2/tool.js +2 -0
- package/dist/esm/apigroups/aiAgentsV2/toolAPI.js +21 -0
- package/dist/esm/apigroups/aiAgentsV2/toolDescriptor.js +2 -0
- package/dist/esm/apigroups/aiAgentsV2/toolDescriptorAPI.js +9 -0
- package/dist/esm/apigroups/index.js +1 -0
- package/dist/esm/authentication/AuthenticationAPI.js +1 -0
- package/dist/esm/shared/charts/createNodeDescriptor.js +1 -0
- package/dist/esm/shared/charts/descriptors/analytics/overwriteAnalytics.js +14 -0
- package/dist/esm/shared/charts/descriptors/analytics/updateProfile.js +5 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/emailNotification.js +7 -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 +63 -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 +7 -1
- package/dist/esm/shared/charts/descriptors/message/question/question.js +254 -59
- package/dist/esm/shared/charts/descriptors/message/say.js +3 -0
- package/dist/esm/shared/charts/descriptors/service/agentTools/executeWorkflowTool.js +237 -0
- package/dist/esm/shared/charts/descriptors/service/agentTools/handoverToHumanAgentTool.js +770 -0
- package/dist/esm/shared/charts/descriptors/service/agentTools/sendEmailTool.js +33 -4
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +25 -20
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJobCallMCPTool.js +10 -6
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJobMCPTool.js +56 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/helpers/createToolDefinitions.js +10 -1
- package/dist/esm/shared/charts/descriptors/service/aiAgent/helpers/parseMcpHeaders.js +25 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgentV2.js +87 -0
- package/dist/esm/shared/charts/descriptors/service/handoverV2.js +1 -1
- package/dist/esm/shared/charts/descriptors/service/httpRequest.js +3 -0
- package/dist/esm/shared/charts/descriptors/service/index.js +4 -0
- package/dist/esm/shared/charts/descriptors/service/llmPrompt/LLMPromptV2.js +33 -24
- package/dist/esm/shared/charts/descriptors/service/llmPrompt/llmPromptMCPTool.js +56 -0
- package/dist/esm/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +75 -15
- package/dist/esm/shared/charts/descriptors/voice/mappers/transfer.mapper.js +27 -5
- package/dist/esm/shared/charts/descriptors/voice/nodes/sessionSpeechParameters.js +67 -2
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/play.js +7 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +149 -4
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/transfer.js +137 -4
- package/dist/esm/shared/errors/ErrorCode.js +2 -1
- package/dist/esm/shared/errors/ErrorCollection.js +1 -0
- package/dist/esm/shared/helper/BaseContext.js +1 -1
- package/dist/esm/shared/interfaces/amqpInterface.js +1 -0
- package/dist/esm/shared/interfaces/generativeAI/IGenerativeAIModels.js +1 -0
- package/dist/esm/shared/interfaces/handover.js +1 -0
- package/dist/esm/shared/interfaces/handoverProviders.js +0 -1
- package/dist/esm/shared/interfaces/messageAPI/endpoints.js +4 -1
- package/dist/esm/shared/interfaces/resources/IAuditEvent.js +1 -0
- package/dist/esm/shared/interfaces/resources/IChart.js +10 -1
- package/dist/esm/shared/interfaces/resources/IChartNode.js +32 -4
- package/dist/esm/shared/interfaces/resources/IEndpoint.js +1 -0
- package/dist/esm/shared/interfaces/resources/INodeDescriptorSet.js +8 -0
- package/dist/esm/shared/interfaces/resources/TResourceType.js +1 -0
- package/dist/esm/shared/interfaces/resources/chart/IChartExecutableNode.js +10 -1
- package/dist/esm/shared/interfaces/resources/knowledgeStore/IKnowledgeConnector.js +46 -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/administration/user/v2.0/IExchangeCXoneTokenRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/analytics/IDeleteConversationsBySessionRest_2_1.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/ICreateKnowledgeConnectorRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/IDeleteKnowledgeConnectorRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/IIndexKnowledgeConnectorsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/IKnowledgeConnector_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/IReadKnowledgeConnectorRest_2_0.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/resources/knowledgeStore/v2.0/connector/IUpdateKnowledgeConnectorRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/simulation/scheduler/ICreateSchedulerRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/simulation/scheduler/IGetSchedulerRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/simulation/scheduler/ISchedulerRest_2_0.js +9 -0
- package/dist/esm/shared/interfaces/restAPI/simulation/scheduler/IUpdateSchedulerRest_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/spec/aiAgentV2.spec.js +563 -0
- package/package.json +6 -3
- package/types/index.d.ts +1198 -44
|
@@ -735,8 +735,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
735
735
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_ALLOW_AGENT_INJECT__LABEL",
|
|
736
736
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_ALLOW_AGENT_INJECT__DESCRIPTION",
|
|
737
737
|
condition: {
|
|
738
|
-
|
|
739
|
-
|
|
738
|
+
and: [
|
|
739
|
+
{ key: "escalateAnswersAction", value: "handover" },
|
|
740
|
+
{ or: [
|
|
741
|
+
{ key: "escalateAnswersHandoverProvider", value: "legacyEndpoint" },
|
|
742
|
+
{ key: "escalateAnswersHandoverProvider", value: null }
|
|
743
|
+
] }
|
|
744
|
+
]
|
|
740
745
|
},
|
|
741
746
|
defaultValue: true,
|
|
742
747
|
},
|
|
@@ -777,8 +782,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
777
782
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER_LIVE_AGENT_INBOX_ID__LABEL",
|
|
778
783
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER_LIVE_AGENT_INBOX_ID__DESCRIPTION",
|
|
779
784
|
condition: {
|
|
780
|
-
|
|
781
|
-
|
|
785
|
+
and: [
|
|
786
|
+
{ key: "escalateAnswersAction", value: "handover" },
|
|
787
|
+
{ or: [
|
|
788
|
+
{ key: "escalateAnswersHandoverProvider", value: "legacyEndpoint" },
|
|
789
|
+
{ key: "escalateAnswersHandoverProvider", value: null }
|
|
790
|
+
] }
|
|
791
|
+
]
|
|
782
792
|
}
|
|
783
793
|
},
|
|
784
794
|
{
|
|
@@ -787,8 +797,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
787
797
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER_CHATWOOT_INBOX_ID__LABEL",
|
|
788
798
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER_CHATWOOT_INBOX_ID__DESCRIPTION",
|
|
789
799
|
condition: {
|
|
790
|
-
|
|
791
|
-
|
|
800
|
+
and: [
|
|
801
|
+
{ key: "escalateAnswersAction", value: "handover" },
|
|
802
|
+
{ or: [
|
|
803
|
+
{ key: "escalateAnswersHandoverProvider", value: "legacyEndpoint" },
|
|
804
|
+
{ key: "escalateAnswersHandoverProvider", value: null }
|
|
805
|
+
] }
|
|
806
|
+
]
|
|
792
807
|
}
|
|
793
808
|
},
|
|
794
809
|
{
|
|
@@ -798,8 +813,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
798
813
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER_SEND_TRANSCRIPT_AS_FIRST_MESSAGE__DESCRIPTION",
|
|
799
814
|
defaultValue: false,
|
|
800
815
|
condition: {
|
|
801
|
-
|
|
802
|
-
|
|
816
|
+
and: [
|
|
817
|
+
{ key: "escalateAnswersAction", value: "handover" },
|
|
818
|
+
{ or: [
|
|
819
|
+
{ key: "escalateAnswersHandoverProvider", value: "legacyEndpoint" },
|
|
820
|
+
{ key: "escalateAnswersHandoverProvider", value: null }
|
|
821
|
+
] }
|
|
822
|
+
]
|
|
803
823
|
}
|
|
804
824
|
},
|
|
805
825
|
{
|
|
@@ -809,8 +829,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
809
829
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER_SALES_FORCE_PERCHAT_ENTITIES__DESCRIPTION",
|
|
810
830
|
defaultValue: "[]",
|
|
811
831
|
condition: {
|
|
812
|
-
|
|
813
|
-
|
|
832
|
+
and: [
|
|
833
|
+
{ key: "escalateAnswersAction", value: "handover" },
|
|
834
|
+
{ or: [
|
|
835
|
+
{ key: "escalateAnswersHandoverProvider", value: "legacyEndpoint" },
|
|
836
|
+
{ key: "escalateAnswersHandoverProvider", value: null }
|
|
837
|
+
] }
|
|
838
|
+
]
|
|
814
839
|
}
|
|
815
840
|
},
|
|
816
841
|
{
|
|
@@ -820,8 +845,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
820
845
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER_SALES_FORCE_PERCHAT_DETAILS__DESCRIPTION",
|
|
821
846
|
defaultValue: "[]",
|
|
822
847
|
condition: {
|
|
823
|
-
|
|
824
|
-
|
|
848
|
+
and: [
|
|
849
|
+
{ key: "escalateAnswersAction", value: "handover" },
|
|
850
|
+
{ or: [
|
|
851
|
+
{ key: "escalateAnswersHandoverProvider", value: "legacyEndpoint" },
|
|
852
|
+
{ key: "escalateAnswersHandoverProvider", value: null }
|
|
853
|
+
] }
|
|
854
|
+
]
|
|
825
855
|
}
|
|
826
856
|
},
|
|
827
857
|
{
|
|
@@ -830,8 +860,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
830
860
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER__GENESYS_LANGUAGE__LABEL",
|
|
831
861
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER__GENESYS_LANGUAGE__DESCRIPTION",
|
|
832
862
|
condition: {
|
|
833
|
-
|
|
834
|
-
|
|
863
|
+
and: [
|
|
864
|
+
{ key: "escalateAnswersAction", value: "handover" },
|
|
865
|
+
{ or: [
|
|
866
|
+
{ key: "escalateAnswersHandoverProvider", value: "legacyEndpoint" },
|
|
867
|
+
{ key: "escalateAnswersHandoverProvider", value: null }
|
|
868
|
+
] }
|
|
869
|
+
]
|
|
835
870
|
}
|
|
836
871
|
},
|
|
837
872
|
{
|
|
@@ -840,8 +875,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
840
875
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER__GENESYS_SKILLS__LABEL",
|
|
841
876
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER__GENESYS_SKILLS__DESCRIPTION",
|
|
842
877
|
condition: {
|
|
843
|
-
|
|
844
|
-
|
|
878
|
+
and: [
|
|
879
|
+
{ key: "escalateAnswersAction", value: "handover" },
|
|
880
|
+
{ or: [
|
|
881
|
+
{ key: "escalateAnswersHandoverProvider", value: "legacyEndpoint" },
|
|
882
|
+
{ key: "escalateAnswersHandoverProvider", value: null }
|
|
883
|
+
] }
|
|
884
|
+
]
|
|
845
885
|
}
|
|
846
886
|
},
|
|
847
887
|
{
|
|
@@ -850,8 +890,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
850
890
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER__GENESYS_PRIORITY__LABEL",
|
|
851
891
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER__GENESYS_PRIORITY__DESCRIPTION",
|
|
852
892
|
condition: {
|
|
853
|
-
|
|
854
|
-
|
|
893
|
+
and: [
|
|
894
|
+
{ key: "escalateAnswersAction", value: "handover" },
|
|
895
|
+
{ or: [
|
|
896
|
+
{ key: "escalateAnswersHandoverProvider", value: "legacyEndpoint" },
|
|
897
|
+
{ key: "escalateAnswersHandoverProvider", value: null }
|
|
898
|
+
] }
|
|
899
|
+
]
|
|
855
900
|
}
|
|
856
901
|
},
|
|
857
902
|
{
|
|
@@ -861,8 +906,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
861
906
|
defaultValue: {},
|
|
862
907
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER_GENESYS_CUSTOM_ATTRIBUTES__DESCRIPTION",
|
|
863
908
|
condition: {
|
|
864
|
-
|
|
865
|
-
|
|
909
|
+
and: [
|
|
910
|
+
{ key: "escalateAnswersAction", value: "handover" },
|
|
911
|
+
{ or: [
|
|
912
|
+
{ key: "escalateAnswersHandoverProvider", value: "legacyEndpoint" },
|
|
913
|
+
{ key: "escalateAnswersHandoverProvider", value: null }
|
|
914
|
+
] }
|
|
915
|
+
]
|
|
866
916
|
}
|
|
867
917
|
},
|
|
868
918
|
{
|
|
@@ -871,8 +921,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
871
921
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER_EIGHT_BY_EIGHT_CHANNELID__LABEL",
|
|
872
922
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER_EIGHT_BY_EIGHT_CHANNELID__DESCRIPTION",
|
|
873
923
|
condition: {
|
|
874
|
-
|
|
875
|
-
|
|
924
|
+
and: [
|
|
925
|
+
{ key: "escalateAnswersAction", value: "handover" },
|
|
926
|
+
{ or: [
|
|
927
|
+
{ key: "escalateAnswersHandoverProvider", value: "legacyEndpoint" },
|
|
928
|
+
{ key: "escalateAnswersHandoverProvider", value: null }
|
|
929
|
+
] }
|
|
930
|
+
]
|
|
876
931
|
}
|
|
877
932
|
},
|
|
878
933
|
{
|
|
@@ -881,8 +936,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
881
936
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER_EIGHT_BY_EIGHT_QUEUEID__LABEL",
|
|
882
937
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER_EIGHT_BY_EIGHT_QUEUEID__DESCRIPTION",
|
|
883
938
|
condition: {
|
|
884
|
-
|
|
885
|
-
|
|
939
|
+
and: [
|
|
940
|
+
{ key: "escalateAnswersAction", value: "handover" },
|
|
941
|
+
{ or: [
|
|
942
|
+
{ key: "escalateAnswersHandoverProvider", value: "legacyEndpoint" },
|
|
943
|
+
{ key: "escalateAnswersHandoverProvider", value: null }
|
|
944
|
+
] }
|
|
945
|
+
]
|
|
886
946
|
}
|
|
887
947
|
},
|
|
888
948
|
{
|
|
@@ -903,8 +963,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
903
963
|
]
|
|
904
964
|
},
|
|
905
965
|
condition: {
|
|
906
|
-
|
|
907
|
-
|
|
966
|
+
and: [
|
|
967
|
+
{ key: "escalateAnswersAction", value: "handover" },
|
|
968
|
+
{ or: [
|
|
969
|
+
{ key: "escalateAnswersHandoverProvider", value: "legacyEndpoint" },
|
|
970
|
+
{ key: "escalateAnswersHandoverProvider", value: null }
|
|
971
|
+
] }
|
|
972
|
+
]
|
|
908
973
|
}
|
|
909
974
|
},
|
|
910
975
|
{
|
|
@@ -914,8 +979,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
914
979
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER_ADDITIONAL_CATEGORRY_IDS__DESCRIPTION",
|
|
915
980
|
defaultValue: [],
|
|
916
981
|
condition: {
|
|
917
|
-
|
|
918
|
-
|
|
982
|
+
and: [
|
|
983
|
+
{ key: "escalateAnswersAction", value: "handover" },
|
|
984
|
+
{ or: [
|
|
985
|
+
{ key: "escalateAnswersHandoverProvider", value: "legacyEndpoint" },
|
|
986
|
+
{ key: "escalateAnswersHandoverProvider", value: null }
|
|
987
|
+
] }
|
|
988
|
+
]
|
|
919
989
|
}
|
|
920
990
|
},
|
|
921
991
|
{
|
|
@@ -944,6 +1014,26 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
944
1014
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_SEND_ON_ACTIVE_EVENT__LABEL",
|
|
945
1015
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_SEND_ON_ACTIVE_EVENT__DESCRIPTION",
|
|
946
1016
|
},
|
|
1017
|
+
{
|
|
1018
|
+
key: "escalateAnswersHandoverProvider",
|
|
1019
|
+
type: "handoverProvider",
|
|
1020
|
+
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER_PROVIDER__LABEL",
|
|
1021
|
+
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_ANSWERS_HANDOVER_PROVIDER__DESCRIPTION",
|
|
1022
|
+
defaultValue: "legacyEndpoint",
|
|
1023
|
+
params: {
|
|
1024
|
+
configFieldPath: "config.escalateAnswersHandoverProviderConfig"
|
|
1025
|
+
},
|
|
1026
|
+
condition: {
|
|
1027
|
+
key: "escalateAnswersAction",
|
|
1028
|
+
value: "handover"
|
|
1029
|
+
}
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
key: "escalateAnswersHandoverProviderConfig",
|
|
1033
|
+
type: "json",
|
|
1034
|
+
defaultValue: {},
|
|
1035
|
+
// Hidden field - populated by HandoverProviderSelect
|
|
1036
|
+
},
|
|
947
1037
|
{
|
|
948
1038
|
key: "escalateIntentsAction",
|
|
949
1039
|
type: "select",
|
|
@@ -1174,14 +1264,38 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1174
1264
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_SEND_ON_ACTIVE_EVENT__LABEL",
|
|
1175
1265
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_SEND_ON_ACTIVE_EVENT__DESCRIPTION",
|
|
1176
1266
|
},
|
|
1267
|
+
{
|
|
1268
|
+
key: "escalateIntentsHandoverProvider",
|
|
1269
|
+
type: "handoverProvider",
|
|
1270
|
+
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_PROVIDER__LABEL",
|
|
1271
|
+
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_PROVIDER__DESCRIPTION",
|
|
1272
|
+
defaultValue: "legacyEndpoint",
|
|
1273
|
+
params: {
|
|
1274
|
+
configFieldPath: "config.escalateIntentsHandoverProviderConfig"
|
|
1275
|
+
},
|
|
1276
|
+
condition: {
|
|
1277
|
+
key: "escalateIntentsAction",
|
|
1278
|
+
value: "handover"
|
|
1279
|
+
}
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
key: "escalateIntentsHandoverProviderConfig",
|
|
1283
|
+
type: "json",
|
|
1284
|
+
defaultValue: {},
|
|
1285
|
+
},
|
|
1177
1286
|
process.env.FEATURE_USE_COGNIGY_LIVE_AGENT && {
|
|
1178
1287
|
key: COGNIGY_LIVE_AGENT_DESCRIPTOR_FIELDS.ESCALATE_INTENTS_ALLOW_AGENT_INJECT,
|
|
1179
1288
|
type: "toggle",
|
|
1180
1289
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_ALLOW_AGENT_INJECT__LABEL",
|
|
1181
1290
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_ALLOW_AGENT_INJECT__DESCRIPTION",
|
|
1182
1291
|
condition: {
|
|
1183
|
-
|
|
1184
|
-
|
|
1292
|
+
and: [
|
|
1293
|
+
{ key: "escalateIntentsAction", value: "handover" },
|
|
1294
|
+
{ or: [
|
|
1295
|
+
{ key: "escalateIntentsHandoverProvider", value: "legacyEndpoint" },
|
|
1296
|
+
{ key: "escalateIntentsHandoverProvider", value: null }
|
|
1297
|
+
] }
|
|
1298
|
+
]
|
|
1185
1299
|
},
|
|
1186
1300
|
defaultValue: true,
|
|
1187
1301
|
},
|
|
@@ -1191,8 +1305,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1191
1305
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_LIVE_AGENT_INBOX_ID__LABEL",
|
|
1192
1306
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_LIVE_AGENT_INBOX_ID__DESCRIPTION",
|
|
1193
1307
|
condition: {
|
|
1194
|
-
|
|
1195
|
-
|
|
1308
|
+
and: [
|
|
1309
|
+
{ key: "escalateIntentsAction", value: "handover" },
|
|
1310
|
+
{ or: [
|
|
1311
|
+
{ key: "escalateIntentsHandoverProvider", value: "legacyEndpoint" },
|
|
1312
|
+
{ key: "escalateIntentsHandoverProvider", value: null }
|
|
1313
|
+
] }
|
|
1314
|
+
]
|
|
1196
1315
|
}
|
|
1197
1316
|
},
|
|
1198
1317
|
process.env.FEATURE_USE_COGNIGY_LIVE_AGENT && {
|
|
@@ -1201,8 +1320,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1201
1320
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_AGENT_ASSIST_INIT_MESSAGE__LABEL",
|
|
1202
1321
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_AGENT_ASSIST_INIT_MESSAGE__DESCRIPTION",
|
|
1203
1322
|
condition: {
|
|
1204
|
-
|
|
1205
|
-
|
|
1323
|
+
and: [
|
|
1324
|
+
{ key: "escalateIntentsAction", value: "handover" },
|
|
1325
|
+
{ or: [
|
|
1326
|
+
{ key: "escalateIntentsHandoverProvider", value: "legacyEndpoint" },
|
|
1327
|
+
{ key: "escalateIntentsHandoverProvider", value: null }
|
|
1328
|
+
] }
|
|
1329
|
+
]
|
|
1206
1330
|
}
|
|
1207
1331
|
},
|
|
1208
1332
|
{
|
|
@@ -1211,8 +1335,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1211
1335
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_CHATWOOT_INBOX_ID__LABEL",
|
|
1212
1336
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_CHATWOOT_INBOX_ID__DESCRIPTION",
|
|
1213
1337
|
condition: {
|
|
1214
|
-
|
|
1215
|
-
|
|
1338
|
+
and: [
|
|
1339
|
+
{ key: "escalateIntentsAction", value: "handover" },
|
|
1340
|
+
{ or: [
|
|
1341
|
+
{ key: "escalateIntentsHandoverProvider", value: "legacyEndpoint" },
|
|
1342
|
+
{ key: "escalateIntentsHandoverProvider", value: null }
|
|
1343
|
+
] }
|
|
1344
|
+
]
|
|
1216
1345
|
}
|
|
1217
1346
|
},
|
|
1218
1347
|
{
|
|
@@ -1222,8 +1351,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1222
1351
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_SEND_TRANSCRIPT_AS_FIRST_MESSAGE__DESCRIPTION",
|
|
1223
1352
|
defaultValue: false,
|
|
1224
1353
|
condition: {
|
|
1225
|
-
|
|
1226
|
-
|
|
1354
|
+
and: [
|
|
1355
|
+
{ key: "escalateIntentsAction", value: "handover" },
|
|
1356
|
+
{ or: [
|
|
1357
|
+
{ key: "escalateIntentsHandoverProvider", value: "legacyEndpoint" },
|
|
1358
|
+
{ key: "escalateIntentsHandoverProvider", value: null }
|
|
1359
|
+
] }
|
|
1360
|
+
]
|
|
1227
1361
|
}
|
|
1228
1362
|
},
|
|
1229
1363
|
{
|
|
@@ -1233,8 +1367,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1233
1367
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_SALES_FORCE_PRECHAT_ENTITIES__DESCRIPTION",
|
|
1234
1368
|
defaultValue: "[]",
|
|
1235
1369
|
condition: {
|
|
1236
|
-
|
|
1237
|
-
|
|
1370
|
+
and: [
|
|
1371
|
+
{ key: "escalateIntentsAction", value: "handover" },
|
|
1372
|
+
{ or: [
|
|
1373
|
+
{ key: "escalateIntentsHandoverProvider", value: "legacyEndpoint" },
|
|
1374
|
+
{ key: "escalateIntentsHandoverProvider", value: null }
|
|
1375
|
+
] }
|
|
1376
|
+
]
|
|
1238
1377
|
}
|
|
1239
1378
|
},
|
|
1240
1379
|
{
|
|
@@ -1244,8 +1383,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1244
1383
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_SALES_FORCE_PRECHAT_DETAILS__DESCRIPTION",
|
|
1245
1384
|
defaultValue: "[]",
|
|
1246
1385
|
condition: {
|
|
1247
|
-
|
|
1248
|
-
|
|
1386
|
+
and: [
|
|
1387
|
+
{ key: "escalateIntentsAction", value: "handover" },
|
|
1388
|
+
{ or: [
|
|
1389
|
+
{ key: "escalateIntentsHandoverProvider", value: "legacyEndpoint" },
|
|
1390
|
+
{ key: "escalateIntentsHandoverProvider", value: null }
|
|
1391
|
+
] }
|
|
1392
|
+
]
|
|
1249
1393
|
}
|
|
1250
1394
|
},
|
|
1251
1395
|
{
|
|
@@ -1254,8 +1398,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1254
1398
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_GENESYSY_LANGUAGE__LABEL",
|
|
1255
1399
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_GENESYSY_LANGUAGE__DESCRIPTION",
|
|
1256
1400
|
condition: {
|
|
1257
|
-
|
|
1258
|
-
|
|
1401
|
+
and: [
|
|
1402
|
+
{ key: "escalateIntentsAction", value: "handover" },
|
|
1403
|
+
{ or: [
|
|
1404
|
+
{ key: "escalateIntentsHandoverProvider", value: "legacyEndpoint" },
|
|
1405
|
+
{ key: "escalateIntentsHandoverProvider", value: null }
|
|
1406
|
+
] }
|
|
1407
|
+
]
|
|
1259
1408
|
}
|
|
1260
1409
|
},
|
|
1261
1410
|
{
|
|
@@ -1265,8 +1414,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1265
1414
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_GENESYSY_SKILLS__DESCRIPTION",
|
|
1266
1415
|
defaultValue: [],
|
|
1267
1416
|
condition: {
|
|
1268
|
-
|
|
1269
|
-
|
|
1417
|
+
and: [
|
|
1418
|
+
{ key: "escalateIntentsAction", value: "handover" },
|
|
1419
|
+
{ or: [
|
|
1420
|
+
{ key: "escalateIntentsHandoverProvider", value: "legacyEndpoint" },
|
|
1421
|
+
{ key: "escalateIntentsHandoverProvider", value: null }
|
|
1422
|
+
] }
|
|
1423
|
+
]
|
|
1270
1424
|
}
|
|
1271
1425
|
},
|
|
1272
1426
|
{
|
|
@@ -1275,8 +1429,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1275
1429
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_GENESYSY_PRIORITY__LABEL",
|
|
1276
1430
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_GENESYSY_PRIORITY__DESCRIPTION",
|
|
1277
1431
|
condition: {
|
|
1278
|
-
|
|
1279
|
-
|
|
1432
|
+
and: [
|
|
1433
|
+
{ key: "escalateIntentsAction", value: "handover" },
|
|
1434
|
+
{ or: [
|
|
1435
|
+
{ key: "escalateIntentsHandoverProvider", value: "legacyEndpoint" },
|
|
1436
|
+
{ key: "escalateIntentsHandoverProvider", value: null }
|
|
1437
|
+
] }
|
|
1438
|
+
]
|
|
1280
1439
|
}
|
|
1281
1440
|
},
|
|
1282
1441
|
{
|
|
@@ -1286,8 +1445,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1286
1445
|
defaultValue: {},
|
|
1287
1446
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_GENESYSY_CUSTOM_ATTRIBUTES__DESCRIPTION",
|
|
1288
1447
|
condition: {
|
|
1289
|
-
|
|
1290
|
-
|
|
1448
|
+
and: [
|
|
1449
|
+
{ key: "escalateIntentsAction", value: "handover" },
|
|
1450
|
+
{ or: [
|
|
1451
|
+
{ key: "escalateIntentsHandoverProvider", value: "legacyEndpoint" },
|
|
1452
|
+
{ key: "escalateIntentsHandoverProvider", value: null }
|
|
1453
|
+
] }
|
|
1454
|
+
]
|
|
1291
1455
|
}
|
|
1292
1456
|
},
|
|
1293
1457
|
{
|
|
@@ -1296,8 +1460,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1296
1460
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_EIGHT_BY_EIGHT_CHANNELID__LABEL",
|
|
1297
1461
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_EIGHT_BY_EIGHT_CHANNELID__DESCRIPTION",
|
|
1298
1462
|
condition: {
|
|
1299
|
-
|
|
1300
|
-
|
|
1463
|
+
and: [
|
|
1464
|
+
{ key: "escalateIntentsAction", value: "handover" },
|
|
1465
|
+
{ or: [
|
|
1466
|
+
{ key: "escalateIntentsHandoverProvider", value: "legacyEndpoint" },
|
|
1467
|
+
{ key: "escalateIntentsHandoverProvider", value: null }
|
|
1468
|
+
] }
|
|
1469
|
+
]
|
|
1301
1470
|
}
|
|
1302
1471
|
},
|
|
1303
1472
|
{
|
|
@@ -1306,8 +1475,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1306
1475
|
label: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_EIGHT_BY_EIGHT_QUEUEID__LABEL",
|
|
1307
1476
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_EIGHT_BY_EIGHT_QUEUEID__DESCRIPTION",
|
|
1308
1477
|
condition: {
|
|
1309
|
-
|
|
1310
|
-
|
|
1478
|
+
and: [
|
|
1479
|
+
{ key: "escalateIntentsAction", value: "handover" },
|
|
1480
|
+
{ or: [
|
|
1481
|
+
{ key: "escalateIntentsHandoverProvider", value: "legacyEndpoint" },
|
|
1482
|
+
{ key: "escalateIntentsHandoverProvider", value: null }
|
|
1483
|
+
] }
|
|
1484
|
+
]
|
|
1311
1485
|
}
|
|
1312
1486
|
},
|
|
1313
1487
|
{
|
|
@@ -1328,8 +1502,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1328
1502
|
]
|
|
1329
1503
|
},
|
|
1330
1504
|
condition: {
|
|
1331
|
-
|
|
1332
|
-
|
|
1505
|
+
and: [
|
|
1506
|
+
{ key: "escalateIntentsAction", value: "handover" },
|
|
1507
|
+
{ or: [
|
|
1508
|
+
{ key: "escalateIntentsHandoverProvider", value: "legacyEndpoint" },
|
|
1509
|
+
{ key: "escalateIntentsHandoverProvider", value: null }
|
|
1510
|
+
] }
|
|
1511
|
+
]
|
|
1333
1512
|
}
|
|
1334
1513
|
},
|
|
1335
1514
|
{
|
|
@@ -1339,8 +1518,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1339
1518
|
description: "UI__NODE_EDITOR__MESSAGE__QUESTION__QUESTION__FIELDS__ESCALATE_INTENTS_HANDOVER_ADDITIONAL_CATEGORY_IDS__DESCRIPTION",
|
|
1340
1519
|
defaultValue: [],
|
|
1341
1520
|
condition: {
|
|
1342
|
-
|
|
1343
|
-
|
|
1521
|
+
and: [
|
|
1522
|
+
{ key: "escalateIntentsAction", value: "handover" },
|
|
1523
|
+
{ or: [
|
|
1524
|
+
{ key: "escalateIntentsHandoverProvider", value: "legacyEndpoint" },
|
|
1525
|
+
{ key: "escalateIntentsHandoverProvider", value: null }
|
|
1526
|
+
] }
|
|
1527
|
+
]
|
|
1344
1528
|
}
|
|
1345
1529
|
},
|
|
1346
1530
|
{
|
|
@@ -1665,6 +1849,7 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1665
1849
|
"escalateIntentsHandoverQuickReply",
|
|
1666
1850
|
"escalateIntentsHandoverResolveBehavior",
|
|
1667
1851
|
"escalateIntentsHandoverSendResolveEvent",
|
|
1852
|
+
"escalateIntentsHandoverProvider",
|
|
1668
1853
|
"escalateIntentsHandoverAdditionalCategoryIds",
|
|
1669
1854
|
process.env.FEATURE_USE_COGNIGY_LIVE_AGENT && COGNIGY_LIVE_AGENT_DESCRIPTOR_FIELDS.ESCALATE_INTENTS_HANDOVER_LIVE_AGENT_INBOX_ID,
|
|
1670
1855
|
process.env.FEATURE_USE_COGNIGY_LIVE_AGENT && COGNIGY_LIVE_AGENT_DESCRIPTOR_FIELDS.ESCALATE_INTENTS_AGENT_ASSIST_INIT_MESSAGE,
|
|
@@ -1704,6 +1889,7 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1704
1889
|
"escalateAnswersHandoverQuickReply",
|
|
1705
1890
|
"escalateAnswersHandoverResolveBehavior",
|
|
1706
1891
|
"escalateAnswersHandoverSendResolveEvent",
|
|
1892
|
+
"escalateAnswersHandoverProvider",
|
|
1707
1893
|
"escalateAnswersHandoverAdditionalCategoryIds",
|
|
1708
1894
|
process.env.FEATURE_USE_COGNIGY_LIVE_AGENT && COGNIGY_LIVE_AGENT_DESCRIPTOR_FIELDS.ESCALATE_ANSWERS_HANDOVER_LIVE_AGENT_INBOX_ID,
|
|
1709
1895
|
process.env.FEATURE_USE_COGNIGY_LIVE_AGENT && COGNIGY_LIVE_AGENT_DESCRIPTOR_FIELDS.ESCALATE_ANSWERS_ALLOW_AGENT_INJECT,
|
|
@@ -1824,10 +2010,15 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
1824
2010
|
type: "sayNode",
|
|
1825
2011
|
},
|
|
1826
2012
|
tags: ["basic", "message", "nlu"],
|
|
2013
|
+
mocking: {
|
|
2014
|
+
defaultMockCode: `
|
|
2015
|
+
context.result = "Mocked result";
|
|
2016
|
+
`
|
|
2017
|
+
},
|
|
1827
2018
|
//#endregion DescriptorFields
|
|
1828
2019
|
function: ({ cognigy, nodeId, organisationId, config, inputOptions }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1829
2020
|
var _a, _b, _c;
|
|
1830
|
-
const { say, type, validationMessage, repromptLLMProvider, repromptType = "text", repromptLLMPrompt, repromptLLMTurns, repromptLLMStream, repromptLLMStreamStopTokens, repromptSay, repromptFlowNode, repromptParseIntents, repromptParseKeyphrases, repromptAbsorbContext, validationRepeat, storeResultInContext, contextKey, storeInContactProfile, profileKey, storeDetailedResults, parseResultOnEntry, repromptCondition, maxExecutionDiff, resultLocation, skipRepromptOnIntent, onlyAcceptEscalationIntents, preventTranscript, escalateAnswersAction, escalateAnswersThreshold, escalateAnswersGotoTarget, escalateAnswersExecuteTarget, escalateAnswersGotoExecutionMode, escalateAnswersInjectedText, escalateAnswersInjectedData, escalateAnswersMessage, escalateAnswersRepromptPrevention, escalateAnswersOnce, escalateAnswersHandoverText, escalateAnswersRepeatHandoverMessage, escalateAnswersHandoverCancelIntent, escalateAnswersHandoverQuickReply, escalateAnswersHandoverChatwootInboxId, escalateAnswersHandoverLiveAgentInboxId, escalateAnswersHandoverAdditionalCategoryIds, escalateAnswersHandoverSendTranscriptAsFirstMessage, escalateAnswersHandoverSalesforcePrechatEntities, escalateAnswersHandoverSalesforcePrechatDetails, escalateAnswersHandoverGenesysLanguage, escalateAnswersHandoverGenesysSkills, escalateAnswersHandoverGenesysPriority, escalateAnswersHandoverGenesysCustomAttributes, escalateAnswersHandoverEightByEightChannelId, escalateAnswersHandoverEightByEightQueueId, escalateAnswersHandoverEightByEightJSONProps, escalateAnswersHandoverSendResolveEvent, escalateAnswersHandoverResolveBehavior, escalateAnswersAllowAgentInject, escalateAnswersSendOnActiveEvent, escalateAnswersSendOnQueueEvent, escalateIntentsAction, escalateIntentsValidIntents, escalateIntentsThreshold, escalateIntentsGotoTarget, escalateIntentsExecuteTarget, escalateIntentsGotoExecutionMode, escalateIntentsInjectedText, escalateIntentsInjectedData, escalateIntentsMessage, escalateIntentsHandoverText, escalateIntentsRepeatHandoverMessage, escalateIntentsHandoverCancelIntent, escalateIntentsHandoverQuickReply, escalateIntentsHandoverChatwootInboxId, escalateIntentsHandoverLiveAgentInboxId, escalateIntentsHandoverAdditionalCategoryIds, escalateIntentHandoverSendTranscriptAsFirstMessage, escalateIntentsHandoverSalesforcePrechatEntities, escalateIntentsHandoverSalesforcePrechatDetails, escalateIntentsHandoverGenesysLanguage, escalateIntentsHandoverGenesysSkills, escalateIntentsHandoverGenesysPriority, escalateIntentsHandoverGenesysCustomAttributes, escalateIntentsHandoverEightByEightChannelId, escalateIntentsHandoverEightByEightQueueId, escalateIntentsHandoverEightByEightJSONProps, escalateIntentsRepromptPrevention, escalateIntentsHandoverSendResolveEvent, escalateIntentsHandoverResolveBehavior, escalateIntentsAgentAssistInitMessage, escalateIntentsAllowAgentInject, escalateIntentsSendOnActiveEvent, escalateIntentsSendOnQueueEvent, reconfirmationBehaviour, reconfirmationQuestion, reconfirmationQuestionReprompt, handoverOutput, cleanTextLocale, cleanDisallowedSymbols, additionalAllowedCharacters, additionalSpecialPhrases, resolveSpelledOutNumbers, resolvePhoneticAlphabet, additionalPhoneticAlphabet, replaceSpecialWords, additionalMappedSymbols, resolveSpelledOutAlphabet, resolvePhoneticCounters, contractSingleCharacters, contractNumberGroups, trimResult, runNLUAfterCleaning, overwrittenBaseAnswer } = config;
|
|
2021
|
+
const { say, type, validationMessage, repromptLLMProvider, repromptType = "text", repromptLLMPrompt, repromptLLMTurns, repromptLLMStream, repromptLLMStreamStopTokens, repromptSay, repromptFlowNode, repromptParseIntents, repromptParseKeyphrases, repromptAbsorbContext, validationRepeat, storeResultInContext, contextKey, storeInContactProfile, profileKey, storeDetailedResults, parseResultOnEntry, repromptCondition, maxExecutionDiff, resultLocation, skipRepromptOnIntent, onlyAcceptEscalationIntents, preventTranscript, escalateAnswersAction, escalateAnswersThreshold, escalateAnswersGotoTarget, escalateAnswersExecuteTarget, escalateAnswersGotoExecutionMode, escalateAnswersInjectedText, escalateAnswersInjectedData, escalateAnswersMessage, escalateAnswersRepromptPrevention, escalateAnswersOnce, escalateAnswersHandoverText, escalateAnswersRepeatHandoverMessage, escalateAnswersHandoverCancelIntent, escalateAnswersHandoverQuickReply, escalateAnswersHandoverChatwootInboxId, escalateAnswersHandoverLiveAgentInboxId, escalateAnswersHandoverAdditionalCategoryIds, escalateAnswersHandoverSendTranscriptAsFirstMessage, escalateAnswersHandoverSalesforcePrechatEntities, escalateAnswersHandoverSalesforcePrechatDetails, escalateAnswersHandoverGenesysLanguage, escalateAnswersHandoverGenesysSkills, escalateAnswersHandoverGenesysPriority, escalateAnswersHandoverGenesysCustomAttributes, escalateAnswersHandoverEightByEightChannelId, escalateAnswersHandoverEightByEightQueueId, escalateAnswersHandoverEightByEightJSONProps, escalateAnswersHandoverSendResolveEvent, escalateAnswersHandoverResolveBehavior, escalateAnswersAllowAgentInject, escalateAnswersSendOnActiveEvent, escalateAnswersSendOnQueueEvent, escalateAnswersHandoverProvider, escalateAnswersHandoverProviderConfig, escalateIntentsAction, escalateIntentsValidIntents, escalateIntentsThreshold, escalateIntentsGotoTarget, escalateIntentsExecuteTarget, escalateIntentsGotoExecutionMode, escalateIntentsInjectedText, escalateIntentsInjectedData, escalateIntentsMessage, escalateIntentsHandoverText, escalateIntentsRepeatHandoverMessage, escalateIntentsHandoverCancelIntent, escalateIntentsHandoverQuickReply, escalateIntentsHandoverChatwootInboxId, escalateIntentsHandoverLiveAgentInboxId, escalateIntentsHandoverAdditionalCategoryIds, escalateIntentHandoverSendTranscriptAsFirstMessage, escalateIntentsHandoverSalesforcePrechatEntities, escalateIntentsHandoverSalesforcePrechatDetails, escalateIntentsHandoverGenesysLanguage, escalateIntentsHandoverGenesysSkills, escalateIntentsHandoverGenesysPriority, escalateIntentsHandoverGenesysCustomAttributes, escalateIntentsHandoverEightByEightChannelId, escalateIntentsHandoverEightByEightQueueId, escalateIntentsHandoverEightByEightJSONProps, escalateIntentsRepromptPrevention, escalateIntentsHandoverSendResolveEvent, escalateIntentsHandoverResolveBehavior, escalateIntentsAgentAssistInitMessage, escalateIntentsAllowAgentInject, escalateIntentsSendOnActiveEvent, escalateIntentsSendOnQueueEvent, escalateIntentsHandoverProvider, escalateIntentsHandoverProviderConfig, reconfirmationBehaviour, reconfirmationQuestion, reconfirmationQuestionReprompt, handoverOutput, cleanTextLocale, cleanDisallowedSymbols, additionalAllowedCharacters, additionalSpecialPhrases, resolveSpelledOutNumbers, resolvePhoneticAlphabet, additionalPhoneticAlphabet, replaceSpecialWords, additionalMappedSymbols, resolveSpelledOutAlphabet, resolvePhoneticCounters, contractSingleCharacters, contractNumberGroups, trimResult, runNLUAfterCleaning, overwrittenBaseAnswer } = config;
|
|
1831
2022
|
const { input, context, profile, api } = cognigy;
|
|
1832
2023
|
const rephraseWithAIParams = {
|
|
1833
2024
|
generativeAI_rephraseOutputMode: config.generativeAI_rephraseOutputMode,
|
|
@@ -2230,6 +2421,8 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
2230
2421
|
repeatHandoverMessage: escalateIntentsRepeatHandoverMessage,
|
|
2231
2422
|
cancelIntent: escalateIntentsHandoverCancelIntent,
|
|
2232
2423
|
quickReply: escalateIntentsHandoverQuickReply,
|
|
2424
|
+
handoverProvider: escalateIntentsHandoverProvider,
|
|
2425
|
+
handoverProviderConfig: escalateIntentsHandoverProviderConfig,
|
|
2233
2426
|
additionalCategoryIds: escalateIntentsHandoverAdditionalCategoryIds || [],
|
|
2234
2427
|
chatwootInboxId: escalateIntentsHandoverChatwootInboxId,
|
|
2235
2428
|
liveAgentInboxId: escalateIntentsHandoverLiveAgentInboxId,
|
|
@@ -2378,6 +2571,8 @@ DO NOT talk about other topics. Do not offer general assistance.`,
|
|
|
2378
2571
|
text: escalateAnswersHandoverText,
|
|
2379
2572
|
cancelIntent: escalateAnswersHandoverCancelIntent,
|
|
2380
2573
|
repeatHandoverMessage: escalateAnswersRepeatHandoverMessage,
|
|
2574
|
+
handoverProvider: escalateAnswersHandoverProvider,
|
|
2575
|
+
handoverProviderConfig: escalateAnswersHandoverProviderConfig,
|
|
2381
2576
|
quickReply: escalateAnswersHandoverQuickReply,
|
|
2382
2577
|
chatwootInboxId: escalateAnswersHandoverChatwootInboxId,
|
|
2383
2578
|
liveAgentInboxId: escalateAnswersHandoverLiveAgentInboxId,
|
|
@@ -86,6 +86,9 @@ export const SAY = createNodeDescriptor({
|
|
|
86
86
|
type: "sayNode",
|
|
87
87
|
},
|
|
88
88
|
tags: ["basic", "message"],
|
|
89
|
+
mocking: {
|
|
90
|
+
defaultMockCode: `api.say("Hello from Mock Code!");`
|
|
91
|
+
},
|
|
89
92
|
function: ({ cognigy, config, nodeId, organisationId, nodeType }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
90
93
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
91
94
|
const { api } = cognigy;
|