@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.
- package/CHANGELOG.md +10 -0
- package/build/RestAPIClient.js +7 -0
- package/build/apigroups/AIOpsCenterAPIGroup_2_0.js +22 -0
- package/build/apigroups/ResourcesAPIGroup_2_0.js +11 -9
- package/build/apigroups/index.js +3 -1
- package/build/shared/charts/descriptors/agentAssist/htmlTemplates/knowledgeAssistTemplate.js +0 -44
- package/build/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stage0.js +0 -45
- package/build/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stage1.js +0 -43
- package/build/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stageError.js +0 -45
- package/build/shared/charts/descriptors/connectionNodes/generativeAIProviders/index.js +6 -2
- package/build/shared/charts/descriptors/connectionNodes/generativeAIProviders/mistralProviderConnection.js +11 -0
- package/build/shared/charts/descriptors/index.js +7 -1
- package/build/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +10 -1
- package/build/shared/charts/descriptors/service/GPTPrompt.js +14 -4
- package/build/shared/charts/descriptors/service/LLMEntityExtract.js +1 -1
- package/build/shared/charts/descriptors/service/LLMModerate.js +275 -0
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +185 -63
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJobCallMCPTool.js +180 -0
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJobMCPTool.js +196 -0
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentToolAnswer.js +5 -1
- package/build/shared/charts/descriptors/service/index.js +9 -1
- package/build/shared/charts/descriptors/service/niceCXOneAAHAuthenticationConnection.js +12 -0
- package/build/shared/charts/descriptors/voice/mappers/hangup.mapper.js +9 -8
- package/build/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +9 -10
- package/build/shared/charts/descriptors/voice/nodes/hangup.js +1 -1
- package/build/shared/charts/descriptors/voicegateway/nodes/hangup.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/hangup.js +24 -2
- package/build/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +25 -5
- package/build/shared/interfaces/amqpInterface.js +3 -0
- package/build/shared/interfaces/generativeAI/IGenerativeAIModels.js +10 -1
- package/build/shared/interfaces/messageAPI/endpoints.js +44 -119
- package/build/shared/interfaces/resources/IEndpoint.js +23 -4
- package/build/shared/interfaces/resources/ILargeLanguageModel.js +10 -1
- package/build/shared/interfaces/resources/ISipConnectivityInfo.js +16 -0
- package/build/shared/interfaces/resources/IWebrtcWidgetConfig.js +11 -0
- package/build/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IConversationCounterPreAggregatedValue_3_0.js +3 -0
- package/build/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IGetConversationCounterOrganisationRest_3_0.js +3 -0
- package/build/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IGetConversationCounterRest_3_0.js +3 -0
- package/build/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/index.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/alerts/IIndexOpsCenterAlertsRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/alerts/IOpsCenterAlert.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/component/IOpsCenterComponents.js +34 -0
- package/build/shared/interfaces/restAPI/opsCenter/errors/IDeleteOpsCenterErrorRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/errors/IGetOpsCenterErrorRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/errors/IIndexOpsCenterErrorsRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/errors/IOpsCenterError.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetrics.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsConfigRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsRangeRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/metrics/IOpsCenterMetricsConfig.js +6 -0
- package/build/shared/interfaces/restAPI/opsCenter/observationConfig/IGetOpsCenterObservationConfigRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/observationConfig/IOpsCenterObservationConfig.js +4 -0
- package/build/shared/interfaces/restAPI/opsCenter/observationConfig/IPatchOpsCenterObservationConfigRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/observationConfig/ISetupOpsCenterObservationConfigRest_2_0.js +3 -0
- package/build/shared/interfaces/security/IConversationCounterPreAggregatedValue.js +3 -0
- package/build/shared/interfaces/security/IIdentityProvider.js +1 -0
- package/build/shared/json-schema.js +2 -1
- package/dist/esm/RestAPIClient.js +7 -0
- package/dist/esm/apigroups/AIOpsCenterAPIGroup_2_0.js +18 -0
- package/dist/esm/apigroups/ResourcesAPIGroup_2_0.js +11 -9
- package/dist/esm/apigroups/index.js +1 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/knowledgeAssistTemplate.js +0 -44
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stage0.js +0 -45
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stage1.js +0 -43
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stageError.js +0 -45
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/index.js +4 -1
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/mistralProviderConnection.js +8 -0
- package/dist/esm/shared/charts/descriptors/index.js +8 -2
- package/dist/esm/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +12 -3
- package/dist/esm/shared/charts/descriptors/service/GPTPrompt.js +18 -8
- package/dist/esm/shared/charts/descriptors/service/LLMEntityExtract.js +1 -1
- package/dist/esm/shared/charts/descriptors/service/LLMModerate.js +273 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +185 -63
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJobCallMCPTool.js +178 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJobMCPTool.js +193 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentToolAnswer.js +5 -1
- package/dist/esm/shared/charts/descriptors/service/index.js +4 -0
- package/dist/esm/shared/charts/descriptors/service/niceCXOneAAHAuthenticationConnection.js +9 -0
- package/dist/esm/shared/charts/descriptors/voice/mappers/hangup.mapper.js +9 -8
- package/dist/esm/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +9 -10
- package/dist/esm/shared/charts/descriptors/voice/nodes/hangup.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/hangup.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/hangup.js +24 -2
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +25 -5
- package/dist/esm/shared/interfaces/amqpInterface.js +3 -0
- package/dist/esm/shared/interfaces/generativeAI/IGenerativeAIModels.js +10 -1
- package/dist/esm/shared/interfaces/messageAPI/endpoints.js +43 -118
- package/dist/esm/shared/interfaces/resources/IEndpoint.js +26 -7
- package/dist/esm/shared/interfaces/resources/ILargeLanguageModel.js +9 -0
- package/dist/esm/shared/interfaces/resources/ISipConnectivityInfo.js +13 -0
- package/dist/esm/shared/interfaces/resources/IWebrtcWidgetConfig.js +8 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IConversationCounterPreAggregatedValue_3_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IGetConversationCounterOrganisationRest_3_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IGetConversationCounterRest_3_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/alerts/IIndexOpsCenterAlertsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/alerts/IOpsCenterAlert.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/component/IOpsCenterComponents.js +31 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/errors/IDeleteOpsCenterErrorRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/errors/IGetOpsCenterErrorRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/errors/IIndexOpsCenterErrorsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/errors/IOpsCenterError.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetrics.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsConfigRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsRangeRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/metrics/IOpsCenterMetricsConfig.js +5 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/observationConfig/IGetOpsCenterObservationConfigRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/observationConfig/IOpsCenterObservationConfig.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/observationConfig/IPatchOpsCenterObservationConfigRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/observationConfig/ISetupOpsCenterObservationConfigRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/security/IConversationCounterPreAggregatedValue.js +2 -0
- package/dist/esm/shared/interfaces/security/IIdentityProvider.js +1 -0
- package/dist/esm/shared/json-schema.js +2 -1
- package/package.json +1 -1
- 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
|
|
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,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,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
|
|
@@ -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
|
}
|