@5minds/processcube_engine_sdk 5.0.0-feature-d617c1-lsafr7e9 → 5.0.0-feature-5d29bc-lsbmelbb

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.
@@ -22,7 +22,7 @@ export type UserTaskInstance = FlowNodeInstance & {
22
22
  */
23
23
  userTaskConfigModel: UserTaskConfigModel;
24
24
  /**
25
- * Optional: The IDs of the Users that are assigned to the UserTask.
25
+ * Optional: The identifiers (either ID, name or email) of the Users that are assigned to the UserTask.
26
26
  */
27
27
  assignedUserIds?: Array<string>;
28
28
  };
@@ -15,6 +15,12 @@
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
18
24
  * anonymousSessionId:
19
25
  * description: The ID of an anonymous session.
20
26
  * type: string
@@ -30,7 +36,15 @@ export type Identity = {
30
36
  /**
31
37
  * The ID of the auth token's owner.
32
38
  */
33
- userId: string;
39
+ userId?: string;
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;
34
48
  /**
35
49
  * Optional: The ID of an anonymous session.
36
50
  * Should be set, when the auth token belongs to an anonymous user.
@@ -6,4 +6,3 @@ export * from './MessageEvents';
6
6
  export * from './SignalEvents';
7
7
  export * from './TerminateEvents';
8
8
  export * from './TimerEvents';
9
- export * from './EscalationEvents';
@@ -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", "./EscalationEvents"], function (require, exports, ConditionalEvents_1, ErrorEvents_1, EventBase_1, LinkEvents_1, MessageEvents_1, SignalEvents_1, TerminateEvents_1, TimerEvents_1, EscalationEvents_1) {
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) {
16
16
  "use strict";
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  __exportStar(ConditionalEvents_1, exports);
@@ -23,6 +23,5 @@ 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);
27
26
  });
28
27
  //# 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;IAC9B,0CAAmC"}
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"}
@@ -22,5 +22,4 @@ __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);
26
25
  //# 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;AAC9B,qDAAmC"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/processcube_engine_sdk",
3
- "version": "5.0.0-feature-d617c1-lsafr7e9",
3
+ "version": "5.0.0-feature-5d29bc-lsbmelbb",
4
4
  "description": "Software development kit for the Engine.",
5
5
  "main": "dist/commonjs/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,28 +0,0 @@
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;
@@ -1,5 +0,0 @@
1
- define(["require", "exports"], function (require, exports) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- });
5
- //# sourceMappingURL=EscalationEvents.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EscalationEvents.js","sourceRoot":"","sources":["../../../../../src/ProcessModel/Model/Events/EscalationEvents.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=EscalationEvents.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EscalationEvents.js","sourceRoot":"","sources":["../../../../../src/ProcessModel/Model/Events/EscalationEvents.ts"],"names":[],"mappings":""}