@cognigy/rest-api-client 2025.11.0 → 2025.13.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 (103) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/build/RestAPIClient.js +7 -0
  3. package/build/apigroups/ResourcesAPIGroup_2_0.js +4 -0
  4. package/build/apigroups/SimulationAPIGroup_2_0.js +58 -0
  5. package/build/apigroups/index.js +3 -1
  6. package/build/shared/charts/descriptors/analytics/trackGoal.js +3 -1
  7. package/build/shared/charts/descriptors/index.js +7 -1
  8. package/build/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +4 -2
  9. package/build/shared/charts/descriptors/message/question/question.js +24 -5
  10. package/build/shared/charts/descriptors/service/GPTPrompt.js +15 -1
  11. package/build/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +32 -173
  12. package/build/shared/charts/descriptors/service/aiAgent/aiAgentJobTool.js +2 -2
  13. package/build/shared/charts/descriptors/service/aiAgent/helpers/createToolDefinitions.js +175 -0
  14. package/build/shared/charts/descriptors/service/aiAgent/loadAiAgent.js +194 -0
  15. package/build/shared/charts/descriptors/service/aiOpsCenterConnection.js +12 -0
  16. package/build/shared/charts/descriptors/service/handoverV2.js +1 -1
  17. package/build/shared/charts/descriptors/service/index.js +13 -1
  18. package/build/shared/charts/descriptors/service/llmPrompt/LLMPromptV2.js +922 -0
  19. package/build/shared/charts/descriptors/service/llmPrompt/llmPromptDefault.js +31 -0
  20. package/build/shared/charts/descriptors/service/llmPrompt/llmPromptMCPTool.js +196 -0
  21. package/build/shared/charts/descriptors/service/llmPrompt/llmPromptTool.js +139 -0
  22. package/build/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +2 -2
  23. package/build/shared/constants.js +1 -5
  24. package/build/shared/interfaces/debugEvents/IGoalCompletedEventPayload.js +3 -0
  25. package/build/shared/interfaces/debugEvents/TDebugEventType.js +1 -0
  26. package/build/shared/interfaces/generativeAI/IGenerativeAIModels.js +12 -1
  27. package/build/shared/interfaces/resources/IAuditEvent.js +3 -0
  28. package/build/shared/interfaces/resources/ILargeLanguageModel.js +1 -0
  29. package/build/shared/interfaces/resources/TResourceType.js +2 -0
  30. package/build/shared/interfaces/resources/TRestChannelType.js +5 -0
  31. package/build/shared/interfaces/resources/knowledgeStore/IKnowledgeChunk.js +2 -1
  32. package/build/shared/interfaces/resources/settings/IGenerativeAISettings.js +5 -18
  33. package/build/shared/interfaces/restAPI/operations/generateOutput/v2.0/index.js +3 -0
  34. package/build/shared/interfaces/restAPI/opsCenter/observationConfig/IOpsCenterObservationConfig.js +1 -1
  35. package/build/shared/interfaces/restAPI/simulation/simulation/ICreateSimulationRest_2_0.js +3 -0
  36. package/build/shared/interfaces/restAPI/simulation/simulation/IDeleteSimulationRest_2_0.js +3 -0
  37. package/build/shared/interfaces/restAPI/simulation/simulation/IIndexSimulationRest_2_0.js +3 -0
  38. package/build/shared/interfaces/restAPI/simulation/simulation/IReadSimulationRest_2_0.js +3 -0
  39. package/build/shared/interfaces/restAPI/simulation/simulation/IScheduleSimulationRest_2_0.js +3 -0
  40. package/build/shared/interfaces/restAPI/simulation/simulation/ISimulationRest_2_0.js +9 -0
  41. package/build/shared/interfaces/restAPI/simulation/simulation/IUpdateSimulationRest_2_0.js +3 -0
  42. package/build/shared/interfaces/restAPI/simulation/simulationRun/IIndexSimulationRunRest_2_0.js +3 -0
  43. package/build/shared/interfaces/restAPI/simulation/simulationRun/IReadSimulationRunRest_2_0.js +3 -0
  44. package/build/shared/interfaces/restAPI/simulation/simulationRun/ISimulationRunRest_2_0.js +19 -0
  45. package/build/shared/interfaces/restAPI/simulation/simulationRunBatch/IGetAllSimulationRunBatchRest_2_0.js +3 -0
  46. package/build/shared/interfaces/restAPI/simulation/simulationRunBatch/IIndexSimulationRunBatchRest_2_0.js +3 -0
  47. package/build/shared/interfaces/restAPI/simulation/simulationRunBatch/IReadSimulationRunBatchRest_2_0.js +3 -0
  48. package/build/shared/interfaces/restAPI/simulation/simulationRunBatch/ISimulationRunBatchRest_2_0.js +9 -0
  49. package/build/shared/interfaces/security/IPermission.js +2 -0
  50. package/build/shared/interfaces/security/IRole.js +3 -1
  51. package/build/shared/interfaces/security/index.js +1 -1
  52. package/dist/esm/RestAPIClient.js +7 -0
  53. package/dist/esm/apigroups/ResourcesAPIGroup_2_0.js +4 -0
  54. package/dist/esm/apigroups/SimulationAPIGroup_2_0.js +44 -0
  55. package/dist/esm/apigroups/index.js +1 -0
  56. package/dist/esm/shared/charts/descriptors/analytics/trackGoal.js +3 -1
  57. package/dist/esm/shared/charts/descriptors/index.js +8 -2
  58. package/dist/esm/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +4 -2
  59. package/dist/esm/shared/charts/descriptors/message/question/question.js +24 -5
  60. package/dist/esm/shared/charts/descriptors/service/GPTPrompt.js +15 -1
  61. package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +33 -174
  62. package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJobTool.js +2 -2
  63. package/dist/esm/shared/charts/descriptors/service/aiAgent/helpers/createToolDefinitions.js +172 -0
  64. package/dist/esm/shared/charts/descriptors/service/aiAgent/loadAiAgent.js +192 -0
  65. package/dist/esm/shared/charts/descriptors/service/aiOpsCenterConnection.js +9 -0
  66. package/dist/esm/shared/charts/descriptors/service/handoverV2.js +1 -1
  67. package/dist/esm/shared/charts/descriptors/service/index.js +6 -0
  68. package/dist/esm/shared/charts/descriptors/service/llmPrompt/LLMPromptV2.js +909 -0
  69. package/dist/esm/shared/charts/descriptors/service/llmPrompt/llmPromptDefault.js +28 -0
  70. package/dist/esm/shared/charts/descriptors/service/llmPrompt/llmPromptMCPTool.js +193 -0
  71. package/dist/esm/shared/charts/descriptors/service/llmPrompt/llmPromptTool.js +136 -0
  72. package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +2 -2
  73. package/dist/esm/shared/constants.js +1 -5
  74. package/dist/esm/shared/interfaces/debugEvents/IGoalCompletedEventPayload.js +2 -0
  75. package/dist/esm/shared/interfaces/debugEvents/TDebugEventType.js +1 -0
  76. package/dist/esm/shared/interfaces/generativeAI/IGenerativeAIModels.js +12 -1
  77. package/dist/esm/shared/interfaces/resources/IAuditEvent.js +3 -0
  78. package/dist/esm/shared/interfaces/resources/ILargeLanguageModel.js +1 -0
  79. package/dist/esm/shared/interfaces/resources/TResourceType.js +2 -0
  80. package/dist/esm/shared/interfaces/resources/TRestChannelType.js +5 -0
  81. package/dist/esm/shared/interfaces/resources/knowledgeStore/IKnowledgeChunk.js +2 -1
  82. package/dist/esm/shared/interfaces/resources/settings/IGenerativeAISettings.js +4 -17
  83. package/dist/esm/shared/interfaces/restAPI/operations/generateOutput/v2.0/index.js +2 -0
  84. package/dist/esm/shared/interfaces/restAPI/opsCenter/observationConfig/IOpsCenterObservationConfig.js +1 -1
  85. package/dist/esm/shared/interfaces/restAPI/simulation/simulation/ICreateSimulationRest_2_0.js +2 -0
  86. package/dist/esm/shared/interfaces/restAPI/simulation/simulation/IDeleteSimulationRest_2_0.js +2 -0
  87. package/dist/esm/shared/interfaces/restAPI/simulation/simulation/IIndexSimulationRest_2_0.js +2 -0
  88. package/dist/esm/shared/interfaces/restAPI/simulation/simulation/IReadSimulationRest_2_0.js +2 -0
  89. package/dist/esm/shared/interfaces/restAPI/simulation/simulation/IScheduleSimulationRest_2_0.js +2 -0
  90. package/dist/esm/shared/interfaces/restAPI/simulation/simulation/ISimulationRest_2_0.js +6 -0
  91. package/dist/esm/shared/interfaces/restAPI/simulation/simulation/IUpdateSimulationRest_2_0.js +2 -0
  92. package/dist/esm/shared/interfaces/restAPI/simulation/simulationRun/IIndexSimulationRunRest_2_0.js +2 -0
  93. package/dist/esm/shared/interfaces/restAPI/simulation/simulationRun/IReadSimulationRunRest_2_0.js +2 -0
  94. package/dist/esm/shared/interfaces/restAPI/simulation/simulationRun/ISimulationRunRest_2_0.js +16 -0
  95. package/dist/esm/shared/interfaces/restAPI/simulation/simulationRunBatch/IGetAllSimulationRunBatchRest_2_0.js +2 -0
  96. package/dist/esm/shared/interfaces/restAPI/simulation/simulationRunBatch/IIndexSimulationRunBatchRest_2_0.js +2 -0
  97. package/dist/esm/shared/interfaces/restAPI/simulation/simulationRunBatch/IReadSimulationRunBatchRest_2_0.js +2 -0
  98. package/dist/esm/shared/interfaces/restAPI/simulation/simulationRunBatch/ISimulationRunBatchRest_2_0.js +6 -0
  99. package/dist/esm/shared/interfaces/security/IPermission.js +2 -0
  100. package/dist/esm/shared/interfaces/security/IRole.js +3 -1
  101. package/dist/esm/shared/interfaces/security/index.js +1 -1
  102. package/package.json +1 -1
  103. package/types/index.d.ts +394 -45
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LLM_PROMPT_DEFAULT = void 0;
4
+ /* Custom modules */
5
+ const createNodeDescriptor_1 = require("../../../createNodeDescriptor");
6
+ exports.LLM_PROMPT_DEFAULT = (0, createNodeDescriptor_1.createNodeDescriptor)({
7
+ type: "llmPromptDefault",
8
+ defaultLabel: "Default",
9
+ parentType: "llmPromptV2",
10
+ constraints: {
11
+ editable: false,
12
+ deletable: false,
13
+ collapsable: true,
14
+ creatable: false,
15
+ movable: false,
16
+ placement: {
17
+ predecessor: {
18
+ whitelist: []
19
+ }
20
+ }
21
+ },
22
+ fields: [],
23
+ sections: [],
24
+ form: [],
25
+ appearance: {
26
+ color: "white",
27
+ textColor: "#252525",
28
+ variant: "mini",
29
+ },
30
+ });
31
+ //# sourceMappingURL=llmPromptDefault.js.map
@@ -0,0 +1,196 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LLM_PROMPT_MCP_TOOL = void 0;
4
+ /* Custom modules */
5
+ const createNodeDescriptor_1 = require("../../../createNodeDescriptor");
6
+ exports.LLM_PROMPT_MCP_TOOL = (0, createNodeDescriptor_1.createNodeDescriptor)({
7
+ type: "llmPromptMCPTool",
8
+ defaultLabel: "MCP Tool",
9
+ summary: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__SUMMARY",
10
+ parentType: "llmPromptV2",
11
+ constraints: {
12
+ editable: true,
13
+ deletable: true,
14
+ collapsable: true,
15
+ creatable: true,
16
+ movable: true,
17
+ placement: {
18
+ predecessor: {
19
+ whitelist: [],
20
+ },
21
+ },
22
+ childFlowCreatable: false,
23
+ },
24
+ preview: {
25
+ type: "text",
26
+ key: "name",
27
+ },
28
+ fields: [
29
+ {
30
+ type: "description",
31
+ key: "cachingWarning",
32
+ label: " ",
33
+ params: {
34
+ text: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__CACHING_WARNING__TEXT",
35
+ },
36
+ condition: {
37
+ key: "cacheTools",
38
+ value: false,
39
+ }
40
+ },
41
+ {
42
+ key: "name",
43
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__NAME__LABEL",
44
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__NAME__DESCRIPTION",
45
+ type: "cognigyText",
46
+ params: {
47
+ required: true,
48
+ rows: 1,
49
+ multiline: false,
50
+ maxLength: 64,
51
+ },
52
+ },
53
+ {
54
+ type: "description",
55
+ key: "mcpWarning",
56
+ label: " ",
57
+ params: {
58
+ text: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__MCP_WARNING__TEXT",
59
+ },
60
+ },
61
+ {
62
+ key: "mcpServerUrl",
63
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__MCP_SERVER_URL__LABEL",
64
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__MCP_SERVER_URL__DESCRIPTION",
65
+ type: "cognigyText",
66
+ params: {
67
+ required: true,
68
+ rows: 5,
69
+ multiline: true,
70
+ },
71
+ },
72
+ {
73
+ key: "timeout",
74
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__TIMEOUT__LABEL",
75
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__TIMEOUT__DESCRIPTION",
76
+ type: "slider",
77
+ defaultValue: 12,
78
+ params: {
79
+ min: 1,
80
+ max: 30,
81
+ step: 1,
82
+ },
83
+ },
84
+ {
85
+ key: "debugMessageFetchedTools",
86
+ type: "toggle",
87
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__DEBUG_TOOLS__LABEL",
88
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__DEBUG_TOOLS__DESCRIPTION",
89
+ defaultValue: true,
90
+ },
91
+ {
92
+ key: "debugMessageParameters",
93
+ type: "toggle",
94
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__DEBUG_PARAMETERS__LABEL",
95
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__DEBUG_PARAMETERS__DESCRIPTION",
96
+ defaultValue: false,
97
+ condition: {
98
+ key: "debugMessageFetchedTools",
99
+ value: true,
100
+ },
101
+ },
102
+ {
103
+ key: "debugMessage",
104
+ type: "toggle",
105
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__DEBUG_MESSAGE__LABEL",
106
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__DEBUG_MESSAGE__DESCRIPTION",
107
+ defaultValue: true,
108
+ },
109
+ {
110
+ key: "cacheTools",
111
+ type: "toggle",
112
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__CACHE_TOOLS__LABEL",
113
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__CACHE_TOOLS__DESCRIPTION",
114
+ defaultValue: true,
115
+ },
116
+ {
117
+ key: "condition",
118
+ label: "UI__NODE_EDITOR__SERVICE__AI_AGENT_TOOL__FIELDS__CONDITION__LABEL",
119
+ description: "UI__NODE_EDITOR__SERVICE__AI_AGENT_TOOL__FIELDS__CONDITION__DESCRIPTION",
120
+ type: "cognigyText",
121
+ defaultValue: "",
122
+ },
123
+ {
124
+ key: "toolFilter",
125
+ type: "select",
126
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__TOOL_FILTER__LABEL",
127
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__TOOL_FILTER__DESCRIPTION",
128
+ defaultValue: "none",
129
+ params: {
130
+ options: [
131
+ {
132
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__TOOL_FILTER__OPTIONS__NONE__LABEL",
133
+ value: "none",
134
+ },
135
+ {
136
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__TOOL_FILTER__OPTIONS__WHITELIST__LABEL",
137
+ value: "whitelist",
138
+ },
139
+ {
140
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__TOOL_FILTER__OPTIONS__BLACKLIST__LABEL",
141
+ value: "blacklist",
142
+ },
143
+ ],
144
+ },
145
+ },
146
+ {
147
+ key: "whitelist",
148
+ type: "cognigyTextArray",
149
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__WHITELIST__LABEL",
150
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__WHITELIST__DESCRIPTION",
151
+ condition: {
152
+ key: "toolFilter",
153
+ value: "whitelist",
154
+ },
155
+ },
156
+ {
157
+ key: "blacklist",
158
+ type: "cognigyTextArray",
159
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__BLACKLIST__LABEL",
160
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_MCP_TOOL__FIELDS__BLACKLIST__DESCRIPTION",
161
+ condition: {
162
+ key: "toolFilter",
163
+ value: "blacklist",
164
+ },
165
+ },
166
+ ],
167
+ sections: [
168
+ {
169
+ key: "debugging",
170
+ label: "UI__NODE_EDITOR__SERVICE__AI_AGENT_JOB__SECTIONS__DEBUG_SETTINGS__LABEL",
171
+ defaultCollapsed: true,
172
+ fields: ["debugMessageFetchedTools", "debugMessageParameters", "debugMessage"],
173
+ },
174
+ {
175
+ key: "advanced",
176
+ label: "UI__NODE_EDITOR__SERVICE__AI_AGENT_JOB__SECTIONS__ADVANCED__LABEL",
177
+ defaultCollapsed: true,
178
+ fields: ["cacheTools", "condition", "toolFilter", "whitelist", "blacklist"],
179
+ },
180
+ ],
181
+ form: [
182
+ { type: "field", key: "cachingWarning" },
183
+ { type: "field", key: "name" },
184
+ { type: "field", key: "mcpWarning" },
185
+ { type: "field", key: "mcpServerUrl" },
186
+ { type: "field", key: "timeout" },
187
+ { type: "section", key: "debugging" },
188
+ { type: "section", key: "advanced" },
189
+ ],
190
+ appearance: {
191
+ color: "white",
192
+ textColor: "#252525",
193
+ variant: "mini",
194
+ },
195
+ });
196
+ //# sourceMappingURL=llmPromptMCPTool.js.map
@@ -0,0 +1,139 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LLM_PROMPT_TOOL = void 0;
4
+ /* Custom modules */
5
+ const createNodeDescriptor_1 = require("../../../createNodeDescriptor");
6
+ exports.LLM_PROMPT_TOOL = (0, createNodeDescriptor_1.createNodeDescriptor)({
7
+ type: "llmPromptTool",
8
+ defaultLabel: "Tool",
9
+ parentType: "llmPromptV2",
10
+ constraints: {
11
+ editable: true,
12
+ deletable: true,
13
+ collapsable: true,
14
+ creatable: true,
15
+ movable: true,
16
+ placement: {
17
+ predecessor: {
18
+ whitelist: []
19
+ }
20
+ },
21
+ childFlowCreatable: false
22
+ },
23
+ preview: {
24
+ type: "text",
25
+ key: "toolId"
26
+ },
27
+ fields: [
28
+ {
29
+ key: "toolId",
30
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_TOOL__FIELDS__TOOL_ID__LABEL",
31
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_TOOL__FIELDS__TOOL_ID__DESCRIPTION",
32
+ type: "cognigyLLMText",
33
+ defaultValue: "unlock_account",
34
+ params: {
35
+ required: true,
36
+ rows: 1,
37
+ multiline: false,
38
+ maxLength: 64,
39
+ }
40
+ },
41
+ {
42
+ key: "description",
43
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_TOOL__FIELDS__DESCRIPTION__LABEL",
44
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_TOOL__FIELDS__DESCRIPTION__DESCRIPTION",
45
+ type: "cognigyLLMText",
46
+ defaultValue: "This tool unlocks a locked user account.",
47
+ params: {
48
+ required: true,
49
+ rows: 5,
50
+ multiline: true
51
+ }
52
+ },
53
+ {
54
+ key: "useParameters",
55
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_TOOL__FIELDS__USE_PARAMETERS__LABEL",
56
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_TOOL__FIELDS__USE_PARAMETERS__DESCRIPTION",
57
+ type: "toggle",
58
+ defaultValue: false
59
+ },
60
+ {
61
+ key: "parameters",
62
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_TOOL__FIELDS__PARAMETERS__LABEL",
63
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_TOOL__FIELDS__PARAMETERS__DESCRIPTION",
64
+ type: "toolParameters",
65
+ defaultValue: `{
66
+ "type": "object",
67
+ "properties": {
68
+ "email": {
69
+ "type": "string",
70
+ "description": "User's login email for their account."
71
+ }
72
+ },
73
+ "required": ["email"],
74
+ "additionalProperties": false
75
+ }`,
76
+ params: {
77
+ required: false,
78
+ },
79
+ },
80
+ {
81
+ key: "debugMessage",
82
+ type: "toggle",
83
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_TOOL__FIELDS__DEBUG_MESSAGE__LABEL",
84
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_TOOL__FIELDS__DEBUG_MESSAGE__DESCRIPTION",
85
+ defaultValue: true,
86
+ },
87
+ {
88
+ key: "condition",
89
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_TOOL__FIELDS__CONDITION__LABEL",
90
+ description: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_TOOL__FIELDS__CONDITION__DESCRIPTION",
91
+ type: "cognigyText",
92
+ defaultValue: "",
93
+ },
94
+ ],
95
+ sections: [
96
+ {
97
+ key: "parameters",
98
+ label: "UI__NODE_EDITOR__SERVICE__LLM_PROMPT_TOOL__SECTIONS__PARAMETERS__LABEL",
99
+ defaultCollapsed: true,
100
+ fields: [
101
+ "parameters",
102
+ ],
103
+ condition: {
104
+ key: "useParameters",
105
+ value: true
106
+ },
107
+ },
108
+ {
109
+ key: "debugging",
110
+ label: "UI__NODE_EDITOR__SERVICE__AI_AGENT_JOB__SECTIONS__DEBUG_SETTINGS__LABEL",
111
+ defaultCollapsed: true,
112
+ fields: [
113
+ "debugMessage",
114
+ ],
115
+ },
116
+ {
117
+ key: "advanced",
118
+ label: "UI__NODE_EDITOR__SERVICE__AI_AGENT_JOB__SECTIONS__ADVANCED__LABEL",
119
+ defaultCollapsed: true,
120
+ fields: [
121
+ "condition",
122
+ ],
123
+ },
124
+ ],
125
+ form: [
126
+ { type: "field", key: "toolId" },
127
+ { type: "field", key: "description" },
128
+ { type: "field", key: "useParameters" },
129
+ { type: "section", key: "parameters" },
130
+ { type: "section", key: "debugging" },
131
+ { type: "section", key: "advanced" },
132
+ ],
133
+ appearance: {
134
+ color: "white",
135
+ textColor: "#252525",
136
+ variant: "mini",
137
+ },
138
+ });
139
+ //# sourceMappingURL=llmPromptTool.js.map
@@ -1081,8 +1081,8 @@ exports.setSessionConfigNode = (0, createNodeDescriptor_1.createNodeDescriptor)(
1081
1081
  { type: "section", key: "params_dtmf" },
1082
1082
  { type: "section", key: "params_continuous_asr" },
1083
1083
  { type: "section", key: "params_azure_config" },
1084
- process.env.DISABLE_VG_SILENCE_OVERLAY !== "true" && { type: "section", key: "params_atmosphere_sound" },
1085
- process.env.DISABLE_VG_ATMOSPHERE_NOISE !== "true" && { type: "section", key: "params_silence_overlay" },
1084
+ process.env.DISABLE_VG_ATMOSPHERE_NOISE !== "true" && { type: "section", key: "params_atmosphere_sound" },
1085
+ process.env.DISABLE_VG_SILENCE_OVERLAY !== "true" && { type: "section", key: "params_silence_overlay" },
1086
1086
  { type: "section", key: "advanced" },
1087
1087
  ]
