@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.
Files changed (85) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/build/apigroups/InsightsAPIGroup_2_1.js +27 -0
  3. package/build/apigroups/ResourcesAPIGroup_2_0.js +1 -0
  4. package/build/apigroups/SimulationAPIGroup_2_0.js +24 -23
  5. package/build/apigroups/index.js +3 -1
  6. package/build/shared/charts/descriptors/connectionNodes/smtp/index.js +5 -1
  7. package/build/shared/charts/descriptors/connectionNodes/smtp/oAuth2ClientCredentialsConnection.js +15 -0
  8. package/build/shared/charts/descriptors/connectionNodes/smtp/oAuth2JwtBearerConnection.js +13 -0
  9. package/build/shared/charts/descriptors/connectionNodes/smtp/sendEmail.js +54 -10
  10. package/build/shared/charts/descriptors/connectionNodes/speechProviders/elevenlabsSpeechProviderConnection.js +52 -0
  11. package/build/shared/charts/descriptors/connectionNodes/speechProviders/index.js +8 -7
  12. package/build/shared/charts/descriptors/index.js +4 -0
  13. package/build/shared/charts/descriptors/message/question/question.js +249 -59
  14. package/build/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +17 -15
  15. package/build/shared/charts/descriptors/service/aiAgent/aiAgentJobCallMCPTool.js +6 -4
  16. package/build/shared/charts/descriptors/service/aiAgent/aiAgentJobMCPTool.js +57 -1
  17. package/build/shared/charts/descriptors/service/aiAgent/helpers/createToolDefinitions.js +7 -0
  18. package/build/shared/charts/descriptors/service/aiAgentV2.js +89 -0
  19. package/build/shared/charts/descriptors/service/index.js +5 -1
  20. package/build/shared/charts/descriptors/service/llmPrompt/LLMPromptV2.js +15 -13
  21. package/build/shared/charts/descriptors/service/llmPrompt/llmPromptMCPTool.js +57 -1
  22. package/build/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +67 -13
  23. package/build/shared/charts/descriptors/voice/mappers/transfer.mapper.js +25 -3
  24. package/build/shared/charts/descriptors/voice/nodes/sessionSpeechParameters.js +65 -0
  25. package/build/shared/charts/descriptors/voicegateway2/nodes/play.js +7 -0
  26. package/build/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +137 -1
  27. package/build/shared/charts/descriptors/voicegateway2/nodes/transfer.js +135 -2
  28. package/build/shared/helper/BaseContext.js +1 -1
  29. package/build/shared/interfaces/generativeAI/IGenerativeAIModels.js +1 -0
  30. package/build/shared/interfaces/handoverProviders.js +0 -1
  31. package/build/shared/interfaces/messageAPI/endpoints.js +3 -0
  32. package/build/shared/interfaces/resources/IAuditEvent.js +13 -0
  33. package/build/shared/interfaces/resources/TResourceType.js +2 -0
  34. package/build/shared/interfaces/resources/knowledgeStore/IKnowledgeSource.js +1 -1
  35. package/build/shared/interfaces/resources/settings/IAudioPreviewSettings.js +7 -1
  36. package/build/shared/interfaces/restAPI/analytics/IDeleteConversationsBySessionRest_2_1.js +3 -0
  37. package/build/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/IRunKnowledgeConnectorRest_2_0.js +3 -0
  38. package/build/shared/interfaces/restAPI/simulation/simulationOverview/IGetSimulationOverviewMetricsRestData_2_0.js +3 -0
  39. package/build/shared/interfaces/restAPI/simulation/simulationOverview/IGetSuccessRateTrendRestData_2_0.js +3 -0
  40. package/build/shared/interfaces/restAPI/simulation/simulationOverview/IGetUpcomingScheduledRunsRestData_2_0.js +3 -0
  41. package/build/shared/interfaces/security/ISessionScope.js +3 -0
  42. package/build/shared/interfaces/user.js +2 -0
  43. package/dist/esm/apigroups/InsightsAPIGroup_2_1.js +13 -0
  44. package/dist/esm/apigroups/ResourcesAPIGroup_2_0.js +1 -0
  45. package/dist/esm/apigroups/SimulationAPIGroup_2_0.js +24 -23
  46. package/dist/esm/apigroups/index.js +1 -0
  47. package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/index.js +5 -1
  48. package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/oAuth2ClientCredentialsConnection.js +12 -0
  49. package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/oAuth2JwtBearerConnection.js +10 -0
  50. package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/sendEmail.js +54 -10
  51. package/dist/esm/shared/charts/descriptors/connectionNodes/speechProviders/elevenlabsSpeechProviderConnection.js +49 -0
  52. package/dist/esm/shared/charts/descriptors/connectionNodes/speechProviders/index.js +3 -3
  53. package/dist/esm/shared/charts/descriptors/index.js +5 -1
  54. package/dist/esm/shared/charts/descriptors/message/question/question.js +249 -59
  55. package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +17 -15
  56. package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJobCallMCPTool.js +6 -4
  57. package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJobMCPTool.js +56 -0
  58. package/dist/esm/shared/charts/descriptors/service/aiAgent/helpers/createToolDefinitions.js +7 -0
  59. package/dist/esm/shared/charts/descriptors/service/aiAgentV2.js +87 -0
  60. package/dist/esm/shared/charts/descriptors/service/index.js +2 -0
  61. package/dist/esm/shared/charts/descriptors/service/llmPrompt/LLMPromptV2.js +22 -20
  62. package/dist/esm/shared/charts/descriptors/service/llmPrompt/llmPromptMCPTool.js +56 -0
  63. package/dist/esm/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +67 -13
  64. package/dist/esm/shared/charts/descriptors/voice/mappers/transfer.mapper.js +25 -3
  65. package/dist/esm/shared/charts/descriptors/voice/nodes/sessionSpeechParameters.js +65 -0
  66. package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/play.js +7 -0
  67. package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +137 -1
  68. package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/transfer.js +135 -2
  69. package/dist/esm/shared/helper/BaseContext.js +1 -1
  70. package/dist/esm/shared/interfaces/generativeAI/IGenerativeAIModels.js +1 -0
  71. package/dist/esm/shared/interfaces/handoverProviders.js +0 -1
  72. package/dist/esm/shared/interfaces/messageAPI/endpoints.js +3 -0
  73. package/dist/esm/shared/interfaces/resources/IAuditEvent.js +13 -0
  74. package/dist/esm/shared/interfaces/resources/TResourceType.js +2 -0
  75. package/dist/esm/shared/interfaces/resources/knowledgeStore/IKnowledgeSource.js +1 -1
  76. package/dist/esm/shared/interfaces/resources/settings/IAudioPreviewSettings.js +7 -1
  77. package/dist/esm/shared/interfaces/restAPI/analytics/IDeleteConversationsBySessionRest_2_1.js +2 -0
  78. package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/connector/IRunKnowledgeConnectorRest_2_0.js +2 -0
  79. package/dist/esm/shared/interfaces/restAPI/simulation/simulationOverview/IGetSimulationOverviewMetricsRestData_2_0.js +2 -0
  80. package/dist/esm/shared/interfaces/restAPI/simulation/simulationOverview/IGetSuccessRateTrendRestData_2_0.js +2 -0
  81. package/dist/esm/shared/interfaces/restAPI/simulation/simulationOverview/IGetUpcomingScheduledRunsRestData_2_0.js +2 -0
  82. package/dist/esm/shared/interfaces/security/ISessionScope.js +2 -0
  83. package/dist/esm/shared/interfaces/user.js +2 -0
  84. package/package.json +1 -1
  85. package/types/index.d.ts +285 -29
