@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
@@ -336,124 +336,6 @@ export const avayaGatherLanguages = [
336
336
  "cmn-Hans-HK",
337
337
  "cmn-Hans-CN",
338
338
  ];
339
- export const anyEndpointSettingsSchema = {
340
- title: "anyEndpointSettingsSchema",
341
- type: "object",
342
- properties: {
343
- action: { type: "string" },
344
- accessScope: { type: "string" },
345
- accessToken: { type: "string" },
346
- appId: { type: "string" },
347
- appSecret: { type: "string" },
348
- backgroundImageUrl: { type: "string" },
349
- basicAuthPassword: { type: "string" },
350
- basicAuthUser: { type: "string" },
351
- botUserId: { type: "string" },
352
- colorScheme: { type: "string" },
353
- connectionName: { type: "string" },
354
- cpaasToken: { type: "string" },
355
- customJSON: { type: "string" },
356
- designTemplate: { type: "integer" },
357
- disableHtmlContentSanitization: { type: "boolean" },
358
- disableInputAutocomplete: { type: "boolean" },
359
- disableUrlButtonSanitization: { type: "boolean" },
360
- disableInputSanitization: { type: "boolean" },
361
- disableSkipUriTags: { type: "boolean" },
362
- enableAsyncCommunication: { type: "boolean" },
363
- enableCollectMetadata: { type: "boolean" },
364
- enableGenericHTMLStyling: { type: "boolean" },
365
- enableDemoWebchat: { type: "boolean" },
366
- enableFileUpload: { type: "boolean" },
367
- enablePersistentMenu: { type: "boolean" },
368
- enableRating: { type: "string", enum: ["always", "once", "onRequest"] },
369
- enableSTT: { type: "boolean" },
370
- enableTTS: { type: "boolean" },
371
- enableTypingIndicator: { type: "boolean" },
372
- enableFileAttachment: { type: "boolean" },
373
- fileAttachmentMaxSize: { type: "number" },
374
- facebookPageToken: { type: "string" },
375
- finishOnKey: {
376
- type: "string",
377
- enum: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "*", "#"]
378
- },
379
- workplaceToken: { type: "string" },
380
- foreignId: { type: "string" },
381
- gatherlanguage: {
382
- type: "string",
383
- enum: [...avayaGatherLanguages]
384
- },
385
- getStartedButtonText: { type: "string" },
386
- getStartedData: { type: "string" },
387
- getStartedPayload: { type: "string" },
388
- getStartedText: { type: "string" },
389
- headerLogoUrl: { type: "string" },
390
- hints: { type: "string" },
391
- hubSecret: { type: "string" },
392
- input: {
393
- type: "string",
394
- enum: ["speech dtmf", "speech", "dtmf"]
395
- },
396
- inputPlaceholder: { type: "string" },
397
- language: {
398
- type: "string",
399
- enum: [...avayaSttTtsLanguages]
400
- },
401
- lineChannelAccessToken: { type: "string" },
402
- lineChannelSecret: { type: "string" },
403
- mergeContactProfiles: { type: "boolean" },
404
- messageDelay: { type: "integer" },
405
- messageLogoUrl: { type: "string" },
406
- method: {
407
- type: "string",
408
- enum: ["GET", "POST"]
409
- },
410
- numDigits: { type: "integer" },
411
- ratingTitleText: { type: "string" },
412
- ratingCommentText: { type: "string" },
413
- ratingMessageHistoryRatingText: { type: "string" },
414
- ratingMessageHistoryCommentText: { type: "string" },
415
- reparseAlexaSlots: { type: "boolean" },
416
- requestFacebookProfileData: { type: "boolean" },
417
- sessionExpiration: { type: "integer" },
418
- slackOAuthAccessToken: { type: "string" },
419
- slackVerifyToken: { type: "string" },
420
- sunshineConversationsChannelKeyId: { type: "string" },
421
- sunshineConversationsChannelSecret: { type: "string" },
422
- sunshineConversationsChannelUri: { type: "string", format: "uri" },
423
- sunshineConversationsApiVersion: { type: "string", enum: ["v1.1", "v2"] },
424
- tenantId: { type: "string" },
425
- timeout: { type: "integer" },
426
- updateContactProfileWithFacebookProfile: { type: "boolean" },
427
- voice: { type: "string" },
428
- webhookUrl: {
429
- oneOf: [
430
- { type: "string", format: "uri" },
431
- { type: "string", enum: [""] }
432
- ]
433
- },
434
- enableConnectionStatusIndicator: { type: "boolean" },
435
- enableUnreadMessageTitleIndicator: { type: "boolean" },
436
- showEngagementMessagesInChat: { type: "boolean" },
437
- engagementMessageText: { type: "string" },
438
- enableUnreadMessageBadge: { type: "boolean" },
439
- enableUnreadMessagePreview: { type: "boolean" },
440
- enableUnreadMessageSound: { type: "boolean" },
441
- dynamicImageAspectRatio: { type: "boolean" },
442
- focusInputAfterPostback: { type: "boolean" },
443
- disableInputAutogrow: { type: "boolean" },
444
- inputAutogrowMaxRows: { type: "number" },
445
- enableInputCollation: { type: "boolean" },
446
- inputCollationTimeout: { type: "number" },
447
- skill: skillSchema,
448
- persistentMenu: webchatPersistentMenuSchema,
449
- shouldOverwriteWebchatBundleUrl: { type: "boolean" },
450
- overwriteWebchatBundleUrl: { type: "string" },
451
- businessHours: businessHoursMenuSchema,
452
- maintenance: maintenanceMenuSchema,
453
- callEvents: callEventsSchema,
454
- failover: callFailoverSettingsSchema,
455
- }
456
- };
457
339
  export const dashbotPlatform = [
458
340
  "facebook",
459
341
  "whatsapp",
@@ -792,6 +674,24 @@ export const niceCXOneEndpointSettingsSchema = {
792
674
  },
793
675
  additionalProperties: false
794
676
  };
