@cognigy/rest-api-client
Version:
Cognigy REST-Client
30 lines • 1.44 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.intentRelationSchema = exports.biasTowardsParentOrChildIntentsTypes = void 0;
exports.biasTowardsParentOrChildIntentsTypes = ["parents", "children"];
exports.intentRelationSchema = {
title: "intentHierarchyRelationSchema",
type: "object",
additionalProperties: false,
properties: {
name: { type: "string", format: "resource-name" },
parentReference: { type: ["string", "null"], format: "mongo-id" },
childFeatures: {
oneOf: [
{ type: "boolean" },
{ type: "array", items: { type: "string", format: "mongo-id" } }
]
},
biasTowardsParentOrChildIntents: { type: "string", enum: [...exports.biasTowardsParentOrChildIntentsTypes] },
intentReference: { type: "string", format: "mongo-id" },
flowReference: { type: "string", format: "mongo-id" },
projectReference: { type: "string", format: "mongo-id" },
organisationReference: { type: "string", format: "mongo-id" },
_id: { type: "string", format: "mongo-id" },
createdAt: { type: "integer", format: "timestamp" },
createdBy: { type: "string", format: "mongo-id" },
lastChanged: { type: "integer", format: "timestamp" },
lastChangedBy: { type: "string", format: "mongo-id" },
}
};
//# sourceMappingURL=IIntentRelation.js.map