@cognigy/rest-api-client 0.17.0 → 0.19.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 +12 -0
- package/build/GenericTusFn.js +6 -1
- package/build/GenericUploadFn.js +3 -5
- package/build/apigroups/AdministrationAPIGroup_2_0.js +3 -1
- package/build/apigroups/MetricsAPIGroup_2_0.js +5 -0
- package/build/apigroups/ResourcesAPIGroup_2_0.js +21 -7
- package/build/connector/AxiosAdapter.js +35 -15
- package/build/shared/charts/createNodeDescriptor.js +5 -5
- package/build/shared/charts/descriptors/agentAssist/constants/constants.js +16 -1
- package/build/shared/charts/descriptors/agentAssist/helpers/agentAssistTranslator.helper.js +19 -0
- package/build/shared/charts/descriptors/agentAssist/helpers/determineMetadata.js +15 -0
- package/build/shared/charts/descriptors/agentAssist/helpers/getFontSizeFieldOptions.js +84 -0
- package/build/shared/charts/descriptors/agentAssist/helpers/getLanguageName.helper.js +33 -0
- package/build/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/answerExtraction.helper.js +59 -0
- package/build/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/configValidator.helper.js +20 -0
- package/build/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/errorHandler.helper.js +64 -0
- package/build/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/followUpDetection.helper.js +72 -0
- package/build/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/knowledgeSearch.helper.js +58 -0
- package/build/shared/charts/descriptors/agentAssist/helpers/sentiment.helper.js +7 -13
- package/build/shared/charts/descriptors/agentAssist/htmlTemplates/identityAssistTemplate.js +17 -18
- package/build/shared/charts/descriptors/agentAssist/htmlTemplates/knowledgeAssistTemplate.js +330 -153
- package/build/shared/charts/descriptors/agentAssist/htmlTemplates/nextActionWidgetTemplate.js +212 -80
- package/build/shared/charts/descriptors/agentAssist/htmlTemplates/sentimentAnalysisTemplate.js +11 -6
- package/build/shared/charts/descriptors/agentAssist/htmlTemplates/transcriptAssistTemplate.js +15 -13
- package/build/shared/charts/descriptors/agentAssist/identityAssist.js +88 -15
- package/build/shared/charts/descriptors/agentAssist/knowledgeAssist.js +192 -327
- package/build/shared/charts/descriptors/agentAssist/locales/cs.locale.js +11 -0
- package/build/shared/charts/descriptors/agentAssist/locales/de.locale.js +11 -0
- package/build/shared/charts/descriptors/agentAssist/locales/en.locale.js +11 -0
- package/build/shared/charts/descriptors/agentAssist/locales/es.locale.js +11 -0
- package/build/shared/charts/descriptors/agentAssist/locales/fr.locale.js +11 -0
- package/build/shared/charts/descriptors/agentAssist/locales/index.js +22 -0
- package/build/shared/charts/descriptors/agentAssist/locales/ja.locale.js +11 -0
- package/build/shared/charts/descriptors/agentAssist/locales/ko.locale.js +11 -0
- package/build/shared/charts/descriptors/agentAssist/locales/pt.locale.js +11 -0
- package/build/shared/charts/descriptors/agentAssist/nextActionAssist.js +484 -10
- package/build/shared/charts/descriptors/agentAssist/sentimentAssist.js +32 -9
- package/build/shared/charts/descriptors/agentAssist/setAdaptiveCardTile.js +2 -0
- package/build/shared/charts/descriptors/agentAssist/setAgentAssistGrid.js +2 -1
- package/build/shared/charts/descriptors/agentAssist/setHtmlTile.js +5 -3
- package/build/shared/charts/descriptors/agentAssist/setIframeTile.js +5 -3
- package/build/shared/charts/descriptors/agentAssist/setSecureFormsTile.js +2 -2
- package/build/shared/charts/descriptors/agentAssist/transcriptAssist.js +42 -3
- package/build/shared/charts/descriptors/analytics/activateProfile.js +1 -0
- package/build/shared/charts/descriptors/analytics/blindMode.js +2 -0
- package/build/shared/charts/descriptors/analytics/completeGoal.js +1 -0
- package/build/shared/charts/descriptors/analytics/deactivateProfile.js +1 -0
- package/build/shared/charts/descriptors/analytics/deleteProfile.js +1 -0
- package/build/shared/charts/descriptors/analytics/index.js +3 -1
- package/build/shared/charts/descriptors/analytics/mergeProfile.js +1 -0
- package/build/shared/charts/descriptors/analytics/overwriteAnalytics.js +9 -0
- package/build/shared/charts/descriptors/analytics/requestRating.js +56 -2
- package/build/shared/charts/descriptors/analytics/setRating.js +4 -2
- package/build/shared/charts/descriptors/analytics/trackMilestone.js +95 -0
- package/build/shared/charts/descriptors/analytics/updateProfile.js +1 -0
- package/build/shared/charts/descriptors/apps/initAppSession.js +1 -0
- package/build/shared/charts/descriptors/apps/setAdaptiveCardAppState.js +35 -10
- package/build/shared/charts/descriptors/apps/setHtmlAppState.js +25 -2
- package/build/shared/charts/descriptors/apps/utils/getXAppsOverlaySettings.js +54 -0
- package/build/shared/charts/descriptors/connectionNodes/documentParserProviders/azureAIDocumentIntelligenceConnection.js +12 -0
- package/build/shared/charts/descriptors/connectionNodes/documentParserProviders/index.js +13 -0
- package/build/shared/charts/descriptors/connectionNodes/generativeAIProviders/awsBedrockProviderConnection.js +12 -0
- package/build/shared/charts/descriptors/connectionNodes/generativeAIProviders/azureOpenAIProviderConnection.js +4 -3
- package/build/shared/charts/descriptors/connectionNodes/generativeAIProviders/azureOpenAIProviderConnectionV2.js +3 -3
- package/build/shared/charts/descriptors/connectionNodes/generativeAIProviders/azureOpenAIProviderOauth2Connection.js +14 -0
- package/build/shared/charts/descriptors/connectionNodes/generativeAIProviders/index.js +16 -8
- package/build/shared/charts/descriptors/connectionNodes/generativeAIProviders/openAIProviderConnection.js +3 -3
- package/build/shared/charts/descriptors/data/addToContext.js +7 -0
- package/build/shared/charts/descriptors/data/copyDataToContext.js +3 -0
- package/build/shared/charts/descriptors/data/copySlotsToContext.js +3 -0
- package/build/shared/charts/descriptors/data/debugMessage.js +73 -0
- package/build/shared/charts/descriptors/data/index.js +3 -1
- package/build/shared/charts/descriptors/data/removeFromContext.js +9 -1
- package/build/shared/charts/descriptors/data/resetContext.js +1 -0
- package/build/shared/charts/descriptors/index.js +8 -4
- package/build/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +36 -11
- package/build/shared/charts/descriptors/logic/resetState.js +1 -0
- package/build/shared/charts/descriptors/logic/setState.js +2 -1
- package/build/shared/charts/descriptors/logic/setTranslation.js +3 -1
- package/build/shared/charts/descriptors/logic/switchLocale.js +1 -0
- package/build/shared/charts/descriptors/logic/think.js +3 -1
- package/build/shared/charts/descriptors/logic/thinkV2.js +2 -0
- package/build/shared/charts/descriptors/message/question/optionalQuestion.js +1 -1
- package/build/shared/charts/descriptors/message/question/question.js +173 -7
- package/build/shared/charts/descriptors/message/question/utils/evaluateQuestionAnswer.js +44 -3
- package/build/shared/charts/descriptors/message/question/utils/validateQuestionAnswer.js +4 -2
- package/build/shared/charts/descriptors/nlu/cleanText.js +1 -0
- package/build/shared/charts/descriptors/nlu/fuzzySearch.js +23 -1
- package/build/shared/charts/descriptors/nlu/generativeSlotFiller/prompt.js +45 -19
- package/build/shared/charts/descriptors/nlu/index.js +1 -3
- package/build/shared/charts/descriptors/service/GPTPrompt.js +362 -29
- package/build/shared/charts/descriptors/service/LLMEntityExtract.js +283 -0
- package/build/shared/charts/descriptors/service/handoverV2.js +84 -1
- package/build/shared/charts/descriptors/service/httpRequest.js +68 -3
- package/build/shared/charts/descriptors/service/index.js +3 -1
- package/build/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +110 -27
- package/build/shared/charts/descriptors/voice/mappers/transfer.mapper.js +4 -4
- package/build/shared/charts/descriptors/voice/nodes/bargeIn.js +2 -0
- package/build/shared/charts/descriptors/voice/nodes/continuousAsr.js +2 -0
- package/build/shared/charts/descriptors/voice/nodes/dtmf.js +2 -0
- package/build/shared/charts/descriptors/voice/nodes/muteSpeechInput.js +1 -0
- package/build/shared/charts/descriptors/voice/nodes/noUserInput.js +2 -0
- package/build/shared/charts/descriptors/voice/nodes/play.js +8 -1
- package/build/shared/charts/descriptors/voice/nodes/sessionSpeechParameters.js +46 -45
- package/build/shared/charts/descriptors/voice/nodes/transfer.js +2 -0
- package/build/shared/charts/descriptors/voicegateway2/nodes/dtmf.js +2 -0
- package/build/shared/charts/descriptors/voicegateway2/nodes/hangup.js +2 -0
- package/build/shared/charts/descriptors/voicegateway2/nodes/muteSpeechInput.js +3 -0
- package/build/shared/charts/descriptors/voicegateway2/nodes/play.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/record.js +1 -0
- package/build/shared/charts/descriptors/voicegateway2/nodes/refer.js +1 -0
- package/build/shared/charts/descriptors/voicegateway2/nodes/sendMetadata.js +1 -0
- package/build/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +329 -47
- package/build/shared/charts/descriptors/voicegateway2/nodes/transfer.js +27 -31
- package/build/shared/charts/descriptors/voicegateway2/utils/helper.js +2 -2
- package/build/shared/charts/helpers/generativeAI/generativeAIPrompts.js +55 -0
- package/build/shared/charts/helpers/generativeAI/rephraseSentenceWithAi.js +4 -2
- package/build/shared/constants.js +10 -1
- package/build/shared/handoverClients/interfaces/THandoverEventType.js +1 -0
- package/build/shared/helper/logFullConfigToDebugMode.js +30 -0
- package/build/shared/helper/nlu/textCleaner.js +3 -1
- package/build/shared/interfaces/IOrganisation.js +1 -0
- package/build/shared/interfaces/IProfile.js +1 -0
- package/build/shared/interfaces/IProfileSchema.js +3 -0
- package/build/shared/interfaces/analytics/IAnalyticsSourceData.js +20 -20
- package/build/shared/interfaces/{restAPI/resources/journey/v2.0/IJourneyProgress_2_0.js → analytics/IMilestoneAnalytics.js} +1 -1
- package/build/shared/interfaces/{restAPI/resources/journey/v2.0/IJourney_2_0.js → appsession/IAppSession.js} +1 -1
- package/build/shared/interfaces/{restAPI/resources/journey/v2.0/IJourneyStep_2_0.js → appsession/ISetAppState.js} +1 -1
- package/build/shared/interfaces/appsession/ISetAppStateOptions.js +3 -0
- package/build/shared/interfaces/appsession/ISetAppStateOverlaySettings.js +3 -0
- package/build/shared/interfaces/appsession/ISetAppStateOverlaySettingsMetaData.js +3 -0
- package/build/shared/interfaces/debugEvents/TDebugEventMessagePayload.js +3 -0
- package/build/shared/interfaces/debugEvents/TDebugEventType.js +2 -0
- package/build/shared/interfaces/fileStorage.js +6 -0
- package/build/shared/interfaces/generativeAI/IGenerativeAIModels.js +45 -52
- package/build/shared/interfaces/handover.js +44 -2
- package/build/shared/interfaces/license.js +3 -2
- package/build/shared/interfaces/license.js.map +1 -1
- package/build/shared/interfaces/messageAPI/endpoints.js +17 -2
- package/build/shared/interfaces/messageAPI/handover.js +25 -2
- package/build/shared/interfaces/nlu/nlu.js +3 -0
- package/build/shared/interfaces/resources/IAuditEvent.js +10 -9
- package/build/shared/interfaces/resources/IConnection.js +1 -0
- package/build/shared/interfaces/resources/IEndpoint.js +1 -2
- package/build/shared/interfaces/resources/ILargeLanguageModel.js +56 -21
- package/build/shared/interfaces/resources/IMilestone.js +50 -0
- package/build/shared/interfaces/resources/INodeDescriptorSet.js +96 -75
- package/build/shared/interfaces/resources/TResourceType.js +12 -5
- package/build/shared/interfaces/resources/knowledgeStore/IKnowledgeSource.js +1 -1
- package/build/shared/interfaces/resources/settings/IAgentSettings.js +12 -7
- package/build/shared/interfaces/resources/settings/IGenerativeAISettings.js +8 -0
- package/build/shared/interfaces/resources/settings/IKnowledgeAISettings.js +18 -0
- package/build/shared/interfaces/resources/settings/index.js +4 -1
- package/build/shared/interfaces/restAPI/administration/organisations/v2.0/IReadCollectionsToBeDeletedRest_2_0.js +0 -1
- package/build/shared/interfaces/restAPI/administration/organisations/v2.0/IReadOrganisationKnowledgeChunksCountRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/operations/index.js +3 -0
- package/build/shared/interfaces/restAPI/operations/nlu/v2.0/IGenerateNluScoresRest_2_0.js +57 -0
- package/build/shared/interfaces/restAPI/operations/nlu/v2.0/index.js +3 -0
- package/build/shared/interfaces/restAPI/resources/largeLanguageModel/v2.0/IAvailableModelsForLLMProvider_2_0 .js +18 -0
- package/build/shared/interfaces/restAPI/resources/largeLanguageModel/v2.0/IGetAvailableModelsForLLMRest_2_0 .js +3 -0
- package/build/shared/interfaces/restAPI/resources/{journey/v2.0/IJourneyIndexItem_2_0.js → milestone/v2.0/ICloneMilestoneRest_2_0.js} +1 -1
- package/build/shared/interfaces/restAPI/resources/milestone/v2.0/ICreateMilestoneRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/milestone/v2.0/IDeleteMilestoneRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/milestone/v2.0/IIndexMilestonesRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/milestone/v2.0/IMilestoneIndexItem_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/milestone/v2.0/IMilestoneStepMetric_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/milestone/v2.0/IMilestoneStep_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/milestone/v2.0/IMilestone_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/{journey/v2.0/IIndexJourneysRest_2_0.js → milestone/v2.0/IReadMilestoneRest_2_0.js} +1 -1
- package/build/shared/interfaces/restAPI/resources/milestone/v2.0/IUpdateMilestoneRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/milestone/v2.0/index.js +3 -0
- package/build/shared/interfaces/restAPI/resources/uploadResumable/v2.0/IUploadResumableRest_2_0.js +3 -1
- package/build/shared/interfaces/security/IPermission.js +4 -2
- package/build/shared/interfaces/security/IRole.js +2 -0
- package/build/shared/interfaces/security/ISystemCapabilities.js +3 -0
- package/build/shared/interfaces/security/index.js +1 -1
- package/build/shared/interfaces/trainer/ITrainerRecord.js +2 -2
- package/build/shared/interfaces/user.js +1 -1
- package/package.json +2 -2
- package/types/index.d.ts +2194 -957
- package/build/shared/charts/descriptors/nlu/extractAnswer.js +0 -115
- package/build/shared/interfaces/journeys/IJourney.js +0 -83
- package/build/shared/interfaces/journeys/IJourneyProgress.js +0 -40
- package/build/shared/interfaces/journeys/IJourneyTrackEvent.js +0 -35
- package/build/shared/interfaces/journeys/index.js +0 -14
- package/build/shared/interfaces/restAPI/resources/journey/v2.0/IJourneyTrackEvents_2_0.js +0 -3
- package/build/shared/interfaces/restAPI/resources/journey/v2.0/IReadJourneyProgressRest_2_0.js +0 -3
- package/build/shared/interfaces/restAPI/resources/journey/v2.0/IReadJourneyRest_2_0.js +0 -3
- package/build/shared/interfaces/restAPI/resources/journey/v2.0/ITrackJourneyEventRest_2_0.js +0 -3
- package/build/shared/interfaces/restAPI/resources/journey/v2.0/IUpdateSelectedJourneyRest_2_0.js +0 -3
- /package/build/shared/interfaces/{restAPI/resources/journey/v2.0 → appsession}/index.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.handleHandoverRpcEventSchema = exports.pollAgentRepliesEventSchema = exports.activateHandoverConversationSchema = exports.sendMessageToProviderSchema = exports.getHandoverRequestDataSchema = exports.createHandoverRequestDataSchema = void 0;
|
|
3
|
+
exports.getQueueUpdateEventsSchema = exports.handleHandoverRpcEventSchema = exports.pollAgentRepliesEventSchema = exports.activateHandoverConversationSchema = exports.sendMessageToProviderSchema = exports.getHandoverRequestDataSchema = exports.createHandoverRequestDataSchema = void 0;
|
|
4
4
|
const handover_1 = require("../handover");
|
|
5
5
|
exports.createHandoverRequestDataSchema = {
|
|
6
6
|
title: "createHandoverRequestDataSchema",
|
|
@@ -250,8 +250,12 @@ exports.pollAgentRepliesEventSchema = {
|
|
|
250
250
|
handoverSettings: handover_1.handoverSettingsSchema,
|
|
251
251
|
foreignSessionData: handover_1.foreignSessionDataSchema,
|
|
252
252
|
foreignSessionId: { type: "string" },
|
|
253
|
+
organisation: { type: "string" },
|
|
254
|
+
sessionId: { type: "string" },
|
|
253
255
|
traceId: { type: "string" },
|
|
254
|
-
disableSensitiveLogging: { type: "boolean" }
|
|
256
|
+
disableSensitiveLogging: { type: "boolean" },
|
|
257
|
+
pollingTimeoutAt: { type: "number" },
|
|
258
|
+
sequence: { type: "number" }
|
|
255
259
|
},
|
|
256
260
|
};
|
|
257
261
|
exports.handleHandoverRpcEventSchema = {
|
|
@@ -276,4 +280,23 @@ exports.handleHandoverRpcEventSchema = {
|
|
|
276
280
|
disableSensitiveLogging: { type: "boolean" }
|
|
277
281
|
},
|
|
278
282
|
};
|
|
283
|
+
exports.getQueueUpdateEventsSchema = {
|
|
284
|
+
title: "getQueueUpdateEventsSchema",
|
|
285
|
+
type: "object",
|
|
286
|
+
additionalProperties: false,
|
|
287
|
+
required: [
|
|
288
|
+
"handoverSettings",
|
|
289
|
+
"foreignSessionData",
|
|
290
|
+
"traceId",
|
|
291
|
+
"disableSensitiveLogging"
|
|
292
|
+
],
|
|
293
|
+
properties: {
|
|
294
|
+
handoverSettings: handover_1.handoverSettingsSchema,
|
|
295
|
+
foreignSessionData: handover_1.foreignSessionDataSchema,
|
|
296
|
+
queueUpdateOptions: handover_1.queueUpdateOptionsSchema,
|
|
297
|
+
sessionId: { type: "string" },
|
|
298
|
+
traceId: { type: "string" },
|
|
299
|
+
disableSensitiveLogging: { type: "boolean" }
|
|
300
|
+
},
|
|
301
|
+
};
|
|
279
302
|
//# sourceMappingURL=handover.js.map
|
|
@@ -7,7 +7,7 @@ exports.auditEventTypes = [
|
|
|
7
7
|
"replace",
|
|
8
8
|
"patch",
|
|
9
9
|
"delete",
|
|
10
|
-
"unauthorized"
|
|
10
|
+
"unauthorized",
|
|
11
11
|
];
|
|
12
12
|
exports.actionTypes = [
|
|
13
13
|
"acceptTermsOfService",
|
|
@@ -35,6 +35,7 @@ exports.actionTypes = [
|
|
|
35
35
|
"cancelTask",
|
|
36
36
|
"changePlaybookStepOrder",
|
|
37
37
|
"cloneFlow",
|
|
38
|
+
"cloneMilestone",
|
|
38
39
|
"cloneLargeLanguageModel",
|
|
39
40
|
"configureIdentityProvider",
|
|
40
41
|
"createKnowledgeSearchIndex",
|
|
@@ -105,7 +106,7 @@ exports.actionTypes = [
|
|
|
105
106
|
"updateFlowSettings",
|
|
106
107
|
"optionsResolver",
|
|
107
108
|
"processKnowledgeSourceUrl",
|
|
108
|
-
"processKnowledgeSourceFile"
|
|
109
|
+
"processKnowledgeSourceFile",
|
|
109
110
|
];
|
|
110
111
|
exports.auditEventSchema = {
|
|
111
112
|
title: "auditEventSchema",
|
|
@@ -117,14 +118,14 @@ exports.auditEventSchema = {
|
|
|
117
118
|
"user",
|
|
118
119
|
"userReference",
|
|
119
120
|
"organisationReference",
|
|
120
|
-
"expiresAt"
|
|
121
|
+
"expiresAt",
|
|
121
122
|
],
|
|
122
123
|
properties: {
|
|
123
124
|
_id: { type: "string", format: "mongo-id" },
|
|
124
125
|
timestamp: { type: "object", format: "date-time" },
|
|
125
126
|
type: {
|
|
126
127
|
type: "string",
|
|
127
|
-
enum: [...exports.auditEventTypes]
|
|
128
|
+
enum: [...exports.auditEventTypes],
|
|
128
129
|
},
|
|
129
130
|
actionType: { type: "string", enum: [...exports.actionTypes] },
|
|
130
131
|
user: { type: "string", format: "email" },
|
|
@@ -139,13 +140,13 @@ exports.auditEventSchema = {
|
|
|
139
140
|
additionalProperties: false,
|
|
140
141
|
properties: {
|
|
141
142
|
elementId: { type: "string", format: "mongo-id" },
|
|
142
|
-
elementType: { type: "string" }
|
|
143
|
-
}
|
|
144
|
-
}
|
|
143
|
+
elementType: { type: "string" },
|
|
144
|
+
},
|
|
145
|
+
},
|
|
145
146
|
},
|
|
146
147
|
expiresAt: { type: "object", format: "date-time" },
|
|
147
148
|
payload: { type: "string" },
|
|
148
|
-
projectReference: { type: "string", format: "mongo-id" }
|
|
149
|
-
}
|
|
149
|
+
projectReference: { type: "string", format: "mongo-id" },
|
|
150
|
+
},
|
|
150
151
|
};
|
|
151
152
|
//# sourceMappingURL=IAuditEvent.js.map
|
|
@@ -15,7 +15,6 @@ exports.endpointDataSchema = {
|
|
|
15
15
|
URLToken: { type: "string", format: "alphanum-64" },
|
|
16
16
|
active: { type: "boolean" },
|
|
17
17
|
channel: { type: "string", format: "endpoint-channel" },
|
|
18
|
-
chatbaseApikey: { type: "string" },
|
|
19
18
|
dashbotApikey: { type: "string" },
|
|
20
19
|
dashbotPlatform: { type: "string" },
|
|
21
20
|
flowId: {
|
|
@@ -47,13 +46,13 @@ exports.endpointDataSchema = {
|
|
|
47
46
|
translationSettings: IEndpointTranslationSettings_1.translationSettingsEndpointSchema,
|
|
48
47
|
foreignId: { type: "string" },
|
|
49
48
|
useAnalytics: { type: "boolean" },
|
|
50
|
-
useChatbaseAnalytics: { type: "boolean" },
|
|
51
49
|
useContactProfiles: { type: "boolean" },
|
|
52
50
|
useConversations: { type: "boolean" },
|
|
53
51
|
storeDataPayload: { type: "boolean" },
|
|
54
52
|
useDashbotAnalytics: { type: "boolean" },
|
|
55
53
|
overrideSnapshotConnections: { type: "boolean" },
|
|
56
54
|
fileStorageSettings: fileStorage_1.fileStorageSettingsSchema,
|
|
55
|
+
disableInputSanitization: { type: "boolean" }
|
|
57
56
|
},
|
|
58
57
|
};
|
|
59
58
|
exports.endpointSchema = {
|
|
@@ -1,28 +1,47 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.largeLanguageModelQuerySchema = exports.largeLanguageModelSchema = exports.largeLanguageModelDataSchema = exports.
|
|
3
|
+
exports.largeLanguageModelQuerySchema = exports.largeLanguageModelSchema = exports.largeLanguageModelDataSchema = exports.googleGeminiMetaSchema = exports.googleVertexAIMetaSchema = exports.azureOpenAIMetaSchema = exports.openAIMetaSchema = exports.alephAlphaMetaSchema = exports.awsBedrockMetaSchema = exports.anthropicMetaSchema = void 0;
|
|
4
4
|
/* Custom Modules */
|
|
5
5
|
const createQuerySchema_1 = require("../../helper/createQuerySchema");
|
|
6
6
|
const IEntityMeta_1 = require("./IEntityMeta");
|
|
7
7
|
const IGenerativeAIModels_1 = require("../generativeAI/IGenerativeAIModels");
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
const IGenerativeAIModels_2 = require("../generativeAI/IGenerativeAIModels");
|
|
9
|
+
exports.anthropicMetaSchema = {
|
|
10
|
+
title: "anthropicMetaSchema",
|
|
10
11
|
type: "object",
|
|
11
12
|
additionalProperties: false,
|
|
12
13
|
properties: {
|
|
13
|
-
customModel: { type: "string" }
|
|
14
|
+
customModel: { type: ["string", "null"] }
|
|
14
15
|
}
|
|
15
16
|
};
|
|
16
|
-
exports.
|
|
17
|
-
title: "
|
|
17
|
+
exports.awsBedrockMetaSchema = {
|
|
18
|
+
title: "awsBedrockMetaSchema",
|
|
18
19
|
type: "object",
|
|
19
20
|
additionalProperties: false,
|
|
20
21
|
properties: {
|
|
21
|
-
customModel: { type: "string" }
|
|
22
|
+
customModel: { type: ["string", "null"] },
|
|
23
|
+
region: { type: "string", format: "resource-name" }
|
|
22
24
|
}
|
|
23
25
|
};
|
|
24
|
-
exports.
|
|
25
|
-
title: "
|
|
26
|
+
exports.alephAlphaMetaSchema = {
|
|
27
|
+
title: "alephAlphaMetaSchema",
|
|
28
|
+
type: "object",
|
|
29
|
+
additionalProperties: false,
|
|
30
|
+
properties: {
|
|
31
|
+
customModel: { type: ["string", "null"] },
|
|
32
|
+
baseCustomUrl: { type: ["string", "null"] },
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
exports.openAIMetaSchema = {
|
|
36
|
+
title: "openAIMetaSchema",
|
|
37
|
+
type: "object",
|
|
38
|
+
additionalProperties: false,
|
|
39
|
+
properties: {
|
|
40
|
+
customModel: { type: ["string", "null"] }
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
exports.azureOpenAIMetaSchema = {
|
|
44
|
+
title: "azureOpenAIMetaSchema",
|
|
26
45
|
type: "object",
|
|
27
46
|
additionalProperties: false,
|
|
28
47
|
properties: {
|
|
@@ -30,37 +49,53 @@ exports.azureOpenAIMeataSchema = {
|
|
|
30
49
|
deploymentName: { type: ["string", "null"] },
|
|
31
50
|
apiVersion: { type: ["string", "null"] },
|
|
32
51
|
baseCustomUrl: { type: ["string", "null"] },
|
|
52
|
+
customModel: { type: ["string", "null"] }
|
|
33
53
|
}
|
|
34
54
|
};
|
|
35
|
-
exports.
|
|
36
|
-
title: "
|
|
55
|
+
exports.googleVertexAIMetaSchema = {
|
|
56
|
+
title: "googleVertexAIMetaSchema",
|
|
37
57
|
type: "object",
|
|
38
58
|
additionalProperties: false,
|
|
39
59
|
properties: {
|
|
40
60
|
apiEndPoint: { type: "string", format: "resource-name" },
|
|
41
61
|
location: { type: "string", format: "resource-name" },
|
|
42
|
-
publisher: { type: ["string", "null"] }
|
|
62
|
+
publisher: { type: ["string", "null"] },
|
|
63
|
+
customModel: { type: ["string", "null"] },
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
exports.googleGeminiMetaSchema = {
|
|
67
|
+
title: "googleGeminiMetaSchema",
|
|
68
|
+
type: "object",
|
|
69
|
+
additionalProperties: false,
|
|
70
|
+
properties: {
|
|
71
|
+
location: { type: "string", format: "resource-name" },
|
|
72
|
+
customModel: { type: ["string", "null"] },
|
|
43
73
|
}
|
|
44
74
|
};
|
|
45
75
|
exports.largeLanguageModelDataSchema = {
|
|
46
76
|
title: "largeLanguageModelDataSchema",
|
|
47
77
|
type: "object",
|
|
48
78
|
additionalProperties: false,
|
|
49
|
-
|
|
50
|
-
"name",
|
|
51
|
-
"modelType",
|
|
79
|
+
oneOf: [
|
|
80
|
+
{ required: ["name", "modelType",] },
|
|
81
|
+
{ required: ["name", "modelType", "modelGroup", "isCustomModel"] }
|
|
52
82
|
],
|
|
53
83
|
properties: {
|
|
54
84
|
name: { type: "string", format: "resource-name" },
|
|
55
85
|
description: { type: "string", format: "resource-description" },
|
|
56
|
-
modelType: { type: "string"
|
|
57
|
-
|
|
86
|
+
modelType: { type: "string" } /* wildcard string for the Custom Models */,
|
|
87
|
+
isCustomModel: { type: "boolean" },
|
|
88
|
+
modelGroup: { type: "string", enum: [...IGenerativeAIModels_1.modeType] },
|
|
89
|
+
provider: { type: "string", enum: [...IGenerativeAIModels_2.generativeAIProviders] },
|
|
58
90
|
connectionId: { type: "string", format: "uuid" },
|
|
59
91
|
isDefault: { type: "boolean" },
|
|
60
|
-
openAI: exports.
|
|
61
|
-
azureOpenAI: exports.
|
|
62
|
-
googleVertexAI: exports.
|
|
63
|
-
|
|
92
|
+
openAI: exports.openAIMetaSchema,
|
|
93
|
+
azureOpenAI: exports.azureOpenAIMetaSchema,
|
|
94
|
+
googleVertexAI: exports.googleVertexAIMetaSchema,
|
|
95
|
+
googleGemini: exports.googleGeminiMetaSchema,
|
|
96
|
+
alephAlpha: exports.alephAlphaMetaSchema,
|
|
97
|
+
anthropic: exports.anthropicMetaSchema,
|
|
98
|
+
awsBedrock: exports.awsBedrockMetaSchema
|
|
64
99
|
}
|
|
65
100
|
};
|
|
66
101
|
exports.largeLanguageModelSchema = {
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.milestoneSchema = exports.milestoneDataSchema = exports.milestoneStepSchema = exports.milestoneStepMetricSchema = void 0;
|
|
4
|
+
const IEntityMeta_1 = require("./IEntityMeta");
|
|
5
|
+
exports.milestoneStepMetricSchema = {
|
|
6
|
+
title: "milestoneStepMetricSchema",
|
|
7
|
+
type: "object",
|
|
8
|
+
additionalProperties: false,
|
|
9
|
+
properties: {
|
|
10
|
+
_id: { type: "string", format: "mongo-id" },
|
|
11
|
+
name: { type: "string" },
|
|
12
|
+
description: { type: "string" },
|
|
13
|
+
type: { type: "string", enum: ["currency", "duration"] },
|
|
14
|
+
value: { type: "number" },
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
exports.milestoneStepSchema = {
|
|
18
|
+
title: "milestoneStepSchema",
|
|
19
|
+
type: "object",
|
|
20
|
+
additionalProperties: false,
|
|
21
|
+
properties: {
|
|
22
|
+
_id: { type: "string", format: "mongo-id" },
|
|
23
|
+
name: { type: "string" },
|
|
24
|
+
description: { type: "string" },
|
|
25
|
+
order: { type: "number" },
|
|
26
|
+
type: { type: "string", enum: ["start", "completion"] },
|
|
27
|
+
metrics: {
|
|
28
|
+
type: "array",
|
|
29
|
+
items: exports.milestoneStepMetricSchema,
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
exports.milestoneDataSchema = {
|
|
34
|
+
title: "milestoneDataSchema",
|
|
35
|
+
type: "object",
|
|
36
|
+
additionalProperties: false,
|
|
37
|
+
properties: {
|
|
38
|
+
version: { type: "string", format: "uuid" },
|
|
39
|
+
description: { type: "string" },
|
|
40
|
+
name: { type: "string", format: "resource-name" },
|
|
41
|
+
steps: { type: "array", items: exports.milestoneStepSchema },
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
exports.milestoneSchema = {
|
|
45
|
+
title: "milestoneSchema",
|
|
46
|
+
type: "object",
|
|
47
|
+
additionalProperties: false,
|
|
48
|
+
properties: Object.assign(Object.assign(Object.assign({}, exports.milestoneDataSchema.properties), IEntityMeta_1.entityMetaSchema.properties), { referenceId: { type: "string", format: "uuid" }, projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" } }),
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=IMilestone.js.map
|
|
@@ -12,8 +12,8 @@ const nodeAppearanceSchema = {
|
|
|
12
12
|
textColor: { type: "string", format: "color" },
|
|
13
13
|
contrastTextColor: { type: "string", format: "color" },
|
|
14
14
|
showIcon: { type: "boolean" },
|
|
15
|
-
variant: { type: "string", enum: ["regular", "mini", "hexagon"] }
|
|
16
|
-
}
|
|
15
|
+
variant: { type: "string", enum: ["regular", "mini", "hexagon"] },
|
|
16
|
+
},
|
|
17
17
|
};
|
|
18
18
|
const nodeBehaviorSchema = {
|
|
19
19
|
title: "nodeBehaviorSchema",
|
|
@@ -21,18 +21,24 @@ const nodeBehaviorSchema = {
|
|
|
21
21
|
additionalProperties: false,
|
|
22
22
|
properties: {
|
|
23
23
|
stopping: { type: "boolean" },
|
|
24
|
-
entrypoint: { type: "boolean" }
|
|
25
|
-
}
|
|
24
|
+
entrypoint: { type: "boolean" },
|
|
25
|
+
},
|
|
26
26
|
};
|
|
27
|
-
exports.nodePreviewTypes = [
|
|
27
|
+
exports.nodePreviewTypes = [
|
|
28
|
+
"text",
|
|
29
|
+
"sayNode",
|
|
30
|
+
"custom",
|
|
31
|
+
"resource",
|
|
32
|
+
"image",
|
|
33
|
+
];
|
|
28
34
|
const nodePreviewSchema = {
|
|
29
35
|
title: "nodePreviewSchema",
|
|
30
36
|
type: "object",
|
|
31
37
|
additionalProperties: false,
|
|
32
38
|
properties: {
|
|
33
39
|
key: { type: "string", minLength: 1, maxLength: 200 },
|
|
34
|
-
type: { type: "string", enum: [...exports.nodePreviewTypes] }
|
|
35
|
-
}
|
|
40
|
+
type: { type: "string", enum: [...exports.nodePreviewTypes] },
|
|
41
|
+
},
|
|
36
42
|
};
|
|
37
43
|
const nodeConstraintSchema = {
|
|
38
44
|
title: "nodeConstraintSchema",
|
|
@@ -41,13 +47,13 @@ const nodeConstraintSchema = {
|
|
|
41
47
|
properties: {
|
|
42
48
|
blacklist: {
|
|
43
49
|
type: "array",
|
|
44
|
-
items: { type: "string", minLength: 1, maxLength: 200 }
|
|
50
|
+
items: { type: "string", minLength: 1, maxLength: 200 },
|
|
45
51
|
},
|
|
46
52
|
whitelist: {
|
|
47
53
|
type: "array",
|
|
48
|
-
items: { type: "string", minLength: 1, maxLength: 200 }
|
|
49
|
-
}
|
|
50
|
-
}
|
|
54
|
+
items: { type: "string", minLength: 1, maxLength: 200 },
|
|
55
|
+
},
|
|
56
|
+
},
|
|
51
57
|
};
|
|
52
58
|
const nodeConstraintsSchema = {
|
|
53
59
|
title: "nodeConstraintsSchema",
|
|
@@ -66,10 +72,10 @@ const nodeConstraintsSchema = {
|
|
|
66
72
|
properties: {
|
|
67
73
|
children: nodeConstraintSchema,
|
|
68
74
|
predecessor: nodeConstraintSchema,
|
|
69
|
-
successor: nodeConstraintSchema
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
75
|
+
successor: nodeConstraintSchema,
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
},
|
|
73
79
|
};
|
|
74
80
|
const nodeDependenciesSchema = {
|
|
75
81
|
title: "nodeDependenciesSchema",
|
|
@@ -78,9 +84,9 @@ const nodeDependenciesSchema = {
|
|
|
78
84
|
properties: {
|
|
79
85
|
children: {
|
|
80
86
|
type: "array",
|
|
81
|
-
items: { type: "string", minLength: 1, maxLength: 200 }
|
|
82
|
-
}
|
|
83
|
-
}
|
|
87
|
+
items: { type: "string", minLength: 1, maxLength: 200 },
|
|
88
|
+
},
|
|
89
|
+
},
|
|
84
90
|
};
|
|
85
91
|
exports.nodeFieldTypes = [
|
|
86
92
|
"adaptivecard",
|
|
@@ -108,6 +114,7 @@ exports.nodeFieldTypes = [
|
|
|
108
114
|
"knowledgeStoreSelect",
|
|
109
115
|
"knowledgeSourceTags",
|
|
110
116
|
"llmSelect",
|
|
117
|
+
"milestoneAndStepsSelect",
|
|
111
118
|
"lexicon",
|
|
112
119
|
"localeField",
|
|
113
120
|
"node",
|
|
@@ -142,7 +149,7 @@ exports.searchableNodeFieldTypes = [
|
|
|
142
149
|
"say",
|
|
143
150
|
"code",
|
|
144
151
|
"caseNode",
|
|
145
|
-
"select"
|
|
152
|
+
"select",
|
|
146
153
|
];
|
|
147
154
|
exports.nodeFieldSingleConditionSchema = {
|
|
148
155
|
title: "nodeFieldSingleConditionSchema",
|
|
@@ -159,11 +166,11 @@ exports.nodeFieldSingleConditionSchema = {
|
|
|
159
166
|
{ type: "number" },
|
|
160
167
|
{ type: "array", items: { type: "number" } },
|
|
161
168
|
{ type: "boolean" },
|
|
162
|
-
{ type: "array", items: { type: "boolean" } }
|
|
163
|
-
]
|
|
169
|
+
{ type: "array", items: { type: "boolean" } },
|
|
170
|
+
],
|
|
164
171
|
},
|
|
165
|
-
negate: { type: "boolean" }
|
|
166
|
-
}
|
|
172
|
+
negate: { type: "boolean" },
|
|
173
|
+
},
|
|
167
174
|
};
|
|
168
175
|
exports.nodeFieldANDConditionSchema = {
|
|
169
176
|
title: "nodeFieldANDConditionSchema",
|
|
@@ -171,8 +178,8 @@ exports.nodeFieldANDConditionSchema = {
|
|
|
171
178
|
additionalProperties: false,
|
|
172
179
|
required: ["and"],
|
|
173
180
|
properties: {
|
|
174
|
-
and: { type: "array", items: { $ref: "nodeFieldConditionSchema" } }
|
|
175
|
-
}
|
|
181
|
+
and: { type: "array", items: { $ref: "nodeFieldConditionSchema" } },
|
|
182
|
+
},
|
|
176
183
|
};
|
|
177
184
|
exports.nodeFieldORConditionSchema = {
|
|
178
185
|
title: "nodeFieldORConditionSchema",
|
|
@@ -180,8 +187,8 @@ exports.nodeFieldORConditionSchema = {
|
|
|
180
187
|
additionalProperties: false,
|
|
181
188
|
required: ["or"],
|
|
182
189
|
properties: {
|
|
183
|
-
or: { type: "array", items: { $ref: "nodeFieldConditionSchema" } }
|
|
184
|
-
}
|
|
190
|
+
or: { type: "array", items: { $ref: "nodeFieldConditionSchema" } },
|
|
191
|
+
},
|
|
185
192
|
};
|
|
186
193
|
// @ts-ignore
|
|
187
194
|
exports.nodeFieldConditionSchema = {
|
|
@@ -194,17 +201,20 @@ exports.nodeFieldConditionSchema = {
|
|
|
194
201
|
// @ts-ignore
|
|
195
202
|
exports.nodeFieldANDConditionSchema,
|
|
196
203
|
// @ts-ignore
|
|
197
|
-
exports.nodeFieldORConditionSchema
|
|
198
|
-
]
|
|
204
|
+
exports.nodeFieldORConditionSchema,
|
|
205
|
+
],
|
|
199
206
|
};
|
|
200
207
|
exports.nodeOptionsResolverSchema = {
|
|
201
208
|
title: "nodeOptionsResolverSchema",
|
|
202
209
|
type: "object",
|
|
203
210
|
additionalProperties: false,
|
|
204
211
|
properties: {
|
|
205
|
-
dependencies: {
|
|
206
|
-
|
|
207
|
-
|
|
212
|
+
dependencies: {
|
|
213
|
+
type: "array",
|
|
214
|
+
items: { type: "string", minLength: 1, maxLength: 200 },
|
|
215
|
+
},
|
|
216
|
+
resolverFunction: {},
|
|
217
|
+
},
|
|
208
218
|
};
|
|
209
219
|
exports.nodeFieldSchema = {
|
|
210
220
|
title: "nodeFieldSchema",
|
|
@@ -225,10 +235,10 @@ exports.nodeFieldSchema = {
|
|
|
225
235
|
deDE: { type: "string", maxLength: 200 },
|
|
226
236
|
jaJP: { type: "string", maxLength: 200 },
|
|
227
237
|
esES: { type: "string", maxLength: 200 },
|
|
228
|
-
koKR: { type: "string", maxLength: 200 }
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
]
|
|
238
|
+
koKR: { type: "string", maxLength: 200 },
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
],
|
|
232
242
|
},
|
|
233
243
|
condition: exports.nodeFieldConditionSchema,
|
|
234
244
|
defaultValue: {
|
|
@@ -238,8 +248,8 @@ exports.nodeFieldSchema = {
|
|
|
238
248
|
{ type: "number" },
|
|
239
249
|
{ type: "null" },
|
|
240
250
|
{ type: "object" },
|
|
241
|
-
{ type: "string" }
|
|
242
|
-
]
|
|
251
|
+
{ type: "string" },
|
|
252
|
+
],
|
|
243
253
|
},
|
|
244
254
|
description: {
|
|
245
255
|
oneOf: [
|
|
@@ -253,14 +263,25 @@ exports.nodeFieldSchema = {
|
|
|
253
263
|
deDE: { type: "string", maxLength: 200 },
|
|
254
264
|
jaJP: { type: "string", maxLength: 200 },
|
|
255
265
|
esES: { type: "string", maxLength: 200 },
|
|
256
|
-
koKR: { type: "string", maxLength: 200 }
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
]
|
|
266
|
+
koKR: { type: "string", maxLength: 200 },
|
|
267
|
+
},
|
|
268
|
+
},
|
|
269
|
+
],
|
|
260
270
|
},
|
|
261
271
|
params: { type: "object" },
|
|
262
|
-
optionsResolver: exports.nodeOptionsResolverSchema
|
|
263
|
-
|
|
272
|
+
optionsResolver: exports.nodeOptionsResolverSchema,
|
|
273
|
+
resetOption: {
|
|
274
|
+
type: "object",
|
|
275
|
+
additionalProperties: false,
|
|
276
|
+
properties: {
|
|
277
|
+
lookupValue: { type: "string" },
|
|
278
|
+
fieldsToReset: {
|
|
279
|
+
type: "array",
|
|
280
|
+
items: { type: "string" },
|
|
281
|
+
},
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
},
|
|
264
285
|
};
|
|
265
286
|
exports.nodeSectionSchema = {
|
|
266
287
|
title: "nodeSectionSchema",
|
|
@@ -280,10 +301,10 @@ exports.nodeSectionSchema = {
|
|
|
280
301
|
deDE: { type: "string", maxLength: 200 },
|
|
281
302
|
jaJP: { type: "string", maxLength: 200 },
|
|
282
303
|
esES: { type: "string", maxLength: 200 },
|
|
283
|
-
koKR: { type: "string", maxLength: 200 }
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
]
|
|
304
|
+
koKR: { type: "string", maxLength: 200 },
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
],
|
|
287
308
|
},
|
|
288
309
|
description: {
|
|
289
310
|
oneOf: [
|
|
@@ -297,10 +318,10 @@ exports.nodeSectionSchema = {
|
|
|
297
318
|
deDE: { type: "string", maxLength: 200 },
|
|
298
319
|
jaJP: { type: "string", maxLength: 200 },
|
|
299
320
|
esES: { type: "string", maxLength: 200 },
|
|
300
|
-
koKR: { type: "string", maxLength: 200 }
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
]
|
|
321
|
+
koKR: { type: "string", maxLength: 200 },
|
|
322
|
+
},
|
|
323
|
+
},
|
|
324
|
+
],
|
|
304
325
|
},
|
|
305
326
|
condition: exports.nodeFieldConditionSchema,
|
|
306
327
|
defaultCollapsed: { type: "boolean" },
|
|
@@ -312,10 +333,10 @@ exports.nodeSectionSchema = {
|
|
|
312
333
|
items: {
|
|
313
334
|
type: "string",
|
|
314
335
|
minLength: 1,
|
|
315
|
-
maxLength: 200
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
}
|
|
336
|
+
maxLength: 200,
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
},
|
|
319
340
|
};
|
|
320
341
|
exports.nodeFieldAndSectionFormElementSchema = {
|
|
321
342
|
title: "nodeFieldAndSectionFormElementSchema",
|
|
@@ -323,8 +344,8 @@ exports.nodeFieldAndSectionFormElementSchema = {
|
|
|
323
344
|
required: ["key", "type"],
|
|
324
345
|
properties: {
|
|
325
346
|
key: { type: "string", minLength: 1, maxLength: 200 },
|
|
326
|
-
type: { type: "string", enum: ["field", "section"] }
|
|
327
|
-
}
|
|
347
|
+
type: { type: "string", enum: ["field", "section"] },
|
|
348
|
+
},
|
|
328
349
|
};
|
|
329
350
|
exports.nodeDescriptorSchema = {
|
|
330
351
|
title: "nodeDescriptorSchema",
|
|
@@ -346,10 +367,10 @@ exports.nodeDescriptorSchema = {
|
|
|
346
367
|
deDE: { type: "string", maxLength: 200 },
|
|
347
368
|
jaJP: { type: "string", maxLength: 200 },
|
|
348
369
|
esES: { type: "string", maxLength: 200 },
|
|
349
|
-
koKR: { type: "string", maxLength: 200 }
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
]
|
|
370
|
+
koKR: { type: "string", maxLength: 200 },
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
],
|
|
353
374
|
},
|
|
354
375
|
summary: {
|
|
355
376
|
oneOf: [
|
|
@@ -363,10 +384,10 @@ exports.nodeDescriptorSchema = {
|
|
|
363
384
|
deDE: { type: "string", maxLength: 200 },
|
|
364
385
|
jaJP: { type: "string", maxLength: 200 },
|
|
365
386
|
esES: { type: "string", maxLength: 200 },
|
|
366
|
-
koKR: { type: "string", maxLength: 200 }
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
]
|
|
387
|
+
koKR: { type: "string", maxLength: 200 },
|
|
388
|
+
},
|
|
389
|
+
},
|
|
390
|
+
],
|
|
370
391
|
},
|
|
371
392
|
appearance: nodeAppearanceSchema,
|
|
372
393
|
behavior: nodeBehaviorSchema,
|
|
@@ -379,25 +400,25 @@ exports.nodeDescriptorSchema = {
|
|
|
379
400
|
type: "array",
|
|
380
401
|
items: { type: "string" },
|
|
381
402
|
uniqueItems: true,
|
|
382
|
-
minItems: 0
|
|
403
|
+
minItems: 0,
|
|
383
404
|
},
|
|
384
405
|
tokens: {
|
|
385
406
|
type: "array",
|
|
386
407
|
items: ISnippet_1.snippetDataSchema,
|
|
387
|
-
uniqueItems: true
|
|
408
|
+
uniqueItems: true,
|
|
388
409
|
},
|
|
389
410
|
sections: {
|
|
390
411
|
type: "array",
|
|
391
412
|
additionalItems: false,
|
|
392
|
-
items: exports.nodeSectionSchema
|
|
413
|
+
items: exports.nodeSectionSchema,
|
|
393
414
|
},
|
|
394
415
|
form: {
|
|
395
416
|
type: "array",
|
|
396
417
|
additionalItems: false,
|
|
397
418
|
maxLength: 25,
|
|
398
|
-
items: exports.nodeFieldAndSectionFormElementSchema
|
|
399
|
-
}
|
|
400
|
-
}
|
|
419
|
+
items: exports.nodeFieldAndSectionFormElementSchema,
|
|
420
|
+
},
|
|
421
|
+
},
|
|
401
422
|
};
|
|
402
423
|
exports.nodeDescriptorSetSchema = {
|
|
403
424
|
title: "nodeDescriptorSetSchema",
|
|
@@ -413,10 +434,10 @@ exports.nodeDescriptorSetSchema = {
|
|
|
413
434
|
descriptors: {
|
|
414
435
|
type: "array",
|
|
415
436
|
additionalItems: false,
|
|
416
|
-
items: exports.nodeDescriptorSchema
|
|
437
|
+
items: exports.nodeDescriptorSchema,
|
|
417
438
|
},
|
|
418
439
|
resourceType: { type: "string", enum: TResourceType_1.chartableResourceTypes },
|
|
419
|
-
trustedCode: { type: "boolean" }
|
|
420
|
-
}
|
|
440
|
+
trustedCode: { type: "boolean" },
|
|
441
|
+
},
|
|
421
442
|
};
|
|
422
443
|
//# sourceMappingURL=INodeDescriptorSet.js.map
|