@cognigy/rest-api-client 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/.snyk +1 -1
  2. package/build/GenericUploadFn.js +1 -1
  3. package/build/RestAPIClient.js +14 -0
  4. package/build/apigroups/AdministrationAPIGroup_2_0.js +25 -3
  5. package/build/apigroups/AnalyticsAPIGroup_2_0.js +12 -0
  6. package/build/apigroups/InsightsAPIGroup_2_0.js +53 -0
  7. package/build/apigroups/ResourcesAPIGroup_2_0.js +23 -2
  8. package/build/apigroups/index.js +5 -1
  9. package/build/authentication/BasicAuthentication/BasicAuthentication.js +8 -1
  10. package/build/authentication/OAuth2/ILoginByClientCredentialsParameters.js +3 -0
  11. package/build/authentication/OAuth2/IOAuth2ClientCredentialsGrantAccessTokenRequest.js +11 -0
  12. package/build/authentication/OAuth2/OAuth2Authentication.js +41 -15
  13. package/build/shared/charts/createNodeDescriptor.js +1 -1
  14. package/build/shared/charts/descriptors/apps/index.js +8 -0
  15. package/build/shared/charts/descriptors/apps/initAppSession.js +33 -0
  16. package/build/shared/charts/descriptors/apps/setAppState.js +46 -0
  17. package/build/shared/charts/descriptors/connectionNodes/smtp/emailNotification.js +6 -4
  18. package/build/shared/charts/descriptors/connectionNodes/smtp/sendEmail.js +2 -2
  19. package/build/shared/charts/descriptors/end.js +1 -0
  20. package/build/shared/charts/descriptors/index.js +86 -67
  21. package/build/shared/charts/descriptors/logic/goTo.js +1 -0
  22. package/build/shared/charts/descriptors/logic/if/else.js +2 -0
  23. package/build/shared/charts/descriptors/logic/if/if.js +2 -1
  24. package/build/shared/charts/descriptors/logic/if/then.js +2 -0
  25. package/build/shared/charts/descriptors/logic/index.js +5 -3
  26. package/build/shared/charts/descriptors/logic/interval/elseInterval.js +1 -0
  27. package/build/shared/charts/descriptors/logic/interval/onInterval.js +1 -0
  28. package/build/shared/charts/descriptors/logic/once/afterwards.js +1 -0
  29. package/build/shared/charts/descriptors/logic/once/onFirstExecution.js +1 -0
  30. package/build/shared/charts/descriptors/logic/setTranslation.js +88 -0
  31. package/build/shared/charts/descriptors/logic/switch/case.js +2 -0
  32. package/build/shared/charts/descriptors/logic/switch/default.js +2 -0
  33. package/build/shared/charts/descriptors/logic/switch/switch.js +52 -4
  34. package/build/shared/charts/descriptors/logic/switchLocale.js +30 -2
  35. package/build/shared/charts/descriptors/logic/think.js +7 -3
  36. package/build/shared/charts/descriptors/logic/thinkV2.js +104 -0
  37. package/build/shared/charts/descriptors/logic/wait.js +2 -9
  38. package/build/shared/charts/descriptors/message/checkChannelChange/checkChannelChange.js +1 -0
  39. package/build/shared/charts/descriptors/message/checkChannelChange/onNo.js +3 -1
  40. package/build/shared/charts/descriptors/message/checkChannelChange/onYes.js +3 -1
  41. package/build/shared/charts/descriptors/message/checkChannelChange/unchanged.js +3 -1
  42. package/build/shared/charts/descriptors/message/question/onAnswer.js +3 -1
  43. package/build/shared/charts/descriptors/message/question/onQuestion.js +3 -1
  44. package/build/shared/charts/descriptors/message/question/question.js +474 -56
  45. package/build/shared/charts/descriptors/message/question/utils/datepickerUtils.js +1 -0
  46. package/build/shared/charts/descriptors/message/question/utils/evaluateQuestionAnswer.js +9 -3
  47. package/build/shared/charts/descriptors/message/question/utils/generateAnswerShortForm.js +37 -0
  48. package/build/shared/charts/descriptors/message/question/utils/getQuestionText.js +36 -0
  49. package/build/shared/charts/descriptors/message/question/utils/resetNodeState.js +12 -0
  50. package/build/shared/charts/descriptors/message/question/utils/storeQuestionAnswer.js +30 -0
  51. package/build/shared/charts/descriptors/message/question/utils/validateQuestionAnswer.js +22 -0
  52. package/build/shared/charts/descriptors/microsoft/getToken.js +34 -0
  53. package/build/shared/charts/descriptors/microsoft/index.js +22 -0
  54. package/build/shared/charts/descriptors/microsoft/invalidateToken.js +29 -0
  55. package/build/shared/charts/descriptors/microsoft/tokenStatus/index.js +51 -0
  56. package/build/shared/charts/descriptors/microsoft/tokenStatus/tokenGranted.js +24 -0
  57. package/build/shared/charts/descriptors/microsoft/tokenStatus/tokenNotGranted.js +24 -0
  58. package/build/shared/charts/descriptors/microsoft/utils/design.js +5 -0
  59. package/build/shared/charts/descriptors/nlu/executeCognigyNLU.js +5 -0
  60. package/build/shared/charts/descriptors/nlu/extractAnswer.js +115 -0
  61. package/build/shared/charts/descriptors/nlu/fuzzySearch.js +270 -0
  62. package/build/shared/charts/descriptors/nlu/index.js +7 -1
  63. package/build/shared/charts/descriptors/nlu/matchPattern.js +104 -0
  64. package/build/shared/charts/descriptors/nlu/utils/patternMatcher.js +197 -0
  65. package/build/shared/charts/descriptors/profile/index.js +5 -1
  66. package/build/shared/charts/descriptors/profile/overwriteAnalytics.js +54 -2
  67. package/build/shared/charts/descriptors/profile/requestRating.js +57 -0
  68. package/build/shared/charts/descriptors/profile/setRating.js +39 -0
  69. package/build/shared/charts/descriptors/service/handover.js +29 -2
  70. package/build/shared/charts/descriptors/service/handoverV2.js +129 -0
  71. package/build/shared/charts/descriptors/service/httpRequest.js +26 -7
  72. package/build/shared/charts/descriptors/service/index.js +3 -1
  73. package/build/shared/charts/descriptors/service/triggerFunction/onScheduled.js +2 -0
  74. package/build/shared/charts/descriptors/service/triggerFunction/onSchedulingError.js +2 -0
  75. package/build/shared/charts/descriptors/start.js +1 -0
  76. package/build/shared/charts/descriptors/voicegateway/nodes/callRecording.js +36 -16
  77. package/build/shared/charts/descriptors/voicegateway/nodes/handover.js +2 -2
  78. package/build/shared/charts/descriptors/voicegateway/nodes/playURL.js +9 -0
  79. package/build/shared/charts/descriptors/voicegateway/nodes/sendMessage.js +1 -1
  80. package/build/shared/charts/descriptors/voicegateway/utils/paramUtils.js +9 -1
  81. package/build/shared/charts/descriptors/voicegateway2/index.js +21 -0
  82. package/build/shared/charts/descriptors/voicegateway2/nodes/dtmf.js +56 -0
  83. package/build/shared/charts/descriptors/voicegateway2/nodes/hangup.js +48 -0
  84. package/build/shared/charts/descriptors/voicegateway2/nodes/play.js +199 -0
  85. package/build/shared/charts/descriptors/voicegateway2/nodes/refer.js +44 -0
  86. package/build/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +584 -0
  87. package/build/shared/charts/descriptors/voicegateway2/utils/design.js +5 -0
  88. package/build/shared/charts/descriptors/voicegateway2/utils/strip-nulls.js +19 -0
  89. package/build/shared/constants.js +9 -1
  90. package/build/shared/errors/baseError.js +34 -1
  91. package/build/shared/helper/rest/array.js +19 -0
  92. package/build/shared/helper/rest/boolean.js +5 -1
  93. package/build/shared/helper/rest/index.js +4 -1
  94. package/build/shared/interfaces/IEndpointTranslationSettings.js +32 -0
  95. package/build/shared/interfaces/IHandoverRequestStatus.js +3 -0
  96. package/build/shared/interfaces/{restAPI/administration/user/v2.0/IDeleteUserMeRest_2_0.js → IHttpRequest.js} +1 -1
  97. package/build/shared/interfaces/IOrganisation.js +1 -1
  98. package/build/shared/interfaces/TEntrypointType.js +2 -0
  99. package/build/shared/interfaces/amqpInterface.js +3 -0
  100. package/build/shared/interfaces/analytics/IAnalyticsFlowHistoryData.js +3 -0
  101. package/build/shared/interfaces/analytics/IAnalyticsSourceData.js +196 -45
  102. package/build/shared/interfaces/analytics/IStepEvent.js +2 -1
  103. package/build/shared/interfaces/analytics/TAnalyticsMode.js +10 -0
  104. package/build/shared/interfaces/analytics/TAnalyticsType.js +5 -0
  105. package/build/shared/interfaces/debugEvents/IErrorEventPayload.js +3 -0
  106. package/build/shared/interfaces/debugEvents/TDebugEndpointEvent.js +1 -0
  107. package/build/shared/interfaces/debugEvents/TDebugEventType.js +2 -1
  108. package/build/shared/interfaces/debugEvents/TSessionStateEmitParams.js +3 -0
  109. package/build/shared/interfaces/handover.js +81 -3
  110. package/build/shared/interfaces/license.js +34 -0
  111. package/build/shared/interfaces/license.js.map +1 -0
  112. package/build/shared/interfaces/messageAPI/ai.js +15 -1
  113. package/build/shared/interfaces/messageAPI/endpoints.js +273 -9
  114. package/build/shared/interfaces/resources/IAuditEvent.js +15 -2
  115. package/build/shared/interfaces/resources/IChartNode.js +56 -10
  116. package/build/shared/interfaces/resources/IEndpoint.js +5 -2
  117. package/build/shared/interfaces/resources/IFlow.js +1 -1
  118. package/build/shared/interfaces/resources/ILexicon.js +8 -2
  119. package/build/shared/interfaces/resources/INLUConnector.js +15 -2
  120. package/build/shared/interfaces/resources/INodeDescriptorSet.js +164 -52
  121. package/build/shared/interfaces/resources/IOptionsResolverFunction.js +18 -0
  122. package/build/shared/interfaces/resources/IPlaybookRun.js +61 -0
  123. package/build/shared/interfaces/resources/IProject.js +7 -1
  124. package/build/shared/interfaces/resources/ISlotFiller.js +38 -21
  125. package/build/shared/interfaces/resources/ISnapshot.js +1 -1
  126. package/build/shared/interfaces/resources/ITrackAnalyticsStepsArguments.js +3 -0
  127. package/build/shared/interfaces/resources/TNLUConnectorType.js +2 -1
  128. package/build/shared/interfaces/resources/TResourceType.js +1 -0
  129. package/build/shared/interfaces/resources/TRestChannelType.js +5 -0
  130. package/build/shared/interfaces/resources/TSocketChannelType.js +5 -1
  131. package/build/shared/interfaces/resources/chart/IChartExecutable.js +3 -2
  132. package/build/shared/interfaces/resources/chart/IChartExecutableNode.js +1 -0
  133. package/build/shared/interfaces/resources/intent/IIntent.js +4 -2
  134. package/build/shared/interfaces/resources/intent/IIntentTrainGroup.js +3 -1
  135. package/build/shared/interfaces/resources/intent/ISentence.js +32 -8
  136. package/build/shared/interfaces/resources/settings/IAgentSettings.js +40 -2
  137. package/build/shared/interfaces/resources/settings/IFlowSettings.js +1 -1
  138. package/build/shared/interfaces/restAPI/administration/liveAgent/v2.0/IReadLiveAgentAccountRest_2_0.js +3 -0
  139. package/build/shared/interfaces/restAPI/administration/liveAgent/v2.0/IReadProjectInboxRest_2_0.js +3 -0
  140. package/build/shared/interfaces/restAPI/administration/liveAgent/v2.0/ISetupCognigyLiveAgentInboxRest_2_0.js +3 -0
  141. package/build/shared/interfaces/restAPI/administration/liveAgent/v2.0/ISetupCognigyLiveAgentRest_2_0.js +3 -0
  142. package/build/shared/interfaces/restAPI/administration/liveAgent/v2.0/index.js +3 -0
  143. package/build/shared/interfaces/restAPI/analytics/IDeleteAnalyticsRecordsRest_2_0.js +3 -0
  144. package/build/shared/interfaces/restAPI/analytics/IUpdateAnalyticsRecordProperties_2_0.js +3 -0
  145. package/build/shared/interfaces/restAPI/analytics/IUpdateAnalyticsRecordsRest_2_0.js +3 -0
  146. package/build/shared/interfaces/restAPI/insights/IAnalyticsQueryFilter_2_0.js +3 -0
  147. package/build/shared/interfaces/restAPI/insights/TAnalyticsQueryFilterOperator_2_0.js +3 -0
  148. package/build/shared/interfaces/restAPI/insights/messages/IGenerateMessagesRest_2_0.js +5 -0
  149. package/build/shared/interfaces/restAPI/insights/messages/ILoadMessagesReportByQueryHashResponse_2_0.js +3 -0
  150. package/build/shared/interfaces/restAPI/insights/messages/ILoadMessagesReportByQueryHashRestData_2_0.js +3 -0
  151. package/build/shared/interfaces/restAPI/insights/messages/ITopNMessages_2_0.js +3 -0
  152. package/build/shared/interfaces/restAPI/insights/reports/IGenerateReportResponse_2_0.js +3 -0
  153. package/build/shared/interfaces/restAPI/insights/reports/IGenerateReportRest_2_0.js +41 -0
  154. package/build/shared/interfaces/restAPI/insights/reports/ILoadReportByQueryHashResponse_2_0.js +3 -0
  155. package/build/shared/interfaces/restAPI/insights/reports/ILoadReportByQueryHashRest_2_0.js +3 -0
  156. package/build/shared/interfaces/restAPI/insights/steps/IGenerateStepReportRest_2_0.js +3 -0
  157. package/build/shared/interfaces/restAPI/insights/steps/IIndexStepsRest_2_0.js +3 -0
  158. package/build/shared/interfaces/restAPI/insights/steps/ILoadStepReportByQueryHashResponse_2_0.js +3 -0
  159. package/build/shared/interfaces/restAPI/insights/steps/ILoadStepReportByQueryHashRestData_2_0.js +3 -0
  160. package/build/shared/interfaces/restAPI/insights/steps/IStepIndexItem_2_0.js +3 -0
  161. package/build/shared/interfaces/restAPI/insights/steps/IStepReport_2_0.js +3 -0
  162. package/build/shared/interfaces/restAPI/insights/steps/IStep_2_0.js +3 -0
  163. package/build/shared/interfaces/restAPI/insights/transcripts/IGenerateTranscriptsRest_2_0.js +3 -0
  164. package/build/shared/interfaces/restAPI/insights/transcripts/ILoadTranscriptsReportByQueryHashResponse_2_0.js +3 -0
  165. package/build/shared/interfaces/restAPI/insights/transcripts/ILoadTranscriptsReportByQueryHashRestData_2_0.js +3 -0
  166. package/build/shared/interfaces/restAPI/insights/transcripts/IStepPath_2_0.js +3 -0
  167. package/build/shared/interfaces/restAPI/resources/chart/v2.0/ISearchChartNodesRest_2_0.js +3 -0
  168. package/build/shared/interfaces/restAPI/resources/extension/v2.0/IUpdateExtensionPackageRest_2_0.js +4 -0
  169. package/build/shared/interfaces/restAPI/resources/flow/v2.0/ICreateFlowFromChildrenRest_2_0.js +4 -0
  170. package/build/shared/interfaces/restAPI/resources/flow/v2.0/intent/ITrainYesNoIntentsRest_2_0.js +3 -0
  171. package/build/shared/interfaces/restAPI/resources/lexicon/v2.0/IComposeLexiconDownloadLinkRest_2_0.js +3 -0
  172. package/build/shared/interfaces/restAPI/resources/nluconnector/v2.0/TNLUConnectorType_2_0.js +3 -1
  173. package/build/shared/interfaces/restAPI/resources/nodedescriptorsets/v2.0/IOptionsResolverRest_2_0.js +3 -0
  174. package/build/shared/interfaces/restAPI/resources/playbook/v2.0/IDeletePlaybookRunRest_2_0.js +3 -0
  175. package/build/shared/interfaces/restAPI/resources/playbook/v2.0/IIndexPlaybookRunsRest_2_0.js +3 -0
  176. package/build/shared/interfaces/restAPI/resources/playbook/v2.0/IPlaybookRunIndexItem_2_0.js +3 -0
  177. package/build/shared/interfaces/restAPI/resources/playbook/v2.0/IPlaybookRun_2_0.js +7 -0
  178. package/build/shared/interfaces/restAPI/resources/playbook/v2.0/IReadPlaybookRunRest_2_0.js +3 -0
  179. package/build/shared/interfaces/restAPI/resources/playbook/v2.0/ISchedulePlaybookRunRest_2_0.js +3 -0
  180. package/build/shared/interfaces/security/IACL.js +1 -1
  181. package/build/shared/interfaces/security/IPermission.js +6 -0
  182. package/build/shared/interfaces/security/IRole.js +8 -2
  183. package/build/shared/interfaces/sessionstate/ISessionState.js +3 -0
  184. package/build/shared/interfaces/sessionstate/index.js +3 -0
  185. package/build/shared/interfaces/trainer/ITrainerRecord.js +4 -0
  186. package/build/shared/interfaces/translation.js +11 -0
  187. package/package.json +5 -5
  188. package/types/index.d.ts +3905 -1178
  189. package/build/shared/charts/descriptors/logic/checkFrustration.js +0 -82
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.chatwootEndpointSettingsSchema = exports.ringCentralEngageEndpointSettingsSchema = exports.avayaEndpointSettingsSchema = exports.AMAZON_POLLY_LANGUAGE_MAPPING = exports.workplaceEndpointSettingsSchema = exports.anyEndpointSettingsSchema = exports.webchatPersistentMenuSchema = void 0;
3
+ exports.liveAgentEndpointSettingsSchema = exports.chatwootEndpointSettingsSchema = exports.ringCentralEngageEndpointSettingsSchema = exports.avayaEndpointSettingsSchema = exports.AMAZON_POLLY_LANGUAGE_MAPPING = exports.workplaceEndpointSettingsSchema = exports.dashbotPlatform = exports.anyEndpointSettingsSchema = exports.avayaGatherLanguages = exports.avayaSttTtsLanguages = exports.webchatPersistentMenuSchema = void 0;
4
4
  /* Interfaces & Types */
