New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@5minds/processcube_engine_sdk

Package Overview
Dependencies
Maintainers
4
Versions
979
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@5minds/processcube_engine_sdk - npm Package Compare versions

Comparing version 4.0.0-renovate-e50f95-ll23hp0l to 4.1.0-develop-8cdff4-lmzzqmoz

2

dist/amd/DataModels/Correlation.js

@@ -9,4 +9,4 @@ define(["require", "exports"], function (require, exports) {

CorrelationSortableColumns["createdAt"] = "createdAt";
})(CorrelationSortableColumns = exports.CorrelationSortableColumns || (exports.CorrelationSortableColumns = {}));
})(CorrelationSortableColumns || (exports.CorrelationSortableColumns = CorrelationSortableColumns = {}));
});
//# sourceMappingURL=Correlation.js.map

@@ -14,4 +14,4 @@ define(["require", "exports"], function (require, exports) {

CronjobSortableColumns["nextTriggerDate"] = "nextTriggerDate";
})(CronjobSortableColumns = exports.CronjobSortableColumns || (exports.CronjobSortableColumns = {}));
})(CronjobSortableColumns || (exports.CronjobSortableColumns = CronjobSortableColumns = {}));
});
//# sourceMappingURL=Cronjob.js.map

@@ -15,8 +15,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

};
define(["require", "exports", "./CronjobHistory", "./Cronjob"], function (require, exports, CronjobHistory_1, Cronjob_1) {
define(["require", "exports", "./Cronjob"], function (require, exports, Cronjob_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(CronjobHistory_1, exports);
__exportStar(Cronjob_1, exports);
});
//# sourceMappingURL=index.js.map

@@ -14,4 +14,4 @@ define(["require", "exports"], function (require, exports) {

DataObjectSortableColumns["createdAt"] = "createdAt";
})(DataObjectSortableColumns = exports.DataObjectSortableColumns || (exports.DataObjectSortableColumns = {}));
})(DataObjectSortableColumns || (exports.DataObjectSortableColumns = DataObjectSortableColumns = {}));
});
//# sourceMappingURL=DataObjectInstance.js.map

@@ -22,4 +22,4 @@ define(["require", "exports"], function (require, exports) {

ExternalTaskState["expired"] = "expired";
})(ExternalTaskState = exports.ExternalTaskState || (exports.ExternalTaskState = {}));
})(ExternalTaskState || (exports.ExternalTaskState = ExternalTaskState = {}));
});
//# sourceMappingURL=ExternalTask.js.map

@@ -28,3 +28,3 @@ define(["require", "exports"], function (require, exports) {

FlowNodeInstanceState["canceled"] = "canceled";
})(FlowNodeInstanceState = exports.FlowNodeInstanceState || (exports.FlowNodeInstanceState = {}));
})(FlowNodeInstanceState || (exports.FlowNodeInstanceState = FlowNodeInstanceState = {}));
var FlowNodeInstanceSortableColumns;

@@ -49,4 +49,4 @@ (function (FlowNodeInstanceSortableColumns) {

FlowNodeInstanceSortableColumns["triggeredByFlowNodeInstance"] = "triggeredByFlowNodeInstance";
})(FlowNodeInstanceSortableColumns = exports.FlowNodeInstanceSortableColumns || (exports.FlowNodeInstanceSortableColumns = {}));
})(FlowNodeInstanceSortableColumns || (exports.FlowNodeInstanceSortableColumns = FlowNodeInstanceSortableColumns = {}));
});
//# sourceMappingURL=FlowNodeInstance.js.map

@@ -32,4 +32,4 @@ define(["require", "exports"], function (require, exports) {

ProcessTokenType["onExit"] = "onExit";
})(ProcessTokenType = exports.ProcessTokenType || (exports.ProcessTokenType = {}));
})(ProcessTokenType || (exports.ProcessTokenType = ProcessTokenType = {}));
});
//# sourceMappingURL=ProcessToken.js.map

@@ -16,4 +16,4 @@ define(["require", "exports"], function (require, exports) {

UserTaskFormFieldType["string"] = "string";
})(UserTaskFormFieldType = exports.UserTaskFormFieldType || (exports.UserTaskFormFieldType = {}));
})(UserTaskFormFieldType || (exports.UserTaskFormFieldType = UserTaskFormFieldType = {}));
});
//# sourceMappingURL=UserTaskInstance.js.map

@@ -42,4 +42,4 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

DataModels.UserMetadata = userMetadata;
})(DataModels = exports.DataModels || (exports.DataModels = {}));
})(DataModels || (exports.DataModels = DataModels = {}));
});
//# sourceMappingURL=index.js.map

@@ -27,4 +27,4 @@ define(["require", "exports"], function (require, exports) {

ProcessInstanceState["terminated"] = "terminated";
})(ProcessInstanceState = exports.ProcessInstanceState || (exports.ProcessInstanceState = {}));
})(ProcessInstanceState || (exports.ProcessInstanceState = ProcessInstanceState = {}));
});
//# sourceMappingURL=ProcessInstance.js.map

@@ -32,4 +32,4 @@ define(["require", "exports"], function (require, exports) {

ProcessInstanceSortableColumns["triggeredByFlowNodeInstance"] = "triggeredByFlowNodeInstance";
})(ProcessInstanceSortableColumns = exports.ProcessInstanceSortableColumns || (exports.ProcessInstanceSortableColumns = {}));
})(ProcessInstanceSortableColumns || (exports.ProcessInstanceSortableColumns = ProcessInstanceSortableColumns = {}));
});
//# sourceMappingURL=ProcessInstanceQuery.js.map

