@cognigy/rest-api-client
Version:
Cognigy REST-Client
39 lines • 2.66 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.localeSchema = exports.localeDataSchema = exports.localeInDBSchema = exports.localeInDBDataSchema = void 0;
const ITrainGroupFeedbackReport_1 = require("./intent/ITrainGroupFeedbackReport");
exports.localeInDBDataSchema = {
title: "localeDataSchema",
additionalProperties: false,
properties: {
name: { type: "string", format: "resource-name" },
nluLanguage: { type: "string", format: "nlu-language" }
}
};
exports.localeInDBSchema = {
title: "localeSchema",
additionalProperties: false,
properties: Object.assign(Object.assign({}, exports.localeInDBDataSchema.properties), { _id: { type: "string", format: "mongo-id" }, referenceId: { type: "string", format: "uuid" }, primary: { type: "boolean" }, createdAt: { type: "number" }, createdBy: { type: "string", format: "mongo-id" }, lastChanged: { type: "number" }, lastChangedBy: { type: "string", format: "mongo-id" }, projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" }, fallbackLocaleReference: { type: ["string", "null"], format: "mongo-id" } })
};
exports.localeDataSchema = {
title: "localeDataSchema",
additionalProperties: false,
properties: {
name: { type: "string", format: "resource-name" },
nluLanguage: { type: "string", format: "nlu-language" }
}
};
exports.localeSchema = {
title: "localeSchema",
additionalProperties: false,
properties: Object.assign(Object.assign({}, exports.localeDataSchema.properties), { _id: { type: "string", format: "mongo-id" }, referenceId: { type: "string", format: "uuid" }, primary: { type: "boolean" }, createdAt: { type: "number" }, createdBy: { type: "string", format: "mongo-id" }, lastChanged: { type: "number" }, lastChangedBy: { type: "string", format: "mongo-id" }, projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" }, fallbackLocaleReference: { type: ["string", "null"], format: "mongo-id" }, intentTrainGroupReference: { type: "string", format: "mongo-id" }, intentTrainGroupReferenceId: { type: "string", format: "uuid" }, feedbackReport: ITrainGroupFeedbackReport_1.trainGroupFeedbackReportDataSchema, isTrainingOutOfDate: { type: "boolean" }, lastTrainedAt: { type: "number" }, nluOptions: {
type: "object",
additionalProperties: false,
properties: {
intentModelVersion: {
type: "string"
}
}
} })
};
//# sourceMappingURL=ILocale.js.map