@5minds/processcube_engine_sdk 5.0.0-develop-d3ab7b-ln07ql3e → 5.0.0-feature-cf5ca6-ln07zv3l
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/ExternalTask/ExternalTaskErrors.d.ts +0 -30
- package/dist/DataModels/ExternalTask/ExternalTaskRequestPayloads.d.ts +1 -51
- package/dist/DataModels/FlowNodeInstance/FlowNodeInstance.d.ts +0 -6
- package/dist/DataModels/FlowNodeInstance/index.d.ts +0 -1
- package/dist/DataModels/Iam/Claims.d.ts +0 -3
- package/dist/DataModels/index.d.ts +0 -4
- package/dist/Engine.d.ts +1 -58
- package/dist/ExtensionAdapter/ExternalTaskExtensionAdapter.d.ts +1 -9
- package/dist/ExtensionAdapter/index.d.ts +0 -1
- package/dist/amd/DataModels/ExternalTask/ExternalTaskErrors.js +1 -33
- package/dist/amd/DataModels/ExternalTask/ExternalTaskErrors.js.map +1 -1
- package/dist/amd/DataModels/FlowNodeInstance/FlowNodeInstance.js.map +1 -1
- package/dist/amd/DataModels/FlowNodeInstance/index.js +1 -2
- package/dist/amd/DataModels/FlowNodeInstance/index.js.map +1 -1
- package/dist/amd/DataModels/Iam/Claims.js +0 -3
- package/dist/amd/DataModels/Iam/Claims.js.map +1 -1
- package/dist/amd/DataModels/index.js +1 -4
- package/dist/amd/DataModels/index.js.map +1 -1
- package/dist/amd/Engine.js.map +1 -1
- package/dist/amd/ExtensionAdapter/index.js +1 -2
- package/dist/amd/ExtensionAdapter/index.js.map +1 -1
- package/dist/commonjs/DataModels/ExternalTask/ExternalTaskErrors.js +1 -33
- package/dist/commonjs/DataModels/ExternalTask/ExternalTaskErrors.js.map +1 -1
- package/dist/commonjs/DataModels/FlowNodeInstance/FlowNodeInstance.js.map +1 -1
- package/dist/commonjs/DataModels/FlowNodeInstance/index.js +0 -1
- package/dist/commonjs/DataModels/FlowNodeInstance/index.js.map +1 -1
- package/dist/commonjs/DataModels/Iam/Claims.js +0 -3
- package/dist/commonjs/DataModels/Iam/Claims.js.map +1 -1
- package/dist/commonjs/DataModels/index.js +0 -4
- package/dist/commonjs/DataModels/index.js.map +1 -1
- package/dist/commonjs/Engine.js.map +1 -1
- package/dist/commonjs/ExtensionAdapter/index.js +0 -1
- package/dist/commonjs/ExtensionAdapter/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/DataModels/AnonymousSession.d.ts +0 -27
- package/dist/DataModels/FlowNodeInstance/ProcessToken.d.ts +0 -65
- package/dist/DataModels/UserMetadata.d.ts +0 -65
- package/dist/ExtensionAdapter/AnonymousSessionExtensionAdapter.d.ts +0 -7
- package/dist/amd/DataModels/AnonymousSession.js +0 -5
- package/dist/amd/DataModels/AnonymousSession.js.map +0 -1
- package/dist/amd/DataModels/FlowNodeInstance/ProcessToken.js +0 -34
- package/dist/amd/DataModels/FlowNodeInstance/ProcessToken.js.map +0 -1
- package/dist/amd/DataModels/UserMetadata.js +0 -5
- package/dist/amd/DataModels/UserMetadata.js.map +0 -1
- package/dist/amd/ExtensionAdapter/AnonymousSessionExtensionAdapter.js +0 -5
- package/dist/amd/ExtensionAdapter/AnonymousSessionExtensionAdapter.js.map +0 -1
- package/dist/commonjs/DataModels/AnonymousSession.js +0 -3
- package/dist/commonjs/DataModels/AnonymousSession.js.map +0 -1
- package/dist/commonjs/DataModels/FlowNodeInstance/ProcessToken.js +0 -32
- package/dist/commonjs/DataModels/FlowNodeInstance/ProcessToken.js.map +0 -1
- package/dist/commonjs/DataModels/UserMetadata.js +0 -3
- package/dist/commonjs/DataModels/UserMetadata.js.map +0 -1
- package/dist/commonjs/ExtensionAdapter/AnonymousSessionExtensionAdapter.js +0 -3
- package/dist/commonjs/ExtensionAdapter/AnonymousSessionExtensionAdapter.js.map +0 -1
|
@@ -27,36 +27,6 @@ export declare class ExternalTaskError {
|
|
|
27
27
|
errorDetails: any;
|
|
28
28
|
constructor(errorCode: string, errorMessage?: string, errorDetails?: any);
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* @swagger
|
|
32
|
-
* components:
|
|
33
|
-
* schemas:
|
|
34
|
-
* ExternalTaskBpmnError:
|
|
35
|
-
* description: Describes an error that occured while processing an External Task.
|
|
36
|
-
* deprecated: true
|
|
37
|
-
* allOf:
|
|
38
|
-
* - $ref: '#/components/schemas/ExternalTaskError'
|
|
39
|
-
*/
|
|
40
|
-
/**
|
|
41
|
-
* @deprecated Use ExternalTaskError instead
|
|
42
|
-
*/
|
|
43
|
-
export declare class ExternalTaskBpmnError extends ExternalTaskError {
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @swagger
|
|
47
|
-
* components:
|
|
48
|
-
* schemas:
|
|
49
|
-
* ExternalTaskServiceError:
|
|
50
|
-
* description: Describes an error that occured while processing an External Task.
|
|
51
|
-
* deprecated: true
|
|
52
|
-
* allOf:
|
|
53
|
-
* - $ref: '#/components/schemas/ExternalTaskError'
|
|
54
|
-
*/
|
|
55
|
-
/**
|
|
56
|
-
* @deprecated Use ExternalTaskError instead
|
|
57
|
-
*/
|
|
58
|
-
export declare class ExternalTaskServiceError extends ExternalTaskError {
|
|
59
|
-
}
|
|
60
30
|
/**
|
|
61
31
|
* @swagger
|
|
62
32
|
* components:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExternalTaskError } from './ExternalTaskErrors';
|
|
2
2
|
/**
|
|
3
3
|
* @swagger
|
|
4
4
|
* components:
|
|
@@ -125,53 +125,3 @@ export declare type HandleExternalTaskErrorRequestPayload = {
|
|
|
125
125
|
workerId: string;
|
|
126
126
|
error: ExternalTaskError;
|
|
127
127
|
};
|
|
128
|
-
/**
|
|
129
|
-
* @swagger
|
|
130
|
-
* components:
|
|
131
|
-
* schemas:
|
|
132
|
-
* HandleBpmnErrorRequestPayload:
|
|
133
|
-
* description: Describes the payload that must be send with a handleBpmnError HTTP POST request.
|
|
134
|
-
* type: object
|
|
135
|
-
* required:
|
|
136
|
-
* - workerId
|
|
137
|
-
* - bpmnError
|
|
138
|
-
* properties:
|
|
139
|
-
* workerId:
|
|
140
|
-
* description: The ID of the worker that wants to handle the BPMN error.
|
|
141
|
-
* type: string
|
|
142
|
-
* bpmnError:
|
|
143
|
-
* description: The BPMN error to handle.
|
|
144
|
-
* $ref: '#/components/schemas/ExternalTaskBpmnError'
|
|
145
|
-
*/
|
|
146
|
-
/**
|
|
147
|
-
* Describes the payload that must be send with a handleBpmnError HTTP POST request.
|
|
148
|
-
*/
|
|
149
|
-
export declare type HandleBpmnErrorRequestPayload = {
|
|
150
|
-
workerId: string;
|
|
151
|
-
bpmnError: ExternalTaskBpmnError;
|
|
152
|
-
};
|
|
153
|
-
/**
|
|
154
|
-
* @swagger
|
|
155
|
-
* components:
|
|
156
|
-
* schemas:
|
|
157
|
-
* HandleServiceErrorRequestPayload:
|
|
158
|
-
* description: Describes the payload that must be send with a handleServiceError HTTP POST request.
|
|
159
|
-
* type: object
|
|
160
|
-
* required:
|
|
161
|
-
* - workerId
|
|
162
|
-
* - bpmnError
|
|
163
|
-
* properties:
|
|
164
|
-
* workerId:
|
|
165
|
-
* description: The ID of the worker that wants to handle the BPMN error.
|
|
166
|
-
* type: string
|
|
167
|
-
* bpmnError:
|
|
168
|
-
* description: The BPMN error to handle.
|
|
169
|
-
* $ref: '#/components/schemas/ExternalTaskServiceError'
|
|
170
|
-
*/
|
|
171
|
-
/**
|
|
172
|
-
* Describes the payload that must be send with a handleServiceError HTTP POST request.
|
|
173
|
-
*/
|
|
174
|
-
export declare type HandleServiceErrorRequestPayload = {
|
|
175
|
-
workerId: string;
|
|
176
|
-
error: ExternalTaskServiceError;
|
|
177
|
-
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { BpmnType, EventType } from '../../ProcessModel/index';
|
|
2
|
-
import { ProcessToken } from './ProcessToken';
|
|
3
2
|
/**
|
|
4
3
|
* @swagger
|
|
5
4
|
* components:
|
|
@@ -143,11 +142,6 @@ export type FlowNodeInstance = {
|
|
|
143
142
|
processModelId: string;
|
|
144
143
|
processInstanceId: string;
|
|
145
144
|
correlationId: string;
|
|
146
|
-
/**
|
|
147
|
-
* @deprecated Tokens can now be referenced directly, by use of "startToken" and "endToken".
|
|
148
|
-
* Use these properties instead.
|
|
149
|
-
*/
|
|
150
|
-
tokens: Array<ProcessToken>;
|
|
151
145
|
/**
|
|
152
146
|
* The token with which the Flow Node Instance was started.
|
|
153
147
|
*/
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
export declare const claims: {
|
|
2
|
-
canCreateAnonymousSession: string;
|
|
3
2
|
canAccessExternalTasks: string;
|
|
4
3
|
canDeleteProcessModel: string;
|
|
5
4
|
canManageProcessInstances: string;
|
|
6
|
-
canReadCronjobHistory: string;
|
|
7
|
-
canReadProcessModel: string;
|
|
8
5
|
canRetryProcessInstance: string;
|
|
9
6
|
canSubscribeToEvents: string;
|
|
10
7
|
canTerminateProcess: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './AnonymousSession';
|
|
2
1
|
export * from './ApplicationInfo';
|
|
3
2
|
export * from './Constants';
|
|
4
3
|
export * from './Correlation';
|
|
@@ -9,7 +8,6 @@ export * from './FlowNodeInstance/index';
|
|
|
9
8
|
export * from './Iam/index';
|
|
10
9
|
export * from './ProcessDefinition';
|
|
11
10
|
export * from './ProcessInstance/index';
|
|
12
|
-
export * from './UserMetadata';
|
|
13
11
|
/**
|
|
14
12
|
* Only for backwards compatibility.
|
|
15
13
|
* Removing this would cause a ton of breaking changes with the client, the proxy and probably every extension.
|
|
@@ -23,7 +21,6 @@ import * as flowNodeInstances from './FlowNodeInstance/index';
|
|
|
23
21
|
import * as iam from './Iam/index';
|
|
24
22
|
import * as processDefinitions from './ProcessDefinition';
|
|
25
23
|
import * as processInstances from './ProcessInstance/index';
|
|
26
|
-
import * as userMetadata from './UserMetadata';
|
|
27
24
|
export declare namespace DataModels {
|
|
28
25
|
export import ApplicationInfo = appInfo.ApplicationInfo;
|
|
29
26
|
export import Correlation = correlation;
|
|
@@ -34,5 +31,4 @@ export declare namespace DataModels {
|
|
|
34
31
|
export import Iam = iam;
|
|
35
32
|
export import ProcessDefinitions = processDefinitions;
|
|
36
33
|
export import ProcessInstances = processInstances;
|
|
37
|
-
export import UserMetadata = userMetadata;
|
|
38
34
|
}
|
package/dist/Engine.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { Identity } from './DataModels/Iam/index';
|
|
3
3
|
import { EngineEventType, MiddlewareCallback } from './EngineEvents/index';
|
|
4
|
-
import {
|
|
4
|
+
import { IApplicationInfoExtensionAdapter, ICorrelationExtensionAdapter, ICronjobExtensionAdapter, IDataObjectInstanceExtensionAdapter, IEmptyActivityExtensionAdapter, IEventExtensionAdapter, IExternalTaskExtensionAdapter, IFlowNodeInstanceExtensionAdapter, IIamExtensionAdapter, IManualTaskExtensionAdapter, INotificationExtensionAdapter, IProcessDefinitionExtensionAdapter, IProcessInstanceExtensionAdapter, IProcessModelExtensionAdapter } from './ExtensionAdapter';
|
|
5
5
|
import { EventViewModel, FlowNodeViewModel } from './ProcessModel/index';
|
|
6
6
|
import * as express from 'express';
|
|
7
7
|
/**
|
|
@@ -15,33 +15,6 @@ export type OnLoad = (engine: Engine) => void | Promise<void>;
|
|
|
15
15
|
export type EngineExtension = {
|
|
16
16
|
onLoad: OnLoad;
|
|
17
17
|
};
|
|
18
|
-
/**
|
|
19
|
-
* Takes a list of claims and returns a set of claims associated with this token.
|
|
20
|
-
* This is useful if you want to use your own set of claims with an identity, which do not match the engines default claims.
|
|
21
|
-
*
|
|
22
|
-
* The claims must be returned as JSON dictionary.
|
|
23
|
-
* For example:
|
|
24
|
-
*
|
|
25
|
-
* ```js
|
|
26
|
-
* {
|
|
27
|
-
* can_manage_process_instances: true,
|
|
28
|
-
* someLaneName: true,
|
|
29
|
-
* }
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @async
|
|
33
|
-
* @deprecated This feature is now provided by the Authority and will be removed with v17 altogether.
|
|
34
|
-
* @param originalClaims The claims associated with the identity.
|
|
35
|
-
* @param authToken Optional: The original auth token. Can be omitted, if you're only interested in the claim list.
|
|
36
|
-
* @returns The resolved claims.
|
|
37
|
-
*/
|
|
38
|
-
export type IdentityClaimResolver = (originalClaims: {
|
|
39
|
-
[claimName: string]: any;
|
|
40
|
-
}, authToken?: string) => {
|
|
41
|
-
[claimName: string]: any;
|
|
42
|
-
} | Promise<{
|
|
43
|
-
[claimName: string]: any;
|
|
44
|
-
}>;
|
|
45
18
|
export type CustomServiceTaskHandlerContext = {
|
|
46
19
|
token: {
|
|
47
20
|
current: object;
|
|
@@ -231,34 +204,6 @@ export type Engine = {
|
|
|
231
204
|
* @param callback The callback to call after the Engine has finished starting up.
|
|
232
205
|
*/
|
|
233
206
|
onReady(callback: () => void | Promise<void>): void;
|
|
234
|
-
/**
|
|
235
|
-
* Registers a resolver for mapping a list of identity claims to a new set of claims.
|
|
236
|
-
* The resolver takes a list of claims that an identity originally comes with and returns a new Set of claims that match the internal engine claims.
|
|
237
|
-
*
|
|
238
|
-
* Only one resolver can be active at any given time.
|
|
239
|
-
* Therefore, any existing resolvers will be overwritten.
|
|
240
|
-
*
|
|
241
|
-
* The claims must be returned as JSON dictionary.
|
|
242
|
-
* For example:
|
|
243
|
-
*
|
|
244
|
-
* ```js
|
|
245
|
-
* {
|
|
246
|
-
* can_manage_process_instances: true,
|
|
247
|
-
* someLaneName: true,
|
|
248
|
-
* }
|
|
249
|
-
* ```
|
|
250
|
-
*
|
|
251
|
-
* @param identityClaimResolver The function to use for mapping the identity claims.
|
|
252
|
-
* @deprecated This feature is now provided by the Authority and will be removed with v17 altogether.
|
|
253
|
-
*/
|
|
254
|
-
registerIdentityClaimResolver(identityClaimResolver: IdentityClaimResolver): void;
|
|
255
|
-
/**
|
|
256
|
-
* Removes the currently registered Identity Claim Resolver middleware.
|
|
257
|
-
* Doesn't do anything, if no resolver has been set.
|
|
258
|
-
* @deprecated This feature is now provided by the Authority and will be removed with v17 altogether.
|
|
259
|
-
*
|
|
260
|
-
*/
|
|
261
|
-
removeIdentityClaimResolver(): void;
|
|
262
207
|
/**
|
|
263
208
|
* Registers the given callback as an Event Middleware.
|
|
264
209
|
* This middleware gets called whenever a Log Event occurs at the Engine.
|
|
@@ -373,7 +318,6 @@ export type Engine = {
|
|
|
373
318
|
* @param processModelIds Optional: Only return signal events for the given processModelIds.
|
|
374
319
|
*/
|
|
375
320
|
getSignalEvents(processModelIds?: string | Array<string>): Promise<Array<EventViewModel>>;
|
|
376
|
-
anonymousSessions: IAnonymousSessionExtensionAdapter;
|
|
377
321
|
registerCustomServiceTask<TPayload extends object>(serviceTaskType: string, serviceTaskHandler: CustomServiceTaskHandler<TPayload>): void;
|
|
378
322
|
removeCustomServiceTask(serviceTaskType: string): void;
|
|
379
323
|
/**
|
|
@@ -400,5 +344,4 @@ export type Engine = {
|
|
|
400
344
|
processDefinitions: IProcessDefinitionExtensionAdapter;
|
|
401
345
|
processInstances: IProcessInstanceExtensionAdapter;
|
|
402
346
|
processModels: IProcessModelExtensionAdapter;
|
|
403
|
-
userTasks: IUserTaskExtensionAdapter;
|
|
404
347
|
};
|
|
@@ -4,15 +4,7 @@ export interface IExternalTaskExtensionAdapter {
|
|
|
4
4
|
getAllDeployedTopics(identity?: Identity): Promise<Array<string>>;
|
|
5
5
|
fetchAndLockExternalTasks<TPayload>(workerId: string, topicNames: string | Array<string>, maxTasks: number, longPollingTimeout: number, lockDuration: number, payloadFilter?: RegExp, identity?: Identity): Promise<Array<ExternalTask<TPayload>>>;
|
|
6
6
|
extendLock(workerId: string, externalTaskId: string, additionalDuration: number, identity?: Identity): Promise<void>;
|
|
7
|
-
|
|
8
|
-
* @deprecated Use handleError instead.
|
|
9
|
-
*/
|
|
10
|
-
handleBpmnError(workerId: string, externalTaskId: string, error: DataModels.ExternalTasks.ExternalTaskBpmnError, identity?: Identity): Promise<void>;
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated Use handleError instead.
|
|
13
|
-
*/
|
|
14
|
-
handleServiceError(workerId: string, externalTaskId: string, error: DataModels.ExternalTasks.ExternalTaskServiceError, identity?: Identity): Promise<void>;
|
|
15
|
-
handleError(workerId: string, externalTaskId: string, error: DataModels.ExternalTasks.ExternalTaskServiceError, identity?: Identity): Promise<void>;
|
|
7
|
+
handleError(workerId: string, externalTaskId: string, error: DataModels.ExternalTasks.ExternalTaskError, identity?: Identity): Promise<void>;
|
|
16
8
|
finishExternalTask<TResultType>(workerId: string, externalTaskId: string, result: TResultType, identity?: Identity): Promise<void>;
|
|
17
9
|
}
|
|
18
10
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
define(["require", "exports"], function (require, exports) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.ExternalTaskReusableError = exports.
|
|
4
|
+
exports.ExternalTaskReusableError = exports.ExternalTaskError = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* @swagger
|
|
7
7
|
* components:
|
|
@@ -33,38 +33,6 @@ define(["require", "exports"], function (require, exports) {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
exports.ExternalTaskError = ExternalTaskError;
|
|
36
|
-
/**
|
|
37
|
-
* @swagger
|
|
38
|
-
* components:
|
|
39
|
-
* schemas:
|
|
40
|
-
* ExternalTaskBpmnError:
|
|
41
|
-
* description: Describes an error that occured while processing an External Task.
|
|
42
|
-
* deprecated: true
|
|
43
|
-
* allOf:
|
|
44
|
-
* - $ref: '#/components/schemas/ExternalTaskError'
|
|
45
|
-
*/
|
|
46
|
-
/**
|
|
47
|
-
* @deprecated Use ExternalTaskError instead
|
|
48
|
-
*/
|
|
49
|
-
class ExternalTaskBpmnError extends ExternalTaskError {
|
|
50
|
-
}
|
|
51
|
-
exports.ExternalTaskBpmnError = ExternalTaskBpmnError;
|
|
52
|
-
/**
|
|
53
|
-
* @swagger
|
|
54
|
-
* components:
|
|
55
|
-
* schemas:
|
|
56
|
-
* ExternalTaskServiceError:
|
|
57
|
-
* description: Describes an error that occured while processing an External Task.
|
|
58
|
-
* deprecated: true
|
|
59
|
-
* allOf:
|
|
60
|
-
* - $ref: '#/components/schemas/ExternalTaskError'
|
|
61
|
-
*/
|
|
62
|
-
/**
|
|
63
|
-
* @deprecated Use ExternalTaskError instead
|
|
64
|
-
*/
|
|
65
|
-
class ExternalTaskServiceError extends ExternalTaskError {
|
|
66
|
-
}
|
|
67
|
-
exports.ExternalTaskServiceError = ExternalTaskServiceError;
|
|
68
36
|
/**
|
|
69
37
|
* @swagger
|
|
70
38
|
* components:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalTaskErrors.js","sourceRoot":"","sources":["../../../../src/DataModels/ExternalTask/ExternalTaskErrors.ts"],"names":[],"mappings":";;;;IAAA;;;;;;;;;;;;;;;;;;;OAmBG;IACH;;OAEG;IACH,MAAa,iBAAiB;QAK5B,YAAY,SAAiB,EAAE,YAAqB,EAAE,YAAkB;YACtE,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;YAC3B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;YACjC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACnC,CAAC;KACF;IAVD,8CAUC;IAED
|
|
1
|
+
{"version":3,"file":"ExternalTaskErrors.js","sourceRoot":"","sources":["../../../../src/DataModels/ExternalTask/ExternalTaskErrors.ts"],"names":[],"mappings":";;;;IAAA;;;;;;;;;;;;;;;;;;;OAmBG;IACH;;OAEG;IACH,MAAa,iBAAiB;QAK5B,YAAY,SAAiB,EAAE,YAAqB,EAAE,YAAkB;YACtE,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;YAC3B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;YACjC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACnC,CAAC;KACF;IAVD,8CAUC;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH;;;OAGG;IACH,MAAa,yBAAyB;KAKrC;IALD,8DAKC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowNodeInstance.js","sourceRoot":"","sources":["../../../../src/DataModels/FlowNodeInstance/FlowNodeInstance.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"FlowNodeInstance.js","sourceRoot":"","sources":["../../../../src/DataModels/FlowNodeInstance/FlowNodeInstance.ts"],"names":[],"mappings":";;;;IAkKA;;;;;;;;;;;;;;OAcG;IACH,IAAY,qBAOX;IAPD,WAAY,qBAAqB;QAC/B,4CAAmB,CAAA;QACnB,gDAAuB,CAAA;QACvB,8CAAqB,CAAA;QACrB,kDAAyB,CAAA;QACzB,wCAAe,CAAA;QACf,8CAAqB,CAAA;IACvB,CAAC,EAPW,qBAAqB,qCAArB,qBAAqB,QAOhC;IAOD,IAAY,+BAkBX;IAlBD,WAAY,+BAA+B;QACzC,4EAAyC,CAAA;QACzC,4DAAyB,CAAA;QACzB,gEAA6B,CAAA;QAC7B,gEAA6B,CAAA;QAC7B,gEAA6B,CAAA;QAC7B,0DAAuB,CAAA;QACvB,kDAAe,CAAA;QACf,4FAAyD,CAAA;QACzD,sFAAmD,CAAA;QACnD,8EAA2C,CAAA;QAC3C,oEAAiC,CAAA;QACjC,0EAAuC,CAAA;QACvC,kEAA+B,CAAA;QAC/B,sDAAmB,CAAA;QACnB,0DAAuB,CAAA;QACvB,4DAAyB,CAAA;QACzB,8FAA2D,CAAA;IAC7D,CAAC,EAlBW,+BAA+B,+CAA/B,+BAA+B,QAkB1C"}
|
|
@@ -12,12 +12,11 @@ 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", "./FlowNodeInstance", "./FlowNodeInstanceResult", "./
|
|
15
|
+
define(["require", "exports", "./FlowNodeInstance", "./FlowNodeInstanceResult", "./Queries", "./TokenHistory", "./BusinessRuleTaskInstance", "./CallActivityInstance", "./EmptyActivityInstance", "./EventInstance", "./ManualTaskInstance", "./ReceiveTaskInstance", "./SendTaskInstance", "./ServiceTaskInstance", "./SubprocessInstance", "./UserTaskInstance"], function (require, exports, FlowNodeInstance_1, FlowNodeInstanceResult_1, Queries_1, TokenHistory_1, BusinessRuleTaskInstance_1, CallActivityInstance_1, EmptyActivityInstance_1, EventInstance_1, ManualTaskInstance_1, ReceiveTaskInstance_1, SendTaskInstance_1, ServiceTaskInstance_1, SubprocessInstance_1, UserTaskInstance_1) {
|
|
16
16
|
"use strict";
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
__exportStar(FlowNodeInstance_1, exports);
|
|
19
19
|
__exportStar(FlowNodeInstanceResult_1, exports);
|
|
20
|
-
__exportStar(ProcessToken_1, exports);
|
|
21
20
|
__exportStar(Queries_1, exports);
|
|
22
21
|
__exportStar(TokenHistory_1, exports);
|
|
23
22
|
__exportStar(BusinessRuleTaskInstance_1, exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/DataModels/FlowNodeInstance/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;IAAA,0CAAmC;IACnC,gDAAyC;IACzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/DataModels/FlowNodeInstance/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;IAAA,0CAAmC;IACnC,gDAAyC;IACzC,iCAA0B;IAC1B,sCAA+B;IAE/B,kDAA2C;IAC3C,8CAAuC;IACvC,+CAAwC;IACxC,uCAAgC;IAChC,4CAAqC;IACrC,6CAAsC;IACtC,0CAAmC;IACnC,6CAAsC;IACtC,4CAAqC;IACrC,0CAAmC"}
|
|
@@ -3,12 +3,9 @@ define(["require", "exports"], function (require, exports) {
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.claims = void 0;
|
|
5
5
|
exports.claims = {
|
|
6
|
-
canCreateAnonymousSession: 'can_create_anonymous_session',
|
|
7
6
|
canAccessExternalTasks: 'can_access_external_tasks',
|
|
8
7
|
canDeleteProcessModel: 'can_delete_process_model',
|
|
9
8
|
canManageProcessInstances: 'can_manage_process_instances',
|
|
10
|
-
canReadCronjobHistory: 'can_read_cronjob_history',
|
|
11
|
-
canReadProcessModel: 'can_read_process_model',
|
|
12
9
|
canRetryProcessInstance: 'can_retry_process_instance',
|
|
13
10
|
canSubscribeToEvents: 'can_subscribe_to_events',
|
|
14
11
|
canTerminateProcess: 'can_terminate_process',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Claims.js","sourceRoot":"","sources":["../../../../src/DataModels/Iam/Claims.ts"],"names":[],"mappings":";;;;IAAa,QAAA,MAAM,GAAG;QACpB,
|
|
1
|
+
{"version":3,"file":"Claims.js","sourceRoot":"","sources":["../../../../src/DataModels/Iam/Claims.ts"],"names":[],"mappings":";;;;IAAa,QAAA,MAAM,GAAG;QACpB,sBAAsB,EAAE,2BAA2B;QACnD,qBAAqB,EAAE,0BAA0B;QACjD,yBAAyB,EAAE,8BAA8B;QACzD,uBAAuB,EAAE,4BAA4B;QACrD,oBAAoB,EAAE,yBAAyB;QAC/C,mBAAmB,EAAE,uBAAuB;QAC5C,kBAAkB,EAAE,sBAAsB;QAC1C,iBAAiB,EAAE,qBAAqB;QACxC,oBAAoB,EAAE,yBAAyB;KAChD,CAAC"}
|
|
@@ -12,11 +12,10 @@ 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", "./
|
|
15
|
+
define(["require", "exports", "./ApplicationInfo", "./Constants", "./Correlation", "./Cronjob/index", "./DataObjectInstance", "./ExternalTask/index", "./FlowNodeInstance/index", "./Iam/index", "./ProcessDefinition", "./ProcessInstance/index", "./Correlation", "./Cronjob/index", "./DataObjectInstance", "./ExternalTask/index", "./FlowNodeInstance/index", "./Iam/index", "./ProcessDefinition", "./ProcessInstance/index"], function (require, exports, ApplicationInfo_1, Constants_1, Correlation_1, index_1, DataObjectInstance_1, index_2, index_3, index_4, ProcessDefinition_1, index_5, correlation, cronjob, dataObject, externalTasks, flowNodeInstances, iam, processDefinitions, processInstances) {
|
|
16
16
|
"use strict";
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.DataModels = void 0;
|
|
19
|
-
__exportStar(AnonymousSession_1, exports);
|
|
20
19
|
__exportStar(ApplicationInfo_1, exports);
|
|
21
20
|
__exportStar(Constants_1, exports);
|
|
22
21
|
__exportStar(Correlation_1, exports);
|
|
@@ -27,7 +26,6 @@ define(["require", "exports", "./AnonymousSession", "./ApplicationInfo", "./Cons
|
|
|
27
26
|
__exportStar(index_4, exports);
|
|
28
27
|
__exportStar(ProcessDefinition_1, exports);
|
|
29
28
|
__exportStar(index_5, exports);
|
|
30
|
-
__exportStar(UserMetadata_1, exports);
|
|
31
29
|
var DataModels;
|
|
32
30
|
(function (DataModels) {
|
|
33
31
|
DataModels.Correlation = correlation;
|
|
@@ -38,7 +36,6 @@ define(["require", "exports", "./AnonymousSession", "./ApplicationInfo", "./Cons
|
|
|
38
36
|
DataModels.Iam = iam;
|
|
39
37
|
DataModels.ProcessDefinitions = processDefinitions;
|
|
40
38
|
DataModels.ProcessInstances = processInstances;
|
|
41
|
-
DataModels.UserMetadata = userMetadata;
|
|
42
39
|
})(DataModels || (exports.DataModels = DataModels = {}));
|
|
43
40
|
});
|
|
44
41
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/DataModels/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;IAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/DataModels/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;IAAA,yCAAkC;IAClC,mCAA4B;IAC5B,qCAA8B;IAC9B,+BAAgC;IAChC,4CAAqC;IACrC,+BAAqC;IACrC,+BAAyC;IACzC,+BAA4B;IAC5B,2CAAoC;IACpC,+BAAwC;IAgBxC,IAAiB,UAAU,CAU1B;IAVD,WAAiB,UAAU;QAEX,sBAAW,GAAG,WAAW,CAAC;QAC1B,kBAAO,GAAG,OAAO,CAAC;QAClB,sBAAW,GAAG,UAAU,CAAC;QACzB,wBAAa,GAAG,aAAa,CAAC;QAC9B,4BAAiB,GAAG,iBAAiB,CAAC;QACtC,cAAG,GAAG,GAAG,CAAC;QACV,6BAAkB,GAAG,kBAAkB,CAAC;QACxC,2BAAgB,GAAG,gBAAgB,CAAC;IACpD,CAAC,EAVgB,UAAU,0BAAV,UAAU,QAU1B"}
|
package/dist/amd/Engine.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Engine.js","sourceRoot":"","sources":["../../src/Engine.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"Engine.js","sourceRoot":"","sources":["../../src/Engine.ts"],"names":[],"mappings":";;;;IAmFA,IAAY,sBASX;IATD,WAAY,sBAAsB;QAChC,uCAAa,CAAA;QACb,uCAAa,CAAA;QACb,yCAAe,CAAA;QACf,+CAAqB,CAAA;QACrB,+CAAqB,CAAA;QACrB,qCAAW,CAAA;QACX,mDAAyB,CAAA;QACzB,+CAAqB,CAAA;IACvB,CAAC,EATW,sBAAsB,sCAAtB,sBAAsB,QASjC"}
|
|
@@ -12,10 +12,9 @@ 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", "./
|
|
15
|
+
define(["require", "exports", "./ApplicationInfoExtensionAdapter", "./CorrelationExtensionAdapter", "./CronjobExtensionAdapter", "./DataObjectInstanceExtensionAdapter", "./EmptyActivityExtensionAdapter", "./EventExtensionAdapter", "./ExternalTaskExtensionAdapter", "./FlowNodeInstanceExtensionAdapter", "./IIamExtensionAdapter", "./ManualTaskExtensionAdapter", "./NotificationExtensionAdapter", "./ProcessDefinitionExtensionAdapter", "./ProcessModelExtensionAdapter", "./ProcessInstanceExtensionAdapter", "./UserTaskExtensionAdapter"], function (require, exports, ApplicationInfoExtensionAdapter_1, CorrelationExtensionAdapter_1, CronjobExtensionAdapter_1, DataObjectInstanceExtensionAdapter_1, EmptyActivityExtensionAdapter_1, EventExtensionAdapter_1, ExternalTaskExtensionAdapter_1, FlowNodeInstanceExtensionAdapter_1, IIamExtensionAdapter_1, ManualTaskExtensionAdapter_1, NotificationExtensionAdapter_1, ProcessDefinitionExtensionAdapter_1, ProcessModelExtensionAdapter_1, ProcessInstanceExtensionAdapter_1, UserTaskExtensionAdapter_1) {
|
|
16
16
|
"use strict";
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
__exportStar(AnonymousSessionExtensionAdapter_1, exports);
|
|
19
18
|
__exportStar(ApplicationInfoExtensionAdapter_1, exports);
|
|
20
19
|
__exportStar(CorrelationExtensionAdapter_1, exports);
|
|
21
20
|
__exportStar(CronjobExtensionAdapter_1, exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ExtensionAdapter/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;IAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ExtensionAdapter/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;IAAA,yDAAkD;IAClD,qDAA8C;IAC9C,iDAA0C;IAC1C,4DAAqD;IACrD,uDAAgD;IAChD,+CAAwC;IACxC,sDAA+C;IAC/C,0DAAmD;IACnD,8CAAuC;IACvC,oDAA6C;IAC7C,sDAA+C;IAC/C,2DAAoD;IACpD,sDAA+C;IAC/C,yDAAkD;IAClD,kDAA2C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExternalTaskReusableError = exports.
|
|
3
|
+
exports.ExternalTaskReusableError = exports.ExternalTaskError = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @swagger
|
|
6
6
|
* components:
|
|
@@ -32,38 +32,6 @@ class ExternalTaskError {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
exports.ExternalTaskError = ExternalTaskError;
|
|
35
|
-
/**
|
|
36
|
-
* @swagger
|
|
37
|
-
* components:
|
|
38
|
-
* schemas:
|
|
39
|
-
* ExternalTaskBpmnError:
|
|
40
|
-
* description: Describes an error that occured while processing an External Task.
|
|
41
|
-
* deprecated: true
|
|
42
|
-
* allOf:
|
|
43
|
-
* - $ref: '#/components/schemas/ExternalTaskError'
|
|
44
|
-
*/
|
|
45
|
-
/**
|
|
46
|
-
* @deprecated Use ExternalTaskError instead
|
|
47
|
-
*/
|
|
48
|
-
class ExternalTaskBpmnError extends ExternalTaskError {
|
|
49
|
-
}
|
|
50
|
-
exports.ExternalTaskBpmnError = ExternalTaskBpmnError;
|
|
51
|
-
/**
|
|
52
|
-
* @swagger
|
|
53
|
-
* components:
|
|
54
|
-
* schemas:
|
|
55
|
-
* ExternalTaskServiceError:
|
|
56
|
-
* description: Describes an error that occured while processing an External Task.
|
|
57
|
-
* deprecated: true
|
|
58
|
-
* allOf:
|
|
59
|
-
* - $ref: '#/components/schemas/ExternalTaskError'
|
|
60
|
-
*/
|
|
61
|
-
/**
|
|
62
|
-
* @deprecated Use ExternalTaskError instead
|
|
63
|
-
*/
|
|
64
|
-
class ExternalTaskServiceError extends ExternalTaskError {
|
|
65
|
-
}
|
|
66
|
-
exports.ExternalTaskServiceError = ExternalTaskServiceError;
|
|
67
35
|
/**
|
|
68
36
|
* @swagger
|
|
69
37
|
* components:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalTaskErrors.js","sourceRoot":"","sources":["../../../../src/DataModels/ExternalTask/ExternalTaskErrors.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH;;GAEG;AACH,MAAa,iBAAiB;IAK5B,YAAY,SAAiB,EAAE,YAAqB,EAAE,YAAkB;QACtE,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,CAAC;CACF;AAVD,8CAUC;AAED
|
|
1
|
+
{"version":3,"file":"ExternalTaskErrors.js","sourceRoot":"","sources":["../../../../src/DataModels/ExternalTask/ExternalTaskErrors.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH;;GAEG;AACH,MAAa,iBAAiB;IAK5B,YAAY,SAAiB,EAAE,YAAqB,EAAE,YAAkB;QACtE,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,CAAC;CACF;AAVD,8CAUC;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH;;;GAGG;AACH,MAAa,yBAAyB;CAKrC;AALD,8DAKC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowNodeInstance.js","sourceRoot":"","sources":["../../../../src/DataModels/FlowNodeInstance/FlowNodeInstance.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"FlowNodeInstance.js","sourceRoot":"","sources":["../../../../src/DataModels/FlowNodeInstance/FlowNodeInstance.ts"],"names":[],"mappings":";;;AAkKA;;;;;;;;;;;;;;GAcG;AACH,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,gDAAuB,CAAA;IACvB,8CAAqB,CAAA;IACrB,kDAAyB,CAAA;IACzB,wCAAe,CAAA;IACf,8CAAqB,CAAA;AACvB,CAAC,EAPW,qBAAqB,qCAArB,qBAAqB,QAOhC;AAOD,IAAY,+BAkBX;AAlBD,WAAY,+BAA+B;IACzC,4EAAyC,CAAA;IACzC,4DAAyB,CAAA;IACzB,gEAA6B,CAAA;IAC7B,gEAA6B,CAAA;IAC7B,gEAA6B,CAAA;IAC7B,0DAAuB,CAAA;IACvB,kDAAe,CAAA;IACf,4FAAyD,CAAA;IACzD,sFAAmD,CAAA;IACnD,8EAA2C,CAAA;IAC3C,oEAAiC,CAAA;IACjC,0EAAuC,CAAA;IACvC,kEAA+B,CAAA;IAC/B,sDAAmB,CAAA;IACnB,0DAAuB,CAAA;IACvB,4DAAyB,CAAA;IACzB,8FAA2D,CAAA;AAC7D,CAAC,EAlBW,+BAA+B,+CAA/B,+BAA+B,QAkB1C"}
|
|
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./FlowNodeInstance"), exports);
|
|
18
18
|
__exportStar(require("./FlowNodeInstanceResult"), exports);
|
|
19
|
-
__exportStar(require("./ProcessToken"), exports);
|
|
20
19
|
__exportStar(require("./Queries"), exports);
|
|
21
20
|
__exportStar(require("./TokenHistory"), exports);
|
|
22
21
|
__exportStar(require("./BusinessRuleTaskInstance"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/DataModels/FlowNodeInstance/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,2DAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/DataModels/FlowNodeInstance/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,2DAAyC;AACzC,4CAA0B;AAC1B,iDAA+B;AAE/B,6DAA2C;AAC3C,yDAAuC;AACvC,0DAAwC;AACxC,kDAAgC;AAChC,uDAAqC;AACrC,wDAAsC;AACtC,qDAAmC;AACnC,wDAAsC;AACtC,uDAAqC;AACrC,qDAAmC"}
|
|
@@ -2,12 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.claims = void 0;
|
|
4
4
|
exports.claims = {
|
|
5
|
-
canCreateAnonymousSession: 'can_create_anonymous_session',
|
|
6
5
|
canAccessExternalTasks: 'can_access_external_tasks',
|
|
7
6
|
canDeleteProcessModel: 'can_delete_process_model',
|
|
8
7
|
canManageProcessInstances: 'can_manage_process_instances',
|
|
9
|
-
canReadCronjobHistory: 'can_read_cronjob_history',
|
|
10
|
-
canReadProcessModel: 'can_read_process_model',
|
|
11
8
|
canRetryProcessInstance: 'can_retry_process_instance',
|
|
12
9
|
canSubscribeToEvents: 'can_subscribe_to_events',
|
|
13
10
|
canTerminateProcess: 'can_terminate_process',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Claims.js","sourceRoot":"","sources":["../../../../src/DataModels/Iam/Claims.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IACpB,
|
|
1
|
+
{"version":3,"file":"Claims.js","sourceRoot":"","sources":["../../../../src/DataModels/Iam/Claims.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IACpB,sBAAsB,EAAE,2BAA2B;IACnD,qBAAqB,EAAE,0BAA0B;IACjD,yBAAyB,EAAE,8BAA8B;IACzD,uBAAuB,EAAE,4BAA4B;IACrD,oBAAoB,EAAE,yBAAyB;IAC/C,mBAAmB,EAAE,uBAAuB;IAC5C,kBAAkB,EAAE,sBAAsB;IAC1C,iBAAiB,EAAE,qBAAqB;IACxC,oBAAoB,EAAE,yBAAyB;CAChD,CAAC"}
|
|
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.DataModels = void 0;
|
|
18
|
-
__exportStar(require("./AnonymousSession"), exports);
|
|
19
18
|
__exportStar(require("./ApplicationInfo"), exports);
|
|
20
19
|
__exportStar(require("./Constants"), exports);
|
|
21
20
|
__exportStar(require("./Correlation"), exports);
|
|
@@ -26,7 +25,6 @@ __exportStar(require("./FlowNodeInstance/index"), exports);
|
|
|
26
25
|
__exportStar(require("./Iam/index"), exports);
|
|
27
26
|
__exportStar(require("./ProcessDefinition"), exports);
|
|
28
27
|
__exportStar(require("./ProcessInstance/index"), exports);
|
|
29
|
-
__exportStar(require("./UserMetadata"), exports);
|
|
30
28
|
const correlation = require("./Correlation");
|
|
31
29
|
const cronjob = require("./Cronjob/index");
|
|
32
30
|
const dataObject = require("./DataObjectInstance");
|
|
@@ -35,7 +33,6 @@ const flowNodeInstances = require("./FlowNodeInstance/index");
|
|
|
35
33
|
const iam = require("./Iam/index");
|
|
36
34
|
const processDefinitions = require("./ProcessDefinition");
|
|
37
35
|
const processInstances = require("./ProcessInstance/index");
|
|
38
|
-
const userMetadata = require("./UserMetadata");
|
|
39
36
|
var DataModels;
|
|
40
37
|
(function (DataModels) {
|
|
41
38
|
DataModels.Correlation = correlation;
|
|
@@ -46,6 +43,5 @@ var DataModels;
|
|
|
46
43
|
DataModels.Iam = iam;
|
|
47
44
|
DataModels.ProcessDefinitions = processDefinitions;
|
|
48
45
|
DataModels.ProcessInstances = processInstances;
|
|
49
|
-
DataModels.UserMetadata = userMetadata;
|
|
50
46
|
})(DataModels || (exports.DataModels = DataModels = {}));
|
|
51
47
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/DataModels/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/DataModels/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,8CAA4B;AAC5B,gDAA8B;AAC9B,kDAAgC;AAChC,uDAAqC;AACrC,uDAAqC;AACrC,2DAAyC;AACzC,8CAA4B;AAC5B,sDAAoC;AACpC,0DAAwC;AAOxC,6CAA6C;AAC7C,2CAA2C;AAC3C,mDAAmD;AACnD,sDAAsD;AACtD,8DAA8D;AAC9D,mCAAmC;AACnC,0DAA0D;AAC1D,4DAA4D;AAE5D,IAAiB,UAAU,CAU1B;AAVD,WAAiB,UAAU;IAEX,sBAAW,GAAG,WAAW,CAAC;IAC1B,kBAAO,GAAG,OAAO,CAAC;IAClB,sBAAW,GAAG,UAAU,CAAC;IACzB,wBAAa,GAAG,aAAa,CAAC;IAC9B,4BAAiB,GAAG,iBAAiB,CAAC;IACtC,cAAG,GAAG,GAAG,CAAC;IACV,6BAAkB,GAAG,kBAAkB,CAAC;IACxC,2BAAgB,GAAG,gBAAgB,CAAC;AACpD,CAAC,EAVgB,UAAU,0BAAV,UAAU,QAU1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Engine.js","sourceRoot":"","sources":["../../src/Engine.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Engine.js","sourceRoot":"","sources":["../../src/Engine.ts"],"names":[],"mappings":";;;AAmFA,IAAY,sBASX;AATD,WAAY,sBAAsB;IAChC,uCAAa,CAAA;IACb,uCAAa,CAAA;IACb,yCAAe,CAAA;IACf,+CAAqB,CAAA;IACrB,+CAAqB,CAAA;IACrB,qCAAW,CAAA;IACX,mDAAyB,CAAA;IACzB,+CAAqB,CAAA;AACvB,CAAC,EATW,sBAAsB,sCAAtB,sBAAsB,QASjC"}
|
|
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./AnonymousSessionExtensionAdapter"), exports);
|
|
18
17
|
__exportStar(require("./ApplicationInfoExtensionAdapter"), exports);
|
|
19
18
|
__exportStar(require("./CorrelationExtensionAdapter"), exports);
|
|
20
19
|
__exportStar(require("./CronjobExtensionAdapter"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ExtensionAdapter/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ExtensionAdapter/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD;AAClD,gEAA8C;AAC9C,4DAA0C;AAC1C,uEAAqD;AACrD,kEAAgD;AAChD,0DAAwC;AACxC,iEAA+C;AAC/C,qEAAmD;AACnD,yDAAuC;AACvC,+DAA6C;AAC7C,iEAA+C;AAC/C,sEAAoD;AACpD,iEAA+C;AAC/C,oEAAkD;AAClD,6DAA2C"}
|
package/package.json
CHANGED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @swagger
|
|
3
|
-
* components:
|
|
4
|
-
* schemas:
|
|
5
|
-
* AnonymousSession:
|
|
6
|
-
* description: Describes a session for an anonymous user.
|
|
7
|
-
* type: object
|
|
8
|
-
* required:
|
|
9
|
-
* - sessionId
|
|
10
|
-
* - userId
|
|
11
|
-
* - createdAt
|
|
12
|
-
* properties:
|
|
13
|
-
* sessionId:
|
|
14
|
-
* description: The ID of the session.
|
|
15
|
-
* type: string
|
|
16
|
-
* userId:
|
|
17
|
-
* description: The ID of the user that created the session.
|
|
18
|
-
* type: string
|
|
19
|
-
* createdAt:
|
|
20
|
-
* description: The date the anonymous session was created.
|
|
21
|
-
* type: string
|
|
22
|
-
*/
|
|
23
|
-
export type AnonymousSession = {
|
|
24
|
-
sessionId: string;
|
|
25
|
-
userId: string;
|
|
26
|
-
createdAt: Date;
|
|
27
|
-
};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @swagger
|
|
3
|
-
* components:
|
|
4
|
-
* schemas:
|
|
5
|
-
* ProcessToken:
|
|
6
|
-
* description: A process token describes the state of a FlowNode during a specific point in its life (i.e. onEnter, onExit, etc.).
|
|
7
|
-
* deprecated: true
|
|
8
|
-
* type: object
|
|
9
|
-
* required:
|
|
10
|
-
* - flowNodeInstanceId
|
|
11
|
-
* - createdAt
|
|
12
|
-
* - type
|
|
13
|
-
* - payload
|
|
14
|
-
* properties:
|
|
15
|
-
* flowNodeInstanceId:
|
|
16
|
-
* description: The ID of the FlowNodeInstance that this token belongs to.
|
|
17
|
-
* type: string
|
|
18
|
-
* createdAt:
|
|
19
|
-
* description: The point in time at which this token was created.
|
|
20
|
-
* type: string
|
|
21
|
-
* type:
|
|
22
|
-
* description: The type of token.
|
|
23
|
-
* $ref: '#/components/schemas/ProcessTokenType'
|
|
24
|
-
* payload:
|
|
25
|
-
* description: The payload of the token.
|
|
26
|
-
* type: object
|
|
27
|
-
*/
|
|
28
|
-
/**
|
|
29
|
-
* A process token describes the state of a FlowNode during a specific point in its life (i.e. onEnter, onExit, etc.).
|
|
30
|
-
* @deprecated This type was used in conjunction with the "FlowNodeInstance.tokens" property, which has become obsolete.
|
|
31
|
-
* To access a FlowNodeInstances tokens, use the new `startToken` and `endToken` properties.
|
|
32
|
-
*/
|
|
33
|
-
export type ProcessToken = {
|
|
34
|
-
flowNodeInstanceId: string;
|
|
35
|
-
createdAt: Date;
|
|
36
|
-
type: ProcessTokenType;
|
|
37
|
-
payload: any;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* @swagger
|
|
41
|
-
* components:
|
|
42
|
-
* schemas:
|
|
43
|
-
* ProcessTokenType:
|
|
44
|
-
* description: The type of a process token.
|
|
45
|
-
* deprecated: true
|
|
46
|
-
* type: string
|
|
47
|
-
* enum:
|
|
48
|
-
* - onEnter
|
|
49
|
-
* - onSuspend
|
|
50
|
-
* - onResume
|
|
51
|
-
* - onExit
|
|
52
|
-
*/
|
|
53
|
-
/**
|
|
54
|
-
* Contains definitions for all currently supported types of process tokens.
|
|
55
|
-
* The type of token determines the point in time at which the token was recorded.
|
|
56
|
-
*
|
|
57
|
-
* @deprecated This enum was used in conjunction with the "FlowNodeInstnance.tokens" property, which has become obsolete.
|
|
58
|
-
* To access a FlowNodeInstances tokens, use the new `startToken` and `endToken` properties.
|
|
59
|
-
*/
|
|
60
|
-
export declare enum ProcessTokenType {
|
|
61
|
-
onEnter = "onEnter",
|
|
62
|
-
onSuspend = "onSuspend",
|
|
63
|
-
onResume = "onResume",
|
|
64
|
-
onExit = "onExit"
|
|
65
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated This feature is no longer officially supported, since this is more of an App SDK Feature.
|
|
3
|
-
* Therefore, this functionality will soon be moved to the App SDK entirely.
|
|
4
|
-
* @swagger
|
|
5
|
-
* components:
|
|
6
|
-
* schemas:
|
|
7
|
-
* UserMetadata:
|
|
8
|
-
* deprecated: true
|
|
9
|
-
* description: The user metadata
|
|
10
|
-
* type: object
|
|
11
|
-
* required:
|
|
12
|
-
* - key
|
|
13
|
-
* - value
|
|
14
|
-
* properties:
|
|
15
|
-
* key:
|
|
16
|
-
* description: The key of the user metadata
|
|
17
|
-
* type: string
|
|
18
|
-
* value:
|
|
19
|
-
* description: The value of the user metadata
|
|
20
|
-
* oneOf:
|
|
21
|
-
* - type: string
|
|
22
|
-
* - type: number
|
|
23
|
-
* - type: boolean
|
|
24
|
-
* - type: object
|
|
25
|
-
* - type: array
|
|
26
|
-
* processInstanceScope:
|
|
27
|
-
* description: The scope of the user metadata
|
|
28
|
-
* type: string
|
|
29
|
-
* flowNodeInstanceScope:
|
|
30
|
-
* description: The scope of the user metadata
|
|
31
|
-
* type: string
|
|
32
|
-
*/
|
|
33
|
-
export type UserMetadata<TKey extends string, TPIScope extends string, TFIScope extends string> = {
|
|
34
|
-
key: TKey;
|
|
35
|
-
value: any;
|
|
36
|
-
processInstanceScope?: TPIScope;
|
|
37
|
-
flowNodeInstanceScope?: TFIScope;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated This feature is no longer officially supported, since this is more of an App SDK Feature.
|
|
41
|
-
* Therefore, this functionality will soon be moved to the App SDK entirely.
|
|
42
|
-
* @swagger
|
|
43
|
-
* components:
|
|
44
|
-
* schemas:
|
|
45
|
-
* UserMetadataObject:
|
|
46
|
-
* deprecated: true
|
|
47
|
-
* description: A list of user metadata
|
|
48
|
-
* type: object
|
|
49
|
-
* required:
|
|
50
|
-
* - metadata
|
|
51
|
-
* - totalCount
|
|
52
|
-
* properties:
|
|
53
|
-
* metadata:
|
|
54
|
-
* description: The user metadata
|
|
55
|
-
* type: array
|
|
56
|
-
* items:
|
|
57
|
-
* $ref: '#/components/schemas/UserMetadata'
|
|
58
|
-
* totalCount:
|
|
59
|
-
* description: The total number of user metadata
|
|
60
|
-
* type: number
|
|
61
|
-
*/
|
|
62
|
-
export type UserMetadataObject<TKey extends string, TPIScope extends string, TFIScope extends string> = {
|
|
63
|
-
metadata: UserMetadata<TKey, TPIScope, TFIScope>[];
|
|
64
|
-
totalCount: number;
|
|
65
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AnonymousSession } from '../DataModels/AnonymousSession';
|
|
2
|
-
import { Identity } from '../DataModels/Iam/Identity';
|
|
3
|
-
export interface IAnonymousSessionExtensionAdapter {
|
|
4
|
-
getAnonymousSessionById(sessionId: string): Promise<AnonymousSession>;
|
|
5
|
-
getAnonymousSessionsByUserId(userId: string): Promise<Array<AnonymousSession>>;
|
|
6
|
-
createAnonymousSessionForIdentity(identity: Identity): Promise<string>;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnonymousSession.js","sourceRoot":"","sources":["../../../src/DataModels/AnonymousSession.ts"],"names":[],"mappings":""}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
define(["require", "exports"], function (require, exports) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.ProcessTokenType = void 0;
|
|
5
|
-
/**
|
|
6
|
-
* @swagger
|
|
7
|
-
* components:
|
|
8
|
-
* schemas:
|
|
9
|
-
* ProcessTokenType:
|
|
10
|
-
* description: The type of a process token.
|
|
11
|
-
* deprecated: true
|
|
12
|
-
* type: string
|
|
13
|
-
* enum:
|
|
14
|
-
* - onEnter
|
|
15
|
-
* - onSuspend
|
|
16
|
-
* - onResume
|
|
17
|
-
* - onExit
|
|
18
|
-
*/
|
|
19
|
-
/**
|
|
20
|
-
* Contains definitions for all currently supported types of process tokens.
|
|
21
|
-
* The type of token determines the point in time at which the token was recorded.
|
|
22
|
-
*
|
|
23
|
-
* @deprecated This enum was used in conjunction with the "FlowNodeInstnance.tokens" property, which has become obsolete.
|
|
24
|
-
* To access a FlowNodeInstances tokens, use the new `startToken` and `endToken` properties.
|
|
25
|
-
*/
|
|
26
|
-
var ProcessTokenType;
|
|
27
|
-
(function (ProcessTokenType) {
|
|
28
|
-
ProcessTokenType["onEnter"] = "onEnter";
|
|
29
|
-
ProcessTokenType["onSuspend"] = "onSuspend";
|
|
30
|
-
ProcessTokenType["onResume"] = "onResume";
|
|
31
|
-
ProcessTokenType["onExit"] = "onExit";
|
|
32
|
-
})(ProcessTokenType || (exports.ProcessTokenType = ProcessTokenType = {}));
|
|
33
|
-
});
|
|
34
|
-
//# sourceMappingURL=ProcessToken.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProcessToken.js","sourceRoot":"","sources":["../../../../src/DataModels/FlowNodeInstance/ProcessToken.ts"],"names":[],"mappings":";;;;IAuCA;;;;;;;;;;;;;OAaG;IACH;;;;;;OAMG;IACH,IAAY,gBAKX;IALD,WAAY,gBAAgB;QAC1B,uCAAmB,CAAA;QACnB,2CAAuB,CAAA;QACvB,yCAAqB,CAAA;QACrB,qCAAiB,CAAA;IACnB,CAAC,EALW,gBAAgB,gCAAhB,gBAAgB,QAK3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UserMetadata.js","sourceRoot":"","sources":["../../../src/DataModels/UserMetadata.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnonymousSessionExtensionAdapter.js","sourceRoot":"","sources":["../../../src/ExtensionAdapter/AnonymousSessionExtensionAdapter.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnonymousSession.js","sourceRoot":"","sources":["../../../src/DataModels/AnonymousSession.ts"],"names":[],"mappings":""}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProcessTokenType = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @swagger
|
|
6
|
-
* components:
|
|
7
|
-
* schemas:
|
|
8
|
-
* ProcessTokenType:
|
|
9
|
-
* description: The type of a process token.
|
|
10
|
-
* deprecated: true
|
|
11
|
-
* type: string
|
|
12
|
-
* enum:
|
|
13
|
-
* - onEnter
|
|
14
|
-
* - onSuspend
|
|
15
|
-
* - onResume
|
|
16
|
-
* - onExit
|
|
17
|
-
*/
|
|
18
|
-
/**
|
|
19
|
-
* Contains definitions for all currently supported types of process tokens.
|
|
20
|
-
* The type of token determines the point in time at which the token was recorded.
|
|
21
|
-
*
|
|
22
|
-
* @deprecated This enum was used in conjunction with the "FlowNodeInstnance.tokens" property, which has become obsolete.
|
|
23
|
-
* To access a FlowNodeInstances tokens, use the new `startToken` and `endToken` properties.
|
|
24
|
-
*/
|
|
25
|
-
var ProcessTokenType;
|
|
26
|
-
(function (ProcessTokenType) {
|
|
27
|
-
ProcessTokenType["onEnter"] = "onEnter";
|
|
28
|
-
ProcessTokenType["onSuspend"] = "onSuspend";
|
|
29
|
-
ProcessTokenType["onResume"] = "onResume";
|
|
30
|
-
ProcessTokenType["onExit"] = "onExit";
|
|
31
|
-
})(ProcessTokenType || (exports.ProcessTokenType = ProcessTokenType = {}));
|
|
32
|
-
//# sourceMappingURL=ProcessToken.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProcessToken.js","sourceRoot":"","sources":["../../../../src/DataModels/FlowNodeInstance/ProcessToken.ts"],"names":[],"mappings":";;;AAuCA;;;;;;;;;;;;;GAaG;AACH;;;;;;GAMG;AACH,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,yCAAqB,CAAA;IACrB,qCAAiB,CAAA;AACnB,CAAC,EALW,gBAAgB,gCAAhB,gBAAgB,QAK3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UserMetadata.js","sourceRoot":"","sources":["../../../src/DataModels/UserMetadata.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnonymousSessionExtensionAdapter.js","sourceRoot":"","sources":["../../../src/ExtensionAdapter/AnonymousSessionExtensionAdapter.ts"],"names":[],"mappings":""}
|