@@ -40,4 +40,4 @@ define(["require", "exports"], function (require, exports) {

StartCallbackType[StartCallbackType["CallbackOnEndEventReached"] = 3] = "CallbackOnEndEventReached";
})(StartCallbackType = exports.StartCallbackType || (exports.StartCallbackType = {}));
})(StartCallbackType || (exports.StartCallbackType = StartCallbackType = {}));
});
//# sourceMappingURL=ProcessStartOptions.js.map

@@ -15,4 +15,4 @@ define(["require", "exports"], function (require, exports) {

HttpResponseActionType["Redirect"] = "redirect";
})(HttpResponseActionType = exports.HttpResponseActionType || (exports.HttpResponseActionType = {}));
})(HttpResponseActionType || (exports.HttpResponseActionType = HttpResponseActionType = {}));
});
//# sourceMappingURL=Engine.js.map

@@ -12,3 +12,3 @@ define(["require", "exports"], function (require, exports) {

LogLevel["error"] = "error";
})(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
})(LogLevel || (exports.LogLevel = LogLevel = {}));
/**

@@ -19,3 +19,3 @@ * Contains definitions for all supported event types

(function (EngineEventType) {
EngineEventType["onActivityError"] = "OnActivityError";
EngineEventType["OnActivityError"] = "OnActivityError";
EngineEventType["OnEventProcessed"] = "OnEventProcessed";

@@ -43,4 +43,4 @@ EngineEventType["OnProcessDeployed"] = "OnProcessDeployed";

EngineEventType["OnFlowNodeTimerRemoved"] = "OnFlowNodeTimerRemoved";
})(EngineEventType = exports.EngineEventType || (exports.EngineEventType = {}));
})(EngineEventType || (exports.EngineEventType = EngineEventType = {}));
});
//# sourceMappingURL=EngineEvent.js.map

@@ -30,4 +30,4 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

Messages.CallbackTypes = callbackTypes;
})(Messages = exports.Messages || (exports.Messages = {}));
})(Messages || (exports.Messages = Messages = {}));
});
//# sourceMappingURL=index.js.map

@@ -40,3 +40,4 @@ define(["require", "exports", "./index"], function (require, exports, errorClasses) {

const callStackUndefined = errorInfo.callStack === undefined;
const structureIsIncorrect = errorClassUndefined || codeUndefined || callStackUndefined;
const errorTypeUndefined = errorInfo.errorType === undefined;
const structureIsIncorrect = errorClassUndefined || codeUndefined || callStackUndefined || errorTypeUndefined;
if (structureIsIncorrect) {

@@ -61,2 +62,4 @@ throw new Error('Error while deserializing error: Serialized object has an incompatible structure.');

additionalInformation: this.additionalInformation,
errorType: 'Error',
...this,
});

@@ -63,0 +66,0 @@ }

@@ -61,4 +61,4 @@ define(["require", "exports"], function (require, exports) {

ErrorCodes[ErrorCodes["NetworkAuthenticationRequiredError"] = 511] = "NetworkAuthenticationRequiredError";
})(ErrorCodes = exports.ErrorCodes || (exports.ErrorCodes = {}));
})(ErrorCodes || (exports.ErrorCodes = ErrorCodes = {}));
});
//# sourceMappingURL=ErrorCodes.js.map

@@ -35,3 +35,3 @@ define(["require", "exports", "../Constants", "./ActivityBase"], function (require, exports, Constants_1, ActivityBase_1) {

// CMMN = 2, - Not supported yet
})(CallActivityType = exports.CallActivityType || (exports.CallActivityType = {}));
})(CallActivityType || (exports.CallActivityType = CallActivityType = {}));
/**

@@ -45,3 +45,3 @@ * Contains all possible types of binding that can be used with a CallActivity.

CallActivityBindingType[CallActivityBindingType["version"] = 2] = "version";
})(CallActivityBindingType = exports.CallActivityBindingType || (exports.CallActivityBindingType = {}));
})(CallActivityBindingType || (exports.CallActivityBindingType = CallActivityBindingType = {}));
/**

@@ -56,4 +56,4 @@ * Determines the type of mapping used by the CallActivity, when passing on its

CallActivityDelegateVariableMapping[CallActivityDelegateVariableMapping["variableMappingDelegateExpression"] = 2] = "variableMappingDelegateExpression";
})(CallActivityDelegateVariableMapping = exports.CallActivityDelegateVariableMapping || (exports.CallActivityDelegateVariableMapping = {}));
})(CallActivityDelegateVariableMapping || (exports.CallActivityDelegateVariableMapping = CallActivityDelegateVariableMapping = {}));
});
//# sourceMappingURL=CallActivity.js.map

@@ -35,3 +35,3 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

Invocations.MethodInvocation = serviceTaskInvocations.MethodInvocation;
})(Invocations = exports.Invocations || (exports.Invocations = {}));
})(Invocations || (exports.Invocations = Invocations = {}));
var Types;

@@ -41,4 +41,4 @@ (function (Types) {

Types.UserTaskFormField = userTaskTypes.UserTaskFormField;
})(Types = exports.Types || (exports.Types = {}));
})(Types || (exports.Types = Types = {}));
});
//# sourceMappingURL=index.js.map

@@ -23,3 +23,3 @@ define(["require", "exports", "../Constants", "./ActivityBase"], function (require, exports, Constants_1, ActivityBase_1) {

ServiceTaskType["internal"] = "internal";
})(ServiceTaskType = exports.ServiceTaskType || (exports.ServiceTaskType = {}));
})(ServiceTaskType || (exports.ServiceTaskType = ServiceTaskType = {}));
/**

@@ -26,0 +26,0 @@ * The base class for all invocation types.

@@ -32,4 +32,4 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

Types.ExtensionElements = ee.ExtensionElements;
})(Types = exports.Types || (exports.Types = {}));
})(Types || (exports.Types = Types = {}));
});
//# sourceMappingURL=index.js.map

@@ -31,3 +31,3 @@ define(["require", "exports"], function (require, exports) {

CommonElement["BpmnTargetRef"] = "bpmn:targetRef";
})(CommonElement = exports.CommonElement || (exports.CommonElement = {}));
})(CommonElement || (exports.CommonElement = CommonElement = {}));
/**

@@ -44,3 +44,3 @@ * Contains all XML tags contained within the "xmlns" header tag.

XmlnsProperty["xsi"] = "xmlns:xsi";
})(XmlnsProperty = exports.XmlnsProperty || (exports.XmlnsProperty = {}));
})(XmlnsProperty || (exports.XmlnsProperty = XmlnsProperty = {}));
/**

@@ -53,3 +53,3 @@ * Contains all tags associated with lanes and lane sets.

Lane["LaneSet"] = "bpmn:laneSet";
})(Lane = exports.Lane || (exports.Lane = {}));
})(Lane || (exports.Lane = Lane = {}));
/**

@@ -62,3 +62,3 @@ * Contains all tags that a lane can have.

LaneProperty["FlowNodeRef"] = "bpmn:flowNodeRef";
})(LaneProperty = exports.LaneProperty || (exports.LaneProperty = {}));
})(LaneProperty || (exports.LaneProperty = LaneProperty = {}));
/**

@@ -74,3 +74,3 @@ * Contains the tags for all known gateway types.

GatewayElement["ParallelGateway"] = "bpmn:parallelGateway";
})(GatewayElement = exports.GatewayElement || (exports.GatewayElement = {}));
})(GatewayElement || (exports.GatewayElement = GatewayElement = {}));
/**

@@ -86,3 +86,3 @@ * Contains the tags for all known event types.

EventElement["IntermediateThrowEvent"] = "bpmn:intermediateThrowEvent";
})(EventElement = exports.EventElement || (exports.EventElement = {}));
})(EventElement || (exports.EventElement = EventElement = {}));
/**

@@ -105,3 +105,3 @@ * Contains the tags for all known task types.

TaskElement["WebServiceInvocation"] = "bpmn:webServiceInvocation";
})(TaskElement = exports.TaskElement || (exports.TaskElement = {}));
})(TaskElement || (exports.TaskElement = TaskElement = {}));
/**

@@ -127,3 +127,3 @@ * Contains all BPMN tags that a BPMN element can have.

FlowElementProperty["XsiType"] = "xsi:type";
})(FlowElementProperty = exports.FlowElementProperty || (exports.FlowElementProperty = {}));
})(FlowElementProperty || (exports.FlowElementProperty = FlowElementProperty = {}));
/**

@@ -155,4 +155,4 @@ * Contains all Camunda tags that a BPMN element can have.

CamundaProperty["ErrorMessageVariable"] = "camunda:errorMessageVariable";
})(CamundaProperty = exports.CamundaProperty || (exports.CamundaProperty = {}));
})(CamundaProperty || (exports.CamundaProperty = CamundaProperty = {}));
});
//# sourceMappingURL=BpmnComponentTags.js.map

@@ -59,3 +59,3 @@ define(["require", "exports"], function (require, exports) {

BpmnType["receiveTask"] = "bpmn:ReceiveTask";
})(BpmnType = exports.BpmnType || (exports.BpmnType = {}));
})(BpmnType || (exports.BpmnType = BpmnType = {}));
/**

@@ -87,4 +87,4 @@ * @swagger

EventType["errorEvent"] = "errorEvent";
})(EventType = exports.EventType || (exports.EventType = {}));
})(EventType || (exports.EventType = EventType = {}));
});
//# sourceMappingURL=Constants.js.map

@@ -83,4 +83,4 @@ define(["require", "exports", "../Constants", "../Base/index"], function (require, exports, Constants_1, index_1) {

TimerType[TimerType["timeDuration"] = 2] = "timeDuration";
})(TimerType = exports.TimerType || (exports.TimerType = {}));
})(TimerType || (exports.TimerType = TimerType = {}));
});
//# sourceMappingURL=EventBase.js.map

@@ -36,4 +36,4 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

Definitions.TimerType = definitions.TimerType;
})(Definitions = exports.Definitions || (exports.Definitions = {}));
})(Definitions || (exports.Definitions = Definitions = {}));
});
//# sourceMappingURL=index.js.map

@@ -50,4 +50,4 @@ define(["require", "exports", "../Base/index"], function (require, exports, index_1) {

GatewayDirection["Mixed"] = "mixed";
})(GatewayDirection = exports.GatewayDirection || (exports.GatewayDirection = {}));
})(GatewayDirection || (exports.GatewayDirection = GatewayDirection = {}));
});
//# sourceMappingURL=Gateway.js.map

@@ -32,3 +32,3 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

Model.Xmlns = xmlns.Xmlns;
})(Model = exports.Model || (exports.Model = {}));
})(Model || (exports.Model = Model = {}));
var BpmnTags;

@@ -45,3 +45,3 @@ (function (BpmnTags) {

BpmnTags.XmlnsProperty = bpmnTags.XmlnsProperty;
})(BpmnTags = exports.BpmnTags || (exports.BpmnTags = {}));
})(BpmnTags || (exports.BpmnTags = BpmnTags = {}));
__exportStar(Constants_1, exports);

@@ -48,0 +48,0 @@ __exportStar(ProcessList_1, exports);

@@ -17,4 +17,4 @@ define(["require", "exports", "./BusinessRuleTaskParser", "./CallActivityParser", "./EmptyActivityParser", "./ManualTaskParser", "./ReceiveTaskParser", "./ScriptTaskParser", "./SendTaskParser", "./ServiceTaskParser", "./SubprocessParser", "./UserTaskParser"], function (require, exports, businessRuleTaskParser, callActivityParser, emptyActivityParser, manualTaskParser, receiveTaskParser, scriptTaskParser, sendTaskParser, serviceTaskParser, subProcessParser, userTaskParser) {

ActivityParsers.UserTaskParser = userTaskParser;
})(ActivityParsers = exports.ActivityParsers || (exports.ActivityParsers = {}));
})(ActivityParsers || (exports.ActivityParsers = ActivityParsers = {}));
});
//# sourceMappingURL=index.js.map

@@ -10,4 +10,4 @@ define(["require", "exports", "./ActivityParser", "./EventParser", "./GatewayParser"], function (require, exports, activityParser, eventParser, gatewayParser) {

FlowNodeParsers.GatewayParser = gatewayParser;
})(FlowNodeParsers = exports.FlowNodeParsers || (exports.FlowNodeParsers = {}));
})(FlowNodeParsers || (exports.FlowNodeParsers = FlowNodeParsers = {}));
});
//# sourceMappingURL=index.js.map

@@ -29,2 +29,3 @@ define(["require", "exports", "./DataModels/ProcessInstance/BpmnError", "./Errors/BaseError"], function (require, exports, BpmnError_1, BaseError_1) {

const errorJson = {
...objectToSerialize,
message: objectToSerialize.message || '',

@@ -71,3 +72,7 @@ code: objectToSerialize.code,

const deserializedValue = tryParse(stringifiedError, reviverFunction);
const notAnErrorOrEmpty = deserializedValue == undefined || deserializedValue.name == undefined || deserializedValue.message == undefined || deserializedValue.stack == undefined;
const notAnErrorOrEmpty = deserializedValue == undefined ||
deserializedValue.name == undefined ||
deserializedValue.message == undefined ||
deserializedValue.stack == undefined ||
deserializedValue.errorType == undefined;
if (notAnErrorOrEmpty) {

@@ -81,2 +86,7 @@ return deserializedValue;

}
Object.keys(deserializedValue).forEach((key) => {
if (!error[key]) {
error[key] = deserializedValue[key];
}
});
return error;

@@ -88,2 +98,7 @@ }

error.name = deserializedValue.name;
Object.keys(deserializedValue).forEach((key) => {
if (!error[key]) {
error[key] = deserializedValue[key];
}
});
return error;

@@ -90,0 +105,0 @@ }

@@ -8,3 +8,3 @@ "use strict";

CorrelationSortableColumns["createdAt"] = "createdAt";
})(CorrelationSortableColumns = exports.CorrelationSortableColumns || (exports.CorrelationSortableColumns = {}));
})(CorrelationSortableColumns || (exports.CorrelationSortableColumns = CorrelationSortableColumns = {}));
//# sourceMappingURL=Correlation.js.map

@@ -13,3 +13,3 @@ "use strict";

CronjobSortableColumns["nextTriggerDate"] = "nextTriggerDate";
})(CronjobSortableColumns = exports.CronjobSortableColumns || (exports.CronjobSortableColumns = {}));
})(CronjobSortableColumns || (exports.CronjobSortableColumns = CronjobSortableColumns = {}));
//# sourceMappingURL=Cronjob.js.map

@@ -17,4 +17,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./CronjobHistory"), exports);
__exportStar(require("./Cronjob"), exports);
//# sourceMappingURL=index.js.map

@@ -13,3 +13,3 @@ "use strict";

DataObjectSortableColumns["createdAt"] = "createdAt";
})(DataObjectSortableColumns = exports.DataObjectSortableColumns || (exports.DataObjectSortableColumns = {}));
})(DataObjectSortableColumns || (exports.DataObjectSortableColumns = DataObjectSortableColumns = {}));
//# sourceMappingURL=DataObjectInstance.js.map

@@ -21,3 +21,3 @@ "use strict";

ExternalTaskState["expired"] = "expired";
})(ExternalTaskState = exports.ExternalTaskState || (exports.ExternalTaskState = {}));
})(ExternalTaskState || (exports.ExternalTaskState = ExternalTaskState = {}));
//# sourceMappingURL=ExternalTask.js.map

@@ -27,3 +27,3 @@ "use strict";

FlowNodeInstanceState["canceled"] = "canceled";
})(FlowNodeInstanceState = exports.FlowNodeInstanceState || (exports.FlowNodeInstanceState = {}));
})(FlowNodeInstanceState || (exports.FlowNodeInstanceState = FlowNodeInstanceState = {}));
var FlowNodeInstanceSortableColumns;

@@ -48,3 +48,3 @@ (function (FlowNodeInstanceSortableColumns) {

FlowNodeInstanceSortableColumns["triggeredByFlowNodeInstance"] = "triggeredByFlowNodeInstance";
})(FlowNodeInstanceSortableColumns = exports.FlowNodeInstanceSortableColumns || (exports.FlowNodeInstanceSortableColumns = {}));
})(FlowNodeInstanceSortableColumns || (exports.FlowNodeInstanceSortableColumns = FlowNodeInstanceSortableColumns = {}));
//# sourceMappingURL=FlowNodeInstance.js.map

@@ -31,3 +31,3 @@ "use strict";

ProcessTokenType["onExit"] = "onExit";
})(ProcessTokenType = exports.ProcessTokenType || (exports.ProcessTokenType = {}));
})(ProcessTokenType || (exports.ProcessTokenType = ProcessTokenType = {}));
//# sourceMappingURL=ProcessToken.js.map

@@ -15,3 +15,3 @@ "use strict";

UserTaskFormFieldType["string"] = "string";
})(UserTaskFormFieldType = exports.UserTaskFormFieldType || (exports.UserTaskFormFieldType = {}));
})(UserTaskFormFieldType || (exports.UserTaskFormFieldType = UserTaskFormFieldType = {}));
//# sourceMappingURL=UserTaskInstance.js.map

@@ -50,3 +50,3 @@ "use strict";

DataModels.UserMetadata = userMetadata;
})(DataModels = exports.DataModels || (exports.DataModels = {}));
})(DataModels || (exports.DataModels = DataModels = {}));
//# sourceMappingURL=index.js.map

@@ -26,3 +26,3 @@ "use strict";

ProcessInstanceState["terminated"] = "terminated";
})(ProcessInstanceState = exports.ProcessInstanceState || (exports.ProcessInstanceState = {}));
})(ProcessInstanceState || (exports.ProcessInstanceState = ProcessInstanceState = {}));
//# sourceMappingURL=ProcessInstance.js.map

@@ -31,3 +31,3 @@ "use strict";

ProcessInstanceSortableColumns["triggeredByFlowNodeInstance"] = "triggeredByFlowNodeInstance";
})(ProcessInstanceSortableColumns = exports.ProcessInstanceSortableColumns || (exports.ProcessInstanceSortableColumns = {}));
})(ProcessInstanceSortableColumns || (exports.ProcessInstanceSortableColumns = ProcessInstanceSortableColumns = {}));
//# sourceMappingURL=ProcessInstanceQuery.js.map

@@ -39,3 +39,3 @@ "use strict";

StartCallbackType[StartCallbackType["CallbackOnEndEventReached"] = 3] = "CallbackOnEndEventReached";
})(StartCallbackType = exports.StartCallbackType || (exports.StartCallbackType = {}));
})(StartCallbackType || (exports.StartCallbackType = StartCallbackType = {}));
//# sourceMappingURL=ProcessStartOptions.js.map

@@ -14,3 +14,3 @@ "use strict";

HttpResponseActionType["Redirect"] = "redirect";
})(HttpResponseActionType = exports.HttpResponseActionType || (exports.HttpResponseActionType = {}));
})(HttpResponseActionType || (exports.HttpResponseActionType = HttpResponseActionType = {}));
//# sourceMappingURL=Engine.js.map

@@ -11,3 +11,3 @@ "use strict";

LogLevel["error"] = "error";
})(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
})(LogLevel || (exports.LogLevel = LogLevel = {}));
/**

@@ -18,3 +18,3 @@ * Contains definitions for all supported event types

(function (EngineEventType) {
EngineEventType["onActivityError"] = "OnActivityError";
EngineEventType["OnActivityError"] = "OnActivityError";
EngineEventType["OnEventProcessed"] = "OnEventProcessed";

@@ -42,3 +42,3 @@ EngineEventType["OnProcessDeployed"] = "OnProcessDeployed";

EngineEventType["OnFlowNodeTimerRemoved"] = "OnFlowNodeTimerRemoved";
})(EngineEventType = exports.EngineEventType || (exports.EngineEventType = {}));
})(EngineEventType || (exports.EngineEventType = EngineEventType = {}));
//# sourceMappingURL=EngineEvent.js.map

@@ -36,3 +36,3 @@ "use strict";

Messages.CallbackTypes = callbackTypes;
})(Messages = exports.Messages || (exports.Messages = {}));
})(Messages || (exports.Messages = Messages = {}));
//# sourceMappingURL=index.js.map

@@ -40,3 +40,4 @@ "use strict";

const callStackUndefined = errorInfo.callStack === undefined;
const structureIsIncorrect = errorClassUndefined || codeUndefined || callStackUndefined;
const errorTypeUndefined = errorInfo.errorType === undefined;
const structureIsIncorrect = errorClassUndefined || codeUndefined || callStackUndefined || errorTypeUndefined;
if (structureIsIncorrect) {

@@ -61,2 +62,4 @@ throw new Error('Error while deserializing error: Serialized object has an incompatible structure.');

additionalInformation: this.additionalInformation,
errorType: 'Error',
...this,
});

@@ -63,0 +66,0 @@ }

@@ -60,3 +60,3 @@ "use strict";

ErrorCodes[ErrorCodes["NetworkAuthenticationRequiredError"] = 511] = "NetworkAuthenticationRequiredError";
})(ErrorCodes = exports.ErrorCodes || (exports.ErrorCodes = {}));
})(ErrorCodes || (exports.ErrorCodes = ErrorCodes = {}));
//# sourceMappingURL=ErrorCodes.js.map

@@ -36,3 +36,3 @@ "use strict";

// CMMN = 2, - Not supported yet
})(CallActivityType = exports.CallActivityType || (exports.CallActivityType = {}));
})(CallActivityType || (exports.CallActivityType = CallActivityType = {}));
/**

@@ -46,3 +46,3 @@ * Contains all possible types of binding that can be used with a CallActivity.

CallActivityBindingType[CallActivityBindingType["version"] = 2] = "version";
})(CallActivityBindingType = exports.CallActivityBindingType || (exports.CallActivityBindingType = {}));
})(CallActivityBindingType || (exports.CallActivityBindingType = CallActivityBindingType = {}));
/**

@@ -57,3 +57,3 @@ * Determines the type of mapping used by the CallActivity, when passing on its

CallActivityDelegateVariableMapping[CallActivityDelegateVariableMapping["variableMappingDelegateExpression"] = 2] = "variableMappingDelegateExpression";
})(CallActivityDelegateVariableMapping = exports.CallActivityDelegateVariableMapping || (exports.CallActivityDelegateVariableMapping = {}));
})(CallActivityDelegateVariableMapping || (exports.CallActivityDelegateVariableMapping = CallActivityDelegateVariableMapping = {}));
//# sourceMappingURL=CallActivity.js.map

@@ -37,3 +37,3 @@ "use strict";

Invocations.MethodInvocation = serviceTaskInvocations.MethodInvocation;
})(Invocations = exports.Invocations || (exports.Invocations = {}));
})(Invocations || (exports.Invocations = Invocations = {}));
var Types;

@@ -43,3 +43,3 @@ (function (Types) {

Types.UserTaskFormField = userTaskTypes.UserTaskFormField;
})(Types = exports.Types || (exports.Types = {}));
})(Types || (exports.Types = Types = {}));
//# sourceMappingURL=index.js.map

@@ -24,3 +24,3 @@ "use strict";

ServiceTaskType["internal"] = "internal";
})(ServiceTaskType = exports.ServiceTaskType || (exports.ServiceTaskType = {}));
})(ServiceTaskType || (exports.ServiceTaskType = ServiceTaskType = {}));
/**

@@ -27,0 +27,0 @@ * The base class for all invocation types.

@@ -35,3 +35,3 @@ "use strict";

Types.ExtensionElements = ee.ExtensionElements;
})(Types = exports.Types || (exports.Types = {}));
})(Types || (exports.Types = Types = {}));
//# sourceMappingURL=index.js.map

@@ -30,3 +30,3 @@ "use strict";

CommonElement["BpmnTargetRef"] = "bpmn:targetRef";
})(CommonElement = exports.CommonElement || (exports.CommonElement = {}));
})(CommonElement || (exports.CommonElement = CommonElement = {}));
/**

@@ -43,3 +43,3 @@ * Contains all XML tags contained within the "xmlns" header tag.

XmlnsProperty["xsi"] = "xmlns:xsi";
})(XmlnsProperty = exports.XmlnsProperty || (exports.XmlnsProperty = {}));
})(XmlnsProperty || (exports.XmlnsProperty = XmlnsProperty = {}));
/**

@@ -52,3 +52,3 @@ * Contains all tags associated with lanes and lane sets.

Lane["LaneSet"] = "bpmn:laneSet";
})(Lane = exports.Lane || (exports.Lane = {}));
})(Lane || (exports.Lane = Lane = {}));
/**

@@ -61,3 +61,3 @@ * Contains all tags that a lane can have.

LaneProperty["FlowNodeRef"] = "bpmn:flowNodeRef";
})(LaneProperty = exports.LaneProperty || (exports.LaneProperty = {}));
})(LaneProperty || (exports.LaneProperty = LaneProperty = {}));
/**

@@ -73,3 +73,3 @@ * Contains the tags for all known gateway types.

GatewayElement["ParallelGateway"] = "bpmn:parallelGateway";
})(GatewayElement = exports.GatewayElement || (exports.GatewayElement = {}));
})(GatewayElement || (exports.GatewayElement = GatewayElement = {}));
/**

@@ -85,3 +85,3 @@ * Contains the tags for all known event types.

EventElement["IntermediateThrowEvent"] = "bpmn:intermediateThrowEvent";
})(EventElement = exports.EventElement || (exports.EventElement = {}));
})(EventElement || (exports.EventElement = EventElement = {}));
/**

@@ -104,3 +104,3 @@ * Contains the tags for all known task types.

TaskElement["WebServiceInvocation"] = "bpmn:webServiceInvocation";
})(TaskElement = exports.TaskElement || (exports.TaskElement = {}));
})(TaskElement || (exports.TaskElement = TaskElement = {}));
/**

@@ -126,3 +126,3 @@ * Contains all BPMN tags that a BPMN element can have.

FlowElementProperty["XsiType"] = "xsi:type";
})(FlowElementProperty = exports.FlowElementProperty || (exports.FlowElementProperty = {}));
})(FlowElementProperty || (exports.FlowElementProperty = FlowElementProperty = {}));
/**

@@ -154,3 +154,3 @@ * Contains all Camunda tags that a BPMN element can have.

CamundaProperty["ErrorMessageVariable"] = "camunda:errorMessageVariable";
})(CamundaProperty = exports.CamundaProperty || (exports.CamundaProperty = {}));
})(CamundaProperty || (exports.CamundaProperty = CamundaProperty = {}));
//# sourceMappingURL=BpmnComponentTags.js.map

@@ -58,3 +58,3 @@ "use strict";

BpmnType["receiveTask"] = "bpmn:ReceiveTask";
})(BpmnType = exports.BpmnType || (exports.BpmnType = {}));
})(BpmnType || (exports.BpmnType = BpmnType = {}));
/**

@@ -86,3 +86,3 @@ * @swagger

EventType["errorEvent"] = "errorEvent";
})(EventType = exports.EventType || (exports.EventType = {}));
})(EventType || (exports.EventType = EventType = {}));
//# sourceMappingURL=Constants.js.map

@@ -84,3 +84,3 @@ "use strict";

TimerType[TimerType["timeDuration"] = 2] = "timeDuration";
})(TimerType = exports.TimerType || (exports.TimerType = {}));
})(TimerType || (exports.TimerType = TimerType = {}));
//# sourceMappingURL=EventBase.js.map

@@ -37,3 +37,3 @@ "use strict";

Definitions.TimerType = definitions.TimerType;
})(Definitions = exports.Definitions || (exports.Definitions = {}));
})(Definitions || (exports.Definitions = Definitions = {}));
//# sourceMappingURL=index.js.map

@@ -50,3 +50,3 @@ "use strict";

GatewayDirection["Mixed"] = "mixed";
})(GatewayDirection = exports.GatewayDirection || (exports.GatewayDirection = {}));
})(GatewayDirection || (exports.GatewayDirection = GatewayDirection = {}));
//# sourceMappingURL=Gateway.js.map

@@ -44,3 +44,3 @@ "use strict";

Model.Xmlns = xmlns.Xmlns;
})(Model = exports.Model || (exports.Model = {}));
})(Model || (exports.Model = Model = {}));
var BpmnTags;

@@ -57,5 +57,5 @@ (function (BpmnTags) {

BpmnTags.XmlnsProperty = bpmnTags.XmlnsProperty;
})(BpmnTags = exports.BpmnTags || (exports.BpmnTags = {}));
})(BpmnTags || (exports.BpmnTags = BpmnTags = {}));
__exportStar(require("./Constants"), exports);
__exportStar(require("./ProcessList"), exports);
//# sourceMappingURL=index.js.map

@@ -27,3 +27,3 @@ "use strict";

ActivityParsers.UserTaskParser = userTaskParser;
})(ActivityParsers = exports.ActivityParsers || (exports.ActivityParsers = {}));
})(ActivityParsers || (exports.ActivityParsers = ActivityParsers = {}));
//# sourceMappingURL=index.js.map

@@ -13,3 +13,3 @@ "use strict";

FlowNodeParsers.GatewayParser = gatewayParser;
})(FlowNodeParsers = exports.FlowNodeParsers || (exports.FlowNodeParsers = {}));
})(FlowNodeParsers || (exports.FlowNodeParsers = FlowNodeParsers = {}));
//# sourceMappingURL=index.js.map

@@ -30,2 +30,3 @@ "use strict";

const errorJson = {
...objectToSerialize,
message: objectToSerialize.message || '',

@@ -72,3 +73,7 @@ code: objectToSerialize.code,

const deserializedValue = tryParse(stringifiedError, reviverFunction);
const notAnErrorOrEmpty = deserializedValue == undefined || deserializedValue.name == undefined || deserializedValue.message == undefined || deserializedValue.stack == undefined;
const notAnErrorOrEmpty = deserializedValue == undefined ||
deserializedValue.name == undefined ||
deserializedValue.message == undefined ||
deserializedValue.stack == undefined ||
deserializedValue.errorType == undefined;
if (notAnErrorOrEmpty) {

@@ -82,2 +87,7 @@ return deserializedValue;

}
Object.keys(deserializedValue).forEach((key) => {
if (!error[key]) {
error[key] = deserializedValue[key];
}
});
return error;

@@ -89,2 +99,7 @@ }

error.name = deserializedValue.name;
Object.keys(deserializedValue).forEach((key) => {
if (!error[key]) {
error[key] = deserializedValue[key];
}
});
return error;

@@ -91,0 +106,0 @@ }

@@ -6,78 +6,2 @@ import { SearchQuery } from '../ProcessInstance/ProcessInstanceQuery';

* schemas:
* ActiveCronjob:
* description: Describes an active cronjob.
* type: object
* required:
* - processDefinitionId
* - processModelId
* - startEventId
* - crontab
* - nextExecution
* properties:
* processDefinitionId:
* type: string
* description: The processDefinitionId that contains the ProcessModel with the cronjob.
* processModelId:
* type: string
* description: The ID of the ProcessModel that contains the cronjob.
* startEventId:
* type: string
* description: The ID of the StartEvent that contains the cronjob.
* crontab:
* type: string
* description: The crontab that describs the cronjob.
* nextExecution:
* type: string
* description: The next time the cronjob will be triggered.
*/
export declare type ActiveCronjob = {
/**
* The processDefinitionId that contains the ProcessModel with the cronjob.
*/
processDefinitionId: string;
/**
* The ID of the ProcessModel that contains the cronjob.
*/
processModelId: string;
/**
* The ID of the StartEvent that contains the cronjob.
*/
startEventId: string;
/**
* The crontab that describs the cronjob.
*/
crontab: string;
/**
* The next time the cronjob will be triggered.
*/
nextExecution: Date;
};
/**
* @swagger
* components:
* schemas:
* CronjobList:
* description: A list of active cronjobs.
* type: object
* required:
* - cronjobs
* - totalCount
* properties:
* cronjobs:
* type: array
* items:
* $ref: '#/components/schemas/ActiveCronjob'
* description: The active cronjobs
* totalCount:
* type: number
* description: The total number of active cronjobs
*/
export declare type CronjobList = {
cronjobs: Array<ActiveCronjob>;
totalCount: number;
};
/**
* @swagger
* components:
* schemas:
* Cronjob:

@@ -84,0 +8,0 @@ * description: Describes a cronjob.

@@ -1,2 +0,1 @@

export * from './CronjobHistory';
export * from './Cronjob';
/**
* @deprecated This feature is no longer officially supported, since this is more of an App SDK Feature.
* Therefore, this functionality will soon be moved to the App SDK entirely.
* @swagger

@@ -6,2 +8,3 @@ * components:

* UserMetadata:
* deprecated: true
* description: The user metadata

@@ -38,2 +41,4 @@ * type: object

/**
* @deprecated This feature is no longer officially supported, since this is more of an App SDK Feature.
* Therefore, this functionality will soon be moved to the App SDK entirely.
* @swagger

@@ -43,2 +48,3 @@ * components:

* UserMetadataObject:
* deprecated: true
* description: A list of user metadata

@@ -45,0 +51,0 @@ * type: object

@@ -33,2 +33,3 @@ /// <reference types="node" />

* @async
* @deprecated This feature is now provided by the Authority and will be removed with v17 altogether.
* @param originalClaims The claims associated with the identity.

@@ -171,2 +172,12 @@ * @param authToken Optional: The original auth token. Can be omitted, if you're only interested in the claim list.

export type CustomHttpRouteHandler = (request: CustomHttpRouteRequest) => Promise<CustomHttpRouteResult> | CustomHttpRouteResult;
/**
* Additional Settings for a Custom HTTP Route.
*/
export type CustomHttpRouteOptions = {
/**
* If set, accessing the HTTP route will require a valid Auth Token.
* Defaults to 'true'.
*/
protected?: boolean;
};
export type RuntimeExpressionParameters = {

@@ -243,2 +254,3 @@ token?: {

* @param identityClaimResolver The function to use for mapping the identity claims.
* @deprecated This feature is now provided by the Authority and will be removed with v17 altogether.
*/

@@ -249,2 +261,3 @@ registerIdentityClaimResolver(identityClaimResolver: IdentityClaimResolver): void;

* Doesn't do anything, if no resolver has been set.
* @deprecated This feature is now provided by the Authority and will be removed with v17 altogether.
*

@@ -370,3 +383,11 @@ */

removeCustomServiceTask(serviceTaskType: string): void;
registerHttpRoute(httpRoute: string, method: 'get' | 'post' | 'put' | 'delete', routeHandler: CustomHttpRouteHandler): void;
/**
* Registers a HTTP Route at the Engine Server. These routes will be hosted by the engine itself and can be used to extend the Engine's native API.
*
* @param path The HTTP path to use
* @param method The HTTP Method for the route. Currently supports GET, POST, PUT and DELETE
* @param routeHandler A callback for handling requests against the route
* @param options Additional settings for the HTTP route.
*/
registerHttpRoute(path: string, method: 'get' | 'post' | 'put' | 'delete', routeHandler: CustomHttpRouteHandler, options?: CustomHttpRouteOptions): void;
executeRuntimeExpression<TExpectedResult>(expression: string, params: RuntimeExpressionParameters): Promise<TExpectedResult>;

@@ -373,0 +394,0 @@ applicationInfo: IApplicationInfoExtensionAdapter;

@@ -48,3 +48,3 @@ import { RuntimeExpressionParameters } from '..';

export declare enum EngineEventType {
onActivityError = "OnActivityError",
OnActivityError = "OnActivityError",
OnEventProcessed = "OnEventProcessed",

@@ -51,0 +51,0 @@ OnProcessDeployed = "OnProcessDeployed",

@@ -44,1 +44,2 @@ import { CronjobEventMessage, CronjobEnabledChangedMessage, EventMessage, ExternalTaskCreatedMessage, ExternalTaskExpiredMessage, ExternalTaskLockedMessage, ExternalTaskUnlockedMessage, MetadataChangedMessage, ProcessDeploymentMessage, ProcessInstancesDeletedMessage, ProcessIsExecutableChangedMessage, UserTaskFinishedMessage } from './EventPayloads/index';

export type OnCorrelationMetadataChangedCallback = (metadataChanged: MetadataChangedMessage) => void | Promise<void>;
export type OnGatewayFinishedCallback = (gatewayFinished: EventMessage) => void | Promise<void>;

@@ -1,2 +0,2 @@

import { CronjobQuery, CronjobSortSettings, DataModels, DeployedCronjobList, Identity } from '../index';
import { CronjobQuery, CronjobSortSettings, DeployedCronjobList, Identity } from '../index';
export interface ICronjobExtensionAdapter {

@@ -11,19 +11,2 @@ query(query: CronjobQuery, options?: {

disableCronjob(processModelId: string, flowNodeId: string, identity?: Identity): Promise<void>;
/**
* @deprecated Use "query" instead.
*/
getActive(options?: {
identity?: Identity;
offset?: number;
limit?: number;
}): Promise<DataModels.Cronjob.CronjobList>;
/**
* @deprecated Use "query" instead.
*/
queryHistory(query: DataModels.Cronjob.CronjobHistoryQuery, options?: {
identity?: Identity;
offset?: number;
limit?: number;
sortSettings?: DataModels.Cronjob.CronjobHistorySortSettings;
}): Promise<DataModels.Cronjob.CronjobHistoryList>;
}

@@ -168,2 +168,6 @@ import { Identity, Messages, Subscription } from '../index';

}): Promise<Subscription>;
onGatewayFinished(callback: Messages.CallbackTypes.OnGatewayFinishedCallback, options?: {
subscribeOnce?: boolean;
identity?: Identity;
}): Promise<Subscription>;
}

@@ -15,3 +15,3 @@ import { EngineEventType } from './EngineEvents/index';

export declare const LogEventType: {
onActivityError: EngineEventType.onActivityError;
OnActivityError: EngineEventType.OnActivityError;
OnEventProcessed: EngineEventType.OnEventProcessed;

@@ -18,0 +18,0 @@ OnProcessDeployed: EngineEventType.OnProcessDeployed;

{
"name": "@5minds/processcube_engine_sdk",
"version": "4.0.0-renovate-e50f95-ll23hp0l",
"version": "4.1.0-develop-8cdff4-lmzzqmoz",
"description": "Software development kit for the Engine.",

@@ -33,21 +33,20 @@ "main": "dist/commonjs/index.js",

"prepare": "npm run clean-build",
"test:smoke": "ts-mocha -t 120000 -p ./tsconfig.json ./test/smoke-test-sample.spec.ts",
"test:unit": "ts-mocha -p ./tsconfig.json \"./src/**/*.spec.ts\" ./test/**/*.spec.ts --exit"
},
"dependencies": {
"dayjs": "^1.11.7",
"dayjs": "^1.11.9",
"lodash.clonedeep": "^4.5.0",
"pino": "^6.12.0",
"xml2js": "^0.5.0"
"xml2js": "^0.6.2"
},
"devDependencies": {
"@atlas-engine/fullstack_server": "15.0.0",
"@types/express": "^4.17.17",
"@types/mocha": "^10.0.1",
"@types/node": "^18.16.0",
"inversify": "6.0.1",
"@types/node": "^20.6.0",
"mocha": "^10.2.0",
"reflect-metadata": "^0.1.13",
"should": "^13.2.3",
"ts-mocha": "^10.0.0",
"typescript": "^5.0.4"
"typescript": "~5.2.0"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc