@5minds/processcube_engine_client 4.5.0-develop-01bc2b-lmzzriol → 5.0.0-alpha.2
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/README.md +6 -8
- package/dist/Client.d.ts +2 -6
- package/dist/ClientFactory.d.ts +2 -4
- package/dist/Clients/CronjobHttpClient.d.ts +0 -18
- package/dist/Clients/EventHttpClient.d.ts +4 -0
- package/dist/Clients/ExternalTaskApiHttpClient.d.ts +1 -9
- package/dist/Clients/FlowNodeInstanceHttpClient.d.ts +4 -1
- package/dist/Clients/Lib/Mappers.d.ts +2 -7
- package/dist/Clients/NotificationHttpClient.d.ts +18 -2
- package/dist/Clients/UntypedTaskHttpClient.d.ts +31 -0
- package/dist/Clients/index.d.ts +1 -3
- package/dist/Types/CallbackTypes.d.ts +4 -2
- package/dist/Types/RestSettings.d.ts +28 -36
- package/dist/Types/SocketSettings.d.ts +4 -0
- package/dist/amd/Client.js +5 -15
- package/dist/amd/Client.js.map +1 -1
- package/dist/amd/ClientFactory.js +2 -6
- package/dist/amd/ClientFactory.js.map +1 -1
- package/dist/amd/Clients/BaseClient.js.map +1 -1
- package/dist/amd/Clients/CorrelationHttpClient.js.map +1 -1
- package/dist/amd/Clients/CronjobHttpClient.js +0 -26
- package/dist/amd/Clients/CronjobHttpClient.js.map +1 -1
- package/dist/amd/Clients/EventHttpClient.js +3 -0
- package/dist/amd/Clients/EventHttpClient.js.map +1 -1
- package/dist/amd/Clients/ExternalTaskApiHttpClient.js +0 -26
- package/dist/amd/Clients/ExternalTaskApiHttpClient.js.map +1 -1
- package/dist/amd/Clients/ExternalTaskHttpClient.js.map +1 -1
- package/dist/amd/Clients/FlowNodeInstanceHttpClient.js +7 -2
- package/dist/amd/Clients/FlowNodeInstanceHttpClient.js.map +1 -1
- package/dist/amd/Clients/Lib/Mappers.js +5 -44
- package/dist/amd/Clients/Lib/Mappers.js.map +1 -1
- package/dist/amd/Clients/Lib/SocketIoManager.js.map +1 -1
- package/dist/amd/Clients/NotificationHttpClient.js +16 -4
- package/dist/amd/Clients/NotificationHttpClient.js.map +1 -1
- package/dist/amd/Clients/ProcessDefinitionHttpClient.js.map +1 -1
- package/dist/amd/Clients/ProcessDefinitionHttpClientNode.js.map +1 -1
- package/dist/amd/Clients/ProcessInstanceHttpClient.js.map +1 -1
- package/dist/amd/Clients/ProcessModelHttpClient.js.map +1 -1
- package/dist/amd/Clients/UntypedTaskHttpClient.js +49 -0
- package/dist/amd/Clients/UntypedTaskHttpClient.js.map +1 -0
- package/dist/amd/Clients/index.js +2 -4
- package/dist/amd/Clients/index.js.map +1 -1
- package/dist/amd/ExternalTaskWorker.js +2 -2
- package/dist/amd/ExternalTaskWorker.js.map +1 -1
- package/dist/amd/HttpClient.js.map +1 -1
- package/dist/amd/Types/RestSettings.js +30 -37
- package/dist/amd/Types/RestSettings.js.map +1 -1
- package/dist/amd/Types/SocketSettings.js +4 -0
- package/dist/amd/Types/SocketSettings.js.map +1 -1
- package/dist/commonjs/Client.js +5 -15
- package/dist/commonjs/Client.js.map +1 -1
- package/dist/commonjs/ClientFactory.js +2 -6
- package/dist/commonjs/ClientFactory.js.map +1 -1
- package/dist/commonjs/Clients/BaseClient.js.map +1 -1
- package/dist/commonjs/Clients/CorrelationHttpClient.js.map +1 -1
- package/dist/commonjs/Clients/CronjobHttpClient.js +0 -26
- package/dist/commonjs/Clients/CronjobHttpClient.js.map +1 -1
- package/dist/commonjs/Clients/EventHttpClient.js +3 -0
- package/dist/commonjs/Clients/EventHttpClient.js.map +1 -1
- package/dist/commonjs/Clients/ExternalTaskApiHttpClient.js +0 -26
- package/dist/commonjs/Clients/ExternalTaskApiHttpClient.js.map +1 -1
- package/dist/commonjs/Clients/ExternalTaskHttpClient.js.map +1 -1
- package/dist/commonjs/Clients/FlowNodeInstanceHttpClient.js +7 -2
- package/dist/commonjs/Clients/FlowNodeInstanceHttpClient.js.map +1 -1
- package/dist/commonjs/Clients/Lib/Mappers.js +5 -44
- package/dist/commonjs/Clients/Lib/Mappers.js.map +1 -1
- package/dist/commonjs/Clients/Lib/SocketIoManager.js.map +1 -1
- package/dist/commonjs/Clients/NotificationHttpClient.js +16 -4
- package/dist/commonjs/Clients/NotificationHttpClient.js.map +1 -1
- package/dist/commonjs/Clients/ProcessDefinitionHttpClient.js.map +1 -1
- package/dist/commonjs/Clients/ProcessDefinitionHttpClientNode.js.map +1 -1
- package/dist/commonjs/Clients/ProcessInstanceHttpClient.js.map +1 -1
- package/dist/commonjs/Clients/ProcessModelHttpClient.js.map +1 -1
- package/dist/commonjs/Clients/UntypedTaskHttpClient.js +51 -0
- package/dist/commonjs/Clients/UntypedTaskHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/index.js +1 -3
- package/dist/commonjs/Clients/index.js.map +1 -1
- package/dist/commonjs/ExternalTaskWorker.js +2 -2
- package/dist/commonjs/ExternalTaskWorker.js.map +1 -1
- package/dist/commonjs/HttpClient.js.map +1 -1
- package/dist/commonjs/Types/RestSettings.js +30 -37
- package/dist/commonjs/Types/RestSettings.js.map +1 -1
- package/dist/commonjs/Types/SocketSettings.js +4 -0
- package/dist/commonjs/Types/SocketSettings.js.map +1 -1
- package/package.json +4 -5
- package/dist/Clients/AnonymousSessionHttpClient.d.ts +0 -7
- package/dist/Clients/EmptyActivityHttpClient.d.ts +0 -22
- package/dist/Clients/UserMetadataStorageHttpClient.d.ts +0 -26
- package/dist/Types/CronjobsDeprecated.d.ts +0 -65
- package/dist/amd/Clients/AnonymousSessionHttpClient.js +0 -29
- package/dist/amd/Clients/AnonymousSessionHttpClient.js.map +0 -1
- package/dist/amd/Clients/EmptyActivityHttpClient.js +0 -38
- package/dist/amd/Clients/EmptyActivityHttpClient.js.map +0 -1
- package/dist/amd/Clients/UserMetadataStorageHttpClient.js +0 -46
- package/dist/amd/Clients/UserMetadataStorageHttpClient.js.map +0 -1
- package/dist/amd/Types/CronjobsDeprecated.js +0 -18
- package/dist/amd/Types/CronjobsDeprecated.js.map +0 -1
- package/dist/commonjs/Clients/AnonymousSessionHttpClient.js +0 -30
- package/dist/commonjs/Clients/AnonymousSessionHttpClient.js.map +0 -1
- package/dist/commonjs/Clients/EmptyActivityHttpClient.js +0 -40
- package/dist/commonjs/Clients/EmptyActivityHttpClient.js.map +0 -1
- package/dist/commonjs/Clients/UserMetadataStorageHttpClient.js +0 -46
- package/dist/commonjs/Clients/UserMetadataStorageHttpClient.js.map +0 -1
- package/dist/commonjs/Types/CronjobsDeprecated.js +0 -16
- package/dist/commonjs/Types/CronjobsDeprecated.js.map +0 -1
package/README.md
CHANGED
|
@@ -80,7 +80,7 @@ const engineUri = 'http://localhost:10560';
|
|
|
80
80
|
|
|
81
81
|
const client = new EngineClient(engineUri);
|
|
82
82
|
|
|
83
|
-
await client.processModels.startProcessInstance({processModelId: 'myProcessModelId'});
|
|
83
|
+
await client.processModels.startProcessInstance({ processModelId: 'myProcessModelId' });
|
|
84
84
|
```
|
|
85
85
|
|
|
86
86
|
Die `processModelId` ist der einzige erforderliche Parameter für diesen Request.
|
|
@@ -90,8 +90,9 @@ Der Client wartet in diesem Szenario nur, bis die Engine den _Start_ des Prozess
|
|
|
90
90
|
#### Konfigurierter Prozessstart
|
|
91
91
|
|
|
92
92
|
Neben der `processModelId` können folgende Paramter mitgegeben werden:
|
|
93
|
+
|
|
93
94
|
- `startEventId`: Die ID des Start Events von welchem aus der Prozess losgehen soll
|
|
94
|
-
|
|
95
|
+
- **Hinweis:** Bei Prozessen mit mehreren Start Events ist dieser Parameter ebenfalls erforderlich!
|
|
95
96
|
- `correlationId`: Gibt an, in welcher Correlation die Prozessinstanz laufen soll
|
|
96
97
|
- `initialToken`: Der JSON-formatierte Prozess-Token, den die Prozessinstanz zu beginn besitzen soll
|
|
97
98
|
|
|
@@ -121,7 +122,7 @@ const engineUri = 'http://localhost:10560';
|
|
|
121
122
|
|
|
122
123
|
const client = new EngineClient(engineUri);
|
|
123
124
|
|
|
124
|
-
await client.processModels.startProcessInstanceAndAwaitEndEvent({processModelId: 'myProcessModelId'});
|
|
125
|
+
await client.processModels.startProcessInstanceAndAwaitEndEvent({ processModelId: 'myProcessModelId' });
|
|
125
126
|
```
|
|
126
127
|
|
|
127
128
|
Hier wartet der Client, bis die Engine den Prozess bis zum Ende ausgeführt hat.
|
|
@@ -152,6 +153,7 @@ console.log(userTasks);
|
|
|
152
153
|
External Task Worker werden dazu benutzt, um die an einer Prozessinstanz anfallenden `External Service Tasks` zu verarbeiten.
|
|
153
154
|
|
|
154
155
|
Ein Worker benötigt minimal die folgenden 3 Einstellungen
|
|
156
|
+
|
|
155
157
|
- Die URL der Ziel-Engine
|
|
156
158
|
- Das Topic der abzuarbeitenden External Tasks
|
|
157
159
|
- Eine Handler Funktion zum Verarbeiten der External Tasks
|
|
@@ -177,17 +179,13 @@ const externalTaskWorker = new ExternalTaskWorker<AddPayload, AddResult>(url, to
|
|
|
177
179
|
|
|
178
180
|
externalTaskWorker.start();
|
|
179
181
|
|
|
180
|
-
async function doAdd(
|
|
181
|
-
payload: AddPayload,
|
|
182
|
-
externalTask: DataModels.ExternalTasks.ExternalTask<AddPayload>,
|
|
183
|
-
): Promise<AddResult> {
|
|
182
|
+
async function doAdd(payload: AddPayload, externalTask: DataModels.ExternalTasks.ExternalTask<AddPayload>): Promise<AddResult> {
|
|
184
183
|
const result: AddResult = {
|
|
185
184
|
sum: payload.number1 + payload.number2,
|
|
186
185
|
};
|
|
187
186
|
|
|
188
187
|
return result;
|
|
189
188
|
}
|
|
190
|
-
|
|
191
189
|
```
|
|
192
190
|
|
|
193
191
|
Der Worker lässt sich mit folgendem Befehl starten:
|
package/dist/Client.d.ts
CHANGED
|
@@ -3,12 +3,11 @@ import * as Clients from './Clients/index';
|
|
|
3
3
|
export declare class EngineClient {
|
|
4
4
|
private readonly engineUrl;
|
|
5
5
|
private readonly identity;
|
|
6
|
-
private readonly anonymousSessionClient;
|
|
7
6
|
private readonly applicationInfoClient;
|
|
8
7
|
private readonly correlationClient;
|
|
9
8
|
private readonly cronjobClient;
|
|
10
9
|
private readonly dataObjectInstanceClient;
|
|
11
|
-
private readonly
|
|
10
|
+
private readonly untypedTaskClient;
|
|
12
11
|
private readonly eventClient;
|
|
13
12
|
private readonly externalTaskClient;
|
|
14
13
|
private readonly flowNodeInstanceClient;
|
|
@@ -18,19 +17,16 @@ export declare class EngineClient {
|
|
|
18
17
|
private readonly processInstanceClient;
|
|
19
18
|
private readonly processModelClient;
|
|
20
19
|
private readonly userTaskClient;
|
|
21
|
-
private readonly userMetadataClient;
|
|
22
20
|
constructor(engineUrl: string, identity?: Identity);
|
|
23
21
|
dispose(): void;
|
|
24
22
|
/**
|
|
25
23
|
* Gets the url of the engine that this client is communicating with.
|
|
26
24
|
*/
|
|
27
25
|
getEngineUrl(): string;
|
|
28
|
-
get anonymousSession(): Clients.AnonymousSessionHttpClient;
|
|
29
26
|
get applicationInfo(): Clients.ApplicationInfoHttpClient;
|
|
30
27
|
get correlations(): Clients.CorrelationHttpClient;
|
|
31
28
|
get cronjobs(): Clients.CronjobHttpClient;
|
|
32
29
|
get dataObjectInstances(): Clients.DataObjectInstanceHttpClient;
|
|
33
|
-
get emptyActivities(): Clients.EmptyActivityHttpClient;
|
|
34
30
|
get events(): Clients.EventHttpClient;
|
|
35
31
|
get externalTasks(): Clients.ExternalTaskClient;
|
|
36
32
|
get flowNodeInstances(): Clients.FlowNodeInstanceHttpClient;
|
|
@@ -39,6 +35,6 @@ export declare class EngineClient {
|
|
|
39
35
|
get processDefinitions(): Clients.ProcessDefinitionHttpClient;
|
|
40
36
|
get processInstances(): Clients.ProcessInstanceHttpClient;
|
|
41
37
|
get processModels(): Clients.ProcessModelHttpClient;
|
|
38
|
+
get untypedTasks(): Clients.UntypedTaskHttpClient;
|
|
42
39
|
get userTasks(): Clients.UserTaskHttpClient;
|
|
43
|
-
get userMetadata(): Clients.UserMetadataStorageHttpClient;
|
|
44
40
|
}
|
package/dist/ClientFactory.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { Identity } from '@5minds/processcube_engine_sdk';
|
|
2
|
-
import {
|
|
2
|
+
import { ApplicationInfoHttpClient, CorrelationHttpClient, CronjobHttpClient, DataObjectInstanceHttpClient, UntypedTaskHttpClient, EventHttpClient, ExternalTaskClient, FlowNodeInstanceHttpClient, ManualTaskHttpClient, NotificationHttpClient, ProcessDefinitionHttpClient, ProcessInstanceHttpClient, ProcessModelHttpClient, UserTaskHttpClient } from './Clients/index';
|
|
3
3
|
import { SocketIoManager } from './Clients/Lib/SocketIoManager';
|
|
4
4
|
export declare const ClientFactory: {
|
|
5
|
-
createAnonymousSessionClient: (engineUrl: string, identity?: Identity) => AnonymousSessionHttpClient;
|
|
6
5
|
createApplicationInfoClient: (engineUrl: string, identity?: Identity, socketIoManager?: SocketIoManager) => ApplicationInfoHttpClient;
|
|
7
6
|
createCorrelationClient: (engineUrl: string, identity?: Identity) => CorrelationHttpClient;
|
|
8
7
|
createCronJobClient: (engineUrl: string, identity?: Identity) => CronjobHttpClient;
|
|
9
8
|
createDataObjectInstanceClient: (engineUrl: string, identity?: Identity) => DataObjectInstanceHttpClient;
|
|
10
|
-
|
|
9
|
+
createUntypedTaskClient: (engineUrl: string, identity?: Identity, socketIoManager?: SocketIoManager) => UntypedTaskHttpClient;
|
|
11
10
|
createEventClient: (engineUrl: string, identity?: Identity, socketIoManager?: SocketIoManager) => EventHttpClient;
|
|
12
11
|
createExternalTaskClient: (engineUrl: string, identity?: Identity) => ExternalTaskClient;
|
|
13
12
|
createFlowNodeInstanceClient: (engineUrl: string, identity?: Identity) => FlowNodeInstanceHttpClient;
|
|
@@ -17,5 +16,4 @@ export declare const ClientFactory: {
|
|
|
17
16
|
createProcessInstanceClient: (engineUrl: string, identity?: Identity) => ProcessInstanceHttpClient;
|
|
18
17
|
createProcessModelClient: (engineUrl: string, identity?: Identity) => ProcessModelHttpClient;
|
|
19
18
|
createUserTaskClient: (engineUrl: string, identity?: Identity, socketIoManager?: SocketIoManager) => UserTaskHttpClient;
|
|
20
|
-
createUserMetadataStorageClient: (engineUrl: string, identity?: Identity) => UserMetadataStorageHttpClient;
|
|
21
19
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ICronjobExtensionAdapter, Identity, DeployedCronjobList, CronjobQuery, CronjobSortSettings } from '@5minds/processcube_engine_sdk';
|
|
2
2
|
import { BaseClient } from './BaseClient';
|
|
3
|
-
import { CronjobHistoryList, CronjobHistoryQuery, CronjobHistorySortSettings, CronjobList } from '../Types/CronjobsDeprecated';
|
|
4
3
|
export declare class CronjobHttpClient extends BaseClient implements ICronjobExtensionAdapter {
|
|
5
4
|
query(query: CronjobQuery, options?: {
|
|
6
5
|
identity?: Identity;
|
|
@@ -10,21 +9,4 @@ export declare class CronjobHttpClient extends BaseClient implements ICronjobExt
|
|
|
10
9
|
}): Promise<DeployedCronjobList>;
|
|
11
10
|
enableCronjob(processModelId: string, flowNodeId: string, identity?: Identity): Promise<void>;
|
|
12
11
|
disableCronjob(processModelId: string, flowNodeId: string, identity?: Identity): Promise<void>;
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated This route is no longer available on Engines at version v16 or higher. Use "query" instead.
|
|
15
|
-
*/
|
|
16
|
-
getActive(options?: {
|
|
17
|
-
identity?: Identity;
|
|
18
|
-
offset?: number;
|
|
19
|
-
limit?: number;
|
|
20
|
-
}): Promise<CronjobList>;
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated This route is no longer available on Engines at version v16 or higher. Use "query" instead.
|
|
23
|
-
*/
|
|
24
|
-
queryHistory(query: CronjobHistoryQuery, options?: {
|
|
25
|
-
identity?: Identity;
|
|
26
|
-
offset?: number;
|
|
27
|
-
limit?: number;
|
|
28
|
-
sortSettings?: CronjobHistorySortSettings;
|
|
29
|
-
}): Promise<CronjobHistoryList>;
|
|
30
12
|
}
|
|
@@ -22,6 +22,10 @@ export declare class EventHttpClient extends BaseClient implements IEventExtensi
|
|
|
22
22
|
subscribeOnce?: boolean;
|
|
23
23
|
identity?: Identity;
|
|
24
24
|
}): Promise<Subscription>;
|
|
25
|
+
onBoundaryEventFinished(callback: Messages.CallbackTypes.OnBoundaryEventFinishedCallback, options?: {
|
|
26
|
+
subscribeOnce?: boolean;
|
|
27
|
+
identity?: Identity;
|
|
28
|
+
}): Promise<Subscription>;
|
|
25
29
|
onIntermediateThrowEventTriggered(callback: Messages.CallbackTypes.OnIntermediateThrowEventTriggeredCallback, options?: {
|
|
26
30
|
subscribeOnce?: boolean;
|
|
27
31
|
identity?: Identity;
|
|
@@ -5,15 +5,7 @@ export declare class ExternalTaskApiClient extends BaseClient implements IExtern
|
|
|
5
5
|
getAllDeployedTopics(identity?: Identity): Promise<Array<string>>;
|
|
6
6
|
fetchAndLockExternalTasks<TPayload>(workerId: string, topicNames: string | Array<string>, maxTasks: number, longPollingTimeout: number, lockDuration: number, payloadFilter?: RegExp, identity?: Identity): Promise<Array<ExternalTask<TPayload>>>;
|
|
7
7
|
extendLock(workerId: string, externalTaskId: string, additionalDuration: number, identity?: Identity): Promise<void>;
|
|
8
|
-
|
|
9
|
-
* @deprecated Use handleError instead.
|
|
10
|
-
*/
|
|
11
|
-
handleBpmnError(workerId: string, externalTaskId: string, error: DataModels.ExternalTasks.ExternalTaskBpmnError, identity?: Identity): Promise<void>;
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated Use handleError instead.
|
|
14
|
-
*/
|
|
15
|
-
handleServiceError(workerId: string, externalTaskId: string, error: DataModels.ExternalTasks.ExternalTaskServiceError, identity?: Identity): Promise<void>;
|
|
16
|
-
handleError(workerId: string, externalTaskId: string, error: DataModels.ExternalTasks.ExternalTaskServiceError, identity?: Identity): Promise<void>;
|
|
8
|
+
handleError(workerId: string, externalTaskId: string, error: DataModels.ExternalTasks.ExternalTaskError, identity?: Identity): Promise<void>;
|
|
17
9
|
finishExternalTask<TResultType>(workerId: string, externalTaskId: string, result: TResultType, identity?: Identity): Promise<void>;
|
|
18
10
|
}
|
|
19
11
|
export {};
|
|
@@ -7,7 +7,10 @@ export declare class FlowNodeInstanceHttpClient extends BaseClient implements IF
|
|
|
7
7
|
limit?: number;
|
|
8
8
|
sortSettings?: DataModels.FlowNodeInstances.FlowNodeInstanceSortSettings;
|
|
9
9
|
}): Promise<DataModels.FlowNodeInstances.FlowNodeInstanceList>;
|
|
10
|
-
|
|
10
|
+
/**
|
|
11
|
+
* @param useLegacyEndpoint If true, will use the old "Empty Activity" Socket.IO Endpoint for receiving the notification.
|
|
12
|
+
*/
|
|
13
|
+
finishUntypedTask(taskInstanceId: string, identity?: Identity, useLegacyEndpoint?: boolean): Promise<void>;
|
|
11
14
|
finishManualTask(manualTaskInstanceId: string, identity?: Identity): Promise<void>;
|
|
12
15
|
finishUserTask(userTaskInstanceId: string, userTaskResult: DataModels.FlowNodeInstances.UserTaskResult, identity?: Identity): Promise<void>;
|
|
13
16
|
triggerMessageEvent<TPayload>(messageName: string, options?: {
|
|
@@ -1,23 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ActiveCronjob, CronjobHistoryEntry } from '../../Types/CronjobsDeprecated';
|
|
3
|
-
export declare function mapAnonymousSession(rawSession: any): AnonymousSession;
|
|
1
|
+
import { DataModels, Cronjob } from '@5minds/processcube_engine_sdk';
|
|
4
2
|
export declare function mapProcessDefinition(rawDefinition: any): DataModels.ProcessDefinitions.ProcessDefinition;
|
|
5
3
|
export declare function mapProcessModel(rawModel: any): DataModels.ProcessDefinitions.ProcessModel;
|
|
6
4
|
export declare function mapFlowNodeInstance(data: any): DataModels.FlowNodeInstances.FlowNodeInstance;
|
|
7
5
|
export declare function mapBusinessRuleTask(data: any): DataModels.FlowNodeInstances.BusinessRuleTaskInstance;
|
|
8
6
|
export declare function mapCallActivity(data: any): DataModels.FlowNodeInstances.CallActivityInstance;
|
|
9
7
|
export declare function mapSubprocess(data: any): DataModels.FlowNodeInstances.SubprocessInstance;
|
|
10
|
-
export declare function
|
|
8
|
+
export declare function mapUntypedTask(data: any): DataModels.FlowNodeInstances.UntypedTaskInstance;
|
|
11
9
|
export declare function mapEvent(data: any): DataModels.FlowNodeInstances.EventInstance;
|
|
12
10
|
export declare function mapManualTask(data: any): DataModels.FlowNodeInstances.ManualTaskInstance;
|
|
13
11
|
export declare function mapReceiveTask(data: any): DataModels.FlowNodeInstances.ReceiveTaskInstance;
|
|
14
12
|
export declare function mapSendTask(data: any): DataModels.FlowNodeInstances.SendTaskInstance;
|
|
15
13
|
export declare function mapServiceTask(data: any): DataModels.FlowNodeInstances.ServiceTaskInstance;
|
|
16
14
|
export declare function mapUserTask(data: any): DataModels.FlowNodeInstances.UserTaskInstance;
|
|
17
|
-
export declare function mapProcessToken(data: DataModels.FlowNodeInstances.ProcessToken): DataModels.FlowNodeInstances.ProcessToken;
|
|
18
15
|
export declare function mapCronjobConfiguration(data: any): Cronjob;
|
|
19
|
-
export declare function mapActiveCronjobConfiguration(data: any): ActiveCronjob;
|
|
20
|
-
export declare function mapCronjobHistory(data: any): CronjobHistoryEntry;
|
|
21
16
|
export declare function mapDataObjectInstance(data: any): DataModels.DataObjects.DataObjectInstance<object>;
|
|
22
17
|
export declare function mapExternalTask<TPayload>(data: any): DataModels.ExternalTasks.ExternalTask<TPayload>;
|
|
23
18
|
export declare function mapProcessInstance(data: any): DataModels.ProcessInstances.ProcessInstance;
|
|
@@ -91,13 +91,25 @@ export declare class NotificationHttpClient extends BaseClient implements INotif
|
|
|
91
91
|
subscribeOnce?: boolean;
|
|
92
92
|
identity?: Identity;
|
|
93
93
|
}): Promise<Subscription>;
|
|
94
|
-
|
|
94
|
+
onActivityCanceled(callback: Messages.CallbackTypes.OnActivityCanceledCallback, options?: {
|
|
95
95
|
subscribeOnce?: boolean;
|
|
96
96
|
identity?: Identity;
|
|
97
97
|
}): Promise<Subscription>;
|
|
98
|
-
|
|
98
|
+
onUntypedTaskWaiting(callback: Messages.CallbackTypes.OnUntypedTaskWaitingCallback, options?: {
|
|
99
99
|
subscribeOnce?: boolean;
|
|
100
100
|
identity?: Identity;
|
|
101
|
+
/**
|
|
102
|
+
* If true, will use the old "Empty Activity" Socket.IO Endpoint for receiving the notification.
|
|
103
|
+
*/
|
|
104
|
+
useLegacyEndpoint?: boolean;
|
|
105
|
+
}): Promise<Subscription>;
|
|
106
|
+
onUntypedTaskFinished(callback: Messages.CallbackTypes.OnUntypedTaskFinishedCallback, options?: {
|
|
107
|
+
subscribeOnce?: boolean;
|
|
108
|
+
identity?: Identity;
|
|
109
|
+
/**
|
|
110
|
+
* If true, will use the old "Empty Activity" Socket.IO Endpoint for receiving the notification.
|
|
111
|
+
*/
|
|
112
|
+
useLegacyEndpoint?: boolean;
|
|
101
113
|
}): Promise<Subscription>;
|
|
102
114
|
onManualTaskWaiting(callback: Messages.CallbackTypes.OnManualTaskWaitingCallback, options?: {
|
|
103
115
|
subscribeOnce?: boolean;
|
|
@@ -127,6 +139,10 @@ export declare class NotificationHttpClient extends BaseClient implements INotif
|
|
|
127
139
|
subscribeOnce?: boolean;
|
|
128
140
|
identity?: Identity;
|
|
129
141
|
}): Promise<Subscription>;
|
|
142
|
+
onBoundaryEventFinished(callback: Messages.CallbackTypes.OnBoundaryEventFinishedCallback, options?: {
|
|
143
|
+
subscribeOnce?: boolean;
|
|
144
|
+
identity?: Identity;
|
|
145
|
+
}): Promise<Subscription>;
|
|
130
146
|
onIntermediateThrowEventTriggered(callback: Messages.CallbackTypes.OnIntermediateThrowEventTriggeredCallback, options?: {
|
|
131
147
|
subscribeOnce?: boolean;
|
|
132
148
|
identity?: Identity;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FlowNodeInstanceSortSettings, IUntypedTaskExtensionAdapter, Identity, Messages, Subscription, UntypedTaskList, UntypedTaskQuery } from '@5minds/processcube_engine_sdk';
|
|
2
|
+
import { BaseClient } from './BaseClient';
|
|
3
|
+
export declare class UntypedTaskHttpClient extends BaseClient implements IUntypedTaskExtensionAdapter {
|
|
4
|
+
query(query: UntypedTaskQuery, options?: {
|
|
5
|
+
identity?: Identity;
|
|
6
|
+
offset?: number;
|
|
7
|
+
limit?: number;
|
|
8
|
+
sortSettings?: FlowNodeInstanceSortSettings;
|
|
9
|
+
}): Promise<UntypedTaskList>;
|
|
10
|
+
/**
|
|
11
|
+
* @param useLegacyEndpoint If true, will use the old "Empty Activity" Socket.IO Endpoint for receiving the notification.
|
|
12
|
+
*/
|
|
13
|
+
finishTask(taskInstanceId: string, identity?: Identity, useLegacyEndpoint?: boolean): Promise<void>;
|
|
14
|
+
onUntypedTaskWaiting(callback: Messages.CallbackTypes.OnUntypedTaskWaitingCallback, options?: {
|
|
15
|
+
subscribeOnce?: boolean;
|
|
16
|
+
identity?: Identity;
|
|
17
|
+
/**
|
|
18
|
+
* If true, will use the old "Empty Activity" Socket.IO Endpoint for receiving the notification.
|
|
19
|
+
*/
|
|
20
|
+
useLegacyEndpoint?: boolean;
|
|
21
|
+
}): Promise<Subscription>;
|
|
22
|
+
onUntypedTaskFinished(callback: Messages.CallbackTypes.OnUntypedTaskFinishedCallback, options?: {
|
|
23
|
+
subscribeOnce?: boolean;
|
|
24
|
+
identity?: Identity;
|
|
25
|
+
/**
|
|
26
|
+
* If true, will use the old "Empty Activity" Socket.IO Endpoint for receiving the notification.
|
|
27
|
+
*/
|
|
28
|
+
useLegacyEndpoint?: boolean;
|
|
29
|
+
}): Promise<Subscription>;
|
|
30
|
+
removeSubscription(subscription: Subscription, identity?: Identity): void;
|
|
31
|
+
}
|
package/dist/Clients/index.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
export * from './AnonymousSessionHttpClient';
|
|
2
1
|
export * from './ApplicationInfoHttpClient';
|
|
3
2
|
export * from './CorrelationHttpClient';
|
|
4
3
|
export * from './CronjobHttpClient';
|
|
5
4
|
export * from './DataObjectInstanceHttpClient';
|
|
6
|
-
export * from './EmptyActivityHttpClient';
|
|
7
5
|
export * from './EventHttpClient';
|
|
8
6
|
export * from './ExternalTaskApiHttpClient';
|
|
9
7
|
export * from './ExternalTaskHttpClient';
|
|
@@ -14,5 +12,5 @@ export * from './ProcessDefinitionHttpClient';
|
|
|
14
12
|
export * from './ProcessDefinitionHttpClientNode';
|
|
15
13
|
export * from './ProcessModelHttpClient';
|
|
16
14
|
export * from './ProcessInstanceHttpClient';
|
|
15
|
+
export * from './UntypedTaskHttpClient';
|
|
17
16
|
export * from './UserTaskHttpClient';
|
|
18
|
-
export * from './UserMetadataStorageHttpClient';
|
|
@@ -11,13 +11,15 @@ export declare type OnProcessInstancesDeletedCallback = (message: ProcessInstanc
|
|
|
11
11
|
export declare type OnProcessIsExecutableChangedCallback = (message: ProcessIsExecutableChangedMessage) => void | Promise<void>;
|
|
12
12
|
export declare type OnProcessUndeployedCallback = (message: ProcessDeploymentMessage) => void | Promise<void>;
|
|
13
13
|
export declare type OnBoundaryEventTriggeredCallback = (boundaryEventTriggered: EventMessage) => void | Promise<void>;
|
|
14
|
+
export declare type OnBoundaryEventFinishedCallback = (boundaryEventFinished: EventMessage) => void | Promise<void>;
|
|
14
15
|
export declare type OnIntermediateThrowEventTriggeredCallback = (intermediateThrowEventTriggered: EventMessage) => void | Promise<void>;
|
|
15
16
|
export declare type OnIntermediateCatchEventReachedCallback = (intermediateCatchEventReached: EventMessage) => void | Promise<void>;
|
|
16
17
|
export declare type OnIntermediateCatchEventFinishedCallback = (intermediateCatchEventFinished: EventMessage) => void | Promise<void>;
|
|
17
18
|
export declare type OnActivityReachedCallback = (activityReached: EventMessage) => void | Promise<void>;
|
|
18
19
|
export declare type OnActivityFinishedCallback = (activityFinished: EventMessage) => void | Promise<void>;
|
|
19
|
-
export declare type
|
|
20
|
-
export declare type
|
|
20
|
+
export declare type OnUntypedTaskWaitingCallback = (taskWaiting: EventMessage) => void | Promise<void>;
|
|
21
|
+
export declare type OnUntypedTaskFinishedCallback = (taskFinished: EventMessage) => void | Promise<void>;
|
|
22
|
+
export declare type OnActivityCanceledCallback = (activityCanceled: EventMessage) => void | Promise<void>;
|
|
21
23
|
export declare type OnManualTaskWaitingCallback = (manualTaskWaiting: EventMessage) => void | Promise<void>;
|
|
22
24
|
export declare type OnManualTaskFinishedCallback = (manualTaskFinished: EventMessage) => void | Promise<void>;
|
|
23
25
|
export declare type OnUserTaskWaitingCallback = (userTaskWaiting: EventMessage) => void | Promise<void>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const restSettings: {
|
|
2
2
|
params: {
|
|
3
3
|
correlationId: string;
|
|
4
|
+
untypedTaskInstanceId: string;
|
|
4
5
|
emptyActivityInstanceId: string;
|
|
5
6
|
eventId: string;
|
|
6
7
|
eventName: string;
|
|
@@ -76,22 +77,6 @@ export declare const restSettings: {
|
|
|
76
77
|
* @responseType DeployedCronjobList
|
|
77
78
|
*/
|
|
78
79
|
getDeployedCronjobs: string;
|
|
79
|
-
/**
|
|
80
|
-
* Gets all active Cronjobs. DEPRECATED - Use "/cronjobs/query" instead
|
|
81
|
-
* @tags Cronjobs
|
|
82
|
-
* @method get
|
|
83
|
-
* @queryParams limit: number, offset: number
|
|
84
|
-
* @responseType CronjobList
|
|
85
|
-
*/
|
|
86
|
-
getActiveCronjobs: string;
|
|
87
|
-
/**
|
|
88
|
-
* Queries a list of cronjob history entries that match the given query.
|
|
89
|
-
* @tags Cronjobs
|
|
90
|
-
* @method get
|
|
91
|
-
* @queryParams limit: number, offset: number: string, processDefinitionId: string, processModelId: string, startEventId: string, crontab: string, executedAt: string, createdAt: string, updatedAt: string
|
|
92
|
-
* @responseType CronjobHistoryList
|
|
93
|
-
*/
|
|
94
|
-
getCronjobHistory: string;
|
|
95
80
|
/**
|
|
96
81
|
* Enables the given Cronjob for the given Process Model.
|
|
97
82
|
* @tags ProcessModels
|
|
@@ -137,11 +122,18 @@ export declare const restSettings: {
|
|
|
137
122
|
*/
|
|
138
123
|
triggerSignalEvent: string;
|
|
139
124
|
/**
|
|
140
|
-
* Finishes a specific EmptyActivity by its
|
|
141
|
-
* @tags
|
|
125
|
+
* Finishes a specific EmptyActivity by its InstanceId. Deprecated, use "finish Untyped Task" instead
|
|
126
|
+
* @tags EmptyActivity
|
|
127
|
+
* @deprecated
|
|
142
128
|
* @method put
|
|
143
129
|
*/
|
|
144
130
|
finishEmptyActivity: string;
|
|
131
|
+
/**
|
|
132
|
+
* Finishes a specific UntypedTask by its InstanceId.
|
|
133
|
+
* @tags UntypedTask
|
|
134
|
+
* @method put
|
|
135
|
+
*/
|
|
136
|
+
finishUntypedTask: string;
|
|
145
137
|
/**
|
|
146
138
|
* Finishes a specific ManualTask by its ManualTaskInstanceId.
|
|
147
139
|
* @tags ManualTasks
|
|
@@ -189,20 +181,6 @@ export declare const restSettings: {
|
|
|
189
181
|
* @requestBody {"required": true, "bodyType": "application/json", "contentType": "ExtendLockRequestPayload"}
|
|
190
182
|
*/
|
|
191
183
|
extendExternalTaskLock: string;
|
|
192
|
-
/**
|
|
193
|
-
* DEPRECATED - Use `PUT /external_tasks/:external_task_id/error` instead.
|
|
194
|
-
* @tags ExternalTasks
|
|
195
|
-
* @method put
|
|
196
|
-
* @requestBody {"required": true, "bodyType": "application/json", "contentType": "HandleBpmnErrorRequestPayload"}
|
|
197
|
-
*/
|
|
198
|
-
finishExternalTaskWithBpmnError: string;
|
|
199
|
-
/**
|
|
200
|
-
* DEPRECATED - Use `PUT /external_tasks/:external_task_id/error` instead.
|
|
201
|
-
* @tags ExternalTasks
|
|
202
|
-
* @method put
|
|
203
|
-
* @requestBody {"required": true, "bodyType": "application/json", "contentType": "HandleServiceErrorRequestPayload"}
|
|
204
|
-
*/
|
|
205
|
-
finishExternalTaskWithServiceError: string;
|
|
206
184
|
/**
|
|
207
185
|
* Finishes the given External Task with the given Error.
|
|
208
186
|
* @tags ExternalTasks
|
|
@@ -535,19 +513,26 @@ export declare const restSettings: {
|
|
|
535
513
|
*/
|
|
536
514
|
onActivityFinished: string;
|
|
537
515
|
/**
|
|
538
|
-
* Wait for an
|
|
516
|
+
* Wait for an ActivityCanceled notification and resolves with the notification's content.
|
|
539
517
|
* @tags Notifications
|
|
540
518
|
* @method get
|
|
541
519
|
* @responseType EventMessage
|
|
542
520
|
*/
|
|
543
|
-
|
|
521
|
+
onActivityCanceled: string;
|
|
544
522
|
/**
|
|
545
|
-
* Wait for an
|
|
523
|
+
* Wait for an UntypedTaskWaiting notification and resolves with the notification's content.
|
|
546
524
|
* @tags Notifications
|
|
547
525
|
* @method get
|
|
548
526
|
* @responseType EventMessage
|
|
549
527
|
*/
|
|
550
|
-
|
|
528
|
+
onUntypedTaskWaiting: string;
|
|
529
|
+
/**
|
|
530
|
+
* Wait for an UntypedTaskFinished notification and resolves with the notification's content.
|
|
531
|
+
* @tags Notifications
|
|
532
|
+
* @method get
|
|
533
|
+
* @responseType EventMessage
|
|
534
|
+
*/
|
|
535
|
+
onUntypedTaskFinished: string;
|
|
551
536
|
/**
|
|
552
537
|
* Wait for a ManualTaskWaiting notification and resolves with the notification's content.
|
|
553
538
|
* @tags Notifications
|
|
@@ -597,6 +582,13 @@ export declare const restSettings: {
|
|
|
597
582
|
* @responseType EventMessage
|
|
598
583
|
*/
|
|
599
584
|
onBoundaryEventTriggered: string;
|
|
585
|
+
/**
|
|
586
|
+
* Wait for a BoundaryEventFinished notification and resolves with the notification's content.
|
|
587
|
+
* @tags Notifications
|
|
588
|
+
* @method get
|
|
589
|
+
* @responseType EventMessage
|
|
590
|
+
*/
|
|
591
|
+
onBoundaryEventFinished: string;
|
|
600
592
|
/**
|
|
601
593
|
* Wait for an IntermediateThrowEventTriggered notification and resolves with the notification's content.
|
|
602
594
|
* @tags Notifications
|
|
@@ -4,7 +4,9 @@ export declare const socketSettings: {
|
|
|
4
4
|
activityError: string;
|
|
5
5
|
activityReached: string;
|
|
6
6
|
activityFinished: string;
|
|
7
|
+
activityCanceled: string;
|
|
7
8
|
boundaryEventTriggered: string;
|
|
9
|
+
boundaryEventFinished: string;
|
|
8
10
|
callActivityReceivedResponse: string;
|
|
9
11
|
correlationMetadataChanged: string;
|
|
10
12
|
cronjobCreated: string;
|
|
@@ -15,6 +17,8 @@ export declare const socketSettings: {
|
|
|
15
17
|
cronjobUpdated: string;
|
|
16
18
|
emptyActivityWaiting: string;
|
|
17
19
|
emptyActivityFinished: string;
|
|
20
|
+
untypedTaskWaiting: string;
|
|
21
|
+
untypedTaskFinished: string;
|
|
18
22
|
endEventFinished: string;
|
|
19
23
|
externalTaskCreated: string;
|
|
20
24
|
externalTaskLocked: string;
|
package/dist/amd/Client.js
CHANGED
|
@@ -11,12 +11,10 @@ define(["require", "exports", "./ClientFactory", "./Clients/Lib/SocketIoManager"
|
|
|
11
11
|
this.engineUrl = engineUrl;
|
|
12
12
|
this.identity = identity !== null && identity !== void 0 ? identity : dummyIdentity;
|
|
13
13
|
const socketIoManager = new SocketIoManager_1.SocketIoManager(this.engineUrl);
|
|
14
|
-
this.anonymousSessionClient = ClientFactory_1.ClientFactory.createAnonymousSessionClient(this.engineUrl, this.identity);
|
|
15
14
|
this.applicationInfoClient = ClientFactory_1.ClientFactory.createApplicationInfoClient(this.engineUrl, this.identity, socketIoManager);
|
|
16
15
|
this.correlationClient = ClientFactory_1.ClientFactory.createCorrelationClient(this.engineUrl, this.identity);
|
|
17
16
|
this.cronjobClient = ClientFactory_1.ClientFactory.createCronJobClient(this.engineUrl, this.identity);
|
|
18
17
|
this.dataObjectInstanceClient = ClientFactory_1.ClientFactory.createDataObjectInstanceClient(this.engineUrl, this.identity);
|
|
19
|
-
this.emptyActivityClient = ClientFactory_1.ClientFactory.createEmptyActivityClient(this.engineUrl, this.identity, socketIoManager);
|
|
20
18
|
this.eventClient = ClientFactory_1.ClientFactory.createEventClient(this.engineUrl, this.identity, socketIoManager);
|
|
21
19
|
this.externalTaskClient = ClientFactory_1.ClientFactory.createExternalTaskClient(this.engineUrl, this.identity);
|
|
22
20
|
this.flowNodeInstanceClient = ClientFactory_1.ClientFactory.createFlowNodeInstanceClient(this.engineUrl, this.identity);
|
|
@@ -25,24 +23,22 @@ define(["require", "exports", "./ClientFactory", "./Clients/Lib/SocketIoManager"
|
|
|
25
23
|
this.processDefinitionClient = ClientFactory_1.ClientFactory.createProcessDefinitionClient(this.engineUrl, this.identity);
|
|
26
24
|
this.processInstanceClient = ClientFactory_1.ClientFactory.createProcessInstanceClient(this.engineUrl, this.identity);
|
|
27
25
|
this.processModelClient = ClientFactory_1.ClientFactory.createProcessModelClient(this.engineUrl, this.identity);
|
|
26
|
+
this.untypedTaskClient = ClientFactory_1.ClientFactory.createUntypedTaskClient(this.engineUrl, this.identity, socketIoManager);
|
|
28
27
|
this.userTaskClient = ClientFactory_1.ClientFactory.createUserTaskClient(this.engineUrl, this.identity, socketIoManager);
|
|
29
|
-
this.userMetadataClient = ClientFactory_1.ClientFactory.createUserMetadataStorageClient(this.engineUrl, this.identity);
|
|
30
28
|
}
|
|
31
29
|
dispose() {
|
|
32
|
-
this.anonymousSessionClient.dispose();
|
|
33
30
|
this.applicationInfoClient.dispose();
|
|
34
31
|
this.correlationClient.dispose();
|
|
35
32
|
this.cronjobClient.dispose();
|
|
36
33
|
this.dataObjectInstanceClient.dispose();
|
|
37
|
-
this.emptyActivityClient.dispose();
|
|
38
34
|
this.eventClient.dispose();
|
|
39
35
|
this.flowNodeInstanceClient.dispose();
|
|
40
36
|
this.manualTaskClient.dispose();
|
|
41
37
|
this.notificationClient.dispose();
|
|
42
38
|
this.processDefinitionClient.dispose();
|
|
43
39
|
this.processInstanceClient.dispose();
|
|
40
|
+
this.untypedTaskClient.dispose();
|
|
44
41
|
this.userTaskClient.dispose();
|
|
45
|
-
this.userMetadataClient.dispose();
|
|
46
42
|
}
|
|
47
43
|
/**
|
|
48
44
|
* Gets the url of the engine that this client is communicating with.
|
|
@@ -50,9 +46,6 @@ define(["require", "exports", "./ClientFactory", "./Clients/Lib/SocketIoManager"
|
|
|
50
46
|
getEngineUrl() {
|
|
51
47
|
return this.engineUrl;
|
|
52
48
|
}
|
|
53
|
-
get anonymousSession() {
|
|
54
|
-
return this.anonymousSessionClient;
|
|
55
|
-
}
|
|
56
49
|
get applicationInfo() {
|
|
57
50
|
return this.applicationInfoClient;
|
|
58
51
|
}
|
|
@@ -65,9 +58,6 @@ define(["require", "exports", "./ClientFactory", "./Clients/Lib/SocketIoManager"
|
|
|
65
58
|
get dataObjectInstances() {
|
|
66
59
|
return this.dataObjectInstanceClient;
|
|
67
60
|
}
|
|
68
|
-
get emptyActivities() {
|
|
69
|
-
return this.emptyActivityClient;
|
|
70
|
-
}
|
|
71
61
|
get events() {
|
|
72
62
|
return this.eventClient;
|
|
73
63
|
}
|
|
@@ -92,12 +82,12 @@ define(["require", "exports", "./ClientFactory", "./Clients/Lib/SocketIoManager"
|
|
|
92
82
|
get processModels() {
|
|
93
83
|
return this.processModelClient;
|
|
94
84
|
}
|
|
85
|
+
get untypedTasks() {
|
|
86
|
+
return this.untypedTaskClient;
|
|
87
|
+
}
|
|
95
88
|
get userTasks() {
|
|
96
89
|
return this.userTaskClient;
|
|
97
90
|
}
|
|
98
|
-
get userMetadata() {
|
|
99
|
-
return this.userMetadataClient;
|
|
100
|
-
}
|
|
101
91
|
}
|
|
102
92
|
exports.EngineClient = EngineClient;
|
|
103
93
|
});
|
package/dist/amd/Client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Client.js","sourceRoot":"","sources":["../../src/Client.ts"],"names":[],"mappings":";;;;IAMA,MAAM,aAAa,GAAa;QAC9B,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,aAAa;KACtB,CAAC;IAEF,MAAa,YAAY;
|
|
1
|
+
{"version":3,"file":"Client.js","sourceRoot":"","sources":["../../src/Client.ts"],"names":[],"mappings":";;;;IAMA,MAAM,aAAa,GAAa;QAC9B,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,aAAa;KACtB,CAAC;IAEF,MAAa,YAAY;QAmBvB,YAAY,SAAiB,EAAE,QAAmB;YAChD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;YAC3B,IAAI,CAAC,QAAQ,GAAG,QAAQ,aAAR,QAA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B,OAAO,IAAI,CAAC,SAAS,CAAC;QACxB,CAAC;QAED,IAAW,eAAe;YACxB,OAAO,IAAI,CAAC,qBAAqB,CAAC;QACpC,CAAC;QAED,IAAW,YAAY;YACrB,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAChC,CAAC;QAED,IAAW,QAAQ;YACjB,OAAO,IAAI,CAAC,aAAa,CAAC;QAC5B,CAAC;QAED,IAAW,mBAAmB;YAC5B,OAAO,IAAI,CAAC,wBAAwB,CAAC;QACvC,CAAC;QAED,IAAW,MAAM;YACf,OAAO,IAAI,CAAC,WAAW,CAAC;QAC1B,CAAC;QAED,IAAW,aAAa;YACtB,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACjC,CAAC;QAED,IAAW,iBAAiB;YAC1B,OAAO,IAAI,CAAC,sBAAsB,CAAC;QACrC,CAAC;QAED,IAAW,WAAW;YACpB,OAAO,IAAI,CAAC,gBAAgB,CAAC;QAC/B,CAAC;QAED,IAAW,YAAY;YACrB,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACjC,CAAC;QAED,IAAW,kBAAkB;YAC3B,OAAO,IAAI,CAAC,uBAAuB,CAAC;QACtC,CAAC;QAED,IAAW,gBAAgB;YACzB,OAAO,IAAI,CAAC,qBAAqB,CAAC;QACpC,CAAC;QAED,IAAW,aAAa;YACtB,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACjC,CAAC;QAED,IAAW,YAAY;YACrB,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAChC,CAAC;QAED,IAAW,SAAS;YAClB,OAAO,IAAI,CAAC,cAAc,CAAC;QAC7B,CAAC;KACF;IAtHD,oCAsHC"}
|
|
@@ -7,9 +7,6 @@ define(["require", "exports", "./Clients/index", "./Clients/Lib/SocketIoManager"
|
|
|
7
7
|
userId: 'dummy_token',
|
|
8
8
|
};
|
|
9
9
|
exports.ClientFactory = {
|
|
10
|
-
createAnonymousSessionClient: (engineUrl, identity = dummyIdentity) => {
|
|
11
|
-
return new index_1.AnonymousSessionHttpClient(engineUrl, identity);
|
|
12
|
-
},
|
|
13
10
|
createApplicationInfoClient: (engineUrl, identity = dummyIdentity, socketIoManager) => {
|
|
14
11
|
socketIoManager = socketIoManager !== null && socketIoManager !== void 0 ? socketIoManager : new SocketIoManager_1.SocketIoManager(engineUrl);
|
|
15
12
|
return new index_1.ApplicationInfoHttpClient(engineUrl, identity, socketIoManager);
|
|
@@ -17,9 +14,9 @@ define(["require", "exports", "./Clients/index", "./Clients/Lib/SocketIoManager"
|
|
|
17
14
|
createCorrelationClient: (engineUrl, identity = dummyIdentity) => new index_1.CorrelationHttpClient(engineUrl, identity),
|
|
18
15
|
createCronJobClient: (engineUrl, identity = dummyIdentity) => new index_1.CronjobHttpClient(engineUrl, identity),
|
|
19
16
|
createDataObjectInstanceClient: (engineUrl, identity = dummyIdentity) => new index_1.DataObjectInstanceHttpClient(engineUrl, identity),
|
|
20
|
-
|
|
17
|
+
createUntypedTaskClient: (engineUrl, identity = dummyIdentity, socketIoManager) => {
|
|
21
18
|
socketIoManager = socketIoManager !== null && socketIoManager !== void 0 ? socketIoManager : new SocketIoManager_1.SocketIoManager(engineUrl);
|
|
22
|
-
return new index_1.
|
|
19
|
+
return new index_1.UntypedTaskHttpClient(engineUrl, identity, socketIoManager);
|
|
23
20
|
},
|
|
24
21
|
createEventClient: (engineUrl, identity = dummyIdentity, socketIoManager) => {
|
|
25
22
|
socketIoManager = socketIoManager !== null && socketIoManager !== void 0 ? socketIoManager : new SocketIoManager_1.SocketIoManager(engineUrl);
|
|
@@ -47,7 +44,6 @@ define(["require", "exports", "./Clients/index", "./Clients/Lib/SocketIoManager"
|
|
|
47
44
|
socketIoManager = socketIoManager !== null && socketIoManager !== void 0 ? socketIoManager : new SocketIoManager_1.SocketIoManager(engineUrl);
|
|
48
45
|
return new index_1.UserTaskHttpClient(engineUrl, identity, socketIoManager);
|
|
49
46
|
},
|
|
50
|
-
createUserMetadataStorageClient: (engineUrl, identity = dummyIdentity) => new index_1.UserMetadataStorageHttpClient(engineUrl, identity),
|
|
51
47
|
};
|
|
52
48
|
function isNodeEnvironment() {
|
|
53
49
|
return typeof window === 'undefined';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientFactory.js","sourceRoot":"","sources":["../../src/ClientFactory.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"ClientFactory.js","sourceRoot":"","sources":["../../src/ClientFactory.ts"],"names":[],"mappings":";;;;IAqBA,MAAM,aAAa,GAAa;QAC9B,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,aAAa;KACtB,CAAC;IAEW,QAAA,aAAa,GAAG;QAC3B,2BAA2B,EAAE,CAAC,SAAiB,EAAE,WAAqB,aAAa,EAAE,eAAiC,EAA6B,EAAE;YACnJ,eAAe,GAAG,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,IAAI,iCAAe,CAAC,SAAS,CAAC,CAAC;YAEpE,OAAO,IAAI,iCAAyB,CAAC,SAAS,EAAE,QAAQ,EAAE,eAAe,CAAC,CAAC;QAC7E,CAAC;QAED,uBAAuB,EAAE,CAAC,SAAiB,EAAE,WAAqB,aAAa,EAAyB,EAAE,CAAC,IAAI,6BAAqB,CAAC,SAAS,EAAE,QAAQ,CAAC;QAEzJ,mBAAmB,EAAE,CAAC,SAAiB,EAAE,WAAqB,aAAa,EAAqB,EAAE,CAAC,IAAI,yBAAiB,CAAC,SAAS,EAAE,QAAQ,CAAC;QAE7I,8BAA8B,EAAE,CAAC,SAAiB,EAAE,WAAqB,aAAa,EAAgC,EAAE,CAAC,IAAI,oCAA4B,CAAC,SAAS,EAAE,QAAQ,CAAC;QAE9K,uBAAuB,EAAE,CAAC,SAAiB,EAAE,WAAqB,aAAa,EAAE,eAAiC,EAAyB,EAAE;YAC3I,eAAe,GAAG,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,IAAI,iCAAe,CAAC,SAAS,CAAC,CAAC;YAEpE,OAAO,IAAI,6BAAqB,CAAC,SA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CAAC;YAClE,CAAC;YAED,OAAO,IAAI,mCAA2B,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;QAC9D,CAAC;QAED,2BAA2B,EAAE,CAAC,SAAiB,EAAE,WAAqB,aAAa,EAA6B,EAAE,CAAC,IAAI,iCAAyB,CAAC,SAAS,EAAE,QAAQ,CAAC;QAErK,wBAAwB,EAAE,CAAC,SAAiB,EAAE,WAAqB,aAAa,EAA0B,EAAE,CAAC,IAAI,8BAAsB,CAAC,SAAS,EAAE,QAAQ,CAAC;QAE5J,oBAAoB,EAAE,CAAC,SAAiB,EAAE,WAAqB,aAAa,EAAE,eAAiC,EAAsB,EAAE;YACrI,eAAe,GAAG,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,IAAI,iCAAe,CAAC,SAAS,CAAC,CAAC;YAEpE,OAAO,IAAI,0BAAkB,CAAC,SAAS,EAAE,QAAQ,EAAE,eAAe,CAAC,CAAC;QACtE,CAAC;KACF,CAAC;IAEF,SAAS,iBAAiB;QACxB,OAAO,OAAO,MAAM,KAAK,WAAW,CAAC;IACvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseClient.js","sourceRoot":"","sources":["../../../src/Clients/BaseClient.ts"],"names":[],"mappings":";;;;IAMA,MAAa,UAAU;QASrB,YAAY,SAAiB,EAAE,QAAkB,EAAE,eAAiC;YAHnE,YAAO,GAAG,GAAG,oBAAY,CAAC,SAAS,KAAK,CAAC;YAIxD,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;YAE3C,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"BaseClient.js","sourceRoot":"","sources":["../../../src/Clients/BaseClient.ts"],"names":[],"mappings":";;;;IAMA,MAAa,UAAU;QASrB,YAAY,SAAiB,EAAE,QAAkB,EAAE,eAAiC;YAHnE,YAAO,GAAG,GAAG,oBAAY,CAAC,SAAS,KAAK,CAAC;YAIxD,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