@cognigy/rest-api-client 2025.11.0 → 2025.12.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 (57) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/build/RestAPIClient.js +7 -0
  3. package/build/apigroups/SimulationAPIGroup_2_0.js +58 -0
  4. package/build/apigroups/index.js +3 -1
  5. package/build/shared/charts/descriptors/index.js +2 -1
  6. package/build/shared/charts/descriptors/message/question/question.js +12 -4
  7. package/build/shared/charts/descriptors/service/aiOpsCenterConnection.js +12 -0
  8. package/build/shared/charts/descriptors/service/index.js +3 -1
  9. package/build/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +2 -2
  10. package/build/shared/interfaces/resources/IAuditEvent.js +3 -0
  11. package/build/shared/interfaces/resources/ILargeLanguageModel.js +1 -0
  12. package/build/shared/interfaces/resources/TResourceType.js +2 -0
  13. package/build/shared/interfaces/resources/TRestChannelType.js +5 -0
  14. package/build/shared/interfaces/restAPI/opsCenter/observationConfig/IOpsCenterObservationConfig.js +1 -1
  15. package/build/shared/interfaces/restAPI/simulation/simulation/ICreateSimulationRest_2_0.js +3 -0
  16. package/build/shared/interfaces/restAPI/simulation/simulation/IDeleteSimulationRest_2_0.js +3 -0
  17. package/build/shared/interfaces/restAPI/simulation/simulation/IIndexSimulationRest_2_0.js +3 -0
  18. package/build/shared/interfaces/restAPI/simulation/simulation/IReadSimulationRest_2_0.js +3 -0
  19. package/build/shared/interfaces/restAPI/simulation/simulation/IScheduleSimulationRest_2_0.js +3 -0
  20. package/build/shared/interfaces/restAPI/simulation/simulation/ISimulationRest_2_0.js +9 -0
  21. package/build/shared/interfaces/restAPI/simulation/simulation/IUpdateSimulationRest_2_0.js +3 -0
  22. package/build/shared/interfaces/restAPI/simulation/simulationRun/IIndexSimulationRunRest_2_0.js +3 -0
  23. package/build/shared/interfaces/restAPI/simulation/simulationRun/IReadSimulationRunRest_2_0.js +3 -0
  24. package/build/shared/interfaces/restAPI/simulation/simulationRun/ISimulationRunRest_2_0.js +19 -0
  25. package/build/shared/interfaces/restAPI/simulation/simulationRunBatch/IGetAllSimulationRunBatchRest_2_0.js +3 -0
  26. package/build/shared/interfaces/restAPI/simulation/simulationRunBatch/IIndexSimulationRunBatchRest_2_0.js +3 -0
  27. package/build/shared/interfaces/restAPI/simulation/simulationRunBatch/IReadSimulationRunBatchRest_2_0.js +3 -0
  28. package/build/shared/interfaces/restAPI/simulation/simulationRunBatch/ISimulationRunBatchRest_2_0.js +9 -0
  29. package/dist/esm/RestAPIClient.js +7 -0
  30. package/dist/esm/apigroups/SimulationAPIGroup_2_0.js +44 -0
  31. package/dist/esm/apigroups/index.js +1 -0
  32. package/dist/esm/shared/charts/descriptors/index.js +3 -2
  33. package/dist/esm/shared/charts/descriptors/message/question/question.js +12 -4
  34. package/dist/esm/shared/charts/descriptors/service/aiOpsCenterConnection.js +9 -0
  35. package/dist/esm/shared/charts/descriptors/service/index.js +1 -0
  36. package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +2 -2
  37. package/dist/esm/shared/interfaces/resources/IAuditEvent.js +3 -0
  38. package/dist/esm/shared/interfaces/resources/ILargeLanguageModel.js +1 -0
  39. package/dist/esm/shared/interfaces/resources/TResourceType.js +2 -0
  40. package/dist/esm/shared/interfaces/resources/TRestChannelType.js +5 -0
  41. package/dist/esm/shared/interfaces/restAPI/opsCenter/observationConfig/IOpsCenterObservationConfig.js +1 -1
  42. package/dist/esm/shared/interfaces/restAPI/simulation/simulation/ICreateSimulationRest_2_0.js +2 -0
  43. package/dist/esm/shared/interfaces/restAPI/simulation/simulation/IDeleteSimulationRest_2_0.js +2 -0
  44. package/dist/esm/shared/interfaces/restAPI/simulation/simulation/IIndexSimulationRest_2_0.js +2 -0
  45. package/dist/esm/shared/interfaces/restAPI/simulation/simulation/IReadSimulationRest_2_0.js +2 -0
  46. package/dist/esm/shared/interfaces/restAPI/simulation/simulation/IScheduleSimulationRest_2_0.js +2 -0
  47. package/dist/esm/shared/interfaces/restAPI/simulation/simulation/ISimulationRest_2_0.js +6 -0
  48. package/dist/esm/shared/interfaces/restAPI/simulation/simulation/IUpdateSimulationRest_2_0.js +2 -0
  49. package/dist/esm/shared/interfaces/restAPI/simulation/simulationRun/IIndexSimulationRunRest_2_0.js +2 -0
  50. package/dist/esm/shared/interfaces/restAPI/simulation/simulationRun/IReadSimulationRunRest_2_0.js +2 -0
  51. package/dist/esm/shared/interfaces/restAPI/simulation/simulationRun/ISimulationRunRest_2_0.js +16 -0
  52. package/dist/esm/shared/interfaces/restAPI/simulation/simulationRunBatch/IGetAllSimulationRunBatchRest_2_0.js +2 -0
  53. package/dist/esm/shared/interfaces/restAPI/simulation/simulationRunBatch/IIndexSimulationRunBatchRest_2_0.js +2 -0
  54. package/dist/esm/shared/interfaces/restAPI/simulation/simulationRunBatch/IReadSimulationRunBatchRest_2_0.js +2 -0
  55. package/dist/esm/shared/interfaces/restAPI/simulation/simulationRunBatch/ISimulationRunBatchRest_2_0.js +6 -0
  56. package/package.json +1 -1
  57. package/types/index.d.ts +314 -6
package/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 2025.12.0
2
+ Released: June 10th, 2025
3
+
4
+ Released state of package up to date with Cognigy.AI v2025.12.0
5
+
1
6
  # 2025.11.0
2
7
  Released: May 27th, 2025
3
8
 
@@ -18,6 +18,7 @@ const ResourcesAPIGroup_2_0_1 = require("./apigroups/ResourcesAPIGroup_2_0");
18
18
  const SessionsAPIGroup_2_0_1 = require("./apigroups/SessionsAPIGroup_2_0");
19
19
  const logger_1 = require("./shared/helper/logger");
20
20
  const AIOpsCenterAPIGroup_2_0_1 = require("./apigroups/AIOpsCenterAPIGroup_2_0");
