@cognigy/rest-api-client
Version:
Cognigy REST-Client
93 lines • 2.29 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.executeRpcInternalParamsSchema = exports.referenceKeys = void 0;
exports.referenceKeys = [
"analyticsStepReference",
"chartReference",
"dataReference",
"extensionReference",
"fallbackLocaleReference",
"flowReference",
"functionReference",
"handoverRequestReference",
"intentReference",
"intentTrainGroupReference",
"lexiconEntryReference",
"lexiconReference",
"localeReference",
"nodeDescriptorReference",
"nodeDescriptorSetReference",
"nodeReference",
"organisationReference",
"primaryLocaleReference",
"projectReference",
"resourceReference",
"snapshotReference",
"subResourceReference",
"storeReference",
"sourceReference",
];
exports.executeRpcInternalParamsSchema = {
title: "executeRpcInternalParamsSchema",
type: "object",
required: ["serviceQueue", "payload"],
additionalProperties: false,
properties: {
serviceQueue: {
type: "string",
minLength: 1,
},
payload: {
type: "object",
required: ["type", "data"],
properties: {
type: {
type: "string",
minLength: 1,
},
data: {
type: "object",
},
},
},
timeout: {
anyOf: [
{
type: ["integer", "null"],
minimum: -1,
},
],
},
consumerTag: {
type: "string",
},
delay: {
type: "number",
minimum: 1,
},
session: {},
bulk: {
type: "boolean",
},
reThrow: {
type: "boolean",
},
exchange: {
type: "string",
},
expiration: {
type: "string",
},
errorLogLevel: {
type: "string",
enum: ["error", "warn"],
},
priority: {
type: "number",
},
withMessageSize: {
type: "boolean",
},
},
};
//# sourceMappingURL=amqpInterface.js.map