@cognigy/rest-api-client 4.99.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 (41) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/build/apigroups/ResourcesAPIGroup_2_0.js +3 -1
  3. package/build/shared/charts/descriptors/index.js +5 -1
  4. package/build/shared/charts/descriptors/service/LLMEntityExtract.js +1 -1
  5. package/build/shared/charts/descriptors/service/LLMModerate.js +275 -0
  6. package/build/shared/charts/descriptors/service/index.js +5 -1
  7. package/build/shared/charts/descriptors/service/niceCXOneAAHAuthenticationConnection.js +12 -0
  8. package/build/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +9 -10
  9. package/build/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +25 -5
  10. package/build/shared/interfaces/generativeAI/IGenerativeAIModels.js +1 -0
  11. package/build/shared/interfaces/messageAPI/endpoints.js +44 -119
  12. package/build/shared/interfaces/resources/IEndpoint.js +23 -4
  13. package/build/shared/interfaces/resources/ISipConnectivityInfo.js +16 -0
  14. package/build/shared/interfaces/resources/IWebrtcWidgetConfig.js +11 -0
  15. package/build/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IConversationCounterPreAggregatedValue_3_0.js +3 -0
  16. package/build/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IGetConversationCounterOrganisationRest_3_0.js +3 -0
  17. package/build/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IGetConversationCounterRest_3_0.js +3 -0
  18. package/build/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/index.js +3 -0
  19. package/build/shared/interfaces/security/IConversationCounterPreAggregatedValue.js +3 -0
  20. package/build/shared/json-schema.js +2 -1
  21. package/dist/esm/apigroups/ResourcesAPIGroup_2_0.js +3 -1
  22. package/dist/esm/shared/charts/descriptors/index.js +6 -2
  23. package/dist/esm/shared/charts/descriptors/service/LLMEntityExtract.js +1 -1
  24. package/dist/esm/shared/charts/descriptors/service/LLMModerate.js +273 -0
  25. package/dist/esm/shared/charts/descriptors/service/index.js +2 -0
  26. package/dist/esm/shared/charts/descriptors/service/niceCXOneAAHAuthenticationConnection.js +9 -0
  27. package/dist/esm/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +9 -10
  28. package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +25 -5
  29. package/dist/esm/shared/interfaces/generativeAI/IGenerativeAIModels.js +1 -0
  30. package/dist/esm/shared/interfaces/messageAPI/endpoints.js +43 -118
  31. package/dist/esm/shared/interfaces/resources/IEndpoint.js +26 -7
  32. package/dist/esm/shared/interfaces/resources/ISipConnectivityInfo.js +13 -0
  33. package/dist/esm/shared/interfaces/resources/IWebrtcWidgetConfig.js +8 -0
  34. package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IConversationCounterPreAggregatedValue_3_0.js +2 -0
  35. package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IGetConversationCounterOrganisationRest_3_0.js +2 -0
  36. package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/IGetConversationCounterRest_3_0.js +2 -0
  37. package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v3.0/index.js +2 -0
  38. package/dist/esm/shared/interfaces/security/IConversationCounterPreAggregatedValue.js +2 -0
  39. package/dist/esm/shared/json-schema.js +2 -1
  40. package/package.json +1 -1
  41. package/types/index.d.ts +83 -40