21
+ const SimulationAPIGroup_2_0_1 = require("./apigroups/SimulationAPIGroup_2_0");
21
22
  exports.RestAPIClient = function (config) {
22
23
  var _a;
23
24
  if (!(this instanceof exports.RestAPIClient)) {
@@ -92,6 +93,12 @@ exports.RestAPIClient = function (config) {
92
93
  plugins.push(AIOpsCenterAPIGroup_2_0_1.AIOpsCenterAPIGroup_2_0);
93
94
  break;
94
95
  }
96
+ switch (config.versions.simulation) {
97
+ default:
98
+ case "2.0":
99
+ plugins.push(SimulationAPIGroup_2_0_1.SimulationAPIGroup_2_0);
100
+ break;
101
+ }
95
102
  const Client = PluginBase_1.Base.plugin(plugins);
96
103
  Client.config = config;
97
104
  Client.prototype.getHttpAdapter = () => {
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __rest = (this && this.__rest) || function (s, e) {
3
+ var t = {};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.SimulationAPIGroup_2_0 = void 0;
15
+ const GenericAPIFn_1 = require("../GenericAPIFn");
16
+ const query_1 = require("../shared/helper/rest/query");
17
+ function SimulationAPIGroup_2_0(instance) {
18
+ const self = instance;
19
+ return {
20
+ indexSimulations: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/testing/beta/simulations?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(undefined, options),
21
+ createSimulation: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)("/testing/beta/simulations", "POST", self)(args, options),
22
+ updateSimulation: (_a, options) => {
23
+ var { simulationReference, projectId } = _a, args = __rest(_a, ["simulationReference", "projectId"]);
24
+ return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/beta/simulations/${simulationReference}?${(0, query_1.stringifyQuery)({
25
+ projectId
26
+ })}`, "PATCH", self)(args, options);
27
+ },
28
+ deleteSimulation: ({ simulationReference, projectId }, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/testing/beta/simulations/${simulationReference}?${(0, query_1.stringifyQuery)({
29
+ projectId
30
+ })}`, "DELETE", self)(undefined, options),
31
+ readSimulation: ({ simulationReference, projectId }, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/testing/beta/simulations/${simulationReference}?${(0, query_1.stringifyQuery)({
32
+ projectId
33
+ })}`, "GET", self)(undefined, options),
34
+ scheduleSimulation: (_a, options) => {
35
+ var { simulationReference } = _a, args = __rest(_a, ["simulationReference"]);
36
+ return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/beta/simulations/${simulationReference}/schedule`, "POST", self)(args, options);
37
+ },
38
+ indexSimulationRunBatches: (args, options) => (0, GenericAPIFn_1.GenericAPIFn)(`/testing/beta/simulations/batches?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(undefined, options),
39
+ getAllSimulationRunBatches: (_a, options) => {
40
+ var { simulationReference } = _a, args = __rest(_a, ["simulationReference"]);
41
+ return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/beta/simulations/${simulationReference}/batches?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(undefined, options);
42
+ },
43
+ readSimulationRunBatch: (_a, options) => {
44
+ var { simulationReference, simulationRunBatchReference } = _a, args = __rest(_a, ["simulationReference", "simulationRunBatchReference"]);
45
+ return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/beta/simulations/${simulationReference}/batches/${simulationRunBatchReference}?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(undefined, options);
46
+ },
47
+ indexSimulationRuns: (_a, options) => {
48
+ var { simulationReference, simulationRunBatchReference } = _a, args = __rest(_a, ["simulationReference", "simulationRunBatchReference"]);
49
+ return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/beta/simulations/${simulationReference}/batches/${simulationRunBatchReference}/runs?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(undefined, options);
50
+ },
51
+ readSimulationRun: (_a, options) => {
52
+ var { simulationReference, simulationRunBatchReference, simulationRunReference } = _a, args = __rest(_a, ["simulationReference", "simulationRunBatchReference", "simulationRunReference"]);
53
+ return (0, GenericAPIFn_1.GenericAPIFn)(`/testing/beta/simulations/${simulationReference}/batches/${simulationRunBatchReference}/runs/${simulationRunReference}?${(0, query_1.stringifyQuery)(args)}`, "GET", self)(undefined, options);
54
+ }
55
+ };
56
+ }
57
+ exports.SimulationAPIGroup_2_0 = SimulationAPIGroup_2_0;
58
+ //# sourceMappingURL=SimulationAPIGroup_2_0.js.map
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AIOpsCenterAPIGroup_2_0 = exports.AnalyticsAPIGroup_2_0 = exports.SessionsAPIGroup_2_0 = exports.ResourcesAPIGroup_2_0 = exports.ManagementAPIGroup_2_0 = exports.MetricsAPIGroup_2_0 = exports.JWTAuthAPIGroup_2_0 = exports.InsightsAPIGroup_2_0 = exports.ExternalAPIGroup_2_0 = exports.AdministrationAPIGroup_2_1 = exports.AdministrationAPIGroup_2_0 = void 0;
3
+ exports.SimulationAPIGroup_2_0 = exports.AIOpsCenterAPIGroup_2_0 = exports.AnalyticsAPIGroup_2_0 = exports.SessionsAPIGroup_2_0 = exports.ResourcesAPIGroup_2_0 = exports.ManagementAPIGroup_2_0 = exports.MetricsAPIGroup_2_0 = exports.JWTAuthAPIGroup_2_0 = exports.InsightsAPIGroup_2_0 = exports.ExternalAPIGroup_2_0 = exports.AdministrationAPIGroup_2_1 = exports.AdministrationAPIGroup_2_0 = void 0;
4
4
  // AdministrationAPIGroup;
5
5
  var AdministrationAPIGroup_2_0_1 = require("./AdministrationAPIGroup_2_0");
6
6
  Object.defineProperty(exports, "AdministrationAPIGroup_2_0", { enumerable: true, get: function () { return AdministrationAPIGroup_2_0_1.AdministrationAPIGroup_2_0; } });
@@ -25,4 +25,6 @@ var AnalyticsAPIGroup_2_0_1 = require("./AnalyticsAPIGroup_2_0");
25
25
  Object.defineProperty(exports, "AnalyticsAPIGroup_2_0", { enumerable: true, get: function () { return AnalyticsAPIGroup_2_0_1.AnalyticsAPIGroup_2_0; } });
26
26
  var AIOpsCenterAPIGroup_2_0_1 = require("./AIOpsCenterAPIGroup_2_0");
27
27
  Object.defineProperty(exports, "AIOpsCenterAPIGroup_2_0", { enumerable: true, get: function () { return AIOpsCenterAPIGroup_2_0_1.AIOpsCenterAPIGroup_2_0; } });
28
+ var SimulationAPIGroup_2_0_1 = require("./SimulationAPIGroup_2_0");
29
+ Object.defineProperty(exports, "SimulationAPIGroup_2_0", { enumerable: true, get: function () { return SimulationAPIGroup_2_0_1.SimulationAPIGroup_2_0; } });
28
30
  //# sourceMappingURL=index.js.map
@@ -167,7 +167,8 @@ exports.cognigyBasicModule = (0, createNodeDescriptor_1.createExtension)({
167
167
  service_1.EIGHT_BY_EIGHT_CONNECTION,
168
168
  service_1.GENESYS_CLOUD_CONNECTION,
169
169
  service_1.GENESYS_CLOUD_CONNECTION_OM,
170
- service_1.NICECXONEAAH_AUTHENTICATION_CONNECTION
170
+ service_1.NICECXONEAAH_AUTHENTICATION_CONNECTION,
171
+ service_1.AIOPS_CENTER_WEBHOOKS_CONNECTION,
171
172
  ],
172
173
  });
173
174
  var mongoDB_1 = require("./connectionNodes/mongoDB");
@@ -2409,6 +2409,7 @@ DO NOT talk about other topics. Do not offer general assistance.`,
2409
2409
  api.logDebugMessage(`UI__DEBUG_MODE__QUESTION__MESSAGE_5`, "Skipping Reprompt Message");
2410
2410
  sayReprompt = false;
2411
2411
  }
2412
+ let nodeType = "question";
2412
2413
  // We will only output a reprompt if the user is not in the first execution
2413
2414
  // and no skip condition is true
2414
2415
  if ((validationMessage || repromptType) && !isFirstExecution && sayReprompt) {
@@ -2419,9 +2420,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
2419
2420
  rephraseWithAIParams.question = say.text[0];
2420
2421
  rephraseWithAIParams.answer = input.text;
2421
2422
  if (sayReprompt) {
2423
+ nodeType = "question.reprompt";
2422
2424
  switch (repromptType) {
2423
2425
  case "say":
2424
- await say_1.SAY.function(Object.assign({ nodeType: "question.reprompt", cognigy, childConfigs: [], nodeId, organisationId, config: { preventTranscript, say: repromptSay } }, rephraseWithAIParams));
2426
+ if ((input === null || input === void 0 ? void 0 : input.channel) === "voiceGateway2" && !validationRepeat) {
2427
+ nodeType = "question";
2428
+ }
2429
+ await say_1.SAY.function(Object.assign({ nodeType, cognigy, childConfigs: [], nodeId, organisationId, config: { preventTranscript, say: repromptSay } }, rephraseWithAIParams));
2425
2430
  break;
2426
2431
  case "execute":
2427
2432
  // if a question reprompt is set to execute flow and we have just executed
@@ -2470,11 +2475,14 @@ DO NOT talk about other topics. Do not offer general assistance.`,
2470
2475
  }
2471
2476
  const repromptMessage = await api.runGenerativeAIPrompt(data, "gptPromptNode");
2472
2477
  if (!repromptLLMStream) {
2473
- await say_1.SAY.function({ nodeType: "question.reprompt", cognigy, childConfigs: [], nodeId, organisationId, config: Object.assign({ preventTranscript, handoverOutput, say: { type: "text", text: [repromptMessage] } }, rephraseWithAIParams) });
2478
+ await say_1.SAY.function({ nodeType, cognigy, childConfigs: [], nodeId, organisationId, config: Object.assign({ preventTranscript, handoverOutput, say: { type: "text", text: [repromptMessage] } }, rephraseWithAIParams) });
2474
2479
  }
2475
2480
  break;
2476
2481
  default: // this is also "text"
2477
- await say_1.SAY.function({ nodeType: "question.reprompt", cognigy, childConfigs: [], nodeId, organisationId, config: Object.assign({ preventTranscript, handoverOutput, say: { type: "text", text: [validationMessage] } }, rephraseWithAIParams) });
2482
+ if ((input === null || input === void 0 ? void 0 : input.channel) === "voiceGateway2" && !validationRepeat) {
2483
+ nodeType = "question";
2484
+ }
2485
+ await say_1.SAY.function({ nodeType, cognigy, childConfigs: [], nodeId, organisationId, config: Object.assign({ preventTranscript, handoverOutput, say: { type: "text", text: [validationMessage] } }, rephraseWithAIParams) });
2478
2486
  }
2479
2487
  }
2480
2488
  /* If repeat toggle is on, also output question (and maybe datepicker) again */
@@ -2499,7 +2507,7 @@ DO NOT talk about other topics. Do not offer general assistance.`,
2499
2507
  rephraseWithAIParams.promptType = "question";
2500
2508
  rephraseWithAIParams.questionType = config.type;
2501
2509
  await say_1.SAY.function({
2502
- nodeType: "question.initial",
2510
+ nodeType,
2503
2511
  cognigy,
2504
2512
  childConfigs: [],
2505
2513
  nodeId,
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AIOPS_CENTER_WEBHOOKS_CONNECTION = void 0;
4
+ exports.AIOPS_CENTER_WEBHOOKS_CONNECTION = {
5
+ type: "AIOpsCenterWebhookBasicAuth",
6
+ label: "UI__CONNECTION_EDITOR__FIELD_AIOPS_CENTER_WEBHOOKS_CONNECTION__LABEL",
7
+ fields: [
8
+ { fieldName: "username", label: "UI__CONNECTION_EDITOR__FIELD_AIOPS_CENTER_WEBHOOKS_CONNECTION_USERNAME__LABEL" },
9
+ { fieldName: "password", label: "UI__CONNECTION_EDITOR__FIELD_AIOPS_CENTER_WEBHOOKS_CONNECTION_PASSWORD__LABEL" },
10
+ ],
11
+ };
12
+ //# sourceMappingURL=aiOpsCenterConnection.js.map
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NICECXONEAAH_AUTHENTICATION_CONNECTION = exports.GENESYS_CLOUD_CONNECTION_OM = exports.GENESYS_CLOUD_CONNECTION = exports.EIGHT_BY_EIGHT_CONNECTION = exports.CHATWOOT_CONNECTION = exports.RINGCENTRAL_ENGAGE_CONNECTION = exports.LIVE_AGENT_CONNECTION = exports.AI_AGENT_JOB_CALL_MCP_TOOL = exports.AI_AGENT_HANDOVER = exports.AI_AGENT_TOOL_ANSWER = exports.AI_AGENT_JOB_MCP_TOOL = exports.AI_AGENT_JOB_TOOL = exports.AI_AGENT_JOB_DEFAULT = exports.AI_AGENT_JOB = exports.LLM_MODERATE = exports.LLM_ENTITY_EXTRACT = exports.GPT_CONVERSATION_SUMMARY = exports.GPT_CONVERSATION = exports.HANDOVER_INACTIVITY_TIMER = exports.CLOSE_HANDOVER = exports.GPT_PROMPT = exports.ON_SCHEDULING_ERROR = exports.ON_SCHEDULED = exports.TRIGGER_FUNCTION = exports.JWT_SECRET_CONNECTION = exports.HTTP_CONNECTION_OAUTH2 = exports.HTTP_CONNECTION_APIKEYXKEY = exports.HTTP_CONNECTION_APIKEYAUTHKEY = exports.HTTP_CONNECTION_BASIC = exports.HTTP_REQUEST = exports.CHECK_AGENT_AVAILABILITY = exports.HANDOVER_V2 = exports.HANDOVER = void 0;
3
+ exports.AIOPS_CENTER_WEBHOOKS_CONNECTION = exports.NICECXONEAAH_AUTHENTICATION_CONNECTION = exports.GENESYS_CLOUD_CONNECTION_OM = exports.GENESYS_CLOUD_CONNECTION = exports.EIGHT_BY_EIGHT_CONNECTION = exports.CHATWOOT_CONNECTION = exports.RINGCENTRAL_ENGAGE_CONNECTION = exports.LIVE_AGENT_CONNECTION = exports.AI_AGENT_JOB_CALL_MCP_TOOL = exports.AI_AGENT_HANDOVER = exports.AI_AGENT_TOOL_ANSWER = exports.AI_AGENT_JOB_MCP_TOOL = exports.AI_AGENT_JOB_TOOL = exports.AI_AGENT_JOB_DEFAULT = exports.AI_AGENT_JOB = exports.LLM_MODERATE = exports.LLM_ENTITY_EXTRACT = exports.GPT_CONVERSATION_SUMMARY = exports.GPT_CONVERSATION = exports.HANDOVER_INACTIVITY_TIMER = exports.CLOSE_HANDOVER = exports.GPT_PROMPT = exports.ON_SCHEDULING_ERROR = exports.ON_SCHEDULED = exports.TRIGGER_FUNCTION = exports.JWT_SECRET_CONNECTION = exports.HTTP_CONNECTION_OAUTH2 = exports.HTTP_CONNECTION_APIKEYXKEY = exports.HTTP_CONNECTION_APIKEYAUTHKEY = exports.HTTP_CONNECTION_BASIC = exports.HTTP_REQUEST = exports.CHECK_AGENT_AVAILABILITY = exports.HANDOVER_V2 = exports.HANDOVER = void 0;
4
4
  var handover_1 = require("./handover");
5
5
  Object.defineProperty(exports, "HANDOVER", { enumerable: true, get: function () { return handover_1.HANDOVER; } });
6
6
  var handoverV2_1 = require("./handoverV2");
@@ -60,4 +60,6 @@ Object.defineProperty(exports, "GENESYS_CLOUD_CONNECTION", { enumerable: true, g
60
60
  Object.defineProperty(exports, "GENESYS_CLOUD_CONNECTION_OM", { enumerable: true, get: function () { return handoverConnections_1.GENESYS_CLOUD_CONNECTION_OM; } });
61
61
  var niceCXOneAAHAuthenticationConnection_1 = require("./niceCXOneAAHAuthenticationConnection");
62
62
  Object.defineProperty(exports, "NICECXONEAAH_AUTHENTICATION_CONNECTION", { enumerable: true, get: function () { return niceCXOneAAHAuthenticationConnection_1.NICECXONEAAH_AUTHENTICATION_CONNECTION; } });
63
+ var aiOpsCenterConnection_1 = require("./aiOpsCenterConnection");
64
+ Object.defineProperty(exports, "AIOPS_CENTER_WEBHOOKS_CONNECTION", { enumerable: true, get: function () { return aiOpsCenterConnection_1.AIOPS_CENTER_WEBHOOKS_CONNECTION; } });
63
65
  //# sourceMappingURL=index.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),
@@ -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
@@ -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
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IReadSimulationRunBatchRest_2_0.js.map
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimulationRunBatchStatus = void 0;
4
+ exports.SimulationRunBatchStatus = [
5
+ "IN_PROGRESS",
6
+ "COMPLETED",
7
+ "FAILED"
8
+ ];
9
+ //# sourceMappingURL=ISimulationRunBatchRest_2_0.js.map
@@ -15,6 +15,7 @@ import { ResourcesAPIGroup_2_0 } from "./apigroups/ResourcesAPIGroup_2_0";
15
15
  import { SessionsAPIGroup_2_0 } from "./apigroups/SessionsAPIGroup_2_0";
16
16
  import { setLogger } from "./shared/helper/logger";
17
17
  import { AIOpsCenterAPIGroup_2_0 } from "./apigroups/AIOpsCenterAPIGroup_2_0";
18
+ import { SimulationAPIGroup_2_0 } from "./apigroups/SimulationAPIGroup_2_0";
18
19
  export const RestAPIClient = function (config) {
19
20
  var _a;
20
21
  if (!(this instanceof RestAPIClient)) {
@@ -89,6 +90,12 @@ export const RestAPIClient = function (config) {
89
90
  plugins.push(AIOpsCenterAPIGroup_2_0);
90
91
  break;
91
92
  }
93
+ switch (config.versions.simulation) {
94
+ default:
95
+ case "2.0":
96
+ plugins.push(SimulationAPIGroup_2_0);
97
+ break;
98
+ }
92
99
  const Client = Base.plugin(plugins);
93
100
  Client.config = config;
94
101
  Client.prototype.getHttpAdapter = () => {
@@ -0,0 +1,44 @@
1
+ import { __rest } from "tslib";
2
+ import { GenericAPIFn } from "../GenericAPIFn";
3
+ import { stringifyQuery } from "../shared/helper/rest/query";
4
+ export function SimulationAPIGroup_2_0(instance) {
5
+ const self = instance;
6
+ return {
7
+ indexSimulations: (args, options) => GenericAPIFn(`/testing/beta/simulations?${stringifyQuery(args)}`, "GET", self)(undefined, options),
8
+ createSimulation: (args, options) => GenericAPIFn("/testing/beta/simulations", "POST", self)(args, options),
9
+ updateSimulation: (_a, options) => {
10
+ var { simulationReference, projectId } = _a, args = __rest(_a, ["simulationReference", "projectId"]);
11
+ return GenericAPIFn(`/testing/beta/simulations/${simulationReference}?${stringifyQuery({
12
+ projectId
13
+ })}`, "PATCH", self)(args, options);
14
+ },
15
+ deleteSimulation: ({ simulationReference, projectId }, options) => GenericAPIFn(`/testing/beta/simulations/${simulationReference}?${stringifyQuery({
16
+ projectId
17
+ })}`, "DELETE", self)(undefined, options),
18
+ readSimulation: ({ simulationReference, projectId }, options) => GenericAPIFn(`/testing/beta/simulations/${simulationReference}?${stringifyQuery({
19
+ projectId
20
+ })}`, "GET", self)(undefined, options),
21
+ scheduleSimulation: (_a, options) => {
22
+ var { simulationReference } = _a, args = __rest(_a, ["simulationReference"]);
23
+ return GenericAPIFn(`/testing/beta/simulations/${simulationReference}/schedule`, "POST", self)(args, options);
24
+ },
25
+ indexSimulationRunBatches: (args, options) => GenericAPIFn(`/testing/beta/simulations/batches?${stringifyQuery(args)}`, "GET", self)(undefined, options),
26
+ getAllSimulationRunBatches: (_a, options) => {
27
+ var { simulationReference } = _a, args = __rest(_a, ["simulationReference"]);
28
+ return GenericAPIFn(`/testing/beta/simulations/${simulationReference}/batches?${stringifyQuery(args)}`, "GET", self)(undefined, options);
29
+ },
30
+ readSimulationRunBatch: (_a, options) => {
31
+ var { simulationReference, simulationRunBatchReference } = _a, args = __rest(_a, ["simulationReference", "simulationRunBatchReference"]);
32
+ return GenericAPIFn(`/testing/beta/simulations/${simulationReference}/batches/${simulationRunBatchReference}?${stringifyQuery(args)}`, "GET", self)(undefined, options);
33
+ },
34
+ indexSimulationRuns: (_a, options) => {
35
+ var { simulationReference, simulationRunBatchReference } = _a, args = __rest(_a, ["simulationReference", "simulationRunBatchReference"]);
36
+ return GenericAPIFn(`/testing/beta/simulations/${simulationReference}/batches/${simulationRunBatchReference}/runs?${stringifyQuery(args)}`, "GET", self)(undefined, options);
37
+ },
38
+ readSimulationRun: (_a, options) => {
39
+ var { simulationReference, simulationRunBatchReference, simulationRunReference } = _a, args = __rest(_a, ["simulationReference", "simulationRunBatchReference", "simulationRunReference"]);
40
+ return GenericAPIFn(`/testing/beta/simulations/${simulationReference}/batches/${simulationRunBatchReference}/runs/${simulationRunReference}?${stringifyQuery(args)}`, "GET", self)(undefined, options);
41
+ }
42
+ };
43
+ }
44
+ //# sourceMappingURL=SimulationAPIGroup_2_0.js.map
@@ -11,4 +11,5 @@ export { ResourcesAPIGroup_2_0 } from "./ResourcesAPIGroup_2_0";
11
11
  export { SessionsAPIGroup_2_0 } from "./SessionsAPIGroup_2_0";
12
12
  export { AnalyticsAPIGroup_2_0 } from "./AnalyticsAPIGroup_2_0";
13
13
  export { AIOpsCenterAPIGroup_2_0 } from "./AIOpsCenterAPIGroup_2_0";
14
+ export { SimulationAPIGroup_2_0 } from "./SimulationAPIGroup_2_0";
14
15
  //# sourceMappingURL=index.js.map
@@ -11,7 +11,7 @@ import { REGEX_SLOT_FILLER, EXECUTE_COGNIGY_NLU, ADD_LEXICON_KEYPHRASE, FUZZY_SE
11
11
  import { KNOWLEDGE_SEARCH, KNOWLEDGE_SEARCH_V2, SEARCH_EXTRACT_OUTPUT } from "./knowledgeSearch";
12
12
  import { CONTINUOUS_ASR, DTMF, HANG_UP, PLAY, TRANSFER_VOICE, SESSION_SPEECH_PARAMETERS, USER_INPUT_TIMEOUT, SEND_METADATA, BARGE_IN, MUTE_SPEECH_INPUT, } from "./voice";
13
13
  import { ACTIVATE_PROFILE, COMPLETE_GOAL, DEACTIVATE_PROFILE, DELETE_PROFILE, MERGE_PROFILE, UPDATE_PROFILE, ADD_MEMORY, BLIND_MODE, OVERWRITE_ANALYTICS, SET_RATING, REQUEST_RATING, TRACK_GOAL, } from "./analytics";
14
- import { HANDOVER, HANDOVER_V2, CHECK_AGENT_AVAILABILITY, HTTP_REQUEST, HTTP_CONNECTION_BASIC, HTTP_CONNECTION_APIKEYAUTHKEY, HTTP_CONNECTION_APIKEYXKEY, HTTP_CONNECTION_OAUTH2, JWT_SECRET_CONNECTION, TRIGGER_FUNCTION, ON_SCHEDULING_ERROR, ON_SCHEDULED, GPT_PROMPT, CLOSE_HANDOVER, HANDOVER_INACTIVITY_TIMER, GPT_CONVERSATION, GPT_CONVERSATION_SUMMARY, LLM_ENTITY_EXTRACT, AI_AGENT_JOB, AI_AGENT_JOB_DEFAULT, AI_AGENT_JOB_TOOL, AI_AGENT_JOB_MCP_TOOL, AI_AGENT_JOB_CALL_MCP_TOOL, AI_AGENT_TOOL_ANSWER, AI_AGENT_HANDOVER, LIVE_AGENT_CONNECTION, RINGCENTRAL_ENGAGE_CONNECTION, CHATWOOT_CONNECTION, EIGHT_BY_EIGHT_CONNECTION, GENESYS_CLOUD_CONNECTION, GENESYS_CLOUD_CONNECTION_OM, LLM_MODERATE, NICECXONEAAH_AUTHENTICATION_CONNECTION } from "./service";
14
+ import { HANDOVER, HANDOVER_V2, CHECK_AGENT_AVAILABILITY, HTTP_REQUEST, HTTP_CONNECTION_BASIC, HTTP_CONNECTION_APIKEYAUTHKEY, HTTP_CONNECTION_APIKEYXKEY, HTTP_CONNECTION_OAUTH2, JWT_SECRET_CONNECTION, TRIGGER_FUNCTION, ON_SCHEDULING_ERROR, ON_SCHEDULED, GPT_PROMPT, CLOSE_HANDOVER, HANDOVER_INACTIVITY_TIMER, GPT_CONVERSATION, GPT_CONVERSATION_SUMMARY, LLM_ENTITY_EXTRACT, AI_AGENT_JOB, AI_AGENT_JOB_DEFAULT, AI_AGENT_JOB_TOOL, AI_AGENT_JOB_MCP_TOOL, AI_AGENT_JOB_CALL_MCP_TOOL, AI_AGENT_TOOL_ANSWER, AI_AGENT_HANDOVER, LIVE_AGENT_CONNECTION, RINGCENTRAL_ENGAGE_CONNECTION, CHATWOOT_CONNECTION, EIGHT_BY_EIGHT_CONNECTION, GENESYS_CLOUD_CONNECTION, GENESYS_CLOUD_CONNECTION_OM, LLM_MODERATE, NICECXONEAAH_AUTHENTICATION_CONNECTION, AIOPS_CENTER_WEBHOOKS_CONNECTION } from "./service";
15
15
  import { INIT_APP_SESSION, GET_APP_SESSION_PIN, SET_HTML_APP_STATE, SET_ADAPTIVE_CARD_APP_STATE, } from "./apps";
16
16
  import { SET_IFRAME_TILE, SET_HTML_TILE, SEND_TILE_DATA, SET_SECURE_FORMS_TILE, SET_ADAPTIVE_CARD_TILE, SET_AGENT_ASSIST_GRID, NEXT_ACTION_ASSIST, SENTIMENT_ASSIST, TRANSCRIPT_ASSIST, IDENTITY_ASSIST, KNOWLEDGE_ASSIST, } from "./agentAssist";
17
17
  import { ASSIST_INFO } from "./liveAgent";
@@ -164,7 +164,8 @@ export const cognigyBasicModule = createExtension({
164
164
  EIGHT_BY_EIGHT_CONNECTION,
165
165
  GENESYS_CLOUD_CONNECTION,
166
166
  GENESYS_CLOUD_CONNECTION_OM,
167
- NICECXONEAAH_AUTHENTICATION_CONNECTION
167
+ NICECXONEAAH_AUTHENTICATION_CONNECTION,
168
+ AIOPS_CENTER_WEBHOOKS_CONNECTION,
168
169
  ],
169
170
  });
170
171
  export { cognigyMongoDBModule } from "./connectionNodes/mongoDB";
@@ -2407,6 +2407,7 @@ DO NOT talk about other topics. Do not offer general assistance.`,
2407
2407
  api.logDebugMessage(`UI__DEBUG_MODE__QUESTION__MESSAGE_5`, "Skipping Reprompt Message");
2408
2408
  sayReprompt = false;
2409
2409
  }
2410
+ let nodeType = "question";
2410
2411
  // We will only output a reprompt if the user is not in the first execution
2411
2412
  // and no skip condition is true
2412
2413
  if ((validationMessage || repromptType) && !isFirstExecution && sayReprompt) {
@@ -2417,9 +2418,13 @@ DO NOT talk about other topics. Do not offer general assistance.`,
2417
2418
  rephraseWithAIParams.question = say.text[0];
2418
2419
  rephraseWithAIParams.answer = input.text;
2419
2420
  if (sayReprompt) {
2421
+ nodeType = "question.reprompt";
2420
2422
  switch (repromptType) {
2421
2423
  case "say":
2422
- yield SAY.function(Object.assign({ nodeType: "question.reprompt", cognigy, childConfigs: [], nodeId, organisationId, config: { preventTranscript, say: repromptSay } }, rephraseWithAIParams));
2424
+ if ((input === null || input === void 0 ? void 0 : input.channel) === "voiceGateway2" && !validationRepeat) {
2425
+ nodeType = "question";
2426
+ }
2427
+ yield SAY.function(Object.assign({ nodeType, cognigy, childConfigs: [], nodeId, organisationId, config: { preventTranscript, say: repromptSay } }, rephraseWithAIParams));
2423
2428
  break;
2424
2429
  case "execute":
2425
2430
  // if a question reprompt is set to execute flow and we have just executed
@@ -2468,11 +2473,14 @@ DO NOT talk about other topics. Do not offer general assistance.`,
2468
2473
  }
2469
2474
  const repromptMessage = yield api.runGenerativeAIPrompt(data, "gptPromptNode");
2470
2475
  if (!repromptLLMStream) {
2471
- yield SAY.function({ nodeType: "question.reprompt", cognigy, childConfigs: [], nodeId, organisationId, config: Object.assign({ preventTranscript, handoverOutput, say: { type: "text", text: [repromptMessage] } }, rephraseWithAIParams) });
2476
+ yield SAY.function({ nodeType, cognigy, childConfigs: [], nodeId, organisationId, config: Object.assign({ preventTranscript, handoverOutput, say: { type: "text", text: [repromptMessage] } }, rephraseWithAIParams) });
2472
2477
  }
2473
2478
  break;
2474
2479
  default: // this is also "text"
2475
- yield SAY.function({ nodeType: "question.reprompt", cognigy, childConfigs: [], nodeId, organisationId, config: Object.assign({ preventTranscript, handoverOutput, say: { type: "text", text: [validationMessage] } }, rephraseWithAIParams) });
2480
+ if ((input === null || input === void 0 ? void 0 : input.channel) === "voiceGateway2" && !validationRepeat) {
2481
+ nodeType = "question";
2482
+ }
2483
+ yield SAY.function({ nodeType, cognigy, childConfigs: [], nodeId, organisationId, config: Object.assign({ preventTranscript, handoverOutput, say: { type: "text", text: [validationMessage] } }, rephraseWithAIParams) });
2476
2484
  }
2477
2485
  }
2478
2486
  /* If repeat toggle is on, also output question (and maybe datepicker) again */
@@ -2497,7 +2505,7 @@ DO NOT talk about other topics. Do not offer general assistance.`,
2497
2505
  rephraseWithAIParams.promptType = "question";
2498
2506
  rephraseWithAIParams.questionType = config.type;
2499
2507
  yield SAY.function({
2500
- nodeType: "question.initial",
2508
+ nodeType,
2501
2509
  cognigy,
2502
2510
  childConfigs: [],
2503
2511
  nodeId,
@@ -0,0 +1,9 @@
1
+ export const AIOPS_CENTER_WEBHOOKS_CONNECTION = {
2
+ type: "AIOpsCenterWebhookBasicAuth",
3
+ label: "UI__CONNECTION_EDITOR__FIELD_AIOPS_CENTER_WEBHOOKS_CONNECTION__LABEL",
4
+ fields: [
5
+ { fieldName: "username", label: "UI__CONNECTION_EDITOR__FIELD_AIOPS_CENTER_WEBHOOKS_CONNECTION_USERNAME__LABEL" },
6
+ { fieldName: "password", label: "UI__CONNECTION_EDITOR__FIELD_AIOPS_CENTER_WEBHOOKS_CONNECTION_PASSWORD__LABEL" },
7
+ ],
8
+ };
9
+ //# sourceMappingURL=aiOpsCenterConnection.js.map
@@ -26,4 +26,5 @@ export { AI_AGENT_HANDOVER } from "./aiAgent/aiAgentHandover";
26
26
  export { AI_AGENT_JOB_CALL_MCP_TOOL } from "./aiAgent/aiAgentJobCallMCPTool";
27
27
  export { LIVE_AGENT_CONNECTION, RINGCENTRAL_ENGAGE_CONNECTION, CHATWOOT_CONNECTION, EIGHT_BY_EIGHT_CONNECTION, GENESYS_CLOUD_CONNECTION, GENESYS_CLOUD_CONNECTION_OM } from "./handoverConnections";
28
28
  export { NICECXONEAAH_AUTHENTICATION_CONNECTION } from "./niceCXOneAAHAuthenticationConnection";
29
+ export { AIOPS_CENTER_WEBHOOKS_CONNECTION } from "./aiOpsCenterConnection";
29
30
  //# sourceMappingURL=index.js.map
@@ -1079,8 +1079,8 @@ export const setSessionConfigNode = createNodeDescriptor({
1079
1079
  { type: "section", key: "params_dtmf" },
1080
1080
  { type: "section", key: "params_continuous_asr" },
1081
1081
  { type: "section", key: "params_azure_config" },
1082
- process.env.DISABLE_VG_SILENCE_OVERLAY !== "true" && { type: "section", key: "params_atmosphere_sound" },
1083
- process.env.DISABLE_VG_ATMOSPHERE_NOISE !== "true" && { type: "section", key: "params_silence_overlay" },
1082
+ process.env.DISABLE_VG_ATMOSPHERE_NOISE !== "true" && { type: "section", key: "params_atmosphere_sound" },
1083
+ process.env.DISABLE_VG_SILENCE_OVERLAY !== "true" && { type: "section", key: "params_silence_overlay" },
1084
1084
  { type: "section", key: "advanced" },
1085
1085
  ]
1086
1086
  .filter(element => !!element),
@@ -105,6 +105,9 @@ export const actionTypes = [
105
105
  "optionsResolver",
106
106
  "processKnowledgeSourceUrl",
107
107
  "processKnowledgeSourceFile",
108
+ "setupObservationConfig",
109
+ "updateObservationConfig",
110
+ "resolveAiOpsCenterError"
108
111
  ];
109
112
  export const auditEventSchema = {
110
113
  title: "auditEventSchema",
@@ -53,6 +53,7 @@ export const openAICompatibleMetaSchema = {
53
53
  properties: {
54
54
  customModel: { type: "string" },
55
55
  baseCustomUrl: { type: "string" },
56
+ customAuthHeader: { type: "string" },
56
57
  }
57
58
  };
58
59
  export const azureOpenAIMetaSchema = {
@@ -43,6 +43,7 @@
43
43
  * - slotFiller
44
44
  * - snapshot
45
45
  * - snippet
46
+ * - simulation
46
47
  */
47
48
  export const arrayTResourceType = [
48
49
  "agentassistconfig",
@@ -84,6 +85,7 @@ export const arrayTResourceType = [
84
85
  "snapshot",
85
86
  "snippet",
86
87
  "aiAgent",
88
+ "simulation",
87
89
  ];
88
90
  export const arrayTSnapshottableResourceType = [
89
91
  "agentSettings",
@@ -15,6 +15,7 @@ export const restChannelTypes = [
15
15
  "genesysBotConnector",
16
16
  "niceCXOne",
17
17
  "niceCXOneAAH",
18
+ "zoomContactCenter",
18
19
  ];
19
20
  export const restChannelDisplayNames = [
20
21
  {
@@ -81,5 +82,9 @@ export const restChannelDisplayNames = [
81
82
  channel: "niceCXOneAAH",
82
83
  displayName: "NICE CXone AAH"
83
84
  },
85
+ {
86
+ channel: "zoomContactCenter",
87
+ displayName: "Zoom Contact Center"
88
+ }
84
89
  ];
85
90
  //# sourceMappingURL=TRestChannelType.js.map
@@ -1,3 +1,3 @@
1
- const notificationChannels = ["email"];
1
+ const notificationChannels = ["email", "webhook"];
2
2
  export {};
3
3
  //# sourceMappingURL=IOpsCenterObservationConfig.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ICreateSimulationRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IDeleteSimulationRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IIndexSimulationRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IReadSimulationRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IScheduleSimulationRest_2_0.js.map
@@ -0,0 +1,6 @@
1
+ export var ESuccessCriterionTypeRest_2_0;
2
+ (function (ESuccessCriterionTypeRest_2_0) {
3
+ ESuccessCriterionTypeRest_2_0["TEXT"] = "text";
4
+ ESuccessCriterionTypeRest_2_0["GOAL_COMPLETED"] = "goalCompleted";
5
+ })(ESuccessCriterionTypeRest_2_0 || (ESuccessCriterionTypeRest_2_0 = {}));
6
+ //# sourceMappingURL=ISimulationRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IUpdateSimulationRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IIndexSimulationRunRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IReadSimulationRunRest_2_0.js.map
@@ -0,0 +1,16 @@
1
+ export var ETurnTypeRest_2_0;
2
+ (function (ETurnTypeRest_2_0) {
3
+ ETurnTypeRest_2_0["INPUT"] = "input";
4
+ ETurnTypeRest_2_0["OUTPUT"] = "output";
5
+ })(ETurnTypeRest_2_0 || (ETurnTypeRest_2_0 = {}));
6
+ export var ESuccessCriteriaTypeRest_2_0;
7
+ (function (ESuccessCriteriaTypeRest_2_0) {
8
+ ESuccessCriteriaTypeRest_2_0["TEXT"] = "text";
9
+ })(ESuccessCriteriaTypeRest_2_0 || (ESuccessCriteriaTypeRest_2_0 = {}));
10
+ export var ESentimentTypeRest_2_0;
11
+ (function (ESentimentTypeRest_2_0) {
12
+ ESentimentTypeRest_2_0["POSITIVE"] = "POSITIVE";
13
+ ESentimentTypeRest_2_0["NEUTRAL"] = "NEUTRAL";
14
+ ESentimentTypeRest_2_0["NEGATIVE"] = "NEGATIVE";
15
+ })(ESentimentTypeRest_2_0 || (ESentimentTypeRest_2_0 = {}));
16
+ //# sourceMappingURL=ISimulationRunRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IGetAllSimulationRunBatchRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IIndexSimulationRunBatchRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IReadSimulationRunBatchRest_2_0.js.map
@@ -0,0 +1,6 @@
1
+ export const SimulationRunBatchStatus = [
2
+ "IN_PROGRESS",
3
+ "COMPLETED",
4
+ "FAILED"
5
+ ];
6
+ //# sourceMappingURL=ISimulationRunBatchRest_2_0.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognigy/rest-api-client",
3
- "version": "2025.11.0",
3
+ "version": "2025.12.0",
4
4
  "description": "Cognigy REST-Client",
5
5
  "main": "build/index.js",
6
6
  "module": "dist/esm/index.js",
package/types/index.d.ts CHANGED
@@ -958,7 +958,8 @@ declare const arrayTResourceType: readonly [
958
958
  "slotFiller",
959
959
  "snapshot",
960
960
  "snippet",
961
- "aiAgent"
961
+ "aiAgent",
962
+ "simulation"
962
963
  ];
963
964
  export declare type TResourceType = (typeof arrayTResourceType)[number];
964
965
  declare const arrayTChartableResourceType: readonly [
@@ -1614,6 +1615,7 @@ export interface IRestAPIClientVersionConfiguration {
1614
1615
  analytics: "2.0";
1615
1616
  jwt: "2.0";
1616
1617
  opsCenter: "2.0";
1618
+ simulation: "2.0";
1617
1619
  }
1618
1620
  export declare type THttpLib = "axios";
1619
1621
  /**
@@ -1911,7 +1913,8 @@ declare const restChannelTypes: readonly [
1911
1913
  "amazonLex",
1912
1914
  "genesysBotConnector",
1913
1915
  "niceCXOne",
1914
- "niceCXOneAAH"
1916
+ "niceCXOneAAH",
1917
+ "zoomContactCenter"
1915
1918
  ];
1916
1919
  export declare type TRestChannelType = typeof restChannelTypes[number];
1917
1920
  declare const socketChannelTypes: readonly [
@@ -8737,6 +8740,7 @@ export interface IOpenAIMeta {
8737
8740
  export interface IOpenAICompatibleMeta {
8738
8741
  customModel: string;
8739
8742
  baseCustomUrl: string;
8743
+ customAuthHeader?: string;
8740
8744
  }
8741
8745
  export interface IAlephAlphaMeta {
8742
8746
  customModel?: string;
@@ -17171,6 +17175,7 @@ export interface IOpenAIMeta_2_0 {
17171
17175
  export interface IOpenAICompatibleMeta_2_0 {
17172
17176
  customModel: string;
17173
17177
  baseCustomUrl: string;
17178
+ customAuthHeader?: string;
17174
17179
  }
17175
17180
  export interface IAnthropicMeta_2_0 {
17176
17181
  customModel?: string;
@@ -17334,6 +17339,21 @@ export interface IGoogleGeminiMeta_2_0 {
17334
17339
  * baseCustomUrl:
17335
17340
  * type: string
17336
17341
  * example: https://api.aleph-alpha.com
17342
+ * openAICompatible:
17343
+ * type: object
17344
+ * description: OpenAI compatible provider
17345
+ * properties:
17346
+ * customModel:
17347
+ * type: string
17348
+ * example: luminous-003
17349
+ * description: The custom model name. This does not work with embedding models
17350
+ * baseCustomUrl:
17351
+ * type: string
17352
+ * example: https://own-llm-deployment.company.com/openai/v1
17353
+ * customAuthHeader:
17354
+ * type: string
17355
+ * example: Ocp-Apim-Subscription-Key
17356
+ * description: The api key will be sent via this http header if specified
17337
17357
  *
17338
17358
  * ILargeLanguageModelFields_2_0:
17339
17359
  * allOf:
@@ -20788,7 +20808,10 @@ declare const actionTypes: readonly [
20788
20808
  "updateFlowSettings",
20789
20809
  "optionsResolver",
20790
20810
  "processKnowledgeSourceUrl",
20791
- "processKnowledgeSourceFile"
20811
+ "processKnowledgeSourceFile",
20812
+ "setupObservationConfig",
20813
+ "updateObservationConfig",
20814
+ "resolveAiOpsCenterError"
20792
20815
  ];
20793
20816
  export declare type TActionType = typeof actionTypes[number];
20794
20817
  /**
@@ -20841,7 +20864,7 @@ export declare type TResourceTypeAdditional = "aicopilotconfig" | "apiKey" | "an
20841
20864
  * - $ref: '#/components/schemas/TResourceType'
20842
20865
  * - $ref: '#/components/schemas/TResourceTypeAdditional'
20843
20866
  */
20844
- export declare type TAuditEventChainElementType = TResourceType | TResourceTypeAdditional;
20867
+ export declare type TAuditEventChainElementType = TResourceType | TResourceTypeAdditional | "AiOpsCenterError";
20845
20868
  /***
20846
20869
  * @openapi
20847
20870
  * components:
@@ -22650,13 +22673,18 @@ export interface IIndexOpsCenterErrorsRestReturnValue_2_0 {
22650
22673
  items?: IGetOpsCenterError[];
22651
22674
  }
22652
22675
  declare const notificationChannels: readonly [
22653
- "email"
22676
+ "email",
22677
+ "webhook"
22654
22678
  ];
22655
22679
  export declare type NotificationChannel = (typeof notificationChannels)[number];
22656
22680
  export interface NotificationConfig {
22657
22681
  channel: NotificationChannel;
22658
22682
  /** List of email addresses to send notifications to. */
22659
22683
  addresses: string[];
22684
+ webhook?: {
22685
+ url: string;
22686
+ connectionId: string;
22687
+ };
22660
22688
  }
22661
22689
  export interface AlertingConfig {
22662
22690
  configuredAlerts: {
@@ -22711,7 +22739,282 @@ export interface AIOpsCenterAPIGroup_2_0 {
22711
22739
  indexOpsCenterAlerts: TRestAPIOperation<IIndexOpsCenterAlertsRestData_2_0, IIndexOpsCenterAlertsRestReturnValue_2_0>;
22712
22740
  }
22713
22741
  declare function AIOpsCenterAPIGroup_2_0(instance: Base): AIOpsCenterAPIGroup_2_0;
22714
- export declare type TRestAPIGroupsTypeByConfiguration<T extends IRestAPIClientConfig> = TResourceAPIVersionType<T> & TJWTAuthAPIVersionType<T> & TInsightsAPIVersionType<T> & TMetricsAPIVersionType<T> & TSessionAPIVersionType<T> & TExternalAPIVersionType<T> & TAdministrationAPIVersionType<T> & TManagementAPIVersionType<T> & TAnalyticsAPIVersionType<T> & TAIOpsCenterAPIVersionType<T>;
22742
+ declare enum ESuccessCriterionTypeRest_2_0 {
22743
+ TEXT = "text",
22744
+ GOAL_COMPLETED = "goalCompleted"
22745
+ }
22746
+ export interface ISuccessCriteriaRest_2_0 {
22747
+ type: ESuccessCriterionTypeRest_2_0;
22748
+ params: Record<string, unknown>;
22749
+ }
22750
+ export interface IProjectMetadataRest_2_0 {
22751
+ projectReference: string;
22752
+ organisationReference: string;
22753
+ }
22754
+ export interface ISimulationRest_2_0 extends IProjectMetadataRest_2_0 {
22755
+ id: string;
22756
+ name: string;
22757
+ persona: string;
22758
+ personaName: string;
22759
+ mission: string;
22760
+ successCriteria: ISuccessCriteriaRest_2_0[];
22761
+ maxTurns?: number;
22762
+ timeout?: number;
22763
+ createdAt?: number;
22764
+ createdBy: string;
22765
+ updatedAt?: number;
22766
+ updatedBy: string;
22767
+ lastChanged: number;
22768
+ lastChangedBy?: string;
22769
+ expiresAt?: Date;
22770
+ }
22771
+ export interface IIndexSimulationsRestDataQuery_2_0 {
22772
+ projectId?: string;
22773
+ filter?: number;
22774
+ limit?: number;
22775
+ skip?: number;
22776
+ sort?: string;
22777
+ next?: string;
22778
+ previous?: string;
22779
+ }
22780
+ export interface IIndexSimulationsRestData_2_0 extends IIndexSimulationsRestDataQuery_2_0 {
22781
+ }
22782
+ export interface IIndexSimulationsRestReturnValue_2_0 {
22783
+ data: ISimulationRest_2_0[];
22784
+ pagination: {
22785
+ total: number;
22786
+ limit: number;
22787
+ skip: number;
22788
+ hasMore: boolean;
22789
+ next?: string;
22790
+ previous?: string;
22791
+ };
22792
+ }
22793
+ export interface ICreateSimulationRestData_2_0 {
22794
+ name: string;
22795
+ persona: string;
22796
+ personaName: string;
22797
+ mission: string;
22798
+ successCriteria: ISuccessCriteriaRest_2_0[];
22799
+ maxTurns?: number;
22800
+ timeout?: number;
22801
+ projectReference: string;
22802
+ organisationReference: string;
22803
+ }
22804
+ export interface ICreateSimulationRestReturnValue_2_0 {
22805
+ simulation: ISimulationRest_2_0;
22806
+ }
22807
+ export interface IUpdateSimulationsRestDataQuery_2_0 {
22808
+ projectId: string;
22809
+ }
22810
+ export interface IUpdateSimulationsRestDataParams_2_0 {
22811
+ simulationReference: string;
22812
+ }
22813
+ export interface IUpdateSimulationsRestDataBody_2_0 {
22814
+ name?: string;
22815
+ persona?: string;
22816
+ personaName?: string;
22817
+ mission?: string;
22818
+ successCriteria?: ISuccessCriteriaRest_2_0[];
22819
+ maxTurns?: number;
22820
+ timeout?: number;
22821
+ }
22822
+ export interface IUpdateSimulationRestData_2_0 extends IUpdateSimulationsRestDataQuery_2_0, IUpdateSimulationsRestDataParams_2_0, IUpdateSimulationsRestDataBody_2_0 {
22823
+ }
22824
+ export interface IUpdateSimulationRestReturnValue_2_0 {
22825
+ simulation: ISimulationRest_2_0;
22826
+ }
22827
+ export interface IDeleteSimulationsRestDataQuery_2_0 {
22828
+ projectId: string;
22829
+ }
22830
+ export interface IDeleteSimulationRestData_2_0 extends IDeleteSimulationsRestDataQuery_2_0 {
22831
+ simulationReference: string;
22832
+ }
22833
+ export interface IDeleteSimulationRestReturnValue_2_0 {
22834
+ }
22835
+ export interface IReadSimulationsRestDataQuery_2_0 {
22836
+ projectId: string;
22837
+ }
22838
+ export interface IReadSimulationRestData_2_0 extends IReadSimulationsRestDataQuery_2_0 {
22839
+ simulationReference: string;
22840
+ }
22841
+ export interface IReadSimulationRestReturnValue_2_0 {
22842
+ simulation: ISimulationRest_2_0;
22843
+ }
22844
+ export interface IScheduleSimulationRestDataParams_2_0 {
22845
+ simulationReference: string;
22846
+ }
22847
+ export interface IScheduleSimulationRestDataBody_2_0 {
22848
+ name: string;
22849
+ largeLanguageModelReferenceId: string;
22850
+ runConfig: {
22851
+ flowReferenceId: string;
22852
+ localeReferenceId?: string;
22853
+ entrypoint: string;
22854
+ };
22855
+ projectReference: string;
22856
+ numberOfExecutions: number;
22857
+ }
22858
+ export interface IScheduleSimulationRestData_2_0 extends IScheduleSimulationRestDataParams_2_0, IScheduleSimulationRestDataBody_2_0 {
22859
+ }
22860
+ export interface IScheduleSimulationRestReturnValue_2_0 {
22861
+ simulation: ISimulationRest_2_0;
22862
+ }
22863
+ declare const SimulationRunBatchStatus: readonly [
22864
+ "IN_PROGRESS",
22865
+ "COMPLETED",
22866
+ "FAILED"
22867
+ ];
22868
+ export declare type TSimulationRunBatchStatusRest_2_0 = typeof SimulationRunBatchStatus[number];
22869
+ export interface ISimulationRunBatchRest_2_0 {
22870
+ id: string;
22871
+ name: string;
22872
+ status: TSimulationRunBatchStatusRest_2_0;
22873
+ numberOfExecutions: number;
22874
+ successRate?: number;
22875
+ efficiency?: number;
22876
+ simulationReference: string;
22877
+ projectReference: string;
22878
+ organisationReference: string;
22879
+ runConfig: {
22880
+ flowReferenceId: string;
22881
+ localeReferenceId?: string;
22882
+ entrypoint: string;
22883
+ };
22884
+ createdAt: number;
22885
+ createdBy: string;
22886
+ largeLanguageModelReferenceId: string;
22887
+ updatedAt?: number;
22888
+ completedAt?: number;
22889
+ expiresAt?: Date;
22890
+ }
22891
+ export interface IIndexSimulationRunBatchesRestDataQuery_2_0 {
22892
+ projectId: string;
22893
+ filter?: number;
22894
+ limit?: number;
22895
+ skip?: number;
22896
+ sort?: string;
22897
+ next?: string;
22898
+ previous?: string;
22899
+ }
22900
+ export interface IIndexSimulationRunBatchesRestData_2_0 extends IIndexSimulationRunBatchesRestDataQuery_2_0 {
22901
+ }
22902
+ export interface IIndexSimulationRunBatchesRestReturnValue_2_0 {
22903
+ simulationRunBatches: ISimulationRunBatchRest_2_0[];
22904
+ }
22905
+ export interface IGetAllSimulationRunBatchesRestDataQuery_2_0 {
22906
+ projectId: string;
22907
+ filter?: number;
22908
+ limit?: number;
22909
+ skip?: number;
22910
+ sort?: string;
22911
+ next?: string;
22912
+ previous?: string;
22913
+ }
22914
+ export interface IGetAllSimulationRunBatchesRestData_2_0 extends IGetAllSimulationRunBatchesRestDataQuery_2_0 {
22915
+ simulationReference: string;
22916
+ }
22917
+ export interface IGetAllSimulationRunBatchesRestReturnValue_2_0 {
22918
+ simulationRunBatches: ISimulationRunBatchRest_2_0[];
22919
+ }
22920
+ export interface IReadSimulationRunBatchRestDataQuery_2_0 {
22921
+ projectId: string;
22922
+ }
22923
+ export interface IReadSimulationRunBatchRestData_2_0 extends IReadSimulationRunBatchRestDataQuery_2_0 {
22924
+ simulationReference: string;
22925
+ simulationRunBatchReference: string;
22926
+ }
22927
+ export interface IReadSimulationRunBatchRestReturnValue_2_0 {
22928
+ simulationRunBatch: ISimulationRunBatchRest_2_0;
22929
+ }
22930
+ declare enum ETurnTypeRest_2_0 {
22931
+ INPUT = "input",
22932
+ OUTPUT = "output"
22933
+ }
22934
+ export interface ITurnRest_2_0 {
22935
+ type: ETurnTypeRest_2_0;
22936
+ text: string;
22937
+ data?: Record<string, unknown>;
22938
+ }
22939
+ declare enum ESuccessCriteriaTypeRest_2_0 {
22940
+ TEXT = "text"
22941
+ }
22942
+ export interface ISuccessCriteriaRest_2_0 {
22943
+ type: ESuccessCriteriaTypeRest_2_0;
22944
+ params: {
22945
+ text: string;
22946
+ };
22947
+ }
22948
+ declare enum ESentimentTypeRest_2_0 {
22949
+ POSITIVE = "POSITIVE",
22950
+ NEUTRAL = "NEUTRAL",
22951
+ NEGATIVE = "NEGATIVE"
22952
+ }
22953
+ export interface ISimulationRunRest_2_0 {
22954
+ id: string;
22955
+ organisationReference: string;
22956
+ projectReference: string;
22957
+ simulationReference: string;
22958
+ simulationRunBatchReference: string;
22959
+ sequence: number;
22960
+ largeLanguageModelReferenceId: string;
22961
+ turns: ITurnRest_2_0[];
22962
+ totalTurns: number;
22963
+ successCriteria: ISuccessCriteriaRest_2_0[];
22964
+ metrics: {
22965
+ sentiment: ESentimentTypeRest_2_0;
22966
+ outOfScope: string;
22967
+ efficiency: number;
22968
+ topic: string;
22969
+ success: boolean;
22970
+ };
22971
+ createdAt: number;
22972
+ createdBy: string;
22973
+ duration?: number;
22974
+ expiresAt?: Date;
22975
+ }
22976
+ export interface IIndexSimulationRunsRestDataQuery_2_0 {
22977
+ projectId: string;
22978
+ filter?: number;
22979
+ limit?: number;
22980
+ skip?: number;
22981
+ sort?: string;
22982
+ next?: string;
22983
+ previous?: string;
22984
+ }
22985
+ export interface IIndexSimulationRunsRestData_2_0 extends IIndexSimulationRunsRestDataQuery_2_0 {
22986
+ simulationRunBatchReference: string;
22987
+ simulationReference: string;
22988
+ }
22989
+ export interface IIndexSimulationRunsRestReturnValue_2_0 {
22990
+ simulationRuns: ISimulationRunRest_2_0[];
22991
+ }
22992
+ export interface IReadSimulationRunRestDataQuery_2_0 {
22993
+ projectId: string;
22994
+ }
22995
+ export interface IReadSimulationRunRestData_2_0 extends IReadSimulationRunRestDataQuery_2_0 {
22996
+ simulationRunReference: string;
22997
+ simulationRunBatchReference: string;
22998
+ simulationReference: string;
22999
+ }
23000
+ export interface IReadSimulationRunRestReturnValue_2_0 {
23001
+ simulationRun: ISimulationRunRest_2_0;
23002
+ }
23003
+ export interface SimulationAPIGroup_2_0 {
23004
+ indexSimulations: TRestAPIOperation<IIndexSimulationsRestData_2_0, IIndexSimulationsRestReturnValue_2_0>;
23005
+ createSimulation: TRestAPIOperation<ICreateSimulationRestData_2_0, ICreateSimulationRestReturnValue_2_0>;
23006
+ updateSimulation: TRestAPIOperation<IUpdateSimulationRestData_2_0, IUpdateSimulationRestReturnValue_2_0>;
23007
+ deleteSimulation: TRestAPIOperation<IDeleteSimulationRestData_2_0, IDeleteSimulationRestReturnValue_2_0>;
23008
+ readSimulation: TRestAPIOperation<IReadSimulationRestData_2_0, IReadSimulationRestReturnValue_2_0>;
23009
+ scheduleSimulation: TRestAPIOperation<IScheduleSimulationRestData_2_0, IScheduleSimulationRestReturnValue_2_0>;
23010
+ indexSimulationRunBatches: TRestAPIOperation<IIndexSimulationRunBatchesRestData_2_0, IIndexSimulationRunBatchesRestReturnValue_2_0>;
23011
+ getAllSimulationRunBatches: TRestAPIOperation<IGetAllSimulationRunBatchesRestData_2_0, IGetAllSimulationRunBatchesRestReturnValue_2_0>;
23012
+ readSimulationRunBatch: TRestAPIOperation<IReadSimulationRunBatchRestData_2_0, IReadSimulationRunBatchRestReturnValue_2_0>;
23013
+ indexSimulationRuns: TRestAPIOperation<IIndexSimulationRunsRestData_2_0, IIndexSimulationRunsRestReturnValue_2_0>;
23014
+ readSimulationRun: TRestAPIOperation<IReadSimulationRunRestData_2_0, IReadSimulationRunRestReturnValue_2_0>;
23015
+ }
23016
+ declare function SimulationAPIGroup_2_0(instance: Base): SimulationAPIGroup_2_0;
23017
+ export declare type TRestAPIGroupsTypeByConfiguration<T extends IRestAPIClientConfig> = TResourceAPIVersionType<T> & TJWTAuthAPIVersionType<T> & TInsightsAPIVersionType<T> & TMetricsAPIVersionType<T> & TSessionAPIVersionType<T> & TExternalAPIVersionType<T> & TAdministrationAPIVersionType<T> & TManagementAPIVersionType<T> & TAnalyticsAPIVersionType<T> & TAIOpsCenterAPIVersionType<T> & TSimulationAPIVersionType<T>;
22715
23018
  export declare type TResourceAPIVersionType<T> = T extends {
22716
23019
  versions: {
22717
23020
  resources: "2.0";
@@ -22762,6 +23065,11 @@ export declare type TAIOpsCenterAPIVersionType<T> = T extends {
22762
23065
  aiops: "1.0";
22763
23066
  };
22764
23067
  } ? AIOpsCenterAPIGroup_2_0 : AIOpsCenterAPIGroup_2_0;
23068
+ export declare type TSimulationAPIVersionType<T> = T extends {
23069
+ versions: {
23070
+ simulation: "2.0";
23071
+ };
23072
+ } ? SimulationAPIGroup_2_0 : SimulationAPIGroup_2_0;
22765
23073
  export declare type TRestAPIClient<T extends IRestAPIClientConfig = IRestAPIClientConfig> = TRestAPIGroupsTypeByConfiguration<T> & AuthenticationAPI & IRestAPIClientProperties<T> & IHttpAdapterAPI;
22766
23074
  export interface IRestAPIClientConstructor {
22767
23075
  new <T extends IRestAPIClientConfig>(config?: T): TRestAPIClient<T>;