5
5
  const alexa_1 = require("../alexa");
6
6
  exports.webchatPersistentMenuSchema = {
@@ -22,10 +22,158 @@ exports.webchatPersistentMenuSchema = {
22
22
  }
23
23
  }
24
24
  };
25
+ exports.avayaSttTtsLanguages = [
26
+ "cy-GB",
27
+ "da-DK",
28
+ "de-DE",
29
+ "en-AU",
30
+ "en-GB",
31
+ "en-GB-WLS",
32
+ "en-IN",
33
+ "en-US",
34
+ "es-ES",
35
+ "es-US",
36
+ "fr-CA",
37
+ "fr-FR",
38
+ "is-IS",
39
+ "it-IT",
40
+ "ja-JP",
41
+ "nb-NO",
42
+ "nl-NL",
43
+ "pl-PL",
44
+ "pt-BR",
45
+ "pt-PT",
46
+ "ro-RO",
47
+ "ru-RU",
48
+ "sv-SE",
49
+ "tr-TR"
50
+ ];
51
+ exports.avayaGatherLanguages = [
52
+ "af-ZA",
53
+ "am-ET",
54
+ "hy-AM",
55
+ "az-AZ",
56
+ "id-ID",
57
+ "ms-MY",
58
+ "bn-BD",
59
+ "bn-IN",
60
+ "ca-ES",
61
+ "cs-CZ",
62
+ "da-DK",
63
+ "de-DE",
64
+ "en-AU",
65
+ "en-CA",
66
+ "en-GH",
67
+ "en-GB",
68
+ "en-IN",
69
+ "en-IE",
70
+ "en-KE",
71
+ "en-NZ",
72
+ "en-NG",
73
+ "en-PH",
74
+ "en-ZA",
75
+ "en-TZ",
76
+ "en-US",
77
+ "es-AR",
78
+ "es-BO",
79
+ "es-CL",
80
+ "es-CO",
81
+ "es-CR",
82
+ "es-EC",
83
+ "es-SV",
84
+ "es-ES",
85
+ "es-US",
86
+ "es-GT",
87
+ "es-HN",
88
+ "es-MX",
89
+ "es-NI",
90
+ "es-PA",
91
+ "es-PY",
92
+ "es-PE",
93
+ "es-PR",
94
+ "es-DO",
95
+ "es-UY",
96
+ "es-VE",
97
+ "eu-ES",
98
+ "il-PH",
99
+ "fr-CA",
100
+ "fr-FR",
101
+ "gl-ES",
102
+ "ka-GE",
103
+ "gu-IN",
104
+ "hr-HR",
105
+ "zu-ZA",
106
+ "is-IS",
107
+ "it-IT",
108
+ "jv-ID",
109
+ "kn-IN",
110
+ "km-KH",
111
+ "lo-LA",
112
+ "lv-LV",
113
+ "lt-LT",
114
+ "hu-HU",
115
+ "ml-IN",
116
+ "mr-IN",
117
+ "nl-NL",
118
+ "ne-NP",
119
+ "nb-NO",
120
+ "pl-PL",
121
+ "pt-BR",
122
+ "pt-PT",
123
+ "ro-RO",
124
+ "si-LK",
125
+ "sk-SK",
126
+ "sl-SI",
127
+ "su-ID",
128
+ "sw-TZ",
129
+ "sw-KE",
130
+ "fi-FI",
131
+ "sv-SE",
132
+ "ta-IN",
133
+ "ta-SG",
134
+ "ta-LK",
135
+ "ta-MY",
136
+ "te-IN",
137
+ "vi-VN",
138
+ "tr-TR",
139
+ "ur-PK",
140
+ "ur-IN",
141
+ "el-GR",
142
+ "bg-BG",
143
+ "ru-RU",
144
+ "sr-RS",
145
+ "uk-UA",
146
+ "he-IL",
147
+ "ar-IL",
148
+ "ar-JO",
149
+ "ar-AE",
150
+ "ar-BH",
151
+ "ar-DZ",
152
+ "ar-SA",
153
+ "ar-IQ",
154
+ "ar-KW",
155
+ "ar-MA",
156
+ "ar-TN",
157
+ "ar-OM",
158
+ "ar-PS",
159
+ "ar-QA",
160
+ "ar-LB",
161
+ "ar-EG",
162
+ "fa-IR",
163
+ "hi-IN",
164
+ "th-TH",
165
+ "ko-KR",
166
+ "cmn-Hant-TW",
167
+ "yue-Hant-HK",
168
+ "ja-JP",
169
+ "cmn-Hans-HK",
170
+ "cmn-Hans-CN",
171
+ ];
25
172
  exports.anyEndpointSettingsSchema = {
26
173
  title: "anyEndpointSettingsSchema",
27
174
  type: "object",
28
175
  properties: {
176
+ action: { type: "string" },
29
177
  accessToken: { type: "string" },
30
178
  appId: { type: "string" },
31
179
  appSecret: { type: "string" },
@@ -34,29 +182,64 @@ exports.anyEndpointSettingsSchema = {
34
182
  basicAuthUser: { type: "string" },
35
183
  botUserId: { type: "string" },
36
184
  colorScheme: { type: "string" },
185
+ connectionName: { type: "string" },
186
+ cpaasToken: { type: "string" },
187
+ customJSON: { type: "string" },
37
188
  designTemplate: { type: "integer" },
38
189
  displayGetStartedButton: { type: "boolean" },
190
+ disableHtmlContentSanitization: { type: "boolean" },
191
+ disableInputAutocomplete: { type: "boolean" },
192
+ disableUrlButtonSanitization: { type: "boolean" },
193
+ enableAsyncCommunication: { type: "boolean" },
39
194
  enableGenericHTMLStyling: { type: "boolean" },
195
+ enableDemoWebchat: { type: "boolean" },
40
196
  enableFileUpload: { type: "boolean" },
41
197
  enablePersistentMenu: { type: "boolean" },
198
+ enableRating: { type: "string", enum: ["always", "once", "onRequest"] },
42
199
  enableSTT: { type: "boolean" },
43
200
  enableTTS: { type: "boolean" },
44
201
  enableTypingIndicator: { type: "boolean" },
45
202
  facebookPageToken: { type: "string" },
203
+ finishOnKey: {
204
+ type: "string",
205
+ enum: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "*", "#"]
206
+ },
46
207
  workplaceToken: { type: "string" },
47
208
  foreignId: { type: "string" },
209
+ gatherlanguage: {
210
+ type: "string",
211
+ enum: [...exports.avayaGatherLanguages]
212
+ },
48
213
  getStartedButtonText: { type: "string" },
214
+ getStartedData: { type: "string" },
49
215
  getStartedPayload: { type: "string" },
50
216
  getStartedText: { type: "string" },
51
217
  headerLogoUrl: { type: "string" },
218
+ hints: { type: "string" },
52
219
  hubSecret: { type: "string" },
220
+ input: {
221
+ type: "string",
222
+ enum: ["speech dtmf", "speech", "dtmf"]
223
+ },
53
224
  inputPlaceholder: { type: "string" },
54
- language: { type: "string" },
225
+ language: {
226
+ type: "string",
227
+ enum: [...exports.avayaSttTtsLanguages]
228
+ },
55
229
  lineChannelAccessToken: { type: "string" },
56
230
  lineChannelSecret: { type: "string" },
57
231
  mergeContactProfiles: { type: "boolean" },
58
232
  messageDelay: { type: "integer" },
59
233
  messageLogoUrl: { type: "string" },
234
+ method: {
235
+ type: "string",
236
+ enum: ["GET", "POST"]
237
+ },
238
+ numDigits: { type: "integer" },
239
+ ratingTitleText: { type: "string" },
240
+ ratingCommentText: { type: "string" },
241
+ ratingMessageHistoryRatingText: { type: "string" },
242
+ ratingMessageHistoryCommentText: { type: "string" },
60
243
  reparseAlexaSlots: { type: "boolean" },
61
244
  requestFacebookProfileData: { type: "boolean" },
62
245
  sessionExpiration: { type: "integer" },
@@ -66,13 +249,36 @@ exports.anyEndpointSettingsSchema = {
66
249
  sunshineConversationsChannelSecret: { type: "string" },
67
250
  sunshineConversationsChannelUri: { type: "string", format: "uri" },
68
251
  sunshineConversationsApiVersion: { type: "string", enum: ["v1.1", "v2"] },
252
+ timeout: { type: "integer" },
69
253
  updateContactProfileWithFacebookProfile: { type: "boolean" },
70
254
  voice: { type: "string" },
71
255
  webhookUrl: { type: "string", format: "uri" },
256
+ enableConnectionStatusIndicator: { type: "boolean" },
257
+ enableUnreadMessageTitleIndicator: { type: "boolean" },
258
+ showEngagementMessagesInChat: { type: "boolean" },
259
+ engagementMessageText: { type: "string" },
260
+ enableUnreadMessageBadge: { type: "boolean" },
261
+ enableUnreadMessagePreview: { type: "boolean" },
262
+ enableUnreadMessageSound: { type: "boolean" },
263
+ dynamicImageAspectRatio: { type: "boolean" },
264
+ focusInputAfterPostback: { type: "boolean" },
265
+ disableInputAutogrow: { type: "boolean" },
266
+ inputAutogrowMaxRows: { type: "number" },
267
+ enableInputCollation: { type: "boolean" },
268
+ inputCollationTimeout: { type: "number" },
72
269
  skill: alexa_1.skillSchema,
73
270
  persistentMenu: exports.webchatPersistentMenuSchema
74
271
  }
75
272
  };
273
+ exports.dashbotPlatform = [
274
+ "facebook",
275
+ "alexa",
276
+ "google",
277
+ "slack",
278
+ "microsoftBotFramework",
279
+ "webchat",
280
+ "universal",
281
+ ];
76
282
  exports.workplaceEndpointSettingsSchema = {
77
283
  title: "workplaceEndpointSettingsSchema",
78
284
  additionalProperties: false,
@@ -101,7 +307,8 @@ exports.AMAZON_POLLY_LANGUAGE_MAPPING = {
101
307
  "en-AU": [
102
308
  { voice: "Alice", gender: "female" },
103
309
  { voice: "Polly.Nicole", gender: "female" },
104
- { voice: "Polly.Russell", gender: "male" }
310
+ { voice: "Polly.Russell", gender: "male" },
311
+ { voice: "Polly.Olivia-Neural", gender: "female" },
105
312
  ],
106
313
  "en-CA": [
107
314
  { voice: "Alice", gender: "female" }
@@ -114,6 +321,7 @@ exports.AMAZON_POLLY_LANGUAGE_MAPPING = {
114
321
  ],
115
322
  "en-IN": [
116
323
  { voice: "Alice", gender: "female" },
324
+ { voice: "Aditi", gender: "female" },
117
325
  { voice: "Polly.Raveena", gender: "female" }
118
326
  ],
119
327
  "en-US": [
@@ -125,7 +333,15 @@ exports.AMAZON_POLLY_LANGUAGE_MAPPING = {
125
333
  { voice: "Polly.Kendra", gender: "female" },
126
334
  { voice: "Polly.Kimberly", gender: "female" },
127
335
  { voice: "Polly.Matthew", gender: "male" },
128
- { voice: "Polly.Salli", gender: "female" }
336
+ { voice: "Polly.Salli", gender: "female" },
337
+ { voice: "Polly.Ivy-Neural", gender: "female" },
338
+ { voice: "Polly.Joanna-Neural", gender: "female" },
339
+ { voice: "Polly.Joey-Neural", gender: "male" },
340
+ { voice: "Polly.Justin-Neural", gender: "male" },
341
+ { voice: "Polly.Kendra-Neural", gender: "female" },
342
+ { voice: "Polly.Kimberly-Neural", gender: "female" },
343
+ { voice: "Polly.Matthew-Neural", gender: "male" },
344
+ { voice: "Polly.Salli-Neural", gender: "female" }
129
345
  ],
130
346
  "ca-ES": [
131
347
  { voice: "Alice", gender: "female" }
@@ -133,10 +349,12 @@ exports.AMAZON_POLLY_LANGUAGE_MAPPING = {
133
349
  "es-ES": [
134
350
  { voice: "Alice", gender: "female" },
135
351
  { voice: "Polly.Conchita", gender: "female" },
136
- { voice: "Polly.Enrique", gender: "male" }
352
+ { voice: "Polly.Enrique", gender: "male" },
353
+ { voice: "Polly.Lucia", gender: "female" }
137
354
  ],
138
355
  "es-MX": [
139
- { voice: "Alice", gender: "female" }
356
+ { voice: "Alice", gender: "female" },
357
+ { voice: "Polly.Mia", gender: "female" }
140
358
  ],
141
359
  "fi-FI": [
142
360
  { voice: "Alice", gender: "female" }
@@ -148,10 +366,12 @@ exports.AMAZON_POLLY_LANGUAGE_MAPPING = {
148
366
  "fr-FR": [
149
367
  { voice: "Alice", gender: "female" },
150
368
  { voice: "Polly.Céline/Polly.Celine", gender: "female" },
369
+ { voice: "Polly.Léa/Polly.Lea", gender: "female" },
151
370
  { voice: "Polly.Mathieu", gender: "male" }
152
371
  ],
153
372
  "it-IT": [
154
373
  { voice: "Alice", gender: "female" },
374
+ { voice: "Polly.Bianca", gender: "female" },
155
375
  { voice: "Polly.Carla", gender: "female" },
156
376
  { voice: "Polly.Giorgio", gender: "male" }
157
377
  ],
@@ -161,7 +381,8 @@ exports.AMAZON_POLLY_LANGUAGE_MAPPING = {
161
381
  { voice: "Polly.Takumi", gender: "male" }
162
382
  ],
163
383
  "ko-KR": [
164
- { voice: "Alice", gender: "female" }
384
+ { voice: "Alice", gender: "female" },
385
+ { voice: "Polly.Seoyeon", gender: "female" }
165
386
  ],
166
387
  "nb-NO": [
167
388
  { voice: "Polly.Liv", gender: "female" }
@@ -181,7 +402,8 @@ exports.AMAZON_POLLY_LANGUAGE_MAPPING = {
181
402
  "pt-BR": [
182
403
  { voice: "Alice", gender: "female" },
183
404
  { voice: "Polly.Ricardo", gender: "male" },
184
- { voice: "Polly.Vitória/Polly.Vitoria", gender: "female" }
405
+ { voice: "Polly.Vitória/Polly.Vitoria", gender: "female" },
406
+ { voice: "Polly.Camila-Neural", gender: "female" }
185
407
  ],
186
408
  "pt-PT": [
187
409
  { voice: "Alice", gender: "female" },
@@ -207,8 +429,29 @@ exports.avayaEndpointSettingsSchema = {
207
429
  },
208
430
  language: {
209
431
  type: "string",
210
- maxLength: 200
432
+ enum: [...exports.avayaSttTtsLanguages]
433
+ },
434
+ cpaasToken: { type: "string" },
435
+ input: {
436
+ type: "string",
437
+ enum: ["speech dtmf", "speech", "dtmf"]
438
+ },
439
+ hints: { type: "string" },
440
+ gatherLanguage: {
441
+ type: "string",
442
+ enum: [...exports.avayaGatherLanguages]
443
+ },
444
+ action: { type: "string" },
445
+ method: {
446
+ type: "string",
447
+ enum: ["", "GET", "POST"]
448
+ },
449
+ timeout: { type: "integer", minimum: 0 },
450
+ finishOnKey: {
451
+ type: "string",
452
+ enum: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "*", "#"]
211
453
  },
454
+ numDigits: { type: "integer", minimum: 0 },
212
455
  },
213
456
  additionalProperties: false
214
457
  };
@@ -264,4 +507,25 @@ exports.chatwootEndpointSettingsSchema = {
264
507
  },
265
508
  additionalProperties: false
266
509
  };
510
+ exports.liveAgentEndpointSettingsSchema = {
511
+ type: "object",
512
+ properties: {
513
+ accountId: {
514
+ type: "string",
515
+ maxLength: 200
516
+ },
517
+ apiKey: {
518
+ type: "string",
519
+ maxLength: 1000
520
+ },
521
+ baseUrl: {
522
+ type: "string",
523
+ maxLength: 1000
524
+ },
525
+ usePlatformToken: {
526
+ type: "boolean"
527
+ }
528
+ },
529
+ additionalProperties: false
530
+ };
267
531
  //# sourceMappingURL=endpoints.js.map
@@ -6,7 +6,8 @@ exports.auditEventTypes = [
6
6
  "create",
7
7
  "replace",
8
8
  "patch",
9
- "delete"
9
+ "delete",
10
+ "unauthorized"
10
11
  ];
11
12
  exports.actionTypes = [
12
13
  "acceptTermsOfService",
@@ -38,6 +39,8 @@ exports.actionTypes = [
38
39
  "createProjectByTemplate",
39
40
  "createSnapshot",
40
41
  "deprecatePassword",
42
+ "exportLexicons",
43
+ "followSession",
41
44
  "importIntents",
42
45
  "importIntoLexicon",
43
46
  "logoutUser",
@@ -56,10 +59,13 @@ exports.actionTypes = [
56
59
  "removeProjectMember",
57
60
  "removeRoleFromUser",
58
61
  "removeSlotFromLexiconEntry",
62
+ "updateExtensionPackage",
59
63
  "resetFailedLoginAttempts",
60
64
  "resetIdentityProvider",
61
65
  "restoreSnapshot",
62
66
  "stopFunctionInstance",
67
+ "setupCognigyLiveAgent",
68
+ "setupCognigyLiveAgentInbox",
63
69
  "trainIntents",
64
70
  "triggerFunction",
65
71
  "undoChart",
@@ -74,7 +80,14 @@ exports.auditEventSchema = {
74
80
  title: "auditEventSchema",
75
81
  type: "object",
76
82
  additionalProperties: false,
77
- required: ["timestamp", "type", "user", "userReference", "organisationReference", "chain", "expiresAt"],
83
+ required: [
84
+ "timestamp",
85
+ "type",
86
+ "user",
87
+ "userReference",
88
+ "organisationReference",
89
+ "expiresAt"
90
+ ],
78
91
  properties: {
79
92
  _id: { type: "string", format: "mongo-id" },
80
93
  timestamp: { type: "object", format: "date-time" },
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.nodeQuerySchema = exports.nodeSchema = exports.nodeDataSchema = exports.nodeInDBSchema = exports.defaultNodeFields = void 0;
3
+ exports.nodeQuerySchema = exports.nodeSchema = exports.updateNodeDataSchema = exports.nodeDataSchema = exports.nodeInDBSchema = exports.searchableNodeFields = exports.defaultNodeFields = void 0;
4
4
  /* Custom Modules */
5
5
  const createQuerySchema_1 = require("../../helper/createQuerySchema");
6
6
  exports.defaultNodeFields = [
@@ -10,7 +10,16 @@ exports.defaultNodeFields = [
10
10
  "isDisabled",
11
11
  "isEntryPoint",
12
12
  "preview",
13
- "analyticsLabel",
13
+ "analyticsLabel"
14
+ ];
15
+ exports.searchableNodeFields = [
16
+ "comment",
17
+ "label",
18
+ "type",
19
+ "_id",
20
+ "referenceId",
21
+ "extension",
22
+ "config"
14
23
  ];
15
24
  exports.nodeInDBSchema = {
16
25
  title: "nodeInDBSchema",
@@ -26,9 +35,9 @@ exports.nodeInDBSchema = {
26
35
  properties: {
27
36
  config: { type: "object" },
28
37
  localeReference: { format: "mongo-id" },
29
- preview: {},
30
- },
31
- },
38
+ preview: {}
39
+ }
40
+ }
32
41
  },
33
42
  referenceId: { type: "string", format: "uuid" },
34
43
  comment: { type: "string", maxLength: 512 },
@@ -47,8 +56,8 @@ exports.nodeInDBSchema = {
47
56
  resourceReference: { format: "mongo-id" },
48
57
  projectReference: { format: "mongo-id" },
49
58
  organisationReference: { format: "mongo-id" },
50
- analyticsLabel: { format: "analytics-label" },
51
- },
59
+ analyticsLabel: { format: "analytics-label" }
60
+ }
52
61
  };
53
62
  exports.nodeDataSchema = {
54
63
  title: "nodeDataSchema",
@@ -69,15 +78,52 @@ exports.nodeDataSchema = {
69
78
  isEntryPoint: { type: "boolean" },
70
79
  config: {
71
80
  type: "object",
72
- additionalProperties: { propertyNames: { type: "string" } },
81
+ additionalProperties: { propertyNames: { type: "string" } }
73
82
  },
74
- },
83
+ localizedData: {
84
+ type: "array",
85
+ items: {
86
+ type: "object",
87
+ properties: {
88
+ config: {},
89
+ preview: {},
90
+ localeReference: {
91
+ type: "string",
92
+ format: "mongo-id"
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ };
99
+ exports.updateNodeDataSchema = {
100
+ title: "nodeDataSchema",
101
+ type: "object",
102
+ additionalProperties: false,
103
+ properties: {
104
+ preview: {},
105
+ comment: { type: "string", maxLength: 512 },
106
+ commentColor: {
107
+ oneOf: [
108
+ { type: "string", format: "color" },
109
+ { type: "string", enum: [""] }
110
+ ]
111
+ },
112
+ label: { type: "string", maxLength: 200 },
113
+ analyticsLabel: { type: ["null", "string"], format: "analytics-label" },
114
+ isDisabled: { type: "boolean" },
115
+ isEntryPoint: { type: "boolean" },
116
+ config: {
117
+ type: "object",
118
+ additionalProperties: { propertyNames: { type: "string" } }
119
+ }
120
+ }
75
121
  };
76
122
  exports.nodeSchema = {
77
123
  title: "nodeSchema",
78
124
  type: "object",
79
125
  additionalProperties: false,
80
- properties: Object.assign(Object.assign({ _id: { format: "mongo-id" }, referenceId: { type: "string", format: "uuid" } }, exports.nodeDataSchema.properties), { type: { type: "string", minLength: 1, maxLength: 200 }, extension: { type: "string", format: "package-name" }, chartReference: { format: "mongo-id" }, resourceReference: { format: "mongo-id" }, localeReference: { type: "string", format: "mongo-id" }, projectReference: { format: "mongo-id" }, organisationReference: { format: "mongo-id" } }),
126
+ properties: Object.assign(Object.assign({ _id: { format: "mongo-id" }, referenceId: { type: "string", format: "uuid" } }, exports.nodeDataSchema.properties), { type: { type: "string", minLength: 1, maxLength: 200 }, extension: { type: "string", format: "package-name" }, chartReference: { format: "mongo-id" }, resourceReference: { format: "mongo-id" }, localeReference: { type: "string", format: "mongo-id" }, projectReference: { format: "mongo-id" }, organisationReference: { format: "mongo-id" } })
81
127
  };
82
128
  exports.nodeQuerySchema = createQuerySchema_1.createQuerySchema("nodeQuerySchema", exports.nodeSchema);
83
129
  //# sourceMappingURL=IChartNode.js.map
@@ -5,6 +5,7 @@ const endpoints_1 = require("../messageAPI/endpoints");
5
5
  const ITransformerFunction_1 = require("../transformers/ITransformerFunction");
6
6
  const handover_1 = require("../handover");
7
7
  const IEntityMeta_1 = require("./IEntityMeta");
8
+ const IEndpointTranslationSettings_1 = require("../IEndpointTranslationSettings");
8
9
  /**
9
10
  * This cache-key factory does not work the "normal" way as it does not accept
10
11
  * projectId and organisationId. When caching the endpoint configuration, we don't
@@ -14,7 +15,7 @@ const IEntityMeta_1 = require("./IEntityMeta");
14
15
  */
15
16
  const generateEndpointURLTokenRedisKeys = (data) => {
16
17
  return [
17
- `endpoint:urlToken:${data.URLToken}`
18
+ `endpoint:urlToken:${data.URLToken}:v2`
18
19
  ];
19
20
  };
20
21
  exports.generateEndpointURLTokenRedisKeys = generateEndpointURLTokenRedisKeys;
@@ -41,7 +42,7 @@ exports.endpointDataSchema = {
41
42
  { type: "string", enum: [""] }
42
43
  ],
43
44
  },
44
- entrypoint: { type: "string", format: "mongo-id" },
45
+ entrypoint: { type: ["string", "null"], format: "mongo-id" },
45
46
  maskAnalytics: { type: "boolean" },
46
47
  maskLogging: { type: "boolean" },
47
48
  name: { type: "string", format: "resource-name" },
@@ -54,12 +55,14 @@ exports.endpointDataSchema = {
54
55
  settings: endpoints_1.anyEndpointSettingsSchema,
55
56
  transformer: ITransformerFunction_1.transformerFunctionSchema,
56
57
  handoverSettings: handover_1.handoverSettingsSchema,
58
+ translationSettings: IEndpointTranslationSettings_1.translationSettingsEndpointSchema,
57
59
  foreignId: { type: "string" },
58
60
  useAnalytics: { type: "boolean" },
59
61
  useChatbaseAnalytics: { type: "boolean" },
60
62
  useContactProfiles: { type: "boolean" },
61
63
  useConversations: { type: "boolean" },
62
64
  useDashbotAnalytics: { type: "boolean" },
65
+ overrideSnapshotConnections: { type: "boolean" },
63
66
  },
64
67
  };
65
68
  exports.endpointSchema = {
@@ -46,7 +46,7 @@ exports.flowSchema = {
46
46
  title: "flowSchema",
47
47
  type: "object",
48
48
  additionalProperties: false,
49
- properties: Object.assign(Object.assign(Object.assign({}, IEntityMeta_1.entityMetaSchema.properties), exports.flowDataSchema.properties), { feedbackReport: ITrainGroupFeedbackReport_1.trainGroupFeedbackReportDataSchema, isTrainingOutOfDate: { type: "boolean" }, localeReference: { format: "mongo-id" }, chartReference: { type: "string", format: "mongo-id" }, intentTrainGroupReference: { type: "string", format: "mongo-id" }, intentTrainGroupReferenceId: { type: "string", format: "uuid" }, projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" }, referenceId: { type: "string", format: "uuid" } }),
49
+ properties: Object.assign(Object.assign(Object.assign({}, IEntityMeta_1.entityMetaSchema.properties), exports.flowDataSchema.properties), { feedbackReport: ITrainGroupFeedbackReport_1.trainGroupFeedbackReportDataSchema, isTrainingOutOfDate: { type: "boolean" }, lastTrainedAt: { type: "number" }, localeReference: { format: "mongo-id" }, chartReference: { type: "string", format: "mongo-id" }, intentTrainGroupReference: { type: "string", format: "mongo-id" }, intentTrainGroupReferenceId: { type: "string", format: "uuid" }, projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" }, referenceId: { type: "string", format: "uuid" } }),
50
50
  };
51
51
  exports.flowQuerySchema = createQuerySchema_1.createQuerySchema("flowQuerySchema", exports.flowSchema);
52
52
  //# sourceMappingURL=IFlow.js.map
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.lexiconQuerySchema = exports.lexiconSchema = exports.lexiconDataSchema = void 0;
3
+ exports.generateExportFromLexiconRedisKeys = exports.lexiconQuerySchema = exports.lexiconSchema = exports.lexiconDataSchema = void 0;
4
4
  /* Custom Modules */
5
5
  const createQuerySchema_1 = require("../../helper/createQuerySchema");
6
6
  /* Interfaces & Types */
@@ -11,7 +11,7 @@ exports.lexiconDataSchema = {
11
11
  additionalProperties: false,
12
12
  minProperties: 1,
13
13
  properties: {
14
- name: { type: "string", format: "resource-name" },
14
+ name: { type: "string", format: "resource-name" }
15
15
  }
16
16
  };
17
17
  exports.lexiconSchema = {
@@ -22,4 +22,10 @@ exports.lexiconSchema = {
22
22
  properties: Object.assign(Object.assign(Object.assign({}, exports.lexiconDataSchema.properties), IEntityMeta_1.entityMetaSchema.properties), { referenceId: { type: "string", format: "uuid" }, projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" } })
23
23
  };
24
24
  exports.lexiconQuerySchema = createQuerySchema_1.createQuerySchema("lexiconQuerySchema", exports.lexiconSchema);
25
+ const generateExportFromLexiconRedisKeys = (data) => {
26
+ return [
27
+ `organisationId:${data.organisationReference}:projectId:${data.projectReference}:lexiconId:${data._id}:exportfromlexicon`
28
+ ];
29
+ };
30
+ exports.generateExportFromLexiconRedisKeys = generateExportFromLexiconRedisKeys;
25
31
  //# sourceMappingURL=ILexicon.js.map
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.nluConnectorSchema = exports.nluConnectorDataSchema = exports.alexaSettingsSchema = exports.watsonSettingsSchema = exports.luisSettingsSchema = exports.dialogFlowPrivateKeySchema = void 0;
3
+ exports.nluConnectorSchema = exports.nluConnectorDataSchema = exports.alexaSettingsSchema = exports.lexSettingsSchema = exports.watsonSettingsSchema = exports.luisSettingsSchema = exports.dialogFlowPrivateKeySchema = void 0;
4
4
  /* Interfaces & Types */
5
5
  const alexa_1 = require("../alexa");
6
6
  const IEntityMeta_1 = require("./IEntityMeta");
@@ -51,6 +51,19 @@ exports.watsonSettingsSchema = {
51
51
  workspaceId: { type: "string" },
52
52
  },
53
53
  };
54
+ exports.lexSettingsSchema = {
55
+ title: "lexSettingsSchema",
56
+ type: "object",
57
+ additionalProperties: false,
58
+ properties: {
59
+ accessKeyId: { type: "string" },
60
+ secretAccessKey: { type: "string" },
61
+ awsRegion: { type: "string" },
62
+ botId: { type: "string" },
63
+ botAliasId: { type: "string" },
64
+ reparseSlots: { type: "boolean" }
65
+ },
66
+ };
54
67
  exports.alexaSettingsSchema = {
55
68
  title: "alexaSettingsSchema",
56
69
  type: "object",
@@ -70,7 +83,7 @@ exports.nluConnectorDataSchema = {
70
83
  name: { type: "string", format: "resource-name" },
71
84
  settings: {
72
85
  // @ts-ignore
73
- anyOf: [exports.alexaSettingsSchema, dialogFlowSettingsSchema, exports.luisSettingsSchema, exports.watsonSettingsSchema]
86
+ anyOf: [exports.alexaSettingsSchema, dialogFlowSettingsSchema, exports.luisSettingsSchema, exports.watsonSettingsSchema, exports.lexSettingsSchema]
74
87
  },
75
88
  // @ts-ignore
76
89
  transformer: INLUTransformerFunction_1.nluTransformerFunctionSchema,