@@ -0,0 +1,9 @@
1
+ /* JWT Secret Connection */
2
+ export const NICECXONEAAH_AUTHENTICATION_CONNECTION = {
3
+ type: "niceCXOneAAHAuthentication",
4
+ label: "UI__CONNECTION_EDITOR__FIELD_NICECXONEAAH_AUTHENTICATION_APIKEY__LABEL",
5
+ fields: [
6
+ { fieldName: "apiKey", label: "UI__CONNECTION_EDITOR__FIELD_API_KEY" },
7
+ ],
8
+ };
9
+ //# sourceMappingURL=niceCXOneAAHAuthenticationConnection.js.map
@@ -179,7 +179,7 @@ class SessionConfigMapper extends BaseMapper {
179
179
  buildRecognizer(sessionParams, stt, vad, azureConfig) {
180
180
  var _a, _b, _c;
181
181
  const { recognizer: sessionParamsRecognizer } = sessionParams || {};
182
- const { vendor: spVendor, language: spLanguage, hints: spHints, label: spLabel, model: spModel, azureSttEndpointId: spAzureSttEndpointId, audioLogging: spAudioLogging, hintsBoost: spHintsBoost, punctuation: spPunctuation, altLanguages: spAltLanguages = [], deepgramOptions: spDeepgramOptions, vad: spVad } = sessionParamsRecognizer || {};
182
+ const { vendor: spVendor, language: spLanguage, hints: spHints, label: spLabel, model: spModel, azureSttEndpointId: spAzureSttEndpointId, audioLogging: spAudioLogging, hintsBoost: spHintsBoost, punctuation: spPunctuation, altLanguages: spAltLanguages = [], deepgramOptions: spDeepgramOptions, vad: spVad, profanityOption: spProfanityOption } = sessionParamsRecognizer || {};
183
183
  const { sttVendor, sttLanguage, sttHints, sttLabel, sttHintsBoost, sttDisablePunctuation, googleModel, deepgramEndpointing, deepgramEndpointingValue, sttDeepgramModel, deepgramSmartFormatting, deepgramShortUtterance, altLanguages = [] } = stt || {};
184
184
  const recognizer = {};
185
185
  recognizer.language = spLanguage || sttLanguage || undefined;
@@ -193,6 +193,9 @@ class SessionConfigMapper extends BaseMapper {
193
193
  recognizer.azureSttEndpointId = spAzureSttEndpointId || (azureConfig === null || azureConfig === void 0 ? void 0 : azureConfig.azureSttContextId) || "";
194
194
  recognizer.audioLogging = spAudioLogging || (azureConfig === null || azureConfig === void 0 ? void 0 : azureConfig.azureEnableAudioLogging);
195
195
  if (recognizer.vendor) {
196
+ if (recognizer.vendor === "microsoft") {
197
+ recognizer.profanityOption = spProfanityOption || (azureConfig === null || azureConfig === void 0 ? void 0 : azureConfig.azureProfanityOption) || "raw";
198
+ }
196
199
  if (recognizer.vendor === "microsoft" || recognizer.vendor === "google") {
197
200
  if (this.has(spAltLanguages)) {
198
201
  recognizer.altLanguages = spAltLanguages;
@@ -356,6 +359,11 @@ export function voiceConfigParamsToVoiceSettings(config, api) {
356
359
  ttsLabel: config.ttsLabel,
357
360
  };
358
361
  if (config.sttVendor === "microsoft") {
362
+ voiceSettings.azureConfig = {
363
+ azureSttContextId: config.azureSttContextId ? config.azureSttContextId.trim() : undefined,
364
+ azureEnableAudioLogging: config.azureEnableAudioLogging || undefined,
365
+ azureProfanityOption: config.azureProfanityOption || "raw",
366
+ };
359
367
  if (config.recognizeLanguagesAzure) {
360
368
  voiceSettings.stt.altLanguages = [];
361
369
  const languages = [config.sttAzureLang1, config.sttAzureLang2, config.sttAzureLang3];
@@ -450,15 +458,6 @@ export function voiceConfigParamsToVoiceSettings(config, api) {
450
458
  delete voiceSettings.continuousAsr.asrDigit;
451
459
  }
452
460
  }
453
- // Azure configurations
454
- if ((config.sttVendor === "microsoft" && config.azureSttContextId)) {
455
- voiceSettings.azureConfig = {
456
- azureSttContextId: config.azureSttContextId
457
- ? config.azureSttContextId.trim()
458
- : undefined,
459
- azureEnableAudioLogging: config.azureEnableAudioLogging || undefined
460
- };
461
- }
462
461
  // atmosphere sounds
463
462
  if (config.atmosphereAction) {
464
463
  if ((_m = config.atmosphereUrl) === null || _m === void 0 ? void 0 : _m.length) {
@@ -752,14 +752,33 @@ export const voiceConfigFields = [
752
752
  description: "UI__NODE_EDITOR__VOICEGATEWAY2__SET_SESSION_CONFIG__AZURE_ENABLE_AUDIO_LOGGING__DESCRIPTION",
753
753
  defaultValue: false,
754
754
  condition: {
755
- and: [
755
+ key: "enableAdvancedSTTConfig",
756
+ value: true
757
+ }
758
+ },
759
+ {
760
+ key: "azureProfanityOption",
761
+ type: "select",
762
+ label: "UI__NODE_EDITOR__VOICEGATEWAY2__SET_SESSION_CONFIG__AZURE_PROFANITY_OPTION__LABEL",
763
+ description: "UI__NODE_EDITOR__VOICEGATEWAY2__SET_SESSION_CONFIG__AZURE_PROFANITY_OPTION__DESCRIPTION",
764
+ defaultValue: "raw",
765
+ condition: {
766
+ key: "enableAdvancedSTTConfig",
767
+ value: true
768
+ },
769
+ params: {
770
+ options: [
756
771
  {
757
- key: "enableAdvancedSTTConfig",
758
- value: true
772
+ label: "UI__NODE_EDITOR__VOICEGATEWAY2__SET_SESSION_CONFIG__AZURE_PROFANITY_OPTION__RAW__LABEL",
773
+ value: "raw"
759
774
  },
760
775
  {
761
- key: "sttVendor",
762
- value: "microsoft"
776
+ label: "UI__NODE_EDITOR__VOICEGATEWAY2__SET_SESSION_CONFIG__AZURE_PROFANITY_OPTION__MASKED__LABEL",
777
+ value: "masked"
778
+ },
779
+ {
780
+ label: "UI__NODE_EDITOR__VOICEGATEWAY2__SET_SESSION_CONFIG__AZURE_PROFANITY_OPTION__REMOVED__LABEL",
781
+ value: "removed"
763
782
  }
764
783
  ]
765
784
  }
@@ -963,6 +982,7 @@ export const setSessionConfigNode = createNodeDescriptor({
963
982
  "enableAdvancedSTTConfig",
964
983
  "azureSttContextId",
965
984
  "azureEnableAudioLogging",
985
+ "azureProfanityOption",
966
986
  "recognizeLanguagesAzure",
967
987
  "sttAzure",
968
988
  "recognizeLanguagesGoogle",
@@ -8,6 +8,7 @@ export const embeddingModels = [
8
8
  "text-embedding-ada-002",
9
9
  "luminous-embedding-128",
10
10
  "amazon.titan-embed-text-v2:0",
11
+ "Pharia-1-Embedding-4608",
11
12
  ];
12
13
  export const generativeAIModels = [
13
14
  "gpt-3.5-turbo",
@@ -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 = {
@@ -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=IConversationCounterPreAggregatedValue.js.map
@@ -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.99.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",