@cognigy/rest-api-client 4.98.0 → 4.100.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 (117) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/build/RestAPIClient.js +7 -0
  3. package/build/apigroups/AIOpsCenterAPIGroup_2_0.js +22 -0
  4. package/build/apigroups/ResourcesAPIGroup_2_0.js +11 -9
  5. package/build/apigroups/index.js +3 -1
  6. package/build/shared/charts/descriptors/agentAssist/htmlTemplates/knowledgeAssistTemplate.js +0 -44
  7. package/build/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stage0.js +0 -45
  8. package/build/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stage1.js +0 -43
  9. package/build/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stageError.js +0 -45
  10. package/build/shared/charts/descriptors/connectionNodes/generativeAIProviders/index.js +6 -2
  11. package/build/shared/charts/descriptors/connectionNodes/generativeAIProviders/mistralProviderConnection.js +11 -0
  12. package/build/shared/charts/descriptors/index.js +7 -1
  13. package/build/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +10 -1
  14. package/build/shared/charts/descriptors/service/GPTPrompt.js +14 -4
  15. package/build/shared/charts/descriptors/service/LLMEntityExtract.js +1 -1
  16. package/build/shared/charts/descriptors/service/LLMModerate.js +275 -0
  17. package/build/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +185 -63
  18. package/build/shared/charts/descriptors/service/aiAgent/aiAgentJobCallMCPTool.js +180 -0
  19. package/build/shared/charts/descriptors/service/aiAgent/aiAgentJobMCPTool.js +196 -0
  20. package/build/shared/charts/descriptors/service/aiAgent/aiAgentToolAnswer.js +5 -1
  21. package/build/shared/charts/descriptors/service/index.js +9 -1
  22. package/build/shared/charts/descriptors/service/niceCXOneAAHAuthenticationConnection.js +12 -0
  23. package/build/shared/charts/descriptors/voice/mappers/hangup.mapper.js +9 -8
  24. package/build/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +9 -10
  25. package/build/shared/charts/descriptors/voice/nodes/hangup.js +1 -1
  26. package/build/shared/charts/descriptors/voicegateway/nodes/hangup.js +1 -1
  27. package/build/shared/charts/descriptors/voicegateway2/nodes/hangup.js +24 -2
  28. package/build/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +25 -5
  29. package/build/shared/interfaces/amqpInterface.js +3 -0
  30. package/build/shared/interfaces/generativeAI/IGenerativeAIModels.js +10 -1
  31. package/build/shared/interfaces/messageAPI/endpoints.js +44 -119
  32. package/build/shared/interfaces/resources/IEndpoint.js +23 -4
  33. package/build/shared/interfaces/resources/ILargeLanguageModel.js +10 -1
  34. package/build/shared/interfaces/resources/ISipConnectivityInfo.js +16 -0
  35. package/build/shared/interfaces/resources/IWebrtcWidgetConfig.js +11 -0
  36. package/build/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IConversationCounterPreAggregatedValue_3_0.js +3 -0
  37. package/build/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IGetConversationCounterOrganisationRest_3_0.js +3 -0
  38. package/build/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IGetConversationCounterRest_3_0.js +3 -0
  39. package/build/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/index.js +3 -0
  40. package/build/shared/interfaces/restAPI/opsCenter/alerts/IIndexOpsCenterAlertsRest_2_0.js +3 -0
  41. package/build/shared/interfaces/restAPI/opsCenter/alerts/IOpsCenterAlert.js +3 -0
  42. package/build/shared/interfaces/restAPI/opsCenter/component/IOpsCenterComponents.js +34 -0
  43. package/build/shared/interfaces/restAPI/opsCenter/errors/IDeleteOpsCenterErrorRest_2_0.js +3 -0
  44. package/build/shared/interfaces/restAPI/opsCenter/errors/IGetOpsCenterErrorRest_2_0.js +3 -0
  45. package/build/shared/interfaces/restAPI/opsCenter/errors/IIndexOpsCenterErrorsRest_2_0.js +3 -0
  46. package/build/shared/interfaces/restAPI/opsCenter/errors/IOpsCenterError.js +3 -0
  47. package/build/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetrics.js +3 -0
  48. package/build/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsConfigRest_2_0.js +3 -0
  49. package/build/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsRangeRest_2_0.js +3 -0
  50. package/build/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsRest_2_0.js +3 -0
  51. package/build/shared/interfaces/restAPI/opsCenter/metrics/IOpsCenterMetricsConfig.js +6 -0
  52. package/build/shared/interfaces/restAPI/opsCenter/observationConfig/IGetOpsCenterObservationConfigRest_2_0.js +3 -0
  53. package/build/shared/interfaces/restAPI/opsCenter/observationConfig/IOpsCenterObservationConfig.js +4 -0
  54. package/build/shared/interfaces/restAPI/opsCenter/observationConfig/IPatchOpsCenterObservationConfigRest_2_0.js +3 -0
  55. package/build/shared/interfaces/restAPI/opsCenter/observationConfig/ISetupOpsCenterObservationConfigRest_2_0.js +3 -0
  56. package/build/shared/interfaces/security/IConversationCounterPreAggregatedValue.js +3 -0
  57. package/build/shared/interfaces/security/IIdentityProvider.js +1 -0
  58. package/build/shared/json-schema.js +2 -1
  59. package/dist/esm/RestAPIClient.js +7 -0
  60. package/dist/esm/apigroups/AIOpsCenterAPIGroup_2_0.js +18 -0
  61. package/dist/esm/apigroups/ResourcesAPIGroup_2_0.js +11 -9
  62. package/dist/esm/apigroups/index.js +1 -0
  63. package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/knowledgeAssistTemplate.js +0 -44
  64. package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stage0.js +0 -45
  65. package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stage1.js +0 -43
  66. package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stageError.js +0 -45
  67. package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/index.js +4 -1
  68. package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/mistralProviderConnection.js +8 -0
  69. package/dist/esm/shared/charts/descriptors/index.js +8 -2
  70. package/dist/esm/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +12 -3
  71. package/dist/esm/shared/charts/descriptors/service/GPTPrompt.js +18 -8
  72. package/dist/esm/shared/charts/descriptors/service/LLMEntityExtract.js +1 -1
  73. package/dist/esm/shared/charts/descriptors/service/LLMModerate.js +273 -0
  74. package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +185 -63
  75. package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJobCallMCPTool.js +178 -0
  76. package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJobMCPTool.js +193 -0
  77. package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentToolAnswer.js +5 -1
  78. package/dist/esm/shared/charts/descriptors/service/index.js +4 -0
  79. package/dist/esm/shared/charts/descriptors/service/niceCXOneAAHAuthenticationConnection.js +9 -0
  80. package/dist/esm/shared/charts/descriptors/voice/mappers/hangup.mapper.js +9 -8
  81. package/dist/esm/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +9 -10
  82. package/dist/esm/shared/charts/descriptors/voice/nodes/hangup.js +1 -1
  83. package/dist/esm/shared/charts/descriptors/voicegateway/nodes/hangup.js +1 -1
  84. package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/hangup.js +24 -2
  85. package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +25 -5
  86. package/dist/esm/shared/interfaces/amqpInterface.js +3 -0
  87. package/dist/esm/shared/interfaces/generativeAI/IGenerativeAIModels.js +10 -1
  88. package/dist/esm/shared/interfaces/messageAPI/endpoints.js +43 -118
  89. package/dist/esm/shared/interfaces/resources/IEndpoint.js +26 -7
  90. package/dist/esm/shared/interfaces/resources/ILargeLanguageModel.js +9 -0
  91. package/dist/esm/shared/interfaces/resources/ISipConnectivityInfo.js +13 -0
  92. package/dist/esm/shared/interfaces/resources/IWebrtcWidgetConfig.js +8 -0
  93. package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IConversationCounterPreAggregatedValue_3_0.js +2 -0
  94. package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IGetConversationCounterOrganisationRest_3_0.js +2 -0
  95. package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IGetConversationCounterRest_3_0.js +2 -0
  96. package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/index.js +2 -0
  97. package/dist/esm/shared/interfaces/restAPI/opsCenter/alerts/IIndexOpsCenterAlertsRest_2_0.js +2 -0
  98. package/dist/esm/shared/interfaces/restAPI/opsCenter/alerts/IOpsCenterAlert.js +2 -0
  99. package/dist/esm/shared/interfaces/restAPI/opsCenter/component/IOpsCenterComponents.js +31 -0
  100. package/dist/esm/shared/interfaces/restAPI/opsCenter/errors/IDeleteOpsCenterErrorRest_2_0.js +2 -0
  101. package/dist/esm/shared/interfaces/restAPI/opsCenter/errors/IGetOpsCenterErrorRest_2_0.js +2 -0
  102. package/dist/esm/shared/interfaces/restAPI/opsCenter/errors/IIndexOpsCenterErrorsRest_2_0.js +2 -0
  103. package/dist/esm/shared/interfaces/restAPI/opsCenter/errors/IOpsCenterError.js +2 -0
  104. package/dist/esm/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetrics.js +2 -0
  105. package/dist/esm/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsConfigRest_2_0.js +2 -0
  106. package/dist/esm/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsRangeRest_2_0.js +2 -0
  107. package/dist/esm/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsRest_2_0.js +2 -0
  108. package/dist/esm/shared/interfaces/restAPI/opsCenter/metrics/IOpsCenterMetricsConfig.js +5 -0
  109. package/dist/esm/shared/interfaces/restAPI/opsCenter/observationConfig/IGetOpsCenterObservationConfigRest_2_0.js +2 -0
  110. package/dist/esm/shared/interfaces/restAPI/opsCenter/observationConfig/IOpsCenterObservationConfig.js +3 -0
  111. package/dist/esm/shared/interfaces/restAPI/opsCenter/observationConfig/IPatchOpsCenterObservationConfigRest_2_0.js +2 -0
  112. package/dist/esm/shared/interfaces/restAPI/opsCenter/observationConfig/ISetupOpsCenterObservationConfigRest_2_0.js +2 -0
  113. package/dist/esm/shared/interfaces/security/IConversationCounterPreAggregatedValue.js +2 -0
  114. package/dist/esm/shared/interfaces/security/IIdentityProvider.js +1 -0
  115. package/dist/esm/shared/json-schema.js +2 -1
  116. package/package.json +1 -1
  117. package/types/index.d.ts +392 -43