677
+ export const niceCXOneAAHEndpointSettingsSchema = {
678
+ type: "object",
679
+ properties: {
680
+ niceCXOneAAHConnection: {
681
+ anyOf: [
682
+ {
683
+ type: "string",
684
+ format: "uuid"
685
+ },
686
+ {
687
+ type: "string",
688
+ maxLength: 0
689
+ }
690
+ ]
691
+ }
692
+ },
693
+ additionalProperties: false
694
+ };
795
695
  export const agentAssistVoiceEndpointSettingsSchema = {
796
696
  type: "object",
797
697
  properties: {
@@ -799,6 +699,31 @@ export const agentAssistVoiceEndpointSettingsSchema = {
799
699
  },
800
700
  additionalProperties: false
801
701
  };
702
+ export const anyEndpointSettingsSchema = {
703
+ title: "anyEndpointSettingsSchema",
704
+ type: "object",
705
+ 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: {
706
+ type: "string",
707
+ enum: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "*", "#"]
708
+ }, workplaceToken: { type: "string" }, foreignId: { type: "string" }, gatherlanguage: {
709
+ type: "string",
710
+ enum: [...avayaGatherLanguages]
711
+ }, getStartedButtonText: { type: "string" }, getStartedData: { type: "string" }, getStartedPayload: { type: "string" }, getStartedText: { type: "string" }, headerLogoUrl: { type: "string" }, hints: { type: "string" }, hubSecret: { type: "string" }, input: {
712
+ type: "string",
713
+ enum: ["speech dtmf", "speech", "dtmf"]
714
+ }, inputPlaceholder: { type: "string" }, language: {
715
+ type: "string",
716
+ enum: [...avayaSttTtsLanguages]
717
+ }, lineChannelAccessToken: { type: "string" }, lineChannelSecret: { type: "string" }, mergeContactProfiles: { type: "boolean" }, messageDelay: { type: "integer" }, messageLogoUrl: { type: "string" }, method: {
718
+ type: "string",
719
+ enum: ["GET", "POST"]
720
+ }, 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: {
721
+ oneOf: [
722
+ { type: "string", format: "uri" },
723
+ { type: "string", enum: [""] }
724
+ ]
725
+ }, 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: skillSchema, persistentMenu: webchatPersistentMenuSchema, shouldOverwriteWebchatBundleUrl: { type: "boolean" }, overwriteWebchatBundleUrl: { type: "string" }, businessHours: businessHoursMenuSchema, maintenance: maintenanceMenuSchema, callEvents: callEventsSchema, failover: callFailoverSettingsSchema }, niceCXOneAAHEndpointSettingsSchema.properties)
726
+ };
802
727
  /** Create the default endpoint for adminconsole i.e. for interaction panel */
