UNPKG

@cognigy/rest-api-client

Version:

Cognigy REST-Client

48 lines 1.87 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.stepEventSchema = void 0; const endpoints_1 = require("../messageAPI/endpoints"); exports.stepEventSchema = { title: "stepEventSchema", type: "object", required: [ "sessionId", "userId", "inputId", "stepLabel", "timestamp", "entityReferenceId", "type", "flowName", "flowReferenceId", "projectName", "projectId", "organisationId", ], additionalProperties: false, properties: { _id: { format: "mongo-id" }, sessionId: { type: "string", }, userId: { type: "string", }, inputId: { type: "string" }, parentStep: { type: ["string", "null"], format: "uuid" }, stepLabel: { type: "string", format: "analytics-label" }, timestamp: { type: "object" }, entityReferenceId: { type: "string", format: "uuid" }, type: { type: "string", enum: ["intent", "node"] }, flowName: { type: "string", format: "resource-name" }, flowReferenceId: { type: "string", format: "uuid" }, endpointUrlToken: { type: ["string", "null"] }, endpointName: { type: ["string", "null"], format: "resource-name" }, endpointType: { type: ["string", "null"], enum: [...endpoints_1.endpointTypes] }, channel: { type: "string" }, localeName: { type: ["string", "null"], format: "resource-name" }, localeReferenceId: { type: ["string", "null"], format: "uuid" }, projectName: { type: "string", format: "resource-name" }, projectId: { format: "mongo-id" }, snapshotName: { type: "string", format: "resource-name" }, snapshotId: { format: "mongo-id" }, organisationId: { format: "mongo-id" }, }, }; //# sourceMappingURL=IStepEvent.js.map