@5minds/processcube_engine_sdk 4.0.0-develop-6d59bd-ll286hiy → 4.0.0-develop-48de56-llc80ce4

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.
@@ -45,7 +45,7 @@ export declare type FlowNodeExpressionEngineEventContext = {
45
45
  * Contains definitions for all supported event types
46
46
  */
47
47
  export declare enum EngineEventType {
48
- onActivityError = "OnActivityError",
48
+ OnActivityError = "OnActivityError",
49
49
  OnEventProcessed = "OnEventProcessed",
50
50
  OnProcessDeployed = "OnProcessDeployed",
51
51
  OnProcessUndeployed = "OnProcessUndeployed",
@@ -41,3 +41,4 @@ export type OnExternalTaskUnlockedCallback = (externaTask: ExternalTaskUnlockedM
41
41
  export type OnExternalTaskExpiredCallback = (externaTask: ExternalTaskExpiredMessage) => void | Promise<void>;
42
42
  export type OnProcessInstanceMetadataChangedCallback = (metadataChanged: MetadataChangedMessage) => void | Promise<void>;
43
43
  export type OnCorrelationMetadataChangedCallback = (metadataChanged: MetadataChangedMessage) => void | Promise<void>;
44
+ export type OnGatewayFinishedCallback = (gatewayFinished: EventMessage) => void | Promise<void>;
@@ -165,4 +165,8 @@ export interface INotificationExtensionAdapter {
165
165
  subscribeOnce?: boolean;
166
166
  identity?: Identity;
167
167
  }): Promise<Subscription>;
168
+ onGatewayFinished(callback: Messages.CallbackTypes.OnGatewayFinishedCallback, options?: {
169
+ subscribeOnce?: boolean;
170
+ identity?: Identity;
171
+ }): Promise<Subscription>;
168
172
  }
@@ -15,7 +15,7 @@ define(["require", "exports"], function (require, exports) {
15
15
  */
16
16
  var EngineEventType;
17
17
  (function (EngineEventType) {
18
- EngineEventType["onActivityError"] = "OnActivityError";
18
+ EngineEventType["OnActivityError"] = "OnActivityError";
19
19
  EngineEventType["OnEventProcessed"] = "OnEventProcessed";
20
20
  EngineEventType["OnProcessDeployed"] = "OnProcessDeployed";
21
21
  EngineEventType["OnProcessUndeployed"] = "OnProcessUndeployed";
@@ -14,7 +14,7 @@ var LogLevel;
14
14
  */
15
15
  var EngineEventType;
16
16
  (function (EngineEventType) {
17
- EngineEventType["onActivityError"] = "OnActivityError";
17
+ EngineEventType["OnActivityError"] = "OnActivityError";
18
18
  EngineEventType["OnEventProcessed"] = "OnEventProcessed";
19
19
  EngineEventType["OnProcessDeployed"] = "OnProcessDeployed";
20
20
  EngineEventType["OnProcessUndeployed"] = "OnProcessUndeployed";
package/dist/index.d.ts CHANGED
@@ -12,7 +12,7 @@ export * from './Serializer';
12
12
  * Contains definitions for all supported event types
13
13
  */
14
14
  export declare const LogEventType: {
15
- onActivityError: EngineEventType.onActivityError;
15
+ OnActivityError: EngineEventType.OnActivityError;
16
16
  OnEventProcessed: EngineEventType.OnEventProcessed;
17
17
  OnProcessDeployed: EngineEventType.OnProcessDeployed;
18
18
  OnProcessUndeployed: EngineEventType.OnProcessUndeployed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/processcube_engine_sdk",
3
- "version": "4.0.0-develop-6d59bd-ll286hiy",
3
+ "version": "4.0.0-develop-48de56-llc80ce4",
4
4
  "description": "Software development kit for the Engine.",
5
5
  "main": "dist/commonjs/index.js",
6
6
  "types": "dist/index.d.ts",