@@ -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
- key: "escalateAnswersAction",
739
- value: "handover"
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
- key: "escalateAnswersAction",
781
- value: "handover"
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
- key: "escalateAnswersAction",
791
- value: "handover"
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
- key: "escalateAnswersAction",
802
- value: "handover"
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
- key: "escalateAnswersAction",
813
- value: "handover"
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
- key: "escalateAnswersAction",
824
- value: "handover"
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
- key: "escalateAnswersAction",
834
- value: "handover"
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
- key: "escalateAnswersAction",
844
- value: "handover"
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
- key: "escalateAnswersAction",
854
- value: "handover"
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
- key: "escalateAnswersAction",
865
- value: "handover"
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
- key: "escalateAnswersAction",
875
- value: "handover"
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
- key: "escalateAnswersAction",
885
- value: "handover"
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
- key: "escalateAnswersAction",
907
- value: "handover"
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
- key: "escalateAnswersAction",
918
- value: "handover"
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
- key: "escalateIntentsAction",
1184
- value: "handover"
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
- key: "escalateIntentsAction",
1195
- value: "handover"
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
- key: "escalateIntentsAction",
1205
- value: "handover"
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
- key: "escalateIntentsAction",
1215
- value: "handover"
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
- key: "escalateIntentsAction",
1226
- value: "handover"
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
- key: "escalateIntentsAction",
1237
- value: "handover"
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
- key: "escalateIntentsAction",
1248
- value: "handover"
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
- key: "escalateIntentsAction",
1258
- value: "handover"
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
- key: "escalateIntentsAction",
1269
- value: "handover"
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
- key: "escalateIntentsAction",
1279
- value: "handover"
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
- key: "escalateIntentsAction",
1290
- value: "handover"
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
- key: "escalateIntentsAction",
1300
- value: "handover"
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
- key: "escalateIntentsAction",
1310
- value: "handover"
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
- key: "escalateIntentsAction",
1332
- value: "handover"
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
- key: "escalateIntentsAction",
1343
- value: "handover"
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,
@@ -1832,7 +2018,7 @@ DO NOT talk about other topics. Do not offer general assistance.`,
1832
2018
  //#endregion DescriptorFields
1833
2019
  function: ({ cognigy, nodeId, organisationId, config, inputOptions }) => __awaiter(void 0, void 0, void 0, function* () {
1834
2020
  var _a, _b, _c;
1835
- 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;
1836
2022
  const { input, context, profile, api } = cognigy;
1837
2023
  const rephraseWithAIParams = {
1838
2024
  generativeAI_rephraseOutputMode: config.generativeAI_rephraseOutputMode,
@@ -2235,6 +2421,8 @@ DO NOT talk about other topics. Do not offer general assistance.`,
2235
2421
  repeatHandoverMessage: escalateIntentsRepeatHandoverMessage,
2236
2422
  cancelIntent: escalateIntentsHandoverCancelIntent,
2237
2423
  quickReply: escalateIntentsHandoverQuickReply,
2424
+ handoverProvider: escalateIntentsHandoverProvider,
2425
+ handoverProviderConfig: escalateIntentsHandoverProviderConfig,
2238
2426
  additionalCategoryIds: escalateIntentsHandoverAdditionalCategoryIds || [],
2239
2427
  chatwootInboxId: escalateIntentsHandoverChatwootInboxId,
2240
2428
  liveAgentInboxId: escalateIntentsHandoverLiveAgentInboxId,
@@ -2383,6 +2571,8 @@ DO NOT talk about other topics. Do not offer general assistance.`,
2383
2571
  text: escalateAnswersHandoverText,
2384
2572
  cancelIntent: escalateAnswersHandoverCancelIntent,
2385
2573
  repeatHandoverMessage: escalateAnswersRepeatHandoverMessage,
2574
+ handoverProvider: escalateAnswersHandoverProvider,
2575
+ handoverProviderConfig: escalateAnswersHandoverProviderConfig,
2386
2576
  quickReply: escalateAnswersHandoverQuickReply,
2387
2577
  chatwootInboxId: escalateAnswersHandoverChatwootInboxId,
2388
2578
  liveAgentInboxId: escalateAnswersHandoverLiveAgentInboxId,