@@ -11,6 +11,7 @@ exports.embeddingModels = [
11
11
  "text-embedding-ada-002",
12
12
  "luminous-embedding-128",
13
13
  "amazon.titan-embed-text-v2:0",
14
+ "Pharia-1-Embedding-4608",
14
15
  ];
15
16
  exports.generativeAIModels = [
16
17
  "gpt-3.5-turbo",
@@ -30,11 +31,17 @@ exports.generativeAIModels = [
30
31
  "gemini-1.0-pro",
31
32
  "gemini-1.5-pro",
32
33
  "gemini-1.5-flash",
34
+ "gemini-2.0-flash",
35
+ "gemini-2.0-flash-lite",
33
36
  "amazon.nova-lite-v1:0",
34
37
  "amazon.nova-pro-v1:0",
35
38
  "amazon.nova-micro-v1:0",
36
39
  "anthropic.claude-3-5-sonnet-20240620-v1:0",
37
40
  "claude-3-7-sonnet-20250219",
41
+ "mistral-large-2411",
42
+ "mistral-small-2503",
43
+ "pixtral-large-2411",
44
+ "pixtral-12b-2409",
38
45
  ...exports.embeddingModels,
39
46
  ];
40
47
  exports.generativeAIProviders = [
@@ -45,7 +52,8 @@ exports.generativeAIProviders = [
45
52
  "anthropic",
46
53
  "googleVertexAI",
47
54
  "googleGemini",
48
- "awsBedrock", // Bedrock models https://aws.amazon.com/bedrock/
55
+ "awsBedrock",
56
+ "mistral", // Mistral models https://docs.mistral.ai/getting-started/models/models_overview/
49
57
  ];
50
58
  exports.generativeAIProvidersLabels = {
51
59
  "azureOpenAI": "Azure OpenAI",
@@ -56,6 +64,7 @@ exports.generativeAIProvidersLabels = {
56
64
  "googleVertexAI": "Google Vertex AI",
57
65
  "googleGemini": "Google Gemini",
58
66
  "awsBedrock": "AWS Bedrock",
67
+ "mistral": "Mistral",
59
68
  };
60
69
  /**
61
70
  * WARNING: If you update the generativeAI useCases, please update the generativeAI
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createAdminConsoleEndpointConfiguration = exports.agentAssistVoiceEndpointSettingsSchema = exports.niceCXOneEndpointSettingsSchema = exports.genesysBotConnectorEndpointSettingsSchema = exports.eightByEightEndpointSettingsSchema = exports.whatsAppEndpointSettingsSchema = exports.liveAgentEndpointSettingsSchema = exports.chatwootEndpointSettingsSchema = exports.ringCentralEngageEndpointSettingsSchema = exports.avayaEndpointSettingsSchema = exports.AMAZON_POLLY_LANGUAGE_MAPPING = exports.workplaceEndpointSettingsSchema = exports.dashbotPlatform = exports.anyEndpointSettingsSchema = exports.avayaGatherLanguages = exports.avayaSttTtsLanguages = exports.callEventSettingsSchema = exports.maintenanceMenuSchema = exports.businessHoursMenuSchema = exports.webchatPersistentMenuSchema = exports.endpointTypes = void 0;
3
+ exports.createAdminConsoleEndpointConfiguration = exports.anyEndpointSettingsSchema = exports.agentAssistVoiceEndpointSettingsSchema = exports.niceCXOneAAHEndpointSettingsSchema = exports.niceCXOneEndpointSettingsSchema = exports.genesysBotConnectorEndpointSettingsSchema = exports.eightByEightEndpointSettingsSchema = exports.whatsAppEndpointSettingsSchema = exports.liveAgentEndpointSettingsSchema = exports.chatwootEndpointSettingsSchema = exports.ringCentralEngageEndpointSettingsSchema = exports.avayaEndpointSettingsSchema = exports.AMAZON_POLLY_LANGUAGE_MAPPING = exports.workplaceEndpointSettingsSchema = exports.dashbotPlatform = exports.avayaGatherLanguages = exports.avayaSttTtsLanguages = exports.callEventSettingsSchema = exports.maintenanceMenuSchema = exports.businessHoursMenuSchema = exports.webchatPersistentMenuSchema = exports.endpointTypes = void 0;
4
4
  /* Interfaces & Types */
5
5
  const alexa_1 = require("../alexa");
6
6
  const constants_1 = require("../../constants");
@@ -339,124 +339,6 @@ exports.avayaGatherLanguages = [
339
339
  "cmn-Hans-HK",
340
340
  "cmn-Hans-CN",
341
341
  ];
342
- exports.anyEndpointSettingsSchema = {
343
- title: "anyEndpointSettingsSchema",
344
- type: "object",
345
- properties: {
346
- action: { type: "string" },
347
- accessScope: { type: "string" },
348
- accessToken: { type: "string" },
349
- appId: { type: "string" },
350
- appSecret: { type: "string" },
351
- backgroundImageUrl: { type: "string" },
352
- basicAuthPassword: { type: "string" },
353
- basicAuthUser: { type: "string" },
354
- botUserId: { type: "string" },
355
- colorScheme: { type: "string" },
356
- connectionName: { type: "string" },
357
- cpaasToken: { type: "string" },
358
- customJSON: { type: "string" },
359
- designTemplate: { type: "integer" },
360
- disableHtmlContentSanitization: { type: "boolean" },
361
- disableInputAutocomplete: { type: "boolean" },
362
- disableUrlButtonSanitization: { type: "boolean" },
363
- disableInputSanitization: { type: "boolean" },
364
- disableSkipUriTags: { type: "boolean" },
365
- enableAsyncCommunication: { type: "boolean" },
366
- enableCollectMetadata: { type: "boolean" },
367
- enableGenericHTMLStyling: { type: "boolean" },
368
- enableDemoWebchat: { type: "boolean" },
369
- enableFileUpload: { type: "boolean" },
370
- enablePersistentMenu: { type: "boolean" },
371
- enableRating: { type: "string", enum: ["always", "once", "onRequest"] },
372
- enableSTT: { type: "boolean" },
373
- enableTTS: { type: "boolean" },
374
- enableTypingIndicator: { type: "boolean" },
375
- enableFileAttachment: { type: "boolean" },
376
- fileAttachmentMaxSize: { type: "number" },
377
- facebookPageToken: { type: "string" },
378
- finishOnKey: {
379
- type: "string",
380
- enum: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "*", "#"]
381
- },
382
- workplaceToken: { type: "string" },
383
- foreignId: { type: "string" },
384
- gatherlanguage: {
385
- type: "string",
386
- enum: [...exports.avayaGatherLanguages]
387
- },
388
- getStartedButtonText: { type: "string" },
389
- getStartedData: { type: "string" },
390
- getStartedPayload: { type: "string" },
391
- getStartedText: { type: "string" },
392
- headerLogoUrl: { type: "string" },
393
- hints: { type: "string" },
394
- hubSecret: { type: "string" },
395
- input: {
396
- type: "string",
397
- enum: ["speech dtmf", "speech", "dtmf"]
398
- },
399
- inputPlaceholder: { type: "string" },
400
- language: {
401
- type: "string",
402
- enum: [...exports.avayaSttTtsLanguages]
403
- },
404
- lineChannelAccessToken: { type: "string" },
405
- lineChannelSecret: { type: "string" },
406
- mergeContactProfiles: { type: "boolean" },
407
- messageDelay: { type: "integer" },
408
- messageLogoUrl: { type: "string" },
409
- method: {
410
- type: "string",
411
- enum: ["GET", "POST"]
412
- },
413
- numDigits: { type: "integer" },
414
- ratingTitleText: { type: "string" },
415
- ratingCommentText: { type: "string" },
416
- ratingMessageHistoryRatingText: { type: "string" },
417
- ratingMessageHistoryCommentText: { type: "string" },
418
- reparseAlexaSlots: { type: "boolean" },
419
- requestFacebookProfileData: { type: "boolean" },
420
- sessionExpiration: { type: "integer" },
421
- slackOAuthAccessToken: { type: "string" },
422
- slackVerifyToken: { type: "string" },
423
- sunshineConversationsChannelKeyId: { type: "string" },
424
- sunshineConversationsChannelSecret: { type: "string" },
425
- sunshineConversationsChannelUri: { type: "string", format: "uri" },
426
- sunshineConversationsApiVersion: { type: "string", enum: ["v1.1", "v2"] },
427
- tenantId: { type: "string" },
428
- timeout: { type: "integer" },
429
- updateContactProfileWithFacebookProfile: { type: "boolean" },
430
- voice: { type: "string" },
431
- webhookUrl: {
432
- oneOf: [
433
- { type: "string", format: "uri" },
434
- { type: "string", enum: [""] }
435
- ]
436
- },
437
- enableConnectionStatusIndicator: { type: "boolean" },
438
- enableUnreadMessageTitleIndicator: { type: "boolean" },
439
- showEngagementMessagesInChat: { type: "boolean" },
440
- engagementMessageText: { type: "string" },
441
- enableUnreadMessageBadge: { type: "boolean" },
442
- enableUnreadMessagePreview: { type: "boolean" },
443
- enableUnreadMessageSound: { type: "boolean" },
444
- dynamicImageAspectRatio: { type: "boolean" },
445
- focusInputAfterPostback: { type: "boolean" },
446
- disableInputAutogrow: { type: "boolean" },
447
- inputAutogrowMaxRows: { type: "number" },
448
- enableInputCollation: { type: "boolean" },
449
- inputCollationTimeout: { type: "number" },
450
- skill: alexa_1.skillSchema,
451
- persistentMenu: exports.webchatPersistentMenuSchema,
452
- shouldOverwriteWebchatBundleUrl: { type: "boolean" },
453
- overwriteWebchatBundleUrl: { type: "string" },
454
- businessHours: exports.businessHoursMenuSchema,
455
- maintenance: exports.maintenanceMenuSchema,
456
- callEvents: callEventsSchema,
457
- failover: callFailoverSettingsSchema,
458
- }
459
- };
460
342
  exports.dashbotPlatform = [
461
343
  "facebook",
462
344
  "whatsapp",
@@ -795,6 +677,24 @@ exports.niceCXOneEndpointSettingsSchema = {
795
677
  },
796
678
  additionalProperties: false
797
679
  };
680
+ exports.niceCXOneAAHEndpointSettingsSchema = {
681
+ type: "object",
682
+ properties: {
683
+ niceCXOneAAHConnection: {
684
+ anyOf: [
685
+ {
686
+ type: "string",
687
+ format: "uuid"
688
+ },
689
+ {
690
+ type: "string",
691
+ maxLength: 0
692
+ }
693
+ ]
694
+ }
695
+ },
696
+ additionalProperties: false
697
+ };
798
698
  exports.agentAssistVoiceEndpointSettingsSchema = {
799
699
  type: "object",
800
700
  properties: {
@@ -802,6 +702,31 @@ exports.agentAssistVoiceEndpointSettingsSchema = {
802
702
  },
803
703
  additionalProperties: false
804
704
  };
705
+ exports.anyEndpointSettingsSchema = {
706
+ title: "anyEndpointSettingsSchema",
707
+ type: "object",
708
+ properties: Object.assign({ action: { type: "string" }, accessScope: { type: "string" }, accessToken: { type: "string" }, appId: { type: "string" }, appSecret: { type: "string" }, backgroundImageUrl: { type: "string" }, basicAuthPassword: { type: "string" }, basicAuthUser: { type: "string" }, botUserId: { type: "string" }, colorScheme: { type: "string" }, connectionName: { type: "string" }, cpaasToken: { type: "string" }, customJSON: { type: "string" }, designTemplate: { type: "integer" }, disableHtmlContentSanitization: { type: "boolean" }, disableInputAutocomplete: { type: "boolean" }, disableUrlButtonSanitization: { type: "boolean" }, disableInputSanitization: { type: "boolean" }, disableSkipUriTags: { type: "boolean" }, enableAsyncCommunication: { type: "boolean" }, enableCollectMetadata: { type: "boolean" }, enableGenericHTMLStyling: { type: "boolean" }, enableDemoWebchat: { type: "boolean" }, enableFileUpload: { type: "boolean" }, enablePersistentMenu: { type: "boolean" }, enableRating: { type: "string", enum: ["always", "once", "onRequest"] }, enableSTT: { type: "boolean" }, enableTTS: { type: "boolean" }, enableTypingIndicator: { type: "boolean" }, enableFileAttachment: { type: "boolean" }, fileAttachmentMaxSize: { type: "number" }, facebookPageToken: { type: "string" }, finishOnKey: {
709
+ type: "string",
710
+ enum: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "*", "#"]
711
+ }, workplaceToken: { type: "string" }, foreignId: { type: "string" }, gatherlanguage: {
712
+ type: "string",
713
+ enum: [...exports.avayaGatherLanguages]
714
+ }, getStartedButtonText: { type: "string" }, getStartedData: { type: "string" }, getStartedPayload: { type: "string" }, getStartedText: { type: "string" }, headerLogoUrl: { type: "string" }, hints: { type: "string" }, hubSecret: { type: "string" }, input: {
715
+ type: "string",
716
+ enum: ["speech dtmf", "speech", "dtmf"]
717
+ }, inputPlaceholder: { type: "string" }, language: {
718
+ type: "string",
719
+ enum: [...exports.avayaSttTtsLanguages]
720
+ }, lineChannelAccessToken: { type: "string" }, lineChannelSecret: { type: "string" }, mergeContactProfiles: { type: "boolean" }, messageDelay: { type: "integer" }, messageLogoUrl: { type: "string" }, method: {
721
+ type: "string",
722
+ enum: ["GET", "POST"]
723
+ }, numDigits: { type: "integer" }, ratingTitleText: { type: "string" }, ratingCommentText: { type: "string" }, ratingMessageHistoryRatingText: { type: "string" }, ratingMessageHistoryCommentText: { type: "string" }, reparseAlexaSlots: { type: "boolean" }, requestFacebookProfileData: { type: "boolean" }, sessionExpiration: { type: "integer" }, slackOAuthAccessToken: { type: "string" }, slackVerifyToken: { type: "string" }, sunshineConversationsChannelKeyId: { type: "string" }, sunshineConversationsChannelSecret: { type: "string" }, sunshineConversationsChannelUri: { type: "string", format: "uri" }, sunshineConversationsApiVersion: { type: "string", enum: ["v1.1", "v2"] }, tenantId: { type: "string" }, timeout: { type: "integer" }, updateContactProfileWithFacebookProfile: { type: "boolean" }, voice: { type: "string" }, webhookUrl: {
724
+ oneOf: [
725
+ { type: "string", format: "uri" },
726
+ { type: "string", enum: [""] }
727
+ ]
728
+ }, enableConnectionStatusIndicator: { type: "boolean" }, enableUnreadMessageTitleIndicator: { type: "boolean" }, showEngagementMessagesInChat: { type: "boolean" }, engagementMessageText: { type: "string" }, enableUnreadMessageBadge: { type: "boolean" }, enableUnreadMessagePreview: { type: "boolean" }, enableUnreadMessageSound: { type: "boolean" }, dynamicImageAspectRatio: { type: "boolean" }, focusInputAfterPostback: { type: "boolean" }, disableInputAutogrow: { type: "boolean" }, inputAutogrowMaxRows: { type: "number" }, enableInputCollation: { type: "boolean" }, inputCollationTimeout: { type: "number" }, skill: alexa_1.skillSchema, persistentMenu: exports.webchatPersistentMenuSchema, shouldOverwriteWebchatBundleUrl: { type: "boolean" }, overwriteWebchatBundleUrl: { type: "string" }, businessHours: exports.businessHoursMenuSchema, maintenance: exports.maintenanceMenuSchema, callEvents: callEventsSchema, failover: callFailoverSettingsSchema }, exports.niceCXOneAAHEndpointSettingsSchema.properties)
729
+ };
805
730
  /** Create the default endpoint for adminconsole i.e. for interaction panel */
806
731
  const createAdminConsoleEndpointConfiguration = () => {
807
732
  /** Create the endpointConfiguration for this connection */
@@ -17,16 +17,17 @@ exports.endpointDataSchema = {
17
17
  channel: { type: "string", format: "endpoint-channel" },
18
18
  dashbotApikey: { type: "string" },
19
19
  dashbotPlatform: { type: "string" },
20
+ customIcon: { type: "string" },
20
21
  flowId: {
21
22
  oneOf: [
22
23
  { type: "string", format: "uuid" },
23
- { type: "string", enum: [""] }
24
+ { type: "string", enum: [""] },
24
25
  ],
25
26
  },
26
27
  localeId: {
27
28
  oneOf: [
28
29
  { type: "string", format: "uuid" },
29
- { type: "string", enum: [""] }
30
+ { type: "string", enum: [""] },
30
31
  ],
31
32
  },
32
33
  entrypoint: { type: ["string", "null"], format: "mongo-id" },
@@ -38,7 +39,7 @@ exports.endpointDataSchema = {
38
39
  oneOf: [
39
40
  { type: "string", format: "uuid" },
40
41
  { type: "string", format: "nlu-connector-type" },
41
- ]
42
+ ],
42
43
  },
43
44
  settings: endpoints_1.anyEndpointSettingsSchema,
44
45
  transformer: ITransformerFunction_1.transformerFunctionSchema,
@@ -53,7 +54,25 @@ exports.endpointDataSchema = {
53
54
  overrideSnapshotConnections: { type: "boolean" },
54
55
  fileStorageSettings: fileStorage_1.fileStorageSettingsSchema,
55
56
  disableInputSanitization: { type: "boolean" },
56
- disableSkipUriTags: { type: "boolean" }
57
+ disableSkipUriTags: { type: "boolean" },
58
+ webrtcClient: { type: "boolean" },
59
+ sipConnectivityInfo: {
60
+ type: "object",
61
+ properties: {
62
+ realm: { type: "string" },
63
+ username: { type: "string" },
64
+ password: { type: "string" },
65
+ applicationSid: { type: "string" },
66
+ clientSid: { type: "string" },
67
+ wsUri: { type: "string" },
68
+ },
69
+ },
70
+ webrtcWidgetConfig: {
71
+ type: "object",
72
+ properties: {
73
+ label: { type: "string" },
74
+ },
75
+ },
57
76
  },
58
77
  };
59
78
  exports.endpointSchema = {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.largeLanguageModelQuerySchema = exports.largeLanguageModelSchema = exports.largeLanguageModelDataSchema = exports.llmFallbackSchema = exports.googleGeminiMetaSchema = exports.googleVertexAIMetaSchema = exports.azureOpenAIMetaSchema = exports.openAICompatibleMetaSchema = exports.openAIMetaSchema = exports.alephAlphaMetaSchema = exports.awsBedrockMetaSchema = exports.anthropicMetaSchema = void 0;
3
+ exports.largeLanguageModelQuerySchema = exports.largeLanguageModelSchema = exports.largeLanguageModelDataSchema = exports.llmFallbackSchema = exports.googleGeminiMetaSchema = exports.googleVertexAIMetaSchema = exports.azureOpenAIMetaSchema = exports.openAICompatibleMetaSchema = exports.openAIMetaSchema = exports.alephAlphaMetaSchema = exports.awsBedrockMetaSchema = exports.mistralMetaSchema = exports.anthropicMetaSchema = void 0;
4
4
  /* Custom Modules */
5
5
  const createQuerySchema_1 = require("../../helper/createQuerySchema");
6
6
  const IEntityMeta_1 = require("./IEntityMeta");
@@ -14,6 +14,14 @@ exports.anthropicMetaSchema = {
14
14
  customModel: { type: ["string", "null"] }
15
15
  }
16
16
  };
17
+ exports.mistralMetaSchema = {
18
+ title: "mistralMetaSchema",
19
+ type: "object",
20
+ additionalProperties: false,
21
+ properties: {
22
+ customModel: { type: ["string", "null"] }
23
+ }
24
+ };
17
25
  exports.awsBedrockMetaSchema = {
18
26
  title: "awsBedrockMetaSchema",
19
27
  type: "object",
@@ -132,6 +140,7 @@ exports.largeLanguageModelDataSchema = {
132
140
  googleGemini: exports.googleGeminiMetaSchema,
133
141
  alephAlpha: exports.alephAlphaMetaSchema,
134
142
  anthropic: exports.anthropicMetaSchema,
143
+ mistral: exports.mistralMetaSchema,
135
144
  awsBedrock: exports.awsBedrockMetaSchema,
136
145
  fallbacks: exports.llmFallbackSchema,
137
146
  resourceLevel: { type: "string", enum: ["organisation", "project"] },
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sipConnectivityInfoSchema = void 0;
4
+ exports.sipConnectivityInfoSchema = {
5
+ title: "sipConnectivityInfoSchema",
6
+ type: "object",
7
+ properties: {
8
+ realm: { type: "string" },
9
+ username: { type: "string" },
10
+ password: { type: "string" },
11
+ applicationSid: { type: "string" },
12
+ wsUri: { type: "string" },
13
+ clientSid: { type: "string" },
14
+ },
15
+ };
16
+ //# sourceMappingURL=ISipConnectivityInfo.js.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.webrtcWidgetConfigSchema = void 0;
4
+ exports.webrtcWidgetConfigSchema = {
5
+ title: "webrtcWidgetConfigSchema",
6
+ type: "object",
7
+ properties: {
8
+ label: { type: "string" },
9
+ },
10
+ };
11
+ //# sourceMappingURL=IWebrtcWidgetConfig.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IConversationCounterPreAggregatedValue_3_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IGetConversationCounterOrganisationRest_3_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IGetConversationCounterRest_3_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IIndexOpsCenterAlertsRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IOpsCenterAlert.js.map
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.arrayOfTSubComponent = exports.arrayOfTHandoverProviderSubComponent = exports.arrayOfTFlowSubComponent = exports.arrayOfTEndpointSubComponent = exports.arrayOfTVoiceGatewaySubComponent = exports.arrayOfTMainComponent = void 0;
4
+ // This is a copy of the Component in the service-sentinel/opsCenter
5
+ exports.arrayOfTMainComponent = ["VoiceGateway", "Endpoint", "Flow", "HandoverProvider"];
6
+ /**
7
+ * Each main component has a set of subcomponents and Errors and Alerts
8
+ * are also tagged with a respective subcomponents.
9
+ */
10
+ exports.arrayOfTVoiceGatewaySubComponent = ["SpeechToText", "TextToSpeech"];
11
+ exports.arrayOfTEndpointSubComponent = [
12
+ "InputTransformer",
13
+ "OutputTransformer",
14
+ "ExecutionFinishedTransformer",
15
+ "InjectTransformer",
16
+ "NotifyTransformer",
17
+ "RealtimeTranslation",
18
+ "MessageRoundtrip",
19
+ ];
20
+ exports.arrayOfTFlowSubComponent = [
21
+ "FlowNodeExecution",
22
+ "NaturalLanguageUnderstanding",
23
+ "OutboundHTTPCalls",
24
+ "LargeLanguageModelCalls",
25
+ "KnowledgeAIQueries",
26
+ ];
27
+ exports.arrayOfTHandoverProviderSubComponent = ["OutboundHTTPCalls"];
28
+ exports.arrayOfTSubComponent = [
29
+ ...exports.arrayOfTVoiceGatewaySubComponent,
30
+ ...exports.arrayOfTEndpointSubComponent,
31
+ ...exports.arrayOfTFlowSubComponent,
32
+ ...exports.arrayOfTHandoverProviderSubComponent,
33
+ ];
34
+ //# sourceMappingURL=IOpsCenterComponents.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IDeleteOpsCenterErrorRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IGetOpsCenterErrorRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IIndexOpsCenterErrorsRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IOpsCenterError.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IGetOpsCenterMetrics.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IGetOpsCenterMetricsConfigRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IGetOpsCenterMetricsRangeRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IGetOpsCenterMetricsRest_2_0.js.map
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const chartTypes = ["bar-chart", "heat-map", "line-chart", "alerts-errors", "health-status-monitor"];
4
+ const segmentConfigArray = ["voice-gateway", "endpoints", "flows", "overview", "handover-provider"];
5
+ const availableColorsArray = ["default", "blue", "yellow", "green", "purple", "red"];
6
+ //# sourceMappingURL=IOpsCenterMetricsConfig.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IGetOpsCenterObservationConfigRest_2_0.js.map
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const notificationChannels = ["email"];
4
+ //# sourceMappingURL=IOpsCenterObservationConfig.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IPatchOpsCenterObservationConfigRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ISetupOpsCenterObservationConfigRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IConversationCounterPreAggregatedValue.js.map
@@ -25,6 +25,7 @@ exports.samlIdentityProviderDataSchema = {
25
25
  idpLoginEndpoint: { type: "string", minLength: 1, maxLength: 5000 },
26
26
  idpLogoutEndpoint: { type: "string", minLength: 1, maxLength: 5000 },
27
27
  idpCertificate: { type: "string", minLength: 1, maxLength: 15000 },
28
+ wantAuthnResponseSigned: { type: "boolean" },
28
29
  decryptionPrivateKey: { type: "string", minLength: 1, maxLength: 15000 },
29
30
  idpDisableRequestedAuthnContext: { type: "boolean" },
30
31
  }
@@ -18,6 +18,7 @@ exports.ajvFormats = [
18
18
  "uuid",
19
19
  "json-pointer",
20
20
  "json-pointer-uri-fragment",
21
- "relative-json-pointer"
21
+ "relative-json-pointer",
22
+ "data-uri"
22
23
  ];
23
24
  //# sourceMappingURL=json-schema.js.map
@@ -14,6 +14,7 @@ import { MetricsAPIGroup_2_0 } from "./apigroups/MetricsAPIGroup_2_0";
14
14
  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
+ import { AIOpsCenterAPIGroup_2_0 } from "./apigroups/AIOpsCenterAPIGroup_2_0";
17
18
  export const RestAPIClient = function (config) {
18
19
  var _a;
19
20
  if (!(this instanceof RestAPIClient)) {
@@ -82,6 +83,12 @@ export const RestAPIClient = function (config) {
82
83
  plugins.push(AnalyticsAPIGroup_2_0);
83
84
  break;
84
85
  }
86
+ switch (config.versions.opsCenter) {
87
+ default:
88
+ case "2.0":
89
+ plugins.push(AIOpsCenterAPIGroup_2_0);
90
+ break;
91
+ }
85
92
  const Client = Base.plugin(plugins);
86
93
  Client.config = config;
87
94
  Client.prototype.getHttpAdapter = () => {
@@ -0,0 +1,18 @@
1
+ import { GenericAPIFn } from "../GenericAPIFn";
2
+ import { stringifyQuery } from "../shared/helper/rest/query";
3
+ export function AIOpsCenterAPIGroup_2_0(instance) {
4
+ const self = instance;
5
+ return {
6
+ indexOpsCenterErrors: (args, options) => GenericAPIFn(`/beta/errors?${stringifyQuery(args)}`, "GET", self)(args, options),
7
+ getOpsCenterErrorById: (args, options) => GenericAPIFn(`/beta/errors/${args.errorId}`, "GET", self)(args, options),
8
+ deleteOpsCenterErrorById: (args, options) => GenericAPIFn(`/beta/errors/${args.errorId}`, "DELETE", self)(args, options),
9
+ getOpsCenterMetrics: (args, options) => GenericAPIFn(`/beta/v2/metrics?${stringifyQuery(args)}`, "GET", self)(args, options),
10
+ getOpsCenterMetricsConfig: (options) => GenericAPIFn("/beta/metrics/config", "GET", self)({}, options),
11
+ getOpsCenterMetricsRange: (args, options) => GenericAPIFn(`/beta/v2/metrics/range?${stringifyQuery(args)}`, "GET", self)(args, options),
12
+ getOpsCenterObservationConfig: (options) => GenericAPIFn("/beta/organisations/observationconfig", "GET", self)({}, options),
13
+ setupOpsCenterObservationConfig: (args, options) => GenericAPIFn("/beta/organisations/setupobservationconfig", "POST", self)(args, options),
14
+ patchOpsCenterObservationConfig: (args, options) => GenericAPIFn("/beta/organisations/observationconfig", "PATCH", self)(args, options),
15
+ indexOpsCenterAlerts: (args, options) => GenericAPIFn(`/beta/alerts?${stringifyQuery(args)}`, "GET", self)(args, options)
16
+ };
17
+ }
18
+ //# sourceMappingURL=AIOpsCenterAPIGroup_2_0.js.map
@@ -163,7 +163,9 @@ export const ResourcesAPIGroup_2_0 = (instance) => {
163
163
  var { endpointId } = _a, args = __rest(_a, ["endpointId"]);
164
164
  return GenericAPIFn(`/new/v2.0/endpoints/${endpointId}`, "PATCH", self)(args, options);
165
165
  },
166
- deleteEndpoint: (args, options) => GenericAPIFn(`/new/v2.0/endpoints/${args.endpointId}`, "DELETE", self)(undefined, options),
166
+ deleteEndpoint: (args, options) => {
167
+ return GenericAPIFn(`/new/v2.0/endpoints/${args.endpointId}?channelType=${args === null || args === void 0 ? void 0 : args.channelType}`, "DELETE", self)(undefined, options);
168
+ },
167
169
  indexGoals: (args, options) => GenericAPIFn(`/new/v2.0/goals?${stringifyQuery(args)}`, "GET", self)(undefined, options),
168
170
  createGoal: (args, options) => GenericAPIFn("/new/v2.0/goals", "POST", self)(args, options),
169
171
  readGoal: (args, options) => GenericAPIFn(`/new/v2.0/goals/${args.goalId}`, "GET", self)(undefined, options),
@@ -533,17 +535,17 @@ export const ResourcesAPIGroup_2_0 = (instance) => {
533
535
  return GenericAPIFn(`/new/v2.0/aicopilotconfigs/${configId}`, "PATCH", self)(args, options);
534
536
  },
535
537
  deleteAgentAssistConfig: ({ configId }, options) => GenericAPIFn(`/new/v2.0/aicopilotconfigs/${configId}`, "DELETE", self)(undefined, options),
536
- createAiAgent: (args, options) => GenericAPIFn("/new/beta/aiagents", "POST", self)(args, options),
537
- indexAiAgents: (args, options) => GenericAPIFn(`/new/beta/aiagents?${stringifyQuery(args)}`, "GET", self)(undefined, options),
538
- readAiAgent: ({ aiAgentId }, options) => GenericAPIFn(`/new/beta/aiagents/${aiAgentId}`, "GET", self)(undefined, options),
538
+ createAiAgent: (args, options) => GenericAPIFn("/new/v2.0/aiagents", "POST", self)(args, options),
539
+ indexAiAgents: (args, options) => GenericAPIFn(`/new/v2.0/aiagents?${stringifyQuery(args)}`, "GET", self)(undefined, options),
540
+ readAiAgent: ({ aiAgentId }, options) => GenericAPIFn(`/new/v2.0/aiagents/${aiAgentId}`, "GET", self)(undefined, options),
539
541
  updateAiAgent: (_a, options) => {
540
542
  var { aiAgentId } = _a, args = __rest(_a, ["aiAgentId"]);
541
- return GenericAPIFn(`/new/beta/aiagents/${aiAgentId}`, "PATCH", self)(args, options);
543
+ return GenericAPIFn(`/new/v2.0/aiagents/${aiAgentId}`, "PATCH", self)(args, options);
542
544
  },
543
- deleteAiAgent: ({ aiAgentId }, options) => GenericAPIFn(`/new/beta/aiagents/${aiAgentId}`, "DELETE", self)(undefined, options),
544
- validateAiAgentName: (args, options) => GenericAPIFn("/new/beta/aiagents/validatename", "POST", self)(args, options),
545
- getAiAgentHiringTemplates: (args, options) => GenericAPIFn("/new/beta/aiagents/hire/templates", "GET", self)(args, options),
546
- hireAiAgent: (args, options) => GenericAPIFn("/new/beta/aiagents/hire", "POST", self)(args, options),
545
+ deleteAiAgent: ({ aiAgentId }, options) => GenericAPIFn(`/new/v2.0/aiagents/${aiAgentId}`, "DELETE", self)(undefined, options),
546
+ validateAiAgentName: (args, options) => GenericAPIFn("/new/v2.0/aiagents/validatename", "POST", self)(args, options),
547
+ getAiAgentHiringTemplates: (args, options) => GenericAPIFn("/new/v2.0/aiagents/hire/templates", "GET", self)(args, options),
548
+ hireAiAgent: (args, options) => GenericAPIFn("/new/v2.0/aiagents/hire", "POST", self)(args, options),
547
549
  generateNodeOutput(_a, options) {
548
550
  var { flowId } = _a, args = __rest(_a, ["flowId"]);
549
551
  return GenericAPIFn(`/new/v2.0/flows/${flowId}/chart/nodes/output/generate`, "POST", self)(args, options);
@@ -10,4 +10,5 @@ export { ManagementAPIGroup_2_0 } from "./ManagementAPIGroup_2_0";
10
10
  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
+ export { AIOpsCenterAPIGroup_2_0 } from "./AIOpsCenterAPIGroup_2_0";
13
14
  //# sourceMappingURL=index.js.map