803
728
  export const createAdminConsoleEndpointConfiguration = () => {
804
729
  /** Create the endpointConfiguration for this connection */
@@ -1,9 +1,9 @@
1
1
  import { anyEndpointSettingsSchema } from "../messageAPI/endpoints";
2
- import { transformerFunctionSchema } from "../transformers/ITransformerFunction";
2
+ import { transformerFunctionSchema, } from "../transformers/ITransformerFunction";
3
3
  import { handoverSettingsSchema } from "../handover";
4
4
  import { entityMetaSchema } from "./IEntityMeta";
5
- import { translationSettingsEndpointSchema } from "../IEndpointTranslationSettings";
6
- import { fileStorageSettingsSchema } from '../fileStorage';
5
+ import { translationSettingsEndpointSchema, } from "../IEndpointTranslationSettings";
6
+ import { fileStorageSettingsSchema } from "../fileStorage";
7
7
  export const endpointDataSchema = {
8
8
  title: "endpointDataSchema",
9
9
  type: "object",
@@ -14,16 +14,17 @@ export const endpointDataSchema = {
14
14
  channel: { type: "string", format: "endpoint-channel" },
15
15
  dashbotApikey: { type: "string" },
16
16
  dashbotPlatform: { type: "string" },
17
+ customIcon: { type: "string" },
17
18
  flowId: {
18
19
  oneOf: [
19
20
  { type: "string", format: "uuid" },
20
- { type: "string", enum: [""] }
21
+ { type: "string", enum: [""] },
21
22
  ],
22
23
  },
23
24
  localeId: {
24
25
  oneOf: [
25
26
  { type: "string", format: "uuid" },
26
- { type: "string", enum: [""] }
27
+ { type: "string", enum: [""] },
27
28
  ],
28
29
  },
29
30
  entrypoint: { type: ["string", "null"], format: "mongo-id" },
@@ -35,7 +36,7 @@ export const endpointDataSchema = {
35
36
  oneOf: [
36
37
  { type: "string", format: "uuid" },
37
38
  { type: "string", format: "nlu-connector-type" },
38
- ]
39
+ ],
39
40
  },
40
41
  settings: anyEndpointSettingsSchema,
41
42
  transformer: transformerFunctionSchema,
@@ -50,7 +51,25 @@ export const endpointDataSchema = {
50
51
  overrideSnapshotConnections: { type: "boolean" },
51
52
  fileStorageSettings: fileStorageSettingsSchema,
52
53
  disableInputSanitization: { type: "boolean" },
53
- disableSkipUriTags: { type: "boolean" }
54
+ disableSkipUriTags: { type: "boolean" },
55
+ webrtcClient: { type: "boolean" },
56
+ sipConnectivityInfo: {
57
+ type: "object",
58
+ properties: {
59
+ realm: { type: "string" },
60
+ username: { type: "string" },
61
+ password: { type: "string" },
62
+ applicationSid: { type: "string" },
63
+ clientSid: { type: "string" },
64
+ wsUri: { type: "string" },
65
+ },
66
+ },
67
+ webrtcWidgetConfig: {
68
+ type: "object",
69
+ properties: {
70
+ label: { type: "string" },
71
+ },
72
+ },
54
73
  },
55
74
  };
56
75
  export const endpointSchema = {
@@ -11,6 +11,14 @@ export const anthropicMetaSchema = {
11
11
  customModel: { type: ["string", "null"] }
12
12
  }
13
13
  };
14
+ export const mistralMetaSchema = {
15
+ title: "mistralMetaSchema",
16
+ type: "object",
17
+ additionalProperties: false,
18
+ properties: {
19
+ customModel: { type: ["string", "null"] }
20
+ }
21
+ };
14
22
  export const awsBedrockMetaSchema = {
15
23
  title: "awsBedrockMetaSchema",
16
24
  type: "object",
@@ -129,6 +137,7 @@ export const largeLanguageModelDataSchema = {
129
137
  googleGemini: googleGeminiMetaSchema,
130
138
  alephAlpha: alephAlphaMetaSchema,
131
139
  anthropic: anthropicMetaSchema,
140
+ mistral: mistralMetaSchema,
132
141
  awsBedrock: awsBedrockMetaSchema,
133
142
  fallbacks: llmFallbackSchema,
134
143
  resourceLevel: { type: "string", enum: ["organisation", "project"] },
@@ -0,0 +1,13 @@
1
+ export const sipConnectivityInfoSchema = {
2
+ title: "sipConnectivityInfoSchema",
3
+ type: "object",
4
+ properties: {
5
+ realm: { type: "string" },
6
+ username: { type: "string" },
7
+ password: { type: "string" },
8
+ applicationSid: { type: "string" },
9
+ wsUri: { type: "string" },
10
+ clientSid: { type: "string" },
11
+ },
12
+ };
13
+ //# sourceMappingURL=ISipConnectivityInfo.js.map
@@ -0,0 +1,8 @@
1
+ export const webrtcWidgetConfigSchema = {
2
+ title: "webrtcWidgetConfigSchema",
3
+ type: "object",
4
+ properties: {
5
+ label: { type: "string" },
6
+ },
7
+ };
8
+ //# sourceMappingURL=IWebrtcWidgetConfig.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IConversationCounterPreAggregatedValue_3_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IGetConversationCounterOrganisationRest_3_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IGetConversationCounterRest_3_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IIndexOpsCenterAlertsRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IOpsCenterAlert.js.map
@@ -0,0 +1,31 @@
1
+ // This is a copy of the Component in the service-sentinel/opsCenter
2
+ export const arrayOfTMainComponent = ["VoiceGateway", "Endpoint", "Flow", "HandoverProvider"];
3
+ /**
4
+ * Each main component has a set of subcomponents and Errors and Alerts
5
+ * are also tagged with a respective subcomponents.
6
+ */
7
+ export const arrayOfTVoiceGatewaySubComponent = ["SpeechToText", "TextToSpeech"];
8
+ export const arrayOfTEndpointSubComponent = [
9
+ "InputTransformer",
10
+ "OutputTransformer",
11
+ "ExecutionFinishedTransformer",
12
+ "InjectTransformer",
13
+ "NotifyTransformer",
14
+ "RealtimeTranslation",
15
+ "MessageRoundtrip",
16
+ ];
17
+ export const arrayOfTFlowSubComponent = [
18
+ "FlowNodeExecution",
19
+ "NaturalLanguageUnderstanding",
20
+ "OutboundHTTPCalls",
21
+ "LargeLanguageModelCalls",
22
+ "KnowledgeAIQueries",
23
+ ];
24
+ export const arrayOfTHandoverProviderSubComponent = ["OutboundHTTPCalls"];
25
+ export const arrayOfTSubComponent = [
26
+ ...arrayOfTVoiceGatewaySubComponent,
27
+ ...arrayOfTEndpointSubComponent,
28
+ ...arrayOfTFlowSubComponent,
29
+ ...arrayOfTHandoverProviderSubComponent,
30
+ ];
31
+ //# sourceMappingURL=IOpsCenterComponents.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IDeleteOpsCenterErrorRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IGetOpsCenterErrorRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IIndexOpsCenterErrorsRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IOpsCenterError.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IGetOpsCenterMetrics.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IGetOpsCenterMetricsConfigRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IGetOpsCenterMetricsRangeRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IGetOpsCenterMetricsRest_2_0.js.map
@@ -0,0 +1,5 @@
1
+ const chartTypes = ["bar-chart", "heat-map", "line-chart", "alerts-errors", "health-status-monitor"];
2
+ const segmentConfigArray = ["voice-gateway", "endpoints", "flows", "overview", "handover-provider"];
3
+ const availableColorsArray = ["default", "blue", "yellow", "green", "purple", "red"];
4
+ export {};
5
+ //# sourceMappingURL=IOpsCenterMetricsConfig.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IGetOpsCenterObservationConfigRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ const notificationChannels = ["email"];
2
+ export {};
3
+ //# sourceMappingURL=IOpsCenterObservationConfig.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IPatchOpsCenterObservationConfigRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ISetupOpsCenterObservationConfigRest_2_0.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IConversationCounterPreAggregatedValue.js.map
@@ -22,6 +22,7 @@ export const samlIdentityProviderDataSchema = {
22
22
  idpLoginEndpoint: { type: "string", minLength: 1, maxLength: 5000 },
23
23
  idpLogoutEndpoint: { type: "string", minLength: 1, maxLength: 5000 },
24
24
  idpCertificate: { type: "string", minLength: 1, maxLength: 15000 },
25
+ wantAuthnResponseSigned: { type: "boolean" },
25
26
  decryptionPrivateKey: { type: "string", minLength: 1, maxLength: 15000 },
26
27
  idpDisableRequestedAuthnContext: { type: "boolean" },
27
28
  }
@@ -15,6 +15,7 @@ export const ajvFormats = [
15
15
  "uuid",
16
16
  "json-pointer",
17
17
  "json-pointer-uri-fragment",
18
- "relative-json-pointer"
18
+ "relative-json-pointer",
19
+ "data-uri"
19
20
  ];
20
21
  //# sourceMappingURL=json-schema.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognigy/rest-api-client",
3
- "version": "4.98.0",
3
+ "version": "4.100.0",
4
4
  "description": "Cognigy REST-Client",
5
5
  "main": "build/index.js",
6
6
  "module": "dist/esm/index.js",