@5minds/processcube_engine_sdk 5.0.0-feature-5d29bc-lsbmelbb → 5.0.0-feature-c05bcb-lsj0yuxe
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DataModels/FlowNodeInstance/UserTaskInstance.d.ts +1 -1
- package/dist/DataModels/Iam/Identity.d.ts +1 -15
- package/dist/EngineEvents/EventCallbackTypes.d.ts +1 -0
- package/dist/ExtensionAdapter/EventExtensionAdapter.d.ts +4 -0
- package/dist/ExtensionAdapter/NotificationExtensionAdapter.d.ts +4 -0
- package/dist/ProcessModel/Model/Events/EscalationEvents.d.ts +28 -0
- package/dist/ProcessModel/Model/Events/index.d.ts +1 -0
- package/dist/amd/ProcessModel/Model/Events/EscalationEvents.js +5 -0
- package/dist/amd/ProcessModel/Model/Events/EscalationEvents.js.map +1 -0
- package/dist/amd/ProcessModel/Model/Events/index.js +2 -1
- package/dist/amd/ProcessModel/Model/Events/index.js.map +1 -1
- package/dist/commonjs/ProcessModel/Model/Events/EscalationEvents.js +3 -0
- package/dist/commonjs/ProcessModel/Model/Events/EscalationEvents.js.map +1 -0
- package/dist/commonjs/ProcessModel/Model/Events/index.js +1 -0
- package/dist/commonjs/ProcessModel/Model/Events/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ export type UserTaskInstance = FlowNodeInstance & {
|
|
|
22
22
|
*/
|
|
23
23
|
userTaskConfigModel: UserTaskConfigModel;
|
|
24
24
|
/**
|
|
25
|
-
* Optional: The
|
|
25
|
+
* Optional: The IDs of the Users that are assigned to the UserTask.
|
|
26
26
|
*/
|
|
27
27
|
assignedUserIds?: Array<string>;
|
|
28
28
|
};
|
|
@@ -15,12 +15,6 @@
|
|
|
15
15
|
* userId:
|
|
16
16
|
* description: The ID of the auth token's owner.
|
|
17
17
|
* type: string
|
|
18
|
-
* userName:
|
|
19
|
-
* description: The username of the auth token's owner.
|
|
20
|
-
* type: string
|
|
21
|
-
* userEmail:
|
|
22
|
-
* description: The email address of the auth token's owner.
|
|
23
|
-
* type: string
|
|
24
18
|
* anonymousSessionId:
|
|
25
19
|
* description: The ID of an anonymous session.
|
|
26
20
|
* type: string
|
|
@@ -36,15 +30,7 @@ export type Identity = {
|
|
|
36
30
|
/**
|
|
37
31
|
* The ID of the auth token's owner.
|
|
38
32
|
*/
|
|
39
|
-
userId
|
|
40
|
-
/**
|
|
41
|
-
* The userName of the auth token's owner.
|
|
42
|
-
*/
|
|
43
|
-
userName?: string;
|
|
44
|
-
/**
|
|
45
|
-
* The userEmail of the auth token's owner.
|
|
46
|
-
*/
|
|
47
|
-
userEmail?: string;
|
|
33
|
+
userId: string;
|
|
48
34
|
/**
|
|
49
35
|
* Optional: The ID of an anonymous session.
|
|
50
36
|
* Should be set, when the auth token belongs to an anonymous user.
|
|
@@ -14,6 +14,7 @@ export type OnIntermediateCatchEventFinishedCallback = (intermediateCatchEventFi
|
|
|
14
14
|
export type OnFlowNodeEventRetrySendingCallback = (flowNodeEventRetrySending: EventMessage) => void | Promise<void>;
|
|
15
15
|
export type OnMessageTriggeredCallback = (messageTriggered: EventMessage) => void | Promise<void>;
|
|
16
16
|
export type OnSignalTriggeredCallback = (signalTriggered: EventMessage) => void | Promise<void>;
|
|
17
|
+
export type OnEscalationTriggeredCallback = (escalationTriggered: EventMessage) => void | Promise<void>;
|
|
17
18
|
export type OnStartEventFinishedCallback = (startEventFinished: EventMessage) => void | Promise<void>;
|
|
18
19
|
export type OnEndEventFinishedCallback = (endEventFinished: EventMessage) => void | Promise<void>;
|
|
19
20
|
export type OnActivityReachedCallback = (activityReached: EventMessage) => void | Promise<void>;
|
|
@@ -45,6 +45,10 @@ export interface IEventExtensionAdapter {
|
|
|
45
45
|
subscribeOnce?: boolean;
|
|
46
46
|
identity?: Identity;
|
|
47
47
|
}): Promise<Subscription>;
|
|
48
|
+
onEscalationTriggered(callback: Messages.CallbackTypes.OnEscalationTriggeredCallback, options?: {
|
|
49
|
+
subscribeOnce?: boolean;
|
|
50
|
+
identity?: Identity;
|
|
51
|
+
}): Promise<Subscription>;
|
|
48
52
|
onStartEventFinished(callback: Messages.CallbackTypes.OnStartEventFinishedCallback, options?: {
|
|
49
53
|
subscribeOnce?: boolean;
|
|
50
54
|
identity?: Identity;
|
|
@@ -149,6 +149,10 @@ export interface INotificationExtensionAdapter {
|
|
|
149
149
|
subscribeOnce?: boolean;
|
|
150
150
|
identity?: Identity;
|
|
151
151
|
}): Promise<Subscription>;
|
|
152
|
+
onEscalationTriggered(callback: Messages.CallbackTypes.OnSignalTriggeredCallback, options?: {
|
|
153
|
+
subscribeOnce?: boolean;
|
|
154
|
+
identity?: Identity;
|
|
155
|
+
}): Promise<Subscription>;
|
|
152
156
|
onStartEventFinished(callback: Messages.CallbackTypes.OnStartEventFinishedCallback, options?: {
|
|
153
157
|
subscribeOnce?: boolean;
|
|
154
158
|
identity?: Identity;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { EventType } from '../Constants';
|
|
2
|
+
import { BoundaryEvent, Event, EndEvent, EventDefinition, IntermediateCatchEvent, IntermediateThrowEvent, StartEvent } from './EventBase';
|
|
3
|
+
/**
|
|
4
|
+
* Describes a global BPMN Escalation object.
|
|
5
|
+
*/
|
|
6
|
+
export type Escalation = {
|
|
7
|
+
id: string;
|
|
8
|
+
code: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Contains the definition for an EscalationEvent.
|
|
12
|
+
*/
|
|
13
|
+
export type EscalationEventDefinition = EventDefinition & {
|
|
14
|
+
id: string;
|
|
15
|
+
code: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Describes a Flow Node with a Escalation Event Definition.
|
|
19
|
+
*/
|
|
20
|
+
export type EscalationEvent = Event & {
|
|
21
|
+
readonly eventType: EventType.escalationEvent;
|
|
22
|
+
escalationEventDefinition: EscalationEventDefinition;
|
|
23
|
+
};
|
|
24
|
+
export type EscalationBoundaryEvent = BoundaryEvent & EscalationEvent;
|
|
25
|
+
export type EscalationStartEvent = StartEvent & EscalationEvent;
|
|
26
|
+
export type EscalationEndEvent = EndEvent & EscalationEvent;
|
|
27
|
+
export type EscalationIntermediateCatchEvent = IntermediateCatchEvent & EscalationEvent;
|
|
28
|
+
export type EscalationIntermediateThrowEvent = IntermediateThrowEvent & EscalationEvent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EscalationEvents.js","sourceRoot":"","sources":["../../../../../src/ProcessModel/Model/Events/EscalationEvents.ts"],"names":[],"mappings":""}
|
|
@@ -12,7 +12,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
12
12
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
13
13
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
14
14
|
};
|
|
15
|
-
define(["require", "exports", "./ConditionalEvents", "./ErrorEvents", "./EventBase", "./LinkEvents", "./MessageEvents", "./SignalEvents", "./TerminateEvents", "./TimerEvents"], function (require, exports, ConditionalEvents_1, ErrorEvents_1, EventBase_1, LinkEvents_1, MessageEvents_1, SignalEvents_1, TerminateEvents_1, TimerEvents_1) {
|
|
15
|
+
define(["require", "exports", "./ConditionalEvents", "./ErrorEvents", "./EventBase", "./LinkEvents", "./MessageEvents", "./SignalEvents", "./TerminateEvents", "./TimerEvents", "./EscalationEvents"], function (require, exports, ConditionalEvents_1, ErrorEvents_1, EventBase_1, LinkEvents_1, MessageEvents_1, SignalEvents_1, TerminateEvents_1, TimerEvents_1, EscalationEvents_1) {
|
|
16
16
|
"use strict";
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
__exportStar(ConditionalEvents_1, exports);
|
|
@@ -23,5 +23,6 @@ define(["require", "exports", "./ConditionalEvents", "./ErrorEvents", "./EventBa
|
|
|
23
23
|
__exportStar(SignalEvents_1, exports);
|
|
24
24
|
__exportStar(TerminateEvents_1, exports);
|
|
25
25
|
__exportStar(TimerEvents_1, exports);
|
|
26
|
+
__exportStar(EscalationEvents_1, exports);
|
|
26
27
|
});
|
|
27
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ProcessModel/Model/Events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;IAAA,2CAAoC;IACpC,qCAA8B;IAC9B,mCAA4B;IAC5B,oCAA6B;IAC7B,uCAAgC;IAChC,sCAA+B;IAC/B,yCAAkC;IAClC,qCAA8B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ProcessModel/Model/Events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;IAAA,2CAAoC;IACpC,qCAA8B;IAC9B,mCAA4B;IAC5B,oCAA6B;IAC7B,uCAAgC;IAChC,sCAA+B;IAC/B,yCAAkC;IAClC,qCAA8B;IAC9B,0CAAmC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EscalationEvents.js","sourceRoot":"","sources":["../../../../../src/ProcessModel/Model/Events/EscalationEvents.ts"],"names":[],"mappings":""}
|
|
@@ -22,4 +22,5 @@ __exportStar(require("./MessageEvents"), exports);
|
|
|
22
22
|
__exportStar(require("./SignalEvents"), exports);
|
|
23
23
|
__exportStar(require("./TerminateEvents"), exports);
|
|
24
24
|
__exportStar(require("./TimerEvents"), exports);
|
|
25
|
+
__exportStar(require("./EscalationEvents"), exports);
|
|
25
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ProcessModel/Model/Events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,gDAA8B;AAC9B,8CAA4B;AAC5B,+CAA6B;AAC7B,kDAAgC;AAChC,iDAA+B;AAC/B,oDAAkC;AAClC,gDAA8B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ProcessModel/Model/Events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,gDAA8B;AAC9B,8CAA4B;AAC5B,+CAA6B;AAC7B,kDAAgC;AAChC,iDAA+B;AAC/B,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC"}
|
package/package.json
CHANGED