1088
1088
  .filter(element => !!element),
@@ -54,17 +54,13 @@ exports.IP_NOT_AVAILABLE = "not available";
54
54
  exports.SECONDS_PER_MINUTE = 60;
55
55
  // Platform provided LLM
56
56
  exports.PLATFORM_PROVIDED_LLM_USE_CASES = [
57
- "intentSentenceGeneration",
58
- "flowGeneration",
59
- "lexiconGeneration",
60
- "generateNodeOutput",
61
57
  "designTimeGeneration",
62
58
  ];
63
59
  exports.DEPRECATED_GENAI_USE_CASES = [
64
60
  "intentSentenceGeneration",
65
61
  "flowGeneration",
66
- "lexiconGeneration",
67
62
  "generateNodeOutput",
63
+ "lexiconGeneration",
68
64
  ];
69
65
  exports.PLATFORM_PROVIDED_LLM_ID = "aaaaaaaa-aaaa-aaaa-aaaa-000000000000";
70
66
  exports.PLATFORM_PROVIDED_LLM_CONNECTION_ID = "aaaaaaaa-aaaa-aaaa-aaaa-000000000001";
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IGoalCompletedEventPayload.js.map
@@ -15,5 +15,6 @@ exports.arrayTDebugEventTypes = [
15
15
  "nluWarning",
16
16
  "debugMessage",
17
17
  "debugError",
18
+ "goalCompleted",
18
19
  ];
19
20
  //# sourceMappingURL=TDebugEventType.js.map
@@ -19,6 +19,9 @@ exports.generativeAIModels = [
19
19
  "gpt-4",
20
20
  "gpt-4o",
21
21
  "gpt-4o-mini",
22
+ "gpt-4.1",
23
+ "gpt-4.1-mini",
24
+ "gpt-4.1-nano",
22
25
  "luminous-extended-control",
23
26
  "claude-v1-100k",
24
27
  "claude-instant-v1",
@@ -26,6 +29,11 @@ exports.generativeAIModels = [
26
29
  "claude-3-haiku-20240307",
27
30
  "claude-3-sonnet-20240229",
28
31
  "claude-3-5-sonnet-20241022",
32
+ "claude-3-7-sonnet-20250219",
33
+ "claude-3-5-sonnet-latest",
34
+ "claude-3-7-sonnet-latest",
35
+ "claude-opus-4-0",
36
+ "claude-sonnet-4-0",
29
37
  "text-bison@001",
30
38
  "custom-model",
31
39
  "gemini-1.0-pro",
@@ -37,11 +45,14 @@ exports.generativeAIModels = [
37
45
  "amazon.nova-pro-v1:0",
38
46
  "amazon.nova-micro-v1:0",
39
47
  "anthropic.claude-3-5-sonnet-20240620-v1:0",
40
- "claude-3-7-sonnet-20250219",
41
48
  "mistral-large-2411",
42
49
  "mistral-small-2503",
43
50
  "pixtral-large-2411",
44
51
  "pixtral-12b-2409",
52
+ "mistral-large-latest",
53
+ "pixtral-large-latest",
54
+ "mistral-medium-latest",
55
+ "mistral-small-latest",
45
56
  ...exports.embeddingModels,
46
57
  ];
47
58
  exports.generativeAIProviders = [
@@ -108,6 +108,9 @@ exports.actionTypes = [
108
108
  "optionsResolver",
109
109
  "processKnowledgeSourceUrl",
110
110
  "processKnowledgeSourceFile",
111
+ "setupObservationConfig",
112
+ "updateObservationConfig",
113
+ "resolveAiOpsCenterError"
111
114
  ];
112
115
  exports.auditEventSchema = {
113
116
  title: "auditEventSchema",
@@ -56,6 +56,7 @@ exports.openAICompatibleMetaSchema = {
56
56
  properties: {
57
57
  customModel: { type: "string" },
58
58
  baseCustomUrl: { type: "string" },
59
+ customAuthHeader: { type: "string" },
59
60
  }
60
61
  };
61
62
  exports.azureOpenAIMetaSchema = {
@@ -46,6 +46,7 @@ exports.pinnableResourceTypes = exports.primaryResourceTypes = exports.packageab
46
46
  * - slotFiller
47
47
  * - snapshot
48
48
  * - snippet
49
+ * - simulation
49
50
  */
50
51
  exports.arrayTResourceType = [
51
52
  "agentassistconfig",
@@ -87,6 +88,7 @@ exports.arrayTResourceType = [
87
88
  "snapshot",
88
89
  "snippet",
89
90
  "aiAgent",
91
+ "simulation",
90
92
  ];
91
93
  exports.arrayTSnapshottableResourceType = [
92
94
  "agentSettings",
@@ -18,6 +18,7 @@ exports.restChannelTypes = [
18
18
  "genesysBotConnector",
19
19
  "niceCXOne",
20
20
  "niceCXOneAAH",
21
+ "zoomContactCenter",
21
22
  ];
22
23
  exports.restChannelDisplayNames = [
23
24
  {
@@ -84,5 +85,9 @@ exports.restChannelDisplayNames = [
84
85
  channel: "niceCXOneAAH",
85
86
  displayName: "NICE CXone AAH"
86
87
  },
88
+ {
89
+ channel: "zoomContactCenter",
90
+ displayName: "Zoom Contact Center"
91
+ }
87
92
  ];
88
93
  //# sourceMappingURL=TRestChannelType.js.map
@@ -12,7 +12,8 @@ exports.knowledgeChunkDataSchema = {
12
12
  order: { type: "number" },
13
13
  text: {
14
14
  type: "string",
15
- minLength: 0,
15
+ minLength: 1,
16
+ pattern: "\\S",
16
17
  maxLength: parseInt(process.env.MAX_CHUNK_SIZE, 10) || 2000,
17
18
  },
18
19
  embedding: {
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.generativeAISettingsDataSchema = exports.generativeAIUseCaseDataSchema = void 0;
3
+ exports.generativeAISettingsDataSchema = exports.generativeAIUseCaseDataSchema = exports.configurableGenerativeAIUseCases = void 0;
4
+ const IGenerativeAIModels_1 = require("../../generativeAI/IGenerativeAIModels");
5
+ const constants_1 = require("../../../constants");
6
+ exports.configurableGenerativeAIUseCases = IGenerativeAIModels_1.generativeAIUseCases.filter((useCase) => !constants_1.DEPRECATED_GENAI_USE_CASES.includes(useCase));
4
7
  exports.generativeAIUseCaseDataSchema = {
5
8
  title: "generativeAIMetaAzureOpenAIDataSchema",
6
9
  type: "object",
@@ -34,22 +37,10 @@ exports.generativeAISettingsDataSchema = {
34
37
  type: "object",
35
38
  properties: Object.assign({}, exports.generativeAIUseCaseDataSchema.properties)
36
39
  },
37
- intentSentenceGeneration: {
38
- type: "object",
39
- properties: Object.assign({}, exports.generativeAIUseCaseDataSchema.properties)
40
- },
41
40
  aiEnhancedOutputs: {
42
41
  type: "object",
43
42
  properties: Object.assign({}, exports.generativeAIUseCaseDataSchema.properties)
44
43
  },
45
- lexiconGeneration: {
46
- type: "object",
47
- properties: Object.assign({}, exports.generativeAIUseCaseDataSchema.properties)
48
- },
49
- flowGeneration: {
50
- type: "object",
51
- properties: Object.assign({}, exports.generativeAIUseCaseDataSchema.properties)
52
- },
53
44
  gptConversation: {
54
45
  type: "object",
55
46
  properties: Object.assign({}, exports.generativeAIUseCaseDataSchema.properties)
@@ -58,10 +49,6 @@ exports.generativeAISettingsDataSchema = {
58
49
  type: "object",
59
50
  properties: Object.assign({}, exports.generativeAIUseCaseDataSchema.properties)
60
51
  },
61
- generateNodeOutput: {
62
- type: "object",
63
- properties: Object.assign({}, exports.generativeAIUseCaseDataSchema.properties)
64
- },
65
52
  knowledgeSearch: {
66
53
  type: "object",
67
54
  properties: Object.assign({}, exports.generativeAIUseCaseDataSchema.properties)
@@ -81,7 +68,7 @@ exports.generativeAISettingsDataSchema = {
81
68
  aiAgent: {
82
69
  type: "object",
83
70
  properties: Object.assign({}, exports.generativeAIUseCaseDataSchema.properties)
84
- },
71
+ }
85
72
  }
86
73
  }
87
74
  }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const notificationChannels = ["email"];
3
+ const notificationChannels = ["email", "webhook"];
4
4
  //# sourceMappingURL=IOpsCenterObservationConfig.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ICreateSimulationRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IDeleteSimulationRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IIndexSimulationRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IReadSimulationRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IScheduleSimulationRest_2_0.js.map
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ESuccessCriterionTypeRest_2_0 = void 0;
4
+ var ESuccessCriterionTypeRest_2_0;
5
+ (function (ESuccessCriterionTypeRest_2_0) {
6
+ ESuccessCriterionTypeRest_2_0["TEXT"] = "text";
7
+ ESuccessCriterionTypeRest_2_0["GOAL_COMPLETED"] = "goalCompleted";
8
+ })(ESuccessCriterionTypeRest_2_0 = exports.ESuccessCriterionTypeRest_2_0 || (exports.ESuccessCriterionTypeRest_2_0 = {}));
9
+ //# sourceMappingURL=ISimulationRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IUpdateSimulationRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IIndexSimulationRunRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IReadSimulationRunRest_2_0.js.map
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ESentimentTypeRest_2_0 = exports.ESuccessCriteriaTypeRest_2_0 = exports.ETurnTypeRest_2_0 = void 0;
4
+ var ETurnTypeRest_2_0;
5
+ (function (ETurnTypeRest_2_0) {
6
+ ETurnTypeRest_2_0["INPUT"] = "input";
7
+ ETurnTypeRest_2_0["OUTPUT"] = "output";
8
+ })(ETurnTypeRest_2_0 = exports.ETurnTypeRest_2_0 || (exports.ETurnTypeRest_2_0 = {}));
9
+ var ESuccessCriteriaTypeRest_2_0;
10
+ (function (ESuccessCriteriaTypeRest_2_0) {
11
+ ESuccessCriteriaTypeRest_2_0["TEXT"] = "text";
12
+ })(ESuccessCriteriaTypeRest_2_0 = exports.ESuccessCriteriaTypeRest_2_0 || (exports.ESuccessCriteriaTypeRest_2_0 = {}));
13
+ var ESentimentTypeRest_2_0;
14
+ (function (ESentimentTypeRest_2_0) {
15
+ ESentimentTypeRest_2_0["POSITIVE"] = "POSITIVE";
16
+ ESentimentTypeRest_2_0["NEUTRAL"] = "NEUTRAL";
17
+ ESentimentTypeRest_2_0["NEGATIVE"] = "NEGATIVE";
18
+ })(ESentimentTypeRest_2_0 = exports.ESentimentTypeRest_2_0 || (exports.ESentimentTypeRest_2_0 = {}));
19
+ //# sourceMappingURL=ISimulationRunRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IGetAllSimulationRunBatchRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IIndexSimulationRunBatchRest_2_0.js.map