UNPKG

@cognigy/rest-api-client

Version:

Cognigy REST-Client

36 lines 2.45 kB
import { trainGroupFeedbackReportDataSchema } from "./intent/ITrainGroupFeedbackReport"; export const localeInDBDataSchema = { title: "localeDataSchema", additionalProperties: false, properties: { name: { type: "string", format: "resource-name" }, nluLanguage: { type: "string", format: "nlu-language" } } }; export const localeInDBSchema = { title: "localeSchema", additionalProperties: false, properties: Object.assign(Object.assign({}, 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" } }) }; export const localeDataSchema = { title: "localeDataSchema", additionalProperties: false, properties: { name: { type: "string", format: "resource-name" }, nluLanguage: { type: "string", format: "nlu-language" } } }; export const localeSchema = { title: "localeSchema", additionalProperties: false, properties: Object.assign(Object.assign({}, 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: trainGroupFeedbackReportDataSchema, isTrainingOutOfDate: { type: "boolean" }, lastTrainedAt: { type: "number" }, nluOptions: { type: "object", additionalProperties: false, properties: { intentModelVersion: { type: "string" } } } }) }; //# sourceMappingURL=ILocale.js.map